/* Main-domain shell only. Product apps, case websites and admin apps are outside scope. */
html body[data-studio-theme="warm"]{--paper:#f7f3ed;--ink:#302d28;--line:#ddd5c9;--muted:#776d60;background:radial-gradient(ellipse at 92% 0,#efe1c870,transparent 34rem),#f7f3ed;color:var(--ink)}
body[data-studio-theme] .site-header{background:#fffaf0c7!important;backdrop-filter:blur(20px) saturate(1.1);border-bottom:1px solid #fffefa!important;box-shadow:0 5px 30px #6b4e2010}
body[data-studio-theme] .site-header .brand-mark .xl-stage{background:transparent!important}
body[data-studio-theme] .site-header .brand small{font-size:10px!important;letter-spacing:1px!important;line-height:1.5}
body[data-studio-theme] #main-nav .xc-nav-menu{background:#fffaf4ed;border:1px solid #e3d9c9;border-radius:16px;backdrop-filter:blur(20px);padding:9px;box-shadow:0 12px 35px #6d4b1a15}
body[data-studio-theme] #main-nav .xc-nav-menu a{border-radius:9px}
body[data-studio-theme] #main-nav .xc-nav-menu a:hover{background:#f1e5d4}
body[data-studio-theme] .page-intro{padding-top:42px;padding-bottom:32px;min-height:0;gap:32px}
body[data-studio-theme] .page-intro h1{font-size:clamp(30px,3.5vw,50px);line-height:1.35}
body[data-studio-theme] .page-intro .lede{font-size:16px;line-height:1.85;max-width:52em}
body[data-studio-theme] .intro-art{border-radius:28px;overflow:hidden;background:#eee5d8}
body[data-studio-theme] .section{padding-block:48px}
body[data-studio-theme] .button,body[data-studio-theme] button.outline,body[data-studio-theme] .load-more,body[data-studio-theme] .cart{border-radius:10px}
body[data-studio-theme] .button{transition:background .18s,color .18s,border-color .18s,box-shadow .18s}
body[data-studio-theme] .button:hover{box-shadow:0 4px 14px #68452214}
body[data-studio-theme] input:not([type=checkbox]):not([type=radio]):not([type=range]),body[data-studio-theme] select,body[data-studio-theme] textarea{border-radius:9px;background-color:#fffdf8;border-color:#d9d0c3;color:#302d28}
body[data-studio-theme] input:focus,body[data-studio-theme] select:focus,body[data-studio-theme] textarea:focus{outline:2px solid #c1745340;outline-offset:2px}
body[data-studio-theme] .filter-bar{background:#f7f3ede8!important;backdrop-filter:blur(18px);border-color:#e0d7ca;padding-block:14px}
body[data-studio-theme] .filters button{border-radius:9px}
body[data-studio-theme] .project-grid{align-items:stretch;grid-auto-rows:auto}
body[data-studio-theme] .project-grid .card{border-bottom-color:#dfd5c7}
body[data-studio-theme] .project-grid .card h3{font-size:clamp(20px,1.65vw,28px);line-height:1.4}
body[data-studio-theme] .work .image,body[data-studio-theme] .project-image,body[data-studio-theme] .product-image{border-radius:14px}
body[data-studio-theme] .xc-card{border:1px solid #e2d8c9;border-radius:18px;background:#fffdf7a8;box-shadow:0 5px 18px #67503806;overflow:hidden}
body[data-studio-theme] .xc-card>summary{padding:22px 42px 22px 22px;min-height:134px}
body[data-studio-theme] .xc-card-arrow{right:20px}
body[data-studio-theme] .xc-card-copy{color:#73695e}
body[data-studio-theme] .xc-guide>p{background:#fffaf0c9;border:1px solid #fffef9;border-radius:18px;backdrop-filter:blur(12px)}
body[data-studio-theme] .xc-guide::before{border-color:#d5c3a7;background:radial-gradient(circle,#f1e2c930,transparent 70%)}
body[data-studio-theme] .web-design-hero{padding-top:45px;padding-bottom:38px}
body[data-studio-theme] .web-design-hero h1{font-size:clamp(32px,4vw,56px);line-height:1.3}
body[data-studio-theme] .web-design-links{padding:24px;border:1px solid #e4d7c4;border-radius:24px;background:linear-gradient(145deg,#fffdf9d9,#eee1cb80)}
body[data-studio-theme] .web-service-grid article,body[data-studio-theme] .web-delivery-grid article{padding:24px;border-radius:17px;background:#fffcf6;border:1px solid #e4dacb}
body[data-studio-theme] .web-design-delivery{background:#ede5d8}
body[data-studio-theme] .mk-frame{border-radius:18px;overflow:hidden}
body[data-studio-theme] .mk-section{background:#f0e8dd}
body[data-studio-theme] .web-flow li{border-color:#dacdbb}
body[data-studio-theme] .enquiry-form-shell{padding:28px;background:#fffdf8;border:1px solid #e1d7c7;border-radius:22px;box-shadow:0 12px 35px #71502108}
body[data-studio-theme] .guide-ack,body[data-studio-theme] .scope-note{border-radius:14px;background:#eee6d8;border-color:#d9ccb8}
body[data-studio-theme] .xc-contact-modes{gap:5px;padding:5px;border:0;border-radius:12px;background:#f1ebe1}
body[data-studio-theme] .xc-contact-modes button{border:0;border-radius:9px}
body[data-studio-theme] .xc-contact-modes button[aria-pressed=true]{background:#fffaf4;box-shadow:0 2px 8px #68482b12}
body[data-studio-theme] .xc-optional{border-color:#e4dacd}
body[data-studio-theme] .xr-chain-option,body[data-studio-theme] .xc-intents button{border-radius:9px}
body[data-studio-theme] dialog{border-radius:22px;border-color:#e5dbcb;background:#fffaf4f2;box-shadow:0 22px 90px #47321c29}
body[data-studio-theme] dialog::backdrop{background:#3a302645;backdrop-filter:blur(9px)}
body[data-studio-theme] .xc-dialog-head{background:#fffaf0d9;border-color:#e4dacd}
body[data-studio-theme] .xr-scope{border-radius:0 12px 12px 0;background:#f0e6d8}
body[data-studio-theme] .social-rail,body[data-studio-theme] .product-admin-rail,body[data-studio-theme] .portfolio-admin-rail,body[data-studio-theme] .xin-admin-rail{background:#fffaf0d0!important;backdrop-filter:blur(18px);border-color:#ded3c3!important;box-shadow:0 5px 20px #52361a0a}
body[data-studio-theme] .social-rail{border-radius:0 14px 14px 0}
body[data-studio-theme] .product-admin-rail,body[data-studio-theme] .portfolio-admin-rail,body[data-studio-theme] .xin-admin-rail{border-radius:14px 0 0 14px}
body[data-studio-theme] footer{background:#ece4d8;border-top:1px solid #dcd0bf;color:#4b4237}
body[data-studio-theme] .studio-return{display:inline-flex;align-items:center;gap:8px;margin-bottom:15px;font-size:12px;color:#897157;text-decoration:none;padding:7px 11px;background:#fffaf3b3;border:1px solid #e3d6c4;border-radius:20px}
body[data-studio-theme] .studio-return:hover{color:#af3c2d;background:#fff}
body[data-studio-theme] .studio-return svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.5}
body[data-studio-theme] .pricing-grid article,body[data-studio-theme] .price-card,body[data-studio-theme] .plan-card{border-radius:18px;border-color:#ddcfba;background:#fffcf5}
body[data-studio-theme] .timeline-band,body[data-studio-theme] .education-band,body[data-studio-theme] .partner-band{background:#efe7da;border-radius:20px}
@media(max-width:800px){body[data-studio-theme] .page-intro{padding-top:26px;padding-bottom:24px}body[data-studio-theme] .page-intro h1{font-size:32px}body[data-studio-theme] .section{padding-block:30px}body[data-studio-theme] .enquiry-form-shell{padding:18px;border-radius:17px}body[data-studio-theme] .xc-card>summary{padding:18px 35px 18px 18px}body[data-studio-theme] .xc-card-arrow{right:14px}body[data-studio-theme] .xc-card-title{font-size:18px}body[data-studio-theme] .site-header{backdrop-filter:blur(16px)}body[data-studio-theme] .web-design-links{padding:20px}body[data-studio-theme] dialog{border-radius:16px;max-width:calc(100vw - 18px)}}
@media(prefers-reduced-motion:reduce){body[data-studio-theme] *,body[data-studio-theme] *::before,body[data-studio-theme] *::after{scroll-behavior:auto!important}}

body[data-studio-theme] .web-design-hero figure img{border-radius:22px}body[data-studio-theme] .process-grid{border-radius:20px;overflow:hidden}body[data-studio-theme] .xc-enquiry-guide .xc-avatar{min-width:180px;object-fit:contain}

/* Reveal the bulb cleanly on a genuinely transparent stage. */
html body .brand-mark.xl-running>img,html body .brand-mark.xl-running::before{animation:xl-base-hide 4.8s ease-in-out both}
@keyframes xl-base-hide{0%,100%{opacity:1}10%,88%{opacity:0}}
@media(prefers-reduced-motion:reduce){html body .brand-mark.xl-running>img,html body .brand-mark.xl-running::before{animation:none!important;opacity:1}}

body[data-studio-theme] .ps-preview-actions a,body[data-studio-theme] .save-button,body[data-studio-theme] .project-card button{border-radius:9px}body[data-studio-theme] .ps-visual-frame,body[data-studio-theme] .ps-visual-frame::before,body[data-studio-theme] .ps-visual-frame::after{border-radius:18px}body[data-studio-theme] .ps-visual-frame img{border-radius:12px}

/* V9: quiet search, readable schedule, sticky contact reference. */
body[data-studio-theme] #catalogue-search{background:transparent!important;border:0!important;border-bottom:1px solid #897c6b!important;border-radius:0!important;box-shadow:none!important;padding-inline:0}
body[data-studio-theme] #catalogue-search:focus{outline:none;border-bottom:2px solid #b34d38!important}
body[data-studio-theme] .timeline-band,body[data-studio-theme] .timeline-band h2,body[data-studio-theme] .timeline-band strong,body[data-studio-theme] .timeline-band b,body[data-studio-theme] .timeline-band a{color:#302d28!important}
body[data-studio-theme] .timeline-band p,body[data-studio-theme] .timeline-band .eyebrow{color:#63594c!important}
body[data-studio-theme] .timeline-row,body[data-studio-theme] .week-row{border-color:#d5c9b7!important}
@media(min-width:901px){body[data-studio-theme] .enquiry-layout{align-items:start;overflow:visible}body[data-studio-theme] .reference-column{position:sticky!important;top:100px;align-self:start;height:auto;max-height:calc(100dvh - 120px);overflow:auto}html[data-studio-embedded] body[data-studio-theme] .reference-column{top:20px;max-height:calc(100dvh - 40px)}}
@media(max-width:900px){body[data-studio-theme] .reference-column{position:static!important;max-height:none;overflow:visible}}

/* V18: centered editing surfaces, one content scroller and accessible fixed actions. */
body[data-studio-theme] :is(dialog.ps-drawer,dialog.ps-studio,dialog.xpd-dialog,dialog.xpm-dialog){position:fixed;inset:0;margin:auto;width:min(1120px,calc(100vw - 48px));max-width:calc(100vw - 48px);max-height:calc(100dvh - 40px);box-sizing:border-box}
body[data-studio-theme] :is(dialog.ps-drawer,dialog.ps-studio){height:min(860px,calc(100dvh - 40px));overflow:hidden}
body[data-studio-theme] .ps-drawer .ps-content{padding:24px 30px;min-height:0;overscroll-behavior:contain}
body[data-studio-theme] .ps-drawer .ps-form{gap:20px 24px}
body[data-studio-theme] .ps-drawer :is(header,footer){padding:18px 30px}
body[data-studio-theme] .ps-tabs{flex-wrap:wrap;padding:12px 30px 0}
body[data-studio-theme] .xpd-dialog:not(.xpd-account-dialog):not(.xpd-tags-dialog)[open]{display:flex;flex-direction:column;overflow:hidden}
body[data-studio-theme] .xpd-dialog>[data-body]{overflow:auto;min-height:0;overscroll-behavior:contain;padding:24px 30px}
body[data-studio-theme] .xpd-dialog>header{flex-shrink:0}
body[data-studio-theme] .xpd-account-dialog{width:min(440px,calc(100vw - 32px))}
body[data-studio-theme] .xpd-tags-dialog{width:min(640px,calc(100vw - 32px))}
body[data-studio-theme]:has(dialog[open]){overflow:hidden}
@media(max-width:650px){body[data-studio-theme] :is(dialog.ps-drawer,dialog.ps-studio,dialog.xpd-dialog,dialog.xpm-dialog){width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:16px}body[data-studio-theme] :is(dialog.ps-drawer,dialog.ps-studio){height:calc(100dvh - 16px)}body[data-studio-theme] .ps-drawer :is(.ps-content,header,footer),body[data-studio-theme] .xpd-dialog>[data-body]{padding:16px}body[data-studio-theme] .ps-tabs{padding:8px 12px 0}}

/* V22: keep sticky reference content scrollable without a visible inner rail. */
body[data-studio-theme] .reference-column{scrollbar-width:none;-ms-overflow-style:none}body[data-studio-theme] .reference-column::-webkit-scrollbar{display:none;width:0;height:0}

/* V25: quiet warm scrollbars, revealed on hover or keyboard focus. */
@supports selector(::-webkit-scrollbar){
html::-webkit-scrollbar,body::-webkit-scrollbar,*::-webkit-scrollbar{width:7px;height:7px}
html::-webkit-scrollbar-track,body::-webkit-scrollbar-track,*::-webkit-scrollbar-track{background:transparent}
html::-webkit-scrollbar-thumb,body::-webkit-scrollbar-thumb,*::-webkit-scrollbar-thumb{background:transparent;border:2px solid transparent;border-radius:8px;background-clip:padding-box}
html:hover::-webkit-scrollbar-thumb,body:hover::-webkit-scrollbar-thumb,*:hover::-webkit-scrollbar-thumb,*:focus-within::-webkit-scrollbar-thumb{background-color:rgba(153,120,91,.42)}
*::-webkit-scrollbar-thumb:hover{background-color:rgba(171,73,52,.7)}
*::-webkit-scrollbar-corner{background:transparent}
}
@supports not selector(::-webkit-scrollbar){html,body,*{scrollbar-width:thin;scrollbar-color:transparent transparent}html:hover,body:hover,*:hover,*:focus-within{scrollbar-color:rgba(153,120,91,.42) transparent}}
@media(hover:none){*{scrollbar-color:rgba(153,120,91,.32) transparent}*::-webkit-scrollbar-thumb{background-color:rgba(153,120,91,.32)}}
@media(forced-colors:active){*{scrollbar-color:auto}*::-webkit-scrollbar-thumb{background-color:ButtonText}}

body[data-studio-theme] .reference-column{scrollbar-width:none}body[data-studio-theme] .reference-column::-webkit-scrollbar{display:none;width:0;height:0}

/* V26: one page scroll; tall reference columns travel until their bottom is visible. */
body[data-studio-theme] .reference-column,html[data-studio-embedded] body[data-studio-theme] .reference-column{max-height:none;overflow:visible;height:auto}
@media(min-width:901px){body[data-studio-theme] .reference-column,html[data-studio-embedded] body[data-studio-theme] .reference-column{top:var(--reference-sticky-top,20px)}}

/* V43: real catalogue imagery and clearer product-versus-custom-project context. */
body[data-studio-theme] #product-detail .product-detail-top .xpd-product-capture{height:auto;aspect-ratio:auto;align-self:start;border:1px solid #d8cdbd80;border-radius:16px;overflow:hidden;background:#fffaf2}
body[data-studio-theme] #product-detail .product-detail-top .xpd-product-capture img{display:block;width:100%;height:auto;object-fit:contain;object-position:top}
.product-detail-facts{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 24px}.product-detail-facts>span{padding:5px 10px;border:1px solid #d8cdbd;border-radius:8px;font-size:12px}
.product-custom-directions{margin-top:22px}.product-custom-directions>summary,.product-process>summary{cursor:pointer;font-weight:600;padding:12px 0}.product-process .delivery-grid{margin-top:18px}
