:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Yu Gothic",sans-serif;color:#233f37;background:#f6f4ee;font-size:15px}*{box-sizing:border-box}body{margin:0}header{max-width:1120px;margin:auto;padding:28px 28px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #dddcd2}.brand{font-family:serif;font-size:31px;letter-spacing:.18em;text-decoration:none;color:inherit}.brand span{display:block;font:9px sans-serif;letter-spacing:.22em;margin-top:5px}.local{font-size:12px;color:#607269}main{max-width:1120px;margin:auto;padding:0 28px}.intro{padding:44px 0 30px;background:radial-gradient(ellipse at 85% 50%,#e5e8dc 0,transparent 55%)}.eyebrow{font-size:10px;letter-spacing:.2em;color:#708276;font-weight:600}h1{font-family:serif;font-weight:500;font-size:44px;line-height:1.45;letter-spacing:.08em;margin:18px 0}p{line-height:1.85;color:#647168;font-size:13px}h2{font-weight:500;font-size:21px;margin:0 0 8px}h3{font-weight:500;font-size:16px;overflow-wrap:anywhere}small{font-size:12px;color:#748077;margin-left:10px}button,.button{font:inherit;font-size:13px;border:1px solid #cbd1c7;background:#fffdf8;color:#233f37;border-radius:7px;min-height:44px;padding:11px 16px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;text-decoration:none}button:hover,.button:hover{background:#e9ede4}.primary{color:white;background:#233f37;border-color:#233f37}.primary:hover{background:#38594b}nav{display:flex;gap:6px;border-bottom:1px solid #d9ddd2;margin-bottom:30px;overflow:auto}nav button{white-space:nowrap;border:0;background:transparent;border-radius:0;padding:15px 20px;color:#788177}nav button.active{color:#233f37;border-bottom:2px solid #233f37}.section-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.section-head p{margin:0}.hint{font-size:11px;color:#7a8075}.filters{display:flex;gap:10px;margin:22px 0}.filters input{flex:1;min-width:0}.filters select{width:155px}input,select,textarea{font:inherit;font-size:14px;padding:12px;border:1px solid #d7dcd0;border-radius:6px;background:#fffdf8;color:#233f37;width:100%;min-height:44px}textarea{min-height:100px;resize:vertical}.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.empty{grid-column:1/-1;text-align:center;border:1px dashed #cbd1c3;padding:50px 20px;border-radius:10px;background:#faf9f4}.empty .symbol{font-size:42px;color:#95a28e}.card{background:#fffdf8;border:1px solid #e0e3d8;border-radius:10px;overflow:hidden}.photo{width:100%;aspect-ratio:4/5;object-fit:contain;background:#eeeee6;display:block}.card-body{padding:14px}.card-body h3{margin:0 0 8px}.tags{font-size:11px;color:#71806d;line-height:1.8}.actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.actions button{flex:1;padding:9px}.selected{outline:2px solid #577458}.selection{position:sticky;bottom:14px;z-index:2;margin-top:20px;display:flex;align-items:center;gap:10px;padding:14px;background:#e5eadf;box-shadow:0 4px 22px #233f3715;border-radius:8px}.selection span{flex:1}.collage{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));background:#eeeee6;gap:2px}.collage img{width:100%;height:140px;object-fit:contain}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;max-width:680px;margin:20px 0}label{font-size:12px;line-height:1.8}label input,label select,label textarea{margin-top:5px}.wide{grid-column:1/-1}.backup{margin:35px 0;padding:25px;background:#ebece3;border-radius:8px}.consult{margin:48px 0 20px;border-top:1px solid #d8ddd1;border-bottom:1px solid #d8ddd1;padding:30px 0;display:flex;align-items:center;justify-content:space-between;gap:25px}footer{text-align:center;font-size:10px;color:#7a8075;line-height:2;padding:16px 0 30px}dialog{border:1px solid #d7dcd0;border-radius:12px;padding:24px;width:min(580px,calc(100% - 24px));max-height:90dvh;color:#233f37;background:#faf9f4}dialog::backdrop{background:#15291fc0}.dialog-head{display:flex;justify-content:space-between;align-items:center}.dialog-head button{border:0;font-size:24px;background:transparent}dialog form{display:grid;gap:14px;margin-top:15px}dialog .preview{height:160px;max-width:100%;object-fit:contain;display:block;margin:auto}#status{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);padding:14px 20px;border-radius:8px;background:#233f37;color:white;z-index:10;max-width:90%;font-size:13px}#status:empty{display:none}[hidden]{display:none!important}:focus-visible{outline:3px solid #9d7b40;outline-offset:3px}#copy-text{min-height:280px;margin-top:15px}@media(max-width:760px){header{padding:20px}.brand{font-size:27px}main{padding:0 18px}.intro{padding:26px 0 22px}h1{font-size:34px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}nav button{padding:13px 12px;font-size:12px}.section-head h2{font-size:18px}.section-head>.button{padding:10px;white-space:nowrap}.section-head p{font-size:11px}.consult{display:block}.consult button{margin-top:10px;width:100%}.selection{flex-wrap:wrap}.selection span{flex-basis:100%;font-size:12px}.selection button{flex:1;font-size:12px;padding:10px}.card-body{padding:11px}.card-body .actions{gap:5px}.card-body button{font-size:11px;padding:7px}.backup{padding:20px}.collage img{height:110px}}@media(prefers-reduced-motion:no-preference){button,.button{transition:background .15s}}

.scene-panel{background:#eaece2;border-radius:10px;padding:20px;margin:0 0 30px}.scene-panel h2{font-size:18px}.scene-panel p{margin:0 0 12px}.scene-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;max-width:680px}.category-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}.category-tabs button.active{background:#233f37;color:white}.selected-groups{flex-basis:100%;width:100%;display:grid;gap:8px}.selected-group{display:flex;gap:12px;font-size:12px;line-height:1.7;overflow-wrap:anywhere}.selected-group strong{min-width:70px;font-weight:500}.selection{flex-wrap:wrap}.selection>span{flex-basis:100%}@media(max-width:760px){.scene-fields{grid-template-columns:1fr}.category-tabs{gap:6px}.category-tabs button{padding:9px 12px}.scene-panel{padding:16px}}
