
/* Pass 02. Previous layers are kept intact; the review flag switches only this pass. */
html#shellDemo[data-review="after"] .field:not(:focus):not(:disabled):not([aria-invalid="true"]),
html#shellDemo[data-review="after"] .field:hover:not(:focus):not(:disabled):not([aria-invalid="true"]){border-bottom-color:#b0bac5!important}
html#shellDemo[data-review="after"] .sh-page-sub{display:block;font-size:14px;line-height:21px;color:var(--c-text-secondary);max-width:760px;margin-top:8px}
html#shellDemo[data-review="after"] .sh-page-sub[hidden]{display:none}
html#shellDemo[data-review="after"][data-reference="after"][data-local-pass="after"] #listScreen :is(.ex-flat-favorite,.ex-developer-favorite){border-color:#eef4f9!important}
html#shellDemo[data-review="after"][data-reference="after"][data-local-pass="after"] #listScreen :is(.ex-flat-favorite,.ex-developer-favorite):hover{border-color:#eef4f9!important;background:var(--c-favorite-bg)!important}
html#shellDemo[data-review="after"][data-reference="after"][data-local-pass="after"] #listScreen [data-v6-open]{cursor:pointer;transition:background-color .16s,border-color .16s,box-shadow .16s}
html#shellDemo[data-review="after"][data-reference="after"][data-local-pass="after"] #listScreen [data-v6-open]:hover{border-color:var(--c-selected-border)!important;background:var(--c-subtle)!important;box-shadow:0 3px 16px rgba(32,45,54,.08)!important}
html#shellDemo[data-review="after"] [data-v6-open]:focus-visible{outline:2px solid var(--c-focus);outline-offset:3px}
html#shellDemo[data-review="after"][data-reference="after"][data-local-pass="after"] #listScreen .ex-favorite-flat-card .card-media{border:0!important;background:var(--c-surface)!important;box-shadow:none!important}
html#shellDemo[data-review="after"][data-reference="after"][data-local-pass="after"] #listScreen .ex-favorite-flat-card .card-media img{border:0!important;box-shadow:none!important}
html#shellDemo[data-review="after"] .v6-flat-summary{display:grid;grid-template-columns:minmax(0,1fr) max-content;align-items:start;gap:12px}
html#shellDemo[data-review="after"][data-reference="after"][data-local-pass="after"] #listScreen .ex-favorite-flat-card .card-value-group{text-align:right!important;gap:4px!important}
html#shellDemo[data-review="after"][data-reference="after"][data-local-pass="after"] #listScreen .ex-favorite-flat-card .card-title{height:auto!important;min-height:0!important;display:block!important;-webkit-line-clamp:unset!important;overflow:visible!important}
html#shellDemo[data-review="after"][data-reference="after"][data-local-pass="after"] #listScreen .ex-favorite-flat-card .facts{gap:4px!important;display:grid!important}
html#shellDemo[data-review="after"] .v6-flat-summary .facts span{border:0!important;padding:0!important}
html#shellDemo[data-review="after"] .v6-flat-summary .facts span:before{display:none!important}
html#shellDemo[data-review="after"] .v6-identity-row{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;font-size:13px;line-height:20px;min-width:0}
html#shellDemo[data-review="after"] .v6-identity-row>span:first-child{color:var(--c-muted)}
html#shellDemo[data-review="after"] .v6-developer-byline{margin-top:8px}
html#shellDemo[data-review="after"][data-reference="after"][data-local-pass="after"] #listScreen .ex-favorite-flat-card .card-actions{grid-template-columns:1fr!important;gap:4px!important}
html#shellDemo[data-review="after"] .v6-link{appearance:none;background:none;border:0;padding:0;color:var(--c-content-action-ink);font-family:inherit;font-size:14px;line-height:21px;text-align:left;cursor:pointer;overflow-wrap:anywhere}
html#shellDemo[data-review="after"] .v6-link:hover{text-decoration:underline;text-underline-offset:3px}
html#shellDemo[data-review="after"][data-reference="after"][data-local-pass="after"] #listScreen .v6-regulation{background:transparent!important;border-color:transparent!important;color:var(--c-content-action-ink)!important;justify-content:center!important;white-space:normal!important}
html#shellDemo[data-review="after"][data-reference="after"][data-local-pass="after"] #listScreen .v6-regulation:hover:not(:disabled){background:var(--c-content-action-hover)!important;border-color:transparent!important}
html#shellDemo[data-review="after"][data-reference="after"][data-local-pass="after"] #listScreen .v6-regulation:disabled{background:var(--c-disabled-bg)!important;border-color:var(--c-border)!important;color:var(--c-disabled-text)!important;cursor:default!important}
/* Native dialogs retain focus trapping, Escape, and the existing return-focus lifecycle. */
html#shellDemo[data-review="after"] .v6-dialog{font-family:var(--ui-font),Arial,sans-serif;color:var(--c-text);background:var(--c-surface);padding:0;border:1px solid var(--c-border);border-radius:16px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 48px);box-shadow:0 16px 64px rgba(32,45,54,.18);overflow:hidden}
html#shellDemo[data-review="after"] .v6-dialog[open]{display:flex;flex-direction:column}
html#shellDemo[data-review="after"] .v6-dialog::backdrop{background:rgba(32,45,54,.32)}
html#shellDemo[data-review="after"] .v6-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:24px;border-bottom:1px solid var(--c-border);flex:none}
html#shellDemo[data-review="after"] .v6-dialog-head>div{min-width:0}
html#shellDemo[data-review="after"] .v6-dialog-head h2{font-size:22px;line-height:30px;font-weight:600;letter-spacing:-.015em;margin:0;overflow-wrap:anywhere}
html#shellDemo[data-review="after"] .v6-eyebrow{font-size:12px;line-height:16px;font-weight:500;color:var(--c-muted);margin:0 0 6px}
html#shellDemo[data-review="after"] .v6-dialog-head .btn{flex:none}
html#shellDemo[data-review="after"] .v6-dialog-content{padding:24px;overflow:auto;overscroll-behavior:contain;min-height:0;scrollbar-width:thin;scrollbar-color:var(--c-scroll) transparent}
html#shellDemo[data-review="after"] .v6-developer-dialog{width:820px}
html#shellDemo[data-review="after"] .v6-drawer{position:fixed;inset:0 0 0 auto;margin:0;width:min(660px,100vw);max-width:100vw;height:100dvh;max-height:100dvh;border-radius:16px 0 0 16px;border-right:0;border-top:0;border-bottom:0}
html#shellDemo[data-review="after"] .v6-drawer[open]{animation:v6-enter .2s ease-out}
@keyframes v6-enter{from{transform:translateX(32px);opacity:0}to{transform:translateX(0);opacity:1}}
html#shellDemo[data-review="after"] .v6-drawer .v6-dialog-content{flex:1}
html#shellDemo[data-review="after"] .v6-plan{display:grid;place-items:center;background:var(--c-surface);min-height:180px}
html#shellDemo[data-review="after"] .v6-plan img{display:block;width:100%;max-height:260px;object-fit:contain}
html#shellDemo[data-review="after"] .v6-price-line{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:20px 0}
html#shellDemo[data-review="after"] .v6-price-line strong{font-size:20px;line-height:28px;font-weight:700}
html#shellDemo[data-review="after"] .v6-price-line span{font-size:13px;line-height:20px;color:var(--c-muted)}
html#shellDemo[data-review="after"] .v6-section-nav{display:flex;flex-wrap:wrap;gap:8px 16px;padding:12px 0;border-top:1px solid var(--c-border);border-bottom:1px solid var(--c-border)}
html#shellDemo[data-review="after"] .v6-section-nav a{color:var(--c-content-action-ink);font-size:13px;line-height:20px;text-decoration:none;padding:4px 0}
html#shellDemo[data-review="after"] .v6-section-nav a:hover{text-decoration:underline;text-underline-offset:4px}
html#shellDemo[data-review="after"] .v6-section{margin-top:24px;scroll-margin-top:16px}
html#shellDemo[data-review="after"] .v6-section[tabindex="-1"]:focus{outline:none!important;box-shadow:none!important}
html#shellDemo[data-review="after"] .v6-section h3{font-size:18px;line-height:25px;font-weight:600;letter-spacing:-.012em;margin:0 0 16px}
html#shellDemo[data-review="after"] .v6-section p{font-size:14px;line-height:21px;margin:8px 0 0}
html#shellDemo[data-review="after"] .v6-muted{font-size:13px!important;line-height:20px!important;color:var(--c-muted)}
html#shellDemo[data-review="after"] .v6-specs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;margin:16px 0 0}
html#shellDemo[data-review="after"] .v6-specs>div{padding:12px 0;border-top:1px solid var(--c-border);min-width:0}
html#shellDemo[data-review="after"] .v6-specs dt{font-size:13px;line-height:20px;color:var(--c-muted);margin:0 0 4px}
html#shellDemo[data-review="after"] .v6-specs dd{font-size:14px;line-height:21px;font-weight:500;margin:0;overflow-wrap:anywhere}
html#shellDemo[data-review="after"] .v6-building-title{font-size:18px;line-height:25px;display:inline-flex;gap:8px;align-items:center}
html#shellDemo[data-review="after"] .v6-building-title .i{flex:none}
html#shellDemo[data-review="after"] .v6-document-empty{display:flex;align-items:center;gap:12px;border:1px solid var(--c-border);border-radius:8px;padding:16px}
html#shellDemo[data-review="after"] .v6-document-empty>.i{flex:none;color:var(--c-muted)}
html#shellDemo[data-review="after"] .v6-document-empty>div{flex:1;min-width:0}
html#shellDemo[data-review="after"] .v6-document-empty strong{font-size:14px;line-height:21px;font-weight:600}
html#shellDemo[data-review="after"] .v6-document-empty p{font-size:13px;line-height:20px;margin:4px 0 0;color:var(--c-muted)}
html#shellDemo[data-review="after"] .v6-document-status{font-size:12px;line-height:16px;color:var(--c-muted);white-space:nowrap}
html#shellDemo[data-review="after"] .v6-drawer-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 24px;padding:20px 24px;border-top:1px solid var(--c-border);background:var(--c-surface);flex:none}
html#shellDemo[data-review="after"] .v6-drawer-footer>div{display:grid;gap:4px}
html#shellDemo[data-review="after"] .v6-drawer-footer strong{font-size:20px;line-height:28px;font-weight:700}
html#shellDemo[data-review="after"] .v6-drawer-footer .btn{height:40px;min-width:160px;background:var(--c-surface)!important;border:1px solid var(--c-content-action-border)!important;color:var(--c-content-action-ink)!important;font-size:13px;font-weight:500;border-radius:8px;box-shadow:none!important}
html#shellDemo[data-review="after"] .v6-drawer-footer .btn[aria-pressed="true"]{background:var(--c-selected)!important;border-color:var(--c-selected-border)!important;font-weight:600!important}
html#shellDemo[data-review="after"] .v6-drawer-footer .btn:hover:not(:disabled){background:var(--c-content-action-hover)!important;border-color:var(--c-content-action-hover-border)!important}
html#shellDemo[data-review="after"] .v6-drawer-footer .btn:disabled{background:var(--c-disabled-bg)!important;border-color:var(--c-border)!important;color:var(--c-disabled-text)!important;cursor:default}
html#shellDemo[data-review="after"] .v6-developer-dialog .v6-specs{grid-template-columns:repeat(3,minmax(0,1fr))}
html#shellDemo[data-review="after"] .v6-developer-intro{display:flex;align-items:center;gap:16px}
html#shellDemo[data-review="after"] .v6-developer-intro>img{width:64px;height:64px;object-fit:contain;flex:none;border-radius:8px}
html#shellDemo[data-review="after"] .v6-developer-intro p{margin:4px 0;font-size:14px;line-height:21px}
html#shellDemo[data-review="after"] .v6-full-description{white-space:pre-line;overflow:visible;overflow-wrap:anywhere}
html#shellDemo[data-review="after"] .v6-demo-label{display:inline-block;vertical-align:middle;padding:3px 7px;border-radius:5px;background:var(--c-badge-bg);color:var(--c-muted);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0}
html#shellDemo[data-review="after"] .v6-section h3 .v6-demo-label{margin-left:8px}
html#shellDemo[data-review="after"] .v6-agent-terms{border:1px solid var(--c-border);border-radius:12px;padding:20px;background:var(--c-surface);box-shadow:0 1px 2px rgba(32,45,54,.035)}
html#shellDemo[data-review="after"] .v6-terms-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}
html#shellDemo[data-review="after"] :is(.v6-terms-heading,.v6-presentation) h4{font-size:14px;line-height:20px;font-weight:600;margin:0}
html#shellDemo[data-review="after"] .v6-agent-terms dl{margin:4px 0 0}
html#shellDemo[data-review="after"] .v6-agent-terms dl>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);gap:12px;align-items:center;min-height:48px;padding:10px 0;border-bottom:1px solid var(--c-border)}
html#shellDemo[data-review="after"] .v6-agent-terms dl>div:last-child{border-bottom:0}
html#shellDemo[data-review="after"] .v6-agent-terms dt{font-size:13px;line-height:20px;color:var(--c-muted);min-width:0}
html#shellDemo[data-review="after"] .v6-agent-terms dd{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin:0;min-width:0;font-size:14px;line-height:20px;font-weight:600;text-align:right;overflow-wrap:anywhere}
html#shellDemo[data-review="after"] .v6-commission{font-size:12px;line-height:16px;font-weight:500;color:var(--c-success);background:var(--c-success-bg);border:1px solid var(--c-success-line);border-radius:5px;padding:3px 10px}
html#shellDemo[data-review="after"] .v6-phone{color:var(--c-text);text-decoration:none;white-space:nowrap}
html#shellDemo[data-review="after"] .v6-phone:hover{text-decoration:underline;text-underline-offset:3px}
html#shellDemo[data-review="after"] .v6-agent-terms .v6-link{display:inline-flex;align-items:center;justify-content:flex-end;gap:8px;font-size:14px;line-height:20px;font-weight:600}
html#shellDemo[data-review="after"] .v6-agent-terms .v6-link .i{width:14px;height:14px;flex:none}
html#shellDemo[data-review="after"] .v6-copy-phone{display:grid;place-items:center;width:40px;height:40px;flex:none;border:0;border-radius:8px;background:transparent;color:var(--c-muted);cursor:pointer;margin:-8px -6px -8px 0;padding:0}
html#shellDemo[data-review="after"] .v6-copy-phone .i{width:16px;height:16px;stroke:currentColor;stroke-width:1.5}
html#shellDemo[data-review="after"] .v6-copy-phone:hover{background:var(--c-secondary-hover);color:var(--c-content-action-ink)}
html#shellDemo[data-review="after"] .v6-agent-terms .v6-terms-note{border-top:1px solid var(--c-border);padding-top:12px;margin:8px 0 0;color:var(--c-muted);font-size:12px;line-height:16px}
html#shellDemo[data-review="after"] .v6-presentation{margin-top:20px;display:grid;gap:12px}
html#shellDemo[data-review="after"] .v6-empty{padding:16px;border-radius:8px;background:var(--c-subtle);color:var(--c-muted)}
html#shellDemo[data-review="after"] .v6-complex-list{display:grid;gap:8px}
html#shellDemo[data-review="after"] .v6-complex-row{display:flex;align-items:center;gap:16px;width:100%;padding:16px;border:1px solid var(--c-border);border-radius:8px;background:var(--c-surface);font-family:inherit;color:var(--c-text);text-align:left;cursor:pointer;min-width:0}
html#shellDemo[data-review="after"] .v6-complex-row:hover{background:var(--c-content-action-hover);border-color:var(--c-selected-border)}
html#shellDemo[data-review="after"] .v6-complex-row>img{width:80px;height:64px;object-fit:cover;border-radius:8px;flex:none}
html#shellDemo[data-review="after"] .v6-complex-row>span{display:grid;gap:4px;flex:1;min-width:0}
html#shellDemo[data-review="after"] .v6-complex-row strong{font-size:14px;line-height:20px;font-weight:600;overflow-wrap:anywhere}
html#shellDemo[data-review="after"] .v6-complex-row small{font-size:13px;line-height:20px;color:var(--c-muted)}
html#shellDemo[data-review="after"] .v6-complex-row>.i{flex:none;color:var(--c-content-action-ink)}
html#shellDemo[data-review="after"] :is(.v6-dialog button,.v6-dialog a,.v6-link):focus-visible{outline:2px solid var(--c-focus)!important;outline-offset:2px!important;box-shadow:none!important}
html#shellDemo[data-review="after"] body:has(.v6-dialog[open]){overflow:hidden}
@media(max-width:800px){
 html#shellDemo[data-review="after"] .v6-dialog button.btn{min-height:44px;height:44px}
 html#shellDemo[data-review="after"] .v6-dialog-head .btn.icon{width:44px}
 html#shellDemo[data-review="after"] .v6-copy-phone{width:44px;height:44px}
}
@media(max-width:540px){
 html#shellDemo[data-review="after"] .v6-dialog-head{padding:20px 16px}
 html#shellDemo[data-review="after"] .v6-dialog-content{padding:20px 16px}
 html#shellDemo[data-review="after"] .v6-drawer{border-radius:0;border:0}
 html#shellDemo[data-review="after"] .v6-developer-dialog{max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}
 html#shellDemo[data-review="after"] .v6-drawer-footer{padding:16px;gap:12px}
 html#shellDemo[data-review="after"] .v6-drawer-footer .btn{min-width:0;flex:1}
 html#shellDemo[data-review="after"] .v6-document-empty{flex-wrap:wrap;padding:12px}
 html#shellDemo[data-review="after"] .v6-document-status{margin-left:30px}
 html#shellDemo[data-review="after"] .v6-complex-row{padding:12px;gap:12px;flex-wrap:wrap}
 html#shellDemo[data-review="after"] .v6-complex-row>img{width:56px;height:56px}
 html#shellDemo[data-review="after"] .v6-agent-terms{padding:16px}
 html#shellDemo[data-review="after"] .v6-agent-terms dl>div{grid-template-columns:1fr;gap:4px}
 html#shellDemo[data-review="after"] .v6-agent-terms dd{justify-content:flex-start;text-align:left}
}
@media(prefers-reduced-motion:reduce){html#shellDemo[data-review="after"] .v6-drawer[open]{animation:none}}

