/* Able Pro inspired workspace. Bawaslu identity; live archive data. */
.workspace { --surface: #fff; --paper: #f7f8fa; --ink: #263238; --muted: #657180; --line: #e5e9ef; --red: #bd241f; --red-dark: #a31f1b; --navy: #f7f8fa; --navy-soft: #fff0ee; font-family: Manrope, sans-serif; color: var(--ink); grid-template-columns: 272px minmax(0,1fr); background: var(--paper); font-size: 13px; }
.workspace *, .workspace *::before, .workspace *::after { box-sizing: border-box; }.workspace :focus-visible { outline: 2px solid #bd241f; outline-offset: 3px; }.workspace button { font-family: inherit; }.workspace a { text-underline-offset: 3px; }
.workspace .side { position: sticky; top: 0; height: 100vh; height: 100svh; overflow-y: auto; display: flex; flex-direction: column; padding: 24px 12px 0; border-right: 1px dashed #cbd2dc; color: var(--ink); background: var(--paper); z-index: 12; }
.ws-brand { display: flex; align-items: center; gap: 11px; margin: 0 12px 38px; color: #263238; text-decoration: none; font-size: 18px; font-weight: 400; letter-spacing: -.03em; }.ws-brand > span:last-child { white-space: nowrap; }.ws-brand small { display: block; margin-top: 4px; color: #657180; font-size: 10px; letter-spacing: 0; }.ws-logo { width: 40px; height: 40px; display: grid; place-items: center; background: #bd241f; color: #fff; border-radius: 11px; border-bottom: 1px solid #ffc107; font-weight: 700; font-size: 18px; }
.workspace .nav-heading { margin: 0 12px 12px; color: #5a6573; font-size: 10px; font-weight: 700; letter-spacing: .04em; }.workspace .nav { display: grid; gap: 7px; }.workspace .nav button { width: 100%; min-height: 46px; padding: 12px 15px; border: 0; border-radius: 8px; display: flex; gap: 12px; align-items: center; background: transparent; color: #596779; font-size: 13px; font-weight: 500; text-align: left; }.workspace .nav button.active { background: #fce8e6; color: #b6221e; }.workspace .nav button:hover { background: #eceff3; }.workspace .nav button.active:hover { background: #f8dedb; }.workspace .nav button span { color: inherit; font-size: inherit; font-weight: inherit; letter-spacing: 0; }.workspace .nav .nav-icon { width: 18px; display: flex; }.workspace .nav .nav-icon .icon { width: 19px; height: 19px; }.workspace .nav .nav-label { width: auto; flex: 1; }.workspace .nav-badge { color: #9d201c; background: #ffdbd8; font-size: 10px; }
.ws-side-note { margin: auto 12px 24px; padding-top: 32px; color: #4c5867; font-size: 11px; font-weight: 700; }.ws-side-note p { font-weight: 400; line-height: 1.8; font-size: 10px; color: #657180; }.ws-demo-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 8px; background: #d99a12; }
.workspace .profile-card { position: sticky; bottom: 0; display: flex; gap: 9px; flex-shrink: 0; padding: 18px 8px; margin: 0; border-top: 1px solid #e1e5eb; border-radius: 0; background: var(--paper); }.workspace .profile-copy { min-width: 0; flex: 1; }.workspace .profile-copy b { color: #263238; font-size: 11px; font-weight: 600; }.workspace .profile-copy small { color: #657180; font-size: 10px; }.workspace .avatar { width: 35px; height: 35px; display: grid; place-items: center; flex-shrink: 0; border: 0; border-radius: 50%; background: #f9e5e1; color: #a42420; font-size: 11px; font-weight: 700; }
.workspace .main { min-width: 0; }.workspace .top { display: flex; align-items: center; justify-content: start; min-height: 78px; gap: 20px; padding: 14px 32px; background: var(--paper); border: 0; z-index: 8; }.ws-icon-button { position: relative; display: inline-flex; justify-content: center; align-items: center; width: 36px; height: 36px; flex-shrink: 0; border-radius: 8px; color: #657180; background: transparent; padding: 8px; }.ws-icon-button .icon { width: 20px; height: 20px; }.ws-icon-button:hover { color: #bd241f; background: #f4e7e5; }
.ws-search { display: flex; align-items: center; gap: 9px; width: 275px; height: 42px; border: 1px solid #c8d0db; border-radius: 8px; padding: 0 12px; color: #657180; background: transparent; }.ws-search input { min-width: 0; width: 100%; border: 0; outline: 0; color: #263238; background: transparent; font-size: 12px; }.ws-search input::placeholder { color: #657180; }.ws-search kbd { color: #657180; font-size: 12px; }.ws-search:focus-within { border-color: #bd241f; box-shadow: 0 0 0 2px #f5d5d2; }.ws-top-right { margin-left: auto; display: flex; align-items: center; gap: 16px; }.ws-office { color: #657180; font-size: 11px; }.ws-notification-dot { position: absolute; width: 7px; height: 7px; background: #bd241f; border-radius: 50%; top: 5px; right: 7px; }
.workspace .content { width: 100%; max-width: 1580px; margin: auto; padding: 15px 32px 30px; }.ws-page-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 25px; gap: 15px; }.ws-page-heading p { margin: 0 0 9px; color: #657180; font-size: 11px; }.ws-page-heading p span { margin: 0 9px; color: #84909d; }.ws-page-heading h1 { margin: 0; font-size: 23px; letter-spacing: -.025em; font-weight: 700; }.ws-scope { display: flex; align-items: center; gap: 7px; color: #657180; font-size: 11px; }
.ws-welcome { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 30px 34px; border-radius: 12px; background: #bd241f; color: #fff; margin-bottom: 24px; }.ws-welcome h2 { margin: 0 0 10px; font-size: 24px; font-weight: 700; letter-spacing: -.025em; }.ws-welcome p { max-width: 480px; color: #ffe6e2; font-size: 13px; line-height: 1.8; margin: 0 0 22px; }.ws-welcome-button { display: flex; align-items: center; gap: 16px; padding: 10px 14px; border: 1px solid #ffc5bd; border-radius: 7px; color: #fff; background: transparent; font-size: 12px; }.ws-welcome-button:hover { background: #a6211c; }.ws-welcome-status { display: flex; align-items: center; gap: 18px; margin-right: 15px; }.ws-welcome-status > .icon { width: 64px; height: 64px; color: #ffc107; stroke-width: 1; }.ws-welcome-status span { font-size: 14px; font-weight: 700; }.ws-welcome-status small { display: block; color: #ffe6e2; font-size: 10px; font-weight: 400; margin-top: 6px; }
.workspace .cards { gap: 20px; margin-bottom: 24px; }.ws-stat { padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: #fff; min-width: 0; }.ws-stat-head { display: flex; align-items: center; gap: 12px; margin-bottom: 17px; }.ws-stat-head h2 { font-size: 13px; font-weight: 700; margin: 0; }.ws-stat-icon { display: grid; place-items: center; width: 38px; height: 38px; flex-shrink: 0; border-radius: 8px; background: #ffebe9; color: #bd241f; }.ws-stat-icon .icon { width: 20px; height: 20px; }.ws-stat.blue .ws-stat-icon { background: #eaf0ff; color: #4871d9; }.ws-stat.green .ws-stat-icon { background: #e1f2ed; color: #208361; }.ws-stat.amber .ws-stat-icon { background: #fff0d7; color: #a56b08; }.ws-stat-body { background: #f7f8fa; padding: 15px; border-radius: 8px; }.ws-stat-body b { display: block; color: #263238; font-size: 26px; line-height: 1.2; font-weight: 700; font-variant-numeric: tabular-nums; margin-bottom: 9px; }.ws-stat-body span { display: block; color: #657180; font-size: 10px; line-height: 1.6; }
.workspace .panel { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 0; }.ws-overview-grid { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(270px,1fr); gap: 20px; margin-bottom: 24px; }.ws-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 23px; }.ws-panel-head h2 { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: -.01em; }.ws-panel-head p { margin: 6px 0 0; font-size: 11px; color: #657180; line-height: 1.6; }.ws-chart-filter { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #657180; }.ws-chart-filter select { font: inherit; background: #fff; border: 1px solid #dbe0e8; padding: 8px; border-radius: 6px; color: #263238; }
.ws-chart-legend { display: flex; justify-content: end; gap: 18px; margin: 0 24px 24px; font-size: 10px; color: #657180; }.ws-chart-legend > span { display: flex; align-items: center; gap: 7px; }.ws-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; }.tone-0 { background: #bd241f; }.tone-1 { background: #5680e9; }.tone-2 { background: #269978; }.tone-3 { background: #d89d22; }.ws-chart { display: flex; height: 208px; margin: 0 24px; gap: 10px; }.ws-chart-scale { display: flex; flex-direction: column; justify-content: space-between; padding-bottom: 25px; width: 20px; color: #657180; font-size: 10px; }.ws-chart-plot { display: flex; align-items: end; flex: 1; min-width: 0; background: repeating-linear-gradient(to top, transparent 0,transparent calc(25% - 1px),#edf0f4 calc(25% - 1px),#edf0f4 25%); background-size: 100% calc(100% - 25px); background-repeat: no-repeat; }.ws-chart-month { display: flex; flex-direction: column; width: calc(100%/12); height: 100%; align-items: center; justify-content: end; }.ws-chart-bars { display: flex; align-items: end; justify-content: center; gap: 4px; height: calc(100% - 25px); width: 100%; }.ws-chart-bars i { display: block; width: 22%; max-width: 15px; border-radius: 4px 4px 0 0; }.ws-chart-month > span { display: flex; align-items: end; height: 25px; color: #657180; font-size: 9px; }.ws-chart-note { padding: 0 24px; margin: 22px 0; color: #657180; font-size: 10px; }
.ws-distribution-total { padding: 0 24px 22px; display: flex; align-items: baseline; gap: 10px; }.ws-distribution-total b { font-size: 27px; }.ws-distribution-total span { font-size: 10px; color: #657180; }.ws-distribution-row { padding: 0 24px; margin-bottom: 23px; }.ws-distribution-row > div:first-child { display: flex; align-items: center; justify-content: space-between; font-size: 11px; margin-bottom: 9px; }.ws-distribution-row > div:first-child span { display: flex; align-items: center; gap: 9px; }.ws-track { height: 6px; overflow: hidden; border-radius: 4px; background: #f0f2f5; }.ws-track i { display: block; height: 100%; border-radius: inherit; }
.ws-recent { margin-bottom: 24px; }.ws-panel-actions { display: flex; gap: 10px; }.workspace .btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 7px; padding: 10px 13px; font-size: 11px; font-weight: 600; text-decoration: none; }.workspace .btn:hover { transform: none; }.workspace .btn-soft { background: #fff; color: #536176; border: 1px solid #dce1e9; }.workspace .btn-soft:hover { background: #f3f5f8; }.workspace .btn-primary { color: #fff; background: #bd241f; }.workspace .table-wrap { width: 100%; overflow-x: auto; }.workspace .table { font-family: inherit; font-size: 12px; }.workspace .table th { color: #657180; font-size: 10px; font-weight: 600; text-transform: none; letter-spacing: 0; padding: 13px 20px; background: #f8f9fb; border-top: 1px solid #e9edf2; border-bottom: 1px solid #e9edf2; }.workspace .table td { padding: 15px 20px; border-bottom: 1px solid #eef0f4; color: #344152; vertical-align: middle; }.workspace .table tbody tr:last-child td { border-bottom: 0; }.workspace .table tbody tr:hover td { background: #fafbfc; }.workspace .dashboard-table { min-width: 840px; table-layout: auto; }.workspace .dashboard-table th { width: auto; }.workspace .table td b { font-weight: 600; font-size: 11px; }.workspace .table td small { display: block; margin-top: 6px; color: #657180; font-size: 10px; }.workspace .badge { padding: 4px 8px; font-size: 10px; border: 0; border-radius: 5px; font-weight: 600; }.workspace .badge-in { color: #3b61b8; background: #eaf0ff; }.workspace .badge-out { color: #21785f; background: #e3f3ed; }.workspace .badge-neutral { color: #5b6574; background: #f0f2f5; }.workspace .badge-pending { color: #a96506; background: #fff0da; }.workspace .badge-progress { color: #3b61b8; background: #eaf0ff; }.workspace .badge-done { color: #21785f; background: #e3f3ed; }.ws-file-state { color: #657180; font-size: 10px; }
.ws-text-button { display: flex; align-items: center; gap: 8px; padding: 8px; color: #bd241f; background: transparent; font-size: 11px; }.ws-text-button:hover { text-decoration: underline; }.ws-empty-tasks { display: flex; align-items: center; gap: 16px; padding: 0 24px 25px; }.ws-empty-tasks > .icon { width: 40px; height: 40px; padding: 10px; border-radius: 10px; background: #e3f3ed; color: #21785f; }.ws-empty-tasks b { font-size: 12px; font-weight: 600; }.ws-empty-tasks p { font-size: 11px; color: #657180; margin: 5px 0 0; }.ws-task-list { padding: 0 24px 12px; }.ws-task-list > div { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid #edf0f4; }.ws-task-icon { display: grid; place-items: center; padding: 9px; background: #fff0da; color: #a96506; border-radius: 8px; }.ws-task-list > div > div { flex: 1; min-width: 0; }.ws-task-list b { display: block; font-size: 12px; }.ws-task-list small { display: block; color: #657180; font-size: 10px; margin-top: 5px; }.ws-footer { display: flex; justify-content: space-between; gap: 15px; padding: 0 32px 24px; color: #657180; font-size: 10px; }
.workspace .title-row { margin-bottom: 24px; }.workspace .title-row h1 { font-size: 25px; letter-spacing: -.025em; }.workspace .eyebrow { font-size: 10px; }.workspace .toolbar { padding: 22px 22px 0; }.workspace .toolbar input, .workspace .toolbar select { font-size: 12px; background: #fff; border-color: #dbe0e8; border-radius: 7px; }.workspace .grid-2 > .panel { padding: 24px; }.workspace .panel > .title-row { padding: 20px 22px 0; }.workspace .field input, .workspace .field select, .workspace .field textarea { font-size: 13px; background: #fff; }.workspace .modal { font-family: Manrope, sans-serif; background: #fff; border-radius: 12px; }.workspace .table-link { color: #657180; }.workspace.nav-collapsed { grid-template-columns: 0 minmax(0,1fr); }.workspace.nav-collapsed .side { visibility: hidden; overflow: hidden; padding: 0; }.ws-scrim { display: none; }
@media(max-width:1150px){ .workspace { grid-template-columns: 245px minmax(0,1fr); }.workspace .content { padding: 15px 24px 25px; }.workspace .cards { gap: 12px; }.ws-stat { padding: 16px; }.ws-stat-head { gap: 8px; }.ws-stat-head h2 { font-size: 12px; }.ws-overview-grid { grid-template-columns: minmax(0,1.5fr) minmax(240px,1fr); }.ws-office, .ws-welcome-status { display: none; } }
@media(max-width:900px){ .workspace { display: block; }.workspace .side { position: fixed; left: 0; top: 0; width: 272px; transform: translateX(-100%); visibility: hidden; transition: transform .2s; }.workspace.nav-open .side { transform: translateX(0); visibility: visible; }.workspace .top { padding: 14px 22px; gap: 12px; min-height: 72px; }.ws-scrim:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 11; background: #13213766; }.workspace .profile-card { display: flex; }.workspace .nav { display: grid; overflow: visible; }.workspace .nav button { width: 100%; }.workspace .cards { grid-template-columns: repeat(4,minmax(0,1fr)); }.ws-stat-head { flex-direction: column; align-items: start; }.ws-overview-grid { grid-template-columns: minmax(0,1.5fr) minmax(220px,1fr); }.ws-search { width: 255px; }.ws-top-right { gap: 10px; } }
@media(max-width:620px){ .workspace .content { padding: 12px 16px 24px; }.workspace .top { padding: 12px 16px; gap: 8px; }.ws-search { flex: 1; width: auto; min-width: 0; }.ws-search kbd { display: none; }.ws-top-right { gap: 4px; }.workspace .top > .ws-icon-button { width: 30px; padding: 5px; }.workspace .top .avatar { width: 30px; height: 30px; }.ws-page-heading { align-items: start; gap: 12px; }.ws-page-heading h1 { font-size: 21px; }.ws-scope { max-width: 105px; font-size: 10px; }.ws-welcome { padding: 23px; }.ws-welcome h2 { font-size: 21px; }.ws-welcome p { font-size: 12px; }.workspace .cards { grid-template-columns: repeat(2,minmax(0,1fr)); }.ws-stat { padding: 14px; }.ws-stat-head { flex-direction: row; gap: 8px; }.ws-stat-icon { width: 30px; height: 30px; }.ws-stat-head h2 { font-size: 11px; }.ws-stat-body { padding: 12px; }.ws-stat-body b { font-size: 23px; }.ws-overview-grid { grid-template-columns: 1fr; }.ws-panel-head { padding: 20px; align-items: start; }.ws-panel-head h2 { font-size: 14px; }.ws-panel-head p { font-size: 10px; }.ws-chart { margin: 0 14px; }.ws-chart-month > span { font-size: 8px; }.ws-chart-bars { gap: 2px; }.ws-recent .ws-panel-head { flex-direction: column; }.ws-panel-actions { width: 100%; }.ws-panel-actions .btn { flex: 1; justify-content: center; }.ws-task-panel .ws-panel-head { flex-direction: column; }.ws-empty-tasks { padding: 0 20px 22px; align-items: start; }.ws-footer { flex-direction: column; padding: 0 16px 20px; font-size: 9px; }.workspace .title-row > div:last-child .btn { width: auto; }.workspace .profile-copy { display: grid; }.ws-task-list > div { flex-wrap: wrap; }.ws-task-list .badge { margin-left: 48px; } }
@media(prefers-reduced-motion:reduce){.workspace .side { transition: none; }}
.ws-detail-list { margin: 20px 0; }.ws-detail-list > div { display: grid; grid-template-columns: 130px 1fr; gap: 15px; padding: 12px 0; border-bottom: 1px solid #edf0f4; font-size: 12px; }.ws-detail-list dt { color: #657180; }.ws-detail-list dd { margin: 0; overflow-wrap: anywhere; }.workspace .modal h4 { line-height: 1.7; font-size: 16px; }.workspace .modal .icon-btn { display: grid; place-items: center; width: 32px; height: 32px; }

/* Bawaslu navigation palette: charcoal sidebar, red masthead, gold selection. */
.workspace .side { background: #17181b; color: #f7f8fa; border-right: 1px solid #303238; }
.workspace .ws-brand { color: #fff; }.workspace .ws-brand small { color: #c3c6ce; }
.workspace .nav-heading { color: #b6bac4; }
.workspace .nav button { color: #d2d5dd; }
.workspace .nav button:hover { background: #292c32; color: #fff; }
.workspace .nav button.active, .workspace .nav button.active:hover { background: #ffc107; color: #17181b; }
.workspace .nav-badge { background: #80301b; color: #fff; }
.workspace .ws-side-note { color: #e4e5e9; }.workspace .ws-side-note p { color: #b6bac4; }
.workspace .profile-card { background: #17181b; border-top-color: #35383f; }.workspace .profile-copy b { color: #fff; }.workspace .profile-copy small { color: #b6bac4; }
.workspace .side .avatar { color: #ffc107; background: #39321d; }.workspace .side .ws-icon-button { color: #d2d5dd; }.workspace .side .ws-icon-button:hover { color: #ffc107; background: #292c32; }
.workspace .top { background: #bd241f; color: #fff; }
.workspace .top .ws-icon-button { color: #fff; }.workspace .top .ws-icon-button:hover { background: #a51f1b; color: #ffc107; }
.workspace .ws-search { background: #a51f1b; border-color: #df7772; color: #ffe8e5; }
.workspace .ws-search input { color: #fff; caret-color: #ffc107; }.workspace .ws-search input::placeholder, .workspace .ws-search kbd { color: #ffe8e5; }
.workspace .ws-search:focus-within { border-color: #ffc107; box-shadow: 0 0 0 2px #ffc10755; }
.workspace .ws-office { color: #ffe8e5; }.workspace .top .avatar { background: #ffc107; color: #17181b; }.workspace .ws-notification-dot { background: #ffc107; }
.workspace .side :focus-visible, .workspace .top :focus-visible { outline-color: #ffc107; }

/* Default-demo composition: measured against Able Pro at 1440px. */
@font-face { font-family: 'Workspace Inter'; src: url('/assets/fonts/inter-variable.ttf') format('truetype'); font-style: normal; font-weight: 400; font-display: swap; }
.workspace { font-family: 'Workspace Inter', sans-serif; grid-template-columns: 280px minmax(0,1fr); font-size: 14px; }
.workspace .content { padding: 20px 48px 32px; }.workspace .top { padding-left: 48px; padding-right: 48px; }
.workspace .nav button { min-height: 46px; font-size: 14px; }.workspace .nav-heading { font-size: 11px; }.workspace .ws-brand { margin-bottom: 36px; }
.workspace .ws-page-heading { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.workspace .ws-welcome { min-height: 260px; padding: 44px 48px; position: relative; overflow: hidden; background-color: #b61f1a; background-image: radial-gradient(ellipse at 0 -75%, #ba221c 0 52%, #c62d26 52% 61%, #cd3b33 61% 70%, #d34a42 70% 79%, #d95b53 79% 100%); margin-bottom: 20px; }
.workspace .ws-welcome > div:first-child { position: relative; z-index: 1; }.workspace .ws-welcome h2 { font-size: 30px; line-height: 1.3; margin-bottom: 16px; }.workspace .ws-welcome p { max-width: 510px; font-size: 14px; margin-bottom: 26px; }.workspace .ws-welcome-button { font-size: 14px; padding: 9px 14px; }.workspace .ws-welcome-status { display: flex; width: 200px; height: 200px; flex-shrink: 0; margin: -20px 0; }.workspace .ws-welcome-status img { width: 220px; height: 220px; object-fit: contain; }
.workspace .cards { gap: 20px; margin-bottom: 20px; }.workspace .ws-stat { min-height: 194px; padding: 24px; position: relative; }.workspace .ws-stat-head { gap: 16px; margin-bottom: 16px; }.workspace .ws-stat-head h2 { font-size: 14px; font-weight: 600; }.workspace .ws-stat-icon { width: 40px; height: 40px; }.workspace .ws-stat-body { min-height: 88px; padding: 17px 20px; display: flex; align-items: center; gap: 16px; justify-content: space-between; border-radius: 12px; }.workspace .ws-stat-value { text-align: right; flex-shrink: 0; }.workspace .ws-stat-body b { font-size: 18px; margin: 0 0 9px; font-weight: 600; }.workspace .ws-stat-body span { font-size: 11px; color: #a7241f; }.workspace .ws-stat.blue .ws-stat-body span { color: #3c64be; }.workspace .ws-stat.green .ws-stat-body span { color: #20785a; }.workspace .ws-stat.amber .ws-stat-body span { color: #996009; }.ws-stat-period { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.ws-mini-chart { display: flex; align-items: end; gap: 2px; height: 34px; flex: 1; min-width: 25px; border-bottom: 1px solid #dfe4eb; }.ws-mini-chart i { width: 5px; flex: 1; max-width: 7px; border-radius: 2px; background: #d54b44; }.blue .ws-mini-chart i { background: #6d95ff; }.green .ws-mini-chart i { background: #35a77f; }.amber .ws-mini-chart i { background: #dc961c; }
.workspace .ws-overview-grid { grid-template-columns: minmax(0,3.15fr) minmax(245px,1fr); gap: 20px; margin-bottom: 20px; }.workspace .ws-panel-head { padding: 24px; }.workspace .ws-panel-head h2 { font-size: 16px; font-weight: 600; }.workspace .ws-panel-head p { font-size: 12px; }.workspace .ws-chart-panel, .workspace .ws-distribution { min-height: 416px; }
.ws-chart-summary { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 0 24px; font-size: 12px; color: #657180; }.ws-chart-summary b { font-size: 16px; color: #263238; }.workspace .ws-chart-summary .ws-chart-legend { margin: 0; font-size: 11px; }.ws-line-chart { padding: 20px 22px 0; }.ws-line-chart svg { display: block; width: 100%; min-height: 240px; overflow: visible; }.ws-chart-data { padding: 0 24px; color: #657180; font-size: 11px; }.ws-chart-data summary { cursor: pointer; width: fit-content; padding: 8px 0; }.ws-chart-data table { width: 100%; margin-top: 10px; }.ws-chart-data caption { text-align: left; padding: 8px 0; }.workspace .ws-chart-note { margin: 10px 0 20px; font-size: 11px; }
.workspace .ws-distribution .ws-panel-head { border-bottom: 1px solid #e5e9ef; }.workspace .ws-distribution .ws-panel-head p { display: none; }.workspace .ws-distribution-total { flex-direction: column; gap: 5px; padding-top: 24px; }.workspace .ws-distribution-total span { font-size: 11px; }.workspace .ws-distribution-row { margin-bottom: 24px; }.workspace .ws-distribution-row > div:first-child { font-size: 12px; }.workspace .ws-footer { padding-left: 48px; padding-right: 48px; }.workspace .table { font-size: 13px; }.workspace .table td b { font-size: 12px; }.workspace .table td small { font-size: 11px; }
@media(max-width:1250px){.workspace .content { padding: 20px 28px 30px; }.workspace .top { padding-left: 28px; padding-right: 28px; }.workspace .ws-stat { padding: 18px; }.workspace .ws-stat-head { gap: 10px; }.workspace .ws-stat-body { padding: 16px 12px; gap: 10px; }.workspace .ws-stat-head h2 { font-size: 12px; }.workspace .ws-stat-body span { font-size: 10px; }.workspace .ws-overview-grid { grid-template-columns: minmax(0,2.2fr) minmax(230px,1fr); }.workspace .ws-welcome-status { width: 150px; }.workspace .ws-welcome-status img { width: 170px; height: 170px; }.workspace .ws-welcome { padding: 36px; }.workspace .ws-welcome h2 { font-size: 27px; } }
@media(max-width:1000px){.workspace { grid-template-columns: 245px minmax(0,1fr); }.workspace .ws-overview-grid { grid-template-columns: 1fr; }.workspace .ws-stat-head { flex-direction: column; align-items: start; }.workspace .ws-stat-body { flex-direction: column; align-items: stretch; gap: 10px; }.ws-mini-chart { flex: auto; height: 30px; min-height: 30px; }.workspace .ws-stat-value { text-align: right; }.workspace .ws-distribution { min-height: auto; }.workspace .ws-welcome-status { display: none; } }
@media(max-width:900px){.workspace { display: block; }.workspace .ws-welcome-status { display: flex; }.workspace .ws-stat-head { flex-direction: row; }.workspace .ws-stat-body { flex-direction: row; }.ws-mini-chart { flex: 1; }.workspace .ws-stat-head h2 { font-size: 12px; }.workspace .cards { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:620px){.workspace .content { padding: 20px 16px 24px; }.workspace .top { padding: 12px 16px; }.workspace .ws-welcome { min-height: 240px; padding: 28px 24px; }.workspace .ws-welcome h2 { font-size: 26px; }.workspace .ws-welcome p { font-size: 13px; }.workspace .ws-welcome-status { display: none; }.workspace .ws-welcome-button { font-size: 12px; }.workspace .cards { gap: 12px; }.workspace .ws-stat { min-height: auto; padding: 14px; }.workspace .ws-stat-head { gap: 8px; }.workspace .ws-stat-icon { width: 30px; height: 30px; }.workspace .ws-stat-head h2 { font-size: 11px; }.workspace .ws-stat-body { padding: 12px 10px; gap: 8px; flex-direction: column; }.ws-mini-chart { flex: auto; width: 100%; height: 24px; min-height: 24px; }.workspace .ws-stat-body b { font-size: 19px; }.workspace .ws-panel-head { padding: 20px; }.workspace .ws-panel-head h2 { font-size: 15px; }.workspace .ws-panel-head p { font-size: 11px; }.ws-chart-summary { flex-direction: column; align-items: start; padding: 0 20px; }.ws-line-chart { padding: 15px 10px 0; overflow-x: auto; }.ws-line-chart svg { min-width: 500px; min-height: 200px; }.workspace .ws-chart-panel { min-height: auto; }.workspace .ws-footer { padding-left: 16px; padding-right: 16px; } }

@font-face { font-family: 'Workspace Inter'; src: url('/assets/fonts/inter-semibold.ttf') format('truetype'); font-style: normal; font-weight: 500 600; font-display: swap; }
@font-face { font-family: 'Workspace Inter'; src: url('/assets/fonts/inter-bold.ttf') format('truetype'); font-style: normal; font-weight: 700 900; font-display: swap; }
.workspace .ws-overview-grid > .panel { min-width: 0; }.ws-chart-data { overflow-x: auto; }
/* Keep the default dashboard's chart band at the reference's 416px rhythm. */
.workspace .ws-chart-panel .ws-panel-head > div > p, .workspace .ws-chart-note { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); margin: -1px; padding: 0; }
.workspace .ws-chart-panel .ws-panel-head { min-height: 72px; padding-top: 20px; padding-bottom: 14px; }.workspace .ws-chart-panel .ws-line-chart { padding-top: 10px; }
@media(max-width:620px){.workspace .ws-chart-panel .ws-panel-head { align-items: center; }.workspace .ws-chart-panel .ws-panel-head h2 { font-size: 13px; }}

/* Motion is feedback: short responses, no artificial waiting. */
.workspace { --ws-ease: cubic-bezier(.16,1,.3,1); }
.workspace .nav button, .workspace .btn, .workspace .ws-icon-button, .workspace .ws-welcome-button, .workspace .ws-text-button { transition: color 140ms, background-color 140ms, border-color 140ms, box-shadow 140ms, transform 120ms; }
.workspace .btn:active, .workspace .ws-icon-button:active, .workspace .ws-welcome-button:active { transform: scale(.97); }
.workspace .nav button .icon { transition: transform 160ms var(--ws-ease); }.workspace .nav button:hover .icon { transform: translateX(2px); }
.workspace .ws-stat { transition: border-color 160ms, box-shadow 180ms; }.workspace .ws-stat:hover { border-color: #d8b8b4; box-shadow: 0 5px 16px #26323808; }
.workspace .table td { transition: background-color 140ms; }.workspace .ws-track > i { transform-origin: left; animation: ws-grow 300ms var(--ws-ease); }
.workspace .btn:disabled, .workspace button:disabled { cursor: wait; opacity: .65; transform: none; }
.workspace .top::after { content: ''; position: absolute; bottom: 0; height: 2px; left: 0; width: 100%; background: #ffc107; transform: scaleX(0); transform-origin: left; opacity: 0; }
.workspace.network-busy .top::after { opacity: 1; animation: ws-request 1s ease-in-out infinite; }
.ws-spinner { width: 15px; height: 15px; display: inline-block; flex-shrink: 0; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: ws-spin .7s linear infinite; vertical-align: middle; }
.workspace .modal-back { animation: ws-backdrop-in 160ms ease-out; }.workspace .modal { animation: ws-dialog-in 220ms var(--ws-ease); }.workspace .modal-back.is-closing { animation: ws-backdrop-out 140ms ease-in forwards; pointer-events: none; }.workspace .modal-back.is-closing .modal { animation: ws-dialog-out 140ms ease-in forwards; }
.ws-loading { padding: 12px 0; }.ws-loading-label { display: flex; gap: 10px; align-items: center; margin-bottom: 28px; color: #657180; font-size: 13px; }.ws-skeleton-heading { height: 25px; max-width: 220px; border-radius: 5px; background: #e8ebef; margin-bottom: 28px; }.ws-skeleton-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-bottom: 24px; }.ws-skeleton-grid > div { height: 130px; border-radius: 12px; background: #e8ebef; animation: ws-skeleton 1.3s ease-in-out infinite alternate; }.ws-skeleton-table { padding: 24px; border: 1px solid #e5e9ef; border-radius: 12px; background: #fff; }.ws-skeleton-table > span { display: block; height: 22px; margin: 20px 0; border-radius: 4px; background: #eef0f4; animation: ws-skeleton 1.3s ease-in-out infinite alternate; }.workspace .ws-load-error { padding: 32px; }.ws-load-error h2 { font-size: 20px; }.ws-load-error p { color: #657180; font-size: 13px; margin-bottom: 20px; }
.ws-toast-stack { position: fixed; right: 24px; bottom: 24px; z-index: 60; display: grid; gap: 10px; width: min(390px,calc(100vw - 32px)); pointer-events: none; font-family: 'Workspace Inter',sans-serif; }
.ws-toast { display: flex; align-items: start; gap: 12px; padding: 17px; border: 1px solid #dce7e1; border-radius: 12px; color: #263238; background: #fff; box-shadow: 0 10px 32px #1b253826; pointer-events: auto; animation: ws-toast-in 220ms cubic-bezier(.16,1,.3,1); }.ws-toast-symbol { display: grid; place-items: center; width: 30px; height: 30px; flex-shrink: 0; border-radius: 8px; color: #21785f; background: #e3f3ed; }.ws-toast > div { flex: 1; }.ws-toast b { display: block; margin-bottom: 5px; font-size: 12px; }.ws-toast p { margin: 0; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }.ws-toast > button { display: grid; place-items: center; flex-shrink: 0; width: 28px; height: 28px; padding: 6px; border-radius: 6px; color: #657180; background: transparent; }.ws-toast > button:hover { background: #f1f3f6; }.ws-toast.error { border-color: #eec1bd; }.ws-toast.error .ws-toast-symbol { color: #bd241f; background: #ffebe9; }.ws-toast.is-leaving { animation: ws-toast-out 150ms ease-in forwards; }
.ws-notification-panel { position: fixed; top: 70px; right: 48px; width: 380px; max-width: calc(100vw - 32px); z-index: 20; border: 1px solid #e5e9ef; border-radius: 14px; box-shadow: 0 12px 40px #1b253826; color: #263238; background: #fff; animation: ws-notification-in 200ms var(--ws-ease); transform-origin: top right; }
.ws-notification-head { display: flex; align-items: start; justify-content: space-between; gap: 14px; padding: 20px; border-bottom: 1px solid #edf0f4; }.ws-notification-head h2 { font-size: 15px; margin: 0 0 6px; }.ws-notification-head span { color: #657180; font-size: 11px; }.ws-notification-panel ul { list-style: none; margin: 0; padding: 0; max-height: min(360px,50svh); overflow-y: auto; }.ws-notification-panel li { display: flex; gap: 12px; padding: 17px 20px; border-bottom: 1px solid #edf0f4; }.ws-notification-icon { color: #bd241f; background: #ffebe9; width: 30px; height: 30px; display: grid; place-items: center; flex-shrink: 0; border-radius: 7px; }.ws-notification-panel li b { font-size: 12px; }.ws-notification-panel li p { color: #526070; font-size: 12px; margin: 6px 0; line-height: 1.7; }.ws-notification-panel li small { color: #657180; font-size: 10px; }.ws-notification-all { display: flex; justify-content: center; align-items: center; gap: 12px; width: 100%; padding: 17px; border-radius: 0 0 14px 14px; color: #bd241f; background: #fff; font-size: 12px; }.ws-notification-all:hover { background: #fff4f2; }.ws-notification-loading { display: flex; align-items: center; gap: 12px; padding: 35px 24px; color: #657180; font-size: 12px; }.ws-notification-empty { padding: 30px 24px; display: grid; justify-items: center; gap: 12px; text-align: center; }.ws-notification-empty > .icon { width: 32px; height: 32px; color: #bd241f; }.ws-notification-empty b { font-size: 13px; }.ws-notification-empty p { color: #657180; font-size: 12px; line-height: 1.7; margin: 0; }
@keyframes ws-spin { to { transform: rotate(360deg); } } @keyframes ws-grow { from { transform: scaleX(.7); } to { transform: scaleX(1); } }
@keyframes ws-request { 0% { transform: scaleX(.1); } 55% { transform: scaleX(.7); } 100% { transform: scaleX(1); opacity: .3; } }
@keyframes ws-skeleton { to { background-color: #dce1e8; } }
@keyframes ws-dialog-in { from { opacity: .5; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } } @keyframes ws-dialog-out { to { opacity: 0; transform: translateY(5px) scale(.99); } }
@keyframes ws-backdrop-in { from { background-color: transparent; } } @keyframes ws-backdrop-out { to { opacity: 0; } }
@keyframes ws-toast-in { from { opacity: .4; transform: translateX(12px); } to { opacity: 1; transform: none; } } @keyframes ws-toast-out { to { opacity: 0; transform: translateX(10px); } }
@keyframes ws-notification-in { from { opacity: .5; transform: translateY(-5px) scale(.98); } to { opacity: 1; transform: none; } }
@media(max-width:620px){.ws-notification-panel { right: 16px; top: 70px; }.ws-toast-stack { right: 16px; bottom: 16px; }.ws-skeleton-grid { grid-template-columns: repeat(2,1fr); gap: 12px; }}
@media(prefers-reduced-motion:reduce){.workspace *, .ws-toast { animation: none !important; transition: color 100ms,background-color 100ms !important; }.workspace.network-busy .top::after { transform: scaleX(1); opacity: 1; animation: none !important; }.ws-spinner { animation: none !important; border-style: dotted; }.workspace .btn:active, .workspace .ws-icon-button:active, .workspace .ws-welcome-button:active, .workspace .nav button:hover .icon { transform: none; }}
.archive-edit-intro{font-size:13px;line-height:1.6;margin-bottom:18px}
.archive-edit-error{padding:12px 14px;border:1px solid #f1bcb8;border-radius:8px;background:#fff3f1;color:#90231e;font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.archive-edit-error[hidden]{display:none}
#editArchiveForm [hidden]{display:none!important}
#editArchiveForm .actions{flex-wrap:wrap}
.archive-header-actions,.archive-filter-actions,.archive-pagination{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.archive-page-heading{flex-wrap:wrap}
.archive-filter-fields{border:0;padding:0;margin:0;min-width:0}
.archive-filter-fields legend{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.archive-basic-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:14px}
.archive-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding-top:16px}
#archiveAdvanced{border-top:1px solid #e5e9ef;padding:12px 0}
#archiveAdvanced summary{cursor:pointer;font-size:13px;font-weight:600}
#archiveAdvanced summary span{font-weight:400;margin-left:8px}
.archive-filter-actions{justify-content:flex-end;padding:8px 0 16px}
.archive-filter-actions>span{margin-right:auto;font-size:12px}
.archive-result-summary{font-size:13px;margin:18px 0;color:#53616b}
.archive-pagination{justify-content:space-between;border-top:1px solid #e5e9ef;padding-top:18px;margin-top:18px;font-size:12px}
.archive-pagination label,.archive-pagination>div{display:flex;align-items:center;gap:8px}
.archive-pagination select{width:auto;min-width:65px}
.archive-pagination button:disabled{opacity:.45;cursor:default}
#archiveResults.is-loading{opacity:.6}
#archiveExport[aria-disabled=true],#archiveExportXlsx[aria-disabled=true]{opacity:.5;cursor:default}
.archive-sort-hint{font-size:12px;margin:-8px 0 18px}
.archive-create-fields{border:0;margin:0;padding:0;min-width:0}
.archive-create-legend{font-size:13px;font-weight:600;margin-bottom:14px}
.archive-files-dialog{max-width:1000px!important}
.archive-document{border-top:1px solid #e5e9ef;padding:16px 0;margin-top:12px}
.archive-document h4{margin:0 0 8px}
.version-upload-form{margin-top:16px}
.version-error[hidden]{display:none!important}
.version-upload-form .actions{flex-wrap:wrap}
#archiveForm .actions{flex-wrap:wrap}
#archiveForm [hidden]{display:none!important}
#archiveForm fieldset:disabled{opacity:.7}
#archiveSearchForm .field{min-width:0}
#archiveFilterError[hidden]{display:none}
@media(max-width:720px){.archive-basic-grid,.archive-filter-grid{grid-template-columns:1fr}.archive-filter-actions>span{width:100%}#archiveAdvanced summary span{display:block;margin:6px 0 0}.archive-pagination{align-items:flex-start}.archive-pagination>div{width:100%;justify-content:space-between}}

/* Disposition chronology: text remains readable without color or motion. */
.disp-chronology{margin:24px 0}.disp-chronology article{border-top:1px solid var(--ws-border,#e5e7eb);padding:16px 0}.disp-chronology h5{font-size:14px;margin:0 0 8px}.disp-timeline{padding-left:22px;margin:20px 0}.disp-timeline li{padding:0 0 18px 8px;line-height:1.6}.disp-timeline p{margin:4px 0;font-size:13px}.disp-timeline small{display:block;color:#536174}.disp-note{white-space:pre-wrap;overflow-wrap:anywhere}.disp-history{margin-top:6px}
.notification-toolbar{display:flex;gap:8px;flex-wrap:wrap;padding:12px 16px}.notification-open{display:block;border:0;background:none;padding:0;text-align:left;color:inherit;font:inherit;cursor:pointer}.notification-open span{display:block;margin:5px 0;font-size:13px}.notification-read{border:0;background:none;padding:8px 0;color:#a32328;font-size:12px;text-decoration:underline;cursor:pointer}.ws-notification-panel .is-unread{background:#fff8ef}.ws-notification-panel .is-read b{font-weight:500}.notification-pagination{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:12px}.ws-notification-panel #notificationError{margin:8px 16px}.notification-open:focus-visible,.notification-read:focus-visible{outline:2px solid #9e1d25;outline-offset:3px}

.ws-notification-panel{max-height:calc(100svh - 88px);overflow:auto}.ws-notification-panel li small{display:block;margin-top:4px}
.quality-state{display:block;margin:8px 0;padding:7px 9px;border-left:3px solid #a32328;background:#f8f3ef;color:#453e39;font-size:12px;white-space:normal}.quality-file-list{padding-left:20px}.quality-file-list li{margin:10px 0;overflow-wrap:anywhere}.quality-queue{margin-top:24px}.quality-queue h2{font-size:17px}.quality-queue p{line-height:1.7}#qualityConfirm{width:18px;height:18px;vertical-align:middle;margin-right:8px}

.quality-queue .actions{flex-wrap:wrap}
.archive-source-fields{border:1px solid #e1e6ed;border-radius:8px;margin:18px 0;padding:16px;min-width:0}.archive-source-fields legend{font-weight:600;font-size:13px;padding:0 6px}.archive-source-fields code{overflow-wrap:anywhere}.archive-source-fields p{font-size:12px;line-height:1.7}
.quality-checklist{border:1px solid #e1e6ed;padding:14px;margin:14px 0;min-width:0}.quality-checklist legend{font-size:13px;font-weight:600}.quality-checklist label{display:block;margin:9px 0;font-size:13px}.quality-checklist input[type=checkbox],.quality-content input[name=duplicatesAccepted]{width:18px;height:18px;vertical-align:middle}.quality-checklist input[type=number]{max-width:150px}
.metadata-history{margin-top:28px}.metadata-history h4{margin-bottom:8px}.metadata-history>p{line-height:1.6}.metadata-history ol{margin:16px 0;padding-left:22px}.metadata-history li{padding:0 0 16px 6px;overflow-wrap:anywhere}.metadata-history li p{margin:4px 0;line-height:1.6}.metadata-history time{font-size:12px;color:#536174;font-variant-numeric:tabular-nums}

/* Accessible Form Enhancements (TODO 07.1 / A-05) */
.sr-only {
  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;
}

.field-req-text {
  font-size: 11px;
  font-weight: 600;
  color: #90231e;
  margin-left: 4px;
}

.field-opt-text {
  font-size: 11px;
  font-weight: normal;
  color: #657180;
  margin-left: 4px;
}

.field-help {
  display: block;
  font-size: 11px;
  color: #657180;
  margin-top: 4px;
  line-height: 1.4;
}

.field-error {
  display: block;
  font-size: 12px;
  color: #90231e;
  font-weight: 600;
  margin-top: 4px;
  line-height: 1.4;
}

.field-error[hidden] {
  display: none !important;
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: #bd241f !important;
  box-shadow: 0 0 0 1px #bd241f !important;
}

input[aria-invalid="true"]:focus,
select[aria-invalid="true"]:focus,
textarea[aria-invalid="true"]:focus {
  outline: 2px solid #bd241f !important;
  outline-offset: 1px !important;
}

.form-error-summary {
  padding: 12px 16px;
  border: 1px solid #f1bcb8;
  border-radius: 8px;
  background: #fff3f1;
  color: #90231e;
  margin-bottom: 16px;
}

.form-error-summary[hidden] {
  display: none !important;
}

.form-error-summary:focus,
.form-error-summary:focus-visible {
  outline: 2px solid #bd241f;
  outline-offset: 2px;
}

.form-error-title {
  margin: 0 0 6px 0;
  font-size: 13px;
  font-weight: 700;
  color: #90231e;
}

.form-error-desc {
  margin: 4px 0 8px 0;
  font-size: 12px;
  line-height: 1.5;
  color: #90231e;
}

.form-error-desc[hidden] {
  display: none !important;
}

.error-summary-list {
  margin: 0;
  padding-left: 20px;
  font-size: 12px;
  line-height: 1.6;
}

.error-summary-list a {
  color: #90231e;
  text-decoration: underline;
  font-weight: 600;
}

.error-summary-list a:hover,
.error-summary-list a:focus {
  color: #5a1411;
  text-decoration: none;
}
