:root{font-family:"DM Sans",system-ui,sans-serif;color:#202a32;background:#f5f2ee;--pine:#17212a;--line:#ded8d0}
*{box-sizing:border-box}
body{margin:0}
html{scroll-behavior:smooth}
button,input,select{font:inherit}
button,a{-webkit-tap-highlight-color:transparent}
button{cursor:pointer;color:inherit}
a{color:inherit;text-decoration:none}
:focus-visible{outline:3px solid #ac644c;outline-offset:4px}
.wrap{width:min(1320px,calc(100% - 88px));margin-inline:auto}
.top{height:82px;display:flex;align-items:center;gap:34px}
.brand{font-family:Georgia,serif;font-size:24px;margin-right:auto}
.brand b,.footer span:first-child{color:#8a6546}
.nav{font-size:14px}
.cart-button,.filters button,.add,.close,.qty button,.back{background:transparent;border:1px solid var(--line);border-radius:100px}
.cart-button{padding:9px 12px 9px 16px;display:flex;align-items:center;gap:9px}
#count{background:var(--pine);color:white;border-radius:50%;min-width:24px;min-height:24px;display:grid;place-items:center;font-size:12px}
.hero{position:relative;isolation:isolate;overflow:hidden;border-radius:22px;background:#17212a;color:#f6f1eb;min-height:475px;display:flex;align-items:center}
.hero-copy{padding:55px clamp(28px,6vw,88px);position:relative;z-index:1}
.eyebrow{font-size:11px;letter-spacing:.2em;color:#d5b99a;font-weight:700}
h1,h2{font-family:Georgia,serif;font-weight:400;letter-spacing:-.045em;margin:0}
h1{font-size:clamp(52px,6.6vw,98px);line-height:.95;margin:21px 0}
.hero p{max-width:330px;color:#ede3d5;line-height:1.6;margin:0 0 27px}
.button{display:inline-flex;justify-content:center;align-items:center;gap:18px;padding:13px 21px;border:0;border-radius:100px;font-size:14px;font-weight:650}
.light{background:#f8eddb;color:#202a32}
.primary{background:var(--pine);color:white;width:100%}
.hero-art{position:absolute;inset:0;background:radial-gradient(ellipse at 75% 45%,#46614d,transparent 57%)}
.hero-art span{position:absolute;top:8%;right:11%;font-size:clamp(170px,34vw,450px);line-height:1;color:#e7d2aa;text-shadow:5px 12px 14px #08170f;transform:rotate(-12deg)}
.hero-art span+span{font-size:80px;top:68%;right:8%;color:#a55147}
.hero.has-image .hero-art{background:linear-gradient(90deg,#141e27 3%,transparent 72%),url("hero.png") 50% 54%/cover}
.hero.has-image .hero-art span{display:none}
.collection{padding:54px 0 65px;scroll-margin-top:20px}
.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:23px}
h2{font-size:clamp(33px,4.4vw,55px)}
.filters{display:flex;gap:7px;flex-wrap:wrap}
.filters button{padding:8px 14px;font-size:13px}
.filters button[aria-pressed=true]{background:var(--pine);color:white;border-color:var(--pine)}
.products{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.card{overflow:hidden;background:#fffdfa;border:1px solid var(--line);border-radius:16px}
.art{height:auto;aspect-ratio:1.55;display:grid;place-items:center;font:clamp(85px,12vw,165px)/1 Georgia,serif;text-shadow:3px 7px 7px #302b2745}
.snow{background:#dfd6c5;color:#fff6e2}.bauble{background:#e6cfc6;color:#8c3e37}.tree{background:#ccd4c5;color:#2f5741}
.art.bauble span{width:.66em;height:.66em;border-radius:50%;color:transparent;background:repeating-linear-gradient(90deg,#a54c43 0 5%,#78332e 7%,#a54c43 10%);box-shadow:.04em .06em .1em #512a2570;position:relative}
.art.bauble span:before{content:"";position:absolute;width:18%;height:16%;left:41%;top:-12%;border:3px solid #80362f;border-radius:30%}
.art.tree span{width:.68em;height:.75em;background:repeating-linear-gradient(160deg,#315344 0 4%,#426956 6%,#315344 9%);clip-path:polygon(50% 0,72% 34%,62% 34%,84% 62%,73% 62%,100% 91%,60% 91%,60% 100%,40% 100%,40% 91%,0 91%,27% 62%,16% 62%,38% 34%,28% 34%)}
.card-body{padding:19px}
.card h3{font:400 25px Georgia,serif;margin:0}
.card p,.footer,#order p{color:#62666a;font-size:14px;line-height:1.5}
.card-bottom,.total,.dialog-head,.cart-line{display:flex;align-items:center;justify-content:space-between;gap:12px}
.add{padding:8px 13px;font-size:13px}
.add:hover,.filters button:hover,.cart-button:hover{border-color:var(--pine)}
.footer{border-top:1px solid var(--line);padding:23px 0 35px;display:flex;justify-content:space-between;gap:12px}
dialog{border:1px solid var(--line);border-radius:18px;color:inherit;background:#fffdfa;padding:24px;width:min(500px,calc(100% - 24px));max-height:calc(100% - 24px);overflow:auto}
dialog::backdrop{background:#101923b3}
.dialog-head h2{font-size:35px}
.close{width:36px;height:36px;font-size:24px;line-height:1}
.cart-line{padding:13px 0;border-bottom:1px solid var(--line)}
.cart-line small{display:block;margin-top:4px}
.qty{display:flex;align-items:center;gap:8px}
.qty button{width:34px;height:34px}
.total{padding:10px 0;font-size:17px}
#order label{display:block;margin:12px 0;font-size:14px}
#order input,#order select{display:block;width:100%;margin-top:5px;padding:9px;border:1px solid var(--line);background:white;color:inherit;border-radius:7px}
.back{display:block;margin:10px auto 0;padding:8px 15px}
[hidden]{display:none!important}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:780px){.wrap{width:calc(100% - 32px)}.top{height:66px;gap:14px}.nav{display:none}.hero{min-height:424px}.hero-art{opacity:.43}.hero-art span{right:2%;top:15%}.products{grid-template-columns:repeat(2,1fr)}}
@media(max-width:510px){.brand{font-size:19px}.hero{min-height:380px}.hero-copy{padding:33px 22px}.products{grid-template-columns:1fr}.collection{padding-top:34px}.art{font-size:120px}.footer{font-size:12px}}
.set-art{background:#dcd6c5;color:#fff6e2;font-size:clamp(52px,8vw,104px)}
.set-art.classic{background:#41464b}
.set-art.winter{background:#ae967e}
.set-art.home{background:#253441}
.piece-count{display:block;color:#596757;font-size:12px;margin-bottom:7px}
.card .saving{color:#65513c;font-weight:650;margin-top:-6px}
#order-error{color:#8a6546}
#order-error:empty{display:none}
#order input[required]:valid{border-color:#36825a;box-shadow:0 0 0 1px #36825a40}
#order input[type=hidden]{display:none}
#account-form label{display:block;margin:12px 0;font-size:14px}
#account-form input{display:block;width:100%;margin-top:5px;padding:9px;border:1px solid var(--line);border-radius:7px}
#account-form input:valid{border-color:#36825a}
#account-status:empty{display:none}
@media(max-width:380px){.top{gap:7px}.top .cart-button{padding-inline:8px}.top .brand{font-size:17px}}
.catalog-search{display:grid;gap:6px;max-width:340px;margin:0 0 19px;font-size:14px}
.catalog-search input,#product-quantity{padding:9px 12px;border:1px solid var(--line);background:#fffdfa;color:inherit;border-radius:8px}
.product-link{font:inherit;text-align:left;background:none;border:0;padding:0;text-decoration:underline;text-underline-offset:4px;text-decoration-color:#abb4a6}
.product-link:hover{text-decoration-color:currentColor}
#product-quantity{width:82px;margin-left:10px}
#product-info li{margin:6px 0}
.product-art{width:100%;border:0;cursor:pointer}
.product-art:hover{filter:brightness(1.05)}
.catalog-sort{display:grid;gap:6px;font-size:14px;max-width:250px;margin:0 0 22px}
.catalog-sort select{padding:9px 12px;border:1px solid var(--line);border-radius:8px;background:#fffdfa;color:inherit}
.basket-notice{min-height:24px;color:#65513c;font-size:14px}
.remove{background:none;border:0;padding:5px 0;text-decoration:underline;color:#8a6546;font-size:12px}
.help{padding:0 0 60px;max-width:780px}
.help h2{font-size:38px;margin-bottom:20px}
.help details{padding:17px 0;border-bottom:1px solid var(--line)}
.help summary{cursor:pointer;font-weight:600}
.help p{line-height:1.6;color:#62666a}
.footer{flex-wrap:wrap}
button:disabled{opacity:.55;cursor:wait}
.dialog-head{align-items:flex-start}
.dialog-head h2{overflow-wrap:anywhere}
#checkout-items{border-block:1px solid var(--line);margin-top:20px}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
@media(max-width:510px){.hero.has-image .hero-art{background-position:65% center}.cart-line{align-items:flex-start}.qty{flex-shrink:0}.dialog-head h2{font-size:29px}.top{gap:8px}}
.legal{max-width:850px;padding-bottom:60px;line-height:1.75}
.legal h1{font-size:clamp(40px,7vw,68px);margin:30px 0}
.legal h2{font-size:28px;margin:32px 0 12px;letter-spacing:-.02em}
.legal a{text-decoration:underline}
.legal dt{font-weight:650;margin-top:12px}
.legal dd{margin:0}
.draft-note{border:1px solid #c99758;background:#fff1d8;padding:18px;border-radius:10px}
.withdrawal{padding:20px;border:1px solid var(--line);margin-bottom:20px;overflow-wrap:anywhere}
@media print{.top,.legal button{display:none}.legal{width:100%;max-width:none;color:black}.legal h2{break-after:avoid}.withdrawal{break-inside:avoid}}
.address-row{display:grid;grid-template-columns:2fr 1fr;gap:12px}
.parameters{display:grid;grid-template-columns:1fr 1fr;gap:9px 20px;font-size:14px}
.parameters dt{color:#62666a}.parameters dd{margin:0}
.photo-placeholder{min-height:110px;border:1px dashed var(--line);border-radius:12px;display:grid;place-items:center;color:#62666a;margin-bottom:20px}
.order-history{border-bottom:1px solid var(--line);padding:12px 0;overflow-wrap:anywhere;font-size:14px}
@media(max-width:380px){.address-row{grid-template-columns:1fr}}
.custom-nav{font-size:14px;font-weight:650;border-bottom:1px solid currentColor;padding-bottom:3px}
.custom-banner{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:30px;background:#e6dfd6;border-radius:18px;margin-bottom:45px}
.custom-banner h2{font-size:36px}.custom-banner .primary,.bespoke-intro .primary{width:auto;flex-shrink:0}
.bespoke{padding-bottom:60px}.bespoke-intro{background:var(--pine);color:#f6f1eb;padding:clamp(25px,6vw,75px);border-radius:22px}
.bespoke-intro h1{font-size:clamp(42px,6vw,78px)}.bespoke-intro p{max-width:650px;line-height:1.7}.bespoke-intro .primary{background:#f8eddb;color:var(--pine);margin-top:12px}
.bespoke-process{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;padding:42px 0}
.bespoke-process h2{font-size:27px}.bespoke-process p{font-size:14px;line-height:1.7;color:#62666a}
.custom-section{display:grid;grid-template-columns:1fr 1.3fr;gap:45px;border-top:1px solid var(--line);padding-top:35px}
.custom-section h2{font-size:38px}.custom-section p{line-height:1.6}
#custom-form label{display:grid;gap:6px;font-size:14px;margin-bottom:16px}
#custom-form label span,#custom-form small{font-size:12px;color:#62666a}
#custom-form input,#custom-form textarea{font:inherit;width:100%;padding:11px;border:1px solid var(--line);border-radius:8px;background:white;color:inherit}
#custom-form textarea{resize:vertical}#custom-form [required]:valid{border-color:#36825a}
@media(max-width:780px){.top{height:auto;min-height:70px;flex-wrap:wrap;padding-block:12px}.custom-section{grid-template-columns:1fr;gap:15px}.bespoke-process{grid-template-columns:1fr;gap:12px}.custom-banner{align-items:flex-start;flex-direction:column}.custom-nav{order:4}}
.admin-main{padding-bottom:60px}
.admin-main h1{font-size:clamp(36px,5vw,58px);margin:30px 0}
.admin-form{max-width:400px}
.admin-form label,.admin-toolbar label{display:grid;gap:6px;margin-bottom:15px;font-size:14px}
.admin-form input,.admin-toolbar input,.admin-toolbar select,.admin-table select{font:inherit;padding:10px;border:1px solid var(--line);border-radius:8px;background:#fffdfa;color:inherit}
.admin-toolbar{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin:25px 0}
.admin-toolbar label{margin:0}
.admin-toolbar .primary{width:auto}
.admin-toolbar .back{margin:0;padding:12px}
#admin-orders{overflow-x:auto;border-radius:12px}

@media(max-width:780px){.admin-toolbar label{flex:1 1 180px}}

.admin-table{width:100%;border-collapse:collapse;background:#fffdfa;font-size:14px;min-width:1050px}
.admin-table caption{text-align:left;padding:12px 0;font-weight:600}
.admin-table th{background:#e6dfd6;text-align:left;font-weight:650;white-space:nowrap}
.admin-table th,.admin-table td{padding:15px;border-bottom:1px solid var(--line);vertical-align:top}
.admin-table tbody tr:nth-child(even){background:#f3efea}
.admin-table tbody tr:hover{background:#e8e5df}
.admin-table td{min-width:130px;max-width:300px;overflow-wrap:anywhere}
.admin-table p{margin:0 0 6px;white-space:pre-wrap;line-height:1.5}
.admin-table .order-number{display:block;max-width:145px;color:#62666a;font-size:11px}
.admin-table .table-total{white-space:nowrap;font-weight:700;text-align:right}
.admin-table select{min-width:140px}

/* MP studio identity */
.brand{font-family:"DM Sans",system-ui,sans-serif;display:flex;flex-direction:column;gap:3px;line-height:1.15;white-space:nowrap}
.brand-name{font-size:27px;font-weight:300;letter-spacing:-.06em}
.brand-name strong{font-weight:750;letter-spacing:-.04em}
.brand-tagline{font-size:9px;letter-spacing:.14em;font-weight:400;color:#68635c}
.hero.has-image .hero-art{background-image:linear-gradient(90deg,#141e27 0%,#141e2799 40%,transparent 85%),url("hero.png")}
.eyebrow{color:#d5b99a}
.custom-nav{border-color:#bc9b78}
.footer span:first-child{color:#17212a}
@media(max-width:510px){.brand-name{font-size:23px}.brand-tagline{font-size:7px}.top{gap:10px}.hero-copy h1{font-size:clamp(46px,11vw,68px)}}

/* Professional MP studio storefront */
:root{--ink:#17212a;--sand:#b99570;--paper:#f6f3ef;--line:#ddd8d0;background:var(--paper);color:var(--ink);font-family:"Inter","Segoe UI",system-ui,sans-serif}
.wrap{width:min(1340px,calc(100% - 96px))}
.top{height:100px;gap:30px}
.brand-name{font-size:31px;letter-spacing:-.055em}
.brand-tagline{font-size:8px;letter-spacing:.19em;color:#706d68}
.nav,.custom-nav{font-size:13px}
.custom-nav{border-bottom:0;padding:10px 0}
.cart-button{border-color:#d5cfc6;padding:11px 17px;font-size:13px}
#count{min-width:21px;min-height:21px;font-size:11px}
.hero{display:grid;grid-template-columns:1fr 1fr;min-height:530px;border-radius:6px;background:#17212a;isolation:auto}
.hero-copy{padding:58px clamp(28px,4.4vw,68px);z-index:1}
.hero h1{font-family:Georgia,serif;font-size:clamp(48px,5.1vw,78px);font-weight:400;line-height:1.04;letter-spacing:-.055em;margin:27px 0 25px}
.hero p{font-size:15px;line-height:1.85;color:#d5d4d0;max-width:340px}
.eyebrow,.section-kicker{font-size:10px;letter-spacing:.18em;font-weight:600}
.hero-art,.hero.has-image .hero-art{position:relative;inset:auto;align-self:stretch;opacity:1;background:url("hero.png") 68% center/cover;border-radius:0 6px 6px 0}
.hero-art::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#17212a24,transparent 28%)}
.button{border-radius:4px;font-size:13px;padding:15px 22px;font-weight:600}
.light{background:#d7b896;color:#17212a}
.light:hover{background:#e2c8aa}
.collection{padding:70px 0 44px}
.section-kicker{display:block;color:#81705e;margin-bottom:13px}
.section-head{align-items:center;margin-bottom:28px}
.section-head h2{font-size:45px;letter-spacing:-.04em}
.filters button{padding:10px 15px;border-radius:4px;font-size:12px}
.catalog-tools{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:22px}
.catalog-search{margin:0;width:340px;font-size:12px;gap:8px}
.catalog-sort{margin:0;font-size:12px;gap:8px}
.catalog-search input,.catalog-sort select{border-radius:4px;background:#fffdfa;padding:12px}
.products{gap:24px}
.card{border-radius:5px;border:1px solid #e1dbd3;box-shadow:0 3px 15px #17212a04;transition:box-shadow .2s,transform .2s}
.card:hover{box-shadow:0 12px 25px #17212a0c;transform:translateY(-3px)}
.art{aspect-ratio:1.35}
.set-art{font-size:90px;background:radial-gradient(ellipse at center,#ece3d5,#d1bea4);color:#fff9ed;text-shadow:3px 7px 8px #53433150}
.set-art.classic{background:radial-gradient(ellipse at 60% 35%,#717982,#26313b)}
.set-art.winter{background:radial-gradient(ellipse at 60% 35%,#ded7cc,#b2a38e)}
.set-art.home{background:radial-gradient(ellipse at 60% 35%,#8c8173,#504a43)}
.set-art span{transform:rotate(-12deg);letter-spacing:-.08em}
.card-body{padding:24px}
.piece-count{font-size:10px;text-transform:uppercase;letter-spacing:.14em;color:#797269}
.card h3{font-family:inherit;font-size:21px;font-weight:600;letter-spacing:-.025em}
.product-link{text-decoration:none}
.product-link:hover{text-decoration:underline}
.card p{font-size:13px;line-height:1.75;min-height:44px}
.card .saving{font-size:12px;min-height:0;font-weight:500;color:#786045}
.card-bottom{border-top:1px solid #ebe5dc;padding-top:18px;margin-top:19px}
.card-bottom strong{font-size:20px;font-weight:600}
.add{border-radius:4px;background:#17212a;color:#f6f3ef;border-color:#17212a;padding:10px 14px;font-size:12px}
.add:hover{background:#30404c}
.basket-notice{margin-bottom:0}
.help{max-width:none;padding-bottom:55px}
.help h2,#contact-title{font-size:35px}
.help details{max-width:780px;padding:20px 0}
.help summary{font-size:14px}
.custom-banner{border-radius:5px;padding:52px 60px;background:#e8e0d6;gap:60px}
.custom-banner h2{font-size:45px;line-height:1.1}
.custom-banner p{max-width:490px;font-size:14px;line-height:1.8;color:#5e5c59}
.custom-banner .primary{padding:16px 25px}
#kontakt{padding-top:15px}
#kontakt .parameters{max-width:630px;line-height:1.9}
.footer{padding:27px 0 38px;font-size:12px}
dialog{border-radius:8px;box-shadow:0 25px 100px #17212a33}
.dialog-head h2{font-size:32px}
.bespoke-intro{border-radius:6px}
.bespoke-intro .primary{border-radius:4px}
@media(max-width:1000px){.wrap{width:calc(100% - 48px)}.top{gap:18px}.hero{min-height:470px}.hero-copy{padding:40px 30px}.hero h1{font-size:56px}.hero-art,.hero.has-image .hero-art{background-position:65% center}}
@media(max-width:780px){.top{height:auto;min-height:86px;row-gap:12px}.hero{grid-template-columns:1fr 1fr}.hero h1{font-size:46px}.hero-copy{padding:34px 25px}.hero p{font-size:13px}.products{gap:16px}.section-head h2{font-size:38px}.custom-banner{padding:35px;gap:20px}.custom-nav{order:initial}}
@media(max-width:560px){.wrap{width:calc(100% - 32px)}.top{padding:17px 0;gap:10px}.brand{margin-right:auto}.brand-name{font-size:25px}.brand-tagline{font-size:7px}.top .custom-nav{order:4;width:100%;border-top:1px solid var(--line);padding-top:12px;text-align:center}.cart-button{padding:9px 12px}.hero{display:flex;flex-direction:column;align-items:stretch}.hero-copy{padding:32px 26px}.hero h1{font-size:52px}.hero-art,.hero.has-image .hero-art{min-height:250px;background-position:center 57%;border-radius:0 0 6px 6px}.collection{padding-top:43px}.section-head{gap:20px}.catalog-tools{align-items:stretch;flex-direction:column;gap:13px}.catalog-search{width:100%;max-width:none}.catalog-sort{max-width:none}.products{grid-template-columns:1fr}.art{aspect-ratio:1.55}.custom-banner h2{font-size:37px}.help h2{font-size:31px}}
@media(prefers-reduced-motion:reduce){.card{transition:none}.card:hover{transform:none}}
/* Idea-first trial */
.idea-hero h1{font-size:clamp(43px,4.4vw,66px);line-height:1.1}
.idea-hero .hero-copy{padding:46px clamp(25px,4vw,58px)}
.idea-hero .hero-art,.idea-hero.has-image .hero-art{background:linear-gradient(120deg,#dfd2c0,#f5eee4);min-height:440px}
.idea-hero.has-image .hero-art{background:url("idea-hero.png") center/cover}
.idea-process{padding:65px 0 15px;scroll-margin-top:25px}
.section-intro h2,.idea-examples h2{font-size:clamp(30px,3.5vw,43px);max-width:650px;line-height:1.15}
.idea-process h3,.example-grid h3{font-size:19px;font-weight:600;letter-spacing:-.02em}
.idea-process .bespoke-process{padding:22px 0}
.idea-examples{padding:30px 0 10px}
.example-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:25px}
.example-grid article{border-top:1px solid #c6b69f;padding-top:12px}
.example-grid p{font-size:14px;color:#62666a;line-height:1.8}
.extra-details{margin:10px 0 24px;border-block:1px solid var(--line);padding:16px 0}
.extra-details summary{cursor:pointer;font-size:14px}
.extra-details[open] summary{margin-bottom:20px}
#custom-form input[type=file]{font-size:13px;padding:14px}
@media(max-width:780px){.example-grid{grid-template-columns:1fr;gap:8px}.idea-hero h1{font-size:42px}}
@media(max-width:560px){.idea-hero .hero-art,.idea-hero.has-image .hero-art{min-height:270px}.idea-hero h1{font-size:43px}.idea-process{padding-top:42px}}
/* Guided idea configurator */
.config-page{background:#f3f0eb}
.configurator{display:grid;grid-template-columns:310px minmax(0,1fr);gap:65px;padding:35px 0 70px;align-items:start}
.config-aside{padding-top:15px}
.config-aside h1{font-size:51px;line-height:1.06;margin:20px 0}
.config-aside>p{font-size:14px;line-height:1.8;color:#62666a;max-width:290px}
.config-progress{list-style:none;padding:0;margin:36px 0;display:grid;gap:25px}
.config-progress li{display:flex;gap:15px;align-items:center;font-size:14px;color:#85817a}
.config-progress li>span{border:1px solid #cfc6ba;border-radius:50%;width:31px;height:31px;display:grid;place-items:center;flex-shrink:0;font-size:12px}
.config-progress small{display:block;font-size:11px;margin-top:5px}
.config-progress [aria-current=step]{color:#17212a;font-weight:650}
.config-progress [aria-current=step]>span{background:#17212a;color:#fff;border-color:#17212a}
.config-progress .complete>span{background:#d7c1a7;border-color:#d7c1a7;color:#17212a}
.config-card{border:1px solid #e3dcd2;border-radius:12px;background:#fffdfa;padding:38px;box-shadow:0 12px 45px #17212a06}
#custom-form fieldset{border:0;padding:0;margin:0;min-width:0}
#custom-form legend{font-family:Georgia,serif;font-size:32px;line-height:1.2;letter-spacing:-.03em;margin-bottom:10px;padding:0}
.field-intro{font-size:14px;color:#62666a;line-height:1.65;margin:0 0 25px}
#custom-form .field-label{font-size:14px;display:grid;gap:8px;margin-bottom:20px;font-weight:500}
#custom-form .field-label small{font-weight:400}
#custom-form input,#custom-form textarea{background:#fff;border-radius:6px;padding:12px;transition:border-color .15s}
#custom-form input:focus,#custom-form textarea:focus{outline:2px solid #c4a27c;outline-offset:2px}
#custom-form textarea{line-height:1.65}
.project-options{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:25px}
#custom-form .project-options label{margin:0;display:block;position:relative}
.project-options input[type=radio]{position:absolute;opacity:0;width:1px!important;height:1px;margin:0}
.project-options span{display:flex;flex-direction:column;gap:9px;border:1px solid #ded8d0;border-radius:8px;padding:18px;min-height:120px;cursor:pointer;background:#fff}
.project-options span b{font-size:14px;font-weight:600}
#custom-form .project-options span small{line-height:1.6;font-size:12px;color:#6d6a64}
.project-options input:checked+span{border-color:#ae8961;background:#f5eee4;box-shadow:inset 0 0 0 1px #ae8961}
.project-options input:focus-visible+span{outline:3px solid #17212a;outline-offset:3px}
#custom-form .upload-box{background:#f6f3ee;border:1px dashed #bda88c;border-radius:8px;padding:20px;font-size:14px;font-weight:500}
#custom-form .upload-box input{border:0;background:transparent;padding:10px 0;font-size:12px}
#file-list{font-size:12px;color:#62666a}
.config-actions{display:flex;align-items:center;gap:15px;padding-top:24px;border-top:1px solid var(--line);margin-top:18px}
.config-actions #step-label{font-size:11px;color:#78736c;margin-right:auto}
.config-actions .primary{width:auto;min-width:160px}
.secondary{background:#ede8e0;color:#17212a}
.config-note{font-size:12px;line-height:1.8;color:#77716a}
.config-review{border-radius:8px;background:#f5f1eb;padding:22px;margin:26px 0}
.config-review h2{font-size:23px;margin:0 0 18px}
#config-summary{display:grid;grid-template-columns:100px minmax(0,1fr);gap:12px;font-size:13px;line-height:1.6}
#config-summary dt{color:#797268}
#config-summary dd{margin:0;overflow-wrap:anywhere;white-space:pre-wrap}
.text-button{display:inline-block;border:0;background:transparent;text-decoration:underline;text-underline-offset:4px;font-size:12px;padding:7px 0;color:#65513c;cursor:pointer}
#config-success h2{font-size:38px}
#config-success p{line-height:1.8;overflow-wrap:anywhere}
#config-success .primary{margin:18px 0;width:auto;display:block}
.config-home{font-size:13px}
@media(max-width:1000px){.configurator{grid-template-columns:240px minmax(0,1fr);gap:30px}.config-card{padding:28px}.config-aside h1{font-size:43px}}
@media(max-width:780px){.configurator{grid-template-columns:1fr;gap:25px;padding-top:10px}.config-aside h1{font-size:38px}.config-aside h1 br{display:none}.config-aside>p{max-width:550px}.config-progress{grid-template-columns:repeat(3,1fr);gap:10px;margin:22px 0 0}.config-progress small{display:none}.config-aside>.config-note{display:none}.config-progress li{font-size:12px;gap:8px}}
@media(max-width:480px){.config-card{padding:24px 18px}#custom-form legend{font-size:27px}.project-options{gap:8px}.project-options span{padding:13px;min-height:136px}.config-progress li{align-items:flex-start;font-size:11px}.config-progress li>span{width:24px;height:24px}.config-progress li>div{padding-top:5px}.config-actions{flex-wrap:wrap;gap:10px}.config-actions .primary{min-width:0}.config-actions #step-label{font-size:10px}#config-summary{grid-template-columns:75px minmax(0,1fr)}}
/* Supplied MP studio logo, displayed from the upper-left brand panel */
.top:has(.brand-logo){background:#131c26;color:#f8f3e9;border-radius:4px;padding:12px 24px;margin-top:18px;margin-bottom:15px;min-height:104px;height:auto}
.brand-logo{display:block;margin-right:auto;flex-shrink:0;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}
.brand-logo img{pointer-events:none;-webkit-user-drag:none}
.brand-asset{display:block;position:relative;overflow:hidden;width:260px;height:66px}
.brand-asset img{position:absolute;width:570px;max-width:none;height:auto;left:-21px;top:-32px}
.top:has(.brand-logo) .cart-button{color:#f6ecdc;border-color:#65707a}
.top:has(.brand-logo) #count{background:#ddc59e;color:#142638}
.top:has(.brand-logo) .nav{color:#e8e2d8}
.top:has(.brand-logo) .custom-nav{border:1px solid #b89a6b;color:#edd9b4;background:transparent}
@media(max-width:1000px){.brand-asset{width:205px;height:53px}.brand-asset img{width:450px;left:-17px;top:-25px}.top:has(.brand-logo){padding:12px 18px;gap:15px}}
@media(max-width:560px){.top:has(.brand-logo){padding:15px;gap:12px}.top .brand-logo{width:auto}.brand-asset{width:175px;height:45px}.brand-asset img{width:384px;left:-14px;top:-22px}.top:has(.brand-logo) .custom-nav{margin-left:auto;padding:9px}.top:has(.brand-logo) .cart-button{border-color:#596571}}

/* Continuous header gradient with the supplied mark blended into it */
.top:has(.brand-logo){
  background:linear-gradient(110deg,#111923 0%,#192735 36%,#2b3c4c 72%,#162330 100%);
}
.brand-asset{
  isolation:auto;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 4%,#000 96%,transparent 100%),linear-gradient(0deg,transparent 0%,#000 9%,#000 91%,transparent 100%);
  -webkit-mask-composite:source-in;
  mask-image:linear-gradient(90deg,transparent 0%,#000 4%,#000 96%,transparent 100%),linear-gradient(0deg,transparent 0%,#000 9%,#000 91%,transparent 100%);
  mask-composite:intersect;
}
.brand-asset img{mix-blend-mode:lighten}
.brand-asset{-webkit-mask-image:none;mask-image:none}.brand-asset img{mix-blend-mode:lighten}

/* Compact navigation with three discrete contrast levels */
html{scroll-padding-top:var(--header-space,100px)}
.top:has(.brand-logo){
  position:sticky;top:10px;z-index:30;min-height:72px!important;
  height:auto!important;padding:8px 20px!important;
  margin-top:10px;margin-bottom:12px;gap:24px;
  background:linear-gradient(110deg,#111923,#233747 72%,#162330);
}
.top:has(.brand-logo) .brand-asset{width:205px;height:52px}
.top:has(.brand-logo) .brand-asset img{width:450px;left:-17px;top:-25px}
.top:has(.brand-logo) .cart-button{padding:8px 13px;font-size:12px}
.top:has(.brand-logo) .custom-nav{padding:10px 16px}
.top:has(.brand-logo).is-scrolled{box-shadow:0 5px 20px #14263820}
.top:has(.brand-logo)[data-tone=medium]{background:linear-gradient(110deg,#2b3b49,#485d6d 72%,#324858)}
.top:has(.brand-logo)[data-tone=light]{background:linear-gradient(110deg,#eee7db,#e1d5c2 72%,#f2ece2);border-bottom-color:#a2875e;color:#18232d}
.top:has(.brand-logo)[data-tone=light] .nav,
.top:has(.brand-logo)[data-tone=light] .cart-button,
.top:has(.brand-logo)[data-tone=light] .config-home{color:#18232d;border-color:#9d927f}
.top:has(.brand-logo)[data-tone=light] .custom-nav{color:#624a2d;border-color:#a4875e}
.top:has(.brand-logo)[data-tone=light] #count{background:#18232d;color:#f5ead8}
.top:has(.brand-logo)[data-tone=light] .brand-asset img{filter:invert(1);mix-blend-mode:multiply}
@media(max-width:1000px){.top:has(.brand-logo){gap:14px}}
@media(max-width:560px){
 .top:has(.brand-logo){top:6px;padding:9px 13px!important;gap:8px;min-height:64px!important}
 .top:has(.brand-logo) .brand-asset{width:165px;height:42px}
 .top:has(.brand-logo) .brand-asset img{width:362px;left:-13px;top:-20px}
 .top:has(.brand-logo) .custom-nav{padding:8px 10px}
 .top:has(.brand-logo) .cart-button{padding:7px 10px}
}

/* Interpolated gradients and a short dwell prevent flicker at section edges. */
@property --nav-start{syntax:"<color>";inherits:false;initial-value:#111923}
@property --nav-center{syntax:"<color>";inherits:false;initial-value:#233747}
@property --nav-end{syntax:"<color>";inherits:false;initial-value:#162330}
.top:has(.brand-logo){
 --nav-start:#111923;--nav-center:#233747;--nav-end:#162330;
 background:linear-gradient(110deg,var(--nav-start),var(--nav-center) 72%,var(--nav-end));
 transition:--nav-start .65s cubic-bezier(.22,1,.36,1),--nav-center .65s cubic-bezier(.22,1,.36,1),--nav-end .65s cubic-bezier(.22,1,.36,1),box-shadow .45s ease,border-color .5s ease,color .5s ease;
}
.top:has(.brand-logo)[data-tone=medium]{
 --nav-start:#2b3b49;--nav-center:#485d6d;--nav-end:#324858;
 background:linear-gradient(110deg,var(--nav-start),var(--nav-center) 72%,var(--nav-end));
}
.top:has(.brand-logo)[data-tone=light]{
 --nav-start:#eee7db;--nav-center:#e1d5c2;--nav-end:#f2ece2;
 background:linear-gradient(110deg,var(--nav-start),var(--nav-center) 72%,var(--nav-end));
}
.top:has(.brand-logo) a,.top:has(.brand-logo) button,.top:has(.brand-logo) #count{transition:color .5s ease,border-color .5s ease,background-color .5s ease}
.top:has(.brand-logo) .brand-asset img{transition:opacity .5s ease;opacity:1;filter:none;mix-blend-mode:lighten}
.top:has(.brand-logo) .brand-asset img.light-logo{filter:invert(1);mix-blend-mode:multiply;opacity:0;pointer-events:none}
.top:has(.brand-logo)[data-tone=light] .brand-asset img{opacity:0;filter:none;mix-blend-mode:lighten}
.top:has(.brand-logo)[data-tone=light] .brand-asset img.light-logo{opacity:1;filter:invert(1);mix-blend-mode:multiply}
@media(prefers-reduced-motion:reduce){
 .top:has(.brand-logo),.top:has(.brand-logo) a,.top:has(.brand-logo) button,.top:has(.brand-logo) #count,.top:has(.brand-logo) .brand-asset img{transition:none}
}

/* Subtle movement feedback stays within a fixed navigation footprint. */
.top:has(.brand-logo){isolation:isolate;--nav-motion:0;--nav-progress:0;--nav-pointer:50%}
.top:has(.brand-logo).is-scrolled{
 box-shadow:0 calc(5px + var(--nav-motion)*6px) calc(18px + var(--nav-motion)*18px) #14263826;
}
.top:has(.brand-logo)[data-direction=down].is-scrolled{transform:translateY(-3px)}
.top:has(.brand-logo)[data-direction=up].is-scrolled{transform:translateY(0)}
.top:has(.brand-logo){
 transition:--nav-start .7s cubic-bezier(.22,1,.36,1),--nav-center .7s cubic-bezier(.22,1,.36,1),--nav-end .7s cubic-bezier(.22,1,.36,1),transform .45s cubic-bezier(.22,1,.36,1),border-color .5s ease,color .5s ease;
}
.top:has(.brand-logo)::before{
 content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:-1;
 background:radial-gradient(ellipse 220px 100px at var(--nav-pointer) 50%,#e8d0a425,transparent 100%);
 opacity:0;transition:opacity .45s ease;
}
.top:has(.brand-logo).has-pointer::before{opacity:1}
.top:has(.brand-logo)::after{
 content:"";position:absolute;bottom:-1px;left:0;right:0;height:2px;
 background:linear-gradient(90deg,#96734b,#edd8b3);transform-origin:left center;
 transform:scaleX(var(--nav-progress));pointer-events:none;transition:transform .16s linear;
}
.top:has(.brand-logo) .nav{position:relative;padding-block:10px}
.top:has(.brand-logo) .nav::after{
 content:"";position:absolute;left:0;right:0;bottom:3px;height:1px;background:#d3b482;
 transform:scaleX(0);transform-origin:left;transition:transform .3s ease;
}
.top:has(.brand-logo) .nav:hover::after,.top:has(.brand-logo) .nav[aria-current=location]::after{transform:scaleX(1)}
.top:has(.brand-logo) .cart-button:hover,.top:has(.brand-logo) .custom-nav:hover{background-color:#dfc9a418}
@media(prefers-reduced-motion:reduce){
 .top:has(.brand-logo){transform:none!important;transition:none}
 .top:has(.brand-logo)::before{display:none}
 .top:has(.brand-logo)::after,.top:has(.brand-logo) .nav::after{transition:none}
}

/* Keep all navigation contrast levels within the navy palette. */
.top:has(.brand-logo)[data-tone=medium]{--nav-start:#1a2937;--nav-center:#304657;--nav-end:#213446}
.top:has(.brand-logo)[data-tone=light]{--nav-start:#203243;--nav-center:#3a5061;--nav-end:#283e50;color:#e8dfd6}
.top:has(.brand-logo)[data-tone=light] .nav,
.top:has(.brand-logo)[data-tone=light] .cart-button,
.top:has(.brand-logo)[data-tone=light] .config-home{color:#e8dfd6;border-color:#78848d}
.top:has(.brand-logo)[data-tone=light] .custom-nav{color:#cdb28c;border-color:#aa916c}
.top:has(.brand-logo)[data-tone=light] #count{background:#ddc59e;color:#142638}
.top:has(.brand-logo)[data-tone=light] .brand-asset img{opacity:1;filter:none;mix-blend-mode:lighten}
.top:has(.brand-logo)[data-tone=light] .brand-asset img.light-logo{opacity:0}
.top:has(.brand-logo).has-pointer::before{opacity:.22}

/* Each group has its own entrance, with content visible until JS enables it. */
.reveal-item{--reveal-delay:0ms}
.reveal-item.reveal-pending{opacity:0;will-change:transform,opacity}
.reveal-item.reveal-pending[data-reveal=rise]{transform:translateY(28px)}
.reveal-item.reveal-pending[data-reveal=left]{transform:translateX(-26px)}
.reveal-item.reveal-pending[data-reveal=right]{transform:translateX(26px)}
.reveal-item.reveal-pending[data-reveal=zoom]{transform:scale(.96)}
.reveal-item.reveal-pending[data-reveal=heading]{transform:translateY(18px);clip-path:inset(0 0 100% 0)}
.reveal-item.reveal-pending[data-reveal=line]{transform:translateY(12px)}
.reveal-item.reveal-entering{animation:reveal-rise .85s cubic-bezier(.16,1,.3,1) var(--reveal-delay) both}
.reveal-item.reveal-entering[data-reveal=left]{animation-name:reveal-left}
.reveal-item.reveal-entering[data-reveal=right]{animation-name:reveal-right}
.reveal-item.reveal-entering[data-reveal=zoom]{animation-name:reveal-zoom;animation-duration:1.1s}
.reveal-item.reveal-entering[data-reveal=heading]{animation-name:reveal-heading;animation-duration:1s}
.reveal-item.reveal-entering[data-reveal=line]{animation-name:reveal-line;animation-duration:.65s}
.studio-layout .custom-banner.reveal-entering{animation-duration:1.05s}
@keyframes reveal-rise{from{opacity:0;transform:translateY(28px)}to{opacity:1;transform:translateY(0)}}
@keyframes reveal-left{from{opacity:0;transform:translateX(-26px)}to{opacity:1;transform:translateX(0)}}
@keyframes reveal-right{from{opacity:0;transform:translateX(26px)}to{opacity:1;transform:translateX(0)}}
@keyframes reveal-zoom{from{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}
@keyframes reveal-heading{from{opacity:0;transform:translateY(18px);clip-path:inset(0 0 100% 0)}to{opacity:1;transform:translateY(0);clip-path:inset(0)}}
@keyframes reveal-line{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){
 .reveal-item.reveal-pending,.reveal-item.reveal-entering{opacity:1;transform:none;clip-path:none;animation:none;will-change:auto}
}
.reveal-item.reveal-pending[data-reveal=heading]{clip-path:none}

@media (prefers-reduced-motion: no-preference) {
  .blueprint-hero h1 {
    animation: reveal-line .62s cubic-bezier(.16,1,.3,1) both;
  }
  .blueprint-choice {
    animation: reveal-rise .7s cubic-bezier(.16,1,.3,1) .09s both;
    transition: background-color .22s ease, box-shadow .22s ease;
  }
  .blueprint-choice + .blueprint-choice {
    animation-name: reveal-zoom;
    animation-delay: .18s;
  }
  .blueprint-choice:hover, .blueprint-choice:focus-visible {
    box-shadow: 0 5px 24px #0004;
  }
  .blueprint-menu[open] nav {
    transform-origin: top right;
    animation: menu-open .22s cubic-bezier(.16,1,.3,1) both;
  }
  .blueprint-layout dialog[open] {
    animation: reveal-zoom .24s ease-out both;
  }
  .blueprint-layout dialog[open]::backdrop {
    animation: page-fade .24s ease-out both;
  }
  .blueprint-config .config-aside, .blueprint-config .config-card {
    animation: reveal-line .45s cubic-bezier(.16,1,.3,1) both;
  }
  .blueprint-config #custom-form fieldset:not([hidden]),
  .blueprint-config #config-success:not([hidden]) {
    animation: reveal-line .25s ease-out both;
  }
  .legal > h1 {
    animation: reveal-line .35s ease-out both;
  }
}
@keyframes menu-open {
  from { opacity: 0; transform: translateY(-6px) scale(.985); }
  to { opacity: 1; transform: none; }
}
@keyframes page-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Animate view changes without touching the live orders table. */
@media (prefers-reduced-motion: no-preference) {
  .admin-main #login-panel:not([hidden]),
  .admin-main #admin-sales:not([hidden]) > h1,
  .admin-main #admin-sales:not([hidden]) > #admin-summary {
    animation: reveal-line .3s ease-out both;
  }
  .admin-main #admin-sales:not([hidden]) > .admin-toolbar {
    animation: page-fade .28s ease-out .06s both;
  }
}

.admin-sections { border-bottom: 1px solid var(--line); padding: 8px 0 14px; }
.ops-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.ops-nav button {
  border: 1px solid var(--line); border-radius: 8px; padding: 9px 14px;
  background: #fffdfa; color: var(--ink); font-weight: 650;
}
.ops-nav button[aria-pressed="true"] { background: #172735; border-color: #172735; color: #fff7e9; }
.ops-nav button:hover:not([aria-pressed="true"]) { background: #efe5da; }
.ops-header, .ops-table-heading {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  column-gap: 18px; row-gap: 10px;
}
.ops-header { margin: 24px 0 16px; }
.ops-header h1, .ops-table-heading h2 { margin: 0; }
#admin-operations h2 { font-size: clamp(23px, 3vw, 31px); }
.ops-header label, :is(#ops-fields, #manual-job-fields, #inquiry-mail-fields) label { display: grid; gap: 6px; font-size: 14px; }
.ops-header input, :is(#ops-fields, #manual-job-fields, #inquiry-mail-fields) input:not([type="checkbox"]), :is(#ops-fields, #manual-job-fields, #inquiry-mail-fields) select, :is(#ops-fields, #manual-job-fields, #inquiry-mail-fields) textarea {
  padding: 9px 11px; border: 1px solid var(--line); border-radius: 7px;
  background: #fff; color: var(--ink); font: inherit; width: 100%; min-width: 0;
}
#ops-status:empty, #ops-form-status:empty { display: none; }
#ops-view { margin-top: 22px; }
.ops-note { color: #555f66; font-size: 14px; margin: 12px 0; }
.ops-empty { padding: 20px; border: 1px dashed var(--line); border-radius: 10px; color: #555f66; }
.ops-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 178px), 1fr)); gap: 12px; }
.ops-stat {
  display: grid; gap: 6px; padding: 15px 17px; border: 1px solid var(--line);
  border-top: 3px solid #b99570; border-radius: 10px; background: #fffdfa;
}
.ops-stat strong { font-size: clamp(22px, 3vw, 30px); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.ops-stat small { color: #555f66; }
.ops-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
#ops-view > .ops-links { margin: 14px 0; }
.ops-links .back, .ops-table .back { margin: 0; padding: 6px 10px; white-space: nowrap; }
.ops-links .back:hover, .ops-table .back:hover { background: #efe5da; }
.ops-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.ops-table { border-collapse: collapse; width: 100%; background: #fffdfa; font-size: 14px; }
.ops-table th, .ops-table td { padding: 11px 13px; text-align: left; vertical-align: middle; }
.ops-table th { background: #172735; color: #fff7e9; white-space: nowrap; font-weight: 650; }
.ops-table td { border-bottom: 1px solid #e8e2d9; overflow-wrap: anywhere; min-width: 85px; max-width: 270px; }
.ops-table td:last-child { min-width: 0; }
.ops-table tbody tr:last-child td { border-bottom: 0; }
.ops-table tbody tr:nth-child(even) { background: #f5f0e9; }
.ops-table tbody tr:hover { background: #ede7de; }
.ops-positive { color: #1d664c; }
.ops-negative, #ops-form-status, #ops-dialog [data-ops-delete] { color: #923b31; }
#ops-dialog { width: min(560px, calc(100% - 24px)); }
#ops-dialog h2 { margin: 0 0 18px; }
:is(#ops-fields, #manual-job-fields, #inquiry-mail-fields) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
:is(#ops-fields, #manual-job-fields, #inquiry-mail-fields) .ops-wide { grid-column: 1 / -1; }
:is(#ops-fields, #manual-job-fields, #inquiry-mail-fields) textarea { min-height: 70px; resize: vertical; }
:is(#ops-fields, #manual-job-fields, #inquiry-mail-fields) label:has([type="checkbox"]) { grid-template-columns: auto 1fr; justify-items: start; align-self: end; padding: 10px 0; }
.ops-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.ops-actions .back { margin: 0; }
.ops-actions [data-ops-delete] { margin-inline-end: auto; }
@media (max-width: 480px) {
  :is(#ops-fields, #manual-job-fields, #inquiry-mail-fields) { grid-template-columns: 1fr; }
  .ops-table th, .ops-table td { padding: 9px 10px; }
}


.ops-header-controls { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
#ops-export { margin: 0; background: #000; border-color: #000; color: #fff; font-weight: 650; }
#ops-export:hover:not(:disabled) { background: #252525; border-color: #252525; }
.ops-export-options { border: 1px solid var(--line); border-radius: 9px; padding: 12px 16px; margin: 16px 0; }
.ops-export-options legend { padding: 0 5px; font-weight: 650; }
.ops-export-options label { display: flex; gap: 9px; align-items: center; padding: 5px 0; }
#ops-export-dialog h2 { margin: 0; }
#ops-export-status:empty { display: none; }
.ops-actions button:disabled, .ops-header-controls button:disabled { opacity: .55; cursor: default; }

.ops-billing-seller { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 218px), 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 10px; background: #fffdfa; margin: 14px 0 22px; }
.ops-billing-seller > div { padding: 11px 15px; }
.ops-billing-seller dt { font-size: 13px; color: #555f66; }
.ops-billing-seller dd { margin: 4px 0 0; font-weight: 650; overflow-wrap: anywhere; }

.complaint-fields label { display: grid; gap: 6px; font-size: 14px; }
#complaint-amount { width: 100%; border: 1px solid var(--line); border-radius: 7px; padding: 9px 11px; }
.complaint-edit { margin: 6px 0 0; white-space: nowrap; }
#complaint-status:empty { display: none; }
#complaint-status { color: #923b31; }

#stock-return-fields { display: grid; gap: 12px; }
#stock-return-fields input { width: 100%; border: 1px solid var(--line); border-radius: 7px; padding: 9px 11px; }
#stock-return-status:empty { display: none; }
#stock-return-all { margin-inline-end: auto; }

#account-modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 12px 0 18px; }
#account-modes button { padding: 10px 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: #17212a; font-weight: 600; }
#account-modes button[aria-pressed="true"] { background: #17212a; border-color: #17212a; color: #fff; }
#account-form button[type="submit"] { width: 100%; }

@media (max-width: 600px) {
  .admin-page .top:has(.brand-logo) {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 12px;
    padding: 10px 12px;
  }
  .admin-page .top .brand-logo { margin: 0; }
  .admin-page #admin-logout { margin: 0; min-height: 40px; }
  .admin-page .admin-main { padding-bottom: 32px; }
  .admin-page .admin-main h1 { font-size: clamp(28px, 8vw, 39px); }
  .admin-page :is(.admin-form input, .admin-toolbar input, .admin-toolbar select, .ops-header input, dialog input, dialog select, dialog textarea) { font-size: 16px; }
  .admin-page :is(.admin-toolbar, .ops-header-controls) { width: 100%; }
  .admin-page .admin-toolbar label { min-width: 0; }
  .admin-page #admin-orders, .admin-page .ops-scroll { max-width: 100%; }
  .admin-page dialog:modal { max-height: calc(100dvh - 24px); padding: 16px; }
}

@media (min-width: 1360px) {
  :root { --wide-page-width: min(1720px, calc(75vw + 220px)); }
  .admin-page .wrap, .legal-page > .top {
    width: max(min(1340px, calc(100% - 96px)), var(--wide-page-width));
  }
  .admin-page .admin-toolbar label:has(#admin-search) { flex: 1 1 260px; max-width: 460px; }
  .legal-page .legal { font-size: clamp(16px, .95vw, 18px); }
}


#order fieldset { min-width: 0; margin: 14px 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; }
#order legend { padding: 0 5px; font-weight: 650; }
#order .delivery-choice label { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; margin: 0; padding: 10px 0; }
#order .delivery-choice label + label { border-top: 1px solid var(--line); }
#order .delivery-choice input { width: auto; margin: 0; }
#order .delivery-choice strong { white-space: nowrap; }
#pickup-open { margin: 0; }
#pickup-summary { margin: 8px 0 0; font-size: 14px; overflow-wrap: anywhere; }
#pickup-dialog { width: min(950px, calc(100% - 24px)); }
#pickup-dialog iframe { width: 100%; height: min(560px, calc(100dvh - 145px)); border: 0; display: block; }


.transfer-details { margin-block: 16px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 8px; }
.transfer-details h3 { margin: 0 0 8px; }
.transfer-details dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 12px; margin: 0; }
.transfer-details dd { margin: 0; font-weight: 650; overflow-wrap: anywhere; }
#transfer-qr { margin: 16px 0 4px; }
#transfer-qr canvas { display: block; max-width: 100%; height: auto; border-radius: 4px; image-rendering: pixelated; }
#transfer-qr figcaption { margin-top: 8px; font-size: .875rem; }
#transfer-test { color: #923b31; }


#checkout-billing { margin: 16px 0; padding: 12px; border: 1px solid var(--line); border-radius: 8px; }
#checkout-billing summary { cursor: pointer; font-weight: 650; }
#checkout-billing summary small { margin-left: 4px; font-weight: 400; }
#checkout-billing p { font-size: 14px; }
#checkout-billing textarea { display: block; width: 100%; margin-top: 5px; padding: 9px; border: 1px solid var(--line); border-radius: 7px; font: inherit; color: inherit; resize: vertical; }
@media (max-width: 600px) { #checkout-billing textarea { font-size: 16px; } }

#manual-job-dialog { width: min(560px, calc(100% - 24px)); }
#manual-job-dialog h2 { margin: 0 0 18px; }
#manual-job-status { color: #923b31; }
#manual-job-result:empty, #manual-job-status:empty { display: none; }

#inquiry-mail-form { max-width: 720px; }
#inquiry-mail-history { overflow-x: auto; }
#inquiry-mail-history .admin-table { min-width: 640px; }
#inquiry-mail-status { margin-block: 12px 20px; }
.admin-mail-link { margin: 4px 0; }

.authority-checklist { padding-inline-start: 22px; line-height: 1.6; }
#authority-preview:empty, #authority-status:empty { display: none; }
#authority-preview { margin: 20px 0 26px; }
