:root{color-scheme:dark;--bg:#0d1013;--panel:#171c21;--line:#2b343c;--ink:#f4f4f1;--muted:#9eabb4;--accent:#f5a623;--green:#7fdbc0}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.5 system-ui,-apple-system,sans-serif}header{height:72px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:0 4vw}a{color:inherit;text-decoration:none}.brand{font-weight:800;letter-spacing:2px}.brand span{font-size:10px;font-weight:500;color:var(--muted)}main{max-width:1600px;margin:auto;padding:34px 4vw 60px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(30px,4vw,46px);letter-spacing:-1.8px;line-height:1.12;margin-bottom:9px}h2{font-size:26px;letter-spacing:-.8px;margin-bottom:8px}h3{font-size:18px;letter-spacing:-.3px;margin-bottom:7px}p{color:var(--muted)}.eyebrow{font:10px/1.5 ui-monospace,monospace;letter-spacing:1.8px;color:var(--accent);margin-bottom:10px}.top{display:flex;justify-content:space-between;align-items:flex-end;gap:20px}.top p:last-child{margin-bottom:0}.actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}button,.button,summary.button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:10px 14px;border:1px solid var(--line);border-radius:7px;background:transparent;color:var(--ink);font:inherit;font-size:13px;cursor:pointer;text-align:center;white-space:nowrap}button:hover,.button:hover{border-color:var(--accent)}button:disabled{opacity:.45;cursor:wait}.primary{background:var(--accent);border-color:var(--accent);color:#241705;font-weight:700}.secondary{background:var(--panel)}.wide{width:100%}.icon-button{font-size:24px;padding:3px 10px;min-width:36px;min-height:36px}.text-button{border:0;color:var(--muted);font-size:12px}.danger{color:#ff9c94}.status{display:flex;justify-content:space-between;color:var(--muted);font-size:12px;border-top:1px solid var(--line);padding-top:14px;margin:26px 0 24px}#saveState{color:var(--green)}.layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:30px;align-items:start}.sidebar{position:sticky;top:20px;min-width:0}.side-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.side-heading h2{font-size:15px;letter-spacing:0;margin:0}.section-list{max-height:600px;overflow:auto;margin:12px 0 16px;padding-right:3px}.section-row{display:flex;width:100%;align-items:center;gap:11px;text-align:left;padding:11px 8px;white-space:normal;margin-bottom:5px}.section-row.active{border-color:var(--accent);background:#2b251b}.section-thumb{width:43px;height:43px;background:white;flex-shrink:0;border-radius:5px;object-fit:contain;padding:3px}.section-row strong,.section-row small{display:block}.section-row strong{font-size:13px}.section-row small{color:var(--muted);font-size:10px;margin-top:3px}.workspace{min-width:0}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:15px}.shared-prices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:24px 0 32px;padding:18px 22px;border:1px solid var(--line);border-radius:10px;background:var(--panel)}.shared-prices span,.shared-prices small{display:block;font-size:11px;color:var(--muted)}.shared-prices b{display:block;font-size:21px;margin-top:5px;font-weight:600}.shared-prices small{margin-top:4px;font-size:10px}.products-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:15px}.products-heading h3{margin-bottom:3px}.products-heading p{font-size:12px;margin:0}.item-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(205px,1fr));gap:16px}.item-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid var(--line);background:var(--panel);border-radius:10px;cursor:pointer;text-align:left;padding:0;white-space:normal;min-height:310px}.item-card:hover{border-color:var(--accent);transform:translateY(-2px)}.card-photo{height:170px;background:#fff;width:100%;display:flex;align-items:center;justify-content:center;position:relative}.card-photo img{width:100%;height:100%;object-fit:contain;padding:16px}.card-photo.empty-photo{background:#20272e;color:var(--muted);font-size:12px;gap:8px;flex-direction:column}.empty-photo span:first-child{font-size:31px;line-height:1}.card-content{padding:14px;width:100%;flex:1}.card-code{color:var(--muted);font:10px/1.5 ui-monospace,monospace}.card-name{font-size:14px;font-weight:650;margin:7px 0 13px;line-height:1.3}.card-price{display:flex;align-items:center;justify-content:space-between;gap:7px}.card-price b{font-size:18px}.price-tag{font-size:9px;background:#2c342f;color:var(--green);padding:3px 5px;border-radius:4px;white-space:nowrap}.price-tag.custom{color:var(--accent);background:#352b1b}.card-retail{color:var(--muted);font-size:10px;margin-top:5px}.add-card{min-width:0;white-space:normal;min-height:310px;border:1px dashed #53606a;border-radius:10px;color:var(--muted);flex-direction:column;gap:12px;background:transparent}.add-card span{font-size:35px;font-weight:200}.library{margin-top:26px;border-top:1px solid var(--line);padding-top:18px}summary{cursor:pointer;color:var(--muted);font-size:12px}.library p{font-size:12px;margin:12px 0}.library-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(65px,1fr));gap:8px;margin:12px 0}.library-grid button{padding:0;height:76px;overflow:hidden;background:white;border-radius:6px}.library-grid img{width:100%;height:100%;object-fit:contain;padding:5px}.library-grid span{font-size:10px}.library-grid .selected{outline:3px solid var(--accent)}.empty{padding:65px 24px;text-align:center;background:var(--panel);border:1px dashed var(--line);border-radius:12px}.empty>span{font-size:48px;color:var(--accent)}.empty p{max-width:400px;margin:0 auto 22px}.gate{max-width:600px;margin-top:50px}.gate h1{font-size:58px}.gate .button{margin-top:20px}#catalogChoices button{display:block;margin-top:12px}.notice{background:#35251e;border:1px solid #835b42;color:#ffd1b7;padding:12px 16px;border-radius:7px;font-size:13px}.menu{position:relative}.menu>div{position:absolute;right:0;top:48px;width:190px;padding:8px;border:1px solid var(--line);border-radius:9px;background:var(--panel);z-index:30;box-shadow:0 10px 30px #0008}.menu button{display:block;text-align:left;width:100%;border:0}label{display:block;font-size:12px;color:var(--muted);margin-bottom:17px}input,textarea,select{display:block;width:100%;margin-top:7px;padding:11px 12px;color:var(--ink);background:var(--bg);border:1px solid var(--line);border-radius:6px;font:inherit;font-size:14px}input:focus,textarea:focus,select:focus{outline:2px solid var(--accent);outline-offset:2px}textarea{resize:vertical}fieldset{margin:0;padding:0;border:0}fieldset:disabled{opacity:.45}.optional{font-size:10px;color:#778792;margin-left:6px}.check{display:flex;gap:9px;align-items:center;margin-bottom:8px;color:var(--ink)}.check input{width:auto;margin:0;accent-color:var(--accent)}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.section-pricing{padding:18px;background:var(--bg);border:1px solid var(--line);border-radius:9px;margin-bottom:22px}.section-pricing p{font-size:12px}.section-pricing input,.section-pricing select{background:var(--panel)}dialog{width:min(560px,calc(100% - 28px));max-height:calc(100dvh - 36px);padding:28px;background:var(--panel);color:var(--ink);border:1px solid #43515b;border-radius:14px;overflow:auto;box-shadow:0 30px 120px #000a}dialog::backdrop{background:#05080bd0;backdrop-filter:blur(3px)}.item-dialog{width:min(800px,calc(100% - 28px))}.dialog-heading{display:flex;justify-content:space-between;align-items:start;gap:15px;margin-bottom:26px}.dialog-heading h2{font-size:26px}.dialog-heading .eyebrow{margin-bottom:6px}.item-form-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:30px}.drop-photo{height:270px;border:1px dashed #56636c;border-radius:10px;display:flex;flex-direction:column;justify-content:center;align-items:center;background:var(--bg);cursor:pointer;overflow:hidden;padding:14px;margin-bottom:12px}.drop-photo.dragging{border-color:var(--accent);background:#302718}.drop-photo.has-photo{background:white;padding:10px}.drop-photo.has-photo #photoHint{display:none}#itemPhoto{width:100%;height:100%;display:flex;align-items:center;justify-content:center}#itemPhoto img{width:100%;height:100%;object-fit:contain}#itemPhoto span{font-size:52px;color:var(--muted)}#photoHint{font-size:12px;color:var(--muted);text-align:center}.small{font-size:11px;text-align:center}.photo-column .library{margin-top:15px}.price-choice{padding:13px;border:1px solid var(--line);border-radius:8px;background:var(--bg);margin-bottom:18px}.price-choice p{font-size:11px;margin:0 0 0 25px}.form-tip{font-size:11px;border-left:2px solid var(--accent);padding-left:10px}.dialog-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-top:20px;margin-top:20px;border-top:1px solid var(--line)}.dialog-footer>div{display:flex;gap:8px}.preview-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px}.preview-toolbar p{margin:0;font-size:12px}#preview{overflow-x:auto}#printCatalog{margin:auto;background:#fff;color:#1b1b1b;padding:30px;max-width:950px}#printCatalog.approved{padding:0;background:transparent;max-width:none;font-family:"Helvetica Neue",Arial,sans-serif;font-size:16px;line-height:normal}.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}[hidden]{display:none!important}@media(max-width:1000px){.top{align-items:start;flex-direction:column}.layout{grid-template-columns:210px minmax(0,1fr);gap:20px}.item-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}}@media(max-width:680px){main{padding:25px 16px}.layout{grid-template-columns:minmax(0,1fr)}.sidebar{position:static}.section-list{display:flex;max-height:none;overflow-x:auto;gap:8px;padding-bottom:8px}.section-row{width:180px;flex-shrink:0}.side-heading{margin-bottom:9px}#addSectionBottom{display:none}.section-heading{align-items:start}.section-heading button{font-size:10px;white-space:normal;max-width:140px}.shared-prices{padding:14px 12px;gap:8px;margin:18px 0 24px}.shared-prices b{font-size:16px}.shared-prices span{font-size:10px}.shared-prices small{display:none}.item-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.item-card,.add-card{min-height:275px}.card-photo{height:130px}.card-content{padding:11px}.card-name{font-size:12px}.card-price{align-items:start;flex-direction:column}.card-price b{font-size:16px}.item-form-layout{grid-template-columns:1fr}.photo-column{max-width:100%}.drop-photo{height:220px}.item-dialog{padding:20px}.item-dialog .library-grid{grid-template-columns:repeat(4,1fr)}.two-fields{gap:0 10px}.top .actions{width:100%}.brand span{display:none}header{padding:0 16px}.preview-toolbar{flex-wrap:wrap}.gate h1{font-size:46px}.products-heading p{max-width:170px}.products-heading button{font-size:12px}}@page{size:Letter;margin:.3in}@media print{:root{color-scheme:light;background:#fff!important}html,body{background:#fff!important}header,#gate,#studio,.preview-toolbar,dialog{display:none!important}main{padding:0;max-width:none}#preview{display:block!important;overflow:visible}#printCatalog{padding:0;max-width:none}}

/* Arcbay workspace chrome; the printed catalog keeps its approved Letter layout. */
:root{color-scheme:light;--bg:#f3f6f6;--panel:#fff;--line:#d7e1e3;--ink:#102832;--muted:#536b74;--accent:#087d91;--green:#136c54}body{background:var(--bg)}.brand{font-size:24px;letter-spacing:-1px}.brand span{letter-spacing:1.4px;margin-left:12px}.primary{color:#fff}.section-row.active{background:#e7f4f5}.notice{background:#fff2e9;border-color:#dba782;color:#813f1a}.danger{color:#a82b2b}.card-photo.empty-photo{background:#eaf0f1}.price-tag{background:#e8f5ee;color:#18654b}.price-tag.custom{background:#e2f1f4;color:#08697c}.price-choice,.section-pricing{background:#f4f7f7}.drop-photo.dragging{background:#e5f5f6}.menu>div{box-shadow:0 12px 35px #122e3520}dialog{box-shadow:0 24px 90px #10283240;border-color:#b7cccf}dialog::backdrop{background:#0c263777}.item-card:hover{transform:none}button,.button,summary.button{min-height:44px}button:focus-visible,a:focus-visible,summary:focus-visible,[role=button]:focus-visible{outline:3px solid #087d91;outline-offset:3px}h1,h2,h3,.card-name,.section-row strong{overflow-wrap:anywhere}.card-retail,.shared-prices b,.shared-prices span{overflow-wrap:anywhere}.item-dialog .dialog-footer>div{flex-wrap:wrap}.preview-toolbar{position:sticky;top:0;background:var(--bg);z-index:30;padding:12px 0}#preview{max-width:100%}.section-list{overscroll-behavior:contain}.section-row span:last-child{min-width:0}.icon-button svg,.add-card svg,.empty svg,#itemPhoto svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7}.add-card svg,.empty svg,#itemPhoto svg{width:36px;height:36px}header .brand{white-space:nowrap}.gate h1{font-size:clamp(36px,7vw,58px)}#notice{scroll-margin-top:20px}.top .actions{min-width:0}@media(max-width:680px){header{gap:12px}.top .actions>*{flex:1 1 auto}.top .actions .menu{flex:0 0 auto}.top .actions button{white-space:normal}.shared-prices{grid-template-columns:1fr;gap:12px}.shared-prices>div{display:grid;grid-template-columns:1fr 1fr;align-items:center}.shared-prices b{margin:0;text-align:right}.dialog-footer{align-items:stretch;flex-direction:column}.dialog-footer>div{justify-content:flex-end}.section-heading{gap:10px}dialog,.item-dialog{padding:18px;max-width:calc(100% - 20px)}.two-fields{grid-template-columns:1fr}.item-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.products-heading button{white-space:normal;max-width:140px}.card-retail{font-size:11px}.status{gap:12px;flex-wrap:wrap}}@media(max-width:360px){.item-grid{grid-template-columns:minmax(0,1fr)}.products-heading{flex-wrap:wrap}.section-heading{flex-wrap:wrap}}@media print{.preview-toolbar{display:none!important}}

.card-photo svg{width:32px;height:32px;fill:none;stroke:currentColor;stroke-width:1.7}
/* Keep form hints legible on both the editor canvas and white dialogs. */
input::placeholder,textarea::placeholder{color:var(--muted);opacity:1}
/* Functional labels stay readable on compact screens; colors use the existing theme. */
.optional{color:var(--muted);font-size:12px}
h1{letter-spacing:-.035em}h2{letter-spacing:-.03em}
.eyebrow,.brand span,.section-row small,.section-heading button,.shared-prices span,.shared-prices small,.card-retail,.small,.price-choice p,.form-tip,.library-grid span{font-size:12px}
.card-code,.price-tag{font-size:11px}
#photoProgress.notice{background:#e9f4f6;border-color:#b6d3d9;color:#0f3c47}
