:root{--bg: #f8fafc;--panel: #ffffff;--border: #e5e7eb;--text: #111827;--muted: #6b7280;--accent: #2563eb;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased}@media (prefers-color-scheme: dark){:root{--bg: #0b0f19;--panel: #111827;--border: #1f2937;--text: #e5e7eb;--muted: #9ca3af;--accent: #3b82f6}}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{background:var(--bg);color:var(--text)}.app{display:flex;flex-direction:column;height:100%}.app-header{display:flex;align-items:center;gap:16px;padding:10px 16px;background:var(--panel);border-bottom:1px solid var(--border);z-index:2}.app-header__brand{display:flex;align-items:center;gap:8px}.app-header h1{font-size:16px;font-weight:650;margin:0;white-space:nowrap}.search{flex:1;max-width:420px;padding:8px 12px;font-size:14px;color:var(--text);background:var(--bg);border:1px solid var(--border);border-radius:8px}.search:focus{outline:2px solid var(--accent);border-color:transparent}.count{margin-left:auto;color:var(--muted);font-size:13px;white-space:nowrap}.banner{padding:8px 16px;font-size:13px;background:#fef9c3;color:#713f12;border-bottom:1px solid #fde68a}@media (prefers-color-scheme: dark){.banner{background:#422006;color:#fde68a;border-bottom-color:#713f12}}.banner code{background:#00000014;padding:1px 4px;border-radius:4px}.app-body{display:flex;flex:1;min-height:0}.sidebar{width:360px;flex-shrink:0;overflow-y:auto;background:var(--panel);border-right:1px solid var(--border)}.place-list{list-style:none;margin:0;padding:8px;display:flex;flex-direction:column;gap:8px}.place-list__empty{padding:24px 12px;color:var(--muted);font-size:14px;text-align:center}.place-card{padding:12px;background:var(--bg);border:1px solid var(--border);border-radius:10px;cursor:pointer;transition:border-color .12s,box-shadow .12s}.place-card:hover{border-color:var(--accent)}.place-card.is-selected{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.place-card__head{display:flex;align-items:center;justify-content:space-between;gap:8px}.place-card__name{font-weight:600;font-size:15px}.place-card__addr{margin-top:2px;color:var(--muted);font-size:13px}.place-card__note{margin:8px 0 0;font-size:13px;opacity:.85}.place-card__tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.tag{font-size:11px;font-weight:600;color:#fff;padding:2px 8px;border-radius:999px}.badge{font-size:11px;font-weight:700;padding:2px 8px;border-radius:999px}.badge--been{background:#16a34a;color:#fff}.map{flex:1;position:relative;min-width:0}.map--placeholder{display:grid;place-items:center;padding:24px;background:var(--bg)}.map-placeholder__inner{max-width:360px;text-align:center;color:var(--muted)}.map-placeholder__pin{font-size:40px}.map-placeholder__inner h2{margin:8px 0;color:var(--text);font-size:18px}.map-placeholder__inner code{background:#00000014;padding:1px 5px;border-radius:4px}@media (prefers-color-scheme: dark){.map-placeholder__inner code{background:#ffffff1a}}@media (max-width: 720px){.app-body{flex-direction:column}.sidebar{width:auto;max-height:42vh;border-right:none;border-bottom:1px solid var(--border)}.app-header{flex-wrap:wrap}.count{order:3}}.app-header__actions{display:flex;align-items:center;gap:12px;margin-left:auto}.count{color:var(--muted);font-size:13px;font-variant-numeric:tabular-nums}.btn{font:inherit;font-size:13px;font-weight:600;color:var(--text);padding:7px 12px;border:1px solid var(--border);border-radius:8px;background:var(--bg);cursor:pointer}.btn:hover{border-color:var(--accent)}.menu{position:relative}.menu__pop{position:absolute;right:0;top:calc(100% + 6px);z-index:20;min-width:170px;padding:6px;display:none;flex-direction:column;gap:2px;background:var(--panel);border:1px solid var(--border);border-radius:10px;box-shadow:0 8px 24px #00000029}.menu:hover .menu__pop,.menu:focus-within .menu__pop{display:flex}.menu__pop button{text-align:left;font:inherit;font-size:14px;color:var(--text);padding:8px 10px;border:0;border-radius:6px;background:transparent;cursor:pointer}.menu__pop button:hover{background:var(--bg)}.filterbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:10px 16px;background:var(--panel);border-bottom:1px solid var(--border)}.filterbar__div{width:1px;align-self:stretch;background:var(--border)}.filterbar__tags{display:flex;flex-wrap:wrap;gap:6px}.chip-toggle{font:inherit;font-size:12px;font-weight:600;color:var(--muted);padding:4px 11px;border:1px solid var(--border);border-radius:999px;background:transparent;cursor:pointer}.chip-toggle:hover{border-color:var(--accent);color:var(--text)}.chip-toggle.is-on{color:#fff;border-color:transparent}.segmented{display:inline-flex;border:1px solid var(--border);border-radius:8px;overflow:hidden}.segmented button{font:inherit;font-size:13px;font-weight:600;color:var(--muted);padding:6px 12px;border:0;border-right:1px solid var(--border);background:var(--bg);cursor:pointer}.segmented button:last-child{border-right:0}.segmented button.is-on{background:var(--accent);color:#fff}.segmented--sm button{padding:5px 10px;font-size:12px}.drawer-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;background:#00000047}.drawer{position:fixed;top:0;right:0;z-index:41;height:100%;width:min(390px,100%);overflow-y:auto;padding:20px;display:flex;flex-direction:column;gap:18px;background:var(--panel);border-left:1px solid var(--border)}@media (prefers-reduced-motion: no-preference){.drawer{animation:drawer-in .18s ease-out}@keyframes drawer-in{0%{transform:translate(16px);opacity:.4}to{transform:none;opacity:1}}}.drawer__head{display:flex;align-items:flex-start;gap:12px}.drawer__title{flex:1;margin:0;font-size:1.3rem;line-height:1.2}.icon-btn{flex-shrink:0;width:30px;height:30px;font:inherit;font-size:15px;color:var(--muted);border:1px solid var(--border);border-radius:8px;background:var(--bg);cursor:pointer}.icon-btn:hover{color:var(--text);border-color:var(--accent)}.drawer__addr{margin:-8px 0 0;color:var(--muted);font-size:14px}.drawer__link{font-size:13px;font-weight:600}.drawer__source{margin-top:auto;color:var(--muted);font-size:12px}.field{display:flex;flex-direction:column;gap:8px}.field__label{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}.stars{display:flex;gap:4px}.star{padding:0;font-size:22px;line-height:1;color:var(--border);background:none;border:0;cursor:pointer}.star.is-on{color:#f59e0b}.tag-editor{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.tag--removable{display:inline-flex;align-items:center;gap:6px}.tag--removable button{padding:0;font:inherit;line-height:1;color:#fff;opacity:.8;background:none;border:0;cursor:pointer}.tag--removable button:hover{opacity:1}.tag-add{display:flex;gap:6px}.tag-add input{flex:1;font:inherit;font-size:14px;color:var(--text);padding:7px 10px;border:1px solid var(--border);border-radius:8px;background:var(--bg)}.tag-add button{padding:0 12px;font:inherit;font-size:13px;font-weight:600;color:var(--text);border:1px solid var(--border);border-radius:8px;background:var(--bg);cursor:pointer}.tag-add button:disabled{opacity:.5;cursor:default}.note-input{width:100%;min-height:84px;resize:vertical;padding:10px;font:inherit;font-size:14px;color:var(--text);border:1px solid var(--border);border-radius:8px;background:var(--bg)}.tag-add input:focus,.note-input:focus{outline:2px solid var(--accent);outline-offset:0;border-color:transparent}.photos{display:flex;flex-wrap:wrap;gap:8px}.photo-thumb{position:relative;width:84px;height:84px;border-radius:10px;overflow:hidden;border:1px solid var(--border)}.photo-thumb.is-primary{border-color:#f59e0b;box-shadow:0 0 0 1px #f59e0b}.photo-thumb img{display:block;width:100%;height:100%;object-fit:cover}.photo-thumb__actions{position:absolute;top:4px;right:4px;display:flex;gap:4px;opacity:0}.photo-thumb:hover .photo-thumb__actions,.photo-thumb:focus-within .photo-thumb__actions{opacity:1}.photo-thumb__actions button{width:22px;height:22px;font-size:12px;line-height:1;color:#fff;background:#0000008c;border:0;border-radius:6px;cursor:pointer}.photo-add{display:grid;place-items:center;width:84px;height:84px;font-size:13px;font-weight:600;color:var(--muted);border:1px dashed var(--border);border-radius:10px;cursor:pointer}.photo-add:hover{border-color:var(--accent);color:var(--text)}.photo-add.is-busy{cursor:progress}.photo-add input{display:none}.place-card__thumb{width:36px;height:36px;border-radius:8px;object-fit:cover;flex-shrink:0}
