:root{--ink:#111b25;--soft:#f4f2ec;--line:#d9dcd9;--muted:#57636a;--orange:#ff673b;--warm:#fffaf3;font:16px/1.45 "DM Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--soft);font-synthesis:none}
*{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0}
body:has(dialog[open]){overflow:hidden}
button,input,select,textarea{font:inherit}
button,a{touch-action:manipulation}
button,a,select{cursor:pointer}
button{color:inherit}
a{color:inherit}
button,select,input,textarea{border-radius:4px}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #1876b5;outline-offset:3px}
button:disabled{cursor:wait;opacity:.58}
h1,h2,h3,p,dl{margin:0}
svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex:none;pointer-events:none}
.symbol-bank,.sr,.skip:not(:focus){width:1px;height:1px;overflow:hidden;margin:-1px;padding:0;border:0;clip-path:inset(50%);position:absolute}
.skip:focus{position:fixed;z-index:9;left:12px;top:12px;background:white;padding:12px}
.mast{background:var(--ink);color:white;border-bottom:1px solid #3b4146}
.mast-inner,.desk{max-width:1280px;padding-inline:clamp(20px,5vw,76px);margin-inline:auto}
.mast-inner{display:flex;align-items:center;justify-content:space-between;min-height:78px;gap:24px}
.wordmark{display:inline-flex;align-items:center;gap:4px;line-height:1;text-decoration:none;font-weight:650;letter-spacing:-1px;font-style:italic;font-size:22px}
.wordmark b{font-size:30px;letter-spacing:-2px;font-weight:950}
.wordmark{font-family:"Barlow Condensed",Arial,sans-serif;font-weight:800}.wordmark svg{width:30px;height:30px;stroke:none;fill:var(--orange)}
.mast-actions{display:flex;align-items:center;gap:24px}
.return-link,.dark-button,.quiet-button,.icon-button,.contact-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:650;min-height:42px;font-size:14px;text-decoration:none}
.return-link svg,.quiet-button svg,.contact-button svg,.dark-button svg{width:17px;height:17px}
.return-link:hover{text-decoration:underline;text-underline-offset:5px}
.dark-button{padding:0 14px;color:white;border:1px solid #566069;background:transparent}
.dark-button:hover{background:#263542}
.boot{min-height:55vh;display:flex;flex-flow:column;align-items:center;justify-content:center;gap:20px;color:var(--muted)}
.login{display:grid;grid-template-columns:1fr minmax(420px,.92fr);min-height:calc(100svh - 78px)}
.login-photo{min-height:420px;background:linear-gradient(150deg,rgba(18,28,38,.08),rgba(18,28,38,.3)),url('/images/hero.webp') 77% center/cover no-repeat,#131e29}
.login-panel{display:flex;justify-content:center;flex-direction:column;align-items:flex-start;padding:clamp(40px,6vw,110px);max-width:700px;width:100%;margin-inline:auto}
.eyebrow{font-size:11px;line-height:1.2;font-weight:800;letter-spacing:.16em;display:flex;align-items:center;gap:10px}
.eyebrow>span:first-child{display:block;width:26px;height:3px;background:var(--orange);transform:skew(-22deg)}
h1,h2{font-weight:800;line-height:.99;letter-spacing:-.06em}h1{font-family:"Barlow Condensed",Arial,sans-serif;text-transform:uppercase;letter-spacing:-.024em}
h1>span{color:var(--orange)}
.login h1{font-size:clamp(62px,6.3vw,98px);margin:17px 0 20px}
.intro{color:var(--muted);max-width:34ch;line-height:1.55}
.login form{width:100%;max-width:370px;margin-top:32px}
label{display:block;font-weight:700;font-size:13px;margin-bottom:7px}
input,textarea,select{color:var(--ink);border:1px solid #b7c0c3;background:white;min-width:0;width:100%;padding:11px 12px;line-height:1.4}
input:not([type='checkbox']),select{min-height:45px}
textarea{resize:vertical;vertical-align:top}
.primary{display:flex;align-items:center;justify-content:space-between;gap:20px;border:0;background:var(--orange);color:#141b21;min-height:48px;padding:0 20px;font-size:14px;font-weight:750}
.primary:hover{background:#ff7d56}
.login .primary,#save{width:100%;margin-top:16px}
.desk{padding-block:clamp(34px,5vw,76px) 64px}
.desk-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:30px}
.desk h1{font-size:clamp(42px,6.4vw,77px);margin-top:13px}
.quiet-button,.icon-button,.contact-button{border:1px solid var(--line);background:white;padding:0 15px}
.quiet-button:hover,.icon-button:hover,.contact-button:hover{background:#ecefed;border-color:#aeb8b6}
.notice{border-left:3px solid #a6341a;padding:10px 13px;color:#6d230f;background:#fce6da;margin-block:12px;font-size:14px;line-height:1.45}
.notice.success{background:#e1f1e6;border-color:#397451;color:#205137}
.filter-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:22px}
.filter-card{display:grid;grid-template-columns:22px 1fr auto;align-items:center;column-gap:10px;padding:22px;background:#fff;border:1px solid var(--line);text-align:left;font-size:14px;font-weight:650}
.filter-card strong{font-size:27px;line-height:1;font-weight:800;letter-spacing:-.045em}
.filter-card[aria-pressed='true']{background:var(--ink);border-color:var(--ink);color:white}
.filter-card[aria-pressed='true'] svg{color:var(--orange)}
.filter-card:not([aria-pressed='true']):hover{border-color:#849097}
.list-panel{background:white;border:1px solid var(--line);border-radius:5px;overflow:hidden}
.tools{display:flex;gap:16px;justify-content:space-between;padding:16px 20px;border-bottom:1px solid var(--line)}
.search{position:relative;max-width:380px;flex:1}
.search input{padding-left:39px}
.search svg{position:absolute;left:13px;top:14px;width:17px;height:17px;color:var(--muted)}
.select{position:relative}
.select select{appearance:none;padding-right:35px}
.select svg{position:absolute;right:12px;top:calc(50% - 8px);width:16px;height:16px}
.tools select{font-size:14px}
#results{min-height:250px}
.table{border-collapse:collapse;width:100%;font-size:14px;table-layout:fixed;text-align:left}
.table th{font-size:11px;text-transform:uppercase;letter-spacing:.07em;font-weight:750;color:var(--muted);background:#f9faf8}
.table td,.table th{padding:13px 14px;border-bottom:1px solid #e5e7e4;overflow-wrap:anywhere}
.table td:first-child,.table th:first-child{padding-left:22px}
.table th:nth-child(1){width:28%}.table th:nth-child(2){width:26%}.table th:nth-child(3){width:21%}.table th:nth-child(4){width:19%}.table th:last-child{width:6%}
.table tr:last-child td{border-bottom:0}
.table tbody tr{cursor:pointer}
.table tbody tr:hover,.table tbody tr:focus-within{background:#fbf4ed}
.person{padding:0;border:none;background:transparent;text-align:left;font-weight:750;font-size:15px;text-decoration:underline dotted transparent;text-underline-offset:4px}
.table tbody tr:hover .person{text-decoration-color:currentColor}
.secondary{display:block;font-size:12px;color:var(--muted);margin-top:3px}
.tag{display:inline-block;font-size:12px;font-weight:750;line-height:1.2;border-radius:3px;padding:6px 8px;white-space:nowrap;background:#e9edf0;color:#3d4f59}
.tag[data-tone='new']{background:#ffe2d3;color:#833019}
.tag[data-tone='active']{background:#e0ebf6;color:#254e70}
.tag[data-tone='done']{background:#e0efe5;color:#28573e}
.row-arrow{width:16px;height:16px;color:#6b7579}
.empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:250px;text-align:center;padding:30px 12px}
.empty>svg{width:32px;height:32px;color:#78858c}
.empty strong{font-size:18px;letter-spacing:-.035em}
.empty p,.detail-sub,.detail-ref{color:var(--muted);font-size:14px}
dialog{position:fixed;inset:0 0 0 auto;margin:0;width:min(540px,100vw);max-width:none;height:100%;max-height:100%;padding:0;border:0;color:var(--ink);background:#fcfbf8;overflow-y:auto;overscroll-behavior:contain;box-shadow:-12px 0 60px #101a241a}
dialog::backdrop{background:#0a1723a6}
.detail-head,.detail-body{padding-inline:clamp(20px,4vw,36px)}
.detail-head{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding-block:14px;background:#fcfbf8}
.icon-button{width:40px;min-height:40px;padding:0}
.detail-body{padding-block:26px 40px}
.detail-ref{font-weight:700;font-size:12px;letter-spacing:.04em}
h2{font-size:clamp(35px,4vw,49px);overflow-wrap:anywhere;margin:8px 0}
.contact-actions{display:flex;flex-wrap:wrap;gap:8px;margin-block:18px}
.info{display:grid;grid-template-columns:minmax(90px,.65fr) minmax(0,1.5fr);gap:8px 14px;margin-bottom:20px;font-size:14px}
.info dt{color:var(--muted)}
.info dd{margin:0;overflow-wrap:anywhere}
.content-box{padding:16px;border-left:3px solid var(--orange);background:#f1efe8}
h3{font-size:16px;letter-spacing:-.03em}
.content-box p{white-space:pre-wrap;overflow-wrap:anywhere;margin-top:6px;font-size:14px;line-height:1.55}
#edit-form{margin-top:24px;border-top:1px solid var(--line);padding-top:18px}
#edit-form h3{font-size:21px;margin-bottom:13px}
#edit-form label{margin-top:12px}
.date-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.removal{margin-top:18px;border-top:1px solid var(--line);padding-top:10px}
.text-danger{border:0;background:transparent;color:#87361e;text-decoration:underline;text-underline-offset:3px;min-height:42px;padding:0;font-weight:650;font-size:13px}
.confirm-delete{padding:14px;background:#fcf0e9;border:1px solid #ebc3b3;border-radius:4px}
.confirm-delete p{font-size:14px;color:#613a30;margin-top:6px}
.delete-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.danger-button{min-height:42px;background:#8b3222;color:white;border:1px solid #8b3222;padding:0 12px;font-size:14px;font-weight:700}.danger-button:hover{background:#712918}
@media(max-width:800px){.filter-card{grid-template-columns:1fr auto;padding:14px;gap:6px}.filter-card svg{grid-column:1/-1}.login{grid-template-columns:.75fr minmax(355px,1fr)}.login-panel{padding:40px}.table th:nth-child(2){width:22%}.table th:nth-child(4){width:23%}}
@media(max-width:620px){.mast-inner{min-height:62px;padding-inline:16px}.mast-actions{gap:12px}.return-link{font-size:12px}.dark-button{padding:0 9px;font-size:12px}.dark-button svg{display:none}.wordmark{font-size:17px}.wordmark b{font-size:24px}.wordmark svg{width:24px;height:24px}.login{display:flex;flex-direction:column}.login-photo{min-height:0;height:24svh;max-height:210px;background-position:75% 55%}.login-panel{padding:30px 24px 50px;max-width:450px}.login h1{font-size:52px}.login h1 br{display:none}.login h1 br::after{content:' '}.login form{margin-top:20px}.desk{padding:30px 14px}.desk-heading{align-items:center;gap:7px;margin-bottom:22px}.desk h1{font-size:40px}.desk-heading .quiet-button{font-size:12px;padding:0 9px}.filter-cards{gap:6px;margin-bottom:12px}.filter-card{display:flex;align-items:flex-start;flex-direction:column;gap:4px;padding:12px 9px;font-size:12px}.filter-card>span{min-height:2.9em}.filter-card svg{width:16px;height:16px}.filter-card strong{font-size:24px}.tools{padding:12px;gap:8px;flex-direction:column}.tools input,.tools select{font-size:16px}.search{max-width:none}.table thead{position:absolute;clip-path:inset(100%);width:1px;height:1px;overflow:hidden}.table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:5px 8px;padding:14px 12px;border-bottom:1px solid var(--line)}.table tr:last-child{border-bottom:0}.table td,.table td:first-child{padding:0;border:0}.table td:nth-child(1){grid-column:1;grid-row:1}.table td:nth-child(2){grid-column:1;grid-row:2}.table td:nth-child(2) .secondary{display:inline}.table td:nth-child(2) .secondary:before{content:' · '}.table td:nth-child(3){grid-column:1;grid-row:3}.table td:nth-child(4){grid-column:2;grid-row:1}.table td:nth-child(5){display:none}.date-fields{gap:8px}input,select,textarea{font-size:16px}}
@media(prefers-reduced-motion:no-preference){button,a{transition:background .15s,color .15s,border-color .15s}dialog[open]{animation:enter .2s ease-out}@keyframes enter{from{transform:translateX(20px);opacity:.65}to{transform:translateX(0);opacity:1}}}
