:root{--ivory:#f7f2ec;--wine:#980b2f;--rose:#c99595;--sand:#d8c6b5;--ink:#4a3532;--paper:#fffbf7;--line:#e4d7cc;color:var(--ink);background:var(--ivory);font:15px/1.55 "DejaVu Sans",Arial,sans-serif}*{box-sizing:border-box}body{margin:0;min-height:100vh;display:flex;flex-direction:column}.wrap{width:min(1120px,calc(100% - 48px));margin-inline:auto}.bar{background:var(--ivory);border-bottom:1px solid var(--line)}.head{min-height:100px;display:flex;align-items:center;justify-content:space-between}.head img{width:138px;mix-blend-mode:darken}.hero{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:36px;min-height:270px;padding:42px 52px;border-radius:19px;background:radial-gradient(ellipse at top right,#a72e50,#770623 69%);color:var(--ivory)}.hero::after,.hero::before{content:"";position:absolute;z-index:-1;border:1px solid #fff3;width:400px;height:400px;border-radius:50%;right:-130px;top:-165px}.hero::before{right:-95px;top:-130px}.eyebrow{font-size:.69rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase}.hero p{color:#f0d8d9;margin-bottom:0}h1,h2,h3{font-family:"DejaVu Serif",Georgia,serif;font-weight:400;line-height:1.12}h1{font-size:clamp(2.35rem,6vw,4.2rem);margin:14px 0}h2{font-size:2rem;margin:0 0 12px}h3{font-size:1.4rem;margin:0}.section{margin:38px 0}.section-head,.actions,.row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.section-head{justify-content:space-between;margin-bottom:16px}.section-head h2{margin:0}.button,button{display:inline-flex;align-items:center;justify-content:center;gap:.5em;border:1px solid transparent;border-radius:8px;padding:10px 15px;background:var(--wine);color:white;font:inherit;font-size:.85rem;font-weight:700;text-decoration:none;cursor:pointer}.button:hover,button:hover{filter:brightness(.94)}button:disabled{opacity:.55;cursor:wait}.light{background:var(--ivory);color:var(--wine)}.outline{background:transparent;border-color:var(--sand);color:var(--wine)}.ghost{background:transparent;color:var(--wine);padding-inline:6px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,245px),1fr));gap:16px}.card,.empty,.panel{border:1px solid var(--line);background:var(--paper);border-radius:13px;padding:22px}.folder{text-align:left;display:flex;justify-content:space-between;align-items:center;width:100%;color:var(--ink)}.folder[aria-pressed=true]{border-color:var(--wine);background:#f6e7e7}.muted{color:#725952;font-size:.86rem}.empty{text-align:center;padding:36px 20px}.empty img{width:70px;mix-blend-mode:multiply}.card p,.empty p{margin:8px 0 14px}.files{list-style:none;padding:0}.files li{margin:12px 0}.file{display:grid;grid-template-columns:100px minmax(0,1fr) auto;align-items:center;gap:15px;padding:10px 14px}.file strong{overflow-wrap:anywhere}.thumb{width:100%;height:65px;object-fit:cover;border-radius:6px;background:#f1e4df}.file a{color:var(--wine)}.upload{padding:22px;border:1px dashed var(--rose);background:#fcf7f2;border-radius:10px;margin-bottom:18px}.upload input{max-width:100%;margin:10px 0}.panel{max-width:480px;margin:50px auto}label{display:block;font-weight:700;margin:0 0 14px}input:not([type=file]){display:block;width:100%;font:inherit;color:inherit;padding:10px;border-radius:7px;border:1px solid var(--sand);background:white;margin-top:5px}dialog{width:min(480px,calc(100% - 32px));background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:15px;padding:26px}dialog::backdrop{background:#32101f88}.viewer{width:min(900px,calc(100% - 24px))}.viewer video,.viewer img{display:block;max-height:70vh;max-width:100%;margin:14px auto}.viewer video{width:100%}footer{margin-top:auto;padding-block:24px;border-top:1px solid var(--line);font-size:.8rem;display:flex;justify-content:space-between;gap:12px}#app{padding-bottom:28px}#notice:not(:empty){position:fixed;bottom:20px;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 32px);background:#4a242e;color:white;padding:12px 18px;border-radius:8px;z-index:5}:focus-visible{outline:2px solid var(--wine);outline-offset:3px}@media(max-width:640px){.wrap{width:calc(100% - 30px)}.head{min-height:76px}.head img{width:116px}.hero{padding:26px 22px;min-height:220px;align-items:flex-start;flex-direction:column;margin-top:20px}.file{grid-template-columns:62px 1fr}.file .actions{grid-column:2}.section{margin:26px 0}.thumb{height:52px}}
.file{grid-template-columns:34px 100px minmax(0,1fr) auto}.file-select{display:grid;place-items:center;margin:0;min-height:40px;cursor:pointer}.file-select input{width:18px;height:18px;accent-color:var(--wine);cursor:pointer}.preview-controls{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}.photo-slide{touch-action:pan-y pinch-zoom}.viewer [hidden]{display:none}.viewer h2{overflow-wrap:anywhere}.selection{margin-bottom:16px}
@media(max-width:640px){.file{grid-template-columns:28px 62px minmax(0,1fr);gap:8px}.file .actions{grid-column:2 / -1}}
.sale-panel{max-width:560px}.pix-image{display:block;max-width:min(100%,330px);height:auto;margin:0 auto 14px}.order-link{margin:18px 0}.order-link button,.sale-panel .actions{margin-top:10px}
