
/* Sticky day-sheet header: solid smoky plate so scrolled content cannot show through (WebKit / iPhone Safari). */
html body dialog.gaffalo-day-dialog .modal-header,
html body .gaffalo-day-dialog .modal-header{
  position:sticky;
  top:0;
  z-index:8;
  isolation:isolate;
  background-color:#141614!important;
  background-image:linear-gradient(180deg,rgba(255,255,255,.05),transparent 70%)!important;
  -webkit-backdrop-filter:blur(16px) saturate(1.15);
  backdrop-filter:blur(16px) saturate(1.15);
  border-bottom:1px solid rgba(255,255,255,.12)!important;
}
html body dialog.gaffalo-day-dialog .modal-header::before,
html body .gaffalo-day-dialog .modal-header::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:#141614;
  pointer-events:none;
}
html[data-theme=bright] body dialog.gaffalo-day-dialog .modal-header,
html[data-theme=bright] body .gaffalo-day-dialog .modal-header{
  background-color:#f3eee3!important;
  background-image:linear-gradient(180deg,#f6f1e6,#f0eadd)!important;
}
html[data-theme=bright] body dialog.gaffalo-day-dialog .modal-header::before,
html[data-theme=bright] body .gaffalo-day-dialog .modal-header::before{background:#f3eee3}

/* #325 Option E day sheet (B+C mix). Paint and layout only for .day-sheet-e; field IDs and save paths stay. */
.gaffalo-day-dialog .day-sheet-e{display:flex;flex-direction:column;gap:0;padding:0 0 8px}
.gaffalo-day-dialog .day-sheet-e .dse-hero{padding:2px 4px 10px}
.gaffalo-day-dialog .day-sheet-e .entry-hours-confirmation{background:none;border:0;box-shadow:none;padding:0;margin:0}
.gaffalo-day-dialog .day-sheet-e .entry-confirm-heading,
.gaffalo-day-dialog .day-sheet-e .entry-hour-grid,
.gaffalo-day-dialog .day-sheet-e .entry-confirm-note,
.gaffalo-day-dialog .day-sheet-e .entry-result > details,
.gaffalo-day-dialog .day-sheet-e .entry-result .fold{display:none}
.gaffalo-day-dialog .day-sheet-e .preview-sum{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:0}
.gaffalo-day-dialog .day-sheet-e .preview-sum > span{font:650 10.5px/1 'DM Sans',Figtree,sans-serif;letter-spacing:.16em;text-transform:uppercase;color:#c9d6c4}
.gaffalo-day-dialog .day-sheet-e .preview-sum > strong.money,
.gaffalo-day-dialog .day-sheet-e .preview-sum .money{font:800 36px/.9 Figtree,sans-serif;letter-spacing:-.045em;color:#8aca75;font-variant-numeric:tabular-nums}
.gaffalo-day-dialog .day-sheet-e .day-pay-math{font:550 13px/1.35 Figtree,sans-serif;color:#9aa59a;font-variant-numeric:tabular-nums;margin:0}

.gaffalo-day-dialog .day-sheet-e .dse-sec-label{font:650 10.5px/1 'DM Sans',Figtree,sans-serif;letter-spacing:.16em;text-transform:uppercase;color:#c5d1c3;padding:8px 6px 6px}
.gaffalo-day-dialog .day-sheet-e .dse-group{border-radius:14px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.10);box-shadow:inset 0 1px 0 rgba(255,255,255,.06);margin-bottom:8px;overflow:hidden}

.gaffalo-day-dialog .day-sheet-e .dse-times{display:flex;align-items:center;gap:10px;padding:14px 14px 8px}
.gaffalo-day-dialog .day-sheet-e .dse-tchip{position:relative;display:inline-flex;flex-direction:column;align-items:flex-start;gap:2px;flex:none;margin:0}
.gaffalo-day-dialog .day-sheet-e .dse-tchip > span:first-child{font:600 10px/1 'DM Sans',Figtree,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#9aa59a;padding-left:2px}
.gaffalo-day-dialog .day-sheet-e .dse-tchip-face{display:inline-flex;align-items:center;justify-content:center;min-width:96px;height:40px;padding:0 12px;border-radius:14px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.14);font:750 17px/1 Figtree,sans-serif;letter-spacing:-.03em;font-variant-numeric:tabular-nums;color:#f3f7f2}
.gaffalo-day-dialog .day-sheet-e .dse-tchip-input{position:absolute;left:0;right:0;bottom:0;height:40px;opacity:0;width:100%;margin:0;padding:0;border:0;cursor:pointer}
.gaffalo-day-dialog .day-sheet-e .dse-rule{flex:1;height:2px;background:linear-gradient(90deg,rgba(92,194,60,0),rgba(92,194,60,.55),rgba(92,194,60,0));position:relative}
.gaffalo-day-dialog .day-sheet-e .dse-rule b{position:absolute;left:50%;top:-8px;transform:translateX(-50%);font:700 11px/1 Figtree,sans-serif;color:#8aca75;background:#171917;padding:0 6px;letter-spacing:.02em;white-space:nowrap}
.gaffalo-day-dialog .day-sheet-e .dse-hint,
.gaffalo-day-dialog .day-sheet-e .automatic-wrap-hint{font:500 11.5px/1.35 Figtree,sans-serif;color:#7b857b;padding:0 14px 8px;margin:0;font-variant-numeric:tabular-nums}
.gaffalo-day-dialog .day-sheet-e .dse-link{appearance:none;border:0;background:none;padding:0;color:#b8f59a;font:600 11.5px/1.35 Figtree,sans-serif;cursor:pointer}
.gaffalo-day-dialog .day-sheet-e .day-entry-method{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}

.gaffalo-day-dialog .day-sheet-e .dse-chips{display:flex;flex-wrap:wrap;gap:8px;padding:4px 14px 14px}
.gaffalo-day-dialog .day-sheet-e .dse-chips-time{padding:0 14px 8px}
.gaffalo-day-dialog .day-sheet-e .dse-chips-time[hidden]{display:none}
.gaffalo-day-dialog .day-sheet-e .dse-chips-kind{padding:10px 14px 14px;margin:0;border-top:1px solid rgba(255,255,255,.10)}
.gaffalo-day-dialog .day-sheet-e .dse-chip{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 13px;border-radius:99px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.05);color:#e4ebe3;font:650 13.5px/1 Figtree,sans-serif;cursor:pointer}
.gaffalo-day-dialog .day-sheet-e .dse-chip.on{border-color:rgba(92,194,60,.45);background:rgba(92,194,60,.14);color:#b8f59a;box-shadow:inset 0 0 0 1px rgba(92,194,60,.12)}
.gaffalo-day-dialog .day-sheet-e .dse-chip .dot{width:6px;height:6px;border-radius:50%;background:currentColor;opacity:.8}
.gaffalo-day-dialog .day-sheet-e .dse-chip .chev{width:5px;height:9px;opacity:.45;margin-left:1px}
.gaffalo-day-dialog .day-sheet-e #dse-activity-chip,
.gaffalo-day-dialog .day-sheet-e .dse-activity-chip{
  --dt-c:#84a879;
  background:color-mix(in srgb,var(--dt-c) 18%,transparent);
  border:1.5px solid color-mix(in srgb,var(--dt-c) 78%,transparent);
  color:color-mix(in srgb,var(--dt-c) 55%,#fff);
  box-shadow:inset 0 1px 0 color-mix(in srgb,var(--dt-c) 28%,transparent),0 0 0 1px color-mix(in srgb,var(--dt-c) 16%,transparent);
  font-weight:700;
}
.gaffalo-day-dialog .day-sheet-e #dse-activity-chip .chev,
.gaffalo-day-dialog .day-sheet-e .dse-activity-chip .chev{color:inherit;opacity:.75}

/* Existing controls stay in the form; hide raw auto-clock / break / activity when chips represent them. */
/* #327: skip fields stay in the form for save, but never take a This day row. Position & pay sits under Venue. */
.gaffalo-day-dialog .day-sheet-e .flow-noauto,
.gaffalo-day-dialog .day-sheet-e .flow-noauto-fields{display:none!important}

.gaffalo-day-dialog .day-sheet-e .flow-autoclock,
.gaffalo-day-dialog .day-sheet-e .optional-break-control:not(.is-open) .break-minutes-field,
.gaffalo-day-dialog .day-sheet-e .dse-schedule .optional-break-control{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.gaffalo-day-dialog .day-sheet-e .optional-break-control.is-open{position:static;width:auto;height:auto;clip:auto;overflow:visible;padding:0 14px 12px}

.gaffalo-day-dialog .day-sheet-e .dse-details .day-fields{display:block;padding:0}
.gaffalo-day-dialog .day-sheet-e .dse-details .day-fields .field:last-child{/* activity select stays for a11y/value, visually a row hidden in favor of the chip */}
.gaffalo-day-dialog .day-sheet-e #entry-day-type-field{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.gaffalo-day-dialog .day-sheet-e .dse-details{min-width:0;max-width:100%;overflow-x:hidden}
.gaffalo-day-dialog .day-sheet-e .dse-row,
.gaffalo-day-dialog .day-sheet-e .dse-details .field,
.gaffalo-day-dialog .day-sheet-e .dse-details .loc-day,
.gaffalo-day-dialog .day-sheet-e .dse-details .flow-noauto,
.gaffalo-day-dialog .day-sheet-e .dse-details .day-work-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:42px;padding:0 14px;margin:0;border:0;background:none;box-shadow:none;position:relative;min-width:0;max-width:100%;box-sizing:border-box}
.gaffalo-day-dialog .day-sheet-e .dse-details .field + .field,
.gaffalo-day-dialog .day-sheet-e .dse-details .day-work-summary,
.gaffalo-day-dialog .day-sheet-e .dse-details .loc-day,
.gaffalo-day-dialog .day-sheet-e .dse-details .flow-noauto,
.gaffalo-day-dialog .day-sheet-e .dse-details .day-pay-options{border-top:1px solid rgba(255,255,255,.10)}
.gaffalo-day-dialog .day-sheet-e .dse-details label,
.gaffalo-day-dialog .day-sheet-e .dse-details .day-settings-title strong,
.gaffalo-day-dialog .day-sheet-e .dse-details .loc-day b,
.gaffalo-day-dialog .day-sheet-e .dse-details .flow-noauto span{font:600 16px/1.2 Figtree,sans-serif;color:#f3f6f2}
.gaffalo-day-dialog .day-sheet-e .dse-details .day-settings-title small,
.gaffalo-day-dialog .day-sheet-e .dse-details .loc-day small{display:block;font:500 12px/1.25 Figtree,sans-serif;color:#9aa59a;margin-top:2px}
.gaffalo-day-dialog .day-sheet-e .dse-details .field,
.gaffalo-day-dialog .day-sheet-e .dse-details .field.day-work-summary{flex-direction:row!important;align-items:center!important;gap:12px}
.gaffalo-day-dialog .day-sheet-e .dse-details .field label{margin:0;flex:none;letter-spacing:0;text-transform:none;font:600 16px/1.2 Figtree,sans-serif;color:#f3f6f2}
.gaffalo-day-dialog .day-sheet-e .dse-details input,
.gaffalo-day-dialog .day-sheet-e .dse-details textarea{appearance:none!important;-webkit-appearance:none!important;border:0!important;background:transparent!important;box-shadow:none!important;color:#c5d0c4;font:500 16px/1 Figtree,sans-serif;text-align:right;width:auto!important;max-width:62%;min-height:0!important;height:auto!important;padding:0!important}
.gaffalo-day-dialog .day-sheet-e .dse-details textarea{min-height:24px!important;resize:none}
.gaffalo-day-dialog .day-sheet-e .dse-details .loc-empty{color:#7b857b;font-weight:550}
.gaffalo-day-dialog .day-sheet-e .dse-details details.fold.day-pay-options{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;
  gap:0;min-height:42px;padding:0 14px;margin:0!important;min-width:0;width:100%;max-width:100%;box-sizing:border-box;
  border:0!important;border-top:1px solid rgba(255,255,255,.10)!important;border-radius:0!important;
  background:none!important;background-image:none!important;background-color:transparent!important;
  box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;
  overflow:hidden;position:relative
}
.gaffalo-day-dialog .day-sheet-e .dse-details .day-pay-options>summary{
  display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:8px;
  width:100%;max-width:100%;min-width:0;box-sizing:border-box;
  min-height:42px;padding:0;margin:0;list-style:none;cursor:pointer
}
.gaffalo-day-dialog .day-sheet-e .dse-details .day-pay-options>summary::-webkit-details-marker{display:none}
.gaffalo-day-dialog .day-sheet-e .dse-details .day-settings-title{display:flex;align-items:baseline;justify-content:space-between;gap:8px;min-width:0;flex:1 1 auto;width:auto}
.gaffalo-day-dialog .day-sheet-e .dse-details .day-settings-title small{display:flex;align-items:baseline;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin:0;margin-left:auto;min-width:0;max-width:100%}
.gaffalo-day-dialog .day-sheet-e .dse-details .day-pay-options .money,
.gaffalo-day-dialog .day-sheet-e .dse-details #entry-rate-caption{color:#c5d0c4;font:500 16px/1.2 Figtree,sans-serif}
.gaffalo-day-dialog .day-sheet-e .dse-details .day-pay-options>.fold-chevron,
.gaffalo-day-dialog .day-sheet-e .dse-details .day-pay-options>summary>.fold-chevron{
  display:inline-flex;align-items:center;justify-content:center;flex:none;
  width:auto;height:auto;margin:0;padding:0;border-radius:0;background:none;color:#9aa59a;font-size:16px;line-height:1
}
.gaffalo-day-dialog .day-sheet-e .dse-details .day-pay-options[open]>.fold-body,
.gaffalo-day-dialog .day-sheet-e .dse-details .day-pay-options .fold-body{
  display:flex;flex-direction:column;align-items:stretch;gap:10px;
  width:100%;max-width:100%;min-width:0;box-sizing:border-box;flex:none;
  padding:8px 0 12px;margin:0;border:0;border-top:1px solid rgba(255,255,255,.10);
  overflow-x:hidden;overflow-wrap:anywhere
}
.gaffalo-day-dialog .day-sheet-e .dse-details .day-pay-options .fold-body .field{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;
  gap:6px!important;width:100%;max-width:100%;min-width:0;min-height:0;padding:0;margin:0;border:0!important
}
.gaffalo-day-dialog .day-sheet-e .dse-details .day-pay-options .fold-body .field label{
  margin:0;flex:none;letter-spacing:.02em;text-transform:none;font:600 13px/1.2 Figtree,sans-serif;color:#9aa59a
}
.gaffalo-day-dialog .day-sheet-e .dse-details .day-pay-options .fold-body input,
.gaffalo-day-dialog .day-sheet-e .dse-details .day-pay-options .fold-body select,
.gaffalo-day-dialog .day-sheet-e .dse-details .day-pay-options .fold-body textarea{
  appearance:none!important;-webkit-appearance:none!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  min-height:44px!important;height:auto!important;padding:10px 12px!important;
  text-align:left!important;box-sizing:border-box;
  border:1px solid rgba(255,255,255,.14)!important;border-radius:12px;
  background:rgba(255,255,255,.06)!important;box-shadow:none!important;
  color:#f3f6f2;font:500 16px/1.3 Figtree,sans-serif
}
.gaffalo-day-dialog .day-sheet-e .dse-details .day-pay-options .fold-body #entry-pay-thresholds{display:none!important}
.gaffalo-day-dialog .day-sheet-e .dse-details .day-pay-options .fold-body small,
.gaffalo-day-dialog .day-sheet-e .dse-details .day-pay-options .fold-body #entry-rules,
.gaffalo-day-dialog .day-sheet-e .dse-details .day-pay-options .fold-body .rule-line{
  display:block;width:100%;max-width:100%;min-width:0;box-sizing:border-box;
  white-space:normal;overflow-wrap:anywhere;word-break:break-word;
  font:500 13px/1.45 Figtree,sans-serif;color:#9aa59a;text-align:left;margin:0
}
.gaffalo-day-dialog .day-sheet-e .flow-daypay-kept{display:none}

/* Per diem / GSA stay in the form; collapsed until the city chip opens them. */
.gaffalo-day-dialog .day-sheet-e .dse-perdiem-panel[hidden]{display:none}
.gaffalo-day-dialog .day-sheet-e .dse-perdiem-panel{margin:0 0 8px;padding:10px 12px 12px;border-radius:14px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.10)}
.gaffalo-day-dialog .day-sheet-e .dse-perdiem-panel .perdiem-row,
.gaffalo-day-dialog .day-sheet-e .dse-perdiem-panel .gsa-day-sheet{margin:0}

.gaffalo-day-dialog .day-sheet-e .dse-remove,
.gaffalo-day-dialog .day-sheet-e .remove-day-button{display:block;width:100%;text-align:center;padding:8px 8px 2px;margin:0;border:0;background:none;box-shadow:none;font:600 13.5px/1 Figtree,sans-serif;color:#e07a6a;letter-spacing:.01em;cursor:pointer}

.gaffalo-day-dialog .day-sheet-e .day-editor-footer{display:flex;align-items:center;gap:12px;padding:10px 0 0;background:transparent;border:0;border-top:0}
.gaffalo-day-dialog .day-sheet-e .day-editor-footer .dse-cancel,
.gaffalo-day-dialog .day-sheet-e .day-editor-footer [data-action="close-modal"]{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.gaffalo-day-dialog .day-sheet-e .day-editor-footer .button.day-save-button{flex:1 1 auto;min-width:0;height:50px;min-height:50px;border-radius:16px;font:800 17px/1 Figtree,sans-serif;letter-spacing:-.02em;text-transform:none}
.gaffalo-day-dialog .day-sheet-e .day-editor-footer .button.text-button.gaffalo-submit{
  flex:none;width:auto;min-width:0;height:50px;min-height:50px;padding:0 12px;border:0!important;border-radius:12px;
  background:transparent!important;background-image:none!important;box-shadow:none!important;
  color:#e8eee8!important;-webkit-text-fill-color:#e8eee8!important;text-shadow:none!important;
  font:700 16px/1 Figtree,sans-serif!important;letter-spacing:0!important;text-transform:none!important
}
.gaffalo-day-dialog .day-sheet-e .day-editor-footer .gaffalo-submit img,
.gaffalo-day-dialog .day-sheet-e .day-editor-footer .gaffalo-submit svg,
.gaffalo-day-dialog .day-sheet-e .day-editor-footer .gaffalo-submit .gaffalo-receipt{display:none}

/* #325 smoky frosted-glass Call/Wrap picker. Solid dark fallback when backdrop-filter is missing. */
dialog.gtp{
  color:var(--gt-ink,#f3f6f2);
  background:#161916;
  border:1px solid rgba(243,246,242,.16);
  box-shadow:0 28px 64px rgba(0,0,0,.55),inset 0 1px 0 rgba(255,255,255,.16),inset 0 -1px 0 rgba(255,255,255,.04);
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
}
@supports ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){
  dialog.gtp{
    background:rgba(16,18,16,.56);
    -webkit-backdrop-filter:blur(22px) saturate(1.35);
    backdrop-filter:blur(22px) saturate(1.35);
  }
}
dialog.gtp::backdrop{
  background:rgba(4,6,4,.62);
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
}
@supports ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){
  dialog.gtp::backdrop{
    background:rgba(6,8,6,.42);
    -webkit-backdrop-filter:blur(16px) saturate(1.2);
    backdrop-filter:blur(16px) saturate(1.2);
  }
}
dialog.gtp .gtp-wheels{
  background:rgba(6,8,6,.4);
  border:1px solid rgba(255,255,255,.10);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
}
dialog.gtp .gtp-band{
  background:linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,.04));
  border:1px solid rgba(92,194,60,.62);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 0 0 1px rgba(92,194,60,.14);
}
dialog.gtp .gtp-chip{
  background:rgba(15,36,16,.5);
  border:1px solid rgba(92,194,60,.32);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.10);
}
dialog.gtp .gtp-cancel{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12);
  color:#e8eee8;
}
dialog.gtp .gtp-fine{display:inline-flex;align-items:center;gap:10px;margin:8px 0 2px;cursor:pointer;user-select:none;-webkit-user-select:none}
dialog.gtp .gtp-fine[hidden]{display:none}
dialog.gtp .gtp-fine span{font:550 13px/1 Figtree,sans-serif;color:#9aa59a;letter-spacing:.01em}
dialog.gtp .gtp-fine:has(:checked) span{color:#d5e8d0}
dialog.gtp input.gtp-step-box[type=checkbox]{
  appearance:none!important;-webkit-appearance:none!important;
  width:38px!important;height:22px!important;min-width:38px;max-width:38px;min-height:22px;max-height:22px;
  margin:0!important;padding:0!important;box-sizing:border-box;
  border-radius:99px;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.08);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.14);
  display:block;position:relative;flex:none;
  accent-color:transparent;
}
dialog.gtp input.gtp-step-box[type=checkbox]::after{
  content:"";position:absolute;top:2px;left:2px;right:auto;
  width:16px;height:16px;border-radius:50%;
  background:#e8eee8;
  box-shadow:0 1px 2px rgba(0,0,0,.4),inset 0 1px 0 rgba(255,255,255,.55);
  border:0;transform:none;
}
dialog.gtp input.gtp-step-box[type=checkbox]:checked{
  appearance:none!important;-webkit-appearance:none!important;
  width:38px!important;height:22px!important;min-height:22px;max-height:22px;
  background:rgba(92,194,60,.38);
  border-color:rgba(92,194,60,.7);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 0 0 1px rgba(92,194,60,.12);
}
dialog.gtp input.gtp-step-box[type=checkbox]:checked::after{
  left:auto;right:2px;top:2px;
  width:16px;height:16px;border:0;transform:none;
  background:#6be245;
  box-shadow:0 1px 2px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.45);
}
dialog.gtp .gtp-foot{flex-wrap:wrap;justify-content:flex-start;padding:0 4px;gap:8px}

.gaffalo-day-dialog .day-sheet-e #entry-day-type-field.dse-activity-open{position:static;width:auto;height:auto;clip:auto;overflow:visible;padding:0 14px 12px}
.gaffalo-day-dialog .day-sheet-e .dse-details .loc-day{
  display:grid!important;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;column-gap:10px;row-gap:0;
  cursor:pointer;min-width:0;max-width:100%;box-sizing:border-box;overflow:hidden
}
.gaffalo-day-dialog .day-sheet-e .dse-details .loc-day::before{
  content:"Venue";grid-column:1;grid-row:1;font:600 16px/1.2 Figtree,sans-serif;color:#f3f6f2;white-space:nowrap
}
.gaffalo-day-dialog .day-sheet-e .dse-details .loc-ico{display:none!important}
.gaffalo-day-dialog .day-sheet-e .dse-details .loc-day>input[type=hidden]{display:none}
.gaffalo-day-dialog .day-sheet-e .dse-details .loc-day-main{
  grid-column:2;grid-row:1;min-width:0;text-align:right;justify-self:stretch
}
.gaffalo-day-dialog .day-sheet-e .dse-details .loc-day-main b{display:block;font:500 16px/1.2 Figtree,sans-serif;color:#c5d0c4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gaffalo-day-dialog .day-sheet-e .dse-details .loc-day-actions{
  grid-column:3!important;grid-row:1;display:flex;align-items:center;justify-content:flex-end;gap:0;min-width:0
}
.gaffalo-day-dialog .day-sheet-e .dse-details .loc-day-actions .button{display:none!important}
.gaffalo-day-dialog .day-sheet-e .dse-details .loc-day-actions .nav-go{
  display:inline-flex;align-items:center;gap:4px;min-height:0!important;height:auto;padding:0!important;margin:0;
  border:0!important;background:none!important;box-shadow:none!important;border-radius:0;
  color:#b8f59a;font:600 13px/1 Figtree,sans-serif;white-space:nowrap;text-decoration:none
}
.gaffalo-day-dialog .day-sheet-e .dse-details .loc-day-actions .nav-go svg{width:12px;height:12px;flex:none}
.gaffalo-day-dialog .day-sheet-e .dse-perdiem-row{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;max-width:100%;min-width:0;box-sizing:border-box;min-height:42px;padding:0 14px;margin:0;border:0;border-top:1px solid rgba(255,255,255,.10);border-radius:0;background:none;box-shadow:none;color:inherit;text-align:left;cursor:pointer;font:inherit}
.gaffalo-day-dialog .day-sheet-e .dse-perdiem-row>span:first-child{font:600 16px/1.2 Figtree,sans-serif;color:#f3f6f2;flex:none}
.gaffalo-day-dialog .day-sheet-e .dse-perdiem-row #dse-perdiem-row-val,
.gaffalo-day-dialog .day-sheet-e .dse-perdiem-row .dse-val{display:inline-flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0;font:500 16px/1.2 Figtree,sans-serif;color:#c5d0c4;text-align:right}
.gaffalo-day-dialog .day-sheet-e .dse-perdiem-row .chev{width:7px;height:12px;flex:none;color:#9aa59a}
.gaffalo-day-dialog .day-sheet-e .flow-noauto label{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;margin:0}
.gaffalo-day-dialog .day-sheet-e .scheduled-preview{font:600 15px/1.35 Figtree,sans-serif;color:#c5d0c4;margin:0}
/* #328 audit L2: at 320px (and with larger text) the Tax prep "Annual tax-prep packet" button and Gear "+ New rental" ran past their cards. Let them wrap and stay inside. */
html body .accounting-hub{grid-template-columns:minmax(0,1fr)}
html body .accounting-hub .button{white-space:normal;min-width:0;max-width:100%;box-sizing:border-box;flex-wrap:wrap;row-gap:2px;overflow-wrap:anywhere;line-height:1.25}
html body .gear-add{box-sizing:border-box;max-width:100%;min-width:0;white-space:normal;overflow-wrap:anywhere;line-height:1.25}
/* The Gear panel's grid column grew to the tab row's min-content (Rentals / Library / Packages / Earnings), which pushed + New rental past the card. Pin the column to the card and let the tabs tighten, then wrap. */
html body .gear-panel{grid-template-columns:minmax(0,1fr)}
html body .gear-panel>*{min-width:0;max-width:100%}
html body .gear-segs{flex-wrap:wrap;min-width:0}
html body .gear-seg{min-width:0;flex:1 1 auto}
@media (max-width:360px){html body .gear-seg{padding:9px 6px}html body .gear-segs{border-radius:20px}}


/* #329: The day-sheet .dse-details input reset (padding:0, min-height:0, width:auto, border:0)
   was collapsing the GSA city/state search to a caret line between the Flat rate/GSA rate
   tiles and the Location row, and could un-hide the backing city/state/ZIP fields.
   Keep the typable search at a 44px control with room above and below, 16px text so
   iOS Safari does not zoom, and keep backing fields invisible even if focused. */
html body .gaffalo-day-dialog .day-sheet-e .dse-details .gsa-area-field{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  gap:6px!important;width:100%;min-width:0;max-width:100%;
}
html body .gaffalo-day-dialog .day-sheet-e .dse-details .gsa-day-loc-fields{
  display:flex;flex-direction:column;gap:10px;min-width:0;
}
html body .gaffalo-day-dialog .day-sheet-e .dse-details .gsa-area-menu{
  margin-top:8px;padding:10px 8px 8px;
}
html body .gaffalo-day-dialog .day-sheet-e .dse-details input.gsa-area-state,
html body .gaffalo-day-dialog .day-sheet-e .dse-details .gsa-area-state{
  appearance:none!important;-webkit-appearance:none!important;
  display:block!important;box-sizing:border-box;
  width:100%!important;max-width:none!important;min-width:0!important;
  min-height:44px!important;height:auto!important;
  padding:8px 12px!important;margin:0!important;
  border:1px solid rgba(255,255,255,.14)!important;border-radius:10px;
  background:#151815!important;box-shadow:none!important;
  color:#f4efe6!important;-webkit-text-fill-color:#f4efe6;
  font:500 16px/1.2 Figtree,system-ui,sans-serif!important;
  font-size:16px!important;text-align:left!important;
  -webkit-text-size-adjust:100%;
}
html body .gaffalo-day-dialog .day-sheet-e .dse-details .gsa-area-hidden,
html body .gaffalo-day-dialog .day-sheet-e .dse-details .gsa-area-hidden input:not([type=hidden]){
  position:absolute!important;left:0!important;top:0!important;
  width:1px!important;max-width:1px!important;min-width:0!important;
  height:1px!important;min-height:0!important;max-height:1px!important;
  padding:0!important;margin:0!important;overflow:hidden!important;
  clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;
  border:0!important;background:transparent!important;box-shadow:none!important;
  opacity:0!important;pointer-events:none!important;
  color:transparent!important;caret-color:transparent!important;
}
