
/* ===== Life OS 0.15.8 · Calendar Search Navigator ===== */
@media (max-width:760px){
  .mcal155-filter-panel{display:none!important}
  .mcal155-filter-toggle{padding:0 7px!important;gap:6px!important}
  .mcal158-palette{
    position:absolute;z-index:140;left:0;top:35px;
    width:min(338px,calc(100vw - 24px));
    padding:7px;border:1px solid var(--border-soft);border-radius:16px;
    background:var(--bg-elevated);box-shadow:0 18px 50px rgba(0,0,0,.24);
    color:#fff;overflow:hidden;
  }
  [data-theme="light"] .mcal158-palette{color:#181714;box-shadow:0 18px 45px rgba(36,28,18,.13)}
  .mcal158-searchrow{height:42px;display:grid;grid-template-columns:30px minmax(0,1fr) 30px;align-items:center;gap:3px;border-radius:12px;background:var(--bg-soft);padding:0 4px}
  .mcal158-searchicon{display:grid;place-items:center;color:currentColor;opacity:.58}
  .mcal158-searchicon svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
  .mcal158-input{width:100%;height:38px;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;padding:0 2px!important;font-size:13px!important;font-weight:650;color:#fff!important;caret-color:var(--accent)}
  [data-theme="light"] .mcal158-input{color:#181714!important}
  .mcal158-input::placeholder{color:#fff!important;opacity:.42}
  [data-theme="light"] .mcal158-input::placeholder{color:#181714!important;opacity:.4}
  .mcal158-close,.mcal158-filter-trigger{border:0;background:transparent;color:inherit}
  .mcal158-close{width:29px;height:29px;border-radius:9px;display:grid;place-items:center;opacity:.55;padding:0}
  .mcal158-close:active{background:var(--bg-hover);opacity:1}
  .mcal158-close svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round}
  .mcal158-meta{min-height:31px;display:flex;align-items:center;justify-content:space-between;gap:9px;padding:5px 4px 0}
  .mcal158-hint{min-width:0;font-size:8.5px;line-height:1.25;color:inherit;opacity:.52;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .mcal158-filter-trigger{height:25px;display:flex;align-items:center;gap:5px;padding:0 6px;border-radius:8px;font-size:8.5px;font-weight:760;opacity:.66;white-space:nowrap}
  .mcal158-filter-trigger:active,.mcal158-filter-trigger.open{background:var(--bg-soft);opacity:1}
  .mcal158-filter-trigger svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
  .mcal158-tray{display:none;padding:5px 2px 2px;border-top:1px solid var(--border-soft)}
  .mcal158-tray.open{display:block}
  .mcal158-tray-label{padding:2px 3px 6px;font-size:7px;font-weight:850;text-transform:uppercase;letter-spacing:.09em;color:inherit;opacity:.44}
  .mcal158-chips{display:flex;gap:4px;overflow-x:auto;padding:0 1px 2px;scrollbar-width:none}
  .mcal158-chips::-webkit-scrollbar{display:none}
  .mcal158-chip{height:27px;flex:0 0 auto;border:1px solid var(--border-soft);border-radius:9px;background:transparent;color:inherit;padding:0 8px;font-size:8px;font-weight:730;opacity:.62}
  .mcal158-chip.on{border-color:color-mix(in srgb,var(--accent) 46%,var(--border-soft));background:var(--accent-soft);color:var(--accent-text);opacity:1}
  .mcal158-jump-highlight{outline:2px solid var(--accent)!important;outline-offset:2px!important;animation:mcal158Pulse 1.15s ease 2}
  @keyframes mcal158Pulse{0%,100%{filter:none}50%{filter:brightness(1.28)}}
}
