:root{color:#20211f;background:#ffffff;--green:#242622;--muted:#777971;--accent:#e9582d;font-family:Arial,"Helvetica Neue","Microsoft YaHei",sans-serif}body{background:#ffffff;color:#20211f}button,input,select,textarea{border-radius:2px!important;box-shadow:none!important}button{transition:background .15s,color .15s}button:hover{background:#f2f4f6}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #e9582d;outline-offset:3px}.primary,.solid-button{background:#242622!important;color:#fff!important;border:1px solid #242622!important}.solid-button:hover{background:#404448!important}body>header{height:82px;padding:0 4vw;border-bottom:1px solid #d8dad1;background:#ffffff;gap:28px;position:relative;z-index:40}.brand{gap:10px!important;color:#20211f}.brand strong{font-size:16px!important;font-weight:500;letter-spacing:3px}.brand .brand-mark{display:inline!important;font-size:28px}.primary-nav{display:flex;gap:34px;align-self:stretch;align-items:center;margin-left:35px}.primary-nav a{font-size:13px;text-decoration:none;color:#777971;height:100%;display:flex;align-items:center;gap:6px;position:relative}.primary-nav a[aria-current=page]{color:#222;font-weight:600}.primary-nav a[aria-current=page]:after{content:'';position:absolute;bottom:0;left:0;right:0;height:2px;background:#222}#nav-goal-count{font-size:10px;color:#e9582d}.mode-switch{margin-left:auto}.mode-switch button{font-size:11px;padding:7px 10px;border-color:#d3d6cc;background:transparent}.mode-switch button[aria-pressed=true]{background:#252822;color:#fff}#data-open{font-size:11px;background:transparent;border:0;padding:6px}body:not([data-view=map]) .mode-switch,body:not([data-view=map]) .edit-session-actions{display:none}body:not([data-view=map]) #data-open{margin-left:auto}body:not([data-view=map]) main{display:none!important}body:not([data-view=home]) #home-page,body:not([data-view=goals]) #goals-page{display:none!important}body:not([data-view=map]) #inspector,body:not([data-view=map]) #map-relations{display:none!important}.product-page{padding:60px 5vw 80px;max-width:1540px;margin:0 auto}.overline{font-size:10px;letter-spacing:2px;font-weight:500;color:#777b72;text-transform:uppercase;margin:0 0 24px}.home-heading,.page-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:32px;margin-bottom:50px}.product-page h1{font-size:clamp(36px,4.7vw,72px);line-height:1.16;font-weight:400;letter-spacing:-2px;margin:0}.home-heading h1>span{color:#e9582d}.page-heading h1>span{color:#92978c}.solid-button{display:inline-flex;justify-content:space-between;align-items:center;gap:45px;padding:17px 22px;font-size:13px;min-width:175px}.home-grid{display:grid;grid-template-columns:1.45fr 1fr;border-top:1px solid #cfd3c8;border-bottom:1px solid #cfd3c8}.map-preview{position:relative;display:flex;flex-direction:column;justify-content:space-between;text-align:left;height:360px;padding:24px 30px;border:0;border-right:1px solid #cfd3c8;background:#e6e9df;overflow:hidden}.map-preview:hover{background:#e0e4d8}.preview-heading,.preview-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;z-index:1}.preview-heading{font-size:11px;letter-spacing:1px}.preview-heading>span:last-child{font-size:24px}.map-preview svg{position:absolute;inset:65px 25px 70px;width:calc(100% - 50px);height:225px;opacity:.85}.map-preview svg path{stroke:#abb4a1;stroke-width:2;fill:none}.map-preview svg circle{fill:#4b5643}.map-preview svg circle.done{fill:#e9582d}.preview-footer strong{font-size:20px;font-weight:400}.preview-footer>span{font-size:11px;color:#7a8372}.home-focus{padding:26px 30px;background:transparent}.product-section-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.product-section-heading .overline{margin:0}.product-section-heading button,.text-link{border:0;background:transparent;font-size:12px;padding:6px 0}.focus-number{font-size:78px;line-height:1.1;letter-spacing:-4px;margin:20px 0}.focus-number>span{font-size:12px;letter-spacing:0;color:#7e8478;margin-left:16px}.focus-stats{display:flex;gap:40px;margin:12px 0 20px}.focus-stats>div{display:flex;gap:10px;align-items:center}.focus-stats strong{font-size:22px;font-weight:400}.focus-stats span{font-size:10px;color:#808678}.home-goal-row{width:100%;display:flex;justify-content:space-between;gap:10px;font-size:12px;background:transparent;border:0;border-top:1px solid #d9ddd0;padding:12px 0;text-align:left}.home-goal-row strong{font-size:11px;font-weight:400;white-space:nowrap}.home-next{margin-top:48px}.product-page h2{font-size:25px;letter-spacing:-.5px;font-weight:400;margin:12px 0 22px}.next-cards{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid #cfd3c8}.next-cards>button{display:flex;flex-direction:column;align-items:flex-start;gap:30px;text-align:left;background:transparent;border:0;border-right:1px solid #d9ddd0;padding:22px}.next-cards>button:last-child{border-right:0}.index{font-size:11px;letter-spacing:1px;color:#858b7d}.next-cards strong{font-size:16px;font-weight:400}.next-cards>button>span:last-child{font-size:11px;color:#808678}.empty-state{padding:35px 0;grid-column:1/-1}.empty-state p,.empty-copy{font-size:13px;color:#7d8376;line-height:1.8}.empty-state button{background:transparent;border:0;padding-left:0}.goal-summary{display:flex;gap:55px;border-top:1px solid #cfd3c8;border-bottom:1px solid #cfd3c8;padding:24px 0}.goal-summary>div{display:flex;align-items:baseline;gap:12px}.goal-summary strong{font-size:36px;font-weight:400}.goal-summary span{font-size:12px;color:#7a8173}.goal-summary>button{margin-left:auto;border:0;background:transparent;font-size:12px}.goal-filters{display:flex;gap:24px;margin:32px 0 18px}.goal-filters button{border:0;border-bottom:1px solid transparent;background:transparent;padding:8px 0;font-size:12px;color:#808677}.goal-filters button[aria-pressed=true]{border-color:#222;color:#222}.goal-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border-top:1px solid #d2d6ca;border-left:1px solid #d2d6ca}.goal-card{padding:28px;border-right:1px solid #d2d6ca;border-bottom:1px solid #d2d6ca;min-width:0}.goal-card-top{display:flex;justify-content:space-between;align-items:center}.goal-status{font-size:10px;color:#8a8e83}.goal-status.active{color:#d45129}.goal-status.complete{color:#4b6751}.goal-status:before{content:'●';font-size:7px;margin-right:6px}.goal-card h3{font-size:23px;font-weight:400;line-height:1.4;margin:28px 0 12px;overflow-wrap:anywhere}.goal-card p{font-size:11px;color:#83887a}.goal-progress{height:2px;background:#d9ddd1;margin-top:35px}.goal-progress>span{display:block;height:100%;background:#e9582d}.goal-progress-label{display:flex;justify-content:space-between;margin:10px 0 25px;font-size:10px;color:#858b7b}.goal-progress-label strong{font-size:12px;font-weight:400;color:#363d2e}.goal-card-actions{display:flex;gap:16px;flex-wrap:wrap}.goal-card-actions button{border:0;background:transparent;padding:4px 0;font-size:11px}.goal-card-actions button:first-child{margin-right:auto}.goal-card-actions button:last-child{color:#999d92}.goal-delete-confirm{border-top:1px solid #d8d3c5;margin-top:20px;padding-top:10px}.goal-delete-confirm button{font-size:11px;margin-right:10px}.product-notice{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);background:#252a22;color:white;padding:13px 22px;font-size:12px;z-index:300;max-width:90vw}#goal-dialog{width:min(560px,94vw);max-height:90vh;border:1px solid #cfd4c7;border-radius:0;padding:32px;background:#ffffff}dialog::backdrop{background:#252a226b;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between}.dialog-heading .overline{margin:0}.dialog-heading>button{border:0;background:transparent;font-size:25px;padding:0 6px}#goal-dialog h2{font-size:29px;font-weight:400;letter-spacing:-1px;margin:22px 0 28px}.product-field{display:flex;flex-direction:column;gap:10px;font-size:12px}.product-field input,#goal-node-search{width:100%;padding:12px;background:#ffffff;border:1px solid #ced3c5;font:inherit;color:#252a22}.target-heading{display:flex;justify-content:space-between;align-items:center;font-size:12px;margin:26px 0 12px}.target-heading output{font-size:11px;color:#8a9080}#goal-node-search{font-size:12px;background:transparent}#goal-node-options{height:230px;overflow:auto;border:1px solid #d6dbce;border-top:0}.target-option{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border-bottom:1px solid #e0e5d8;gap:10px}.target-option label{display:flex;align-items:center;gap:9px;font-size:13px}.target-option input,.activate-goal input{accent-color:#222}.target-option select{font-size:11px;border:0;background:transparent;padding:3px}.activate-goal{display:flex;gap:10px;align-items:center;font-size:12px;margin-top:22px}.dialog-footer{display:flex;justify-content:flex-end;gap:14px;margin-top:20px}.dialog-footer>button:not(.solid-button){border:0;background:transparent;font-size:12px}#goal-form-error{color:#b13c29;font-size:12px;min-height:16px}
/* Map remains the main working surface. */
.workspace{padding:22px 3vw 0}.toolbar{align-items:center}.search-box{width:min(530px,52vw)}.search-box>label{font-size:10px;letter-spacing:2px;color:#76736f}.search-box input{font-size:14px;border:0;border-bottom:1px solid #d6d3ce;background:transparent;padding:9px 0}#search-results{border-radius:0;background:#ffffff;box-shadow:0 12px 24px #20281814}.route-strip{min-height:40px}.route-summary{font-size:11px;color:#76736f}#summary:empty{display:none}#map-shell{border-radius:0;border-color:#d6d3ce;background:#ffffff}#map-scroll{background-color:#ffffff;height:calc(100dvh - 270px)}.map-toolbar{padding:9px 12px}.map-toolbar button{border:0;background:transparent}.map-status{background:#fff;gap:14px;color:#76736f}.map-status #lod-label{display:none}.map-status label{font-size:10px}.map-status label:has(#relation-layout){display:flex}.goal-label{font-size:11px;color:#7a8370}.goal-label select{font-size:12px;background:transparent;border:1px solid #cdd5c2;padding:8px}.legend{font-size:10px;opacity:.7;margin-top:5px}.storage-feedback{margin:0;padding:0}.storage-feedback:has([hidden]){display:none}#inspector,#map-selection{background:#ffffff!important;border-radius:1px!important;box-shadow:0 8px 28px #24232110!important;border-color:#d6d3ce!important}#inspector{top:235px;bottom:55px;right:4vw}#inspector h2{font-weight:400;letter-spacing:-.5px}#inspector h3{font-weight:500}.editor-page-tabs{border-radius:0;background:#f2f4f6}.editor-page-tabs button[aria-selected=true]{background:#ffffff;color:#242321}.editor-page-hint{display:none}.edit-status{color:#76736f}.layout-debug{display:none!important}.edit-session-actions .primary{background:#252a22!important}.note{color:#76736f}#data-dialog{border-radius:0;border:1px solid #d6d3ce;background:#ffffff}#data-dialog h2{font-weight:400}#data-dialog p{font-size:12px}body[data-view=map] .home-page{display:none}
@media(min-width:1600px){.product-page{padding-top:85px}.home-grid .map-preview{height:405px}.map-preview svg{height:260px}.home-heading{margin-bottom:65px}}
@media(max-width:1050px){body>header{gap:14px;padding:0 24px}.primary-nav{margin-left:12px;gap:22px}.brand strong{font-size:13px!important;letter-spacing:2px}.home-grid{grid-template-columns:1.15fr 1fr}.goal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.goal-summary{gap:24px}.goal-summary>div{flex-direction:column;gap:3px}.next-cards{grid-template-columns:repeat(2,1fr)}.edit-status{display:none}.product-page{padding:40px 4vw 60px}}
@media(max-width:700px){body>header{height:68px;padding:0 16px;gap:14px;flex-wrap:wrap}.brand strong{font-size:11px!important;letter-spacing:1.5px}.brand .brand-mark{font-size:22px}.primary-nav{gap:18px;margin-left:auto}.primary-nav a{font-size:12px}body:not([data-view=map]) #data-open{display:none}body[data-view=map] header{height:auto;min-height:90px;padding-top:12px;padding-bottom:10px}.mode-switch{margin-left:0}.primary-nav{height:48px}.product-page{padding:35px 20px 50px}.home-heading,.page-heading{display:block;margin-bottom:30px}.home-heading h1,.page-heading h1{font-size:44px}.home-heading>.solid-button,.page-heading>.solid-button{margin-top:25px}.home-grid{grid-template-columns:1fr}.map-preview{height:300px;border-right:0;border-bottom:1px solid #cfd3c8;padding:20px}.map-preview svg{height:170px}.preview-footer strong{font-size:18px}.preview-footer>span{font-size:10px}.home-focus{padding:24px 0}.focus-number{font-size:60px}.next-cards>button{padding:18px 12px}.goal-grid{grid-template-columns:1fr}.goal-summary{gap:15px;flex-wrap:wrap}.goal-summary>button{margin-left:0}.goal-summary strong{font-size:28px}.goal-summary span{font-size:10px}.workspace{padding:12px}.search-box{width:100%}.toolbar{gap:10px}.goal-label{width:100%}.goal-label select{width:100%}#map-scroll{height:calc(100dvh - 315px)}#inspector{top:220px;right:16px;bottom:25px;width:min(340px,calc(100vw - 32px))}.map-status{gap:8px}.map-status label{font-size:9px}.goal-card{padding:24px}.product-section-heading h2{font-size:22px}.solid-button{padding:14px 18px}.edit-session-actions{margin-left:auto}#goal-dialog{padding:23px}.primary-nav a[aria-current=page]:after{bottom:3px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.goal-label{font-size:0!important}.goal-label>select{display:none!important}#route-goals{font-size:12px;background:transparent;border:1px solid #ccd4c1;padding:10px 14px;white-space:nowrap}body:not([data-view=map]) .map-fullscreen{display:none}.goal-card .goal-progress{border-radius:0}.primary-nav a:hover{color:#20211f}.empty-state h2{font-size:24px}

/* Neutral working surfaces; node styling is inherited unchanged from explore.css. */
body[data-view=map]{--muted:#77736e;--green:#282725;--map-paper:#ffffff;--map-ink:#282725;--map-line:#d6d3ce;--map-accent:#d95029}
body[data-view=map] button:hover{background-color:#f2f4f6}
body[data-view=map] input,body[data-view=map] select{color:var(--map-ink);accent-color:var(--map-ink);border-color:var(--map-line)}
body[data-view=map] .map-toolbar>span,body[data-view=map] .search-box input,body[data-view=map] .current,body[data-view=map] aside p,body[data-view=map] .note,body[data-view=map] .learning-bridge p{color:#69655f}
body[data-view=map] #route-goals{border-color:var(--map-line)}
body[data-view=map] .map-status{border-color:var(--map-line)}
body[data-view=map] .map-status input{accent-color:var(--map-ink)}
body[data-view=map] #map-shell:fullscreen,body[data-view=map] #map-shell.fullscreen-fallback{background:var(--map-paper)}
body[data-view=map] #map-relations,body[data-view=map] .mini-scroll{background:#ffffff;border-color:var(--map-line);box-shadow:none}
body[data-view=map] .relation-controls button[aria-pressed=true]{background:#282725;color:#fff}
body[data-view=map] .criterion{background:#eeece7;border-color:#aaa59d}
body[data-view=map] .task,body[data-view=map] .prerequisite-cards button{background:#f1efeb;border-color:var(--map-line)}
body[data-view=map] .prerequisite-cards button:hover,body[data-view=map] .learning-section .checks label:hover{background:#f2f4f6}
body[data-view=map] .learning-section .checks input[type=checkbox]{accent-color:#282725}
body[data-view=map] .learning-section .checks label:has(input:checked){background:#eeece7;color:#282725}
body[data-view=map] .task a,body[data-view=map] #next-list button span{color:#a84025}

/* One map workspace in windowed and fullscreen modes. */
#map-shell{--panel-top:58px;--panel-bottom:76px;--panel-gap:16px;--panel-width:320px}
body[data-view=map] #map-shell :is(#inspector,#map-relations){position:absolute;top:var(--panel-top);bottom:var(--panel-bottom);width:var(--panel-width);max-width:none;max-height:none;margin:0;padding:20px;z-index:20;background:#ffffff!important;border:1px solid #d6d3ce!important;border-radius:0!important;box-shadow:none!important;overflow:auto}
body[data-view=map] #map-shell #inspector{right:var(--panel-gap);left:auto}
body[data-view=map] #map-shell #map-relations{left:var(--panel-gap);right:auto}
body[data-view=map] #map-shell #map-relations.expanded{width:calc(100% - var(--panel-width) - 3 * var(--panel-gap))}
body[data-view=map] #map-shell #map-selection{display:none!important}
#map-relations .section-heading{min-height:36px;margin:0 0 20px;align-items:center}
#map-relations .section-heading h3{margin:0;font-weight:500;font-size:14px}
#map-relations .mini-scroll{border:0;border-top:1px solid #dedbd5;border-radius:0;background:transparent;padding-top:16px}
#map-shell :is(.local-map,.panel-relation-switch,.criterion,.task,.learning-section,.resource-card,.resource-icon,.prerequisite-cards button,.learning-section .checks label,.direction-list button){border-radius:0!important;box-shadow:none!important}
#map-shell .panel-relation-switch{background:transparent;border:0;border-bottom:1px solid #d6d3ce;padding:0;gap:20px}
#map-shell .panel-relation-switch button{border:0;border-bottom:2px solid transparent;background:transparent;color:#77736e;padding:10px 0}
#map-shell .panel-relation-switch button[aria-pressed=true]{border-bottom-color:#282725;background:transparent;color:#282725}
#map-shell :is(.direction-list button,.prerequisite-cards button){background:transparent;border:0;border-bottom:1px solid #dedbd5;padding:13px 0}
#map-shell .task{background:transparent;border-top:1px solid #dedbd5;padding:16px 0}
#map-shell :is(.detail-back,.inspector-close,[data-close-specialization]){border:0!important;border-radius:0!important;background:transparent!important}
.map-panel-switch{display:none}
.home-heading h1{font-size:clamp(32px,3.3vw,50px);letter-spacing:-1px}
.home-heading{margin-bottom:32px}
.preview-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;width:100%;margin:24px 0;flex:1;align-content:center}
.preview-item{display:flex;min-width:0;flex-direction:column;gap:9px;text-align:left;padding:16px 14px;border-top:1px solid #bfc6b7}
.preview-index{font-size:10px;color:#7a8372;letter-spacing:1px}
.preview-item strong{font-size:14px;font-weight:500;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.preview-item small{font-size:10px;color:#707a68}
.map-preview{height:auto;min-height:340px}
.preview-footer strong{font-size:16px}
@media(min-width:1600px){.home-grid .map-preview{height:auto;min-height:365px}}
@media(max-width:1100px){
 #map-shell{--panel-top:98px;--panel-width:min(340px,calc(100% - 32px))}
 .has-selection .map-panel-switch{display:flex;position:absolute;top:52px;right:16px;z-index:22;gap:0;background:#ffffff;border:1px solid #d6d3ce}
 .map-panel-switch button{padding:7px 18px;font-size:12px;border:0;background:transparent}
 .map-panel-switch button[aria-pressed=true]{background:#282725;color:#fff}
 body[data-view=map] #map-shell[data-panel=details] #map-relations,body[data-view=map] #map-shell[data-panel=relations] #inspector{display:none!important}
 body[data-view=map] #map-shell #map-relations,body[data-view=map] #map-shell #map-relations.expanded{left:auto;right:16px;width:var(--panel-width)}
}
@media(max-width:700px){.preview-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.map-preview{min-height:360px}.preview-item{padding:12px 8px}.home-heading h1{font-size:36px}#map-shell{--panel-bottom:110px}.preview-footer{gap:10px}.preview-footer strong{font-size:14px}}

/* Consistent page rhythm and an independent preview-mode control. */
.home-heading h1{font-size:clamp(36px,4.7vw,72px);letter-spacing:-2px;line-height:1.16;font-weight:400}
.home-heading{margin-bottom:50px}
.map-preview-frame{position:relative;min-width:0;background:#e6e9df;border-right:1px solid #cfd3c8}
.map-preview-frame .map-preview{width:100%;height:360px;min-height:360px;border-right:0}
.map-preview-frame .preview-heading{padding-right:88px}
.preview-mode{position:absolute;top:23px;right:24px;z-index:3;padding:6px 9px;border:1px solid #aeb7a5;background:transparent;font-size:11px;color:#4b5643}
.preview-mode:hover{background:#dce2d3}
.map-preview-frame .map-preview svg{inset:70px 25px 75px;height:calc(100% - 145px);width:calc(100% - 50px)}
.map-preview-frame .map-preview svg path{stroke-width:1;opacity:.6}
.goal-summary{padding:28px 0 32px;align-items:center}
.goal-summary>div{align-items:baseline;line-height:1.5}
.goal-summary span{display:block;line-height:1.7}
.goal-card-top{min-height:24px;line-height:1.6}
.goal-progress-label{line-height:1.7;margin-bottom:28px}
.workspace{padding-bottom:64px}
.next-section{margin-top:28px;padding-bottom:24px}
.goal-field-help{font-size:12px;line-height:1.8;color:#77736e;margin:0 0 12px}
@media(max-width:1050px){.goal-summary>div{align-items:flex-start;gap:8px}}
@media(max-width:700px){.home-heading h1{font-size:44px}.home-heading{margin-bottom:30px}.map-preview-frame{border-right:0;border-bottom:1px solid #cfd3c8}.preview-mode{top:18px;right:18px}.map-preview-frame .preview-heading{padding-right:75px}.workspace{padding-bottom:48px}.goal-summary{padding:24px 0 28px}}

/* Restore the original home typography; preserve the working map panels. */
.home-heading h1{font-size:clamp(36px,4.7vw,72px);letter-spacing:-2px;line-height:1.16;font-weight:400}.home-heading h1>span{color:#e9582d}.home-heading{margin-bottom:50px}.preview-footer strong{font-size:20px;font-weight:400}.map-preview-frame .map-preview{height:360px;min-height:360px}
.goal-grid>.empty-state{padding:28px;border-right:1px solid #d2d6ca;border-bottom:1px solid #d2d6ca}.goal-grid>.empty-state h2{margin-top:0}
@media(min-width:1600px){.home-heading{margin-bottom:65px}.map-preview-frame .map-preview{height:405px}}
@media(max-width:700px){.home-heading h1{font-size:36px}.home-heading{margin-bottom:30px}}

/* ScaleField identity and bounded quick-view workspace. */
@font-face{font-family:ScaleFieldMiSans;src:local('MiSans VF'),local('MiSans'),local('MiSans Regular');font-weight:100 900;font-display:swap}
.brand{display:inline-flex;align-items:center;gap:12px;flex-shrink:0}.brand .brand-logo{width:30px;height:30px;object-fit:contain}.brand strong{font-family:ScaleFieldMiSans,'MiSans',sans-serif!important;font-size:24px!important;letter-spacing:-.7px!important;font-weight:550!important}.brand .brand-mark{display:none!important}
.language-control{position:relative;display:flex;align-items:center;margin-left:14px;flex-shrink:0}.language-toggle{display:grid;place-items:center;width:36px;height:36px;padding:0;border:0;border-radius:0;background:transparent;color:inherit}.language-toggle svg{width:19px;height:19px}.language-toggle:hover,.language-toggle[aria-expanded=true]{background:#f2f4f6}.language-menu{position:absolute;top:calc(100% + 10px);right:0;z-index:1000;min-width:140px;padding:6px;background:#ffffff;border:1px solid #d6d3ce;box-shadow:0 8px 24px #24232112}.language-menu button{display:block;width:100%;padding:10px 14px;border:0;border-radius:0;background:transparent;text-align:left;font-size:13px}.language-menu button:hover{background:#f2f4f6}.language-menu button[aria-checked=true]{color:#123c62;background:#edf4f8}
body[data-view=map] #map-shell #map-relations{box-sizing:border-box;min-width:0;max-width:calc(100% - 2 * var(--panel-gap));overflow:hidden}body[data-view=map] #map-shell #map-relations.expanded{width:calc(100% - var(--panel-width) - 3 * var(--panel-gap));max-width:calc(100% - var(--panel-width) - 3 * var(--panel-gap))}
#map-relations .local-map,#map-relations .mini-scroll,#map-relations .mini-stage{min-width:0;max-width:100%;box-sizing:border-box;overflow:hidden}#map-relations .mini-heading{flex-wrap:wrap}#map-relations .mini-world{position:relative;transform-origin:top left}
.resource-icon svg{width:28px;height:28px;flex-shrink:0}.resource-icon{cursor:pointer;border:1px solid transparent!important}.resource-icon:hover,.resource-icon:focus-visible{border-color:currentColor!important;background:#fff}.icon-picker{position:fixed;inset:0;margin:auto;width:min(372px,calc(100vw - 40px));max-height:calc(100dvh - 40px);padding:24px;border:1px solid #d6d3ce;border-radius:0;background:#ffffff;color:#242321;box-sizing:border-box;box-shadow:0 20px 60px #24232118}.icon-picker-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.icon-picker h2{margin:0;font-size:18px;font-weight:500;letter-spacing:-.3px}.icon-picker-heading button{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;padding:0;border:0;border-radius:0;background:transparent}.icon-picker-heading button:hover{background:#f2f4f6}.icon-picker svg{display:block;position:static;flex-shrink:0}.icon-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:0}.icon-grid button{display:grid;place-items:center;width:100%;min-width:0;height:auto;margin:0;padding:0;aspect-ratio:1;border:1px solid #dedbd5;background:transparent;border-radius:0}.icon-grid button svg{width:24px;height:24px}.icon-grid button:hover{background:#f2f4f6;border-color:#aaa59b}.icon-grid button[aria-pressed=true]{border-color:#b64a29;color:#b64a29;background:#f5eee8}
.edit-resource-card>.resource-icon{display:grid;float:left;margin:0 14px 8px 0}
@media(max-width:1100px){body[data-view=map] #map-shell #map-relations.expanded{width:var(--panel-width);max-width:calc(100% - 32px)}}
@media(max-width:700px){.brand strong{font-size:19px!important}.brand .brand-logo{width:24px;height:24px}.language-control{margin-left:4px}.primary-nav{gap:14px;margin-left:8px}}

/* Stable preview and compact, consistent controls. */
.map-preview-frame{height:360px}.preview-mode{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:76px;height:32px;padding:0}.preview-mode svg{width:15px;height:15px;flex-shrink:0}.preview-overview{min-height:0;overflow:hidden}.map-preview:active,.preview-mode:active{transform:none}
.edit-session-actions{display:flex;align-items:center;gap:8px}.edit-session-actions button,.edit-session-actions button.primary{display:inline-flex;align-items:center;justify-content:center;gap:6px;width:auto;min-width:68px;height:34px;margin:0;padding:0 10px;font-size:12px;line-height:1;border:1px solid #d3d0c9}.edit-session-actions button svg{width:16px;height:16px;flex-shrink:0}.edit-status{font-size:11px}
.legend>span{display:inline-flex;align-items:center;gap:6px}.legend svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.5}.legend .legend-route{color:#e9582d;stroke-width:2.5}
body[data-view=map] .map-status label,body[data-view=map] .map-status output{font-size:11px;line-height:1.4}.lod-filter output{min-width:64px}.mini-scroll{scrollbar-gutter:auto}

/* Separate the overview from the next-step section, regardless of preview content. */
#home-page .home-next{margin-top:0;padding-top:64px}
#data-open{width:36px;height:36px;padding:0;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}#data-open svg{display:block;width:20px;height:20px}
@media(max-width:700px){#home-page .home-next{padding-top:48px}}

#home-page .home-next{padding-top:96px}
#data-open:hover,#data-open:active{background:#f2f4f6}#data-open{border-radius:0!important}
#map-relations .mini-scroll{overflow:auto!important;touch-action:none;cursor:grab;user-select:none;padding-top:16px;scrollbar-width:thin}
#map-relations .mini-scroll.dragging,#map-relations .mini-scroll.dragging button{cursor:grabbing}
#map-relations .mini-stage{max-width:none;overflow:visible}#map-relations .mini-world{max-width:none}
@media(max-width:700px){#home-page .home-next{padding-top:72px}}

.lod-filter output{display:inline-block;width:80px;min-width:80px;white-space:nowrap;font-variant-numeric:tabular-nums}

/* Map search and independently visible goal paths. */
body[data-view=map] .workspace>.toolbar{display:none}body[data-view=map] .route-strip{display:none}
.map-toolbar .search-box{position:relative;flex:1;min-width:180px;max-width:420px}.map-toolbar .search-box input{width:100%;height:34px;margin:0;font-size:12px}.map-toolbar #search-results{z-index:60}.map-toolbar{overflow:visible}.map-route-picker{position:relative;font-size:12px;flex-shrink:0}.map-route-picker summary{cursor:pointer;list-style:none;padding:9px 12px;border:1px solid #d6d3ce}.map-route-picker summary span{margin-left:8px;color:#a95032}.map-route-menu{position:absolute;right:0;top:calc(100% + 8px);width:320px;max-width:80vw;max-height:60vh;overflow:auto;z-index:65;background:#ffffff;border:1px solid #d6d3ce;padding:12px;box-shadow:0 8px 20px #24232115}.map-toolbar .map-route-menu{display:block}.map-toolbar .route-menu-row{display:flex;flex-wrap:nowrap;align-items:center;border-top:1px solid #e5e2dc;padding:8px 0}.route-menu-row label{display:flex;align-items:center;gap:8px;flex:1;min-width:0}.route-menu-row label span{overflow:hidden;text-overflow:ellipsis}.route-menu-row input{accent-color:#e9582d}.map-toolbar .map-route-menu button{font-size:11px;white-space:nowrap}.add-goal-list{display:grid;gap:8px;margin:20px 0}.add-goal-list button{text-align:left}#map-shell .map-toolbar{position:relative;z-index:35}

/* Shared controls and dialog hierarchy. */
#goal-dialog>.dialog-heading,#goal-form>.dialog-heading{display:flex;justify-content:flex-end}#goal-dialog>.dialog-heading h2{margin-right:auto}
#goal-dialog .dialog-heading button,#data-dialog .dialog-heading button{display:grid;place-items:center;width:34px;height:34px;padding:0;border:0;background:transparent;flex-shrink:0} .dialog-heading button svg{width:20px;height:20px}
#data-dialog{width:min(560px,94vw);padding:32px;background:#ffffff;color:#242622}#data-dialog h2,#goal-dialog h2{font-size:26px;font-weight:400;line-height:1.3;letter-spacing:-.7px}#data-dialog .dialog-heading{margin-bottom:24px}#data-dialog h2{margin:0}#data-dialog .export-actions button{font-size:12px;min-height:36px}
.mode-switch button[aria-pressed=true],.edit-session-actions .primary{background:#242622!important;color:#fff!important}.mode-switch button[aria-pressed=true]:hover,.edit-session-actions .primary:hover{background:#404448!important}
.map-route-picker summary:hover,.map-toolbar button:hover,.map-edit-toolbar button:not(.primary):not([aria-pressed=true]):hover,.dialog-heading button:hover{background:#f2f4f6}.map-route-picker summary:active,.map-toolbar button:active,.map-edit-toolbar button:active{filter:brightness(.96);transform:none}
.map-toolbar{display:grid;grid-template-columns:minmax(180px,1fr) auto minmax(130px,1fr);gap:16px}.map-toolbar>.search-box{max-width:380px;width:100%}.map-toolbar>div:not(.search-box){justify-self:center}.map-route-picker{justify-self:end}.map-toolbar button svg,.mini-heading button svg{display:block;width:18px;height:18px}.mini-heading button{width:32px;height:32px;display:grid;place-items:center;padding:0!important}.map-toolbar #fit,.map-toolbar #focus-route,.map-toolbar #fullscreen{width:34px;height:34px;display:grid;place-items:center;padding:0}
.map-edit-toolbar{position:relative;display:flex;align-items:center;gap:16px;min-height:44px;padding:6px 12px;border-bottom:1px solid #d6d3ce}.map-edit-toolbar .mode-switch{margin:0}.map-edit-toolbar .edit-session-actions{margin-left:0;flex-shrink:0}.map-edit-toolbar .edit-session-actions button{width:34px;min-width:34px;height:34px;padding:0}.map-edit-toolbar .edit-status:empty{display:none}.map-edit-toolbar .edit-map-actions{display:flex;gap:8px;flex-shrink:0}.map-edit-toolbar button{font-size:11px}
#map-shell{--panel-top:110px}
@media(max-width:850px){.map-toolbar{grid-template-columns:1fr auto}.map-toolbar>.search-box{grid-column:1/-1}.map-toolbar>div:not(.search-box){justify-self:start}.map-edit-toolbar{flex-wrap:nowrap}#map-shell{--panel-top:160px}}

/* One header alignment and one dialog frame. */
body>header{justify-content:flex-start}.primary-nav{margin-left:35px}body>header #data-open{margin-left:auto}body>header .language-control{margin-left:0}
#goal-dialog .dialog-heading,#data-dialog .dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:0 0 20px;margin:0 0 24px;border-bottom:1px solid #d6d3ce}
#goal-dialog .dialog-heading h2,#data-dialog .dialog-heading h2{margin:0;font-size:26px;font-weight:400;line-height:1.3;letter-spacing:-.7px}
#goal-dialog,#data-dialog{padding:28px;width:min(560px,94vw);border:1px solid #cfd4c7;background:#ffffff}
#goal-dialog .dialog-footer,#data-dialog .dialog-footer{border-top:1px solid #d6d3ce;padding-top:20px;margin-top:24px;display:flex;justify-content:flex-end;gap:12px}
#goal-dialog .dialog-footer button,#data-dialog .dialog-footer button{width:auto;min-width:88px;height:40px;margin:0;padding:0 18px;justify-content:center;font-size:12px}
.map-toolbar>.map-context-tools{justify-self:end;display:flex;align-items:center;gap:12px;flex-wrap:nowrap}.map-context-tools .mode-switch{display:flex;margin:0}.map-context-tools .mode-switch button{width:34px;height:34px;display:grid;place-items:center;padding:0}.mode-switch svg{width:18px;height:18px}
.map-edit-toolbar:not(:has(.edit-session-actions:not([hidden]))){display:none}
@media(max-width:700px){body>header .primary-nav{margin-left:8px;gap:14px}body>header{gap:12px}}

/* Editing tools float independently of map and page geometry. */
html{scrollbar-gutter:stable}
#map-shell .map-toolbar>.map-context-tools{justify-self:stretch;width:100%;justify-content:flex-end;gap:24px}.map-context-tools .mode-switch{margin-left:auto}.map-context-tools .map-route-picker{margin-left:0}
#map-shell .map-edit-toolbar{position:absolute;left:50%;bottom:70px;transform:translateX(-50%);width:max-content;z-index:38;max-width:calc(100% - 32px);min-height:44px;padding:6px 10px;background:#ffffff;border:1px solid #d6d3ce;box-shadow:0 4px 16px #24232112;flex-wrap:nowrap}
.map-edit-toolbar .edit-status{position:absolute;left:50%;bottom:calc(100% + 8px);transform:translateX(-50%);width:max-content;max-width:min(320px,60vw);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:4px 10px;background:#ffffff;border:1px solid #d6d3ce;border-radius:1px;box-shadow:0 2px 8px #24232112}.map-edit-toolbar .edit-map-actions button{display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap;flex-shrink:0}.map-edit-toolbar.compact-actions .edit-map-actions button{font-size:0;gap:0;padding:0;width:34px;min-width:34px;height:34px}
body.editing>header{padding:0 4vw}body.editing>header .brand{gap:12px!important}
@media(max-width:700px){body.editing>header{padding:0 16px}#map-shell .map-edit-toolbar{bottom:105px}.map-edit-toolbar .edit-status{display:none}}

body.editing>header #data-open{display:inline-flex;visibility:hidden;pointer-events:none}


.inline-ui-icon{display:inline-flex;align-items:center;vertical-align:middle;flex-shrink:0}.inline-ui-icon svg{position:static!important;inset:auto!important;width:16px!important;height:16px!important;opacity:1!important;stroke:currentColor!important;fill:none!important}.inline-ui-icon svg path{stroke:currentColor!important;stroke-width:1.7!important;opacity:1!important}
#map-shell{--panel-top:68px;--panel-bottom:56px}#map-relations .local-map{margin:0}#map-relations .mini-heading{margin-bottom:12px}
#specialization-layer button[data-specialization].on-goal-route{color:#a66724}#specialization-layer button[data-specialization].on-goal-route:before{border-color:#a66724;background:#a66724}#specialization-layer button[data-specialization].mastered:before{width:16px;height:16px;margin-left:-3px;margin-top:-3px;background:#ffffff;border-width:3px}
.goal-membership+.goal-membership{margin-top:8px}#goal-dialog [data-dialog-delete]{margin:0;color:#a33c2d}
@media(max-width:850px){#map-shell{--panel-top:110px;--panel-bottom:80px}}

.goal-memberships{margin-top:12px;border:1px solid #d6d3ce;padding:10px}.goal-memberships summary{cursor:pointer;font-size:13px}.goal-memberships .goal-membership{width:100%;margin-top:8px}

#goal-dialog .dialog-footer{display:flex;gap:12px;justify-content:flex-end}#goal-dialog .dialog-footer>button{margin:0;flex:1;min-width:0;padding:0 12px;height:40px}.goal-choice-cards{display:grid;gap:12px}.goal-choice-card{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px;text-align:left;background:transparent;border:1px solid #d6d3ce}.goal-choice-card strong{font-size:15px;font-weight:500}.goal-choice-card span{font-size:12px;color:#777971;white-space:nowrap}

#goal-dialog .dialog-footer{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:12px}#goal-dialog .dialog-footer>button{width:100%;box-sizing:border-box}


body:not([data-view=space]) #space-page{display:none!important}#space-page .page-heading h1{font-size:48px;letter-spacing:-1px}.space-toolbar,.space-toolbar>div{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.space-toolbar{justify-content:space-between;border-block:1px solid #d6d3ce;padding:18px 0}.space-toolbar button{font-size:12px}.space-toolbar button[aria-pressed=true]{background:#242622;color:white}.space-toolbar .solid-button{gap:12px;min-width:0;padding:12px 16px}.space-toolbar svg{width:16px;height:16px}.space-search{display:flex;align-items:center;gap:16px;margin:24px 0;font-size:12px}.space-search input{width:min(320px,65vw);padding:10px;border:1px solid #d6d3ce;background:transparent}.space-map-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:20px}.space-map-card{border:1px solid #d6d3ce;padding:24px;min-width:0}.space-map-card h2{font-size:24px;overflow-wrap:anywhere;margin:12px 0 24px}.space-map-card time,.space-versions time{font-size:11px;color:#777971}.space-counts{display:flex;gap:18px;margin-bottom:24px;font-size:12px}.space-counts b{font-size:18px;font-weight:400}.space-card-actions{display:flex;gap:8px;align-items:center;margin-top:24px}.space-card-actions button{font-size:12px}.space-card-actions .solid-button{min-width:0;padding:10px 14px;gap:12px}.space-card-actions svg{width:16px;height:16px}.space-dialog{width:min(560px,94vw);padding:28px;border:1px solid #cfd4c7;border-radius:0;background:#ffffff}.space-dialog .dialog-heading{padding-bottom:20px;margin-bottom:24px;border-bottom:1px solid #d6d3ce}.space-dialog h2{font-size:26px;font-weight:400;margin:0}.space-dialog .dialog-heading button{display:grid;place-items:center;width:34px;height:34px;padding:0;border:0;background:transparent}.space-dialog svg{width:20px;height:20px}.space-dialog .product-field{margin-block:16px}.space-dialog .dialog-footer{border-top:1px solid #d6d3ce;padding-top:20px}.space-manage{display:flex;gap:8px;flex-wrap:wrap}.space-manage button{font-size:12px}.space-versions>div,.space-activity article{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 0;border-bottom:1px solid #dedbd5}.space-activity time{font-size:12px;color:#777971}.space-error,.space-notice{color:#a33c2d;font-size:12px}.space-notice:empty{display:none}

/* Keep the shared header and workspace offsets on the same scale. */
:root{--site-header-height:82px}
body>header{height:var(--site-header-height)}
@media(max-width:700px){
 :root{--site-header-height:100px}
 body>header,body[data-view=map]>header{display:grid;grid-template-columns:minmax(0,1fr) auto auto;grid-template-rows:50px 50px;align-items:center;align-content:center;column-gap:8px;row-gap:0;height:var(--site-header-height);min-height:var(--site-header-height);padding:0 16px}
 body>header .brand{grid-column:1;grid-row:1;min-width:0}
 body>header .primary-nav{grid-column:1/-1;grid-row:2;align-self:stretch;justify-self:start;height:auto;margin:0;gap:14px}
 body>header #data-open{grid-column:2;grid-row:1;margin:0}
 body:not([data-view=map])>header #data-open{display:inline-flex}
 body>header .language-control{grid-column:3;grid-row:1;margin:0}
}

.space-overview{display:flex;gap:64px;margin:0 0 40px}.space-overview>div{display:flex;flex-direction:column;gap:10px}.space-overview strong{font-size:36px;font-weight:400}.space-overview span{font-size:12px;color:#777971}@media(max-width:700px){.space-overview{gap:28px}.space-overview strong{font-size:28px}.space-toolbar{gap:16px}.space-activity article{align-items:flex-start;flex-direction:column}}

/* Personal profile: quiet activity column, expansive map collection. */
#space-page{padding-top:64px}.space-profile-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;padding-bottom:44px;border-bottom:1px solid #cfd3c8;margin-bottom:48px}#space-page .space-profile-heading h1{font-size:clamp(42px,5vw,72px);font-weight:400;letter-spacing:-2px;line-height:1.1;overflow-wrap:anywhere}.profile-period{color:#e9582d}.profile-heading-tools{display:flex;flex-direction:column;align-items:flex-end;gap:16px;flex-shrink:0}.profile-heading-tools button{padding:8px 0;border:0;border-bottom:1px solid #a8aaa1;background:transparent;font-size:12px}.profile-local{font-size:10px;color:#8a8b82}.space-editorial{display:grid;grid-template-columns:minmax(250px,300px) minmax(0,1fr);gap:clamp(40px,6vw,96px)}.space-life,.space-collection{min-width:0}.space-section-title{display:flex;align-items:center;gap:14px;min-height:40px;margin-bottom:28px}#space-page .space-section-title h2{font-size:19px;margin:0;letter-spacing:-.4px}.space-section-title .index{color:#a0a298;font-size:10px}.space-section-title .solid-button{margin-left:auto;min-width:0;gap:10px;padding:10px 14px;font-size:12px}.space-section-title svg{width:16px;height:16px}.collection-count{font-size:11px;color:#93968a}.activity-rhythm{padding:0 0 22px;border-bottom:1px solid #d6d8cf}.rhythm-total{display:flex;gap:16px;align-items:center;margin:8px 0 28px}.rhythm-total>strong{font-size:66px;line-height:1;font-weight:400;letter-spacing:-4px}.rhythm-total>div{display:flex;flex-direction:column;gap:8px}.rhythm-total span{font-size:12px}.rhythm-total small{font-size:10px;color:#85887c}.rhythm-row{margin-top:14px}.rhythm-row>time{display:block;font-size:9px;color:#898d80;margin-bottom:7px;font-variant-numeric:tabular-nums}.rhythm-track{display:grid;grid-template-columns:repeat(28,minmax(0,1fr));gap:3px}.rhythm-day{min-width:0;width:100%;height:29px;padding:3px 0;border:0;background:transparent;border-radius:0!important}.rhythm-day>span{display:block;height:100%;width:100%;background:#dedfd6}.rhythm-day.has-activity>span{background:#e9582d;opacity:var(--heat)}.rhythm-day:hover{background:transparent}.rhythm-day:hover>span,.rhythm-day:focus-visible>span{background:#242622;opacity:1}.rhythm-caption{min-height:30px;font-size:10px;color:#898d80;line-height:1.5;margin:16px 0 0}.profile-learning-totals{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:24px 0 32px}.profile-learning-totals>div{display:flex;flex-direction:column;gap:9px}.profile-learning-totals strong{font-size:28px;font-weight:400;letter-spacing:-1px}.profile-learning-totals span{font-size:10px;color:#808575}.recent-heading{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #d6d8cf;padding-top:24px}.recent-heading h3{font-size:13px;font-weight:400;margin:0}.recent-heading>span{font-size:10px;color:#93968a}.space-life .space-activity article{display:flex;flex-direction:row;align-items:flex-start;justify-content:flex-start;gap:14px;padding:20px 0;border-bottom:1px solid #e1e2da}.activity-pin{margin-top:5px;width:5px;height:5px;background:#b2b7a6;flex-shrink:0}.space-activity article:first-child .activity-pin{background:#e9582d}.space-life .space-activity article>div{min-width:0;display:flex;flex-direction:column;gap:8px}.activity-kind{font-size:10px;color:#7e8375}.space-life .space-activity strong{font-size:13px;font-weight:400;line-height:1.5;overflow-wrap:anywhere}.space-life .space-activity time{font-size:10px;color:#969a8d}.older-activity{margin-top:20px;font-size:11px;color:#777971}.older-activity summary{cursor:pointer}.older-activity p{display:flex;flex-direction:column;gap:6px}.older-activity time{font-size:10px}.collection-toolbar{display:flex;align-items:center;gap:18px;border-bottom:1px solid #cfd3c8;padding-bottom:16px;margin-bottom:0}.collection-toolbar .space-search{flex:1;margin:0;min-width:0}.collection-toolbar .space-search input{width:100%;padding:9px 0;border:0;background:transparent;font-size:12px}.collection-toolbar>button{font-size:11px;padding:8px 0;border:0;background:transparent;white-space:nowrap}.space-collection .space-map-grid{display:flex;flex-direction:column;gap:0}.space-collection .space-map-card{display:grid;grid-template-columns:40px minmax(0,1fr) 92px;gap:20px;padding:30px 0;border:0;border-bottom:1px solid #cfd3c8;background:transparent}.map-card-index{font-size:12px;color:#999e8d;padding-top:7px;font-variant-numeric:tabular-nums}.map-card-main{min-width:0}.map-card-top{display:flex;align-items:center;justify-content:space-between;min-height:26px}.map-card-top .overline{font-size:9px;margin:0;color:#929786}.map-manage-button{display:grid;place-items:center;padding:0;width:28px;height:28px;background:transparent;border:0}.map-manage-button svg{width:18px;height:18px}.space-collection .space-map-card h2{font-size:clamp(22px,2.2vw,32px);font-weight:400;letter-spacing:-.8px;line-height:1.25;margin:12px 0 24px}.space-collection .space-counts{gap:24px;margin-bottom:28px;color:#7c8272;font-size:10px}.space-counts>span{display:inline-flex;align-items:baseline;gap:5px}.space-counts b{font-size:14px;color:#44483c}.map-card-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.space-collection .space-card-actions{margin:0;gap:20px}.space-collection .space-card-actions button{padding:4px 0;border:0;background:transparent;font-size:11px}.space-card-actions .map-open-button{display:flex;align-items:center;gap:12px;color:#2b3026}.map-card-footer time{color:#999d90;font-size:10px}.map-mastery{display:flex;flex-direction:column;justify-content:center;align-items:flex-end;padding-left:14px;border-left:1px solid #e2e4da;gap:20px}.map-mastery>span{font-size:36px;font-weight:400;letter-spacing:-1px;color:#6f7764}.map-mastery small{font-size:11px;margin-left:3px;color:#9ba18e}.mastery-scale{display:grid;grid-template-columns:repeat(10,4px);gap:3px}.mastery-scale i{height:12px;background:#e1e4d9}.mastery-scale i.complete{background:#e9582d}.space-archive{margin-top:32px}.space-archive>summary{display:flex;justify-content:space-between;font-size:11px;color:#878e7a;cursor:pointer;padding:12px 0;border-bottom:1px solid #d6d8cf}.space-map-card.is-archived{opacity:.75}
@media(max-width:1050px){.space-editorial{grid-template-columns:240px minmax(0,1fr);gap:32px}.space-collection .space-map-card{grid-template-columns:24px minmax(0,1fr);gap:12px}.map-mastery{display:none}.space-section-title{gap:10px}#space-page .space-section-title h2{font-size:17px}}
@media(max-width:720px){#space-page{padding-top:36px}.space-profile-heading{align-items:flex-start;margin-bottom:32px;padding-bottom:28px;gap:20px}.profile-local{max-width:120px;text-align:right;line-height:1.5}.space-editorial{grid-template-columns:1fr;gap:48px}.space-life{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:24px}.space-life>.space-section-title,.space-life>.recent-heading,.space-life>.space-activity,.space-life>.older-activity{grid-column:1/-1}.profile-learning-totals{grid-template-columns:1fr;padding:20px 0;align-content:center}.rhythm-total>strong{font-size:52px}.rhythm-total{gap:10px}.rhythm-total span{font-size:10px}.rhythm-track{gap:2px}.rhythm-day{height:24px}.space-life .space-activity{max-height:340px;overflow:auto}.space-section-title .solid-button{padding:10px}.space-collection .space-map-card{padding:24px 0}}

/* Collection hierarchy and a consistent management dialog. */
.space-collection .collection-heading{align-items:center;gap:24px;margin-bottom:24px}.collection-heading-copy{min-width:0;display:flex;align-items:center;gap:24px}.collection-heading-label{display:flex;align-items:center;gap:14px}.collection-heading-copy .overline{margin:0 0 12px;font-size:12px;letter-spacing:.08em}#space-page .collection-heading h2{font-size:28px;line-height:1.2;letter-spacing:-.6px}#space-page .collection-heading .collection-count{font-size:36px;line-height:1;font-weight:400;font-variant-numeric:tabular-nums;letter-spacing:-1px;color:var(--ink-secondary)}.map-card-top .overline:not(:empty):before{background:#a2a898}.is-current .map-card-top .overline:not(:empty):before{background:#e9582d}.activity-view-all{display:flex;justify-content:space-between;align-items:center;width:100%;margin-top:18px;padding:14px 0;border:0;border-top:1px solid #d6d3ce;background:transparent;font-size:13px}.activity-view-all svg{width:16px;height:16px}.activity-view-all:disabled{opacity:.55;cursor:default}
.managed-map-heading{padding-bottom:24px}.managed-map-heading .overline{margin:0 0 10px;font-size:12px}.managed-map-heading h3{font-size:22px;line-height:1.4;font-weight:400;letter-spacing:-.3px;margin:0;overflow-wrap:anywhere}.space-dialog .space-manage{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:28px}.space-dialog .space-manage button{min-height:40px;padding:10px 14px;font-size:14px;background:transparent;border:1px solid #d6d3ce}.managed-history{border-top:1px solid #d6d3ce;padding-top:24px}.managed-history-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.managed-history-heading h3{margin:0;font-size:16px;font-weight:500}.managed-history-heading button{font-size:13px;background:transparent;border:0;padding:8px 0}.managed-history>.empty-copy{font-size:12px;line-height:1.6;margin:12px 0 18px}.managed-history .space-versions{max-height:240px;overflow:auto}.space-versions>div{padding:14px 0}.managed-history .space-versions>div:last-child{border-bottom:0}.space-versions time{font-size:12px}.space-versions button{font-size:13px}.history-empty{font-size:13px;color:#85887b;padding:16px 0;margin:0}.space-dialog .dialog-footer{gap:12px;margin-top:28px}.space-dialog .dialog-footer button{min-height:40px;min-width:100px;padding:0 18px;font-size:14px}.manage-footer .danger-button{margin-right:auto}.danger-button{color:#a33c2d;border:1px solid #d6d3ce;background:transparent}.danger-button:hover{background:#f3e6df}.delete-map-name{font-size:18px!important;overflow-wrap:anywhere}.space-life .space-activity{max-height:none;overflow:visible}
