/* V5: calmer, search-first reading experience; branding retained */
:root{--ink:#153041;--deep:#102c3e;--teal:#147d70;--mint:#a8e8cf;--line:#e1e9e6}
body{background:#f9fbf9;color:var(--ink);font-size:16px}
.site-header{box-shadow:none}.header-inner{height:76px}.desktop-nav{gap:25px}.desktop-nav a{font-size:14px}.nav-actions{gap:18px}.nav-saved{font-size:14px}
.hero-focus{background:linear-gradient(130deg,#102a3d 0%,#102f40 64%,#0f4050 100%)}
.hero-focus:before{width:520px;height:520px;right:-140px;top:-250px;background:radial-gradient(circle,#246e6a4d,transparent 68%)}
.hero-focus:after{display:none}
.hero-focus-inner{max-width:860px;min-height:0;display:flex;flex-direction:column;text-align:center;align-items:center;gap:0;padding-top:78px;padding-bottom:82px;position:relative;z-index:1}
.hero-focus .eyebrow{justify-content:center;color:#a0e4c7;letter-spacing:.11em;font-size:11px}
.hero-focus h1{font-size:clamp(43px,5.3vw,70px);font-weight:820;line-height:1.1;letter-spacing:-.057em;margin:20px 0 14px;max-width:700px}
.hero-focus h1 span{color:#a1dfc2}
.hero-focus .hero-description{max-width:570px;color:#d3e0e1;line-height:1.6;font-size:17px;margin:0 0 30px}
.hero-focus .hero-search{max-width:700px;width:100%;border-radius:15px;min-height:70px;padding:8px 8px 8px 21px;box-shadow:0 18px 38px #05162130}
.hero-focus .hero-search input{font-size:16px;padding:13px 0}
.hero-focus .hero-search button{font-size:14px;min-height:52px;padding:12px 23px;border-radius:11px}
.hero-focus .search-lens{font-size:29px;color:#7c9b9b}
.hero-focus .popular-search{justify-content:center;margin-top:18px;gap:9px}
.hero-focus .popular-search span{font-size:12px;color:#b2cbd0}
.hero-focus .popular-search button{padding:7px 12px;font-size:12px;background:#1c4051;color:#e0eeeb;border-color:#376170}
.hero-small-print{font-size:12px;color:#9fbdc0;letter-spacing:.01em;margin:24px 0 0}
.hero-suggestions{width:100%;max-width:700px;text-align:left;position:relative;margin:7px 0 0;background:white;border:1px solid #dfebe6;border-radius:14px;box-shadow:0 15px 36px #06192b28;overflow:hidden;color:#143142}
.hero-suggestions[hidden]{display:none}.hero-suggestions .suggest-label{background:#f4f9f6;padding:11px 20px;font-size:11px;letter-spacing:.09em;text-transform:uppercase;color:#758e8c;font-weight:800}
.hero-suggestions a{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 20px;border-top:1px solid #edf2ef;font-size:14px}.hero-suggestions a:hover{background:#eff8f3}.hero-suggestions small{color:#548a7e;white-space:nowrap;font-size:11px}
.hero-suggestions p{color:#536d73;font-size:13px;margin:0;padding:15px 20px}
.home-content{padding-top:56px;padding-bottom:78px}.home-head{display:flex;justify-content:space-between;gap:22px;align-items:center;margin-bottom:20px}.home-head h2{font-size:26px;letter-spacing:-.04em;margin:0}.home-head p{font-size:14px;color:#6b7e84;margin:5px 0 0}
.popular-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.resource-card.compact-card{min-height:0;padding:0;border-radius:14px;display:block;position:relative;background:#fff;border:1px solid #e0e9e5;box-shadow:none}
.resource-card.compact-card .resource-card-link{display:block;padding:20px 52px 18px 21px;min-height:160px}
.resource-card.compact-card .resource-id{font-size:10px;color:#6b8c85;font-weight:750;letter-spacing:.025em;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.resource-card.compact-card h3{font-size:18px;line-height:1.35;margin:10px 0 6px;letter-spacing:-.025em}
.resource-card.compact-card p{font-size:13px;line-height:1.6;color:#6e7e85;margin:0 0 12px;max-width:530px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.resource-card.compact-card .resource-open{display:inline-block;color:#167c70;font-weight:750;font-size:12px}
.resource-card.compact-card .bookmark{position:absolute;right:15px;top:15px;padding:4px 8px;background:#f3f8f4;border:0;border-radius:8px;font-size:24px;line-height:1.3;color:#528679}
.groups-head{margin-top:54px}.group-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.group-card{display:flex;align-items:center;gap:12px;padding:19px 15px;background:#fff;border:1px solid #e1e9e5;border-radius:14px;min-height:104px;transition:box-shadow .15s,border-color .15s}
.group-card:hover{box-shadow:0 8px 25px #0c3c3215;border-color:#b4d5c6}
.group-icon{display:grid;place-items:center;flex:none;width:38px;height:38px;background:#e8f5ed;border-radius:10px;font-size:20px;color:#197668}
.group-card strong{display:block;font-size:13px;line-height:1.35;letter-spacing:-.015em}.group-card small{display:block;font-size:11px;color:#7e9094;margin-top:5px}
.group-arrow{font-size:16px;margin-left:auto;color:#7c9c91}
.help-strip{border-top:1px solid #e3eae6;display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:48px;padding:26px 3px 0}.help-strip strong{display:block;font-size:15px}.help-strip span{display:block;font-size:13px;color:#71858b;margin-top:3px}.help-strip a{font-size:13px;font-weight:800;color:#137668}
.page-head-clean{background:#eff5f0;padding:38px 0 32px}.page-head-clean h1{font-size:clamp(30px,3vw,42px);margin:6px 0}.page-head-clean p{font-size:15px}
.explore-clean{padding-top:28px;padding-bottom:75px}.explore-clean .search-field{max-width:none;min-height:61px;margin-bottom:18px;border-radius:14px;padding:0 16px}
.explore-clean .search-field input{font-size:16px;padding:16px 10px}
.search-clear{background:none;border:none;color:#6e8989;font-weight:700;font-size:12px;padding:8px}
.group-filter{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:14px}
.filter-chip{padding:9px 14px;border:1px solid #dbe8e1;border-radius:99px;background:white;color:#425f68;font-size:12px;font-weight:700;line-height:1.4}
.filter-chip.active{background:#143c4b;border-color:#143c4b;color:#fff}.filter-chip:not(.active):hover{background:#eaf5ee}
.extra-filters{margin-bottom:24px;border-radius:12px;color:#58787e}.extra-filters summary{cursor:pointer;font-weight:700;font-size:13px;display:inline-flex;align-items:center;gap:8px;padding:6px 0;list-style:none}.extra-filters summary::-webkit-details-marker{display:none}.extra-filters[open] summary span{transform:rotate(180deg)}.extra-filters-content{display:flex;gap:15px;align-items:end;padding:12px 0 6px}.extra-filters-content label{margin-bottom:0;flex:none;font-size:12px}.extra-filters-content select{background:#fff;border:1px solid #d7e5dd;border-radius:9px;padding:10px;max-width:260px;min-width:140px;font-size:13px;color:#1f3b46}
.explore-clean .explore-bar{margin:14px 0 16px}.explore-clean .explore-bar strong{font-size:16px}.explore-clean .list-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.explore-clean .resource-card.compact-card .resource-card-link{min-height:187px}
.empty-actions{display:flex;gap:10px;justify-content:center;margin-top:17px}
.detail-focus{max-width:860px;padding-top:35px;padding-bottom:80px}.detail-focus .breadcrumb{margin-bottom:23px;font-size:13px}
.detail-focus .detail-head{margin-bottom:23px}.detail-focus .detail-head h1{font-size:clamp(30px,3.3vw,43px);line-height:1.2;margin:15px 0 9px}.detail-focus .detail-head p{font-size:15px;line-height:1.65;max-width:720px;margin:0}
.save-compact{border:1px solid #d7e6df;background:#fff;border-radius:10px;padding:8px 13px;color:#39786f;font-size:12px;font-weight:750;margin-top:15px}
.before-card{display:flex;gap:18px;align-items:flex-start;border:1px solid #dce8e0;border-radius:13px;background:#f0f7f1;padding:18px 22px;margin-bottom:20px}
.before-title{display:flex;gap:9px;align-items:center;min-width:166px}.before-title span{color:#157b70;font-size:20px}.before-title h2{font-size:15px;margin:0;white-space:nowrap}.before-card p{font-size:14px;color:#45666b;line-height:1.7;margin:0}
.primary-prompt{border:1px solid #c7e2d2;border-radius:17px;background:#fff;box-shadow:0 10px 28px #0c4a3820;overflow:hidden}
.prompt-heading{padding:24px 26px 13px;display:flex;align-items:start;justify-content:space-between;gap:15px}.prompt-heading h2{font-size:22px;margin:5px 0 0;letter-spacing:-.035em}.no-edit{background:#e9f5ed;border-radius:99px;padding:6px 10px;color:#237a66;font-size:11px;font-weight:750;white-space:nowrap}
.primary-prompt-text{margin:0 25px;white-space:pre-wrap;max-height:350px;overflow-y:auto;background:#f2f9f3;border:1px solid #d8eada;border-radius:12px;padding:20px 22px;color:#265445;font-size:14px;line-height:1.82;font-style:italic;scrollbar-width:thin}
.primary-prompt-actions{padding:18px 25px 24px;display:flex;align-items:center;gap:18px}.primary-prompt-actions .button{min-width:205px;font-size:14px}.primary-prompt-actions span{font-size:12px;line-height:1.5;color:#72858a}
.tool-help{font-size:12px;line-height:1.8;color:#678188;margin:19px 4px 26px;display:flex;flex-wrap:wrap;align-items:center;gap:8px 15px}.tool-help a{font-weight:800;color:#137d71}
.detail-more{border:1px solid #dce7e2;background:white;border-radius:14px;margin-top:8px;overflow:hidden}
.detail-more>summary{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:21px 24px;cursor:pointer;list-style:none}.detail-more>summary::-webkit-details-marker{display:none}.detail-more>summary strong{display:block;font-size:15px}.detail-more>summary small{display:block;font-size:12px;color:#73868c;margin-top:5px}.details-chevron{font-size:23px;color:#63877b;transition:transform .2s}.detail-more[open] .details-chevron{transform:rotate(180deg)}
.detail-more-content{border-top:1px solid #edf2ee;padding:0 26px 18px}.help-block{padding:22px 0;border-bottom:1px solid #edf1ed}.help-block:last-child{border-bottom:0;padding-bottom:0}.help-block h3{font-size:16px;margin:0 0 14px}.help-block p{color:#576d76;font-size:14px;line-height:1.75;margin:10px 0}.help-block .bubble{font-size:13px}.help-block .prompt-box{margin-top:14px}.help-note{font-size:12px!important}.safety-note{color:#756744!important;background:#fff9e9;padding:11px;border-radius:8px}
.detail-bottom{margin-top:22px;display:flex;justify-content:space-between;gap:20px;align-items:center;font-size:13px}.detail-bottom a{color:#17766a;font-weight:750}.detail-bottom>div{display:flex;gap:17px}
@media(max-width:950px){.group-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.explore-clean .list-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.header-inner{height:73px}}
@media(max-width:650px){.shell{padding-left:18px;padding-right:18px}.hero-focus-inner{padding-top:60px;padding-bottom:62px}.hero-focus h1{font-size:clamp(40px,10.3vw,54px);margin:17px 0 12px}.hero-focus .hero-description{font-size:15px;margin-bottom:22px}.hero-focus .hero-search{min-height:62px;padding:5px 5px 5px 13px}.hero-focus .hero-search input{font-size:14px;padding:10px 0}.hero-focus .hero-search button{padding:10px 13px;min-height:48px;font-size:13px}.hero-focus .popular-search{gap:6px}.hero-focus .popular-search button{font-size:11px;padding:6px 9px}.hero-focus .hero-small-print{margin-top:18px;font-size:11px}.home-content{padding-top:38px}.home-head{align-items:baseline;gap:10px}.home-head h2{font-size:23px}.home-head a{font-size:12px}.popular-grid{grid-template-columns:1fr;gap:10px}.resource-card.compact-card .resource-card-link{min-height:0;padding:18px 53px 18px 18px}.resource-card.compact-card h3{font-size:17px}.resource-card.compact-card p{font-size:12px}.groups-head{margin-top:41px}.group-grid{grid-template-columns:1fr 1fr;gap:9px}.group-card{min-height:88px;padding:12px 10px;gap:8px}.group-icon{width:32px;height:32px;font-size:18px}.group-card strong{font-size:12px}.group-card small{font-size:10px;margin-top:4px}.group-arrow{display:none}.help-strip{align-items:flex-start;flex-direction:column;margin-top:35px;gap:10px}.explore-clean .group-filter{flex-wrap:nowrap;overflow-x:auto;padding-bottom:8px;scrollbar-width:thin}.filter-chip{white-space:nowrap;flex:none}.explore-clean .list-grid{grid-template-columns:1fr;gap:11px}.explore-clean .resource-card.compact-card .resource-card-link{min-height:0}.extra-filters-content{align-items:stretch;flex-direction:column;gap:7px}.extra-filters-content select{max-width:none;width:100%;margin-bottom:8px}.detail-focus{padding-top:23px}.detail-focus .detail-head h1{font-size:31px}.before-card{flex-direction:column;gap:7px;padding:16px}.prompt-heading{padding:19px 17px 12px}.prompt-heading h2{font-size:19px}.no-edit{font-size:10px;padding:5px 7px}.primary-prompt-text{margin:0 15px;padding:17px;font-size:13px;max-height:360px}.primary-prompt-actions{padding:15px;flex-direction:column;gap:10px;align-items:stretch}.primary-prompt-actions .button{width:100%}.primary-prompt-actions span{text-align:center}.tool-help{margin:19px 2px 25px;gap:6px 12px}.detail-more>summary{padding:18px}.detail-more-content{padding:0 18px 12px}.detail-bottom{flex-direction:column;align-items:start}.hero-suggestions{width:100%}.hero-suggestions a{align-items:start;flex-direction:column;gap:3px}}
