/* INVITEYOUIN HARD UI 1.0.4 — complete design layer. No third-party fonts/images. */
:root { --accent:#85e0ca; --bg:#0b1119; --surface:#101b25; --surface2:#182632; --stroke:#2b3a46; --text:#eaf2f1; --muted:#9db0ba; --radius:13px; }
html,body { min-height:100%; }
html { scroll-behavior:smooth; }
body { font-family:Inter,"Segoe UI",ui-sans-serif,system-ui,-apple-system,sans-serif; -webkit-font-smoothing:antialiased; }
:focus-visible { outline:2px solid #64bfaf; outline-offset:3px; }
/* Auth: intentionally visually DIFFERENT from the former narrow, left-floating form. */
body.auth-layout { background:#0b1219; color:#1d262b; }
body.auth-layout .main { width:100%; min-height:100vh; }
body.auth-layout .auth-header { width:100%; height:74px; padding:0 clamp(22px,4vw,70px); margin:0; background:#0b1219; border-bottom:1px solid #1c2b31; }
body.auth-layout .auth-brand { color:#e9f2ee; font-size:18px; font-weight:650; letter-spacing:-.04em; }
body.auth-layout .auth-brand .svg-icon { color:#81dcc6; }
body.auth-layout .auth-home { font-size:12px; color:#a9bbb8; }
body.auth-layout .content { max-width:none; margin:0; padding:0; display:block; }
body.auth-layout .content>.notice { max-width:none; margin:0; padding:13px 5vw; border:0; border-radius:0; }
.v104-auth-shell { min-height:calc(100vh - 74px); display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr); width:100%; overflow:hidden; }
.v104-story { min-width:0; position:relative; padding:38px clamp(38px,5vw,88px) 30px; background:radial-gradient(ellipse 75% 55% at 96% 2%,#28473f 0%,transparent 68%),linear-gradient(145deg,#142a2d 0%,#0d1b23 69%,#101b24 100%); color:#e9f2ed; display:flex; flex-direction:column; justify-content:space-between; overflow:hidden; }
.v104-story:before { content:""; position:absolute; width:550px;height:550px;border:1px solid #7cdec522;border-radius:50%;left:-250px;bottom:-340px;pointer-events:none; }
.v104-story:after { content:""; position:absolute; width:660px;height:660px;border:1px solid #7cdec51a;border-radius:50%;left:-300px;bottom:-395px;pointer-events:none; }
.v104-story-bar,.v104-story-footer { display:flex; align-items:center; justify-content:space-between; gap:14px; position:relative; z-index:2; }
.v104-series,.v104-story-footer { font-size:10px; letter-spacing:.17em; font-weight:580; color:#8fbcb4; }
.v104-circle-mark { width:37px;height:37px;display:grid;place-items:center;border-radius:50%;border:1px solid #45665e;color:#9ce6cb; }
.v104-circle-mark svg { width:18px;height:18px; }
.v104-story-main { display:grid; grid-template-columns:minmax(230px,1fr) minmax(175px,.72fr);align-items:center; gap:30px; z-index:2; position:relative; margin:40px 0; }
.v104-overline { display:inline-flex; align-items:center; gap:10px; font-size:10px; font-weight:700; letter-spacing:.16em; color:#9fe0cd; }
.v104-tiny-line { width:24px;height:1px;background:#9fe0cd; }
.v104-editorial h1 { margin:18px 0 20px; font-size:clamp(54px,5.9vw,98px);line-height:.97;letter-spacing:-.08em;font-weight:550; }
.v104-editorial h1 em { font-family:Georgia,serif;letter-spacing:-.065em;font-style:italic;font-weight:400;color:#a8e5c9; }
.v104-editorial p { max-width:380px; line-height:1.9;font-size:13px; color:#b3c8c4; margin:0; }
.v104-invite-preview { width:100%;min-height:355px;max-width:270px;justify-self:center;background:#e9e5d9;color:#2a3435;border-radius:4px;box-shadow:15px 20px 0 #142c2d,0 28px 80px #0005;transform:rotate(7deg);padding:20px 21px 19px;display:flex;flex-direction:column;position:relative; }
.v104-invite-preview:before { content:"";position:absolute;inset:8px;border:1px solid #b3b4a6;pointer-events:none; }
.v104-preview-accent,.v104-preview-foot { display:flex;justify-content:space-between;gap:10px; font-size:7px;letter-spacing:.1em;font-weight:650;color:#666c62; }
.v104-preview-art { position:relative;flex:1;display:grid;place-items:center;min-height:145px; }
.v104-preview-ring {position:absolute;width:127px;height:127px;border:1px solid #9aab99;border-radius:50%;}
.v104-preview-ring:before,.v104-preview-ring:after{content:"";position:absolute;inset:14px;border:1px solid #abb8a8;border-radius:50%;}
.v104-preview-ring:after{inset:29px;}
.v104-preview-glyph svg { width:62px;height:62px;color:#6d8d7f;stroke-width:.8; }
.v104-preview-title { font-family:Georgia,serif;font-size:27px;line-height:1.16;letter-spacing:-.04em;font-style:italic;text-align:center;color:#384b45; }
.v104-preview-rule {height:1px;background:#b9b9aa;margin:18px 0 12px;}
.v104-story-footer { font-size:9px; }
.v104-access { min-width:0; background:#f3f1ea;display:flex; align-items:center;justify-content:center; padding:48px clamp(30px,5.5vw,98px); }
.v104-access-inner { width:min(100%,440px); }
.v104-access-top { display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:clamp(25px,5vh,64px); }
.v104-access-chip { display:inline-flex;align-items:center;gap:8px;color:#40554f;font-size:10px;letter-spacing:.12em;font-weight:700; }
.v104-access-chip svg { width:16px;height:16px;stroke-width:1.6; }
.v104-version { color:#748079; font-size:10px;letter-spacing:.07em; }
.v104-auth-heading .v104-overline { color:#3c8b79; }
.v104-auth-heading h2 { font-size:clamp(31px,3vw,46px);line-height:1.07;letter-spacing:-.06em;color:#172724;margin:14px 0 15px;font-weight:625; }
.v104-auth-heading p { font-size:13px;line-height:1.75;color:#6c7773;margin:0 0 29px;max-width:370px; }
.v104-auth-form { display:grid;gap:19px; }
.v104-control { display:flex;flex-direction:column;gap:8px;color:#2a3734;font-size:12px;font-weight:610; }
.v104-control>span:first-child {display:flex;align-items:center;justify-content:space-between;}
.v104-control small { color:#7d8d88;font-size:10px;font-weight:430; }
.v104-control input { font:inherit; font-size:13px; font-weight:450; height:52px;width:100%;padding:13px 15px;background:#fffefa;border:1px solid #d3d7cf;border-radius:8px;color:#1b2e2a;box-shadow:0 2px 2px #172a1505; outline-offset:0; }
.v104-control input:focus { border-color:#388e78;box-shadow:0 0 0 4px #4eac8b22;outline:0; }
.v104-control input::placeholder { color:#9baba2; }
.v104-password {position:relative;display:block;}
.v104-password input { padding-right:53px; }
.v104-eye {position:absolute;right:9px;top:50%;transform:translateY(-50%);border:0;background:transparent;color:#65786e;display:grid;place-items:center;width:38px;height:38px;border-radius:7px;}
.v104-eye svg { width:19px;height:19px; }
.v104-eye:hover {background:#e7eee9;}
.v104-subdomain {display:flex;align-items:center;background:#fffefa;border:1px solid #d3d7cf;border-radius:8px;overflow:hidden;}
.v104-subdomain input {min-width:0;box-shadow:none;border:0;border-radius:0;background:transparent;}
.v104-subdomain>span {border-left:1px solid #d3d7cf;padding:0 10px;white-space:nowrap;color:#687e75;font-size:11px;font-weight:480;}
.v104-submit {width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:9px;padding:0 19px;height:54px;border:0;border-radius:8px;background:#183c33;color:#f0f8f0;font-size:13px;font-weight:650;cursor:pointer;transition:background .2s;}
.v104-submit:hover {background:#245c4b;}
.v104-submit svg {width:19px;height:19px;}
.v104-auth-bottom {display:flex;align-items:center;justify-content:center;gap:5px;flex-wrap:wrap;margin:24px 0;color:#7b857e;font-size:12px;}
.v104-auth-bottom a {display:inline-flex;align-items:center;gap:4px;color:#245f50;font-weight:650;}
.v104-auth-bottom a svg {width:13px;height:13px;}
.v104-access-trust {display:flex;align-items:center;justify-content:center;gap:8px;margin-top:48px;padding-top:23px;border-top:1px solid #d7dbd3;color:#839088;font-size:11px;}
.v104-access-trust svg {width:15px;height:15px;}
.v104-approval {background:#e2eee5;border:1px solid #bad7c5;color:#274a3c;border-radius:9px;padding:13px 14px;margin:-10px 0 22px;display:flex;align-items:flex-start;gap:10px;}
.v104-approval>svg {width:18px;height:18px;flex:0 0 18px;}
.v104-approval div {display:flex;flex-direction:column;gap:2px;}
.v104-approval strong {font-size:12px;font-weight:670;}
.v104-approval span {font-size:11px;color:#627e70;line-height:1.5;}
/* dashboard: stronger information hierarchy, smaller SVG icons, crisp data-driven cards */
.app-layout { background:#0b1016; }
.app-layout .sidebar {background:#0c151c;border-color:#23313c;padding:24px 13px 17px;width:232px;flex-basis:232px;}
.app-layout .sidebar .brand {font-size:16px;padding:9px 11px 26px;font-weight:680;}
.app-layout .sidebar .brand .svg-icon {background:#244d42;border-radius:10px;padding:5px;width:34px;height:34px;color:#b5f0dd;}
.app-layout .sidebar .nav-caption {font-size:9px;color:#6f8d91;}
.app-layout .sidebar .nav-item {border-radius:7px;min-height:39px;padding:9px 12px;font-size:12px;}
.app-layout .sidebar .nav-item.active {background:#18392f;border-color:#285449;color:#a0e4d0;box-shadow:inset 2px 0 #86ddc8;}
.app-layout .sidebar .nav-item .svg-icon {width:16px;height:16px;}
.app-layout .topbar {background:#0d161e;min-height:76px;padding:16px clamp(20px,2.8vw,42px);}
.app-layout .topbar h1 {font-size:23px;font-weight:570;}
.app-layout .content {max-width:1580px;padding:26px clamp(18px,2.8vw,42px) 70px;gap:20px;}
.app-layout .panel {border-radius:12px;background:#121f2a;border-color:#293a45;}
.app-layout .stat {border-radius:12px;background:#14222b;border-color:#2a3b46;min-height:104px;}
.app-layout .stat strong {font-size:27px;font-weight:560;}
.app-layout .btn {border-radius:8px;}
.app-layout .form-grid {gap:17px;}
.app-layout input,.app-layout textarea,.app-layout select {border-radius:8px;}
.v104-dashboard-hero {display:grid;grid-template-columns:minmax(0,1.2fr) minmax(270px,.6fr);gap:30px;align-items:center;padding:31px 34px;border:1px solid #31584d;border-radius:14px;background:radial-gradient(ellipse 50% 140% at 100% 0%,#31584d66,transparent 73%),linear-gradient(118deg,#142a2b,#0f2026);}
.v104-hero-label {display:inline-flex;align-items:center;gap:8px;font-size:10px;letter-spacing:.16em;font-weight:700;color:#8ddbc8;}
.v104-hero-label svg {width:17px;height:17px;}
.v104-dashboard-hero h2 {font-size:clamp(27px,3vw,40px);letter-spacing:-.065em;font-weight:560;line-height:1.08;margin:16px 0 12px;}
.v104-dashboard-hero h2 em {font-family:Georgia,serif;color:#b8e5c5;font-weight:400;}
.v104-dashboard-hero p {font-size:12px;line-height:1.85;color:#a6bfbc;max-width:540px;margin:0 0 21px;}
.v104-hero-actions {display:flex;gap:9px;flex-wrap:wrap;}
.v104-hero-card {padding:19px 20px;border:1px solid #3c6256;background:#112c2c;border-radius:11px;display:grid;gap:9px;}
.v104-hero-card>span {font-size:10px;color:#a4d0bf;letter-spacing:.12em;}
.v104-hero-card>strong {font-size:20px;font-weight:560;}
.v104-hero-card>.v104-quota-label {display:flex;justify-content:space-between;color:#a4c6bc;font-size:11px;}
.v104-quota-meter {height:6px;border-radius:6px;background:#345247;overflow:hidden;}
.v104-quota-meter>div {background:#a5e1cb;height:100%;border-radius:6px;}
.v104-hero-card>small {font-size:10px;color:#86b4a5;}
.v104-dash-eyebrow {font-size:10px;letter-spacing:.15em;color:#85bbae;font-weight:670;}
.v104-dash-head {display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:2px;}
.v104-dash-head h2 {font-size:20px;font-weight:580;letter-spacing:-.04em;margin:3px 0;}
.v104-dash-head p {color:#98aeba;font-size:12px;margin:0;}
.v104-events {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;}
.v104-event {background:#14212b;border:1px solid #2b4049;border-radius:12px;overflow:hidden;}
.v104-event-top {background:linear-gradient(150deg,#315248,#1d3739);display:flex;align-items:flex-start;justify-content:space-between;padding:16px;height:90px;}
.v104-event-top>svg {width:25px;height:25px;color:#b6e4cd;}
.v104-event-body {padding:18px;}
.v104-event-body h3 {font-size:16px;letter-spacing:-.03em;font-weight:620;margin:0 0 5px;}
.v104-event-body p {color:#8ea6ae;font-size:11px;margin:0 0 17px;}
.v104-event-footer {border-top:1px solid #2c4047;padding-top:12px;display:flex;justify-content:space-between;gap:12px;align-items:center;}
.v104-empty {grid-column:1/-1;display:flex;flex-direction:column;align-items:center;gap:10px;border:1px dashed #34534d;border-radius:12px;background:#121f27;padding:36px 20px;text-align:center;}
.v104-empty svg {width:29px;height:29px;color:#7cc7b2;}
.v104-empty strong {font-size:16px;}
.v104-empty p {margin:0 0 9px;font-size:12px;color:#9db1b5;}
.v104-graphrow {display:grid;grid-template-columns:minmax(0,1.75fr) minmax(240px,.75fr);gap:16px;}
.v104-quick {padding:22px;background:#162630;border:1px solid #2f414d;border-radius:12px;display:grid;gap:15px;}
.v104-quick h3 {font-size:15px;font-weight:630;margin:0;}
.v104-quick a {display:flex;align-items:center;justify-content:space-between;padding-bottom:13px;border-bottom:1px solid #2a3f49;color:#c7dfdc;font-size:12px;}
.v104-quick a svg {width:16px;height:16px;}
@media(max-width:1180px){.v104-story-main{grid-template-columns:1fr}.v104-invite-preview{display:none}.v104-events{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.v104-auth-shell{grid-template-columns:1fr}.v104-story{padding:20px 30px;min-height:0}.v104-story-main,.v104-story-footer{display:none}.v104-access{padding:35px 24px 48px}.v104-access-top{margin-bottom:28px}.v104-graphrow,.v104-dashboard-hero{grid-template-columns:1fr}}
@media(max-width:720px){body.auth-layout .auth-header{height:66px;padding:0 18px}.v104-auth-shell{min-height:calc(100vh - 66px)}.v104-story{padding:14px 21px}.v104-access{padding:26px 21px 35px}.v104-auth-heading h2{font-size:34px}.v104-access-trust{margin-top:35px}.v104-dashboard-hero{padding:23px 20px;gap:18px}.v104-events{grid-template-columns:1fr}.v104-dash-head{align-items:flex-start;flex-direction:column}.app-layout .sidebar{width:min(292px,85vw);flex-basis:auto}.app-layout .content{padding:18px 13px 32px}}
@media(max-width:420px){.v104-subdomain>span{font-size:9px;padding:0 7px}.v104-access-inner{max-width:100%}.v104-access-chip,.v104-version{font-size:9px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important}}
