/* Approved UI review, November 17. Shared controls, mobile reading and accessible previews. */
body{--ui-ink:#140c19;--ui-track:#eee7f2;--ui-muted:#6b5873}
.buyer-proposal-cards{display:none}
body.designer-review .workflow .step-symbol{width:44px;height:44px;border-radius:14px;background:#fff;border:1px solid #e4dce9;display:grid;place-items:center;flex:none;color:var(--ui-ink)}
.workflow .step-symbol img,.workflow .step-symbol svg{width:26px;height:26px;object-fit:contain}
.workflow .step-label{display:none}
body.designer-review .workflow-step h2{font-size:18px}
body.designer-review .workflow-step p{font-size:14px;line-height:1.5}
body.designer-review :is(.product-tabs,.it-tabs,.roi-products){background:var(--ui-track);border:1px solid #e5d9ed;border-radius:999px;padding:5px;gap:4px}
body.designer-review .it-tabs{display:flex;justify-content:stretch}
body.designer-review :is(.product-tabs,.it-tabs,.roi-products)>button{display:flex;align-items:center;justify-content:center;gap:8px;flex:1;min-height:46px;border:0;border-radius:999px;background:transparent;box-shadow:none;color:var(--ui-muted);padding:12px 18px;font-size:14px;font-weight:500;line-height:1.3;text-align:center;white-space:nowrap}
body.designer-review :is(.product-tabs,.it-tabs)>button[aria-selected="true"],body.designer-review .roi-products>button[aria-pressed="true"]{background:var(--ui-ink);color:#fff;box-shadow:none}
body.designer-review :is(.product-tabs,.it-tabs)>button[aria-selected="false"]:hover,body.designer-review .roi-products>button[aria-pressed="false"]:hover{background:#e4d6ec;color:var(--ui-ink)}
body.designer-review :is(.product-tabs .tab-description,.it-tabs small,.it-tabs .product-icon){display:none}
body.designer-review .roi-products .product-icon{width:22px;height:22px;min-height:0;padding:0;border:0;border-radius:0;background:none}
body.designer-review .roi-products .product-icon img{width:20px;height:20px}
body.designer-review .roi-products [aria-pressed="true"] .product-icon img{filter:brightness(0) invert(1)}
body.designer-review :is(.product-tabs,.it-tabs,.roi-products)>button:focus-visible{outline:2px solid #9b66ae;outline-offset:3px}
/* Persistent captions and controls sit outside the animated art. */
body.designer-review .original-views .product-preview-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:22px;padding:0;font-size:12px;line-height:1.5;color:var(--ui-muted)}
body.designer-review .product-preview-meta button{font:inherit;font-size:12px;min-height:44px;border:1px solid #dfd0e6;border-radius:999px;padding:10px 16px;color:var(--ui-ink);background:#fff;cursor:pointer;white-space:nowrap}
.product-preview-meta button:focus-visible{outline:2px solid #9b66ae;outline-offset:3px}
.product-preview-meta button:hover{background:#f2e7f8}
body.designer-review .cx-motion-grid .product-preview-meta{margin-top:12px}
[data-product-preview-scene]:not(.preview-running) *,[data-product-preview-scene]:not(.preview-running) *::before,[data-product-preview-scene]:not(.preview-running) *::after{animation:none!important}
[data-product-preview-scene]:not(.preview-running) :is(.cp-typing,.cp-file-processing,.cp-scan,.cx-typing){display:none}
[data-product-preview-scene]:not(.preview-running) :is(.cp-question,.cp-reply,.cp-chat-files>span,.cp-chat-confirmation,.cp-file-done,.cp-extracted,.cp-review-pill){opacity:1}
[data-product-preview-scene]:not(.preview-running) :is(.cp-question,.cp-reply,.cp-chat-files>span,.cp-chat-confirmation,.cp-extracted){transform:none}
[data-product-preview-scene]:not(.preview-running) .pm-conversation-card{opacity:0;transform:none}
[data-product-preview-scene]:not(.preview-running) .pm-conversation-card.pm-message-0{opacity:1}
[data-product-preview-scene]:not(.preview-running) .pm-graph-ring{opacity:0}
[data-product-preview-scene]:not(.preview-running) .pm-line-flow{stroke-dasharray:none;stroke-dashoffset:0;opacity:.3}
/* Same footer taxonomy and legal placement as the menu. */
.bf-footer .bf-grid{grid-template-columns:1.35fr 1fr 1.25fr 1.2fr 1fr}
.bf-footer .bf-legal{display:flex;flex-wrap:wrap;gap:18px;align-items:center;margin-right:auto;font-size:13px;color:#c5b9ce}
.bf-footer .bf-legal a:hover{text-decoration:underline;text-underline-offset:4px}
/* Compact newsletter, styled within the existing HubSpot embed. */
.newsletter-dialog{background:#fff;border-radius:32px;width:min(560px,calc(100vw - 32px))}
.newsletter-panel{padding:30px}
.newsletter-dialog .newsletter-mark{width:44px;height:44px;margin-bottom:22px;background:#fff;border:1px solid #e3d9e8;border-radius:14px}
.newsletter-dialog .newsletter-mark svg{width:22px;height:22px}
.newsletter-dialog .newsletter-close{width:44px;height:44px;background:#f4f1f6;border:0}
.newsletter-dialog h2{font-size:34px;line-height:1.15;letter-spacing:-.035em}
.newsletter-dialog .newsletter-description{font-size:15px;line-height:1.65;margin:14px 0 24px;color:var(--ui-muted)}
.newsletter-dialog .newsletter-privacy{font-size:12px;line-height:1.5;text-align:center;border:0;margin:14px 0 0;padding:0}
#newsletter-form{--hsf-field-input__font-size:16px;--hsf-field-input__border-radius:16px;--hsf-field-input__background-color:#faf7fc;--hsf-button__background-color:#140c19;--hsf-button__border-radius:999px;--hsf-button__padding:14px 28px;--hsf-row__vertical-spacing:18px;--hsf-module__vertical-spacing:18px}
#newsletter-form .hsfc-TextInput{min-height:52px;border-radius:16px!important;background:#faf7fc;font-size:16px!important}
#newsletter-form .hsfc-FieldLabel{font-size:14px;line-height:1.5;color:#140c19}
#newsletter-form .hsfc-CheckboxInput{width:20px;height:20px;flex:none}
#newsletter-form .hsfc-CheckboxField .hsfc-FieldLabel{display:flex;align-items:flex-start;gap:10px}
#newsletter-form :is(.hsfc-RichText,.hsfc-DataPrivacyField){font-size:13px;line-height:1.6;color:#6b5873}
#newsletter-form .hsfc-Button{min-height:48px;width:100%;border-radius:999px;background:#140c19;font-size:14px;color:#fff}
#newsletter-form .hsfc-NavigationRow{display:block}
#newsletter-form [hidden]{display:none!important}
/* Group low-priority demo navigation without removing destinations. */
.demo-more{position:relative;color:#6b5873}
.demo-more>summary{cursor:pointer;list-style:none;display:flex;gap:7px;align-items:center;min-height:44px}
.demo-more>summary::-webkit-details-marker{display:none}
.demo-more>div{position:absolute;z-index:30;right:0;bottom:calc(100% + 8px);width:190px;background:#fff;border:1px solid #e4d9eb;box-shadow:0 12px 30px #26102e15;border-radius:18px;padding:8px;display:flex;flex-direction:column;gap:0}
.demo-more>div :is(a,button){display:flex;align-items:center;min-height:44px;padding:10px 12px;font:inherit;font-size:14px;text-align:left;background:transparent;border:0;border-radius:10px;color:#35213e}
.demo-more>div :is(a,button):hover{background:#f3ebf7}
.demo-product-symbol{display:block;width:26px;height:26px;object-fit:contain;background:#eee7f4;border-radius:10px;padding:4px}
.product-symbol img{display:block;width:24px;height:24px}
@media(max-width:1100px){.bf-footer .bf-grid{grid-template-columns:1.25fr 1fr 1.2fr}.bf-footer .bf-group:last-child{grid-column:auto;grid-row:auto}.bf-footer .bf-brand{grid-row:1/3}}
@media(max-width:760px){
 body.designer-review :is(.hero h1,.page-hero h1,.product-hero h1,.contact-copy h1,.communications-hero h1,.comms-hero h1){font-size:40px;line-height:1.12;letter-spacing:-.035em}
 body.designer-review .hero-copy h1 span{color:inherit}
 body:has([data-review-page="/compare/"]) .hero{padding-top:36px;gap:28px}
 body:has([data-review-page="/compare/"]) .hero-description{font-size:16px;line-height:1.6;margin-top:24px}
 body:has([data-review-page="/compare/"]) .hero-actions{gap:10px;flex-wrap:wrap;margin-top:24px}
 body:has([data-review-page="/compare/"]) .hero-actions :is(.button,.text-link){min-height:48px;padding:13px 18px;border:0;border-radius:999px;display:inline-flex;align-items:center;gap:10px;font-size:14px;text-decoration:none}
 body:has([data-review-page="/compare/"]) .hero-actions .text-link{background:var(--ui-track)}
 body:has([data-review-page="/compare/"]) .workflow{padding:18px;border-radius:28px}
 body:has([data-review-page="/compare/"]) .workflow-step{padding:14px;border-radius:22px;gap:12px}
 body:has([data-review-page="/compare/"]) .flow-connector{display:none}
 body:has([data-review-page="/compare/"]) .workflow-step+.workflow-step{margin-top:10px}
 body:has([data-review-page="/compare/"]) .workflow-foot{font-size:13px;line-height:1.5}
 body.designer-review .buyer-proposal-table{display:none}
 .buyer-proposal-cards{display:grid;gap:14px}
 .buyer-proposal-card{padding:24px 22px;background:#fff;border:1px solid #e1d8e7;border-radius:26px}
 .buyer-proposal-card h3{font-size:23px;line-height:1.2;margin:0 0 22px}
 .buyer-proposal-card p{font-size:15px;line-height:1.5;margin:8px 0 0;color:#56475e}
 .buyer-proposal-card .proposal-label{font-size:11px;letter-spacing:.035em;text-transform:uppercase;margin:18px 0 0;color:#6b5873}
 .proposal-evaluate{background:#f3ecf7;border-radius:16px;padding:16px;margin-top:18px}
 .proposal-evaluate .proposal-label{margin:0}
 .proposal-expand{background:transparent;border:0;border-bottom:1px solid #e1d8e7;border-radius:0;padding:12px 2px 18px}
 .proposal-expand summary{display:flex;align-items:center;justify-content:space-between;gap:20px;list-style:none;cursor:pointer;font-size:16px;min-height:44px}
 .proposal-expand summary::-webkit-details-marker{display:none}
 .proposal-expand[open] summary span{transform:rotate(180deg)}
 .proposal-expand summary:focus-visible{outline:2px solid #9b66ae;outline-offset:4px}
 body.designer-review :is(.product-tabs,.it-tabs,.roi-products)>button{padding:12px 10px;font-size:14px;min-width:0;white-space:normal}
 body.designer-review .product-tabs{display:flex;flex-wrap:wrap;border-radius:28px}
 body.designer-review .product-tabs>button{flex:1 1 calc(50% - 4px)}
 .bf-footer .bf-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .bf-footer .bf-brand{grid-row:auto;grid-column:1/-1}
 .bf-footer .bf-bottom{flex-wrap:wrap;gap:14px}
 .bf-footer .bf-legal{width:100%;order:2;gap:18px;font-size:13px}
 /* Mobile claims stays a complete workspace, with legible evidence and controls. */
 .app-header{height:auto;min-height:80px;padding:12px 16px}
 .app-header :is(.avatar,.icon-button),.app-header .header-actions>#upload-button{min-width:44px;width:44px;min-height:44px;height:44px}
 .app-header .brand.hub-brand{min-height:44px;font-size:12px}
 .app-header .brand.hub-brand span{font-size:12px}
 .app-header .claim-demo-picker>summary{min-height:44px}
 .app-header .claim-demo-picker h1{font-size:16px}
 .app-shell :is(.button,.text-button,.small-button,.claim-id-button,.step-open,.tab-switch button,.suggested-prompts button){min-height:44px;font-size:14px}
 .app-shell :is(.icon-button,.avatar){min-width:44px;min-height:44px}
 .app-shell .search-field input{font-size:16px;min-height:48px}
 .app-shell .start-guide .button{font-size:14px;min-height:48px;margin-left:0}
 .app-shell .start-guide p{font-size:14px;line-height:1.5;padding-right:22px}
 .app-shell .claims-table tbody tr{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px;padding:16px}
 .app-shell .claims-table td:nth-child(2){font-size:14px}
 .app-shell .claims-table :is(td:nth-child(4),td:nth-child(5)){font-size:15px}
 .app-shell .claims-table :is(td:nth-child(4),td:nth-child(5))::before{font-size:12px}
 .app-shell .status-badge{font-size:12px;line-height:1.3;padding:5px 8px}
 .app-shell .workflow-steps{grid-template-columns:1fr}
 .app-shell .workflow-card{padding:16px}
 .app-shell .step-meta{font-size:13px;line-height:1.5}
 .app-shell .initial-info :is(summary,dt,dd),.app-shell .info-list>div{font-size:14px}
 .app-shell :is(.extraction-list p,.validation-item p,.check-group h4,.data-list>div,.briano-response p,.conversation-message,.decision-main p,.decision-main>span,.file-name strong,.document-paper dl>div){font-size:14px;line-height:1.5}
 .app-shell :is(.assistant-note,.decision-note,.file-name small,.evidence-tip,.insight-caption,.document-paper .doc-note,.confidence,.check-label,.inbox-bottom,.app-footer,.app-footer>span,.sample-label,.assistant-state){font-size:12px;line-height:1.5}
 .app-shell .decision-actions .button{font-size:14px;min-height:48px}
 .app-shell .ask-form textarea{font-size:16px}
 .app-shell .ask-form button{width:44px;height:44px}
 .app-shell .app-footer{flex-wrap:wrap;gap:12px}
 .app-shell .app-footer>div{flex-wrap:wrap;gap:8px 18px}
 .app-shell .app-footer :is(a,button){display:inline-flex;align-items:center;min-height:44px;font-size:13px}
}
@media(max-width:600px){
 .demo-header .demo-route-nav>a.hub-return,.demo-route-picker>summary{min-height:44px;font-size:12px}
 .demo-stage{padding:16px 12px 8px;min-height:0}
 .chat-widget{height:calc(100svh - 160px);min-height:680px;border-radius:30px}
 .widget-toolbar{padding:8px 6px 12px;border-bottom:1px solid #eee7f1;margin-bottom:8px}
 .chat-widget .icon-button{width:44px;height:44px;flex:none}
 .widget-identity{gap:6px;font-size:14px;flex-wrap:wrap;line-height:1.25;color:#140c19}
 .identity-demo{font-size:12px;flex-basis:100%;border:0;padding:0;margin-left:32px;margin-top:-7px;color:#6b5873}
 .chat-widget #expand-chat{display:none}
 .widget-identity .demo-product-symbol{width:26px;height:26px}
 .conversation{padding-inline:12px}
 .welcome{justify-content:flex-start;gap:20px;padding-bottom:12px;min-height:0}
 .welcome-title{flex:0 0 auto;min-height:0;padding:18px 0 6px;gap:12px}
 .welcome-symbol{display:none}
 .welcome h1,.is-expanded .welcome h1{font-size:29px;line-height:1.12;white-space:normal}
 .welcome-description{font-size:14px;line-height:1.5;max-width:270px;margin:0}
 .welcome-prompts,.widget-view .welcome-prompts{display:grid;grid-template-columns:1fr;gap:8px;padding:0;width:100%;max-width:none}
 .welcome-prompts button,.is-expanded .welcome-prompts button,.widget-view .welcome-prompts button,html:lang(ka) .welcome-prompts button{font-size:14px;min-height:48px;padding:12px 14px;background:#faf8fc;border:1px solid #e9e1ee;border-radius:16px;text-align:left;line-height:1.3;margin:0!important;display:flex;align-items:center;justify-content:space-between;gap:12px}
 .welcome-prompts button::after{content:'↗';color:#8b709b}
 .composer textarea{font-size:16px;min-height:32px}
 .composer-controls .upload-button{font-size:14px;min-height:44px}
 .send-button{width:44px;height:44px}
 .widget-meta{min-height:48px;gap:8px}
 .widget-meta :is(button,select){min-height:44px;font-size:13px}
 .widget-meta select{max-width:105px}
 .widget-meta .download-button{min-width:44px}
 .explore-button{font-size:13px;gap:6px}
 .demo-footer{font-size:12px;line-height:1.4;padding:8px 18px 14px;gap:5px;color:#6b5873;justify-content:center}
 .demo-footer>div{gap:20px;justify-content:center}
 .demo-footer :is(a,button,summary){font-size:13px;min-height:44px;display:inline-flex;align-items:center}
 .chat-widget :is(.quick-replies button,.action-button,.time-grid button,.next-scenario button){font-size:14px;min-height:44px}
 .chat-widget :is(.feedback button,.carousel-controls button,.attachment-chip button){min-width:44px;min-height:44px}
 .chat-widget :is(.message-note,.status-pill,.coverage-key,.feedback-caption,#journey-count,#journey-title,.scenario-option-copy small){font-size:12px}
 .newsletter-panel{padding:26px 22px}
 .newsletter-dialog h2{font-size:30px}
}
@media(prefers-reduced-motion:reduce){[data-product-preview-toggle]{display:none!important}}
