/* TravelVault v1.5.3 · owner-only mobile reading and analytical clarity.
   Mobile styling only; no residence calculations or evidence content are changed. */
.tv-mobile-heading,.tv-text-control,.tv-jump-nav{display:none}
@media(max-width:900px){
 :root{--tv-readable:#d4e5ee;--tv-readable-soft:#abc7d4;--tv-focus:#7fefff}
 :root{font-size:16px;-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-padding-top:128px}
 body{font-size:16px;line-height:1.55;overflow-wrap:break-word}
 .app-shell,.main-column,.main{min-width:0;max-width:100%}
 .main{padding:22px 17px calc(118px + env(safe-area-inset-bottom,0px));}
 .topbar{height:65px;min-height:65px;padding:0 17px;gap:12px;position:relative}
 .topbar .breadcrumbs{display:none}
 .mobile-toggle{flex:none;border:1px solid #305568;border-radius:12px;background:#122a3b;color:#b7edf7;min-height:44px;min-width:44px;padding:9px}
 .mobile-toggle svg{width:21px;height:21px}
 .tv-mobile-heading{display:block;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#effcff;font-weight:750;font-size:15px;letter-spacing:-.02em}
 .tv-text-control{display:flex;flex:none;gap:6px;align-items:center;justify-content:center;min-height:44px;min-width:59px;border:1px solid #356c7a;background:#143145;border-radius:12px;color:#dbf8fd;font-size:17px;font-weight:850;padding:8px 10px}
 .tv-text-control small{font-size:11px;color:#b9dce6;font-weight:700}
 .tv-text-control[aria-pressed=true]{background:#226279;border-color:#7cebf2;box-shadow:0 0 0 2px #46cfe72c}
 .topbar-right{gap:0}
 .page-intro{margin:0 0 18px;gap:12px}
 .page-intro h1{font-size:clamp(26px,7.2vw,34px);line-height:1.17;letter-spacing:-.035em;margin:5px 0}
 .page-intro p{font-size:14px;line-height:1.65;color:var(--tv-readable-soft);margin:9px 0 0;max-width:70ch}
 .eyebrow,.nav-label,.exp-eyebrow{font-size:11px;letter-spacing:.1em;color:#9fc5d4}
 .intro-actions{width:100%}.intro-actions .btn{min-height:46px;width:100%}
 .btn,.btn.small{min-height:44px;padding:11px 15px;font-size:14px;line-height:1.3;white-space:normal;text-align:center}
 input,select,textarea,.search{font-size:16px!important;min-height:46px;line-height:1.4}
 label{font-size:14px;line-height:1.5;color:#d3e8f0}
 .panel,.intel-bento,.intel-wide,.exp-section{min-width:0;overflow-wrap:anywhere}
 .panel{padding:21px 17px;border-radius:17px;margin-bottom:12px}
 .panel-heading{gap:9px;margin-bottom:18px;flex-wrap:wrap}
 .panel-heading h3,.exp-section h3,.intel-selected h3{font-size:19px;line-height:1.3;letter-spacing:-.025em;color:#f0fbff}
 .panel-heading p,.exp-section-head p{font-size:14px;line-height:1.65;color:#b9d4df}
 .panel-chip{font-size:10px;white-space:normal;line-height:1.4;letter-spacing:.035em}
 .kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-bottom:15px}
 .kpi{min-height:152px;padding:18px 15px;border-radius:15px}
 .kpi-head{font-size:11px;letter-spacing:.025em;line-height:1.35;gap:7px}
 .kpi-head i{width:33px;height:33px;flex:none}
 .kpi-value{font-size:clamp(24px,7vw,33px);line-height:1.15;letter-spacing:-.04em;margin:16px 0 9px;font-variant-numeric:tabular-nums}
 .kpi p,.large-stat small{font-size:12px;line-height:1.55;color:var(--tv-readable-soft)}
 .two-col,.intel-section-grid{grid-template-columns:1fr;gap:12px}
 .hero{padding:25px 20px;min-height:0;border-radius:18px}
 .hero h2{font-size:clamp(27px,7.6vw,36px);line-height:1.2}
 .hero p,.intel-lead p{font-size:14px;line-height:1.65}
 .hero-buttons{flex-wrap:wrap}
 .toolbar,.toolbar-actions{min-width:0;display:flex;flex-direction:column;align-items:stretch;gap:10px}
 .toolbar{padding:14px 0;line-height:1.55;font-size:14px}
 .toolbar-actions input{width:100%;min-width:0}
 .toolbar-actions .btn{width:100%}
 .timeline-body strong,.doc-row strong,.status-row strong,.metric-line strong{font-size:15px;line-height:1.5}
 .timeline-body small,.doc-row small,.status-row small,.metric-line small,.method-line,.meta-line,.tiny-note{font-size:13px;line-height:1.65;color:var(--tv-readable-soft)}
 .timeline-item{align-items:flex-start;gap:14px}
 .status-row,.metric-line,.method-line,.meta-line{gap:10px;flex-wrap:wrap}
 .status-row>*{min-width:0}
 .notice-legal,.attention-item,.secure-confirm{font-size:14px;line-height:1.7}
 .notice-legal p,.attention-item span,.secure-confirm p{font-size:14px;line-height:1.7}
 .form-grid{grid-template-columns:1fr;gap:17px}
 .form-grid label,.intel-simform label{min-width:0}
 .form-panel .form-actions .btn{width:100%}
 .doc-list,.doc-row{min-width:0}.doc-row{padding:14px 8px;gap:10px;flex-wrap:wrap}.doc-row a{overflow-wrap:anywhere}
 .tv-device-row b{font-size:15px}.tv-device-row small,.tv-security-foot{font-size:13px;line-height:1.6}
 .tv-flight-card{padding:17px 15px;border-radius:16px}
 .tv-flight-card-top strong{font-size:16px}.tv-flight-card-top span{font-size:12px}
 .tv-flight-route strong{font-size:clamp(25px,8vw,33px)}
 .tv-flight-route small,.tv-flight-extra,.tv-flight-footer{font-size:13px;line-height:1.5}
 .exp-country-note,.exp-method,.exp-year-note,.exp-section-head p,.exp-trip-content p{font-size:14px;line-height:1.65}
 .exp-trip-date,.exp-trip-status,.exp-reference{font-size:12px}
 .exp-doc-link,.exp-muted-link{font-size:14px;min-height:42px;display:inline-flex;align-items:center;gap:6px}
 .intel-disclaimer,.intel-sources p,.intel-details,.intel-state{font-size:14px;line-height:1.7}
 .intel-table{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;border-radius:12px;position:relative}
 .intel-table table{min-width:530px;font-size:13px;font-variant-numeric:tabular-nums;line-height:1.5}
 .intel-table td,.intel-table th{padding:12px 13px;white-space:normal}
 .intel-table::after{content:'Swipe sideways for all columns ↔';display:block;font-size:11px;color:#a4cbd8;padding:9px 11px;background:#102839}
 .intel-days{max-width:100%;overflow-x:auto}
 .intel-month{min-width:0}
 .intel-month b,.intel-selected h3{font-size:15px}
 .intel-day,.intel-monthbar{min-width:0}
 .intel-legend{gap:9px;flex-wrap:wrap;font-size:12px}
 .intel-simform{grid-template-columns:1fr;gap:13px}
 .intel-simform .btn{width:100%}
 .intel-simresult{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .intel-simresult strong{font-size:22px;overflow-wrap:anywhere}
 .intel-headtags,.intel-focus{flex-wrap:wrap}
 .exp-map-controls button,.exp-country,.tv-flight-focus{min-height:44px}
 .mobile-bottom-nav a{font-size:11px;line-height:1.2;min-height:58px;gap:5px}
 .mobile-bottom-nav a svg{width:22px;height:22px}
 .mobile-bottom-nav{padding:8px 5px calc(8px + env(safe-area-inset-bottom,0px))}
 .app-footer{font-size:11px;line-height:1.6;color:#a0b8c7}
 .tv-jump-nav{display:block;overflow:hidden;margin:0 0 17px;padding:14px;border:1px solid #294f64;border-radius:15px;background:#0c2334;box-shadow:inset 0 1px #ffffff0c}
 .tv-jump-heading{font-size:11px;letter-spacing:.09em;color:#a4dce8;font-weight:800;text-transform:uppercase;display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}
 .tv-jump-heading small{font-size:11px;font-weight:600;color:#a2c1cc;letter-spacing:0;text-transform:none}
 .tv-jump-links{display:flex;gap:8px;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#46879b transparent;padding:0 1px 6px;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
 .tv-jump-links a{flex:none;display:inline-flex;align-items:center;min-height:43px;border-radius:11px;background:#153b50;border:1px solid #38677b;padding:8px 13px;color:#d8f5fb;font-size:13px;font-weight:700;line-height:1.3;max-width:220px}
 .tv-jump-links a:active{background:#236e83}
 .tv-mobile-cards.table-scroll{overflow:visible;max-width:100%}
 .tv-mobile-cards table.data-table,.tv-mobile-cards table.data-table tbody{display:block;width:100%;min-width:0!important}
 .tv-mobile-cards table.data-table thead{position:absolute;clip:rect(0,0,0,0);clip-path:inset(50%);height:1px;width:1px;overflow:hidden;white-space:nowrap}
 .tv-mobile-cards table.data-table tr{display:block;margin:0 0 12px;padding:12px 15px;background:linear-gradient(155deg,#132d40,#0d2333);border:1px solid #2d5368;border-radius:15px;box-shadow:0 7px 25px #0002}
 .tv-mobile-cards table.data-table td{display:flex;justify-content:space-between;align-items:baseline;gap:12px;border:0;border-bottom:1px solid #234358;background:transparent!important;min-width:0;width:100%;padding:12px 0;text-align:right;font-size:14px;color:#effcff;overflow-wrap:anywhere;line-height:1.55}
 .tv-mobile-cards table.data-table td:last-child{border-bottom:0}
 .tv-mobile-cards table.data-table td::before{content:attr(data-tv-label);font-size:12px;font-weight:750;color:#a5c7d5;max-width:45%;flex:0 0 45%;text-align:left;line-height:1.5}
 .tv-mobile-cards table.data-table td>*{max-width:100%}
 .tv-mobile-cards table.data-table td a,.tv-mobile-cards table.data-table td button{min-height:38px}
 .tv-mobile-cards table.data-table td:has(.chip){align-items:center}
 .tv-mobile-cards table.data-table td[data-tv-label="Actions"]{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}
 .tv-mobile-cards table.data-table td[data-tv-label="Actions"]::before{display:none}
 a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--tv-focus);outline-offset:3px}
}
@media(max-width:390px){
 .main{padding-left:13px;padding-right:13px}
 .kpi-grid{gap:9px}.kpi{padding:15px 12px;min-height:160px}.kpi-head{font-size:10.5px}.kpi-value{font-size:26px}
 .tv-jump-links a{font-size:12px}.page-intro h1{font-size:27px}
}
@media(max-width:900px){
 html[data-tv-text-size="large"]{font-size:18px}
 html[data-tv-text-size="large"] .main,html[data-tv-text-size="large"] .panel{line-height:1.65}
 html[data-tv-text-size="large"] .page-intro p,html[data-tv-text-size="large"] .panel p,html[data-tv-text-size="large"] .timeline-body small,html[data-tv-text-size="large"] .doc-row small,html[data-tv-text-size="large"] .tiny-note,html[data-tv-text-size="large"] .intel-disclaimer,html[data-tv-text-size="large"] .exp-section-head p{font-size:16px!important}
 html[data-tv-text-size="large"] .kpi-head,html[data-tv-text-size="large"] .kpi p{font-size:14px!important}
 html[data-tv-text-size="large"] .kpi-grid{grid-template-columns:1fr}
 html[data-tv-text-size="large"] .kpi{min-height:130px;padding:19px}
 html[data-tv-text-size="large"] .kpi-value{font-size:34px}
 html[data-tv-text-size="large"] .tv-jump-links a{font-size:15px}
 html[data-tv-text-size="large"] .tv-mobile-cards td{font-size:16px!important}
 html[data-tv-text-size="large"] .tv-mobile-cards td::before{font-size:14px!important}
}
@media(prefers-reduced-motion:reduce){.tv-jump-links{scroll-behavior:auto!important}}
