/* MAKING ID: presentation integration. No business state or document print changes. */
@media screen{
:root{--os-accent:var(--wine);--os-focus:var(--wine);--os-radius-window:30px;--os-radius-card:24px;--os-radius-row:18px;--os-radius-field:14px;--os-radius-chip:999px;--os-radius-segment:16px;--os-radius-selection:calc(var(--os-radius-segment) - 4px);--os-radius-menu:24px;--os-menu-inset:8px;--os-radius-menu-item:calc(var(--os-radius-menu) - var(--os-menu-inset) - 1px);--os-control-height:44px;--os-blue:#075fbd;--os-control-radius:var(--os-radius-selection);--os-segment-radius:var(--os-radius-segment);--os-ease:cubic-bezier(.22,1,.36,1)}
html[data-theme=light] body:has(#app:not([hidden])){background:#f6f6f8!important}
html[data-theme=light] body #app{--bg:#f6f6f8;--paper:#f6f6f8;--panel:#fff;--ink:#1d1d1f;--muted:#6e6e73;--line:#e5e5ea}
html[data-theme=dark] body:has(#app:not([hidden])){background:#101012!important}
html[data-theme=dark] body #app{--bg:#101012;--paper:#101012;--panel:#1c1c1e;--ink:#f5f5f7;--muted:#aeaeb5;--line:#38383d;--lg-glass:rgba(35,35,39,.76);--lg-edge:#ffffff38;--os-focus:#f0b6ac}
html[data-theme] body #app .shell>.side{background:#19191cf5!important;border:1px solid #ffffff25!important;box-shadow:inset 0 1px 1px #ffffff30,0 16px 42px #10101224!important}
html[data-theme] body #app .side #nav button.active{background:#ffffff16!important;border-color:#ffffff42!important;box-shadow:inset 0 1px 0 #ffffff35!important;color:#fff!important}
html[data-theme] body #app .side #nav button:hover{background:#ffffff10!important;color:#fff!important}
html[data-theme] body #app .side #nav button{min-height:44px!important;border-radius:14px!important}
html[data-theme] body #app:not(:has(.paper-workspace)) .top-actions>#createBtn.primary,html[data-theme] body #app .dialog:not(:has(.paper-modal,.paper-document,.md-editorial)) .btn.primary:not(.pw-tabs .btn){background:var(--wine)!important;border-color:var(--wine)!important;color:#fff!important}
html[data-theme] body #app:not(:has(.paper-workspace)) .top-actions>#createBtn.primary::after,html[data-theme] body #app .dialog:not(:has(.paper-modal,.paper-document,.md-editorial)) .btn.primary:not(.pw-tabs .btn)::after{background:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:inset 0 1px 1px #ffffff45,inset 0 -1px 1px #0002!important}
html[data-theme] body #app .lg-button:not(.lg-close):not(.pw-tabs .btn):not(.md-editorial .btn){min-height:44px;border-radius:999px!important}
html[data-theme] body #app #modal>#dialog.dialog:not(:has(.md-editorial,.paper-document)){border-radius:var(--os-radius-window)!important;animation:none!important;transform-origin:50% 100%;backdrop-filter:blur(30px) saturate(140%)!important;-webkit-backdrop-filter:blur(30px) saturate(140%)!important}
html[data-theme=dark] body #app #modal>#dialog.dialog:not(:has(.md-editorial,.paper-document)){background:#232327d9!important;border-color:#ffffff38!important;box-shadow:inset 0 1px 1px #ffffff35,0 26px 70px #0007!important}
html[data-theme] body #app .pw>.pw-tabs{display:flex;gap:4px!important;padding:4px!important;border-radius:var(--os-radius-segment)!important;background:#cfcfd936!important;box-shadow:inset 0 1px 0 #ffffff60!important;overflow-x:auto}
html[data-theme] body #app .pw>.pw-tabs>.btn{border-radius:var(--os-radius-selection)!important;min-height:44px!important;background:transparent!important;color:var(--muted)!important;box-shadow:none!important;border:1px solid transparent!important;flex-shrink:0}
html[data-theme] body #app .pw>.pw-tabs>.btn.primary{background:var(--panel,#fff)!important;color:var(--ink)!important;border-color:var(--line)!important;box-shadow:inset 0 1px 0 #ffffff45,0 2px 6px #10101217!important;font-weight:700!important}
html[data-theme] body #app .pw>.pw-tabs>.btn:hover{color:var(--ink)!important}
html[data-theme] body #app .pw>#pwPanel{animation:none!important}

html[data-theme] body #app>#midUtilitiesMenu.mid-utilities-panel{position:fixed!important;left:auto!important;bottom:auto!important;z-index:11000!important;width:300px!important;max-width:calc(100vw - 24px)!important;min-width:0!important;box-sizing:border-box;overflow:hidden;border-radius:var(--os-radius-menu)!important;padding:var(--os-menu-inset)!important;transform-origin:100% 0!important;animation:none!important}
html[data-theme] body #app>#midUtilitiesMenu.mid-utilities-panel.optical-backdrop{}
html[data-theme=dark] body #app>#midUtilitiesMenu.mid-utilities-panel{}
html[data-theme] body #app>#midUtilitiesMenu.mid-utilities-panel[hidden]{display:none!important}
html[data-theme] body #app>#midUtilitiesMenu.mid-utilities-panel>button{display:flex!important;justify-content:flex-start!important;align-items:center;gap:12px;line-height:1.35!important;font-weight:500!important;letter-spacing:normal!important;cursor:pointer!important;transition:background-color var(--dur-exit) var(--os-ease),color var(--dur-exit) var(--os-ease)!important;width:100%!important;min-height:44px!important;margin:0!important;padding:12px 14px!important;border:1px solid transparent!important;border-radius:var(--os-radius-menu-item)!important;color:var(--ink,#1d1d1f)!important;background:transparent!important;box-shadow:none!important;text-align:left;font-size:14px!important;transform:none!important}
html[data-theme] body #app>#midUtilitiesMenu.mid-utilities-panel>button:is(:hover,:focus-visible){background:#77778a1f!important;border-color:transparent!important;outline:none!important}
html[data-theme] body #app>#midUtilitiesMenu.mid-utilities-panel>button::before,html[data-theme] body #app>#midUtilitiesMenu.mid-utilities-panel>button::after{display:none!important}
html[data-theme] body #app>#midUtilitiesMenu.mid-utilities-panel>button.lg-close{position:relative!important;inset:auto!important;height:auto!important;max-width:none!important}
body>#tfUndo.tf-undo{z-index:13000!important;background:#232327d9!important;color:#f5f5f7!important;border:1px solid #ffffff38!important;border-radius:24px!important;box-shadow:inset 0 2px 1px #ffffff60,inset 0 -1px 1px #ffffff20,0 14px 40px #0004!important;backdrop-filter:blur(24px) saturate(140%)!important;-webkit-backdrop-filter:blur(24px) saturate(140%)!important;padding:10px 12px 10px 18px!important;gap:12px!important}
body>#tfUndo.tf-undo>button[data-tf-undo]{min-height:44px!important;border-radius:999px!important;background:#ffffff16!important;color:#fff!important;border:1px solid #ffffff40!important;box-shadow:inset 0 1px 1px #ffffff60,inset 0 -1px 1px #ffffff18!important;padding:10px 16px!important}
body>#tfUndo.tf-undo>button.lg-close{position:relative!important;inset:auto!important;width:36px!important;min-width:36px!important;height:36px!important;min-height:36px!important;flex:0 0 36px!important;color:#fff!important;background:#ffffff0a!important}



@media(prefers-reduced-motion:reduce){html[data-theme] body #app .pw>#pwPanel{animation:none!important}html[data-theme] body #app>#midUtilitiesMenu.mid-utilities-panel{transition:none!important}}
@media(prefers-reduced-transparency:reduce){html[data-theme] body #app>#midUtilitiesMenu.mid-utilities-panel,html[data-theme] body #app>#midUtilitiesMenu.mid-utilities-panel.optical-backdrop{background:var(--panel,#fff)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}}
}
@media screen{html[data-theme=dark] body #app .pw>.pw-tabs{background:#ffffff0c!important;box-shadow:inset 0 1px 0 #ffffff20!important}html[data-theme=dark] body #app .pw>.pw-tabs>.btn.primary{background:#3a3a3e!important;border-color:#ffffff28!important;box-shadow:inset 0 1px 0 #ffffff28,0 2px 6px #0003!important}}

/* Visible operation feedback and restrained dark quick actions. */
@media screen {
.os-operation-busy{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;cursor:wait!important;opacity:.9!important}
.os-operation-spinner{display:inline-block;width:15px;height:15px;flex:0 0 15px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:os-operation-spin var(--dur-spin) linear infinite}
@keyframes os-operation-spin{to{transform:rotate(360deg)}}
#osOperationStatus{position:fixed;z-index:14000;left:50%;bottom:max(110px,calc(env(safe-area-inset-bottom) + 96px));transform:translateX(-50%);max-width:calc(100vw - 32px);padding:12px 18px;border-radius:18px;background:rgba(29,29,31,.86);backdrop-filter:blur(18px) saturate(130%);-webkit-backdrop-filter:blur(18px) saturate(130%);color:#fff;font:inherit;font-size:14px;line-height:1.4;font-weight:500;border:1px solid #ffffff26;box-shadow:inset 0 1px 1px #ffffff30,0 8px 24px #0003;pointer-events:none}
#osOperationStatus[hidden]{display:none!important}
#osOperationStatus[data-state=pending]::before{content:'';display:inline-block;width:10px;height:10px;margin-right:9px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;vertical-align:-2px;animation:os-operation-spin var(--dur-spin) linear infinite}
#osOperationStatus[data-state=error]{background:var(--wine);color:#fff}
html[data-theme=dark] body #app .dw-quick{background:rgba(25,25,28,.72)!important;border:1px solid #ffffff30!important;box-shadow:inset 0 1px 1px #ffffff45,inset 0 -1px 1px #ffffff12,0 12px 32px #0005!important;backdrop-filter:blur(20px) saturate(115%)!important;-webkit-backdrop-filter:blur(20px) saturate(115%)!important}
html[data-theme=dark] body #app .dw-quick::before,html[data-theme=dark] body #app .dw-quick::after,html[data-theme=dark] body #app .dw-quick>button::after{background:none!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;opacity:0!important}
html[data-theme=dark] body #app .dw-quick.optical-dock{backdrop-filter:blur(10px) url(#mid-dock-optic) saturate(130%)!important}
html[data-theme=dark] body #app .dw-quick>button{position:relative!important;transition:background-color var(--dur-exit) ease,transform var(--dur-exit) cubic-bezier(.2,.8,.2,1),box-shadow var(--dur-exit) ease!important}
html[data-theme=dark] body #app .dw-quick>button::before{content:''!important;position:absolute!important;inset:0!important;pointer-events:none!important;border-radius:inherit!important;background:transparent!important;border:1px solid #ffffff18!important;box-shadow:inset 0 1px 1px #ffffff30,inset 0 -1px 0 #0005!important;opacity:1!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
html[data-theme=dark] body #app .dw-quick>button:hover{transform:translateY(-1px) scale(1.025)!important;box-shadow:inset 0 1px 1px #ffffff38,0 5px 12px #0003!important}

html[data-theme=dark] body #app .dw-quick>button{background:transparent!important;color:#f5f5f7!important;border:1px solid transparent!important;box-shadow:none!important;text-shadow:none!important}
html[data-theme=dark] body #app .dw-quick>button:hover,html[data-theme=dark] body #app .dw-quick>button:focus-visible{background:#ffffff12!important;border-color:#ffffff20!important;color:#fff!important}
html[data-theme=dark] body #app .dw-quick>button[data-dw=assistant]{background:var(--wine-dark)!important;border-color:#ffffff18!important;box-shadow:inset 0 1px 0 #ffffff12!important;color:#fff!important}
html[data-theme=dark] body #app .dw-quick>button[data-dw=assistant]:hover{background:#891a12!important}
@media(prefers-reduced-motion:reduce){.os-operation-spinner,#osOperationStatus[data-state=pending]::before{animation:none}}
}
@media print{#osOperationStatus{display:none!important}}

@media screen and (prefers-reduced-transparency:reduce){html[data-theme=dark] body #app .dw-quick,html[data-theme=dark] body #app .dw-quick.optical-dock{background:#19191c!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}}

/* Shared geometry: preserve control types and keep the current step explicit. */
@media screen {
 html[data-theme] body #app form :is(input:not([type=checkbox],[type=radio],[type=range],[type=color],[type=hidden],[type=submit],[type=button],[type=reset]),select,textarea){border-radius:var(--os-radius-field)!important}
 html[data-theme] body #app #dialog .pw-steps>button[aria-current=step]{background:var(--wine)!important;color:#fff!important;border-color:#ffffff38!important;box-shadow:inset 0 1px 1px #ffffff45,0 3px 10px #0002!important;font-weight:700!important}
 html[data-theme] body #app #dialog .pw-steps>button:focus-visible{outline:2px solid var(--ink)!important;outline-offset:3px!important}
}
@media screen and (prefers-reduced-transparency:reduce){#osOperationStatus{background:#1d1d1f!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}}

/* Content remains readable without changing approved glass materials. */
@media screen {
 #app #dialog form textarea{box-sizing:border-box!important;min-height:104px!important;max-height:none!important;resize:vertical;line-height:1.55!important;white-space:pre-wrap;overflow-wrap:anywhere;}
 #app #dialog .os-expand-text{display:block;margin:8px 0 0 auto!important;padding:8px 12px!important;min-height:40px;font:inherit!important;font-size:14px!important;font-weight:500!important;color:var(--ink)!important;background:transparent!important;border:1px solid var(--line,#86868b)!important;border-radius:12px!important;cursor:pointer;}
 #app #dialog .os-expand-text[hidden]{display:none!important}
 
 
 #app .os-project-instructions,#app .os-task-instructions>div{white-space:pre-wrap!important;overflow-wrap:anywhere;word-break:normal;line-height:1.6!important;font-size:16px!important;font-weight:400!important;max-height:none!important;-webkit-line-clamp:unset!important;user-select:text;}
 #app .os-task-instructions{margin-top:10px;min-width:0;}
 #app .os-task-instructions summary{cursor:pointer;font-size:14px;font-weight:500;line-height:1.5;padding:8px 0;min-height:40px;box-sizing:border-box;}
 #app .os-task-instructions>div{padding:8px 0 12px}
 #app .os-task-instructions .os-hide-instructions{display:none}
 #app .os-task-instructions[open] .os-hide-instructions{display:inline}
 #app .os-task-instructions[open] .os-show-instructions{display:none}
 #app .os-task-instructions summary:focus-visible,#app .os-expand-text:focus-visible{outline:2px solid currentColor;outline-offset:3px}
 
}

@media screen{#app .os-task-instructions>div{min-height:0}.os-motion-exit{contain:layout style;overflow:hidden!important;user-select:none!important}}
@media(prefers-reduced-motion:reduce){.os-motion-exit{display:none!important}}

/* Project summary tasks need a reading surface inside the glass window. */
@media screen {
 #app #dialog .pw-overview{container-type:inline-size}
 #app #dialog .pw .os-task-instructions{padding:0!important;margin:8px 0 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;min-height:0!important;}
 #app #dialog .pw .os-task-instructions>summary{padding:8px 0!important;min-height:40px!important;font-size:14px!important;font-weight:500!important;line-height:1.5!important;}
 #app #dialog .pw .os-task-instructions>div{font-size:15px!important;padding:4px 0 8px!important;}
}

/* Segmented choices share one geometry; they are not independent glass capsules. */
@media screen {
 html[data-theme] body #app #view .payroll-tabs{display:inline-grid!important;grid-template-columns:1fr 1fr;gap:4px!important;align-items:stretch!important;padding:4px!important;border:1px solid #d9d9df!important;border-radius:var(--os-radius-segment,16px)!important;background:#e5e5eabf!important;box-shadow:inset 0 1px 1px #ffffff80!important;min-height:54px!important;box-sizing:border-box!important;}
 html[data-theme] body #app #view .payroll-tabs>.btn{height:44px!important;min-height:44px!important;min-width:100px!important;padding:8px 16px!important;border:1px solid transparent!important;border-radius:var(--os-radius-selection,12px)!important;background:transparent!important;color:#55555c!important;box-shadow:none!important;transform:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;font:500 14px/1.3 'MID Diatype',Arial,sans-serif!important;display:flex!important;align-items:center!important;justify-content:center!important;}
 html[data-theme] body #app #view .payroll-tabs>.btn.primary{background:#fff!important;color:#1d1d1f!important;border-color:#d8d8de!important;box-shadow:0 1px 3px #00000012!important;font-weight:700!important;}
 html[data-theme] body #app #view .payroll-tabs>.btn::before,html[data-theme] body #app #view .payroll-tabs>.btn::after{display:none!important}
 html[data-theme] body #app #view .payroll-tabs>.btn:not(.primary):hover{color:#1d1d1f!important;background:#ffffff50!important}
 html[data-theme] body #app #view .payroll-tabs>.btn:focus-visible{outline:2px solid var(--os-focus)!important;outline-offset:2px!important;}
 
 
 html[data-theme=dark] body #app #view .payroll-tabs{background:#242426!important;border-color:#424247!important;box-shadow:inset 0 1px 1px #ffffff12!important}
 html[data-theme=dark] body #app #view .payroll-tabs>.btn{color:#bdbdc5!important}
 html[data-theme=dark] body #app #view .payroll-tabs>.btn.primary{background:#3a3a3e!important;color:#f5f5f7!important;border-color:#55555b!important;box-shadow:0 1px 3px #0004!important}
 html[data-theme=dark] body #app #view .payroll-tabs>.btn:not(.primary):hover{background:#ffffff0d!important;color:#f5f5f7!important}
}

/* Apple HIG: restrained app accent; content remains the visual priority. */
@media screen{
 /* A segmented control is one surface with one selected option. */
 html[data-theme] body #app .tf-segment{border-radius:var(--os-segment-radius)!important;padding:4px!important;gap:4px!important;background:#e5e5eabf!important;border:1px solid #d9d9df;box-sizing:border-box;}
 html[data-theme] body #app .tf-segment>button{border-radius:var(--os-control-radius)!important;min-height:40px!important;color:#55555c!important;background:transparent!important;border:1px solid transparent!important;box-shadow:none!important;transform:none!important;}
 html[data-theme] body #app .tf-segment>button.active{background:#fff!important;color:#1d1d1f!important;border-color:#d8d8de!important;box-shadow:0 1px 3px #00000012!important;font-weight:700!important;}
 html[data-theme] body #app .tf-segment>button::before,html[data-theme] body #app .tf-segment>button::after{display:none!important;}
 /* Status uses both the existing label and a quiet, legible color. */
 #app .tf-state select:has(option[value=doing]:checked){background:#edf4ff!important;color:#075fbd!important;border-color:#bbd6f8!important;}
 #app .tf-state select:has(option[value=blocked]:checked){background:#fff5df!important;color:#815000!important;border-color:#e9cf96!important;}
 #app .tf-state select:has(option[value=done]:checked){background:#edf8f1!important;color:#147344!important;border-color:#b8ddc8!important;}
 
 #app .tf-due[data-priority=overdue] b{color:#a32522!important;}
 #app .tf-due[data-priority=today] b{color:#075fbd!important;font-weight:700!important;}
 html[data-theme] body #app .tf-segment>button:focus-visible{outline:2px solid var(--os-focus)!important;outline-offset:2px!important;}
 html[data-theme=dark] body #app .tf-segment{background:#242426!important;border-color:#424247!important;}
 html[data-theme=dark] body #app .tf-segment>button{color:#bdbdc5!important;}
 html[data-theme=dark] body #app .tf-segment>button.active{background:#3a3a3e!important;color:#f5f5f7!important;border-color:#55555b!important;}
 html[data-theme=dark] body #app .tf-state select:has(option[value=doing]:checked){background:#173558!important;color:#9bcaff!important;border-color:#315f92!important;}
 html[data-theme=dark] body #app .tf-state select:has(option[value=blocked]:checked){background:#3e3017!important;color:#ffd18b!important;border-color:#72572e!important;}
 html[data-theme=dark] body #app .tf-state select:has(option[value=done]:checked){background:#19392a!important;color:#9ce0b9!important;border-color:#36664c!important;}
 html[data-theme=dark] body #app .tf-due[data-priority=overdue] b{color:#ff9b90!important;}
 html[data-theme=dark] body #app .tf-due[data-priority=today] b{color:#9bcaff!important;}
 
 @media(prefers-reduced-motion:no-preference){#app .side #nav>button,#app .tf-segment>button{transition:background-color var(--dur-exit) var(--os-ease),border-color var(--dur-exit) var(--os-ease),color var(--dur-exit) var(--os-ease)!important;}}
}

/* One focus rule and one opacity fallback for shared floating controls. */
@media screen{
 html[data-theme] body #app>#midUtilitiesMenu.mid-utilities-panel>button:focus-visible{outline:2px solid currentColor!important;outline-offset:-3px!important;}
 html[data-theme] body #app .mid-utilities>summary[aria-expanded=true]{outline:0!important;box-shadow:inset 0 1px 1px #ffffff50,0 5px 16px #0002!important;}
 html[data-theme] body #app .mid-utilities>summary:focus-visible,html[data-theme] body #app .pw-tabs>button:focus-visible{outline:2px solid var(--os-focus)!important;outline-offset:3px!important;}
}

/* Retained layout improvements; original glass and motion remain unchanged. */
@media screen {
 html[data-theme] body #app .pw>.pw-tabs,html[data-theme] body #app #view :is(.payroll-tabs,.tf-segment,.mi-reminder-tabs,.notice-tabs){border-radius:var(--os-radius-segment)!important;padding:4px!important;gap:4px!important;}
 
 
 
 
 html[data-theme] body #app .tf-state select{min-height:44px!important;}
}

@media screen {html[data-theme] body #app .dw-date{font-family:"MID Diatype",Arial,sans-serif!important;text-transform:none!important;letter-spacing:0!important;}html[data-theme] body #app .dw-date{font-size:14px!important;font-weight:500!important;}}

/* Scoped to More: original refraction and brand colors remain intact. */
@media screen {
 html[data-theme] body #app>#midUtilitiesMenu.mid-utilities-panel{
  background:rgba(248,248,251,.76)!important;
  border:1px solid rgba(255,255,255,.82)!important;
  box-shadow:inset 0 1px 1px #ffffffed,inset 0 -1px 1px #64647725,0 4px 10px #1717240c,0 20px 48px #1717242e!important;
  -webkit-backdrop-filter:blur(24px) saturate(145%)!important;
  backdrop-filter:blur(24px) saturate(145%)!important;
 }
 html[data-theme] body #app>#midUtilitiesMenu.mid-utilities-panel.optical-backdrop{backdrop-filter:blur(18px) url(#mid-menu-optic) saturate(145%)!important;}
 html[data-theme=dark] body #app>#midUtilitiesMenu.mid-utilities-panel{
  background:rgba(29,29,33,.8)!important;border-color:#ffffff3d!important;
  box-shadow:inset 0 1px 1px #ffffff54,inset 0 -1px 1px #0005,0 4px 10px #0002,0 20px 48px #0007!important;
 }
 html[data-theme] body #app>#midUtilitiesMenu.mid-utilities-panel>button:active{background:#73160f20!important;}
 html[data-theme] body #app>#midUtilitiesMenu.mid-utilities-panel>button:focus-visible{box-shadow:inset 0 0 0 2px var(--os-focus,var(--wine))!important;}
 @media(prefers-reduced-transparency:reduce),(prefers-contrast:more){
  html[data-theme] body #app>#midUtilitiesMenu.mid-utilities-panel,html[data-theme] body #app>#midUtilitiesMenu.mid-utilities-panel.optical-backdrop{background:var(--panel,#fff)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border-color:var(--ink,#1d1d1f)!important;}
 }
}

@media screen {
 html[data-theme] body #app>#midUtilitiesMenu.mid-utilities-panel.glisse-menu-enabled{
  background-color:rgba(248,248,251,.12)!important;
  background-image:none!important;
  border:0!important;
  box-shadow:0 1px 3px #0000000f,0 12px 40px #1919231f!important;
  -webkit-backdrop-filter:blur(7px) saturate(150%)!important;
  backdrop-filter:blur(7px) saturate(150%)!important;
 }
 html[data-theme=dark] body #app>#midUtilitiesMenu.mid-utilities-panel.glisse-menu-enabled{background-color:transparent!important;box-shadow:0 12px 40px #00000061!important;}
 @media(prefers-reduced-transparency:reduce),(prefers-contrast:more){
  html[data-theme] body #app>#midUtilitiesMenu.mid-utilities-panel.glisse-menu-enabled{background:var(--panel)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;}
 }
}

@media screen {#app>#midUtilitiesMenu.glisse-menu-enabled{isolation:auto;}#app>#midUtilitiesMenu.glisse-menu-enabled>button{position:relative;z-index:1;}}

@media screen {html[data-theme=light] body #app>#midUtilitiesMenu.glisse-menu-enabled>button:is(:hover,:focus-visible){background:#1d1d1f18!important;}}

@media screen {html[data-theme] body #app>#midUtilitiesMenu.glisse-menu-enabled:after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:2;box-sizing:border-box;border:.5px solid rgba(62,62,72,.28);background-image:var(--glisse-menu-rim);background-size:100% 100%;box-shadow:inset 0 0 0 1px #ffffffb8;opacity:1;transform:none;}html[data-theme=dark] body #app>#midUtilitiesMenu.glisse-menu-enabled:after{border-color:#ffffff40;box-shadow:inset 0 0 0 1px #ffffff28;}html[data-theme] body #app>#midUtilitiesMenu.glisse-menu-enabled{box-shadow:0 2px 6px #1919230f,0 18px 52px #19192324!important;}html[data-theme=dark] body #app>#midUtilitiesMenu.glisse-menu-enabled{box-shadow:0 18px 52px #0006!important;}}

@media screen {html[data-theme] body #app>#midUtilitiesMenu.glisse-menu-enabled>button{gap:12px!important;min-height:46px!important;padding:11px 14px!important;font-size:14px!important;line-height:1.35!important;}#app>#midUtilitiesMenu .glisse-item-icon{width:20px;height:20px;flex:0 0 20px;display:grid;place-items:center;}#app>#midUtilitiesMenu .glisse-item-icon svg{width:20px;height:20px;}html[data-theme] body #app>#midUtilitiesMenu.glisse-menu-enabled>button[data-glisse-divider=true]{margin-top:13px!important;}html[data-theme] body #app>#midUtilitiesMenu.glisse-menu-enabled>button[data-glisse-divider=true]:before{content:"";display:block!important;position:absolute;left:14px;right:14px;top:-7px;height:.5px;background:#3c3c431f;pointer-events:none;box-shadow:none!important;backdrop-filter:none!important;}html[data-theme=dark] body #app>#midUtilitiesMenu.glisse-menu-enabled>button[data-glisse-divider=true]:before{background:#ebebf52e;}}

#midUtilitiesMenu.glisse-menu-enabled>button[data-glisse-divider="true"]::before{width:auto;inset:-7px 14px auto;transform:none;border:0;border-radius:0;}
/* Glisse content lens, with no opaque material stacked above it. */
@media screen {
html.glisse-review #modal:has(.notice-inbox){background:rgba(20,20,25,.08)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;}
html.glisse-review #dialog:has(.notice-inbox){isolation:auto;background:rgba(250,250,252,.46)!important;background-image:none!important;backdrop-filter:blur(4px) saturate(135%)!important;-webkit-backdrop-filter:blur(4px) saturate(135%)!important;border:.5px solid #55555f40!important;border-radius:32px!important;box-shadow:0 20px 64px #18182430,0 2px 5px #18182415!important;}
html.glisse-review #dialog:has(.notice-inbox)::before{content:none!important;}
html.glisse-review #dialog:has(.notice-inbox)::after{content:"";position:absolute;inset:0;pointer-events:none;z-index:5;border-radius:inherit;background-image:var(--glisse-notice-rim);background-size:100% 100%;box-shadow:inset 0 0 0 1.25px #fffffff0,inset 0 3px 5px #ffffff80,inset 0 -1px 2px #ffffffa6;}



html.glisse-review .notice-inbox{position:relative;z-index:1;}
html.glisse-review .notice-inbox-list>*{background:rgba(255,255,255,.94)!important;}
html.glisse-review[data-theme=dark] #dialog:has(.notice-inbox){background:rgba(29,29,31,.16)!important;border-color:#ffffff38!important;box-shadow:0 24px 72px #0007!important;}
html.glisse-review[data-theme=dark] .notice-inbox-list>*{background:rgba(37,37,39,.96)!important;}
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more){html.glisse-review #dialog:has(.notice-inbox){background:#f5f5f7!important;backdrop-filter:none!important;}html.glisse-review[data-theme=dark] #dialog:has(.notice-inbox){background:#1d1d1f!important;}}
}

/* Official Glisse integration grid47 */
html.official-glisse #app [hidden],button#createBtn[hidden]{display:none!important}@media(max-width:760px){.official-tabs-host .lg-segmented,.official-tabs-host .lg-tab-bar{--lg-tab-height:48px!important}.official-tabs-host .lg-tab,.official-tabs-host .lg-tab-copy{font-size:14px!important}}.official-menu-host,.official-create-host{display:inline-flex;position:relative}.official-menu-host .lg-menu-card{z-index:2000;min-width:280px}.official-menu-host{--lg-highlight:rgba(29,29,31,.12);--lg-glass-bend:.2;--lg-glass-dispersion:0;--lg-rim-shine:1}.official-menu-host .lg-menu-card{border-radius:28px}.official-menu-host .lg-menu-surface{border-radius:28px;}.official-menu-host .lg-menu-plate{background:#1d1d1f1f!important;box-shadow:inset 0 0 0 1px #ffffff80;border-radius:16px}.official-menu-host .lg-menu-item:is(:hover,:focus-visible){color:#1d1d1f;outline:none!important}.official-menu-host .lg-menu-content:has(.lg-menu-item:focus-visible) .lg-menu-item:hover:not(:focus-visible){background:transparent!important;color:inherit}html[data-theme=dark] .official-menu-host .lg-menu-surface{}html[data-theme=dark] .official-menu-host .lg-menu-plate{background:#ffffff2e!important}html[data-theme=dark] .official-menu-host .lg-menu-item:is(:hover,:focus-visible){color:#fff}.official-menu-host .lg-menu-item{min-height:48px;gap:14px;font-size:15px;padding:11px 18px}.official-menu-host .lg-menu-item>svg{width:22px;height:22px;flex:0 0 22px}.official-menu-host .lg-menu-content{padding:10px}.official-menu-host .lg-menu-separator{margin:7px 12px}.official-menu-host .lg-button,.official-create-host .lg-button{font-family:inherit;min-width:84px}html.official-glisse #modal{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;background:#14141914!important}html.official-glisse #dialog:has(.official-glass-host){padding:0!important;background:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border:0!important;box-shadow:none!important}html.official-glisse #dialog:has(.official-glass-host):before,html.official-glisse #dialog:has(.official-glass-host):after{content:none!important}html.official-glisse .side nav button{transition:background-color var(--dur-exit) ease,box-shadow var(--dur-exit) ease}html.official-glisse .side nav button:not(:first-child):hover{background:#ffffff1a;box-shadow:inset 0 0 0 1px #ffffff24}.official-tabs-host{min-width:0;max-width:100%;margin:0 0 16px;overflow-x:auto;overflow-y:hidden;padding:5px 0;}.official-tabs-host .lg-tab-bar,.official-tabs-host .lg-segmented{width:max-content;max-width:none;flex-shrink:0}.official-tabs-host button{white-space:nowrap}.official-selector{position:relative;max-width:100%}.official-selector-status{position:absolute;right:0;bottom:-18px;font-size:12px;color:var(--muted,#6e6e73);pointer-events:none}html.official-glisse #dialog:has(.pw-detail-header,.notice-inbox){overflow:hidden!important;min-height:0!important;width:min(1080px,calc(100vw - 48px))!important;height:min(900px,calc(100dvh - 48px))!important;max-height:calc(100dvh - 48px)!important;box-sizing:border-box;overflow-y:auto;scrollbar-gutter:stable}.official-tabs-host .lg-tab,.official-tabs-host .lg-tab-copy{min-width:var(--lg-tab-width)!important;max-width:var(--lg-tab-width)!important;flex:0 0 var(--lg-tab-width)!important}html.official-glisse #makingMobileMenuMount>.making-menu-toggle{visibility:hidden!important;position:absolute!important;pointer-events:none!important}.official-mobile-menu-host{width:44px;height:44px}.official-mobile-menu-host>.lg-menu>.lg-button,.official-mobile-menu-host .lg-menu-trigger{min-width:44px!important;width:44px!important;padding:0!important}.official-mobile-menu-host .lg-menu-surface{}html[data-theme=dark] .official-mobile-menu-host .lg-menu-surface{}.official-mobile-menu-host .lg-menu-content{max-height:calc(100dvh - 145px);overflow-y:auto;overscroll-behavior:contain}.official-module-icon,.official-module-icon svg{width:22px;height:22px;display:inline-flex}@media(max-width:900px){html.official-glisse #makingMobileMenuPanel{display:none!important}.official-create-host{order:1}.official-mobile-menu-host .lg-menu-card{min-width:min(290px,calc(100vw - 28px))}html.official-glisse .top-actions>.official-menu-host:not(.official-mobile-menu-host){display:none!important}html.official-glisse #dialog:has(.pw-detail-header,.notice-inbox){overflow:hidden!important;min-height:0!important;width:calc(100vw - 20px)!important;height:calc(100dvh - 28px)!important;max-height:calc(100dvh - 28px)!important}}.official-glass-host{height:100%;min-height:0}.official-notice-glass{height:100%;box-sizing:border-box;overflow-y:auto;scrollbar-gutter:stable}@media(max-width:900px){.official-project-glass{padding:18px!important}}.official-notice-glass{background-color:var(--lg-glass)!important;padding:26px;position:relative;--lg-glass:rgba(250,250,252,.8);--lg-edge:rgba(0,0,0,.08);box-shadow:0 16px 48px #19192324,inset 0 0 0 1px #ffffffe6!important}html[data-theme=dark] .official-notice-glass{--lg-glass:rgba(40,40,40,.62);--lg-edge:rgba(255,255,255,.08)}
/* Compact dark launcher; original Glisse geometry, spring and refraction retained. */
@media(max-width:900px){
html.official-glisse .official-mobile-menu-host .lg-menu-card{min-width:0;color:#f5f5f7;--lg-fg:#f5f5f7;--lg-glass-bend:.2;--lg-glass-dispersion:0;--lg-blur:16px;--lg-rim-shine:1}
html.official-glisse .official-mobile-menu-host .lg-menu-surface{}
html.official-glisse .official-mobile-menu-host .lg-menu-content{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-height:none;overflow:visible}
html.official-glisse .official-mobile-menu-host .lg-menu-item{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:0;height:100%;white-space:normal;text-align:center;font-size:12px;font-weight:500;line-height:1.2;color:#f5f5f7!important;}
html.official-glisse .official-mobile-menu-host .lg-menu-item svg{width:25px;height:25px;flex-shrink:0;color:#eeeef1}
html.official-glisse .official-mobile-menu-host .lg-menu-item:focus-visible{outline:1px solid #fff9;outline-offset:-2px}
html.official-glisse .official-mobile-menu-host .lg-menu-plate{background:#ffffff21!important;box-shadow:inset 0 1px 0 #ffffff30!important;}
html.official-glisse .official-mobile-menu-host .lg-menu-separator{display:none}
.official-module-icon{display:flex;align-items:center;justify-content:center}
.official-mali-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:100%}
.official-mali-logo{display:block;background-size:contain;background-position:center;background-repeat:no-repeat}
.official-mali-tile small{font-size:11px;}
.official-library-selector .lg-tab,.official-library-selector .lg-tab-copy{font-size:13px!important}
}
@media(max-width:900px) and (max-height:500px){html.official-glisse .official-mobile-menu-host .lg-menu-card{}html.official-glisse .official-mobile-menu-host .lg-menu-content{}}

@media(max-width:900px){html.official-glisse .official-mobile-menu-host .lg-menu-item{}html.official-glisse .official-mobile-menu-host .lg-menu-item:is(:hover,:focus-visible){background:rgba(255,255,255,.13)!important}}

/* grid46: concentric corners and breathing room, MALI brand accent. */
@media(max-width:900px){
html.official-glisse .official-mobile-menu-host .lg-menu-card{width:min(420px,calc(100vw - 32px));right:4px;border-radius:32px}
html.official-glisse .official-mobile-menu-host .lg-menu-surface{border-radius:32px}
html.official-glisse .official-mobile-menu-host .lg-menu-content{padding:18px;gap:10px;grid-auto-rows:clamp(60px,8.8dvh,74px)}
html.official-glisse .official-mobile-menu-host .lg-menu-item{border-radius:14px;padding:8px 5px;background:rgba(255,255,255,.055)!important;gap:8px}
html.official-glisse .official-mobile-menu-host .lg-menu-plate{border-radius:14px}
html.official-glisse .official-mobile-menu-host .lg-menu-item:has(.official-mali-tile){}
.official-mali-logo{width:min(80px,100%);height:29px}.official-mali-tile small{color:#f4eee5}
}
@media(max-width:900px) and (max-height:500px){html.official-glisse .official-mobile-menu-host .lg-menu-card{width:min(660px,calc(100vw - 32px))}html.official-glisse .official-mobile-menu-host .lg-menu-content{grid-template-columns:repeat(6,minmax(0,1fr));grid-auto-rows:62px;padding:16px;gap:8px}}

/* grid47: MALI's coffee at rest, burgundy on press; a single native Glisse rim. */
@media(max-width:900px){
html.official-glisse .official-mobile-menu-host .lg-menu-surface{--lg-edge:rgba(255,255,255,.08);border:0!important;}
html.official-glisse .official-mobile-menu-host .lg-menu-item:has(.official-mali-tile){background:#6d5a45!important;box-shadow:inset 0 0 0 .5px #ffffff20;transition:background-color var(--dur-press) ease-out}
html.official-glisse .official-mobile-menu-host .lg-menu-item:has(.official-mali-tile):active,html.official-glisse .official-mobile-menu-host .lg-menu-card[data-pressed] .lg-menu-item:has(.official-mali-tile):hover{background:#713743!important}
}

/* One floating operation capsule across MAKING ID and MALI. */
#osOperationStatus{display:none!important}
#osOperationCapsule{
 position:fixed;z-index:16000;inset:auto;top:max(22px,calc(env(safe-area-inset-top,0px) + 12px));left:50%;translate:-50% 0;
 display:flex;align-items:center;gap:22px;width:min(420px,calc(100vw - 32px));box-sizing:border-box;padding:16px 18px 16px 24px;
 border-radius:34px;isolation:auto;overflow:hidden;pointer-events:none;
 background:rgba(31,31,33,.91)!important;color:#f5f5f7!important;
 border:1px solid rgba(255,255,255,.23);backdrop-filter:blur(24px) saturate(145%);-webkit-backdrop-filter:blur(24px) saturate(145%);
 box-shadow:inset 0 1px 1px rgba(255,255,255,.24),inset 0 -1px 1px rgba(0,0,0,.2),0 12px 36px rgba(0,0,0,.22),0 2px 6px rgba(0,0,0,.12);
 font-family:inherit;text-align:left;line-height:1.25;transform-origin:50% 0;
}
#osOperationCapsule[hidden]{display:none!important}
#osOperationCapsule .os-capsule-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px}
#osOperationCapsule .os-capsule-context{font-size:11px;line-height:1.2;letter-spacing:.09em;font-weight:600;color:#b7b7bd}
#osOperationCapsule .os-capsule-title{display:block;font-size:15px;line-height:1.3;font-weight:650;letter-spacing:-.015em;color:#f5f5f7;overflow-wrap:anywhere}
#osOperationCapsule .os-capsule-detail{display:block;font-size:12px;line-height:1.35;font-weight:400;letter-spacing:0;color:#bcbcc2}
#osOperationCapsule .os-capsule-indicator{display:block;flex:0 0 48px;width:48px;height:48px;color:#32d74b}
#osOperationCapsule svg{display:block;width:48px;height:48px;overflow:visible}
#osOperationCapsule circle{stroke-width:3.5;transform-origin:24px 24px}
#osOperationCapsule .os-capsule-track{stroke:currentColor;opacity:.16}
#osOperationCapsule .os-capsule-progress{stroke:currentColor;stroke-linecap:round;stroke-dasharray:84 126;animation:os-capsule-turn var(--dur-spin) linear infinite}
#osOperationCapsule .os-capsule-check,#osOperationCapsule .os-capsule-cross{stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;opacity:0;transition:opacity var(--dur-exit) ease}
#osOperationCapsule[data-state=done] .os-capsule-progress,#osOperationCapsule[data-state=error] .os-capsule-progress{animation:none;stroke-dasharray:126 126;transform:rotate(-90deg)}
#osOperationCapsule[data-state=done] .os-capsule-check{opacity:1;stroke-dasharray:30;animation:os-capsule-draw var(--dur-fragment) ease-out both}
#osOperationCapsule[data-state=error] .os-capsule-indicator{color:#ff453a}
#osOperationCapsule[data-state=error] .os-capsule-cross{opacity:1;animation:os-capsule-reveal var(--dur-exit) ease-out both}
@keyframes os-capsule-turn{to{transform:rotate(360deg)}}
@keyframes os-capsule-draw{from{stroke-dashoffset:30}to{stroke-dashoffset:0}}
@keyframes os-capsule-reveal{from{opacity:0}to{opacity:1}}
@media(max-width:700px){#osOperationCapsule{top:max(76px,calc(env(safe-area-inset-top,0px) + 68px));padding:14px 16px 14px 20px;gap:14px;border-radius:30px}#osOperationCapsule .os-capsule-title{font-size:14px}}
@media(prefers-reduced-motion:reduce){#osOperationCapsule .os-capsule-progress{animation:none;transform:rotate(-90deg)}#osOperationCapsule .os-capsule-check,#osOperationCapsule .os-capsule-cross{animation:none!important;transition:none}}
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more){#osOperationCapsule{background:#242426!important;backdrop-filter:none;-webkit-backdrop-filter:none;border-color:#8e8e93}}
@media print{#osOperationCapsule{display:none!important}}

/* Desktop sidebar: one structural material, quiet rows, one selected destination. */
@media screen and (min-width:901px){
 html.official-glisse[data-theme] body #app .shell>.side{
  padding:24px 16px 18px!important;gap:0!important;border-radius:36px!important;
  background-color:#0c0c0f!important;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAS3UlEQVR42o2diXIcNxBD0fj/f3Y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rXtFKZqTXL7W7QSEhCFsCFzxOnYXSb9o4MPFUWoHJQnSoJzhi6HfUZlaAysGgomiqQjxzRhejgkDXT1iHLjJwsusYBroKpH03LN5ltIyoQ6cSE6odUthRh24Y30/j6xvfvJR67ZAEwTC8gSNnp/mCCZMHBNGgfiCTuJoyuoRECkmkvKDXvgl712DwcqA0zc6YBd+T25241yINFI3nLZm/4j2F451CZtDYMhVCxBfL6vW48WLLohE+A8NiaXo64UbTzhFz6Q/ooLZ29De6zgvl11bWChOkuMuHSfql4ieTeKKugSql4YMD/K9gOC2ZBp3DOohFEsxl5tlncIp0I3B+MVurSP7WDcqYX2SRBpKdJIQSTwR222E50ING89NBQJlL6ZCDpccRH3RDmiIDp+Bm6oatTIZncpm3uTxqJzmB0IuO0yLh2JI5Al9OVtshhi53IZ04qpI8dWGk6vFXIPNrI/INliaBA3JNX4cJVe0Ei2mHRQD3TZADGk+KwLhNl38f6JwWSjimSjBink6woLHvAwM4hvhg0g6VmlplbIKB8SK6U0VwkFC0YXcQdUl8wNAuAJeOEEyDlauSSFXcgS4WH5KBq2FOvyg10Fl5GZJB0kmVXEcnZwi6dZdzxBqO9pa3XLrHAdfkABVItOKyd4LquG3VAd2OCno5MOiD5lY0tQJVeXRkez0M7sJJE6m/1HsizIeg0zTZwXTA7IbxXC4ArEQma/ApkECKEmJSlzRLVDBnYi7mFCpC6NAJkUUKduDrNVctD7ApHQleHYRQfRDH2g68UYNuKYEWM52LMRDDC3wO0bnAxXqECwKOyBJEAKQZ11EegOm0Rkg3O5L6Oe4qJg+ay0Bnz5DbXTQsHBi8IeUETXzRHmArMKcb0IIpnMWo2DJVTgta89lIMNtkGKAhIlusaSwNneJabrZISVE8z0gngkqP5hBNcb2ToGwAcv/7s/8A7AP7EDZJSLwAAAAASUVORK5CYII="),radial-gradient(ellipse 105% 72% at 50% 26%,#242329 0%,#17171b 56%,#0b0b0d 100%)!important;background-size:96px 96px,100% 100%!important;background-repeat:repeat,no-repeat!important;
  border:1px solid rgba(255,255,255,.025)!important;
  backdrop-filter:blur(28px) saturate(125%)!important;-webkit-backdrop-filter:blur(28px) saturate(125%)!important;
  box-shadow:inset 0 1px 1px #ffffff08,inset 0 12px 22px -17px #ffffff12,inset 10px 0 18px -18px #ffffff0b,inset -10px 0 18px -18px #ffffff06,inset 0 -12px 24px -15px #000,0 28px 38px -20px #0008,0 8px 18px -10px #0005!important;
  animation:none!important;transition:none!important;
 }
 html.official-glisse[data-theme] body #app .shell>.side>.brand{flex:0 0 auto;max-height:32px!important;width:178px!important;max-width:100%!important;object-fit:contain;margin:4px auto 24px!important}
 html.official-glisse[data-theme] body #app .shell>.side #nav{
  flex:1 1 0!important;min-height:0!important;display:flex!important;flex-direction:column!important;
  gap:4px!important;align-content:start!important;padding:2px 4px!important;margin:0 -4px!important;overflow:visible!important;
 }
 html.official-glisse[data-theme] body #app .shell>.side #nav>button{
  --lg-glass-bend:.2;--lg-glass-dispersion:0;--lg-rim-shine:.013;--lg-edge:rgba(255,255,255,.006);
  position:relative;isolation:auto;box-sizing:border-box;width:100%!important;height:auto!important;min-height:0!important;max-height:46px!important;
  flex:1 1 46px!important;padding:7px 12px!important;margin:0!important;border:1px solid transparent!important;border-radius:23px!important;
  display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important;
  background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none!important;color:#ddddE3!important;
  font-size:16px!important;line-height:1.25!important;font-weight:550!important;letter-spacing:.005em!important;text-align:left!important;
  animation:none!important;transform:none!important;transition:color var(--dur-press) ease,background-color var(--dur-exit) ease,border-color var(--dur-exit) ease!important;
 }
 html.official-glisse[data-theme] body #app .shell>.side #nav>button::before,html.official-glisse[data-theme] body #app .shell>.side #nav>button::after{content:none!important}
 html.official-glisse[data-theme] body #app .shell>.side #nav>button:is(:hover,:focus-visible,[data-pressed]){
  background-color:#ffffff0e!important;color:#fff!important;
  backdrop-filter:blur(8px) var(--lg-filter,saturate(1.2))!important;-webkit-backdrop-filter:blur(8px) var(--lg-filter,saturate(1.2))!important;
 }
 html.official-glisse[data-theme] body #app .shell>.side #nav>button.active{
  background-color:rgba(97,101,105,.32)!important;background-image:var(--lg-rim,none)!important;background-size:100% 100%!important;
  color:#fff!important;border-color:transparent!important;border-radius:23px!important;font-weight:650!important;
  backdrop-filter:blur(12px) var(--lg-filter,saturate(1.1))!important;-webkit-backdrop-filter:blur(12px) var(--lg-filter,saturate(1.1))!important;
  box-shadow:0 3px 8px rgba(0,0,0,.16)!important;
 }
 html.official-glisse[data-theme] body #app .shell>.side #nav>button:focus-visible{outline:1px solid rgba(255,255,255,.22)!important;outline-offset:2px!important}
 html.official-glisse[data-theme] body #app .shell>.side #nav>button .mid-icon{background:transparent!important;color:inherit!important}
 html.official-glisse[data-theme] body #app .shell>.side #nav>button .mid-nav-label{font-weight:inherit!important;letter-spacing:0!important}
 html.official-glisse[data-theme] body #app .shell>.side #nav>button svg{padding:0!important;overflow:visible!important;width:21px!important;height:21px!important;min-width:21px!important;stroke-width:1.7}
 html.official-glisse[data-theme] body #app .shell>.side #nav>button[aria-label="MALI · Papelería"]{
  justify-content:center!important;background-color:var(--mali-btn,#652E34)!important;background-image:none!important;background-size:100% 100%!important;
  border-color:#cdb49c40!important;box-shadow:inset 0 1px 1px #fff3,0 3px 8px #0003!important;
  flex-basis:44px!important;max-height:44px!important;margin-bottom:14px!important;padding:6px 12px!important;color:white!important;--lg-rim-shine:.16;border-radius:23px!important;
 }
 html.official-glisse[data-theme] body #app .shell>.side #nav>button[aria-label="MALI · Papelería"]:is(:hover,:active,[data-pressed]){background-color:#6f343b!important}
 html.official-glisse[data-theme] body #app .shell>.side #nav>button[aria-label="MALI · Papelería"] .mid-nav-label{height:25px!important;max-height:100%!important;transform:translate(-1px,1px)!important;background-image:var(--mali-logo)!important}
 html.official-glisse[data-theme] body #app .shell>.side>.btn{
  display:flex!important;align-items:center!important;justify-content:center!important;align-self:stretch!important;box-sizing:border-box!important;width:100%!important;max-width:100%!important;
  flex:0 0 auto!important;height:36px!important;min-height:36px!important;margin:14px 0 0!important;padding:6px 12px!important;border-radius:23px!important;font-size:14px!important;text-align:center!important;
  color:#bdbdc5!important;background:transparent!important;border:1px solid transparent!important;box-shadow:none!important;transform:none!important;
  transition:background-color var(--dur-exit) ease,color var(--dur-exit) ease!important;
 }
 html.official-glisse[data-theme] body #app .shell>.side>.btn::before,html.official-glisse[data-theme] body #app .shell>.side>.btn::after{content:none!important}
 html.official-glisse[data-theme] body #app .shell>.side>.btn:is(:hover,:focus-visible){background:#ffffff0e!important;color:white!important;backdrop-filter:blur(8px) var(--lg-filter,saturate(1.2))!important;-webkit-backdrop-filter:blur(8px) var(--lg-filter,saturate(1.2))!important}
}
@media screen and (min-width:901px) and (max-height:760px){
 html.official-glisse[data-theme] body #app .shell>.side{padding:16px 14px 12px!important}
 html.official-glisse[data-theme] body #app .shell>.side>.brand{max-height:26px!important;width:158px!important;margin:2px auto 14px!important}
 html.official-glisse[data-theme] body #app .shell>.side #nav{gap:2px!important}
 html.official-glisse[data-theme] body #app .shell>.side #nav>button{padding-top:3px!important;padding-bottom:3px!important;font-size:15px!important}
 html.official-glisse[data-theme] body #app .shell>.side #nav>button[aria-label="MALI · Papelería"]{margin-bottom:8px!important}
 html.official-glisse[data-theme] body #app .shell>.side>.btn{margin-top:8px!important;height:32px!important;min-height:32px!important}
}
@media screen and (min-width:901px) and (prefers-reduced-transparency:reduce){html.official-glisse[data-theme] body #app .shell>.side{background:#101013!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}}
@media(prefers-reduced-motion:reduce){html.official-glisse[data-theme] body #app .shell>.side #nav>button{transition:none!important}}

/* Use the optical rim painted by Glisse, with weight appropriate to each surface. */
html.official-glisse {
  --os-rim-control:.24;
  --os-rim-menu:.36;
  --os-rim-window:.34;
}
html.official-glisse[data-theme=dark] {
  --os-rim-control:.16;
  --os-rim-menu:.24;
  --os-rim-window:.24;
}
html.official-glisse :is(.lg-button,.lg-tab-bar-glass,.lg-tab-lens) {
  --lg-rim-shine:var(--os-rim-control);
}
html.official-glisse .official-menu-host .lg-menu-surface {
}
html.official-glisse .official-notice-glass {
}
html.official-glisse :is(.lg-button,.official-menu-host .lg-menu-surface,.official-notice-glass)[data-rim] {
  
}
html.official-glisse .official-notice-glass[data-rim] {
  box-shadow:0 16px 48px #19192324!important;
}
html.official-glisse .official-menu-host .lg-menu-surface[data-rim] {
}
@media (prefers-reduced-transparency:reduce) {
  html.official-glisse :is(.lg-button,.lg-tab-bar-glass,.lg-tab-lens,.official-menu-host .lg-menu-surface,.official-notice-glass) {
  }
}
@media (max-width:900px) {
  html.official-glisse .official-mobile-menu-host .lg-menu-surface {
  }
}

/* Sample the dashboard at the dialog boundary, beneath the Glisse rim and content. */
html.official-glisse[data-theme] body #app #modal>#dialog.dialog:has(.official-glass-host, > .notice-inbox, > .pw .pw-detail-header, > .paper-modal) {
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
  outline:none;
}
html.official-glisse .official-notice-glass {
  --lg-glass:rgba(250,250,252,.58);
  --os-rim-window:1;
  --lg-rim-shine:1!important;
  --lg-blur:3.5px;
  -webkit-backdrop-filter:blur(3.5px)!important;
  backdrop-filter:blur(3.5px)!important;
  box-shadow:inset 0 0 0 1px #ffffffa0,inset 0 -1px 2px #25253038!important;
}
html.official-glisse[data-theme=dark] .official-notice-glass {
  --lg-glass:rgba(28,28,31,.72);
  --os-rim-window:1;
  box-shadow:inset 0 0 0 1px #ffffff46,inset 0 -1px 2px #0008!important;
}
@media (prefers-reduced-transparency:reduce),(prefers-contrast:more) {
  html.official-glisse[data-theme] body #app #modal>#dialog.dialog:has(.official-glass-host, > .notice-inbox, > .pw .pw-detail-header, > .paper-modal) {
    -webkit-backdrop-filter:none!important;
    backdrop-filter:none!important;
  }
  html.official-glisse .official-notice-glass {--lg-glass:#fafafc;}
  html.official-glisse[data-theme=dark] .official-notice-glass {--lg-glass:#1c1c1f;}
}

/* Keep the live backdrop available to the glass during dialog motion. */
html.official-glisse #app #modal:has(.official-glass-host, #dialog form) {
  animation: none !important;
}
html.official-glisse .dw-home:has(.optical-dock) {
  animation-fill-mode: backwards !important;
}
html.official-glisse .optical-dock button:is(:hover, :focus-visible) {
  box-shadow: inset 0 0 0 1px currentColor;
}

/* MAKING ID: respuesta de la barra inferior */
html body #app .dw-quick button:is(:hover,:focus-visible,[aria-expanded="true"]){background-color:rgba(28,28,30,.12)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.52),0 1px 5px rgba(0,0,0,.08)!important;}
html[data-theme="dark"] body #app .dw-quick button:is(:hover,:focus-visible,[aria-expanded="true"]){background-color:rgba(255,255,255,.18)!important;}

/* Avisos compactos */
html body #app .mid-utilities-panel.notice-popover{padding:16px!important;box-sizing:border-box;overscroll-behavior:contain}
html body #app .notice-popover .notice-bulk,html body #app .notice-popover .notice-inbox-actions{display:flex!important;align-items:center;flex-wrap:wrap;gap:6px}
html body #app .notice-popover button{width:auto!important;min-height:34px!important;padding:5px 10px!important;font-size:13px!important}
html body #app .notice-popover .notice-inbox-item{display:grid!important;grid-template-columns:24px minmax(0,1fr)!important;gap:8px!important;border:0!important;border-bottom:1px solid rgba(127,127,127,.25)!important;border-radius:0!important;background:transparent!important;padding:10px 0!important}
html body #app .notice-popover .notice-inbox-item > :last-child{grid-column:2;display:flex!important;flex-wrap:wrap;gap:6px}
html body #app .notice-popover .notice-inbox header p{display:none}

/* Assistant lens: tint only while interacting. */
@keyframes midAssistantFlow{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
html body #app .dw-quick>button[data-dw=assistant]:is(:hover,:focus-visible,[aria-expanded=true]),html[data-theme=dark] body #app .dw-quick>button[data-dw=assistant]:is(:hover,:focus-visible,[aria-expanded=true]){background:linear-gradient(110deg,#064caa,#005dc7,#1650b6,#393da3,#064caa)!important;background-size:260% 100%!important;color:#fff!important;border-color:#8ec8ff!important;box-shadow:inset 0 1px 2px #ffffff96,inset 0 -1px 3px #001b5866,0 4px 12px #006be14d!important;animation:midAssistantFlow var(--dur-ambient) ease-in-out infinite!important}
@media(prefers-reduced-motion:reduce){html body #app .dw-quick>button[data-dw=assistant]:is(:hover,:focus-visible,[aria-expanded=true]),html[data-theme=dark] body #app .dw-quick>button[data-dw=assistant]:is(:hover,:focus-visible,[aria-expanded=true]){animation:none!important}}

/* Project clarity — retain current layout and materials. */



html body .pw-toolbar :is(button,summary):is(:hover,:focus-visible){background:var(--wine)!important;color:white!important;box-shadow:inset 0 1px 1px #ffffff55,0 3px 10px #73160f25!important}
html body .pw-tabs [role=tab]:is(:hover,:focus-visible){background:#1d1d1f18!important;color:var(--text,#1d1d1f)!important}
html body .pw-tabs [role=tab][aria-selected=true]{background:var(--text,#1d1d1f)!important;color:var(--bg,#fff)!important;font-weight:700!important}
html body .pw-steps button[aria-current=step]{background:var(--wine)!important;color:#fff!important}
html body .pw-event-schedule{padding:20px;border-radius:24px;background:var(--card,#ffffffb3);margin:20px 0;display:grid;gap:12px}
html body .pw-event-schedule .pw-date-time{margin:0!important}
html body .pw-optional-schedule{display:grid;gap:12px}
html body .pw-same-day-note{font-size:14px;color:var(--muted,#6e6e73)}

html[data-theme=dark] body .pw-tabs [role=tab]:is(:hover,:focus-visible){background:#ffffff22!important;color:#fff!important}
html body .pw-event-schedule label[hidden]{display:none!important}
@media(max-width:650px){html body .pw-event-schedule{padding:16px}}




html body .pw-quick-equipment{max-height:35vh;overflow:auto;display:grid;gap:8px;margin:16px 0}
html body .pw-quick-equipment>label{display:flex;align-items:center;gap:12px;padding:12px;border-radius:16px;background:var(--card,#fff)}
html body .pw-quick-equipment>label[hidden]{display:none}
html body .pw-quick-equipment input[type=checkbox]{width:22px;flex:0 0 22px}
html body .pw-quick-equipment span{flex:1;min-width:0;display:grid;gap:5px}
html body .pw-quick-equipment small{color:var(--muted,#6e6e73)}
html body .pw-quick-equipment input[type=number]{width:70px;flex:0 0 70px}



/* Brand correction: neutral dates; opaque official accent, never a pink wash. */





/* Shared menu material and readable project navigation. */
html body .official-create-menu>.lg-button{background-color:var(--wine)!important;color:#fff!important;--lg-tint:var(--wine)}
html body .official-create-menu .lg-menu-card{min-width:280px;max-width:calc(100vw - 24px)}
html body .official-create-menu .lg-menu-glyph{color:#fff}
html body .official-selector .lg-tab{border-radius:999px!important;transition:background-color var(--dur-press) ease,color var(--dur-press) ease!important}
@media(hover:hover){html body .official-selector .lg-tab:not([aria-selected=true]):not([aria-checked=true]):hover{background:rgba(29,29,31,.12)!important;color:#1D1D1F!important}}
html body .official-selector .lg-tab:focus-visible{outline:2px solid var(--wine)!important;outline-offset:-3px}

html body .library-date-day{width:54px;min-width:54px;aspect-ratio:1;background:#F2F2F7;border-radius:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:23px;font-weight:700;line-height:1.05;letter-spacing:-.6px}
html body .library-date-day small{font:600 11px/1.4 Arial,sans-serif;text-transform:uppercase;letter-spacing:.5px;color:#6E6E73}
html body .library-date-copy{display:flex;flex-direction:column;gap:3px;font-size:14px;line-height:1.35;letter-spacing:normal;white-space:nowrap}
html body .library-date-copy b{font:600 14px/1.35 Arial,sans-serif!important;letter-spacing:normal!important;text-transform:capitalize}
html body .library-date-copy>span{font:400 13px/1.4 Arial,sans-serif;color:#6E6E73;white-space:nowrap}
[data-theme=dark] .official-selector .lg-tab:not([aria-selected=true]):hover{background:rgba(255,255,255,.15)!important;color:white!important}
[data-theme=dark] .library-date-day{background:#2C2C2E!important}

/* Create keeps the same lens and rim as More, with the brand tint. */
html body .library-date-group{display:flex;align-items:center;gap:10px;margin:18px 18px 2px;font-size:17px;letter-spacing:-.3px;color:#1d1d1f}
html body .library-date-group small{font:500 12px/1 Arial,sans-serif;color:#6e6e73;background:#f2f2f7;padding:5px 8px;border-radius:20px}
html body .pw-select-all{padding:14px 0;border-bottom:1px solid #d8d8df;margin-bottom:8px;font-weight:600}
html[data-theme=dark] body .library-date-group{color:#f5f5f7}

/* Keep the brand accent deep under the optical rim, including its trigger. */
html.official-glisse .official-create-host>.lg-menu>.lg-button{background-color:var(--wine)!important;--lg-rim-shine:.45;color:#fff!important}

/* Dark Create menu: shared Glisse optics with neutral dark material. */
html.official-glisse .official-create-host{--lg-foreground:#f5f5f7;--lg-highlight:rgba(255,255,255,.12);--lg-surface-edge:rgba(255,255,255,.18)}
html.official-glisse .official-create-host .lg-menu-surface{}
html.official-glisse .official-create-host .lg-menu-content{color:#f5f5f7!important}
html.official-glisse .official-create-host .lg-menu-item:is(:hover,:focus-visible){background:rgba(255,255,255,.12)!important;color:#fff!important}

/* Date accents describe timing; red belongs to the past-open heading. */
html body .library-date-group.is-past-open{color:var(--wine)}
html body .library-date-group.is-past-open small{color:var(--wine);background:transparent}



html body .library-date-copy>small{font:600 10px/1.3 inherit;letter-spacing:.03em;color:#6e6e73}
html body .library-date-copy>.library-date-context{white-space:normal;max-width:190px;font-size:11px}
html[data-theme=dark] body .library-date-group.is-past-open{color:#ff6961}
/* Keep Create available on mobile; the menu scrolls inside the viewport. */
@media(max-width:900px){
 html.official-glisse .top-actions>.official-menu-host.official-create-host:not(.official-mobile-menu-host){display:inline-flex!important}
 html.official-glisse .official-create-host .lg-menu-card{min-width:min(300px,calc(100vw - 32px));max-width:calc(100vw - 32px)}
 html.official-glisse .official-create-host .lg-menu-content{max-height:calc(100dvh - 150px);overflow-y:auto;overscroll-behavior:contain}
}

/* Red dates and red past-open heading coexist; upcoming dates keep their tones. */





/* Shared Glisse action menus: original Menu spring, same material as More. */
.os-context-host{display:inline-flex;flex:none;vertical-align:middle}
.os-context-host .lg-button{min-width:44px;min-height:44px}
#osContextPortal{display:contents}
#osContextPortal .os-context-card{z-index:10060!important;right:auto;bottom:auto;width:min(320px,calc(100vw - 24px));color:var(--text,#1d1d1f);font:inherit}
#osContextPortal .lg-menu-content{padding:8px;gap:2px;max-height:inherit;overflow-y:auto;overscroll-behavior:contain}
#osContextPortal .lg-menu-item{min-height:44px;padding:10px 14px;gap:12px;font-size:15px;line-height:1.3;text-align:left;white-space:normal}
#osContextPortal .lg-menu-item svg{width:20px;height:20px}
#osContextPortal .lg-menu-surface{border-radius:24px;}
html[data-theme=dark] #osContextPortal .lg-menu-surface{}
html[data-theme=dark] #osContextPortal .os-context-card{color:#f5f5f7}
#osContextPortal .lg-menu-item:hover,#osContextPortal .lg-menu-item:focus-visible{background:var(--lg-highlight,rgba(118,118,128,.16));outline:none}
#osContextPortal .lg-menu-item[data-destructive]{color:#e53935}

/* Single material contract — approved Glisse optics, consistent weight by role. */
html.official-glisse {
 --os-glass-menu:rgba(245,245,247,.78);
 --os-glass-sheet:rgba(250,250,252,.78);
 --os-glass-dark:rgba(25,25,28,.86);
 --os-glass-edge:rgba(255,255,255,.75);
 --os-glass-shadow:0 20px 52px rgba(25,25,35,.19),0 3px 8px rgba(25,25,35,.10);
}
html.official-glisse[data-theme=dark] {
 
 
}
html.official-glisse body #osContextPortal .lg-menu-surface,
html.official-glisse body :is(.official-menu-host:not(.official-mobile-menu-host):not(.official-create-host) .lg-menu-surface,.os-choice-card .lg-menu-surface,.os-date-popover) {
 
 
 
}
html.official-glisse body .official-notice-glass {
 --lg-glass:var(--os-glass-sheet)!important;--lg-blur:6px!important;--lg-rim-shine:.65!important;
 background-color:var(--os-glass-sheet)!important;background-image:var(--lg-rim,none)!important;
 background-size:100% 100%!important;background-repeat:no-repeat!important;
 -webkit-backdrop-filter:blur(6px) saturate(1.25)!important;backdrop-filter:blur(6px) saturate(1.25)!important;
 box-shadow:var(--os-glass-shadow),inset 0 0 0 1px var(--os-glass-edge)!important;
}
@media(max-width:900px){
 html.official-glisse body .official-mobile-menu-host .lg-menu-surface,
 html.official-glisse body .official-create-host .lg-menu-surface {
  
  
 }
 #app #dialog :is(.pw,.paper-modal){min-width:0;overflow-wrap:anywhere}
 #app #dialog .official-tabs-host{min-width:0;max-width:100%}
}
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more){
 html.official-glisse body :is(.official-menu-host .lg-menu-surface,.os-choice-card .lg-menu-surface,.os-date-popover,.official-notice-glass){
 }
 html.official-glisse[data-theme=dark] body :is(.official-menu-host .lg-menu-surface,.os-choice-card .lg-menu-surface,.os-date-popover,.official-notice-glass),
 html.official-glisse body :is(.official-mobile-menu-host,.official-create-host) .lg-menu-surface{}
}
/* The same clear material for ordinary forms, without a second glass layer. */
html.official-glisse body #app #modal>#dialog.dialog:not(:has(.official-notice-glass,.md-editorial,.paper-document)){
 background-color:var(--os-glass-sheet)!important;background-image:none!important;
 -webkit-backdrop-filter:blur(6px) saturate(1.25)!important;backdrop-filter:blur(6px) saturate(1.25)!important;
 border:1px solid var(--os-glass-edge)!important;
 box-shadow:var(--os-glass-shadow),inset 0 1px 1px rgba(255,255,255,.55),inset 0 -1px 1px rgba(255,255,255,.14)!important;
}
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more){
 html.official-glisse body #app #modal>#dialog.dialog:not(:has(.official-notice-glass,.md-editorial,.paper-document)){background-color:#fafafc!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
 html.official-glisse[data-theme=dark] body #app #modal>#dialog.dialog:not(:has(.official-notice-glass,.md-editorial,.paper-document)){background-color:#1c1c1f!important}
}
/* Action labels must fit at every width and text size; never crop multiple lines. */
html body #app :is(.paper-workspace .paper-quick,.paper-workspace .paper-actions,.paper-modal .dialog-foot) > button.btn{
 box-sizing:border-box!important;height:auto!important;min-height:44px!important;max-height:none!important;
 padding:12px 20px!important;line-height:1.25!important;white-space:normal!important;
 overflow:visible!important;overflow-wrap:break-word;word-break:normal;
 display:inline-flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;
}
html body #app .paper-workspace .paper-quick:has(>[data-paper=vendor-add-cost]){
 align-items:stretch;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;
}
@media(max-width:480px){
 html body #app .paper-workspace .paper-quick:has(>[data-paper=vendor-add-cost]){grid-template-columns:minmax(0,1fr)}
}

/* Dark material: deep neutral substrate, live Glisse rim and readable raised controls. */
html.official-glisse[data-theme=dark]{
 
 --os-glass-shadow:0 24px 56px #0007,0 4px 12px #0004;
}
html.official-glisse[data-theme=dark] body :is(.official-menu-host .lg-menu-surface,.os-choice-card .lg-menu-surface,.os-date-popover,#osContextPortal .lg-menu-surface){
 
 color:#f5f5f7;
}
html.official-glisse[data-theme=dark] body .official-notice-glass{
 background-color:var(--os-glass-sheet)!important;--lg-glass:var(--os-glass-sheet)!important;--lg-rim-shine:1!important;
 backdrop-filter:blur(12px) saturate(1.25)!important;-webkit-backdrop-filter:blur(12px) saturate(1.25)!important;
 box-shadow:var(--os-glass-shadow),inset 0 1px 1px #ffffff36,inset 0 0 0 1px #ffffff24,inset 0 -1px 1px #0008!important;
}
html.official-glisse[data-theme=dark] body :is(.lg-button:not(.primary):not(.oa-primary),.lg-tab-bar,.lg-segmented){--lg-glass:rgba(24,24,27,.6);--lg-rim-shine:.7;}
html.official-glisse[data-theme=dark] body .official-menu-host .lg-menu-plate{background:#ffffff20!important;box-shadow:inset 0 1px #ffffff24!important;}
html.official-glisse[data-theme=dark] body #view :is(.card){background-color:#18181b!important;box-shadow:inset 0 1px 0 #ffffff0d,0 8px 24px #0002!important;border-color:#ffffff12!important;}
html.official-glisse[data-theme=dark] body .paper-workspace{--paper-card:#1c1918;--paper-line:#ffffff1f;--paper-text:#f2e9df;}
html.official-glisse[data-theme=dark] body #view .paper-workspace .card{background-color:#1c1918!important;}
html.official-glisse[data-theme=dark] body .paper-workspace .paper-nav{background:rgba(28,24,22,.66)!important;backdrop-filter:blur(14px) saturate(1.2)!important;-webkit-backdrop-filter:blur(14px) saturate(1.2)!important;box-shadow:0 12px 30px #0004,inset 0 1px #ffffff32,inset 0 0 0 1px #ffffff1f!important;}
html.official-glisse[data-theme=dark] body :is(.optical-dock,#midcitoLauncher){background-color:rgba(17,17,20,.72)!important;backdrop-filter:blur(14px) saturate(1.25)!important;-webkit-backdrop-filter:blur(14px) saturate(1.25)!important;box-shadow:0 12px 32px #0006,inset 0 1px #ffffff36,inset 0 0 0 1px #ffffff23!important;}
/* Every modal clears iPhone status/Dynamic Island, including when safe-area reports zero. */
@media(max-width:600px){
 html body #app #modal:not(.hidden):not(:has(.midcito-context)){position:fixed!important;inset:max(76px,calc(env(safe-area-inset-top,0px) + 16px)) 0 max(16px,calc(env(safe-area-inset-bottom,0px) + 12px))!important;padding:0 12px!important;align-items:flex-start!important;box-sizing:border-box!important;overflow:hidden!important;}
 html body #app #modal>#dialog.dialog:not(:has(.midcito-context)){min-height:0!important;max-height:100%!important;margin:0!important;box-sizing:border-box!important;}
 html body #app #modal>#dialog.dialog:not(:has(.midcito-context)) .official-notice-glass{max-height:calc(100dvh - max(76px,calc(env(safe-area-inset-top,0px) + 16px)) - max(16px,calc(env(safe-area-inset-bottom,0px) + 12px)))!important;overflow-y:auto!important;}
}
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more){
 html.official-glisse[data-theme=dark] body :is(.official-menu-host .lg-menu-surface,.os-choice-card .lg-menu-surface,.os-date-popover,#osContextPortal .lg-menu-surface,.official-notice-glass){}
}

html.official-glisse[data-theme=dark] body .paper-workspace .paper-nav button:not(.active){background:transparent!important;box-shadow:none!important;border-color:transparent!important;color:#d2c8be!important;}
html.official-glisse[data-theme=dark] body .paper-workspace .paper-nav button.active{background:rgba(255,255,255,.12)!important;box-shadow:inset 0 1px #ffffff24,0 3px 9px #0003!important;color:#fff!important;}
html.official-glisse[data-theme=dark] body .paper-workspace .paper-nav button:not(.active):hover{background:#ffffff0d!important;color:#fff!important;}

body:has(#modal:not(.hidden)) #midcitoLauncher,body:has(#modal:not(.hidden)) #osAssistantNudge{display:none!important;}
@media(max-width:600px){
 html.official-glisse[data-theme] body #app #modal>#dialog.dialog:not(:has(.midcito-context)){max-height:calc(100dvh - max(76px,calc(env(safe-area-inset-top,0px) + 16px)) - max(16px,calc(env(safe-area-inset-bottom,0px) + 12px)))!important;min-height:0!important;}
 html.official-glisse[data-theme] body #app #modal>#dialog.dialog:has(.official-glass-host):not(:has(.midcito-context)){padding:0!important;height:auto!important;}
 html.official-glisse[data-theme] body #app #modal>#dialog.dialog:not(:has(.midcito-context)) .official-glass-host{height:auto!important;max-height:inherit!important;}
}

/* Dark clear glass: Glisse optics remain live; ink stays on the foreground layer. */
html.official-glisse[data-theme=dark]{--os-glass-menu:rgba(9,9,12,.54);--os-glass-sheet:rgba(13,13,16,.66);--os-glass-dark:rgba(9,9,12,.62);--os-glass-edge:rgba(255,255,255,.34);}
html.official-glisse[data-theme=dark] body :is(.official-menu-host .lg-menu-surface,.os-choice-card .lg-menu-surface,.os-date-popover,#osContextPortal .lg-menu-surface,.official-notice-glass){
 
}
html.official-glisse[data-theme=dark] body :is(button.btn,.lg-button):not(.primary):not(.oa-primary):not(.lg-menu-item):not([data-destructive]){
 --lg-glass:rgba(24,24,28,.42)!important;--lg-blur:8px!important;--lg-rim-shine:1!important;
 background-color:rgba(24,24,28,.42)!important;background-image:var(--lg-rim,none)!important;background-size:100% 100%!important;
 color:#f5f5f7!important;border-color:#ffffff28!important;
 backdrop-filter:blur(8px) var(--lg-filter,saturate(1.25))!important;-webkit-backdrop-filter:blur(8px) var(--lg-filter,saturate(1.25))!important;
 box-shadow:0 4px 12px #0004,inset 0 1px 1px #ffffff40,inset 0 0 0 .5px #ffffff20,inset 0 -1px 1px #0009!important;
}
html.official-glisse[data-theme=dark] body :is(button.btn,.lg-button):not(.primary):not(.lg-menu-item):hover{background-color:rgba(60,60,66,.45)!important;}
html.official-glisse[data-theme=dark] body :is(button.btn.primary,.official-create-host .lg-button){background-color:var(--wine-dark)!important;--lg-tint:var(--wine-dark)!important;color:#fff!important;--lg-rim-shine:1!important;box-shadow:0 4px 12px #0004,inset 0 0 0 1px rgba(255,255,255,.28),inset 0 1px 1px #ffffff50,inset 0 -1px 1px #0006!important;}
html.official-glisse[data-theme=dark] body .paper-workspace .btn.primary{background-color:#763546!important;}
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more){
 html.official-glisse[data-theme=dark] body :is(button.btn,.lg-button,.lg-menu-surface,.official-notice-glass){}
}


/* Brand header is a stable surface; optical material belongs to controls/overlays. */
@media(max-width:600px){
 html.official-glisse[data-theme=dark] body #app .shell>.main>.top{background:#111113!important;background-image:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none!important;border-bottom:1px solid #ffffff12!important;}
 html.official-glisse[data-theme=dark] body #midcitoLauncher{transform:scale(.88);transform-origin:bottom right;right:16px!important;bottom:max(18px,calc(env(safe-area-inset-bottom) + 10px))!important;border:1px solid #ffffff2b!important;}
}

html.official-glisse[data-theme=dark] body #app .official-create-menu>button.lg-button{background-color:var(--wine-dark)!important;--lg-glass:var(--wine-dark)!important;color:#fff!important;background-image:var(--lg-rim,none)!important;box-shadow:0 4px 12px #0004,inset 0 0 0 1px rgba(255,255,255,.28),inset 0 1px 1px #ffffff45,inset 0 -1px 1px #0007!important;}

/* A reflected edge, not a white outline. */
html.official-glisse[data-theme=dark] body #app :is(.official-menu-host .lg-menu-surface,.official-create-menu .lg-menu-surface,.os-choice-card .lg-menu-surface,#osContextPortal .lg-menu-surface){}

/* One optical layer: remove legacy painted highlights from dark controls. */
html.official-glisse[data-theme=dark] body #app .lg-button::after{background:none!important;box-shadow:none!important;opacity:0!important;}
html.official-glisse[data-theme=dark] body #app :is(.lg-button:not(.primary),button.btn:not(.primary)):not(.lg-menu-item){box-shadow:0 3px 10px #0003,inset 0 1px .5px #ffffff20,inset 0 -1px #0005!important;--lg-rim-shine:.35!important;}
html.official-glisse[data-theme=dark] body #app :is(.lg-menu-surface,.official-notice-glass){}
html.official-glisse[data-theme=dark] body #app .official-menu-host .lg-menu-surface{}
html.official-glisse[data-theme] body #midcitoLauncher{background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;transform:none!important;}

html.official-glisse[data-theme=dark] body #app #modal>#dialog.dialog:not(:has(.official-glass-host)){border-color:transparent!important;outline:none!important;box-shadow:0 24px 70px #0007!important;}
html.official-glisse[data-theme=dark] body #app #dialog :is(.official-glass-host,.official-notice-glass){border-color:transparent!important;--lg-rim-shine:.22!important;box-shadow:0 14px 40px #0005,inset 0 1px .5px #ffffff18!important;}

/* Shared menu material. All OS/MALI action, choice and date menus use this layer. */
html.official-glisse{--os-menu-rim:.50;--os-menu-edge:rgba(255,255,255,.42);--os-menu-depth:0 20px 48px #17172426,0 3px 10px #17172412;}
html.official-glisse[data-theme=dark]{--os-menu-fill:rgba(12,12,15,.82);--os-menu-rim:.14;--os-menu-edge:rgba(255,255,255,.08);--os-menu-depth:0 22px 48px #0008,0 3px 10px #0004;}
html.official-glisse[data-theme] body #app :is(.official-menu-host .lg-menu-surface,.os-choice-card .lg-menu-surface,.os-date-popover),
html.official-glisse[data-theme] body #osContextPortal .lg-menu-surface,
html.official-glisse[data-theme] body .os-choice-card .lg-menu-surface,
html.official-glisse[data-theme] body .os-date-popover,
html.official-glisse[data-theme] body #app .notice-popover,
html.official-glisse[data-theme] body #app #dialog .official-notice-glass,
html.official-glisse[data-theme] body #app .official-notification-popover .official-notice-glass,
html.official-glisse[data-theme] body #app #dialog .official-glass-host>.lg-glass{
 background-color:var(--os-menu-fill)!important;background-image:var(--lg-rim,none)!important;background-size:100% 100%!important;background-repeat:no-repeat!important;
 --lg-glass-bend:0!important;--lg-glass-dispersion:0!important;--lg-blur:var(--os-menu-blur)!important;--lg-rim-shine:var(--os-menu-rim)!important;
 backdrop-filter:blur(var(--os-menu-blur)) var(--lg-filter,saturate(1.5))!important;-webkit-backdrop-filter:blur(var(--os-menu-blur)) var(--lg-filter,saturate(1.5))!important;
 border-color:transparent!important;outline:none!important;box-shadow:var(--os-menu-depth),inset 0 1px .5px var(--os-menu-edge),inset 0 -1px #0002!important;
}
html.official-glisse[data-theme] body #app :is(.official-create-host,.official-mobile-menu-host){--os-menu-fill:rgba(12,12,15,.82);--os-menu-rim:.14;--os-menu-edge:rgba(255,255,255,.08);--os-menu-depth:0 22px 48px #0008,0 3px 10px #0004;}
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more){
 html.official-glisse[data-theme] body :is(.lg-menu-surface,.os-date-popover){backdrop-filter:none!important;-webkit-backdrop-filter:none!important;background-image:none!important;background-color:#fafafc!important;}
 html.official-glisse[data-theme=dark] body :is(.lg-menu-surface,.os-date-popover),html.official-glisse[data-theme] body :is(.official-create-host,.official-mobile-menu-host) .lg-menu-surface{background-color:#141416!important;}
}

/* Glass must sample the page, never an opaque dialog underlay. */
html.official-glisse[data-theme] body #app #modal>#dialog.dialog:has(.official-glass-host){background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border:0!important;}
html.official-glisse[data-theme] body #app #dialog .official-glass-host{background:transparent!important;border:0!important;box-shadow:none!important;}


/* Toolbar controls: one finish, with burgundy reserved for the primary action. */
html.official-glisse[data-theme=dark] #app .top-actions{--toolbar-fill:rgba(24,24,28,.66);--toolbar-edge:rgba(255,255,255,.09);--toolbar-sheen:rgba(255,255,255,.06)}
html.official-glisse[data-theme=light] #app .top-actions{--toolbar-fill:rgba(250,250,252,.7);--toolbar-edge:rgba(255,255,255,.6);--toolbar-sheen:rgba(255,255,255,.18)}
html.official-glisse[data-theme] #app .top-actions button:is(#makingNotices,#themeToggle,[aria-label^="Buscar módulos"],.lg-button){background-color:var(--toolbar-fill)!important;background-image:none!important;border:1px solid var(--toolbar-edge)!important;box-shadow:inset 0 1px 1px var(--toolbar-sheen),0 3px 10px #00000014!important;backdrop-filter:blur(12px) saturate(1.2)!important;-webkit-backdrop-filter:blur(12px) saturate(1.2)!important;border-radius:999px!important}
html.official-glisse[data-theme] #app .top-actions button:is(#makingNotices,#themeToggle,[aria-label^="Buscar módulos"],.lg-button)::after{background:linear-gradient(180deg,var(--toolbar-sheen),transparent 48%)!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
html.official-glisse[data-theme] #app .top-actions .official-create-menu button.lg-button{--toolbar-fill:var(--os-accent);color:#fff!important}
html.official-glisse[data-theme] #app .top-actions button:is(#makingNotices,#themeToggle,[aria-label^="Buscar módulos"],.lg-button):hover{box-shadow:inset 0 0 0 1px var(--toolbar-edge),inset 0 1px 1px var(--toolbar-sheen),0 5px 14px #00000020!important}

html.official-glisse[data-theme] #app .top-actions button:is(#makingNotices,#themeToggle,[aria-label^="Buscar módulos"]){width:44px!important;min-width:44px!important;height:44px!important;padding:0!important}

/* Unified floating material; reading cards retain their solid surface. */
@media screen{
html.official-glisse[data-theme=dark] body:has(#app:not([hidden])){background:#000!important}
html.official-glisse[data-theme=dark] body #app{--bg:#000;--paper:#000;--panel:#1c1c1e}
html.official-glisse[data-theme] body #app #modal>#dialog.dialog:not(:has(.official-glass-host)){background:var(--os-menu-fill)!important;backdrop-filter:blur(var(--os-menu-blur)) saturate(1.25)!important;-webkit-backdrop-filter:blur(var(--os-menu-blur)) saturate(1.25)!important;border:1px solid var(--os-menu-edge)!important;box-shadow:var(--os-menu-depth)!important}
html.official-glisse[data-theme] body #app #dialog .official-glass-host>.lg-glass{--lg-rim-shine:var(--os-menu-rim)!important;box-shadow:var(--os-menu-depth),inset 0 1px .5px var(--os-menu-edge)!important}
}

/* The fixed toolbar has its own reading surface when content passes beneath it. */

html.official-glisse[data-theme=dark] #app .top-actions button:is(#makingNotices,#themeToggle,[aria-label^="Buscar módulos"],.lg-button){--toolbar-fill:rgba(50,50,55,.64);--toolbar-edge:rgba(255,255,255,.07);color:#f5f5f7!important}
@media(max-width:900px){html.official-glisse[data-theme=dark] #app .top-actions{padding:5px;max-width:100%;box-sizing:border-box}}

/* BLOQUE 9 (jerarquía Apple): una sola acción vinotinto por pantalla. «Crear» global es un control de la barra
   (como el «+» de una barra de iOS/macOS): sin relleno, glifo en el color de acento. El relleno vinotinto queda para la acción de cada pantalla. */
html.official-glisse[data-theme] #app .top-actions .official-create-menu button.lg-button[aria-label="Crear en el OS"]{--toolbar-fill:transparent!important;--toolbar-edge:transparent!important;background:transparent!important;border-color:transparent!important;box-shadow:none!important;color:var(--wine)!important;font-weight:600}
html.official-glisse[data-theme=dark] #app .top-actions .official-create-menu button.lg-button[aria-label="Crear en el OS"]{color:var(--wine-dark-text)!important}
/* Acciones repetidas o secundarias que estaban en vinotinto: pasan a botón secundario neutro. */
html.official-glisse[data-theme] #app :is(.payroll-person-actions .btn.primary,.pw-actions .btn.primary[onclick*="quickExit"]),html.official-glisse[data-theme] #app #inventoryAssistantEntry button{background:rgba(120,120,128,.14)!important;color:var(--wine)!important;border-color:transparent!important;box-shadow:none!important}
html.official-glisse[data-theme=dark] #app :is(.payroll-person-actions .btn.primary,.pw-actions .btn.primary[onclick*="quickExit"]),html.official-glisse[data-theme=dark] #app #inventoryAssistantEntry button{background:rgba(120,120,128,.28)!important;color:var(--wine-dark-text)!important}

/* Shared floating material: no backdrop root on the toolbar. */
html.official-glisse #app .top-actions{background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;isolation:auto!important;box-shadow:none!important;border-color:transparent!important}
html.official-glisse{--os-menu-fill:rgba(245,245,247,.64);--os-menu-blur:3.5px}
html.official-glisse[data-theme="dark"]{--os-menu-fill:rgba(28,28,32,.68);--os-menu-rim:.14;--os-menu-edge:rgba(255,255,255,.10)}
html.official-glisse[data-theme="dark"] #app .sidebar{background-color:#202023!important;box-shadow:0 16px 40px #0006,inset 0 1px #ffffff0d!important}
}

/* ===== Bloque 1 (2026-11-15) · vista previa: activo solo con html =====
   Cristal Regular legible (HIG Materials / iOS 27): más difusión, tinte más denso,
   borde sutil y oscurecimiento del contenido detrás del menú. MIDCITO como botón
   compacto que no tapa contenido; su aviso urgente pasa a banner superior. */
html.official-glisse .official-mobile-menu-host .lg-menu-card{--lg-blur:34px;--lg-glass-bend:.12;--lg-rim-shine:.6}
html.official-glisse[data-theme] body .official-mobile-menu-host .lg-menu-card .lg-menu-surface{background-color:rgba(28,28,30,.84)!important;-webkit-backdrop-filter:blur(30px) saturate(1.6)!important;backdrop-filter:blur(30px) saturate(1.6)!important;box-shadow:0 24px 64px #0000004d,inset 0 0 0 .5px #ffffff2e!important}
html body:has(.official-mobile-menu-host .lg-menu-card)::after{content:"";position:fixed;inset:0;z-index:99990;background:rgba(0,0,0,.22);pointer-events:none;animation:vb1-dim var(--dur-control) ease both}
@keyframes vb1-dim{from{opacity:0}to{opacity:1}}
html .official-mobile-menu-host{position:relative;z-index:99995}
html body #osAssistantNudge{top:max(12px,calc(env(safe-area-inset-top) + 8px))!important;bottom:auto!important;left:50%!important;right:auto!important;transform:translateX(-50%);width:min(420px,calc(100vw - 24px))!important;border-radius:22px!important}
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more){html.official-glisse[data-theme] body .official-mobile-menu-host .lg-menu-card .lg-menu-surface{background-color:#1c1c1e!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}}
/* Sin vidrio sobre vidrio: con el menú abierto la barra superior pasa a sólida, así el menú difumina la página real. */
html[data-theme] body:has(.official-mobile-menu-host .lg-menu-card) :is(.top,.top-actions){-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html[data-theme] body:has(.official-mobile-menu-host .lg-menu-card) .top{background:#f6f6f8!important}
html[data-theme=dark] body:has(.official-mobile-menu-host .lg-menu-card) .top{background:#161617!important}
html body:has(.official-mobile-menu-host .lg-menu-card) #midcitoLauncher{opacity:0;pointer-events:none;transition:opacity var(--dur-exit)}

/* ===== MALI (decisión de Bryan 2026-11-15): botón en #652E34 con logo y texto #CDB49C (contraste 5,3:1), web y móvil.
   Logo proporcionado al tamaño de los íconos del menú (proporción real 2,85:1). ===== */
:root{--mali-btn:#652E34;--mali-ink:#CDB49C;--mali-logo:url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWxuczppbmtzY2FwZT0iaHR0cDovL3d3dy5pbmtzY2FwZS5vcmcvbmFtZXNwYWNlcy9pbmtzY2FwZSIgdmVyc2lvbj0iMS4xIiB3aWR0aD0iMTMxMCIgaGVpZ2h0PSI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zNTRWNjYxLjYwNTk4SDE1MzIuNjA2WiIgZmlsbD0iI0NEQjQ5QyIvPgo8L2c+CjwvZz4KPC9zdmc+Cg==')}
html.official-glisse .official-mobile-menu-host .lg-menu-item:has(.official-mali-tile),
html.official-glisse .official-mobile-menu-host .lg-menu-item:has(.official-mali-tile):active,
html.official-glisse .official-mobile-menu-host .lg-menu-card[data-pressed] .lg-menu-item:has(.official-mali-tile):hover{background:var(--mali-btn)!important;box-shadow:inset 0 0 0 .5px #cdb49c40!important}
html body .official-mali-tile{gap:8px}
html body .official-mali-tile .official-mali-logo{width:58px!important;height:20px!important;background-image:var(--mali-logo)!important;background-size:contain!important}
html body .official-mali-tile small{font-size:12px!important;font-weight:500;color:var(--mali-ink)!important;line-height:1.2}
html[data-theme] #app .side #nav button[aria-label="MALI · Papelería"],#makingMobileMenuPanel button[aria-label="MALI · Papelería"]{background:var(--mali-btn)!important;border-color:#cdb49c40!important}
html[data-theme] #app .side #nav button[aria-label="MALI · Papelería"]:is(:hover,:active,[data-pressed]){background:#6f343b!important}
#app button[aria-label="MALI · Papelería"] .mid-nav-label,#makingMobileMenuPanel button[aria-label="MALI · Papelería"] b{background-image:var(--mali-logo)!important;background-size:contain!important;background-repeat:no-repeat!important;background-position:center!important}

/* MIDCITO vivo : figura completa que respira + burbuja de cristal con
   sugerencias según la pantalla; un toque abre MIDCITO con la pregunta escrita. */
html body #app main{padding-bottom:calc(env(safe-area-inset-bottom) + 150px)}
html body #midcitoLauncher{width:84px!important;min-height:96px!important;height:96px;right:12px!important;bottom:max(14px,calc(env(safe-area-inset-bottom) + 64px))!important}
html body #midcitoLauncher::before{display:none!important}
html body #midcitoLauncher>span{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
html body #midcitoLauncher .midcito-full-figure{left:0!important;bottom:0!important;transform-origin:50% 100%;animation:mid-breathe var(--dur-ambient) ease-in-out infinite}
html body #midcitoLauncher.mid-wave .midcito-full-figure{animation:mid-wave var(--dur-spin) cubic-bezier(.3,1.4,.5,1)}
@keyframes mid-breathe{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-3px) rotate(-1deg)}}
@keyframes mid-wave{0%{transform:rotate(0)}30%{transform:rotate(-6deg) translateY(-4px)}60%{transform:rotate(3deg)}100%{transform:rotate(0)}}
html #midcitoSay{position:fixed;padding:0!important;z-index:100079;right:92px;bottom:max(30px,calc(env(safe-area-inset-bottom) + 80px));max-width:min(250px,calc(100vw - 112px));display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:9px 14px 10px;border-radius:20px 20px 6px 20px;color:#1d1d1f;text-align:left;font:inherit;cursor:pointer;transition:opacity var(--dur-control) ease,transform var(--dur-control) ease}
html #midcitoSay small{font-size:11px;font-weight:600;letter-spacing:.02em;color:var(--wine);text-transform:uppercase}
html #midcitoSay span{font-size:14px;font-weight:500;line-height:1.25}
html #midcitoSay.mid-swap{opacity:0;transform:translateY(4px)}
html[data-theme=dark] #midcitoSay{color:#f5f5f7;box-shadow:0 8px 26px #0007,inset 0 0 0 .5px #ffffff26}
html[data-theme=dark] #midcitoSay small{color:#E8594F}
html body:has(#modal:not(.hidden)) #midcitoSay,html body:has(.official-mobile-menu-host .lg-menu-card) #midcitoSay,html body:has(#midcito-window) #midcitoSay{opacity:0;pointer-events:none}
@media(min-width:901px){html body #midcitoLauncher{right:24px!important;bottom:20px!important;width:96px!important;height:110px}html body #midcitoLauncher .midcito-full-figure{width:96px!important;height:110px!important}html #midcitoSay{right:28px;bottom:140px;max-width:300px;border-radius:20px 20px 6px 20px}}
@media(prefers-reduced-motion:reduce){html body #midcitoLauncher .midcito-full-figure{animation:none!important}html #midcitoSay{transition:none}}
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more){html #midcitoSay{}html[data-theme=dark] #midcitoSay{}}
html #midcitoSay .mid-say-open{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:9px 30px 10px 14px;border:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}
html #midcitoSay .mid-say-x{position:absolute;top:4px;right:4px;width:24px;height:24px;border:0;border-radius:12px;background:transparent;color:#86868B;font-size:16px;line-height:24px;cursor:pointer}
html #midcitoSay.mid-away{opacity:0;transform:translateY(10px);pointer-events:none}
html #midcitoSay .mid-say-x::after{content:"";position:absolute;inset:-10px}
/* Segmentados: nunca un corte recto. Si una barra no cabe, se desplaza con borde difuminado y esquinas redondas. */
.official-tabs-host{border-radius:999px;scrollbar-width:none}

.official-tabs-host:has(.lg-segmented[style*="--lg-tabs: 5"],.lg-segmented[style*="--lg-tabs: 6"],.lg-tab-bar[style*="--lg-tabs: 6"]){}
/* Segmentados con muchas opciones (Finanzas, 6): desplazamiento con encaje y difuminado a ambos lados. */
.official-tabs-host{scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}
.official-tabs-host .lg-tab{scroll-snap-align:center}
.official-tabs-host:has(.lg-segmented[style*="--lg-tabs: 5"],.lg-segmented[style*="--lg-tabs: 6"],.lg-tab-bar[style*="--lg-tabs: 6"]){-webkit-mask-image:linear-gradient(90deg,transparent,#000 18px,#000 calc(100% - 28px),transparent);mask-image:linear-gradient(90deg,transparent,#000 18px,#000 calc(100% - 28px),transparent)}
/* Barras de 2-4 opciones caben: el contenedor no recorta ni se desplaza (la lente de presión de Glisse
   sobresale ~8 px por lado y se veía cortada en recto). Solo las de 5-6 opciones se desplazan. */
.official-tabs-host:not(:has(.lg-segmented[style*="--lg-tabs: 5"],.lg-segmented[style*="--lg-tabs: 6"],.lg-tab-bar[style*="--lg-tabs: 5"],.lg-tab-bar[style*="--lg-tabs: 6"])){overflow:visible!important}

/* iPhone: los segmentados de 2-4 opciones ocupan todo el ancho, en partes iguales (como iOS). */
@media(max-width:600px){.official-tabs-host:not(:has(.lg-segmented[style*="--lg-tabs: 5"],.lg-segmented[style*="--lg-tabs: 6"])){display:block;width:100%;overflow-x:auto!important;padding:5px 8px!important;box-sizing:border-box}}
/* iPhone: segmentados de 4 opciones a 13 px, la medida de iOS. */
@media(max-width:430px){.official-tabs-host .lg-segmented[style*="--lg-tabs: 4"] :is(.lg-tab,.lg-tab-copy){font-size:13px!important}}
/* Fluidez (2026-11-15, medido): los botones dentro del contenido no llevan cristal (HIG: cristal solo en navegación;
   además eran vidrio sobre vidrio con refracción SVG por botón). Sin cambio visual: van sobre tarjetas sólidas.
   Inicio al cambiar de sección: 54 → 107 fotogramas en 0,9 s, 7 → 0 fotogramas lentos. */
#view :is(.btn,.lg-button,.lg-glass),#view :is(.btn,.lg-button,.lg-glass)::before,#view :is(.btn,.lg-button,.lg-glass)::after{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}

/* BARRA SUPERIOR = UNA CÁPSULA DE CRISTAL (aprobado por Bryan 2026-11-15). Receta oficial (.mid-glass / --glass-*):
   los controles van dentro de una sola cápsula, como las barras de iOS 26 / macOS Tahoe; sin cristal por botón. */
html.official-glisse[data-theme] #app .top-actions{position:relative;isolation:isolate;overflow:visible;gap:2px!important;padding:5px!important;border-radius:999px!important;border:1px solid var(--glass-edge)!important;box-shadow:var(--glass-rim),var(--glass-lift)!important;background:transparent!important}
html.official-glisse[data-theme] #app .top-actions::before{content:'';position:absolute;inset:0;z-index:-1;border-radius:inherit;background:var(--glass-specular),var(--glass-sheen);-webkit-backdrop-filter:blur(var(--glass-blur-safari)) saturate(var(--glass-saturate));backdrop-filter:blur(var(--glass-blur)) saturate(var(--glass-saturate)) url(#mid-lg-refraction)}
html.official-glisse[data-theme] #app .top-actions button:is(#makingNotices,#themeToggle,[aria-label^="Buscar módulos"],.lg-button):not([aria-label="Crear en el OS"]){background:transparent!important;border-color:transparent!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}

@media(min-width:901px){html.official-glisse[data-theme] #app .top-identity{border:1px solid var(--glass-edge)!important;box-shadow:var(--glass-rim),var(--glass-lift)!important;background:var(--glass-specular),var(--glass-sheen)!important;-webkit-backdrop-filter:blur(var(--glass-blur-safari)) saturate(var(--glass-saturate))!important;backdrop-filter:blur(var(--glass-blur)) saturate(var(--glass-saturate)) url(#mid-lg-refraction)!important}}
@media (prefers-reduced-transparency:reduce){html.official-glisse[data-theme] #app .top-actions::before{background:var(--lg-surface,#f5f5f7);backdrop-filter:none;-webkit-backdrop-filter:none}}
/* Burbuja de MIDCITO con el cristal oficial (misma familia que la barra de acciones), base algo más densa para leer. */
html #midcitoSay{background:var(--glass-specular),var(--glass-sheen),rgba(250,250,252,.62)!important;border:1px solid var(--glass-edge)!important;box-shadow:var(--glass-rim),var(--glass-lift)!important;-webkit-backdrop-filter:blur(var(--glass-blur-safari)) saturate(var(--glass-saturate))!important;backdrop-filter:blur(var(--glass-blur-safari)) saturate(var(--glass-saturate))!important}
html[data-theme=dark] #midcitoSay{background:var(--glass-specular),var(--glass-sheen),rgba(30,30,33,.66)!important}
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more){html #midcitoSay{background:#fff!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}html[data-theme=dark] #midcitoSay{background:#1c1c1e!important}}
/* Panel de Avisos: cristal OFICIAL aprobado (receta .dw-quick / --glass-*) con un velo para leer el texto.
   La animación la hace notifications-workspace.js (WAAPI, transform/opacity). */
html.official-glisse[data-theme] body #app .mid-utilities-panel.notice-popover{transform-origin:calc(100% - 28px) 0;will-change:transform,opacity;background:var(--glass-specular),var(--glass-sheen),rgba(250,250,252,.62)!important;-webkit-backdrop-filter:blur(var(--glass-blur-safari)) saturate(var(--glass-saturate))!important;backdrop-filter:blur(var(--glass-blur-safari)) saturate(var(--glass-saturate))!important;border:1px solid var(--glass-edge)!important;box-shadow:var(--glass-rim),var(--glass-lift)!important}
html.official-glisse[data-theme=dark] body #app .mid-utilities-panel.notice-popover{background:var(--glass-specular),var(--glass-sheen),rgba(28,28,30,.62)!important}
@media (prefers-reduced-transparency:reduce){html.official-glisse[data-theme] body #app .mid-utilities-panel.notice-popover{background:var(--lg-surface,#f5f5f7)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}}

/* LOGIN LIMPIO (bloque 9, 2026-11-15): sin rótulo técnico, etiquetas legibles, enlaces separados, sin MIDCITO antes de entrar. */
#auth .auth-card>.eyebrow{display:none}
#auth .auth-card form label{font-family:"MID Diatype",-apple-system,system-ui,sans-serif!important;font-size:13px!important;font-weight:500!important;letter-spacing:0!important;text-transform:none!important;color:#6E6E73}
#auth .auth-card input{font-family:"MID Diatype",-apple-system,system-ui,sans-serif!important;font-size:16px!important;letter-spacing:0!important}
#auth .auth-card input::placeholder{font-family:inherit;letter-spacing:0;color:#A1A1A6}
#auth .auth-card .btn.primary.wide{font-size:15px!important;font-weight:600;min-height:46px}
#auth .auth-card .auth-link{display:block;width:100%;margin:10px 0 0;text-align:center;font-size:14px;color:var(--wine);text-decoration:none}
#auth .auth-card .auth-link.subtle{margin-top:4px;color:#6E6E73}
html[data-theme=dark] #auth .auth-card .auth-link{color:var(--wine-dark-text)}
html[data-theme=dark] #auth .auth-card .auth-link.subtle,html[data-theme=dark] #auth .auth-card form label{color:#98989D}
body:has(#auth:not([hidden])) :is(#midcitoLauncher,#midcitoSay,#osAssistantNudge,.oa-nudge){display:none!important}

/* TEXTO SECUNDARIO SOBRE CRISTAL (Bryan 2026-11-15: los títulos pequeños grises se perdían). Contraste ≥ 4,5:1. */
:is(#dialog,#midcito-conversation,.lg-menu-card,.notice-popover,.top-actions){--muted:#545458;--mid-muted:#545458;--os-secondary:#5c5c61}
html[data-theme=dark] :is(#dialog,#midcito-conversation,.lg-menu-card,.notice-popover,.top-actions){--muted:#c2c2c7;--mid-muted:#c2c2c7;--os-secondary:#b8b8bd}
/* Menús contextuales (•••): material grueso para leer sobre cualquier fondo, como los menús de iOS. */
#osContextPortal[popover]{position:fixed;inset:0 auto auto 0;width:0;height:0;margin:0;padding:0;border:0;background:none;overflow:visible;color:inherit}
html.official-glisse #osContextPortal{--os-menu-fill:rgba(250,250,252,.92);--os-menu-blur:24px}
html.official-glisse[data-theme=dark] #osContextPortal{--os-menu-fill:rgba(36,36,40,.92)}

/* MENÚS HORIZONTALES EN iPHONE (Bryan 2026-11-15: degradado a la izquierda y no se podían deslizar).
   Sin máscara de degradado; la barra se desliza con el dedo de forma nativa y conserva la lente de Glisse;
   la opción elegida se centra sola (os-motion.js). */
@media(max-width:640px){
html.official-glisse .official-tabs-host{-webkit-mask-image:none!important;mask-image:none!important;overflow-x:auto!important;overflow-y:visible!important;scrollbar-width:none;overscroll-behavior-x:contain}

html.official-glisse .official-tabs-host :is(.lg-tab-bar,.lg-tab-bar *){touch-action:pan-x pan-y!important}
html.official-glisse #dialog .pw .lg-tab-bar{--lg-tab-width:84px!important}
}
