.account-screen{padding:max(18px,env(safe-area-inset-top)) 20px max(30px,env(safe-area-inset-bottom));min-height:100svh;background:linear-gradient(180deg,#e9efe5,var(--canvas) 440px)}
.account-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:12px}
.account-top img{width:36px;height:36px;border-radius:10px}
.account-hero{position:relative;overflow:hidden;padding:28px 22px;border-radius:28px;background:linear-gradient(145deg,#577764,#244a3a);color:#fff;box-shadow:var(--shadow);margin-bottom:20px}
.account-hero:before{content:"";position:absolute;right:-18px;top:-26px;width:110px;height:110px;border:20px solid rgba(237,196,134,.12);border-radius:50%;background:#edc486;opacity:.85}
.account-hero .eyebrow{position:relative;color:#f3d9b6;padding-right:44px}
.account-hero h1{position:relative;max-width:290px;font:600 34px/1.1 var(--soft);letter-spacing:-.03em;margin:12px 0;overflow-wrap:anywhere}
.account-hero p:last-child{position:relative;color:#e5eee7;font-size:14px;line-height:1.55;margin-bottom:0}
.account-card{padding:20px 16px;margin:16px 0;border-radius:24px;border:1px solid var(--line);background:#fff;box-shadow:0 6px 22px rgba(39,60,55,.05)}
.account-card h2{color:var(--pine);font-size:19px;margin:0 0 10px}
.account-card p,.account-note{color:var(--muted);font-size:13px;line-height:1.55;overflow-wrap:anywhere}
.account-field{display:block;color:var(--pine);font-weight:750;font-size:14px;margin:18px 0 8px}
.account-screen input:not([type=checkbox]){width:100%;min-height:52px;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:#fafbf7;color:var(--ink);font-size:16px}
.account-screen input[name=code]{text-align:center;letter-spacing:.25em;font-size:24px}
.account-screen button{min-height:44px}
.account-screen form>.primary,.account-screen form>.secondary{margin-top:18px}
.account-screen .ghost,.account-screen .secondary{margin-top:10px}
.account-screen .account-top button{width:auto;margin:0;padding:10px 16px}
.account-screen :is(button,input,a):focus-visible{outline:3px solid #c98d4b;outline-offset:3px}
.account-screen button:disabled{cursor:wait;opacity:.6}
.account-status:empty{display:none}
.account-status{padding:14px 16px;border:1px solid var(--line);border-radius:16px;font-size:14px;line-height:1.5;overflow-wrap:anywhere;background:#eef0e8;color:var(--pine);margin:14px 0}
.account-status.error{background:#fff0eb;border-color:#c99581;color:#793a27}
.account-check{display:flex;gap:10px;align-items:flex-start;font-size:13px;line-height:1.5;color:var(--trail);margin:18px 0}
.account-check input{flex:0 0 22px;width:22px;height:22px;accent-color:var(--pine);margin:0}
.account-screen .danger{color:#8a3829;border-color:#b7897a;background:#fff}
.account-email{overflow-wrap:anywhere}
.account-walk{padding:16px 0;border-top:1px solid var(--line)}
.account-walk h3{margin:0;font-size:16px;color:var(--pine)}
.account-walk p{margin:6px 0;white-space:pre-wrap}
.account-walk time{font-size:12px;color:var(--muted)}
.account-invite{margin:18px 20px;padding:20px;background:#eef0e8;border:1px solid var(--line);border-radius:24px}
.account-invite h2{font-size:20px;color:var(--pine);margin:0 0 8px}
.account-invite p{font-size:13px;line-height:1.5;color:var(--muted)}
.account-screen a{color:var(--pine)}
.account-entry{padding:0 0 max(20px,env(safe-area-inset-bottom));background:var(--canvas)}
.account-entry .account-top{position:relative;z-index:2;margin:0;padding:max(16px,env(safe-area-inset-top)) 20px 10px;background:#244437}
.account-entry .account-top button{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.3);color:#fff;font-size:12px}
.account-entry .account-top img{width:36px;height:36px;box-shadow:0 3px 12px rgba(0,0,0,.15)}
.account-entry .account-hero{margin:0;border-radius:0;padding:38px 26px 56px;box-shadow:none;background:linear-gradient(180deg,rgba(20,43,33,.32),rgba(20,43,33,.88)),url("Tanyard_Bridge_Landscape.jpg") center 48%/cover}
.account-entry .account-hero:before{display:none}
.account-entry .account-hero .eyebrow{padding:0;margin:0 0 14px;font-size:10px;letter-spacing:.16em}
.account-entry .account-hero h1{max-width:330px;font-size:clamp(34px,9vw,42px);line-height:1.04;margin:0 0 16px;text-wrap:balance}
.account-entry .account-hero p:last-child{max-width:300px;margin:0;font-size:14px;line-height:1.5;color:#f0f3e9}
.account-entry .account-content{position:relative;margin:-24px 0 0;padding:24px 22px 4px;background:var(--canvas);border-radius:28px 28px 0 0;animation:accountArrive .5s ease-out both}
.account-entry .account-card{margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.account-entry .account-form-heading{display:flex;align-items:center;gap:12px}
.account-form-symbol{width:42px;height:42px;flex:0 0 42px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle at 30% 25%,#faeac4,#edc486);color:var(--pine)}
.account-form-symbol svg{width:24px;height:24px}
.account-entry .account-form-kicker{margin:0 0 4px;font-size:10px;letter-spacing:.09em;text-transform:uppercase;font-weight:800;color:var(--trail)}
.account-entry-form h2{font-size:21px;line-height:1.2;margin:0}
.account-entry .account-field{margin-top:20px}
.account-entry input:not([type=checkbox]){background:#fff;min-height:54px}
.account-entry form>.primary{min-height:54px;justify-content:space-between;padding:15px 20px}
.account-entry .account-mode{background:transparent;border-color:transparent;padding:10px 6px;font-size:13px;margin-top:8px;box-shadow:none}
.account-benefit{display:flex;align-items:center;gap:12px;padding:14px 0;margin-top:8px;border-top:1px solid var(--line)}
.account-benefit svg{width:22px;height:22px;flex:0 0 22px;color:var(--trail)}
.account-entry .account-benefit p{margin:0;font-size:12px;line-height:1.5}
.account-details{border-top:1px solid var(--line);font-size:12px;color:var(--muted)}
.account-details summary{padding:14px 0;min-height:44px;cursor:pointer;line-height:1.5}
.account-details summary:focus-visible{outline:3px solid #c98d4b;outline-offset:3px}
.account-entry .account-status{margin:0 0 18px}
@keyframes accountArrive{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@media(max-height:740px){.account-entry .account-hero{padding-top:24px;padding-bottom:44px}.account-entry .account-hero h1{font-size:34px}.account-entry .account-content{padding-top:20px}}
@media(prefers-reduced-motion:reduce){.account-entry .account-content{animation:none}}
.journey-account .account-status:empty{display:none}
.journey-account button{min-height:44px}
.journey-account .secondary{margin-top:10px}
.journey-account :is(input,button):focus-visible{outline:3px solid #c98d4b;outline-offset:3px}
.history-entry .history-storage{display:inline-block;margin:8px 0 2px;padding:5px 8px;border-radius:12px;background:#eef0e8;color:var(--pine);font-size:10px;font-weight:750;line-height:1.5}
@media(max-width:360px){.history-card-link{flex-wrap:wrap}.history-card-link .history-thumb{width:44px;height:44px;flex:0 0 44px}.history-card-link .history-open{margin-left:56px}}
