/* Quiet atlas workspaces: ink, ruled indices and existing theme scenes. */
:root:is([data-theme=palace],[data-theme=starry],[data-theme=cyberpunk],[data-theme=woodland],[data-theme=summernight],[data-theme=beach],[data-theme=football],[data-theme=ski],[data-theme=halloween],[data-theme=christmas],[data-theme=jinan]) :is(.diagnosis-workspace,.atlas-admin-shell,.atlas-classroom){background:var(--panel-solid);padding:32px;box-sizing:border-box;border:0;border-radius:0;box-shadow:none}
.atlas-operation-index{font:550 12px/1.5 var(--atlas-body);color:var(--text)}
.atlas-operation-index a{color:var(--text);text-decoration:none;display:block;padding:11px 0;border-bottom:1px solid var(--atlas-rule);overflow-wrap:anywhere}
.atlas-operation-index a:hover{background:color-mix(in srgb,var(--text) 6%,transparent)}
.atlas-operation-index a:focus-visible{outline:2px solid var(--text);outline-offset:3px}
:root .atlas-classroom{max-width:1370px;padding:12px 0 40px}
:root .atlas-classroom .learning-header{padding:0 0 22px;border-bottom:1px solid var(--atlas-rule);align-items:start}
:root .atlas-classroom .learning-header h1{font-size:46px;line-height:1.15;max-width:24ch;margin:0}
.atlas-classroom .learning-header p{display:none}
:root .atlas-classroom .learning-tabs{margin:16px 0 0;gap:6px 20px}
:root .atlas-classroom .learning-tabs button{border:0;border-radius:0;background:transparent;color:var(--text);padding:10px 0;min-height:44px}
:root .atlas-classroom .learning-tabs button[aria-current=page]{box-shadow:inset 0 -2px var(--accent);font-weight:800}
.atlas-classroom .learning-status{margin:8px 0;min-height:20px;font-size:13px}
.atlas-class-layout{display:grid;grid-template-columns:150px minmax(0,1fr) 300px;gap:32px;align-items:start;border-top:1px solid var(--atlas-rule);padding-top:28px}
.atlas-class-index{position:sticky;top:24px}
.atlas-class-collection{min-width:0}
:root .atlas-class-collection>h2{font-size:32px;line-height:1.2;margin:0 0 22px}
.atlas-class-empty{padding:28px 0 70px;border-top:1px solid var(--atlas-rule)}
:root .atlas-class-empty h3{font-size:25px;line-height:1.35;max-width:22ch;margin:0 0 12px}
.atlas-class-empty p{font-size:14px;max-width:42ch;color:var(--muted);margin:0;line-height:1.8}
:root .atlas-classroom .learning-section{background:transparent;box-shadow:none;border:0;border-radius:0;padding:0;margin:0 0 28px}
:root .atlas-class-collection>.learning-section{border-top:1px solid var(--atlas-rule);padding-top:24px}
:root .atlas-class-collection .learning-section h2{font-size:28px;margin-top:0}
.atlas-class-collection form[data-learning-assign]{margin:26px 0;padding-top:18px;border-top:1px solid var(--atlas-rule)}
:root .atlas-classroom .learning-question{border:0;border-top:1px solid var(--atlas-rule);border-radius:0;padding:20px 0;margin:20px 0;background:transparent}
.atlas-class-workflows{border-left:1px solid var(--atlas-rule);padding-left:24px;min-width:0}
.atlas-class-workflow{border-bottom:1px solid var(--atlas-rule);padding-bottom:15px;margin-bottom:15px}
.atlas-class-workflow>summary{font:650 14px/1.5 var(--atlas-body);padding:7px 0;min-height:40px;cursor:pointer;color:var(--text)}
:root .atlas-class-workflow .learning-section{margin:14px 0 0}
.atlas-class-workflow .learning-section>h2{display:none}
.atlas-class-workflow .learning-section>p{font-size:13px;line-height:1.7;margin:0 0 18px;color:var(--muted)}
:root .atlas-class-workflow .learning-note{font-size:12px;line-height:1.7;color:var(--muted);opacity:1}
:root .atlas-classroom :is(input,select){background:var(--panel-solid);color:var(--text);border-color:var(--atlas-rule);border-radius:6px;font-size:14px;min-height:44px}
:root .atlas-classroom .primary{background:var(--accent);color:var(--button-on-accent);border-color:transparent}
:root .atlas-classroom .secondary{background:var(--panel-solid);color:var(--text);border-color:var(--atlas-rule)}
:root .atlas-classroom .learning-section label{font-size:13px;line-height:1.6}

