/* Shared app workspace. The public landing page and authentication retain their own styles. */
:root {
  --ink: #141923;
  --muted: #627087;
  --line: #dfe6ed;
  --canvas: #f4f7fa;
  --surface: #fff;
  --yellow: #ffda18;
  --pink: #fce0f7;
  --blue: #1557d2;
  --orange: #fff0d3;
  --green: #daf5df;
  --radius: 14px;
  --sidebar: 224px;
}
body.workspace {
  margin: 0;
  display: block;
  min-height: 100vh;
  background: var(--canvas);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.workspace *,
.workspace *::before,
.workspace *::after {
  box-sizing: border-box;
}
.workspace button,
.workspace input,
.workspace select,
.workspace textarea {
  font: inherit;
}
.workspace button,
.workspace a,
.workspace input,
.workspace select,
.workspace textarea {
  touch-action: manipulation;
}
.workspace button,
.workspace a {
  -webkit-tap-highlight-color: transparent;
}
.workspace button {
  cursor: pointer;
}
.workspace a {
  color: var(--blue);
  text-decoration: none;
}
.workspace a:hover {
  text-decoration: none;
}
.workspace button:disabled {
  cursor: wait;
  opacity: 0.58;
}
.workspace :focus-visible {
  outline: 3px solid #7da7ee;
  outline-offset: 3px;
}
.workspace [hidden],
.workspace .hidden {
  display: none !important;
}
.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 1100;
  background: var(--yellow);
  padding: 10px 16px;
  color: var(--ink) !important;
  border-radius: 8px;
}
.skip-link:focus {
  top: 12px;
}
.app-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar);
  background: var(--surface);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 35px 16px 20px;
  z-index: 100;
}
.app-brand {
  display: block;
  width: fit-content;
  max-width: 100%;
  padding: 0 13px 32px;
}
.app-brand img {
  display: block;
  width: 174px;
  height: auto;
  max-width: 100%;
}
.app-navigation {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.app-navigation a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 10px;
  color: #465165;
  font-size: 14px;
  font-weight: 650;
  transition:
    background 0.18s,
    color 0.18s;
}
.app-navigation a i {
  width: 19px;
  text-align: center;
  font-size: 17px;
}
.app-navigation a:hover {
  background: #f4f6f8;
  color: var(--ink);
}
.app-navigation a.active {
  background: var(--pink);
  color: var(--ink);
}
.sidebar-bottom {
  margin-top: auto;
  padding: 24px 4px 0;
}
.sidebar-credits {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 10px;
  background: #fff9df;
  border: 1px solid #f2e8b8;
  border-radius: 11px;
  color: var(--ink) !important;
  font-size: 13px;
}
.sidebar-credits > i:first-child {
  font-size: 18px;
  color: #967900;
}
.sidebar-credits span {
  flex: 1;
  min-width: 0;
}
.sidebar-credits strong,
.sidebar-credits small {
  display: block;
}
.sidebar-credits small {
  font-size: 11px;
  color: #776b45;
  margin-top: 1px;
}
.sidebar-credits > i:last-child {
  font-size: 10px;
  color: #857b61;
}
.help-link {
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 21px 10px 0;
  font-size: 12px;
  color: var(--muted) !important;
}
.app-main {
  margin-left: var(--sidebar);
  max-width: 1510px;
  padding: 0 clamp(24px, 4.4vw, 72px) 25px;
  min-height: 100vh;
}
.workspace-topline {
  height: 82px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  color: #7b8797;
}
.workspace-topline a {
  font-size: 12px;
  letter-spacing: 0;
  font-weight: 550;
  color: var(--muted);
}
.workspace-topline a i {
  color: #aa8a00;
  margin-right: 5px;
}
.page-heading {
  margin: 26px 0 28px;
}
.page-heading h1 {
  font-size: clamp(28px, 2.7vw, 38px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -1.4px;
  margin: 0 0 9px;
}
.page-heading p {
  font-size: 16px;
  color: var(--muted);
  margin: 0;
  max-width: 680px;
}
.call-types {
  display: flex;
  gap: 4px;
  background: #e9eef3;
  padding: 4px;
  border: 1px solid #dfe5ec;
  border-radius: 12px;
  width: min(100%, 492px);
}
.call-types .tab-link,
.call-types a {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 8px;
  min-height: 43px;
  border: 0;
  border-radius: 8px;
  position: static;
  margin: 0;
  padding: 8px 13px;
  box-shadow: none;
  color: #536176;
  background: transparent;
  font-size: 14px;
  font-weight: 650;
  transition:
    background 0.2s,
    color 0.2s;
}
.call-types .active,
.call-types .tab-link.active {
  background: #fff0c3;
  color: var(--ink);
  box-shadow: 0 1px 3px #27354b0a;
}
.call-types a:hover,
.call-types button:hover {
  background: #fff9e7;
  color: var(--ink);
}
.call-types i {
  font-size: 13px;
}
.workspace .tab-content {
  border: 0;
  box-shadow: none;
  padding: 0;
  margin: 0;
  background: transparent;
  position: static;
}
.request-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 292px;
  align-items: start;
  gap: 24px;
  margin: 0;
}
.request-fields {
  min-width: 0;
}
.form-section,
.call-preferences {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 18px;
  box-shadow: 0 2px 2px #1b355001;
}
.form-section h2,
.request-review h2 {
  font-size: 19px;
  letter-spacing: -0.4px;
  font-weight: 750;
  line-height: 1.3;
  margin: 0 0 18px;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.section-title h2 {
  margin: 0;
}
.quiet-badge {
  font-size: 12px;
  font-weight: 600;
  background: #f0f3f6;
  color: #596679;
  border-radius: 6px;
  padding: 4px 9px;
}
.section-step {
  color: #8d99aa;
  font-size: 15px;
}
.stay-fields {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(130px, 1fr);
  gap: 22px;
}
.stay-fields fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.workspace legend,
.workspace label {
  font-weight: 600;
  font-size: 13px;
  color: #465165;
}
.stay-fields legend,
.stay-fields > div > label {
  display: block;
  margin-bottom: 8px;
}
.workspace .neobrutalist-radio-btn {
  gap: 6px;
  position: relative;
}
.workspace .neobrutalist-radio-btn label {
  border: 1px solid var(--line);
  box-shadow: none;
  min-height: 44px;
  padding: 10px 12px !important;
  border-radius: 8px;
  color: #536176;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  white-space: normal;
  transition:
    background 0.16s,
    border-color 0.16s;
  transform: none;
}
.workspace .neobrutalist-radio-btn label:hover {
  transform: none;
  box-shadow: none;
  background: #f6f8fa;
}
.workspace .neobrutalist-radio-btn input[type="radio"] {
  display: block;
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.workspace .neobrutalist-radio-btn input:checked + label {
  background: var(--orange);
  border-color: #e7c578;
  box-shadow: none;
  transform: none;
  color: #694b08;
  font-weight: 700;
}
.workspace .neobrutalist-radio-btn input:focus-visible + label {
  outline: 3px solid #7da7ee;
  outline-offset: 2px;
}
.guest-field {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 44px;
  padding-left: 12px;
}
.guest-field i {
  color: #536176;
}
.workspace select {
  appearance: auto;
  box-shadow: none;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  max-width: 100%;
}
.guest-field select {
  border: 0;
  width: 100%;
  font-size: 14px;
  min-width: 0;
  background: transparent;
}
.workspace .neobrutalist-input {
  border: 1px solid #d6dfe9;
  border-radius: 8px;
  padding: 11px 13px;
  background: #fff;
  box-shadow: none;
  min-height: 46px;
  max-width: 100%;
  width: 100%;
  font-size: 15px;
  color: var(--ink);
  resize: vertical;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.workspace input::placeholder,
.workspace textarea::placeholder {
  color: #8993a2;
}
.workspace .neobrutalist-input:focus {
  border-color: #82a2d5;
  box-shadow: 0 0 0 3px #eaf0fa;
  outline: 0;
}
.workspace textarea {
  display: block;
  line-height: 1.6;
}
.workspace .border-red-500 {
  border-color: #c94b48 !important;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 5px 5px 14px;
  background: #f8fafc;
  border: 1px solid #d6dfe9;
  border-radius: 9px;
}
.search-field > i {
  color: #718098;
}
.search-field input {
  min-width: 0;
  flex: 1;
  background: transparent;
  border: 0;
  outline: none;
  min-height: 37px;
  font-size: 14px;
}
.search-field:focus-within {
  outline: 3px solid #e5edf9;
  border-color: #82a2d5;
}
.search-button {
  padding: 8px 14px;
  background: #edf2f8;
  border: 0;
  border-radius: 6px;
  color: #39547a;
  font-weight: 650;
  font-size: 12px !important;
  min-height: 36px;
}
.search-button:hover {
  background: #e2eaf4;
}
.selection-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin: 22px 0 10px;
}
.selection-label span {
  padding: 0 6px;
  background: #edf1f5;
  border-radius: 4px;
  color: #536176;
  font-size: 11px;
}
.selection-empty {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 18px 12px;
  border: 1px dashed #d9e1e9;
  border-radius: 8px;
  color: #8490a0;
  font-size: 13px;
  margin: 0 0 12px;
}
.selection-empty i {
  font-size: 17px;
  color: #a5afbd;
}
.phone-row {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  margin-bottom: 8px;
  min-width: 0;
  background: #fff;
}
.phone-fields {
  min-width: 0;
  flex: 1;
}
.phone-row .phone-fields .contact-name {
  font-size: 14px;
  font-weight: 650;
}
.phone-row:not(.manual-row) .contact-name {
  padding: 0;
  border: 0;
  background: transparent;
  min-height: 24px;
  border-radius: 2px;
}
.phone-row:not(.manual-row) input[type="tel"] {
  padding: 0;
  border: 0;
  min-height: 25px;
  font-size: 12px;
  color: var(--muted);
  background: transparent;
}
.phone-row .phone-fields .contact-name + input {
  margin-top: 6px;
}
.manual-row .contact-name {
  font-size: 12px !important;
  min-height: 36px !important;
}
.manual-row .phone-fields input[type="tel"] {
  font-size: 14px;
}
.manual-row {
  display: none;
}
.manual-row.is-visible {
  display: flex;
}
.remove-contact {
  background: none;
  border: 0;
  width: 34px;
  min-height: 40px;
  color: #8290a3;
  flex-shrink: 0;
  border-radius: 6px;
}
.remove-contact:hover {
  background: #fff0ef;
  color: #a83f3a;
}
.paste-button {
  align-self: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 7px 9px;
  background: #f8fafc;
  color: var(--muted);
  font-size: 12px !important;
  min-height: 40px;
}
.phone-row:not(.manual-row) .paste-button {
  display: none;
}
.contact-address {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
  margin-top: 2px;
}
.field-hint {
  font-size: 11px;
  color: #8290a0;
  margin: 8px 0 0;
}
.field-error {
  font-size: 12px;
  color: #b43d3d;
  margin: 5px 0 0;
}
.text-action {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  background: none;
  border: 0;
  color: var(--blue);
  font-weight: 550;
  font-size: 13px;
  padding: 7px 0;
  min-height: 38px;
}
.text-action:hover {
  color: #063c97;
}
.add-phone {
  margin-top: 5px;
}
.place-results:empty {
  display: none;
}
.place-results {
  padding-top: 10px;
}
.place-result {
  padding: 16px 2px;
  border-bottom: 1px solid #e8edf2;
  display: flex;
  align-items: start;
  gap: 12px;
}
.place-result > div {
  flex: 1;
  min-width: 0;
}
.place-result h3 {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 3px;
}
.place-result h3 a {
  color: var(--ink);
}
.place-result p {
  font-size: 12px;
  color: var(--muted);
  margin: 2px 0;
  overflow-wrap: anywhere;
}
.place-result .place-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 5px;
}
.place-result button {
  border: 1px solid #c5d5ec;
  color: var(--blue);
  border-radius: 7px;
  background: #f5f9ff;
  min-height: 38px;
  min-width: 59px;
  font-size: 12px;
  font-weight: 600;
}
.place-result button:disabled {
  background: #edf6ef;
  color: #37764a;
  opacity: 1;
  cursor: default;
}
.inline-message {
  padding: 12px;
  border-radius: 8px;
  background: #fff8e6;
  color: #7e6225;
  font-size: 13px;
  margin-top: 10px;
}
.call-preferences {
  padding: 0;
  overflow: visible;
}
.preferences-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  min-height: 61px;
  padding: 16px 19px;
  color: var(--ink);
  text-align: left;
}
.preferences-toggle > i:first-child {
  color: #647187;
  font-size: 14px;
}
.preferences-toggle strong {
  font-size: 13px;
  font-weight: 650;
}
.preferences-toggle > span {
  font-size: 11px;
  color: var(--muted);
  margin-left: auto;
  text-align: right;
}
.preferences-toggle > i:last-child {
  font-size: 10px;
  color: #8c98a8;
  margin-left: auto;
  transition: transform 0.18s;
}
.preferences-toggle:has(> span) > i:last-child {
  margin-left: 3px;
}
.preferences-toggle[aria-expanded="true"] > i:last-child {
  transform: rotate(180deg);
}
.call-preferences > div[id] {
  padding: 2px 20px 12px;
  border-top: 1px solid #edf1f5;
}
.call-preferences .flex-container {
  gap: 16px;
}
.workspace .flex-item {
  min-width: 0;
}
.call-preferences label strong {
  font-size: 12px;
  font-weight: 600;
}
.call-preferences .tooltip {
  margin-left: 3px;
  color: #8c98a8;
}
.workspace .tooltiptext {
  font-size: 12px;
  line-height: 1.5;
  text-align: left;
  padding: 12px;
  width: 240px;
  max-width: calc(100vw - 44px);
  background: #263445;
  box-shadow: 0 8px 30px #12203320;
  border-radius: 8px;
  z-index: 10;
}
.workspace .tooltiptext::after {
  border-top-color: #263445;
}
.tooltip:focus-within .tooltiptext {
  visibility: visible;
  opacity: 1;
}
.request-review {
  position: sticky;
  top: 28px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 6px 20px #263c5404;
}
.review-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: #8a96a5;
}
.review-heading i {
  color: #b49a24;
  background: #fff6ce;
  padding: 8px;
  border-radius: 8px;
  font-size: 12px;
}
.request-review h2 {
  font-size: 21px;
  margin-bottom: 22px;
}
.review-summary strong {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.3px;
}
.review-summary p {
  font-size: 12px;
  color: var(--muted);
  margin: 5px 0 0;
}
.review-task {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  margin: 20px 0 22px;
}
.review-cost {
  border-top: 1px solid #e8edf2;
  padding: 17px 0;
  display: flex;
  justify-content: space-between;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}
