/* PFK NUK Student Hosting v0.3 — original, self-contained, no external assets. */
:root{--ink:#18243b;--body:#63718a;--muted:#8793a9;--line:#e8eaf3;--bg:#f6f7fb;--surface:#fff;--purple:#6655ed;--purple-dark:#5644db;--green:#0e9c7a;--r:19px;--shadow:0 6px 27px rgba(34,43,77,.045);font-family:Inter,"Segoe UI",system-ui,-apple-system,sans-serif;background:var(--bg);color:var(--ink);font-size:14px;font-synthesis:none;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:320px}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.52}a{color:inherit;text-decoration:none}svg{display:block}.svg-defs{position:absolute;width:0;height:0;overflow:hidden}.icon{width:19px;height:19px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.icon-small{width:16px;height:16px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #a89cff;outline-offset:2px}::selection{background:#d9d3ff;color:#251c75}
/* Layout */
.app-shell{min-height:100vh;display:grid;grid-template-columns:266px minmax(0,1fr)}.sidebar{background:#111729;color:#fff;display:flex;flex-direction:column;gap:0;padding:31px 17px 19px;min-height:100vh;height:100vh;position:sticky;top:0;z-index:40;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#343d58 transparent}.sidebar-top{display:flex;justify-content:space-between;align-items:center}.brand{display:flex;align-items:center;gap:12px;padding:2px 10px 46px}.logo{width:43px;height:43px;display:grid;place-items:center;background:linear-gradient(155deg,#9782ff 1%,#6653f0 70%,#4c40ba);color:#fff;border-radius:14px;position:relative;box-shadow:0 10px 24px #6553ed38;flex:0 0 auto}.logo span{font-size:23px;font-weight:850;line-height:1;transform:translateX(-2px)}.logo i{position:absolute;width:7px;height:7px;background:#92e9e0;border-radius:3px;right:6px;bottom:7px;transform:rotate(33deg)}.brand-words,.auth-brand-name{display:flex;flex-direction:column;gap:5px;min-width:0}.brand-words strong,.auth-brand-name strong{font-size:15px;white-space:nowrap;letter-spacing:-.5px}.brand-words b,.auth-brand-name b{font-weight:500;color:#b4aaff}.brand-words small,.auth-brand-name small{font-size:9px;letter-spacing:1.8px;color:#8290ac;font-weight:750}.side-label{padding:0 16px 15px;color:#65738e;font-size:10px;font-weight:800;letter-spacing:1.65px}.side-label-secondary{padding-top:38px}.side-nav{display:flex;flex-direction:column;gap:5px}.navlink{display:flex;align-items:center;gap:13px;min-height:45px;padding:10px 15px;border-radius:11px;color:#9ca8c0;font-weight:650;transition:background .18s,color .18s;position:relative}.navlink .icon{width:18px;height:18px;opacity:.85}.navlink:hover{background:#252c43;color:#fff}.navlink.active{background:#2a284c;color:#fff}.navlink.active .icon{color:#b7aaff;opacity:1}.navlink.active:before{content:"";position:absolute;left:0;top:12px;bottom:12px;width:3px;background:#927aff;border-radius:0 4px 4px 0}.sidebar-spacer{flex:1;min-height:16px}.sidebar-tip{border:1px solid #343654;background:radial-gradient(circle at 100% 20%,#423a79 0,transparent 52%),linear-gradient(140deg,#282844,#1f263e);padding:20px 17px;border-radius:17px;margin:20px 6px 26px;position:relative;overflow:hidden}.sidebar-tip .tip-star{display:grid;place-items:center;width:32px;height:32px;background:#5545a5;border-radius:9px;margin-bottom:17px;color:#ddd5ff}.sidebar-tip .icon{width:17px;height:17px}.sidebar-tip strong{font-size:15px;line-height:1.46;position:relative;z-index:1}.sidebar-tip small{font-size:11px;line-height:1.65;color:#b1b6cd;display:block;margin-top:8px;position:relative;z-index:1}.tip-circles{position:absolute;border:1px solid #7165b755;width:180px;height:180px;right:-110px;bottom:-70px;border-radius:50%}.tip-circles:before{content:"";position:absolute;inset:20px;border:1px solid #7165b755;border-radius:50%}.side-user{display:flex;align-items:center;gap:11px;border-top:1px solid #30384d;padding:20px 8px 14px;min-width:0}.avatar,.top-avatar{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;flex:0 0 auto;background:linear-gradient(145deg,#3b4464,#242d4b);color:#c0bdff;font-weight:800}.user-name{display:block;min-width:0}.user-name strong,.user-name small{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.user-name strong{font-size:12px}.user-name small{font-size:11px;color:#8b99b3;margin-top:5px}.logout{border:0;background:transparent;color:#abb7c9;display:flex;gap:13px;align-items:center;padding:12px 14px;width:100%;border-radius:10px;font-weight:600;text-align:left}.logout .icon{width:18px;height:18px}.logout:hover{color:white;background:#272f45}.main{min-width:0}.topbar{height:76px;background:rgba(255,255,255,.96);border-bottom:1px solid var(--line);padding:0 42px;display:flex;justify-content:space-between;align-items:center}.topbar-left,.topbar-right,.breadcrumb{display:flex;align-items:center}.topbar-left{gap:15px}.breadcrumb{gap:11px;font-size:12px;font-weight:650;color:#8d96a9}.breadcrumb strong{color:#27354c;font-weight:750}.breadcrumb .icon{width:13px;height:13px;color:#aeb6c8}.topbar-right{gap:20px}.topbar-domain{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:700;color:#76849c}.topbar-domain .icon{width:16px;height:16px;color:#7a69e4}.top-avatar{width:36px;height:36px;background:#eeeaff;color:#6656da}.icon-button{border:0;background:transparent;color:#78859b;min-width:32px;height:32px;display:inline-grid;place-items:center;border-radius:9px}.icon-button:hover{background:#f0f1f9;color:#5949d7}.menu-trigger,.close-sidebar,.mobile-shade{display:none}.content{max-width:1600px;padding:36px 42px 36px;margin:0 auto;min-height:calc(100vh - 76px)}.app-footer{display:flex;justify-content:space-between;gap:20px;font-size:11px;color:#9ca5b7;padding:15px 3px 0;margin-top:10px;border-top:1px solid #e8eaf1}
/* Titles, buttons and tokens */
.welcome-header{display:flex;align-items:center;justify-content:space-between;gap:22px;margin:0 0 26px}.welcome-header h1{margin:10px 0 7px;font-size:clamp(26px,3vw,35px);letter-spacing:-1.45px;line-height:1.2;font-weight:800}.welcome-header p{margin:0;color:#758198;font-size:13px;line-height:1.68;max-width:730px}.eyebrow{font-size:10px;font-weight:800;letter-spacing:1.6px;color:#7364c7;display:flex;align-items:center;gap:9px}.eyebrow-dot{height:7px;width:7px;background:#7767ed;border-radius:50%;box-shadow:0 0 0 4px #ece8ff}.eyebrow-divide{color:#c1bfd4;margin:0 2px}.title-wave{color:#836bed;font-weight:600;margin-left:4px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:42px;border-radius:10px;border:1px solid #e1e3ee;background:white;color:#34405c;padding:10px 16px;font-weight:750;font-size:12px;transition:transform .16s,box-shadow .16s,background .16s;white-space:nowrap}.btn .icon{width:17px;height:17px}.btn:hover:not(:disabled){transform:translateY(-1px)}.btn-primary{border-color:#6a56ea;background:#6955eb;color:white;box-shadow:0 9px 24px #5f4ee322}.btn-primary:hover:not(:disabled){background:#5d49e3;box-shadow:0 13px 26px #5f4ee333}.btn-secondary{background:white;border-color:#e5e6ef;color:#4a526b}.btn-secondary:hover:not(:disabled){background:#f8f7ff}.btn-quiet{background:#f9f9fd;border-color:#f0eef8}.btn-wide{width:100%}.btn-mini{padding:8px 10px;min-height:32px;font-size:10px;border-radius:8px}.pill{display:inline-flex;align-items:center;gap:7px;border-radius:40px;padding:8px 11px;font-size:11px;font-weight:750;white-space:nowrap}.pill .icon{width:14px;height:14px}.pill-good{background:#e8f9f2;color:#148a69}.pill-warn{background:#fff5e2;color:#af7f32}.tiny-dot,.live-dot{width:7px;height:7px;border-radius:50%;background:#bbc1ca;display:inline-block;flex:0 0 auto}.is-green,.live-dot{background:#1caf84;box-shadow:0 0 0 3px #daf9ed}.is-amber{background:#e3a641;box-shadow:0 0 0 3px #fff0d6}.tag{font-size:10px;letter-spacing:.75px;color:#777e9a;font-weight:800;border-radius:7px;background:#f3f4fa;padding:8px 10px;white-space:nowrap}.muted{color:var(--muted)}
/* Hero */
.hero-banner{min-height:224px;border-radius:20px;margin-bottom:24px;position:relative;overflow:hidden;background:radial-gradient(circle at 75% -30%,#7973df77 0,transparent 38%),linear-gradient(120deg,#252c57,#272558 63%,#4b3f8c);color:white;display:flex;align-items:center;padding:27px 38px;box-shadow:0 18px 38px #41427915}.hero-banner:after{content:"";pointer-events:none;position:absolute;inset:0;background:repeating-linear-gradient(90deg,transparent,transparent 79px,#ffffff08 80px),repeating-linear-gradient(0deg,transparent,transparent 79px,#ffffff08 80px);mask-image:linear-gradient(90deg,transparent 30%,black)}.admin-hero{background:radial-gradient(circle at 78% -15%,#9b86ff66 0,transparent 42%),linear-gradient(120deg,#202e50,#242c5b 65%,#3e3d81)}.hero-content{position:relative;z-index:2;max-width:580px}.hero-kicker{font-size:10px;letter-spacing:1.6px;font-weight:800;color:#c7c4fa;display:inline-flex;gap:9px;align-items:center}.hero-kicker-dot{width:6px;height:6px;background:#99f7ce;box-shadow:0 0 0 4px #99f7ce23;border-radius:50%}.hero-content h2{font-size:clamp(22px,2.55vw,31px);letter-spacing:-1.05px;line-height:1.23;margin:15px 0 9px;font-weight:760}.hero-content p{font-size:12px;line-height:1.7;color:#c7c9e5;margin:0;max-width:380px}.hero-chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:19px}.hero-chips span{border:1px solid #a2a4de55;background:#fff1;border-radius:7px;color:#e4e5fe;font-size:10px;font-weight:750;padding:7px 10px}.hero-art{position:absolute;z-index:1;right:8%;top:5%;width:360px;height:240px}.art-glow{position:absolute;width:300px;height:280px;background:#8866ff60;filter:blur(50px);border-radius:50%;right:0;top:0}.code-window{width:304px;transform:rotate(-8deg);position:absolute;right:10px;top:30px;border-radius:14px;background:#10182e;box-shadow:0 18px 45px #080a274f;border:1px solid #9297d755;overflow:hidden}.window-top{height:39px;display:flex;align-items:center;gap:5px;padding:0 14px;border-bottom:1px solid #273350;background:#1a2442}.window-top i,.floating-dots i{width:7px;height:7px;border-radius:50%;background:#ff898e}.window-top i:nth-child(2),.floating-dots i:nth-child(2){background:#f1b76c}.window-top i:nth-child(3),.floating-dots i:nth-child(3){background:#62d8af}.window-top small{margin-left:13px;color:#8190b7;font-size:10px}.fake-code{padding:15px 18px 20px;display:flex;gap:9px;flex-direction:column;font:11px/1.5 Consolas,monospace;color:#e2dffb}.fake-code span{white-space:nowrap}.fake-code b{color:#596a8e;font-weight:400;margin-right:12px}.fake-code em{color:#faad8a;font-style:normal}.fake-code i{color:#8daeff;font-style:normal}.fake-code u{color:#a58fff;text-decoration:none}.hero-orbit{right:7%;top:0;display:grid;place-items:center}.orbit{border-radius:50%;position:absolute;border:1px solid #b1adff66}.o1{width:185px;height:185px}.o2{width:290px;height:290px}.orbit-center{width:86px;height:86px;background:linear-gradient(140deg,#8f7afd,#5c59ce);border:1px solid #ffffff44;border-radius:27px;display:grid;place-items:center;font-size:55px;font-weight:800;color:#e8e8ff;box-shadow:0 0 70px #8e83e985;transform:rotate(-10deg)}.orbit-point{position:absolute;width:14px;height:14px;background:#a394ff;box-shadow:0 0 0 8px #a394ff28;border-radius:50%}.p1{left:35px;top:78px}.p2{right:60px;bottom:38px;background:#79e7c8;box-shadow:0 0 0 8px #79e7c828}.p3{right:78px;top:48px;width:9px;height:9px}
/* Stats */
.stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:0 0 23px}.stat-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:23px 23px 21px;box-shadow:var(--shadow);min-width:0}.stat-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.stat-top>span:first-child{color:#7d899d;font-size:12px;font-weight:700;padding-top:3px}.stat-icon,.head-icon{display:grid;place-items:center;border-radius:12px;flex-shrink:0}.stat-icon{width:39px;height:39px}.tint-violet{background:#f0edff;color:#7360e3}.tint-blue{background:#ebf3ff;color:#4c82da}.tint-green{background:#e8f8f0;color:#1a9a74}.tint-orange{background:#fff4e5;color:#d49748}.stat-value{font-size:31px;font-weight:800;letter-spacing:-1px;line-height:1.2;margin:10px 0 7px;white-space:nowrap}.stat-suffix{font-size:13px;font-weight:650;color:#9fa7b9;letter-spacing:0}.stat-text{font-size:23px;letter-spacing:-.55px}.stat-desc{font-size:11px;color:#9aa5b5;line-height:1.55;display:flex;align-items:center;gap:9px}.progress{height:6px;background:#f1f0fb;border-radius:5px;overflow:hidden;margin:9px 0}.progress span{height:100%;background:linear-gradient(90deg,#8074f0,#b49ffb);display:block;border-radius:5px;min-width:1px}
/* Cards */
.section-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px;margin:0 0 20px}.section-grid.files-area{grid-template-columns:minmax(0,1.25fr) minmax(330px,.85fr)}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:24px;box-shadow:var(--shadow);min-width:0;margin:0 0 20px}.section-grid>.card{margin-bottom:0}.card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:25px}.card-heading{display:flex;gap:13px;align-items:flex-start;min-width:0}.head-icon{width:40px;height:40px}.card-head h2{margin:0 0 4px;font-size:15px;letter-spacing:-.3px;font-weight:780}.card-head p{margin:0;font-size:11px;color:#94a0b2;line-height:1.5}.card-head .tag{margin-top:3px}.website-url{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:19px;border:1px solid #e8e6fb;border-radius:13px;background:linear-gradient(105deg,#f7f6ff,#fafaff)}.field-overline{display:block;color:#9994c0;font-size:9px;letter-spacing:1.25px;font-weight:800;margin-bottom:9px}.website-url-main{min-width:0}.website-url strong{display:block;font-size:13px;line-height:1.5;color:#5144a5;overflow-wrap:anywhere}.square-action{width:34px;height:34px;display:inline-grid;place-items:center;flex:0 0 auto;border:1px solid #e6e5f1;background:#fff;border-radius:9px;color:#7873ac}.square-action:hover{background:#f5f1ff;color:#6752e2;border-color:#d4ccfa}.square-action .icon{width:16px;height:16px}.note{display:flex;align-items:flex-start;gap:9px;border-radius:10px;font-size:11px;line-height:1.65;padding:12px;margin-top:17px}.note .icon{width:16px;height:16px;flex-shrink:0;margin-top:1px}.note-neutral{background:#f7f8fc;color:#8290a4}.note-neutral .icon{color:#8275d4}.note-error{color:#ab5264;background:#fff1f2}.db-status{color:#17946f;font-weight:700;font-size:11px;display:flex;align-items:center;gap:12px;margin-bottom:12px}.db-details>div{padding:10px 0;border-bottom:1px solid #eff0f5;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px}.db-details>div:last-child{border-bottom:0}.db-details span{color:#8895a8}.db-details code{font:12px Consolas,monospace;color:#3b4565;overflow-wrap:anywhere;text-align:right}.password-field{display:flex;align-items:center;gap:8px;min-width:0}.password-field code{word-break:break-all}.password-field .square-action{width:30px;height:30px}.empty-db{display:flex;flex-direction:column;align-items:center;text-align:center;background:#fafaff;border:1px dashed #e3e0f5;border-radius:12px;padding:21px 12px;margin-bottom:14px}.empty-symbol{background:#eeeaff;color:#7663df;border-radius:13px;display:grid;place-items:center;width:45px;height:45px;margin-bottom:10px}.empty-db strong{font-size:12px;margin-bottom:5px}.empty-db p{color:#9aa6b8;font-size:11px;line-height:1.6;margin:0;max-width:275px}.site-card .note{margin-top:13px}
/* Forms / uploads / files */
.form-stack{display:flex;flex-direction:column;gap:16px}.form-label{display:flex;flex-direction:column;gap:8px;font-weight:720;color:#566379;font-size:11px}.form-label small{font-size:10px;color:#a2adba;font-weight:500}.form-label>input,.form-label>select,.new-file-form input{width:100%;min-height:43px;border:1px solid #e5e7f0;border-radius:10px;padding:11px 13px;background:#fdfdff;color:#2f3952;outline:none;transition:border .2s,box-shadow .2s}.form-label>input:focus,.form-label>select:focus,.new-file-form input:focus{border-color:#aa9ff2;box-shadow:0 0 0 3px #ebe7ff}.form-label>input::placeholder,.new-file-form input::placeholder{color:#b5bece}.form-two{display:grid;grid-template-columns:1fr 1fr;gap:13px}.check-row{display:flex;align-items:flex-start;gap:11px;border-radius:10px;background:#fafbff;border:1px solid #ecedf5;padding:12px;color:#58637a;font-size:11px;cursor:pointer}.check-row input{accent-color:#6d57e9;width:15px;height:15px;margin:1px 0 0}.check-row span{display:flex;flex-direction:column;gap:5px}.check-row strong{font-weight:750}.check-row small{color:#9aa4b7;font-size:10px;line-height:1.5}.upload-zone{position:relative;border:1.5px dashed #c9c4ed;background:#faf9ff;min-height:193px;border-radius:13px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;text-align:center;cursor:pointer;overflow:hidden;transition:background .2s,border-color .2s;padding:14px}.upload-zone:hover,.upload-zone.is-dragging{background:#f2efff;border-color:#897aec}.upload-zone input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.upload-zone .upload-icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:#efebff;color:#725cdb;margin-bottom:3px}.upload-zone strong{font-size:12px;color:#53607b}.upload-hint{color:#a6adbc;font-size:10px}.upload-picker{font-size:10px;font-weight:750;color:#6552d4;background:white;border:1px solid #e7e3fa;padding:7px 11px;border-radius:8px;margin-top:4px}.selected-file{font-size:11px;color:#929bb0;margin-top:-6px;overflow-wrap:anywhere}.file-card .card-head{margin-bottom:18px}.file-toolbar{display:flex;gap:9px;align-items:stretch;margin-bottom:19px}.search-box{display:flex;align-items:center;gap:9px;border:1px solid #e9eaf0;background:#fafbfe;color:#a5aec0;border-radius:10px;padding:0 12px;min-width:0;flex:1}.search-box .icon{width:17px;height:17px}.search-box:focus-within{border-color:#b7acf1;box-shadow:0 0 0 3px #eeeaff}.search-box input{width:100%;min-width:0;height:41px;background:transparent;outline:none;border:0;font-size:11px;color:#34415c}.search-box input::placeholder{color:#a7b0bf}.new-file-form{display:flex;gap:6px;align-items:center;min-width:0}.new-file-form input{width:124px;font-size:11px;min-height:41px;padding:8px}.new-file-form .btn{min-height:41px;padding:8px 12px}.new-file-form .btn .icon{width:15px;height:15px}.file-row{display:grid;grid-template-columns:minmax(160px,1fr) 74px 114px;align-items:center;gap:12px;border-bottom:1px solid #f0f1f5;padding:11px 0;min-height:51px}.file-row-heading{min-height:34px;padding:0 0 9px;color:#a6b0c2;font-size:9px;font-weight:800;letter-spacing:1.1px}.file-name{display:flex;align-items:center;gap:11px;min-width:0}.file-name strong{font-size:11px;color:#4c5870;overflow-wrap:anywhere;font-weight:750}.file-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#f2efff;color:#8072e5;flex:0 0 auto}.file-icon .icon{width:16px;height:16px}.file-size{font-size:11px;color:#a1abba}.file-actions{display:flex;justify-content:flex-end;align-items:center;gap:3px}.file-actions form{display:inline-flex}.file-actions .icon-button{min-width:30px;width:30px;height:30px}.file-actions .icon{width:15px;height:15px}.file-actions .danger{color:#d98892}.file-actions .danger:hover{background:#fff2f2;color:#db5362}.file-empty,.empty-table{padding:30px 10px;text-align:center;color:#9aa7ba;font-size:12px}.file-no-match{font-size:12px;color:#908eb4;text-align:center;background:#faf9ff;border-radius:10px;padding:15px}.file-no-match[hidden],.file-row[hidden],.user-row[hidden]{display:none!important}
/* Admin tables / connection */
.connection-card .card-head{align-items:center}.connection-details{display:flex;gap:35px;flex-wrap:wrap;padding:16px;background:#fbfbfe;border-radius:11px;border:1px solid #f0f0f6}.connection-details>div{display:flex;flex-direction:column;gap:9px}.connection-label{color:#a4a9b8;font-size:9px;font-weight:750;letter-spacing:1px}.connection-details code{font-size:12px;color:#6255ae;overflow-wrap:anywhere}.accounts-card .card-head{margin-bottom:17px}.list-tools{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:17px}.list-tools .search-box{max-width:385px}.list-tools-tip{color:#a9b1bd;font-size:10px;text-align:right}.table-wrap{width:100%;overflow-x:auto}.users-table{width:100%;border-collapse:collapse;min-width:800px;text-align:left}.users-table th{color:#a4acbc;font-size:9px;font-weight:800;letter-spacing:.9px;background:#fafbfe;padding:13px 12px;white-space:nowrap}.users-table th:first-child{border-radius:9px 0 0 9px}.users-table th:last-child{border-radius:0 9px 9px 0}.users-table td{padding:16px 12px;border-bottom:1px solid #f0f1f5;color:#68748a;font-size:11px;vertical-align:middle}.table-person{display:flex;align-items:center;gap:11px;min-width:160px}.person-avatar{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#f0edff;color:#6b61cc;font-weight:750;font-size:13px;flex:0 0 auto}.table-person strong{color:#35425a;font-size:11px;display:block;min-width:0;font-weight:750}.table-person small{display:block;margin-top:5px;color:#9da8b8;font-size:10px}.table-dot{padding:0 4px}.role-tag{display:inline-flex;color:#707990;background:#f3f5fa;padding:7px 9px;font-size:10px;font-weight:650;border-radius:7px}.table-site,.table-db{display:block;margin-top:6px;font-size:10px;color:#969eaf;max-width:220px;overflow-wrap:anywhere}.table-db{color:#757f95}.table-actions{display:flex;gap:5px;align-items:center;flex-wrap:wrap;max-width:300px}.table-actions form{margin:0}.error-mini{display:block;color:#c85e70;font-size:10px;line-height:1.5;max-width:220px;margin-top:5px}.site-copy{display:flex;gap:8px;align-items:center;min-width:185px}.site-copy code{font-size:11px;color:#6355be;overflow-wrap:anywhere}.site-copy .square-action{height:28px;width:28px}.teacher-stats{margin-top:5px}
/* Editor */
.editor-card{border:1px solid #dfe2ed;background:white;border-radius:18px;overflow:hidden;box-shadow:var(--shadow)}.editor-header{height:56px;background:#171e31;display:flex;align-items:center;justify-content:space-between;color:#adb8cd;border-bottom:1px solid #2c374e;padding:0 20px}.editor-tabs{height:100%;display:flex;align-items:center;gap:10px;position:relative;padding:0 16px;background:#232b43;min-width:0}.editor-tabs:after{position:absolute;content:"";height:2px;bottom:0;left:0;right:0;background:#9a86ff}.editor-tabs-icon{color:#b4a5ff}.editor-tabs-icon .icon{width:15px;height:15px}.editor-tab-name{font:12px Consolas,monospace;color:#e4e8ff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.editor-tab-indicator{width:6px;height:6px;border-radius:50%;background:#55c7a2}.editor-meta{display:flex;gap:12px;align-items:center;font-size:10px;color:#8d9bb5}.editor-meta-sep{width:1px;height:13px;background:#39465d}.editor-kbd{border:1px solid #424d67;background:#242d44;padding:5px 7px;border-radius:5px;font:10px Consolas,monospace}.editor-workspace{display:flex;min-height:62vh;background:#101827;position:relative}.line-numbers{width:56px;flex:0 0 56px;padding:21px 13px 21px 0;text-align:right;background:#151e30;color:#566883;white-space:pre;user-select:none;font:13px/1.7 Consolas,monospace;overflow:hidden}.code-editor{border:0;outline:0;width:100%;flex:1;resize:vertical;min-height:62vh;background:#101827;color:#e1e9fc;padding:21px 22px 22px 16px;font:13px/1.7 Consolas,monospace;tab-size:2;white-space:pre;overflow:auto}.code-editor:focus-visible{outline:none}.editor-footer{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:14px 20px;background:#fff}.editor-bottom-info{font-size:11px;color:#8994a7;display:flex;align-items:center;gap:11px}.note-outside{max-width:800px;margin:15px 0 30px}
/* Security / change password */
.security-grid{display:grid;grid-template-columns:minmax(0,550px) minmax(0,340px);gap:22px;align-items:start}.security-aside{border-radius:18px;padding:26px;background:linear-gradient(145deg,#2b2f5c,#1a2342);color:#fff;min-height:300px;position:relative;overflow:hidden}.security-aside:before{content:"";border:1px solid #ffffff21;width:220px;height:220px;border-radius:50%;position:absolute;right:-110px;top:-40px}.security-visual{width:48px;height:48px;background:#5c5794;display:grid;place-items:center;border-radius:14px;margin-bottom:16px}.security-visual .icon{width:23px;height:23px}.security-aside h3{font-size:19px;margin:0 0 10px}.security-aside p{font-size:12px;color:#c2c7df;line-height:1.7;margin:0 0 22px}.security-rule{font-size:11px;color:#cfd5e9;display:flex;align-items:flex-start;gap:10px;margin:12px 0}.security-rule .icon{width:15px;height:15px;color:#84e3c7}.auth-input-wrap{display:flex;align-items:center;position:relative;border:1px solid #e5e7f0;background:#fcfcff;border-radius:10px;min-height:47px;padding:0 13px;gap:10px}.auth-input-wrap:focus-within{border-color:#a99bf1;box-shadow:0 0 0 3px #eeebff}.auth-input-wrap>.icon{width:17px;height:17px;color:#a4aac0}.auth-input-wrap input{height:45px;width:100%;min-width:0;border:0;outline:0;background:transparent;color:#36445f;padding:0}.auth-input-wrap input:focus-visible{outline:0}.auth-input-wrap input::placeholder{color:#adb7c8}.password-toggle{border:0;background:none;padding:6px;color:#a5a9bf;display:grid;place-items:center;border-radius:7px}.password-toggle:hover{color:#6c57dc;background:#f1edff}.password-toggle .icon{width:18px;height:18px}
/* Alerts */
.alert{margin-bottom:22px;border:1px solid;display:flex;align-items:center;gap:10px;padding:12px 13px;border-radius:11px;font-size:12px;line-height:1.6;overflow-wrap:anywhere}.alert>.icon{height:18px;width:18px}.alert>span{flex:1;min-width:0}.alert-success{background:#ecfbf5;border-color:#c8eee0;color:#198a6b}.alert-error{background:#fff1f4;border-color:#f4d4da;color:#b94d67}.alert-dismiss{height:26px;min-width:26px;width:26px}.alert-dismiss .icon{width:15px;height:15px}
/* Login */
.auth-layout{min-height:100vh;min-height:100dvh;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(430px,.9fr);background:#fff}.auth-feature{min-height:760px;background:linear-gradient(135deg,#171f3e,#1d2152 65%,#29235b);color:white;padding:37px clamp(26px,5vw,70px) 27px;display:flex;flex-direction:column;position:relative;overflow:hidden}.auth-brand{display:flex;align-items:center;gap:12px;position:relative;z-index:2}.auth-brand-name strong{font-size:17px}.auth-brand-name small{font-size:9px}.auth-visual{flex:1;display:flex;align-items:center;position:relative;min-height:580px}.auth-gridlines{position:absolute;inset:-90px;opacity:.4;background:repeating-linear-gradient(90deg,transparent,transparent 94px,#8582d21b 95px),repeating-linear-gradient(0deg,transparent,transparent 94px,#8582d21b 95px);mask-image:radial-gradient(ellipse at center,black 10%,transparent 72%)}.auth-orb{position:absolute;border-radius:50%;pointer-events:none}.auth-orb-one{right:-200px;top:25px;width:490px;height:490px;border:1px solid #ffffff26;box-shadow:inset 0 0 0 52px #ffffff05,inset 0 0 0 100px #ffffff03}.auth-orb-two{left:-140px;bottom:-160px;width:400px;height:400px;background:#6b51d733;filter:blur(90px)}.auth-message{position:relative;z-index:3;max-width:550px;padding-bottom:80px}.auth-message h1{font-size:clamp(40px,4.4vw,70px);letter-spacing:-2.5px;line-height:1.11;margin:24px 0 20px;font-weight:800}.auth-message h1 em{font-style:normal;background:linear-gradient(90deg,#b2a2ff,#8ce9df);background-clip:text;-webkit-background-clip:text;color:transparent}.auth-message p{font-size:14px;line-height:1.85;color:#bec5e5;max-width:380px}.auth-message .hero-chips{margin-top:30px}.auth-floating-card{position:absolute;z-index:2;right:-120px;bottom:60px;background:#171e35;border:1px solid #ffffff30;box-shadow:0 32px 80px #04092266;border-radius:14px;width:325px;transform:rotate(-9deg);overflow:hidden}.auth-floating-top{display:flex;align-items:center;gap:14px;padding:13px 15px;background:#212c49;color:#9eadce;font-size:10px}.floating-dots{display:flex;gap:5px}.auth-floating-top>.icon{width:15px;height:15px;margin-left:auto}.floating-code{padding:18px 18px 22px;font:12px/1.7 Consolas,monospace}.floating-code p{margin:4px 0;color:#cbd4ed;white-space:nowrap}.floating-code p>span{color:#647492;margin-right:13px}.floating-code b{color:#cc9dfd;font-weight:400}.floating-code em{color:#95e7c2;font-style:normal}.floating-code i{color:#8bbaff;font-style:normal}.auth-foot{display:flex;justify-content:space-between;gap:15px;color:#949ebd;font-size:10px;position:relative;z-index:2}.auth-spark{color:#b4a2ff;font-size:16px}.auth-form-panel{display:grid;place-items:center;padding:42px 50px;min-width:0}.auth-form-wrap{width:min(100%,430px)}.auth-card{width:100%}.login-kicker{display:inline-flex;align-items:center;gap:8px;color:#725ddc;background:#f1eeff;border-radius:8px;padding:10px 12px;font-size:10px;letter-spacing:.8px;font-weight:800}.login-kicker .icon{width:15px;height:15px}.auth-card h2{font-size:clamp(28px,3.3vw,37px);line-height:1.2;letter-spacing:-1.2px;margin:25px 0 11px}.auth-card h2 span{font-size:27px}.auth-subtitle{color:#7f8ca2;font-size:13px;line-height:1.75;margin:0 0 36px;max-width:365px}.login-form{gap:20px}.login-form .form-label{font-size:12px;gap:9px}.login-submit{margin-top:11px;min-height:49px;font-size:13px;justify-content:space-between;padding:0 18px}.auth-help{display:flex;gap:11px;margin-top:29px;border-top:1px solid #ebeef5;padding-top:23px;color:#a1a9b9;font-size:11px;line-height:1.65}.auth-help .icon{width:18px;height:18px;flex:0 0 auto;color:#8c7ce5}.login-footer{font-size:10px;color:#aab3c1;margin-top:85px;text-align:center}.auth-mobile-brand{display:none}
/* Responsive */
@media(max-width:1320px){.hero-art{right:1%}.stat-grid,.section-grid{gap:15px}.content{padding:32px 28px}.topbar{padding:0 28px}.auth-floating-card{right:-165px;bottom:50px}.auth-message{padding-bottom:105px}}
@media(max-width:1080px){.app-shell{grid-template-columns:228px minmax(0,1fr)}.sidebar{padding-left:11px;padding-right:11px}.brand{padding-left:8px;gap:9px}.brand-words strong{font-size:13px}.sidebar-tip{margin-left:4px;margin-right:4px}.content{padding:28px 22px}.topbar{padding:0 22px}.hero-art{opacity:.67;right:-95px}.hero-content{max-width:85%}.section-grid.files-area{grid-template-columns:1fr}.auth-layout{grid-template-columns:1fr 1fr}.auth-feature{padding-left:36px;padding-right:22px}.auth-floating-card{opacity:.7;right:-210px}.auth-form-panel{padding:30px}.auth-message h1{font-size:49px}}
@media(max-width:760px){.app-shell{display:block}.sidebar{position:fixed;top:0;bottom:0;left:0;min-height:0;height:100dvh;width:280px;transform:translateX(-105%);transition:transform .22s ease;box-shadow:15px 0 40px #0a122055}.app-shell.menu-open .sidebar{transform:translateX(0)}.mobile-shade{display:none;position:fixed;z-index:39;inset:0;background:#11182da8;backdrop-filter:blur(3px)}.app-shell.menu-open .mobile-shade{display:block}.close-sidebar,.menu-trigger{display:grid}.close-sidebar{color:#a9b5c9;margin-top:-34px}.topbar{height:68px;padding:0 18px}.topbar-domain{font-size:10px}.topbar-right{gap:10px}.breadcrumb{font-size:11px}.top-avatar{width:33px;height:33px;border-radius:10px}.content{min-height:calc(100vh - 68px);padding:24px 17px 25px}.welcome-header{align-items:flex-start;gap:15px;flex-wrap:wrap}.welcome-header h1{font-size:27px}.welcome-header p{font-size:12px}.header-action{margin-top:0}.hero-banner{min-height:226px;padding:26px;border-radius:16px}.hero-content{max-width:100%}.hero-art{opacity:.2;right:-190px}.hero-content h2{font-size:26px}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.stat-grid .stat-card:last-child{grid-column:span 2}.stat-card{padding:19px}.section-grid,.section-grid.files-area{grid-template-columns:1fr;gap:15px;margin-bottom:15px}.card{padding:20px;margin-bottom:15px}.section-grid>.card{margin:0}.auth-layout{display:block;background:#fff}.auth-feature{min-height:360px;padding:25px 24px 34px}.auth-visual{min-height:250px}.auth-message{padding:60px 0 0}.auth-message h1{font-size:42px;margin:16px 0}.auth-message p{font-size:12px}.auth-floating-card,.auth-foot,.auth-orb-one{display:none}.auth-form-panel{padding:42px 22px}.auth-form-wrap{max-width:470px}.login-footer{margin-top:55px}.auth-card h2{font-size:30px}.auth-subtitle{margin-bottom:25px}.security-grid{grid-template-columns:1fr}.security-aside{min-height:0}.app-footer{flex-wrap:wrap}.editor-meta-sep,.editor-meta>span:nth-child(3){display:none}}
@media(max-width:460px){.topbar-domain{display:none}.content{padding:21px 13px}.welcome-header h1{font-size:26px}.welcome-header p{font-size:11px}.hero-banner{padding:24px 19px;min-height:240px}.hero-content h2{font-size:23px}.hero-content p{font-size:11px}.hero-chips{gap:6px}.hero-chips span{font-size:9px}.stat-grid{gap:9px}.stat-card{padding:15px;border-radius:14px}.stat-value{font-size:26px}.stat-text{font-size:18px}.stat-top>span:first-child{font-size:10px}.stat-icon{width:31px;height:31px}.stat-icon .icon{width:16px;height:16px}.stat-desc{font-size:10px}.card{padding:16px;border-radius:15px}.card-head{gap:10px}.card-head h2{font-size:13px}.card-head p{font-size:10px}.head-icon{width:34px;height:34px}.head-icon .icon{width:16px;height:16px}.tag{font-size:9px;padding:6px}.file-toolbar{flex-direction:column}.new-file-form{width:100%}.new-file-form input{flex:1}.file-row{grid-template-columns:minmax(115px,1fr) 50px 94px;gap:5px}.file-icon{width:27px;height:27px}.file-name{gap:6px}.file-name strong{font-size:10px}.file-actions{gap:0}.file-actions .icon-button{width:26px;min-width:26px}.file-size{font-size:9px}.file-row-heading{font-size:8px}.form-two{grid-template-columns:1fr}.site-copy{min-width:150px}.list-tools{flex-direction:column;align-items:stretch}.list-tools .search-box{max-width:none}.list-tools-tip{text-align:left}.editor-header{padding:0 9px}.editor-meta{gap:5px}.editor-kbd{display:none}.editor-workspace,.code-editor{min-height:54vh}.line-numbers{width:42px;flex-basis:42px;padding-right:9px}.code-editor{padding:21px 12px;font-size:12px}.editor-footer{flex-wrap:wrap;padding:12px}.editor-footer .btn{width:100%}.auth-feature{min-height:340px}.auth-message{padding-top:45px}.auth-message h1{font-size:39px}.auth-message p{max-width:320px}.auth-form-panel{padding:33px 20px}.auth-card h2{margin-top:20px}.auth-brand-name strong{font-size:14px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.001ms!important;transition-duration:.001ms!important;scroll-behavior:auto!important}}