/* The owner renderer controls visibility/disabled state; no CSS overrides it. */
:root .atlas-admin-shell{background:transparent;border:0;border-radius:0;padding:0;max-width:1400px;margin:auto;overflow:visible}
:root .atlas-admin-shell .admin-head{padding:0 0 24px;align-items:start}
:root .atlas-admin-shell .admin-head h1{font-size:46px;line-height:1.15}
:root .atlas-admin-shell .admin-head p{max-width:70ch;font-size:14px}
:root .atlas-admin-shell .admin-tabs{gap:8px 24px;border-bottom:1px solid var(--atlas-rule);padding:12px 0;margin-bottom:28px;flex-wrap:wrap}
:root .atlas-admin-shell .admin-tab{background:transparent;color:var(--text);box-shadow:none;border-radius:0;border:0;padding:9px 0;min-height:42px}
:root .atlas-admin-shell .admin-tab.active{box-shadow:inset 0 -2px var(--accent);font-weight:800}
:root .atlas-admin-shell #adminBody{padding:0;background:transparent}
:root .atlas-admin-has-index #adminBody{display:grid;grid-template-columns:180px minmax(0,1fr);column-gap:40px;align-items:start}
.atlas-admin-index{grid-column:1;grid-row:1 / span 50;position:sticky;top:24px;padding-right:20px;border-right:1px solid var(--atlas-rule)}
.atlas-admin-index a:nth-last-child(3){margin-top:10px}
.atlas-admin-has-index #adminBody>:not(.atlas-admin-index){grid-column:2;min-width:0}
:root .atlas-admin-shell #adminBody>.admin-section-title{font-size:35px;margin:0 0 6px}
:root .atlas-admin-shell #adminBody>.admin-section-copy{font-size:14px;max-width:72ch;margin:0 0 28px}
:root .atlas-admin-shell .question-form{padding:0;margin:0;background:transparent;box-shadow:none;border:0}
:root .atlas-admin-shell .atlas-editor-sections{display:block}
.atlas-editor-group{border-top:1px solid var(--atlas-rule);margin:0 0 35px;padding:22px 0 0;scroll-margin-top:24px;min-width:0}
:root .atlas-editor-group>h3{font-size:27px;line-height:1.3;margin:0 0 20px}
.atlas-editor-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 22px;min-width:0}
.atlas-editor-fields>:is(.question-grid,#certificationDepthGuide){grid-column:1/-1}
:root .atlas-admin-shell .question-field{display:flex;flex-direction:column;gap:6px;margin:0;color:var(--text);font:550 13px/1.6 var(--atlas-body);min-width:0}
:root .atlas-admin-shell :is(input,select,textarea){width:100%;box-sizing:border-box;min-width:0;max-width:100%;font:450 14px/1.6 var(--atlas-body);background:var(--panel-solid);color:var(--text);border:1px solid var(--atlas-rule);border-radius:6px;padding:11px 12px;min-height:46px;box-shadow:none}
:root .atlas-admin-shell textarea{min-height:132px;resize:vertical}
:root .atlas-admin-shell [type=checkbox],:root .atlas-admin-shell [type=radio]{width:auto;min-height:0;accent-color:var(--accent)}
.atlas-editor-fields .question-field:has([name=correct_index]){max-width:300px;grid-column:1/-1}
:root .atlas-admin-shell .admin-primary{background:var(--accent);color:var(--button-on-accent)}
:root .atlas-admin-shell .secondary{background:var(--panel-solid);color:var(--text)}
.atlas-editor-group .admin-actions{gap:12px;flex-wrap:wrap;margin:0}
.atlas-editor-group .admin-notice:empty{margin:0;min-height:0}
:root .atlas-admin-shell [data-author-target]{display:grid;grid-template-columns:minmax(150px,1fr) minmax(190px,1.4fr) 90px;gap:16px;align-items:start;background:transparent;border:0;border-top:1px solid var(--atlas-rule);border-radius:0;padding:20px 0;margin:20px 0}
:root .atlas-admin-shell [data-author-target] label{display:flex;flex-direction:column;min-width:0;gap:7px;font:550 13px/1.6 var(--atlas-body);color:var(--text);margin:0}
:root .atlas-admin-shell [data-author-target] label:has([name=rationale]){grid-column:1/3}
:root .atlas-admin-shell [data-author-target] textarea{min-height:94px}
.atlas-admin-shell [data-author-target] small{font-size:12px;font-weight:400;line-height:1.65;color:var(--muted)}
:root .atlas-admin-shell [data-remove-author-target]{align-self:end;min-height:44px;white-space:normal;background:var(--panel-solid);color:var(--text);border:1px solid var(--atlas-rule);border-radius:6px;font-size:13px;padding:9px 12px;margin:0}
:root .atlas-admin-shell [data-add-author-target]{min-height:44px;padding:10px 16px;font:650 13px/1.5 var(--atlas-body);background:var(--panel-solid);color:var(--text);border:1px solid var(--atlas-rule);border-radius:6px}
.atlas-editor-group>section>h3{font:650 14px/1.5 var(--atlas-body);margin:0 0 10px}
.atlas-editor-group>section>p{color:var(--muted);font-size:13px;max-width:72ch}
:root .atlas-admin-shell .atlas-bank-section{border-top:1px solid var(--text);margin:22px 0 45px;padding-top:28px;scroll-margin-top:24px}
:root .atlas-admin-shell .atlas-bank-section>h2{font-size:32px;margin:0 0 20px}
.atlas-admin-shell :is(#questionSubmissions,#questionCurrent,#questionPlacement,#questionBuiltIn){scroll-margin-top:30px}
:root .atlas-admin-shell .question-folder{border:0;border-bottom:1px solid var(--atlas-rule);border-radius:0;background:transparent}
:root .atlas-admin-shell .question-folder>summary{padding:15px 0;min-height:46px;font:650 14px/1.6 var(--atlas-body)}

/* A chapter index alongside the existing live path search. */
.atlas-workspace-return{display:flex;align-items:center;gap:10px 24px;flex-wrap:wrap;border-bottom:1px solid var(--atlas-rule);padding:0 0 16px;margin:0 0 30px;font:600 12px/1.6 var(--atlas-body)}
:root .atlas-workspace-return a{color:var(--text);padding:3px 0;border:0;border-radius:0;background:transparent;text-decoration:none;min-height:28px}
.atlas-workspace-return a:hover{text-decoration:underline}
:root body[data-workspace] .atlas-workspace-entry{display:grid;grid-template-columns:300px minmax(0,1fr);gap:32px 55px;max-width:1360px;margin:0 auto;background:transparent;border:0;border-radius:0;padding:0;box-shadow:none}
.atlas-workspace-entry .qw-entry-heading{grid-column:1/-1;border-bottom:1px solid var(--atlas-rule);padding:0 0 25px;margin:0}
:root body[data-workspace] .atlas-workspace-entry h1{font:400 50px/1.12 var(--atlas-display);letter-spacing:-.025em;margin:0 0 14px;max-width:28ch}
.atlas-workspace-entry .qw-entry-heading p{font-size:15px;max-width:72ch;color:var(--muted);margin:0}
.atlas-workspace-chapters{border-right:1px solid var(--atlas-rule);padding-right:28px;min-width:0}
:root body[data-workspace] .atlas-workspace-chapters>h2{font:650 12px/1.5 var(--atlas-body);margin:0 0 16px}
:root body[data-workspace] .atlas-workspace-chapters .qw-course-list{display:block}
:root body[data-workspace] .atlas-workspace-chapters .qw-course-link{min-height:61px;display:flex;padding:14px 0;border-bottom:1px solid var(--atlas-rule);border-radius:0;background:transparent;color:var(--text);font:400 22px/1.35 var(--atlas-display);text-decoration:none;gap:15px}
.atlas-workspace-chapters .qw-course-link strong{font-weight:400}
:root body[data-workspace] .atlas-workspace-chapters .qw-comprehensive-link{margin:16px 0 0;font:650 13px/1.6 var(--atlas-body);min-height:48px}
.atlas-workspace-chapters .qw-course-link:hover{background:color-mix(in srgb,var(--text) 6%,transparent)}
.atlas-workspace-search{min-width:0;padding-top:0}
:root body[data-workspace] .atlas-workspace-search>h2{font:400 34px/1.2 var(--atlas-display);margin:0 0 16px}
.atlas-workspace-help{max-width:62ch;font-size:14px;line-height:1.8;color:var(--muted);margin:0 0 28px}
:root body[data-workspace] .atlas-workspace-search>label{font-size:13px;line-height:1.6;color:var(--text);font-weight:650;margin:0 0 22px}
:root body[data-workspace] #qwNavigationSearch{display:block;margin-top:9px;min-height:54px;border:1px solid var(--text);border-radius:6px;background:var(--panel-solid);color:var(--text);font-size:16px;padding:12px 16px}
:root body[data-workspace] .atlas-workspace-search #qwNavigationResults{margin:0;background:transparent;padding:0;border-radius:0}
:root body[data-workspace] .atlas-workspace-search .qw-search-course-index{gap:8px;padding:0 0 18px}
:root body[data-workspace] .atlas-workspace-search .qw-search-course-index a{font-size:12px;color:var(--text);background:var(--panel-solid)}
:root body[data-workspace] .atlas-workspace-search .qw-search-group{padding:20px 0;border-bottom:1px solid var(--atlas-rule)}
:root body[data-workspace] .atlas-workspace-search .qw-search-group h3{font:400 25px/1.4 var(--atlas-display);margin-bottom:12px}
:root body[data-workspace] .atlas-workspace-search .qw-search-group a{color:var(--text);line-height:1.7}
:root body[data-workspace] .atlas-workspace-search .qw-search-group [data-path]{font-size:14px;padding:10px 0;border-top:1px solid var(--atlas-rule);text-decoration:none}
:root body[data-workspace] .atlas-workspace-search .qw-search-group h3 a span{font:600 12px/1.6 var(--atlas-body);color:var(--text)}
:root body[data-workspace] .atlas-workspace-review{display:block;max-width:1000px}
.atlas-workspace-review .qw-course-list{border-top:1px solid var(--atlas-rule);margin:30px 0}
.atlas-question-workspace>.qw-toolbar{border-bottom:1px solid var(--atlas-rule);padding-bottom:20px;margin:0 0 20px;gap:12px;align-items:baseline}
:root body[data-workspace] .atlas-question-workspace>.qw-toolbar h1{flex-basis:100%;font-size:42px;line-height:1.2;margin:0 0 10px}
:root body[data-workspace] .atlas-question-workspace .qw-layout{gap:32px}
:root body[data-workspace] .atlas-question-workspace .qw-layout>.qw-panel{border:0;border-radius:0;padding:0;background:transparent}
:root body[data-workspace] .atlas-question-workspace .qw-layout>.qw-nav{border-right:1px solid var(--atlas-rule);padding-right:24px}
:root body[data-workspace] .atlas-question-workspace .qw-library .qw-results{display:block}
:root body[data-workspace] .atlas-question-workspace .qw-question-row{border:0;border-top:1px solid var(--atlas-rule);border-radius:0;box-shadow:none;padding:22px 0;background:transparent}
:root body[data-workspace] .atlas-question-workspace #qwPreviewPanel{border-left:1px solid var(--atlas-rule);padding-left:24px}
:root body[data-workspace] .atlas-question-workspace .qw-detail #qwEditor{padding-right:8px}
:root body[data-workspace] .atlas-question-workspace .qw-library-heading{border-bottom:1px solid var(--atlas-rule);padding-bottom:14px}

@media(max-width:1100px){
 .atlas-class-layout{grid-template-columns:130px minmax(0,1fr);gap:25px}.atlas-class-workflows{grid-column:2;padding:22px 0 0;border-left:0;border-top:1px solid var(--atlas-rule);display:grid;grid-template-columns:1fr 1fr;gap:25px}.atlas-class-index{grid-row:1/3}
 :root .atlas-admin-shell #adminBody{grid-template-columns:150px minmax(0,1fr);column-gap:26px}
 :root body[data-workspace] .atlas-workspace-entry{grid-template-columns:240px minmax(0,1fr);column-gap:32px}
 :root .atlas-admin-shell [data-author-target]{grid-template-columns:minmax(0,1fr) 100px}
 :root .atlas-admin-shell [data-author-target] label:has([data-author-skill-search]){grid-column:1/-1}
 :root .atlas-admin-shell [data-author-target] label:has([name=rationale]){grid-column:1/-1}
 :root .atlas-admin-shell [data-remove-author-target]{justify-self:start}
}
@media(max-width:760px){
 :root:is([data-theme=palace],[data-theme=starry],[data-theme=cyberpunk],[data-theme=woodland],[data-theme=summernight],[data-theme=beach],[data-theme=football],[data-theme=ski],[data-theme=halloween],[data-theme=christmas],[data-theme=jinan]) :is(.diagnosis-workspace,.atlas-admin-shell,.atlas-classroom){padding:20px 16px}
 :root .atlas-admin-shell .admin-head,:root .atlas-classroom .learning-header{flex-direction:column;gap:18px}
 :root .atlas-admin-shell .admin-head>*{min-width:0;max-width:100%}
 :root .atlas-admin-shell .admin-close{white-space:normal;text-align:left;min-height:44px}
 :root .atlas-classroom .learning-header h1,:root .atlas-admin-shell .admin-head h1{font-size:34px}
 .atlas-class-layout{display:block;padding-top:0}.atlas-class-index{position:static;display:flex;flex-wrap:wrap;gap:18px;border-bottom:1px solid var(--atlas-rule);margin:0 0 26px;padding:8px 0}.atlas-class-index a{border:0;font-size:12px}
 .atlas-class-workflows{display:block;margin-top:25px}.atlas-class-empty{padding-bottom:35px}
 :root .atlas-admin-shell #adminBody{display:block}.atlas-admin-index{position:sticky;top:0;z-index:2;display:flex;gap:7px 18px;flex-wrap:wrap;background:var(--bg);border:0;border-bottom:1px solid var(--atlas-rule);padding:8px 0;margin:0 0 24px}.atlas-admin-index a{font-size:11px;border:0;padding:5px 0;min-height:30px}.atlas-admin-index a:nth-last-child(3){margin:0}
 .atlas-editor-fields{grid-template-columns:minmax(0,1fr);gap:17px}.atlas-editor-group{scroll-margin-top:145px;margin-bottom:30px}.atlas-editor-group>h3{font-size:25px}.atlas-editor-fields>:is(.question-grid,#certificationDepthGuide){grid-column:auto}
 :root .atlas-admin-shell [data-author-target]{grid-template-columns:minmax(0,1fr)}
 :root .atlas-admin-shell [data-author-target] label:has([data-author-skill-search]),:root .atlas-admin-shell [data-author-target] label:has([name=rationale]){grid-column:auto}
 .atlas-admin-shell :is(#questionSubmissions,#questionCurrent,#questionPlacement,#questionBuiltIn){scroll-margin-top:155px}
 .atlas-workspace-return{gap:8px 20px;font-size:11px;margin-bottom:24px}
 :root body[data-workspace] .atlas-workspace-entry{display:flex;flex-direction:column;gap:28px}
 :root body[data-workspace] .atlas-workspace-entry h1{font-size:36px;max-width:24ch}
 .atlas-workspace-entry .qw-entry-heading{padding-bottom:22px;order:0}
 .atlas-workspace-search{order:1;width:100%}.atlas-workspace-chapters{order:2;width:100%;border:0;border-top:1px solid var(--atlas-rule);padding:22px 0 0}
 :root body[data-workspace] .atlas-workspace-search>h2{font-size:29px}
 :root body[data-workspace] .atlas-workspace-chapters .qw-course-link{font-size:23px;min-height:60px}
 .atlas-workspace-help{margin-bottom:22px}
 :root body[data-workspace] .atlas-question-workspace>.qw-toolbar h1{font-size:34px}
 :root body[data-workspace] .atlas-question-workspace .qw-layout>.qw-nav{border-right:0;border-bottom:1px solid var(--atlas-rule);padding:0 0 22px;margin-bottom:26px}
 :root body[data-workspace] .atlas-question-workspace #qwPreviewPanel{border-left:0;border-top:1px solid var(--atlas-rule);padding:22px 0 0;margin-top:26px}
}
