.dg-walkthrough{margin-top:12px;padding:10px;border:1px solid #dbe3ec;border-radius:18px;background:#fff;color:#0f172a;min-width:0}
.dg-walkthrough h2{margin:0;font-size:clamp(17px,1.35vw,22px);font-weight:800;line-height:1.2;letter-spacing:-.025em;color:#0f172a}
.dg-walkthrough-caption{margin:0;color:#64748b;font-size:13px;line-height:1.5}
.dg-walkthrough-stage{position:relative;width:100%;aspect-ratio:1920/954;overflow:hidden;border-radius:12px;background:#f4f0e8}
.dg-walkthrough-play{display:block;position:relative;width:100%;height:100%;padding:0;border:0;cursor:pointer;background:#f4f0e8;color:#fff}
.dg-walkthrough-play img,.dg-walkthrough-stage video{display:block;width:100%;height:100%;object-fit:contain}
.dg-walkthrough-play-icon{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:64px;height:64px;border:2px solid #fff;border-radius:50%;background:rgba(15,23,42,.88);font-size:25px;padding-left:4px;box-shadow:0 3px 14px #0003}
.dg-walkthrough-play:hover .dg-walkthrough-play-icon{background:#0f766e}
.dg-walkthrough-play:focus-visible{outline:3px solid #0f766e;outline-offset:-4px}
.dg-walkthrough-duration{position:absolute;right:10px;bottom:10px;background:#0f172ae6;color:#fff;padding:3px 7px;border-radius:5px;font-size:12px}
.dg-walkthrough-error{color:#475569;font-size:13px;margin:8px 0}
.dg-walkthrough-error button{color:#0f766e;text-decoration:underline}
@media(max-width:620px){.dg-walkthrough{padding:10px}.dg-walkthrough-play-icon{width:50px;height:50px;font-size:21px}.dg-walkthrough-caption{font-size:12px}}

/* Approved compact homepage arrangement, scoped to the entry page. */
.dg-walkthrough-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:8px}
.dg-walkthrough-heading .dg-walkthrough-caption{white-space:nowrap}
.dg-risk-entry-controls{grid-template-columns:repeat(3,minmax(0,1fr)) max-content;gap:10px;align-items:end;margin-top:18px}
.dg-risk-entry-controls .dg-product-control{min-width:0}
.dg-risk-entry-controls .dg-company-selection-search-wrap{grid-column:auto}
.dg-risk-entry-controls .dg-risk-entry-action-row{margin:0;align-self:end}
.dg-risk-entry-controls .dg-risk-entry-submit{width:auto;min-width:0;min-height:56px;height:56px;padding:10px 12px;white-space:nowrap;font-size:12px}
.dg-risk-entry-controls .dg-company-search-field input,.dg-risk-entry-controls .dg-product-menu-button,.dg-risk-entry-controls .dg-select-control select{width:100%;min-width:0;height:56px!important;box-sizing:border-box;text-overflow:ellipsis}
.dg-risk-entry-controls [data-dg-product-menu-label]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.dg-risk-entry-controls .dg-company-selection-suggestions{width:max-content;min-width:100%;max-width:min(420px,80vw)}
.dg-risk-entry-controls .dg-company-selection-suggestions strong{white-space:normal;overflow-wrap:anywhere}
.dg-risk-entry-value>.dg-entry-coverage{margin-top:18px;padding:12px;box-shadow:none}
.dg-risk-entry-value>.dg-entry-coverage h2{font-size:18px;line-height:1.2}
.dg-risk-entry-value>.dg-entry-coverage .dg-entry-coverage-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}
.dg-risk-entry-value>.dg-entry-coverage .dg-entry-coverage-card{padding:9px;min-width:0}
.dg-risk-entry-value>.dg-entry-coverage .dg-entry-coverage-card-head{gap:6px}
.dg-risk-entry-value>.dg-entry-coverage .dg-entry-primary{font-size:15px}
.dg-risk-entry-value>.dg-entry-coverage .dg-entry-coverage-card p{overflow-wrap:anywhere}
@media(max-width:820px){.dg-risk-entry-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.dg-risk-entry-controls .dg-company-selection-search-wrap{grid-column:auto}.dg-risk-entry-controls .dg-risk-entry-submit{width:100%}}
@media(max-width:520px){.dg-risk-entry-controls{grid-template-columns:1fr}.dg-risk-entry-controls .dg-risk-entry-action-row{width:100%}}
