:root{--line:var(--brand-border);--paper:var(--brand-panel);--ink:var(--brand-text);--muted:var(--brand-muted);--coral:var(--brand-primary);--green:#365d51;font-family:"Noto Sans TC","PingFang TC","Microsoft JhengHei",system-ui,sans-serif;color:var(--ink);background:var(--brand-background)}
*{box-sizing:border-box}body{margin:0}body.editing{background:radial-gradient(ellipse at 50% 0,#fff8e9,#f3e1c9 150%);min-height:100vh}[hidden]{display:none!important}button,input,select{font:inherit;color:inherit}button,a,select,input{touch-action:manipulation}button,nav a,.homeActions a,.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;background:var(--paper);border:1px solid var(--line);border-radius:13px;padding:9px 14px;cursor:pointer;font-size:13px;font-weight:700;text-decoration:none;color:var(--ink);transition:background .18s,border-color .18s,transform .18s}button:hover,a.btn:hover,nav a:hover{border-color:var(--coral);background:#fff2df}button:disabled{opacity:.42;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,canvas:focus-visible{outline:3px solid var(--brand-ring);outline-offset:2px}
button.primary{background:linear-gradient(145deg,#eb8b68,#cf684e);color:white;border:1px solid #e8997d;box-shadow:0 7px 18px #be5c4236,inset 0 2px #ffffff4d;min-height:44px}button.primary:hover{transform:translateY(-1px)}button.current,nav a.current,.rail button.active,.active{color:#994b36;background:#ffe2d6;border-color:#efbca8}input,select{max-width:100%;background:white;border:1px solid var(--line);border-radius:10px;padding:8px}input[type=checkbox],input[type=range]{accent-color:var(--coral)}input[type=color]{width:100%;min-height:36px;padding:2px}a{color:#964e38}i{font-style:normal;display:inline-flex}.icon{display:block;width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round}h1,h2,h3,p{margin-top:0}
.top{position:absolute;z-index:3;left:50%;top:12px;transform:translateX(-50%);width:min(1200px,calc(100% - 36px));padding:10px 16px;min-height:76px;border-radius:24px;background:#fffdf8f5;box-shadow:0 8px 26px #704a2d24;display:flex;align-items:center;justify-content:space-between;gap:12px}.brand{background:none;border:0;padding:0;display:flex;gap:11px;text-align:left;line-height:1.4}.brand:hover{background:none}.mark{background:#ffccc0;border-radius:16px;padding:6px;display:grid;place-items:center;width:46px;height:46px}.mark img{width:100%;height:100%}.brand strong{display:block;font-size:17px;letter-spacing:.04em}.brand small{display:block;font-size:11px;color:#8a6e58}.brand small b{font-size:9px;letter-spacing:.06em}.top nav,.row,.homeActions{display:flex;align-items:center;gap:8px}.top nav button,.top nav a{min-height:42px}.hero{background:#f5dfc2 url(brand/creative-desk.webp) center/cover no-repeat}.heroInner{max-width:1260px;margin:auto;min-height:630px;display:grid;align-items:center;grid-template-columns:1fr 1fr;padding:110px 25px 30px;gap:20px}.copy{text-align:center}.kicker{color:#58402f;letter-spacing:.13em;font-size:14px;font-weight:800;transform:rotate(-3deg);margin-bottom:18px}.copy h1{font-size:clamp(38px,4.1vw,62px);line-height:1.34;color:#493122;text-shadow:0 2px #fff8;letter-spacing:.015em;margin-bottom:20px}.copy h1 span{display:block;color:#e87554}.intro{font-size:18px;line-height:1.85;font-weight:700}.direction{display:inline-flex;flex-direction:column;gap:3px;font-weight:700;color:#79543e;text-decoration:none;font-size:14px}.direction span{font-size:24px;color:var(--coral)}.showcase{display:grid;place-items:center}.steps{background:#fbe1d7;border-block:1px solid #efcbbd;padding:34px 24px}.steps h2,#formats h2{text-align:center;font-size:clamp(22px,2.2vw,29px);margin-bottom:26px}.stepsRow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));max-width:1200px;margin:auto;gap:15px}.stepsRow article{display:flex;gap:14px;align-items:flex-start;padding:0 14px}.stepsRow article+article{border-left:1px solid #dbad9c}.stepsRow i{padding:13px;border-radius:17px;color:#b45e48;background:#fff5eb}.stepsRow .icon{width:27px;height:27px}.stepsRow small,.cardCaption small{font-size:10px;font-weight:800;letter-spacing:.12em;color:#a75a45}.stepsRow h3{margin:3px 0 6px;font-size:20px}.stepsRow p{font-size:13px;line-height:1.65;margin:0}
#formats{max-width:1180px;margin:auto;padding:40px 24px;scroll-margin-top:12px}.formats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.format{min-width:0;text-align:left;justify-content:flex-start;gap:16px;padding:13px 15px;border-radius:19px;background:#fffdf8;box-shadow:0 4px 15px #5b41270c}.thumb{flex:0 0 94px;height:98px;display:grid;place-items:center;border-radius:12px;background:#f5e9dc}.miniPaper{height:78px;max-width:95%;border:2px solid #fff;border-radius:3px;background-color:#e0eddb;background-image:linear-gradient(90deg,#fff5 50%,transparent 50%),linear-gradient(#fff5 50%,transparent 50%);background-size:9px 9px;display:flex;align-items:center;justify-content:center;box-shadow:1px 3px 6px #70523d33;transform:rotate(-7deg)}.miniPaper img{width:84%;height:72%;object-fit:contain}.cardCaption strong,.cardCaption span,.cardCaption small{display:block}.cardCaption strong{font-size:21px}.cardCaption span{color:var(--muted);font-size:13px;margin:4px 0}.cardCaption small{letter-spacing:0}.format .arrow{margin-left:auto;color:var(--coral)}.homeActions{justify-content:center;flex-wrap:wrap;margin-top:22px}footer,.footnote{padding:18px;text-align:center;color:var(--muted);font-size:12px}footer{border-top:1px solid var(--line)}footer span{font-size:10px;letter-spacing:.1em}
.editing .top{position:relative;top:0;left:auto;transform:none;margin:12px auto 0;width:calc(100% - 32px);max-width:1520px}.editorNav #saveStatus{font-size:11px;color:var(--muted)}#editor{max-width:1552px;margin:auto;padding:0 16px}.projectBar{min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:8px}.projectBar input{background:#fffaf1;width:min(26vw,220px);font-weight:700}.projectBar button{min-height:37px}.projectBar #quality{background:#e4f1e9;color:#39604e}.projectBar #quality.warn{background:#ffebd3;color:#815022}.projectBar #quality.bad{background:#fde4e0;color:#a63431}.editorGrid{display:grid;grid-template-columns:86px minmax(0,1fr) 310px;border-radius:24px;border:1px solid #ead9c4;overflow:hidden;box-shadow:0 10px 30px #5b41270f;background:var(--paper);min-height:560px}.rail{background:var(--paper);padding:14px 7px;border-right:1px solid var(--line);display:flex;flex-direction:column;gap:7px}.rail button{flex-direction:column;gap:7px;border:0;background:transparent;color:#865f47;font-size:11px;padding:10px 3px;min-height:60px}.rail button.active,.rail button:hover{background:#ffe4d6;color:#ac543b}.workspace{min-width:0;display:flex;flex-direction:column;background:#eeede9;background-image:radial-gradient(#d9d7d0 .65px,transparent .65px);background-size:16px 16px}.sheetMeta,.canvasControls{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:13px 20px;font-size:12px;color:#795f4e}.sheetMeta{font-size:11px;font-weight:750;letter-spacing:.05em}.stage{height:clamp(390px,58vh,680px);min-width:0;overflow:auto;display:flex;padding:18px 25px}.stage #paper{margin:auto;position:relative;flex:none;background:repeating-conic-gradient(#fff 0 25%,#ecece8 0 50%) 0 0/14px 14px;box-shadow:0 12px 32px #5c483522}.stage canvas{display:block;touch-action:none;user-select:none}.stage #empty{position:absolute;inset:0;display:flex;pointer-events:none;align-items:center;justify-content:center;flex-direction:column;color:#846d59;font-size:14px;font-weight:700;text-align:center}.stage #empty b{font-size:30px;color:#c68868}.stage #empty small{margin-top:6px;font-size:10px}.canvasControls{background:var(--paper);border-top:1px solid var(--line);margin-top:auto;flex-wrap:wrap;justify-content:center;font-size:12px}.canvasControls label{display:flex;align-items:center;min-height:32px}.canvasControls select{font-size:12px}.inspector{background:var(--brand-surface);border-left:1px solid var(--line);min-width:0;max-height:calc(clamp(390px,58vh,680px) + 112px);overflow:auto}.panelHead,.dialogHead{display:flex;align-items:center;justify-content:space-between;gap:8px}.panelHead{padding:15px 18px;background:#fff7e9;border-bottom:1px solid var(--line)}.panelHead h2{font-size:17px;margin:0;border-left:4px solid var(--coral);padding-left:9px}#fold{display:none}#panel{padding:16px}.field{display:flex;flex-direction:column;gap:4px;margin:7px 0;font-size:12px;font-weight:700;color:#715845}.field input,.field select{width:100%;font-size:14px}.twocol{display:grid;grid-template-columns:1fr 1fr;gap:0 8px}.tools{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0}.tools button{flex:1 0 auto;font-size:12px;padding:8px}.full{width:100%;margin:4px 0}.tip,.reviewRow,.emptyCard{border-radius:13px;font-size:12px;line-height:1.7;padding:10px 12px}.tip{background:#e6f1ea;color:#365d51}.emptyCard{text-align:center;padding:24px 12px;border:1px dashed #ddb999;background:#fff9ee;color:#88684c}.emptyCard .icon{width:30px;height:30px;margin:0 auto 8px;color:var(--coral)}#panel h3{font-size:14px;margin:16px 0 7px}#panel p,dialog p{font-size:13px;line-height:1.75}.layer{width:100%;justify-content:flex-start;margin:2px 0;text-align:left}.layer span{overflow-wrap:anywhere}.layer img{width:27px;height:27px;object-fit:contain}.reviewRow{background:#edf4ee;color:#355c49;margin:6px 0;overflow-wrap:anywhere}.reviewRow.near{background:#fff1d9;color:#80531f}.reviewRow.bad{background:#ffebe8;color:#993831}.reviewRow b{display:block}.footnote{display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left}.footnote button{white-space:nowrap}.miniPreview{max-width:100%;max-height:205px;display:block;margin:8px auto;border:1px solid var(--line)}dialog{border:1px solid var(--line);border-radius:22px;background:var(--brand-surface);color:var(--ink);padding:20px;max-width:min(470px,94vw);width:100%;max-height:85vh;box-shadow:var(--brand-shadow)}dialog::backdrop{background:#43332165}.dialogHead h2{font-size:21px;margin:0}.dialogHead{margin-bottom:13px}.x{width:36px;height:36px;font-size:22px;padding:0}dialog label.confirm{display:flex;gap:8px;align-items:flex-start;font-size:13px;line-height:1.6;margin:12px 0}dialog .reviewList{max-height:28vh;overflow:auto}#toast,#busy{position:fixed;z-index:20;background:#513d2f;color:white;border-radius:14px;padding:12px 18px;box-shadow:var(--brand-shadow);font-size:13px;max-width:90vw}#toast{bottom:22px;left:50%;transform:translateX(-50%)}#busy{inset:0;margin:auto;width:fit-content;height:fit-content;pointer-events:auto}body.working{cursor:progress}body.working>header,body.working>main{pointer-events:none}
@media(max-width:1050px){.editorGrid{grid-template-columns:72px minmax(0,1fr) 270px}.format{padding:10px;gap:9px}.thumb{flex-basis:70px}.top nav button,.top nav a{padding:8px 10px}}
@media(max-width:760px){.top{width:calc(100% - 20px);min-height:0;flex-direction:column;gap:7px;padding:9px 6px;top:7px;border-radius:18px}.brand strong{font-size:15px}.brand small{font-size:10px}.mark{width:37px;height:37px;border-radius:12px}.homeNav{flex-wrap:wrap;justify-content:center}.top nav button,.top nav a{font-size:11px;min-height:34px;padding:6px 8px}.heroInner{min-height:0;padding:146px 14px 30px;display:flex;flex-direction:column;gap:16px}.hero{background-position:46% center}.kicker{font-size:12px;margin-bottom:10px}.copy h1{font-size:clamp(34px,8vw,45px);margin-bottom:10px}.intro{font-size:15px;margin-bottom:9px}.direction{font-size:12px;flex-direction:row;align-items:center;gap:6px}.showcase{width:100%}.steps{padding:22px 16px}.steps h2{font-size:19px;margin-bottom:16px}.stepsRow{gap:10px;max-width:430px;grid-template-columns:1fr}.stepsRow article{padding:0;align-items:center}.stepsRow article+article{border:0}.stepsRow h3{font-size:16px;margin:0}.stepsRow p{font-size:12px}.stepsRow i{padding:9px}.stepsRow .icon{width:21px;height:21px}#formats{padding:25px 12px}.formats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.format{flex-direction:column;text-align:center;gap:5px}.thumb{width:100%;height:88px;flex:auto}.miniPaper{height:70px}.cardCaption strong{font-size:17px}.cardCaption span{margin:2px 0}.format .arrow{display:none}.homeActions button{font-size:12px}.editing .top{width:calc(100% - 12px);margin:6px auto;flex-direction:row;padding:8px;gap:3px}.editorNav{gap:4px!important}.editorNav #saveStatus{display:none}.editing .brand small b{display:none}#editor{padding:0 6px 75px}.projectBar{min-height:52px;gap:3px}.projectBar .row{gap:3px}.projectBar input{font-size:12px;width:25vw}.projectBar button{font-size:11px;padding:5px 7px}.editorGrid{display:flex;flex-direction:column;min-height:0;border-radius:17px}.stage{height:clamp(260px,45svh,430px);padding:12px}.sheetMeta{padding:10px;font-size:10px}.canvasControls{padding:4px;gap:4px;font-size:11px}.canvasControls select{font-size:11px;padding:5px}.rail{position:fixed;bottom:0;left:0;right:0;z-index:4;flex-direction:row;gap:0;border-top:1px solid var(--line);padding:3px 2px max(3px,env(safe-area-inset-bottom));box-shadow:0 -4px 14px #5b412712}.rail button{width:20%;padding:5px 1px;min-height:52px;font-size:10px;gap:4px}.rail .icon{width:18px;height:18px}.inspector{border:0;max-height:none}.panelHead{padding:8px 12px}.panelHead h2{font-size:15px}#fold{display:flex;font-size:11px;padding:6px 9px}#panel{padding:12px}.footnote{padding:10px 3px;font-size:10px}.footnote button{font-size:10px;padding:6px}#toast{bottom:76px;width:max-content}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

@media(min-width:761px) and (max-width:900px){.stepsRow{grid-template-columns:1fr;max-width:560px}.stepsRow article{padding:9px 0}.stepsRow article+article{border-left:0;border-top:1px solid #dbad9c}}
/* Preserve the supplied sheet outline and the original desk visible behind it. */


.miniPaper{position:relative}.foldMark{width:48%;height:38%;border:1px dashed #74a68b;border-radius:3px;background:#fff9}
#dialog:has(.printGuide){width:min(1030px,94vw);max-width:94vw;max-height:92vh;max-height:92dvh;padding:0;overscroll-behavior:contain}
#dialog:has(.printGuide) .dialogHead{position:sticky;top:0;z-index:1;margin:0;padding:14px clamp(14px,3vw,30px);background:#fffaf2;border-bottom:1px solid var(--line)}
.printGuide{padding:clamp(12px,2.4vw,26px);background:#fff8ed}
.guideCards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.guideCards>article,.guideRules>li{min-width:0;padding:clamp(12px,1.6vw,20px);border:1px solid #ead8c6;border-radius:17px;background:#fffdfa}
.guideServices h3{color:#82472e;font-size:clamp(18px,2vw,22px);line-height:1.4;margin:0 0 10px}
.printGuide p{font-size:15px;line-height:1.65;margin:8px 0 0}
.guideServices details{margin-top:8px;border-top:1px solid #efded0}
.guideServices summary{padding:10px 0 2px;font-size:14px;font-weight:700;color:#864b35;cursor:pointer}
.guideServices details[open] summary{padding-bottom:3px}
.guideThumb{position:relative;width:100%;min-width:0;display:block;background:#fff7ea;padding:0;overflow:hidden;border:0;border-radius:10px;cursor:zoom-in}
.guideThumb img{display:block;width:100%;height:auto}
.guideThumb span{display:grid;place-items:center;position:absolute;right:4px;bottom:4px;width:23px;height:23px;background:#fffaf5ec;color:#714732;border-radius:50%;box-shadow:0 0 0 1px #8b66543b}
#guideRulesTitle{font-size:21px;margin:24px 0 3px}
.guideLegend{display:flex;align-items:center;gap:14px;color:#755742}
.printGuide .guideLegend{margin:0 0 10px;font-size:13px}
.guideLegend span{display:inline-flex;align-items:center;gap:5px}
.guideLegend span:first-child:before{content:"";width:18px;border-top:2px solid #dc477c}
.guideLegend span:last-child:before{content:"↔";font-size:17px;font-weight:700;color:#286984}
.guideRules{list-style:none;padding:0;margin:0}
.ruleHead{display:flex;align-items:baseline;gap:8px;margin-bottom:9px}
.ruleNumber{font-size:14px;font-weight:750;color:#a64e32}
.ruleHead h4{font-size:18px;line-height:1.4;margin:0}
.ruleValue{display:block;color:#245e73;font-size:18px;margin-top:9px;line-height:1.25}
.guideRules li>p{margin:4px 0 0}
.guideRules .colorNote{color:#87523d;font-size:14px}
.guideFooter{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:16px}
.guideFooter p{margin:0;color:#715b49}
.guideFooter a{flex-shrink:0}
@media(max-width:700px){
  #dialog:has(.printGuide){width:calc(100% - 16px);max-width:calc(100% - 16px);max-height:94dvh}
  #dialog:has(.printGuide) .dialogHead{padding:10px 14px}
  #dialog:has(.printGuide) .dialogHead h2{font-size:19px}
  #dialog:has(.printGuide) .dialogHead .x,.zoomBar button{min-width:44px;min-height:44px}
  .guideCards{grid-template-columns:minmax(0,1fr);gap:10px}
  .guideServices summary{min-height:44px}.guideFooter{align-items:stretch;flex-direction:column}
}
#guideZoom{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;border:0;border-radius:0;padding:0;background:#42382e;color:white;overflow:hidden}
#guideZoom[open]{display:flex;flex-direction:column}.zoomBar{display:flex;align-items:center;justify-content:space-between;padding:8px max(12px,env(safe-area-inset-right)) 8px max(12px,env(safe-area-inset-left));gap:8px;background:#302923}.zoomBar div{display:flex;gap:4px}.zoomBar button{min-width:42px;min-height:42px;padding:5px;color:#543e32}
.guideStage{position:relative;flex:1;min-height:0;overflow:hidden;touch-action:none;user-select:none;cursor:grab}.guideStage.dragging{cursor:grabbing}.guideStage img{position:absolute;left:50%;top:50%;max-width:none;pointer-events:none}
@media(max-width:760px){.rail button{flex:1;min-width:0}.zoomBar strong{font-size:14px}}
.editorGrid{min-height:0}.workspace{min-height:0}.stage{display:block;position:relative;overflow:hidden;padding:0;touch-action:none;height:clamp(330px,calc(100dvh - 256px),1100px)}#plane{display:grid;place-items:center}.stage #paper{margin:0}.inspector{max-height:calc(clamp(330px,100dvh - 256px,1100px) + 100px)}
.stage.hand,.stage.hand canvas{cursor:grab}.stage.panning,.stage.panning canvas{cursor:grabbing}
.canvasControls{gap:6px;padding:6px 8px;flex-shrink:0}#viewTools{display:flex;align-items:center;gap:3px;border-left:1px solid var(--line);padding-left:7px}#viewTools button{font-size:12px;min-height:34px;padding:4px 9px}#viewTools [aria-pressed=true]{background:#ffe2d6;border-color:#e7ab95}
.zoomEntry{background:white;border:1px solid var(--line);border-radius:9px;padding:2px 6px;font-weight:700}.zoomEntry input{appearance:textfield;width:35px;padding:3px 0;border:0;text-align:right;background:transparent}.zoomEntry input::-webkit-inner-spin-button{appearance:none}
@media(max-width:760px){.stage{height:clamp(275px,54dvh,550px)}.inspector{max-height:none}#viewTools{padding:0;border:0;justify-content:center;width:100%}#viewTools button{min-height:36px}}
#aiDialog{width:min(720px,94vw);max-width:94vw}#aiDialog progress{width:100%;accent-color:var(--coral)}.compare{display:grid;grid-template-columns:1fr 1fr;gap:10px}.compare figure{margin:0;min-width:0}.compare figcaption{font-size:13px;color:var(--muted);margin:5px 0}.compare img{width:100%;height:clamp(120px,32vh,320px);object-fit:contain;border-radius:12px;background:repeating-conic-gradient(#fff 0 25%,#e7e4df 0 50%) 0 0/16px 16px}
.shapeChoices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.shapeChoices button{display:flex;flex-direction:column;gap:2px;min-height:68px}.shapeChoices canvas{width:48px;height:35px}
@media(max-width:760px){.rail button{width:16.666%}}
.gridSetting{position:relative;display:inline-flex;align-items:center}
#gridInfo{font-size:15px;width:25px;min-height:30px;border:0;padding:0;background:transparent;color:#84573f}
.gridHint{position:absolute;z-index:2;left:50%;bottom:100%;transform:translateX(-50%);width:14em;text-align:center;line-height:1.6;padding:6px 9px;background:#684d3e;color:white;border-radius:8px;box-shadow:var(--brand-shadow)}
#appBrowserNotice{margin:auto;width:min(445px,calc(100% - 24px));max-height:calc(100dvh - 28px);overflow:auto;overscroll-behavior:contain}
#appBrowserNotice:not([open]){display:none}
#appBrowserNotice h2{font-size:clamp(18px,4vw,22px);margin:0 0 12px;line-height:1.4}
#appBrowserNotice p,#appBrowserNotice ul{font-size:14px;line-height:1.65}
#appBrowserNotice ul{padding-inline-start:20px;margin:10px 0 3px}
#appBrowserNotice li+li{margin-top:6px}
#appBrowserNotice small{color:var(--muted);font-size:12px}
#appBrowserNotice .backupNote{padding:9px 12px;background:#f4ecdf;border-radius:10px;margin:12px 0}
#noticeProject{margin-top:5px}
#copyFeedback:empty{display:none}
.noticeActions,.editorService{display:flex;gap:6px;flex-wrap:wrap}.noticeActions{justify-content:flex-end}
.copy h1{white-space:nowrap}
@media(max-width:359px){.copy h1{font-size:clamp(28px,9.2vw,33px)}.heroInner{padding-top:158px}}
.copy h1{line-height:1.46}
@media(max-width:760px){.top nav.homeNav{gap:4px}.top .homeNav a,.top .homeNav button{padding-inline:6px}}
.guideSettings{position:relative}.guideSettings summary{cursor:pointer;padding:6px;font-size:12px}.guideSettings>div{position:absolute;bottom:100%;left:0;width:180px;padding:10px;border-radius:12px;border:1px solid var(--line);background:var(--paper);z-index:3;box-shadow:var(--brand-shadow)}
#retouch{width:min(920px,96vw);max-width:96vw;max-height:96dvh;padding:14px}#retouch h2{margin:0}.retTools,.retSize{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:7px 0}.retTools [aria-pressed=true]{background:#ffe2d6;border-color:#cb846a}.retSize{font-size:13px}.retView{height:clamp(200px,48dvh,600px);overflow:auto;touch-action:none;background:#e4ded6;border-radius:9px}.retPlane{display:grid;place-items:center}.retImage{position:relative;overflow:hidden;background:repeating-conic-gradient(#fff 0 25%,#ddd 0 50%) 0 0 / 16px 16px}.retImage canvas{display:block;user-select:none;touch-action:none}.retCursor{position:absolute;border-radius:50%;border:1px solid white;box-shadow:0 0 0 1px #453529;transform:translate(-50%,-50%);pointer-events:none}.retStatus{margin:6px 0}

.stepsRow h3 a,footer a{color:inherit;text-decoration:underline;text-decoration-color:#b78770;text-underline-offset:3px}
.stepsRow h3 a:hover,footer a:hover{color:var(--coral)}
@media(min-width:680px) and (max-width:1050px){.stepsRow{grid-template-columns:repeat(2,minmax(0,1fr));max-width:820px;gap:20px 10px}.stepsRow article{padding:0 10px}.stepsRow article+article{border:0}.stepsRow article:nth-child(2n){border-left:1px solid #dbad9c}}
.postDownload{padding:12px 14px;border:1px solid #e6cbb7;border-radius:14px;background:#fff3e8}.postDownload p{margin:2px 0 9px}.postDownload .orderLink{display:flex;align-items:center;justify-content:center;min-height:44px;background:#b8543d;color:#fff;border-radius:12px;font-weight:800;text-decoration:none}.postDownload .orderLink:hover{background:#994730}


/* The order links and design-size cards are independent entry points. */
.shopPanel{
  margin-top:22px;padding:clamp(16px,2.1vw,25px);border:1px solid #eec4b1;border-radius:var(--brand-radius);
  background:linear-gradient(125deg,#fff0e3,#ffe2d7 62%,#ffede5);box-shadow:inset 0 1px #fff9;
}
.shopIntro{display:flex;align-items:center;flex-wrap:wrap;gap:8px 22px;margin-bottom:15px}
.shopIntro h3{margin:0;font-size:clamp(18px,1.75vw,23px);color:#694133;line-height:1.45}
.shopIntro p{margin:0;color:#705447;font-size:14px;line-height:1.55}
.shopSizes{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.shopSizes a{
  display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:8px 7px;
  color:#BC654E;background:#FFF0E8;border:1px solid #EDC3B2;border-radius:14px;
  font-size:15px;font-weight:750;line-height:1.35;text-decoration:none;
}
.shopSizes a::after{content:"";width:6px;height:6px;border:solid currentColor;border-width:1.7px 1.7px 0 0;transform:rotate(45deg)}
.shopSizes a:hover,.shopSizes a:focus-visible{background:#F8D5C6;color:#944B38}
.editorNav .projectActions{display:flex;align-items:center;gap:8px}
.editorNav .icon{width:17px;height:17px;flex:none}
#projectMenu{display:none;position:relative}
#projectMenu summary{
  display:flex;align-items:center;justify-content:center;gap:5px;padding:6px 8px;min-height:36px;
  border:1px solid var(--line);border-radius:13px;background:var(--paper);cursor:pointer;font-size:12px;font-weight:700;
}
#projectMenu summary::-webkit-details-marker{display:none}
#projectMenu summary::after{content:"";width:5px;height:5px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(45deg);margin-top:-3px}
#projectMenu[open] summary::after{transform:rotate(225deg);margin-top:3px}
#projectMenu summary:focus-visible{outline:3px solid var(--brand-ring);outline-offset:2px}
.projectChoices{
  position:absolute;z-index:4;top:calc(100% + 5px);right:0;display:grid;gap:3px;min-width:129px;
  padding:5px;background:var(--brand-surface);border:1px solid var(--line);border-radius:15px;box-shadow:var(--brand-shadow);
}
#projectMenu .projectChoices button{justify-content:flex-start;white-space:nowrap;border:0;min-height:44px;padding:8px 12px;font-size:14px}
@media(max-width:1000px){.shopSizes{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){
  .editorNav .projectActions{display:none}
  #projectMenu{display:block}
  .editing .top{flex-wrap:wrap}
}
@media(max-width:600px){
  .shopSizes{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .shopIntro{display:block}.shopIntro p{margin-top:6px}
}
@media(max-width:420px){.projectChoices{left:0;right:auto}}

.heroActions{display:flex;flex-direction:column;align-items:center;gap:12px}
.tutorialLink{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;max-width:100%;min-height:48px;
  padding:12px 22px;border:1px solid #E8BEAA;border-radius:24px;background:#FFF8F2;color:#A95D48;
  font-size:15px;font-weight:700;line-height:1.5;text-decoration:none;transition:background .18s;
}
.tutorialLink .icon{width:20px;height:20px;flex:none}
.tutorialLink:hover,.tutorialLink:focus-visible{background:#F9E0D4}

/* The supplied cutout keeps its natural angle and reaches the desk edge. */
.handShowcase{width:min(100%,540px);justify-self:end;align-self:end;margin-bottom:-30px}
.handProduct{display:block;width:100%;height:auto;aspect-ratio:1196 / 1159;object-fit:contain}
@media(max-width:760px){.handShowcase{width:min(100%,390px);align-self:flex-end;margin-right:-14px}}
