body.search-workspace-page {
    display: flex; flex-direction: column; height: 100vh; height: 100dvh;
    margin: 0; overflow: hidden; padding: 0; background: #f5f8f8;
}
.search-workspace-page .site-header { flex: 0 0 auto; background: white; border-bottom: 1px solid #dce6e6; }
.search-workspace { flex: 1; min-height: 0; display: grid; grid-template-columns: clamp(320px, 30vw, 410px) minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
.workspace-toolbar { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 12px; padding: 10px 20px; background: white; border-bottom: 1px solid #dce6e6; }
.workspace-links { display: flex; gap: 8px; }
.workspace-links a, .workspace-mobile-switch button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 20px; border-radius: 10px; font: inherit; font-weight: 600; text-decoration: none; color: #355052; border: 1px solid #dce6e6; background: white; }
.workspace-links a[aria-current], .workspace-mobile-switch button[aria-pressed="true"] { background: #216f79; color: white; border-color: #216f79; }
.workspace-mobile-switch { display: none; }
.workspace-chat { display: flex; flex-direction: column; min-height: 0; min-width: 0; border-right: 1px solid #dce6e6; background: white; padding: 18px 12px 12px; }
.workspace-intro { padding: 0 8px 14px; }
.workspace-intro h1 { font-size: 20px; line-height: 1.3; margin: 0 0 8px; color: #173d42; }
.workspace-intro p { font-size: 14px; line-height: 1.5; margin: 0; color: #52656b; }
#workspace-chat-mount {
    flex: 1; min-height: 0; display: flex;
    --ai-chat-carousel-column: 100%; --ai-chat-ink: #10211f; --ai-chat-deep: #193a37;
    --ai-chat-teal: #266d78; --ai-chat-mint: #96ced5; --ai-chat-soft: #f4f8f6;
    --ai-chat-mist: #e8f1ee; --ai-chat-muted: #62716d; --ai-chat-accent: #6f9098;
    --ai-chat-line: rgba(16, 33, 31, 0.1); --ai-chat-shadow: 0 30px 90px -48px rgba(16, 33, 31, 0.72);
}
body.search-workspace-page .ai-chat-window__header { background: #d8edf0; }
body.search-workspace-page .ai-chat-window__title { color: #173d42; }
body.search-workspace-page .ai-chat-window__eyebrow, body.search-workspace-page .ai-chat-menu__toggle { color: #216f79; }
.workspace-filter-toggle { display: none; }
body.search-workspace-page #workspace-chat-mount .ai-chat-window { position: relative; inset: auto; width: 100%; height: 100%; max-height: none; min-height: 0; border-radius: 14px; box-shadow: none; }
.search-workspace-page .ai-chat-window__close, .search-workspace-page .ai-chat-layout-menu { display: none !important; }
.workspace-content { min-width: 0; min-height: 0; overflow: auto; overscroll-behavior: contain; }
.workspace-content > .redesign-shell { height: 100%; width: 100%; }
.workspace-content .main, .workspace-content .filters, .workspace-content .stats-bar { width: 100%; max-width: none; margin-left: 0; margin-right: 0; }
.workspace-content .main { padding: 20px; }
.workspace-content .filters { margin-top: 0; padding: 16px; }
.workspace-content .filters__inner { padding: 16px; }
.workspace-content .listings-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.search-workspace-page #hero-section[hidden] { display: none !important; }
.search-workspace-page :focus-visible { outline: 3px solid #247d89; outline-offset: 3px; }
.search-workspace { position: relative; }
.workspace-guide { margin: 20px 20px 0; padding: 24px; border: 1px solid #d8e7e9; border-radius: 20px; background: linear-gradient(120deg, #fff, #eaf6f5); }
.workspace-eyebrow { font-size: 10px; letter-spacing: .12em; font-weight: 800; color: #357b83; }
.workspace-guide h2 { margin: 8px 0; font-size: clamp(20px, 2vw, 28px); color: #173d42; line-height: 1.25; }
.workspace-guide p { margin: 0; font-size: 14px; line-height: 1.6; color: #52656b; }
.workspace-steps { display: flex; gap: 10px; margin-top: 18px; }
.workspace-steps button, .workspace-prompts button, .workspace-empty-actions button, .workspace-feedback__action, .workspace-back-top { font: inherit; font-size: 13px; font-weight: 600; min-height: 44px; border: 1px solid #c9dfe2; border-radius: 10px; background: white; color: #216f79; padding: 10px 14px; cursor: pointer; }
.workspace-steps button { display: flex; align-items: center; gap: 8px; }
.workspace-steps button span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #e3f1f2; font-size: 12px; }
.workspace-steps button:hover, .workspace-prompts button:hover, .workspace-empty-actions button:hover { border-color: #216f79; background: #eef8f8; }
.workspace-prompts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.workspace-prompts button { font-size: 12px; padding: 8px 10px; }
.workspace-feedback { display: flex; align-items: center; gap: 10px; margin: 12px 20px 0; padding: 12px 16px; background: #edf5fa; border: 1px solid #cddfe9; border-radius: 12px; font-size: 13px; color: #244c61; line-height: 1.5; }
.workspace-feedback__text { flex: 1; }
.workspace-feedback__dot { width: 9px; height: 9px; flex: 0 0 9px; border-radius: 50%; background: currentColor; }
.workspace-feedback[data-kind="loading"] .workspace-feedback__dot { animation: workspace-pulse 1.4s ease-in-out infinite; }
.workspace-feedback[data-kind="success"] { background: #eef8f3; border-color: #c3e0cf; color: #246445; }
.workspace-feedback[data-kind="error"] { background: #fff2ef; border-color: #edccc3; color: #933c2f; }
.workspace-results-title { font-size: 21px; margin: 0 0 18px; color: #173d42; }
.workspace-content .stats-bar { margin-top: 12px; padding-top: 0; padding-bottom: 0; }
.workspace-empty-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.workspace-notices { position: fixed; right: 20px; bottom: max(20px, env(safe-area-inset-bottom)); z-index: 6000; display: grid; gap: 10px; max-width: min(440px, calc(100vw - 24px)); pointer-events: none; }
.workspace-notice { display: flex; align-items: center; gap: 12px; padding: 16px; color: #173d42; background: #fff; border: 1px solid #d8e7e9; border-left: 4px solid #337c89; border-radius: 14px; box-shadow: 0 10px 40px #143d4226; font-size: 14px; line-height: 1.5; pointer-events: auto; animation: workspace-arrive .2s ease-out; }
.workspace-notice > span { flex: 1; overflow-wrap: anywhere; }
.workspace-notice[data-kind="error"] { border-left-color: #b34d3e; }
.workspace-notice[data-kind="success"] { border-left-color: #31805c; }
.workspace-notice button { min-width: 44px; min-height: 44px; border: 0; border-radius: 8px; background: #edf5f5; color: #216f79; cursor: pointer; font: inherit; font-weight: 600; }
.workspace-notice__close { font-size: 23px !important; }
.workspace-back-top { position: absolute; bottom: 16px; right: 20px; box-shadow: 0 5px 20px #143d421a; z-index: 40; }
.workspace-content > .redesign-shell { grid-template-rows: auto auto minmax(0, 1fr); }
.workspace-content > .redesign-shell:has(.workspace-feedback:not([hidden])) { grid-template-rows: auto auto auto minmax(0, 1fr); }
.workspace-guide--map { margin: 8px 12px; padding: 12px 16px; display: flex; align-items: center; gap: 16px; justify-content: space-between; }
.workspace-guide--map h2 { font-size: 18px; margin: 4px 0; }
.workspace-guide--map .workspace-eyebrow { display: none; }
.workspace-guide--map .workspace-steps { margin: 0; flex-shrink: 0; }
.workspace-guide--map + .workspace-feedback { margin: 0 12px 8px; }
.search-workspace-page [hidden] { display: none !important; }
@keyframes workspace-pulse { 50% { opacity: .3; } }
@keyframes workspace-arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
    .search-workspace-page *, .search-workspace-page *::before, .search-workspace-page *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media (max-width: 800px) {
    .workspace-guide { margin: 12px 12px 0; padding: 16px; }
    .workspace-steps { gap: 5px; }
    .workspace-steps button { flex: 1; padding: 8px; font-size: 12px; gap: 5px; }
    .workspace-steps button span { width: 20px; height: 20px; flex-shrink: 0; }
    .workspace-feedback { margin: 10px 12px 0; flex-wrap: wrap; }
    .workspace-feedback__action { width: 100%; }
    .workspace-guide--map { display: block; margin: 6px; padding: 8px 12px; }
    .workspace-guide--map h2 { font-size: 15px; }
    .workspace-guide--map p { font-size: 12px; }
    .workspace-guide--map .workspace-steps { margin-top: 8px; }
    .workspace-guide--map .workspace-steps button { min-height: 40px; }
    .workspace-prompts { flex-wrap: nowrap; }
    .workspace-prompts button { flex: 1; font-size: 11px; }
    .workspace-notices { right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); }
    .search-workspace { grid-template-columns: minmax(0, 1fr); }
    .workspace-toolbar { padding: 8px 12px; flex-direction: column; gap: 8px; }
    .workspace-links a { min-height: 36px; padding: 6px 16px; font-size: 13px; }
    .workspace-mobile-switch { display: flex; gap: 8px; }
    .workspace-mobile-switch button { flex: 1; padding: 10px 8px; font-size: 14px; cursor: pointer; }
    .workspace-chat, .workspace-content { grid-row: 2; grid-column: 1; }
    .search-workspace[data-view="content"] .workspace-chat, .search-workspace[data-view="chat"] .workspace-content { display: none; }
    .workspace-chat { border: 0; padding: 10px 8px max(8px, env(safe-area-inset-bottom)); }
    .workspace-intro { padding-bottom: 8px; }
    .workspace-intro h1 { font-size: 18px; }
    .workspace-content .main { padding: 12px; }
    .workspace-filter-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 48px; padding: 12px 16px; border: 1px solid #dce6e6; border-radius: 12px; background: white; color: #173d42; font: inherit; font-weight: 600; }
    .workspace-content .filters:not(.workspace-filters-open) .filters__inner { display: none; }
    .workspace-content .filters.workspace-filters-open .filters__inner { margin-top: 10px; }
    .workspace-content .stats-bar { padding: 0 12px; margin: 0; }
    .workspace-content .stats-bar__inner { padding: 0; gap: 8px; }
    .workspace-content .stat { min-width: 0; padding: 12px; flex: 1 1 40%; }
    .search-workspace-page input, .search-workspace-page textarea, .search-workspace-page select { font-size: 16px; }
    .workspace-content .redesign-main, .workspace-content .map-results-panel, .workspace-content .map-panel-redesign { min-height: 0; height: 100%; }
    .workspace-content .redesign-main { grid-template-rows: minmax(0, 1fr); padding: 6px; }
}
