:root{--text:#1e2328;--text-h:#1e2328;--bg:#f5f7fa;--border:#e6e9ee;--code-bg:#eff2f6;--accent:#d56326;--accent-bg:#d5632614;--accent-border:#d5632666;--social-bg:#eff2f680;--shadow:0 1px 2px #1e23280f;--surface:#fff;--surface-sunk:#eff2f6;--border-strong:#d5dae2;--text-sub:#6b7280;--text-faint:#a8aeb8;--accent-weak:#d5632614;--accent-strong:#b85420;--danger:#9b2c22;--danger-weak:#9b2c2214;--error:#b3382c;--font-jp:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Hiragino Sans","Noto Sans JP","Yu Gothic",system-ui,sans-serif;--font-num:"Inter",var(--font-jp);--sans:var(--font-jp);--heading:var(--font-jp);--sp-1:4px;--sp-2:8px;--sp-3:12px;--sp-4:16px;--sp-5:20px;--sp-6:24px;--sp-7:32px;--r-sm:6px;--r-md:10px;--r-lg:14px;--r-full:999px;--shadow-card:0 1px 2px #1e23280f;--shadow-fab:0 3px 8px #1e23282e;--shadow-overlay:0 8px 24px #1e232829;font:15px/1.6 var(--font-jp);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{margin:0}#root{box-sizing:border-box;flex-direction:column;max-width:100%;min-height:100svh;margin:0 auto;display:flex}p{margin:0}.record-focus{outline:2px solid var(--accent);outline-offset:0;transition:outline-color .24s}.record-focus.is-fading{outline-color:#0000}@media (prefers-reduced-motion:reduce){.record-focus{transition:none}}.chip{min-width:44px;min-height:44px;padding:0 var(--sp-4);border:1px solid var(--border);border-radius:var(--r-full);background:var(--surface);color:var(--text-sub);font:inherit;white-space:nowrap;cursor:pointer;justify-content:center;align-items:center;font-size:13px;line-height:1.2;display:inline-flex}.chip.is-on{background:var(--accent-weak);border-color:var(--accent-border);color:var(--accent-strong)}.chip:disabled{background:var(--surface-sunk);border-color:var(--border);color:var(--text-faint);cursor:not-allowed}.chip:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.record-filter{margin-bottom:var(--sp-3)}.filter-summary{justify-content:space-between;align-items:center;gap:var(--sp-2);width:100%;min-height:44px;padding:var(--sp-2) var(--sp-4);box-sizing:border-box;border:1px solid var(--border);border-radius:var(--r-md);background:var(--surface);color:var(--text-sub);font:inherit;text-align:left;cursor:pointer;font-size:13px;display:flex}.filter-summary .filter-summary-label{color:var(--text)}.filter-summary.is-active{color:var(--accent-strong)}.filter-summary.is-active .filter-summary-label{color:inherit}.filter-summary:active{background:color-mix(in srgb, var(--surface) 96%, var(--text))}.filter-summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.filter-summary .caret{color:var(--text-sub);flex-shrink:0;font-size:18px;line-height:1}.filter-card{box-sizing:border-box;border:1px solid var(--border);border-radius:var(--r-md);background:var(--surface);overflow:hidden}.filter-card .record-filter{border-bottom:.5px solid var(--border);margin-bottom:0}.filter-card .filter-summary{border:0;border-radius:0}.filter-card .record-filter-panel{padding:0 var(--sp-4)}.filter-card-body{padding:var(--sp-3)}.map-share-card{box-sizing:border-box;border:1px solid var(--border);border-radius:var(--r-md);background:var(--surface);padding:var(--sp-4);overflow:hidden}.map-share-head{align-items:baseline;column-gap:var(--sp-3);margin-bottom:var(--sp-3);grid-template-columns:1fr auto;row-gap:0;display:grid}.map-share-kind{letter-spacing:.12em;color:var(--text-sub);grid-area:1/1;font-size:12px;line-height:1.4}.map-share-brand{letter-spacing:.22em;color:var(--text-sub);grid-area:2/1;font-size:15px;font-weight:700;line-height:1.4}.map-share-date{color:var(--text-sub);font-size:12px;line-height:1.4;font-family:var(--font-num);font-variant-numeric:tabular-nums;white-space:nowrap;grid-area:2/2}.map-share-stats{gap:var(--sp-2);margin-top:var(--sp-4);text-align:center;grid-template-columns:repeat(3,1fr);display:grid}.map-share-tag{margin-top:var(--sp-4);text-align:right;letter-spacing:.04em;color:var(--text-faint);font-size:11px}form.record-form{--field-h:44px;--fs-caption:12px;gap:var(--sp-4)}.record-form .field{flex-direction:column;display:flex}.record-form .field-label{margin:0 0 var(--sp-1);font-size:var(--fs-caption);color:var(--text-sub);font-weight:400}.record-form .text-input{height:var(--field-h);padding:0 var(--sp-3);border:1px solid var(--border-strong);border-radius:var(--r-md);background:var(--surface)}.record-form textarea.text-input{height:auto;padding:var(--sp-3);resize:none}.record-form .date-ym{align-items:center;gap:var(--sp-2);display:flex}.record-form .date-ym-year{flex:2;min-width:0}.record-form .date-ym-month{flex:1;min-width:0}.record-form .date-ym-unit{font-size:var(--fs-caption);color:var(--text-sub);flex-shrink:0}.record-form .field-check{align-items:center;gap:var(--sp-2);margin-top:var(--sp-2);font-size:var(--fs-caption);color:var(--text-sub);display:flex}.record-form .note-count{margin-top:var(--sp-1);font-size:var(--fs-caption);color:var(--text-sub);text-align:right}.segmented{--field-h:44px;border:1px solid var(--border-strong);border-radius:var(--r-md);grid-auto-columns:1fr;grid-auto-flow:column;gap:0;display:grid;overflow:hidden}.segmented-item{height:var(--field-h);background:var(--surface);color:var(--text-sub);cursor:pointer;-webkit-user-select:none;user-select:none;border:0;border-radius:0;justify-content:center;align-items:center;padding:0;display:flex;position:relative}.segmented-item+.segmented-item{border-left:1px solid var(--border-strong)}.segmented-item.is-selected{background:var(--accent-weak);color:var(--accent-strong);box-shadow:inset 0 0 0 1px var(--accent-border);font-weight:400}.segmented-item input{opacity:0;width:0;height:0;position:absolute}.segmented-item:focus-within{outline:2px solid var(--accent);outline-offset:-2px}.view-tabs{--field-h:44px;box-sizing:border-box;gap:var(--sp-2);margin-bottom:var(--sp-3);display:flex}.view-tab{box-sizing:border-box;height:var(--field-h);border-radius:var(--r-md);color:var(--text-sub);cursor:pointer;-webkit-user-select:none;user-select:none;background:0 0;border:1px solid #0000;flex:1;justify-content:center;align-items:center;display:flex;position:relative}.view-tab.is-selected{background:var(--accent-weak);border-color:var(--accent-border);color:var(--accent-strong)}.view-tab input{opacity:0;width:0;height:0;position:absolute}.view-tab:focus-within{outline:2px solid var(--accent);outline-offset:2px}.edit-form{--field-h:44px}.edit-form textarea.text-input{resize:none}.edit-actions{align-items:center;gap:var(--sp-2);display:flex}.btn-primary{height:var(--field-h);padding:0 var(--sp-4);border-radius:var(--r-md);background:var(--accent-strong);color:var(--surface);font:inherit;cursor:pointer;border:0;flex:1;font-weight:600}.btn-primary:disabled{opacity:.5;cursor:not-allowed}.btn-text{height:var(--field-h);padding:0 var(--sp-4);border-radius:var(--r-md);color:var(--accent-strong);font:inherit;cursor:pointer;background:0 0;border:0}.btn-primary:focus-visible,.btn-text:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.photo-field{flex-direction:column;display:flex}.photo-slots{--photo-slot:60px;--photo-remove-size:18px;gap:var(--sp-2);margin-top:var(--sp-1);flex-wrap:wrap;display:flex}.photo-slot{width:var(--photo-slot);height:var(--photo-slot);border:1px solid var(--border);border-radius:var(--r-sm);position:relative;overflow:hidden}.photo-slot img{object-fit:cover;width:100%;height:100%;display:block}.photo-add{width:var(--photo-slot);height:var(--photo-slot);border:1px dashed var(--border-strong);border-radius:var(--r-sm);color:var(--text-faint);cursor:pointer;background:0 0;justify-content:center;align-items:center;display:flex;position:relative}.photo-add input{opacity:0;width:0;height:0;position:absolute}.photo-add:focus-within{outline:2px solid var(--accent);outline-offset:2px}.photo-remove{top:var(--sp-1);right:var(--sp-1);width:var(--photo-remove-size);height:var(--photo-remove-size);border-radius:var(--r-full);color:var(--surface);cursor:pointer;background:#1e23288c;border:none;justify-content:center;align-items:center;padding:0;font-size:13px;line-height:1;display:flex;position:absolute}.app{width:100%;max-width:480px;padding:var(--sp-6) var(--sp-4) 48px;box-sizing:border-box;text-align:left;flex-direction:column;flex:1;margin:0 auto;display:flex}.app-title{text-align:center;margin:8px 0 20px;font-size:28px}.record-form{flex-direction:column;gap:8px;margin-bottom:24px;display:flex}.field-label{color:var(--text-h);margin-top:8px;font-size:14px;font-weight:600}.text-input{box-sizing:border-box;border:1px solid var(--border);background:var(--bg);width:100%;color:var(--text-h);border-radius:8px;padding:12px;font-size:16px}.text-input:focus{border-color:var(--accent);outline:none}.search-box{position:relative}.suggestions{border:1px solid var(--border);background:var(--bg);box-shadow:var(--shadow);z-index:10;border-radius:8px;margin:4px 0 0;padding:4px;list-style:none;position:absolute;left:0;right:0}.suggestion{text-align:left;cursor:pointer;width:100%;color:var(--text);background:0 0;border:none;border-radius:6px;flex-direction:column;align-items:flex-start;gap:2px;padding:10px 12px;display:flex}.suggestion:hover,.suggestion:focus-visible{background:var(--accent-bg)}.suggestion-main{color:var(--text-h);font-size:15px;font-weight:600}.suggestion-sub{color:var(--text);font-size:13px}.selected-place{border:1px solid var(--accent-border);background:var(--accent-bg);border-radius:8px;padding:12px}.selected-place-name{color:var(--text-h);font-weight:600}.selected-place-address{font-size:14px}.submit-btn{background:var(--accent-strong);color:#fff;cursor:pointer;border:none;border-radius:8px;margin-top:12px;padding:14px;font-size:16px;font-weight:600}.submit-btn:disabled{opacity:.5;cursor:not-allowed}.error{color:var(--error);font-size:14px}.hint{color:var(--text);font-size:14px}.records{margin-top:var(--sp-3)}.record-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.record-slot{background:var(--accent-bg);color:var(--text-h);border-radius:999px;padding:2px 10px;font-size:13px}
