/* Fully opaque: sensitive content must never show through decorative glass. */
body.is-privacy-locked > :not(.mc-privacy-lock),
body.is-privacy-locked > :not(.mc-privacy-lock) * {visibility:hidden!important;pointer-events:none!important;}
.mc-privacy-lock {width:min(460px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;margin:auto;padding:0;border:1px solid var(--mc-line-strong);border-radius:var(--mc-radius-lg);background:var(--mc-surface-elevated);color:var(--mc-ink);box-shadow:var(--mc-shadow-sheet);}
.mc-privacy-lock::backdrop {background:var(--mc-background,#0b1324);opacity:1;}
.mc-privacy-lock__surface {display:grid;gap:16px;padding:28px;}
.mc-privacy-lock__surface img {border-radius:16px;}
.mc-privacy-lock__surface h1 {margin:0;font-size:1.8rem;letter-spacing:-.035em;}
.mc-privacy-lock__surface p {margin:0;line-height:1.5;}
.mc-privacy-lock__surface [data-lock-timer] {font-size:1.25rem;font-variant-numeric:tabular-nums;font-weight:650;}
.mc-privacy-lock__surface :is(small,[role=status]) {color:var(--mc-muted);font-size:.875rem;line-height:1.5;}
.mc-privacy-lock__surface form {display:grid;gap:12px;}
.mc-privacy-lock__surface [data-lock-device] {display:grid;gap:8px;}
.mc-privacy-lock__surface .mc-button {min-height:48px;width:100%;}
.mc-privacy-lock__surface input {font-size:1rem;min-height:48px;}
.mc-privacy-lock[open] .mc-privacy-lock__surface {animation:mc-lock-enter 160ms ease-out;}
@keyframes mc-lock-enter {from {opacity:.5;transform:translateY(6px)} to {opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.mc-privacy-lock[open] .mc-privacy-lock__surface{animation:none;}}
:root[data-reduced-motion=true] .mc-privacy-lock[open] .mc-privacy-lock__surface{animation:none;}

/* A shared compact strip; weather consent/provider behavior is unchanged. */
/* The expanded Live View scrolls with the page so it cannot cover headings. */
.mc-weather-bar {position:relative;top:auto;z-index:30;margin-bottom:18px;}
.mc-app-weather {--mc-weather-glass:color-mix(in srgb,var(--mc-surface) 88%,transparent);--mc-weather-edge:var(--mc-glass-border);position:relative;box-sizing:border-box;display:flex;align-items:center;gap:12px;width:100%;min-height:60px;padding:6px 12px;border:1px solid var(--mc-weather-edge);border-radius:17px;color:var(--mc-ink);background:linear-gradient(145deg,var(--mc-glass-highlight),transparent 65%),var(--mc-weather-glass);box-shadow:var(--mc-shadow-subtle),inset 0 1px 0 var(--mc-glass-highlight);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);}
.mc-app-weather__motion {display:flex;align-items:center;gap:8px;min-width:0;margin-right:auto;color:var(--mc-ink-secondary);font-size:.75rem;}
.mc-app-weather__clock {display:grid;gap:2px;flex-shrink:0;}
.mc-app-weather__clock small {font-size:.6875rem;color:var(--mc-ink-secondary);}
.mc-app-weather__clock time {font-size:.875rem;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap;}
.mc-app-weather__details,.mc-live-appearance {position:static;min-width:0;}
.mc-app-weather__details>summary {display:flex;align-items:center;gap:8px;min-height:44px;padding:6px 8px;cursor:pointer;border-radius:10px;}
.mc-app-weather__city {font-size:.75rem;color:var(--mc-ink-secondary);max-width:110px;overflow-wrap:anywhere;}
.mc-app-weather__temperature {font-size:1.125rem;font-weight:650;letter-spacing:-.025em;line-height:1.2;font-variant-numeric:tabular-nums;white-space:nowrap;}
.mc-live-actions {display:flex;align-items:center;gap:4px;flex-shrink:0;}
.mc-live-icon,.mc-live-appearance>summary,.mc-app-weather__focus {box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:44px;min-height:44px;padding:8px;border:1px solid var(--mc-weather-edge);border-radius:12px;background:var(--mc-glass-subtle);color:var(--mc-ink);font:inherit;font-size:.8125rem;line-height:1.4;cursor:pointer;box-shadow:inset 0 1px 0 var(--mc-glass-highlight);transition:background var(--mc-duration-fast) var(--mc-ease-standard),box-shadow var(--mc-duration-fast) var(--mc-ease-standard);}
.mc-app-weather__focus {font-variant-numeric:tabular-nums;}
.mc-app-weather__focus>span {min-width:0;overflow-wrap:anywhere;}
.mc-app-weather__focus>[data-live-focus-countdown] {display:none;font-size:.8125rem;font-weight:650;}
.mc-app-weather[data-environment=clear] {--mc-weather-glass:color-mix(in srgb,var(--mc-surface) 92%,var(--mc-mint));}
.mc-app-weather[data-environment=overcast] {--mc-weather-glass:color-mix(in srgb,var(--mc-surface) 94%,var(--mc-blue));}
.mc-app-weather[data-environment=night] {--mc-weather-glass:color-mix(in srgb,var(--mc-surface) 94%,var(--mc-deep-blue));}
.mc-live-icon svg,.mc-live-appearance svg,.mc-app-weather__focus svg {width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;}
.mc-app-weather summary {list-style:none;}
.mc-app-weather summary::-webkit-details-marker {display:none;}
.mc-app-weather :is(button,summary,a,input):focus-visible {outline:3px solid var(--mc-blue);outline-offset:3px;}
.mc-app-weather :is(.mc-live-icon,.mc-live-appearance>summary,.mc-app-weather__focus,.mc-app-weather__details>summary):hover {background:var(--mc-glass-standard);}
.mc-app-weather :is(.mc-live-icon,.mc-live-appearance>summary,.mc-app-weather__focus):active {background:var(--mc-glass-strong);box-shadow:inset 0 1px 3px color-mix(in srgb,var(--mc-ink) 12%,transparent);}
.mc-app-weather button:disabled {opacity:.5;cursor:not-allowed;box-shadow:none;}
.mc-live-popover {position:absolute;top:calc(100% + 10px);right:8px;z-index:35;display:grid;gap:12px;box-sizing:border-box;width:min(300px,calc(100vw - 48px));padding:18px;border:1px solid var(--mc-weather-edge);border-radius:17px;background:var(--mc-surface-elevated);color:var(--mc-ink);box-shadow:var(--mc-shadow-elevated);font-size:.875rem;line-height:1.5;}
.mc-live-popover .theme-picker {display:flex;flex-wrap:wrap;gap:6px;}
.mc-live-popover .theme-choice {flex:1;min-width:0;min-height:44px;padding:8px;border-radius:10px;font:inherit;}
.mc-live-popover small,.mc-app-weather__credit,.mc-app-weather__time {color:var(--mc-ink-secondary);font-size:.75rem;line-height:1.5;}
.mc-live-schedule {display:flex;align-items:center;gap:10px;min-height:44px;cursor:pointer;}
.mc-live-schedule input {width:20px;height:20px;accent-color:var(--mc-blue);}
.mc-app-weather__location {min-height:44px;padding:8px 12px;border:1px solid var(--mc-weather-edge);border-radius:10px;background:var(--mc-glass-standard);color:var(--mc-ink);font:inherit;cursor:pointer;}
.mc-app-weather__status:empty,[data-live-theme-status]:empty {display:none;}
.mc-app-weather__birds {position:relative;width:72px;height:24px;overflow:hidden;flex-shrink:0;color:var(--mc-mint);opacity:.75;}
.mc-app-weather__bird {position:absolute;top:5px;left:0;width:22px;height:14px;animation:mc-weather-flight 18s linear infinite;animation-play-state:paused;}
.mc-app-weather__bird:nth-child(2) {animation-delay:-6s;top:1px;}
.mc-app-weather__bird:nth-child(3) {animation-delay:-12s;top:9px;}
.mc-app-weather[data-live-active=true] .mc-app-weather__bird {animation-play-state:running;}
.mc-app-weather[data-environment=overcast] .mc-app-weather__birds,.mc-app-weather[data-environment=night] .mc-app-weather__birds {color:var(--mc-ink-secondary);opacity:.55;}
@keyframes mc-weather-flight {0%{transform:translate(-24px,2px) rotate(-3deg)}50%{transform:translate(30px,-2px) rotate(3deg)}100%{transform:translate(84px,2px) rotate(-3deg)}}
@media(max-width:1100px) {.mc-app-weather__motion>span{display:none;}.mc-app-weather__birds{width:48px;}}
@media(max-width:900px) {.mc-weather-bar{top:env(safe-area-inset-top);margin-bottom:12px;}.mc-app-weather{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 8px;padding:6px 10px;min-height:0;}.mc-app-weather__motion{display:none;}.mc-app-weather__clock{grid-column:1;grid-row:1;}.mc-app-weather__clock small{display:none;}.mc-app-weather__details{grid-column:2;grid-row:1;justify-self:end;}.mc-app-weather__city{display:none;}.mc-app-weather__birds{width:44px;height:24px;}.mc-app-weather__focus{grid-column:1;grid-row:2;justify-content:flex-start;min-width:0;}.mc-live-actions{grid-column:2;grid-row:2;}}
@media(max-width:360px) {.mc-app-weather{gap:2px 4px;padding:6px;}.mc-live-actions{gap:2px;}.mc-app-weather__clock time{font-size:.75rem;}.mc-app-weather__details>summary{padding-inline:4px;gap:0;}.mc-app-weather__focus{font-size:.75rem;}}
@media(max-width:440px) {
  .mc-app-weather__focus {justify-content:center;}
  .mc-app-weather__focus>[data-live-focus] {display:none;}
  .mc-app-weather__focus>[data-live-focus-countdown]:not([hidden]) {display:block;}
}
@media(max-width:360px) {.mc-app-weather__focus[data-focus-active=true]>svg{display:none;}}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) {.mc-app-weather{background:var(--mc-surface-elevated);}}
@media(prefers-reduced-transparency:reduce) {.mc-app-weather{background:var(--mc-surface-elevated);backdrop-filter:none;-webkit-backdrop-filter:none;}}
:root[data-reduced-transparency=true] .mc-app-weather {background:var(--mc-surface-elevated);backdrop-filter:none;-webkit-backdrop-filter:none;}
@media(prefers-reduced-motion:reduce) {.mc-app-weather__bird{animation:none;left:10px;}.mc-app-weather__bird:nth-child(2){left:28px;}.mc-app-weather__bird:nth-child(3){left:46px;}.mc-app-weather button{transition:none;}}
:root[data-reduced-motion=true] .mc-app-weather__bird {animation:none;}
.mc-app-weather[data-motion-reduced=true] .mc-app-weather__bird {animation:none;left:4px;}
.mc-app-weather[data-motion-reduced=true] .mc-app-weather__bird:nth-child(2) {left:18px;}
.mc-app-weather[data-motion-reduced=true] .mc-app-weather__bird:nth-child(3) {left:32px;}
@media(forced-colors:active) {.mc-app-weather,.mc-live-popover{background:Canvas;color:CanvasText;border-color:CanvasText;box-shadow:none;backdrop-filter:none;}.mc-live-icon,.mc-app-weather__focus,.mc-live-appearance>summary{background:ButtonFace;color:ButtonText;border-color:ButtonText;}.mc-app-weather__city,.mc-app-weather__credit{color:CanvasText;}}

/* Live View refinement reuses the shared palette, glass and action handlers. */
.mc-app-weather {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px 24px;padding:20px;--mc-live-atmosphere:transparent;background:linear-gradient(135deg,var(--mc-live-atmosphere),transparent 65%),linear-gradient(145deg,var(--mc-glass-highlight),transparent 65%),var(--mc-weather-glass);}
.mc-app-weather[data-weather-atmosphere=sunny] {--mc-live-atmosphere:rgba(237,207,132,.065);}
.mc-app-weather[data-weather-atmosphere=cloudy] {--mc-live-atmosphere:rgba(139,157,182,.06);}
.mc-app-weather[data-weather-atmosphere=rainy] {--mc-live-atmosphere:rgba(99,137,179,.07);}
.mc-app-weather[data-weather-atmosphere=snowy] {--mc-live-atmosphere:rgba(208,228,242,.10);}
.mc-app-weather[data-weather-atmosphere=night] {--mc-live-atmosphere:rgba(21,45,81,.10);}
.mc-live-identity {display:flex;align-items:center;gap:12px;min-width:0;}
.mc-live-identity>img {flex:none;border-radius:9px;}
.mc-app-weather .mc-app-weather__clock {gap:4px;min-width:0;}
.mc-app-weather .mc-app-weather__clock time {font-size:clamp(1.05rem,2.2vw,1.5rem);}
.mc-app-weather .mc-app-weather__clock small {display:block;font-size:.75rem;}
.mc-app-weather .mc-app-weather__details {grid-column:2;grid-row:1;justify-self:end;}
.mc-app-weather .mc-app-weather__details>summary {display:grid;grid-template-columns:auto auto;gap:3px 8px;min-height:44px;}
.mc-app-weather .mc-app-weather__city {display:block;font-size:.75rem;max-width:16ch;overflow:hidden;text-overflow:ellipsis;}
.mc-app-weather [data-weather-condition] {grid-column:1 / -1;font-size:.6875rem;color:var(--mc-ink-secondary);}
.mc-app-weather .mc-app-weather__birds {position:absolute;right:18px;top:0;pointer-events:none;}
.mc-app-weather .mc-app-weather__focus {grid-column:1;grid-row:2;justify-self:start;min-height:44px;margin:0;}
.mc-app-weather .mc-live-actions {grid-column:2;grid-row:2;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;min-width:0;}
.mc-live-icon {position:relative;}
.mc-live-alert-count {position:absolute;right:0;top:0;display:grid;place-items:center;min-width:18px;min-height:18px;border-radius:9px;padding:0 3px;background:var(--mc-ink);color:var(--mc-surface);font-size:10px;font-weight:700;pointer-events:none;}
[data-live-cloud][data-cloud-state=connected] {color:var(--mc-blue);}
[data-live-cloud][data-cloud-state=waiting] {color:#895710;}
[data-live-cloud][data-cloud-state=signin] {color:#a72929;}
.theme-dark [data-live-cloud][data-cloud-state=waiting] {color:#f4ca82;}
.theme-dark [data-live-cloud][data-cloud-state=signin] {color:#ffb2b2;}
.mc-live-upcoming {grid-column:1 / -1;border-top:1px solid var(--mc-line);padding-top:12px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 20px;}
.mc-live-upcoming__heading {grid-column:1 / -1;display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:44px;}
.mc-live-upcoming__heading>strong {font-size:.7rem;letter-spacing:.1em;color:var(--mc-ink-secondary);}
.mc-live-empty {grid-column:1 / -1;color:var(--mc-ink-secondary);font-size:.875rem;margin:0;}
.mc-live-item {display:flex;gap:10px;text-align:left;min-width:0;min-height:44px;padding:8px 0;color:var(--mc-ink);border:0;background:transparent;cursor:pointer;}
.mc-live-item__content {display:grid;gap:4px;min-width:0;overflow-wrap:anywhere;}
.mc-live-item strong {font-size:.9rem;line-height:1.4;}
.mc-live-item :is(span.mc-live-item__timing,small) {font-size:.75rem;line-height:1.4;color:var(--mc-ink-secondary);}
.mc-live-item[data-status=soon] .mc-live-item__timing,.mc-live-item[data-status=underway] .mc-live-item__timing {color:var(--mc-ink);font-weight:600;}
.mc-live-item[data-status=overdue] .mc-live-item__timing {color:#87520b;}
.theme-dark .mc-live-item[data-status=overdue] .mc-live-item__timing {color:#f2cf91;}
.mc-live-read {min-height:44px;padding:8px;color:var(--mc-ink);font:inherit;font-size:.8rem;font-weight:600;border:0;background:transparent;cursor:pointer;}
.mc-live-panel {width:min(580px,calc(100vw - 32px));max-height:calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 32px);overflow:auto;border:1px solid var(--mc-line-strong);border-radius:var(--mc-radius-lg);background:var(--mc-surface-elevated);color:var(--mc-ink);padding:0;box-shadow:var(--mc-shadow-sheet);}
.mc-live-panel::backdrop {background:rgba(10,20,36,.45);}
.mc-live-panel header {position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 20px;background:var(--mc-surface-elevated);border-bottom:1px solid var(--mc-line);z-index:1;}
.mc-live-panel h2 {font-size:1.15rem;margin:0;}
.mc-live-panel h3 {font-size:.9rem;margin:18px 0 4px;}
.mc-live-panel__body {padding:0 20px 20px;}
.mc-live-panel__body .mc-live-item {width:100%;}
.mc-live-panel__close,.mc-live-alert__dismiss {min-width:44px;min-height:44px;background:var(--mc-surface);border:1px solid var(--mc-line);border-radius:var(--mc-radius-sm);color:var(--mc-ink);font-size:1.25rem;cursor:pointer;}
.mc-live-alert {display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:4px 12px;border-bottom:1px solid var(--mc-line);padding:10px 0;}
.mc-live-alert__dismiss {align-self:start;}
.mc-live-alert>.mc-live-read,.mc-live-alert>small {justify-self:start;grid-column:1 / -1;}
.mc-live-panel__note {font-size:.8rem;line-height:1.5;color:var(--mc-ink-secondary);margin-top:18px;}
.mc-app-weather .mc-live-popover {box-sizing:border-box;width:min(300px,calc(100vw - 48px));max-width:calc(100% - 24px);right:12px;}
:is(.mc-live-item,.mc-live-read,.mc-live-panel button):focus-visible {outline:2px solid var(--mc-ink);outline-offset:3px;border-radius:6px;}
@media(max-width:1100px) {.mc-app-weather .mc-live-actions {max-width:304px;}}
@media(max-width:900px) {.mc-weather-bar{position:relative;top:auto;}.mc-app-weather{gap:16px;padding:18px;}.mc-app-weather .mc-app-weather__focus{grid-column:1 / -1;grid-row:2;}.mc-app-weather .mc-live-actions{grid-column:1 / -1;grid-row:3;justify-content:flex-start;max-width:none;}.mc-live-upcoming{grid-template-columns:minmax(0,1fr);gap:2px;}.mc-app-weather .mc-app-weather__details{grid-column:2;grid-row:1;}}
@media(max-width:440px) {.mc-app-weather{padding:16px;gap:12px;}.mc-live-identity{gap:8px;}.mc-live-identity>img{width:30px;height:30px;}.mc-app-weather .mc-app-weather__clock time{font-size:1rem;}.mc-app-weather .mc-app-weather__city{max-width:10ch;}.mc-app-weather .mc-app-weather__focus>[data-live-focus]{display:block;font-size:.8rem;}.mc-app-weather .mc-app-weather__focus>[data-live-focus-countdown]{display:none;}}
@media(max-width:360px) {.mc-app-weather{padding:12px;}.mc-live-identity{align-items:flex-start;}.mc-live-identity>img{display:none;}.mc-app-weather .mc-app-weather__clock small{font-size:.6875rem;}.mc-app-weather .mc-live-actions{gap:6px;}}
@media(prefers-reduced-transparency:reduce), (prefers-contrast:more) {.mc-app-weather{background:var(--mc-surface-elevated)!important;backdrop-filter:none;-webkit-backdrop-filter:none;}}
:root[data-reduced-transparency=true] .mc-app-weather {background:var(--mc-surface-elevated)!important;}
@media(forced-colors:active) {.mc-live-panel,.mc-live-panel header{background:Canvas;color:CanvasText;border-color:CanvasText;}.mc-live-item,.mc-live-read,.mc-live-alert-count,[data-live-cloud]{color:ButtonText!important;background:ButtonFace;}}
/* UX consolidation preserves the same glass palette and reading surfaces. */
.mc-app-weather .mc-app-weather__temperature{font-size:1.55rem;line-height:1.15;}
.mc-app-weather [data-weather-condition]{font-size:.8rem;line-height:1.4;}
.mc-app-weather [data-live-focus-button]:not([data-focus-active=true]){display:none;}
.mc-app-weather[data-on-home=true]:has([data-live-focus-button]:not([data-focus-active=true])) .mc-live-actions{grid-row:2;}
.mc-app-weather[data-live-text=light]{--mc-ink:#f2f6ff;--mc-ink-secondary:#c2d0e8;--mc-surface:#142447;--mc-surface-elevated:#142447;--mc-glass-subtle:#25395a;--mc-weather-glass:rgba(20,36,71,.97);--mc-weather-edge:rgba(219,232,255,.24);--mc-line:rgba(219,232,255,.18);}
.mc-app-weather[data-live-text=strong]{--mc-live-text-brightness:1!important;background:var(--mc-surface-elevated);backdrop-filter:none;-webkit-backdrop-filter:none;border-color:var(--mc-ink);}
.mc-app-weather :is(.mc-live-identity,.mc-app-weather__details>summary,.mc-live-upcoming){opacity:var(--mc-live-text-brightness,1);}
.mc-app-weather[data-live-text-size=larger] .mc-app-weather__clock time{font-size:1.55rem;}
.mc-app-weather[data-live-text-size=larger] .mc-app-weather__temperature{font-size:1.75rem;}
.mc-app-weather[data-live-text-size=larger] :is([data-weather-condition],.mc-live-item strong){font-size:1rem;}
.mc-app-weather[data-live-text-size=larger] .mc-live-item :is(span,small){font-size:.875rem;}
.mc-app-weather::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;overflow:hidden;opacity:0;}
.mc-app-weather[data-weather-atmosphere=cloudy]::after{opacity:.035;background:radial-gradient(ellipse at 24% 5%,var(--mc-blue),transparent 50%);animation:mc-live-cloud 18s ease-in-out infinite alternate;}
.mc-app-weather[data-weather-atmosphere=rainy]::after{opacity:.025;background:repeating-linear-gradient(115deg,transparent 0 55px,var(--mc-blue) 55px 56px,transparent 56px 90px);animation:mc-live-rain 6s linear infinite;}
.mc-app-weather[data-weather-atmosphere=snowy]::after{opacity:.055;background-image:radial-gradient(circle at 22% 20%,var(--mc-blue) 1.5px,transparent 2px),radial-gradient(circle at 73% 50%,var(--mc-blue) 1px,transparent 2px);background-size:130px 100px;animation:mc-live-snow 24s linear infinite;}
.mc-app-weather[data-live-active=false]::after{animation-play-state:paused;}
.mc-app-weather[data-weather-animations=false]::after,.mc-app-weather[data-motion-reduced=true]::after{animation:none;}
.mc-app-weather[data-data-saving-motion=true]::after,.mc-app-weather[data-data-saving-motion=true] .mc-app-weather__bird{animation:none;}
body.is-privacy-locked .mc-app-weather::after,body.is-privacy-locked .mc-app-weather .mc-app-weather__bird{animation-play-state:paused;}
@media(min-width:390px) and (max-width:900px){.mc-app-weather .mc-live-actions{gap:clamp(1px,calc((100vw - 390px)/10 + 1px),6px);}}
@keyframes mc-live-cloud{to{background-position:14px 0;}}
@keyframes mc-live-rain{to{background-position:4px 18px;}}
@keyframes mc-live-snow{to{background-position:0 100px;}}
.mc-live-custom{display:grid;gap:14px;padding-top:16px;}
.mc-live-custom__row{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:48px;line-height:1.4;}
.mc-live-custom__row :is(select,input[type=range]){max-width:55%;min-height:44px;color:var(--mc-ink);font:inherit;}
.mc-live-custom__row select{min-width:0;padding:8px;background:var(--mc-surface);border:1px solid var(--mc-line);border-radius:10px;}
.mc-live-custom__row input[type=checkbox]{width:22px;height:22px;flex:none;accent-color:var(--mc-blue);}
.mc-live-custom__row input[type=range]{min-width:0;}
.mc-live-custom :is(button,a,select,input):focus-visible{outline:3px solid var(--mc-blue);outline-offset:3px;}
.mc-home-focused.today-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--mc-space-4);}
.app-shell .mc-home-focused .today-next{min-height:0;padding:var(--mc-space-5);gap:var(--mc-space-3);color:var(--mc-text-primary);border-color:var(--mc-border-subtle);background:var(--mc-surface-elevated);box-shadow:var(--mc-shadow-card);}
.app-shell .mc-home-focused .today-next .card-label,.app-shell .mc-home-focused .today-next .card-label svg{color:var(--mc-accent-secondary);}
.app-shell .mc-home-focused .today-next .today-next__context{color:var(--mc-text-secondary);}
.app-shell .mc-home-focused .today-next p:not(.today-next__context){color:var(--mc-text-secondary);}
.mc-home-focused .today-next__body{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px;}
.mc-home-focused .mc-home-focus-dock{min-width:0;}
.mc-home-focused .home-start-focus{min-height:48px!important;padding:10px 18px;white-space:normal;}
.mc-home-focused .home-start-focus svg{width:28px;height:28px;padding:5px;}
@media(max-width:640px){.mc-home-focused .today-next__body{grid-template-columns:minmax(0,1fr);gap:16px;}.mc-home-focused .mc-home-focus-dock,.mc-home-focused .home-start-focus{width:100%;}}
.mc-home-focused .today-next h2{font-size:clamp(1.4rem,3vw,2rem);line-height:1.25;}
.mc-home-focused .today-next__context{margin-bottom:0;font-weight:600;letter-spacing:0;}
.mc-home-focused .today-progress{gap:var(--mc-space-3);padding:var(--mc-space-5);}
.mc-home-focused .today-progress__metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--mc-space-4);}
.mc-home-focused .today-progress__metrics>span{border-radius:0;padding:var(--mc-space-2) var(--mc-space-3) var(--mc-space-2) 0;background:transparent;}
.mc-home-focused .today-progress__metrics strong{font-size:1.7rem;font-variant-numeric:tabular-nums;white-space:normal;overflow:visible;overflow-wrap:anywhere;}
.mc-home-focused .today-progress__metrics small,.mc-home-focused .today-progress__note{font-size:var(--mc-text-xs);line-height:1.5;}
.mc-home-focused .today-progress .mc-progress{height:6px;margin-top:14px;}
@media(max-width:360px){.mc-live-custom__row{align-items:flex-start;flex-wrap:wrap;gap:8px;}.mc-live-custom__row :is(select,input[type=range]){max-width:100%;}}
@media(prefers-reduced-motion:reduce),(prefers-reduced-transparency:reduce),(prefers-contrast:more){.mc-app-weather::after{animation:none;}.mc-app-weather{--mc-live-text-brightness:1!important;}}
:root[data-reduced-motion=true] .mc-app-weather::after,:root[data-reduced-transparency=true] .mc-app-weather::after{animation:none;}
@media(forced-colors:active){.mc-app-weather[data-live-text]{--mc-ink:CanvasText;--mc-ink-secondary:CanvasText;--mc-weather-glass:Canvas;--mc-surface:Canvas;--mc-weather-edge:CanvasText;}.mc-app-weather::after{display:none;}}

/* One shared temperature/condition presentation; privacy never reveals location. */
[data-weather-symbol] svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
.mc-app-weather :is([data-weather-temperature],[data-weather-condition]){opacity:var(--mc-weather-text-brightness,1);}
[data-weather-contrast=strong] :is([data-weather-temperature],[data-weather-condition]){opacity:1!important;color:var(--mc-ink);}
.mc-app-weather[data-weather-size=larger] [data-weather-temperature]{font-size:1.9rem;}
[data-weather-intensity=still]::after,[data-live-effects=false]::after{animation:none!important;opacity:0!important;}
[data-weather-intensity=gentle]::after{animation-duration:32s!important;}
[data-live-effects=false] .mc-app-weather__bird{display:none;}
.mc-weather-appearance{display:grid;gap:12px;padding:18px;border:1px solid var(--mc-line);border-radius:var(--mc-radius-md);}
.mc-weather-appearance h3{margin:0;}
.mc-lock-weather{position:relative;display:grid;justify-items:center;gap:8px;padding:22px 18px;border:1px solid var(--mc-line);border-radius:var(--mc-radius-lg);background:var(--mc-glass-subtle);overflow:hidden;}
.mc-lock-weather [data-weather-temperature]{font-size:3.5rem;line-height:1.1;font-weight:650;font-variant-numeric:tabular-nums;color:var(--mc-ink);opacity:var(--mc-weather-text-brightness,1);}
.mc-lock-weather [data-weather-condition]{font-size:1.2rem;line-height:1.4;color:var(--mc-ink-secondary);opacity:var(--mc-weather-text-brightness,1);}
.mc-lock-weather [data-weather-symbol] svg{width:36px;height:36px;}
.mc-lock-weather a{font-size:.75rem;color:var(--mc-ink-secondary);min-height:44px;display:flex;align-items:center;}
.mc-lock-weather[data-weather-size=larger] [data-weather-temperature]{font-size:4.2rem;}
.mc-lock-weather[data-weather-atmosphere=sunny]{background:linear-gradient(135deg,var(--mc-glass-highlight),transparent),var(--mc-glass-subtle);}
.mc-lock-weather[data-weather-atmosphere=night]{background:var(--mc-glass-standard);}
.mc-lock-weather[data-weather-atmosphere=cloudy],.mc-lock-weather[data-weather-atmosphere=rainy],.mc-lock-weather[data-weather-atmosphere=snowy]{background:linear-gradient(135deg,var(--mc-glass-highlight),var(--mc-glass-subtle));}
/* Branded Focus material stays cobalt in both modes. Link/accent tokens become
   pale in dark mode and must not determine a gradient button's foreground. */
.mc-focus-action{--mc-focus-blue:#0940c4;--mc-focus-deep-blue:#05155c;display:flex;align-items:center;justify-content:center;gap:12px;min-height:56px!important;border-radius:var(--mc-radius-md);color:#fff!important;background:linear-gradient(135deg,var(--mc-focus-blue),var(--mc-focus-deep-blue))!important;border:1px solid var(--mc-glass-highlight);box-shadow:var(--mc-shadow-subtle),inset 0 1px 0 var(--mc-glass-highlight);backdrop-filter:blur(12px);transition:transform 160ms ease-out,box-shadow 160ms ease-out;}
.mc-focus-action svg{width:34px;height:34px;box-sizing:border-box;border:1px solid var(--mc-glass-highlight);border-radius:50%;padding:7px;flex:none;}
.mc-focus-action:active{transform:scale(.985);box-shadow:inset 0 1px 4px var(--mc-glass-highlight);}
/* A transformed page would anchor its fixed Focus control to scrolled content. */
.app-view[data-view=home]{transform:none!important;will-change:auto!important;animation:none!important;}
@media(prefers-reduced-motion:reduce){.mc-focus-action{transition:none;}.mc-focus-action:active{transform:none;}}
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more){.mc-focus-action{backdrop-filter:none;}.mc-lock-weather{background:var(--mc-surface-elevated);}.mc-shared-weather{--mc-weather-text-brightness:1!important;}}
:root[data-reduced-motion=true] .mc-focus-action{transition:none;}
:root[data-reduced-motion=true] .mc-focus-action:active{transform:none;}
@media(forced-colors:active){.mc-focus-action{background:ButtonFace!important;color:ButtonText!important;border-color:ButtonText;}.mc-lock-weather{background:Canvas;border-color:CanvasText;}}

.mc-lock-weather::after{content:"";position:absolute;inset:0;pointer-events:none;opacity:.04;}
.mc-lock-weather[data-weather-atmosphere=cloudy]::after{background:radial-gradient(ellipse at 25% 5%,var(--mc-blue),transparent 60%);animation:mc-live-cloud 32s ease-in-out infinite alternate;}
.mc-lock-weather[data-weather-atmosphere=rainy]::after{background:repeating-linear-gradient(115deg,transparent 0 55px,var(--mc-blue) 55px 56px,transparent 56px 90px);animation:mc-live-rain 16s linear infinite;}
.mc-lock-weather[data-weather-atmosphere=snowy]::after{background-image:radial-gradient(circle at 25% 20%,var(--mc-blue) 1px,transparent 2px);background-size:130px 100px;animation:mc-live-snow 32s linear infinite;}
.mc-lock-weather[data-weather-intensity=still]::after,.mc-lock-weather[data-weather-animations=false]::after,.mc-lock-weather[data-motion-reduced=true]::after,.mc-lock-weather[data-data-saving-motion=true]::after,.mc-lock-weather[data-live-effects=false]::after{animation:none!important;}
.mc-lock-weather[data-live-active=false]::after{animation-play-state:paused;}
@media(prefers-reduced-motion:reduce),(prefers-reduced-transparency:reduce),(prefers-contrast:more){.mc-lock-weather::after{animation:none;}}
:root[data-reduced-motion=true] .mc-lock-weather::after,:root[data-reduced-transparency=true] .mc-lock-weather::after{animation:none;}

/* Home task entry and Plan already provide their actions; note capture is direct. */
.mc-home-capture{width:100%;min-height:54px;justify-content:center;gap:10px;border:1px solid var(--mc-line);border-radius:var(--mc-radius-md);background:var(--mc-glass-subtle);box-shadow:var(--mc-shadow-subtle);font-weight:650;}
.mc-home-capture svg{flex:0 0 22px;width:22px;height:22px;fill:none;stroke:currentColor;}
