:root{color-scheme:light;--blue:#0754df;--ink:#10234d;--muted:#596b85;--bg:#f5f8ff}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.5 system-ui,sans-serif}header{max-width:1100px;margin:auto;display:flex;justify-content:space-between;align-items:center;padding:20px;gap:12px}.brand{display:flex;align-items:center;gap:10px;color:var(--ink);font-weight:800;font-size:23px;text-decoration:none}main{max-width:1060px;margin:auto;padding:10px 20px 110px}h1{font-size:clamp(28px,5vw,44px);line-height:1.15;margin:24px 0 12px}h2{line-height:1.25}p{color:var(--muted)}button,.button{display:inline-block;background:var(--blue);border:0;color:white;padding:12px 18px;border-radius:12px;font:inherit;font-weight:650;cursor:pointer;text-decoration:none}button:disabled{opacity:.5;cursor:wait}.secondary{color:var(--blue);background:#e8efff}#tabs{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0}input,select,textarea{width:100%;font:inherit;color:var(--ink);border:1px solid #b8c5dc;border-radius:10px;background:white;padding:11px}header select{width:auto}label{display:block;margin:12px 0;font-weight:600}label small{display:block;font-weight:400;color:var(--muted)}textarea{min-height:110px}input[type=checkbox]{width:auto;margin-right:8px}fieldset{border:0;padding:0;margin:0}form,.panel{background:white;border:1px solid #dfe6f3;border-radius:20px;padding:22px;margin:16px 0}.fields,.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px}.card{background:white;border:1px solid #dfe6f3;border-radius:18px;overflow:hidden}.card-body{padding:18px}.card h2{margin:0 0 8px}.card img,.hero{width:100%;height:220px;object-fit:cover;background:#e1e9f6}.hero{height:clamp(220px,40vw,440px);border-radius:20px}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.tag{display:inline-block;background:#e9f1ff;color:#2456a0;border-radius:20px;padding:5px 12px;margin:5px 5px 5px 0;font-size:14px}.empty{padding:35px;background:white;border-radius:20px}.metrics{display:flex;flex-wrap:wrap;gap:20px;background:#f4f7ff;padding:16px;border-radius:12px}.metrics strong{display:block;font-size:26px}#notice:not(:empty){position:sticky;top:0;z-index:2;background:#fff4c9;border:1px solid #ddc46e;padding:14px;border-radius:12px}footer{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:center;gap:24px;background:white;border-top:1px solid #dfe6f3;padding:18px}footer a{color:var(--blue);font-size:14px;text-decoration:none}:focus-visible{outline:3px solid #f2bd00;outline-offset:3px}dt{font-weight:bold;margin-top:14px}dd{margin:3px 0;color:var(--muted);white-space:pre-line}small{color:var(--muted)}@media(max-width:600px){.fields,.grid{grid-template-columns:1fr;gap:0}header{padding:14px}.brand{font-size:19px}.brand img{width:34px;height:34px}main{padding:10px 14px 100px}form,.panel{padding:16px}footer{gap:18px}}
fieldset{margin:10px 0 28px;padding:12px 0 20px;border-bottom:1px solid #dfe6f3}legend{font-size:23px;font-weight:750}details{margin:16px 0;padding:14px;background:#f5f8ff;border-radius:12px}summary{font-weight:650;cursor:pointer}.photo-editor{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px;margin-top:16px}.photo-choice{border:1px solid #dfe6f3;border-radius:12px;padding:8px;display:flex;flex-direction:column;gap:8px}.photo-choice img{width:100%;height:120px;object-fit:cover;border-radius:8px}.photo-choice button{font-size:14px;padding:8px}.photo-choice [aria-pressed=true]{background:var(--blue);color:white}.thumbnails{display:flex;gap:8px;overflow:auto;padding:10px 3px}.thumbnails button{flex:none;padding:3px}.thumbnails img{width:74px;height:56px;object-fit:cover;border-radius:8px}.thumbnails [aria-pressed=true]{outline:3px solid var(--blue)}.gallery .actions{align-items:center;justify-content:center}.gallery .hero{touch-action:pan-y}.booking-row{padding:10px 14px;border:1px solid #dfe6f3;border-radius:12px;margin-bottom:12px}.pin-map{height:320px;margin:15px 0;border-radius:12px;background:#e1e9f6;z-index:0}footer{z-index:10}dd{overflow-wrap:anywhere}

/* Compact discovery and Admin review; full property galleries remain unchanged. */
body #content .cards .compact-stay-card{display:grid;grid-template-columns:112px minmax(0,1fr);padding:10px;gap:14px;align-items:start;border-radius:18px}
body #content .cards .compact-stay-card>img{display:block;width:112px;height:136px;min-height:0;max-height:136px;border-radius:12px;object-fit:cover}
body #content .cards .compact-stay-card .card-body{padding:2px 0!important;min-width:0}
body #content .cards .compact-stay-card h2{font-size:18px;line-height:1.25;margin:0 0 5px;overflow-wrap:anywhere}
body #content .cards .compact-stay-card p{font-size:13px;margin:5px 0;overflow-wrap:anywhere}
body #content .cards .compact-stay-card .tag{font-size:11px;padding:2px 7px;margin:2px 3px 2px 0}
body #content .cards .compact-stay-card button{min-height:44px;padding:10px 14px;font-size:14px;margin-top:4px}
body #content .cards .compact-stay-card:not(:has(>img)){grid-template-columns:1fr}
body details.admin-stay{padding:0;background:white;overflow:hidden;margin:12px 0}
.admin-stay-summary{display:flex;align-items:center;gap:14px;list-style:none;min-height:104px;padding:14px}
.admin-stay-summary::-webkit-details-marker{display:none}
.admin-stay-summary>img{width:80px;height:80px;border-radius:10px;object-fit:cover;flex:none}
.admin-stay-heading{display:block;flex:1;min-width:0;overflow-wrap:anywhere}
.admin-stay-heading strong{display:block;font-size:18px;line-height:1.25}
.admin-stay-location{display:block;font-size:13px;font-weight:400;color:var(--muted);margin-top:4px}
.admin-stay-open{font-size:13px;color:var(--blue);text-align:right;flex:none}
.admin-stay-open:after{content:' ＋'}
.admin-stay[open]>.admin-stay-summary .admin-stay-open:after{content:' −'}
.admin-stay[open]>.admin-stay-summary{border-bottom:1px solid #dfe6f3}
.admin-stay-details{padding:18px}
.admin-stay-details .gallery .hero{height:260px;min-height:0;object-fit:contain}
.admin-stay-details .gallery .actions button{min-height:44px}
.admin-stay-summary:focus-visible{outline-offset:-4px}
@media(max-width:380px){body #content .cards .compact-stay-card{grid-template-columns:88px minmax(0,1fr);gap:10px}body #content .cards .compact-stay-card>img{width:88px;height:120px}body #content .cards .compact-stay-card h2{font-size:16px}.admin-stay-summary{gap:10px;padding:12px}.admin-stay-summary>img{width:60px;height:72px}.admin-stay-open{font-size:12px;max-width:54px}.admin-stay-heading strong{font-size:16px}.admin-stay-details{padding:12px}}

.affiliate-editor>p{font-size:14px}.affiliate-link-row{padding:14px;border:1px solid #dfe6f3;border-radius:12px;margin:14px 0}.affiliate-link-row legend{font-size:16px;padding:0 6px}.affiliate-source{overflow-wrap:anywhere;font-size:13px}.affiliate-save-status{font-size:14px;margin-bottom:0}.affiliate-save-status:empty{display:none}

body #content .owner-stay-panel{max-width:680px;margin:16px auto;overflow:hidden}
body #content .owner-stay-panel>.owner-stay-cover{display:block;width:100%;height:200px;object-fit:cover;border-radius:12px;margin-bottom:14px}
body #content .owner-stay-panel .metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:12px;font-size:13px;overflow-wrap:anywhere}
/* v8 accommodation proportions, using the real listing photo and existing actions. */
body #content .cards .compact-stay-card{grid-template-columns:minmax(0,40%) minmax(0,1fr);padding:0;gap:0;min-height:210px;overflow:hidden;align-items:stretch}
body #content .cards .compact-stay-card>img{width:100%;height:100%;min-height:210px;max-height:none;border-radius:0;object-fit:cover}
body #content .cards .compact-stay-card .card-body{padding:14px!important;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
body #content .cards .compact-stay-card .card-body h2{font-size:18px}
body #content .cards .compact-stay-card:not(:has(>img)){grid-template-columns:1fr}
@media(min-width:760px){body #content .cards:has(.compact-stay-card){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:380px){body #content .cards .compact-stay-card .card-body{padding:10px!important}body #content .cards .compact-stay-card .card-body h2{font-size:16px}}
body #content .cards .compact-stay-card .stay-title-link{padding:0;margin:0;background:none;border:0;border-radius:0;color:inherit;text-align:left;font:inherit;font-weight:750;min-height:44px}body #content .cards .compact-stay-card>img[role=button]{cursor:pointer}body #content .cards .compact-stay-card>img[role=button]:focus-visible{outline:3px solid #0863ee;outline-offset:-4px}
