.tracker-module{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--bg:#f5f6f8;--card:#fff;--ink:#34383c;--muted:#787e85;--line:#e5e8eb;--soft:#eceff2;--mint:#b7cfbf;--lime:#e7e99b;--danger:#a65340;color:var(--ink);background:var(--bg);color-scheme:light;font-synthesis:none}
.tracker-module *{box-sizing:border-box}
.tracker-module{margin:0;letter-spacing:-.025em}
.tracker-module button,.tracker-module input,.tracker-module select{font:inherit;color:inherit}
.tracker-module button,.tracker-module a,.tracker-module select{-webkit-tap-highlight-color:transparent}
.tracker-module button{cursor:pointer;border:0;background:none;min-height:44px}
.tracker-module button:disabled{cursor:default;opacity:.35}
.tracker-module button:focus-visible,.tracker-module a:focus-visible,.tracker-module select:focus-visible,.tracker-module [tabindex]:focus-visible{outline:3px solid #618978;outline-offset:3px}
.tracker-module a{color:inherit}
.tracker-module h1,.tracker-module h2,.tracker-module h3,.tracker-module p{margin:0}
.tracker-module h2{font-size:1.1rem;letter-spacing:-.035em;font-weight:650}
.tracker-module h3{font-size:.95rem}
.tracker-module small,.tracker-module .muted{color:var(--muted)}
.tracker-module .app{max-width:1120px;margin:auto;padding:32px 32px 120px}
.tracker-module .topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:36px}
.tracker-module .brand{display:flex;gap:11px;align-items:center}
.tracker-module .brand img{width:40px;height:40px;border-radius:13px}
.tracker-module .brand strong{display:block;font-size:1.15rem;font-weight:650;letter-spacing:-.045em}
.tracker-module .brand small{font-size:.72rem;display:block;margin-top:2px}
.tracker-module .sync-wrap{display:flex;align-items:center;gap:10px}
.tracker-module .sync-label{font-size:.7rem;color:var(--muted);text-align:right;line-height:1.4}
.tracker-module .sync-label strong{font-weight:500;color:var(--ink);display:block}
.tracker-module .icon-button{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:var(--card);flex:none}
.tracker-module .icon-button svg{width:19px;height:19px}
.tracker-module .spinning svg{animation:tracker-spin 1.3s linear infinite}
@keyframes tracker-spin{to{transform:rotate(360deg)}}
.tracker-module .period-head{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:25px}
.tracker-module .period-nav{display:flex;align-items:center;gap:4px;min-width:0}
.tracker-module .period-nav h2{font-size:1.8rem;letter-spacing:-.065em;font-weight:680;line-height:1.15;text-transform:capitalize;margin-right:10px}
.tracker-module .period-nav .icon-button{background:none;width:38px;font-size:1.5rem}
.tracker-module .segmented{display:flex;background:#e6e9ed;padding:4px;border-radius:15px;gap:2px;flex:none}
.tracker-module .segmented button{font-size:.8rem;min-width:90px;padding:9px 15px;border-radius:11px;min-height:38px}
.tracker-module .segmented button.active{background:var(--ink);color:var(--bg);font-weight:600}
.tracker-module .hero{margin-bottom:24px}
.tracker-module .hero-label{font-size:.83rem;color:var(--muted);margin-bottom:3px}
.tracker-module .hero-amount{font-size:clamp(4rem,10vw,6.4rem);font-weight:620;letter-spacing:-.08em;line-height:1.05;font-variant-numeric:tabular-nums}
.tracker-module .hero-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:16px;padding-top:12px;border-top:1px solid var(--line);font-size:.78rem;color:var(--muted);line-height:1.5}
.tracker-module .hero-bottom strong{font-weight:600;color:var(--ink)}
.tracker-module .badges{display:flex;gap:8px;flex-wrap:wrap;margin-top:17px}
.tracker-module .badge{font-size:.72rem;padding:7px 11px;border-radius:30px;background:var(--soft);line-height:1.3}
.tracker-module .badge.lime{background:var(--lime);color:#3b4039}
.tracker-module .grid{display:grid;grid-template-columns:1.05fr 1fr;gap:20px;align-items:start}
.tracker-module .column{display:grid;gap:20px;min-width:0}
.tracker-module .panel{padding:24px;border-radius:24px;background:var(--card);min-width:0}
.tracker-module .panel-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:20px}
.tracker-module .panel-head small{font-size:.72rem;text-align:right}
.tracker-module .donut-wrap{width:222px;max-width:100%;position:relative;margin:8px auto 12px}
.tracker-module .donut{display:block;width:100%;height:auto;overflow:visible}
.tracker-module .donut [data-action]{cursor:pointer;outline:none}
.tracker-module .donut [data-action]:focus-visible{stroke:var(--ink);stroke-width:3}
.tracker-module .donut-center{position:absolute;inset:25%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:4px;pointer-events:none}
.tracker-module .donut-center strong{font-size:2.25rem;font-weight:600;letter-spacing:-.065em}
.tracker-module .donut-center span{font-size:.7rem;color:var(--muted)}
.tracker-module .hint{font-size:.71rem;line-height:1.5;color:var(--muted);margin:14px 0}
.tracker-module .center{text-align:center}
.tracker-module .channel-row{display:grid;grid-template-columns:12px minmax(0,1fr) auto 10px;gap:11px;align-items:center;width:100%;text-align:left;padding:14px 0;min-height:62px;border-bottom:1px solid var(--line)}
.tracker-module .channel-row:last-child{border:0}
.tracker-module .dot{width:11px;height:11px;border-radius:50%;background:var(--fill);box-shadow:inset 0 0 0 1px #34383c12}
.tracker-module .channel-row .name{font-size:.93rem;font-weight:500}
.tracker-module .value{display:flex;flex-direction:column;gap:4px;text-align:right;font-variant-numeric:tabular-nums}
.tracker-module .value strong{font-size:1.08rem;font-weight:600;letter-spacing:-.04em}
.tracker-module .value small{font-size:.7rem}
.tracker-module .chevron{font-size:1.2rem;color:var(--muted)}
.tracker-module .mini-cards{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:20px}
.tracker-module .mini-card{padding:20px;border-radius:22px;background:var(--mint);min-width:0}
.tracker-module .mini-card.lime{background:var(--lime)}
.tracker-module .mini-card.neutral{background:var(--soft)}
.tracker-module .mini-card span{display:block;font-size:.73rem;margin-bottom:9px;opacity:.8}
.tracker-module .mini-card strong{display:block;font-size:1.35rem;letter-spacing:-.045em;font-weight:600;overflow-wrap:anywhere}
.tracker-module .mini-card small{display:block;font-size:.72rem;margin-top:6px;color:inherit;opacity:.75;line-height:1.5}
.tracker-module .month-chart{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:5px;margin-top:22px}
.tracker-module .month-bar{padding:0;min-width:0;display:flex;flex-direction:column;gap:8px;align-items:stretch;color:var(--muted);border-radius:5px}
.tracker-module .bar-track{height:112px;display:flex;align-items:flex-end;justify-content:center;border-bottom:1px solid var(--line)}
.tracker-module .bar-track i{background:var(--mint);width:100%;max-width:22px;border-radius:5px 5px 0 0;display:block}
.tracker-module .month-bar.current .bar-track i{background:var(--ink)}
.tracker-module .month-bar>span:last-child{font-size:.6rem;text-align:center;line-height:1.4}
.tracker-module .month-bar.selected{color:var(--ink);font-weight:700}
.tracker-module .month-bar.selected>span:last-child{text-decoration:underline;text-underline-offset:4px}
.tracker-module .readout{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:17px;margin-top:20px;border-top:1px solid var(--line)}
.tracker-module .readout span{font-size:.8rem;color:var(--muted);text-transform:capitalize}
.tracker-module .readout strong{font-size:1.6rem;letter-spacing:-.055em;font-weight:600}
.tracker-module .week-row{display:grid;grid-template-columns:28px 1fr 52px;gap:12px;align-items:center;width:100%;text-align:left;padding:10px 0;min-height:44px;font-size:.8rem}
.tracker-module .week-track{height:7px;background:var(--soft);border-radius:6px;overflow:hidden}
.tracker-module .week-track i{display:block;height:100%;background:var(--mint);border-radius:6px}
.tracker-module .week-row.best .week-track i{background:var(--ink)}
.tracker-module .week-row strong{text-align:right;font-size:.91rem;font-weight:600;font-variant-numeric:tabular-nums}
.tracker-module .week-caption{display:flex;justify-content:space-between;gap:15px;font-size:.72rem;color:var(--muted);padding-top:12px;border-top:1px solid var(--line);margin-top:10px}
.tracker-module .week-caption b{color:var(--ink);font-weight:600}
.tracker-module .month-list{margin-top:12px}
.tracker-module .month-row{display:grid;grid-template-columns:1fr auto 12px;gap:14px;align-items:center;width:100%;min-height:63px;padding:13px 0;border-bottom:1px solid var(--line);text-align:left}
.tracker-module .month-row:last-child{border:0}
.tracker-module .month-row>span:first-child{text-transform:capitalize;font-size:.9rem}
.tracker-module .month-row small{display:block;font-size:.68rem;margin-top:4px}
.tracker-module .month-row strong{font-size:1.15rem;font-weight:600}
.tracker-module .weekday-labels,.tracker-module .calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}
.tracker-module .weekday-labels{padding:0 0 13px;font-size:.68rem;text-align:center;color:var(--muted)}
.tracker-module .day{min-height:64px;aspect-ratio:1;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:6px;border-radius:16px;background:var(--soft);border:1px solid transparent}
.tracker-module .day>span{font-size:.8rem}
.tracker-module .day strong{font-size:1.05rem;letter-spacing:-.04em}
.tracker-module .day.filled{background:var(--mint)}
.tracker-module .day.peak{background:var(--lime)}
.tracker-module .day.today{border-color:var(--ink)}
.tracker-module .day.empty{background:transparent;border-color:var(--line);color:var(--muted)}
.tracker-module .day.future{background:transparent;color:var(--muted)}
.tracker-module .day.future strong{font-weight:400}
.tracker-module .calendar-foot{display:flex;gap:18px;font-size:.72rem;color:var(--muted);margin-top:20px}
.tracker-module .calendar-foot span{display:flex;gap:6px;align-items:center}
.tracker-module .calendar-foot i{width:8px;height:8px;border-radius:50%}
.tracker-module .empty-state{padding:34px 12px;text-align:center;color:var(--muted);font-size:.88rem;line-height:1.6}
.tracker-module .notice{padding:15px 17px;border-radius:16px;background:var(--soft);font-size:.79rem;line-height:1.6;margin:0 0 18px}
.tracker-module .notice.warning{background:#f6e9da;color:#795539}
.tracker-module .notice.stale{background:#f4eddd;color:#795d35}
.tracker-module .button{border-radius:16px;background:var(--ink);color:var(--bg);display:flex;justify-content:center;align-items:center;min-height:50px;width:100%;padding:12px 18px;text-align:center;font-size:.85rem;font-weight:600;text-decoration:none}
.tracker-module .button.secondary{background:var(--soft);color:var(--ink);margin-top:10px}
.tracker-module .info-row{display:flex;justify-content:space-between;gap:20px;padding:16px 0;border-bottom:1px solid var(--line);font-size:.8rem;line-height:1.5}
.tracker-module .info-row>span{color:var(--muted)}
.tracker-module .info-row strong{text-align:right;font-weight:500;max-width:65%}
.tracker-module .info-row:last-child{border:0}
.tracker-module .issue{padding:13px 0;border-top:1px solid var(--line);font-size:.76rem;line-height:1.5}
.tracker-module .issue small{display:block;margin-top:3px}
.tracker-module .overlay{position:fixed;inset:0;z-index:30;background:#26332d55;backdrop-filter:blur(5px);display:flex;justify-content:center;align-items:flex-end;padding-top:12px}
.tracker-module .sheet{background:var(--card);width:100%;max-width:520px;max-height:94dvh;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;border-radius:28px 28px 0 0;padding:22px 24px max(26px,env(safe-area-inset-bottom));box-shadow:0 -12px 60px #34383c18}
.tracker-module .sheet-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}
.tracker-module .sheet-head h2{font-size:1.32rem;font-weight:650;letter-spacing:-.05em}
.tracker-module .close{min-width:44px;font-size:1.7rem;font-weight:300;color:var(--muted)}
.tracker-module .sheet-subtitle{font-size:.78rem;color:var(--muted);text-transform:capitalize}
.tracker-module .detail-metrics{display:grid;grid-template-columns:1.3fr 1fr;gap:20px;padding:24px 0}
.tracker-module .detail-metrics span{font-size:.72rem;color:var(--muted);display:block;line-height:1.5;margin-bottom:6px}
.tracker-module .detail-metrics strong{font-size:2.2rem;letter-spacing:-.055em;line-height:1.1;font-weight:600}
.tracker-module .detail-section{border-top:1px solid var(--line);padding-top:22px}
.tracker-module .detail-section .month-chart{margin-bottom:20px}
.tracker-module .detail-total{font-size:3.3rem;font-weight:600;letter-spacing:-.07em;margin:14px 0 24px}
.tracker-module .detail-channels .channel-row{cursor:default}
.tracker-module .detail-channels .channel-row .name{font-size:.85rem}
.tracker-module .detail-channels .channel-row .value strong{font-size:1rem}
.tracker-module .tag{padding:6px 10px;border-radius:20px;background:var(--soft);font-size:.7rem;display:inline-block;margin-top:14px}
.tracker-module .boot{max-width:430px;margin:15vh auto;padding:30px 24px;text-align:center;line-height:1.6}
.tracker-module .boot-logo{font-size:3.4rem;line-height:1;margin-bottom:20px;color:#607d6d}
.tracker-module .boot h1{font-size:1.7rem;letter-spacing:-.05em;margin-bottom:10px}
.tracker-module .boot p{color:var(--muted);font-size:.9rem;margin-bottom:24px}
.tracker-module #toast:not(:empty){position:fixed;bottom:90px;left:50%;transform:translateX(-50%);max-width:calc(100% - 32px);border-radius:14px;padding:12px 17px;background:var(--ink);color:var(--bg);font-size:.79rem;z-index:50;line-height:1.4}
.tracker-module .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(min-width:760px){.tracker-module .hero{max-width:100%}
.tracker-module .hero-top{display:flex;gap:40px;align-items:flex-end;justify-content:space-between}
.tracker-module .hero-right{max-width:360px}
.tracker-module .hero-right p{font-size:.78rem;line-height:1.6;color:var(--muted)}
.tracker-module .overlay{align-items:center;padding:20px}
.tracker-module .sheet{border-radius:28px}
.tracker-module .month-chart{gap:9px}
.tracker-module .bar-track{height:125px}
.tracker-module .month-bar>span:last-child{font-size:.66rem}
.tracker-module .wide-panel{margin-top:20px}
.tracker-module .calendar-panel{max-width:740px}
.tracker-module .calendar-grid{gap:9px}
.tracker-module .day{min-height:78px}
.tracker-module .spacer{margin-top:20px}}
@media(max-width:759px){.tracker-module .app{padding:22px 16px 112px}
.tracker-module .topbar{margin-bottom:29px}
.tracker-module .brand img{width:36px;height:36px;border-radius:11px}
.tracker-module .brand strong{font-size:1.05rem}
.tracker-module .sync-label{font-size:.63rem}
.tracker-module .sync-label strong{max-width:112px}
.tracker-module .sync-wrap{gap:7px}
.tracker-module .period-head{display:block;margin-bottom:22px}
.tracker-module .period-nav{margin-bottom:20px;justify-content:flex-start}
.tracker-module .period-nav h2{font-size:1.6rem;flex:1;margin-right:0}
.tracker-module .segmented{width:100%}
.tracker-module .segmented button{flex:1;min-width:0;min-height:39px}
.tracker-module .hero-amount{font-size:5.1rem}
.tracker-module .hero-label{font-size:.78rem}
.tracker-module .hero-bottom{font-size:.73rem}
.tracker-module .hero-right{display:none}
.tracker-module .grid{grid-template-columns:1fr;gap:16px}
.tracker-module .column{gap:16px}
.tracker-module .panel{padding:20px;border-radius:23px}
.tracker-module .panel-head{margin-bottom:16px}
.tracker-module .panel-head h2{font-size:1.04rem}
.tracker-module .panel-head small{font-size:.65rem}
.tracker-module .mini-cards{gap:10px;margin-bottom:16px}
.tracker-module .mini-card{padding:18px 16px;border-radius:20px}
.tracker-module .mini-card span{font-size:.69rem}
.tracker-module .mini-card strong{font-size:1.22rem}
.tracker-module .mini-card small{font-size:.67rem}
.tracker-module .donut-wrap{width:220px;margin:8px auto 10px}
.tracker-module .channel-row{min-height:58px;padding:13px 0}
.tracker-module .channel-row .name{font-size:.88rem}
.tracker-module .day{min-height:45px;border-radius:12px;gap:4px}
.tracker-module .day>span{font-size:.65rem}
.tracker-module .day strong{font-size:.9rem}
.tracker-module .weekday-labels,.tracker-module .calendar-grid{gap:4px}
.tracker-module .calendar-panel{padding:18px 14px}
.tracker-module .calendar-foot{gap:13px;font-size:.66rem}
.tracker-module .sheet{padding:19px 21px max(24px,env(safe-area-inset-bottom))}
.tracker-module .detail-metrics strong{font-size:1.9rem}
.tracker-module .bar-track{height:120px}
.tracker-module .sheet .month-chart{gap:4px}
.tracker-module .sheet .month-bar>span:last-child{font-size:.6rem}
.tracker-module .hint{font-size:.7rem}
.tracker-module .info-row{font-size:.76rem}
.tracker-module .notice{font-size:.75rem}
.tracker-module .channel-row .value strong{font-size:1.02rem}}
@media(prefers-reduced-motion:reduce){.tracker-module .spinning svg{animation:none}}
.tracker-module .detail-section .month-bar.current:not(.selected) .bar-track i{background:var(--mint)}
.tracker-module .month-bar.selected .bar-track i{background:var(--ink)}
.tracker-module .portal-back{display:grid;place-items:center;border:1px solid var(--line);width:32px;height:32px;border-radius:50%;font-size:1.6rem;text-decoration:none;color:var(--ink);margin-right:2px;flex:none}
/* Tracker shares the portal shell and has a single overview. */
.tracker-module{--mint:#bad5c9;--lime:#e8ec93;--muted:#7d858d;--soft:#edf0f2;background:transparent;color-scheme:light}
.tracker-module .app{max-width:none;margin:0;padding:0}
.tracker-module .tracker-intro{margin-bottom:24px}
.tracker-module .tracker-intro h1{font-size:clamp(2.1rem,5vw,3.5rem);line-height:1.05;font-weight:620;letter-spacing:-.055em}
.tracker-module .tracker-intro p{font-size:.88rem;margin-top:12px;line-height:1.5}
.tracker-module .segmented{background:#e9ecef;border-radius:16px;padding:5px}
.tracker-module .segmented button.active{background:white;color:var(--ink)}
.tracker-module .panel{border-radius:28px;padding:26px}
.tracker-module .hero{margin-bottom:28px}
.tracker-module .period-nav h2{font-size:1.8rem}
.tracker-module .donut{height:auto}
.tracker-module .icon-button{border:1px solid var(--line)}
.tracker-module .period-nav .icon-button{border:0}
.tracker-module .overlay{z-index:110}
@media(max-width:800px){
 .tracker-module .tracker-intro{align-items:start;gap:20px}
 .tracker-module .tracker-intro h1{font-size:2.25rem}
 .tracker-module .tracker-intro .sync-wrap{width:100%;justify-content:space-between}
 .tracker-module .sync-label{text-align:left;font-size:.7rem}
 .tracker-module .sync-label strong{max-width:none}
 .tracker-module .period-nav h2{font-size:1.6rem;flex:1;margin-right:0}
 .tracker-module .panel{padding:21px;border-radius:24px}
 .tracker-module .calendar-panel{padding:18px 14px}
}

/* The calendar is part of the overview, with an independent month in broader periods. */
.tracker-module .calendar-panel{max-width:none;margin-top:24px}
.tracker-module .calendar-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}
.tracker-module .calendar-heading .hint{margin:8px 0 0}
.tracker-module .calendar-month-label,.tracker-module .calendar-select select{text-transform:capitalize;font-size:.83rem}
.tracker-module .calendar-month-label{color:var(--muted)}
.tracker-module .calendar-select select{border:1px solid var(--line);background:var(--card);border-radius:13px;padding:12px 35px 12px 14px;max-width:100%;min-height:44px;cursor:pointer}
.tracker-module .calendar-body{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(220px,1fr);gap:32px;align-items:start}
.tracker-module .calendar-grid{gap:8px}
.tracker-module .calendar-panel .day{padding:0;aspect-ratio:auto;min-height:66px;border-radius:14px;gap:7px}
.tracker-module .calendar-panel .day:not(:disabled):hover{box-shadow:inset 0 0 0 2px #618978}
.tracker-module .calendar-summary{background:#f0f5f2;border-radius:20px;padding:26px;align-self:stretch}
.tracker-module .calendar-caption{display:block;color:#64786d;font-size:.78rem;line-height:1.5;text-transform:capitalize}
.tracker-module .calendar-total{display:block;font-size:3rem;letter-spacing:-.065em;font-weight:600;line-height:1.2;margin-top:12px;font-variant-numeric:tabular-nums}
.tracker-module .calendar-client-types{display:grid;gap:12px;margin-top:24px;padding-top:20px;border-top:1px solid #d9e3dc}
.tracker-module .calendar-client-types>div{display:flex;justify-content:space-between;gap:15px;font-size:.8rem}
.tracker-module .calendar-client-types span{color:#64786d}
.tracker-module .calendar-client-types strong{font-weight:600;font-variant-numeric:tabular-nums}
.tracker-module .calendar-summary .hint{margin:20px 0 0}
@media(max-width:759px){
 .tracker-module .calendar-heading{align-items:flex-start;flex-direction:column;gap:14px;margin-bottom:22px}
 .tracker-module .calendar-select,.tracker-module .calendar-select select{width:100%}
 .tracker-module .calendar-body{grid-template-columns:1fr;gap:22px}
 .tracker-module .calendar-grid{gap:4px}
 .tracker-module .calendar-panel .day{min-height:49px;border-radius:10px;gap:5px}
 .tracker-module .calendar-summary{padding:20px}
 .tracker-module .calendar-total{font-size:2.3rem;margin-top:6px}
 .tracker-module .calendar-client-types{margin-top:18px;padding-top:16px}
 .tracker-module .calendar-foot{flex-wrap:wrap;gap:10px 14px}
}

/* Compact controls: the donut is the only period total at the top. */
.tracker-module .tracker-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 20px}
.tracker-module .tracker-toolbar h1{font-size:1.65rem;font-weight:650;letter-spacing:-.045em;line-height:1.2}
.tracker-module .tracker-refresh{display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:white;border-radius:13px;padding:10px 14px;min-height:44px;font-size:.76rem;flex:none}
.tracker-module .tracker-refresh svg{width:17px;height:17px}
.tracker-module .period-head{margin-bottom:20px}
.tracker-module .period-nav h2{font-size:1.3rem}
.tracker-module .tracker-disclosure{padding:0;overflow:hidden}
.tracker-module .tracker-disclosure>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:64px;padding:20px 26px;cursor:pointer}
.tracker-module .tracker-disclosure>summary::-webkit-details-marker{display:none}
.tracker-module .tracker-disclosure>summary::after{content:'+';font-size:1.4rem;font-weight:400;color:#698275;line-height:1}
.tracker-module .tracker-disclosure[open]>summary::after{content:'−'}
.tracker-module .tracker-disclosure>summary:focus-visible{outline:3px solid #618978;outline-offset:-4px;border-radius:22px}
.tracker-module .disclosure-body{padding:0 26px 26px}
.tracker-module .column>div>.tracker-disclosure{margin-top:0}
.tracker-module .calendar-heading{justify-content:flex-end;margin-bottom:18px}
.tracker-module .calendar-day-summary h3{font-size:1rem;font-weight:600;line-height:1.4}
.tracker-module .calendar-day-channels{display:grid;gap:12px;margin-top:20px}
.tracker-module .calendar-day-channels>div{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:.8rem}
.tracker-module .calendar-day-channels span{display:flex;align-items:center;gap:9px}
.tracker-module .calendar-day-channels strong{font-weight:600;font-variant-numeric:tabular-nums}
.tracker-module .calendar-prompt{padding:12px 0;color:#64786d;font-size:.9rem;line-height:1.5}
.tracker-module .calendar-prompt p{font-size:.8rem;margin-top:8px}
.tracker-module .calendar-panel .day.selected{box-shadow:inset 0 0 0 2px #4f7765}
@media(max-width:759px){
 .tracker-module .tracker-toolbar{gap:12px;margin-bottom:16px}
 .tracker-module .tracker-toolbar h1{font-size:1.35rem}
 .tracker-module .tracker-refresh{padding:10px;width:44px;justify-content:center}
 .tracker-module .tracker-refresh span{display:none}
 .tracker-module .period-nav{margin-bottom:12px}
 .tracker-module .period-nav h2{font-size:1.25rem}
 .tracker-module .tracker-disclosure>summary{padding:18px 20px;min-height:60px}
 .tracker-module .disclosure-body{padding:0 20px 20px}
 .tracker-module .calendar-panel .disclosure-body{padding:0 14px 18px}
 .tracker-module .calendar-heading{align-items:stretch}
}

/* Keep the three folded sections together in the right-hand column. */
.tracker-module .column>.calendar-panel{margin-top:0}
@media(min-width:760px){
 .tracker-module .column>.calendar-panel .calendar-body{grid-template-columns:minmax(0,1.35fr) minmax(150px,1fr);gap:16px}
 .tracker-module .column>.calendar-panel .calendar-grid{gap:4px}
 .tracker-module .column>.calendar-panel .day{min-height:46px;border-radius:9px;gap:4px}
 .tracker-module .column>.calendar-panel .day>span{font-size:.65rem}
 .tracker-module .column>.calendar-panel .day strong{font-size:.85rem}
 .tracker-module .column>.calendar-panel .calendar-summary{padding:14px;border-radius:14px}
 .tracker-module .column>.calendar-panel .calendar-day-summary h3{font-size:.8rem}
 .tracker-module .column>.calendar-panel .calendar-total{font-size:2.2rem}
 .tracker-module .column>.calendar-panel .calendar-day-channels>div,.tracker-module .column>.calendar-panel .calendar-client-types>div{font-size:.7rem;gap:8px}
 .tracker-module .column>.calendar-panel .calendar-day-channels span{gap:6px}
 .tracker-module .column>.calendar-panel .calendar-foot{gap:8px;flex-wrap:wrap;font-size:.65rem}
}
@media(min-width:760px) and (max-width:1100px){
 .tracker-module .column>.calendar-panel .calendar-body{grid-template-columns:1fr}
}

.tracker-header-actions{display:flex;align-items:center;gap:16px}.tracker-header-actions>.button{font-size:.8rem;padding:12px 16px;white-space:nowrap}.tracker-entry-field{display:grid;gap:8px;font-size:.82rem;color:#8b8294;margin:17px 0}.tracker-entry-field input,.tracker-entry-field select{padding:12px 14px;border:1px solid #e2dbe9;border-radius:10px;background:#fff;font:inherit;color:#453c4e;min-width:0;width:100%;box-sizing:border-box}.tracker-entry-counts{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.tracker-entry-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.tracker-entry-error{color:#a35c68;font-size:.8rem}@media(max-width:650px){.tracker-header-actions{gap:10px;flex-wrap:wrap;justify-content:flex-end}.tracker-header-actions>.button{font-size:.7rem;padding:10px}.tracker-entry-counts{grid-template-columns:1fr}}

.tracker-module .tracker-channel-line{display:flex;align-items:center;gap:16px;border-bottom:1px solid var(--line)}.tracker-module .tracker-channel-line:last-child{border-bottom:0}.tracker-module .tracker-channel-line>.channel-row{flex:1;min-width:0;border:0}.tracker-module .tracker-channel-add{flex:0 0 36px;width:36px;height:36px;border-radius:50%;background:#f0edf4;color:#5a4d66;font-size:24px;line-height:1;display:grid;place-items:center}.tracker-module .tracker-channel-add:hover{background:#e5dfed}.tracker-module .tracker-channel-add:disabled{opacity:.4;cursor:wait}

.tracker-module .tracker-channel-line{gap:10px}.tracker-module .tracker-channel-remove{flex:0 0 36px;width:36px;height:36px;border-radius:50%;background:#f0edf4;color:#5a4d66;font-size:24px;line-height:1;display:grid;place-items:center}.tracker-module .tracker-channel-remove:hover{background:#e5dfed}.tracker-module .tracker-channel-remove:disabled{opacity:.4;cursor:wait}

.tracker-module .tracker-channel-line>.channel-row{grid-template-columns:10px minmax(0,1fr);gap:11px;min-height:70px}.tracker-module .tracker-channel-counter{display:grid;justify-items:center;gap:4px;padding:10px 0}.tracker-module .tracker-stepper{display:grid;grid-template-columns:30px minmax(42px,auto) 30px;align-items:center;border:1px solid #e7e5ea;border-radius:9px;overflow:hidden;background:#fff}.tracker-module .tracker-stepper strong{font-size:1rem;line-height:30px;text-align:center;padding:0 5px;font-variant-numeric:tabular-nums}.tracker-module .tracker-stepper>.tracker-channel-remove,.tracker-module .tracker-stepper>.tracker-channel-add{width:30px;height:30px;min-height:0;padding:0;border-radius:0;background:transparent;font-size:20px;color:#817b88}.tracker-module .tracker-stepper>button:hover{background:#f3f1f6;color:#403749}.tracker-module .tracker-channel-counter>small{font-size:.7rem;color:var(--muted)}

.tracker-write-status{font-size:.8rem;color:#817b88;white-space:nowrap}.tracker-module .tracker-stepper:has(button:disabled){border-color:#d1c9dd;background:#faf8fc}

.tracker-day-date input{font:inherit;color:inherit;background:#fff;border:1px solid var(--line,#e2e2e8);border-radius:14px;padding:12px 14px;min-height:44px}.tracker-day-overview{max-width:760px;margin:0 auto}.tracker-channel-value{display:block;font-size:1.1rem}.tracker-day-overview .panel{margin-top:0}@media(max-width:560px){.period-head .segmented{width:100%}.period-head .segmented button{flex:1;padding-left:12px;padding-right:12px}.tracker-day-date input{max-width:190px}}
