.day-flow-board{position:relative;margin:0 0 14px;padding:16px 18px;border:1px solid rgba(84,135,190,.2);border-radius:22px;background:linear-gradient(135deg,rgba(255,255,255,.96),rgba(235,247,255,.94));box-shadow:0 10px 30px rgba(44,88,126,.08);overflow:hidden}.day-flow-board:before{content:"";position:absolute;inset:0 0 auto;height:3px;background:linear-gradient(90deg,#19b88f,#4ba9ff,#826de8)}
.day-flow-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.day-flow-heading h2{margin:0;font-size:1.12rem;letter-spacing:-.035em}.day-flow-badges{display:flex;align-items:center;gap:6px}.day-flow-source,.day-flow-confidence{flex:none;margin:0;padding:5px 8px;border-radius:999px;font-size:.68rem;font-weight:800}.day-flow-source{background:#edf3f8;color:#52677a}.day-flow-confidence{background:#e8f7f1;color:#08735c}
.day-flow-summary{display:grid;grid-template-columns:1fr 1.35fr;margin:0 0 10px;padding:0;border:1px solid rgba(73,126,176,.14);border-radius:14px;background:rgba(255,255,255,.7);list-style:none;overflow:hidden}.day-flow-summary li{display:flex;align-items:center;gap:8px;min-width:0;padding:10px 12px;border-right:1px solid rgba(73,126,176,.12)}.day-flow-summary li:last-child{border-right:0}.day-flow-summary small{flex:none;color:#65778a;font-size:.7rem;font-weight:800}.day-flow-summary strong{min-width:0;color:#10273f;font-size:.86rem;line-height:1.35;word-break:keep-all}
.day-flow-timeline-wrap{padding:68px 11px 7px;border-radius:13px;background:#102f4b;color:#fff}.day-flow-timeline-stage{position:relative}.day-flow-timeline{display:flex;align-items:flex-start;gap:3px;min-height:32px;touch-action:pan-y;user-select:none;-webkit-user-select:none}.day-flow-segment{position:relative;flex:1;height:28px;min-width:2px;padding:0;border:0;border-radius:4px 4px 7px 7px;background:#37b995;box-shadow:inset 0 1px rgba(255,255,255,.38),0 4px 0 #197e68;cursor:ew-resize;appearance:none;-webkit-appearance:none;transition:transform .09s,filter .12s,box-shadow .09s}.day-flow-segment.rain{background:#4ba9ff;box-shadow:inset 0 1px rgba(255,255,255,.42),0 4px 0 #236fab}.day-flow-segment.cold{background:#826de8;box-shadow:inset 0 1px rgba(255,255,255,.38),0 4px 0 #5141a3}.day-flow-segment.heat{background:#f19a3e;box-shadow:inset 0 1px rgba(255,255,255,.38),0 4px 0 #a65d16}.day-flow-segment.wind{background:#91a1b1;box-shadow:inset 0 1px rgba(255,255,255,.38),0 4px 0 #586878}.day-flow-segment.is-current-hour{outline:2px solid #fff;outline-offset:2px;filter:brightness(1.12)}.day-flow-segment.day-boundary{margin-left:3px}.day-flow-segment.day-boundary:before{content:"";position:absolute;left:-5px;top:-3px;bottom:-6px;width:1px;background:rgba(255,255,255,.7)}.day-flow-segment:hover,.day-flow-segment:focus-visible{z-index:2;filter:brightness(1.2);outline:2px solid #fff;outline-offset:2px}.day-flow-segment.is-selected,.day-flow-timeline.is-scrubbing .day-flow-segment.is-selected{z-index:3;transform:translateY(4px);filter:brightness(1.25);box-shadow:inset 0 2px 4px rgba(3,25,43,.32),0 1px 0 rgba(255,255,255,.3)}.day-flow-segment:after{display:none}.day-flow-scrub-popover{position:absolute;z-index:8;bottom:calc(100% + 10px);left:4px;display:flex;box-sizing:border-box;width:max-content;min-width:min(178px,calc(100% - 8px));max-width:min(250px,calc(100% - 8px));padding:8px 10px;border:1px solid #b9d4eb;border-top:3px solid #37b995;border-radius:11px;background:rgba(255,255,255,.98);box-shadow:0 9px 24px rgba(1,16,31,.3);color:#10273f;line-height:1.25;pointer-events:none;transform:none;flex-direction:column}.day-flow-scrub-popover[hidden]{display:none}.day-flow-scrub-popover:after{content:"";position:absolute;top:100%;left:var(--day-popover-arrow,50%);border:6px solid transparent;border-top-color:#fff;transform:translateX(-50%)}.day-flow-scrub-popover.rain{border-top-color:#4ba9ff}.day-flow-scrub-popover.cold{border-top-color:#826de8}.day-flow-scrub-popover.heat{border-top-color:#f19a3e}.day-flow-scrub-popover.wind{border-top-color:#91a1b1}.day-flow-scrub-popover strong{font-size:.72rem;font-weight:900}.day-flow-scrub-popover span{margin-top:3px;color:#52677a;font-size:.64rem;font-weight:700;white-space:normal}.day-flow-now-marker{position:absolute;z-index:4;top:-9px;bottom:-5px;width:2px;background:#ffe071;box-shadow:0 0 0 1px rgba(16,47,75,.7),0 0 8px rgba(255,224,113,.8);pointer-events:none}.day-flow-now-marker b{position:absolute;bottom:calc(100% + 3px);left:50%;padding:2px 5px;border-radius:5px;background:#ffe071;color:#102f4b;font-size:.58rem;line-height:1.25;white-space:nowrap;transform:translateX(-50%)}.day-flow-time-axis{position:relative;height:20px;margin-top:7px;color:#d4e3ef;font-size:.58rem;font-variant-numeric:tabular-nums}.day-flow-time-label{position:absolute;top:0;white-space:nowrap;transform:translateX(-50%)}.day-flow-time-label:first-child{transform:none}.day-flow-time-label:last-child{transform:translateX(-100%)}.day-flow-time-label.current{color:#ffe071;font-weight:800}.day-flow-timeline.empty{display:block;padding:4px;color:#d2dfeb;text-align:center}.day-flow-timeline-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:2px;color:#b9cee0;font-size:.65rem}.day-flow-scrub-hint{color:#ffe071;font-weight:800}.day-flow-legend{display:flex;gap:9px}.day-flow-legend span{display:flex;align-items:center;gap:3px}.day-flow-legend i{width:6px;height:6px;border-radius:50%;background:#37b995}.day-flow-legend i.rain{background:#4ba9ff}.day-flow-legend i.cold{background:#826de8}.day-flow-legend i.heat{background:#f19a3e}.day-flow-legend i.wind{background:#91a1b1}
html[data-weather-theme="dark"] .day-flow-board{border-color:rgba(130,177,220,.2);background:linear-gradient(135deg,#12283d,#172f45)}html[data-weather-theme="dark"] .day-flow-summary{border-color:rgba(170,205,235,.13);background:rgba(255,255,255,.04)}html[data-weather-theme="dark"] .day-flow-summary li{border-color:rgba(170,205,235,.13)}html[data-weather-theme="dark"] .day-flow-summary strong,html[data-weather-theme="dark"] .day-flow-heading h2{color:#eef7ff}html[data-weather-theme="dark"] .day-flow-summary small{color:#a8bdd0}html[data-weather-theme="dark"] .day-flow-source{background:#20384d;color:#bfd0de}
@media(max-width:720px){.day-flow-board{padding:13px 12px;border-radius:18px}.day-flow-heading{margin-bottom:8px}.day-flow-summary{grid-template-columns:1fr}.day-flow-summary li{padding:8px 10px;border-right:0;border-bottom:1px solid rgba(73,126,176,.12)}.day-flow-summary li:last-child{border-bottom:0}.day-flow-summary small{width:36px}.day-flow-timeline-meta>[data-day-range-label]{display:none}.day-flow-scrub-hint{font-size:.58rem}.day-flow-legend{flex:1;justify-content:space-between;gap:5px}.day-flow-timeline{min-height:32px}.day-flow-time-axis{font-size:.52rem}.day-flow-now-marker b{font-size:.52rem}}
@media(max-width:430px){.day-flow-time-label:nth-child(2),.day-flow-time-label:nth-child(4){display:none}}
.day-flow-time-label:first-child{transform:translateX(-50%)}
@media(max-width:430px){.day-flow-time-label:nth-child(2),.day-flow-time-label:nth-child(4){display:block}.day-flow-time-label:nth-child(1),.day-flow-time-label:nth-child(3){display:none}}
.day-flow-time-axis{z-index:2;color:#eef7ff;font-weight:750}
@media(max-width:720px){.day-flow-time-axis{height:23px;font-size:.6rem}}

/* A deep stage gives the colored piano-key timeline a clear visual anchor. */
.day-flow-timeline-wrap{padding:32px 11px 9px;border:1px solid #214f70;border-radius:10px;background:linear-gradient(155deg,#183c5a 0%,#102f4b 56%,#0b253b 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 10px 24px rgba(16,47,75,.16);color:#f4f9fd}
.day-flow-time-axis{color:#e6f1fb}
.day-flow-timeline-meta{color:#c2d4e4;flex-wrap:wrap;row-gap:6px}
.day-flow-scrub-hint{color:#ffe071;font-weight:750}
.day-flow-now-marker{background:#ffe071;box-shadow:0 0 0 1px rgba(16,47,75,.62),0 0 8px rgba(255,224,113,.68)}
.day-flow-now-marker b{left:0;transform:none;background:#ffe071;color:#102f4b}
.day-flow-segment.is-current-hour,.day-flow-segment:hover,.day-flow-segment:focus-visible{outline-color:#fff}
.day-flow-segment.day-boundary:before{background:rgba(255,255,255,.58)}
.day-flow-timeline.empty{color:#c7d8e8}
html[data-weather-theme="dark"] .day-flow-timeline-wrap{background:linear-gradient(155deg,#0d2a40 0%,#091f32 58%,#061725 100%);border-color:#183b56;box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 12px 26px rgba(0,0,0,.22);color:#f4f9fd}
html[data-weather-theme="dark"] .day-flow-time-axis{color:#e6f1fb}
html[data-weather-theme="dark"] .day-flow-timeline-meta{color:#c2d4e4}
html[data-weather-theme="dark"] .day-flow-scrub-hint{color:#ffe071}
html[data-weather-theme="dark"] .day-flow-now-marker{background:#ffe071}
html[data-weather-theme="dark"] .day-flow-now-marker b{background:#ffe071;color:#102f4b}

/* 홈 브리핑 안에서는 독립 카드 테두리 대신 하나의 읽기 흐름을 사용한다. */
#stitch-live-dashboard .day-flow-board.day-flow-integrated{margin:14px 0 0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible}
#stitch-live-dashboard .day-flow-integrated:before{display:none}
#stitch-live-dashboard .day-flow-integrated .day-flow-heading h2{font-size:11px;font-weight:700;color:var(--st-muted)}
#stitch-live-dashboard .day-flow-integrated .day-flow-heading{flex-wrap:wrap;gap:6px;margin-bottom:9px}
#stitch-live-dashboard .day-flow-integrated .day-flow-summary{margin-bottom:12px}
#stitch-live-dashboard .day-flow-integrated .day-flow-badges{gap:5px}
