/* Shared compact information layout; game scenes retain their own dimensions. */
#main>.pagehead,.cabinet.pagehead{padding:18px 22px;gap:18px;margin-bottom:18px}
.pagehead>div{flex:1;min-width:0}.pagehead h2{font-size:1.6rem;margin:0 0 5px}.pagehead p{margin:0;max-width:65ch}.pagehead select{flex:0 1 290px;width:290px;max-width:100%;margin:0}
#main>.two,.cab-content .two,.profile-content .two{gap:16px;margin:16px 0;align-items:start}
#main>.panel,.account-page>.panel,.profile-content>.panel{margin-bottom:16px;padding:20px}
.cab-layout{gap:18px}.cab-content.panel{padding:18px}.cab-content h3,.account-page h3,.profile-content h3{font-size:1.1rem;margin:0 0 12px}.cab-metrics{gap:10px;margin:12px 0 18px}.cab-metric{padding:14px}.cab-metric strong{font-size:1.75rem}.cab-subtabs{margin:12px 0 16px;gap:6px}.cab-subtabs button{min-width:130px;padding:9px 12px}.cab-content .empty,.account-page .empty,.profile-content .empty{padding:20px 16px}.cab-content th,.cab-content td,.profile-content th,.profile-content td{padding:9px 10px;vertical-align:top}.cab-content .formgrid{gap:10px}.cab-content label{margin-bottom:8px}
.profile-summary{display:flex;align-items:center;gap:16px;flex-wrap:wrap;background:#fff;border:1px solid #dce8e5;border-radius:18px;padding:18px 20px;margin-bottom:14px}.profile-avatar{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:#dff2ec;color:#165c4c;font-size:1.6rem;font-weight:800;flex:none}.profile-summary h3{margin:0 0 3px;font-size:1.15rem}.profile-summary p{margin:0;color:#465f59}.profile-count{margin-left:auto;display:flex;align-items:center;gap:8px;font-size:1.5rem;font-weight:800;color:#165c4c}.profile-count small{font-size:.85rem;font-weight:500;max-width:90px;line-height:1.3}.profile-summary .profile-note{flex-basis:100%;font-size:.9rem;border-top:1px solid #e4ece9;padding-top:10px}.profile-content>.two{margin-top:0}.profile-content .panel{padding:18px}.profile-content .actions{margin:0 0 14px}.compact-details{border:1px solid #dce8e5;border-radius:14px;background:#fff;padding:12px 16px;margin-top:16px}.compact-details summary{cursor:pointer;font-weight:650;color:#245d50}.compact-details>.actions{margin-top:14px}.account-page>.actions{margin:12px 0 16px}
@media(max-width:700px){#main{padding:14px 14px 36px}.pagehead,#main>.pagehead,.cabinet.pagehead{padding:16px;flex-direction:column;align-items:stretch;gap:12px}.pagehead select{flex:auto;width:100%}.pagehead h2{font-size:1.4rem}.profile-summary{gap:12px;padding:16px}.profile-count{margin-left:0;flex-basis:100%;font-size:1.3rem}.profile-count small{max-width:none}.profile-page .cab-subtabs{display:grid;grid-template-columns:1fr 1fr}.profile-page .cab-subtabs button{min-width:0;font-size:.85rem;line-height:1.4}.cab-content.panel{padding:14px}.profile-content .panel{padding:16px}.tablewrap{max-width:100%;overflow:auto}}
/* Keep daily cabinet tasks close to the top of the page. */
body:has(.account-page) header,body:has(.profile-page) header,body:has(.cabinet) header{padding:12px 24px;gap:12px}
body:has(.account-page) header .brand,body:has(.profile-page) header .brand,body:has(.cabinet) header .brand{width:170px}
body:has(.account-page) .brand img,body:has(.profile-page) .brand img,body:has(.cabinet) .brand img{height:42px}
body:has(.account-page) .access,body:has(.profile-page) .access,body:has(.cabinet) .access{padding:0 24px 4px;gap:6px}
body:has(.account-page) #main,body:has(.profile-page) #main,body:has(.cabinet) #main{padding-top:8px}
body:has(.account-page) .back-home,body:has(.profile-page) .back-home,body:has(.cabinet) .back-home{font-size:.9rem;margin-bottom:10px}
.account-page>.pagehead,.profile-page>.pagehead,.cabinet>.pagehead{padding:14px 18px;margin:0 0 12px;border-radius:16px;gap:12px}
.account-page>.pagehead h2,.profile-page>.pagehead h2{font-size:1.35rem;margin:0 0 3px}
.account-page>.pagehead .eyebrow,.profile-page>.pagehead .eyebrow{font-size:.65rem;letter-spacing:1.3px}
.account-page>.pagehead p,.profile-page>.pagehead p{font-size:.9rem;line-height:1.4}
.account-page>.pagehead select,.profile-page>.pagehead select{padding:8px 12px;font-size:.95rem}
.account-page>.actions.account-actions{margin:0 0 12px;align-items:center;gap:8px}
.account-actions .button,.account-actions button{min-height:44px;padding:10px 15px;font-size:.9rem}
.account-page>.panel{padding:16px;margin-bottom:12px;border-radius:16px}
.account-page .taskrow{padding:12px 14px;margin:8px 0;gap:14px}
.account-page .taskrow:first-child{margin-top:0}.account-page .taskrow:last-child{margin-bottom:0}
.account-page .taskrow p{font-size:.85rem;line-height:1.45;margin:6px 0 0}
.account-page .taskrow small{font-size:.8rem}.account-page .taskrow button{min-height:44px;flex-shrink:0}
.account-page>.two{gap:12px;margin:12px 0;align-items:start}.account-page>.two>.panel{padding:16px;margin:0;border-radius:16px}
@media(max-width:700px){body:has(.account-page) header,body:has(.profile-page) header,body:has(.cabinet) header{padding:10px 14px}body:has(.account-page) .access,body:has(.profile-page) .access,body:has(.cabinet) .access{padding:0 10px 4px}.account-page>.pagehead,.profile-page>.pagehead{padding:12px 14px;gap:8px}.account-page .taskrow{flex-direction:row;align-items:center}.account-page .taskrow>div{min-width:0}.account-page .taskrow button{padding:10px;font-size:.8rem}.account-page>.two{grid-template-columns:1fr}.account-actions{justify-content:space-between}.account-actions .button,.account-actions button{font-size:.8rem;padding:10px 12px}}
/* Entry forms fit an ordinary desktop viewport at 100% zoom. */
dialog.entry-modal{width:min(580px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:20px 24px;border-radius:20px;margin:auto}
.entry-modal h2{font-size:1.35rem;line-height:1.25;margin:0 34px 10px 0}
.entry-modal .close{right:12px;top:10px;min-width:36px;min-height:36px;width:36px;height:36px;padding:0}
.entry-modal .eyebrow{display:none}.entry-dialog>.muted{font-size:.85rem;line-height:1.4;margin:0 0 10px}
.entry-modal .entry-tabs{margin:10px 0;padding:4px;gap:4px}
.entry-modal .entry-tabs button{min-height:40px;padding:8px 12px;font-size:.9rem}
.entry-modal .entry-tip{font-size:.8rem;line-height:1.4;margin:0 0 10px}
.entry-modal .formgrid{gap:10px}.entry-modal .application-form .formgrid{grid-template-columns:1fr 1fr;align-items:start}
.entry-modal label{font-size:.82rem;line-height:1.35;margin:0;display:flex;flex-direction:column;gap:5px}
.entry-modal input,.entry-modal select{font-size:.9rem;padding:9px 11px;min-height:40px;margin:0}
.entry-modal label:has(input[type=checkbox]){grid-column:1/-1;flex-direction:row;align-items:center;gap:9px;font-size:.8rem;line-height:1.4}
.entry-modal input[type=checkbox]{order:-1;width:18px;height:18px;min-height:18px;flex-shrink:0;padding:0;accent-color:#008e98}
.entry-modal form>button{margin-top:12px;min-height:44px;padding:10px 14px;font-size:.95rem}
.entry-modal .entry-reveal{min-height:32px;font-size:.78rem;padding:5px 9px}.entry-modal .entry-help{margin-top:10px;padding:8px 10px;font-size:.78rem;line-height:1.4}.entry-modal .entry-error{font-size:.8rem;margin:8px 0 0}
@media(max-width:480px){dialog.entry-modal{padding:16px;max-height:calc(100dvh - 16px)}.entry-modal h2{font-size:1.15rem}.entry-modal .application-form .formgrid{grid-template-columns:1fr}.entry-modal .entry-tabs button{font-size:.8rem}.entry-modal .formgrid{gap:8px}}
/* Compact workspace: one toolbar and an information grid. */
header{gap:12px}header .access{flex:1;margin:0;padding:0;max-width:none;order:1}header #login{order:2;margin-left:0}header .brand{order:0}
body:has(.cabinet) header,body:has(.account-page) header,body:has(.profile-page) header{padding:8px 24px;min-height:62px;flex-wrap:nowrap}
body:has(.cabinet) header .brand,body:has(.account-page) header .brand,body:has(.profile-page) header .brand{width:140px}
body:has(.cabinet) .brand img,body:has(.account-page) .brand img,body:has(.profile-page) .brand img{height:34px}
body:has(.cabinet) .brand small,body:has(.account-page) .brand small,body:has(.profile-page) .brand small{font-size:7px;letter-spacing:.7px}
body:has(.cabinet) header .access,body:has(.account-page) header .access,body:has(.profile-page) header .access{padding:0;justify-content:flex-end;gap:4px}
body:has(.cabinet) #login,body:has(.account-page) #login,body:has(.profile-page) #login{padding:9px 13px;font-size:.85rem;min-height:40px}
body:has(.cabinet) #main,body:has(.account-page) #main,body:has(.profile-page) #main{padding-top:4px;padding-bottom:24px}
.cabinet>.pagehead{padding:10px 16px;margin-bottom:12px;border-radius:14px}.cabinet>.pagehead .eyebrow{display:none}.cabinet>.pagehead h2{font-size:1.25rem;margin:0 0 3px}.cabinet>.pagehead p{font-size:.8rem}.cabinet>.pagehead select{font-size:.9rem;padding:8px 12px}
.cab-layout{grid-template-columns:170px minmax(0,1fr);gap:14px}.cab-sidebar{padding:10px;border-radius:16px;gap:4px}.cab-sidebar-brand{font-size:12px;padding:4px 8px 8px}.cab-sidebar button{min-height:40px;padding:9px 12px;font-size:.9rem}.cab-asyks{padding-top:8px}.cab-asyks .asyk-art{width:38px;height:38px}
.cab-filter{gap:8px;margin-bottom:8px}.cab-filter label{margin:0;font-size:.8rem;flex-direction:row;align-items:center}.cab-filter select{padding:6px 9px;font-size:.8rem}.cab-filter>span{font-size:.75rem}
.cab-analysis-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:12px}.cab-analysis-grid>.cab-metrics{grid-column:1/-1;margin:0;gap:8px}.cab-analysis-grid>.two{display:contents}.cab-analysis-grid .panel{padding:14px;border-radius:16px;margin:0;min-width:0}.cab-analysis-grid .panel h3{font-size:1rem;margin:0 0 10px}.cab-analysis-grid .cab-metric{padding:10px 12px;border-radius:14px;gap:3px}.cab-metric span{font-size:.8rem}.cab-analysis-grid .cab-metric strong{font-size:1.5rem}.cab-analysis-grid p.muted{font-size:.75rem;line-height:1.4;margin:8px 0 0}
.cab-ring-layout{grid-template-columns:130px minmax(0,1fr);gap:12px}.cab-ring{width:126px;height:126px}.cab-ring-center{width:88px;height:88px}.cab-ring-center strong{font-size:1.6rem}.cab-ring-center small{font-size:.7rem}.cab-ring-legend{gap:8px}.cab-legend-row{grid-template-columns:9px minmax(0,1fr) auto;gap:6px;font-size:.75rem}.cab-legend-row small{grid-column:3;font-size:.65rem}.cab-legend-dot{width:9px;height:9px}
.cab-visual-game{padding:9px 0;gap:6px}.cab-skill{padding:8px 0}.cab-visual-title small{font-size:.75rem}.cab-error-compare>div{padding:7px}.cab-error-compare strong{font-size:1.2rem}.cab-status{padding:4px 8px;font-size:.75rem}.cab-support{padding:10px;margin-bottom:8px;border-radius:12px}.cab-support h4{font-size:.9rem;margin-bottom:6px}.cab-support p{font-size:.8rem;line-height:1.4;margin:4px 0}.cab-support-item{padding:6px 0}.cab-time-row{grid-template-columns:minmax(120px,1fr) 1fr 45px;gap:10px;font-size:.8rem}.cab-time-list{gap:10px}
@media(max-width:900px){header{flex-wrap:wrap}header .access{order:3;flex-basis:100%;justify-content:center!important}body:has(.cabinet) header,body:has(.account-page) header,body:has(.profile-page) header{flex-wrap:wrap;padding:8px 14px}header #login{margin-left:auto}.cab-layout{grid-template-columns:1fr}.cab-sidebar{flex-direction:row;overflow:auto}.cab-sidebar-brand,.cab-asyks{display:none}}
@media(max-width:650px){.cab-analysis-grid{grid-template-columns:1fr}.cab-analysis-grid>.cab-metrics{grid-column:1}.cab-ring-layout{grid-template-columns:110px minmax(0,1fr);gap:10px}.cab-ring{width:108px;height:108px}.cab-ring-center{width:76px;height:76px}.cab-filter>span{display:none}.cab-time-row{grid-template-columns:1fr 45px}.cab-time-row>div:first-child{grid-column:1/-1}}
.project-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}.project-summary>div{padding:12px 16px;border-radius:14px;background:#eaf5f1}.project-summary>div:last-child{background:#fff2ce}.project-summary small,.project-summary strong{display:block}.project-summary small{font-size:.8rem;color:#456e60}.project-summary strong{font-size:1.8rem;color:#075d65}.project-evidence-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}.project-scale,.project-source{font-size:.85rem;line-height:1.5;color:#4a665b}.project-legend{display:flex;gap:18px;font-size:.8rem;margin-bottom:14px}.project-legend .first{color:#cb8129}.project-legend .second{color:#087e86}.project-bar-row{display:grid;grid-template-columns:40px minmax(0,1fr);gap:12px;align-items:center;margin:12px 0}.project-bar{min-width:42px;border-radius:5px;padding:3px 8px;margin:4px 0;font-size:.8rem;color:#fff;text-align:right}.project-bar.first{background:#bc7020}.project-bar.second{background:#087e86}.project-evidence .tablewrap{margin-top:0}.project-source{border-top:1px solid #dfe8e3;padding-top:12px}
@media(max-width:650px){.project-evidence-grid{grid-template-columns:1fr;gap:14px}.project-summary{gap:6px}.project-summary>div{padding:10px}.project-summary strong{font-size:1.4rem}.project-summary small{font-size:.7rem}}
/* Each topic illustration is clipped to its own source rectangle. */
.direction .art{isolation:isolate}.direction .art svg{overflow:hidden;max-width:100%;max-height:100%;flex:none}
@media(max-width:650px){.direction .art:not(.asyk-topic-art){height:132px;padding:10px 12px}.direction .art:not(.asyk-topic-art) svg{width:100%;height:100%}.direction .art.asyk-topic-art{height:132px}.direction h3{font-size:15px;line-height:1.3;margin:10px 6px 6px}.direction p{font-size:11px;line-height:1.4;margin:6px 7px 10px}}
