:root{color-scheme:light;--bg:#fafaf9;--surface:#fff;--soft:#f1f2ef;--text:#242722;--muted:#7d8379;--line:#e6e8e2;--accent:#607856;--danger:#a74640;--shadow:0 14px 44px #29332106;--radius:22px;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI","PingFang SC",sans-serif}
:root[data-theme=dark]{color-scheme:dark;--bg:#171a17;--surface:#1e221e;--soft:#282e28;--text:#ecefe8;--muted:#9ca697;--line:#343b33;--accent:#b2c6a3;--danger:#eca59d;--shadow:0 14px 44px #00000018}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-size:14px;line-height:1.6;-webkit-font-smoothing:antialiased}body,header,section,article,button,input,textarea,select{transition:background-color .25s,color .25s,border-color .25s}button,input,textarea,select{font:inherit;color:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:4px}[hidden]{display:none!important}.app-header{height:80px;min-height:80px;padding:0 88px 0 36px;display:flex;align-items:center;gap:32px}.brand{display:flex;align-items:center;gap:10px;font-size:18px;font-weight:600;letter-spacing:-.5px;white-space:nowrap}.brand-mark{width:30px;height:30px;border:1px solid var(--line);border-radius:10px;display:grid;place-items:center;background:var(--surface)}.brand-mark svg{width:17px;height:17px}.app-nav{display:flex;align-items:center;gap:25px;margin-left:auto;font-size:12px;color:var(--muted)}.app-nav a{padding:10px 0;white-space:nowrap}.app-nav [aria-current=page]{color:var(--text)}.theme-toggle{width:36px;height:36px;display:grid;place-items:center;flex-shrink:0;border:0;border-radius:50%;background:transparent;color:var(--muted)}.theme-toggle:hover{background:var(--soft)}.theme-toggle svg{width:17px;height:17px}svg{fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.app-main{max-width:1120px;margin:54px auto 82px;padding:0 32px}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:35px}.eyebrow{font-size:10px;font-weight:600;letter-spacing:.17em;text-transform:uppercase;color:var(--muted);margin-bottom:13px}.page-heading h1{font-size:clamp(30px,4vw,43px);line-height:1.25;letter-spacing:-1.6px;font-weight:500}.page-subtitle{font-size:13px;color:var(--muted);margin-top:13px;max-width:520px}.account-caption{font-size:12px;color:var(--muted);margin-top:10px;overflow-wrap:anywhere}.pill-button,.primary-button,.secondary-button,.text-button{border:0;border-radius:11px;padding:10px 17px;min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:12px;font-weight:500}.primary-button{background:var(--text);color:var(--surface)}.primary-button:hover{opacity:.88}.secondary-button{background:var(--soft);color:var(--text)}.pill-button{border:1px solid var(--line);border-radius:24px;background:var(--surface)}.text-button{background:none;color:var(--muted);padding:8px 10px}.text-button:hover{color:var(--text);background:var(--soft)}.button-icon{width:15px;height:15px}.guest-banner,.pending-banner,.status-banner{display:flex;justify-content:space-between;align-items:center;gap:18px;background:var(--soft);border-radius:15px;padding:14px 18px;margin-bottom:22px;font-size:12px}.guest-banner p,.pending-banner p{color:var(--muted);line-height:1.7}.guest-banner strong,.pending-banner strong{color:var(--text);font-weight:500}.banner-actions{display:flex;gap:6px;align-items:center;flex-shrink:0}.status-banner{color:var(--danger);border:1px solid var(--line);background:var(--surface)}.card{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow)}.form-field{display:block;font-size:11px;font-weight:500;color:var(--muted);margin:16px 0 6px}.form-input,.form-textarea{display:block;width:100%;min-width:0;border:1px solid var(--line);border-radius:10px;background:var(--bg);padding:11px 13px;font-size:14px;outline-offset:3px}.form-textarea{min-height:165px;resize:vertical;line-height:1.8}.form-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 17px}.section-title{font-size:13px;font-weight:500}.section-meta{font-size:11px;color:var(--muted)}.empty-state{padding:74px 25px;text-align:center;color:var(--muted)}.empty-state svg{width:30px;height:30px;margin-bottom:17px;opacity:.65}.empty-state h2{font-size:16px;font-weight:500;color:var(--text);margin-bottom:7px}.empty-state p{font-size:12px}.app-footer{max-width:1120px;margin:48px auto 0;padding:0 32px 26px;display:flex;justify-content:space-between;gap:20px;font-size:10px;color:var(--muted)}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.editor-shell{position:fixed;inset:0;z-index:100;background:#171e1738;backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;padding:24px}.editor-card{width:min(100%,520px);max-height:calc(100dvh - 48px);overflow:auto;padding:27px;border-radius:22px;background:var(--surface);border:1px solid var(--line);box-shadow:0 30px 100px #0002}.editor-head{display:flex;justify-content:space-between;align-items:center;gap:20px}.editor-head h2{font-size:19px;font-weight:500;letter-spacing:-.5px}.icon-button{width:36px;height:36px;border:0;border-radius:50%;background:none;display:grid;place-items:center;color:var(--muted)}.icon-button:hover{background:var(--soft)}.icon-button svg{width:17px;height:17px}.form-error{font-size:12px;color:var(--danger);margin-top:12px}.form-error:empty{display:none}
.notes-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.note-card{min-height:223px;padding:23px;display:flex;flex-direction:column;cursor:pointer}.note-card:hover{border-color:var(--muted);transform:translateY(-2px);transition:transform .2s,border-color .2s}.note-card:nth-child(4n+1){background:color-mix(in srgb,var(--surface) 92%,#d9ddb6)}.note-card:nth-child(4n+2){background:color-mix(in srgb,var(--surface) 94%,#bfd8e6)}.note-card:nth-child(4n+3){background:color-mix(in srgb,var(--surface) 95%,#e0bfaa)}.note-card h2{font-size:15px;font-weight:550;letter-spacing:-.2px;overflow-wrap:anywhere}.note-body{font-size:12px;line-height:1.9;color:var(--muted);margin-top:12px;white-space:pre-wrap;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden}.note-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:18px;font-size:10px;color:var(--muted)}.note-edit{font-size:11px;color:var(--muted);background:none;border:0;padding:5px 0}.places-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:25px}.places-aside{padding:28px;align-self:start}.places-aside .number{font-size:58px;line-height:1.15;letter-spacing:-3px;font-weight:400;margin:18px 0 10px}.places-aside p{font-size:12px;color:var(--muted);line-height:1.9}.places-orbit{width:95px;height:95px;opacity:.45;margin:34px 0 6px;stroke-width:1}.places-list{display:flex;flex-direction:column;gap:12px}.place-card{display:flex;align-items:center;gap:18px;padding:21px 23px}.place-index{width:40px;height:40px;background:var(--soft);border-radius:13px;display:grid;place-items:center;font-size:11px;color:var(--muted);flex-shrink:0}.place-copy{flex:1;min-width:0}.place-copy h2{font-size:16px;font-weight:500;letter-spacing:-.2px;overflow-wrap:anywhere}.place-country{font-size:10px;color:var(--muted);margin-left:10px;font-weight:400}.place-note{font-size:12px;color:var(--muted);margin-top:5px;overflow-wrap:anywhere}.place-remove{color:var(--muted)}.place-remove:hover{color:var(--danger)}
@media(max-width:800px){.notes-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.places-layout{grid-template-columns:210px minmax(0,1fr)}.places-aside{padding:23px}.app-header{gap:20px;padding-left:25px}.app-nav{gap:17px}}
@media(max-width:600px){.app-header{height:118px;min-height:118px;padding:16px 80px 0 20px;align-items:flex-start;gap:15px;position:relative}.brand{height:48px;font-size:17px}.theme-toggle{height:44px;width:44px;margin-left:auto;margin-top:2px}.app-nav{position:absolute;left:20px;bottom:0;height:48px;margin:0;gap:27px}.app-main{margin:28px auto 45px;padding:0 20px}.page-heading{margin-bottom:25px;align-items:flex-start;flex-direction:column;gap:18px}.page-heading h1{letter-spacing:-1px}.page-subtitle{font-size:12px}.guest-banner,.pending-banner,.status-banner{align-items:flex-start;flex-direction:column;gap:9px;padding:15px}.banner-actions{align-self:flex-end}.notes-grid{gap:12px}.note-card{padding:19px;min-height:220px}.note-card h2{font-size:14px}.note-body{font-size:11px}.places-layout{grid-template-columns:1fr;gap:18px}.places-aside{display:none}.place-card{padding:19px 17px;gap:13px}.place-country{display:block;margin:3px 0 0}.place-copy h2{font-size:15px}.form-input,.form-textarea{font-size:16px}.primary-button,.secondary-button,.pill-button,.icon-button{min-height:44px}.editor-shell{padding:16px}.editor-card{padding:22px;max-height:calc(100dvh - 32px)}.app-footer{padding:0 20px 22px;font-size:10px;flex-direction:column;gap:6px}}
@media(max-width:390px){.notes-grid{grid-template-columns:1fr}.note-card{min-height:195px}.page-heading h1{font-size:31px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;scroll-behavior:auto!important}.note-card:hover{transform:none}}
