@font-face{font-family:KT;src:url('/fonts/KTEditorial-Regular.woff2')}*{box-sizing:border-box}html{color-scheme:dark}body{margin:0;background:#101214;color:#f4f0e7;font:16px/1.55 system-ui,sans-serif}header{display:flex;align-items:center;justify-content:space-between;gap:20px;max-width:1140px;margin:auto;padding:24px max(20px,env(safe-area-inset-right)) 24px max(20px,env(safe-area-inset-left));border-bottom:1px solid #34383a}.brand{font-family:Georgia,serif;letter-spacing:.2em;text-decoration:none;color:inherit;font-size:15px}.brand span{display:block;font:9px system-ui;letter-spacing:.35em;text-align:center}main{max-width:1100px;margin:0 auto;padding:30px 20px calc(35px + env(safe-area-inset-bottom))}h1,h2{font-family:KT,Georgia,serif;font-weight:400;line-height:1.1}h1{font-size:clamp(36px,6vw,62px);margin:14px 0 24px}h2{font-size:27px;margin:10px 0 18px}.eyebrow{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:#c5bba9}.hint{font-size:13px;color:#bdc1c2}.gate{max-width:490px;margin:8vh auto}label{display:block;margin:20px 0 8px;font-weight:550;font-size:14px}button,.button{min-height:48px;padding:12px 18px;background:#f0ece3;color:#17191b;border:1px solid #dedad1;border-radius:13px;font:600 14px system-ui;text-decoration:none;cursor:pointer}button:disabled{opacity:.55;cursor:wait}.secondary{background:transparent;color:inherit;border-color:#65696b}input,textarea,select{width:100%;min-height:50px;font:16px system-ui;background:#191c1e;color:inherit;border:1px solid #64696c;padding:14px;border-radius:12px}textarea{min-height:145px;resize:vertical}form>button{margin-top:20px;width:100%}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #d2bd91;outline-offset:3px}.inventory-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:30px}.inventory-card,.panel{border:1px solid #414648;border-radius:19px;overflow:hidden;background:#1a1d1f}.panel{padding:22px;margin:20px 0}.card-copy{padding:22px}.gallery{display:flex;overflow:auto;scroll-snap-type:x mandatory;gap:8px;min-height:30px}.gallery img{flex:0 0 100%;width:100%;aspect-ratio:4/3;object-fit:cover;scroll-snap-align:start}.description{white-space:pre-wrap;overflow-wrap:anywhere;color:#d0d2d2}.price{font-weight:650}.actions{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.photo-choice{display:inline-block;margin:10px;max-width:140px}.photo-choice img{width:120px;height:100px;object-fit:cover}.photo-choice input{width:24px;min-height:24px}.code-result{font:15px ui-monospace,monospace;overflow-wrap:anywhere;padding:16px;border:1px solid #697071;border-radius:12px;user-select:all}.notice{min-height:26px;overflow-wrap:anywhere}dialog{background:#1a1d1f;color:#f4f0e7;border:1px solid #666;border-radius:20px;max-width:600px;width:calc(100% - 32px);max-height:85dvh;overflow:auto;padding:25px}dialog::backdrop{background:#000b}.bottom-nav{position:sticky;bottom:0;background:#111e;padding:12px 16px calc(12px + env(safe-area-inset-bottom));display:flex;justify-content:center;gap:16px;border-top:1px solid #454849}.bottom-nav a{min-height:44px;padding:10px}.list-row{padding:15px 0;border-bottom:1px solid #444;display:flex;justify-content:space-between;align-items:center;gap:14px}.list-row div{min-width:0}.list-row h2{font-size:23px;margin:0}.list-row p{margin:5px 0;font-size:13px}.sr-only{position:absolute;width:1px;height:1px;clip:rect(0,0,0,0);overflow:hidden}@media(max-width:640px){.inventory-grid{grid-template-columns:1fr}.two-fields{grid-template-columns:1fr}.gate{margin:35px auto}header{padding-top:max(20px,env(safe-area-inset-top))}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

.archive-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px}.archive-card{position:relative;overflow:hidden;aspect-ratio:4/5;background:#24231f;pointer-events:none;user-select:none}.archive-card img{object-fit:cover;width:100%;height:100%;opacity:.35;filter:grayscale(1)}.archive-card span{position:absolute;inset:0;display:grid;place-items:center;color:#ddd6c9;font-size:12px;letter-spacing:.13em}.sold-archive{margin-top:32px}

/* Inventory authoring: selected photos remain local until one atomic save. */
.owner-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:16px;margin:24px 0}.owner-tile{padding:0;overflow:hidden;text-align:left;border-radius:16px}.owner-tile img,.tile-placeholder{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;background:#191c1e}.tile-placeholder{display:grid;place-items:center;color:#bdc1c2}.tile-copy{display:grid;gap:8px;padding:16px;overflow-wrap:anywhere}.tile-copy strong{font:24px KT,Georgia,serif}.tile-copy>span{font-size:12px}.availability{font-weight:700;letter-spacing:.1em}.editor-actions{position:sticky;bottom:80px;background:#1a1d1f;padding:12px 0;z-index:2}.editor-actions [hidden]{display:none!important}@media(max-width:460px){.owner-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tile-copy{padding:12px}.tile-copy strong{font-size:20px}}
.editor-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.editor-heading h2{margin:0}.editor-heading button{flex-shrink:0}.photo-editor{margin:24px 0 28px;padding:18px;background:#131618;border:1px solid #42484b;border-radius:15px}.photo-editor h3{margin:0;font-size:18px;font-weight:600}.upload-label{margin-top:18px}.photo-editor input[type=file]{max-width:100%;padding:12px;font-size:14px}.photo-editor input[type=file]::file-selector-button{min-height:44px;padding:9px 14px;margin-right:10px;border:0;border-radius:9px;background:#f0ece3;color:#17191b;font:600 14px system-ui}.editor-photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:14px;margin-top:16px}.queued-photo,.saved-photo{overflow:hidden;background:#222729;border:1px solid #4a5053;border-radius:12px;min-width:0;margin:0}.queued-photo img,.saved-photo img,.photo-placeholder{display:block;width:100%;height:160px;object-fit:contain;background:#0c0e0f}.photo-placeholder{display:grid;place-items:center;font-size:30px;color:#c5bba9}.photo-copy{padding:12px}.photo-name{margin:0 0 5px;font-size:13px;overflow-wrap:anywhere}.photo-state{font-size:12px;margin:0;color:#d4d9d5;overflow-wrap:anywhere}.photo-copy .hint{font-size:11px;margin:8px 0}.photo-buttons{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.photo-buttons button{padding:8px 12px;min-height:44px;font-size:13px}.photo-error{border-color:#b57c65}.photo-error .photo-state{color:#f0b69d}.saved-photo>span{display:flex;gap:10px;align-items:center;padding:12px;font-size:13px}.saved-photo input{width:22px;min-height:24px;margin:0}.editor-actions>button{flex:1 1 180px}.save-recovery{margin-top:12px}.photo-editor .hint{overflow-wrap:anywhere}@media(max-width:460px){.item-panel{padding:16px}.photo-editor{padding:12px}.editor-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.queued-photo img,.saved-photo img,.photo-placeholder{height:128px}.photo-copy{padding:10px}.editor-heading h2{font-size:25px}.editor-heading button{padding:10px 13px}.photo-buttons button{flex:1;padding:8px}.editor-actions{gap:10px}.editor-actions>button{flex-basis:100%}}
