/* v1.13.85 - phone-first application UI. Desktop layout is untouched. */
.mobile-page-heading,.mobile-header-tools,.mobile-bottom-nav,.mobile-menu-settings,
.mobile-sheet,.mobile-filter-trigger,.mobile-filter-sheet,.mobile-result-list,
.mobile-meeting-list,.mobile-agenda-list,.mobile-calendar-view,.mobile-kpi-toggle,
.mobile-row-toggle,.mobile-row-controls,.mobile-home{display:none}
.mobile-cell-value{display:contents}

@media(max-width:900px){
  :root{--mobile-v2-header:62px;--mobile-v2-nav:70px;--mobile-v2-pad:12px}
  html,body{max-width:100%;overflow-x:hidden}
  body{padding-bottom:calc(var(--mobile-v2-nav) + env(safe-area-inset-bottom));background:#f2f5f7}
  #app{min-height:100dvh;padding-bottom:0}
  #app>header{position:sticky;top:0;z-index:60;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;min-height:var(--mobile-v2-header);padding:8px 12px!important;gap:10px;border-bottom:1px solid #244d70;background:linear-gradient(115deg,#0d3c63,#15577d);box-shadow:0 5px 16px #102a4230}
  #app>header>.mobile-menu-button,#app>header>.brand,#app>header>.header-actions{display:none!important}
  .mobile-page-heading{display:grid;min-width:0;align-content:center;gap:1px}
  .mobile-page-heading small{color:#b9d3e5;font-size:11px;font-weight:750;letter-spacing:.04em}
  .mobile-page-heading strong{overflow:hidden;color:#f7fbff;font-size:19px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}
  .mobile-header-tools{display:flex;align-items:center;gap:6px}
  .mobile-header-tools button{position:relative;display:flex;align-items:center;gap:5px;min-width:42px;height:42px;padding:0 10px;border:1px solid #ffffff4d;border-radius:12px;background:#ffffff12;color:#f7fbff;box-shadow:none}
  .mobile-header-tools button:first-child{min-width:82px}
  .mobile-header-tools #mobileHeaderLogout{min-width:66px;padding:0 7px}
  .mobile-header-tools #mobileHeaderLogout b{font-size:9px}
  .mobile-header-tools span{font-size:15px}.mobile-header-tools b{font-size:12px;color:inherit}
  .mobile-header-tools i{position:absolute;top:5px;right:5px;display:grid;place-items:center;min-width:17px;height:17px;padding:0 4px;border:2px solid #15577d;border-radius:999px;background:#ef3f50;color:#fff;font-size:9px;font-style:normal;font-weight:900}
  #panel{min-height:calc(100dvh - var(--mobile-v2-header));padding:0}
  #panel>.panel{padding:12px 12px calc(22px + var(--mobile-v2-nav) + env(safe-area-inset-bottom))!important}
  .panel h2{font-size:20px;line-height:1.28}.panel h3{font-size:16px;line-height:1.35}
  .panel>.hint,.panel>p.hint{margin-top:5px;font-size:12px;line-height:1.5}

  /* Thumb-reachable primary navigation */
  .mobile-bottom-nav{position:fixed;inset:auto 0 0;z-index:65;display:grid;grid-template-columns:repeat(5,1fr);height:calc(var(--mobile-v2-nav) + env(safe-area-inset-bottom));padding:5px max(7px,env(safe-area-inset-right)) env(safe-area-inset-bottom) max(7px,env(safe-area-inset-left));border-top:1px solid #cdd8e1;background:#fbfcfd;box-shadow:0 -7px 24px #18324a1f}
  .mobile-bottom-nav button{position:relative;display:grid;place-items:center;align-content:center;gap:2px;min-width:0;min-height:58px;padding:4px 2px;border:0;border-radius:12px;background:transparent;color:#657585;box-shadow:none}
  .mobile-bottom-nav button span{display:grid;place-items:center;width:28px;height:27px;border-radius:9px;font-size:20px;font-weight:800;line-height:1}
  .mobile-bottom-nav button b{overflow:hidden;max-width:100%;color:inherit;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
  .mobile-bottom-nav button.active{background:#e7f2fb;color:#12639b}
  .mobile-bottom-nav button.active span{background:#176fa7;color:#fff;box-shadow:0 3px 8px #176fa74d}

  /* Full mobile menu */
  #tabs{position:fixed!important;inset:7dvh 0 0!important;z-index:82!important;display:block!important;width:100%!important;max-width:none!important;padding:0 14px calc(24px + env(safe-area-inset-bottom))!important;border:1px solid #cad5df;border-width:1px 0 0;border-radius:24px 24px 0 0;background:#f7f9fb!important;box-shadow:0 -14px 42px #07152255!important;transform:translateY(105%)!important;transition:transform .22s ease!important}
  .mobile-nav-open #tabs{transform:translateY(0)!important}
  .mobile-nav-head{position:sticky!important;top:0!important;z-index:3!important;display:flex!important;align-items:center!important;justify-content:space-between!important;margin:0 -14px 14px!important;padding:17px 18px 14px!important;border-radius:24px 24px 0 0;background:linear-gradient(120deg,#103f65,#17658f)!important;color:#fff!important}
  .mobile-nav-head>div{display:grid;gap:2px}.mobile-nav-head small{color:#bcd8e8;font-size:10px;letter-spacing:.04em}.mobile-nav-head b{font-size:20px}.mobile-nav-head span{color:#d7e8f2;font-size:11px}
  .mobile-nav-head button{width:42px!important;height:42px!important;padding:0!important;border:1px solid #ffffff57!important;border-radius:12px!important;background:#ffffff12!important;color:#fff!important;font-size:27px!important}
  #tabs .tab-main,#tabs .tab-admin{display:grid!important;grid-template-columns:1fr 1fr;gap:7px!important;margin:0!important}
  #tabs .tab-admin{margin-top:16px!important;padding-top:16px!important;border-top:1px solid #d4dfe7!important}
  #tabs button[data-tab]{display:flex!important;align-items:center;justify-content:flex-start;width:100%!important;min-height:48px!important;padding:10px 12px!important;border:1px solid #d6e0e8!important;border-radius:12px!important;background:#fff!important;color:#263d51!important;font-size:13px!important;font-weight:800!important;text-align:left!important}
  #tabs button[hidden]{display:none!important}
  #tabs button[data-tab].active{border-color:#5596c2!important;background:#e7f2fb!important;color:#125d91!important;box-shadow:inset 3px 0 0 #1672aa!important}
  .mobile-menu-settings{display:grid;gap:10px;margin-top:16px;padding:14px;border:1px solid #d4dfe7;border-radius:16px;background:#fff}
  .mobile-menu-settings label{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;color:#324b60;font-size:12px;font-weight:800}.mobile-menu-settings select{min-width:0;height:42px}
  .mobile-menu-settings>div{display:grid;grid-template-columns:1fr repeat(3,48px);align-items:center;gap:5px}.mobile-menu-settings>div span{color:#324b60;font-size:12px;font-weight:800}.mobile-menu-settings>div button{min-width:0;height:40px;padding:0}
  .mobile-menu-settings>#mobileLogoutButton{width:100%;min-height:44px;border-color:#e2a8ad;background:#fff4f5;color:#ad2834}
  .mobile-nav-backdrop{position:fixed!important;inset:0!important;z-index:78!important;background:#06131db8!important;backdrop-filter:none!important}
  .mobile-nav-open body,.mobile-sheet-open body{overflow:hidden}

  /* Month and filter bottom sheets */
  .mobile-sheet:not([hidden]),.mobile-filter-sheet:not([hidden]){position:fixed;inset:0;z-index:100;display:grid;align-items:end}
  .mobile-sheet-backdrop,.mobile-filter-backdrop{position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;border-radius:0;background:#06131db8;box-shadow:none}
  .mobile-sheet-panel,.mobile-filter-panel{position:relative;z-index:1;display:grid;gap:14px;max-height:min(86dvh,720px);padding:0 16px calc(16px + env(safe-area-inset-bottom));overflow:auto;border:1px solid #cad6df;border-width:1px 0 0;border-radius:24px 24px 0 0;background:#fff;box-shadow:0 -15px 45px #06131d55}
  .mobile-sheet-panel>header,.mobile-filter-panel>header{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;min-height:70px;margin:0 -16px;padding:12px 16px;border-bottom:1px solid #e0e7ed;background:#fff}
  .mobile-sheet-panel>header div,.mobile-filter-panel>header div{display:grid;gap:1px}.mobile-sheet-panel>header small,.mobile-filter-panel>header small{color:#6a7b89;font-size:10px;font-weight:800}.mobile-sheet-panel>header h2,.mobile-filter-panel>header h2{margin:0;font-size:19px}.mobile-sheet-panel>header button,.mobile-filter-panel>header button{width:42px;height:42px;padding:0;border-radius:12px;font-size:25px}
  .mobile-month-field{display:grid;gap:8px;font-weight:800}.mobile-month-field input{width:100%;height:52px;padding:8px 12px;font-size:17px}
  .mobile-sheet-actions,.mobile-filter-actions{position:sticky;bottom:calc(-16px - env(safe-area-inset-bottom));display:grid;grid-template-columns:1fr 1.4fr;gap:8px;margin:2px -16px calc(-16px - env(safe-area-inset-bottom));padding:12px 16px calc(12px + env(safe-area-inset-bottom));border-top:1px solid #dce5eb;background:#fff}
  .mobile-sheet-actions button,.mobile-filter-actions button{min-height:48px}
  .mobile-filter-trigger{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:48px;margin:0 0 10px;padding:9px 12px;border:1px solid #c7d6e1;border-radius:13px;background:#fff;color:#24445d;box-shadow:0 2px 9px #17344d12}
  .mobile-filter-trigger>span{display:grid;gap:2px;text-align:left}.mobile-filter-trigger b{color:inherit;font-size:13px}.mobile-filter-trigger small{overflow:hidden;max-width:68vw;color:#647786;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.mobile-filter-trigger>i{font-style:normal;font-size:18px}
  .mobile-filter-body>.toolbar,.mobile-filter-body>.support-toolbar{display:grid!important;grid-template-columns:1fr!important;gap:9px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
  .mobile-filter-body .period-presets{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;padding:8px}.mobile-filter-body .period-presets span{grid-column:1/-1}
  .mobile-filter-body :is(input,select,button,label,.margin-custom){width:100%;min-width:0;max-width:none;min-height:46px}
  .mobile-filter-body label{display:grid;gap:5px}.mobile-filter-body .hint{font-size:11px}

  /* Compact period selector */
  .menu-period{position:static!important;display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;gap:6px 10px!important;margin:0 0 10px!important;padding:10px 12px!important;border:1px solid #c9d8e3!important;border-radius:13px!important;background:#eef5fa!important;box-shadow:none!important}
  .menu-period label,.menu-period input{width:100%!important}.menu-period span{grid-column:1/-1;font-size:10px!important}

  /* A true phone home screen: greeting, four KPIs, tasks and people. */
  .mobile-home{display:grid;gap:13px;margin:-12px -12px 0;padding:0 12px 18px}
  .mobile-home>header{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:0 -12px;padding:19px 15px 22px;border-radius:0 0 24px 24px;background:linear-gradient(125deg,#0e426b,#1674a4 72%,#248bb2);color:#fff;box-shadow:0 8px 22px #143e5d30}
  .mobile-home>header>div{display:grid;min-width:0;gap:3px}.mobile-home>header small{color:#c5e0ee;font-size:10px;font-weight:800}.mobile-home>header h2{margin:0;color:#fff;font-size:20px}.mobile-home>header p{margin:2px 0 0;color:#dcecf5;font-size:11px}
  .mobile-home>header>button{flex:0 0 auto;min-height:39px;padding:7px 10px;border:1px solid #ffffff52;background:#ffffff16;color:#fff;font-size:10px;box-shadow:none}
  .mobile-home-kpis{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:-5px}
  .mobile-home-kpis>div{display:grid;gap:5px;min-width:0;min-height:79px;padding:12px;border:1px solid #cad8e2;border-radius:15px;background:#fff;box-shadow:0 4px 14px #16354d15}
  .mobile-home-kpis span{color:#6c7d8a;font-size:10px;font-weight:800}.mobile-home-kpis b{overflow:hidden;color:#183b56;font-size:16px;text-overflow:ellipsis;white-space:nowrap}
  .mobile-home-section{display:grid;gap:8px}.mobile-home-section-title{display:flex;align-items:center;justify-content:space-between;gap:8px}.mobile-home-section-title h3{margin:0}.mobile-home-section-title small{color:#71828f;font-size:10px}.mobile-home-section-title button{min-height:34px;padding:5px 8px;border:0;background:transparent;color:#176b9f;font-size:10px;box-shadow:none}
  .mobile-home-actions{display:grid;gap:7px}.mobile-home-action{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:66px;padding:10px 12px;border:1px solid #ccd9e2;border-radius:14px;background:#fff;color:#244055;text-align:left;box-shadow:0 3px 11px #17344d11}.mobile-home-action>span{display:grid;min-width:0;gap:3px}.mobile-home-action b{font-size:13px}.mobile-home-action small{overflow:hidden;color:#71828f;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.mobile-home-action strong{flex:0 0 auto;color:#1b628f;font-size:13px}.mobile-home-action>i{color:#748693;font-size:20px;font-style:normal}.mobile-home-action.attention{border-color:#e3c17f;background:#fffaf0}.mobile-home-action.attention strong{color:#b45f0a}
  .mobile-home-people{display:grid;gap:1px;overflow:hidden;border:1px solid #ccd9e2;border-radius:15px;background:#d9e2e8}.mobile-home-person{display:grid;grid-template-columns:27px minmax(0,1fr) auto;align-items:center;gap:9px;min-height:59px;padding:8px 11px;background:#fff}.mobile-home-person>span{display:grid;place-items:center;width:25px;height:25px;border-radius:8px;background:#e9f3fa;color:#176a9d;font-size:10px;font-weight:900}.mobile-home-person>div{display:grid;min-width:0;gap:2px}.mobile-home-person b,.mobile-home-person small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-home-person b{color:#254156;font-size:12px}.mobile-home-person small{color:#72828f;font-size:9px}.mobile-home-person strong{color:#184a6d;font-size:12px;white-space:nowrap}.mobile-home-empty{margin:0;padding:24px 12px;border:1px dashed #bdcbd5;border-radius:13px;color:#71828f;text-align:center}

  /* Dense at-a-glance summaries */
  .ceo-heading{display:grid;gap:4px}.ceo-heading .ceo-private{justify-self:start}.ceo-heading h2{font-size:22px}.ceo-heading p{font-size:12px}
  .ceo-kpis,.result-cards,.support-cards,.meeting-summary-cards,.meeting-kpis{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin:12px 0 16px!important}
  :is(.ceo-kpi,.result-card,.support-card,.meeting-summary-cards>div,.meeting-kpis>div){display:grid!important;align-content:center;gap:3px;min-width:0!important;min-height:78px!important;padding:11px 12px!important;border-radius:13px!important;box-shadow:0 3px 12px #17344d12!important}
  :is(.ceo-kpi,.result-card,.support-card,.meeting-summary-cards>div,.meeting-kpis>div) :is(span,small){overflow:hidden;margin:0!important;font-size:10px!important;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}
  :is(.ceo-kpi,.result-card,.support-card,.meeting-summary-cards>div,.meeting-kpis>div) :is(b,strong){overflow:hidden;margin:2px 0!important;font-size:17px!important;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}
  .result-card.primary{grid-column:1/-1;min-height:90px!important}.result-card.primary strong{font-size:22px!important}
  .mobile-kpi-extra{display:none!important}.mobile-kpi-expanded .mobile-kpi-extra{display:grid!important}
  .mobile-kpi-toggle{display:flex;align-items:center;justify-content:center;width:100%;min-height:42px;margin:-6px 0 16px;border:1px solid #cbd8e2;border-radius:12px;background:#fff;color:#36536b;font-size:12px;font-weight:800}
  .briefing-insights{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;padding:13px!important}.briefing-insight-grid{grid-template-columns:1fr!important}.briefing-insight{padding:10px!important}
  .briefing-comparison,.ceo-columns{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}.briefing-comparison>section,.ceo-columns>section{padding:13px!important;border-radius:14px!important}
  .ceo-card-button{min-height:56px;padding:9px 3px!important}.ceo-card-button span{min-width:0}.ceo-card-button b,.ceo-card-button small{overflow:hidden;max-width:100%;text-overflow:ellipsis;white-space:nowrap}.ceo-inline{margin:4px -4px 8px!important;padding:8px!important}

  /* Purpose-built mobile person summaries */
  .mobile-result-list,.mobile-meeting-list{display:grid;gap:9px;margin:14px 0 18px}
  .mobile-result-list>header,.mobile-meeting-list>header{display:flex;align-items:end;justify-content:space-between;gap:10px}.mobile-result-list>header h3,.mobile-meeting-list>header h3{margin:0}.mobile-result-list>header small,.mobile-meeting-list>header small{color:#657887;font-size:10px}
  .mobile-person-card{display:grid;gap:10px;padding:13px;border:1px solid #cad7e1;border-radius:15px;background:#fff;box-shadow:0 3px 12px #17344d12}
  .mobile-person-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.mobile-person-head>div{display:grid;min-width:0;gap:2px}.mobile-person-head b{overflow:hidden;color:#1c3850;font-size:15px;text-overflow:ellipsis;white-space:nowrap}.mobile-person-head small{color:#718391;font-size:10px}.mobile-person-head button{min-height:36px;padding:6px 10px;font-size:11px}
  .mobile-person-metrics{display:grid;grid-template-columns:1fr 1fr;gap:1px;overflow:hidden;border:1px solid #dae3ea;border-radius:11px;background:#dae3ea}
  .mobile-person-metrics span{display:grid;gap:2px;min-width:0;padding:8px 9px;background:#f7f9fb;color:#657887;font-size:9px}.mobile-person-metrics b{overflow:hidden;color:#1e3b52;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.mobile-person-alert{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:2px;color:#6b7d8a;font-size:10px}.mobile-person-alert .bad{font-weight:800}
  .mobile-meeting-progress{display:grid;grid-template-columns:1fr 1fr;gap:6px}.mobile-meeting-progress span{display:flex;justify-content:space-between;gap:5px;padding:7px 8px;border-radius:9px;background:#eef4f7;color:#657987;font-size:9px}.mobile-meeting-progress b{color:#244259;font-size:10px}.mobile-meeting-action{display:flex;justify-content:flex-end}.mobile-meeting-action button{min-height:38px;padding:6px 11px;font-size:10px}.mobile-meeting-action .meeting-missing{color:#788894;font-size:10px}
  .result-collapsible,.meeting-person-section{display:none!important}
  .incentive-annual-detail{margin:12px 0!important;padding:13px!important}.detail-summary{display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px!important}.detail-summary span{min-width:0;padding:8px!important;font-size:10px}.detail-heading{align-items:flex-start!important}.detail-close{min-height:40px}

  /* Mobile data list: show the important fields first, reveal the rest on demand. */
  .tablebox{max-height:none!important;overflow:visible!important;border:0!important;background:transparent!important;box-shadow:none!important}
  .tablebox table{display:block!important;min-width:0!important;background:transparent!important}.tablebox thead{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important}
  .tablebox tbody{display:grid!important;gap:9px!important}.tablebox tr{position:relative;display:grid!important;grid-template-columns:minmax(0,1fr)!important;padding:12px 13px!important;border:1px solid #cad7e1!important;border-radius:15px!important;background:#fff!important;box-shadow:0 3px 12px #17344d12!important}
  .tablebox td{display:grid!important;grid-template-columns:minmax(92px,35%) minmax(0,1fr)!important;align-items:start!important;gap:9px!important;width:auto!important;min-width:0!important;padding:6px 0!important;border:0!important;border-bottom:1px solid #e4e9ed!important;background:transparent!important;color:#223c51!important;font-size:12px!important;line-height:1.4!important;white-space:normal!important;text-align:right!important}
  .tablebox td::before{content:attr(data-label);color:#71818e;font-size:10px;font-weight:800;text-align:left}.tablebox td:last-child{border-bottom:0!important}.tablebox td[colspan]{grid-template-columns:minmax(92px,35%) minmax(0,1fr)!important}
  .tablebox .mobile-cell-value{display:flex;align-items:flex-start;justify-content:flex-end;gap:6px;min-width:0;max-width:100%;overflow-wrap:anywhere;text-align:right;flex-wrap:wrap}
  .tablebox .mobile-cell-value>:is(input,select,textarea){width:100%!important;min-width:0!important;max-width:100%!important}.tablebox .mobile-cell-value>:is(b,strong,span,a){max-width:100%;overflow-wrap:anywhere}.tablebox .mobile-cell-value>.sales-actions{width:100%}
  .tablebox tr.summary{border:2px solid #6e9fc1!important;background:#edf6fc!important}.tablebox tr.summary td{font-weight:800!important}.tablebox tr.mobile-expanded{border-color:#83aec9!important;box-shadow:0 6px 18px #17344d20!important}
  .tablebox td.mobile-primary{order:10}.tablebox td.mobile-secondary{order:30;display:none!important}.tablebox tr.mobile-expanded td.mobile-secondary{display:grid!important}.tablebox td.mobile-action-cell{order:40}
  .tablebox td.mobile-row-controls{order:20;display:block!important;padding:8px 0!important;border:0!important}.tablebox td.mobile-row-controls::before{content:none!important}
  .mobile-row-toggle{position:static;display:grid!important;grid-template-columns:auto auto 1fr;align-items:center;justify-content:start;gap:6px;width:100%;min-height:40px;margin:0;padding:7px 10px;border:1px solid #c8d6e0;border-radius:10px;background:#f0f5f8;color:#36566d;font-size:11px;font-weight:800;text-align:left;vertical-align:middle}.mobile-row-toggle small{color:#718492;font-size:9px;font-weight:700}.mobile-row-toggle i{justify-self:end;font-size:14px;font-style:normal}.mobile-expanded .mobile-row-toggle{border-color:#80aeca;background:#e8f3fa;color:#155f8e}
  .tablebox td.mobile-action-cell[data-label=""]{grid-template-columns:1fr!important}.tablebox td.mobile-action-cell[data-label=""]::before{content:none!important}.tablebox td.mobile-action-cell .mobile-cell-value{width:100%;justify-content:stretch}.tablebox td.mobile-action-cell .mobile-cell-value>button{width:100%!important;min-height:42px}
  .tablebox tr:has(.sales-actions) td:first-child{color:#213e54!important;font-weight:800}.sales-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px!important;min-width:0!important}.sales-actions>*{width:100%!important;min-width:0!important;min-height:40px!important;padding:6px!important;font-size:10px!important}.sales-actions select{grid-column:1/-1!important}
  #panel .sales-data-table th:last-child,#panel .sales-data-table td:last-child{position:static!important;border-left:0!important;background:transparent!important;box-shadow:none!important}
  .pager{position:sticky;bottom:calc(var(--mobile-v2-nav) + env(safe-area-inset-bottom) + 5px);z-index:25;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;margin:12px 0;padding:7px;border:1px solid #cbd8e2;border-radius:14px;background:#fffffff2;box-shadow:0 5px 20px #17344d24}.pager button{min-width:0;min-height:42px}.pager span{font-size:10px;white-space:nowrap}

  /* Comparison tables remain compact horizontal matrices on explicit comparison sections. */
  .meeting-report-summary,.cost-type-summary .tablebox,.briefing-comparison .tablebox,.meeting-type-summary .tablebox{overflow-x:auto!important;border:1px solid #b9cbd8!important;border-radius:12px!important;background:#fff!important;box-shadow:none!important}
  .meeting-report-summary table,.cost-type-summary .tablebox table,.briefing-comparison .tablebox table,.meeting-type-summary .tablebox table{display:table!important;min-width:680px!important}
  .meeting-report-summary thead,.cost-type-summary .tablebox thead,.briefing-comparison .tablebox thead,.meeting-type-summary .tablebox thead{position:static!important;display:table-header-group!important;width:auto!important;height:auto!important;overflow:visible!important;clip:auto!important;white-space:normal!important}
  .meeting-report-summary tbody,.cost-type-summary .tablebox tbody,.briefing-comparison .tablebox tbody,.meeting-type-summary .tablebox tbody{display:table-row-group!important}
  .meeting-report-summary tr,.cost-type-summary .tablebox tr,.briefing-comparison .tablebox tr,.meeting-type-summary .tablebox tr{display:table-row!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important}
  .meeting-report-summary th,.meeting-report-summary td,.cost-type-summary .tablebox th,.cost-type-summary .tablebox td,.briefing-comparison .tablebox th,.briefing-comparison .tablebox td,.meeting-type-summary .tablebox th,.meeting-type-summary .tablebox td{display:table-cell!important;width:auto!important;min-width:92px!important;padding:8px!important;border-right:1px solid #d3dde5!important;border-bottom:1px solid #d3dde5!important;white-space:nowrap!important;text-align:right!important}
  .meeting-report-summary td::before,.cost-type-summary .tablebox td::before,.briefing-comparison .tablebox td::before,.meeting-type-summary .tablebox td::before{content:none!important}

  /* Mobile sales-support opens as an agenda; month grid is an optional view. */
  .support-home-head{position:sticky;top:var(--mobile-v2-header);z-index:35;margin:-12px -12px 11px!important;padding:7px 10px!important;border-width:0 0 1px!important;border-radius:0!important;background:#f8fafb!important;box-shadow:0 3px 10px #17344d12!important}.support-home-head>div:first-child{display:none}.support-home-tabs{display:flex!important;width:100%!important;margin:0!important;padding:3px!important;overflow-x:auto!important}.support-home-tabs button{flex:1 0 auto;min-width:76px!important;min-height:38px!important;padding:6px 8px!important;font-size:11px!important}
  .support-calendar-section{padding:12px!important}.support-calendar-heading{display:grid!important;gap:9px!important}.support-calendar-heading h2{margin:0;font-size:17px!important}.support-calendar-heading p{margin:3px 0 0;font-size:10px!important}.mobile-calendar-view{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;border:1px solid #ccd9e2;border-radius:11px;background:#edf2f5}.mobile-calendar-view button{min-height:38px;padding:5px;border:0;background:transparent;font-size:11px}.mobile-calendar-view button.active{background:#176fa7;color:#fff}
  .mobile-agenda-list{display:grid;gap:7px;margin:4px 0 12px}.mobile-agenda-item{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;min-height:64px;padding:8px 10px;border:1px solid #cfdae3;border-radius:13px;background:#fff;color:#263f53;text-align:left}.mobile-agenda-item>time{display:grid;place-items:center;align-content:center;width:43px;height:47px;border-radius:11px;background:#e8f2f9;color:#176796}.mobile-agenda-item>time b{font-size:18px}.mobile-agenda-item>time small{font-size:9px}.mobile-agenda-item>span{display:grid;min-width:0;gap:2px}.mobile-agenda-item>span b,.mobile-agenda-item>span small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-agenda-item>span b{font-size:12px}.mobile-agenda-item>span small{color:#71818d;font-size:10px}.mobile-agenda-item>i{color:#70808c;font-style:normal}.mobile-agenda-empty{padding:28px 12px;border:1px dashed #bdcad4;border-radius:13px;color:#6e7f8c;text-align:center}
  .mobile-agenda-item.selected{border-color:#4b95c5;background:#edf7fd;box-shadow:inset 3px 0 0 #1773aa}.mobile-agenda-item.selected>time{background:#1873aa;color:#fff}
  .support-calendar-section[data-mobile-view="agenda"] .support-calendar{display:none}.support-calendar-section[data-mobile-view="calendar"] .mobile-agenda-list{display:none}
  .support-planner{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}.support-calendar{min-width:0!important;padding:6px!important}.calendar-day{min-height:62px!important;padding:3px 1px!important}.calendar-day :is(b,small,.notice-chip,.holiday-name){font-size:8px!important}
  .support-day-editor{padding:12px!important}.support-day-editor textarea{min-height:80px}.calendar-notices{padding:11px!important}

  /* News and documents use the full screen width. */
  .agri-news-shell{margin:0!important}.agri-news-heading{padding:15px!important;border-radius:15px!important}.agri-news-heading h1{font-size:22px!important}.agri-news-update{align-items:flex-start!important}.agri-news-tools{position:sticky!important;top:calc(var(--mobile-v2-header) + 50px)!important;z-index:30!important;margin:10px -4px!important;padding:8px!important}.agri-news-search{min-width:100%!important}.agri-news-filters{display:flex!important;width:100%;overflow-x:auto;flex-wrap:nowrap!important}.agri-news-filters button{flex:0 0 auto}.agri-news-top{grid-template-columns:1fr!important}.agri-news-main,.agri-news-rail,.agri-news-section{padding:13px!important;border-radius:15px!important}.agri-news-lead{grid-template-columns:1fr!important}.agri-news-lead-visual{min-height:175px}.agri-news-card{grid-template-columns:minmax(0,1fr) 92px!important;gap:10px!important}.agri-news-card h3{font-size:13px!important}.agri-news-visual{width:92px!important;height:72px!important}
  .knowledge-page{margin:0!important}.knowledge-heading{align-items:flex-start!important;flex-direction:column!important}.knowledge-list{gap:9px!important}.knowledge-card{padding:13px!important;border-radius:14px!important}.knowledge-card p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.knowledge-reader-full{margin:-8px!important}.knowledge-article{padding:15px!important}.blog-editor-shell{margin:-8px!important}

  /* Forms and actions */
  .request-compose{grid-template-columns:1fr!important;padding:13px!important}.request-compose>*{grid-column:1!important}.request-compose textarea{min-height:110px}.meeting-two,.meeting-rankings,.form-grid,.sale-edit-grid,.annual-plan-grid{grid-template-columns:1fr!important}.meeting-editor{max-width:none!important}.meeting-actions{position:sticky;bottom:calc(var(--mobile-v2-nav) + env(safe-area-inset-bottom));z-index:24;display:grid!important;grid-template-columns:1fr 1fr;margin:14px -4px 0;padding:9px;border:1px solid #ccd8e1;border-radius:14px;background:#fffffff2;box-shadow:0 5px 18px #17344d22}.meeting-actions button{min-height:46px}.sale-edit-dialog{width:calc(100vw - 16px)!important;max-height:calc(100dvh - 16px)!important;padding:16px!important;overflow:auto!important}.dialog-actions{position:sticky;bottom:-16px;margin:8px -16px -16px!important;padding:10px 16px calc(10px + env(safe-area-inset-bottom))!important}

  #toast{right:10px!important;bottom:calc(var(--mobile-v2-nav) + 10px + env(safe-area-inset-bottom))!important;left:10px!important;z-index:120!important;text-align:center}
}

/* The same phone UI follows dark and meeting tokens without bright panels. */
@media(max-width:900px){
  html:is([data-theme="dark"],[data-theme="meeting"],[data-theme="control"]) body{background:var(--ui-canvas)}
  html:is([data-theme="dark"],[data-theme="meeting"],[data-theme="control"]) #app>header{border-color:var(--ui-line-strong);background:linear-gradient(115deg,var(--ui-canvas-soft),var(--ui-surface-raised))}
  html[data-theme="meeting"] #app>header{border-bottom:3px solid var(--ui-accent);background:linear-gradient(110deg,#111820,#26333f 68%,#3b3324)}
  html:is([data-theme="dark"],[data-theme="meeting"],[data-theme="control"]) .mobile-bottom-nav{border-color:var(--ui-line);background:var(--ui-canvas-soft);box-shadow:0 -7px 24px #0006}
  html:is([data-theme="dark"],[data-theme="meeting"],[data-theme="control"]) .mobile-bottom-nav button{color:var(--ui-text-muted)}
  html:is([data-theme="dark"],[data-theme="meeting"],[data-theme="control"]) .mobile-bottom-nav button.active{background:var(--ui-surface-raised);color:var(--ui-text)}
  html:is([data-theme="dark"],[data-theme="meeting"],[data-theme="control"]) .mobile-bottom-nav button.active span{background:var(--ui-accent-strong);color:#f0f8f6}
  html:is([data-theme="dark"],[data-theme="meeting"],[data-theme="control"]) #tabs{border-color:var(--ui-line)!important;background:var(--ui-canvas-soft)!important}
  html:is([data-theme="dark"],[data-theme="meeting"],[data-theme="control"]) .mobile-nav-head{background:linear-gradient(120deg,var(--ui-canvas-soft),var(--ui-surface-raised))!important}
  html:is([data-theme="dark"],[data-theme="meeting"],[data-theme="control"]) #tabs button[data-tab],html:is([data-theme="dark"],[data-theme="meeting"],[data-theme="control"]) .mobile-menu-settings{border-color:var(--ui-line)!important;background:var(--ui-surface)!important;color:var(--ui-text)!important}
  html:is([data-theme="dark"],[data-theme="meeting"],[data-theme="control"]) #tabs button[data-tab].active{border-color:var(--ui-focus)!important;background:var(--ui-surface-hover)!important;color:var(--ui-text)!important;box-shadow:inset 3px 0 0 var(--ui-accent)!important}
  html:is([data-theme="dark"],[data-theme="meeting"],[data-theme="control"]) .mobile-menu-settings :is(label,span){color:var(--ui-text-soft)!important}
  html:is([data-theme="dark"],[data-theme="meeting"],[data-theme="control"]) :is(.mobile-sheet-panel,.mobile-filter-panel,.mobile-sheet-panel>header,.mobile-filter-panel>header,.mobile-sheet-actions,.mobile-filter-actions){border-color:var(--ui-line);background:var(--ui-surface-raised);color:var(--ui-text)}
  html:is([data-theme="dark"],[data-theme="meeting"],[data-theme="control"]) :is(.mobile-filter-trigger,.mobile-kpi-toggle,.mobile-person-card,.mobile-agenda-item,.tablebox tr,.pager,.meeting-actions){border-color:var(--ui-line)!important;background:var(--ui-surface)!important;color:var(--ui-text)!important;box-shadow:var(--ui-shadow-soft)!important}
  html:is([data-theme="dark"],[data-theme="meeting"],[data-theme="control"]) .mobile-home>header{background:linear-gradient(125deg,var(--ui-canvas-soft),var(--ui-surface-raised));box-shadow:0 8px 22px #0007}
  html[data-theme="meeting"] .mobile-home>header{border-bottom:2px solid var(--ui-accent);background:linear-gradient(115deg,#111820,#26333f 68%,#3b3324)}
  html:is([data-theme="dark"],[data-theme="meeting"],[data-theme="control"]) :is(.mobile-home-kpis>div,.mobile-home-action,.mobile-home-person){border-color:var(--ui-line);background:var(--ui-surface);color:var(--ui-text);box-shadow:var(--ui-shadow-soft)}
  html:is([data-theme="dark"],[data-theme="meeting"],[data-theme="control"]) .mobile-home-kpis span,html:is([data-theme="dark"],[data-theme="meeting"],[data-theme="control"]) :is(.mobile-home-action small,.mobile-home-person small){color:var(--ui-text-muted)}
  html:is([data-theme="dark"],[data-theme="meeting"],[data-theme="control"]) :is(.mobile-home-kpis b,.mobile-home-action b,.mobile-home-person b,.mobile-home-person strong){color:var(--ui-text)}
  html:is([data-theme="dark"],[data-theme="meeting"],[data-theme="control"]) .mobile-home-action.attention{border-color:var(--ui-warn);background:var(--ui-surface-raised)}
  html:is([data-theme="dark"],[data-theme="meeting"],[data-theme="control"]) .mobile-home-people{border-color:var(--ui-line);background:var(--ui-line)}
  html:is([data-theme="dark"],[data-theme="meeting"],[data-theme="control"]) .mobile-filter-trigger small,html:is([data-theme="dark"],[data-theme="meeting"],[data-theme="control"]) .mobile-person-head small,html:is([data-theme="dark"],[data-theme="meeting"],[data-theme="control"]) .mobile-agenda-item small{color:var(--ui-text-muted)!important}
  html:is([data-theme="dark"],[data-theme="meeting"],[data-theme="control"]) .mobile-person-head b{color:var(--ui-text)!important}
  html:is([data-theme="dark"],[data-theme="meeting"],[data-theme="control"]) .mobile-person-metrics{border-color:var(--ui-line);background:var(--ui-line)}
  html:is([data-theme="dark"],[data-theme="meeting"],[data-theme="control"]) .mobile-person-metrics span{background:var(--ui-surface-soft);color:var(--ui-text-muted)}
  html:is([data-theme="dark"],[data-theme="meeting"],[data-theme="control"]) .mobile-person-metrics b{color:var(--ui-text)!important}
  html:is([data-theme="dark"],[data-theme="meeting"],[data-theme="control"]) .mobile-meeting-progress span{background:var(--ui-surface-soft);color:var(--ui-text-muted)}
  html:is([data-theme="dark"],[data-theme="meeting"],[data-theme="control"]) .mobile-meeting-progress b{color:var(--ui-text)}
  html:is([data-theme="dark"],[data-theme="meeting"],[data-theme="control"]) .tablebox td{border-color:var(--ui-line)!important;color:var(--ui-text)!important}
  html:is([data-theme="dark"],[data-theme="meeting"],[data-theme="control"]) .tablebox td::before{color:var(--ui-text-muted)!important}
  html:is([data-theme="dark"],[data-theme="meeting"],[data-theme="control"]) .tablebox tr.summary{border-color:var(--ui-accent-alt)!important;background:var(--ui-surface-raised)!important}
  html:is([data-theme="dark"],[data-theme="meeting"],[data-theme="control"]) .tablebox tr.mobile-expanded{border-color:var(--ui-accent-alt)!important}
  html:is([data-theme="dark"],[data-theme="meeting"],[data-theme="control"]) .mobile-row-toggle{border-color:var(--ui-line);background:var(--ui-surface-hover);color:var(--ui-text-soft)}
  html:is([data-theme="dark"],[data-theme="meeting"],[data-theme="control"]) .mobile-row-toggle small{color:var(--ui-text-muted)}
  html:is([data-theme="dark"],[data-theme="meeting"],[data-theme="control"]) .mobile-expanded .mobile-row-toggle{border-color:var(--ui-accent-alt);background:var(--ui-surface-raised);color:var(--ui-text)}
  html:is([data-theme="dark"],[data-theme="meeting"],[data-theme="control"]) .menu-period{border-color:var(--ui-line)!important;background:var(--ui-surface)!important}
  html:is([data-theme="dark"],[data-theme="meeting"],[data-theme="control"]) .support-home-head{border-color:var(--ui-line)!important;background:var(--ui-canvas-soft)!important}
  html:is([data-theme="dark"],[data-theme="meeting"],[data-theme="control"]) .mobile-calendar-view{border-color:var(--ui-line);background:var(--ui-canvas)}
  html:is([data-theme="dark"],[data-theme="meeting"],[data-theme="control"]) .mobile-agenda-item>time{background:var(--ui-surface-hover);color:var(--ui-accent-alt)}
  html:is([data-theme="dark"],[data-theme="meeting"],[data-theme="control"]) .mobile-agenda-item.selected{border-color:var(--ui-accent-alt)!important;background:var(--ui-surface-hover)!important}
  html:is([data-theme="dark"],[data-theme="meeting"],[data-theme="control"]) .mobile-agenda-item.selected>time{background:var(--ui-accent-strong);color:var(--ui-text)}
  html:is([data-theme="dark"],[data-theme="meeting"],[data-theme="control"]) :is(.meeting-report-summary,.cost-type-summary .tablebox,.briefing-comparison .tablebox,.meeting-type-summary .tablebox){border-color:var(--ui-line)!important;background:var(--ui-canvas-soft)!important}
}

@media(max-width:380px){
  :root{--mobile-v2-pad:9px}.mobile-header-tools{gap:4px}.mobile-header-tools button:first-child{min-width:72px;padding:0 6px}.mobile-header-tools #mobileHeaderLogout{min-width:58px;padding:0 5px}.mobile-page-heading strong{font-size:16px}.mobile-bottom-nav button b{font-size:9px}.ceo-kpis,.result-cards,.support-cards,.meeting-summary-cards,.meeting-kpis{gap:6px!important}
}

/* v1.14.2 - touch-first workspace refresh. */
@media(max-width:900px){
  :root{--mobile-v2-header:58px;--mobile-v2-nav:68px;--mobile-v2-pad:14px;--mobile-touch:48px}
  body{font-size:15px;-webkit-text-size-adjust:100%;text-rendering:optimizeLegibility}
  #app>header{min-height:calc(var(--mobile-v2-header) + env(safe-area-inset-top));padding:calc(7px + env(safe-area-inset-top)) 12px 7px!important;background:#0e496f;box-shadow:0 2px 12px #102a4224}
  .mobile-page-heading small{font-size:10px}.mobile-page-heading strong{font-size:18px}
  .mobile-header-tools button{min-width:var(--mobile-touch);height:44px;border-radius:13px}
  .mobile-header-tools #mobileHeaderLogout{min-width:44px}.mobile-header-tools #mobileHeaderLogout b{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  #panel>.panel{padding:14px 14px calc(24px + var(--mobile-v2-nav) + env(safe-area-inset-bottom))!important}
  .panel :is(input:not([type=checkbox]):not([type=radio]),select,textarea){min-height:var(--mobile-touch);font-size:16px!important;border-radius:12px}
  .panel button,.mobile-sheet button,#tabs button{min-height:44px}
  .panel textarea{min-height:112px;line-height:1.55}
  .panel h2{margin:2px 0 7px;font-size:21px}.panel h3{font-size:17px}

  .mobile-bottom-nav{height:calc(var(--mobile-v2-nav) + env(safe-area-inset-bottom));padding-top:4px;background:#fffffff7;backdrop-filter:blur(14px);box-shadow:0 -4px 18px #17344d17}
  .mobile-bottom-nav button{min-height:56px;border-radius:14px}.mobile-bottom-nav button span{font-size:18px}.mobile-bottom-nav button b{font-size:11px}
  .mobile-bottom-nav button.active{background:#e6f2f9;color:#075d91}.mobile-bottom-nav button.active span{box-shadow:none}

  #tabs{inset:4dvh 0 0!important;padding-bottom:calc(20px + env(safe-area-inset-bottom))!important;overflow-y:auto!important;border-radius:26px 26px 0 0!important;background:#f4f7f9!important}
  .mobile-nav-head{margin-bottom:10px!important;padding:16px 18px 13px!important;border-radius:26px 26px 0 0;background:#0e496f!important}
  .mobile-nav-head b{font-size:19px}.mobile-nav-head span{font-size:12px}
  #tabs .tab-main,#tabs .tab-admin{gap:8px!important}
  #tabs button[data-tab]{min-height:52px!important;padding:11px 13px!important;border-color:#d2dde5!important;border-radius:14px!important;font-size:14px!important}
  #tabs button[data-tab].active{box-shadow:inset 4px 0 0 #1672aa!important}
  .mobile-menu-settings{margin-top:18px;padding:14px;border-radius:16px}

  .mobile-home{gap:12px;margin:-14px -14px 0;padding:0 14px 18px}
  .mobile-home>header{align-items:center;margin:0 -14px;padding:15px 16px 17px;border-radius:0 0 20px 20px;background:linear-gradient(120deg,#0d496f,#146f98);box-shadow:0 5px 16px #143e5d20}
  .mobile-home>header h2{font-size:20px}.mobile-home>header p{font-size:12px}.mobile-home>header>button{min-height:42px;font-size:11px}
  .mobile-home-kpis{gap:8px;margin-top:-2px}.mobile-home-kpis>div{min-height:72px;padding:11px 12px;border-radius:14px;box-shadow:0 2px 8px #16354d12}
  .mobile-home-kpis span{font-size:11px}.mobile-home-kpis b{font-size:17px;font-variant-numeric:tabular-nums}
  .mobile-home-section{gap:9px}.mobile-home-section-title h3{font-size:18px}.mobile-home-section-title small{font-size:11px}
  .mobile-home-actions{gap:8px}.mobile-home-action{min-height:60px;padding:11px 13px;border-radius:14px;box-shadow:0 2px 8px #17344d0e}
  .mobile-home-action b{font-size:14px}.mobile-home-action small{font-size:11px}.mobile-home-action strong{font-size:14px}
  .mobile-home-action.attention{border-left:5px solid #d48620;background:#fff9ee}
  .mobile-home-people{border-radius:14px}.mobile-home-person{min-height:62px}.mobile-home-person b,.mobile-home-person strong{font-size:13px}.mobile-home-person small{font-size:10px}

  .mobile-filter-trigger{min-height:58px!important;padding:10px 13px!important;border-radius:14px!important}.mobile-filter-trigger b{font-size:14px!important}.mobile-filter-trigger small{font-size:11px!important}
  .mobile-sheet-panel,.mobile-filter-panel{max-height:92dvh;border-radius:24px 24px 0 0!important}
  .mobile-filter-body{padding-bottom:8px}.mobile-filter-body .toolbar{gap:10px!important}
  .mobile-filter-actions,.mobile-sheet-actions{padding-bottom:calc(12px + env(safe-area-inset-bottom))!important}
  .tablebox tbody{gap:10px!important}.tablebox tr{padding:13px 14px!important;border-radius:14px!important;box-shadow:0 2px 9px #17344d10!important}
  .tablebox td{grid-template-columns:minmax(100px,38%) minmax(0,1fr)!important;padding:7px 0!important;font-size:13px!important}.tablebox td::before{font-size:11px}
  .mobile-row-toggle{min-height:44px;font-size:12px}.tablebox td.mobile-action-cell .mobile-cell-value>button{min-height:46px!important}
  .meeting-actions{bottom:calc(var(--mobile-v2-nav) + env(safe-area-inset-bottom) + 4px);border-radius:16px}.meeting-actions button{min-height:48px}
  :is(.ceo-kpi,.result-card,.support-card,.meeting-summary-cards>div,.meeting-kpis>div){min-height:82px!important;padding:12px!important}
  :is(.ceo-kpi,.result-card,.support-card,.meeting-summary-cards>div,.meeting-kpis>div) :is(span,small){font-size:11px!important}
  :is(.ceo-kpi,.result-card,.support-card,.meeting-summary-cards>div,.meeting-kpis>div) :is(b,strong){font-size:18px!important}
  :focus-visible{outline:3px solid #1683da!important;outline-offset:2px!important}
}

@media(min-width:480px) and (max-width:900px){
  .mobile-home-actions{grid-template-columns:1fr 1fr}.mobile-home-action{min-height:76px}
  #tabs .tab-main,#tabs .tab-admin{grid-template-columns:repeat(3,1fr)}
}

@media(max-width:900px) and (orientation:landscape) and (max-height:520px){
  #tabs{inset:0!important}.mobile-home>header{padding-block:11px}.mobile-home-kpis{grid-template-columns:repeat(4,1fr)}.mobile-home-kpis>div{min-height:64px}
}

@media(max-width:900px) and (prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}
}

/* v1.14.2 selected mobile workspaces */
.mobile-plan-total,.mobile-sales-review,.mobile-meeting-editor-nav{display:none}
.shipping-rate-control{display:flex;align-items:center;gap:6px;min-width:170px}.shipping-rate-control select{min-width:82px}.shipping-rate-control label{display:flex;align-items:center;gap:3px}.shipping-rate-control input{width:70px!important;text-align:right}
@media(max-width:760px){
  .mobile-home-workspace{margin:-10px -10px 0;padding-bottom:12px;background:linear-gradient(180deg,#edf7ff 0,#f8fbfd 32%,#f4f8fb 100%)}
  .mobile-home-workspace>header{margin:0;padding:20px 18px 14px;border-radius:0;background:linear-gradient(135deg,#082e66,#075a8e);color:#fff;box-shadow:none}.mobile-home-workspace>header small,.mobile-home-workspace>header span{color:#d8ebff}.mobile-home-workspace>header h2{font-size:27px}
  .mobile-home-workspace>.mobile-home-kpis{grid-template-columns:repeat(2,minmax(0,1fr));margin:0 12px 18px;padding:18px 4px;border-radius:0 0 18px 18px;background:#fff}.mobile-home-workspace>.mobile-home-kpis div{padding:10px 8px}.mobile-home-workspace>.mobile-home-kpis b{font-size:21px}
  .mobile-home-workspace .mobile-home-section{margin:0 12px 18px;padding:16px;border-radius:18px;background:#fff;box-shadow:0 8px 24px #12395c0b}.mobile-home-workspace .mobile-home-section-title h3{font-size:22px}.mobile-home-workspace .mobile-home-section-title small{display:block;margin-top:3px;font-size:13px}
  .mobile-home-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.mobile-home-quick-grid .mobile-home-action{min-height:126px;padding:17px 14px;align-items:flex-end}.mobile-home-quick-grid .mobile-home-action span{gap:8px}.mobile-home-quick-grid .mobile-home-action b{font-size:18px}.mobile-home-quick-grid .mobile-home-action small{display:block;line-height:1.45}.mobile-home-quick-grid .mobile-home-action i{font-size:28px;align-self:center}
  .mobile-attention-section .mobile-home-action{min-height:68px;border-width:0 0 1px;border-radius:0;box-shadow:none}.mobile-attention-section .mobile-home-action:last-child{border-bottom:0}.mobile-attention-section .mobile-home-action strong{min-width:40px;padding:7px;border-radius:12px;background:#fff0ec;color:#d64135;text-align:center}
  .mobile-plan-total{display:grid;gap:3px;margin:8px 0 12px;padding:17px;border-radius:16px;background:linear-gradient(135deg,#083d78,#0878a5);color:#fff}.mobile-plan-total span{font-size:12px}.mobile-plan-total b{font-size:24px}.mobile-plan-total small{color:#d8efff}
  #planForm.mobile-plan-form{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;padding:14px!important;border:1px solid #d6e2eb!important;border-radius:18px!important;background:#fff!important}.mobile-plan-form label{display:grid;gap:5px;min-width:0}.mobile-plan-form label>span{display:block;color:#536a7c;font-size:11px;font-weight:800}.mobile-plan-form label:nth-of-type(2),.mobile-plan-form label:nth-of-type(3),.mobile-plan-form .plan-note-field,.mobile-plan-form output,.mobile-plan-form button{grid-column:1/-1}.mobile-plan-form :is(input,select,button){width:100%!important;min-width:0!important;min-height:50px!important}.mobile-plan-form output{padding:13px;border-radius:12px;background:#eef7ff;color:#075a8e;font-size:17px;font-weight:900;text-align:right}
  .mobile-sales-review{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 12px;padding:15px 16px;border-radius:17px;background:linear-gradient(135deg,#083d78,#0878a5);color:#fff}.mobile-sales-review div{display:grid;gap:2px}.mobile-sales-review span,.mobile-sales-review small{color:#d8efff;font-size:11px}.mobile-sales-review b{font-size:23px}.mobile-sales-review button{min-height:46px;border-color:#ffffff88;background:#fff;color:#075184;font-weight:900}.sales-data-table table{font-size:13px}.sales-data-table tbody tr:not(.summary){border-left:4px solid #1d77b7}.sales-data-table tbody tr.bad{border-left-color:#e45745}
  .mobile-meeting-editor-nav{position:sticky;top:0;z-index:15;display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:0 0 12px;padding:8px;border:1px solid #d5e2eb;border-radius:14px;background:#fffffff2;backdrop-filter:blur(12px)}.mobile-meeting-editor-nav button{min-height:44px;padding:8px;border:0;background:#eef4f8;color:#28485f}.mobile-meeting-editor-nav button:first-child{background:#0b67a3;color:#fff}.meeting-editor :is(#meeting-performance,#meeting-current,#meeting-next){scroll-margin-top:80px}.meeting-editor .meeting-two{grid-template-columns:1fr!important}.meeting-editor textarea{min-height:150px;font-size:16px;line-height:1.65}.meeting-editor .meeting-actions{position:sticky;bottom:calc(68px + env(safe-area-inset-bottom));z-index:14;margin:18px -8px -8px;padding:10px;background:#fffffff0;box-shadow:0 -8px 20px #12395c12;backdrop-filter:blur(12px)}.meeting-editor .meeting-actions button{min-height:52px;font-size:15px}
  .shipping-rate-control{min-width:0;flex-wrap:wrap}.shipping-rate-control select{width:auto!important;min-width:100px!important}.shipping-rate-control label{display:flex!important;width:auto!important}.shipping-rate-control input{width:78px!important;min-height:44px!important}
}

/* Mobile visual refinement (candidate after 1.14.2).
   Keep the existing workspace, two-column cards and comparison matrices. */
@media(max-width:900px){
  .mobile-home-section-title,
  .mobile-person-head,
  .mobile-person-alert,
  .mobile-home>header{flex-wrap:wrap}
  .mobile-home-section-title>button,
  .mobile-person-head>button{flex-shrink:0}
  .mobile-home-section-title>div,
  .mobile-home-action>span,
  .mobile-home>header>div,
  .mobile-sales-review>div{min-width:0;max-width:100%}
  .mobile-home-section-title h3,
  .mobile-home-action b,
  .mobile-home-action small,
  .mobile-person-head small{white-space:normal;word-break:keep-all;overflow-wrap:anywhere;line-height:1.5}
  .mobile-home-action small{overflow:visible;text-overflow:clip}
  .mobile-home-action strong{max-width:45%;overflow-wrap:anywhere;line-height:1.4}
  .mobile-home-action>i{flex-shrink:0}
  .mobile-home-kpis b,
  .mobile-person-metrics b,
  .mobile-plan-total b{white-space:normal;overflow-wrap:anywhere;line-height:1.4;font-variant-numeric:tabular-nums}
  :is(.ceo-kpi,.result-card,.support-card,.meeting-summary-cards>div,.meeting-kpis>div) :is(span,small,b,strong){
    min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.4;
  }
  .mobile-meeting-progress{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mobile-meeting-progress span{min-width:0;flex-wrap:wrap;line-height:1.5}
  .mobile-meeting-progress b{overflow-wrap:anywhere}
  .mobile-row-toggle{grid-template-columns:auto minmax(0,1fr) auto;white-space:normal}
  .mobile-row-toggle small{min-width:0;overflow-wrap:anywhere;line-height:1.5}
  .tablebox td::before{min-width:0;overflow-wrap:anywhere;line-height:1.5}
  .tablebox .mobile-cell-value{min-width:0;line-height:1.5}
  .mobile-filter-trigger>span{min-width:0;flex:1}
  .mobile-filter-trigger small{max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.5}
  .mobile-sheet-panel>header,.mobile-filter-panel>header{gap:12px}
  .mobile-sheet-panel>header>div,.mobile-filter-panel>header>div{min-width:0;overflow-wrap:anywhere}
  .mobile-sheet-panel>header button,.mobile-filter-panel>header button{flex-shrink:0}
  .mobile-nav-head>div{min-width:0;overflow-wrap:anywhere}
  .mobile-nav-head button{flex-shrink:0}
  /* The menu title can grow with the account name; avoid a fixed sticky offset. */
  #tabs button[data-tab]{min-width:0;white-space:normal;overflow-wrap:anywhere;line-height:1.5}
  .mobile-bottom-nav button{min-width:0}
  .mobile-bottom-nav button b{line-height:1.4}
  .mobile-home-kpis>div{border-top:3px solid var(--ui-accent-alt,#2485b6)}
  .mobile-home-section-title h3{padding-left:10px;border-left:3px solid var(--ui-accent-alt,#2485b6)}
  .mobile-home-action:active{border-color:var(--ui-accent-alt,#2485b6);box-shadow:inset 0 0 0 1px var(--ui-accent-alt,#2485b6)}
}
@media(max-width:760px){
  .mobile-home-workspace .mobile-home-section-title h3{font-size:clamp(17px,4.7vw,22px)}
  .mobile-home-quick-grid .mobile-home-action{gap:6px;padding:14px 11px;align-items:center}
  .mobile-home-quick-grid .mobile-home-action>span{flex:1}
  .mobile-home-quick-grid .mobile-home-action b{font-size:clamp(15px,4.3vw,18px)}
  .mobile-home-quick-grid .mobile-home-action small{white-space:normal;overflow:visible;font-size:12px}
  .mobile-home-quick-grid .mobile-home-action i{font-size:22px}
  .mobile-home-workspace>.mobile-home-kpis b{font-size:clamp(16px,4.7vw,21px)}
  .mobile-home-workspace .mobile-home-section{border:1px solid var(--ui-line,#e0e9f0)}
  .mobile-sales-review{flex-wrap:wrap}
  .mobile-sales-review b{overflow-wrap:anywhere;line-height:1.4}
  .mobile-sales-review button{flex-shrink:0}
  .mobile-meeting-editor-nav{grid-template-columns:repeat(3,minmax(0,1fr))}
  .mobile-meeting-editor-nav button{min-width:0;white-space:normal;overflow-wrap:anywhere;line-height:1.4}
  html:is([data-theme="dark"],[data-theme="meeting"],[data-theme="control"]) .mobile-home-workspace{background:var(--ui-canvas)}
  html:is([data-theme="dark"],[data-theme="meeting"],[data-theme="control"]) :is(.mobile-home-workspace>.mobile-home-kpis,.mobile-home-workspace .mobile-home-section,#planForm.mobile-plan-form,.mobile-meeting-editor-nav,.meeting-editor .meeting-actions){
    background:var(--ui-surface)!important;border-color:var(--ui-line)!important;color:var(--ui-text);
  }
  html:is([data-theme="dark"],[data-theme="meeting"],[data-theme="control"]) :is(.mobile-plan-form output,.mobile-meeting-editor-nav button){background:var(--ui-surface-raised);color:var(--ui-text)}
  html:is([data-theme="dark"],[data-theme="meeting"],[data-theme="control"]) .mobile-plan-form label>span{color:var(--ui-text-muted)}
  html:is([data-theme="dark"],[data-theme="meeting"],[data-theme="control"]) .mobile-meeting-editor-nav button:first-child{background:var(--ui-accent-strong);color:var(--ui-text)}
}
