:root{--paper:#f2ebdd;--card:#faf7f0;--ink:#332a25;--muted:#796b60;--line:#d1c5b6;--accent:#e85220}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:"Noto Sans TC","PingFang TC","Microsoft JhengHei",sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer;border:1px solid var(--line);background:transparent;color:var(--ink);padding:11px 16px;border-radius:5px}button:disabled{opacity:.5;cursor:wait}.primary{background:var(--accent);border-color:var(--accent);color:#241b16;font-weight:750}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.page{max-width:1240px;margin:auto;padding:44px 32px}.hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:0 0 32px;border-bottom:2px solid var(--ink)}.hero-brand{display:flex;align-items:center;gap:24px}.hero img{width:94px;height:94px;object-fit:contain}.eyebrow{font-size:11px;letter-spacing:.18em;margin:0 0 12px}.hero h1{font-size:30px;letter-spacing:.08em;margin:0 0 12px}.tagline{font-size:13px;color:var(--muted);margin:0}.edition{text-align:right;font-size:12px;line-height:1.8;white-space:nowrap}.edition strong{display:block;font-weight:500}.tools{display:grid;grid-template-columns:2fr 1fr 1.3fr auto;gap:14px;align-items:end;padding:26px 0}.tools label{display:grid;gap:8px;font-size:12px;color:var(--muted)}input,select{width:100%;background:var(--card);border:1px solid var(--line);border-radius:4px;padding:12px;color:var(--ink);font-size:15px;min-width:0}.modes{display:flex;gap:8px;border-bottom:1px solid var(--line);padding:0 0 20px}.modes button{font-size:13px}.modes button[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:#fff}.summary{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--muted);margin:10px 0}.text-button{border:0;text-decoration:underline;text-underline-offset:4px;font-size:12px;padding:8px}.status{font-size:12px;line-height:1.8;color:var(--muted)}.brand-section{margin:28px 0 44px}.brand-head{display:flex;align-items:center;gap:24px;min-height:96px;border-top:2px solid var(--ink);border-bottom:1px solid var(--line);padding:14px 12px}.brand-head img{width:150px;height:60px;object-fit:contain}.brand-head h2{font-size:16px;font-weight:650;letter-spacing:.05em}.category-section{margin:20px 0 28px}.category-head{display:flex;align-items:baseline;gap:14px;margin:0;padding:9px 12px;background:#e9dfd0;border-bottom:1px solid var(--line)}.category-head h3{font-size:15px;margin:0}.category-head span{font-size:10px;color:var(--muted)}table{width:100%;border-collapse:collapse;table-layout:fixed}th,td{text-align:left;border-bottom:1px solid var(--line);padding:13px 12px;font-size:13px;line-height:1.7;vertical-align:middle}th{font-size:11px;color:var(--muted);font-weight:500}.col-name{width:38%}.col-price{width:21%}.col-moq{width:12%}.col-copy{width:8%}.num{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.moq{text-align:center}.item-copy{font-size:11px;padding:5px 8px}.mobile-card{display:none}.empty{padding:60px 20px;text-align:center;border:1px solid var(--line);color:var(--muted)}.notes{border-top:2px solid var(--ink);padding:20px 0}.notes details{border-bottom:1px solid var(--line);padding:14px 0}.notes summary{cursor:pointer;font-size:14px;font-weight:650}.note-body{white-space:pre-wrap;font-size:13px;line-height:1.9;margin:14px 0;color:var(--muted)}.footer{border-top:1px solid var(--line);margin:30px 0 0;padding:24px 0;display:flex;justify-content:space-between;gap:15px;font-size:11px;color:var(--muted)}dialog{width:min(960px,94vw);max-height:90dvh;border:1px solid var(--line);border-radius:6px;background:var(--paper);color:var(--ink);padding:24px}dialog::backdrop{background:#332a2580}.dialog-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}dialog h2{margin:0 0 10px;font-size:20px}dialog p{font-size:13px;color:var(--muted)}.export-pages{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:18px;margin-top:20px}.export-page{border:1px solid var(--line);padding:10px}.export-page img{width:100%;height:auto;border:1px solid var(--line)}.export-page a{display:block;color:var(--ink);font-size:13px;padding:10px 0;text-align:center}#copy-text{width:100%;height:45vh;padding:14px;background:var(--card);color:var(--ink);line-height:1.8;border:1px solid var(--line)}.a4-stage{position:fixed;left:-10000px;top:0;width:794px}.a4-sheet{width:794px;height:1123px;background:var(--paper);padding:40px 42px;display:flex;flex-direction:column;overflow:hidden;position:relative}.a4-header{height:88px;flex:none;border-bottom:2px solid var(--ink);display:flex;align-items:center;gap:18px;padding-bottom:16px}.a4-header img{width:60px;height:60px;object-fit:contain}.a4-header h1{font-size:21px;margin:0 0 5px}.a4-header p{font-size:10px;margin:0;color:var(--muted)}.a4-body{height:910px;flex:none;overflow:visible;padding-top:14px}.a4-footer{font-size:10px;display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:12px;margin-top:auto}.a4-group{margin:0 0 15px}.a4-group h2{font-size:12px;margin:0;padding:8px 6px;background:#e9dfd0;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:10px}.a4-group h2 img{width:70px;height:25px;object-fit:contain}.a4-sheet th,.a4-sheet td{font-size:10px;padding:8px 6px;line-height:1.55}.a4-sheet .col-name{width:40%}.a4-sheet .col-price{width:24%}.a4-sheet .col-moq{width:12%}.a4-note h2{font-size:14px;margin:8px 0}.a4-note p{font-size:11px;line-height:1.85;white-space:pre-wrap;margin:0 0 11px}.a4-note p.continued{margin-top:0}@media(max-width:720px){.page{padding:24px 18px}.hero{align-items:flex-start;gap:12px;flex-direction:column;padding-bottom:24px}.hero-brand{gap:15px}.hero img{width:64px;height:64px}.hero h1{font-size:23px}.eyebrow{font-size:9px;letter-spacing:.12em}.edition{text-align:left;display:flex;gap:12px;flex-wrap:wrap}.tools{grid-template-columns:1fr 1fr;gap:12px}.tools label:first-child{grid-column:1/-1}.tools .primary{grid-column:1/-1}.modes{gap:6px}.modes button{padding:10px 12px;font-size:12px}.brand-head{gap:18px;padding:12px 4px}.brand-head img{width:120px;height:52px}.brand-head h2{font-size:12px}.category-head{padding:8px}.screen-table{display:none}.mobile-card{display:block;padding:16px 0;border-bottom:1px solid var(--line)}.card-title{font-size:15px;line-height:1.7;margin:0 0 12px}.card-prices{display:flex;gap:22px;flex-wrap:wrap}.card-prices span{display:block;font-size:11px;color:var(--muted);margin-bottom:5px}.card-prices strong{font-size:17px}.card-foot{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:var(--muted);margin-top:12px}.footer{flex-direction:column}dialog{padding:18px}.export-pages{grid-template-columns:1fr 1fr;gap:10px}}@media print{.tools,.modes,.summary,.status,.item-copy,.mobile-card{display:none}.screen-table{display:table}.page{padding:0}.category-section{break-inside:avoid}body{background:white}}
/* SYNC4 — material catalogue masthead */
.hero{display:block;padding:0 0 20px;border-bottom:1px solid var(--ink)}.hero-masthead{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:0 0 22px;border-bottom:1px solid var(--line)}.hero-identity{display:flex;align-items:center;gap:14px}.hero .hero-identity img{width:52px;height:52px;object-fit:contain}.hero-identity strong{display:block;font-size:16px;font-weight:650;letter-spacing:.18em}.hero-identity>div>span{display:block;margin-top:5px;font-size:10px;letter-spacing:.16em;color:var(--muted)}.hero .edition{text-align:right;display:block;font-size:10px;line-height:1.4}.hero .edition>span{display:block;letter-spacing:.13em;color:var(--muted)}.hero .edition strong{display:block;font-size:34px;letter-spacing:.035em;font-weight:400;line-height:1.1;margin-top:6px;font-variant-numeric:tabular-nums}.hero-main{display:grid;grid-template-columns:1.1fr 1fr;gap:40px;margin:32px 0 24px;align-items:stretch}.hero-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:7px 0 8px}.hero .eyebrow{font-size:9px;letter-spacing:.21em;margin:0 0 17px;color:var(--muted);display:flex;align-items:center;gap:10px}.hero .eyebrow:before{content:"";display:block;width:20px;height:2px;background:var(--accent)}.hero h1{font-size:58px;font-weight:620;line-height:1.22;letter-spacing:.055em;margin:0 0 21px}.hero h1>span{font-weight:400;letter-spacing:.085em}.hero .tagline{font-size:12px;letter-spacing:.14em;color:var(--muted);margin:0}.hero-surface{position:relative;min-height:246px;overflow:hidden;border:1px solid #cbbfaf;border-radius:2px;background:#ddd2c1}.hero .hero-surface>img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;object-position:50% 44%;display:block}.surface-caption{position:absolute;left:16px;right:16px;bottom:14px;display:flex;justify-content:space-between;gap:12px;align-items:center;border-top:1px solid #5c514a66;padding-top:9px;color:#44392f;font-size:9px;letter-spacing:.13em}.surface-caption>span:first-child{font-size:8px}.hero-bottom{display:flex;justify-content:space-between;gap:14px;font-size:9px;letter-spacing:.09em;color:var(--muted);line-height:1.7}.hero-bottom i{font-style:normal;padding:0 8px;color:#ad9b89}.a4-header{position:relative;padding-right:120px}.a4-header:after{content:"";position:absolute;right:0;top:0;width:105px;height:65px;background:url('/assets/mineral-plaster-hero.png') center/cover;border:1px solid var(--line);border-radius:1px}.a4-header p{font-size:9px;line-height:1.7}.a4-header>div{min-width:0}@media(max-width:900px){.hero-main{gap:28px}.hero h1{font-size:49px}.hero-surface{min-height:230px}.hero .edition strong{font-size:31px}}@media(max-width:720px){.hero{padding-bottom:15px}.hero-masthead{gap:12px;padding-bottom:17px}.hero .hero-identity img{width:43px;height:43px}.hero-identity{gap:9px}.hero-identity strong{font-size:12px;letter-spacing:.12em}.hero-identity>div>span{font-size:9px;margin-top:4px}.hero .edition>span{font-size:9px}.hero .edition strong{font-size:27px;margin-top:5px}.hero-main{grid-template-columns:1.15fr 1fr;gap:16px;margin:22px 0 17px}.hero .eyebrow{font-size:6px;letter-spacing:.12em;gap:6px;margin-bottom:13px;white-space:nowrap}.hero .eyebrow:before{width:12px}.hero h1{font-size:clamp(30px,8.5vw,43px);line-height:1.3;margin-bottom:17px;letter-spacing:.025em}.hero .tagline{font-size:9px;letter-spacing:.025em;white-space:nowrap}.hero-copy{padding:5px 0}.hero-surface{min-height:172px}.surface-caption{left:9px;right:9px;bottom:10px;padding-top:7px;font-size:8px;display:block}.surface-caption>span:first-child{display:none}.hero-bottom{font-size:8px;letter-spacing:0;gap:8px}.hero-bottom i{padding:0 3px}.hero-bottom>span:last-child{text-align:right}}@media(max-width:360px){.hero h1{font-size:29px}.hero .eyebrow{font-size:5px}.hero-main{gap:12px}.hero-identity strong{font-size:11px}.hero .tagline{font-size:8px}}

/* SYNC5: original front-page wording, mineral surface, per-item copy actions */
.hero.hero-classic{position:relative;display:flex;align-items:center;justify-content:space-between;gap:28px;padding:32px 28px;min-height:190px;background:linear-gradient(90deg,#f2ebdd 38%,#f2ebddbb 68%,#f2ebdd66),url('/assets/mineral-plaster-hero.png') right center/cover;border:1px solid var(--line);border-bottom:1px solid var(--ink)}.hero-classic-brand{display:flex;align-items:center;gap:28px;min-width:0}.hero.hero-classic img{width:104px;height:118px;object-fit:contain;flex:none}.hero-classic .hero-copy{border-left:1px solid #a79789;padding:18px 0 18px 28px}.hero-classic .eyebrow{font-size:11px;letter-spacing:.32em;margin:0 0 13px}.hero-classic .eyebrow:before{display:none}.hero.hero-classic h1{font-size:clamp(26px,3.5vw,43px);line-height:1.25;margin:0;letter-spacing:.03em}.hero.hero-classic .edition strong{font-size:24px;font-weight:600}.hero-classic .edition{position:relative}.copy-actions{display:flex;flex-direction:column;gap:5px}.copy-actions .item-copy{font-size:11px;padding:5px 7px;white-space:nowrap}.screen-table .col-name{width:31%}.screen-table .col-price{width:19%}.screen-table .col-moq{width:13%}.screen-table .col-copy{width:18%}@media(max-width:720px){.hero.hero-classic{padding:19px 14px;min-height:140px;gap:12px;flex-wrap:wrap}.hero-classic-brand{gap:13px}.hero.hero-classic img{width:60px;height:70px}.hero-classic .hero-copy{padding:9px 0 9px 13px}.hero-classic .eyebrow{font-size:8px;letter-spacing:.25em;margin-bottom:9px}.hero.hero-classic h1{font-size:clamp(20px,5.2vw,32px);letter-spacing:0}.hero.hero-classic .edition{margin-left:auto}.hero.hero-classic .edition strong{font-size:18px}.card-foot{align-items:flex-start;gap:12px;flex-direction:column}.card-foot .copy-actions{display:flex;flex-direction:row;flex-wrap:wrap;gap:7px}.card-foot .item-copy{padding:9px 10px;font-size:12px}}

/* SYNC6: equally sized price and MOQ columns, centered headers and values */
.screen-table .col-name{width:31%}.screen-table .col-copy{width:18%}.screen-table .col-price,.screen-table .col-moq{width:17%}.screen-table[data-price-mode="designer"] .col-price,.screen-table[data-price-mode="designer"] .col-moq,.screen-table[data-price-mode="customer"] .col-price,.screen-table[data-price-mode="customer"] .col-moq{width:25.5%}.screen-table th.num,.screen-table td.num,.screen-table th.moq,.screen-table td.moq{text-align:center;padding-left:10px;padding-right:10px}.screen-table th:last-child{text-align:center}.screen-table .copy-actions{width:100%}@media(max-width:720px){.card-prices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.card-prices>div{min-width:0}.card-prices strong{overflow-wrap:anywhere}.modes button{flex:1;min-width:0;padding-left:6px;padding-right:6px}}
