@layer mgkans-exchange189;
/* source: styles178.css */
@layer mgkans-filterlayout174;
@layer mgkans-finish173;
@layer mgkans-account172;
@layer mgkans-dashboard169;
@layer mgkans-dimensions168;
@layer mgkans-search158;
@layer mgkans-layout157;
@layer mgkans-communications156;
@layer mgkans-automation155;
@layer mgkans-search154;
@layer mgkans-actions153;
@layer mgkans-workspace152;
@layer mgkans-reference151;
@layer mgkans-deals150;
@layer mgkans-sort149;
@layer mgkans-grid148;
@layer mgkans-pack146;
@layer mgkans-layout145;
@layer mgkans-period143;
/* style.css */
*{box-sizing:border-box}body{margin:0;background:#f7f9fc;color:#263449;font:14px Arial,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer;border:1px solid #dfe5ee;background:white;border-radius:7px;padding:10px 14px;color:#526178;transition:.15s}button:hover{background:#edf3ff;color:#275dd9}button:focus-visible,input:focus,select:focus,textarea:focus{outline:2px solid #6991ef;outline-offset:2px}aside{position:fixed;inset:0 auto 0 0;width:218px;background:#fff;border-right:1px solid #e7ebf1;padding:30px 18px;display:flex;flex-direction:column}.brand{font-size:29px;font-weight:750;letter-spacing:-1px;padding:0 10px}.brand>span:first-child{color:#4e78e6;margin-right:9px}.dot{color:#4e78e6}.workspace{font-size:9px;letter-spacing:1.6px;color:#99a4b5;margin:40px 10px 16px}nav button,.bottom>button{width:100%;border:0;text-align:left;display:flex;gap:13px;align-items:center;background:transparent;margin:4px 0;padding:13px;font-size:18px}nav button span,.bottom button span{font-size:14px}nav button.active,.bottom button.active{background:#edf2ff;color:#3c68d9;font-weight:bold}.divider{height:1px;background:#edf0f5;margin:24px 10px}.bottom{margin-top:auto}.profile{border-top:1px solid #eef0f4;margin-top:24px;padding-top:24px;display:flex;gap:12px;font-size:12px;align-items:center}.profile b{border-radius:50%;background:#eaf0ff;color:#5273bb;padding:12px}.profile small{display:block;color:#9ba5b5;margin-top:5px}main{margin-left:218px;padding:32px 30px 0}header{display:flex;align-items:center;justify-content:space-between;margin-bottom:30px}.eyebrow{font-size:9px;letter-spacing:2px;color:#98a5b8;margin-bottom:10px}h1{font-size:27px;letter-spacing:-.7px;margin:0;font-weight:600}.primary{background:#4e73df;color:white;border-color:#4e73df;box-shadow:0 3px 5px #416ad116}.primary:hover{background:#3b61c9;color:white}.toolbar{display:flex;gap:10px;align-items:center;padding:19px 20px;background:white;border:1px solid #e5eaf1;border-radius:12px 12px 0 0;flex-wrap:wrap}.range{font-size:17px;font-weight:600;margin:0 10px}.segments{display:flex;background:#f3f5f9;border-radius:6px;padding:3px}.segments button{padding:7px 13px;background:transparent;border:0;font-size:12px}.segments button.selected{background:white;color:#436bd1;box-shadow:0 1px 5px #14254712}.spacer{flex:1}.search{max-width:200px}.toolbar input,.toolbar select{border:1px solid #e3e8f0;background:#fff;border-radius:6px;padding:9px;color:#657187}.hint{padding:12px 20px;background:#fff;color:#94a0b2;font-size:11px;border-left:1px solid #e5eaf1;border-right:1px solid #e5eaf1;display:flex;justify-content:space-between}.calendar{height:calc(100vh - 259px);min-height:370px;overflow:auto;border:1px solid #e5eaf1;background:white;border-radius:0 0 12px 12px}.week{min-width:740px;position:relative}.days{position:sticky;top:0;background:#fff;display:grid;z-index:5;border-bottom:1px solid #e5eaf1}.dayhead{padding:14px 5px;text-align:center;border-left:1px solid #edf0f5;color:#919caf;font-size:11px}.dayhead strong{display:inline-block;font-size:20px;font-weight:500;color:#455469;margin-top:7px;border-radius:50%;padding:6px}.dayhead.today strong{background:#5075df;color:white}.dayhead.today{color:#4b70d5}.timehead{padding:18px 6px;font-size:10px;color:#a4adba;text-align:center}.grid{display:grid;position:relative}.times{color:#9aa5b4;font-size:10px}.times div{height:64px;padding:8px;text-align:center}.daycol{border-left:1px solid #e8edf4;position:relative}.daycol.today{background:#fbfcff}.slot{height:32px;border-bottom:1px dotted #eff2f6}.slot:nth-child(even){border-bottom:1px solid #e8edf4}.slot:hover,.slot.over{background:#ecf2ff}.task{position:absolute;border:0;border-left:3px solid #4d7be6;background:#edf3ff;color:#4165ad;border-radius:5px;padding:8px;text-align:left;overflow:hidden;font-size:11px;cursor:grab;box-shadow:0 2px 3px #17376505;z-index:2}.task strong{display:block;margin:5px 0;font-size:12px}.task small{opacity:.75}.task.green{background:#eaf6f1;border-color:#5baf91;color:#338269}.task.purple{background:#f1edfb;border-color:#9b7bd0;color:#7e5aae}.task.done{opacity:.55;text-decoration:line-through}.task:active{cursor:grabbing}.monthgrid{display:grid;grid-template-columns:repeat(7,1fr);min-width:740px}.monthcell{min-height:120px;border-right:1px solid #e8edf4;border-bottom:1px solid #e8edf4;padding:8px}.monthcell>button{display:block;width:100%;margin-top:5px;padding:6px;font-size:11px;text-align:left;background:#edf3ff;color:#4165ad}.monthcell.out{opacity:.4}.panel{background:white;border:1px solid #e5eaf1;border-radius:12px;padding:22px;overflow:auto}table{width:100%;border-collapse:collapse;white-space:nowrap}th{text-align:left;color:#7c8a9d;background:#f6f8fc;font-size:11px;font-weight:500;letter-spacing:.3px}td,th{padding:18px 13px;border-bottom:1px solid #edf0f5}td{font-size:13px}.empty{text-align:center;padding:70px 20px;color:#9aa5b5}.badge{display:inline-block;padding:5px 9px;background:#edf7f1;color:#4b9571;border-radius:5px;font-size:11px}.sub{color:#97a3b3;font-size:12px}.tabs{margin-bottom:20px;display:flex;gap:10px}footer{font-size:10px;color:#9ba6b6;padding:17px 0}.online{color:#74b99b;margin-right:5px}.footright{float:right}dialog{border:0;border-radius:16px;width:490px;max-width:95vw;padding:27px;box-shadow:0 25px 100px #14223730}dialog::backdrop{background:#14223760;backdrop-filter:blur(3px)}.modalhead{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.modalhead h2{font-size:21px;margin:0}.modalhead button{border:0}label{display:block;font-size:12px;color:#748195;margin:13px 0 6px}input,select,textarea{width:100%;padding:11px;border:1px solid #dce3ed;border-radius:6px;background:white;color:#344357}textarea{resize:vertical;min-height:75px}.row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.actions{display:flex;gap:8px;margin-top:25px;justify-content:flex-end}.danger{color:#c86868;margin-right:auto;border:0}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:14px 23px;background:#273a57;color:white;border-radius:9px;z-index:20;display:none}.check{width:auto}.salary{width:120px}.mutedbox{padding:18px;background:#f5f8fd;color:#6d7d95;line-height:1.6;border-radius:8px;margin-bottom:20px}@media(max-width:950px){aside{width:68px;padding:20px 8px}.brand{font-size:0;padding:0}.brand>span:first-child{font-size:27px}.workspace,nav button span,.bottom button span,.profile,.dot{display:none}nav{margin-top:30px}main{margin-left:68px;padding:22px 14px 0}.toolbar{padding:12px}.range{font-size:14px;margin:0}.footright{display:none}h1{font-size:22px}.calendar{height:calc(100vh - 290px)}header{gap:8px}header button{font-size:12px}.search{max-width:140px}}

dialog.wide{width:min(1150px,96vw);max-height:90vh}.import-scroll{max-height:55vh;overflow:auto}.import-scroll table{min-width:850px}.import-scroll td,.import-scroll th{padding:8px}.import-scroll input{min-width:120px}.import-scroll th{position:sticky;top:0;z-index:1}.import-scroll input[name=name]{min-width:220px}.import-summary{margin:10px 0 18px;color:#6d7d95}.daycol.over{background:#e9f0ff;outline:2px solid #80a1f0;outline-offset:-2px}.task{min-width:0}
button[hidden]{display:none!important}button:disabled{opacity:.5;cursor:not-allowed}
.record-row{cursor:pointer}.record-row:hover{background:#f7faff}.record-row:focus-visible{outline:2px solid #6991ef}
.select-col{width:42px;text-align:center}.select-col input{width:17px;height:17px;cursor:pointer}
#detail{width:min(680px,96vw);max-height:90vh;overflow:auto}.card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.card-grid>div{border:1px solid #e5eaf1;border-radius:8px;padding:12px;min-width:0}.card-grid small{display:block;color:#8b99ac;margin-bottom:7px}.card-grid strong{display:block;overflow-wrap:anywhere}
.card-tasks{max-height:210px;overflow:auto}.card-tasks button{display:block;text-align:left;width:100%;margin:5px 0}.card-tasks .done,.monthcell>button.done{text-decoration:line-through;opacity:.55}
.finish-task{margin-top:22px;width:100%;border-color:#71b397;color:#358465;background:#f2faf5}.finish-task.is-done{background:#d9f2e3}
.bulk-field{margin:8px 0 15px}.bulk-field>label{display:flex;align-items:center;gap:8px}.bulk-field>label input{width:17px;height:17px}
.import-page{overflow:visible}.import-top{display:flex;gap:15px;justify-content:space-between;align-items:center}.import-top h2,.admin-actions h2{margin:0 0 8px;font-size:20px}
.import-controls label{display:flex;align-items:center;gap:12px}.import-controls select{width:230px}.import-options{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:15px 0;border-top:1px solid #e7ebf1;border-bottom:1px solid #e7ebf1;margin:14px 0}
.import-options>span{font-size:12px;color:#67768a}.import-options label{margin:0;display:inline-flex;align-items:center;gap:5px;color:#344357}.import-options input{width:17px;height:17px}
.import-page .import-scroll{max-height:52vh;border:1px solid #edf0f5;border-radius:8px}.import-page .import-scroll table{min-width:1030px}.import-page .import-scroll input[name=balance]{min-width:130px}
.admin-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:16px}.admin-grid .panel small{display:block;color:#7c8a9d}.admin-grid .panel strong{display:block;font-size:31px;margin-top:12px}.admin-actions button{margin-right:10px;margin-top:15px}
@media(max-width:740px){.card-grid,.admin-grid{grid-template-columns:1fr 1fr}.import-top{align-items:flex-start;flex-direction:column}.import-options{align-items:flex-start;flex-direction:column}.directory-panel{padding:8px}#detail{padding:18px}}

/* Shared server edition */
[hidden]{display:none!important}body.locked aside,body.locked main{display:none}#auth{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at top,#e8efff,#f7f9fc 65%)}.auth-box{width:min(450px,100%);padding:36px;background:#fff;border:1px solid #e5eaf1;border-radius:18px;box-shadow:0 18px 70px #2634490d}.auth-box label{display:block;margin:18px 0 7px}.auth-box input{width:100%}.auth-box .primary{width:100%;margin-top:18px}.auth-box h1{margin:14px 0}.auth-box .sub{line-height:1.6}#loginError{color:#bd3546;line-height:1.5}.saving:after{content:'Сохранение…';position:fixed;inset:0;z-index:9999;background:#ffffff85;display:grid;place-items:center;font-size:20px;font-weight:bold;cursor:wait}.profile #logout{display:block;border:0;padding:5px 0;background:none;font-size:12px;color:#4e73df}.account-fields{margin-top:22px;padding-top:12px;border-top:1px solid #e4eaf3}.inline-check{display:flex;gap:10px;align-items:center;line-height:1.5}.inline-check input{flex:none}.permission-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:24px 0}.permission-grid label{margin:0}.access-button{margin-left:8px;color:#3c68d9}.admin-actions,.migration-panel{padding:24px;margin-bottom:20px}.admin-actions button,.migration-panel button{margin:10px 10px 0 0}.stats-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-top:20px}.stat-card{padding:22px 18px;background:#fff;border:1px solid #e5eaf1;border-radius:12px;min-height:130px;border-top:3px solid #6084e8}.stat-card small{display:block;color:#77869d;line-height:1.5;min-height:40px}.stat-card strong{display:block;font-size:clamp(17px,1.6vw,25px);margin-top:10px;overflow-wrap:anywhere}.dashboard-note{margin:18px 2px;line-height:1.6}.range-calendar{padding:24px}.range-top{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.range-top h2{margin-right:20px;font-size:19px}.range-top strong{min-width:145px;text-align:center;text-transform:capitalize}.range-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;margin-top:22px}.range-weekday{text-align:center;color:#9aa6b8;padding:10px;font-size:12px}.range-day{height:58px;background:#f8faff;border-color:transparent;font-weight:600;font-size:16px}.range-day.outside{color:#b3bdcc;background:#fcfdff}.range-day.in-range{background:#e5edff;color:#315ec3}.range-day.edge{background:#4e73df;color:white}.range-day:hover{border-color:#4e73df}#ledgerTable{overflow-x:auto}.toolbar label{display:flex;align-items:center;gap:8px}.toolbar label input{width:auto}.panel>.sub{line-height:1.6}.bottom{padding-top:20px}aside{overflow-y:auto}button:disabled{opacity:.5;cursor:not-allowed}@media(max-width:1150px){.stats-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.range-calendar{padding:14px}.range-grid{gap:3px}.range-day{padding:6px;height:44px}.permission-grid{grid-template-columns:1fr}.auth-box{padding:24px}.range-top .spacer{display:none}}
/* v5: shared dashboard and bulk administration */
#actionError{color:#ba3547;line-height:1.5}.access-modal{width:min(1050px,94vw);max-width:1050px;max-height:90vh;padding:0}.access-modal form{padding:28px}.access-modal #fields{overflow-y:auto;max-height:65vh}.rights-table{width:100%;border-collapse:collapse;margin-top:18px}.rights-table th{background:#edf5fa;padding:20px 12px}.rights-table th:first-child{width:60%;text-align:left}.rights-table th:not(:first-child),.rights-table td:not(:first-child){text-align:center;width:20%}.rights-table td{padding:14px 12px;border-bottom:1px solid #dce8f4}.rights-table input{accent-color:#149cc7;width:20px;height:20px;cursor:pointer}.rights-table th input{margin-top:12px}.rights-group td:first-child{padding:0}.rights-group button{border:0;background:none;width:100%;text-align:left;font-weight:bold;color:#1b425f;padding:18px 12px;font-size:16px}.rights-group button span{margin-left:10px}.rights-child td:first-child{padding-left:32px;color:#60748b}.rights-child small{font-size:11px;color:#8190a1}.access-role label{display:flex;align-items:center;gap:12px;padding:12px 0}.access-role input{width:20px;height:20px}.picked-count{white-space:nowrap;color:#34516f}.edit-notice,.layout-hint{background:#edf5ff;border:1px solid #d6e4f9;border-radius:8px;padding:12px 16px;line-height:1.6}.ledger-panel{padding:20px}.edited-label{display:block;font-size:10px;color:#6c86aa;margin-top:5px}.layout-actions{display:flex;gap:10px;justify-content:flex-end;margin:14px 0}.dashboard-grid{display:grid;grid-template-columns:repeat(20,minmax(0,1fr));gap:14px;align-items:start;margin-top:20px}.dashboard-widget{min-width:0;position:relative;display:flex;flex-direction:column;border-radius:12px}.dashboard-widget>.widget-body{flex:1;min-height:0;margin:0;overflow:auto}.dashboard-widget>.stat-card{display:flex;flex-direction:column;justify-content:center}.dashboard-widget .range-calendar{border-radius:12px}.dashboard-widget .range-top h2{font-size:17px}.dashboard-widget .range-top{gap:8px}.dashboard-widget .range-top .spacer{min-width:0}.dashboard-widget .range-top strong{min-width:120px}.dashboard-widget .range-day{height:48px}.editing .dashboard-widget{outline:2px dashed #91acd9;background:#f5f8ff;padding-bottom:14px}.editing .dashboard-widget>.widget-body{border-radius:0 0 10px 10px}.widget-tools{display:flex;gap:3px;align-items:center;flex-wrap:wrap;padding:6px;background:#e8f0ff;border-radius:10px 10px 0 0}.widget-tools button{padding:3px 7px;border-color:#ccd9ef}.widget-grip{cursor:grab;touch-action:none}.widget-tools label{display:flex;align-items:center;gap:3px;font-size:10px}.widget-tools select,.widget-tools input{font-size:11px;width:58px;padding:4px;border:1px solid #cbd8ed;border-radius:4px}.widget-resize{position:absolute;right:0;bottom:0;padding:1px 4px;color:#416fd1;cursor:nwse-resize;touch-action:none}.drop-widget{outline:3px solid #3878e4!important}.dragging{opacity:.4}.editing .stat-card small{min-height:0}.editing .stat-card{padding:10px}.editing .stat-card strong{margin-top:6px;font-size:20px}@media(max-width:800px){.dashboard-grid{grid-template-columns:1fr}.dashboard-widget{grid-column:1!important}.layout-actions{flex-wrap:wrap}.access-modal form{padding:16px}.rights-table td,.rights-table th{padding:12px 6px}.rights-table th:first-child{width:48%}.rights-group button{font-size:14px}.rights-child td:first-child{padding-left:15px}.widget-tools label:first-of-type{display:none}}
/* v6: free placement, compact task cards, maps and exchange preview */
#partnerHeaderActions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}#partnerHeaderActions #export,#partnerHeaderActions #import{font-size:14px}#exchange{width:min(1200px,95vw);max-width:1200px;max-height:92vh;padding:24px;border:0;border-radius:16px}#exchangeBody{max-height:75vh;overflow:auto}#exchange .import-page{padding:14px}#exchange .import-scroll{max-height:48vh}#exchange::backdrop{background:#26344975}.export-sheets{display:flex;gap:18px;flex-wrap:wrap;margin:18px 0}.export-sheets label{display:flex;align-items:center;gap:7px}#exportPreview{margin-top:16px}#exportPreview td{white-space:nowrap}.compact-task #fields>label{margin-top:8px}.compact-task #fields .row{gap:12px;margin-bottom:7px}.compact-task #fields label{margin-bottom:4px;line-height:1.15}.compact-task #fields input,.compact-task #fields select{padding:8px 10px;margin-bottom:3px}.compact-task #fields .sub{margin:6px 0;line-height:1.2}.compact-task #fields textarea{min-height:65px;height:65px;padding:8px 10px}.compact-task .finish-task{margin-top:8px;padding:9px}.task-facts{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:8px 0}.task-facts output{display:block;padding:8px;background:#f3f7fd;border-radius:6px;font-size:13px}.task-move{display:flex;gap:8px;align-items:center;margin-top:8px}.task-move input{min-width:0;width:150px}.task-move input[type=time]{width:105px}.task{line-height:1.15}.task span,.task strong,.task small{margin-top:1px;margin-bottom:1px}.address-button{margin-left:5px}.partner-views{margin-left:12px}.partner-views .selected{background:#e0eaff;color:#2d63d8}.partner-map-layout{display:grid;grid-template-columns:280px minmax(0,1fr);background:#fff;border:1px solid #e3eaf3;padding:16px;gap:16px}.map-partner-list{height:62vh;min-height:400px;overflow:auto}.map-partner{display:flex;gap:10px;padding:14px 8px;border-bottom:1px solid #e9edf5}.map-partner small{display:block;color:#8794a8;margin:5px 0}.map-partner-name{border:0;padding:0;text-align:left;font-weight:bold;background:none;color:#263d58}.map-card-link{border:0;background:none;color:#4978cd;font-size:11px;padding:3px 6px 3px 0}.map-select-all{display:flex;gap:10px;padding:10px 8px;align-items:center}.partners-map{height:62vh;min-height:400px;background:#e8eef5}.partner-map-pin{background:none;border:0}.partner-map-pin span{display:block;width:23px;height:23px;background:#4177e5;border:3px solid white;border-radius:50% 50% 50% 0;transform:rotate(-45deg);box-shadow:0 2px 6px #0005}.map-modal{width:min(900px,95vw);max-width:900px}.address-map{height:42vh;min-height:260px;background:#e8eef5;border-radius:10px}.map-modal #fields>.row{margin-top:8px}.map-error{padding:20px;line-height:1.5}.leaflet-container button{font:inherit}.leaflet-control-attribution{font-size:10px!important}.leaflet-pane{z-index:400}.free-dashboard{display:block;position:relative;min-height:300px;margin-bottom:20px}.free-dashboard .dashboard-widget{position:absolute;display:block;padding:0;grid-column:auto;min-width:0;transition:none}.free-dashboard .widget-body{height:100%;width:100%;min-height:0;margin:0;overflow:hidden}.free-dashboard .stat-card{padding:calc(16px * var(--stat-scale,1));display:flex;flex-direction:column;justify-content:center;min-height:0}.free-dashboard .stat-card small{font-size:calc(13px * var(--stat-scale,1));min-height:0;line-height:1.2;flex:none}.free-dashboard .stat-card strong{font-size:calc(28px * var(--stat-scale,1));line-height:1.15;margin-top:calc(10px * var(--stat-scale,1));white-space:nowrap;overflow:hidden;flex:none;max-width:100%}.free-dashboard .range-calendar{padding:calc(16px * var(--cal-scale,1));font-size:calc(14px * var(--cal-scale,1));overflow:hidden;display:block}.free-dashboard .range-top{gap:calc(7px * var(--cal-scale,1));flex-wrap:wrap}.free-dashboard .range-top h2{font-size:calc(19px * var(--cal-scale,1));margin:0 8px 0 0}.free-dashboard .range-top button{padding:calc(8px * var(--cal-scale,1));font-size:inherit}.free-dashboard .range-top strong{font-size:inherit;min-width:0}.free-dashboard .range-top .spacer{min-width:0}.free-dashboard .range-calendar>.sub{font-size:calc(12px * var(--cal-scale,1));margin:8px 0;line-height:1.2}.free-dashboard .range-grid{display:grid;grid-template-rows:18px repeat(6,minmax(0,1fr));gap:calc(6px * var(--cal-scale,1));margin-top:8px;min-height:100px}.free-dashboard .range-day{height:100%;min-height:0;padding:2px;font-size:inherit}.free-dashboard .range-weekday{padding:0;font-size:calc(11px * var(--cal-scale,1))}.free-dashboard.editing{background-image:linear-gradient(to right,#d7e4f380 1px,transparent 1px),linear-gradient(to bottom,#d7e4f380 1px,transparent 1px);background-size:5% 20px;border-bottom:1px dashed #b8cbea}.free-dashboard.editing .dashboard-widget{outline:1px dashed #88a6d8;background:transparent}.free-dashboard .focused-widget{outline:2px solid #3e78e2!important}.free-dashboard .layout-invalid{outline:3px solid #d94456!important}.free-grip{position:absolute;right:4px;top:4px;border:1px solid #9bb7e9;background:#ffffffdf;padding:1px 7px;cursor:move;touch-action:none;z-index:2;font-size:18px}.free-dashboard .widget-resize{z-index:2;bottom:1px;right:1px;padding:0 3px;background:#ffffffdf}.free-dashboard .range-top{padding-right:0}.free-dashboard.editing .range-top{padding-right:28px}#layoutTools{display:flex;gap:12px;flex-wrap:wrap;align-items:end;background:#eef4ff;padding:16px;border:1px solid #d4e1f7;border-radius:10px}#layoutTools label{font-size:12px;display:block}#layoutTools input{width:85px;display:block;padding:7px;margin-top:4px}#layoutTools select{display:block;max-width:220px;padding:7px;margin-top:4px}#layoutTools p{width:100%;margin:0;color:#5b7294;font-size:12px}@media(max-width:800px){.free-dashboard{display:flex!important;flex-direction:column;gap:14px;height:auto!important}.free-dashboard .dashboard-widget{position:relative!important;left:0!important;top:0!important;width:100%!important}.partner-map-layout{grid-template-columns:1fr}.map-partner-list{height:220px;min-height:0}.partners-map{height:50vh;min-height:300px}#partnerHeaderActions{justify-content:flex-end}.task-facts{grid-template-columns:1fr}.task-move input{width:120px}#exchange{padding:14px}.free-grip{cursor:pointer}}

.compact-task .modalhead{margin-bottom:9px}.compact-task #fields label{margin-top:6px;margin-bottom:3px}.compact-task #fields>label{margin-top:6px}
/* v7 */
.section-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 18px}.section-tabs button{padding:12px 20px}.section-tabs .selected{background:#e5eeff;border-color:#8cace8;color:#2a5ac2;font-weight:600}.reference-tabs{border-bottom:1px solid #dfe8f5;padding-bottom:12px}.reference-tabs button{border:0;background:none;border-radius:0}.reference-tabs .selected{box-shadow:inset 0 -2px #4078df}.partner-filters{display:flex;align-items:end;gap:12px;padding:12px 18px;background:#f0f5fc;flex-wrap:wrap}.partner-filters label{margin:0;min-width:150px}.partner-filters input,.partner-filters select{margin-top:5px;padding:8px}.partner-filters #partnerAddressFilter{min-width:220px}#balanceSort{display:block;font-size:11px;padding:5px;margin-top:7px;max-width:200px}.route-links{display:flex;gap:10px;flex-wrap:wrap}.route-link{display:inline-block;text-decoration:none;border-radius:7px;padding:12px 16px}tfoot td{border-top:2px solid #d9e5f6;background:#edf4ff;padding:16px 12px;white-space:nowrap}.task-map-panel{height:auto!important;overflow:visible!important}.task-map{height:65vh;min-height:400px}.task-map-popup>strong{display:block;margin-bottom:10px}.task-map-popup>div{max-height:260px;overflow:auto}.task-map-popup button{display:flex;flex-direction:column;width:100%;gap:4px;margin:7px 0;text-align:left;background:#f1f6ff;padding:10px}.task-map-popup .done{text-decoration:line-through;color:#8c99ad}.task-map-popup span,.task-map-popup small{font-size:11px}.archive-notice{padding:10px;background:#f1f4fa;color:#6b7890;font-size:12px;border-radius:7px}.task-move .inline-check{margin:0;white-space:nowrap}.task-move .check{width:18px!important;flex:none}#rescheduleComment{width:min(560px,95vw)}#rescheduleText{min-height:120px}#rescheduleError{color:#bd3546}input:disabled,select:disabled,textarea:disabled{background:#f3f5f8;color:#8490a0}#rescheduleSummary{line-height:1.5;font-size:13px}@media(max-width:700px){.task-move{flex-wrap:wrap}.partner-filters{padding:12px}.partner-filters label{flex:1}.section-tabs button{padding:10px}.task-map{min-height:300px}}
/* v8: audit */
.audit-filters{align-items:end;flex-wrap:wrap}.audit-filters label{display:grid;gap:6px;font-size:12px;min-width:130px}.audit-filters select{max-width:220px}.audit-table td{vertical-align:top}.audit-event{border:0;background:transparent;color:#1975ad;text-align:left;padding:0;white-space:normal}.audit-detail{table-layout:fixed;width:100%}.audit-detail td{white-space:pre-wrap;overflow-wrap:anywhere;vertical-align:top}.audit-detail th:first-child{width:25%}
/* v10: account controls and themes */
.password-wrap{position:relative;width:100%;margin-bottom:12px}.password-wrap input{width:100%;padding-right:44px!important;margin-bottom:0!important}.eye-toggle{position:absolute;right:7px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:30px;height:30px;padding:5px;border:0;background:transparent;color:#7b8ba2}.eye-toggle.revealed{color:#2867d1}.forgot-link{display:block;margin:16px auto 0;background:none;border:0;color:#326bc8;font-size:13px;padding:6px}.auth-box #recoveryMessage,.auth-box #resetMessage{line-height:1.5}#appearanceControls{display:flex;gap:10px;align-items:center;margin-left:auto}.language-switch{display:flex;border:1px solid #dce5f1;border-radius:24px;background:#fff;padding:3px}.language-switch button{border:0;background:transparent;border-radius:20px;padding:8px 12px;font-size:12px;font-weight:bold}.language-switch button.selected{background:#e4efff;color:#2866bd}#themeToggle{border-radius:50%;width:40px;height:40px;padding:0;font-size:23px;display:grid;place-items:center}
html[data-theme=dark]{color-scheme:dark}html[data-theme=dark] body{background:#111827;color:#e3eaf5}html[data-theme=dark] :is(aside,.panel,.toolbar,.stat-card,.auth-box,dialog,.directory-panel,.partner-map-layout,.range-calendar,.dashboard-widget,.language-switch){background:#1c2637;color:#e3eaf5;border-color:#35445c}html[data-theme=dark] :is(button,input,select,textarea){background:#253247;color:#e3eaf5;border-color:#40516c}html[data-theme=dark] button:hover{background:#344966;color:#fff}html[data-theme=dark] :is(th,tfoot td,.partner-filters,.task-facts output,.archive-notice,#layoutTools,.rights-group){background:#26364f;color:#dce7f8;border-color:#40516c}html[data-theme=dark] :is(td,.profile,.divider,aside){border-color:#35445c}html[data-theme=dark] :is(h1,h2,h3,strong,.map-partner-name){color:inherit}html[data-theme=dark] :is(.sub,small,.range-weekday){color:#aabbd2}html[data-theme=dark] :is(.selected,nav button.active,.range-day.edge){background:#365f9c!important;color:#fff!important}html[data-theme=dark] .range-day.in-range{background:#293e5f}html[data-theme=dark] .range-day.outside{color:#8291a8}html[data-theme=dark] .eye-toggle,html[data-theme=dark] .forgot-link{background:transparent;color:#a9c9ff}html[data-theme=dark] .task{color:#172741}html[data-theme=dark] .leaflet-popup-content-wrapper{background:#1c2637;color:#e3eaf5}html[data-theme=dark] .calendar{background:#1c2637}html[data-theme=dark] .free-grip,html[data-theme=dark] .widget-resize{background:#31435f;color:#dceaff}@media(max-width:600px){#appearanceControls{gap:6px}#themeToggle{width:34px;height:34px}.language-switch button{padding:7px 9px}main>header{gap:10px;flex-wrap:wrap}}
.bulk-task-modal{width:min(650px,95vw)}.bulk-task-partners{max-height:180px;overflow:auto;padding-left:22px;line-height:1.6}.bulk-task-modal details{border:1px solid #cdd9e9;border-radius:8px;padding:10px;margin-bottom:16px}.bulk-task-modal summary{cursor:pointer}.bulk-task-modal textarea{min-height:90px}#createBulkTasks{white-space:nowrap}
/* v12 nested navigation, interface matrix and paged registers */
#moduleNav .nav-group>button{display:flex;align-items:center;width:100%}#moduleNav .nav-group>button span{flex:1;text-align:left}#moduleNav .nav-children{padding-left:19px;border-left:1px solid #c9d5e2;margin:0 0 8px 18px}#moduleNav .nav-children button{font-size:12px;min-height:36px;padding:9px;text-align:left;width:100%}#moduleNav [hidden]{display:none!important}.pagination{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:16px 8px;border-top:1px solid #dce3eb}.pagination button{min-width:36px}.pagination .selected{background:#2768e8;color:white}.interface-scroll{overflow:auto;margin-top:20px}.interface-matrix{min-width:600px}.interface-matrix th{min-width:180px}.interface-matrix label{font-size:12px;font-weight:400;display:block}.interface-matrix input[type=checkbox]{width:18px;height:18px;accent-color:#2873df}.interface-matrix td:not(:first-child){text-align:center}#moduleTable,#settlementTable{overflow:auto}tbody>tr[hidden]{display:none!important}@media(max-width:700px){.pagination{gap:5px;font-size:12px}.interface-matrix th{min-width:150px}}
@media(max-width:950px){aside{position:relative;width:100%;padding:14px;max-height:none}main{margin-left:0!important}.brand{font-size:22px}.workspace{display:none}#moduleNav{display:flex;flex-wrap:wrap;gap:5px;align-items:flex-start}#moduleNav>button,#moduleNav>.nav-group{width:auto;min-width:145px;flex:1 1 145px}#moduleNav button span,.bottom button span{display:inline}#moduleNav .nav-children{padding-left:7px;margin-left:5px}.bottom{padding-top:5px}.bottom button{width:auto}.profile{display:none}header{padding-top:18px}}
#moduleNav .menu-sign{font-size:20px;font-weight:900;line-height:1;color:inherit;min-width:18px;text-align:center}.pagination{padding:8px 4px;gap:4px;font-size:12px;min-height:0}.pagination button{padding:2px 6px;min-width:24px;min-height:24px;font-size:12px;line-height:18px}.pagination select{width:65px;min-height:24px;height:26px;padding:2px 5px;font-size:12px;line-height:18px}.import-number{font-variant-numeric:tabular-nums;font-weight:600}.partner-delete{margin-left:5px}.import-pages{position:sticky;bottom:0;background:var(--panel,#fff);z-index:2}html[data-theme=dark] .import-pages{background:#1c2637}
.deals-layout{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:65vh;gap:16px}.pipeline-sidebar{background:#fff;border:1px solid #e3e8ef;border-radius:10px;overflow:hidden}.pipeline-sidebar h2{font-size:16px;padding:20px;margin:0;border-bottom:1px solid #e3e8ef}.pipeline-sidebar button{display:block;border:0;border-bottom:1px solid #e3e8ef;border-radius:0;padding:20px 16px;width:100%;text-align:left;background:transparent}.pipeline-sidebar button.selected{background:#eef4ff;color:#176de0;font-weight:700}.pipeline-work{min-width:0}.deal-board{display:flex;gap:12px;overflow-x:auto;min-height:55vh;padding:12px 0;align-items:stretch}.deal-column{flex:0 0 270px;background:#f2f5f9;border-radius:8px}.deal-column>header{position:static;display:block;background:transparent;padding:14px 10px;border-bottom:3px solid var(--stage-color);text-align:center;min-height:78px}.deal-column header strong{font-size:12px;text-transform:uppercase}.deal-column header small{display:block;font-size:11px;margin-top:8px}.deal-cards{padding:10px}.deal-card{display:flex;flex-direction:column;gap:7px;width:100%;text-align:left;padding:12px;margin-bottom:9px;background:#fff;border:1px solid #d6dfeb;border-left:3px solid var(--stage-color);border-radius:6px;cursor:pointer;white-space:normal;overflow-wrap:anywhere}.deal-card[draggable=true]{cursor:grab}.deal-card>strong{font-size:13px}.deal-card small,.deal-date{font-size:11px;color:#7d8b9d}.deal-date{align-self:flex-end}.deal-client{color:#146db5;font-size:13px}.deal-note{font-size:12px;color:#61718a;max-height:48px;overflow:hidden}.empty-column{text-align:center;color:#99a4b3;font-size:12px}.drag-over{outline:2px dashed #4d82d9}.shared-interface{max-width:1000px}.interface-group{background:#f0f4fa}.interface-child{padding-left:35px!important}.shared-interface .interface-matrix{min-width:0;width:100%;margin-bottom:20px}html[data-theme=dark] :is(.pipeline-sidebar,.deal-card){background:#1c2637;border-color:#35445c}html[data-theme=dark] :is(.deal-column,.interface-group){background:#162132}@media(max-width:1000px){.deals-layout{grid-template-columns:1fr}.pipeline-sidebar{display:flex;overflow:auto}.pipeline-sidebar h2{display:none}.pipeline-sidebar button{min-width:155px;width:auto;white-space:nowrap;padding:12px}.deal-column{flex-basis:250px}}
.assignee-picker{margin:10px 0;border:1px solid #dce3eb;border-radius:8px;padding:10px}.assignee-picker summary{cursor:pointer;font-weight:600}.assignee-picker>div{max-height:260px;overflow:auto;padding-top:8px}.assignee-picker input[type=checkbox],.assignee-picker input[type=radio]{width:16px;height:16px}.partner-action-menu{position:absolute;right:16px;top:60px;z-index:30;min-width:210px;background:#fff;border:1px solid #dce3eb;border-radius:9px;box-shadow:0 6px 24px #0002;padding:6px}.partner-action-menu button{display:block;width:100%;text-align:left;margin:3px 0}.toolbar{position:relative}html[data-theme=dark] .partner-action-menu{background:#1c2637}
.column-sort{display:inline-flex;gap:1px;margin-left:5px;vertical-align:middle;white-space:nowrap}.column-sort button{padding:0;width:15px;height:18px;min-width:15px;min-height:18px;font-size:12px;font-weight:700;line-height:16px;border:0;background:transparent;color:#8794aa;border-radius:3px;box-shadow:none}.column-sort button:hover,.column-sort button.selected{color:#2069d4;background:#e7effe}html[data-theme=dark] .column-sort button.selected{background:#314361;color:#b0cbff}
#exchangeHeading{flex:1;min-width:0}#exchangeHeading h2{margin-bottom:5px}#exchangeFilename{overflow-wrap:anywhere;font-size:12px}#exchangeChoose{white-space:nowrap;margin-left:auto;margin-right:12px}.duplicate-report{max-height:160px;overflow:auto;margin:8px 0;padding:10px;background:#f4f7fc;border-radius:6px;font-size:12px}.duplicate-report ul{padding-left:20px;margin:6px 0}.duplicate-report li{margin:4px 0}#duplicateOptions>.sub{font-size:11px;line-height:1.4}html[data-theme=dark] .duplicate-report{background:#162132}@media(max-width:600px){#exchangeChoose{white-space:normal;padding:6px;font-size:12px;margin-right:5px}}
/* v17: compact exchange table: 20 rows in a 400px viewport, 50 per page. */
#exchange{width:96vw;max-width:1800px;height:96vh;max-height:96vh;padding:12px;overflow:auto}#exchange .modalhead{margin-bottom:6px}#exchangeBody{overflow:visible;max-height:none}#exchangeBody .import-panel{padding:0;overflow:visible}#preview,#exportPreview{max-height:none;overflow:visible}#preview .table-scroll,#exportPreview .table-scroll{height:428px;min-height:428px;max-height:428px;overflow:auto}#preview table,#exportPreview table{font-size:9.8px;line-height:12px;min-width:700px}#preview th,#preview td,#exportPreview th,#exportPreview td{height:20px;padding:1px 4px;box-sizing:border-box;white-space:nowrap}#preview input:not([type=checkbox]),#preview select{font-size:9.8px!important;line-height:14px;height:18px;min-height:0;padding:0 3px;margin:0;width:100%;border-radius:3px}#preview input[type=checkbox],#exportPreview input[type=checkbox]{width:12px;height:12px;margin:0;min-height:0}#preview th,#exportPreview th{position:sticky;top:0;z-index:1;background:#f3f6fb}#preview .pagination,#exportPreview .pagination{font-size:10px;padding:3px 5px;margin:0}#duplicateOptions{font-size:10px;margin:0}#duplicateOptions .inline-check{display:flex;align-items:center;gap:6px;font-size:11px}#duplicateOptions .inline-check input{width:13px;height:13px;margin:0}#duplicateOptions>.sub{margin:3px 0;font-size:10px}#duplicateReport{max-height:46px;font-size:10px;padding:3px;margin:3px 0}#exchange #importInfo{font-size:10px;margin:3px 0}.interface-branch17{max-width:700px;border-bottom:1px solid #e5eaf3}.interface-branch17>div:first-child,.interface-branch17 label{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;gap:14px}.interface-branch17 button{background:none;border:0;text-align:left;flex:1}.interface-branch17 button strong{font-size:20px;display:inline-block;width:24px}.interface-branch17 label{margin-left:30px;border-left:1px solid #cbd7ea}.interface-branch17 input[type=checkbox]{width:17px;height:17px;margin:0}.rights-editor17{display:grid;grid-template-columns:1fr 1fr;gap:8px}.rights-editor17 label{display:flex;align-items:center;gap:8px}.rights-editor17 input{width:16px;height:16px;margin:0}

#exchangeBody .import-page{padding:0;border:0;margin:0;overflow:visible}#preview th,#exportPreview th{font-size:9.8px;line-height:12px}#preview td input{max-width:none}#exchangeBody .actions{margin-top:6px;padding-top:0}#exchangeBody .actions button{padding:6px 12px}#preview .import-number{width:25px}

#exchange .import-options{font-size:10px;padding:4px;gap:8px;margin:3px 0;display:flex;flex-wrap:wrap}#exchange .import-options label{display:flex;align-items:center;gap:4px;margin:0;font-size:10px}#exchange .import-options input{width:12px;height:12px;margin:0}#exchange .export-sheets{font-size:10px;gap:6px;padding:4px;margin:3px 0}#exchange .export-sheets input{width:12px;height:12px}
#preview .table-scroll,#exportPreview .table-scroll{height:448px;min-height:448px;max-height:448px}#preview td,#exportPreview td{padding-top:0;padding-bottom:0}
#exchange.exchange-empty18{height:19.2vh;min-height:150px;max-height:96vh}#exchange.exchange-empty18 .empty{padding:8px}#dashboardGrid [hidden]{display:none!important}.pipeline-manage18{display:flex;align-items:center;gap:10px;padding:10px;border-bottom:1px solid #dde4ef}.pipeline-manage18 strong{flex:1}#dashboardChecks18 label{display:flex;gap:10px;align-items:center;margin:10px 0}#dashboardChecks18 input{width:18px;height:18px;margin:0}.import-status18{color:#267342;font-weight:bold}
.report-period19{display:flex;align-items:flex-end;gap:5px;flex-wrap:wrap;background:#f1f4f8;padding:6px 8px;border-radius:5px;margin:0}.period-field19{font-size:11px}.period-field19 button{border:0;background:transparent;color:#2473ab;font-size:11px;padding:0 3px}.range-inputs19{display:flex;align-items:center;gap:5px;margin-top:3px}.range-inputs19 input{width:125px;min-width:0;font-size:11px;padding:4px 5px;height:29px}.report-period19>button{padding:5px;font-size:11px}.extra-filters19{display:flex;flex-wrap:wrap;align-items:flex-end;gap:16px;background:#eef2f7;padding:12px 18px}.extra-filters19[hidden]{display:none}.extra-filters19 label{font-size:12px}.extra-filters19 input[type=number]{width:115px}.type-swatch19{display:inline-block;width:16px;height:16px;border-radius:4px;margin-right:9px;vertical-align:middle}.archive-badge19{font-size:10px;color:#7b6b4b;background:#f3eddd;padding:3px;border-radius:3px}#fields input[type=color]{width:90px;height:42px;padding:3px}

.report-period19[hidden]{display:none!important}
#detail.crm-detail21{width:96vw;max-width:1440px;height:90vh;max-height:94vh;padding:0;overflow:hidden;border-radius:12px}#detail.crm-detail21 #detailContent{height:100%;padding:0}.crm-card21{display:grid;grid-template-columns:350px minmax(0,1fr);height:100%;color:#26374a}.crm-contact21,.crm-history21{display:flex;flex-direction:column;min-height:0;min-width:0}.crm-contact21{background:#fff;border-right:1px solid #dce4eb}.crm-contact21>header{background:#203f4d;color:#fff;padding:22px 20px 0}.crm-contact21 h2{font-size:20px;overflow-wrap:anywhere;margin:0 0 18px}.crm-tabs21{display:flex;gap:8px}.crm-tabs21 button{background:none;color:#bdcdd5;border:0;border-bottom:3px solid transparent;border-radius:0;padding:12px 6px}.crm-tabs21 button.active{color:#fff;border-color:#fff}.crm-contact-body21{padding:16px 20px;overflow:auto;flex:1}.crm-contact-body21 dl{margin:0}.crm-contact-body21 dl>div{display:grid;grid-template-columns:115px minmax(0,1fr);gap:10px;padding:11px 0;border-bottom:1px solid #eef2f5}.crm-contact-body21 dt{font-size:12px;color:#82909e}.crm-contact-body21 dd{margin:0;font-size:13px;overflow-wrap:anywhere;white-space:pre-wrap}.crm-card21 footer{padding:14px 20px;border-top:1px solid #e4eaf0;display:flex;gap:8px;flex-wrap:wrap}.crm-card21 footer button{font-size:12px;padding:8px 12px}.crm-history21{background:#f2f5f8}.crm-history21>header{display:flex;align-items:center;gap:10px;padding:16px 22px;background:#fff;border-bottom:1px solid #dce4eb}.crm-history21 h3{margin:0;flex:1;font-size:16px}.crm-history21>input{margin:14px 22px;width:calc(100% - 44px);font-size:13px}#contactTasks21{flex:1;overflow:auto;padding:4px 22px 20px}.crm-task21{display:block;width:100%;text-align:left;background:#fff;border:1px solid #dde5ed;border-left:4px solid var(--task-color);border-radius:7px;padding:14px 16px;margin:0 0 12px;white-space:normal}.crm-task21>div{display:flex;justify-content:space-between;gap:12px;color:#7b8998;font-size:11px;margin-bottom:9px}.crm-task21 strong{font-size:14px}.crm-task21 p{font-size:13px;white-space:pre-wrap;margin:8px 0}.crm-task21 small{display:block;color:#87929e;margin-top:8px}.crm-task21.completed strong,.crm-task21.completed p{text-decoration:line-through;color:#83918d}.crm-task21.completed{background:#f8fbf9}.crm-deals-head21{display:flex;align-items:center;justify-content:space-between;gap:5px;font-size:13px;margin-bottom:12px}.crm-deals-head21 button{padding:5px;font-size:11px}.crm-deal21{display:block;text-align:left;width:100%;margin:10px 0;border:1px solid #dae4ec;padding:12px}.crm-deal21 span,.crm-deal21 b,.crm-deal21 small{display:block;margin-top:8px}.crm-deal21 span,.crm-deal21 small{font-size:11px;color:#8292a3}@media(max-width:760px){#detail.crm-detail21{width:98vw;height:96vh;max-height:96vh;overflow:auto}.crm-card21{display:block;height:auto}.crm-contact-body21{max-height:40vh}.crm-history21{min-height:60vh}.crm-contact21{border-right:0}.crm-history21>header{padding:12px}#contactTasks21{overflow:visible}.crm-history21>header button{font-size:11px;padding:5px}}

#contactClose21{float:right;padding:4px 7px;margin-left:8px;border:0;background:transparent;color:#fff}
/* v22 contact tabs and partner conversations */
.crm-contact21>header{display:block;position:static;height:auto;min-height:0;width:auto;box-sizing:border-box}
.crm-contact21>header h2{display:block;margin:0 32px 18px 0;overflow-wrap:anywhere}
.crm-tabs21{display:flex;flex-direction:row;flex-wrap:nowrap;gap:8px;align-items:center}
.crm-tabs21 button{white-space:nowrap;flex:1;min-width:0}
.crm-history21>footer{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
#partnerChat22{display:flex;flex:1;min-width:230px;gap:6px;margin:0}
#partnerChat22 input{flex:1;min-width:0;margin:0}
.partner-chat22{max-height:220px;overflow:auto;padding:12px 18px;border-top:1px solid #ddd}
.partner-chat22 article{background:#f1f5f9;padding:8px 10px;margin-top:8px;border-radius:8px}
.partner-chat22 p{white-space:pre-wrap;overflow-wrap:anywhere;margin:4px 0}
#chatError22{color:#b91c1c;width:100%}
/* v23 unified dropdown lists */
.dropdown-list23,.assignee-picker>div{background:var(--panel,#fff);border:1px solid #dce3eb;border-radius:6px;box-shadow:0 5px 18px #14213d20;padding:4px}
.dropdown-list23{min-width:230px;max-height:65vh;overflow:auto;z-index:60}
.dropdown-list23 button{border:0!important;border-radius:3px!important;box-shadow:none!important;background:transparent!important;display:block;width:100%;text-align:left;padding:9px 12px;margin:0;font-size:13px}
.dropdown-list23 button:not(:disabled):hover,.dropdown-list23 button:focus-visible{background:#edf2ff!important;color:#315ce8}
.dropdown-list23 button:disabled{color:#98a2b3;opacity:1}
.assignee-picker{position:relative;padding:0;border:0}
.assignee-picker summary{display:inline-block;border:1px solid #dce3eb;border-radius:6px;padding:9px 12px;font-size:13px;font-weight:400;list-style:none}
.assignee-picker>div{margin-top:4px;padding:10px}
select{border-radius:6px}
.nav-promoted23>button{width:100%;text-align:left}
.org-form23{max-width:760px;display:grid;grid-template-columns:1fr 1fr;gap:12px 22px}
.org-form23 h3,.org-form23>p{grid-column:1/-1}
.org-form23 input,.org-form23 select{width:100%}
.org-form23 .inline-check input{width:auto}
.org-form23 button{justify-self:start}
#partnerStatus23{width:100%;min-width:0}
#partnerStatusError23,#orgError23{display:block;color:#b91c1c}
@media(max-width:650px){.org-form23{grid-template-columns:1fr}.dropdown-list23{max-width:calc(100vw - 16px)}}
.office-map24{height:440px;min-height:280px;width:100%;border-radius:8px;background:#e9eef5}
#taskRoute24,#partnerRoute24{margin:10px 12px}
.route-stop24{display:flex;align-items:center;gap:6px;padding:8px 0;border-bottom:1px solid #e4e7ec}
.route-stop24 label{display:flex;align-items:center;gap:7px;flex:1;margin:0}
.route-stop24 input{width:16px;height:16px;flex:none}
.route-stop24 button{padding:6px 12px}
.route-link24{display:block;margin-top:12px;padding:12px;background:#edf2ff;border-radius:6px;text-decoration:none;color:#315ce8}
#routeStops24{max-height:45vh;overflow:auto;margin:12px 0}
@media(max-width:650px){.office-map24{height:50vh;min-height:260px}.office-modal24{width:calc(100vw - 12px);max-width:none}}
/* Employee account checkbox must not inherit full-width input sizing. */
#fields label.employee-login30{display:flex!important;align-items:center;justify-content:flex-start;gap:10px;white-space:normal;max-width:100%;width:100%;box-sizing:border-box}
#fields .employee-login30 input[type=checkbox]{width:18px!important;min-width:18px!important;height:18px!important;flex:0 0 18px!important;margin:0!important;padding:0}
.employee-modal30 #fields{min-width:0;max-width:100%}.employee-modal30 #fields>input,.employee-modal30 #fields select,.employee-modal30 #fields textarea{box-sizing:border-box;max-width:100%}
.employee-show30{display:flex;align-items:center;gap:8px;margin:0}.employee-show30 select{width:180px}
#handover30{padding:12px;background:#f0f5ff;border-radius:8px;margin:10px 0}
#workNotice31{position:fixed;inset:0;margin:auto;width:min(440px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:0;border:0;border-radius:14px;box-shadow:0 16px 64px #0004;box-sizing:border-box}
#workNotice31::backdrop{background:#17233370}
.work-notice-content31{padding:26px;text-align:center}
#workNoticeText31{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5;margin:18px 0 24px}
#closeWorkNotice31{min-width:120px}
.bulk-employees31{max-height:180px;overflow:auto}
.extra-dashboard32{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0}.new-stat32 strong{display:block;font-size:30px;margin-top:14px}.wide-panel32{grid-column:1/-1;min-width:0}.chart-panel32{position:relative;padding-bottom:56px}#chartSettings32{position:absolute;left:16px;bottom:12px;padding:4px 9px;font-size:20px}.chart-scroll32,.scroll32{overflow:auto;max-height:650px}.chart-scroll32 svg{display:block;width:100%;height:auto;max-height:none}.chart-legend32{display:flex;flex-wrap:wrap;gap:18px;margin-bottom:20px}.chart-legend32 i{display:inline-block;width:13px;height:13px;margin-right:6px}.chart-series32{display:flex;gap:8px;align-items:center;margin:8px 0}.chart-series32 select{flex:1;min-width:0}.chart-series32 input[type=color]{width:48px;flex:none;padding:2px}.chart-employees32{max-height:220px;overflow:auto}.chart-employees32 label{display:flex;align-items:center;gap:8px}#fields .chart-employees32 input{width:18px;flex:none}.context-menu32{position:fixed;z-index:200;min-width:210px}#drawerToggle32,#drawerShade32,#drawerClose32{display:none}
@media(max-width:950px){#drawerToggle32{display:block;position:fixed;left:10px;top:10px;z-index:92;background:white;box-shadow:0 2px 10px #0002}.locked #drawerToggle32{display:none}aside{position:fixed!important;inset:0 auto 0 0!important;width:min(300px,86vw)!important;height:100dvh;max-height:100dvh!important;overflow-y:auto;overflow-x:hidden;padding:18px!important;z-index:95;transform:translateX(-105%);transition:transform .2s;display:flex!important;flex-direction:column!important}.drawer-open32 aside{transform:translateX(0)}#drawerClose32{display:block;flex:none;margin-bottom:12px}.drawer-open32 #drawerShade32{display:block;position:fixed;inset:0;background:#17233370;z-index:94}.drawer-open32{overflow:hidden}aside nav{display:block!important;margin-top:12px;width:100%}#moduleNav{display:block!important;width:100%}#moduleNav>button,#moduleNav>.nav-group,#moduleNav>.nav-promoted23{width:100%!important;min-width:0!important;display:block;flex:none!important}#moduleNav button{width:100%!important;text-align:left;white-space:normal}#moduleNav button span,aside .bottom button span{display:inline!important}aside .bottom>button{width:100%!important}aside .brand{font-size:25px}aside .profile{display:flex!important}aside .bottom{margin-top:auto;width:100%}main{margin-left:0!important;padding-top:64px!important}.extra-dashboard32{grid-template-columns:1fr}.chart-scroll32 svg{min-width:700px!important}}
/* v33: one navigation tree, compact date/action rows. */
.deals-layout33{display:block!important}.deals-layout33 .pipeline-work{width:100%;min-width:0}.stage-row33{display:flex;gap:8px;margin:8px 0}.stage-row33 input{flex:1;min-width:0}.stage-row33 button{flex:none}.dashboard-actions33,.task-actions33{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.order-toolbar33 .range-inputs19,.shipment-period33 .range-inputs19{display:flex;align-items:center;gap:6px;flex-wrap:nowrap}.task-period33{display:flex;align-items:center;gap:8px}.task-period33 label{display:flex;align-items:center;gap:8px;margin:0}.task-period33 input{width:auto}.dashboard-toolbar33{display:flex;flex-wrap:wrap}.dashboard-actions33{width:100%}.order-period33{min-width:0;width:100%}
@media(max-width:950px){.dashboard-toolbar33 #rangeCalendar{width:100%;margin:0}.dashboard-toolbar33 .range-inputs19{display:flex!important;flex-wrap:nowrap!important;gap:4px;width:100%}.dashboard-toolbar33 input[type=date],.order-period33 input[type=date],.shipment-period33 input[type=date]{width:0!important;min-width:0!important;flex:1;padding:5px;font-size:11px}.range-inputs19 button{white-space:nowrap;padding:6px;font-size:11px;flex:none}.dashboard-actions33,.task-actions33{flex-wrap:nowrap!important;overflow-x:auto;max-width:100%;width:100%;padding-bottom:7px;scrollbar-width:thin}.dashboard-actions33>*,.task-actions33>*{flex-shrink:0!important;white-space:nowrap}.dashboard-actions33 .spacer,.task-actions33 .spacer{display:none}.dashboard-actions33>div:first-child{display:flex;align-items:center;gap:4px}.task-toolbar33{display:block!important}.task-period33{margin-bottom:8px}.task-actions33 .segments{display:flex;flex-wrap:nowrap}.pipeline-work>.toolbar{display:flex!important;flex-wrap:nowrap!important;gap:5px}.pipeline-work>.toolbar .spacer{display:none}#dealTotals{font-size:11px;white-space:nowrap;flex:1}#configurePipeline,#addDeal{font-size:11px;padding:7px;white-space:nowrap}.pipeline-work .pipeline-management33{margin:6px 0;font-size:11px}.order-toolbar33{display:block!important}.order-toolbar33>.spacer{display:none}.order-period33 .period-field19{width:100%}.order-period33 .range-inputs19{width:100%}.shipment-period33{width:100%}.shipment-period33 .period-field19{width:100%}}
/* v34 shared date controls, mobile actions and compact menus */
.unified-period34{display:block!important;min-width:0!important;width:100%!important;box-sizing:border-box}.unified-period34>div:first-child{display:flex!important;align-items:center;gap:5px;flex-wrap:nowrap;margin:0 0 5px!important;font-size:12px;white-space:nowrap}.unified-period34 [data-period19],.task-presets34 button{border:0!important;background:transparent!important;box-shadow:none!important;border-radius:3px!important;padding:0 2px!important;min-height:14px!important;height:14px!important;width:auto!important;min-width:0!important;line-height:14px!important;font-size:11px!important;color:#527f94!important;flex:none!important}.unified-period34 .range-inputs19{display:flex!important;align-items:center!important;gap:6px!important;flex-wrap:nowrap!important;width:100%!important;min-width:0!important;box-sizing:border-box}.unified-period34 input[type=date],input.date-input34{box-sizing:border-box!important;min-height:32px;background:var(--panel,#fff);border:1px solid #dce2ea;border-radius:5px;padding:5px 7px;font-size:12px;color:inherit}.unified-period34 .range-inputs19 input[type=date]{width:140px!important;min-width:90px!important;max-width:none!important;flex:1 1 110px!important}.unified-period34 .range-inputs19 button{width:auto!important;min-width:0!important;flex:0 0 auto!important;white-space:nowrap;padding:5px 7px!important;font-size:12px!important}.dashboard-toolbar33 #rangeCalendar{display:block!important;width:100%!important;max-width:700px!important}.dashboard-toolbar33 #rangeCalendar>.period-field19{width:100%!important}.task-period33{display:block!important}.ledger-actions34{display:flex;gap:8px;position:relative;align-items:center;width:100%}.ledger-toolbar34{align-items:flex-start}.ledger-toolbar34>.shipment-period33{width:100%}.menu-wrap34{position:relative}.actions-menu34{position:absolute;z-index:80;top:100%;left:0;min-width:160px;background:var(--panel,#fff);border:1px solid #dce2ea;border-radius:8px;padding:5px;box-shadow:0 6px 20px #0002}.actions-menu34 button{display:block;width:100%;white-space:nowrap;text-align:left}.actions-menu34[hidden]{display:none!important}.partner-primary34{display:contents}.stock-toolbar34{display:flex;gap:8px}.stock-toolbar34 #moduleSearch{flex:1}.stock-toolbar34>.spacer{display:none}
@media(max-width:950px){main>header.partner-header34{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:7px!important}.partner-header34 .eyebrow{display:none}.partner-header34 h1{font-size:18px!important;white-space:nowrap}.partner-header34>div:first-child{min-width:0}.partner-header34 #partnerHeaderActions{display:flex!important;flex:1;justify-content:flex-end;gap:5px;width:auto!important;flex-wrap:nowrap!important;margin:0!important}.partner-header34 #partnerHeaderActions button{font-size:10px!important;padding:7px 5px!important;white-space:nowrap;min-height:30px}.partner-primary34{display:flex;align-items:center;width:100%;gap:6px}.partner-primary34>input{flex:1 1 70%!important;min-width:0!important;width:70%!important;padding:7px!important;font-size:12px!important}.partner-primary34>.sub{flex:none;white-space:nowrap;font-size:11px}.partner-primary34>#bulkEdit{flex:none!important;font-size:11px;padding:7px;white-space:nowrap}.partner-toolbar34>.spacer{display:none}.partner-carousel34{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto;align-items:center;gap:8px;max-width:100%;scrollbar-width:thin}.partner-carousel34>*{flex:0 0 auto!important;width:auto!important;min-width:0!important}.partner-carousel34 label{width:150px!important}.partner-carousel34 input,.partner-carousel34 select{width:100%!important;min-width:0!important}.partner-views,.task-actions33>.segments:last-child{display:inline-flex!important;flex-wrap:nowrap!important;gap:2px!important;padding:4px!important;border-radius:8px!important;background:#eef0f5!important;box-shadow:none!important}.partner-views button,.task-actions33 #taskViewTasks,.task-actions33 #taskViewMap{border:0!important;padding:7px 12px!important;background:transparent!important;white-space:nowrap;font-size:12px!important}.partner-views button.selected,.task-actions33 #taskViewTasks.selected,.task-actions33 #taskViewMap.selected{background:white!important;border-radius:5px!important;box-shadow:0 2px 6px #0001!important;color:#527dcc}.stock-toolbar34{display:flex!important;flex-wrap:nowrap!important}.stock-toolbar34 #moduleSearch{width:70%!important;min-width:0!important;flex:1 1 70%!important}.stock-toolbar34 #newModule{flex:none!important;white-space:nowrap}.ledger-actions34 button{font-size:12px!important;padding:8px!important}.unified-period34 .range-inputs19 input[type=date]{font-size:11px!important;padding:5px!important;min-width:85px!important}.order-period33 .range-inputs19{gap:3px!important}.order-period33 .range-inputs19 button{font-size:10px!important;padding:4px!important}.order-period33 .range-inputs19 input[type=date]{min-width:72px!important}.dashboard-actions33{margin-top:8px}.partner-toolbar34 .actions-menu34{z-index:90}}
/* v35 unified period filters and controls */
[hidden]{display:none!important}body[data-current-page35=partners] #partnerHeaderActions>#export,body[data-current-page35=partners] #partnerHeaderActions>#import{display:none!important}.description35,#layoutTools>p,#content p.sub,#content .dashboard-note,.hint>span:first-child,main>footer,.eyebrow{display:none!important}.partner-search35{display:flex!important;align-items:flex-end;gap:10px;flex-wrap:wrap}.partner-search35>#applyFilters19,.partner-search35>#resetPartnerFilters{height:36px;min-width:90px;margin-bottom:0}.partner-search35>.period-field19{flex:0 0 360px!important;width:360px!important}.partner-search35>div:has(#balanceFrom19),.partner-search35>div:has(#salesFrom19){width:190px;flex:none}.partner-search35 .range-inputs19 input[type=number]{width:75px;min-width:0}.partner-search35>.partner-views{margin-left:auto}.order-actions35{display:flex;gap:8px;position:relative;width:100%}.payment-search35{display:flex;gap:8px;width:100%;align-items:center}.payment-search35 #ledgerSearch{width:70%;min-width:0}.payment-search35 .ledger-actions34{width:auto}.audit-actions35{display:flex;gap:8px;align-items:flex-end}.task-range-list35{display:grid;gap:8px;padding:12px}.task-range-item35{text-align:left;display:flex;gap:12px;padding:12px;align-items:center}.task-range-item35.done strong{text-decoration:line-through;color:#7e8a99}#floatingView35{display:none}.unified-period34{background:#f1f4f9;padding:8px;border-radius:6px}.order-actions35 .primary{background:#4d73df;color:#fff;border:0;border-radius:7px}.task-period33>.period-field19{width:100%!important}.hide-exchange35{display:none!important}
@media(max-width:950px){#layoutTools,.employee-carousel35,.audit-actions35,#settingsTabs17,.settings-tabs,.reference-tabs{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto;gap:8px;align-items:flex-end;scrollbar-width:thin;max-width:100%}#layoutTools>*{flex:0 0 auto!important;width:110px!important;margin:0!important}#layoutTools>label:first-child{width:180px!important}#layoutTools input,#layoutTools select{width:100%!important;min-width:0!important}#layoutTools>button{width:auto!important}.employee-carousel35>*,.audit-actions35>*,#settingsTabs17>*,.settings-tabs>*,.reference-tabs>*{flex:0 0 auto!important;width:auto;white-space:nowrap}.employee-carousel35>.spacer{display:none}.audit-actions35 label{width:150px!important}.partner-search35{flex-wrap:nowrap!important;align-items:flex-end;overflow-x:auto;padding-bottom:12px!important}.partner-search35>*{flex:0 0 auto!important}.partner-search35>.period-field19{width:330px!important;flex-basis:330px!important}.partner-search35>label{width:150px!important}.partner-search35>#applyFilters19,.partner-search35>#resetPartnerFilters{width:150px!important;min-height:36px;font-size:12px;padding:7px!important}.partner-search35 .partner-views,.task-actions33:has(#taskViewMap) #taskViewMap,.task-actions33:has(#taskViewTasks) #taskViewTasks{display:none!important}#floatingView35{display:block;position:fixed;bottom:22px;left:50%;transform:translateX(-50%);z-index:89;background:#1675eb;color:white;font-size:17px;font-weight:600;border:0;border-radius:11px;padding:12px 22px;box-shadow:0 4px 16px #0003}.drawer-open32 #floatingView35,.locked #floatingView35{display:none}.payment-search35 #ledgerSearch{flex:1 1 70%;font-size:12px;padding:7px}.payment-search35 .ledger-actions34{flex:none}.order-actions35{flex-wrap:nowrap}.order-actions35 button{font-size:12px;padding:8px 12px;white-space:nowrap}.task-range-item35{flex-wrap:wrap}.audit-actions35{width:100%}main{padding-bottom:85px!important}.employee-carousel35>.actions-menu34{position:fixed;top:190px;left:20px;width:220px!important;white-space:normal}.task-period33{background:transparent;padding:0}}
/* v36 calendar nesting, partner rows, overlays and panel controls */
.task-period33>.period-field19{display:block!important}.task-period33>.period-field19>div:first-child{display:flex!important}.task-period33>.period-field19>.range-inputs19{display:flex!important;width:100%!important}.partner-search35{display:block!important}.partner-top36,.partner-bottom36{display:flex;align-items:flex-end;gap:10px;margin-bottom:10px;flex-wrap:wrap}.partner-top36>.period-field19{width:360px!important;flex:0 0 360px}.partner-top36>div:not(.period-field19){width:190px}.partner-bottom36>.partner-views{margin-left:auto}.partner-bottom36 label{flex:1;min-width:120px}.partner-bottom36 #resetPartnerFilters{height:36px}.palette36{display:flex;gap:10px;flex-wrap:wrap;border:0}.palette36 label{display:block;position:relative;width:38px;height:38px;cursor:pointer}.palette36 input{position:absolute;opacity:0;width:100%;height:100%}.palette36 span{display:block;width:32px;height:32px;border-radius:50%;background:var(--swatch);border:3px solid transparent}.palette36 input:checked+span{outline:3px solid #1d2939;outline-offset:2px}.palette36 input:focus-visible+span{outline:3px solid #1d2939}.clickable-type36{cursor:pointer}.extra-dashboard32{display:flex!important;flex-wrap:wrap;gap:16px}.extra-sized36{box-sizing:border-box;min-width:0;overflow:auto;flex-grow:1}.extra-row36{display:flex;gap:8px;align-items:center;margin:12px 0}.extra-row36 strong{flex:1}.extra-row36 input{width:85px}.extra-row36 label{font-size:12px}.extra-sized36 .chart-scroll32{max-height:none}
@media(max-width:950px){.task-period33 .unified-period34{display:block!important}.partner-search35{display:flex!important;flex-wrap:nowrap!important;align-items:flex-end!important}.partner-top36,.partner-bottom36{display:contents!important}.partner-search35 .partner-top36>*{flex:0 0 auto}.partner-top36>.period-field19{width:330px!important;flex-basis:330px!important;align-self:flex-end}.partner-top36>div:not(.period-field19){width:180px}.partner-bottom36>label{flex:0 0 150px!important}.partner-bottom36 #resetPartnerFilters{order:999;flex:none}.partner-search35 .range-inputs19{height:36px}.partner-top36 .unified-period34{padding-bottom:0!important}.partner-top36 .range-inputs19 input{height:36px}.partner-bottom36>.partner-views{display:none!important}#adminTabs{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto;gap:8px;max-width:100%}#adminTabs>*{flex:none;white-space:nowrap}.partner-map-layout .map-partner-list{display:none!important}.partner-map-layout{display:block!important}.task-map-panel{transform:none!important}.drawer-open32 aside{z-index:100000!important}.drawer-open32 #drawerShade32{z-index:99999!important}#floatingView35{position:fixed!important;bottom:calc(20px + env(safe-area-inset-bottom))!important;top:auto!important;z-index:9000!important}body,main{transform:none!important;filter:none!important;perspective:none!important}.drawer-open32 #floatingView35{display:none!important}.extra-sized36{flex-basis:100%!important}.extra-row36{flex-wrap:wrap}#content>.toolbar:has(#addType){display:flex!important;flex-wrap:nowrap!important;align-items:center}#content>.toolbar:has(#addType) .spacer{display:none}#addType{margin-left:auto;white-space:nowrap}}
@media(max-width:950px){#drawerToggle32{z-index:99998!important}}
.dashboard-link37{cursor:pointer}.dashboard-link37:hover{box-shadow:0 0 0 2px #4d73df55}.dashboard-link37:focus-visible{outline:2px solid #4d73df;outline-offset:3px}.editing .dashboard-link37{cursor:default}.drill-notice37{display:flex;align-items:center;gap:12px;padding:8px 12px;margin-bottom:10px;background:#eef4ff;border-radius:8px;font-size:12px}.drill-notice37 button{margin-left:auto;font-size:12px}
.route-controls38{display:flex;gap:12px;align-items:flex-end}.route-controls38>label{flex:1;min-width:0;margin:0}.route-controls38 select{width:100%;min-width:0}
@media(max-width:950px){.route-controls38{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}.route-controls38>label{font-size:12px}.route-controls38 select{font-size:12px;padding:7px 5px;min-width:0!important;width:100%!important}.task-map-popup [data-complete36]{color:#000!important;transform:scale(.8);transform-origin:left center}}
/* v38: one compact period control across all sections. */
:root{--period-width38:350px}
#content .period-field19.unified-period34,
#content .task-period33>.period-field19,
#content .partner-top36>.period-field19{
 width:var(--period-width38)!important;max-width:100%!important;min-width:0!important;
 flex:0 0 var(--period-width38)!important;box-sizing:border-box;padding:8px!important;
}
#content .period-field19 .range-inputs19{height:32px!important;gap:6px!important}
#content .period-field19 .range-inputs19 input[type=date]{
 width:110px!important;min-width:0!important;max-width:none!important;flex:1 1 110px!important;
 height:32px!important;min-height:32px!important;padding:5px!important;font-size:12px!important;
}
#content .period-field19 .range-inputs19 button{height:32px!important;min-height:32px!important;padding:5px 7px!important;font-size:12px!important;flex:none!important}
#content .dashboard-toolbar33 #rangeCalendar{width:var(--period-width38)!important;max-width:100%!important;flex:0 0 var(--period-width38)!important;margin:0!important;padding:0!important}
@media(min-width:951px){
 #content .dashboard-toolbar33{flex-wrap:nowrap!important;align-items:flex-end!important;gap:12px;overflow-x:auto}
 #content .dashboard-actions33{width:auto!important;flex:1;min-width:max-content;flex-wrap:nowrap!important;margin:0!important;align-items:center;gap:8px}
 #content .dashboard-actions33>*{flex-shrink:0;white-space:nowrap}
 #content .dashboard-actions33 .spacer{display:none}
 #content #dashboardEmployee{width:180px!important}
 #content .partner-top36{flex-wrap:nowrap!important;overflow-x:auto;align-items:flex-end}
 #content .partner-top36>div:not(.period-field19){flex:0 0 190px}
}
@media(max-width:950px){
 #content .dashboard-toolbar33 #rangeCalendar{flex-basis:auto!important}
 #content .partner-top36>.period-field19{max-width:none!important}
}
/* v39 shared grid and compact rows */
#dashboardGrid .new-stat32{height:100%;margin:0;padding:18px}
#dashboardGrid .wide-panel32{height:100%;width:100%;margin:0;overflow:auto;padding:18px}
#dashboardGrid .chart-scroll32{max-height:none}
#loginForm .password-wrap{position:relative;display:block}
#loginForm .password-wrap input{padding-right:44px}
#loginForm .password-wrap .eye-toggle{position:absolute;right:5px;top:50%;transform:translateY(-50%);margin:0;width:34px;height:34px;padding:6px}
#loginForm label.inline-check{display:flex!important;align-items:center;justify-content:flex-start;gap:8px;width:100%;white-space:nowrap;margin:14px 0 0}
#loginForm label.inline-check input{width:16px!important;height:16px;flex:0 0 16px;margin:0;padding:0}
@media(min-width:951px){
 #content .partner-search35 .partner-top36{display:flex!important;width:100%!important;max-width:none;min-width:0;grid-column:1/-1;gap:12px;overflow:visible}
 #content .partner-search35 .partner-top36>div:not(.period-field19){display:block!important;width:190px!important;flex:0 0 190px!important}
 #content .partner-top36 .range-inputs19{display:flex;gap:6px;align-items:center}
 #content .partner-top36 input[type=number]{width:80px!important;min-width:0}
 #content .partner-search35 .partner-bottom36{width:100%!important;grid-column:1/-1}
 #content .ledger-toolbar34:has(#newShipment34),#content .order-toolbar33{display:flex!important;flex-wrap:nowrap!important;align-items:flex-end;gap:12px}
 #content .ledger-toolbar34:has(#newShipment34)>.shipment-period33,#content .order-toolbar33>.order-period33{width:350px!important;flex:0 0 350px!important}
 #content .ledger-toolbar34>.ledger-actions34,#content .order-toolbar33>.order-actions35{width:auto!important;flex:0 0 auto!important;align-items:center}
 #content .order-toolbar33>.spacer{display:none}
}
/* Reduce row whitespace by 30%; retain readable text and input heights. */
body{line-height:1.12}
td,th{padding-top:12.6px;padding-bottom:12.6px}
nav button,.bottom>button{padding-top:9.1px;padding-bottom:9.1px;margin-top:2.8px;margin-bottom:2.8px}
label{margin-top:9.1px;margin-bottom:4.2px}
p{line-height:1.12} .sub,.mutedbox{line-height:1.12}
/* v40 task views and dashboard task lists */
.task-controls40{display:flex!important;align-items:center!important;flex-wrap:nowrap!important;width:100%;gap:8px;overflow-x:auto}
.task-controls40>*{flex:none!important;margin:0!important}
.task-controls40 #person{width:180px!important}
.task-controls40 #taskStatus40{width:170px}
.task-controls40 .task-map-switch40{margin-left:auto!important;display:flex!important}
.task-controls40 .task-map-switch40 button{display:block!important}
.task-views40 button{min-width:35px;font-size:20px;padding:5px 9px}
.columns-host40{height:auto!important;min-height:60vh;background:#f7f9fc;overflow:auto}
.task-columns40{display:flex;gap:16px;align-items:flex-start;padding:20px;min-width:0}
.task-columns40>section{flex:1;min-width:250px;max-width:600px}
.task-columns40 header{display:flex;flex-direction:column;gap:6px;position:static;border-bottom:2px solid #6ccda2;padding:10px;text-align:center;font-size:12px}
.task-columns40 header small{color:#83909f}
.task-columns40 p{text-align:center;color:#83909f;font-size:12px}
.task-item40{display:flex;flex-direction:column;gap:8px;width:100%;text-align:left;white-space:normal;margin-top:10px;border-left:4px solid #4177e5;padding:12px}
.task-item40.done strong{text-decoration:line-through;color:#89929e}
#dashboardGrid .task-panel40{display:flex;flex-direction:column;gap:8px;padding:14px;overflow:auto}
#dashboardGrid .task-panel40 h3{font-size:14px;margin:0}
#dashboardGrid .task-panel40 select{width:100%;padding:6px;min-height:30px;flex:none}
#dashboardGrid .task-panel40>strong{font-size:24px!important;flex:none}
.dashboard-tasks40{overflow:auto;min-height:0;flex:1}
.dashboard-tasks40 button{display:flex;flex-direction:column;gap:4px;width:100%;text-align:left;padding:8px;white-space:normal;margin-bottom:5px}
.dashboard-tasks40 small{font-size:11px;color:#8491a2}
html[data-theme=dark] .columns-host40{background:#111827}
@media(max-width:950px){.task-controls40 .task-map-switch40{display:flex!important}.task-controls40 .task-map-switch40 #taskViewMap,.task-controls40 .task-map-switch40 #taskViewTasks{display:block!important}.task-columns40{padding:10px;gap:10px}.task-columns40>section{flex:0 0 85%;min-width:240px}.task-controls40{padding-bottom:8px}.task-controls40 #person{width:150px!important}}
/* v41 compact calendar tasks and task navigation */
.daycol{min-width:0;overflow:hidden}
.daycol .task-compact41{padding:4px 5px!important;min-width:0!important;max-width:calc(100% - 6px);font-size:11px;line-height:20px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.daycol .task-compact41 span{display:block;overflow:hidden;text-overflow:ellipsis}
.task-link41{display:block;width:100%;text-align:left;cursor:pointer;color:#2465bd!important;text-decoration:underline;padding:10px;border:1px solid #dce3ed;background:transparent;border-radius:6px}
.task-partner-edit41{font-size:11px;padding:4px 0;border:0;background:transparent}
.chart-dimensions41{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.chart-dimensions41 input{min-width:0;width:100%}
/* v42 documents, exchange and bounded month cells */
#exchangeWrap34,#partnerHeaderActions>#import,#partnerHeaderActions>#export,aside .bottom>#import,aside .bottom>#export{display:none!important}
#exchangeDocument42{display:block;max-width:300px;margin:8px 0 4px;padding:7px}
@media(min-width:951px){#exchange,#exchange.exchange-empty18{width:min(600px,95vw)!important;max-width:600px!important}}
.document-import-actions42,.month-navigation42{display:flex;align-items:center;gap:10px;padding:8px}
.month-navigation42 span{flex:1;text-align:center}
.monthgrid{grid-template-columns:repeat(7,minmax(0,1fr))!important;grid-auto-rows:150px}
.monthcell{height:150px!important;min-height:150px!important;min-width:0;overflow:hidden;padding:5px}
.month-items42{height:122px;overflow-y:auto;overflow-x:hidden;margin-top:4px}
.month-items42 button{display:block;width:100%;font-size:9px;line-height:12px;padding:3px;margin:2px 0;border:0;border-left:3px solid;border-radius:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left}
.month-window42{height:auto!important;max-height:530px}
.document-add42{margin-left:auto;white-space:nowrap}
#modal.document-modal42{width:96vw!important;max-width:1500px!important;max-height:94vh;padding:20px;border-radius:8px}
.document-modal42 .modalhead{margin-bottom:10px}.document-modal42 .modalhead h2{font-size:20px}
.document-actions42{justify-content:flex-start;margin:0 0 15px;gap:6px}
.document-modal42 button{font-size:12px;padding:7px 12px}
.document-modal42 .document-actions42 button[type=submit]{background:#82b52b;border-color:#82b52b;color:white;order:-1}
.document-meta42{display:flex;gap:12px;flex-wrap:wrap}.document-meta42 label{width:170px}
.document-fields42{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 18px}
.document-modal42 label{font-size:12px}.document-modal42 input,.document-modal42 select{padding:7px;font-size:12px}
.document-items-head42{display:flex;gap:12px;align-items:center;margin:22px 0 10px;border-bottom:1px solid #dce4ec;padding-bottom:8px}.document-items-head42 select{margin-left:auto;width:300px}
.document-lines42{overflow:auto}.document-lines42 table{min-width:900px}.document-lines42 th,.document-lines42 td{padding:5px}.document-lines42 input{min-width:65px}.document-lines42 td:first-child{width:30%}.document-lines42 td:first-child input{min-width:210px}
.document-bottom42{display:grid;grid-template-columns:2fr 1fr;gap:30px;margin-top:18px}.document-bottom42>div{text-align:right}
@media(max-width:950px){.document-fields42{grid-template-columns:1fr 1fr}.document-bottom42{grid-template-columns:1fr}.document-items-head42{flex-wrap:wrap}.document-items-head42 select{width:100%;margin:0}.document-meta42 label{width:45%}.document-add42{font-size:12px}.month-navigation42{font-size:11px}}

/* v43 */
.month-navigation42{align-items:center}.month-navigation42>span{text-transform:capitalize;font-weight:600}
.month-window42{max-height:none!important;height:auto!important}
.month-window42 .monthcell{height:120px!important;min-height:120px!important}
.month-window42 .month-items42{height:90px!important;max-height:90px!important}
.daycol .task-compact41{box-sizing:border-box!important;max-width:100%;margin:0!important;border-right:0!important;min-width:0!important}
#exchange.exchange-preview43{height:auto!important;max-height:85vh!important}
#exchange.exchange-preview43 #exchangeBody{max-height:65vh;overflow:auto}
.info-builder43{max-width:520px;padding:16px;display:grid;gap:12px}
.info-builder43 h3{margin:0}.info-builder43 label{display:grid;gap:5px}
.info-builder43 .row{display:grid;grid-template-columns:1fr 72px;gap:10px}
.info-builder43 [type=color]{height:34px;width:100%;padding:3px}
.info-preview43,.info-body43{border-top:3px solid #487ce0;padding:14px;display:flex;flex-direction:column;gap:10px;overflow:auto}
.info-preview43{background:#f4f7fb;border-radius:8px}
.info-body43 strong,.info-preview43 strong{white-space:pre-wrap;overflow-wrap:anywhere;font-size:20px}

/* v44: cell-local drag feedback and compact document workspace */
.daycol.over{background:transparent!important}
.slot.drag-source44,.monthcell.drag-source44{background:#e9f1ff!important;box-shadow:inset 0 0 0 1px #9abaff}
.slot.drag-target44,.monthcell.drag-target44{background:#d7e8ff!important;box-shadow:inset 0 0 0 2px #4b8cea}
.task-pending44{opacity:.72}
main>header.page-header-hidden44{display:none!important}
.header-actions44{margin-left:auto;display:flex;align-items:center;gap:6px;flex-shrink:0}
.header-actions44 #partnerHeaderActions{display:flex;gap:6px}
.compact-document44{width:calc(100vw - 28px)!important;max-width:1500px!important;max-height:94vh!important;padding:18px 22px!important;border-radius:3px!important}
.compact-document44 .modalhead{display:none!important}
.compact-document44 button,.compact-document44 input,.compact-document44 select,.compact-document44 textarea{font-size:11px!important;border-radius:2px!important;line-height:1.2!important}
.compact-document44 input,.compact-document44 select{min-height:23px!important;height:23px!important;padding:3px 6px!important}
.compact-document44 label{font-size:11px!important;margin:0!important;color:#405063}
.compact-document44 button{min-height:24px!important;padding:4px 8px!important}
.compact-document44 .compact-actions44{display:flex;justify-content:flex-start;align-items:center;gap:5px;margin:0 0 12px!important;border:0!important;padding:0!important}
.compact-document44 .compact-actions44 [type=submit]{order:-2;background:linear-gradient(#c5dd32,#8eb60a)!important;border:1px solid #9bbb16!important;color:white!important}
.compact-document44 .compact-actions44 [data-close44],.compact-document44 .document-actions42 button:last-child{order:-1}
.compact-document44 .document-meta42{display:flex!important;align-items:center;gap:8px;margin:10px 0 16px;flex-wrap:wrap}
.compact-document44 .document-meta42 label{display:flex;align-items:center;gap:4px}
.compact-document44 .document-meta42 [name=number]{width:60px}.compact-document44 .document-meta42 [name=date]{width:120px}.compact-document44 .document-meta42 [name=time]{width:80px}
.compact-document44 .document-name44{font-size:13px;font-weight:500}
.compact-document44 .document-fields42{display:grid!important;grid-template-columns:1fr 1fr 1fr!important;gap:32px!important;max-width:1000px;margin-bottom:22px}
.document-col44{display:flex;flex-direction:column;gap:7px}
.document-col44 label{display:grid!important;grid-template-columns:104px minmax(0,1fr);align-items:center;gap:8px}
.document-col44 input,.document-col44 select{width:100%!important;min-width:0!important}
.compact-document44 .document-items-head42{display:flex;border-bottom:2px solid #258be2;gap:8px;padding:6px 0;margin-top:18px}
.compact-document44 .document-items-head42>strong{font-size:12px;margin-right:auto;font-weight:500}
.compact-document44 .document-items-head42>button{color:#2683cc;background:white;border:1px solid #88b6df}
.compact-document44 .document-lines42{border:0;max-height:40vh;overflow:auto;margin:0}
.compact-document44 table{width:100%;min-width:760px;font-size:11px}
.compact-document44 th,.compact-document44 td{padding:5px 6px!important;border-bottom:1px solid #e5e8ed;height:28px}
.compact-document44 th{font-size:10px;font-weight:400;color:#798390;background:white}
.compact-document44 td input{border-color:transparent!important;background:transparent;width:100%;min-width:40px}
.compact-document44 td:first-child{width:32%}.compact-document44 td:first-child input{min-width:180px}
.compact-document44 td input:hover,.compact-document44 td input:focus{border-color:#90bce3!important;background:#fff}
.compact-document44 .document-bottom42{display:grid;grid-template-columns:1fr 260px;gap:35px;margin-top:18px}
.compact-document44 textarea{min-height:44px!important;padding:6px!important}
.compact-document44 .document-bottom42 strong{font-size:15px;margin-top:16px;display:block}
.product-entry44{position:relative;border-bottom:1px solid #e5e8ed;padding:5px 0}
.product-picker44{display:flex;align-items:center;position:relative;gap:5px;max-width:560px}
.product-plus44{color:#3d95de;font-size:22px}
.product-picker44>input{width:100%;border:1px solid #d1d9e2!important;background:white!important}
.product-results44{position:absolute;z-index:20;bottom:calc(100% + 3px);left:22px;width:min(590px,85vw);max-height:280px;overflow:auto;background:#fff;border:1px solid #ccd5df;border-radius:3px;box-shadow:0 3px 12px #1233}
.product-result-head44{padding:6px 9px;background:#f4f7fb;color:#78818c;font-size:10px;display:flex;justify-content:space-between}
.product-results44>button{display:flex;width:100%;align-items:center;justify-content:space-between;text-align:left;gap:12px;border:0;border-bottom:1px solid #edf0f5;background:#fff!important;color:#344351!important;min-height:38px!important}
.product-results44>button:hover,.product-results44>button:focus{background:#edf5ff!important}
.product-results44 small{display:block;color:#8190a2;font-size:10px;margin-top:3px}
.product-results44 strong{background:#e0f7e9;color:#198454;white-space:nowrap;border-radius:3px;padding:3px 6px}
.product-results44 strong.zero44{color:#6a7584;background:#edf0f3}
.task-fields44{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 24px;max-width:1100px}
.task-fields44 .row{display:flex;gap:10px}
.task-fields44 .assignee-picker{font-size:11px;align-self:start}
.task-fields44 input,.task-fields44 select{width:100%}
.task-fields44 [type=checkbox],.task-fields44 [type=radio]{width:auto}
.task-fields44 .task-move{grid-column:1/-1}
.task-products44{margin-top:15px}
@media(max-width:800px){
 .header-actions44{margin-left:8px}.toolbar:has(.header-actions44){display:flex;flex-wrap:nowrap;overflow-x:auto}
 .compact-document44{width:100vw!important;max-width:none!important;max-height:100dvh!important;height:100dvh!important;margin:0!important;padding:12px!important}
 .compact-document44 .document-fields42{grid-template-columns:1fr!important;gap:10px!important}
 .document-col44 label{grid-template-columns:110px 1fr}
 .compact-document44 .document-meta42{gap:5px}
 .compact-document44 .document-bottom42{grid-template-columns:1fr;gap:10px}
 .task-fields44{grid-template-columns:1fr}
 .compact-document44 .document-items-head42{flex-wrap:nowrap;overflow-x:auto;white-space:nowrap}
}
#modal.compact-document44{width:calc(100vw - 28px)!important;border-radius:3px!important}
.compact-document44 .document-meta42 label{width:auto!important}
.document-totals44{display:grid;grid-template-columns:1fr auto;gap:8px;font-size:11px;color:#637185}
.document-totals44 output{text-align:right}
@media(max-width:800px){#modal.compact-document44{width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important}}

/* v45: inline pipeline editor */
.pipeline-top45{display:flex;align-items:center;gap:12px;min-height:58px;padding:10px 16px;background:white;border-bottom:1px solid #e6e8eb}
.pipeline-top45>input{width:min(320px,45vw);font-size:15px;font-weight:700;border-color:transparent;text-transform:uppercase}
.pipeline-top45>span{flex:1}.pipeline-top45 button{font-size:12px;border-radius:3px;padding:8px 14px}
.pipeline-settings45{display:flex;min-height:calc(100vh - 155px);background:#f7f7f7}
.pipeline-help45{flex:0 0 220px;padding:24px 18px;color:#8d949b;border-right:1px solid #e4e6e9;font-size:12px;line-height:1.5}
.pipeline-help45 strong{color:#434a53;font-size:12px;text-transform:uppercase}
.pipeline-help45 p{margin-top:18px}
.pipeline-scroll45{flex:1;min-width:0;overflow-x:auto}
#pipelineColumns45{display:flex;min-height:100%;padding:0 16px 0 0;align-items:stretch}
.stage-editor45{position:relative;flex:0 0 280px;min-height:600px;border-right:1px solid #e5e7eb;background:#fff}
.stage-heading45{height:44px;display:flex;align-items:center;gap:3px;border-bottom:4px solid var(--stage-color);padding:4px;background:#f4f4f4}
.stage-heading45>input:not([type=color]){min-width:0;width:100%;text-align:center;text-transform:uppercase;letter-spacing:.6px;font-size:12px;font-weight:600;border:0;background:transparent;padding:4px}
.stage-heading45>input:focus{background:white;outline:1px solid #b5d9fb}
.stage-heading45 button{border:0;background:transparent;padding:3px;min-width:18px;color:#bbc0c4}
.stage-heading45 .stage-delete45{color:#f08080;display:flex;align-items:center}
.stage-heading45>input[type=color]{width:19px;height:23px;min-width:19px;padding:0;border:0;background:transparent;cursor:pointer}
.stage-grip45{cursor:grab}
.stage-insert45{position:relative;z-index:2;align-self:flex-start;flex:0 0 28px;width:28px;height:28px;margin:29px -14px 0;padding:0;border-radius:50%;border:1px solid #dfe4e7;background:#fff;font-size:22px;font-weight:400;color:#b6bdc4}
.stage-insert45:hover{color:#2f84d6;border-color:#2f84d6}
.stage-hints45{min-height:53px;background:#f6f6f6;text-align:center;padding:10px 12px;border-bottom:1px solid #e5e7eb}
.stage-hints45>button{border:0;background:transparent;text-decoration:underline;font-size:12px;color:#7e8995;padding:4px}
.stage-hints45 textarea{width:100%;min-height:100px;font-size:12px;padding:8px;resize:vertical;margin-top:5px}
.stage-direction45{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 12px;color:#a0a7ae;font-size:11px;border-bottom:1px solid #e7e8eb}
.stage-direction45 button{padding:2px 6px;border:0;background:transparent;color:#8a98a8}
.stage-grid45{height:440px;background:repeating-linear-gradient(#fff 0px,#fff 77px,#e9eaed 78px,#fff 79px)}
.stage-over45{box-shadow:inset 3px 0 #4b94e1}
.stage-transfer45{position:absolute;z-index:3;top:45px;left:8px;right:8px;background:white;border:1px solid #e8d4d4;border-radius:5px;box-shadow:0 5px 20px #0002;padding:12px;display:grid;gap:10px;font-size:12px}
.stage-transfer45 select{width:100%;margin-top:6px}.stage-transfer45 button{font-size:11px}
.deal-hints45{padding:8px 10px;font-size:11px;background:#f5f8fc;border-bottom:1px solid #e5e9f0}
.deal-hints45 summary{color:#5884b0;cursor:pointer}.deal-hints45 ul{padding-left:17px;margin:8px 0}.deal-hints45 li{white-space:pre-wrap;overflow-wrap:anywhere;margin:5px 0}

/* Document filter: the same compact three-row arrangement as the reference. */
.document-original45{display:none!important}
.document-toolbar45{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:nowrap!important}
.document-leading45{display:flex;align-items:center;gap:6px;flex:none}
.document-leading45 button,#documentFilterButton45{font-size:11px;padding:5px 9px;border-radius:3px;white-space:nowrap}
.document-toolbar45 .order-period33,.document-toolbar45 .shipment-period33{margin:0!important;flex:none!important;width:auto!important}
.document-toolbar45 .order-actions35,.document-toolbar45 .ledger-actions34{margin-left:auto}
.document-filters45{background:#dedede;border:1px solid #d2d2d2;border-radius:0;padding:9px 14px 12px;margin:0 0 13px}
.document-filter-grid45{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px 12px}
.document-filter-field45{display:flex!important;flex-direction:column;min-width:0;gap:3px;font-size:10px!important;color:#555;margin:0!important}
.document-filter-field45>span{font-size:10px;white-space:nowrap}
.document-filter-field45 input,.document-filter-field45 select{height:22px!important;min-height:22px!important;width:100%;min-width:0;padding:2px 5px!important;font-size:10px!important;background:white;border:1px solid #c6c6c6!important;border-radius:0!important;line-height:1.15}
.document-filter-field45>span button{border:0;background:transparent;color:#2588bf;font-size:10px;padding:0 1px;border-radius:0;line-height:1}
.filter-date-pair45{display:flex;align-items:center;gap:5px;min-width:0}
.filter-date-pair45>input{width:calc(50% - 7px)!important;padding-right:0!important}
.document-filter-actions45{display:flex;gap:5px;align-items:flex-start;padding-top:4px}
.document-filter-actions45 button{font-size:10px;white-space:nowrap;height:23px;min-height:23px;padding:3px 8px;border-radius:2px;border:1px solid #bdbdbd}
.document-filter-actions45 .primary{background:linear-gradient(#c5de3d,#93b915);border-color:#a1b91f;color:#fff}
.document-filter-actions45 #bookmarkDocument45,.document-filter-actions45 #settingsDocument45{width:22px;padding:2px;border:0;border-radius:50%;background:#afb1b2;color:white;font-size:14px}
#documentPresets45{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}
#documentPresets45:empty{display:none}
#documentPresets45>span{display:flex;gap:0;background:#f2f2f2;border-radius:16px;overflow:hidden}
#documentPresets45 button{padding:3px 7px;font-size:10px;border:0;background:transparent}
@media(max-width:1100px){.document-filter-actions45{gap:3px}.document-filter-actions45 button{padding:3px 5px}.pipeline-help45{flex-basis:175px;padding:18px 12px}}
@media(max-width:800px){
 .pipeline-help45{display:none}.stage-editor45{flex-basis:260px}.pipeline-top45{padding:8px;gap:5px}.pipeline-top45>input{font-size:12px}
 .document-toolbar45{overflow-x:auto;padding-bottom:8px!important}
 .document-filter-grid45{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .document-filters45{padding:10px}.document-filter-actions45{align-items:end}
 .document-filter-field45 input,.document-filter-field45 select{height:28px!important}
}
/* v46 compact employee calls */
#voiceDialog46{width:min(360px,calc(100vw - 28px));max-height:90dvh;padding:22px;border:0;border-radius:14px;box-shadow:0 20px 70px #172c5040;overflow:auto}
#voiceDialog46::backdrop{background:#172c5060;backdrop-filter:blur(3px)}
.voice-head46{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}
.voice-head46>button{border:0;background:transparent;font-size:22px;padding:0 5px}
#voiceDialog46 label{display:flex;flex-direction:column;gap:6px;font-size:12px}
#voiceDialog46 select{width:100%;padding:8px;border:1px solid #d7deeb;border-radius:6px;font-size:12px}
#voiceDialog46 .voice-check46{display:flex;flex-direction:row;align-items:center;gap:8px;margin-top:13px}
.voice-check46 input{width:16px;height:16px;margin:0}
.voice-symbol46{text-align:center;font-size:36px;color:#5278df;margin:12px}
#voiceStatus46{text-align:center;min-height:18px;font-size:13px;margin:15px 0;color:#52607b}
.voice-mode46{text-align:center;font-size:12px;line-height:1.4;color:#52607b}
.voice-actions46{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:15px}
.voice-actions46 button{font-size:12px;padding:8px 13px;border-radius:6px}
#contactNav46{width:100%;display:flex;gap:9px;align-items:center;margin-top:5px;text-align:left}
#myPoint46{margin-right:8px}
/* v47 page captions, unified toolbar and promoted navigation */
main>header.page-header-hidden44.page-heading47{display:flex!important;align-items:center!important;margin:0 0 12px!important;padding:0!important;background:transparent!important;min-height:24px}
main>header.page-heading47>.eyebrow,main>header.page-heading47 .eyebrow,main>header.page-heading47>button,main>header.page-heading47>#partnerHeaderActions{display:none!important}
main>header.page-heading47 h1{font-size:19px;line-height:1.25;font-weight:600;letter-spacing:0;color:#354760}
#content .toolbar,#content>.section-tabs,#content .task-controls40,.pipeline-top45{background:#fff!important}
.document-filters45{background:#f0f5fc!important;border-color:#e5edf7!important;padding:12px 18px!important}
.document-filter-field45 input,.document-filter-field45 select{border-color:#dfe5ee!important;border-radius:4px!important}
.document-filter-actions45 .primary{background:#4e73df!important;border-color:#4e73df!important}
.pipeline-management47{margin:0 auto 0 0!important;flex:none}
.document-toolbar47{min-height:63px;align-items:center!important}
.document-toolbar47 .document-leading45{gap:8px;margin-right:auto}
.document-toolbar47 .document-leading45 button{font-size:12px;padding:7px 11px;min-height:32px;margin:0}
.document-toolbar47 .order-actions35,.document-toolbar47 .ledger-actions34{margin:0!important}
#moduleNav>button,#moduleNav>.nav-group>button,#moduleNav>.nav-promoted23>button{font-size:18px!important;line-height:1.12!important;padding:9.1px 13px!important;min-height:39px!important;margin:2.8px 0!important;display:flex!important;align-items:center;gap:13px}
#moduleNav>button>span,#moduleNav>.nav-group>button>span,#moduleNav>.nav-promoted23>button>span{font-size:18px!important;line-height:1.12!important}
#moduleNav>.nav-group>button>.menu-sign{margin-left:auto;font-size:20px!important}
#voiceError47{font-size:12px;line-height:1.4;padding:10px;border-radius:6px;background:#fff4e5;color:#80551b;margin:12px 0}
#voiceError47:empty{display:none}
#voiceRetry47{background:#4e73df;color:white;border-color:#4e73df}
.voice-settings47{border:0;background:transparent;padding:8px 0;margin-top:10px;color:#5476c8;font-size:11px}
@media(max-width:950px){main>header.page-heading47{margin-top:4px!important}main>header.page-heading47 h1{font-size:18px}.document-toolbar47{min-height:54px;padding:10px!important}.document-filters45{padding:12px!important}}
/* v48 — finance and warehouse filters share the document filter palette. */
.nav-icon48{display:inline-block;width:18px;font-style:normal;flex:0 0 18px;font-size:17px;text-align:center}
.report-filters48{background:#f0f5fc;border:1px solid #e5edf7;border-radius:9px;padding:12px;margin:0 0 14px;color:#334860}
.report-filters48[hidden]{display:none!important}.filter-grid48{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px 14px;align-items:end}
.filter-field48{display:flex;flex-direction:column;gap:5px;min-width:0;font-size:12px;margin:0}.filter-field48[hidden]{display:none}.filter-field48>span{min-height:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.filter-field48 input,.filter-field48 select{width:100%;min-width:0;height:31px;padding:5px 7px;font-size:12px;border:1px solid #d8e2ef;border-radius:5px;background:#fff;color:#293c58;box-sizing:border-box}
.filter-field48>span>button{border:0;background:transparent;color:#4678d8;font-size:10px;min-height:0;padding:0 3px;box-shadow:none}.filter-pair48{display:flex;align-items:center;gap:4px;min-width:0}.filter-pair48 input{flex:1;width:0;min-width:0}.filter-pair48 input[type=date]{font-size:11px}.filter-actions48{display:flex;gap:5px;align-items:center;min-height:31px}.filter-actions48 button{font-size:12px;min-width:0;padding:6px 9px;white-space:nowrap}.filter-actions48 #saveFilters48,.filter-actions48 #fieldsFilter48{padding:5px 7px;background:#e4ebf5;border:0;font-size:17px;line-height:1}
.filter-saved48{display:flex;gap:7px;flex-wrap:wrap}.filter-saved48:not(:empty){padding-top:10px}.filter-saved48>span{display:flex}.filter-saved48 button{font-size:11px;padding:4px 8px;background:#e5edf8}.report-filters48 output{color:#c63548;font-size:12px;display:block}.report-filters48 output:empty{display:none}
.report-panel48{overflow:auto}.report-panel48 table{width:100%;font-size:12px}.report-panel48 th{white-space:nowrap}.report-panel48 th,.report-panel48 td{padding:9px 10px}.report-panel48 tfoot{font-weight:600;background:#f0f5fc}.report-note48{display:block;padding:10px;color:#73839a}.table-link48{border:0;background:none;color:#3869bd;padding:0;text-align:left;font-size:inherit;box-shadow:none}.warehouse-toolbar48{flex-wrap:nowrap;overflow:auto}.warehouse-toolbar48>input{width:260px;min-width:160px}.warehouse-toolbar48>button{flex-shrink:0}
.metadata-grid48{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}.metadata-grid48 label{display:flex;flex-direction:column;gap:5px;margin:0;min-width:0}.metadata-grid48 input,.metadata-grid48 select{width:100%;min-width:0;box-sizing:border-box}.warehouse-modal48{width:min(1000px,94vw);max-width:1000px}.warehouse-items48{overflow:auto}.warehouse-items48 table{width:100%}.warehouse-items48 input{width:100px;min-width:75px}.warehouse-items48 small{display:block}.warehouse-results48{border:1px solid #d8e2ef;border-radius:6px;max-height:250px;overflow:auto;background:#fff}.warehouse-results48[hidden]{display:none}.warehouse-results48 button{display:flex;justify-content:space-between;gap:15px;border:0;border-bottom:1px solid #e8edf4;width:100%;text-align:left;padding:10px;box-shadow:none}.warehouse-results48 small{display:block;color:#73839a}.warehouse-results48 strong{font-size:12px;white-space:nowrap}.warehouse-modal48 #warehouseTotal48{display:block;text-align:right;padding:12px}
.info-builder48{max-width:780px;padding:18px}.scenario-buttons48{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-bottom:15px}.scenario-buttons48 button{display:flex;align-items:center;gap:7px;font-size:12px;padding:9px 10px;text-align:left;white-space:nowrap}.scenario-buttons48 i{font-style:normal;font-size:17px}.scenario-buttons48 .selected{background:#e8efff;border-color:#6789ed;color:#285ed6}.info-builder48 label{font-size:12px}.info-builder48 [hidden]{display:none!important}.info-builder48 .info-preview43{padding:12px}.info-builder48 #infoResult48{display:block;color:#bb3545;margin-top:8px}.info-scenario48{overflow:auto!important;padding:12px!important}.info-list48{margin-top:10px;font-size:12px;overflow:auto}.info-list48>div{display:grid;grid-template-columns:1fr auto;border-top:1px solid #e7edf6;gap:3px 8px;padding:7px 0}.info-list48 small{grid-row:2;color:#7c8ca4;font-size:10px}.info-list48 .done b{text-decoration:line-through;color:#8291a4}.goal48{font-size:12px;margin-top:12px}.goal48 progress{display:block;width:100%;height:10px;accent-color:#4c7fe6;margin-bottom:7px}
@media(max-width:1400px){.filter-grid48{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:950px){.filter-grid48{grid-template-columns:repeat(2,minmax(0,1fr))}.filter-actions48{grid-column:1/-1}.filter-field48>span{font-size:11px}.filter-pair48 input[type=date]{font-size:10px}.scenario-buttons48{display:flex;overflow:auto}.scenario-buttons48 button{flex:0 0 auto}.info-builder48{padding:12px}.warehouse-modal48{width:96vw;padding:12px}.warehouse-toolbar48{gap:7px}.warehouse-toolbar48>input{width:180px}.metadata-grid48{gap:10px}.filter-grid48{gap:10px}.report-filters48{padding:10px}.info-list48>div{font-size:11px}}
@media(max-width:480px){.filter-grid48{grid-template-columns:minmax(0,1fr)}.filter-actions48{grid-column:auto}.filter-field48>span{font-size:12px}.filter-pair48 input[type=date]{font-size:12px}.filter-field48 input,.filter-field48 select{height:34px}.warehouse-modal48 .metadata-grid48{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* v49: compact card builder, explicit typography and stable edit controls. */
.info-builder49{max-width:1120px;margin:auto;display:grid;gap:16px}.info-editor49,.info-manager49{padding:18px}.info-form49 h3,.info-manager49 h3{margin:0 0 14px}.info-form-grid49{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,.8fr);gap:20px}.info-form49 label{display:flex;flex-direction:column;gap:5px;margin:9px 0;font-size:13px}.info-form49 input,.info-form49 select,.info-form49 textarea{width:100%;min-width:0;box-sizing:border-box}.info-fields49{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}.info-form49 input[type=color]{padding:3px;height:32px;cursor:pointer}.info-presets49,.info-form49 .scenario-buttons48{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}.info-presets49 button{border-color:#4177e5;color:#285cba}.info-form49 .scenario-buttons48 button{padding:6px 9px;font-size:12px}.info-appearance49{border:1px solid #dfe6ef;border-radius:10px;margin:12px 0;padding:8px 12px}.info-appearance49 legend{font-size:13px;font-weight:600;padding:0 6px}.info-style-table49{display:grid;grid-template-columns:1fr 84px 55px;gap:7px 10px;align-items:center;font-size:12px}.info-style-table49 label{margin:0}.info-style-table49>span{color:#63758b;font-size:11px}.info-style-table49 input{padding:6px}.info-preview-column49{min-width:0;align-self:start;position:sticky;top:10px}.info-preview-label49{font-size:11px;color:#63758b;display:block;margin-bottom:8px}.info-preview49{min-height:160px;border:1px dashed #91acd9;border-radius:10px;padding:20px;overflow:auto}.info-actions49{display:flex;align-items:center;gap:12px;margin-top:14px}.info-actions49 output{font-size:13px;color:#b52f42}.info-manage-row49{display:flex;align-items:center;gap:7px;padding:9px 0;border-bottom:1px solid #edf0f5}.info-manage-row49>span{flex:1;min-width:0;overflow-wrap:anywhere}.info-manage-row49 small{color:#7c8999}.info-manage-row49 button{font-size:12px;padding:6px 9px}.info-dialog49{width:min(980px,94vw);max-width:980px;max-height:90vh;box-sizing:border-box;border:0;border-radius:14px;padding:24px;overflow:auto}.info-dialog49::backdrop{background:#15243466}.info-close49{position:absolute;top:10px;right:10px;width:30px;height:30px;padding:0;font-size:22px;background:white}.info-style49{font-family:var(--info-font49)!important;background:var(--background49)!important}.info-style49 .info-title49{font-family:inherit!important;font-size:var(--titleSize49)!important;color:var(--titleColor49)!important;line-height:1.3!important;min-height:0!important;display:block;margin:0!important;font-weight:400}.info-style49 .info-value49{font-family:inherit!important;font-size:var(--valueSize49)!important;color:var(--valueColor49)!important;font-weight:var(--value-weight49)!important;line-height:1.2!important;display:block;margin:12px 0 0!important;overflow-wrap:anywhere}.info-style49 .info-text49,.info-style49 .info-text49 *{font-family:inherit!important;font-size:var(--bodySize49)!important;color:var(--bodyColor49)!important;line-height:1.4!important}.info-style49 .info-text49{white-space:pre-wrap;margin-top:12px}.info-style49 .info-icon49{font-family:inherit;font-size:var(--iconSize49)!important;color:var(--iconColor49)!important;line-height:1.2}.info-heading49{display:flex;align-items:center;gap:8px;padding-right:28px}.info-body43.info-style49{padding:20px!important;display:block!important;border-top:1px solid #e5eaf1!important}.info-style49 .info-list48{max-height:none}.info-menu49{position:absolute;right:8px;top:7px;z-index:4;font-family:system-ui}.editing .info-menu49{right:44px}.info-menu49 summary{display:grid;place-items:center;list-style:none;width:28px;height:26px;border:1px solid #dfe6ef;border-radius:6px;background:#fff;color:#465c78;font-size:20px;cursor:pointer;line-height:1}.info-menu49 summary::-webkit-details-marker{display:none}.info-menu49>div{position:absolute;right:0;top:30px;min-width:170px;padding:5px;border:1px solid #dfe6ef;border-radius:8px;background:#fff;box-shadow:0 8px 24px #18294424}.info-menu49 button{display:block;width:100%;text-align:left;border:0;background:white;padding:9px;font-size:13px}.info-menu49 button:hover{background:#eef4fc}.dashboard-widget.info-menu-open49{z-index:10}.info-style49 .info-value49:empty{display:none}@media(max-width:700px){.info-form-grid49{grid-template-columns:1fr}.info-preview-column49{position:static;grid-row:1}.info-preview49{min-height:110px}.info-dialog49{width:96vw;padding:18px 12px}.info-editor49,.info-manager49{padding:12px}.info-presets49,.info-form49 .scenario-buttons48{flex-wrap:nowrap;overflow-x:auto}.info-presets49 button,.info-form49 .scenario-buttons48 button{flex:none}.info-manage-row49{font-size:13px}.info-heading49{padding-right:24px}}
/* v50: dark navigation, white workspace, blue actions — shared across CRM. */
body.theme50{--blue:#3288c8;--accent:#3288c8;--primary:#3288c8;--muted:#7c857e;background:#f3f4f5;color:#303946;font-family:Arial,sans-serif}.theme50 aside{background:#203743!important;color:#b8c6cf;border-right:1px solid #304c5c}.theme50 aside .brand{color:#fff}.theme50 aside .brand>span:first-child{background:#3288c8;color:white;border-radius:6px}.theme50 aside :is(.workspace,.profile small){color:#9aafbd}.theme50 aside :is(nav button,.bottom>button,#moduleNav button){background:transparent;color:#bacbd6;border-color:transparent;border-radius:3px;font-size:14px}.theme50 aside :is(nav button,.bottom>button,#moduleNav button):hover{background:#2b4759;color:white}.theme50 aside :is(button.active,.nav-group>button[aria-expanded=true]){background:#294d63!important;color:#fff!important;box-shadow:inset 3px 0 #5eb5ec}.theme50 aside .nav-children{border-left:1px solid #456476}.theme50 aside .profile{border-color:#395463;color:#dce7ed}.theme50 aside .profile>b{background:#347ba6;color:#fff}.theme50 .profile #logout{color:#9fc7e2}.theme50 main{background:#f3f4f5}.theme50 main>header.page-heading47{background:#fff!important;border-bottom:1px solid #e2e6e9!important;color:#253341!important;padding:22px 28px!important}.theme50 #title{font-size:27px!important;font-weight:500!important;color:#263541!important}.theme50 :is(button,input,select,textarea){border-radius:4px;border-color:#dce3e8}.theme50 :is(input,select,textarea){color:#303a47;background:#fff}.theme50 :is(input,select,textarea):focus{outline:2px solid #72b5e755;border-color:#62a6d6}.theme50 input[type=checkbox],.theme50 input[type=radio]{accent-color:#3288c8}.theme50 button.primary,.theme50 .range-day.edge,.theme50 .language-switch button.active{background:#3288c8!important;border-color:#3288c8!important;color:white!important}.theme50 button:not(.primary):not(.task):hover{border-color:#93bd98}.theme50 :is(.panel,.stat-card,.new-stat32,.pipeline-work,.calendar,.ledger-panel,.directory-panel){background:#fff;border-color:#e3e7eb;border-radius:5px;box-shadow:none}.theme50 :is(.stat-card,.new-stat32):not(.info-style49){border-top-color:#c0d5e5}.theme50 :is(.section-tabs,.reference-tabs,#settingsTabs17,#adminTabs){background:#fff;border-bottom:1px solid #e1e5e2;padding-bottom:6px}.theme50 :is(.section-tabs,.reference-tabs,#settingsTabs17,#adminTabs) button{background:white;border:0;border-radius:0;color:#5c665e}.theme50 :is(.section-tabs,.reference-tabs,#settingsTabs17,#adminTabs) button:is(.selected,.active){background:white!important;color:#287fb9!important;border-bottom:2px solid #3288c8!important}.theme50 :is(th,.rights-table th){background:#fafbfa!important;color:#7b8791;border-color:#e2e7e3}.theme50 td{border-color:#e6e9ed}.theme50 tbody tr:hover{background:#f5f9fd}.theme50 :is(.document-filter-panel45,.report-filters48,.filters48,.partner-filters,#documentFilters45,#filters48){background:#fff!important;border-color:#dde4dd!important;color:#334036}.theme50 :is(.document-filter-head45,.filter-group48){background:#f7f9f7!important}.theme50 :is(.toolbar,.document-toolbar47,.ledger-panel tfoot td){background:#fff}.theme50 :is(.range-day.in-range,.range-day:hover){background:#e7f1fa}.theme50 .calendar .weekday{color:#737e75}.theme50 :is(.free-grip,.widget-resize,.access-button,.text-link50){color:#257fb9}.theme50 .info-menu49 button:hover,.theme50 .dropdown-list23 button:hover{background:#eef6ef}.theme50 :is(.editing .dashboard-widget,.focused-widget){outline-color:#87b4d7!important}.theme50 .toolbar{border-color:#e0e5e0}.theme50 .scenario-buttons48 button.selected{background:#e8f2fa;border-color:#72a9d3;color:#2b74a9}.theme50 .info-presets49 button{color:#257fb9;border-color:#79afd6}.theme50 #auth{background:#f2f4f2}.theme50 .auth-box{border-radius:6px;box-shadow:0 12px 40px #2530270a}.theme50 a{color:#126bb1}.theme50 :is(dialog,.voice-dialog46){border-radius:8px}.theme50 .menu-sign{font-weight:800}.theme50 .danger{color:#b33737}.theme50 .nav-main50{width:100%;padding:12px 14px;text-align:left}.directory-toolbar50{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:14px}.directory-toolbar50 input{flex:1;min-width:180px;max-width:650px}.directory-filters50{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap;padding:14px;margin-bottom:14px}.directory-filters50 label{font-size:11px;color:#7b847e;display:flex;flex-direction:column;gap:5px}.directory-filters50 label:first-child{display:grid;grid-template-columns:1fr 1fr}.directory-filters50 input,.directory-filters50 select{height:33px;font-size:12px;width:145px}.directory-filters50 input[type=number]{width:90px}.directory-panel50{padding:0}.directory-scroll50{overflow-x:auto}.directory-panel50 table{min-width:100%;width:100%;border-collapse:collapse}.directory-panel50 th{font-size:11px;letter-spacing:.5px;text-transform:uppercase;padding:13px 10px;white-space:nowrap}.directory-panel50 td{padding:12px 10px;font-size:13px;max-width:330px}.directory-panel50 tbody tr{cursor:pointer}.directory-panel50 input[type=checkbox]{width:17px;height:17px}.record-name50{color:#0669b4;font-weight:500;min-width:180px}.sort50{border:0;background:transparent;font-size:10px;padding:0 2px;color:#8c978e}.text-link50{border:0;background:none;padding:0;text-decoration:underline;font-size:inherit}.deal-badge50{display:inline-block;padding:5px 8px;background:#d6eafa;border-radius:3px;max-width:160px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.directory-form50{display:grid;grid-template-columns:1fr 1fr;gap:10px 18px}.directory-form50 label{margin:0;display:flex;flex-direction:column;gap:5px}.directory-form50 input,.directory-form50 select{width:100%;min-width:0}.empty50{padding:20px;color:#7e8b80}.estate-tabs50{display:flex;gap:18px;padding:4px 14px;margin-bottom:10px}.info-position50{margin-top:16px}.info-position50 #infoOrder50>div{display:flex;align-items:center;gap:8px;margin:8px 0}.info-position50 #infoOrder50 span{flex:1;min-width:120px;font-size:13px}.info-position50 #infoOrder50 select{width:140px}.info-position50 #infoOrder50 button{padding:6px 10px}.info-body43.info-style49.info-positioned50,.info-style49.info-positioned50{display:flex!important;flex-direction:column!important;padding:var(--info-padding50)!important;gap:var(--info-gap50)!important}.info-positioned50 :is(.info-value49,.info-text49){margin:0!important}.info-positioned50>.info-heading49{flex:none}.info-positioned50>.info-value49{flex:none}.info-positioned50>.info-text49{flex-shrink:0}.team-chat50{display:flex;flex-direction:column;height:calc(100dvh - 190px);min-height:360px;max-width:1000px;margin:auto;padding:16px}.team-chat50 #chatMessages50{flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:12px;padding:10px}.chat-message50{align-self:flex-start;max-width:80%;min-width:150px;border:1px solid #e2e8e3;background:#f6f8fa;border-radius:8px;padding:12px 14px}.chat-message50.mine{align-self:flex-end;background:#edf5fc;border-color:#d5e5f3}.chat-message50 header{display:flex;gap:18px;align-items:center;padding:0!important;background:none!important}.chat-message50 time{font-size:10px;color:#7f8c82}.chat-message50 p{white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0 0;line-height:1.4}.team-chat50 form{display:flex;align-items:flex-end;gap:12px;margin-top:15px}.team-chat50 textarea{flex:1;resize:vertical;min-height:50px;max-height:160px}.team-chat50 output{color:#a93636}.info-preview49.info-positioned50{height:220px}@media(max-width:950px){.theme50 main>header.page-heading47{padding:16px!important}.theme50 #title{font-size:22px!important}.directory-filters50{flex-wrap:nowrap;overflow-x:auto;align-items:flex-end}.directory-filters50>*{flex:none}.directory-toolbar50{flex-wrap:nowrap;overflow:auto;padding:10px;gap:8px}.directory-toolbar50 input{width:150px;min-width:150px}.directory-toolbar50>*{flex:none;white-space:nowrap}.directory-form50{grid-template-columns:1fr}.info-position50 #infoOrder50{overflow-x:auto}.team-chat50{height:calc(100dvh - 180px);padding:8px}.chat-message50{max-width:92%}.team-chat50 form{gap:6px}.theme50 .drawer-open32 aside{background:#203743!important}}@media(prefers-reduced-motion:reduce){.theme50 *{scroll-behavior:auto!important}}

/* v51: wider navigation and a fixed right-hand column for expand/collapse. */
@media(min-width:951px){
 body.theme50>aside{width:305.2px}
 body.theme50>main{margin-left:305.2px}
}
@media(max-width:950px){
 body.theme50>aside{width:min(420px,86vw)!important}
}
body.theme50 #moduleNav .nav-group>button{position:relative;padding-right:46px!important}
body.theme50 #moduleNav .nav-group>button>span{min-width:0;white-space:normal;overflow-wrap:anywhere}
body.theme50 #moduleNav .nav-group>button>.menu-sign{position:absolute;right:13px;top:50%;transform:translateY(-50%);width:20px;min-width:20px;margin:0!important;text-align:center;line-height:1;font-weight:900;flex:none}

/* v52: compact page titles and document-style directory filters. */
body.theme50 main>header.page-heading47{background:transparent!important;border:0!important;padding:0!important;margin:0 0 12px!important;min-height:0!important;box-shadow:none!important}
body.theme50 main>header.page-heading47 #title{font-size:23px!important;line-height:1.25!important}
@media(min-width:951px){body.theme50>main{padding-top:12px!important}}
body.theme50 :is(.document-filter-panel45,.document-filter-head45,.report-filters48,.filter-group48,.filters48,.partner-filters,.directory-filter52,#documentFilters45,#filters48,.extra-filters19){background:#eef5ff!important;border-color:#d8e5f5!important;color:#33465e}
body.theme50 #content>.directory-toolbar52{display:flex!important;align-items:center;gap:8px;flex-wrap:wrap;padding:18px 20px;background:white;border:1px solid #dce3e8;border-radius:10px 10px 0 0;margin-bottom:0}
body.theme50 .directory-toolbar52>button{font-size:12px!important;min-height:32px;padding:7px 12px!important;white-space:nowrap}
body.theme50 .directory-count52{margin-left:auto;font-size:12px;color:#7c8896}
body.theme50 #content .directory-filter52{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px!important;align-items:end;padding:16px 18px!important;margin:0 0 14px!important;overflow:visible;flex-wrap:wrap!important;border:1px solid #d8e5f5;border-top:0;border-radius:0}
body.theme50 #content .directory-filter52[hidden],body.theme50 #content .directory-filter52>[hidden]{display:none!important}
body.theme50 .directory-filter52>label,body.theme50 .directory-filter52>.filter-cell52,body.theme50 .directory-filter52>.period-field19{display:block!important;width:auto!important;min-width:0!important;max-width:none!important;margin:0!important;font-size:11px!important;flex:none!important}
body.theme50 .directory-filter52 :is(input,select){height:28px!important;min-height:0!important;min-width:0!important;width:100%!important;padding:3px 5px!important;font-size:11px!important}
body.theme50 .directory-filter52 .range-inputs19{display:flex!important;align-items:center!important;gap:5px;width:100%!important;height:auto!important}
body.theme50 .directory-filter52 .range-inputs19 input{flex:1;min-width:0!important;width:0!important}
body.theme50 .directory-filter52 .unified-period34{padding:0!important;background:transparent!important}
body.theme50 .filter-actions52{display:flex;align-items:center;gap:5px;align-self:start;padding-top:4px;flex-wrap:wrap}
body.theme50 .filter-actions52 button{padding:4px 7px!important;font-size:10px!important;min-height:24px!important}
body.theme50 .filter-actions52 [data-save52],body.theme50 .filter-actions52 [data-fields52]{border-radius:50%;width:24px;padding:3px!important;background:#a5b2c2;color:white}
body.theme50 .estate-tabs52{margin:0!important;padding:0!important;border:0;gap:8px;order:4}
body.theme50 .estate-tabs52 button{font-size:12px!important;padding:6px 10px!important}
@media(max-width:1200px){body.theme50 #content .directory-filter52{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){body.theme50 #content .directory-filter52{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px!important;gap:10px!important}body.theme50 .filter-actions52{grid-column:1/-1}body.theme50 #content>.directory-toolbar52{flex-wrap:nowrap!important;overflow-x:auto;padding:10px!important}body.theme50 .directory-toolbar52>*{flex:none!important}body.theme50 main>header.page-heading47{padding-left:38px!important}body.theme50 main>header.page-heading47 #title{font-size:20px!important}}

/* v67: compact task form, without product positions. */
#modal.task-document44{box-sizing:border-box;width:calc((100vw - 28px)/2)!important;max-width:750px!important}
#modal.task-document44 .task-fields44{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}
#modal.task-document44 .task-fields44>*{min-width:0}
#modal.task-document44 .task-fields44 .row{flex-wrap:wrap}
#modal.task-document44 .task-fields44 .row>*{min-width:0;flex:1 1 100px}
@media(max-width:800px){
 #modal.task-document44{width:calc(100vw - 24px)!important;padding:14px!important}
 #modal.task-document44 .task-fields44{grid-template-columns:minmax(0,1fr)}
 #modal.task-document44 .task-move{flex-wrap:wrap}
}

/* v69: narrow vertical task card matching the supplied reference. */
#modal.task-document44{width:380px!important;max-width:calc(100vw - 20px)!important;height:auto!important;max-height:calc(100dvh - 20px)!important;margin:auto!important;padding:16px 12px!important;overflow:auto}
#modal.task-document44 .task-fields44{display:flex!important;flex-direction:column;gap:18px;max-width:100%}
#modal.task-document44 .task-fields44>.row,
#modal.task-document44 .task-facts{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;margin:0}
#modal.task-document44 .task-fields44 .row>*{min-width:0}
#modal.task-document44 .task-assignee69{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
#modal.task-document44 .task-assignee69 .assignee-picker{flex:0 0 auto;margin:0}
#modal.task-document44 #taskEmployee{flex:1;min-width:100px;margin:0;font-size:12px;line-height:1.3}
#modal.task-document44 .task-fields44 textarea{width:100%;height:65px;min-height:65px!important;box-sizing:border-box}
#modal.task-document44 .task-facts output{padding:8px 6px}
#modal.task-document44 .task-move{display:flex;flex-wrap:nowrap;gap:8px;margin:8px 0}
#modal.task-document44 .task-move input[type=date]{flex:1;min-width:0;width:0}
#modal.task-document44 .task-move input[type=time]{width:80px;flex:0 0 80px}
#modal.task-document44 .task-move input[type=checkbox]{flex:0 0 auto}
#modal.task-document44 .finish-task{width:100%;margin:0}
#modal.task-document44 .compact-actions44{justify-content:space-between;margin-bottom:22px!important}
#modal.task-document44 .compact-actions44 [data-close44]{display:none!important}
#modal.task-document44 .compact-actions44 #delete{margin:0 0 0 auto}
#modal.task-document44 .compact-actions44 button{font-size:13px!important;padding:9px 14px!important;border-radius:10px!important}
#modal.task-document44 .task-fields44>p.sub{margin:0;font-size:11px;line-height:1.3;text-align:center}
#modal.task-document44 .task-partner-edit41{display:block;margin-top:4px}

/* v70: larger readable fields, with task card height fitted to content. */
#modal.task-document44{width:475px!important;height:fit-content!important;min-height:0!important;max-height:calc(100dvh - 20px)!important}
#modal.task-document44 #form,#modal.task-document44 #fields{height:auto!important;min-height:0!important;padding-bottom:0!important;margin-bottom:0!important}
#modal.task-document44 #actionError:empty{display:none!important}
#modal.task-document44 .task-fields44{gap:16px}
#modal.task-document44 .task-fields44 label,
#modal.task-document44 .task-fields44 input,
#modal.task-document44 .task-fields44 select,
#modal.task-document44 .task-fields44 textarea,
#modal.task-document44 .task-fields44 button,
#modal.task-document44 .task-fields44 summary,
#modal.task-document44 .task-fields44 output{font-size:14px!important;line-height:1.3!important}
#modal.task-document44 .task-fields44 input:not([type=checkbox]):not([type=radio]):not([type=hidden]),
#modal.task-document44 .task-fields44 select{height:30px!important;min-height:30px!important;padding:5px 7px!important;box-sizing:border-box}
#modal.task-document44 #taskEmployee{font-size:15px!important}
#modal.task-document44 .task-fields44 textarea{height:80px!important;min-height:80px!important}
#modal.task-document44 #taskPartnerLink41,
#modal.task-document44 .finish-task{min-height:30px!important;padding:5px 7px!important}
#modal.task-document44 .task-move input[type=time]{width:100px;flex-basis:100px}
#modal.task-document44 .task-fields44>p.sub{font-size:13px!important}

/* v71: task history and payment facts */
#modal.task-document44 .task-facts output span{display:block;line-height:1.45}
#modal.task-document44 .task-author71{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;font-size:14px}
#modal.task-document44 .task-author71>span{color:#748195}
#modal.task-document44 .task-author71>strong{font-weight:500}
#taskActor71{max-width:230px}
#taskWhen71{white-space:nowrap}

#taskType72{max-width:230px;flex-shrink:0}

/* v73: task creation leads the first row; mobile map toggle stays visible. */
.task-controls40 .header-actions44.task-add73{margin-left:0!important;order:-1;flex:0 0 auto}
@media(max-width:950px){
 body[data-current-page35=calendar] #floatingView35{display:block}
 body[data-current-page35=calendar].drawer-open32 #floatingView35,
 body[data-current-page35=calendar].locked #floatingView35{display:none!important}
}

/* v75: per-panel background picker */
.info-background75{display:flex;gap:12px;align-items:end;margin:10px 0;flex-wrap:wrap}.info-background75 label{flex:1;min-width:130px}.info-background75 input{width:100%;height:36px;box-sizing:border-box}.info-background75 input[type=color]{padding:3px;cursor:pointer}

/* v76: import action stays outside the scrollable preview */
#exchange.has-import-footer76[open]{display:flex;flex-direction:column;max-height:92vh;max-height:92dvh;overflow:hidden}#exchange.has-import-footer76 #exchangeBody{flex:1;min-height:0;overflow:auto;max-height:none}#exchangeFooter76{flex:none;display:flex;gap:12px;align-items:center;justify-content:flex-end;border-top:1px solid #d1e3f2;padding:12px 0 0;margin-top:10px;background:inherit}#importResult76{flex:1;font-size:13px;color:#9e3046;white-space:pre-wrap;overflow-wrap:anywhere;max-height:100px;overflow:auto}#exchangeFooter76 button{flex:none;display:inline-flex!important;visibility:visible!important}#exchangeFooter76 button:disabled{opacity:.55}@media(max-width:600px){#exchangeFooter76{gap:8px;padding-bottom:env(safe-area-inset-bottom,0px)}#importResult76{font-size:12px}}

#modal.task-create77 #form>.actions{display:flex!important;position:static!important;margin-top:14px!important;padding:10px 0 0!important;border-top:1px solid #dbe6ee;justify-content:flex-end!important}#modal.task-create77 #form>.actions [type=submit]{display:inline-flex!important;visibility:visible!important}#modal.task-create77 #form>.actions [hidden]{display:none!important}

/* v79: property catalog and detail gallery. */
.estate-panel79{padding:0!important;background:transparent!important;border:0!important;overflow:visible!important}
.estate-list-tools79,#estatePages79{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 0;flex-wrap:wrap}
.estate-list-tools79 label{display:flex;align-items:center;gap:8px;margin:0}.estate-list-tools79 input,.estate-select79 input{width:18px!important;height:18px!important;margin:0!important}
.estate-list-tools79 button[aria-pressed=true]{background:#dcecff!important;color:#174c82!important}
.estate-cards79{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px}
.estate-card79{position:relative;min-width:0;background:#fff;border:1px solid #e4e9ef;border-radius:18px;overflow:hidden;box-shadow:0 4px 16px #14365009;color:#172638}
.estate-cover79{position:relative;display:block!important;width:100%;height:auto!important;aspect-ratio:3/2;padding:0!important;border:0!important;border-radius:0!important;background:#edf2f7!important;overflow:hidden}
.estate-cover79 img{width:100%;height:100%;object-fit:cover;display:block}
.estate-placeholder79{display:flex;height:100%;min-height:140px;align-items:center;justify-content:center;flex-direction:column;gap:8px;color:#8495a6;background:linear-gradient(135deg,#eef3f8,#dce7f0);font-size:13px}.estate-placeholder79 b{font-size:46px}
.estate-select79{position:absolute;z-index:1;top:12px;left:12px;padding:6px;border-radius:7px;background:#fff;display:flex}
.estate-badge79{position:absolute;right:12px;top:12px;background:#fff;color:#22374a;padding:6px 10px;border-radius:20px;font-size:12px}
.estate-body79{padding:16px}.estate-title79{display:block!important;text-align:left!important;font-size:18px!important;line-height:1.3!important;font-weight:700!important;background:transparent!important;border:0!important;padding:0!important;white-space:normal!important;color:#172638!important}
.estate-address79{font-size:13px;color:#6c7e8f;line-height:1.5;margin:8px 0 12px;overflow-wrap:anywhere}
.estate-specs79{display:flex;flex-wrap:wrap;gap:7px;min-height:27px}.estate-specs79 span{background:#f2f5f8;border-radius:6px;padding:5px 8px;font-size:12px;color:#516475}
.estate-price79{font-size:22px;font-weight:750;margin:16px 0 12px;color:#172638}.estate-bottom79{display:flex;justify-content:space-between;gap:10px;border-top:1px solid #edf0f4;padding-top:12px;font-size:12px;color:#6c7e8f}
.estate-cards79.list{grid-template-columns:1fr}.estate-cards79.list .estate-card79{display:grid;grid-template-columns:220px minmax(0,1fr)}.estate-cards79.list .estate-cover79{height:100%!important;min-height:180px;aspect-ratio:auto}.estate-cards79.list .estate-body79{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 20px}.estate-cards79.list .estate-address79,.estate-cards79.list .estate-specs79{grid-column:1}.estate-cards79.list .estate-price79{grid-column:2;grid-row:1/4;align-self:center}.estate-cards79.list .estate-bottom79{grid-column:1/-1}
#estatePages79{justify-content:flex-end}#estatePages79 label{display:flex;gap:6px;align-items:center;margin:0}#estatePages79 select{width:70px}
#modal.estate-modal79{width:min(1100px,96vw)!important;max-width:1100px!important;padding:24px!important;max-height:94dvh!important}#modal.estate-edit-modal79{width:min(850px,96vw)!important;max-width:850px!important}
.estate-gallery79{display:grid;grid-template-columns:minmax(0,3fr) minmax(110px,1fr);gap:12px}.estate-main-photo79{height:360px;overflow:hidden;border-radius:16px;background:#eaf0f6}.estate-main-photo79 img{width:100%;height:100%;object-fit:cover}.estate-main-photo79 .estate-placeholder79{height:100%}
.estate-thumbs79{display:grid;grid-template-columns:1fr 1fr;gap:8px;align-content:start;max-height:360px;overflow:auto}.estate-thumbs79 button{padding:0!important;border:0!important;border-radius:10px!important;overflow:hidden;aspect-ratio:3/2;height:auto!important}.estate-thumbs79 img{width:100%;height:100%;object-fit:cover;display:block}
.estate-detail-columns79{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px;margin-top:20px}.estate-detail79 dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.estate-detail79 dt{font-size:12px;color:#7a8c9c}.estate-detail79 dd{margin:6px 0;font-weight:600}.estate-note79{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.estate-summary79{align-self:start;display:flex;flex-direction:column;gap:12px;padding:22px;border:1px solid #dfe7ee;border-radius:16px;background:#f7fafc}.estate-summary79>strong{font-size:27px}.estate-summary79>span{color:#6b7e90;font-size:13px}.estate-summary79 hr{width:100%;border:0;border-top:1px solid #dfe7ee}.estate-summary79 a{color:#2869a0}
.estate-photo-editor79{margin-bottom:18px}#estatePhotoDraft79{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0}#estatePhotoDraft79>div{position:relative;width:120px}#estatePhotoDraft79 img{width:120px;height:80px;object-fit:cover;border-radius:8px}#estatePhotoDraft79 [data-remove-photo79]{position:absolute;right:3px;top:3px;padding:2px 7px!important}#estatePhotoDraft79 [data-cover-photo79]{font-size:11px!important;padding:5px!important;width:100%}.estate-upload79{display:inline-flex;gap:10px;align-items:center;padding:10px;border:1px dashed #94afc6;border-radius:8px}.estate-upload79 input{max-width:240px}#estatePhotoError79{display:block;color:#b42318;padding-top:6px}
#modal #taskPartnerLink41{visibility:visible!important;opacity:1!important;white-space:normal;overflow-wrap:anywhere}
@media(max-width:700px){.estate-cards79{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.estate-body79{padding:12px}.estate-title79{font-size:15px!important}.estate-price79{font-size:18px}.estate-badge79{right:6px;top:6px;font-size:10px}.estate-select79{left:6px;top:6px;padding:4px}.estate-bottom79{flex-wrap:wrap}.estate-cards79.list .estate-card79{grid-template-columns:115px minmax(0,1fr)}.estate-cards79.list .estate-body79{display:block}.estate-cards79.list .estate-cover79{min-height:160px}.estate-gallery79{grid-template-columns:1fr}.estate-main-photo79{height:240px}.estate-thumbs79{display:flex;overflow:auto}.estate-thumbs79 button{width:85px;flex-shrink:0}.estate-detail-columns79{grid-template-columns:1fr;gap:15px}.estate-detail79 dl{grid-template-columns:repeat(2,minmax(0,1fr))}#modal.estate-modal79{padding:15px!important}.estate-summary79{padding:16px}.estate-upload79{flex-wrap:wrap}.estate-tabs50{flex-shrink:0}}
@media(max-width:420px){.estate-cards79.grid{grid-template-columns:1fr}.estate-cards79.list .estate-title79{font-size:14px!important}}
body.theme50 .directory-toolbar52 .estate-tabs52{order:0!important;display:flex;flex-wrap:nowrap}
#phoneSetup80{width:min(520px,94vw);max-height:90dvh;overflow:auto;border:0;border-radius:18px;padding:24px;color:#22364a;background:#f4f9ff}#phoneSetup80::backdrop{background:#12283b77}.phone-setup80{display:grid;gap:10px;margin:16px 0}.phone-setup80 button{text-align:left}#phoneResult80{display:block;min-height:24px;color:#215c95}#phoneSetup80 p{font-size:13px;line-height:1.55}#ledgerTable tr[data-document80]{cursor:pointer}#ledgerTable tr[data-document80]:focus{outline:2px solid #3288c8}

/* v81: keep filter contents inside the viewport, without hiding input data. */
.directory-filter52,.directory-filter52>*{min-width:0;box-sizing:border-box}
.directory-filter52 input,.directory-filter52 select{min-width:0;max-width:100%;box-sizing:border-box}
.estate-detail79 dd,.estate-title79,.estate-address79,.estate-note79{overflow-wrap:anywhere;min-width:0}
.property-share81{width:min(620px,calc(100vw - 32px));max-height:85dvh;overflow:auto;border:0;border-radius:20px;padding:20px;box-sizing:border-box}
.property-share81::backdrop{background:#152c4b80}.property-share81 h2{margin-top:0}.property-share81 p{font-size:13px;color:#53667b;line-height:1.4}
.share-fields81{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}.share-fields81 label{display:flex;gap:6px;align-items:center}.share-fields81 input,.property-share81 input[type=checkbox]{width:auto}
.property-share81 output{display:block;margin:12px 0;white-space:pre-wrap}.property-share81 textarea{width:100%;height:150px;box-sizing:border-box}.share-actions81{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.share-actions81 a{padding:10px;border:1px solid #cee2f4;border-radius:10px;text-decoration:none}
@media(max-width:700px){
.directory-filter52{grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important;max-width:100%!important}
.directory-filter52 .unified-period34,.directory-filter52 .period-field19{grid-column:1/-1!important;width:100%!important;min-width:0!important;max-width:100%!important}
.directory-filter52 .unified-period34>div:first-child,.directory-filter52 .period-field19>div:first-child{flex-wrap:wrap!important;white-space:normal!important;min-width:0!important;max-width:100%!important}
.directory-filter52 .period-presets19{flex-wrap:wrap!important;white-space:normal!important;min-width:0!important;max-width:100%!important}
.directory-filter52 input[type=date]{width:100%!important;min-width:0!important;max-width:100%!important}
#phoneSetup80{position:fixed;inset:auto 0 0!important;margin:0!important;width:100%!important;max-width:100%!important;max-height:85dvh;border-radius:24px 24px 0 0!important;padding:22px!important;box-sizing:border-box;overflow:auto}
#phoneSetup80 .phone-setup80{display:grid;grid-template-columns:1fr;gap:10px}#phoneSetup80 button{white-space:normal;min-height:44px}
}
/* v83: photo correction and social publication previews */
.photo-editor83{box-sizing:border-box;width:min(900px,96vw);max-height:94dvh;overflow:auto;border:0;border-radius:18px;padding:18px;background:#f1f7fd;color:#17314e}.photo-editor83::backdrop{background:#0b182cbb}.photo-editor83 canvas{display:block;max-width:100%;max-height:48dvh;object-fit:contain;margin:auto;background:#d7e4ef}.photo-controls83{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}.photo-controls83 label{display:grid;gap:6px}.photo-controls83 input,.photo-controls83 select{width:100%;box-sizing:border-box}.photo-editor83 .toolbar{position:sticky;bottom:-18px;background:#f1f7fd;padding:12px 0}.photo-editor83 p{font-size:13px}.estate-photo-editor79 .toolbar{flex-wrap:wrap}.estate-photo-editor79 [data-edit-photo83]{position:static!important;font-size:12px!important}.social-preview83{border-radius:14px;overflow:hidden;background:#fff;border:1px solid #dbe4ed;margin:12px 0}.social-preview83 .social-photos83{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px}.social-photos83 img{width:100%;height:170px;object-fit:cover}.social-preview83 p{padding:14px;margin:0;white-space:pre-wrap;overflow-wrap:anywhere;color:#192d3c!important;font-size:14px!important}.social-preview83.facebook{display:grid;grid-template-columns:1.1fr 1fr}.social-preview83.facebook .social-photos83{display:flex;overflow-x:auto;align-items:start}.social-preview83.facebook img{min-width:100%;height:280px;object-fit:contain;background:#e8eef4}.social-preview83.telegram{border:8px solid #dce9c9}.card-blocks65 fieldset{min-width:0}.card-blocks65 legend{font-weight:700}
@media(max-width:600px){.photo-controls83{grid-template-columns:repeat(2,minmax(0,1fr))}.photo-editor83{padding:12px}.photo-editor83 .toolbar{bottom:-12px;flex-wrap:wrap}.social-preview83.facebook{display:block}.social-preview83.facebook img{height:220px}}

/* leaflet/leaflet.css */
/* required styles */

.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
	position: absolute;
	left: 0;
	top: 0;
	}
.leaflet-container {
	overflow: hidden;
	}
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow {
	-webkit-user-select: none;
	   -moz-user-select: none;
	        user-select: none;
	  -webkit-user-drag: none;
	}
/* Prevents IE11 from highlighting tiles in blue */
.leaflet-tile::selection {
	background: transparent;
}
/* Safari renders non-retina tile on retina better with this, but Chrome is worse */
.leaflet-safari .leaflet-tile {
	image-rendering: -webkit-optimize-contrast;
	}
/* hack that prevents hw layers "stretching" when loading new tiles */
.leaflet-safari .leaflet-tile-container {
	width: 1600px;
	height: 1600px;
	-webkit-transform-origin: 0 0;
	}
.leaflet-marker-icon,
.leaflet-marker-shadow {
	display: block;
	}
/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */
/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */
.leaflet-container .leaflet-overlay-pane svg {
	max-width: none !important;
	max-height: none !important;
	}
.leaflet-container .leaflet-marker-pane img,
.leaflet-container .leaflet-shadow-pane img,
.leaflet-container .leaflet-tile-pane img,
.leaflet-container img.leaflet-image-layer,
.leaflet-container .leaflet-tile {
	max-width: none !important;
	max-height: none !important;
	width: auto;
	padding: 0;
	}

.leaflet-container img.leaflet-tile {
	/* See: https://bugs.chromium.org/p/chromium/issues/detail?id=600120 */
	mix-blend-mode: plus-lighter;
}

.leaflet-container.leaflet-touch-zoom {
	-ms-touch-action: pan-x pan-y;
	touch-action: pan-x pan-y;
	}
.leaflet-container.leaflet-touch-drag {
	-ms-touch-action: pinch-zoom;
	/* Fallback for FF which doesn't support pinch-zoom */
	touch-action: none;
	touch-action: pinch-zoom;
}
.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {
	-ms-touch-action: none;
	touch-action: none;
}
.leaflet-container {
	-webkit-tap-highlight-color: transparent;
}
.leaflet-container a {
	-webkit-tap-highlight-color: rgba(51, 181, 229, 0.4);
}
.leaflet-tile {
	filter: inherit;
	visibility: hidden;
	}
.leaflet-tile-loaded {
	visibility: inherit;
	}
.leaflet-zoom-box {
	width: 0;
	height: 0;
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
	z-index: 800;
	}
/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */
.leaflet-overlay-pane svg {
	-moz-user-select: none;
	}

.leaflet-pane         { z-index: 400; }

.leaflet-tile-pane    { z-index: 200; }
.leaflet-overlay-pane { z-index: 400; }
.leaflet-shadow-pane  { z-index: 500; }
.leaflet-marker-pane  { z-index: 600; }
.leaflet-tooltip-pane   { z-index: 650; }
.leaflet-popup-pane   { z-index: 700; }

.leaflet-map-pane canvas { z-index: 100; }
.leaflet-map-pane svg    { z-index: 200; }

.leaflet-vml-shape {
	width: 1px;
	height: 1px;
	}
.lvml {
	behavior: url(#default#VML);
	display: inline-block;
	position: absolute;
	}


/* control positioning */

.leaflet-control {
	position: relative;
	z-index: 800;
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}
.leaflet-top,
.leaflet-bottom {
	position: absolute;
	z-index: 1000;
	pointer-events: none;
	}
.leaflet-top {
	top: 0;
	}
.leaflet-right {
	right: 0;
	}
.leaflet-bottom {
	bottom: 0;
	}
.leaflet-left {
	left: 0;
	}
.leaflet-control {
	float: left;
	clear: both;
	}
.leaflet-right .leaflet-control {
	float: right;
	}
.leaflet-top .leaflet-control {
	margin-top: 10px;
	}
.leaflet-bottom .leaflet-control {
	margin-bottom: 10px;
	}
.leaflet-left .leaflet-control {
	margin-left: 10px;
	}
.leaflet-right .leaflet-control {
	margin-right: 10px;
	}


/* zoom and fade animations */

.leaflet-fade-anim .leaflet-popup {
	opacity: 0;
	-webkit-transition: opacity 0.2s linear;
	   -moz-transition: opacity 0.2s linear;
	        transition: opacity 0.2s linear;
	}
.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
	opacity: 1;
	}
.leaflet-zoom-animated {
	-webkit-transform-origin: 0 0;
	    -ms-transform-origin: 0 0;
	        transform-origin: 0 0;
	}
svg.leaflet-zoom-animated {
	will-change: transform;
}

.leaflet-zoom-anim .leaflet-zoom-animated {
	-webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1);
	   -moz-transition:    -moz-transform 0.25s cubic-bezier(0,0,0.25,1);
	        transition:         transform 0.25s cubic-bezier(0,0,0.25,1);
	}
.leaflet-zoom-anim .leaflet-tile,
.leaflet-pan-anim .leaflet-tile {
	-webkit-transition: none;
	   -moz-transition: none;
	        transition: none;
	}

.leaflet-zoom-anim .leaflet-zoom-hide {
	visibility: hidden;
	}


/* cursors */

.leaflet-interactive {
	cursor: pointer;
	}
.leaflet-grab {
	cursor: -webkit-grab;
	cursor:    -moz-grab;
	cursor:         grab;
	}
.leaflet-crosshair,
.leaflet-crosshair .leaflet-interactive {
	cursor: crosshair;
	}
.leaflet-popup-pane,
.leaflet-control {
	cursor: auto;
	}
.leaflet-dragging .leaflet-grab,
.leaflet-dragging .leaflet-grab .leaflet-interactive,
.leaflet-dragging .leaflet-marker-draggable {
	cursor: move;
	cursor: -webkit-grabbing;
	cursor:    -moz-grabbing;
	cursor:         grabbing;
	}

/* marker & overlays interactivity */
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-image-layer,
.leaflet-pane > svg path,
.leaflet-tile-container {
	pointer-events: none;
	}

.leaflet-marker-icon.leaflet-interactive,
.leaflet-image-layer.leaflet-interactive,
.leaflet-pane > svg path.leaflet-interactive,
svg.leaflet-image-layer.leaflet-interactive path {
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}

/* visual tweaks */

.leaflet-container {
	background: #ddd;
	outline-offset: 1px;
	}
.leaflet-container a {
	color: #0078A8;
	}
.leaflet-zoom-box {
	border: 2px dotted #38f;
	background: rgba(255,255,255,0.5);
	}


/* general typography */
.leaflet-container {
	font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1.5;
	}


/* general toolbar styles */

.leaflet-bar {
	box-shadow: 0 1px 5px rgba(0,0,0,0.65);
	border-radius: 4px;
	}
.leaflet-bar a {
	background-color: #fff;
	border-bottom: 1px solid #ccc;
	width: 26px;
	height: 26px;
	line-height: 26px;
	display: block;
	text-align: center;
	text-decoration: none;
	color: black;
	}
.leaflet-bar a,
.leaflet-control-layers-toggle {
	background-position: 50% 50%;
	background-repeat: no-repeat;
	display: block;
	}
.leaflet-bar a:hover,
.leaflet-bar a:focus {
	background-color: #f4f4f4;
	}
.leaflet-bar a:first-child {
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	}
.leaflet-bar a:last-child {
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
	border-bottom: none;
	}
.leaflet-bar a.leaflet-disabled {
	cursor: default;
	background-color: #f4f4f4;
	color: #bbb;
	}

.leaflet-touch .leaflet-bar a {
	width: 30px;
	height: 30px;
	line-height: 30px;
	}
.leaflet-touch .leaflet-bar a:first-child {
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;
	}
.leaflet-touch .leaflet-bar a:last-child {
	border-bottom-left-radius: 2px;
	border-bottom-right-radius: 2px;
	}

/* zoom control */

.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
	font: bold 18px 'Lucida Console', Monaco, monospace;
	text-indent: 1px;
	}

.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out  {
	font-size: 22px;
	}


/* layers control */

.leaflet-control-layers {
	box-shadow: 0 1px 5px rgba(0,0,0,0.4);
	background: #fff;
	border-radius: 5px;
	}
.leaflet-control-layers-toggle {
	background-image: url(leaflet/images/layers.png);
	width: 36px;
	height: 36px;
	}
.leaflet-retina .leaflet-control-layers-toggle {
	background-image: url(leaflet/images/layers-2x.png);
	background-size: 26px 26px;
	}
.leaflet-touch .leaflet-control-layers-toggle {
	width: 44px;
	height: 44px;
	}
.leaflet-control-layers .leaflet-control-layers-list,
.leaflet-control-layers-expanded .leaflet-control-layers-toggle {
	display: none;
	}
.leaflet-control-layers-expanded .leaflet-control-layers-list {
	display: block;
	position: relative;
	}
.leaflet-control-layers-expanded {
	padding: 6px 10px 6px 6px;
	color: #333;
	background: #fff;
	}
.leaflet-control-layers-scrollbar {
	overflow-y: scroll;
	overflow-x: hidden;
	padding-right: 5px;
	}
.leaflet-control-layers-selector {
	margin-top: 2px;
	position: relative;
	top: 1px;
	}
.leaflet-control-layers label {
	display: block;
	font-size: 13px;
	font-size: 1.08333em;
	}
.leaflet-control-layers-separator {
	height: 0;
	border-top: 1px solid #ddd;
	margin: 5px -10px 5px -6px;
	}

/* Default icon URLs */
.leaflet-default-icon-path { /* used only in path-guessing heuristic, see L.Icon.Default */
	background-image: url(leaflet/images/marker-icon.png);
	}


/* attribution and scale controls */

.leaflet-container .leaflet-control-attribution {
	background: #fff;
	background: rgba(255, 255, 255, 0.8);
	margin: 0;
	}
.leaflet-control-attribution,
.leaflet-control-scale-line {
	padding: 0 5px;
	color: #333;
	line-height: 1.4;
	}
.leaflet-control-attribution a {
	text-decoration: none;
	}
.leaflet-control-attribution a:hover,
.leaflet-control-attribution a:focus {
	text-decoration: underline;
	}
.leaflet-attribution-flag {
	display: inline !important;
	vertical-align: baseline !important;
	width: 1em;
	height: 0.6669em;
	}
.leaflet-left .leaflet-control-scale {
	margin-left: 5px;
	}
.leaflet-bottom .leaflet-control-scale {
	margin-bottom: 5px;
	}
.leaflet-control-scale-line {
	border: 2px solid #777;
	border-top: none;
	line-height: 1.1;
	padding: 2px 5px 1px;
	white-space: nowrap;
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
	background: rgba(255, 255, 255, 0.8);
	text-shadow: 1px 1px #fff;
	}
.leaflet-control-scale-line:not(:first-child) {
	border-top: 2px solid #777;
	border-bottom: none;
	margin-top: -2px;
	}
.leaflet-control-scale-line:not(:first-child):not(:last-child) {
	border-bottom: 2px solid #777;
	}

.leaflet-touch .leaflet-control-attribution,
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	box-shadow: none;
	}
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	border: 2px solid rgba(0,0,0,0.2);
	background-clip: padding-box;
	}


/* popup */

.leaflet-popup {
	position: absolute;
	text-align: center;
	margin-bottom: 20px;
	}
.leaflet-popup-content-wrapper {
	padding: 1px;
	text-align: left;
	border-radius: 12px;
	}
.leaflet-popup-content {
	margin: 13px 24px 13px 20px;
	line-height: 1.3;
	font-size: 13px;
	font-size: 1.08333em;
	min-height: 1px;
	}
.leaflet-popup-content p {
	margin: 17px 0;
	margin: 1.3em 0;
	}
.leaflet-popup-tip-container {
	width: 40px;
	height: 20px;
	position: absolute;
	left: 50%;
	margin-top: -1px;
	margin-left: -20px;
	overflow: hidden;
	pointer-events: none;
	}
.leaflet-popup-tip {
	width: 17px;
	height: 17px;
	padding: 1px;

	margin: -10px auto 0;
	pointer-events: auto;

	-webkit-transform: rotate(45deg);
	   -moz-transform: rotate(45deg);
	    -ms-transform: rotate(45deg);
	        transform: rotate(45deg);
	}
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
	background: white;
	color: #333;
	box-shadow: 0 3px 14px rgba(0,0,0,0.4);
	}
.leaflet-container a.leaflet-popup-close-button {
	position: absolute;
	top: 0;
	right: 0;
	border: none;
	text-align: center;
	width: 24px;
	height: 24px;
	font: 16px/24px Tahoma, Verdana, sans-serif;
	color: #757575;
	text-decoration: none;
	background: transparent;
	}
.leaflet-container a.leaflet-popup-close-button:hover,
.leaflet-container a.leaflet-popup-close-button:focus {
	color: #585858;
	}
.leaflet-popup-scrolled {
	overflow: auto;
	}

.leaflet-oldie .leaflet-popup-content-wrapper {
	-ms-zoom: 1;
	}
.leaflet-oldie .leaflet-popup-tip {
	width: 24px;
	margin: 0 auto;

	-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
	filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
	}

.leaflet-oldie .leaflet-control-zoom,
.leaflet-oldie .leaflet-control-layers,
.leaflet-oldie .leaflet-popup-content-wrapper,
.leaflet-oldie .leaflet-popup-tip {
	border: 1px solid #999;
	}


/* div icon */

.leaflet-div-icon {
	background: #fff;
	border: 1px solid #666;
	}


/* Tooltip */
/* Base styles for the element that has a tooltip */
.leaflet-tooltip {
	position: absolute;
	padding: 6px;
	background-color: #fff;
	border: 1px solid #fff;
	border-radius: 3px;
	color: #222;
	white-space: nowrap;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	pointer-events: none;
	box-shadow: 0 1px 3px rgba(0,0,0,0.4);
	}
.leaflet-tooltip.leaflet-interactive {
	cursor: pointer;
	pointer-events: auto;
	}
.leaflet-tooltip-top:before,
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	position: absolute;
	pointer-events: none;
	border: 6px solid transparent;
	background: transparent;
	content: "";
	}

/* Directions */

.leaflet-tooltip-bottom {
	margin-top: 6px;
}
.leaflet-tooltip-top {
	margin-top: -6px;
}
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-top:before {
	left: 50%;
	margin-left: -6px;
	}
.leaflet-tooltip-top:before {
	bottom: 0;
	margin-bottom: -12px;
	border-top-color: #fff;
	}
.leaflet-tooltip-bottom:before {
	top: 0;
	margin-top: -12px;
	margin-left: -6px;
	border-bottom-color: #fff;
	}
.leaflet-tooltip-left {
	margin-left: -6px;
}
.leaflet-tooltip-right {
	margin-left: 6px;
}
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	top: 50%;
	margin-top: -6px;
	}
.leaflet-tooltip-left:before {
	right: 0;
	margin-right: -12px;
	border-left-color: #fff;
	}
.leaflet-tooltip-right:before {
	left: 0;
	margin-left: -12px;
	border-right-color: #fff;
	}

/* Printing */

@media print {
	/* Prevent printers from removing background-images of controls. */
	.leaflet-control {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
		}
	}

/* theme56.css */
/* Shared visual theme, based on the supplied desktop reference. */
:root{--nav-width56:360px;--nav-bg56:#342d8d;--action56:#1685ed;--line56:#dfe5ef;--ink56:#39465c}
body button{border-radius:999px;box-shadow:none;transition:background-color .15s,color .15s,border-color .15s}
body button:focus-visible{outline:3px solid #50b9ff;outline-offset:3px}
body button:disabled{opacity:.45;cursor:not-allowed}
body :is(.toolbar,.document-leading45,.filter-actions48,.filter-actions52,.actions,.info-actions49,.directory-toolbar52,.platform-actions50,.platform-toolbar50,.platform-form50 footer,.platform-panel50,.platform-subtabs52) button,
body dialog button[type=submit],body #auth button,body #platformLogout50{
 min-height:36px!important;padding:7px 17px!important;border:1px solid var(--line56)!important;border-radius:999px!important;background:#fff;color:var(--ink56);font-size:14px!important;font-weight:500;line-height:1.3!important;white-space:nowrap;box-shadow:none!important
}
body :is(.toolbar,.actions,.directory-toolbar52,.platform-toolbar50,.platform-panel50) button:hover{background:#edf6ff;border-color:#9bc9f7!important;color:#0868be}
body.theme50 button.primary,body button.primary,body.theme50 .document-filter-actions45 button.primary,body.theme50 .directory-toolbar52 button.primary{background:var(--action56)!important;border-color:var(--action56)!important;color:#fff!important;box-shadow:none!important;border-radius:999px!important}
body button.primary:hover{background:#0875d6!important;border-color:#0875d6!important}
body button.danger{background:#fff1f2!important;border-color:#f2b9c2!important;color:#b32f48!important}
body :is(.segments,.section-tabs,.estate-tabs50,.estate-tabs52,.platform-subtabs52) button{border-radius:999px!important}
body :is(.segments,.section-tabs,.estate-tabs50,.estate-tabs52,.platform-subtabs52) button:is(.active,.selected){background:#e1f1ff!important;color:#0876d6!important;border-color:#badbfa!important}
body.theme50>aside{width:var(--nav-width56)!important;padding:24px 21px!important;background:radial-gradient(ellipse at 15% 12%,#6659d4 0,transparent 47%),linear-gradient(155deg,#483daa,#2b267d)!important;border-right:0!important;color:#fff!important;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#ffffff45 transparent}
body.theme50>aside .brand{color:#fff!important;font-size:27px;padding:4px 12px 24px;border-bottom:1px solid #ffffff26;letter-spacing:-.5px}
body.theme50>aside .brand span{color:#d0caff!important}
body.theme50>aside .workspace{color:#c2bced!important;margin:20px 12px 12px;font-size:10px}
body.theme50>aside :is(nav,#moduleNav){min-height:0}
body.theme50 #moduleNav>button,body.theme50 #moduleNav>.nav-group>button,body.theme50 #moduleNav>.nav-promoted23>button,body.theme50>aside .bottom>button{
 display:flex!important;align-items:center;gap:18px!important;width:100%;min-height:60px!important;padding:14px 14px!important;margin:3px 0!important;border:0!important;border-radius:12px!important;background:transparent!important;color:#fff!important;text-align:left;font-size:22px!important;font-weight:400!important;line-height:1.3!important;box-shadow:none!important
}
body.theme50 #moduleNav>button>span,body.theme50 #moduleNav>.nav-group>button>span,body.theme50 #moduleNav>.nav-promoted23>button>span,body.theme50>aside .bottom>button>span{font-size:21px!important;line-height:1.3!important;font-weight:400!important}
body.theme50 #moduleNav .nav-group>button{padding-right:43px!important}
body.theme50 #moduleNav .nav-group>button>.menu-sign{right:13px!important;color:#eeeaff!important;font-size:23px!important;font-weight:800!important}
body.theme50 #moduleNav .nav-icon48{color:#c5bfff;font-size:25px;width:27px;flex-basis:27px}
body.theme50 #moduleNav button:hover,body.theme50>aside .bottom>button:hover{background:#ffffff15!important;color:#fff!important}
body.theme50 #moduleNav button.active,body.theme50>aside .bottom>button.active{background:#ffffff26!important;color:#fff!important;border:0!important;box-shadow:none!important}
body.theme50 #moduleNav .nav-children{padding-left:38px!important;border:0!important}
body.theme50 #moduleNav .nav-children button{color:#e0dcff!important;background:transparent!important;border:0!important;border-radius:10px!important;min-height:42px!important;font-size:16px!important;line-height:1.3!important;padding:10px 12px!important;margin:2px 0!important}
body.theme50>aside .divider,body.theme50>aside .profile{border-color:#ffffff26!important}
body.theme50>aside .divider{background:#ffffff26!important;margin:16px 10px}
body.theme50>aside .profile{color:#f4f1ff!important;margin-top:14px;padding-top:14px}
body.theme50>aside .profile small{color:#c5bfff!important}
body.theme50>aside .profile b{background:#ffffff24!important;color:#fff!important}
body.theme50>aside .bottom{padding-top:16px}
@media(min-width:951px){body.theme50>main{margin-left:var(--nav-width56)!important}}
@media(max-width:950px){body.theme50>aside{width:min(360px,88vw)!important}body.theme50>main{margin-left:0!important}body.theme50 #moduleNav>button,body.theme50 #moduleNav>.nav-group>button,body.theme50 #moduleNav>.nav-promoted23>button{min-height:52px!important}body.theme50 #moduleNav>button>span,body.theme50 #moduleNav>.nav-group>button>span,body.theme50 #moduleNav>.nav-promoted23>button>span{font-size:19px!important}}
/* The owner panel shares the same palette and desktop navigation scale. */
.platform-shell50{grid-template-columns:var(--nav-width56) minmax(0,1fr)}
.platform-nav50{background:radial-gradient(ellipse at 15% 12%,#6659d4 0,transparent 47%),linear-gradient(155deg,#483daa,#2b267d);padding:24px 21px;color:white}
.platform-nav50 b{font-size:27px;padding-bottom:24px;border-bottom:1px solid #ffffff26;margin:4px 12px 24px}
.platform-nav50 button{min-height:60px;padding:14px;font-size:21px;line-height:1.3;border:0;border-radius:12px;color:#fff;background:transparent;margin:3px 0}
.platform-nav50 button:hover{background:#ffffff15}.platform-nav50 button.active{background:#ffffff26;border:0;color:white}
.platform-panel50{border-radius:16px}.platform-head50{background:#f7f8fc}.platform-form50 .platform-modal-head50 button{border-radius:50%;width:34px;height:34px;padding:0}
/* Compact controls retain their dimensions and task-specific colours. */
body :is(.sort50,.sort-arrow,.table-link48,.text-link50){border-radius:4px}
body .leaflet-control button{border-radius:4px}
@media(max-width:720px){.platform-shell50{grid-template-columns:minmax(0,1fr)}.platform-nav50{padding:8px}.platform-nav50 button{font-size:15px;min-height:40px;padding:9px 14px}.platform-stats50{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){body button{transition:none}}
body.theme50 :is(button,input[type=button],input[type=submit]):not(.task){border-radius:999px}
body.theme50 #moduleNav .nav-group>button[aria-expanded=true]{background:#ffffff20!important;box-shadow:none!important}
body.theme50>aside .brand>span:first-child{background:transparent!important;border-radius:0}
body.theme50 .filter-actions52 :is([data-save52],[data-fields52]){width:32px!important;min-height:32px!important;padding:4px!important;border-radius:50%!important}
body.theme50 #moduleNav .nav-children{margin-left:0!important;padding-left:38px!important}
body.theme50 #moduleNav [hidden]{display:none!important}
/* v59: one scroll container; expanded navigation must not shrink under its footer. */
body.theme50>aside{
 height:100vh;height:100dvh;max-height:100dvh!important;
 display:flex!important;flex-direction:column!important;justify-content:flex-start!important;
 overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain
}
body.theme50>aside>*{flex:0 0 auto!important;min-width:0}
body.theme50>aside>nav,body.theme50>aside #moduleNav{
 flex:0 0 auto!important;min-height:auto!important;height:auto!important;max-height:none!important;
 overflow:visible!important;display:block!important;width:100%;position:static!important
}
body.theme50>aside .bottom{
 position:static!important;inset:auto!important;transform:none!important;
 flex:0 0 auto!important;min-height:auto!important;height:auto!important;
 width:100%;margin-top:auto!important;padding-top:16px;clear:both
}
body.theme50>aside .profile{position:static!important;flex:0 0 auto!important;min-height:auto!important}
body.theme50 #moduleNav>.nav-group,body.theme50 #moduleNav>.nav-promoted23{
 display:block!important;flex:none!important;width:100%!important;min-width:0!important;height:auto!important
}
body.theme50>aside button{max-width:100%;white-space:normal;overflow-wrap:anywhere}
body.theme50>aside button>span{min-width:0}
body.theme50 #moduleNav [hidden]{display:none!important}
body.locked.theme50>aside{display:none!important}

/* cards65.css */
.cards-grid65{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:20px}.card-tile65{padding:16px;background:#ffffffb8;border:1px solid #fff;border-radius:16px}.card-editor65{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding:20px;background:#ffffffb8;border-radius:16px}.card-fields65{display:grid;grid-template-columns:1fr 1fr;gap:12px}.card-fields65 label,.card-blocks65 label{display:flex;flex-direction:column;gap:5px}.card-blocks65 fieldset{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.card-blocks65 input[type=number]{width:75px}.card-editor65 input,.card-editor65 select{max-width:100%;box-sizing:border-box}#cardPreview65{position:sticky;top:15px;touch-action:none}#cardPreview65 [data-block65]{cursor:move}#cardError65{color:#a32036}@media(max-width:850px){.card-editor65{grid-template-columns:1fr}.card-editor65>div:last-child{grid-row:1}.card-fields65{grid-template-columns:1fr 1fr}}

.card-share88{width:min(760px,94vw);max-height:90dvh;overflow:auto;border:0;border-radius:16px;padding:20px;box-sizing:border-box}.card-share88::backdrop{background:#0008}.card-share88 img{display:block;width:100%;height:auto}.card-share88 .toolbar{display:flex;flex-wrap:wrap;gap:8px}.card-share88 output{display:block;margin-top:10px}

#language90{position:fixed;right:10px;bottom:10px;z-index:10000;background:#ffffffed;border-radius:8px;display:flex;gap:6px;padding:6px 0}#language90 button{width:auto;min-width:38px;padding:6px 10px}#language90 [aria-pressed=true]{background:#167ec0;color:#fff}

/* access66.css */
dialog.access-modal66{width:min(1120px,96vw);max-width:96vw}.access-modal66 #fields{padding:10px}.access-shell66{display:grid;grid-template-columns:180px minmax(0,1fr);gap:14px}.access-shell66 nav{display:flex;flex-direction:column;gap:3px;max-height:62vh;overflow:auto}.access-shell66 nav button{text-align:left;border:0!important;border-radius:3px!important;background:transparent!important;color:#0876a6!important;padding:9px!important;font-size:13px!important}.access-shell66 nav button.active{background:#e0f2fe!important}.access-scroll66{overflow:auto;max-height:62vh}.access-matrix66{width:100%;min-width:680px;border-collapse:collapse;background:#fff}.access-matrix66 th,.access-matrix66 td{padding:10px 7px;border:0;text-align:center;font-size:12px}.access-matrix66 th:first-child{text-align:left;min-width:170px}.access-matrix66 thead th{position:sticky;top:0;background:#fff;color:#777;font-weight:400;z-index:1}.access-matrix66 input{width:15px;height:15px;accent-color:#70b516;cursor:pointer}.access-parent66{background:#eff8ff}.access-parent66 button{border:0!important;background:transparent!important;font-size:13px!important;text-align:left;padding:3px!important}.access-parent66 b{font-size:20px}.access-note66{font-size:12px;color:#6b7280}.access-dash66{color:#bbb}@media(max-width:650px){.access-shell66{grid-template-columns:1fr}.access-shell66 nav{flex-direction:row;white-space:nowrap;max-height:none}.access-shell66 nav button{flex-shrink:0}.access-scroll66{max-height:55vh}}@media print{body>aside,body>header,.toolbar,button,dialog{display:none!important}body>main{margin:0!important;width:100%!important}.panel{break-inside:avoid}}
.chart-totals66{display:flex;gap:20px;flex-wrap:wrap;padding:10px 0}.chart-totals66 strong{font-size:14px}
#announcement66{width:min(420px,90vw);border:1px solid #b4d9ef;border-radius:18px;padding:24px}#announcement66::backdrop{background:#162b4444}#announcement66 audio{display:none}

/* v67: section and column bulk permissions */
#accessSections66 .access-section67{display:flex;align-items:center;gap:6px}
#accessSections66 .access-section67 button{flex:1;min-width:0;text-align:left}
#accessSections66 .access-section67>input{width:15px;height:15px;flex:0 0 15px;margin:0 8px 0 0}
#accessSections66 .access-section67.active{background:#e7f4ff}
.access-matrix66 thead input{width:15px;height:15px;margin:6px 0 0}

.access-matrix66 select[data-scope74]{width:155px;max-width:100%;font-size:12px;padding:5px;min-height:30px}
.access-matrix66{min-width:820px}

/* ui92.css */
.filter-off92{display:none!important}.filter-menu92{position:fixed;z-index:100000;background:white;color:#243449;border:1px solid #d4dfed;box-shadow:0 8px 28px #17374e33;border-radius:12px;padding:12px;width:260px;max-height:330px;overflow:auto}.filter-menu92 label{display:flex;gap:10px;align-items:center;padding:7px;margin:0}.filter-menu92 input{width:17px;height:17px}.task-filters92{background:#eef5ff!important;display:grid!important;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;padding:18px}.task-filters92[hidden]{display:none!important}.task-filters92 label{display:flex;flex-direction:column;gap:5px;margin:0;font-size:12px;color:#617187}.task-filters92 input,.task-filters92 select{width:100%;min-width:0;background:white;border:1px solid #d7e1ee;border-radius:5px;padding:8px}.clock-popup92{position:relative;flex-basis:100%;width:250px;max-width:100%;padding:12px;border:1px solid #d7e1ee;border-radius:14px;background:white;color:#243449;box-shadow:0 6px 20px #17374e22}.clock-tabs92{display:flex;justify-content:center;align-items:center;gap:8px}.clock-face92{position:relative;width:220px;height:220px;border-radius:50%;background:#edf4ff;margin:10px auto}.clock-face92 button{position:absolute;transform:translate(-50%,-50%);padding:3px;width:30px;height:30px;border:0;border-radius:50%;background:transparent}.clock-face92 button:hover,.clock-face92 button:focus{background:#167bcd;color:white}.clock-button92{min-width:95px}.task-move{flex-wrap:wrap}

.task-move input[hidden]{display:none!important}

/* ui93.css */
body[data-current-page35=calendar] main,body[data-current-page35=calendar] #content{min-width:0;max-width:100%}
#content .task-controls93{display:flex!important;flex-wrap:wrap!important;overflow:visible!important;min-width:0;max-width:100%;gap:8px}
#content .task-controls93>*{max-width:100%}
#content .task-controls93 .segments{flex-wrap:wrap}
#content #taskFilters92{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr));width:100%;max-width:100%;min-width:0;background:#eef5ff!important;gap:12px;overflow:visible;box-sizing:border-box;margin:0;padding:14px 18px}
#content #taskFilters92[hidden]{display:none!important}
#taskFilters92>*{min-width:0!important;max-width:100%;width:auto!important}
#taskFilters92 .filter-actions52{grid-column:1/-1;display:flex;gap:8px;flex-wrap:wrap}
#taskFilters92 label{display:flex;flex-direction:column;margin:0}
#taskFilters92 input,#taskFilters92 select{min-width:0!important;max-width:100%;width:100%!important}
#taskFilters92 .filter-date-pair45{display:flex;align-items:center;gap:4px;min-width:0}
#taskFilters92 .filter-date-pair45 input{width:calc(50% - 8px)!important}
#content .day-nav93{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;background:#fff;border:1px solid #e5eaf1;min-height:48px;gap:6px;padding:3px 8px}
#content .day-nav93>button{border:0;background:transparent;font-size:30px;padding:0;height:40px}
.day-caption93{text-align:center;min-width:0;color:#718095;font-size:13px}
#dayLabel93{border:0;background:transparent;padding:6px 0;color:inherit;font-size:inherit}
#dayDate93{display:block;max-width:180px;margin:4px auto}
#dayDate93[hidden]{display:none}
#content .day-fit93{min-height:0!important;max-width:100%;width:100%;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable}
#content .day-fit93 .week{min-width:0!important;width:100%;max-width:100%}
#content .day-fit93 .days{display:none!important}
#content .day-fit93 .grid{grid-template-columns:54px minmax(0,1fr)!important;width:100%;min-width:0}
#content .day-fit93 .daycol{min-width:0;width:100%;overflow:hidden}
#content .day-fit93 .task{min-width:0!important;max-width:100%;box-sizing:border-box;overflow:hidden}
#content .hint[hidden]{display:none!important}
@media(max-width:600px){#content #taskFilters92{padding:10px;grid-template-columns:repeat(2,minmax(0,1fr))}.day-caption93{font-size:12px}#content .day-fit93 .grid{grid-template-columns:42px minmax(0,1fr)!important}}

/* ui95.css */
.period-navigation95>.day-caption93{flex:1;min-width:0;text-align:center;font-weight:600}.period-navigation95>button{flex:none;white-space:nowrap}.period-navigation95 .day-count93{font-weight:600}.period-navigation95 #dayLabel93{font-weight:600}

/* ui96.css */
body.theme50 #content .reference-filters96,body #content #taskFilters92.reference-filters96{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;align-items:start!important;gap:10px 12px!important;padding:14px 18px!important;background:#eef5ff!important;border:0!important;border-radius:0!important;overflow:visible!important}
body #content .reference-filters96[hidden]{display:none!important}
body #content .reference-filters96>*,body #content .reference-filters96 .period-field19{grid-column:auto!important;min-width:0!important;width:auto!important;margin:0!important}
body #content .reference-filters96 .filter-actions52{display:flex!important;grid-column:auto!important;align-items:center!important;gap:5px!important;padding-top:5px!important;flex-wrap:wrap!important}
body #content .reference-filters96 .filter-actions52 button{font-size:10px!important;height:25px!important;min-height:25px!important;padding:3px 9px!important;border-radius:15px!important;box-shadow:none!important}
body #content .reference-filters96 .filter-actions52 [data-save52],body #content .reference-filters96 .filter-actions52 [data-fields52]{width:25px!important;padding:0!important;background:#acafb2!important;color:white!important;border:0!important;border-radius:50%!important}
body #content .reference-filters96 label,body #content .reference-filters96 .period-field19{font-size:10px!important;color:#555!important;gap:3px!important}
body #content .reference-filters96 input,body #content .reference-filters96 select{height:25px!important;min-height:25px!important;font-size:10px!important;padding:3px 6px!important;border:1px solid #dce3ed!important;border-radius:4px!important;background:white!important}
body #content .reference-filters96 .bulk-action96{grid-column:1/-1!important;justify-self:start;font-size:11px;padding:6px 10px}
.task-selected96{outline:2px solid #167bcd!important;outline-offset:-2px;background-color:#cfe7ff!important}.task-list96{height:auto!important;min-height:200px!important;max-height:65vh;overflow:auto!important}.task-list96 input[type=checkbox]{width:16px;height:16px}.task-list96 th,.task-list96 td{padding:10px}.task-list96 th{position:sticky;top:0}.task-list96 [data-edit96]{border:0;background:transparent;padding:0;color:#167bcd}
@media(max-width:1200px){body.theme50 #content .reference-filters96,body #content #taskFilters92.reference-filters96{grid-template-columns:repeat(3,minmax(0,1fr))!important}}@media(max-width:600px){body.theme50 #content .reference-filters96,body #content #taskFilters92.reference-filters96{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* ui97.css */
body main>header #language90{position:static!important;inset:auto!important;transform:none!important;margin:0 0 0 auto!important;display:flex!important;flex:0 0 auto;gap:5px;padding:3px!important;background:#ffffffc9;border-radius:8px;z-index:auto!important;box-shadow:none!important}
body main>header #language90 button{display:block!important;width:auto;min-width:34px;padding:5px 8px;font-size:11px;border-radius:6px}
body main>header #language90 [aria-pressed=true]{background:#167bcd!important;color:white!important}
body main>header{gap:10px}body main>header>div:first-child{min-width:0}body main>header #title{overflow-wrap:anywhere}
@media(max-width:700px){
body.theme50 #content :is(.directory-filter52,.partner-filters,.document-filter-grid45,.filter-grid48,.audit-filters),body #content #taskFilters92.reference-filters96{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:flex-start!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x proximity;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;max-width:100%!important;width:100%!important;gap:12px!important;padding:12px!important;box-sizing:border-box}
body.theme50 #content :is(.directory-filter52,.partner-filters,.document-filter-grid45,.filter-grid48,.audit-filters)>*,body #content #taskFilters92.reference-filters96>*{flex:0 0 min(74vw,260px)!important;width:min(74vw,260px)!important;min-width:0!important;max-width:none!important;grid-column:auto!important;scroll-snap-align:start;box-sizing:border-box}
body #content :is(.document-filters45,.report-filters48){min-width:0;max-width:100%;overflow:hidden}
body #content :is(.directory-filter52,.partner-filters,.document-filter-grid45,.filter-grid48,.audit-filters)[hidden],body #content #taskFilters92.reference-filters96[hidden],body #content .filter-off92{display:none!important}
body main>header #language90{align-self:center}
}

/* ui98.css */
/* Shared order-sheet appearance; each sheet keeps its own inputs and handlers. */
body.theme50 #content .sheet-filters98,body #content #taskFilters92.sheet-filters98{background:#fff!important;border:1px solid #e0e5e0!important;border-top:0!important;border-radius:0!important;padding:12px 18px!important;gap:9px 12px!important;align-items:start!important}
body.theme50 #content .sheet-filters98 .document-filter-field45,body #content #taskFilters92.sheet-filters98 .document-filter-field45{display:flex!important;flex-direction:column!important;gap:3px!important;font-size:10px!important;color:#555!important;margin:0!important}
body.theme50 #content .sheet-filters98 input,body.theme50 #content .sheet-filters98 select,body #content #taskFilters92.sheet-filters98 input,body #content #taskFilters92.sheet-filters98 select{height:22px!important;min-height:22px!important;padding:2px 5px!important;font-size:10px!important;line-height:1.15!important;border:1px solid #c6c6c6!important;border-radius:0!important;background:#fff!important}
body.theme50 #content .sheet-filters98 .filter-actions52,body #content #taskFilters92.sheet-filters98 .filter-actions52{padding-top:4px!important;gap:5px!important;align-items:flex-start!important}
body.theme50 #content .sheet-filters98 .filter-actions52 button,body #content #taskFilters92.sheet-filters98 .filter-actions52 button{height:23px!important;min-height:23px!important;padding:3px 8px!important;font-size:10px!important;border-radius:2px!important;border:1px solid #bdbdbd!important;box-shadow:none!important}
body.theme50 #content .sheet-filters98 .filter-actions52 :is([data-save52],[data-fields52]),body #content #taskFilters92.sheet-filters98 .filter-actions52 :is([data-save52],[data-fields52]){width:22px!important;padding:2px!important;border:0!important;border-radius:50%!important;background:#afb1b2!important;color:white!important;font-size:14px!important}
body #content :is(.directory-toolbar52,.task-toolbar33){border-radius:3px 3px 0 0!important}
body #content :is(.directory-toolbar52,.task-toolbar33) button{border-radius:3px!important}
@media(min-width:701px){body.theme50 #content .sheet-filters98,body #content #taskFilters92.sheet-filters98{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important}body #content .sheet-filters98>*{grid-column:auto!important;min-width:0!important}body #content .sheet-filters98 .bulk-action96{grid-column:1/-1!important}}
@media(min-width:701px) and (max-width:1100px){body.theme50 #content .sheet-filters98,body #content #taskFilters92.sheet-filters98{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
body #content .sheet-filters98[hidden],body #content #taskFilters92.sheet-filters98[hidden],body #content .sheet-filters98 .filter-off92{display:none!important}

/* ui99.css */
/* One density for all filter cells, including legacy number/date ranges. */
body.theme50 main>header.exact-page-heading99{background:#fff!important;border:1px solid #e0e5e9!important;border-radius:3px!important;padding:14px 18px!important;margin:0 0 12px!important;min-height:50px!important}
body.theme50 main>header.exact-page-heading99 #title{font-size:23px!important;line-height:1.25!important;font-weight:400!important}
body.theme50 #content .exact-filters99,body.theme50 #content #taskFilters92.exact-filters99{background:#fff!important;border:1px solid #e0e5e9!important;border-top:0!important;padding:12px 18px!important;gap:9px 12px!important;align-items:start!important;margin-bottom:14px!important}
body.theme50 #content .exact-filters99 .exact-field99,body.theme50 #content #taskFilters92.exact-filters99 .exact-field99{display:grid!important;grid-template-rows:13px 22px!important;align-content:start!important;gap:3px!important;min-width:0!important;margin:0!important;padding:0!important;line-height:13px!important;font-size:10px!important;color:#555!important}
body.theme50 #content .exact-filters99 .exact-heading99,body.theme50 #content #taskFilters92.exact-filters99 .exact-heading99{display:flex!important;align-items:center!important;gap:2px!important;white-space:nowrap!important;min-width:0!important;margin:0!important;padding:0!important;height:13px!important;font:10px/13px Arial,sans-serif!important;color:#555!important;background:transparent!important}
body.theme50 #content .exact-filters99 .exact-heading99::before{content:'•';margin-right:1px;font-size:9px}
body.theme50 #content .exact-filters99 .exact-heading99 button{height:13px!important;min-height:0!important;padding:0 1px!important;border:0!important;border-radius:0!important;font:10px/13px Arial,sans-serif!important;background:transparent!important;color:#2588bf!important;box-shadow:none!important}
body.theme50 #content .exact-filters99 :is(.range-inputs19,.filter-date-pair45,.filter-pair48){display:flex!important;flex-wrap:nowrap!important;gap:5px!important;align-items:center!important;width:100%!important;height:22px!important;padding:0!important;margin:0!important}
body.theme50 #content .exact-filters99 input:not([type=checkbox]),body.theme50 #content .exact-filters99 select,body.theme50 #content #taskFilters92.exact-filters99 input:not([type=checkbox]),body.theme50 #content #taskFilters92.exact-filters99 select{height:22px!important;min-height:22px!important;max-height:22px!important;min-width:0!important;width:100%!important;padding:2px 5px!important;margin:0!important;font:10px/16px Arial,sans-serif!important;border:1px solid #dfe5ee!important;border-radius:2px!important;background:#fff!important;box-shadow:none!important;box-sizing:border-box!important}
body.theme50 #content .exact-filters99 :is(.range-inputs19,.filter-date-pair45,.filter-pair48)>input{flex:1 1 0!important;width:0!important}
body.theme50 #content .exact-filters99 :is(.filter-actions52,.filter-actions48){padding-top:4px!important;display:flex!important;align-items:flex-start!important;align-self:start!important;gap:5px!important;flex-wrap:nowrap!important}
body.theme50 #content .exact-filters99 :is(.filter-actions52,.filter-actions48) button{font:10px/15px Arial,sans-serif!important;height:23px!important;min-height:23px!important;padding:3px 8px!important;margin:0!important;border-radius:2px!important;border:1px solid #dfe5ee!important;box-shadow:none!important;background:#fff!important;color:#39465c!important;white-space:nowrap}
body.theme50 #content .exact-filters99 :is(.filter-actions52,.filter-actions48) button.primary{background:#3288c8!important;border-color:#3288c8!important;color:#fff!important}
body.theme50 #content .exact-filters99 :is([data-save52],[data-fields52],#saveFilters48,#fieldsFilter48){flex:0 0 22px!important;width:22px!important;height:22px!important;min-height:22px!important;padding:0!important;border-radius:50%!important;border:0!important;background:#afb1b2!important;color:#fff!important;font-size:14px!important}
body.theme50 #content :is(.directory-toolbar52,.task-toolbar33){background:#fff!important;border:1px solid #e0e5e9!important;border-radius:3px 3px 0 0!important;padding:14px 18px!important;gap:6px!important;min-height:60px!important}
body.theme50 #content :is(.directory-toolbar52,.task-toolbar33) button{font-size:11px!important;min-height:30px!important;padding:5px 9px!important;border-radius:3px!important;box-shadow:none!important}
body.theme50 #content :is(.directory-toolbar52,.task-toolbar33) button.primary{background:#3288c8!important;border-color:#3288c8!important;color:white!important}
@media(min-width:701px){body.theme50 #content .exact-filters99,body.theme50 #content #taskFilters92.exact-filters99{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important}body.theme50 #content .exact-filters99>*{grid-column:auto!important}body.theme50 #content .exact-filters99 .bulk-action96{grid-column:1/-1!important}}
@media(max-width:700px){body.theme50 main>header.exact-page-heading99{padding:10px 12px 10px 38px!important}body.theme50 main>header.exact-page-heading99 #title{font-size:19px!important}body.theme50 #content .exact-filters99{display:flex!important;overflow-x:auto!important;flex-wrap:nowrap!important}body.theme50 #content .exact-filters99>*{flex:0 0 260px!important}}
body.theme50 #content .exact-filters99[hidden],body.theme50 #content #taskFilters92.exact-filters99[hidden],body.theme50 #content .exact-filters99 .filter-off92{display:none!important}

/* ui100.css */
/* Match the order-sheet filter: one white toolbar above a compact blue grid. */
body.theme50 #content .exact-filters99,
body.theme50 #content #taskFilters92.exact-filters99 {
  background:#eef5ff!important;border:1px solid #e0e5e9!important;border-top:0!important;
  padding:12px 18px!important;gap:9px 12px!important;border-radius:0!important;
}
body.theme50 #content .exact-filters99 input:not([type=checkbox]),
body.theme50 #content .exact-filters99 select,
body.theme50 #content #taskFilters92.exact-filters99 input:not([type=checkbox]),
body.theme50 #content #taskFilters92.exact-filters99 select {border-radius:4px!important;}
body.theme50 #content .exact-filters99 :is(.filter-actions52,.filter-actions48) button {border-radius:14px!important;}
body.theme50 #content .exact-filters99 :is(.filter-actions52,.filter-actions48) button.primary {background:#1687ee!important;border-color:#1687ee!important;}
body.theme50 #content #taskFilters92.exact-filters99 .filter-actions52 button {border-radius:14px!important;}
body.theme50 #content #taskFilters92.exact-filters99 .filter-actions52 button.primary {background:#1687ee!important;border-color:#1687ee!important;}
body.theme50 #content :is(.directory-toolbar52,.task-toolbar33) {
  border-radius:12px 12px 0 0!important;padding:18px!important;min-height:74px!important;
}
body.theme50 #content :is(.directory-toolbar52,.task-toolbar33) button {
  border-radius:9px!important;min-height:36px!important;padding:7px 13px!important;font-size:12px!important;
}
body.theme50 #content .task-toolbar33 .task-actions33 {
  background:transparent!important;border:0!important;border-radius:0!important;
  padding:0!important;margin:0!important;min-height:0!important;gap:8px!important;box-shadow:none!important;
}
body.theme50 #content .task-toolbar33 .task-period33 {display:none!important;}
body.theme50 #content #taskFilters92 .task-filter-bulk100 {
  grid-column:auto!important;justify-self:start!important;align-self:end!important;
  height:24px!important;min-height:24px!important;max-width:100%!important;
  margin:0!important;padding:3px 9px!important;font:10px/16px Arial,sans-serif!important;
  border:1px solid #dfe5ee!important;border-radius:14px!important;background:#fff!important;
  color:#39465c!important;white-space:nowrap!important;box-shadow:none!important;
}
/* Every move occupies the next grid cell; the toolbar and action cell stay put. */
body #content .filter-order-mode100 > :is(label,.period-field19,.filter-cell52,.filter-field48,.document-filter-field45),
body.theme50 #content .exact-filters99.filter-order-mode100 > .exact-field99,
body.theme50 #content #taskFilters92.filter-order-mode100 > .exact-field99 {
  position:relative!important;padding:29px 5px 5px!important;min-height:72px!important;
  border:1px dashed #85b4df!important;border-radius:5px!important;background:#ffffff8c!important;
}
body #content .field-order-controls100 {
  position:absolute!important;top:3px;right:4px;display:flex!important;align-items:center!important;gap:3px!important;
}
body #content .field-order-controls100 button {
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:22px!important;height:22px!important;min-height:22px!important;margin:0!important;padding:0!important;
  border:1px solid #bdd3e6!important;border-radius:4px!important;background:white!important;color:#326c9f!important;
  font:16px/20px Arial,sans-serif!important;box-shadow:none!important;
}
body #content .field-order-controls100 [data-order-handle100] {cursor:grab!important;}
body #content .field-order-controls100 [data-order-handle100]:active {cursor:grabbing!important;}
body #content .filter-order-target100 {outline:2px solid #1687ee!important;outline-offset:-2px!important;}
body.theme50 #content .exact-filters99 > .filter-order-toolbar100,
body.theme50 #content #taskFilters92 > .filter-order-toolbar100,
body #content .filter-order-toolbar100 {
  grid-column:1/-1!important;display:flex!important;align-items:center!important;gap:12px!important;
  padding:7px 0 0!important;color:#46617d!important;font:12px/18px Arial,sans-serif!important;
}
body #content .filter-order-toolbar100 button,body .filter-menu92 .filter-order-button100 {
  border:1px solid #c5d6e8!important;border-radius:6px!important;padding:6px 10px!important;
  min-height:30px!important;font:12px/18px Arial,sans-serif!important;background:#fff!important;color:#225b90!important;
}
body .filter-menu92 .filter-order-button100 {width:100%!important;margin-top:8px!important;}
@media(min-width:701px) and (max-width:1400px) {
  body.theme50 #content .exact-filters99,body.theme50 #content #taskFilters92.exact-filters99 {
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}
@media(max-width:700px) {
  body.theme50 #content #taskFilters92.exact-filters99 {
    display:flex!important;flex-flow:row nowrap!important;overflow-x:auto!important;overflow-y:hidden!important;
    padding:12px!important;scroll-snap-type:x proximity;overscroll-behavior-x:contain;
  }
  body.theme50 #content #taskFilters92.exact-filters99 > * {
    flex:0 0 min(74vw,260px)!important;width:min(74vw,260px)!important;scroll-snap-align:start;
  }
  body.theme50 #content #taskFilters92 .task-filter-bulk100 {align-self:start!important;}
  body #content .filter-order-toolbar100 {flex-wrap:wrap!important;}
}

/* ui101.css */
/* Separate filter density from the site's general button settings. */
:root{--filter-font101:10px;--filter-line101:13px;--filter-control-height101:22px;--filter-button-font101:10px;--filter-button-height101:23px;--filter-cell-min101:221px}
body.theme50 #content :is(.directory-toolbar52,.task-toolbar33) button {
  font-size:var(--site-button-font101,12px)!important;min-height:var(--site-button-height101,36px)!important;
}
body.theme50 #content :is(#taskFilters92.exact-filters99,.exact-filters99,.document-filter-grid45,.filter-grid48,.partner-filters) {
  grid-template-columns:repeat(auto-fit,minmax(min(100%,var(--filter-cell-min101)),1fr))!important;
}
body.theme50 #content :is(#taskFilters92.exact-filters99,.exact-filters99,.document-filter-grid45,.filter-grid48,.partner-filters) :is(.exact-field99,.document-filter-field45) {
  grid-template-rows:var(--filter-line101) var(--filter-control-height101)!important;
  font-size:var(--filter-font101)!important;line-height:var(--filter-line101)!important;
}
body.theme50 #content :is(#taskFilters92.exact-filters99,.exact-filters99,.document-filter-grid45,.filter-grid48,.partner-filters) :is(.exact-heading99,.document-filter-field45>span) {
  height:var(--filter-line101)!important;font:var(--filter-font101)/var(--filter-line101) Arial,sans-serif!important;
}
body.theme50 #content :is(#taskFilters92.exact-filters99,.exact-filters99,.document-filter-grid45,.filter-grid48,.partner-filters) :is(.exact-heading99,.document-filter-field45>span) button {
  font:var(--filter-font101)/var(--filter-line101) Arial,sans-serif!important;
  height:var(--filter-line101)!important;min-height:0!important;padding:0 1px!important;
}
body.theme50 #content :is(#taskFilters92.exact-filters99,.exact-filters99,.document-filter-grid45,.filter-grid48,.partner-filters) :is(input:not([type=checkbox]),select),
body #appearanceForm57 .filter-preview101 input {
  height:var(--filter-control-height101)!important;min-height:var(--filter-control-height101)!important;max-height:none!important;
  font:var(--filter-font101)/1.3 Arial,sans-serif!important;padding:2px 5px!important;
}
body.theme50 #content :is(#taskFilters92.exact-filters99,.exact-filters99,.document-filter-grid45,.filter-grid48,.partner-filters) :is(.range-inputs19,.filter-date-pair45,.filter-pair48) {
  height:var(--filter-control-height101)!important;
}
body.theme50 #content :is(#taskFilters92.exact-filters99,.exact-filters99,.document-filter-grid45,.filter-grid48,.partner-filters) :is(.filter-actions52,.filter-actions48,.document-filter-actions45) button,
body.theme50 #content #taskFilters92 .task-filter-bulk100,
body #appearanceForm57 .filter-preview101 button {
  font:var(--filter-button-font101)/1.3 Arial,sans-serif!important;height:var(--filter-button-height101)!important;
  min-height:var(--filter-button-height101)!important;max-height:none!important;padding:3px 8px!important;
}
body.theme50 #content :is(#taskFilters92.exact-filters99,.exact-filters99,.document-filter-grid45,.filter-grid48,.partner-filters) :is([data-save52],[data-fields52],#saveFilters48,#fieldsFilter48,#saveDocument45,#settingsDocument45) {
  width:var(--filter-button-height101)!important;flex:0 0 var(--filter-button-height101)!important;
  padding:0!important;font-size:max(14px,var(--filter-button-font101))!important;
}
.filter-preview101{margin:20px 0;padding:16px;background:#eef5ff;border:1px solid #dfe5ee;border-radius:8px}
.filter-preview101>span{display:block;margin-bottom:12px;font-size:13px;color:#617187}
.filter-preview101>div{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap}
body #appearanceForm57 .filter-preview101 label{display:flex;flex-direction:column;gap:3px;font:var(--filter-font101)/1.3 Arial,sans-serif!important}
body #appearanceForm57 .filter-preview101 input{border:1px solid #dfe5ee;border-radius:4px;background:white;width:200px;max-width:100%}
body #appearanceForm57 .filter-preview101 button{border-radius:14px!important}
body #appearanceForm57 [hidden]{display:none!important}
@media(max-width:700px){
  body.theme50 #content :is(#taskFilters92.exact-filters99,.exact-filters99,.document-filter-grid45,.filter-grid48,.partner-filters)>* {
    flex:0 0 max(var(--filter-cell-min101),min(74vw,260px))!important;
    width:max(var(--filter-cell-min101),min(74vw,260px))!important;
  }
}

/* ui102.css */
/* One horizontal track for each filter and its actions in the mobile layout. */
@media(max-width:950px){
  body.theme50 #content :is(#taskFilters92.exact-filters99,.directory-filter52,.partner-filters,.document-filter-grid45,.filter-grid48,.audit-filters,.extra-filters19){
    --filter-item-width102:max(min(74vw,280px),calc(var(--filter-font101,10px)*22));
    display:flex!important;flex-flow:row nowrap!important;align-items:flex-end!important;
    width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;
    overflow-x:auto!important;overflow-y:hidden!important;gap:12px!important;padding:12px!important;
    scroll-snap-type:x proximity;scroll-padding-inline:12px;overscroll-behavior-x:contain;
    -webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#abc9e4 transparent;
  }
  body.theme50 #content :is(#taskFilters92.exact-filters99,.directory-filter52,.partner-filters,.document-filter-grid45,.filter-grid48,.audit-filters,.extra-filters19)>*{
    flex:0 0 var(--filter-item-width102)!important;width:var(--filter-item-width102)!important;
    min-width:0!important;max-width:none!important;grid-column:auto!important;margin:0!important;
    box-sizing:border-box!important;scroll-snap-align:start;
  }
  body.theme50 #content :is(#taskFilters92.exact-filters99,.directory-filter52,.partner-filters,.document-filter-grid45,.filter-grid48,.audit-filters,.extra-filters19)>:is(.filter-actions52,.filter-actions48,.document-filter-actions45,button,.filter-order-toolbar100){
    flex:0 0 auto!important;width:max-content!important;max-width:none!important;align-self:center!important;
  }
  body.theme50 #content :is(#taskFilters92.exact-filters99,.directory-filter52,.partner-filters,.document-filter-grid45,.filter-grid48) :is(.filter-actions52,.filter-actions48,.document-filter-actions45){
    display:flex!important;flex-flow:row nowrap!important;align-items:center!important;gap:6px!important;
    min-width:max-content!important;padding:0!important;
  }
  body.theme50 #content :is(#taskFilters92.exact-filters99,.directory-filter52,.partner-filters,.document-filter-grid45,.filter-grid48) :is(.filter-actions52,.filter-actions48,.document-filter-actions45)>button{
    flex-shrink:0!important;white-space:nowrap!important;scroll-snap-align:start;
  }
  body.theme50 #content :is(.document-filters45,.report-filters48){min-width:0!important;max-width:100%!important;overflow:hidden!important;}
  body.theme50 #content :is(.partner-top36,.partner-bottom36,.audit-filters>.audit-actions35){display:contents!important;}
  body.theme50 #content :is(#taskFilters92.exact-filters99,.directory-filter52,.partner-filters,.document-filter-grid45,.filter-grid48,.audit-filters,.extra-filters19)[hidden],
  body.theme50 #content :is(#taskFilters92.exact-filters99,.directory-filter52,.partner-filters,.document-filter-grid45,.filter-grid48,.audit-filters,.extra-filters19)>:is([hidden],.filter-off92){display:none!important;}

  /* The row containing Add / Filter / Edit and view switches also scrolls. */
  body.theme50 #content .task-toolbar33 .task-actions33,
  body.theme50 #content .toolbar:has(#filterToggle52,#documentFilterButton45,#toggleFilter48):not(.task-toolbar33,.partner-toolbar137){
    display:flex!important;flex-flow:row nowrap!important;align-items:center!important;
    width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;
    overflow-x:auto!important;overflow-y:hidden!important;gap:8px!important;
    scroll-snap-type:x proximity;scroll-padding-inline:12px;overscroll-behavior-x:contain;
    -webkit-overflow-scrolling:touch;scrollbar-width:thin;
  }
  body.theme50 #content .task-toolbar33 .task-actions33>*,
  body.theme50 #content .toolbar:has(#filterToggle52,#documentFilterButton45,#toggleFilter48):not(.task-toolbar33,.partner-toolbar137)>*{
    flex:0 0 auto!important;width:auto!important;max-width:none!important;white-space:nowrap!important;scroll-snap-align:start;
  }
  body.theme50 #content :is(.task-toolbar33,.directory-toolbar52,.document-toolbar45,.warehouse-toolbar48) :is(.task-views40,.segments,.document-leading45,.ledger-actions34,.order-actions35,.header-actions44,.estate-tabs52,.partner-views){
    display:flex!important;flex-flow:row nowrap!important;flex:0 0 auto!important;
    width:max-content!important;max-width:none!important;overflow:visible!important;
  }
  body.theme50 #content :is(.task-toolbar33,.directory-toolbar52,.document-toolbar45,.warehouse-toolbar48) :is(.task-views40,.segments,.document-leading45,.ledger-actions34,.order-actions35,.header-actions44,.estate-tabs52,.partner-views)>button{
    flex:0 0 auto!important;white-space:nowrap!important;
  }
  body.theme50 #content .task-actions33>.spacer,
  body.theme50 #content .toolbar:has(#filterToggle52,#documentFilterButton45,#toggleFilter48)>.spacer,
  body.theme50 #content :is(.task-toolbar33,.directory-toolbar52,.document-toolbar45,.warehouse-toolbar48) :is([hidden],.document-original45){display:none!important;}
  body.theme50 #content :is(.filter-saved48,#documentPresets45){display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;gap:8px!important;}
  body.theme50 #content :is(.filter-saved48,#documentPresets45)>*{flex:0 0 auto!important;white-space:nowrap!important;}
}
body .carousel-menu102{
  position:fixed!important;z-index:100001!important;width:min(280px,calc(100vw - 16px))!important;
  max-height:min(330px,calc(100dvh - 16px))!important;overflow-y:auto!important;
  margin:0!important;box-sizing:border-box!important;
}
body .carousel-menu102[hidden]{display:none!important;}

/* ui103.css */
/* Constrain every mobile action row to its own scroller, including deals. */
@media(max-width:950px){
 body.theme50>main{margin-left:0!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
 body.theme50 main>header{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
 body.theme50 #content,body.theme50 #content :is(.deals-layout,.pipeline-work){min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
 body.theme50 #content .toolbar:not(.task-toolbar33){display:flex!important;flex-flow:row nowrap!important;align-items:center!important;width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important;overflow-x:auto!important;overflow-y:hidden!important;gap:8px;overscroll-behavior-x:contain;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
 body.theme50 #content .toolbar:not(.task-toolbar33)>*{flex:0 0 auto!important;white-space:nowrap;max-width:none}
 body.theme50 #content .toolbar:not(.task-toolbar33)>.spacer{display:none!important}
 body.theme50 #content .toolbar [hidden]{display:none!important}
 body.theme50 #content .toolbar .header-actions44{display:flex!important;flex-wrap:nowrap!important;width:max-content!important}
 body.theme50 #dealBoard{width:100%;max-width:100%;box-sizing:border-box;overscroll-behavior-x:contain}
 body.theme50 #content .pipeline-work>.toolbar{padding:10px!important}
}
#modal.property-form103{width:612.5px!important;max-width:calc(100vw - 24px)!important;max-height:94dvh!important;box-sizing:border-box!important}
#modal.property-form103[data-existing103]{width:1062.5px!important}
#modal.property-form103 .directory-form50{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
#modal.property-form103 label{min-width:0}
#modal.property-form103 input{box-sizing:border-box}
.property-address103{grid-column:1/-1;min-width:0;border-top:1px solid #dde6ef;margin-top:12px;padding-top:12px}
.property-address103 h3{margin-top:0}
.property-address-grid103{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px}
.property-address-grid103>label{display:flex;flex-direction:column;gap:5px;min-width:0}
.property-address-grid103 input{width:100%;min-width:0}
.property-full-address103{grid-column:1/-1}
.property-full-address103 textarea{width:100%;min-height:74px;box-sizing:border-box;resize:vertical}
.property-full-address103 textarea[readonly]{background:#f2f6fa}
.property-location-actions103{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.property-address103 output{display:block;margin-top:8px;font-size:12px;overflow-wrap:anywhere}
.property-photo-actions103 .estate-upload79[hidden]{display:none!important}
body dialog.photo-choice103{position:fixed;inset:auto 0 0;margin:0 auto!important;width:460px;max-width:100vw;max-height:80dvh;border:0;border-radius:22px 22px 0 0;padding:16px 22px max(20px,env(safe-area-inset-bottom));box-sizing:border-box;text-align:center}
.photo-choice103::backdrop{background:#17233370}
.photo-sheet-handle103{width:36px;height:4px;border-radius:4px;background:#becbd8;margin:0 auto 18px}
.photo-choice-options103{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:18px 0}
.photo-choice-options103 button{display:flex;flex-direction:column;align-items:center;gap:12px;border:1px solid #cfdeec;border-radius:16px;padding:18px 8px;min-width:0;background:#f4f9ff;color:#176cb4}
.photo-choice-options103 svg{width:58px;height:58px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}
.photo-choice-options103 span{font-size:14px;white-space:normal}
.photo-choice103>[data-photo-close103]{width:100%}
.social-preview83 .share-hero103{display:block;width:100%;height:300px;object-fit:contain;background:#eef2f5}
.social-preview83 .share-thumbs103{display:flex;gap:6px;overflow-x:auto;padding:8px;max-width:100%;box-sizing:border-box}
.social-preview83 .share-thumbs103 button{flex:0 0 64px;width:64px;height:52px;border:2px solid transparent;border-radius:6px;padding:1px;background:white}
.social-preview83 .share-thumbs103 button[aria-pressed=true]{border-color:#1685ed}
.social-preview83 .share-thumbs103 img{width:100%;height:100%;object-fit:cover;border-radius:3px}
body .property-location103{width:760px;max-width:calc(100vw - 24px);max-height:94dvh;box-sizing:border-box}
.property-map103{height:320px;border:1px solid #d8e2ee;margin:14px 0;background:#eef3f7}
.property-coordinate103{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.property-coordinate103 label{display:flex;flex-direction:column;gap:4px;min-width:0}
.property-coordinate103 input{width:100%;min-width:0;box-sizing:border-box}
.property-location103>label{display:flex;flex-direction:column;gap:6px}
.property-location103 output{display:block;white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0}
.location-attribution103{font-size:11px;color:#68798a}
@media(max-width:600px){#modal.property-form103{padding:18px!important}#modal.property-form103 .directory-form50,.property-address-grid103{grid-template-columns:minmax(0,1fr)}.social-preview83 .share-hero103{height:230px}.property-location103{padding:16px}.property-map103{height:260px}.property-photo-actions103{flex-wrap:wrap!important}}

/* ui104.css */
/* v104 personal tools; independent of legacy filter/button layouts. */
.tools-page104,.tools-page104 *,.media-widget104,.media-widget104 *,#personalDashboard104,#personalDashboard104 *,.tools-dialog104,.tools-dialog104 *{box-sizing:border-box;min-width:0}
.tools-page104{max-width:1400px;margin:0 auto;padding:12px 4px 30px;color:var(--ink,#24364d)}
.tools-head104{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.tools-head104 h2,.tools-head104 h3{margin:0;overflow-wrap:anywhere}.tools-head104 p{margin:6px 0 0;color:#61718a;font-size:14px}
.tools-layout104{display:grid;grid-template-columns:minmax(300px,.8fr) minmax(360px,1.2fr);gap:20px;align-items:start}
.tools-card104,.notebook104{background:var(--panel,#fff);border:1px solid #dce4ee;border-radius:16px;padding:20px;box-shadow:0 5px 18px #233a5710}
.tools-player104{position:sticky;top:20px}
.tools-actions104{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.tools-page104 button,.media-widget104 button,#personalDashboard104 button,.tools-dialog104 button,.record-live104 button{font-size:14px!important;min-height:36px;height:auto!important;padding:7px 12px!important;line-height:1.3;white-space:normal;flex-shrink:0}
.tools-page104 button:disabled,.tools-dialog104 button:disabled{opacity:.55;cursor:wait}
.media-controls104{display:grid;gap:14px}.media-title104{font-size:20px;line-height:1.35;overflow-wrap:anywhere;min-height:27px}
.media-buttons104{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.media-buttons104 [data-action104=play]{flex:1}
.media-volume104,.media-progress104{display:flex;gap:12px;align-items:center;margin:0!important;font-size:13px}
.media-progress104{flex-wrap:wrap}.media-progress104 input{flex-basis:100%}
.media-controls104 input[type=range]{min-width:0!important;width:100%;height:24px!important;padding:0!important;accent-color:#247ec4;border:0;box-shadow:none}
.media-live104,.tools-hint104{font-size:13px;color:#66768a;line-height:1.5}.tools-hint104{margin:14px 0 0}
.media-error104{font-size:13px;color:#b32632;white-space:normal}.media-error104:empty{display:none}
.media-list104{display:grid;gap:9px;margin-top:16px;max-height:65vh;overflow:auto;overscroll-behavior:contain}
.media-row104{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #e4eaf1;border-radius:10px;padding:12px;flex-wrap:wrap}
.media-row104>div:first-child{flex:1;min-width:150px}.media-row104 strong{display:block;overflow-wrap:anywhere;font-size:15px}.media-row104 small{display:block;color:#708095;font-size:12px;margin-top:5px}
.tools-favorite104{display:flex;align-items:center;gap:8px}.tools-favorite104 input{width:18px;height:18px}
.recorder104{border-top:1px solid #dce4ee;margin-top:18px;padding-top:16px}.recorder104 h3{margin:0 0 12px}.recorder104 output{display:block;margin-top:12px;font-size:14px;color:#ae273a}
.tools-dialog104{width:520px;max-width:calc(100vw - 24px);max-height:85vh;border:1px solid #dae2ed;border-radius:16px;padding:22px;color:#24364d;overflow:auto;background:#fff}
.tools-dialog104::backdrop{background:#12264177}.tools-dialog104 label{display:grid;gap:7px;font-size:14px;margin:12px 0}.tools-dialog104 input,.tools-dialog104 textarea{width:100%;font-size:16px!important;max-width:100%;padding:10px!important}.tools-dialog104 output{display:block;color:#b32632;white-space:normal;margin:10px 0}.tools-dialog104 .tools-actions104{justify-content:flex-end;margin-top:18px}
.media-widget104{width:328px;max-width:calc(100vw - 16px);background:#fff;color:#24364d;border:1px solid #cad9ea;border-radius:14px;box-shadow:0 10px 32px #12314b2b;padding:12px;z-index:85}
.media-widget104.floating104{position:fixed;margin:0;max-height:calc(100dvh - 16px);overflow:auto}
.media-widget-head104{display:flex;align-items:center;gap:4px;border-bottom:1px solid #e1e8f1;margin-bottom:12px;padding-bottom:9px}
.media-widget-head104 .media-grip104{flex:1;text-align:left;cursor:grab;touch-action:none;background:transparent;border:0;font-weight:600;padding-left:0!important}
.media-widget104 .media-title104{font-size:16px}.media-widget104 .media-controls104{gap:9px}.media-widget104 button{font-size:13px!important;padding:5px 8px!important}.media-widget104.dragging104{z-index:100}
.media-widget104[hidden],[data-notebook-head104][hidden],#notebooks104[hidden],[data-record104][hidden]{display:none!important}
.record-live104{position:fixed;bottom:16px;left:50%;transform:translateX(-50%);z-index:120;display:flex;align-items:center;gap:12px;border:1px solid #f4b3bc;border-radius:12px;padding:10px 14px;background:#fff4f5;box-shadow:0 5px 25px #60142322;color:#9c1b2b;font-size:14px;width:max-content;max-width:calc(100vw - 24px)}
#personalDashboard104{margin:0 0 24px}#personalDashboard104>.tools-head104{margin:16px 0}#mediaDock104{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px}#mediaDock104:empty{display:none}
#notebooks104{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(320px,100%),1fr));gap:16px}.notebook104{border-top:3px solid #efa849;max-width:100%;overflow:hidden}
.note-entry104{display:flex;flex-wrap:wrap;gap:8px}.note-entry104 textarea{flex-basis:100%;width:100%;resize:vertical;min-height:70px;max-height:240px;font:inherit;font-size:15px!important;padding:10px!important}.note-entry104 output{flex-basis:100%;color:#b32632;font-size:13px}
.note-list104{list-style:none;margin:12px 0 0;padding:0;max-height:360px;overflow:auto;overscroll-behavior:contain}.note-list104 li{display:grid;grid-template-columns:20px minmax(0,1fr) 30px;gap:9px;padding:12px 0;border-top:1px solid #e7ebf0;align-items:start}.note-list104 input[type=checkbox]{width:18px;height:18px;margin:3px 0}.note-list104 p{margin:0 0 6px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px}.note-list104 time,.note-list104 small{font-size:11px;color:#6b7c90}.note-list104 .done104 p{text-decoration:line-through;color:#8190a1}.note-buttons104{display:grid;gap:5px}.note-buttons104 button{padding:4px!important;min-height:28px!important}
@media(max-width:950px){.tools-layout104{grid-template-columns:minmax(0,1fr)}.tools-player104{position:static}.tools-page104{padding:4px 0 20px}.tools-card104,.notebook104{padding:14px}.media-widget104{position:static!important;width:100%;max-width:100%;box-shadow:0 3px 12px #12314b12}.media-widget104 .media-grip104{cursor:default}.media-list104{max-height:60vh}.record-live104{bottom:8px;gap:7px;padding:8px;font-size:12px;flex-wrap:wrap;justify-content:center}#mediaDock104{grid-template-columns:minmax(0,1fr)}}
@media print{.media-widget104,.record-live104,.tools-page104{display:none!important}}

/* ui114.css */
/* Classic transport shared by section players and movable widgets. */
.classic-player114{background:#fff!important;color:#414344!important;padding:4px 0;gap:13px;isolation:isolate}
.classic-player114 .media-title104{text-align:center;font-weight:600;font-size:18px;color:#414344;line-height:1.4}
.classic-player114 .media-buttons104{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;align-items:center;justify-items:center;padding:6px 0}
.classic-player114 .media-buttons104 button.transport114{display:grid!important;place-items:center;width:42px!important;min-width:0!important;min-height:42px!important;height:42px!important;padding:8px!important;margin:0!important;border:0!important;border-radius:50%!important;background:transparent!important;color:#454746!important;box-shadow:none!important;flex:none!important}
.classic-player114 .media-buttons104 button.play114{width:56px!important;height:56px!important;min-height:56px!important;padding:10px!important;border:4px solid #454746!important}
.classic-player114 .media-buttons104 button.stop114{color:#c58b34!important}.classic-player114 .media-buttons104 button[aria-pressed=true]{color:#b57925!important}.classic-player114 .media-buttons104 button.play114[aria-pressed=true]{border-color:#b57925!important}
.classic-player114 svg{display:block;width:24px;height:24px;fill:currentColor;flex:none}.classic-player114 button:disabled{opacity:.3!important;cursor:default}.classic-player114 button:focus-visible{outline:3px solid #9abfe4!important;outline-offset:3px}.classic-player114 button:hover:not(:disabled){background:#f5f1e9!important}
.classic-player114 .media-options114{display:flex;justify-content:center;align-items:center;gap:18px;min-height:38px}
.classic-player114 .media-options114 button{position:relative;display:flex;align-items:center;justify-content:center;min-width:36px!important;min-height:36px!important;height:36px!important;padding:5px!important;background:transparent!important;border:0!important;box-shadow:none!important;color:#8a8d89!important;font-size:13px!important;font-weight:650}
.classic-player114 .media-options114 [aria-pressed=true]{color:#bb812d!important}.classic-player114 [data-repeat-label114]{position:absolute;right:0;top:0;font-size:11px}.classic-player114 .media-progress104{gap:4px;display:grid!important}.classic-player114 [data-clock104]{text-align:right;font:12px/1.4 system-ui;color:#828783}
.classic-player114 input[type=range]{accent-color:#c58b34!important}.classic-player114 .media-live104{text-align:center;font-size:12px}.radio-line114{height:3px;background:#e7dfca;border-radius:4px;overflow:hidden}.radio-line114 i{display:block;width:0;height:100%;background:#c58b34}.playing114 .radio-line114 i{width:100%}
.classic-player114 .media-volume104{color:#7c827e;font-size:12px}.classic-player114 button.find-radio114{display:flex!important;gap:9px;justify-content:center;align-items:center;width:100%;background:#fbf7ef!important;border:1px solid #e6d7bd!important;color:#805722!important;border-radius:9px!important;margin-top:4px;padding:10px!important;font-size:14px!important}.find-radio114 svg{width:18px;height:18px}
.media-widget104 .classic-player114{gap:9px}.media-widget104 .media-title104{font-size:15px}.media-widget104 .media-buttons104{gap:3px}.media-widget104 .media-buttons104 .play114{width:52px!important;height:52px!important;min-height:52px!important}
.radio-directory114{width:740px;max-width:calc(100vw - 24px)}.radio-search114{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,1fr) auto;gap:10px;align-items:end}.radio-search114 label{margin:0}.radio-search114 button{margin-bottom:0;min-height:43px}.radio-search114 input,.radio-search114 select{height:43px!important;min-width:0;width:100%;padding:9px!important;font-size:15px!important}
.directory-results114{max-height:48vh;overflow:auto;overscroll-behavior:contain}.directory-results114 label.directory-row114{display:flex!important;align-items:center;gap:12px;padding:12px;margin:0;border-bottom:1px solid #e7ebee;cursor:pointer}.directory-row114 input{width:20px!important;height:20px!important;flex:none}.directory-row114 span{min-width:0}.directory-row114 strong,.directory-row114 small{display:block;overflow-wrap:anywhere}.directory-row114 small{font-size:12px;color:#71808b;margin-top:4px}.directory-row114 em{font-size:12px;color:#358353;font-style:normal}.output-dialog114 p{line-height:1.6}.tools-dialog104 [hidden]{display:none!important}
@media(max-width:600px){.radio-search114{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.radio-search114 label:first-child{grid-column:1/-1}.radio-search114 button{grid-column:1/-1}.radio-directory114{padding:16px}.directory-results114{max-height:38vh}.classic-player114 .media-buttons104{gap:3px}.classic-player114 .media-buttons104 button.transport114{width:38px!important;height:40px!important;min-height:40px!important}.classic-player114 .media-buttons104 button.play114{width:52px!important;height:52px!important;min-height:52px!important}.classic-player114 .media-options114{gap:12px}}

.radio-directory114 [data-search-status114]{display:block;color:#526b82;margin:12px 0;line-height:1.5}.radio-directory114 [data-search-status114][data-error=true]{color:#b42318}

/* ui115.css */
/* Reference call layout. Isolated from administrator theme overrides. */
body.call-open115{overflow:hidden!important}
#voiceDialog46.call-screen115{box-sizing:border-box;width:min(500px,calc(100vw - 40px));height:min(780px,calc(100dvh - 40px));max-width:none;max-height:none;padding:22px 26px 30px!important;margin:auto;border:0!important;border-radius:26px!important;background:linear-gradient(105deg,#6263ed 0%,#437ee4 56%,#229fcb 100%)!important;color:#fff!important;box-shadow:0 25px 90px #152a5960;overflow:auto;font-family:Arial,sans-serif!important;font-size:16px!important}
#voiceDialog46.call-screen115[open]{display:flex!important;flex-direction:column;gap:0}
#voiceDialog46.call-screen115::backdrop{background:#152b4e88;backdrop-filter:blur(9px)}
#voiceDialog46.call-screen115 :is(button,h2,p,span,time){font-family:Arial,sans-serif!important;letter-spacing:normal}
#voiceDialog46.call-screen115 button{box-sizing:border-box!important;box-shadow:none!important;color:#fff!important;border:0!important;margin:0!important;min-width:0!important;font-weight:400!important;line-height:1.3!important;text-transform:none!important}
#voiceDialog46.call-screen115 button:focus-visible{outline:3px solid #fff!important;outline-offset:5px}#voiceDialog46.call-screen115 button:disabled{opacity:.45!important;cursor:default}
#voiceDialog46.call-screen115 [hidden]{display:none!important}
#voiceDialog46.call-screen115 svg{display:block;width:28px;height:28px;fill:currentColor;flex:none}
#voiceDialog46.call-screen115 .call-top115{display:flex;align-items:center;gap:16px;flex:none;height:44px}
#voiceDialog46.call-screen115 .call-top115 button{display:grid;place-items:center;flex:none;width:44px!important;height:44px!important;min-height:44px!important;padding:10px!important;background:transparent!important;border-radius:50%!important}
#voiceDialog46.call-screen115 .call-top115>span{font-size:13px!important;color:#ffffffd9;line-height:1.4}
#voiceDialog46.call-screen115 .call-person115{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;min-height:0;padding:clamp(32px,10dvh,92px) 0 32px}
#voiceDialog46.call-screen115 .call-avatar115{width:156px;height:156px;flex:none;border-radius:50%;background:#ffffff20;box-shadow:0 0 0 10px #ffffff0c,0 0 0 20px #ffffff08;display:grid;place-items:center;position:relative;margin:12px 0 32px}
#voiceDialog46.call-screen115 .call-avatar115>span{font-size:56px!important;font-weight:400;line-height:1;color:#fff}
#voiceDialog46.call-screen115 .call-avatar115 img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:50%}
#voiceDialog46.call-screen115[data-state=ringing] .call-avatar115{animation:call-pulse115 2.6s ease-in-out infinite}
#voiceDialog46.call-screen115 h2#voiceName115{font-size:clamp(27px,6vw,36px)!important;font-weight:400!important;line-height:1.2!important;color:#fff!important;margin:0 0 15px!important;overflow-wrap:anywhere;max-width:100%}
#voiceDialog46.call-screen115 #voiceStatus46{font-size:17px!important;line-height:1.45!important;min-height:25px;color:#ffffffdf!important;margin:0!important;max-width:100%;overflow-wrap:anywhere}
#voiceDialog46.call-screen115 #voiceTime115{font-size:18px!important;line-height:1.4;font-variant-numeric:tabular-nums;color:#fff;margin-top:8px}
#voiceDialog46.call-screen115 .call-mode115{font-size:13px!important;line-height:1.5;color:#ffffffcf;margin:15px 0 0;max-width:310px}
#voiceDialog46.call-screen115 .call-bottom115{flex:none;width:100%;margin-top:auto}
#voiceDialog46.call-screen115 .voice-actions46{display:flex!important;align-items:flex-start;justify-content:space-evenly;flex-wrap:nowrap!important;gap:12px!important;margin:12px 0 0!important;width:100%}
#voiceDialog46.call-screen115 button.call-control115{flex:1;max-width:116px;display:flex!important;flex-direction:column;align-items:center;gap:10px;background:transparent!important;border-radius:0!important;padding:5px!important;height:auto!important;min-height:0!important}
#voiceDialog46.call-screen115 .call-circle115{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:#ffffff25;color:#fff;flex:none;transition:background .15s,transform .15s}
#voiceDialog46.call-screen115 .call-circle115 svg{width:28px;height:28px}
#voiceDialog46.call-screen115 .speaker115 .call-circle115{background:#a47bffcc}
#voiceDialog46.call-screen115 .end115 .call-circle115{background:#f31338}
#voiceDialog46.call-screen115 .accept115 .call-circle115{background:#16c879}
#voiceDialog46.call-screen115 button.call-control115[aria-pressed=true] .call-circle115{background:#fff;color:#5171c2}
#voiceDialog46.call-screen115 .call-label115{font-size:13px!important;line-height:1.25!important;color:#fff!important;overflow-wrap:anywhere;text-align:center}
#voiceDialog46.call-screen115 .voice-actions46[data-waiting=true] .call-circle115{width:72px;height:72px}
#voiceDialog46.call-screen115 .voice-actions46[data-waiting=true]{justify-content:space-around}
#voiceDialog46.call-screen115 .call-extra115{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
#voiceDialog46.call-screen115 .call-extra115 button{font-size:14px!important;padding:10px 15px!important;border-radius:20px!important;background:#ffffff22!important;min-height:40px!important;height:auto!important}
#voiceDialog46.call-screen115 .call-output115{padding:12px 15px;margin-bottom:12px;background:#14387935;border-radius:14px;color:#fff}
#voiceDialog46.call-screen115 .call-output115 p{font-size:13px!important;line-height:1.5!important;color:#fff;margin:0}
#voiceDialog46 #contactStart46 svg{height:20px;width:20px;fill:currentColor}#voiceDialog46 #contactStart46{display:inline-flex;align-items:center;justify-content:center;gap:9px;background:#17a86b!important;border-color:#17a86b!important;border-radius:22px!important;color:#fff!important;padding:12px 22px!important}
#callCompact115{box-sizing:border-box;position:fixed;z-index:10010;right:18px;bottom:max(18px,env(safe-area-inset-bottom));display:flex;align-items:center;width:280px;max-width:calc(100vw - 28px);padding:9px;gap:10px;background:linear-gradient(105deg,#6263ed,#229fcb);border-radius:18px;box-shadow:0 7px 35px #15305750;color:#fff}
#callCompact115 button{box-sizing:border-box!important;border:0!important;margin:0!important;color:#fff!important;background:transparent!important;box-shadow:none!important;padding:6px!important;font-family:Arial,sans-serif!important;min-width:0!important;min-height:44px!important;height:auto!important}
#callCompact115 [data-call-expand115]{display:flex;align-items:center;gap:10px;flex:1;text-align:left}#callCompact115 svg{width:22px;height:22px;flex:none;fill:currentColor}#callCompact115 [data-call-expand115]>span{min-width:0}#callCompact115 strong{display:block;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff!important;font:500 14px/1.4 Arial,sans-serif!important}#callCompact115 time{display:block;font:12px/1.4 Arial,sans-serif!important;color:#ffffffd0}#callCompact115 [data-call-end115]{display:grid;place-items:center;background:#f31338!important;border-radius:50%!important;width:44px!important;flex:none}#callCompact115 button:focus-visible{outline:2px solid #fff;outline-offset:2px}
@keyframes call-pulse115{50%{box-shadow:0 0 0 14px #ffffff0e,0 0 0 26px #ffffff07}}
@media(hover:hover){#voiceDialog46.call-screen115 button.call-control115:hover:not(:disabled) .call-circle115{transform:scale(1.06)}}
@media(max-width:700px){#voiceDialog46.call-screen115{width:100vw!important;height:100dvh!important;max-width:100vw!important;max-height:100dvh!important;border-radius:0!important;inset:0;margin:0!important;padding:calc(env(safe-area-inset-top) + 16px) 22px calc(env(safe-area-inset-bottom) + 24px)!important}#voiceDialog46.call-screen115 .call-person115{padding-top:clamp(28px,12dvh,130px)}#voiceDialog46.call-screen115 .call-avatar115{width:clamp(112px,33vw,170px);height:clamp(112px,33vw,170px)}#voiceDialog46.call-screen115 .call-circle115{width:58px;height:58px}#voiceDialog46.call-screen115 .voice-actions46{gap:6px!important}}
@media(max-height:560px){#voiceDialog46.call-screen115{padding-top:10px!important;padding-bottom:12px!important}#voiceDialog46.call-screen115 .call-person115{padding:12px 0 14px!important}#voiceDialog46.call-screen115 .call-avatar115{width:80px;height:80px;margin:8px 0 18px}#voiceDialog46.call-screen115 .call-avatar115>span{font-size:30px!important}#voiceDialog46.call-screen115 h2#voiceName115{font-size:24px!important;margin-bottom:7px!important}#voiceDialog46.call-screen115 #voiceStatus46{font-size:14px!important}#voiceDialog46.call-screen115 .call-circle115,#voiceDialog46.call-screen115 .voice-actions46[data-waiting=true] .call-circle115{width:48px;height:48px}#voiceDialog46.call-screen115 .call-label115{font-size:12px!important}}
@media(prefers-reduced-motion:reduce){#voiceDialog46.call-screen115 .call-avatar115{animation:none!important}#voiceDialog46.call-screen115 .call-circle115{transition:none}}
/* Long press personal navigation editor. Never changes navigation hit targets outside editing. */
aside #moduleNav button{ -webkit-touch-callout:none;user-select:none;}
aside .sidebar-bar115{position:sticky;top:0;z-index:5;padding:12px 8px;background:var(--sidebar-bg,#17283c);color:#fff;border-bottom:1px solid #ffffff30;margin-bottom:8px}
aside .sidebar-bar115 strong{font-size:14px}aside .sidebar-bar115 p{font-size:12px;line-height:1.4;margin:5px 0 10px;color:#d5deea}aside .sidebar-bar115>div{display:flex;gap:6px}aside .sidebar-bar115 button{width:auto!important;min-height:36px!important;margin:0!important;padding:6px 9px!important;color:#fff!important;background:#ffffff18!important;border:1px solid #ffffff30!important;border-radius:8px!important}aside .sidebar-bar115 [data-save-menu115]{background:#387cde!important}aside .sidebar-bar115 output{display:block;font-size:12px;color:#ffceaa;margin-top:5px;white-space:normal}
aside.sidebar-editing115 .sidebar-original115{display:none!important}aside.sidebar-editing115 .nav-children{display:block!important}aside .sidebar-editor115{display:flex!important;align-items:center;min-width:0;gap:3px;padding:3px 2px;margin:3px 0;border:1px solid #ffffff25;border-radius:9px;background:#ffffff09;}
aside .sidebar-editor115 .sidebar-grip115{flex:0 0 38px!important;width:38px!important;min-width:38px!important;min-height:40px!important;margin:0!important;padding:3px!important;text-align:center!important;font-size:26px!important;line-height:1!important;color:inherit!important;border:0!important;background:transparent!important;touch-action:none;cursor:grab}
aside .sidebar-editor115 input{flex:1;width:0;min-width:0!important;max-width:100%;height:40px!important;box-sizing:border-box;margin:0!important;padding:5px!important;border:1px solid transparent!important;border-radius:5px!important;background:transparent!important;color:inherit!important;font:inherit!important;font-size:14px!important;user-select:text;-webkit-user-select:text}
aside .sidebar-editor115 input:focus{outline:2px solid #6aa7ff!important;background:#ffffff10!important}aside .sidebar-editor115 input[aria-invalid=true]{outline:2px solid #ff8e8e!important}aside .sidebar-drag115{outline:2px solid #6aa7ff;border-radius:9px;background:#305d86!important;opacity:.85}aside .sidebar-drag115 .sidebar-grip115{cursor:grabbing}aside .sidebar-leaf115[hidden]{display:none!important}
#voiceDialog46.call-screen115 [hidden][hidden]{display:none!important}
body.theme50 aside.sidebar-editing115 button.sidebar-original115[data-sidebar-default115],body.theme50 aside.sidebar-editing115 #moduleNav button.sidebar-original115{display:none!important}
body.theme50 aside #moduleNav .sidebar-editor115 .sidebar-grip115{font-size:26px!important;width:38px!important;min-width:38px!important;padding:3px!important}
@media(max-width:700px){aside .sidebar-editor115 input{font-size:16px!important}}

/* ui116.css */
#dashboardGrid>#notebooks104{position:absolute;left:0;width:100%;box-sizing:border-box;padding:0 14px 0 0;grid-template-columns:repeat(auto-fit,minmax(min(320px,100%),1fr));align-items:start}
#notebooks104 .notebook-info116{box-sizing:border-box;width:100%;min-width:0;margin:0;background:var(--panel,#fff);border:1px solid #dce4ee;border-top:3px solid #487ce0;border-radius:16px;padding:18px;box-shadow:0 5px 18px #233a5710}
#notebooks104 .info-title49{font-size:18px;line-height:1.35;margin:0;overflow-wrap:anywhere}
#notebooks104 .note-list104{max-height:280px;overflow:auto;overscroll-behavior:contain}#notebooks104 .note-entry104 textarea{min-height:64px;max-height:180px;resize:vertical}
.notebook-page116>.tools-head104{margin-bottom:24px}.notebook-page116>.tools-head104 p{max-width:560px;color:var(--muted,#69768a);line-height:1.5}.notebook-page116>h3{margin:20px 0 14px}.notebook-manager116{min-width:0}
@media(max-width:800px){#dashboardGrid>#notebooks104{position:relative!important;top:auto!important;width:100%;padding:0;order:999999!important;grid-template-columns:1fr}.notebook-page116>.tools-head104{align-items:stretch;flex-direction:column}#notebooks104 .notebook-info116{padding:14px}}
body.theme50 dialog.tools-dialog104.radio-directory114[open]{display:flex!important;flex-direction:column!important;position:fixed!important;top:calc(var(--radio-top116,0px) + 12px)!important;bottom:auto!important;margin:0 auto!important;height:min(840px,calc(var(--radio-height116,100dvh) - 24px))!important;max-height:calc(var(--radio-height116,100dvh) - 24px)!important;overflow:hidden!important;padding:18px!important;box-sizing:border-box!important;gap:0}
body.theme50 .radio-directory114>.tools-head104{flex:none;margin-bottom:14px;min-height:40px}body.theme50 .radio-directory114>.tools-head104 h2{font-size:clamp(18px,5vw,24px)!important;line-height:1.2;margin:0}
body.theme50 .radio-directory114 .radio-body116{flex:1 1 auto;min-height:0;overflow:auto!important;overscroll-behavior:contain;padding:0 3px 10px 0;-webkit-overflow-scrolling:touch}
body.theme50 .radio-directory114 .directory-results114{max-height:none!important;height:auto!important;overflow:visible!important}
body.theme50 .radio-directory114 .radio-footer116{flex:0 0 auto;display:flex!important;flex-wrap:wrap;align-items:stretch;gap:8px;margin:0!important;padding:12px 0 max(0px,env(safe-area-inset-bottom));border-top:1px solid #dce4ee;background:#fff;position:relative;z-index:2}
body.theme50 .radio-directory114 .radio-footer116 button{flex:1 1 120px;margin:0!important;min-height:44px!important;max-width:100%;font-size:14px!important;line-height:1.25!important;white-space:normal}
body.theme50 .radio-directory114 .radio-footer116 button[hidden]{display:none!important}
@media(max-width:700px){body.theme50 dialog.tools-dialog104.radio-directory114[open]{top:calc(var(--radio-top116,0px) + 8px)!important;width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important;height:calc(var(--radio-height116,100dvh) - 16px)!important;max-height:calc(var(--radio-height116,100dvh) - 16px)!important;padding:14px!important}body.theme50 .radio-directory114 .radio-footer116{padding-top:10px}body.theme50 .radio-directory114>.tools-head104{margin-bottom:10px}}

/* ui117.css */
/* Month cards are nested in .month-items42, so a direct-child selector is insufficient. */
body .calendar .monthcell button.done,
body .calendar .task.done,
body .calendar .task-item40.done,
body .calendar .task-range-item35.done,
body .task-map-popup button.done {text-decoration:line-through!important;text-decoration-thickness:1px!important;opacity:.62}
body .calendar .task-completed117 strong,
body .calendar .task-completed117 .task-title40,
body .calendar .task-list96 tr.done [data-edit96] {text-decoration:line-through!important}
body .task-list96 tr.done [data-edit96]{text-decoration:line-through!important;opacity:.65}
body .task-list96 th{white-space:normal;min-width:110px}
body .task-list96 th:first-child{min-width:28px}
body .task-list96 .task-partner117{border:0;background:transparent;color:#1779c4;padding:3px 0;white-space:normal;text-align:left}
body.theme50 #permissions117[open]{position:fixed;inset:auto 0 0;margin:0 auto;width:min(100%,480px);max-width:100%;max-height:min(72dvh,510px);box-sizing:border-box;border:0;border-radius:24px 24px 0 0;padding:22px 20px calc(18px + env(safe-area-inset-bottom));background:#f4f9ff;overflow:auto;color:#263449}
body #permissions117::backdrop{background:#132b4166}
body #permissions117 h2{font-size:20px;margin:0 0 10px}
body #permissions117 p{font-size:15px;line-height:1.45;margin:10px 0}
body #permissions117 .permission-icon117{font-size:32px}
body #permissions117 .permission-buttons117{display:flex;gap:10px;justify-content:flex-end;margin-top:18px}
body #permissions117 button{min-height:44px;padding:10px 16px}
body #permissions117 output{display:block;font-size:14px;overflow-wrap:anywhere}

/* ui121.css */
.task-row118{cursor:pointer}.task-row118:focus-visible{outline:2px solid var(--accent,#4177e5);outline-offset:-2px}#partnerOwner118{max-width:100%;width:100%;min-width:0}#partnerOwnerRow118 dd{min-width:0}#partnerOwnerRow118 small{display:block;color:#c33}

/* ui122.css */
.column-gear122,.column-grip122{padding:3px 6px!important;min-width:24px!important;min-height:24px!important}.column-grip122{cursor:grab;touch-action:none;margin-right:4px}.column-grip122[hidden]{display:none!important}.column-gear122[aria-pressed=true]{background:#d5eaff!important}.column-end122{width:30px}#fields [name=time][hidden]{display:none!important}

/* ui123.css */
#cardForm123 fieldset{border:0;margin:0;padding:0;min-width:0}#cardForm123 input,#cardForm123 select,#cardForm123 textarea{width:100%;min-width:0;box-sizing:border-box}#cardForm123 dl>div{display:grid;grid-template-columns:110px minmax(0,1fr);gap:8px;padding:9px 0}#cardForm123 dd{margin:0;min-width:0}#cardForm123 output{color:#c33}.entity-tasks123{padding:20px;overflow:auto}.entity-tasks123 .crm-task21{width:100%;text-align:left}.table-scroll123{max-width:100%;overflow-x:auto!important;overscroll-behavior-x:contain;scrollbar-width:auto;padding-bottom:8px}main,#content{min-width:0;max-width:100%}#content .panel{min-width:0}#content{overflow-x:auto}#content .table-scroll123 table{min-width:100%}.column-width123{width:64px!important;min-width:64px!important;display:block;margin-top:5px}.column-width123[hidden]{display:none!important}#detail .crm-contact-body21{overflow:auto}#content .table-scroll123 td{overflow-wrap:anywhere}

/* ui124.css */
.note-editor124{display:flex;flex-direction:column;gap:6px;min-height:0;width:100%;overflow:auto}.note-editor124 textarea{width:100%;box-sizing:border-box;min-height:55px;flex:1;resize:vertical;pointer-events:auto}.note-editor124 button{align-self:flex-start}.note-editor124 output{color:#b42318}.dashboard-media-actions124{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:12px}#mediaDock104{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:16px;margin-bottom:16px}#mediaDock104 .media-widget104{position:relative!important;width:100%;max-width:100%;box-sizing:border-box;inset:auto!important}#mediaDock104 .media-grip104{cursor:default}#notebooks104 textarea{pointer-events:auto;user-select:text}

/* ui125.css */
.client-address125{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.client-address125 h4,.client-address125>button,.client-address125>label:has([name=address]){grid-column:1/-1}.client-address125 label{font-size:12px;min-width:0}#cardForm123 fieldset:disabled{opacity:.85}

/* ui126.css */
#controls126{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.board126{position:relative!important;display:block!important}#dashboardGrid.board126 .layout-host126{display:contents!important}#dashboardGrid.board126 .tile126{position:absolute!important;left:var(--x126)!important;top:var(--y126)!important;width:calc(var(--w126) - 12px)!important;height:var(--h126)!important;box-sizing:border-box;min-width:0!important;margin:0!important;overflow:auto}.handle126{position:absolute;z-index:20;touch-action:none!important;user-select:none}.move126{right:40px;top:0;cursor:move}.resize126{right:0;bottom:0;cursor:nwse-resize}.editing126 .tile126{outline:2px dashed #6d9dda;padding-top:30px}.board126 .notebook104{background:white}.board126 .notebook104 .note-list104{max-height:none}.board126 .media-widget104{max-width:none!important}@media(max-width:700px){.board126:not(.editing126){display:flex!important;flex-direction:column;height:auto!important;gap:12px}#dashboardGrid.board126:not(.editing126) .tile126{position:relative!important;left:auto!important;top:auto!important;width:100%!important;flex:none;min-height:120px}}

/* ui127.css */
/* r125 startup recovery and interface permissions; previous UI retained. */

/* ui128.css */
.reference-order128{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:10px 0}
.reference-controls128{display:inline-flex;align-items:center;gap:4px;margin-right:12px;vertical-align:middle}
.reference-controls128 button{min-width:32px;min-height:34px;padding:4px 8px}
.reference-controls128 .reference-handle128{touch-action:none;cursor:grab}
tr.moving128{outline:2px solid #4177e5;background:#e8f0ff}
.reference-order128 [hidden]{display:none!important}

.phone-rows129{display:grid;gap:8px;min-width:0}.phone-row129{display:flex;align-items:center;gap:6px;min-width:0}.phone-row129 input{flex:1;min-width:0!important;width:0!important}.phone-add129,.phone-remove129{flex:none;width:30px!important;min-width:30px!important;height:30px;padding:0!important;line-height:1;font-size:21px!important}.phone-add129{margin-left:6px;vertical-align:middle}.phone-remove129{color:#6c7785}.phone-add129[hidden],.phone-remove129[hidden]{display:none!important}
#content table.compact-table129{table-layout:fixed;border-collapse:collapse}#content .compact-table129 th,#content .compact-table129 td{box-sizing:border-box;overflow:hidden;white-space:nowrap;overflow-wrap:normal!important}#content .compact-table129 th{white-space:normal}#content .compact-table129 .cell-text129{display:block;max-width:100%;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#content .compact-table129 .cell-text129>strong,#content .compact-table129 .cell-text129>a,#content .compact-table129 .cell-text129>.badge,#content .compact-table129 .cell-text129>button{display:inline;white-space:nowrap}#content .compact-table129 .cell-text129>button{max-width:100%;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}#content .compact-table129 td.select-col{overflow:visible}
#content #estateCards79 .estate-body79{min-width:0;overflow:hidden}#content #estateCards79 .estate-title79,#content #estateCards79 .estate-address79,#content #estateCards79 .estate-price79,#content #estateCards79 .estate-bottom79 span,#content #estateCards79 .estate-phone129{display:block;min-width:0;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#content #estateCards79 .estate-bottom79 span{flex:1}#content #estateCards79 .estate-phone129{font-size:14px;margin:5px 0}

#chart32 .chart-totals66{display:flex;flex-wrap:wrap;gap:10px 20px;align-items:baseline;max-width:100%}
#chart32 .chart-totals66 strong[data-total130]{line-height:1.25!important;min-width:0;max-width:100%;overflow-wrap:anywhere}
#chart32 .chart-totals66 strong[hidden]{display:none!important}
.chart-total-settings130{padding:12px;border:1px solid #d9e2ef;border-radius:10px;margin:12px 0}
.chart-total-settings130>div{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:14px}
.chart-total-settings130 h4{grid-column:1/-1;margin:0}
#dashboardGrid:not(.editing126) .info-link130{cursor:pointer}
#dashboardGrid .info-link130:focus-visible{outline:3px solid #167bcd;outline-offset:2px}
#infoDetails130{width:min(780px,calc(100vw - 24px));max-height:85dvh;padding:18px;box-sizing:border-box;border:0;border-radius:14px}
#infoDetails130::backdrop{background:#10223c66}
#infoDetails130 .modalhead{display:flex;align-items:center;justify-content:space-between;gap:12px}
#infoDetails130 .modalhead h2{margin:0;overflow-wrap:anywhere}
#infoDetails130 .info-result130{max-height:60dvh;overflow:auto;min-height:70px}
#infoDetails130 ul{list-style:none;margin:0;padding:0}
#infoDetails130 li+li{border-top:1px solid #e5e9ef}
#infoDetails130 [data-record130]{display:flex;justify-content:space-between;gap:16px;width:100%;text-align:left;padding:12px;border:0;border-radius:0;background:transparent;color:inherit}
#infoDetails130 [data-record130]:disabled{opacity:1;cursor:default}
#infoDetails130 [data-record130]>span{min-width:0;overflow-wrap:anywhere}
#infoDetails130 small{display:block;color:#617084;margin-top:4px}
#infoDetails130 .done{text-decoration:line-through}
.info-context130{color:#617084;font-size:14px}
.info-pages130{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:12px}
@media(max-width:600px){.chart-total-settings130>div{grid-template-columns:1fr}#infoDetails130{padding:12px}.info-pages130 button{padding:8px 12px}}
#permissions117 .permission-menu130{display:grid;gap:8px}
#permissions117 .permission-menu130 button{display:flex;width:100%;text-align:left;align-items:center;justify-content:space-between;gap:12px;padding:12px}
#permissions117 .permission-menu130 small{font-size:12px;color:#617084}
#permissions117 .permission-note130{font-size:13px;line-height:1.4}

.return-table131{overflow-x:auto;padding:12px}.return-table131 table{min-width:720px;width:100%;border-collapse:collapse}.return-table131 td,.return-table131 th{padding:10px;text-align:left}.return-table131 [data-return131]{cursor:pointer}.return-table131 [data-return131]:hover{background:#edf5ff}
.linked-contacts131{padding:16px 0;border-top:1px solid #dce4ef;margin-top:12px}.linked-contact131{display:flex;gap:8px;align-items:center;justify-content:space-between;margin:8px 0}.linked-contact131 [data-contact-open131]{flex:1;min-width:0;text-align:left}.linked-contact131 small{display:block;color:#617084}.linked-contacts131 output{display:block;color:#b91c1c;margin-top:8px}.linked-contacts131 select{max-width:100%;width:100%}

.client-picker132{display:block;position:relative;min-width:0;width:100%;font:inherit}.client-picker132>.client-native132{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;padding:0!important;margin:0!important;border:0!important}.client-picker132>.client-search132{width:100%;min-width:0;margin:0!important;font:inherit}.client-options132{position:absolute;top:100%;left:0;right:0;z-index:10020;display:block;max-height:240px;overflow:auto;overscroll-behavior:contain;background:#fff;color:#17374e;border:1px solid #b7c8df;border-radius:8px;box-shadow:0 6px 20px #17374e26}.client-options132[hidden]{display:none!important}.client-option132,.client-empty132{display:block;padding:10px 12px;white-space:normal;overflow-wrap:anywhere;cursor:pointer;line-height:1.4}.client-option132:hover,.client-option132[aria-selected=true]{background:#e4efff}.client-empty132{color:#69798e;cursor:default}.map-list-search132{position:sticky;top:0;z-index:2;background:#fff;padding:8px;display:block}.map-list-search132 input{width:100%;min-width:0;box-sizing:border-box}.map-empty132{padding:12px}.map-partner[hidden]{display:none!important}
html[data-theme=dark] .client-options132,html[data-theme=dark] .map-list-search132{background:#172233;color:#e3eaf5}html[data-theme=dark] .client-option132:hover,html[data-theme=dark] .client-option132[aria-selected=true]{background:#29405e}
@media(max-width:950px){#content .partner-map-layout{display:flex!important;flex-direction:column;gap:12px;padding:10px;min-width:0}#content .partner-map-layout .map-partner-list{display:block!important;flex:none;width:100%;height:260px;min-height:0;max-height:38vh;overflow:auto;border:1px solid #dce5ef;border-radius:10px}#content .partner-map-layout>div{min-width:0}#content .partner-map-layout .partners-map{height:48vh;min-height:280px}.map-partner{padding:10px 8px}.client-option132{min-height:44px}.client-options132{max-height:220px}}

.client-picker132[hidden]{display:none!important}

.employee-map-layout133{display:grid;grid-template-columns:minmax(190px,26%) 1fr;gap:16px}.employee-map-layout133 #employeeMap133{height:490px;min-width:0;z-index:0}.staff-person133{display:flex;flex-direction:column;width:100%;text-align:left;padding:12px;gap:5px;margin-bottom:8px}.staff-person133 small{opacity:.75}#staffList133{max-height:490px;overflow:auto}.route-table133{max-height:310px;overflow:auto}.client-calls133{margin:12px 0;padding:14px;border:1px solid #ccd9e6;border-radius:12px}.call-rows133{max-height:300px;overflow:auto}.call-rows133 article{display:flex;flex-direction:column;gap:4px;padding:10px 0;border-bottom:1px solid #ccd9e6}.client-dial133{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:8px}#nativeOpen133{max-width:420px;padding:24px;border:0;border-radius:18px}#nativeOpen133 a{display:block;margin:15px 0;text-align:center;padding:14px}.mobile-consent133{display:flex;align-items:center;gap:8px}#mapAllowed133{display:flex;flex-wrap:wrap;gap:12px;padding:14px 0}#mapAllowed133 input,.mobile-consent133 input{width:auto}@media(max-width:650px){.employee-map-layout133{grid-template-columns:1fr}.employee-map-layout133 #employeeMap133{height:390px}#staffList133{display:flex;gap:8px;max-height:160px;overflow-x:auto}.staff-person133{min-width:220px}.client-dial133 button{max-width:100%;overflow:hidden;text-overflow:ellipsis}}

#content .mobile-work133 .toolbar,#content .mobile-map133>.toolbar{display:flex!important;flex-wrap:wrap!important;overflow:visible!important;white-space:normal!important;gap:8px!important;padding:8px 0!important;border:0!important;max-width:100%}#content .mobile-map133>.toolbar label{display:flex;align-items:center;gap:6px;min-width:0;max-width:100%}#content .mobile-map133 select,#content .mobile-map133 input{max-width:200px}#content .mobile-work133 .toolbar button{flex:none;max-width:100%;white-space:normal}

/* r132 — mobile controls follow the compact blue AVTOTRIP button style. */
@media(max-width:950px){
 html:root body.theme50 #content .directory-toolbar52 .partner-views{display:none!important}
 html:root body.theme50 #content :is(#filterToggle52,#documentFilterButton45,#toggleFilter48).compact-control134,
 html:root body.theme50 #floatingView35.compact-control134{
  box-sizing:border-box!important;width:var(--compact-width134)!important;
  min-width:var(--compact-width134)!important;max-width:var(--compact-width134)!important;
  flex:0 0 var(--compact-width134)!important;
  height:44px!important;min-height:44px!important;padding:3px!important;
  border:0!important;border-radius:9px!important;background:#1677e8!important;
  color:#fff!important;-webkit-text-fill-color:#fff!important;
  font:600 12px/1.15 Arial,sans-serif!important;letter-spacing:0!important;
  white-space:nowrap!important;box-shadow:0 2px 8px #0002!important;
 }
 html:root body.theme50 #content .compact-filter134{
  display:inline-flex!important;flex-direction:column!important;align-items:center!important;
  justify-content:center!important;gap:2px!important;
 }
 html:root body.theme50 #content .compact-filter134::before{
  content:'';display:block;width:17px;height:16px;flex:0 0 16px;background:currentColor;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cg fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M2 5h16M2 10h16M2 15h16'/%3E%3Cpath stroke-width='3.6' d='M6 3.5v3M14 8.5v3M8 13.5v3'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;
 }
 html:root body.theme50 #content .compact-filter134 .filter-label134{
  font:600 10px/1.1 Arial,sans-serif!important;letter-spacing:0!important;color:inherit!important;
 }
 html:root body.theme50 #content .compact-filter134[aria-expanded=true]{background:#1065c7!important}
 html:root body.theme50 #floatingView35.compact-control134{font-size:11px!important;white-space:normal!important;line-height:14px!important}
 html:root body.theme50 .compact-control134:focus-visible{outline:3px solid #122f55!important;outline-offset:3px!important}
}

.caller-panel135{padding:20px;max-width:900px}.caller-panel135 p{line-height:1.55}.caller-actions135{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:12px 0}.caller-actions135 a{padding:9px 12px;border-radius:8px}.caller-actions135 [hidden]{display:none!important}#callerState135{padding:16px;border:1px solid #c9dcec;border-radius:10px;margin:16px 0}
body.theme50 #content .caller-actions135 a.primary{background:#167bcd!important;color:#fff!important;-webkit-text-fill-color:#fff!important;text-decoration:none!important}
@media(max-width:600px){.caller-panel135{padding:14px}.caller-actions135{align-items:stretch}.caller-actions135>*{max-width:100%;white-space:normal}.caller-panel135 h2{font-size:21px}}

#cardForm123.view136 dl>div{align-items:start;padding:12px 0}
#cardForm123.view136 dd{overflow-wrap:anywhere;white-space:pre-wrap}
#cardForm123.view136 a[href^="tel:"]{display:inline-block;padding:4px 0;color:#147ec1;font-weight:600;text-decoration:none}
#detail .crm-tabs21 #editCard136{font-size:inherit;white-space:normal;line-height:1.2;min-width:0}
#detail #editCard136:disabled{opacity:.6;cursor:default}
#detail .crm-contact21>footer:empty{display:none}
#detail .crm-contact21>footer{display:flex;flex-wrap:wrap;gap:8px}
#cardContacts136{min-width:0;display:grid;gap:8px}
.contact-chips136{display:flex;flex-wrap:wrap;gap:6px;min-width:0}
.contact-chip136{display:inline-flex;align-items:center;gap:5px;max-width:100%;border:1px solid #d5e4ec;border-radius:10px;background:#eff7fb;padding:5px 8px;overflow-wrap:anywhere;white-space:normal}
#cardForm123 .contact-chip136 button{border:0;background:transparent;box-shadow:none;min-height:32px;padding:3px;color:inherit;white-space:normal;text-align:left}
.contact-picker136{position:relative;min-width:0}
.contact-options136{position:relative;max-height:160px;margin-top:4px;overflow-y:auto;border:1px solid #ccdbe4;border-radius:8px;background:white;box-shadow:0 6px 18px #1b354522}
.contact-options136[hidden]{display:none!important}
#cardForm123 .contact-options136 button{display:block;width:100%;border:0;border-radius:0;padding:10px;text-align:left;white-space:normal;background:white;color:#243743;box-shadow:none}
#cardForm123 .contact-options136 button:hover,#cardForm123 .contact-options136 button[aria-selected="true"]{background:#e8f3fc}
.contact-options136 p{padding:10px;margin:0}
#cardForm123 output:not(:empty){display:block;padding:10px 0}
@media(max-width:600px){#detail .crm-tabs21{display:flex}#detail .crm-tabs21>button{flex:1;min-width:0;padding:10px 5px;font-size:14px}#detail #cardForm123 dl>div{grid-template-columns:105px minmax(0,1fr)}#detail .crm-contact21>footer{padding-bottom:max(12px,env(safe-area-inset-bottom))}}

/* Shared history and call reporting; content overflow stays inside its panel. */
.client-timeline137{display:flex;flex-direction:column;gap:12px;overflow:auto;min-height:120px;padding:20px;}
.client-timeline137 .crm-task21,.timeline-entry137{display:flex;flex-direction:column;gap:7px;flex-shrink:0;width:100%;box-sizing:border-box;border:1px solid #dfe6ed;border-left:4px solid #6c96bb;border-radius:16px;padding:14px 18px;background:#fff;overflow-wrap:anywhere;text-align:left;}
.timeline-entry137>div,.timeline-task137>div{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;}
.timeline-entry137 time,.timeline-entry137 small{color:#64748b;font-size:12px;}
.timeline-entry137 p{white-space:pre-wrap;margin:0;}.timeline-call137{border-left-color:#3689c2;}.timeline-message137{border-left-color:#9877bf;}
.timeline-task137.completed strong,.timeline-task137.completed p{text-decoration:line-through;color:#738477;}
.timeline-pages137,.call-pages137{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;padding:12px;}
.timeline-pages137{border-top:1px solid #e1e7ee;}.timeline-pages137 button{font-size:12px;padding:6px 10px;}
html:root body.theme50 #content>.partner-toolbar137{display:flex!important;align-items:center;flex-wrap:wrap!important;gap:10px!important;overflow:visible!important;}
html:root body.theme50 #content .partner-create-row137{display:flex!important;align-items:center;gap:10px;width:100%;min-width:0;flex:0 0 100%!important;}
html:root body.theme50 #content .partner-toolbar137 #mapSearch{width:260px;max-width:100%;min-width:0;}
html:root body.theme50 #content .partner-toolbar137 .partner-views{display:flex!important;margin-left:auto!important;order:100;flex:0 0 auto;position:static!important;}
.partner-toolbar137>.partner-views button{white-space:nowrap;}
.call-report137{min-width:0;max-width:100%;}.call-filters137{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;margin-bottom:20px;}
.call-filters137>label{display:flex;flex-direction:column;gap:5px;font-size:13px;min-width:120px;flex:1 1 145px;}
.call-filters137 input,.call-filters137 select{box-sizing:border-box;max-width:100%;width:100%;}.call-filter-actions137{display:flex;flex-wrap:wrap;gap:8px;}
.calls-table-scroll137{max-width:100%;overflow-x:auto;}.calls-table137{width:100%;border-collapse:collapse;min-width:790px;}
.calls-table137 td,.calls-table137 th{text-align:left;padding:12px;border-bottom:1px solid #e2e8f0;vertical-align:top;}.calls-table137 th{background:#f1f5f9;white-space:nowrap;}
.calls-table137 td button{border:0;background:transparent;padding:0;color:#167dcb;text-align:left;overflow-wrap:anywhere;}
.calls-table137 tfoot th{position:sticky;bottom:0;background:#eaf3fc;}.calls-table137 td:nth-child(3),.calls-table137 td:nth-child(4){max-width:250px;overflow-wrap:anywhere;}
.call-task-results137{height:auto!important;max-height:none!important;min-height:180px;padding:12px;display:block!important;overflow:visible;}
#callInfoFields137[hidden]{display:none!important;}#callInfoFields137{border:1px solid #dfe6ed;border-radius:10px;margin:15px 0;padding:12px;}
#taskFilters92 input[type=number]{width:90px;min-width:70px;}
@media(max-width:1200px){
 html:root body.theme50 #content .partner-create-row137{flex-wrap:wrap!important;gap:8px;}
 .partner-create-row137::after{content:'';flex-basis:100%;order:1;}
 html:root body.theme50 #content .partner-create-row137>.partner-views{order:1;}
 html:root body.theme50 #content .partner-create-row137>.partner-secondary137{order:2;}
}
@media(max-width:700px){
 .client-timeline137{padding:12px;}.timeline-entry137,.client-timeline137 .crm-task21{border-radius:12px;padding:12px;}
 .call-filters137{flex-wrap:nowrap;overflow-x:auto;padding-bottom:12px;scroll-snap-type:x proximity;}.call-filters137>label{flex:0 0 145px;scroll-snap-align:start;}.call-filter-actions137{flex:0 0 auto;align-self:center;}
 html:root body.theme50 #content .partner-toolbar137 .partner-views button{padding:8px 10px;font-size:13px;}
 .call-report137{padding:12px;}.call-task-results137{padding:0;}
}

/* r136: compact controls, stable mobile tabs and complete dark surfaces. */
#hubTabs138{display:flex;flex-wrap:nowrap;align-items:center;gap:5px;overflow-x:auto;overscroll-behavior-x:contain;scroll-behavior:auto;max-width:100%;min-width:0;padding:8px;margin-bottom:18px;background:#f3f4f6;border-radius:8px;scrollbar-width:thin}
#hubTabs138 button{flex:0 0 auto;white-space:nowrap;font-size:14px;line-height:1.3;min-height:40px;padding:9px 13px;border-radius:5px}
#hubTabs138 button.selected{background:#187dcc;color:#fff;border-color:#187dcc}
main>header{display:flex;align-items:center;gap:12px}#appearanceControls{display:flex!important;align-items:center;gap:12px;margin-left:auto;flex-shrink:0}#appearanceControls #language90{position:static!important;display:flex!important;margin:0!important;gap:5px;transform:none!important}#appearanceControls #themeToggle{flex:none;width:40px;height:40px;padding:0;font-size:23px;border-radius:50%}
#dashboardShift138{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:14px}#dashboardShift138 output{font-size:13px}
.mobile-work133[hidden],.dashboard-media-actions124[hidden],#refreshDashboard[hidden]{display:none!important}
html body.theme50 #content .filter-bar138{background:#f0f2f5;border:1px solid #d7dce2;border-radius:5px;padding:10px;gap:10px;align-items:end;box-shadow:none;max-width:100%;min-width:0}
html body.theme50 #content .filter-bar138 label{font-size:12px;line-height:1.35;gap:4px;min-width:110px;color:#536171}
html body.theme50 #content .filter-bar138 :is(button,input,select){border:1px solid #ccd2da;border-radius:4px;box-shadow:none;min-height:34px;max-height:none;padding:6px 9px;font-size:var(--filter-font-size,13px);line-height:1.35;background:#fff;color:#293644}
html body.theme50 #content .filter-bar138 button.primary{background:#187dcc;color:white;border-color:#187dcc}
.picker138{position:fixed;z-index:2147483000;box-sizing:border-box;width:min(330px,calc(100vw - 16px));max-height:min(440px,calc(100dvh - 16px));overflow:auto;padding:12px;background:#fff;color:#293644;border:1px solid #bcc6d0;border-radius:7px;box-shadow:0 8px 30px #162e4933;font:14px/1.4 Arial,sans-serif}
.picker138 *{box-sizing:border-box}.picker138 button,.picker138 input,.picker138 select{font:inherit;border:1px solid #d6dce3;border-radius:4px;padding:7px;background:#fff;color:inherit;min-width:0;min-height:34px;box-shadow:none}
.picker-search138{width:100%}.picker-options138{max-height:300px;overflow:auto;margin-top:8px}.picker-options138 button{display:block;width:100%;text-align:left;border:0;white-space:normal}.picker138 button:hover,.picker138 .focused138{background:#e9f2fa}.picker138 [aria-selected=true]{background:#187dcc!important;color:#fff!important}.picker138 button:disabled{opacity:.35;cursor:default}.calendar-head138{display:grid;grid-template-columns:32px 1fr 74px 32px;gap:5px}.calendar-days138{display:grid;grid-template-columns:repeat(7,1fr);gap:3px;margin-top:10px;text-align:center}.calendar-days138>span{padding:4px;color:#75818d;font-size:12px}.calendar-days138 button{border:0;padding:4px}.calendar-days138 .muted138{color:#8d99a6}.calendar-days138 .today138{outline:1px solid #187dcc;outline-offset:-2px}.calendar-footer138{display:flex;justify-content:space-between;gap:6px;margin-top:12px}.calendar-footer138 button{font-size:12px}
@media(max-width:720px){#hubTabs138{margin-bottom:12px}#hubTabs138 button{font-size:13px;min-height:38px}main>header{flex-wrap:wrap}main>header h1{font-size:clamp(18px,5vw,25px)!important}#appearanceControls{gap:8px}#appearanceControls #language90 button{padding:6px 8px;min-width:32px;font-size:12px}html body.theme50 #content .filter-bar138{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;scrollbar-width:thin;align-items:flex-end}#content .filter-bar138>*{flex:0 0 auto}#content .filter-bar138 label{width:auto;max-width:240px}#content .filter-bar138 input{max-width:200px}.platform-shell50{display:flex!important;flex-direction:column!important;min-height:100dvh}.platform-nav50{flex:0 0 auto!important;align-items:center!important;height:62px!important;min-height:62px!important;max-height:62px!important;overflow-x:auto!important;overflow-y:hidden!important;padding:8px!important}.platform-nav50 button{flex:0 0 auto!important;height:42px!important;min-height:42px!important;max-height:42px!important;margin:0!important;font-size:14px!important;line-height:20px!important;padding:10px 12px!important;border-radius:5px!important}.platform-main50{flex:1 0 auto;min-width:0}}
html:root[data-theme=dark]{color-scheme:dark;--dark-bg138:#111923;--dark-surface138:#1b2735;--dark-field138:#243344;--dark-border138:#435367;--dark-text138:#e4eaf1;background:var(--dark-bg138)!important;color:var(--dark-text138)!important}
html:root[data-theme=dark] body,html:root[data-theme=dark] body.theme50,html:root[data-theme=dark] body main,html:root[data-theme=dark] #content{background:var(--dark-bg138)!important;background-image:none!important;color:var(--dark-text138)!important}
html:root[data-theme=dark] body :is(aside,header,footer,dialog,.panel,.toolbar,.section-tabs,.stat-card,.new-stat32,.platform-panel50,.platform-head50,.platform-login50,.platform-nav50,.auth-box,.filter-bar138,.picker138,.calendar,.calendar-day,.day,.task,.task-card,.partner-card,.detail-section,.info-window,.info-card,.info-widget,.notebook104,.media-widget104){background:var(--dark-surface138)!important;background-image:none!important;color:var(--dark-text138)!important;border-color:var(--dark-border138)!important}
html:root[data-theme=dark] body :is(input,select,textarea,button,.picker138 button,.picker138 input,.picker138 select){background:var(--dark-field138)!important;color:var(--dark-text138)!important;border-color:var(--dark-border138)!important}
html:root[data-theme=dark] body :is(table,thead,tbody,tr,th,td,fieldset,details,summary){background:var(--dark-surface138)!important;color:var(--dark-text138)!important;border-color:var(--dark-border138)!important}
html:root[data-theme=dark] body :is(h1,h2,h3,h4,strong,label){color:inherit!important}html:root[data-theme=dark] body :is(small,.sub,.hint,.muted){color:#b2bdcb!important}html:root[data-theme=dark] body :is(a,.link){color:#89c9ff}html:root[data-theme=dark] body :is(button.primary,a.primary,button.selected,button.active,[aria-selected=true]){background:#17699f!important;color:#fff!important}html:root[data-theme=dark] body input::placeholder,html:root[data-theme=dark] body textarea::placeholder{color:#a3afbe!important}html:root[data-theme=dark] body input[type=color]{background:transparent!important}
html:root[data-theme=dark] .leaflet-tile-pane{filter:brightness(.65) saturate(.65)}html:root[data-theme=dark] .leaflet-popup-content-wrapper,html:root[data-theme=dark] .leaflet-popup-tip{background:var(--dark-surface138);color:var(--dark-text138)}
/* Appearance settings may contain bright per-widget colors; dark mode takes priority. */
html:root[data-theme=dark] body.theme50 :is(main>header,#content,dialog,aside,footer){color:#e4eaf1!important;background:#111923!important;background-image:none!important}
html:root[data-theme=dark] body.theme50 :is(#content,dialog) :is(div,section,article,form,fieldset,details,summary){background-color:#1b2735!important;background-image:none!important;color:#e4eaf1!important;border-color:#435367!important}
html:root[data-theme=dark] body.theme50 :is(#content,dialog,aside,header) :is(button,input,select,textarea){background-color:#243344!important;background-image:none!important;color:#e4eaf1!important;border-color:#435367!important}
html:root[data-theme=dark] body.theme50 :is(#content,dialog,aside,header) :is(label,span,p,strong,h1,h2,h3,h4,small),html:root[data-theme=dark] body.theme50 #title{color:#e4eaf1!important}
html:root[data-theme=dark] body.theme50 #content #taskFilters92,html:root[data-theme=dark] body.theme50 #content #taskFilters92 *{background-color:#243344!important;color:#e4eaf1!important;border-color:#435367!important}
html:root[data-theme=dark] body.theme50 :is(#content,dialog,aside,header) :is(button.primary,button.selected,button.active,[aria-pressed=true]){background-color:#17699f!important;color:white!important}
html:root[data-theme=dark] body.theme50 #content :is(.calendar-time-line93,.calendar-hour93,.time-label93){background:transparent!important}
html:root[data-theme=dark] body.theme50 .leaflet-pane,html:root[data-theme=dark] body.theme50 .leaflet-pane *{background-color:transparent!important}
html:root[data-theme=dark] body.theme50 .picker138,html:root[data-theme=dark] body.theme50 .picker138 :is(div,button,input,select){background:#243344!important;color:#e4eaf1!important;border-color:#435367!important}
html:root[data-theme=dark] body.theme50 .picker138 [aria-selected=true]{background:#17699f!important}
html:root[data-theme=dark] body.theme50 main>header #appearanceControls :is(button,#language90),html:root[data-theme=dark] body.theme50 #mobileMenu80,html:root[data-theme=dark] body.theme50 #mobileMenu81{background:#243344!important;color:#e4eaf1!important}
html:root[data-theme=dark] body.theme50 main>header #appearanceControls #language90 button{background:#243344!important;color:#e4eaf1!important}
html:root[data-theme=dark] body.theme50 main>header #appearanceControls #language90 [aria-pressed=true]{background:#17699f!important;color:#fff!important}
html body.theme50 #content #taskFilters92.filter-bar138 :is(input,select,button),html body.theme50 #content .directory-filter52.filter-bar138 :is(input,select,button){border-radius:4px;padding:6px 9px;min-height:34px;font-size:13px;line-height:1.35}
html body.theme50 #content #taskFilters92.filter-bar138 label{font-size:12px;gap:5px}
.staff-person133 :is(strong,span,small){white-space:normal;overflow-wrap:anywhere}
@media(max-width:720px){.staff-person133{min-width:180px!important;max-width:230px;align-items:flex-start}.reference-tabs{scroll-behavior:auto!important}}
html body.theme50 #content .filter-bar138 :is(button,input,select){border-radius:4px!important;box-shadow:none!important}
html body.theme50 #content #taskFilters92.filter-bar138 :is(input,select,button){border-radius:4px!important;min-height:34px!important;font-size:13px!important;padding:6px 9px!important}
.call-tabs138{display:flex;gap:8px;overflow-x:auto}.call-tabs138 button{flex:0 0 auto}
html:root[data-theme=dark] body:not(.theme50) :is(main,section,article,p,li,h1,h2,h3){background-color:#1b2735!important;color:#e4eaf1!important}

/* Permission actions remain visible and the status never expands on retries. */
#permissions117{max-height:calc(100dvh - 24px);overflow:auto;overscroll-behavior:contain}
#permissions117 .permission-native139{display:block;padding:14px 18px;margin:14px 0;text-align:center;border-radius:10px;background:#167bcd;color:white!important;text-decoration:none;font-weight:600;min-height:48px}
#permissions117 .permission-status139{margin:10px 0;line-height:1.45;overflow-wrap:anywhere}
#permissions117 .permission-buttons117{position:sticky;bottom:0;padding:10px 0;gap:10px;background:inherit}
.picker138{overscroll-behavior:contain;touch-action:pan-y}.picker-search138{font-size:16px!important}.picker-options138{max-height:min(300px,40dvh)}
#content.dashboard-updating139{position:relative}#content.dashboard-updating139>:not(#dashboardSnapshot139):not(#dashboardLoading139){visibility:hidden!important}
#content #dashboardSnapshot139{position:absolute;top:0;left:0;width:100%;padding:0;margin:0;overflow:hidden;pointer-events:none;visibility:visible!important;z-index:5}
#content #dashboardLoading139{position:absolute;top:4px;right:8px;z-index:6;padding:7px 12px;border-radius:6px;background:#e8f2fb;color:#174c76;font-size:13px;box-shadow:0 1px 6px #0002}
html[data-theme=dark] #content #dashboardLoading139{background:#243344!important;color:#e4eaf1!important}
@media(max-width:720px){#permissions117 .permission-buttons117{display:flex;flex-wrap:wrap}#permissions117 .permission-buttons117 button{flex:1 1 120px;white-space:normal;min-height:44px}.picker138{max-width:calc(100vw - 16px)}}
/* ID-free preview retains the layout of independently positioned dashboard tiles. */
#dashboardSnapshot139 .board126 .layout-host126{display:contents!important}
#dashboardSnapshot139 .board126 .tile126{position:absolute!important;left:var(--x126)!important;top:var(--y126)!important;width:calc(var(--w126) - 12px)!important;height:var(--h126)!important;box-sizing:border-box;min-width:0!important;margin:0!important;overflow:auto}
#dashboardSnapshot139 [data-snapshot139-id=dashboardShift138]{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:14px}
#dashboardSnapshot139 [data-snapshot139-id=dashboardShift138] output{font-size:13px}
#dashboardSnapshot139 [data-snapshot139-id=controls126]{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
#dashboardSnapshot139 .new-stat32{height:100%;margin:0;padding:18px}#dashboardSnapshot139 .wide-panel32{height:100%;width:100%;margin:0;overflow:auto;padding:18px}
#dashboardSnapshot139 .task-panel40{display:flex;flex-direction:column;gap:8px;padding:14px;overflow:auto}
#dashboardSnapshot139 .task-panel40 h3{font-size:14px;margin:0}#dashboardSnapshot139 .task-panel40 select{width:100%;padding:6px;min-height:30px;flex:none}
@media(max-width:700px){#dashboardSnapshot139 .board126:not(.editing126) .tile126{position:relative!important;left:auto!important;top:auto!important;width:100%!important;flex:none;min-height:120px}}

/* Compact period fields match the reference: shortcuts above, arrows and caption below. */
html:root body #content :is(#taskFilters92,.period-host140) .period140{box-sizing:border-box;flex:0 0 284px!important;width:284px!important;max-width:100%!important;min-width:250px!important;padding:5px 7px!important;border:1px solid transparent!important;border-radius:3px!important;display:block!important;background:#e8e9eb!important;color:#243644!important;align-self:end;line-height:1.3}
html:root body #content :is(#taskFilters92,.period-host140) .period140.period-selected140{background:#d5eaf3!important;border-color:#bfdae8!important}
html:root body #content :is(#taskFilters92,.period-host140) .period140 .period-head140{display:flex!important;align-items:center!important;gap:5px!important;white-space:nowrap!important;padding:0!important;margin:0!important;font:12px/1.3 Arial,sans-serif!important;background:transparent!important;min-height:21px!important}
html:root body #content :is(#taskFilters92,.period-host140) .period140 .period-head140>span{overflow:hidden;text-overflow:ellipsis;min-width:0;color:#263845!important}
html:root body #content :is(#taskFilters92,.period-host140) .period140 .period-head140 button{flex:0 0 auto!important;min-width:0!important;min-height:22px!important;width:auto!important;height:22px!important;padding:2px 3px!important;margin:0!important;border:0!important;border-radius:2px!important;background:transparent!important;color:#287398!important;font:12px/18px Arial,sans-serif!important;box-shadow:none!important}
html:root body #content :is(#taskFilters92,.period-host140) .period140 .period-head140 button[aria-pressed=true]{color:#a35b00!important;background:#fff1d0!important}
html:root body #content :is(#taskFilters92,.period-host140) .period140 .period-nav140{display:grid!important;grid-template-columns:28px minmax(0,1fr) 28px!important;align-items:center!important;gap:2px!important;background:transparent!important;margin:0!important;padding:0!important}
html:root body #content :is(#taskFilters92,.period-host140) .period140 .period-nav140 button{width:100%!important;min-width:0!important;padding:2px!important;margin:0!important;border:0!important;border-radius:2px!important;background:transparent!important;color:#246581!important;min-height:30px!important;height:auto!important;font:22px/26px Arial,sans-serif!important;box-shadow:none!important}
html:root body #content :is(#taskFilters92,.period-host140) .period140 .period-nav140 .period-caption140{font:13px/18px Arial,sans-serif!important;white-space:normal!important;overflow-wrap:anywhere;text-align:center;text-transform:none!important}
html:root body #content :is(#taskFilters92,.period-host140) .period140 .period-nav140 button:hover{background:#c1dfed!important}
html:root body #content :is(#taskFilters92,.period-host140) .period140 :is(button,input):focus-visible{outline:2px solid #176ba1!important;outline-offset:1px}
html:root body #content :is(#taskFilters92,.period-host140) .period140 button:disabled{opacity:.35!important;cursor:default}
html:root body #content :is(#taskFilters92,.period-host140) .period140 .period-inputs140,html:root body #content :is(#taskFilters92,.period-host140) .period140 .period-edit-actions140,html:root body #content :is(#taskFilters92,.period-host140) .period-legacy-apply140{display:none!important}
html:root body #content :is(#taskFilters92,.period-host140) .period140.period-editing140 .period-inputs140{display:flex!important;flex-wrap:nowrap!important;gap:4px!important;align-items:center!important;background:transparent!important;margin:5px 0 0!important}
html:root body #content :is(#taskFilters92,.period-host140) .period140.period-editing140 .period-inputs140 input[type=date]{box-sizing:border-box!important;flex:1 1 0!important;min-width:0!important;width:0!important;max-width:none!important;border:1px solid #a8b9c6!important;border-radius:2px!important;background:#fff!important;color:#243644!important;font:13px/22px Arial,sans-serif!important;min-height:32px!important;height:32px!important;padding:3px!important}
html:root body #content :is(#taskFilters92,.period-host140) .period140.period-editing140 .period-edit-actions140{display:flex!important;justify-content:flex-end!important;gap:6px!important;margin-top:6px!important;background:transparent!important}
html:root body #content :is(#taskFilters92,.period-host140) .period140 .period-edit-actions140 button{width:auto!important;min-height:28px!important;padding:3px 7px!important;border:1px solid #bbc4cc!important;border-radius:3px!important;font:12px/20px Arial,sans-serif!important;background:#f9fafb!important;color:#243644!important}
.picker138.calendar140{border-radius:3px!important;padding:9px!important;font:13px/1.4 Arial,sans-serif!important;background:#fff!important;color:#243644!important}
.calendar140 .calendar-head140{display:grid;grid-template-columns:32px 1fr 32px;gap:4px;align-items:center}
.calendar140 .calendar-head140 button{min-height:30px;padding:3px;border:0;background:#f2f3f4;border-radius:2px;font-size:20px}
.calendar140 .calendar-head140 .calendar-title140{font-size:14px;text-transform:capitalize;font-weight:600}
.calendar140 .calendar-days138{gap:2px;margin-top:5px}
.calendar140 .calendar-days138 button{min-height:32px;padding:3px;border:0;border-radius:2px;font-size:13px}
.calendar140 .calendar-days138 button.weekend140{color:#a84444}.calendar140 .calendar-days138 button.muted138{color:#9a9fa7}
.calendar140 .calendar-days138 .in-range140{background:#e3f0f8}.calendar140 .calendar-days138 [aria-selected=true]{background:#387c9f!important;color:#fff!important}
.calendar140 .calendar-days138 [aria-current=date]{outline:1px solid #3e7c9c;outline-offset:-2px;font-weight:600}
.calendar140 .calendar-days138 button:focus-visible{outline:2px solid #155b8c;outline-offset:0}
.calendar140 .calendar-months140{display:grid;grid-template-columns:1fr 90px;gap:6px;margin-top:6px}.calendar140 [hidden]{display:none!important}
.calendar140 .calendar-entry140{display:flex;gap:6px;margin-top:8px}.calendar140 .calendar-entry140 input{flex:1;min-width:0;font-size:16px}.calendar140 .calendar-entry140 button{width:34px}
.calendar140 .calendar-footer138{margin-top:6px}.calendar140 .calendar-footer138 button{padding:4px 7px;min-height:30px;font-size:12px}
.calendar140 .calendar-error140{display:block;color:#a52c2c;font-size:12px;white-space:normal}.calendar140 .calendar-error140:empty{display:none}.calendar-part140{font-size:12px;color:#596974;margin-bottom:5px}
html:root[data-theme=dark] body #content :is(#taskFilters92,.period-host140) .period140{background:#263647!important;color:#e4eaf1!important}
html:root[data-theme=dark] body #content :is(#taskFilters92,.period-host140) .period140.period-selected140{background:#23465b!important;border-color:#37667c!important}
html:root[data-theme=dark] body #content :is(#taskFilters92,.period-host140) .period140 :is(.period-head140,.period-nav140,.period-inputs140,.period-edit-actions140){background:transparent!important}
html:root[data-theme=dark] body #content :is(#taskFilters92,.period-host140) .period140 .period-head140>span{color:#e4eaf1!important}
html:root[data-theme=dark] body #content :is(#taskFilters92,.period-host140) .period140 :is(.period-head140,.period-nav140) button{background:transparent!important;color:#a7dcf4!important}
html:root[data-theme=dark] body #content :is(#taskFilters92,.period-host140) .period140 .period-head140 button[aria-pressed=true]{background:#685022!important;color:#ffe0a1!important}
html:root[data-theme=dark] body #content :is(#taskFilters92,.period-host140) .period140.period-editing140 .period-inputs140 input[type=date],html:root[data-theme=dark] body #content :is(#taskFilters92,.period-host140) .period140 .period-edit-actions140 button{background:#182b3c!important;color:#e4eaf1!important;border-color:#536e85!important}
html[data-theme=dark] body .calendar140,html[data-theme=dark] body .calendar140 :is(div,button,input,select){background:#243344!important;color:#e4eaf1!important;border-color:#52677b!important}
html[data-theme=dark] body .calendar140 .calendar-days138 .in-range140{background:#284e68!important}
html[data-theme=dark] body .calendar140 .calendar-days138 [aria-selected=true]{background:#287daf!important;color:#fff!important}
html[data-theme=dark] body .calendar140 .calendar-days138 .muted138{color:#93a1b3!important}
html[data-theme=dark] body .calendar140 .calendar-error140{color:#ffb3aa!important}
@media(max-width:720px){html:root body #content :is(#taskFilters92,.period-host140) .period140{flex-basis:284px!important;max-width:calc(100vw - 42px)!important}.calendar140 .calendar-days138 button{min-height:36px}.calendar140 .calendar-head140 button{min-height:36px}}

/* Site-wide appearance settings must not turn calendar cells into oversized pills. */
html:root body .picker138.calendar140 :is(button,input,select){border-radius:2px!important;box-shadow:none!important;font-family:Arial,sans-serif!important}
html:root body .picker138.calendar140 .calendar-days138 button{padding:3px!important;min-height:32px!important;height:32px!important;font-size:13px!important;border:0!important}
html:root body .picker138.calendar140 .calendar-head140 button{padding:3px!important;min-height:30px!important;height:30px!important;border-radius:2px!important;box-shadow:none!important}
html:root body .picker138.calendar140 .calendar-footer138 button{padding:4px 7px!important;min-height:30px!important;font-size:12px!important;border-radius:2px!important}
html:root body #content :is(#taskFilters92,.period-host140) .period140 .period-head140::before{content:none!important}
html:root body #content :is(#taskFilters92,.period-host140) .period140[hidden],html:root body #content :is(#taskFilters92,.period-host140) .period140.filter-off92{display:none!important}
@media(max-width:720px){html:root body .picker138.calendar140 .calendar-days138 button{min-height:36px!important;height:36px!important}}
html:root[data-theme=dark] body.theme50 .picker138.calendar140,html:root[data-theme=dark] body.theme50 .picker138.calendar140 :is(div,button,input,select){background:#243344!important;color:#e4eaf1!important;border-color:#52677b!important}
html:root[data-theme=dark] body.theme50 .picker138.calendar140 .calendar-days138 .in-range140{background:#284e68!important}
html:root[data-theme=dark] body.theme50 .picker138.calendar140 .calendar-days138 [aria-selected=true]{background:#287daf!important;color:#fff!important}
html:root[data-theme=dark] body.theme50 .picker138.calendar140 .calendar-days138 .muted138{color:#93a1b3!important}
html:root[data-theme=dark] body.theme50 .picker138.calendar140 .calendar-days138 .weekend140:not(.muted138):not([aria-selected=true]){color:#ffb3aa!important}
html:root[data-theme=dark] body.theme50 #content :is(#taskFilters92,.period-host140) .period140.period-selected140{background:#23465b!important;border-color:#37667c!important}
html:root[data-theme=dark] body.theme50 #content :is(#taskFilters92,.period-host140) .period140 :is(.period-head140,.period-nav140,.period-inputs140,.period-edit-actions140){background:transparent!important}
html:root[data-theme=dark] body.theme50 #content :is(#taskFilters92,.period-host140) .period140 :is(.period-head140,.period-nav140) button{background:transparent!important;color:#a7dcf4!important}

/* Layout owns geometry; admin appearance owns controls and colours. */
@layer mgkans-shell141 {
 body.shell141{display:block!important;--rail141:81.6px;--sidebar141:var(--rail141);--inset141:var(--rail141)}
 body.shell141[data-shell-open141=true]{--sidebar141:var(--nav-width56,280px);--inset141:var(--sidebar141)}
 body.shell141 .shell-sidebar141{display:flex!important;flex-direction:column!important;position:fixed!important;inset:0 auto 0 0!important;width:var(--sidebar141)!important;height:100dvh!important;max-height:none!important;min-height:0!important;min-width:0!important;margin:0!important;padding:0 6px 12px!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;transform:none!important;visibility:visible!important;z-index:250!important;border-radius:0!important;box-sizing:border-box!important;transition:width .16s ease!important}
 body.shell141 .shell-sidebar141::before,body.shell141 .shell-sidebar141::after{width:var(--sidebar141)!important;height:100dvh!important;position:fixed!important;inset:0 auto 0 0!important}
 body.shell141 .shell-main141{display:block!important;position:relative!important;margin:0 0 0 var(--inset141)!important;width:calc(100% - var(--inset141))!important;max-width:none!important;min-width:0!important;padding:12px 18px 0!important;box-sizing:border-box!important;transition:margin-left .16s ease,width .16s ease!important}
 body.shell141 .platform-shell50{display:block!important;min-height:100dvh!important;padding:0!important;gap:0!important}
 body.shell141 .shell-sidebar141>.brand,body.shell141 .shell-sidebar141>.workspace,body.shell141 .shell-sidebar141>b,body.shell141 .shell-sidebar141 .profile{display:none!important}
 body.shell141 .shell-tools141{display:flex!important;align-items:center!important;gap:10px!important;flex:0 0 56px!important;min-height:56px!important;overflow:hidden!important;color:inherit!important}
 body.shell141 .shell-toggle141{display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 44px!important;width:44px!important;height:44px!important;min-height:44px!important;padding:10px!important;border:0!important;background:transparent!important;color:inherit!important;border-radius:9px!important;box-shadow:none!important}
 body.shell141 .shell-toggle141:hover,body.shell141 .shell-toggle141:focus-visible{background:#8ca8bb33!important}
 body.shell141 .shell-brand141{font:600 16px/1.3 system-ui!important;letter-spacing:1px!important;white-space:nowrap!important}
 body.shell141 .shell-icon141{display:block!important;flex:0 0 24px!important;width:24px!important;height:24px!important;min-width:24px!important;margin:0!important;pointer-events:none}
 body.shell141 .shell-sidebar141 nav,body.shell141 .shell-sidebar141 #moduleNav,body.shell141 .shell-sidebar141 .bottom{display:flex!important;flex-direction:column!important;gap:4px!important;width:100%!important;padding:0!important;margin:0!important;min-width:0!important;overflow:visible!important}
 body.shell141 .shell-sidebar141 .bottom{margin-top:12px!important}
 body.shell141 .shell-nav-button141{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;width:100%!important;min-width:0!important;max-width:100%!important;min-height:44px!important;height:auto!important;padding:10px!important;white-space:normal!important;overflow:hidden!important;text-align:left!important;line-height:1.3!important;box-sizing:border-box!important;flex-shrink:0!important}
 body.shell141 .shell-nav-button141[hidden],body.shell141 .shell-sidebar141 [hidden],body.shell141 .shell-nav-button141.sidebar-original115{display:none!important}
 body.shell141 .shell-label141{flex:1 1 auto!important;min-width:0!important;overflow-wrap:anywhere!important;line-height:1.3!important;white-space:normal!important}
 body.shell141 .shell-nav-button141 .menu-sign{position:static!important;inset:auto!important;transform:none!important;margin-left:auto!important;flex:0 0 auto!important}
 body.shell141 .shell-sidebar141 .nav-children{padding:0 0 0 12px!important}
 body.shell141 .shell-sidebar141 .sidebar-bar115{position:sticky!important;top:0!important;z-index:3!important}
 body.shell141[data-shell-open141=false] .shell-brand141,body.shell141[data-shell-open141=false] .shell-sidebar141 .menu-sign,body.shell141[data-shell-open141=false] .shell-sidebar141 .nav-children,body.shell141[data-shell-open141=false] .shell-sidebar141 .divider{display:none!important}
 body.shell141[data-shell-open141=false] .shell-nav-button141{flex-direction:column!important;justify-content:center!important;gap:4px!important;min-height:60px!important;padding:6px 1px!important;border-radius:6px!important;font-size:10px!important;text-align:center!important}
 body.shell141[data-shell-open141=false] .shell-label141{font-size:10px!important;line-height:1.15!important;width:100%!important;max-width:100%!important;display:block!important;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important;text-overflow:ellipsis!important;overflow:hidden!important;flex:0 0 auto!important}
 body.shell141 .compact-header141{display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:nowrap!important;gap:12px!important;position:static!important;min-height:52px!important;height:auto!important;max-height:none!important;width:100%!important;margin:0 0 12px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;overflow:visible!important;clip-path:none!important;opacity:1!important}
 body.shell141 .compact-header141>div:first-child:not(.shell-controls141){min-width:0!important;flex:1 1 auto!important}
 body.shell141 .compact-header141 .eyebrow,body.shell141 .compact-header141>#add{display:none!important}
 body.shell141 .compact-header141 h1{display:block!important;font-size:24px!important;font-weight:600!important;line-height:1.2!important;margin:0!important;padding:0!important;min-width:0!important;overflow-wrap:anywhere!important;color:inherit!important}
 body.shell141 .shell-controls141{display:flex!important;align-items:center!important;gap:8px!important;margin:0 0 0 auto!important;position:static!important;flex:0 0 auto!important;padding:0!important}
 body.shell141 #language90{position:static!important;inset:auto!important;display:flex!important;gap:0!important;margin:0!important;padding:0!important;background:transparent!important;box-shadow:none!important;border:0!important}
 body.shell141 .shell-controls141 button{display:flex!important;align-items:center!important;justify-content:center!important;min-height:40px!important;width:40px!important;height:40px!important;padding:0!important;border-radius:50%!important;font-size:14px!important;line-height:1!important;margin:0!important;box-sizing:border-box!important;flex:0 0 auto!important}
 body.shell141 .shell-controls141 .shell-theme141{font-size:24px!important}
 body.shell141 .shell-shade141{display:block!important;position:fixed!important;inset:0!important;width:100%!important;height:100dvh!important;z-index:249!important;background:#0d172966!important;border:0!important;padding:0!important;border-radius:0!important;backdrop-filter:blur(2px)}
 body.shell141 .shell-shade141[hidden]{display:none!important}
 body.shell141 .shell-sidebar141 .shell-owner-logout141{margin-top:auto!important;background:transparent!important;color:inherit!important;border:0!important}
 body.shell141 .shell-owner141{display:none!important}
 body.shell141 .platform-subtabs52{max-width:100%!important;overflow-x:auto!important;gap:8px!important;scrollbar-width:thin;min-width:0!important}
 body.shell141 .platform-subtabs52 button{flex:0 0 auto!important;white-space:nowrap!important}
 body.shell141 .platform-grid50{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.shell141 .platform-form50,body.shell141 .appearance-area65,body.shell141 .platform-grid50>*,body.shell141 .color-editor58{min-width:0!important;max-width:100%!important}
 body.shell141 .platform-form50 .platform-actions50 button{max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important}
 body.shell141 #appearanceForm57{overflow-x:hidden!important}
 body.shell141 .filter-preview101{padding:12px!important}
 @media(min-width:951px){
  body.shell141[data-shell-open141=false] .shell-nav-button141 .shell-icon141{width:40px!important;height:40px!important;min-width:40px!important;flex-basis:40px!important}
 }
 @media(max-width:950px){
  body.shell141{--rail141:60px}
  body.shell141[data-shell-open141=true]{--sidebar141:min(var(--nav-width56,280px),calc(100vw - 44px));--inset141:var(--rail141)}
  body.shell141 .shell-main141{padding:8px 10px 0!important}
  body.shell141 .shell-sidebar141{padding-left:3px!important;padding-right:3px!important}
  body.shell141 .compact-header141{gap:8px!important;margin-bottom:10px!important;min-height:44px!important}
  body.shell141 .compact-header141 h1{font-size:19px!important}
  body.shell141 .shell-controls141{gap:5px!important}
  body.shell141 .shell-controls141 button{width:34px!important;height:34px!important;min-height:34px!important;font-size:12px!important}
  body.shell141 .shell-controls141 .shell-theme141{font-size:22px!important}
  body.shell141 .platform-grid50{grid-template-columns:minmax(0,1fr)!important}
  body.shell141 .platform-content50{padding:0!important}
  body.shell141 .platform-panel50{padding:14px!important}
 }
 @media(max-width:720px){
  body.shell141[data-shell-open141=true]{--sidebar141:min(calc(var(--nav-width56,280px) / 2),calc((100vw - 44px) / 2))}
  body.shell141[data-shell-open141=true] .shell-nav-button141{padding:10px 6px!important;gap:6px!important}
  body.shell141[data-shell-open141=true] .shell-label141{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;overflow-wrap:normal!important}
  body.shell141 .shell-tools141{gap:4px!important}
  body.shell141 .shell-brand141{font-size:13px!important;letter-spacing:.4px!important}
 }
 @media(prefers-reduced-motion:reduce){body.shell141 .shell-main141,body.shell141 .shell-sidebar141{transition:none!important}}
}
body.shell141 .shell-sidebar141{background:#1e3948;color:#d9e6eb}
body.shell141 .shell-nav-button141{background:transparent;border:0;color:inherit}
body.shell141 .shell-nav-button141.active,body.shell141 .shell-nav-button141:hover{background:#ffffff1c;color:#fff}
body.shell141 .shell-controls141 button{background:#ffffffd9;color:#34495a;border:1px solid #dbe1e7}
body.shell141 .shell-controls141 button:hover{background:#e4f2ff}
html[data-theme=dark] body.shell141 .shell-controls141 button{background:#202e40;color:#e6edf7;border-color:#3d4c60}
html[data-theme=dark] body.shell141 .compact-header141{color:#e6edf7}

/* Action links keep their appearance independently of either button theme. */
@layer mgkans-links142, mgkans-filters142;
@layer mgkans-shell141 {
 #startWorkButton26 .start-symbol142{width:32px!important;height:32px!important;flex-basis:32px!important;min-width:32px!important}
}
@layer mgkans-links142 {
 :is(.filter-scope142,.filter-popup142,.filter-preview142)[hidden]{display:none!important}
 .period140 :is(.period-head140,.period-nav140) button,
 #dayLabel93,.filter-preview142 .period-link142{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  border:0!important;border-radius:0!important;background:transparent!important;background-image:none!important;
  box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  padding:3px 4px!important;margin:0!important;min-height:24px!important;height:auto!important;
  color:var(--filter-link142,#246b98)!important;font:inherit!important;line-height:1.35!important;
  text-decoration:underline!important;text-underline-offset:3px!important;cursor:pointer!important;
 }
 .period140 .period-head140 button{min-width:24px!important;width:auto!important;font-size:var(--filter-button-font142,13px)!important}
 .period140 .period-nav140 button{width:100%!important;font-size:var(--filter-button-font142,13px)!important}
 .period140 [data-shift140]{font-size:var(--filter-icon142,20px)!important;text-decoration:none!important}
 .period140 button[aria-pressed=true]{font-weight:700!important;text-decoration-thickness:2px!important}
 #dayLabel93{font-size:var(--site-button-font101,16px)!important;font-weight:600!important;color:#246b98!important;white-space:normal!important;text-align:center!important}
 .period-navigation95{display:grid!important;grid-template-columns:minmax(0,max-content) minmax(0,1fr) minmax(0,max-content)!important;align-items:center!important;gap:8px!important;width:100%!important;box-sizing:border-box!important}
 .period-navigation95 .day-caption93{min-width:0!important;width:100%!important}
 #dayLabel93{min-width:0!important;max-width:100%!important;overflow-wrap:anywhere!important}
 @media(max-width:950px){
  .period-navigation95{grid-template-columns:24% minmax(0,1fr) 24%!important;gap:4px!important}
  .period-navigation95>button{width:100%!important;min-width:0!important;white-space:normal!important;overflow-wrap:anywhere!important;padding:5px!important}
 }
 .period140 :is(.period-head140,.period-nav140) button:hover,#dayLabel93:hover,.period-link142:hover{text-decoration-thickness:2px!important}
 .period140 :is(.period-head140,.period-nav140) button:disabled{opacity:.4!important;cursor:default!important;text-decoration:none!important}
 .period140 :is(.period-head140,.period-nav140) button:focus-visible,#dayLabel93:focus-visible,.period-link142:focus-visible{outline:2px solid currentColor!important;outline-offset:2px!important}
 html[data-theme=dark] #dayLabel93{color:#a7d7ff!important}
 html[data-theme=dark] .period140 :is(.period-head140,.period-nav140) button{color:var(--filter-link142,#a7d7ff)!important}
 /* Scroll normally from the timeline/list boundary into the page. Dialogs keep their own containment. */
 #content :is(.day-fit93,.media-list104,.note-list104){overscroll-behavior-y:auto!important}
 #content .day-fit93{touch-action:pan-y!important}
 #startWorkButton26 .start-symbol142{width:32px!important;height:32px!important;flex-basis:32px!important;min-width:32px!important}
 #startWorkButton26 .start-symbol142 text{font:800 6.3px/1 Arial,sans-serif!important;fill:#fff!important;stroke:none!important}
}
.filter-preview142{margin-top:18px;padding:14px;border:1px solid #cfdbea;border-radius:8px;background:#eef5ff}
.filter-preview142 .preview-row142{display:flex;align-items:end;flex-wrap:wrap;gap:8px;margin:8px 0}
.filter-preview142 label{min-width:0;flex:1 1 150px}
.filter-preview142 p{margin:0 0 8px}
html[data-theme=dark] .filter-preview142{background:#202f40;border-color:#47566b}

/* r141: the period remains a two-row filter, as in the reference recording. */
@layer mgkans-period143 {
 #content .period140{--period-line143:max(28px,var(--filter-field-height142,30px),var(--filter-button-height142,30px));display:block!important;flex:0 0 auto!important;width:var(--period-width143,max(270px,calc(var(--filter-label-font142,14px) * 22)))!important;min-width:270px!important;max-width:100%!important;padding:4px 6px!important;border:0!important;border-radius:2px!important;background:#e8e9eb!important;box-sizing:border-box!important}
 #content .period140.period-selected140{background:#bdddeb!important}
 #content .period140[hidden],#content .period140.filter-off92{display:none!important}
 #content .period140 .period-head140{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:3px!important;height:auto!important;min-height:24px!important;margin:0!important;padding:0!important;white-space:nowrap!important;background:transparent!important}
 #content .period140 .period-head140>span{flex:0 1 auto!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
 #content .period140 :is(.period-head140,.period-nav140) button{background:transparent!important;background-image:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;backdrop-filter:none!important;color:var(--filter-link142,#246b98)!important;line-height:var(--filter-leading143,1.3)!important;height:auto!important;min-height:24px!important;padding:2px 3px!important;min-width:0!important;white-space:nowrap!important;text-transform:none!important}
 #content .period140 .period-head140 button{flex:0 0 auto!important;width:auto!important;font-size:var(--filter-button-font142,13px)!important;text-decoration:underline!important;text-underline-offset:2px!important}
 #content .period140 .period-head140 button[aria-pressed=true]{color:#a85a00!important;font-weight:700!important}
 #content .period140 .period-nav140{display:grid!important;grid-template-columns:24px minmax(0,1fr) 24px!important;align-items:center!important;gap:0!important;min-height:var(--period-line143)!important;margin:0!important;padding:0!important;background:transparent!important}
 #content .period140 .period-nav140 button{width:100%!important;min-height:var(--period-line143)!important;font-size:var(--filter-button-font142,13px)!important}
 #content .period140 .period-caption140{overflow:hidden!important;text-overflow:ellipsis!important;display:block!important;text-align:center!important;text-decoration:underline!important;text-underline-offset:2px!important}
 #content .period140 [data-shift140]{display:flex!important;align-items:center!important;justify-content:center!important;font-size:12px!important;text-decoration:none!important}
 #content .period140 .period-inputs140{display:none!important;align-items:center!important;flex-wrap:nowrap!important;gap:var(--filter-gap143,4px)!important;min-height:var(--period-line143)!important;margin:0!important;padding:0!important;background:transparent!important}
 #content .period140.period-manual143 .period-inputs140{display:flex!important}
 #content .period140.period-manual143 .period-nav140,#content .period140 .period-edit-actions140{display:none!important}
 #content .period140 .period-inputs140 input[type=date]{flex:var(--period-field-flex143,1 1 0)!important;width:var(--period-field-width143,0)!important;min-width:0!important;max-width:none!important;box-sizing:border-box!important;height:var(--period-line143)!important;min-height:var(--period-line143)!important;padding:2px 4px!important;font-size:var(--filter-font101,13px)!important}
 #content .period140 :is(.period-head140,.period-nav140) button:focus-visible{outline:2px solid currentColor!important;outline-offset:-1px!important}
 #content .period140 :is(.period-head140,.period-nav140) button:hover{color:#a85a00!important}
 html[data-theme=dark] #content .period140{background:#263647!important}
 html[data-theme=dark] #content .period140.period-selected140{background:#23465b!important}
 html[data-theme=dark] #content .period140 .period-head140 button[aria-pressed=true],html[data-theme=dark] #content .period140 button:hover{color:#ffd492!important}
}

/* r143: intrinsic rows. This layer owns spacing, not control colours or data. */
@layer mgkans-layout145 {
 :root{--layout-pad145:4px;--layout-gap145:8px;--layout-leading145:1.3;--filter-pad145:3px;--filter-row-gap145:4px;--filter-width145:60%}
 body.shell141 .shell-main141{padding-top:var(--layout-pad145)!important}
 body.shell141 .compact-header141{min-height:0!important;height:auto!important;margin-bottom:var(--layout-pad145)!important;gap:var(--layout-gap145)!important;padding:0!important}
 body.shell141 .compact-header141 h1{font-size:calc(var(--control-font141,14px) * 1.5)!important;line-height:var(--layout-leading145)!important}
 body.shell141 .shell-controls141{gap:var(--layout-pad145)!important}
 body.shell141 .shell-controls141 button{width:var(--control-height141,36px)!important;height:var(--control-height141,36px)!important;min-height:0!important;font-size:var(--control-font141,14px)!important;padding:0!important}
 body.shell141 .shell-controls141 .shell-theme141{font-size:calc(var(--control-height141,36px) * .66)!important}

 /* Outer rows provide a small proportional inset; nested groups add no height. */
 :is(main,.platform-main50,dialog) :is(.toolbar,.directory-toolbar52,.document-toolbar45,.task-toolbar33,.warehouse-toolbar48,.platform-toolbar50,.platform-actions50,.section-tabs,.platform-subtabs52,.pagination,.period-navigation95,.month-navigation42,.day-navigation92,.dashboard-toolbar33,.dashboard-actions33,.actions,.info-actions49){height:auto!important;min-height:0!important;max-height:none!important;padding-block:var(--layout-pad145)!important;margin-block:var(--layout-pad145)!important;box-sizing:border-box!important;align-items:center!important;row-gap:var(--layout-pad145)!important}
 :is(main,.platform-main50,dialog) :is(.task-actions33,.document-leading45,.task-views40,.segments,.ledger-actions34,.order-actions35,.header-actions44,.estate-tabs52,.partner-views){height:auto!important;min-height:0!important;max-height:none!important;padding-block:0!important;margin-block:0!important;align-items:center!important}
 :is(main,.platform-main50,dialog) :is(.toolbar,.directory-toolbar52,.document-toolbar45,.task-toolbar33,.warehouse-toolbar48) :is(.toolbar,.directory-toolbar52,.document-toolbar45,.task-toolbar33,.warehouse-toolbar48){padding-block:0!important;margin-block:0!important}
 .period-navigation95 .day-caption93{height:auto!important;min-height:0!important;line-height:var(--layout-leading145)!important;padding:0!important;margin:0!important}
 #dayLabel93{min-height:0!important;height:auto!important;padding-block:0!important;font-size:var(--control-font141,14px)!important;line-height:var(--layout-leading145)!important}
 .period-navigation95 .day-count93{font-size:calc(var(--control-font141,14px) * .85)!important;line-height:var(--layout-leading145)!important}

 :is(.filter-scope142,.filter-preview142):not(.filter-popup142){height:auto!important;min-height:0!important;max-height:none!important;padding-block:var(--filter-pad145)!important;margin-block:0!important;row-gap:var(--filter-row-gap145)!important;align-content:start!important}
 :is(.filter-scope142,.filter-preview142) :is(.exact-field99,.document-filter-field45,[data-field48],label){height:auto!important;min-height:0!important;max-height:none!important;align-content:start!important;row-gap:var(--filter-row-gap145)!important;margin-block:0!important;padding-block:0!important}
 :is(.filter-scope142,.filter-preview142) :is(.exact-heading99,.document-filter-field45>span){height:auto!important;min-height:0!important;line-height:var(--filter-leading143,1.3)!important}
 :is(.filter-scope142,.filter-preview142) :is(.filter-actions52,.filter-actions48,.document-filter-actions45,.preview-row142){height:auto!important;min-height:0!important;padding-block:0!important;margin-block:0!important;align-items:center!important}

 /* Keep the same slots and label order; only editable controls become narrower.
    Apply once to a pair's wrapper, never again to its children. */
 :is(.filter-scope142,.filter-preview142) :is(select,textarea,input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file]):not([type=hidden])){width:var(--filter-width145)!important;max-width:100%!important;flex:0 1 auto!important;align-self:start!important;box-sizing:border-box!important}
 :is(.filter-scope142,.filter-preview142) :is(.filter-pair48,.filter-date-pair45,.range-inputs19):not(.period-inputs140){width:var(--filter-width145)!important;height:auto!important;min-height:0!important;max-height:none!important;align-items:center!important}
 :is(.filter-scope142,.filter-preview142) :is(.filter-pair48,.filter-date-pair45,.range-inputs19):not(.period-inputs140)>:is(input,select){width:0!important;flex:1 1 0!important;max-width:100%!important;min-width:0!important}
 /* Dates retain enough space for the full value and calendar icon. */
 :is(.filter-scope142,.filter-preview142) input[type=date]{min-width:min(100%,calc(var(--filter-field-font142,12px) * 9.5))!important}
 #content .period140{width:min(100%,max(calc(var(--period-width143,308px) * .6),calc(var(--filter-field-font142,12px) * 20.4 + var(--filter-gap143,8px) * 2 + 12px)))!important;min-width:0!important;max-width:100%!important;padding-block:var(--filter-pad145)!important;--period-line143:max(var(--filter-field-height142,22px),var(--filter-button-height142,23px))}
 #content .period140 .period-head140{min-height:0!important;height:auto!important}
 #content .period140 :is(.period-head140,.period-nav140) button{min-height:0!important;padding-block:0!important}
 #content .period140 .period-nav140{min-height:var(--period-line143)!important}
 #content .period140 .period-inputs140{width:100%!important;height:auto!important;min-height:0!important;max-width:100%!important;overflow-x:auto!important;scrollbar-width:thin}
 #content .period140 .period-inputs140 input[type=date]{width:0!important;flex:1 1 0!important;height:auto!important;min-height:var(--filter-field-height142,22px)!important;max-height:none!important}
 /* Preserve one-line carousels on phones, including overflow and hidden fields. */
 :is(.filter-scope142,.filter-preview142)[hidden],.filter-scope142 :is([hidden],.filter-off92){display:none!important}
}

/* r144: pack actual field widths instead of reserving wide grid tracks. */
@layer mgkans-pack146 {
 :root{--filter-slot146:184.8px;--filter-period146:max(calc(var(--period-width143,308px) * .6),calc(var(--filter-field-font142,14px) * 20.4 + var(--filter-gap143,8px) * 2 + 12px))}
 .filter-pack146{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;justify-content:flex-start!important;align-items:flex-end!important;align-content:flex-start!important;column-gap:var(--filter-gap143,8px)!important;row-gap:var(--filter-row-gap145,4px)!important;min-height:0!important;height:auto!important}
 .filter-pack146>.filter-slot146,.filter-preview142 .preview-row142>label{
  display:flex!important;flex-direction:column!important;flex:0 0 auto!important;
  width:var(--filter-slot146)!important;min-width:0!important;max-width:100%!important;
  margin:0!important;padding:0!important;box-sizing:border-box!important;align-items:stretch!important;
 }
 .filter-pack146>.filter-period146{
  flex:0 0 auto!important;width:var(--filter-period146)!important;min-width:0!important;max-width:100%!important;margin:0!important;box-sizing:border-box!important;
 }
 .filter-pack146>.filter-period146:not(.period140){padding:0!important}
 .filter-pack146>.filter-period146>.period140{width:100%!important;max-width:100%!important;box-sizing:border-box!important;margin:0!important}
 .filter-pack146>.filter-actions146{flex:0 0 auto!important;width:max-content!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:0!important;align-items:center!important;align-self:flex-end!important}
 .filter-pack146>.filter-actions146:not(.filter-pack146){flex-wrap:nowrap!important}
 .filter-pack146>.filter-input146{flex:0 0 auto!important;width:var(--filter-slot146)!important;min-width:0!important;max-width:100%!important}
 .filter-slot146 :is(input,select,textarea):not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file]):not([type=hidden]):not(.client-native132),
 .filter-slot146 :is(.client-picker132,.filter-pair48,.filter-date-pair45,.range-inputs19),
 .filter-preview142 .preview-row142>label>:is(input,select){width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;align-self:stretch!important}
 .filter-slot146 :is(.filter-pair48,.filter-date-pair45,.range-inputs19)>:is(input,select){width:0!important;flex:1 1 0!important;min-width:0!important}
 .filter-slot146>:is(.exact-heading99,span:not(.client-picker132)){max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
 .filter-pack146>.price-filter146{width:calc(var(--filter-slot146) * 1.4 + var(--filter-gap143,8px))!important}
 .price-filter146 .price-inputs146{display:flex!important;flex-wrap:nowrap!important;gap:var(--filter-gap143,8px)!important;min-width:0!important;width:100%!important}
 .price-filter146 .price-inputs146>input{flex:1 1 0!important;width:0!important;min-width:0!important;max-width:100%!important}
 .filter-pack146>.filter-order-toolbar100{flex:0 0 100%!important;width:100%!important}
 /* Filter grids fill their parent; only individual date widgets get calendar width. */
 .filter-scope142:is(.document-filter-grid45,.filter-grid48){width:100%!important;min-width:0!important;max-width:100%!important;flex:1 1 auto!important;box-sizing:border-box!important}
 :is(.filter-scope142,.filter-preview142) .period140,
 .filter-scope142.period140{background:transparent!important;background-image:none!important;box-shadow:none!important;backdrop-filter:none!important;border-color:transparent!important}
 .filter-pack146[hidden],.filter-pack146 :is([hidden],.filter-off92){display:none!important}
 @media(max-width:950px){
  .filter-pack146{flex-wrap:nowrap!important;overflow-x:auto!important;overscroll-behavior-x:contain;scrollbar-width:thin;max-width:100%!important}
  .filter-pack146>.filter-actions146.filter-pack146{max-width:none!important;overflow:visible!important}
  .filter-pack146>.filter-period146,.filter-pack146>.filter-slot146,.filter-pack146>.filter-input146{flex-shrink:0!important}
 }
}

/* r146: aligned filter cells and unobtrusive sort controls. */
@layer mgkans-grid148 {
 :root{
  --filter-grid-min148:max(var(--filter-slot146,185px),calc(var(--filter-field-font142,14px) * 19 + var(--filter-gap143,8px) + 12px),calc(var(--filter-button-font142,14px) * 13 + var(--filter-button-height142,36px) * 2 + var(--filter-gap143,8px) * 3));
  --filter-height148:max(var(--filter-field-height142,30px),var(--filter-button-height142,30px),calc(var(--filter-icon142,18px) + 6px));
  --filter-label-height148:calc(var(--filter-label-font142,14px) * var(--filter-leading143,1.3));
 }
 .filter-pack146,.filter-preview-grid148{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(min(100%,var(--filter-grid-min148)),1fr))!important;grid-auto-flow:row!important;grid-auto-rows:auto!important;align-items:end!important;justify-content:start!important;gap:var(--filter-gap143,8px)!important}
 .filter-pack146>.filter-actions146.filter-pack146{display:contents!important}
 .filter-pack146 :is(.filter-slot146,.filter-period146),.filter-preview-grid148>:is(label,.period140){
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:var(--filter-label-height148) var(--filter-height148)!important;
  gap:var(--filter-row-gap145,4px)!important;width:100%!important;min-width:0!important;max-width:100%!important;
  height:auto!important;min-height:0!important;padding:0!important;margin:0!important;box-sizing:border-box!important;align-items:stretch!important;
 }
 .filter-pack146>.filter-period146:not(.period140){display:block!important}
 .filter-pack146>.filter-period146:not(.period140)>.period140{width:100%!important;min-width:0!important;padding:0!important;margin:0!important;display:grid!important;grid-template-rows:var(--filter-label-height148) var(--filter-height148)!important;gap:var(--filter-row-gap145,4px)!important}
 .filter-pack146 .filter-slot146>:is(.exact-heading99,span:not(.client-picker132)),.filter-preview-grid148>label>span{display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;line-height:var(--filter-leading143,1.3)!important;height:var(--filter-label-height148)!important;min-height:0!important;margin:0!important}
 .filter-pack146 .filter-slot146 :is(input,select,textarea):not(.client-native132):not([type=hidden]):not([type=checkbox]):not([type=radio]),
 .filter-pack146 .filter-input146,.filter-preview-grid148 :is(input,select),
 .filter-pack146 .filter-actions146:not(.filter-pack146) button,
 .filter-preview-grid148 .preview-row142 button{
  height:var(--filter-height148)!important;min-height:var(--filter-height148)!important;max-height:var(--filter-height148)!important;box-sizing:border-box!important;
 }
 .filter-pack146 .filter-slot146 :is(.client-picker132,.price-inputs146,.range-inputs19,.filter-pair48,.filter-date-pair45){height:var(--filter-height148)!important;width:100%!important;min-width:0!important;max-width:100%!important}
 .filter-pack146 .price-inputs146>input{width:0!important;flex:1 1 0!important}
 .filter-preview-grid148>label>:is(input,select){width:100%!important;min-width:0!important;max-width:100%!important}
 .filter-pack146 .filter-input146{width:100%!important;min-width:0!important}
 .filter-pack146 .filter-actions146:not(.filter-pack146),.filter-preview-grid148>.preview-row142{
  display:flex!important;flex-wrap:nowrap!important;width:100%!important;min-width:0!important;max-width:100%!important;gap:var(--filter-gap143,8px)!important;align-self:end!important;padding:0!important;margin:0!important;box-sizing:border-box!important;
 }
 .filter-pack146 .filter-actions146:not(.filter-pack146)>button,.filter-preview-grid148>.preview-row142>button{flex:1 1 0!important;width:0!important;min-width:0!important;white-space:nowrap!important;padding-inline:4px!important}
 .filter-pack146 .filter-actions146:not(.filter-pack146)>button.filter-symbol142,.filter-preview-grid148>.preview-row142>button.filter-symbol142{flex:0 0 var(--filter-height148)!important;width:var(--filter-height148)!important;min-width:0!important}
 .filter-pack146 .period140 .period-head140{display:flex!important;align-items:center!important;min-height:0!important;height:var(--filter-label-height148)!important;padding:0!important;margin:0!important;gap:3px!important}
 .filter-pack146 .period140 .period-head140>span{flex:0 1 auto!important;min-width:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
 .filter-pack146 .period140 .period-head140>button{flex:0 0 auto!important;min-height:0!important;height:auto!important;padding:0 2px!important}
 .filter-pack146 .period140 :is(.period-nav140,.period-inputs140){height:var(--filter-height148)!important;min-height:0!important;width:100%!important;margin:0!important;padding:0!important;box-sizing:border-box!important}
 .filter-pack146 .period140 .period-nav140{display:grid!important;grid-template-columns:20px minmax(0,1fr) 20px!important}
 .filter-pack146 .period140.period-manual143 .period-nav140{display:none!important}
 .filter-pack146 .period140 .period-nav140 button{min-height:0!important;height:var(--filter-height148)!important;padding-block:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
 .filter-pack146 .period140 .period-inputs140 input[type=date]{min-width:0!important;width:0!important;flex:1 1 0!important;height:var(--filter-height148)!important;min-height:var(--filter-height148)!important;max-height:var(--filter-height148)!important;padding-inline:3px!important}
 .filter-pack146>.filter-order-toolbar100{grid-column:1/-1!important;width:100%!important}
 .filter-order-mode100 .filter-slot146,.filter-order-mode100 .period140{grid-template-rows:var(--filter-label-height148) var(--filter-height148) auto!important}
 .filter-pack146[hidden],.filter-pack146 :is([hidden],.filter-off92){display:none!important}
 @media(max-width:950px){
  .filter-pack146{grid-template-columns:none!important;grid-auto-flow:column!important;grid-auto-columns:var(--filter-grid-min148)!important;grid-template-rows:auto!important;overflow-x:auto!important;max-width:100%!important}
  .filter-pack146>.filter-order-toolbar100{grid-column:auto!important;width:var(--filter-grid-min148)!important;white-space:normal!important}
 }
 /* The header keeps the same geometry while the pointer enters and leaves it. */
 th.sortable148{position:relative!important;padding-right:22px!important}
 th.sortable148 .column-sort{position:absolute!important;right:3px!important;top:50%!important;transform:translateY(-50%)!important;display:grid!important;grid-template-columns:9px 9px!important;grid-template-rows:14px!important;gap:0!important;width:18px!important;height:14px!important;margin:0!important;padding:0!important;opacity:0!important;pointer-events:none!important;transition:opacity .1s linear}
 th.sortable148 .column-sort button{display:block!important;position:static!important;width:9px!important;min-width:0!important;max-width:none!important;height:14px!important;min-height:0!important;max-height:14px!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;backdrop-filter:none!important;font:10px/14px Arial,sans-serif!important;color:var(--muted,#718096)!important;cursor:pointer!important}
 th.sortable148 .column-sort button:is(:hover,.selected){color:var(--blue,#167bcd)!important}
 th.sortable148:hover .column-sort,th.sortable148:has(.column-sort button:focus-visible) .column-sort{opacity:1!important;pointer-events:auto!important}
 th.sortable148 .column-sort button:focus-visible{outline:2px solid var(--blue,#167bcd)!important;outline-offset:1px!important}
 @media(hover:none),(pointer:coarse){
  th.sortable148{padding-right:51px!important;min-height:36px!important}
  th.sortable148 .column-sort{opacity:1!important;pointer-events:auto!important;width:44px!important;height:36px!important;grid-template-columns:22px 22px!important;grid-template-rows:36px!important}
  th.sortable148 .column-sort button{width:22px!important;height:36px!important;max-height:36px!important;font-size:12px!important;line-height:36px!important}
 }
}

/* r147: sorting belongs to the column title, never to the next column. */
@layer mgkans-sort149 {
 th.sortable148{padding-right:10px!important}
 th.sortable148>.sort-heading149{display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;gap:4px!important;max-width:100%!important;min-width:0!important;vertical-align:middle!important;white-space:nowrap!important}
 th.sortable148 .sort-label149{display:block!important;flex:0 1 auto!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
 th.sortable148 .column-sort{position:static!important;inset:auto!important;transform:none!important;flex:0 0 18px!important;vertical-align:middle!important}
 th.sortable148:has(>.column-grip122:not([hidden]))>.sort-heading149{display:flex!important;width:max-content!important}
 @media(hover:none),(pointer:coarse){
  th.sortable148 .column-sort{flex-basis:44px!important}
 }
}

@layer mgkans-deals150 {
 :is(.task-item40,[data-row96]).task-tint150{--task-wash150:color-mix(in srgb,var(--task-color150) 10%,#fff);--task-edge150:color-mix(in srgb,var(--task-color150) 45%,#d7e0e8);background:var(--task-wash150)!important;border-color:var(--task-edge150)!important;box-shadow:0 0 9px color-mix(in srgb,var(--task-color150) 18%,transparent)!important;color:#243344!important}
 tr.task-tint150>td{background:var(--task-wash150)!important;border-bottom-color:var(--task-edge150)!important;color:inherit!important}
 tr.task-tint150>td:first-child{box-shadow:inset 3px 0 var(--task-color150)!important}
 :is(.task-item40,[data-row96]).task-selected96{outline:2px solid #1986d4!important;outline-offset:-2px!important}
 :root[data-theme=dark] .task-tint150{--task-wash150:color-mix(in srgb,var(--task-color150) 16%,#1b2735);--task-edge150:color-mix(in srgb,var(--task-color150) 50%,#435367);color:#e4eaf1!important}
 .deal-column .deal-card,.stage-catalog150 article{background:color-mix(in srgb,var(--stage-color) 9%,#fff)!important;border:1px solid color-mix(in srgb,var(--stage-color) 40%,#dce3e9)!important;box-shadow:0 0 10px color-mix(in srgb,var(--stage-color) 22%,transparent)!important;color:#243344!important;border-radius:12px!important}
 :root[data-theme=dark] :is(.deal-column .deal-card,.stage-catalog150 article){background:color-mix(in srgb,var(--stage-color) 13%,#1b2735)!important;color:#e4eaf1!important}
 .deal-column{position:relative;overflow:visible!important;margin-inline-end:25px!important}
 .deal-column .deal-stage-plus150{position:absolute!important;right:-27px!important;top:21px!important;width:28px!important;min-width:28px!important;height:28px!important;min-height:28px!important;padding:0!important;border-radius:50%!important;z-index:2}
 .deal-column .deal-add150{display:block!important;width:calc(100% - 16px)!important;margin:8px!important;padding:7px!important;min-height:32px!important;white-space:normal!important;background:transparent!important;color:inherit!important;border:1px dashed var(--stage-color)!important}
 .deal-column .deal-cards{overflow:visible!important}
 .quick-deal150{width:100%!important;min-width:0!important;box-sizing:border-box!important;padding:12px!important;background:var(--dark-surface138,#fff)!important;color:var(--dark-text138,#243344)!important;border:1px solid var(--stage-color)!important;border-radius:12px!important;box-shadow:0 3px 15px #233e5120!important}
 :is(.quick-deal150,#dealEdit150) .deal-fields150{border:0!important;padding:0!important;margin:0!important;display:grid!important;gap:12px!important;min-width:0!important}
 :is(.quick-deal150,#dealEdit150) label{display:grid!important;gap:5px!important;min-width:0!important;font-size:13px!important;margin:0!important}
 :is(.quick-deal150,#dealEdit150) :is(input:not([type=checkbox]),select,textarea,.client-picker132){width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
 :is(.quick-deal150,#dealEdit150) :is(input:not([type=checkbox]),select,textarea){font-size:14px!important;line-height:1.4!important;padding:8px!important;min-height:36px!important;height:auto!important;border-radius:7px!important}
 :is(.quick-deal150,#dealEdit150) .client-native132{display:none!important;position:absolute!important;width:1px!important;height:1px!important;padding:0!important;min-height:0!important;opacity:0!important;pointer-events:none!important}
 :is(.quick-deal150,#dealEdit150) [data-new-client150]{min-width:0!important;border:1px solid #b8cbd8!important;border-radius:8px!important;padding:10px!important;display:grid;gap:10px}
 :is(.quick-deal150,#dealEdit150) [hidden]{display:none!important}
 .deal-amount150{display:grid;grid-template-columns:1fr 1fr;gap:8px;min-width:0}
 .quick-deal150 .deal-amount150{grid-template-columns:1fr}
 .deal-extra150>label{margin-top:12px!important}
 .deal-extra150 summary{cursor:pointer;font-size:13px;padding:6px 0}
 .deal-archive150{grid-template-columns:auto 1fr;align-items:center;justify-content:start}
 :is(.quick-deal150,#dealEdit150) footer{display:flex!important;flex-wrap:wrap!important;gap:8px!important;position:static!important;padding:12px 0 0!important}
 #dealEdit150>footer{padding:0 0 16px!important}
 :is(.quick-deal150,#dealEdit150) footer button{width:auto!important;min-width:0!important;font-size:13px!important;padding:9px 12px!important}
 .deal-error150{color:#b3261e;white-space:normal;overflow-wrap:anywhere}
 .deal-error150:empty{display:none}
 #detail.deal-detail150{width:min(1180px,96vw)!important;max-width:96vw!important;padding:0!important;max-height:94dvh!important}
 .deal-card-layout150{grid-template-columns:minmax(300px,38%) minmax(0,1fr)!important;max-height:92dvh!important;min-height:560px!important}
 .deal-card-layout150 :is(.crm-contact21,.crm-history21){min-width:0!important;overflow:auto!important;max-height:92dvh!important}
 .deal-card-layout150 .crm-contact21>header{padding:22px!important;position:relative!important;background:#214552!important;color:white!important}
 .deal-card-layout150 .crm-contact21>header h2{font-size:24px!important;line-height:1.3!important;padding-right:28px!important;overflow-wrap:anywhere!important}
 .deal-card-layout150 .crm-contact21>header button{position:absolute;right:12px;top:10px}
 .deal-progress150{display:flex;gap:4px;margin-top:14px}
 .deal-progress150 span{flex:1;min-width:0;height:5px;background:#ffffff30;border-radius:3px}
 .deal-progress150 span.reached{background:var(--stage-color);box-shadow:0 0 7px color-mix(in srgb,var(--stage-color) 45%,transparent)}
 #dealEdit150 fieldset:disabled :is(input,select,textarea){opacity:1!important;background:transparent!important;color:inherit!important;border-color:transparent!important;cursor:default!important}
 .deal-linked150 article{display:flex;flex-wrap:wrap;gap:8px;border-top:1px solid #c9d4dd;padding-top:12px;margin-top:12px}
 .deal-linked150 button{background:transparent!important;color:#1979b5!important;border:0!important;padding:4px!important;min-height:0!important;white-space:normal!important;text-align:left!important}
 .deal-events150{display:grid;gap:12px;padding:20px}
 .deal-events150 article{display:grid;gap:6px;padding:14px;border-inline-start:3px solid #78a6be;border-radius:7px;background:#edf3f7;color:#243344;font-size:13px}
 :root[data-theme=dark] .deal-events150 article{background:#243344!important;color:#e4eaf1!important}
 .deal-client-history150{padding:0 20px;font-size:13px;color:inherit}
 .stage-catalog150{display:flex;align-items:center;gap:12px;overflow:auto;padding:16px 8px 24px}
 .stage-catalog150 article{flex:0 0 200px;min-height:100px;display:grid;grid-template-columns:1fr auto;gap:12px;padding:16px;border-radius:12px}
 .stage-catalog150 article strong{grid-column:1/-1;overflow-wrap:anywhere}
 .stage-swatch150{width:24px;height:6px;border-radius:3px;background:var(--stage-color)}
 .stage-catalog150>button{flex:0 0 30px;min-width:30px!important;width:30px!important;padding:0!important;height:30px!important;min-height:30px!important;border-radius:50%!important}
 #pipelineColumns45{display:flex!important;align-items:stretch!important;gap:12px!important;width:max-content!important;min-width:100%!important}
 #pipelineColumns45 .stage-editor45{flex:0 0 240px!important;width:240px!important;min-width:240px!important;box-shadow:0 0 10px color-mix(in srgb,var(--stage-color) 25%,transparent)!important}
 #pipelineColumns45 .stage-insert45{flex:0 0 30px!important;align-self:flex-start!important;min-width:30px!important;width:30px!important;margin-top:20px!important;padding:0!important}
 @media(max-width:700px){
  #detail.deal-detail150{width:100vw!important;max-width:100vw!important;max-height:100dvh!important;border-radius:0!important;margin:0!important}
  .deal-card-layout150{display:block!important;max-height:none!important;min-height:0!important}
  .deal-card-layout150 :is(.crm-contact21,.crm-history21){max-height:none!important;overflow:visible!important}
  .deal-card-layout150 .crm-contact-body21{max-height:none!important;overflow:visible!important}
  .deal-card-layout150 .crm-history21{border-top:1px solid #c9d4dd}
 }
}

/* The period wrapper must inherit the same surface as the rest of the filters. */
@layer mgkans-reference151 {
 :is(#content,.filter-preview142) :is(.period140,.filter-period146,.report-period19){background:transparent!important;background-image:none!important;box-shadow:none!important;backdrop-filter:none!important;border-color:transparent!important}
 .stage-toolbar151{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important}
 .stage-toolbar151>label{display:flex!important;align-items:center!important;gap:8px!important;margin:0!important}
 .stage-toolbar151>label select{width:auto!important;min-width:140px!important;max-width:240px!important}
 .stage-list151 table{width:100%!important;table-layout:auto!important}
 .stage-list151 .stage-name151{white-space:normal!important;overflow-wrap:anywhere!important}
 .stage-list151 .stage-label151{display:inline-flex!important;align-items:center!important;gap:8px!important}
 .stage-list151 .stage-label151 .type-swatch19{margin:0!important}
 .stage-list151 .type-swatch19{display:inline-block!important;flex:0 0 auto!important;vertical-align:middle!important}
 .stage-list151 .reference-controls128{white-space:nowrap!important;display:inline-flex!important;vertical-align:middle!important}
 .stage-list151 .reference-handle128{touch-action:none!important}
 .stage-list151 tr:focus-visible{outline:2px solid var(--blue,#1685ed)!important;outline-offset:-2px!important}
 .stage-list151 .moving128{opacity:.7;outline:2px dashed var(--blue,#1685ed)!important}
 .metric-access151{max-width:1100px}
 .metric-access151 form>label{display:grid;gap:8px;max-width:420px}
 .metric-access151 #dashboardChecks18{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:12px 20px;padding:20px 0}
 .metric-access151 .inline-check{display:flex!important;align-items:flex-start!important;gap:8px!important;min-width:0;margin:0!important}
 .metric-access151 .inline-check span{overflow-wrap:anywhere}
 .metric-access151 .inline-check input{flex:0 0 auto!important;margin-top:2px}
 .metric-access151 footer{display:flex;flex-wrap:wrap;align-items:center;gap:16px;padding-top:16px}
 @media(max-width:600px){.stage-toolbar151>label{order:3;flex-basis:100%;}.stage-toolbar151>label select{flex:1;max-width:none!important}.stage-list151{padding:12px!important}.metric-access151{padding:16px!important}}
}

@layer mgkans-workspace152 {
 /* Hiding the controls retains the selected language/theme and their handlers. */
 body[data-shell-preferences152=false] :is(.shell-controls141,#language90,#themeToggle,#platformTheme141,[data-header-action44=themeToggle]){display:none!important}
 body.deals-page152>main>header{display:none!important}
 #content .dashboard-toolbar33{display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:12px!important;overflow-x:auto!important;scrollbar-width:thin}
 #content .dashboard-toolbar33>#rangeCalendar{flex:0 0 auto!important;width:auto!important}
 #content .dashboard-toolbar33>.dashboard-actions33{display:flex!important;flex:0 0 auto!important;min-width:0!important;width:var(--filter-grid-min148,308px)!important;margin:0!important;padding:0!important;overflow:visible!important}
 #content .dashboard-toolbar33>#controls126{display:flex!important;align-items:center!important;justify-content:flex-end!important;flex:0 0 auto!important;gap:8px!important;margin:0 0 0 auto!important;padding:0!important;flex-wrap:nowrap!important}
 #content .dashboard-toolbar33>#controls126 button{width:auto!important;flex:0 0 auto!important;white-space:nowrap!important}
 #content .deals-toolbar152{display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:12px!important;padding:6px 10px!important;margin:0 0 12px!important;overflow-x:auto!important;scrollbar-width:thin;min-width:0!important}
 #content .deals-toolbar152>*{flex:0 0 auto!important;margin-block:0!important}
 #content .deals-toolbar152>.spacer{display:block!important;flex:1 1 20px!important;min-width:12px!important}
 #content .deals-toolbar152 .deals-title152{font-size:24px!important;line-height:1.2!important;font-weight:600!important;margin:0!important;padding:4px 24px 4px 0!important;border-right:2px solid currentColor!important;color:inherit!important;white-space:nowrap!important}
 #content .deals-toolbar152 button{width:auto!important;min-width:0!important;white-space:nowrap!important}
 #content .deals-toolbar152 #dealTotals{white-space:nowrap!important;padding-inline:6px!important}
 #content .deal-board{gap:36px!important;padding:0 0 12px!important;min-height:calc(100dvh - 94px)!important;align-items:stretch!important;overflow-x:auto!important;scrollbar-width:thin}
 #content .deal-board>.deal-column{flex:1 0 250px!important;margin:0!important;min-width:0!important;max-width:420px!important;background:#f2f5f9!important;border-radius:8px 8px 0 0!important}
 #content .deal-board>.deal-column>header{box-sizing:border-box!important;display:flex!important;flex-direction:column!important;justify-content:center!important;gap:8px!important;min-height:78px!important;padding:14px 10px!important;background:transparent!important}
 #content .deal-column>header small{margin:0!important}
 #content .deal-column .deal-stage-plus150{right:-32px!important}
 #content .deal-column .deal-add150{margin:28px 8px 8px!important}
 :root[data-theme=dark] #content .deal-board>.deal-column{background:#162132!important}
 @media(max-width:950px){
  #content .deals-toolbar152{gap:8px!important;padding:6px!important}
  #content .deals-toolbar152 .deals-title152{font-size:20px!important;padding-right:12px!important}
  #content .deal-board>.deal-column{flex-basis:250px!important}
 }
}

@layer mgkans-actions153 {
 #content .creation-row153>.create-action153{order:1000!important;flex:0 0 auto!important;margin-inline-start:auto!important;margin-inline-end:0!important;width:auto!important;white-space:nowrap!important}
 #content .creation-row153>.create-action153~.create-action153{margin-inline-start:0!important}
 #content .creation-row153>.header-actions44{display:flex!important;flex-wrap:nowrap!important}
 #content .creation-row153>.header-actions44>button{white-space:nowrap!important;flex:0 0 auto!important}
 #content .document-toolbar45>.document-leading45{display:contents!important}
 #content .partner-toolbar137{display:flex!important;flex-wrap:nowrap!important;overflow:visible!important}
 #content .partner-create-row137{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:8px!important;width:100%!important;min-width:0!important;max-width:100%!important;overflow-x:auto!important;scrollbar-width:thin;box-sizing:border-box!important}
 #content .partner-create-row137::after{content:none!important;display:none!important}
 #content .partner-create-row137>:not(.create-action153){order:0!important;flex:0 0 auto!important;margin:0!important;white-space:nowrap!important}
 #content .partner-create-row137>.partner-views{display:flex!important;position:static!important}
 #content .partner-create-row137>.partner-primary34{width:auto!important;min-width:0!important}
 @media(max-width:950px){
  #content .partner-create-row137>.partner-views{display:none!important}
  #content :is(.directory-toolbar52,.task-controls40,.document-toolbar45,.warehouse-toolbar48).creation-row153{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;overflow-x:auto!important;min-width:0!important;max-width:100%!important;scrollbar-width:thin}
  #content .creation-row153>button{flex:0 0 auto!important;white-space:nowrap!important}
  #content .task-controls40.creation-row153>.segments{flex:0 0 auto!important;width:auto!important;white-space:nowrap!important}
  #content .partner-toolbar137{overflow:visible!important}
 }
}

@layer mgkans-search154 {
 body.title-in-row154>main>header h1{display:none!important}
 body.title-in-row154:not([data-current-page35=dashboard])>main>header{display:none!important}
 #content .page-actions154{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:8px!important;min-width:0!important;max-width:100%!important;overflow-x:auto!important;scrollbar-width:thin}
 #content .page-title154{order:-100!important;flex:0 0 auto!important;font-size:var(--page-title-size154,20px)!important;line-height:1.2!important;margin:0 10px 0 0!important;padding:0!important;white-space:nowrap!important;color:inherit!important}
 #content .partner-create-row137>.partner-views{display:flex!important;order:999!important;margin-left:auto!important;flex:0 0 auto!important;width:auto!important}
 #content .partner-views>button{white-space:nowrap!important;flex:0 0 auto!important}
 #content .partner-toolbar137{overflow:visible!important}
 #content .filter-submit154{display:inline-flex!important;flex:0 0 auto!important}
 .platform-toolbar50.page-actions154{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:8px!important}
 .platform-toolbar50>.page-title154{font-size:20px!important;line-height:1.2!important;margin:0 10px 0 0!important}
 .platform-head50:empty{display:none!important}
 @media(max-width:950px){#content .partner-views>button{padding-inline:8px!important}}
}

@layer mgkans-automation155 {
 body.compact-page155>main>header{display:none!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important}
 body.compact-page155 .shell-main141{padding-top:0!important}
 #content>.page-heading155{margin-top:0!important}
 #content .page-actions154>#appearanceControls{display:flex!important;order:2000!important;flex:0 0 auto!important;margin-inline-start:auto!important;gap:6px!important}
 #content .page-actions154>#appearanceControls[hidden]{display:none!important}
 #content .dashboard-toolbar33 #applyReport19{display:none!important}
 #content .page-actions154>.view-switch155{display:flex!important;order:999!important;margin-inline-start:auto!important;margin-inline-end:0!important;flex:0 0 auto!important;position:static!important;width:auto!important}
 #content .page-actions154>.after-view155{margin-inline-start:0!important}
 #content .legacy-views155,#floatingView35{display:none!important}
 .view-switch155>button{white-space:nowrap!important;flex:0 0 auto!important}
 #automation155{white-space:nowrap}
 .automation-modal155{width:min(720px,96vw)!important;max-height:94dvh!important}
 .automation-modal155 #fields{display:block!important}
 .automation-grid155{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
 .automation-grid155>label:first-child,.automation-grid155>#newType155,.automation-grid155>.automation-check155{grid-column:1/-1}
 .automation-grid155 label{display:flex;flex-direction:column;gap:6px;min-width:0}
 .automation-grid155 input,.automation-grid155 select{max-width:100%;box-sizing:border-box}
 .automation-start155,#newType155{display:grid;grid-template-columns:1fr 1fr;gap:12px}
 .automation-start155[hidden],#newType155[hidden]{display:none!important}
 .automation-grid155 .automation-check155{flex-direction:row;align-items:center}
 .automation-grid155 input[type=checkbox]{width:auto!important}
 .automation-grid155 input[type=color]{width:70px!important;height:36px!important;padding:2px!important}
 .automation-description155{font-size:.9em;line-height:1.5;margin-block:16px}
 .automation-list-head155{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:18px}
 .automation-list155{display:grid;gap:10px}
 .automation-row155{display:flex;align-items:center;gap:12px;text-align:left;width:100%;padding:14px;white-space:normal}
 .automation-row155>span:nth-child(2){flex:1;min-width:0}
 .automation-row155 small{display:block;margin-top:6px;opacity:.75}
 .automation-dot155{width:12px;height:12px;flex:0 0 12px;border-radius:50%}
 .automation-warning155{border:1px solid #d6a24f;border-radius:12px;background:color-mix(in srgb,#e7b14b 12%,transparent);padding:16px;line-height:1.5}
 .automation-warning155 button{margin:4px}
 .transmission-icon155{color:#b9f9e4}
 @media(max-width:600px){.automation-grid155{grid-template-columns:1fr}.automation-row155{flex-wrap:wrap}.automation-list-head155{flex-wrap:wrap}}
}

@layer mgkans-automation155 {
 #taskFilters92>.automation-footer155{grid-column:1/-1!important;display:flex!important;justify-content:flex-end!important;order:9999!important;width:100%!important;margin:8px 0 0!important}
 .automation-workspace155{display:grid;grid-template-columns:minmax(260px,1fr) minmax(300px,1.2fr);gap:18px;align-items:start}
 .automation-workspace155 h2{font-size:1.2em;margin-top:0}
 .automation-template155,.automation-saved155{display:flex;align-items:center;gap:12px;width:100%;padding:16px;margin-bottom:10px;text-align:left;white-space:normal;border-radius:12px}
 .automation-template155>span:nth-child(2){flex:1}.automation-template155 small,.automation-saved155 small{display:block;font-weight:normal;opacity:.7;margin-top:7px;line-height:1.4}
 .automation-template155{cursor:grab}.automation-template155:active{cursor:grabbing}
 .automation-saved155{display:block}.automation-saved155>span{display:inline-block;margin-top:12px;font-size:.85em}
 .automation-saved-column155{min-height:440px}.automation-saved-column155.drag-over155{outline:2px dashed #1685ed;outline-offset:-8px;background:color-mix(in srgb,#1685ed 8%,var(--panel-bg,#fff))}
 .automation-empty155{border:2px dashed #a8b4c7;border-radius:12px;padding:50px 14px;text-align:center;opacity:.7}
 .automation-draft155{border:1px dashed #1685ed;opacity:.7}
 .automation-health155{font-size:.8em;opacity:.65;margin-top:22px}
 .automation-weekdays155{grid-column:1/-1;display:flex;gap:8px;flex-wrap:wrap}.automation-weekdays155 label{flex-direction:row;align-items:center}.automation-weekdays155 input{width:auto!important}
 .automation-journal155{overflow-x:auto}.automation-journal155 table{width:100%;min-width:500px}
 .automation-notice155{padding:12px;border-bottom:1px solid #aab4c733}.automation-notice155 small{display:block;margin-top:6px}
 @media(max-width:750px){.automation-workspace155{grid-template-columns:1fr}.automation-saved-column155{min-height:240px}}
}

@layer mgkans-automation155 { .automation-modal155 [hidden]{display:none!important} .automation-modal155 #form{max-height:90dvh;overflow-y:auto} .automation-modal155 #fields{overflow:visible!important} }

@layer mgkans-communications156 {
 #taskFilters92>.automation-actions156{grid-column:1/-1!important;order:9998!important;display:flex!important;align-items:center!important;gap:var(--filter-gap143,8px)!important;width:100%!important;min-width:0!important;margin:0!important;padding:0!important}
 #taskFilters92>.automation-actions156>button{min-height:var(--filter-button-height142,36px)!important;width:auto!important;white-space:nowrap!important;margin:0!important;font-size:var(--filter-button-font142,14px)!important}
 #taskFilters92>.automation-actions156>#automation155{margin-inline-start:0!important}

 .communication-tools156{display:flex;gap:8px;flex-wrap:wrap;margin-inline-start:auto;align-items:center}
 .communication-section156{margin-block:16px;padding:14px;border:1px solid #95a5bb55;border-radius:12px}
 .communication-section156 legend{font-weight:600;padding-inline:6px}
 .communication-section156 .automation-grid155>label:first-child{grid-column:auto}
 .communication-hint156{padding:12px;border:1px solid #3799d666;border-radius:10px;background:color-mix(in srgb,#1685ed 6%,transparent);line-height:1.5}
 .automation-modal155 textarea{width:100%;max-width:100%;box-sizing:border-box}
 @media(max-width:950px){#taskFilters92>.automation-actions156{grid-column:auto!important;min-width:max-content!important;width:auto!important}.communication-tools156{margin-inline-start:0}}
}

@layer mgkans-layout157 {
@media(min-width:951px){#taskFilters92>.automation-duration157{grid-column:1!important;order:9997!important}#taskFilters92>.automation-actions156{grid-column:2/-1!important;order:9998!important}}
}

@layer mgkans-search158{#mobileSearch158{display:none!important}@media(max-width:700px){#content .page-actions154>#mobileSearch158{display:block!important;order:-999!important;flex:1 1 130px!important;min-width:100px!important;width:140px!important;max-width:240px!important;height:var(--filter-field-height142,32px)!important;margin:0!important}#content .page-actions154>.page-title154{order:-1000!important;flex:0 0 auto!important;margin-inline-end:8px!important}#content .search-source158{display:none!important}}}

/* Salary rules use the same admin typography and input settings. */
.salary159 .salary-scroll159{max-width:100%;overflow-x:auto}.salary159 th,.salary159 td{white-space:nowrap}.salary159 .salary-rules159{display:grid;gap:.65em}.salary159 .salary-rule159{display:flex;flex-wrap:wrap;align-items:center;gap:.65em;padding:.7em;border:1px solid #8898aa55;border-radius:.65em}.salary159 .salary-rule159 label{display:flex;align-items:center;gap:.5em;flex:1}.salary159 input[type=checkbox],.salary-employees159 input[type=checkbox]{width:1.1em;height:1.1em;min-width:1.1em}.salary-employees159{max-height:16em;overflow:auto;display:grid;gap:.5em}.salary-employees159 label{display:flex;gap:.5em;align-items:center}#salaryOrders159>summary{cursor:pointer;font-weight:600;padding:.5em}#fields [data-mode159]{width:1.1em;height:1.1em}#fields [data-count159][hidden],#fields [data-grace159][hidden]{display:none!important}@media(max-width:700px){.salary159 .toolbar{flex-wrap:wrap}.salary159 .toolbar h2{flex-basis:100%}.salary159 .salary-rule159{align-items:flex-start}.salary159 .salary-rule159 label{flex-basis:100%}.salary159 h2{font-size:1.15em}}

/* Universal rules: compact form and viewport-bounded menus. */
#pipelineAutomation160{display:block;margin:14px 0;width:100%}
.universal-action160{border:1px solid var(--border,#d5dfe9);border-radius:12px;padding:14px;margin:12px 0;background:var(--panel,#fff)}
.universal-order160{display:flex;align-items:center;gap:8px;margin-bottom:12px}.universal-order160>b{margin-right:auto}.universal-order160 button{padding:5px 9px!important;min-width:30px!important}
.universal-warning160{color:#a3441c}.universal-action160 small{display:block;margin-top:10px;opacity:.75}
body .portal-menu160{z-index:2147483600!important;inset:auto;box-sizing:border-box;min-width:min(170px,calc(100vw - 16px))!important;width:max-content!important;transform:none!important;zoom:1!important;overscroll-behavior:contain}
body .portal-menu160 button{white-space:normal;overflow-wrap:anywhere;max-width:100%}.portal-menu160::backdrop{background:transparent;pointer-events:none}
#taskStatus160{font-size:.85em;opacity:.8}#taskStatus160.error{color:#c43737;opacity:1}
@media(max-width:620px){.universal-action160{padding:10px}.universal-order160{gap:4px}.automation-grid155{grid-template-columns:1fr!important}.automation-modal155{max-height:90dvh!important}}
@media(max-width:950px){.pipeline-settings45:has(#pipelineAutomation160){flex-direction:column}.pipeline-settings45:has(#pipelineAutomation160) .pipeline-help45{display:block!important;flex:0 0 auto;padding:12px 16px;border-right:0}.pipeline-settings45:has(#pipelineAutomation160) .pipeline-help45 p{display:none}.pipeline-settings45:has(#pipelineAutomation160) #pipelineAutomation160{width:auto;margin:8px 0 0}}

#modal.automation-modal155:has(#universalActions160){width:min(880px,calc(100vw - 20px))!important;max-width:880px!important}
#modal.automation-modal155:has(#universalActions160) .actions{position:sticky;bottom:0;background:var(--panel,#fff);z-index:2;padding:12px 0;margin-bottom:0}
[data-theme="dark"] .universal-action160,[data-theme="dark"] #modal.automation-modal155:has(#universalActions160) .actions{background:#182431;color:#e3edf7;border-color:#354352}

/* Salary editor: override generic full-width controls on checkbox rows. */
#modal.salary-rule161{width:min(720px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important;box-sizing:border-box;overflow-x:hidden!important}
#modal.salary-rule161 :is(form,#fields,fieldset,label){min-width:0!important;max-width:100%!important;box-sizing:border-box}
#modal.salary-rule161 fieldset{margin:12px 0;padding:12px;width:100%}
#modal.salary-rule161 legend{white-space:normal;max-width:100%}
#modal.salary-rule161 :is(input:not([type=checkbox]),select,textarea){width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box}
#modal.salary-rule161 label:has(input[type=checkbox]){display:flex!important;flex-direction:row!important;justify-content:flex-start!important;align-items:center!important;gap:8px!important;white-space:normal!important;overflow-wrap:anywhere;margin:8px 0!important}
#modal.salary-rule161 input[type=checkbox]{appearance:auto!important;display:inline-block!important;width:16px!important;height:16px!important;min-width:16px!important;max-width:16px!important;flex:0 0 16px!important;margin:0!important;padding:0!important}
#modal.salary-rule161 .salary-employees159{overflow-x:hidden;max-height:240px}
#modal.salary-rule161 .actions{position:sticky;bottom:0;background:var(--panel,#fff);padding:12px 0;z-index:2;flex-wrap:wrap}
[data-theme=dark] #modal.salary-rule161 .actions{background:#182431}

.completion-gate162{grid-column:1/-1;min-width:0;padding:.6em;border-inline-start:3px solid var(--accent,#1685ed)}.completion-gate162 p{margin:.25em 0;overflow-wrap:anywhere}

#content .calendar.timeline162{min-height:180px!important;max-width:100%;overflow:auto!important;overscroll-behavior:auto;touch-action:pan-x pan-y}
#content .timeline162 .daycol{min-height:1536px;position:relative}
#content .timeline162 .times>div{height:64px;box-sizing:border-box}
#content .timeline162 .slot{height:32px;box-sizing:border-box}

.move-description165{grid-column:1/-1;width:100%;min-width:0;box-sizing:border-box;margin-top:12px;padding:12px;border:1px solid #9ebbd3;border-radius:10px}.move-description165 textarea,.move-description165 select{max-width:100%;box-sizing:border-box}.move-description165 output{display:block;color:#b33}.move-description165[hidden]{display:none!important}

/* r164: keep transfer details below the date row and align filter actions. */
.compact-task #fields>.move-description165{display:flex;flex-direction:column;gap:8px;width:100%;max-width:100%;margin:8px 0 0;padding:12px;align-self:stretch;flex:0 0 100%;grid-column:1/-1}
.compact-task #fields>.move-description165[hidden]{display:none!important}
.compact-task #fields>.move-description165 h3,.compact-task #fields>.move-description165 p{margin:0}
.compact-task #fields>.move-description165 label{display:block;width:100%;margin:0}
.compact-task #fields>.move-description165 select,.compact-task #fields>.move-description165 textarea{display:block;width:100%;max-width:100%;margin:4px 0 0}
.compact-task #fields>.move-description165 textarea{height:auto;min-height:90px;resize:vertical}
.compact-task #fields>.move-description165 button{align-self:flex-start}
#taskFilters92>.automation-actions156{align-self:end!important;align-items:center!important;justify-content:flex-start!important;flex-wrap:nowrap!important}
#taskFilters92>.automation-actions156>#automation155{margin-inline-start:0!important}
#taskFilters92>.automation-actions156>button{flex:0 0 auto!important;min-height:var(--filter-button-height142,36px)!important;height:var(--filter-button-height142,36px)!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important}

/* r165: amount pairs share one former field cell; no oversized empty columns. */
.automation-modal155 .universal-amount167,.automation-modal155 .universal-offset167{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;min-width:0}
.automation-modal155 .universal-amount167>label,.automation-modal155 .universal-offset167>label{min-width:0;grid-column:auto!important}
.automation-modal155 .universal-amount167 input,.automation-modal155 .universal-offset167 input{width:100%;min-width:0;max-width:100%;box-sizing:border-box}
.automation-modal155 .universal-balance167{grid-column:1/-1}

/* One size source per control type; no content-dependent flex stretching. */
@layer mgkans-dimensions168 {
 .filter-pack146{grid-template-columns:repeat(auto-fill,minmax(0,min(100%,var(--filter-grid-min148))))!important}
 .filter-scope142 button:not(.filter-symbol142):not(.period-head140 button):not(.period-nav140 button):not(.calendar-popup140 button){font-size:var(--filter-button-font142,14px)!important;line-height:var(--filter-leading143,1.3)!important;height:var(--filter-height148,36px)!important;min-height:var(--filter-height148,36px)!important;max-height:var(--filter-height148,36px)!important;box-sizing:border-box!important;flex-grow:0!important;flex-shrink:0!important;white-space:nowrap!important;padding-block:0!important;transition:color .15s,background-color .15s,border-color .15s!important}
 .filter-pack146 .filter-actions146:not(.filter-pack146)>button:not(.filter-symbol142){flex:0 0 auto!important;width:auto!important;min-width:max-content!important;padding-inline:10px!important}
 .filter-scope142 :is(input,select):not([type=checkbox]):not([type=radio]):not([type=hidden]):not(.client-native132){font-size:var(--filter-field-font142,14px)!important;line-height:var(--filter-leading143,1.3)!important;height:var(--filter-height148,36px)!important;min-height:var(--filter-height148,36px)!important;max-height:var(--filter-height148,36px)!important;box-sizing:border-box!important;transition:color .15s,background-color .15s,border-color .15s!important}
 #taskFilters92>.automation-actions156>button{height:var(--filter-height148,36px)!important;min-height:var(--filter-height148,36px)!important;max-height:var(--filter-height148,36px)!important;font-size:var(--filter-button-font142,14px)!important}
}

/* Keep layout actions immediately beside language/theme; one flexible gap. */
@layer mgkans-dashboard169{
 #chart32 .chart-totals66 strong[data-total130],.chart-total-preview169>strong{font-size:var(--chart-total-size169,14px)!important;line-height:1.25!important}
 #chart32 .chart-totals66 strong[hidden]{display:none!important}
 #content .dashboard-toolbar33>#controls126{order:1999!important;margin-inline-start:auto!important;margin-inline-end:0!important;flex:0 0 auto!important}
 #content .dashboard-toolbar33:has(>#controls126)>#appearanceControls{margin-inline-start:0!important;order:2000!important;flex:0 0 auto!important}
 .chart-heading169{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin-bottom:12px!important}
 .chart-heading169>h3{margin:0!important;min-width:0!important}
 .chart-heading169>#chartSettings32{position:static!important;flex:0 0 auto!important;margin:0!important;min-width:32px!important;min-height:32px!important}
 .chart-panel32:has(>.chart-heading169){padding-bottom:20px!important}
 .chart-total-preview169{grid-column:1/-1;max-width:100%;overflow:auto;border-top:1px solid var(--border,#d9e2ef);padding:10px 0;line-height:1.25}
 .chart-total-preview169>strong{display:block;overflow-wrap:anywhere}
 .chart-total-preview169>[hidden]{display:none!important}
}

@layer mgkans-account172{
 body>aside>#sidebarAccount172{display:flex!important;flex-direction:column!important;gap:8px!important;flex:0 0 auto!important;margin-top:auto!important;padding:14px 4px max(12px,env(safe-area-inset-bottom))!important;width:100%!important;box-sizing:border-box!important;border-top:1px solid #ffffff40!important;color:inherit!important;position:relative!important}
 #sidebarAccount172 .account-name172{display:block!important;font-size:13px!important;line-height:1.3!important;white-space:normal!important;overflow-wrap:anywhere!important;color:inherit!important;text-align:center!important}
 #sidebarAccount172>#accountLogout172{display:block!important;position:static!important;width:100%!important;min-width:0!important;min-height:36px!important;padding:6px 3px!important;font-size:13px!important;line-height:1.2!important;color:inherit!important;background:#ffffff18!important;border:1px solid #ffffff50!important;border-radius:8px!important;cursor:pointer!important}
 body[data-shell-open141=false] #sidebarAccount172 .account-name172{font-size:11px!important;display:-webkit-box!important;-webkit-line-clamp:3!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
}

@layer mgkans-finish173{
 #modal #finishTask:not(:disabled){background:#a3ff12!important;color:#173500!important;border:1px solid #75d500!important;box-shadow:0 0 12px #a3ff1266!important;font-weight:700!important}
 #modal #finishTask:not(:disabled):hover{background:#b8ff47!important;box-shadow:0 0 16px #a3ff1299!important}
 #modal #finishTask:disabled{background:#dde9d1!important;color:#58664e!important;border:1px solid #b8c7ac!important;box-shadow:none!important;cursor:not-allowed!important}
 #modal #finishTask:focus-visible{outline:3px solid #387900!important;outline-offset:3px!important}
}

/* r172: reserve actual space for reorder handles; DOM order is visual order.
   A compact duration range must not reserve a full empty grid column. */
@layer mgkans-filterlayout174 {
 .filter-order-mode100>.filter-order-field174 {
  position:relative!important;
  padding:calc(var(--filter-height148,32px) + 8px) 4px 4px!important;
  min-height:0!important;height:auto!important;box-sizing:border-box!important;
  grid-template-rows:var(--filter-label-height148) var(--filter-height148)!important;
 }
 .filter-order-mode100>.filter-order-field174>.field-order-controls100 {
  position:absolute!important;inset:4px 4px auto auto!important;
  display:flex!important;gap:3px!important;width:auto!important;height:var(--filter-height148,32px)!important;
  padding:0!important;margin:0!important;align-items:center!important;
 }
 .filter-order-mode100 .field-order-controls100>button {
  flex:0 0 auto!important;width:var(--filter-height148,32px)!important;min-width:0!important;
  height:var(--filter-height148,32px)!important;min-height:var(--filter-height148,32px)!important;
  max-height:var(--filter-height148,32px)!important;padding:0!important;margin:0!important;
 }
 .filter-pack146>.filter-order-toolbar100 {
  order:10000!important;grid-column:1/-1!important;flex:0 0 100%!important;
  width:100%!important;min-width:0!important;max-width:100%!important;flex-wrap:wrap!important;
 }
 #taskFilters92.filter-pack146 {
  display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;align-items:flex-end!important;
 }
 #taskFilters92.filter-pack146>:is(.filter-slot146,.filter-period146,.filter-actions146) {
  flex:0 0 auto!important;width:var(--filter-grid-min148)!important;max-width:100%!important;min-width:0!important;
  grid-column:auto!important;order:0!important;
 }
 #taskFilters92.filter-pack146>.automation-duration157 {
  width:calc((var(--filter-grid-min148) + var(--filter-gap143,8px)) / 2)!important;
 }
 #taskFilters92>.automation-actions156 {
  flex:0 0 auto!important;grid-column:auto!important;order:9998!important;
  width:max-content!important;min-width:max-content!important;max-width:none!important;flex-wrap:nowrap!important;
 }
 @media(max-width:950px){
  /* Grid's desktop tracks must not squeeze mobile carousel cells to zero. */
  .filter-pack146:not(.filter-actions146) {display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;overflow-x:auto!important}
  .filter-pack146>:is(.filter-slot146,.filter-period146,.filter-input146) {flex:0 0 auto!important;width:var(--filter-grid-min148)!important;min-width:0!important;max-width:none!important}
  .filter-pack146>.filter-actions146:not(.filter-pack146) {flex:0 0 auto!important;width:max-content!important;min-width:max-content!important;max-width:none!important}
  #taskFilters92.filter-pack146 {flex-wrap:nowrap!important}
  #taskFilters92.filter-pack146>:is(.filter-slot146,.filter-period146,.filter-actions146),
  #taskFilters92>.automation-actions156 {max-width:none!important}
  #taskFilters92>.automation-actions156 {flex-wrap:nowrap!important}
  .filter-pack146>.filter-order-toolbar100 {flex:0 0 var(--filter-grid-min148)!important;width:var(--filter-grid-min148)!important;grid-column:auto!important;max-width:none!important}
 }
}

/* source: login176.css */
body.locked #auth{display:grid!important;grid-template-columns:1.1fr 1fr;gap:50px;align-items:center;justify-items:center;padding:60px max(40px,calc((100vw - 1200px)/2));background:radial-gradient(ellipse at 20% 40%,#c5eee4,transparent 65%),linear-gradient(125deg,#e6f5ef,#eef8f9 70%,#d8eded)!important;overflow:auto;color:#173c3d;isolation:isolate}body.locked #auth:before{content:'';position:fixed;width:650px;height:650px;border:1px solid #9dcac033;border-radius:50%;left:-200px;bottom:-350px;z-index:-1}body.locked #auth .auth-box{background:#fff!important;color:#244240!important;border:1px solid #dceae6!important;border-radius:20px!important;box-shadow:0 20px 80px #1d6b5320!important;width:100%;max-width:440px;margin:0!important;padding:38px!important;position:relative;box-sizing:border-box}body.locked #auth .auth-box h1{font-size:29px!important;color:#183c3c!important;line-height:1.2;margin:12px 0 16px!important}body.locked #auth .auth-box label{display:block;font-size:13px!important;color:#587670!important;margin-top:17px;line-height:1.5}body.locked #auth .auth-box input:not([type=checkbox]){width:100%!important;min-height:46px!important;background:#fbfdfc!important;border:1px solid #d9e7e1!important;border-radius:8px!important;color:#244540!important;font-size:16px!important;padding:11px 13px!important;box-sizing:border-box}body.locked #auth .auth-box input[type=checkbox]{accent-color:#087e78}body.locked #auth .auth-box button.primary{background:#087e78!important;color:white!important;border:0!important;border-radius:9px!important;min-height:47px!important;font-size:15px!important;width:100%!important;margin-top:18px!important}body.locked #auth .auth-box .sub{font-size:13px!important;line-height:1.75!important;color:#7b918c!important}body.locked #auth .auth-box .eyebrow{font-size:11px!important;color:#7d9c93!important;letter-spacing:2px}body.locked #auth .auth-box .forgot-link{color:#34877a!important;background:none!important;border:0!important;font-size:12px!important}body.locked #auth .auth-box .auth-lang176{position:absolute;right:22px;top:18px;color:#398b7c!important;border:1px solid #dceae4!important;background:#fff!important;border-radius:8px!important;padding:5px 8px!important;width:auto!important;height:auto!important;min-height:28px!important;font-size:11px!important}.auth-intro176{max-width:500px;justify-self:start;color:#27594f;display:flex;flex-direction:column;gap:85px}.auth-brand176{display:flex;gap:10px;align-items:center;color:#244e46;text-decoration:none;font-size:26px;font-weight:800;letter-spacing:-1px}.auth-brand176 span{width:36px;height:36px;border-radius:10px;background:#087f79;color:white;display:grid;place-items:center;font-size:25px}.auth-intro176 h2{font-size:47px;line-height:1.12;letter-spacing:-2px;color:#245b52;margin:15px 0 25px;font-weight:600}.auth-intro176 p{font-size:10px;letter-spacing:2px;color:#528d7f}.auth-intro176 small{font-size:15px;color:#75988e}.auth-intro176>a:last-child{font-size:13px;color:#598e80;text-decoration:none}body.locked #auth .auth-company176{font-size:12px;color:#2f9280;background:#edf8f1;border-radius:6px;padding:7px 10px;display:inline-block;margin:0 0 6px}body.locked #auth .inline-check{display:flex!important;gap:8px;align-items:center}body.locked #auth .eye-toggle{background:none!important;color:#68998a!important;border:0!important;box-shadow:none!important}body.locked #auth .password-wrap{margin-top:4px}body.locked #auth .password-wrap input{padding-right:42px!important}@media(max-width:760px){body.locked #auth{grid-template-columns:1fr;gap:28px;padding:26px 20px;align-content:start}.auth-intro176{gap:20px;max-width:440px;width:100%;justify-self:center}.auth-intro176>div{display:none}.auth-intro176>a:last-child{position:absolute;right:25px;top:39px;font-size:11px}.auth-brand176{font-size:22px}.auth-brand176 span{width:32px;height:32px;font-size:23px}body.locked #auth .auth-box{padding:28px!important}body.locked #auth .auth-box h1{font-size:26px!important}}

/* r181: the deals Find action must not stretch to a filter grid column. */
@layer mgkans-grid148 {
 #dealsFilters154 input[name=q] {margin:0!important}
 #dealsFilters154 > .filter-submit183 {
  width:max-content!important;min-width:0!important;max-width:100%!important;
  flex:0 0 auto!important;justify-self:start!important;align-self:end!important;
  height:var(--filter-height148,32px)!important;min-height:var(--filter-height148,32px)!important;
  max-height:var(--filter-height148,32px)!important;white-space:nowrap!important;
 }
}

/* r182: downloads inside Settings, responsive and theme-aware. */
.app-downloads184{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:16px;margin:20px 0}
.app-download184{min-width:0;padding:18px;border:1px solid #dce4ed;border-radius:14px;background:transparent}
.app-download184 h3{margin:0 0 12px}.app-download184 p{line-height:1.5;overflow-wrap:anywhere}
.app-download-actions184{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.app-download-actions184 a{display:inline-flex;justify-content:center;align-items:center;box-sizing:border-box;max-width:100%;min-height:40px;padding:9px 14px;border-radius:10px;text-decoration:none;white-space:normal;overflow-wrap:anywhere}
.app-download-actions184 a.primary{background:#167bcd;color:#fff}
.app-download-actions184 a:not(.primary){color:#1269aa;text-decoration:underline}
.app-note184{font-size:.9em;opacity:.85}.app-permissions184{padding-top:12px;border-top:1px solid #dce4ed}
html[data-theme=dark] :is(.app-download184,.app-permissions184){border-color:#47566b}
html[data-theme=dark] .app-download-actions184 a:not(.primary){color:#a7d7ff}

/* r183: names remain ordinary links and retain the surrounding control sizes. */
.document-client185{color:#146dae;text-decoration:underline;text-underline-offset:2px;cursor:pointer;overflow-wrap:anywhere}
.document-client185:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.document-client-row185{display:block;max-width:100%;margin:4px 0 8px}
.document-client-row185[hidden]{display:none}
html[data-theme=dark] .document-client185{color:#9ed5ff}

/* r184: exchange tools belong to the currently open filter, not the page header. */
.exchange-tools186{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;grid-column:1/-1;flex-basis:100%;padding:6px 0}
.exchange-tools186 button{flex:0 0 auto;white-space:nowrap}
.scoped-exchange186{width:min(1100px,94vw);max-height:90dvh;padding:20px;border:1px solid #d6e1eb;border-radius:14px;background:var(--panel,#fff);color:var(--text,#243449);box-sizing:border-box;overflow:auto}
.scoped-exchange186>header,.scoped-exchange186>footer,.exchange-actions186{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.scoped-exchange186 h2{flex:1;margin:0;font-size:1.2em}.scoped-exchange186>output{display:block;white-space:pre-wrap;margin:12px 0}
.exchange-preview186{max-width:100%;overflow:auto;max-height:50dvh;margin:12px 0}.exchange-preview186 table{min-width:700px}.exchange-preview186 td{max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-theme=dark] .scoped-exchange186{background:#152332;color:#e6eef7;border-color:#47566b}
@media(max-width:600px){.scoped-exchange186{padding:12px}.exchange-tools186{justify-content:flex-start;flex-wrap:nowrap;overflow:auto}}
.task-visibility187{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 16px;padding:5px 0;color:var(--muted,#526878);font-size:.88em}
.task-visibility187 button{flex:0 0 auto;white-space:normal}

.import-mapping187 table{min-width:0;width:100%}.import-mapping187 td{white-space:normal;max-width:none;vertical-align:top}.import-mapping187 td small{display:block;overflow-wrap:anywhere}.import-mapping187 select{max-width:100%;width:100%}.import-mapping187 .exchange-actions186>label{min-width:120px;flex:1}.import-mapping187 input{max-width:120px}

#sessionDiagnostics188{margin-top:14px;font-size:12px;max-width:100%;}#sessionDiagnostics188 pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:240px;overflow:auto;}
@layer mgkans-exchange189 {
 .exchange-filter189 > .exchange-tools186 {
  display:flex!important;align-items:center!important;justify-content:flex-end!important;
  grid-column:1 / -1!important;grid-row:auto!important;justify-self:stretch!important;
  order:20000!important;flex:0 0 100%!important;width:100%!important;min-width:0!important;
  max-width:100%!important;gap:var(--filter-gap143,8px)!important;
  margin:0!important;padding:4px 0 0!important;box-sizing:border-box!important;
  flex-wrap:wrap!important;background:transparent!important;border:0!important;
 }
 .exchange-filter189 > .exchange-tools186 > button {
  flex:0 0 auto!important;width:auto!important;min-width:0!important;white-space:nowrap!important;
 }
 @media(max-width:950px){
  .exchange-filter189.filter-pack146 > .exchange-tools186 {
   flex:0 0 auto!important;width:max-content!important;max-width:none!important;
   margin-inline-start:auto!important;align-self:flex-end!important;flex-wrap:nowrap!important;
  }
 }
}

.scoped-exchange186 .import-status191{border:1px solid #b9c9dc;border-radius:10px;padding:12px;max-height:240px;overflow:auto;margin:10px 0}.import-status191 label{display:grid;grid-template-columns:1fr 1fr;gap:8px;align-items:center;margin:6px 0}.import-status191 select{width:100%;min-width:0}@media(max-width:600px){.import-status191 label{grid-template-columns:1fr}}

.scoped-exchange186 .import-number192,.scoped-exchange186 .import-source192{white-space:nowrap;font-variant-numeric:tabular-nums;text-align:right}

#modal.task-modal41 .modalhead{display:flex!important;justify-content:flex-end;position:sticky;top:0;z-index:4;background:var(--panel,#fff);padding:4px 0;margin:0}#modal.task-modal41 .modalhead #modalTitle{display:none}#modal.task-modal41 .modalhead #close{display:inline-flex;align-items:center;justify-content:center;min-width:32px;min-height:32px}#modal .task-footer198 button{margin:0}

/* r197: stable card header and editable paper sheets. */
#modal.task-modal41 .modalhead{justify-content:space-between}
#modal.task-modal41 .modalhead #modalTitle{display:block!important;margin:0;font-size:18px;line-height:32px}
.paper-sheet199{background:var(--panel,#fff);display:flex;flex-direction:column}
.paper-sheet199>.tools-head104{flex-shrink:0}
#dashboardGrid #notebooks104 .paper-content199{min-height:0}
.paper-content199 output{flex-shrink:0}
.paper-content199{display:flex;flex-direction:column;min-height:240px;flex:1}
#notebooks104 .paper-content199 textarea{display:block;box-sizing:border-box;width:100%;min-height:240px;flex:1;border:0;border-radius:0;outline-offset:2px;padding:8px 12px;font:inherit;line-height:28px;resize:vertical;color:var(--text,#253747);background:repeating-linear-gradient(transparent,transparent 27px,rgba(128,145,160,.2) 27px,rgba(128,145,160,.2) 28px)}
.paper-content199 output{font-size:12px;min-height:20px;padding:2px 12px;color:var(--muted,#6b7d91)}
.paper-content199 output.error,.timeline-error199{color:#bb2525}
.timeline-hint199{font-size:12px;text-align:center;color:var(--muted,#6b7d91);padding:8px}
@layer mgkans-controls141 {
 #notebooks104 .paper-content199 textarea{min-height:240px!important;border:0!important;border-radius:0!important;padding:8px 12px!important;line-height:28px!important;background:repeating-linear-gradient(transparent,transparent 27px,rgba(128,145,160,.2) 27px,rgba(128,145,160,.2) 28px)!important;resize:vertical!important}
 #dashboardGrid #notebooks104 .paper-content199 textarea{min-height:120px!important}
 #detail :is(#contactTasks21,.entity-tasks123).client-timeline137 .crm-task21{border-radius:12px!important;padding:14px 16px!important;line-height:1.4!important}
}

