:root{color-scheme:light;font-family:'Segoe UI Variable','Segoe UI',-apple-system,BlinkMacSystemFont,system-ui,sans-serif;font-size:15px;font-synthesis:none;--workspace:#f5f7f6;--surface:#fff;--soft:#f0f5f2;--ink:#183331;--muted:#5e7268;--line:#dce5e1;--line-strong:#b9ccc3;--forest:#123f3a;--primary:#1e6658;--mint:#d9f0e5;--teal-fg:#29634e;--teal-bg:#eaf5ee;--teal-border:#afd1bd;--purple-fg:#664b92;--purple-bg:#f1edf8;--purple-border:#cec0e2;--blue-fg:#3e648e;--blue-bg:#edf3fa;--blue-border:#bdcfe5;--danger:#923f4b;--danger-bg:#fff1f2;--danger-line:#eac5cd;--r:12px;--rl:16px}
.end-date-warning{padding:12px 14px;border:1px solid #dfc994;border-radius:8px;background:#fff8e8;color:#654c19;font-size:13px;line-height:1.6}
.peptide-picker{position:relative}.peptide-picker>label{font-weight:600}.peptide-picker-control{position:relative;display:flex;align-items:center}.peptide-picker-control input{width:100%;min-height:46px;border:1px solid #7c9387;border-radius:10px;background:#fff;padding:10px 48px 10px 42px;font-size:15px;font-weight:400;color:var(--ink)}.peptide-picker-control input:hover{border-color:var(--primary)}.peptide-picker-control input[aria-expanded=true]{border-color:var(--primary);box-shadow:0 0 0 3px #d9f0e5}.peptide-picker-control input[aria-invalid=true]{border-color:var(--danger);background:#fffafa}.picker-search-icon{position:absolute;left:13px;z-index:1;color:var(--muted);display:grid;place-items:center}.picker-search-icon svg{width:18px;height:18px}.peptide-picker-control button{position:absolute;right:5px;top:5px;bottom:5px;width:37px;border-radius:7px;background:#f1f6f3;color:var(--primary);font-size:22px;line-height:1}.peptide-picker-control button:hover{background:#dceee4}.peptide-options{border:1px solid var(--line-strong);border-radius:11px;background:#fff;box-shadow:0 12px 30px #133b3024;margin-top:7px;max-height:310px;overflow-y:auto;overscroll-behavior:contain;font-weight:400}.peptide-options-head{position:sticky;top:0;z-index:1;display:flex;justify-content:space-between;gap:10px;align-items:center;background:#f5faf7;border-bottom:1px solid var(--line);padding:9px 13px;color:var(--muted);font-size:12px}.peptide-options-head strong{color:var(--ink);font-size:12px}.peptide-group{padding:8px 13px 3px;color:#577a67;font-size:10px;font-weight:750;text-transform:uppercase;letter-spacing:1.2px;background:#fff}.peptide-option{cursor:pointer;padding:9px 13px;border-top:1px solid #edf1ee;outline-offset:-3px}.peptide-option:hover,.peptide-option[aria-selected=true]{background:#eaf5ee}.peptide-option>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.peptide-option strong{font-size:13px;color:var(--ink);font-weight:650}.peptide-option-status,.peptide-status{font-size:10px;font-weight:700;color:#3e7558;background:#e5f2e9;border-radius:99px;padding:3px 7px;white-space:nowrap}.peptide-option small{display:block;font-size:11px;line-height:1.5;color:var(--muted);margin-top:3px}.peptide-no-results{display:grid;gap:3px;padding:16px;color:var(--muted);font-size:12px}.peptide-no-results strong{color:var(--ink)}.peptide-selection{display:flex;align-items:flex-start;flex-wrap:wrap;gap:7px;padding:9px 11px;border:1px solid #cce4d4;border-radius:8px;background:#f1f8f3;color:#486356;font-size:12px;line-height:1.6;font-weight:400}.peptide-selection>span:nth-child(2){flex:1;min-width:170px}.peptide-selection a{display:inline-flex;align-items:center;gap:3px;font-weight:600;white-space:nowrap}.peptide-selection a svg{width:12px;height:12px}.peptide-picker>small{font-size:12px;line-height:1.6;font-weight:400;color:var(--muted)}@media(max-width:700px){.peptide-picker-control input{font-size:16px;min-height:47px}.peptide-options{max-height:40dvh}.peptide-option{padding:11px 12px}.peptide-option strong{font-size:14px}.peptide-option small{font-size:12px}.peptide-option-status{font-size:9px}}
.peptide-option-status,.peptide-status{color:#596e63;background:#edf1ee}.peptide-option-status[data-status="FDA-approved drug"],.peptide-status[data-status="FDA-approved drug"]{color:#2d6b4a;background:#dff1e5}.peptide-option-status[data-status="Investigational"],.peptide-status[data-status="Investigational"]{color:#725099;background:#eee7f6}.peptide-option-status[data-status="Not a peptide"],.peptide-status[data-status="Not a peptide"]{color:#805d25;background:#f7efdf}.peptide-option-status[data-status="Clinical hormone"],.peptide-status[data-status="Clinical hormone"]{color:#3d628e;background:#e7eef8}
.bulk-record-list{list-style:none;margin:0 0 16px;padding:0;border:1px solid var(--line);border-radius:9px;overflow:hidden}.bulk-record-list li{display:flex;justify-content:space-between;gap:16px;padding:10px 13px;font-size:14px}.bulk-record-list li+li{border-top:1px solid var(--line)}.bulk-record-list strong{font-weight:600;overflow-wrap:anywhere}.bulk-record-list span{color:var(--muted);white-space:nowrap}
.workspace-signature .avatar{height:30px;width:30px;border:1px solid #749787;border-radius:8px;display:grid;place-items:center;flex:none}.workspace-signature strong,.workspace-signature small{display:block}.workspace-signature strong{font-size:13px}.workspace-signature small{margin-top:4px;color:#b6cfc4}
*{box-sizing:border-box}body{margin:0;background:var(--workspace);color:var(--ink);line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{-webkit-tap-highlight-color:transparent;transition:background-color 140ms,border-color 140ms,box-shadow 140ms}button{cursor:pointer;color:inherit;border:0}button:disabled{cursor:not-allowed;opacity:.5}a{color:var(--primary);text-underline-offset:3px}svg{width:20px;height:20px;flex:none;vertical-align:middle;pointer-events:none}:focus-visible{outline:3px solid #32947f;outline-offset:3px}input,select,textarea{min-width:0}input[type=checkbox],input[type=radio]{accent-color:var(--primary);width:18px;height:18px;flex:none}[hidden]{display:none!important}h1,h2,h3,p{margin-top:0}button,span,time,input{font-variant-numeric:tabular-nums}.muted,.help-text{color:var(--muted)}.help-text{font-size:14px;line-height:1.7;margin:12px 0}.skip-link{position:fixed;left:16px;top:-80px;z-index:200;background:white;padding:12px 20px;border:2px solid var(--primary);border-radius:8px}.skip-link:focus{top:16px}
.app-shell{min-height:100vh;display:flex}.sidebar{position:fixed;inset:0 auto 0 0;width:216px;padding:28px 16px 20px;display:flex;flex-direction:column;background:var(--forest);color:#d9e9e2;z-index:40}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:white;padding:0 11px;margin-bottom:42px}.brand-mark{color:#9be1c7;display:grid;place-items:center}.brand-mark svg{width:29px;height:40px}.brand-name{font-size:31px;font-weight:750;letter-spacing:-1.3px;line-height:1.05}.brand-name small{display:block;color:#b6cfc4;font-size:12px;font-weight:500;letter-spacing:1.6px;margin-top:8px}.sidebar nav{display:grid;gap:6px}.nav-item{min-height:46px;display:flex;align-items:center;gap:12px;text-align:left;padding:12px 14px;border-radius:9px;background:transparent;color:#c1d6cc;font-size:14px;font-weight:550}.nav-item:hover{background:#204c43;color:white}.nav-item[aria-current=page]{background:#2c584c;color:#e0f8ec;box-shadow:inset 3px 0 #a7dfc5}.sidebar-footer{margin-top:auto;padding:20px 12px 2px}.sidebar-footer p{font-size:14px;color:#b1cbbf;margin:0 0 10px;line-height:1.65}.sidebar-footer button{padding:0;background:none;color:#e1f0e8;min-height:34px;font-size:14px;display:flex;gap:7px;align-items:center}.workspace-signature{padding-top:20px;margin-top:16px;border-top:1px solid #ffffff25;font-size:14px;color:#c9ddd1;display:flex;gap:10px;align-items:center}.workspace-icon{height:30px;width:30px;border:1px solid #749787;border-radius:8px;display:grid;place-items:center;font-weight:650}.main-shell{margin-left:216px;width:calc(100% - 216px);min-width:0}.topbar{height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 28px;background:white;border-bottom:1px solid var(--line);gap:16px}.breadcrumb{color:var(--muted);font-size:14px;display:flex;align-items:center;gap:14px}.breadcrumb strong{font-weight:600;color:var(--ink)}.slash{color:#91a498}.topbar-right{display:flex;align-items:center;gap:16px}.save-status{display:flex;align-items:center;gap:6px;font-size:14px;color:var(--muted)}.save-status svg{width:15px;height:15px}.save-status.error{color:var(--danger)}.edition-label{font-size:13px;color:var(--muted);border:1px solid var(--line);padding:4px 8px;border-radius:5px}main{padding:26px 28px 24px;min-width:0;max-width:2040px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 22px}.page-heading h1{font-size:29px;line-height:1.2;letter-spacing:-.9px;font-weight:700;margin:0 0 7px}.page-heading p{font-size:14px;color:var(--muted);margin:0;line-height:1.6}.heading-actions{display:flex;gap:10px;flex-shrink:0}
.button{min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:9px 15px;border-radius:8px;border:1px solid var(--line);background:white;font-weight:600;font-size:14px;line-height:1.35;text-decoration:none}.button svg{width:17px;height:17px}.button:hover{background:var(--soft);border-color:var(--line-strong)}.button:active{transform:translateY(1px)}.button.primary{background:var(--primary);color:white;border-color:var(--primary)}.button.primary:hover{background:#185347;border-color:#185347}.button.quiet,.button.text{border-color:transparent;background:transparent;color:var(--primary)}.button.quiet:hover,.button.text:hover{background:#eaf2ec}.button.text{padding:2px 4px;min-height:26px;font-size:14px;text-decoration:underline}.button.small,.button.subtle{min-height:36px;padding:7px 12px;font-size:14px}.button.danger{background:var(--danger-bg);border-color:var(--danger-line);color:var(--danger)}.button.danger.quiet{background:transparent;border-color:transparent}.icon-button{width:40px;height:40px;display:inline-grid;place-items:center;border-radius:8px;background:transparent;color:var(--muted);flex:none}.icon-button:hover{background:#e9f0ec;color:var(--primary)}.icon-button svg{width:19px;height:19px}
.global-notice{margin:0 0 20px;padding:13px 16px;border:1px solid #c8dccf;border-radius:10px;background:#edf6f0;display:flex;align-items:center;gap:12px;font-size:14px;line-height:1.7}.global-notice>svg{align-self:flex-start;margin-top:2px}.notice-actions{display:flex;gap:8px;margin-left:auto;flex-shrink:0}.global-notice.error{color:var(--danger);border-color:var(--danger-line);background:var(--danger-bg)}.sandbox-banner{margin:0 0 20px;border:1px solid var(--blue-border);border-radius:10px;background:var(--blue-bg);padding:12px 16px;display:flex;align-items:center;gap:10px;color:var(--blue-fg);font-size:14px}.sandbox-banner a{margin-left:auto;color:var(--blue-fg);font-weight:650;white-space:nowrap}
.plan-summary-area{margin-bottom:22px}.plan-summaries{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.plan-summary{min-width:0;background:white;border:1px solid var(--line);border-radius:var(--r);padding:14px 16px 13px}.plan-summary-head{display:flex;align-items:center;gap:8px;min-width:0}.plan-marker{height:9px;width:9px;border-radius:3px;background:var(--plan-fg);flex:none}.plan-summary h2{font-size:14px;font-weight:650;margin:0;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1}.plan-summary .icon-button{height:27px;width:23px}.phase-badge{border-radius:5px;padding:3px 7px;background:#edf2ef;color:#50695a;font-size:12px;font-weight:600;white-space:nowrap;line-height:1.5}.phase-badge.on{background:#e7f4ec;color:#2f6850}.phase-badge.off,.phase-badge.paused{background:var(--purple-bg);color:var(--purple-fg)}.phase-badge.upcoming{background:var(--blue-bg);color:var(--blue-fg)}.plan-summary p{font-size:14px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:9px 0 10px}.plan-summary-foot{display:flex;justify-content:space-between;align-items:center;font-size:13px;gap:8px;color:var(--plan-fg)}.plan-summary-foot strong{font-size:13px;font-weight:600}.summary-overflow{display:flex;margin:8px 0 0 auto;min-height:28px;font-size:14px;padding:3px 0}
.calendar-workspace{display:grid;grid-template-columns:minmax(0,1fr) 328px;gap:20px;align-items:start}.calendar-surface{min-width:0;border:1px solid var(--line);border-radius:var(--rl);background:white}.calendar-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:19px 19px 14px;flex-wrap:wrap}.period-heading{display:flex;align-items:center;gap:14px;min-width:0;flex-wrap:wrap}.period-heading h2{font-size:20px;font-weight:650;letter-spacing:-.5px;line-height:1.3;margin:0}.period-controls{display:flex;align-items:center;gap:1px}.period-controls .icon-button{width:31px;height:35px}.period-controls .button{margin-left:5px}.view-tabs{display:flex;padding:3px;border:1px solid var(--line);border-radius:9px;background:var(--soft);gap:2px;width:max-content;max-width:100%}.view-tabs button{background:transparent;border-radius:6px;min-height:33px;padding:6px 11px;font-size:14px;color:var(--muted);font-weight:550}.view-tabs button:hover{background:#e8f0ea}.view-tabs button.selected{background:white;color:var(--primary);box-shadow:0 1px 4px #163b2e15}.calendar-filters{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:0 20px 16px;min-width:0}.filter-menu{position:relative;flex-shrink:0}.filter-menu summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:8px;font-size:14px;min-height:35px;border-radius:7px;padding:4px 8px;margin-left:-8px}.filter-menu summary::-webkit-details-marker{display:none}.filter-menu summary:hover{background:var(--soft)}.filter-menu summary svg{width:16px;height:16px}.filter-menu summary>span{color:var(--muted)}.filter-active{font-size:12px!important;color:var(--primary)!important;padding:2px 5px;background:var(--mint);border-radius:4px}.filter-popover{position:absolute;top:42px;left:0;width:min(330px,calc(100vw - 48px));z-index:30;background:white;border:1px solid var(--line);border-radius:12px;padding:12px;box-shadow:0 8px 40px #133c3220;max-height:400px;overflow:auto}.filter-popover-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;font-size:14px}.filter-popover-head .button{font-size:13px;min-height:30px;padding:5px 7px}.filter-option{display:flex;align-items:center;gap:9px;padding:9px 5px;font-size:14px;cursor:pointer}.filter-option:hover{background:var(--soft)}.filter-option input{margin:0}.filter-option span:last-child{overflow-wrap:anywhere}.filter-notice{font-size:14px;padding:7px 20px;background:#f1f6f2;border-top:1px solid var(--line);display:flex;gap:8px;align-items:center}.status-legend{display:flex;gap:13px;font-size:12px;color:var(--muted);flex-wrap:wrap;justify-content:flex-end}.status-legend span{display:flex;align-items:center;gap:4px;white-space:nowrap}.status-legend svg{width:13px;height:13px}
.calendar-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#f8faf8}.calendar-weekdays span{text-align:right;font-size:13px;font-weight:600;padding:10px 14px;color:#64776b}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));min-height:484px}.calendar-day{min-width:0;min-height:98px;padding:7px 5px 9px;border-right:1px solid #e7ece8;border-bottom:1px solid #e7ece8;cursor:pointer;position:relative;background:white}.calendar-day:nth-child(7n){border-right:0}.calendar-day:hover{background:#f8fbf9}.calendar-day.outside{background:var(--workspace)}.calendar-day.outside .date-button{color:#61766a}.calendar-day.selected{background:#eff7f2;box-shadow:inset 0 0 0 2px #81bba2;z-index:1}.date-button{min-height:30px;width:100%;display:flex;justify-content:flex-end;align-items:center;background:transparent;padding:0 6px;gap:5px;color:#405e4c;border-radius:5px;font-size:14px;line-height:1.4;margin-bottom:5px}.date-button span{width:26px;height:26px;display:grid;place-items:center;border-radius:50%}.date-button small{display:none}.today .date-button span{background:var(--primary);color:white;font-weight:650}.calendar-day.selected .date-button span{font-weight:750}.day-events{display:grid;gap:4px}.event-chip{width:100%;display:flex;align-items:center;gap:4px;text-align:left;padding:4px 5px;min-height:27px;border-radius:5px;font-size:12px;line-height:1.35;background:var(--plan-bg);color:var(--plan-fg);border:1px solid var(--plan-border);border-left:3px solid var(--plan-fg);overflow:hidden}.event-chip svg{height:12px;width:12px}.event-chip>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.event-chip:hover{box-shadow:0 0 0 1px var(--plan-fg)}.event-chip.recorded{font-weight:650}.event-chip.recorded svg{background:var(--plan-fg);color:white;border-radius:3px;padding:1px;width:13px;height:13px}.event-chip.skipped{background:#f5f6f5;border-style:dashed;color:#586a60;border-color:#bfcfc4;font-weight:400}.event-chip.skipped>span{text-decoration:line-through;text-decoration-color:#879c8e}.event-chip time{font-size:12px;display:block}.context-chip{width:100%;background:#f4f6f4;display:flex;gap:4px;align-items:center;color:var(--plan-fg);border:1px dashed #c8d5cb;border-radius:5px;font-size:12px;text-align:left;padding:3px 4px;min-height:24px;overflow:hidden}.context-chip svg{height:11px;width:11px}.context-chip span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.more-events{background:none;text-align:left;color:var(--primary);font-size:12px;font-weight:650;padding:3px 4px;min-height:25px;border-radius:4px}.more-events:hover{background:var(--mint)}.calendar-caption{font-size:12px;color:var(--muted);display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 18px;line-height:1.6;flex-wrap:wrap}.calendar-caption svg{height:13px;width:13px;margin-right:4px}.week-grid,.week-grid .calendar-day{min-height:460px}.week-grid .event-chip{flex-wrap:wrap;min-height:45px;padding:7px 5px;margin-bottom:4px;font-size:13px}.week-grid .event-chip time{width:100%;padding-left:16px}
.day-rail{min-width:0}.day-details{background:white;border:1px solid var(--line);border-radius:var(--rl);padding:20px}.day-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:18px}.section-label{display:block;font-size:13px;font-weight:600;color:var(--muted);margin-bottom:5px}.day-heading h2{font-size:22px;line-height:1.3;letter-spacing:-.5px;margin:0}.day-count{font-size:12px;color:var(--muted);text-align:right;padding-top:4px;max-width:88px}.entry-card{background:white;border:1px solid var(--line);border-radius:10px;padding:14px;margin-bottom:10px;transition:background-color 160ms}.entry-card.recorded{background:#fbfdfb}.entry-card-top{display:flex;align-items:flex-start;gap:8px;flex-wrap:wrap}.entry-card-top>.plan-marker{margin-top:6px;width:7px;height:7px}.entry-identity{min-width:0;flex:1}.entry-card h3{font-size:14px;font-weight:650;line-height:1.5;margin:0 0 4px;overflow-wrap:anywhere}.entry-card .entry-identity p{font-size:13px;color:var(--muted);margin:0;line-height:1.6}.amount{margin-left:6px;padding-left:6px;border-left:1px solid var(--line-strong);color:var(--ink);font-weight:550}.status-badge{font-size:12px;display:inline-flex;align-items:center;gap:4px;color:var(--muted);font-weight:600;white-space:nowrap;border-radius:4px;background:var(--soft);padding:3px 5px;margin-left:auto}.status-badge svg{height:11px;width:11px}.status-badge.recorded{color:#2c6a4e;background:#e8f5ec}.status-badge.skipped{color:#696376;background:#f1edf5}.entry-actions{display:flex;align-items:center;gap:5px;margin-top:12px;flex-wrap:wrap}.entry-actions .button{font-size:13px;min-height:34px;padding:6px 10px}.entry-actions .icon-button{margin-left:auto;width:30px;height:32px}.actual-time{font-size:13px;color:#3d7156;margin:9px 0 0;line-height:1.65}.entry-note{font-size:14px;color:var(--muted);line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0 0}.all-recorded{font-size:14px;color:var(--primary);margin:-4px 0 14px}.break-row{border:1px dashed #cbd8cd;background:#f6f8f5;padding:12px;border-radius:9px;display:flex;align-items:center;gap:10px;margin:10px 0;color:var(--plan-fg)}.break-row>svg{width:17px;height:17px}.break-row>div{flex:1;min-width:0}.break-row strong{display:block;font-size:14px;overflow-wrap:anywhere}.break-row span{display:block;font-size:13px;color:var(--muted);margin-top:4px}.break-row .icon-button{height:30px;width:26px}.empty-state{padding:30px 12px;text-align:center;max-width:420px;margin:auto}.empty-mark{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#edf4ef;color:#4f7b64;margin:0 auto 16px}.empty-state h3{font-size:16px;margin:0 0 8px;line-height:1.5;font-weight:650}.empty-state p{font-size:14px;color:var(--muted);line-height:1.75;margin:0 auto 16px}.up-next{border-top:1px solid var(--line);padding-top:18px;margin-top:20px}.section-heading h3{font-size:14px;font-weight:650;margin:0 0 3px}.section-heading>span{font-size:12px;color:var(--muted)}.upcoming-item{width:100%;display:flex;align-items:center;gap:10px;text-align:left;background:none;border-radius:8px;padding:10px 2px;margin-top:4px}.upcoming-item:hover{background:var(--soft)}.date-tile{width:36px;min-height:40px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#edf3ef;border-radius:7px;flex:none}.date-tile strong{font-size:15px;line-height:1.1}.date-tile span{font-size:12px;margin-top:3px}.upcoming-item>span:nth-child(2){min-width:0;flex:1}.upcoming-item>span>strong{font-size:13px;font-weight:600;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.upcoming-item small{font-size:12px;color:var(--muted);display:block;margin-top:3px}.upcoming-item>svg{height:15px;width:15px;color:var(--muted)}.today-access{display:none}
.agenda{padding:4px 20px 12px}.agenda-day{padding:18px 0;border-top:1px solid var(--line)}.agenda-date{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:14px}.agenda-date strong{font-size:16px;font-weight:650}.agenda-date span{font-size:14px;color:var(--muted);margin-left:10px}.agenda-date .button{font-size:13px;padding:6px 8px;min-height:32px}.agenda-empty{font-size:14px;color:var(--muted);margin:0;padding:4px 0}.agenda .entry-card{padding:15px}.agenda .entry-card-top{flex-wrap:nowrap}.agenda .entry-card h3{font-size:15px}.agenda .status-badge{font-size:13px}.agenda .entry-actions .button{min-height:38px;font-size:14px}.agenda .entry-identity p,.agenda .actual-time{font-size:14px}
.list-toolbar,.research-toolbar{display:flex;justify-content:space-between;gap:16px;align-items:center;margin:0 0 24px}.search-field{display:flex;align-items:center;gap:9px;background:white;border:1px solid var(--line);border-radius:9px;padding:0 12px;min-height:43px;max-width:370px;width:100%;color:var(--muted)}.search-field input{border:0;outline:0;background:transparent;min-height:40px;width:100%;color:var(--ink);font-size:14px}.search-field:focus-within{outline:3px solid #32947f;outline-offset:2px}.search-field svg{width:17px;height:17px}.plans-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.plan-list-card{border:1px solid var(--line);border-radius:var(--rl);background:white;padding:22px;min-width:0}.plan-list-identity{display:flex;align-items:center;gap:12px;margin-bottom:22px}.plan-icon{width:39px;height:39px;border-radius:10px;background:var(--plan-bg);color:var(--plan-fg);display:grid;place-items:center;flex:none}.plan-list-identity>div{min-width:0;flex:1}.plan-list-identity h2{font-size:18px;letter-spacing:-.3px;line-height:1.45;margin:0 0 3px;overflow-wrap:anywhere}.plan-list-identity p{font-size:14px;color:var(--muted);margin:0;overflow-wrap:anywhere}.plan-list-summary{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:16px;padding:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.plan-list-summary span{display:block;font-size:13px;color:var(--muted);margin-bottom:7px}.plan-list-summary strong{display:block;font-size:14px;font-weight:600}.plan-list-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding-top:18px}.research-context{max-width:960px;color:var(--muted);font-size:15px;line-height:1.8;margin:0 0 24px}.research-toolbar>.muted{font-size:14px}.research-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.research-card{padding:24px;border:1px solid var(--line);border-radius:var(--rl);background:white}.reference-meta{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted);margin-bottom:15px}.reference-meta svg{width:17px;height:17px}.research-card h2{font-size:21px;letter-spacing:-.4px;margin:0 0 5px}.research-card p{font-size:14px;line-height:1.8;color:#4f695b}.research-card .reference-kind{font-size:14px;color:var(--muted);margin:0 0 20px}.research-card details{border-top:1px solid var(--line);padding-top:14px;margin-top:18px}.research-card summary{font-size:14px;cursor:pointer;color:var(--primary);font-weight:600;padding:3px 0}.reference-sources{padding-top:18px}.reference-sources h3{font-size:14px;font-weight:650;color:var(--muted);margin:0 0 10px}.reference-sources a{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;font-size:14px;line-height:1.7;text-decoration:none;padding:7px 0}.reference-sources a:hover{text-decoration:underline}.reference-sources a svg{width:14px;height:14px;margin-top:4px}.reference-footer{font-size:14px;color:var(--muted);line-height:1.8;margin-top:24px}.reference-footer svg{width:13px;height:13px}
.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}.settings-section{background:white;border:1px solid var(--line);border-radius:var(--rl);padding:24px;min-width:0}.settings-section h2{font-size:19px;letter-spacing:-.3px;line-height:1.4;margin:0 0 8px}.settings-section p{font-size:14px;color:var(--muted);line-height:1.75}.settings-section header{margin-bottom:20px}.settings-section header p{margin-bottom:0}.settings-row{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px 0;border-top:1px solid var(--line)}.settings-row strong{display:block;font-size:14px;font-weight:600}.settings-row small{font-size:13px;color:var(--muted);display:block;margin-top:5px;line-height:1.7}.settings-row select{font-size:14px;min-height:39px;max-width:155px;border:1px solid var(--line);border-radius:7px;padding:7px 9px;background:white}.settings-row>input[type=checkbox]{width:21px;height:21px}.settings-action{display:flex;align-items:center;gap:16px;justify-content:space-between;border-top:1px solid var(--line);padding-top:18px;margin-top:18px}.settings-action strong{font-size:14px;font-weight:600}.settings-action p{font-size:14px;margin:4px 0 0}.settings-action .button{flex:none}.settings-section .backup-status{font-size:13px;margin:16px 0;line-height:1.7}.storage-facts{margin:0}.storage-facts>div{display:flex;justify-content:space-between;gap:14px;padding:12px 0;border-top:1px solid var(--line);font-size:14px}.storage-facts dt{color:var(--muted)}.storage-facts dd{margin:0;text-align:right;font-weight:550}.sandbox-link{font-size:14px;line-height:1.7}.sandbox-link svg{width:13px;height:13px}footer{color:var(--muted);font-size:12px;padding:0 28px 22px;display:flex;justify-content:space-between;gap:20px;line-height:1.7}
dialog{border:1px solid var(--line);border-radius:18px;box-shadow:0 24px 100px #143a3040;width:min(560px,calc(100vw - 32px));max-height:90dvh;padding:0;background:white;color:var(--ink);overscroll-behavior:contain}dialog.wide{width:min(740px,calc(100vw - 32px))}dialog::backdrop{background:#12352e66;backdrop-filter:blur(2px)}.modal-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 24px;background:white;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:4}.modal-header h2{font-size:21px;letter-spacing:-.4px;line-height:1.45;margin:0;overflow-wrap:anywhere}.modal-body{padding:24px}.modal-intro{font-size:15px;line-height:1.8;color:var(--muted);margin:0 0 20px}.form-section{padding-bottom:24px;margin-bottom:24px;border-bottom:1px solid var(--line)}.form-section:last-of-type{border-bottom:0;margin-bottom:0}.form-section>h3{display:flex;align-items:center;gap:9px;font-size:16px;margin:0 0 18px;font-weight:650}.form-section>h3>span{width:25px;height:25px;border:1px solid var(--line);border-radius:7px;display:grid;place-items:center;font-size:13px;color:var(--primary);background:var(--soft)}.form-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}.full{grid-column:1/-1}.field{display:flex;flex-direction:column;gap:7px;font-size:14px;font-weight:600;min-width:0}.field>input,.field>select,.field>textarea,.time-slot input{width:100%;min-height:43px;border:1px solid var(--line-strong);border-radius:8px;background:white;padding:10px 11px;color:var(--ink);font-size:14px;font-weight:400}.field>input:hover,.field>select:hover,.field>textarea:hover{border-color:#779b87}.field small{font-size:13px;line-height:1.7;font-weight:400;color:var(--muted)}.field textarea{resize:vertical;min-height:88px;line-height:1.7}.field [aria-invalid=true]{border-color:var(--danger);background:#fffafa}.field-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;font-size:14px}.field-heading .button{min-height:32px;padding:5px 7px;font-size:14px}.time-slots{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.time-slot{display:flex;align-items:flex-end;gap:5px;padding:10px 12px;background:#f4f7f4;border:1px solid var(--line);border-radius:9px}.time-slot label{min-width:0;flex:1;font-size:13px;color:var(--muted)}.time-slot label>span{display:block;margin-bottom:5px}.time-slot .icon-button{width:30px;height:42px}.weekday-field{margin:0;padding:0;border:0;min-width:0}.weekday-field legend{font-size:14px;font-weight:600;margin-bottom:10px;padding:0}.weekday-options{display:flex;gap:7px;flex-wrap:wrap}.weekday-options label{position:relative}.weekday-options input{position:absolute;opacity:0;inset:0;cursor:pointer;width:100%;height:100%;margin:0}.weekday-options span{min-height:41px;min-width:49px;display:grid;place-items:center;border:1px solid var(--line-strong);border-radius:8px;color:var(--muted);font-size:14px;padding:7px}.weekday-options input:checked+span{color:var(--primary);background:var(--mint);border-color:#6cab8b;font-weight:650}.weekday-options input:focus-visible+span{outline:3px solid #32947f;outline-offset:2px}.check-row{display:flex;align-items:flex-start;gap:9px;min-height:38px;font-size:14px;padding:7px 0;cursor:pointer;line-height:1.6}.check-row input{margin:3px 0 0}#cycle-fields{margin:18px 0 24px}.notice{padding:15px 17px;margin-bottom:24px;background:#eff6f1;border:1px solid #cfdfd3;border-radius:10px;font-size:14px;line-height:1.7;color:#385e47}.notice strong{font-weight:650}.notice p{margin:5px 0 0;font-size:14px;line-height:1.8}.schedule-preview{padding:18px;background:#f3f7f4;border:1px solid var(--line);border-radius:10px;margin-bottom:20px}.schedule-preview p{font-size:14px;line-height:1.7;margin:0 0 12px}.schedule-preview p:last-child{margin-bottom:0}.preview-prompt{display:flex;align-items:flex-start;gap:10px;color:var(--muted);font-size:14px!important}.preview-prompt svg{height:18px;width:18px;margin-top:3px}.date-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:16px 0}.date-preview>div{padding:11px;border:1px solid var(--line);border-radius:8px;background:white;min-width:0}.date-preview strong{font-size:13px;font-weight:650;display:block}.date-preview span{display:block;font-size:13px;color:var(--muted);margin-top:4px;overflow-wrap:anywhere}.form-footer{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;padding:18px 0 0;margin-top:6px;border-top:1px solid var(--line);background:white;position:sticky;bottom:0;z-index:3}.form-error{border:1px solid var(--danger-line);border-radius:8px;padding:11px 13px;color:var(--danger);font-size:14px;background:var(--danger-bg);line-height:1.65;margin:12px 0}.discard-confirm{position:sticky;bottom:0;z-index:5;padding:20px 24px;background:#fff4f1;border-top:1px solid #e5bfb3;box-shadow:0 -5px 30px #54201418;text-align:right}.discard-confirm p{font-size:14px;text-align:left;margin:0 0 12px}.discard-confirm .button{margin-left:8px}
.occurrence-summary{background:#f3f7f4;border:1px solid var(--line);border-radius:10px;padding:18px;margin-bottom:20px}.occurrence-summary h3{font-size:19px;line-height:1.5;margin:0 0 8px;overflow-wrap:anywhere}.occurrence-summary p{font-size:14px;margin:0 0 5px}.occurrence-summary>span:last-child{color:var(--muted);font-size:14px}.record-choice{border:0;display:flex;gap:20px;padding:0;margin:0 0 22px}.record-choice legend{font-size:14px;font-weight:650;padding:0;margin-bottom:12px}.record-choice label{font-size:14px;display:flex;align-items:center;gap:7px}.record-choice input{margin:0}.form-subtitle{font-size:16px;margin:0 0 16px}.early-confirm{padding:12px;background:var(--purple-bg);border-radius:8px;border:1px solid var(--purple-border);margin:16px 0}.correction-history{font-size:14px;line-height:1.7;margin:20px 0;color:var(--muted)}.correction-history summary{cursor:pointer;color:var(--primary);font-weight:600}.correction-history p{padding:10px;background:#f3f6f4;border-radius:7px;overflow-wrap:anywhere}.export-plans,.export-privacy{border:0;padding:0;margin:22px 0}.export-plans legend,.export-privacy legend{font-size:15px;font-weight:650;padding:0;margin-bottom:10px}.file-drop{border:1px dashed #8aad9a;background:#f5f9f6;border-radius:12px;padding:20px;display:block}.file-drop strong{font-size:15px;display:block}.file-drop span{display:block;font-size:14px;color:var(--muted);margin:7px 0 16px}.file-drop input{max-width:100%;font-size:14px}.restore-preview{padding:20px;background:#f4f7f4;border:1px solid var(--line);border-radius:12px;margin-top:20px}.restore-preview h3{font-size:17px;margin:0 0 14px}.restore-preview dl>div{display:flex;justify-content:space-between;gap:16px;font-size:14px;margin:8px 0}.restore-preview dd{margin:0;text-align:right}.restore-preview p{font-size:14px;line-height:1.8;margin:16px 0 0}.plan-detail-intro>p{font-size:14px;line-height:1.8;margin:12px 0}.plan-detail-intro .schedule-sentence{font-size:17px;color:var(--ink)}.detail-action-bar{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0 24px}.detail-section{padding:22px 0;border-top:1px solid var(--line)}.detail-section h3{font-size:16px;margin:0 0 16px}.history-controls{display:flex;gap:10px;margin-bottom:14px}.history-controls .search-field{max-width:none}.history-controls select{border:1px solid var(--line);border-radius:8px;background:white;padding:7px;font-size:14px}.history-row{display:flex;align-items:center;text-align:left;width:100%;gap:12px;padding:14px 0;background:white;border-bottom:1px solid var(--line)}.history-row>span:nth-child(2){flex:1;min-width:0}.history-row strong{font-size:14px;font-weight:550;display:block}.history-row small{font-size:13px;line-height:1.65;color:var(--muted);display:block;margin-top:4px;overflow-wrap:anywhere}.history-row>svg{width:17px;height:17px;color:var(--muted)}.history-row:hover{background:#f4f8f4}.history-status{width:31px;height:31px;border-radius:8px;background:#e9f4ec;color:#356f50;display:grid;place-items:center;flex:none}.history-status.skipped{background:#f0edf5;color:#776187}.history-status svg{width:15px;height:15px}.history-empty{font-size:14px;margin:18px 0}.revision-history>div{display:flex;gap:13px;padding-bottom:18px;position:relative}.revision-history strong{font-size:14px;font-weight:600}.revision-history p{font-size:14px;color:var(--muted);margin:5px 0 0}.revision-history span:not(.timeline-dot){font-size:13px;color:var(--muted)}.timeline-dot{width:10px;height:10px;border:2px solid #7caa90;background:white;flex:none;border-radius:50%;margin-top:5px}.danger-zone{padding-top:20px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:16px}.danger-zone p{font-size:13px;line-height:1.7;color:var(--muted);margin:0;flex:1}#toast{position:fixed;left:50%;bottom:26px;transform:translate(-50%,12px);max-width:min(560px,calc(100vw - 32px));z-index:150;opacity:0;pointer-events:none;background:#183e31;color:white;padding:12px 18px;border-radius:10px;box-shadow:0 5px 30px #163a3025;font-size:14px;display:flex;align-items:center;gap:15px;transition:opacity 150ms,transform 150ms}#toast.visible{opacity:1;transform:translate(-50%,0);pointer-events:auto}#toast .button{min-height:30px;padding:3px 8px;font-size:14px;color:#174f35}.loading-state{padding:80px 20px;text-align:center;color:var(--muted);font-size:15px}
@media(min-width:1700px){main{padding:32px 36px}.calendar-workspace{grid-template-columns:minmax(0,1fr) 364px;gap:24px}.calendar-day{min-height:122px}.event-chip{font-size:13px;padding:5px 7px;min-height:30px}.context-chip{font-size:12px;min-height:28px}.status-legend{font-size:12px}.plan-summary h2{font-size:16px}.phase-badge{font-size:12px}.plan-summary-foot{font-size:13px}.plan-summary{padding:16px 18px}.calendar-grid{min-height:610px}.day-details{padding:24px}.entry-card h3{font-size:15px}}
@media(max-width:1399px){.sidebar{width:196px;padding-left:12px;padding-right:12px}.main-shell{margin-left:196px;width:calc(100% - 196px)}main{padding:24px}.topbar{padding:0 24px}.calendar-workspace{grid-template-columns:minmax(0,1fr) 296px;gap:16px}.day-details{padding:16px}.plan-summaries{gap:10px}.plan-summary{padding:12px}.plan-summary-head{flex-wrap:wrap}.plan-summary-head h2{flex:1;min-width:90px}.plan-summary-head>.phase-badge{order:3;margin-left:16px}.plan-summary p{margin:7px 0}.plan-summary-foot{font-size:11px}.calendar-toolbar{padding:16px}.status-legend{gap:8px;font-size:10px}.calendar-filters{padding:0 16px 12px}.period-heading{gap:8px}.period-heading h2{font-size:18px}.view-tabs button{padding:6px 9px}.calendar-caption{font-size:10px;padding:11px 14px}.entry-card-top{gap:6px}.entry-card .status-badge{margin-left:13px}.entry-actions .button{font-size:11px;padding:6px 8px}.plans-list{grid-template-columns:1fr}.plan-list-identity{margin-bottom:16px}}
@media(max-width:1199px){.sidebar{width:78px;padding:24px 12px 18px;align-items:center}.brand{padding:0;margin-bottom:30px}.brand-name,.sidebar-footer{display:none}.sidebar nav{width:100%;gap:10px}.nav-item{font-size:0;justify-content:center;padding:13px 10px;gap:0}.nav-item svg{height:23px;width:23px}.nav-item[aria-current=page]{box-shadow:inset 0 -3px #a7dfc5}.main-shell{margin-left:78px;width:calc(100% - 78px)}.calendar-workspace{grid-template-columns:minmax(0,1fr)}.day-rail{display:none}.today-access{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 18px;padding:10px 15px;border:1px solid #cdded3;border-radius:10px;background:#eef6f0;font-size:13px}.today-access>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.today-access svg{width:17px;height:17px}.today-access span{color:var(--muted)}.today-access .button{font-size:13px;min-height:32px;padding:5px 8px}.plan-summary-head{flex-wrap:nowrap}.plan-summary-head>.phase-badge{order:0;margin-left:0}.plan-summary-head h2{min-width:0}.plan-summary .phase-badge{font-size:10px}.plan-summary-foot{font-size:12px}.calendar-day{min-height:106px}.event-chip{font-size:12px;min-height:29px}.context-chip{font-size:11px}.status-legend{font-size:12px;gap:12px}.period-heading h2{font-size:20px}.settings-grid{grid-template-columns:1fr}.calendar-caption{font-size:11px}.page-heading h1{font-size:28px}}
@media(max-width:900px){main{padding:22px 20px}.topbar{padding:0 20px}.plan-summary-head{flex-wrap:wrap}.plan-summary-head>.phase-badge{order:3;margin-left:16px}.plan-summary h2{font-size:13px}.plan-summary p,.plan-summary-foot{font-size:12px}.page-heading{align-items:flex-start;gap:14px}.page-heading p{font-size:13px}.heading-actions{gap:7px}.heading-actions .button{font-size:13px;padding:9px 12px}.research-grid{grid-template-columns:1fr}.plan-summaries{gap:9px}.calendar-toolbar{gap:14px}.status-legend{font-size:11px}.calendar-day{min-height:100px}.event-chip{font-size:11px}.day-count{font-size:12px}.research-toolbar{align-items:flex-start;flex-direction:column;gap:12px}.global-notice{flex-wrap:wrap}.notice-actions{margin-left:30px}}
@media(max-width:700px){.sidebar{inset:auto 0 0;width:100%;height:calc(68px + env(safe-area-inset-bottom));padding:5px 8px calc(5px + env(safe-area-inset-bottom));display:block;z-index:45;border-top:1px solid #ffffff30}.brand{display:none}.sidebar nav{display:flex;justify-content:space-around;gap:4px;height:58px}.nav-item{flex:1;min-width:0;min-height:54px;flex-direction:column;font-size:10px;gap:4px;padding:7px 3px;text-align:center}.nav-item svg{height:20px;width:20px}.nav-item[aria-current=page]{box-shadow:none;background:#2b584b}.main-shell{margin:0;width:100%;padding-bottom:calc(68px + env(safe-area-inset-bottom))}.topbar{height:55px;padding:0 18px;gap:10px}.breadcrumb{font-size:12px;gap:9px}.breadcrumb>span:first-child{font-size:0}.breadcrumb>span:first-child:before{content:'PepCal';font-size:22px;font-weight:750;letter-spacing:-1px;color:var(--forest)}.save-status{font-size:11px}.save-status svg{height:13px;width:13px}.edition-label{display:none}main{padding:22px 16px 20px}.page-heading{margin-bottom:20px;flex-wrap:wrap;gap:16px}.page-heading h1{font-size:27px}.page-heading p{font-size:13px}.heading-actions{width:100%;gap:10px}.heading-actions .button{min-height:43px;font-size:14px}.heading-actions .primary{margin-left:auto}.plan-summary-area{margin-bottom:17px}.plan-summaries{display:flex;overflow:auto;scroll-snap-type:x proximity;gap:8px;padding-bottom:3px}.plan-summary{min-width:238px;max-width:270px;scroll-snap-align:start;padding:11px 13px}.plan-summary-head{flex-wrap:nowrap}.plan-summary-head>.phase-badge{order:0;margin-left:0}.plan-summary h2{font-size:13px}.plan-summary .phase-badge{font-size:10px}.plan-summary p{font-size:12px;margin:7px 0}.plan-summary-foot{font-size:11px}.summary-overflow{font-size:12px}.today-access{display:none}.calendar-workspace{display:block}.calendar-toolbar{padding:17px 14px 12px;align-items:stretch;gap:13px}.period-heading{width:100%;justify-content:space-between;gap:8px}.period-heading h2{font-size:18px;flex:1}.period-controls{gap:0}.period-controls .icon-button{height:36px;width:29px}.period-controls .button{min-height:35px;font-size:12px;padding:6px 8px}.calendar-toolbar .view-tabs{width:100%;display:flex}.calendar-toolbar .view-tabs>button{flex:1;min-height:36px;font-size:13px}.calendar-filters{padding:0 14px 12px;gap:6px;align-items:flex-start}.status-legend{gap:5px 9px;max-width:210px;font-size:10px;padding-top:6px}.status-legend svg{width:12px;height:12px}.filter-menu summary{font-size:12px;gap:5px}.filter-menu summary>svg{display:none}.filter-notice{font-size:12px;padding:8px 14px;flex-wrap:wrap}.calendar-weekdays span{padding:10px 6px;font-size:11px;text-align:center}.calendar-grid{min-height:355px}.calendar-day{min-height:74px;padding:5px 2px}.date-button{font-size:12px;justify-content:center;padding:0;margin-bottom:5px;min-height:27px}.date-button span{width:24px;height:24px}.event-chip{font-size:10px;padding:4px 2px;min-height:25px;gap:2px;border-left-width:2px}.event-chip>svg{height:10px;width:10px}.event-chip.recorded>svg{height:11px;width:11px}.event-chip time{display:none}.context-chip{font-size:9px;padding:3px 2px;min-height:24px;gap:1px}.context-chip svg{display:none}.more-events{font-size:10px;padding:3px 1px;min-height:28px}.calendar-caption{font-size:11px;padding:12px 14px;gap:5px}.calendar-caption>span:last-child{font-size:10px}.week-grid,.week-grid .calendar-day{min-height:240px}.week-grid .event-chip{font-size:10px;min-height:36px;padding:4px 2px}.agenda{padding:0 14px 8px}.agenda-day{padding:17px 0}.agenda-date strong{font-size:15px}.agenda-date span{display:block;font-size:12px;margin:3px 0 0}.agenda-date .button{min-height:38px;font-size:12px}.agenda .entry-card{padding:13px;margin-bottom:10px}.agenda .entry-card-top{flex-wrap:wrap}.agenda .entry-card h3{font-size:15px}.agenda .status-badge{font-size:10px;margin-left:15px}.agenda .entry-actions{gap:8px}.agenda .entry-actions .button{min-height:43px;font-size:13px;padding:9px 12px}.entry-actions .icon-button{height:43px;width:36px}.entry-card .entry-identity p{font-size:13px}.entry-card h3{font-size:15px}.entry-card .status-badge{font-size:11px}.day-heading h2{font-size:24px}.day-heading .section-label{font-size:13px}.day-count{max-width:100px;line-height:1.6}.entry-card .entry-actions .button{min-height:42px;font-size:13px}.day-details{border:0;padding:0;border-radius:0}.break-row{padding:14px}.break-row strong{font-size:14px}.break-row span{font-size:12px}.list-toolbar{flex-wrap:wrap;gap:12px}.list-toolbar .search-field{max-width:none}.list-toolbar .view-tabs{width:100%}.list-toolbar .view-tabs button{flex:1}.plans-list{gap:14px}.plan-list-card{padding:18px}.plan-list-identity{gap:9px;flex-wrap:wrap}.plan-icon{width:34px;height:34px}.plan-list-identity h2{font-size:17px}.plan-list-identity .phase-badge{font-size:10px}.plan-list-summary{grid-template-columns:1fr 1fr;gap:17px}.plan-list-summary>div:first-child{grid-column:1/-1}.plan-list-summary strong{font-size:14px}.plan-list-actions{gap:4px;justify-content:space-between}.plan-list-actions .button{font-size:12px;padding:9px 10px;min-height:42px}.research-toolbar{margin-bottom:18px}.research-toolbar .search-field{max-width:none}.research-card{padding:20px}.research-card h2{font-size:20px}.research-context{font-size:14px;line-height:1.8}.reference-footer{font-size:12px}.settings-section{padding:20px}.settings-row{gap:14px}.settings-row select{max-width:112px;font-size:13px}.settings-action{flex-wrap:wrap;gap:13px}.settings-action .button{min-height:42px}.settings-section h2{font-size:18px}.settings-grid{gap:16px}.storage-facts>div{font-size:12px}.sandbox-banner{align-items:flex-start;flex-wrap:wrap;font-size:12px;padding:12px}.sandbox-banner a{margin-left:29px}.global-notice{font-size:13px;padding:12px;gap:8px}.notice-actions{margin-left:0;flex-wrap:wrap}.global-notice .button{font-size:12px;min-height:36px}footer{padding:0 18px 18px;font-size:10px}footer>span:last-child{display:none}dialog,dialog.wide{width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;border-radius:0;border:0}.modal-header{padding:12px 16px;padding-top:max(12px,env(safe-area-inset-top));min-height:64px}.modal-header h2{font-size:21px}.modal-header .icon-button{width:44px;height:44px}.modal-body{padding:20px 18px calc(20px + env(safe-area-inset-bottom))}.form-section{padding-bottom:22px;margin-bottom:22px}.form-grid{gap:17px 12px}.field>input,.field>select,.field>textarea,.time-slot input{font-size:16px;min-height:45px;padding:10px}.field small{font-size:12px;line-height:1.65}.weekday-options{gap:5px}.weekday-options span{min-width:37px;min-height:43px;font-size:12px;padding:6px}.time-slot{padding:9px;gap:3px}.time-slot .icon-button{width:27px;height:44px}.time-slot input{padding:8px 4px}.schedule-preview{padding:14px}.schedule-preview p{font-size:13px}.date-preview{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.date-preview>div{padding:10px}.date-preview strong,.date-preview span{font-size:12px}.form-footer{padding:16px 0 calc(5px + env(safe-area-inset-bottom));gap:8px}.form-footer .button{min-height:44px;font-size:13px;padding:10px 12px;flex:1}.form-footer .button svg{width:16px;height:16px}.notice{padding:14px}.occurrence-summary{padding:16px}.occurrence-summary h3{font-size:20px}.record-choice{gap:24px}.record-choice label{min-height:36px}.check-row{font-size:14px;min-height:44px}.modal-intro{font-size:14px}.detail-action-bar .button{min-height:44px;font-size:13px}.history-controls{flex-wrap:wrap}.history-controls .search-field{width:100%}.history-controls select{width:100%;min-height:42px}.history-row strong{font-size:13px}.danger-zone{flex-direction:column;align-items:flex-start;gap:12px}.danger-zone .button{min-height:44px}.plan-detail-intro .schedule-sentence{font-size:16px}#toast{bottom:calc(82px + env(safe-area-inset-bottom));font-size:13px;padding:12px 15px;width:max-content}.discard-confirm{padding:18px}}
.field>input,.field>select,.field>textarea,.time-slot input,.search-field,.settings-row select,.history-controls select{border-color:#7c9387}
@media(min-width:701px) and (max-width:900px){.plan-summaries{display:flex;overflow-x:auto;gap:12px;padding-bottom:6px}.plan-summary{min-width:265px;flex:1}.plan-summary-head{flex-wrap:nowrap}.plan-summary-head>.phase-badge{order:0;margin-left:0}.plan-summary h2{font-size:14px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
.brand{gap:10px;padding:0 7px}.brand-mark{width:37px;height:37px;border-radius:11px;background:#ffffff12}.brand-mark svg{width:30px;height:30px}.brand-name{font-size:29px;letter-spacing:-1.1px}.brand-name small{font-size:9px;font-weight:700;letter-spacing:1px;margin-top:5px}
