@font-face{font-family:'Noto Sans Devanagari';src:url('./vendor/NotoSansDevanagari-Regular.ttf') format('truetype');font-display:swap}
:root{font-family:Inter,system-ui,-apple-system,'Segoe UI',sans-serif;color:#213348;background:#f1f5fa;--teal:#0f766c;--navy:#0d2639;--line:#dbe4e8}
*{box-sizing:border-box}[hidden]{display:none!important}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(circle at 70% -12%,#b3ede26c,transparent 37%),linear-gradient(135deg,#f8fafc,#ecf2f8);min-height:100vh}
button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #f3b33f;outline-offset:2px}
.top{height:60px;background:linear-gradient(94deg,#102e42,#096e6a);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 max(16px,calc((100vw - 1430px)/2));box-shadow:0 6px 20px #102c3c24}
.top .home{color:#fff;font-size:14px;text-decoration:none;font-weight:750}.top strong{font-size:17px;letter-spacing:.07em}.top strong span{background:#dcfff7;color:#096e6a;border-radius:6px;font-size:10px;padding:4px 6px}.top p{color:#bde3df;letter-spacing:.06em;font-size:11px}
.shell{max-width:1430px;margin:auto;padding:20px 18px 28px}.intro{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:13px}.eyebrow{display:inline-block;color:#086d61;letter-spacing:.09em;font-size:11px;font-weight:850}.intro h1{font-size:clamp(27px,3vw,39px);line-height:1.12;letter-spacing:-.045em;margin:8px 0 6px;color:#112f41}.intro p{margin:0;font-size:14px;color:#657b88}.counter{background:#e5f6f3;border:1px solid #c8e6df;padding:12px 16px;border-radius:17px;text-align:center;min-width:130px}.counter b{font-size:24px;color:#088c79;display:block}.counter small{font-size:10px;color:#336b68;letter-spacing:.08em;font-weight:850}
.modes{display:flex;gap:8px;overflow-x:auto;scrollbar-width:thin;margin-bottom:15px;padding:4px 0}.modes a{padding:12px 17px;border-radius:12px;color:#456270;text-decoration:none;background:#fff;border:1px solid #dbe6e7;white-space:nowrap;font-size:13px;font-weight:750;transition:.15s}.modes a.active{background:linear-gradient(120deg,#066b64,#17a48c);color:#fff;border-color:#0d8977;box-shadow:0 7px 16px #007d7335}
.workspace{display:grid;grid-template-columns:minmax(380px,460px) minmax(0,1fr);gap:15px;align-items:start}
.panel{background:#fff;border:1px solid #dce6ea;border-radius:19px;overflow:hidden;box-shadow:0 14px 32px #1e455516}.panel-head{height:52px;padding:0 17px;background:linear-gradient(110deg,#0c6e69,#19a38e);color:#fff;display:flex;justify-content:space-between;align-items:center;gap:12px}.panel-head>span:first-child{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:800}.panel-head b{font-size:12px;border:1px solid #ffffff7c;background:#ffffff26;border-radius:7px;padding:5px 7px}.status-pill{font-size:10px;border:1px solid #ffffff70;border-radius:20px;padding:5px 8px;white-space:nowrap;letter-spacing:.03em}.status-pill.green{background:#ffffff18}
.editor-body{padding:16px;max-height:calc(100vh - 245px);overflow:auto;overscroll-behavior:contain;scrollbar-color:#b8d5d0 transparent}
.upload{border:2px dashed #9dc9be;border-radius:16px;min-height:118px;background:radial-gradient(circle at 12% 0,#e5fbf4,transparent 55%),#f6fbfa;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:6px;padding:13px;cursor:pointer;transition:.16s}.upload.drag{background:#ddf8ed;border-color:#009078}.upload input{display:none}.upload-icon{font-size:27px;color:#0b9279;line-height:1}.upload strong{font-size:14px;color:#1d5f58}.upload small{font-size:11px;color:#688b8b}.source-info{font-size:11px;color:#688090;text-align:center;margin:9px 0 15px;min-height:13px}
.section-title{display:flex;justify-content:space-between;gap:10px;align-items:center;border-bottom:1px solid #e7edf1;padding:0 0 10px;margin-bottom:12px}.section-title strong{font-size:15px}.section-title span{color:#0b8a75;background:#e7f7f2;padding:4px 7px;font-weight:900;font-size:9px;letter-spacing:.09em;border-radius:8px}
.field{display:block;margin-bottom:12px;min-width:0}.field>span{display:block;font-size:11px;font-weight:800;color:#3c5a6a;margin-bottom:6px;text-transform:uppercase;letter-spacing:.035em}.field small{font-size:10px;color:#83949e}.field input:not([type=color]),.field select{width:100%;min-height:42px;border:1px solid #cfdee5;background:#f9fbfd;border-radius:10px;padding:9px 10px;color:#233f52;font-size:13px;outline:none}.field select:focus,.field input:focus{border-color:#0ca58e;box-shadow:0 0 0 3px #13ab9024}.field input[type=color]{width:100%;border:1px solid #cfdee5;height:42px;border-radius:9px;padding:5px;background:#fff}
.two,.three{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.three{grid-template-columns:repeat(3,minmax(0,1fr))}.checkline{display:flex;align-items:center;gap:9px;font-size:12px;color:#3d6070;margin:3px 0 14px}.checkline input{accent-color:#078b7a;width:16px;height:16px}
.tool-section{background:#f8fafc;border:1px solid #e1e8ef;border-radius:12px;margin:10px 0;overflow:hidden}.tool-section summary{list-style:none;cursor:pointer;padding:13px;font-size:13px;font-weight:850;color:#194557;display:flex;align-items:center;justify-content:space-between}.tool-section summary::-webkit-details-marker{display:none}.tool-section summary:after{content:'＋';color:#0a957f;font-size:17px}.tool-section[open] summary:after{content:'−'}.tool-section[open] summary{border-bottom:1px solid #e2eaf0}.details-inner{padding:13px 12px 6px}
.slider-row{display:grid;grid-template-columns:98px minmax(0,1fr) 42px;gap:9px;align-items:center;margin:3px 0 14px}.slider-row label{font-size:12px;color:#506b79;font-weight:750}.slider-row input{width:100%;accent-color:#059981}.slider-row output{text-align:right;font-weight:800;font-size:11px;color:#147a67}.turn-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px}.turn-actions button,.secondary{border:1px solid #d5e3e6;background:#fff;border-radius:10px;padding:10px 11px;color:#1c6462;font-weight:750;font-size:12px}.turn-actions button:hover,.secondary:hover{border-color:#0baf92;background:#ecf8f3}.hint{color:#78909d;font-size:11px;line-height:1.6}
.stage{position:sticky;top:10px}.stage-body{padding:15px}.view-switch{display:inline-flex;background:#eef5f5;padding:4px;border-radius:11px;margin:0 0 12px;gap:3px}.view-switch button{border:none;background:transparent;padding:9px 13px;border-radius:8px;color:#557078;font-weight:750;font-size:12px}.view-switch button.active{background:white;color:#0a776a;box-shadow:0 3px 9px #1b50521a}
.canvas-wrap{background:radial-gradient(circle at 55% 45%,#ffffff,#eaf1f3);border:1px solid #dde8ed;border-radius:16px;height:clamp(280px,45vh,500px);display:grid;place-items:center;overflow:auto;padding:14px;box-shadow:inset 0 1px 8px #142f3410}.canvas-wrap canvas{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;box-shadow:0 8px 23px #152b3e26;border:1px solid #bfcfd4;background:repeating-conic-gradient(#e9eff2 0 25%,#fff 0 50%) 50% / 16px 16px}.empty-canvas{display:flex;flex-direction:column;align-items:center;text-align:center;justify-content:center;max-width:280px;gap:10px;color:#718997}.empty-canvas span{font-size:69px;opacity:.5}.empty-canvas strong{font-size:17px;color:#426775}.empty-canvas small{line-height:1.6}
.metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:13px}.metrics div{background:#f3f8f7;border:1px solid #e1efea;border-radius:11px;padding:10px;min-width:0}.metrics small{display:block;color:#68868a;font-size:10px;margin-bottom:6px}.metrics strong{font-size:13px;color:#164e55;overflow-wrap:anywhere}.alerts{background:#eaf6f2;color:#136f61;border-radius:11px;margin:13px 0;padding:11px 13px;font-size:12px;line-height:1.5}.alerts.error{background:#fff1e7;color:#a54d28}
.download-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.download-actions button{min-height:44px;white-space:normal}.primary{border:1px solid #087c70;background:linear-gradient(105deg,#0b716b,#10a58d);color:#fff;border-radius:10px;padding:11px;font-size:13px;font-weight:850;box-shadow:0 5px 13px #0d987f29}.mini-preview{display:none}
footer{color:#8094a0;text-align:center;font-size:11px;padding:21px 0}
@media(max-width:950px){.workspace{grid-template-columns:minmax(0,1fr)}.stage{position:static}.editor-body{max-height:none}.counter{display:none}.top p{display:none}}
@media(max-width:650px){.shell{padding:13px 10px 26px}.top{height:52px;padding:0 12px}.intro{margin-bottom:10px}.intro h1{font-size:26px}.intro p{font-size:12px}.modes{gap:5px;margin-bottom:8px}.modes a{padding:10px 12px;font-size:12px}.panel-head{height:46px}.workspace{gap:10px}.editor-body{padding:11px}.mini-preview{display:flex;position:sticky;top:0;z-index:5;align-items:center;gap:12px;padding:8px;background:#e9f7f3;border:1px solid #c2e7dc;border-radius:12px;margin-bottom:9px;box-shadow:0 5px 14px #173e3e12}.mini-preview canvas{width:70px;height:80px;object-fit:contain;background:#fff;max-height:80px}.mini-preview span{color:#12695d;font-size:11px;font-weight:900;letter-spacing:.05em}.upload{min-height:98px}.stage-body{padding:10px}.canvas-wrap{height:310px}.metrics{gap:4px}.metrics div{padding:8px}.metrics strong{font-size:11px}.download-actions button{font-size:12px}.slider-row{grid-template-columns:83px minmax(0,1fr) 37px}}
@media print{.top,.intro,.modes,.editor,.panel-head,.view-switch,.metrics,.alerts,.download-actions,footer{display:none!important}body,.shell,.workspace,.stage,.stage-body,.canvas-wrap{margin:0!important;padding:0!important;box-shadow:none!important;background:white!important;border:0!important;height:auto!important}.canvas-wrap canvas{box-shadow:none!important;border:0!important;max-width:none;max-height:none;width:100%;height:auto}.stage{position:static!important}}
.dedicated-studio{display:flex;align-items:center;gap:10px;border:1px solid #bfe9df;background:linear-gradient(105deg,#e4f8f0,#f8fffd);border-radius:13px;padding:12px 15px;margin-bottom:15px;color:#16786b;font-size:13px}.dedicated-studio strong{white-space:nowrap}.dedicated-studio span{color:#557c7b;font-size:12px}
.photo-queue{border:1px solid #bfddd8;background:#f4fbf9;border-radius:14px;padding:10px;margin:10px 0 16px}
.queue-heading,.queue-footer{display:flex;align-items:center;justify-content:space-between;gap:10px}.queue-heading{margin-bottom:10px}.queue-heading strong{color:#165f59;font-size:13px}.queue-heading span{background:#d9f4e9;color:#126d5c;border-radius:20px;padding:5px 9px;font-size:11px;font-weight:800}.queue-footer{margin-top:9px}.queue-footer small{color:#6a8386;font-size:11px;line-height:1.5}.queue-footer button{flex-shrink:0}
.queue-items{display:grid;gap:7px;max-height:255px;overflow:auto}.queue-item{display:grid;grid-template-columns:minmax(0,1fr) 66px auto;align-items:center;gap:6px;background:#fff;border:1px solid #dde8e7;border-radius:11px;padding:6px}.queue-item.selected{border-color:#149e83;box-shadow:0 0 0 2px #14aa8b25;background:#f7fffc}
.queue-select{min-width:0;display:flex;align-items:center;text-align:left;gap:8px;border:0;background:transparent;padding:2px;cursor:pointer;color:#295667}.queue-select img{width:40px;height:45px;object-fit:cover;border-radius:7px;background:#d9e9e6;flex-shrink:0}.queue-select span{min-width:0}.queue-select strong{display:block;font-size:11px;max-width:200px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.queue-select small{display:block;font-size:10px;color:#7a9296;margin-top:4px}
.queue-count{display:grid;gap:4px;color:#557575;font-size:10px;font-weight:800}.queue-count input{width:100%;min-width:0;border:1px solid #c8dad8;border-radius:7px;padding:7px 4px;background:#fff;font-size:12px}.queue-actions{display:grid;grid-template-columns:repeat(3,25px);gap:3px}.queue-actions button{width:25px;height:31px;background:#eff8f5;border:1px solid #d3e8e0;border-radius:7px;color:#176b5b;font-size:14px;font-weight:700;padding:0}.queue-actions button:hover:not(:disabled){background:#cbf4e6}.queue-actions button:last-child{color:#b94749;background:#fff3f3;border-color:#f1d4d4}
@media(max-width:440px){.queue-item{grid-template-columns:minmax(0,1fr) 55px auto;gap:4px}.queue-select img{width:33px;height:39px}.queue-select strong{max-width:124px}.queue-actions{grid-template-columns:repeat(3,22px);gap:2px}.queue-actions button{width:22px}.queue-footer{align-items:flex-start}}
@media(max-width:650px){.dedicated-studio{flex-wrap:wrap;padding:9px 11px;margin-bottom:10px}.dedicated-studio span{flex-basis:100%}}
@media print{.dedicated-studio{display:none!important}}
/* Design 03 dark theme compatibility: readable customer names and copy counts. */
.editor-body .photo-queue{background:#203047;border-color:#455d79;color:#dce8f7}.editor-body .queue-heading strong{color:#e3f1ff}.editor-body .queue-heading span{background:#304d65;color:#c5f1e8}.editor-body .queue-footer small{color:#acbdd1}
.editor-body .queue-item{background:#182942;border-color:#465b78;color:#e4edfa}.editor-body .queue-item.selected{background:#264055;border-color:#65bbaa;box-shadow:0 0 0 2px #65bbaa33}
.editor-body .queue-select{color:#e4eefb}.editor-body .queue-select small{color:#9db4cb}.editor-body .queue-count{color:#bdcde3}.editor-body .queue-count input{background:#112136;color:#f4f9ff;border-color:#526985}
.editor-body .queue-actions button{background:#304868;border-color:#536b8c;color:#dceaff}.editor-body .queue-actions button:hover:not(:disabled){background:#3b5d75}.editor-body .queue-actions button:last-child{background:#593745;border-color:#74465a;color:#ffd0d2}
.auto-face{padding:12px;border:1px solid #577caa;background:linear-gradient(120deg,#213954,#253654);border-radius:12px;margin-bottom:15px;color:#ebf4ff}
.face-head{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-bottom:10px}.face-head strong{font-size:12px}.face-head span{font-size:9px;color:#b5d6f5;letter-spacing:.06em;font-weight:900;text-align:right}
.auto-face .field{margin-bottom:9px}.auto-face .field>span{color:#c5daf0}.auto-face select{background:#162c43;color:#f5fbff;border-color:#4d698d}
.auto-face .face-button{width:100%;min-height:39px;padding:9px 10px;font-size:12px}.auto-face small{display:block;line-height:1.55;font-size:10px;color:#b0c8e2;margin-top:9px}
@media(max-width:440px){.auto-face .two{grid-template-columns:1fr}.face-head span{font-size:8px}}
