:root{color-scheme:light;--base:#F7F4EF;--surface:#EDE7E0;--selection:#D9CBBB;--ink:#534A42;--muted:#91857A;--accent:#A18A72;--line:#E7E0D8;--green:#819A8A;font-family:-apple-system,BlinkMacSystemFont,"Hiragino Sans","Noto Sans JP",sans-serif;font-size:14px;color:var(--ink);background:var(--base)}
*{box-sizing:border-box}body{margin:0}button,input{font:inherit;color:inherit}button{border:0;cursor:pointer;background:none;padding:0;-webkit-tap-highlight-color:transparent}button:disabled{cursor:default;opacity:1;-webkit-text-fill-color:currentColor}input:disabled{opacity:1;-webkit-text-fill-color:var(--muted)}button:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--accent);outline-offset:3px}svg{display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}span[data-icon]{display:inline-block;width:20px;height:20px;flex-shrink:0}#app{height:100vh;height:100dvh;display:flex;flex-direction:column;overflow:hidden;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}
.app-header{height:58px;min-height:58px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;border-bottom:1px solid var(--line)}.wordmark{font-family:Georgia,"Times New Roman",serif;font-size:29px;letter-spacing:-1px;font-weight:500}.icon-button,.header-spacer{width:24px;height:24px}.icon-button{display:grid;place-items:center}.header-spacer{display:block}
#workspace{min-height:0;flex:1;display:flex}#list-pane,#detail-pane{width:100%;min-width:0;min-height:0;position:relative}#list-pane{display:flex;flex-direction:column}#detail-pane{display:none}.list-tools{padding:14px 16px 0;flex:none}.status-tabs{display:flex;border-radius:18px;background:var(--surface);padding:3px;gap:3px}.status-tabs button{flex:1;min-height:29px;border-radius:15px;font-size:12px;color:var(--muted)}.status-tabs .active{background:var(--selection);color:var(--ink)}.search-box{display:flex;align-items:center;gap:8px;background:white;border:1px solid var(--line);border-radius:10px;padding:9px 11px;margin-top:13px;color:var(--muted)}.search-box span[data-icon]{width:16px;height:16px}.search-box input{border:0;background:transparent;min-width:0;width:100%;outline:none;font-size:12px}.category-row{display:flex;align-items:center;margin-top:12px;gap:8px;min-width:0}.category-scroll{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;flex:1;min-width:0;padding:1px 0}.category-scroll::-webkit-scrollbar{display:none}.chip{white-space:nowrap;background:var(--surface);border-radius:15px;padding:6px 13px;font-size:11px}.chip.selected{background:var(--selection)}.filter-button{background:white;border-radius:50%;height:30px;width:30px;flex-shrink:0;display:grid;place-items:center}.filter-button span[data-icon]{width:17px;height:17px}.result-row{display:flex;align-items:center;justify-content:space-between;padding:13px 0 11px;font-size:11px;color:var(--muted)}.sort-button{font-size:11px;white-space:nowrap}
#spot-list{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:0 16px 82px;scroll-behavior:auto}.spot-card{width:100%;display:flex;align-items:center;gap:12px;text-align:left;background:white;border:1px solid transparent;border-radius:13px;margin-bottom:10px;min-height:92px;padding:13px 12px}.spot-card[aria-pressed=true]{border-color:var(--selection)}.category-icon{width:42px;height:42px;min-width:42px;display:grid;place-items:center;border-radius:50%;background:#F4F0E9;color:#A18A72}.category-icon svg{width:23px;height:23px}.spot-copy{flex:1;min-width:0}.name-status{display:flex;align-items:baseline;gap:8px;justify-content:space-between}.spot-name{font-size:14px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}.visit-status{font-size:10px;color:var(--accent);white-space:nowrap;flex-shrink:0}.visit-status.visited{color:var(--green)}.spot-region{font-size:10px;line-height:1.6;color:var(--muted);margin-top:2px;overflow-wrap:anywhere}.tags{display:flex;gap:5px;flex-wrap:wrap;margin-top:6px}.tag{background:var(--base);border-radius:8px;color:var(--muted);padding:2px 7px;font-size:9px;line-height:1.4}
#add-spot{position:absolute;right:16px;bottom:16px;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:var(--accent);color:white;box-shadow:0 2px 6px #78634d20}#add-spot span[data-icon]{width:22px;height:22px}#root-nav{display:flex;margin:0 10px 8px;background:#fff;border:1px solid var(--line);border-radius:15px;min-height:62px;flex-shrink:0;padding:9px 0 7px}.nav-item{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#B2A89E;font-size:10px}.nav-item span[data-icon]{width:19px;height:19px}.nav-item.current{color:var(--accent)}
#detail-scroll{height:100%;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:10px 16px 24px}.back-button{display:flex;align-items:center;gap:3px;font-size:12px;min-height:32px;margin-bottom:6px;color:var(--muted)}.back-button span[data-icon]{width:14px;height:14px}.detail-card{background:white;border-radius:14px;padding:18px 16px;margin-bottom:13px}.detail-basic{display:flex;align-items:center;gap:13px}.detail-basic .category-icon{width:52px;height:52px;min-width:52px}.detail-basic .category-icon svg{width:27px;height:27px}#detail-title{font-size:19px;line-height:1.5;margin:0;font-weight:600;overflow-wrap:anywhere}.detail-address{font-size:11px;color:var(--muted);line-height:1.7;margin:4px 0;overflow-wrap:anywhere}.detail-meta{display:flex;gap:12px;color:var(--muted);font-size:11px;margin-top:7px;flex-wrap:wrap}.detail-actions{display:flex;gap:9px;margin-top:17px}.detail-actions button{flex:1;min-width:0;background:var(--surface);border-radius:8px;min-height:36px;font-size:12px}.card-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.card-heading h2{font-size:14px;font-weight:600;margin:0}.edit-button{color:var(--muted);width:20px;height:20px}.edit-button span[data-icon]{width:17px;height:17px}.info-line{font-size:12px;color:var(--muted);line-height:1.9;margin:4px 0}.nearby{border-top:1px solid var(--line);margin-top:16px;padding-top:15px}.nearby h3{font-size:12px;margin:0 0 10px;display:flex;align-items:center;gap:8px}.nearby h3 span[data-icon]{width:28px;height:28px;color:var(--accent)}.nearby-item{display:flex;align-items:center;text-align:left;gap:10px;padding:10px 0;width:100%;border-bottom:1px solid #F4F0EC}.nearby-item:last-child{border-bottom:0}.nearby-item .category-icon{width:34px;height:34px;min-width:34px}.nearby-item .spot-name{font-size:12px}.distance{font-size:10px;color:var(--muted);margin-left:auto;white-space:nowrap}.memo{font-size:12px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.photo-add{font-size:12px;color:var(--muted);min-height:34px;width:100%;background:var(--base);border-radius:8px}
@media(min-width:600px) and (min-height:480px){#list-pane,#detail-pane{width:50%}#detail-pane{display:block;border-left:1px solid var(--line)}#detail-scroll{padding:18px 20px 28px}.detail-card{padding:20px 18px}.list-tools{padding-top:18px}.spot-card{min-height:96px}.detail-back-root{display:none}}
@media(max-width:599px),(max-height:479px){#workspace.detail-open #list-pane{display:none}#workspace.detail-open #detail-pane{display:block}#workspace.detail-open #detail-pane{width:100%}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

.spot-region{display:block}.back-button>svg{width:14px;height:14px;flex:none}.nearby h3>svg{width:28px;height:28px;flex:none;color:var(--accent)}
[hidden]{display:none!important}.notice{position:absolute;bottom:88px;left:50%;transform:translateX(-50%);z-index:20;max-width:90%;background:#534A42;color:#fff;border-radius:10px;padding:12px 18px;font-size:12px;line-height:1.6;box-shadow:0 3px 12px #534a421a;overflow-wrap:anywhere}.editor-title{font-size:18px;text-align:center;font-weight:600;margin:4px 0 20px}.entry-methods{display:flex;gap:6px;overflow:auto;padding-bottom:5px;margin-bottom:22px;scrollbar-width:thin}.entry-methods .chip{font-size:10px;padding:7px 10px}.spot-editor{max-width:620px;margin:0 auto;padding-bottom:20px}.editor-field{margin:0 0 18px;min-width:0;border:0;padding:0}.editor-field>label,.editor-field>legend{display:block;font-size:12px;margin-bottom:8px;line-height:1.7}.editor-field input,.editor-field select,.editor-field textarea{display:block;width:100%;font:inherit;color:var(--ink);border:1px solid var(--line);border-radius:10px;padding:12px;background:#fff;outline-color:var(--accent);min-height:44px}.editor-field textarea{resize:vertical;line-height:1.8}.editor-chips{display:flex;gap:7px;flex-wrap:wrap;margin:7px 0}.editor-chips .chip{white-space:normal;overflow-wrap:anywhere;text-align:left;max-width:100%;min-height:30px}.editor-error{font-size:12px;color:#815F47;line-height:1.8;overflow-wrap:anywhere}.editor-error:empty{display:none}.save-button{width:100%;border-radius:9px;background:var(--accent);color:white;min-height:44px;margin-top:5px}.save-button:disabled{opacity:.6}
@media(max-width:599px),(max-height:479px){#workspace.editing #list-pane{display:none}#workspace.editing #detail-pane{display:block;width:100%}}
