/* ==========================================================================
   UPSC Prelims Analytics — "Soft Paper" theme (v2)
   Visual-only layer, loaded last on every page. No logic is touched.
   Design goals: pastel + low-contrast-glare palette, warm paper background,
   editorial display font for headings/numbers, calm shapes, and a
   scroll-friendly render path (no blur, no fixed backgrounds, no per-row
   animation, content-visibility on long lists).
   ========================================================================== */

:root{
  color-scheme:light;
  /* paper + ink */
  --bg:#f6f3ee; --panel:#fffdfa;
  --surface:#fffdfa; --surface-2:#faf7f1; --surface-3:#f2eee6;
  --ink:#2f3140; --ink-2:#5a5d70; --muted:#8a8c9b;
  --line:#ece6dc; --line-2:#e1d9cb;
  /* lavender = primary */
  --accent:#6a66bf; --accent-ink:#46428f;
  --accent-bg:#ebe9fb; --accent-bg-2:#dedbf7; --accent-mid:#b9b5f0;
  /* pastel families: bg / ink / mid */
  --mint-bg:#dcf2e7;  --mint-ink:#2b7556;  --mint-mid:#8ad3b1;
  --peach-bg:#fde8d6; --peach-ink:#9a581a; --peach-mid:#f5b688;
  --rose-bg:#fadcdf;  --rose-ink:#a23f4b;  --rose-mid:#eea2ae;
  --sky-bg:#dcebf6;   --sky-ink:#386b8f;   --sky-mid:#9ccae6;
  --butter-bg:#faf0cd;--butter-ink:#7f650f;--butter-mid:#ecd27c;
  --green:#2b7556; --red:#a23f4b;
  /* semantic tones used by score/accuracy chips */
  --ok-bg:var(--mint-bg); --ok-fg:var(--mint-ink);
  --warn-bg:var(--peach-bg); --warn-fg:var(--peach-ink);
  --bad-bg:var(--rose-bg); --bad-fg:var(--rose-ink);
  --neutral-bg:var(--surface-3); --neutral-fg:var(--ink-2);
  /* depth */
  --sh-1:0 1px 2px rgba(80,66,40,.05);
  --sh-2:0 1px 2px rgba(80,66,40,.04),0 10px 26px -14px rgba(80,66,40,.22);
  --sh-3:0 2px 6px rgba(80,66,40,.06),0 28px 60px -20px rgba(60,50,80,.35);
  /* shape */
  --r-xs:8px; --r-sm:12px; --r-md:16px; --r-lg:22px; --r-pill:999px;
  --font:"DM Sans",-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,"Helvetica Neue",system-ui,sans-serif;
  --display:"Fraunces","Iowan Old Style","Palatino Linotype",Palatino,Georgia,serif;
}

/* ---------- canvas ---------- */
html{background:var(--bg);scroll-behavior:auto}
html body{
  font-family:var(--font)!important;color:var(--ink);background:var(--bg)!important;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeSpeed;
  font-feature-settings:"ss01" 0;
}
html body ::selection{background:var(--accent-bg-2)}
*{scrollbar-width:thin;scrollbar-color:#d9d2c4 transparent}
*::-webkit-scrollbar{width:10px;height:10px}
*::-webkit-scrollbar-thumb{background:#d9d2c4;border-radius:10px;border:3px solid var(--bg)}
*::-webkit-scrollbar-track{background:transparent}

html body h1{font-family:var(--display);font-size:28px;font-weight:600;letter-spacing:-.02em;line-height:1.12;color:var(--ink)}
html body h2{font-family:var(--font);font-weight:700;letter-spacing:-.01em;color:var(--ink)}
html body h3{font-weight:680;letter-spacing:-.005em}
html body .sub,html body .muted,html body .hint,html body .note{color:var(--muted)}
html body b,html body strong{font-weight:650}

/* ---------- header (solid, cheap to paint) ---------- */
html body .wrap>header{
  position:sticky;top:0;z-index:40;
  margin:0 -4px 10px;padding:14px 4px 12px;
  background:var(--bg);border-bottom:1px solid var(--line);
}
html body .wrap>header>div:first-child{flex:0 0 auto;min-width:0}
html body .wrap>header .sub{white-space:nowrap;font-size:12.5px;margin-top:3px}
html body .wrap>header>div:last-child{gap:7px!important}
html body .wrap>header h1{font-size:25px}
@media (max-width:1100px){html body .wrap>header .sub{white-space:normal}}
html body .wrap{max-width:1200px}

/* ---------- surfaces ---------- */
html body .panel{
  background:var(--panel);border:1px solid var(--line);border-radius:var(--r-lg);box-shadow:var(--sh-1);
}
html body .panel .panel{background:var(--surface-2);box-shadow:none;border-radius:var(--r-md)}
html body .panel.testlist,html body .panel.table{overflow:hidden;background:var(--surface)}
html body .wrap>.panel+.panel,html body .wrap>section+section{margin-top:14px}

/* metric tiles: each gets a gentle pastel */
html body .metrics{gap:10px}
html body .metric{
  background:var(--surface-2);border:1px solid var(--line);border-radius:var(--r-md);box-shadow:none;
}
html body .metrics>.metric:nth-child(6n+1){background:var(--accent-bg);border-color:transparent}
html body .metrics>.metric:nth-child(6n+2){background:var(--sky-bg);border-color:transparent}
html body .metrics>.metric:nth-child(6n+3){background:var(--mint-bg);border-color:transparent}
html body .metrics>.metric:nth-child(6n+4){background:var(--rose-bg);border-color:transparent}
html body .metrics>.metric:nth-child(6n+5){background:var(--butter-bg);border-color:transparent}
html body .metrics>.metric:nth-child(6n+6){background:var(--peach-bg);border-color:transparent}
html body .metric .label,html body .metric>small,html body .metric-label{color:var(--ink-2);font-weight:600;opacity:.8}
html body .metric .value,html body .metric>b,html body .metric .big{
  font-family:var(--display);font-weight:600;letter-spacing:-.02em;font-variant-numeric:tabular-nums;color:var(--ink)
}

/* ---------- buttons ---------- */
html body button,html body .nav-button,html body .btn{
  font-family:inherit;border-radius:var(--r-sm);font-weight:620;
  transition:background-color .15s ease,color .15s ease,border-color .15s ease,box-shadow .15s ease;
  -webkit-tap-highlight-color:transparent;
}
html body button{background:var(--accent-bg-2);color:var(--accent-ink);border:1px solid transparent}
html body button:not(:disabled):hover{background:var(--accent-mid);color:#2b2870}
html body button:not(:disabled):active{transform:scale(.985)}
html body button:disabled{opacity:.5}
html body button:focus-visible,html body a:focus-visible,html body input:focus-visible,html body select:focus-visible,html body textarea:focus-visible{
  outline:none;box-shadow:0 0 0 3px var(--accent-bg-2)!important;
}
html body button.secondary,html body .subtle-button{background:var(--surface-3);color:var(--ink-2);border:1px solid transparent}
html body button.secondary:not(:disabled):hover,html body .subtle-button:hover{background:var(--line-2);color:var(--ink)}
html body button.danger,html body .danger{background:var(--rose-bg);color:var(--rose-ink)}
html body button.danger:hover{background:var(--rose-mid);color:#6d2430}

/* header links / chips: one uniform style on every page */
html body .back,html body a.btn,html body a.link,html body a.secondary,html body .wrap>header a,html body header .nav a,html body .nav-button{
  display:inline-flex;align-items:center;gap:6px;text-decoration:none;white-space:nowrap;
  background:var(--surface)!important;color:var(--ink-2)!important;
  border:1px solid var(--line-2);border-radius:var(--r-pill);padding:7px 14px;
  font-size:13px;font-weight:620;box-shadow:none;
}
html body .back:hover,html body a.btn:hover,html body a.link:hover,html body a.secondary:hover,html body .wrap>header a:hover,html body .nav-button:hover{
  background:var(--accent-bg)!important;color:var(--accent-ink)!important;border-color:var(--accent-bg-2);
}

/* ---------- inputs ---------- */
html body input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),
html body select,html body textarea{
  font-family:inherit;color:var(--ink);background-color:var(--surface);
  border:1px solid var(--line-2);border-radius:var(--r-sm);
  transition:border-color .15s ease,box-shadow .15s ease;
}
html body input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):hover,
html body select:hover,html body textarea:hover{border-color:var(--accent-mid)}
html body input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):focus,
html body select:focus,html body textarea:focus{border-color:var(--accent-mid)}
html body select:not([multiple]):not([size]){
  -webkit-appearance:none;appearance:none;padding-right:30px;cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1.5 1.5 6 6l4.5-4.5' fill='none' stroke='%239a9aa8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 11px center;background-size:11px 7px;
}
html body input[type=checkbox],html body input[type=radio],html body input[type=range]{accent-color:#8e89dc}
html body input[type=file]::file-selector-button{
  border:0;border-radius:var(--r-sm);padding:8px 14px;margin-right:12px;background:var(--accent-bg-2);color:var(--accent-ink);font-weight:620;cursor:pointer;
}

/* ---------- tabs ---------- */
html body .analysis-tab,html body .upcoming-tab,html body .setup-tab,html body .tabs .tab,html body .custom-result-tabs button{
  border-radius:var(--r-pill);border:1px solid transparent;background:transparent;color:var(--muted);
  padding:6px 14px;font-weight:620;box-shadow:none;
}
html body .analysis-tab:hover,html body .upcoming-tab:hover,html body .setup-tab:hover,html body .tabs .tab:hover,html body .custom-result-tabs button:hover{background:var(--surface-3);color:var(--ink)}
html body .analysis-tab.active,html body .upcoming-tab.active,html body .setup-tab.active,html body .tabs .tab.active,html body .custom-result-tabs button.active{
  background:var(--accent-bg-2);color:var(--accent-ink);
}

/* ---------- icons ---------- */
html body .icon-action{width:32px;height:32px;padding:7px;border-radius:10px;background:var(--accent-bg);color:var(--accent-ink);border:0;box-shadow:none}
html body .icon-action:hover{background:var(--accent-bg-2);color:var(--accent-ink)}
html body .icon-action svg{width:100%;height:100%;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;fill:none}
html body .icon-action.delete-icon,html body .delete-icon{background:var(--rose-bg);color:var(--rose-ink)}
html body .icon-action.delete-icon:hover{background:var(--rose-mid);color:#6d2430}

html body .pencil,html body .edit-category,html body button[title^="Edit format"]{
  font-size:0!important;line-height:0;display:inline-flex;align-items:center;justify-content:center;
  width:22px;height:22px;padding:0!important;vertical-align:-5px;margin-left:3px;
  border-radius:8px;background:transparent;color:#a9a6b8;border:0;box-shadow:none;
}
html body .pencil::before,html body .edit-category::before,html body button[title^="Edit format"]::before{
  content:"";width:13px;height:13px;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4Z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4Z'/%3E%3C/svg%3E") center/contain no-repeat;
}
html body .pencil:hover,html body .edit-category:hover,html body button[title^="Edit format"]:hover{background:var(--accent-bg);color:var(--accent-ink)}
html body .attempt-top .pencil{width:32px;height:32px;border-radius:11px;background:var(--surface-3);margin-left:6px;vertical-align:middle}
html body .attempt-top .pencil::before{width:15px;height:15px}

html body .section-caret,html body .history-caret,html body #attemptCaret,html body #overallCaret,html body #testTrendCaret,html body #needsCaret{
  border-radius:9px!important;background:var(--surface-3)!important;color:var(--ink-2)!important;font-weight:700;
}
html body .history-toggle:hover .section-caret,html body .history-caret:hover{background:var(--line-2)!important}
html body .history-plus{
  width:26px;height:26px;border-radius:9px;background:var(--accent-bg-2);color:var(--accent-ink);
  display:inline-flex;align-items:center;justify-content:center;padding:0;font-size:17px;font-weight:600;line-height:1;
}
html body .history-toggle{background:transparent;color:inherit;border-radius:var(--r-sm)}
html body .history-toggle:hover{background:transparent;color:inherit}

/* ---------- tables & rows ---------- */
html body .testhead,html body .head,html body .tree-head,html body thead th,html body .analysis-table thead th{
  background:var(--surface-2)!important;color:var(--muted)!important;font-weight:680;letter-spacing:.04em;
  text-transform:uppercase;font-size:10.5px;border-bottom:1px solid var(--line)!important;
}
html body .testhead,html body .testrow{grid-template-columns:minmax(180px,1fr) 112px 92px 65px 65px 84px 112px minmax(150px,auto)}
html body .row,html body .tree-row,html body .testrow,html body .entry,html body tbody tr,html body td{border-color:var(--line)}
html body .row:hover,html body .testrow:hover,html body tbody tr:hover,html body .topic-row:hover{background:rgba(185,181,240,.12)!important}
html body .concept-row{background:rgba(236,210,124,.12)!important}
html body .num{font-variant-numeric:tabular-nums}
html body .test-average{background:var(--accent-bg);border-top:1px solid var(--line)}

/* long lists: skip layout/paint work for off-screen rows */
html body .question,html body .result-q{content-visibility:auto;contain-intrinsic-size:auto 340px}

/* ---------- status chips (same meaning, softer look) + progress edge ---------- */
html body .metric-pill,html body .health-status,html body .attempt-pct,html body .avg-value,html body .analysis-status,html body .status,html body .pill,html body .tag{
  border-radius:var(--r-pill);font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:0;white-space:nowrap;
}
html body .metric-pill.history-score,html body .avg-value{border-radius:10px}
html body .attempt-pct,html body .health-status,html body .metric-pill,html body .avg-value{position:relative;overflow:hidden}
html body [data-v]::after{
  content:"";position:absolute;left:0;bottom:0;height:3px;width:calc(var(--v,0)*1%);
  background:currentColor;opacity:.42;border-radius:0 3px 3px 0;
}
html body .attempt-pct.green,html body .health-status.green,html body .metric-pill.green,html body .metric-pill.accuracy-green,html body .metric-pill.marks-green,
html body .metric-pill.history-score.score-green,html body .avg-value.score-green,html body .avg-value.accuracy-green,html body .pill.green,html body .analysis-status.status-green,html body .status.correct{background:var(--ok-bg);color:var(--ok-fg)}
html body .attempt-pct.orange,html body .health-status.orange,html body .metric-pill.orange,html body .metric-pill.accuracy-orange,html body .metric-pill.marks-orange,
html body .metric-pill.history-score.score-orange,html body .avg-value.score-orange,html body .avg-value.accuracy-orange,html body .pill.orange,html body .analysis-status.status-orange{background:var(--warn-bg);color:var(--warn-fg)}
html body .attempt-pct.red,html body .health-status.red,html body .metric-pill.red,html body .metric-pill.accuracy-red,html body .metric-pill.marks-red,
html body .metric-pill.history-score.score-red,html body .avg-value.score-red,html body .avg-value.accuracy-red,html body .analysis-status.status-red,html body .status.incorrect{background:var(--bad-bg);color:var(--bad-fg)}
html body .status.skipped{background:var(--neutral-bg);color:var(--neutral-fg)}
html body .score-green,html body .accuracy-green,html body .marks-green{color:var(--ok-fg)}
html body .score-orange,html body .accuracy-orange,html body .marks-orange{color:var(--warn-fg)}
html body .score-red,html body .accuracy-red,html body .marks-red{color:var(--bad-fg)}
html body .accuracy-track{border-radius:var(--r-pill);background:var(--surface-3);overflow:hidden}
html body .accuracy-track>span{border-radius:var(--r-pill)}
html body .accuracy-track.green>span{background:var(--mint-mid)}
html body .accuracy-track.orange>span{background:var(--peach-mid)}
html body .accuracy-track.red>span{background:var(--rose-mid)}

/* ---------- questions ---------- */
html body .question,html body .result-q,html body .qcard,html body .review-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-md);box-shadow:none}
html body .option,html body .opt{border:1px solid var(--line-2);border-radius:var(--r-sm);background:var(--surface)}
html body .option:hover,html body .opt:hover{border-color:var(--accent-mid);background:var(--accent-bg)}
html body .option.correct-option,html body .opt.correct-option{background:var(--mint-bg);border-color:var(--mint-mid);color:var(--mint-ink)}
html body .option.selected-option,html body .opt.selected-option{background:var(--accent-bg);border-color:var(--accent-mid);box-shadow:0 0 0 3px var(--accent-bg)}
html body .explanation,html body .explain{background:var(--surface-2);border:1px solid var(--line);border-radius:var(--r-sm)}
html body .qnav{border-radius:10px}

