:root{font-family:system-ui,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;color:#242c25;background:#f9f7f2;--orange:#a83c25;--muted:#566158;--line:#e6e1d6}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #42756b;outline-offset:3px}.wrap{width:min(1136px,calc(100% - 48px));margin:auto}header{background:#fffdf8;border-bottom:1px solid var(--line)}.bar{height:72px;display:flex;align-items:center;justify-content:space-between;gap:8px}.brand{font-weight:850;color:inherit;text-decoration:none;display:flex;align-items:center;gap:10px}.brand span{background:#f4dfd4;color:var(--orange);border-radius:11px;padding:7px 10px;font-size:20px}.primary{background:var(--orange);color:white;border:0;border-radius:10px;padding:12px 17px;font-weight:750;min-height:44px}.primary:hover{background:#87311e}.intro{padding:39px 0 27px}.intro p,.records-head p{margin:0 0 8px;color:var(--orange);font-size:14px;font-weight:800}.intro h1{margin:0 0 8px;font-size:clamp(32px,5vw,55px);letter-spacing:-.065em;line-height:1.16}.intro div{color:var(--muted)}.layout{display:grid;grid-template-columns:1.5fr 1fr;gap:20px;margin-bottom:32px}.panel{border:1px solid var(--line);border-radius:19px;background:#fffdf8;overflow:hidden;min-width:0}.map-head{display:flex;align-items:center;justify-content:space-between;padding:16px 23px;gap:10px}.map-head h2{font-size:19px;margin:0}.map-head span,.legend{font-size:14px;color:var(--muted)}.map-panel{background:#e4efea}.map-head,.legend{background:#fffdf8}.map{position:relative;width:min(100%,490px);aspect-ratio:400/440;margin:auto}.map svg{width:100%;height:100%;display:block}.north{position:absolute;top:5%;left:7%;font-size:13px;font-weight:800;color:#526a60}.legend{display:flex;gap:9px;align-items:center;padding:14px 23px}.legend i{background:var(--orange);width:9px;height:9px;border-radius:50%}.map-label,.pin{position:absolute;transform:translate(-50%,-50%);white-space:nowrap}.map-label{font-size:12px;color:#536457;pointer-events:none}.pin{display:flex;align-items:center;gap:5px;border:1px solid #c47d67;border-radius:24px;background:#fffaf4;color:#8b2e1c;font-weight:800;padding:4px 8px;min-height:28px;font-size:13px;box-shadow:0 2px 5px #40251725;z-index:1}.pin:before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}.pin[aria-pressed=true],.pin:hover{background:var(--orange);color:white;z-index:2}.records-head{padding:24px;border-bottom:1px solid var(--line)}.records-head h2{margin:0 0 6px;font-size:28px;letter-spacing:-.045em}.records-head span{color:var(--muted);font-size:14px}#list{padding:12px 18px 20px}.card{width:100%;display:block;text-align:left;background:#fffdf8;border:1px solid var(--line);border-radius:13px;padding:15px;margin:8px 0;color:inherit;overflow-wrap:anywhere}.card:hover{border-color:var(--orange);background:#fff8ef}.card strong{display:block;font-size:19px}.card small{display:block;color:var(--orange);font-size:14px;margin-top:5px}.card p{margin:8px 0 0;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.empty{padding:14px;color:var(--muted);line-height:1.65}dialog{width:min(480px,calc(100% - 28px));max-height:calc(100% - 28px);overflow:auto;border:1px solid var(--line);border-radius:18px;background:#fffdf8;color:inherit;padding:23px}dialog::backdrop{background:#1927228a}.dialog-head{display:flex;justify-content:space-between;align-items:start;gap:10px}.dialog-head h2{margin:3px 0 13px;overflow-wrap:anywhere}.close,.actions button{background:white;border:1px solid var(--line);border-radius:8px;min-height:42px;padding:7px 12px;color:inherit}.close{font-size:20px}label{display:grid;gap:6px;margin:12px 0;font-weight:700}input,textarea{width:100%;border:1px solid #cac5b9;border-radius:8px;background:white;padding:10px;color:inherit}textarea{resize:vertical}.error{color:#a2291e}.error:empty{display:none}#detail-meta{color:var(--orange);overflow-wrap:anywhere}#detail-story{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}.actions{display:flex;gap:8px;margin-top:22px}@media(max-width:720px){.wrap{width:calc(100% - 28px)}.bar{height:62px}.intro{padding:24px 0 21px}.layout{grid-template-columns:1fr;gap:13px}.map-head,.legend,.records-head{padding:13px 16px}.map{width:min(100%,390px)}.pin{min-height:31px}.records-head h2{font-size:23px}}

.region-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.region-fields select{appearance:none;width:100%;min-height:44px;border:1px solid #cac5b9;border-radius:8px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23566158' stroke-width='1.5'/%3E%3C/svg%3E") right 10px center no-repeat;padding:8px 32px 8px 10px;color:inherit;font:inherit}
.region-fields select:disabled{opacity:.55}
.browse{padding:0 18px}
.browse[hidden]{display:none}
.browse label{margin-bottom:0;font-size:14px}
.reactions{display:flex;gap:8px;margin-top:18px}
.reactions button{background:#fffdf8;border:1px solid var(--line);border-radius:8px;color:inherit;font-weight:700;min-height:44px;padding:8px 13px}
.reactions button[aria-pressed=true]{background:#f4dfd4;border-color:var(--orange);color:var(--orange)}
.comments{border-top:1px solid var(--line);margin-top:20px;padding-top:14px}
.comments h3{font-size:17px;margin:0}
.comment{padding:10px 12px;background:#f7f3eb;border-radius:8px;margin:9px 0;white-space:pre-wrap;overflow-wrap:anywhere}

.photo-field{min-width:0;border:1px solid var(--line);border-radius:10px;padding:10px;margin:14px 0}
.photo-field legend{padding:0 6px;font-weight:750}
#photo-count{font-size:14px;color:var(--muted);font-weight:500}
.photo-actions{display:flex;flex-wrap:wrap;gap:8px}
.photo-actions button{min-height:44px;border:1px solid var(--line);border-radius:8px;background:white;padding:7px 12px;color:inherit}
.photo-grid,.photo-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.photo-grid:not(:empty){margin-top:10px}
.photo-thumbnail{position:relative;min-width:0}
.photo-thumbnail img,.photo-gallery img{width:100%;display:block;border-radius:8px;background:#eee9df}
.photo-thumbnail img{aspect-ratio:1;object-fit:cover}
.photo-remove{position:absolute;top:4px;right:4px;width:32px;height:32px;border:0;border-radius:50%;background:#28221ee8;color:white;font-size:21px}
.photo-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
.photo-gallery img{aspect-ratio:4/3;object-fit:contain}
.photo-gallery img:first-child{grid-column:1/-1;aspect-ratio:auto;max-height:360px}
.primary:disabled{opacity:.65;cursor:wait}
#login{text-decoration:none;margin-left:auto}
#import-posts{margin:0 0 14px}
[hidden]{display:none!important}
