/* Console v3 — production refinements. No remote assets required for layout. */
:root{--shadow:0 5px 24px #4e332009}button,input,textarea,select{font:inherit}body{background:var(--bg)}button{cursor:pointer}button:disabled{cursor:not-allowed}h1,h2,h3,p{overflow-wrap:break-word}.brand>.icon,.login-wordmark>.icon{color:var(--brand);flex-shrink:0}.brand-text{min-width:0}.brand-text small{font-size:11px}.nav-heading{font-family:inherit;font-weight:500;letter-spacing:.09em}.nav-link .icon{flex-shrink:0}.sidebar .nav-link.active{background:linear-gradient(90deg,var(--coral-soft),#fff9f440)}.sidebar .nav-link{transition:background .16s,color .16s}.sidebar-nav{overscroll-behavior:contain}.metric-card,.card{min-width:0}.metric-card{transition:box-shadow .18s,border-color .18s}.metric-card:hover{box-shadow:0 8px 26px #4e33200c;border-color:var(--line-strong)}.metric-content{min-width:0}.metric-value{overflow-wrap:anywhere;line-height:1.25}.metric-value small{white-space:normal}.metric-label{line-height:1.5}.metric-hint{line-height:1.6}.status-dot{width:4px;height:4px;background:currentColor;border-radius:50%;flex-shrink:0}.aside-heading h3{font-family:var(--serif);font-size:17px}.table-card{overflow:visible}.table-wrap{overscroll-behavior-x:contain;scrollbar-width:thin}.data-table tbody tr.clickable{cursor:pointer}.data-table tbody tr.clickable:focus-visible{outline-offset:-2px}.data-table td{line-height:1.6}.sort-heading{display:inline-flex;gap:6px;align-items:center;border:0;background:none;color:inherit;font-size:inherit;font-weight:600;padding:2px 0;white-space:nowrap;text-align:left}.sort-heading:hover{color:var(--brand)}.table-note{margin:14px 0 0!important;line-height:1.7}.table-load-options{display:flex;gap:12px;justify-content:space-between;align-items:center;flex-wrap:wrap;padding:12px 0}.table-progress{display:block;margin-top:7px;width:90px;height:3px;accent-color:var(--brand);border:0;background:var(--surface-soft);border-radius:4px}.table-progress::-webkit-progress-bar{background:var(--surface-soft)}.table-progress::-webkit-progress-value{background:var(--brand);border-radius:4px}.table-progress::-moz-progress-bar{background:var(--brand);border-radius:4px}.table-controls{display:flex;align-items:center;gap:12px}.table-controls label{flex-direction:row;align-items:center}.filter-bar{margin-bottom:18px}.filter-actions{display:flex;gap:8px;align-items:center}.jobs-filters>.filter-row{margin-bottom:16px}.jobs-filters>.filter-bar{margin-bottom:12px}.auto-refresh{color:var(--muted);font-size:10px}.date-filter{display:flex;align-items:center;gap:9px}.date-filter label{min-width:0}.form-note{line-height:1.75}.table-card>.alert{margin:12px 0}.form-error{color:var(--danger);font-size:12px;line-height:1.6}.loading-inline{min-height:120px;display:flex;align-items:center;justify-content:center;gap:12px;color:var(--muted)}.skeleton{display:block;background:linear-gradient(100deg,var(--surface-soft) 20%,var(--surface) 50%,var(--surface-soft) 80%);background-size:200% 100%;animation:shimmer 1.8s infinite;border-radius:5px}.row-skeleton{height:16px;width:85%;min-width:45px}.metric-skeleton{height:25px;width:95px;margin:6px 0}.empty-state{display:flex;flex-direction:column;align-items:center;text-align:center;padding:42px 22px;gap:12px;min-width:0;color:var(--muted)}.empty-state strong{color:var(--text);font-weight:550}.empty-state p{max-width:410px;margin:0;line-height:1.75}.empty-state.compact{padding:30px 14px}.empty-icon{display:grid;place-items:center;width:56px;height:56px;background:var(--brand-soft);color:var(--brand);border-radius:16px}.empty-state .btn{margin-top:6px}.btn.full{width:100%}.btn:focus-visible{outline-offset:3px}.btn.ghost{border-color:transparent}.btn.secondary:hover{background:var(--surface-soft);border-color:var(--line-strong);color:var(--text)}.btn.ghost:hover{background:var(--surface-soft);color:var(--text);box-shadow:none;border-color:transparent}.error-text{color:var(--danger)!important}.spinner{flex-shrink:0}.password-field{display:flex;align-items:center;border:1px solid var(--line);border-radius:7px;background:var(--surface);overflow:hidden}.password-field input{border:0!important;flex:1;background:transparent!important}.password-field:focus-within{outline:2px solid var(--brand);outline-offset:1px}.password-field input:focus{outline:none;box-shadow:none}.password-field button{margin:0 5px;flex-shrink:0}.password-field input:not([type=checkbox]){width:0}.checkbox{line-height:1.6}.checkbox input:focus-visible{outline-offset:3px}.option-toggle{display:flex;flex-direction:row;align-items:flex-start;gap:12px;padding:16px;border:1px solid var(--line);border-radius:8px;background:var(--surface);cursor:pointer}.option-toggle input{margin-top:2px}.option-toggle>span{display:flex;flex-direction:column;gap:5px}.option-toggle strong{font-size:12px;font-weight:550}.option-toggle small{font-size:11px;font-weight:400;line-height:1.6;color:var(--muted)}
/* Native dialog top-layer panels — background remains inert and focus is trapped. */
dialog:not([open]){display:none!important}.modal.wide{width:min(800px,calc(100vw - 32px))}.modal[open]{animation:dialog-in .18s ease-out}.modal-header p{color:var(--muted);font-size:11px;line-height:1.65;overflow-wrap:anywhere}.modal-header h2{line-height:1.3}.modal-body{overflow-wrap:anywhere}.modal.side-panel[open]{display:flex;flex-direction:column;overflow:hidden;max-width:100vw}.side-panel .modal-header,.side-panel .modal-actions{flex-shrink:0;position:relative}.side-panel .modal-body{overflow-y:auto;flex:1;overscroll-behavior:contain;min-height:0}.modal-actions{flex-wrap:wrap}.modal-actions .btn{white-space:normal}.job-identity{display:flex;align-items:flex-start;gap:14px;padding-bottom:18px;border-bottom:1px solid var(--line)}.job-identity>div{min-width:0}.job-identity strong{font-size:13px}.job-identity p{font-size:10px;line-height:1.65;margin:5px 0 9px;overflow-wrap:anywhere}.job-timeline{display:flex;flex-direction:column;gap:0;margin:14px 0 6px}.job-timeline>div{display:flex;align-items:flex-start;gap:12px;min-height:52px;position:relative}.job-timeline>div:not(:last-child):before{position:absolute;content:'';width:1px;background:var(--line-strong);top:12px;bottom:0;left:4px}.timeline-dot{margin-top:5px;display:block;width:9px;height:9px;border-radius:50%;background:var(--success);flex-shrink:0;position:relative;z-index:1}.job-timeline>div>div{display:flex;flex:1;justify-content:space-between;gap:12px;align-items:flex-start}.job-timeline strong{font-size:11px;font-weight:500}.job-timeline time{font-size:10px;color:var(--muted)}.definition-list{display:grid;grid-template-columns:130px minmax(0,1fr);gap:12px;margin:0;font-size:11px;line-height:1.6}.definition-list dt{color:var(--muted)}.definition-list dd{margin:0;overflow-wrap:anywhere}.detail-section{padding-top:19px;border-top:1px solid var(--line)}.detail-section h4{font-family:inherit;font-size:11px;font-weight:600;margin:0 0 16px}.detail-grid>div{min-width:0;overflow-wrap:anywhere}.detail-grid strong{font-size:12px;line-height:1.6}.result-preview{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--surface-soft);border:1px solid var(--line);border-radius:8px;padding:18px;font-size:12px;line-height:1.85;max-height:340px;overflow:auto;margin:0;font-family:inherit}.artifact-link{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid var(--line);border-radius:7px;color:var(--text);font-size:12px}.artifact-link>.icon{color:var(--brand);flex-shrink:0}.artifact-link:hover{background:var(--brand-soft);border-color:#badcdd}.artifact-link>.icon:last-child{margin-left:auto}.json-viewer pre{font-size:11px;line-height:1.75;max-height:420px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}.json-viewer summary{min-height:42px}.json-viewer summary>.icon:last-child{margin-left:auto}.json-toolbar{display:flex;justify-content:flex-end;padding:9px 14px 0}.json-toolbar .link-button{font-size:10px}.command-search{width:100%!important}.command-results{display:flex;flex-direction:column;gap:5px}.command-results>button{width:100%;display:flex;gap:14px;align-items:center;padding:13px 12px;border:1px solid transparent;background:none;border-radius:7px;color:var(--text);text-align:left;font-size:12px}.command-results>button>.icon:first-child{color:var(--brand)}.command-results>button>.icon:last-child{margin-left:auto;color:var(--muted)}.command-results>button:hover,.command-results>button:focus-visible{background:var(--brand-soft);border-color:var(--line)}.preview-banner{height:28px;min-height:28px;font-size:10px;position:relative;white-space:nowrap}.shell.preview-shell{height:calc(100dvh - 28px);grid-template-rows:minmax(0,1fr)}.preview-shell>.sidebar,.preview-shell>.content-shell{grid-row:auto}.connection-card{max-width:640px;margin:0 20px}.connection-card h1{font-size:32px}.connection-card>.icon{color:var(--brand)}.loading-screen{box-sizing:border-box}.toast{z-index:9998;max-width:calc(100vw - 30px);line-height:1.6}.toast span{overflow-wrap:anywhere}
/* Account home: genuine recent data, never decorative fabricated metrics. */
.transcribe-banner{background:linear-gradient(115deg,#eff8f6f0,#fffbf6da),url('../assets/waves.svg') right center/cover;border:1px solid #deebe7;border-radius:10px;padding:27px 25px;display:flex;align-items:center;gap:22px;justify-content:space-between;min-width:0}.transcribe-banner h2{font-family:var(--serif);font-size:25px;font-weight:500;margin:9px 0 8px;line-height:1.35}.transcribe-banner p{font-size:11px;line-height:1.6;color:var(--muted);margin:0}.transcribe-banner .eyebrow{font-size:8px;color:#3b8a82;letter-spacing:.16em}.transcribe-banner>.btn{flex-shrink:0}.activity-total{display:flex;align-items:baseline;gap:10px;margin:26px 0 21px}.activity-total strong{font-family:var(--serif);font-size:42px;font-weight:500;line-height:1}.activity-total span{font-size:10px;color:var(--muted)}.distribution-bar{display:flex;width:100%;gap:3px;height:7px;border-radius:4px;overflow:hidden;margin-bottom:25px}.distribution-bar>span{border-radius:3px;min-width:3px}.distribution-bar .success,.legend-dot.success{background:#42aa94}.distribution-bar .info,.legend-dot.info{background:#369db5}.distribution-bar .warning,.legend-dot.warning{background:#f1b477}.distribution-bar .danger,.legend-dot.danger{background:#ec8870}.distribution-bar .muted,.legend-dot.muted{background:#b4b6b7}.distribution-legend{display:flex;flex-direction:column;gap:17px}.distribution-legend>div{display:flex;align-items:center;gap:9px;font-size:11px;color:var(--muted)}.distribution-legend strong{margin-left:auto;color:var(--text);font-size:12px;font-weight:550}.legend-dot{width:6px;height:6px;border-radius:50%;flex-shrink:0}.aside-note{padding-top:18px;margin:18px 0 0;border-top:1px solid var(--line);font-size:9px}.last-updated{display:flex;align-items:center;justify-content:center;gap:7px;color:var(--muted);font-size:9px;line-height:1.7}.shortcut-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.shortcut-grid>a{display:flex;align-items:center;gap:13px;padding:16px 12px;border:1px solid var(--line);border-radius:8px;color:var(--text);transition:background .16s,border-color .16s;min-width:0}.shortcut-grid>a:hover{background:var(--surface-soft);border-color:var(--line-strong)}.shortcut-grid>a>div{display:flex;flex-direction:column;gap:5px;min-width:0}.shortcut-grid>a strong{font-size:11px;font-weight:550}.shortcut-grid>a span:not(.file-symbol){font-size:10px;color:var(--muted);line-height:1.6}.shortcut-grid>a>.icon:last-child{margin-left:auto;flex-shrink:0;color:var(--brand)}.file-symbol.coral{color:var(--coral);background:var(--coral-soft)}.product-icon{width:37px;height:37px;display:grid;place-items:center;border-radius:10px;background:var(--brand-soft);color:var(--brand)}.purchase-summary{display:flex;align-items:center;gap:17px;padding:21px;background:var(--brand-soft);border-radius:8px}.purchase-summary>div{display:flex;flex-direction:column;gap:7px}.purchase-summary h3{font-size:22px}.purchase-total{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:20px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.purchase-total strong{font-family:var(--serif);font-size:28px;font-weight:500}.credit-products .credit-product .product-price{margin-top:3px}.credit-product h4{font-family:inherit;color:var(--muted)}.credit-product .product-credits{margin:2px 0}.credit-product .form-note{font-size:9px;margin:0 0 6px}.direction{display:inline-flex;gap:7px;align-items:center;white-space:nowrap}.direction .icon{color:var(--coral)}.direction.credit .icon{color:var(--success)}.usage-service{margin-top:19px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;align-items:center;font-size:10px}.usage-service>span{color:var(--muted);word-break:break-word}.usage-service strong{font-size:10px;font-weight:550}.usage-track{height:5px;width:100%;background:var(--surface-soft);border-radius:4px;margin-top:4px;overflow:hidden}.usage-track>span{display:block;background:#4eaca2;height:100%;border-radius:4px}.button-list>button{display:flex;align-items:center;gap:11px;background:none;border:0;border-radius:5px;padding:9px 0;font-size:11px;color:var(--text);text-align:left}.button-list>button>.icon:first-child{color:var(--brand)}.button-list>button>.icon:last-child{margin-left:auto}.button-list>button:hover{color:var(--brand)}.profile-summary{display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;padding:16px 0}.profile-summary h3{font-family:var(--serif);font-size:23px}.profile-summary p{margin:0;color:var(--muted);font-size:12px;overflow-wrap:anywhere}.profile-role{display:inline-flex;padding:5px 11px;background:var(--brand-soft);border-radius:15px;color:var(--brand);font-size:10px}.security-note{padding:16px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft);font-size:11px;line-height:1.8;color:var(--muted)}.token-secret{display:block;font-family:ui-monospace,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;background:var(--surface-soft);padding:20px;border:1px solid var(--line);border-radius:7px;line-height:1.9;font-size:12px;user-select:all}.user-management-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;flex-wrap:wrap}.user-header .identity-meta{line-height:1.8}.user-header>div{min-width:0}.permission-grid .checkbox{padding:12px;border:1px solid var(--line);border-radius:6px;font-size:11px;background:var(--surface)}.mapping-grid{display:grid;grid-template-columns:minmax(0,1fr) 25px minmax(0,1fr);align-items:center;gap:14px}.mapping-entity{border:1px solid var(--line);background:var(--surface-soft);border-radius:8px;padding:16px;min-width:0;overflow-wrap:anywhere}.mapping-entity strong{font-size:12px}.mapping-entity p{font-size:10px;color:var(--muted);line-height:1.7;margin:7px 0 0}.provider-symbol{display:grid;place-items:center;width:35px;height:35px;background:#f1edf7;color:#746387;border-radius:8px;font-family:var(--serif);font-size:25px}.environment-badge{display:inline-flex;align-items:center;gap:7px;border:1px solid var(--line);border-radius:5px;background:var(--surface-soft);padding:4px 8px;font-size:10px;color:var(--muted)}.mapping-arrow{color:var(--brand)}.date-range{display:flex;align-items:center;gap:9px}.selected-product{padding:20px;border:1px solid #bddbd8;background:var(--brand-soft);border-radius:9px}
@keyframes dialog-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1700px){.content>section{max-width:1700px;margin-left:auto;margin-right:auto}.data-table td{font-size:12px}.data-table th{font-size:11px}}
@media(max-width:1250px){.transcribe-banner{flex-wrap:wrap;padding:22px}.transcribe-banner h2{font-size:24px}.shortcut-grid{gap:10px}.shortcut-grid>a{padding:13px 10px;gap:10px}}
@media(max-width:850px){.shell.preview-shell>.sidebar{top:28px}.nav-link{min-height:40px}.sidebar-nav{padding-bottom:10px}.modal.side-panel{width:min(470px,100vw)}.account-layout>aside{display:block}.account-layout{grid-template-columns:minmax(0,1fr)}.transcribe-banner{flex-wrap:nowrap}}
@media(max-width:590px){.transcribe-banner{padding:22px 19px;flex-direction:column;align-items:flex-start;gap:20px}.transcribe-banner h2{font-size:27px;max-width:320px}.transcribe-banner>.btn{width:100%;min-height:40px}.transcribe-banner .eyebrow{font-size:8px}.metric-strip{align-items:stretch}.metric-value{font-size:22px}.metric-value small{display:block;font-size:8px;margin-top:2px}.metric-label{font-size:10px}.metric-hint{font-size:9px}.metric-card{align-items:flex-start}.metric-icon{margin-top:5px}.metric-card .metric-content{flex:1}.page-header h1{font-size:34px}.page-header p{font-size:12px;line-height:1.7}.page-actions .btn{min-height:38px}.shortcut-grid{grid-template-columns:minmax(0,1fr)}.card-header h3{font-size:20px}.card-header p{font-size:10px;line-height:1.7}.data-table td{font-size:11px}.data-table th{font-size:10px}.data-table .type-tag{font-size:9px}.status-badge{font-size:9px}.filter-bar>label{min-width:calc(50% - 10px)}.filter-bar>label>span{font-size:11px}.filter-bar input,.filter-bar select{font-size:12px;min-height:39px}.filter-actions{width:100%;flex-wrap:wrap}.auto-refresh{font-size:10px}.filter-row .auto-refresh{min-width:0}.table-note{font-size:10px}.form-note{font-size:11px}.purchase-note{font-size:10px}.modal.side-panel{width:100%;max-width:100vw}.modal.wide{width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.definition-list{grid-template-columns:100px minmax(0,1fr)}.job-timeline>div>div{flex-direction:column;gap:4px}.job-timeline>div{min-height:62px}.credit-product h4{font-size:11px}.credit-products{grid-template-columns:repeat(2,minmax(0,1fr))}.credit-product .product-credits{font-size:24px}.credit-product .btn{font-size:11px;white-space:normal}.credit-product .product-price{font-size:13px}.credit-product .form-note{font-size:9px}.mapping-grid{grid-template-columns:minmax(0,1fr)}.mapping-grid>.icon{transform:rotate(90deg);justify-self:center}.account-layout>aside{display:none}.user-management-header .actions{width:100%;flex-wrap:wrap}.identity-meta{overflow-wrap:anywhere}.preview-banner{font-size:9px}.preview-banner>span{display:none}.toast{right:10px;left:10px;bottom:10px;width:auto}.tab{font-size:12px}.app-footer{padding-bottom:max(20px,env(safe-area-inset-bottom))}.modal-actions{padding-bottom:max(16px,env(safe-area-inset-bottom))}.modal-body .grid-2{grid-template-columns:minmax(0,1fr)}.login-card input{font-size:16px}.login-card .password-field input{font-size:16px}.login-wordmark{font-size:20px}}
@media(max-width:355px){.content{padding-left:11px;padding-right:11px}.metric-card{padding:12px 9px;gap:7px}.metric-icon{width:26px;height:26px}.metric-icon .icon{width:17px;height:17px}.metric-value{font-size:20px}.metric-label{font-size:9px}.metric-hint{font-size:8px}.credit-products{grid-template-columns:minmax(0,1fr)}.card{padding:14px}.topbar .workspace-label{max-width:125px;font-size:10px}.btn{font-size:10px;padding:8px 10px}.page-header h1{font-size:30px}.table-footer{flex-wrap:wrap}.filter-actions .btn{flex:1}}

@media(prefers-reduced-motion:reduce){.modal[open]{animation:none}.skeleton{animation:none}}
@media print{.shell.preview-shell{display:block;height:auto}.page-grid{display:block}.modal:not([open]){display:none}}
.metric-card.teal .metric-icon{background:#eaf6f4;color:#0c9f94}.metric-card.green .metric-icon{background:#e9f5ef;color:#169783}.metric-card.coral .metric-icon{background:#fff2e9;color:#e77651}.metric-card.blue .metric-icon{background:#ebf5f8;color:#209fbd}.file-symbol{width:33px;height:33px;border-radius:9px;background:var(--brand-soft);color:var(--brand);display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.file-symbol.large{width:47px;height:47px;border-radius:12px}.sidebar{background:linear-gradient(#fbf9f6d9,#fbf9f67a),url('../assets/waves.svg') 3% bottom/auto 400px no-repeat}.content{background:linear-gradient(#fcfaf8ef,#fffdfcc9),url('../assets/waves.svg') right bottom/1300px auto fixed no-repeat}.waves-alert{background:linear-gradient(90deg,#fff5ebf5,#fff7f0ba),url('../assets/waves.svg') right bottom/cover!important}.feature-toggles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}.feature-toggles .option-toggle{justify-content:space-between}.feature-toggles .option-toggle>span{flex:1}.purchase-summary{display:grid;grid-template-columns:43px minmax(0,1fr)}.purchase-summary h3{font-size:23px}.purchase-summary .purchase-total{grid-column:2;font-size:28px;font-family:var(--serif);margin:0;padding:0;border:0}.purchase-summary>.muted{grid-column:2;font-size:12px}.aside-illustration{color:var(--coral);display:inline-flex;padding:17px;background:#fff9f0;border-radius:14px;margin-bottom:17px}.steps-list{padding:0;margin:0;list-style:none;display:flex;flex-direction:column;gap:20px}.steps-list li{display:flex;gap:12px;align-items:flex-start}.steps-list li>span{border-radius:50%;display:grid;place-items:center;width:25px;height:25px;background:var(--surface);border:1px solid var(--line);color:var(--brand);font-size:11px;flex-shrink:0}.steps-list li>div{display:flex;flex-direction:column;gap:5px}.steps-list strong{font-size:11px;font-weight:550}.steps-list small{font-size:10px;color:var(--muted);line-height:1.6}.audio-preview{width:100%;max-width:100%;height:42px}.profile-role{align-items:center;gap:6px}.form-bottom{flex-wrap:wrap}.checkout-status{max-width:740px}.checkout-symbol{color:var(--success)}.key-value-list>div{overflow-wrap:anywhere}.data-table th{vertical-align:middle}
@media(max-width:590px){.feature-toggles{grid-template-columns:minmax(0,1fr)}.file-symbol{width:27px;height:27px}.metric-card .metric-icon{width:30px;height:30px}.content{background:var(--bg)}.sidebar{background-color:var(--bg)}}
.definition-list{display:flex;flex-direction:column;gap:13px}.definition-list>div{display:grid;grid-template-columns:125px minmax(0,1fr);gap:12px}.job-identity>.btn{margin-left:auto;flex-shrink:0}.job-identity .row-subtitle{overflow-wrap:anywhere}.job-timeline .timeline-dot.pending{background:var(--warning);box-shadow:0 0 0 4px var(--warning-soft)}.job-timeline>div>div>span:not(.status-badge){font-size:10px;color:var(--muted)}.security-note{display:flex;gap:15px;align-items:flex-start}.security-note>.icon{color:var(--brand);flex-shrink:0}.security-note p{margin:6px 0 0}.type-tag{display:inline-block;background:var(--surface-soft);color:var(--muted);padding:3px 6px;border-radius:5px;font-size:9px;white-space:nowrap}.user-management-header h1{font-family:var(--serif);font-size:34px;font-weight:500;margin:6px 0 5px}.user-management-header .eyebrow{font-size:9px}.identity-meta{display:flex;align-items:center;gap:12px;color:var(--muted)}
@media(max-width:590px){.definition-list>div{grid-template-columns:95px minmax(0,1fr)}.user-management-header h1{font-size:28px}.data-table .file-symbol+.row-title{font-size:10px}}
@media(max-width:590px){.admin-users-page .data-table :is(th,td):nth-child(2),.admin-users-page .data-table :is(th,td):nth-child(3),.admin-users-page .data-table :is(th,td):nth-child(4){display:none}.admin-users-page .data-table .table-wrap{overflow-x:hidden}.admin-users-page .data-table td:first-child{width:100%;min-width:0}.admin-users-page .data-table :is(th,td):last-child{width:1%;min-width:0;white-space:nowrap}.admin-users-page .data-table td:last-child .btn{padding-inline:9px}}
/* Consistent native progress and complete dark-mode surfaces. */
.modal-body progress{display:block;appearance:none;width:100%;height:6px;border:0;border-radius:6px;overflow:hidden;background:var(--surface-soft);accent-color:var(--brand)}
.modal-body progress::-webkit-progress-bar{background:var(--surface-soft);border-radius:6px}
.modal-body progress::-webkit-progress-value{background:var(--brand);border-radius:6px}
.modal-body progress::-moz-progress-bar{background:var(--brand);border-radius:6px}








/* ACKustics v3 shell and support workspace. */
:root{--serif:Georgia,'Times New Roman',serif;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:14px}
html,body{max-width:100%;overflow-x:hidden}
small,.small{font-size:12px}.form-note{font-size:11px}.nav-link,.page-header p,.alert,label{font-size:12px}.btn{font-size:12px}.data-table table,.data-table td{font-size:12px}.data-table th{font-size:11px}
.brand{padding:12px 20px;overflow:hidden}.brand-logo-crop{display:block;position:relative;width:192px;height:46px;overflow:hidden;border-radius:9px;background:linear-gradient(135deg,#203944,#31515b);box-shadow:inset 0 0 0 1px #ffffff12}.brand-logo-crop img{position:absolute;width:300px;height:auto;max-width:none;left:-55px;top:-76px;filter:drop-shadow(0 1px 1px #00192266)}
.login-logo-crop{position:relative;width:min(430px,86vw);height:112px;overflow:hidden;border-radius:18px;margin-bottom:28px;background:radial-gradient(circle at 30% 45%,#087e8d,#263c48 72%);box-shadow:0 12px 40px #1527312e,inset 0 0 0 1px #ffffff17}.login-logo-crop img{position:absolute;width:720px;max-width:none;height:auto;left:-120px;top:-177px;filter:drop-shadow(0 2px 2px #00192277)}
.support-drawer-layer{position:fixed;inset:0;z-index:120;display:grid;grid-template-columns:minmax(0,1fr) min(1120px,92vw)}
.support-drawer-backdrop{grid-column:1;border:0;background:#17222b42;backdrop-filter:blur(2px);cursor:default}
.support-drawer{grid-column:2;background:var(--bg);height:100dvh;overflow:auto;overscroll-behavior:contain;box-shadow:-18px 0 60px #24313a2b;padding:0 28px 34px;outline:0}
.user-support--drawer{gap:18px}.user-support-identity{position:sticky;top:0;z-index:8;margin:0 -28px;padding:21px 28px 17px;background:color-mix(in srgb,var(--bg) 94%,transparent);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
.user-support-identity .identity-id{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.support-tabs{position:sticky;top:var(--support-identity-height,0px);z-index:7;background:var(--bg);padding-top:2px}.support-summary-grid{display:grid;grid-template-columns:minmax(280px,.75fr) minmax(0,1.25fr);gap:18px;align-items:start}.support-profile-grid{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:18px;align-items:start}.unsaved-indicator{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;background:var(--warning-soft);color:var(--warning);font-size:11px;font-weight:600}.user-support .detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.user-support .metric-strip{grid-template-columns:repeat(4,minmax(0,1fr))}.user-support .table-wrap{max-height:520px}.identity-meta{flex-wrap:wrap}

@media(max-width:900px){.support-drawer-layer{grid-template-columns:1fr}.support-drawer-backdrop{display:none}.support-drawer{grid-column:1;width:100vw;padding:0 18px 28px}.user-support-identity{margin:0 -18px;padding:17px 18px 14px}.support-summary-grid,.support-profile-grid{grid-template-columns:minmax(0,1fr)}.user-support .metric-strip{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:590px){.login-logo-crop{height:92px}.login-logo-crop img{width:610px;left:-102px;top:-150px}.support-drawer{padding:0 12px 24px}.user-support-identity{margin:0 -12px;padding:13px 12px 12px}.user-support-identity .page-actions{width:100%;overflow-x:auto;justify-content:flex-start;padding-bottom:2px}.support-tabs{margin:0 -12px;padding-left:8px;padding-right:8px}.user-support .metric-strip{grid-template-columns:minmax(0,1fr)}.user-support .detail-grid{grid-template-columns:minmax(0,1fr)}.identity-id{display:none}.brand-logo-crop{width:178px}.brand-logo-crop img{left:-61px}}
@media(max-width:850px){.sidebar:not(.open){visibility:hidden;pointer-events:none}.sidebar.open{visibility:visible}.brand-logo-crop{width:188px}}
.support-event-list{display:flex;flex-direction:column;gap:0}.support-event-list>article{display:grid;grid-template-columns:12px minmax(0,1fr);gap:10px;padding:9px 0;border-bottom:1px solid var(--line)}.support-event-list>article:last-child{border-bottom:0}.support-event-list time{font-size:10px;color:var(--muted)}.inline-confirm{border-color:#efc9c3;background:var(--danger-soft)}
.inline-job-detail{padding:24px}.inline-job-detail>.card-header{align-items:flex-start}.inline-job-detail>.card-header h3{margin-top:14px}.inline-detail-actions{border-top:1px solid var(--line);padding-top:18px}

/* Warm, subdued surfaces inspired by the ACKustics landing page. */
:root{color-scheme:light;--bg:#faf8f5;--surface:#fffdfa;--surface-soft:#f5efe7;--text:#262522;--muted:#615e58;--quiet:#716b63;--line:#e8e1d7;--line-strong:#d6c9bb;--brand:#267e87;--brand-strong:#1c6068;--brand-soft:#eaf3f2;--coral:#b9613d;--coral-soft:#fff4eb}
.sidebar{background:linear-gradient(#f5efe7ed,#f5efe7f5),url('../assets/waves.svg') left bottom/auto 450px no-repeat}
.topbar{background:#faf8f5f5}.content{background:linear-gradient(#faf8f5f5,#faf8f5f5),url('../assets/waves.svg') right bottom/1100px auto fixed no-repeat;padding-bottom:28px}
.console-search,.logout-btn{background:var(--surface)!important;color:var(--muted)}
input,select,textarea{background:var(--surface);border-color:var(--line-strong)}
.nav-link.active{border-color:#d8bfa9;color:#964c2f}.nav-link.active>.icon{color:#a65132}
.support-drawer-layer{grid-template-columns:minmax(16px,2vw) minmax(0,1fr)}
.support-drawer{width:100%;max-width:none}.content-inner:has(.user-support){max-width:none}
.language-picker{display:flex;align-items:center;gap:7px;flex-shrink:0}.language-picker select{width:auto;min-width:110px;padding-left:8px}.language-flag{width:23px;height:16px;object-fit:cover;border-radius:2px;box-shadow:0 0 0 1px #0002}
.topbar .console-search{margin-right:auto;flex:1;min-width:36px}.topbar{gap:16px}
@media(max-width:850px){.topbar .workspace-label{display:none}.topbar .console-search{flex:0 0 36px}.language-picker{margin-left:auto}}
@media(max-width:590px){.support-drawer-layer{grid-template-columns:1fr}.topbar{gap:8px}.language-picker select{min-width:96px;font-size:12px}.language-picker{gap:5px}}

.login-language{position:absolute;right:24px;top:20px}.login-screen{position:relative}
.language-picker{flex-direction:row}.language-picker select{margin:0}.transcribe-banner{background:linear-gradient(115deg,#edf5f1,#fdf6ee);border-color:var(--line)}
.modal,.modal-header,.modal-actions{background:var(--surface)}

/* Transcript Studio: local job drawer and synchronized reading surface. */
.modal.side-panel.wide{width:max(56vw,760px);max-width:100vw}
.stt-studio{isolation:isolate;position:relative;overflow:hidden;border:1px solid var(--line-strong);border-radius:18px;background:var(--surface);color:var(--text);padding:24px;box-shadow:var(--shadow);font-family:inherit}
.stt-studio-glow{position:absolute;z-index:-1;pointer-events:none;inset:0 0 auto;height:180px;background:linear-gradient(120deg,var(--brand-soft),var(--surface) 72%)}
.stt-studio-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.stt-studio .stt-studio-header h3{font-family:var(--serif);font-size:22px;font-weight:500;line-height:1.4;letter-spacing:-.35px;color:var(--text);margin:8px 0 0}.stt-studio-eyebrow{font-size:11px;letter-spacing:1.1px;color:var(--brand-strong);display:flex;align-items:center;gap:8px}.stt-live-dot{height:6px;width:6px;border-radius:50%;background:var(--brand);box-shadow:0 0 0 4px var(--brand-soft)}
.stt-equalizer{display:flex;gap:4px;align-items:center;height:36px}.stt-equalizer i{display:block;background:var(--brand);width:3px;border-radius:3px;height:18px;transform:scaleY(.35);opacity:.65}.is-playing .stt-equalizer i{animation:stt-eq .8s ease-in-out infinite alternate;animation-delay:calc(var(--bar)*-.17s)}@keyframes stt-eq{to{transform:scaleY(1.6);opacity:1}}
.stt-transcript-toolbar,.stt-reading-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--muted);font-size:12px;letter-spacing:.3px}.stt-follow{border:1px solid var(--line-strong)!important;border-radius:24px!important;background:var(--brand-soft)!important;color:var(--brand-strong)!important;padding:8px 12px!important;min-height:36px;font-size:13px!important;letter-spacing:0}.stt-follow[aria-pressed=false]{background:var(--surface)!important;color:var(--muted)!important}
.stt-transcript-viewport{position:relative;height:310px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--line-strong) transparent;padding:22px 5px 36px 0;margin:8px 0 12px;mask-image:linear-gradient(transparent,#000 5%,#000 93%,transparent)}
.stt-transcript-block{display:grid;grid-template-columns:44px 1fr;gap:12px;align-items:baseline;margin-bottom:22px;opacity:1}.stt-block-time{border:0!important;background:transparent!important;color:var(--muted)!important;font:12px ui-monospace,monospace!important;padding:4px 0!important;min-height:32px}.stt-transcript-block p,.stt-plain-transcript{margin:0;font-family:inherit;font-size:17px;line-height:1.85;letter-spacing:0;font-weight:400;white-space:pre-wrap;overflow-wrap:anywhere}
.stt-studio .stt-word{display:inline;width:auto;min-width:0;min-height:0;border:0;background:transparent;color:var(--muted);border-radius:5px;font:inherit;line-height:inherit;letter-spacing:inherit;padding:2px 1px;box-shadow:none;cursor:pointer;transition:color .12s,background .12s,box-shadow .12s}.stt-studio .stt-word.spoken{color:var(--text)}.stt-studio .stt-word.active{background:var(--brand);color:var(--surface);box-shadow:0 0 0 3px var(--brand-soft)}.stt-studio .stt-word:hover{background:var(--brand-soft);color:var(--brand-strong)}.stt-studio .stt-word.active:hover{background:var(--brand-strong);color:var(--surface)}.stt-studio button:focus-visible,.stt-studio select:focus-visible,.stt-studio input:focus-visible,.stt-transcript-viewport:focus-visible{outline:2px solid var(--brand);outline-offset:4px}
.stt-reading-nav{letter-spacing:0;border-top:1px solid var(--line);padding-top:10px}.stt-reading-nav button{background:transparent;border:0;color:var(--brand-strong);font-size:13px;min-height:36px;padding:6px 8px}.stt-reading-nav button:disabled{opacity:.45}.stt-studio-note{font-size:13px;line-height:1.6;color:var(--muted);margin:14px 0}
.stt-player-deck{margin-top:18px;border:1px solid var(--line);border-radius:12px;background:var(--surface-soft);padding:18px}.stt-player-progress{display:flex;align-items:center;gap:12px;font:12px ui-monospace,monospace;color:var(--muted)}.stt-studio .stt-player-progress input[type=range]{appearance:none;-webkit-appearance:none;min-width:0;min-height:24px;height:24px;max-height:24px;flex:1;width:auto;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;cursor:pointer}.stt-player-progress input[type=range]::-webkit-slider-runnable-track{height:4px;border:0;border-radius:4px;background:linear-gradient(to right,var(--brand) var(--progress),var(--line-strong) var(--progress))}.stt-player-progress input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:14px;height:14px;margin-top:-5px;border:2px solid var(--surface);border-radius:50%;background:var(--brand);box-shadow:0 0 0 1px var(--brand)}.stt-player-progress input[type=range]::-moz-range-track{height:4px;border:0;border-radius:4px;background:var(--line-strong)}.stt-player-progress input[type=range]::-moz-range-progress{height:4px;border-radius:4px;background:var(--brand)}.stt-player-progress input[type=range]::-moz-range-thumb{width:12px;height:12px;border:2px solid var(--surface);border-radius:50%;background:var(--brand)}
.stt-player-controls{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:14px}.stt-player-caption{font-size:11px;letter-spacing:.6px;color:var(--muted)}.stt-player-caption span{display:block;font-size:13px;letter-spacing:0;color:var(--text);margin-top:4px}.stt-transport{display:flex;align-items:center;gap:12px}.stt-transport button{display:inline-flex;align-items:center;justify-content:center;background:transparent;border:0;color:var(--brand-strong);font-size:13px;min-width:40px;min-height:40px;padding:6px}.stt-transport .stt-play{background:var(--brand);color:var(--surface);width:48px;height:48px;border-radius:50%;box-shadow:0 3px 12px var(--brand-soft);padding:0;transition:background .2s,transform .2s}.stt-play svg{display:block;width:22px;height:22px;fill:currentColor;flex-shrink:0}.stt-play:hover{background:var(--brand-strong);transform:scale(1.04)}.stt-play:disabled{opacity:.5}.stt-speed{display:flex;flex-direction:column;gap:4px}.stt-speed span{font-size:12px;color:var(--muted)}.stt-speed select{background:var(--surface);color:var(--text);border:1px solid var(--line-strong);border-radius:8px;padding:6px 10px;min-height:36px;width:auto;font-size:13px}
.stt-estimate{display:flex;justify-content:space-between;align-items:center;gap:15px;border:1px solid var(--line);border-radius:14px;padding:18px;background:linear-gradient(110deg,var(--surface,#fff),var(--brand-soft,#fbf1ec))}.stt-estimate strong{font-size:24px;letter-spacing:-.6px;color:var(--text)}.stt-estimate p{margin:4px 0 0;font-size:11px;color:var(--muted)}.stt-estimate-caption{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:var(--muted)}
@media(max-width:760px){.modal.side-panel.wide{width:100vw;max-width:100vw;border-radius:0}.stt-studio{padding:18px 14px;border-radius:16px}.stt-transcript-viewport{height:300px}.stt-transcript-block{grid-template-columns:32px 1fr;gap:7px}.stt-player-caption{display:none}.stt-player-controls{justify-content:space-around}.stt-player-deck{padding:14px}.stt-studio-eyebrow{font-size:10px;letter-spacing:.6px}.stt-studio .stt-studio-header h3{font-size:20px}.stt-transcript-block p,.stt-plain-transcript{font-size:16px}.stt-transcript-toolbar{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.stt-studio *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
