:root {
  color-scheme: dark;
  --black: #090909;
  --white: #f4f4f4;
  --line: #292929;
  --muted: #777;
  --mono: "Cascadia Code", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-family: var(--mono);
  background: var(--black);
  color: var(--white);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--black); }
.portfolio-page { position: relative; isolation: isolate; }
.portfolio-atmosphere { position: absolute; z-index: -1; inset: 0; overflow: hidden; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px); background-size: 72px 72px; }
.portfolio-atmosphere::before { content: ""; position: absolute; width: min(76vw, 980px); aspect-ratio: 1; top: 120px; right: -26vw; border: 1px solid rgba(255,255,255,.045); border-radius: 50%; box-shadow: 0 0 0 44px rgba(0,0,0,0), 0 0 0 45px rgba(255,255,255,.035), 0 0 0 112px rgba(0,0,0,0), 0 0 0 113px rgba(255,255,255,.025); }
.atmosphere-rail { position: fixed; z-index: 1; top: 50%; left: 15px; display: flex; flex-direction: column; align-items: center; gap: 13px; color: rgba(255,255,255,.2); font-size: 7px; letter-spacing: .08em; pointer-events: none; transform: translateY(-50%); }
.atmosphere-rail > span[data-rail-scene] { transition: color .25s, transform .25s; }
.atmosphere-rail > span[data-rail-scene].is-active { color: rgba(255,255,255,.75); transform: scale(1.15); }
.rail-label, .rail-caption { color: rgba(255,255,255,.12); font-size: 6px; writing-mode: vertical-rl; }
.rail-label { margin-bottom: 2px; }
.rail-caption { margin-top: 3px; }
.atmosphere-rail::before { content: ""; position: absolute; top: 35px; bottom: 35px; left: 50%; z-index: -1; width: 1px; background: rgba(255,255,255,.09); }
.atmosphere-scene { position: fixed; top: 50%; left: clamp(24px, 4vw, 64px); right: auto; width: min(27vw, 340px); opacity: 0; transform: translate3d(0, calc(-50% + 8px), 0); transition: opacity .35s ease, transform .35s ease; }
.atmosphere-scene.is-active { opacity: 1; transform: translate3d(0, -50%, 0); }
.atmosphere-label, .atmosphere-data { color: rgba(255,255,255,.15); font-size: 8px; letter-spacing: .14em; }
.atmosphere-label { display: block; margin: 0 0 18px; }
.atmosphere-art { margin: 0; color: rgba(255,255,255,.14); font: 10px/1.65 var(--mono); letter-spacing: .08em; white-space: pre; }
.atmosphere-data { display: block; margin-top: 22px; color: rgba(255,255,255,.1); font: 8px/1.8 var(--mono); white-space: pre; }
.atmosphere-scene[data-scene="archive"] { left: clamp(36px, 6vw, 88px); }
.atmosphere-scene[data-scene="practice"] { left: clamp(20px, 3vw, 48px); }
.atmosphere-scene[data-scene="contact"] { left: clamp(40px, 7vw, 104px); }
.portfolio-page .page-frame { position: relative; z-index: 0; }
a { color: inherit; text-decoration: none; }
.page-frame { width: min(1440px, 100%); margin: 0 auto; padding: 0 54px; }
.topbar { height: 72px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); font-size: 10px; letter-spacing: .12em; }
.wordmark { font: 700 22px var(--mono); letter-spacing: -.12em; }
.wordmark span, .topbar-label span { color: var(--muted); }
.topbar-nav { display: flex; align-items: center; gap: 20px; }
.topbar-nav > a { color: #aaa; font-size: 9px; }
.topbar-nav > a:hover, .topbar-nav > a[aria-current="page"] { color: var(--white); }
.topbar-link { border: 1px solid var(--line); padding: 10px 13px; transition: background .2s, color .2s; }
.topbar-nav button.topbar-link { background: transparent; color: var(--white); font: inherit; cursor: pointer; }
.topbar-link:hover { background: var(--white); color: var(--black); }
.hero { min-height: 590px; display: flex; flex-direction: column; justify-content: center; border-bottom: 1px solid var(--line); padding: 54px 0 28px; }
.hero-meta, .hero-bottom { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 10px; letter-spacing: .12em; }
.status { color: var(--white); display: inline-flex; align-items: center; gap: 9px; }
.status i { width: 7px; height: 7px; display: inline-block; background: var(--white); border-radius: 50%; }
.status.offline i { background: var(--muted); }
.ascii-wrap { overflow: hidden; margin: 60px 0 34px; }
.ascii { margin: 0; font: 700 clamp(7px, 1.29vw, 17px)/1.16 var(--mono); letter-spacing: -.035em; white-space: pre; color: var(--white); }
.hero-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.hero h1 { font-size: clamp(36px, 7vw, 88px); line-height: .95; letter-spacing: -.085em; margin: 0; font-weight: 800; }
.hero h1 span { color: var(--muted); }
.hero-title-row p { font-size: 10px; line-height: 1.8; letter-spacing: .08em; color: var(--muted); margin: 0 0 5px; text-align: right; }
.hero-bottom { margin-top: 52px; }
.hero-bottom a { color: var(--white); }
.hero-bottom a span { padding-left: 8px; }
.section-grid { display: grid; grid-template-columns: 1fr 3fr; border-bottom: 1px solid var(--line); }
.section-index { padding-top: 7px; color: var(--muted); font-size: 10px; letter-spacing: .1em; }
.intro { padding: 84px 0 80px; }
h2 { margin: 0; font-size: clamp(28px, 4vw, 48px); line-height: 1.08; letter-spacing: -.07em; }
.period { color: var(--muted); }
.intro-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: 38px 0 52px; max-width: 780px; }
.intro-copy p { margin: 0; }
.lead { font-size: clamp(18px, 2.2vw, 25px); line-height: 1.5; letter-spacing: -.04em; }
.lead span { text-decoration: underline; text-underline-offset: 5px; }
.muted { color: var(--muted); font-size: 12px; line-height: 1.9; }
.spec-line { display: flex; flex-wrap: wrap; gap: 28px; color: var(--muted); font-size: 9px; letter-spacing: .1em; }
.spec-line span:first-child { color: var(--white); }
.stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 0 24px; max-width: 780px; }
.stat { display: flex; flex-direction: column; gap: 8px; padding: 17px 14px 17px 0; }
.stat + .stat { border-left: 1px solid var(--line); padding-left: 20px; }
.stat strong { font-size: clamp(25px, 4vw, 38px); letter-spacing: -.08em; }
.stat strong span { color: var(--muted); }
.stat > span { color: var(--muted); font-size: 8px; letter-spacing: .1em; }
.work { padding: 80px 0 90px; border-bottom: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: 1fr 3fr; align-items: end; margin-bottom: 36px; }
.section-heading .section-index { grid-column: 1; grid-row: 1 / span 2; }
.section-heading h2 { grid-column: 2; }
.section-heading > p { grid-column: 2; margin: 10px 0 0; color: var(--muted); font-size: 9px; letter-spacing: .12em; }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.project { min-width: 0; border: 1px solid var(--line); }
.project-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.15fr 1fr; }
.project-art { min-height: 205px; position: relative; display: grid; place-items: center; overflow: hidden; background-color: #0d0d0d; }
.art-one { background-image: linear-gradient(90deg, transparent 49.8%, #252525 50%, transparent 50.2%), linear-gradient(#1b1b1b 1px, transparent 1px), linear-gradient(90deg, #1b1b1b 1px, transparent 1px); background-size: 100% 100%, 38px 38px, 38px 38px; }
.art-two { background: repeating-linear-gradient(135deg, #111 0, #111 1px, #090909 1px, #090909 13px); }
.art-three { background: radial-gradient(ellipse at center, #222 0, #111 26%, #090909 70%); }
.art-cross { color: #aaa; font-size: 40px; font-weight: 200; }
.art-glyph { font-size: clamp(28px, 6vw, 66px); font-weight: 700; letter-spacing: -.12em; color: #ddd; }
.art-label, .art-coord { position: absolute; color: var(--muted); font-size: 9px; letter-spacing: .12em; }
.art-label { left: 16px; bottom: 14px; }
.art-coord { right: 16px; top: 14px; text-align: right; line-height: 1.6; }
.project-info { padding: 22px 23px; }
.project-title { display: flex; align-items: baseline; gap: 12px; }
.project-title > span:first-child { color: var(--muted); font-size: 10px; }
.project-title h3 { margin: 0; font-size: 14px; letter-spacing: -.03em; }
.project-type { margin-left: auto; color: var(--muted); font-size: 9px; }
.project-info > p { color: var(--muted); font-size: 11px; line-height: 1.8; margin: 16px 0 22px; }
.project-collection { display: inline-flex; gap: 10px; border-bottom: 1px solid #777; padding-bottom: 6px; margin-bottom: 14px; font-size: 9px; letter-spacing: .08em; }
.project-collection:hover, .project-links a:hover { color: #aaa; }
.project-links { display: flex; flex-wrap: wrap; gap: 7px; margin: 4px 0 16px; }
.project-links a { border: 1px solid var(--line); padding: 7px 9px; color: #ccc; font-size: 9px; line-height: 1.2; }
.project-links a small { color: var(--muted); font-size: 8px; margin-left: 3px; }
.collaborations { margin-top: 70px; border-top: 1px solid var(--line); padding-top: 28px; }
.collaboration-heading { display: grid; grid-template-columns: 1.15fr 1fr; gap: 30px; align-items: end; margin-bottom: 22px; }
.collaboration-heading h3 { margin: 20px 0 0; font-size: clamp(18px, 2.5vw, 28px); letter-spacing: -.06em; }
.collaboration-heading > p, .collaboration-note { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.8; }
.collaboration-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.collaboration-card { min-height: 145px; display: flex; flex-direction: column; gap: 10px; padding: 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .2s, color .2s; }
.collaboration-card:hover { background: var(--white); color: var(--black); }
.collab-id, .collab-credit { color: var(--muted); font-size: 8px; letter-spacing: .08em; }
.collaboration-card strong { font-size: 16px; letter-spacing: -.04em; }
.collab-downloads { margin-top: auto; font-size: 12px; }
.collab-downloads small { color: var(--muted); font-size: 7px; letter-spacing: .08em; }
.collaboration-note { margin-top: 12px; font-size: 9px; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tags span { border: 1px solid var(--line); color: #aaa; font-size: 8px; letter-spacing: .08em; padding: 6px 8px; }
.experience { padding: 84px 0; border-bottom: 1px solid var(--line); }
.experience-content { max-width: 800px; }
.experience-content > .muted { max-width: 680px; margin: 24px 0 35px; }
.skill-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.skill-grid > div { min-height: 100px; padding: 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.skill-label { color: var(--muted); font-size: 8px; letter-spacing: .1em; }
.skill-grid p { margin: 12px 0 0; font-size: 11px; line-height: 1.8; }
.experience-note { color: var(--muted); font-size: 9px; letter-spacing: .08em; margin: 20px 0 0; }
.signal { padding: 84px 0; }
.signal-content { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.signal-content .muted { margin: 20px 0 0; }
.contact-link { min-width: 210px; border: 1px solid var(--line); padding: 17px 18px; display: flex; justify-content: space-between; align-items: center; font-size: 10px; letter-spacing: .08em; transition: background .2s, color .2s; }
.contact-link:hover { background: var(--white); color: var(--black); }
.contact-link b { font-size: 16px; font-weight: 400; }
.social-links { grid-column: 2; display: flex; flex-wrap: wrap; gap: 9px; margin-top: 35px; }
.social-links a { border: 1px solid var(--line); padding: 11px 12px; color: #bbb; font-size: 8px; letter-spacing: .08em; }
.social-links a:hover { color: var(--white); border-color: #777; }
.social-links span { margin-left: 8px; }
.footer { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 9px; letter-spacing: .08em; }
.footer a { color: var(--white); }
.auth-layout { min-height: calc(100vh - 146px); display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(240px, .7fr); align-items: center; gap: 70px; padding: 70px 0; }
.auth-panel { width: min(100%, 520px); }
.auth-panel h1, .dashboard-heading h1 { margin: 24px 0 14px; font-size: clamp(42px, 7vw, 76px); letter-spacing: -.09em; line-height: .98; }
.auth-panel > .muted { max-width: 420px; }
.login-form { display: flex; flex-direction: column; margin-top: 38px; }
.login-form > label:not(.remember-row), .admin-panel > label { margin: 0 0 8px; color: #aaa; font-size: 9px; letter-spacing: .1em; }
.login-form input:not([type="checkbox"]), .admin-panel input, .admin-panel select { width: 100%; height: 44px; margin: 0 0 23px; padding: 0 12px; border: 1px solid var(--line); border-radius: 0; outline: none; background: #0d0d0d; color: var(--white); font: 11px var(--mono); }
.login-form input:focus, .admin-panel input:focus, .admin-panel select:focus { border-color: #888; }
.remember-row { display: flex; align-items: center; gap: 9px; margin: 0 0 18px; color: var(--muted); font-size: 9px; }
.remember-row input, .permission-list input { accent-color: #ddd; }
.login-form button, .admin-panel button, .bot-actions button { min-height: 44px; border: 1px solid #555; border-radius: 0; background: transparent; color: var(--white); font: 10px var(--mono); letter-spacing: .08em; cursor: pointer; }
.login-form button { display: flex; justify-content: space-between; align-items: center; padding: 0 14px; }
.login-form button:hover, .admin-panel button:hover, .bot-actions button:hover:not(:disabled) { background: var(--white); color: var(--black); }
.login-form button:disabled, .admin-panel button:disabled, .bot-actions button:disabled { opacity: .45; cursor: wait; }
.discord-login { min-height: 44px; display: flex; align-items: center; justify-content: center; margin-top: 12px; border: 1px solid #555; color: var(--white); font-size: 10px; letter-spacing: .08em; }
.discord-login:hover { background: var(--white); color: var(--black); }
.discord-login[hidden] { display: none; }
.form-message { min-height: 18px; margin: 0 0 10px; color: #bbb; font-size: 10px; line-height: 1.6; }
.auth-foot { display: flex; justify-content: space-between; gap: 16px; margin-top: 38px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 8px; letter-spacing: .08em; }
.auth-foot a { color: var(--white); }
.auth-aside { border: 1px solid var(--line); padding: 24px; }
.auth-aside pre { margin: 0; color: #999; font: 10px/2 var(--mono); white-space: pre-wrap; }
.dashboard-main { min-height: calc(100vh - 146px); padding: 58px 0 80px; }
.dashboard-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.dashboard-heading h1 { margin: 17px 0 0; font-size: clamp(36px, 6vw, 64px); }
.session-label { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; font-size: 9px; letter-spacing: .08em; }
.session-label .status { color: #aaa; font-size: 8px; }
.session-label .status i { width: 6px; height: 6px; background: #aaa; }
.dashboard-message { min-height: 42px; padding: 14px 0; color: var(--muted); font-size: 9px; letter-spacing: .06em; }
.dashboard-section-heading { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; margin: 30px 0 14px; }
.dashboard-section-heading h2 { font-size: 14px; letter-spacing: -.02em; }
.dashboard-section-heading > span { color: var(--muted); font-size: 8px; letter-spacing: .08em; }
.bot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.bot-card, .admin-panel { min-width: 0; border: 1px solid var(--line); padding: 18px; }
.bot-card-top { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 8px; letter-spacing: .06em; }
.bot-card h3 { margin: 20px 0 8px; font-size: 18px; letter-spacing: -.04em; }
.bot-description { color: var(--muted); font-size: 10px; line-height: 1.7; }
.bot-state { text-align: right; }
.bot-permissions { display: flex; flex-wrap: wrap; gap: 6px; min-height: 25px; margin: 14px 0; }
.bot-permissions span { padding: 5px 7px; border: 1px solid var(--line); color: #aaa; font-size: 7px; letter-spacing: .06em; }
.bot-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.bot-actions button { min-height: 34px; padding: 0 9px; border-color: var(--line); font-size: 8px; }
.controller-card { display: flex; flex-direction: column; align-items: stretch; }
.controller-card h3 { min-height: 40px; }
.controller-link { display: inline-flex; min-height: 36px; align-items: center; justify-content: center; border: 1px solid var(--line); padding: 0 10px; color: var(--white); font: 8px var(--mono); letter-spacing: .07em; text-decoration: none; }
.controller-link:hover { background: var(--white); color: var(--black); }
.bot-detail { margin-top: 16px; }
.bot-detail .bot-actions { margin-top: 18px; }
.bot-config { max-width: 900px; }
.bot-config > .admin-hint { margin-bottom: 14px; }
.bot-config > form.admin-panel { display: flex; flex-direction: column; }
.bot-config > form.admin-panel select { width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 0; background: #0d0d0d; color: var(--white); font: 10px var(--mono); }
.bot-config > form.admin-panel input[type="file"] { height: auto; padding: 10px; }
.large-terminal { min-height: 55vh; max-height: 70vh; }
.empty-state { margin: 8px 0 24px; border: 1px dashed var(--line); padding: 38px 24px; text-align: center; }
.empty-mark { color: var(--muted); font-size: 20px; }
.empty-state h2 { margin: 18px 0 10px; font-size: 15px; }
.empty-state p { max-width: 460px; margin: 0 auto; color: var(--muted); font-size: 10px; line-height: 1.8; }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.admin-panel h3 { margin: 18px 0 22px; font-size: 17px; }
.admin-panel > label span { color: var(--muted); }
.admin-panel textarea { width: 100%; min-height: 170px; margin: 0 0 18px; padding: 12px; border: 1px solid var(--line); border-radius: 0; outline: none; background: #0d0d0d; color: var(--white); font: 10px/1.7 var(--mono); resize: vertical; }
.admin-panel textarea:focus, .admin-panel select:focus { border-color: #888; }
.terminal-output { max-height: 430px; min-height: 240px; overflow: auto; margin: 18px 0 14px; padding: 12px; border: 1px solid var(--line); background: #050505; color: #c7c7c7; font: 9px/1.65 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.media-preview { display: block; max-width: 100%; max-height: 240px; margin: 0 0 18px; border: 1px solid var(--line); object-fit: contain; }
.password-controls { display: grid; gap: 10px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.password-controls button { min-height: 40px; border: 1px solid #555; background: transparent; color: var(--white); font: 9px var(--mono); cursor: pointer; }
.password-controls button:hover:not(:disabled) { background: var(--white); color: var(--black); }
.password-controls button:disabled { opacity: .45; cursor: wait; }
.password-controls .admin-hint { white-space: pre-wrap; overflow-wrap: anywhere; }
.admin-panel select { margin-bottom: 16px; }
.admin-panel > button { width: 100%; }
.admin-hint { margin: 12px 0 0; color: var(--muted); font-size: 9px; line-height: 1.7; }
.permission-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 3px 0 20px; }
.permission-list label { display: flex; align-items: center; gap: 7px; color: #bbb; font-size: 8px; }
.registered-heading { margin-top: 44px; }
.user-list { border-top: 1px solid var(--line); }
.user-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; align-items: center; padding: 13px 10px; border-bottom: 1px solid var(--line); font-size: 10px; }
.user-row > span { color: var(--muted); }
.user-row .user-role { text-align: right; font-size: 8px; letter-spacing: .08em; }

@media (max-width: 720px) {
  .portfolio-atmosphere { background-size: 48px 48px; }
  .portfolio-atmosphere::before { width: 116vw; top: 110px; right: -66vw; }
  .atmosphere-rail { display: none; }
  .atmosphere-scene, .atmosphere-scene[data-scene="archive"], .atmosphere-scene[data-scene="practice"], .atmosphere-scene[data-scene="contact"] { left: 10px; right: auto; width: auto; max-width: 40vw; }
  .atmosphere-label, .atmosphere-data { font-size: 7px; }
  .atmosphere-art { font-size: 8px; opacity: .75; }
  .atmosphere-data { margin-top: 14px; }
  .page-frame { padding: 0 20px; }
  .topbar { height: 62px; }
  .topbar-label { font-size: 8px; }
  .topbar-nav { gap: 9px; }
  .topbar-nav > a { font-size: 7px; }
  .topbar-link { padding: 8px; font-size: 8px; }
  .topbar-nav button.topbar-link { font-size: 7px; }
  .hero { min-height: 490px; padding-top: 42px; }
  .ascii-wrap { margin: 66px 0 35px; }
  .ascii { font-size: clamp(5px, 1.26vw, 9px); }
  .hero-title-row { align-items: flex-start; flex-direction: column; }
  .hero-title-row p { text-align: left; }
  .hero-bottom { margin-top: 40px; font-size: 8px; }
  .section-grid { grid-template-columns: 1fr; gap: 28px; }
  .intro, .signal { padding: 56px 0; }
  .intro-copy { grid-template-columns: 1fr; gap: 14px; margin: 26px 0 36px; }
  .stats-grid { margin-bottom: 20px; }
  .stat { padding-right: 8px; }
  .stat + .stat { padding-left: 10px; }
  .stat > span { font-size: 7px; }
  .section-heading { grid-template-columns: 1fr; gap: 26px; }
  .section-heading .section-index, .section-heading h2, .section-heading > p { grid-column: 1; grid-row: auto; }
  .project-grid { grid-template-columns: 1fr; }
  .project-wide { grid-column: auto; grid-template-columns: 1fr; }
  .project-art { min-height: 175px; }
  .collaborations { margin-top: 48px; }
  .collaboration-heading { grid-template-columns: 1fr; gap: 14px; }
  .collaboration-grid { grid-template-columns: 1fr 1fr; }
  .collaboration-card { min-height: 135px; padding: 12px; }
  .experience { padding: 56px 0; }
  .skill-grid { grid-template-columns: 1fr; }
  .signal-content { align-items: flex-start; flex-direction: column; }
  .contact-link { width: 100%; }
  .social-links { grid-column: 1; margin-top: 0; }
  .footer { padding: 20px 0; flex-wrap: wrap; font-size: 8px; }
  .auth-layout { min-height: auto; grid-template-columns: 1fr; gap: 32px; padding: 50px 0; }
  .auth-aside { display: none; }
  .auth-foot { flex-direction: column; }
  .dashboard-main { min-height: calc(100vh - 130px); padding-top: 38px; }
  .dashboard-heading { align-items: flex-start; flex-direction: column; }
  .session-label { align-items: flex-start; }
  .bot-grid, .admin-grid { grid-template-columns: 1fr; }
  .permission-list { grid-template-columns: 1fr; }
  .user-row { grid-template-columns: 1fr 1fr; }
  .user-row .user-role { grid-column: 1 / -1; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
