:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#293330;background:#f7f6f2;font-size:16px;font-synthesis:none;--ink:#293330;--muted:#5c665f;--accent:#516b57;--surface:#fffefa;--line:#e0e2da;--wash:#eef1e9;--nav:222px;--serif:Georgia,"Times New Roman",serif}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button{color:inherit}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:3px solid #8e722d;outline-offset:3px}button:disabled{cursor:default;opacity:.5}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.skip{position:fixed;left:20px;top:-100px;background:#fff;padding:12px;z-index:20}.skip:focus{top:10px}
.design-bar{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:13px 28px;background:#202b29;color:#fff;min-height:76px}.design-title{display:grid;gap:4px}.design-title strong{font-size:14px;font-weight:600}.design-title span{font-size:12px;color:#c2cdc7}.direction-switch{display:flex;border:1px solid #61716a;border-radius:7px;padding:4px;gap:4px}.direction-switch button{background:transparent;border:0;border-radius:4px;color:#cbd3cf;padding:9px 14px;font-size:14px}.direction-switch b{display:inline-grid;place-items:center;width:21px;height:21px;margin-right:6px;font-size:12px;border:1px solid currentColor;border-radius:3px}.direction-switch button[aria-pressed=true]{background:#f7f6f2;color:#25342c}.reset{background:none;color:#cbd3cf;border:0;font-size:13px;padding:12px 0}.reset span{margin-left:6px;font-size:19px}
.app-layout{display:grid;grid-template-columns:var(--nav) minmax(0,1fr);min-height:calc(100vh - 76px)}.navigation{background:#eeeee7;border-right:1px solid var(--line);padding:30px 20px 24px;display:flex;flex-direction:column}.brand img{display:block;max-width:100%;height:auto;mix-blend-mode:multiply;margin:0 auto 24px}.brand-title{border-top:1px solid #d8dbd1;padding:24px 4px 0;font-size:21px;font-weight:600;letter-spacing:-.5px}.brand-title span{display:block;font-weight:400;font-size:12px;line-height:1.5;color:var(--muted);margin-top:8px;letter-spacing:0}.nav-section{font-size:11px;letter-spacing:1.3px;color:var(--muted);margin:46px 12px 12px}.nav-item{border:0;background:none;display:flex;gap:11px;align-items:center;padding:12px;width:100%;text-align:left;border-radius:5px;font-size:15px;margin-bottom:5px;min-height:46px}.nav-item>span:first-child{font-size:21px}.nav-item.active{background:#dfe6d9;color:#314635;font-weight:600}.nav-item:hover{background:#e1e5db}.nav-count{font-size:12px;margin-left:auto;opacity:.8}.nav-foot{display:flex;align-items:center;gap:10px;padding-top:30px;margin-top:auto}.nav-foot strong{font-size:13px;font-weight:600}.nav-foot div>span{display:block;color:var(--muted);font-size:12px;margin-top:5px}.avatar{width:68px;height:68px;border-radius:50%;display:grid;place-items:center;background:#e5e9df;color:#456047;font-family:var(--serif);font-size:26px;flex-shrink:0}.avatar.small{width:34px;height:34px;font:600 11px Inter,-apple-system,sans-serif;background:#dce2d4}
main{padding:39px 36px 0;min-width:0;max-width:1600px;width:100%;margin:0 auto}.workspace-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:34px}.eyebrow{color:#5f6650;font-size:11px;letter-spacing:1.6px;font-weight:600;margin-bottom:10px}h1{font-family:var(--serif);font-size:42px;font-weight:400;line-height:1.1;letter-spacing:-1px;margin:0}p{line-height:1.55}.workspace-heading p{color:var(--muted);font-size:14px;margin:12px 0 0}.workspace-note{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:8px}.small-dot{width:6px;height:6px;background:#748873;border-radius:50%}
#records-workspace{display:grid;grid-template-columns:minmax(280px,.85fr) minmax(420px,1.45fr);border-top:1px solid var(--line);min-height:615px}#search-section{padding:24px 24px 24px 0;border-right:1px solid var(--line);min-width:0}.search-toolbar{display:grid;gap:12px}.search-wrap{position:relative}.search-wrap>span{position:absolute;left:13px;top:7px;font-size:26px;color:var(--muted);pointer-events:none}.search-wrap input{width:100%;height:44px;background:var(--surface);border:1px solid #cdd3c8;border-radius:5px;padding:10px 12px 10px 40px;font-size:14px;color:var(--ink)}.search-wrap input::placeholder{color:#757e77}.filter select{background:transparent;border:0;padding:5px 20px 5px 0;color:#576252;font-size:13px;max-width:100%;height:32px}.list-heading{display:flex;justify-content:space-between;align-items:center;margin:21px 0 10px;font-size:12px;color:var(--muted)}.list-heading strong{font-weight:500}.list-heading>span{font-size:10px;letter-spacing:1px}.record-row{display:flex;position:relative;align-items:center;width:100%;border:0;border-bottom:1px solid var(--line);background:transparent;text-align:left;padding:16px 13px;gap:10px;min-height:79px;border-radius:3px;transition:background .16s}.record-row:hover{background:#ecefe7}.record-row.selected{background:#e7eddf;border-color:transparent}.record-row.selected:before{content:"";position:absolute;left:0;top:12px;bottom:12px;background:#57734b;width:3px}.row-avatar{width:33px;height:33px;flex-shrink:0;border-radius:50%;background:#e9e9e0;display:grid;place-items:center;font-family:var(--serif);font-size:12px;color:#55684f}.row-name{font-size:14px;font-weight:600;line-height:1.4}.row-meta{display:block;font-size:12px;color:var(--muted);margin-top:4px;line-height:1.4}.row-arrow{margin-left:auto;color:#778471;font-size:19px}.row-cell{display:none}.empty{padding:36px 12px;color:var(--muted);font-size:15px;line-height:1.6}.table-heading{display:none}
#record-panel{padding:28px 0 30px 34px;min-width:0}.record-head{display:flex;gap:18px;align-items:center;margin:22px 0 27px}.record-head h2{font-family:var(--serif);font-weight:400;font-size:32px;letter-spacing:-.7px;line-height:1.15;margin:5px 0 8px}.record-head p{margin:0;color:var(--muted);font-size:14px}.record-kicker{display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:11px;letter-spacing:1px;color:#5f6759;text-transform:uppercase}.status{display:inline-flex;gap:6px;align-items:center;font-size:12px;font-weight:500;letter-spacing:0;text-transform:none;color:#476148}.status:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.status.archived{color:#786f5e}.record-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 32px}.primary,.secondary,.text-button{border-radius:4px;min-height:42px;padding:10px 16px;font-size:14px;font-weight:500;border:1px solid transparent}.primary{background:var(--accent);color:white}.primary:hover{filter:brightness(.9)}.secondary{border-color:#ccd3c7;background:transparent;color:var(--ink)}.secondary:hover{background:var(--wash)}.text-button{background:none;padding-left:0;color:var(--accent);border:0}.record-actions>span{color:var(--muted);font-size:12px}.section-title{font-size:13px;margin:0 0 17px;font-weight:600;letter-spacing:.1px;display:flex;justify-content:space-between}.section-title span{font-weight:400;color:var(--muted);font-size:12px}.detail-section{border-top:1px solid var(--line);padding:22px 0}.facts{display:grid;grid-template-columns:1fr 1fr;gap:23px 24px;margin:0}.facts div{min-width:0}.facts dt{font-size:12px;color:var(--muted);margin-bottom:7px}.facts dd{font-size:14px;margin:0;line-height:1.5;overflow-wrap:anywhere}.facts .wide{grid-column:1/-1}.office-row{display:flex;gap:12px;align-items:flex-start}.office-mark{border:1px solid #d3dbca;width:32px;height:34px;display:grid;place-items:center;color:#677758;flex-shrink:0}.office-row strong{font-size:14px;font-weight:500}.office-row p{margin:5px 0;color:var(--muted);font-size:13px}.office-row .date{font-size:12px}.delivery-line{display:flex;justify-content:space-between;align-items:center;padding:7px 0;font-size:13px;gap:15px}.delivery-state{color:#687263;font-size:12px}.delivery-state.waiting{color:#846827}.record-footnote{margin:8px 0 0;color:var(--muted);font-size:12px}.workspace-footer{border-top:1px solid var(--line);padding:19px 0 24px;color:var(--muted);font-size:12px;margin-top:12px}.back-button{display:none}.panel-content{animation:enter .2s ease-out}.edit-description{font-size:14px;color:var(--muted);margin:0 0 25px}.edit-title{font-family:var(--serif);font-size:30px;font-weight:400;letter-spacing:-.6px;margin:22px 0 8px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:0 0 24px}.form-field{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:500}.form-field.wide{grid-column:1/-1}.form-field input{width:100%;background:var(--surface);border:1px solid #bcc8b7;border-radius:4px;padding:11px 12px;color:var(--ink);font-size:15px}.form-field small{font-size:12px;font-weight:400;color:var(--muted);line-height:1.5}.form-actions{display:flex;gap:10px;justify-content:flex-end;border-top:1px solid var(--line);padding-top:20px}.inline-error{color:#9b3b30;font-size:14px;margin:0 0 16px}.back-button{margin-bottom:16px}.edit-breadcrumb{font-size:12px;color:var(--muted)}.edit-breadcrumb b{color:var(--ink);font-weight:500}
dialog{background:var(--surface);color:var(--ink);width:min(650px,calc(100% - 32px));border:1px solid var(--line);border-radius:8px;padding:32px;box-shadow:0 25px 100px #14201e33;max-height:calc(100vh - 48px)}dialog::backdrop{background:#17282266;backdrop-filter:blur(2px)}dialog[open]{animation:dialog-in .18s ease-out}.dialog-top{display:flex;justify-content:space-between;align-items:center}.close-button{border:0;background:transparent;min-width:40px;min-height:40px;font-size:24px}.dialog-eyebrow{font-size:12px;color:var(--muted)}dialog h2{font-family:var(--serif);font-size:30px;font-weight:400;margin:18px 0 8px}dialog p{font-size:14px;color:var(--muted);margin:0 0 24px}.diff{width:100%;border-collapse:collapse;margin:20px 0 24px;font-size:14px;table-layout:fixed}.diff th{text-align:left;font-size:12px;font-weight:500;color:var(--muted);padding:12px 10px;background:var(--wash)}.diff th:first-child{width:22%}.diff td{padding:17px 10px;border-bottom:1px solid var(--line);vertical-align:top;overflow-wrap:anywhere;line-height:1.5}.diff td:last-child{color:var(--accent);font-weight:500}.dialog-note{border-left:2px solid #adb99f;padding-left:13px}.success-mark{display:grid;place-items:center;width:43px;height:43px;border:1px solid #92a686;border-radius:50%;font-size:22px;color:#516b45}.success-details{background:var(--wash);padding:16px 20px;margin:20px 0}.notice{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#243d2c;color:#fff;padding:14px 22px;border-radius:5px;font-size:14px;box-shadow:0 5px 25px #0002;z-index:30;max-width:90vw}.change-row{padding:24px 0;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px}.change-row h2{font-size:17px;font-weight:500;margin:0 0 7px}.change-row p{font-size:13px;color:var(--muted);margin:0}.empty-changes{padding:60px 0;max-width:440px}.empty-changes h2{font-family:var(--serif);font-size:30px;font-weight:400}.empty-changes p{font-size:15px;color:var(--muted)}
@keyframes enter{from{opacity:.5;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@keyframes dialog-in{from{opacity:.3;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1600px){body[data-direction=a] main{padding-left:55px;padding-right:55px}body[data-direction=a] #record-panel{padding-left:45px}}
@media(max-width:1150px){:root{--nav:190px}main{padding:30px 25px 0}#records-workspace{grid-template-columns:minmax(230px,.8fr) minmax(340px,1.2fr)}#record-panel{padding-left:25px}.design-title span{max-width:180px;line-height:1.5}.design-bar{gap:15px;padding-inline:20px}.direction-switch button{padding:8px 10px}}
@media(max-width:900px){.app-layout{grid-template-columns:1fr}.navigation{flex-direction:row;align-items:center;padding:15px 24px;border-right:0;border-bottom:1px solid var(--line);gap:25px}.brand img,.nav-section,.brand-title span{display:none}.brand-title{border:0;padding:0;font-size:20px}.navigation nav{display:flex;gap:15px}.nav-item{width:auto;margin:0;padding:9px 12px}.nav-foot{margin:0 0 0 auto;padding:0}.nav-foot div{display:none}.workspace-heading{margin-bottom:25px}.design-title{display:none}.design-bar{min-height:67px}.design-bar .reset{font-size:12px}.direction-switch button{font-size:13px}#records-workspace{grid-template-columns:minmax(240px,.8fr) minmax(320px,1.2fr)}.record-head h2{font-size:27px}.avatar{width:55px;height:55px;font-size:22px}}
@media(max-width:650px){.design-bar{padding:10px 12px;gap:8px;flex-wrap:wrap}.direction-switch{gap:2px;padding:3px;flex:1}.direction-switch button{padding:8px 7px;flex:1;font-size:12px;white-space:nowrap}.direction-switch b{margin-right:3px;width:18px;height:18px}.reset{font-size:11px!important}.reset span{display:none}.navigation{padding:14px 20px;gap:12px}.brand-title{font-size:17px}.navigation nav{gap:0;margin-left:auto}.nav-item{font-size:13px;padding:8px}.nav-item>span:first-child,.nav-count,.nav-foot{display:none}main{padding:28px 20px 0}.workspace-heading{align-items:flex-start}.workspace-heading h1{font-size:36px}.workspace-heading p{font-size:13px;max-width:230px}.workspace-note{display:none}#records-workspace{display:block;min-height:0}#search-section{padding:20px 0;border:0}#record-panel{display:none;padding:12px 0 22px}.detail-open #search-section{display:none}.detail-open #record-panel{display:block}.detail-open .workspace-heading{display:none}.back-button{display:inline-flex}.facts{gap:23px 18px}.record-head{gap:14px}.record-head h2{font-size:29px}.record-actions{margin-bottom:24px}.record-actions>span{font-size:11px}.form-grid{grid-template-columns:1fr;gap:20px}.form-field.wide{grid-column:auto}.workspace-footer{font-size:11px;line-height:1.6}.list-heading{font-size:13px}.row-name{font-size:15px}.row-meta{font-size:13px}.record-row{padding:18px 12px}.record-kicker{font-size:10px}.detail-section{padding:22px 0}dialog{padding:22px}.diff{font-size:12px}.diff th{font-size:11px}.diff td,.diff th{padding:12px 7px}.form-actions{flex-wrap:wrap}.form-actions button{flex:1;font-size:13px}.empty-changes{padding:30px 0}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

body .app-layout{min-height:100vh}.login-panel{max-width:430px;margin:12vh auto;padding:28px}.login-panel h1{font-family:var(--serif);font-size:38px;font-weight:400}.login-panel p{line-height:1.6}.login-panel input{margin-bottom:18px}.pagination{display:flex;gap:12px;justify-content:space-between;padding:16px 0}button:disabled{opacity:.5;cursor:wait}.operation-reference{overflow-wrap:anywhere}.delivery-line{align-items:flex-start}.nav-foot .text-button{font-size:12px;min-height:32px;padding:4px 0}#notice[role=alert]{background:#842d28}

.mobile-logout{display:none}@media(max-width:900px){.mobile-logout{display:block}.navigation{flex-wrap:wrap}}

.help-page{max-width:760px;padding:40px 24px 64px}.help-page .brand{margin:32px 0}.help-page .brand img{margin:0}.help-page h1{font-size:36px}.help-page h2{font-size:21px;margin-top:32px}.help-page p{line-height:1.7}.help-page a{text-decoration:underline;text-underline-offset:3px}

.history-tools{display:flex;align-items:end;gap:20px;flex-wrap:wrap;padding:20px 0;border-top:1px solid var(--line)}.history-tools label{display:grid;gap:8px;font-size:13px}.history-tools input[type=search],.history-tools select{border:1px solid #cdd3c8;border-radius:5px;background:var(--surface);color:var(--ink);padding:12px;min-height:44px;font:inherit}.history-tools input[type=search]{width:300px;max-width:100%}.history-tools .history-tests{display:flex;align-items:center;min-height:44px}.history-tests input{width:18px;height:18px}.history-row{gap:24px}.history-row h2{font-size:18px}.history-row p{margin:7px 0}.change-meta{color:var(--muted);font-size:13px}.history-row-actions{display:flex;align-items:center;gap:24px;flex-shrink:0}.change-badge{display:inline-block;font-size:13px;font-weight:600;padding:6px 11px;border-radius:20px;background:#e9ece4;color:#435143}.change-badge.published{background:#deeadc;color:#304e34}.change-badge.publishing{background:#f1ead6;color:#69521d}.change-badge.attention{background:#f6e5dc;color:#843b20}.change-detail{max-width:840px;padding-bottom:24px}.change-detail-heading{margin:24px 0}.change-detail-heading h2{font-family:var(--serif);font-size:32px;font-weight:400;margin:18px 0}.change-detail-heading h3{font-size:21px;margin:0}.change-detail-heading p{margin:8px 0}.change-comparison{overflow-x:auto}.change-comparison caption{text-align:left;font-weight:600;margin-bottom:14px}.change-comparison th,.change-comparison td{overflow-wrap:anywhere}.change-comparison tbody th{text-align:left;font-weight:500}.change-delivery{display:grid;grid-template-columns:160px minmax(0,1fr);gap:12px 20px;background:var(--wash);padding:20px;margin:24px 0;font-size:14px}.change-delivery dd{margin:0}.change-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.change-actions a{text-decoration:none}.change-technical{border-top:1px solid var(--line);margin-top:28px;padding-top:20px;font-size:13px;color:var(--muted)}.change-technical summary{cursor:pointer;padding:8px 0;color:var(--ink)}.change-technical code{overflow-wrap:anywhere}.change-explanation{padding:16px;background:#f6e5dc;color:#71371f;border-left:3px solid #a65d36}
@media(max-width:700px){.history-tools{display:grid;grid-template-columns:1fr}.history-tools input[type=search]{width:100%}.history-row{align-items:start;flex-direction:column}.history-row-actions{width:100%;justify-content:space-between;gap:12px}.change-detail-heading h2{font-size:28px}.change-delivery{grid-template-columns:120px minmax(0,1fr);gap:12px}.change-comparison .diff{font-size:13px}.change-comparison th,.change-comparison td{padding:10px 8px}}

/* Change history: names and facts first; references remain subordinate. */
.history-filters{padding:24px 0 18px;border-top:1px solid var(--line)}.history-filters label{font-size:13px;font-weight:500}.history-filters input:not([type=checkbox]),.history-filters select{display:block;width:100%;min-height:44px;border:1px solid #cdd3c8;border-radius:5px;background:var(--surface);color:var(--ink);padding:10px 12px;font:inherit;margin-top:8px}.history-search{max-width:640px}.history-filter-grid{display:grid;grid-template-columns:1.25fr 1fr 1fr 1fr;gap:16px;margin-top:18px;max-width:1050px}.history-filter-footer{display:flex;justify-content:space-between;align-items:center;max-width:1050px;font-size:12px;color:var(--muted);margin-top:8px}.history-extra{font-size:12px;color:var(--muted);margin-top:6px}.history-extra summary{cursor:pointer;padding:8px 0}.history-extra label{display:flex;align-items:center;gap:8px;font-size:12px}.history-count{font-size:13px;color:var(--muted);margin:20px 0 12px}.history-entry,.history-column-head{display:grid;grid-template-columns:minmax(240px,2.2fr) minmax(110px,1fr) minmax(130px,1fr) 125px 105px;gap:18px;align-items:center}.history-column-head{font-size:12px;color:var(--muted);padding:12px 0;border-bottom:1px solid var(--line)}.history-entry{padding:24px 0;border-bottom:1px solid var(--line);font-size:14px}.history-entry h2{font-size:18px;margin:0 0 8px}.history-entry p{margin:0;overflow-wrap:anywhere}.history-entry .text-button{text-align:right}.history-who,.history-when{font-size:13px}.restoration-note{display:block;font-size:12px;color:var(--muted);margin-top:8px}.mobile-field-label{display:none}.clear-detail .change-detail-heading{margin:28px 0 30px}.clear-detail .change-detail-heading h2{font-family:var(--serif);font-size:36px;margin:8px 0 14px}.clear-detail .change-attribution{font-size:14px;color:var(--muted)}.clear-detail .change-attribution strong{font-weight:500;color:var(--ink)}.clear-detail .change-comparison .diff{margin-bottom:0}.clear-detail .change-comparison th{background:transparent}.clear-detail .change-comparison thead{border-bottom:1px solid var(--line)}.clear-detail .change-comparison td:last-child{font-size:18px;color:var(--ink);font-weight:600;background:var(--wash)}.clear-detail .change-comparison td,.clear-detail .change-comparison th{padding:16px}.publication-result{display:flex;gap:10px;align-items:center;padding:18px 0;font-size:14px;color:var(--muted)}.publication-result.published{color:#355539}.publication-result.attention{color:#843b20}.reference-line{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.copy-reference{display:inline-flex;align-items:center;justify-content:center;min-width:40px;min-height:40px}.clear-detail .change-technical{font-size:12px}.clear-detail .change-technical summary{color:var(--muted)}
@media(max-width:1100px){.history-entry,.history-column-head{grid-template-columns:minmax(180px,1.8fr) 1fr 1fr 110px;gap:12px}.history-entry>button{grid-column:1/-1;justify-self:end}.history-column-head>span:last-child{display:none}}
@media(max-width:700px){.history-filter-grid{grid-template-columns:1fr 1fr;gap:14px}.history-filter-grid label:first-child,.history-filter-grid label:last-child{grid-column:1/-1}.history-column-head{display:none}.history-entry{grid-template-columns:1fr auto;gap:12px}.history-subject{grid-column:1/-1}.history-who{grid-column:1}.history-when{grid-column:1/-1;color:var(--muted)}.history-entry>button{grid-column:2;grid-row:4}.mobile-field-label{display:inline;margin-right:6px;color:var(--muted)}.clear-detail .change-detail-heading h2{font-size:30px}.clear-detail .change-comparison td,.clear-detail .change-comparison th{padding:12px 8px}.clear-detail .change-comparison td:last-child{font-size:15px}.history-filters input[type=date]{min-width:0}.history-filter-footer{gap:12px}}
.history-entry>button{white-space:nowrap;font-size:13px}
#delivery-workspace{max-width:800px}#delivery-workspace li{line-height:1.6;margin-bottom:8px}#delivery-workspace .primary{display:inline-block;text-decoration:none}#delivery-workspace>.panel-content>.secondary{margin-top:12px;margin-bottom:24px}

@media(max-width:900px){.navigation nav{flex-wrap:wrap;max-width:100%}}

/* Records of every kind: list flags, related lists, forms with typed controls. */
.button-row{display:flex;gap:10px;flex-wrap:wrap}.record-kicker{text-transform:uppercase}
.pill{display:inline-block;font-size:11px;font-weight:600;padding:3px 8px;border-radius:12px;background:#e9ece4;color:#435143;white-space:nowrap;letter-spacing:0}.pill.muted{background:#ece9e1;color:#5e5648}
.record-row .pill{margin-left:auto}.record-row .pill+.row-arrow{margin-left:8px}
.related-row{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line)}.related-row:last-of-type{border-bottom:0}
.related-open{flex:1;display:flex;flex-direction:column;gap:4px;border:0;background:none;text-align:left;padding:12px 0;font-size:14px;min-height:48px;min-width:0}
button.related-open:hover strong{text-decoration:underline}.related-open strong{font-weight:500;overflow-wrap:anywhere}.related-open span{font-size:12px;color:var(--muted)}
.empty-line{color:var(--muted);font-size:13px;margin:0 0 8px}
.secondary.small{min-height:36px;padding:6px 12px;font-size:13px;margin-top:10px}
.form-group{border:0;padding:0;margin:0 0 26px;min-width:0}.form-group legend{font-size:13px;font-weight:600;margin-bottom:14px;padding:0}.form-group .form-grid{margin-bottom:0}
.form-field label,.field-label{font-size:13px;font-weight:500}
.form-field select,.form-field textarea{width:100%;background:var(--surface);border:1px solid #bcc8b7;border-radius:4px;padding:11px 12px;color:var(--ink);font:inherit;font-size:15px}
.form-field select{min-height:46px}.form-field textarea{resize:vertical;min-height:96px}
.form-check{display:flex;align-items:center;gap:10px;min-height:44px;font-size:14px;font-weight:500}.form-check input{width:20px;height:20px;margin:0}
.fixed-value{margin:0;padding:11px 0;font-size:15px}
.person-results{display:grid;gap:2px}.person-results button{display:flex;justify-content:space-between;gap:12px;border:1px solid var(--line);background:var(--surface);text-align:left;padding:10px 12px;border-radius:4px;font-size:14px}.person-results button span{color:var(--muted);font-size:12px}.person-results button:hover{background:var(--wash)}
.companion-list{margin:0 0 10px;padding-left:20px}.companion-list li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:6px 0;border-bottom:1px solid var(--line)}.companion-add{display:flex;gap:10px;align-items:center}.companion-add select{flex:1;min-height:42px;border:1px solid #bcc8b7;border-radius:4px;background:var(--surface);color:var(--ink);padding:8px 12px;font:inherit}.companion-add .secondary.small{margin-top:0}
.facts .pre{white-space:pre-wrap}.facts dd{overflow-wrap:anywhere}
.history-entry h2 .pill{margin-left:8px;vertical-align:middle;font-weight:500}
@media(max-width:650px){.record-actions{flex-direction:column;align-items:flex-start}.button-row{width:100%}.button-row button{flex:1}.related-row{flex-wrap:wrap}}
/* Contrast: muted text and marks meet WCAG AA (axe-core pass in scripts/smoke-staff-client.mjs). */
.derived-value{color:var(--muted)}.facts dd p{margin:0 0 10px}.facts dd p:last-child{margin-bottom:0}.facts dd ul,.facts dd ol{margin:0 0 10px;padding-left:20px}.facts dd a{text-decoration:underline;text-underline-offset:3px}
