/* Requested controls only. Existing colors, cards, header and navigation are retained. */
.mli-entry{display:flex!important;gap:8px;align-items:stretch;margin:10px 0;background:transparent!important;padding:4px;box-sizing:border-box;}
.mli-entry textarea{min-width:0;flex:1;font:inherit;font-size:16px;line-height:1.45;border:2px solid #153777;border-radius:9px;background:#fff!important;color:#08162c;padding:10px;resize:vertical;box-sizing:border-box;}
.mli-entry-submit{align-self:stretch;min-height:44px;min-width:100px;padding:8px 14px;background:#ffd400!important;color:#102755!important;border:2px solid #153777!important;border-radius:9px;font-weight:800;font-size:15px;cursor:pointer;touch-action:manipulation;}
.mli-selection-bar{position:fixed;left:50%;bottom:max(10px,env(safe-area-inset-bottom));transform:translateX(-50%);z-index:2147483600;display:flex;flex-wrap:wrap;gap:8px;align-items:center;width:min(760px,calc(100vw - 20px));box-sizing:border-box;padding:10px 12px;background:#fff5bb;color:#153777;border:2px solid #153777;border-radius:10px;box-shadow:0 10px 28px rgba(0,0,0,.20);}
.mli-select-label{display:flex;align-items:center;gap:3px;min-height:44px;font-size:12px;font-weight:bold;flex-shrink:0;}
.mli-select-item,.mli-completion{width:22px;height:22px;min-width:22px;accent-color:#153777;cursor:pointer;}
.mli-completion[hidden]{display:none!important;}
.mli-item-selected{outline:2px solid #153777;outline-offset:-2px;background:#fff9d8!important;}
.mli-item-done .mli-v60725-text{text-decoration:line-through;opacity:.65;}
.mli-bin-menu{min-width:44px;min-height:44px;font-size:25px;font-weight:bold;background:#fff;border:2px solid #153777;border-radius:8px;color:#153777;touch-action:manipulation;}
.mli-revision-overlay{position:fixed;inset:0;z-index:2147483646;background:#07162cad;display:flex;align-items:center;justify-content:center;padding:max(12px,env(safe-area-inset-top)) 12px max(12px,env(safe-area-inset-bottom));box-sizing:border-box;}
.mli-revision-dialog{width:min(610px,100%);max-height:85vh;max-height:85dvh;overflow:auto;overscroll-behavior:contain;background:white;color:#102755;border:3px solid #ffd400;border-radius:16px;padding:20px;box-sizing:border-box;}
.mli-revision-dialog h2{margin-top:0;font-size:23px;}.mli-revision-dialog p{line-height:1.5;}.mli-revision-dialog button{min-height:44px;margin:4px;font-size:16px;white-space:normal;}.mli-revision-dialog input{width:100%;box-sizing:border-box;padding:12px;font-size:18px;}
.mli-destination-choice{display:block;width:calc(100% - 8px);text-align:left;background:#fff;border:2px solid #153777;color:#153777;padding:12px;border-radius:8px;overflow-wrap:anywhere;}
.mli-revision-dialog-open{overflow:hidden!important;}
.mli-trash-card{padding:12px;margin:10px 0;border:1px solid #b8c5d8;border-radius:9px;overflow-wrap:anywhere;}
.mli-data-status{padding:10px 15px;background:#eaf6ec;border-radius:8px;margin:10px;color:#153777;font-size:14px;line-height:1.4;}
.mli-data-status[hidden]{display:none!important;}.mli-status-error{background:#fff0cf;border:1px solid #997426;}
.section,.mli-planner-bin,.row{scroll-margin-top:calc(var(--mli-sticky-stack-height,100px) + 15px);}
@media(max-width:350px){.mli-entry{flex-wrap:wrap}.mli-entry textarea{flex-basis:100%}.mli-entry-submit{width:100%}.mli-revision-dialog{padding:13px}}

#badge-followup::after{content:' items'}
#followup-count::after{content:' contacts'}

/* 2.60920: a single compact entry design, including during drag/repaint. */
html body #app .mli-entry{align-items:flex-start!important;gap:7px!important;padding:0!important;margin:6px 0!important;min-height:0!important;}
html body #app .mli-entry textarea{height:38px;min-height:38px!important;max-height:112px!important;padding:7px 9px!important;line-height:20px!important;border-width:1px!important;border-radius:7px!important;resize:none!important;overflow-y:auto!important;}
html body #app .mli-entry-submit{align-self:flex-start!important;height:38px!important;min-height:38px!important;min-width:80px!important;padding:6px 10px!important;font-size:14px!important;line-height:20px!important;border-width:1px!important;border-radius:7px!important;}
html body #app .section-body>.mli-v60724-add,
html body #app .section-body>.mli-v60725-add,
html body #app .section-body>.mli-final-add-trigger,
html body #app .section-body>.mli-final-add-editor,
html body #app .section-body>.add-row,
html body #app .mli-planner-body>.mli-add-trigger,
html body #app .mli-planner-body>.mli-add-editor{display:none!important;}
/* The old zero-width text wrapper inside a grid made saved month items invisible. */
html body #app .mli-planner-row{display:flex!important;align-items:flex-start!important;gap:7px!important;min-width:0!important;position:relative!important;min-height:38px!important;padding:7px!important;box-sizing:border-box!important;}
html body #app .mli-item-content{width:auto!important;min-width:0!important;flex:1 1 0!important;}
html body #app .mli-planner-text{min-width:0!important;min-height:0!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important;font-size:16px!important;line-height:1.5!important;}
html body #app .mli-planner-row>.mli-v60724-handle{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 34px!important;width:34px!important;min-width:34px!important;height:34px!important;border:0!important;border-radius:0!important;background:transparent!important;color:transparent!important;font-size:0!important;line-height:0!important;box-shadow:none!important;cursor:grab!important;touch-action:none!important;user-select:none!important;}
html body #app .mli-planner-row>.mli-safe-menu-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 36px!important;width:36px!important;min-width:36px!important;height:34px!important;margin-left:auto!important;}
html body #app .mli-planner-row>.mli-completion{flex-shrink:0!important;}
html body #app .mli-item-done .mli-planner-text{text-decoration:line-through!important;opacity:.65!important;}
html body #app .mli-planner-row.mli-drop-target::before{content:'';position:absolute;left:10px;right:10px;top:-2px;height:3px;background:#0b63ce;border-radius:3px;box-shadow:none;pointer-events:none;}
html body #app .mli-planner-row.mli-drop-after::before{top:auto!important;bottom:-2px!important;}
html body #app .mli-week-lite-items{gap:6px!important;}
.mli-week-send{min-height:30px!important;padding:3px 8px!important;margin-top:4px!important;border:1px solid #153777!important;border-radius:6px!important;background:#fff!important;color:#153777!important;font-size:12px!important;}
.mli-revision-dialog input[type="date"]{width:auto;max-width:100%;padding:8px;font-size:16px;margin:5px 0 10px;}
#mli-exit-btn-260818{white-space:normal!important;max-width:160px!important;}
@media(max-width:480px){html body #app .mli-entry textarea{flex:1 1 0!important;}html body #app .mli-entry-submit{width:auto!important;min-width:74px!important;}.mli-entry{flex-wrap:nowrap!important;}#mli-exit-btn-260818{max-width:92px!important;font-size:11px!important;line-height:1.15!important;}.mli-week-lite-add{grid-template-columns:1fr 1fr!important;}.mli-week-lite-add input[data-week-lite-field="text"]{grid-column:1/-1!important;grid-row:1!important;}}

/* Link previews occupy their own line; they must never consume the item text column. */
html body #app .mli-planner-row{flex-wrap:wrap!important;}
html body #app .mli-planner-row>.mli-item-link-preview{flex:0 0 100%!important;width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important;}
html body #app .section-body>.row.mli-drop-after::before{top:auto!important;bottom:-4px!important;}

html body #app .row,html body #app .mli-planner-row,html body #app .section-header,html body #app .mli-week-lite-day-btn{scroll-margin-top:calc(var(--mli-sticky-stack-height,100px) + 12px);}
/* Older phone cleanup rules disabled pointer events on planner handles. */
html body #app .mli-planner-row>.mli-v60724-handle,html body #app .row>.mli-v60724-handle{pointer-events:auto!important;touch-action:none!important;}

/* Transfer-selection clarification: completion stays separate and unchanged. */
html body #app .mli-completion-label{display:inline-flex!important;flex:0 0 34px!important;flex-direction:column!important;align-items:center!important;gap:1px!important;min-width:34px!important;max-width:34px!important;margin:0!important;color:#153777!important;cursor:pointer!important;font-size:9px!important;line-height:11px!important;font-weight:700!important;white-space:nowrap!important;}
html body #app .mli-completion-label>.mli-completion{margin:0!important;flex-shrink:0!important;}
html body #app .mli-completion-label[hidden]{display:none!important;}
html body #app .mli-select-label{color:#153777!important;}
html body #app .mli-completion-label>.mli-select-item{margin:0!important;flex-shrink:0!important;}
html body #app .mli-selection-slot{color:#153777!important;}


/* September 28 requested controls. Existing page/card colors and layout are intentionally untouched. */
.mli-selection-bar{overflow-anchor:none!important;}
.mli-select-all-compact{align-self:flex-start;height:38px;min-height:38px;padding:6px 9px;border:1px solid #153777;border-radius:7px;background:#fff;color:#153777;font:inherit;font-size:12px;font-weight:800;white-space:nowrap;cursor:pointer;touch-action:manipulation;}
.mli-select-all-compact:disabled{opacity:.45;cursor:not-allowed;}
.mli-bin-name-menu{flex:0 0 32px;width:32px;height:32px;min-width:32px;min-height:32px;padding:0;border:1px solid #153777;border-radius:7px;background:#fff;color:#153777;font-size:20px;font-weight:900;line-height:1;cursor:pointer;touch-action:manipulation;}
.mli-rename-error{min-height:18px;margin:4px 0;color:#9c1c1c;font-size:13px;font-weight:700;}
.mli-transfer-dialog{background:#071a3d!important;color:#fff!important;border-color:#ffd400!important;box-shadow:0 20px 56px rgba(0,0,0,.48)!important;display:flex!important;flex-direction:column!important;max-height:min(88dvh,760px)!important;overflow:hidden!important;}
.mli-transfer-dialog h2,.mli-transfer-dialog>p,.mli-transfer-dialog>label{color:#fff!important;flex:0 0 auto!important;}
.mli-transfer-dialog .mli-destination-group-title{position:sticky;top:0;z-index:2;margin:10px 0 4px;padding:7px 5px 5px;background:#071a3d;color:#ffd400!important;font-size:12px;letter-spacing:.06em;text-transform:uppercase;}
.mli-transfer-dialog .mli-destination-list{display:grid;gap:6px;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;touch-action:pan-y;padding:0 2px 8px;}
.mli-transfer-dialog .mli-destination-choice{width:100%;min-height:46px;margin:0!important;background:#0d2d66!important;color:#fff!important;border:1px solid rgba(255,212,0,.48)!important;border-radius:8px!important;padding:10px 12px!important;text-align:left!important;touch-action:pan-y!important;}
.mli-transfer-dialog .mli-destination-choice:hover,.mli-transfer-dialog .mli-destination-choice:focus-visible{background:#153777!important;border-color:#ffd400!important;outline:2px solid rgba(255,212,0,.28)!important;}
.mli-transfer-dialog input[type="date"]{background:#fff!important;color:#071a3d!important;}

.mli-confirm-dialog{background:#071a3d!important;color:#fff!important;border-color:#ffd400!important;box-shadow:0 20px 56px rgba(0,0,0,.48)!important;}
.mli-confirm-dialog h2,.mli-confirm-dialog p{color:#fff!important;}
.mli-confirm-dialog .btn-outline{background:transparent!important;color:#fff!important;border-color:rgba(255,255,255,.72)!important;}
.mli-operation-popup{position:fixed;left:50%;bottom:max(18px,env(safe-area-inset-bottom));transform:translateX(-50%);z-index:2147483647;display:flex;align-items:center;gap:8px;flex-wrap:wrap;max-width:min(92vw,620px);padding:10px 12px;background:#071a3d;color:#fff;border:2px solid #ffd400;border-radius:11px;box-shadow:0 12px 34px rgba(0,0,0,.38);font-size:14px;line-height:1.35;}
.mli-operation-popup strong{flex:1 1 220px;}
.mli-operation-popup button{min-height:34px;padding:5px 10px;border-radius:7px;font-weight:800;cursor:pointer;}
.mli-operation-undo{background:#ffd400;color:#071a3d;border:1px solid #ffd400;}
.mli-operation-close{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.72);}
html body #app .row,html body #app .mli-planner-row,html body #app .mli-item-content{overflow-anchor:none;}
@media(max-width:480px){.mli-select-all-compact{padding:5px 7px;font-size:11px;}.mli-selection-bar{left:8px;right:8px;width:auto;transform:none;gap:6px;padding:8px;}.mli-selection-bar>span{display:none;}.mli-selection-bar .btn{min-height:36px!important;padding:6px 9px!important;font-size:12px!important;}.mli-operation-popup{left:10px;right:10px;transform:none;max-width:none;}.mli-transfer-dialog{padding:15px;max-height:calc(100dvh - 20px)!important;}}

/* Sep 29 search controls only. Existing page theme is unchanged. */
#app-search-results.mli-search-authoritative{max-height:300px;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;touch-action:pan-y;}
.mli-search-result-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 10px;align-items:center;margin:7px 0;padding:9px 10px;border:1px solid rgba(21,55,119,.25);border-radius:10px;background:#fff;color:#071a3d;}
.mli-search-result-card>strong{min-width:0;overflow-wrap:anywhere;color:#153777;font-size:13px;line-height:1.35;}
.mli-search-result-card>small{grid-column:1;color:#46556c;font-size:11px;line-height:1.35;}
.mli-search-go{grid-column:2;grid-row:1/3;min-width:72px;min-height:40px;padding:7px 10px;border:1px solid #153777;border-radius:8px;background:#fff;color:#153777;font-weight:800;cursor:pointer;touch-action:manipulation;}
.mli-search-go:focus-visible{outline:2px solid #ffd400;outline-offset:2px;}
#mli-exit-choice-status.mli-exit-error{color:#9b1025;font-weight:800;}

/* September 29 requested bin/header/save warning refinements. */
.mli-storage-warning-popup{position:fixed;z-index:2147483647;left:50%;top:max(16px,env(safe-area-inset-top));transform:translateX(-50%);display:flex;align-items:flex-start;gap:10px;width:min(92vw,720px);padding:12px 12px 12px 14px;background:#071a3d;color:#fff;border:2px solid #ffd400;border-radius:10px;box-shadow:0 14px 38px rgba(0,0,0,.35);font-size:13px;line-height:1.45;}
.mli-storage-warning-message{flex:1 1 auto;min-width:0;}
.mli-storage-warning-close{flex:0 0 34px;width:34px;height:34px;min-width:34px;padding:0;border:1px solid rgba(255,255,255,.65);border-radius:7px;background:transparent;color:#fff;font-size:22px;line-height:1;cursor:pointer;touch-action:manipulation;}
html body #app .section-header{align-items:center!important;}
html body #app .section-header>.section-left{align-items:center!important;min-width:0!important;}
html body #app .section-header .section-title{display:inline-flex!important;align-items:center!important;min-height:34px!important;line-height:1.2!important;}
html body #app .mli-bin-header-actions{margin-left:auto!important;display:inline-flex!important;align-items:center!important;justify-content:flex-end!important;gap:6px!important;flex:0 0 auto!important;}
html body #app .mli-bin-header-actions .chevron{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:22px!important;}
html body #app .section-header .section-drag-handle,
html body #app .section-header .mli-final-bin-drag-handle{position:relative!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 34px!important;width:34px!important;min-width:34px!important;height:34px!important;min-height:34px!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:transparent!important;box-shadow:none!important;overflow:hidden!important;}
html body #app .section-header .section-drag-handle::before,
html body #app .section-header .mli-final-bin-drag-handle::before{content:""!important;display:block!important;width:17px!important;height:2px!important;border-radius:999px!important;background:#153777!important;box-shadow:0 5px #153777,0 10px #153777!important;}
html body #app #view-priorities>.section.mli-drop-target::before,
html body #app #custom-bin-sections>.section.mli-drop-target::before{left:10px!important;right:10px!important;top:-1px!important;height:2px!important;border-radius:999px!important;background:#0b63ce!important;box-shadow:none!important;}
html body #app #view-priorities>.section.mli-bin-drop-after::before,
html body #app #custom-bin-sections>.section.mli-bin-drop-after::before{top:auto!important;bottom:-1px!important;}
html body #app .section-body>.row.mli-drop-target::before,
html body #app .section-body>.row.mli-v60724-drop::before,
html body #app .mli-planner-row.mli-drop-target::before{height:2px!important;box-shadow:none!important;}


/* 2.60929 focused Weekly/Controls update. */
html body #app .mli-position-add-trigger{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;box-sizing:border-box!important;min-height:40px!important;margin:7px 0!important;padding:7px 10px!important;background:#fff!important;color:#153777!important;border:1px dashed rgba(21,55,119,.42)!important;border-radius:8px!important;font:inherit!important;font-size:13px!important;font-weight:800!important;cursor:pointer!important;touch-action:manipulation!important;}
html body #app .mli-position-add-trigger:hover,html body #app .mli-position-add-trigger:focus-visible{background:#f8fbff!important;border-color:#153777!important;outline:none!important;}
html body #app .mli-position-add-trigger[hidden]{display:none!important;}
html body #app .mli-position-add-editor{align-items:flex-start!important;}
html body #app .mli-position-add-cancel{height:38px!important;min-height:38px!important;padding:6px 10px!important;margin:0!important;font-size:13px!important;}
html body #app .section-body>.row,html body #app .mli-planner-row{align-items:center!important;}
html body #app .section-body>.row>.mli-item-content,html body #app .mli-planner-row>.mli-item-content{align-self:center!important;}
html body #app .mli-week-lite-nav button.mli-week-nav-active{background:#153777!important;color:#fff!important;border-color:#153777!important;box-shadow:inset 0 0 0 1px rgba(255,212,0,.45)!important;}
html body #app .mli-week-lite-detail-actions{display:flex!important;justify-content:flex-end!important;align-items:center!important;margin:0 0 4px!important;}
html body #app .mli-week-lite-menu{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:40px!important;min-width:40px!important;height:38px!important;min-height:38px!important;padding:0!important;border:1px solid #153777!important;border-radius:7px!important;background:#fff!important;color:#153777!important;font-size:22px!important;font-weight:900!important;line-height:1!important;cursor:pointer!important;touch-action:manipulation!important;}
@media(max-width:480px){html body #app .mli-position-add-editor{flex-wrap:wrap!important;}html body #app .mli-position-add-editor textarea{flex:1 1 calc(100% - 92px)!important;}html body #app .mli-position-add-cancel{flex:0 0 auto!important;}}

/* 2.60929 Priorities Move/Copy correction: keep the item action sheet above the fixed app header/nav. */
html body #mli-safe-action-overlay{z-index:2147483500!important;}


/* 2.61002 completion + selection placement consistency. */
html body #app .mli-item-done .mli-v60725-text,
html body #app .mli-item-done .mli-v60724-text,
html body #app .mli-item-done .row-text,
html body #app .mli-item-done .mli-planner-text,
html body #app .mli-item-done .mli-compact-text,
html body #app .mli-item-done .mli-item-content>[contenteditable="true"]{text-decoration:line-through!important;opacity:.65!important;}
.mli-bin-select-menu-group{display:flex;flex-wrap:wrap;gap:7px;margin:2px 0 10px;padding-bottom:10px;border-bottom:1px solid rgba(21,55,119,.18);}
.mli-bin-select-menu-group .btn{margin:0!important;}
.mli-bin-selection-controls{display:flex;align-items:center;gap:6px;margin:5px 0 7px;min-height:38px;}
.mli-bin-selection-controls .mli-select-all-compact{margin:0!important;}
body.mli-selection-active #views{padding-bottom:var(--mli-selection-space,96px)!important;scroll-padding-bottom:var(--mli-selection-space,96px)!important;}
body.mli-selection-active #app{scroll-padding-bottom:var(--mli-selection-space,96px)!important;}
#mli-selection-bar{position:fixed!important;left:50%!important;right:auto!important;bottom:max(10px,env(safe-area-inset-bottom))!important;transform:translateX(-50%)!important;margin:0!important;}
@media(max-width:480px){#mli-selection-bar{left:8px!important;right:8px!important;width:auto!important;transform:none!important;bottom:max(8px,env(safe-area-inset-bottom))!important;}.mli-bin-selection-controls{gap:5px;}.mli-bin-selection-controls .mli-select-all-compact{font-size:10px!important;padding:5px 6px!important;}}
