[hidden]{display:none!important}
:root{--bg:#f7f6f2;--paper:#fff;--ink:#24352d;--muted:#768078;--green:#244c3c;--soft:#e9f0e8;--line:#e4e7df;--amber:#95631d;--red:#a34a3f;--radius:16px;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none;font-size:14px;line-height:1.6}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit;color:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}button:focus-visible,a:focus-visible{outline:3px solid #83a78f;outline-offset:3px}input:focus,select:focus,textarea:focus{outline:2px solid #83a78f;outline-offset:1px}button{border:0;background:transparent}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}h1,h2,h3,p{margin:0}h1{font-size:29px;line-height:1.35;letter-spacing:-.8px;font-weight:650}h2{font-size:21px;font-weight:650}h3{font-size:17px;line-height:1.5}small,.muted{color:var(--muted)}small{font-size:12px}.skip-link{position:fixed;top:-50px;left:20px;z-index:100;background:white;padding:10px}.skip-link:focus{top:10px}.initial-loading{min-height:100vh;display:grid;place-content:center;justify-items:center;gap:14px}.sidebar{position:fixed;inset:0 auto 0 0;width:208px;border-right:1px solid var(--line);padding:34px 20px;display:flex;flex-direction:column;background:#f1f2ec}.brand{display:flex;align-items:center;gap:10px;padding:0 9px;color:var(--ink)}.brand img{width:39px;height:39px}.brand strong{font-size:21px;letter-spacing:1px}.brand small{display:block;font-size:10px;letter-spacing:2px}.nav{display:grid;gap:7px;margin-top:46px}.nav a{padding:13px 17px;display:flex;align-items:center;gap:13px;border-radius:10px;font-size:15px;color:#67766b;font-weight:500}.nav a:hover{text-decoration:none;background:#e9ece3}.nav a.active{background:var(--green);color:white}.side-note{margin-top:auto;padding:24px 12px 0;font-size:12px;line-height:1.9;color:#899183}.side-note strong{font-size:13px;color:#65745f;display:block;margin-bottom:5px;font-weight:500}.shell{margin-left:208px}.topbar{height:72px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:0 40px;background:rgba(255,255,255,.45)}.crumb{display:flex;align-items:center;gap:9px;color:#707b70;font-size:12px;letter-spacing:.5px}.crumb svg{width:15px;height:15px}.account-button{display:flex;align-items:center;gap:9px;font-size:13px}.avatar{width:29px;height:29px;border-radius:50%;display:grid;place-items:center;background:#e1e8df;color:var(--green);font-size:11px;font-weight:600}.sync-dot{width:6px;height:6px;display:inline-block;background:#628763;border-radius:50%;margin-right:5px}.main{max-width:1420px;padding:34px 40px 70px;margin:auto}.page-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.eyebrow{font-size:11px;font-weight:600;color:#819079;letter-spacing:1.8px;margin-bottom:8px}.sub{color:var(--muted);font-size:13px;margin-top:8px}.btn{min-height:40px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:9px 16px;font-size:13px;font-weight:550;background:white;border:1px solid var(--line);line-height:1.5;text-align:center}.btn:hover{background:#f2f5ef;text-decoration:none}.btn.primary{background:var(--green);border-color:var(--green);color:white}.btn.primary:hover{background:#34614b}.btn.soft{background:var(--soft);border-color:transparent;color:var(--green)}.btn.danger{color:var(--red);border-color:#ead3cf;background:#fff}.btn.small{padding:6px 11px;min-height:34px;font-size:12px}.btn svg{width:17px;height:17px}.icon-btn{width:38px;height:38px;display:inline-grid;place-items:center;border-radius:50%;flex-shrink:0}.icon-btn:hover{background:#f1f3ed}.text-btn{color:var(--green);font-weight:550;font-size:13px;padding:5px}.location-box{padding:17px 20px;background:#eaf0e6;display:flex;align-items:center;justify-content:space-between;border-radius:12px;gap:15px;margin-bottom:22px}.location-copy{display:flex;align-items:center;gap:13px;min-width:0}.location-icon{background:#dbe6d5;color:#45683e;width:40px;height:40px;display:grid;place-items:center;border-radius:50%;flex-shrink:0}.location-copy strong{font-size:14px;font-weight:550}.location-copy p{color:#7b8777;font-size:12px;margin-top:2px}.location-actions{display:flex;gap:7px;flex-shrink:0}.pass-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:22px}.pass-choice{padding:14px 16px;border:1px solid var(--line);border-radius:12px;text-align:left;display:flex;gap:12px;align-items:center;background:#fff;position:relative;min-width:0}.pass-choice.selected{border-color:#759076;background:#f4f8f0;box-shadow:inset 0 0 0 1px #759076}.pass-choice .pass-icon{background:#edf0e8;width:36px;height:40px;display:grid;place-items:center;border-radius:8px;color:#829178;flex-shrink:0}.pass-choice.selected .pass-icon{background:#e2eada;color:#4f6b43}.pass-choice strong{display:block;font-size:13px}.pass-choice small{display:block;font-size:11px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.pass-copy{min-width:0;flex:1}.check-circle{width:17px;height:17px;border:1px solid #d8ded2;border-radius:50%;display:grid;place-items:center}.selected .check-circle{background:var(--green);border-color:var(--green);color:white}.check-circle svg{width:11px;height:11px}.login-hint{display:flex;align-items:center;gap:9px;padding:0 2px 18px;color:#87917f;font-size:12px}.login-hint button{padding:0;color:var(--green);font-weight:600}.toolbar{display:flex;align-items:center;gap:12px;margin-bottom:17px}.search{display:flex;gap:8px;align-items:center;background:white;border:1px solid var(--line);border-radius:9px;padding:0 12px;flex:1;max-width:370px;height:42px}.search svg{color:#8a9387;width:17px;height:17px}.search input{border:0;background:none;width:100%;font-size:13px;padding:8px 0;outline:none}.toolbar select{border:1px solid var(--line);border-radius:9px;background:#fff;padding:10px 30px 10px 12px;font-size:12px;max-width:150px}.toolbar .sort{margin-left:auto}.filters{display:flex;gap:5px;align-items:center;flex-wrap:wrap;padding-bottom:18px;border-bottom:1px solid var(--line);margin-bottom:22px}.filter{padding:7px 14px;border-radius:7px;font-size:12px;color:#7a8477;white-space:nowrap}.filter.active{background:#e5ebdf;color:var(--green);font-weight:600}.filter .count{font-size:10px;margin-left:5px;opacity:.7}.result-count{margin-left:auto;font-size:12px;color:var(--muted)}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 20px}.place-card{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:#fff;min-width:0;transition:box-shadow .18s,transform .18s;display:flex;flex-direction:column}.place-card:hover{box-shadow:0 6px 20px #2c463510;transform:translateY(-2px)}.cover-button{display:block;width:100%;text-align:left;padding:0;position:relative;aspect-ratio:1.9;overflow:hidden;background:#e7ebdf;color:#8f9c84}.cover-button img{width:100%;height:100%;object-fit:cover;display:block}.cover-placeholder{width:100%;height:100%;display:grid;place-content:center;justify-items:center;gap:6px;background:#e9ede3;font-size:11px;color:#8c9a7f}.cover-placeholder svg{width:31px;height:31px;stroke-width:1.2}.image-failed{position:absolute;inset:0}.category-tag{position:absolute;top:13px;left:13px;background:#ffffffef;color:#4f6250;font-size:10px;border-radius:5px;padding:3px 8px;backdrop-filter:blur(4px)}.distance-tag{position:absolute;right:12px;bottom:11px;display:flex;align-items:center;gap:4px;background:#ffffffef;border-radius:5px;padding:4px 7px;font-size:11px;color:var(--green)}.distance-tag svg{width:12px;height:12px}.card-content{padding:17px 17px 0;flex:1}.place-title{font-size:16px;line-height:1.5;font-weight:600;padding:0;text-align:left;display:block}.place-title:hover{color:#527450}.place-meta{display:flex;align-items:center;gap:5px;color:#8a9386;font-size:11px;margin-top:5px}.place-meta svg{width:12px;height:12px}.benefit-line{display:flex;align-items:center;gap:7px;margin-top:14px;font-size:12px;color:#64715f}.benefit-line strong{font-weight:550;color:#45563e}.benefit-line .divider{color:#d4d9cf}.expiry-note{font-size:10px;color:#aa6e3b;min-height:18px;margin-top:5px}.card-foot{padding:12px 17px 14px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid #f0f1ec;margin-top:12px;gap:5px}.status{font-size:11px;display:inline-flex;align-items:center;gap:5px;color:#8a7961;white-space:nowrap}.status:before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor}.status.available{color:#517b40}.status.used{color:#899187}.status.expired{color:#ac775a}.status.none{color:#90978b}.status.upcoming{color:#5d8298}.mark-btn{display:flex;align-items:center;gap:5px;font-size:11px;font-weight:550;color:var(--green);padding:6px 8px;border-radius:6px;background:#f0f5eb}.mark-btn svg{width:13px;height:13px}.footer-note{margin:26px 0 0;font-size:11px;color:#91998b;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.empty{grid-column:1/-1;padding:56px 20px;background:white;border:1px dashed #d4dcca;border-radius:14px;text-align:center}.empty>svg{width:40px;height:40px;color:#8d9b82;margin-bottom:10px}.empty h3{font-size:17px;margin-bottom:7px}.empty p{color:var(--muted);margin-bottom:17px}.panel{background:white;border:1px solid var(--line);border-radius:14px;padding:24px;margin-bottom:18px}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:19px}.panel h2{font-size:18px}.panel p{font-size:13px;color:var(--muted);margin:6px 0}.card-manager{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.managed-card{border:1px solid var(--line);background:white;padding:23px;border-radius:14px}.managed-card .ticket-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px;color:#77906b}.managed-card h3{font-size:20px}.managed-card .sub{margin:4px 0 20px;min-height:40px}.card-stats{display:flex;justify-content:space-between;margin:19px 0;padding-top:17px;border-top:1px solid var(--line)}.card-stats strong{font-size:22px;font-weight:550;display:block}.card-stats small{font-size:11px}.type-list{margin-top:28px}.type-row,.setting-row{padding:15px 0;display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line)}.type-row:last-child,.setting-row:last-child{border:0}.setting-row p{max-width:610px}.settings-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:20px}.settings-grid .panel{height:fit-content}.history-list{background:white;border:1px solid var(--line);border-radius:14px;padding:0 24px}.history-row{padding:19px 0;display:flex;align-items:center;gap:14px;border-bottom:1px solid var(--line)}.history-row:last-child{border:0}.history-symbol{width:36px;height:36px;border-radius:50%;background:var(--soft);display:grid;place-items:center;color:#7d9673;flex-shrink:0}.history-row h3{font-size:14px;font-weight:550}.history-row p{font-size:12px;color:var(--muted);margin-top:3px}.history-copy{flex:1;min-width:0}.history-row time{font-size:11px;color:#949d90}.notice{background:#f6f0e5;color:#89734f;padding:12px 15px;border-radius:9px;font-size:12px;margin:14px 0}.notice.neutral{background:#f0f4eb;color:#738468}.row{display:flex;align-items:center;gap:10px}.between{justify-content:space-between}.stack{display:grid;gap:14px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.span-2{grid-column:1/-1}label.field{display:flex;flex-direction:column;gap:6px;font-size:12px;color:#697461}input:not([type=checkbox]),select,textarea{width:100%;min-width:0;min-height:41px;border:1px solid #dce2d5;border-radius:8px;padding:9px 11px;background:#fff;font-size:14px;color:var(--ink)}textarea{resize:vertical;min-height:76px}input::placeholder,textarea::placeholder{color:#a4aca0}.field small{font-size:11px}.field-label{font-size:12px;color:#697461}.field-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:9px}fieldset{border:1px solid var(--line);border-radius:11px;padding:15px;margin:17px 0}legend{font-size:13px;padding:0 8px;font-weight:550}.check-label{display:flex;gap:9px;align-items:center;font-size:13px}.check-label input{accent-color:var(--green);width:17px;height:17px}.right-fields{margin-top:15px}.form-footer{display:flex;gap:8px;justify-content:flex-end;margin-top:23px;padding-top:18px;border-top:1px solid var(--line)}.error{color:var(--red);font-size:13px;margin:10px 0;white-space:pre-wrap}.error:empty{display:none}.success{color:var(--green);font-size:13px}.pill{font-size:11px;background:#edf2e9;border-radius:5px;padding:3px 7px;color:#6d805f}.long-url{overflow-wrap:anywhere}dialog{border:0;border-radius:18px;width:min(680px,calc(100% - 28px));max-height:90dvh;padding:0;color:var(--ink);background:white;box-shadow:0 18px 80px #1c342333}dialog::backdrop{background:#15251c66;backdrop-filter:blur(2px)}dialog[open]{animation:appear .18s ease-out}.modal-head{padding:22px 25px 16px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);position:sticky;top:0;background:white;z-index:2}.modal-head h2{font-size:19px;line-height:1.5}.modal-body{padding:23px 25px 26px}.drawer{margin:0 0 0 auto;height:100dvh;max-height:100dvh;width:min(520px,100%);border-radius:18px 0 0 18px}.detail-cover{height:220px;width:100%;object-fit:cover;border-radius:11px;margin-bottom:20px;background:#e7ebdf}.detail-sub{font-size:12px;color:var(--muted);margin:8px 0 17px}.detail-benefit{background:#f3f6ef;border-radius:12px;padding:16px;margin:17px 0}.detail-benefit strong{font-size:18px;font-weight:550}.detail-benefit p{font-size:12px;margin-top:6px;color:#75836a}.detail-title{font-size:14px;font-weight:600;margin:23px 0 5px}.usage-row{padding:16px 0;border-bottom:1px solid var(--line)}.usage-row:last-child{border:0}.usage-row h3{font-size:14px}.usage-row small{display:block;margin-top:3px}.usage-buttons{display:flex;gap:7px;margin-top:10px;flex-wrap:wrap}.detail-links{display:flex;gap:14px;margin:18px 0;font-size:12px;flex-wrap:wrap}.poi-results{display:grid;gap:8px;margin-top:12px;max-height:300px;overflow:auto}.poi-item{display:block;text-align:left;border:1px solid var(--line);border-radius:9px;padding:11px 13px;line-height:1.55;background:white}.poi-item:hover{border-color:#799c68;background:#f8faf4}.poi-item strong{display:block;font-size:13px}.poi-item small{display:block;margin-top:3px}.cover-preview{max-width:180px;height:90px;object-fit:cover;border-radius:9px;border:1px solid var(--line);margin-top:9px}.toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%) translateY(20px);background:#233d2eef;color:white;box-shadow:0 4px 24px #15382120;padding:11px 18px;border-radius:10px;font-size:13px;z-index:30;opacity:0;pointer-events:none;max-width:min(90%,520px);transition:opacity .2s,transform .2s}.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}.toast button{color:#d1e9bc;text-decoration:underline;margin-left:12px;font-size:12px;pointer-events:auto}.bottom-nav{display:none}.offline-banner{padding:10px 20px;background:#f9eade;color:#8e6a48;text-align:center;font-size:12px}.selection-hint{font-size:12px;color:#8d815d;margin-bottom:18px}.button-group{display:flex;gap:8px;flex-wrap:wrap}.mobile-brand{display:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.key-status{font-size:12px;color:#75816f;margin-top:8px}.two-col{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:end}.overview-count{font-size:11px;color:#87957c;margin-left:8px}.archived-list{display:grid;gap:11px}.archived-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 20px;border:1px solid var(--line);border-radius:12px;background:white}.archived-row strong{font-size:14px}
@keyframes appear{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}@media(min-width:1550px){.grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1180px){.sidebar{width:177px;padding:30px 13px}.shell{margin-left:177px}.main{padding:28px 26px 60px}.topbar{padding:0 26px}.grid{gap:17px;grid-template-columns:repeat(2,minmax(0,1fr))}.settings-grid{grid-template-columns:1fr}.brand strong{font-size:18px}.card-manager{gap:12px}.managed-card{padding:18px}}@media(max-width:760px){:root{font-size:14px}.sidebar{display:none}.shell{margin-left:0}.topbar{height:62px;padding:0 19px;background:var(--bg);border-bottom:0}.crumb{display:none}.mobile-brand{display:flex;align-items:center;gap:8px;font-size:17px;font-weight:650}.mobile-brand img{width:27px;height:27px}.account-button{font-size:11px;gap:6px}.avatar{width:27px;height:27px}.main{padding:17px 18px 106px}.page-head{margin-bottom:22px;gap:10px;align-items:flex-end}h1{font-size:26px}.eyebrow{font-size:9px;margin-bottom:5px}.sub{font-size:11px;line-height:1.7;margin-top:6px}.page-head>.btn{font-size:11px;padding:8px 10px;min-height:35px}.page-head>.btn svg{width:15px;height:15px}.location-box{padding:13px 14px;align-items:flex-start;flex-wrap:wrap;gap:10px;margin-bottom:19px}.location-copy{gap:9px}.location-copy strong{font-size:12px}.location-copy p{font-size:10px;max-width:240px}.location-icon{width:34px;height:34px}.location-actions{margin-left:43px}.location-actions .btn{font-size:11px;min-height:30px;padding:5px 10px}.pass-strip{gap:8px;margin-bottom:18px}.pass-choice{padding:10px 9px;display:block}.pass-choice .pass-icon{width:23px;height:27px;border-radius:5px;margin-bottom:7px}.pass-choice .pass-icon svg{width:16px;height:16px}.pass-choice strong{font-size:11px}.pass-choice small{font-size:9px;margin-top:3px}.check-circle{position:absolute;top:13px;right:8px;width:13px;height:13px}.check-circle svg{width:9px;height:9px}.login-hint{font-size:10px;gap:6px;padding-bottom:15px;flex-wrap:wrap}.login-hint svg{width:12px;height:12px}.toolbar{gap:7px;flex-wrap:wrap;margin-bottom:12px}.search{flex:1;max-width:none;height:39px;min-width:160px}.search input{font-size:12px;min-height:37px}.toolbar select{font-size:11px;padding:8px 4px 8px 8px;min-height:39px;max-width:110px}.toolbar .category-select{display:none}.toolbar .sort{margin-left:0;width:107px}.filters{gap:3px;margin-bottom:17px;padding-bottom:12px;flex-wrap:nowrap;overflow:auto}.filter{font-size:11px;padding:6px 9px}.filter .count{font-size:9px;margin-left:4px}.result-count{display:none}.grid{gap:13px 11px}.place-card{border-radius:12px}.cover-button{aspect-ratio:1.3}.category-tag{top:9px;left:9px;font-size:8px;padding:2px 5px}.distance-tag{right:7px;bottom:8px;font-size:9px;gap:2px;padding:3px 5px}.card-content{padding:11px 11px 0}.place-title{font-size:12px;min-height:36px}.place-meta{font-size:9px;margin-top:3px;gap:3px}.benefit-line{font-size:10px;margin-top:9px;gap:4px;flex-wrap:wrap}.expiry-note{font-size:8px;margin-top:4px;min-height:14px}.card-foot{padding:9px 10px;margin-top:9px;gap:4px}.status{font-size:9px;gap:4px}.mark-btn{font-size:9px;padding:5px 5px;gap:3px;min-height:28px}.mark-btn svg{width:10px;height:10px}.footer-note{font-size:9px;margin-top:20px}.bottom-nav{position:fixed;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:space-around;padding:9px 4px calc(8px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fffffff5;backdrop-filter:blur(10px);z-index:10}.bottom-nav a{display:flex;align-items:center;flex-direction:column;font-size:9px;gap:3px;color:#95a08b;min-width:65px}.bottom-nav a.active{color:var(--green)}.bottom-nav svg{width:21px;height:21px}.bottom-nav a.active svg{stroke-width:2.2}.card-manager{grid-template-columns:1fr}.managed-card{padding:20px}.managed-card .ticket-top{margin-bottom:8px}.managed-card .sub{min-height:0}.managed-card h3{font-size:18px}.card-stats{margin:15px 0}.type-list{margin-top:23px}.panel{padding:18px}.settings-grid{gap:0}.history-list{padding:0 14px}.history-row{padding:14px 0;gap:10px;align-items:flex-start;flex-wrap:wrap}.history-symbol{width:30px;height:30px}.history-row h3{font-size:12px}.history-row p{font-size:11px}.history-row time{font-size:10px}.history-row .btn{min-height:30px}.modal-head{padding:16px 18px 12px}.modal-head h2{font-size:17px}.modal-body{padding:18px}.drawer{border-radius:16px 16px 0 0;width:100%;height:94dvh;margin:auto 0 0;max-height:94dvh}dialog:not(.drawer){max-height:92dvh}.detail-cover{height:190px}.form-grid{gap:12px}.form-grid .wide-mobile{grid-column:1/-1}.form-footer{position:sticky;bottom:-18px;background:white;padding:13px 0 0;margin-top:18px}.form-footer .btn{flex:1}.toast{bottom:87px;width:max-content}.field input,.field select,.field textarea{font-size:16px}.selection-hint{font-size:11px}.usage-buttons .btn{font-size:11px}.detail-sub{font-size:11px}.cover-placeholder{font-size:9px}.cover-placeholder svg{width:25px;height:25px}.settings-grid .setting-row{align-items:flex-start}.btn{min-height:42px}.icon-btn{width:40px;height:40px}.type-row strong{font-size:13px}.setting-row strong{font-size:14px}.overview-count{font-size:9px}.archived-row{padding:13px}.archived-row strong{font-size:12px}}
@media(max-width:350px){.grid{grid-template-columns:1fr}.cover-button{aspect-ratio:1.8}.place-title{min-height:0;font-size:15px}.card-foot .status,.mark-btn{font-size:12px}.pass-choice small{font-size:8px}}
.search input{border:0;min-height:0;background:transparent;padding:0;border-radius:0}
.drawer{max-width:none}
.brand small{font-size:9px;letter-spacing:.7px;white-space:nowrap}
.account-button>span:last-child{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:760px){.pass-copy strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pass-copy .overview-count{display:none}.place-title{font-size:13px;min-height:39px}.place-meta{font-size:10px}.card-foot{padding:4px 9px 5px}.card-foot .status{font-size:10px}.mark-btn{font-size:10px;min-height:44px;padding:5px 7px}.filter{min-height:40px}.account-button>span:last-child{max-width:120px}.bottom-nav a{min-height:44px}.location-actions .btn{min-height:36px}.location-copy p{max-width:240px}.form-footer .btn{min-height:44px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:760px){.usage-buttons .btn{min-height:44px}}

/* Nearby is an explicit destination, with one photo-led venue per row. */
.nearby-entry{display:flex;align-items:center;gap:15px;padding:18px 20px;margin-bottom:22px;border-radius:12px;background:var(--soft);color:var(--green);transition:background .18s}
.nearby-entry:hover{background:#dfeadb;text-decoration:none}.nearby-entry>span:nth-child(2){flex:1}.nearby-entry strong{font-size:17px;display:block}.nearby-entry small{display:block;margin-top:3px;font-size:12px;color:#657760}.nearby-entry>svg{margin-left:auto}
.back-link{display:inline-flex;align-items:center;min-height:36px;margin:-8px 0 12px;font-size:13px;color:var(--muted)}
.nearby-page{max-width:1120px}.nearby-page .page-head{margin-bottom:20px}.nearby-page .eyebrow{display:none}
.card-picker{display:flex;align-items:center;gap:9px;max-width:460px;margin:0 0 16px;font-size:13px;white-space:nowrap;color:#64715f}.card-picker svg{width:18px}.card-picker select{font-size:13px;min-height:44px;flex:1;width:auto;background:transparent;border-color:var(--line)}
.list-context{font-size:12px;color:var(--muted);margin:-3px 0 17px;line-height:1.8}
.grid.venue-list{display:grid;grid-template-columns:minmax(0,1fr);gap:15px}
.place-card.venue-row{display:grid;grid-template-columns:180px minmax(0,1fr);gap:23px;padding:19px;border-radius:13px;border-color:#e7e9e3;align-items:start}
.place-card.venue-row:hover{transform:none;box-shadow:0 3px 15px #2c463508;border-color:#cad7c6}
.venue-row .cover-button{height:166px;aspect-ratio:auto;border-radius:8px}
.venue-copy{min-width:0}.venue-row .place-title{font-size:19px;line-height:1.45;min-height:0;margin:0 0 10px;font-weight:600;overflow-wrap:anywhere}
.nearby-distance{display:inline-flex;align-items:center;gap:5px;font-size:16px;line-height:1.5;font-weight:600;color:#365536;background:#eaf1d4;padding:2px 8px;border-radius:4px;margin-bottom:9px}
.nearby-distance.unresolved{font-size:12px;font-weight:400;background:#f0f1ed;color:#7d8877}.nearby-distance svg{width:13px;height:13px}
.venue-address{font-size:12px;color:#7b8478;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.65}
.venue-row .benefit-line{font-size:12px;margin:7px 0 0;gap:7px;flex-wrap:wrap}.venue-row .benefit-line>span:last-child{color:var(--muted)}
.venue-row .expiry-note{font-size:11px;line-height:1.5;min-height:0;margin-top:4px}
.venue-row .card-foot{padding:5px 0 0;margin-top:8px;min-height:44px;gap:10px}.venue-row .status{font-size:12px}.venue-row .mark-btn{font-size:12px;min-height:40px;padding:7px 11px}
.list-pagination{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;margin:24px 0 0}.list-pagination .btn{min-width:210px;min-height:44px}.list-pagination small{font-size:12px}
@media(max-width:760px){
  .nearby-entry{padding:15px;gap:12px;margin-bottom:19px}.nearby-entry strong{font-size:15px}.nearby-entry small{font-size:11px}.nearby-entry .location-icon{width:36px;height:36px}
  .nearby-page{padding:8px 14px 106px}.nearby-page .back-link{font-size:12px;margin:0 0 7px;min-height:36px}.nearby-page .page-head{margin-bottom:15px}.nearby-page h1{font-size:25px}.nearby-page .sub{font-size:12px}
  .nearby-page .location-box{padding:12px;margin-bottom:14px;gap:10px}.nearby-page .location-copy strong{font-size:13px}.nearby-page .location-copy p{font-size:11px;line-height:1.65;max-width:none}.nearby-page .location-actions{margin-left:0;width:100%}.nearby-page .location-actions .btn{font-size:12px;min-height:44px;flex:1}
  .card-picker{font-size:12px;margin-bottom:13px;gap:7px}.card-picker select{font-size:13px;min-width:0;padding:8px;min-height:44px}.nearby-page .toolbar{margin-bottom:10px}.nearby-page .search{height:42px}.nearby-page .toolbar .sort{height:42px}
  .nearby-page .filters{margin-bottom:13px;padding-bottom:6px}.list-context{font-size:11px;line-height:1.7;margin:0 0 13px}
  .grid.venue-list{gap:12px}.place-card.venue-row{grid-template-columns:106px minmax(0,1fr);padding:12px;gap:13px;border-radius:12px}
  .venue-row .cover-button{height:128px;border-radius:6px}.venue-row .cover-placeholder{font-size:10px}.venue-row .place-title{font-size:16px;line-height:1.45;min-height:0;margin-bottom:8px;letter-spacing:0}
  .nearby-distance{font-size:14px;padding:2px 6px;margin-bottom:7px}.nearby-distance.unresolved{font-size:11px}.venue-address{font-size:11px;line-height:1.6}
  .venue-row .benefit-line{font-size:11px;gap:4px;margin-top:6px}.venue-row .expiry-note{font-size:10px;margin-top:4px}.venue-row .card-foot{margin-top:7px;padding-top:2px;gap:4px;flex-wrap:wrap}.venue-row .status{font-size:11px}.venue-row .mark-btn{font-size:11px;min-height:44px;padding:6px 8px}.venue-row .mark-btn svg{width:12px;height:12px}
  .bottom-nav a{min-width:58px}.nearby-page .footer-note{font-size:10px;line-height:1.7}
}
@media(max-width:360px){.place-card.venue-row{grid-template-columns:89px minmax(0,1fr);padding:10px;gap:10px}.venue-row .cover-button{height:113px}.venue-row .place-title{font-size:15px}.venue-row .status{font-size:10px}}
.nearby-page .back-link{float:right;margin:0 0 0 14px}.nearby-page .page-head{display:flex}.nearby-page .page-head>.btn{flex-shrink:0}
@media(max-width:760px){
  .nearby-page .location-box{flex-wrap:nowrap}.nearby-page .location-icon{display:none}.nearby-page .location-copy{flex:1}.nearby-page .location-actions{width:auto;gap:5px;margin-left:0}
  .nearby-page .location-actions .btn:first-child{font-size:0;min-width:44px;width:44px;padding:8px;flex:none}
  .nearby-page .location-actions .btn:last-child{font-size:11px;max-width:65px;min-height:44px;padding:5px 9px;flex:none}
}

/* Nearby map: one persistent canvas, compact controls and a venue inspector. */
.nearby-view-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 17px}.nearby-view-bar small{font-size:11px}.view-switch{display:inline-flex;gap:3px;padding:3px;border:1px solid var(--line);background:#eef0e9;border-radius:11px;flex-shrink:0}.view-switch button{min-width:76px;min-height:40px;display:flex;justify-content:center;align-items:center;gap:7px;border-radius:8px;color:#7b847a;font-size:13px}.view-switch button.active{background:#fff;color:var(--green);box-shadow:0 1px 4px #1e422615}.view-switch svg{width:17px;height:17px}.list-number{position:absolute;top:7px;left:7px;min-width:27px;height:27px;padding:0 5px;border-radius:7px;background:var(--green);color:white;font-weight:650;display:grid;place-items:center;font-size:13px}
.main.map-page{height:calc(100dvh - 72px);max-width:none;margin:0;padding:0;display:flex;flex-direction:column;min-height:560px;overflow:hidden;background:#fff}.map-toolbar{padding:12px 24px 0;background:#fff;flex-shrink:0;border-bottom:1px solid var(--line)}.map-title-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.map-title-row h1{font-size:22px;letter-spacing:0}.map-filter-row{display:grid;grid-template-columns:minmax(170px,280px) 130px minmax(180px,1fr);gap:10px}.map-filter-row .card-picker{width:100%;max-width:none;min-width:0;margin:0;height:44px;border-radius:9px}.map-filter-row .card-picker select{min-width:0;font-size:13px}.map-filter-row .search{height:44px;max-width:none;min-width:0}.map-filter-row .search input{min-width:0;font-size:14px}.map-status-filter{border:1px solid var(--line);border-radius:9px;background:#fff;padding:0 10px;min-width:0}.map-search-toggle{display:none}.map-location-row{display:flex;align-items:center;height:46px;gap:6px}.map-location-row>span{min-width:0;display:flex;gap:8px;align-items:center;flex:1;font-size:12px}.map-location-row>span>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.map-location-row svg{width:16px;height:16px}.map-location-row small{margin-left:10px;font-size:11px;color:#7d877d}.map-location-row .text-btn{flex-shrink:0;min-height:44px;padding:0 9px}.map-location-row .icon-btn{height:44px;width:44px}.map-location-row .icon-btn svg{width:20px;height:20px}
.map-workspace{flex:1;min-height:235px;position:relative;isolation:isolate;background:#edf0e9;overflow:hidden}.map-slot,.venue-map-canvas{position:absolute;inset:0;width:100%;height:100%}.venue-map-canvas{touch-action:none}.map-state{position:absolute;inset:0;z-index:30;background:#f0f2ec;display:grid;place-items:center;padding:24px}.map-message{max-width:370px;display:flex;align-items:center;flex-direction:column;text-align:center;gap:12px}.map-message>svg{width:38px;height:38px;color:#829181}.map-message strong{font-size:19px}.map-message p{font-size:13px;color:var(--muted)}.map-message .btn{min-height:44px}.map-legend{position:absolute;top:12px;left:14px;z-index:10;display:flex;flex-wrap:wrap;gap:12px;background:#ffffffec;border:1px solid #e1e5db;padding:7px 11px;border-radius:8px;font-size:11px;max-width:calc(100% - 86px)}.map-legend span{display:inline-flex;gap:5px;align-items:center}.map-legend span:before{content:'';width:8px;height:8px;background:white;border:1.5px solid var(--green);border-radius:50%}.map-legend .legend-available:before{background:var(--green)}.map-legend .legend-used:before{border-color:#8b9086;background:#8b9086}.map-tools{position:absolute;right:14px;top:12px;z-index:11;display:flex;flex-direction:column;gap:9px}.map-tools>.icon-btn,.map-zoom,.map-browse{box-shadow:0 2px 10px #31402518;border:1px solid #dce2d6;background:#fff}.map-tools .icon-btn,.map-browse .icon-btn{width:44px;height:44px;border-radius:9px}.map-zoom{border-radius:9px;display:grid;overflow:hidden}.map-zoom .icon-btn:first-child{border-bottom:1px solid var(--line);border-radius:0}.map-browse{position:absolute;right:14px;bottom:14px;border-radius:10px;z-index:11;display:flex;align-items:center;gap:5px;font-size:11px}.map-browse span{color:#74816e}.map-browse .icon-btn svg{width:17px}.map-summary{min-height:34px;padding:2px 24px;display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:11px;color:#7c8679;flex-shrink:0}.map-summary button{padding:4px 0;color:var(--green);min-height:34px;display:flex;align-items:center;gap:5px;white-space:nowrap;font-size:11px}.map-summary button svg{width:14px;height:14px}.map-selection{flex-shrink:0;padding:13px 24px 16px;background:#fff;min-height:65px}.map-selection-hint{font-size:12px;color:var(--muted);text-align:center;padding:10px}.map-venue-card{max-width:930px;margin:auto}.map-card-top{display:grid;grid-template-columns:76px minmax(0,1fr) 44px;gap:14px;align-items:center}.map-card-top .cover-button{height:76px;width:76px;border-radius:10px;aspect-ratio:auto;overflow:hidden}.map-card-top img{height:100%;width:100%;object-fit:cover}.map-card-copy{min-width:0}.map-card-copy .place-title{font-size:17px;line-height:1.4;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin:0;padding:0}.map-card-number{font-size:11px;display:inline-grid;place-items:center;min-width:20px;height:20px;margin-right:6px;border-radius:5px;background:var(--green);color:#fff;vertical-align:2px}.map-card-distance{display:block;color:var(--green);font-size:13px;font-weight:600;margin-top:3px}.map-card-copy p{font-size:11px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:#869080;margin-top:2px}.map-detail-button{width:44px;height:44px;background:var(--soft)}.map-card-passes{display:flex;gap:10px;margin-top:10px}.map-card-passes button{flex:1;min-width:0;min-height:44px;border:1px solid var(--line);border-radius:8px;display:flex;align-items:center;justify-content:center;gap:8px;padding:6px 10px;font-size:11px}.map-card-passes button>span:first-child{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:140px}.map-card-passes .status{font-size:10px;padding:0;white-space:nowrap}.map-card-passes .status:before{display:none}.map-empty{display:flex;gap:12px;align-items:center;justify-content:center;font-size:12px}.missing-locations>div{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 0;border-bottom:1px solid var(--line)}.missing-locations .btn{min-height:44px;flex-shrink:0}
.venue-marker{width:44px;height:44px;border-radius:50%;border:2px solid var(--green);color:var(--green);background:#fff;box-shadow:0 2px 7px #20372528;font-weight:750;font-size:16px;line-height:1;display:grid;place-items:center;transition:box-shadow .18s,background .18s,transform .18s;touch-action:manipulation}.venue-marker.available{background:var(--green);color:white}.venue-marker.used,.venue-marker.expired,.venue-marker.upcoming,.venue-marker.none{color:#6e766b;border-color:#999f94;background:#edf0e9}.venue-marker.selected{box-shadow:0 0 0 5px #335c4130,0 3px 9px #213a2530;transform:scale(1.06);border-width:3px}.venue-marker:focus-visible{outline:3px solid #102a1d;outline-offset:3px}.map-origin{position:relative;display:flex;flex-direction:column;align-items:center;width:30px;height:30px;pointer-events:none}.map-origin>span{display:block;flex-shrink:0;width:22px;height:22px;border:4px solid white;background:#437abe;box-shadow:0 0 0 8px #437abe25;border-radius:50%}.map-origin small{font-size:11px;background:#fff;padding:2px 6px;white-space:nowrap;border-radius:4px;margin-top:7px;color:#466b9e;box-shadow:0 1px 4px #20372518}.map-origin.manual>span{background:#986f32}.map-origin.manual small{color:#986f32}.map-card-top .cover-button{animation:map-reveal .18s ease-out}@keyframes map-reveal{from{opacity:.4;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:760px){.main.map-page{height:calc(100dvh - 62px - 68px - env(safe-area-inset-bottom));min-height:560px;padding:0}.map-toolbar{padding:5px 12px 0}.map-title-row{margin-bottom:6px}.map-title-row h1{font-size:19px}.view-switch button{min-width:65px;min-height:38px;font-size:12px;gap:5px}.map-filter-row{grid-template-columns:minmax(0,1fr) 94px 44px;gap:6px}.map-filter-row .card-picker{padding:0 9px;gap:6px}.map-filter-row .card-picker select{font-size:12px;padding-left:0;min-height:44px}.map-filter-row .card-picker svg{width:16px}.map-status-filter{font-size:12px;padding:0 6px}.map-search-toggle{display:grid;width:44px;height:44px;border:1px solid var(--line);border-radius:9px;place-items:center}.map-filter-row .search{display:none;grid-column:1/-1}.map-search-open .map-filter-row .search{display:flex}.map-filter-row .search input{font-size:16px}.map-location-row{height:44px;gap:0}.map-location-row>span{gap:5px;font-size:11px}.map-location-row>span svg{width:14px}.map-location-row small{display:none}.map-location-row .text-btn{font-size:11px;padding:0 7px}.map-location-row .icon-btn{width:44px}.map-location-row .icon-btn svg{width:18px}.map-legend{top:10px;left:10px;font-size:10px;gap:8px;padding:6px 8px;max-width:calc(100% - 74px)}.map-tools{right:10px;top:10px;gap:8px}.map-browse{right:10px;bottom:10px;gap:0}.map-browse span{font-size:10px}.map-summary{padding:0 12px;font-size:10px;min-height:35px}.map-summary button{font-size:10px;min-height:44px}.map-selection{padding:10px 12px 12px}.map-card-top{grid-template-columns:66px minmax(0,1fr) 44px;gap:10px}.map-card-top .cover-button{width:66px;height:66px;border-radius:8px}.map-card-copy .place-title{font-size:14px}.map-card-number{min-width:17px;height:17px;vertical-align:1px;font-size:10px;margin-right:4px}.map-card-distance{font-size:12px;margin-top:3px}.map-card-copy p{font-size:10px}.map-card-passes{gap:6px;margin-top:8px}.map-card-passes button{flex-direction:column;gap:1px;font-size:10px;padding:3px 4px;min-height:44px}.map-card-passes button>span:first-child{max-width:90px}.map-card-passes .status{font-size:10px}.map-message{gap:10px;max-width:295px}.map-message>svg{width:30px;height:30px}.map-message strong{font-size:17px}.map-message p{font-size:12px}.map-message .btn{font-size:12px}.nearby-view-bar{margin-bottom:13px}.nearby-view-bar small{font-size:10px}.map-empty{font-size:11px}.map-selection-hint{font-size:11px}.map-selection-hint{padding:3px 4px}}
@media(max-width:360px){.map-legend{font-size:9px;gap:6px;padding:6px}.map-legend span:before{width:6px;height:6px}.map-card-top{grid-template-columns:58px minmax(0,1fr) 44px;gap:8px}.map-card-top .cover-button{width:58px;height:62px}.map-card-copy .place-title{font-size:13px}.map-card-copy p{display:none}.map-filter-row{grid-template-columns:minmax(0,1fr) 84px 44px}.map-card-passes button>span:first-child{max-width:75px}}
@media(prefers-reduced-motion:reduce){.venue-marker{transition:none}.map-card-top .cover-button{animation:none}}
@media(max-width:760px){.map-search-toggle{grid-column:3;grid-row:1}.map-status-filter{grid-column:2;grid-row:1}}
.map-slot{z-index:0}
.view-switch button{min-height:44px}
.venue-marker.used{color:#fff;border-color:#858d80;background:#858d80}.venue-marker.expired,.venue-marker.upcoming,.venue-marker.none{border-style:dashed}.map-legend .legend-muted:before{background:white;border-color:#999f94;border-style:dashed}
@media(max-width:760px) and (max-height:700px){.main.map-page{min-height:0}.map-workspace{min-height:160px}.map-legend{max-width:calc(100% - 68px)}.map-tools{gap:4px}.map-browse{right:65px;bottom:6px}}
/* Keep the provider attribution and scale clear of our browsing controls. */
.map-browse{bottom:58px}
@media(max-width:760px){.map-browse{bottom:58px}}
@media(max-width:760px) and (max-height:700px){.map-browse{bottom:48px}}

/* Approved desktop-only map layout. Mobile keeps the existing stacked layout. */
.map-navigation,.map-inspector-heading,.map-inspector-restore{display:none}
@media(min-width:761px){
  .map-mode>.sidebar,.map-mode>.shell>.topbar{display:none}
  .map-mode>.shell{margin-left:0}
  .map-mode .main.map-page{position:fixed;inset:0;height:100dvh;min-height:0;display:block;isolation:isolate;z-index:10}
  .map-mode .map-workspace{position:absolute;inset:0;width:100%;height:100%;min-height:0}
  .map-mode .map-toolbar{position:absolute;top:18px;left:84px;width:min(1120px,calc(100% - 168px));z-index:40;display:grid;grid-template-columns:96px minmax(0,1fr) 160px;grid-template-areas:'heading filters view' 'location location location';column-gap:14px;padding:12px 14px 6px;border:1px solid #dce2d6;border-radius:14px;background:#fffffff5;box-shadow:0 3px 18px #263b2920}
  .map-mode .map-title-row{display:contents}
  .map-mode .map-title-row h1{grid-area:heading;align-self:center;font-size:17px;letter-spacing:0}
  .map-mode .map-title-row .view-switch{grid-area:view;align-self:center}
  .map-mode .view-switch{border-radius:10px;padding:2px}
  .map-mode .view-switch button{min-width:74px}
  .map-mode .map-filter-row{grid-area:filters;align-self:center;grid-template-columns:minmax(150px,180px) 108px minmax(100px,1fr);gap:8px}
  .map-mode .map-filter-row .card-picker{padding:0 9px;gap:7px}
  .map-mode .map-filter-row .card-picker select{padding-left:0;max-width:100%}
  .map-mode .map-filter-row .search input{font-size:13px}
  .map-mode .map-location-row{grid-area:location;height:38px;margin-top:4px}
  .map-mode .map-location-row .text-btn,.map-mode .map-location-row .icon-btn{height:36px;min-height:36px}
  .map-mode .map-legend{left:18px;top:140px;border-radius:10px;padding:9px 12px;box-shadow:0 2px 10px #263b2910}
  .map-mode .map-tools{right:18px;top:18px;gap:10px}
  .map-mode .map-tools>.icon-btn,.map-mode .map-zoom{box-shadow:0 3px 14px #263b291c}
  .map-mode .map-browse{right:18px;top:224px;bottom:auto;border-radius:11px;gap:2px}
  .map-mode .map-summary{position:absolute;right:18px;bottom:18px;max-width:calc(100% - 320px);z-index:35;min-height:44px;padding:0 12px;border:1px solid #dce2d6;border-radius:10px;background:#fffffff5;box-shadow:0 3px 14px #263b2915;gap:15px}
  .map-mode .map-summary button{min-height:44px}
  .map-mode .map-selection{position:absolute;left:50%;bottom:82px;transform:translateX(-50%);z-index:35;width:min(600px,calc(100% - 180px));min-height:0;padding:0 16px 16px;border:1px solid #dce2d6;border-radius:15px;background:#fffffff7;box-shadow:0 5px 28px #263b2926}
  .map-mode .map-inspector-heading{display:flex;align-items:center;justify-content:space-between;height:40px;font-size:11px;color:#7c8979}
  .map-mode .map-inspector-collapse{display:flex;align-items:center;justify-content:center;gap:5px;min-width:64px;height:36px;font-size:11px;color:var(--green);border-radius:7px;margin-right:-6px}
  .map-mode .map-inspector-collapse:hover{background:var(--soft)}
  .map-mode .map-inspector-collapse svg{width:15px;height:15px}
  .map-mode .map-card-top{grid-template-columns:68px minmax(0,1fr) 44px;gap:12px}
  .map-mode .map-card-top .cover-button{width:68px;height:68px}
  .map-mode .map-card-copy .place-title{font-size:16px}
  .map-mode .map-card-passes{margin-top:12px;gap:8px}
  .map-mode .map-card-passes button{padding:6px 8px;gap:7px}
  .map-mode .map-card-passes button>span:first-child{max-width:100px}
  .map-mode .map-selection.is-collapsed{width:auto;max-width:calc(100% - 180px);padding:0;border-radius:12px}
  .map-mode .map-selection.is-collapsed #map-selection-content{display:none}
  .map-mode .map-selection.is-collapsed .map-inspector-restore{display:flex;align-items:center;gap:10px;width:100%;min-height:48px;padding:8px 14px;text-align:left;font-size:13px}
  .map-mode .map-inspector-restore>span:nth-child(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .map-mode .map-inspector-restore svg{width:17px;height:17px;color:var(--green)}
  .map-mode .map-inspector-restore .map-card-number{flex-shrink:0;margin:0}
  .map-mode .map-selection-hint,.map-mode .map-empty{padding:16px 0 0}
  .map-navigation{display:block;position:absolute;top:18px;left:18px;z-index:60}
  .map-menu-trigger{width:52px;height:52px;display:grid;place-items:center;background:white;color:var(--green);border:1px solid #dce2d6;border-radius:13px;box-shadow:0 3px 18px #263b2920}
  .map-menu-trigger svg{width:23px;height:23px}
  .map-menu-trigger:hover{background:#f3f6ee}
  .map-navigation-panel{position:absolute;top:64px;left:0;width:238px;max-height:calc(100dvh - 100px);overflow:auto;padding:18px 12px 10px;border:1px solid #dce2d6;border-radius:14px;background:white;box-shadow:0 8px 32px #263b2926;animation:map-reveal .14s ease-out}
  .map-navigation-panel[hidden]{display:none}
  .map-navigation-panel .brand{padding:0 8px}
  .map-navigation-panel .brand strong{font-size:18px}
  .map-navigation-panel .brand small{letter-spacing:0;font-size:10px}
  .map-navigation-panel .nav{margin:18px 0 12px;gap:4px}
  .map-navigation-panel .nav a{padding:12px 15px;font-size:14px;min-height:44px}
  .map-navigation-panel .account-button{width:100%;min-height:48px;padding:10px 12px;border-top:1px solid var(--line);text-align:left}
  .map-mode .offline-banner{position:fixed;left:50%;top:140px;transform:translateX(-50%);z-index:80;border-radius:9px;box-shadow:0 2px 12px #263b2918}
}
@media(min-width:761px) and (max-width:1100px){
  .map-mode .map-toolbar{grid-template-columns:minmax(0,1fr) 160px;grid-template-areas:'filters filters' 'location view';row-gap:4px;padding-bottom:9px}
  .map-mode .map-title-row h1{display:none}
  .map-mode .map-title-row .view-switch{justify-self:end}
  .map-mode .map-location-row{margin:0}
  .map-mode .map-location-row small{display:none}
  .map-mode .map-legend{top:146px}
  .map-mode .map-card-passes button{flex-direction:column;gap:2px}
}
@media(min-width:761px) and (max-height:650px){
  .map-mode .map-selection{bottom:74px;padding:0 12px 12px}
  .map-mode .map-selection.is-collapsed{padding:0}
  .map-mode .map-inspector-heading{height:36px}
  .map-mode .map-card-top{grid-template-columns:56px minmax(0,1fr) 44px}
  .map-mode .map-card-top .cover-button{width:56px;height:56px}
  .map-mode .map-card-passes{margin-top:8px}
}
@media(prefers-reduced-motion:reduce){.map-navigation-panel{animation:none}}

/* Template catalogs share venue information; every purchased card has its own record. */
.template-tabs{display:flex;gap:10px;margin:0 0 18px;flex-wrap:wrap}
select,.card-picker select,.template-picker select,.map-filter-row .card-picker select{-webkit-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23768078' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 11px center;background-size:12px 8px;padding-right:30px}
.template-tab{display:flex;align-items:center;gap:11px;min-height:68px;padding:12px 20px;border:1px solid var(--line);border-radius:11px;background:#fff;text-align:left;min-width:200px}
.template-tab.active{border-color:#698971;background:#eff5eb;box-shadow:inset 0 0 0 1px #698971;color:var(--green)}
.template-tab strong{display:block;font-size:14px;font-weight:600}.template-tab small{display:block;font-size:11px;margin-top:3px}
.template-context{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 17px}.template-context .card-picker{margin:0;max-width:580px}.template-context>.text-btn{display:flex;align-items:center;gap:6px;min-height:44px;font-size:12px}
.template-picker{display:flex;min-width:0;align-items:center;border:1px solid var(--line);border-radius:9px;background:white;height:44px;padding:0 8px}
.template-picker select{width:100%;min-width:0;height:42px;border:0;background:transparent;font-size:12px}
.usage-chips{display:grid;grid-template-columns:repeat(var(--usage-columns,3),minmax(0,1fr));gap:8px;min-width:0;flex:1}
.usage-chip{display:flex;flex-direction:column;justify-content:center;align-items:center;min-width:0;min-height:76px;padding:8px 6px;gap:3px;border:1px solid #dfe4d9;border-radius:9px;background:#fbfcf8;text-align:center;font-size:11px}
.usage-chip:hover{border-color:#829b7a;background:#f1f6eb}.usage-chip .usage-card-name{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:#53634e}.usage-chip small{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;color:#8a9284}.usage-chip strong{font-size:12px;font-weight:600;color:#968260;white-space:nowrap}
.usage-chip.unused{background:#dcefdc;border-color:#9ec69f}.usage-chip.unused:hover{background:#cce6ce;border-color:#65946c}.usage-chip.unused strong,.usage-chip.unused .usage-card-name{color:#285b36}.usage-chip.unused small{color:#4b7153}.usage-chip.used{background:#e6e8eb;border-color:#c4c8ce}.usage-chip.used:hover{background:#dce0e5;border-color:#929aa4}.usage-chip.used strong,.usage-chip.used .usage-card-name{color:#59616c}.usage-chip.used small{color:#737b86}.usage-chip.none strong{color:#919a8b}
.usage-validity{font-size:10px;color:#ad7953}.venue-row .card-foot{gap:14px;align-items:center}.venue-row .mark-btn{min-height:44px;flex-shrink:0;white-space:nowrap}
.place-card:not(.venue-row)>.card-foot{flex-wrap:wrap}.place-card:not(.venue-row)>.card-foot .usage-chips{flex-basis:100%}.place-card:not(.venue-row)>.card-foot>.mark-btn{margin-left:auto}
.map-usage-chips{margin-top:12px}.map-mode .map-usage-chips{gap:8px}.map-usage-chips .usage-chip{min-height:68px;padding:6px}
.template-overview{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:8px 0 28px;padding:0 2px}.template-overview h2{font-size:20px}.template-overview p{font-size:12px;color:var(--muted);margin-top:6px;max-width:800px}.template-overview>.btn{flex-shrink:0}
.template-catalog-panel{margin-top:26px}.template-catalog-panel>.search{max-width:500px}.template-catalog{max-height:540px;overflow:auto;margin-top:12px}.template-venue-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 0;border-bottom:1px solid var(--line)}.template-venue-row>div{min-width:0}.template-venue-row strong{display:block;font-size:13px}.template-venue-row small{display:block;font-size:11px;line-height:1.6;margin-top:3px}.template-venue-row>.btn{flex-shrink:0;min-height:44px}.template-catalog-empty{padding:24px 0;color:var(--muted);font-size:13px}
.template-add-options{padding-bottom:14px}.reuse-results{max-height:360px;overflow:auto;margin-top:12px}.quick-venue-name{margin:14px 0 10px}.quick-current{font-size:13px;color:#77816f;line-height:1.7}.quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:22px 0 15px}.quick-actions .btn{min-height:46px}.quick-actions .btn:last-child{grid-column:1/-1}
@media(min-width:761px){
  .map-mode .map-filter-row{grid-template-columns:minmax(140px,1.2fr) minmax(125px,1fr) 100px minmax(110px,1fr);gap:8px}
  .map-mode .map-filter-row .card-picker{max-width:none}.map-mode .map-filter-row .card-picker select{font-size:12px}
}
@media(max-width:1100px) and (min-width:761px){.venue-row .card-foot{flex-wrap:wrap}.venue-row .usage-chips{flex-basis:100%}.venue-row .mark-btn{margin-left:auto}}
@media(max-width:760px){
  .template-tabs{gap:8px;margin-bottom:14px}.template-tab{flex:1;min-width:130px;padding:10px 12px;min-height:62px;gap:8px}.template-tab strong{font-size:12px}.template-tab small{font-size:10px}.template-tab>svg{width:17px}
  .template-context{align-items:stretch;flex-direction:column;gap:6px}.template-context .card-picker{max-width:none}.template-context>.text-btn{justify-content:flex-end;font-size:11px;min-height:36px}
  .venue-row .card-foot{flex-wrap:wrap;gap:8px}.venue-row .usage-chips{flex-basis:100%;gap:5px}.venue-row .mark-btn{margin-left:auto;min-height:36px}
  .usage-chip{min-height:68px;padding:6px 3px;gap:3px}.usage-chip .usage-card-name{font-size:10px}.usage-chip small{font-size:9px}.usage-chip strong{font-size:11px}
  .map-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 94px 44px;column-gap:6px;row-gap:6px;grid-template-areas:'template view view' 'account state toggle' 'location location location' 'search search search';padding-top:6px}
  .map-title-row,.map-filter-row{display:contents}.map-title-row h1{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.map-title-row .view-switch{grid-area:view;justify-self:end}.map-filter-row .template-picker{grid-area:template}.map-filter-row .card-picker{grid-area:account}.map-filter-row .map-status-filter{grid-area:state}.map-filter-row .map-search-toggle{grid-area:toggle}.map-filter-row .search{grid-area:search}.map-location-row{grid-area:location}.map-filter-row .template-picker select{font-size:11px}.map-filter-row .card-picker select{font-size:11px}
  .map-usage-chips{margin-top:8px;gap:5px}.map-usage-chips .usage-chip{min-height:60px;padding:4px 3px;gap:2px}.map-usage-chips small{font-size:9px}
  .template-overview{align-items:flex-start;gap:12px}.template-overview h2{font-size:17px}.template-overview p{font-size:11px}.template-overview>.btn{font-size:11px;padding:7px 9px}.template-catalog-panel{padding:17px}.template-venue-row strong{font-size:12px}
}
@media(max-width:360px){.map-toolbar{grid-template-columns:minmax(0,1fr) 84px 44px}.map-filter-row .card-picker{padding:0 4px}.map-filter-row .card-picker svg{display:none}.map-usage-chips .usage-chip small{display:none}.map-usage-chips .usage-chip{min-height:44px}.usage-chip strong{font-size:10px}}

/* Direct usage-state filters; date and remaining-right filters stay independent. */
.usage-filter-bar{display:flex;align-items:center;width:max-content;max-width:100%;gap:5px;margin:0 0 16px;padding:5px;border:1px solid #dce3d7;border-radius:12px;background:#eef1e9}
.usage-filter{display:flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:8px 18px;border:1px solid transparent;border-radius:8px;color:#60715e;font-size:14px;font-weight:550;white-space:nowrap;transition:background .12s ease,border-color .12s ease}
.usage-filter span{min-width:22px;padding:2px 5px;border-radius:5px;font-size:11px;background:#ffffff94;color:inherit}
.usage-filter:hover{background:#e0e7db}
.usage-filter.active.all{background:var(--green);border-color:var(--green);color:white;box-shadow:0 1px 3px #203f2c20}
.usage-filter.active.all span{background:#ffffff24}
.usage-filter.active.unused{background:#dcefdc;border-color:#91ba94;color:#285b36}
.usage-filter.active.used{background:#e6e8eb;border-color:#adb4be;color:#505964}
.usage-chip{position:relative;transition:background .12s ease,border-color .12s ease,box-shadow .12s ease}
.usage-chip:hover{box-shadow:0 0 0 2px #274d3920}
.usage-chip:active,.usage-filter:active{transform:translateY(1px)}
.quick-actions[aria-busy=true]{pointer-events:none;opacity:.75}
.map-toolbar .usage-filter-bar{grid-area:usage;justify-self:start;margin:5px 0 0;padding:3px;gap:3px}
.map-toolbar .usage-filter{padding:5px 12px;font-size:12px;gap:7px}
@media(min-width:1101px){.map-mode .map-toolbar{grid-template-areas:'heading filters view' 'usage usage usage' 'location location location'}}
@media(min-width:761px) and (max-width:1100px){.map-mode .map-toolbar{grid-template-areas:'filters filters' 'usage view' 'location location'}}
@media(max-width:760px){
  .nearby-page .usage-filter-bar{width:100%}
  .usage-filter{flex:1;padding:7px 10px;font-size:13px}
  .map-toolbar{grid-template-areas:'template view view' 'account state toggle' 'usage usage usage' 'location location location' 'search search search'}
  .map-toolbar .usage-filter-bar{width:100%;margin:0}
  .map-toolbar .usage-filter{min-height:44px;flex:1;padding:4px 8px}
}
@media(prefers-reduced-motion:reduce){.usage-chip,.usage-filter{transition:none}}
.entitlement-time{display:flex;align-items:center;flex-wrap:wrap;gap:5px 9px;margin-top:10px;color:#65725f;font-size:12px;line-height:1.65}
.entitlement-time p{flex-basis:100%;margin:0;color:#8a673d;white-space:pre-line}
.entitlement-time .time-state{padding:2px 8px;border-radius:5px;background:#f1e6e1;color:#965143;font-size:12px;font-weight:650}
.entitlement-time.upcoming .time-state{background:#e8eff3;color:#4c728b}
.entitlement-time.expired>span{color:#8c7269}
.map-venue-card>.entitlement-time{margin:10px 0}
.detail-benefit .entitlement-time .time-state{font-size:12px}
@media(max-width:760px){.entitlement-time{font-size:11px;gap:4px 7px}.map-venue-card>.entitlement-time{max-height:100px;overflow:auto}.entitlement-time .time-state{font-size:11px}}

.cover-caption{position:absolute;right:8px;bottom:8px;max-width:calc(100% - 16px);padding:4px 7px;border-radius:5px;background:#234c3ce0;color:white;font-size:10px;line-height:1.4}

/* Approved virtual "all passes" view. No combined template is stored. */
.all-template-tab{border-style:dashed;background:#fbfcf8}.all-template-tab.active{border-style:solid;background:#e7f0e4}
.all-card-picker{min-height:44px;margin:0;padding:6px 12px;border:1px solid var(--line);border-radius:9px;background:#fff;white-space:normal}.all-card-picker>span{display:flex;min-width:0;flex-direction:column;line-height:1.3}.all-card-picker strong{font-size:12px}.all-card-picker small{font-size:9px;margin-top:2px}
.place-title-row,.detail-heading-row,.map-distance-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;min-width:0}.place-title-row .place-title{min-width:0}.detail-heading-row{align-items:center;margin:0 0 8px}.detail-heading-row .detail-sub{margin:0}.map-distance-row{align-items:center;justify-content:flex-start;gap:8px}
.available-badge{display:inline-flex;align-items:center;justify-content:center;gap:4px;flex-shrink:0;padding:4px 9px;border:1px solid #d1d8cd;border-radius:7px;background:#f1f3ef;color:#6d756d;font-size:11px;line-height:1.35;white-space:nowrap}.available-badge strong{font-size:13px}.available-badge.has-available{border-color:#a5c9a3;background:#e1f1df;color:#2c6338}.available-badge.none-available{border-color:#d2d5d8;background:#eceef0;color:#666d74}.available-badge.compact{padding:2px 7px;font-size:9px}.available-badge.compact strong{font-size:11px}
.combined-rights{display:flex;align-items:stretch;flex-wrap:wrap;gap:6px;margin-top:8px}.combined-rights>span{display:flex;min-width:0;align-items:center;gap:7px;padding:4px 8px;border-radius:6px;background:#f2f5ef;color:#61705d;font-size:10px}.combined-rights strong{color:#3d5f49;font-size:10px;white-space:nowrap}.combined-rights small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px}
.all-usage-chips{grid-template-columns:repeat(auto-fit,minmax(108px,1fr))}.all-usage-chips .usage-chip small{font-size:9px}
.combined-total{margin-left:auto;color:var(--muted);font-size:11px;white-space:nowrap}.combined-result-count{display:block;margin:-5px 0 16px;text-align:right}.map-status-summary{display:flex;align-items:center;justify-content:center;min-height:44px;padding:0 9px;border:1px solid var(--line);border-radius:9px;background:#f6f7f3;color:#687367;font-size:11px;white-space:nowrap}
.usage-filter.active.available-now{background:#dcefdc;border-color:#91ba94;color:#285b36}.usage-filter.active.has-unused{background:#e7f3e5;border-color:#a8cba7;color:#34623e}.usage-filter.active.has-used{background:#e6e8eb;border-color:#adb4be;color:#505964}.usage-filter.active.no-available{background:#ece9e5;border-color:#bdb6ad;color:#655e56}
.detail-benefit-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:7px}.detail-benefit-head>span{display:inline-flex;padding:3px 8px;border-radius:5px;background:#dfead9;color:#345b3c;font-size:11px;font-weight:600}.detail-benefit-head small{font-size:10px}.record-status{display:inline-flex;align-items:center;justify-content:center;min-width:62px;padding:5px 9px;border:1px solid #d7dcd3;border-radius:7px;font-size:11px;font-weight:600}.record-status.unused{border-color:#9ec69f;background:#dcefdc;color:#285b36}.record-status.used{border-color:#c4c8ce;background:#e6e8eb;color:#59616c}.record-status.unknown{color:#8a7961}
.template-choice-list{display:grid;gap:9px;margin-top:18px}
.entitlement-template{padding:2px 7px;border-radius:5px;background:#e4ece0;color:#496749;font-size:10px;font-weight:600}
.map-usage-chips.all-usage-chips{display:flex;overflow-x:auto;overscroll-behavior-inline:contain;padding-bottom:2px}.map-usage-chips.all-usage-chips .usage-chip{flex:0 0 112px}
@media(min-width:761px){.map-mode .map-toolbar.all-mode + .map-workspace .map-legend{top:184px}}
@media(max-width:760px){
  .combined-filter-bar{width:100%;overflow-x:auto;justify-content:flex-start;overscroll-behavior-inline:contain}.combined-filter-bar .usage-filter{flex:0 0 auto;padding-inline:11px}
  .place-title-row{align-items:flex-start;flex-wrap:wrap;gap:5px}.place-title-row .available-badge{font-size:9px;padding:3px 6px}.place-title-row .available-badge strong{font-size:10px}
  .combined-rights{gap:4px}.combined-rights>span{max-width:100%;padding:3px 6px}.combined-rights small{max-width:190px}
  .all-usage-chips{grid-template-columns:repeat(auto-fit,minmax(68px,1fr))}
  .detail-heading-row{align-items:flex-start}.detail-heading-row .available-badge{margin-top:2px}
  .map-toolbar.all-mode{grid-template-areas:'template view view' 'account state toggle' 'usage usage usage' 'location location location' 'search search search'}
  .map-toolbar.all-mode .all-card-picker{grid-area:account}.map-toolbar.all-mode .map-status-summary{grid-area:state}
}
