:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#243650;background:#f3f6f8;font-synthesis:none}*{box-sizing:border-box}html,body{margin:0;min-height:100%;scroll-behavior:smooth}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}a{color:#2e5b83}svg{flex-shrink:0}h1,h2,h3,p{margin-top:0}.loading-shell{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#70849a}.loader{width:32px;height:32px;border:3px solid #dce4e8;border-top-color:#456d87;border-radius:50%;animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.app-shell{display:flex;min-height:100vh}.sidebar{position:sticky;top:0;min-height:100vh;height:100vh;width:265px;flex-shrink:0;background:#19314b;color:#fff;display:flex;flex-direction:column;gap:18px;padding:26px 16px;z-index:4}.brand{display:flex;align-items:center;gap:12px;margin:0 4px 20px}.brand-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:13px;background:#2e4a65;color:#f6dca3;font-size:26px}.brand strong{display:block;font-size:15px}.brand small{display:block;color:#b8c9d7;font-size:11px;line-height:1.5;margin-top:3px}.nav{display:grid;gap:6px}.nav-btn,.signout{display:flex;align-items:center;gap:12px;width:100%;text-align:left;color:#d0dce6;background:transparent;border:0;border-radius:10px;padding:13px 14px;font-size:14px;font-weight:560}.nav-btn:hover,.nav-btn.selected{background:#32516f;color:#fff}.nav-symbol{font-size:18px;width:22px;text-align:center}.sidebar-foot{margin-top:auto;border-top:1px solid #496079;padding:21px 11px 0}.sidebar-foot strong{display:block;font-size:14px}.sidebar-foot span{display:block;font-size:12px;color:#b9cad8;margin-top:4px}.signout{margin:16px 0 0 -8px;padding:10px 8px}.main{flex:1;min-width:0}.topbar{min-height:101px;background:#fff;border-bottom:1px solid #e0e7ec;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px clamp(17px,3vw,42px)}.titlewrap{display:flex;align-items:center;gap:12px}.topbar h1{font-size:25px;line-height:1.2;margin:0 0 5px;font-weight:740;letter-spacing:-.6px}.topbar p{margin:0;color:#8292a1;font-size:13px}.topbar-user{border-radius:60px;background:#eef3f7;color:#48627c;padding:10px 15px;font-size:12px;white-space:nowrap}.menu-button{display:none;border:0;background:transparent;font-size:26px;color:#19314b}.content{max-width:1330px;padding:28px clamp(17px,3vw,42px) 70px;margin:auto}.notice,.hint,.callout{padding:13px 16px;border-radius:10px;margin:0 0 17px;font-size:13px;line-height:1.55}.notice{background:#fff0ed;border:1px solid #f6cbc3;color:#873c30;display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.notice button{background:none;border:0;color:inherit;font-size:20px}.hint{background:#eaf3f9;color:#365c76}.callout{background:#f7f9fb;border:1px solid #e5ebf0;color:#647b8d}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.stat{padding:21px;border:1px solid #e4ebef;border-radius:15px;background:#fff;box-shadow:0 2px 8px #1c3b5006}.stat .symbol{font-size:20px;color:#607e99}.stat strong{display:block;font-size:30px;letter-spacing:-.8px;margin:9px 0 5px}.stat span{color:#75879a;font-size:12px}.panel{background:#fff;border:1px solid #e4ebef;border-radius:15px;padding:24px;margin-bottom:20px;box-shadow:0 2px 10px #102e4205}.panel-title{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:19px}.panel-title h2,.panel h2{font-size:18px;margin:0 0 7px;letter-spacing:-.25px}.panel-title h2{margin:0}.small-muted{font-size:13px;color:#778c9c;line-height:1.6;margin:0 0 18px}.muted{color:#708599}.btn{border:0;border-radius:10px;background:#315b7f;color:#fff;padding:11px 16px;font-size:13px;font-weight:650;display:inline-flex;gap:8px;align-items:center;justify-content:center}.btn.secondary{background:#eaf1f7;color:#2c5375}.btn.danger{background:#f8e9e4;color:#873e39}.btn:hover{filter:brightness(.96)}.btn-row{display:flex;align-items:center;gap:11px;flex-wrap:wrap}.table-wrap{width:100%;overflow:auto}.table-wrap table{border-collapse:collapse;min-width:530px;width:100%}th{text-align:left;color:#7c8fa1;background:#f8fafb;font-weight:600;font-size:12px;padding:13px}td{padding:14px 13px;border-top:1px solid #eef1f4;font-size:13px;vertical-align:middle}tbody tr.record{cursor:pointer}tbody tr.record:hover{background:#f7fafc}td strong{display:block}td small{display:block;margin-top:5px;color:#8796a3}.empty{text-align:center;padding:33px;color:#8696a5}.chip{display:inline-flex;align-items:center;border-radius:30px;padding:7px 11px;font-size:11px;font-weight:700;white-space:nowrap;background:#e8f0fa;color:#315d83}.chip.closed{background:#e6f6ec;color:#337651}.chip.wait{background:#fff3df;color:#8a6322}.search{width:100%;padding:12px 14px;border:1px solid #dce7ef;border-radius:10px;margin-bottom:15px;outline:none}.search:focus,.field input:focus,.field select:focus,.field textarea:focus{border-color:#518ab4;box-shadow:0 0 0 3px #518ab41d;outline:none}.field{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:600;color:#405a72}.field input,.field select,.field textarea{border:1px solid #dce5ec;background:white;border-radius:10px;padding:12px;color:#243c52;width:100%;font-weight:400}.field textarea{resize:vertical;min-height:96px;line-height:1.5}.field small{color:#7d91a3;font-weight:400;line-height:1.5}.formgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.wide{grid-column:1 / -1}.checkbox{display:flex;align-items:flex-start;gap:10px;line-height:1.5;font-weight:450;font-size:13px;color:#466176}.checkbox input{width:19px;height:19px;flex-shrink:0}.form-actions{padding-top:6px}.back{border:0;background:transparent;color:#365d81;display:flex;align-items:center;gap:9px;padding:0;margin:0 0 18px;font-weight:600}.detailgrid{display:grid;grid-template-columns:minmax(290px,.95fr) minmax(330px,1.3fr);gap:22px;align-items:start}.facts{display:grid;grid-template-columns:130px 1fr;gap:14px 9px;margin:0;font-size:13px}.facts dt{color:#7d91a2}.facts dd{margin:0;overflow-wrap:anywhere;font-weight:560}.panel h3{font-size:15px;margin:0 0 16px}.stack{display:grid;gap:15px}.timeline{border-left:2px solid #dbe6ee;padding:1px 0 0 19px;margin:2px 0 0 9px}.event{position:relative;margin-bottom:22px}.event:before{position:absolute;left:-26px;top:3px;width:11px;height:11px;background:#698caa;border:3px solid white;border-radius:50%;content:""}.event .head{display:flex;align-items:baseline;justify-content:space-between;gap:8px;font-size:13px}.event .head small{font-size:12px;color:#8699a8}.event p{font-size:13px;line-height:1.6;white-space:pre-wrap;margin:9px 0 6px}.event small{font-size:12px;color:#758b9f}.step-note{border-top:1px solid #e9eef2;padding-top:16px;margin-top:12px;color:#667f94;font-size:12px;line-height:1.6}.login-screen{min-height:100vh;background:linear-gradient(145deg,#162d49,#3a5e79);display:flex;justify-content:center;align-items:center;padding:23px}.login-card{background:white;width:min(100%,420px);border-radius:21px;padding:35px;box-shadow:0 20px 70px #0d203747}.login-card .brand-icon{margin:auto;width:60px;height:60px;font-size:33px}.login-card h1{text-align:center;font-size:25px;margin:18px 0 5px}.login-card>p{text-align:center;font-size:13px;color:#7890a2;margin:0 0 27px;line-height:1.5}.login-card form{display:grid;gap:16px}.login-card .btn{width:100%;margin-top:6px;padding:13px}.login-card footer{text-align:center;color:#91a0af;font-size:11px;margin-top:24px;line-height:1.6}.tiny{font-size:12px;color:#6d8598;line-height:1.55}.profile-tag{font-size:11px;text-transform:uppercase;letter-spacing:.6px;color:#7690a4;font-weight:750}.profile-head{display:flex;align-items:center;gap:12px;justify-content:space-between;flex-wrap:wrap;margin-bottom:20px}.profile-head h2{margin:0}.date{font-variant-numeric:tabular-nums}.record-link{color:#2e5c81;text-decoration:underline}.mobile-shade{display:none}#toast{position:fixed;bottom:20px;right:20px;z-index:30;background:#19314b;color:white;border-radius:12px;padding:14px 18px;box-shadow:0 12px 35px #112b4840;max-width:min(90vw,420px);font-size:13px}.hidden{display:none!important}
@media(max-width:1100px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.detailgrid{grid-template-columns:1fr}}
@media(max-width:800px){.sidebar{position:fixed;left:-280px;box-shadow:0 0 38px #182d4830;transition:left .2s}.sidebar.open{left:0}.mobile-shade.visible{display:block;position:fixed;inset:0;background:#101d2e80;z-index:3}.menu-button{display:block}.topbar{padding:19px}.topbar h1{font-size:21px}.content{padding:18px 17px 45px}}
@media(max-width:560px){.topbar-user{display:none}.topbar p{font-size:11px}.topbar h1{font-size:20px}.panel{padding:18px}.stats{gap:10px}.stat{padding:16px}.stat strong{font-size:25px}.formgrid{grid-template-columns:1fr}.facts{grid-template-columns:105px 1fr}.login-card{padding:26px}.profile-head{align-items:flex-start}}

.register-panel{max-width:900px}.soft-divider{border:0;border-top:1px solid #e9edf1;margin:20px 0}
