
:root{--navy:#0d2443;--navy2:#112f54;--orange:#f57b20;--ink:#152b4b;--muted:#70829a;--line:#e6edf5;--bg:#f4f7fb;--shadow:0 7px 25px rgba(17,43,78,.055)}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);font:14px "Segoe UI",Arial,sans-serif;color:var(--ink);line-height:1.5}
a{color:#1363b4;text-decoration:none}a:hover{text-decoration:underline}
.topbar{height:78px;background:linear-gradient(115deg,#091d37,#14355a);color:white;display:flex;align-items:center;gap:28px;padding:0 28px;position:sticky;top:0;z-index:10;box-shadow:0 3px 12px #0c23402b}
.brand{display:flex;align-items:center;gap:12px;min-width:240px;color:white;text-decoration:none!important}
.brand-symbol{font-size:44px;line-height:1;font-weight:900;font-style:italic;color:white;letter-spacing:-7px;padding-right:7px}.brand-symbol span{color:var(--orange)}
.brand-copy{display:flex;flex-direction:column;line-height:1.15}.brand-copy strong{font-size:21px;letter-spacing:.2px}.brand-copy strong span{color:var(--orange)}.brand-copy small{font-size:14px;color:#c8d7e9;margin-top:3px}
.top-context{display:flex;align-items:center;gap:12px;padding:9px 17px;border:1px solid #ffffff16;background:#ffffff0b;border-radius:12px}.context-icon{font-size:24px;color:#a8d3ff}.top-context strong,.top-user strong{display:block;font-size:13px}.top-context small,.top-user small{display:block;font-size:11px;color:#bbccdf}
.top-user{display:flex;align-items:center;gap:10px;margin-left:auto}.user-avatar{height:35px;width:35px;border-radius:50%;display:grid;place-items:center;background:#e8f1fb;color:#12497d}
.sidebar{width:250px;position:fixed;top:78px;bottom:0;left:0;background:linear-gradient(#102c4e,#0c2442);color:white;display:flex;flex-direction:column;padding:24px 12px;z-index:5}
.sidebar-label{font-size:10px;letter-spacing:2px;color:#809dbd;padding:0 16px;margin-bottom:13px}.side-nav{display:flex;flex-direction:column;gap:6px}.side-nav a{color:#e6eff9;padding:13px 16px;border-radius:9px;display:flex;gap:13px;align-items:center;font-weight:500}.side-nav a span{font-size:19px;width:23px;text-align:center}.side-nav a:hover,.side-nav a.active{background:var(--orange);color:white;text-decoration:none}
.sidebar-bottom{margin-top:auto;display:flex;flex-direction:column;align-items:center;gap:5px;text-align:center;color:#c9d8e8;font-size:12px}.sidebar-bottom strong{color:white;font-size:19px}.birthday-mark{font-size:54px}.sidebar-bottom form{width:100%;margin-top:18px}.logout{width:100%;background:#ffffff12!important;color:#fff!important;border:1px solid #ffffff35!important}
main{max-width:1150px;margin:30px auto;padding:0 20px 28px}.app-main{max-width:none;margin:0 0 0 250px;padding:28px 32px 40px}.auth-main{max-width:550px;padding:20px}
.page-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:20px}.page-heading h1{font-size:29px;margin:3px 0 0;color:#0b284b;letter-spacing:-.7px}.page-heading p{color:var(--muted);margin:1px 0}.eyebrow{font-size:10px;color:#f17c24;letter-spacing:2px;font-weight:800}.heading-pill{background:#fff;border:1px solid var(--line);border-radius:25px;padding:8px 14px;color:#365879;font-size:12px}
.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:18px}
.stat-card{border-radius:14px;padding:20px;display:flex;gap:15px;align-items:center;min-height:132px}.stat-card strong{font-size:30px;display:block;line-height:1.2}.stat-card span{display:block;font-weight:700}.stat-card small{display:block;font-size:11px;color:#6c7e91;margin-top:3px}.stat-icon{font-size:26px;width:54px;height:54px;flex-shrink:0;border-radius:50%;display:grid;place-items:center;background:#ffffff91}.stat-blue{background:#e7f1ff}.stat-orange{background:#fff0e5}.stat-green{background:#e3f7f2}.stat-purple{background:#f0edff}
.dashboard-columns{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:17px;align-items:start}
.card{background:#fff;border:1px solid #edf1f6;border-radius:15px;padding:23px;margin:0 0 18px;box-shadow:var(--shadow)}.card h2{margin:0 0 14px;font-size:19px;color:#102c50}.card h3{margin:14px 0 9px;font-size:14px}.card-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:16px}.card-heading h2{margin:0}.card-heading p{margin:2px 0;color:var(--muted);font-size:12px}.text-link{white-space:nowrap;font-weight:600;font-size:12px}.narrow{max-width:580px;margin:30px auto}
.alert-section{border-top:1px solid var(--line);padding-top:6px}.alert-section h3{display:flex;align-items:center;gap:9px}.status-dot{width:9px;height:9px;border-radius:50%}.dot-orange{background:#f47a22}.dot-blue{background:#2477dd}.dot-green{background:#10a880}.count{font-size:11px;background:#edf2f8;border-radius:20px;padding:4px 9px;color:#45627f}.count-large{font-size:12px}.birthday-list{list-style:none;padding:0;margin:0 0 12px}.birthday-list li{display:flex;align-items:center;gap:11px;padding:9px 4px;border-bottom:1px solid #f0f3f7}.birthday-list li:last-child{border:0}.birthday-list li strong{font-size:13px;font-weight:600}.birthday-list .empty{color:var(--muted);font-size:12px}.person-initial{display:grid;place-items:center;width:32px;height:32px;flex-shrink:0;background:#e0edff;color:#1764ad;border-radius:50%;font-weight:800}.status-tag{display:inline-block;border-radius:8px;padding:5px 9px;font-size:11px;font-weight:700;white-space:nowrap}.birthday-list .status-tag{margin-left:auto}.tag-orange{background:#fff0e4;color:#d45b0c}.tag-blue{background:#e8f1ff;color:#2469b5}.tag-neutral{background:#eff3f8;color:#61738c}.quick-tip{margin-top:20px;border-radius:10px;padding:12px;background:#f4f8fc;color:#6d8097;font-size:12px}
.stack{display:grid;gap:14px}.gridform{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;max-width:850px}.full{grid-column:1/-1}label{display:grid;gap:6px;font-weight:600;font-size:12px}input,select{width:100%;min-width:0;border:1px solid #d5dfeb;border-radius:9px;background:white;padding:11px 12px;font:inherit;color:var(--ink);outline:none}input:focus,select:focus{border-color:#f57b20;box-shadow:0 0 0 3px #f57b2022}input[type=checkbox]{width:auto;accent-color:var(--orange)}.confirm-delete{display:flex;gap:6px;align-items:center;font-size:11px;color:#9c3030;margin:7px 0}
.formline{display:flex;flex-wrap:wrap;gap:10px;align-items:end}.formline input,.formline select{flex:1;min-width:130px}.inline{display:inline-block;vertical-align:middle}
button,.btn{background:var(--orange);color:white;border:0;border-radius:9px;padding:10px 14px;text-decoration:none;font:inherit;font-weight:600;cursor:pointer;display:inline-block;transition:filter .15s}button:hover,.btn:hover{filter:brightness(.94);text-decoration:none}.danger{background:#c43f45}.tablewrap{overflow:auto;max-width:100%}table{width:100%;border-collapse:collapse;min-width:650px}th,td{padding:13px 12px;text-align:left;border-bottom:1px solid var(--line);vertical-align:middle}th{background:#f5f8fc;font-size:11px;color:#526c8d;text-transform:uppercase;letter-spacing:.4px}td{font-size:12px}td p{margin:4px 0;color:var(--muted)}td .stack{min-width:190px}td form:not(.inline){margin:6px 0}tr.today td,tr.tomorrow td{background:transparent}.notice{padding:13px 16px;border-radius:10px;margin:0 0 16px;background:#e9f2ff;color:#194e83}.notice.green{background:#e7f8ef}.notice.yellow{background:#fff4dc}.hint{color:#7789a1;font-size:12px}.footer-note{margin-top:24px}.show-password{margin:4px 0 8px;display:inline-block;padding:5px 9px;font-size:.85rem;cursor:pointer}
@media(max-width:1100px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-columns{grid-template-columns:1fr}.app-main{padding:23px}}
@media(max-width:760px){.topbar{height:68px;padding:0 14px;gap:8px}.brand{min-width:0}.brand-copy strong{font-size:16px}.brand-copy small{font-size:11px}.brand-symbol{font-size:33px}.top-context,.top-user{display:none}.sidebar{position:static;width:auto;padding:8px 10px;display:block}.sidebar-label,.sidebar-bottom{display:none}.side-nav{display:flex;flex-direction:row;overflow:auto;gap:3px}.side-nav a{padding:10px;white-space:nowrap;font-size:12px}.side-nav a span{font-size:15px;width:auto}.app-main{margin:0;padding:18px 12px}.page-heading{display:block}.page-heading h1{font-size:24px}.heading-pill{display:inline-block;margin-top:10px}.stats-grid{gap:9px}.stat-card{padding:12px;gap:8px;min-height:110px}.stat-card strong{font-size:24px}.stat-card span{font-size:12px}.stat-icon{font-size:19px;width:38px;height:38px}.card{padding:15px}.gridform{grid-template-columns:1fr}.full{grid-column:auto}}
@media(max-width:410px){.stats-grid{grid-template-columns:1fr 1fr}.stat-card{flex-direction:column;align-items:flex-start}.card-heading{align-items:flex-start;flex-direction:column}}
@media print{.topbar,.sidebar,form,button,.btn,.hint,.quick-tip{display:none!important}.app-main,main{margin:0;padding:0;max-width:none}.card{box-shadow:none;border:0}body{background:white}table{min-width:0}td,th{border:1px solid #aaa;padding:7px}}
