/* Shared visual system: readable text, consistent controls, responsive layouts. */
:root{--accent:#6650d8;--line:#e3e6ef;--muted:#66738a;--ink:#202c43;--radius:16px;color:var(--ink);font-size:15px;background:#f5f6fb;font-synthesis:none}
body{line-height:1.5}html{scroll-padding-bottom:110px}h1{font-size:clamp(28px,2.6vw,38px);letter-spacing:-1.1px;line-height:1.2}h2{font-size:22px;line-height:1.3}h3{font-size:16px;line-height:1.4}p{overflow-wrap:break-word}button,a,input,textarea,select{touch-action:manipulation}button,a{transition:background .16s,color .16s,border-color .16s,box-shadow .16s}button:disabled{cursor:not-allowed;opacity:.6}a:focus-visible,button:focus-visible{outline:3px solid #a194e8;outline-offset:3px}.small{font-size:13px}.eyebrow{font-size:11px;letter-spacing:1.5px;color:#6f7890}.field-help,.optional{font-size:12px;color:#68768d}.muted{color:var(--muted)}
main{padding:40px 36px 24px;max-width:1370px}.topbar{height:76px;padding:0 36px;color:#66738a;gap:20px}.top-actions{min-width:0}.account{max-width:220px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.balance-chip{white-space:nowrap;color:#57459f;background:#faf8ff;border-color:#e5def8}.sidebar{padding:30px 18px;overflow-y:auto}.brand{font-size:21px}.brand small{font-size:9px;letter-spacing:1.3px;color:#68748a}.brand-mark{flex-shrink:0}.nav-label{font-size:10px;color:#7d8799}.side-link{font-size:14px;min-height:48px;padding:13px 14px;gap:12px;border-radius:12px;color:#667187}.side-link:hover{background:#f5f3fb;color:#5842ba}.side-link.active{background:#eee9fc;color:#5c43bd}.sidebar-bottom{padding-top:32px}.subtle-link,.mini-note,.mini-note p{font-size:12px;color:#6c788c}.page-heading{margin-bottom:30px}.page-heading>div{min-width:0}.page-heading h1{overflow-wrap:anywhere}.page-footer{font-size:12px;color:#7d879a;gap:18px}.section-title{gap:18px;flex-wrap:wrap}.section-title h2{margin:0}.count{font-size:12px;color:#6954aa}
.primary,.secondary{font-size:14px;min-height:46px;padding:12px 20px;border-radius:11px;line-height:1.4}.primary{background:var(--accent);border-color:var(--accent);box-shadow:0 4px 10px #6650d816}.primary:hover:not(:disabled){background:#5740c5;border-color:#5740c5}.secondary{color:#465570;background:#fff;border-color:#dce1ed}.secondary:hover:not(:disabled){background:#f7f5ff;border-color:#bfb2e9}.text-button{font-size:13px;min-height:40px;padding:8px 4px}.remove-file{color:#ac3f58}.danger{background:#b83f57;border-color:#b83f57}.danger:hover:not(:disabled){background:#9e3248;border-color:#9e3248}.panel,.form-panel,.draft-card,.signature-card,.auth-card{border-radius:var(--radius);border-color:var(--line);box-shadow:0 3px 14px #25304703}
label{font-size:14px;color:#44516b;font-weight:600;margin-top:22px}input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea{font-size:15px;line-height:1.5;min-height:48px;border-color:#dce1ec;color:#26334c;border-radius:10px;padding:12px 14px;margin-top:8px}input::placeholder,textarea::placeholder{color:#7c899d}input[readonly]{background:#f7f8fc!important;color:#5c6880!important}input[type=checkbox],input[type=radio]{width:19px;height:19px}input[type=file]{font-size:13px;color:#637189;width:100%}input[type=file]::file-selector-button{font-size:13px;min-height:40px;padding:9px 12px;color:#5b449f;background:#eee9fb;border-radius:9px}input:focus,select:focus,textarea:focus{border-color:#8e76dc!important;box-shadow:0 0 0 3px #7961d91a}.two-fields{gap:18px}.two-fields>label{min-width:0}.form-result:empty{display:none}.form-result{color:#574394;margin-bottom:0}.notice{font-size:14px;line-height:1.6;border-radius:12px;padding:16px 20px}.tip{font-size:13px;line-height:1.7;color:#665b7e;background:#f5f2fc;border-radius:12px;padding:17px 20px}.save-state{font-size:12px;color:#63718a}.save-state.saved{color:#397957}.save-state.error{color:#ac4151}
.stats{gap:18px}.stat{border-radius:16px;padding:24px;min-width:0}.stat>span:first-child{font-size:13px;color:#63718a}.stat strong{font-size:34px}.draft-card{padding:24px}.draft-card h3{font-size:17px;overflow-wrap:anywhere}.draft-card p{font-size:13px;color:#6c7890}.draft-card-top>div:last-child{min-width:0}.draft-card-bottom{gap:8px 16px}.draft-card-bottom>span{font-size:12px;color:#6c7890;flex-basis:100%}.draft-card-bottom .remove-file{margin-left:auto}.progress-track{margin-top:20px;height:5px}.job-name strong{font-size:14px}.job-name small,.job-date{font-size:12px;color:#6c7890}.badge{font-size:12px;padding:7px 10px;border-radius:8px}.badge.queued{color:#7354af;background:#f1ebfc}.badge.completed{color:#327552}.badge.building{color:#856121}.badge.failed{color:#a03e49}.table-head{font-size:10px;color:#68768a}.job-row{padding-top:22px;padding-bottom:22px}.job-error{font-size:13px;color:#a03e49}.empty-state{padding:44px 24px;color:#65738c}.empty-state h3{font-size:18px;color:#41516b}.empty-state p{font-size:14px;max-width:480px;margin:0 auto}.draft-grid>.empty-state{padding:40px 24px;background:#fff}.signature-info{font-size:13px;line-height:1.8;color:#647187;overflow-wrap:anywhere}.signature-card h3{overflow-wrap:anywhere}.signature-actions{gap:10px}.signature-actions button{flex:1 1 170px}.sensitive-note{font-size:12px;color:#6b627e}.signature-secrets input{font-family:ui-monospace,SFMono-Regular,monospace;font-size:13px!important}
.form-panel{padding:32px}.form-panel h2{font-size:26px}.form-panel fieldset>.muted{font-size:14px}.steps{padding:12px;gap:4px;border-radius:14px}.step-tab{font-size:12px;min-height:44px;padding:9px 7px;color:#68748a}.step-tab i{width:26px;height:26px;font-size:12px}.step-tab.active{color:#5d43b9}.step-tab.active i{background:#7054cc}.step-tab.done i{color:#6749ad}.choice{padding:18px;border-radius:12px;gap:12px;min-width:0}.choice b{font-size:14px;color:#42516a}.choice small{font-size:12px;color:#6a768c;line-height:1.65}.choice:has(input:checked){border-color:#ad96e6;background:#f8f5ff;box-shadow:0 0 0 1px #ad96e620}.upload-zone{padding:32px 22px;border-radius:14px;border-color:#b7a7df;background:#fcfaff;gap:12px}.upload-zone:hover,.upload-zone:focus-within{border-color:#8063c9;background:#f7f2ff}.upload-zone b{font-size:16px;color:#5e478c}.upload-zone span{font-size:13px;color:#726984}.upload-zone svg{color:#8d73bd}.icon-slot{border-radius:12px;padding:18px}.icon-slot b{font-size:14px}.icon-slot small,.icon-slot .file-state{font-size:12px;color:#6e788b}.icon-slot input{font-size:12px}.icon-thumbnail{width:60px;height:60px}.file-state{font-size:13px;color:#37734e}.file-state.invalid{color:#ae4254}.upload-progress{font-size:13px}.summary>div{font-size:14px;line-height:1.6}.summary dt{color:#68758b}.summary dd{color:#384860}.payment strong{font-size:25px;color:#5d43a5}.payment>span:first-child{font-size:14px;color:#6a568e}.preview-label{font-size:11px;color:#6f7890}.preview-panel>p{font-size:12px}.autosave-note b{font-size:13px;color:#65577b}.autosave-note p{font-size:12px;color:#758096}.phone-wallpaper strong{font-size:12px}.phone-wallpaper>span{font-size:9px}.preview-panel{position:sticky;top:28px}
.picker-modal{padding:30px;border-radius:22px;width:min(600px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow:auto}.modal-header{align-items:flex-start}.modal-header>div{min-width:0}.modal-header h2{font-size:25px}.modal-close{min-width:44px;width:44px;height:44px;line-height:1}.picker-modal .eyebrow{font-size:10px}.picker-options{max-height:42dvh;overscroll-behavior:contain;scrollbar-gutter:stable;padding:2px}.picker-option{padding:17px;border-radius:12px;min-height:64px}.picker-option>span{min-width:0;overflow-wrap:anywhere}.picker-option small,.picker-trigger small{color:#6f6584;font-size:13px}.picker-trigger{padding:20px;border-radius:13px;font-size:14px}.picker-trigger>span{min-width:0;overflow-wrap:anywhere}.picker-trigger>span:last-child{font-size:12px;color:#6c539e;white-space:nowrap}.picker-emblem{flex-shrink:0;background:#ece5fa;color:#7350b5}.country-code{flex-shrink:0}.country-options .picker-option{gap:14px}
.billing-grid{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);align-items:stretch}.balance-card{padding:36px;min-height:280px;border-radius:20px;background:linear-gradient(130deg,#5b43c6,#8067dc);gap:12px}.balance-card strong{font-size:clamp(34px,4vw,52px);letter-spacing:-1.5px;line-height:1.25}.balance-card p{font-size:14px;opacity:1;color:#e9e1ff;margin:12px 0 0}.topup-card{padding:30px}.amount-presets{flex-wrap:wrap;gap:10px}.amount-presets button{min-height:42px;font-size:14px}.ledger-row{padding:22px 26px;gap:20px}.ledger-row>div{min-width:0}.ledger-row small{font-size:12px;color:#6c7890;overflow-wrap:anywhere}.ledger-row strong{font-size:16px}.ledger-credit{color:#28764f}.settings-card{padding:30px}.settings-card h2{margin-bottom:16px}.settings-card .primary{margin-top:12px}.settings-card .field-help{font-size:13px}.settings-grid{gap:24px}
.auth-layout{padding:32px 0;gap:64px;min-height:calc(100dvh - 180px)}.auth-story h1{font-size:clamp(38px,4.5vw,58px);letter-spacing:-2px}.auth-story>p{font-size:15px;color:#65728a;line-height:1.85}.auth-points{font-size:13px;gap:20px}.auth-card{padding:36px;box-shadow:0 16px 60px #32205c08}.auth-card>form>.muted{font-size:14px}.auth-card h2{font-size:27px}.segmented{border-radius:12px}.segmented a{font-size:14px;min-height:46px;display:grid;place-items:center;border-radius:9px}.auth-card .primary{width:100%}.agent-row strong{font-size:15px;color:#3f4e67}.agent-row small{font-size:12px;color:#6d788d}.filters button{font-size:13px;min-height:42px}.detail-panel .summary>div{font-size:13px}.detail-panel pre{font-size:12px}.detail-panel label{font-size:14px}
@media(max-width:1150px){main{padding:30px 26px}.topbar{padding:0 26px}.editor-layout{grid-template-columns:minmax(0,1fr) 200px}.form-panel{padding:26px}.side-link{font-size:13px}.auth-layout{gap:34px}.auth-card{padding:28px}.preview-panel{padding-inline:0}}
@media(min-width:601px) and (max-width:850px){.sidebar{padding:24px 10px}.side-link{font-size:0;padding:12px;width:48px}.billing-grid{grid-template-columns:1fr}.balance-card{min-height:220px}.settings-grid{grid-template-columns:1fr}.auth-layout{gap:24px}.auth-card{padding:24px}.auth-story h1{font-size:36px}}
@media(max-width:850px){.editor-layout{grid-template-columns:minmax(0,1fr)}.preview-panel{display:none}.stat{padding:20px 16px}.stat>span:first-child{font-size:12px}.step-tab{font-size:12px}.step-tab i{width:25px;height:25px}.draft-grid{grid-template-columns:1fr}.topbar #breadcrumb{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.account{max-width:150px}}
@media(max-width:600px){
 main{padding:28px 16px 20px}.topbar{height:64px;padding:0 16px;gap:12px}.topbar #breadcrumb{display:none}.top-actions{width:100%;gap:12px}.account{flex:1;max-width:none;font-size:12px}.balance-chip{font-size:12px;padding:8px 10px}.topbar #logout{font-size:12px}.sidebar{overflow:visible;padding:8px 6px calc(8px + env(safe-area-inset-bottom));gap:2px;background:#fff;box-shadow:0 -3px 18px #25304708}.sidebar .side-link{font-size:10px;line-height:1.2;gap:6px;min-height:54px;padding:8px 2px;border-radius:10px;min-width:0;margin:0}.sidebar .side-link svg{width:20px;height:20px}.sidebar .side-link span{white-space:nowrap}.sidebar #nav-title{font-size:0}.sidebar #nav-title::after{content:'Приложения';font-size:10px}.page-heading{gap:16px;margin-bottom:24px}.page-heading h1{font-size:30px}.page-heading>button{min-height:46px}.page-heading p{font-size:14px}.eyebrow{font-size:10px}.primary,.secondary{min-height:46px;font-size:14px;padding:11px 16px}.page-footer{font-size:11px;padding:28px 0 calc(96px + env(safe-area-inset-bottom));margin-top:12px;align-items:flex-start}.page-footer span:last-child{text-align:right;max-width:185px}.section-title>.small{font-size:12px;max-width:none;text-align:left}.section-title h2{font-size:20px}.stats{gap:8px}.stat{padding:16px 10px}.stat>span:first-child{font-size:11px;line-height:1.5;min-height:34px}.stat strong{font-size:28px}.job-row{grid-template-columns:minmax(0,1fr) auto;padding:18px 16px}.job-name strong{font-size:14px}.job-name small{font-size:11px}.badge{font-size:11px;max-width:112px}.job-date{font-size:11px;margin-left:48px}.job-row>a{font-size:12px}.job-name{gap:10px}.app-icon{width:38px;height:38px;flex-shrink:0}.draft-card{padding:20px}.draft-card-bottom{gap:6px 12px}.draft-card-bottom .text-button{min-height:44px}.editor-heading{gap:12px;align-items:flex-start}.editor-heading .text-button{font-size:12px;padding:0;min-height:28px;white-space:nowrap}.save-state{font-size:11px;max-width:180px;line-height:1.5}.steps{padding:10px 4px;gap:0;overflow:auto}.step-tab{font-size:10px;padding:5px 3px;gap:7px;min-width:0}.step-tab i{width:24px;height:24px;font-size:11px}.form-panel{padding:24px 18px}.form-panel h2{font-size:24px}.form-panel fieldset>.muted{font-size:14px}.form-panel fieldset{min-height:0}.form-footer{margin-top:26px;padding-top:20px;gap:8px;flex-wrap:wrap}.form-footer .primary,.form-footer .secondary{padding:11px 14px;font-size:13px}.two-fields,.icon-grid{grid-template-columns:1fr;gap:14px}.two-fields label{margin-top:8px}.choice{padding:16px;margin:8px 0 14px}.choice b{font-size:14px}.choice small{font-size:13px}.source-options{gap:0}.upload-zone{padding:24px 16px}.upload-zone input{font-size:12px}.icon-slot{padding:18px}.icon-slot small{font-size:13px}.icon-slot input{font-size:13px}.summary>div{font-size:13px;gap:16px}.summary dt{max-width:42%;white-space:normal}.summary dd{flex:1}.picker-trigger{padding:16px;gap:12px;flex-wrap:wrap}.picker-trigger>.picker-emblem{padding:11px}.picker-trigger>span:last-child{margin-left:auto}.picker-modal{padding:22px;width:calc(100vw - 24px);border-radius:18px;max-height:calc(100dvh - 24px)}.modal-header h2{font-size:23px}.picker-modal .eyebrow{font-size:9px}.picker-option{padding:14px;gap:12px}.picker-options{max-height:45dvh}.picker-option small{font-size:12px}.picker-emblem{padding:12px}.billing-grid{grid-template-columns:minmax(0,1fr);gap:20px}.balance-card{padding:28px;min-height:220px;gap:14px;border-radius:18px}.balance-card strong{font-size:44px}.topup-card,.settings-card{padding:24px 20px}.topup-card .field-help{font-size:13px;line-height:1.65}.ledger-row{padding:20px 18px;gap:14px}.ledger-row b{font-size:14px}.ledger-row strong{font-size:15px}.settings-grid{grid-template-columns:minmax(0,1fr);gap:20px}.auth-layout{padding:0;min-height:0}.auth-story{padding:0 4px}.auth-story h1{font-size:34px;letter-spacing:-1.2px;margin:12px 0;line-height:1.18}.auth-story h1 br{display:none}.auth-story>p{font-size:14px;line-height:1.7;margin-bottom:0}.auth-story .eyebrow{font-size:10px}.auth-card{padding:24px 20px;margin-top:24px}.auth-card h2{font-size:25px}.auth-points{display:none}body.auth-page main{padding-top:24px}.auth-card input,#builder input:not([type=checkbox]):not([type=radio]),#settings input,.picker-modal input,#topup-form input,textarea,select{font-size:16px}.signature-actions{flex-direction:column}.signature-actions button{flex:auto;width:100%}.signature-card{padding:22px 18px}.signature-info{font-size:13px}.agent-toolbar{flex-direction:column}.detail-panel{padding:20px}.filters{gap:5px}.filters button{font-size:12px}.detail-panel .summary>div{font-size:12px}
}
@media(max-width:360px){.sidebar .side-link,.sidebar #nav-title::after{font-size:9px}.form-panel{padding:20px 14px}.form-footer .primary,.form-footer .secondary{font-size:12px;padding:11px 10px}.step-tab{font-size:9px}.page-heading h1{font-size:28px}.balance-card strong{font-size:38px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.route-loading{display:flex;justify-content:center;align-items:center;gap:12px;min-height:200px;color:#6c7890;font-size:14px}.loading-dot{width:20px;height:20px;border:2px solid #e7e1f7;border-top-color:var(--accent);border-radius:50%;animation:route-spin .7s linear infinite}@keyframes route-spin{to{transform:rotate(360deg)}}
.side-link:not(.active):hover{background:#f0f3f8;color:#42516b}
.picker-modal>h3{margin:24px 0 12px}.picker-options>.empty-state{margin-bottom:0;padding:30px 18px}
@media(max-width:600px){input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea{font-size:16px}}
.toast-stack{position:fixed;top:20px;right:20px;z-index:1000;width:min(410px,calc(100vw - 32px));display:flex;flex-direction:column;gap:12px;pointer-events:none;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.toast{pointer-events:auto;background:#fff;border:1px solid #dddfe9;border-radius:16px;box-shadow:0 12px 45px #25304726;padding:18px 16px 12px;display:grid;grid-template-columns:34px minmax(0,1fr) 30px;gap:10px;color:#253047;animation:toast-enter .2s ease-out}.toast-icon{display:grid;place-items:center;width:32px;height:32px;background:#e8f5ed;border-radius:10px;color:#28774d;font-weight:700}.toast-error .toast-icon{background:#ffedf0;color:#b23b54}.toast-content b{font-size:13px;color:#526078}.toast-content p{font-size:14px;line-height:1.55;margin:5px 0 0;overflow-wrap:anywhere}.toast-close{align-self:start;width:30px;height:30px;background:none;border:0;color:#778298;font-size:24px;line-height:1;padding:0;min-height:30px}.toast-close:hover{background:#f2eff9;border-radius:8px}.toast-footer{grid-column:2/-1;display:flex;align-items:center;gap:12px}.toast-countdown{font-size:11px;color:#7a8395;min-width:25px;font-variant-numeric:tabular-nums}.toast-track{height:3px;background:#efedf6;border-radius:4px;overflow:hidden;flex:1}.toast-track>span{display:block;height:100%;width:100%;background:#8e78d6;transition:width .1s linear}.toast-error .toast-track>span{background:#ce7789}#create-signature-modal{width:min(740px,calc(100vw - 28px))}#standalone-certificate .certificate-fields{margin-top:20px}#create-signature-modal .form-footer{justify-content:space-between}#create-signature-status{font-size:13px}@keyframes toast-enter{from{opacity:0;translate:12px 0}to{opacity:1;translate:0 0}}@media(max-width:600px){.toast-stack{top:12px;right:12px;width:calc(100vw - 24px);gap:8px}.toast{padding:14px 12px 10px;gap:8px;grid-template-columns:30px minmax(0,1fr) 34px}.toast-close{width:34px;height:34px}.toast-content p{font-size:13px}#create-signature-modal{padding:22px 18px}#create-signature-modal .form-footer{flex-direction:column-reverse;align-items:stretch}}@media(prefers-reduced-motion:reduce){.toast{animation:none}.toast-track>span{transition:none}}
.toast-stack{max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain;padding:2px}.toast-content p{max-height:180px;overflow-y:auto}@media(max-width:600px){.toast-stack{max-height:calc(100dvh - 116px)}}
/* Public documents and registration links. */
.page-footer{flex-wrap:wrap;gap:16px 24px;align-items:center}.legal-links{display:flex;flex-wrap:wrap;gap:8px 24px}.legal-links a{font-size:12px;line-height:1.6;color:#64518d;text-decoration:underline;text-underline-offset:3px;padding:8px 0;min-height:36px}.registration-legal{font-size:13px;line-height:1.7;color:#69738a;margin:20px 0 0;overflow-wrap:anywhere}.registration-legal a{color:#5940bd;text-decoration:underline;text-underline-offset:3px}.brand-mark{flex-shrink:0}.legal-links a:focus-visible,.registration-legal a:focus-visible{outline:2px solid #8067dc;outline-offset:4px}@media(max-width:600px){.legal-links{flex-direction:column;gap:0}.legal-links a{min-height:44px;display:flex;align-items:center}.page-footer{align-items:flex-start;flex-direction:column;gap:8px}}

/* Account recovery and optional contact details */
.recovery-link{display:block;width:fit-content;color:var(--primary,#7056e8);font-size:14px;font-weight:600;text-decoration:none;margin:16px 0;line-height:1.5}
.recovery-link:hover{text-decoration:underline}
.recovery-link:focus-visible{outline:3px solid #b6a5fa;outline-offset:4px;border-radius:4px}
.recovery-result:not(:empty){padding:14px 16px;border-radius:12px;background:#f4f1ff;line-height:1.65;font-size:14px;overflow-wrap:anywhere}
#forgot-password .eyebrow,#reset-password .eyebrow{display:block;margin-bottom:16px}
#profile-form label .field-help{font-weight:400}

#signature-detail-modal{width:min(740px,calc(100vw - 28px))}#signature-detail-title,.signature-card h3{overflow-wrap:anywhere}.signature-card-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.signature-card .signature-info{margin-bottom:24px}.signature-detail-info{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:24px 0;padding:20px;background:#f7f5fc;border-radius:14px}.signature-detail-info div{min-width:0}.signature-detail-info dt{font-size:12px;color:#68768d;margin-bottom:4px}.signature-detail-info dd{margin:0;font-size:14px;overflow-wrap:anywhere}#signature-detail-modal .signature-access{margin-top:24px}#signature-detail-modal .signature-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}#signature-detail-modal .signature-secrets{padding:20px;margin-top:20px;border-radius:14px;background:#f7f5fc}@media(max-width:480px){#signature-detail-modal{padding:22px 18px}.signature-detail-info{grid-template-columns:1fr;padding:16px}#signature-detail-modal .signature-actions{grid-template-columns:1fr}}

.icon-file-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px;margin-top:12px}.icon-file-actions:has(>button[hidden]:first-child):has(>button[hidden]:last-child){display:none}.icon-slot .file-state{overflow-wrap:anywhere;line-height:1.6}.icon-slot .file-state.invalid{color:#b23b54}.icon-file-actions .secondary{font-size:13px;padding:10px 12px}.icon-file-actions .remove-file{font-size:13px}@media(max-width:480px){.icon-file-actions{align-items:stretch;flex-direction:column}.icon-file-actions .remove-file{align-self:flex-start}}
.language-switch{display:inline-flex;flex-shrink:0;gap:3px;padding:3px;background:#f0edf9;border:1px solid #e0dbef;border-radius:10px}.language-switch button{border:0;border-radius:7px;background:transparent;padding:7px 9px;color:#69627c;font:600 12px/1.2 inherit;cursor:pointer}.language-switch button[aria-pressed=true]{background:#fff;color:#654cce;box-shadow:0 1px 4px #30204012}.language-switch button:focus-visible{outline:2px solid #7056e8;outline-offset:2px}.language-switch[hidden]{display:none}.job-row .update-release{grid-column:1/-1;justify-self:end;font-size:13px;padding:9px 14px}#release-update-note{margin-bottom:24px}input[readonly]{background:#f7f6fb;color:#6e6980}
@media(max-width:600px){.topbar{flex-wrap:wrap;gap:8px}.top-actions{flex-wrap:wrap;gap:8px}.language-switch button{padding:7px}.job-row .update-release{justify-self:start}.auth-story h1{overflow-wrap:normal}.form-footer{flex-wrap:wrap}.language-switch{max-width:100%}}
.file-picker-label{display:inline-flex;align-items:center;background:#eee9fc;border-radius:10px;color:#654cba;padding:12px 16px;font-size:14px;font-weight:600;cursor:pointer}.file-picker-input{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.upload-zone:focus-within,.icon-slot label:focus-within{outline:2px solid #7056e8;outline-offset:4px}
body.auth-page .topbar{display:flex;min-height:0;height:auto;padding:16px 24px;border:0;background:transparent;justify-content:flex-end}body.auth-page #breadcrumb,body.auth-page .top-actions>:not(.language-switch){display:none}
.email-language-options{border:0;margin:24px 0;padding:0;min-width:0}.email-language-options legend{font-weight:700;font-size:15px}.email-language-options .source-options{margin:12px 0 0;gap:10px}.email-language-options .choice{padding:12px;min-width:0}.job-row .cancel-build{grid-column:1/-1;justify-self:end}#cancel-build-name{overflow-wrap:anywhere;font-weight:600}#cancel-build-amount{white-space:nowrap}

/* Leave room for rounded toast shadows instead of clipping them to a rectangle. */
.toast-stack{top:0;right:0;width:min(458px,100vw);padding:24px;gap:12px;max-height:100dvh;background:transparent}
.toast{flex-shrink:0;min-width:0;overflow:hidden;border-radius:18px;box-shadow:0 4px 14px #25304716}
.toast-icon svg{width:20px;height:20px}
.build-history .table-head,.build-history .job-row{grid-template-columns:minmax(160px,1fr) 130px 115px 220px;gap:20px}
.build-history .table-head>span:last-child{width:auto}
.build-history .job-row{cursor:pointer;transition:background .15s ease}
.build-history .job-row:hover,.build-history .job-row:focus-within{background:#faf9fe}
.job-date{display:flex;flex-direction:column;gap:5px;line-height:1.4}.job-date b{font-weight:500;color:#526078}
.job-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}
.job-details-button,.job-icon-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #e3dfef;background:#fff;color:#6b56ba;border-radius:10px;min-height:40px;padding:9px 12px;font-family:inherit;font-size:12px;font-weight:600;line-height:1.3;text-decoration:none;white-space:nowrap}
.job-details-button svg{width:16px;height:16px}.job-icon-button{width:40px;padding:9px;font-size:18px;flex-shrink:0}.job-icon-button svg,.job-cancel-action svg{width:18px;height:18px;flex-shrink:0}
.job-details-button:hover,.job-icon-button:hover{background:#f0ecfc;border-color:#c9bde9}.job-cancel-action{color:#aa4357!important}.job-cancel-action:hover{background:#fff0f3!important;border-color:#edbfcb!important}
.job-cancel-action{display:inline-flex;align-items:center;justify-content:center;gap:8px}
body.user-job-open{overflow:hidden}
.user-job-modal{width:min(780px,calc(100vw - 32px));padding:30px;max-height:calc(100dvh - 48px)}
.user-job-modal .modal-header{align-items:flex-start;margin-bottom:22px}.user-job-modal h2{overflow-wrap:anywhere;font-size:26px}.user-job-modal .modal-header>div{min-width:0}
.job-detail-status{display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:#f7f5fc;padding:16px;border-radius:14px;font-size:13px;color:#6b6780}.job-detail-status strong{margin-left:auto;color:#342d52;font-size:20px;white-space:nowrap}
.job-detail-section{padding:23px 0;border-bottom:1px solid #eeedf4}.job-detail-section h3{margin:0 0 16px;font-size:15px;color:#34415b}.job-detail-section p{margin:0;font-size:14px;line-height:1.6;overflow-wrap:anywhere}
.job-facts{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px 24px;margin:0}.job-facts>div{min-width:0}.job-facts dt{color:#7a8395;font-size:12px;margin:0 0 6px}.job-facts dd{margin:0;color:#34415b;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.job-file-link{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px;border:1px solid #e7e3f1;border-radius:12px;text-decoration:none;color:#6550b6}.job-file-link>span{min-width:0}.job-file-link b,.job-file-link small{display:block;overflow-wrap:anywhere}.job-file-link b{font-size:14px}.job-file-link small{font-size:12px;color:#7a8395;margin-top:6px}.job-file-link:hover{background:#faf8ff}
.job-detail-icons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.job-icon-card{min-width:0;padding:14px 10px;background:#faf9fd;border:1px solid #eae7f2;border-radius:12px;display:flex;flex-direction:column;align-items:flex-start;gap:6px}.job-icon-card a{display:block;border-radius:12px;margin-bottom:6px}.job-icon-card img{display:block;width:64px;height:64px;object-fit:contain;border-radius:12px;background:repeating-conic-gradient(#eceaf3 0% 25%,#fff 0% 50%) 0 0 / 12px 12px}.job-icon-card b{font-size:12px;line-height:1.5}.job-icon-card small{font-size:11px;color:#7a8395;overflow-wrap:anywhere;max-width:100%}
.job-plugin-list{list-style:none;display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0}.job-plugin-list li{padding:8px 10px;border:1px solid #e7e3f1;border-radius:8px;font:12px/1.5 ui-monospace,monospace;color:#655681;overflow-wrap:anywhere;max-width:100%}
.job-request-id{font:11px/1.6 ui-monospace,monospace;color:#7a8395;overflow-wrap:anywhere;margin:18px 0}.job-detail-actions{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:12px}.job-detail-actions:empty{display:none}.job-detail-actions a{text-decoration:none}.job-refund-note{font-size:12px;color:#6c7890;margin-right:auto}.job-detail-error{background:#fff0f3;color:#a03e49;padding:14px;border-radius:12px;overflow-wrap:anywhere;font-size:14px}
@media(max-width:1100px){.build-history .table-head{display:none}.build-history .job-row{grid-template-columns:minmax(0,1fr) auto;gap:14px}.build-history .job-row>.badge{justify-self:end}.build-history .job-date{flex-direction:row;flex-wrap:wrap;gap:6px 10px;margin:0 0 0 50px;grid-column:1}.job-actions{grid-column:2}.job-details-button{font-size:12px}}
@media(max-width:600px){.toast-stack{padding:16px;max-height:calc(100dvh - 82px)}.toast{border-radius:16px;box-shadow:0 3px 9px #25304714}.build-history .job-row{padding:18px 14px;gap:12px}.job-actions{gap:6px}.job-details-button{padding:8px 10px}.job-details-button svg{display:none}.job-icon-button{width:36px;min-height:40px;padding:8px}.build-history .job-date{margin-left:0;flex-direction:column;gap:3px}.user-job-modal{padding:20px;width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}.user-job-modal h2{font-size:22px}.job-detail-status{padding:12px;gap:10px}.job-detail-status strong{font-size:18px}.job-detail-icons{grid-template-columns:repeat(2,minmax(0,1fr))}.job-facts{gap:16px}.job-facts dd{font-size:13px}.job-detail-actions>*{flex:1 1 100%;text-align:center}.job-detail-actions .primary,.job-detail-actions .secondary{justify-content:center}.job-refund-note{margin:0 0 4px}}

.user-job-modal[open]{display:flex;flex-direction:column;overflow:hidden}.user-job-modal .modal-header{flex-shrink:0}.user-job-modal #user-job-content{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 4px 4px 0}
@media(max-width:600px){.build-history .job-row .job-name{grid-column:1/-1}.build-history .job-row>.badge{grid-column:2;grid-row:2}.build-history .job-row .job-date{grid-column:1;grid-row:2;flex-direction:row;align-items:center}.build-history .job-row .job-actions{grid-column:1/-1;grid-row:3;border-top:1px solid #eeedf4;padding-top:12px}.build-history .job-row .job-name>div{min-width:0}}

.platform-options .platform-unavailable{background:#f7f7fa;border-color:#e5e6ed;cursor:not-allowed;color:#9298a8}.platform-options .platform-unavailable b,.platform-options .platform-unavailable small{color:#9298a8}.platform-options .platform-unavailable input{cursor:not-allowed;opacity:.5}.format-heading{font-size:14px;margin:8px 0 12px;color:#46536d}.format-options{margin-bottom:22px}.format-options .choice{margin-top:0}.format-options .choice small{line-height:1.5}

.signature-page-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.signature-page-actions button{display:inline-flex;gap:8px;align-items:center;justify-content:center}.signature-page-actions svg{width:18px;height:18px}#import-signature-modal{width:min(620px,calc(100vw - 28px))}#import-signature-modal>.muted{font-size:14px;line-height:1.65}#import-signature-form>label{margin-top:18px}.import-file-field{margin-top:20px;padding:18px;border:1px dashed #c9bde8;border-radius:14px;background:#faf8ff}.import-file-field label{margin:0}.import-file-field input[type=file]{max-width:100%;font-size:13px;padding:12px 0;border:0;background:transparent}.import-file-field .field-help{margin:4px 0}.import-same-password{display:flex!important;align-items:flex-start;gap:10px;font-size:13px;line-height:1.6}.import-same-password input{width:18px!important;height:18px;flex:0 0 18px;margin-top:2px;accent-color:#7056e8}#import-signature-status{overflow-wrap:anywhere;font-size:13px}#import-signature-form .form-footer{justify-content:space-between;margin-top:20px}.signature-origin{display:block;margin-top:8px;color:#7a8395;font-size:12px}@media(max-width:600px){.signature-page-actions{width:100%;gap:8px}.signature-page-actions button{flex:1 1 150px}#import-signature-modal{padding:22px 18px}#import-signature-form .form-footer{flex-direction:column-reverse;align-items:stretch}.import-file-field{padding:14px}}

#import-signature-status[data-state=error]{color:#aa4357}
/* Automatic Android artwork and background palette. */
.background-options{display:flex;gap:10px;margin-bottom:16px}.background-options .choice{flex:1;padding:12px;min-width:0}
#background-palette label{display:flex;align-items:center;justify-content:space-between;gap:12px}
#background-palette input[type=color]{width:56px;height:44px;padding:4px;border:1px solid var(--line,#ddd);border-radius:10px;cursor:pointer}
#background-color-value{font-size:13px;color:#64748b}.color-swatches{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}
.color-swatches button{width:30px;height:30px;border:2px solid #dce0ea;border-radius:50%;cursor:pointer;padding:0}.color-swatches button:focus-visible{outline:3px solid #6d5ce7;outline-offset:3px}
#background-color-preview{border:1px solid #dce0ea}#monochrome-slot{display:flex;flex-direction:column;align-items:flex-start;gap:12px}#monochrome-slot[hidden]{display:none}#monochrome-slot small{color:#748096}.mono-preview{filter:grayscale(1)}
/* Searchable plugin catalog: selection belongs to the draft, not filtered rows. */
.plugin-picker{width:min(880px,calc(100vw - 28px));height:min(860px,88dvh);max-height:88dvh;padding:28px;flex-direction:column;overflow:hidden}.plugin-picker[open]{display:flex}.plugin-picker .modal-header{flex:none}.plugin-search-label{margin:4px 0 12px}.plugin-search-label input{margin-top:8px}.plugin-category-filters{display:flex;flex-wrap:wrap;gap:8px}.plugin-category-filters button{background:#f6f4fb;border:1px solid #e3dff0;border-radius:20px;padding:9px 14px;color:#645779;cursor:pointer}.plugin-category-filters [aria-pressed=true]{background:#ede7ff;border-color:#8065df;color:#573bb8}.plugin-picker-list{overflow:auto;min-height:0;flex:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-content:start;padding:4px 5px 12px 2px}.plugin-picker-card{display:flex!important;align-items:flex-start;gap:12px;border:1px solid #e3e3ee;border-radius:14px;padding:16px;margin:0!important;cursor:pointer;min-width:0}.plugin-picker-card:has(input:checked){background:#f7f3ff;border-color:#947ae4}.plugin-picker-card input{width:18px!important;height:18px;margin:3px 0 0;flex:none;accent-color:#7056d8}.plugin-picker-card span{min-width:0}.plugin-picker-card b,.plugin-picker-card small{display:block;overflow-wrap:anywhere}.plugin-picker-card small{color:#778197;font-size:12px;margin:7px 0}.plugin-picker-card em{font-size:11px;font-style:normal;color:#8167bc}.plugin-picker-list .empty-state{grid-column:1/-1}.plugin-picker-footer{border-top:1px solid #e3e3ee;padding-top:18px;margin-top:8px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none}.selected-plugins{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0 24px}.selected-plugin{display:inline-flex;align-items:center;gap:9px;background:#f1ecfd;border:1px solid #e1d8fa;border-radius:12px;padding:8px 12px;color:#6046a4;max-width:100%}.selected-plugin>span{overflow-wrap:anywhere;min-width:0}.selected-plugin button{border:0;background:transparent;color:inherit;font-size:22px;min-width:28px;cursor:pointer}.admin-plugin-search-label{max-width:600px;margin-bottom:20px}@media(max-width:600px){.plugin-picker{padding:18px;height:90dvh;max-height:90dvh}.plugin-picker-list{grid-template-columns:1fr}.plugin-category-filters{gap:6px}.plugin-category-filters button{font-size:12px;padding:8px 10px}.plugin-picker-footer{font-size:13px}#choose-plugins{white-space:normal}}
