@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Noto+Kufi+Arabic:wght@400;500;600;700&family=JetBrains+Mono:wght@500&display=swap');

:root {
  --bg: #071711;
  --bg-raised: #0d241c;
  --surface: #f3efe5;
  --surface-soft: #e7e1d3;
  --surface-white: #fffdf7;
  --ink: #15211d;
  --muted: #6c7873;
  --line: #cfcbbd;
  --line-dark: #283a34;
  --emerald: #174d3d;
  --mint: #86d9ba;
  --lime: #dbef72;
  --amber: #ffc857;
  --coral: #f47a68;
  --blue: #3f68d5;
  --focus: #5e8cf2;
  --shadow: 0 24px 70px rgba(5, 20, 15, .14);
  --shadow-small: 0 12px 34px rgba(5, 20, 15, .10);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --radius: 12px;
  --font-ar: 'Noto Kufi Arabic', sans-serif;
  --font-latin: 'Manrope', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--surface-soft); font-family: var(--font-ar); direction: rtl; }
button, input, textarea, select { font: inherit; }
a { color: inherit; text-decoration: none; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img, svg, video { max-width: 100%; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
::selection { background: var(--amber); color: var(--bg); }

.skip-link { position: fixed; top: -70px; right: 18px; z-index: 1000; padding: 10px 16px; background: var(--amber); color: var(--bg); font-weight: 700; }
.skip-link:focus { top: 12px; }
.eyebrow { color: var(--blue); font: 500 11px/1.3 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }

.primary, .secondary {
  min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 1px solid transparent; border-radius: 8px; padding: 10px 18px; font-size: 13px; font-weight: 700;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s ease, border-color .18s ease;
}
.primary { background: var(--emerald); color: #fffdf5; box-shadow: 0 12px 26px rgba(23,77,61,.18); }
.primary:hover:not(:disabled) { background: #1d604d; transform: translateY(-2px); box-shadow: 0 16px 34px rgba(23,77,61,.24); }
.secondary { background: var(--surface-white); color: var(--ink); border-color: var(--line); }
.secondary:hover:not(:disabled) { border-color: var(--emerald); background: #fff; transform: translateY(-1px); }
.primary:disabled, .secondary:disabled { opacity: .48; cursor: not-allowed; box-shadow: none; }

.app-topbar {
  position: sticky; top: 0; z-index: 50; height: 70px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(18px, 4vw, 58px); border-bottom: 1px solid rgba(21,33,29,.14); background: rgba(243,239,229,.9);
  backdrop-filter: blur(18px) saturate(140%);
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-latin); font-size: 15px; font-weight: 700; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--emerald); color: var(--amber); font: 700 12px var(--font-latin); }
.nav-actions { display: flex; align-items: center; gap: 4px; }
.nav-actions a { min-width: 66px; height: 70px; display: grid; place-items: center; position: relative; color: var(--muted); font-size: 13px; font-weight: 600; }
.nav-actions a:after { content: ''; position: absolute; right: 14px; bottom: -1px; left: 14px; height: 3px; background: var(--emerald); transform: scaleX(0); transition: transform .2s var(--ease); }
.nav-actions a:hover, .nav-actions a.active { color: var(--ink); }
.nav-actions a:hover:after, .nav-actions a.active:after { transform: scaleX(1); }
.nav-avatar { min-width: 38px !important; width: 38px; height: 38px !important; margin-right: 12px; border: 1px solid var(--line-dark) !important; border-radius: 50%; background: var(--emerald); color: var(--amber) !important; }

.workspace-shell { width: min(1320px, 100%); margin: 0 auto; padding: 38px clamp(18px, 4vw, 52px) 72px; }
.workspace-heading, .creator-heading, .grading-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.workspace-heading h1, .creator-heading h1, .grading-heading h1 { margin: 7px 0 0; font-size: clamp(38px, 5vw, 68px); line-height: 1.05; letter-spacing: 0; }
.workspace-heading p { max-width: 520px; margin: 12px 0 0; color: var(--muted); line-height: 1.8; }
.workspace-action { height: 54px; min-width: 170px; justify-content: space-between; }
.workspace-action b { font: 500 16px var(--font-mono); }

.dashboard-board { display: grid; grid-template-columns: minmax(280px, 1.3fr) repeat(2, minmax(160px, .62fr)) minmax(250px, 1fr); gap: 12px; margin: 18px 0 50px; }
.metric-panel, .create-panel { min-height: 178px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,253,247,.94); padding: 18px; box-shadow: var(--shadow-small); }
.metric-panel { display: flex; flex-direction: column; }
.metric-label, .metric-panel small { color: var(--muted); font: 500 10px/1.5 var(--font-mono); }
.metric-panel strong { margin-top: auto; font-size: 36px; }
.metric-main { background: var(--emerald); color: #fffdf5; border-color: var(--emerald); }
.metric-main .metric-label, .metric-main small { color: #bfd2c9; }
.metric-main strong { font-size: 20px; }
.sync-line { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 11px; }
.sync-line i { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 14px rgba(134,217,186,.8); }
.create-panel { display: flex; flex-direction: column; justify-content: space-between; background: var(--amber); color: var(--bg); border: 1px solid var(--bg); box-shadow: 9px 9px 0 var(--emerald); }
.create-panel:hover { transform: translate(-3px,-3px); box-shadow: 14px 14px 0 var(--emerald); }
.create-panel-index { font: 500 10px var(--font-mono); }
.create-panel strong { max-width: 260px; font-size: 21px; line-height: 1.45; }
.create-panel b { color: var(--emerald); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 14px; }
.section-heading h2 { margin: 5px 0 0; font-size: 29px; }
.filter-control { height: 38px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.project-card { min-height: 220px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,253,247,.94); padding: 18px; box-shadow: var(--shadow-small); transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s ease; }
.project-card:hover { transform: translateY(-5px); border-color: #80928b; box-shadow: var(--shadow); }
.project-card-top { display: flex; justify-content: space-between; font: 500 9px var(--font-mono); }
.project-card-top i { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
.project-card small { margin-top: 42px; color: var(--muted); font: 500 10px var(--font-mono); }
.project-card h3 { margin: 7px 0 18px; font-size: 20px; line-height: 1.5; }
.project-open { width: 100%; margin-top: auto; justify-content: space-between; border: 0; border-top: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius); background: transparent; }
.project-open b { font: 500 16px var(--font-mono); }
.empty { grid-column: 1/-1; min-height: 210px; display: grid; place-items: center; align-content: center; gap: 12px; border: 1px dashed #9c9a8f; border-radius: var(--radius); background: rgba(255,253,247,.66); }
.empty-index { font: 500 9px var(--font-mono); }.empty strong { font-size: 20px; }

.creator-progress { direction: ltr; display: flex; align-items: center; gap: 10px; color: var(--muted); font: 500 10px var(--font-mono); }
.creator-progress i { width: 22px; height: 1px; background: var(--line); }
.creator-progress .active { color: var(--blue); }
.creator-layout { display: grid; grid-template-columns: 350px minmax(0, 1fr); gap: 14px; align-items: start; margin-top: 18px; }
.creator-controls { position: sticky; top: 88px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-white); box-shadow: var(--shadow-small); }
.control-section { padding: 18px; border-bottom: 1px solid var(--line); }
.control-section:last-child { border-bottom: 0; }
.control-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.control-heading > span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--emerald); color: var(--amber); font: 500 9px var(--font-mono); }
.control-heading div { display: grid; }.control-heading small { color: var(--muted); font: 500 9px var(--font-mono); }.control-heading strong { font-size: 17px; }
.creator-controls label, .grading-controls label { display: block; margin: 0 0 12px; color: #56615d; font-size: 11px; font-weight: 700; }
.creator-controls input:not([type='checkbox']):not([type='radio']), .creator-controls textarea, .grading-controls input:not([type='file']) { width: 100%; min-height: 42px; margin-top: 6px; border: 1px solid #bdb9aa; border-radius: 7px; background: #f8f5ec; padding: 9px 11px; color: var(--ink); }
.creator-controls input:focus, .creator-controls textarea:focus, .grading-controls input:focus { border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(134,217,186,.28); outline: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.creator-upload, .grading-upload { position: relative; min-height: 88px !important; display: flex !important; align-items: center; justify-content: center; gap: 12px; overflow: hidden; margin: 0 !important; border: 1px dashed #8fb4a6 !important; border-radius: 8px !important; background: var(--emerald) !important; color: #fff !important; }
.creator-upload input, .grading-upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-mark { color: var(--amber); font: 500 26px var(--font-mono); }.creator-upload small, .grading-upload small { display: block; color: #c8dcd4; font-size: 9px; }
.import-status { min-height: 18px; margin-top: 10px !important; }
.question-sources { display: grid; gap: 8px; margin-top: 10px; }
.question-source { display: grid; grid-template-columns: minmax(0, 1fr) 76px auto; align-items: center; gap: 8px; padding: 9px; border: 1px solid var(--line); border-radius: 7px; background: #f8f5ec; }
.question-source-info { display: grid; min-width: 0; gap: 3px; }
.question-source-info strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.question-source-info small { color: var(--muted); font-size: 9px; }
.question-source label { margin: 0 !important; font-size: 9px !important; }
.creator-controls .question-source input:not([type='checkbox']):not([type='radio']) { min-height: 32px; margin-top: 3px; padding: 5px 7px; }
.remove-question-source { border: 1px solid #bdb9aa; border-radius: 5px; background: transparent; padding: 6px; color: #8d4035; font-size: 9px; cursor: pointer; }
.source-allocation-total { margin: 8px 0 0 !important; font-size: 10px !important; }
.status-ok { color: #267257; font-weight: 700; }
.toggle-control { grid-template-columns: 42px 1fr; align-items: center; gap: 10px; min-height: 54px; margin: 4px 0 0 !important; }
.toggle-control input { position: absolute; opacity: 0; }.toggle-control > span { width: 38px; height: 22px; position: relative; border: 1px solid #a7aca7; border-radius: 20px; background: #dcdbd3; }.toggle-control > span:after { content: ''; position: absolute; top: 3px; right: 3px; width: 14px; height: 14px; border-radius: 50%; background: #75817d; transition: transform .18s var(--ease); }.toggle-control input:checked + span { background: #bce4d3; }.toggle-control input:checked + span:after { background: var(--emerald); transform: translateX(-16px); }.toggle-control div { display: grid; }.toggle-control strong { font-size: 11px; }.toggle-control small { color: var(--muted); font-size: 9px; }
.answer-mode { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 14px 0; padding: 8px; border: 1px solid var(--line); border-radius: 8px; }.answer-mode legend { font-size: 10px; }.answer-mode label { margin: 0 !important; }.answer-mode input { position: absolute; opacity: 0; }.answer-mode span { display: block; padding: 8px 5px; border: 1px solid transparent; border-radius: 6px; text-align: center; font-size: 10px; }.answer-mode input:checked + span { border-color: var(--emerald); background: #d9eee3; }
.generate-action { width: 100%; margin-top: 12px; }
.creator-preview { min-width: 0; }
.creator-preview-content { direction: ltr; display: grid; grid-template-columns: minmax(230px, .65fr) minmax(0, 1.35fr); gap: 12px; align-items: start; margin-top: 16px; }
.question-preview-column, .exam-model-preview { min-width: 0; direction: rtl; }
.question-preview-toggle { display: none; }
.creator-preview-head { position: sticky; top: 70px; z-index: 10; min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(231,225,211,.92); backdrop-filter: blur(16px); padding: 12px 16px; box-shadow: var(--shadow-small); }
.creator-preview-head h2 { margin: 3px 0 0; font-size: 19px; }.preview-actions { display: flex; gap: 8px; }.preview-actions button { min-height: 38px; }
.tabs { display: flex; gap: 6px; overflow-x: auto; margin: 12px 0; }.tabs:empty { display: none; }.tabs button { flex: 0 0 auto; min-height: 36px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface-white); padding: 7px 12px; }.tabs button.active { background: var(--emerald); color: #fff; }
.question-preview { min-height: 100px; margin: 0 0 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-white); box-shadow: var(--shadow-small); }
.question-preview-empty { min-height: 230px; display: grid; justify-items: center; align-content: center; gap: 8px; padding: 20px 16px; color: var(--muted); font-size: 13px; text-align: center; }
.question-preview-illustration { display: block; width: min(100%, 280px); height: 190px; object-fit: contain; }
.question-preview-empty strong { color: var(--ink); font-size: 15px; }
.question-preview-empty span { max-width: 240px; line-height: 1.7; }
.paper-stage { overflow: auto; min-height: 750px; border: 1px solid var(--line); border-radius: var(--radius); background: #d7d1c2; padding: 18px; background-image: linear-gradient(rgba(21,33,29,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(21,33,29,.04) 1px, transparent 1px); background-size: 18px 18px; }
.creator-paper { min-width: 660px; min-height: 700px; width: min(760px, calc(100% - 40px)); margin: 0 auto; border: 1px solid #aaa899; border-radius: 2px; background: #fff; box-shadow: 15px 18px 50px rgba(21,33,29,.16); }
.paper-empty { min-height: 700px; display: grid; place-items: center; align-content: center; gap: 8px; text-align: center; }.paper-empty span { color: var(--blue); font: 500 9px var(--font-mono); }.paper-empty strong { font-size: 22px; }.paper-empty p { max-width: 330px; color: var(--muted); }

.grading-heading { align-items: flex-end; }.grading-state { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; }.grading-state i { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 5px rgba(134,217,186,.18); }
.grading-layout { display: grid; grid-template-columns: 275px minmax(420px,1fr) 340px; gap: 14px; align-items: start; margin-top: 18px; }
.grading-controls, .camera-panel, .grading-result { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-white); box-shadow: var(--shadow-small); }
.grading-controls { padding: 18px; }.grading-upload { min-height: 78px !important; }.camera-head, .result-head { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding: 13px 16px; background: var(--surface); }.camera-head div { display: grid; }.camera-head strong, .result-head h2 { margin: 3px 0 0; font-size: 18px; }.camera-head > span { color: var(--blue); font: 500 9px var(--font-mono); }
.camera-frame { position: relative; aspect-ratio: 1.414; overflow: hidden; background: var(--bg); }.camera-frame video { display: none; width: 100%; height: 100%; object-fit: cover; }.camera-placeholder { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 8px; text-align: center; background: radial-gradient(circle, rgba(134,217,186,.12), transparent 42%); }.camera-placeholder span { color: var(--mint); font: 500 9px var(--font-mono); }.camera-placeholder strong { color: #fff; }.camera-active .camera-placeholder { display: none; }.camera-active video { display: block; }
.scan-target { position: absolute; inset: 11%; border: 1px solid rgba(255,200,87,.8); border-radius: 8px; }.camera-actions { display: grid; grid-template-columns: 1fr 1.35fr; gap: 8px; padding: 12px; }.camera-actions button { width: 100%; }
.grading-result { overflow: hidden; }.grade-result-content { min-height: 350px; padding: 14px; }.result-empty { min-height: 320px; display: grid; place-items: center; align-content: center; gap: 8px; text-align: center; }.result-empty span { color: var(--emerald); font: 500 28px var(--font-mono); }.result-empty p { max-width: 240px; color: var(--muted); font-size: 12px; }.export-control { min-height: 34px; border: 1px solid var(--emerald); border-radius: 6px; background: transparent; color: var(--emerald); }

.toast { position: fixed; inset: auto 20px 20px auto; z-index: 100; max-width: min(360px, calc(100vw - 40px)); opacity: 0; pointer-events: none; transform: translateY(18px); border: 1px solid var(--line-dark); border-radius: 8px; background: var(--emerald); color: #fff; padding: 12px 16px; box-shadow: var(--shadow); transition: .25s var(--ease); }.toast.show { opacity: 1; transform: none; }
.status-error { color: #a74335; }.status-ok { color: #267257; }

.login-page { min-height: 100vh; background: var(--bg); }
.login-shell { direction: ltr; min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(360px, .72fr); }
.login-visual { direction: rtl; position: relative; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; min-height: 100vh; padding: 30px clamp(24px, 6vw, 86px) 34px; border-left: 1px solid rgba(255,255,255,.12); background: radial-gradient(circle at 78% 18%, rgba(134,217,186,.13), transparent 30%), linear-gradient(135deg, #081711, #0d261d); }
.login-brand { display: flex; align-items: center; gap: 10px; color: #f6f2e8; font: 700 13px var(--font-latin); }.visual-copy { align-self: center; max-width: 760px; }.live-label { display: inline-flex; align-items: center; gap: 8px; color: var(--mint); font: 500 10px var(--font-mono); }.live-label i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 14px var(--mint); }.visual-copy h1 { max-width: 760px; margin: 22px 0 16px; color: #f8f4ea; font-size: clamp(52px, 6vw, 94px); line-height: .98; letter-spacing: 0; }.visual-copy h1 em { display: block; color: var(--amber); font-style: normal; }.visual-copy p { max-width: 590px; color: #b9c7c1; font-size: 16px; line-height: 1.9; }
.specimen { position: absolute; right: clamp(24px, 5vw, 76px); bottom: 128px; width: min(280px, 23vw); min-height: 340px; transform: rotate(-6deg); border: 1px solid #d8d2c2; background: #f8f5eb; padding: 16px 18px; box-shadow: 22px 28px 70px rgba(0,0,0,.28); }.specimen-head, .specimen-footer { display: flex; justify-content: space-between; font: 500 7px var(--font-mono); }.specimen-title { display: grid; gap: 5px; margin: 34px 0 20px; border-bottom: 2px solid var(--ink); padding-bottom: 10px; }.specimen-title small { font-size: 8px; color: var(--muted); }.specimen-grid { display: grid; grid-template-columns: 1fr 76px; gap: 12px; }.specimen-answer { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--ink); }.specimen-answer i { height: 18px; display: grid; place-items: center; border-left: 1px solid var(--ink); font: 500 7px var(--font-mono); }.specimen-answer i:last-child { border: 0; }.specimen-footer { position: absolute; right: 18px; bottom: 12px; left: 18px; border-top: 1px solid var(--line); padding-top: 8px; }
.login-process { direction: rtl; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); color: #9eb1aa; }.login-process span { position: relative; padding: 12px 9px; border-left: 1px solid rgba(255,255,255,.12); font-size: 10px; }.login-process b { float: left; color: #71877f; font: 500 8px var(--font-mono); }.login-process .active { color: var(--amber); }
.login-panel { direction: rtl; width: min(390px, calc(100% - 54px)); align-self: center; justify-self: center; border: 0; border-radius: var(--radius); background: var(--surface); padding: 44px 40px; box-shadow: var(--shadow); }.login-panel-index { margin-bottom: 48px; color: var(--muted); font: 500 9px var(--font-mono); }.login-panel h2 { margin: 8px 0 12px; font-size: 32px; }.login-panel p { color: var(--muted); line-height: 1.85; }.login-divider { display: flex; align-items: center; margin: 28px 0 14px; color: var(--muted); font: 500 9px var(--font-mono); }.login-divider:after { content: ''; flex: 1; height: 1px; margin-right: 10px; background: var(--line); }.google-button { min-height: 44px; display: flex; }.login-security { display: flex; justify-content: space-between; gap: 8px; margin-top: 24px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; }

[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .55s var(--ease), transform .55s var(--ease); }.is-visible { opacity: 1; transform: none; }

@media (max-width: 1120px) {
  .dashboard-board { grid-template-columns: repeat(2, 1fr); }.metric-main, .create-panel { grid-column: auto; }.creator-layout { grid-template-columns: 320px minmax(0,1fr); }.grading-layout { grid-template-columns: 260px minmax(380px,1fr); }.grading-result { grid-column: 1/-1; }.login-shell { grid-template-columns: minmax(0,1.25fr) 390px; }.specimen { width: 240px; }
}
@media (max-width: 760px) {
  .app-topbar { height: 64px; padding-inline: 12px; }.app-topbar .brand > span:last-child { display: none; }.app-topbar .nav-actions a { min-width: 52px; height: 64px; }.workspace-shell { padding: 26px 14px 56px; }.workspace-heading, .creator-heading, .grading-heading { align-items: flex-start; flex-direction: column; }.workspace-heading h1, .creator-heading h1, .grading-heading h1 { font-size: 42px; }.workspace-action { width: 100%; }.dashboard-board { grid-template-columns: 1fr 1fr; }.metric-main, .create-panel { grid-column: 1/-1; }.project-grid { grid-template-columns: 1fr; }.creator-layout, .grading-layout { grid-template-columns: 1fr; }.creator-controls { position: static; }.creator-preview-head { top: 64px; }.creator-controls { order: 1; }.creator-preview { order: 0; }.grading-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }.grading-controls .control-heading, .grading-controls .grading-upload { grid-column: 1/-1; }.grading-result { grid-column: auto; }.camera-actions { grid-template-columns: 1fr; }.login-shell { grid-template-columns: 1fr; }.login-visual { min-height: 590px; padding: 22px; }.visual-copy { align-self: start; margin-top: 90px; }.visual-copy h1 { font-size: 52px; }.specimen { width: 210px; min-height: 300px; bottom: 96px; }.login-panel { width: calc(100% - 28px); margin: -22px auto 28px; }.creator-progress { display: none; }
}
@media (max-width: 520px) {
  .workspace-heading h1, .creator-heading h1, .grading-heading h1 { font-size: 36px; }.dashboard-board { grid-template-columns: 1fr; }.metric-main, .create-panel { grid-column: auto; }.creator-preview-head { align-items: flex-start; flex-direction: column; }.preview-actions { width: 100%; }.preview-actions button { flex: 1; }.creator-paper { min-width: 540px; }.grading-controls { grid-template-columns: 1fr; }.grading-controls .control-heading, .grading-controls .grading-upload { grid-column: auto; }.login-visual { min-height: 560px; }.visual-copy h1 { font-size: 43px; }.visual-copy p { font-size: 14px; }.specimen { display: none; }.login-process { font-size: 9px; }.login-panel { padding: 34px 24px; }.login-security { flex-direction: column; }.nav-avatar { margin-right: 4px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } [data-reveal] { opacity: 1; transform: none; } }
