:root {
  --dh-navy: #465c65;
  --dh-blue: #2a93db;
  --dh-blue-dark: #2d8cc7;
  --dh-ink: #344b55;
  --dh-muted: #718189;
  --dh-line: #d7dcdf;
  --dh-soft: #f3f5f6;
  --dh-green: #2e7d61;
  --dh-shadow: 0 8px 24px rgba(30, 47, 55, .1);
}
.dh-page { background: #fff; color: var(--dh-ink); font-family: Inter, Arial, sans-serif; }
.dh-shell { max-width: 1080px; margin: 0 auto; padding: 34px 24px 72px; }
.dh-notice, .dh-context { border-radius: 4px; margin: 0 0 22px; padding: 15px 18px; font-size: 14px; }
.dh-notice { background: #fff6dc; color: #614900; border: 1px solid #f0d991; }
.dh-context { display: flex; align-items: center; justify-content: space-between; gap: 18px; background: #edf5ff; color: #163c71; border: 1px solid #c9def8; }
.dh-context strong { display: block; font-size: 16px; margin-bottom: 2px; }
.dh-context p { margin: 0; }
.dh-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr); gap: 38px; align-items: start; }
.dh-visual-card { position: relative; width: 100%; max-width: 520px; min-width: 0; }
.dh-carousel { position: relative; aspect-ratio: 1 / 1; min-height: 0; overflow: hidden; border: 1px solid var(--dh-line); border-radius: 5px; background: #f3f5f6; box-shadow: 0 3px 12px rgba(28, 48, 75, .08); }
.dh-slide { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .45s ease; }
.dh-slide.is-active { opacity: 1; visibility: visible; }
.dh-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dh-slide[data-type="lifestyle"] img { object-fit: cover; }
.dh-generation { padding: 40px; text-align: center; color: var(--dh-muted); }
.dh-generation-spinner { width: 36px; height: 36px; border-radius: 50%; border: 3px solid #d7e2ef; border-top-color: var(--dh-blue); animation: dh-spin .8s linear infinite; margin: 0 auto 14px; }
@keyframes dh-spin { to { transform: rotate(360deg); } }
.dh-carousel-arrow { position: absolute; top: 50%; z-index: 2; transform: translateY(-50%); width: 38px; height: 38px; border: 1px solid #aeb8bd; border-radius: 3px; background: linear-gradient(#fff, #edf0f2); color: #388dc9; font-size: 24px; line-height: 34px; cursor: pointer; box-shadow: 0 1px 3px rgba(20,35,50,.14); }
.dh-carousel-arrow:hover, .dh-carousel-arrow:focus { border-color: var(--dh-blue); outline: none; }
.dh-carousel-arrow.prev { left: 16px; }
.dh-carousel-arrow.next { right: 16px; }
.dh-dots { min-height: 20px; display: flex; justify-content: center; gap: 8px; padding-top: 14px; }
.dh-dot { width: 8px; height: 8px; border: 0; border-radius: 50%; padding: 0; background: #c4ced9; cursor: pointer; }
.dh-dot.is-active { width: 22px; border-radius: 999px; background: var(--dh-blue); }
.dh-detail { padding-top: 4px; }
.dh-kicker { margin: 0 0 8px; color: var(--dh-muted); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.dh-title { margin: 0; color: var(--dh-ink); font: 700 clamp(28px, 3.5vw, 38px)/1.1 Inter, Arial, sans-serif; letter-spacing: -.02em; }
.dh-date { margin: 10px 0 28px; color: var(--dh-muted); font-size: 14px; }
.dh-primary-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.dh-btn { display: inline-flex; min-height: 46px; box-sizing: border-box; align-items: center; justify-content: center; gap: 9px; padding: 11px 17px; border: 1px solid transparent; border-radius: 4px; font: 700 15px/1.15 Inter, Arial, sans-serif; text-align: center; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s; }
.dh-btn:hover { text-decoration: none; }
.dh-page .dh-btn-primary { color: #fff; border-color: #2289bd; background: linear-gradient(#6ac4ed, #2a93db); text-shadow: 0 -1px 0 rgba(0,94,141,.5); box-shadow: 0 1px 2px rgba(0,0,0,.16); }
.dh-page .dh-btn-primary:hover { color: #fff; border-color: #0074af; background: linear-gradient(#62bae0, #2d8cc7); }
.dh-page .dh-btn-secondary { color: #465c65; border-color: #9da3a6; background: linear-gradient(#fff, #ebedef); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.dh-page .dh-btn-secondary:hover { color: #388dc9; border-color: #7f898e; background: linear-gradient(#fff, #dee1e3); }
.dh-btn-danger { color: #9f2330; background: #fff; border-color: #e5b8bd; }
.dh-share-section { margin-top: 22px; overflow: hidden; border: 1px solid var(--dh-line); border-radius: 5px; background: #f7f8f8; }
.dh-share-heading { padding: 15px 16px 12px; }
.dh-share-heading h2 { margin: 0 0 4px; color: var(--dh-ink); font-size: 17px; }
.dh-share-heading p { margin: 0; color: var(--dh-muted); font-size: 12px; line-height: 1.45; }
.dh-share-options { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; padding: 0 16px 14px; }
.dh-action-card { width: 100%; display: grid; grid-template-columns: 36px minmax(0,1fr) 14px; gap: 10px; align-items: center; box-sizing: border-box; padding: 11px; border: 1px solid #aeb6ba; border-radius: 4px; background: #fff; color: var(--dh-ink); font-family: Inter, Arial, sans-serif; text-align: left; cursor: pointer; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.dh-action-card:hover, .dh-action-card:focus { border-color: #6ca8cf; background: linear-gradient(#fff, #e8eff3); outline: none; }
.dh-action-icon { display: flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 3px; background: #eaf3f8; color: #388dc9; }
.dh-action-icon svg { width: 21px; height: 21px; }
.dh-action-copy strong { display: block; margin-bottom: 3px; font-size: 15px; }
.dh-action-copy small { display: block; color: var(--dh-muted); font-size: 12px; line-height: 1.35; }
.dh-action-chevron { font-size: 21px; opacity: .68; }
.dh-link-box { margin: 0; padding: 13px 16px 16px; border-top: 1px solid var(--dh-line); background: #f7f8f8; }
.dh-link-box label { display: block; margin-bottom: 8px; color: var(--dh-muted); font-size: 12px; font-weight: 700; }
.dh-link-row { display: flex; gap: 8px; }
.dh-link-row input { min-width: 0; flex: 1; height: 42px; box-sizing: border-box; border: 1px solid #aeb6ba; border-radius: 3px; padding: 0 11px; background: #fff; color: #465c65; font: 13px Inter, Arial, sans-serif; }
.dh-copy { min-height: 42px; padding: 9px 14px; }
.dh-link-row .dh-btn { height: 42px; min-height: 42px; box-sizing: border-box; padding-top: 0; padding-bottom: 0; }
.dh-support { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 48px; }
.dh-support-card { border: 1px solid var(--dh-line); border-radius: 4px; padding: 20px; background: #fff; }
.dh-support-card h3 { margin: 0 0 12px; font-size: 16px; }
.dh-support-card p { margin: 0 0 14px; color: var(--dh-muted); font-size: 13px; line-height: 1.5; }
.dh-support-card a { color: var(--dh-blue); font-weight: 700; }
.dh-estimate-list { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-bottom: 13px; }
.dh-estimate, .dh-contact-list a { display: flex; gap: 10px; align-items: center; color: var(--dh-ink); text-decoration: none; }
.dh-estimate small, .dh-estimate strong, .dh-contact-list small, .dh-contact-list strong { display: block; }
.dh-estimate small, .dh-contact-list small { margin-bottom: 2px; color: var(--dh-muted); font-size: 11px; font-weight: 500; }
.dh-estimate strong, .dh-contact-list strong { color: var(--dh-ink); font-size: 13px; }
.dh-support-icon { display: flex; width: 34px; height: 34px; flex: 0 0 34px; align-items: center; justify-content: center; border-radius: 3px; background: #eaf3f8; color: #388dc9; }
.dh-support-icon svg { width: 19px; height: 19px; }
.dh-support-link { font-size: 12px; }
.dh-contact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.dh-panel { margin: 0 0 30px; border: 1px solid var(--dh-line); border-radius: 5px; background: #fff; box-shadow: var(--dh-shadow); overflow: hidden; }
.dh-panel-head { padding: 25px 28px 20px; border-bottom: 1px solid var(--dh-line); }
.dh-panel-head h1, .dh-panel-head h2 { margin: 0 0 7px; font: 700 28px/1.15 Inter, Arial, sans-serif; color: var(--dh-ink); }
.dh-panel-head p { margin: 0; color: var(--dh-muted); line-height: 1.5; }
.dh-panel-body { padding: 25px 28px 28px; }
.dh-message { padding: 16px; margin: 0 0 22px; border-radius: 10px; background: #f0f6ff; color: #24496f; white-space: pre-line; }
.dh-privacy { display: flex; gap: 9px; align-items: flex-start; margin: 16px 0; color: var(--dh-muted); font-size: 12px; line-height: 1.45; }
.dh-privacy svg { flex: 0 0 17px; width: 17px; height: 17px; color: var(--dh-green); }
.dh-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dh-field { margin-bottom: 16px; }
.dh-field.full { grid-column: 1 / -1; }
.dh-field label { display: block; margin-bottom: 7px; color: #314359; font-size: 13px; font-weight: 700; }
.dh-field input, .dh-field select, .dh-field textarea { width: 100%; min-height: 43px; box-sizing: border-box; border: 1px solid #aeb6ba; border-radius: 3px; padding: 10px 11px; background: #fff; color: var(--dh-ink); font: 14px Inter, Arial, sans-serif; }
.dh-field-help { display: block; margin-top: 6px; color: var(--dh-muted); font-size: 11px; line-height: 1.4; }
.dh-optional { font-weight: 400; }
.dh-field textarea { min-height: 96px; resize: vertical; }
.dh-field input:focus, .dh-field select:focus, .dh-field textarea:focus { border-color: var(--dh-blue); outline: 2px solid rgba(22,104,227,.14); }
.dh-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.dh-form-status { min-height: 20px; margin: 10px 0; color: #a12e35; font-size: 13px; }
.dh-form-status.is-success { color: var(--dh-green); }
.dh-collection-picks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 2px 0 16px; padding: 0; border: 0; }
.dh-collection-picks legend { grid-column: 1 / -1; margin-bottom: 1px; padding: 0; color: #314359; font-size: 13px; font-weight: 700; }
.dh-collection-picks > .dh-field-help { grid-column: 1 / -1; margin-top: 0; }
.dh-collection-pick { position: relative; display: flex; gap: 10px; align-items: flex-start; box-sizing: border-box; min-height: 72px; padding: 12px; border: 1px solid #aeb6ba; border-radius: 4px; background: #fff; cursor: pointer; }
.dh-collection-pick:hover { border-color: #6ca8cf; }
.dh-collection-pick input { position: absolute; opacity: 0; pointer-events: none; }
.dh-collection-check { display: flex; width: 20px; height: 20px; flex: 0 0 20px; align-items: center; justify-content: center; box-sizing: border-box; border: 1px solid #9ca8ae; border-radius: 3px; background: #fff; color: transparent; }
.dh-collection-check svg { width: 15px; height: 15px; }
.dh-collection-pick input:checked + .dh-collection-check { border-color: #2289bd; background: #2a93db; color: #fff; }
.dh-collection-pick input:focus + .dh-collection-check { outline: 2px solid rgba(42,147,219,.2); outline-offset: 2px; }
.dh-collection-pick strong, .dh-collection-pick small { display: block; }
.dh-collection-pick strong { color: var(--dh-ink); font-size: 13px; }
.dh-collection-pick small { margin-top: 3px; color: var(--dh-muted); font-size: 11px; line-height: 1.35; }
.dh-collection-picks.is-compact { max-width: 560px; margin-top: 13px; }
.dh-collection-picks.is-compact .dh-collection-pick { min-height: 48px; align-items: center; }
.dh-collection-details { margin-top: 4px; padding-top: 16px; border-top: 1px solid var(--dh-line); }
.dh-btn:disabled { cursor: not-allowed; opacity: .5; }
.dh-feedback-options { display: flex; flex-wrap: wrap; gap: 9px; }
.dh-feedback-options label { position: relative; margin: 0; }
.dh-feedback-options input { position: absolute; opacity: 0; }
.dh-feedback-options span { display: inline-block; border: 1px solid #bdc9d8; border-radius: 999px; padding: 9px 13px; font-size: 13px; cursor: pointer; }
.dh-feedback-options input:checked + span { border-color: var(--dh-blue); color: var(--dh-blue); background: #edf5ff; }

.dh-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 23px; }
.dh-stat { padding: 17px; border-radius: 11px; background: var(--dh-soft); }
.dh-stat strong { display: block; font-size: 26px; color: var(--dh-navy); }
.dh-stat span { color: var(--dh-muted); font-size: 12px; }
.dh-aggregate-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 13px; margin: 17px 0 25px; }
.dh-aggregate { border: 1px solid var(--dh-line); border-radius: 11px; padding: 15px; }
.dh-aggregate h3 { margin: 0 0 9px; font-size: 14px; }
.dh-size-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.dh-size-pill { border-radius: 999px; padding: 5px 8px; background: #edf5ff; color: #244f82; font-size: 12px; font-weight: 700; }
.dh-response-list { width: 100%; border-collapse: collapse; font-size: 13px; }
.dh-response-list th { padding: 10px; border-bottom: 1px solid var(--dh-line); color: var(--dh-muted); text-align: left; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.dh-response-list td { padding: 12px 10px; border-bottom: 1px solid #edf1f5; vertical-align: top; }
.dh-manage-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }

.dh-modal[hidden] { display: none; }
.dh-modal { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; box-sizing: border-box; padding: 22px; background: rgba(13, 25, 42, .62); }
.dh-modal-card { position: relative; width: min(700px, 100%); max-height: calc(100vh - 44px); overflow: auto; border: 1px solid #b8c0c4; border-radius: 5px; background: #fff; box-shadow: 0 16px 48px rgba(0,0,0,.3); }
.dh-modal-card.is-wide { width: min(980px, 100%); }
.dh-modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 22px 24px 17px; border-bottom: 1px solid var(--dh-line); }
.dh-modal-head h2 { margin: 0 0 4px; font: 700 23px/1.2 Inter, Arial, sans-serif; }
.dh-modal-head p { margin: 0; color: var(--dh-muted); font-size: 13px; }
.dh-modal-close { width: 34px; height: 34px; flex: 0 0 34px; border: 1px solid #c5ccd0; border-radius: 3px; background: linear-gradient(#fff, #edf0f2); color: #465c65; font-size: 22px; cursor: pointer; }
.dh-modal-body { padding: 22px 24px 25px; }
.dh-share-result { padding: 17px; border-radius: 11px; background: #f0f7f3; }
.dh-share-result h3 { margin: 0 0 6px; color: #145c45; }
.dh-pdf-frame { width: 100%; height: min(70vh, 720px); border: 1px solid var(--dh-line); border-radius: 8px; background: #eef2f6; }
.dh-modal-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
.dh-empty { max-width: 650px; margin: 70px auto; text-align: center; }
.dh-empty h1 { font: 700 34px Inter, Arial, sans-serif; }
.dh-empty p { color: var(--dh-muted); }

@media (max-width: 850px) {
  .dh-grid { grid-template-columns: 1fr; gap: 28px; }
  .dh-carousel { min-height: 0; }
  .dh-detail { max-width: 650px; }
  .dh-visual-card { max-width: 650px; }
}
@media (max-width: 620px) {
  .dh-shell { padding: 22px 15px 50px; }
  .dh-primary-actions, .dh-support, .dh-form-grid { grid-template-columns: 1fr; }
  .dh-context { align-items: flex-start; flex-direction: column; }
  .dh-title { font-size: 31px; }
  .dh-carousel-arrow { width: 36px; height: 36px; line-height: 32px; }
  .dh-panel-head, .dh-panel-body, .dh-modal-head, .dh-modal-body { padding-left: 17px; padding-right: 17px; }
  .dh-stats { grid-template-columns: 1fr; }
  .dh-response-list { display: block; overflow-x: auto; }
  .dh-link-row { flex-wrap: wrap; }
  .dh-link-row input { flex-basis: 100%; }
  .dh-share-options, .dh-estimate-list, .dh-contact-list, .dh-collection-picks { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .dh-slide, .dh-btn { transition: none; }
  .dh-generation-spinner { animation: none; }
}
