:root{--ink:#202d32;--muted:#778382;--teal:#167568;--line:#e3e7e2;--paper:#f6f7f3;--nav:#182c2c}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:"Yu Gothic UI","Yu Gothic",Meiryo,sans-serif;font-size:14px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.42}button{transition:background .15s,box-shadow .15s}button:focus-visible,a:focus-visible{outline:3px solid #69b6a9;outline-offset:3px}input:focus,select:focus,textarea:focus{outline:2px solid #69b6a9;outline-offset:1px}[hidden]{display:none!important}.sidebar{position:fixed;inset:0 auto 0 0;width:222px;background:var(--nav);color:#eef4ef;padding:32px 20px;display:flex;flex-direction:column}.brand{font-size:34px;font-weight:650;letter-spacing:-1.6px;text-decoration:none;color:#f8f8ef;display:flex;align-items:center;gap:8px}.brand-icon{display:flex;align-items:center;justify-content:center;width:33px;height:36px;border:1px solid #8aafa0;border-radius:10px;font-family:Georgia,serif;font-style:italic;font-size:29px;font-weight:400}.brand-dot{color:#b9d89c;margin-left:-7px}.workspace{display:flex;gap:9px;align-items:center;border:1px solid #36504c;border-radius:8px;padding:12px 10px;margin:32px 0;font-size:12px}.workspace-icon,.profile>span{background:#36534b;border-radius:6px;padding:7px 10px}.workspace small{display:block;font-size:8px;letter-spacing:.8px;color:#9cafaa;margin-top:5px}.nav-label{font-size:10px;color:#8a9f99;letter-spacing:1.4px;padding:0 12px;margin:6px 0 13px}.nav{width:100%;background:none;border:0;border-radius:7px;text-align:left;color:#b4c4be;padding:13px 12px;display:flex;align-items:center;gap:12px;margin-bottom:5px;font-size:13px}.nav>span:first-child{font-size:20px;line-height:1}.nav.active{background:#2f4841;color:#f4f7e9}.count{margin-left:auto;font-size:11px!important;line-height:18px!important;background:#233e38;padding:1px 6px;border-radius:4px}.sidebar-bottom{margin-top:auto;padding:0 7px}.connection{font-size:12px;color:#ced9d0}.status-dot{display:inline-block;width:6px;height:6px;background:#d8b575;border-radius:50%;margin-right:8px}.sidebar-bottom p{font-size:11px;line-height:1.9;color:#91a79e;margin:10px 0 24px}.profile{border-top:1px solid #365049;padding-top:20px;display:flex;align-items:center;gap:10px;font-size:11px}.profile small{display:block;font-size:10px;color:#9bb0a5;margin-top:4px}.app{margin-left:222px}.topbar{height:72px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px;font-size:12px;color:var(--muted);background:#fcfcf9}.topbar strong{color:#44514a;font-weight:500}.topbar span{margin:0 12px}.top-actions{display:flex;align-items:center;gap:12px}.preview-badge{font-size:9px;letter-spacing:1.2px;border:1px solid #d8dfd6;padding:5px 8px;border-radius:4px}.text-button{border:0;background:none;color:#536359;font-size:12px}.text-button span{margin:0 0 0 8px}main{max-width:1540px;padding:36px 38px 0;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:29px}.eyebrow,.section-index{font-size:10px;font-weight:650;letter-spacing:1.7px;color:var(--teal)}h1{font-size:28px;letter-spacing:.4px;font-weight:650;margin:10px 0 10px}p{line-height:1.85}.page-heading p{color:var(--muted);font-size:12px;margin:0}.secondary,.primary{border-radius:6px;padding:12px 18px;font-size:12px;font-weight:600;white-space:nowrap;display:inline-flex;gap:20px;align-items:center;justify-content:center}.secondary{border:1px solid #d7ded4;background:#fff;color:#435449}.secondary:hover{background:#edf2e9}.primary{background:var(--teal);border:1px solid var(--teal);color:white}.primary:hover:enabled{background:#105c53}.steps{display:flex;align-items:center;background:#fff;border:1px solid var(--line);border-radius:9px;padding:21px 26px;margin-bottom:26px}.step{display:flex;align-items:center;gap:11px;border:0;background:none;padding:0;text-align:left;color:#7d8984;flex-shrink:0}.step-number{display:flex;align-items:center;justify-content:center;width:33px;height:33px;border-radius:50%;border:1px solid #e2e7df;font-size:11px;letter-spacing:.6px}.step div{font-size:12px;font-weight:600}.step small{display:block;font-size:10px;font-weight:400;margin-top:4px;color:#90988f}.step.active{color:var(--teal)}.step.active .step-number{color:white;border-color:var(--teal);background:var(--teal)}.step-line{height:1px;background:#e3e8df;flex:1;margin:0 22px}.editor-grid{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(340px,1fr);gap:24px}.card{background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden}.card-heading{display:flex;align-items:center;justify-content:space-between;padding:24px 24px 20px}.section-index{font-size:9px;letter-spacing:1.5px;color:#8d9a8e}h2{font-size:16px;font-weight:650;margin:6px 0 0}.pill{display:inline-block;background:#f2f4ef;color:#7b887c;border:1px solid #e6eae1;font-size:10px;border-radius:4px;padding:4px 7px;white-space:nowrap}.pill.green{color:#287361;background:#edf5ed;border:0}.artboard{margin:0 22px;background:#eef0e9;background-image:radial-gradient(#d7dcd1 .75px,transparent .75px);background-size:14px 14px;border:1px solid #e2e6dc;border-radius:6px;padding:18px 22px 13px;text-align:center;transition:background .2s}.artboard.dragging{outline:2px dashed var(--teal);background:#d8eae1}.artboard-label{display:flex;justify-content:space-between;font-size:8px;letter-spacing:1px;color:#91a08d;margin-bottom:18px}.artboard img{display:block;max-width:100%;width:auto;height:400px;object-fit:contain;margin:auto;filter:drop-shadow(0 7px 9px #32492b16)}.image-caption{font-size:9px;color:#8a9685;margin-top:18px}.file-row{display:flex;gap:11px;align-items:center;margin:18px 24px 14px}.file-icon{background:#f1f4ed;padding:10px 12px;border-radius:5px;color:#628268;font-size:20px}.file-row strong{display:block;max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:600}.file-row small{display:block;font-size:10px;color:#8d978c;margin-top:5px}.file-row button{margin-left:auto}.compact{padding:8px 10px;font-size:10px}.drop-help{font-size:9px;color:#8e988b;margin:0 24px 19px;text-align:center}.drop-help span{display:block}.settings-card{padding:0 24px 22px}.settings-card .card-heading{padding:24px 0 20px}.mini-icon{color:#98a493;font-size:19px}.field-label{display:block;font-size:11px;font-weight:600;margin:0 0 8px}.muted{font-size:10px;font-weight:400;color:#98a192}input,select,textarea{width:100%;padding:10px 12px;border:1px solid #dfe5da;border-radius:5px;color:#475343;background:#fdfefa;font-size:12px;min-width:0}textarea{resize:vertical;line-height:1.7;min-height:75px}textarea::placeholder{color:#a0aa99;font-size:10px}select{height:39px}.label-row{display:flex;align-items:center;justify-content:space-between;margin-top:19px;margin-bottom:8px}.label-row .field-label{margin:0}.label-row>span:not(.field-label):not(.pill){font-size:9px;color:#929b8b}.dimensions{display:flex;align-items:end;gap:12px;margin-top:12px}.dimensions label{flex:1;min-width:0}.dimensions label>span{display:block;font-size:9px;color:#8a9783;margin-bottom:5px}.input-unit{display:flex;align-items:center;border:1px solid #dfe5da;border-radius:5px;background:#fdfefa}.input-unit input{border:0;background:none}.input-unit>span{font-size:10px;color:#8b9783;padding-right:12px}.times{padding-bottom:10px;color:#a1ad98}.two-columns{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:17px}.segmented{display:flex;border:1px solid #dfe5da;border-radius:5px;padding:3px;height:39px;gap:4px;background:#f7f8f3}.segmented button{border:0;background:none;border-radius:3px;flex:1;font-size:11px;color:#8d9882}.segmented button.selected{background:#fff;box-shadow:0 1px 4px #263e2520;color:var(--teal)}.divider{height:1px;background:var(--line);margin:22px 0 0}.features{list-style:none;padding:0;margin:14px 0 19px;color:#69785e;font-size:11px}.features li{margin:10px 0}.features li:before{content:'✓';color:var(--teal);margin-right:9px}.bottom-bar{display:flex;justify-content:space-between;align-items:center;margin:24px 0;gap:20px}.bottom-bar>div{display:flex;align-items:center;gap:10px;color:#8b9684;font-size:10px}.bottom-bar .primary{min-width:174px}.info-circle{border:1px solid #b4bfa8;border-radius:50%;width:16px;height:16px;text-align:center;font-size:10px;line-height:14px}footer{border-top:1px solid var(--line);padding:20px 0 24px;display:flex;justify-content:space-between;color:#9aa390;font-size:9px;letter-spacing:.4px}footer>span:first-child{font-size:17px;font-weight:600;letter-spacing:-.5px}.footer-caption{font-size:8px;letter-spacing:1px;font-weight:400;margin-left:12px}.section-intro{display:flex;justify-content:space-between;align-items:center;margin:28px 0 20px}.section-intro h2{font-size:23px}.section-intro p{font-size:12px;color:var(--muted);margin:9px 0}.review-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:24px}.layer{display:flex;align-items:center;padding:14px 24px;border-top:1px solid #eef0eb;gap:12px}.layer-swatch{width:9px;height:9px;border-radius:2px;flex-shrink:0}.layer strong{font-size:12px;font-weight:500;display:block}.layer small{font-size:10px;color:#94a08d;display:block;margin-top:3px}.layer-end{margin-left:auto;color:#a0aa97;font-size:10px}.summary-card{padding:24px;margin-bottom:22px}.summary-card .card-heading{padding:0 0 18px}.summary-card dl{display:grid;grid-template-columns:100px 1fr;gap:18px;font-size:12px}.summary-card dt{color:#8d9785}.summary-card dd{margin:0;overflow-wrap:anywhere}.notice{padding:15px;background:#f4f5ed;border-radius:6px;font-size:11px;color:#81866d;line-height:1.9;margin-top:25px}.production-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:24px}.production-status{text-align:center;padding:48px 28px}.waiting-icon{width:64px;height:64px;border-radius:50%;background:#edf3e9;color:#7a9470;margin:5px auto 25px;display:grid;place-items:center;font-size:30px}.production-status h2{font-size:21px;margin-top:12px}.production-status p{font-size:12px;color:#8e9788;margin:18px 0 25px}.connection-details{display:grid;grid-template-columns:1fr auto;text-align:left;max-width:350px;margin:35px auto 0;gap:15px;align-items:center;font-size:11px;color:#919988;border-top:1px solid var(--line);padding-top:25px}.timeline-card{padding:28px}.timeline{list-style:none;padding:0;margin:30px 0}.timeline li{display:flex;gap:14px;position:relative;padding-bottom:32px;align-items:center;color:#7e8a72;font-size:12px}.timeline li>span{border:1px solid #dce3d4;background:#fff;border-radius:50%;width:29px;height:29px;display:grid;place-items:center;z-index:1}.timeline li:not(:last-child):after{content:'';width:1px;background:#e4e8dd;position:absolute;top:28px;left:14px;bottom:0}.timeline small{display:block;font-size:10px;color:#a0a793;margin-top:6px}.quiet-note{font-size:11px;line-height:1.8;color:#929b86}.compare-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.compare-source{padding:20px;background:#f0f2eb;min-height:430px;display:grid;place-items:center}.compare-source img{max-width:100%;height:390px;object-fit:contain}.empty-result{min-height:430px;display:flex;align-items:center;justify-content:center;flex-direction:column;background:#fcfdf9;color:#9ba58d;text-align:center}.empty-result>span{font-size:48px;color:#ccd4c2}.empty-result h3{font-size:14px;font-weight:500}.empty-result p{font-size:11px}.delivery{margin-top:22px;padding:24px;display:flex;align-items:center;gap:15px}.delivery>div{margin-right:auto}.delivery p{font-size:10px;color:#969e8a;margin-bottom:0}.draft-card{padding:24px;margin-bottom:15px;display:flex;align-items:center;gap:20px}.draft-card p{font-size:11px;color:#8a967e;margin-bottom:0}.draft-card>button{margin-left:auto}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#243e33;color:#f5f8ec;box-shadow:0 5px 25px #0002;border-radius:7px;padding:16px 24px;font-size:12px;z-index:5;max-width:90vw}dialog{border:1px solid var(--line);border-radius:12px;padding:38px;max-width:500px;box-shadow:0 20px 80px #152b2230}dialog::backdrop{background:#182d2755}dialog p{font-size:13px;color:#7c8873}dialog h2{font-size:21px;margin:15px 0}.dialog-close:not(.primary){position:absolute;right:14px;top:10px;background:none;border:0;font-size:24px;color:#8f9984}
@media(min-width:1500px){.artboard img{height:445px}.artboard{padding-bottom:22px}.file-row{margin-top:24px}.settings-card{padding-bottom:30px}main{padding-top:42px}}
@media(max-width:1150px){.sidebar{width:185px;padding:26px 14px}.app{margin-left:185px}main{padding:28px 24px 0}.topbar{padding:0 24px}.step small{display:none}.step-line{margin:0 12px}.steps{padding:18px}.editor-grid{gap:16px;grid-template-columns:minmax(0,1fr) minmax(300px,1fr)}.settings-card{padding:0 18px 20px}.artboard{margin:0 16px;padding:15px 12px}.artboard img{height:360px}.file-row{margin:18px 16px}.file-row strong{max-width:150px}h1{font-size:24px}.delivery{flex-wrap:wrap}.delivery>div{width:100%}}
@media(max-width:850px){.sidebar{width:70px;align-items:center;padding:23px 8px}.brand{font-size:0;gap:0}.brand-dot,.workspace,.nav-label,.sidebar-bottom,.nav .count{display:none}.nav{font-size:0;justify-content:center;padding:14px;margin-top:15px}.nav span:first-child{font-size:23px}.app{margin-left:70px}.editor-grid{grid-template-columns:1fr}.artboard img{height:390px}.step div{font-size:11px}.step-number{width:25px;height:25px}.step{gap:6px}.steps{padding:14px 12px}.step-line{margin:0 8px}.page-heading{align-items:start}.page-heading>.secondary{padding:10px}.review-grid,.production-grid{grid-template-columns:1fr}.source-card{max-width:none}.file-row strong{max-width:300px}.page-heading p{max-width:400px}.compare-source img{height:280px}.compare-source,.empty-result{min-height:330px}}
@media(max-width:560px){.sidebar{display:none}.app{margin-left:0}.topbar{height:56px;padding:0 16px}.topbar .preview-badge{display:none}main{padding:23px 16px 0}.page-heading{flex-wrap:wrap;gap:16px}h1{font-size:22px}.page-heading p{font-size:11px}.steps{justify-content:space-between;gap:7px}.step{flex-direction:column;gap:7px}.step-line{display:none}.step div{font-size:10px}.artboard img{height:340px;max-height:100vw}.card-heading{padding:20px}.bottom-bar{align-items:stretch;flex-wrap:wrap}.bottom-bar>div{font-size:9px}.bottom-bar .primary{margin-left:auto}.compare-grid{grid-template-columns:1fr}.section-intro h2{font-size:20px}.delivery{padding:18px}.delivery button{font-size:10px;padding:10px}footer{gap:15px}.footer-caption{display:none}.file-row strong{max-width:170px}.production-status{padding:35px 20px}.production-status h2{font-size:18px}}


/* User-supplied PriAPi logo. Original image is preserved. */
.brand{background:#fff;border-radius:8px;padding:9px 12px;justify-content:center;min-height:57px;width:100%;letter-spacing:0}.brand-logo{display:block;width:100%;height:auto;max-width:165px;object-fit:contain}
@media(max-width:850px) and (min-width:561px){.brand{padding:5px 3px;min-height:32px;border-radius:5px}.brand-logo{max-width:100%}}
@media(max-width:560px){.topbar:before{content:"";background:#fff url("assets/priapi.png") center/contain no-repeat;width:85px;height:32px;flex-shrink:0}.topbar>div:first-child{display:none}}
