/* Hallmark | WanMiles existing system | app | signature: photographic postcards and direct travel tools */
/* Critique: photography supplies the journey; large icons and short actions carry the tasks. */
:root{--postcard-shadow:0 7px 20px #163d3510;--postcard-rule:#e7e1d5;--postcard-shade:#112c2199;--postcard-transparent:#112c2100;--postcard-stamp:#986f4b;--postcard-glass:#fffefbe8}
.home-greeting{min-height:40px;padding-top:0}
.home-postcard{margin:0}
.travel-postcard{display:block;width:100%;min-width:0;padding:var(--space-8);border:1px solid var(--postcard-rule);border-radius:3px;background:var(--surface);color:var(--green);text-align:left;box-shadow:var(--postcard-shadow);cursor:pointer;transition:transform .2s ease,box-shadow .2s ease}
.postcard-photo{position:relative;display:block;height:184px;overflow:clip;background:var(--deep);color:var(--surface)}
.postcard-photo>img{display:block;width:100%;height:100%;object-fit:cover}
.postcard-photo-shade{position:absolute;inset:0;background:linear-gradient(180deg,var(--postcard-transparent) 25%,var(--postcard-shade))}
.postcard-city{position:absolute;left:var(--space-16);right:var(--space-16);bottom:var(--space-16);display:flex;align-items:baseline;gap:var(--space-12);color:var(--surface)}
.postcard-city strong{font-family:var(--font-body);font-size:36px;line-height:1.1;font-weight:650;letter-spacing:-1.2px;overflow-wrap:break-word;min-width:0}
.postcard-city>span{font-family:var(--font-song);font-size:23px;line-height:1.3;font-weight:500;letter-spacing:.08em}
.postcard-open{position:absolute;right:var(--space-12);top:var(--space-12);display:grid;place-items:center;width:32px;height:32px;border:1px solid var(--color-surface-25);border-radius:50%;color:var(--surface)}
.postcard-open>svg{width:17px;height:17px}
.postcard-caption{display:flex;align-items:center;justify-content:space-between;gap:var(--space-12);padding:var(--space-12) var(--space-8) var(--space-4);min-height:36px}
.postcard-caption>span:first-child{font-family:var(--font-body);font-size:12px;line-height:1.5;color:var(--refined-subtle)}
.postcard-caption>span:last-child{flex-shrink:0;font-size:10px;color:var(--postcard-stamp);border-left:1px solid var(--postcard-rule);padding-left:var(--space-8)}
.service-title{margin:var(--space-20) 0 var(--space-12)}
.service-title h2{font-size:19px;font-weight:650}
.shortcut-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-8)}
.shortcut-grid .service-card{align-items:center;justify-content:center;min-height:98px;padding:var(--space-12) var(--space-4);gap:var(--space-4);border-radius:12px;border-color:var(--postcard-rule);text-align:center;box-shadow:0 2px 0 var(--color-surface-3)}
.service-icons{justify-content:center;width:auto;margin:0 0 var(--space-4)}
.service-icons svg:first-child{width:30px;height:30px;stroke-width:1.8;opacity:1}
.service-card strong{font-size:13px;line-height:1.3;font-weight:650;overflow-wrap:break-word}
.service-card .service-chinese{font-size:11px;line-height:1.3}
.shortcut-grid .service-entry{background:var(--green);border-color:var(--green);box-shadow:none}
.access-prompt{display:flex;margin:var(--space-16) 0 0;min-height:66px;padding:var(--space-12) var(--space-16);border:0;background:var(--deep);color:var(--surface);border-radius:12px;gap:var(--space-12);text-align:left}
.access-prompt>svg:first-child{width:32px;height:32px;flex-shrink:0;color:var(--gold)}
.access-prompt>span{flex:1}
.access-prompt strong{font-size:16px;color:var(--surface)}
.access-prompt small{font-size:11px;color:var(--color-on-green-muted)}
.access-prompt>svg:last-child{width:19px;height:19px}
.readiness{margin-top:var(--space-24);padding:var(--space-16);border:1px solid var(--refined-rule);background:transparent}
.readiness-head{align-items:center}
.readiness .readiness-head h2{font-size:17px;font-weight:600;margin:0}
.readiness-head .text-control{font-size:12px;min-height:32px}
.readiness-steps{margin:var(--space-12) 0 var(--space-16)}
.readiness>button{width:100%;justify-content:space-between;min-height:44px;font-size:14px;font-weight:600}
.postcard-section{margin-top:var(--space-28)}
.postcard-section .section-title{margin-bottom:var(--space-16)}
.postcard-rail{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-12);padding-bottom:var(--space-12)}
.postcard-small .postcard-photo{height:162px}
.postcard-small .postcard-city{left:var(--space-8);right:var(--space-8);bottom:var(--space-12);display:block}
.postcard-small .postcard-city strong{display:block;font-size:24px;letter-spacing:-.6px}
.postcard-small .postcard-city>span{font-size:17px}
.postcard-small .postcard-caption{display:block;padding:var(--space-8) var(--space-4);min-height:72px}
.postcard-small .postcard-caption>span{display:block}
.postcard-small .postcard-caption>span:last-child{border:0;padding:var(--space-4) 0 0;font-size:10px}
.postcard-small .postcard-open{display:none}
.postcard-rail .postcard-small:nth-child(2){transform:rotate(.8deg)}
.destination-grid{gap:var(--space-24) var(--space-16)}
.postcard-place{padding:var(--space-8);border:1px solid var(--postcard-rule);background:var(--surface);border-radius:2px;box-shadow:var(--postcard-shadow)}
.postcard-place .place-photo{height:210px;border-radius:0}
.postcard-place .place-title{padding:var(--space-12) var(--space-4) var(--space-8)}
.postcard-place .place-title strong{font-size:20px;line-height:1.2;font-weight:650}
.postcard-place .place-title span{font-family:var(--font-song);font-size:17px}
.postcard-place p{padding:0 var(--space-4);font-size:12px}
.postcard-place .place-meta{padding:var(--space-8) var(--space-4);font-size:10px}
.postcard-place .place-photo .round{width:38px;height:38px;background:var(--postcard-glass)}
.postcard-place .place-photo .round svg{width:20px;height:20px}
.hero-card{padding:var(--space-8);background:var(--surface);border:1px solid var(--postcard-rule);border-radius:3px;box-shadow:var(--postcard-shadow);height:270px}
.hero-card>img{inset:8px;width:calc(100% - 16px);height:calc(100% - 16px)}
.hero-card .hero-overlay{inset:8px}
.hero-card .hero-copy{left:var(--space-24);right:var(--space-24);bottom:var(--space-24)}
.hero-card .hero-top{top:var(--space-20);right:var(--space-20)}
.hero-card h2{font-weight:600;font-size:33px}
.trip-destination{margin-bottom:var(--space-20)}
.trip-destination .postcard-photo{height:168px}
.trip-destination .postcard-caption{min-height:36px}
.trip-stage,.mode-tabs,.day-tabs{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:var(--space-8);padding-bottom:var(--space-8);scrollbar-width:thin}
.trip-stage>button,.mode-tabs>button,.day-tabs>button{flex-shrink:0;min-height:44px;font-size:13px;padding:var(--space-8) var(--space-16);border-radius:24px}
.page-heading{padding:var(--space-20) 0}
.page-heading h1{font-size:30px;font-weight:650;margin-bottom:var(--space-8)}
.page-heading p{font-size:14px;margin:0}
.back-link{min-height:44px;font-size:13px}
.primary{font-weight:600;min-height:52px}
.field{margin-bottom:var(--space-16)}
.field input,.field select{min-height:52px;font-size:16px}
details{border-color:var(--postcard-rule)}
summary{min-height:48px;display:list-item;align-content:center;font-weight:500;font-size:14px;cursor:pointer}
details[open]>summary{margin-bottom:var(--space-16)}
.trip-optional{margin-bottom:var(--space-12)}
.trip-optional>summary{font-size:14px}
.service-note,.integration-status{font-size:12px;line-height:1.6}
.stepper{margin:var(--space-16) 0 var(--space-24)}
.stepper li{font-size:12px}
.entry-result p{font-size:14px;line-height:1.65}
.scan-window{height:240px;margin-bottom:var(--space-16)}
.manual-code{margin-top:var(--space-16)}
.demo-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-8)}
.demo-choices>button{min-height:64px;border:1px solid var(--postcard-rule);background:var(--surface);border-radius:10px;font-size:13px}
.provider-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-12);margin:var(--space-24) 0}
.provider-choices>button{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-12);min-width:0;min-height:112px;padding:var(--space-16);border:1px solid var(--postcard-rule);border-radius:12px;background:var(--surface);color:var(--green);text-align:left}
.provider-choices>button>svg:first-child{width:28px;height:28px}
.provider-choices>button>svg:last-child{width:17px;height:17px;margin-left:auto}
.provider-choices span{display:block;flex:1;min-width:0}
.provider-choices strong{display:block;font-size:16px;font-weight:650}
.provider-choices small{display:block;margin-top:var(--space-4);font-size:11px;color:var(--refined-subtle)}
.quick-phrases{display:flex;flex-direction:row;flex-wrap:nowrap;overflow-x:auto;gap:var(--space-8);margin:var(--space-16) 0;padding-bottom:var(--space-4)}
.quick-phrases>button{padding:var(--space-8) var(--space-16);border:1px solid var(--postcard-rule);border-radius:24px;background:var(--surface);text-align:center}
.phrase-shortcuts button{min-height:44px;flex-shrink:0;font-size:13px;border-radius:24px}
.phrase-shortcuts button[aria-pressed=true]{background:var(--green);color:var(--surface)}
.communication-card{padding:var(--space-20);margin-bottom:var(--space-16)}
.communication-card>div{font-size:30px;line-height:1.7}
.task{min-height:72px;padding:var(--space-16) 0}
.task input{width:23px;height:23px;flex-shrink:0}
.task strong{font-size:14px;font-weight:600}
.task small{font-size:12px;line-height:1.6}
.emergency-lines a{min-height:110px;background:var(--refined-clay);border:0;border-radius:12px;padding:var(--space-16)}
.travel-postcard:focus-visible,.service-card:focus-visible,.provider-choices button:focus-visible{outline:2px solid var(--color-focus);outline-offset:4px;transition:none}
@media(hover:hover){.travel-postcard:hover{transform:translateY(-3px)}.shortcut-grid .service-card:hover{background:var(--refined-celadon);border-color:var(--green)}.shortcut-grid .service-entry:hover{background:var(--deep)}}
@media(max-width:360px){.postcard-photo{height:150px}.postcard-city strong{font-size:31px}.postcard-city>span{font-size:20px}.postcard-caption{padding:var(--space-8) var(--space-4) var(--space-4);min-height:36px}.postcard-caption>span:first-child{font-size:12px}.postcard-caption>span:last-child{font-size:9px}.service-title{margin:var(--space-16) 0 var(--space-12)}.service-title h2{font-size:18px}.shortcut-grid .service-card{min-height:90px;padding:var(--space-8) var(--space-4)}.service-card strong{font-size:12px}.service-card .service-chinese{font-size:10px}.service-icons svg:first-child{width:28px;height:28px}.service-icons{margin:0 0 var(--space-4)}.postcard-small .postcard-photo{height:132px}.postcard-small .postcard-city strong{font-size:22px}.postcard-small .postcard-caption{min-height:74px}.destination-grid{gap:var(--space-16) var(--space-8)}.postcard-place .place-photo{height:164px}.postcard-place .place-title strong{font-size:17px}.postcard-place .place-title span{font-size:14px}.provider-choices>button{padding:var(--space-12);gap:var(--space-8)}.provider-choices strong{font-size:14px}}
@media(min-width:600px){.postcard-photo{height:260px}.postcard-city strong{font-size:46px}.postcard-city>span{font-size:29px}.postcard-caption{min-height:44px}.postcard-caption>span:first-child{font-size:13px}.postcard-caption>span:last-child{font-size:11px}.shortcut-grid .service-card{min-height:110px;padding:var(--space-16)}.service-card strong{font-size:16px}.service-card .service-chinese{font-size:12px}.service-icons svg:first-child{width:34px;height:34px}.postcard-small .postcard-photo{height:230px}.postcard-small .postcard-city{display:flex}.postcard-small .postcard-city strong{font-size:30px}.postcard-small .postcard-caption{min-height:60px}.hero-card{height:340px}.postcard-place .place-photo{height:250px}.trip-destination .postcard-photo{height:220px}.demo-choices{max-width:680px}.provider-choices{max-width:760px}}
@media(min-width:900px){#view-home:not([hidden]){display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);column-gap:var(--space-32);align-items:start}.home-greeting{grid-column:1/-1}.home-postcard{grid-column:1;grid-row:2/5}.home-postcard .postcard-photo{height:342px}.home-postcard .postcard-caption{min-height:54px;flex-wrap:wrap}.service-title{grid-column:2;grid-row:2;margin:0 0 var(--space-16)}.shortcut-grid{grid-column:2;grid-row:3}.shortcut-grid .service-card{min-height:114px;padding:var(--space-12)}.service-card strong{font-size:14px}.access-prompt{grid-column:2;grid-row:4;margin-top:var(--space-16);width:100%}.readiness{grid-column:1/-1}.postcard-section{grid-column:1/-1}.postcard-small .postcard-photo{height:260px}.postcard-rail{gap:var(--space-24)}.trip-destination{max-width:760px}.trip-destination .postcard-photo{height:240px}.destination-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hero-card{height:400px}}
@media(prefers-reduced-motion:reduce){.travel-postcard{transition:none}.travel-postcard:hover{transform:none}}
