.portfolio-preview-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 24px;background:#e5eadb;border-bottom:1px solid #ced8c6;color:#173d30;font:500 11px/1.4 'DM Sans',sans-serif}.portfolio-preview-bar a{text-decoration:underline;text-underline-offset:3px}.portfolio-preview-bar a:focus-visible{outline-offset:2px}.pal-hero{pointer-events:none}
@media (min-width:750px) and (max-height:620px){.header{height:66px;padding-inline:30px;gap:22px}.header nav{gap:22px}.hero-inner{padding:35px 34px 26px;min-height:360px;gap:45px}.hero h1{font-size:58px}.hero-copy>p{margin-top:17px;font-size:13px}.hero-actions{margin-top:22px}.hero-note{margin-top:22px}.worksheet-scene{padding:0 0 65px}.worksheet{transform:rotate(-3deg)}.sheet-content{padding:15px 20px 20px}.sheet-content h3{font-size:25px}.sheet-table th,.sheet-table td{padding:7px}.pal-hero{width:110px}.formula-nudge{bottom:0;left:0}.hero-bottom{padding-block:12px}.section{padding-block:60px}.product-detail{gap:35px}.product-main-image{min-height:240px;padding:20px 14px}.page-intro{padding-block:25px}.course-hero{padding-top:20px;gap:35px}.course-hero h1{font-size:61px}.read-header{margin-top:30px}.read-header h1{font-size:58px}}
@media(max-width:400px){.portfolio-preview-bar{font-size:10px;padding-inline:14px}.portfolio-preview-bar>a{white-space:nowrap}}

.source-url{overflow-wrap:anywhere;font-size:.85em}.source-reference{color:var(--green)}
@media(min-width:700px) and (max-height:360px){
 .portfolio-preview-bar{display:none}
 .header{height:40px;padding-inline:26px;gap:20px}.brand{width:102px}.header nav{gap:22px;font-size:11px}.header nav a{padding:5px 0}.header-actions{gap:16px}.header-actions .button{display:none}.bag-button{font-size:11px;padding-block:3px}.bag-button #bag-count{height:17px;min-width:17px;font-size:10px}
 .hero{margin:0 12px}.hero-inner{min-height:0;grid-template-columns:1.1fr 1fr;padding:10px 26px;gap:28px}.hero h1{font-size:32px;line-height:1}.hero-copy>p{font-size:11px;line-height:1.4;margin-top:8px;max-width:400px}.hero-actions{margin-top:10px;gap:18px;flex-wrap:nowrap}.hero .button{min-height:29px;padding:7px 12px;font-size:11px;gap:12px}.hero .text-link{font-size:10px;gap:10px}.hero-note,.hero-bottom{display:none}
 .hero .worksheet-scene{padding:0 0 29px;max-width:440px;margin:0 auto;width:100%}.hero .sheet-top,.hero .sheet-tabs,.hero .sheet-bottom,.hero .sheet-content>small{display:none}.hero .formula-bar{padding:4px 8px;font-size:8px;line-height:1.2;gap:10px}.hero .formula-bar i{font-size:10px}.hero .sheet-content{padding:5px 11px 6px}.hero .sheet-content h3{font-size:18px;line-height:1.1;margin:0 0 4px}.hero .sheet-table th,.hero .sheet-table td{font-size:9px;line-height:1.15;padding:2px 6px}.hero .pal-hero{width:57px;right:0;bottom:0}.hero .formula-nudge{left:3px;bottom:0;padding:5px 9px;gap:7px;max-width:calc(100% - 65px)}.hero .formula-nudge svg{width:17px;height:17px;flex-shrink:0}.hero .formula-nudge strong{font-size:11px;line-height:1.3}.hero .formula-nudge small{display:none}
}
@media(max-width:400px){
 .header{padding-inline:14px;gap:10px}.brand{width:95px}.header-actions{gap:15px}.header nav{left:10px;right:10px}
 .portfolio-preview-bar{gap:8px;padding:7px 12px;align-items:flex-start}.portfolio-preview-bar>span{min-width:0}.portfolio-preview-bar>a{flex-shrink:0}
 .hero-inner{padding:30px 14px 20px}.hero h1{font-size:clamp(40px,13.5vw,54px);overflow-wrap:normal}.hero-copy{min-width:0}.hero-actions{flex-wrap:wrap;gap:15px}.hero .button{white-space:normal;max-width:100%;font-size:11px}.hero .text-link{font-size:11px}
 .worksheet-scene{display:grid;grid-template-columns:minmax(0,1fr) 54px;gap:10px 8px;min-width:0;width:100%;padding:0;margin-top:25px}.worksheet{grid-column:1/-1;min-width:0;transform:none}.sheet-top{font-size:8px;padding:8px}.sheet-top>span:last-child{display:none}.sheet-tabs{gap:11px;padding:8px;font-size:8px}.sheet-tabs span:nth-last-child(-n+2){display:none}.formula-bar{padding:6px;gap:6px;font-size:8px}.formula-value{min-width:0;overflow-wrap:anywhere}.sheet-content{padding:12px 9px 16px}.sheet-content h3{font-size:24px}.sheet-table{table-layout:fixed;width:100%}.sheet-table th,.sheet-table td{font-size:9px;line-height:1.4;padding:5px 4px;overflow-wrap:anywhere}.sheet-table th:first-child{width:52%}.sheet-bottom{gap:10px;padding:8px;font-size:7px}.sheet-bottom>span:last-child{display:none}
 .formula-nudge{position:static;grid-column:1;max-width:100%;min-width:0;width:100%;padding:9px 8px;gap:6px;transform:none;align-self:center}.formula-nudge svg{width:18px;height:18px;flex-shrink:0}.formula-nudge>span{min-width:0}.formula-nudge strong{font-size:11px;line-height:1.3}.formula-nudge small{font-size:9px;line-height:1.4;margin-top:3px}.pal-hero{position:static;grid-column:2;width:54px;align-self:center;transform:rotate(5deg)}
 .filters{flex-wrap:wrap}.filter{max-width:100%}.footer-top{grid-template-columns:minmax(0,1fr) 60px;gap:20px 12px}.footer-pal{width:60px;height:auto}.footer-top h2{font-size:30px}
 .articles{grid-template-columns:minmax(0,1fr)}.article-card,.article-art{min-width:0;max-width:100%}.article-art{overflow:hidden;padding:20px 12px}.article-card h3,.article-card p,.article-art .formula-type{overflow-wrap:anywhere}.article-art .formula-type{font-size:clamp(29px,11vw,40px)}.article-art .formula-type small{font-size:11px;line-height:1.4}.article-art .pivot-graphic{gap:12px}.article-art .pivot-graphic td{font-size:10px;padding:6px 8px}.article-art .key-group{gap:8px}.article-art kbd{min-width:42px;height:45px;font-size:19px}
}
