:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#18324a;background:#f4f7fb;line-height:1.4}*{box-sizing:border-box}body{margin:0;min-height:100vh}.topbar{background:#123b65;color:#fff;padding:18px max(20px,calc((100vw - 1080px)/2));display:flex;justify-content:space-between;align-items:center}.topbar h1{font-size:1.1rem;margin:2px 0 0;font-weight:700}.eyebrow{font-size:.68rem;text-transform:uppercase;letter-spacing:.11em;font-weight:800;margin:0;color:#6d8aa5}.topbar .eyebrow{color:#b9d5ed}.status-dot{width:11px;height:11px;background:#61d5a4;border-radius:50%;box-shadow:0 0 0 5px #ffffff22}.shell{max-width:1080px;margin:auto;padding:24px 18px 50px}.hero{background:linear-gradient(118deg,#e4f1fb,#f8fbfe);border:1px solid #cfe1f0;border-radius:20px;padding:24px;display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.hero h2,.history-head h2{margin:4px 0 6px;font-size:1.6rem;color:#123b65}.hero p:not(.eyebrow){margin:0;color:#55728b;max-width:650px}.hero-mark{font-size:3.2rem;color:#3181b7;opacity:.55}.tabs{display:flex;gap:8px;border-bottom:1px solid #d7e1ea;margin-bottom:18px}.tab{border:0;background:none;color:#648098;padding:13px 14px;font-size:.95rem;font-weight:700;cursor:pointer;border-bottom:3px solid transparent}.tab.active{color:#123b65;border-bottom-color:#1d79b8}.badge{background:#dceaf5;border-radius:12px;padding:2px 7px;font-size:.75rem;margin-left:4px}.card{background:#fff;border:1px solid #dce6ee;border-radius:16px;padding:22px;box-shadow:0 8px 24px #18324a0b}.section-title{display:flex;gap:12px;align-items:center;border-bottom:1px solid #e5edf3;padding-bottom:14px;margin-bottom:18px}.section-title.compact{margin-top:21px;padding-top:4px}.section-title h3{font-size:1.05rem;margin:0;color:#183b59}.section-title p{margin:2px 0 0;color:#71879a;font-size:.85rem}.step{display:grid;place-items:center;background:#d9edf9;color:#17638d;font-weight:800;width:31px;height:31px;border-radius:50%}.step.warm{background:#fff0d6;color:#a56512}.step.cool{background:#dff4ee;color:#1f7964}label{display:block;font-weight:700;color:#29465d;font-size:.9rem;margin-bottom:15px}.required{color:#c45548}input,select,textarea{display:block;width:100%;margin-top:7px;border:1px solid #cbd9e4;border-radius:9px;padding:12px 13px;font:inherit;color:#18324a;background:#fff;outline:none}input:focus,select:focus,textarea:focus{border-color:#3988b8;box-shadow:0 0 0 3px #3988b822}small{display:block;font-weight:400;color:#7890a1;margin-top:5px}.grid{display:grid;gap:15px}.two{grid-template-columns:repeat(2,minmax(0,1fr))}.actions{display:flex;justify-content:flex-end;gap:10px;margin-top:8px}.button{border:0;border-radius:9px;padding:12px 17px;font-weight:800;font:inherit;cursor:pointer}.button.primary{background:#146aa2;color:#fff}.button.primary:hover{background:#105c8d}.button.secondary{background:#edf2f6;color:#405b70}.button.small{padding:9px 12px;font-size:.85rem}.notice{margin-top:14px;border-radius:10px;padding:13px 15px;background:#e1f5ed;color:#176d57;border:1px solid #bce8d7}.notice.error{background:#fff0ef;color:#9d4038;border-color:#f3c6c1}.hidden{display:none!important}.history-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:18px}.empty{text-align:center;padding:48px 20px;border:1px dashed #cbd9e4;border-radius:16px;background:#fbfdff;color:#71879a}.empty h3{margin:12px 0 4px;color:#29465d}.empty p{margin:0}.empty-icon{font-size:2.3rem;color:#72a1bf}.record{background:#fff;border:1px solid #dce6ee;border-radius:13px;padding:15px;margin-bottom:10px;display:flex;justify-content:space-between;gap:15px;align-items:center}.record strong{color:#183b59}.record p{margin:4px 0 0;color:#71879a;font-size:.85rem}.record-actions{display:flex;gap:7px;align-items:center}.event-pill{border-radius:20px;padding:5px 9px;font-size:.74rem;font-weight:800;background:#fff0d6;color:#9a6116}.event-pill.emi{background:#dff4ee;color:#1f7964}.icon-button{background:#edf2f6;border:0;border-radius:7px;padding:8px;cursor:pointer;color:#31536b}footer{text-align:center;color:#8194a3;font-size:.78rem;padding:20px}@media(max-width:650px){.shell{padding:16px 12px 42px}.hero{padding:19px}.hero-mark{display:none}.hero h2,.history-head h2{font-size:1.35rem}.card{padding:17px}.two{grid-template-columns:1fr}.actions{position:sticky;bottom:10px;background:#ffffffee;padding-top:10px}.actions .button{flex:1}.history-head{align-items:start;gap:10px}.record{align-items:start}.record-actions{flex-direction:column}.topbar{padding:16px 18px}}

@keyframes internalNetworkDrift{0%,100%{background-position:0 0,0 0,0 0,0 0}50%{background-position:42px -28px,-35px 48px,55px 15px,-60px -20px}}
body{position:relative;background-color:#071525;background-image:radial-gradient(circle at 12% 24%,#39e7ff 0 2px,transparent 3px),radial-gradient(circle at 29% 68%,#9d72ff 0 2px,transparent 3px),radial-gradient(circle at 72% 37%,#b174ff 0 2px,transparent 3px),radial-gradient(ellipse at 50% 38%,#153d62 0%,#0a2039 47%,#050d1b 100%);background-size:100% 100%;background-attachment:fixed;overflow-x:hidden}
body::before{content:"";position:fixed;inset:0;z-index:-2;pointer-events:none;opacity:.42;background-image:linear-gradient(#20d8e322 1px,transparent 1px),linear-gradient(90deg,#20d8e322 1px,transparent 1px);background-size:42px 42px;transform:perspective(900px) rotateX(58deg) translateY(35%);transform-origin:center bottom;animation:internalNetworkDrift 20s ease-in-out infinite}
body::after{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;opacity:.72;background-image:linear-gradient(24deg,transparent 0 27%,#39e7ff55 27.1% 27.22%,transparent 27.35% 100%),linear-gradient(153deg,transparent 0 43%,#a974ff55 43.1% 43.22%,transparent 43.35% 100%),linear-gradient(67deg,transparent 0 66%,#39e7ff44 66.1% 66.22%,transparent 66.35% 100%),radial-gradient(ellipse at 50% 42%,transparent 0 24%,#07152522 55%,#02071399 100%);animation:internalNetworkDrift 16s ease-in-out infinite;filter:drop-shadow(0 0 5px #28d9ed33)}
.topbar{box-shadow:0 3px 22px #00000055}.shell{position:relative}.tabs{border-bottom-color:#74b7d944}.tab{color:#b8d2e4}.tab.active{color:#fff;border-bottom-color:#39d9ef}.hero{box-shadow:0 12px 32px #00000033}.card,.empty,.record{box-shadow:0 10px 28px #0000002b}
.history-head h2{color:#e8f7ff}.history-head .eyebrow{color:#8bd8ea}footer{color:#b9d5e7}
@media(prefers-reduced-motion:reduce){body::before,body::after{animation:none}}
