:root{--yellow:#fce000;--yellow-pressed:#f0d400;--ink:#21201f;--ink-2:#5c5a57;--muted:#9e9b98;--line:#e8e6e3;--bg:#f5f4f2;--card:#fff;--chip:#edebe8;--green:#12a150;--green-bg:#e3f6ea;--red:#e53935;--red-bg:#fdeaea;--blue:#1f6feb;--blue-bg:#e7f0fe;--orange:#e07b00;--orange-bg:#fff2df;--radius:20px;--radius-sm:14px;--tabbar-h:64px;--safe-bottom:env(safe-area-inset-bottom,0px)}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{background:var(--bg);color:var(--ink);-webkit-font-smoothing:antialiased;margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:15px;line-height:1.4}button,input,textarea,select{font:inherit;color:inherit}a{color:inherit}.app{max-width:560px;min-height:100vh;margin:0 auto}.page{padding:16px 16px calc(var(--tabbar-h) + var(--safe-bottom) + 24px)}.page.no-tabs{padding-bottom:calc(var(--safe-bottom) + 24px)}.page-title{letter-spacing:-.02em;margin:8px 4px 16px;font-size:26px;font-weight:800}.hero{background:var(--yellow);border-radius:0 0 28px 28px;margin:-16px -16px 16px;padding:20px 20px 28px}.hero .page-title{margin:0 0 16px}.section-title{margin:24px 4px 10px;font-size:17px;font-weight:700}.stack{flex-direction:column;gap:12px;display:flex}.row{align-items:center;gap:12px;display:flex}.row.between{justify-content:space-between}.grow{flex:1;min-width:0}.muted{color:var(--muted)}.small{font-size:13px}.bold{font-weight:700}.center{text-align:center}.card{background:var(--card);border-radius:var(--radius);padding:16px}.card.tappable{cursor:pointer;transition:transform .1s}.card.tappable:active{transform:scale(.985)}.divider{background:var(--line);height:1px;margin:12px 0}.btn{border-radius:var(--radius-sm);cursor:pointer;border:none;justify-content:center;align-items:center;gap:8px;width:100%;height:52px;padding:0 20px;font-size:16px;font-weight:700;text-decoration:none;transition:background .15s,transform .1s;display:inline-flex}.btn:active:not(:disabled){transform:scale(.98)}.btn:disabled{opacity:.5;cursor:default}.btn.primary{background:var(--yellow);color:var(--ink)}.btn.primary:active:not(:disabled){background:var(--yellow-pressed)}.btn.dark{background:var(--ink);color:#fff}.btn.secondary{background:var(--chip);color:var(--ink)}.btn.danger{background:var(--red-bg);color:var(--red)}.btn.success{background:var(--green);color:#fff}.btn.small{border-radius:12px;height:40px;padding:0 14px;font-size:14px}.btn-row{gap:8px;display:flex}.btn-row>*{flex:1}.spinner{border:2.5px solid;border-right-color:#0000;border-radius:50%;width:18px;height:18px;animation:.7s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.field{background:var(--card);border-radius:var(--radius-sm);border:1.5px solid #0000;padding:8px 14px 10px;transition:border-color .15s;display:block}.field:focus-within{border-color:var(--ink)}.field-label{color:var(--muted);margin-bottom:2px;font-size:12px;display:block}.field input,.field textarea,.field select{background:0 0;border:none;outline:none;width:100%;padding:0;font-size:16px}.field textarea{resize:none;min-height:48px}.picker{background:var(--card);border-radius:var(--radius-sm);text-align:left;cursor:pointer;border:none;align-items:center;gap:12px;width:100%;padding:12px 14px;display:flex}.picker .value{font-size:16px;font-weight:600}.picker .placeholder{color:var(--muted);font-size:16px}.route-box{background:var(--card);border-radius:var(--radius);position:relative}.route-box .picker{background:0 0;border-radius:0}.route-box .picker+.picker{border-top:1px solid var(--line)}.swap-btn{background:var(--chip);cursor:pointer;border:none;border-radius:50%;place-items:center;width:40px;height:40px;display:grid;position:absolute;top:50%;right:12px;transform:translateY(-50%)}.dot{border-radius:50%;flex-shrink:0;width:12px;height:12px}.dot.from{border:3px solid var(--ink)}.dot.to{background:var(--ink)}.segmented{background:var(--chip);border-radius:var(--radius-sm);gap:4px;padding:4px;display:flex}.segmented button{cursor:pointer;white-space:nowrap;background:0 0;border:none;border-radius:10px;flex:1;padding:10px 6px;font-size:14px;font-weight:600}.segmented button.active{background:var(--card);box-shadow:0 1px 4px #00000014}.hero .segmented{background:#00000014}.chips{scrollbar-width:none;gap:8px;padding-bottom:2px;display:flex;overflow-x:auto}.chips::-webkit-scrollbar{display:none}.chip{background:var(--card);white-space:nowrap;cursor:pointer;border:none;border-radius:999px;flex-shrink:0;padding:8px 14px;font-size:14px;font-weight:600}.chip.active{background:var(--ink);color:#fff}.chip input[type=date]{color:inherit;background:0 0;border:none;outline:none;padding:0;font-size:14px;font-weight:600}.stepper{background:var(--chip);border-radius:12px;align-items:center;gap:4px;padding:4px;display:flex}.stepper button{background:var(--card);cursor:pointer;border:none;border-radius:10px;width:40px;height:40px;font-size:20px;font-weight:600}.stepper button:disabled{opacity:.4}.stepper span{text-align:center;min-width:32px;font-size:17px;font-weight:700}.toggle{cursor:pointer;justify-content:space-between;align-items:center;gap:12px;display:flex}.toggle input{appearance:none;background:var(--line);cursor:pointer;border-radius:999px;flex-shrink:0;width:48px;height:28px;margin:0;transition:background .15s;position:relative}.toggle input:after{content:"";background:#fff;border-radius:50%;width:22px;height:22px;transition:transform .15s;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #0003}.toggle input:checked{background:var(--ink)}.toggle input:checked:after{transform:translate(20px)}.toggle input:disabled{opacity:.5}.sheet-backdrop{z-index:50;background:#0006;justify-content:center;align-items:flex-end;animation:.15s fade;display:flex;position:fixed;inset:0}.sheet{background:var(--card);width:100%;max-width:560px;max-height:85vh;padding-bottom:var(--safe-bottom);border-radius:24px 24px 0 0;flex-direction:column;animation:.2s ease-out slide-up;display:flex}.sheet.tall{height:85vh}.sheet-head{align-items:center;gap:8px;padding:16px 16px 8px;display:flex}.sheet-head h3{flex:1;margin:0;font-size:19px;font-weight:800}.sheet-body{padding:0 8px 16px;overflow-y:auto}.icon-btn{background:var(--chip);cursor:pointer;border:none;border-radius:50%;flex-shrink:0;place-items:center;width:40px;height:40px;display:grid}.list-item{text-align:left;cursor:pointer;background:0 0;border:none;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:14px 12px;font-size:16px;display:flex}.list-item:active{background:var(--bg)}.sheet-hint{margin:0 12px 4px}.sheet-foot{border-top:1px solid var(--line);padding:8px 16px 12px}.check{border:2px solid var(--line);width:24px;height:24px;color:var(--ink);border-radius:7px;flex-shrink:0;place-items:center;display:grid}.check.on{background:var(--yellow);border-color:var(--yellow)}.list-item.strong{font-weight:700}.search-input{background:var(--bg);border-radius:12px;align-items:center;gap:8px;margin:0 8px 8px;padding:10px 14px;display:flex}.search-input input{background:0 0;border:none;outline:none;width:100%;font-size:16px}@keyframes fade{0%{opacity:0}}@keyframes slide-up{0%{opacity:.5;transform:translateY(40px)}}.trip-time{letter-spacing:-.01em;font-size:22px;font-weight:800}.trip-price{text-align:right;white-space:nowrap;font-size:20px;font-weight:800}.route{flex-direction:column;gap:6px;margin:12px 0;display:flex;position:relative}.route-point{align-items:center;gap:10px;font-weight:500;display:flex}.route-line{background:var(--line);width:2px;position:absolute;top:17px;bottom:17px;left:5px}.avatar{background:var(--chip);border-radius:50%;flex-shrink:0;place-items:center;width:44px;height:44px;font-weight:700;display:grid;overflow:hidden}.avatar.lg{width:72px;height:72px;font-size:24px}.avatar.xl{width:96px;height:96px;margin:0 auto;font-size:36px}.avatar img{object-fit:cover;width:100%;height:100%}.car-photo{aspect-ratio:16/9;object-fit:cover;border-radius:var(--radius-sm);background:var(--chip);width:100%}.plate{border:1.5px solid var(--ink);letter-spacing:.04em;border-radius:6px;padding:1px 6px;font-size:13px;font-weight:700;display:inline-block}.stars{align-items:center;gap:3px;font-weight:700;display:inline-flex}.badge{white-space:nowrap;border-radius:999px;align-items:center;gap:4px;padding:4px 10px;font-size:13px;font-weight:600;display:inline-flex}.badge.yellow{color:#6b5d00;background:#fff7c2}.badge.green{background:var(--green-bg);color:var(--green)}.badge.red{background:var(--red-bg);color:var(--red)}.badge.blue{background:var(--blue-bg);color:var(--blue)}.badge.gray{background:var(--chip);color:var(--ink-2)}.badge.pink{color:#b4236c;background:#fde7f1}.badge.orange{background:var(--orange-bg);color:var(--orange)}.alert{border-radius:var(--radius-sm);padding:12px 14px;font-weight:500}.alert.error{background:var(--red-bg);color:var(--red)}.alert.info{color:#5a4e00;background:#fff7c2}.alert.success{background:var(--green-bg);color:var(--green)}.empty{text-align:center;color:var(--muted);padding:48px 24px}.empty svg{color:var(--line);margin-bottom:12px}.loader{color:var(--muted);place-items:center;padding:48px;display:grid}.fullscreen-center{place-items:center;min-height:100vh;padding:24px;display:grid}.tabbar{z-index:40;background:var(--card);border-top:1px solid var(--line);padding-bottom:var(--safe-bottom);position:fixed;bottom:0;left:0;right:0}.tabbar-inner{max-width:560px;height:var(--tabbar-h);margin:0 auto;display:flex}.tabbar a{color:var(--muted);flex-direction:column;flex:1;justify-content:center;align-items:center;gap:3px;font-size:11px;font-weight:600;text-decoration:none;display:flex}.tabbar a.active{color:var(--ink)}.tabbar a.active .tab-icon{background:var(--yellow)}.tab-icon{border-radius:999px;place-items:center;width:52px;height:30px;transition:background .15s;display:grid}.sticky-bottom{z-index:5;background:linear-gradient(to bottom, #f5f4f200, var(--bg) 12px);bottom:calc(var(--tabbar-h) + var(--safe-bottom) + 12px);margin-top:16px;padding-top:12px;position:sticky}.no-tabs .sticky-bottom{bottom:calc(var(--safe-bottom) + 12px)}.logo{border-radius:20px;width:72px;height:72px;box-shadow:0 6px 20px #0000002e}.lang-option{border:1.5px solid var(--line);background:var(--card);border-radius:var(--radius-sm);cursor:pointer;justify-content:space-between;align-items:center;width:100%;padding:14px 16px;font-size:16px;font-weight:600;display:flex}.lang-option.active{border-color:var(--ink)}.photo-upload{background:var(--card);border-radius:var(--radius-sm);cursor:pointer;align-items:center;gap:12px;padding:12px 14px;display:flex}.photo-upload img,.photo-upload .ph{object-fit:cover;background:var(--chip);border-radius:12px;flex-shrink:0;place-items:center;width:56px;height:56px;display:grid}.photo-upload input{display:none}.photo-upload.invalid{box-shadow:inset 0 0 0 1.5px var(--red)}.photo-upload .required,.photo-upload .danger{color:var(--red)}.kv{justify-content:space-between;gap:12px;padding:8px 0;display:flex}.kv+.kv{border-top:1px solid var(--line)}.kv .k{color:var(--muted)}.kv .v{text-align:right;font-weight:600}.star-input{gap:6px;display:flex}.star-input button{cursor:pointer;color:var(--line);background:0 0;border:none;padding:2px;transition:transform .1s}.star-input button.on{color:#f5a800}.star-input button:active{transform:scale(.9)}.copy-box{background:var(--bg);white-space:pre-wrap;-webkit-user-select:all;user-select:all;border-radius:12px;padding:12px 14px;font-size:17px;font-weight:700}.brand-banner{aspect-ratio:848/300;object-fit:cover;border-radius:var(--radius);background:#15171c;width:100%;margin:8px 0 16px;display:block}.profile-hero{text-align:center;padding-top:28px}.avatar-edit{-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;cursor:pointer;background:0 0;border:none;padding:0;display:inline-block;position:relative}.avatar-edit .avatar{background:var(--card);box-shadow:0 0 0 4px #fff9}.avatar-badge{background:var(--ink);color:#fff;border:3px solid var(--yellow);border-radius:50%;place-items:center;width:34px;height:34px;display:grid;position:absolute;bottom:-2px;right:-2px}.avatar-badge .spinner{width:14px;height:14px}.profile-name{letter-spacing:-.01em;margin-top:12px;font-size:22px;font-weight:800}.profile-sub{color:var(--ink-2);margin-top:2px}.profile-stats{grid-template-columns:repeat(3,1fr);gap:8px;margin-top:18px;display:grid}.stat{border-radius:var(--radius-sm);background:#ffffff8c;min-width:0;padding:10px 6px}.stat-value{white-space:nowrap;justify-content:center;align-items:center;gap:4px;font-size:16px;font-weight:800;display:flex}.stat-label{color:var(--ink-2);margin-top:2px;font-size:12px}.section-head{justify-content:space-between;align-items:center;display:flex}.section-head .section-title{margin-right:auto}.link-btn{color:var(--blue);cursor:pointer;background:0 0;border:none;align-items:center;gap:6px;padding:24px 4px 10px;font-size:14px;font-weight:600;display:inline-flex}.list-card{padding:4px 16px}.list-row{border-bottom:1px solid var(--line);justify-content:space-between;gap:12px;padding:13px 0;display:flex}.list-row:last-child{border-bottom:none}.list-row .bold{text-align:right;overflow-wrap:anywhere}.sheet-pad{padding:8px 16px 16px}.sheet .field{background:var(--bg)}.btn.text-danger{color:var(--red)}
