/* v150: one calendar per viewport + native-feel route ordering for permanent schedule. */
@media(min-width:761px){
 .workspace.mono-route .mono-day-bar>.mono-date{display:none!important}
}
@media(max-width:760px){
 .workspace.mono-route .mobile-brand-heading small{display:none!important}
 .workspace.mono-route .page-heading .k63-direct-date{display:none!important}
 .workspace.mono-route .mono-day-bar>.mono-date{display:flex!important;align-items:center!important}
}
.k150-launch{min-height:42px;cursor:pointer}
.k150-weekly-note{margin:9px 0;padding:10px 12px;background:#eaf2ff;border-radius:10px;color:#294e76;font:500 13px/1.4 system-ui}
.k150-screen{position:fixed;inset:0 0 0 181px;z-index:16000;background:#f5f8fd;color:#193457;font:14px/1.45 system-ui;box-sizing:border-box}
.k150-screen[hidden]{display:none!important}
.k150-panel{display:flex;flex-direction:column;gap:14px;width:100%;height:100dvh;overflow:hidden;box-sizing:border-box;padding:24px max(20px,3vw);}
.k150-header{display:flex;align-items:start;justify-content:space-between;gap:20px}
.k150-header h1{font-size:26px;line-height:1.2;margin:0 0 6px;color:#153055}
.k150-header p{font-size:14px;color:#5d7590;margin:0;max-width:850px}
.k150-close{border:1px solid #cad8ea;border-radius:10px;background:#fff;color:#214775;font-size:27px;line-height:1;width:42px;height:42px;cursor:pointer;flex-shrink:0}
.k150-subheader{display:flex;justify-content:space-between;gap:12px;align-items:center;border:1px solid #d4e3f2;border-radius:12px;padding:12px 15px;background:#fff}
.k150-owner-note{color:#547493}
.k150-days{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.k150-day{padding:12px 5px;border:1px solid #c8d8ed;background:#eef4fd;color:#23436c;border-radius:10px;cursor:pointer;font:600 14px system-ui}
.k150-day.active{background:#dceaff;border-color:#3874e1;box-shadow:inset 0 0 0 1px #3874e1;color:#0e438e}
.k150-day.k150-drag-target,.k150-row.k150-drag-target{background:#bddbff!important;border-color:#2563eb!important}
.k150-tools{display:flex;align-items:end;justify-content:space-between;gap:12px}
.k150-tools label{display:flex;flex-direction:column;gap:4px;min-width:170px;font-weight:600}
.k150-tools input,.k150-tools select{padding:10px 11px;border:1px solid #c5d4e6;background:#fff;color:#193457;border-radius:9px;font:14px system-ui;min-height:42px;box-sizing:border-box}
.k150-tools input{width:clamp(220px,32vw,420px)}
.k150-relocate{display:flex;align-items:end;gap:8px}.k150-relocate[hidden]{display:none!important}
.k150-relocate label{min-width:160px}
.k150-relocate button{min-height:42px;padding:10px 13px;border:1px solid #91b4e7;border-radius:9px;background:#e6f1ff;color:#174880;font:600 14px system-ui;cursor:pointer}
.k150-list-head{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#eaf2ff;padding:12px 14px;border:1px solid #d1e1f5;border-bottom:0;border-radius:12px 12px 0 0}
.k150-list-head strong{font-size:17px}.k150-list-head span{color:#627c99}
.k150-route{min-height:130px;flex:1;overflow-y:auto;overscroll-behavior:contain;border:1px solid #cbdcf2;border-radius:0 0 12px 12px;background:white;scrollbar-width:thin}
.k150-row{position:relative;display:flex;align-items:center;gap:13px;min-height:46px;padding:6px 12px;border-bottom:1px solid #d3deeb;background:#fff;box-sizing:border-box;cursor:pointer}
.k150-row:hover{background:#f2f7ff}.k150-row.k150-selected{background:#e0edff;outline:2px solid #2b67db;outline-offset:-2px;z-index:1}.k150-row.k150-dragging{opacity:.45}
.k150-handle{width:18px;flex-shrink:0;color:#6b88b0;cursor:grab;font-weight:bold;user-select:none;touch-action:none;font-size:20px;text-align:center}
.k150-index{width:31px;flex-shrink:0;color:#8498b2;font-variant-numeric:tabular-nums}
.k150-name{display:flex;flex-direction:column;gap:1px;min-width:0;flex:1}.k150-name strong{font-size:14px;color:#18345b;overflow-wrap:anywhere}.k150-name small{font-size:12px;color:#73859e}
.k150-jumps{display:flex;gap:4px;flex-wrap:wrap;justify-content:flex-end}
.k150-jumps button{padding:7px 8px;border:1px solid #b1c8e8;background:#f3f7ff;color:#1a4b85;border-radius:7px;cursor:pointer;font:600 12px system-ui}
.k150-bottom{display:flex;align-items:center;gap:10px;justify-content:flex-end;padding:12px;border:1px solid #d3e2f3;border-radius:12px;background:#fff}
.k150-status{margin-right:auto;color:#466c94}.k150-status.k150-error{color:#b22020}
.k150-bottom button{padding:11px 16px;border:1px solid #a9c4e8;border-radius:9px;background:#fff;color:#194a85;font:600 14px system-ui;cursor:pointer}
.k150-bottom .k150-save{background:#1d5dda;color:#fff;border-color:#1d5dda}
.k150-bottom button:disabled,.k150-relocate button:disabled{opacity:.42;cursor:not-allowed}
.k150-empty{padding:20px;color:#68829e}
html.k150-open{overflow:hidden}
.k150-screen button:focus-visible,.k150-screen input:focus-visible,.k150-screen select:focus-visible,.k150-launch:focus-visible{outline:3px solid #5d99ed;outline-offset:2px}
@media(max-width:1000px){.k150-screen{left:0}.k150-panel{padding:14px}.k150-jumps{max-width:300px}.k150-header h1{font-size:22px}}
@media(max-width:760px){
 .k150-screen{left:0;z-index:2147483000}
 .k150-panel{height:100dvh;gap:8px;padding:12px 10px 18px}
 .k150-header h1{font-size:19px}.k150-header p{font-size:12px}.k150-subheader{padding:8px;font-size:11px;flex-wrap:wrap}
 .k150-days{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.k150-day{font-size:12px;padding:10px 4px}
 .k150-tools{align-items:stretch;flex-direction:column;gap:8px}.k150-tools label{font-size:11px}.k150-tools input{width:100%}
 .k150-relocate{width:100%}.k150-relocate label{flex:1;min-width:0}.k150-relocate button{padding:6px;font-size:11px}
 .k150-list-head{padding:9px}.k150-list-head span{display:none}.k150-row{min-height:44px;gap:6px;padding:6px}.k150-name strong{font-size:12px}
 .k150-jumps{max-width:180px}.k150-jumps button{font-size:10px;padding:5px 7px}
 .k150-bottom{flex-wrap:wrap;padding:8px}.k150-bottom button{padding:9px;font-size:12px}.k150-status{flex-basis:100%;font-size:12px}
}

/* v151: exact visual insertion target for permanent route (same cue used for drop). */
.k151-drop-message{padding:9px 14px;border-radius:11px;border:1px solid #9fc5ff;background:linear-gradient(105deg,#e9f2ff,#f5faff);color:#104b9e;font-weight:700;font-size:13px;box-shadow:0 2px 9px #1d65d312}
.k151-drop-message[hidden]{display:none!important}
.k150-row.k151-before,.k150-row.k151-after{z-index:3;background:linear-gradient(90deg,#e7f2ff,#f8fbff)!important;border-color:#99bcf2;overflow:visible}
.k150-row.k151-before::before,.k150-row.k151-after::before{content:"";position:absolute;left:0;right:0;height:4px;background:#1764e8;border-radius:8px;z-index:8;pointer-events:none;box-shadow:0 0 0 1px #d3e6ff,0 0 12px #2276ef70}
.k150-row.k151-before::after,.k150-row.k151-after::after{content:attr(data-k151-label);position:absolute;left:50%;transform:translateX(-50%);padding:5px 14px;max-width:calc(100% - 44px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:linear-gradient(100deg,#1563e2,#0b8ce9);border:1px solid #fff9;border-radius:999px;color:#fff;font-size:12px;font-weight:800;line-height:1.25;box-shadow:0 4px 13px #124dbb4d;pointer-events:none;z-index:9}
.k150-row.k151-before::before{top:-2px}
.k150-row.k151-after::before{bottom:-2px}
.k150-row.k151-before::after{top:0;transform:translate(-50%,-50%)}
.k150-row.k151-after::after{bottom:0;transform:translate(-50%,50%)}
.k150-day.k150-drag-target{background:#c7dfff!important;box-shadow:inset 0 0 0 2px #1665e9,0 3px 14px #2364e425!important}
.k150-route:has(.k151-before,.k151-after){scrollbar-color:#6fa6f1 #e9f2ff}

/* Live day-load bars. Counts come from route draft, never invented metrics. */
.k151-distribution{display:flex;align-items:center;gap:23px;min-height:96px;padding:13px 20px;border-radius:16px;border:1px solid #cadef8;background:linear-gradient(115deg,#fff 5%,#f1f7ff 62%,#eaf1ff 100%);box-shadow:0 7px 25px #2e69b00b;box-sizing:border-box}
.k151-chart-caption{display:flex;flex-direction:column;gap:6px;flex:0 0 185px;color:#153d70}
.k151-chart-caption strong{font-size:17px}
.k151-chart-caption span{font-size:12px;color:#6280a2}
.k151-bars{display:flex;align-items:end;justify-content:space-evenly;gap:22px;flex:1;height:85px}
.k151-bar-item{display:flex;align-items:center;flex-direction:column;justify-content:end;gap:3px;min-width:65px;height:100%;color:#5278a6}
.k151-bar-number{font:800 16px/1.1 system-ui;color:#173e75;font-variant-numeric:tabular-nums}
.k151-bar-track{height:47px;width:58px;display:flex;align-items:flex-end;background:linear-gradient(180deg,#f7fbff,#d6e6ff);border-radius:9px;overflow:hidden}
.k151-bar-fill{width:100%;min-height:2px;background:linear-gradient(180deg,#55c9fa,#6498ff);border-radius:8px 8px 4px 4px;box-shadow:inset 0 2px 2px #ffffff5c;transition:height .22s ease}
.k151-bar-item.active .k151-bar-fill{background:linear-gradient(180deg,#1677fc,#2a52ef)}
.k151-bar-item.active .k151-bar-number{color:#1057d5}
.k151-bar-day{font-size:11px;font-weight:650;text-align:center}
.k151-bar-item.active .k151-bar-day{color:#1154cd}

/* Existing daily progress chart: cosmetic enhancements only, preserve live percentage, counts and click handlers. */
.workspace .route-progress-chart{background:linear-gradient(125deg,#fff,#f1f7ff 75%,#e7f1ff)!important;border:1px solid #d8e5fa;border-radius:18px!important;padding:14px!important;box-shadow:0 9px 28px #214b8712;transition:box-shadow .18s ease}
.workspace .route-progress-ring{filter:saturate(1.45) drop-shadow(0 5px 8px #3d8eff30);transition:filter .2s ease}
.workspace .route-progress-ring strong{color:#103b79;font-weight:850;letter-spacing:-.05em}
.workspace .route-progress-details>b{color:#21436f;font-weight:800}
.workspace .route-progress-stat{transition:transform .18s ease,box-shadow .18s ease;border-radius:12px!important}
.workspace .route-progress-stat.done{background:linear-gradient(110deg,#e5f9f3,#f5fffc)!important;border:1px solid #bfeadd!important;color:#146a55!important}
.workspace .route-progress-stat.remaining{background:linear-gradient(110deg,#eaf1ff,#f7f9ff)!important;border:1px solid #cbdcfa!important;color:#2353a6!important}
.workspace .route-progress-stat:hover{transform:translateY(-1px);box-shadow:0 5px 13px #225baa17}
@media(max-width:760px){
 .k151-distribution{padding:8px;gap:7px;min-height:69px;border-radius:10px}
 .k151-chart-caption{flex-basis:94px;gap:2px}
 .k151-chart-caption strong{font-size:11px;line-height:1.2}.k151-chart-caption span{font-size:9px}
 .k151-bars{height:65px;gap:3px}.k151-bar-item{min-width:37px}.k151-bar-number{font-size:11px}.k151-bar-track{width:30px;height:33px}.k151-bar-day{font-size:8px}
 .k151-drop-message{font-size:11px;padding:6px 9px}
 .k150-row.k151-before::after,.k150-row.k151-after::after{font-size:10px;padding:4px 8px}
}
@media(max-width:390px){.k151-chart-caption{flex-basis:79px}.k151-bar-track{width:26px}}
@media(prefers-reduced-motion:reduce){.k151-bar-fill,.workspace .route-progress-ring,.workspace .route-progress-stat{transition:none!important}}

/* v151: restore the *real* React calendar in mobile route view. Only hide duplicate heading. */
@media(max-width:760px){
 .workspace.mono-route .mono-day-bar{display:flex!important;visibility:visible!important;opacity:1!important;min-height:48px!important;max-height:none!important;overflow:visible!important}
 .workspace.mono-route .mono-day-bar>.mono-date{display:flex!important;visibility:visible!important;opacity:1!important;position:relative!important;align-items:center!important;min-width:160px!important;max-height:none!important}
 .workspace.mono-route .mono-day-bar>.mono-date input[type=date]{display:block!important;visibility:visible!important;opacity:1!important;min-width:130px;min-height:40px;pointer-events:auto!important}
 .workspace.mono-route .mobile-brand-heading small{display:none!important}
 .workspace.mono-route .page-heading .k63-direct-date{display:none!important}
 .k150-handle{min-width:38px!important;min-height:42px!important;display:flex;align-items:center;justify-content:center;font-size:27px!important;touch-action:none!important;-webkit-user-select:none;user-select:none}
 .k150-row{touch-action:pan-y}
 .k150-route{overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch}
}
.k151-touch-ghost{position:fixed;z-index:2147483500;transform:translateY(-50%);background:linear-gradient(120deg,#1a64e0,#188ae6);color:white;border:2px solid white;border-radius:9px;padding:9px 14px;max-width:min(75vw,330px);box-shadow:0 7px 22px #113b81a3;font:700 12px/1.3 system-ui;pointer-events:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* Mobile More menu: CSS order is used so React's original buttons retain their handlers. */
.mobile-more-body.k151-organized{display:flex!important;flex-direction:column!important;gap:8px}
.mobile-more-body.k151-organized>.k151-hide-more{display:none!important}
.mobile-more-body .k151-mobile-quick{display:block;width:100%;min-height:43px;text-align:left;border:1px solid #cbdcf2;background:#f7faff;border-radius:9px;color:#184374;padding:10px 13px;font:600 14px system-ui}
.mobile-more-body .k151-mobile-quick[hidden]{display:none!important}
.mobile-more-body .k150-launch{width:100%;text-align:left}

/* v152 pointer-driven cross-day route drag and persistent quick jump toolbar */
.k152-shortcuts{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding:9px 13px;border:1px solid #bdd4fa;border-bottom:0;background:linear-gradient(115deg,#e9f3ff,#f8fbff);color:#134078}
.k152-shortcuts[hidden]{display:none!important}
.k152-selected-label{font-size:13px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.k152-shortcut-buttons{display:flex;gap:7px;flex-wrap:wrap}
.k152-shortcut-buttons button{border:1px solid #9ebeee;background:white;color:#174c98;padding:9px 12px;border-radius:9px;font:600 13px system-ui;cursor:pointer;min-height:38px}
.k152-shortcut-buttons button:hover,.k152-shortcut-buttons button:focus-visible{background:#d6eaff;border-color:#3477d9}
.k150-day.k150-drag-target{background:#cce4ff!important;box-shadow:inset 0 0 0 2px #1d66da,0 0 0 4px #246ad81c!important}
.k150-row.k151-before::before,.k150-row.k151-after::before{height:4px!important;background:#1262e9!important;box-shadow:0 0 0 1px #fff,0 2px 5px #125acf40!important}
.k150-handle{touch-action:none!important;-webkit-user-select:none;user-select:none;cursor:grab}
.k150-handle:active{cursor:grabbing}
.k151-touch-ghost{opacity:.92!important}
@media(max-width:760px){
 .k152-shortcuts{flex-direction:column;align-items:stretch;gap:6px;padding:7px 9px}
 .k152-selected-label{font-size:12px}
 .k152-shortcut-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
 .k152-shortcut-buttons button{padding:9px 3px;min-width:0;font-size:12px;min-height:42px}
 .k150-days{position:relative;z-index:2}
}

/* v152: desktop More is a compact navigation panel, never the giant phone sheet. */
@media(min-width:761px){
 .workspace-more-sheet.mobile-more-sheet{position:fixed!important;left:auto!important;right:24px!important;top:auto!important;bottom:24px!important;transform:none!important;width:min(460px,calc(100vw - 48px))!important;min-width:0!important;max-width:460px!important;max-height:min(83dvh,730px)!important;overflow-y:auto!important;overscroll-behavior:contain;border:1px solid #d2dff0!important;border-radius:19px!important;box-shadow:0 24px 65px #071d3855!important}
 .workspace-more-sheet .mobile-more-body{display:flex!important;flex-direction:column!important;gap:9px!important}
 .workspace-more-sheet .mobile-more-body .k151-mobile-quick,
 .workspace-more-sheet .mobile-more-body .k150-launch{display:none!important}
}
/* Keep the native mobile bottom tabs clickable while editing the permanent list. */
@media(max-width:760px){
 .k150-screen{bottom:76px!important}
 .k150-panel{height:calc(100dvh - 76px)!important;min-height:0!important}
 .k150-header{gap:6px}
 .k150-route{min-height:100px}
}
@media(max-width:760px){.k150-route{overflow-anchor:none!important;scroll-behavior:auto!important;-webkit-overflow-scrolling:auto!important}}

.k152-shortcuts.k152-inactive{background:#f5f8fc;color:#6f8098;border-color:#d7e1ee}
.k152-shortcuts.k152-inactive .k152-shortcut-buttons button{opacity:.5;cursor:not-allowed}
/* Reserve preview/shortcut space even when idle: dragging must never shift the list under the finger. */
.k151-drop-message[hidden]{display:block!important;visibility:hidden!important}
/* Keep several route rows visible on real phones instead of letting charts consume the viewport. */
@media(max-width:760px){
 .k150-panel{gap:6px!important;padding:9px 10px 10px!important}
 .k150-header p{display:none!important}
 .k151-distribution{display:none!important}
 .k150-subheader{padding:6px 8px!important;gap:3px!important}
 .k150-tools{gap:4px!important}
 .k150-tools input,.k150-tools select{min-height:38px!important;padding:7px 9px!important}
 .k150-relocate button{min-height:38px!important}
 .k150-bottom{gap:5px!important;padding:6px!important}
 .k150-bottom button{min-height:36px!important;padding:6px 8px!important}
 .k151-drop-message{padding:5px 8px!important;min-height:15px}
}

/* v153. On mobile the More dialog is now the focused CRM menu, not a miscellaneous drawer. */
@media(max-width:760px){
 .mobile-more-sheet.k153-sheet>.k153-original-header,
 .mobile-more-sheet.k153-sheet .k153-original-header{display:none!important}
 .mobile-more-sheet .mobile-more-body.k153-menu{display:flex!important;flex-direction:column!important;gap:10px!important;padding-top:12px!important}
 .mobile-more-sheet .mobile-more-body.k153-menu> *{display:none!important}
 .mobile-more-sheet .mobile-more-body.k153-menu>.k153-menu-header{display:flex!important;align-items:center;justify-content:space-between;order:0;padding:0 2px 8px}
 .k153-menu-header strong{color:#133255;font:800 23px/1.2 system-ui}
 .k153-menu-close{background:#eef3fa;border:1px solid #d8e1ed;border-radius:9px;width:42px;height:42px;font:27px/1 system-ui;color:#27466c}
 .mobile-more-sheet .mobile-more-body.k153-menu>.k153-menu-profile{display:flex!important;flex-direction:column;gap:4px;order:10;padding:15px;background:#f0f5fd;border:1px solid #d7e4f5;border-radius:13px;color:#17375c}
 .k153-menu-profile strong{font:750 17px/1.3 system-ui}
 .k153-menu-profile small{font:500 13px/1.45 system-ui;color:#58708c}
 .mobile-more-sheet .mobile-more-body.k153-menu>.k153-menu-button,
 .mobile-more-sheet .mobile-more-body.k153-menu>.k153-permanent-button{display:block!important;width:100%;min-height:56px;border:1px solid #cadbf0;border-radius:12px;background:#f7faff;color:#174474;text-align:left;padding:14px 16px;font:700 16px/1.35 system-ui;cursor:pointer}
 .mobile-more-sheet .mobile-more-body.k153-menu>.k153-notification-panel:not([hidden]){display:block!important;order:45;background:#f8fbff;border:1px solid #d6e3f6;border-radius:11px;padding:12px;color:#29486c;font:500 13px/1.5 system-ui}
 .k153-notification-panel[hidden]{display:none!important}
 .k153-notification-panel p{margin:0 0 8px}
 .k153-request-notifications{padding:9px 12px;background:#1e66d8;border:0;border-radius:9px;color:white;font-weight:700}
 /* Keep a single prominent and native-connected route date on the main screen. */
 .workspace.mono-route .topbar{flex-wrap:wrap!important;overflow:visible!important}
 .workspace.mono-route .topbar>.k153-mobile-date{display:flex!important;flex:1 0 100%;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;background:#edf5ff;border:1px solid #bcd4f8;border-radius:12px;box-sizing:border-box;margin:5px 0 6px;color:#17487a;font:750 14px system-ui}
 .workspace.mono-route .k153-mobile-date input[type=date]{display:block!important;min-width:148px;max-width:210px;min-height:43px;padding:9px;border:1px solid #9bbbe8;background:#fff;border-radius:9px;font:700 14px system-ui;color:#143c70;pointer-events:auto!important}
 html.k153-date-ready .workspace.mono-route .mono-day-bar>.mono-date{display:none!important}
 html.k153-date-ready .workspace.mono-route .page-heading .k63-direct-date{display:none!important}
 html.k153-date-ready .workspace.mono-route .mobile-brand-heading small{display:none!important}
}
@media(min-width:761px){.k153-mobile-date{display:none!important}}

/* v153: active permanent scheduling state always supersedes React's previous route tab. */
@media(min-width:761px){
 html.k150-open .rail-sections .rail-nav.rail-active:not([data-k150-link]){
  background:transparent!important;box-shadow:none!important;border-color:transparent!important;color:#b9c9dd!important;font-weight:500!important;
 }
 html.k150-open .rail-sections [data-k150-link]{
  color:#fff!important;background:linear-gradient(120deg,#295fa9,#17468d)!important;
  border:1px solid #5b99ef!important;box-shadow:inset 3px 0 0 #95c2ff!important;font-weight:800!important;
 }
 /* On desktop, More is removed from the UI. Existing handlers remain mounted in React. */
 .rail-sections [data-k153-desktop-more="1"]{display:none!important}
 .topbar .tablet-more-button{display:none!important}
 .rail{display:flex!important;flex-direction:column!important}
 .rail .k153-desktop-notify{display:flex!important;align-items:center;gap:10px;flex-shrink:0;margin-top:auto;margin-bottom:5px;width:calc(100% - 20px);margin-left:10px;margin-right:10px;color:#e7f1ff;background:#1a3659;border:1px solid #43618c;border-radius:10px;min-height:45px;padding:10px 9px;font:700 13px system-ui;cursor:pointer}
 .rail .k153-desktop-notify:hover{background:#265489}
 .rail .rail-bottom{flex-shrink:0}
 .k153-notification-sheet{position:fixed;bottom:95px;left:190px;width:min(340px,calc(100vw - 230px));z-index:2147483510;background:#fff;border:1px solid #b8d3f6;border-radius:14px;padding:16px;color:#184674;box-shadow:0 15px 35px #122a5155}
 .k153-notification-sheet[hidden]{display:none!important}
 .k153-notification-sheet header{display:flex;justify-content:space-between;align-items:center}
 .k153-notification-sheet header button{font-size:23px;background:transparent;border:0;color:#194d87;cursor:pointer}
 .k153-desktop-notify-request{padding:8px 12px;border:1px solid #2a65c2;border-radius:8px;color:#fff;background:#2565cf;cursor:pointer}
 .k153-desktop-notify-request[hidden]{display:none!important}
}
@media(max-width:760px){.k153-desktop-notify,.k153-notification-sheet{display:none!important}}

/* v154: bigger permanent-route list, consistent active nav. */
@media(min-width:761px){
 .k150-panel{gap:8px!important;padding:13px 17px!important}
 .k150-header h1{font-size:23px!important}
 .k150-header p{font-size:12px!important}
 .k150-subheader{padding:7px 12px!important}
 .k151-distribution{min-height:65px!important;padding:6px 14px!important;gap:12px!important}
 .k151-bars{height:56px!important}
 .k151-chart-caption{flex-basis:174px!important}
 .k151-chart-caption strong{font-size:14px!important}
 .k151-bar-item{min-width:55px!important}
 .k151-bar-track{height:26px!important;width:46px!important}
 .k150-day{padding:8px 5px!important}
 .k150-tools input,.k150-tools select{min-height:36px!important;padding:6px 9px!important}
 .k150-relocate button{min-height:36px!important;padding:7px!important}
 .k150-list-head{padding:8px 12px!important}
 .k150-route{min-height:300px!important;flex:1 1 auto!important}
 .k150-row{min-height:41px!important;padding:3px 10px!important}
 .k150-bottom{padding:6px 11px!important}
 .k150-bottom button{padding:8px 12px!important}
 .k152-shortcuts{padding:5px 11px!important}
 .k152-shortcut-buttons button{min-height:32px!important;padding:6px 9px!important}
 .rail-sections .k154-hide-more, .rail-sections [data-k153-desktop-more='1']{display:none!important}
 html.k150-open .rail-sections .rail-nav:not([data-k150-link]).rail-active,
 html.k150-open .rail-sections .rail-nav:not([data-k150-link])[aria-current='page']{
  background:none!important;border-color:transparent!important;box-shadow:none!important;outline:none!important;color:#b9c9dd!important;
 }
 html.k150-open .rail-sections [data-k150-link]{background:#295fa9!important;color:white!important;border-color:#6c9be9!important;box-shadow:inset 3px 0 0 #93c2ff!important}
}
/* Position commands must be available when the selected point is still on a different day. */
.k152-shortcuts:not(.k152-inactive){border-color:#87b5f4;background:#eaf3ff}
.k150-day.k150-drag-target{outline:3px solid #3183f4;outline-offset:-3px}
@media(min-width:761px){
 /* React owns the original button; hide it by semantics even if it is repainted. */
 .rail-sections > .rail-nav[aria-haspopup="dialog"],
 .rail-sections > button[aria-haspopup="dialog"],
 .rail-sections .rail-nav.k154-hide-more{display:none!important}
}
/* The finish-route action is the existing React action, now next to the real progress ring. */
.workspace .mono-day-bar .day-work-actions .finish-route-button{border-color:#c79b60;background:#fff6e9;color:#744a10;font-weight:750}
.workspace .mono-day-bar .day-work-actions{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
@media(max-width:760px){
 .workspace .mono-day-bar .day-work-actions .finish-route-button{min-height:40px;max-width:100%}
}