.review-cost strong {
  font-weight: 600;
  color: #394759;
}
.workspace .primary-action,
.workspace button.neobrutalist-green-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  width: 100%;
  background: var(--yellow);
  color: #191b12;
  border: 1px solid #d3b514;
  border-radius: 9px;
  box-shadow: 0 3px 0 #bda21d29;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 750;
  transition:
    background 0.16s,
    transform 0.16s,
    box-shadow 0.16s;
}
.workspace .primary-action:hover,
.workspace button.neobrutalist-green-btn:hover {
  background: #f4ce0f;
  transform: translateY(-1px);
  box-shadow: 0 4px 0 #bda21d29;
}
.workspace .primary-action:active {
  transform: translateY(1px);
}
.review-footnote {
  color: #8993a0;
  font-size: 10px;
  text-align: center;
  line-height: 1.6;
  margin: 12px 0 0;
}
.workspace .neobrutalist-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: none;
  padding: 22px;
  margin-bottom: 18px;
}
.workspace .neobrutalist-blue-btn,
.workspace .neobrutalist-yellow-btn,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid #cbd9eb;
  background: #f6f9fe;
  color: var(--blue);
  min-height: 42px;
  border-radius: 8px;
  box-shadow: none;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 600;
  transform: none;
  transition: background 0.16s;
}
.workspace .neobrutalist-blue-btn:hover,
.workspace .neobrutalist-yellow-btn:hover,
.secondary-action:hover {
  background: #e9f1fd;
  box-shadow: none;
  transform: none;
}
.workspace .neobrutalist-divider {
  display: none;
}
.workspace .section-description {
  font-size: 13px;
  color: var(--muted);
  margin: -6px 0 18px;
}
.optional {
  font-size: 11px;
  color: #8a95a4;
  font-weight: 400;
  margin-left: 5px;
}
.form-section > label {
  display: block;
  margin: 10px 0 7px;
}
.form-section .flex-container {
  margin-top: 18px;
}
.workspace #service-list {
  z-index: 20;
  box-shadow: 0 8px 20px #2a3e5614;
  border: 1px solid var(--line);
  max-height: 220px;
  font-size: 13px;
  list-style: none;
}
.workspace #service-list li {
  padding: 10px;
  cursor: pointer;
  border-radius: 4px;
}
.workspace #service-list li:hover {
  background: #f0f5fb;
}
.contact-disclosure {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding-right: 16px;
}
.contact-disclosure .preferences-toggle {
  flex: 1;
  width: auto;
}
.saved-info {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 11px !important;
  white-space: nowrap;
}
.workspace input[type="checkbox"] {
  accent-color: var(--blue);
  width: 16px;
  height: 16px;
}
.workspace #instructions-textarea {
  min-height: 170px;
  font-size: 14px;
  padding-bottom: 52px !important;
}
.workspace #revise-btn {
  position: absolute;
  bottom: 12px;
  right: 10px;
  min-height: 32px;
  padding: 5px 10px;
  font-size: 11px;
  box-shadow: none;
}
.workspace #validation-feedback .neobrutalist-card {
  padding: 14px;
  border-color: #e4d6ab;
  background: #fffaf0 !important;
  margin-bottom: 0;
}
.workspace-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #9aa4b0;
  font-size: 10px;
  margin-top: 36px;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
}
.workspace-footer div {
  display: flex;
  gap: 18px;
}
.workspace-footer a {
  color: #8994a2;
}
.loading-state {
  padding: 52px 24px;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}
