/* Shared bill fields and the reminder shown before generating a sample PDF. */
.field-control { display: flex; align-items: center; gap: 6px; min-width: 0; width: 100%; }
.field-control > input, .field-control > select { flex: 1; min-width: 0; width: 0; }
.field-clear { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 40px; padding: 0; border: 1px solid #cdd6e9; border-radius: 4px; background: #fff; color: #626b85; cursor: pointer; }
.field-clear svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.field-clear:hover { color: #245bdd; border-color: #245bdd; background: #f0f4ff; }
.field-clear:disabled { opacity: .35; cursor: default; }
.field-clear:focus-visible, .sample-dialog button:focus-visible { outline: 2px solid #245bdd; outline-offset: 3px; }
.sample-status { margin: 20px 0 0; padding: 13px 16px; border: 1px solid var(--notice-line); border-radius: 4px; background: var(--notice-bg); color: var(--notice-ink); font-size: 12px; line-height: 1.7; }
.sample-status[hidden], .sample-dialog [hidden] { display: none; }
.sample-dialog { box-sizing: border-box; width: min(520px, calc(100% - 32px)); max-height: calc(100% - 48px); padding: 30px; border: 1px solid #cdd6e9; border-radius: 10px; background: var(--white); color: var(--ink); box-shadow: 0 24px 90px #101b3b33; }
.sample-dialog::backdrop { background: #101b3b70; }
.sample-dialog-kicker { font-size: 10px; font-weight: 600; letter-spacing: 1.5px; color: var(--notice-ink); }
.sample-dialog h2 { margin: 14px 0; font: 520 29px/1.2 var(--serif); font-variation-settings: "SOFT" 70, "WONK" 1; letter-spacing: -.6px; }
.sample-dialog p { font-size: 13px; line-height: 1.7; color: var(--muted); }
.sample-field-list { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; padding: 0; margin: 18px 0; }
.sample-field-list li { border: 1px solid var(--notice-line); border-radius: 3px; padding: 5px 9px; background: var(--notice-bg); color: var(--notice-ink); font-size: 11px; }
.sample-dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.sample-dialog-actions button { min-height: 42px; padding: 11px 15px; border-radius: 4px; font: inherit; font-size: 12px; cursor: pointer; }
.sample-edit { background: var(--blue); color: white; border: 1px solid #245bdd; }
.sample-continue { background: transparent; color: #485675; border: 1px solid #cdd6e9; }
.demo-fields .field-clear { height: 42px; margin-top: 5px; }
.demo-fields .money-input { width: 147px; }
.money-input > .field-control { position: static; }
@media (max-width: 600px) {
  .field-clear { height: 44px; flex-basis: 36px; width: 36px; }
  .demo-fields .field-clear { height: 44px; }
  .sample-dialog { padding: 24px; }
  .sample-dialog-actions { flex-direction: column; }
}
