/* Mahin Inventory V2 | Clock/calendar widgets. Scoped, theme-token based. */
#appScreen .mi-dash-card--time .mi-time-body{justify-content:center;gap:7px;padding:6px 12px 11px;overflow:hidden;font-variant-numeric:tabular-nums;min-width:0}
#appScreen .mi-dash-card--time .mi-dash-card-header{padding-bottom:1px}
#appScreen .mi-time-primary-row,#appScreen .mi-time-combined-head{display:flex;align-items:center;justify-content:space-between;gap:5px;min-width:0}
#appScreen .mi-time-clock{font-weight:750;font-size:clamp(18px,2.7vw,35px);line-height:1.2;white-space:nowrap;letter-spacing:-.035em;color:var(--text,#172c45)}
#appScreen .mi-time-date{color:var(--muted,#718299);font-size:11px;line-height:1.4;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#appScreen .mi-time-format,#appScreen .mi-time-nav,#appScreen .mi-time-today{font:inherit;color:var(--text,#172c45);border:1px solid var(--border,#d7e1ed);border-radius:7px;background:var(--surface,#fff);cursor:pointer;flex:none}
#appScreen .mi-time-format{padding:5px 7px;font-size:10px;min-height:27px}
#appScreen .mi-time-nav{font-size:16px;font-weight:600;min-width:25px;min-height:25px}
#appScreen .mi-time-nav:disabled{opacity:.35;cursor:default}
#appScreen .mi-time-today{font-size:10px;padding:4px 6px;min-height:25px}
#appScreen .mi-dash-card--time button:focus-visible{outline:2px solid var(--primary,#2361b9);outline-offset:2px}
#appScreen .mi-time-today-row{display:flex;align-items:center;justify-content:center;gap:10px;min-width:0}
#appScreen .mi-time-today-number{font-size:clamp(28px,3vw,43px);line-height:1;letter-spacing:-.06em;color:var(--primary,#2463c8)}
#appScreen .mi-time-today-details{display:flex;flex-direction:column;gap:2px;min-width:0;font-size:11px;line-height:1.35;overflow:hidden}
#appScreen .mi-time-today-weekday{font-weight:750;color:var(--text,#172c45)}
#appScreen .mi-time-today-month{color:var(--muted,#718299);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
#appScreen .mi-time-week-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;min-width:0}
#appScreen .mi-time-week-day{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border-radius:8px;padding:5px 1px;min-width:0}
#appScreen .mi-time-week-day.is-today{background:color-mix(in srgb,var(--primary,#2463c8) 12%,var(--surface,#fff));color:var(--primary,#2463c8)}
#appScreen .mi-time-week-label{font-size:9px;white-space:nowrap;overflow:hidden;max-width:100%}
#appScreen .mi-time-week-number{font-size:14px}
#appScreen .mi-time-month{display:flex;flex-direction:column;gap:7px;min-height:0;min-width:0;width:100%}
#appScreen .mi-time-month-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:5px;min-width:0}
#appScreen .mi-time-month-title{font-size:12px;min-width:0;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#appScreen .mi-time-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;align-items:center;justify-items:stretch;min-width:0}
#appScreen .mi-time-month-weekday,#appScreen .mi-time-month-cell{display:grid;place-items:center;border-radius:6px;min-height:22px;font-size:11px;white-space:nowrap;min-width:0}
#appScreen .mi-time-month-weekday{color:var(--muted,#718299);font-size:10px;font-weight:650}
#appScreen .mi-time-month-cell.is-outside{opacity:.36}
#appScreen .mi-time-month-cell.is-today{background:var(--primary,#2463c8);color:#fff;font-weight:800}
#appScreen .mi-time-month-grid.is-mini{gap:1px}
#appScreen .mi-time-month-grid.is-mini .mi-time-month-cell,#appScreen .mi-time-month-grid.is-mini .mi-time-month-weekday{min-height:16px;font-size:10px}
#appScreen .mi-time-month-grid.is-mini .mi-time-month-weekday{font-size:9px}
#appScreen .mi-time-combined-head{gap:10px;padding-bottom:5px;border-bottom:1px solid var(--border,#d7e1ed)}
#appScreen .mi-time-combined-date-time{min-width:0}
#appScreen .mi-time-combined-head .mi-time-clock{font-size:clamp(19px,2.2vw,28px)}
#appScreen .mi-time-combined-month{gap:5px}
#appScreen .mi-time-combined-month .mi-time-month-toolbar{min-height:22px}
#appScreen .mi-time-analog-face{position:relative;aspect-ratio:1/1;width:min(100%,138px);max-height:calc(100% - 22px);margin:auto;border:2px solid color-mix(in srgb,var(--text,#172c45) 50%,var(--border,#d7e1ed));border-radius:50%;background:color-mix(in srgb,var(--primary,#2463c8) 4%,var(--surface,#fff));flex-shrink:1}
#appScreen .mi-time-analog-face .mi-time-tick{position:absolute;top:50%;left:calc(50% - 1px);width:2px;height:9%;border-radius:2px;background:color-mix(in srgb,var(--text,#172c45) 55%,transparent);transform-origin:center center}
#appScreen .mi-time-analog-face .mi-time-tick:not(.is-major){opacity:.3;height:5%}
#appScreen .mi-time-dial{position:absolute;font-size:11px;font-weight:700;line-height:1}
#appScreen .mi-time-dial-12{left:50%;top:9%;transform:translateX(-50%)}
#appScreen .mi-time-dial-3{right:9%;top:50%;transform:translateY(-50%)}
#appScreen .mi-time-dial-6{left:50%;bottom:9%;transform:translateX(-50%)}
#appScreen .mi-time-dial-9{left:9%;top:50%;transform:translateY(-50%)}
#appScreen .mi-time-hand{position:absolute;left:50%;bottom:50%;width:4px;border-radius:4px;transform-origin:50% 100%;background:var(--text,#172c45)}
#appScreen .mi-time-hand-hour{height:25%;width:5px}
#appScreen .mi-time-hand-minute{height:35%}
#appScreen .mi-time-hand-second{height:39%;width:2px;background:var(--primary,#2463c8)}
#appScreen .mi-time-pin{position:absolute;left:50%;top:50%;width:9px;height:9px;transform:translate(-50%,-50%);background:var(--primary,#2463c8);border-radius:50%}
#appScreen .mi-dash-card--time.mi-time-short .mi-time-body{padding-top:0}
#appScreen .mi-dash-card--time.mi-time-small .mi-time-clock{font-size:clamp(18px,2vw,24px)}
#appScreen .mi-dash-card--time.mi-time-small .mi-time-month-grid .mi-time-month-cell{min-height:16px;font-size:9px}
#appScreen .mi-dash-card--time.mi-time-small .mi-time-month-grid .mi-time-month-weekday{font-size:8px;min-height:16px}
#appScreen .mi-dash-card--time.mi-time-small .mi-time-today{display:none}
@media(max-width:620px){#appScreen .mi-dash-card--time .mi-time-body{padding:3px 7px 8px}#appScreen .mi-time-month-grid{gap:1px}#appScreen .mi-time-month-cell{min-height:19px;font-size:10px}#appScreen .mi-time-month-title{font-size:10px}#appScreen .mi-time-date{font-size:10px}}
@media(prefers-reduced-motion:reduce){#appScreen .mi-dash-card--time *{animation:none!important;transition:none!important}}
