/* S1 Today. Built from app.css components; these rules only compose them. */
.td{padding-top:14px}
.td-head{margin-bottom:14px}
.td-date{font-size:14px;line-height:20px;color:var(--muted)}
.td-head h1{font-size:30px;line-height:36px;font-weight:600;letter-spacing:-.022em;margin-top:2px}
.td-sum{font-size:15.5px;line-height:24px;color:var(--muted);margin-top:4px;max-width:70ch}
.td-ask{margin-bottom:16px}
.td-ask .askbox-big{box-shadow:var(--shadow-2);border:1px solid var(--hair)}
.td-ask .askbox-big{padding:6px}
.td-ask .askbox-big .ask-in{padding:10px 14px 10px}
.td-ask .askbox-big .ask-in textarea{font-size:18px;line-height:28px;height:30px}
.td-ask .ask-extra{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}

.td-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:6px}
.td-kpi{min-height:0;padding:14px 16px 13px;transition:border-color .15s var(--ease),box-shadow .15s var(--ease)}
.td-kpi:hover{border-color:#B9C3CF;box-shadow:var(--shadow-2)}
.td-kpi .k .sm{display:none}
.td-kpi .v{font-size:30px;line-height:36px}
.td-kpi .s{margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.td-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:20px;align-items:start}
.td-main .sec-h{margin-top:20px}
.td-main .sec-h .chip{background:var(--ink);color:#fff;font-weight:600}
.td-side{display:flex;flex-direction:column;gap:16px;margin-top:20px}
.td-card-h{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.td-card-h h2{font-size:15px;line-height:22px;font-weight:600}
.td-quiet{margin-top:8px;font-size:14px;line-height:21px}

/* the Needs you list */
.td-list{background:var(--panel)}
.td-row{align-items:flex-start;max-height:260px;overflow:hidden;transition:max-height .24s var(--ease),opacity .2s var(--ease),padding .24s var(--ease)}
.td-row.is-held .main b,.td-row.is-held .main>span{color:var(--muted)}
.td-lead{width:40px;height:40px;background:var(--surface)}
.td-lead .av{width:40px;height:40px}
.td-row .main b{font-size:15px;line-height:21px}
.td-row .main>span{margin-top:2px}
.td-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.td-row .trail{align-self:center}
.td-clear{margin-top:4px}

/* side cards */
.td-agenda{margin-top:10px}
.td-day{font-size:13px;line-height:18px;font-weight:600;color:var(--muted);padding:10px 0 4px}
.td-day:first-child{padding-top:2px}
.td-ev{display:flex;gap:10px;align-items:flex-start;padding:8px 8px;margin:0 -8px;border-radius:10px;text-decoration:none}
.td-ev:hover{background:var(--surface-2)}
.td-evi{width:30px;height:30px;border-radius:50%;background:var(--surface);display:grid;place-items:center;flex:none}
.td-evt{display:flex;flex-direction:column;min-width:0}
.td-evt b{font-size:14px;line-height:20px;font-weight:600}
.td-evt span{font-size:13px;line-height:18px;color:var(--muted)}
.td-fig{font-size:30px;line-height:36px;font-weight:600;letter-spacing:-.022em;margin-top:6px}
.td-bars{display:flex;flex-direction:column;gap:12px;margin-top:14px}
.td-bars a{display:block;text-decoration:none}
.td-bars a:hover .td-bn span{text-decoration:underline}
.td-bn{display:flex;justify-content:space-between;gap:10px;font-size:13.5px;line-height:18px;margin-bottom:5px}
.td-bn b{font-weight:600}

/* drawers */
.td-prep{display:flex;flex-direction:column;gap:14px}
.td-notes h3{font-size:14px;line-height:20px;font-weight:600;margin:18px 0 4px}
.td-notes p,.td-notes li{font-size:14.5px;line-height:23px}
.td-notes ul{display:flex;flex-direction:column;gap:6px;padding-left:18px;list-style:disc}
.td-ta{height:auto;min-height:120px;padding:10px 12px;line-height:22px;resize:vertical}
.td-nudge{display:flex;flex-direction:column;gap:12px}
.td-errbtn{margin-top:10px}

@media (max-width:1100px){
  .td-grid{grid-template-columns:minmax(0,1fr)}
  .td-side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:4px}
}
@media (max-width:760px){
  .td{padding-top:8px}
  .td-head h1{font-size:26px;line-height:32px}
  .td-sum{font-size:15px;line-height:22px}
  .td-ask .askbox-big .ask-in{padding:10px 12px 8px}
  .td-ask .askbox-big .ask-in textarea{font-size:16px;line-height:24px;height:26px}
  .td-ask .ask-extra{display:none}
  .td-ask .ask-strip{display:none}
  .td-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
  .td-kpi{padding:9px 8px 8px;border-radius:10px}
  .td-kpi .k{font-size:12px;line-height:15px}
  .td-kpi .k .lg,.td-kpi .k .ico{display:none}
  .td-kpi .k .sm{display:inline}
  .td-kpi .v{font-size:24px;line-height:28px}
  .td-kpi .s{display:none}
  .td-row{flex-wrap:wrap;padding:14px 14px 12px;gap:10px 12px}
  .td-lead,.td-lead .av{width:36px;height:36px}
  .td-row .main{flex:1 1 calc(100% - 52px)}
  .td-row .trail{flex:1 1 100%;align-self:stretch;flex-wrap:wrap}
  .td-row .trail .btn{flex:1 1 140px;justify-content:center;height:40px}
  .td-side{grid-template-columns:minmax(0,1fr)}
}
@media (prefers-reduced-motion:reduce){.td-row{transition:none}}
