:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#182225;background:#f5f7f7;--text:#182225;--muted:#68787b;--line:#e4ebeb;--teal:#0a817a;--soft:#e9f6f4;--white:#fff}
*{box-sizing:border-box}
body{margin:0;min-height:100dvh}
button,input{font:inherit}
button{cursor:pointer;-webkit-tap-highlight-color:transparent}
.app{max-width:640px;margin:0 auto;padding:24px 18px 80px}
.head{margin:8px 0 22px}
.head h1{margin:0;font-size:27px;line-height:1.18;letter-spacing:-.025em}
.card{background:var(--white);border:1px solid var(--line);border-radius:22px;padding:22px;box-shadow:0 10px 30px #193c3a08}
.card-title{font-size:20px;font-weight:700;margin:0 0 13px}
.section{padding:13px 0 5px;border-top:1px solid var(--line)}
.section:first-of-type{border-top:0}
.section-label{font-size:13px;font-weight:650;color:var(--muted);margin-bottom:3px}
.field{width:100%;display:flex;align-items:center;gap:12px;min-height:61px;padding:8px 0;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--text);text-align:left}
.field:last-child{border-bottom:0}
.field-icon{width:36px;height:36px;flex:none;display:grid;place-items:center;border-radius:10px;background:var(--soft);color:var(--teal);font-size:19px}
.ic{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.field-icon .ic{width:19px;height:19px}
.field-icon.tone-amber{background:#fff4e4;color:#a56815}
.field-icon.tone-blue{background:#eaf2fc;color:#4776b0}
.field-copy{flex:1;min-width:0;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.field-label{font-size:15px;font-weight:650}
.field-value{font-size:14px;text-align:right;color:var(--muted);overflow-wrap:anywhere}
.field-value.filled{color:var(--text);font-weight:520}
.chevron{color:#91a0a0;font-size:24px;line-height:1}
.chevron .ic{width:17px;height:17px}
.car-line{display:flex;align-items:center;gap:11px;padding:10px 0;border-bottom:1px solid var(--line)}
.car-line:last-child{border-bottom:0}
.car-name{flex:1;font-weight:600}
.car-actions{display:flex;gap:7px}
.icon-button{width:34px;height:34px;display:grid;place-items:center;border:0;background:var(--soft);color:var(--teal);border-radius:10px}
.empty{color:var(--muted);font-size:14px;padding:10px 0}
.primary,.secondary{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:48px;padding:11px 16px;border-radius:13px;font-size:15px;font-weight:650}
.primary{border:0;background:var(--teal);color:#fff}
.primary:disabled{opacity:.48;cursor:default}
.secondary{border:1px solid var(--line);background:#fff;color:var(--text)}
.actions{display:grid;gap:9px;margin-top:20px}
.status{margin-top:14px;padding:12px 14px;border-radius:12px;background:var(--soft);color:#245d59;font-size:14px}
.error{margin-top:12px;color:#b22b2b;font-size:14px;line-height:1.4}
.muted{color:var(--muted);font-size:14px;line-height:1.45}
.sheet-wrap{position:fixed;inset:0;z-index:10}
.sheet-wrap[hidden]{display:none}
.scrim{position:absolute;inset:0;background:#16292885;border:0;width:100%}
.sheet{position:absolute;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,640px);max-height:calc(100dvh - 20px);display:flex;flex-direction:column;overflow:hidden;border-radius:22px 22px 0 0;background:#fff;box-shadow:0 -12px 40px #142e2b25}
.sheet-wrap.entering .scrim{animation:scrim-in .28s ease-out both}
.sheet-wrap.entering .sheet{animation:sheet-in .28s cubic-bezier(.2,.8,.2,1) both}
.sheet-wrap.leaving .scrim{animation:scrim-out .22s ease-in both}
.sheet-wrap.leaving .sheet{animation:sheet-out .22s ease-in both}
@keyframes sheet-in{from{transform:translate(-50%,100%)}to{transform:translate(-50%,0)}}
@keyframes sheet-out{from{transform:translate(-50%,0)}to{transform:translate(-50%,100%)}}
@keyframes scrim-in{from{opacity:0}to{opacity:1}}
@keyframes scrim-out{from{opacity:1}to{opacity:0}}
.grip{width:38px;height:5px;border-radius:9px;background:#c7d2d1;align-self:center;margin:10px 0 6px}
.sheet-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:8px 20px 15px;border-bottom:1px solid var(--line)}
.sheet-title{font-size:18px;font-weight:700}
.close{width:34px;height:34px;display:grid;place-items:center;border:0;border-radius:50%;background:#eff2f2;color:#485b5b}
.sheet-body{overflow-y:auto;overscroll-behavior:contain;padding:16px 20px 8px;min-height:0}
.sheet-foot{padding:12px 20px max(16px,env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fff;display:grid;gap:8px}
.option{width:100%;min-height:53px;display:flex;align-items:center;gap:12px;padding:10px 12px;border:0;border-radius:12px;background:transparent;color:var(--text);text-align:left;font-size:15px}
.option.selected{background:var(--soft);font-weight:650}
.option-label{flex:1}
.check{color:var(--teal);font-size:19px;visibility:hidden}
.check .ic{width:18px;height:18px}
.option.selected .check{visibility:visible}
.input-label{display:block;margin:2px 0 8px;font-size:14px;font-weight:600}
.input+.input-label{margin-top:18px}
.input{width:100%;height:52px;padding:0 14px;border:1px solid #cbd7d5;border-radius:12px;outline:none;background:#fff;color:var(--text);font-size:16px}
.input:focus{border-color:var(--teal);box-shadow:0 0 0 3px #0a817a22}
.sheet-note{font-size:14px;color:var(--muted);margin:11px 0;line-height:1.45}
.warning{color:#9f5d00;background:#fff4db;padding:11px 12px;border-radius:11px;margin-top:12px;font-size:14px}
.inline-choice{display:flex;gap:8px;margin-top:14px}
.inline-choice button{flex:1}
.recap{line-height:1.65;white-space:pre-line;font-size:15px}
.sheet-car{display:flex;align-items:center;gap:10px;padding:11px 2px;border-bottom:1px solid var(--line)}
.sheet-car span{flex:1;font-weight:600}
.text-button{width:100%;display:flex;align-items:center;gap:8px;padding:13px 4px;border:0;background:transparent;color:var(--teal);font-size:15px;font-weight:650;text-align:left}
.danger{color:#b22b2b}
body.sheet-open{overflow:hidden}
@media(prefers-reduced-motion:reduce){.sheet-wrap.entering .scrim,.sheet-wrap.entering .sheet,.sheet-wrap.leaving .scrim,.sheet-wrap.leaving .sheet{animation-duration:.01ms}}
@media(max-width:600px){.app{padding:18px 16px 70px}.card{padding:18px;border-radius:19px}.head h1{font-size:25px}.sheet{max-height:calc(100dvh - 8px)}}
