/* ALTURA: illuminated terrain, quiet reading surfaces and visible actions. */
:root{--bg:#080f14;--surface:#101b22;--accent-text:#80e5ee;--primary:#65dce9;--primary-ink:#062128}
body{background:radial-gradient(ellipse at 80% 0,#12303a55,transparent 48%),#080f14}
.workspace-sidebar{background:linear-gradient(160deg,#111e25,#080f14 80%);border-color:#23343d}
.workspace-active .account-topbar{background:#080f14e8}
.workspace-page-heading h1{letter-spacing:-.045em;font-weight:400}
.dashboard-top{grid-template-columns:minmax(0,1fr) 255px;gap:24px}
.ascent-objective{position:relative;isolation:isolate;overflow:hidden;min-height:280px;border:1px solid #2c505d;border-radius:18px;background:radial-gradient(ellipse at 90% 40%,#1b526455,transparent 64%),#0b151b}
.ascent-objective .ascent-visual{left:55%;right:-12%;top:0;bottom:0;opacity:.42;mask-image:linear-gradient(90deg,transparent,#000 32%)}
.ascent-objective .dashboard-card{position:relative;width:78%;min-height:280px;padding:28px 30px;border:0;background:linear-gradient(90deg,#0b151bf0,#0b151bb0 65%,transparent);border-radius:0;box-shadow:none}
.ascent-objective h2{font-size:clamp(24px,2.3vw,30px);line-height:1.22;letter-spacing:-.035em;font-weight:400;max-width:650px}
.ascent-objective .dashboard-card>p{max-width:650px;line-height:1.8}
.ascent-objective .eyebrow{color:#76dce7;letter-spacing:.19em;font-size:10px}
.ascent-objective .dashboard-action{margin:12px 10px 0 0}
.ascent-objective .dashboard-action.primary{display:table;padding:12px 20px}
.ascent-objective .small{font-size:12px}
.ascent-objective .ascent-caption{position:absolute;right:22px;bottom:15px;font-size:9px;color:#9cb6c2;max-width:35%;text-align:right}
.dashboard-top>.review-card{border:0;border-left:1px solid #28404b;border-radius:0;background:transparent;padding:28px 0 28px 24px;align-self:center}
.dashboard-bottom{gap:28px;margin-top:30px}
.dashboard-section{background:transparent;border-color:#263c46;border-radius:12px}
#dashboard-content>.dashboard-section{margin-top:28px}
.dashboard-item{border-color:#243d47;background:#101d24}
.dashboard-item-copy strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-weight:400}
.dashboard-summary{font-size:11px;letter-spacing:.02em}
.review-hero{min-height:150px;border-radius:18px;background:radial-gradient(ellipse at 75% 50%,#17485866,transparent 70%),#0b151b}
.review-hero-copy{max-width:74%;padding:24px 30px}
.review-hero-copy h2{font-size:clamp(25px,2.5vw,32px);line-height:1.12}
.review-landscape{right:-3%;top:0;width:38%;height:110%;opacity:.55;mask-image:linear-gradient(90deg,transparent,#000 32%)}
.review-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:540px;margin:26px 0 6px;gap:30px}
.review-stat,.review-stat:first-child{border:0;background:transparent;padding:0 0 12px;flex-direction:row;align-items:baseline;gap:12px;border-bottom:1px solid #2b4650;border-radius:0}
.review-stat strong{font-size:40px;color:#b3f1f6}
.review-secondary-counts{font-size:11px;margin:0 0 24px;color:#92aab7}
.review-setup-grid{grid-template-columns:minmax(0,1.3fr) minmax(250px,1fr);gap:36px}
.review-setup{background:#111f27;border-color:#31505d;border-radius:14px}
.review-guide{background:transparent;border:0;padding:24px 4px}
.recall-card{background:#111e26;border-color:#35535f;border-radius:16px;box-shadow:0 20px 60px #0002}
#specialty-library-panel>.heading{padding:12px 0 26px;border:0;border-bottom:1px solid #2a414c;border-radius:0;background:transparent}
#specialty-library-panel .heading h2{font-size:clamp(26px,3vw,36px);letter-spacing:-.04em}
#specialty-library-panel .library-filters{grid-template-columns:minmax(0,1.7fr) minmax(110px,.65fr) minmax(140px,1fr)}
.personal-library-layout{grid-template-columns:minmax(250px,.8fr) minmax(0,1.4fr);gap:30px}
#personal-library-items{gap:0;border-top:1px solid #2c424c}
.personal-library-item{border:0;border-bottom:1px solid #2c424c;border-radius:0;background:transparent;padding:22px 18px;gap:10px}
.personal-library-item[aria-pressed=true]{background:linear-gradient(90deg,#13333e,#10232a);box-shadow:inset 2px 0 #70dce8;border-color:#355762}
.personal-library-item>strong{-webkit-line-clamp:2;font-size:15px;line-height:1.6}
.library-image-count{font-size:10px;color:#9dd7e2;letter-spacing:.02em}
.library-image-count:before{content:'▧';margin-right:6px}
.library-detail{position:static;background:#101c23;border-color:#2c4652;border-radius:14px;padding:30px;box-shadow:0 15px 50px #0002}
.library-detail h3{font-size:24px;line-height:1.5}
.library-detail .saved-library-text{font-size:17px;line-height:1.8}
.library-detail .item-topic-links{margin-top:28px;padding-top:18px}
.item-topic-links summary{cursor:pointer;color:#a6dce6;font-size:12px;min-height:38px}
.card-actions{display:flex;flex-wrap:wrap;gap:10px;margin:4px 0 22px}
.card-actions button{font-size:12px;min-height:42px;background:#152c35;border-color:#385761;padding:8px 16px}
.card-actions .danger-text{background:transparent;color:#e4aaa7;border-color:transparent}
.saved-image{border-radius:12px;background:#060b10;padding:12px}
.saved-image>.review-text-action{display:block;margin:0 auto;text-align:center;font-size:11px}
.saved-image img{border-radius:4px;max-height:510px}
.card-dialog,.image-dialog{color:#e4eff2;background:#101e26;border:1px solid #496571;border-radius:16px;box-shadow:0 30px 120px #0009;padding:30px;width:min(720px,calc(100vw - 32px));max-height:90dvh;overflow:auto}
.card-dialog::backdrop,.image-dialog::backdrop{background:#03090ecf;backdrop-filter:blur(5px)}
.card-dialog h2{font-size:28px;font-weight:400;letter-spacing:-.025em;margin:12px 0 22px}
.card-dialog label{display:block;margin:18px 0;color:#adcad4;font-size:13px}
.card-dialog textarea{display:block;width:100%;margin-top:8px;font-size:16px;line-height:1.65;background:#09151c;padding:12px;resize:vertical;border-color:#3b5561}
.card-dialog button{margin:12px 10px 0 0;min-height:44px}
.card-dialog [role=status]:empty{display:none}
.card-dialog .card-conflict{border-left:2px solid #d6b284;padding:12px;color:#e8cfad}
.image-dialog{width:min(1280px,calc(100vw - 32px));background:#070e14;padding:18px}
.image-dialog>button{display:block;margin:0 0 16px auto}
.image-dialog img{display:block;width:auto;max-width:100%;height:auto;max-height:75dvh;object-fit:contain;margin:auto}
.image-dialog p{font-size:12px;color:#afc6d1;text-align:center}

@media(max-width:1100px){.dashboard-top{grid-template-columns:1fr}.dashboard-top>.review-card{border-left:0;border-top:1px solid #28404b;padding:24px 0}.ascent-objective .dashboard-card{width:82%}.review-hero-copy{max-width:78%}.personal-library-layout{gap:20px;grid-template-columns:minmax(220px,.8fr) minmax(0,1.2fr)}}
@media(max-width:800px){.ascent-objective{min-height:0}.ascent-objective .dashboard-card{padding:24px;min-height:0;width:100%;background:#0b151be8}.ascent-objective .ascent-visual{left:40%;right:-45%;opacity:.25}.ascent-objective .ascent-caption{font-size:8px;right:15px}.review-hero-copy{padding:22px;max-width:100%}.review-landscape{right:-25%;top:0;width:65%;height:100%;opacity:.15}.review-hero{min-height:0}.review-setup-grid,.personal-library-layout{grid-template-columns:1fr}.review-stat-grid{gap:22px}.review-stat strong{font-size:34px}.library-detail{padding:24px}.review-guide{padding:8px}.card-dialog{padding:22px}#specialty-library-panel .library-filters{grid-template-columns:1fr 1fr}#specialty-library-panel .library-filters>label:first-child{grid-column:1/-1}.personal-library-item{padding:20px 14px}.library-options{gap:10px}.library-options label{font-size:11px}.image-dialog{padding:12px}.saved-image img{max-height:65dvh}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.card-dialog::backdrop,.image-dialog::backdrop{backdrop-filter:none}}

/* Readable clinical content; decorative terrain remains a secondary accent. */
.ascent-objective .dashboard-card>p:not(.eyebrow){font-size:16px;line-height:1.65}
.ascent-objective .dashboard-card>p.next-step-instruction{font-size:18px;color:#e0edf1}
.ascent-objective .dashboard-card>p.next-step-source{font-size:13px;color:#aac3cd}
.ascent-objective .dashboard-action{width:auto;display:inline-flex;font-size:14px;min-height:44px;margin:8px 12px 0 0}
.ascent-objective .dashboard-action.primary{display:inline-flex}
.ascent-objective .ascent-caption{font-size:11px;bottom:10px;opacity:.75}
.dashboard-card.review-card h2{font-size:22px}
.dashboard-card.review-card>p:not(.eyebrow){font-size:14px}
.dashboard-card .eyebrow,.ascent-objective .eyebrow{font-size:11px}
.review-counts span,.library-total span{font-size:12px}
.dashboard-section>h2,.dashboard-section-head h2{font-size:20px}
.dashboard-section>h3{font-size:17px}
.dashboard-section p,.dashboard-session{font-size:15px;line-height:1.75}
.dashboard-section .small,.dashboard-section .dashboard-section-note{font-size:13px}
.dashboard-session{border-top:1px solid #29434f;padding-top:12px;margin-top:16px}
.dashboard-session summary{font-size:17px;color:#d0eaf0}
.dashboard-item strong,.dashboard-domain strong{font-size:15px}
.dashboard-item small,.dashboard-domain small{font-size:12px}
.dashboard-section-head button{font-size:13px}
.workspace-tabs button{font-size:14px}
.review-hero-copy p:last-child{font-size:16px;line-height:1.65}
.review-setup-grid{gap:28px}
.review-fields label,.review-step strong{font-size:14px}
.review-step p{font-size:14px}
.review-setup>.small,.review-secondary-counts,.review-stat span{font-size:13px}
.review-guide h3,.review-setup h3{font-size:21px}
#specialty-library-panel .heading h2{font-size:28px}
#specialty-library-panel .heading .small{font-size:15px}
#specialty-library-panel .library-filters label,.library-options label,.library-options button{font-size:13px}
.library-item-meta,#personal-library-count,.personal-library-item>.small,.library-image-count{font-size:12px}
.personal-library-item>strong{font-size:16px;line-height:1.6}
.card-actions button,.library-detail>.review-text-action,.item-topic-links summary{font-size:14px}
.library-detail h4{font-size:13px}
.saved-image figcaption,.saved-image .image-attribution{font-size:12px;line-height:1.6}
.saved-image>.review-text-action{font-size:13px}
@media(max-width:800px){
 .workspace-tabs button{font-size:11px}
 .ascent-objective .dashboard-action{width:100%;margin:8px 0 0}
 .ascent-objective .ascent-caption{display:none}
 .ascent-objective .dashboard-card>p.next-step-instruction{font-size:17px}
 .library-detail .saved-library-text{font-size:16px}
 .review-guide h3{margin-bottom:14px}
 .dashboard-section-head h2{font-size:18px}
 .dashboard-section-head{flex-wrap:wrap}
}

.sidebar-brand strong[data-workspace-brand]{font-size:17px;letter-spacing:.01em;line-height:1.35;white-space:normal}
.sidebar-brand>span{min-width:0}
