*{box-sizing:border-box}html{color:#30332d;background:#f5f1e9;font-family:system-ui,-apple-system,sans-serif}body{margin:0;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom)}header{max-width:640px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:28px 24px 22px}.brand{display:flex;align-items:center;gap:12px}.brand-mark{width:44px;height:44px;border:1px solid #aaa995;border-radius:50%;display:grid;place-items:center;font-family:Georgia,serif;font-size:27px;color:#69735d}.brand small{display:block;letter-spacing:3px;font-size:10px;color:#74786c}.brand strong{font-family:Georgia,serif;font-size:24px;font-weight:400}main{max-width:640px;margin:auto;padding:20px 24px 120px}h1{font-family:Georgia,serif;font-size:36px;font-weight:400;letter-spacing:-1px;margin:0 0 10px}h2{font-size:19px;font-weight:500;margin-top:26px}.eyebrow{font-size:11px;letter-spacing:2px;text-transform:uppercase;color:#797c70}.intro{color:#737769;margin:0 0 32px;font-size:14px}.trip{position:relative;display:flex;width:100%;flex-direction:column;align-items:flex-start;text-align:left;border:0;border-radius:17px;padding:24px;margin-bottom:16px;min-height:120px;color:white;box-shadow:0 6px 16px #292f2510}.trip .date{font-size:12px;opacity:.94;letter-spacing:.4px}.trip strong{font:30px Georgia,serif;margin-top:9px}.trip .arrow{position:absolute;right:22px;top:50%;font-size:24px}.c0{background:linear-gradient(115deg,#485e51,#899883)}.c1{background:linear-gradient(115deg,#986348,#cca484)}.c2{background:linear-gradient(115deg,#4b6488,#93aac0)}.c3{background:linear-gradient(115deg,#865574,#c597aa)}.c4{background:linear-gradient(115deg,#846b29,#bca967)}.c5{background:linear-gradient(115deg,#396e69,#8baba0)}button,input,textarea,select{font:inherit}button{cursor:pointer;border:1px solid #d4d5c9;border-radius:10px;background:transparent;padding:11px 15px;min-height:44px;color:inherit}button:focus-visible,a:focus-visible{outline:3px solid #66507f;outline-offset:3px}.plus{position:fixed;right:max(24px,calc((100vw - 640px)/2 + 24px));bottom:calc(25px + env(safe-area-inset-bottom));border:0;border-radius:50%;width:62px;height:62px;background:#354437;color:#fff;font-size:34px;font-weight:300;box-shadow:0 6px 20px #34403733}.primary{background:#354437;color:#fff;border:0}.actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}label{display:block;font-size:13px;color:#606555;margin-top:18px}input,textarea,select{display:block;width:100%;padding:13px;border:1px solid #cccebf;border-radius:10px;background:#fffdf7;color:#30332d;margin-top:7px;font-size:16px}textarea{min-height:155px;resize:vertical}.dates{display:flex;gap:12px}.dates label{flex:1;min-width:0}input[type=date]{min-width:0}.hint{font-size:12px;color:#7c8074}.back{margin-bottom:25px;border:0;padding-left:0}.panel{border-top:1px solid #d8dacd;padding-top:6px;margin-top:28px}.row{padding:12px 0;border-bottom:1px solid #e1e2d8;display:flex;gap:12px;justify-content:space-between}a{color:#43543f;overflow-wrap:anywhere}.photo{width:100%;border-radius:12px;margin:12px 0}.empty{color:#747969;font-size:14px}dialog{border:1px solid #d4d5c9;border-radius:22px;background:#f5f1e9;padding:26px;max-width:calc(100% - 32px);width:420px;color:#30332d}dialog::backdrop{background:#202b2366}dialog h2{margin-top:0}#status{position:fixed;bottom:0;left:0;right:0;max-width:640px;margin:0 auto;padding:10px 20px;color:#8a302e;background:#f5f1e9;pointer-events:none;font-size:13px}#status:empty{display:none}.login{margin-top:45px}.login button{margin-top:24px;width:100%}[hidden]{display:none!important}@media(prefers-reduced-motion:no-preference){.trip:hover{transform:translateY(-2px);transition:transform .2s}}@media(min-width:700px){main{padding-top:38px}}
/* The travel bars move vertically beneath the persistent header. */
header{position:sticky;top:0;z-index:10;background:#f5f1e9}
.plus{z-index:20}
main{touch-action:pan-y pinch-zoom}
.trip{scroll-margin-top:120px}
.user-choices{display:flex;gap:12px;margin-bottom:24px}
.user-choices button{flex:1;padding:20px 12px;font-size:20px}
.user-choices button[aria-pressed=true]{background:#354437;color:#fff;border-color:#354437}
.login .user-choices button{margin-top:0;width:auto}
.username-hidden{position:absolute;width:1px;height:1px;padding:0;margin:0;border:0;clip-path:inset(50%);overflow:hidden}
.login .password-toggle{width:auto;margin-top:8px;border:0;padding:6px 0;font-size:13px;min-height:44px}
.remember{display:flex;align-items:center;gap:10px;margin-top:18px}
.remember input{width:22px;height:22px;margin:0;accent-color:#354437;flex-shrink:0}
.recovery-link{display:block;margin:28px auto 0;border:0;text-decoration:underline;font-size:14px}
header{justify-content:center;padding:16px 24px 12px}.brand{flex-direction:column;gap:3px;text-align:center}.brand-mark{width:84px;height:79px;border:0;border-radius:0}.brand small{display:none}.brand strong{font-size:32px;color:#283f30}main{padding-top:12px}.trip{min-height:120px;padding:23px 28px;color:#26382c;margin-bottom:12px;box-shadow:none}.trip strong{order:-1;margin:0 0 8px;font-size:30px}.trip .date{font-size:14px;letter-spacing:0}.c0{background:linear-gradient(115deg,#d3dbc1,#b7c7a6)}.c1{background:linear-gradient(115deg,#ffdfa9,#f3c5a2)}.c2{background:linear-gradient(115deg,#d4d1ee,#b7c8e5)}.c3{background:linear-gradient(115deg,#f9cfce,#eeb6c4)}.c4{background:linear-gradient(115deg,#f4e8b8,#e7d58c)}.c5{background:linear-gradient(115deg,#c9e5df,#a9cebf)}
.settings-tab{position:fixed;left:0;top:50%;transform:translateY(-50%);z-index:25;width:34px;height:62px;min-height:0;padding:0;border:0;border-radius:0 19px 19px 0;background:#cad8be;color:#2b4432;font-size:25px;box-shadow:2px 2px 8px #24362b15;touch-action:none}
.trip .transport-symbol{position:absolute;right:50px;top:50%;transform:translateY(-50%);font-size:25px;line-height:1}.trip:has(.transport-symbol){padding-right:94px}
.transport-symbol img{display:block;width:32px;height:26px}
.trip .date{white-space:nowrap;font-size:13px;font-variant-numeric:tabular-nums}
.dates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.dates input[type=date]{width:100%;max-width:100%;min-width:0;min-height:48px;padding:10px 7px;appearance:none;-webkit-appearance:none}
@media(max-width:440px){.dates{grid-template-columns:minmax(0,1fr)}}
.danger{display:block;margin-top:32px;width:100%;color:#8a302e;border-color:#b77169}
.install-help{max-width:592px;margin:8px auto 0;padding:0 24px;font-size:14px;line-height:1.6;color:#43543f}
.install-help summary{cursor:pointer;min-height:44px;padding:10px 0;font-weight:600}
.install-help ol{padding-left:22px}.install-help li{margin:8px 0}
.sender-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 0;border-bottom:1px solid #d8dacd;overflow-wrap:anywhere}
.sender-row span{min-width:0}.sender-row button{flex-shrink:0;font-size:14px}
.homescreen-help{margin:10px 22px;font-size:14px;color:#52614d;line-height:1.6}.homescreen-help h3{font-size:16px;color:#2e4635}
.mail-card{margin-top:24px;padding:20px;background:#fffdf7;border:1px solid #d8dacd;border-radius:16px;overflow-wrap:anywhere;line-height:1.55}
.mail-card h2{margin:0 0 12px;font-size:22px;font-weight:600;line-height:1.35;letter-spacing:0}
.mail-card h3{font-size:17px;margin:24px 0 12px}
.mail-meta{font-size:14px;color:#52614d;margin:6px 0}
.mail-notice{padding:12px;background:#f5f1e9;border-radius:8px;font-size:15px}
.mail-attachment{padding:14px 0;border-bottom:1px solid #e1e2d8}
.mail-attachment:last-child{border-bottom:0}.mail-attachment button{width:100%;margin-top:12px}
.mail-file{display:block;font-size:17px;font-weight:600;line-height:1.5;padding:14px;background:#edf1e6;border:1px solid #c7d0bc;border-radius:10px}
.mail-text{margin-top:24px;border-top:1px solid #d8dacd;padding-top:12px}
.mail-text summary{cursor:pointer;font-size:16px;font-weight:600;padding:12px 0;min-height:44px}
.mail-body{white-space:pre-wrap;overflow-wrap:anywhere;font-size:16px;line-height:1.75;margin:12px 0 20px;color:#30332d}
.mail-original{display:block;font-size:14px;padding-top:16px}
.settings-drawer{position:fixed;inset:0 auto 0 0;margin:0;width:min(86vw,400px);height:100dvh;max-height:100dvh;max-width:none;border:0;border-radius:0 18px 18px 0;padding:0;background:#f5f1e9;overflow:auto;overscroll-behavior:contain;touch-action:pan-y}
.settings-heading{background:#2e4635;color:#fffdf4;padding:calc(24px + env(safe-area-inset-top)) 22px 24px;display:flex;align-items:center;justify-content:space-between;gap:12px}.settings-heading h2{font:30px Georgia,serif;margin:0}.settings-heading button{border:0;color:inherit;font-size:30px;padding:0;width:44px}.settings-actions{padding:26px 22px}.settings-actions button{width:100%;text-align:left;border:0;border-bottom:1px solid #d9ddcf;border-radius:0;padding:24px 0;display:flex;justify-content:space-between;gap:10px}.settings-actions span{font-size:22px}.settings-panda{display:block;width:100px;margin:60px auto 30px}.settings-drawer::backdrop{background:#19251d70}
@media(prefers-reduced-motion:no-preference){.settings-drawer[open]{animation:drawer-in .2s ease-out}@keyframes drawer-in{from{transform:translateX(-100%)}to{transform:translateX(0)}}}
