#dai-statement-panel{display:flex!important;flex-direction:column;min-height:100vh;width:100%;}
#dai-statement-panel button.dai-st-btn{color:#575F67!important;background:#fff!important;}
#dai-statement-panel button.dai-st-btn.dai-st-add-row-btn{color:#00688D!important;}
#dai-statement-panel .dai-st-save-menu button,#dai-statement-panel .dai-st-card-save-menu button{color:#222B32!important;background:#fff!important;font-weight:500}
#dai-statement-panel .dai-st-save-menu button:hover,#dai-statement-panel .dai-st-card-save-menu button:hover{background:#E8F4F8!important;color:#00688D!important}

    [data-dai-statement-tab] { cursor: pointer; flex-shrink: 0; }

    /* Native page scroll; collapse extra space above footer */
          margin-top: 0 !important;
    }

    #dai-statement-panel {
      display: none;
      flex-direction: column;
      min-width: 340px;
      width: 100%;
      margin-bottom: 0;
      padding-bottom: 0;
      background: #F7F6F8;
      color: #222B32;
      font-family: inherit;
      font-size: 16px;
      min-height: 100vh;
      overflow: visible;
      box-sizing: border-box;
      position: relative;
      z-index: 20;
    }
    #dai-statement-panel {
      --dai-week-col-gap: 24px;
      /* Fixed columns to keep header & rows perfectly aligned across separate grid containers */
      --dai-week-col-template: 1.4fr 0.7fr 0.8fr 1fr 0.9fr;
    }
    #dai-statement-panel * { box-sizing: border-box; }
    #dai-statement-panel .dai-st-header {
      padding: 10px 22px; border-bottom: none;
      background: #F7F6F8; min-height: 52px;
    }
    .dai-st-header-view {
      display: none;
      grid-template-columns: 1fr auto 1fr;
      align-items: center; gap: 8px;
    }
    .dai-st-back-btn {
      justify-self: start;
    }
    .dai-st-header-right {
      justify-self: end;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .dai-st-header-actions {
      display: flex;
      align-items: center;
      gap: 8px;
    }
    #dai-statement-panel button.dai-st-acct-header-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      height: 34px;
      padding: 0 12px !important;
      border: 1px solid #CCD5DE;
      border-radius: 8px;
      background: #fff;
      color: #00688D;
      font-size: 14px;
      font-weight: 500;
      white-space: nowrap;
      cursor: pointer;
    }
    #dai-statement-panel button.dai-st-acct-header-btn:hover:not(:disabled) {
      border-color: #00A8E1;
      background: #f0faff;
    }
    #dai-statement-panel button.dai-st-acct-header-btn.active {
      border-color: #00688D;
      background: #E8F4F8;
      color: #00688D;
    }
    #dai-statement-panel button.dai-st-acct-header-btn .dai-st-archive-hub-icon {
      display: inline-flex;
    }
    .dai-st-acct-field {
      display: flex;
      flex-direction: column;
      gap: 4px;
      margin-bottom: 12px;
      text-align: left;
    }
    .dai-st-acct-field label {
      font-size: 13px;
      font-weight: 500;
      color: #575F67;
    }
    .dai-st-acct-field input {
      width: 100%;
      box-sizing: border-box;
      padding: 8px 10px;
      border: 1px solid #CCD5DE;
      border-radius: 6px;
      font-size: 14px;
    }
    .dai-st-acct-field input.dai-st-acct-mask {
      -webkit-text-security: disc;
      text-security: disc;
      letter-spacing: 0.12em;
    }
    .dai-st-acct-hint {
      font-size: 13px;
      color: #575F67;
      margin: 0 0 14px;
      line-height: 1.45;
      text-align: left;
    }
    .dai-st-acct-error {
      font-size: 13px;
      color: #c8051e;
      margin: 0 0 10px;
      text-align: left;
    }
    .dai-st-acct-link {
      display: inline-block;
      margin-top: 10px;
      font-size: 13px;
      color: #00688D;
      background: none;
      border: none;
      padding: 0;
      cursor: pointer;
      text-decoration: underline;
    }
    .dai-st-acct-actions-stack {
      display: flex;
      flex-direction: column;
      gap: 8px;
      width: 100%;
    }
    .dai-st-acct-actions-stack .dai-st-confirm-btn {
      width: 100%;
    }
    #dai-statement-panel button.dai-st-icon-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 34px;
      height: 34px;
      padding: 0 !important;
      border: 1px solid #CCD5DE;
      border-radius: 6px;
      background: #fff;
      color: #00688D;
      cursor: pointer;
    }
    #dai-statement-panel button.dai-st-icon-btn:hover:not(:disabled) {
      background: #E8F4F8;
      border-color: #00688D;
    }
    #dai-statement-panel button.dai-st-icon-btn.active {
      background: #00688D;
      color: #fff;
      border-color: #00688D;
    }
    #dai-statement-panel button.dai-st-icon-btn:disabled { opacity: .45; cursor: default; }
    #dai-statement-panel button.dai-st-card-delete-btn:hover:not(:disabled) {
      background: #ffedeb;
      border-color: #c8051e;
      color: #c8051e;
    }
    .dai-st-confirm-root {
      position: fixed;
      inset: 0;
      z-index: 2147483646;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 16px;
    }
    .dai-st-confirm-backdrop {
      position: absolute;
      inset: 0;
      background: rgba(34, 43, 50, 0.45);
    }
    .dai-st-confirm-box {
      position: relative;
      z-index: 1;
      width: min(100%, 360px);
      padding: 18px 20px 16px;
      background: #fff;
      border: 1px solid #CCD5DE;
      border-radius: 8px;
      box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
    }
    .dai-st-confirm-msg {
      margin: 0 0 16px;
      font-size: 16px;
      font-weight: 700;
      line-height: 1.4;
      color: #222B32;
    }
    .dai-st-confirm-actions {
      display: flex;
      justify-content: flex-end;
      gap: 8px;
    }
    .dai-st-confirm-btn {
      min-width: 72px;
      padding: 8px 16px !important;
      border-radius: 6px !important;
      font-size: 15px !important;
      font-weight: 600;
      cursor: pointer;
    }
    .dai-st-confirm-no {
      border: 1px solid #CCD5DE !important;
      background: #fff !important;
      color: #222B32 !important;
    }
    .dai-st-confirm-no:hover {
      background: #E8F4F8 !important;
      border-color: #00688D !important;
      color: #00688D !important;
    }
    .dai-st-confirm-yes {
      border: 1px solid #00688D !important;
      background: #00688D !important;
      color: #fff !important;
    }
    .dai-st-confirm-yes:hover {
      background: #005272 !important;
      border-color: #005272 !important;
      color: #fff !important;
    }
    .dai-st-save-wrap, .dai-st-card-save-wrap { position: relative; }
    .dai-st-save-menu, .dai-st-card-save-menu {
      position: absolute;
      top: calc(100% + 4px);
      right: 0;
      min-width: 120px;
      background: #fff;
      border: 1px solid #CCD5DE;
      border-radius: 6px;
      box-shadow: 0 4px 14px rgba(0,0,0,.12);
      z-index: 20;
    }
    .dai-st-save-menu[hidden], .dai-st-card-save-menu[hidden] { display: none !important; }
    .dai-st-save-menu button, .dai-st-card-save-menu button {
      display: block;
      width: 100%;
      padding: 9px 14px !important;
      border: none !important;
      border-radius: 0 !important;
      background: #fff;
      font-size: 15px;
      text-align: left;
      cursor: pointer;
    }
    .dai-st-save-menu button:hover, .dai-st-card-save-menu button:hover { background: #E8F4F8; color: #00688D; }
    .dai-st-move-trip-menu {
      position: fixed;
      min-width: 220px;
      max-width: min(360px, calc(100vw - 16px));
      max-height: min(280px, calc(100vh - 16px));
      overflow-y: auto;
      background: #fff;
      border: 1px solid #CCD5DE;
      border-radius: 6px;
      box-shadow: 0 4px 14px rgba(0,0,0,.12);
      z-index: 10050;
    }
    .dai-st-move-trip-menu button.dai-st-move-trip-opt {
      display: block;
      width: 100%;
      padding: 9px 14px !important;
      border: none !important;
      border-radius: 0 !important;
      background: #fff;
      font-size: 14px;
      text-align: left;
      cursor: pointer;
      color: #222B32;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .dai-st-move-trip-menu button.dai-st-move-trip-opt:hover { background: #E8F4F8; color: #00688D; }
    .dai-st-unit-suggest-menu {
      position: fixed;
      min-width: 240px;
      max-width: min(380px, calc(100vw - 16px));
      max-height: min(300px, calc(100vh - 16px));
      overflow-y: auto;
      background: #fff;
      border: 1px solid #CCD5DE;
      border-radius: 6px;
      box-shadow: 0 4px 14px rgba(0,0,0,.12);
      z-index: 10050;
    }
    .dai-st-unit-suggest-menu[hidden] { display: none !important; }
    .dai-st-unit-suggest-loading,
    .dai-st-unit-suggest-empty {
      padding: 10px 14px;
      font-size: 13px;
      color: #575F67;
    }
    .dai-st-unit-suggest-menu button.dai-st-unit-suggest-opt {
      display: flex;
      align-items: baseline;
      gap: 10px;
      width: 100%;
      padding: 9px 14px !important;
      border: none !important;
      border-radius: 0 !important;
      background: #fff;
      font-size: 14px;
      text-align: left;
      cursor: pointer;
      color: #222B32;
    }
    .dai-st-unit-suggest-num {
      flex-shrink: 0;
      font-weight: 600;
      min-width: 5.5em;
    }
    .dai-st-unit-suggest-name {
      flex: 1;
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      color: #575F67;
    }
    .dai-st-unit-suggest-menu button.dai-st-unit-suggest-opt:hover {
      background: #E8F4F8;
      color: #00688D;
    }
    .dai-st-unit-suggest-menu button.dai-st-unit-suggest-opt:hover .dai-st-unit-suggest-name {
      color: #00688D;
    }
    .dai-st-header-center {
      grid-column: 2; text-align: center; justify-self: center;
    }
    .dai-st-header-dates { font-size: 16px; font-weight: 600; color: #222B32; line-height: 1.35; }
    .dai-st-header-week { font-size: 16px; font-weight: 500; color: #575F67; margin-top: 2px; line-height: 1.35; }
    #dai-statement-panel .dai-st-body {
      padding: 20px 22px 24px;
      margin-bottom: 0;
      overflow: visible;
      background: #F7F6F8;
      min-height: calc(100vh - 52px);
    }

    /* Main picker (week list) */
    .dai-st-picker { width: 100%; font-size: 13px; }
    .dai-st-picker-hero { margin-bottom: 14px; }
    .dai-st-picker-hero-row {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
    }
    .dai-st-picker-hero-left { min-width: 220px; }
    .dai-st-picker-title {
      margin: 0 0 6px;
      font-size: 22px;
      font-weight: 700;
      letter-spacing: -0.02em;
      color: #1a2329;
      line-height: 1.25;
    }
    .dai-st-picker-sub {
      margin: 0;
      font-size: 15px;
      line-height: 1.45;
      color: #5c6570;
    }
    #dai-statement-panel .dai-st-body:has(.dai-st-picker) .dai-st-msg {
      font-size: 15px;
      line-height: 1.45;
      padding: 14px 16px;
      border-radius: 10px;
      margin-bottom: 16px;
      border: none;
      background: #fff;
      box-shadow: 0 1px 3px rgba(26, 35, 41, 0.06);
    }
    #dai-statement-panel .dai-st-body:has(.dai-st-picker) .dai-st-loader-text {
      font-size: 17px;
    }
    .dai-st-picker-archive-row {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 10px;
      flex-wrap: wrap;
    }
    #dai-statement-panel button.dai-st-archive-hub-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      width: auto;
      padding: 10px 12px;
      border-radius: 10px;
      border: 1px solid #c5d4de;
      background: linear-gradient(180deg, #fff 0%, #f8fafb 100%);
      font-size: 14px;
      font-weight: 600;
      color: #00688D;
      cursor: pointer;
      box-shadow: 0 1px 2px rgba(26, 35, 41, 0.05);
      transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
    }

    .dai-st-week-head {
      display: grid;
      grid-template-columns: var(--dai-week-col-template);
      column-gap: var(--dai-week-col-gap);
      align-items: center;
      padding: 4px 44px 10px 18px;
      border-radius: 0;
      background: transparent;
      border: none;
      border-bottom: 2px solid #CCD5DE;
      box-shadow: none;
      margin-bottom: 10px;
      color: #1a2329;
      font-size: 15px;
      font-weight: 600;
    }
    .dai-st-week-head .dai-st-week-col {
      white-space: nowrap;
      font-size: 15px;
      font-weight: 600;
      color: #1a2329;
      line-height: 1.3;
      min-width: 0;
    }
    .dai-st-week-head .dai-st-week-col-period { padding-left: 30px; }


    /* (duplicated rules overridden below) keep grid in sync with header */
    #dai-statement-panel button.dai-st-week-btn.dai-st-week-btn-grid {
      display: grid;
      grid-template-columns: var(--dai-week-col-template);
      column-gap: var(--dai-week-col-gap);
      align-items: center;
    }
    #dai-statement-panel button.dai-st-week-btn.dai-st-week-btn-grid .dai-st-week-col { min-width: 0; }
    #dai-statement-panel button.dai-st-week-btn.dai-st-week-btn-grid .dai-st-week-col-total { text-align: right; font-variant-numeric: tabular-nums; justify-self: end; }
    #dai-statement-panel button.dai-st-week-btn.dai-st-week-btn-grid .dai-st-week-col-invoice,
    #dai-statement-panel button.dai-st-week-btn.dai-st-week-btn-grid .dai-st-week-col-week { font-variant-numeric: tabular-nums; }
    #dai-statement-panel button.dai-st-archive-hub-btn:hover:not(:disabled) {
      border-color: #00A8E1;
      background: #f0faff;
      box-shadow: 0 4px 12px rgba(0, 136, 141, 0.12);
    }
    .dai-st-archive-hub-icon {
      display: inline-flex;
      flex-shrink: 0;
      color: #00688D;
    }
    .dai-st-stmt-archive-list {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .dai-st-archive-head { margin: 0 0 16px; }
    .dai-st-archive-title { font-size: 22px; font-weight: 700; color: #1a2329; letter-spacing: -0.02em; }
    .dai-st-archive-controls {
      margin-top: 10px;
      display: flex;
      align-items: flex-end;
      gap: 10px;
      flex-wrap: wrap;
    }
    .dai-st-archive-year { display: inline-flex; flex-direction: column; gap: 4px; font-size: 14px; color: #575F67; }
    .dai-st-archive-year select {
      height: 34px;
      padding: 0 10px;
      border-radius: 6px;
      border: 1px solid #CCD5DE;
      background: #fff;
      font-size: 15px;
      color: #222B32;
    }
    .dai-st-archive-shell {
      width: 100%;
      --color-canvas-default: #ffffff;
      --color-canvas-subtle: #f6f8fa;
      --color-border-default: #d0d7de;
      --color-border-muted: hsla(210, 18%, 87%, 1);
      --color-gray-800: #02080E;
      --color-gray-700: #222B32;
      --color-gray-600: #575F67;
      --color-gray-500: #6e777f;
      --color-gray-400: #89929A;
      --color-gray-200: #CCD5DE;
      --color-gray-100: #E9EBEF;
      --color-blue-500: #00688D;
      font-family: "Amazon Ember", "Amazon Ember Arabic", Arial, sans-serif;
    }
    .dai-st-archive-cards {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .dai-st-archive-driver-card {
      background: var(--color-canvas-default);
      border: 1px solid var(--color-border-default);
      border-radius: 8px;
      overflow: hidden;
      box-shadow: none;
    }
    .dai-st-archive-driver-card .dai-st-ar-sum-head {
      padding: 12px 16px;
      display: flex;
      align-items: center;
      gap: 10px;
      min-height: 44px;
    }
    .dai-st-ar-sum-line {
      flex: 1;
      min-width: 0;
      display: grid;
      grid-template-columns: minmax(0, 0.5fr) minmax(0, 3fr) minmax(0, 0.45fr);
      align-items: center;
      gap: 8px 12px;
    }
    .dai-st-ar-sum-name,
    .dai-st-ar-sum-range,
    .dai-st-ar-sum-total,
    .dai-st-ar-week-period,
    .dai-st-ar-week-pay {
      box-sizing: border-box;
      margin: 0;
      font-family: "Amazon Ember", "Amazon Ember Arabic", Arial, sans-serif;
      font-size: 17px;
      line-height: 22px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .dai-st-ar-sum-name,
    .dai-st-ar-sum-range,
    .dai-st-ar-sum-total {
      font-weight: 700;
      color: rgb(2, 8, 14);
    }
    .dai-st-ar-sum-name {
      justify-self: start;
      text-align: left;
    }
    .dai-st-ar-sum-range {
      justify-self: center;
      text-align: center;
    }
    .dai-st-ar-sum-total {
      justify-self: end;
      text-align: right;
      color: var(--color-blue-500);
    }
    .dai-st-ar-week-period,
    .dai-st-ar-week-pay {
      font-weight: 400;
      color: rgb(2, 8, 14);
    }
    .dai-st-ar-weeks {
      border-top: 1px solid var(--color-border-muted);
      background: var(--color-canvas-subtle);
      padding: 0;
    }
    .dai-st-ar-week-row {
      padding: 10px 16px;
      border-top: 1px solid var(--color-border-muted);
      background: var(--color-canvas-default);
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .dai-st-ar-week-row:first-child { border-top: none; }
    .dai-st-ar-week-line {
      flex: 1;
      min-width: 0;
      display: grid;
      grid-template-columns: minmax(0, 0.5fr) minmax(0, 3fr) minmax(0, 0.45fr);
      align-items: center;
      gap: 8px 12px;
    }
    .dai-st-ar-week-period {
      justify-self: start;
      text-align: left;
    }
    .dai-st-ar-week-stops {
      justify-self: stretch;
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
      align-items: center;
      column-gap: 10px;
      width: 100%;
      min-width: 0;
      max-width: 100%;
    }
    .dai-st-ar-week-pay {
      justify-self: end;
      text-align: right;
    }
    .dai-st-ar-week-arrow {
      flex: 0 0 auto;
      color: var(--color-gray-400);
      font-size: 16px;
      line-height: 1;
      user-select: none;
      padding: 0 4px;
    }
    .dai-st-ar-week-stop {
      min-width: 0;
      box-sizing: border-box;
      margin: 0;
      font-family: "Amazon Ember", "Amazon Ember Arabic", Arial, sans-serif;
      font-size: 17px;
      line-height: 22px;
      font-weight: 400;
      color: rgb(2, 8, 14);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .dai-st-ar-week-stop:first-child {
      justify-self: end;
      text-align: right;
    }
    .dai-st-ar-week-stop:last-child {
      justify-self: start;
      text-align: left;
    }
    #dai-statement-panel .dai-st-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 14px;
    }
    #dai-statement-panel button.dai-st-btn {
      padding: 8px 14px; border-radius: 4px; border: 1px solid #89929A;
      background: #fff; cursor: pointer; font-size: 15px; color: #575F67;
    }
    #dai-statement-panel button.dai-st-btn.primary {
      background: #00A8E1; border-color: #0085AE; color: #fff;
    }
    #dai-statement-panel button.dai-st-btn:disabled { opacity: .5; cursor: default; }
    #dai-statement-panel button.dai-st-btn.dai-st-back-btn {
      padding: 6px 12px !important;
      border: 1px solid #CCD5DE;
      border-radius: 6px;
      color: #00688D;
      transition: background 0.15s, border-color 0.15s;
    }
    #dai-statement-panel button.dai-st-btn.dai-st-back-btn:hover:not(:disabled) {
      background: #E8F4F8;
      border-color: #00688D;
    }
    #dai-statement-panel .dai-st-weeks {
      display: flex;
      flex-direction: column;
      gap: 0;
      margin-bottom: 0;
    }
    .dai-st-week-list {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    #dai-statement-panel button.dai-st-week-btn {
      display: grid;
      grid-template-columns: 1fr auto;
      grid-template-rows: auto auto;
      gap: 2px 12px;
      width: 100%;
      text-align: left;
      padding: 16px 44px 16px 18px;
      border-radius: 10px;
      border: 1px solid #CCD5DE;
      background: #fff;
      cursor: pointer;
      box-shadow: 0 1px 3px rgba(26, 35, 41, 0.06);
      transition: border-color 0.15s, box-shadow 0.15s, transform 0.12s;
    }
    #dai-statement-panel button.dai-st-week-btn:hover:not(:disabled) {
      border-color: #00688D;
      background: #fff;
      box-shadow: 0 4px 14px rgba(0, 104, 141, 0.14);
      transform: translateY(-1px);
    }
    #dai-statement-panel button.dai-st-week-btn:disabled {
      opacity: .6;
      cursor: not-allowed;
      transform: none;
      box-shadow: none;
    }
    #dai-statement-panel button.dai-st-week-btn.dai-st-week-btn-inactive {
      opacity: .55;
      border-color: #e2e8ee;
    }
    #dai-statement-panel button.dai-st-week-btn.dai-st-week-btn-inactive .dai-st-week-col {
      color: #6b7580;
    }
    #dai-statement-panel button.dai-st-week-btn.dai-st-week-btn-inactive .dai-st-week-btn-chevron {
      color: #b0b8c0;
    }
    #dai-statement-panel button.dai-st-week-btn.selected {
      border-color: #00688D;
      background: linear-gradient(180deg, #f0faff 0%, #e8f6fc 100%);
      box-shadow: 0 0 0 2px rgba(0, 104, 141, 0.20);
    }
    .dai-st-week-btn-main {
      grid-column: 1;
      grid-row: 1;
      font-size: 16px;
      font-weight: 400;
      color: #1a2329;
      line-height: 1.3;
    }
    .dai-st-week-btn-dates {
      grid-column: 1;
      grid-row: 2;
      font-size: 14px;
      font-weight: 400;
      color: #6b7580;
      line-height: 1.3;
    }

    /* Picker week table (Period / Week / Invoice / Total paid) */
    #dai-statement-panel button.dai-st-week-btn.dai-st-week-btn-grid {
      grid-template-columns: var(--dai-week-col-template);
      grid-template-rows: auto;
      column-gap: var(--dai-week-col-gap);
    }
    #dai-statement-panel button.dai-st-week-btn.dai-st-week-btn-grid .dai-st-week-col {
      font-size: 16px;
      font-weight: 500;
      color: #1a2329;
      line-height: 1.3;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      min-width: 0;
    }
    #dai-statement-panel button.dai-st-week-btn.dai-st-week-btn-grid .dai-st-week-col-total {
      text-align: center;
      font-variant-numeric: tabular-nums;
      justify-self: center;
    }
    #dai-statement-panel button.dai-st-week-btn.dai-st-week-btn-grid .dai-st-week-col-access {
      text-align: center;
      font-variant-numeric: tabular-nums;
      justify-self: center;
    }
    #dai-statement-panel button.dai-st-week-btn.dai-st-week-btn-grid .dai-st-week-col-week,
    #dai-statement-panel button.dai-st-week-btn.dai-st-week-btn-grid .dai-st-week-col-invoice {
      justify-self: center;
      text-align: center;
    }

    /* Column alignment shared by header + rows */
    #dai-statement-panel .dai-st-week-col-period { justify-self: start; text-align: left; }
    #dai-statement-panel .dai-st-week-col-week { justify-self: center; text-align: center; }
    #dai-statement-panel .dai-st-week-col-invoice { justify-self: center; text-align: center; }
    #dai-statement-panel .dai-st-week-col-total { justify-self: center; text-align: center; }
    #dai-statement-panel .dai-st-week-col-access { justify-self: center; text-align: center; }
    #dai-statement-panel button.dai-st-week-btn.dai-st-week-btn-grid .dai-st-week-col-invoice,
    #dai-statement-panel button.dai-st-week-btn.dai-st-week-btn-grid .dai-st-week-col-week {
      font-variant-numeric: tabular-nums;
    }
    .dai-st-week-btn-chevron {
      grid-column: 2;
      grid-row: 1 / span 2;
      align-self: center;
      font-size: 22px;
      font-weight: 300;
      color: #89929A;
      line-height: 1;
    }
    #dai-statement-panel button.dai-st-week-btn { position: relative; }
    #dai-statement-panel button.dai-st-week-btn .dai-st-week-btn-chevron {
      position: absolute;
      right: 12px;
      top: 50%;
      transform: translateY(-50%);
      margin-top: -7px;
    }
    #dai-statement-panel button.dai-st-week-btn:hover:not(:disabled) .dai-st-week-btn-chevron {
      color: #00688D;
    }
    .dai-st-msg { padding: 12px 14px; background: #fff; border: 1px solid #CCD5DE; border-radius: 6px; margin-bottom: 12px; font-size: 15px; color: #575F67; }
    .dai-st-msg.error { background: #ffedeb; border-color: #ff4c4a; color: #c8051e; }
    .dai-st-kpi-bar-wrap {
      margin-bottom: 14px;
    }
    .dai-st-kpi-bar {
      display: grid;
      grid-template-columns: repeat(5, minmax(0, 1fr));
      gap: 7px;
    }
    .dai-st-kpi-cell {
      min-width: 0; padding: 8px 7px; text-align: center;
      border: 1px solid #89929A; border-radius: 4px;
      display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
      background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.07);
    }
    .dai-st-kpi-icon { flex-shrink: 0; width: 20px; height: 20px; color: #00688D; }
    .dai-st-kpi-content { display: flex; flex-direction: column; align-items: center; }
    .dai-st-kpi-val { font-size: 17px; font-weight: 700; color: #00688D; line-height: 1.1; }
    .dai-st-kpi-lbl { font-size: 13px; color: #89929A; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 1px; }
    .dai-st-alert {
      padding: 10px 14px; margin-bottom: 14px; font-size: 15px;
      background: #FFF8E6; border: 1px solid #F0D78C; border-radius: 6px; color: #6B5700;
    }
    .dai-st-alert--kpi { margin-top: 7px; width: fit-content; max-width: 100%; }
    .dai-st-alerts-row {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, max-content));
      gap: 10px;
      margin-top: 7px;
      margin-bottom: 14px;
      align-items: start;
    }
    .dai-st-alerts-cell { min-width: 0; max-width: 100%; }
    .dai-st-alerts-row .dai-st-alert--kpi { margin-top: 0; margin-bottom: 0; }
    .dai-st-diff-total { font-weight: 700; margin-bottom: 6px; }
    .dai-st-diff-table { display: flex; flex-direction: column; gap: 2px; font-size: 13px; font-weight: 500; }
    .dai-st-diff-row {
      display: flex; flex-wrap: wrap; gap: 0.35em 0.5em; align-items: baseline;
    }
    .dai-st-diff-id { word-break: break-all; }
    .dai-st-diff-amt { font-variant-numeric: tabular-nums; white-space: nowrap; }
    .dai-st-diff-more { grid-column: 1 / -1; color: #8a7424; font-size: 12px; }
    .dai-st-alert-tours {
      margin-top: 0; font-size: 13px; font-weight: 500; color: #6B5700; word-break: break-word;
    }
    .dai-st-alert-hint { margin-bottom: 4px; font-weight: 600; }
    .dai-st-alert--deductions {
      background: #FFF0F3; border-color: #F0B8C8; color: #8B2942;
    }
    .dai-st-deductions-total { font-weight: 700; margin-bottom: 6px; }
    .dai-st-deductions-table { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 500; }
    .dai-st-deduction-row {
      display: grid; grid-template-columns: minmax(7rem, 1.1fr) auto minmax(5rem, 1.4fr);
      gap: 0.5rem 0.75rem; align-items: baseline;
    }
    .dai-st-deduction-id { word-break: break-all; font-variant-numeric: tabular-nums; }
    .dai-st-deduction-amt { font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
    .dai-st-deduction-reason { color: #A33D55; word-break: break-word; }
    .dai-st-deduction-more { color: #A33D55; font-size: 12px; margin-top: 2px; }
    .dai-st-loader-wrap {
      display: flex; justify-content: center; align-items: center;
      min-height: 140px; margin: 24px 0 32px; padding: 0;
      background: none; border: none;
    }
    .dai-st-loader {
      display: flex; flex-direction: column; align-items: center;
      gap: 16px; padding: 0; margin: 0;
      background: none; border: none; box-shadow: none;
      text-align: center; max-width: 320px; width: 100%;
    }
    .dai-st-loader-ring {
      width: 40px; height: 40px;
      border: 3px solid #E9EBEF;
      border-top-color: #00A8E1;
      border-radius: 50%;
      animation: dai-st-spin 0.75s linear infinite;
    }
    @keyframes dai-st-spin { to { transform: rotate(360deg); } }
    .dai-st-loader-body { width: 100%; min-width: 0; }
    .dai-st-loader-text {
      font-size: 20px; font-weight: 500; color: #222B32; line-height: 1.35;
    }
    .dai-st-driver {
      background: transparent; border: none;
      margin-bottom: 16px; overflow: visible;
    }
    .dai-st-driver-pay-summary {
      margin-top: 24px;
      margin-bottom: 0;
    }
    .dai-st-driver-pay-summary .dai-st-pay-summary-driver {
      text-align: left;
    }
    .dai-st-driver-head {
      padding: 0 4px 0; font-weight: 600;
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto;
      grid-template-rows: auto auto auto auto auto;
      align-items: start;
      gap: 2px 12px;
    }
    .dai-st-head-left-row {
      grid-column: 1;
      justify-self: start;
      text-align: left;
      padding-left: 6%;
      padding-right: 8px;
      font-size: 16px;
      font-weight: 400;
      color: #222B32;
      line-height: 1.4;
      min-width: 0;
      max-width: 100%;
    }
    .dai-st-head-row-carrier { grid-row: 1; }
    .dai-st-head-row-address { grid-row: 2; }
    .dai-st-head-row-email { grid-row: 3; }
    .dai-st-head-row-phone { grid-row: 4; }
    .dai-st-head-right-row {
      grid-column: 3;
      justify-self: end;
      text-align: right;
      padding-right: 6%;
      padding-left: 8px;
      min-width: 0;
      max-width: 100%;
      font-size: 16px;
      font-weight: 600;
      color: #222B32;
      line-height: 1.35;
      white-space: normal;
      overflow-wrap: anywhere;
      word-break: break-word;
    }
    .dai-st-head-right-row.dai-st-head-row-address {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 6px;
      align-self: end;
    }
    .dai-st-head-right-row.dai-st-head-row-email {
      display: flex;
      align-items: center;
      justify-content: flex-end;
    }
    .dai-st-head-center-col {
      grid-column: 2;
      justify-self: center;
      text-align: center;
      white-space: normal;
      padding: 0 4px;
      min-width: 0;
    }
    .dai-st-head-center-col.dai-st-head-row-address {
      grid-row: 2;
      align-self: start;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    .dai-st-head-center-col.dai-st-head-row-email {
      grid-row: 3;
      align-self: center;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .dai-st-card-actions {
      grid-column: 4;
      grid-row: 1 / 5;
      align-self: end;
      justify-self: end;
      display: flex;
      align-items: center;
      gap: 6px;
      flex-shrink: 0;
    }
    .dai-st-head-rule {
      grid-column: 1 / -1;
      grid-row: 5;
      display: block;
      width: 100%;
      height: 1px;
      background: #CCD5DE;
      border: none;
      margin: 8px 0 0;
    }
    .dai-st-driver-body {
      background: #fff;
      border: 1px solid #CCD5DE;
      border-radius: 6px;
      overflow: hidden;
      margin-top: 12px;
    }
    .dai-st-driver-foot {
      padding: 12px 3% 0 6%;
      background: transparent;
      text-align: right;
    }
    .dai-st-final-pay-wrap {
      display: inline-block;
      max-width: 100%;
      text-align: right;
    }
    .dai-st-final-pay {
      display: flex;
      justify-content: flex-end;
      align-items: baseline;
      gap: 10px;
      font-size: 16px;
      font-weight: 600;
      color: #222B32;
      line-height: 1.35;
    }
    .dai-st-final-pay-amt {
      font-weight: 700;
      color: #0d7a48;
    }
    .dai-st-final-pay-rule {
      height: 1px;
      background: #CCD5DE;
      margin: 10px -10px 0;
      width: calc(100% + 20px);
    }
    .dai-st-driver.dai-st-driver-editing .dai-st-driver-body {
      outline: 2px solid #00688D;
      outline-offset: -1px;
      border-radius: 6px;
    }
    #dai-statement-panel.dai-st-editing .dai-st-driver:not(.dai-st-driver-editing) {
      opacity: 0.72;
    }
    .dai-st-carrier-info { display: flex; flex-direction: column; gap: 2px; }
    .dai-st-carrier-row {
      display: grid;
      grid-template-columns: auto 1fr;
      gap: 0 6px;
      align-items: start;
    }
    .dai-st-carrier-lbl { font-weight: 600; white-space: nowrap; }
    .dai-st-carrier-val { font-weight: 400; min-width: 0; }
    .dai-st-carrier-addr-l1,
    .dai-st-carrier-addr-l2 { display: block; }
    .dai-st-carrier-phone-row {
      align-items: center;
      min-height: 34px;
    }
    .dai-st-driver-center,
    .dai-st-head-center-col {
      justify-self: center;
      text-align: center;
      white-space: normal;
      padding: 0 4px;
    }
    .dai-st-driver-statement {
      display: block; font-size: 16px; font-weight: 600; color: #222B32; line-height: 1.35;
    }
    .dai-st-driver-dates { display: block; font-size: 16px; font-weight: 600; color: #222B32; margin-top: 2px; }
    .dai-st-driver-week { display: block; font-size: 16px; font-weight: 500; color: #575F67; line-height: 1.35; }
    .dai-st-driver-name-line,
    .dai-st-driver-right {
      width: 100%;
      min-width: 0;
      max-width: 100%;
    }
    .dai-st-driver-unit-lbl { flex-shrink: 0; }
    .dai-st-driver-unit-line {
      display: inline-flex;
      align-items: center;
      justify-content: flex-end;
      flex-wrap: wrap;
      gap: 6px;
      max-width: 100%;
    }
    .dai-st-driver-unit-line .dai-st-driver-unit-input { width: 5.5em; min-width: 48px; }
    .dai-st-sync-wrap {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      flex-shrink: 0;
    }
    .dai-st-sync-label {
      font-size: 13px;
      font-weight: 400;
      color: #8B929A;
      line-height: 1.2;
      white-space: nowrap;
    }
    .dai-st-sync-label.dai-st-sync-label--fail { color: #D64545; }
    #dai-statement-panel button.dai-st-card-sync-btn--done {
      color: #8B929A;
      pointer-events: none;
    }
    #dai-statement-panel button.dai-st-card-sync-btn--fail {
      color: #D64545;
      pointer-events: none;
    }
    .dai-st-driver table.dai-st-grid-table {
      width: 100%; font-size: 14px;
      table-layout: fixed;
      border-collapse: collapse;
    }
    /* Trip/Pickup 11% each, Route 40%, tail (DEL/Miles/Rate/Pay) сжаты */
    .dai-st-driver table.dai-st-grid-table col.stmt-col:not(.stmt-col-route):not(.stmt-col-tail) { width: 11%; }
    .dai-st-driver table.dai-st-grid-table col.stmt-col-route { width: 40%; }
    .dai-st-driver table.dai-st-grid-table col.stmt-col-tail { width: 9.5%; }
    .dai-st-driver table.dai-st-grid-table th,
    .dai-st-driver table.dai-st-grid-table td {
      padding: 10px 12px; border-top: 1px solid #E9EBEF;
      box-sizing: border-box; vertical-align: middle;
      overflow: hidden; text-overflow: ellipsis;
    }
    .dai-st-driver table.dai-st-grid-table thead th:nth-child(n+4),
    .dai-st-driver table.dai-st-grid-table tbody tr.dai-st-trip-row > td:nth-child(n+4),
    .dai-st-driver table.dai-st-grid-table tbody tr.dai-st-trip-total > td:nth-child(n+4) {
      padding-left: 1px;
      padding-right: 1px;
    }
    .dai-st-driver table.dai-st-grid-table thead th {
      background: #F7F6F8; color: #000; font-weight: 600;
      font-size: 14px; line-height: 1.3; text-align: center;
      white-space: normal; word-break: break-word;
    }
    .dai-st-driver table.dai-st-grid-table thead th.dai-st-route-hdr {
      white-space: nowrap;
      padding-left: 8px;
      padding-right: 8px;
      text-align: center;
    }
    .dai-st-route-hdr {
      display: block;
      text-align: center;
      width: 100%;
    }
    .dai-st-driver table.dai-st-grid-table tbody tr.dai-st-trip-row td,
    .dai-st-driver table.dai-st-grid-table tbody tr.dai-st-trip-total td {
      text-align: center;
    }
    .dai-st-driver table.dai-st-grid-table tbody tr.dai-st-trip-row td.num,
    .dai-st-driver table.dai-st-grid-table tbody tr.dai-st-trip-total td.num,
    .dai-st-driver table.dai-st-grid-table thead th.num {
      white-space: nowrap;
    }
    .dai-st-driver table.dai-st-grid-table tbody tr.dai-st-trip-row > td.dai-st-route-cell {
      white-space: normal; word-break: normal;
      padding-left: 8px; padding-right: 8px;
    }
    .dai-st-route-cell {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
      align-items: center;
      column-gap: 6px;
      width: 100%;
    }
    .dai-st-route-pu,
    .dai-st-route-pu-wrap {
      min-width: 0;
      text-align: right;
    }
    .dai-st-route-del,
    .dai-st-route-del-wrap {
      min-width: 0;
      text-align: left;
    }
    .dai-st-route-pu,
    .dai-st-route-del {
      overflow: hidden;
      white-space: normal;
      overflow-wrap: anywhere;
      word-break: break-word;
      line-height: 1.25;
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
    }
    .dai-st-route-sep {
      flex: 0 0 auto;
      color: #575F67;
      font-weight: 600;
      padding: 0 2px;
      line-height: 1;
      user-select: none;
    }
    .dai-st-driver-export {
      box-sizing: border-box;
    }
    .dai-st-driver table.dai-st-grid-table tbody tr.dai-st-section-head-row td,
    .dai-st-driver table.dai-st-grid-table tbody tr.dai-st-subhead-row td,
    .dai-st-driver table.dai-st-grid-table tbody tr.dai-st-stmt-line td,
    .dai-st-driver table.dai-st-grid-table tbody tr.dai-st-stmt-total td,
    .dai-st-driver table.dai-st-grid-table tbody tr.dai-st-net-row td {
      text-align: left;
    }
    .dai-st-driver table.dai-st-grid-table tbody tr.dai-st-section-head-row td.dai-st-col-amount,
    .dai-st-driver table.dai-st-grid-table tbody tr.dai-st-subhead-row td.dai-st-col-amount,
    .dai-st-driver table.dai-st-grid-table tbody tr.dai-st-stmt-line td.dai-st-col-amount,
    .dai-st-driver table.dai-st-grid-table tbody tr.dai-st-stmt-total td.dai-st-col-amount,
    .dai-st-driver table.dai-st-grid-table tbody tr.dai-st-net-row td.dai-st-col-amount {
      text-align: center;
      padding-left: 8px;
      padding-right: 8px;
    }
    .dai-st-driver tr.dai-st-indented-row > td:first-child {
      padding-left: 32px !important;
    }
    .dai-st-driver table.dai-st-grid-table td.stmt-grid-pad {
      padding: 8px 12px; border-top: 1px solid #E9EBEF;
    }
    .dai-st-driver tr.dai-st-section-head-row td.stmt-grid-pad,
    .dai-st-driver tr.dai-st-subhead-row td.stmt-grid-pad,
    .dai-st-driver tr.dai-st-stmt-total td.stmt-grid-pad {
      background: #F7F6F8;
    }
    .dai-st-driver tr.dai-st-stmt-line td.stmt-grid-pad,
    .dai-st-driver tr.dai-st-net-row td.stmt-grid-pad {
      background: #fff;
    }
    .dai-st-driver table.dai-st-grid-table tbody tr.dai-st-section-head-row > td,
    .dai-st-driver table.dai-st-grid-table tbody tr.dai-st-trip-total > td,
    .dai-st-driver table.dai-st-grid-table tbody tr.dai-st-stmt-total > td {
      background: #F7F6F8;
      color: #000;
      font-weight: 600;
      font-size: 14px;
      line-height: 1.3;
      border-top: 1px solid #E9EBEF;
    }
    .dai-st-driver table.dai-st-grid-table tbody tr.dai-st-section-head-row td.dai-st-col-amount,
    .dai-st-driver table.dai-st-grid-table tbody tr.dai-st-section-head-row td.dai-st-col-notes {
      text-align: center;
    }
    .dai-st-driver table.dai-st-grid-table tbody tr.dai-st-net-row > td {
      font-weight: 600; background: #F7F6F8; border-top: 2px solid #CCD5DE;
      color: #000;
    }
    .dai-st-driver table.dai-st-grid-table tbody tr.dai-st-section-head-row > td.stmt-grid-pad,
    .dai-st-driver table.dai-st-grid-table tbody tr.dai-st-stmt-total > td.stmt-grid-pad {
      border-top: 1px solid #E9EBEF;
    }
    .dai-st-driver table.dai-st-grid-table tbody tr.dai-st-net-row > td.stmt-grid-pad {
      border-top: 2px solid #CCD5DE;
    }
    .dai-st-driver tr.dai-st-subhead-row { background: #F7F6F8; }
    .dai-st-driver tr.dai-st-subhead-row td {
      padding: 6px 12px; font-size: 14px; font-weight: 600; color: #000;
      background: #F7F6F8; border-top: 1px solid #E9EBEF;
    }
    .dai-st-driver tr.dai-st-net-row td { font-weight: 600; }
    .dai-st-driver tr.dai-st-net-row td.dai-st-col-amount { color: #0d7a48; }
    .dai-st-driver-editing .dai-st-driver-head { pointer-events: none; }
    .dai-st-driver-editing .dai-st-head-right-row,
    .dai-st-driver-editing .dai-st-driver-name-line,
    .dai-st-driver-editing .dai-st-driver-name-input,
    .dai-st-driver-editing .dai-st-driver-unit-input,
    .dai-st-driver-editing .dai-st-card-actions { pointer-events: auto; }
    .dai-st-cell-wrap {
      position: relative;
      overflow: visible;
      text-overflow: clip;
    }
    .dai-st-cell-input {
      width: 100%;
      min-width: 0;
      padding: 4px 6px;
      border: 1px solid #CCD5DE;
      border-radius: 4px;
      font: inherit;
      font-size: 14px;
      background: #fff;
      text-align: center;
      box-sizing: border-box;
    }
    .dai-st-amt-edit-cell {
      overflow: visible;
      text-overflow: clip;
    }
    .dai-st-amt-edit-row {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      width: 100%;
    }
    .dai-st-amt-edit-row .dai-st-cell-input {
      flex: 1 1 auto;
      width: 100%;
      min-width: 0;
    }
    .dai-st-amt-edit-row .dai-st-row-btn-inline {
      position: static;
      transform: none;
      flex: 0 0 auto;
    }
    .dai-st-note-edit-row {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      width: 100%;
      min-width: 0;
    }
    .dai-st-note-edit-row .dai-st-cell-input {
      flex: 1 1 auto;
      min-width: 0;
      width: 100%;
      max-width: 100%;
      text-align: center;
    }
    .dai-st-note-edit-row .dai-st-row-btn-inline {
      position: static;
      transform: none;
      flex: 0 0 auto;
    }
    .dai-st-driver table.dai-st-grid-table tbody tr.dai-st-section-head-row td.dai-st-col-notes,
    .dai-st-driver table.dai-st-grid-table tbody tr.dai-st-subhead-row td.dai-st-col-notes {
      text-align: center;
      padding-left: 8px;
      padding-right: 8px;
      vertical-align: middle;
    }
    .dai-st-driver table.dai-st-grid-table tbody tr.dai-st-stmt-line td.dai-st-col-notes,
    .dai-st-driver table.dai-st-grid-table tbody tr.dai-st-stmt-total td.dai-st-col-notes {
      text-align: center;
      padding-left: 8px;
      padding-right: 8px;
      vertical-align: middle;
    }
    .dai-st-row-btn-inline {
      position: absolute;
      right: 4px;
      top: 50%;
      transform: translateY(-50%);
      z-index: 2;
      min-width: 22px;
      padding: 1px 5px !important;
      line-height: 1.1 !important;
    }
    .dai-st-trip-row-actions {
      position: absolute;
      right: 4px;
      top: 50%;
      transform: translateY(-50%);
      display: flex;
      align-items: center;
      gap: 4px;
      z-index: 2;
    }
    .dai-st-trip-row-actions .dai-st-row-btn-inline {
      position: static;
      transform: none;
      flex: 0 0 auto;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 22px;
      height: 22px;
      min-width: 22px;
      padding: 0 !important;
      box-sizing: border-box;
    }
    .dai-st-row-forward-icon {
      display: block;
      width: 14px;
      height: 14px;
      flex: 0 0 auto;
    }
    .dai-st-add-trip-row > td {
      padding-left: 32px;
    }
    .dai-st-driver table.dai-st-grid-table tbody tr.dai-st-stmt-line .dai-st-cell-input:not([data-field="note"]) {
      text-align: left;
    }
    .dai-st-driver table.dai-st-grid-table tbody tr.dai-st-stmt-line .dai-st-cell-input.num {
      text-align: center;
    }
    .dai-st-driver table.dai-st-grid-table tbody tr.dai-st-stmt-line td.dai-st-col-notes .dai-st-cell-input,
    .dai-st-driver table.dai-st-grid-table tbody tr.dai-st-stmt-line td.dai-st-col-notes .dai-st-cell-input:focus,
    .dai-st-driver table.dai-st-grid-table tbody tr.dai-st-stmt-line td.dai-st-col-notes .dai-st-cell-input::placeholder {
      text-align: center;
    }
    .dai-st-cell-input:focus { outline: none; border-color: #00688D; }
    #dai-statement-panel input[type="number"]::-webkit-inner-spin-button,
    #dai-statement-panel input[type="number"]::-webkit-outer-spin-button {
      -webkit-appearance: none;
      margin: 0;
    }
    #dai-statement-panel input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
    .dai-st-driver table.dai-st-grid-table td.dai-st-date-cell {
      position: relative;
      overflow: visible;
      vertical-align: middle;
    }
    #dai-statement-panel button.dai-st-date-trigger {
      display: flex;
      align-items: stretch;
      justify-content: center;
      width: 100%;
      min-width: 0;
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      border: 1px solid #CCD5DE;
      border-radius: 4px;
      background: #fff;
      font: inherit;
      font-size: 14px;
      font-weight: 400;
      line-height: 1.35;
      color: #232F3E;
      text-align: center;
      cursor: pointer;
      overflow: hidden;
    }
    #dai-statement-panel button.dai-st-date-trigger:hover,
    #dai-statement-panel button.dai-st-date-trigger:focus {
      border-color: #00688D;
      outline: none;
    }
    #dai-statement-panel button.dai-st-date-trigger:hover .dai-st-date-icon,
    #dai-statement-panel button.dai-st-date-trigger:focus .dai-st-date-icon {
      background-color: #eef6f9;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%2300688D' d='M5 1V0h2v1h4V0h2v1h2v3H1V1h4zm9 5H2v9h12V6zM4 8h2v2H4V8zm4 0h2v2H8V8zm4 0h2v2h-2V8zM4 11h2v2H4v-2zm4 0h2v2H8v-2zm4 0h2v2h-2v-2z'/%3E%3C/svg%3E");
    }
    .dai-st-date-label {
      flex: 1 1 auto;
      min-width: 0;
      padding: 4px 6px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      text-align: center;
    }
    .dai-st-date-icon {
      flex: 0 0 30px;
      width: 30px;
      min-height: 28px;
      border-left: 1px solid #E9EBEF;
      background: #F7F6F8 center / 16px 16px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%2389929A' d='M5 1V0h2v1h4V0h2v1h2v3H1V1h4zm9 5H2v9h12V6zM4 8h2v2H4V8zm4 0h2v2H8V8zm4 0h2v2h-2V8zM4 11h2v2H4v-2zm4 0h2v2H8v-2zm4 0h2v2h-2v-2z'/%3E%3C/svg%3E");
    }
    .dai-st-date-input {
      position: absolute;
      left: 0;
      top: 0;
      width: 1px;
      height: 1px;
      opacity: 0;
      pointer-events: none;
      border: none;
      padding: 0;
      margin: 0;
    }
    .dai-st-date-popover {
      position: fixed;
      z-index: 2147483646;
      min-width: 252px;
      padding: 10px;
      border: 1px solid #CCD5DE;
      border-radius: 6px;
      background: #fff;
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
      font-size: 14px;
      color: #232F3E;
    }
    .dai-st-date-popover[hidden] { display: none !important; }
    .dai-st-date-popover-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      margin-bottom: 8px;
    }
    .dai-st-date-popover-title {
      flex: 1;
      text-align: center;
      font-weight: 600;
      font-size: 14px;
    }
    #dai-statement-panel button.dai-st-date-nav,
    .dai-st-date-popover button.dai-st-date-nav {
      flex: 0 0 28px;
      width: 28px;
      height: 28px;
      margin: 0;
      padding: 0 !important;
      border: 1px solid #CCD5DE !important;
      border-radius: 4px !important;
      background: #fff !important;
      font-size: 18px !important;
      line-height: 1;
      color: #575F67 !important;
      cursor: pointer;
    }
    #dai-statement-panel button.dai-st-date-nav:hover,
    .dai-st-date-popover button.dai-st-date-nav:hover {
      border-color: #00688D !important;
      color: #00688D !important;
    }
    .dai-st-date-popover-weekdays,
    .dai-st-date-popover-days {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      gap: 2px;
    }
    .dai-st-date-popover-weekdays span {
      text-align: center;
      font-size: 11px;
      font-weight: 600;
      color: #89929A;
      padding: 2px 0 4px;
    }
    .dai-st-date-popover-days .dai-st-date-pad { min-height: 30px; }
    #dai-statement-panel button.dai-st-date-day,
    .dai-st-date-popover button.dai-st-date-day {
      min-height: 30px;
      margin: 0;
      padding: 0 !important;
      border: none !important;
      border-radius: 4px !important;
      background: transparent !important;
      font-size: 13px !important;
      font-weight: 400 !important;
      color: #232F3E !important;
      cursor: pointer;
    }
    #dai-statement-panel button.dai-st-date-day:hover,
    .dai-st-date-popover button.dai-st-date-day:hover {
      background: #eef6f9 !important;
      color: #00688D !important;
    }
    #dai-statement-panel button.dai-st-date-day.selected,
    .dai-st-date-popover button.dai-st-date-day.selected {
      background: #00688D !important;
      color: #fff !important;
    }
    .dai-st-route-edit {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
      align-items: center;
      column-gap: 4px;
      width: 100%;
    }
    .dai-st-route-edit .dai-st-route-pu-wrap,
    .dai-st-route-edit .dai-st-route-del-wrap { min-width: 0; }
    .dai-st-route-edit .dai-st-route-pu-wrap .dai-st-cell-input {
      width: 100%; text-align: right;
    }
    .dai-st-route-edit .dai-st-route-del-wrap .dai-st-cell-input {
      width: 100%; text-align: left;
    }
    .dai-st-pct-input {
      width: 34px;
      padding: 1px 4px;
      border: 1px solid #CCD5DE;
      border-radius: 4px;
      font: inherit;
      font-size: 13px;
      text-align: center;
      box-sizing: border-box;
    }
    thead .dai-st-pct-input,
    .dai-st-pct-input-header {
      font-size: 14px;
    }
    .dai-st-pct-input-header[data-pct-varies="1"]::placeholder {
      color: #575F67;
      font-size: 14px;
      font-weight: 500;
    }
    .dai-st-trip-pay-edit {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      padding-right: 52px;
      box-sizing: border-box;
    }
    .dai-st-trip-pct-wrap {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 1px;
      width: auto;
      max-width: 58px;
      margin: 0 auto;
      color: #575F67;
      font-size: 14px;
      line-height: normal;
    }
    .dai-st-trip-pay-cell .dai-st-trip-pct-input.dai-st-cell-input {
      color: #575F67;
      flex: 0 1 auto;
      width: 44px;
      min-width: 0;
      max-width: 44px;
      padding-left: 3px;
      padding-right: 3px;
    }
    .dai-st-trip-pct-suffix {
      flex: 0 0 auto;
      color: #575F67;
      font-size: 14px;
      line-height: 1;
    }
    .dai-st-trip-pct-view {
      font-size: 14px;
      font-weight: 500;
      color: #575F67;
      white-space: nowrap;
    }
    .dai-st-driver-name-input,
    .dai-st-driver-unit-input {
      width: 100%;
      min-width: 0;
      max-width: 300px;
      padding: 5px 10px;
      border: 1px solid #CCD5DE;
      border-radius: 4px;
      font: inherit;
      font-size: 16px;
      font-weight: 600;
      text-align: right;
      box-sizing: border-box;
    }
    .dai-st-driver-unit-input {
      flex: 0 1 auto;
      width: auto;
      min-width: 72px;
      max-width: 140px;
    }
    .dai-st-driver-editing .dai-st-head-right-row.dai-st-head-row-email {
      min-width: 0;
      width: 100%;
    }
    .dai-st-driver table.dai-st-grid-table td.dai-st-row-actions,
    .dai-st-driver table.dai-st-grid-table th.dai-st-row-actions {
      overflow: visible;
      text-overflow: clip;
      width: 52px;
      min-width: 52px;
      max-width: 52px;
      padding: 6px 4px;
      text-align: center;
      white-space: nowrap;
    }
    .dai-st-row-actions { text-align: center; white-space: nowrap; }
    .dai-st-row-btn {
      padding: 2px 6px !important;
      border: 1px solid #CCD5DE !important;
      border-radius: 4px !important;
      background: #fff !important;
      font-size: 13px !important;
      line-height: 1.2;
      cursor: pointer;
      color: #575F67;
    }
    .dai-st-row-btn:hover { border-color: #00688D !important; color: #00688D !important; }
    .dai-st-row-btn.danger:hover { border-color: #c8051e !important; color: #c8051e !important; }
    .dai-st-add-row-btn {
      margin: 6px 0 4px;
      padding: 5px 10px !important;
      font-size: 14px !important;
      color: #00688D !important;
      background: #fff !important;
    }
    .dai-st-add-row-btn:hover {
      border-color: #00688D !important;
      background: #E8F4F8 !important;
    }
    .dai-st-amt-pos { color: #0d7a48; font-weight: 600; }
    .dai-st-amt-neg { color: #c8051e; font-weight: 600; }
    #dai-statement-panel button.dai-st-icon-btn:disabled { opacity: .35; cursor: default; }
  