/* QuoteVault 2.35.2 — final compatibility layer.
   The public and authenticated base styles are authoritative. This file only
   harmonizes feature-specific legacy markup that still has its own layout CSS. */
:root{--qv-bg:#090b14;--qv-bg-2:#0e1120;--qv-surface:rgba(19,23,40,.76);--qv-surface-strong:rgba(25,29,49,.9);--qv-surface-soft:rgba(255,255,255,.035);--qv-line:rgba(255,255,255,.08);--qv-line-strong:rgba(169,145,255,.24);--qv-text:#f4f2fb;--qv-muted:#aaa6b7;--qv-subtle:#7b7788;--qv-accent:#8f71ff;--qv-accent-2:#b69cff;--qv-danger:#ff7580;--qv-success:#73d2a0;--qv-warning:#efc281;--qv-radius:16px;--qv-radius-lg:22px;--qv-shadow:0 24px 70px rgba(0,0,0,.24);--qv-sans:'Inter',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;--qv-mono:'IBM Plex Mono',ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
body:not(.qv-root-body){font-family:var(--qv-sans);color:var(--qv-text)}body:not(.qv-root-body) :where(h1,h2,h3,h4,h5,h6){font-family:var(--qv-sans);letter-spacing:-.025em}body:not(.qv-root-body) :where(.eyebrow,.qv-page-kicker,.qv-dashboard-kicker,.qv-analytics-kicker,.qv-settings-kicker,.qv-feature-kicker,.qv-tags-kicker,.qv-port-kicker,.qv-member-kicker,.qv-author-kicker,.qv-system-kicker,.qv-admin-changelog-kicker){color:var(--qv-accent-2);font-family:var(--qv-sans);letter-spacing:.01em;text-transform:none}

/* Feature surfaces */
:where(.qv-dashboard-panel,.qv-metric,.qv-quick-action,.qv-signal,.qv-onboarding-board,.qv-archive-intelligence,.qv-attention-board,.qv-analytics-card,.qv-analytics-panel,.qv-author-card,.qv-author-panel,.qv-member-panel,.qv-member-ranked,.qv-feature-composer,.qv-feature-directory,.qv-feature-record,.qv-feature-admin-record,.qv-feature-admin-toolbar,.qv-tags-panel,.qv-tags-metric,.qv-tag-operation,.qv-collection-workspace,.qv-collection-sidebar,.qv-collection-primary,.qv-collection-records,.qv-collection-blank,.qv-organization-overview,.qv-smart-builder,.qv-detail-panel,.qv-detail-metric,.qv-detail-quote,.qv-detail-share,.qv-context-panel,.qv-provenance-panel,.qv-security-panel,.qv-port-panel,.qv-port-preview,.qv-maturity-panel,.qv-sharing-overview,.qv-sharing-feature,.qv-sharing-links-panel,.qv-settings-section,.qv-public-address-card,.qv-appearance-settings,.qv-color-mode-panel,.qv-permission-map,.qv-mod-panel,.qv-admin-record,.qv-revision-panel,.qv-system-panel,.qv-system-stat,.qv-health-panel,.qv-health-capability,.qv-health-checks,.qv-health-next,.qv-health-operations,.qv-health-ops-console,.qv-health-incidents,.qv-health-tools,.qv-health-integrity,.qv-removal-admin-record,.qv-removal-preflight,.qv-removal-verification,.authors-panel,.removal-card,.removal-auth-card,.removal-notice,.release,.qv-admin-release){border-color:var(--qv-line);border-radius:var(--qv-radius);background:rgba(255,255,255,.022);box-shadow:none}
:where(.qv-dashboard-panel-head,.qv-analytics-panel-head,.qv-feature-composer-head,.qv-feature-directory-head,.qv-tags-panel-head,.qv-detail-share-head,.qv-security-panel-head,.qv-port-panel-head,.qv-port-preview-head,.qv-maturity-panel-head,.qv-settings-section-head,.qv-mod-panel-head,.qv-revision-panel-head,.qv-system-panel-head,.qv-health-ops-head,.removal-card-head,.removal-history-head,.qv-admin-record-head){border-color:var(--qv-line);background:rgba(255,255,255,.014)}

/* Quotes, saved searches and bulk controls */
.qv-quote-shell,.qv-quote-workspace{gap:16px}.qv-quote-filter,.qv-advanced-filters,.qv-saved-searches,.qv-bulkbar{border:1px solid var(--qv-line);border-radius:14px;background:rgba(255,255,255,.022);box-shadow:none}.qv-quote-filter,.qv-saved-searches{padding:15px}.qv-bulkbar{padding:10px 12px}.qv-advanced-filter-body{border-color:var(--qv-line)}.qv-filter-field>span,.qv-search-field>span,.qv-filter-summary,.qv-power-filter-hint{font-family:var(--qv-sans);text-transform:none;letter-spacing:0;color:var(--qv-subtle)}.qv-filter-pill,.qv-saved-search-chip,.qv-count-badge{border-color:var(--qv-line);border-radius:999px;background:rgba(255,255,255,.025);color:var(--qv-muted);font-family:var(--qv-sans);text-transform:none;letter-spacing:0}.qv-filter-pill.is-active,.qv-saved-search-chip:hover{border-color:rgba(143,113,255,.28);background:rgba(143,113,255,.08);color:var(--qv-text)}.qv-quote-table-wrap,.qv-quote-records,.qv-mod-records,.qv-admin-record-list,.qv-revision-table,.qv-admin-revision-list{overflow:hidden;border:1px solid var(--qv-line);border-radius:15px;background:rgba(255,255,255,.016)}.qv-quote-record,.qv-mod-record,.qv-admin-record,.qv-admin-revision-record{border-color:var(--qv-line);background:transparent}.qv-quote-record-meta,.qv-admin-quote-meta,.qv-mod-record-meta,.qv-admin-record-meta,.qv-revision-record-meta{border-color:var(--qv-line);background:rgba(255,255,255,.014)}.qv-record-label,.qv-record-id,.qv-detail-quote-id,.qv-feature-request-id,.request-id{font-family:var(--qv-sans);letter-spacing:0;text-transform:none}.qv-quote-text,.qv-revision-text{font-family:var(--qv-sans);line-height:1.65}

/* Members and author/profile views */
.qv-member-hero,.qv-author-hero{padding:20px;border:1px solid var(--qv-line);border-radius:18px;background:linear-gradient(135deg,rgba(143,113,255,.07),rgba(255,255,255,.02))}.qv-member-stats,.qv-author-stats{gap:10px}.qv-member-grid,.qv-author-grid{gap:12px}.qv-member-bar-track,.qv-author-bar-track,.qv-coverage-track{overflow:hidden;border-radius:999px;background:rgba(255,255,255,.055)}.qv-member-bar,.qv-author-bar,.qv-coverage-row .qv-coverage-fill{border-radius:999px;background:linear-gradient(90deg,var(--qv-accent),var(--qv-accent-2))}.authors-table{overflow:hidden;border:1px solid var(--qv-line);border-radius:15px;background:rgba(255,255,255,.016)}.authors-toolbar{gap:10px}.authors-search-field,.authors-search-button,.authors-clear-button,.authors-view-link{border-radius:10px}

/* Tags and collections */
.qv-collections-layout{gap:14px}.qv-collection-workspace{overflow:hidden}.qv-collection-sidebar{padding:14px}.qv-collection-index,.qv-collection-record-toolbar,.qv-organization-header,.qv-organization-tabs,.qv-organization-section-heading{border-color:var(--qv-line)}.qv-collection-link,.qv-collection-action,.qv-story-actions button{border-radius:10px}.qv-collection-link.active,.qv-organization-tabs .active{background:rgba(143,113,255,.09);border-color:rgba(143,113,255,.24)}.qv-tag-row,.qv-collection-activity>*,.qv-story-copy{border-color:var(--qv-line);background:transparent}.qv-tag-identity,.qv-collection-status{font-family:var(--qv-sans);text-transform:none;letter-spacing:0}

/* Analytics */
.qv-analytics-grid,.qv-analytics-cards,.qv-coverage-grid{gap:12px}.qv-bar-track{overflow:hidden;border-radius:999px;background:rgba(255,255,255,.055)}.qv-bar-fill{border-radius:999px;background:linear-gradient(90deg,var(--qv-accent),var(--qv-accent-2))}.qv-trend-bar{border-radius:8px 8px 3px 3px;background:rgba(143,113,255,.38)}.qv-trend-bar.is-current{background:var(--qv-accent)}.qv-analytics-heading h1,.qv-dashboard-hero h1,.qv-settings-heading h1,.qv-feature-heading h1,.qv-tags-heading h1,.qv-port-heading h1,.qv-security-heading h1,.qv-system-heading h1,.qv-removal-admin-heading h1,.qv-admin-changelog-hero h1{font-family:var(--qv-sans);font-weight:700;letter-spacing:-.05em;text-transform:none}

/* Settings */
.qv-settings-grid,.qv-public-settings-grid,.qv-permission-map-grid,.qv-appearance-grid{gap:12px}.qv-settings-section{overflow:visible}.qv-setting-title-row strong,.qv-setting-copy,.qv-settings-status,.qv-setting-badge,.qv-settings-notice{font-family:var(--qv-sans);letter-spacing:0;text-transform:none}.qv-setting-badge{border-radius:999px}.qv-settings-savebar{border-color:var(--qv-line);border-radius:14px;background:rgba(15,18,31,.94);backdrop-filter:blur(18px)}.qv-switch span{border-radius:999px}.qv-public-archive-status,.qv-settings-notice{border-color:var(--qv-line);border-radius:12px;background:rgba(255,255,255,.02)}

/* Feedback, moderation, security, portability */
.qv-feature-record,.qv-feature-admin-record,.qv-removal-admin-record{overflow:hidden}.qv-feature-record-meta,.qv-feature-admin-context,.qv-removal-admin-record-top,.qv-removal-admin-resolution{border-color:var(--qv-line);background:rgba(255,255,255,.014)}.qv-feature-request-status,.request-status,.qv-port-status,.qv-lifecycle-pill,.qv-status-pill{border-radius:999px;font-family:var(--qv-sans);letter-spacing:0;text-transform:none}.qv-security-list,.qv-port-history-list,.qv-share-list,.qv-role-list,.qv-mod-event-list,.qv-health-list,.qv-settings-list,.qv-ops-alert-list{border-color:var(--qv-line)}.qv-security-list>*,.qv-port-history-list>*,.qv-share-list>*,.qv-role-list>*,.qv-mod-event-list>*,.qv-health-row,.qv-settings-row,.qv-ops-alert-list>*{border-color:var(--qv-line);background:transparent}.qv-port-table-wrap,.qv-permission-table,.qv-mod-table,.qv-system-table,.qv-health-op-table{overflow:auto;border:1px solid var(--qv-line);border-radius:14px;background:rgba(255,255,255,.014)}

/* Admin operations */
.qv-system-grid,.qv-health-grid,.qv-sync-grid,.qv-health-card,.qv-health-cards,.qv-health-capability-grid,.qv-health-action-grid,.qv-health-diagnostic-grid,.qv-health-lifecycle-grid,.qv-health-maintenance-grid{gap:12px}.qv-system-toolbar,.qv-health-heading,.qv-health-incident-topline,.qv-health-incident-controls,.qv-health-incident-summary{border-color:var(--qv-line)}.qv-system-stat,.qv-health-card,.qv-health-queue-row,.qv-health-incident-details,.qv-health-diagnostic-result,.qv-health-maintenance-action,.qv-health-action-links{border-color:var(--qv-line);border-radius:13px;background:rgba(255,255,255,.018)}.qv-health-good,.is-ok,.is-success,.is-resolved{color:var(--qv-success)}.qv-health-warning,.is-warning,.is-warn{color:var(--qv-warning)}.is-error,.is-failed,.is-danger,.qv-health-incident-error{color:#ff9ba4}.qv-issues-callout,.qv-system-banner{border-color:var(--qv-line);border-radius:14px;background:rgba(143,113,255,.045)}.qv-incident-filter-disclosure,.qv-incident-filters{border-color:var(--qv-line);border-radius:13px;background:rgba(255,255,255,.018)}

/* User management */
.qv-user-management-panel{padding:0;background:transparent;border:0}.qv-user-list{overflow:hidden;border:1px solid var(--qv-line);border-radius:15px;background:rgba(255,255,255,.014)}.qv-user-row{border-color:var(--qv-line);background:transparent}.qv-rank-badge,.qv-user-authority{border-radius:999px;font-family:var(--qv-sans);letter-spacing:0;text-transform:none}.qv-root-lock{border-color:var(--qv-line);border-radius:12px;background:rgba(255,255,255,.025)}

/* Public archive/share/changelog/removal */
.archive-shell,.share-shell,.removal-shell,.changelog-main{width:min(1180px,calc(100% - 28px));margin-left:auto;margin-right:auto}.share-record,.share-access-card,.share-related,.removal-card,.removal-auth-card,.release{border-color:var(--qv-line);border-radius:18px;background:rgba(255,255,255,.024);box-shadow:none}.release{overflow:hidden}.share-record-top,.removal-card-head,.release-id{border-color:var(--qv-line);background:rgba(255,255,255,.014)}.share-avatar,.share-avatar-fallback{border-radius:12px}.share-copy-button{border-radius:10px}.share-heading h1,.removal-hero h1,.changelog-hero h1{font-family:var(--qv-sans);font-weight:700;letter-spacing:-.05em;text-transform:none}

/* Footer variants — never style generic component <footer> elements. */
.site-footer,.archive-footer{min-height:0;margin-top:30px;padding:20px 4px 0;border:0;border-top:1px solid var(--qv-line);border-radius:0;background:transparent;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px 28px;text-align:left;box-shadow:none}.site-footer .footer-brand,.archive-footer .footer-brand{align-items:baseline;text-align:left}.site-footer .footer-links,.archive-footer .footer-links{justify-content:flex-end;flex-wrap:wrap}.site-footer>p,.archive-footer>p{grid-column:1/-1;text-align:center}.panel-footer{min-height:0;margin:0 var(--qv-gutter,24px) 24px calc(var(--qv-sidebar,264px) + 24px + var(--qv-gutter,24px));padding:15px 18px;border:1px solid var(--qv-line);border-radius:14px;background:rgba(255,255,255,.015);color:var(--qv-subtle);text-align:center;font:500 10px/1.6 var(--qv-sans)}.panel-footer p{margin:3px}.panel-footer a{color:var(--qv-muted);text-decoration:none}.panel-footer a:hover{color:var(--qv-text)}

/* Responsive feature layouts */
@media(max-width:900px){.qv-collections-layout,.qv-detail-columns,.qv-system-grid,.qv-health-grid,.qv-port-grid,.qv-feature-admin-metrics,.qv-removal-admin-metrics{grid-template-columns:1fr}.qv-user-row{grid-template-columns:1fr 1fr}.archive-shell,.share-shell,.removal-shell,.changelog-main{width:calc(100% - 20px)}.panel-footer{margin:0 14px 82px}}
@media(max-width:650px){.panel-footer{margin:0 12px 76px}.qv-user-row{grid-template-columns:1fr}.qv-page-heading,.qv-feature-heading,.qv-settings-heading,.qv-tags-heading,.qv-port-heading,.qv-security-heading,.qv-system-heading,.qv-removal-admin-heading{align-items:flex-start;flex-direction:column}.qv-bulkbar,.qv-bulkbar-actions,.qv-record-actions,.qv-detail-actions,.qv-feature-record-actions,.qv-feature-admin-action,.qv-removal-admin-actions{width:100%;flex-wrap:wrap}.qv-quote-filter-grid,.qv-quote-filter-grid-advanced,.qv-settings-grid,.qv-public-settings-grid,.qv-permission-map-grid,.qv-member-grid,.qv-author-grid,.qv-detail-grid,.qv-port-fields{grid-template-columns:1fr}.site-footer,.archive-footer{grid-template-columns:1fr;justify-items:center;gap:9px}.site-footer .footer-brand,.archive-footer .footer-brand{text-align:center}.site-footer .footer-links,.archive-footer .footer-links{justify-content:center}.panel-footer{margin-bottom:76px}}

/* Legacy page wrappers now participate in the shared content frame. */
:where(.qv-dashboard,.qv-analytics-shell,.qv-member-shell,.qv-author-shell,.qv-feature-shell,.qv-feature-admin-shell,.qv-tags-shell,.qv-collections-shell,.qv-detail-shell,.qv-security-shell,.qv-port-shell,.qv-maturity-shell,.qv-settings-shell,.settings-page,.qv-moderation-shell,.qv-system-shell,.qv-health-shell,.qv-removal-admin-shell,.qv-admin-changelog-shell,.community-authors-page,.qv-experience-shell){width:100%;max-width:none;margin:0;padding-top:0;color:var(--qv-text)}
:where(.qv-feature-heading,.qv-feature-admin-heading,.qv-tags-heading,.qv-settings-heading,.qv-port-heading,.qv-security-heading,.qv-system-heading,.qv-removal-admin-heading,.qv-analytics-heading,.qv-dashboard-hero){margin:0 0 22px;padding:0 0 18px;border-color:var(--qv-line)}
:where(.qv-feature-heading-stat,.qv-feature-admin-total,.qv-feature-admin-metrics article,.qv-settings-card,.settings-card,.settings-category-card,.qv-port-metric,.qv-security-metric){border-color:var(--qv-line);border-radius:14px;background:rgba(255,255,255,.022);box-shadow:none}
:where(.qv-feature-form .form-control,.qv-feature-form .form-select,.qv-feature-admin-toolbar .form-control,.qv-feature-admin-action .form-control,.qv-feature-admin-action .form-select,.settings-field .form-control,.settings-field .form-select,.qv-organization-search input[type=search]){border:1px solid var(--qv-line);border-radius:11px;background:rgba(255,255,255,.025);color:var(--qv-text);font-family:var(--qv-sans);box-shadow:none}
:where(.qv-feature-form .btn-primary,.qv-feature-admin-toolbar .btn,.qv-feature-admin-action .btn,.settings-save-dock .btn,.settings-form-actions .btn){border-radius:10px;font-family:var(--qv-sans);letter-spacing:0;text-transform:none}
.settings-save-dock{border-color:var(--qv-line);border-radius:14px;background:rgba(15,18,31,.94);backdrop-filter:blur(18px);box-shadow:0 14px 44px rgba(0,0,0,.22)}
.settings-readonly,.settings-input-unit>span{border-color:var(--qv-line);background:rgba(255,255,255,.02);color:var(--qv-muted)}
.settings-page .form-switch .form-check-input{border-color:var(--qv-line);background:rgba(255,255,255,.055)}.settings-page .form-switch .form-check-input:checked{border-color:rgba(143,113,255,.36);background:rgba(143,113,255,.24)}.settings-page .form-switch .form-check-input:checked:before{background:#b69cff}

.qv-metric::after{display:none}.qv-metric strong{font-family:var(--qv-sans);font-weight:700;letter-spacing:-.04em}.qv-metric footer{font-family:var(--qv-sans);letter-spacing:0;color:var(--qv-subtle)}
