:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,sans-serif;color:#24384b;background:#f3f6f8;font-synthesis:none}*{box-sizing:border-box}body{margin:0}header{background:#122c40;color:white;padding:22px max(24px,calc((100vw - 1240px)/2));display:flex;justify-content:space-between;align-items:center;gap:20px}.brand{display:flex;gap:12px;align-items:center;color:#ffbb46;font-size:27px;font-weight:800;text-decoration:none}.brand span{font-size:15px;letter-spacing:1.5px;color:white}.brand small{font-size:9px;color:#a9c3d3}.back{color:#d5e5ef;font-size:14px;text-decoration:none}main{max-width:1240px;margin:46px auto;padding:0 24px}.eyebrow{font-size:11px;letter-spacing:2.5px;color:#977021;font-weight:800}h1{font-size:clamp(30px,4vw,44px);letter-spacing:-1.4px;line-height:1.12;margin:12px 0}h2{font-size:23px;margin:0 0 9px;letter-spacing:-.5px}.lede{font-size:16px;line-height:1.7;max-width:760px;color:#5b6f80}.hint{font-size:13px;line-height:1.6;color:#637584}.notice,#status:not(:empty){padding:14px 18px;background:#fff6e3;border:1px solid #eed4a0;border-radius:10px;line-height:1.6}.setup{display:grid;grid-template-columns:1.3fr 1fr;gap:24px;padding:24px;background:white;border:1px solid #dce4e9;border-radius:16px;margin:24px 0}.setup select{max-width:460px}label{display:block;font-size:12px;font-weight:700;color:#526675}input,select,textarea{display:block;width:100%;margin-top:7px;padding:12px;border:1px solid #cbd8e1;background:white;border-radius:8px;font:inherit;font-size:14px;color:#17364c}textarea{font-family:inherit;line-height:1.55;min-height:220px;resize:vertical}button{font:inherit;font-weight:600;font-size:13px;border-radius:8px;border:1px solid transparent;padding:11px 16px;cursor:pointer;white-space:normal}button:disabled{opacity:.45;cursor:not-allowed}.primary{background:#183c56;color:white}.secondary{background:white;color:#214860;border-color:#cbd8e1}button:hover:not(:disabled){filter:brightness(.96)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #df9d30;outline-offset:3px}summary{cursor:pointer;font-weight:650;font-size:14px}form{display:grid;gap:14px;margin-top:16px}.tabs{display:flex;gap:7px;border-bottom:1px solid #d4dfe6;margin:24px 0}.tabs button{background:transparent;color:#627786;border-radius:0;padding:15px 18px}.tabs button.active{color:#173c56;border-bottom:3px solid #df9d30}.tabs span{background:#e2eaf0;padding:2px 6px;border-radius:4px;margin-left:7px}.toolbar{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.toolbar label:first-child{flex:1;min-width:180px}.toolbar label:nth-child(2){min-width:180px}.inventory{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:18px}.product{position:relative;background:white;border:1px solid #dce4e9;border-radius:13px;overflow:hidden}.product.selected{border:2px solid #c78a2d}.product label{display:flex;align-items:start;padding:15px;gap:10px;line-height:1.5;font-size:14px;color:#1b374a;cursor:pointer}.product input[type=checkbox]{width:18px;height:18px;flex-shrink:0;margin:1px 0}.product img{width:100%;height:180px;object-fit:contain;background:#fafbfd}.product .meta{margin:0 15px 15px;font-size:12px;color:#667e8f;line-height:1.5}.problem{color:#a14a2c!important}.section-head{display:flex;align-items:start;justify-content:space-between;gap:25px;margin:25px 0}.section-head .hint{max-width:700px}.section-head>div:last-child{flex-shrink:1}.preview,.queue-card{border:1px solid #d7e2e9;background:white;border-radius:14px;padding:24px;margin:18px 0}.preview h3,.queue-card h3{margin:0 0 12px;line-height:1.4;font-size:17px}.copy-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.copy-grid details{padding:14px;background:#f3f6f8;border-radius:8px}.source-copy{white-space:pre-wrap;max-height:300px;overflow:auto;font-size:13px;line-height:1.6}.photo-strip{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0}.photo-choice{width:102px;padding:6px;background:#f6f8fa;border:1px solid #d5e0e7;border-radius:8px;color:#173c56}.photo-choice img{display:block;width:88px;height:88px;object-fit:contain;background:white}.photo-choice span{display:block;font-size:11px;padding:6px 0}.photo-choice.cover{border:2px solid #d69c34}.queue-top{display:flex;align-items:start;justify-content:space-between;gap:20px}.badge{background:#e8f0f4;font-size:11px;font-weight:750;padding:7px 10px;border-radius:20px;white-space:nowrap}.badge.live{background:#d6ede2;color:#256345}.badge.error,.badge.stale,.badge.remove_needed{background:#f9e2d5;color:#8d3826}.actions{display:flex;gap:10px;align-items:end;flex-wrap:wrap}.actions label{flex:1;min-width:190px}.actions a{font-size:13px;color:#24658b}footer{padding:30px 24px;text-align:center;color:#6b7f8d;font-size:12px}[hidden]{display:none!important}@media(max-width:900px){.inventory{grid-template-columns:repeat(2,minmax(0,1fr))}.copy-grid{grid-template-columns:1fr}.setup{grid-template-columns:1fr}.section-head{flex-direction:column}.toolbar button{flex:1}.tabs button{padding:13px 8px;font-size:12px}.tabs span{margin-left:2px}}@media(max-width:520px){main{padding:0 16px;margin-top:28px}header{padding:18px 16px}.back{font-size:12px}.inventory{grid-template-columns:1fr}.product img{height:210px}.preview,.queue-card{padding:17px}.queue-top{flex-direction:column;gap:4px}.tabs{gap:0}.tabs button{flex:1}.photo-choice{width:91px}.photo-choice img{width:77px;height:77px}}

.framed-preview{display:block;max-width:100%;width:auto;max-height:440px;object-fit:contain;border-radius:8px;margin:12px auto}.photo-status{min-height:2.6em}.framed-preview[hidden]{display:none}#status[aria-busy=true]{position:sticky;top:0;z-index:20;background:#fff7e7;padding:12px;border:1px solid #e4a644;border-radius:10px}