/* ---------- menus & modals (no blur: cheap) ---------- */
html body .attempt-menu{background:var(--surface);border:1px solid var(--line-2);border-radius:var(--r-md);padding:6px;box-shadow:var(--sh-2);transform-origin:top right}
html body .attempt-menu.open{animation:pop .18s ease-out}
html body .attempt-option{border-radius:10px;background:transparent;color:var(--ink);text-align:left;font-weight:600;border:0}
html body .attempt-option:hover{background:var(--accent-bg);color:var(--accent-ink)}
html body .attempt-option.selected{background:var(--accent-bg-2);color:var(--accent-ink)}
html body .modal-backdrop,html body #trendModal{background:rgba(58,52,80,.30)!important}
html body .modal-card{background:var(--surface)!important;border:1px solid var(--line);border-radius:24px!important;box-shadow:var(--sh-3)!important;animation:pop .22s ease-out}
html body #trendModal .panel{animation:pop .22s ease-out;background:var(--surface)}

/* ---------- misc ---------- */
html body .upcoming-test-panel{overflow:hidden;color:var(--ink);background:var(--panel)}
html body .upcoming-test-label{color:var(--ink)}
html body .upcoming-test-next{color:var(--accent-ink)}
html body .need-card{background:var(--surface-2);border:1px solid var(--line);border-radius:14px;box-shadow:none}
html body .mode,html body .source-option,html body .category-btn{border-radius:var(--r-md)}
html body .mode:hover,html body .source-option:hover,html body .category-btn:hover{border-color:var(--accent-mid)}
html body #backToTop{background:var(--surface)!important;color:var(--accent-ink)!important;box-shadow:var(--sh-2)!important;border:1px solid var(--line-2)!important;border-radius:50%}
html body #countdown{font-family:var(--display);font-weight:600;letter-spacing:-.01em}

