:root{color-scheme:dark;--bg:#100f16;--surface:#191720;--surface2:#211e2b;--line:#34303f;--text:#f7f4fc;--muted:#b5adbf;--purple:#ad68ff;--accent:#8c40eb;--green:#82d7b1;--red:#ff9dad;--amber:#ffce8a;font-family:Arial,"Segoe UI",sans-serif;font-size:16px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);line-height:1.6}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,textarea,select{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}:focus-visible{outline:3px solid #d4acff;outline-offset:4px}.shell{display:grid;grid-template-columns:260px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:36px 24px;background:#15131b}.brand{display:flex;align-items:center;gap:13px;font-size:25px;font-weight:900;letter-spacing:.07em;line-height:1.15}.brand small{display:block;font-size:12px;letter-spacing:.35em;color:var(--muted);margin-top:6px}.brand-mark{display:grid;place-items:center;background:linear-gradient(145deg,#b276ff,#7524cf);width:44px;height:52px;border-radius:9px;font-size:31px;font-style:italic;color:#fff}.nav-label{font-size:12px;font-weight:700;color:#8d829c;letter-spacing:.08em;margin:52px 0 16px}.sidebar nav{display:grid;gap:7px}.sidebar nav a{padding:12px 13px;border:1px solid transparent;border-radius:8px;color:#bfb6cc;font-size:14px}.sidebar nav a:hover{color:#fff;background:#282231}.sidebar nav a.active{color:#fff;border-color:#703aae;background:linear-gradient(90deg,#482168,#291c3b);box-shadow:inset 3px 0 #b76dff}.sidebar-bottom{margin-top:auto;padding-top:30px;display:grid;gap:9px;color:#a49aae;font-size:12px}.sidebar-bottom>a{font-size:14px}.sidebar-bottom>span{margin-top:15px;font-size:12px}.server-pill{padding:10px 12px;border:1px solid var(--line);border-radius:7px;font-size:13px}.workspace{min-width:0}.topbar{min-height:104px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 44px;border-bottom:1px solid var(--line)}.eyebrow{font-weight:700;font-size:12px;letter-spacing:.15em;color:#b998dd}.topbar p{margin:3px 0;font-size:14px;color:var(--muted)}#content{padding:38px 44px;max-width:1510px;margin:auto;min-height:calc(100vh - 190px)}footer{padding:22px 44px;display:flex;justify-content:space-between;border-top:1px solid var(--line);color:#9c92aa;font-size:13px}.button{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:45px;padding:10px 19px;border-radius:7px;border:1px solid #494051;color:#fff;background:#2a2434;font-size:14px;font-weight:700}.primary{background:linear-gradient(110deg,#9851f6,#7130c6);border-color:#ad68ff;box-shadow:0 5px 23px #813fd626}.button:hover{filter:brightness(1.12)}.discord{background:#5145b9;border-color:#7669e0}.small{min-height:35px;padding:6px 12px;font-size:13px}.danger{color:#ffd7de;background:#582a36;border-color:#80414e}.ghost{background:transparent}.section-title{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:25px}.section-title h1{font-size:30px;letter-spacing:-.035em;line-height:1.2;margin:0 0 10px}.section-title p{max-width:680px;margin:0;color:var(--muted)}.hero{background:radial-gradient(ellipse at right top,#6630994a,transparent 65%),#1a1623;border:1px solid #4c345f;border-radius:13px;display:grid;grid-template-columns:1.2fr 1fr;gap:35px;padding:36px;margin-bottom:28px}.hero h1{font-size:clamp(34px,3.5vw,54px);letter-spacing:-.045em;line-height:1.12;margin:17px 0}.hero h1 span{color:#bd87ff}.hero p{color:var(--muted);max-width:460px;margin-bottom:25px}.hero-card{align-self:center;padding:26px;background:#15121d;border:1px solid #403046;border-radius:10px}.hero-card h2{font-size:19px;margin-top:0}.hero-card p{font-size:14px}.hero-card .button{width:100%}.steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:26px 0}.step{display:block;border:1px solid var(--line);border-radius:10px;padding:22px;background:var(--surface)}.step .step-index{display:inline-grid;place-items:center;border:1px solid #705091;border-radius:50%;width:30px;height:30px;color:#c692ff;font-size:14px;font-weight:700}.step h3{font-size:17px;margin:15px 0 7px}.step p{color:var(--muted);margin:0;font-size:14px}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.panel{padding:25px;background:var(--surface);border:1px solid var(--line);border-radius:10px;margin-bottom:22px}.panel h2{font-size:19px;margin:0 0 17px}.panel h3{font-size:17px;margin-top:0}.muted,.hint{color:var(--muted)}.hint{font-size:14px}.notice{padding:16px 19px;border:1px solid #685334;border-radius:8px;background:#2c251a;color:#f5d5a0;margin-bottom:22px;font-size:14px}.notice.info{color:#d9c4f7;border-color:#61437d;background:#2a1e37}.badge{display:inline-flex;padding:3px 10px;align-items:center;border:1px solid #675279;border-radius:5px;background:#32243f;color:#d7b4ff;font-size:13px;white-space:nowrap}.badge.approved,.badge.online{border-color:#33664e;color:#91e3b4;background:#1b382b}.badge.revoked{border-color:#753748;background:#3e202b;color:#ffadbc}.badge.pending{border-color:#765d35;background:#372b1b;color:#ffce8a}.facts{display:grid;gap:13px}.facts>div{display:flex;gap:15px;justify-content:space-between;padding-bottom:11px;border-bottom:1px solid var(--line);font-size:14px}.facts strong{font-weight:600;text-align:right;overflow-wrap:anywhere}.code{display:block;font:700 24px monospace;letter-spacing:.06em;padding:18px;margin:18px 0;background:#100f16;border:1px solid #624285;border-radius:7px;overflow-wrap:anywhere}.actions{display:flex;gap:10px;flex-wrap:wrap}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:24px}.stat{padding:22px;border:1px solid var(--line);background:var(--surface);border-radius:9px}.stat span{color:var(--muted);font-size:14px}.stat strong{display:block;font-size:33px;margin-top:5px}.tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:23px}.tabs button{font-size:14px;padding:10px 18px;color:#ccc2d6;background:#211c2b;border:1px solid #42364e;border-radius:7px}.tabs button.active{background:#482569;color:#fff;border-color:#ad68ff}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:14px;min-width:570px}th{text-align:left;color:#a89bb8;font-size:13px;font-weight:600;padding:11px 12px;border-bottom:1px solid #453b50}td{padding:13px 12px;border-bottom:1px solid #302837;vertical-align:middle}td small{display:block;color:var(--muted);font-size:12px}.table-wrap tr:hover td{background:#211b2b}.row-head{display:flex;gap:15px;justify-content:space-between;align-items:center;margin-bottom:20px}.row-head h2{margin:0}input,textarea,select{width:100%;border:1px solid #51435f;border-radius:6px;background:#121017;color:#f9f6fd;padding:11px 13px;font-size:16px;accent-color:var(--purple)}textarea{resize:vertical}label{display:block;font-size:14px;color:#c7bed2;margin-bottom:17px}label>input,label>textarea,label>select{display:block;margin-top:8px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.check{display:flex;gap:12px;align-items:center}.check input{width:19px;height:19px;margin:0}.search{max-width:340px}.question-card{padding:22px;background:#1e1928;border:1px solid #4c355f;border-radius:9px;margin-bottom:18px}.question-card h2{font-size:19px;margin:0 0 20px}.question-meta{display:flex;justify-content:space-between;margin-bottom:15px;font-size:14px;color:#b6a4c6}.quiz-option{display:flex;gap:12px;align-items:center;padding:14px;border:1px solid #4b3a5c;border-radius:7px;margin-bottom:12px;cursor:pointer;color:#e3d9ed}.quiz-option:has(input:checked){background:#4b256c;border-color:#b774ff}.quiz-option input{width:18px;margin:0}.quiz-progress{height:5px;border-radius:3px;background:#30243e;overflow:hidden;margin:17px 0}.quiz-progress>div{height:100%;background:#b76eff}.quiz-progress.p0>div{width:0}.quiz-progress.p1>div{width:10%}.quiz-progress.p2>div{width:20%}.quiz-progress.p3>div{width:30%}.quiz-progress.p4>div{width:40%}.quiz-progress.p5>div{width:50%}.quiz-progress.p6>div{width:60%}.quiz-progress.p7>div{width:70%}.quiz-progress.p8>div{width:80%}.quiz-progress.p9>div{width:90%}.quiz-progress.p10>div{width:100%}.rules{white-space:pre-wrap;line-height:1.85;color:#d4cadd;overflow-wrap:anywhere}.empty{padding:28px;color:var(--muted);text-align:center;border:1px dashed #4f405e;border-radius:8px}.list-card{padding:18px 0;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:20px;justify-content:space-between}.list-card p{margin:5px 0;font-size:14px}.list-card small{color:var(--muted)}.loading{padding:40px;color:var(--muted)}#toast{position:fixed;bottom:24px;right:24px;max-width:440px;padding:17px 22px;border:1px solid #8550b8;border-radius:9px;background:#2e1d42;box-shadow:0 8px 45px #0008;font-size:14px;z-index:5}dialog{color:var(--text);background:#1b1524;border:1px solid #73518f;border-radius:12px;padding:28px;width:min(660px,calc(100vw - 32px));max-height:90vh;overflow:auto}dialog::backdrop{background:#000a}.dialog-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.dialog-head h2{margin:0;font-size:23px}.icon-button{width:36px;height:36px;border:1px solid #5c456d;background:#30213d;color:#fff;border-radius:5px;font-size:24px}.skip{position:fixed;top:-100px;left:10px;z-index:10;padding:10px;background:#7040a0}.skip:focus{top:10px}.account-name{display:flex;gap:15px;align-items:center;font-size:14px}.account-name strong{max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:1050px){.shell{grid-template-columns:215px minmax(0,1fr)}.sidebar{padding:28px 18px}.topbar{padding:18px 27px}#content{padding:30px 27px}.hero{padding:26px;gap:24px}.hero h1{font-size:38px}.steps{gap:10px}.step{padding:17px}.grid{grid-template-columns:1fr}}
@media(max-width:760px){.shell{display:block}.sidebar{position:static;height:auto;padding:19px;border-right:0;border-bottom:1px solid var(--line)}.brand{font-size:22px}.brand-mark{height:43px;width:39px}.nav-label,.sidebar-bottom{display:none}.sidebar nav{display:flex;flex-wrap:wrap;gap:6px;margin-top:19px}.sidebar nav a{padding:8px 10px;font-size:13px}.topbar{padding:17px 19px;min-height:87px;gap:12px}.topbar .eyebrow{display:none}.topbar p{max-width:150px}.topbar .button{padding:9px 12px;font-size:13px}#content{padding:25px 19px}.hero{grid-template-columns:1fr;padding:25px;gap:10px}.hero h1{font-size:39px}.hero-card{padding:20px}.steps{grid-template-columns:1fr}.step{display:grid;grid-template-columns:35px 1fr;gap:0 12px}.step h3{margin:0 0 7px}.step p{grid-column:2}.stats{grid-template-columns:1fr 1fr;gap:10px}.stat{padding:17px}.stat:last-child{grid-column:1/-1}.section-title{flex-direction:column;gap:12px}.section-title h1{font-size:28px}.panel{padding:20px}.field-grid{grid-template-columns:1fr}.row-head{align-items:flex-start;flex-direction:column}.search{max-width:none}.list-card{align-items:flex-start}.code{font-size:21px}.account-name strong{display:none}footer{padding:19px;font-size:12px}footer span{display:none}#toast{left:19px;right:19px;bottom:19px}.actions .button{flex:1}.question-card{padding:18px}}

/* SQL-admin level 10 database editor */
.database-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:20px;align-items:start}.database-sidebar{position:sticky;top:20px}.database-tables{display:grid;gap:5px;max-height:55vh;overflow:auto;margin-bottom:16px}.database-tables .button{text-align:left;justify-content:flex-start;font-size:12px;overflow-wrap:anywhere}.database-main{min-width:0}.database-search{display:flex;gap:12px;align-items:end;margin:20px 0}.database-search label{flex:1;min-width:0}.database-search select{width:100%}.database-cell{max-width:230px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.database-pagination{display:flex;gap:12px;align-items:center;justify-content:space-between;margin:18px 0;font-size:12px}.database-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}.database-field{min-width:0}.database-field>span:first-child{display:flex;flex-wrap:wrap;gap:8px}.database-field small{font-weight:400;color:var(--muted)}.database-field textarea{width:100%;resize:vertical;font:12px/1.5 monospace;min-height:60px}.database-field textarea[readonly]{opacity:.65}.database-null{display:flex;align-items:center;gap:8px;font-size:12px}.database-null input{width:16px!important;flex:none}.database-change{padding:15px 0;border-bottom:1px solid var(--line)}.database-change summary{cursor:pointer;font-weight:600}.database-diff{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.database-diff pre{max-height:320px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;background:#0c1321;padding:14px;border-radius:8px}#database-edit-form{border-top:1px solid var(--line);padding-top:24px}#database-edit-form>button{margin-top:16px;margin-right:8px}@media(max-width:950px){.database-layout{grid-template-columns:1fr}.database-sidebar{position:static}.database-tables{max-height:180px;grid-template-columns:repeat(2,minmax(0,1fr))}.database-fields,.database-diff{grid-template-columns:1fr}.database-search{flex-wrap:wrap}}
