/* Nano Atlas Academic. Shared by web, Android/iOS web assets and public pages. */
:root { --brand-navy:#102c4d; --brand-blue:#245a92; --brand-copper:#c65305; --academic-orange:#c65305; --academic-tint:#fff2e6; --app-sidebar-width:240px; --radius-card:16px; --radius-control:12px; --app-action-bg:#163b61; --app-action-hover:#0e2847; --app-action-ink:#ffffff; }
html:not(.dark) { --app-bg:#f5f9fd; --app-canvas:#f5f9fd; --app-surface:#fff; --app-surface-subtle:#eef6fd; --app-ink:#102c4d; --app-muted:#536a80; --app-border:#ccddec; --app-border-strong:#afc8df; --app-primary:#163b61; --app-primary-hover:#0e2847; --app-accent:#c65305; --app-accent-soft:#fff2e6; }
html.dark { --academic-orange:#ffb56c; --academic-tint:#3b2d21; --app-border:#314b64; --app-surface-subtle:#192f45; --app-action-bg:#285a88; --app-action-hover:#326a9c; }
body .app-page { max-width:1360px; margin-inline:auto; padding:26px clamp(16px,2.2vw,32px) 34px; }
body .app-page :is(h1,h2,h3) { letter-spacing:0; text-wrap:pretty; }
body .app-page .page-title { font-size:clamp(1.55rem,2.1vw,2rem); font-weight:800; line-height:1.5; }
body :is(.surface-card,.study-panel,.pricing-card,.brand-public .card) { border-radius:16px; border:1px solid var(--app-border); box-shadow:0 3px 14px rgb(17 43 77 / .025); }
body .app-page :is(input:not([type=checkbox]):not([type=radio]),select,textarea) { border-radius:10px; border-color:var(--app-border); }
body :is(.app-button,.admin-report-button,.study-primary) { min-height:44px; border-radius:10px; }
body .app-button[data-variant=primary],body .study-primary { background:var(--app-action-bg); color:var(--app-action-ink); border-color:var(--app-action-bg); }
body .app-button[data-variant=primary]:hover:not(:disabled),body .study-primary:hover:not(:disabled) { background:var(--app-action-hover); border-color:var(--app-action-hover); }
body :is(button,a,input,select,textarea,summary):focus-visible { outline:3px solid #3283c9; outline-offset:3px; }
body :is(button,a) { -webkit-tap-highlight-color:transparent; }
body button:disabled { cursor:not-allowed; opacity:.5; }
/* Actions and full-page forms use the same tokens as the dashboard and dialogs.
   Link color is deliberately separate from the fill of a button in dark mode. */
body .atlas-action { min-height:44px; height:auto; border-radius:10px; background:var(--app-action-bg); color:var(--app-action-ink); font-weight:650; line-height:1.5; white-space:normal; overflow-wrap:anywhere; box-shadow:none; }
body .atlas-action:hover:not(:disabled) { background:var(--app-action-hover); }
body .atlas-action svg { flex-shrink:0; }
body .form-page { color:var(--app-ink); }
body .form-page h1 { font-size:clamp(1.55rem,2.1vw,2rem); line-height:1.5; font-weight:800; color:var(--app-ink); }
body :is(.form-page-card,.dialog-panel) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]),select,textarea) { max-width:100%; min-width:0; border-radius:10px; border-color:var(--app-border-strong); }
body :is(.app-page,.form-page) > header { gap:16px; }
body :is(.app-page,.form-page) > header > div { min-width:0; }
body :is(.app-page,.form-page,.dialog-panel) :is(h1,h2,h3) { overflow-wrap:anywhere; }
body .dialog-heading { border-color:var(--app-border); background:var(--app-surface-subtle); }
body .dialog-heading h3 { color:var(--app-ink); line-height:1.5; }
body .dialog-heading p { color:var(--app-muted); }
body .admin-report-controls { min-width:0; }
body .admin-responsive-table { border-color:var(--app-border); }
body .admin-responsive-table th { padding-block:14px; }
body .brand-info .info-body > .hero { background:linear-gradient(115deg,var(--app-surface-subtle),var(--app-surface)); color:var(--app-ink); border:1px solid var(--app-border); }
body .brand-info .hero :is(.intro,.revision) { color:var(--app-muted); }
body .app-sidebar { background:#102c4d; border-color:#26445f; }
body .sidebar-navigation { scrollbar-width:thin; scrollbar-color:#456780 transparent; padding-inline:14px; }
body .app-sidebar .sidebar-nav-link { border-radius:11px; min-height:44px; font-size:14px; padding:10px 12px; }
html body .app-sidebar .sidebar-nav-link[aria-current=page] { background:linear-gradient(110deg,#b74b05,#c65a08); color:#fff; box-shadow:0 3px 12px #081a3333; }
body .app-sidebar .sidebar-nav-link[aria-current=page]:before { display:none; }
body .app-sidebar .sidebar-brand { min-height:84px; padding-inline:20px; }
body .sidebar-brand-wordmark { font-size:20px; }
body .sidebar-group-title { color:#a7c8e2; font-size:11px; font-weight:500; padding-top:9px; padding-bottom:6px; }
body .sidebar-footer { border-top:1px solid #294662; padding:8px 14px; }
body .app-navbar { border-bottom:1px solid var(--app-border); box-shadow:none; background:var(--app-surface); }
body .app-navbar .header-wallet-topup { background:#c65305; }
body .academic-main-action { background:linear-gradient(105deg,#b74b05,#c65a08)!important; border-color:#b74b05!important; color:#fff!important; }
body .academic-main-action:hover { filter:brightness(.96); }
body .study-shortcuts { gap:8px; }
body .study-shortcuts a { border-radius:10px; background:var(--app-surface); }
body .study-shortcuts a:hover { border-color:var(--academic-orange); color:var(--academic-orange); }
body .student-dashboard { display:flex; flex-direction:column; gap:22px; }
body .student-dashboard > header { padding-bottom:0; border:0; }
body .student-dashboard > .academic-feature-grid { display:grid; grid-template-columns:minmax(0,1fr) 230px; gap:18px; order:0; align-items:stretch; }
body .student-dashboard > .student-overview { order:0; }
body .student-dashboard .student-primary-panel { display:flex; position:relative; min-height:218px; padding:24px; isolation:isolate; background:linear-gradient(115deg,var(--app-surface-subtle),var(--app-surface)); }
body .student-dashboard .student-primary-panel > div { position:relative; z-index:1; max-width:63%; }
body .student-dashboard .student-primary-panel .student-primary-icon { display:none; }
body .student-dashboard .student-primary-panel h2 { margin-block:8px 0; font-size:clamp(1.5rem,2vw,2rem); line-height:1.5; -webkit-line-clamp:2; }
body .student-dashboard .student-primary-description { font-size:.85rem; line-height:1.65; margin-top:7px; }
body .student-dashboard .student-primary-panel .atlas-study-art { position:absolute; inset-inline-end:12px; top:50%; transform:translateY(-50%); width:36%; max-width:250px; height:auto; z-index:0; }
body .student-dashboard .student-primary-button { border-radius:10px; background:#102c4d; color:#fff; min-height:44px; }
.atlas-eyebrow { display:inline-flex; align-items:center; gap:8px; font-size:.85rem; color:var(--app-muted); font-weight:600; }
.atlas-quick-actions { display:grid; grid-template-rows:repeat(3,1fr); gap:12px; }
.atlas-quick-actions > :is(a,button) { display:flex; align-items:center; justify-content:center; gap:12px; padding:12px 16px; min-height:52px; background:var(--app-surface); border:1px solid var(--app-border-strong); border-radius:11px; color:var(--app-ink); font-size:1.05rem; font-weight:750; }
.atlas-files-shortcut { display:inline-flex; align-items:center; gap:9px; min-height:44px; padding:8px 14px; color:var(--app-primary); border:1px solid var(--app-border); border-radius:10px; background:var(--app-surface); font-size:.85rem; }
body .metric-tile { border-radius:13px; min-height:86px; }
body .student-overview { grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
body .student-overview .metric-tile { justify-content:center; padding:15px; }
body .student-overview .metric-tile > span { background:transparent; color:var(--app-ink); width:38px; height:38px; }
body .student-overview .metric-tile > span svg { width:30px; height:30px; stroke-width:1.5; }
body .student-overview .metric-tile p[dir=ltr] { font-size:1.45rem; }
body .dashboard-metric-note { font-size:.75rem; margin-top:-6px; }
body .dashboard-metric-note summary { min-height:32px; padding-block:5px; }
.atlas-library .section-heading { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:12px; }
.atlas-subject-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.atlas-subject-card { display:flex; align-items:center; justify-content:space-between; min-width:0; min-height:145px; text-align:start; padding:16px; border-radius:14px; border:1px solid var(--app-border-strong); background:linear-gradient(130deg,var(--app-surface),var(--app-surface-subtle)); }
.atlas-subject-card > div { width:50%; min-width:0; }
body .atlas-subject-card h3 { font-size:1.15rem; line-height:1.55; font-weight:750; overflow-wrap:anywhere; }
.atlas-subject-card p { font-size:.75rem; color:var(--app-muted); margin-block:4px 12px; }
.atlas-subject-card .atlas-study-art { width:50%; flex-shrink:0; }
.atlas-subject-card:hover { border-color:var(--academic-orange); }
body .student-dashboard .academic-content-grid { grid-template-columns:minmax(0,1.25fr) minmax(0,1fr); gap:18px; }
body .student-dashboard .academic-content-grid > section.surface-card { padding:18px; }
body .student-dashboard .practice-row { padding:14px 16px; }
body .student-dashboard .practice-row h3 { font-size:.9rem; }
body .student-dashboard .practice-actions { gap:6px; }
body .student-dashboard .section-title { font-size:1.3rem; }
body .atlas-subject-library-card .atlas-study-art { width:120px; height:90px; max-width:none; }
body .atlas-subject-library-card a > div > div:first-child > div:first-child { width:126px; height:96px; border:0; background:transparent; }
body .atlas-subject-library-card { background:linear-gradient(135deg,var(--app-surface),var(--app-surface-subtle)); }
body .teacher-home-hero { border:1px solid var(--app-border); border-radius:16px; background:linear-gradient(110deg,var(--app-surface-subtle),var(--app-surface)); color:var(--app-ink); }
body .teacher-home-hero .page-title { color:var(--app-ink); }
body .teacher-home-hero button { background:#c65305!important; color:#fff!important; }
body .teacher-metrics .metric-tile { border-radius:0; }
.atlas-teacher-tools { display:flex; flex-wrap:wrap; gap:10px; }
.atlas-teacher-tools a { min-height:44px; padding:10px 18px; border:1px solid var(--app-border-strong); border-radius:10px; background:var(--app-surface); }
body .admin-report-button[aria-pressed=true] { background:var(--brand-navy); color:#fff; border-color:var(--brand-navy); }
body .admin-responsive-table :is(th,td) { vertical-align:middle; }
body .academic-settings { gap:20px; }
body .pricing-card { box-shadow:none; }
body .brand-public .home-hero { border-radius:20px; }
body .brand-public .card { border-color:var(--app-border); }
html:not(.dark) .brand-public { --ink:#102c4d; --blue:#245a92; --muted:#536a80; --line:#ccddec; --border:#ccddec; --soft:#eef6fd; --surface:#f5f9fd; --accent:#b74b05; --accent-soft:#fff2e6; }
html.dark .brand-public { --accent:#ffb56c; --accent-soft:#3b2d21; }
body .brand-public :is(.home-hero,.feature-hero) { background:linear-gradient(115deg,var(--app-surface-subtle),var(--app-surface)); color:var(--app-ink); border:1px solid var(--app-border); }
body .brand-public :is(.home-hero,.feature-hero) :is(h1,.text-link) { color:var(--app-ink); }
body .brand-public :is(.home-hero,.feature-hero) :is(.intro,.fine) { color:var(--app-muted); }
body .brand-public :is(.home-hero,.feature-hero) .eyebrow { color:var(--academic-orange); }
body .brand-public :is(.home-hero,.feature-hero) .actions .button { background:#b74b05; border-color:#b74b05; color:#fff; }
/* File and study workspaces share a compact heading, tabs and record cards. */
body .atlas-files,body .study-space { display:grid; gap:20px; max-width:1360px; }
.atlas-page-heading { display:flex; align-items:center; justify-content:space-between; gap:18px; }
.atlas-page-heading p { color:var(--app-muted); font-size:.9rem; margin-top:3px; }
body .study-head { margin:0; padding-bottom:0; border:0; align-items:center; }
body .study-head h1 { margin:0; }
body .study-head .study-primary { background:linear-gradient(105deg,#b74b05,#c65a08); color:#fff; border:0; }
.atlas-workspace-tabs { display:flex; flex-wrap:wrap; gap:5px; border-bottom:1px solid var(--app-border); padding-bottom:10px; margin:0; }
.atlas-workspace-tabs a { display:inline-flex; align-items:center; gap:7px; min-height:44px; padding:10px 16px; color:var(--app-muted); border-radius:10px; font-size:.9rem; font-weight:650; }
.atlas-workspace-tabs a[aria-current=page] { background:var(--app-surface-subtle); color:var(--app-primary); box-shadow:inset 0 -3px var(--academic-orange); }
body .study-panel.atlas-documents { padding:0; background:transparent; border:0; box-shadow:none; display:grid; gap:12px; }
.atlas-document-card { display:grid; grid-template-columns:48px minmax(0,1fr) auto; align-items:center; gap:10px 16px; padding:20px; border:1px solid var(--app-border); border-radius:14px; background:var(--app-surface); }
.atlas-document-icon { display:grid; place-items:center; height:48px; width:48px; border-radius:12px; background:var(--app-surface-subtle); color:var(--app-primary); }
body .study-space button.atlas-document-open { display:block; padding:0; border:0; text-align:start; width:100%; box-shadow:none; background:transparent; }
body .study-space .atlas-document-open h2 { font-size:1rem; line-height:1.65; overflow-wrap:anywhere; }
.atlas-document-meta { display:block; color:var(--app-muted); font-size:.75rem; margin-top:5px; }
.atlas-status { align-self:start; padding:5px 10px; border-radius:7px; background:var(--app-surface-subtle); font-size:.75rem; }
.atlas-status[data-status=failed] { background:#fff1ee; color:#a32c25; }
.atlas-status[data-status=saved],.atlas-status[data-status=review] { background:#e9f7ef; color:#216945; }
.atlas-document-actions { grid-column:2/-1; display:flex; flex-wrap:wrap; gap:8px; padding-top:6px; }
body .atlas-document-actions button,body button.atlas-delete { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:44px; padding:8px 12px; border:1px solid var(--app-border); border-radius:9px; background:var(--app-surface); font-size:.8rem; }
body button.atlas-delete { color:#b6352b; border-color:#e9bcb6; }
body button.atlas-delete:hover:not(:disabled) { background:#fff1ee; }
body .atlas-document-footer { border-top:1px solid var(--app-border); padding-top:16px; }
.atlas-dialog-actions { display:flex; justify-content:flex-end; gap:10px; flex-wrap:wrap; margin-top:22px; }
.atlas-delete-name { font-weight:750; overflow-wrap:anywhere; padding-bottom:12px; }
.atlas-file-overview { display:flex; gap:18px; align-items:center; padding:20px; }
.atlas-file-emblem { display:grid; place-items:center; color:var(--app-primary); background:var(--app-surface-subtle); width:60px; height:60px; border-radius:14px; }
.atlas-file-overview strong { font-size:1.5rem; font-weight:800; }
.atlas-file-overview strong span { font-size:1rem; }
.atlas-file-overview p,.atlas-storage-meter small { color:var(--app-muted); font-size:.8rem; }
.atlas-storage-meter { flex:1; min-width:100px; max-width:310px; margin-inline:auto; }
.atlas-storage-meter progress { display:block; width:100%; height:9px; margin-bottom:8px; accent-color:#e27716; border:0; border-radius:20px; overflow:hidden; }
.atlas-storage-meter progress::-webkit-progress-bar { background:var(--app-border); }
.atlas-storage-meter progress::-webkit-progress-value { background:#e27716; border-radius:20px; }
.atlas-file-panel { overflow:hidden; }
.atlas-file-filters { display:flex; gap:12px; padding:18px; border-bottom:1px solid var(--app-border); }
.atlas-search { display:flex; flex:1; align-items:center; gap:9px; min-width:150px; background:var(--app-canvas); border:1px solid var(--app-border); border-radius:10px; padding-inline:12px; }
body .atlas-search input { background:transparent; width:100%; min-width:0; min-height:44px; padding:8px 0; outline-offset:0; border:0; }
.atlas-file-filters select,.atlas-rename-label select,.atlas-rename-label input { min-height:44px; padding:8px 12px; background:var(--app-surface); color:var(--app-ink); border:1px solid var(--app-border); border-radius:10px; }
.atlas-selection-bar { padding:12px 18px; display:flex; align-items:center; justify-content:space-between; gap:12px; background:var(--app-surface-subtle); font-size:.8rem; }
.atlas-selection-bar label { display:flex; align-items:center; gap:9px; }
.atlas-files input[type=checkbox] { width:20px; height:20px; accent-color:var(--app-primary); cursor:pointer; flex-shrink:0; }
.atlas-file-row { display:grid; grid-template-columns:24px 52px minmax(0,1fr) auto; gap:16px; align-items:center; padding:18px; }
.atlas-file-row + .atlas-file-row { border-top:1px solid var(--app-border); }
.atlas-file-type { display:flex; flex-direction:column; gap:3px; align-items:center; justify-content:center; min-height:60px; border-radius:10px; background:var(--app-surface-subtle); color:var(--app-primary); }
.atlas-file-type[data-type=pdf] { background:#fff1e7; color:#a84408; }
.atlas-file-type small { font-size:10px; letter-spacing:.04em; font-weight:750; }
body .atlas-file-info h2 { font-size:.95rem; line-height:1.6; font-weight:700; overflow-wrap:anywhere; }
.atlas-file-meta { display:flex; flex-wrap:wrap; gap:6px 12px; margin-top:6px; color:var(--app-muted); font-size:.75rem; }
.atlas-file-meta a:hover { text-decoration:underline; }
.atlas-file-actions { display:flex; flex-wrap:wrap; gap:5px; justify-content:flex-end; }
.atlas-file-actions button { display:flex; gap:6px; align-items:center; justify-content:center; min-height:44px; padding:8px; font-size:.75rem; border-radius:8px; }
.atlas-file-actions button:hover { background:var(--app-surface-subtle); }
.atlas-file-actions .atlas-delete { border:0; }
.atlas-pagination { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:18px; border-top:1px solid var(--app-border); }
.atlas-empty { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; padding:44px 20px; color:var(--app-muted); text-align:center; }
.atlas-empty p { max-width:34rem; font-size:.875rem; line-height:1.8; }
.atlas-error { padding:12px; margin:10px 0; border-radius:10px; background:#fff1ee; color:#a32c25; }
.atlas-notice { padding:12px 18px; background:var(--app-surface-subtle); }
.atlas-footnote { color:var(--app-muted); font-size:.8rem; line-height:1.8; }
.atlas-delete-list { max-height:240px; overflow-y:auto; list-style:disc; padding:16px 24px; font-size:.9rem; }
.atlas-delete-list li { overflow-wrap:anywhere; padding-block:5px; }
.atlas-rename-label { display:grid; gap:10px; font-size:.9rem; margin-bottom:18px; }
.dark .atlas-status[data-status=failed],.dark .atlas-error { background:#442922; color:#ffb1a6; }
.dark .atlas-status[data-status=saved],.dark .atlas-status[data-status=review] { background:#1e3c33; color:#9ce0b3; }
.dark .atlas-file-type[data-type=pdf] { background:#3c2c22; color:#ffc38e; }
.dark button.atlas-delete { color:#ffb1a6; border-color:#75514a; }
.dark button.atlas-delete:hover:not(:disabled) { background:#442922; }
.dark .atlas-subject-card .atlas-study-art { opacity:.9; }
@media (max-width:1279px) {
 body .mobile-dock { display:grid; grid-auto-flow:column; grid-auto-columns:minmax(0,1fr); grid-template-columns:none; padding-left:max(4px,var(--app-safe-left,env(safe-area-inset-left,0px))); padding-right:max(4px,var(--app-safe-right,env(safe-area-inset-right,0px))); background:var(--app-surface); border-top:1px solid var(--app-border); }
 body .mobile-dock .mobile-dock-link { min-width:0; min-height:62px; padding:5px 2px; border-radius:10px; }
 body .mobile-dock .mobile-dock-label { font-size:.65rem; line-height:1.35; white-space:normal; overflow-wrap:anywhere; text-align:center; }
 body .mobile-dock .mobile-dock-icon { height:24px; }
 body .mobile-dock-link[aria-current=page] { color:var(--academic-orange); background:var(--academic-tint); }
 body .study-shortcuts { display:none; }
 .atlas-file-actions span { display:none; }
 .atlas-file-actions button { min-width:44px; }
}
@media (max-width:767px) {
 body .app-page { padding:20px 16px 28px; }
 body .student-dashboard { gap:18px; }
 body .student-dashboard > .academic-feature-grid { grid-template-columns:minmax(0,1fr); display:contents; }
 body .student-dashboard .atlas-quick-actions { order:1; grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-rows:auto; gap:10px; }
 .atlas-quick-actions > button { grid-column:1/-1; }
 .atlas-quick-actions > :is(a,button) { font-size:.95rem; min-height:48px; padding:10px; }
 body .student-dashboard > header { order:0; flex-direction:row; align-items:center; }
 body .student-dashboard > .student-overview { order:2; }
 body .student-dashboard .student-primary-panel { order:3; min-height:200px; padding:18px; }
 body .student-dashboard .student-primary-panel > div { max-width:64%; }
 body .student-dashboard .student-primary-panel .atlas-study-art { width:35%; }
 body .student-dashboard .student-primary-panel h2 { font-size:1.35rem; }
 body .student-dashboard .student-primary-button { text-align:start; padding-inline:12px; font-size:.8rem; }
 body .student-dashboard .atlas-library { order:4; }
 body .student-dashboard .academic-content-grid { order:5; grid-template-columns:minmax(0,1fr); gap:18px; }
 body .student-overview .metric-tile { flex-direction:column; gap:6px; padding:12px 5px; text-align:center; min-height:106px; }
 body .student-overview .metric-tile > span { width:26px; height:26px; }
 body .student-overview .metric-tile .metric-label { font-size:.72rem; line-height:1.5; }
 body .student-overview .metric-tile p[dir=ltr] { text-align:center!important; font-size:1.25rem; }
 body .student-overview .metric-tile > div { display:flex; flex-direction:column-reverse; }
 body .student-overview .dashboard-metric-note { margin-top:0; font-size:.65rem; }
 .atlas-subject-grid { gap:8px; }
 .atlas-subject-card { flex-direction:column-reverse; padding:10px 7px; min-height:150px; text-align:center; }
 .atlas-subject-card > div { width:100%; }
 .atlas-subject-card .atlas-study-art { width:100%; max-width:128px; height:84px; }
 body .atlas-subject-card h3 { font-size:.8rem; }
 .atlas-subject-card p { font-size:.65rem; margin:4px 0; }
 .atlas-subject-card > div > svg { display:none; }
 body .app-navbar { gap:6px; }
 body .study-panel { padding:16px; }
 .atlas-page-heading { align-items:flex-start; flex-wrap:wrap; gap:12px; }
 .atlas-page-heading > .app-button { width:100%; }
 body .study-head > div { width:100%; }
 body .study-space .study-head > button { width:100%; min-height:46px; }
 .atlas-workspace-tabs { gap:2px; }
 .atlas-workspace-tabs a { padding:9px 10px; font-size:.75rem; }
 .atlas-workspace-tabs a svg { width:15px; }
 .atlas-document-card { grid-template-columns:38px minmax(0,1fr); gap:10px; padding:15px; }
 .atlas-document-icon { width:38px; height:42px; }
 .atlas-status { grid-column:2; justify-self:start; }
 .atlas-document-actions { grid-column:1/-1; border-top:1px solid var(--app-border); padding-top:10px; }
 .atlas-document-actions button { flex:1; }
 .atlas-file-overview { flex-wrap:wrap; gap:12px; padding:16px; }
 .atlas-file-emblem { width:46px; height:46px; }
 .atlas-storage-meter { flex-basis:100%; max-width:none; order:3; }
 .atlas-file-overview > a { margin-inline-start:auto; font-size:.75rem; }
 .atlas-file-filters { flex-wrap:wrap; gap:9px; padding:14px; }
 .atlas-search { flex-basis:100%; }
 .atlas-file-filters select { flex:1; min-width:0; font-size:.85rem; }
 .atlas-selection-bar { padding:10px 14px; font-size:.7rem; }
 .atlas-selection-bar .app-button { padding-inline:9px; font-size:.75rem; }
 .atlas-file-row { grid-template-columns:22px 42px minmax(0,1fr); padding:16px 14px; gap:10px; }
 .atlas-file-type { min-height:54px; }
 .atlas-file-actions { grid-column:2/-1; justify-content:flex-start; gap:8px; }
 .atlas-file-actions span { display:inline; }
 .atlas-file-actions button { font-size:.7rem; }
 body .atlas-files input[type=checkbox] { width:20px; }
 body .atlas-file-info h2 { font-size:.85rem; }
 body .atlas-file-meta { font-size:.7rem; gap:4px 8px; }
 .atlas-pagination { padding:12px; }
}
@media (max-width:360px) { .atlas-files-shortcut { padding:6px 9px; font-size:.7rem; } body .student-dashboard .page-title { font-size:1.35rem; } .atlas-subject-card { padding-inline:4px; } .atlas-file-actions { gap:3px; } }
@media (prefers-reduced-motion:reduce) { body * { scroll-behavior:auto!important; } }
@media print { body .atlas-study-art,.atlas-workspace-tabs,.atlas-file-actions,.atlas-document-actions { display:none; } }