.loading-state i {
  margin-right: 8px;
}
.app-notice {
  position: fixed;
  bottom: 24px;
  left: calc(var(--sidebar) + 24px);
  max-width: min(480px, calc(100vw - 48px));
  padding: 14px 20px;
  background: #263445;
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 30px #1c314a25;
  font-size: 13px;
  z-index: 1100;
}
.results-overview {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 13px;
}
.results-overview strong {
  color: var(--ink);
  font-weight: 600;
}
.results-overview .secondary-action {
  min-height: 36px;
  font-size: 12px;
  padding: 7px 12px;
  background: transparent;
}
.result-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.result-toolbar .filter-search {
  min-width: 200px;
  flex: 1;
}
.result-toolbar .filter-search input {
  width: 100%;
  min-height: 43px;
  padding: 9px 13px;
  font-size: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}
.result-toolbar select {
  font-size: 12px;
  min-height: 43px;
  max-width: 180px;
}
.quick-filters {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  width: 100%;
  margin-bottom: 3px;
}
.quick-filters button {
  border: 1px solid var(--line);
  background: #fff;
  min-height: 38px;
  border-radius: 7px;
  color: #637087;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 550;
}
.quick-filters button.active {
  background: var(--pink);
  border-color: #f2cdee;
  color: #612857;
}
.results-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}
.result-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 23px;
  min-width: 0;
  animation: workspace-in 0.25s ease both;
}
.result-card-header {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 15px;
}
.result-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: #f0f4f8;
  border: 1px solid #e5ebf2;
  width: 42px;
  height: 45px;
  border-radius: 9px;
  color: #6b7d97;
  font-size: 18px;
}
.result-identity {
  flex: 1;
  min-width: 0;
}
.result-identity h2 {
  font-size: 17px;
  font-weight: 750;
  letter-spacing: -0.4px;
  line-height: 1.35;
  margin: 1px 0 5px;
  overflow-wrap: anywhere;
}
.result-identity h2 a {
  color: var(--ink);
}
.result-meta {
  color: #8a95a3;
  font-size: 11px;
  margin: 0;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 650;
  white-space: nowrap;
  background: #edf1f6;
  color: #617087;
  line-height: 1.4;
}
.status-completed {
  background: var(--green);
  color: #28643a;
}
.status-no-answer,
.status-busy {
  background: #fff0c9;
  color: #806020;
}
.status-failed,
.status-canceled {
  background: #fcebe8;
  color: #9b4b42;
}
.status-queued,
.status-in-progress,
.status-calling,
.status-ringing,
.status-needs-review {
  background: #e8effd;
  color: #405fa3;
}
.result-summary {
  font-size: 13px;
  color: #5b697d;
  line-height: 1.75;
  margin: 0 0 18px;
  white-space: pre-line;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.result-context {
  font-size: 11px;
  color: #8a95a3;
  margin: 0 0 12px;
}
.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.result-actions .secondary-action {
  min-height: 39px;
  padding: 8px 12px;
  font-size: 12px;
}
.call-detail {
  margin-top: 16px;
  border-top: 1px solid #e9edf2;
  padding-top: 12px;
}
.call-detail > summary {
  cursor: pointer;
  color: var(--blue);
  font-size: 12px;
  font-weight: 550;
  min-height: 32px;
  display: flex;
  align-items: center;
  gap: 7px;
  list-style: none;
}
.call-detail > summary::-webkit-details-marker {
  display: none;
}
.call-detail > summary::after {
  content: "+";
  margin-left: auto;
  color: #8191a5;
}
.call-detail[open] > summary::after {
  content: "−";
}
.detail-metadata {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 12px;
  font-size: 12px;
  margin: 12px 0;
  color: #68758a;
}
.detail-metadata dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: #344255;
}
.detail-summary {
  font-size: 13px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #5b697d;
}
.transcript-content {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #f7f9fb;
  border-radius: 8px;
  padding: 14px;
  font-size: 12px;
  max-height: 400px;
  overflow: auto;
  color: #536176;
}
.workspace audio {
  width: 100%;
  height: 40px;
  margin: 12px 0;
}
.result-card .follow-up-form {
  border-top: 1px solid var(--line);
  padding-top: 15px;
  margin-top: 16px;
}
.follow-up-form label {
  font-size: 12px;
}
.follow-up-form .neobrutalist-card {
  padding: 14px;
  border-radius: 9px;
  margin: 14px 0;
  background: #f9fbfd;
}
.follow-up-form .flex-container {
  flex-direction: column;
}
.follow-up-form .neobrutalist-green-btn {
  margin-bottom: 0 !important;
  font-size: 12px !important;
}
.results-bottom {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 25px;
  color: var(--muted);
  font-size: 12px;
}
.results-bottom select {
  font-size: 12px;
  min-height: 36px;
}
.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-left: auto;
}
.pagination button {
  border: 1px solid var(--line);
  background: #fff;
  min-width: 36px;
  height: 36px;
  border-radius: 7px;
  color: #67758a;
  font-size: 12px;
}
.pagination button[aria-current="page"] {
  background: var(--pink);
  border-color: #f0cbed;
  color: #63285d;
}
.empty-state {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  padding: 60px 24px;
}
.empty-state > i {
  font-size: 25px;
  color: #97a5b7;
  margin-bottom: 17px;
}
.empty-state h2 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 6px;
}
.empty-state p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}
.result-error {
  background: #fff6ed;
  border: 1px solid #eddbc5;
  padding: 12px 16px;
  border-radius: 9px;
  font-size: 13px;
  color: #855b2d;
  margin-bottom: 18px;
}
.result-error:empty {
  display: none;
}
.update-status {
  font-size: 11px;
  color: #8a95a3;
  margin-left: 10px;
}
.account-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.account-section {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  margin-bottom: 20px;
}
.account-section h2 {
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.4px;
  margin: 0 0 16px;
}
.account-email {
  font-size: 12px;
  color: var(--muted);
  overflow-wrap: anywhere;
  margin-bottom: 24px;
}
.credit-number {
  font-size: 54px;
  font-weight: 750;
  line-height: 1;
  letter-spacing: -3px;
  margin: 14px 0 5px;
}
.credit-caption {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 24px;
}
.credit-package {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 14px;
  margin: 10px 0;
  background: #fff;
  color: var(--ink) !important;
  transition:
    border-color 0.18s,
    background 0.18s;
}
.credit-package:hover {
  border-color: #dbbf55;
  background: #fffdf3;
}
.credit-package strong {
  font-size: 14px;
  display: block;
}
.credit-package small {
  font-size: 11px;
  color: var(--muted);
}
.credit-package > span:last-child {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.6px;
}
.credit-package.featured {
  border-color: #eadb98;
  background: #fffbed;
}
.credit-package .package-note {
  color: #8b7327;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.03em;
}
.credit-refund {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.credit-refund button {
  font-size: 12px;
  text-align: left;
}
.account-description {
  font-size: 13px;
  color: var(--muted);
  margin: -8px 0 20px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px 18px;
}
.contact-grid > div {
  min-width: 0;
}
.contact-grid label {
  display: block;
  margin-bottom: 6px;
}
.contact-grid .full {
  grid-column: 1/-1;
}
.contact-save {
  margin-top: 19px;
}
.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.account-actions button {
  border: 0;
  background: transparent;
  color: var(--blue);
  font-size: 12px;
  min-height: 42px;
  padding: 5px 0;
}
.account-actions .danger-link {
  color: #ae5750;
}
.account-security form {
  margin: 14px 0;
}
.account-security .neobrutalist-input {
  margin-bottom: 10px;
}
.share-links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0;
}
.share-links a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: #f4f7fb;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #68788f;
}
.account-help {
  font-size: 12px;
  color: var(--muted);
}
.account-help p {
  margin: 12px 0;
}
.account-help .text-action {
  font-size: 12px;
}
.detail-page {
  max-width: 920px;
}
.detail-toolbar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
  align-items: center;
}
.detail-page .neobrutalist-card p {
  font-size: 13px;
  color: #627087;
  margin: 7px 0;
  overflow-wrap: anywhere;
}
.confirmation-page {
  max-width: 600px;
  margin: 70px auto;
}
.confirmation-page h1 {
  font-size: 26px;
}
.confirmation-page p {
  color: var(--muted);
  font-size: 14px;
}
@keyframes workspace-in {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1500px) {
  .app-main {
    margin-right: auto;
  }
  .request-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
  }
}
@media (max-width: 1160px) {
  :root {
    --sidebar: 192px;
  }
  .app-sidebar {
    padding-left: 12px;
    padding-right: 12px;
  }
  .app-brand {
    padding-left: 9px;
    padding-right: 9px;
  }
  .app-main {
    padding-left: 28px;
    padding-right: 28px;
  }
  .request-layout {
    gap: 18px;
    grid-template-columns: minmax(0, 1fr) 250px;
  }
  .form-section {
    padding: 20px;
  }
  .request-review {
    padding: 20px;
  }
  .stay-fields {
    gap: 14px;
    grid-template-columns: 1fr;
  }
  .results-grid {
    gap: 14px;
  }
  .result-card {
    padding: 19px;
  }
  .result-card-header {
    flex-wrap: wrap;
  }
  .result-card-header .status-badge {
    margin-left: 54px;
    margin-top: -6px;
  }
  .account-layout {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 18px;
  }
  .account-section {
    padding: 20px;
  }
}
@media (max-width: 960px) and (min-width: 761px) {
  .request-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .request-review {
    position: static;
    display: grid;
    grid-template-columns: 1fr 210px;
    gap: 0 20px;
  }
  .review-heading,
  .request-review h2,
  .review-task {
    display: none;
  }
  .review-summary {
    grid-column: 1;
    align-self: center;
  }
  .review-cost {
    grid-column: 1;
    border: 0;
    padding: 8px 0;
  }
  .request-review .primary-action {
    grid-column: 2;
    grid-row: 1/3;
    align-self: center;
  }
  .review-footnote {
    grid-column: 2;
  }
  .account-layout {
    grid-template-columns: 1fr;
  }
  .account-balance {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
  }
  .account-balance h2,
  .account-email {
    grid-column: 1/-1;
  }
  .account-balance .credit-refund {
    grid-column: 1/-1;
  }
}
@media (max-width: 760px) {
  body.workspace {
    font-size: 14px;
  }
  .app-sidebar {
    position: static;
    width: 100%;
    height: auto;
    padding: 20px 20px 15px;
    border: 0;
    background: #fff;
  }
  .app-brand {
    padding: 0;
    max-width: 144px;
  }
  .app-brand img {
    width: 144px;
  }
  .sidebar-bottom {
    display: none;
  }
  .app-navigation {
    position: fixed;
    inset: auto 0 0;
    flex-direction: row;
    justify-content: space-around;
    gap: 8px;
    padding: 8px 14px calc(9px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: #fffffffa;
    backdrop-filter: blur(16px);
    z-index: 1000;
  }
  .app-navigation a {
    flex: 1;
    flex-direction: column;
    gap: 5px;
    padding: 9px 6px 7px;
    min-height: 54px;
    font-size: 10px;
    border-radius: 9px;
    font-weight: 600;
  }
  .app-navigation a i {
    font-size: 17px;
  }
  .app-main {
    margin: 0;
    max-width: 100%;
    padding: 0 18px calc(100px + env(safe-area-inset-bottom));
    min-height: calc(100vh - 70px);
  }
  .workspace-topline {
    display: none;
  }
  .call-types {
    width: 100%;
    margin-top: 7px;
    border-radius: 10px;
  }
  .call-types .tab-link,
  .call-types a {
    font-size: 13px;
    gap: 7px;
    min-height: 40px;
    padding: 8px;
  }
  .call-types i {
    font-size: 12px;
  }
  .page-heading {
    margin: 24px 0 22px;
  }
  .page-heading h1 {
    font-size: 29px;
    letter-spacing: -1px;
    line-height: 1.16;
    margin-bottom: 8px;
  }
  .page-heading p {
    font-size: 14px;
    line-height: 1.55;
  }
  .request-layout {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .request-fields {
    width: 100%;
  }
  .form-section {
    padding: 19px 17px;
    margin-bottom: 14px;
    border-radius: 12px;
  }
  .form-section h2 {
    font-size: 17px;
    margin-bottom: 15px;
  }
  .section-title {
    margin-bottom: 15px;
  }
  .section-title h2 {
    margin: 0;
  }
  .stay-fields {
    grid-template-columns: minmax(0, 1.4fr) minmax(100px, 1fr);
    gap: 12px;
  }
  .stay-fields legend,
  .stay-fields > div > label {
    font-size: 11px;
  }
  .stay-fields .neobrutalist-radio-btn label {
    font-size: 11px;
    padding: 10px 8px !important;
  }
  .guest-field {
    padding-left: 10px;
  }
  .guest-field i {
    font-size: 13px;
  }
  .guest-field select {
    font-size: 12px;
    padding: 8px 6px;
  }
  .search-field {
    gap: 8px;
    padding-left: 12px;
  }
  .search-field input {
    font-size: 13px;
    min-height: 37px;
  }
  .search-button {
    padding: 8px 10px;
    font-size: 11px !important;
  }
  .selection-label {
    margin-top: 19px;
  }
  .phone-row {
    padding: 11px 10px;
    gap: 5px;
  }
  .phone-fields .neobrutalist-input {
    font-size: 14px;
  }
  .paste-button {
    font-size: 11px !important;
    padding: 7px;
  }
  .remove-contact {
    width: 28px;
  }
  .call-preferences {
    margin-bottom: 14px;
    border-radius: 11px;
  }
  .preferences-toggle {
    min-height: 60px;
    padding: 15px 16px;
    gap: 9px;
    flex-wrap: wrap;
  }
  .preferences-toggle strong {
    font-size: 12px;
  }
  .preferences-toggle > span {
    font-size: 10px;
  }
  .preferences-toggle > i:first-child {
    font-size: 12px;
  }
  .preferences-toggle > i:last-child {
    font-size: 9px;
  }
  .call-preferences .flex-container {
    flex-direction: column;
    gap: 14px;
  }
  .request-review {
    width: 100%;
    position: static;
    padding: 18px;
    border-radius: 12px;
    margin-top: 2px;
  }
  .review-heading,
  .request-review h2 {
    display: none;
  }
  .review-summary strong {
    font-size: 16px;
  }
  .review-summary p {
    font-size: 12px;
  }
  .review-task {
    font-size: 12px;
    margin: 13px 0;
  }
  .review-cost {
    padding: 12px 0;
    font-size: 11px;
  }
  .request-review .primary-action {
    min-height: 49px;
    font-size: 15px;
  }
  .review-footnote {
    font-size: 10px;
    margin: 10px 0 0;
  }
  .workspace-footer {
    margin-top: 26px;
    padding-top: 20px;
    font-size: 9px;
  }
  .workspace .neobrutalist-input {
    font-size: 16px;
  }
  .form-section .flex-container {
    flex-direction: column;
    gap: 16px;
  }
  .workspace .neobrutalist-select {
    font-size: 14px;
  }
  .optional {
    font-size: 10px;
  }
  .contact-disclosure {
    padding-right: 12px;
  }
  .contact-disclosure .preferences-toggle {
    padding-right: 8px;
  }
  .saved-info {
    font-size: 10px !important;
    gap: 5px;
  }
  .workspace #instructions-textarea {
    font-size: 14px;
    min-height: 175px;
  }
  .workspace .tooltiptext {
    left: 0;
    transform: translateX(-40%);
  }
  .app-notice {
    bottom: calc(88px + env(safe-area-inset-bottom));
    left: 18px;
    right: 18px;
    max-width: none;
    font-size: 12px;
  }
  .results-overview {
    font-size: 12px;
    margin-bottom: 18px;
  }
  .results-overview .update-status {
    display: block;
    margin: 3px 0 0;
    font-size: 10px;
  }
  .result-toolbar {
    gap: 8px;
    margin-bottom: 17px;
  }
  .quick-filters {
    gap: 6px;
    margin-bottom: 4px;
  }
  .quick-filters button {
    flex: 1;
    white-space: nowrap;
    font-size: 11px;
    padding: 8px 9px;
    min-height: 40px;
  }
  .result-toolbar .filter-search {
    min-width: 100%;
    order: 2;
  }
  .result-toolbar select {
    flex: 1;
    max-width: none;
    font-size: 12px;
    min-width: 0;
  }
  .results-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .result-card {
    padding: 19px 17px;
    border-radius: 12px;
  }
  .result-card-header {
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
  }
  .result-icon {
    width: 38px;
    height: 42px;
    font-size: 16px;
  }
  .result-identity h2 {
    font-size: 17px;
    margin-top: 0;
  }
  .result-card-header .status-badge {
    margin: 2px 0 0 48px;
  }
  .status-badge {
    font-size: 10px;
  }
  .result-meta {
    font-size: 10px;
  }
  .result-summary {
    font-size: 13px;
    line-height: 1.7;
    -webkit-line-clamp: 4;
  }
  .result-actions .secondary-action {
    min-height: 42px;
    padding: 9px 13px;
    font-size: 12px;
  }
  .result-context {
    font-size: 11px;
  }
  .results-bottom {
    font-size: 11px;
    gap: 8px;
  }
  .pagination {
    width: 100%;
    justify-content: center;
    margin: 10px 0;
  }
  .pagination button {
    min-width: 40px;
    height: 40px;
  }
  .account-layout {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .account-column {
    width: 100%;
  }
  .account-section {
    padding: 20px 18px;
    margin-bottom: 16px;
    border-radius: 12px;
  }
  .account-section h2 {
    font-size: 18px;
  }
  .account-email {
    font-size: 12px;
    margin-bottom: 20px;
  }
  .credit-number {
    font-size: 50px;
  }
  .contact-grid {
    gap: 16px 12px;
  }
  .contact-grid > div {
    grid-column: 1/-1;
  }
  .account-description {
    font-size: 12px;
  }
  .credit-package {
    padding: 14px;
  }
  .account-actions button {
    font-size: 12px;
    min-height: 44px;
  }
  .detail-page .neobrutalist-card {
    padding: 18px;
  }
  .detail-toolbar {
    margin-bottom: 20px;
  }
  .confirmation-page {
    margin: 40px 0;
  }
  .confirmation-page .neobrutalist-card {
    padding: 22px;
  }
  .empty-state {
    padding: 44px 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .workspace *,
  .workspace *::before,
  .workspace *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* Preserve the landing-page logo's full illustration and wordmark at every size. */
@media (max-width: 1160px) and (min-width: 761px) {
  .app-brand img {
    width: 150px;
  }
}
@media (max-width: 760px) {
  .app-sidebar {
    padding: 17px 20px 13px;
  }
}
/* Keep contact details ahead of support links in the mobile reading order. */
.account-layout {
  grid-template-areas: "balance contact" "help security";
}
.account-layout > .account-section {
  margin-bottom: 0;
  width: 100%;
}
.account-balance {
  grid-area: balance;
}
.account-contact {
  grid-area: contact;
}
.account-security {
  grid-area: security;
}
.account-help {
  grid-area: help;
}
@media (max-width: 960px) {
  .account-layout {
    grid-template-areas: "balance" "contact" "security" "help";
  }
}
@media (max-width: 760px) {
  .account-layout {
    gap: 16px;
  }
}
/* Selected places read as compact rows; manual entries retain full-size fields. */
.phone-row:not(.manual-row) .phone-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1px 10px;
  align-items: center;
}
.phone-row:not(.manual-row) .contact-name {
  grid-column: 1/-1;
  min-height: 22px;
}
.phone-row:not(.manual-row) .contact-address {
  grid-column: 1;
  line-height: 20px;
  margin: 0;
}
.phone-row:not(.manual-row) input[type="tel"] {
  grid-column: 2;
  min-height: 20px;
}
.phone-row:not(.manual-row):not(:has(.contact-address)) input[type="tel"] {
  grid-column: 1/-1;
}
.phone-row:not(.manual-row) .field-error {
  grid-column: 1/-1;
}
.workspace #feedback-message {
  text-align: left !important;
}
/* Retained screens swap in place; skeletons are reserved for genuinely pending data. */
.page-view {
  min-width: 0;
}
.screen-host {
  min-width: 0;
}
.screen-skeleton {
  padding: 24px 0;
  min-height: 420px;
}
.skeleton-heading {
  margin: 0 0 28px;
}
.skeleton-block {
  display: block;
  background: #e8edf2;
  border-radius: 7px;
  position: relative;
  overflow: hidden;
}
.skeleton-block::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    transparent 20%,
    #ffffff70 48%,
    transparent 80%
  );
  transform: translateX(-100%);
  animation: skeleton-shift 1.6s ease-in-out infinite;
}
.skeleton-line {
  height: 14px;
  margin: 12px 0;
}
.skeleton-heading .skeleton-line:first-child {
  height: 30px;
  max-width: 400px;
}
.skeleton-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 23px;
  margin: 0 0 18px;
  min-width: 0;
}
.skeleton-card .skeleton-line:first-child {
  height: 20px;
  margin-bottom: 25px;
}
.skeleton-control {
  height: 46px;
  margin-top: 24px;
}
.skeleton-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 292px;
  gap: 24px;
}
.skeleton-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.skeleton-toolbar {
  margin-bottom: 22px;
}
.skeleton-list .skeleton-card {
  border-radius: 9px;
  padding: 15px;
  margin: 10px 0;
}
.skeleton-list .skeleton-line:first-child {
  margin-bottom: 12px;
  height: 14px;
}
.skeleton-list .skeleton-control {
  display: none;
}
.skeleton-list .skeleton-line {
  height: 11px;
  margin: 7px 0;
}
.workspace #validation-feedback .skeleton-list .skeleton-card {
  border: 0;
  padding: 0;
  min-height: 0;
}
.workspace
  #validation-feedback
  .skeleton-list
  .skeleton-card:not(:first-child) {
  display: none;
}
@keyframes skeleton-shift {
  to {
    transform: translateX(100%);
  }
}
@media (max-width: 960px) {
  .skeleton-workspace {
    grid-template-columns: 1fr;
  }
  .skeleton-workspace > div:last-child {
    display: none;
  }
}
@media (max-width: 760px) {
  .screen-skeleton {
    padding-top: 20px;
  }
  .skeleton-results {
    grid-template-columns: 1fr;
  }
  .skeleton-card {
    padding: 20px 17px;
  }
  .skeleton-heading .skeleton-line:first-child {
    width: 80% !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .skeleton-block::after {
    animation: none;
  }
}
/* Authentication shares the same wordmark, surfaces and controls as the app. */
body.auth-page {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  background: var(--canvas);
  padding: 0 40px;
}
.auth-header {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 0;
}
.auth-header .app-brand {
  padding: 0;
}
.auth-home {
  font-size: 12px;
  color: var(--muted) !important;
  display: flex;
  align-items: center;
  gap: 10px;
}
.auth-home i {
  font-size: 10px;
}
.auth-layout {
  max-width: 1000px;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 100px;
  align-items: center;
  margin: auto;
  padding: 35px 0 55px;
}
.auth-context {
  max-width: 420px;
}
.auth-mascot {
  width: 142px;
  height: 142px;
  background: #fff4ca;
  border-radius: 36px;
  display: grid;
  place-items: center;
  margin-bottom: 29px;
  transform: rotate(-3deg);
}
.auth-mascot img {
  width: 116px;
  height: 116px;
  object-fit: contain;
  transform: rotate(3deg);
}
.auth-context .eyebrow {
  font-size: 10px;
  color: #7f8b9b;
  margin-bottom: 13px;
}
.auth-context h2 {
  font-size: 45px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.8px;
  margin: 0 0 20px;
}
.auth-context > p:last-of-type {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 360px;
}
.auth-call-types {
  display: flex;
  gap: 21px;
  margin-top: 28px;
  font-size: 11px;
  color: #617087;
}
.auth-call-types span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.auth-call-types i {
  font-size: 12px;
  color: #8290a1;
}
.auth-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px;
  box-shadow: 0 5px 24px #263c5404;
  min-width: 0;
}
.auth-heading {
  margin-bottom: 27px;
}
.auth-heading h1 {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.8px;
  margin-bottom: 9px;
}
.auth-heading p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.auth-field {
  margin: 0 0 18px;
}
.auth-field label {
  display: block;
  margin-bottom: 7px;
  font-size: 12px;
}
.auth-page .neobrutalist-input {
  font-size: 14px;
  min-height: 47px;
  background: #fbfcfe;
}
.password-field {
  position: relative;
}
.password-field input {
  padding-right: 48px !important;
}
.password-field button {
  position: absolute;
  right: 4px;
  top: 4px;
  width: 40px;
  min-height: 39px;
  border: 0;
  background: none;
  color: #8692a1;
  border-radius: 6px;
}
.auth-submit {
  margin-top: 24px;
  min-height: 47px !important;
}
.auth-or {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #a1aab6;
  font-size: 11px;
  margin: 23px 0;
}
.auth-or::before,
.auth-or::after {
  content: "";
  height: 1px;
  background: #e8edf2;
  flex: 1;
}
.auth-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 47px;
  width: 100%;
  border: 1px solid #dce3ec;
  border-radius: 9px;
  background: #fff;
  color: #344255;
  font-size: 13px !important;
  font-weight: 600;
  transition: background 0.15s;
}
.auth-google:hover {
  background: #f6f8fb;
}
.auth-google .fa-google {
  color: #536c91;
}
.auth-switch {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin: 23px 0 0;
}
.auth-switch a {
  font-weight: 650;
}
.auth-footer {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 22px 0 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: #929eac;
}
.auth-footer div {
  display: flex;
  gap: 20px;
}
.auth-footer a {
  color: #7f8b9b;
}
.auth-error {
  background: #fff0ee;
  border: 1px solid #f1d4ce;
  border-radius: 8px;
  padding: 11px 13px;
  font-size: 12px;
  color: #a34a43;
  margin: 14px 0;
}
.auth-verification {
  background: #fff9e8;
  border: 1px solid #eddfb7;
  border-radius: 10px;
  padding: 16px;
  margin-top: 22px;
}
.auth-verification strong {
  font-size: 13px;
  font-weight: 700;
  color: #6e5820;
}
.auth-verification p {
  font-size: 12px;
  line-height: 1.7;
  color: #7f7047;
  margin-top: 5px;
}
.auth-verification .text-action {
  font-size: 12px;
  margin: 6px 0 0;
  min-height: 36px;
  display: flex;
}
.auth-loading {
  min-height: 470px;
  padding-top: 8px;
}
.auth-loading .skeleton-control {
  margin-top: 30px;
}
@media (max-width: 1050px) {
  .auth-layout {
    gap: 55px;
    grid-template-columns: minmax(0, 1fr) 390px;
  }
  .auth-context h2 {
    font-size: 40px;
  }
  .auth-card {
    padding: 30px;
  }
}
@media (max-width: 800px) {
  body.auth-page {
    padding: 0 22px;
  }
  .auth-header {
    max-width: 430px;
    padding: 24px 0;
  }
  .auth-header .app-brand {
    max-width: 144px;
  }
  .auth-header .app-brand img {
    width: 144px;
  }
  .auth-home {
    font-size: 11px;
    gap: 7px;
  }
  .auth-layout {
    display: block;
    max-width: 430px;
    margin: auto;
    padding: 24px 0 38px;
  }
  .auth-context {
    display: none;
  }
  .auth-card {
    padding: 30px 26px;
    border-radius: 15px;
  }
  .auth-heading h1 {
    font-size: 27px;
  }
  .auth-footer {
    max-width: 430px;
    font-size: 9px;
    padding: 20px 0;
  }
  .auth-footer div {
    gap: 16px;
  }
  .auth-page .neobrutalist-input {
    font-size: 16px;
  }
  .auth-heading {
    margin-bottom: 25px;
  }
}
@media (max-width: 360px) {
  body.auth-page {
    padding: 0 16px;
  }
  .auth-card {
    padding: 26px 20px;
  }
  .auth-home {
    font-size: 10px;
  }
  .auth-heading h1 {
    font-size: 25px;
  }
}
#content > .screen-skeleton > div[aria-hidden="true"],
#profile-data > .screen-skeleton > div[aria-hidden="true"] {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
#profile-data > .screen-skeleton > div[aria-hidden="true"] {
  grid-template-columns: 300px minmax(0, 1fr);
}
@media (max-width: 960px) {
  #profile-data > .screen-skeleton > div[aria-hidden="true"] {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  #content > .screen-skeleton > div[aria-hidden="true"] {
    grid-template-columns: 1fr;
  }
}

