:root{--palmetto:#074175;--paper:#f1f1f4;--mist:#eaedef;--steel:#d3dde6;--white:#fff;--ink:#172c3f;--muted:#526373;--accent:#00ce7d;--red:#9f2032;--red-bg:#fff0f2;--green:#08633e;--green-bg:#dcf7e9;--blue-bg:#e3f0ff;--amber:#88520a;--amber-bg:#fff2d9;--line:var(--steel);--bg:var(--paper);--surface:var(--white);--font-body:'Roboto',sans-serif;--font-display:'Onest',sans-serif;--radius:4px;--radius-button:4px;--accent-fill:var(--palmetto);--accent-on-fill:var(--white);--accent-text:var(--palmetto);--focus:var(--palmetto)}
:root[data-theme=dark]{--paper:#101c28;--mist:#203142;--steel:#385064;--white:#182a3b;--ink:#f1f1f4;--muted:#bacbd9;--palmetto:#074175;--red:#ffbbc4;--red-bg:#442831;--green:#96e9bf;--green-bg:#193e33;--blue-bg:#183e63;--amber:#ffda9d;--amber-bg:#46381d;--focus:#69c8f1}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:14px/1.45 var(--font-body)}button,input,select,textarea{font:inherit}button{cursor:pointer;border:1px solid var(--steel);background:var(--white);color:var(--ink);border-radius:4px;padding:10px 15px;transition:background .15s}button:hover{background:var(--mist)}button:disabled{opacity:.6;cursor:wait}button.primary{background:var(--palmetto);color:#fff;border-color:var(--palmetto)}button.primary:hover{background:#05345d}button.quiet{background:transparent;color:#fff;border-color:#688bb0}input,select,textarea{padding:11px 12px;border:1px solid var(--steel);border-radius:4px;background:var(--white);color:var(--ink);min-width:0}input:focus,select:focus,textarea:focus,button:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--focus);outline-offset:3px}header{height:88px;background:var(--palmetto);display:flex;align-items:center;gap:28px;padding:12px 32px;color:#fff}.brand{height:64px;width:142px;background:#fff;display:flex;align-items:center;justify-content:center}.brand img{height:60px;width:82px;object-fit:contain}.header-label{font-family:var(--font-display);font-size:15px}.header-actions{margin-left:auto;display:flex;gap:8px}h1,h2,h3{font-family:var(--font-display);margin:0;font-weight:600}h1{font-size:36px;letter-spacing:-1.2px}h2{font-size:23px}p{margin:10px 0}.eyebrow{font-size:12px;letter-spacing:1.5px;text-transform:uppercase;color:var(--muted)}.muted{color:var(--muted)}.login{max-width:1120px;margin:0 auto;min-height:calc(100dvh - 88px);display:grid;grid-template-columns:1.2fr 1fr;gap:90px;align-items:center;padding:60px 32px}.login h1{font-size:76px;line-height:1.03;margin:20px 0 26px;letter-spacing:-3px}.login-intro p{color:var(--muted);font-size:17px;line-height:1.7}#login-form,#registration-form{border-top:4px solid var(--palmetto);padding:30px;background:var(--white)}form label{display:flex;flex-direction:column;gap:7px;margin:18px 0}#login-form button,#registration-form button{width:100%;margin-top:6px}#login-error,#registration-error,#modal-error{color:var(--red)}#registry-view{padding:30px 32px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.heading-actions{display:flex;gap:8px}.toolbar{display:flex;align-items:center;gap:10px;padding:14px 0;border-top:1px solid var(--steel)}.search-label{flex:0 1 340px}.search-label input{width:100%}.toolbar select{max-width:190px}#save-state{margin-left:auto;font-size:12px;color:var(--muted)}.table-shell{overflow:auto;background:var(--white);border:1px solid var(--steel);max-height:64dvh;min-height:280px}table{border-collapse:separate;border-spacing:0;min-width:100%;width:max-content;font-size:13px}th{position:sticky;top:0;z-index:2;background:var(--mist);text-align:left;padding:13px 12px;font-weight:500;white-space:nowrap;border-bottom:1px solid var(--steel)}td{border-bottom:1px solid var(--steel);border-right:1px solid var(--steel);padding:10px 12px;min-width:125px;max-width:280px;white-space:pre-wrap;vertical-align:top;overflow-wrap:anywhere;height:50px}td:first-child,th:first-child{position:sticky;left:0;z-index:1;background:var(--white);min-width:190px;border-right:2px solid var(--steel)}th:first-child{z-index:3;background:var(--mist)}td:nth-child(2){min-width:260px}tr.summary td{background:var(--mist);font-weight:500;border-top:2px solid var(--steel)}tr.summary td:first-child{background:var(--mist)}td.editable{cursor:text}td.editable:hover{box-shadow:inset 0 0 0 2px var(--steel)}td.computed{color:var(--muted)}td.overdue{color:var(--red);background:var(--red-bg)!important;font-weight:600}.cipher-cell{display:flex;gap:12px;align-items:center}.cipher-cell button{padding:5px 9px;font-size:12px;font-weight:400}.event-actions{display:flex;gap:6px}.event-actions button{font-size:11px;padding:5px 8px}.status{display:inline-block;font-size:12px;padding:4px 8px;border-radius:3px;white-space:nowrap}.approved{background:var(--green-bg);color:var(--green)}.working{background:var(--blue-bg);color:var(--ink)}.rejected{background:var(--red-bg);color:var(--red)}.idle{background:var(--paper);color:var(--muted)}.table-footer{display:flex;justify-content:space-between;gap:20px;padding:13px 0;font-size:12px;color:var(--muted)}.legend{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:24px;font-size:12px;color:var(--muted)}dialog{width:min(640px,calc(100% - 32px));max-height:85dvh;overflow:auto;border:1px solid var(--steel);padding:25px;border-radius:6px;background:var(--white);color:var(--ink)}dialog::backdrop{background:#081c32a6}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.dialog-heading button{font-size:12px}#modal-actions{display:flex;justify-content:flex-end;margin-top:20px}#modal-content input,#modal-content select,#modal-content textarea{width:100%}#modal-content textarea{min-height:140px}.column-item{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--steel)}.column-item button{font-size:12px}.history-item{padding:14px 0;border-bottom:1px solid var(--steel)}.history-item small{color:var(--muted)}.history-item pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px}.history-item summary{cursor:pointer}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:90%;padding:14px 20px;background:var(--red-bg);color:var(--red);border:1px solid var(--red);z-index:10}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}@media(max-width:750px){header{height:76px;padding:10px 16px;gap:12px}.brand{height:54px;width:100px}.brand img{height:50px;width:67px}.header-label{display:none}.login{grid-template-columns:1fr;gap:30px;padding:35px 22px;min-height:auto}.login h1{font-size:50px;letter-spacing:-2px}.login-intro p{font-size:15px}#login-form,#registration-form{padding:24px}#registry-view{padding:24px 16px}h1{font-size:29px}.page-heading{align-items:flex-start;flex-direction:column;gap:15px;margin-bottom:18px}.heading-actions{width:100%;flex-wrap:wrap}.heading-actions button{flex:1;padding:10px;font-size:12px}.toolbar{flex-wrap:wrap;gap:8px}.search-label{flex:1 1 100%}.filter-label{flex:1}.toolbar select{width:100%;max-width:none}.toolbar button{font-size:12px;padding:10px}#save-state{width:100%;margin:0}.table-shell{max-height:58dvh}td:first-child,th:first-child{min-width:150px}.cipher-cell{gap:6px;flex-wrap:wrap}.table-footer{flex-direction:column;gap:6px}.legend{gap:8px;margin-top:14px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
