/* Desktop workspace. Public marketing and printed PDFs retain their own layout. */
.authenticated{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;line-height:1.5}.authenticated :is(input,select,textarea,button){font-family:inherit}.authenticated :is(h1,h2,h3){font-weight:600}.authenticated h1{font-size:26px}.authenticated h2{font-size:19px}.authenticated .panel-head p{font-size:13px}.authenticated :is(.mask-product-main>b,.batch-title-line>b){font-weight:500;font-size:14px}.authenticated :is(.mask-product-main>b,.mask-product-main>small,.mask-preview b,.mask-preview small){white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}.authenticated .mask-product-main em{font-size:12px}.authenticated :is(.mask-filter-bar label,.account-form label,.mask-form label){color:var(--ink);font-weight:500}.authenticated :is(input,select,textarea){border-radius:3px}.authenticated .sidebar .nav-group{margin-bottom:15px}.authenticated .sidebar .nav-group>span{font-size:10px;letter-spacing:.06em}.authenticated .side-nav a{font-size:14px;min-height:40px}.authenticated .brand-mark{color:#233044}.authenticated .dashboard-shortcuts{gap:20px}.authenticated .mask-form-fold summary{font-size:16px;cursor:pointer}.authenticated .mask-form-fold[open] summary{margin-bottom:18px}.authenticated .mask-stats>article{padding:12px 16px}.authenticated .mask-stats b{font-size:24px}.authenticated .mask-stats{margin-bottom:16px}.authenticated .mask-product{padding:12px 0;gap:14px;align-items:center}.authenticated .mask-preview{min-width:170px;max-width:260px;border:1px solid var(--line);border-radius:4px;padding:8px 10px}.authenticated .captured-actions{gap:6px;flex-wrap:nowrap}.authenticated .mask-filter-bar{position:sticky;top:65px;z-index:5;background:var(--surface);padding:12px 0;border-bottom:1px solid var(--line)}.authenticated .mask-toggle p{font-size:13px;line-height:1.5}.authenticated .mask-toggle h2{font-size:16px}.authenticated .v20-mask-occurrence{font-size:11px;color:var(--muted)}
.batch-actions{display:flex;align-items:center;gap:7px;flex:none}.ui-icon-action{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;min-width:38px;padding:8px;border:1px solid var(--line);border-radius:4px;background:var(--surface);color:var(--ink);cursor:pointer;vertical-align:middle;text-decoration:none}.ui-icon-action .icon{width:19px;height:19px;flex:none}.ui-icon-action:hover{background:#edf3ff;border-color:#6998e5;color:#1747ac}.ui-icon-action:focus-visible{outline:3px solid #5895e6;outline-offset:3px}.ui-tooltip{position:fixed;z-index:20000;pointer-events:none;background:#102138;color:white;padding:7px 10px;border-radius:4px;font:13px/1.4 system-ui;max-width:260px;box-shadow:0 3px 10px #0003}.ui-tooltip[hidden]{display:none}.authenticated .ready-actions{grid-template-columns:minmax(180px,1fr) auto;align-items:stretch}.authenticated #downloadReady{width:46px;height:46px}.authenticated .mask-review-actions{grid-template-columns:1fr 1fr}.authenticated .mask-review-editor .mask-row{padding:8px 0;min-height:48px}.authenticated .mask-row input{min-height:36px;font-size:14px}.authenticated .mask-name{font-size:14px!important;line-height:1.45!important}.authenticated .platform-choice-heading{font-size:13px}.authenticated .platform-rule{margin-block:10px}.authenticated .platform-buttons button{min-height:100px!important;padding:12px!important;display:grid!important;grid-template-columns:42px 1fr;grid-template-rows:auto auto;column-gap:12px;text-align:left;align-content:center}.authenticated .platform-buttons .platform-emblem{grid-row:1/3;width:42px;height:42px;font-size:22px}.authenticated .platform-buttons .platform-name{font-size:16px}.authenticated .platform-buttons small{font-size:12px}.authenticated .conversion-feedback{padding:12px 15px}.authenticated .conversion-feedback strong{font-size:16px}.authenticated .preview-bar{padding-block:8px}.authenticated .preview-bar small{font-size:12px}.authenticated .ready-note{font-size:12px}.authenticated .ready-links{gap:18px}.authenticated .batch-state{font-size:11px;font-weight:500}.authenticated .batch-row{gap:12px}
/* Opaque surfaces need matching foregrounds in night mode. */
html[data-theme=dark] .authenticated :is(.mask-stats>article,.history-summary>article,.batch-detail-kpis>article,.stats-grid>article,.mask-preview,.admin-customer-summary>article,.plan-option,.account-shortcut,.empty,.mask-form-fold){background:#1c2531;color:#e5eaf0;border-color:#42516a}html[data-theme=dark] .authenticated :is(.mask-stats b,.history-summary b,.mask-preview b,.mask-preview small,.mask-filter-bar label,.account-form label,.mask-form label,.preview-bar b,.preview-bar small,.preview-bar>div){color:#e5eaf0}html[data-theme=dark] .authenticated :is(.mask-stats span,.mask-stats small,.history-summary span,.history-summary small,.batch-detail-kpis span,.file-kind,.mask-preview span){color:#b9c7d9}html[data-theme=dark] .authenticated .preview-bar{background:#302c1d;border-color:#7e6c36}html[data-theme=dark] .authenticated .preview-bar small{color:#ebdba9}html[data-theme=dark] .authenticated .plan-badge{background:#293e63;color:#d5e4ff}html[data-theme=dark] .authenticated .mask-preview{background:#18372c;border-color:#39705a}html[data-theme=dark] .authenticated .mask-preview b{color:#d6f4e5}html[data-theme=dark] .authenticated .brand-mark{color:#223046}html[data-theme=dark] .ui-icon-action{background:#233145;color:#e1eafa;border-color:#50617a}html[data-theme=dark] .ui-icon-action:hover{background:#31496b;color:#fff}html[data-theme=dark] .authenticated .channel{background:#293e63;color:#d4e3ff}html[data-theme=dark] .authenticated .channel.shopee{background:#492d25;color:#ffcdbd}html[data-theme=dark] .authenticated .channel.amazon{background:#40351f;color:#ffe0a8}html[data-theme=dark] .authenticated .batch-state{background:#28374b;color:#d1dff0}html[data-theme=dark] .authenticated .batch-state.ready{background:#183b2d;color:#a9e9c8}html[data-theme=dark] .authenticated .batch-state.done{background:#29313d;color:#c2cddd}html[data-theme=dark] .authenticated :is(.progress,.usage-bar){background:#344156}html[data-theme=dark] .authenticated .file-kind{background:#28374b}
@media(min-width:1050px){.authenticated .converter-shell{max-width:1260px;width:100%;margin-inline:auto}.authenticated .converter-card{max-width:none}.authenticated .inline-mask-review .mask-table-head,.authenticated .inline-mask-review .mask-row{grid-template-columns:minmax(300px,1.6fr) minmax(200px,1fr) minmax(170px,.8fr) 22px}.authenticated .inline-mask-review{padding:16px}.authenticated .mask-review-actions{position:sticky;bottom:0;z-index:3;background:var(--surface);padding-block:12px;border-top:1px solid var(--line)}}
@media(max-width:760px){.authenticated .platform-buttons button{display:flex!important;min-height:125px!important;text-align:center;align-items:center}.authenticated .platform-buttons .platform-emblem{width:40px;height:40px}.authenticated .batch-actions{width:100%;justify-content:flex-end}.authenticated .batch-row{flex-wrap:wrap}.authenticated .mask-filter-bar{top:60px}.authenticated .mask-preview{max-width:none}.authenticated :is(input,select,textarea){font-size:16px}.authenticated .ready-actions{grid-template-columns:minmax(150px,1fr) auto}.authenticated .mask-review-actions{grid-template-columns:1fr}.authenticated .captured-actions{flex-wrap:wrap}.ui-icon-action{width:44px;height:44px;min-width:44px}}
@media(prefers-reduced-motion:reduce){.authenticated *{scroll-behavior:auto!important}}
.authenticated .converter-card{width:100%;max-width:1260px}.authenticated .mask-original,.authenticated .mask-original b{font-size:14px!important;line-height:1.45!important;font-weight:400!important;white-space:normal!important;overflow-wrap:anywhere;overflow:visible!important;text-overflow:clip!important}.authenticated .platform-rule{display:block}.authenticated .platform-rule b,.authenticated .platform-rule p{display:none}.authenticated .platform-rule a{font-size:13px}.authenticated .platform-rule:has(a[hidden]){display:none}
.auth-card .auth-code-link{background:#2455d6;color:#fff;border:1px solid #2455d6;cursor:pointer;opacity:1}
.auth-card>a.auth-code-link{margin-bottom:20px}
.auth-card .auth-code-link:hover{background:#1c45b2;border-color:#1c45b2}
.auth-card .auth-code-link:focus-visible{outline:3px solid #8db2ff;outline-offset:3px}

.header-actions .alias-toggle{display:inline-flex;align-items:center;gap:8px;min-height:38px;padding:7px 11px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);font-size:12px;white-space:nowrap;cursor:pointer}.header-actions .alias-toggle[aria-checked=true]{background:#e8f2ff;border-color:#8ab4ef;color:#174aa0}.alias-switch{width:30px;height:18px;border-radius:12px;background:#8290a2;position:relative;flex-shrink:0}.alias-switch:after{content:"";position:absolute;top:3px;left:3px;width:12px;height:12px;border-radius:50%;background:white;transition:transform .15s}.alias-toggle[aria-checked=true] .alias-switch{background:#2563eb}.alias-toggle[aria-checked=true] .alias-switch:after{transform:translateX(12px)}.alias-toggle:disabled{opacity:.65;cursor:wait}.alias-toggle:focus-visible{outline:2px solid var(--primary);outline-offset:3px}html[data-theme=dark] .alias-toggle[aria-checked=true]{background:#173358;color:#b6d4ff;border-color:#477bbd}@media(max-width:700px){.workspace-header .header-actions{gap:6px;flex-wrap:wrap}.header-actions .alias-toggle{padding:6px 8px;font-size:11px;gap:5px}.workspace-header:has(.alias-toggle){height:auto;min-height:62px;flex-wrap:wrap;row-gap:8px;padding-top:10px;padding-bottom:10px}.workspace-header:has(.alias-toggle) .header-actions{margin-left:auto}}

.inline-alias-product{align-items:flex-start!important;gap:16px!important}.inline-alias-product .mask-product-main{flex:1;min-width:0!important}.inline-alias-field{display:block;margin:0 0 5px!important}.inline-alias-field>span{display:block;font-size:11px;color:var(--muted);margin-bottom:4px}.inline-alias-field input{width:100%;min-height:40px;padding:8px 10px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--ink);font-size:14px;cursor:text}.inline-alias-field input:hover{border-color:var(--primary)}.inline-alias-field input:focus{outline:2px solid var(--primary);outline-offset:1px}.inline-alias-product .mask-product-main>small{display:block;white-space:normal;overflow-wrap:anywhere;margin-bottom:10px}.inline-alias-actions{display:flex;flex-direction:column;align-items:flex-end;gap:10px;max-width:210px;font-size:12px}.inline-alias-actions [hidden]{display:none!important}.inline-alias-product[data-save-state=saved] [data-alias-feedback]{color:var(--good,#18714e)}.inline-alias-product[data-save-state=error] [data-alias-feedback]{color:#c03636}@media(max-width:700px){.inline-alias-product{flex-wrap:wrap}.inline-alias-product .mask-product-main{min-width:calc(100% - 70px)!important}.inline-alias-actions{width:100%;max-width:none;flex-direction:row;justify-content:flex-end;flex-wrap:wrap}.inline-alias-field input{font-size:16px}}