/* ---------- charts: remap legacy hard-coded colours to the pastel palette ---------- */
svg [stroke="#e7ebf1"]{stroke:#efe9de!important}
svg [fill="#8792a2"],svg [fill="#697586"]{fill:#9a9aa8!important}
html body .test-trend-svg{display:block;width:100%;height:auto}
html body .test-trend-legend{display:flex;gap:16px;flex-wrap:wrap;margin-top:8px;color:var(--ink-2);font-size:12px}
html body .test-trend-legend i{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:6px;vertical-align:-1px}

/* ---------- Snapshot (dashboard hero, built by theme.js) ---------- */
.snap{padding:20px 22px 22px;margin-top:6px}
.snap-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.snap-eyebrow{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);font-weight:700}
.snap-title{font-family:var(--display);font-size:22px;font-weight:600;letter-spacing:-.015em;margin-top:2px}
.snap-meta{display:flex;gap:8px;flex-wrap:wrap}
.snap-chip{font-size:12px;font-weight:650;padding:5px 11px;border-radius:var(--r-pill);background:var(--surface-3);color:var(--ink-2)}
.snap-grid{display:grid;grid-template-columns:minmax(300px,1.5fr) repeat(4,minmax(150px,1fr));gap:12px}
.snap-card{border-radius:var(--r-md);padding:15px 16px;min-width:0;display:flex;flex-direction:column;justify-content:space-between;gap:10px}
.snap-card .k{font-size:11.5px;font-weight:700;color:var(--ink-2);opacity:.85;letter-spacing:.01em}
.snap-card .v{font-family:var(--display);font-size:30px;font-weight:600;letter-spacing:-.025em;line-height:1;font-variant-numeric:tabular-nums}
.snap-card .v small{font-family:var(--font);font-size:12.5px;font-weight:600;color:var(--ink-2);opacity:.75;margin-left:4px;letter-spacing:0}
.snap-card .s{font-size:12px;color:var(--ink-2);opacity:.85;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.snap-hero{background:var(--accent-bg)}
.snap-lav{background:var(--accent-bg)} .snap-mint{background:var(--mint-bg)} .snap-sky{background:var(--sky-bg)} .snap-peach{background:var(--peach-bg)} .snap-rose{background:var(--rose-bg)}
.snap-hero{position:relative;overflow:hidden;min-height:150px}
.snap-hero .spark{position:absolute;left:0;right:0;bottom:0;height:64px;width:100%;display:block}
.snap-hero .top{position:relative;z-index:1}
.snap-delta{display:inline-flex;align-items:center;gap:3px;font-size:12px;font-weight:700;padding:2px 8px;border-radius:var(--r-pill);font-family:var(--font);letter-spacing:0}
.snap-delta.up{background:rgba(255,255,255,.65);color:var(--mint-ink)}
.snap-delta.down{background:rgba(255,255,255,.65);color:var(--rose-ink)}
.snap-delta.flat{background:rgba(255,255,255,.65);color:var(--ink-2)}
.snap-ring{display:flex;align-items:center;gap:12px}
.snap-ring svg{flex:0 0 auto}
@media (max-width:1100px){.snap-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.snap-hero{grid-column:1/-1}}

/* ---------- motion: only where it communicates (menus, modals) ---------- */
@keyframes pop{from{opacity:0;transform:translateY(6px) scale(.97)}}
@keyframes fadein{from{opacity:0}}
html body .snap{animation:fadein .35s ease-out}
@view-transition{navigation:auto}
::view-transition-old(root){animation:.15s ease both vt-out}
::view-transition-new(root){animation:.22s ease both fadein}
@keyframes vt-out{to{opacity:0}}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
@media (max-width:760px){html body h1{font-size:22px}}
@media print{html body{background:#fff!important}html body .wrap>header{position:static}}

/* ---------- refinements ---------- */
html body .testhead,html body .testhead *{text-transform:uppercase;letter-spacing:.04em}
html body .testhead select{text-transform:none;letter-spacing:0}
html body .upcoming-test-panel{padding:12px 18px}
html body .upcoming-test-summary{min-height:34px}
html body .attempt-top{padding:12px 16px}
html body .pill,html body .tag{white-space:normal}
html body .pill{font-weight:600;line-height:1.45;border-radius:14px}


/* ATLAS panels/widgets layout port — Claude's existing theme variables remain the visual source of truth. */
.atlas-shell{min-height:100vh}
.atlas-sidebar{position:fixed;inset:0 auto 0 0;width:248px;padding:26px 17px 18px;display:flex;flex-direction:column;z-index:100}
.atlas-brand{display:flex;align-items:center;gap:12px;padding:2px 10px 30px}
.atlas-brand-mark{width:38px;height:38px;display:grid;place-items:center}
.atlas-brand-mark svg{width:21px;height:21px}
.atlas-brand-sub{margin-top:4px}
.atlas-nav-label{padding:0 12px;margin:12px 0 8px}
.atlas-nav{display:grid;gap:4px}
.atlas-nav a{height:43px;padding:0 12px;display:flex;align-items:center;gap:12px}
.atlas-nav a svg{width:18px;height:18px;flex:none}
.atlas-nav a:hover{transform:translateX(2px)}
.atlas-sidebar-foot{margin-top:auto;padding:17px 10px 2px}
.atlas-sidebar-foot strong{display:block;margin-bottom:2px}
.atlas-main{margin-left:248px;min-width:0;min-height:100vh}
.atlas-topline{height:54px;padding:0 clamp(24px,4vw,64px);display:flex;align-items:center;justify-content:space-between}
.atlas-top-right{display:flex;align-items:center;gap:8px}
.atlas-live-dot{width:6px;height:6px;display:inline-block}
@media (max-width:980px){
.atlas-sidebar{width:76px;padding:20px 10px}
.atlas-brand{justify-content:center;padding:0 0 26px}
.atlas-brand-copy,.atlas-nav-label,.atlas-nav span,.atlas-sidebar-foot{display:none}
.atlas-nav a{justify-content:center;padding:0}
.atlas-nav a svg{width:20px;height:20px}
.atlas-main{margin-left:76px}
}
@media (max-width:650px){
.atlas-sidebar{inset:auto 0 0;width:auto;height:66px;padding:7px 8px;display:block}
.atlas-brand,.atlas-nav-label,.atlas-sidebar-foot{display:none}
.atlas-nav{height:100%;display:flex;align-items:center;justify-content:space-around;gap:2px}
.atlas-nav a{height:48px;min-width:44px;padding:0 7px;flex-direction:column;gap:2px}
.atlas-nav a svg{width:18px;height:18px}
.atlas-nav a span{display:block !important}
.atlas-main{margin-left:0;padding-bottom:70px}
.atlas-topline{height:44px;padding:0 18px}
}
.atlas-brand-copy{display:flex;flex-direction:column;min-width:0}
.atlas-brand-name{display:block}
.atlas-brand-sub{display:block}
.atlas-dashboard-actions{display:none !important}
.atlas-page-dashboard .wrap{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:18px;row-gap:0}
.atlas-page-dashboard .wrap>header,.atlas-page-dashboard .wrap>.toolbar,
.atlas-page-dashboard #testHistoryPanel,.atlas-page-dashboard #testTrendPanel,
.atlas-page-dashboard #analysisPanel{grid-column:1/-1}
.atlas-page-dashboard .atlas-countdown-panel{grid-column:1/span 4;margin-top:0 !important;min-height:112px}
.atlas-page-dashboard .atlas-upcoming-panel{grid-column:5/-1;margin-top:0 !important;min-height:112px}
.atlas-page-dashboard .atlas-dashboard-toolbar{margin-top:30px !important}
.atlas-page-dashboard #testHistoryPanel{margin-top:0 !important}
.atlas-page-dashboard #testTrendPanel{margin-top:18px !important}
.atlas-page-dashboard #needsPanel{grid-column:1/-1;margin-top:18px !important}
.atlas-page-dashboard #analysisPanel{margin-top:18px !important}
.atlas-page-dashboard .wrap>header{margin-bottom:22px !important}
.atlas-page-dashboard .atlas-countdown-panel,
.atlas-page-dashboard .atlas-upcoming-panel{display:flex;align-items:center}
.atlas-page-dashboard #testTrendPanel{min-height:320px}
.atlas-page-dashboard #analysisPanel{min-height:260px}
.atlas-page-test-analysis .wrap>header,.atlas-page-pyq-detail .wrap>header,
.atlas-page-revision .wrap>header,.atlas-page-fact-sheet .wrap>header,
.atlas-page-question-bank .wrap>header{margin-bottom:25px !important}
.atlas-page-practice .wrap>header{margin-bottom:20px !important}
.atlas-page-practice #setup{max-width:920px}
.atlas-page-practice #runner{max-width:1200px}
@media (max-width:900px){
.atlas-page-dashboard .wrap{display:block}
.atlas-page-dashboard .atlas-countdown-panel,.atlas-page-dashboard .atlas-upcoming-panel{margin-top:14px !important}
.atlas-page-dashboard .atlas-countdown-panel{margin-top:0 !important}
}
@media (min-width:1200px){
.atlas-page-dashboard .wrap{padding-top:38px !important}
.atlas-page-dashboard .atlas-countdown-panel,.atlas-page-dashboard .atlas-upcoming-panel{padding:20px 22px !important}
}
@media (max-width:650px){
.atlas-nav a span{max-width:48px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
}
.atlas-page-dashboard .atlas-countdown-panel{display:block !important;overflow:visible !important;position:relative;z-index:12}
.atlas-page-dashboard .atlas-countdown-panel .attempt-wrap{position:relative;z-index:25}
.atlas-page-dashboard .atlas-countdown-panel .attempt-menu{z-index:120 !important;max-height:min(360px,60vh);overflow-y:auto}
.atlas-page-dashboard .atlas-upcoming-panel{display:block !important;overflow:visible !important;position:relative;z-index:5;min-width:0}
.atlas-page-dashboard .atlas-upcoming-panel .upcoming-test-summary{width:100%}
.atlas-page-dashboard .atlas-upcoming-panel .upcoming-test-body{width:100%;position:relative;z-index:2}
.atlas-page-dashboard .atlas-upcoming-panel .upcoming-calendar,
.atlas-page-dashboard .atlas-upcoming-panel .upcoming-events{max-width:100%}
.atlas-page-dashboard .atlas-upcoming-panel .upcoming-test-toggle,
.atlas-page-dashboard .atlas-upcoming-panel .upcoming-add-btn,
.atlas-page-dashboard .atlas-upcoming-panel .upcoming-connect-btn{min-height:36px}
.atlas-page-dashboard .atlas-countdown-panel .history-toggle{min-height:56px}
.atlas-page-dashboard .atlas-countdown-panel .attempt-option{min-height:38px}
.atlas-page-dashboard .atlas-countdown-panel .attempt-option.add{margin-top:5px;padding-top:11px}
.atlas-page-dashboard .testhead,.atlas-page-dashboard .head{position:sticky;top:0;z-index:3}
.atlas-page-dashboard .testrow{min-height:58px}
.atlas-page-dashboard #testTrendPanel canvas{max-height:330px}
.atlas-page-dashboard #analysisPanel .tabs button,
.atlas-page-dashboard #analysisPanel .analysis-tabbar button{min-height:36px}
.atlas-page-dashboard .metric-pill{padding:5px 9px !important}
.atlas-page-question-bank .wrap>section.panel{padding:22px 24px !important}
.atlas-page-question-bank .tools{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.atlas-page-question-bank .tools select,
.atlas-page-question-bank .tools input{min-height:38px}
.atlas-page-question-bank #list{margin-top:15px}
.atlas-page-question-bank .question-card,
.atlas-page-question-bank .q-card{margin-bottom:13px}
.atlas-brand{gap:10px;padding-bottom:28px}
.atlas-brand-mark.atlas-emblem-mark{width:42px;height:42px;overflow:hidden;padding:3px}
.atlas-emblem-mark img{display:block;width:100%;height:100%;object-fit:contain}
.atlas-brand-sub{margin-top:5px}
.atlas-page-dashboard .wrap>header{align-items:center !important;min-height:66px;margin-bottom:22px !important}
.atlas-page-dashboard .atlas-attempt-moved{display:none !important}
.atlas-page-dashboard .atlas-header-actions{display:flex;align-items:center;justify-content:flex-end;flex:0 0 auto}
.atlas-page-dashboard .atlas-header-actions .attempt-wrap{position:relative;display:flex;align-items:center;gap:12px}
.atlas-page-dashboard .atlas-header-actions .attempt-top{display:flex;align-items:center;gap:10px}
.atlas-page-dashboard .atlas-header-actions .history-toggle{width:auto;min-height:62px;display:flex;align-items:center;gap:14px;padding:0 !important}
.atlas-page-dashboard .atlas-header-actions .history-toggle>span:first-child{display:flex;flex-direction:column;align-items:flex-end;gap:3px}
.atlas-page-dashboard .atlas-header-actions #attemptSub{white-space:nowrap}
.atlas-page-dashboard .atlas-header-actions #countdown{width:62px;height:62px;min-width:62px;display:flex;align-items:center;justify-content:center;padding:7px;white-space:normal}
.atlas-page-dashboard .atlas-header-actions .section-caret{display:none !important}
.atlas-page-dashboard .atlas-header-actions .pencil{width:30px;height:30px;display:flex;align-items:center;justify-content:center}
.atlas-page-dashboard .atlas-header-actions .attempt-menu{top:calc(100% + 8px);right:0;min-width:230px;z-index:200 !important}
.atlas-page-dashboard .atlas-upcoming-panel{grid-column:1/-1 !important;width:100%;min-height:0 !important;margin-top:0 !important;padding:20px 24px !important}
.atlas-page-dashboard .atlas-upcoming-panel .upcoming-test-summary{min-height:54px;display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:0 0 13px}
.atlas-page-dashboard .upcoming-test-toggle{margin-left:auto;height:36px;padding:0 14px !important}
.atlas-page-dashboard .upcoming-test-toggle:hover{transform:translateY(-1px)}
.atlas-page-dashboard .upcoming-test-body.open{display:block !important;margin-top:16px;padding-top:0}
.atlas-page-dashboard .upcoming-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}
.atlas-page-dashboard .atlas-schedule-columns{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:20px;align-items:start}
.atlas-page-dashboard #upcomingEventsView{min-width:0}
.atlas-page-dashboard .upcoming-events{max-height:390px;overflow:auto;padding-right:5px}
.atlas-page-dashboard .upcoming-event{padding:12px 14px !important}
.atlas-page-dashboard .upcoming-calendar{display:block !important;min-width:0;padding:14px}
.atlas-page-dashboard .upcoming-calendar-head{margin-bottom:12px}
.atlas-page-dashboard .upcoming-month-actions button{width:28px;height:28px;padding:0}
.atlas-page-dashboard .upcoming-calendar-grid{overflow:visible;gap:3px}
.atlas-page-dashboard .upcoming-weekday{padding:5px 0}
.atlas-page-dashboard .upcoming-day{min-height:43px;padding:4px 2px}
.atlas-page-dashboard .upcoming-day-number{width:24px;height:24px;margin:0 auto;display:grid;place-items:center}
.atlas-page-dashboard .upcoming-day-events{display:flex;justify-content:center;gap:2px;margin-top:3px;min-height:5px}
.atlas-page-dashboard .upcoming-day-event{width:5px;height:5px;min-width:5px;padding:0 !important;overflow:hidden}
.atlas-page-dashboard .upcoming-day-event:hover{transform:scale(1.35)}
.atlas-page-dashboard .upcoming-calendar-legend{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}
.atlas-page-dashboard .upcoming-add-btn,.atlas-page-dashboard .upcoming-connect-btn{min-height:34px}
.atlas-page-practice .options{display:grid !important;grid-template-columns:minmax(0,1fr) !important;gap:9px !important;margin-top:12px}
.atlas-page-practice .opt{display:flex !important;align-items:flex-start !important;gap:12px !important;width:100%;min-height:48px;padding:13px 15px !important}
.atlas-page-practice .opt:hover{transform:translateY(-1px)}
.atlas-page-practice .opt input[type=radio],
.atlas-page-practice .opt input[type=checkbox]{width:19px !important;height:19px !important;min-width:19px !important;min-height:19px !important;margin:1px 0 0 !important;padding:0 !important;flex:0 0 19px !important;cursor:pointer}
.atlas-page-practice .opt>span{display:block;flex:1;min-width:0}
.atlas-page-practice .opt>span b{display:inline-grid;place-items:center;width:24px;height:24px;margin-right:7px}
.atlas-page-practice .method-row{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:14px}
.atlas-page-practice .method-row>label{display:inline-flex;align-items:center;gap:6px;padding:7px 10px}
.atlas-page-practice .method-row input{min-height:0 !important;width:14px;height:14px}
@media (max-width:900px){
.atlas-page-dashboard .atlas-schedule-columns{grid-template-columns:minmax(0,1fr) 290px}
}
@media (max-width:680px){
.atlas-page-dashboard .wrap>header{align-items:flex-start !important}
.atlas-page-dashboard .atlas-header-actions{width:auto}
.atlas-page-dashboard .atlas-header-actions .history-toggle{min-height:48px;gap:7px}
.atlas-page-dashboard .atlas-header-actions #attemptSub{display:none !important}
.atlas-page-dashboard .atlas-header-actions #countdown{width:48px;height:48px;min-width:48px}
.atlas-page-dashboard .atlas-upcoming-panel{padding:15px !important}
.atlas-page-dashboard .atlas-schedule-columns{grid-template-columns:minmax(0,1fr)}
.atlas-page-dashboard .upcoming-calendar{max-width:420px;width:100%;margin:0 auto}
.atlas-page-dashboard .upcoming-toolbar{align-items:flex-start;flex-direction:column}
.atlas-page-practice .opt{padding:11px 12px !important}
}
.atlas-brand{padding-bottom:28px}
.atlas-brand-sub{display:none !important}
.atlas-page-practice .options{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:9px !important}
.atlas-page-practice .opt{min-height:54px;padding:11px 13px !important}
.atlas-page-dashboard .atlas-page-dashboard .upcoming-test-summary{position:relative}
.atlas-page-dashboard .upcoming-test-summary{display:flex;align-items:center;gap:11px;flex-wrap:nowrap !important;min-height:0 !important;padding:0 !important}
.atlas-page-dashboard .upcoming-test-summary .upcoming-test-label,
.atlas-page-dashboard .upcoming-test-summary .upcoming-test-next,
.atlas-page-dashboard .upcoming-test-summary .upcoming-test-date{flex:0 0 auto}
.atlas-page-dashboard .upcoming-test-summary .upcoming-test-next{max-width:250px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.atlas-page-dashboard .upcoming-test-summary .upcoming-test-toggle{margin-left:auto;flex:0 0 auto;align-self:flex-start}
.atlas-page-dashboard .atlas-summary-calendar{flex:0 0 270px;width:270px;margin-left:12px;align-self:center}
.atlas-page-dashboard .atlas-summary-calendar .upcoming-calendar{display:block !important;width:100%;max-width:none;margin:0;padding:8px 10px !important}
.atlas-page-dashboard .atlas-summary-calendar .upcoming-calendar-head{margin:0 0 4px}
.atlas-page-dashboard .atlas-summary-calendar .upcoming-month-actions button{width:22px;height:22px}
.atlas-page-dashboard .atlas-summary-calendar .upcoming-calendar-grid{gap:1px}
.atlas-page-dashboard .atlas-summary-calendar .upcoming-weekday{padding:2px 0}
.atlas-page-dashboard .atlas-summary-calendar .upcoming-day{min-height:25px;padding:1px 0}
.atlas-page-dashboard .atlas-summary-calendar .upcoming-day-number{width:19px;height:19px}
.atlas-page-dashboard .atlas-summary-calendar .upcoming-day-events{min-height:3px;margin-top:0;gap:2px}
.atlas-page-dashboard .atlas-summary-calendar .upcoming-day-event{width:4px;height:4px;min-width:4px}
.atlas-page-dashboard .atlas-summary-calendar .upcoming-calendar-legend{display:none}
@media (max-width:1050px){
.atlas-page-dashboard .upcoming-test-summary{flex-wrap:wrap !important}
.atlas-page-dashboard .atlas-summary-calendar{flex-basis:250px;width:250px}
}
@media (max-width:760px){
.atlas-page-dashboard .upcoming-test-summary{flex-wrap:wrap !important;align-items:center !important}
.atlas-page-dashboard .atlas-summary-calendar{flex:1 1 100%;width:100%;max-width:320px;margin:12px 0 0 auto}
.atlas-page-dashboard .upcoming-test-summary .upcoming-test-toggle{margin-left:auto}
}
.atlas-page-dashboard .atlas-attempt-moved{display:flex !important;grid-column:1/span 4 !important;flex-direction:column !important;align-items:stretch !important;min-height:310px !important;padding:17px 18px 14px !important;margin-top:0 !important;overflow:visible !important}
.atlas-page-dashboard .atlas-calendar-panel-title{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin:0 0 10px;padding-bottom:10px}
.atlas-page-dashboard .atlas-attempt-moved .upcoming-calendar{display:block !important;flex:1 1 auto;width:100%;max-width:none;margin:auto 0 0;padding:8px 9px !important}
.atlas-page-dashboard .atlas-attempt-moved .upcoming-calendar-head{margin:0 0 7px}
.atlas-page-dashboard .atlas-attempt-moved .upcoming-calendar-grid{gap:2px}
.atlas-page-dashboard .atlas-attempt-moved .upcoming-day{min-height:31px}
.atlas-page-dashboard .atlas-attempt-moved .upcoming-calendar-legend{display:flex !important;gap:8px;flex-wrap:wrap;margin-top:8px}
.atlas-page-dashboard .atlas-upcoming-panel{grid-column:5/-1 !important;min-height:310px !important;display:block !important;padding:20px 22px !important}
.atlas-page-dashboard .atlas-upcoming-panel .upcoming-test-summary{flex-wrap:wrap !important;min-height:48px !important;padding:0 0 12px !important}
.atlas-page-dashboard .atlas-upcoming-panel .upcoming-test-body.open{margin-top:15px}
.atlas-page-dashboard .atlas-header-actions .attempt-wrap{gap:0}
.atlas-page-dashboard .atlas-header-actions .history-toggle{min-height:70px !important;gap:0 !important;padding:7px 9px 7px 13px !important}
.atlas-page-dashboard .atlas-header-actions .history-toggle>span:first-child{align-items:flex-start !important;gap:5px !important}
.atlas-page-dashboard .atlas-header-actions .atlas-attempt-name-line{display:flex;align-items:center;gap:6px;min-width:0}
.atlas-page-dashboard .atlas-header-actions #activeAttemptName{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.atlas-page-dashboard .atlas-header-actions .atlas-inline-attempt-edit{display:inline-flex !important;align-items:center;justify-content:center;width:22px !important;height:22px !important;min-width:22px !important;margin:0 !important;padding:0 !important}
.atlas-page-dashboard .atlas-header-actions #countdown{width:76px !important;height:76px !important;min-width:76px !important;padding:8px !important}
.atlas-page-dashboard .atlas-header-actions .section-caret{display:inline-flex !important;align-items:center;justify-content:center;width:22px;height:22px}
@media (max-width:900px){
.atlas-page-dashboard .atlas-attempt-moved{grid-column:1/-1 !important;min-height:0 !important}
.atlas-page-dashboard .atlas-upcoming-panel{grid-column:1/-1 !important;min-height:0 !important}
}
@media (max-width:680px){
.atlas-page-dashboard .atlas-header-actions .history-toggle{min-height:54px !important}
.atlas-page-dashboard .atlas-header-actions #countdown{width:58px !important;height:58px !important;min-width:58px !important}
.atlas-page-dashboard .atlas-header-actions #activeAttemptName{max-width:115px}
}
.atlas-page-dashboard .wrap{display:block !important}
.atlas-page-dashboard .atlas-dashboard-layout{display:grid;grid-template-columns:minmax(0,1fr) 326px;gap:18px;align-items:start;width:100%;min-width:0}
.atlas-page-dashboard .atlas-dashboard-main{display:flex;flex-direction:column;gap:18px;min-width:0}
.atlas-page-dashboard .atlas-dashboard-main>.panel,
.atlas-page-dashboard .atlas-dashboard-main>.toolbar{width:100%;min-width:0;margin:0 !important;grid-column:auto !important}
.atlas-page-dashboard .atlas-dashboard-main .atlas-countdown-panel{display:block !important;min-height:0 !important;padding:16px 20px !important;overflow:visible !important;position:relative;z-index:12}
.atlas-page-dashboard .atlas-dashboard-main .atlas-countdown-panel .attempt-wrap{position:relative;z-index:25}
.atlas-page-dashboard .atlas-dashboard-main .atlas-upcoming-panel{display:block !important;min-height:0 !important;padding:18px 20px !important;margin:0 !important}
.atlas-page-dashboard .atlas-dashboard-main .atlas-dashboard-toolbar{margin:2px 0 0 !important}
.atlas-page-dashboard .atlas-dashboard-main #testHistoryPanel,
.atlas-page-dashboard .atlas-dashboard-main #testTrendPanel,
.atlas-page-dashboard .atlas-dashboard-main #needsPanel,
.atlas-page-dashboard .atlas-dashboard-main #analysisPanel{margin:0 !important}
.atlas-page-dashboard .atlas-dashboard-sidebar{display:flex;flex-direction:column;gap:16px;min-width:0;position:sticky;top:18px;align-self:start}
.atlas-page-dashboard .atlas-calendar-card,
.atlas-page-dashboard .atlas-notes-card{width:100%;min-width:0;margin:0 !important;padding:16px !important}
.atlas-page-dashboard .atlas-sidebar-card-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin:0 0 12px;padding:0 0 10px}
.atlas-page-dashboard .atlas-calendar-card #upcomingCalendarView{display:block !important;width:100%;max-width:none;margin:0;padding:0}
.atlas-page-dashboard .atlas-calendar-card .upcoming-calendar-head{margin:0 0 10px}
.atlas-page-dashboard .atlas-calendar-card .upcoming-month-actions button{width:28px;height:28px}
.atlas-page-dashboard .atlas-calendar-card .upcoming-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}
.atlas-page-dashboard .atlas-calendar-card .upcoming-weekday{padding:5px 0}
.atlas-page-dashboard .atlas-calendar-card .upcoming-day{min-width:0;min-height:37px;padding:3px 0}
.atlas-page-dashboard .atlas-calendar-card .upcoming-day-number{width:25px;height:25px;margin:0 auto;display:grid;place-items:center}
.atlas-page-dashboard .atlas-calendar-card .upcoming-day-events{display:flex;justify-content:center;gap:2px;min-height:5px;margin-top:2px}
.atlas-page-dashboard .atlas-calendar-card .upcoming-day-event{width:5px;height:5px;min-width:5px;padding:0 !important}
.atlas-page-dashboard .atlas-notes-editor{display:block;width:100%;min-height:220px;padding:12px 13px}
.atlas-page-dashboard .atlas-notes-footer{display:flex;justify-content:space-between;gap:8px;margin-top:8px}
@media (max-width:1100px){
.atlas-page-dashboard .atlas-dashboard-layout{grid-template-columns:minmax(0,1fr) 290px;gap:14px}
}
@media (max-width:850px){
.atlas-page-dashboard .atlas-dashboard-layout{grid-template-columns:minmax(0,1fr)}
.atlas-page-dashboard .atlas-dashboard-sidebar{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
.atlas-page-dashboard .atlas-notes-editor{min-height:190px}
}
@media (max-width:560px){
.atlas-page-dashboard .atlas-dashboard-sidebar{grid-template-columns:minmax(0,1fr)}
.atlas-page-dashboard .atlas-calendar-card,
 .atlas-page-dashboard .atlas-notes-card{padding:14px !important}
}
.atlas-main{margin-left:248px !important;margin-right:248px !important;height:100vh;min-height:100vh;overflow-y:auto;overflow-x:hidden}
.atlas-main>.atlas-topline{position:sticky;top:0;z-index:40}
.atlas-main>.wrap{width:100%;max-width:1220px !important;margin:0 auto !important;padding:34px clamp(22px,3.2vw,46px) 70px !important}
.atlas-page-dashboard .atlas-dashboard-layout{display:block !important;width:100%;max-width:1120px;margin:0 auto !important}
.atlas-page-dashboard .atlas-dashboard-main{width:100%;max-width:1120px;margin:0 auto;display:flex;flex-direction:column;gap:18px;min-width:0}
.atlas-page-dashboard .atlas-dashboard-main>.panel,
.atlas-page-dashboard .atlas-dashboard-main>.toolbar{width:100%;min-width:0;margin:0 !important}
.atlas-page-dashboard .atlas-dashboard-sidebar{position:fixed !important;inset:0 0 0 auto !important;width:248px !important;height:100vh;box-sizing:border-box;padding:24px 15px 20px !important;display:flex !important;flex-direction:column !important;gap:15px !important;overflow-y:auto;overflow-x:hidden;align-self:stretch;z-index:95}
.atlas-page-dashboard .atlas-right-attempt-panel{width:100%;box-sizing:border-box;padding:0 0 14px}
.atlas-page-dashboard .atlas-right-panel-heading{margin:0 0 10px 2px}
.atlas-page-dashboard .atlas-right-attempt-panel .attempt-wrap{width:100%;display:block;min-width:0}
.atlas-page-dashboard .atlas-right-attempt-panel .attempt-top{display:flex;align-items:stretch;gap:6px;width:100%}
.atlas-page-dashboard .atlas-right-attempt-panel .history-toggle{width:100%;min-width:0;min-height:70px !important;padding:10px !important;display:flex !important;justify-content:space-between !important;gap:5px !important}
.atlas-page-dashboard .atlas-right-attempt-panel #activeAttemptName{display:block;max-width:118px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.atlas-page-dashboard .atlas-right-attempt-panel #attemptSub{max-width:112px}
.atlas-page-dashboard .atlas-right-attempt-panel #countdown{white-space:nowrap}
.atlas-page-dashboard .atlas-right-attempt-panel .section-caret{width:20px;height:20px;display:grid;place-items:center}
.atlas-page-dashboard .atlas-right-attempt-panel .pencil{flex:0 0 30px;width:30px;height:30px;align-self:center}
.atlas-page-dashboard .atlas-right-attempt-panel .attempt-menu{position:absolute;left:0;right:0;top:calc(100% + 5px);max-height:55vh;overflow:auto;z-index:150 !important}
.atlas-page-dashboard .atlas-calendar-card,
.atlas-page-dashboard .atlas-notes-card{width:100%;box-sizing:border-box;margin:0 !important;padding:12px !important}
.atlas-page-dashboard .atlas-sidebar-card-heading{margin:0 0 8px;padding:0 0 8px}
.atlas-page-dashboard .atlas-sidebar-card-heading small{display:none}
.atlas-page-dashboard .atlas-calendar-card #upcomingCalendarView{display:block !important;width:100%;max-width:none;margin:0;padding:0}
.atlas-page-dashboard .atlas-calendar-card .upcoming-calendar-head{margin:0 0 6px}
.atlas-page-dashboard .atlas-calendar-card .upcoming-month-actions button{width:23px;height:23px}
.atlas-page-dashboard .atlas-calendar-card .upcoming-calendar-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:1px}
.atlas-page-dashboard .atlas-calendar-card .upcoming-weekday{padding:3px 0}
.atlas-page-dashboard .atlas-calendar-card .upcoming-day{min-height:27px;padding:1px 0}
.atlas-page-dashboard .atlas-calendar-card .upcoming-day-number{width:19px;height:19px}
.atlas-page-dashboard .atlas-calendar-card .upcoming-day-events{min-height:3px;margin-top:0;gap:1px}
.atlas-page-dashboard .atlas-calendar-card .upcoming-day-event{width:3px;height:3px;min-width:3px}
.atlas-page-dashboard .atlas-notes-editor{width:100%;min-height:190px;box-sizing:border-box;padding:10px}
@media (max-width:1100px){
.atlas-main{margin-left:210px !important;margin-right:210px !important}
.atlas-page-dashboard .atlas-dashboard-sidebar{width:210px !important;padding:20px 11px !important}
.atlas-sidebar{width:210px !important}
.atlas-main>.wrap{padding-left:20px !important;padding-right:20px !important}
}
@media (max-width:760px){
.atlas-main{margin-left:76px !important;margin-right:0 !important;height:auto;min-height:100vh;overflow:visible}
.atlas-sidebar{width:76px !important;padding-left:8px !important;padding-right:8px !important}
.atlas-page-dashboard .atlas-dashboard-sidebar{position:relative !important;inset:auto !important;width:auto !important;height:auto;margin:18px 20px 28px 96px;display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;padding:12px !important}
.atlas-page-dashboard .atlas-right-attempt-panel{grid-column:1/-1}
.atlas-page-dashboard .atlas-page-dashboard .atlas-notes-editor{min-height:140px}
}
@media (max-width:480px){
.atlas-page-dashboard .atlas-dashboard-sidebar{grid-template-columns:minmax(0,1fr)}
.atlas-page-dashboard .atlas-right-attempt-panel{grid-column:auto}
}
.atlas-page-dashboard .atlas-right-attempt-panel .attempt-wrap{position:relative}
.atlas-page-dashboard .atlas-right-attempt-panel .attempt-top{position:relative;padding-right:0}
.atlas-page-dashboard .atlas-right-attempt-panel .attempt-top>.history-toggle{padding-right:38px !important}
.atlas-page-dashboard .atlas-right-attempt-panel .attempt-top>.pencil{position:absolute;right:31px;top:7px;z-index:2;width:22px;height:22px;min-width:22px;padding:0 !important;display:grid;place-items:center}
.atlas-page-dashboard .atlas-topline{display:none !important}
.atlas-page-dashboard .atlas-main::-webkit-scrollbar,
.atlas-page-dashboard .atlas-dashboard-sidebar::-webkit-scrollbar{width:0 !important;height:0 !important;display:none !important}
.atlas-page-dashboard .atlas-dashboard-sidebar{padding-top:72px !important}
.atlas-page-dashboard .atlas-right-attempt-panel{padding-top:0 !important}
.atlas-page-dashboard .atlas-right-panel-heading{display:none !important}
.atlas-page-dashboard .atlas-calendar-card{padding:12px !important}
.atlas-page-dashboard .atlas-mini-calendar{width:100%}
.atlas-page-dashboard .atlas-mini-calendar-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 8px}
.atlas-page-dashboard .atlas-mini-calendar-head>span{display:flex;gap:4px}
.atlas-page-dashboard .atlas-mini-calendar-head button{width:22px;height:22px;padding:0;display:grid;place-items:center;cursor:pointer}
.atlas-page-dashboard .atlas-mini-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px}
.atlas-page-dashboard .atlas-mini-weekday{display:grid;place-items:center;height:17px}
.atlas-page-dashboard .atlas-mini-day{min-width:0;height:25px;padding:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;cursor:pointer}
.atlas-page-dashboard .atlas-mini-day>i{height:3px;display:flex;align-items:center;justify-content:center;gap:2px}
.atlas-page-dashboard .atlas-mini-day>i b{display:block;width:3px;height:3px}
.atlas-page-dashboard .atlas-notes-card{margin-top:0 !important}
@media (max-width:760px){
.atlas-page-dashboard .atlas-topline{display:none !important}
.atlas-page-dashboard .atlas-dashboard-sidebar{padding-top:14px !important}
}
.atlas-page-dashboard .atlas-sidebar-foot{display:none !important}
.atlas-page-dashboard .atlas-right-attempt-panel #attemptSub{display:none !important}
.atlas-page-dashboard .atlas-dashboard-sidebar{padding-bottom:14px !important}
.atlas-page-dashboard .atlas-notes-card{display:flex !important;flex-direction:column !important;flex:1 1 auto !important;min-height:260px}
.atlas-page-dashboard .atlas-notes-editor{flex:1 1 auto !important;min-height:180px !important;height:100% !important}
.atlas-page-dashboard #upcomingCalendarView{display:none}
.atlas-page-dashboard #upcomingCalendarView.active{display:block}
.atlas-page-dashboard #upcomingCalendarGrid{display:grid !important;grid-template-columns:repeat(7,minmax(0,1fr)) !important;gap:5px !important;overflow:visible !important}
.atlas-page-dashboard #upcomingCalendarGrid .upcoming-weekday{padding:7px 3px !important}
.atlas-page-dashboard #upcomingCalendarGrid .upcoming-day{min-height:66px !important;padding:7px 6px !important}
.atlas-page-dashboard #upcomingCalendarGrid .upcoming-day.today .upcoming-day-number{display:inline-grid;place-items:center;min-width:25px;min-height:25px;padding:0 5px}
.atlas-page-dashboard #upcomingCalendarGrid .upcoming-day-events{display:flex;flex-direction:column;gap:3px;margin-top:5px}
.atlas-page-dashboard #upcomingCalendarGrid .upcoming-day-event{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:2px 4px !important}
.atlas-page-dashboard .atlas-rail-toggle{position:fixed;z-index:180;top:48%;width:24px;height:54px;padding:0;display:grid;place-items:center;cursor:pointer}
.atlas-page-dashboard .atlas-left-toggle{left:238px}
.atlas-page-dashboard .atlas-right-toggle{right:238px}
.atlas-page-dashboard .atlas-left-open{left:7px;display:none}
.atlas-page-dashboard .atlas-right-open{right:7px;display:none}
.atlas-page-dashboard.atlas-left-collapsed .atlas-sidebar{transform:translateX(-100%)}
.atlas-page-dashboard.atlas-left-collapsed .atlas-main{margin-left:0 !important}
.atlas-page-dashboard.atlas-left-collapsed .atlas-left-toggle{display:none}
.atlas-page-dashboard.atlas-left-collapsed .atlas-left-open{display:grid}
.atlas-page-dashboard.atlas-left-collapsed .atlas-left-open{left:7px}
.atlas-page-dashboard.atlas-right-collapsed .atlas-dashboard-sidebar{transform:translateX(100%)}
.atlas-page-dashboard.atlas-right-collapsed .atlas-main{margin-right:0 !important}
.atlas-page-dashboard.atlas-right-collapsed .atlas-right-toggle{display:none}
.atlas-page-dashboard.atlas-right-collapsed .atlas-right-open{display:grid}
@media (max-width:1100px){
body.atlas-page-dashboard.atlas-tablet-layout .atlas-sidebar{width:280px !important;padding:18px 14px !important;overflow-y:auto !important}
body.atlas-page-dashboard.atlas-tablet-layout .atlas-sidebar::-webkit-scrollbar{display:none !important}
body.atlas-page-dashboard.atlas-tablet-layout .atlas-main{margin-left:280px !important;margin-right:0 !important}
body.atlas-page-dashboard.atlas-tablet-layout .atlas-dashboard-sidebar{display:none !important;transform:none !important}
body.atlas-page-dashboard.atlas-tablet-layout .atlas-right-attempt-panel{width:100%;margin:14px 0 16px !important;padding:0 0 14px !important}
body.atlas-page-dashboard.atlas-tablet-layout .atlas-right-attempt-panel .history-toggle{min-height:58px !important}
body.atlas-page-dashboard.atlas-tablet-layout .atlas-calendar-card,
  body.atlas-page-dashboard.atlas-tablet-layout .atlas-notes-card{display:flex !important;width:100% !important;margin:12px 0 !important;padding:11px !important}
body.atlas-page-dashboard.atlas-tablet-layout .atlas-calendar-card{min-height:0}
body.atlas-page-dashboard.atlas-tablet-layout .atlas-mini-day{height:22px}
body.atlas-page-dashboard.atlas-tablet-layout .atlas-notes-card{min-height:180px !important}
body.atlas-page-dashboard.atlas-tablet-layout .atlas-notes-editor{min-height:120px !important}
body.atlas-page-dashboard.atlas-tablet-layout .atlas-left-toggle{display:none !important}
body.atlas-page-dashboard.atlas-tablet-layout .atlas-right-toggle,
  body.atlas-page-dashboard.atlas-tablet-layout .atlas-right-open{display:none !important}
body.atlas-page-dashboard.atlas-tablet-layout.atlas-left-collapsed .atlas-sidebar{transform:translateX(-100%)}
body.atlas-page-dashboard.atlas-tablet-layout.atlas-left-collapsed .atlas-main{margin-left:0 !important}
}
@media (max-width:760px){
body.atlas-page-dashboard.atlas-tablet-layout .atlas-sidebar{width:min(84vw,300px) !important}
body.atlas-page-dashboard.atlas-tablet-layout .atlas-main{margin-left:min(84vw,300px) !important}
body.atlas-page-dashboard.atlas-tablet-layout.atlas-left-collapsed .atlas-main{margin-left:0 !important}
}
.atlas-page-dashboard .atlas-dashboard-sidebar{padding-top:26px !important;gap:15px !important}
.atlas-page-dashboard .atlas-right-attempt-panel{display:flex !important;align-items:center !important;justify-content:center !important;padding:12px 0 16px !important}
.atlas-page-dashboard .atlas-right-attempt-panel .attempt-wrap{width:100%;max-width:100%;position:relative !important}
.atlas-page-dashboard .atlas-right-attempt-panel .attempt-top{width:100%;position:relative;display:block !important;padding:0 !important}
.atlas-page-dashboard .atlas-right-attempt-panel .history-toggle{width:100%;min-height:112px !important;height:auto !important;display:flex !important;flex-direction:column !important;align-items:center !important;justify-content:center !important;gap:7px !important;padding:18px 32px 16px !important}
.atlas-page-dashboard .atlas-right-attempt-panel #activeAttemptName{display:block !important;width:100%;max-width:100% !important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.atlas-page-dashboard .atlas-right-attempt-panel #attemptSub{display:none !important}
.atlas-page-dashboard .atlas-right-attempt-panel #countdown{display:block !important;width:100%;white-space:nowrap}
.atlas-page-dashboard .atlas-right-attempt-panel .section-caret{position:absolute;right:10px;top:10px;width:22px;height:22px}
.atlas-page-dashboard .atlas-right-attempt-panel .pencil{position:absolute !important;right:39px;top:9px;z-index:3;width:22px !important;height:22px !important;min-width:22px !important;padding:0 !important}
.atlas-page-dashboard .atlas-right-attempt-panel .attempt-menu{position:absolute;left:0;right:0;top:calc(100% + 7px);z-index:200 !important}
.atlas-page-dashboard #upcomingCalendarGrid{gap:5px !important}
.atlas-page-dashboard #upcomingCalendarGrid .upcoming-day{min-height:76px !important;padding:7px 6px !important;display:flex !important;flex-direction:column !important;align-items:stretch !important}
.atlas-page-dashboard #upcomingCalendarGrid .upcoming-day-number{width:auto !important;height:auto !important;margin:0 0 4px !important;display:block !important}
.atlas-page-dashboard #upcomingCalendarGrid .upcoming-day.today .upcoming-day-number{display:inline-block !important;width:max-content !important;min-width:25px;min-height:25px;padding:3px 7px !important}
.atlas-page-dashboard #upcomingCalendarGrid .upcoming-day-events{display:flex !important;flex-direction:column !important;align-items:stretch !important;gap:3px !important;margin-top:2px !important;min-height:0 !important}
.atlas-page-dashboard #upcomingCalendarGrid .upcoming-day-event{display:block !important;width:100% !important;height:auto !important;min-width:0 !important;max-width:100% !important;padding:3px 5px !important;white-space:normal !important;overflow:hidden !important;text-overflow:ellipsis !important}
.atlas-page-dashboard #upcomingCalendarGrid .upcoming-day-event:hover{transform:translateY(-1px)}
.atlas-page-dashboard select,
.atlas-page-dashboard input:not([type=checkbox]):not([type=radio]),
.atlas-page-dashboard .toolbar select,
.atlas-page-dashboard .filter-row select{padding:8px 30px 8px 11px !important}
@media (max-width:1100px){
body.atlas-page-dashboard.atlas-tablet-layout .atlas-right-attempt-panel{height:auto !important;min-height:118px !important;margin:12px 0 14px !important}
body.atlas-page-dashboard.atlas-tablet-layout .atlas-right-attempt-panel .history-toggle{min-height:100px !important}
}
@media (max-width:760px){
.atlas-page-dashboard #upcomingCalendarGrid .upcoming-day{min-height:60px !important}
}
.atlas-page-dashboard #upcomingCalendarGrid .upcoming-day-event{display:-webkit-box !important;white-space:normal !important;min-height:0 !important;max-height:2.5em !important}
.atlas-page-dashboard .atlas-right-attempt-panel{padding:8px 0 12px !important}
.atlas-page-dashboard .atlas-right-attempt-panel .attempt-wrap{width:100% !important;max-width:100% !important}
.atlas-page-dashboard .atlas-right-attempt-panel .attempt-top{display:block !important;width:100% !important}
.atlas-page-dashboard .atlas-right-attempt-panel .history-toggle{min-height:88px !important;height:88px !important;padding:12px 27px 11px !important;gap:5px !important}
.atlas-page-dashboard .atlas-right-attempt-panel .atlas-attempt-name-line{display:flex !important;align-items:center !important;justify-content:center !important;gap:5px !important;width:100% !important;min-width:0 !important}
.atlas-page-dashboard .atlas-right-attempt-panel #activeAttemptName{display:inline-block !important;width:auto !important;max-width:calc(100% - 27px) !important}
.atlas-page-dashboard .atlas-right-attempt-panel .atlas-inline-attempt-edit,
.atlas-page-dashboard .atlas-right-attempt-panel .pencil{position:static !important;inset:auto !important;transform:none !important;display:inline-flex !important;flex:0 0 20px !important;align-items:center !important;justify-content:center !important;width:20px !important;height:20px !important;min-width:20px !important;margin:0 !important;padding:0 !important}
.atlas-page-dashboard .atlas-right-attempt-panel .section-caret{right:7px !important;top:7px !important;width:18px !important;height:18px !important}
@media (max-width:1100px){
body.atlas-page-dashboard.atlas-tablet-layout .atlas-right-attempt-panel{min-height:0 !important;height:auto !important;padding:8px 0 12px !important}
body.atlas-page-dashboard.atlas-tablet-layout .atlas-right-attempt-panel .history-toggle{min-height:82px !important;height:82px !important}
}
.atlas-page-dashboard #upcomingEventsView,
.atlas-page-dashboard #upcomingCalendarView{width:100% !important;box-sizing:border-box !important}
.atlas-page-dashboard #upcomingEventsView .upcoming-events{height:390px !important;max-height:390px !important;min-height:390px !important;overflow:auto !important;box-sizing:border-box !important}
.atlas-page-dashboard #upcomingCalendarView{height:390px !important;max-height:390px !important;min-height:390px !important;padding:14px 16px !important;margin:0 !important;overflow:hidden !important;box-sizing:border-box !important}
.atlas-page-dashboard #upcomingCalendarView .upcoming-calendar-head{height:30px !important;min-height:30px !important;margin:0 0 8px !important;display:flex !important;align-items:center !important;justify-content:space-between !important}
.atlas-page-dashboard #upcomingCalendarView .upcoming-calendar-grid{height:calc(100% - 38px) !important;display:grid !important;grid-template-columns:repeat(7,minmax(0,1fr)) !important;grid-template-rows:22px repeat(6,minmax(0,1fr)) !important;gap:4px !important;min-height:0 !important}
.atlas-page-dashboard #upcomingCalendarView .upcoming-weekday{display:flex !important;align-items:center !important;justify-content:center !important;padding:0 !important}
.atlas-page-dashboard #upcomingCalendarView .upcoming-day{min-height:0 !important;height:auto !important;max-height:none !important;padding:3px 4px !important;box-sizing:border-box !important;overflow:hidden !important;display:flex !important;flex-direction:column !important;align-items:flex-start !important;justify-content:flex-start !important}
.atlas-page-dashboard #upcomingCalendarView .upcoming-day-number{width:23px !important;height:23px !important;min-height:23px !important;display:flex !important;align-items:center !important;justify-content:center !important}
.atlas-page-dashboard #upcomingCalendarView .upcoming-day-events{width:100% !important;min-height:0 !important;max-height:34px !important;overflow:hidden !important;margin-top:2px !important;gap:2px !important}
.atlas-page-dashboard #upcomingCalendarView .upcoming-day-event{display:block !important;max-width:100% !important;overflow:hidden !important;text-overflow:ellipsis !important;white-space:nowrap !important}
.atlas-page-dashboard .atlas-right-attempt-panel .history-toggle{min-height:82px !important;height:auto !important;padding:10px 9px !important;display:flex !important;flex-direction:column !important;align-items:center !important;justify-content:center !important;gap:5px !important;position:relative !important;cursor:pointer !important}
.atlas-page-dashboard .atlas-right-attempt-panel .history-toggle>span:first-child{display:flex !important;flex-direction:column !important;align-items:center !important;justify-content:center !important;width:100% !important;min-width:0 !important}
.atlas-page-dashboard .atlas-right-attempt-panel .atlas-attempt-name-line{display:flex !important;align-items:center !important;justify-content:center !important;flex-wrap:wrap !important;gap:5px !important;width:100% !important;min-width:0 !important}
.atlas-page-dashboard .atlas-right-attempt-panel #activeAttemptName{display:inline !important;max-width:100% !important;width:auto !important;overflow:visible !important;text-overflow:clip !important;white-space:normal !important}
.atlas-page-dashboard .atlas-right-attempt-panel #attemptSub{display:none !important}
.atlas-page-dashboard .atlas-right-attempt-panel .history-toggle>span:nth-child(2){display:flex !important;align-items:center !important;justify-content:center !important;width:100% !important}
.atlas-page-dashboard .atlas-right-attempt-panel #countdown{display:block !important;width:auto !important;height:auto !important;min-width:0 !important;padding:0 !important;white-space:nowrap !important}
.atlas-page-dashboard .atlas-right-attempt-panel .section-caret{display:none !important}
.atlas-page-dashboard .atlas-right-attempt-panel .atlas-inline-attempt-edit{position:static !important;display:inline-flex !important;flex:0 0 18px !important;width:18px !important;height:18px !important;min-width:18px !important;align-items:center !important;justify-content:center !important;margin:0 !important}
.atlas-page-dashboard .atlas-snapshot-panel{width:100%;box-sizing:border-box;padding:18px 20px !important;margin:0 0 18px !important}
.atlas-page-dashboard .atlas-snapshot-kicker{margin:0 0 6px}
.atlas-page-dashboard .atlas-snapshot-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 16px;min-width:0}
.atlas-page-dashboard .atlas-snapshot-heading h2{margin:0 !important}
.atlas-page-dashboard #atlasSnapshotCount{flex:0 0 auto;padding:7px 12px}
.atlas-page-dashboard .atlas-snapshot-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr 1fr;gap:10px}
.atlas-page-dashboard .atlas-snapshot-card{min-width:0;min-height:132px;box-sizing:border-box;padding:14px 15px 12px;display:flex;flex-direction:column;position:relative;overflow:hidden}
.atlas-page-dashboard .atlas-snapshot-card .snapshot-label{margin-bottom:8px}
.atlas-page-dashboard .atlas-snapshot-card .snapshot-value{white-space:nowrap}
.atlas-page-dashboard .atlas-snapshot-card .snapshot-caption{margin-top:auto;padding-top:8px}
.atlas-page-dashboard .atlas-snapshot-card .snapshot-test-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
.atlas-page-dashboard .atlas-snapshot-spark{position:absolute;left:4px;right:4px;bottom:0;width:calc(100% - 8px);height:49px;overflow:visible}
.atlas-page-dashboard .snapshot-ring-row{display:flex;align-items:center;gap:9px;margin:2px 0 0}
.atlas-page-dashboard .atlas-snapshot-ring{width:48px;height:48px;flex:0 0 48px}
.atlas-page-dashboard .atlas-snapshot-loading{grid-column:1/-1;padding:22px}
@media (max-width:1200px){
.atlas-page-dashboard .atlas-snapshot-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.atlas-page-dashboard .snapshot-score{grid-column:span 2}
}
@media (max-width:760px){
.atlas-page-dashboard .atlas-snapshot-panel{padding:14px !important}
.atlas-page-dashboard .atlas-snapshot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.atlas-page-dashboard .snapshot-score{grid-column:1/-1}
.atlas-page-dashboard .atlas-snapshot-card{min-height:118px;padding:12px}
}
.atlas-page-dashboard #attemptCaret{display:none !important}
.atlas-page-dashboard .atlas-right-attempt-panel .history-toggle>span:nth-child(2){gap:0 !important}
.atlas-page-dashboard .atlas-dashboard-main .test-trend-legend i{height:3px !important}
.atlas-page-dashboard .snapshot-delta{display:inline-flex;align-items:center;gap:5px;align-self:flex-start;width:max-content;margin:9px 0 2px;padding:6px 11px}
.atlas-page-dashboard .snapshot-latest .snapshot-caption{margin-top:auto;padding-top:9px}
.atlas-page-dashboard .snapshot-latest{padding-bottom:14px !important}
/* Bind frame surfaces to the existing Claude theme tokens; do not redefine fonts or palette. */
.atlas-sidebar{background:var(--panel);border-right:1px solid var(--line);color:var(--ink)}
.atlas-brand{color:var(--ink)}
.atlas-brand-mark{background:var(--accent);color:#fff;box-shadow:var(--sh-1)}
.atlas-nav a{color:var(--ink-2)}
.atlas-nav a:hover{background:var(--surface-2);color:var(--ink)}
.atlas-nav a.active{background:var(--accent-bg);color:var(--accent-ink)}
.atlas-nav-label,.atlas-crumb,.atlas-top-right{color:var(--muted)}
.atlas-main{background:var(--bg)}
.atlas-topline{background:var(--panel);border-bottom:1px solid var(--line)}
.atlas-live-dot{background:var(--accent)}
.atlas-dashboard-sidebar{background:transparent}
.atlas-calendar-card,.atlas-notes-card{background:var(--panel)}
.atlas-right-attempt-panel .history-toggle{background:var(--surface-2);color:var(--ink)}
.atlas-mini-calendar-head button,.atlas-rail-toggle{background:var(--surface-2);color:var(--accent-ink);border:1px solid var(--line)}
.atlas-notes-editor{background:var(--surface-2);color:var(--ink);border:1px solid var(--line)}
.atlas-sidebar,.atlas-dashboard-sidebar,.atlas-calendar-card,.atlas-notes-card,
.atlas-right-attempt-panel,.atlas-upcoming-panel{color:var(--ink)}
.atlas-nav a,.atlas-rail-toggle,.atlas-mini-calendar-head button{transition:background .16s ease,color .16s ease}


/* Panel surfaces inherit the uploaded Claude "Soft Paper" theme tokens. */
.atlas-sidebar{
 background:var(--panel)!important;border-right:1px solid var(--line)!important;
 box-shadow:var(--sh-1)!important;
}
.atlas-brand-mark{background:var(--accent)!important;color:#fff!important;box-shadow:var(--sh-1)!important}
.atlas-nav a{color:var(--ink-2)!important}
.atlas-nav a:hover{background:var(--surface-2)!important;color:var(--ink)!important}
.atlas-nav a.active{background:var(--accent-bg)!important;color:var(--accent-ink)!important}
.atlas-nav-label,.atlas-sidebar-foot,.atlas-crumb,.atlas-top-right{color:var(--muted)!important}
.atlas-topline{display:none!important}
.atlas-dashboard-sidebar{background:transparent!important}
.atlas-right-attempt-panel{
 background:var(--panel)!important;border:1px solid var(--line)!important;
 border-radius:var(--r-lg)!important;box-shadow:var(--sh-1)!important;
 padding:12px!important;
}
.atlas-right-attempt-panel .history-toggle{
 background:var(--accent-bg)!important;color:var(--accent-ink)!important;
 border:1px solid var(--line)!important;border-radius:var(--r-md)!important;
}
.atlas-calendar-card,.atlas-notes-card{
 background:var(--panel)!important;border-color:var(--line)!important;
 border-radius:var(--r-lg)!important;box-shadow:var(--sh-1)!important;
}
.atlas-sidebar-card-heading{color:var(--ink)!important;border-color:var(--line)!important}
.atlas-mini-calendar-head button,.atlas-rail-toggle{
 background:var(--surface-2)!important;color:var(--accent-ink)!important;
 border:1px solid var(--line)!important;border-radius:var(--r-pill)!important;
}
.atlas-mini-day{color:var(--ink-2)!important}
.atlas-mini-day.today{background:var(--accent-bg)!important;color:var(--accent-ink)!important}
.atlas-mini-day.other{color:var(--muted)!important}
.atlas-notes-editor{
 background:var(--surface-2)!important;color:var(--ink)!important;
 border:1px solid var(--line)!important;border-radius:var(--r-md)!important;
 font-family:var(--font)!important;
}
.atlas-notes-footer{color:var(--muted)!important}
.atlas-snapshot-panel{
 background:var(--panel)!important;border:1px solid var(--line)!important;
 border-radius:var(--r-lg)!important;box-shadow:var(--sh-1)!important;
}
.atlas-snapshot-kicker,.atlas-snapshot-count,.atlas-snapshot-card .snapshot-label,
.atlas-snapshot-card .snapshot-caption{font-family:var(--font)!important}
.atlas-snapshot-heading h2,.atlas-snapshot-card .snapshot-value{
 font-family:var(--display)!important;color:var(--ink)!important;
}
.atlas-snapshot-card{border-radius:var(--r-md)!important}
.atlas-snapshot-card.snapshot-score{background:var(--accent-bg)!important}
.atlas-snapshot-card.snapshot-latest{background:var(--surface-2)!important}
.atlas-snapshot-card.snapshot-best{background:var(--mint-bg)!important}
.atlas-snapshot-card.snapshot-accuracy{background:var(--sky-bg)!important}
.atlas-snapshot-card.snapshot-attempted{background:var(--peach-bg)!important}
.atlas-snapshot-card .snapshot-value small{font-family:var(--font)!important;color:var(--muted)!important}
.atlas-snapshot-card .snapshot-label{color:var(--ink-2)!important}
.atlas-snapshot-card .snapshot-caption{color:var(--muted)!important}
.atlas-snapshot-count{background:var(--surface-3)!important;color:var(--ink-2)!important}
.atlas-snapshot-ring circle:first-child{stroke:var(--line-2)!important}
.atlas-snapshot-ring circle:last-child{stroke:var(--accent)!important}
.atlas-snapshot-delta{font-family:var(--font)!important}
.snapshot-delta.up{color:var(--green)!important}
.snapshot-delta.down{color:var(--red)!important}
.snapshot-delta.flat{color:var(--muted)!important}
.atlas-rail-toggle{box-shadow:var(--sh-1)!important}


/* V3 corrections: keep Claude's Soft Paper palette and typography as the source of truth. */
.atlas-page-dashboard .atlas-snapshot-panel{display:none!important}
.atlas-page-dashboard #upcomingCalendarView:not(.active){display:none!important}
.atlas-page-dashboard #upcomingCalendarView.active{display:block!important}
.atlas-page-dashboard #upcomingEventsView{display:block}
.atlas-page-dashboard #upcomingCalendarView{
 height:auto!important;min-height:0!important;max-height:none!important;
 padding:14px!important;overflow:visible!important;
}
.atlas-page-dashboard #upcomingCalendarView .upcoming-calendar-grid{
 height:auto!important;grid-template-rows:28px repeat(6,minmax(76px,auto))!important;
 gap:5px!important;overflow:visible!important;
}
.atlas-page-dashboard #upcomingCalendarView .upcoming-day{
 min-height:76px!important;height:auto!important;max-height:none!important;
 padding:6px!important;overflow:visible!important;align-items:stretch!important;
 background:var(--panel)!important;border:1px solid var(--line)!important;
 border-radius:var(--r-sm)!important;
}
.atlas-page-dashboard #upcomingCalendarView .upcoming-day.other-month{
 background:var(--surface-2)!important;opacity:.62;
}
.atlas-page-dashboard #upcomingCalendarView .upcoming-day.today{
 background:var(--accent-bg)!important;border-color:var(--accent-mid)!important;
}
.atlas-page-dashboard #upcomingCalendarView .upcoming-day-number{
 width:25px!important;height:25px!important;min-height:25px!important;
 font-size:12px!important;font-weight:700!important;color:var(--ink-2)!important;
}
.atlas-page-dashboard #upcomingCalendarView .upcoming-day.today .upcoming-day-number{
 background:var(--accent)!important;color:white!important;border-radius:50%!important;
}
.atlas-page-dashboard #upcomingCalendarView .upcoming-weekday{
 background:var(--surface-2)!important;color:var(--muted)!important;
 border-radius:6px!important;font-size:10px!important;font-weight:700!important;
}
.atlas-page-dashboard #upcomingCalendarView .upcoming-day-events{
 width:100%!important;max-height:none!important;overflow:visible!important;
 display:flex!important;flex-direction:column!important;align-items:stretch!important;
 gap:3px!important;margin-top:4px!important;
}
.atlas-page-dashboard #upcomingCalendarView .upcoming-day-event{
 display:block!important;width:100%!important;max-width:100%!important;
 min-height:0!important;height:auto!important;max-height:34px!important;
 padding:3px 5px!important;border:0!important;border-left:3px solid var(--event-color,var(--accent))!important;
 border-radius:5px!important;background:var(--accent-bg)!important;color:var(--accent-ink)!important;
 font-family:var(--font)!important;font-size:10px!important;line-height:1.25!important;
 font-weight:650!important;text-align:left!important;white-space:normal!important;
 overflow:hidden!important;overflow-wrap:anywhere!important;text-overflow:clip!important;
 display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;
}
.atlas-page-dashboard #upcomingCalendarView .upcoming-calendar-head{margin:0 0 12px!important}
.atlas-page-dashboard #upcomingCalendarView .upcoming-month{font-family:var(--display)!important;color:var(--ink)!important;font-size:18px!important}
.atlas-page-dashboard .atlas-calendar-card #upcomingCalendarView:not(.active){display:none!important}

