:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#eceaf6;background:#0d0e17;line-height:1.45;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-height:100vh}button,input,select{font:inherit}button{cursor:pointer;border:0;border-radius:10px;padding:10px 15px;font-weight:700;background:#75d0de;color:#0f2326}button:hover{filter:brightness(1.12)}button:disabled{opacity:.55;cursor:wait}button.secondary{background:#25283a;color:#dcf6fa;border:1px solid #3e435e}button.danger{background:#a53d58;color:white}button.danger-outline{background:transparent;color:#ff9cb2;border:1px solid #8c4053}button.primary{background:#75d0de;color:#0f2326}button.icon-button{background:transparent;color:#b3c9cc;font-size:1.7rem;line-height:1;padding:0 5px}input,select{width:100%;min-width:0;background:#121421;border:1px solid #42455e;border-radius:10px;color:#f2effa;padding:10px 12px}input:focus,select:focus,button:focus-visible{outline:2px solid #7ddeed;outline-offset:2px}input[type=file]{cursor:pointer}input[type=file]::file-selector-button{background:#30334a;color:#eafafd;border:1px solid #4a4e68;border-radius:7px;padding:8px 12px;margin-right:12px;cursor:pointer}h1,h2,h3,p{margin-top:0}h1{font-size:1.8rem;margin-bottom:0;line-height:1.2}h2{font-size:1.18rem;margin-bottom:8px}h3{font-size:1rem;margin-bottom:0}p{color:#aabbbe}small,.meta{color:#9eb3b6;font-size:.8rem}code{font:12px Consolas,monospace;color:#a6e3ec;overflow-wrap:anywhere}.eyebrow{font-size:.68rem;font-weight:800;letter-spacing:.17em;color:#81ddeb}[hidden]{display:none!important}
.login-card{width:min(460px,calc(100% - 32px));margin:10vh auto 0;background:#191b2a;border:1px solid #393c55;border-radius:20px;padding:34px;box-shadow:0 25px 80px #0006}.login-card h1{margin:10px 0 15px}.login-card form{display:grid;gap:12px}.login-card label,.field label{font-weight:700;font-size:.88rem}.login-card button{margin-top:4px}.dashboard{display:grid;grid-template-columns:244px minmax(0,1fr);min-height:100vh}.sidebar{background:#141624;border-right:1px solid #303246;padding:29px 16px 20px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:11px;padding:0 12px 32px}.brand-mark{display:grid;place-items:center;width:35px;height:35px;border-radius:10px;background:#70c8d5;color:#17101f;font-weight:900}.brand strong,.brand small{display:block;line-height:1}.brand strong{letter-spacing:.08em;font-size:1.2rem}.brand small{font-size:.55rem;letter-spacing:.16em;color:#a3d0d7;margin-top:5px}.sidebar-caption{font-size:.65rem;letter-spacing:.18em;font-weight:800;color:#777b97;padding:0 13px;margin:0 0 10px}.side-nav{display:grid;gap:5px}.nav-item{display:flex;align-items:center;gap:12px;width:100%;padding:12px 13px;text-align:left;background:transparent;color:#afb1c6;font-size:.88rem}.nav-item:hover{background:#22253b;filter:none}.nav-item.active{background:#294448;color:#dffbff;border:1px solid #4a8189}.nav-icon{font-size:1.3rem;width:20px;text-align:center;line-height:1}.nav-count{margin-left:auto;background:#25293b;border-radius:99px;padding:1px 7px;font-size:.7rem}.sidebar-bottom{margin-top:auto;border-top:1px solid #303246;padding:18px 9px 0;color:#a4a8c0;font-size:.78rem;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.connection-dot{width:7px;height:7px;border-radius:50%;background:#6fcc9f}.sidebar-bottom button{background:transparent;color:#a6babd;font-weight:500;padding:4px;margin-left:auto;font-size:.78rem}.main-panel{padding:34px clamp(18px,4vw,56px) 70px;max-width:1300px;width:100%}.topbar{display:flex;justify-content:space-between;align-items:center;gap:20px;padding-bottom:29px;border-bottom:1px solid #2b2d40;margin-bottom:28px}.topbar h1{margin-top:7px}.card,.script-card,.license-card{background:#191b2a;border:1px solid #303346;border-radius:16px;padding:22px}.intro-card{background:linear-gradient(125deg,#1c2f32,#181b2b);margin-bottom:15px}.intro-card p{margin-bottom:0;max-width:690px}.form-stack{display:grid;gap:22px}.field{display:grid;gap:8px;min-width:0}.field small{line-height:1.4}.form-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:8px;border-top:1px solid #303346}.form-footer span{color:#9296ad;font-size:.8rem}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:17px}.section-heading h2,.section-heading h3{margin:0 0 4px}.section-heading p{margin:0;font-size:.85rem}.rows{display:grid;gap:12px}.script-card{display:flex;align-items:center;justify-content:space-between;gap:24px}.script-info{min-width:0}.script-info p{margin:6px 0}.script-heading,.card-actions,.license-head,.license-actions,.modal-head,.modal-actions,.secret-row{display:flex;align-items:center;gap:10px}.script-heading{flex-wrap:wrap}.card-actions{justify-content:flex-end;flex-wrap:wrap}.card-actions button,.license-actions button{font-size:.8rem;padding:8px 11px}.pill{display:inline-block;border:1px solid #52787e;border-radius:99px;padding:3px 8px;font-size:.67rem;font-weight:800;letter-spacing:.07em;color:#bdf6ff;background:#283e41}.pill.keyless{border-color:#687480;color:#bdd3df;background:#26303a}.pill.active{color:#a0e2bd;border-color:#426755;background:#1e382b}.pill.revoked{color:#ffadbd;border-color:#824254;background:#46202c}.pill.review_required{color:#f4d694;border-color:#7c6741;background:#413523}.empty{background:#191b2a;border:1px dashed #3c4058;border-radius:12px;padding:25px;color:#9fb4b7}.modal{width:min(560px,calc(100% - 24px));max-height:calc(100vh - 32px);overflow:auto;padding:0;border:1px solid #4a6165;border-radius:18px;background:#1b1d2e;color:#eceaf6;box-shadow:0 30px 90px #000a}.modal.wide{width:min(830px,calc(100% - 24px))}.modal.compact{width:min(440px,calc(100% - 24px))}.modal::backdrop{background:#070710ba;backdrop-filter:blur(3px)}.modal-body{padding:26px}.modal-head{justify-content:space-between;align-items:flex-start;margin-bottom:24px}.modal-head h2{font-size:1.4rem;margin:5px 0 0}.modal-head p{margin:5px 0 0;font-size:.78rem}.modal-actions{justify-content:flex-end;margin-top:8px}.warning{border:1px solid #62543f;border-radius:10px;background:#332b24;color:#e4cfa7;font-size:.82rem;padding:11px;margin:0}.issued-secret{border:1px solid #6199a2;border-radius:11px;background:#233c40;padding:15px;margin-bottom:18px}.issued-secret strong{display:block;margin-bottom:9px}.secret-row input{font-family:Consolas,monospace}.new-license{display:grid;grid-template-columns:minmax(0,1fr) 120px auto;align-items:end;gap:10px;background:#151725;padding:16px;border:1px solid #34374d;border-radius:12px;margin-bottom:24px}.new-license button{height:42px}.license-card{padding:17px}.license-head{justify-content:space-between;flex-wrap:wrap}.license-card p{margin:8px 0 0}.license-actions{flex-wrap:wrap;margin-top:15px}.extend-form{display:flex;align-items:center;gap:7px;margin-right:auto}.extend-form input{width:72px;padding:7px}.extend-form span{font-size:.75rem;color:#a5b5b8}.incident-form{display:flex;gap:8px;min-width:260px}.incident-form input{max-width:240px}.compact .modal-body p{line-height:1.5}#notice{position:fixed;right:20px;bottom:20px;z-index:100;max-width:420px;padding:12px 16px;background:#274a4f;border:1px solid #7ddeed;border-radius:10px;color:#fff;box-shadow:0 10px 30px #0008}#notice:empty{display:none}
@media(max-width:650px){.dashboard{grid-template-columns:1fr}.sidebar{position:static;height:auto;padding:15px}.brand{padding:0 4px 14px}.sidebar-caption{display:none}.side-nav{display:flex;overflow-x:auto}.nav-item{white-space:nowrap;width:auto}.sidebar-bottom{padding-top:10px}.main-panel{padding:22px 16px 60px}.script-card{align-items:flex-start;flex-direction:column}.card-actions{justify-content:flex-start}.new-license{grid-template-columns:1fr 100px}.new-license button{grid-column:1/-1}.incident-form{width:100%}}@media(max-width:520px){.topbar{align-items:flex-start}.form-footer{align-items:stretch;flex-direction:column}.modal-body{padding:18px}.new-license{grid-template-columns:1fr}.new-license button{grid-column:auto}.license-actions{align-items:stretch}.extend-form{width:100%}.script-card{padding:16px}.side-nav{gap:3px}.nav-item{padding:9px}.nav-item .nav-icon{display:none}}
.license-bulk{padding:14px 16px;margin-bottom:22px;background:#151725;border:1px solid #34374d;border-radius:12px}.license-bulk strong{display:block;margin-bottom:10px;font-size:.88rem}.license-bulk-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.license-bulk-actions form{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.license-bulk-actions label,.license-bulk-actions span{color:#a5b5b8;font-size:.78rem}.license-bulk-actions input{width:72px;padding:7px}.license-bulk-actions button{white-space:nowrap}
.auth-switch{width:100%;margin-top:12px}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;width:min(1050px,calc(100% - 32px));margin:32px auto 64px}.plan-card{background:#191b2a;border:1px solid #393c55;border-radius:16px;padding:24px}.plan-card.featured{border-color:#75d0de;background:linear-gradient(145deg,#21383b,#191b2a)}.plan-card h2{font-size:1.3rem;margin:8px 0}.plan-card p{margin:0}.script-info .warning{margin-top:12px;max-width:650px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.plan-card{padding:18px}}
.pill.blocked{color:#ffcd9e;border-color:#84603f;background:#493020}.pill.paused{color:#b6d8ff;border-color:#436383;background:#25374a}

.site-header{height:82px;width:min(1200px,calc(100% - 40px));margin:auto;display:flex;align-items:center;gap:34px;border-bottom:1px solid #2b2d40}
.site-logo{display:inline-flex;align-items:center;gap:10px;color:#f6f2ff;text-decoration:none;font-weight:900;font-size:1.05rem;letter-spacing:.08em;white-space:nowrap}
.site-logo .brand-mark{width:34px;height:34px}
.site-logo-light{display:block;font-size:.51rem;color:#91c9d2;letter-spacing:.18em;line-height:1.1}
.site-nav{display:flex;align-items:center;gap:28px;margin-left:auto}
.site-nav a,.hero-text-link{color:#b8cacd;text-decoration:none;font-size:.88rem;font-weight:650}
.site-nav a:hover,.hero-text-link:hover,.auth-prompt a:hover{color:#c8f8ff}
.header-login{display:inline-flex;align-items:center;gap:14px;margin-left:auto;padding:10px 16px;border:1px solid #60898f;border-radius:10px;color:#defbff;background:#233d41;text-decoration:none;font-weight:750;font-size:.88rem;white-space:nowrap}
.site-nav:not([hidden])+.header-login{margin-left:0}
.header-login:hover,.hero-button:hover{filter:brightness(1.13)}
.landing{background:radial-gradient(ellipse 55% 28% at 72% 8%,#22424755,transparent 75%),#0d0e17}
.landing-hero,.landing-section,.site-footer{width:min(1200px,calc(100% - 40px));margin:auto}
.landing-hero{min-height:650px;display:grid;grid-template-columns:1.04fr .96fr;gap:clamp(30px,5vw,80px);align-items:center;padding:80px 0 110px}
.hero-copy h1{font-size:clamp(3.2rem,5.8vw,5.8rem);letter-spacing:-.06em;line-height:1.03;margin:20px 0 28px;max-width:700px}
.hero-copy h1 span{color:#91e4f1}
.hero-copy>p{max-width:570px;font-size:1.12rem;line-height:1.65;color:#b4c6c9}
.hero-actions{display:flex;align-items:center;gap:26px;flex-wrap:wrap;margin:35px 0 23px}
.hero-button{display:inline-flex;align-items:center;justify-content:space-between;gap:30px;padding:14px 21px;border-radius:11px;background:#80d8e6;color:#102629;text-decoration:none;font-weight:800}
.hero-copy .hero-note{font-size:.78rem;color:#7f9598;margin:0}
.hero-diagram{background:linear-gradient(150deg,#1b2b2d,#151724);border:1px solid #3c5c61;border-radius:22px;box-shadow:0 30px 100px #0008,0 0 70px #4499a61b;overflow:hidden;transform:rotate(1.5deg)}
.diagram-top{display:flex;align-items:center;gap:6px;padding:17px 22px;border-bottom:1px solid #374c4f;color:#88a1a5;font-size:.65rem;font-weight:800;letter-spacing:.16em}
.diagram-top span:last-child{margin-left:auto}.diagram-dot{width:7px;height:7px;border-radius:50%;background:#61777a}.diagram-dot:first-child{background:#83bfc8}
.diagram-step{display:flex;align-items:center;gap:18px;margin:18px 20px;padding:20px;border:1px solid #36474a;border-radius:14px;background:#1b1d2d}
.diagram-step.highlighted{background:linear-gradient(110deg,#29484d,#203639);border-color:#558f98}
.diagram-step strong,.diagram-step small{display:block}.diagram-step strong{font-size:.96rem}.diagram-step small{margin-top:4px;color:#97acaf;font-size:.75rem}
.step-number{font:700 .74rem Consolas,monospace;color:#8cd7e2}.step-glyph{margin-left:auto;color:#94dce7;font-size:1.55rem}.diagram-line{height:18px;width:1px;background:#547378;margin:-18px 0 -18px 54px}
.diagram-footer{padding:18px 23px;border-top:1px solid #374c4f;color:#a6b9bc;font-size:.75rem}.diagram-status{display:inline-block;width:7px;height:7px;margin-right:7px;background:#71cca0;border-radius:50%}
.landing-section{padding:76px 0}.section-intro{max-width:710px;margin-bottom:28px}.section-intro h2,.workflow-section h2{font-size:clamp(2rem,3vw,3rem);letter-spacing:-.04em;margin:12px 0}.section-intro p,.workflow-section>div>p{font-size:1rem;line-height:1.65}
.feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.feature-card{min-height:245px;padding:29px;border:1px solid #344649;border-radius:18px;background:linear-gradient(155deg,#1c2a2c,#171824)}.feature-icon{display:grid;place-items:center;width:38px;height:38px;border:1px solid #476f75;background:#243b3f;border-radius:10px;color:#9beefb;font-size:1.25rem}.feature-card h3{font-size:1.05rem;margin:26px 0 10px}.feature-card p{font-size:.9rem;line-height:1.6;margin:0}
.workflow-section{display:grid;grid-template-columns:1fr 1fr;gap:75px;align-items:center;border-top:1px solid #2b2d40}.workflow-section>div>p{max-width:540px}.workflow-section .hero-button{margin-top:12px}.workflow-list{border:1px solid #36474a;border-radius:18px;background:#192729;padding:18px 26px}.workflow-list>div{display:flex;gap:19px;padding:20px 0}.workflow-list>div+div{border-top:1px solid #37474a}.workflow-list span{display:grid;place-items:center;flex:0 0 34px;height:34px;border-radius:9px;background:#273e42;color:#9fe9f4;font-weight:800}.workflow-list p{margin:0}.workflow-list strong,.workflow-list small{display:block}.workflow-list small{margin-top:5px;font-size:.8rem}
.site-footer{display:flex;justify-content:space-between;gap:15px;padding:30px 0 45px;border-top:1px solid #2b2d40;color:#83979a;font-size:.72rem;letter-spacing:.08em}
.login-card{margin:9vh auto 90px}.auth-prompt{text-align:center;margin:22px 0 0;font-size:.88rem}.auth-prompt a{color:#97e3ef;text-decoration:none;font-weight:750}
.account-plan{display:flex;align-items:center;gap:13px;flex-wrap:wrap;border:1px solid #415e63;border-radius:13px;background:linear-gradient(105deg,#1d3134,#1a292b);padding:14px 18px;margin:-9px 0 23px}.account-plan .plan-label{color:#8db6bc;font-size:.63rem;font-weight:800;letter-spacing:.15em}.account-plan strong{color:#c4f7ff;font-size:.9rem}.account-plan p{margin:0 0 0 auto;font-size:.79rem;color:#a7bdc0}
@media(max-width:850px){.landing-hero{grid-template-columns:1fr;padding:65px 0 80px}.hero-diagram{transform:none;max-width:640px}.workflow-section{grid-template-columns:1fr;gap:25px}.account-plan p{width:100%;margin:0}}
@media(max-width:600px){.site-header{height:70px;width:calc(100% - 30px)}.site-nav{display:none}.header-login{margin-left:auto}.landing-hero,.landing-section,.site-footer{width:calc(100% - 30px)}.landing-hero{padding:55px 0 70px}.hero-copy h1{font-size:clamp(2.7rem,12vw,4rem)}.hero-copy>p{font-size:1rem}.hero-diagram{margin:0 5px}.diagram-step{margin:15px 12px;padding:15px}.diagram-line{margin-left:46px}.feature-grid{grid-template-columns:1fr}.feature-card{min-height:0}.landing-section{padding:58px 0}.site-footer{flex-direction:column}.login-card{margin:8vh auto 60px}}
.bulk-license{display:grid;gap:15px;margin:-8px 0 22px;padding:17px;background:#1a2a2c;border:1px solid #50787e;border-radius:12px}
.bulk-license>div>strong,.bulk-license>div>small{display:block}.bulk-license>div>small{margin-top:4px}
.bulk-license-fields{display:grid;grid-template-columns:105px 125px minmax(120px,1fr) auto;gap:10px;align-items:end}
.bulk-license-fields .field{gap:6px}.bulk-license-fields .field label{font-size:.76rem}
.bulk-license-fields button{min-height:42px;white-space:nowrap}
@media(max-width:760px){.bulk-license-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.bulk-license-fields button{grid-column:1/-1}}
@media(max-width:430px){.bulk-license-fields{grid-template-columns:1fr}}
.compilation-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:18px;border:1px solid #456267;border-radius:13px;background:#1c2d30}
.compilation-options .field{min-width:0}
@media(max-width:700px){.compilation-options{grid-template-columns:1fr}}
.choice-explainer{padding:12px 13px;border:1px solid #435b5f;border-radius:10px;background:#181826;line-height:1.45}
.choice-explainer strong{display:block;color:#d5f9ff;font-size:.82rem}
.choice-explainer p{margin:6px 0;color:#bfcfd2;font-size:.78rem}
.choice-explainer small{display:block;color:#9ed4be;font-size:.74rem}
.compilation-advice{margin:0;padding:13px 15px;border-left:3px solid #84d5e2;background:#1c2d30;color:#bfd2d5;font-size:.82rem;line-height:1.5}
.compilation-advice strong{color:#ddfaff}
.compiler-switches{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.compiler-toggle{display:flex;align-items:flex-start;gap:12px;padding:15px;border:1px solid #435b5f;border-radius:11px;background:#1a282a;cursor:pointer}
.compiler-toggle input[type=checkbox]{flex:0 0 18px;width:18px;height:18px;margin:2px 0 0;padding:0;accent-color:#7cd6e4}
.compiler-toggle span{display:grid;gap:6px;min-width:0}
.compiler-toggle strong{font-size:.82rem;color:#d5f9ff}
.compiler-toggle small{line-height:1.45}
.compiler-toggle:has(input:checked){border-color:#69adb7;background:#1e3235}
.modal .compiler-switches{grid-template-columns:1fr}
@media(max-width:700px){.compiler-switches{grid-template-columns:1fr}}
.optional-label { color: var(--muted, #aaa); font-weight: 400; }

/* KSDTEAM integration: shared dark/aqua visual language. */
.obfuscator-app{min-height:100vh;color:#e6f1f0;background:radial-gradient(60vmax 32vmax at 50% -12%,rgba(20,233,255,.07),transparent 65%),#0a0c0d}
.obfuscator-app .brand{font-size:inherit;letter-spacing:normal;text-transform:none;animation:none;text-shadow:none;color:inherit;text-decoration:none}
.obfuscator-app .brand::after{display:none}
.obfuscator-app .brand img,.obfuscator-app .site-logo img{object-fit:contain;filter:drop-shadow(0 0 10px rgba(20,233,255,.25))}
.obfuscator-app .site-logo img{margin-right:5px}
.obfuscator-app .site-header,.obfuscator-app .sidebar,.obfuscator-app .card,.obfuscator-app .login-card,.obfuscator-app .feature-card,.obfuscator-app .hero-diagram{backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.obfuscator-app .ksd-home-link,.obfuscator-app .sidebar-home{color:#9eeaf1;text-decoration:none;font-size:.8rem;white-space:nowrap}
.obfuscator-app .ksd-home-link:hover,.obfuscator-app .sidebar-home:hover{color:#14e9ff}
.obfuscator-app .sidebar-home{padding:0 12px 24px;margin-top:-18px}
.obfuscator-app button:focus-visible,.obfuscator-app a:focus-visible,.obfuscator-app input:focus-visible,.obfuscator-app select:focus-visible{outline:2px solid #14e9ff;outline-offset:2px}
@media(max-width:700px){.obfuscator-app .ksd-home-link{display:none}}
