:root {
  color-scheme: dark;
  --bg: #09090b;
  --panel: #111114;
  --panel-2: #17171b;
  --line: #29292f;
  --text: #f5f5f7;
  --muted: #9898a3;
  --red: #e5484d;
  --green: #3ecf8e;
  --amber: #f5a524;
  --violet: #8b5cf6;
  font-family: "DM Sans", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--bg); }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
.material-symbols-rounded { font-size: 21px; line-height: 1; }

.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark {
  position: relative; width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center; overflow: hidden; background: #f2f2f4; color: #111;
}
.brand-s { font-weight: 800; font-size: 19px; z-index: 2; }
.brand-mark i { position: absolute; width: 5px; height: 20px; background: #111; transform: rotate(32deg); opacity: .12; }
.brand-mark i:nth-of-type(1) { left: 5px; }.brand-mark i:nth-of-type(2) { left: 15px; }.brand-mark i:nth-of-type(3) { left: 25px; }
.brand strong { display: block; font-size: 15px; line-height: 1.1; }
.brand small { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .13em; }

.login-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(460px, 1.1fr) minmax(430px, .9fr); }
.login-visual {
  position: relative; overflow: hidden; padding: 54px 7vw; display: flex; flex-direction: column;
  justify-content: center; background: #0f1013;
}
.login-visual::before {
  content: ""; position: absolute; inset: 0; opacity: .55;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 42px 42px;
}
.mesh { position: absolute; border-radius: 50%; filter: blur(10px); opacity: .5; }
.mesh-a { width: 540px; height: 540px; left: -200px; top: -180px; background: radial-gradient(circle, #53241f 0, transparent 65%); }
.mesh-b { width: 660px; height: 660px; right: -260px; bottom: -280px; background: radial-gradient(circle, #292259 0, transparent 67%); }
.visual-copy { position: relative; z-index: 1; max-width: 620px; }
.brand-light { position: absolute; bottom: calc(100% + 110px); }
.eyebrow { margin: 0 0 17px; font-size: 11px; letter-spacing: .22em; color: #bc7b70; font-weight: 700; }
.visual-copy h1 { margin: 0; font-size: clamp(47px, 5vw, 76px); letter-spacing: -.055em; line-height: .98; }
.visual-copy h1 em { font-style: normal; color: #bc7b70; }
.visual-copy > p:last-child { max-width: 530px; color: #a7a7b0; font-size: 17px; line-height: 1.65; margin-top: 30px; }
.visual-status { position: absolute; left: 7vw; bottom: 50px; display: flex; align-items: center; gap: 8px; color: #777781; font-size: 12px; }
.visual-status .material-symbols-rounded { color: var(--green); font-size: 17px; }
.login-panel { display: grid; place-items: center; padding: 45px; background: #0b0b0d; }
.login-card { width: min(390px, 100%); }
.mobile-brand { display: none; }
.login-card h2 { margin: 0 0 8px; font-size: 34px; letter-spacing: -.035em; }
.muted { margin: 0 0 35px; color: var(--muted); line-height: 1.6; }
.login-card label { display: block; font-size: 12px; color: #c5c5cb; margin: 19px 0 0; font-weight: 600; }
.field {
  margin-top: 8px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line);
  background: #141417; border-radius: 11px; padding: 0 14px; transition: .2s;
}
.field:focus-within { border-color: #686875; box-shadow: 0 0 0 3px rgba(255,255,255,.04); }
.field .material-symbols-rounded { color: #6d6d77; font-size: 19px; }
.field input { width: 100%; height: 50px; border: 0; outline: 0; color: var(--text); background: transparent; }
.form-error { min-height: 20px; color: #ff777d; font-size: 12px; margin: 13px 0 0; }
.primary {
  width: 100%; height: 52px; margin-top: 8px; border: 0; border-radius: 11px; padding: 0 18px;
  display: flex; justify-content: space-between; align-items: center; cursor: pointer; color: #111;
  background: #f1f1f3; font-weight: 700; transition: transform .15s, opacity .15s;
}
.primary:hover { transform: translateY(-1px); }.primary:disabled { opacity: .5; }
.help { display: flex; justify-content: center; align-items: center; gap: 7px; color: #686872; font-size: 11px; margin-top: 28px; }
.help .material-symbols-rounded { font-size: 15px; }

.topbar {
  height: 72px; border-bottom: 1px solid var(--line); display: flex; align-items: center;
  justify-content: space-between; padding: 0 max(28px, calc((100vw - 1240px) / 2)); background: rgba(9,9,11,.88);
  backdrop-filter: blur(18px); position: sticky; top: 0; z-index: 10;
}
.topbar-right { display: flex; align-items: center; gap: 15px; }
.main-nav { display: flex; align-items: center; gap: 5px; margin-left: auto; margin-right: 24px; }
.main-nav a { height: 36px; padding: 0 12px; border-radius: 9px; display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11px; font-weight: 600; }
.main-nav a:hover,.main-nav a.active { background: #1c1c21; color: var(--text); }
.main-nav .material-symbols-rounded { font-size: 17px; }
.secure-pill { color: #85858f; display: flex; align-items: center; gap: 7px; font-size: 11px; }
.secure-pill .material-symbols-rounded { color: var(--green); font-size: 17px; }
.user-pill { display: flex; gap: 9px; align-items: center; padding-left: 15px; border-left: 1px solid var(--line); }
.user-pill > span { width: 32px; height: 32px; display: grid; place-items: center; background: #28282f; border-radius: 50%; font-size: 12px; font-weight: 700; }
.user-pill strong,.user-pill small { display: block; font-size: 11px; }.user-pill small { color: var(--muted); margin-top: 2px; }
.icon-button,.refresh-button,.admin-actions button,.logs-panel button { color: #9b9ba5; background: transparent; border: 0; cursor: pointer; }
.content { max-width: 1240px; margin: auto; padding: 58px 28px 30px; }
.hero {
  min-height: 260px; position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center;
  border: 1px solid #26262c; border-radius: 22px; padding: 48px 55px; background:
  radial-gradient(circle at 80% 50%, rgba(139,92,246,.14), transparent 28%), linear-gradient(120deg,#141418,#101012);
}
.hero::after { content: ""; position: absolute; width: 460px; height: 460px; border: 1px solid #2b2b32; border-radius: 50%; right: -80px; top: -100px; }
.hero h1 { font-size: clamp(36px,4vw,55px); margin: 0; line-height: 1.04; letter-spacing: -.045em; }
.hero p:last-child { color: var(--muted); margin: 18px 0 0; }
.hero-art { position: relative; z-index: 1; width: 200px; height: 160px; display: grid; place-items: center; }
.hero-art .material-symbols-rounded { font-size: 92px; color: #7362b5; font-variation-settings: "wght" 200; }
.hero-art span { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: #bc7b70; top: 15px; right: 20px; box-shadow: -140px 120px #3ecf8e; }
.section-head { display: flex; align-items: end; justify-content: space-between; margin: 46px 2px 20px; }
.section-head h2 { margin: 0; font-size: 22px; }.section-head p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.live { display: flex; align-items: center; gap: 7px; color: var(--green); font-size: 11px; }
.app-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.app-card {
  position: relative; min-height: 285px; padding: 25px; display: flex; flex-direction: column; border-radius: 17px;
  border: 1px solid var(--line); background: linear-gradient(150deg,#18181c,#111114); overflow: hidden; transition: .2s;
}
.app-card:hover { transform: translateY(-3px); border-color: #3c3c44; }
.app-card::before { content: ""; position: absolute; width: 140px; height: 140px; right: -60px; top: -60px; border-radius: 50%; background: var(--accent); filter: blur(45px); opacity: .1; }
.accent-red { --accent: var(--red); }.accent-green { --accent: var(--green); }.accent-amber { --accent: var(--amber); }.accent-violet { --accent: var(--violet); }
.app-icon { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; color: var(--accent); background: color-mix(in srgb,var(--accent) 13%,transparent); }
.app-icon .material-symbols-rounded { font-size: 26px; }
.status-chip { display: inline-flex; align-items: center; gap: 6px; color: #b1b1ba; font-size: 10px; }
.app-card > .status-chip { position: absolute; right: 21px; top: 25px; }
.status-chip i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-chip.ok { color: var(--green); }.status-chip.bad { color: var(--red); }.status-chip.warn { color: var(--amber); }.status-chip.neutral { color: #74747e; }
.app-copy { margin-top: auto; }.app-copy h3 { margin: 0; font-size: 20px; }.app-copy p { min-height: 40px; color: var(--muted); font-size: 12px; line-height: 1.55; margin: 10px 0 21px; }
.open-app { display: flex; justify-content: space-between; align-items: center; padding-top: 17px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 600; }
.open-app .material-symbols-rounded { font-size: 18px; }.open-app.disabled { color: #5e5e67; pointer-events: none; }
footer { text-align: center; color: #55555e; font-size: 10px; padding: 54px 0 18px; }

.control-content { max-width: 1100px; margin: auto; padding: 52px 28px; }
.control-heading { display: flex; justify-content: space-between; align-items: end; }.control-heading h1 { margin: 0; font-size: 36px; letter-spacing: -.035em; }.control-heading p:last-child { color: var(--muted); margin-bottom: 0; }
.refresh-button { border: 1px solid var(--line); border-radius: 9px; padding: 10px 14px; display: flex; align-items: center; gap: 7px; }
.stats-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 35px; }
.stats-grid article { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); padding: 20px; display: flex; gap: 14px; align-items: center; }
.stats-grid article > span { color: #777782; }.stats-grid article div { flex: 1; }
.stats-grid small,.stats-grid strong,.stats-grid em { display: block; }.stats-grid small { color: var(--muted); font-size: 10px; }.stats-grid strong { font-size: 14px; margin: 5px 0 8px; }.stats-grid em { color: var(--muted); font-size: 10px; font-style: normal; }
.progress { height: 3px; border-radius: 3px; overflow: hidden; background: #29292f; }.progress i { display: block; height: 100%; background: #777782; }
.admin-list { display: grid; gap: 9px; }
.admin-card { display: grid; grid-template-columns: 45px 1fr 100px auto; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 13px; background: var(--panel); padding: 15px 17px; }
.admin-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; background: color-mix(in srgb,var(--accent) 12%,transparent); color: var(--accent); }
.admin-title h3 { font-size: 14px; margin: 0 0 5px; }.admin-title p { margin: 0; font-size: 10px; color: var(--muted); }.admin-title .status-chip { margin-right: 8px; }
.admin-memory { font-size: 12px; text-align: right; }.admin-memory small { display: block; color: var(--muted); font-size: 9px; margin-top: 2px; }
.admin-actions { display: flex; gap: 3px; }.admin-actions button { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; }.admin-actions button:hover { background: #25252b; color: white; }.admin-actions button.danger:hover { color: var(--red); }
.logs-panel { margin-top: 20px; border: 1px solid var(--line); border-radius: 14px; background: #08080a; overflow: hidden; }.logs-panel.hidden { display: none; }.logs-panel > div { padding: 12px 16px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; }.logs-panel h3 { font-size: 12px; margin: 0; }.logs-panel pre { margin: 0; padding: 17px; max-height: 380px; overflow: auto; color: #9ca3af; font: 11px/1.6 ui-monospace,monospace; }
.secrets-card { margin-top: 4px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); padding: 20px; display: grid; gap: 16px; }
.secret-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.secrets-card label { display: grid; gap: 7px; color: #c5c5cb; font-size: 11px; font-weight: 600; }
.secrets-card label span { color: var(--muted); font-weight: 500; }
.secrets-card small { color: var(--muted); font-size: 10px; font-weight: 500; }
.secrets-card input { height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 9px; outline: 0; background: #0d0d10; color: white; }
.secrets-card input:focus { border-color: #676773; }
.secrets-card footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.secrets-card footer p { margin: 0; color: var(--muted); font-size: 10px; }

.files-layout { min-height: calc(100vh - 72px); display: grid; grid-template-columns: 260px minmax(0,1fr); }
.file-sidebar { border-right: 1px solid var(--line); padding: 25px 15px; background: #0c0c0f; }
.sidebar-heading { display: flex; align-items: center; gap: 10px; padding: 0 9px 24px; border-bottom: 1px solid var(--line); }
.sidebar-heading > span { width: 34px; height: 34px; display: grid; place-items: center; color: #a78bfa; border-radius: 9px; background: rgba(139,92,246,.13); }
.sidebar-heading strong,.sidebar-heading small { display: block; }.sidebar-heading strong { font-size: 12px; }.sidebar-heading small { color: var(--muted); font-size: 9px; margin-top: 3px; }
.file-sidebar section { margin-top: 24px; }.file-sidebar section h3 { margin: 0 9px 7px; color: #686873; font-size: 9px; text-transform: uppercase; letter-spacing: .14em; }
.file-sidebar section button,.trash-link { width: 100%; min-height: 38px; padding: 0 10px; border: 0; border-radius: 8px; display: flex; align-items: center; gap: 9px; text-align: left; background: transparent; color: #9999a3; font-size: 11px; cursor: pointer; }
.file-sidebar section button:hover,.file-sidebar section button.active,.trash-link:hover { color: white; background: #1a1a1f; }
.file-sidebar section button.active { box-shadow: inset 2px 0 #8b5cf6; }.file-sidebar section button .material-symbols-rounded,.trash-link .material-symbols-rounded { font-size: 18px; }
.trash-link { margin-top: 24px; border-top: 1px solid var(--line); border-radius: 0; padding-top: 19px; }
.file-workspace { min-width: 0; padding: 35px clamp(20px,4vw,52px) 55px; }
.files-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.files-heading h1 { margin: 0; font-size: 30px; letter-spacing: -.035em; }
.physical-path { max-width: 720px; margin: 9px 0 0; color: #777781; display: flex; align-items: center; gap: 5px; font: 10px/1.5 ui-monospace,monospace; overflow-wrap: anywhere; }
.physical-path .material-symbols-rounded { font-size: 14px; color: #8b5cf6; }
.file-heading-actions { display: flex; gap: 8px; }.file-heading-actions button,.upload-button { height: 39px; padding: 0 13px; border: 1px solid var(--line); border-radius: 9px; display: flex; align-items: center; gap: 7px; color: #d2d2d7; background: #17171b; font-size: 11px; cursor: pointer; }
.file-heading-actions button:hover,.upload-button:hover { border-color: #464650; background: #202025; }.file-heading-actions .material-symbols-rounded,.upload-button .material-symbols-rounded { font-size: 18px; }
.upload-button { color: #111; border-color: #ededf0; background: #ededf0; font-weight: 700; }.upload-button:hover { background: white; color: #111; }.upload-button input { display: none; }
.upload-progress { margin-top: 20px; display: grid; grid-template-columns: auto 1fr 35px; gap: 12px; align-items: center; padding: 12px 15px; border: 1px solid #33453d; border-radius: 10px; background: rgba(62,207,142,.06); color: #b9d9ca; font-size: 10px; }
.upload-progress.hidden { display: none; }.upload-progress > div { height: 4px; overflow: hidden; border-radius: 5px; background: #26312c; }.upload-progress i { display: block; width: 0; height: 100%; background: var(--green); transition: width .1s; }
.file-toolbar { min-height: 53px; margin-top: 27px; border: 1px solid var(--line); border-radius: 11px 11px 0 0; padding: 8px 10px; display: flex; align-items: center; justify-content: space-between; gap: 14px; background: #121215; }
.breadcrumbs { display: flex; align-items: center; min-width: 0; overflow: auto; white-space: nowrap; }.breadcrumbs > .material-symbols-rounded { color: #4d4d56; font-size: 15px; }.breadcrumbs button { border: 0; padding: 6px; background: transparent; color: #a2a2ab; display: flex; align-items: center; gap: 5px; font-size: 10px; cursor: pointer; }.breadcrumbs button:hover { color: white; }.breadcrumbs button .material-symbols-rounded { font-size: 16px; }
.file-tools { display: flex; align-items: center; gap: 5px; }.file-tools > button,.file-tools select { height: 32px; border: 1px solid var(--line); border-radius: 7px; background: #18181c; color: #aaaab3; cursor: pointer; }.file-tools > button { width: 33px; display: grid; place-items: center; }.file-tools > button:disabled { opacity: .3; cursor: default; }.file-tools > button:hover:not(:disabled) { color: white; border-color: #44444d; }.file-tools .material-symbols-rounded { font-size: 17px; }.file-tools select { padding: 0 25px 0 9px; font-size: 9px; }
.file-search { width: 190px; height: 32px; padding: 0 9px; border: 1px solid var(--line); border-radius: 7px; display: flex; align-items: center; gap: 6px; background: #18181c; }.file-search .material-symbols-rounded { color: #696974; }.file-search input { width: 100%; border: 0; outline: 0; background: transparent; color: white; font-size: 10px; }
.file-columns,.file-entry { display: grid; grid-template-columns: minmax(240px,1fr) 80px 85px 130px 130px; align-items: center; }
.file-columns { height: 34px; padding: 0 15px 0 48px; border: 1px solid var(--line); border-top: 0; color: #62626c; background: #0f0f12; font-size: 8px; text-transform: uppercase; letter-spacing: .1em; }
.file-list { border: 1px solid var(--line); border-top: 0; border-radius: 0 0 11px 11px; min-height: 230px; overflow: hidden; background: #101013; }
.file-entry { position: relative; min-height: 55px; padding: 0 13px 0 47px; border-bottom: 1px solid #222228; color: #8f8f99; font-size: 10px; transition: background .12s; }.file-entry:last-child { border-bottom: 0; }.file-entry:hover { background: #18181d; }
.file-select { position: absolute; left: 15px; top: 18px; }.file-select input { position: absolute; opacity: 0; }.file-select span { width: 15px; height: 15px; display: block; border: 1px solid #3b3b44; border-radius: 4px; }.file-select input:checked + span { border-color: #8b5cf6; background: #8b5cf6; box-shadow: inset 0 0 0 3px #18181d; }
.file-main { min-width: 0; border: 0; background: transparent; color: inherit; display: flex; align-items: center; gap: 10px; text-align: left; cursor: pointer; }.file-type-icon { width: 31px; height: 31px; flex: 0 0 auto; border-radius: 7px; display: grid; place-items: center; color: #9f8bd7; background: rgba(139,92,246,.09); }.file-entry.file .file-type-icon { color: #7f99b4; background: rgba(90,140,190,.08); }.file-type-icon .material-symbols-rounded { font-size: 19px; }
.file-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #d7d7dc; font-size: 11px; font-weight: 500; }.file-name small { display: flex; align-items: center; gap: 3px; margin-top: 2px; color: #74747d; font-size: 8px; }.file-name small .material-symbols-rounded { font-size: 10px; }
.file-actions { display: flex; justify-content: flex-end; gap: 2px; opacity: 0; }.file-entry:hover .file-actions { opacity: 1; }.file-actions button,.file-actions a { width: 28px; height: 28px; border: 0; border-radius: 6px; display: grid; place-items: center; background: transparent; color: #85858f; cursor: pointer; }.file-actions button:hover,.file-actions a:hover { background: #292930; color: white; }.file-actions .danger:hover { color: var(--red); }.file-actions .material-symbols-rounded { font-size: 16px; }
.empty-files { min-height: 230px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #575761; }.empty-files > .material-symbols-rounded { font-size: 37px; }.empty-files h3 { margin: 10px 0 3px; color: #9999a2; font-size: 12px; }.empty-files p { margin: 0; font-size: 9px; }
.file-list.grid-view { padding: 13px; display: grid; grid-template-columns: repeat(auto-fill,minmax(155px,1fr)); gap: 8px; }.grid-view .file-entry { min-height: 145px; padding: 20px 10px 10px; display: flex; flex-direction: column; justify-content: center; border: 1px solid #25252b; border-radius: 10px; }.grid-view .file-select { left: 10px; top: 10px; }.grid-view .file-main { flex-direction: column; text-align: center; }.grid-view .file-type-icon { width: 55px; height: 55px; }.grid-view .file-type-icon .material-symbols-rounded { font-size: 32px; }.grid-view .file-kind,.grid-view .file-size,.grid-view time { display: none; }.grid-view .file-actions { position: absolute; right: 6px; bottom: 6px; }.grid-view .file-actions [data-rename],.grid-view .file-actions [data-route] { display: none; }
.modal-backdrop { position: fixed; inset: 0; z-index: 50; padding: 25px; display: grid; place-items: center; background: rgba(0,0,0,.72); backdrop-filter: blur(7px); }
.file-modal { width: min(520px,100%); max-height: calc(100vh - 50px); overflow: auto; border: 1px solid #33333b; border-radius: 15px; background: #131316; box-shadow: 0 25px 90px rgba(0,0,0,.55); }
.file-modal > header { min-height: 60px; padding: 13px 17px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }.file-modal > header > div { display: flex; align-items: center; gap: 9px; }.file-modal h2 { max-width: 400px; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }.file-modal > header button { border: 0; background: transparent; color: #777781; cursor: pointer; }
.file-modal form { padding: 20px; }.file-modal form label { display: grid; gap: 7px; margin-bottom: 14px; color: #aaaab3; font-size: 10px; }.file-modal form input,.file-modal form select,.file-modal form textarea { padding: 0 11px; border: 1px solid var(--line); border-radius: 8px; outline: 0; background: #0d0d10; color: white; }.file-modal form input,.file-modal form select { height: 42px; }.file-modal form textarea { padding-top: 11px; resize: vertical; font: 11px/1.5 ui-monospace,monospace; }.file-modal form input:focus,.file-modal form select:focus,.file-modal form textarea:focus { border-color: #676773; }
.file-modal footer { padding: 14px 18px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: flex-end; gap: 8px; }.file-modal form footer { margin: 20px -20px -20px; }.file-modal footer button,.file-modal footer a { min-height: 36px; padding: 0 13px; border: 1px solid var(--line); border-radius: 8px; display: flex; align-items: center; gap: 6px; background: transparent; color: #aaaab3; cursor: pointer; font-size: 10px; }.file-modal footer .primary-action { color: #111; border-color: white; background: white; font-weight: 700; }
.file-modal footer .danger-action { color: #ff8b90; border-color: rgba(229,72,77,.35); background: rgba(229,72,77,.08); }
.modal-note { margin: 0 0 18px; padding: 10px 12px; border-radius: 8px; color: #a9b7af; background: rgba(62,207,142,.07); font-size: 10px; line-height: 1.5; }
.preview-stage { min-height: 310px; max-height: 65vh; padding: 15px; display: grid; place-items: center; background: #09090b; }.preview-stage img { max-width: 100%; max-height: 60vh; object-fit: contain; }.preview-stage iframe { width: 100%; height: 58vh; border: 0; background: white; }.preview-stage .text-preview { background: #f7f7f7; }
.trash-items { max-height: 55vh; overflow: auto; padding: 8px; }.trash-items > p { padding: 35px; color: var(--muted); text-align: center; font-size: 11px; }.trash-items article { min-height: 56px; padding: 10px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }.trash-items strong,.trash-items small { display: block; }.trash-items strong { max-width: 360px; overflow: hidden; text-overflow: ellipsis; font-size: 10px; }.trash-items small { margin-top: 4px; color: var(--muted); font-size: 8px; }.trash-items button { border: 1px solid var(--line); border-radius: 7px; padding: 7px 9px; display: flex; align-items: center; gap: 5px; color: #aaaab3; background: #1b1b20; cursor: pointer; font-size: 9px; }

@media (max-width: 980px) {
  .app-grid { grid-template-columns: repeat(2,1fr); }
  .login-shell { grid-template-columns: 1fr; }.login-visual { display: none; }.mobile-brand { display: flex; margin-bottom: 75px; }
  .files-layout { grid-template-columns: 205px minmax(0,1fr); }.file-columns,.file-entry { grid-template-columns: minmax(190px,1fr) 70px 80px 120px; }.file-columns span:nth-child(4),.file-entry time { display: none; }.file-columns { padding-left: 44px; }.file-search { width: 145px; }
}
@media (max-width: 680px) {
  .topbar { padding: 0 16px; }.secure-pill,.user-pill div,.main-nav a span:not(.material-symbols-rounded) { display: none; }.main-nav { margin: 0 4px 0 auto; }.main-nav a { padding: 0 8px; }.content,.control-content { padding: 30px 16px; }
  .hero { padding: 35px 27px; min-height: 240px; }.hero-art { display: none; }.app-grid,.stats-grid { grid-template-columns: 1fr; }
  .login-panel { padding: 28px; }.admin-card { grid-template-columns: 42px 1fr auto; }.admin-memory { display: none; }.admin-actions { grid-column: 2 / 4; }
  .secret-row,.secrets-card footer { grid-template-columns: 1fr; display: grid; }
  .files-layout { display: block; }.file-sidebar { border: 0; border-bottom: 1px solid var(--line); padding: 12px; overflow-x: auto; display: flex; gap: 6px; }.sidebar-heading,.file-sidebar section h3,.trash-link { display: none; }.file-sidebar section { margin: 0; display: flex; gap: 5px; }.file-sidebar section button { width: auto; white-space: nowrap; }.file-workspace { padding: 25px 13px; }.files-heading { align-items: flex-start; flex-direction: column; }.file-heading-actions { width: 100%; }.file-heading-actions button,.upload-button { flex: 1; justify-content: center; }.file-toolbar { align-items: stretch; flex-direction: column; }.file-tools { overflow-x: auto; }.file-search { flex: 1; min-width: 135px; }.file-columns { display: none; }.file-entry { grid-template-columns: minmax(150px,1fr) 65px; padding-right: 8px; }.file-entry .file-kind,.file-entry .file-size,.file-entry time { display: none; }.file-actions { opacity: 1; }.file-actions [data-route],.file-actions [data-rename] { display: none; }
}