/* Common side rails across every non-test page. */
body.atlas-has-panels .atlas-main{margin-right:248px!important;min-width:0}
body.atlas-has-panels .atlas-shared-sidebar{
 position:fixed!important;inset:0 0 0 auto!important;width:248px!important;height:100vh!important;
 box-sizing:border-box!important;padding:26px 14px 16px!important;display:flex!important;
 flex-direction:column!important;gap:14px!important;overflow-y:auto!important;overflow-x:hidden!important;
 background:var(--bg)!important;z-index:95!important;
}
body.atlas-has-panels .atlas-shared-attempt{
 flex:0 0 auto!important;padding:13px!important;background:var(--accent-bg)!important;
 border:1px solid var(--line)!important;border-radius:var(--r-lg)!important;box-shadow:var(--sh-1)!important;
}
body.atlas-has-panels .atlas-shared-attempt .atlas-sidebar-card-heading{
 font-size:10px!important;letter-spacing:.08em!important;text-transform:uppercase!important;
 color:var(--accent-ink)!important;margin-bottom:8px!important;
}
body.atlas-has-panels .atlas-shared-attempt-select{
 width:100%!important;min-width:0!important;min-height:38px!important;
 background:var(--panel)!important;color:var(--ink)!important;border:1px solid var(--line-2)!important;
 border-radius:var(--r-sm)!important;font-family:var(--font)!important;font-size:12px!important;
}
body.atlas-has-panels .atlas-shared-countdown{
 margin-top:8px!important;text-align:center!important;color:var(--accent-ink)!important;
 font-family:var(--display)!important;font-size:19px!important;font-weight:650!important;
}
body.atlas-has-panels .atlas-shared-sidebar .atlas-calendar-card,
body.atlas-has-panels .atlas-shared-sidebar .atlas-notes-card{
 width:100%!important;min-width:0!important;margin:0!important;padding:13px!important;
 background:var(--panel)!important;border:1px solid var(--line)!important;
 border-radius:var(--r-lg)!important;box-shadow:var(--sh-1)!important;
}
body.atlas-has-panels .atlas-shared-sidebar .atlas-sidebar-card-heading{
 color:var(--ink)!important;font-family:var(--font)!important;font-weight:700!important;
 font-size:12px!important;margin-bottom:9px!important;
}
body.atlas-has-panels .atlas-shared-sidebar .atlas-mini-calendar-head{
 display:flex!important;align-items:center!important;justify-content:space-between!important;
 gap:6px!important;margin-bottom:7px!important;
}
body.atlas-has-panels .atlas-shared-sidebar .atlas-mini-calendar-head strong{
 font-size:12px!important;color:var(--accent-ink)!important;font-weight:700!important;
}
body.atlas-has-panels .atlas-shared-sidebar .atlas-mini-calendar-head button{
 width:23px!important;height:23px!important;border-radius:50%!important;
 background:var(--surface-2)!important;color:var(--accent-ink)!important;border:1px solid var(--line)!important;
}
body.atlas-has-panels .atlas-shared-sidebar .atlas-mini-calendar-grid{
 display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:2px!important;
}
body.atlas-has-panels .atlas-shared-sidebar .atlas-mini-weekday{
 display:grid!important;place-items:center!important;height:18px!important;
 color:var(--muted)!important;font-size:9px!important;font-weight:700!important;
}
body.atlas-has-panels .atlas-shared-sidebar .atlas-mini-day{
 min-width:0!important;height:25px!important;padding:0!important;border:0!important;
 border-radius:50%!important;background:transparent!important;color:var(--ink-2)!important;
 display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
 font-family:var(--font)!important;font-size:10px!important;gap:1px!important;
}
body.atlas-has-panels .atlas-shared-sidebar .atlas-mini-day.other{color:#b7b0a6!important}
body.atlas-has-panels .atlas-shared-sidebar .atlas-mini-day.today{
 background:var(--accent-bg)!important;color:var(--accent-ink)!important;font-weight:800!important;
}
body.atlas-has-panels .atlas-shared-sidebar .atlas-mini-day>i{
 height:3px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:2px!important;
}
body.atlas-has-panels .atlas-shared-sidebar .atlas-mini-day>i b{
 display:block!important;width:3px!important;height:3px!important;border-radius:50%!important;
}
body.atlas-has-panels .atlas-shared-sidebar .atlas-notes-card{
 display:flex!important;flex:1 1 auto!important;flex-direction:column!important;min-height:220px!important;
}
body.atlas-has-panels .atlas-shared-sidebar .atlas-notes-editor{
 flex:1 1 auto!important;min-height:160px!important;height:100%!important;width:100%!important;
 resize:vertical!important;background:var(--surface-2)!important;color:var(--ink)!important;
 border:1px solid var(--line)!important;border-radius:var(--r-md)!important;
 font-family:var(--font)!important;font-size:12px!important;padding:10px!important;
}
body.atlas-has-panels .atlas-shared-sidebar .atlas-notes-footer{
 display:flex!important;justify-content:space-between!important;gap:6px!important;
 color:var(--muted)!important;font-size:9px!important;margin-top:7px!important;
}
body.atlas-has-panels .atlas-shared-sidebar::-webkit-scrollbar{width:0!important}
body.atlas-has-panels .atlas-shared-sidebar{scrollbar-width:none!important}
body.atlas-has-panels .atlas-rail-toggle{position:fixed!important;z-index:180!important;top:48%!important;width:24px!important;height:54px!important;padding:0!important;display:grid!important;place-items:center!important;border-radius:12px!important;background:var(--panel)!important;border:1px solid var(--line)!important;color:var(--accent-ink)!important;box-shadow:var(--sh-1)!important}
body.atlas-has-panels .atlas-left-toggle{left:238px!important}
body.atlas-has-panels .atlas-right-toggle{right:238px!important}
body.atlas-has-panels .atlas-left-open{left:7px!important;display:none!important}
body.atlas-has-panels .atlas-right-open{right:7px!important;display:none!important}
body.atlas-has-panels.atlas-left-collapsed .atlas-sidebar{transform:translateX(-100%)!important}
body.atlas-has-panels.atlas-left-collapsed .atlas-main{margin-left:0!important}
body.atlas-has-panels.atlas-left-collapsed .atlas-left-toggle{display:none!important}
body.atlas-has-panels.atlas-left-collapsed .atlas-left-open{display:grid!important}
body.atlas-has-panels.atlas-right-collapsed .atlas-shared-sidebar{transform:translateX(100%)!important}
body.atlas-has-panels.atlas-right-collapsed .atlas-main{margin-right:0!important}
body.atlas-has-panels.atlas-right-collapsed .atlas-right-toggle{display:none!important}
body.atlas-has-panels.atlas-right-collapsed .atlas-right-open{display:grid!important}
@media(max-width:1100px){
 body.atlas-has-panels .atlas-main{margin-right:0!important}
 body.atlas-has-panels .atlas-shared-sidebar{display:none!important}
 body.atlas-has-panels .atlas-sidebar{width:280px!important;padding:18px 14px!important;overflow-y:auto!important}
 body.atlas-has-panels .atlas-main{margin-left:280px!important}
 body.atlas-has-panels .atlas-left-toggle,body.atlas-has-panels .atlas-left-open,
 body.atlas-has-panels .atlas-right-toggle,body.atlas-has-panels .atlas-right-open{display:none!important}
 body.atlas-has-panels .atlas-sidebar .atlas-shared-attempt,
 body.atlas-has-panels .atlas-sidebar .atlas-calendar-card,
 body.atlas-has-panels .atlas-sidebar .atlas-notes-card{display:flex!important;width:100%!important;margin:12px 0!important}
 body.atlas-has-panels .atlas-sidebar .atlas-shared-attempt{display:block!important;margin:14px 0!important}
 body.atlas-has-panels .atlas-sidebar .atlas-notes-card{min-height:180px!important}
 body.atlas-has-panels .atlas-sidebar .atlas-notes-editor{min-height:120px!important}
 body.atlas-has-panels.atlas-left-collapsed .atlas-sidebar{transform:translateX(-100%)!important}
 body.atlas-has-panels.atlas-left-collapsed .atlas-main{margin-left:0!important}
}
@media(max-width:760px){
 body.atlas-has-panels .atlas-sidebar{width:min(84vw,300px)!important}
 body.atlas-has-panels .atlas-main{margin-left:min(84vw,300px)!important}
 body.atlas-has-panels.atlas-left-collapsed .atlas-main{margin-left:0!important}
}


.atlas-page-dashboard .atlas-calendar-card,
.atlas-page-dashboard .atlas-notes-card{
 background:var(--panel)!important;border:1px solid var(--line)!important;
 border-radius:var(--r-lg)!important;box-shadow:var(--sh-1)!important;
}
.atlas-page-dashboard .atlas-mini-calendar-head strong{font-family:var(--font)!important;color:var(--accent-ink)!important;font-size:12px!important}
.atlas-page-dashboard .atlas-mini-calendar-head button{
 background:var(--surface-2)!important;border:1px solid var(--line)!important;
 color:var(--accent-ink)!important;border-radius:50%!important;
}
.atlas-page-dashboard .atlas-mini-weekday{font-size:9px!important;color:var(--muted)!important;font-weight:700!important}
.atlas-page-dashboard .atlas-mini-day{
 height:25px!important;border:0!important;border-radius:50%!important;
 background:transparent!important;color:var(--ink-2)!important;
 font-family:var(--font)!important;font-size:10px!important;font-weight:550!important;
}
.atlas-page-dashboard .atlas-mini-day:hover{background:var(--surface-2)!important}
.atlas-page-dashboard .atlas-mini-day.today{background:var(--accent-bg)!important;color:var(--accent-ink)!important;font-weight:800!important}
.atlas-page-dashboard .atlas-mini-day.other{color:#b7b0a6!important}
.atlas-page-dashboard .atlas-mini-day>i b{border-radius:50%!important;width:3px!important;height:3px!important}
.atlas-page-dashboard .atlas-notes-editor{
 background:var(--surface-2)!important;border:1px solid var(--line)!important;
 border-radius:var(--r-md)!important;color:var(--ink)!important;font-family:var(--font)!important;
}


/* Tablet rail widgets are reparented into .atlas-sidebar; keep their inner layout intact. */
@media(max-width:1100px){
 body.atlas-has-panels .atlas-sidebar .atlas-calendar-card,
 body.atlas-has-panels .atlas-sidebar .atlas-notes-card{box-sizing:border-box!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:7px!important;padding:12px!important}
 body.atlas-has-panels .atlas-sidebar .atlas-mini-calendar{display:block!important;width:100%!important;min-width:0!important}
 body.atlas-has-panels .atlas-sidebar .atlas-mini-calendar-head{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;width:100%!important}
 body.atlas-has-panels .atlas-sidebar .atlas-mini-calendar-grid{display:grid!important;width:100%!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:2px!important}
 body.atlas-has-panels .atlas-sidebar .atlas-mini-weekday{display:grid!important;place-items:center!important;height:18px!important;font-size:9px!important}
 body.atlas-has-panels .atlas-sidebar .atlas-mini-day{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;height:25px!important;min-width:0!important;padding:0!important;font-size:10px!important;border-radius:50%!important}
 body.atlas-has-panels .atlas-sidebar .atlas-notes-editor{display:block!important;width:100%!important;min-width:0!important;min-height:120px!important;flex:1 1 auto!important}
 body.atlas-has-panels .atlas-sidebar .atlas-notes-footer{display:flex!important;justify-content:space-between!important;width:100%!important;gap:5px!important}
}


@media(max-width:1100px){
 body.atlas-tablet-layout .atlas-left-toggle{display:grid!important;left:270px!important}
 body.atlas-tablet-layout .atlas-left-open{display:none!important;left:7px!important}
 body.atlas-tablet-layout.atlas-left-collapsed .atlas-left-toggle{display:none!important}
 body.atlas-tablet-layout.atlas-left-collapsed .atlas-left-open{display:grid!important}
 body.atlas-tablet-layout .atlas-right-toggle,
 body.atlas-tablet-layout .atlas-right-open{display:none!important}
}

@media(max-width:1100px){
 body.atlas-page-dashboard.atlas-tablet-layout .atlas-left-toggle{display:grid!important;left:270px!important}
 body.atlas-page-dashboard.atlas-tablet-layout .atlas-left-open{display:none!important}
 body.atlas-page-dashboard.atlas-tablet-layout.atlas-left-collapsed .atlas-left-toggle{display:none!important}
 body.atlas-page-dashboard.atlas-tablet-layout.atlas-left-collapsed .atlas-left-open{display:grid!important}
}

.atlas-page-dashboard #upcomingCalendarView .upcoming-day-event{
 font-size:11px!important;line-height:1.3!important;max-height:42px!important;
 -webkit-line-clamp:2!important;letter-spacing:0!important;
}


/* Left navigation: restore the earlier editorial Atlas sidebar, translated
   into the current Soft Paper ivory/lavender palette. */
.atlas-sidebar{
  width:248px!important;
  padding:26px 17px 18px!important;
  background:#fffdfa!important;
  border-right:1px solid var(--line)!important;
  box-shadow:1px 0 0 rgba(90,75,55,.015)!important;
}
.atlas-brand{
  display:flex!important;align-items:center!important;gap:12px!important;
  padding:2px 10px 30px!important;text-decoration:none!important;color:var(--ink)!important;
}
.atlas-brand-mark{
  width:38px!important;height:38px!important;min-width:38px!important;
  border-radius:13px!important;background:var(--accent-bg)!important;
  color:var(--accent-ink)!important;display:grid!important;place-items:center!important;
  box-shadow:0 4px 12px rgba(90,75,55,.07)!important;overflow:hidden!important;
}
.atlas-brand-mark img{width:30px!important;height:30px!important;object-fit:contain!important}
.atlas-brand-mark svg{width:21px!important;height:21px!important}
.atlas-brand-copy{display:flex!important;flex-direction:column!important;min-width:0!important}
.atlas-brand-name{
  display:block!important;
  font-family:"Iowan Old Style","Baskerville","Georgia",serif!important;
  font-style:italic!important;font-weight:650!important;
  font-size:19px!important;letter-spacing:-.045em!important;
  line-height:1.08!important;color:#343342!important;
  white-space:normal!important;
}
.atlas-brand-sub{display:block!important;margin-top:4px!important}
.atlas-nav-label{
  font-family:var(--font)!important;font-size:10px!important;
  letter-spacing:.13em!important;text-transform:uppercase!important;
  color:#a09a91!important;font-weight:750!important;
  padding:0 12px!important;margin:12px 0 8px!important;
}
.atlas-nav{display:grid!important;gap:4px!important}
.atlas-nav a{
  height:43px!important;min-height:43px!important;padding:0 12px!important;
  border-radius:12px!important;display:flex!important;align-items:center!important;
  gap:12px!important;text-decoration:none!important;
  color:#777383!important;font-family:var(--font)!important;
  font-size:13px!important;font-weight:590!important;
  transition:background .18s ease,color .18s ease,transform .18s ease!important;
}
.atlas-nav a svg{
  width:18px!important;height:18px!important;min-width:18px!important;
  stroke:currentColor!important;stroke-width:1.7!important;fill:none!important;
  flex:none!important;opacity:.88!important;
}
.atlas-nav a:hover{
  background:#f7f4ee!important;color:#46428f!important;
  transform:translateX(2px)!important;
}
.atlas-nav a.active{
  background:#ebe9fb!important;color:#46428f!important;font-weight:720!important;
  box-shadow:inset 3px 0 0 #8c87d8!important;
}
.atlas-nav a.active svg{stroke-width:2!important;opacity:1!important}
.atlas-sidebar-foot{
  margin-top:auto!important;border-top:1px solid var(--line)!important;
  padding:17px 10px 2px!important;color:#96918a!important;
  font-size:11px!important;line-height:1.5!important;
}
.atlas-sidebar-foot strong{display:block!important;color:#5a5d70!important;font-size:12px!important;margin-bottom:2px!important}
.atlas-main{margin-left:248px!important}
@media(max-width:980px){
 .atlas-sidebar{width:76px!important;padding:20px 10px!important}
 .atlas-brand{justify-content:center!important;padding:0 0 26px!important}
 .atlas-brand-copy,.atlas-nav-label,.atlas-nav span,.atlas-sidebar-foot{display:none!important}
 .atlas-nav a{justify-content:center!important;padding:0!important}
 .atlas-nav a svg{width:20px!important;height:20px!important}
 .atlas-main{margin-left:76px!important}
}
@media(max-width:650px){
 .atlas-sidebar{inset:auto 0 0!important;width:auto!important;height:66px!important;padding:7px 8px!important;display:block!important}
 .atlas-brand,.atlas-nav-label,.atlas-sidebar-foot{display:none!important}
 .atlas-nav{height:100%!important;display:flex!important;align-items:center!important;justify-content:space-around!important;gap:2px!important}
 .atlas-nav a{height:48px!important;min-width:44px!important;padding:0 7px!important;flex-direction:column!important;gap:2px!important}
 .atlas-nav a svg{width:18px!important;height:18px!important}
 .atlas-nav a span{display:block!important;font-size:9px!important}
 .atlas-main{margin-left:0!important;padding-bottom:70px!important}
 .atlas-topline{height:44px!important;padding:0 18px!important}
}


/* V6: restore the original lavender accent and tidy the dashboard widgets. */

/* The attempt selector should read as one simple, softly rounded card. */
.atlas-page-dashboard .atlas-right-attempt-panel{
  background:var(--panel)!important;
  border:1px solid var(--line)!important;
  border-radius:var(--r-lg)!important;
  box-shadow:var(--sh-1)!important;
  padding:8px!important;
  overflow:visible!important;
}
.atlas-page-dashboard .atlas-right-attempt-panel>.attempt-wrap{
  width:100%!important;margin:0!important;padding:0!important;
  background:transparent!important;border:0!important;border-radius:0!important;
  box-shadow:none!important;
}
.atlas-page-dashboard .atlas-right-attempt-panel>.attempt-wrap>.attempt-top{
  display:flex!important;align-items:center!important;gap:6px!important;
  width:100%!important;margin:0!important;padding:0!important;
  background:transparent!important;border:0!important;box-shadow:none!important;
}
.atlas-page-dashboard .atlas-right-attempt-panel .history-toggle{
  min-height:62px!important;width:100%!important;
  border:0!important;border-radius:var(--r-md)!important;
  background:transparent!important;box-shadow:none!important;
  padding:8px 10px!important;
}
.atlas-page-dashboard .atlas-right-attempt-panel #activeAttemptName{
  color:var(--ink)!important;font-weight:700!important;
  max-width:100%!important;
}
.atlas-page-dashboard .atlas-right-attempt-panel #attemptSub{
  color:var(--muted)!important;
}
.atlas-page-dashboard .atlas-right-attempt-panel #countdown{
  color:var(--green)!important;
}

