:root{color-scheme:light;--bg:#faf8ef;--paper:#fff;--ink:#173e2e;--muted:#657264;--line:#e1e4d7;--yellow:#ffcf46;--sage:#eff2e7;--red:#a93a2c;font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #588e5d;outline-offset:3px}button{border:0;color:inherit}img,video{max-width:100%;display:block}h1,h2,h3,p{margin:0}h1{font-size:28px;letter-spacing:-1px;line-height:1.15}h2{font-size:23px;letter-spacing:-.6px}h3{font-size:18px}p{line-height:1.55}.icon-library{position:absolute;width:0;height:0;overflow:hidden}.icon{width:22px;height:22px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}[hidden]{display:none!important}.app-shell{max-width:1040px;padding:28px 24px 190px;margin:0 auto}.app-header{display:flex;align-items:center;justify-content:space-between;gap:14px}.brand{display:flex;align-items:center;gap:12px}.brand img{border-radius:14px}.brand p{font-size:13px;color:var(--muted);margin-top:4px}.icon-button{background:transparent;display:inline-grid;place-items:center;min-width:44px;min-height:44px;border-radius:12px}.icon-button:hover{background:var(--sage)}.connection-row{display:flex;gap:8px;align-items:center;justify-content:space-between;margin:23px 0 18px}.country-label{font-size:10px;font-weight:700;letter-spacing:1.5px}.country-label span{font-weight:400;letter-spacing:0;color:var(--muted);font-size:11px}.sync-pill{display:flex;gap:6px;align-items:center;background:transparent;font-size:11px;min-height:32px;padding:4px 0 4px 8px;white-space:nowrap}.status-dot{height:7px;width:7px;border-radius:50%;background:#b28e35}.sync-pill[data-state=synced] .status-dot{background:#407947}.sync-pill[data-state=error] .status-dot{background:var(--red)}.search-field{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:15px;background:var(--paper);padding:0 14px;color:var(--muted)}.search-field input{width:100%;min-width:0;border:0;padding:16px 0;font-size:16px;color:var(--ink);background:transparent}.search-field:focus-within{outline:2px solid #93ac8a}.search-field input:focus{outline:none}.area-filters{display:flex;gap:8px;overflow-x:auto;padding:17px 0 12px;scrollbar-width:none}.area-filters::-webkit-scrollbar{display:none}.area-chip{padding:10px 18px;border-radius:13px;background:#eeeee1;white-space:nowrap;min-height:42px;font-size:14px;flex-shrink:0}.area-chip[aria-pressed=true]{background:var(--ink);color:white}.filter-row{display:flex;gap:8px;flex-wrap:wrap}.filter-row select{flex:1;min-width:90px;width:0;padding:10px 23px 10px 10px;background:transparent;font-size:12px;border:1px solid var(--line);border-radius:10px;color:var(--muted);min-height:40px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:26px 0 16px}.section-heading p{font-size:12px;color:var(--muted);margin-top:5px}.text-button{background:transparent;min-height:44px;font-size:13px;text-decoration:underline;text-underline-offset:3px}.place-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.place-card{min-width:0;position:relative;border-radius:19px;background:var(--paper);border:1px solid var(--line);overflow:hidden;box-shadow:0 3px 12px #28391b05}.card-cover{position:relative;aspect-ratio:1.28;overflow:hidden;background:#e9ecd9;display:flex;align-items:center;justify-content:center}.card-cover>img{width:100%;height:100%;object-fit:cover}.cover-placeholder{color:#859276;display:flex;flex-direction:column;gap:10px;align-items:center}.cover-placeholder>.icon{width:40px;height:40px;stroke-width:1.3}.cover-placeholder span{font-size:11px}.cover-open{position:absolute;inset:0;background:transparent;width:100%;height:100%;z-index:1}.source-badge{position:absolute;top:10px;left:10px;max-width:calc(100% - 65px);background:#ffffffec;border:1px solid #d7decb;padding:4px 7px;font-size:10px;border-radius:8px;pointer-events:none;z-index:2}.favourite-button{position:absolute;top:7px;right:7px;z-index:3;background:#fffef3eb;width:39px;height:39px;min-height:44px;min-width:44px;border-radius:12px;display:grid;place-items:center}.favourite-button[aria-pressed=true] .icon{fill:var(--yellow);stroke:var(--ink)}.card-body{padding:13px}.card-title{display:block;width:100%;text-align:left;background:none;padding:0;font-size:17px;font-weight:650;line-height:1.35;letter-spacing:-.3px;overflow-wrap:anywhere;min-height:44px}.card-location{color:var(--muted);font-size:12px;margin:4px 0 7px;overflow-wrap:anywhere}.card-note{font-size:13px;line-height:1.5;color:#4e5c4e;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;margin:7px 0 9px;min-height:39px}.backup-label{font-size:10px;border-radius:6px;display:inline-block;padding:4px 6px;background:#edf4e5;color:#3a6232}.backup-label.warning{background:#fff1d1;color:#765416}.backup-label.failed{background:#ffe5e0;color:#8f2a24}.card-links{display:flex;gap:6px;margin-top:12px;flex-wrap:wrap}.card-links a,.card-links button{display:flex;flex:1;align-items:center;justify-content:center;gap:4px;font-size:11px;min-height:40px;border-radius:10px;background:#f5f4e9;border:1px solid #e9e8dd;text-decoration:none;padding:7px 6px;white-space:nowrap}.card-links .icon{width:15px;height:15px}.card-visit{margin-top:11px;display:flex;align-items:center;gap:5px;font-size:10px;color:var(--muted)}.card-visit .icon{width:13px;height:13px}.empty-state{text-align:center;padding:42px 22px 35px;border:1px dashed #cdd6bc;border-radius:22px;background:#f5f5e9}.empty-icon{width:62px;height:62px;background:#f8e5a0;border-radius:20px;display:grid;place-items:center;margin:0 auto 20px}.empty-icon>.icon{width:30px;height:30px}.empty-state h3{font-size:21px;letter-spacing:-.5px}.empty-state p{max-width:360px;color:var(--muted);font-size:14px;margin:10px auto 23px}.button{min-height:46px;padding:12px 18px;display:inline-flex;justify-content:center;align-items:center;gap:8px;border-radius:13px;font-size:14px;font-weight:600;text-decoration:none;line-height:1.3}.primary{background:var(--yellow);color:#123826}.primary:hover{background:#f5c234}.secondary{background:var(--sage);border:1px solid var(--line);color:var(--ink)}.danger{background:#ffebe3;color:var(--red);border:1px solid #f7d6c9}.add-dock{position:fixed;bottom:calc(87px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:calc(100% - 40px);max-width:500px;z-index:5;pointer-events:none}.add-place{width:100%;box-shadow:0 5px 22px #745c2217;min-height:54px;font-size:16px;pointer-events:auto}.bottom-nav{position:fixed;bottom:0;left:0;right:0;background:#fffdf7f5;backdrop-filter:blur(14px);border-top:1px solid #e1e4d7;padding:8px 12px calc(8px + env(safe-area-inset-bottom));z-index:5}.bottom-nav>div{display:flex;max-width:540px;margin:auto}.bottom-nav button{flex:1;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;min-height:54px;border-radius:11px;background:transparent;color:#79816f;min-width:0;padding:4px;font-size:11px}.bottom-nav button[aria-current=page]{color:var(--ink);font-weight:600}.bottom-nav button[aria-current=page] .icon{fill:#d8e4c6}.notice{padding:15px 17px;background:#fff0cb;border:1px solid #eed594;border-radius:14px;margin-bottom:18px;font-size:13px;color:#6c531c}.notice p{margin-top:5px}.mono{font-family:ui-monospace,monospace;font-size:.9em}.active-collection{margin:-2px 0 16px;font-size:13px;padding:10px 12px;background:var(--sage);border-radius:12px}.trip-card{border:1px solid var(--line);border-radius:18px;padding:24px 18px;background:var(--paper);text-align:left;min-height:125px;overflow-wrap:anywhere}.trip-card h3{margin:12px 0 6px}.trip-card p{color:var(--muted);font-size:12px}.sheet,.small-dialog{color:var(--ink);background:var(--bg);border:1px solid var(--line);box-shadow:0 15px 60px #10251630;padding:24px;border-radius:24px;max-height:90dvh;overflow:auto;width:min(640px,calc(100% - 24px));overscroll-behavior:contain}.sheet::backdrop,.small-dialog::backdrop{background:#13281980;backdrop-filter:blur(3px)}.sheet-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:22px}.sheet-heading h2{font-size:23px}.sheet-heading p{font-size:12px;color:var(--muted);margin-top:5px}.sheet-heading .icon-button{flex-shrink:0}.sheet label:not(.upload-label):not(.check-label){display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:600;margin:16px 0}.sheet input:not([type=checkbox]):not([type=file]),.sheet select,.sheet textarea{width:100%;min-width:0;padding:13px 12px;min-height:47px;border:1px solid #d7ddcc;border-radius:11px;background:#fff;color:var(--ink);font-size:16px;font-weight:400}.sheet textarea{resize:vertical;line-height:1.5}.sheet input::placeholder,.sheet textarea::placeholder{color:#8b9384;opacity:1}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:13px}.sheet .form-row label{min-width:0;margin:0}.upload-box{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:17px;border:1px dashed #bcccac;border-radius:15px;background:#f0f4e6;margin:18px 0 9px}.upload-box>div{flex:1;min-width:160px}.upload-box strong{font-size:13px}.upload-box p{font-size:12px;color:var(--muted);margin-top:4px}.upload-label{position:relative;overflow:hidden;cursor:pointer;font-size:12px}.upload-label input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}.field-help{font-size:11px;line-height:1.55;color:var(--muted)}.media-gallery{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.media-item{min-width:0;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--paper)}.media-item img,.media-item video{width:100%;aspect-ratio:1.1;object-fit:contain;background:#eceee6}.media-actions{padding:7px;display:flex;justify-content:space-between;align-items:center;gap:6px;font-size:10px}.media-actions button{background:transparent;min-height:40px;font-size:11px;color:var(--red)}.check-label{display:flex;align-items:center;gap:10px;font-size:14px;min-height:44px;margin:15px 0}.check-label input{width:20px;height:20px;accent-color:var(--ink)}.editor-actions{display:flex;justify-content:space-between;gap:10px;margin-top:22px}.editor-actions .primary{min-width:100px}.form-error{font-size:13px;background:#ffe5e0;color:var(--red);padding:12px;border-radius:10px}.small-dialog{max-width:460px}.small-dialog>p{font-size:14px;margin:14px 0}.small-dialog>h3{margin-top:24px;font-size:16px}.small-dialog>.field-help{font-size:12px}.settings-actions{display:grid;gap:10px;margin:22px 0}.app-version{font-size:11px!important;color:var(--muted);margin-top:25px!important}.pending-job{border-top:1px solid var(--line);padding:13px 0;font-size:13px;overflow-wrap:anywhere}.pending-job p{font-size:12px;color:var(--red);margin-top:5px}.pending-job button{min-height:40px;background:transparent;text-decoration:underline;font-size:12px;color:var(--red)}#retry-sync{margin-top:17px}.toast{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(158px + env(safe-area-inset-bottom));max-width:calc(100% - 28px);width:max-content;padding:13px 18px;color:white;background:#244b36;box-shadow:0 4px 20px #0002;border-radius:12px;font-size:13px;z-index:20;line-height:1.4}.image-error{font-size:11px;text-align:center;color:var(--muted);padding:15px}.empty-state .button{max-width:100%}
@media(min-width:900px){.app-shell{padding-top:42px}.app-header{margin-bottom:10px}h1{font-size:32px}.brand img{width:56px;height:56px}.brand p{font-size:14px}.connection-row{margin-top:25px}.area-filters{padding-top:20px}.section-heading{margin-top:32px}.add-dock{max-width:420px}.place-grid{gap:21px}.card-cover{aspect-ratio:1.45}.card-body{padding:17px}.card-title{font-size:19px}.card-note{font-size:14px}.card-links a{font-size:12px}.card-location{font-size:13px}.empty-state{padding:65px 20px}}
@media(max-width:640px){.app-shell{padding:22px 18px 185px}.place-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.sheet{position:fixed;bottom:0;top:auto;left:0;right:0;width:100%;max-width:none;max-height:94dvh;margin:0;padding:21px 18px calc(25px + env(safe-area-inset-bottom));border-radius:24px 24px 0 0}.card-title{font-size:15px}.card-body{padding:11px}.card-note{font-size:12px;min-height:36px}.card-links{gap:5px}.card-links a,.card-links button{font-size:10px;padding:7px 4px;min-height:42px}.source-badge{font-size:9px}.favourite-button{width:34px;height:34px;min-width:40px;min-height:40px}.country-label span{font-size:10px}.section-heading h2{font-size:22px}.card-location{font-size:11px}.brand{gap:10px}.brand img{width:44px;height:44px}.filter-row select{font-size:11px;padding-left:7px}.sync-pill{font-size:10px;max-width:115px}.upload-box{padding:13px}.upload-box .upload-label{width:100%}.small-dialog{padding:20px}.backup-label{font-size:9px}.card-visit{font-size:9px}}
@media(max-width:360px){.app-shell{padding-left:12px;padding-right:12px}.brand h1{font-size:25px}.brand p{font-size:12px}.brand img{width:40px;height:40px}.country-label span{display:none}.card-links{flex-direction:column}.card-title{font-size:14px}.form-row{gap:9px}.sheet .form-row label{font-size:11px}.area-chip{padding:10px 15px}.add-dock{width:calc(100% - 24px)}.add-place{font-size:15px}}
@media(prefers-reduced-motion:no-preference){.button,.area-chip,.icon-button{transition:background .15s ease,transform .15s ease}.button:active{transform:translateY(1px)}}
