/* Personal conditions keeps the dashboard's quiet palette and puts the answer first. */
.mc-view:focus { outline: none; }
.mc-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 26px 0 23px; }
.mc-heading .eyebrow, .mc-dialog .eyebrow { font-size: 10px; letter-spacing: .13em; color: var(--muted); font-weight: 650; margin-bottom: 8px; }
.mc-heading h2 { font-size: clamp(27px, 3vw, 36px); font-weight: 570; letter-spacing: -.04em; }
.mc-heading p:last-child { color: var(--muted); font-size: 14px; margin-top: 7px; }
.mc-edit, .mc-primary { border: 1px solid var(--sea-deep); background: var(--sea-deep); color: white; border-radius: 9px; padding: 12px 17px; min-height: 44px; font-size: 13px; font-weight: 600; cursor: pointer; }
.mc-edit:hover, .mc-primary:hover { background: #104f48; }
.mc-edit span { margin-left: 14px; }
.mc-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.mc-profiles { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.mc-profiles button { padding: 10px 16px; min-height: 42px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); background: white; cursor: pointer; font-size: 13px; }
.mc-profiles button[aria-pressed="true"] { background: #e3efe8; border-color: #b3d2c2; color: var(--sea-deep); font-weight: 700; }
.mc-profiles .mc-add { padding: 6px 13px; font-size: 21px; }
.mc-station { font-size: 11px; color: var(--muted); display: flex; gap: 9px; align-items: center; flex-shrink: 0; }
.mc-station select { font: inherit; font-size: 12px; font-weight: 600; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 7px; padding: 10px; min-height: 42px; }
.mc-starter { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 15px; padding: 12px 16px; border: 1px solid #dbdfd3; border-radius: 8px; color: #67704b; background: #f2f3e9; font-size: 12px; line-height: 1.5; }
.mc-starter button { border: 0; background: transparent; color: #4e653f; text-decoration: underline; font: inherit; font-weight: 650; white-space: nowrap; cursor: pointer; min-height: 32px; }
.mc-day-nav { display: flex; align-items: center; gap: 14px; margin: 22px 0 16px; }
.mc-day-nav button { width: 44px; height: 44px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 9px; background: white; color: var(--sea-deep); font-size: 26px; cursor: pointer; }
.mc-day-nav button:hover:not(:disabled) { background: #eaf3ee; }
.mc-day-nav button:disabled { opacity: .3; cursor: default; }
.mc-day-nav button:focus-visible { outline: 2px solid var(--sea); outline-offset: 3px; }
.mc-selected-day { min-width: 210px; text-align: center; }
.mc-selected-day strong { display: block; font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.mc-selected-day span { display: block; margin-top: 4px; font-size: 10px; color: var(--muted); }
.mc-day-nav .mc-today { width: auto; margin-left: auto; padding: 0 12px; font-size: 11px; border-color: transparent; background: transparent; text-decoration: underline; }
.mc-day-nav [hidden], .mc-legend [hidden] { display: none; }
.mc-now { border: 1px solid var(--line); background: white; border-radius: 16px; overflow: hidden; }
.mc-verdict { display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; align-items: center; padding: 28px 30px; background: #edf5f0; }
.mc-now.is-no .mc-verdict { background: #faf3ef; }
.mc-now.is-unknown .mc-verdict { background: #f0f3f1; }
.mc-now-label { display: flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: .13em; font-weight: 700; color: var(--muted); }
.mc-now-label span { font-size: 10px; letter-spacing: .05em; border: 1px solid #b9cbbf; padding: 4px 7px; border-radius: 4px; }
.mc-verdict h3 { font-size: clamp(32px, 4.5vw, 52px); font-weight: 750; letter-spacing: -.035em; color: #17654e; display: flex; align-items: center; gap: 14px; margin: 11px 0; }
.is-no .mc-verdict h3 { color: #925540; }
.is-unknown .mc-verdict h3 { color: #64766d; font-size: clamp(28px, 3.5vw, 40px); }
.mc-verdict-icon { display: inline-flex; justify-content: center; align-items: center; width: 44px; height: 44px; border: 1.5px solid currentColor; border-radius: 50%; font-size: 32px; line-height: 1; font-weight: 400; flex-shrink: 0; }
.mc-verdict-detail { font-size: 13px; line-height: 1.65; color: #5e7167; max-width: 550px; }
.mc-missing-note { font-size: 11px; color: var(--muted); margin-top: 5px; }
.mc-window { border-left: 1px solid #cedbd1; padding-left: 29px; }
.mc-window > span { display: block; color: var(--muted); font-size: 9px; letter-spacing: .13em; margin-bottom: 10px; font-weight: 650; }
.mc-window strong { display: block; font-size: 18px; line-height: 1.45; font-weight: 550; letter-spacing: -.02em; }
.mc-window small { display: block; color: var(--muted); font-size: 10px; line-height: 1.6; margin-top: 9px; }
.mc-readings { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin: 22px 30px; gap: 20px; }
.mc-readings > div { border-right: 1px solid var(--line); }
.mc-readings > div:last-child { border: 0; }
.mc-readings span { color: var(--muted); font-size: 11px; display: block; }
.mc-readings strong { font-size: 25px; display: block; margin: 6px 0; font-weight: 580; letter-spacing: -.035em; }
.mc-readings small { font-size: 10px; color: var(--muted); display: block; line-height: 1.5; }
.mc-checks { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 30px; }
.mc-check { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px; background: #f2f7f3; border-radius: 5px; font-size: 10px; color: #34634e; }
.mc-check b { font-weight: 600; }
.mc-check small { color: inherit; opacity: .8; font-size: 10px; }
.mc-check.is-no { color: #8d513f; background: #fbefea; }
.mc-check.is-unknown { color: #69786d; background: #f0f2ef; }
.mc-observation-time { font-size: 10px; line-height: 1.6; color: var(--muted); padding: 14px 30px 18px; }
.mc-day { margin-top: 20px; background: white; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.mc-day-heading { padding: 23px 30px 10px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mc-day-heading h3 { font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.mc-day-heading p { margin-top: 6px; font-size: 11px; color: var(--muted); }
.mc-legend { display: flex; flex-wrap: wrap; gap: 13px; font-size: 10px; color: var(--muted); }
.mc-legend span, .mc-chart-key span { display: inline-flex; align-items: center; gap: 6px; }
.mc-legend i { width: 19px; height: 0; border-top: 2px solid #17665d; }
.mc-legend .mc-dashed { border-top: 2px dashed #7e9590; }
.mc-legend .mc-band { height: 10px; background: #eaf5ef; border: 1px solid #cddfd3; }
.mc-chart { overflow-x: auto; padding: 10px 20px 0; overscroll-behavior-x: contain; }
.mc-chart svg { display: block; width: 100%; }
.mc-data-note { padding: 0 30px 8px; color: var(--muted); font-size: 10px; line-height: 1.6; }
.mc-axis { font-size: 11px; fill: #73847c; }
.mc-row-label { font-size: 12px; fill: #3f5e50; font-weight: 600; }
.mc-now-marker { font-size: 10px; fill: #31554b; font-weight: 700; letter-spacing: .05em; }
.mc-chart-slot { cursor: pointer; }
.mc-scrub { padding: 8px 30px 18px; display: flex; align-items: center; gap: 13px; color: var(--muted); font-size: 11px; }
.mc-scrub input { flex: 1; min-width: 0; accent-color: var(--sea-deep); height: 28px; cursor: pointer; }
.mc-scrub output { font-variant-numeric: tabular-nums; color: var(--ink); font-size: 13px; font-weight: 600; }
.mc-inspect { display: grid; grid-template-columns: 60px 1fr 1fr; gap: 18px; padding: 18px 30px; background: #f7faf8; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mc-inspect.mc-forecast-only { grid-template-columns: 60px 1fr; }
.mc-inspect > strong { font-size: 19px; font-weight: 550; }
.mc-mini-state { font-size: 11px; font-weight: 700; color: #17654e; }
.mc-mini-state.is-no { color: #925540; }
.mc-mini-state.is-unknown, .mc-mini-state.is-future { color: #68776e; }
.mc-inspect p { font-size: 11px; color: var(--muted); line-height: 1.7; margin-top: 6px; }
.mc-inspect small { display: block; font-size: 9px; color: var(--muted); margin-top: 4px; }
.mc-chart-key { display: flex; flex-wrap: wrap; gap: 10px 16px; padding: 14px 30px; color: var(--muted); font-size: 10px; }
.mc-chart-key i { width: 10px; height: 10px; border-radius: 2px; }
.mc-go-key { background: #6aa788; }
.mc-no-key { background: #d9a799; }
.mc-unknown-key { background: repeating-linear-gradient(135deg,#f0f2f1 0 3px,#cbd4d0 3px 4px); }
.mc-chart-key span:last-child { margin-left: auto; }
.mc-bottom { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin: 17px 0 26px; font-size: 11px; color: var(--muted); line-height: 1.7; }
.mc-bottom details { max-width: 630px; }
.mc-bottom summary { color: var(--sea-deep); cursor: pointer; text-align: right; }
.mc-bottom details p { margin-top: 12px; }
.mc-dialog { width: min(650px,calc(100% - 24px)); max-width: 650px; padding: 26px !important; overflow-y: auto; max-height: calc(100dvh - 32px - var(--safe-top) - var(--safe-bottom)); }
.mc-dialog .dialog-head { top: -26px; background: white; z-index: 3; padding: 18px 0; }
.mc-dialog .dialog-head .close-button { width: 44px; height: 44px; min-width: 44px; min-height: 44px; flex-shrink: 0; }
.mc-form-intro { font-size: 13px; line-height: 1.6; color: var(--muted); margin: 8px 0 20px; }
.mc-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mc-dialog label { display: flex; flex-direction: column; gap: 7px; font-size: 12px; color: #405d50; min-width: 0; }
.mc-dialog input:not([type="checkbox"]), .mc-dialog select { width: 100%; min-width: 0; min-height: 44px; font: inherit; font-size: 16px; color: var(--ink); background: #fcfdfc; border: 1px solid #d4e0d8; border-radius: 7px; padding: 10px 11px; }
.mc-dialog input:focus-visible, .mc-dialog select:focus-visible, .mc-view input:focus-visible, .mc-view select:focus-visible { outline: 2px solid var(--sea); outline-offset: 2px; }
.mc-full-field { margin-top: 14px; }
.mc-dialog fieldset { margin: 25px 0 0; padding: 18px 0 0; border: 0; border-top: 1px solid var(--line); }
.mc-dialog legend { font-size: 17px; font-weight: 600; padding-right: 12px; letter-spacing: -.02em; }
.mc-dialog legend small { font-size: 12px; font-weight: 400; color: var(--muted); margin-left: 5px; }
.mc-dialog fieldset p { margin: 10px 0 0; font-size: 11px; line-height: 1.65; color: var(--muted); }
.mc-dialog .mc-toggle { flex-direction: row; align-items: center; margin: 14px 0; gap: 9px; min-height: 32px; cursor: pointer; }
.mc-toggle input { width: 19px; height: 19px; accent-color: var(--sea-deep); }
.mc-directions { display: grid; grid-template-columns: repeat(8,1fr); gap: 5px; }
.mc-directions button { background: white; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 10px 0; min-height: 40px; font-size: 11px; cursor: pointer; }
.mc-directions button[aria-pressed="true"] { color: var(--sea-deep); background: #e3efe8; border-color: #b3d2c2; font-weight: 700; }
.mc-tide-window { margin-top: 14px; }
.mc-field-note { align-self: center; color: var(--muted); font-size: 11px; line-height: 1.6; }
.mc-profile-actions { display: flex; justify-content: space-between; gap: 15px; margin-top: 22px; }
.mc-profile-actions button { font-size: 11px; }
.mc-save { position: sticky; bottom: -26px; background: white; border-top: 1px solid var(--line); padding: 18px 0 10px; margin-top: 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; z-index: 2; }
.mc-save .text-button { font-size: 12px; }
.mc-form-error { margin: 16px 0; padding: 12px; border-radius: 7px; background: #fbefea; color: #925540; font-size: 13px; line-height: 1.6; }
@media(max-width:800px) {
  .mc-toolbar { flex-direction: column; align-items: stretch; gap: 12px; }
  .mc-station { justify-content: flex-end; }
  .mc-verdict { grid-template-columns: 1fr; gap: 19px; }
  .mc-window { border-left: 0; border-top: 1px solid #cedbd1; padding: 16px 0 0; }
  .mc-window strong { font-size: 16px; }
  .mc-day-heading { flex-direction: column; align-items: flex-start; gap: 16px; }
}
@media(max-width:600px) {
  .view-tabs { gap: 13px; }
  .view-tabs button { font-size: 11px; }
  .webcam-nav { font-size: 11px; padding: 8px; gap: 4px; }
  .mc-heading { margin: 22px 0 18px; gap: 12px; align-items: flex-end; }
  .mc-heading .eyebrow { font-size: 8px; letter-spacing: .08em; }
  .mc-heading h2 { font-size: 27px; }
  .mc-heading p:last-child { font-size: 11px; }
  .mc-edit { font-size: 11px; padding: 10px 12px; white-space: nowrap; }
  .mc-edit span { display: none; }
  .mc-profiles { gap: 5px; }
  .mc-profiles button { padding: 9px 13px; font-size: 12px; }
  .mc-station { justify-content: space-between; }
  .mc-starter { font-size: 10px; padding: 10px 12px; }
  .mc-day-nav { gap: 7px; flex-wrap: wrap; }
  .mc-selected-day { flex: 1; min-width: 0; }
  .mc-selected-day span { font-size: 9px; }
  .mc-day-nav .mc-today { flex-basis: 100%; height: 28px; margin: -4px 0 0; text-align: center; }
  .mc-verdict { padding: 22px 19px; }
  .mc-verdict h3 { font-size: 43px; }
  .mc-now.is-unknown .mc-verdict h3 { font-size: 28px; gap: 10px; }
  .mc-verdict-icon { width: 35px; height: 35px; font-size: 25px; }
  .mc-verdict-detail { font-size: 12px; }
  .mc-readings { grid-template-columns: 1fr 1fr; gap: 20px 18px; margin: 20px; }
  .mc-readings > div:nth-child(2n) { border: 0; }
  .mc-readings strong { font-size: 24px; }
  .mc-checks { padding: 0 19px; }
  .mc-check { font-size: 9px; }
  .mc-observation-time { padding: 13px 19px 18px; font-size: 9px; }
  .mc-day-heading { padding: 20px 19px 10px; }
  .mc-day-heading h3 { font-size: 17px; }
  .mc-legend { font-size: 9px; gap: 10px; }
  .mc-chart { padding: 8px 8px 0; }
  .mc-data-note { padding: 0 19px 8px; font-size: 9px; }
  .mc-row-label { font-size: 10px; }
  .mc-scrub { padding: 12px 18px; gap: 10px; }
  .mc-inspect, .mc-inspect.mc-forecast-only { grid-template-columns: 1fr; gap: 12px; padding: 17px 19px; }
  .mc-inspect > strong { font-size: 17px; }
  .mc-chart-key { padding: 14px 19px; gap: 10px; font-size: 9px; }
  .mc-chart-key span:last-child { width: 100%; margin: 0; }
  .mc-bottom { display: block; margin: 16px 0; font-size: 10px; }
  .mc-bottom details { margin-top: 12px; }
  .mc-bottom summary { text-align: left; }
  .mc-dialog { padding: 19px !important; }
  .mc-dialog .dialog-head { top: -19px; }
  .mc-save { bottom: -19px; }
  .mc-directions { grid-template-columns: repeat(4,1fr); }
}
@media(max-width:360px) {
  .view-tabs { gap: 10px; }
  .view-tabs button, .webcam-nav { font-size: 10px; }
  .webcam-nav svg { display: none; }
  .mc-profiles button { padding: 9px 10px; }
}
