:root {
    --ink:#14272a;--muted:#505f62;--line:#e1e9e7;--blue:#126c59;--nav:#10282b;--bg:#f4f7f6;
    --paper:#fff;--mint:#e1f4eb;--accent:#bbf187;--rail:236px;--radius:18px;
}
* {min-inline-size:0}
html {scroll-padding-block-start:92px}
body {background:var(--bg);color:var(--ink);font-weight:500;line-height:1.55}
html[lang=en] body {font-family:Manrope,system-ui,sans-serif}
html[dir] .shell {margin:0}
html[dir] .member-view .shell,html[dir] .staff-view .shell {margin-inline-start:var(--rail)}
main,html .guest-view main,.staff-view main {width:min(100%,1350px);max-width:1350px;min-height:calc(100dvh - 135px);margin-inline:auto;padding:32px clamp(18px,3vw,49px) 55px}
main:focus {outline:none}
.skip-link {position:fixed;inset-block-start:9px;inset-inline-start:12px;z-index:20;transform:translateY(-180%);padding:9px 14px;border-radius:8px;background:var(--nav);color:#fff}
.skip-link:focus {transform:none}

.product-header {position:sticky;inset-block-start:0;z-index:4;height:auto;min-height:70px;padding:0;background:#fff;border-block-end:1px solid var(--line)}
.masthead {width:min(100%,1350px);margin-inline:auto;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px clamp(18px,3vw,49px)}
.masthead-start {display:flex;align-items:center;gap:9px}
.masthead-context {display:grid;line-height:1.2;gap:5px}
.masthead-context span {font-size:.76rem;color:var(--muted)}
.masthead-context strong {font-size:1rem}
.brand-mark {flex:none;display:block;width:38px;height:38px;border-radius:10px}
.product-brand {margin:0;color:var(--ink);gap:10px}
.product-brand b {font-weight:800;letter-spacing:-.04em}
.product-header .public-nav a {color:var(--muted);font-weight:700}
.product-header .public-nav a:hover,.product-header .public-nav a[aria-current=page] {background:var(--mint);color:var(--blue)}
.product-header .account {gap:10px}
.product-header .points-pill,.product-header .avatar,.product-header .icon {background:#e8f4ee;color:#175746}
.product-header .points-pill {white-space:nowrap}
.product-header .points-pill span {color:#28775f}
.product-header .avatar {flex:none}
.language-switch {background:#f3f6f5;border-color:#e4eae7}
.language-switch a {color:#455955}
.language-switch a[aria-current=true] {background:#fff;color:#115e4b;box-shadow:0 1px 3px #142b2527}
html[dir] .workspace-nav {
    position:fixed;inset:auto;inset-block:0;inset-inline-start:0;width:var(--rail);padding:24px 13px 15px;
    display:flex;flex-direction:column;gap:23px;background:#10282b;color:#e8f5f0;transform:none;
    overflow:auto;overscroll-behavior:contain;z-index:6;border:0
}
.rail-brand {margin:0;padding:0 8px;gap:10px}
.rail-brand b {font-weight:800;letter-spacing:-.035em}
.rail-brand small {display:block;margin-top:3px;color:#b1c9c4;line-height:1.2}
.workspace-nav nav {gap:4px;padding-block:12px;border-block-start:1px solid #ffffff20}
.workspace-nav nav a {min-height:44px;padding:8px 11px;color:#c0d5d0;border-radius:10px;font-size:.88rem;line-height:1.35;gap:10px}
.workspace-nav nav a span {width:23px;color:#9bbab2}
.workspace-nav nav a:hover,.workspace-nav nav a[aria-current=page] {background:#234247;color:#fff;box-shadow:inset 0 0 0 1px #ffffff18}
.workspace-nav nav a[aria-current=page] span {color:var(--accent)}
.rail-account {display:flex;align-items:center;gap:10px;margin-block-start:auto;padding:12px 8px 0;border-block-start:1px solid #ffffff23}
.rail-account a {display:grid;gap:2px;overflow-wrap:anywhere}
.rail-account small {color:#b1c9c4;font-size:.76rem}
.rail-avatar {width:34px;height:34px;flex:none;display:grid;place-items:center;background:#28494a;border-radius:10px;color:var(--accent)}

.btn {min-height:42px;padding-inline:14px;border-radius:9px;background:#176b58;color:#fff;transition:background .15s,box-shadow .15s}
.btn.primary {background:#176b58;color:#fff}
.btn.primary:hover,.btn:hover {filter:none;background:#105847;color:#fff}
.btn.soft,.btn.secondary {background:#eaf4ef;color:#185845}
.btn.secondary {background:#fff;border:1px solid #cfe0d9}
.btn.soft:hover,.btn.secondary:hover {background:#dcefe5;color:#114c3a}
.btn.danger {background:#fcebf0;color:#9e2f50}
.btn.danger:hover {background:#f7dce5;color:#80233f}
.btn:disabled {opacity:.55;cursor:default}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible {outline-color:#358b79}
.panel,.card,.stat,.task {border-radius:var(--radius);background:#fff;border-color:var(--line)}
.panel,.card {padding:clamp(15px,2vw,24px)}
.panel h2,.card h2 {line-height:1.28;margin-block-end:10px}
label {font-weight:650}
input,select,textarea {min-height:43px;border:1px solid #d5e0dc;border-radius:8px;background:#fff;color:var(--ink)}
textarea {min-height:90px}
form {gap:12px}
.row {padding-block:11px;overflow-wrap:anywhere}
.row:last-child {border-block-end:0}
.section-title h1,.staff-heading h1 {font-size:clamp(1.65rem,3vw,2.4rem);line-height:1.17}
.notice {border:1px solid #f3e5be}
dialog {max-height:88dvh;border:1px solid var(--line);border-radius:18px}
dialog::backdrop {background:#142c2ed0}
dialog .close {min-width:42px;min-height:42px}
.workflow details,.report-card-text {background:#f3f8f6}
.badge {background:#e6f4ec;color:#225b48}
.badge.violet {background:#f0ecfc;color:#533c8b}

.hero.showcase {display:grid;isolation:isolate;min-height:0;border:1px solid #1d3c3a;border-radius:var(--radius);overflow:hidden}
.hero.showcase::before {content:none}
.hero.showcase>.hero-content {width:100%;max-width:none;position:relative}
.public-hero {grid-template-columns:1.08fr 1fr;gap:clamp(12px,4vw,48px);background:#10282b;color:#fff;padding:clamp(25px,4.6vw,63px)}
.public-hero h1 {font-size:clamp(2.4rem,5vw,4.6rem);line-height:1.06;letter-spacing:-.05em;max-width:14ch}
html[lang=ar] .public-hero h1 {line-height:1.22;letter-spacing:normal;max-width:18ch}
.public-hero p {color:#d1e5df;font-size:1.04rem;max-width:34rem;margin-block:15px 20px}
.public-hero .showcase-tag {color:#bdf28b;font-weight:700;font-size:.84rem;margin-block:0 13px}
.public-hero .primary {background:var(--accent);color:#12342d}
.public-hero .primary:hover {background:#d0f7a9}
.public-hero .secondary {background:transparent;color:#fff;border-color:#8eb1a8}
.public-hero .secondary:hover {background:#254648}
.showcase-art {width:100%;max-width:none;aspect-ratio:1.32;overflow:hidden;border-radius:15px;background:#2c6259}
.hero.showcase>.showcase-art {max-width:none}
.showcase-art img {display:block;width:100%;height:100%;object-fit:cover;filter:hue-rotate(-100deg) saturate(.72)}
.hero.workspace-hero {grid-template-columns:1fr;padding:clamp(19px,3vw,37px);background:#dcefe8;border-color:#cae3d9;color:var(--ink)}
.workspace-hero h1 {font-size:clamp(1.85rem,3.8vw,3.15rem);line-height:1.17;letter-spacing:-.025em}
.workspace-hero p {color:#3f5d55;margin-block:9px 14px;max-width:unset}
.quick-actions {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-block-start:12px}
.quick-tile {display:flex;align-items:center;gap:8px;padding:11px;background:#fff;border:1px solid var(--line);border-radius:12px;color:var(--muted);font-size:.88rem;font-weight:700}
.quick-tile:hover {background:#e9f4ed}
.quick-tile strong {margin-inline-start:auto;color:var(--ink);font:800 1.24rem Manrope,sans-serif}
.quick-symbol {display:grid;place-items:center;flex:none;width:33px;height:33px;border-radius:8px;background:var(--mint);color:#216651;font-size:1.08rem}
.catalog-heading {padding-block:5px 0}
.catalog-heading h1 {font-size:clamp(1.9rem,3.8vw,3.2rem);line-height:1.15}
.catalog-heading p {color:var(--muted);margin-top:9px}
.catalog {margin-block-start:clamp(25px,4vw,42px)}
.catalog-top {display:flex;justify-content:space-between;align-items:center;gap:12px}
.catalog-top h2,.how-it-works h2 {font-size:clamp(1.35rem,2.6vw,1.9rem);line-height:1.15}
.catalog-top .sub {margin-block-start:5px}
.catalog-filters {display:flex;flex-wrap:wrap;gap:7px;margin-block:14px}
.catalog-filters a {padding:7px 12px;border-radius:99px;background:#fff;border:1px solid var(--line);font-size:.87rem;font-weight:700;color:var(--muted)}
.catalog-filters a:hover,.catalog-filters a[aria-current=true] {background:#dcefe6;color:#124c3b;border-color:#cce7d9}
.app-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,254px),1fr));gap:14px}
.app-grid:has(> .app-card:only-of-type) {grid-template-columns:minmax(0,390px)}
.task.app-card {display:flex;flex-direction:column;align-items:stretch;gap:11px;padding:16px;margin:0;box-shadow:0 5px 16px #173a3110}
.task.app-card:hover {border-color:#a9d2c0}
.app-card-top,.app-card-meta,.app-card-actions {display:flex;align-items:center;gap:7px}
.app-card-top,.app-card-meta {justify-content:space-between}
.app-card-meta,.app-card-actions {flex-wrap:wrap}
.app-card-top .app-icon {width:54px;height:54px;border-radius:12px;object-fit:cover;background:#e6f3eb}
.app-card-top .tile {display:grid;place-items:center;color:#216651}
.app-reward {padding:4px 8px;background:#edf6ef;color:#19583f;border-radius:7px;font-size:.84rem}
.app-reward strong {font:800 .97rem Manrope,sans-serif}
.app-card-copy h3 {line-height:1.3;font-size:1.12rem;overflow-wrap:anywhere}
.app-package {display:inline-block;margin-block-start:3px;color:var(--muted);font:600 .75rem Manrope,sans-serif;overflow-wrap:anywhere}
.app-card-copy p {display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere;margin-block-start:5px;font-size:.87rem}
.app-card-meta {margin-block-start:auto}
.app-open {display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-size:.8rem}
.app-open span {width:6px;height:6px;background:#328361;border-radius:50%;flex:none}
.app-card-actions {padding-block-start:10px;border-block-start:1px solid var(--line)}
.app-card-actions .btn {flex:1 1 98px;font-size:.88rem}
.card-edit {background:#fff;color:#185845;border:1px solid #cfe0d9}
.catalog-empty {display:grid;justify-items:center;gap:8px;padding:26px 13px;border:1px dashed #c3d6cf;border-radius:15px;color:var(--muted);text-align:center}
.how-it-works {margin-top:35px}
.how-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:13px}
.how-grid article {background:#fff;border-inline-start:3px solid #87bcaa;border-radius:10px;padding:14px}
.how-grid p {color:var(--muted);margin-top:5px}

.settings-intro {display:flex;align-items:end;justify-content:space-between;gap:14px;padding:clamp(17px,3vw,30px);border-radius:15px;background:#183c3c;color:#fff}
.settings-intro h1 {font-size:clamp(1.7rem,3.1vw,2.65rem);line-height:1.1;letter-spacing:-.025em}
.settings-intro p {margin-block-start:8px;color:#d4e5df}
.settings-health {display:flex;flex-wrap:wrap;gap:7px}
.settings-health span {display:flex;align-items:center;gap:7px;padding:4px 8px;color:#e7f2eb;background:#315353;border:1px solid #739490;border-radius:8px;font-size:.8rem}
.settings-health i {width:7px;height:7px;background:#e8bb7e;border-radius:50%}
.settings-health i.status-ready {background:#b4ed9a}
.settings-jump {display:flex;flex-wrap:wrap;gap:6px;margin-block:14px;padding:5px;border:1px solid var(--line);border-radius:11px;background:#fff}
.settings-jump a {padding:7px 10px;color:#375753;font-size:.87rem;font-weight:700}
.settings-jump a:hover,.settings-jump a:focus-visible {color:#144f3e;background:#e3f2ea}
.settings-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;align-items:start}
.settings-card {margin:0;background:#fff;border-radius:14px;scroll-margin-block-start:15px}
.settings-card:target {border-color:#519b86;box-shadow:0 0 0 2px #c5e5d8}
.settings-card-icon {display:grid;place-items:center;width:34px;height:34px;border-radius:8px;background:#e4f3eb;color:#206452;margin-block-end:8px}
.settings-card h2 {font-size:1.14rem;margin-block-end:13px}
.settings-card button {justify-self:start}
.settings-card .credential-setting details {background:#eef6f1}
.settings-card .sub {overflow-wrap:anywhere}
.settings-card form .notice {margin:0}
.site-footer {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:17px clamp(17px,3vw,48px);border-block-start:1px solid var(--line);background:#fff}
.site-footer a {font-weight:700;font-size:.88rem;color:#175846}
.site-footer .sub {margin-inline-start:5px}
.info-links {display:flex;flex-wrap:wrap;gap:8px 20px}
.info-links [aria-current="page"] {text-decoration:underline;text-underline-offset:.25em}
.info-page {max-width:780px;margin-inline:auto;overflow-wrap:anywhere}
.info-page details,.info-page > section {border-block-start:1px solid var(--line);padding-block:14px}
.info-page summary {font-weight:700;cursor:pointer}
.info-page summary::marker {color:var(--blue)}
.info-page h2 {font-size:1.15rem;margin:0}
.info-page p {margin:.65rem 0 0;line-height:1.7}
.testers-directory {max-width:980px;margin-inline:auto}
.tester-card-header {display:grid;gap:12px}
.tester-card h2,.tester-apps strong {overflow-wrap:anywhere}
.tester-metrics {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(150px,100%),1fr));gap:8px;margin:0}
.tester-metrics div {padding:10px 12px;border-radius:10px;background:#eff6f2}
.tester-metrics dt {font-size:.84rem;color:var(--muted)}
.tester-metrics dd {margin:3px 0 0;font-size:1.35rem;font-weight:700}
.tester-details {margin-block:14px}
.tester-details summary {font-weight:700;cursor:pointer}
.tester-apps {list-style:none;padding:0;margin:10px 0 0}
.tester-apps li {display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding-block:12px;border-block-start:1px solid var(--line)}
.tester-dates {display:flex;flex-basis:100%;flex-wrap:wrap;gap:4px 16px}
.badge.report-state[data-state] {
    display:inline-flex;align-items:center;gap:6px;max-width:100%;
    padding:4px 9px;border:1px solid var(--report-status-line,#d4dae5);border-radius:999px;
    background:var(--report-status-bg,#eef0f5);color:var(--report-status-ink,#475569);
    font-weight:700;line-height:1.35;white-space:normal
}
.badge.report-state[data-state]::before {
    content:"";width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:currentColor
}
.badge.report-state[data-state="pending"] {
    --report-status-bg:#fff3d4;--report-status-ink:#734400;--report-status-line:#efd394
}
.badge.report-state[data-state="approved"] {
    --report-status-bg:#e2f5e9;--report-status-ink:#145738;--report-status-line:#addcbd
}
.badge.report-state[data-state="revision"] {
    --report-status-bg:#fce8ec;--report-status-ink:#8e2141;--report-status-line:#f0b7c5
}
.badge.report-state[data-state="disputed"] {
    --report-status-bg:#e3efff;--report-status-ink:#204a83;--report-status-line:#b9d1f6
}
.my-apps-heading {flex-wrap:wrap;gap:10px}
.app-create {width:min(100%,680px);margin-inline:auto}
.app-create-header {display:grid;justify-items:start;gap:10px;margin-block-end:16px}
.app-create-header h1 {font-size:clamp(1.65rem,4vw,2.4rem);line-height:1.2}
.app-create-panel {padding:clamp(15px,3vw,30px)}
.app-create-panel form {gap:16px}
.app-create-panel label {min-width:0}
.app-create-panel input:not([type=checkbox],[type=hidden]),.app-create-panel select,.app-create-panel textarea {width:100%;min-height:46px;font-size:1rem}
.app-create-panel input[type=file] {overflow:hidden}
.app-create-panel output {overflow-wrap:anywhere}
.app-create-panel output:empty,.app-create-panel [data-icon-status]:empty {display:none}
.tester-group-field {
    display:grid;gap:8px;min-width:0;padding:13px;border:1px solid var(--line);border-radius:12px;background:var(--bg)
}
.tester-group-field p {margin:0;line-height:1.55;overflow-wrap:anywhere}
.tester-group-field a {justify-self:start}
.app-create-cost {display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--mint)}
.app-create-panel .app-create-submit {width:100%;min-height:48px}
@media(max-width:480px) {
    .my-apps-heading {align-items:stretch;flex-direction:column}
    .my-apps-heading .btn {width:100%}
    .app-create-header {margin-block-end:12px}
}
.mobile-dock {display:none}

@media (max-width:1050px) {:root{--rail:208px}.settings-grid{gap:10px}}
@media (max-width:850px) {
    html[dir] .member-view .shell,html[dir] .staff-view .shell {margin:0}
    html[dir] .workspace-nav {width:min(280px,86vw);visibility:hidden;transform:translateX(-100%);transition:transform .2s,visibility .2s}
    html[dir=rtl] .workspace-nav {transform:translateX(100%)}
    html[dir] .menu-open .workspace-nav {visibility:visible;transform:none;box-shadow:0 0 0 100vmax #10262888}
    .menu-open {overflow:hidden}
    .has-dock {padding-block-end:calc(58px + env(safe-area-inset-bottom,0px))}
    .mobile-dock {display:flex;position:fixed;inset:auto 0 0;z-index:3;gap:4px;padding:5px 8px calc(5px + env(safe-area-inset-bottom,0px));border-block-start:1px solid var(--line);background:#fff}
    .mobile-dock a {min-height:45px;flex:1 1 0;padding:4px 2px;justify-content:center;flex-direction:column;gap:3px;text-align:center;font-size:.71rem;line-height:1.08;color:#455f58}
    .mobile-dock a span {width:auto;font-size:1.08rem}
    .mobile-dock a:hover,.mobile-dock a[aria-current=page] {background:#def0e7;color:#125541}
}
@media (max-width:620px) {
    .masthead {padding:9px 11px;gap:6px;flex-wrap:wrap}
    .masthead-context strong {font-size:.89rem}
    .masthead-context span {display:none}
    .product-header .account {gap:5px}
    .product-header .public-nav {order:3;flex-basis:100%}
    .product-header .public-nav a {padding:5px 8px}
    main,html .guest-view main,.staff-view main {padding:15px 12px 31px}
    .hero.public-hero {grid-template-columns:1fr;gap:12px;padding:19px}
    .public-hero h1 {font-size:clamp(2rem,8vw,3rem)}
    .public-hero p {margin-block:10px 12px}
    .showcase-art {aspect-ratio:1.9}
    .settings-intro {align-items:start;flex-direction:column}
    .settings-grid,.columns,.how-grid {grid-template-columns:minmax(0,1fr)}
    .quick-actions {gap:5px}
    .quick-tile {padding:6px;flex-wrap:wrap;font-size:.73rem;gap:4px}
    .quick-tile .quick-symbol {width:25px;height:25px}
    .quick-tile strong {font-size:1.02rem}
    .row {flex-wrap:wrap}
    .app-card-actions .btn {min-height:44px}
}
@media (max-width:430px) {.product-header .points-pill{display:none}.masthead-start .icon{min-height:38px}.product-brand b{font-size:1.05rem}}
@media (prefers-reduced-motion:reduce) {*,*::before,*::after{transition-duration:.001ms!important;scroll-behavior:auto!important}}

.settings-stack{display:grid;align-content:start;gap:13px;min-width:0}
@media(min-width:621px){.settings-card form>label>select{max-width:100%}}
@media(max-width:620px){
    .quick-tile{display:grid;grid-template-columns:auto minmax(0,1fr);align-content:start;align-items:center;min-height:72px}
    .quick-tile strong{grid-column:1/-1;margin-inline-start:0;padding-inline-start:3px}
}

.owned-request-heading{align-items:flex-start}.owned-request-heading .badge{flex:none}.owned-request-heading .report-app-icon{background:var(--mint)}.owned-request-heading .report-icon-placeholder{color:var(--blue)}
@media(max-width:440px){.owned-request-heading{flex-wrap:wrap}}

.promo-fields{padding:10px;border:1px solid var(--line);border-radius:8px;background:#f7faf8}.promo-fields [data-promo-list]{margin-block-start:9px}.promo-fields .sub{margin-block-start:5px}.promo-value{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-block:14px}.promo-value code{font-size:1.04rem;background:var(--mint);padding:10px 12px;border-radius:8px;overflow-wrap:anywhere;user-select:all}.promo-badge{background:#fff0d6;color:#774407}

.auth-layout{display:grid;place-items:start center;padding:clamp(10px,4vw,48px) 0}
.auth-card{width:min(100%,480px);margin:0;padding:clamp(19px,4vw,35px);border-radius:20px;box-shadow:0 12px 36px #19392b10}
.auth-heading{margin-bottom:20px}.auth-heading img{display:block;border-radius:11px;margin-bottom:12px}
.auth-heading h1{font-size:clamp(1.55rem,4vw,2rem);line-height:1.2}.auth-heading .sub{margin-top:7px}
.auth-card form input{min-height:45px}.auth-card form .primary{min-height:45px;margin-top:3px}
.auth-switch{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-top:20px;padding-top:15px;border-top:1px solid var(--line);font-size:.875rem;color:var(--muted)}
.auth-switch .btn{min-height:38px}

.invitation-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.65fr);gap:14px;align-items:start}.invitation-preview iframe{width:100%;height:520px;display:block;margin-block-start:12px;border:1px solid var(--line);border-radius:8px}.invitation-layout form .btn{justify-self:start}
@media(max-width:720px){.invitation-layout{grid-template-columns:minmax(0,1fr)}}
.invitation-history-row strong{display:inline-block;overflow-wrap:anywhere}.invitation-history .section-title{margin-block-end:6px}.invitation-history-row .actions{gap:6px}
