.task-tool { margin: 28px 0; padding: clamp(16px, 3vw, 28px); border: 1px solid var(--geo-line); border-radius: 14px; background: var(--surface, white); }
.task-tool [hidden] { display: none; }
.task-tool h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); margin: 0 0 12px; }
.task-tool fieldset { min-width: 0; padding: 0; margin: 0; border: 0; }
.task-tool legend { font-weight: 650; margin: 0 0 8px; }
.tool-modes, .tool-actions, .tool-recovery { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 16px; }
.tool-modes label { display: inline-flex; align-items: center; gap: 6px; padding: 4px 0; min-height: 32px; }
.tool-modes input { width: 16px; height: 16px; margin: 0; accent-color: var(--accent); }
.tool-mode-note { margin: 6px 0 16px; font-size: .9rem; color: var(--muted); }
.tool-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tool-field { display: grid; gap: 6px; align-content: start; min-width: 0; font-weight: 600; }
.tool-field:first-child { grid-column: 1 / -1; }
.tool-field input, .tool-field textarea { width: 100%; min-width: 0; box-sizing: border-box; border: 1px solid var(--geo-line); border-radius: 7px; background: var(--subtle); color: var(--ink); font: inherit; font-weight: 400; padding: 8px 11px; min-height: 42px; }
.tool-field textarea { resize: vertical; }
.tool-actions, .tool-recovery { margin-top: 15px; }
.task-tool button.geo-action { cursor: pointer; font: inherit; font-weight: 650; border: 0; min-height: 42px; }
.task-tool button.geo-action:disabled { cursor: wait; opacity: .72; }
.tool-status { margin: 14px 0 0; }
.tool-status:empty { margin: 0; }
.tool-results { margin-top: 16px; min-width: 0; }
.tool-results h3 { margin: 0 0 5px; font-size: 1rem; }
.tool-warnings { font-size: .9rem; padding-inline-start: 1.2rem; }
.tool-warnings:empty { display: none; }
.tool-results td { overflow-wrap: anywhere; }
.tool-results button { margin-top: 12px; }
.geo-tool .geo-heading { padding-top: clamp(24px, 4vw, 46px); }
.geo-tool .geo-heading .geo-product-actions { margin-top: 14px; }
@media (max-width: 480px) {
  .tool-fields { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}
.weekly-report-form fieldset { border: 1px solid #d9e2e7; border-radius: 10px; margin: 1rem 0; padding: 1rem; }
.weekly-report-inputs { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); margin: .5rem 0 1rem; }
.weekly-report-inputs label { display: grid; gap: .35rem; min-width: 0; }
.weekly-report-inputs input { font: inherit; min-width: 0; max-width: 100%; }
.weekly-report-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin: .8rem 0; }
.weekly-report-actions button { border: 1px solid #137260; border-radius: .55rem; background: white; color: #164b42; cursor: pointer; font: inherit; padding: .5rem .75rem; }
.weekly-report-actions button:focus-visible { outline: 2px solid #137260; outline-offset: 3px; }
.weekly-report-actions button:disabled { cursor: wait; opacity: .55; }

.recorded-trend { padding: clamp(14px, 2.8vw, 24px); border: 1px solid #d9e5f2; border-radius: 14px; background: white; margin-block: 0 24px; }
.recorded-trend h2 { margin: 0 0 6px; font-size: clamp(1.18rem, 2.6vw, 1.5rem); }
.recorded-trend > p { margin: 5px 0; color: var(--geo-muted); }
.recorded-trend-figure { margin: 15px 0 10px; color: var(--geo-muted); font-size: .8rem; font-variant-numeric: tabular-nums; }
.recorded-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0 0 10px; }
.recorded-legend span::before { content: ""; display: inline-block; width: 13px; height: 3px; vertical-align: middle; background: #126dfb; margin-inline-end: 6px; }
.recorded-legend span:nth-child(2)::before { background: #637894; }
.recorded-axis { display: grid; grid-template-columns: 2.5em minmax(0,1fr); gap: 7px; margin-inline-end: 7px; }
.recorded-ticks { display: flex; flex-direction: column; justify-content: space-between; text-align: right; line-height: 1; }
.recorded-plot { position: relative; min-height: 165px; margin-block: 6px; border-block: 1px solid #d8e2ef;
  background: repeating-linear-gradient(to bottom,#fff 0, #fff calc(100% / 3 - 1px),#e8eef6 calc(100% / 3 - 1px),#e8eef6 calc(100% / 3)); }
.recorded-line { position: absolute; inset: 0; }
.recorded-dot { position: absolute; width: 6px; height: 6px; border-radius: 50%; transform: translate(-50%,-50%); }
.recorded-series-0 { background: #637894; }
.recorded-series-1 { background: #126dfb; }
.recorded-dates { display: flex; justify-content: space-between; margin: 0 2px 0 3.1em; }
.recorded-trend details { margin-top: 12px; }
.recorded-trend summary { color: var(--geo-accent); cursor: pointer; }
.recorded-trend .geo-table table { min-width: 0; }
.recorded-trend .geo-table :is(th,td) { font-size: .8rem; padding: 5px 7px; }
