/* Calendar v3 is isolated from legacy plan styles. */
.balanced-shell{--b-bg:#131719;--b-panel:#1c2224;--b-line:#354044;--b-accent:#d7edb1;color:#ecf0eb;background:var(--b-bg);min-height:100vh;font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;padding:0 32px 80px}.balanced-shell *{box-sizing:border-box}.balanced-shell button,.balanced-shell input,.balanced-shell textarea,.balanced-shell select{font:inherit}.balanced-shell button{cursor:pointer}.balanced-shell button:focus-visible,.balanced-shell input:focus-visible,.balanced-shell textarea:focus-visible,.balanced-shell select:focus-visible{outline:3px solid #d7edb1;outline-offset:3px}.b-header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:25px 0;border-bottom:1px solid var(--b-line);max-width:1700px;margin:auto}.b-brand{display:flex;gap:13px;align-items:center;color:#d7edb1;font-weight:700;font-size:30px;text-decoration:none}.b-brand span{font-size:16px;letter-spacing:.16em}.b-brand small{display:block;font-size:8px;letter-spacing:.15em;color:#a3afb0;margin-top:5px}.b-header-actions,.b-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.b-button,.b-quiet,.b-chip{min-height:44px;border:1px solid var(--b-line);color:#e8eeeb;background:#242c2e;border-radius:11px;padding:10px 14px;text-decoration:none}.b-quiet{background:transparent;border-color:transparent;font-size:12px}.b-button.primary{color:#152016;background:var(--b-accent);border-color:var(--b-accent);font-weight:650}.b-button.active{border-color:var(--b-accent)}.b-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:28px;max-width:1700px;margin:auto;align-items:start}.b-calendar{min-width:0;padding-top:32px}.b-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.b-title h1{font-size:clamp(26px,3vw,42px);line-height:1.15;margin:8px 0;max-width:850px;letter-spacing:-.04em}.b-eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:10px;color:#a7b5b3;margin:0 0 8px}.b-muted,.b-small{color:#b3bfbd;font-size:12px;line-height:1.6}.b-progress{width:100%;height:5px;accent-color:#d7edb1;margin-bottom:20px;border:0}.b-date-row{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;margin-bottom:20px}.b-date{min-height:83px;border-radius:13px;border:1px solid var(--b-line);background:transparent;color:#e6eeea;display:grid;gap:2px;place-content:center;padding:9px 2px}.b-date small{font-size:10px;text-transform:uppercase}.b-date b{font-size:23px}.b-date span{font-size:10px;color:#aebbb8}.b-date.selected{background:#d7edb1;color:#152016;border-color:#d7edb1}.b-date.selected span{color:#374a35}.b-date.is-today{box-shadow:inset 0 -4px #81ad92}.b-overview{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;margin:0 0 30px}.b-column{border:1px solid var(--b-line);border-radius:13px;color:#d8e1dd;background:#1b2123;text-align:left;min-width:0;padding:12px 9px}.b-column.selected{border-color:#d7edb1}.b-column small{font-size:9px;color:#a9b9b3}.b-column h2{font-size:13px;min-height:32px;line-height:1.25;margin:12px 0}.b-column>span{display:flex;align-items:start;gap:5px;min-height:52px;font-size:10px;line-height:1.35;border-top:1px solid #303a3b;padding:9px 0;overflow-wrap:anywhere}.b-column svg{width:15px;height:15px;flex-shrink:0;color:#b9ccb5}.b-column>b{display:block;padding-top:8px;font-size:12px}.b-day{max-width:850px;margin:0 auto}.b-day-heading{display:flex;align-items:start;justify-content:space-between;gap:15px;margin-bottom:20px}.b-day-heading h2{font-size:34px;letter-spacing:-.03em;margin:4px 0 10px}.b-day-heading p:not(.b-eyebrow){font-size:14px;color:#b5c3be}.b-thought{background:#26332d;border-left:3px solid #c8dfae;border-radius:0 14px 14px 0;padding:20px 24px;margin-bottom:18px}.b-thought>p{font-size:19px;line-height:1.6;margin:10px 0}.b-thought small,.b-mission small,.b-reflection small{text-transform:uppercase;color:#b9c7bd;letter-spacing:.12em;font-size:9px}.b-thought summary{min-height:44px;padding-top:13px;color:#c5d3c8;font-size:12px;cursor:pointer}.b-mission{border:1px solid #54684c;background:#1c2721;border-radius:14px;padding:20px 24px;margin-bottom:22px}.b-mission h3{font-size:19px;margin:8px 0}.b-mission p,.b-reflection p,.b-rule p{font-size:14px;color:#bfccc6;line-height:1.6}.b-timeline{display:grid;gap:6px}.b-event{display:flex;align-items:center;gap:10px;border:1px solid #303a3d;border-left:3px solid var(--category);border-radius:10px;padding:8px 10px;min-height:74px;background:#1b2123}.b-event time{flex:0 0 43px;font-size:11px;color:#e1ebe5}.b-event time small{display:block;font-size:9px;color:#9baba5;margin-top:5px}.b-event-open{display:flex;align-items:center;gap:12px;border:0;background:none;color:#e8eee9;text-align:left;flex:1;min-height:52px;min-width:0;padding:6px}.b-event-open svg{width:22px;height:22px;color:var(--category);flex-shrink:0}.b-event-open small{display:block;color:#b8c6bd;font-size:9px;margin-bottom:4px}.b-event-open b{font-size:13px;font-weight:550;display:block}.b-event-open span>span{display:block;font-size:9px;color:#93a59b;margin-top:5px}.b-event.done{background:#213128}.b-event.skipped{opacity:.65}.b-check{width:44px;height:44px;border-radius:50%;background:none;border:1px solid #4e6457;color:#d7edb1;flex-shrink:0;font-size:23px}.b-resize{background:none;border:0;color:#8eaaa0;padding:10px;min-height:44px}.b-rule{display:flex;gap:18px;background:#2b2b21;border-radius:13px;margin-top:20px;padding:20px}.b-rule>svg{width:25px;height:25px;flex-shrink:0;color:#d7c88c}.b-rule h3{margin:0;font-size:16px}.b-reflection{padding:25px 12px;border-bottom:1px solid var(--b-line)}.b-footer{margin:25px auto 0;max-width:850px;display:flex;flex-wrap:wrap;gap:8px}.b-footer p{width:100%;font-size:11px;color:#99aaa1}.b-coach{position:sticky;top:20px;background:#1b2223;border:1px solid var(--b-line);border-radius:16px;margin-top:32px;padding:20px;max-height:calc(100vh - 40px);overflow:auto}.b-coach header{display:flex;align-items:center;justify-content:space-between}.b-coach h2{font-size:22px;margin:0 0 15px}.b-coach-close{display:none}.b-coach label,.b-modal label{display:block;font-size:12px;margin-bottom:13px;color:#bccdc3}.b-coach select,.b-coach textarea,.b-modal input,.b-modal textarea,.b-modal select,.b-thought textarea,.b-day>form textarea{display:block;width:100%;color:#eef3ee;background:#12191a;border:1px solid #4a5b55;border-radius:8px;min-height:44px;padding:11px;margin-top:7px;max-width:100%}.b-coach textarea{min-height:85px;resize:vertical}.b-chat{display:flex;flex-direction:column;gap:12px;max-height:40vh;overflow:auto;margin:20px 0}.b-bubble{font-size:13px;line-height:1.7;padding:13px 15px;border-radius:11px;background:#25332b;white-space:pre-wrap;margin:0}.b-bubble.user{background:#333c39;margin-left:15px}.b-quick{display:flex;gap:6px;flex-wrap:wrap;margin:15px 0}.b-chip{font-size:10px;min-height:36px;padding:8px 10px;border-radius:24px}.b-coach-launch{display:none}.b-small{font-size:10px}.b-overlay{position:fixed;inset:0;background:#000a;z-index:80;display:flex;align-items:center;justify-content:center;padding:20px;backdrop-filter:blur(6px)}.b-modal{position:relative;width:100%;max-width:600px;max-height:90dvh;overflow:auto;background:#1c2525;padding:28px;border-radius:20px;border:1px solid #4b5e52;box-shadow:0 20px 80px #0008}.b-modal h2{font-size:25px;margin:18px 0}.b-modal p{line-height:1.7;font-size:14px}.b-close{border:0;background:none;color:#d7e3d8;display:block;margin-left:auto;min-height:44px}.b-grid2{display:grid;grid-template-columns:1fr 1fr;gap:12px}.b-modal textarea{min-height:80px}.b-notice,.b-error{padding:14px 18px;border-radius:10px;background:#29352a;font-size:13px;line-height:1.6}.b-error{background:#422d2b;color:#ffe0d5}.b-proposal{padding:15px;border:1px solid #b7d392;border-radius:12px;margin:16px 0}.b-proposal h3{font-size:15px;margin:0 0 12px}.b-proposal p{font-size:12px;line-height:1.6}.b-proposal .b-button{font-size:12px;margin:5px 3px 0 0}.b-proposal label input{display:inline;width:auto;min-height:0}.b-coach-launch svg{width:22px;height:22px}.b-day>form textarea{min-height:180px}.b-button:disabled{opacity:.5;cursor:wait}
@media(min-width:1500px){.b-column h2{font-size:15px}.b-column>span{font-size:12px;min-height:65px}}@media(max-width:1199px){.b-layout{display:block}.b-coach{display:none}.b-coach.open{display:block;position:fixed;inset:auto 15px 80px;z-index:65;max-height:75dvh;box-shadow:0 15px 100px #000c;margin:0}.b-coach-close{display:block;min-height:44px;border:0;background:none;color:#e6efe7}.b-coach-launch{display:flex;align-items:center;justify-content:center;gap:7px;position:fixed;bottom:18px;right:22px;background:#d7edb1;color:#17251a;border:0;border-radius:30px;padding:14px 22px;min-height:48px;z-index:60;box-shadow:0 5px 30px #0008}}@media(max-width:650px){.balanced-shell{padding:0 15px 100px}.b-header{padding:18px 0;align-items:start}.b-brand{font-size:25px}.b-brand span{font-size:12px}.b-brand small{font-size:6px}.b-header-actions{justify-content:flex-end;max-width:180px;gap:2px}.b-header-actions .b-button,.b-header-actions .b-quiet{font-size:10px;padding:8px;min-height:44px}.b-header-actions .b-quiet{display:none}.b-calendar{padding-top:22px}.b-title{gap:10px}.b-title h1{font-size:28px}.b-title>.b-button{font-size:11px;padding:9px}.b-date-row{gap:4px}.b-date{min-height:73px}.b-date b{font-size:20px}.b-date small{font-size:9px}.b-date span{font-size:9px}.b-overview{display:none}.b-day-heading h2{font-size:29px}.b-day-heading>.b-button{font-size:11px}.b-thought{padding:15px 18px}.b-thought>p{font-size:17px}.b-mission{padding:18px}.b-event{gap:6px;padding:6px}.b-event-open{gap:8px}.b-event-open b{font-size:12px}.b-resize{display:none}.b-check{width:44px;height:44px}.b-modal{padding:20px}.b-overlay{padding:10px}.b-grid2{gap:8px}.b-coach.open{inset:auto 8px 78px;padding:16px}.b-coach-launch{bottom:18px;right:18px}.b-footer{padding-bottom:55px}}
.b-modal input[type=checkbox]{display:inline-block;width:20px;min-height:20px;vertical-align:middle;margin-right:8px}.b-resize{display:none}@media(min-width:801px){.b-timeline.time-grid{display:block;position:relative;height:var(--grid-height);background:repeating-linear-gradient(to bottom,transparent 0,transparent 59px,#34413c 59px,#34413c 60px);border:1px solid #34413c;border-radius:12px}.b-timeline.time-grid .b-event{position:absolute;left:5px;right:5px;top:var(--event-top);height:var(--event-height);min-height:22px;padding:1px 7px;border-radius:4px;overflow:hidden;gap:5px}.b-timeline.time-grid .b-event time{font-size:9px;flex-basis:34px}.b-timeline.time-grid .b-event time small,.b-timeline.time-grid .b-event-open small,.b-timeline.time-grid .b-event-open span>span{display:none}.b-timeline.time-grid .b-event-open{min-height:20px;height:100%;padding:0;gap:5px}.b-timeline.time-grid .b-event-open svg{width:13px;height:13px}.b-timeline.time-grid .b-event-open b{font-size:10px;white-space:nowrap}.b-timeline.time-grid .b-check{width:22px;height:20px;min-height:0;font-size:14px;border:0}.b-timeline.time-grid .b-resize{display:block;min-height:20px;padding:0 5px;cursor:ns-resize}.b-timeline.time-grid .b-event:hover{z-index:2;outline:1px solid #c7d8ba}.b-timeline.time-grid:before{content:'00:00 → 24:00 +';position:absolute;top:-19px;font-size:9px;color:#9aafa0}}@media(max-width:800px){.b-desktop-only{display:none}}@media(max-width:650px){.b-date-row{gap:3px}}

.b-sync{margin:12px 0;padding:12px 16px;border-radius:14px;background:var(--surface,#f1f4f0);font-size:13px}.b-sync p{max-width:60ch;line-height:1.5}
