/* Shared presentation: costofsoftware page-format guide, adapted for room tools. */
:root{--coc-width:1180px;--coc-gutter:22px;--coc-font:-apple-system,BlinkMacSystemFont,Inter,"Hiragino Sans","Yu Gothic",Meiryo,"Segoe UI",sans-serif}
html body[data-coc-section]{--bg:#fff;--bg2:#f5f5f7;--paper:#fff;--surface:#fff;--surface-2:#f5f5f7;--surf:#fff;--ink:#1d1d1f;--ink-2:#515154;--mute:#6e6e73;--muted:#6e6e73;--line:#d2d2d7;--rule:#d2d2d7;--max:1180px;--sans:var(--coc-font);--serif:var(--coc-font);background:#fff;color:#1d1d1f;font-family:var(--coc-font);font-size:16px;line-height:1.6}
body[data-coc-section] *,body[data-coc-section] *::before,body[data-coc-section] *::after{box-sizing:border-box}
body[data-coc-section] :is(h1,h2,h3),body[data-coc-section] :is(h1,h2,h3) :is(em,strong,span){font-family:var(--coc-font)!important;font-weight:600!important;font-style:normal!important;text-transform:none!important;letter-spacing:-.025em}
body[data-coc-section] h1{font-size:clamp(32px,4vw,48px)!important;line-height:1.12!important}
body[data-coc-page="category"] h1{font-size:clamp(36px,4.8vw,64px)!important}
body[data-coc-section] h2{font-size:28px!important;line-height:1.22!important;margin-top:28px;margin-bottom:14px}
body[data-coc-section] h3{font-size:22px!important;line-height:1.3!important}
body[data-coc-section] :is(.wrap,.wrap.xl,.wrap.narrow){width:min(calc(100% - 44px),1180px)!important;max-width:1180px!important;margin-inline:auto!important;padding-inline:0!important}
body[data-coc-section] .wrap .wrap{width:100%!important}
body[data-coc-section] :is(.top,.site-header,footer){background:#fff;color:#1d1d1f;border-color:#e8e8ed}
body[data-coc-section] :is(.nav,.nav-links){display:flex;flex-wrap:wrap;gap:8px 20px}
body[data-coc-section] :is(.nav,.nav-links) a{color:#424245;min-height:44px;display:inline-flex;align-items:center;font-size:13px;text-transform:none;letter-spacing:0}
body[data-coc-section] :is(.brand,.mark){color:#1d1d1f}
body[data-coc-section] :is(.top,.site-header)>.wrap{padding-block:12px}
body[data-coc-section] :is(input,select,textarea){font-family:var(--coc-font);font-size:16px;max-width:100%}
body[data-coc-section] :is(button,.btn,.button){min-height:44px;font-family:var(--coc-font);font-size:16px}
body[data-coc-section] :is(.btn,.button):not(.ghost):not(.secondary){background:#0071e3;color:#fff;border-color:#0071e3;border-radius:999px}
body[data-coc-section] :is(.btn.ghost,.button.secondary){background:#fff;color:#0066cc;border:1px solid #0066cc;border-radius:999px}
body[data-coc-section] :is(.note,.summary,.answer){background:#f5f5f7;color:#1d1d1f;border-radius:24px;padding:24px}
body[data-coc-section] :is(.tablewrap,.table-wrap,.table-scroll){max-width:100%;overflow-x:auto}
body[data-coc-section] :is(a,button,input,select,textarea):focus-visible{outline:3px solid #0071e3;outline-offset:4px}
body[data-coc-section] :is(.gd-rowt,.shelf-head h2){font-size:22px!important}
body[data-coc-section] :is(img,video,canvas){max-width:100%}
body[data-coc-section="home-build-planner"] :is(.band>.links,.band>.wrap){max-width:1180px;margin-inline:auto}
body[data-coc-section="art"]>.wrap{padding-block:24px}
body[data-coc-section="art"] .top{background:#fff}
body[data-coc-page="home"]{margin:0}
.coc-wrap{width:min(calc(100% - 44px),1180px);margin-inline:auto}
.coc-head{border-bottom:1px solid #e8e8ed}
.coc-head .coc-wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:68px;padding-block:12px}
.coc-brand{font-weight:600;color:#1d1d1f;text-decoration:none;letter-spacing:-.035em;font-size:21px}
.coc-nav{display:flex;flex-wrap:wrap;gap:4px 24px}
.coc-nav a{display:inline-flex;align-items:center;min-height:44px;font-size:13px;color:#424245;text-decoration:none}
.coc-hero{padding:64px 0 56px;text-align:center}
.coc-eyebrow{font-size:14px;color:#6e6e73;font-weight:600;margin:0 0 14px}
body[data-coc-page="home"] h1{max-width:900px;margin:0 auto 22px;font-size:clamp(36px,5vw,64px)!important;letter-spacing:-.045em}
.coc-lead{max-width:710px;margin:0 auto 26px;color:#6e6e73;font-size:20px;line-height:1.5}
.coc-actions{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px 24px}
.coc-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 22px;border-radius:999px;background:#0071e3;color:#fff;text-decoration:none;font-size:14px}
.coc-link{color:#0066cc;text-decoration:none;display:inline-flex;align-items:center;min-height:44px}
.coc-link:hover,.coc-nav a:hover{text-decoration:underline}
.coc-categories{background:#f5f5f7;padding:48px 0}
body[data-coc-page="home"] h2{font-size:clamp(28px,3.4vw,42px)!important;letter-spacing:-.035em;margin:0 0 14px}
.coc-section-intro{color:#6e6e73;margin:0 0 30px}
.coc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.coc-card{min-width:0;display:flex;flex-direction:column;background:#fff;border-radius:24px;padding:24px}
.coc-art{height:164px;display:grid;place-items:center;border-radius:18px;background:#edf3f7;margin-bottom:22px}
.coc-card:nth-child(2) .coc-art{background:#f5ece4}.coc-card:nth-child(3) .coc-art{background:#e8eee6}.coc-card:nth-child(4) .coc-art{background:#ede8f3}.coc-card:nth-child(5) .coc-art{background:#f1e8e3}
.coc-art svg{width:160px;height:130px;fill:none;stroke:#475b6b;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
.coc-card .coc-eyebrow{font-size:12px}
.coc-card h3{margin:0 0 10px!important;font-size:24px!important}
.coc-card h3 a{color:#1d1d1f;text-decoration:none}
.coc-card p:not(.coc-eyebrow){font-size:15px;color:#6e6e73;margin:0 0 20px}
.coc-card .coc-link{margin-top:auto}
/* Homepage lineup: vivid product colors, aligned copy and a swipeable mobile row. */
#projects .coc-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:24px 20px;align-items:stretch}
#projects .coc-card{grid-column:auto;background:none;padding:0;border-radius:0;text-align:center;align-items:center;min-width:0}
#projects .coc-art{width:100%;height:auto;aspect-ratio:4/5;border-radius:22px;margin-bottom:22px;overflow:hidden;background:linear-gradient(160deg,#0c205e 0%,#416bd0 55%,#d8e6ff 100%)}
#projects .coc-card:nth-child(2) .coc-art{background:linear-gradient(160deg,#291525 0%,#794457 55%,#e8bbc7 100%)}
#projects .coc-card:nth-child(3) .coc-art{background:linear-gradient(160deg,#b7a4e5 0%,#e1d4ff 60%,#faf7ff 100%)}
#projects .coc-card:nth-child(4) .coc-art{background:linear-gradient(160deg,#74afd3 0%,#c9e9fc 60%,#f4fbff 100%)}
#projects .coc-card:nth-child(5) .coc-art{background:linear-gradient(160deg,#10164b 0%,#283f99 55%,#869ee8 100%)}
#projects .coc-art img{display:block;width:100%;height:100%;object-fit:contain;transform:scale(1.2)}
#projects .coc-card .coc-eyebrow{min-height:38px;margin-bottom:8px;color:#515154;font-size:12px;line-height:1.55}
#projects .coc-card h3{min-height:2.6em;margin-bottom:12px!important;font-size:22px!important;letter-spacing:-.03em}
#projects .coc-card>p:not(.coc-eyebrow){max-width:32ch;margin-inline:auto;margin-bottom:24px;font-size:14px;line-height:1.6}
#projects .coc-button{margin-top:auto;white-space:nowrap;max-width:100%;padding:11px 16px;font-size:13px}
.coc-swipe{display:none}
@media(max-width:1000px){#projects .coc-grid{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:260px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:0;padding-bottom:18px;gap:24px;overscroll-behavior-x:contain}#projects .coc-card{scroll-snap-align:start}#projects .coc-art{aspect-ratio:4/5}#projects .coc-card>p:not(.coc-eyebrow){max-width:29ch}.coc-swipe{display:block;color:#6e6e73;font-size:13px;margin:0 0 18px}}
@media(max-width:600px){#projects .coc-grid{grid-auto-columns:min(78vw,300px);gap:18px}#projects .coc-card .coc-eyebrow{min-height:0}#projects .coc-card h3{min-height:0}#projects .coc-art{margin-bottom:20px}}

.coc-research{padding:56px 0}
.coc-research .coc-card{background:#f5f5f7}
.coc-research ul{margin:0;padding-left:20px}.coc-research li{padding:7px 0}.coc-research a{color:#0066cc}
.coc-method{padding:36px;background:#f5f5f7;border-radius:24px;margin-bottom:48px}
.coc-method p{max-width:85ch;color:#515154}
.coc-footer{border-top:1px solid #e8e8ed;padding:24px 0 36px;font-size:13px;color:#6e6e73!important}
.coc-footer p{margin:0 0 8px}
.coc-skip{position:absolute;left:-10000px}.coc-skip:focus{left:22px;top:8px;z-index:100;background:#fff;padding:12px}
@media(max-width:800px){.coc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.coc-head .coc-wrap{align-items:flex-start;flex-direction:column;gap:0}.coc-hero{padding:44px 0}.coc-lead{font-size:18px}.coc-nav{gap:0 18px}}
@media(max-width:600px){body[data-coc-section] h2{font-size:25px!important}body[data-coc-section] h3{font-size:21px!important}.coc-grid{grid-template-columns:1fr}.coc-method{padding:24px}.coc-categories{padding:32px 0}.coc-art{height:140px}body[data-coc-section] :is(.top,.site-header)>.wrap{flex-wrap:wrap;gap:8px}.coc-nav a{font-size:12px}}

body[data-coc-section="apartment-furniture"]{--chip-bg:#0071e3;--chip-ink:#fff;--chip-sub:#fff;--cta-bg:#0071e3;--cta-ink:#fff;--glow:none}
body[data-coc-section="apartment-furniture"] :is(.strip,.bar){background:#f5f5f7;color:#515154}
body[data-coc-section="apartment-furniture"] :is(.choice .n,.home-total,.bar .amt,.answer,.gallery .lead){font-family:var(--coc-font)!important;font-style:normal}
body[data-coc-section] :is(.sh-cta,.om-cta,.hero-go,.see-at,.rank-go,.card-store,.quick-shop a){background:#0071e3!important;color:#fff!important;border-radius:999px;min-height:44px}
body[data-coc-section] :is(.sh-btn,.nav-cta,.buy){background:#0071e3!important;color:#fff!important;border-radius:999px;min-height:44px}
body[data-coc-section] .btn.secondary{background:#fff;color:#0066cc;border:1px solid #0066cc}
body[data-coc-section="home-build-planner"] :is(.hero,.hero-card,.info-card){background:#f5f5f7;color:#1d1d1f}
body[data-coc-section="home-build-planner"] .brand{font-family:var(--coc-font);font-weight:600}
body[data-coc-section] .eyebrow{font-family:var(--coc-font);text-transform:none;font-weight:600;letter-spacing:0}
#coc-site-nav{background:#fff;border-bottom:1px solid #e8e8ed}
#coc-site-nav .coc-wrap{display:flex;flex-wrap:wrap;gap:0 20px}
#coc-site-nav a{display:inline-flex;align-items:center;min-height:44px;font-size:12px;color:#424245;text-decoration:none}
#coc-site-nav a:hover{text-decoration:underline}
#coc-site-nav a[aria-current]{font-weight:600}
/* Intro first; readable commission notice immediately before the offers. */
body[data-coc-section] .pdisc{font-family:var(--coc-font);font-size:13px;line-height:1.5;font-weight:400;color:#515154;background:none;border:0;padding:0;margin:12px 0}
body[data-coc-section] .pdisc a{color:inherit;text-decoration:underline}
body[data-coc-section] .sh-btn{display:flex;align-items:center;justify-content:center;white-space:nowrap;font-size:13px;line-height:1.35;padding:10px;min-height:44px;margin-inline:8px}
@media(max-width:600px){
  body[data-coc-section="apartment-furniture"] .quick-shop a{display:flex;align-items:center;justify-content:center;white-space:nowrap;font-size:13px;line-height:1.35;padding:10px 8px}
  body[data-coc-section="apartment-furniture"] .card-bought{white-space:nowrap;font-size:13px;letter-spacing:.02em}
  body[data-coc-section="apartment-furniture"] .card-more{white-space:nowrap;font-size:12px;letter-spacing:0;text-transform:none}
}
body[data-coc-section] .coc-intro>.hero{padding-top:24px}
@media(max-width:600px){
  #coc-site-nav .coc-wrap{flex-wrap:nowrap;overflow-x:auto;gap:18px}
  #coc-site-nav a{flex:0 0 auto;white-space:nowrap}
  body[data-coc-section] .top>.wrap{display:block}
  body[data-coc-section] .top .brand{display:inline-flex;min-height:40px;align-items:center}
  body[data-coc-section] .top .nav{flex-wrap:nowrap;max-width:100%;overflow-x:auto;gap:18px}
  body[data-coc-section] .top .nav a{flex:0 0 auto;white-space:nowrap}
  body[data-coc-section] .shop-home .btns{flex-wrap:nowrap;max-width:100%;overflow-x:auto;justify-content:flex-start}
  body[data-coc-section] .shop-home .btns a{flex:0 0 auto;white-space:nowrap}
}

/* Shared category presentation; preserve calculator layouts and status colors. */
body[data-coc-page="category"]:is([data-coc-section="golf-simulator-room"],[data-coc-section="home-sauna"]) .hero{text-align:center;padding-block:40px 28px}
body[data-coc-page="category"]:is([data-coc-section="golf-simulator-room"],[data-coc-section="home-sauna"]) .hero :is(h1,.lede,.hero-source){max-width:800px;margin-inline:auto}
body[data-coc-page="category"]:is([data-coc-section="golf-simulator-room"],[data-coc-section="home-sauna"]) .hero :is(.btns,.btnrow){justify-content:center}
body[data-coc-page="category"] :is(.sh-card,.gd-card){border-radius:24px;border-color:#e8e8ed;background:#fafafc;box-shadow:none}
body[data-coc-page="category"] .sh-img{background:#fff;border-radius:20px;overflow:hidden}
body[data-coc-page="category"]:is([data-coc-section="apartment-furniture"],[data-coc-section="art"]) .card{border-radius:20px}
body[data-coc-page="category"][data-coc-section="home-build-planner"] :is(.hero-card,.info-card){border:0;border-radius:24px;box-shadow:none}
body[data-coc-page="category"] :is(.gd-ct,.gd-kick,.tab){font-family:var(--coc-font);font-style:normal}
body[data-coc-page="category"][data-coc-section="art"] .tab{border-color:#d2d2d7;border-radius:999px}
.seo-start{display:flex;flex-wrap:wrap;gap:8px 20px;background:#f5f5f7;border-radius:20px;padding:20px;margin:24px 0}
.seo-start p{flex-basis:100%;margin:0;font-weight:600}.seo-start a{color:#0066cc;min-height:44px;display:inline-flex;align-items:center}
@media(max-width:600px){body[data-coc-page="category"]:is([data-coc-section="golf-simulator-room"],[data-coc-section="home-sauna"]) .hero{padding-block:28px 20px}.seo-start{padding:18px}}
