html.lq-modal-open { overflow: hidden; }
.lq-dialog {
  --lq-paper: #f7f7f2;
  --lq-ink: #202723;
  --lq-dim: #525d54;
  --lq-line: #cdd2c8;
  --lq-lime: #dafa47;
  --lq-display: var(--display, "Barlow Condensed", "Arial Narrow", Arial, sans-serif);
  position: fixed;
  inset: 0;
  margin: auto;
  padding: 0;
  width: min(660px, calc(100vw - 36px));
  max-width: none;
  max-height: calc(100dvh - 42px);
  overflow: hidden;
  color: var(--lq-ink);
  background: var(--lq-paper);
  border: 1px solid rgba(28, 39, 24, .17);
  border-radius: 15px;
  box-shadow: 0 35px 100px rgba(10, 20, 10, .25);
  font: 400 1rem/1.5 var(--body-font, "Inter", Arial, sans-serif);
  letter-spacing: 0;
  text-align: left;
}
.lq-dialog::backdrop { background: rgb(11 19 17 / 72%); }
.lq-dialog *, .lq-dialog *::before, .lq-dialog *::after { box-sizing: border-box; }
.lq-dialog button, .lq-dialog input, .lq-dialog select, .lq-dialog textarea { font: inherit; letter-spacing: inherit; color: inherit; }
.lq-dialog button, .lq-dialog select, .lq-dialog label.lq-choice, .lq-dialog summary { cursor: pointer; }
.lq-dialog button { text-transform: none; }
.lq-dialog svg { display: inline-block; width: 18px; height: 18px; flex: 0 0 auto; }
.lq-shell { display: flex; flex-direction: column; min-width: 0; max-height: calc(100dvh - 45px); }
.lq-top { flex-shrink: 0; display: flex; justify-content: space-between; align-items: center; padding: 10px 16px 10px 28px; border-bottom: 1px solid var(--lq-line); }
.lq-eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: .8rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.lq-x { display: grid; place-items: center; padding: 0; width: 42px; height: 42px; color: var(--lq-ink); border: 0; background: transparent; border-radius: 50%; }
.lq-x:hover, .lq-btn.lq-plain:hover { background: #e8ebe2; }
.lq-progress { flex-shrink: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; padding: 20px 32px 0; }
.lq-progress > div { color: var(--lq-dim); font-size: .79rem; font-weight: 550; }
.lq-progress span { display: block; width: 100%; height: 3px; margin-bottom: 6px; background: #d6d9cf; }
.lq-progress-on { color: var(--lq-ink) !important; }
.lq-progress-on span { background: #596541; }
.lq-scroll { padding: 22px 32px 25px; overflow-y: auto; overscroll-behavior: contain; }
.lq-dialog h2 { margin: 0; color: var(--lq-ink); font: 750 clamp(2.05rem, 5vw, 3rem)/1.04 var(--lq-display); letter-spacing: -.025em; text-transform: none; overflow-wrap: anywhere; }
.lq-dialog h2:focus { outline: 0; }
.lq-intro { margin: 10px 0 21px; max-width: 53ch; color: var(--lq-dim); font-size: 1rem; line-height: 1.46; }
.lq-form { margin: 0; }
.lq-provider { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 14px 0; padding: 9px 12px; border-left: 3px solid #798b39; background: #ecf0e1; font-size: .9rem; }
.lq-choices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin: 0 0 20px; }
.lq-choice { position: relative; display: block; margin: 0; }
.lq-choice input { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; clip-path: inset(50%); overflow: hidden; }
.lq-choice span { min-height: 46px; height: 100%; display: flex; align-items: center; padding: 9px 12px; gap: 10px; border: 1px solid #b9c0b5; border-radius: 6px; background: #fff; font-size: .93rem; line-height: 1.3; font-weight: 620; transition: background .12s, border-color .12s; }
.lq-choice:hover span { background: #f0f4e7; border-color: #72816a; }
.lq-choice input:checked + span { border-color: #527127; box-shadow: inset 0 0 0 1px #527127; background: #ebf4cd; }
.lq-dialog :where(button, input, textarea, select, summary):focus-visible, .lq-choice input:focus-visible + span { outline: 3px solid #527127; outline-offset: 2px; }
.lq-field { min-width: 0; display: flex; flex-direction: column; align-items: stretch; gap: 5px; margin: 0 0 17px; }
.lq-field > span:first-child, .lq-details summary { color: var(--lq-ink); font-size: .93rem; font-weight: 680; }
.lq-field input, .lq-field textarea, .lq-field select {
  display: block; width: 100%; min-width: 0; min-height: 46px; padding: 10px 12px; border: 1px solid #aab4a8; background: #fff; color: var(--lq-ink); border-radius: 5px; box-shadow: none; font-size: 1rem; line-height: 1.35;
}
.lq-field input::placeholder, .lq-field textarea::placeholder { color: #727a70; opacity: 1; }
.lq-field textarea { resize: vertical; min-height: 68px; max-height: 220px; }
.lq-field small, .lq-optional { color: #596358; font-size: .8rem; font-weight: 450; }
.lq-optional { margin-left: 3px; }
.lq-select { position: relative; display: block; }
.lq-select select { appearance: none; padding-right: 35px; }
.lq-select svg { position: absolute; top: 50%; right: 12px; width: 16px; height: 16px; transform: translateY(-50%); pointer-events: none; }
.lq-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 14px; }
.lq-details { margin: 0; border-top: 1px solid var(--lq-line); border-bottom: 1px solid var(--lq-line); }
.lq-details summary { list-style: none; display: flex; align-items: center; gap: 4px; min-height: 48px; }
.lq-details summary::-webkit-details-marker { display: none; }
.lq-details summary svg { margin-left: auto; }
.lq-details[open] summary svg { transform: rotate(180deg); }
.lq-details-body { padding-top: 3px; }
.lq-footer { flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 15px 32px; background: var(--lq-paper); border-top: 1px solid var(--lq-line); }
.lq-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 5px; min-height: 45px; margin: 0; padding: 10px 19px; font-size: .96rem !important; font-weight: 720 !important; line-height: 1.2 !important; }
.lq-primary { border: 1px solid #8a9e34; background: var(--lq-lime); color: #172012 !important; }
.lq-primary:hover { background: #d1ee36; }
.lq-plain { background: transparent; border: 1px solid var(--lq-line); color: var(--lq-ink); }
.lq-stepcount { color: var(--lq-dim); font-size: .84rem; }
.lq-summary { margin: 16px 0 19px; padding: 12px 16px; background: #edf0e8; border: 1px solid #d4dacb; border-radius: 6px; }
.lq-summary-head { display: flex; align-items: center; justify-content: space-between; min-height: 32px; }
.lq-dialog h3 { font: 700 1.05rem/1.3 var(--body-font, "Inter", Arial, sans-serif); margin: 0; letter-spacing: -.015em; color: var(--lq-ink); }
.lq-text { min-height: 34px; padding: 3px 4px; background: transparent; border: 0; text-decoration: underline; text-underline-offset: 3px; }
.lq-summary dl { margin: 6px 0 0; font-size: .91rem; }
.lq-summary dl > div { display: grid; grid-template-columns: minmax(85px, 35%) minmax(0,1fr); align-items: start; gap: 10px; padding: 5px 0; border-top: 1px solid #d4dacb; }
.lq-summary dt { color: #515b50; }
.lq-summary dd { margin: 0; font-weight: 560; overflow-wrap: anywhere; white-space: pre-wrap; }
.lq-notice { margin: 4px 0 0; padding-left: 12px; border-left: 3px solid #8e9e72; color: #4e594c; font-size: .9rem; line-height: 1.45; }
.lq-error { margin: 13px 0 0; color: #8c2e22; font-size: .9rem; font-weight: 600; }
.lq-error:empty { display: none; }
.lq-contact { display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 0 1px; font-size: .92rem; overflow-wrap: anywhere; }
.lq-contact > span:first-child { flex-basis: 100%; font-size: .8rem; color: var(--lq-dim); }
.lq-history-list { border-top: 1px solid var(--lq-line); }
.lq-history-row { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 14px 4px; gap: 12px; background: transparent; border: 0; border-bottom: 1px solid var(--lq-line); text-align: left; }
.lq-history-row:hover { background: #edf1e6; }
.lq-history-row > span:last-child { text-decoration: underline; text-underline-offset: 3px; font-size: .88rem; }
.lq-history-row strong { display: block; font-size: 1rem; overflow-wrap: anywhere; }
.lq-history-row small { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin-top: 5px; color: var(--lq-dim); font-size: .83rem; }
.lq-history-row small svg { width: 13px; height: 13px; }
.lq-history-row i { font-style: normal; padding: 0 2px; }
.lq-empty { padding: 22px; border: 1px dashed #b7c2ae; text-align: center; border-radius: 6px; }
.lq-empty > svg { width: 26px; height: 26px; color: var(--lq-dim); margin-bottom: 6px; }
.lq-empty p { margin: 5px 0 0; color: var(--lq-dim); font-size: .94rem; }
@media(max-width: 590px) {
  .lq-dialog { width: calc(100vw - 14px); max-height: calc(100dvh - 14px); border-radius: 12px; }
  .lq-shell { max-height: calc(100dvh - 17px); }
  .lq-top { padding: 5px 8px 5px 17px; }
  .lq-progress { padding: 14px 18px 0; }
  .lq-scroll { padding: 18px 18px 21px; }
  .lq-footer { padding: 11px 16px max(11px,env(safe-area-inset-bottom)); }
  .lq-choice span { padding: 9px; gap: 6px; font-size: .88rem; }
  .lq-choice svg { width: 16px; height: 16px; }
  .lq-pair { gap: 0 10px; }
  .lq-summary { padding: 9px 12px; }
}
@media(max-width: 450px) {
  .lq-pair { grid-template-columns: minmax(0,1fr); }
  .lq-intro { margin-bottom: 15px; }
}
@media(prefers-reduced-motion: reduce) { .lq-dialog * { transition: none !important; } }
.lq-saved-brief{margin-top:20px}
.lq-photo-box { margin: -5px 0 12px; }
.lq-photo { display: flex; align-items: center; gap: 12px; }
.lq-photo-thumb { width: 64px; height: 54px; object-fit: cover; border-radius: 4px; border: 1px solid var(--lq-line); }
.lq-photo small { display: block; color: var(--lq-dim); font-size: .79rem; }
.lq-pick-photo { position: relative; min-height: 38px; display: inline-flex; align-items: center; gap: 5px; font-size: .91rem; font-weight: 650; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.lq-pick-photo:focus-within { outline: 3px solid #527127; outline-offset: 2px; }
.lq-pick-photo input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.lq-photo .lq-text { margin-left: 10px; font-size: .85rem !important; }
.lq-photo-status { margin: 4px 0; font-size: .84rem; color: var(--lq-ink); }
.lq-photo-status:empty { display: none; }
.lq-view-photo { margin: 9px 0; }
.lq-view-photo summary { cursor: pointer; font-weight: 650; font-size: .91rem; }
.lq-view-photo img { display: block; width: auto; max-width: 100%; max-height: 55vh; object-fit: contain; margin: 9px 0 2px; border-radius: 4px; }
.lq-dialog button:disabled { opacity: .58; cursor: wait; }