/* Remove the small tagline under the application title on all pages. */
html body .wrap>header .sub{display:none!important}

/* Notes should contain only the editable note area, without status/count labels. */
.atlas-page-dashboard .atlas-notes-card,
body.atlas-has-panels .atlas-notes-card{
  display:flex!important;flex-direction:column!important;
}
.atlas-page-dashboard .atlas-notes-editor,
body.atlas-has-panels .atlas-notes-editor{
  line-height:1.8!important;
  padding:14px!important;
  white-space:pre-wrap!important;
  overflow-wrap:anywhere!important;
  tab-size:2;
}
.atlas-page-dashboard .atlas-notes-footer,
body.atlas-has-panels .atlas-notes-footer{display:none!important}

/* Keep the two schedule modes the same height. The event list uses the full
   available module height instead of stopping halfway down the panel. */
.atlas-page-dashboard #upcomingEventsView,
.atlas-page-dashboard #upcomingCalendarView{
  min-height:500px!important;
  height:500px!important;
  box-sizing:border-box!important;
}
.atlas-page-dashboard #upcomingEventsView{
  display:block;
  min-width:0!important;
}
.atlas-page-dashboard #upcomingEventsView .upcoming-events{
  display:flex!important;
  flex-direction:column!important;
  justify-content:space-between!important;
  gap:10px!important;
  height:100%!important;
  min-height:100%!important;
  max-height:none!important;
  overflow-y:auto!important;
  padding:0 5px 0 0!important;
  box-sizing:border-box!important;
}
.atlas-page-dashboard #upcomingEventsView .upcoming-event{
  flex:0 0 auto!important;
  width:100%!important;
  box-sizing:border-box!important;
}
.atlas-page-dashboard #upcomingCalendarView{
  display:none!important;
  overflow:visible!important;
  padding:12px!important;
  border:1px solid var(--line)!important;
  border-radius:var(--r-lg)!important;
  background:var(--panel)!important;
}
.atlas-page-dashboard #upcomingCalendarView.active{
  display:block!important;
}
.atlas-page-dashboard #upcomingCalendarView .upcoming-calendar-grid{
  height:calc(100% - 46px)!important;
  min-height:0!important;
  grid-template-rows:28px repeat(6,minmax(0,1fr))!important;
  gap:5px!important;
}
.atlas-page-dashboard #upcomingCalendarView .upcoming-day{
  min-height:0!important;height:auto!important;
  padding:5px!important;box-sizing:border-box!important;
}
.atlas-page-dashboard #upcomingCalendarView .upcoming-day-event{
  max-width:100%!important;white-space:normal!important;
}

