:root{color-scheme:dark;--bg:#081822;--panel:#102b33;--card:#14353b;--line:#2a5156;--mint:#7ce1c2;--white:#eefaf8;--muted:#a6bbc1;--dark:#0d242a}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:radial-gradient(ellipse at 85% 0%,#163e42 0,transparent 36%),var(--bg);color:var(--white);font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif}body{min-height:100vh}button,input{font:inherit}.shell{max-width:1040px;margin:auto;padding:0 22px 40px}.topbar{height:92px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #29525b}.brand{display:flex;align-items:center;gap:12px}.brand-icon{width:47px;height:47px;border:1px solid #43756d;border-radius:14px;display:grid;place-items:center;background:#194c48;font-size:24px}.brand-name{font-weight:800;font-size:24px;letter-spacing:-.8px}.brand-subtitle{font-size:10px;letter-spacing:2px;color:var(--mint);font-weight:800}.online{border:1px solid #41676a;border-radius:99px;padding:8px 13px;color:#b2d8cf;font-size:12px}.live-dot{display:inline-block;width:7px;height:7px;background:#64dbb6;border-radius:50%;margin-right:8px;box-shadow:0 0 11px #64dbb6}.eyebrow{color:var(--mint);letter-spacing:1.9px;font-size:11px;font-weight:800}.page-heading{display:flex;gap:12px;justify-content:space-between;align-items:center;margin:45px 0 26px}h1{font-size:clamp(26px,4vw,39px);line-height:1.18;margin:12px 0;color:var(--white);letter-spacing:-1px}h2{font-size:23px;letter-spacing:-.5px;margin:9px 0 0}.muted{color:var(--muted);line-height:1.5}.page-heading p{margin-bottom:0}.stats{display:grid;grid-template-columns:1fr 1fr 1fr;gap:14px;margin-bottom:22px}.stat{background:linear-gradient(145deg,#15383d,#102e36);border:1px solid #31565a;border-radius:16px;padding:21px}.stat-label{font-weight:800;font-size:10px;letter-spacing:1.1px;color:#aac8c8}.version-number{font-size:38px;font-weight:850;color:#91f0cf;letter-spacing:-2px;margin:9px 0 3px}.date-number{font-size:22px;font-weight:730;margin:14px 0 10px}.mini{color:#9cb7b7;font-size:12px}.website-link{display:inline-block;color:#9bf2d7;font-size:17px;font-weight:700;margin:19px 0 12px;text-underline-offset:4px}.panel{background:linear-gradient(150deg,#112e35,#0e252e);border:1px solid #32565b;border-radius:20px;padding:27px 29px;margin-bottom:21px;box-shadow:0 13px 35px #0512194d}.panel-head{display:flex;justify-content:space-between;align-items:start;margin-bottom:22px}.step-pill{padding:8px 12px;border-radius:30px;border:1px solid #3a6564;font-size:11px;letter-spacing:1px;color:#b9d6d2}.dropzone{display:flex;align-items:center;justify-content:center;flex-direction:column;border:2px dashed #4d8b84;border-radius:17px;background:#133b3c80;padding:31px 18px;min-height:202px;cursor:pointer;transition:background .15s,border-color .15s;text-align:center}.dropzone:hover,.dropzone.dragover,.dropzone:focus-visible{background:#1b514a;border-color:#8beed0;outline:2px solid transparent}.upload-icon{border-radius:16px;width:49px;height:49px;background:#2d6b5c;color:#d0fff0;font-size:31px;line-height:43px;margin-bottom:12px}.dropzone strong{font-size:18px}.dropzone span{font-size:14px;color:var(--muted);margin-top:3px}.dropzone span u{color:var(--mint)}.dropzone small{margin-top:15px;font-size:12px;color:#8cacaf}.file-selected{display:flex;align-items:center;gap:13px;margin-top:13px;padding:12px;border:1px solid #47796a;background:#163c36;border-radius:12px}.file-symbol{display:grid;place-items:center;width:41px;height:41px;background:#28614f;border-radius:11px;font-size:24px}.file-description{flex:1;min-width:0}.file-description strong{display:block;overflow:hidden;text-overflow:ellipsis}.file-description small{display:block;color:#9fc0b8}.icon-button{border:0;background:transparent;color:white;font-size:27px;cursor:pointer;padding:0 8px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:17px;margin-top:21px}label{display:block;color:#d5efea;font-size:13px;font-weight:650;margin-bottom:9px}.optional{color:#8daba9;font-weight:400}input:not([type=file]){background:#0b222a;border:1px solid #40636a;border-radius:10px;padding:13px 14px;width:100%;color:var(--white);outline:none;min-height:48px}input:focus{border-color:#86ddc0;box-shadow:0 0 0 3px #73f3ce17}input::placeholder{color:#6d9599}.fields small{display:block;margin-top:7px;color:#82a1a6;font-size:11px}.release-footer{border-top:1px solid #315157;margin-top:25px;padding-top:21px;display:flex;align-items:center;justify-content:space-between;gap:16px}.release-footer .muted{font-size:12px}.lock{font-size:13px}.button{border-radius:10px;padding:12px 18px;border:1px solid #4f8179;cursor:pointer;display:inline-flex;justify-content:center;align-items:center;gap:16px;font-weight:750;white-space:nowrap}.button.primary{background:#8fe5c7;border-color:#9dedd0;color:#0a302d}.button.primary:hover:not(:disabled){background:#b0ffdf}.button:disabled{opacity:.42;cursor:not-allowed}.button.subtle{background:#193a41;color:#d8f1ed}.button.subtle:hover{background:#25505a}.button.full{width:100%;margin-top:17px;justify-content:space-between}.status-message{padding:13px 14px;border-radius:10px;margin-top:16px;background:#1d4d3d;color:#c7ffe4;border:1px solid #46926d;font-size:13px}.status-message.fail{background:#49302e;color:#ffdfd6;border-color:#915350}.history-caption{font-size:13px;margin-top:-6px}.history{margin-top:20px}.history-entry{display:flex;align-items:center;gap:15px;border-top:1px solid #2d4b51;padding:16px 2px}.history-entry:first-child{border-top:0}.history-tag{font-weight:800;color:#a6edcd;background:#1d5245;border:1px solid #3c7660;border-radius:10px;padding:9px 12px;white-space:nowrap}.history-data{flex:1;min-width:0}.history-data strong{display:block;font-size:14px}.history-data small{display:block;color:#9bb4b9;font-size:11px;margin-top:3px}.restore-btn{background:transparent;color:#a9e6da;border:1px solid #406a69;padding:9px 12px;border-radius:10px;font-size:12px;cursor:pointer}.restore-btn:hover{background:#1b4b48}.restore-btn:disabled{opacity:.35;cursor:default}.current-pill{color:#8de5c0;font-size:11px;white-space:nowrap;font-weight:700}.bottom-note{text-align:center;color:#72999d;font-size:12px;margin-top:27px}.login-card{max-width:440px;margin:clamp(30px,8vw,88px) auto;background:#112d34;border:1px solid #396569;padding:35px;border-radius:22px}.login-card p{font-size:14px}.login-card label{margin-top:17px}.tiny{font-size:11px!important;color:#71999b;margin-top:24px;line-height:1.5}.error{background:#542f30;border:1px solid #9c4d4d;border-radius:10px;padding:10px;color:#ffe1dd}.login-card h1{font-size:29px}[hidden]{display:none!important}@media(max-width:720px){.shell{padding:0 14px 30px}.topbar{height:75px}.online{font-size:10px;padding:7px}.brand-name{font-size:19px}.brand-icon{width:39px;height:39px}.page-heading{margin:30px 0 24px}.stats{grid-template-columns:1fr 1fr;gap:10px}.stat{padding:17px}.stat.link-stat{grid-column:1/-1}.version-number{font-size:30px}.date-number{font-size:18px}.panel{padding:20px 16px;border-radius:15px}.fields{grid-template-columns:1fr}.release-footer{flex-direction:column;align-items:stretch}.release-footer .button{width:100%}.history-entry{gap:10px}.history-tag{font-size:12px;padding:9px}.history-data strong{font-size:12px}}@media(max-width:400px){.stats{grid-template-columns:1fr}.stat.link-stat{grid-column:auto}.page-heading{align-items:flex-start}.page-heading .button{font-size:11px;padding:8px}.history-entry{flex-wrap:wrap}.history-data{flex-basis:60%}.restore-btn,.current-pill{margin-left:auto}}

select{width:100%;background:#0b222a;border:1px solid #40636a;border-radius:10px;padding:13px 14px;min-height:48px;color:var(--white);font:inherit} .preview-actions{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.preview-warning{font-size:12px;color:#b2cbd0;line-height:1.6;padding:10px;background:#122d3a;border:1px solid #35576c;border-radius:9px}#stageFrame{width:100%;aspect-ratio:16/9;min-height:350px;border:1px solid #688b95;background:#fff;border-radius:10px}@media(max-width:720px){.preview-actions .button{width:100%}#stageFrame{min-height:240px}}

/* Private work area vs temporary guest access */
.guest-state{border-radius:12px;background:#192b3c;border:1px solid #3b6576;padding:13px 16px;font-weight:800;color:#dce8ed;margin:16px 0}
.guest-state.guest-online{background:#164b3e;border-color:#69cbb0;color:#d7fff0}
.guest-controls{display:flex;align-items:flex-end;gap:14px;flex-wrap:wrap;margin-bottom:16px}
.guest-start-wrap{display:flex;align-items:flex-end;min-height:72px}
#guestUrl,#guestFeedbackUrl{width:100%;padding:10px;margin:8px 0;background:#102b39;border:1px solid #52798d;border-radius:9px;color:#fff;font:12px ui-monospace,monospace}
#guestCopy{margin:0 0 15px}
#guestFeedbackList{margin-top:14px;max-height:550px;overflow:auto}
#guestFeedbackList .history-data p{line-height:1.4;color:#c2e4e2;margin:7px 0;font-size:12px}

/* DriveWiki mobile Admin / Home screen PWA – compact, consistent with existing theme */
.quick-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:14px}
.quick-action{border:1px solid #3d6a72;background:#153743;border-radius:13px;color:#e6f7f3;padding:14px 10px;min-height:58px;font-weight:750;font-size:13px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:7px;text-align:center}
.quick-action.primary{background:#8ee6c8;color:#082e2b;border-color:#bbf8df}
.quick-action:focus-visible{outline:2px solid #90f5d3;outline-offset:3px}
.install-helper{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid #2c5961;background:#103038;border-radius:12px;padding:12px 15px;margin-bottom:22px}
.install-helper strong{font-size:12px;color:#c7fbe9}.install-helper p{font-size:11px;color:#9bb7bb;line-height:1.5;margin:4px 0 0}
.install-helper .button{font-size:12px}.mobile-section-anchor{scroll-margin-top:95px}
#uploadPanel,#guestPanel,#historyPanel{scroll-margin-top:95px}
@media(max-width:720px){
 .quick-actions{position:sticky;top:0;z-index:80;padding:7px 0;background:linear-gradient(180deg,#081822 80%,#081822ef 100%);gap:5px;margin-bottom:13px}
 .quick-action{flex-direction:column;gap:2px;min-height:55px;padding:7px 3px;border-radius:9px;font-size:11px;line-height:1.25}
 .quick-action span{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .install-helper{align-items:flex-start;flex-direction:column;margin-bottom:14px}
 .install-helper .button{width:100%}
 .dropzone{min-height:155px;padding:18px}
 .dropzone strong{font-size:15px}
 input,select,textarea{font-size:16px!important}
}
@media(display-mode:standalone){.install-helper{display:none}}
