:root{font-family:system-ui,"Malgun Gothic",sans-serif;color:#eaf1ff;background:#0b1220;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(circle at 14% 6%,#233454 0,transparent 34%),radial-gradient(circle at 100% 10%,#154143 0,transparent 24%),#0b1220}button,input{font:inherit}button{cursor:pointer;border:1px solid #3d4d66;border-radius:10px;padding:11px 15px;background:#202c41;color:#eaf1ff;font-weight:700}button:hover{border-color:#80dbbe}button:disabled{opacity:.5;cursor:default}.primary{background:#67d9ae;color:#092119;border-color:#67d9ae}.primary:hover{background:#8cebc6}.shell{max-width:1130px;padding:24px;margin:auto;min-height:100vh;display:flex;flex-direction:column}.header{display:flex;align-items:center;justify-content:space-between;padding:12px 0 30px;border-bottom:1px solid #27364d}.brand{display:flex;align-items:center;gap:12px;letter-spacing:.12em}.brand-icon{width:38px;height:38px;border-radius:12px;background:#65d5af;color:#0a2220;display:grid;place-items:center;font-size:24px}.brand b{font-size:15px}.brand small{display:block;color:#91a3bb;letter-spacing:0;font-size:11px;margin-top:3px}.badge{padding:8px 12px;border-radius:20px;background:#1c3540;color:#8de5c4;font-size:12px}.auth-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:65px;align-items:center;min-height:630px}.intro h1{font-size:clamp(39px,5vw,65px);line-height:1.18;letter-spacing:-.055em;margin:16px 0}.intro h1 em{font-style:normal;color:#71ddb6}.intro p,.dashboard-title p{color:#a5b6ce;line-height:1.7;max-width:530px}.eyebrow{font-size:12px;font-weight:800;color:#74ddb9;letter-spacing:.2em}.flow{display:flex;gap:10px;flex-wrap:wrap;margin-top:32px}.flow span{border:1px solid #3a5065;background:#182437;border-radius:99px;padding:9px 13px;font-size:12px;color:#b8cce1}.card{background:#172337e8;border:1px solid #304058;border-radius:20px;padding:28px;box-shadow:0 22px 60px #0003}.auth-card{max-width:450px;width:100%;justify-self:end}.tabs{display:flex;background:#0d1829;border-radius:11px;padding:4px;margin-bottom:24px}.tabs button{width:50%;border:0;background:transparent;color:#91a3bb}.tabs button.active{background:#2b4058;color:white}form{display:grid;gap:17px}label{display:grid;gap:7px;font-size:13px;font-weight:700;color:#c6d5e7}label small{color:#91a3bb;font-weight:400}input{width:100%;border:1px solid #40516b;border-radius:9px;background:#0e192b;color:#fff;padding:12px;outline:none}input:focus{border-color:#74ddb9;box-shadow:0 0 0 3px #74ddb925}.setup{border-top:1px solid #33445d;margin-top:25px;padding-top:20px}.setup summary{font-size:12px;color:#9eb2ca;cursor:pointer}.setup form{margin-top:18px}.centered{max-width:540px;text-align:center;margin:90px auto}.centered p{color:#a5b6ce}.centered button{margin:10px 4px}.large-icon{font-size:38px}.dashboard-title{display:flex;justify-content:space-between;align-items:end;gap:20px;padding:40px 0 24px}.dashboard-title h1{font-size:37px;margin:7px 0 0;letter-spacing:-.04em}.dashboard-title p{margin:8px 0 0}.dashboard-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.wide{grid-column:1/-1}.section-heading{display:flex;align-items:center;gap:13px;margin-bottom:20px}.section-heading>div:nth-child(2){flex:1}.section-heading h2{font-size:18px;margin:0 0 4px}.section-heading p{font-size:12px;color:#9aacc4;margin:0}.mini-icon{width:36px;height:36px;border-radius:10px;background:#264b49;color:#8be4c1;display:grid;place-items:center;font-weight:800}.note{color:#cddbed;font-size:13px}.hint{color:#8f9fb7;font-size:12px;line-height:1.5;margin:18px 0 0}.actions{display:flex;gap:9px;flex-wrap:wrap}.inline-form{display:flex;align-items:end;gap:9px}.inline-form label{flex:1}.inline-form button{white-space:nowrap}.key-reveal{margin-top:18px;border:1px solid #61d7ad;background:#163d3a;border-radius:12px;padding:15px}.key-reveal small{display:block;color:#b3ebd7}.key-reveal code{display:block;overflow-wrap:anywhere;color:#fff;background:#0b2826;padding:12px;border-radius:8px;margin:9px 0}.key-reveal p{font-size:12px;color:#bee8da}.list{display:grid;gap:9px;margin-top:16px}.item{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#101c2e;border:1px solid #2c3d54;border-radius:11px;padding:13px}.item b{display:block;font-size:14px}.item small{display:block;color:#93a8c1;font-size:11px;margin-top:4px}.item p{color:#d3e0ef;margin:5px 0 0;font-size:13px}.item button{font-size:12px;padding:8px 11px}.item .danger{border-color:#814754;color:#ffb8bd}.empty{color:#90a4bc;font-size:13px;padding:12px}.status{font-size:11px;padding:5px 8px;border-radius:20px;background:#2a3950;color:#bcd0e4}.status.pending{color:#f1d084;background:#403926}.status.approved{color:#8be4c1;background:#24463f}.status.suspended{color:#f3a4ac;background:#4a2d39}footer{color:#6f829e;font-size:11px;margin-top:auto;padding:35px 0 5px}#toast{position:fixed;right:20px;bottom:20px;max-width:360px;background:#dbfbea;color:#12372c;border-radius:12px;padding:13px 18px;box-shadow:0 12px 35px #0005;opacity:0;pointer-events:none;transition:opacity .2s}#toast.show{opacity:1}[hidden]{display:none!important}@media(max-width:760px){.shell{padding:16px}.auth-grid{display:block;min-height:0;padding:46px 0}.intro h1{font-size:42px}.intro{margin-bottom:30px}.auth-card{max-width:none}.dashboard-title{align-items:start;padding-top:32px}.dashboard-title h1{font-size:29px}.dashboard-grid{grid-template-columns:1fr}.wide{grid-column:auto}.card{padding:20px}.inline-form{display:grid}.dashboard-title p{font-size:13px}.item{align-items:start;flex-wrap:wrap}} 
.password-form{grid-template-columns:repeat(3,minmax(0,1fr));align-items:end}.password-form button{grid-column:1/-1;justify-self:start}.item>div:first-child{min-width:0;overflow-wrap:anywhere}.item .actions{flex-shrink:0}select{font:inherit;width:100%;border:1px solid #40516b;border-radius:9px;background:#0e192b;color:#fff;padding:12px}#issued-license{white-space:pre-wrap;overflow-wrap:anywhere}#license-card{margin:24px 0}.license-history{margin:22px 0;padding:16px;border:1px solid #3d4d66;border-radius:10px}.license-history summary{cursor:pointer;color:#9ee7cc}#managed-license-status{line-height:1.7}@media(max-width:760px){.password-form{grid-template-columns:1fr}}
.license-confirm{max-width:min(540px,calc(100vw - 32px));padding:26px;border:1px solid #40516b;border-radius:16px;background:#172337;color:#eaf1ff;box-shadow:0 22px 60px #0007}.license-confirm::backdrop{background:#0009}.license-confirm p{line-height:1.7;overflow-wrap:anywhere}.license-confirm .actions{display:flex;justify-content:flex-end}
/* Shared account and administrator layouts, including narrow phones. */
html,body{touch-action:pan-x pan-y}
.plan-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-bottom:12px}.plan-tabs button{font-size:13px;padding:10px 2px;background:#101c2e}.plan-tabs button.active{background:#244b45;border-color:#4e927b;color:#a5f0d3}@media(max-width:760px){.plan-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}}
.duration-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin-bottom:18px}.duration-tabs button{font-size:14px;padding:10px 4px;background:#101c2e}.duration-tabs button.active{background:#244b45;border-color:#4e927b;color:#a5f0d3}.stock-actions{margin-top:18px}.stock-actions button{font-size:13px;flex:1}.stock-select{display:flex;align-items:center;gap:8px;min-height:44px;font-size:12px}.stock-select input{width:20px;height:20px;min-height:20px;accent-color:#67d9ae}.stock-select{padding:0 10px;border:1px solid #3d4d66;border-radius:10px}.stock-select:has(input:checked){border-color:#67d9ae}#license-list .item .actions{flex-basis:100%}.license-history summary{min-height:44px;display:flex;align-items:center}@media(max-width:760px){.duration-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.stock-actions button{flex-basis:40%}}
html{scroll-behavior:smooth;scroll-padding-top:20px}button,input,select{font-size:16px;min-height:44px}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #8cebc6;outline-offset:3px}label,form,section,.card,.section-heading>div,.dashboard-title>div{min-width:0}h1,h2,p,.badge{overflow-wrap:anywhere}.shell{max-width:1280px;padding:24px max(24px,env(safe-area-inset-right)) 24px max(24px,env(safe-area-inset-left))}.header{gap:16px}.badge{max-width:50%;text-align:right}.workspace-nav{display:flex;gap:8px;margin:24px 0 0;border-bottom:1px solid #304058;padding-bottom:12px}.workspace-nav button{border-color:transparent;background:transparent;color:#a5b6ce;min-width:120px}.workspace-nav button.active{background:#244b45;border-color:#4e927b;color:#a5f0d3}.dashboard-title{padding-top:28px;align-items:center}.dashboard-title h1{font-size:clamp(27px,3vw,37px)}.dashboard-title>.logout-button{flex-shrink:0}.dashboard-grid{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);align-items:start}.section-heading{align-items:start;flex-wrap:wrap}.section-heading>.mini-icon{flex-shrink:0}.section-heading>div{flex:1;min-width:120px}.section-heading>button{font-size:13px;padding:8px 11px}.card>h2,.license-section>h2{font-size:19px;margin:0 0 12px}.note{line-height:1.7}.license-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;margin-top:22px}.license-section+.license-section{border-left:1px solid #304058;padding-left:28px}.license-section #license-form{display:grid;grid-template-columns:minmax(0,1fr)}.license-section #license-form>button{justify-self:start}.item{flex-wrap:wrap}.item>div:first-child{flex:1;min-width:140px}.item .actions{max-width:100%;flex-wrap:wrap}.item button{min-height:44px}.notification-item>div:first-child{width:100%;min-width:0}.notification-item b{line-height:1.5}.notification-item .delivery-status{font-size:12px;color:#9bb6d1;line-height:1.6;margin-top:8px}.list-controls{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-top:16px}.list-controls .hint{margin:0}.list-controls button{font-size:13px}.password-card summary{font-size:17px;font-weight:700;cursor:pointer;color:#c6d5e7}.password-card form{margin-top:22px}.admin-shortcuts{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:20px}.admin-shortcuts a{display:flex;align-items:center;min-height:44px;border-radius:10px;border:1px solid #3d4d66;color:#bde8d7;text-decoration:none;padding:9px 15px}.admin-shortcuts a:hover{border-color:#80dbbe}.admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}#members-card{grid-column:1/-1}#members-card .list{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-grid .password-form{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-grid .password-form button{width:100%}#toast{max-width:min(400px,calc(100vw - 32px));overflow-wrap:anywhere;bottom:max(20px,env(safe-area-inset-bottom))}
@media(max-width:1000px){.admin-grid{grid-template-columns:1fr}.license-grid{grid-template-columns:1fr}.license-section+.license-section{border-left:0;border-top:1px solid #304058;padding:24px 0 0}.license-section #license-form{grid-template-columns:repeat(2,minmax(0,1fr))}.license-section #license-form>button{grid-column:1/-1}.auth-grid{gap:30px}}
@media(max-width:760px){.shell{padding:16px max(16px,env(safe-area-inset-right)) 16px max(16px,env(safe-area-inset-left))}.header{padding-bottom:20px;align-items:start}.brand{letter-spacing:.06em;gap:9px}.brand b{font-size:13px}.brand-icon{flex-shrink:0}.badge{font-size:11px;padding:7px 9px;max-width:44%}.dashboard-title{gap:12px;flex-wrap:wrap}.dashboard-title h1{font-size:27px}.dashboard-grid{grid-template-columns:1fr}.card{padding:20px;border-radius:16px}.workspace-nav{margin-top:18px}.workspace-nav button{flex:1;min-width:0}.section-heading{gap:10px}.section-heading>button{margin-left:auto}.license-section #license-form,.password-form,.admin-grid .password-form,#members-card .list{grid-template-columns:1fr}.inline-form label,.inline-form button{width:100%}.item>div:first-child{min-width:0;flex-basis:100%}.item .actions{flex-shrink:1}.item .actions button{flex:1}.admin-shortcuts{gap:8px}.admin-shortcuts a{flex:1;justify-content:center;font-size:13px;padding:9px}.actions>button{flex-grow:1}#toast{right:16px}.centered{margin:24px auto}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}#toast{transition:none}}
.member-search{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin-bottom:12px}.member-search label{flex:1;min-width:140px}.member-search button{flex-shrink:0}#managed-account-fields{display:grid;gap:17px}.member-search+#user-search-count{margin:0}#license-list .item small{line-height:1.6}@media(max-width:760px){.member-search label{flex-basis:100%}.member-search button{flex:1}}