/* Add breathing room between the snapshot and test history. */
.atlas-page-dashboard #snapshotPanel{
  margin-bottom:22px!important;
}

/* The emblem is a black transparent PNG, with no tinted tile behind it. */
.atlas-sidebar .atlas-brand-mark,
.atlas-sidebar .atlas-emblem-mark{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:0!important;
  overflow:visible!important;
}
.atlas-sidebar .atlas-brand-mark img{
  width:34px!important;height:42px!important;
  object-fit:contain!important;
  filter:none!important;
}

.atlas-page-dashboard .atlas-right-attempt-panel>.panel{
  width:100%!important;margin:0!important;padding:0!important;
  background:transparent!important;border:0!important;border-radius:0!important;
  box-shadow:none!important;overflow:visible!important;
}
.atlas-page-dashboard .atlas-right-attempt-panel>.panel>.attempt-wrap{
  width:100%!important;margin:0!important;padding:0!important;
  background:transparent!important;border:0!important;border-radius:0!important;
  box-shadow:none!important;
}
.atlas-page-dashboard #upcomingEventsView[style*="display: none"]{display:none!important}
.atlas-page-dashboard #upcomingEventsView:not([style*="display: none"]){display:block!important}


/* V7 fixes requested from the screenshots. */

/* The Needs improvement accordion header stays neutral in every interaction state.
   Only its small caret remains softly tinted. */
