@import"https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700&family=Manrope:wght@400;500;600;700&display=swap";:root{--bg-top: #f7f4ec;--bg-bottom: #e8eef8;--ink: #1e293b;--muted: #5b6474;--panel: rgba(255, 255, 255, .83);--panel-strong: rgba(255, 255, 255, .94);--line: rgba(44, 85, 120, .2);--accent: #0f766e;--accent-strong: #0b5f58;--error: #b42318;--shadow: 0 16px 35px rgba(25, 54, 84, .13);--title-font: "Fraunces", Georgia, serif;--body-font: "Manrope", "Segoe UI", sans-serif}*{box-sizing:border-box}html,body,#app{height:100%;overflow:hidden}body{margin:0;font-family:var(--body-font);color:var(--ink);background:#d7e7f6}h1,h2,h3,p{margin:0}h1,h2{font-family:var(--title-font);letter-spacing:.01em}button{font-family:inherit}.app{width:100%;height:100vh;max-height:100vh;padding:.9rem clamp(.85rem,2.4vw,2.1rem) .85rem;display:grid;grid-template-rows:auto minmax(0,1fr);gap:.8rem;transition:background .26s ease}.app.app-info-only{grid-template-rows:minmax(0,1fr);padding:0}.auth-controls{display:flex;align-items:center;gap:.5rem}.auth-controls.auth-controls-centered{justify-content:center;margin-top:1.2rem;width:100%;justify-self:center;flex-wrap:wrap}.auth-btn,.small-btn{border-radius:10px;border:1px solid transparent;cursor:pointer;transition:transform .15s ease,filter .15s ease,background-color .15s ease;padding:.45rem .82rem;font-size:.9rem}.auth-btn,.small-btn{background:#fff;border-color:var(--line);color:var(--ink)}.auth-btn-primary,.small-btn.selected{background:var(--accent);border-color:var(--accent);color:#fff;font-weight:700}.small-btn.secondary-btn{background:#194f84;border-color:#194f84;color:#fff}.small-btn.danger-btn{background:#b42318;border-color:#b42318;color:#fff}.auth-btn:hover,.small-btn:hover{transform:translateY(-1px);filter:brightness(1.03)}.small-btn:disabled{opacity:.6;cursor:not-allowed;transform:none}.planner-main{min-height:0;overflow:hidden}.info-cards-main{min-height:0}.info-cards-grid{height:100%;min-height:0;display:grid;grid-template-columns:1fr;grid-template-rows:minmax(0,1fr);gap:.75rem}.info-card{min-height:0;display:flex;flex-direction:column}.info-card-title{margin:0;color:#2a4864;font-size:1rem}.info-card-main{margin:.55rem 0 0;font-size:1.08rem;font-weight:800;color:#193851;line-height:1.3}.info-card-meta{margin:.45rem 0 0;color:#49637d;font-weight:700}.info-card-summary{height:100%}.info-card-summary-head{display:flex;justify-content:space-between;align-items:center;gap:.6rem}.info-card-summary-caption{font-size:.8rem;font-weight:700;color:#4f6781}.info-card-summary-text{margin:.65rem 0 0;white-space:pre-wrap;line-height:1.4;color:#1f2f41;background:#f6f9fd;border:1px solid #d2dceb;border-radius:12px;padding:.75rem .8rem;overflow:auto;flex:1}.info-card-actions{margin-top:.72rem;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.info-card-actions .color-footer-btn{width:100%;min-width:0;flex:initial}.overview-grid,.editor-grid{height:100%;min-height:0}.overview-grid{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,3fr);gap:.75rem}.overview-grid-single{grid-template-columns:1fr}.overview-card{background:var(--panel-strong);border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);padding:.9rem}.current-card,.next-card{min-height:190px}.overview-title{margin-top:.35rem;font-size:clamp(1.12rem,2.3vw,1.5rem);font-weight:700}.overview-time{margin-top:.4rem;color:#1f4361;font-weight:700}.overview-details{margin-top:.55rem;color:#2e3e52;font-size:1rem;line-height:1.35}.list-card{min-height:0;overflow:hidden}.timeline-card{display:grid;grid-template-rows:auto minmax(0,1fr);gap:.6rem}.timeline-card-past{background:#eef2f7;border-color:#c6d3e4}.timeline-card-expanded{height:100%}.week-card{min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);gap:.6rem;height:100%}.week-list{min-height:0;overflow:auto;display:grid;gap:.5rem;height:100%}.week-day-row{border:1px solid #bfd1e5;border-radius:12px;background:#f7fbff;padding:.55rem .6rem;display:grid;grid-template-columns:140px 1fr;gap:.55rem;align-items:center;cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease}.week-day-row.today{border-color:#2e8aa8;box-shadow:inset 0 0 0 1px #2e8aa8}.week-day-row.selected{border-color:#0f766e;box-shadow:inset 0 0 0 2px #0f766e}.week-day-row.past{background:#eef3f9;opacity:.6}.week-day-labels{display:grid;gap:.3rem}.week-day-label{font-weight:800;color:#24415f}.week-day-state{font-size:.72rem;font-weight:800;border-radius:999px;background:#d7e9fa;color:#29506f;padding:.12rem .45rem}.week-empty{margin-top:.3rem;color:#5a718b;font-size:.86rem}.week-day-events{display:grid;gap:.3rem}.week-event-list{list-style:none;margin:.25rem 0 0;padding:0;display:grid;gap:.3rem}.week-event-row{display:grid;grid-template-columns:auto 1fr;gap:.4rem;align-items:baseline;background:#eef4fb;border:1px solid #cbddee;border-radius:10px;padding:.35rem .5rem}.week-event-time{font-size:.78rem;font-weight:800;color:#2a5070}.week-event-title{font-size:.84rem;color:#223f5b;font-weight:700}.today-timeline{min-height:0;display:flex;flex-direction:column;gap:.35rem;height:100%;position:relative}.timeline-legend{display:flex;gap:.5rem}.legend-chip{display:inline-flex;align-items:center;border-radius:999px;padding:.15rem .55rem;font-size:.72rem;font-weight:800}.legend-done{background:#dfe5ec;color:#334860}.legend-active{background:#c9f0df;color:#245b3d}.legend-upcoming{background:#d8ecfb;color:#2b4d73}.timeline-scale{display:flex;justify-content:space-between;color:#4a617a;font-size:.78rem;font-weight:700}.timeline-phase-row{display:grid;grid-template-columns:repeat(4,1fr);gap:.3rem;color:#5b738e;font-size:.78rem;font-weight:800;text-align:center}.today-track{position:relative;flex:1 1 auto;min-height:320px;border:1px solid #c8d9ea;border-radius:12px;background:linear-gradient(to right,rgba(28,85,134,.06) 1px,transparent 1px) 0 0 / 20% 100%,#f8fbff;overflow:hidden}.today-all-day-layer{position:absolute;left:12px;right:12px;bottom:12px;display:flex;gap:.4rem;flex-wrap:wrap;padding:.35rem .4rem;border-radius:12px;background:#e7f2fce6;border:1px solid rgba(150,182,214,.5);z-index:2;cursor:pointer}.today-all-day-layer.selected{background:#c8e4fcf2;border-color:#487aa8cc;outline:2px solid rgba(72,122,168,.5);outline-offset:1px}.today-all-day-bar{display:inline-flex;align-items:center;padding:.25rem .6rem;border-radius:999px;border:1px solid rgba(72,122,168,.5);background:#487aa826;font-weight:800;font-size:.82rem;color:#1e3a57;cursor:pointer}.today-all-day-bar.selected{background:#487aa859;border-color:#487aa8e6;outline:2px solid rgba(72,122,168,.6);outline-offset:1px}.today-full-day{display:flex;flex-wrap:wrap;gap:.4rem;padding:.4rem .2rem .2rem}.today-full-day-chip{display:inline-flex;align-items:center;padding:.35rem .7rem;border-radius:999px;border:1px solid #b9cbe0;background:#f1f6fc;font-weight:800;font-size:.85rem;color:#234060;cursor:pointer}.timeline-help{color:#214766;font-weight:700;font-size:.95rem}.today-block{position:absolute;top:20px;bottom:auto;border-radius:12px;border:1px solid #89b9df;background:#d8ecfb;padding:.55rem .65rem;overflow:hidden;cursor:grab;display:flex;align-items:center;justify-content:center;text-align:center}.today-block.dragging{cursor:grabbing;box-shadow:0 9px 22px #111f3733}@media (hover: hover){.today-block:not(.dragging):hover{border-color:#5ba0cc;background:#c6e4f7;box-shadow:0 4px 12px #11406e26}.today-block.status-active:not(.dragging):hover{background:#b6ecd4;border-color:#3e9e6a;box-shadow:0 4px 12px #1e5a3c26}.today-block.status-done:not(.dragging):hover{background:#dce7f4;border-color:#94aec5;box-shadow:0 4px 12px #2c3f561f}.today-all-day-layer:hover{border-color:#487aa8b3;background:#d2eafcf2}.today-all-day-bar:hover{background:#487aa847;border-color:#487aa8bf}}.today-block.selected{z-index:2}.today-block.status-upcoming{background:#d8ecfb}.today-block.status-active{background:#c9f0df;border-color:#62b689}.today-block.status-done{background:#e8f0f9;border-color:#b7c7d8}.today-done{position:absolute;top:0;left:0;bottom:0;background:#2c3f562e;pointer-events:none}.today-create-selection{position:absolute;top:8px;bottom:8px;border-radius:14px;background:#1f6f4a33;border:2px dashed rgba(31,111,74,.45);z-index:1}.today-block-title,.today-block-time{position:relative;z-index:1}.today-block-title{font-weight:800;font-size:1.06rem;color:#1f3551;line-height:1.15;margin:0}.today-now-line{position:absolute;top:0;bottom:0;width:2px;background:#9f1521;z-index:4}.today-now-pill-wrap{position:absolute;top:0;transform:translate(-50%);z-index:10}.today-timeline-vertical .today-now-pill-wrap{top:auto;left:0!important;transform:translateY(-50%)}.today-now-line>.now-pill,.today-now-pill-wrap>.now-pill{display:block;background:#9f1521;color:#fff;border-radius:999px;padding:.2rem .75rem;min-width:72px;text-align:center;font-size:.82rem;font-weight:800;white-space:nowrap;cursor:grab}.today-row{margin-top:.6rem;border:1px solid var(--line);border-radius:12px;background:#fff;padding:.6rem .7rem}.today-time{color:#1f4361;font-weight:700}.today-title{margin-top:.2rem;font-weight:700}.today-details{margin-top:.2rem;color:#35465a}.editor-grid{display:grid;grid-template-columns:minmax(410px,1.05fr) minmax(300px,.95fr);gap:.75rem}.editor-grid-horizontal{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) auto;height:100%}.editor-grid-horizontal .month-card{height:100%}.editor-grid-horizontal .month-grid{grid-auto-rows:minmax(0,1fr);min-height:0;overflow:hidden}.month-card,.day-editor-card{background:var(--panel-strong);border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);min-height:0}.month-card{display:grid;grid-template-rows:auto auto minmax(0,1fr);overflow:hidden}.month-toolbar{padding:.7rem .8rem .55rem;display:flex;align-items:center;justify-content:space-between;gap:.55rem}.month-toolbar-right{display:flex;gap:.45rem}.weekday-row{display:grid;grid-template-columns:repeat(7,1fr);padding:0 .75rem .45rem;color:#516072;font-weight:700;font-size:.84rem;text-align:center}.month-grid{display:grid;grid-template-columns:repeat(7,1fr);grid-auto-rows:minmax(84px,1fr);gap:.35rem;padding:0 .75rem .75rem;min-height:0}.month-cell{border:1px solid #d1deed;border-radius:11px;background:#fff;padding:.35rem;min-width:0;display:flex;flex-direction:column;gap:.25rem;cursor:pointer}.month-cell>header{font-size:.82rem;font-weight:700;color:#2b3b4f}.month-cell.muted{opacity:.53}.month-cell.today{border-color:#2f7cb5;box-shadow:inset 0 0 0 2px #2f7cb573;background:#2f7cb514}.month-cell.selected{border-color:var(--accent);box-shadow:0 0 0 2px #0f766e59,inset 0 0 0 1px var(--accent);background:#0f766e14}.month-cell.past:not(.selected){background:#eef2f6;border-color:#d6e0ec}.month-cell.past>header{color:#7a8a9d}.cell-events{min-height:0;display:flex;align-items:center;justify-content:flex-start;gap:.2rem;flex-wrap:wrap;overflow:hidden}.event-chip{width:100%;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:.35rem;text-align:left;border:1px solid #99c6eb;background:#e9f4ff;color:#1f3450;border-radius:8px;font-size:.74rem;padding:.22rem .32rem;cursor:pointer}.event-chip-time{font-weight:800;color:#1b4b6e;font-size:.72rem}.event-chip-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cell-event-dot{width:10px;height:10px;border-radius:999px;background:#2668a8e6;box-shadow:0 0 0 3px #2668a826}.month-cell.past .cell-event-dot{background:#7b8a9cb3;box-shadow:0 0 0 3px #7b8a9c1f}.cell-event-count{font-size:.72rem;font-weight:800;color:#2b4667}.month-cell.past .cell-event-count{color:#7a8a9d}.day-editor-card{padding:.75rem;display:grid;grid-template-rows:auto minmax(0,1fr)}.day-editor-card-flat{padding:0;border:0;background:transparent;box-shadow:none}.editor-grid-horizontal .day-editor-card{min-height:0;margin-top:.9rem}.day-header{display:flex;justify-content:space-between;align-items:center;gap:.6rem;margin-bottom:.6rem}.timeline-wrap{min-height:0;overflow:auto;border:1px solid #cedbea;border-radius:12px;background:#f8fbff}.timeline-hours{position:relative;cursor:crosshair}.timeline-past-overlay{position:absolute;left:0;right:0;top:0;background:#a1acbb3b;pointer-events:none}.hour-line{position:absolute;left:0;right:0;border-top:1px solid #dde8f4}.hour-line>span{position:absolute;left:.35rem;top:-.58rem;font-size:.72rem;color:#58708c;background:#f8fbff;padding:0 .15rem}.timeline-event{position:absolute;left:5.1rem;right:.65rem;border:1px solid #3f8ec9;background:#e8f5ff;border-radius:10px;padding:.34rem .5rem .65rem;cursor:move;overflow:hidden}.timeline-complete-overlay{position:absolute;left:0;right:0;top:0;background:#5a627066;pointer-events:none}.timeline-event>p,.timeline-event>.resize-handle{position:relative;z-index:1}.timeline-selection{position:absolute;left:5.1rem;right:.65rem;border:1px dashed #1f7c8d;border-radius:10px;background:#78dccf40;pointer-events:none}.timeline-now-line{position:absolute;left:0;right:0;border-top:2px solid #a11222;pointer-events:none}.timeline-now-line>span{position:absolute;left:.35rem;top:-.7rem;background:#a11222;color:#fff;border-radius:999px;padding:.1rem .42rem;font-size:.72rem;font-weight:700}.timeline-time{color:#1b507b;font-size:.74rem;font-weight:700}.timeline-title{margin-top:.15rem;font-size:.86rem;font-weight:700}.timeline-details{margin-top:.12rem;color:#324b66;font-size:.78rem;line-height:1.25}.resize-handle{position:absolute;left:0;right:0;bottom:0;height:8px;border:0;border-top:1px solid #6aa6d3;border-radius:0 0 10px 10px;background:#2e75ab59;cursor:ns-resize}.empty{margin-top:.55rem;color:var(--muted);background:#ecf4fb;border:1px dashed #accbe6;border-radius:11px;padding:.6rem}.info-area{height:30vh;min-height:140px;border-radius:20px;border:1px solid rgba(40,62,84,.22);box-shadow:var(--shadow);overflow:hidden;font-size:1.8rem;position:relative;display:flex;flex-direction:column;--daycycle-ink: #f3f7ff;--daycycle-muted: rgba(243, 247, 255, .86);--sky-sun: #ffe487;--sky-moon: #e4ecff;--sky-star: rgba(255, 255, 255, .9);--sky-haze: rgba(255, 255, 255, .35);--sky-haze-strong: rgba(255, 255, 255, .5);--sky-haze-opacity: .42;--sky-shoot: rgba(255, 255, 255, .95);--shoot-opacity: .8;--sun-ray-scale: 1;--sun-ray-opacity: .75;--house-light-opacity: .4;--house-window-fill: rgba(255, 230, 170, .75);--house-window-glow: rgba(255, 230, 170, .55);--house-window-frame: rgba(118, 92, 64, .45);--house-window-mullion: rgba(125, 105, 80, .35);--house-wall-dim: 0;--house-wall: #ece4d0;--house-wall-shadow: #d2c8b2;--house-roof: #3a4452;--house-lamp-opacity: .15;--house-lamp-glow: rgba(255, 210, 140, .35);--road-surface: rgba(150, 158, 168, .32);--road-edge: rgba(115, 122, 132, .4);--road-dash: rgba(220, 200, 150, .18);--road-opacity: .6;--road-lamp-opacity: 0;--road-lamp-head-opacity: .78;--road-lamp-glow: rgba(255, 210, 140, .6);--road-post: rgba(190, 198, 210, .75)}.info-area.info-login-only .info-actions,.info-area.info-login-only .info-content{display:none}.info-area.info-login-only .info-content{display:flex;position:absolute;top:0;right:0;bottom:0;left:0;justify-content:flex-end;pointer-events:none;z-index:1}.info-area.info-login-only .day-strip{position:relative;z-index:2}.info-area.info-login-only .day-strip{justify-items:center}.footer-now-line.login-helper{font-size:clamp(1.1rem,2.1vw,1.5rem);font-weight:600;text-decoration:none;margin:5rem auto 0;color:var(--daycycle-ink);text-align:center;width:100%;justify-self:center}.login-time-slider{position:absolute;left:50%;bottom:1rem;transform:translate(-50%);display:flex;align-items:center;gap:.7rem;padding:.4rem .65rem;background:#0a12228c;border:1px solid rgba(255,255,255,.18);border-radius:999px;box-shadow:0 12px 26px #081a2e3d;z-index:2;width:max-content}.login-time-slider input[type=range]{width:clamp(160px,20vw,230px)!important;min-width:160px;max-width:230px;padding:0!important;border:0!important;background:transparent!important;height:6px;accent-color:#9fd1ff;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer}.login-time-slider input[type=range]::-webkit-slider-runnable-track{height:6px;border-radius:999px;background:#ffffff47}.login-time-slider input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:14px;height:14px;border-radius:999px;background:#f7fbff;border:2px solid rgba(24,44,72,.5);box-shadow:0 4px 10px #06102040;margin-top:-4px}.login-time-slider input[type=range]::-moz-range-track{height:6px;border-radius:999px;background:#ffffff47}.login-time-slider input[type=range]::-moz-range-thumb{width:14px;height:14px;border-radius:999px;background:#f7fbff;border:2px solid rgba(24,44,72,.5);box-shadow:0 4px 10px #06102040}.login-reset-btn{font-size:.78rem;padding:.32rem .75rem;border-radius:999px;border:1px solid rgba(255,255,255,.3);background:linear-gradient(160deg,#ffffff52,#ffffff14);color:#f7f9ff;font-weight:700;letter-spacing:.02em;box-shadow:0 6px 14px #0610204d}.login-reset-btn:hover{filter:brightness(1.08)}.login-reset-btn:active{transform:translateY(1px);filter:brightness(1.02)}.app-info-only .info-area{height:100vh;width:100vw;min-height:0;border-radius:0;border:0;box-shadow:none}.info-actions{position:absolute;top:.6rem;right:.9rem;display:flex;gap:.6rem;align-items:center;z-index:3}.info-actions-group{display:flex;gap:.6rem;align-items:center}.header-actions{display:flex;gap:.45rem;align-items:center}.settings-open-btn{width:2.35rem;padding:.45rem 0;display:inline-flex;align-items:center;justify-content:center}.settings-open-icon{font-size:1.1rem;line-height:1}.dialog-head-actions{display:flex;align-items:center;gap:.45rem}.dialog-icon-btn{width:2.35rem;padding:.45rem 0;display:inline-flex;align-items:center;justify-content:center}.info-actions-group .small-btn{background:#ffffff2e;border-color:#fff9;color:#fff}.info-actions-group .small-btn.selected{background:#ffffffe0;color:#14324f}.day-strip{height:auto;padding:calc(clamp(1.4rem,4.5vh,6rem) + 4rem) .9rem .4rem;display:grid;grid-template-rows:auto auto;gap:.35rem;align-content:center;font-size:1.2em}.info-content{flex:1 1 auto;min-height:0;padding:0 .9rem .9rem;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:clamp(.6rem,2vh,1.2rem)}.info-content:empty{display:none}.daycycle-summary{min-height:0;display:flex;flex-direction:column;gap:clamp(.7rem,2vh,1.2rem);color:var(--daycycle-ink);text-align:center;align-items:center;justify-content:flex-start;margin-top:5rem}.daycycle-summary-title{font-size:1.4rem;letter-spacing:.02em;color:#f7f8ff;text-align:center}.daycycle-summary-text{margin:0;color:var(--daycycle-ink);font-size:clamp(1.2rem,1.6vw,1.6rem);line-height:1.55;overflow:auto;white-space:pre-wrap;text-align:center;max-width:min(70vw,980px);max-height:clamp(140px,30vh,360px)}.daycycle-summary-text-loading{opacity:.75}.daycycle-timeline{margin-top:3rem;display:flex;flex-wrap:wrap;gap:1.4rem 2.6rem;justify-content:center}.daycycle-timeline-item{display:grid;grid-template-columns:auto auto;grid-template-rows:auto auto;align-items:center;column-gap:.6rem;row-gap:.1rem;color:#f3f7ff}.daycycle-timeline-dot{grid-row:1 / span 2;width:12px;height:12px;border-radius:999px;background:#ffffffe6;box-shadow:0 0 0 4px #ffffff1f}.daycycle-timeline-item.done{opacity:.45}.daycycle-timeline-item.done .daycycle-timeline-dot{background:#d2dae899;box-shadow:0 0 0 4px #d2dae829}.daycycle-timeline-item.active .daycycle-timeline-dot{background:#7fe3c2;box-shadow:0 0 0 6px #7fe3c22e}.daycycle-timeline-time{font-size:.85rem;font-weight:700;color:#f0f7ffd9}.daycycle-timeline-title{font-size:.95rem;font-weight:700;color:#f7f9ff}.daycycle-summary-actions{margin-top:0;display:flex;flex-wrap:wrap;gap:clamp(.6rem,1.6vh,.9rem);justify-content:center;align-items:center;align-content:center;padding-bottom:clamp(.2rem,1vh,.5rem);padding-top:clamp(2.2rem,6vh,4.2rem);width:100%;position:relative;z-index:1;isolation:isolate}.daycycle-summary-actions.is-empty{pointer-events:none}.daycycle-summary-actions.has-birthday-flag{padding-top:clamp(2.2rem,5.6vh,3.6rem)}.hill-flagpole{position:absolute;left:72.4%;bottom:15rem;width:.22rem;height:clamp(6.2rem,11vh,9.4rem);transform:translate(-50%);background:linear-gradient(180deg,#f5f5f5f2,#bec6d2e6);border-radius:999px;box-shadow:0 0 6px #0b162647;z-index:0;pointer-events:none}.hill-flagpole .flag-cloth{position:absolute;left:.3rem;top:.55rem;width:2.2rem;height:1.3rem;background:linear-gradient(90deg,transparent .72rem,#ffffff .72rem 1.05rem,transparent 1.05rem),linear-gradient(0deg,transparent .56rem,#ffffff .56rem .88rem,transparent .88rem),#c21325;border-radius:.2rem .4rem .4rem .2rem;box-shadow:0 .45rem .7rem #0a122238;transform-origin:left center;animation:flag-wave 2.8s ease-in-out infinite;opacity:0;transition:opacity .3s ease}.hill-flagpole.is-active .flag-cloth{opacity:1}.hill-flag-label{position:absolute;left:calc(72.4% + .8rem);bottom:clamp(14.3rem,23.4vh,18rem);transform:none;max-width:clamp(8.2rem,12vw,12rem);padding:.24rem .56rem;border-radius:.55rem;border:1px solid rgba(118,136,158,.35);background:#f3f9ffd9;color:#18324d;font-size:clamp(.64rem,.86vw,.84rem);font-weight:800;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-shadow:0 8px 14px #0a122233;pointer-events:none;z-index:2}.info-area.phase-sunset .hill-flag-label{background:#fff1e6d6;border-color:#967a6a59;color:#3a2a22}.info-area.phase-night .hill-flag-label{background:#0e182ed1;border-color:#92aace73;color:#ebf2ff}.daycycle-summary-actions .color-footer-btn{flex:1 1 0;min-width:0;min-height:78px;padding:1.25rem 1rem 1rem;border-radius:18px;box-shadow:0 10px 18px #18281a1f;position:relative;z-index:2}.daycycle-summary-actions .color-footer-label{font-size:clamp(1.02rem,2vw,1.45rem);line-height:1.2}.footer-info-bar{display:flex;align-items:center;justify-content:center;justify-self:center;width:clamp(28rem,50vw,48rem);gap:5rem;margin-top:3rem;padding-bottom:1rem;border-top:1px solid rgba(255,255,255,.3);border-bottom:1px solid rgba(255,255,255,.3);padding-top:1rem}.info-area.phase-day .footer-info-bar{border-top-color:#1b293626;border-bottom-color:#1b293626}.info-bar-item{display:flex;flex-direction:column;align-items:center;gap:.18rem}.info-bar-label{font-size:clamp(.58rem,.85vw,.72rem);font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:var(--daycycle-ink);opacity:.5;line-height:1;display:flex;align-items:center;gap:.3em}.info-bar-value{font-size:clamp(1rem,1.5vw,1.28rem);font-weight:700;color:var(--daycycle-ink);line-height:1.2;white-space:nowrap}.info-flag-cloth{display:inline-block;position:relative;width:1.1em;height:.74em;background:#c60c30;border-radius:1px;opacity:1;vertical-align:middle;flex-shrink:0}.info-flag-cloth:before{content:"";position:absolute;left:0;right:0;top:38%;height:20%;background:#fff}.info-flag-cloth:after{content:"";position:absolute;top:0;bottom:0;left:32%;width:16%;background:#fff}.day-status{display:grid;justify-items:center;gap:.35rem;text-align:center}.day-status-inline{display:flex;align-items:center;justify-content:center;gap:2.4rem;text-align:left;margin-top:10rem}.day-status-inline .footer-now-line{margin:0;text-decoration:none}.phase-chip{min-width:clamp(234px,31.2vw,338px);height:clamp(78px,11.7vh,125px);border-radius:999px;display:grid;place-items:center;font-size:clamp(2.08rem,4.42vw,3.64rem);font-weight:800;letter-spacing:.05em;border:1px solid rgba(255,255,255,.6);margin-top:0;margin-bottom:1.2rem}.footer-now-line{color:var(--daycycle-ink);font-weight:700;font-size:2.6rem;line-height:1.1;padding-left:0;border-left:0;margin-left:.4rem;text-decoration:underline;text-underline-offset:6px;margin-bottom:0;align-self:center}.footer-countdown{color:var(--daycycle-ink);font-weight:800;font-size:1.6rem;text-align:center;margin-top:calc(clamp(.8rem,2vh,1.4rem) + 3rem)}.footer-next{color:var(--daycycle-muted);font-weight:700;font-size:1.3rem;text-align:center;margin-top:clamp(.3rem,1vh,.6rem)}.footer-scale{display:flex;justify-content:space-between;color:#ffffffeb;font-size:1rem;font-weight:700;width:100%}.day-track{position:relative;display:grid;grid-template-columns:repeat(4,1fr);gap:.3rem;border-radius:12px;padding:.26rem;background:linear-gradient(to right,rgba(255,255,255,.2) 1px,transparent 1px) 0 0 / 25% 100%,#ffffff2e;border:1px solid rgba(255,255,255,.38);cursor:ew-resize;-webkit-user-select:none;user-select:none;width:100%}.track-segment{text-align:center;font-size:1rem;color:#fff;font-weight:800;padding:.3rem .2rem;border-radius:9px}.track-pointer{position:absolute;top:-5px;transform:translate(-50%);width:12px;height:calc(100% + 10px);border-radius:999px;background:#ffffffeb;box-shadow:0 0 0 2px #111f374d}.info-area.phase-sunrise{background:linear-gradient(160deg,#5e7ea8,#f0b15a 45%,#ffe184);--daycycle-ink: #1f2b3a;--daycycle-muted: rgba(33, 43, 58, .7);--sky-sun: #ffd27a;--sky-moon: rgba(228, 236, 255, .45);--sky-star: rgba(255, 255, 255, .55);--sky-haze: rgba(255, 239, 214, .55);--sky-haze-strong: rgba(255, 214, 154, .6);--sky-haze-opacity: .45;--sky-shoot: rgba(255, 240, 220, .95);--shoot-opacity: 0;--sun-ray-scale: .85;--sun-ray-opacity: .5;--house-light-opacity: .55;--house-wall-dim: 0;--house-lamp-opacity: .2;--house-wall: #f4dbb8;--house-wall-shadow: #dab890;--earth-win: rgba(255, 200, 110, .45);--road-surface: rgba(96, 106, 118, .48);--road-edge: rgba(68, 76, 86, .62);--road-dash: rgba(255, 214, 160, .28);--road-opacity: .72;--road-lamp-opacity: .25;--road-lamp-head-opacity: .82}.info-area.phase-day{background:linear-gradient(160deg,#4a9bd0,#86c6ec 45%,#fff1a3);--daycycle-ink: #1b2936;--daycycle-muted: rgba(27, 41, 54, .7);--sky-sun: #ffe680;--sky-moon: rgba(228, 236, 255, .25);--sky-star: rgba(255, 255, 255, .35);--sky-haze: rgba(255, 255, 255, .5);--sky-haze-strong: rgba(255, 255, 255, .65);--sky-haze-opacity: .4;--sky-shoot: rgba(255, 255, 255, .95);--shoot-opacity: 0;--sun-ray-scale: 1.12;--sun-ray-opacity: .85;--house-light-opacity: .3;--house-window-fill: rgba(210, 225, 240, .7);--house-window-glow: rgba(160, 190, 220, .2);--house-window-frame: rgba(110, 120, 130, .4);--house-window-mullion: rgba(120, 130, 140, .35);--house-wall-dim: 0;--house-lamp-opacity: .1;--house-wall: #ece4d0;--house-wall-shadow: #d2c8b2;--earth-win: rgba(175, 210, 245, .38);--road-surface: rgba(138, 148, 158, .58);--road-edge: rgba(92, 102, 114, .72);--road-dash: rgba(232, 214, 168, .3);--road-opacity: .82;--road-lamp-opacity: 0;--road-lamp-head-opacity: .72}.info-area.phase-sunset{background:linear-gradient(160deg,#36517b,#b66f60 58%,#ebaf7a);--daycycle-ink: #f4f7ff;--daycycle-muted: rgba(244, 247, 255, .82);--sky-sun: #ffcf7a;--sky-moon: rgba(228, 236, 255, .6);--sky-star: rgba(255, 255, 255, .75);--sky-haze: rgba(255, 218, 186, .52);--sky-haze-strong: rgba(255, 190, 145, .6);--sky-haze-opacity: .45;--sky-shoot: rgba(255, 225, 200, .95);--shoot-opacity: .55;--sun-ray-scale: .65;--sun-ray-opacity: .35;--house-light-opacity: .42;--house-wall-dim: .08;--house-lamp-opacity: .45;--house-wall: #e8c89a;--house-wall-shadow: #cca876;--earth-win: rgba(255, 195, 100, .5);--road-surface: rgba(86, 96, 108, .6);--road-edge: rgba(56, 64, 74, .72);--road-dash: rgba(255, 210, 150, .32);--road-opacity: .78;--road-lamp-opacity: .5;--road-lamp-head-opacity: .9}.info-area.phase-night{background:linear-gradient(160deg,#070d1a,#121f3b 52%,#213a62);--daycycle-ink: #f4f7ff;--daycycle-muted: rgba(244, 247, 255, .82);--sky-sun: rgba(255, 228, 135, .15);--sky-moon: #e7efff;--sky-star: rgba(255, 255, 255, .95);--sky-haze: rgba(120, 150, 210, .28);--sky-haze-strong: rgba(140, 175, 230, .35);--sky-haze-opacity: .22;--sky-shoot: rgba(240, 245, 255, .95);--shoot-opacity: .9;--sun-ray-scale: .4;--sun-ray-opacity: 0;--house-light-opacity: .12;--house-window-fill: rgba(60, 78, 98, .35);--house-window-glow: rgba(0, 0, 0, 0);--house-window-frame: rgba(70, 88, 110, .6);--house-window-mullion: rgba(70, 88, 110, .45);--house-wall-dim: .22;--house-lamp-opacity: .95;--house-lamp-glow: rgba(255, 210, 140, .9);--house-wall: #8e9aaa;--house-wall-shadow: #707e8c;--earth-win: rgba(255, 225, 100, .75);--road-surface: rgba(40, 46, 54, .92);--road-edge: rgba(20, 24, 30, .98);--road-dash: rgba(255, 214, 150, .45);--road-opacity: .95;--road-lamp-opacity: 1;--road-lamp-head-opacity: 1;--road-post: rgba(210, 218, 230, .85)}.daycycle-sky{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;overflow:hidden;z-index:0}.sky-sun,.sky-moon,.sky-star{position:absolute;display:block}.sky-haze{position:absolute;width:clamp(160px,34vw,420px);height:clamp(70px,12vw,160px);border-radius:999px;background:radial-gradient(closest-side,var(--sky-haze-strong),rgba(255,255,255,0));opacity:var(--sky-haze-opacity);filter:blur(.6px);transition:opacity .8s ease}.sky-haze.haze-1{top:clamp(6px,3vh,30px);left:clamp(18px,10vw,140px)}.sky-haze.haze-2{top:clamp(34px,8vh,92px);right:clamp(10px,8vw,120px);width:clamp(190px,38vw,520px);height:clamp(90px,16vw,200px);background:radial-gradient(closest-side,var(--sky-haze),rgba(255,255,255,0));opacity:calc(var(--sky-haze-opacity) * .85)}.sky-haze.haze-3{bottom:clamp(-20px,-6vh,10px);left:35%;width:clamp(180px,36vw,460px);height:clamp(90px,16vw,200px);background:radial-gradient(closest-side,var(--sky-haze),rgba(255,255,255,0));opacity:calc(var(--sky-haze-opacity) * .7)}.sky-sun{width:clamp(70px,12vw,140px);height:clamp(70px,12vw,140px);border-radius:999px;background:radial-gradient(circle at 35% 30%,#fffbe0 0%,#ffe9a6 35%,var(--sky-sun) 62%,rgba(255,255,255,0) 85%);top:calc(clamp(10px,4vh,36px) + 3rem);left:calc(clamp(18px,6vw,70px) + 3rem);opacity:0;filter:blur(.2px);box-shadow:0 0 28px #ffe6968c,0 0 80px #ffcd7859;transition:opacity .6s ease}.sky-sun:before{content:"";position:absolute;top:-24%;right:-24%;bottom:-24%;left:-24%;border-radius:999px;background:radial-gradient(circle,#ffeca673,#ffeca600 70%);filter:blur(2px)}.sky-sun:after{content:"";position:absolute;top:-28%;right:-28%;bottom:-28%;left:-28%;border-radius:999px;background:conic-gradient(from 6deg,#ffe18c8c,#ffe18c8c .6deg,#ffe18c00 .6deg,#ffe18c00 20deg,#ffe18c59 20deg,#ffe18c59 20.6deg,#ffe18c00 20.6deg,#ffe18c00 45deg,#ffe18c80 45deg,#ffe18c80 45.7deg,#ffe18c00 45.7deg,#ffe18c00 72deg,#ffe18c66 72deg,#ffe18c66 72.6deg,#ffe18c00 72.6deg,#ffe18c00 105deg,#ffe18c7a 105deg,#ffe18c7a 105.7deg,#ffe18c00 105.7deg,#ffe18c00 135deg,#ffe18c61 135deg,#ffe18c61 135.6deg,#ffe18c00 135.6deg,#ffe18c00 165deg,#ffe18c85 165deg,#ffe18c85 165.8deg,#ffe18c00 165.8deg,#ffe18c00 198deg,#ffe18c66 198deg,#ffe18c66 198.6deg,#ffe18c00 198.6deg,#ffe18c00 225deg,#ffe18c80 225deg,#ffe18c80 225.7deg,#ffe18c00 225.7deg,#ffe18c00 258deg,#ffe18c5c 258deg,#ffe18c5c 258.6deg,#ffe18c00 258.6deg,#ffe18c00 285deg,#ffe18c75 285deg,#ffe18c75 285.7deg,#ffe18c00 285.7deg,#ffe18c00 320deg,#ffe18c66 320deg,#ffe18c66 320.7deg,#ffe18c00 320.7deg,#ffe18c00 360deg);-webkit-mask:radial-gradient(circle,rgba(0,0,0,0) 46%,#000000 52%);mask:radial-gradient(circle,rgba(0,0,0,0) 46%,#000000 52%);filter:blur(.3px);opacity:var(--sun-ray-opacity, .75);transform:scale(var(--sun-ray-scale, 1));transform-origin:center}.sky-moon{width:clamp(50px,8vw,110px);height:clamp(50px,8vw,110px);border-radius:999px;background:radial-gradient(circle at 32% 30%,#fff,#f5f8ff 52%,#d6dff1 86%,#c7d1e6);top:calc(clamp(24px,6vh,60px) + 3rem);right:calc(clamp(16px,6vw,72px) + 3rem);opacity:0;box-shadow:0 0 22px #e7efff59,inset -10px -12px 20px #7884a566;overflow:hidden;transition:opacity .6s ease}.sky-moon:before{content:"";position:absolute;top:-6%;right:-6%;bottom:-6%;left:-6%;border-radius:999px;background:radial-gradient(circle at 22% 50%,#0000 0,#0000 58%,#10162499 64%,#10162499);opacity:.7;mix-blend-mode:multiply}.sky-moon:after{content:"";position:absolute;top:12%;right:12%;bottom:12%;left:12%;border-radius:999px;background:radial-gradient(circle at 28% 38%,#bcc5d98c 0,#bcc5d98c 6%,#bcc5d900 9%),radial-gradient(circle at 62% 60%,#aab6cd73 0,#aab6cd73 7%,#aab6cd00 10%),radial-gradient(circle at 48% 26%,#c8d2e659 0,#c8d2e659 4%,#c8d2e600 6%),radial-gradient(circle at 70% 36%,#b4bed44d 0,#b4bed44d 5%,#b4bed400 8%);opacity:.65}.sky-star{width:6px;height:6px;border-radius:999px;background:var(--sky-star);box-shadow:0 0 10px #fff6;opacity:0;transition:opacity .6s ease}.sky-shooting-star{position:absolute;width:120px;height:2px;background:linear-gradient(90deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.25) 52%,var(--sky-shoot) 82%,rgba(255,255,255,1) 100%);opacity:0;filter:drop-shadow(0 0 6px rgba(255,255,255,.5));transform:rotate(var(--shoot-tilt, 18deg));transform-origin:center;--shoot-x: 180px;--shoot-y: 60px;animation:shooting-star 1.6s ease-out 1}.sky-shooting-star:after{content:"";position:absolute;right:6px;top:-3px;width:8px;height:8px;border-radius:999px;background:radial-gradient(circle,#fff,#fff3 70%,#fff0);box-shadow:0 0 10px #fff9}.sky-shooting-star.shoot-1{top:18%;left:10%;--shoot-tilt: 18deg;--shoot-x: 180px;--shoot-y: 60px}.sky-shooting-star.shoot-2{top:30%;right:12%;width:140px;--shoot-tilt: 26deg;--shoot-x: 200px;--shoot-y: 98px}.sky-shooting-star.shoot-3{top:8%;right:40%;width:110px;--shoot-tilt: 12deg;--shoot-x: 160px;--shoot-y: 34px}.sky-star.star-1{top:20%;left:18%}.sky-star.star-2{top:12%;left:44%}.sky-star.star-3{top:26%;right:28%}.sky-star.star-4{top:18%;right:12%}.day-strip,.info-content{position:relative;z-index:1}.info-area.phase-day .sky-sun{opacity:.95}.info-area.phase-sunrise .sky-sun{opacity:.75}.info-area.phase-sunset .sky-sun{opacity:.55}.info-area.phase-night .sky-sun,.info-area.phase-day .sky-moon,.info-area.phase-day .sky-star{opacity:0}.info-area.phase-sunrise .sky-moon,.info-area.phase-sunrise .sky-star{opacity:.2}.info-area.phase-sunset .sky-moon,.info-area.phase-sunset .sky-star{opacity:.6}.info-area.phase-night .sky-moon{opacity:.85}.info-area.phase-night .sky-star{opacity:.9}.info-area.phase-day .sky-haze,.info-area.phase-sunrise .sky-haze,.info-area.phase-sunset .sky-haze,.info-area.phase-night .sky-haze{opacity:var(--sky-haze-opacity)}.phase-chip-sunrise,.phase-chip-sunset{background:#ffd16edb;color:#6a3b00}.phase-chip-day{background:#ffe984fa;color:#5f5200}.phase-chip-night{background:#121e37eb;color:#d6e5ff}.footer-actions-bar{display:flex;justify-content:center;gap:.5rem;flex-wrap:wrap;padding:.45rem .9rem .7rem}.footer-panel{background:#fff;border:1px solid rgba(40,62,84,.22);border-radius:18px;box-shadow:var(--shadow)}.footer-panel .footer-btn{background:#f1f6fc;border:1px solid #c2d3e4;color:#1f3c57;box-shadow:none}.footer-panel .footer-btn-secondary{background:#e2ecf7;border:1px solid #9fb7cf;color:#1f3c57}.color-footer-bar{gap:.65rem}.color-footer-btn{flex:1 1 170px;min-width:160px;display:flex;position:relative;align-items:center;justify-content:center;text-align:center;border-radius:14px;font-weight:800;padding:.6rem 4.25rem .6rem .95rem;transition:transform .15s ease,filter .15s ease}.color-footer-btn:hover{transform:translateY(-1px);filter:brightness(1.03)}.color-footer-shortcut{position:absolute;right:.85rem;top:50%;transform:translateY(-50%);font-size:.72rem;font-weight:700;letter-spacing:.02em;opacity:.86;white-space:nowrap}.color-footer-label{display:block;width:100%;text-align:center;white-space:normal;line-height:1.16}.color-footer-btn.color-footer-btn-white{background:#fff!important;border:1px solid #c8d5e4!important;color:#1d3a56!important}.color-footer-btn.color-footer-btn-blue{background:#1f72c4!important;border:1px solid #1f72c4!important;color:#fff!important}.color-footer-btn.color-footer-btn-yellow{background:#f0c421!important;border:1px solid #d7a912!important;color:#4a3a0d!important}.color-footer-btn.color-footer-btn-green{background:#2f9c46!important;border:1px solid #2f9c46!important;color:#fff!important}.footer-error{position:fixed;bottom:1.2rem;right:1.2rem;background:#b42318;color:#fff;padding:.6rem .8rem;border-radius:12px;font-weight:800;max-width:320px;box-shadow:0 12px 24px #0003;z-index:40}.footer-actions{display:flex;justify-content:center;gap:.6rem;flex-wrap:wrap}.footer-btn{border:0;border-radius:999px;padding:.4rem .8rem;font-size:.9rem;font-weight:800;background:#fff;color:#14324f;cursor:pointer;box-shadow:0 8px 20px #0000002e}.footer-btn-secondary{background:#ffffff26;border:2px solid rgba(255,255,255,.75);color:#fff}.phase-sunrise .track-pointer,.phase-day .track-pointer{background:#ffd54d;box-shadow:0 0 0 2px #5f490d52}.phase-night .track-pointer{background:#d5deeb;box-shadow:0 0 0 2px #0b142573}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;background:#1423328c;display:grid;place-items:center;padding:1rem}.dialog{width:95vw;max-width:95vw;max-height:95vh;overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 20px 45px #0003;padding:1rem}.settings-dialog{width:95vw;max-width:95vw;height:95vh;max-height:95vh;overflow:auto}.settings-intro{margin-top:.6rem;color:#31465d;font-size:.94rem}.shortcut-rows{margin-top:.8rem;display:grid;gap:.55rem}.shortcut-row{display:grid;grid-template-columns:minmax(120px,.9fr) minmax(180px,1fr) auto;align-items:center;gap:.55rem;border:1px solid #cad8e8;border-radius:12px;background:#f6f9fd;padding:.5rem}.shortcut-row-label{display:inline-flex;align-items:center;gap:.5rem;font-weight:700;color:#24415f}.shortcut-swatch{width:.78rem;height:.78rem;border-radius:999px}.shortcut-swatch-white{background:#fff;border:1px solid #cad8e8}.shortcut-swatch-blue{background:#2a79c7}.shortcut-swatch-yellow{background:#f0c421}.shortcut-swatch-green{background:#2f9c46}.shortcut-input{background:#fff;border:1px solid #b8cce2;border-radius:9px;color:#1d3a56;font-size:.92rem;font-weight:700;text-align:center;cursor:text}.shortcut-input:focus{outline:2px solid #4f87bb;outline-offset:1px}.settings-actions{margin-top:.8rem;display:flex;justify-content:flex-end}.routine-settings-panel{margin-top:.9rem;border-top:1px solid #d4deec;padding-top:.75rem}.routine-settings-head{display:flex;justify-content:space-between;align-items:center;gap:.6rem}.routine-settings-grid{margin-top:.55rem;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.routine-settings-state{margin-top:.5rem;color:#35506d}.routine-settings-saved{margin-top:.5rem;color:#1f6f4a;font-weight:700}.prompt-editor-dialog{width:95vw;max-width:95vw;max-height:95vh;overflow:auto}.prompt-editor-note{margin-top:.6rem;color:#314b67}.prompt-editor-field{margin-top:.7rem}.prompt-editor-textarea{min-height:300px}.color-overlay{background:#121d2b9e}.color-overlay-sunrise{background:linear-gradient(160deg,#5e7ea8d1,#f0b15adb 45%,#ffe184db)}.color-overlay-day{background:linear-gradient(160deg,#4a9bd0d1,#86c6ecdb 45%,#fff1a3db)}.color-overlay-sunset{background:linear-gradient(160deg,#36517bd9,#b66f60e0 58%,#ebaf7ae0)}.color-overlay-night{background:linear-gradient(160deg,#070d1ae6,#121f3beb 52%,#213a62eb)}.color-shell-sunrise:before,.color-shell-sunrise:after{opacity:.9}.color-shell-day:before,.color-shell-day:after{opacity:.95}.color-shell-sunset:before,.color-shell-sunset:after{opacity:.9}.color-shell-night:before,.color-shell-night:after{opacity:.8}.color-action-shell{width:95vw;max-width:95vw;height:95vh;max-height:95vh;position:relative}.color-action-shell:before,.color-action-shell:after{content:"";position:absolute;top:-72px;right:-72px;bottom:-72px;left:-72px;border-radius:48px;pointer-events:none;background:radial-gradient(circle at 22% 28%,rgba(var(--smoke-rgb, 184, 204, 226),.72),rgba(var(--smoke-rgb, 184, 204, 226),0) 58%),radial-gradient(circle at 50% 52%,rgba(var(--smoke-rgb, 184, 204, 226),.52),rgba(var(--smoke-rgb, 184, 204, 226),0) 64%),radial-gradient(circle at 76% 66%,rgba(var(--smoke-rgb, 184, 204, 226),.68),rgba(var(--smoke-rgb, 184, 204, 226),0) 62%);filter:blur(30px);animation:smoke-drift 3.8s ease-in-out infinite alternate;z-index:0}.color-action-shell:after{top:-126px;right:-126px;bottom:-126px;left:-126px;filter:blur(58px);opacity:.96;animation-duration:5.6s;animation-delay:-1.4s}.color-action-dialog{width:100%;max-width:none;height:100%;max-height:95vh;position:relative;z-index:1;overflow:hidden;border:3px solid var(--dialog-edge, #cadef1);color:#1c3550;background:var(--dialog-bg, #ffffff);display:flex;flex-direction:column}.color-theme-white{--dialog-edge: #d6e0ec;--smoke-rgb: 223, 233, 244}.color-theme-blue{--dialog-edge: #4f8fce;--smoke-rgb: 64, 136, 207}.color-theme-yellow{--dialog-edge: #d7b13d;--smoke-rgb: 241, 195, 40}.color-theme-green{--dialog-edge: #63a968;--smoke-rgb: 60, 157, 74}.color-shell-sunrise{--dialog-bg: linear-gradient(160deg, #5e7ea8 0%, #f0b15a 45%, #ffe184 100%)}.color-shell-day{--dialog-bg: linear-gradient(160deg, #4a9bd0 0%, #86c6ec 45%, #fff1a3 100%)}.color-shell-sunset{--dialog-bg: linear-gradient(160deg, #36517b 0%, #b66f60 58%, #ebaf7a 100%)}.color-shell-night{--dialog-bg: linear-gradient(160deg, #070d1a 0%, #121f3b 52%, #213a62 100%)}.color-action-dialog .dialog-head h2{color:#1c3550;font-size:2.2rem}.color-action-dialog .dialog-head{display:grid;grid-template-columns:1fr auto 1fr;align-items:center}.color-action-dialog .dialog-head h2{grid-column:2;text-align:center}.color-action-dialog .dialog-head-actions{grid-column:3;justify-self:end}.color-dialog-header{background:#ffffffd6;border:1px solid rgba(255,255,255,.6);border-radius:14px;padding:.8rem 1rem .65rem;display:grid;gap:.45rem}.color-dialog-header-compact{padding:.45rem .7rem .35rem;gap:.25rem}.color-dialog-header-compact .dialog-head h2{font-size:1.4rem}.color-dialog-header-compact .color-dialog-datetime{font-size:.9rem}.color-dialog-datetime{margin-top:0;font-weight:700;color:#2f4e6d;font-size:1.2rem;opacity:.9;text-align:center}.color-dialog-body{margin-top:.75rem;min-height:0;flex:1;display:flex;overflow:hidden}.color-dialog-layout{width:100%;min-height:0;display:flex;flex-direction:column}.color-dialog-layout-daily{gap:.7rem}.color-dialog-layout-week{gap:.9rem}.color-dialog-layout-week .color-guidance-card-week{flex:0 0 auto;min-height:140px}.color-dialog-overview-wrap-week{flex:1 1 auto;min-height:0}.overview-grid-week{height:100%}.color-dialog-layout-six-month{gap:.45rem}.six-month-toolbar{display:flex;justify-content:flex-start;align-items:center;gap:.5rem;flex-wrap:wrap}.overview-grid-six-month{height:100%;min-height:0}.six-month-grid{display:grid;grid-template-rows:minmax(0,1fr);gap:.4rem;height:100%;min-height:0;--six-month-column-padding: .6rem}.six-month-columns{display:grid;grid-template-columns:1fr 1.6fr 1.6fr 1fr;grid-template-rows:minmax(0,1fr);gap:.8rem;min-height:0;height:100%;align-items:stretch;overflow:hidden}.six-month-header{background:#f0f6fc;border:1px solid #c3d6ea;border-radius:12px;padding:.45rem .6rem;display:flex;align-items:center;justify-content:space-between;gap:.5rem;color:#1f3551;font-weight:800}.six-month-header h3{margin:0;font-size:.9rem;font-weight:800}.six-month-header.month-current{background:#cfe9d8;border-color:#2f7f4f;box-shadow:inset 0 0 0 3px #2f7f4f80;color:#000}.six-month-header.month-current h3{font-size:1.12rem;letter-spacing:.03em;color:#000}.six-month-header.month-current .month-badge{background:#ffffffe6;color:#000;border:1px solid rgba(0,0,0,.15)}.six-month-header.month-previous{background:#eef1f5;border-color:#c9d3de;color:#6b7c8f}.month-badge{font-size:.62rem;font-weight:800;color:#1f3551;background:#ffffffb3;padding:.12rem .4rem;border-radius:999px}.six-month-header.month-previous .month-badge{color:#6b7c8f}.six-month-column-wrap{display:grid;grid-template-rows:auto minmax(0,1fr);gap:.35rem;min-height:0;height:100%;position:relative;padding:var(--six-month-column-padding)}.six-month-column{display:grid;grid-template-rows:repeat(31,minmax(0,1fr));gap:.2rem;min-height:0;height:100%;position:relative}.six-month-column-wrap:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:18px;border:1px solid rgba(185,201,220,.6);background:#f0f4fa2e;pointer-events:none;z-index:0}.six-month-column-wrap.six-month-column-current:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:18px;border:3px solid rgba(47,127,79,.75);background:#f0f4fa2e;box-shadow:0 16px 36px #21543547,inset 0 0 0 1px #2f7f4f73;pointer-events:none;z-index:0}.six-month-column-current .six-month-cell{border-color:#7fbd96}.six-month-column-wrap.six-month-column-next:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:18px;border:2px solid rgba(75,139,197,.38);background:#e2f0ff2e;pointer-events:none;z-index:0}.six-month-span-layer{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;grid-template-rows:inherit;grid-template-columns:1fr 2.6rem;gap:.2rem;pointer-events:none;z-index:2}.six-month-event-span{pointer-events:auto;align-self:stretch;justify-self:stretch;grid-column:2;margin:.1rem .35rem .1rem .25rem;border-radius:14px;border:1px solid #6f9bc2;background:#dbe9f6;color:#1f3551;font-weight:800;font-size:.62rem;padding:.2rem .4rem;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;display:flex;align-items:center;justify-content:center;z-index:3;writing-mode:vertical-rl;text-orientation:mixed;letter-spacing:.08em}.six-month-cell{border:1px solid #c6d6e8;border-radius:8px;background:#f7fbff;padding:.15rem .25rem;display:grid;grid-template-columns:5rem 1fr;gap:.4rem;align-items:center;min-height:0;overflow:hidden;position:relative;z-index:1;cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}.six-month-cell.cell-has-events{padding-top:.25rem;padding-bottom:.25rem}.six-month-cell.cell-empty{background:transparent;border-color:transparent;cursor:default}.six-month-cell.cell-previous-month{background:#f1f3f6;border-color:#c9d3de;color:#7b8a9b}.six-month-cell.cell-current-month{border-color:#a9c4df}.six-month-cell.cell-current-week{background:#e8f3ff;border-color:#4b8bc5;box-shadow:inset 0 0 0 1px #4b8bc559}.six-month-cell.cell-weekend{background:#f7f1e6;border-color:#d6c7a7}.six-month-cell.cell-weekend.cell-current-week{background:#efe3ce;border-color:#c7ad73}.six-month-cell.cell-past{opacity:.6}.six-month-cell.cell-today{border-color:#00c853;box-shadow:inset 0 0 0 2px #00c853;background:#c8f7d6}.six-month-cell.cell-selected{border-color:#0f766e;box-shadow:inset 0 0 0 2px #0f766e}.six-month-day{font-weight:800;font-size:.72rem;color:inherit;width:100%;text-align:left;display:flex;align-items:center;gap:.1rem;overflow:hidden;margin-left:.5rem;padding-right:.4rem;border-right:1px solid rgba(47,78,109,.18)}.six-month-day-number{line-height:1;min-width:1.6rem;text-align:left}.six-month-weekday{font-size:.55rem;font-weight:800;color:#4a617a;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.six-month-events{display:flex;flex-wrap:wrap;align-items:center;gap:.15rem;min-height:.7rem;overflow:hidden;max-height:1.7rem;margin-left:.9rem;padding-right:2.6rem}.six-month-event-chip{display:inline-flex;align-items:center;gap:.25rem;max-width:100%;padding:.1rem .35rem;min-height:.9rem;border-radius:999px;border:1px solid #cbddee;background:#eef4fb;font-size:.58rem;font-weight:700;color:#223f5b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}.six-month-event-chip.is-all-day{border-color:#f1c232;background:#fff3b0;color:#5c4a00}.six-month-event-time{font-weight:800;color:#1b4b6e;font-size:.56rem}.six-month-event{display:grid;grid-template-columns:auto 1fr;gap:.25rem;align-items:baseline;border:1px solid #cbddee;border-radius:6px;background:#eef4fb;padding:.1rem .25rem;font-size:.62rem;font-weight:700;color:#223f5b;cursor:pointer}.six-month-event-time{font-weight:800;color:#2a5070}.six-month-event-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.six-month-event-more{font-size:.6rem;font-weight:800;color:#3b5875}.six-month-indicator{display:flex;align-items:center}.six-month-dot{width:.4rem;height:.4rem;border-radius:999px;background:#2e8aa8;box-shadow:0 0 0 2px #2e8aa833}@media (max-width: 1100px){.six-month-grid{overflow-x:auto}.six-month-columns{grid-template-columns:1fr 1.4fr 1.4fr 1fr;gap:.7rem}}.overview-grid-week .week-card{background:#fffffff2;border:2px solid rgba(42,72,108,.2);border-radius:20px;box-shadow:0 18px 32px #14243a1f;padding:clamp(1rem,2.2vh,1.6rem);height:100%;display:flex;flex-direction:column}.overview-grid-week .week-list{gap:.9rem;flex:1 1 auto;min-height:0}.overview-grid-week .week-list-horizontal{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));grid-auto-rows:1fr;height:100%;overflow:hidden;gap:.8rem;align-items:stretch}.overview-grid-week .week-list-horizontal .week-day-row{height:100%;align-content:start}.overview-grid-week .week-day-row{grid-template-columns:1fr;gap:.5rem;padding:.8rem 1rem;border-radius:16px}.overview-grid-week .week-day-relative{position:static;margin-bottom:.25rem;color:#1f3551;font-size:.85rem;font-weight:800}.overview-grid-week .week-day-labels{display:flex;justify-content:space-between;align-items:baseline}.overview-grid-week .week-day-label{font-size:1.1rem;font-weight:800;color:#1f3551}.overview-grid-week .week-day-events{display:grid;gap:.4rem}.overview-grid-week .week-event-list{gap:.4rem}.overview-grid-week .week-event-row{grid-template-columns:1fr;gap:.2rem;align-items:start;padding:.5rem .7rem;border-radius:12px}.overview-grid-week .week-event-time{font-size:.95rem;font-weight:800;color:#2a5070}.overview-grid-week .week-event-title{font-size:1.05rem;font-weight:800;color:#1f3551}.color-dialog-layout-daily .color-guidance-card-priority{flex:1 1 auto;min-height:clamp(180px,32vh,360px)}.color-dialog-layout-daily .color-dialog-overview-wrap{flex:0 0 auto}.color-dialog-overview-wrap{min-height:0;flex:1 1 auto}.overview-grid-daily,.overview-grid-daily .timeline-card-expanded{height:auto}.overview-grid-daily .overview-card.timeline-card{background:#fffffff2;border:2px solid rgba(42,72,108,.22);border-radius:20px;box-shadow:0 18px 32px #14243a1f;padding:clamp(1.2rem,2.4vh,1.8rem)}.overview-grid-daily .timeline-scale{font-size:1rem;font-weight:800;color:#24384f}.overview-grid-daily .today-track{border-radius:18px;border:2px solid rgba(44,85,120,.18);background:linear-gradient(to right,rgba(28,85,134,.22) 2px,transparent 2px) 0 0 / 12.5% 100%,linear-gradient(to right,rgba(28,85,134,.12) 1px,transparent 1px) 0 0 / calc(100% / 24) 100%,linear-gradient(to right,rgba(28,85,134,.05) 1px,transparent 1px) 0 0 / calc(100% / 96) 100%,#f8fbff;height:clamp(200px,22vh,260px);min-height:0;flex:0 0 auto}.overview-grid-daily .today-full-day{padding:.4rem .3rem .2rem}.overview-grid-daily .today-full-day-chip{font-size:.9rem;padding:.4rem .8rem;border-radius:999px}.form-inline{display:flex;align-items:center;gap:.6rem;font-weight:700}.overview-grid-daily .today-block{border-radius:16px;padding:.8rem 1rem;border:2px solid rgba(40,80,125,.2);box-shadow:0 10px 22px #15273d1f}.overview-grid-daily .today-block.selected{border-color:#1f6f4a;box-shadow:0 12px 24px #1f6f4a33;overflow:visible}.overview-grid-daily .today-block-handle{position:absolute;top:50%;width:20px;height:52px;border:2px solid rgba(31,111,74,.45);background:#ffffffe0;border-radius:12px;cursor:ew-resize;transform:translateY(-50%);box-shadow:0 6px 14px #1f6f4a2e;z-index:2}.overview-grid-daily .today-block-handle.handle-start{left:-10px}.overview-grid-daily .today-block-handle.handle-end{right:-10px}.overview-grid-daily .today-block-finish{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);border:0;border-radius:999px;padding:.4rem .9rem;font-size:.85rem;font-weight:800;background:#1f6f4a;color:#fff;box-shadow:0 8px 16px #14282033;cursor:pointer;z-index:3}.overview-grid-daily .today-block-title{font-size:1.3rem;font-weight:800;margin:0}.overview-grid-daily .today-now-line>.now-pill,.overview-grid-daily .today-now-pill-wrap>.now-pill{font-size:1rem;padding:.45rem 1.1rem;min-width:88px}.color-guidance-card{border:1px solid #d2dceb;border-radius:12px;background:#f6f9fd;padding:.72rem .8rem;overflow:auto;text-align:center;display:flex;flex-direction:column;justify-content:center}.color-guidance-edit-btn{align-self:flex-end;flex-shrink:0;opacity:.55;margin-bottom:.25rem}.color-guidance-edit-btn:hover,.color-guidance-edit-btn:focus-visible{opacity:1}.color-guidance-card-full{width:100%;height:100%}.color-guidance-card-priority{flex:0 0 clamp(160px,26vh,240px)}.color-guidance-title{margin:0;font-size:.9rem;letter-spacing:.01em;color:#405b77}.color-guidance-text{margin:0;white-space:pre-wrap;line-height:1.4;font-size:1.2rem;font-weight:800;color:#1f3551;letter-spacing:.01em;width:100%}.color-guidance-text-loading{opacity:.8}@keyframes smoke-drift{0%{transform:translate(-8px,-6px) scale(.98)}to{transform:translate(7px,6px) scale(1.03)}}@keyframes shooting-star{0%{opacity:0;transform:translateZ(0) rotate(var(--shoot-tilt, -18deg))}8%{opacity:var(--shoot-opacity, .8)}20%{opacity:0;transform:translate3d(var(--shoot-x),var(--shoot-y),0) rotate(var(--shoot-tilt, -18deg))}to{opacity:0;transform:translate3d(var(--shoot-x),var(--shoot-y),0) rotate(var(--shoot-tilt, -18deg))}}@keyframes flag-wave{0%{transform:rotate(1deg) skewY(2deg)}50%{transform:rotate(-2deg) skewY(-4deg)}to{transform:rotate(1deg) skewY(2deg)}}.event-dialog{width:min(50vw,720px);max-width:50vw}.event-dialog .form-grid{grid-template-columns:1fr}.event-dialog .form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.event-dialog .dialog-actions{justify-content:space-between;gap:.5rem;flex-wrap:wrap}.editor-dialog{width:95vw;max-width:none;height:95vh;max-height:95vh}.editor-dialog-body{margin-top:.8rem;height:calc(95vh - 4.5rem);overflow:hidden}.editor-dialog-body-horizontal{height:100%;min-height:0;flex:1 1 auto;overflow:auto}.editor-dialog-body-wrap{margin-top:0;padding:0}.editor-dialog-body-wrap .editor-dialog-body{margin-top:0;height:100%}.dialog-head,.dialog-actions{display:flex;justify-content:space-between;align-items:center;gap:.6rem}.form-grid{margin-top:.75rem;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.event-form{gap:.9rem}.form-hint{margin:0;padding:.55rem .7rem;border-radius:10px;background:#f4f8fd;border:1px solid #cfe0f2;color:#2b3f55;font-weight:700;font-size:.86rem}.form-label{display:inline-flex;align-items:center;gap:.35rem;font-weight:700}.required-star{color:var(--error);font-weight:800}.optional-pill{display:inline-flex;align-items:center;padding:.05rem .45rem;border-radius:999px;border:1px solid #c5d4e3;background:#edf3f9;color:#4a617a;font-size:.68rem;font-weight:700}.inline-hint{margin-left:.45rem;font-size:.78rem;font-weight:700;color:#5a6d83}.required-field input:required,.required-field textarea:required{border-left:4px solid #e2a3a3}.required-field input:required:focus,.required-field textarea:required:focus{border-left-color:var(--error);box-shadow:0 0 0 2px #b423182e}label{display:flex;flex-direction:column;gap:.35rem;font-size:.9rem;color:#253347}input,textarea,select{width:100%;background:#f9fbfe;border:1px solid #c8d4e4;border-radius:10px;color:var(--ink);padding:.55rem .6rem;font:inherit}textarea{resize:vertical}.full-width{grid-column:1 / -1}.prompt-preview{white-space:pre-wrap;margin:.55rem 0;font-size:.85rem;color:#1f2c3e;background:#f3f7fc;border:1px solid #cedbea;border-radius:10px;padding:.6rem}.ktext{margin:.7rem 0;font-size:clamp(1.1rem,2.3vw,1.45rem);line-height:1.45}.error{margin-top:.4rem;color:var(--error);font-weight:700}.auth-wall{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:1rem}@media (max-width: 1160px){.editor-grid,.overview-grid,.week-day-row{grid-template-columns:1fr}.daycycle-summary-actions .color-footer-btn{flex:1 1 calc(50% - .45rem);min-width:0;min-height:52px;padding:.65rem .6rem;border-radius:14px;font-size:.88rem;box-shadow:0 6px 14px #18281a1a}}@media (max-width: 760px){.app{padding:.65rem}.app.app-info-only{padding:0}.app.app-info-only .info-area{height:100dvh;width:100vw;border-radius:0;border:none;overflow-y:auto}.app.app-info-only .info-content{padding-bottom:clamp(.8rem,2vh,1.4rem)}.info-cards-grid,.info-card-actions{grid-template-columns:1fr}.daycycle-summary-actions{padding-top:clamp(1rem,3vh,1.6rem);--road-thickness: clamp(2.7rem, 4.2vh, 3.5rem);--road-drop: calc(clamp(3.2rem, 5.2vh, 4.2rem) + var(--road-thickness) + 3rem)}.hill-house{left:62.2%;bottom:clamp(4.4rem,17.6vh,8.6rem);width:clamp(12rem,16.8vw,18.2rem)}.hill-flagpole{left:72.4%;bottom:clamp(5.2rem,18.4vh,8.8rem);height:clamp(6.2rem,11vh,9.4rem)}.hill-flag-label{left:calc(72.4% + .72rem);bottom:clamp(6.8rem,18.4vh,9.2rem);max-width:clamp(7rem,34vw,10rem)}.daycycle-summary-actions .hill-road{left:var(--hill-left);right:var(--hill-right);width:auto;bottom:calc(var(--hill-bottom) - var(--road-drop));height:var(--hill-height)}.daycycle-summary-actions .hill-road-lamps{left:var(--hill-left);right:var(--hill-right);bottom:calc(var(--hill-bottom) + var(--hill-height) - var(--road-drop) + clamp(.02rem,.08vh,.1rem));height:clamp(2.6rem,4.8vh,3.8rem)}.daycycle-summary-actions .hill-road-lamps:before{left:34%;height:clamp(1.6rem,2.8vh,2.4rem);box-shadow:clamp(4rem,10.4vw,6.4rem) 0 0 var(--road-post, rgba(190, 198, 210, .75)),clamp(8.2rem,21vw,11rem) 0 0 var(--road-post, rgba(190, 198, 210, .75)),clamp(12.2rem,31vw,15rem) 0 0 var(--road-post, rgba(190, 198, 210, .75)),clamp(16.1rem,41vw,19rem) 0 0 var(--road-post, rgba(190, 198, 210, .75))}.daycycle-summary-actions .hill-road-lamps:after{left:calc(34% - .34rem);bottom:calc(clamp(1.3rem,2.3vh,2rem) - .04rem);box-shadow:clamp(4rem,10.4vw,6.4rem) 0 0 0 #c2cad6f5,clamp(8.2rem,21vw,11rem) 0 0 0 #c2cad6f5,clamp(12.2rem,31vw,15rem) 0 0 0 #c2cad6f5,clamp(16.1rem,41vw,19rem) 0 0 0 #c2cad6f5,0 0 18px rgba(255,210,140,var(--road-lamp-opacity, 0)),clamp(4rem,10.4vw,6.4rem) 0 18px rgba(255,210,140,var(--road-lamp-opacity, 0)),clamp(8.2rem,21vw,11rem) 0 18px rgba(255,210,140,var(--road-lamp-opacity, 0)),clamp(12.2rem,31vw,15rem) 0 18px rgba(255,210,140,var(--road-lamp-opacity, 0)),clamp(16.1rem,41vw,19rem) 0 18px rgba(255,210,140,var(--road-lamp-opacity, 0))}.daycycle-summary-actions .color-footer-btn{min-width:0}.overview-grid{grid-template-columns:1fr}.list-card{grid-column:auto}.site-header-row,.header-controls,.header-actions,.day-header,.dialog-head,.dialog-actions{flex-direction:column;align-items:stretch}.brand-line{flex-direction:column;align-items:flex-start;gap:.25rem}.header-actions{flex-wrap:wrap}.settings-open-btn{width:100%}.color-footer-btn{flex:1 1 calc(50% - .45rem);min-width:0}.shortcut-row{grid-template-columns:1fr}.settings-actions{justify-content:stretch}.settings-actions .small-btn{width:100%}.routine-settings-grid{grid-template-columns:1fr}.day-status{justify-content:flex-start;text-align:left}.footer-now-line{text-align:left;padding-left:0;border-left:0}.form-grid{grid-template-columns:1fr}.time-footer{min-height:158px}.footer-info-bar{width:min(90vw,28rem);gap:2rem;margin-top:1.2rem}.footer-info-bar .info-bar-item{flex:1 1 0;min-width:0}.footer-info-bar .info-bar-value{max-width:100%;overflow:hidden;text-overflow:ellipsis}.day-strip{padding-top:clamp(1rem,6vh,3rem);justify-items:center;text-align:center}.day-status-inline{flex-direction:column;align-items:center;gap:3rem;margin-top:clamp(7rem,20vh,11rem);width:100%}.phase-chip{min-width:clamp(120px,46vw,200px);width:auto;height:clamp(52px,9vh,78px);font-size:clamp(1.6rem,7vw,2.4rem);margin-bottom:0}.footer-now-line{font-size:clamp(1.1rem,5.5vw,1.5rem);margin-left:0;line-height:1.25}.footer-countdown{font-size:clamp(.95rem,4.5vw,1.25rem);margin-top:clamp(.5rem,1.5vh,1rem)}.info-actions .header-actions{flex-direction:row;align-items:center}.info-actions .settings-open-btn{width:2.35rem}.daycycle-summary-actions .color-footer-label{font-size:clamp(.88rem,4.5vw,1.1rem)}.color-overlay{padding:0}.color-action-shell{width:100%;max-width:100%;height:100%;max-height:100%;border-radius:0}.color-action-dialog{border-radius:0;max-height:100dvh;border-left:none;border-right:none;border-top:none}.color-action-dialog .dialog-head{grid-template-columns:1fr auto}.color-action-dialog .dialog-head h2{grid-column:1;text-align:left;font-size:1.35rem}.color-action-dialog .dialog-head-actions{grid-column:2}.color-dialog-header{padding:.5rem .75rem .4rem;gap:.3rem}.color-dialog-datetime{font-size:.9rem;text-align:left}.color-dialog-layout-daily .color-guidance-card-priority{flex:0 0 auto;min-height:unset;max-height:clamp(120px,22vh,180px);overflow-y:auto}.event-dialog{width:100%;max-width:100%;border-radius:0;max-height:100dvh;overflow-y:auto}.overlay:has(.event-dialog){padding:0;align-items:flex-start}.color-guidance-text{font-size:1rem}}@media (hover: none) and (pointer: coarse){.today-timeline-vertical{flex-direction:row;align-items:flex-start;min-height:72vh;height:72vh;gap:.4rem}.color-dialog-layout-daily .color-dialog-overview-wrap{flex:1 1 auto;min-height:0}.overview-grid-daily{display:flex;flex-direction:column;height:100%;min-height:0}.overview-grid-daily>.timeline-card-expanded{flex:1;min-height:0;display:flex;flex-direction:column}.overview-grid-daily .today-timeline-vertical{flex:1 1 auto;min-height:0;height:auto}.overview-grid-daily .overview-card.timeline-card{padding:.75rem}.today-timeline-vertical .timeline-scale{flex-direction:column;justify-content:space-between;align-items:flex-end;width:2.8rem;flex-shrink:0;height:100%;font-size:.68rem;padding-right:.25rem}.today-timeline-vertical .timeline-phase-row,.today-timeline-vertical .timeline-legend{display:none}.today-timeline-vertical .today-track{flex:1;min-height:unset;height:100%;background:linear-gradient(to bottom,rgba(28,85,134,.08) 1px,transparent 1px) 0 0 / 100% 25%,#f8fbff}.today-timeline-vertical .today-now-line{left:0!important;right:0;width:unset!important;height:2px}.today-timeline-vertical .today-now-line>.now-pill{display:none}.today-timeline-vertical .today-now-pill-wrap>.now-pill{font-size:.82rem;padding:.2rem .75rem;min-width:0;letter-spacing:0}.today-timeline-vertical .today-block{padding:.3rem .25rem;border-radius:8px;align-items:flex-start;justify-content:flex-start}.today-timeline-vertical .today-block-title{writing-mode:horizontal-tb;font-size:.72rem;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.today-timeline-vertical .today-done{bottom:auto;right:0}.today-timeline-vertical .today-track{touch-action:none}.today-timeline-vertical .today-block-handle{top:auto;left:50%;right:auto;width:52px;height:20px;cursor:ns-resize;transform:translate(-50%)}.today-timeline-vertical .today-block-handle.handle-start{top:-10px;bottom:auto;left:50%}.today-timeline-vertical .today-block-handle.handle-end{bottom:-10px;top:auto;right:auto;left:50%}.today-timeline-vertical .today-create-selection{left:8px!important;right:8px;width:unset!important;top:unset;bottom:unset}.today-timeline-vertical .today-all-day-layer{left:auto;right:4px;top:8px;bottom:8px;width:60px;flex-direction:column}.today-timeline-vertical .today-all-day-bar{writing-mode:vertical-lr;font-size:.68rem;padding:.4rem .22rem}}.dialog-head-no-title{grid-template-columns:1fr auto 1fr}.dialog-head-no-title .dialog-head-actions{grid-column:3}.color-dialog-datetime-inline{grid-column:2;text-align:center;justify-self:center}.color-dialog-header-compact .dialog-head{gap:.5rem}.six-month-header.month-next{background:#eef4ff;border-color:#9ab7d7;box-shadow:inset 0 0 0 1px #9ab7d759}.six-month-header.month-next h3{font-size:1.05rem;letter-spacing:.02em}.minder-file-input{display:none}.minder-viewer{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}.minder-viewer-photo{flex:1;min-height:0;position:relative;overflow:hidden;background:#0a0f1a}.minder-viewer-img{width:100%;height:100%;object-fit:contain;display:block}.minder-nav{position:absolute;top:50%;transform:translateY(-50%);background:#0a142861;color:#fff;border:none;border-radius:50%;width:2.6rem;height:2.6rem;font-size:1.8rem;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .15s;padding:0}.minder-nav:hover{background:#0a1428b3}.minder-nav-prev{left:.75rem}.minder-nav-next{right:.75rem}.minder-viewer-bar{flex:0 0 auto;display:flex;align-items:center;gap:1rem;padding:.65rem 1.2rem;background:#ffffffe6;border-top:1px solid rgba(0,0,0,.07)}.minder-viewer-desc{flex:1;margin:0;font-size:.9rem;color:#2a3a52;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.minder-viewer-dots{display:flex;align-items:center;gap:.35rem;flex-shrink:0}.minder-dot{width:7px;height:7px;border-radius:50%;background:#3c64a040;border:none;cursor:pointer;padding:0;transition:background .2s,transform .2s}.minder-dot.is-active{background:#3b6fd4;transform:scale(1.35)}.minder-settings-btn{flex-shrink:0;font-size:.72rem;font-weight:600;background:#e8edf4;color:#4a5568;border:none;border-radius:6px;padding:.28rem .7rem;cursor:pointer;transition:background .14s}.minder-settings-btn:hover{background:#d4dce8}.minder-viewer-loading{flex:1;display:flex;align-items:center;justify-content:center;gap:.5rem}.minder-viewer-empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1.2rem}.minder-viewer-empty-text{margin:0;color:#8a9ab8;font-size:1rem}.minder-loading-dot{width:8px;height:8px;border-radius:50%;background:#3c64a066;animation:minder-dot-pulse 1.2s ease-in-out infinite}.minder-loading-dot:nth-child(2){animation-delay:.2s}.minder-loading-dot:nth-child(3){animation-delay:.4s}@keyframes minder-dot-pulse{0%,80%,to{transform:scale(.7);opacity:.4}40%{transform:scale(1);opacity:1}}.minder-settings{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}.minder-settings-head{flex:0 0 auto;display:flex;align-items:center;gap:.6rem;padding:.75rem 1.2rem;border-bottom:1px solid rgba(0,0,0,.08);background:#ffffffe6}.minder-settings-title{flex:1;margin:0;font-size:1rem;font-weight:700;color:#2a3a52}.minder-settings-empty{flex:1;display:flex;align-items:center;justify-content:center;color:#8a9ab8;font-size:.95rem;padding:2rem;text-align:center}.minder-settings-grid{flex:1;min-height:0;overflow-y:auto;display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:.9rem;padding:1rem 1.2rem 1.4rem;align-content:start}.minder-settings-card{position:relative;border-radius:10px;overflow:hidden;background:#e8edf4;box-shadow:0 2px 8px #1428501a}.minder-settings-img{width:100%;aspect-ratio:4 / 3;object-fit:cover;display:block}.minder-settings-desc{margin:0;padding:.4rem .6rem;font-size:.78rem;color:#4a5568;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.minder-delete-btn{position:absolute;top:.35rem;right:.35rem;width:1.6rem;height:1.6rem;border-radius:50%;background:#14141e80;color:#fff;font-size:1rem;line-height:1;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .15s,background .15s;cursor:pointer;border:none}.minder-settings-card:hover .minder-delete-btn{opacity:1}.minder-delete-btn:hover{background:#c81e1ed9}.minder-save-btn,.minder-cancel-btn{font-size:.72rem;font-weight:600;border-radius:6px;padding:.28rem .7rem;cursor:pointer;border:none;transition:background .14s}.minder-save-btn{background:#3b6fd4;color:#fff}.minder-save-btn:hover:not(:disabled){background:#2d5db8}.minder-save-btn:disabled{opacity:.55;cursor:default}.minder-cancel-btn{background:#e8edf4;color:#4a5568}.minder-cancel-btn:hover{background:#d4dce8}.minder-upload-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0a142899;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);display:flex;align-items:center;justify-content:center;z-index:9999}.minder-upload-modal{background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 24px 64px #0a14324d;width:min(480px,92vw);display:flex;flex-direction:column}.minder-upload-preview{width:100%;max-height:320px;object-fit:cover;display:block}.minder-upload-form{padding:1.2rem 1.4rem 1.4rem;display:flex;flex-direction:column;gap:.65rem}.minder-upload-form-label{font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#8a9ab8}.minder-desc-input{width:100%;font-size:.85rem;color:#2a3a52;border:1px solid #c5d4e8;border-radius:6px;padding:.35rem .5rem;outline:none;box-sizing:border-box;font-family:inherit}.minder-desc-input:focus{border-color:#5b8dd9;box-shadow:0 0 0 2px #5b8dd933}.minder-upload-form-actions{display:flex;gap:.5rem;margin-top:.2rem}
