
:root{color-scheme:light;--bg:#f5f7fb;--white:#fff;--ink:#202740;--muted:#59677e;--border:#e6eaf1;--blue:#435cc5;--navy:#1f2e75;--lime:#deff86;--shadow:0 9px 28px rgba(29,42,82,.035)}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"PingFang TC","Microsoft JhengHei",sans-serif;font-size:14px;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button{cursor:pointer}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(25px,3vw,38px);letter-spacing:-.045em;font-weight:800;margin-bottom:10px}h2{font-size:26px}h3{font-size:18px;letter-spacing:-.03em;margin:0}p{line-height:1.8}.muted{color:var(--muted)}.shell{display:flex;min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;width:247px;padding:33px 19px 23px 21px;background:white;border-right:1px solid var(--border);flex-shrink:0;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:10px;font-size:23px;font-weight:800;letter-spacing:-.06em;white-space:nowrap}.brand-mark{width:37px;height:37px;display:grid;place-items:center;background:var(--blue);border-radius:12px;color:white;font-size:23px;transform:rotate(-13deg)}.brand-small{display:inline-block;background:#e9efff;color:#5770c4;font-size:10px;letter-spacing:.06em;padding:4px 7px;border-radius:99px;margin-left:6px;vertical-align:middle}.nav-label{color:#65738a;font-weight:700;font-size:10px;letter-spacing:.14em;margin:57px 12px 15px}.nav{display:grid;gap:7px}.nav-link{display:flex;align-items:center;gap:14px;border-radius:13px;padding:12px 16px;color:#687289;font-size:14px;font-weight:650}.nav-link:first-letter{font-size:20px}.nav-link.active{background:#eef2ff;color:#405bc0}.nav-link:hover{background:#f6f8ff;color:#405bc0}.sidebar-bottom{margin-top:auto}.user-pill{border:1px solid var(--border);padding:12px;display:flex;align-items:center;gap:10px;border-radius:16px}.user-pill strong,.user-pill small{display:block}.user-pill small{color:var(--muted);font-size:11px;margin-top:3px}.avatar{width:36px;height:36px;border-radius:11px;background:#e0e7ff;display:grid;place-items:center;color:var(--blue);font-weight:800}.logout{border:0;background:transparent;color:#949bb0;font-size:12px;margin:14px 0 0 10px}.main{width:100%;min-width:0;max-width:1720px;margin:auto;padding:48px 4.7% 20px}.main.full{padding:0;max-width:none}.mobile-brand{display:none}.mobile-actions{display:flex;align-items:center;gap:8px}.mobile-quick-link{display:inline-flex;align-items:center;justify-content:center;border:1px solid #dce3f2;border-radius:10px;padding:8px 9px;background:#fff;color:#334b7e;font-weight:700;font-size:12px;white-space:nowrap}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;z-index:1000;left:12px;top:-70px;padding:11px 15px;border-radius:10px;background:#172754;color:#fff;font-weight:700}.skip-link:focus{top:12px}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #3658c6;outline-offset:3px}.pagehead{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:32px}.eyebrow,.tile-overline{color:#8796b6;font-size:10px;font-weight:800;letter-spacing:.18em;margin-bottom:13px;text-transform:uppercase}.wave{color:#8197ec}.button{display:inline-flex;justify-content:center;align-items:center;gap:10px;border:0;border-radius:12px;padding:13px 19px;font-weight:750;white-space:nowrap}.button.dark{background:#28397d;color:white}.button.white{background:white;color:#3044a1}.button.outlined{border:1px solid var(--border);color:var(--ink);background:white}.button.danger{background:#fff1f0;color:#a53e42}.button.wide{width:100%}.button:hover{filter:brightness(.95)}.inline-link{font-size:12px;color:#536cc4;font-weight:750}.tile{background:white;border:1px solid #ebedf3;border-radius:21px;padding:26px;box-shadow:var(--shadow);min-width:0}.bento{display:grid;grid-template-columns:1.28fr 1fr .93fr;grid-template-rows:auto auto auto;gap:18px}.hero-tile{position:relative;grid-column:span 2;min-height:315px;overflow:hidden;background:linear-gradient(117deg,#263c93 0%,#5269cf 100%);color:white;border:0;padding:36px}.hero-tile .tile-overline{color:#afc0ff}.hero-tile h2{font-size:clamp(28px,3.5vw,42px);font-weight:800;line-height:1.25;letter-spacing:-.04em;margin-bottom:13px;position:relative;z-index:2}.hero-tile p{max-width:370px;opacity:.83;line-height:1.8;position:relative;z-index:2}.hero-tile .button{position:relative;z-index:2;margin-top:10px}.hero-decoration{position:absolute;right:-8%;bottom:-35px;font-size:120px;color:rgba(255,255,255,.06);font-weight:800;transform:rotate(-13deg);letter-spacing:-.08em}.hero-decoration span{font-size:76px}.stat-tile{min-height:245px}.big-number{font-size:66px;line-height:1.1;font-weight:800;letter-spacing:-.09em;margin:18px 0 10px}.big-number.price{font-size:42px;letter-spacing:-.06em}.stat-name{font-weight:800;font-size:14px}.stat-tile p{font-size:12px;margin-top:10px}.stat-tile.accent{background:#ebf4ef}.quota-tile{grid-column:span 1}.quota-header{display:flex;justify-content:space-between;align-items:center;margin:37px 0 13px}.quota-header strong{font-size:21px}.meter{height:9px;border-radius:99px;background:#edf0f6;overflow:hidden}.meter span{display:block;height:100%;background:#5870d0;border-radius:99px}.quota-tile p{font-size:12px;margin-top:16px}.wide-tile{grid-column:span 2}.tile-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}.route-row{display:flex;gap:15px;align-items:center;justify-content:space-between;border-top:1px solid #eef0f5;padding:17px 0;font-size:12px}.route-airports{font-weight:800;font-size:15px}.route-arrow{color:#b0b9cf;margin:0 7px}.status{display:inline-flex;border-radius:99px;padding:6px 10px;white-space:nowrap;font-size:10px;font-weight:800}.status.on{color:#35875e;background:#e7f6ed}.status.off{background:#f1f2f5;color:#57657b}.activity-tile .alert-row{border-top:1px solid var(--border);padding:14px 0;display:flex;align-items:center;justify-content:space-between}.alert-price{font-size:20px;font-weight:800}.alert-price span,.activity-tile small{font-size:11px;color:var(--muted)}.empty-state{padding:28px 12px;color:#99a1b4;text-align:center}.footer{color:#59677e;font-size:10px;text-align:center;padding:34px 0 5px}.flash{margin-bottom:18px;border-radius:12px;padding:15px 19px}.flash.success{background:#e5f5eb;color:#2d815b}.flash.error{background:#fff0f0;color:#a54351}.search-box{margin-bottom:28px}.search-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.search-grid label,.login-form label{display:flex;flex-direction:column;gap:9px;color:#5f6b82;font-weight:650;font-size:12px}.search-grid input:not([type=checkbox]),.search-grid select,.login-form input:not([type=checkbox]){height:47px;min-width:0;width:100%;border:1px solid #e3e8f0;border-radius:10px;padding:10px 13px;outline:0;background:#fafbfe;color:#303d63}.search-grid input:not([type=checkbox]):focus,.search-grid select:focus,.login-form input:focus{border-color:#7088e4;box-shadow:0 0 0 3px #e4eaff}.search-action{align-self:end}.subnote{margin:17px 0 0;color:#59677e;font-size:11px}.result-heading,.sectionhead{display:flex;align-items:center;justify-content:space-between;margin:36px 0 20px}.result-heading h2,.sectionhead h2{margin:0}.offers{display:grid;gap:17px}.offer{padding:26px 28px}.offer-top,.offer-main,.offer-foot{display:flex;justify-content:space-between;gap:20px;align-items:center}.offer-top{padding-bottom:21px;border-bottom:1px solid var(--border)}.flight-identity{display:flex;align-items:center;gap:12px}.flight-identity strong,.flight-identity span{display:block}.flight-identity span{font-size:11px;color:var(--muted);margin-top:4px}.airline-logo,.airline-fallback{width:46px;height:46px;border-radius:13px;border:1px solid var(--border);object-fit:contain;padding:8px}.airline-fallback{display:grid;place-items:center;background:#f1f4fb;color:#5564ae;font-weight:800;font-size:12px!important}.offer-badges{display:flex;gap:8px;flex-wrap:wrap}.offer-main{padding:27px 0}.air-code{font-size:23px;font-weight:800;margin-bottom:11px}.air-code span{font-size:12px;color:#bac2d5;margin:0 9px}.times .muted{font-size:12px;margin-top:6px}.fare{text-align:right;white-space:nowrap}.fare .eyebrow{margin-bottom:7px}.fare-value{font-size:32px;font-weight:800;color:#344dac;letter-spacing:-.05em}.fare-total{font-size:12px;color:#9aa2b6;margin-top:6px}.offer-foot{padding-top:20px;border-top:1px solid var(--border)}.seller{display:flex;align-items:center;gap:10px;color:#6b758e;font-weight:700;font-size:12px}.seller small{display:block;color:#abb2c0;font-size:10px;font-weight:500;margin-top:4px}.seller-icon{width:28px;height:28px;display:grid;place-items:center;background:#e3eaff;color:#526abf;border-radius:9px;font-weight:900}.watch-list{display:grid;gap:13px}.watch{display:flex;align-items:center;justify-content:space-between;gap:20px}.watch-route{display:flex;align-items:center;gap:9px;font-size:20px;font-weight:800}.watch-route span:not(.status){color:#a8b2cd}.watch p{margin:8px 0}.watch-meta{font-size:12px;color:#9099ae}.watch-actions{display:flex;gap:8px}.toggles{display:flex;align-items:center;gap:19px}.check{flex-direction:row!important;display:inline-flex!important;align-items:center;gap:7px!important}.history-tile{padding:10px 22px}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%}th,td{padding:19px 13px;border-bottom:1px solid var(--border);text-align:left;white-space:nowrap;font-size:12px}th{color:#9ba5ba;font-size:10px;letter-spacing:.06em}.money{color:#344dac;font-weight:800}.pagination{margin-top:20px}.login-screen{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:white}.login-hero{padding:9vh 11% 8vh;background:linear-gradient(145deg,#263887,#5066d4);color:white;display:flex;flex-direction:column;position:relative;overflow:hidden;min-height:660px}.pill{width:max-content;border:1px solid #9eaff3;background:#ffffff14;padding:10px 13px;border-radius:99px;font-size:10px;letter-spacing:.16em;font-weight:750}.login-graphic{height:35vh;min-height:225px;position:relative;margin:25px 0}.orb{display:block;position:absolute;border:1px solid #ffffff49;border-radius:50%;width:330px;height:330px;left:18%;top:-18px}.orb.b{width:235px;height:235px;left:27%;top:28px}.flight-path{position:absolute;left:46%;top:64px;font-size:94px;color:#eeffc0;transform:rotate(-27deg);filter:drop-shadow(0 15px 15px #0e237355)}.login-hero h1{font-size:clamp(33px,4vw,63px);line-height:1.22;margin-bottom:18px;position:relative;z-index:2}.login-hero h1 span{color:#e3ffab}.login-hero p{opacity:.84;max-width:440px;font-size:14px}.hero-foot{margin-top:auto;display:flex;align-items:center;gap:16px;letter-spacing:.18em;font-size:10px}.hero-dash{width:55px;height:1px;background:#ffffffaa}.login-form-wrap{display:grid;place-items:center;padding:30px}.login-form{width:min(390px,100%)}.login-form h2{font-size:35px;font-weight:800;margin:7px 0 5px;letter-spacing:-.06em}.login-form p{margin-bottom:33px}.login-form form{display:grid;gap:20px}.login-form input:not([type=checkbox]){height:52px}.login-form .button{margin-top:9px;height:50px}.login-remember{display:flex;justify-content:space-between;align-items:center;color:#a2a9b9;font-size:11px}.login-remember .check{font-size:11px}.login-note{font-size:11px;color:#b0b7c5;margin-top:25px;text-align:center}
@media(max-width:1120px){.sidebar{width:207px}.main{padding:38px 3%}.bento{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-tile{grid-column:span 2}.quota-tile{grid-column:span 1}.wide-tile{grid-column:span 2}.activity-tile{grid-column:span 2}.search-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.sidebar{position:fixed;z-index:10;bottom:0;top:auto;left:0;right:0;height:calc(64px + env(safe-area-inset-bottom));width:auto;padding:5px 9px calc(5px + env(safe-area-inset-bottom));border-top:1px solid var(--border);border-right:0}.sidebar>.brand,.nav-label,.sidebar-bottom{display:none}.sidebar .nav{display:flex;align-items:center;justify-content:space-around;width:100%;gap:0}.sidebar .nav-link{display:flex;flex-direction:column;gap:1px;font-size:17px;padding:7px 6px}.sidebar .nav-link span{font-size:9px}.main{padding:24px 16px calc(90px + env(safe-area-inset-bottom))}.main.full{padding:0}.mobile-brand{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:25px}.mobile-brand .brand{font-size:17px;gap:4px}.mobile-brand .brand-small{margin-left:2px;font-size:9px}.sidebar .nav-admin{display:none}.pagehead{align-items:flex-start}.pagehead .button{font-size:11px;padding:10px}.pagehead h1{font-size:25px}.bento{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.tile{border-radius:16px;padding:19px}.hero-tile{min-height:255px}.hero-tile h2{font-size:29px}.hero-tile p{font-size:12px}.big-number{font-size:46px}.big-number.price{font-size:28px}.stat-tile{min-height:215px}.stat-tile .tile-overline{font-size:9px}.quota-tile,.wide-tile,.activity-tile{grid-column:span 2}.route-row{flex-wrap:wrap}.search-grid{grid-template-columns:minmax(0,1fr)}.offer-top,.offer-main,.offer-foot{align-items:flex-start;flex-direction:column}.fare{text-align:left}.offer-badges{gap:4px}.watch{align-items:flex-start;flex-direction:column}.login-screen{grid-template-columns:1fr}.login-hero{min-height:300px;padding:35px 30px}.login-graphic{display:none}.login-hero h1{font-size:33px;margin-top:35px}.login-hero p{font-size:12px}.login-form-wrap{padding:38px 28px 65px}.login-form h2{font-size:30px}}

@media (max-width:380px){.mobile-brand .brand{font-size:15px}.mobile-quick-link{font-size:11px;padding:7px}.mobile-brand .brand-small{display:none}}

/* v3.2.5: submitting state, with reduced motion support */
button[aria-busy="true"]{cursor:progress;opacity:.75;pointer-events:none}
.submit-spinner{display:inline-block;width:1em;height:1em;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;vertical-align:-.15em;margin-right:.55em;animation:fw-submit-spin .75s linear infinite}
@keyframes fw-submit-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion: reduce){.submit-spinner{animation-duration:2s}}

/* v3.3.0 Mobile controls: stable SVG glyph sizing, native iOS date field alignment. */
.nav-icon{display:block;width:20px;height:20px;min-width:20px;flex:0 0 20px;stroke-width:1.85}
.nav-link:first-letter{font-size:inherit}
.search-grid > label,.login-form label{min-width:0;max-width:100%}
.search-grid input:not([type=checkbox]),.search-grid select,.login-form input:not([type=checkbox]){display:block;box-sizing:border-box;max-width:100%;min-width:0;font-size:16px;line-height:normal;color-scheme:light}
.search-grid select{appearance:none;-webkit-appearance:none;padding-right:42px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23596886' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 13px center;background-size:17px 17px}
.search-grid input[type=date]{-webkit-min-logical-width:0;min-width:0;max-width:100%;overflow:hidden;padding-right:12px}
.search-grid input[type=date]::-webkit-date-and-time-value{min-height:1em;text-align:left}
.search-grid input[type=date]::-webkit-calendar-picker-indicator{opacity:.8;margin:0;flex-shrink:0;width:18px;height:18px;cursor:pointer}
.search-grid input[type=number]{-moz-appearance:textfield;appearance:textfield}
.search-grid input[type=number]::-webkit-inner-spin-button,.search-grid input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.record-list{display:grid;gap:14px}.record-card{display:flex;align-items:flex-start;justify-content:space-between;gap:28px}
.record-main,.record-side{min-width:0}.record-main{flex:1}.record-meta,.record-actions{display:flex;flex-wrap:wrap;align-items:center;gap:7px}
.record-route{display:block;font-size:23px;font-weight:800;letter-spacing:-.025em;margin:13px 0 8px}
.record-route:hover{color:var(--blue)}.record-detail{margin:0 0 10px;font-size:12px}
.record-ssid{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:9px;color:#53617e;font-size:12px}
.record-ssid span{font-size:10px;font-weight:800;letter-spacing:.06em}
.record-ssid code{display:block;font-size:11px;overflow-wrap:anywhere;word-break:break-word}
.mini-button{border:1px solid var(--border);border-radius:9px;background:#f7f9fd;color:#40568d;padding:6px 10px;font-size:11px;font-weight:750;cursor:pointer}
.record-side{display:flex;flex-direction:column;align-items:flex-end;gap:12px}.record-price{text-align:right;max-width:320px}
.record-price small{display:block;color:var(--muted);font-size:11px;overflow-wrap:anywhere}.record-price strong{display:block;font-size:24px;font-weight:850;color:#344dac;margin:3px 0}
.record-actions{justify-content:flex-end}.record-actions form{margin:0}.record-actions .button{padding:10px 12px;font-size:12px;min-height:41px}
.record-actions .button:disabled{opacity:.35;cursor:not-allowed}.status.locked{background:#fff0e2;color:#a26b21}.status.shared{background:#e9edff;color:#475cbb}
.cleanup-banner{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;background:#fffdf5;border-color:#f4e8c0}
.cleanup-banner p{font-size:12px;margin:5px 0 0}.cleanup-banner form{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.cleanup-select{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted)}.cleanup-select select{border:1px solid #dce4f0;padding:9px 12px;border-radius:10px;min-width:0;font-size:16px}
.record-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:0 0 25px}
.record-summary>div{min-width:0;overflow-wrap:anywhere}.record-summary small{display:block;font-size:11px;color:var(--muted);margin-bottom:8px}
.record-summary strong{display:block;font-size:13px}.record-control-panel{display:grid;gap:15px;margin-top:26px}.record-control-panel p{margin:8px 0 0;font-size:12px}
.record-control-panel .record-actions{justify-content:flex-start}.share-panel{display:flex;align-items:end;gap:9px;flex-wrap:wrap;padding:15px;background:#f6f8fd;border-radius:12px}
.share-panel label{font-size:12px;font-weight:700;flex-basis:100%}.share-panel input{width:min(550px,100%);min-width:0;border:1px solid var(--border);border-radius:8px;padding:12px;font-size:16px;background:#fff;color:#384a68}
.record-page.public-record{max-width:1160px;margin:0 auto;padding:40px 22px}.public-disclaimer{margin-top:20px;font-size:12px}
.record-stale-notice{background:#fff6e6;color:#655027;border:1px solid #f2e4bd}.record-stale-notice .inline-link{margin-left:7px}
#fw-copy-toast{position:fixed;z-index:2000;bottom:90px;left:50%;transform:translate(-50%,15px);pointer-events:none;opacity:0;background:#263458;color:white;padding:12px 18px;border-radius:12px;font-size:12px;font-weight:750;box-shadow:0 10px 30px #0002;transition:opacity .18s,transform .18s;max-width:calc(100vw - 32px);white-space:normal;text-align:center}
#fw-copy-toast.visible{opacity:1;transform:translate(-50%,0)}
@media(max-width:760px){
  .sidebar .nav-link{padding:6px 4px;min-width:0;align-items:center;gap:4px}
  .sidebar .nav-icon{width:21px;height:21px;min-width:21px;flex:0 0 21px}
  .search-grid{min-width:0;gap:15px}.search-grid input:not([type=checkbox]),.search-grid select{font-size:16px}
  .record-card{flex-direction:column;gap:15px}.record-side{align-items:stretch;width:100%}
  .record-price{text-align:left;max-width:100%}.record-actions{justify-content:flex-start}
  .record-actions .button{white-space:normal;text-align:center}
  .cleanup-banner{flex-direction:column;align-items:stretch}.cleanup-banner form{width:100%}
  .record-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:20px}
  .record-ssid code{font-size:10px}.record-page.public-record{padding:26px 16px 90px}
  .tile-heading{flex-wrap:wrap}.pagehead{flex-wrap:wrap}
}
@media(max-width:380px){.record-summary{grid-template-columns:1fr}.record-actions .button{font-size:11px;padding:9px 10px}}

/* v3.3.1 iOS WebKit: date picker is an invisible native control layered over an HTML display.
   This avoids Safari/WebView's intrinsic date-control size and empty text rendering. */
.search-grid > .fw-date-field{display:flex;flex-direction:column;gap:9px;min-width:0;max-width:100%;width:100%}
.search-grid > .fw-date-field > label{display:block;font-size:12px;font-weight:650;color:#5f6b82;line-height:normal}
.fw-date-control{position:relative;box-sizing:border-box;display:block;width:100%;max-width:100%;min-width:0;height:47px;border:1px solid #e3e8f0;border-radius:10px;overflow:hidden;background:#fafbfe;color:#303d63}
.fw-date-control:focus-within{border-color:#7088e4;box-shadow:0 0 0 3px #e4eaff}
.search-grid .fw-date-control > input.fw-date-native{position:absolute;z-index:2;inset:0;display:block;box-sizing:border-box;width:100%;height:100%;min-width:0;max-width:none;margin:0;padding:0;border:0;border-radius:0;opacity:0;cursor:pointer;font-size:16px;-webkit-appearance:auto;appearance:auto}
.search-grid .fw-date-control > input.fw-date-native:focus{outline:0;box-shadow:none}
.fw-date-display{position:absolute;inset:0;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 13px;pointer-events:none;font-size:16px;line-height:1.2;font-weight:600;color:#8994a9;overflow:hidden}
.fw-date-control.has-value .fw-date-display{color:#303d63}
.fw-date-text{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fw-date-icon{width:20px;height:20px;min-width:20px;flex:0 0 20px;color:#596886}
.fw-date-clear{position:absolute;z-index:3;top:50%;right:6px;transform:translateY(-50%);width:38px;height:34px;display:flex;align-items:center;justify-content:center;border:0;border-radius:8px;background:transparent;color:#71819a;cursor:pointer;font-size:15px;line-height:1}
.fw-date-clear:hover,.fw-date-clear:focus-visible{background:#e9edf6;color:#263f7a}
.fw-date-control:not(.has-value) .fw-date-clear{display:none}
@media(max-width:760px){.search-grid > .fw-date-field{min-width:0}.fw-date-control{width:100%;height:48px}}

.fw-date-control.has-value.fw-date-optional .fw-date-icon{display:none}
.fw-date-control.has-value.fw-date-optional .fw-date-display{padding-right:50px}

/* v3.4.0 · Bento expandable itinerary cards, mobile-first sources */
.flight-groups{display:grid;gap:16px;min-width:0}
.flight-card{padding:0;overflow:hidden;transition:box-shadow .2s ease,border-color .2s ease}
.flight-card[open]{border-color:#cbd7ff;box-shadow:0 16px 40px rgba(41,59,120,.09)}
.flight-card-summary{list-style:none;cursor:pointer;display:block;padding:24px 27px;min-width:0}
.flight-card-summary::-webkit-details-marker{display:none}.flight-card-summary::marker{content:''}
.flight-card-summary:focus-visible{outline:3px solid #718de9;outline-offset:-4px;border-radius:19px}
.flight-card-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.flight-card-tags{display:flex;gap:7px;flex-wrap:wrap}
.flight-card-core{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:21px 0}
.flight-card-route{display:flex;flex-direction:column;gap:8px;min-width:0}
.flight-card-route>strong{font-size:24px;letter-spacing:-.05em;color:#24315c}
.flight-card-route>span{font-size:12px;color:#596883;line-height:1.65;overflow-wrap:anywhere}
.route-line{font-size:15px;padding:0 9px;color:#8294c9}
.flight-card-price{text-align:right;display:flex;flex-direction:column;align-items:flex-end;gap:5px;flex-shrink:0}
.flight-card-price .eyebrow{margin:0}.flight-card-price>strong{font-size:clamp(25px,3vw,35px);font-weight:850;color:#344dac;letter-spacing:-.05em}
.flight-card-price>span{font-size:11px;color:#66758d}.flight-card-price .flight-card-best{color:#395c96;font-weight:700}
.flight-card-expand{display:flex;align-items:center;justify-content:center;gap:8px;color:#435cbc;background:#f2f5ff;border:1px solid #e8edff;border-radius:12px;padding:11px 14px;font-size:12px;font-weight:800}
.flight-card-expand svg{transition:transform .22s ease}.flight-card[open] .flight-card-expand svg{transform:rotate(180deg)}
.flight-card-detail{border-top:1px solid #e7ebf4;background:#fafbff;padding:22px 26px;display:grid;grid-template-columns:1fr 1fr;gap:14px}
.flight-detail-panel{border:1px solid #e8edf7;background:#fff;border-radius:17px;padding:20px;min-width:0}
.flight-detail-panel h3{font-size:16px;color:#24365e;margin:0 0 15px}
.detail-eyebrow{font-size:9px;letter-spacing:.16em;color:#7890c4;font-weight:850;margin-bottom:9px}
.flight-leg{display:grid;gap:8px;margin:11px 0}.leg-title{font-size:11px;font-weight:850;color:#355199;background:#edf2ff;padding:6px 9px;border-radius:8px;width:max-content}
.flight-segment{display:grid;gap:6px;padding:12px 14px;border-left:3px solid #6680d6;background:#f6f8fc;border-radius:0 10px 10px 0}
.flight-segment strong{font-size:15px}.flight-segment span{font-size:12px;color:#566581;overflow-wrap:anywhere}
.detail-pairs{display:grid;gap:0}.detail-pairs>div{display:flex;align-items:start;justify-content:space-between;gap:13px;padding:12px 0;border-top:1px solid #edf0f6}
.detail-pairs span{font-size:12px;color:#6c7a93;flex-shrink:0}.detail-pairs strong{font-size:12px;line-height:1.5;text-align:right;overflow-wrap:anywhere}
.flight-sources{grid-column:1/-1}.flight-sources-note{font-size:12px;margin:-4px 0 18px}
.source-list{display:grid;gap:10px}.source-card{display:grid;grid-template-columns:minmax(130px,1.5fr) minmax(140px,1.3fr) minmax(145px,1fr) auto;gap:14px;align-items:center;background:#f7f9fe;border:1px solid #e6ebf4;border-radius:14px;padding:15px}
.source-identity{display:flex;align-items:center;gap:11px;min-width:0}.source-identity>span:last-child{min-width:0}.source-identity strong,.source-identity small{display:block;overflow-wrap:anywhere}
.source-identity strong{font-size:13px}.source-identity small{font-size:10px;color:#71809a;margin-top:4px}
.source-logo{display:grid;place-items:center;min-width:42px;width:42px;height:42px;border-radius:12px;font-weight:900;font-size:13px;flex-shrink:0}
.source-trip{color:#1769b5;background:#e0f0ff}.source-default{color:#3f57b4;background:#e6ebfc}
.source-conditions{display:grid;gap:4px}.source-conditions span{font-size:11px;color:#586b86}
.source-price{display:flex;flex-direction:column;gap:3px}.source-price strong{font-size:18px;color:#263f8e;white-space:nowrap}.source-price strong small{font-size:10px;color:#74809b;font-weight:600}.source-price span{font-size:11px;color:#67758a}
.source-book{font-size:12px;padding:11px 12px}.source-unavailable{font-size:11px;color:#71809a}
.provider-results{margin:16px 0;padding:15px 18px;background:#f6f8fe;border:1px solid #e7edf8;border-radius:13px;display:grid;gap:7px}
.provider-results strong{font-size:13px}.provider-result{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;flex-wrap:wrap}.provider-result small{font-size:11px;color:#6e7c96}
@media(max-width:1000px){.source-card{grid-template-columns:1fr 1fr}.source-book,.source-unavailable{width:max-content}}
@media(max-width:700px){.flight-card-summary{padding:18px 16px}.flight-card-core{align-items:flex-start;flex-direction:column;gap:15px}.flight-card-route>strong{font-size:20px}.flight-card-price{text-align:left;align-items:flex-start}.flight-card-price>strong{font-size:30px}.flight-card-detail{padding:14px;grid-template-columns:1fr}.flight-detail-panel{padding:17px}.flight-sources{grid-column:auto}.source-card{grid-template-columns:1fr;gap:11px}.source-price strong{font-size:19px}.source-conditions{display:flex;flex-wrap:wrap;gap:6px 14px}.source-book,.source-unavailable{width:100%;text-align:center}.flight-card-tags .status{font-size:10px}.provider-results{margin:12px 0}}
@media(prefers-reduced-motion:reduce){.flight-card,.flight-card-expand svg{transition:none}}


/* v3.4.1 — Changelog page: accessible expandable cards in the Bento visual system */
.changelog-pagehead{margin-bottom:25px}
.changelog-sparkle{color:var(--blue);font-size:.75em}
.changelog-metrics{display:grid;grid-template-columns:1fr 1fr 1.5fr;gap:15px;margin-bottom:27px}
.changelog-metric{background:#fff;border:1px solid var(--border);border-radius:18px;padding:21px 23px;box-shadow:var(--shadow);display:flex;flex-direction:column;justify-content:space-between;gap:11px;min-width:0}
.changelog-metric>span{font-size:11px;font-weight:800;letter-spacing:.07em;color:#66748e}
.changelog-metric strong{font-size:28px;line-height:1.2;letter-spacing:-.04em;overflow-wrap:anywhere}
.changelog-metric strong small{font-size:12px;color:#63708b;letter-spacing:0}
.changelog-metric-tip{background:linear-gradient(120deg,#273d94,#526bcb);color:#fff}
.changelog-metric-tip>span{color:#dce4ff}
.changelog-metric-tip strong{font-size:17px;letter-spacing:0;line-height:1.5}
.changelog-timeline{display:grid;gap:15px;max-width:1100px}
.release-card{background:#fff;border:1px solid var(--border);border-radius:19px;box-shadow:var(--shadow);overflow:hidden;min-width:0}
.release-card[open]{border-color:#dce5ff;box-shadow:0 9px 30px rgba(51,82,178,.055)}
.release-summary{display:flex;align-items:center;gap:17px;padding:24px 26px;cursor:pointer;list-style:none;min-width:0}
.release-summary::-webkit-details-marker{display:none}
.release-summary::marker{content:''}
.release-summary:hover{background:#f8faff}
.release-summary:focus-visible{outline:3px solid #738cff;outline-offset:-5px;border-radius:19px}
.release-number{width:44px;height:44px;flex:0 0 44px;display:grid;place-items:center;background:#edf1ff;color:#4561bd;border-radius:13px;font-size:13px;font-weight:900}
.release-summary-copy{display:flex;flex-direction:column;gap:7px;min-width:0;flex:1}
.release-version{display:flex;align-items:center;gap:10px;color:#455dcc;font-weight:900;letter-spacing:.015em;font-size:12px}
.release-current{background:#e6f6eb;color:#218052;padding:4px 9px;border-radius:99px;font-size:10px;font-weight:800}
.release-summary-copy>strong{font-size:18px;line-height:1.5;letter-spacing:-.025em;overflow-wrap:anywhere}
.release-chevron{flex:0 0 32px;height:32px;display:grid;place-items:center;background:#f2f5fc;color:#64769b;border-radius:10px;transition:transform .2s ease}
.release-card[open] .release-chevron{transform:rotate(180deg)}
.release-content{border-top:1px solid #e9edf7;padding:21px 28px 29px;color:#394660;overflow-wrap:anywhere;font-size:14px;line-height:1.85}
.markdown-body :first-child{margin-top:0}.markdown-body :last-child{margin-bottom:0}
.markdown-body p{margin:0 0 14px;line-height:1.85}
.markdown-body h3,.markdown-body h4,.markdown-body h5{margin:24px 0 12px;color:#1f2b50;font-size:16px}
.markdown-body ul,.markdown-body ol{padding-inline-start:22px;margin:0 0 15px}
.markdown-body li{margin-bottom:9px;padding-left:4px}
.markdown-body li::marker{color:#6075d5}
.markdown-body a{color:#415cc0;text-decoration:underline;text-underline-offset:3px}
.markdown-body a:focus-visible{outline:2px solid #415cc0;outline-offset:3px}
.markdown-body code{background:#eef2fc;padding:2px 6px;border-radius:6px;font-size:12px;word-break:break-word}
.markdown-body pre{overflow:auto;background:#1e294a;color:white;border-radius:13px;padding:17px}
.markdown-body pre code{background:none;color:inherit;padding:0}
.markdown-body blockquote{margin:17px 0;padding:12px 17px;border-left:4px solid #7287d9;background:#f3f6ff;border-radius:0 12px 12px 0}
.markdown-body table{width:100%;border-collapse:collapse;font-size:13px;display:block;overflow-x:auto}
.markdown-body th,.markdown-body td{border:1px solid #e3e9f2;padding:10px 12px;text-align:left}
.markdown-body th{background:#f5f7fe}
.release-empty{padding:28px;border:1px dashed #cbd5e7;border-radius:18px;background:white}
.footer-release-link{text-decoration:underline;text-underline-offset:3px;color:#445dc1}
@media(max-width:760px){
  .sidebar .nav-link:not(.nav-admin){min-width:0;flex:1;padding:7px 2px}
  .sidebar .nav-link span{font-size:9px;white-space:nowrap}
  .changelog-pagehead .button{margin-top:5px}
  .changelog-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:17px}
  .changelog-metric{border-radius:15px;padding:16px;gap:10px}
  .changelog-metric strong{font-size:24px}
  .changelog-metric-tip{grid-column:1 / -1}
  .changelog-metric-tip strong{font-size:14px}
  .changelog-timeline{gap:11px}
  .release-summary{padding:17px 14px;gap:11px}
  .release-number{width:35px;height:35px;flex-basis:35px;border-radius:10px;font-size:11px}
  .release-summary-copy>strong{font-size:14px}
  .release-content{padding:17px 17px 22px;font-size:13px}
  .release-chevron{flex-basis:27px;width:27px;height:27px}
}
@media(prefers-reduced-motion:reduce){.release-chevron{transition:none}}

/* v3.4.4 — personal Telegram settings, iPhone friendly */
.tg-settings{margin-bottom:22px}
.tg-settings>.muted{font-size:13px;margin:8px 0 16px}
.tg-personal-form{display:grid;gap:8px}
.tg-personal-form>label{font-weight:750;color:var(--ink);font-size:13px}
.tg-personal-input-row{display:flex;gap:10px;align-items:stretch;min-width:0}
.tg-personal-input-row>input{flex:1;min-width:0;width:100%;border-radius:12px;border:1px solid #dce3f0;background:#fff;color:var(--ink);padding:12px 14px;font-size:16px}
.tg-personal-input-row .button{flex:0 0 auto}
.tg-personal-actions{margin-top:14px;display:grid;gap:4px}
.tg-personal-actions>form{width:max-content;max-width:100%}
.tg-personal-actions .subnote{max-width:650px;overflow-wrap:anywhere}
@media(max-width:600px){.tg-personal-input-row{flex-direction:column}.tg-personal-input-row .button,.tg-personal-actions>form,.tg-personal-actions .button{width:100%}}


/* v3.4.6 — watch creation form: field controls must not style checkboxes. */
.watch-create-form .search-grid{align-items:start;row-gap:20px;column-gap:24px}
.watch-create-form .watch-notify-options{grid-column:span 2;min-width:0;border:0;margin:0;padding:0}
.watch-create-form .watch-notify-options legend{float:none;width:auto;padding:0;margin:0 0 9px;color:#5f6b82;font-size:12px;line-height:normal;font-weight:650}
.watch-create-form .watch-notify-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap;min-height:47px}
.watch-create-form .watch-notify-controls .check{display:inline-flex!important;flex-direction:row!important;align-items:center;justify-content:flex-start;gap:9px!important;max-width:100%;min-height:47px;padding:11px 13px;border:1px solid #e3e8f0;border-radius:11px;background:#fafbfe;color:#344267;font-size:13px;font-weight:700;white-space:nowrap;cursor:pointer}
.watch-create-form .watch-notify-controls input[type=checkbox]{display:inline-block;position:static;flex:0 0 18px;width:18px;height:18px;min-width:18px;max-width:18px;margin:0;padding:0;border:0;border-radius:4px;box-shadow:none;appearance:auto;-webkit-appearance:checkbox;accent-color:#3654b6;cursor:pointer;background:transparent}
.watch-create-form .watch-notify-controls input[type=checkbox]:focus-visible{outline:3px solid #3658c6;outline-offset:3px}
.watch-create-form .watch-form-actions{display:flex;align-items:center;justify-content:flex-start;gap:12px;margin-top:24px;min-height:47px}
.watch-create-form .watch-form-actions .button{min-height:47px;padding:12px 22px}
@media (max-width:1120px){.watch-create-form .watch-notify-options{grid-column:span 2}}
@media (max-width:760px){
  .watch-create-form .search-grid{row-gap:16px;column-gap:16px}
  .watch-create-form .watch-notify-options{grid-column:1/-1}
  .watch-create-form .watch-notify-controls{gap:10px}
  .watch-create-form .watch-notify-controls .check{flex:1 1 0;min-width:0;justify-content:center;padding:10px 8px}
  .watch-create-form .watch-form-actions{margin-top:20px}
  .watch-create-form .watch-form-actions .button{width:100%}
}
@media (max-width:360px){.watch-create-form .watch-notify-controls .check{font-size:12px;gap:6px!important;padding:10px 6px}}

/* v3.4.9 — single trip date-range picker (progressive HTML5 date fallback). */
.search-grid > .fw-trip-dates{grid-column:1/-1;position:relative;min-width:0;max-width:100%}
.fw-trip-date-fallback{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.fw-trip-date-fallback[hidden],.fw-trip-date-enhanced[hidden],.fw-trip-date-backdrop[hidden],.fw-trip-date-dialog[hidden],.fw-trip-date-validation[hidden]{display:none!important}
.fw-trip-date-fallback .fw-date-field{display:flex;flex-direction:column;gap:9px;min-width:0}
.fw-trip-date-fallback .fw-date-field > label{font-size:12px;font-weight:650;color:#5f6b82}
.fw-trip-dates input[type=hidden]{display:none!important}
.fw-trip-date-enhanced{min-width:0}
.fw-trip-date-label{display:flex;flex-wrap:wrap;align-items:center;gap:10px;font-size:12px;font-weight:700;color:#5f6b82;margin-bottom:9px}
.fw-trip-date-label span{font-weight:500;color:#8490a7}
.fw-trip-date-entry{display:flex;align-items:stretch;width:100%;min-width:0;border:1px solid #e3e8f0;border-radius:12px;background:#fafbfe;overflow:hidden}
.fw-trip-date-part{flex:1 1 0;min-width:0;min-height:62px;border:0;border-radius:0;padding:10px 15px;background:transparent;color:#8794aa;text-align:left;display:flex;flex-direction:column;gap:5px;align-items:flex-start;justify-content:center}
.fw-trip-date-part:hover{background:#edf2fd}
.fw-trip-date-part:focus-visible{outline:3px solid #7088e4;outline-offset:-3px}
.fw-trip-date-part-label{font-size:11px;letter-spacing:.03em;font-weight:650;color:#64728e}
.fw-trip-date-part strong{font-size:15px;line-height:1.35;font-weight:700;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fw-trip-date-part.fw-has-date strong{color:#2a385a}
.fw-trip-date-arrow{flex:0 0 20px;display:flex;align-items:center;justify-content:center;align-self:center;color:#8895aa;font-size:21px;pointer-events:none}
.fw-trip-date-validation{margin:8px 0 0;color:#b42318;font-size:12px;line-height:1.5}
.fw-trip-date-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.38);z-index:998}
.fw-trip-date-dialog{position:absolute;top:calc(100% + 10px);left:0;z-index:999;box-sizing:border-box;width:min(720px,100%);max-height:min(85vh,770px);overflow:auto;padding:20px;border-radius:19px;border:1px solid #e0e7f0;box-shadow:0 24px 70px rgba(29,41,72,.22);background:white;color:#273655;outline:none}
.fw-trip-date-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.fw-trip-date-dialog-head strong{font-size:17px;font-weight:800}
.fw-trip-date-dialog-head p{font-size:12px;line-height:1.5;color:#677693;margin:7px 0 0;min-height:18px}
.fw-trip-date-close{border:0;border-radius:9px;background:#f0f3f8;color:#586783;width:34px;height:34px;font-size:17px;flex-shrink:0}
.fw-trip-date-modes{display:inline-flex;gap:4px;background:#eff2f8;padding:4px;border-radius:11px;margin:17px 0 14px}
.fw-trip-date-modes button{border:0;background:transparent;border-radius:8px;padding:9px 20px;color:#687792;font-weight:700;font-size:13px}
.fw-trip-date-modes button[aria-pressed=true]{background:#293d84;color:white;box-shadow:0 2px 6px #0002}
.fw-trip-date-month-nav{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px;font-size:12px;color:#8190a5}
.fw-trip-date-month-nav button{width:38px;height:36px;border:1px solid #e4e8f1;border-radius:9px;background:#f8faff;font-size:24px;color:#354778;line-height:1}
.fw-trip-date-month-nav button:disabled{opacity:.3;cursor:not-allowed}
.fw-trip-date-calendars{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.fw-trip-date-month{min-width:0}
.fw-trip-date-month h4{text-align:center;margin:0 0 15px;font-size:14px;font-weight:800}
.fw-trip-date-weekdays,.fw-trip-date-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}
.fw-trip-date-weekdays span{text-align:center;font-size:11px;color:#9aa5b8;font-weight:600;padding:5px 0}
.fw-trip-date-days button,.fw-trip-date-empty{display:flex;align-items:center;justify-content:center;width:100%;min-width:0;min-height:38px;border:0;border-radius:8px;background:transparent;color:#2c3957;font-size:13px;font-variant-numeric:tabular-nums}
.fw-trip-date-days button:not(:disabled):hover{background:#eef2ff}
.fw-trip-date-days button:focus-visible{outline:2px solid #456bd4;outline-offset:1px}
.fw-trip-date-days button:disabled{color:#c7ccd6;cursor:not-allowed}
.fw-trip-date-days button.is-between{background:#e3ebfd;border-radius:0;color:#203a87}
.fw-trip-date-days button.is-start,.fw-trip-date-days button.is-end{background:#304da7;color:white;font-weight:800}
.fw-trip-date-days button.is-start:not(.is-end){border-radius:8px 2px 2px 8px}
.fw-trip-date-days button.is-end:not(.is-start){border-radius:2px 8px 8px 2px}
.fw-trip-date-dialog-foot{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #edf0f6;margin-top:18px;padding-top:16px;gap:12px}
.fw-trip-date-dialog-foot button{min-height:40px;padding:9px 17px;border-radius:10px;font-weight:700;font-size:13px}
.fw-trip-date-reset{border:1px solid #e0e6ef;background:white;color:#586987}
.fw-trip-date-done{border:0;background:#293d84;color:white}
.fw-trip-date-done:disabled{opacity:.45;cursor:not-allowed}
body.fw-trip-date-open{overflow:hidden}
@media (max-width:680px){
  .fw-trip-date-fallback{gap:10px}
  .fw-trip-date-entry{border-radius:11px}
  .fw-trip-date-part{min-height:62px;padding:10px 11px}
  .fw-trip-date-part strong{font-size:14px}
  .fw-trip-date-dialog{position:fixed;top:auto;bottom:0;left:0;right:0;width:100%;max-width:none;max-height:calc(95dvh - env(safe-area-inset-top));padding:21px 16px calc(18px + env(safe-area-inset-bottom));border-radius:22px 22px 0 0}
  .fw-trip-date-calendars{grid-template-columns:minmax(0,1fr)}
  .fw-trip-date-days button,.fw-trip-date-empty{min-height:43px;font-size:14px}
  .fw-trip-date-month-nav{margin-bottom:4px}
}
@media(max-width:360px){.fw-trip-date-part strong{font-size:12px}.fw-trip-date-part{padding:9px}.fw-trip-date-dialog{padding-left:12px;padding-right:12px}}
@media(prefers-reduced-motion:reduce){.fw-trip-date-dialog{scroll-behavior:auto}}
/* Keep the calendar centered on desktop even when its form is in a narrow grid. */
@media (min-width:681px){
  .fw-trip-date-dialog{position:fixed;top:50%;left:50%;width:min(720px,calc(100vw - 32px));max-height:calc(100dvh - 40px);transform:translate(-50%,-50%)}
}
.fw-trip-date-days button.is-start:not(:disabled):hover,.fw-trip-date-days button.is-end:not(:disabled):hover{background:#304da7;color:#fff}
@media(min-width:681px){body.fw-trip-date-open{overflow:auto}}

/* Native HTML date fallback stays visible and operable without JavaScript. */
.fw-trip-date-fallback label{display:flex;flex-direction:column;gap:9px;min-width:0;font-size:12px;font-weight:650;color:#5f6b82}
.search-grid .fw-trip-date-fallback input[type=date]{box-sizing:border-box;display:block;min-width:0;max-width:100%;width:100%;height:47px;background:#fafbfe;color:#303d63;font-size:16px}

/* Reserve the same calendar field height while JS enhances the native controls. */
.fw-trip-date-fallback,.fw-trip-date-enhanced{min-height:91px}
@media(max-width:360px){.fw-trip-date-fallback,.fw-trip-date-enhanced{min-height:105px}}

/* v3.4.11: personal preferences; controls never inherit large watch-form checkbox sizing. */
.profile-head{margin-bottom:18px}
.profile-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:16px;align-items:start}
.profile-panel{min-width:0;overflow-wrap:anywhere}
.profile-panel .tile-heading h2{font-size:17px;margin:0}
.profile-identity{display:flex;align-items:center;gap:14px;margin:18px 0}
.profile-avatar{width:48px;height:48px;flex:0 0 48px;border-radius:16px;background:#e9effc;color:#354f9b;display:grid;place-items:center;font-size:24px;font-weight:800}
.profile-identity>div:last-child{min-width:0;display:flex;flex-direction:column;gap:4px}
.profile-identity span,.profile-source-preview span,.profile-toggle-row small{font-size:12px;color:#6b7793}
.profile-beta{grid-row:span 2}
.profile-source-preview{display:flex;justify-content:space-between;align-items:center;gap:16px;border:1px solid #e7eaf1;border-radius:14px;background:#f7f9fd;padding:16px;margin:16px 0}
.profile-source-preview>div{display:flex;flex-direction:column;gap:5px;min-width:0}
.profile-source-preview small{font-size:12px;color:#7785a0}
.profile-source-preview strong{font-size:21px;line-height:1.2;color:#25365e;overflow-wrap:anywhere}
.profile-betasymbol{width:44px;height:44px;flex:0 0 44px;border-radius:14px;display:grid;place-items:center;background:#e1eafb;color:#3755b5;font-size:23px;font-weight:800}
.profile-beta-form{display:flex;flex-direction:column;align-items:stretch;gap:16px}
.profile-toggle-row{display:flex;align-items:center;justify-content:space-between;gap:14px;cursor:pointer}
.profile-toggle-row>span{display:flex;flex-direction:column;gap:5px;min-width:0;line-height:1.4}
.profile-toggle-row strong{font-size:14px}
.profile-toggle-row input[type=checkbox]{-webkit-appearance:none;appearance:none;width:46px;height:27px;flex:0 0 46px;border:1px solid #b8c3d9;border-radius:999px;background:#c7cede;position:relative;margin:0;cursor:pointer;transition:background .2s}
.profile-toggle-row input[type=checkbox]::after{content:'';position:absolute;top:3px;left:3px;width:19px;height:19px;border-radius:50%;background:white;box-shadow:0 1px 4px #0002;transition:transform .2s}
.profile-toggle-row input[type=checkbox]:checked{background:#3159b2;border-color:#3159b2}
.profile-toggle-row input[type=checkbox]:checked::after{transform:translateX(19px)}
.profile-toggle-row input[type=checkbox]:focus-visible{outline:3px solid #9ab4ff;outline-offset:3px}
.profile-warning{border:1px solid #e5d9ad;background:#fffaf0;border-radius:12px;padding:14px;font-size:13px;color:#62502a;line-height:1.7}
.profile-warning strong{color:#74551c}.profile-warning p{margin:4px 0 0}
.profile-unavailable{border-left:3px solid #bf7312;padding:9px 12px;background:#fff7e8;border-radius:7px;font-size:13px;line-height:1.5;margin:0}
.profile-beta-form>.button{align-self:flex-start;min-height:42px}
.profile-inline-note{border:1px solid #e4e9f4;border-radius:12px;background:#f5f8ff;padding:12px 16px;color:#53617e;font-size:13px;line-height:1.6;margin:12px 0 16px}
.profile-search-mode{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px}
.profile-search-mode span{flex:1 1 180px}

@media(max-width:880px){.profile-grid{grid-template-columns:minmax(0,1fr)}.profile-beta{grid-row:auto}}
@media(max-width:480px){.profile-panel .tile-heading{flex-wrap:wrap}.profile-source-preview{padding:12px}.profile-beta-form>.button{width:100%}.profile-toggle-row strong{font-size:13px}.profile-telegram .tg-personal-input-row{flex-wrap:wrap}.profile-telegram .tg-personal-input-row input{flex:1 1 180px;min-width:0}}
@media(prefers-reduced-motion:reduce){.profile-toggle-row input[type=checkbox],.profile-toggle-row input[type=checkbox]::after{transition:none}}

/* Reserve five primary actions in the small-screen bottom navigation. Release notes remain in the footer and desktop sidebar. */
@media(max-width:760px){.sidebar .nav-changelog{display:none}.mobile-actions{gap:5px}.mobile-quick-link{padding:8px 7px}}
@media(max-width:360px){.mobile-brand .brand{font-size:14px}.mobile-brand .brand-small{display:none}.mobile-quick-link{font-size:10px;padding:7px 5px}}
