.sdc{--forest:#183f33;--gold:#b29250;--paper:#faf5e9;--ink:#243b33;--muted:#5b685f;max-width:1180px;margin:24px auto;padding:20px;color:var(--ink);font:16px/1.55 system-ui,sans-serif}.sdc *{box-sizing:border-box}.sdc a{color:#20563f}.sdc h1,.sdc h2,.sdc h3,.sdc h4{font-family:Georgia,serif;color:var(--forest);line-height:1.2}.sdc h1{font-size:clamp(28px,4vw,44px);margin:0 0 8px}.sdc .brand{display:flex;gap:24px;align-items:center;border:2px solid var(--gold);border-radius:8px;background:var(--paper);padding:22px}.sdc .brand img{width:132px;height:132px;object-fit:contain}.sdc .brand p{margin:0}.sdc nav{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.sdc nav a,.sdc .tabs button{padding:8px 13px;border:1px solid #c2c8bc;border-radius:4px;text-decoration:none;background:#fff;color:var(--forest)}.sdc .tabs button.active{background:var(--forest);color:#fff}.sdc .tabs{display:flex;gap:6px;flex-wrap:wrap;margin:20px 0}.sdc button,.sdc .button{font:600 14px system-ui;display:inline-block;border:1px solid var(--forest);border-radius:5px;background:var(--forest);color:#fff;padding:11px 17px;cursor:pointer;text-decoration:none}.sdc button.secondary{background:var(--paper);color:var(--forest);border-color:var(--gold)}.sdc button.danger{background:#8d352e;border-color:#8d352e}.sdc button:disabled{opacity:.55;cursor:wait}.sdc :focus-visible{outline:3px solid #ba791d;outline-offset:3px}.sdc input:not([type=checkbox]):not([type=range]),.sdc select,.sdc textarea{font:inherit;display:block;width:100%;min-height:42px;border:1px solid #9ea99f;border-radius:5px;background:#fff;padding:9px;color:#182e23}.sdc textarea{min-height:105px}.sdc label{display:block;font-size:13px;font-weight:650;margin:10px 0}.sdc label input,.sdc label select,.sdc label textarea{margin-top:5px}.sdc input[type=checkbox]{margin-right:7px}.sdc .fields,.sdc .filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:14px;align-items:end}.sdc .wide{grid-column:1/-1}.sdc .grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}.sdc .drawer{border:2px solid var(--gold);box-shadow:inset 0 0 0 5px var(--paper),0 3px 6px #183f330d;border-radius:5px;background:linear-gradient(135deg,#fffcf2,#eee3c8);padding:22px;min-height:160px;color:var(--forest);text-decoration:none;display:block;position:relative}.sdc .drawer:before{content:'';display:block;width:38px;height:9px;margin:0 auto 16px;background:#987941;border:2px solid #705b30;border-radius:2px;box-shadow:0 2px 3px #0002}.sdc .drawer h3{font-size:21px;margin:8px 0}.sdc .drawer .badge{margin-top:12px}.sdc .badge{font-size:11px;text-transform:uppercase;letter-spacing:.07em;padding:4px 7px;background:#e0e9dc;border-radius:3px;display:inline-block}.sdc .badge.empty{background:#eee6d5}.sdc .card,.sdc article,.sdc details{border:1px solid #d7d3c5;background:#fffef9;border-radius:6px;padding:20px;margin:16px 0}.sdc summary{cursor:pointer;font-weight:700;color:var(--forest)}.sdc .empty-state{padding:28px;border:1px dashed var(--gold);background:var(--paper);border-radius:5px}.sdc .muted,.sdc small{color:var(--muted)}.sdc .actions{display:flex;gap:9px;flex-wrap:wrap;align-items:center;margin:14px 0}.sdc .lot{display:grid;grid-template-columns:minmax(180px,36%) 1fr;gap:26px;border-top:3px solid var(--gold)}.sdc .lot h3{font-size:25px}.sdc .main-photo{width:100%;max-height:340px;object-fit:contain;background:#f2f0e8;cursor:zoom-in}.sdc .thumbs{display:flex;flex-wrap:wrap;gap:7px;margin:8px 0}.sdc .thumbs button{padding:0;background:white;border:1px solid #bbb}.sdc .thumbs img{width:64px;height:64px;object-fit:cover}.sdc .price{font:700 30px Georgia,serif;color:var(--forest);margin:10px 0}.sdc dl{display:grid;grid-template-columns:minmax(110px,1fr) 2fr;gap:5px 15px;font-size:14px}.sdc dt{font-weight:650}.sdc dd{margin:0}.sdc .message{white-space:pre-wrap;border-left:3px solid #9b9b89;background:var(--paper);padding:14px;margin:12px 0}.sdc .message.owner{border-color:var(--forest);background:#eaf0e6}.sdc .metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px}.sdc .metric{padding:18px;border:1px solid #d4c7a7;background:var(--paper)}.sdc .metric strong{display:block;font:36px Georgia,serif;color:var(--forest)}.sdc .notice{padding:13px 18px;background:#e9f2e6;border-left:4px solid #356944;margin:16px 0;white-space:pre-wrap}.sdc .notice.error{background:#fbe9e3;border-color:#963f2f}.sdc .notice:empty{display:none}.sdc table{border-collapse:collapse;width:100%;font-size:13px}.sdc th,.sdc td{text-align:left;border-bottom:1px solid #ddd9ca;padding:10px;vertical-align:top}.sdc .table-scroll{overflow:auto}.sdc .book{background:var(--forest);color:var(--paper);padding:24px;display:flex;gap:24px;align-items:center;margin:28px 0}.sdc .book h3,.sdc .book a,.sdc .book small{color:inherit}.sdc .book img{max-width:100px;max-height:160px;object-fit:contain}.sdc .hp{position:absolute;left:-9999px;opacity:0}.sdc-dialog{border:2px solid #b29250;border-radius:8px;width:min(1040px,96vw);max-height:94vh;padding:0;overflow:auto;background:#faf5e9}.sdc-dialog::backdrop{background:#102319cc}.sdc-dialog .sdc{margin:0;padding:22px}.sdc-dialog .dialog-head{display:flex;justify-content:space-between;align-items:center;gap:16px}.sdc-dialog canvas{max-width:100%;background:white;touch-action:none;border:1px solid #aaa}.sdc-dialog .viewer{height:65vh;overflow:auto;display:flex;align-items:flex-start;justify-content:flex-start;background:#e9e5d9;touch-action:pan-x pan-y}.sdc-dialog .viewer img{max-width:none;height:auto;flex-shrink:0}.sdc-dialog .comparison{display:grid;grid-template-columns:1fr 1fr;gap:10px}.sdc-dialog .comparison .viewer{height:50vh}.sdc-dialog .qr svg{display:block;max-width:100%;height:auto;margin:20px auto;background:white}.sdc-dialog .qr{max-width:340px;margin:auto}.sdc-footer{text-align:center;font-size:12px;padding:20px}.sdc .photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px}.sdc .photo-grid img{width:100%;height:130px;object-fit:contain}.sdc .photo-grid .card{padding:10px;margin:0}.sdc .photo-grid button{font-size:12px;padding:6px;margin:2px}.sdc .pagination{display:flex;justify-content:center;gap:14px;margin:24px}.sdc .prose{white-space:pre-wrap}.sdc .split{display:grid;grid-template-columns:1.4fr 1fr;gap:24px}.sdc .totals{font-size:17px}.sdc .totals dd{text-align:right}.sdc .test-mode{padding:9px;background:#fff1cc;border:1px solid #b29250}.sdc .label-sheet{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.sdc .physical-label{border:2px solid var(--gold);padding:15px;text-align:center;break-inside:avoid}.sdc .physical-label svg{max-width:100%;height:auto}.sdc .physical-label h3{font-size:18px}.sdc .physical-label small{word-break:break-all}@media(max-width:700px){.sdc{padding:12px}.sdc .brand{gap:14px;padding:14px}.sdc .brand img{width:85px;height:85px}.sdc .lot,.sdc .split{grid-template-columns:1fr}.sdc .grid{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}.sdc .filters{grid-template-columns:1fr 1fr}.sdc .filters .wide{grid-column:1/-1}.sdc-dialog .comparison{grid-template-columns:1fr}.sdc .label-sheet{grid-template-columns:1fr 1fr}.sdc dl{grid-template-columns:1fr 1.5fr}}@media print{body>*:not(dialog){display:none!important}.sdc-dialog{display:block;position:static;width:100%;max-height:none;border:0}.sdc-dialog .actions,.sdc-dialog .dialog-head button{display:none}.sdc .physical-label{break-inside:avoid}.sdc-dialog::backdrop{display:none}}
body.sdc-storefront{background:#f3f0e6;margin:0}.sdc-storefront #sdc-content{background:#fffef9;min-height:85vh;padding:12px 0}.sdc-skip{position:absolute;left:-9999px}.sdc-skip:focus{position:fixed;left:12px;top:12px;z-index:100;background:white;padding:10px}.sdc-storefront .sdc{margin:12px auto}.sdc-storefront .sdc-footer{background:#183f33;color:#faf5e9}.sdc-storefront .sdc-footer a{color:inherit}

/* Standalone wordmark, readable on-screen drawer codes, and in-form product photography. */
.sdc .brand img{width:300px;max-width:48%;height:auto;max-height:115px}.sdc .drawer{margin:0}.sdc .drawer-link{display:block;text-decoration:none;color:var(--forest)}.sdc .drawer-qr{display:flex;gap:14px;align-items:center;padding-top:18px;margin-top:16px;border-top:1px solid #c9b47f}.sdc .drawer-qr>a:not(.button){display:block;flex-shrink:0;background:#fff;padding:0;line-height:0}.sdc .drawer-qr svg{width:132px;height:132px;display:block}.sdc .drawer-qr small{font-size:12px}.sdc .fill-photos{border:1px solid var(--gold);background:var(--paper);padding:20px;border-radius:6px}.sdc .fill-photos h4{font-size:23px;margin:0}.sdc .fill-photos figure{margin:0}.sdc .fill-photos img{width:100%;height:150px;object-fit:contain;background:#fff}.sdc .fill-photos figcaption{font-size:12px}.sdc .fill-photos [role=status]{font-weight:600}.sdc-footer{padding:22px;text-align:center;font:13px/1.8 system-ui;color:#183f33}.sdc-footer a{color:inherit}@media(max-width:600px){.sdc .brand{flex-direction:column;align-items:flex-start}.sdc .brand img{width:290px;max-width:100%;height:auto}.sdc .fill-photos{padding:14px}.sdc .drawer-qr svg{width:144px;height:144px}}

.sdc .grid .drawer-qr{flex-direction:column;align-items:flex-start;gap:8px}.sdc .grid .drawer-qr small{line-height:1.4}

.sdc-return{max-width:1180px;margin:18px auto;padding:0 20px;font:600 15px/1.5 system-ui,sans-serif}.sdc-return a{display:inline-block;color:#183f33;border:1px solid #b29250;border-radius:5px;background:#faf5e9;padding:10px 15px;text-decoration:none}.sdc-return a:hover{text-decoration:underline}.sdc-return a:focus-visible{outline:3px solid #ba791d;outline-offset:3px}.sdc-return-bottom{margin-top:28px;margin-bottom:26px}
