/* Shared refinements: preserve Clareza's palette and existing component contracts. */
:root{--surface:#fff;--surface-soft:#f3f7f8;--line-strong:#b9d0da;--shadow-soft:0 5px 22px #164e6308;--radius-card:16px}
body{background:#f5f8f9}
aside{padding:25px 17px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#b7cdd6 transparent}
aside .brand{margin-left:8px}
.workspace{padding:13px 11px;margin:23px 0;background:#f1f6f8;border:1px solid #dbe8ed;border-radius:12px}
.workspace>div{min-width:0;overflow-wrap:anywhere}
.navlabel{font-size:10px;letter-spacing:1.7px;color:#506c7b}
#nav>.active{margin-bottom:13px;background:#164e63;color:white;box-shadow:0 4px 10px #164e6317}
.nav-group{border-top:1px solid #e4edf1;margin-top:10px;padding-top:8px}
.nav-group summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;list-style:none;min-height:42px;padding:9px 10px;font-size:12px;font-weight:700;color:#496877;letter-spacing:.15px}
.nav-group summary::-webkit-details-marker{display:none}
.nav-group summary:after{content:'+';font-size:17px;font-weight:400;color:#658493}
.nav-group[open] summary:after{content:'−'}
.nav-group button{margin:2px 0;min-height:43px;padding:10px 11px;font-size:12px;color:#496575;line-height:1.45}
.nav-group button .icon{width:18px;height:18px}
.nav-group button:hover{background:#edf4f6;color:#164e63}
.nav-group button.active{background:#deedf2;border:1px solid #bed5df;color:#164e63;font-weight:700}
.sidebottom{margin-top:24px;padding:16px;background:transparent;border-top:1px solid #e3edf1;border-radius:0}
.sidebottom .leaf{display:none}
.sidebottom strong{font-size:12px;color:#496b7a}
.sidebottom p{font-size:11px;margin-bottom:0}
header{background:#ffffffed;backdrop-filter:blur(12px)}
main{padding-top:32px}
.pagehead{margin-bottom:24px}
.pagehead .eyebrow{color:#547887;letter-spacing:1.8px;font-size:10px}
.pagehead h1{font-weight:800}
.pagehead p{max-width:740px;line-height:1.75}
.card{border-color:#d9e5ea;border-radius:var(--radius-card);box-shadow:var(--shadow-soft)}
.cardhead h2{font-weight:700}
.primary{box-shadow:0 3px 9px #164e6315}
.primary,.secondary{transition:background .16s ease,border-color .16s ease,box-shadow .16s ease}
.secondary{border-color:#c2d6df;text-decoration:none}
.secondary:hover{border-color:#86adbe;background:#edf5f8}
.toolbar{margin-top:0}
.space-banner{border-radius:12px;border-color:#c0d8e2;background:#ecf5f8}
.section-kicker{display:block;color:#35667c;font-size:10px;letter-spacing:1.6px;font-weight:800;margin-bottom:8px;text-transform:uppercase}
.tools-hero{display:flex;align-items:center;gap:24px;background:linear-gradient(120deg,#164e63,#276e80);color:#fff;padding:32px;border-radius:20px;box-shadow:0 8px 24px #164e6312}
.tools-hero .tool-icon{background:#ffffff18;color:#b3e7e5;border:1px solid #ffffff26;padding:15px;border-radius:16px}
.tools-hero .tool-icon .icon{width:30px;height:30px}
.tools-hero .section-kicker{color:#b4dedf}
.tools-hero h2{font-size:clamp(23px,2.4vw,31px);line-height:1.25;color:#fff;letter-spacing:-.6px}
.tools-hero p{color:#e0eef1;font-size:13px;line-height:1.8;margin:10px 0 0;max-width:650px}
.tool-search-label{display:flex;flex-direction:column;gap:9px;font-size:12px;color:#456575;font-weight:600;margin:26px 0 30px}
#tool-search{width:100%;max-width:700px;border:1px solid #b7d0dc;border-radius:12px;background:white;padding:14px 17px;min-height:50px;box-shadow:var(--shadow-soft);color:var(--ink)}
.tool-group{margin-top:30px}
.tool-group-heading{border-bottom:1px solid #d8e5eb;padding-bottom:12px;display:flex;align-items:center;justify-content:space-between;gap:14px}
.tool-group-heading .section-kicker{margin:0;font-size:12px;letter-spacing:.8px}
.tool-group-heading p{font-size:12px;color:var(--muted);margin:0}
.tools-grid{gap:16px;margin-top:18px;grid-template-columns:repeat(3,minmax(0,1fr))}
.tool-tile{min-height:205px;padding:23px;border-top:3px solid #a8cdd8;transition:transform .17s ease,border-color .17s ease,box-shadow .17s ease}
.tool-tile:hover{border-color:#438ca3;box-shadow:0 9px 24px #164e6310;transform:translateY(-2px)}
.tool-tile .tool-icon{background:#e4f0f4;border:1px solid #c9e0e8;color:#164e63;border-radius:11px}
.tool-tile p{font-size:12px;line-height:1.8}
.tool-open{font-size:11px;font-weight:700;gap:7px}
.tool-tile strong{font-size:14px}
.list-pagination{display:flex;align-items:center;justify-content:space-between;gap:14px;border-top:1px solid #dce8ed;padding-top:18px;margin-top:20px}
.list-pagination button{width:auto;min-height:42px;font-size:12px;margin:0;justify-content:center}
.list-pagination span{font-size:12px;color:#4c6c7c;text-align:center}
.session-card{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-bottom:20px}
.session-card>p{flex-basis:100%;margin:0;border-top:1px solid #e2ecf0;padding-top:14px}
.backup-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:20px 0}
.backup-summary span{padding:13px;background:#eaf3f6;border:1px solid #cce0e8;border-radius:9px;font-size:13px;color:#164e63}
.recovery-notice{background:#fff6e9;border:1px solid #d7bc85;border-left:4px solid #ac7b2d;color:#694d21;border-radius:12px;padding:19px;margin:18px 0}
.recovery-notice p{font-size:13px;line-height:1.8;margin:8px 0 14px}
.recovery-notice button{margin-right:10px}
.heat-3{background:#36718a;color:#fff}
.effective-date{display:block;color:#466b7e;font-size:11px;margin-top:4px;white-space:normal}
#title:focus,#learning-heading:focus{outline:none}
#studio-dialog form label{display:flex;flex-direction:column;gap:7px;font-size:13px;color:#425d6d;margin:14px 0}
#studio-dialog form input,#studio-dialog form select,#studio-dialog form textarea{min-height:44px;padding:10px;border:1px solid #bfd4de;background:#fbfdfe;border-radius:8px;color:var(--ink);width:100%}
#studio-dialog form label:has(input[type=checkbox]){flex-direction:row;align-items:center}
#studio-dialog form input[type=checkbox]{width:18px;min-height:18px}
#studio-dialog p{line-height:1.8}
#studio-dialog h2{font-size:21px}
#studio-dialog .form-error{position:sticky;bottom:0;background:white}
.learning-category-card:not(.learning-soon){border-top-color:#438aa2}
.learning-category-card:not(.learning-soon) .learning-icon{background:#dceef4;border-color:#b3d2df;color:#164e63}
@media(min-width:801px) and (max-width:1100px){.tools-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){
  main{padding-top:23px}.pagehead{margin-bottom:20px}.pagehead h1{line-height:1.3}
  .tools-hero{padding:23px;align-items:flex-start;gap:15px}.tools-hero .tool-icon{padding:10px}.tools-hero .tool-icon .icon{width:23px;height:23px}
  .tools-hero p{font-size:12px}.tool-group-heading{align-items:flex-start;flex-direction:column;gap:6px}
  .tools-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.tool-tile{min-height:190px;padding:19px}
  #mobile-more{max-height:72dvh;border-radius:16px 16px 0 0;background:#fff;padding:8px 16px 20px;box-shadow:0 -8px 28px #164e631c}
  #mobile-more .nav-group{margin-top:7px;padding-top:5px}#mobile-more .nav-group summary{font-size:13px;min-height:44px}
  #mobile-more .nav-group button{font-size:13px;min-height:44px}
  .backup-summary{gap:8px}.session-card{padding:20px}.session-card>a{width:100%}
  #studio-dialog form input,#studio-dialog form select,#studio-dialog form textarea,#tool-search{font-size:16px}
  .list-pagination{flex-wrap:wrap}.list-pagination span{order:-1;flex-basis:100%}.list-pagination button{flex:1}
}
@media(max-width:540px){.tools-grid{grid-template-columns:1fr}.tool-tile{min-height:180px}.tools-hero{flex-direction:column}.tools-hero h2{font-size:24px}}
@media(prefers-reduced-motion:reduce){.tool-tile,.primary,.secondary{transition:none}.tool-tile:hover{transform:none}}
html[data-motion=reduce] .tool-tile{transition:none;transform:none}
