/* Dedicated phone chrome. Desktop selectors and feature pages remain intact. */
.mob-nav,.mob-hub,.mob-backbar{display:none}
@media screen and (max-width:760px){
 body.app-page:not(:has(.nx)){--c-bg:#060708;--c-white:#111315;--c-surface-2:#191d23;--c-line:#292d32;--c-line-strong:#343a43;--c-black:#f3f4f6;--c-muted:#b6bbc4;--c-faint:#969fae;background:#060708}
 .app-page .app{height:100dvh;min-height:0;background:#060708}
 .app-page .topbar{height:72px;min-height:72px;padding:0 21px;border-bottom:1px solid #25292e;gap:12px;z-index:55}
 .app-page .topbar__logo{flex-shrink:0}.app-page .topbar__wordimg{width:124px;height:auto}.app-page #topbar-nav{display:none}
 .app-page .topbar__profilebtn{padding:10px;border:1px solid #292d32;border-radius:14px;min-height:42px;background:#101215}
 .app-page .topbar__pname{max-width:94px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}
 .app-page .topbar__menu{width:min(330px,calc(100vw - 24px));max-height:75dvh;overflow:auto}
 .app-page .main{min-height:0;flex:1;overflow:hidden;padding:0}.app-page .sidebar,.app-page .sb-backdrop,.app-page .tab-strip{display:none!important}
 .app-page .workspace{display:block;overflow:auto;min-width:0;padding:0 0 calc(91px + env(safe-area-inset-bottom));background:#060708;-webkit-overflow-scrolling:touch}
 .app-page .tab-content{min-height:0;height:auto;overflow:visible;padding:0;background:#060708}
 .app-page [hidden]{display:none!important}
 .mob-nav{display:flex;position:fixed;bottom:0;left:0;right:0;height:calc(80px + env(safe-area-inset-bottom));padding:8px 12px calc(8px + env(safe-area-inset-bottom));background:#090b0df7;backdrop-filter:blur(16px);border-top:1px solid #292d32;z-index:60;gap:6px}
 .mob-nav button{flex:1;min-width:0;border:0;border-radius:16px;background:transparent;color:#929ba8;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font-size:11px;cursor:pointer}
 .mob-nav button.is-active{background:#102848;color:#4096ff}.mob-nav svg{width:23px;height:23px}
 .mob-hub{display:block;padding:28px 21px 20px;color:#f3f4f6}.mob-hub h1{font-size:30px;letter-spacing:-1px;font-weight:600;margin:0 0 10px}.mob-eyebrow{color:#969fae;font-size:13px;margin:0 0 10px;letter-spacing:.3px}.mob-subtitle{font-size:14px;color:#969fae;line-height:1.65;margin:0 0 25px}
 .mob-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mob-tile{padding:17px 14px;border:1px solid #292d32;border-radius:19px;background:#111315;min-height:99px;text-decoration:none;color:#f3f4f6;display:flex;flex-direction:column;justify-content:space-between;gap:17px;font-size:14px}.mob-tile:hover{color:#f3f4f6;border-color:#496281}.mob-tile svg{color:#4096ff;width:23px;height:23px}.mob-tiles--rows{grid-template-columns:1fr;gap:10px}.mob-tiles--rows .mob-tile{flex-direction:row;align-items:center;justify-content:flex-start;min-height:70px;padding:17px 18px;font-size:16px}.mob-tile b{font-size:24px;color:#969fae;font-weight:400;margin-left:auto}
 .mob-teamlabel{display:block;font-size:11px;color:#969fae;margin-bottom:20px}.mob-teamlabel select{display:block;width:100%;background:#111315;border:1px solid #292d32;color:#f3f4f6;border-radius:12px;margin-top:7px;padding:11px 12px;font-size:16px}
 .mob-profile{width:100%;padding:20px;text-align:left;border:1px solid #292d32;background:#111315;border-radius:19px;margin:0 0 22px;position:relative;color:#f3f4f6}.mob-profile strong{font-size:18px;font-weight:500;display:block}.mob-profile small{display:block;color:#969fae;margin-top:7px}.mob-profile>span{position:absolute;right:20px;top:28px;font-size:24px}.mob-help{display:flex;padding:20px 5px;color:#b6bbc4;border-bottom:1px solid #292d32;text-decoration:none;font-size:14px;justify-content:space-between}
 .mob-backbar{display:block;padding:12px 17px 8px}.mob-backbar button{display:flex;align-items:center;gap:4px;color:#969fae;background:none;border:0;min-height:40px;font-size:13px}
 .matt{padding:18px 21px 24px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#f3f4f6;line-height:1.45;font-size:14px}
 .matt-back{display:inline-flex;align-items:center;gap:3px;color:#969fae;background:transparent;border:0;text-decoration:none;font-size:13px;min-height:35px;margin-bottom:12px;padding:0;cursor:pointer}
 .matt-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.matt-heading h1{font-size:29px;font-weight:600;letter-spacing:-1px;line-height:1.2;margin:0}.matt-heading h1 small{display:block;color:#a7b0bd;font-size:25px;font-weight:400;margin-top:4px;letter-spacing:-.5px}
 .matt-icon{width:44px;height:44px;border:1px solid #292d32;background:#111315;border-radius:14px;display:grid;place-items:center;color:#f3f4f6;flex-shrink:0;cursor:pointer}
 .matt-sub{color:#969fae;font-size:12px;margin:8px 0 0}.matt-week{display:flex;align-items:center;justify-content:space-between;gap:3px;margin:23px 0 17px}.matt-week>div{display:flex;align-items:center}.matt-week button{min-width:34px;height:42px;padding:0 5px;display:grid;place-items:center;background:transparent;border:0;color:#f3f4f6}.matt-week .matt-today{color:#4096ff;font-size:11px;padding:0 7px}.matt-weekpick{position:relative;font-size:13px;font-weight:550;min-height:42px;display:flex;align-items:center}.matt-weekpick span{display:flex;gap:6px;align-items:center}.matt-weekpick input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}
 .matt-card{display:block;padding:16px;margin-bottom:11px;background:#111315;border:1px solid #292d32;border-radius:19px;color:#f3f4f6;text-decoration:none}.matt-card:hover{color:#f3f4f6;border-color:#496281}.matt-card.is-today{border-color:#245487;background:linear-gradient(130deg,#101b2a,#111315 80%)}.matt-cardtop{display:flex;align-items:center;gap:5px;font-size:13px;margin-bottom:12px}.matt-cardtop strong{font-weight:550}.matt-tag{background:#102848;color:#4096ff;font-size:10px;white-space:nowrap;border-radius:6px;padding:3px 6px;line-height:1.4}.matt-time{margin-left:auto;color:#969fae;font-size:11px}.matt-event{display:flex;gap:8px;align-items:center;font-size:14px;font-weight:500}.matt-event svg{color:#4096ff;flex-shrink:0}.matt-counts{display:flex;align-items:center;gap:22px;margin-top:15px}.matt-counts>div{white-space:nowrap}.matt-counts b{font-size:26px;font-weight:550;letter-spacing:-.7px}.matt-counts span{color:#969fae;font-size:12px}.matt-counts small{color:#969fae;font-size:11px;margin-left:6px}.matt-counts>svg{margin-left:auto;color:#969fae}.matt-note{color:#969fae;font-size:11px;margin-top:9px}.matt-note:before{content:'·';margin-right:5px}.matt-note.is-warning{color:#e8c280}.matt-absnames{font-size:11px;color:#b9a9aa;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:5px}.matt-free{border:0;background:transparent;display:flex;align-items:center;gap:10px;color:#b6bbc4;font-size:12px;width:100%;padding:14px 5px;text-align:left;min-height:48px}.matt-free small{display:block;color:#969fae;margin-top:4px}
 .matt-empty{padding:28px 10px;text-align:center;color:#969fae;font-size:13px}.matt-hint{font-size:11px;color:#969fae;text-align:center;margin:18px 0 0;line-height:1.6}.matt-hint--left{text-align:left;margin:13px 0 7px}.matt-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:11px 0 0;color:#969fae;font-size:12px}
 .matt-stats{display:flex;gap:28px;border-bottom:1px solid #292d32;margin-top:21px;padding-bottom:18px}.matt-stats button{border:0;background:transparent;text-align:left;color:#f3f4f6;padding:0}.matt-stats b{font-size:32px;font-weight:550;letter-spacing:-1px}.matt-stats span{color:#969fae;font-size:13px}.matt-stats small{display:block;font-size:12px;color:#969fae}
 .matt-summary>summary{display:flex;gap:10px;align-items:center;min-height:54px;list-style:none;cursor:pointer;font-size:13px;color:#c5ccd5}.matt-summary>summary::-webkit-details-marker{display:none}.matt-summary>summary>svg:first-child{color:#4096ff}.matt-summary>summary>svg:last-child{margin-left:auto}.matt-summarybody{padding:14px;background:#111315;border-radius:14px;margin-bottom:12px}.matt-details{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:9px 0;font-size:12px}.matt-details>span{color:#969fae;flex:0 0 74px}.matt-details strong{font-weight:450;text-align:right;overflow-wrap:anywhere}.matt-details input,.matt-details select{width:100%;min-width:0;font-size:16px;border:1px solid #343a43;border-radius:8px;background:#090c10;color:#f3f4f6;padding:8px}.matt-link{display:block;color:#4096ff;border:0;background:transparent;min-height:40px;padding:10px 0;text-decoration:none;font-size:12px;text-align:left}.matt-action{width:100%;display:flex;gap:10px;align-items:center;min-height:59px;background:transparent;border:0;border-bottom:1px solid #292d32;padding:13px 0;text-align:left;font-size:13px;color:#d7dde6;text-decoration:none}.matt-action>svg:first-child{color:#4096ff;flex-shrink:0}.matt-action>svg:last-child{margin-left:auto;flex-shrink:0}.matt-action small{display:block;color:#969fae;font-size:11px}.matt-warning{background:#272218;color:#e8c280;border-radius:12px;padding:13px;font-size:12px;margin:15px 0;line-height:1.6}.matt-warning button{display:block;border:0;background:transparent;color:inherit;padding:8px 0 0;font-size:12px;text-decoration:underline;text-align:left;min-height:40px}
 .matt-tabs{display:flex;background:#111315;border-radius:13px;padding:4px;margin:19px 0 14px;gap:3px;overflow:auto}.matt-tabs button{border:0;background:transparent;color:#969fae;flex:1;border-radius:10px;min-height:40px;font-size:13px;padding:8px 10px;white-space:nowrap}.matt-tabs button.is-active{color:#f3f4f6;background:#272c33}.matt-tabs small{margin-left:5px;color:#969fae}.matt-filters{display:flex;flex-wrap:wrap;gap:6px}.matt-filters button{border:1px solid #292d32;color:#969fae;background:transparent;border-radius:20px;font-size:11px;padding:7px 10px;min-height:36px}.matt-filters button.is-active{color:#4096ff;background:#102848;border-color:#204778}
 .matt-person{display:flex;align-items:center;gap:10px;width:100%;text-align:left;min-height:67px;padding:12px 0;border:0;border-bottom:1px solid #202429;background:transparent;color:#f3f4f6;cursor:pointer}.matt-avatar{width:35px;height:35px;display:grid;place-items:center;flex-shrink:0;border-radius:12px;background:#1b222a;color:#9daec2;font-size:11px}.matt-persontext{flex:1;min-width:0}.matt-persontext strong{font-size:13px;display:block;font-weight:450}.matt-persontext small{font-size:10px;display:block;color:#969fae;overflow-wrap:anywhere}.matt-status{font-size:10px;text-align:right;max-width:95px;color:#969fae}.matt-status.is-yes{color:#8dd5ab}.matt-status.is-no{color:#efa5a6}.matt-status.is-open{color:#e8c280}.matt-driver{display:flex;justify-content:space-between;align-items:center;padding:10px 0;gap:10px;font-size:12px}.matt-driver input{width:20px;height:20px}
 .app-page #cos-popup .cos-pop{position:fixed!important;inset:auto 0 0!important;width:100%!important;max-width:none;max-height:85dvh;overflow:auto;border-radius:22px 22px 0 0;padding:22px;background:#14171b;z-index:110;box-shadow:0 -25px 100px #000b}.app-page #cos-popup{position:relative;z-index:110}
 .app-page .cmodal,.app-page .aufsel{z-index:110;padding:0;align-items:flex-end;background:#000a;backdrop-filter:blur(4px)}.app-page .cmodal__box{background:#14171b;border:1px solid #343a43;border-radius:23px 23px 0 0;max-height:90dvh;height:auto;max-width:100%;width:100%;overflow:auto;padding-bottom:env(safe-area-inset-bottom)}.app-page .cmodal__head{padding:19px 21px 15px;gap:10px}.app-page .cmodal__head h2{font-size:21px;font-weight:550;margin:0;letter-spacing:-.5px}.app-page .cmodal__head p{color:#969fae;font-size:12px;margin:7px 0 0}.app-page .cmodal__body{padding:0 21px 22px}.app-page .cmodal__foot{padding:18px 0 0;gap:10px;flex-wrap:wrap}.app-page .cmodal__foot .btn{flex:1;min-height:46px;border-radius:12px;font-size:13px}.app-page #cos-popup input,.app-page #cos-popup textarea,.app-page #cos-popup select{font-size:16px;min-width:0;max-width:100%}.app-page #cos-popup .btn{white-space:normal;min-height:42px}
 .mob-option{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid #343a43;border-radius:12px;margin:9px 0;font-size:14px;min-height:50px}.mob-option:has(input:checked){background:#112640;border-color:#2e5e99}.mob-option input{width:19px;height:19px;accent-color:#4096ff}.mob-field{display:block;font-size:12px;color:#b6bbc4;margin:15px 0}.mob-field input,.mob-field textarea{display:block;width:100%;margin-top:7px;border:1px solid #343a43;background:#0b0e11;color:#f3f4f6;border-radius:11px;padding:12px;min-height:46px}.mob-formrow{display:flex;gap:10px}.mob-formrow>*{flex:1;min-width:0}
}
@media screen and (max-width:360px){.matt,.mob-hub{padding-left:16px;padding-right:16px}.matt-counts{gap:13px}.matt-counts b{font-size:24px}.matt-counts small{margin-left:3px}.matt-weekpick{font-size:12px}.matt-heading h1{font-size:27px}.matt-person{gap:8px}.matt-avatar{width:30px;height:32px}.matt-status{max-width:79px}}
@media print{.mob-nav,.mob-hub,.mob-backbar{display:none!important}}

/* Network categories follow the chosen content theme on phones too. */
@media screen and (max-width:760px) {
 .app-page:has(.nx) .workspace,.app-page:has(.nx) .tab-content { background:var(--c-bg); }
 .app-page:has(.nx) .mob-backbar { background:var(--c-bg); }
 .app-page:has(.nx) .mob-backbar button { color:var(--c-muted); }
}
