/* Larger type and clear controls for daily counter work. */
@media screen {
  :root {
    --green: #008b9b;
    --dark: #092d55;
    --ink: #102b4e;
    --muted: #51697d;
    --line: #d6e5ed;
    --bg: #f2f7fb;
  }
  body {font-family: Tahoma,"Leelawadee UI",sans-serif;font-size:18px;line-height:1.65}
  header {min-height:96px;height:auto;background:#082c53;color:white;padding:20px 3%;border:0;box-shadow:0 4px 18px #17293e20}
  .brand {gap:16px}
  .brandmark {width:56px;height:56px;background:#00b8c5;color:#ffffff;border-radius:16px;font-size:38px}
  .brand b {font-size:24px;letter-spacing:1px}
  .brand small {font-size:12px;color:#ccecf1;letter-spacing:1.4px}
  nav {gap:6px}
  nav a {font-size:17px;color:#e4f2fa;padding:12px 17px;font-weight:600}
  nav a:hover {background:#ffffff16;color:white}
  nav a.active {background:#ffffff;color:#082c53;border-radius:10px}
  .header-tag {display:none}
  .shell {max-width:1580px;padding:32px 3% 48px}
  .eyebrow {font-size:14px;letter-spacing:.6px;color:#485769}
  h1 {font-size:36px;line-height:1.4;margin:7px 0 8px;font-weight:700}
  h2 {font-size:23px;line-height:1.5;font-weight:700}
  h3 {font-size:20px}
  .subtitle {font-size:18px;color:#4e5c6c}
  .page-head {margin-bottom:26px}
  .pill {font-size:17px;font-weight:600;padding:10px 17px;background:#fff0c7;color:#765116;border:1px solid #e7d49d}
  .pill.closed {border-color:#acced5;background:#deecef}
  .dot {width:9px;height:9px}
  .toolbar {padding:22px 24px;border-radius:16px;border:1px solid #c9e1ec;background:#e9f5fa;gap:22px;box-shadow:0 3px 0 #d5e9f1}
  .toolbar label {min-width:260px}
  .toolbar .date-label {min-width:210px}
  .toolbar .target {padding-bottom:2px}
  .target>span {font-size:17px;color:#3d4e62}
  .target strong {font-size:32px;color:#1c3149;letter-spacing:-.7px}
  .field label,label.field {font-size:17px;font-weight:600;color:#354557;line-height:1.65}
  .field input,.field select,.field textarea {font-size:19px;font-weight:400;margin-top:8px;min-height:52px}
  input,select,textarea {padding:12px 14px;border:1.5px solid #bacbcf;border-radius:9px}
  input:focus,select:focus,textarea:focus {border-color:#254162;box-shadow:0 0 0 4px #008b9b17}
  input:disabled,select:disabled,textarea:disabled {background:#eff3f4;color:#3a4b5e}
  .stats {gap:16px;margin:26px 0}
  .stat {border-radius:16px;padding:21px 22px;border:1px solid #d2dddf;box-shadow:0 4px 12px #17283d05;position:relative;border-top:4px solid #b9c9cd}
  .stat>span {font-size:17px;color:#495768;font-weight:600}
  .stat strong {font-size:34px;line-height:1.4;margin:10px 0 7px;letter-spacing:-.8px}
  .stat small {font-size:15px;color:#525f6e;line-height:1.6;display:block}
  .stat.accent {background:#082c53;border-color:#082c53;border-top-color:#ff7a18;color:#fff}
  .stat.accent>span,.stat.accent small {color:#d7edf5}
  .rounds {gap:12px;margin:28px 0 24px}
  .round {border-radius:13px;padding:18px 15px;gap:12px;background:#fff;min-height:108px;border:1.5px solid #d2dddf;transition:background .15s}
  .round:hover {background:#e4eff1;border-color:#7da0a8}
  .round.selected {background:#dff5f7;border-color:#008b9b;box-shadow:0 0 0 1px #008b9b}
  .round .num {width:38px;height:38px;flex:0 0 38px;font-size:20px;background:#e8eff1;color:#505f70;font-weight:700}
  .round b {font-size:18px;line-height:1.55}
  .round small {font-size:15px;line-height:1.6;color:#4f5e70}
  .round .time {display:none}
  .layout {grid-template-columns:minmax(0,1.65fr) minmax(340px,1fr);gap:24px}
  .card {border-radius:16px;border:1px solid #cdd9dc;box-shadow:0 4px 16px #17283d05;margin-bottom:24px}
  .card-head {padding:20px 24px;background:#f8fbfe;border-bottom:1px solid #d5e1e4;gap:16px}
  .card-head p {font-size:16px;margin:7px 0 0;color:#525e6c;line-height:1.7}
  .section-number {font-size:15px;width:31px;height:31px;margin-right:10px;background:#d9f0f5;border:0;color:#2f4660;vertical-align:2px;border-radius:8px}
  .card-body {padding:24px}
  .count-info {grid-template-columns:minmax(0,1fr) 160px;gap:20px;margin-bottom:16px}
  .segmented {padding:5px;background:#e4f0f5;border-radius:10px;gap:4px}
  .segmented button {font-size:16px;padding:9px 12px;min-height:44px}
  .segmented button.active {color:#243c58;border-radius:7px;box-shadow:0 2px 5px #17283d18}
  .card-head:has(.segmented) {flex-wrap:wrap}
  .cash-table th {font-size:16px;font-weight:600;background:#eaf5fa;color:#3e5065;padding:15px 9px;line-height:1.6}
  .cash-table th:first-child {width:34%;padding-left:22px}
  .cash-table th:last-child,.cash-table td:last-child {width:20%;padding-right:22px}
  .cash-table td {padding:13px 9px;border-bottom:1px solid #dfe7e9}
  .cash-table td:first-child {padding-left:22px}
  .cash-table tr:nth-child(even) td {background:#fcfdff}
  .cash-table tr:focus-within td {background:#e8f5f8}
  .denom {gap:12px}
  .denom>span {font-size:17px;font-weight:600}
  .cash-visual {width:64px;height:38px;font-size:19px;flex:0 0 64px;border-width:1.5px;border-radius:5px}
  .cash-visual::after {font-size:10px}
  .cash-visual.coin {width:37px;height:37px;flex:0 0 37px;margin:0 13.5px;border-radius:50%;font-size:18px}
  .cash-input {font-size:24px;font-weight:600;min-height:57px;padding:10px 12px;border-color:#becdd0;border-radius:9px;background:#fff}
  .cash-input.filled {background:#e5f8f9;border-color:#7aa3ac;color:#223b59}
  .line-total {font-size:20px;font-weight:600;color:#364454}
  .cash-subtotal {font-size:17px;padding:18px 22px;align-items:center;flex-wrap:wrap}
  .cash-subtotal b {font-size:20px;color:#243c58;margin-left:6px;font-family:Arial,sans-serif}
  .cash-total {padding:24px;background:#082c53;color:white;border-top:4px solid #ff7a18}
  .cash-total b {font-size:21px}
  .cash-total small {font-size:16px;color:#d5e6ea}
  .cash-total strong {font-size:37px;letter-spacing:-.8px}
  .two-fields,.channel-grid {gap:19px}
  .channel-grid label {font-size:17px}
  .section-label {font-size:18px;font-weight:600;color:#3a4b5f;margin:26px 0 15px}
  .summary-line {font-size:17px;line-height:1.7;padding:12px 0;align-items:baseline}
  .summary-line strong {font-size:20px}
  .summary-line.total {padding:15px 0;font-size:19px}
  .summary-line.total strong {font-size:27px}
  .divider {margin:12px 0;background:#d2dfe2}
  .difference {padding:20px;background:#e6f5ee;border:1px solid #bbddcc;border-radius:11px;margin:20px 0}
  .difference.bad {background:#fff1df;color:#9a501a;border-color:#ead0ab}
  .difference .summary-line {font-size:19px;font-weight:600}
  .difference strong {font-size:25px}
  .difference p {font-size:16px;line-height:1.8;margin-top:10px}
  .helper {font-size:16px;color:#525d6a;line-height:1.85;margin:13px 0}
  .btn {font-size:18px;padding:13px 20px;min-height:50px;border-radius:10px;font-weight:600;border:1.5px solid #b8c9cd}
  .btn:hover {background:#e3eff2}
  .btn.primary {background:#008b9b;border-color:#008b9b;box-shadow:0 3px 0 #006b7a;color:white}
  .btn.primary:hover {background:#007586}
  .btn.small {font-size:16px;padding:9px 13px;min-height:43px}
  .wide {font-size:17px}
  .notice,.error,.success {font-size:17px!important;line-height:1.9;border-radius:11px;padding:17px 20px}
  .notice {background:#dce8eb;border-left:4px solid #6e99a3;color:#39495c}
  .success {border:1px solid #a1bdc3}
  .error {border:1px solid #e2b3a6}
  .save-footer {margin-top:12px;padding:25px 0;border-top:2px solid #c7d6d9}
  .save-footer strong {font-size:21px}
  .save-footer p {font-size:17px;color:#525d6a;margin-top:4px}
  .save-footer>.btn {font-size:20px;min-width:290px;min-height:60px;padding:15px 25px}
  .draft-status {font-size:16px;color:#4a5b70}
  .data-table th,.data-table td {font-size:17px;padding:18px 20px}
  .data-table th {font-weight:600;background:#eaf5fa;color:#3e5065}
  .settings-grid {gap:25px}
  .settings-grid .card-head {background:#daebef}
  .empty {font-size:18px;line-height:2}
  .bottom-note {font-size:13px;color:#5e6a77;letter-spacing:.5px}
  dialog {padding:30px;max-width:560px;border-radius:18px;border:1px solid #b4cacf}
  dialog h2 {font-size:27px;color:#223c5a}
  dialog p {font-size:18px;line-height:1.85}
  dialog .summary-line {padding:12px 0;border-bottom:1px solid #d6e4e7}
  @media(max-width:1150px) {
    .layout {grid-template-columns:minmax(0,1.55fr) minmax(320px,1fr);gap:18px}
    .brand b {font-size:22px}
    nav a {font-size:16px;padding:11px 13px}
    .cash-table th:first-child {width:31%}
    .cash-table th:first-child,.cash-table td:first-child {padding-left:15px}
    .cash-table th:last-child,.cash-table td:last-child {padding-right:15px}
    .denom {gap:8px}
    .denom>span {font-size:16px}
    .cash-visual {width:48px;flex-basis:48px;font-size:16px;height:33px}
    .cash-visual.coin {width:34px;flex-basis:34px;height:34px;margin:0 7px}
    .cash-input {font-size:22px;padding:10px 8px}
    .line-total {font-size:18px}
    .stat {padding:18px}
    .stat strong {font-size:30px}
    .round {padding:15px 12px;gap:9px}
    .round b {font-size:17px}
    .round small {font-size:15px}
    .card-body {padding:20px}
    .summary-line {font-size:16px}
    .summary-line strong {font-size:19px}
  }
  @media(max-width:960px) {
    header {flex-wrap:wrap;justify-content:center;padding:20px 4%;gap:18px}
    .brand {margin-right:auto}
    .layout {grid-template-columns:1fr;gap:0}
    .cash-table th:first-child {width:34%}
    .denom>span {font-size:19px}
    .cash-visual {width:70px;flex-basis:70px;height:40px;font-size:21px}
    .cash-visual.coin {width:39px;flex-basis:39px;height:39px;margin:0 15.5px}
    .cash-input {font-size:25px}
    .line-total {font-size:23px}
    .stats {grid-template-columns:1fr 1fr}
    .rounds {grid-template-columns:1fr 1fr}
    .round b {font-size:19px}
    .round small {font-size:16px}
    .round {min-height:96px;padding:18px}
    .summary-line {font-size:18px}
    .summary-line strong {font-size:22px}
    .settings-grid {grid-template-columns:1fr}
  }
  @media(max-width:600px) {
    body {font-size:17px}
    header {gap:17px;padding:18px 4%}
    .brand {margin:0 auto}
    .brand b {font-size:21px}
    .brandmark {width:48px;height:48px;font-size:32px}
    .brand small {font-size:11px}
    nav {width:100%;justify-content:center;gap:4px}
    nav a {font-size:16px;padding:9px 10px;white-space:nowrap}
    .shell {padding:24px 4% 36px}
    .eyebrow {font-size:12px}
    h1 {font-size:29px}
    h2 {font-size:21px}
    .subtitle {font-size:17px}
    .page-head {flex-wrap:wrap;gap:14px}
    .pill {font-size:16px;padding:7px 12px}
    .toolbar {padding:18px;gap:16px}
    .toolbar label,.toolbar .date-label {min-width:0;flex:1 1 100%}
    .toolbar .target {padding-top:16px;align-items:baseline;gap:10px}
    .target strong {font-size:27px;white-space:nowrap}
    .field input,.field select,.field textarea {font-size:18px;min-height:52px}
    .stats {gap:10px}
    .stat {padding:16px 13px}
    .stat>span {font-size:16px}
    .stat strong {font-size:27px;letter-spacing:-.8px}
    .stat small {font-size:15px}
    .rounds {gap:10px}
    .round {padding:14px 11px;gap:8px;align-items:start}
    .round .num {width:30px;height:30px;flex-basis:30px;font-size:17px}
    .round b {font-size:16px}
    .round small {font-size:15px}
    .card-head {padding:18px}
    .card-body {padding:18px}
    .card-head p {font-size:16px}
    .count-info {grid-template-columns:1fr;gap:16px}
    .cash-table th {font-size:15px;padding:12px 5px}
    .cash-table th:first-child {width:28%;padding-left:10px}
    .cash-table td:first-child {padding-left:10px}
    .cash-table th:last-child,.cash-table td:last-child {width:22%;padding-right:10px}
    .cash-table td {padding:11px 5px}
    .denom {flex-direction:column;align-items:start;gap:5px}
    .denom>span {font-size:15px}
    .cash-visual {width:55px;flex:0 0 auto;height:32px;font-size:17px}
    .cash-visual.coin {width:32px;height:32px;flex:0 0 auto;margin:0 11px;font-size:17px}
    .cash-input {font-size:21px;padding:10px 6px;min-height:54px}
    .line-total {font-size:17px}
    .cash-subtotal {font-size:16px;padding:17px 15px;gap:14px}
    .cash-subtotal b {font-size:19px}
    .cash-total {padding:22px 18px;gap:12px;flex-wrap:wrap}
    .cash-total b {font-size:19px}
    .cash-total strong {font-size:32px}
    .channel-grid,.two-fields {grid-template-columns:1fr;gap:17px}
    .summary-line {font-size:17px}
    .summary-line strong {font-size:20px}
    .summary-line.total {font-size:18px}
    .summary-line.total strong {font-size:25px}
    .difference {padding:18px}
    .difference .summary-line {font-size:18px}
    .difference strong {font-size:23px}
    .save-footer {align-items:stretch}
    .save-footer>.btn {min-width:0;font-size:19px}
    .save-footer strong {font-size:20px}
    .btn {font-size:17px}
    dialog {padding:24px}
    dialog h2 {font-size:24px}
    dialog .actions {flex-wrap:wrap}
  }
}

/* HEAL brand: navy, turquoise and restrained orange accents. */
@media screen {
  :root {--green:#008b9b;--dark:#082c53;--ink:#102b4e;--muted:#51697d;--line:#d6e5ed;--bg:#f2f7fb}
  header {background:#082c53;border-bottom:4px solid #00a7ba;box-shadow:0 4px 18px #082c531a}
  .brandmark {background:linear-gradient(145deg,#16c8d1,#00859e);color:white;box-shadow:0 4px 12px #001a3d35}
  .brand b {color:white}
  .brand small {color:#bcdfea}
  nav a.active {background:white;color:#082c53;box-shadow:inset 0 -4px #ff7a18}
  .eyebrow {color:#007f91}
  h1,h2 {color:#082c53}
  .toolbar {background:linear-gradient(110deg,#e6f5fa,#f6fbff);border-color:#c8e1ed;box-shadow:0 3px 0 #daeaf3}
  .toolbar .target strong {color:#082c53}
  .stat.accent {background:#082c53;border-color:#082c53;border-top-color:#ff7a18}
  .stat.accent strong {color:white}
  .stat:not(.accent) {border-top-color:#15a6b6}
  .round.selected {background:#e0f5f8;border-color:#0091a5;box-shadow:0 0 0 1px #0091a5}
  .round.selected .num,.round.done .num {background:#008b9b;color:white}
  .round.selected b {color:#005e78}
  .card-head {background:#f6fafe}
  .section-number {background:#e1f2f7;color:#006d89}
  .segmented button.active {color:#006d89;box-shadow:0 2px 6px #082c531a}
  .cash-total {background:#082c53;border-top-color:#ff7a18;color:white}
  .cash-total small {color:#d2e9f2}
  .cash-table tr:focus-within td {background:#ecf9fc}
  .cash-input.filled {background:#e9f9fb;border-color:#70becb;color:#006b7f}
  .summary-line.total {color:#007d92}
  .difference.is-balanced {background:#e9f6f0;border-color:#bbddcc;color:#1c6d51}
  .difference.is-short {background:#fff0f0;border-color:#e9aaaa;color:#ac2525;border-left:5px solid #c63333}
  .difference.is-over {background:#fff2df;border-color:#efc28b;color:#99500e;border-left:5px solid #e28520}
  .difference.is-invalid {background:#eef3f8;border-color:#c6d5e1;color:#4b6076;border-left:5px solid #8196ab}
  .cash-input.cash-invalid,.cash-input.cash-invalid:focus {border:2px solid #c63333;background:#fff2f2;color:#ad2525;box-shadow:0 0 0 3px #c6333310}
  .cash-table td:has(.cash-field-error) {vertical-align:top}
  .cash-field-error {display:block;margin-top:8px;font-size:15px;line-height:1.7;color:#b12525;text-align:left;font-weight:500;overflow-wrap:anywhere}
  .notice {background:#e7f2fa;border-left-color:#009aad;color:#315873}
  .btn.primary {background:#008b9b;border-color:#008b9b;box-shadow:0 3px 0 #006b7a}
  .btn.primary:hover {background:#007586}
  .settings-grid .card-head {background:#e8f4fa}
  .pill {background:#fff1e2;border-color:#f4cdab;color:#9b4d15}
  .pill.closed {background:#e9f6f0;border-color:#bbddcc;color:#1c6d51}
}