html body #needsPanel>.history-toggle,
html body #needsPanel>.history-toggle:hover,
html body #needsPanel>.history-toggle:active,
html body #needsPanel>.history-toggle:focus,
html body #needsPanel>.history-toggle:focus-visible{
  background:transparent!important;
  background-image:none!important;
  color:var(--ink)!important;
  box-shadow:none!important;
  outline:none!important;
  border:0!important;
  transform:none!important;
  filter:none!important;
}
html body #needsPanel>.history-toggle>span:first-child{
  background:transparent!important;
  color:var(--ink)!important;
}
html body #needsPanel>.history-toggle #needsCaret,
html body #needsPanel>.history-toggle:hover #needsCaret,
html body #needsPanel>.history-toggle:focus #needsCaret{
  background:var(--surface-3)!important;
  color:var(--ink-2)!important;
  box-shadow:none!important;
}

/* Do not draw mini progress bars at the bottom of marks/accuracy pills. */
html body [data-v]::after,
html body .health-status[data-v]::after,
html body .attempt-pct[data-v]::after,
html body .metric-pill[data-v]::after,
html body .avg-value[data-v]::after{
  display:none!important;
  content:none!important;
  width:0!important;height:0!important;
  opacity:0!important;
}

/* Collapsing/expanding must be immediate and stable, not animated or eased. */
html body #testHistoryBody,
html body #testTrendBody,
html body #overallAnalyticsBody,
html body #needsImprovementBody,
html body #analysisBody,
html body #upcomingTestBody,
html body .panel.is-collapsing,
html body .panel.is-expanding,
html body .history-toggle,
html body .history-toggle *,
html body .section-caret,
html body .history-caret{
  transition:none!important;
  animation:none!important;
  scroll-behavior:auto!important;
}
html body #needsPanel,
html body #needsPanel *,
html body #testHistoryPanel,
html body #testHistoryPanel *,
html body #testTrendPanel,
html body #testTrendPanel *{
  transition:none!important;
  animation:none!important;
}
html body .history-toggle:active,
html body .history-toggle:focus,
html body .history-toggle:focus-visible{
  transform:none!important;
  outline:none!important;
}

/* Graph series: lavender for marks; the filled area uses the same colour as
   whichever series is first/lowest in the active legend order. */
html body #testTrendChart .test-trend-svg [stroke="#8c87d8"]{
  stroke:#8c87d8!important;
}
html body #testTrendChart .test-trend-svg [fill="#8c87d8"]{
  fill:#8c87d8!important;
}


/* V8: use the same calm attempt-card treatment on secondary pages as on Overview.
   The select remains the interactive surface, but no longer looks like a separate form field. */
body.atlas-has-panels .atlas-shared-attempt{
  display:flex!important;
  flex:0 0 auto!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:2px!important;
  min-height:94px!important;
  padding:10px 12px 11px!important;
  background:var(--panel)!important;
  border:1px solid var(--line)!important;
  border-radius:var(--r-lg)!important;
  box-shadow:var(--sh-1)!important;
  color:var(--ink)!important;
}
body.atlas-has-panels .atlas-shared-attempt .atlas-sidebar-card-heading{
  display:none!important;
}
body.atlas-has-panels .atlas-shared-attempt-select{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  min-height:29px!important;
  height:29px!important;
  margin:0!important;
  padding:0 18px 0 4px!important;
  border:0!important;
  border-radius:0!important;
  outline:none!important;
  box-shadow:none!important;
  background-color:transparent!important;
  color:var(--ink)!important;
  font-family:var(--font)!important;
  font-size:13px!important;
  font-weight:720!important;
  line-height:1.25!important;
  text-align:center!important;
  text-align-last:center!important;
  appearance:none!important;
  -webkit-appearance:none!important;
  cursor:pointer!important;
}
body.atlas-has-panels .atlas-shared-attempt-select:focus,
body.atlas-has-panels .atlas-shared-attempt-select:focus-visible{
  outline:none!important;
  box-shadow:none!important;
  background:transparent!important;
}
body.atlas-has-panels .atlas-shared-countdown{
  display:block!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  text-align:center!important;
  color:var(--green)!important;
  font-family:var(--display)!important;
  font-size:20px!important;
  font-weight:680!important;
  line-height:1.25!important;
  letter-spacing:-.015em!important;
}


/* During a live test, remove only the persistent study rails. The practice
   selection screen and post-test results keep the panels available. */
body.atlas-test-active .atlas-shell{
  grid-template-columns:minmax(0,1fr)!important;
}
body.atlas-test-active .atlas-sidebar,
body.atlas-test-active .atlas-shared-sidebar,
body.atlas-test-active .atlas-rail-toggle{
  display:none!important;
}
body.atlas-test-active .atlas-main{
  margin-left:0!important;
  width:100%!important;
  min-width:0!important;
}
body.atlas-test-active .atlas-main>.wrap{
  max-width:100%!important;
}


