
/* WEBSAN interactive color palette studio; component-scoped */
.pw-section{padding:90px 0 95px;background:radial-gradient(circle at 92% 2%,#d7e8ffbb 0,transparent 42%),linear-gradient(120deg,#f5faff 0%,#eaf3ff 55%,#eff7ff 100%);position:relative;overflow:hidden}
.pw-section:before{content:"";position:absolute;width:430px;height:430px;background:#c1d9ff63;border-radius:52% 48% 70% 30%;right:-250px;top:-190px;transform:rotate(-33deg);pointer-events:none}
.pw-intro{margin-bottom:28px;max-width:775px;position:relative;z-index:1}
.pw-intro h2{font-size:clamp(34px,4vw,55px);line-height:1.13;letter-spacing:-.055em}
.pw-intro h2 span{color:#2466d7}
.pw-intro>p:last-child{color:#6a7e9e;font-size:15px;line-height:1.75;margin-top:13px;max-width:650px}
.pw-layout{display:grid;grid-template-columns:.88fr 1.12fr;gap:33px;align-items:start;position:relative;z-index:1}
.pw-editor{min-width:0;background:#ffffffca;backdrop-filter:blur(9px);padding:24px;border-radius:25px;box-shadow:0 21px 52px #234b8010;border:1px solid #dfebfb}
.pw-editor-heading h3,.pw-presets-head h3{font-size:18px;letter-spacing:-.035em}
.pw-editor-heading p{color:#7485a2;font-size:12px;line-height:1.65;margin-top:6px;max-width:460px}
.pw-wheel-wrap{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:center;margin-top:23px;margin-bottom:20px}
.pw-wheel-holder{display:flex;justify-content:center;align-items:center;min-width:0;padding:5px}
.pw-wheel{--pw-angle:23deg;position:relative;display:grid;place-items:center;width:min(100%,224px);aspect-ratio:1;border-radius:50%;background:conic-gradient(from 0deg,#ff6666,#ffba55,#e8f17c,#76d78c,#72dede,#66a7f2,#ab7be8,#eb7dca,#ff6666);cursor:crosshair;touch-action:none;box-shadow:0 0 0 7px #ffffffc9,0 14px 28px #447ab127;isolation:isolate;outline-offset:10px}
.pw-wheel:before{content:"";position:absolute;inset:13px;border-radius:inherit;background:radial-gradient(circle at center,#fff9 0%,#fff0 74%),conic-gradient(from 0deg,#fff3,#fff0,#fff8,#fff0,#fff3);pointer-events:none}
.pw-wheel-center{position:relative;z-index:2;width:57%;aspect-ratio:1;background:#ffffffed;border-radius:50%;display:flex;justify-content:center;align-items:center;flex-direction:column;color:#365279;text-align:center;line-height:1.35;font-size:11px;font-weight:800;box-shadow:0 2px 12px #2b4b6a16;pointer-events:none}
.pw-wheel-center svg{margin-bottom:6px;color:#5277af}
.pw-wheel-marker{position:absolute;z-index:3;width:19px;height:19px;background:var(--pw-primary,#aa502a);border:3px solid #fff;border-radius:50%;box-shadow:0 1px 7px #183d6b60;left:50%;top:50%;transform:translate(-50%,-50%) rotate(var(--pw-angle)) translateY(-94px)}
.pw-roles{display:grid;grid-template-columns:1fr;gap:4px}
.pw-role{display:flex;align-items:center;gap:10px;text-align:left;border:1px solid transparent;background:transparent;padding:8px 9px;border-radius:12px;min-width:0;color:#283e5d}
.pw-role:hover,.pw-role.is-active{border-color:#c6dafb;background:#f1f7ff}
.pw-role-dot{width:27px;height:27px;flex:none;border-radius:50%;border:3px solid #fff;box-shadow:0 1px 0 1px #dbe6f3,0 2px 9px #193a6718}
.pw-role b,.pw-role small{display:block}
.pw-role b{font-size:11px;line-height:1.2;white-space:nowrap}
.pw-role small{font-size:10px;color:#8292a7;font-weight:700;letter-spacing:.02em;margin-top:3px}
.pw-presets-head{display:flex;align-items:center;justify-content:space-between;margin:0 0 13px;gap:12px}
.pw-presets-head span{font-size:10px;color:#8596ae;font-weight:800;white-space:nowrap}
.pw-presets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.pw-preset{position:relative;display:flex;flex-direction:column;align-items:start;text-align:left;min-width:0;border:1px solid #e3ebf8;background:#fff;border-radius:14px;padding:12px 10px 13px;min-height:94px;color:#243957;transition:transform .2s,border-color .2s,box-shadow .2s}
.pw-preset:hover{border-color:#9fbdfa;transform:translateY(-2px)}
.pw-preset.is-selected{border:2px solid #377df1;box-shadow:0 8px 22px #286fed1d;padding:11px 9px 12px}
.pw-mini-colors{width:100%;display:flex;gap:3px;margin-bottom:11px}
.pw-mini-colors i{width:19px;height:19px;flex:1;min-width:0;border-radius:50%;box-shadow:0 0 0 1px #2a3b5110}
.pw-preset strong{font-size:11px;line-height:1.3}
.pw-preset small{color:#8798ae;font-size:9px;line-height:1.35;margin-top:3px}
.pw-tick{display:none;position:absolute;right:-7px;top:-8px;width:23px;height:23px;background:#377df1;color:#fff;align-items:center;justify-content:center;border-radius:50%;font-size:12px;border:2px solid white}
.pw-preset.is-selected .pw-tick{display:flex}
.pw-footer-actions{margin-top:20px;display:flex;flex-wrap:wrap;gap:10px 14px;align-items:center}
.pw-save{display:inline-flex;align-items:center;justify-content:space-between;gap:24px;background:linear-gradient(110deg,#5898ff,#2465ed);color:#fff;font-size:12px;font-weight:800;border:0;border-radius:13px;min-height:50px;padding:13px 17px;box-shadow:0 11px 23px #2766da25}
.pw-save:hover{background:linear-gradient(110deg,#377bf1,#1953d4)}
.pw-save span{font-size:18px}
.pw-selection-status{color:#7790ad;font-size:10px;line-height:1.5;max-width:190px}
.pw-preview-side{min-width:0;padding:15px 0 0;position:sticky;top:98px}
.pw-preview-heading{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:15px}
.pw-eyebrow{color:#3778dc;font-size:10px;letter-spacing:.12em;font-weight:800}
.pw-preview-heading h3{font-size:21px;letter-spacing:-.04em;margin-top:4px}
.pw-live-dot{display:flex;align-items:center;gap:7px;color:#6f86a0;font-size:9px;font-weight:800;white-space:nowrap}
.pw-live-dot i{width:8px;height:8px;border-radius:50%;background:#22c5aa;box-shadow:0 0 0 4px #22c5aa17}
.pw-preview{--pw-primary:#AA502A;--pw-accent:#EFAC70;--pw-secondary:#F4DCC7;--pw-background:#FFF9F2;--pw-text:#241B1A;background:#ffffff9e;border:1px solid #fff;border-radius:22px;padding:14px;box-shadow:0 22px 52px #214d9030;overflow:hidden}
.pw-browser{overflow:hidden;border:1px solid #e8ebf1;background:#fff;border-radius:15px;box-shadow:0 5px 16px #1d3a6214}
.pw-browser-bar{height:30px;background:#f8fbff;display:flex;align-items:center;justify-content:space-between;padding:0 11px;font-size:9px;color:#92a2b7;border-bottom:1px solid #eaf0fa}
.pw-browser-dots{display:flex;gap:4px}.pw-browser-dots i{width:7px;height:7px;background:#cedbec;border-radius:50%}.pw-browser-dots i:first-child{background:#f2adb0}.pw-browser-dots i:nth-child(2){background:#f4dca2}.pw-browser-dots i:nth-child(3){background:#acdcbf}
.pw-browser-lock{font-size:16px;color:#8ca6cd}
.pw-site{background:var(--pw-background);color:var(--pw-text);min-width:0;transition:background-color .18s,color .18s}
.pw-site-nav{height:54px;display:flex;align-items:center;justify-content:space-between;gap:6px;padding:0 21px;background:color-mix(in srgb,var(--pw-background) 95%,white)}
.pw-brand{display:flex;align-items:center;gap:7px;color:var(--pw-text);font-weight:800;line-height:1.04;font-size:13px;letter-spacing:-.03em}
.pw-brand small{display:block;font-size:7px;color:var(--pw-primary);letter-spacing:.13em;margin-top:3px}
.pw-coffee-icon{color:var(--pw-primary);font-size:22px}
.pw-nav-links{font-size:8px;color:var(--pw-text);opacity:.79;font-weight:700;white-space:nowrap}
.pw-nav-icon{display:none;font-size:17px}
.pw-site-hero{display:grid;grid-template-columns:47% 53%;min-height:280px;background:var(--pw-background);position:relative}
.pw-site-copy{padding:24px 0 18px 26px;position:relative;z-index:1}
.pw-site-kicker{font-size:7px;font-weight:800;letter-spacing:.12em;color:var(--pw-primary)}
.pw-site-copy>strong{display:block;font-size:clamp(27px,2.8vw,45px);line-height:1.07;letter-spacing:-.064em;margin-top:12px;white-space:nowrap}
.pw-site-copy>strong em{color:var(--pw-primary);font-style:normal}
.pw-site-copy>p{font-size:10px;max-width:225px;line-height:1.55;opacity:.82;margin-top:12px}
.pw-site-btn{display:inline-flex;gap:14px;align-items:center;background:var(--pw-primary);color:#fff;border-radius:100px;padding:10px 16px;font-size:10px;font-weight:800;margin-top:14px;box-shadow:0 5px 11px #2727271e}
.pw-site-btn b{font-size:13px}
.pw-hero-photo{background-image:linear-gradient(90deg,var(--pw-background),transparent 32%),url('demo/coffee/hero.jpg');background-size:cover;background-position:58% 60%;border-radius:85px 0 0 0;min-height:280px}
.pw-site-perks{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;padding:10px 21px 13px;background:var(--pw-background)}
.pw-site-perks span{background:color-mix(in srgb,var(--pw-secondary) 30%,white);border:1px solid color-mix(in srgb,var(--pw-secondary) 65%,white);border-radius:10px;min-height:51px;padding:8px;display:flex;align-items:center;gap:7px;font-size:18px;color:var(--pw-primary)}
.pw-site-perks b{font-size:9px;color:var(--pw-text);line-height:1.28}
.pw-menu-head{display:flex;justify-content:space-between;align-items:center;padding:16px 21px 12px;gap:9px;background:color-mix(in srgb,var(--pw-background) 35%,white)}
.pw-menu-head h4{font-size:20px;color:var(--pw-text)}
.pw-menu-head span{font-size:8px;color:var(--pw-primary);font-weight:800;white-space:nowrap}
.pw-products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;padding:0 21px 21px;background:color-mix(in srgb,var(--pw-background) 35%,white)}
.pw-products>div{min-width:0}
.pw-product-photo{height:83px;background-size:cover;background-position:center;border-radius:9px;margin-bottom:7px}
.pw-product-one{background-image:url('demo/coffee/detail.jpg');background-position:12% 60%}
.pw-product-two{background-image:url('demo/coffee/hero.jpg');background-position:68% 74%}
.pw-product-three{background-image:url('demo/coffee/detail.jpg');background-position:85% 45%}
.pw-product-four{background-image:linear-gradient(#b77b4224,#b77b4244),url('demo/coffee/detail.jpg');background-position:27% 84%}
.pw-products b{display:block;font-size:9px;color:var(--pw-text);font-weight:800;white-space:nowrap}
.pw-products small{display:block;font-size:8px;color:var(--pw-text);opacity:.75;margin-top:2px}
.pw-preview-note{display:flex;align-items:center;gap:10px;margin-top:18px;padding:0 6px}
.pw-note-icon{font-size:22px;color:#487fe0}
.pw-preview-note p{font-size:11px;line-height:1.65;color:#8294b0}
@media(max-width:1120px){.pw-layout{gap:20px;grid-template-columns:.9fr 1.1fr}.pw-editor{padding:20px}.pw-site-copy>strong{font-size:clamp(25px,3.1vw,36px)}.pw-preview-heading{flex-wrap:wrap;gap:7px}.pw-wheel-wrap{grid-template-columns:1fr 1fr}.pw-wheel{width:min(100%,195px)}.pw-wheel-marker{transform:translate(-50%,-50%) rotate(var(--pw-angle)) translateY(-81px)}}
@media(max-width:840px){.pw-section{padding:70px 0}.pw-layout{grid-template-columns:1fr}.pw-editor{max-width:none}.pw-wheel-wrap{grid-template-columns:minmax(0,260px) 1fr}.pw-wheel{width:214px}.pw-wheel-marker{transform:translate(-50%,-50%) rotate(var(--pw-angle)) translateY(-90px)}.pw-presets{grid-template-columns:repeat(3,1fr)}.pw-preview-side{position:static;padding-top:16px}.pw-site-copy>strong{font-size:clamp(33px,5vw,46px)}}
@media(max-width:540px){.pw-section{padding:55px 0 65px}.pw-intro{margin-bottom:22px}.pw-intro h2{font-size:clamp(31px,9vw,41px)}.pw-intro>p:last-child{font-size:12px}.pw-editor{border-radius:18px;padding:16px}.pw-editor-heading h3{font-size:17px}.pw-wheel-wrap{grid-template-columns:1fr;gap:14px;margin-top:20px}.pw-wheel{width:210px}.pw-wheel-marker{transform:translate(-50%,-50%) rotate(var(--pw-angle)) translateY(-88px)}.pw-roles{grid-template-columns:1fr 1fr;gap:6px}.pw-role{padding:8px 5px;gap:6px}.pw-role-dot{width:22px;height:22px}.pw-role b{font-size:10px}.pw-role small{font-size:9px}.pw-presets{grid-template-columns:repeat(2,1fr)}.pw-preset{min-height:88px}.pw-preview-side{padding-top:6px}.pw-preview-heading h3{font-size:18px}.pw-live-dot{font-size:9px}.pw-preview{padding:8px;border-radius:15px}.pw-site-nav{height:42px;padding:0 11px}.pw-brand{font-size:10px}.pw-brand small{font-size:6px}.pw-coffee-icon{font-size:17px}.pw-nav-links{display:none}.pw-nav-icon{display:block}.pw-site-hero{min-height:175px;grid-template-columns:51% 49%}.pw-site-copy{padding:15px 0 10px 13px}.pw-site-kicker{font-size:5px}.pw-site-copy>strong{font-size:clamp(22px,6.1vw,29px);margin-top:8px}.pw-site-copy>p{font-size:7px;line-height:1.45;margin-top:8px}.pw-site-btn{font-size:8px;padding:8px 11px;margin-top:10px}.pw-hero-photo{min-height:175px;border-radius:45px 0 0 0}.pw-site-perks{gap:5px;padding:7px 10px 10px}.pw-site-perks span{padding:5px;gap:4px;font-size:14px;min-height:38px}.pw-site-perks b{font-size:7px}.pw-menu-head{padding:12px 11px 8px}.pw-menu-head h4{font-size:17px}.pw-menu-head span{font-size:7px}.pw-products{gap:6px;padding:0 11px 13px}.pw-product-photo{height:55px}.pw-products b{font-size:7px}.pw-products small{font-size:7px}.pw-footer-actions{display:block}.pw-save{width:100%;justify-content:center}.pw-selection-status{max-width:none;margin-top:10px}}
@media(max-width:355px){.pw-site-copy>strong{font-size:19px}.pw-site-perks b{font-size:6px}.pw-mini-colors i{height:16px}.pw-presets-head span{display:none}}
@media(prefers-reduced-motion:reduce){.pw-section *{transition:none!important;animation:none!important}}
.pw-site-btn{color:var(--pw-on-primary,#fff)}
.pw-site-perks span{background:color-mix(in srgb,var(--pw-accent) 16%,white);border-color:color-mix(in srgb,var(--pw-secondary) 75%,white)}
.pw-contact-summary{font-size:11px;line-height:1.6;padding:12px 14px;background:#fff;border:1px solid #cfdef1;border-radius:12px;color:#356396;margin-top:18px;overflow-wrap:anywhere}

/* Aligned desktop palette studio + compact preview-first mobile UI, Oct 2026 */
.pw-section{padding-top:78px;padding-bottom:84px;background:
  radial-gradient(ellipse 35% 55% at 102% 4%,#c9e0ffb5 0%,transparent 75%),
  linear-gradient(120deg,#f8fbff 0%,#eff6ff 51%,#e7f2ff 100%)}
.pw-section::before{opacity:.52}
.pw-intro{margin-bottom:29px}
.pw-layout{align-items:stretch;gap:24px;grid-template-columns:.88fr 1.12fr}
.pw-editor,.pw-preview-side{
  min-width:0;
  border:1px solid #dce9fa;
  border-radius:23px;
  padding:24px;
  background:#ffffffcc;
  box-shadow:0 16px 42px #275eae12;
  backdrop-filter:blur(9px);
}
.pw-editor{display:flex;flex-direction:column}
.pw-preview-side{position:relative;top:auto;display:flex;flex-direction:column}
.pw-editor-heading{min-height:65px}
.pw-editor-heading h3,.pw-preview-heading h3{font-size:19px;line-height:1.25}
.pw-editor-heading p{max-width:420px}
.pw-preview-heading{margin-bottom:17px;min-height:65px;align-items:center}
.pw-preview-heading h3{margin-top:5px}
.pw-preview{flex:1;display:flex;align-items:center;justify-content:center;min-height:0;padding:11px;border:1px solid #fff;background:linear-gradient(135deg,#eaf2ffae,#ffffffed);border-radius:18px;box-shadow:0 12px 32px #2b63ab13}
.pw-browser{width:100%;flex:none}
.pw-preview-note{margin-top:16px;min-height:37px}
.pw-footer-actions{margin-top:auto;padding-top:23px}
.pw-save{min-width:238px;justify-content:center}
.pw-wheel-wrap{margin-top:8px;margin-bottom:22px}
.pw-presets{gap:10px}
.pw-preset{min-height:101px}
.pw-presets-head{margin-top:0}
.pw-mobile-strip{display:none}

@media(max-width:1120px) and (min-width:841px){
  .pw-layout{grid-template-columns:.9fr 1.1fr;gap:16px}
  .pw-editor,.pw-preview-side{padding:18px}
  .pw-editor-heading,.pw-preview-heading{min-height:76px}
  .pw-preview-heading h3{font-size:17px}
  .pw-live-dot{font-size:8px}
  .pw-preset{min-height:93px}
}
@media(max-width:840px) and (min-width:601px){
  .pw-layout{grid-template-columns:1fr}
  .pw-editor,.pw-preview-side{padding:23px}
  .pw-editor-heading,.pw-preview-heading{min-height:0}
  .pw-preview-side{position:static}
  .pw-wheel-wrap{grid-template-columns:minmax(0,260px) 1fr}
  .pw-footer-actions{margin-top:0;padding-top:18px}
}
@media(max-width:600px){
  .pw-section{padding:37px 0 49px}
  .pw-section>.container{width:calc(100% - 28px)}
  .pw-intro{margin-bottom:13px}
  .pw-intro .section-kicker{font-size:9px;margin-bottom:7px}
  .pw-intro h2{font-size:clamp(25px,7vw,31px);line-height:1.14;letter-spacing:-.05em}
  .pw-intro>p:last-child{font-size:11px;line-height:1.48;margin-top:8px}
  .pw-layout{display:flex;flex-direction:column;gap:0;align-items:stretch}
  .pw-editor,.pw-preview-side{display:contents}
  .pw-editor-heading,.pw-wheel-holder,.pw-preview-note{display:none!important}
  .pw-preview-heading{order:0;min-height:0;margin:0 0 8px;padding:0 3px}
  .pw-preview-heading h3{font-size:15px;margin-top:1px}
  .pw-eyebrow{font-size:8px}
  .pw-live-dot{font-size:8px}
  .pw-preview{order:1;display:block;flex:none;padding:6px;min-height:0;border:1px solid #fff;border-radius:15px;box-shadow:0 10px 30px #2f61ac1d;background:#ffffffbb}
  .pw-browser{border-radius:11px}
  .pw-browser-bar{height:18px;font-size:7px;padding:0 8px}
  .pw-browser-dots i{width:5px;height:5px}
  .pw-site-nav{height:34px;padding:0 9px}
  .pw-brand{font-size:9px;gap:4px}
  .pw-brand small{font-size:5px}
  .pw-coffee-icon{font-size:15px}
  .pw-site-hero{min-height:157px;grid-template-columns:50% 50%}
  .pw-site-copy{padding:12px 0 8px 11px}
  .pw-site-kicker{font-size:5px}
  .pw-site-copy>strong{font-size:clamp(21px,5.8vw,28px);margin-top:6px}
  .pw-site-copy>p{font-size:7px;line-height:1.4;margin-top:7px}
  .pw-site-btn{font-size:8px;padding:7px 10px;margin-top:8px}
  .pw-hero-photo{min-height:157px;border-radius:42px 0 0 0}
  .pw-site-perks{padding:7px 9px 9px;gap:5px}
  .pw-site-perks span{min-height:34px;padding:4px;gap:4px;font-size:12px}
  .pw-site-perks b{font-size:7px}
  .pw-menu-head{padding:9px 10px 6px}
  .pw-menu-head h4{font-size:14px}
  .pw-menu-head span{font-size:7px}
  .pw-products{padding:0 10px 10px;gap:5px}
  .pw-product-photo{height:40px;margin-bottom:3px;border-radius:5px}
  .pw-products b,.pw-products small{font-size:7px}
  .pw-wheel-wrap{order:2;display:flex;flex-direction:column;gap:8px;width:100%;margin:10px 0 14px;padding:11px 12px 10px;border:1px solid #d8e6fc;border-radius:13px;background:#ffffffc9}
  .pw-mobile-strip{display:block;order:0;width:100%}
  .pw-mobile-strip-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:6px}
  .pw-mobile-strip-heading label{font-size:11px;font-weight:800;color:#23446f}
  .pw-mobile-strip-heading span{font-size:9px;color:#758dae}
  .pw-hue-range{display:block;appearance:none;-webkit-appearance:none;width:100%;height:19px;padding:0;border-radius:20px;border:1px solid #e2e9f6;background:linear-gradient(90deg,#f35d66 0%,#ffa256 11%,#f4d766 19%,#98d76d 30%,#62cfa8 42%,#5dcee1 54%,#639df1 66%,#ac7af2 80%,#e76bbc 91%,#f35d66 100%);cursor:pointer;touch-action:pan-y;outline-offset:4px}
  .pw-hue-range::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:24px;height:24px;border:3px solid #fff;border-radius:50%;background:var(--pw-handle,#AA502A);box-shadow:0 1px 7px #23436a91;cursor:grab}
  .pw-hue-range::-moz-range-thumb{width:18px;height:18px;border:3px solid #fff;border-radius:50%;background:var(--pw-handle,#AA502A);box-shadow:0 1px 7px #23436a91;cursor:grab}
  .pw-roles{order:1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px}
  .pw-role{min-width:0;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:5px 2px 4px;text-align:center;border-radius:8px}
  .pw-role-dot{width:18px;height:18px;border-width:2px}
  .pw-role b{font-size:8px;letter-spacing:-.04em;line-height:1.2;white-space:normal;overflow-wrap:anywhere}
  .pw-role small{display:none}
  .pw-presets-head{order:3;margin:0 0 8px;padding:0 3px}
  .pw-presets-head h3{font-size:14px}
  .pw-presets-head span{font-size:9px}
  .pw-presets{order:4;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  .pw-preset{min-height:62px;border-radius:10px;padding:7px}
  .pw-preset.is-selected{padding:6px}
  .pw-mini-colors{gap:2px;margin-bottom:5px}
  .pw-mini-colors i{width:12px;height:12px}
  .pw-preset strong{font-size:10px}
  .pw-preset small{display:none}
  .pw-tick{width:18px;height:18px;top:-6px;right:-6px}
  .pw-footer-actions{order:5;display:block;margin:10px 0 0;padding:0}
  .pw-save{width:100%;min-height:44px;min-width:0;font-size:12px;border-radius:11px;padding:11px 16px}
  .pw-selection-status{font-size:9px;margin-top:5px;max-width:none;text-align:center}
}
@media(max-width:355px){
  .pw-section>.container{width:calc(100% - 24px)}
  .pw-preview-heading h3{font-size:14px}
  .pw-site-copy>strong{font-size:20px}
  .pw-role b{font-size:7px}
  .pw-preset strong{font-size:9px}
}

/* Phone-size compactness: sample, color strip, presets and CTA together */
@media(max-width:600px){
 .pw-section{padding-top:27px;padding-bottom:27px}
 .pw-intro{margin-bottom:9px}
 .pw-intro>p:last-child{margin-top:5px;line-height:1.36}
 .pw-preview-heading{margin-bottom:5px}
 .pw-site-hero,.pw-hero-photo{min-height:136px}
 .pw-site-copy{padding-top:10px}
 .pw-site-copy>strong{font-size:clamp(20px,5.5vw,26px);line-height:1.06}
 .pw-site-copy>p{margin-top:5px}
 .pw-site-btn{margin-top:6px;padding:6px 10px}
 .pw-menu-head,.pw-products{display:none}
 .pw-site-perks{padding-bottom:7px}
 .pw-wheel-wrap{margin:7px 0 9px;padding:8px 10px 7px;gap:6px}
 .pw-presets{gap:5px}
 .pw-preset{min-height:55px}
 .pw-footer-actions{margin-top:7px}
 .pw-save{min-height:43px}
}

/* Compact desktop: one viewport (850px reference), mobile unaffected */
@media(min-width:841px){
 .pw-section{padding-top:30px;padding-bottom:32px}
 .pw-intro{margin-bottom:13px}
 .pw-intro .section-kicker{margin-bottom:5px}
 .pw-intro h2{font-size:clamp(30px,3vw,43px);line-height:1.09}
 .pw-intro>p:last-child{font-size:12px;line-height:1.45;margin-top:7px}
 .pw-layout{gap:18px}
 .pw-editor,.pw-preview-side{padding:16px 19px;border-radius:18px}
 .pw-editor-heading,.pw-preview-heading{min-height:43px}
 .pw-editor-heading h3,.pw-preview-heading h3{font-size:16px}
 .pw-editor-heading p{font-size:10px;line-height:1.35;margin-top:3px}
 .pw-preview-heading{margin-bottom:8px}
 .pw-preview-heading h3{margin-top:2px}
 .pw-wheel-wrap{margin:7px 0 12px;gap:8px}
 .pw-wheel{width:min(100%,180px)}
 .pw-wheel-marker{transform:translate(-50%,-50%) rotate(var(--pw-angle)) translateY(-75px)}
 .pw-wheel-center{font-size:9px}
 .pw-role{padding:5px 7px;gap:7px}
 .pw-role-dot{width:24px;height:24px}
 .pw-presets-head{margin-bottom:7px}
 .pw-presets-head h3{font-size:15px}
 .pw-presets{gap:6px}
 .pw-preset{min-height:65px;padding:8px 9px;border-radius:11px}
 .pw-preset.is-selected{padding:7px 8px}
 .pw-mini-colors{margin-bottom:5px}
 .pw-mini-colors i{height:14px;width:14px}
 .pw-preset strong{font-size:10px}
 .pw-preset small{font-size:8px;margin-top:1px}
 .pw-footer-actions{padding-top:9px;gap:7px}
 .pw-save{min-height:41px;padding:9px 13px}
 .pw-selection-status{font-size:9px}
 .pw-preview{padding:8px;align-items:start}
 .pw-browser-bar{height:22px}
 .pw-site-nav{height:40px}
 .pw-site-hero,.pw-hero-photo{min-height:225px}
 .pw-site-copy{padding-top:17px;padding-bottom:12px}
 .pw-site-copy>strong{font-size:clamp(25px,2.4vw,35px);margin-top:6px}
 .pw-site-copy>p{font-size:9px;margin-top:8px}
 .pw-site-btn{margin-top:9px}
 .pw-site-perks{padding:6px 17px 9px}
 .pw-site-perks span{min-height:38px}
 .pw-menu-head,.pw-products{display:none}
 .pw-preview-note{display:none}
}
@media(min-width:841px) and (max-width:1120px){
 .pw-wheel{width:min(100%,155px)}
 .pw-wheel-marker{transform:translate(-50%,-50%) rotate(var(--pw-angle)) translateY(-64px)}
 .pw-site-hero,.pw-hero-photo{min-height:210px}
 .pw-preset{min-height:66px}
}
@media(min-width:601px) and (max-width:840px){
 .pw-preview-note{display:none}
 .pw-menu-head,.pw-products{display:none}
}


/* WEBSAN: four rounded rectangular color swatches inside palette preset cards */
.pw-presets .pw-mini-colors{
  display:flex;
  align-items:stretch;
  width:100%;
  gap:4px;
}
.pw-presets .pw-mini-colors i{
  display:block;
  flex:1 1 0;
  width:auto;
  min-width:0;
  height:20px;
  border-radius:6px;
  box-shadow:0 0 0 1px rgba(31,53,79,.075);
}
@media(max-width:600px){
  .pw-presets .pw-mini-colors{gap:3px;}
  .pw-presets .pw-mini-colors i{
    flex:1 1 0;
    width:auto;
    min-width:0;
    height:14px;
    border-radius:4px;
  }
}