.result-card:has(> .call-detail[open]) > .result-summary {
  display: block;
  -webkit-line-clamp: unset;
}
.call-transcript {
  margin-top: 18px;
}
.call-transcript h3 {
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 650;
}
/* Task guides and comparison workspaces follow the existing quiet yellow accent. */
.task-guide { margin: 22px 0; padding: 22px 0; border-block: 1px solid #e3e5e8; }
.task-guide-heading, .comparison-heading, .comparison-board-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.task-guide h3, .comparison-heading h2, .comparison-board-heading h3 { margin: 0 0 6px; font-size: 19px; font-weight: 750; letter-spacing: -.025em; }
.task-guide p, .comparison-heading p, .comparison-board-heading p { margin: 0; color: #656d78; font-size: 14px; line-height: 1.6; }
.task-guide-label { display: block; margin-bottom: 6px; color: #657064; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.task-guide-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; margin: 22px 0; }
.task-guide-fields label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 600; }
.task-guide-fields input, .task-guide-fields select { width: 100%; }
.task-guide .field-hint { font-size: 12px; margin-top: 6px; }
.guide-business-questions { margin: 16px 0; font-size: 13px; }
.guide-business-questions summary { cursor: pointer; font-weight: 650; }
.guide-business-questions ul { padding-left: 20px; margin: 12px 0; list-style: disc; line-height: 1.7; }
.task-guide-loading { padding: 12px 0; }
.task-comparisons { margin: 16px 0 40px; padding-bottom: 28px; border-bottom: 1px solid #dde1e7; }
.comparison-picker { display: flex; align-items: end; gap: 12px; margin: 22px 0; }
.comparison-picker label { display: flex; flex-direction: column; gap: 7px; min-width: min(100%,400px); font-size: 12px; color: #656d78; }
.comparison-picker select, .shortlist-actions select { min-height: 44px; border: 1px solid #d5d9df; border-radius: 8px; padding: 8px 12px; background: white; color: #20252c; font-size: 14px; }
.comparison-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; justify-content: flex-end; }
.comparison-actions .primary-action, .comparison-actions .secondary-action { width: auto; min-width: 0; }
.task-comparisons [data-board-notice]:empty { display: none; }
.comparison-board-heading { align-items: center; margin-bottom: 18px; }
.comparison-scroll { width: 100%; overflow-x: auto; border: 1px solid #e0e3e8; border-radius: 12px; background: white; }
.comparison-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; }
.comparison-table th, .comparison-table td { padding: 18px 20px; vertical-align: top; border-bottom: 1px solid #e8ebef; overflow-wrap: anywhere; }
.comparison-table thead th { background: #f8f9fb; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: #6a717c; font-weight: 650; }
.comparison-table tbody th { width: 23%; min-width: 160px; font-weight: 600; }
.comparison-table td { width: 25%; min-width: 145px; line-height: 1.6; }
.comparison-table tr:last-child > * { border-bottom: 0; }
.comparison-table ul { list-style: disc; margin: 0; padding-left: 18px; }
.comparison-status { display: block; font-size: 12px; color: #7a818b; margin-top: 6px; font-weight: 400; }
.comparison-summary { font-size: 12px; line-height: 1.6; color: #657080; font-weight: 400; margin: 12px 0 0; }
.comparison-price { font-size: 16px; font-weight: 650; color: #20252c; }
.comparison-lowest { display: inline-block; padding: 4px 8px; border-radius: 5px; background: #f2edc9; margin-top: 10px; font-size: 11px; color: #56511e; }
.comparison-evidence { margin-top: 14px; font-size: 12px; }
.comparison-evidence summary { cursor: pointer; color: #4c596c; }
.comparison-evidence small { display: block; margin: 10px 0; color: #747c88; }
.comparison-evidence blockquote { margin: 10px 0; padding-left: 10px; border-left: 2px solid #eadf90; color: #606a78; font-style: italic; }
.comparison-evidence a { text-decoration: underline; }
.comparison-note { margin-top: 12px !important; max-width: 760px; }
.comparison-empty { padding: 18px 0; max-width: 620px; color: #6a717c; font-size: 14px; line-height: 1.7; }
.comparison-create { display: flex; flex-wrap: wrap; align-items: end; gap: 14px; margin-top: 22px; }
.comparison-create label { flex: 1; max-width: 340px; min-width: 200px; font-size: 12px; color: #747c88; }
.comparison-create input { width: 100%; margin-top: 6px; }
.comparison-select { display: flex; align-items: center; gap: 7px; color: #747c88; font-size: 12px; margin-right: auto; }
.comparison-select input, .shortlist-options input, .shortlist-conditions input { width: 16px; height: 16px; accent-color: #8b7a20; }
.shortlist-dialog { max-width: min(960px,calc(100vw - 32px)); width: 960px; max-height: 90dvh; padding: 0; border: 1px solid #dfe3e9; border-radius: 18px; color: #222832; box-shadow: 0 25px 90px #14203230; }
.shortlist-dialog::backdrop { background: #14203266; }
.shortlist-dialog-body { padding: 30px; overflow-y: auto; }
.shortlist-dialog header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.shortlist-dialog h2 { font-size: 24px; font-weight: 750; letter-spacing: -.03em; }
.shortlist-dialog p { line-height: 1.6; font-size: 14px; }
.shortlist-options { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 18px 0; }
.shortlist-options label, .shortlist-conditions { display: flex; align-items: center; gap: 9px; font-size: 14px; }
.shortlist-actions { display: flex; align-items: end; gap: 16px; margin: 22px 0; }
.shortlist-actions label { display: flex; flex-direction: column; gap: 7px; font-size: 12px; }
.shortlist-dialog [data-share-preview-content], .shortlist-dialog [data-share-link-content] { margin-top: 24px; }
.shortlist-dialog [data-share-preview-content] > button { margin-top: 14px; }
.shortlist-dialog [data-share-url] { width: 100%; margin: 12px 0; font-size: 13px; }
.shortlist-links-heading { margin-top: 26px; font-size: 15px; font-weight: 650; }
.shortlist-link-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid #eceef2; padding: 12px 0; font-size: 13px; }
.shared-shortlist-page { background: #f6f7fa; color: #222832; font-family: "DM Sans",system-ui,sans-serif; margin: 0; }
.shared-brand { padding: 28px clamp(20px,6vw,100px); border-bottom: 1px solid #e1e5eb; }
.shared-brand .app-brand { padding: 0; }
.shared-shortlist { margin: 54px auto; max-width: 1120px; padding: 0 24px; }
.shared-shortlist .page-heading { margin-bottom: 30px; }
.shared-shortlist h1 { font-size: clamp(28px,4vw,40px); font-weight: 750; letter-spacing: -.04em; }
.shared-disclaimer { max-width: 700px; margin-top: 24px; font-size: 13px; color: #747c88; line-height: 1.7; }
.shared-shortlist .field-hint { color: #747c88; font-size: 12px; margin-top: 15px; }
@media(max-width:700px) {
  .task-guide-heading, .comparison-board-heading { flex-direction: column; gap: 14px; }
  .task-guide-fields { grid-template-columns: 1fr; }
  .comparison-actions { justify-content: flex-start; }
  .comparison-picker label { min-width: 0; width: 100%; }
  .comparison-table thead { display: none; }
  .comparison-table, .comparison-table tbody { display: block; }
  .comparison-table tbody tr { display: block; border-bottom: 1px solid #dfe3e9; padding: 14px 18px; }
  .comparison-table tbody tr:last-child { border-bottom: 0; }
  .comparison-table tbody th, .comparison-table td { display: block; width: auto; min-width: 0; border: 0; padding: 8px 0; }
  .comparison-table td::before { content: attr(data-label); display: block; margin-bottom: 4px; font-size: 10px; font-weight: 600; text-transform: uppercase; color: #7b838f; letter-spacing: .05em; }
  .comparison-table tbody th { font-size: 17px; }
  .comparison-create { align-items: stretch; }
  .comparison-create label { max-width: none; }
  .shortlist-dialog-body { padding: 22px 18px; }
  .shortlist-actions { align-items: stretch; flex-direction: column; }
  .shortlist-dialog header { align-items: flex-start; }
  .shared-shortlist { margin-top: 32px; padding: 0 18px; }
}
/* A booking is an explicit approval followed by an evidence-backed receipt. */
.booking-start { display: block; margin-top: 16px; font-size: .85rem; }
.booking-dialog { width: min(780px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; color: var(--ink, #242620); background: #fffef9; border: 1px solid #d9dbd1; border-radius: 20px; box-shadow: 0 24px 90px #1b241940; }
.booking-dialog::backdrop { background: #16201580; backdrop-filter: blur(3px); }
.booking-dialog-body { padding: clamp(20px, 4vw, 36px); }
.booking-dialog header, .booking-receipt header { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.booking-dialog h2 { margin: 6px 0 16px; font-size: clamp(1.4rem, 3vw, 1.85rem); line-height: 1.2; }
.booking-dialog h3 { margin: 24px 0 10px; font-size: 1.1rem; }
.booking-dialog p { line-height: 1.6; }
.booking-eyebrow { font-size: .72rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: #616a53; }
.booking-quote { padding: 12px 16px; background: #f2f3e9; border-radius: 8px; }
.booking-fields { min-width: 0; border: 0; padding: 0; margin: 20px 0 0; }
.booking-input-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.booking-fields label { display: grid; gap: 7px; margin-bottom: 16px; font-size: .86rem; font-weight: 600; }
.booking-fields input, .booking-fields textarea { width: 100%; min-width: 0; box-sizing: border-box; padding: 11px 12px; border: 1px solid #c8cdc0; border-radius: 7px; background: white; color: inherit; font: inherit; font-weight: 400; }
.booking-fields input:focus, .booking-fields textarea:focus { outline: 2px solid #718346; outline-offset: 2px; }
.booking-boundary { padding: 14px 16px; background: #f8f4dd; border-left: 3px solid #b8a756; border-radius: 4px; font-size: .85rem; }
.booking-facts { margin: 20px 0; }
.booking-facts > div { display: grid; grid-template-columns: minmax(130px, .65fr) 1.35fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid #e5e7dd; }
.booking-facts dt, .booking-confirmed-facts dt { font-size: .8rem; color: #66705c; }
.booking-facts dd, .booking-confirmed-facts dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: .92rem; line-height: 1.5; }
.booking-consent { display: flex; align-items: flex-start; gap: 12px; margin: 24px 0; line-height: 1.55; font-size: .9rem; cursor: pointer; }
.booking-consent input { margin-top: 5px; width: 18px; height: 18px; flex: 0 0 auto; accent-color: #405b2b; }
.booking-review-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.booking-review-actions .text-action { white-space: nowrap; flex-shrink: 0; }
.booking-review-actions .primary-action { flex: 1; width: auto; }
.booking-dialog .inline-message:empty { display: none; }
.booking-results { margin-top: 36px; padding-top: 28px; border-top: 1px solid #dce1d3; }
.booking-section-heading h3 { font-size: 1.45rem; margin: 6px 0 10px; }
.booking-section-heading > p { color: #67705e; max-width: 650px; font-size: .9rem; line-height: 1.6; }
.booking-receipts { display: grid; gap: 20px; margin-top: 24px; }
.booking-receipt { padding: clamp(18px, 3vw, 26px); border: 1px solid #dce1d3; border-radius: 12px; background: #fffef9; }
.booking-receipt h4 { font-size: 1.25rem; margin: 10px 0 6px; }
.booking-receipt header p { font-size: .85rem; color: #646e5b; margin: 0; }
.booking-state { display: inline-block; font-size: .75rem; padding: 5px 9px; border-radius: 5px; background: #f0ead4; color: #695627; }
.booking-state[data-state="confirmed"] { background: #e6efdb; color: #345329; }
.booking-state[data-state="calling"] { background: #e9edf1; color: #486070; }
.booking-result-note { line-height: 1.65; font-size: .9rem; max-width: 680px; margin: 18px 0; }
.booking-confirmed-facts { display: flex; gap: 32px; flex-wrap: wrap; margin-bottom: 22px; }
.booking-confirmed-facts dd { font-size: 1.05rem; font-weight: 600; margin-top: 5px; }
.booking-service-details, .booking-history { display: block; margin-top: 18px; font-size: .85rem; }
.booking-service-details summary { cursor: pointer; font-weight: 600; }
.booking-dialog [hidden] { display: none !important; }
@media (max-width: 560px) {
  .booking-input-grid { grid-template-columns: 1fr; gap: 0; }
  .booking-facts > div { grid-template-columns: 1fr; gap: 4px; }
  .booking-review-actions { flex-direction: column-reverse; align-items: stretch; }
  .booking-receipt header { flex-direction: column; gap: 12px; }
  .booking-dialog header .text-action { white-space: nowrap; }
}