/* V9 — responsive containment: no dashboard card may push into the right rail. */
.atlas-page-dashboard .atlas-dashboard-layout,
.atlas-page-dashboard .atlas-dashboard-main,
.atlas-page-dashboard .atlas-dashboard-sidebar,
.atlas-page-dashboard .atlas-dashboard-main>.panel,
.atlas-page-dashboard .atlas-dashboard-main>.toolbar,
.atlas-page-dashboard .atlas-snapshot-panel,
.atlas-page-dashboard .atlas-snapshot-grid,
.atlas-page-dashboard .atlas-snapshot-card{
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
.atlas-page-dashboard .atlas-snapshot-grid{
  width:100%!important;
  grid-template-columns:minmax(0,1.65fr) repeat(4,minmax(0,1fr))!important;
  gap:10px!important;
}
.atlas-page-dashboard .atlas-snapshot-card{
  width:100%!important;
  overflow:hidden!important;
}
.atlas-page-dashboard .atlas-snapshot-card .snapshot-value{
  max-width:100%!important;
  min-width:0!important;
  font-size:clamp(21px,2vw,34px)!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.atlas-page-dashboard .snapshot-ring-row{
  min-width:0!important;
  max-width:100%!important;
  gap:7px!important;
}
.atlas-page-dashboard .atlas-snapshot-ring{
  flex:0 0 42px!important;
  width:42px!important;
  height:42px!important;
}
.atlas-page-dashboard .atlas-snapshot-card .snapshot-caption{
  min-width:0!important;
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.atlas-page-dashboard .atlas-dashboard-main>.panel{
  overflow:hidden!important;
}
@media(max-width:1250px){
  .atlas-page-dashboard .atlas-snapshot-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
  .atlas-page-dashboard .atlas-snapshot-card.snapshot-score{
    grid-column:span 2!important;
  }
}
@media(max-width:900px){
  .atlas-page-dashboard .atlas-snapshot-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .atlas-page-dashboard .atlas-snapshot-card.snapshot-score{
    grid-column:1/-1!important;
  }
}
@media(max-width:520px){
  .atlas-page-dashboard .atlas-snapshot-grid{
    grid-template-columns:minmax(0,1fr)!important;
  }
  .atlas-page-dashboard .atlas-snapshot-card.snapshot-score{
    grid-column:auto!important;
  }
}

/* Shared right rail typography follows the Claude soft-paper font tokens. */
.atlas-dashboard-sidebar,
.atlas-dashboard-sidebar *,
.atlas-shared-sidebar,
.atlas-shared-sidebar *{
  font-family:var(--font)!important;
}
.atlas-sidebar-card-heading{
  font-family:var(--font)!important;
  font-size:13px!important;
  font-weight:650!important;
  letter-spacing:0!important;
  text-transform:none!important;
  color:var(--ink)!important;
}
.atlas-mini-calendar,
.atlas-mini-calendar *,
.atlas-notes-editor,
.atlas-todo-card,
.atlas-todo-card *{
  font-family:var(--font)!important;
}
.atlas-shared-attempt-select{
  font-family:var(--font)!important;
}

/* To-do list: compact, persistent, and visually consistent with Notes. */
.atlas-todo-card{
  display:flex!important;
  flex-direction:column!important;
  gap:10px!important;
  width:100%!important;
  min-width:0!important;
  padding:13px!important;
  background:var(--panel)!important;
  border:1px solid var(--line)!important;
  border-radius:var(--r-lg)!important;
  box-shadow:var(--sh-1)!important;
  color:var(--ink)!important;
  box-sizing:border-box!important;
}
.atlas-todo-card .atlas-sidebar-card-heading{
  display:flex!important;
  justify-content:space-between!important;
  align-items:center!important;
  margin:0!important;
}
.atlas-todo-count{
  color:var(--muted)!important;
  font-size:11px!important;
  font-weight:550!important;
}
.atlas-todo-form{
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
}
.atlas-todo-input{
  flex:1 1 auto!important;
  width:0!important;
  min-width:0!important;
  height:36px!important;
  padding:7px 9px!important;
  border:1px solid var(--line-2)!important;
  border-radius:var(--r-sm)!important;
  background:var(--surface-2)!important;
  color:var(--ink)!important;
  font:12px/1.3 var(--font)!important;
  box-shadow:none!important;
}
.atlas-todo-form>button{
  flex:0 0 34px!important;
  width:34px!important;
  height:34px!important;
  padding:0!important;
  border:1px solid var(--line)!important;
  border-radius:var(--r-sm)!important;
  background:var(--accent-bg)!important;
  color:var(--accent-ink)!important;
  font-size:20px!important;
  line-height:1!important;
}
.atlas-todo-items{
  display:flex!important;
  flex-direction:column!important;
  gap:7px!important;
  width:100%!important;
  min-width:0!important;
  max-height:220px!important;
  overflow-y:auto!important;
  list-style:none!important;
  margin:0!important;
  padding:0!important;
}
.atlas-todo-item{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:7px!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:3px 0!important;
}
.atlas-todo-label{
  display:flex!important;
  align-items:flex-start!important;
  gap:8px!important;
  min-width:0!important;
  flex:1 1 auto!important;
  color:var(--ink-2)!important;
  font:12px/1.5 var(--font)!important;
  cursor:pointer!important;
}
.atlas-todo-label input{
  flex:0 0 15px!important;
  width:15px!important;
  height:15px!important;
  min-height:15px!important;
  margin:2px 0 0!important;
  accent-color:var(--accent)!important;
}
.atlas-todo-label span{
  min-width:0!important;
  overflow-wrap:anywhere!important;
}
.atlas-todo-item.done .atlas-todo-label span{
  color:var(--muted)!important;
  text-decoration:line-through!important;
}
.atlas-todo-remove{
  flex:0 0 22px!important;
  width:22px!important;
  height:22px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:var(--muted)!important;
  font:16px/1 var(--font)!important;
}
.atlas-todo-empty{
  color:var(--muted)!important;
  font:11px/1.5 var(--font)!important;
  padding:2px 0!important;
}
.atlas-dashboard-sidebar .atlas-todo-card,
.atlas-shared-sidebar .atlas-todo-card{
  flex:0 0 auto!important;
}

/* Calendar: explicitly label days belonging to the previous/next month. */
.atlas-page-dashboard .upcoming-day-number{
  display:flex!important;
  align-items:center!important;
  gap:5px!important;
  min-width:0!important;
}
.atlas-page-dashboard .upcoming-day-number small{
  color:var(--muted)!important;
  font:600 9px/1 var(--font)!important;
  text-transform:uppercase!important;
  letter-spacing:.04em!important;
}
.atlas-page-dashboard .upcoming-day.other-month{
  background:var(--surface-2)!important;
  color:var(--muted)!important;
  opacity:1!important;
}
.atlas-page-dashboard .upcoming-day.other-month .upcoming-day-number{
  color:var(--muted)!important;
}
.atlas-page-dashboard .upcoming-day.today{
  background:var(--accent-bg)!important;
  border-color:var(--accent-mid)!important;
}
.atlas-page-dashboard .upcoming-day.today .upcoming-day-number{
  color:var(--accent-ink)!important;
  background:transparent!important;
}
.atlas-mini-day>span{
  display:inline-flex!important;
  align-items:center!important;
  gap:2px!important;
}
.atlas-mini-day>span small{
  color:var(--muted)!important;
  font:600 8px/1 var(--font)!important;
  text-transform:uppercase!important;
}
.atlas-mini-day.today{
  background:transparent!important;
  color:var(--accent-ink)!important;
  outline:1px solid var(--accent-mid)!important;
  outline-offset:-2px!important;
}

/* Test-history average row should be ivory, not lavender. */
html body .test-average,
html body .test-average td,
html body .test-average th{
  background:var(--panel)!important;
}

/* Do not show the green status/live dot in the application frame. */
.atlas-live-dot{display:none!important}

/* Embedded facts mode: render only the selected test's facts content. */
body.atlas-fact-embed{
  background:var(--bg)!important;
  overflow-x:hidden!important;
}
body.atlas-fact-embed .wrap{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0 0 18px!important;
}
body.atlas-fact-embed .wrap>header,
body.atlas-fact-embed .wrap>.top .sourcebar,
body.atlas-fact-embed .wrap>.top .status{
  display:none!important;
}
body.atlas-fact-embed .wrap>.top{
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.atlas-fact-embed .wrap>.panel{
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
body.atlas-fact-embed .detail-grid,
body.atlas-fact-embed .analytics-grid{
  grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))!important;
}
body.atlas-fact-embed .table-wrap{
  max-width:100%!important;
  overflow-x:auto!important;
}

/* Give the history section some room after the last row. */
.atlas-page-dashboard #testHistoryPanel{
  margin-bottom:26px!important;
}

/* General containment for all rail pages: long labels wrap instead of escaping cards. */
.atlas-main,.atlas-main>.wrap,.atlas-main .panel,
.atlas-dashboard-sidebar,.atlas-shared-sidebar,
.atlas-dashboard-sidebar>* ,.atlas-shared-sidebar>*{
  min-width:0!important;
  box-sizing:border-box!important;
}
.atlas-dashboard-sidebar .atlas-calendar-card,
.atlas-dashboard-sidebar .atlas-notes-card,
.atlas-shared-sidebar .atlas-calendar-card,
.atlas-shared-sidebar .atlas-notes-card{
  width:100%!important;
  max-width:100%!important;
  overflow:hidden!important;
}
.atlas-notes-editor{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  font-family:var(--font)!important;
}


.atlas-dashboard-sidebar .panel *,
.atlas-shared-sidebar .panel *{
  min-width:0;
  box-sizing:border-box;
}
.atlas-dashboard-sidebar .panel :is(p,span,strong,b,small,label,div),
.atlas-shared-sidebar .panel :is(p,span,strong,b,small,label,div){
  overflow-wrap:anywhere;
}
.atlas-dashboard-sidebar .panel :is(input,select,textarea,button),
.atlas-shared-sidebar .panel :is(input,select,textarea,button){
  max-width:100%;
}
.atlas-dashboard-sidebar .atlas-calendar-card,
.atlas-shared-sidebar .atlas-calendar-card{
  font-variant-numeric:tabular-nums;
}
.atlas-dashboard-sidebar .atlas-mini-calendar,
.atlas-shared-sidebar .atlas-mini-calendar{
  width:100%!important;
  max-width:100%!important;
  overflow:hidden!important;
}
.atlas-dashboard-sidebar .atlas-mini-calendar-grid,
.atlas-shared-sidebar .atlas-mini-calendar-grid{
  width:100%!important;
  min-width:0!important;
  grid-template-columns:repeat(7,minmax(0,1fr))!important;
}


/* V10 — compact calendar restored. Only schedule-calendar adjacent-month cells
   receive a subtle darker surface; the right-rail calendar remains date-only. */
.atlas-mini-day>span{
  display:inline!important;
  align-items:initial!important;
  gap:0!important;
}
.atlas-mini-day>span small{display:none!important}
.atlas-page-dashboard .atlas-calendar-card .atlas-mini-day.other,
.atlas-shared-sidebar .atlas-mini-day.other{
  background:transparent!important;
  opacity:1!important;
}
.atlas-page-dashboard #upcomingCalendarView .upcoming-day.other-month{
  background:#eeeae2!important;
  opacity:1!important;
  color:var(--muted)!important;
}
.atlas-page-dashboard #upcomingCalendarView .upcoming-day.other-month .upcoming-day-number{
  color:var(--muted)!important;
}

/* The right-side panel uses the serif display face from the app title reference. */
.atlas-page-dashboard .atlas-dashboard-sidebar,
.atlas-page-dashboard .atlas-dashboard-sidebar *,
.atlas-shared-sidebar,
.atlas-shared-sidebar *{
  font-family:var(--display)!important;
}
.atlas-dashboard-sidebar .atlas-todo-input,
.atlas-shared-sidebar .atlas-todo-input,
.atlas-dashboard-sidebar .atlas-notes-editor,
.atlas-shared-sidebar .atlas-notes-editor{
  font-family:var(--display)!important;
}
.atlas-dashboard-sidebar .atlas-sidebar-card-heading,
.atlas-shared-sidebar .atlas-sidebar-card-heading{
  font-family:var(--display)!important;
  font-weight:600!important;
}

/* To-do follows Calendar in both dashboard and shared right rails. */
.atlas-page-dashboard .atlas-dashboard-sidebar{
  display:flex!important;
  flex-direction:column!important;
  gap:15px!important;
}
.atlas-page-dashboard .atlas-dashboard-sidebar .atlas-calendar-card{order:2!important}
.atlas-page-dashboard .atlas-dashboard-sidebar .atlas-todo-card{order:3!important}
.atlas-page-dashboard .atlas-dashboard-sidebar .atlas-notes-card{order:4!important}
.atlas-shared-sidebar{
  display:flex!important;
  flex-direction:column!important;
}
.atlas-shared-sidebar .atlas-calendar-card{order:2!important}
.atlas-shared-sidebar .atlas-todo-card{order:3!important}
.atlas-shared-sidebar .atlas-notes-card{order:4!important}

/* Keep the snapshot grid and every tile inside the snapshot card. */
.atlas-page-dashboard .atlas-snapshot-panel,
.atlas-page-dashboard #atlasSnapshotPanel,
.atlas-page-dashboard .atlas-snapshot-grid{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}
.atlas-page-dashboard .atlas-snapshot-grid{
  grid-template-columns:minmax(0,1.35fr) repeat(4,minmax(0,1fr))!important;
  gap:9px!important;
}
.atlas-page-dashboard .atlas-snapshot-card{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  overflow:hidden!important;
  padding-left:clamp(9px,1vw,15px)!important;
  padding-right:clamp(9px,1vw,15px)!important;
}
.atlas-page-dashboard .atlas-snapshot-card .snapshot-value{
  font-size:clamp(20px,2.25vw,34px)!important;
  min-width:0!important;
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.atlas-page-dashboard .atlas-snapshot-card .snapshot-caption,
.atlas-page-dashboard .atlas-snapshot-card .snapshot-label{
  min-width:0!important;
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.atlas-page-dashboard .snapshot-ring-row{
  min-width:0!important;
  max-width:100%!important;
  gap:5px!important;
}
.atlas-page-dashboard .atlas-snapshot-ring{
  width:clamp(30px,3vw,48px)!important;
  height:clamp(30px,3vw,48px)!important;
  flex:0 0 clamp(30px,3vw,48px)!important;
}

/* At a normal 100% browser zoom, use the compact 85%-style density while
   preserving the full viewport width and avoiding horizontal page scrolling. */
html,body{
  max-width:100%!important;
  overflow-x:hidden!important;
}
body{
  zoom:.85;
  width:117.6470588%!important;
  min-width:0!important;
}
.atlas-shell,.atlas-main,.atlas-main>.wrap,
.atlas-page-dashboard .atlas-dashboard-layout,
.atlas-page-dashboard .atlas-dashboard-main{
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
.atlas-main{
  overflow-x:hidden!important;
}
.atlas-page-dashboard .atlas-dashboard-main{
  width:100%!important;
}
.atlas-page-dashboard .atlas-dashboard-layout{
  width:100%!important;
}
.atlas-page-dashboard .atlas-dashboard-sidebar{
  overflow-y:auto!important;
  overflow-x:hidden!important;
}

/* Hide scrollbars visually while retaining normal scrolling/keyboard navigation. */
html,body,.atlas-main,.atlas-dashboard-sidebar,.atlas-shared-sidebar,
.atlas-page-dashboard #upcomingEventsView .upcoming-events,
.atlas-page-dashboard #upcomingCalendarView,
.atlas-page-dashboard .atlas-todo-items{
  scrollbar-width:none!important;
  -ms-overflow-style:none!important;
}
html::-webkit-scrollbar,body::-webkit-scrollbar,
.atlas-main::-webkit-scrollbar,
.atlas-dashboard-sidebar::-webkit-scrollbar,
.atlas-shared-sidebar::-webkit-scrollbar,
.atlas-page-dashboard #upcomingEventsView .upcoming-events::-webkit-scrollbar,
.atlas-page-dashboard #upcomingCalendarView::-webkit-scrollbar,
.atlas-page-dashboard .atlas-todo-items::-webkit-scrollbar{
  display:none!important;
  width:0!important;
  height:0!important;
}

/* Give the Test History section a clear gap before the following panel. */
html body.atlas-page-dashboard .atlas-dashboard-main>#testHistoryPanel{
  margin-bottom:30px!important;
}
html body.atlas-page-dashboard #testHistoryPanel{
  margin-bottom:30px!important;
}

/* Larger, easier-to-read upcoming-test summary. */
html body.atlas-page-dashboard .upcoming-test-summary{
  gap:10px!important;
  min-height:48px!important;
  padding:5px 4px!important;
}
html body.atlas-page-dashboard .upcoming-test-label,
html body.atlas-page-dashboard .upcoming-test-next{
  font-size:17px!important;
  line-height:1.45!important;
}
html body.atlas-page-dashboard .upcoming-test-date{
  font-size:15px!important;
  line-height:1.45!important;
}
html body.atlas-page-dashboard .upcoming-test-toggle{
  font-size:13px!important;
  padding:8px 13px!important;
}

/* Make all rail content wrap rather than forcing a wider page. */
.atlas-dashboard-sidebar>*,
.atlas-shared-sidebar>*,
.atlas-dashboard-sidebar .panel *,
.atlas-shared-sidebar .panel *{
  min-width:0!important;
  max-width:100%;
  overflow-wrap:anywhere;
  box-sizing:border-box!important;
}
.atlas-dashboard-sidebar .atlas-todo-form,
.atlas-shared-sidebar .atlas-todo-form{
  width:100%!important;
}
.atlas-dashboard-sidebar .atlas-todo-input,
.atlas-shared-sidebar .atlas-todo-input{
  flex:1 1 0!important;
  width:0!important;
}
