.friend-fare{box-sizing:border-box;scroll-margin-top:16px;max-width:900px;margin:32px auto;padding:32px;border:1px solid #dbe4ee;border-radius:22px;background:#f7faff;color:#142c48}
.friend-fare h2{font-size:clamp(25px,4vw,34px);line-height:1.35;margin:10px 0 26px}.ff-form{display:grid;gap:18px}.friend-fare label{display:block;font-weight:700;font-size:14px}.friend-fare input,.friend-fare select{box-sizing:border-box;width:100%;padding:13px 14px;border:1px solid #bccbdd;border-radius:10px;font:inherit;background:#fff;color:#142c48;margin-top:7px}.friend-fare select{max-width:280px}
.ff-search{display:flex;gap:8px;align-items:stretch}.ff-search input{min-width:0;flex:1;margin:0}.ff-search-button{flex-shrink:0;border:1px solid #075bc7;border-radius:10px;background:#fff;color:#075bc7;font:inherit;font-size:14px;font-weight:700;padding:10px 16px}.ff-place{position:relative}.ff-place>label{margin-bottom:7px}.ff-chosen{font-size:13px;color:#52667c;margin:7px 0 0}.ff-chosen:empty{display:none}
.friend-fare .ff-places{position:absolute;top:100%;left:0;right:0;z-index:10;margin:4px 0 0;padding:5px;max-height:310px;overflow-y:auto;border:1px solid #c7d7eb;border-radius:12px;background:#fff;box-shadow:0 10px 25px #142c481a;list-style:none}.friend-fare .ff-places [role=option]{display:grid;gap:4px;cursor:pointer;padding:12px;border-radius:8px;font-size:14px;line-height:1.5}.friend-fare .ff-places [role=option]:hover,.friend-fare .ff-places [aria-selected=true]{background:#e9f2ff}.friend-fare .ff-places [role=presentation]{padding:12px;font-size:13px;color:#52667c}.friend-fare .ff-places span{font-size:13px;color:#52667c}.friend-fare .ff-places strong,.friend-fare .ff-places span{overflow-wrap:anywhere}.friend-fare input[aria-expanded=true]{border-color:#075bc7}
.ff-note{color:#52667c;font-size:13px;line-height:1.8;margin:0}.friend-fare .ff-autocomplete-help{margin:-8px 0 20px}.ff-submit{justify-self:start}.ff-status{font-size:14px;line-height:1.7;margin:0;min-height:24px}.friend-fare [hidden]{display:none!important}.friend-fare :focus-visible{outline:3px solid #075bc7;outline-offset:3px}.friend-fare button:disabled{opacity:.6;cursor:wait}.friend-fare button{cursor:pointer}.friend-fare a.button{color:#fff;text-decoration:none}.friend-fare a.button.light{color:#075bc7}
.ff-result-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.ff-service-label{font-size:13px;font-weight:700;color:#075bc7}.ff-edit{min-height:40px;padding:8px 13px;border:1px solid #c7d7eb;border-radius:9px;background:#fff;color:#142c48;font:inherit;font-size:13px}.ff-route{font-size:18px;font-weight:650;line-height:1.5;margin:22px 0 24px;overflow-wrap:anywhere}.friend-fare .ff-result-title{font-size:14px;letter-spacing:0;color:#52667c;margin:0 0 8px}.ff-price{margin:0 0 10px;line-height:1.2}.ff-amount{font-size:clamp(36px,6vw,46px);font-weight:800;letter-spacing:-.04em;color:#075bc7}.ff-trip{font-size:15px;color:#52667c;margin:0 0 18px}.ff-result-actions{display:grid;gap:10px;margin-top:22px}.friend-fare .ff-result-actions .button{width:100%;min-height:48px;margin:0}.ff-conditions{margin-top:20px;padding-top:14px;border-top:1px solid #dbe4ee;font-size:13px;color:#52667c}.ff-conditions summary{cursor:pointer;min-height:30px}.ff-conditions .ff-note{margin-top:8px}
.quick-fare-panel{min-width:0}.quick-fare-panel .friend-fare{max-width:none;margin:0;padding:0;border:0;border-radius:0;background:transparent}.quick-fare-panel .ff-input-view>.eyebrow{display:none}.quick-fare-panel .friend-fare h2{font-size:28px;margin:0 0 12px}.quick-fare-panel .ff-autocomplete-help{font-size:12px;margin:0 0 16px}.quick-fare-panel .ff-form{gap:12px}.quick-fare-panel .friend-fare label{font-size:13px}.quick-fare-panel .friend-fare input,.quick-fare-panel .friend-fare select{max-width:none;min-height:44px;padding:10px 12px;font-size:14px}.quick-fare-panel .ff-search-button{font-size:12px;padding:10px 8px}.quick-fare-panel .ff-submit{width:100%;border:0;min-height:46px}.quick-fare-panel .ff-note,.quick-fare-panel .ff-status{font-size:12px}.quick-fare-panel .ff-status{min-height:0}.quick-fare-panel .ff-status:empty{display:none}.quick-fare-panel .friend-fare .ff-result-title{font-size:14px;margin:0 0 8px}.quick-fare-panel .ff-result .ff-route{font-size:18px;margin:22px 0}
@media(max-width:600px){.friend-fare{padding:20px;margin:20px 0;border-radius:16px}.ff-search-button{padding:10px;font-size:12px}.ff-search{gap:6px}.ff-amount{font-size:38px}.ff-route{font-size:17px}.quick-fare-panel .friend-fare{margin:0;padding:0;border-radius:0}}
@media(prefers-reduced-motion:no-preference){.ff-result{animation:ff-arrive .18s ease-out}@keyframes ff-arrive{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}}

@media(max-width:800px){.friend-fare{min-height:0!important}}
