@charset "UTF-8";
:root{--ink:#252a26;--muted:#8a8d85;--gold:#ad8950;--gold-dark:#89662e;--gold-light:#f5efe3;--paper:#faf9f6;--line:#e8e8e0;--green:#62785f;--sans:"Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;--serif:"Noto Serif JP","Yu Mincho","Hiragino Mincho ProN",serif}
*{box-sizing:border-box}body{margin:0;background:#f3f3ee;color:var(--ink);font-family:var(--sans);font-size:13px;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button{border:0;background:transparent}button:disabled{cursor:default;opacity:.32}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #b88e4e;outline-offset:3px}button:hover:not(:disabled){filter:brightness(.97)}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}svg.flip{transform:rotate(180deg)}[hidden]{display:none!important}.icon-definitions{position:absolute;width:0;height:0;overflow:hidden}h1,h2,h3,p{margin:0}a{color:inherit;text-decoration:none}.app-header{height:86px;background:#fff;display:flex;align-items:center;padding:0 30px;gap:28px;border-bottom:1px solid var(--line);position:relative;z-index:5}.brand{display:flex;align-items:center;gap:12px;min-width:220px}.brand-mark{width:42px;height:42px;background:#252b25;border-radius:11px;color:#e0c58c;display:grid;place-items:center;box-shadow:0 3px 9px #2028200d}.brand-mark svg{width:24px;height:24px;stroke-width:1.2}.brand strong{display:block;font-family:var(--serif);font-size:23px;letter-spacing:.12em;line-height:1.25;font-weight:800}.brand small{font-size:8px;letter-spacing:.25em;color:var(--gold-dark);display:block;margin-top:5px}.document-heading{display:flex;align-items:center;gap:27px}.document-divider{width:1px;height:32px;background:var(--line)}.document-heading h1{font-size:14px;font-weight:650;margin-bottom:5px}.save-status{font-size:10px;color:var(--muted);display:flex;align-items:center;gap:5px}.save-status i,.status-dot{width:5px;height:5px;border-radius:50%;background:#809378;display:inline-block}.save-status.error{color:#b44134}.save-status.error i{background:#b44134}.header-actions{display:flex;gap:10px;align-items:center;margin-left:auto}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 15px;border-radius:7px;font-weight:650;white-space:nowrap;transition:background .15s,box-shadow .15s;font-size:12px}.button svg{width:16px;height:16px}.button.primary{background:#a68043;color:#fff;box-shadow:0 2px 3px #7051240d;border:1px solid #98733c}.button.primary:hover{background:#97703a}.button.outline{background:#fff;border:1px solid #dfdfd5}.button.quiet{background:transparent;color:#6f746b}.button.full{width:100%}.tiny{width:12px!important;height:12px!important}.menu-wrapper{position:relative}.dropdown{position:absolute;right:0;top:calc(100% + 10px);width:234px;background:#fff;padding:6px;border:1px solid var(--line);box-shadow:0 10px 34px #20282019;border-radius:9px;z-index:40}.dropdown button{display:flex;align-items:center;gap:10px;width:100%;padding:12px 10px;border-radius:5px;text-align:left;font-size:12px}.dropdown button:hover{background:var(--paper)}.dropdown svg{width:17px;height:17px}.dropdown hr{border:0;border-top:1px solid var(--line)}.danger-text{color:#ae4b3d!important}
.app-layout{display:grid;grid-template-columns:264px minmax(440px,1fr) 294px;min-height:calc(100dvh - 86px);height:calc(100dvh - 86px)}.settings-panel{background:var(--paper);border-right:1px solid var(--line);overflow-y:auto;padding:24px 21px 18px;scrollbar-width:thin;scrollbar-color:#dddcd3 transparent}.panel-intro{padding-bottom:22px}.eyebrow{color:var(--gold);font-size:8px;letter-spacing:.16em;font-weight:750}.panel-intro h2{font-family:var(--serif);font-size:22px;font-weight:700;letter-spacing:.035em;line-height:1.7;margin:10px 0}.panel-intro p{font-size:11px;line-height:1.9;color:#7e8178}.panel-section{border-top:1px solid var(--line);padding:21px 0}.panel-section h3{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:700;margin-bottom:15px}.step-number{font-size:9px;font-weight:700;letter-spacing:.05em;color:var(--gold);border:1px solid #ddcfb4;border-radius:50%;width:22px;height:22px;display:grid;place-items:center}.upload-area{width:100%;border:1px dashed #d2c4a9;background:#fffefb;border-radius:8px;display:flex;align-items:center;flex-direction:column;padding:20px 8px 16px;transition:background .15s,border-color .15s}.upload-area:hover{background:#f6f0e5;border-color:#ad8950}.upload-symbol{width:36px;height:36px;border-radius:10px;background:var(--gold-light);color:#a78348;display:grid;place-items:center;margin-bottom:10px}.upload-symbol svg{width:19px;height:19px}.upload-area strong{font-size:11px;font-weight:650}.upload-area>span:not(.upload-symbol){font-size:9px;color:#8d8b81;margin-top:5px}.upload-area small{font-size:8px;color:#aaa79c;margin-top:12px}.toggle-line{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-top:17px}.toggle-line label:not(.switch){font-size:10px;font-weight:600;line-height:1.5}.toggle-line .subtle{display:block;font-size:9px;color:#aaa99f;margin-top:4px}.switch{position:relative;width:30px;height:18px;display:inline-block;flex-shrink:0}.switch input{opacity:0;width:30px;height:18px;margin:0;position:absolute;z-index:1;cursor:pointer}.switch span{display:block;width:30px;height:18px;background:#d7d9d1;border-radius:12px;transition:background .15s}.switch span:after{content:"";position:absolute;top:3px;left:3px;width:12px;height:12px;background:#fff;border-radius:50%;box-shadow:0 1px 3px #0002;transition:transform .15s}.switch input:checked+span{background:#9d8253}.switch input:checked+span:after{transform:translateX(12px)}.switch input:focus-visible+span{outline:2px solid var(--gold);outline-offset:2px}.micro-note{font-size:9px;line-height:1.7;color:#9b9c91;margin-top:10px;display:flex;gap:4px;align-items:center}.micro-note svg{width:12px;height:12px;color:#b0996b}.layout-options{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.layout-option{display:flex;flex-direction:column;align-items:center;border:1px solid #e2e1d8;background:#fff;padding:10px 3px 8px;border-radius:6px;gap:5px}.layout-option.active{border-color:#ac8b54;box-shadow:0 0 0 1px #ac8b541a;background:#fbf7ee}.layout-option strong{font-size:9px;font-weight:600}.layout-option small{font-size:8px;color:#a4a397}.mini-grid{display:block;width:40px;height:25px;background:repeating-linear-gradient(90deg,transparent 0,transparent calc(100% / 6 - 2px),#fff calc(100% / 6 - 2px),#fff calc(100% / 6)),repeating-linear-gradient(0deg,#d9d8ce 0,#d9d8ce calc(100% / 4 - 2px),#fff calc(100% / 4 - 2px),#fff calc(100% / 4));border:1px solid #d9d8ce}.active .mini-grid{filter:sepia(.7)}.mini-grid.cols5{background:repeating-linear-gradient(90deg,transparent 0,transparent calc(100% / 5 - 2px),#fff calc(100% / 5 - 2px),#fff calc(100% / 5)),repeating-linear-gradient(0deg,#d9d8ce 0,#d9d8ce calc(100% / 3 - 2px),#fff calc(100% / 3 - 2px),#fff calc(100% / 3))}.mini-grid.cols4{background:repeating-linear-gradient(90deg,transparent 0,transparent calc(100% / 4 - 2px),#fff calc(100% / 4 - 2px),#fff calc(100% / 4)),repeating-linear-gradient(0deg,#d9d8ce 0,#d9d8ce calc(100% / 3 - 2px),#fff calc(100% / 3 - 2px),#fff calc(100% / 3))}.template-card{display:flex;align-items:center;gap:9px;margin-top:13px;background:#fff;border:1px solid #e7e3d8;border-radius:6px;padding:8px}.template-card img{width:39px;height:30px;object-fit:cover;border-radius:2px}.template-card strong{font-size:9px;display:block}.template-card span{font-size:8px;display:block;color:#9a9c91;margin-top:4px}.template-card>svg{width:13px;height:13px;margin-left:auto;color:#a18754}.compact{margin:0 0 12px}.field-line{display:flex;align-items:center;justify-content:space-between;font-size:10px;margin:15px 0}.color-options{display:flex;gap:9px;align-items:center}.color-dot{width:18px;height:18px;border:3px solid #fff;outline:1px solid #deded3;border-radius:50%}.color-dot.black{background:#20221e}.color-dot.red{background:#b92326}.color-dot.active{outline:2px solid #b2986c}.field-label{font-size:10px;font-weight:600;display:block;margin:12px 0 7px}.field-label span{font-weight:400;color:#a6a698;font-size:9px;margin-left:6px}.text-input{width:100%;padding:10px 11px;border:1px solid #dedfd7;border-radius:6px;background:#fff;color:#373c34;font-size:11px;line-height:1.5;min-width:0}.text-input::placeholder{color:#b0b1a6}.footer-input{font-size:9px}.local-note{display:flex;gap:9px;color:#969b8c;line-height:1.7;font-size:9px;margin-top:8px}.local-note svg{width:14px;height:14px;margin-top:1px}.local-note small{font-size:8px;color:#b0b0a5}
.workspace{background:#eeefe9;min-width:0;display:flex;flex-direction:column;position:relative;background-image:radial-gradient(#daddd3 0.65px,transparent .65px);background-size:14px 14px}.workspace-toolbar{height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 27px;flex-shrink:0;background:#f4f4efd9;border-bottom:1px solid #e3e5dc}.preview-title{display:flex;gap:9px;align-items:center}.preview-title>svg{width:15px;height:15px;color:#6a7162}.preview-title strong{font-size:11px;font-weight:650}.preview-title>span{border:1px solid #daddd1;border-radius:4px;color:#919787;font-size:8px;padding:3px 6px;margin-left:3px;background:#f7f8f1}.canvas-tools{display:flex;align-items:center;gap:4px}.icon-button{width:30px;height:30px;display:inline-grid;place-items:center;border-radius:5px;flex-shrink:0;color:#858a7b;padding:4px}.icon-button:hover{background:#e8e9e0}.icon-button svg{width:16px;height:16px}.icon-button.bordered{border:1px solid var(--line);background:#fff}.tool-divider{height:18px;width:1px;background:#dfe2d7;margin:0 8px}.zoom-select{border:0;background:transparent;color:#777f6b;font-size:10px;max-width:100px;padding:5px 0;cursor:pointer}.canvas-scroll{flex:1;overflow:auto;display:flex;align-items:safe center;justify-content:safe center;padding:38px 28px 23px;min-height:260px;min-width:0;scrollbar-width:thin;scrollbar-color:#c7ccbd transparent}.sheet-stage{width:100%;max-width:1200px;position:relative;box-shadow:0 14px 38px #303b251f,0 2px 6px #303b2517;background:#fff;flex-shrink:0;aspect-ratio:1.5}.sheet-stage canvas{width:100%;height:auto;display:block}.slot-overlay{position:absolute;inset:0;pointer-events:none}.slot-hit{position:absolute;border:1.5px solid transparent;border-radius:3px;pointer-events:auto;display:flex;align-items:center;justify-content:center;background:transparent;padding:0;transition:background .12s,border-color .12s}.slot-hit:hover{border-color:#b88b3d;background:#ad895008!important}.slot-hit.selected{border:2px solid #bf8c34;box-shadow:0 0 0 2px #fff9,0 0 0 4px #b88b3d55}.slot-hit.selected:after{content:"";width:6px;height:6px;border:1px solid white;background:#bf8c34;position:absolute;right:-4px;bottom:-4px}.slot-hit .slot-plus{width:20px;height:20px;border-radius:50%;background:#ac8b5412;display:grid;place-items:center;color:#b5a17b;font-size:16px;line-height:1}.slot-hit .slot-number{position:absolute;top:4px;left:5px;font-size:7px;line-height:1;background:#faf9f5da;color:#b1ac9d;border-radius:2px;padding:2px 3px;opacity:0}.slot-hit:hover .slot-number,.slot-hit.selected .slot-number{opacity:1}.slot-hit.empty-slot .slot-plus{opacity:0}.slot-hit.empty-slot:hover .slot-plus,.slot-hit.first-empty .slot-plus{opacity:1}.loading-sheet{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:10px;font-size:12px;background:#faf9f6}.workspace-bottom{display:flex;align-items:center;justify-content:space-between;padding:10px 26px 14px;gap:8px;background:#f3f4ede6;flex-shrink:0}.page-nav{display:flex;align-items:center;gap:8px;color:#858d77;font-size:9px;white-space:nowrap}.page-nav b{color:#525d44;font-size:11px}.page-nav .icon-button{width:24px;height:24px}.page-nav .icon-button svg{width:12px;height:12px}.canvas-dimensions{font-size:8px;color:#a1a693;letter-spacing:.02em;white-space:nowrap}.canvas-dimensions>span{margin:0 8px;color:#c5c8ba}.text-button{display:inline-flex;align-items:center;gap:3px;font-size:9px;color:#9b7e48;font-weight:550;padding:4px 0;white-space:nowrap}.text-button svg{width:12px;height:12px}.workspace-hint{display:flex;align-items:center;justify-content:center;gap:7px;border-top:1px solid #e0e3d6;padding:15px 18px;background:#f6f7f1d9;flex-shrink:0}.workspace-hint svg{width:13px;height:13px;color:#a5ad96}.workspace-hint p{color:#949c85;font-size:9px;line-height:1.7}
.products-panel{background:#fff;border-left:1px solid var(--line);display:flex;flex-direction:column;min-height:0;overflow:hidden}.products-header{padding:26px 20px 18px;display:flex;align-items:center;justify-content:space-between}.products-header .eyebrow{font-size:8px;letter-spacing:.14em}.products-header h2{font-size:13px;font-weight:650;margin-top:10px;display:flex;gap:9px;align-items:center}.products-header h2>span{background:#f0f0e9;padding:3px 6px;border-radius:4px;font-size:9px;color:#999c8d;min-width:20px;text-align:center}.products-header .icon-button{width:28px;height:28px}.products-topline{display:flex;align-items:center;justify-content:space-between;padding:0 19px 13px;border-bottom:1px solid #f0f0e9;gap:5px}.products-topline>span{color:#a1a397;font-size:8px}.product-list{padding:9px 11px;overflow:auto;max-height:42%;flex-shrink:0;scrollbar-width:thin}.product-row{display:flex;align-items:center;padding:9px 8px;gap:7px;border:1px solid transparent;border-radius:6px;position:relative;cursor:pointer;margin:2px 0;min-height:68px}.product-row:hover{background:#fafaf5}.product-row.active{background:#faf7ef;border-color:#e7d6b8}.product-row.dragging{opacity:.35}.product-row.drag-target{border-top:2px solid #b29359}.row-drag{color:#c2c4b9;cursor:grab;flex-shrink:0}.row-drag svg{width:11px;height:15px}.row-thumbnail{width:40px;height:43px;border-radius:3px;flex-shrink:0;display:grid;place-items:center;background:#f0f0e8;background-image:conic-gradient(#e4e6dd 25%,transparent 0 50%,#e4e6dd 0 75%,transparent 0);background-size:8px 8px;overflow:hidden}.row-thumbnail img{width:100%;height:100%;object-fit:contain}.row-content{flex:1;min-width:0}.row-name{font-size:9px;color:#737967;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:1.5;margin-bottom:4px}.row-name>span{font-size:7px;color:#b2b4a8;margin-right:6px}.price-input-wrap{position:relative;display:flex;align-items:center;gap:4px}.price-input-wrap input{min-width:0;width:100%;padding:5px 20px 5px 7px;border-radius:4px;background:#fff;border:1px solid #e5e5dc;color:#353c2d;font-size:12px;font-weight:650;letter-spacing:.02em;line-height:1.3}.price-input-wrap input::placeholder{font-size:9px;font-weight:400;color:#b9bbad}.price-input-wrap>span{position:absolute;right:7px;font-size:9px;color:#a1a88f;pointer-events:none}.empty-products{padding:45px 21px 20px;display:flex;flex-direction:column;align-items:center;text-align:center;flex:1}.empty-illustration{position:relative;width:84px;height:85px;margin-bottom:12px;display:grid;place-items:center;color:#b4b49e}.empty-illustration>div{position:absolute;width:47px;height:59px;background:#fcfbf5;border:1px solid #dfdfd1;border-radius:5px;transform:rotate(-14deg);left:14px;top:6px}.empty-illustration>div:nth-child(2){transform:rotate(9deg);left:28px;top:13px;background:#f5f2e8;border-color:#ded6c2}.empty-illustration>svg{position:relative;width:26px;height:26px;transform:rotate(9deg);left:9px;top:0;stroke-width:1.1}.empty-products h3{font-family:var(--serif);font-size:16px;line-height:1.8;font-weight:600;letter-spacing:.03em}.empty-products p{font-size:10px;color:#a3a596;line-height:1.9;margin:14px 0 20px}.empty-products .button{font-size:10px;padding:9px 17px}.empty-hint{color:#b3b5a5;font-size:8px;margin-top:22px}.selection-panel{border-top:1px solid var(--line);background:#fdfdf9;padding:16px 20px;overflow:auto;flex:1;scrollbar-width:thin;min-height:160px}.selection-title{display:flex;align-items:center;justify-content:space-between}.selection-title strong{font-size:10px}.selection-title>span{font-size:9px;color:#a6a88f}.selection-panel .field-label{font-size:9px;margin:10px 0 5px}.selection-panel .text-input{padding:7px 9px;font-size:10px}.selection-price{margin-bottom:16px}.selection-price .price-input-wrap input{padding:7px 26px 7px 9px;font-size:14px}.selection-panel .toggle-line label:not(.switch){font-size:9px}.selection-panel .micro-note{font-size:8px;margin:3px 0 12px}.range-heading{font-size:9px;color:#858e77;display:flex;align-items:center;justify-content:space-between;margin:12px 0 5px}.range-heading output{font-size:9px;color:#9f8a5b}.selection-panel input[type=range]{width:100%;accent-color:#ac8b52;height:12px;cursor:pointer}.selection-panel input[type=range]:disabled{opacity:.35}.item-actions{display:flex;align-items:center;gap:5px;margin-top:16px;border-top:1px solid #ebecdf;padding-top:13px}.item-actions .button{font-size:9px;padding:6px;gap:4px;margin-left:auto}.item-actions .button svg{width:13px;height:13px}.item-actions .icon-button{width:25px;height:25px}.item-actions .icon-button svg{width:12px;height:12px}.products-footer{padding:15px 20px;border-top:1px solid var(--line);margin-top:auto;display:flex;flex-direction:column;gap:6px;background:#fff}.products-footer>span{display:flex;align-items:center;gap:5px;font-size:9px;color:#929981}.products-footer b{font-weight:550}.products-footer small{font-size:8px;color:#b2b5a5;margin-left:10px}
dialog{border:1px solid #e8e5d9;padding:0;color:var(--ink)}dialog::backdrop{background:#16201860;backdrop-filter:blur(3px)}.app-dialog{width:min(510px,calc(100vw - 32px));border-radius:15px;padding:32px;box-shadow:0 25px 100px #14200d30;max-height:calc(100dvh - 45px);overflow:auto}.app-dialog>form{margin:0}.dialog-close{position:absolute;top:14px;right:14px}.app-dialog h2{font-family:var(--serif);font-size:24px;margin:10px 0 14px;letter-spacing:.03em;line-height:1.6}.dialog-lead{font-size:11px;line-height:1.9;color:#909582;margin-bottom:22px}.app-dialog .field-label{font-size:11px;margin:20px 0 10px}.app-dialog .text-input{padding:12px;font-size:12px}.format-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.format-option{position:relative;text-align:left;border:1px solid #e3e3d6;border-radius:8px;padding:15px}.format-option.active{border-color:#ac8c50;background:#fbf7ed;box-shadow:0 0 0 1px #ac8c5033}.format-option strong{font-size:20px;display:block;letter-spacing:.04em}.format-option span{display:block;font-size:9px;color:#919783;margin-top:7px}.format-option small{position:absolute;right:10px;top:10px;font-size:8px;background:#efe6d2;color:#a28349;padding:3px 5px;border-radius:3px}.export-note{font-size:9px;color:#9eaa8e;line-height:1.8;margin:11px 0 23px}.export-dialog>.button{padding:14px}.dialog-footnote{font-size:9px;color:#b0b4a4;text-align:center;margin-top:13px}.help-dialog{width:min(570px,calc(100vw - 32px))}.help-dialog h2{font-size:22px}.help-steps{list-style:none;margin:26px 0;padding:0;display:flex;flex-direction:column;gap:24px}.help-steps>li{display:flex;gap:17px}.help-steps>li>span{color:var(--gold);font-size:17px;font-family:var(--serif);border-right:1px solid #e8e0cd;padding-right:15px;padding-top:2px}.help-steps h3{font-size:13px;margin-bottom:6px}.help-steps p{font-size:11px;color:#919783;line-height:1.9}.help-callout{padding:16px;border-radius:7px;background:#f6f4eb}.help-callout strong{font-size:11px;color:#8e774c}.help-callout p{font-size:10px;color:#999e8b;line-height:1.9;margin-top:8px}.help-caution{font-size:9px;color:#9c9f91;line-height:1.9;margin-top:15px}.small-dialog h2{font-size:20px;margin-top:0}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:26px}.drop-curtain{position:fixed;inset:10px;z-index:90;pointer-events:none;border:3px dashed #c1a46a;border-radius:14px;background:#f8f6edf2;display:grid;place-items:center;text-align:center}.drop-curtain svg{width:45px;height:45px;color:#ad8950;margin-bottom:20px}.drop-curtain h2{font-family:var(--serif);font-size:27px}.drop-curtain p{color:#999e87;font-size:12px;margin-top:15px}.processing-bar{position:fixed;left:50%;bottom:30px;transform:translateX(-50%);padding:13px 20px;border-radius:9px;background:#252e22;color:#fff;display:flex;align-items:center;gap:10px;font-size:11px;z-index:110;box-shadow:0 4px 20px #17221133}.spinner{display:inline-block;width:16px;height:16px;border:2px solid #bbaa7750;border-top-color:#bbaa77;border-radius:50%;animation:spin .8s linear infinite}.toast{position:fixed;left:50%;bottom:32px;transform:translateX(-50%);padding:14px 21px;background:#2d362a;color:#fff;font-size:11px;line-height:1.8;border-radius:9px;max-width:calc(100vw - 32px);width:max-content;z-index:120;box-shadow:0 7px 30px #1b241b25}.toast.error{background:#8b4438}textarea.text-input{resize:vertical;line-height:1.8}#bulkDialog .full{margin-top:22px}body.busy{cursor:progress}body.busy button:not(.dialog-close){cursor:progress}
@keyframes spin{to{transform:rotate(360deg)}}@media(min-width:1750px){.app-layout{grid-template-columns:288px minmax(440px,1fr) 316px}.settings-panel{padding:30px 26px}.canvas-scroll{padding:50px 50px 30px}.products-header{padding:30px 24px 20px}.product-row{padding:11px 9px}.row-thumbnail{width:47px;height:48px}.panel-section{padding:25px 0}}@media(max-width:1300px){.app-layout{grid-template-columns:233px minmax(380px,1fr) 265px}.settings-panel{padding:22px 16px 18px}.app-header{padding:0 21px;gap:18px}.brand{min-width:193px}.document-heading{gap:18px}.header-actions{gap:7px}.canvas-scroll{padding:25px 18px 15px}.workspace-toolbar{padding:0 17px}.workspace-bottom{padding-left:12px;padding-right:12px}.canvas-dimensions{display:none}.products-header{padding-left:16px;padding-right:16px}.products-topline{padding-left:15px;padding-right:15px}.products-topline>span{font-size:7px}.selection-panel{padding:14px 16px}.product-row{padding:8px 5px;gap:5px}.row-thumbnail{width:35px;height:40px}.row-drag svg{width:9px}.panel-intro h2{font-size:21px}.help-button{display:none}}@media(max-width:1050px){.app-layout{grid-template-columns:211px minmax(330px,1fr) 238px}.settings-panel{padding:18px 13px}.panel-intro h2{font-size:19px}.panel-section{padding:18px 0}.brand{min-width:172px;gap:9px}.brand strong{font-size:20px}.brand-mark{width:36px;height:36px}.app-header{height:76px;gap:15px;padding:0 17px}.app-layout{height:calc(100dvh - 76px);min-height:calc(100dvh - 76px)}.document-heading h1{font-size:12px}.header-actions .button{padding:9px 10px;font-size:10px}.document-heading{gap:13px}.products-header h2{font-size:11px}.products-header{padding:23px 13px 18px}.products-topline{padding:0 12px 12px}.products-topline>span{font-size:7px;letter-spacing:-.05em}.workspace-toolbar{height:60px;padding:0 13px}.preview-title{gap:5px}.preview-title>span{display:none}.canvas-tools{gap:0}.tool-divider{margin:0 3px}.zoom-select{font-size:9px;max-width:77px}.workspace-hint{padding:12px}.workspace-hint p{font-size:8px}.selection-panel{padding:13px}.local-note{font-size:8px}.template-card{gap:6px}.template-card span{font-size:7px}.template-card>svg{display:none}.layout-option strong{font-size:8px}.mini-grid{width:35px;height:24px}.upload-area strong{font-size:10px}.upload-area>span:not(.upload-symbol){font-size:8px}.upload-area small{font-size:7px}.toggle-line label:not(.switch){font-size:9px}.product-row{gap:4px}.row-name{font-size:8px}.products-footer{padding:14px}.row-thumbnail{width:32px;height:37px}.row-content input{font-size:11px}}@media(max-width:800px){body{font-size:12px}.app-header{height:72px;padding:0 14px;gap:12px}.brand{min-width:0}.brand strong{font-size:19px}.brand small{font-size:6px;letter-spacing:.2em}.brand-mark{width:31px;height:34px;border-radius:8px}.brand-mark svg{width:20px;height:20px}.document-heading{display:none}.header-actions{gap:6px}.header-actions .button{font-size:10px;padding:9px}.header-actions .outline>span{display:none}.header-actions .outline>.tiny{display:none}.header-actions .button.primary{gap:5px}.app-layout{grid-template-columns:1fr 255px;height:auto;min-height:calc(100dvh - 72px);align-items:start}.settings-panel{grid-column:1 / -1;display:grid;grid-template-columns:1.1fr 1fr;gap:16px;padding:16px;border-right:0;border-bottom:1px solid var(--line);overflow:visible}.panel-intro{display:none}.panel-section{padding:0;border:0}.panel-section h3{margin-bottom:10px;font-size:11px}.upload-area{padding:12px 6px}.upload-area .upload-symbol{width:27px;height:27px;margin-bottom:8px}.upload-area strong{font-size:10px}.upload-area small{margin-top:7px}.toggle-line{margin-top:11px}.upload-section>.micro-note{font-size:8px}.template-card{padding:7px;margin-top:9px}.template-card strong{font-size:9px}.template-card span{font-size:8px}.template-card>svg{display:block}.display-section,.local-note{display:none}.workspace{min-height:450px;height:calc(100dvh - 72px);min-width:0;position:sticky;top:0}.workspace-toolbar{height:53px}.canvas-scroll{align-items:safe start;padding:22px 15px;min-height:240px}.workspace-bottom{flex-wrap:wrap;padding:8px 12px}.workspace-hint{display:none}.products-panel{height:calc(100dvh - 72px);min-height:450px;border-top:0;position:sticky;top:0}.products-header{padding-top:18px}.products-topline>span{font-size:7px}.products-header h2{font-size:11px}.empty-products{padding:25px 15px 18px}.empty-products h3{font-size:15px}.empty-products p{font-size:9px}.product-list{max-height:42%}.dropdown{width:218px}.selection-panel{min-height:240px}.selection-panel .toggle-line label:not(.switch){font-size:9px}}@media(max-width:560px){.app-header{height:66px}.header-actions .button.primary span{font-size:9px}.brand strong{font-size:17px}.brand small{font-size:5px}.brand-mark{width:28px;height:30px}.brand{gap:7px}.header-actions .button.primary{padding:9px 8px}.header-actions .button.primary svg{width:13px;height:13px}.header-actions .button.outline{padding:9px 7px}.app-layout{display:flex;flex-direction:column}.settings-panel{width:100%;gap:12px;padding:13px}.layout-option{padding:8px 2px 6px;gap:5px}.mini-grid{width:29px;height:21px}.layout-option strong{font-size:7px}.layout-option small{font-size:7px}.upload-area>span:not(.upload-symbol){font-size:7px}.upload-area strong{font-size:9px}.upload-area small{font-size:6px}.upload-area{padding:10px 3px}.template-card{gap:6px;padding:6px}.template-card img{width:28px;height:24px}.template-card strong{font-size:8px}.template-card span{font-size:6px}.template-card>svg{width:11px;height:11px}.toggle-line .subtle{font-size:7px}.upload-section>.micro-note{display:none}.panel-section h3{font-size:10px;gap:6px}.step-number{width:19px;height:19px;font-size:8px}.toggle-line label:not(.switch){font-size:8px}.workspace{position:relative;width:100%;height:auto;min-height:0;border-bottom:1px solid var(--line)}.workspace-toolbar{height:49px;padding:0 16px}.canvas-scroll{padding:19px 13px 15px;min-height:0;max-height:80dvh;display:block}.sheet-stage{width:100%}.workspace-bottom{padding:6px 14px 10px;flex-wrap:nowrap}.workspace-bottom .text-button{font-size:8px}.products-panel{position:relative;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto auto minmax(270px,auto) auto;height:auto;min-height:0;width:100%;border-left:0}.products-header{grid-column:1 / -1;padding:17px 17px 12px}.products-header h2{font-size:13px;margin-top:5px}.products-header .eyebrow{font-size:7px}.products-topline{grid-column:1 / -1;padding:0 17px 10px}.products-topline>span{font-size:9px}.product-list{padding:6px 8px 8px;max-height:420px;overflow:auto;grid-column:1}.product-row{padding:6px 3px;gap:4px;min-height:60px}.row-drag{display:none}.row-thumbnail{width:33px;height:40px}.row-name{font-size:8px}.row-name>span{margin-right:3px}.row-content .price-input-wrap input{font-size:11px}.empty-products{grid-column:1 / -1;padding:24px 15px}.empty-illustration{width:65px;height:65px;margin-bottom:8px}.empty-products h3{font-size:15px}.empty-products h3 br,.empty-products p br{display:none}.empty-products p{margin:8px 0 15px;font-size:10px}.empty-hint{margin-top:14px}.selection-panel{grid-column:2;grid-row:3;padding:12px;border-top:0;border-left:1px solid var(--line);max-height:440px;min-height:270px}.selection-panel .toggle-line label:not(.switch){font-size:8px}.selection-title strong{font-size:9px}.selection-title>span{font-size:7px}.selection-panel .micro-note{font-size:7px}.selection-panel .text-input{font-size:9px}.item-actions{gap:3px}.item-actions .button{font-size:8px;padding:4px 1px}.item-actions .button svg{display:none}.item-actions .icon-button{width:20px}.products-footer{grid-column:1 / -1;flex-direction:row;align-items:center;justify-content:space-between;padding:13px 17px}.products-footer small{font-size:7px}.app-dialog{padding:27px 23px}.app-dialog h2{font-size:21px}.format-option{padding:12px}.format-option strong{font-size:18px}.format-option small{font-size:7px}.format-option span{font-size:8px}.help-dialog h2{font-size:18px}.help-steps{gap:20px}.help-steps p{font-size:10px}.toast{font-size:10px;bottom:18px}.processing-bar{font-size:10px;bottom:18px;max-width:90vw;white-space:nowrap}.dropdown{right:-100px}}
@media(max-width:800px){.settings-panel .display-section{display:grid;grid-column:1 / -1;grid-template-columns:1fr 1fr;gap:9px 18px;border-top:1px solid var(--line);padding-top:12px}.display-section h3{display:none}.display-section .compact,.display-section .field-line{margin:0}.display-section>.field-label{grid-column:1 / -1;margin:3px 0 0}.display-section>.footer-input{grid-column:1 / -1;padding:8px 10px;font-size:10px}.display-section .toggle-line label:not(.switch),.display-section .field-line{font-size:10px}}
.custom-layout-inputs{display:grid;grid-template-columns:minmax(0,1fr) 15px minmax(0,1fr);align-items:end;gap:6px}.custom-layout-inputs label>span{display:block;font-size:9px;color:#7f8674;margin-bottom:7px;white-space:nowrap}.custom-layout-inputs input{font-size:16px;font-weight:650;padding:8px 7px;text-align:center;min-height:38px}.layout-times{text-align:center;padding-bottom:12px;color:#b0a58d;font-size:13px}.layout-summary{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-top:10px}.layout-summary output{font-size:10px;font-weight:650;color:#94723a}.layout-summary>span{font-size:7px;color:#939c84;background:#eef1e7;border-radius:3px;padding:3px 5px;white-space:nowrap}.layout-help{font-size:8px;color:#a3a897;margin:6px 0 13px;line-height:1.7}@media(max-width:560px){.custom-layout-inputs{gap:3px;grid-template-columns:minmax(0,1fr) 10px minmax(0,1fr)}.custom-layout-inputs label>span{font-size:7px;margin-bottom:5px}.custom-layout-inputs input{font-size:14px;padding:6px 3px;min-height:33px}.layout-times{padding-bottom:10px;font-size:10px}.layout-summary{margin-top:7px}.layout-summary output{font-size:8px}.layout-summary>span{font-size:6px;padding:2px 3px}.layout-help{font-size:7px;margin:5px 0 9px}}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.paper-label{margin-top:0}.paper-select{font-size:10px;padding:9px 8px}.frame-mode-options{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:13px 0 16px}.frame-mode{display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid #dedfd4;border-radius:6px;background:#fff;font-size:10px;padding:12px 5px;min-height:46px;font-weight:600}.frame-mode.active{border-color:#ad8c52;background:#fbf7ed;color:#94723a;box-shadow:0 0 0 1px #ad8c521a}.frame-icon{border:1.5px solid currentColor;border-radius:2px;display:inline-block;position:relative;width:23px;height:17px;color:#a6aa99;flex-shrink:0}.frame-icon:after{content:"";position:absolute;left:2px;right:2px;bottom:3px;border-top:1px solid currentColor}.frame-icon.card-frame{width:15px;height:23px}.frame-mode.active .frame-icon{color:#ac8a50}.update-date-settings{margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid var(--line)}.update-date-inputs{display:flex;align-items:center;gap:7px}.update-date-inputs input{font-size:10px;padding:8px;flex:1;min-width:0}.update-date-inputs .button{font-size:10px;padding:9px 10px}.update-date-settings .layout-help{margin:7px 0 0;font-size:8px}.update-date-inputs:has(input:disabled){opacity:.55}.canvas-dimensions>#canvasDimensions{margin:0;color:inherit}.slot-hit .slot-plus{max-width:75%;max-height:65%;font-size:clamp(8px,1vw,16px)}@media(max-width:800px){.update-date-settings{grid-column:1 / -1;margin-bottom:1px}.frame-mode{font-size:9px;padding:9px 4px;gap:6px}.paper-select{font-size:9px}}@media(max-width:560px){.paper-label{font-size:8px}.paper-select{font-size:8px;padding:8px 4px}.frame-mode-options{gap:5px;margin:10px 0 13px}.frame-mode{font-size:7px;gap:4px;padding:8px 2px;min-height:38px}.frame-icon{width:17px;height:14px}.frame-icon.card-frame{width:12px;height:19px}.update-date-inputs input{font-size:11px}.update-date-inputs .button{font-size:10px}.update-date-settings .layout-help{font-size:9px}}
@media(prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;transition-duration:.01ms!important}}
