/* Generated by scripts.bundle_styles; edit the individual source styles. */
/* styles.css */
:root{--navy:#172a42;--navy2:#233c59;--teal:#159b8d;--text:#172d43;--muted:#738092;--border:#e6ebf1;--bg:#f6f8fb;--surface:#fff;--shadow:0 8px 32px rgba(15,33,54,.035)}
*{box-sizing:border-box}html{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--text);background:var(--bg);-webkit-text-size-adjust:100%}body{margin:0;min-height:100vh}button,input,textarea,select{font:inherit}a{text-decoration:none;color:inherit}a:hover{color:#0f766e}button{cursor:pointer}h1,h2,h3,p{margin-top:0}h1{font-size:30px;font-weight:760;letter-spacing:-.8px;margin:5px 0 5px}h2{font-size:18px;letter-spacing:-.35px}h3{font-size:15px}p{line-height:1.5}.muted,.subtitle{color:var(--muted)}.subtitle{margin:0;font-size:14px}.small,small{font-size:12px}.gray{color:#98a3af}.nowrap{white-space:nowrap}.eyebrow{font-size:10px;font-weight:800;color:#6a829a;letter-spacing:1.35px;margin:0 0 5px}.app-shell{display:flex;min-height:100vh}.sidebar{width:252px;flex-shrink:0;background:var(--navy);color:#e9f0f8;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0;padding:26px 16px 18px;z-index:10}.brand{display:flex;align-items:center;gap:10px;padding:0 7px 31px;color:white}.brand:hover{color:#fff}.brand strong{display:block;font-size:17px;letter-spacing:.35px;white-space:nowrap}.brand small{display:block;color:#9fb2c5;font-size:10px;margin-top:4px}.brand-logo{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;flex-shrink:0;border-radius:10px;background:linear-gradient(135deg,#29bcb0,#168e87);color:white;font-size:25px;font-weight:800;box-shadow:0 5px 16px rgba(9,190,175,.23)}.nav-list{display:flex;flex-direction:column;gap:5px}.nav-link{display:flex;align-items:center;gap:11px;padding:13px 13px;border-radius:10px;color:#cbd7e4;font-size:13px;font-weight:580}.nav-link:hover,.nav-link:focus-visible{background:var(--navy2);color:#fff}.nav-ico{width:19px;text-align:center;font-size:19px;line-height:1}.sidebar-section{font-size:9px;letter-spacing:1.5px;color:#7e96ae;font-weight:760;padding:15px 13px 11px}.sidebar-bottom{margin-top:auto;font-size:11px;color:#a9bfd1;padding:12px 4px 0}.online-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#30c6a6;margin-right:5px}.user-mini{display:flex;gap:10px;align-items:center;border-top:1px solid #38506a;padding-top:20px;margin-top:22px;margin-bottom:13px}.avatar{display:inline-flex;width:38px;height:38px;border-radius:50%;align-items:center;justify-content:center;background:#dce9e8;color:#176b62;font-weight:800;flex-shrink:0}.user-mini strong,.user-mini small{display:block}.user-mini strong{font-size:12px;color:white}.user-mini small{color:#8fa8bd;margin-top:4px}.logout-btn{padding:10px 0;background:transparent;color:#bdcde0;border:0;font-size:12px}.logout-btn:hover{color:white}.main-content{margin-left:252px;flex:1;min-width:0;display:flex;flex-direction:column}.page-inner{padding:38px 42px 60px;max-width:1600px;width:100%;margin:0 auto;flex:1}.page-footer{text-align:center;font-size:11px;color:#9ca8b6;padding:16px 30px 32px}.page-header{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:28px}.page-header .actions{display:flex;gap:9px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;border-radius:9px;padding:11px 16px;min-height:42px;border:1px solid transparent;white-space:nowrap;font-size:13px;font-weight:690;transition:background-color .15s ease,transform .15s ease;text-align:center}.btn:focus-visible,.nav-link:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #8ed5ca;outline-offset:2px}.btn:hover{transform:translateY(-1px)}.btn.primary{color:white;background:#178e82;border-color:#178e82}.btn.primary:hover{background:#11766c}.btn.secondary{background:white;border-color:#dce5ed;color:#30485f}.btn.secondary:hover{background:#eff7f7}.btn.danger{background:#fff2f1;border-color:#f0bfbc;color:#bb3837}.btn.wide{width:100%}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.metric{background:var(--surface);border:1px solid var(--border);border-radius:13px;padding:21px 20px;min-height:137px;box-shadow:var(--shadow)}.metric-label{display:flex;justify-content:space-between;color:#6c7c90;font-size:12px;font-weight:640}.metric-label span{font-size:18px;color:#99acb9}.metric-value{font-size:31px;font-weight:780;margin:18px 0 3px;letter-spacing:-.6px}.metric-sub{font-size:11px;color:#97a2af}.section-grid{display:grid;grid-template-columns:1.25fr .9fr;align-items:start;gap:20px}.panel{background:white;border:1px solid var(--border);border-radius:13px;padding:22px;box-shadow:var(--shadow)}.panel h2{margin-bottom:16px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:19px}.section-heading h2{margin-bottom:3px}.section-heading p{margin-bottom:0;font-size:12px}.text-link{color:#108e82;font-size:12px;font-weight:690;white-space:nowrap}.list-items{display:flex;flex-direction:column}.document-item,.attachment-item{display:flex;align-items:center;gap:13px;border-top:1px solid var(--border);padding:13px 0}.document-item:first-child,.attachment-item:first-child{border-top:none;padding-top:0}.doc-icon,.quick-symbol,.journal-icon{display:inline-flex;align-items:center;justify-content:center;border-radius:10px;color:#108c80;background:#eaf8f5;flex-shrink:0}.doc-icon{width:38px;height:38px;font-size:17px}.item-grow{flex:1;min-width:0}.item-grow strong,.item-grow small{display:block;overflow-wrap:anywhere}.item-grow strong{font-size:12px;margin-bottom:4px}.item-grow small{font-size:11px;color:#657589;line-height:1.6}.arrow{color:#96a5b4;font-size:20px}.quick-list{display:flex;flex-direction:column;gap:8px}.quick-row{display:flex;align-items:center;gap:12px;background:#f8fafc;border:1px solid #eef1f5;padding:13px 11px;border-radius:10px;font-size:13px;font-weight:600}.quick-row .arrow{margin-left:auto}.quick-symbol{width:34px;height:34px;font-size:22px}.empty-state{padding:42px 15px;text-align:center;color:var(--muted)}.empty-state div{font-size:42px;color:#9aadb9;margin-bottom:13px}.empty-state strong{color:var(--text)}.empty-state p{font-size:13px;margin:6px 0}.journal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.journal-card{display:flex;align-items:center;gap:16px;border-radius:13px;background:#fff;padding:21px;border:1px solid var(--border);min-height:100px}.journal-card:hover{border-color:#8ccfc4;box-shadow:var(--shadow)}.journal-card h3{margin:0 0 7px}.journal-card p{font-size:12px;color:var(--muted);margin:0}.journal-card .arrow{margin-left:auto}.journal-icon{width:48px;height:48px;font-size:26px}.breadcrumbs{font-size:12px;color:#8493a3;margin:0 0 15px}.breadcrumbs a{color:#3b6879}.breadcrumbs span{margin:0 8px;color:#bac3ce}.filters{display:flex;align-items:center;gap:9px;margin-bottom:18px}.filters input{flex:1;min-width:0}.filters select{max-width:240px}.table-panel{padding:19px}.table-scroll{overflow-x:auto}.data-table{width:100%;border-collapse:collapse;font-size:12px;text-align:left}.data-table th{font-size:10px;text-transform:uppercase;letter-spacing:.55px;background:#f7f9fc;color:#7a8a9c;padding:13px 12px;font-weight:700}.data-table td{border-top:1px solid #edf1f5;padding:15px 12px;vertical-align:middle}.data-table strong{font-size:12px;font-weight:670}.data-table .num-cell{min-width:125px;font-weight:720;color:#127f75}.data-table .link-arrow{color:#0e8d81;font-size:20px}.table-empty{text-align:center;color:var(--muted);padding:33px!important}.status{display:inline-flex;align-items:center;border-radius:999px;background:#f1f4f8;color:#667789;padding:5px 9px;font-size:11px;line-height:1.2;font-weight:720;white-space:nowrap}.status.registered{background:#e8f8f2;color:#13775d}.status.annulled{background:#fff0ee;color:#b24646}.status.big{font-size:12px;padding:9px 14px}.form-panel{max-width:920px;padding:27px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.form-grid .full{grid-column:1/-1}.form-grid label,.form-stack label{font-size:12px;font-weight:660;display:flex;flex-direction:column;gap:8px}.form-grid label b{color:#cd4545}.form-stack{display:flex;flex-direction:column;gap:16px}.form-stack .form-grid{gap:13px}.form-actions{display:flex;gap:10px;justify-content:flex-end;border-top:1px solid var(--border);margin-top:25px;padding-top:23px}input,select,textarea{width:100%;font-size:13px;color:#25394d;background:#fff;border:1px solid #dce4ed;border-radius:8px;padding:12px;min-height:42px}textarea{resize:vertical;min-height:90px}input::placeholder,textarea::placeholder{color:#9ca9b6}input[type=file]{padding:10px;min-width:0}.detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:20px;align-items:start}.stack{display:flex;flex-direction:column;gap:18px}.details-grid{display:grid;grid-template-columns:1fr 1fr;column-gap:20px;row-gap:20px}.details-grid dt{font-size:11px;color:#7b8999;margin-bottom:5px}.details-grid dd{margin:0;font-size:13px;font-weight:630;overflow-wrap:anywhere}.notes{border-top:1px solid var(--border);margin-top:24px;padding-top:16px;font-size:12px}.notes p{white-space:pre-wrap;margin:6px 0}.attachment-item strong{max-width:100%;overflow-wrap:anywhere}.upload-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;border-top:1px solid var(--border);margin-top:17px;padding-top:16px}.upload-row input{flex:1;min-width:180px}.upload-row small{color:var(--muted)}.side-panel h2{margin-bottom:12px}.registered-number{font-size:23px;font-weight:780;letter-spacing:-.3px;color:#118b7e}.side-divider{height:1px;background:var(--border);margin:20px 0}.danger-text{color:#ac4343;font-size:12px;cursor:pointer}.side-panel details form{margin-top:16px}.info-note{font-size:12px;line-height:1.55;padding:16px;border:1px solid #dae6ed;background:#eff6fa;color:#648096;border-radius:10px}.task-record{display:flex;justify-content:space-between;gap:12px;border-top:1px solid var(--border);padding:13px 0;font-size:12px}.task-record strong{font-size:12px}.task-record p{margin:7px 0 0}.mini-counter{border-radius:99px;background:#eef4f7;font-size:11px;padding:5px 9px;color:#637888}.task-card{display:flex;flex-direction:column;gap:12px}.task-title{display:flex;justify-content:space-between;align-items:start;gap:10px}.task-title b{font-size:14px}.task-title p{margin:5px 0 0}.complete-form{display:flex;gap:12px}.complete-form input{flex:1}.result-box{background:#f2faf6;border-radius:8px;padding:12px;font-size:12px;margin:0}.user-item{display:flex;align-items:center;gap:11px;padding:12px 0;border-top:1px solid var(--border)}.user-item:first-child{border:0;padding-top:0}.user-item .avatar{width:33px;height:33px;font-size:13px}.error-page{text-align:center;padding:70px 20px;max-width:600px;margin:60px auto}.error-number{font-size:66px;letter-spacing:-4px;font-weight:900;color:#d8e2e8}.error-page p{color:var(--muted)}.auth-screen{background:linear-gradient(135deg,#182a42 0%,#1e3a57 55%,#19665f 100%)}.auth-layout{min-height:100vh;display:flex;align-items:center;justify-content:center;gap:90px;padding:32px}.auth-brand{max-width:345px;color:white}.auth-brand h1{font-size:36px;letter-spacing:-1.1px;margin:19px 0 9px}.auth-brand p{color:#c2d1dc;font-size:15px;line-height:1.6}.big-logo{width:56px;height:56px;font-size:36px;border-radius:15px}.auth-card{background:#fff;padding:38px 36px;border-radius:19px;width:100%;max-width:420px;box-shadow:0 25px 80px rgba(0,0,0,.16)}.auth-card.setup-card{max-width:480px}.auth-card h2{font-size:25px;margin:0 0 7px;letter-spacing:-.6px}.auth-card>p.muted{font-size:13px;margin-bottom:23px}.auth-card .form-stack{gap:18px}.auth-card .form-stack .btn{margin-top:6px}.auth-foot{margin-top:24px;padding-top:17px;border-top:1px solid #edf0f4;font-size:11px;color:#98a5b2;line-height:1.6}.alert{padding:12px 13px;border-radius:9px;font-size:12px;margin:12px 0 20px}.alert.error{background:#fff2ef;border:1px solid #ffd2cb;color:#a9443a}.alert.success{background:#effaf4;border:1px solid #ccebd8;color:#187454}.mobile-topbar,.mobile-bottom{display:none}code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px;background:#f3f6fa;padding:3px 5px;border-radius:3px}
@media(max-width:1100px){.page-inner{padding:30px 25px}.metrics{gap:10px}.metric{padding:16px}.section-grid{grid-template-columns:1fr}}
@media(max-width:790px){.app-shell{flex-direction:column}.sidebar{display:none}.mobile-topbar{display:flex;align-items:center;justify-content:space-between;background:#172a42;color:#fff;padding:11px 18px;position:sticky;top:0;z-index:9}.mobile-brand{display:flex;align-items:center;gap:9px;color:#fff;font-size:14px}.mobile-brand .brand-logo{width:32px;height:32px;font-size:22px}.mobile-role{font-size:10px;color:#b8cbdc;max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.main-content{margin-left:0;width:100%}.mobile-bottom{display:flex;justify-content:space-around;background:#fff;border-top:1px solid #e4eaf0;position:fixed;left:0;right:0;bottom:0;bottom:env(safe-area-inset-bottom,0);z-index:20;padding:7px 3px 8px;box-shadow:0 -8px 20px rgba(0,0,0,.03)}.mobile-bottom a{display:flex;flex-direction:column;align-items:center;gap:1px;flex:1;color:#6f8295;font-size:10px}.mobile-bottom span{font-size:23px;color:#176f69}.page-inner{padding:22px 15px 90px}.page-footer{padding-bottom:100px}.page-header{flex-wrap:wrap;gap:13px}.page-header h1{font-size:24px}.page-header>.btn,.page-header>.actions{width:100%}.page-header .actions .btn{flex:1}.metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.metric{min-height:116px;padding:14px}.metric-value{font-size:27px;margin-top:12px}.metric-label{font-size:11px}.metric-sub{font-size:10px}.journal-grid{grid-template-columns:1fr}.detail-layout{grid-template-columns:1fr}.panel{padding:17px}.table-panel{padding:12px}.filters{flex-wrap:wrap}.filters input{flex:1 1 100%}.filters select{max-width:unset;flex:1}.form-grid{grid-template-columns:1fr;gap:14px}.form-grid .full{grid-column:auto}.details-grid{gap:14px;grid-template-columns:1fr 1fr}.auth-layout{flex-direction:column;gap:28px;justify-content:flex-start;padding:37px 17px}.auth-brand{text-align:center}.auth-brand h1{font-size:23px}.auth-brand p{font-size:12px}.auth-card{padding:28px 22px}.complete-form{flex-direction:column}.upload-row .btn{width:100%}}
@media(max-width:390px){.metrics{grid-template-columns:1fr 1fr}.metric-value{font-size:25px}.details-grid{grid-template-columns:1fr}}

.user-item{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 0;border-top:1px solid var(--border)}.user-action{margin-left:auto}.user-action .btn{min-height:34px;padding:7px 10px;font-size:11px}

.action-links{display:flex;flex-direction:column;gap:9px;margin:0 0 16px}.action-links .btn{display:flex;justify-content:center;align-items:center}.action-links form{margin:0}.search-summary{margin:2px 0 14px}.sr-only{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
/* Host 0.4: configuration, directory, and resolution workflow. */
.number-preview{font-size:27px;font-weight:750;color:var(--accent,#1c726a);padding:18px 0;overflow-wrap:anywhere;line-height:1.35}
.mono-input,.template-example{font-family:Consolas,'Courier New',monospace}
.template-example{font-size:13px;line-height:2;overflow-wrap:anywhere}
.format-help{display:grid;grid-template-columns:auto 1fr;gap:12px 16px;font-size:13px;align-items:center}
.format-help code{background:#eef3f6;border-radius:5px;padding:5px}
.directory-item{display:flex;align-items:center;gap:16px;padding:22px 24px;border-bottom:1px solid #edf0f3;color:inherit;text-decoration:none}
.directory-item:last-child{border-bottom:0}.directory-item:hover{background:#f6f9fb}
.directory-monogram{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:12px;background:#e9f2f1;color:#246e66;font-weight:750}
.directory-item strong,.directory-item p{overflow-wrap:anywhere}.directory-item p{margin-bottom:0}
.resolution-record{border-left:3px solid #458b82;padding:8px 18px;margin:18px 0;background:#f6faf9}
.resolution-record p{margin:7px 0}.pre-wrap{white-space:pre-wrap;overflow-wrap:anywhere}
.resolution-create{margin-top:20px}.resolution-create summary{cursor:pointer;font-weight:650;color:#216e65}
.assignee-options{border:1px solid #dfe5eb;border-radius:10px;padding:16px;margin:0;min-width:0}
.assignee-options legend{font-size:13px;padding:0 6px}.check-label{display:flex!important;flex-direction:row!important;align-items:center;gap:10px;margin:9px 0;font-weight:400!important}
.check-label input{width:18px!important;height:18px;flex:0 0 18px}
.status.review{background:#eaf0ff;color:#385a98}.review-note{font-size:13px;padding:14px;background:#fff7e8;border-radius:8px;white-space:pre-wrap;overflow-wrap:anywhere}
.review-form{border-top:1px solid #e4e8ec;padding-top:16px;margin-top:18px}.complete-form label{min-width:0}
input[readonly],select:disabled{background:#f1f4f6;color:#66778a;cursor:not-allowed}
@media(max-width:700px){.directory-item{padding:17px 15px;gap:12px;flex-wrap:wrap}.directory-item .item-grow{flex-basis:calc(100% - 60px);min-width:0}.directory-item>.arrow{margin-left:auto}.directory-item>.status{margin-left:54px}.format-help{gap:10px;font-size:12px}.complete-form{align-items:stretch}.complete-form label{width:100%}.number-preview{font-size:24px}.form-actions{flex-wrap:wrap}.journal-card{min-width:0}.journal-card h3{overflow-wrap:anywhere}.resolution-create .form-stack{padding-top:16px}}
/* Explicit organization context on desktop and phones. */
.organization-context{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:17px 22px;background:#fff;border:1px solid #dfe7ef;border-left:4px solid #16837a;border-radius:12px;margin-bottom:26px}.organization-context strong{display:block;font-size:18px;margin-top:4px;overflow-wrap:anywhere}.organization-context .eyebrow{font-size:10px;letter-spacing:.09em}.sidebar-org{display:block;color:#fff;text-decoration:none;background:#243b55;padding:14px;border-radius:10px;margin:0 16px 15px;overflow-wrap:anywhere}.sidebar-org small{display:block;color:#b8cadb;font-size:11px;margin-top:7px}.org-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.org-card{display:flex;flex-direction:column;align-items:flex-start;gap:12px}.org-card h2{margin:0;font-size:22px;overflow-wrap:anywhere}.org-card .section-heading{width:100%;margin-bottom:4px}.org-management{margin-top:26px}.text-link{display:inline-block;margin-top:8px;color:#14776f;font-size:13px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.user-item{flex-wrap:wrap}.user-item form{max-width:100%}.organization-context .btn{flex-shrink:0}[hidden]{display:none!important}
@media(max-width:760px){.org-card-grid{grid-template-columns:1fr}.organization-context{padding:13px;align-items:flex-start;gap:10px;margin-bottom:20px}.organization-context strong{font-size:16px}.organization-context .btn{padding:8px;font-size:11px}.page-header{flex-wrap:wrap}.page-header .btn{width:100%}.form-row{grid-template-columns:1fr}.org-card h2{font-size:20px}.org-management .user-item{gap:10px}.section-grid{grid-template-columns:1fr}.sidebar-org{margin-left:0;margin-right:0}}

/* Per-document access: touch-size controls, readable names, no horizontal scroll. */
.access-box{margin:18px 0;padding:18px;border:1px solid var(--border);border-radius:10px;background:#f8fbfc}
.access-toggle,.access-person{display:flex!important;align-items:center;gap:12px;cursor:pointer;min-height:48px}
.access-toggle input[type=checkbox],.access-person input[type=checkbox]{width:20px;height:20px;min-height:20px;margin:0;flex:0 0 20px;accent-color:var(--teal)}
.access-toggle span,.access-person span{min-width:0;display:block}
.access-toggle strong,.access-person strong{display:block;line-height:1.4;font-size:14px;overflow-wrap:anywhere}
.access-toggle small,.access-person small,.access-author small{display:block;color:var(--muted);line-height:1.5;font-size:12px;margin-top:3px;font-weight:400}
.access-people{border:1px solid var(--border);border-radius:10px;padding:10px 14px;margin:14px 0;max-height:300px;overflow:auto}
.access-people legend{font-size:12px;font-weight:700;padding:0 6px}
.access-person{padding:8px 0;border-bottom:1px solid var(--border)}
.access-person:last-child{border-bottom:0}.access-author{margin-top:14px;padding:12px;border-radius:8px;background:#edf5f3;font-size:13px}
.access-badge{display:inline-flex;padding:5px 9px;border-radius:7px;font-size:11px;font-weight:700;background:#eff3f6;color:#50647a;white-space:normal;text-align:center;line-height:1.4}
.access-badge.closed{background:#fff3df;color:#8d5814}.access-badge.compact{margin-left:7px;padding:3px 6px;font-size:10px}
.access-disclaimer{color:var(--muted);font-size:11px;line-height:1.5;margin:16px 0 0;border-top:1px solid var(--border);padding-top:12px}
[data-access-choices][hidden],[data-access-open-note][hidden]{display:none!important}
@media(max-width:640px){.access-box{padding:14px}.access-panel .section-heading{align-items:flex-start}.access-panel .form-actions{justify-content:stretch}.access-panel .form-actions .btn{width:100%}}
/* Downloadable company forms. */
[data-custom-type][hidden],[data-poa-goods][hidden]{display:none!important}
.poa-table{width:100%;border-collapse:collapse;font-size:13px;margin:18px 0}.poa-table th,.poa-table td{border-bottom:1px solid var(--border);padding:12px 8px;text-align:left;vertical-align:top;overflow-wrap:anywhere}.poa-table th{width:32%;color:var(--muted);font-weight:600}.poa-table td.pre-line{white-space:pre-line}.poa-filters{flex-wrap:wrap}.poa-filters select{max-width:280px}
.forms-intro{max-width:840px;color:var(--muted);line-height:1.7;margin:0 0 26px}.forms-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.form-card{display:flex;flex-direction:column;align-items:flex-start;padding:25px;background:#fff;border:1px solid var(--border);border-radius:13px}.form-card-meta{display:flex;justify-content:space-between;width:100%;gap:12px;font-size:11px;color:var(--muted)}.form-card h2{font-size:21px;margin:15px 0 8px;line-height:1.35}.form-card p{color:var(--muted);line-height:1.65;margin:0 0 22px;flex:1}.form-card .btn{gap:14px}.forms-sources{margin-top:42px}.forms-sources>h2{font-size:27px;margin:8px 0 10px}.form-source{display:flex;justify-content:space-between;gap:26px;align-items:center;background:#fff;border:1px solid var(--border);border-radius:12px;padding:22px 25px;margin-top:14px}.form-source>div{max-width:710px}.form-source h3{font-size:18px;margin:7px 0}.form-source p{margin:0;color:var(--muted);line-height:1.6}.form-source .btn{flex-shrink:0}.forms-sources>.muted{font-size:12px;margin-top:18px;line-height:1.6}
@media(max-width:760px){.forms-grid{grid-template-columns:1fr}.form-card{padding:21px}.form-card .btn{width:100%;justify-content:center}.form-source{align-items:flex-start;flex-direction:column;padding:20px;gap:16px}.form-source .btn{width:100%;justify-content:center}}
.enterprise-forms{margin-bottom:36px}.enterprise-forms>h2,.example-forms>h2{font-size:25px;margin:0 0 18px}.enterprise-forms .info-note{margin-bottom:20px}.enterprise-form h3{font-size:20px;line-height:1.4;margin:14px 0 10px;overflow-wrap:anywhere}.enterprise-form-files{display:grid;gap:9px;width:100%;margin:18px 0}.enterprise-form-files .btn{justify-content:flex-start;white-space:normal;overflow-wrap:anywhere;text-align:left}.enterprise-form>form{margin-top:auto;padding-top:10px}

.document-requisite-intro{border-top:1px solid #dce6f0;padding-top:20px;margin-top:8px}.document-requisite-intro h2{margin:4px 0 8px}.legacy-requisites{border:1px solid #dce6f0;border-radius:12px;padding:16px;margin-top:16px}.legacy-requisites summary{cursor:pointer;font-weight:600}.legacy-requisites .form-grid{margin-top:16px}.details-grid .pre-line{white-space:pre-line}

/* brand.css */
/* FORMA BUSINESS: the light registry direction shared with FORMA.ЕРД. */
:root {
  color-scheme: light;
  --bg: #f4f6fa; --surface: #fff; --text: #283440; --muted: #637181;
  --border: #e4e9f1; --navy: #283440; --navy2: #edf3fa;
  --teal: #3e77aa; --accent: #3e77aa; --blue: #3e77aa;
  --blue-hover: #315f89; --blue-soft: #edf3fa;
  --shadow: 0 4px 18px rgb(40 52 64 / 3%);
}
html { scroll-padding-top: 90px; }
body { background: var(--bg); }
[hidden] { display: none !important; }
a:hover { color: var(--blue-hover); }
h1 { color: var(--text); font-size: 29px; font-weight: 720; letter-spacing: -.7px; overflow-wrap: anywhere; }
.ui-icon { display: inline-block; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.brand-mark { display: block; width: 36px; height: 34px; overflow: hidden; position: relative; flex: 0 0 36px; background: #fff; border-radius: 3px; }
.brand-mark img { display: block; position: absolute; width: 90px; height: 90px; max-width: none; left: -32.5px; top: -10.5px; }
.brand-name { display: block; min-width: 0; }
.brand-name strong { display: block; color: var(--text); font-size: 21px; letter-spacing: -.5px; line-height: 1.15; font-weight: 780; }
.brand-name small { display: block; color: var(--muted); font-size: 12px; line-height: 1.45; letter-spacing: 0; margin-top: 3px; }
.sidebar { width: 264px; background: #fff; border-right: 1px solid var(--border); color: var(--text); padding: 26px 14px 18px; overflow-y: auto; overscroll-behavior: contain; }
.brand { padding: 0 13px 24px; gap: 12px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand .brand-name strong { font-size: 22px; letter-spacing: -.5px; }
.brand .brand-name small { font-size: 12px; color: var(--muted); }
.sidebar-section { color: #687686; font-size: 9px; letter-spacing: 1px; padding: 18px 13px 10px; }
.sidebar-org { background: #f6f8fb; color: var(--text); padding: 12px 13px; margin: 0 0 12px; border: 1px solid var(--border); border-radius: 9px; }
.sidebar-org span { display: block; font-size: 12px; font-weight: 670; line-height: 1.55; overflow-wrap: anywhere; }
.sidebar-org small { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 10px; margin-top: 6px; }
.sidebar-org .ui-icon { width: 12px; height: 12px; }
.sidebar-org:hover { border-color: #b7cbe0; background: var(--blue-soft); color: var(--text); }
.nav-list { gap: 3px; }
.nav-link { padding: 11px 13px; min-height: 42px; gap: 11px; color: #536171; border-radius: 8px; font-size: 12px; font-weight: 580; }
.nav-link:hover,.nav-link:focus-visible { background: #f4f7fb; color: var(--blue-hover); }
.nav-link.active { color: var(--blue-hover); background: var(--blue-soft); font-weight: 720; }
.nav-link .ui-icon { width: 19px; height: 19px; }
.sidebar-bottom { color: var(--muted); padding: 16px 12px 0; }
.user-mini { border-top: 1px solid var(--border); padding-top: 16px; margin: 10px 0 8px; gap: 10px; align-items: center; }
.user-mini>span:last-child { min-width: 0; }
.user-mini strong { color: var(--text); overflow-wrap: anywhere; line-height: 1.45; }
.user-mini small { color: var(--muted); }
.avatar { background: #edf2f8; color: var(--blue-hover); border: 1px solid #e0e8f2; }
.logout-btn { color: #5c6d7e; display: flex; gap: 9px; align-items: center; padding: 10px 0; }
.logout-btn:hover { color: var(--blue); }
.logout-btn .ui-icon { width: 16px; height: 16px; }
.sidebar-version { display: block; color: #6d7b89; font-size: 10px; padding-top: 4px; }
.main-content { margin-left: 264px; }
.main-content:focus { outline: none; }
.page-inner { padding: 28px 34px 46px; max-width: 1600px; }
.organization-context { border: 1px solid var(--border); border-radius: 11px; padding: 15px 19px; margin-bottom: 27px; gap: 18px; box-shadow: var(--shadow); }
.organization-context strong { font-size: 15px; color: var(--text); margin-top: 4px; line-height: 1.45; }
.organization-context .eyebrow { color: var(--muted); font-size: 9px; }
.organization-context .btn { padding: 8px 11px; min-height: 36px; font-size: 11px; gap: 6px; }
.organization-context .ui-icon { width: 14px; height: 14px; }
.page-header { margin-bottom: 23px; }
.eyebrow { color: var(--blue); }
.subtitle { line-height: 1.6; }
.btn { border-radius: 8px; font-weight: 650; transform: none; }
.btn:hover { transform: none; }
.btn.primary { color: #fff; background: var(--blue); border-color: var(--blue); }
.btn.primary:hover { color: #fff; background: var(--blue-hover); border-color: var(--blue-hover); }
.btn.secondary { color: #4b5d6e; border-color: #dbe3ed; }
.btn.secondary:hover { color: var(--blue-hover); background: var(--blue-soft); border-color: #bdcfe1; }
.btn:focus-visible,.nav-link:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,button:focus-visible,a:focus-visible,summary:focus-visible { outline: 3px solid #84acd2; outline-offset: 3px; }
input,select,textarea { color: var(--text); border-color: #d9e1eb; border-radius: 7px; }
input::placeholder,textarea::placeholder { color: #737f8d; }
input[type=checkbox],input[type=radio] { accent-color: var(--blue); }
.panel,.metric,.journal-card { border-color: var(--border); border-radius: 11px; box-shadow: var(--shadow); }
.panel { padding: 22px; }
.metrics { gap: 14px; margin-bottom: 23px; }
.metric { min-height: 126px; padding: 19px; border-top: 3px solid #d5e2ef; }
.metric-label { color: #5f6d7d; font-size: 12px; }
.metric-label span { color: #6c8dad; }
.metric-value { color: var(--text); font-size: 31px; margin-top: 16px; font-weight: 740; }
.metric-sub { color: #687686; line-height: 1.5; }
.section-heading p,.item-grow small { color: #637181; }
.text-link,.breadcrumbs a,.registered-number,.data-table .num-cell,.data-table .link-arrow { color: var(--blue); }
.doc-icon,.quick-symbol,.journal-icon,.directory-monogram { background: var(--blue-soft); color: var(--blue); }
.quick-row { background: #f7f9fc; border-color: var(--border); border-radius: 8px; }
.quick-row:hover { background: var(--blue-soft); color: var(--blue-hover); border-color: #cbd9e7; }
.journal-card:hover { border-color: #b4cce3; color: var(--text); }
.directory-item:hover { background: #f4f7fb; }
.data-table th { background: #f4f7fb; color: #5c6c7d; font-size: 10px; }
.data-table td { border-top-color: var(--border); }
.data-table tbody tr:hover { background: #f8fafd; }
.details-grid dt,.breadcrumbs { color: #637181; }
.status { background: #eff2f6; color: #536577; }
.status.registered { background: #edf5f2; color: #2d7157; }
.status.annulled { background: #fbefef; color: #a53d43; }
.info-note { background: #eff4fa; border-color: #d8e4f1; color: #466580; }
.resolution-record { background: #f5f8fc; border-left-color: #7198bd; }
.resolution-create summary { color: var(--blue); }
.number-preview { color: var(--blue); }
.access-control { border-color: #ccdaeb; background: #f6f8fc; }
.access-label { color: #4e6681; background: #edf2f8; }
.access-panel { border-color: #cedced; }
.page-footer { color: #647282; padding: 15px 25px 25px; line-height: 1.6; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 12px 18px; border-radius: 8px; background: #fff; color: var(--blue-hover); box-shadow: 0 3px 14px #28344030; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.nav-backdrop { position: fixed; inset: 0; background: #28344066; border: 0; border-radius: 0; z-index: 29; padding: 0; }
.sidebar-close { display: none; }
.poa-filters input { flex: 1 1 240px; }
.poa-filters select { flex: 1 1 190px; max-width: none; }
.auth-screen { background: var(--bg); }
.auth-layout { gap: 80px; padding: 42px; background: radial-gradient(ellipse at 15% 45%,#e8eff8 0%,transparent 58%); }
.auth-brand { color: var(--text); max-width: 430px; }
.auth-brand-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 35px; }
.auth-brand-heading .brand-name strong { font-size: 27px; }
.auth-brand-heading .brand-name small { font-size: 14px; }
.auth-brand h1 { font-size: 36px; letter-spacing: -1px; line-height: 1.25; margin: 0 0 16px; font-weight: 740; }
.auth-brand p { color: #5b6d80; max-width: 340px; font-size: 15px; }
.auth-points { display: grid; gap: 16px; margin-top: 30px; font-size: 13px; color: #536c84; }
.auth-points>span { display: flex; align-items: center; gap: 11px; }
.auth-points .ui-icon { color: var(--blue); }
.auth-card { border: 1px solid var(--border); box-shadow: 0 12px 42px #28344008; border-radius: 14px; padding: 33px; }
.auth-foot { color: #667788; line-height: 1.6; }
@media(min-width:1101px) and (max-width:1250px) {
  .page-inner { padding-left: 25px; padding-right: 25px; }
  .metric { padding: 16px 14px; }
  .metric-label { font-size: 11px; }
}
@media(max-width:1100px) and (min-width:791px) {
  .sidebar { width: 234px; padding-left: 10px; padding-right: 10px; }
  .brand { padding-left: 8px; gap: 9px; }
  .brand .brand-name small { font-size: 11px; }
  .main-content { margin-left: 234px; }
  .page-inner { padding: 24px; }
  .metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:790px) {
  body { padding-top: 0; }
  .sidebar { display: flex; width: min(286px,calc(100vw - 40px)); max-height: 100dvh; z-index: 30; padding-top: 25px; transform: translateX(-110%); visibility: hidden; }
  .nav-open .sidebar { transform: none; visibility: visible; }
  .nav-open { overflow: hidden; }
  .sidebar-close { display: block; position: absolute; right: 9px; top: 17px; width: 36px; height: 40px; padding: 0; border: 1px solid var(--border); border-radius: 8px; background: #fff; color: var(--muted); font-size: 25px; }
  .main-content { margin: 0; width: 100%; padding-top: 0; }
  .mobile-topbar { position: sticky; top: 0; height: 74px; display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 15px; background: #fff; border-bottom: 1px solid var(--border); z-index: 25; }
  .app-shell { display: block; }
  .mobile-brand { color: var(--text); min-width: 0; gap: 9px; }
  .mobile-brand .brand-name strong { font-size: 19px; }
  .mobile-brand .brand-name small { font-size: 10px; margin-top: 2px; }
  .menu-toggle { display: flex; align-items: center; gap: 5px; color: var(--blue-hover); padding: 9px; min-height: 42px; border: 1px solid var(--border); border-radius: 8px; background: #fff; font-size: 11px; flex: 0 0 auto; }
  .menu-toggle .ui-icon { width: 17px; height: 17px; }
  .page-inner { padding: 20px 15px 24px; }
  .organization-context { padding: 13px; align-items: flex-start; margin-bottom: 21px; gap: 12px; }
  .organization-context strong { font-size: 13px; }
  .organization-context .eyebrow { font-size: 8px; }
  .organization-context .btn { flex: 0 0 auto; font-size: 10px; padding: 6px 8px; min-height: 34px; }
  .organization-context .ui-icon { display: none; }
  .page-header h1 { font-size: 24px; }
  .page-header .subtitle { font-size: 12px; }
  .page-header { gap: 14px; }
  .panel { padding: 17px; }
  .metric { min-height: 117px; padding: 14px; border-top-width: 2px; }
  .metric-label { font-size: 11px; gap: 6px; align-items: flex-start; }
  .metric-label span { font-size: 16px; }
  .metric-value { margin: 13px 0 4px; font-size: 29px; }
  .metric-sub { font-size: 10px; }
  .metrics { gap: 9px; }
  .filters select,.poa-filters select { flex: 1 1 100%; width: 100%; }
  .poa-filters button { width: 100%; }
  .poa-registry thead { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
  .poa-registry,.poa-registry tbody,.poa-registry tr,.poa-registry td { display: block; width: 100%; }
  .poa-registry tr { padding: 16px 0; border-top: 1px solid var(--border); }
  .poa-registry tr:first-child { border-top: 0; }
  .poa-registry td { padding: 6px 0; border: 0; font-size: 12px; }
  .poa-registry td:first-child { padding-top: 0; }
  .poa-registry td:first-child a { font-size: 14px; }
  .poa-registry td:nth-child(2)::before { content: 'Представитель / сторона'; }
  .poa-registry td:nth-child(3)::before { content: 'Выдана / действует по'; }
  .poa-registry td:nth-child(2)::before,.poa-registry td:nth-child(3)::before { display: block; color: var(--muted); font-size: 10px; margin-bottom: 5px; }
  .poa-registry td:last-child:not(:first-child) { display: none; }
  .mobile-bottom { bottom: 0; padding: 9px 2px calc(9px + env(safe-area-inset-bottom,0px)); box-shadow: 0 -2px 12px #28344005; }
  .mobile-bottom a { color: #607184; font-size: 9px; min-height: 42px; justify-content: center; gap: 5px; }
  .mobile-bottom .ui-icon { width: 20px; height: 20px; }
  .mobile-bottom span { color: inherit; font-size: 9px; }
  .mobile-bottom a[aria-current] { color: var(--blue-hover); font-weight: 750; }
  .page-footer { font-size: 10px; padding: 16px 18px calc(96px + env(safe-area-inset-bottom,0px)); }
  .auth-layout { min-height: 100dvh; padding: 28px 16px; gap: 27px; background: var(--bg); }
  .auth-brand { text-align: left; width: 100%; max-width: 420px; }
  .auth-brand-heading { margin-bottom: 22px; }
  .auth-brand-heading .brand-name strong { font-size: 23px; }
  .auth-brand-heading .brand-name small { font-size: 12px; }
  .auth-brand h1 { font-size: 26px; line-height: 1.3; }
  .auth-brand p { font-size: 13px; margin-bottom: 0; }
  .auth-points { display: none; }
  .auth-card { padding: 26px 21px; }
}
@media(max-width:390px) {
  .organization-context { flex-wrap: wrap; }
  .organization-context>div { flex: 1 1 100%; }
  .organization-context .btn { min-height: 36px; }
  .mobile-topbar { padding-left: 12px; padding-right: 12px; }
  .section-heading { flex-wrap: wrap; }
  .metrics { gap: 8px; }
  .metric { padding: 12px; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
.number-example-box{background:#f3f8fd;border:1px solid #d8e7f4;border-radius:14px;padding:22px}.number-example-box h2{margin-top:0}.example-chips{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.example-chips .btn{font-size:12px;padding:7px 10px}.number-advanced{border-top:1px solid #e0e8ef;padding-top:16px}.number-advanced summary{cursor:pointer;color:#4d6980}.number-advanced .form-stack{margin-top:14px}[data-number-preview]{font-size:clamp(16px,2.1vw,24px);overflow-wrap:anywhere}[data-number-preview] div+div{opacity:.65;margin-top:12px;font-size:.85em}

/* simple-start.css */
.day-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px;margin-bottom:24px}.day-metric{display:block;background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:11px;padding:18px 20px;transition:background .15s}.day-metric>span{display:flex;justify-content:space-between;gap:12px;color:#536171;font-size:14px}.day-metric strong{display:block;margin-top:9px;font-size:30px;font-weight:700;font-variant-numeric:tabular-nums}.day-metric.day-urgent{background:#fff5e9;border-color:#f1d7b9}.day-metric.day-urgent>span{color:#875124}.day-metric:hover{background:var(--blue-soft);color:var(--text)}.day-item{display:flex;gap:20px;justify-content:space-between;align-items:center;padding:20px 0;border-top:1px solid var(--border)}.day-item h3{font-size:16px;font-weight:650;line-height:1.5;margin:9px 0 4px}.day-item p{margin:0}.day-item>div{min-width:0}.day-item .btn{flex:0 0 auto}.day-queue .section-heading{margin-bottom:12px}.day-secondary{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:20px;margin-top:22px}.day-start{display:flex;flex-direction:column;align-items:stretch;gap:12px}.day-start h2{margin-bottom:2px}.day-start .btn{justify-content:flex-start;white-space:normal;text-align:left}.day-start p{margin:4px 0 0}.day-empty{padding:26px}.day-empty p{margin-bottom:0}
.journal-pages{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:18px 20px;border-top:1px solid var(--border)}.journal-pages .actions{flex-wrap:wrap}.journal-pages p{margin:0}.simple-task-filters{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 22px}.simple-task-filters a[aria-current=page]{background:var(--blue-soft);color:var(--blue-hover);border-color:#b6cce0}.nav-more{margin-top:6px}.nav-more>summary{padding:11px 13px;color:#536171;cursor:pointer;font-size:14px;border-radius:8px;list-style-position:inside}.nav-more[open]>summary{background:var(--blue-soft);margin-bottom:4px}.nav-link{font-size:14px;min-height:45px}.sidebar-org span{font-size:14px}.user-mini strong{font-size:14px}.user-mini small,.sidebar-version{font-size:12px}.day-start .small{font-size:13px}
@media(max-width:850px){.day-secondary{grid-template-columns:1fr}.day-item{gap:14px;flex-wrap:wrap}.day-item>div{flex-basis:100%}.day-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.day-metric{padding:16px}.day-metric>span{font-size:13px}.day-item .btn{min-height:44px}}
@media(max-width:480px){.day-metrics{grid-template-columns:1fr;gap:9px}.day-metric{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:13px 16px}.day-metric strong{margin:0;font-size:25px}.day-metric>span{flex:1;font-size:15px}.day-metric .ui-icon{display:none}.day-item .btn{width:100%}.journal-pages{padding:16px}.journal-pages .actions{width:100%}.journal-pages .btn{flex:1}.day-secondary{gap:0}.day-start .btn{min-height:46px}}

/* document-workspace.css */
/* FORMA document workspace: installed brand palette, local assets. */
.registry-page,.document-workspace{min-width:0}
.registry-create,.document-next-action{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.registry-create .btn{min-height:42px}
.registry-filters{display:grid;grid-template-columns:minmax(160px,1.4fr) minmax(160px,1fr) minmax(140px,.8fr) auto;gap:12px;align-items:end;margin:0 0 18px}
.registry-filters label{font-size:12px;min-width:0;display:grid;gap:7px}
.registry-filters input,.registry-filters select{width:100%;min-width:0;min-height:43px}
.registry-filters .btn{min-height:43px}
.registry-quick{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-bottom:18px}
.registry-chip{display:inline-flex;align-items:center;min-height:39px;padding:8px 13px;border:1px solid var(--border);background:var(--surface);border-radius:22px;color:var(--muted);text-decoration:none;font-size:12px}
.registry-chip.selected{background:var(--blue-soft);border-color:#aac5df;color:var(--blue-hover);font-weight:650}
.registry-reset{font-size:12px;margin-left:8px}
.registry-toolbar{display:flex;justify-content:space-between;gap:14px;align-items:center;margin:0 0 14px;flex-wrap:wrap}
.registry-toolbar p{margin:0}.registry-toolbar .journal-pages{padding:0;margin:0;border:0}.registry-toolbar .journal-pages>p{display:none}
.registry-toolbar .btn{font-size:12px;min-height:38px;padding:8px 11px}
.registry-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,1fr);gap:20px;align-items:start}
.registry-layout.empty{grid-template-columns:1fr}.registry-list{padding:0;overflow:hidden}
.registry-table{width:100%;table-layout:fixed;border-collapse:collapse;text-align:left;font-size:13px}
.registry-table th{padding:14px 12px;border-bottom:1px solid var(--border);font-size:11px;color:var(--muted);font-weight:600}
.registry-table th:first-child{width:53%}.registry-table th:nth-child(2){width:23%}.registry-table th:nth-child(3){width:24%}
.registry-table td{padding:17px 12px;vertical-align:top;border-bottom:1px solid var(--border);overflow-wrap:anywhere;line-height:1.6}
.registry-table tr:last-child td{border-bottom:0}.registry-table tr.selected{background:var(--blue-soft)}
.registry-number{display:block;font-size:12px;color:var(--blue-hover);overflow-wrap:anywhere;margin-bottom:6px}
.registry-subject{font-size:14px;font-weight:650;color:var(--text);text-decoration:none;display:block;margin-bottom:6px}
.registry-subject:hover{text-decoration:underline}.registry-meta{display:block;color:var(--muted);font-size:11px;margin-top:3px}
.registry-peek{margin-left:10px}.registry-assignee{display:block;font-size:12px}
.registry-deadline{display:block;font-size:11px;color:var(--muted);margin-top:8px}
.registry-deadline strong{display:block;color:var(--text);font-size:12px;white-space:nowrap;font-weight:500}
.registry-deadline.overdue strong,.registry-overdue{color:#925216}.registry-overdue{display:block;font-size:11px;margin-top:5px}
.registry-table .status{white-space:normal;word-break:normal;font-size:11px;line-height:1.5}
.registry-preview{padding:20px;min-width:0;scroll-margin-top:24px}
.registry-preview-heading h2{font-size:18px;line-height:1.45;overflow-wrap:anywhere;margin:8px 0}
.registry-preview-heading .eyebrow{font-size:10px;margin-bottom:15px}.registry-preview .btn.wide{margin-top:16px}
.registry-access-summary{margin-bottom:0;font-size:11px}.registry-empty{padding:30px 12px}.registry-empty h2{font-size:20px}
.registry-bottom{margin-top:18px}
.document-reference{font-size:13px;color:var(--blue-hover);margin:0 0 9px;overflow-wrap:anywhere}
.document-heading{display:flex;align-items:start;justify-content:space-between;gap:25px;margin:20px 0}
.document-heading>div:first-child{min-width:0;flex:1}
.document-heading h1{font-size:28px;line-height:1.3;letter-spacing:-.6px;margin:0 0 12px;max-width:950px}
.document-heading .subtitle{margin:0}.document-badges{display:flex;gap:8px;align-items:start;justify-content:flex-end;flex-wrap:wrap;max-width:240px}
.document-badges .status{white-space:normal}.document-next-action{margin-bottom:22px}.document-next-action form{margin:0}
.document-tabs{display:flex;flex-wrap:wrap;gap:5px;border-bottom:1px solid var(--border);margin:22px 0}
.document-tabs button{border:0;border-bottom:3px solid transparent;background:transparent;color:var(--muted);font:inherit;font-size:14px;padding:12px 16px;min-height:46px;cursor:pointer}
.document-tabs button[aria-selected=true]{border-bottom-color:var(--blue);color:var(--blue-hover);font-weight:650}
.document-file-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(265px,1fr);gap:20px;align-items:start}
.document-file-main{min-width:0;padding:22px}.document-attachments{min-width:0}.document-attachments h2{font-size:18px}
.document-file-item{padding:15px 0;border-top:1px solid var(--border)}
.document-file-item strong,.document-file-item small{display:block;overflow-wrap:anywhere}
.document-file-item strong{font-size:13px;line-height:1.6}.document-file-item small{font-size:11px;color:var(--muted);margin-top:5px;line-height:1.5}
.document-file-item.selected{border-left:3px solid var(--blue);padding-left:12px}
.document-file-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:10px;font-size:12px}
.document-file-actions .file-remove-action{color:var(--forma-color-danger)}
.attachment-removal strong{overflow-wrap:anywhere}
.document-attachments .upload-row{display:flex;flex-direction:column;align-items:stretch;gap:10px;border-top:1px solid var(--border);padding-top:18px}
.document-attachments .upload-row input[type=file]{width:100%;min-width:0;font-size:12px}.document-attachments .upload-row .btn{font-size:12px}
.document-workspace [data-card-panel]>.panel{margin-bottom:18px}.document-anchor{display:block;scroll-margin-top:22px}
.document-more-actions{margin-top:25px;border-top:1px solid var(--border);padding-top:18px}
.document-more-actions>summary{font-size:13px;color:var(--muted);min-height:40px;cursor:pointer}
.document-more-actions[open]>summary{margin-bottom:15px}.document-more-actions>.stack{max-width:650px}
.document-history article{display:grid;grid-template-columns:145px 1fr;gap:18px;padding:17px 0;border-top:1px solid var(--border)}
.document-history article:first-child{border:0}.document-history time{font-size:12px;color:var(--muted)}.document-history strong{font-size:13px}
.document-history p{margin:6px 0 0;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}
.file-viewer{min-width:0}.viewer-file-title{display:flex;align-items:start;gap:9px;color:var(--muted);font-size:12px;margin-bottom:16px;overflow-wrap:anywhere}
.viewer-file-title strong{min-width:0;font-weight:500}.viewer-file-title .ui-icon{width:17px;height:17px;flex:0 0 17px}
.viewer-controls{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin-bottom:12px}.viewer-controls .btn{min-height:38px;padding:7px 10px;font-size:12px}
.viewer-page-controls{display:flex;gap:8px;align-items:end;flex-wrap:wrap}.viewer-controls label{display:grid;gap:5px;font-size:11px}
.viewer-controls input{width:65px;min-height:38px;padding:7px}.viewer-controls select{min-height:38px;padding:7px;font-size:12px;max-width:145px}
.viewer-page-controls>span{font-size:12px;padding-bottom:9px}.viewer-status{font-size:12px;line-height:1.5;margin-bottom:12px}
.viewer-stage{background:#e9eef4;border:1px solid var(--border);border-radius:7px;overflow:auto;max-height:72vh;min-height:80px;padding:11px;overscroll-behavior:contain}
.viewer-stage canvas{display:block;margin:0 auto;background:white;box-shadow:0 2px 9px rgb(40 52 64 / 10%);max-width:none}
.viewer-stage img{display:block;margin:0 auto;object-fit:contain;transform-origin:center}.viewer-text{font-size:12px;margin-top:15px;color:var(--muted)}
.viewer-text p{color:var(--text);line-height:1.7}.viewer-download{display:inline-block;margin-top:16px;font-size:12px}
.viewer-empty{padding:32px 5px;color:var(--muted);text-align:center;font-size:13px;line-height:1.7}.viewer-empty .ui-icon{width:30px;height:30px;margin-bottom:12px}
.viewer-empty h3{font-size:16px;color:var(--text)}.file-viewer.compact .viewer-stage{max-height:48vh}.file-viewer.compact .viewer-controls{gap:6px}
.file-viewer.compact .viewer-page-controls{gap:5px}.file-viewer.compact .viewer-zoom-label{flex:1}.file-viewer.compact .viewer-controls label{font-size:10px}
.standalone-preview{max-width:1100px}.viewer-password{max-width:320px;margin-bottom:18px}.viewer-password input{max-width:100%}
@media(max-width:1250px){.registry-layout{grid-template-columns:1fr}.registry-preview,.registry-peek{display:none}.document-file-layout{grid-template-columns:minmax(0,1fr)}.document-file-main .viewer-stage{max-height:68vh}.registry-table th:first-child{width:55%}.registry-table th:nth-child(2){width:25%}.registry-table th:nth-child(3){width:20%}.registry-filters{grid-template-columns:1fr 1fr}.registry-filters label:first-child{grid-column:1/-1}.registry-filters .btn{justify-self:start}.document-badges{max-width:200px}.document-heading h1{font-size:26px}}
@media(max-width:700px){.registry-filters{grid-template-columns:1fr}.registry-filters label:first-child{grid-column:auto}.registry-filters .btn{width:100%}.registry-create{width:100%}.registry-create .btn{flex:1;white-space:normal}.registry-table,.registry-table tbody{display:block}.registry-table thead{display:none}.registry-table tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(95px,.8fr);padding:15px;border-bottom:1px solid var(--border);gap:10px}.registry-table td{display:block;padding:0;border:0}.registry-table td:first-child{grid-column:1/-1}.registry-table td:last-child{justify-self:end}.registry-table .status{font-size:12px}.registry-subject{font-size:15px}.registry-meta{font-size:12px}.registry-number{font-size:12px}.registry-assignee{font-size:13px}.registry-deadline{font-size:12px}.registry-deadline strong{font-size:13px}.registry-overdue{font-size:12px}.registry-toolbar .journal-pages .actions{flex-wrap:wrap}.registry-toolbar{align-items:start;gap:10px}.registry-chip{min-height:42px;font-size:12px}.document-heading{flex-direction:column;gap:15px}.document-heading h1{font-size:25px;line-height:1.35}.document-badges{max-width:none;justify-content:start}.document-next-action{align-items:stretch;gap:9px}.document-next-action>.btn,.document-next-action>form{flex:1;min-width:130px}.document-next-action>form .btn{width:100%}.document-tabs{gap:0}.document-tabs button{padding:12px 10px;font-size:13px}.document-file-main{padding:15px}.document-file-layout{gap:16px}.document-history article{grid-template-columns:1fr;gap:6px}.viewer-controls input,.viewer-controls select{font-size:16px;min-height:44px}.viewer-controls .btn{min-height:44px}.viewer-page-controls>span{padding-bottom:12px}.viewer-stage{max-height:65vh}.document-reference{font-size:12px}.registry-filters input,.registry-filters select{font-size:16px}.document-more-actions>summary{min-height:44px}}
@media(prefers-reduced-motion:reduce){.viewer-stage{scroll-behavior:auto}}

/* forma-ui.css */
/* FORMA shared visual language. Preferences affect typography and spacing, never browser zoom. */
body{--forma-font:16px;--forma-small:13px;--forma-title:30px;--forma-row:14px;--forma-accent:#2854cf;background:#f5f7fb;color:#182c48}
body[data-text-size="large"]{--forma-font:18px;--forma-small:15px;--forma-title:34px}
body[data-text-size="larger"]{--forma-font:20px;--forma-small:17px;--forma-title:38px}
body[data-density="compact"]{--forma-row:8px}
.page-inner,.sidebar,.btn,.form-stack input,.form-stack textarea,.form-stack select,.data-table,.registry-table{font-size:var(--forma-font);line-height:1.5}
.page-inner h1{font-size:var(--forma-title);line-height:1.2;letter-spacing:-.025em;overflow-wrap:anywhere}
.page-inner h2{font-size:calc(var(--forma-font) + 6px)}.page-inner h3{font-size:calc(var(--forma-font) + 2px)}
.page-inner .small,.page-inner small,.page-inner .muted.small,.sidebar .nav-link,.document-file-item small{font-size:var(--forma-small)}
.btn{min-height:42px;white-space:normal;overflow-wrap:anywhere}.btn.primary{background:var(--forma-accent);border-color:var(--forma-accent);color:white}
.panel,.form-card{border-radius:16px;border-color:#e1e7f0;box-shadow:0 3px 14px #16315b05}
.data-table td,.registry-table td{padding-top:var(--forma-row);padding-bottom:var(--forma-row)}
body[data-density="compact"] .registry-row,body[data-density="compact"] .case-document{padding-top:8px;padding-bottom:8px}
.document-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0 4px;padding:16px 18px;background:#eef3fb;border-radius:14px}
.document-summary div{min-width:0}.document-summary dt{color:#607189;font-size:var(--forma-small);margin-bottom:4px}.document-summary dd{margin:0;font-weight:600;overflow-wrap:anywhere}
.document-heading{display:block}.document-heading h1{margin:8px 0 12px}.document-heading .document-badges{justify-content:flex-start;margin:10px 0}
.case-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:20px 0}.case-tile{display:block;text-decoration:none;color:inherit;transition:box-shadow .12s}.case-tile:hover{box-shadow:0 6px 24px #16315b12}.case-tile h2{margin:12px 0}.case-tile-meta{display:flex;gap:12px;justify-content:space-between;flex-wrap:wrap;color:#63758c;font-size:var(--forma-small)}
.case-document{display:flex;gap:16px;align-items:center;justify-content:space-between;padding:var(--forma-row) 0;border-bottom:1px solid #e7edf5;min-width:0}.case-document>div{min-width:0}.case-document small,.version-record small{display:block;color:#63758c;overflow-wrap:anywhere}.case-document a{overflow-wrap:anywhere}
.version-history,.new-revision{margin-top:14px}.version-record{padding:14px 0;border-bottom:1px solid #e7edf5}.version-record p{font-size:var(--forma-small);overflow-wrap:anywhere}.version-record details{margin-top:10px}.version-history summary,.new-revision summary,.template-creation summary{cursor:pointer;color:#2854cf;padding:10px 0;min-height:38px}.version-record .form-stack{margin:12px 0}
.regenerate-docx,.acknowledgement{margin-top:20px;padding-top:16px;border-top:1px solid #e1e7f0}.acknowledged{color:#126847;background:#eef9f3;padding:14px;border-radius:10px}
.template-creation{max-width:1000px}.template-creation .panel{display:flex;flex-direction:column;gap:16px}.template-creation h2{margin:0 0 6px}.template-creation label,.template-creation input,.template-creation select,.template-creation textarea{max-width:100%;min-width:0}.merge-fields div{display:grid;grid-template-columns:minmax(200px,1fr) 2fr;gap:14px;margin:12px 0}.merge-fields dd{margin:0}.merge-fields code{font-size:var(--forma-small);word-break:break-word}.record-meta div{margin:12px 0}.record-meta dt{color:#63758c}.record-meta dd{margin:2px 0;overflow-wrap:anywhere}
.appearance-options{display:flex;gap:16px;flex-wrap:wrap}.appearance-options label{display:flex;align-items:center;gap:10px}.appearance-options input{width:auto}.search-row{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.search-row label{flex:1;min-width:180px}.case-document form{flex-shrink:0}.document-file-item .section-heading{align-items:flex-start;flex-wrap:wrap}
@media(max-width:1100px){.document-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.case-grid{grid-template-columns:1fr}}
@media(max-width:700px){body{--forma-title:27px}.page-inner input,.page-inner select,.page-inner textarea{font-size:max(16px,var(--forma-font))}.btn{min-height:44px}.document-summary{padding:14px;gap:16px 12px}.case-document{align-items:flex-start;flex-direction:column;gap:6px}.merge-fields div{grid-template-columns:1fr;gap:2px}.page-header{align-items:stretch}.record-meta dd,.document-file-item strong{overflow-wrap:anywhere}.form-actions{flex-wrap:wrap}.form-actions .btn{flex:1 1 150px}.case-grid{gap:12px}.panel{min-width:0}.document-tabs button{min-height:44px;font-size:var(--forma-small)}}
@media(prefers-reduced-motion:reduce){.case-tile{transition:none}}

.recovery-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#eef3fb;border:1px solid #dce6f6;border-radius:12px;padding:16px;margin-bottom:22px}.recovery-bar p{margin:5px 0 0}.recovery-item{gap:14px;flex-wrap:wrap}.recovery-item .item-grow{min-width:200px;overflow-wrap:anywhere}.recovery-item small{display:block}.recovery-bar .text-link{flex-shrink:0}@media(max-width:700px){.recovery-bar{align-items:flex-start;flex-direction:column}.org-management .user-item{flex-wrap:wrap;gap:10px}.recovery-item .btn{width:100%}.recovery-item form{width:100%}}

/* 3.3.4: readable working space; preserve text-size and density preferences. */
body{--forma-small:14px}
.organization-context{box-shadow:none;background:transparent;border:0;border-bottom:1px solid #dfe5ee;border-radius:0;padding:0 0 14px;margin-bottom:22px;align-items:center}
.organization-context .eyebrow{font-size:11px;letter-spacing:.05em}.organization-context strong{font-size:var(--forma-font);margin-top:3px}
.organization-context .btn{font-size:var(--forma-small);min-height:42px}
.sidebar-section{font-size:11px}.sidebar .nav-link,.nav-more>summary{font-size:var(--forma-small);line-height:1.45;min-height:44px}
.sidebar-org small,.sidebar-version{font-size:12px}.page-header{gap:20px;flex-wrap:wrap}.page-header h1{margin-bottom:0}
.registry-create .btn{min-height:44px}.registry-page .page-header{margin-bottom:22px}
.registry-filters{display:block;margin-bottom:14px;padding:18px;background:white;border:1px solid var(--border);border-radius:12px}
.registry-search{display:flex;align-items:end;gap:12px}.registry-search>label{flex:1}.registry-filters label{font-size:var(--forma-small);gap:6px}
.registry-search .btn{min-width:92px;min-height:44px;align-self:end}.registry-filters input,.registry-filters select{min-height:44px;font-size:var(--forma-font)}
.registry-options{margin-top:8px}.registry-options>summary{cursor:pointer;color:#365d9c;min-height:36px;padding:7px 0;font-size:var(--forma-small)}
.registry-filter-options{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,.6fr);gap:14px;margin-top:12px}
.registry-chip{font-size:var(--forma-small);min-height:42px;padding:8px 14px;color:#465d77}
.registry-chip.selected{color:#244cab;background:#e9effc;border-color:#bacbf1}.registry-reset{font-size:var(--forma-small);margin-left:0;min-height:42px;display:inline-flex;align-items:center;text-decoration:underline}
.registry-layout{gap:18px;grid-template-columns:minmax(0,1.6fr) minmax(330px,1fr)}
.registry-table th{font-size:var(--forma-small);background:#f7f9fc;color:#52657d;padding:12px}
.registry-number,.registry-assignee,.registry-deadline strong{font-size:var(--forma-small)}
.registry-subject{font-size:var(--forma-font);line-height:1.5}.registry-meta,.registry-deadline,.registry-overdue{font-size:var(--forma-small);color:#52657d;line-height:1.5}
.registry-table .status{font-size:var(--forma-small)}.registry-table tr.selected{box-shadow:inset 3px 0 #2854cf;background:#f0f4fc}
.registry-peek,.registry-next-action,.document-file-actions a,.viewer-download{font-size:var(--forma-small);text-underline-offset:3px;text-decoration:underline;line-height:1.6}
.registry-toolbar .btn{font-size:var(--forma-small);min-height:42px}.registry-preview-heading .eyebrow{font-size:11px;margin-bottom:10px}
.registry-preview-heading h2{font-size:calc(var(--forma-font) + 3px)}.registry-access-summary{font-size:var(--forma-small)}
.document-heading{margin:16px 0}.document-summary{margin:16px 0 0;padding:16px;gap:14px}.document-badges{max-width:none}
.document-next-action{padding:14px;background:white;border:1px solid var(--border);border-radius:12px;gap:10px;margin-bottom:18px}
.document-next-action:empty{display:none}.document-tabs{gap:0;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;margin:18px 0}
.document-tabs button{white-space:nowrap;flex-shrink:0;font-size:var(--forma-font);padding:12px 16px}
.document-file-item strong,.document-history strong,.document-history p{font-size:var(--forma-font)}
.document-file-item small,.document-history time,.viewer-status,.viewer-download,.document-more-actions>summary{font-size:var(--forma-small)}
.document-more-actions>summary{color:#365d9c}.viewer-controls label,.viewer-controls select,.viewer-page-controls>span{font-size:var(--forma-small)}
.file-viewer.compact .viewer-controls label{font-size:var(--forma-small)}.viewer-controls .btn,.viewer-controls select,.viewer-controls input{min-height:44px}
.breadcrumbs{font-size:var(--forma-small);line-height:1.6}.breadcrumbs a{text-decoration:underline;text-underline-offset:3px}
@media(max-width:1360px){.registry-layout{grid-template-columns:1fr}.registry-preview,.registry-peek{display:none}}
@media(max-width:700px){
 .page-inner{padding:18px 16px 28px}.page-inner h1{font-size:var(--forma-title)}
 .organization-context{margin-bottom:18px;gap:10px;flex-wrap:nowrap}.organization-context>div{flex:1;min-width:0}.organization-context .eyebrow{display:none}.organization-context .btn{min-width:44px;padding:8px;font-size:13px}
 .registry-page .page-header{gap:16px}.registry-create .btn{flex:1 1 150px}.registry-filters{padding:14px}
 .registry-search{gap:8px}.registry-search .btn{width:auto;min-width:70px}.registry-filter-options{grid-template-columns:1fr}.registry-options>summary{min-height:44px}
 .registry-quick{gap:8px}.registry-chip{min-height:44px}.registry-table tr{padding:16px;gap:12px}.registry-table td{padding:0}
 .registry-table td:last-child{max-width:100%}.registry-table .status{font-size:var(--forma-small)}.registry-subject{font-size:var(--forma-font)}
 .document-summary{padding:14px;gap:12px}.document-next-action{padding:12px}.document-next-action>.btn,.document-next-action>form{flex:1 1 180px}
 .document-tabs button{padding:12px;font-size:var(--forma-font)}
 .auth-layout{display:flex;flex-direction:column;justify-content:center;gap:16px;padding:20px 16px;min-height:100dvh}
 .auth-brand{max-width:440px}.auth-brand-heading{margin:0}.auth-brand h1,.auth-brand>p,.auth-points{display:none}
 .auth-card{width:100%;max-width:440px;padding:24px}.auth-card h2{font-size:24px}.auth-card>.muted{margin-bottom:18px}.auth-card .eyebrow{font-size:11px}.auth-foot{font-size:14px}
}

@media(max-width:700px){
 .registry-page .page-header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 12px;align-items:center}
 .registry-page .page-header h1{font-size:calc(var(--forma-title) - 4px)}.registry-create{display:contents}
 .registry-create .btn.primary{font-size:var(--forma-small);padding:10px 12px;max-width:155px}
 .registry-create .btn.secondary{grid-column:1/-1;justify-self:start;border:0;background:transparent;padding:6px 0;box-shadow:none;font-size:14px;text-decoration:underline;text-underline-offset:3px}
 .registry-quick{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;white-space:nowrap;padding-bottom:3px}.registry-chip,.registry-reset{flex-shrink:0}
 .document-heading h1{font-size:calc(var(--forma-title) - 4px);line-height:1.3}.document-summary dd{font-size:var(--forma-font)}
 .mobile-bottom{display:flex;justify-content:space-around;gap:2px}.mobile-bottom a{flex:1;min-width:0}.mobile-bottom span{font-size:10px;line-height:1.4}
 .auth-card h2{margin:0 0 20px}.auth-card .form-stack{gap:18px}
}

/* action-queue.css */
.work-scopes{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 20px}.work-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:24px}.work-summary>a{border:1px solid var(--border);border-radius:12px;padding:18px 20px;background:var(--surface);color:var(--text)}.work-summary span{display:block;color:var(--muted);line-height:1.5}.work-summary strong{display:block;font-size:1.9rem;margin-top:6px;font-variant-numeric:tabular-nums}.work-summary .work-urgent{border-color:#edcda4;background:#fff7ec}.work-summary>a:hover{border-color:#8eafd2;background:var(--blue-soft)}.work-filters{display:grid;grid-template-columns:minmax(200px,2fr) minmax(160px,1fr) minmax(150px,1fr) auto;align-items:end;gap:12px;margin-bottom:18px}.work-filters label{min-width:0}.work-filters input,.work-filters select{width:100%;min-width:0}.work-filters button{margin-bottom:0}.work-item>div{overflow-wrap:anywhere}.work-item .work-person,.work-item .work-detail{margin-top:6px}.work-item-urgent{border-left:3px solid #b17b28;padding-left:16px}.work-due{display:inline-flex;margin-left:8px;font-size:.8rem;font-weight:600;color:#34689e}.work-due-late{color:#93601d}.work-empty{padding:20px 0}.work-empty .text-link{display:inline-block;margin:12px}.work-home-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.registry-next-action{display:inline-block;margin-top:9px;font-size:.84rem;font-weight:650;line-height:1.5;overflow-wrap:anywhere}.work-list .day-item:first-child{border-top:0;padding-top:4px}.work-list .day-item:last-child{padding-bottom:4px}.registry-chip>span{font-variant-numeric:tabular-nums;margin-left:5px;opacity:.75}.work-note{font-size:.85rem;line-height:1.6}
body[data-density=compact] .work-item{padding-top:12px;padding-bottom:12px}
@media(max-width:1100px){.work-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.work-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.work-filters{grid-template-columns:minmax(0,1fr)}.work-summary{gap:9px}.work-summary>a{padding:13px}.work-summary span{font-size:.9rem}.work-summary strong{font-size:1.6rem}.work-list{padding:16px}.work-item .btn{white-space:normal;text-align:left;justify-content:space-between}.work-home-heading .btn{width:100%}}

/* account.css */
.form-stack label.remember-signin{display:flex;flex-direction:row;align-items:flex-start;gap:10px;cursor:pointer;font-weight:500;line-height:1.4}
.remember-signin input[type=checkbox]{flex:0 0 auto;width:18px;height:18px;margin:3px 0 0;accent-color:var(--accent,#356d9f)}
.remember-signin small{display:block;color:var(--muted,#68788a);font-size:.85rem;font-weight:400;margin-top:3px}

/* quality.css */
/* Readable secondary text and visible keyboard focus across the workspace. */
.empty-state-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}
.registry-empty{max-width:720px;padding:32px 18px;line-height:1.65}
.registry-empty h2{font-size:22px;line-height:1.35;margin-bottom:12px}
.registry-empty p{color:#4c6075;font-size:15px}
.registry-table .registry-meta,.document-file-item small{line-height:1.65}
.organization-context strong{overflow-wrap:anywhere}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #2b62cc;outline-offset:3px}
.btn:disabled,button:disabled{cursor:not-allowed;opacity:.68}
.document-tabs button[aria-selected=true]{background:#eef3ff;border-radius:8px 8px 0 0}
.document-file-actions a,.registry-peek{display:inline-block;min-height:28px;padding-top:3px;text-underline-offset:4px}
@media(max-width:700px){.empty-state-actions{flex-direction:column}.empty-state-actions .btn{width:100%}.registry-empty{padding:24px 4px}.registry-empty h2{font-size:20px}}

/* workspace-polish.css */
/* Shared workspace layout; respects each user's text size and row density. */
body{--muted:#56677d;--border:#dfe6ef;--surface:#fff;--bg:#f4f7fb;--forma-accent:#2854cf;background:var(--bg)}
.page-inner{max-width:1500px;padding:28px 34px 48px}
.page-inner h1{line-height:1.25;letter-spacing:-.025em;max-width:1050px}
.page-inner h2{line-height:1.35;letter-spacing:-.015em}
.page-inner h3{line-height:1.45}
.page-inner p,.page-inner li{line-height:1.65}
.page-header,.section-header{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:16px 24px;margin:0 0 24px}
.page-header>div:first-child,.section-header>div:first-child{min-width:0;flex:1 1 340px}
.page-header .subtitle,.section-header .subtitle,.section-intro{max-width:800px;font-size:var(--forma-small);line-height:1.6;color:var(--muted);margin-top:8px}
.eyebrow{font-size:11px;letter-spacing:.075em;font-weight:700;color:#516b93}
.section-actions,.section-toolbar,.page-header>.actions,.form-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.section-actions{flex:0 1 auto}.section-actions form,.section-toolbar form{margin:0}
.section-toolbar{padding:16px 18px;background:#fff;border:1px solid var(--border);border-radius:12px;margin-bottom:20px}
.section-toolbar input,.section-toolbar select{min-width:0;max-width:100%}
.panel,.form-card{padding:22px;border:1px solid var(--border);border-radius:14px;box-shadow:0 2px 8px #17325705;min-width:0}
.panel+.panel,.section-empty+.panel{margin-top:20px}
.panel h2:last-child,.panel p:last-child,.form-card p:last-child{margin-bottom:0}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border-radius:9px;padding:10px 16px;font-weight:600;line-height:1.4;text-align:center;box-shadow:none;transition:background-color .12s,border-color .12s}
.btn.primary{background:#2854cf;border-color:#2854cf;color:#fff}.btn.primary:hover{background:#1e43ae;border-color:#1e43ae;color:#fff}
.btn.secondary{background:#fff;border:1px solid #cfdae8;color:#294464}.btn.secondary:hover{background:#f0f4fb;border-color:#a8bedc;color:#18395d}
.btn.danger{background:#fff4f4;color:#9c292f;border-color:#eac3c5}.btn:disabled,button:disabled{opacity:.7;cursor:not-allowed}
.text-link,.link-arrow,.viewer-download{color:#2456ac;text-decoration:underline;text-underline-offset:4px}
.page-inner input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.page-inner select,.page-inner textarea{border:1px solid #bdcadd;border-radius:8px;min-height:44px;background-color:#fff;color:var(--text);line-height:1.45;max-width:100%}
.page-inner input::placeholder,.page-inner textarea::placeholder{color:#67768a;opacity:1}
.page-inner textarea{resize:vertical;min-height:94px}
.page-inner input[readonly],.page-inner select:disabled{background:#eef2f7;color:#536378}
.form-grid,.form-row{gap:18px 22px}.form-stack{gap:20px}
.form-grid label,.form-stack label{font-size:var(--forma-small);font-weight:600;line-height:1.5;min-width:0}
.form-stack label>small,.form-grid label>small{font-weight:400;line-height:1.55}
.form-actions{border-top:1px solid var(--border);padding-top:18px;margin-top:8px}
.form-stack fieldset{min-width:0;border:1px solid var(--border);border-radius:12px;padding:18px;margin:0}
.form-stack legend{padding:0 7px;font-size:var(--forma-font);font-weight:650;color:#254467}
.filters,.search-row,.simple-task-filters{gap:10px;flex-wrap:wrap}
.filters label,.search-row label{min-width:180px;flex:1}.filters select{min-height:44px}
.section-toolbar.filters>input:not([type=checkbox]):not([type=radio]){width:auto;flex:1 1 260px}
.section-toolbar.filters>select{width:auto;flex:0 1 230px}
.page-inner input[type=checkbox],.page-inner input[type=radio]{width:18px;height:18px;min-width:18px;min-height:18px;max-width:18px;padding:0;flex:0 0 18px;accent-color:#2854cf}
.page-inner label:has(>input[type=checkbox]),.page-inner label:has(>input[type=radio]){display:flex;flex-direction:row;align-items:flex-start;gap:10px;min-height:36px}
.section-toolbar>label:has(>input[type=checkbox]){flex:0 1 auto;align-items:center;margin:0}
.data-table{font-size:var(--forma-small);line-height:1.55}
.data-table th{font-size:var(--forma-small);text-transform:none;letter-spacing:0;color:#405675;background:#f3f6fb;padding:13px 14px}
.data-table td{padding:var(--forma-row) 14px;vertical-align:top;overflow-wrap:anywhere}
.data-table strong{font-size:var(--forma-font);font-weight:600}.data-table td small{display:block;line-height:1.55}
.data-table tbody>tr:nth-child(even){background:#fbfcfe}.data-table tbody>tr:hover{background:#f2f6fd}
.table-scroll{max-width:100%;overflow:auto;overscroll-behavior-x:contain;border-radius:12px}
.status{font-weight:600;font-size:var(--forma-small);line-height:1.45;white-space:nowrap;overflow-wrap:normal;word-break:normal;border-radius:7px}
.data-table td:has(>.status){min-width:140px}
.section-empty,.empty-state{padding:32px 24px;text-align:left;border:1px dashed #c7d4e6;border-radius:14px;background:#fafcff;line-height:1.65}
.section-empty h2,.empty-state strong{font-size:calc(var(--forma-font) + 4px);color:#27496e}
.section-empty p,.empty-state p{color:var(--muted);max-width:700px;margin:10px 0 0}
.empty-state-actions{gap:10px}.empty-state-actions .btn{margin-top:0}
.directory-item,.case-document,.user-item{gap:14px;align-items:flex-start}
.directory-item .item-grow,.case-document>div,.user-item .item-grow{min-width:0}
.directory-item strong,.user-item strong,.task-title a,.form-card h2{overflow-wrap:anywhere}
.task-title{gap:16px;align-items:flex-start}.task-title>div{min-width:0}
.task-title .status{flex:0 0 auto;max-width:180px}.task-card .complete-form{margin-top:18px;padding-top:16px;border-top:1px solid var(--border)}
.task-card .result-box,.review-note{font-size:var(--forma-small);line-height:1.6}
.form-card-meta{font-size:var(--forma-small);line-height:1.5}.form-card h2{font-size:calc(var(--forma-font) + 4px)}
.document-tabs{border-bottom:1px solid #ced9e9}.document-tabs button{min-height:46px}
.document-summary{background:#edf3fc;border:1px solid #dae5f5}
.sidebar .nav-link,.nav-more>summary{border-radius:8px}.sidebar .nav-link.active{background:#eaf0ff;color:#204b9e}
.sidebar-org{border:1px solid #e1e8f2;background:#f7f9fd!important}.sidebar-org small{color:#63758c}
.page-footer{font-size:var(--forma-small);color:#607189;padding-top:18px}
.profile-settings-grid,.template-start-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:start}
.profile-settings-grid>.panel,.template-start-grid>.panel{margin:0}.host-health-value{font-size:22px;font-weight:650;color:#126b59;overflow-wrap:anywhere}
@media(max-width:1100px){.page-inner{padding:24px}.page-header>div:first-child,.section-header>div:first-child{flex-basis:280px}.section-actions{justify-content:flex-start}.table-scroll .data-table{min-width:660px}}
@media(max-width:700px){
 .page-inner{padding:20px 16px 34px}.panel,.form-card{padding:18px;border-radius:12px}
 .page-header,.section-header{gap:14px;margin-bottom:20px}.page-header>div:first-child,.section-header>div:first-child{flex-basis:100%}
 .section-actions{width:100%}.section-actions .btn,.page-header .section-actions .btn{flex:1 1 150px;overflow-wrap:normal;word-break:normal}.section-actions form{flex:1 1 150px}.section-actions form .btn{width:100%}
 .section-toolbar{padding:14px;gap:12px}.section-toolbar label,.section-toolbar input,.section-toolbar select{width:100%;max-width:none}
 .section-toolbar>.btn{flex:1}.section-toolbar.filters>label:not(:has(>input[type=checkbox])):not(:has(>input[type=radio])){flex:1 1 100%;min-width:0}.section-toolbar.filters>.btn{flex:1 1 100%;overflow-wrap:normal;word-break:normal}.form-grid,.form-row{grid-template-columns:minmax(0,1fr);gap:18px}.form-grid .full{grid-column:auto}
 .form-actions .btn,.form-actions>form{flex:1 1 150px}.form-actions>form .btn{width:100%}
 .data-table:has(td[data-label]),.data-table:has(td[data-label]) tbody{display:block}
 .data-table:has(td[data-label]) thead{position:absolute;clip-path:inset(100%);height:1px;width:1px;overflow:hidden}
 .data-table:has(td[data-label]) tr{display:block;border-bottom:1px solid var(--border);padding:14px 0}
 .data-table:has(td[data-label]) td{display:grid;grid-template-columns:minmax(100px,.7fr) minmax(0,1.3fr);gap:10px;padding:6px 10px;border:0}
 .data-table:has(td[data-label]) td::before{content:attr(data-label);font-size:var(--forma-small);color:var(--muted);white-space:normal;overflow-wrap:anywhere}
 .data-table:has(td[data-label]) td>*{min-width:0}.table-scroll:has(td[data-label]) .data-table{min-width:0}
 .task-title{flex-wrap:wrap}.task-title .status{max-width:100%}.complete-form{flex-direction:column;align-items:stretch}.complete-form>label{width:100%}
 .document-item{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:start;gap:10px 13px}.document-item>.item-grow{min-width:0}.document-item>.status{grid-column:2;justify-self:start;max-width:100%;white-space:normal}
 .mobile-bottom span{font-size:11px}.section-empty,.empty-state{padding:24px 18px}
 .organization-context .btn{flex-shrink:0;white-space:nowrap}
 .profile-settings-grid,.template-start-grid{grid-template-columns:minmax(0,1fr);gap:18px}
}
@media(prefers-reduced-motion:reduce){.btn{transition:none}}

/* forma-tokens.css */
/* FORMA design system v1. Values aligned with FORMA.ERD 0.44.1 (forma039.css).
   Product-neutral tokens: every module supplies its own content and identity. */
:root{
 --forma-color-bg:#f3f6fa;--forma-color-surface:#fff;--forma-color-ink:#20364d;
 --forma-color-muted:#52667b;--forma-color-line:#d8e2ec;
 --forma-color-accent:#245f99;--forma-color-accent-hover:#194e81;--forma-color-accent-soft:#e9f2fb;
 --forma-color-good:#236c4a;--forma-color-good-bg:#eaf6ee;
 --forma-color-warning:#86560c;--forma-color-warning-bg:#fff4dc;
 --forma-color-danger:#ae3542;--forma-color-danger-bg:#fff0f2;
 --forma-color-nav:#192f47;--forma-color-nav-text:#d9e6f4;
 --forma-color-nav-active:#dcecff;--forma-color-nav-active-text:#173f68;
 --forma-color-focus:#216aaa;
 --forma-radius-control:8px;--forma-radius-card:10px;
 --forma-shadow:0 2px 7px #19354c05;--forma-sidebar-width:224px;
 --forma-font-family:"Segoe UI",Arial,sans-serif;
}

/* forma-module.css */
/* Document module adapter for the common FORMA design system.
   Screen rules leave document output/print layouts untouched. */
@media screen{
 body{--bg:var(--forma-color-bg);--surface:var(--forma-color-surface);--text:var(--forma-color-ink);--muted:var(--forma-color-muted);--border:var(--forma-color-line);--blue:var(--forma-color-accent);--accent:var(--forma-color-accent);--teal:var(--forma-color-accent);--blue-hover:var(--forma-color-accent-hover);--blue-soft:var(--forma-color-accent-soft);--forma-accent:var(--forma-color-accent);--forma-font:15px;--forma-small:13px;--shadow:var(--forma-shadow);background:var(--bg);color:var(--text);font-family:var(--forma-font-family);line-height:1.55;accent-color:var(--accent)}
 body[data-text-size=large]{--forma-font:18px;--forma-small:15px}body[data-text-size=larger]{--forma-font:20px;--forma-small:17px}
 a,.text-link,.link-arrow,.registered-number,.breadcrumbs a,.viewer-download,.version-history summary,.new-revision summary,.template-creation summary{color:var(--accent)}
 a:hover{color:var(--blue-hover)}
 .sidebar{background:var(--surface);border-color:var(--border);padding:26px 14px 20px}
 .brand{gap:10px;padding:0 4px 24px}.brand-mark{width:42px;height:42px;flex:0 0 42px;background:transparent;border-radius:10px;overflow:visible}
 .brand-mark img{position:static;display:block;width:42px;height:42px;max-width:100%;object-fit:contain}
 .brand .brand-name strong{font-size:22px;font-weight:650;letter-spacing:-.7px}.brand .brand-name small{font-size:11px;line-height:1.5;color:var(--muted)}
 .sidebar-section{padding:12px 10px 10px;font-size:10px;font-weight:600;color:var(--muted);letter-spacing:1px}
 .nav-list{gap:6px}.sidebar .nav-link{min-height:44px;padding:11px 13px;gap:11px;border:1px solid transparent;border-radius:10px;font-size:calc(var(--forma-font) - 1px);font-weight:500;color:#3d526c}
 .sidebar .nav-link .ui-icon{width:18px;height:18px}.sidebar .nav-link:hover{color:var(--accent);background:#f0f5fb}
 .sidebar .nav-link.active{background:#e8f1fc;color:#18568f;box-shadow:inset 3px 0 var(--accent);font-weight:650}
 .nav-more>summary{min-height:44px;padding:11px 13px;border-radius:10px;font-size:calc(var(--forma-font) - 1px);color:#3d526c;background:transparent}
 .nav-more[open]>summary{background:#f0f5fb}.sidebar-org{background:#f5f8fc!important;border-color:var(--border);border-radius:11px;margin-bottom:16px}.sidebar-org span{font-size:var(--forma-small);font-weight:600}
 .sidebar-bottom{border-top:1px solid var(--border);margin-top:20px;padding-top:10px}.sidebar-version{font-size:11px;color:var(--muted)}.logout-btn{font-size:var(--forma-small)}
 .forma-app-header{display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:60px;padding:10px 32px;border-bottom:1px solid var(--border);background:#fff}
 .forma-app-title{font-size:12px;color:var(--muted);line-height:1.55}.forma-app-title strong{display:block;font-size:14px;font-weight:600;color:var(--text)}
 .forma-app-context{display:flex;align-items:center;gap:12px;min-width:0;flex:1 1 auto}.forma-app-context .forma-app-title{min-width:0}.forma-app-title strong{overflow-wrap:anywhere}.forma-context-switch{display:inline-flex;align-items:center;gap:5px;flex:0 0 auto;padding:6px 10px;min-height:36px;font-size:12px;border:1px solid #cad7e6;border-radius:9px;text-decoration:none;background:#fff;color:#294662}.forma-context-switch .ui-icon{width:13px;height:13px}.forma-context-switch:hover{background:var(--blue-soft)}
 .forma-profile{position:relative;min-width:0}.forma-profile>summary{display:flex;align-items:center;gap:10px;min-height:40px;list-style:none;cursor:pointer;color:var(--text);font-size:13px}.forma-profile>summary::-webkit-details-marker{display:none}
 .forma-profile-copy{min-width:0;max-width:260px;overflow-wrap:anywhere}.forma-profile-copy strong{display:block;font-size:13px;font-weight:600}.forma-profile-copy small{font-size:12px;color:var(--muted)}
 .forma-profile .avatar{width:36px;height:36px;flex:0 0 36px;border:0;background:var(--blue-soft);color:var(--accent)}
 .forma-profile-menu{position:absolute;right:0;top:calc(100% + 10px);width:240px;z-index:26;background:#fff;padding:8px;border:1px solid var(--border);border-radius:12px;box-shadow:0 10px 28px #20334b24}
 .forma-profile-menu a,.forma-profile-menu button{display:block;width:100%;padding:10px 12px;border:0;border-radius:8px;background:#fff;text-align:left;text-decoration:none;color:var(--text);font:inherit;font-size:14px}
 .forma-profile-menu a:hover,.forma-profile-menu button:hover{background:var(--blue-soft);color:var(--accent)}.forma-profile-menu form{margin:0}
 .page-inner{max-width:1680px;padding:20px 32px 44px}.page-inner h1{color:#1e334e;font-weight:650;font-size:var(--forma-title);line-height:1.22;letter-spacing:-.7px}.page-inner h2{font-size:calc(var(--forma-font) + 4px);font-weight:650;line-height:1.4;letter-spacing:-.2px}.page-inner h3{font-size:calc(var(--forma-font) + 1px);font-weight:600}
 .page-header,.section-header{gap:20px;margin-bottom:24px}.eyebrow{color:var(--accent);font-size:11px;font-weight:650;letter-spacing:1px}.section-intro,.subtitle{color:var(--muted);font-size:calc(var(--forma-font) - 1px)}
 .organization-context{background:#fff;border:1px solid #d3dfed;border-radius:11px;padding:9px 15px;gap:14px;margin-bottom:16px;min-height:54px;box-shadow:none;flex-wrap:nowrap}.organization-context>div{display:flex;align-items:center;gap:12px;flex:1 1 auto;min-width:0}.organization-context .eyebrow{font-size:10px;letter-spacing:.7px;color:var(--muted);flex:0 0 auto}.organization-context strong{font-size:calc(var(--forma-font) - 1px);font-weight:600;line-height:1.45;margin-top:0;min-width:0}.organization-context .btn{font-size:var(--forma-small);min-height:36px;padding:7px 12px;flex:0 0 auto}
 .btn{border-radius:var(--forma-radius-control);padding:10px 15px;min-height:42px;font-size:calc(var(--forma-font) - 1px);line-height:1.4;font-weight:600;box-shadow:none}
 .btn.primary{background:var(--accent);color:#fff;border-color:var(--accent)}.btn.primary:hover{background:var(--blue-hover);border-color:var(--blue-hover)}
 .btn.secondary{background:#fff;color:#294662;border-color:#cad7e6}.btn.secondary:hover{background:#f0f5fb;border-color:#9ab5d4;color:var(--accent)}
 .btn.danger{background:#fff;color:var(--forma-color-danger);border-color:#e6bec5}.btn.danger:hover{background:var(--forma-color-danger-bg);border-color:#cc8b97}
 :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #347cc2;outline-offset:3px}
 .page-inner input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.page-inner select,.page-inner textarea{min-height:44px;padding:10px 12px;border-color:#b7c7d9;border-radius:9px;font-size:var(--forma-font);line-height:1.4;color:var(--text);background:#fff}
 .page-inner input::placeholder,.page-inner textarea::placeholder{color:#60738a}.page-inner input[readonly],.page-inner select:disabled{background:#f3f6fa;color:#4b6179;border-color:#d5dfe9}
 .form-grid label,.form-stack label{font-size:var(--forma-small);font-weight:600;color:#3c526d}.form-grid,.form-row{gap:20px 18px}.form-actions{gap:10px;padding-top:18px}.form-stack legend{font-size:var(--forma-small);font-weight:600;color:#344f6e}
 .panel,.form-card,.metric,.journal-card,.case-tile{border:1px solid var(--border);border-radius:var(--forma-radius-card);background:#fff;box-shadow:var(--shadow)}.panel,.form-card{padding:23px 24px}
 .section-toolbar{border-color:var(--border);border-radius:11px}.section-toolbar.filters{box-shadow:none}.info-note,.document-summary,.recovery-bar{color:#315b7f;background:#edf4fc;border-color:#d0e1f4;border-radius:11px}
 .data-table{font-size:calc(var(--forma-font) - 1px);line-height:1.5}.data-table th{font-size:calc(var(--forma-small) - 1px);font-weight:650;color:#425b77;background:#f3f6fa;padding:13px 16px;border-color:var(--border)}.data-table td{font-size:calc(var(--forma-font) - 1px);line-height:1.5;padding:var(--forma-row) 16px;border-color:#e5ebf2}.data-table strong{font-size:var(--forma-font);font-weight:600}
 .data-table tbody>tr:nth-child(even){background:#fafcfe}.data-table tbody>tr:hover{background:#f0f5fc}.data-table .num-cell,.data-table .link-arrow{color:var(--accent)}
 .status{background:#eaf2fb;color:#255b8a;border-radius:7px;font-size:var(--forma-small);padding:4px 9px;font-weight:600}.status.registered,.status.done{background:var(--forma-color-good-bg);color:var(--forma-color-good)}.status.annulled,.status.overdue{background:var(--forma-color-danger-bg);color:var(--forma-color-danger)}
 .metric{padding:20px 22px;border-top-width:1px}.metric-value{font-size:30px;font-weight:650;color:#223f60;font-variant-numeric:tabular-nums}.metric-label,.metric-sub{font-size:var(--forma-small);color:var(--muted)}
 .metric-value.host-health-value{font-size:clamp(18px,calc(var(--forma-font) + 5px),24px);white-space:nowrap;overflow-wrap:normal}
 .workday-header{align-items:center;margin-bottom:16px;gap:12px 20px}.workday-header h1{margin:0}.workday-header .subtitle{margin:4px 0 0;font-size:var(--forma-small);line-height:1.4}.day-action-short{display:none}
 .day-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border:1px solid var(--border);border-radius:12px;background:#fff;overflow:hidden;margin:0 0 18px}
 .day-metric{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:12px;min-height:62px;padding:12px 16px;border:0;border-right:1px solid var(--border);border-radius:0;box-shadow:none;background:transparent}
 .day-metric:last-child{border-right:0}.day-metric>span{font-size:var(--forma-small);line-height:1.4;color:var(--muted);min-width:0}.day-metric>span .ui-icon{display:none}.day-metric>strong{font-size:24px;line-height:1.2;margin:0;color:var(--text);font-variant-numeric:tabular-nums}
 .day-metric.day-urgent{background:#fff6e7}.day-metric.day-urgent>span,.day-metric.day-urgent>strong{color:#805315}.day-metric:hover{background:#f0f5fb;box-shadow:none;transform:none}
 .day-queue{padding:18px 20px}.day-queue .section-heading{margin-bottom:12px}
 .account-directory .user-item{flex-wrap:wrap;align-items:center;gap:10px}.account-directory .item-grow{flex:1 1 100%;min-width:0}.account-directory .user-item>a,.account-directory .user-item>form{flex:0 1 auto;max-width:100%;margin:0}
 .document-tabs button{font-size:calc(var(--forma-font) - 1px);font-weight:600;color:var(--muted)}.document-tabs button[aria-selected=true]{color:var(--accent);background:var(--blue-soft);border-bottom-color:var(--accent)}
 .section-empty,.empty-state{border-color:#cbd9e7;border-radius:14px;background:#fafcfe}.section-empty h2,.empty-state strong{color:var(--text)}
 .pill.active,.quick-filter.active,.registry-options a.active,.registry-scope a.active{background:var(--blue-soft);color:var(--accent);border-color:#b9cfe8}
 .auth-layout{background:var(--bg)}.auth-brand h1{color:var(--text);font-weight:650}.auth-card{border-color:var(--border);border-radius:16px;box-shadow:var(--shadow)}.auth-brand-heading .brand-mark{width:42px;height:42px;flex-basis:42px}
 .page-footer{font-size:12px;color:var(--muted)}.mobile-bottom a[aria-current]{color:var(--accent)}
}
@media screen and (min-width:791px){.sidebar{width:var(--forma-sidebar-width)}.main-content{margin-left:var(--forma-sidebar-width)}.sidebar-org,.sidebar-bottom .user-mini,.sidebar-bottom>form,.page-inner>.organization-context{display:none}}
@media screen and (max-width:1100px) and (min-width:791px){.page-inner{padding:24px}.forma-app-header{padding-left:24px;padding-right:24px}}
@media screen and (max-width:790px){
 .forma-app-header{display:none}.brand{padding-right:28px}.mobile-brand .brand-mark,.mobile-brand .brand-mark img{width:36px;height:36px;flex-basis:36px}
 .page-inner{padding:16px 16px 34px}.panel,.form-card{padding:18px}.btn{min-height:44px}.organization-context{padding:10px 12px;gap:10px}.organization-context>div{display:block;flex:1 1 auto}.organization-context .eyebrow{display:none}.organization-context strong{font-size:var(--forma-small)}
 .workday-header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;margin-bottom:14px}.workday-header>div:first-child{min-width:0}.workday-header h1{font-size:calc(var(--forma-title) - 3px)}.workday-header .subtitle{display:none}.workday-header .section-actions{width:auto;flex:0 0 auto}.workday-header .section-actions .btn{flex:0 0 auto;min-height:42px;padding:8px 10px;font-size:13px;gap:5px}.workday-header .section-actions .btn .ui-icon{width:16px;height:16px}.day-action-full{display:none}.day-action-short{display:inline}
 .day-metrics{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:16px}.day-metric{min-height:56px;padding:10px 12px;gap:8px;border-bottom:1px solid var(--border)}.day-metric:nth-child(even){border-right:0}.day-metric:nth-last-child(-n+2){border-bottom:0}.day-metric>strong{font-size:22px}.day-queue{padding:16px}
 .data-table:has(td[data-label]) td{font-size:calc(var(--forma-font) - 1px);padding:6px 10px}.data-table:has(td[data-label]) td::before{font-size:var(--forma-small)}
 .page-inner input:not([type=checkbox]):not([type=radio]),.page-inner select,.page-inner textarea{font-size:max(16px,var(--forma-font))}
}
@media screen and (prefers-reduced-motion:reduce){.btn{transition:none}}
@media screen and (forced-colors:active){.btn,.panel,.status{border:1px solid CanvasText}.sidebar .nav-link.active{outline:2px solid Highlight;outline-offset:-2px}}
@media print{.forma-app-header{display:none!important}}

/* page-compact.css */
/* Compact section headers share the FORMA module foundation. Print is unchanged. */
@media screen {
 .page-header:not(.workday-header),.section-header:not(.workday-header){gap:12px 18px;margin-bottom:14px;align-items:center}
 .page-header:not(.workday-header) .eyebrow,.section-header:not(.workday-header) .eyebrow{display:none}
 .page-header:not(.workday-header) h1,.section-header:not(.workday-header) h1{font-size:calc(var(--forma-title) - 2px);margin:0}
 .page-header .subtitle,.section-header .section-intro{margin:4px 0 0;font-size:var(--forma-small);line-height:1.4}
 .breadcrumbs{margin:0 0 8px;font-size:var(--forma-small);line-height:1.4}
 .section-toolbar{padding:12px 14px;margin-bottom:14px;gap:10px 12px}
 .section-toolbar label{font-size:var(--forma-small);line-height:1.4}
 .work-scopes{gap:8px;margin-bottom:12px}
 .queue-header{flex-wrap:wrap}.queue-header .work-scopes{margin:0;flex:1 1 auto;justify-content:center}.queue-result-tools{display:flex;align-items:center;gap:10px 16px;flex-wrap:wrap;margin-bottom:12px}.queue-result-tools .registry-quick{flex:1 1 auto;margin:0}.queue-result-tools .registry-toolbar{margin:0}
 .work-filter-drawer>summary{display:none}
 .work-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin-bottom:14px;border:1px solid var(--border);border-radius:12px;background:#fff;overflow:hidden}
 .work-summary>a{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:56px;padding:10px 14px;border:0;border-right:1px solid var(--border);border-radius:0;background:transparent}
 .work-summary>a:last-child{border-right:0}.work-summary span{font-size:var(--forma-small);line-height:1.4}.work-summary strong{font-size:24px;line-height:1.2;margin:0}.work-summary .work-urgent{background:#fff6e7;color:#805315}
 .registry-quick{gap:6px;margin-bottom:12px}.registry-toolbar{gap:8px 12px;margin-bottom:10px}.registry-toolbar>p{margin:0}.registry-options>summary{font-size:var(--forma-small)}
 .document-heading{gap:10px;margin-bottom:12px}.document-heading h1{font-size:calc(var(--forma-title) - 2px);line-height:1.3;margin:0}.document-heading .subtitle{margin:4px 0 0;font-size:var(--forma-small);line-height:1.4}
 .document-summary{padding:12px 16px;margin:0 0 12px;gap:10px 18px}.document-summary dt{font-size:var(--forma-small);margin-bottom:3px}.document-summary dd{font-size:var(--forma-font);line-height:1.4}.document-badges{margin-bottom:10px;gap:6px}
 .document-next-action{padding:12px 14px;margin-bottom:12px;gap:8px}.document-tabs{margin-bottom:14px;gap:4px}.document-tabs button{padding:9px 13px;min-height:40px}
 .compact-template-picker{padding:0;margin-bottom:14px}.compact-template-picker>summary{padding:14px 18px;cursor:pointer;font-size:var(--forma-font);font-weight:600;color:var(--text)}.compact-template-picker>summary small{font-size:var(--forma-small);font-weight:400;color:var(--muted);margin-left:8px}.compact-template-picker[open]>summary{border-bottom:1px solid var(--border)}.compact-template-body{padding:16px 18px}.compact-template-body>p{margin-top:0}.compact-template-body .form-card{padding:14px 16px}.compact-template-body h3{margin-top:0}
 .own-library .library-toolbar{gap:10px 16px;margin-bottom:14px}.own-library .library-toolbar>div{flex:1 1 280px}.own-library .library-toolbar h2{margin:0 0 4px}.own-library .library-toolbar p{margin:0}.own-library .library-toolbar form.filters{display:flex;align-items:center;flex-wrap:wrap;width:auto;flex:0 1 auto;gap:8px;margin:0;padding:10px 12px}.own-library .library-toolbar form.filters select{width:auto;max-width:100%}
}
@media screen and (min-width:791px){
 .page-inner .section-toolbar input:not([type=checkbox]):not([type=radio]),.page-inner .section-toolbar select{min-height:40px;padding:8px 11px}.section-toolbar .btn{min-height:40px;padding:8px 13px}
 .registry-chip{min-height:36px;padding:7px 12px}.registry-toolbar .btn{min-height:36px;padding:7px 11px}
 .queue-header .subtitle{max-width:300px}.work-filters.section-toolbar{padding:10px 14px}
}
@media screen and (max-width:790px){
 .panel,.form-card,.metric,.journal-card,.case-tile{box-shadow:none}.nav-backdrop{backdrop-filter:none}a,button,summary{touch-action:manipulation}
 .page-header:not(.workday-header),.section-header:not(.workday-header){gap:10px;margin-bottom:12px}
 .section-toolbar{padding:12px}.work-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.work-summary>a{padding:10px 12px;border-bottom:1px solid var(--border)}.work-summary>a:nth-child(even){border-right:0}.work-summary>a:nth-last-child(-n+2){border-bottom:0}.work-summary strong{font-size:22px}
 .registry-chip,.registry-toolbar .btn{min-height:44px}.document-summary{padding:12px}.document-tabs button{min-height:44px;padding:10px 12px}.document-next-action{padding:12px}.compact-template-picker>summary{min-height:48px;padding:12px 14px}.compact-template-picker>summary small{display:block;margin:4px 0 0}.compact-template-body{padding:14px}
 .queue-header .work-scopes{order:3;justify-content:flex-start;flex-basis:100%}.queue-result-tools{gap:8px}.own-library .library-toolbar form.filters{width:100%;flex-basis:100%}
 .queue-header>div:first-child{flex:1 1 160px}.queue-header>a.btn{width:auto;flex:0 0 auto;margin-left:auto;min-height:44px;padding:8px 10px;font-size:13px}.queue-header .subtitle{display:none}.work-filter-drawer{margin-bottom:12px;border:1px solid var(--border);border-radius:11px;background:#fff}.work-filter-drawer>summary{display:list-item;cursor:pointer;min-height:46px;padding:11px 14px;font-size:var(--forma-small);font-weight:600;color:var(--accent)}.work-filter-drawer .section-toolbar{margin:0;border:0;border-top:1px solid var(--border);border-radius:0 0 11px 11px}
}
.phone-guide{max-width:760px}.phone-app-icon{display:block;border-radius:20px;margin-bottom:16px}.phone-guide li{margin:10px 0}

/* connections.css */
/* Employee connection help uses the shared FORMA components. */
.connection-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(240px,1fr);gap:18px;align-items:stretch;margin-bottom:18px}
.connection-address-panel{min-width:0}.connection-address-panel h2{margin-top:18px}.connection-address-panel label{display:block;font-size:13px;font-weight:650;margin:18px 0 8px}
.connection-url{width:100%;min-width:0;font-size:14px;padding:12px;color:var(--text);background:var(--bg)}
.connection-buttons{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}.connection-buttons .btn{white-space:normal}
.connection-copy-status{min-height:20px;margin:10px 0;color:var(--muted)}.connection-address-panel>.text-link{display:inline-block;white-space:normal;margin-top:12px}
.connection-qr-panel{text-align:center;display:flex;flex-direction:column;align-items:center}.connection-qr-panel h2{align-self:stretch}.connection-qr{display:block;width:min(100%,250px);height:auto;aspect-ratio:1;background:white}.connection-qr[hidden]{display:none}.connection-qr-panel p{max-width:300px;margin:10px 0 0}
.connection-guides{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.connection-guides>.panel{min-width:0}.connection-steps{padding-left:22px;margin:0 0 16px;line-height:1.6}.connection-steps li+li{margin-top:8px}.connection-guides .text-link{white-space:normal;display:inline-block}
.connection-windows{margin-top:16px;border-top:1px solid var(--border);padding-top:14px}.connection-windows summary{cursor:pointer;font-weight:650;line-height:1.5}.connection-windows p{margin-top:12px}.connection-windows .btn{white-space:normal;max-width:100%}
.connection-host-note,.connection-unavailable{margin-bottom:18px}.connection-host-note{margin-top:18px}
@media(max-width:900px){.connection-grid{grid-template-columns:minmax(0,1fr)}.connection-qr{width:210px}.connection-guides{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){.connection-buttons{flex-direction:column}.connection-buttons .btn{width:100%}.connection-url{font-size:16px}.connection-address-panel h2{margin-top:14px}}

/* web-update.css */
/* Temporary update notice; hidden pages do not reserve any space for it. */
.app-update[hidden]{display:none}
.app-update{position:sticky;top:10px;z-index:18;display:flex;align-items:center;gap:12px;margin:0 0 16px;padding:12px 14px;border:1px solid #b9d0e8;border-radius:11px;background:#f0f6ff;box-shadow:0 4px 16px #20334b0a;color:#203b5a}
.app-update-message{flex:1;min-width:0;font-size:var(--forma-small,14px);line-height:1.4}.app-update-actions{display:flex;flex-shrink:0;gap:8px}.app-update .btn{min-height:44px;padding:8px 12px;white-space:normal}.app-update .btn:disabled{opacity:.55;cursor:default;transform:none}
.guide-intro{max-width:950px}.guide-download{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.guide-download .btn{white-space:normal}
.guide-quick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}.guide-quick-grid>section{min-width:0;padding:18px;border:1px solid var(--border);border-radius:12px;background:#fafcfe}.guide-quick-grid h2{margin-bottom:10px}.guide-quick-grid ol{padding-left:22px;margin-bottom:0;line-height:1.6}.guide-quick-grid li+li{margin-top:7px}.guide-quick-grid .text-link{white-space:normal}
.guide-version{font-size:13px;color:var(--muted)}
@media(max-width:790px){.app-update{top:80px;flex-wrap:wrap;gap:8px;padding:10px 12px}.app-update-message{flex-basis:100%}.app-update-actions{width:100%}.app-update-actions .btn{flex:1}.guide-quick-grid{grid-template-columns:minmax(0,1fr)}}

/* registry-workspace.css */
/* The shared FORMA palette and typography remain the basis of both modules. */
.registry-page[data-registry]{--registry-pane-height:calc(100dvh - 275px)}
.registry-create-short,.registry-mobile-more,.registry-mobile-reset,.registry-views,.registry-peek{display:none}
.registry-page[data-registry] .registry-quick-mobile{display:none}
.registry-page[data-registry] .registry-filters{display:flex;flex-wrap:wrap;align-items:center;padding:10px 12px;margin-bottom:10px;gap:10px 16px}
.registry-page[data-registry] .registry-search{flex:1 1 300px;max-width:600px;min-width:0}.registry-page[data-registry] .registry-options{flex:0 1 auto;min-width:160px}
.registry-page[data-registry] .registry-options[open]{flex:1 1 385px;min-width:0}
.registry-filter-options{grid-template-columns:minmax(0,1fr) minmax(0,.8fr) auto;align-items:end;gap:10px}
.registry-filter-options .btn{width:auto;min-height:43px}
.registry-search-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.registry-page[data-registry] .registry-quick{margin-bottom:8px}.registry-page[data-registry] .registry-preview{margin-top:0}
.registry-preview .viewer-file-title{display:none}
.registry-preview-top{display:flex;gap:12px;align-items:start;justify-content:space-between}.registry-preview-top .registry-number{margin:0;flex:1}.registry-preview-top a{white-space:nowrap;font-size:var(--forma-small)}
.registry-preview-heading h2{font-size:20px;line-height:1.35;margin:10px 0 5px}.registry-preview-heading>p{margin:0 0 14px}
.registry-step{padding:12px;border:1px solid #cbddee;border-radius:10px;background:#f4f8fc;margin:12px 0;display:flex;gap:12px;flex-wrap:wrap;align-items:center}.registry-step>div{flex:1 1 180px;min-width:0}.registry-step strong{font-size:var(--forma-small)}.registry-step p{font-size:var(--forma-small);line-height:1.45;margin:4px 0 0}.registry-step .btn{min-height:44px;white-space:normal;font-size:var(--forma-small)}
.registry-file-picker{display:flex;align-items:end;gap:8px;margin:12px 0}.registry-file-picker label{display:grid;gap:6px;min-width:0;flex:1;font-size:var(--forma-small)}.registry-file-picker select{width:100%;max-width:100%;min-height:42px;font-size:var(--forma-small)}.registry-enhanced [data-file-fallback]{display:none}
.registry-row-meta{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 10px;margin-top:3px;color:var(--muted);font-size:var(--forma-small);line-height:1.4}
.registry-row-meta .registry-peek{margin-left:0}
.registry-preview-loading,.registry-preview-error{padding:25px 0}.registry-preview-error .btn{margin:8px 10px 0 0}.registry-preview[aria-busy=true]{opacity:1}.registry-preview .viewer-controls{gap:8px}.registry-preview .viewer-stage{max-height:55vh}
.document-step-block{display:flex;gap:12px;align-items:center}.document-step-info{flex:1 1 270px;min-width:0}.document-step-info>strong{font-size:var(--forma-small);color:var(--accent)}.document-step-info>p{margin:4px 0 0;font-size:var(--forma-font);line-height:1.5}.document-step-block .btn{min-height:44px;white-space:normal}.document-step-block form{margin:0}
.document-title-toggle[hidden]{display:none}.document-title-toggle{border:0;background:transparent;color:var(--accent);font:inherit;font-size:var(--forma-small);text-align:left;padding:6px 0;min-height:44px;cursor:pointer}
@media(min-width:791px){.document-workspace .document-summary{grid-template-columns:repeat(4,minmax(0,1fr))}.document-step-info>p{font-size:var(--forma-small)}}
@media(min-width:1000px){
 .registry-views{display:inline-flex;align-items:center;gap:3px;padding:3px;margin-right:auto;border:1px solid var(--border);border-radius:9px;background:var(--surface)}
 .registry-views a{display:inline-flex;align-items:center;padding:6px 11px;min-height:33px;border-radius:6px;color:var(--muted);font-size:var(--forma-small);text-decoration:none}
 .registry-views a:hover,.registry-views a[aria-current=true]{background:var(--blue-soft);color:var(--blue-hover)}
 .registry-views a[aria-current=true]{font-weight:650}
 .registry-layout[data-layout=split]:not(.empty){display:grid;grid-template-columns:minmax(270px,.82fr) minmax(330px,1.18fr);gap:16px;align-items:start}
 .registry-layout[data-layout=split]>.registry-preview{display:block;position:sticky;top:10px;padding:16px;max-height:calc(100dvh - 40px);overflow-y:auto;overscroll-behavior:contain}
 .registry-layout[data-layout=split]>.registry-list{max-height:max(400px,var(--registry-pane-height));overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
 .registry-layout[data-layout=split] .registry-table,.registry-layout[data-layout=split] .registry-table tbody{display:block}
 .registry-layout[data-layout=split] .registry-table thead{display:none}
 .registry-layout[data-layout=split] .registry-table tr{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;padding:12px 14px;border-bottom:1px solid var(--border)}
 .registry-layout[data-layout=split] .registry-table td{display:block;padding:0;border:0;min-width:0}
 .registry-layout[data-layout=split] .registry-table td:nth-child(2){display:flex;flex-wrap:wrap;gap:4px 10px;align-items:baseline}
 .registry-layout[data-layout=split] .registry-assignee{font-size:var(--forma-small);line-height:1.4}.registry-layout[data-layout=split] .registry-deadline{margin:0;display:inline-flex;gap:5px}.registry-layout[data-layout=split] .registry-deadline strong{display:inline}
 .registry-layout[data-layout=split] .registry-table td:last-child{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.registry-layout[data-layout=split] .registry-table td:last-child br{display:none}
 .registry-layout[data-layout=split] .registry-subject{font-size:var(--forma-font);line-height:1.45;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
 .registry-layout[data-layout=split] .registry-meta{font-size:var(--forma-small);line-height:1.45}
 .registry-layout[data-layout=split] .registry-peek{display:inline}
 .registry-layout[data-layout=split] .registry-file-count{display:none}
 .registry-layout[data-layout=split] .registry-next-action{margin-top:0}
 .registry-layout[data-layout=list]{grid-template-columns:minmax(0,1fr)}.registry-layout[data-layout=list]>.registry-preview{display:none}.registry-layout[data-layout=list] .registry-peek{display:none}
}
@media(max-width:999px){.registry-layout[data-layout]{grid-template-columns:minmax(0,1fr)}.registry-layout[data-layout]>.registry-preview,.registry-peek{display:none!important}}
@media(max-width:790px){.document-step-info{flex-basis:100%}.document-step-block>.btn,.document-step-block>form{flex:1 1 140px}.document-step-block form .btn{width:100%}.document-step-info>p{font-size:var(--forma-small)}.registry-create>.btn{min-height:44px}}
@media(max-width:790px){
 .registry-page[data-registry] .registry-create{position:relative;width:auto!important;display:flex;flex-wrap:nowrap;gap:8px}
 .registry-create-long,.registry-create-desktop{display:none!important}
 .registry-create-short{display:inline}
 .registry-mobile-more{display:block}
 .registry-mobile-more>summary{display:flex;align-items:center;justify-content:center;cursor:pointer;min-height:44px;padding:0 11px;border:1px solid var(--border);border-radius:9px;background:var(--surface);font-size:var(--forma-small);list-style:none}
 .registry-mobile-more>summary::-webkit-details-marker{display:none}
 .registry-create-menu{position:absolute;left:0;top:calc(100% + 6px);z-index:12;width:224px;max-width:calc(100vw - 40px);padding:4px;border:1px solid var(--border);border-radius:10px;background:var(--surface);box-shadow:0 6px 18px #20334b15}
 .registry-create-menu a{display:flex;align-items:center;min-height:44px;padding:7px 10px;border-radius:6px;color:var(--text);text-decoration:none}
 .registry-create-menu a:hover,.registry-create-menu a:focus-visible{background:var(--blue-soft)}
 .registry-page[data-registry] .registry-quick{display:none}.registry-page[data-registry] .registry-search{flex:1 1 100%;max-width:none}.registry-page[data-registry] .registry-options{flex:1 1 140px;min-width:0}.registry-quick-mobile{display:grid!important;gap:5px;flex:1 1 150px}.registry-mobile-reset{display:block;font-size:var(--forma-small)}
 .registry-filter-options{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 .registry-filter-options .btn{grid-column:1/-1}
 .document-workspace[data-title-collapsed="1"] .document-heading h1{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
}

/* erd-module-alignment.css */
/* Shared FORMA appearance, matched to the released ERD 0.44.1 theme.
   This final adapter changes presentation only. Document routes, role gates,
   registry/card layouts, mobile navigation and print rules stay in their owners. */
@media screen {
 body[data-forma-module="documents"]{--forma-title:27px;--forma-control-height:42px;--forma-row:13px;font-size:var(--forma-font);line-height:1.5;font-synthesis:none}
 body[data-forma-module="documents"][data-text-size="large"]{--forma-title:31px}
 body[data-forma-module="documents"][data-text-size="larger"]{--forma-title:35px}
 body[data-forma-module="documents"][data-density="compact"]{--forma-row:8px}
 .page-inner{max-width:1600px;padding:22px 26px 28px}
 .page-inner h1,.page-header:not(.workday-header) h1,.section-header:not(.workday-header) h1,.document-heading h1{font-size:var(--forma-title);font-weight:600;line-height:1.25;letter-spacing:-.45px;color:#1c354e}
 .page-inner h2{font-size:calc(var(--forma-font) + 4px);font-weight:600;line-height:1.3;letter-spacing:-.2px;color:#233c56}
 .page-inner h3{font-size:calc(var(--forma-font) + 1px);font-weight:600;line-height:1.4;color:#233c56}
 .page-header:not(.workday-header),.section-header:not(.workday-header){min-height:34px;margin-bottom:16px;gap:14px;align-items:center}
 .page-header .subtitle,.section-header .section-intro,.page-inner .small,.page-inner .muted.small{font-size:var(--forma-small);line-height:1.45}
 .page-inner .eyebrow{font-size:12px;line-height:1.4;font-weight:500;letter-spacing:.3px;color:var(--muted)}
 .page-inner small,.page-footer{font-size:12px;line-height:1.45}
 .page-footer{color:var(--muted)}

 /* The module keeps its own name and icon in the common dark navigation. */
 .sidebar{background:var(--forma-color-nav);color:#eaf2fb;border-right:0;padding:24px 13px 18px}
 .sidebar .brand{gap:9px;padding:0 5px 24px;color:#f2f7fd}
 .sidebar .brand-mark,.sidebar .brand-mark img{width:38px;height:38px;flex-basis:38px;border-radius:8px}
 .sidebar .brand .brand-name strong{font-size:21px;font-weight:600;line-height:1.25;letter-spacing:-.5px;color:#f2f7fd}
 .sidebar .brand .brand-name small{font-size:11px;line-height:1.4;color:#b9cce0}
 .sidebar-section{padding:0 11px 6px;font-size:11px;line-height:1.4;font-weight:500;letter-spacing:.8px;color:#b6c8da}
 .nav-list{gap:5px}
 .sidebar .nav-link,.sidebar .nav-more>summary{min-height:44px;padding:11px 12px;gap:10px;border:0;border-radius:8px;font-size:calc(var(--forma-font) - 1px);line-height:1.4;font-weight:400;color:var(--forma-color-nav-text);background:transparent;box-shadow:none}
 .sidebar .nav-link .ui-icon{width:18px;height:18px;stroke-width:1.7}
 .sidebar .nav-link:hover,.sidebar .nav-more>summary:hover,.sidebar .nav-more[open]>summary{background:#2a435f;color:#fff}
 .sidebar .nav-link.active,.sidebar .nav-link[aria-current="page"]{background:var(--forma-color-nav-active);color:var(--forma-color-nav-active-text);font-weight:600;box-shadow:none}
 .sidebar-bottom{border-color:#40536a;color:#bfd0e1}
 .sidebar-version{color:#bfd0e1;font-size:12px;line-height:1.45}

 .forma-app-header{min-height:60px;padding:10px 26px;gap:12px;border-color:var(--border)}
 .forma-app-title,.forma-profile-copy small{color:var(--muted);font-size:12px;line-height:1.4}
 .forma-app-title strong,.forma-profile-copy strong{font-size:14px;font-weight:600;line-height:1.4}
 .forma-profile>summary{font-size:14px;gap:8px}
 .forma-profile .avatar{background:var(--blue-soft);color:var(--accent);font-weight:600}
 .forma-context-switch{min-height:38px;padding:7px 10px;border-radius:8px;border-color:#c4d3e3;font-size:13px;background:#f7f9fc}
 .forma-workspaces-link{display:inline-flex;align-items:center;justify-content:center;gap:7px;flex:0 0 auto;min-width:166px;min-height:38px;padding:7px 10px;border:1px solid #c4d3e3;border-radius:8px;font-size:13px;font-weight:500;line-height:1.4;color:var(--accent);background:#fff;white-space:normal;overflow-wrap:normal;word-break:normal}
 .forma-workspaces-link:hover{background:var(--blue-soft)}
 .organization-context{padding:8px 12px;border-radius:9px;border-color:var(--border)}

 /* ERD's form rhythm is 42px on desktop and 44px on a phone. */
 .btn{min-height:39px;padding:8px 13px;border-radius:var(--forma-radius-control);font-size:calc(var(--forma-font) - 1px);font-weight:500;line-height:1.35;border-color:#cbd8e5;box-shadow:none}
 .btn:hover{transform:none}
 .btn.secondary{background:#fff;border-color:#cbd8e5;color:var(--text)}
 .btn.secondary:hover{background:#edf4fb;border-color:#cbd8e5;color:var(--text)}
 .btn.primary{background:var(--accent);border-color:var(--accent);color:#fff}
 .btn.primary:hover{background:var(--blue-hover);border-color:var(--blue-hover)}
 .btn.danger{color:var(--forma-color-danger);background:#fff;border-color:#eac2c8}
 .btn.danger:hover{background:var(--forma-color-danger-bg)}
 :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid var(--forma-color-focus);outline-offset:3px}
 .page-inner input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),.page-inner select,.page-inner textarea,
 .auth-card input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),.auth-card select,.auth-card textarea{min-height:var(--forma-control-height);padding:9px 11px;border-color:#b7c9db;border-radius:8px;font-size:var(--forma-font);line-height:1.4;color:var(--text)}
 .page-inner textarea,.auth-card textarea{min-height:88px}
 .page-inner input::placeholder,.page-inner textarea::placeholder,.auth-card input::placeholder{color:#607388;opacity:1}
 .form-grid label,.form-stack label{font-size:calc(var(--forma-font) - 1px);line-height:1.4;font-weight:500;color:var(--text)}
 .form-grid,.form-row{gap:17px 20px}
 .form-actions{gap:8px}
 .form-actions .btn,.form-stack .btn,.section-toolbar .btn{min-height:var(--forma-control-height)}
 .text-link{font-size:calc(var(--forma-font) - 1px);font-weight:500}

 .panel,.form-card,.metric,.journal-card,.case-tile{border-color:var(--border);border-radius:var(--forma-radius-card);box-shadow:var(--shadow)}
 .panel,.form-card{padding:19px}
 .registry-list{padding:0}
 .document-file-main,.registry-preview{min-width:0}
 .section-toolbar{border-color:var(--border);border-radius:9px}
 .info-note,.recovery-bar{padding:12px 15px;background:#edf4fb;color:#365774;border-color:#cbddec;border-radius:9px;font-size:calc(var(--forma-font) - 1px);line-height:1.5}
 .alert{padding:12px 15px;border-radius:9px;font-size:calc(var(--forma-font) - 1px);line-height:1.5}
 .alert.error{background:var(--forma-color-danger-bg);color:var(--forma-color-danger);border-color:#eac2c8}
 .alert.success,.acknowledged{background:var(--forma-color-good-bg);color:var(--forma-color-good);border-color:#c4dfce}
 .status{border-radius:7px;font-size:calc(var(--forma-small) - 1px);font-weight:500;line-height:1.35;padding:4px 8px;white-space:normal;background:#edf2f7;color:#435c75}
 .status.registered,.status.done{background:var(--forma-color-good-bg);color:var(--forma-color-good)}
 .status.annulled,.status.overdue{background:var(--forma-color-danger-bg);color:var(--forma-color-danger)}
 .document-summary{background:#edf4fb;color:var(--text);border-color:#cbddec;border-radius:9px}
 .document-tabs button{font-size:calc(var(--forma-font) - 1px);font-weight:500;border-radius:8px 8px 0 0}
 .document-tabs button[aria-selected="true"]{background:var(--blue-soft);color:var(--accent);border-bottom-color:var(--accent);font-weight:600}
 .document-next-action,.registry-step{border-radius:9px;background:#edf4fb;border-color:#cbddec}
 .registry-chip{border-radius:8px;font-weight:500}
 .registry-chip.selected,.quick-filter.active,.registry-options a.active,.registry-scope a.active{background:var(--blue-soft);color:var(--accent);border-color:#b9cfe3}
 .metric-value{font-size:25px;line-height:1.25;font-weight:600;letter-spacing:-.3px;font-variant-numeric:tabular-nums}
 .metric-label,.metric-sub{font-size:var(--forma-small);line-height:1.4;color:var(--muted)}
 .day-metric>strong,.work-summary strong{font-weight:600;font-variant-numeric:tabular-nums}
 .data-table,.registry-table{font-size:calc(var(--forma-font) - 1px);line-height:1.45}
 .data-table th,.registry-table th{font-size:var(--forma-small);font-weight:500;line-height:1.35;letter-spacing:0;text-transform:none;background:#edf3f9;color:#425c76;border-color:var(--border)}
 .data-table td,.registry-table td{font-size:calc(var(--forma-font) - 1px);line-height:1.45;border-color:#e1e8f0}
 .data-table strong{font-size:calc(var(--forma-font) - 1px);font-weight:600}
 .data-table tbody>tr:nth-child(even){background:transparent}
 .data-table tbody>tr:hover,.registry-table tbody>tr:hover{background:#f3f7fc}
 .registry-table tbody>tr.selected,.registry-table tbody>tr.selected:hover{background:var(--blue-soft)}
 .auth-card{border-radius:13px;border-color:#cbd7e4;box-shadow:0 16px 70px #142b4818}
 .auth-card h2{font-weight:600;line-height:1.3;color:#233c56}
 .doc-icon,.quick-symbol,.journal-icon{color:var(--accent);background:var(--blue-soft)}

 /* The same three steps as ERD: personal access, connection, invitation. */
 .connection-setup-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 18px}
 .connection-setup-steps>.panel,.connection-grid>.panel,.connection-guides>.panel{margin-top:0}
 .connection-step{display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding:18px;background:#f4f8fc;border-color:#e1eaf2;border-radius:12px;box-shadow:none}
 .connection-step-number{font-size:12px;font-weight:700;line-height:1.4;color:#3974a1}
 .connection-step h2{font-size:calc(var(--forma-font) + 1px);line-height:1.4;margin:8px 0}
 .connection-step p{font-size:var(--forma-small);line-height:1.6;color:var(--muted);margin:0 0 16px;flex:1}
 .connection-step>.btn{max-width:100%;min-height:39px;font-size:var(--forma-small);white-space:normal}
 .connection-step>.status{margin-bottom:8px}
 .connection-step>.text-link{font-size:var(--forma-small);line-height:1.45;white-space:normal;overflow-wrap:anywhere}
 .connection-step .connection-windows{width:100%;margin-top:12px;padding-top:12px;border-color:#d8e2ec}
 .connection-windows summary{font-size:var(--forma-small);font-weight:600;line-height:1.45}
 .connection-windows p{line-height:1.6}
 .connection-address-panel h2{margin-top:0}
 .connection-address-panel label{font-size:var(--forma-small);font-weight:500}
 .app-update[data-update-preparation]{position:fixed;left:50%;bottom:18px;top:auto;transform:translateX(-50%);width:calc(100% - 48px);max-width:660px;margin:0;padding:18px 24px;border:0;border-radius:14px;background:#1e3049;color:#fff;box-shadow:0 10px 35px #1e304940;z-index:30}
 .app-update[data-update-preparation] .app-update-message{font-size:var(--forma-font);line-height:1.5}
}

@media screen and (min-width:791px){
 .sidebar{width:var(--forma-sidebar-width)}
 .main-content{margin-left:var(--forma-sidebar-width)}
 .page-inner .section-toolbar input:not([type="checkbox"]):not([type="radio"]),.page-inner .section-toolbar select{min-height:42px;padding:9px 11px}
 .registry-toolbar .btn,.registry-chip{min-height:35px;padding:7px 10px;font-size:var(--forma-small)}
}
@media screen and (min-width:791px) and (max-width:1100px){
 body[data-forma-module="documents"]{--forma-sidebar-width:204px}
 .sidebar{padding:21px 10px 16px}
 .sidebar .brand-mark,.sidebar .brand-mark img{width:33px;height:33px;flex-basis:33px}
 .sidebar .brand .brand-name strong{font-size:19px}
 .page-inner{padding:20px}
 .forma-app-header{padding:10px 20px}
}
@media screen and (max-width:790px){
 body[data-forma-module="documents"]{--forma-title:24px;--forma-control-height:44px}
 body[data-forma-module="documents"][data-text-size="large"]{--forma-title:28px}
 body[data-forma-module="documents"][data-text-size="larger"]{--forma-title:32px}
 .page-inner{padding:12px 13px 23px}
 .mobile-topbar{min-height:53px;padding:9px 13px;background:var(--forma-color-nav);color:#f0f6fc;border-color:#324b66}
 .mobile-brand .brand-name strong{font-size:18px;font-weight:600;color:#f0f6fc}
 .mobile-brand .brand-name small{color:#b9cce0}
 .sidebar{background:#fff;color:var(--text);padding:20px 13px 12px}
 .sidebar .brand .brand-name strong{color:var(--text)}
 .sidebar .brand .brand-name small,.sidebar-section,.sidebar-version{color:var(--muted)}
 .sidebar .nav-link,.sidebar .nav-more>summary{min-height:46px;padding:11px 12px;font-size:var(--forma-font);color:#284a6b}
 .sidebar .nav-link:hover,.sidebar .nav-more>summary:hover,.sidebar .nav-more[open]>summary{background:#f0f5fb;color:#174e7f}
 .sidebar .nav-link.active,.sidebar .nav-link[aria-current="page"]{background:var(--blue-soft);color:#174e7f}
 .sidebar-bottom{border-color:var(--border)}
 .sidebar .user-mini strong{color:var(--text)}
 .sidebar .user-mini small,.sidebar .logout-btn{color:var(--muted)}
 .mobile-bottom a,.mobile-bottom span{font-size:12px;font-weight:500;line-height:1.35;color:var(--muted)}
 .mobile-bottom a[aria-current],.mobile-bottom a[aria-current] span{color:var(--accent)}
 .panel,.form-card{padding:16px}
 .registry-list{padding:0}
 .page-header:not(.workday-header),.section-header:not(.workday-header){gap:10px;margin-bottom:12px}
 .registry-page .page-header h1,.document-heading h1{font-size:var(--forma-title)}
 .btn,.registry-toolbar .btn,.registry-chip,.document-tabs button{min-height:44px}
 .page-inner input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),.page-inner select,.page-inner textarea,
 .auth-card input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]){font-size:max(16px,var(--forma-font))}
 .page-inner textarea,.auth-card textarea{min-height:96px}
 .data-table td,.registry-table td{font-size:calc(var(--forma-font) - 1px)}
 .panel,.form-card,.metric,.journal-card,.case-tile{box-shadow:none}
 .connection-setup-steps{grid-template-columns:minmax(0,1fr)}
 .connection-step{padding:16px}
 .connection-step>.btn{min-height:44px}
 .app-update[data-update-preparation]{bottom:calc(76px + env(safe-area-inset-bottom,0px));width:calc(100% - 26px);padding:14px 16px}
}
@media screen and (forced-colors:active){
 .sidebar .nav-link.active,.sidebar .nav-link[aria-current="page"]{outline:2px solid Highlight;outline-offset:-2px}
}

/* navigation-clarity.css */
/* Navigation and section rhythm shared by the FORMA documents module. */
@media screen {
 .page-inner .page-header,.page-inner .section-header{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}
 .page-header>div:first-child,.section-heading>div:first-child{min-width:0}
 .page-header h1{margin:0;overflow-wrap:anywhere}
 .page-header .subtitle{margin:5px 0 0;max-width:70ch}
 .page-header .actions,.section-actions,.form-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
 .page-header .actions{justify-content:flex-end;margin:0}
 .page-header>.btn,.page-header .actions>.btn{min-height:42px}
 .page-inner .section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 14px}
 .section-heading h2{margin:0;min-width:0;overflow-wrap:anywhere}
 .section-heading>.text-link,.section-heading>.small{flex:0 0 auto}
 .section-toolbar label{display:flex;flex-direction:column;gap:6px;min-width:0}
 .section-toolbar input,.section-toolbar select{margin:0}
 .sidebar .nav-management>summary{display:flex;align-items:center;gap:10px;list-style:none}
 .sidebar .nav-management>summary::-webkit-details-marker{display:none}
 .sidebar .nav-management>summary:after{content:'›';font-size:19px;margin-left:auto;transform:rotate(90deg)}
 .sidebar .nav-management[open]>summary:after{transform:rotate(-90deg)}
 .sidebar .nav-management>summary .ui-icon{width:18px;height:18px}
 .sidebar .nav-management>.nav-link{margin-top:3px;padding-left:22px;font-size:var(--forma-small)}
 .sidebar-bottom{margin-top:auto;padding-top:14px}
 .sidebar-utilities{display:grid;gap:2px;margin-bottom:10px}
 .sidebar .sidebar-utilities .nav-link{min-height:38px;padding:8px 12px;font-size:var(--forma-small)}
 .sidebar-bottom .user-mini,.sidebar-bottom>form{display:none}
 .document-sections{display:flex;gap:5px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;max-width:100%;margin:0 0 16px;padding:0 0 7px;border-bottom:1px solid var(--border)}
 .document-sections>a{flex:0 0 auto;display:flex;align-items:center;justify-content:center;min-height:36px;padding:7px 11px;border:1px solid transparent;border-radius:8px;font-size:var(--forma-small);font-weight:500;line-height:1.4;color:var(--muted);white-space:nowrap}
 .document-sections>a:hover{background:#edf4fb;color:var(--accent)}
 .document-sections>a[aria-current]{background:var(--blue-soft);border-color:#b9cfe3;color:var(--accent);font-weight:600}
 .workbench .workbench-header{margin-bottom:14px}
 .workbench-permission{margin:-3px 0 14px;line-height:1.5}
 .workbench-scopes{display:flex;gap:5px;flex-wrap:wrap;margin:0 0 14px}
 .workbench-scopes>a{min-height:36px;padding:7px 12px;border-radius:8px;font-size:var(--forma-small);border:1px solid var(--border);color:var(--muted);background:#fff}
 .workbench-scopes>a[aria-current]{color:var(--accent);background:var(--blue-soft);border-color:#b9cfe3;font-weight:600}
 .workbench .workbench-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 16px}
 .workbench-summary[data-summary-items="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}
 .workbench-summary>a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:65px;padding:12px 16px;border:1px solid var(--border);border-radius:10px;background:#fff;color:var(--text)}
 .workbench-summary span{font-size:var(--forma-small);line-height:1.45;min-width:0}
 .workbench-summary strong{font-size:25px;font-weight:600;line-height:1.2;margin:0;font-variant-numeric:tabular-nums}
 .workbench-summary>a[aria-current]{border-color:#8eafd2;background:#f0f6fc}
 .workbench-summary>a.work-urgent{background:#fff5f2;border-color:#e7bfb7}
 .workbench-summary>a.work-urgent strong{color:var(--forma-color-danger)}
 .workbench-filter{margin:0 0 16px}
 .workbench-filter>summary{display:flex;align-items:center;gap:8px;min-height:40px;padding:8px 12px;border:1px solid var(--border);border-radius:8px;background:#fff;font-size:var(--forma-small);cursor:pointer;list-style:none}
 .workbench-filter>summary::-webkit-details-marker{display:none}
 .workbench-filter>summary .ui-icon{width:16px;height:16px}
 .workbench-filter>summary:after{content:'›';font-size:19px;line-height:1;margin-left:auto;transform:rotate(90deg)}
 .workbench-filter[open]>summary{margin-bottom:10px}
 .workbench-filter[open]>summary:after{transform:rotate(-90deg)}
 .workbench .work-filters{display:grid;grid-template-columns:minmax(180px,1.6fr) minmax(140px,1fr) minmax(140px,.8fr) auto;gap:12px;align-items:end;margin:0;padding:14px;border:1px solid var(--border);border-radius:10px;background:#fff}
 .workbench .work-filters .work-filter-buttons{display:flex;align-items:center;gap:12px;min-height:42px;flex-wrap:wrap}
 .work-filter-buttons .btn{margin:0}
 .workbench .workbench-list,.workbench .workbench-recent{margin:0 0 16px;padding:18px}
 .workbench .work-item{display:grid;grid-template-columns:minmax(0,1fr) minmax(160px,auto);gap:16px;align-items:center;padding:15px 0;border-top:1px solid var(--border)}
 .workbench .work-item:first-of-type{border-top:0}
 .workbench .work-item>div{min-width:0;overflow-wrap:anywhere}
 .workbench .work-item h3{margin:7px 0 4px;line-height:1.4}
 .workbench .work-item p{margin:4px 0}
 .workbench .work-item>.btn{justify-self:end;min-width:160px;max-width:230px;min-height:42px;white-space:normal;text-align:center}
 .workbench .work-item-urgent{border-left:3px solid #bc7666;padding-left:13px}
 .workbench .work-empty{padding:10px 0 2px}
 .workbench .work-empty h3{margin:0 0 7px;font-weight:500}
 .workbench .work-empty p{margin:0 0 10px;max-width:75ch}
 .workbench .work-empty .text-link{margin:0}
 .workbench .workbench-pagination{margin:10px 0 0;padding-top:12px;border-top:1px solid var(--border);align-items:center;flex-wrap:wrap}
 .workbench-pagination .journal-pages{margin:0;flex:1 1 350px}
 .workbench-pagination>p{display:none}
 .workbench-documents{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}
 .workbench-documents .document-item{padding:12px 0;min-width:0;min-height:80px;border-top:1px solid var(--border);border-bottom:0}
 .workbench-documents .document-item:nth-child(-n+2){border-top:0}
 .workbench-documents .item-grow{min-width:0}
 .workbench-documents .document-item{display:grid;grid-template-columns:40px minmax(0,1fr) 14px;gap:10px;align-items:center}
 .workbench-documents .document-item .doc-icon{grid-column:1;grid-row:1}
 .workbench-documents .document-item .item-grow{grid-column:2;grid-row:1;width:auto}
 .workbench-documents .document-item .arrow{grid-column:3;grid-row:1;justify-self:end;align-self:center;margin:0}
 .workbench-documents .item-grow small:first-of-type{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:1.45}
 .workbench-documents .item-grow strong{font-size:var(--forma-small)}
 .workbench-no-documents,.workbench-note{margin:0;line-height:1.5}
}
@media screen and (min-width:791px) and (max-width:1100px){
 .workbench .work-filters{grid-template-columns:repeat(2,minmax(0,1fr))}
 .workbench .workbench-summary{gap:9px}.workbench-summary>a{padding:12px;gap:8px}
}
@media screen and (max-width:790px){
 .mobile-topbar{min-height:60px;height:60px;padding:8px 13px}
 .mobile-brand .brand-mark,.mobile-brand .brand-mark img{width:36px;height:36px;flex-basis:36px}
 .mobile-topbar .menu-toggle{min-height:44px}
 .organization-context{min-height:56px;gap:9px;padding:6px 10px}
 .organization-context>div{min-width:0;flex:1}
 .organization-context strong{display:block;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:12px;line-height:1.4}
 .organization-context>.btn{min-height:44px;padding:9px 10px;flex:0 0 auto}
 .page-inner .page-header,.page-inner .section-header{gap:10px;margin-bottom:12px;align-items:flex-start}
 .page-header>.btn,.page-header .actions>.btn{min-height:44px}
 .document-sections{margin-bottom:12px;padding-bottom:5px}
 .document-sections>a{min-height:44px;padding:9px 11px;font-size:13px}
 .workbench .workbench-header{flex-wrap:nowrap;align-items:flex-start;gap:8px}
 .workbench-header>div:first-child{flex:1 1 auto}
 .workbench-header .section-actions{flex:0 0 auto;width:auto!important;max-width:48%}
 .workbench-header .section-actions>a[href$="/documents/import"]{display:none}
 .workbench-header .section-actions>.btn{font-size:13px;padding:9px 11px;white-space:normal;max-width:100%;min-height:44px}
 .workbench-header .subtitle{font-size:var(--forma-small);line-height:1.4}
 .workbench-scopes{gap:6px;margin-bottom:12px}
 .workbench-scopes>a{min-height:44px;display:flex;align-items:center;padding:9px 11px}
 .workbench .workbench-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:12px}
 .workbench-summary>a{min-height:56px;padding:8px 11px;gap:8px}
 .workbench-summary strong{font-size:23px}.workbench-summary span{font-size:13px}
 .workbench-filter{margin-bottom:12px}
 .workbench-filter>summary{display:flex;align-items:center;min-height:44px;padding:10px 12px;border:1px solid var(--border);border-radius:8px;background:#fff;font-size:14px;cursor:pointer}
 .workbench-filter[open]>summary{margin-bottom:8px}
 .workbench .work-filters{grid-template-columns:minmax(0,1fr);padding:12px;gap:12px}
 .workbench .work-filters input,.workbench .work-filters select{min-height:44px;font-size:16px}
 .workbench .work-filters .work-filter-buttons{min-height:44px}
 .workbench .work-filter-buttons>.btn{flex:1;min-height:44px}
 .workbench .workbench-list,.workbench .workbench-recent{padding:15px;margin-bottom:12px}
 .workbench .work-item{grid-template-columns:minmax(0,1fr);gap:10px;padding:14px 0}
 .workbench .work-item>.btn{justify-self:stretch;min-width:0;max-width:none;width:100%;min-height:44px;text-align:left;justify-content:space-between}
 .workbench .work-item-urgent{padding-left:10px}
 .workbench-documents{grid-template-columns:minmax(0,1fr)}
 .workbench-documents .document-item:nth-child(2){border-top:1px solid var(--border)}
 .workbench .section-heading{gap:10px;flex-wrap:wrap;margin-bottom:10px}
 .sidebar .nav-management>.nav-link{font-size:14px;min-height:44px}
 .sidebar .sidebar-utilities .nav-link{min-height:44px;font-size:14px}
}
@media screen and (max-width:359px){
 .workbench .workbench-header{flex-wrap:wrap}
 .workbench-header .section-actions{max-width:100%;width:100%!important}
 .workbench-header .section-actions>.btn{width:100%}
}

/* workplace-46.css */
/* Shared, compact section layouts and a navigation area that keeps controls reachable. */
@media screen {
 .sidebar{display:flex;flex-direction:column;overflow:hidden}
 .sidebar>.brand,.sidebar>.sidebar-section,.sidebar>.sidebar-org,.sidebar>.sidebar-bottom{flex-shrink:0}
 .sidebar>.nav-list{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;scrollbar-gutter:stable}
 .section-header>.actions,.section-header>.section-actions{display:flex;flex-wrap:wrap;gap:8px;margin:0;max-width:100%}
 .section-actions>.btn,.form-actions>.btn{max-width:100%;white-space:normal;overflow-wrap:anywhere;text-align:center}
 .panel,.form-card,.section-header>div,.form-grid>label,.editor-columns>*{min-width:0}
 .editor-columns{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(240px,1fr);gap:16px;align-items:start}
 .editor-columns>.panel{margin:0}
 .form-stack>label,.form-grid>label{min-width:0;max-width:100%}
 .form-stack input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.form-stack select,.form-stack textarea{min-width:0;max-width:100%;box-sizing:border-box}
 input[type=file]{height:auto;min-height:44px;padding:7px;overflow:hidden}
 input[type=file]::file-selector-button{font:inherit;border:1px solid var(--border);background:var(--blue-soft);color:var(--text);border-radius:6px;padding:7px 10px;margin-right:10px}
 .library-filters{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 16px}
 .library-filters>label:first-child{flex:1 1 220px}
 .library-filters>label{margin:0;min-width:0}
 .library-filters select{width:100%;min-width:140px}
 .checkbox-inline{display:flex!important;flex-direction:row!important;align-items:center;gap:8px}
 .checkbox-inline input{width:18px;min-height:18px;flex:none;margin:0}
 .own-library{margin:0 0 24px}.template-catalog{margin:0 0 24px}
 .forms-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:14px;align-items:stretch}
 .forms-grid>.empty-state{grid-column:1/-1;margin:0}
 .library-card,.template-choice{display:flex;flex-direction:column;gap:10px;margin:0}
 .library-card>p,.template-choice>p,.library-card>h3,.template-choice>h3{margin:0;overflow-wrap:anywhere}
 .material-filename{font-size:var(--forma-small);color:var(--muted);overflow-wrap:anywhere}
 .library-primary-actions,.template-choice-actions{margin-top:auto;padding-top:6px}
 .library-actions{padding-top:12px;border-top:1px solid var(--border);margin-top:2px}
 .library-actions form{margin:0}.library-actions .btn{min-height:38px}
 .library-secondary{margin-top:16px}.library-secondary>summary{font-weight:600;cursor:pointer;line-height:1.5}
 .library-secondary[open]>summary{margin-bottom:16px}
 .template-current h3,.template-current p{overflow-wrap:anywhere}.template-current .section-actions{margin-top:16px}
 .staff-card .staff-controls>.user-action,.staff-card .staff-controls>.btn{align-self:start;max-width:100%}
 .staff-card .user-action select{min-width:0}
}
@media screen and (max-width:800px){.editor-columns{grid-template-columns:minmax(0,1fr)}.library-filters>label:not(.checkbox-inline){flex:1 1 180px}.section-header>.actions{justify-content:flex-start}}
@media screen and (max-width:540px){.library-filters>label:not(.checkbox-inline){flex-basis:100%}.forms-grid{grid-template-columns:minmax(0,1fr)}.template-choice-actions>.btn,.library-primary-actions>.btn{flex:1 1 140px}.section-header>.actions>.btn{flex:1 1 180px}}
