@font-face { font-family: "LogmeKR"; src: url("/fonts/NotoSansKR-Logme.ttf"); font-weight: 100 900; font-display: swap; }
:root {
  --ink: #1B1D29; --body: #3A3E4C; --memo: #4B5260; --sub: #7B8094; --faint: #B4B8C5; --line: #E6E8EE; --bg: #FFFFFF; --soft: #F5F6F9; --soft2: #ECEEF3;
  --amber: #FFC24B; --amberHover: #F5B32E; --amberText: #B7791F; --amberSoft: #FFF3D1; --greenText: #12A45A; --greenSoft: #DDF8E9; --green: #2ED47A;
  --red: #D93B40; --redSoft: #FFE9EA; --claude: #D97757;
  --shadow: 0 12px 32px rgba(27,29,41,.14);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--bg); color: var(--ink); font-family: "LogmeKR", -apple-system, BlinkMacSystemFont, sans-serif; font-size: 14px; word-break: keep-all; -webkit-font-smoothing: antialiased; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
a { color: inherit; }
hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }
.boot { display: grid; place-items: center; height: 100vh; color: var(--sub); font-weight: 700; }
svg.i { flex: none; }
.sp { flex: 1; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

/* Buttons: one size everywhere (32 high, 8 corners); only the color says what it is. */
.b { height: 32px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 12px;
  font-size: 14px; font-weight: 700; color: var(--ink); white-space: nowrap; text-decoration: none; flex: none; transition: background .12s; }
.b:disabled { opacity: .45; cursor: default; }
.b.ghost { color: var(--memo); }
.b.ghost:hover, .b.icon:hover, .b.line:hover { background: var(--soft); }
.b.on { background: var(--soft2); color: var(--ink); }
.b.icon { width: 32px; padding: 0; color: var(--memo); }
.b.icon.on { color: var(--ink); }
.b.line { box-shadow: inset 0 0 0 1px var(--line); background: #fff; }
.b.primary { background: var(--ink); color: #fff; padding: 0 14px; }
.b.primary:hover { background: #2E3142; }
.b.amber { background: var(--amber); padding: 0 16px; font-weight: 800; }
.b.amber:hover:not(:disabled) { background: var(--amberHover); }
.b.dark { background: rgba(27,29,41,.66); color: #fff; backdrop-filter: blur(6px); }
.b.dark:hover { background: rgba(27,29,41,.8); }
.b small { color: var(--sub); font-weight: 700; font-size: 12px; }

/* Avatars: me and agents, by their logo */
.av { line-height: 1; width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 12px; font-weight: 900; flex: none; }
.av.xs { width: 18px; height: 18px; font-size: 9.5px; }
.av.sm { width: 24px; height: 24px; font-size: 10.5px; }
.av.lg { width: 32px; height: 32px; font-size: 13px; }
.av.me { background: var(--amber); color: var(--ink); }
.av.logo svg { width: 62%; height: 62%; }
.av.logo[aria-label="Claude"] { box-shadow: inset 0 0 0 1px rgba(217,119,87,.25); }
button.av { cursor: pointer; }

/* Menus */
.mwrap { position: relative; display: inline-flex; }
.menu { display: none; position: absolute; top: calc(100% + 6px); left: 0; min-width: 200px; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); padding: 6px; z-index: 40; }
.menu.right { left: auto; right: 0; }
.menu.open { display: block; }
.menu.up { top: auto; bottom: calc(100% + 6px); }
.mi { width: 100%; height: 36px; display: flex; align-items: center; gap: 10px; padding: 0 10px; border-radius: 8px; font-size: 14px; font-weight: 700; text-align: left; text-decoration: none; color: var(--ink); }
.mi:hover:not(:disabled) { background: var(--soft); }
.mi:disabled { opacity: .45; cursor: default; }
.mi.red { color: var(--red); }
.mi.static { color: var(--sub); font-weight: 600; font-size: 13px; cursor: default; }
.mi svg { color: var(--memo); }
.mi.red svg { color: var(--red); }
.pop { width: 300px; padding: 16px; }
.pop .pt { font-size: 15px; font-weight: 800; line-height: 1.45; }
.pop p { margin: 6px 0 0; font-size: 13.5px; font-weight: 600; color: var(--sub); line-height: 1.5; }
.pop .pa, .ask .pa { display: flex; justify-content: flex-end; gap: 6px; margin-top: 14px; }
.pop .pt.err { color: var(--red); }
.pop p.soft { color: var(--amberText); }
.ask { width: 360px; background: #fff; border-radius: 14px; padding: 20px; box-shadow: 0 30px 80px rgba(27,29,41,.3); }
.ask .pt { font-size: 16px; font-weight: 800; line-height: 1.45; }
.ask p { margin: 6px 0 0; font-size: 14px; font-weight: 600; color: var(--sub); line-height: 1.55; }
.b.danger { background: var(--red); color: #fff; padding: 0 14px; }
.b.danger:hover { background: #C3343A; }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 0 8px 0 16px; min-height: 44px; border-radius: 10px; font-weight: 700; z-index: 60; box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; }
.toast:not(:has(button)) { padding-right: 16px; }
.toast button { height: 32px; padding: 0 10px; border-radius: 8px; color: var(--amber); font-weight: 800; }
.toast button:hover { background: rgba(255,255,255,.1); }

/* Top bar */
.top { height: 56px; flex: none; display: flex; align-items: center; gap: 6px; padding: 0 16px; border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 30; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 900; text-decoration: none; margin-right: 18px; }
.brand img { width: 28px; height: 28px; border-radius: 8px; }
.top .av.lg { margin-left: 6px; }

/* Pages */
.page { width: min(1120px, calc(100% - 64px)); margin: 0 auto; padding: 36px 0 80px; }
.ph1 { display: flex; align-items: flex-start; gap: 12px; }
.ph1 h1 { margin: 0; font-size: 28px; font-weight: 900; letter-spacing: -.6px; }
.lead { margin: 6px 0 0; font-size: 14px; font-weight: 600; color: var(--sub); line-height: 1.55; }
.lead.err { color: var(--red); }
.h2 { font-size: 18px; font-weight: 900; margin: 40px 0 0; }
.filters { display: flex; align-items: center; gap: 8px; margin-top: 20px; }
.seg { display: flex; gap: 4px; }
.sel.filter { width: auto; min-width: 150px; color: var(--memo); }
.sel.filter.on { border-color: var(--ink); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.ctx { display: flex; align-items: center; gap: 16px; margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: var(--soft); }
.ctx .cph { width: 120px; height: 72px; border-radius: 8px; background: var(--soft2) center/cover; flex: none; }
.ctx .ct { flex: 1; }
.ctx b { font-size: 17px; font-weight: 900; }
.ctx .hint { margin: 4px 0 0; }
.ctx .cur { margin: 4px 0 0; font-size: 14px; font-weight: 600; color: var(--memo); }
.ctx .cur b { font-size: 14px; font-weight: 800; color: var(--ink); margin-left: 4px; }
.ctxline { margin: 14px 0 0; }
.empty { margin-top: 16px; padding: 56px 0; border-top: 1px solid var(--line); text-align: center; color: var(--sub); font-weight: 700; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.empty b { color: var(--ink); font-size: 16px; }

.tbl { margin-top: 16px; border-top: 1px solid var(--line); }
.tbl .row { display: grid; align-items: center; gap: 16px; min-height: 72px; padding: 0 8px; border-bottom: 1px solid var(--line); }
.tbl .row.hd { min-height: 36px; font-size: 12px; font-weight: 800; color: var(--sub); }
.tbl .row b { font-size: 15px; font-weight: 800; }
.tbl .row small { font-size: 13px; font-weight: 600; color: var(--sub); }
.th { width: 72px; height: 48px; border-radius: 8px; background: var(--soft) center/cover; display: grid; place-items: center; font-size: 20px; }
.tbl.list .row { grid-template-columns: 72px 1fr 140px 160px 32px; }
.tbl.list.feat .row { grid-template-columns: 72px 1fr 120px 130px 160px 32px; }
.b.feat { height: 30px; font-size: 13px; }
.b.feat.on { background: var(--amberSoft); color: var(--amberText); font-weight: 800; }
.b.feat.on:hover { background: #FFE9B0; }
.tbl.list .row .b.feat:not(.on) { opacity: 0; }
.tbl.list .row:hover .b.feat, .tbl.list .row:focus-within .b.feat { opacity: 1; }
.tbl.list .row:not(.hd) { cursor: pointer; }
.tbl.list .row:not(.hd):hover { background: #FAFAFC; }
.tbl.list .nm b { display: block; }
.tbl.list .nm b.none { color: var(--sub); }
.st { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--memo); }
.st i, .status i { width: 7px; height: 7px; border-radius: 50%; background: #B9BDC9; }
.st.published i, .status.published i { background: var(--green); }
.st.changed i, .status.changed i { background: var(--amber); }
.by { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--sub); }
.sel { height: 32px; width: 100%; max-width: 360px; border: 1px solid var(--line); border-radius: 8px; padding: 0 32px 0 10px; font-size: 14px; font-weight: 700; background: #fff;
  appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%237B8094' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 8px center; background-size: 16px; }
.sel.none { color: var(--sub); }
.sel:disabled { background-color: var(--soft); color: var(--sub); cursor: default; }

/* 에이전트 연결 */
.copyrow { margin-top: 24px; display: flex; align-items: center; gap: 10px; max-width: 720px; height: 48px; padding: 0 8px 0 16px; border-radius: 10px; background: var(--soft); }
.copyrow code { flex: 1; font: 600 14px ui-monospace, Menlo, monospace; }
.agents { margin: 16px 0 12px; max-width: 720px; border-top: 1px solid var(--line); }
.agent { display: flex; align-items: center; gap: 14px; min-height: 72px; border-bottom: 1px solid var(--line); padding: 0 8px; }
.agent .tx { flex: 1; }
.agent b { font-size: 15px; font-weight: 800; }
.agent p { margin: 3px 0 0; font-size: 13px; font-weight: 600; color: var(--sub); }
.pill { height: 26px; padding: 0 10px; border-radius: 13px; background: var(--soft); color: var(--sub); font-size: 12.5px; font-weight: 800; display: inline-flex; align-items: center; gap: 4px; }
.pill.ok { background: var(--greenSoft); color: var(--greenText); }

/* Editor */
#app > .ed { display: flex; flex-direction: column; height: 100vh; }
.status { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--sub); margin-left: 6px; }
.save { display: flex; align-items: center; gap: 8px; margin-left: 10px; }
.save .err { color: var(--red); font-size: 13px; font-weight: 800; }
#who { display: flex; align-items: center; }
.who { display: flex; align-items: center; padding: 2px 0; }
.who .av { box-shadow: 0 0 0 2px #fff; }
.who .av + .av { margin-left: -5px; }
.sep { width: 1px; height: 20px; background: var(--line); margin: 0 6px; display: inline-block; }
.body { flex: 1; display: flex; min-height: 0; }
.canvas { flex: 1; overflow-y: auto; min-width: 0; }
.col { width: min(680px, calc(100% - 96px)); margin: 0 auto; padding: 40px 0 160px; }

.col textarea, .col input { display: block; width: 100%; border: 0; outline: none; background: none; padding: 0; resize: none; overflow: hidden; }
.col textarea::placeholder, .col input::placeholder { color: var(--faint); }
.cover { height: 300px; border-radius: 16px; background: var(--soft) center/cover; position: relative; width: 100%; }
.credit { position: absolute; left: 8px; bottom: 8px; max-width: calc(100% - 16px); padding: 2px 7px; border-radius: 6px; background: rgba(27,29,41,.6); color: #fff;
  font-size: 11px; font-weight: 600; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; z-index: 1; }
.credit:hover { background: rgba(27,29,41,.8); }
.thumb .credit { left: 4px; bottom: 4px; max-width: calc(100% - 8px); font-size: 10px; }
.sphoto { position: relative; }
.cover .acts { position: absolute; right: 12px; bottom: 12px; display: flex; gap: 6px; opacity: 0; transition: opacity .15s; }
.cover:hover .acts, .cover:focus-within .acts { opacity: 1; }
.cover.empty { height: 200px; display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--sub); font-size: 15px; font-weight: 700; }
.cover.empty:hover { background: var(--soft2); color: var(--memo); }
.head { position: relative; margin-top: 28px; }
.head + .head { margin-top: 12px; }
.head .mk { position: absolute; right: -4px; top: -22px; }
.t-title { font-size: 40px; font-weight: 900; letter-spacing: -1.2px; line-height: 1.22; }
.t-intro { font-size: 18px; font-weight: 500; line-height: 1.7; color: var(--body); }

.blk { position: relative; border-radius: 12px; margin: 0 -16px; padding: 12px 16px; transition: background .12s, box-shadow .2s; }
.blk:hover, .blk:focus-within { background: #FAFAFC; }
.blk .grip { position: absolute; left: -26px; top: 14px; width: 22px; height: 28px; display: grid; place-items: center; color: var(--faint); cursor: grab; border-radius: 6px; opacity: 0; }
.blk:hover .grip { opacity: 1; }
.blk .grip:hover { background: var(--soft); color: var(--memo); }
.blk .tools { position: absolute; right: 8px; top: 8px; display: flex; align-items: center; gap: 6px; }
.blk .tools > .mwrap { opacity: 0; }
.blk:hover .tools > .mwrap, .blk:focus-within .tools > .mwrap, .blk .tools > .mwrap:has(.open) { opacity: 1; }
.blk.dragging { opacity: .35; }
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 800; color: var(--claude); }
/* An agent's edit: a soft tint and a bar on the left in its color, unlike the red of what is missing. */
.glow { background: rgba(217,119,87,.07) !important; box-shadow: inset 3px 0 0 var(--claude); border-radius: 12px; transition: background 1s, box-shadow 1s; }
.head.glow, .cover.glow { margin-left: -16px; margin-right: -16px; padding: 8px 16px; }

.sec { margin-top: 28px; }
.t-kicker { font-size: 14px; font-weight: 800; color: var(--amberText); }
.t-h { font-size: 26px; font-weight: 900; letter-spacing: -.6px; line-height: 1.3; margin-top: 4px; padding-right: 40px !important; }
.t-si { font-size: 17px; line-height: 1.65; color: var(--body); margin-top: 6px; }
.sphoto { height: 200px; border-radius: 14px; background: var(--soft) center/cover; margin-top: 12px; }

.place { margin-top: 0; }
.pl { display: grid; grid-template-columns: 26px 1fr; gap: 14px; }
.pl .n { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; font-weight: 900; display: grid; place-items: center; margin-top: 2px; }
.pl .tx { min-width: 0; padding-right: 40px; }
.t-name { font-size: 19px; font-weight: 800; line-height: 1.35; }
.meta { display: flex; align-items: center; gap: 8px; margin-top: 2px; }
.cat { border: 0; background: none; font-size: 14px; font-weight: 600; color: var(--sub); padding: 2px 18px 2px 0; appearance: none; cursor: pointer; outline: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23B4B8C5' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0 center; background-size: 14px; border-radius: 4px; }
.cat:hover { color: var(--memo); }
.addr { font-size: 13px; font-weight: 600; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.addr::before { content: ""; display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: var(--faint); vertical-align: middle; margin-right: 8px; }
.t-tip { font-size: 16.5px; line-height: 1.65; color: var(--body); margin-top: 8px; }
.thumbs { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.sec .thumbs.quiet { display: none; }
.sec:hover .thumbs.quiet, .sec:focus-within .thumbs.quiet { display: flex; }
.thumb { width: 160px; height: 112px; border-radius: 12px; background: var(--soft) center/cover; position: relative; }
.thumb button { position: absolute; right: 6px; top: 6px; width: 24px; height: 24px; border-radius: 50%; background: rgba(27,29,41,.66); color: #fff; display: none; place-items: center; }
.thumb:hover button { display: grid; }
.thumb.add { display: grid; place-items: center; color: var(--sub); background: var(--soft); width: 112px; }
.thumb.add.first { width: auto; height: 40px; padding: 0 14px; display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; border-radius: 10px; background: none; box-shadow: inset 0 0 0 1px var(--line); }
.thumb.add.first:hover { background: var(--soft); }
.thumb.add:hover { background: var(--soft2); color: var(--memo); }

/* Insert between blocks: a line with 장소 and 소제목 on hover */
.ins { height: 14px; position: relative; display: flex; align-items: center; }
.ins .bar { display: none; position: relative; z-index: 2; gap: 2px; padding: 2px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 4px 14px rgba(27,29,41,.08); margin-left: 24px; }
.ins .bar .b { height: 26px; font-size: 13px; padding: 0 8px; color: var(--memo); }
.ins .bar .b:hover { background: var(--soft); color: var(--ink); }
.ins:hover::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: #D4D7E0; }
.ins:hover .bar { display: flex; }
.drag-place .ins .bar, .drag-section .ins .bar { display: none !important; }
.drag-place .ins, .drag-section .ins.end { height: 18px; }
.drag-place .ins::before, .drag-section .ins.end::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; border-radius: 1px; background: transparent; }
.ins.over::before { background: var(--amber) !important; height: 3px !important; }

.adds { display: flex; align-items: center; gap: 8px; margin-top: 24px; border-radius: 10px; }
.adds .hint { margin-left: 6px; }
.hint { font-size: 13px; font-weight: 600; color: var(--sub); line-height: 1.5; }
.need { box-shadow: 0 0 0 2px var(--red), 0 0 0 6px var(--redSoft) !important; border-radius: 12px; }
.cover.need { box-shadow: 0 0 0 2px var(--red) !important; }

.conflict { margin-top: 10px; border-radius: 12px; background: #FFF6F0; box-shadow: inset 0 0 0 1px rgba(217,119,87,.35); padding: 12px; }
.conflict .ch { display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
.conflict .theirs { margin-top: 8px; background: #fff; border-radius: 8px; padding: 10px 12px; font-size: 15px; line-height: 1.6; color: var(--body); }
.conflict .theirs i { color: var(--sub); }
.conflict .ca { display: flex; justify-content: flex-end; gap: 6px; margin-top: 10px; }

/* Right panel: 미리보기, 설정 or 변경 기록, one at a time */
.panel { width: 440px; flex: none; border-left: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; background: #fff; }
.panel.preview, .panel.history { background: var(--soft); }
.panel > .ph { height: 52px; flex: none; display: flex; align-items: center; padding: 0 10px 0 20px; font-size: 15px; font-weight: 800; }
.screen { width: 390px; margin: 0 auto 24px; flex: 1; min-height: 0; overflow-y: auto; border-radius: 28px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 8px 30px rgba(27,29,41,.08); scrollbar-width: none; }
.screen::-webkit-scrollbar { display: none; }
.set { padding: 4px 20px 24px; overflow-y: auto; display: flex; flex-direction: column; gap: 28px; }
.fl label { display: block; font-size: 13px; font-weight: 800; color: var(--sub); margin-bottom: 10px; }
.fl .hint { margin: 8px 0 0; }
.fl.need { box-shadow: none !important; }
.fl.need label { color: var(--red); }
.fl.need .chip:not(.on) { box-shadow: inset 0 0 0 1px rgba(217,59,64,.5); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { height: 32px; border-radius: 8px; padding: 0 12px; display: inline-flex; align-items: center; gap: 5px; font-size: 14px; font-weight: 700;
  box-shadow: inset 0 0 0 1px var(--line); background: #fff; color: var(--memo); }
.chip:hover { background: var(--soft); }
.chip.on { background: var(--ink); color: #fff; box-shadow: none; }
.chip.ro { background: var(--soft); box-shadow: none; color: var(--ink); cursor: default; }
.ro-empty, .ro-line { margin: 0; font-size: 14px; font-weight: 700; color: var(--memo); }
.ro-empty { color: var(--sub); }
.fl a { color: var(--ink); font-weight: 800; }
.hist { padding: 0 12px 24px; overflow-y: auto; }
.hist .day { font-size: 12px; font-weight: 800; color: var(--sub); padding: 10px 8px 6px; }
.hist .pad { padding: 8px; }
.he { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 10px 8px; border-radius: 10px; }
.he:hover { background: #fff; }
.he .w { font-size: 13px; font-weight: 800; display: flex; gap: 6px; align-items: baseline; }
.he .w small { font-weight: 600; color: var(--sub); font-size: 12px; }
.he p { margin: 3px 0 0; font-size: 14px; line-height: 1.5; color: var(--body); }
.he .b { margin-top: 8px; }

/* The app's guide screen (GuideArticleView) in 미리보기 */
.gv { position: relative; padding-bottom: 40px; }
.gv .cov { height: 400px; background: var(--soft) center/cover; position: relative; display: flex; align-items: flex-end; }
.gv .cov.plain { background: linear-gradient(135deg, var(--amberSoft), var(--soft)); }
.gv .cov .emo { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 96px; opacity: .5; }
.gv .cov .fade { position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.35) 0%, transparent 25%, transparent 45%, rgba(255,255,255,.9) 88%, #fff 100%); }
.gv .cov .t { position: relative; padding: 0 22px 16px; }
.gv .au { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 800; }
.gv .au .sp1 { width: 22px; height: 22px; border-radius: 50%; background: var(--amber); display: flex; align-items: center; justify-content: center; font-size: 11px; }
.gv h2 { margin: 6px 0 0; font-size: 34px; font-weight: 900; letter-spacing: -1px; line-height: 1.15; }
.gv .sub { margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--sub); }
.gv .ck { width: 14px; height: 14px; flex: none; }
.gv .vis { margin: 12px 20px 0; min-height: 46px; border-radius: 16px; background: var(--greenSoft); color: var(--greenText); font-size: 15px; font-weight: 800; display: flex; align-items: center; gap: 8px; padding: 0 14px; }
.gv .vis .ck { width: 18px; height: 18px; }
.gv .intro { margin: 14px 22px 0; font-size: 16.5px; font-weight: 500; line-height: 1.6; color: rgba(27,29,41,.88); }
.gv .gs { padding: 30px 22px 0; }
.gv .gs .k { font-size: 13px; font-weight: 900; color: var(--amberText); }
.gv .gs h3 { margin: 2px 0 0; font-size: 22px; font-weight: 900; letter-spacing: -.4px; }
.gv .gs p { margin: 8px 0 0; font-size: 15.5px; font-weight: 500; line-height: 1.55; color: rgba(27,29,41,.85); }
.gv .gs .sp { margin-top: 12px; height: 170px; border-radius: 20px; background: center/cover; flex: none; }
.gv .gp { display: flex; gap: 14px; padding: 16px 20px 0; }
.gv .gp .no { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 14px; font-weight: 900; display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.gv .gp .bd { flex: 1; min-width: 0; }
.gv .gp .ph1 { height: 150px; border-radius: 18px; background: center/cover; margin-bottom: 10px; }
.gv .gp .phs { display: flex; gap: 8px; overflow: hidden; margin-bottom: 10px; }
.gv .gp .phs div { flex: none; width: 200px; height: 150px; border-radius: 18px; background: center/cover; }
.gv .gp .nm { font-size: 18px; font-weight: 900; }
.gv .gp .ct { margin-top: 2px; font-size: 13.5px; font-weight: 700; color: var(--sub); }
.gv .gp .vc { display: inline-flex; align-items: center; gap: 3px; margin-top: 6px; height: 22px; padding: 0 8px; border-radius: 11px; background: var(--greenSoft); color: var(--greenText); font-size: 12px; font-weight: 900; }
.gv .gp .vc .ck { width: 10px; height: 10px; }
.gv .gp p { margin: 6px 0 0; font-size: 15.5px; font-weight: 500; line-height: 1.55; color: rgba(27,29,41,.85); }
.gv .basis { margin: 28px 22px 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--sub); line-height: 1.55; }

/* Modals: place search, city photo */
.dim { position: fixed; inset: 0; background: rgba(27,29,41,.4); display: flex; align-items: center; justify-content: center; z-index: 50; }
.mh { display: flex; align-items: center; gap: 8px; }
.mh h2 { margin: 0; font-size: 18px; font-weight: 900; }
.in { width: 100%; height: 40px; border-radius: 8px; border: 1px solid var(--line); background: #fff; padding: 0 12px; font-size: 15px; font-weight: 600; outline: none; }
.in:focus { border-color: var(--amber); box-shadow: 0 0 0 3px var(--amberSoft); }
textarea.in { height: auto; min-height: 72px; padding: 10px 12px; line-height: 1.55; resize: vertical; }
select.in { appearance: none; cursor: pointer; }
.modal { width: min(1040px, 94vw); height: min(680px, 90vh); background: #fff; border-radius: 16px; overflow: hidden; display: flex; box-shadow: 0 30px 80px rgba(27,29,41,.3); }
.modal .left { width: 360px; flex: none; padding: 20px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; border-right: 1px solid var(--line); }
.results { flex: 1; overflow-y: auto; margin: 0 -8px; padding: 0 8px; }
.res { display: block; width: 100%; text-align: left; padding: 10px 12px; border-radius: 10px; }
.res:hover, .res.on { background: var(--soft); }
.res b { display: block; font-size: 15px; font-weight: 800; }
.res small { display: block; font-size: 13px; font-weight: 600; color: var(--sub); margin-top: 2px; }
.res mark { background: var(--amberSoft); color: inherit; border-radius: 3px; }
.mapwrap { flex: 1; position: relative; background: var(--soft); }
#map { position: absolute; inset: 0; }
.mapnote { position: absolute; left: 16px; top: 16px; background: #fff; border-radius: 10px; padding: 8px 12px; font-size: 13px; font-weight: 700; color: var(--memo); box-shadow: 0 2px 8px rgba(27,29,41,.12); }
.sheet { position: absolute; left: 16px; right: 16px; bottom: 16px; background: #fff; border-radius: 14px; padding: 14px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px; }
.sheet .row { display: flex; gap: 8px; align-items: center; }
.pick { width: min(760px, calc(100vw - 32px)); background: #fff; border-radius: 16px; padding: 20px; box-shadow: 0 30px 80px rgba(0,0,0,.25); }
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; max-height: 60vh; overflow-y: auto; }
.pgrid button { height: 120px; border-radius: 10px; background: var(--soft) center/cover; position: relative; }
.pgrid button small { position: absolute; left: 6px; bottom: 6px; font-size: 11.5px; font-weight: 700; color: #fff; background: rgba(0,0,0,.5); padding: 3px 7px; border-radius: 6px; max-width: calc(100% - 12px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pgrid button.on { box-shadow: 0 0 0 3px var(--amber); }
.mf { display: flex; justify-content: flex-end; margin-top: 16px; }
