:root {
    --primary-color: #2563eb;
    --primary-blue: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-blue-darker: #1d4ed8;
    --primary-subtle: #eff6ff;
    --secondary-color: #0f766e;
    --secondary-hover: #115e59;
    --secondary-subtle: #f0fdfa;
    --text-primary: #17202e;
    --text-secondary: #647080;
    --border-color: #e3e8ef;
    --bg-subtle: #f7f9fc;
    --background-light: #f7f9fc;
    --shadow-glow: 0 0 0 3px #dbeafe;
    --header-height: 72px;
    --font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.seo-platform { font-family: var(--font-family); font-size: 15px; line-height: 1.55; }
.seo-platform :where(button, input, select, textarea) { font: inherit; letter-spacing: 0; }
.seo-platform :where(h1,h2,h3,h4,strong,button,a,th) { letter-spacing: 0; }
.seo-platform .main-content h1 { font-size: 36px; line-height: 1.2; font-weight: 650; }
.seo-platform .main-content h2 { font-size: 24px; line-height: 1.3; font-weight: 620; }
.seo-platform .main-content h3 { font-size: 18px; line-height: 1.4; font-weight: 600; }
.seo-platform .main-content :where(p,li) { line-height: 1.65; }
.seo-platform .main-content :where(input[type="text"],input[type="url"],input[type="email"],input[type="password"],input[type="search"],select,textarea) {
    font-size: 15px; color: var(--text-primary); border-radius: 6px; border-color: #d7dfe9;
}
.seo-platform .main-content :where(input,select,textarea):disabled { opacity: .65; cursor: not-allowed; }
.seo-platform :focus-visible { outline: 3px solid #93b6f8; outline-offset: 3px; }
.seo-platform .main-content :where(table) { font-size: 14px; font-variant-numeric: tabular-nums; }
.seo-platform .main-content :where(th) { font-weight: 600; }
.seo-platform .main-content :where(.dashboard-card,.settings-card,.tool-card,.styled-card) { border-radius: 8px; }
.seo-platform .btn { min-height: 40px; border-radius: 6px; font-size: 14px; font-weight: 600; gap: 8px; box-shadow: none; }
.seo-platform .btn-primary { background: #2563eb; border-color: #2563eb; }
.seo-platform .btn-primary:hover { background: #1d4ed8; border-color: #1d4ed8; transform: none; box-shadow: none; }
.seo-platform .btn-secondary { background: #fff; border-color: #dce3ec; box-shadow: none; }
.seo-platform .btn-secondary:hover { transform: none; box-shadow: none; }
.seo-platform .site-header { background: rgba(255,255,255,.97); box-shadow: none; backdrop-filter: none; }
.seo-platform .header-container { max-width: 1440px; gap: 14px; }
.seo-platform .header-logo a { gap: 8px; }
.seo-platform .header-logo-mark { width: 36px; height: 36px; box-shadow: none; border-radius: 6px; }
.seo-platform .header-logo-text { display: inline; font-size: 19px; font-weight: 680; color: #18273b; }
.seo-platform .site-nav-container { margin-left: 0; }
.seo-platform .site-nav { gap: 2px; }
.seo-platform .site-nav a,
.seo-platform .site-nav .nav-tools-toggle { font-size: 13px; padding: 9px 10px; font-weight: 500; gap: 6px; }
.seo-platform .site-nav .icon { width: 17px; height: 17px; }
.seo-platform .nav-cta { color: #354155 !important; transform: none; background: transparent; }
.seo-platform .nav-cta-primary { color: #1d4ed8 !important; background: #eff6ff; }
.seo-platform .nav-cta-primary.active { box-shadow: none; transform: none; }
.seo-platform .nav-cta-secondary { background: transparent; }
.seo-platform .nav-cta-secondary:hover { background: #f0fdfa; color: #0f766e !important; }
.seo-platform .nav-admin-link { background: #fff7ed !important; color: #9a4513 !important; transform: none; }
.seo-platform .header-right-actions { gap: 6px; }
.seo-platform .header-right-actions .btn { font-size: 13px; padding: 8px 12px; }
.seo-platform .dropdown-toggle:hover { transform: none; }
.seo-platform .lang-toggle { border: 0; border-radius: 6px; background: transparent; }
.seo-platform .dropdown-menu { border-radius: 8px; box-shadow: 0 12px 32px #1c2e481f; }
.seo-platform .dropdown-item { font-size: 14px; padding: 9px 12px; }
.seo-platform .nav-tools-menu .dropdown-menu { width: 246px; }
.seo-platform .user-avatar { background: #eaf1fb; color: #234f8b; width: 34px; height: 34px; font-size: 14px; }
.seo-platform .seo-launcher { margin-left: auto; flex: 0 0 auto; }
.seo-platform .seo-launcher .launcher-text { display: none; }
.seo-skip-link { position: fixed; left: 16px; top: -80px; z-index: 6000; padding: 10px 18px; background: #17202e; color: white; border-radius: 6px; text-decoration: none; }
.seo-skip-link:focus { top: 10px; }
.seo-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.seo-icon-button { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; min-width: 38px; padding: 8px; border: 1px solid #dfe5ee; border-radius: 6px; background: #fff; color: #617083; cursor: pointer; flex-shrink: 0; }
.seo-icon-button:hover { color: #2563eb; border-color: #9bb9ed; background: #f5f9ff; }
.seo-icon-button svg { width: 18px; height: 18px; flex: none; }
.seo-favorite { width: 32px; height: 32px; min-width: 32px; border: 0; padding: 7px; background: transparent; }
.seo-favorite[aria-pressed="true"] { color: #b17608; background: #fffbeb; }
.seo-favorite[aria-pressed="true"] svg { fill: #f5cb65; }
.seo-palette { width: min(660px, calc(100% - 32px)); max-height: min(760px, calc(100dvh - 64px)); margin: 32px auto; padding: 0; border: 1px solid #dce3ee; border-radius: 8px; color: #17202e; background: #fff; box-shadow: 0 24px 100px #102a494d; overflow: hidden; }
.seo-palette[open] { display: flex; flex-direction: column; }
.seo-palette::backdrop { background: #15243c70; }
.seo-palette-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; border-bottom: 1px solid #e8edf3; flex: none; }
.seo-palette-header h2 { margin: 0; font-size: 17px; line-height: 1.3; font-weight: 650; letter-spacing: 0; }
.seo-palette-controls { padding: 16px 20px 12px; flex: none; }
.seo-search-field { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 46px; border: 1px solid #cfd9e6; border-radius: 6px; background: #fff; padding: 0 13px; color: #64748b; }
.seo-search-field:focus-within { border-color: #2563eb; box-shadow: 0 0 0 3px #dbeafe; }
.seo-search-field > svg { width: 19px; height: 19px; flex-shrink: 0; }
.seo-search-field input { width: 100%; min-width: 0; border: 0 !important; box-shadow: none !important; background: transparent; font: inherit; color: #17202e; min-height: 44px; padding: 10px 0; outline: none; }
.seo-platform .seo-search-field input:focus-visible { outline: none; }
.seo-filter-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.seo-filter-row select { min-width: 0; max-width: 48%; height: 36px; border: 1px solid #dfe5ee; border-radius: 6px; background: #fff; color: #526176; font-size: 13px; padding: 0 8px; }
.seo-segmented { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid #e4e9f1; border-radius: 6px; background: #f5f7fa; }
.seo-segmented button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 30px; border: 0; padding: 4px 10px; border-radius: 4px; background: transparent; color: #647080; font-size: 13px; cursor: pointer; }
.seo-segmented button[aria-pressed="true"] { color: #1e4ca2; background: #fff; box-shadow: 0 1px 3px #17202e12; }
.seo-segmented svg { width: 14px; height: 14px; }
.seo-palette-results { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 10px 10px; }
.seo-tool-list { list-style: none; padding: 0; margin: 0; }
.seo-tool-list li { display: flex; align-items: center; gap: 6px; border-radius: 6px; padding-right: 8px; }
.seo-tool-list li:hover { background: #f5f8fd; }
.seo-tool-list li > a { display: flex; flex: 1; min-width: 0; gap: 12px; align-items: center; padding: 11px 10px; text-decoration: none; color: #17202e; }
.seo-tool-list li > a > svg { width: 16px; height: 16px; color: #9aa7b8; flex-shrink: 0; }
.seo-tool-symbol { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 6px; background: #edf4ff; color: #3264ac; flex-shrink: 0; }
.seo-tool-symbol svg { width: 18px; height: 18px; }
.seo-tool-copy { min-width: 0; flex: 1; }
.seo-tool-copy strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.5; }
.seo-tool-copy small { display: block; color: #748094; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.seo-tool-empty { padding: 30px 16px; text-align: center; color: #647080; }
.seo-tool-empty p { margin: 0 0 16px; }
.seo-palette-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; border-top: 1px solid #e8edf3; color: #748094; font-size: 12px; flex: none; }
.seo-palette-footer a { color: #2563eb; display: inline-flex; gap: 8px; align-items: center; text-decoration: none; }
.seo-palette-footer svg { width: 14px; height: 14px; }
.seo-platform [hidden] { display: none !important; }
.seo-platform .dashboard-sidebar-desktop { background: #fff; border-right: 1px solid #e3e8ef; }
.seo-platform .dashboard-sidebar-desktop .user-profile-card-v2 { background: #f8fafc; border-radius: 8px; box-shadow: none; }
.seo-platform .dashboard-nav li a { border-radius: 6px; font-weight: 500; font-size: 14px; }
.seo-platform .dashboard-nav li a.active { background: #edf4ff; color: #2556a6; }
.seo-platform .usage-header { font-size: 12px; }
.seo-platform .progress-bar-wrapper { height: 5px; }
.seo-platform .new-site-footer { background: #f4f7fa; border-top: 1px solid #e3e8ef; color: #657184; padding-top: 38px; }
.seo-platform .new-site-footer .footer-cta-section { background: transparent; padding: 0 0 28px; border-radius: 0; border-bottom: 1px solid #dfe6ee; margin-bottom: 30px; }
.seo-platform .new-site-footer :where(h2,h4,.footer-column h4) { color: #233044; }
.seo-platform .new-site-footer :where(p,a,.footer-tagline,.cta-text p) { color: #657184; }
.seo-platform .new-site-footer .cta-button { color: #fff; background: #2563eb; box-shadow: none; }
.seo-platform .new-site-footer .footer-divider { border-color: #dfe6ee; }
.seo-platform .new-site-footer .footer-bottom-bar { padding: 20px 0; }
.seo-platform.seo-workspace .footer-cta-section,
.seo-platform.seo-workspace .footer-main-content { display: none; }
.seo-platform.seo-workspace .new-site-footer { padding-top: 0; }
.seo-platform.seo-workspace .footer-divider { display: none; }
.seo-platform .tools-page { background: #f8fafc; }
.seo-platform .tools-hero { padding-top: 38px; }
.seo-platform .tools-hero h1 { max-width: 820px; }
.seo-platform .tools-hero p { font-size: 16px; }
.seo-platform .tools-btn { font-weight: 600; font-size: 14px; padding: 10px 14px; }
.seo-platform .tools-btn.primary { background: #2563eb; border-color: #2563eb; box-shadow: none; }
.tools-browser-toolbar { display: grid; grid-template-columns: minmax(220px,1fr) auto; gap: 16px; align-items: center; padding: 12px 0 8px; }
.tools-browser-toolbar .seo-filter-row { margin: 0; }
.tools-browser-toolbar .seo-filter-row select { max-width: none; }
.tools-browser-count { font-size: 13px; color: #758195; padding: 8px 0 0; }
.seo-platform .tools-grid { padding-top: 18px; gap: 14px; }
.seo-platform .tool-card { min-height: 214px; padding: 18px; box-shadow: none; }
.seo-platform .tool-card:hover { transform: none; border-color: #adc7ee; box-shadow: 0 2px 8px #21395809; }
.seo-platform .tool-card-link { display: flex; flex-direction: column; flex: 1; text-decoration: none; color: #17202e; }
.seo-platform .tool-card h2 { font-size: 17px; line-height: 1.4; margin-bottom: 8px; }
.seo-platform .tool-card p { font-size: 14px; line-height: 1.55; }
.seo-platform .tool-top { gap: 8px; margin-bottom: 14px; }
.seo-platform .tool-icon { background: #eff6ff; color: #2e62ad; width: 34px; height: 34px; }
.seo-platform .tool-icon svg { width: 18px; height: 18px; }
.seo-platform .tool-tag { margin-left: auto; font-size: 11px; font-weight: 500; border-radius: 4px; padding: 3px 7px; }
.seo-platform .tool-link { font-size: 13px; font-weight: 600; color: #2563eb; }
.seo-platform .tools-faq-grid { gap: 24px; }
.seo-platform .tools-faq article { padding: 16px 0; border: 0; border-top: 1px solid #e3e8ef; background: transparent; border-radius: 0; }
@media (max-width: 1180px) {
    .seo-platform .site-nav-container,.seo-platform .header-right-actions { display: none; }
    .seo-platform .header-container { justify-content: flex-start; gap: 10px; }
    .seo-platform .seo-launcher { margin-left: auto; }
    .seo-platform .mobile-header-actions { display: none; }
    .seo-platform .hamburger-menu { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid #dfe5ee; border-radius: 6px; background: #fff; padding: 8px; }
    .seo-platform .mobile-menu-panel { display: flex; flex-direction: column; position: fixed; top: 0; right: 0; width: 340px; max-width: 92vw; height: 100dvh; background: #fff; box-shadow: -12px 0 50px #1c2e481a; transform: translateX(105%); visibility: hidden; pointer-events: none; transition: transform .2s ease; z-index: 2000; }
    .seo-platform .mobile-menu-panel.is-open { transform: translateX(0); visibility: visible; pointer-events: auto; }
    .seo-platform .mobile-panel-content { display: flex; flex-direction: column; height: 100%; overflow-y: auto; overscroll-behavior: contain; padding: 12px; }
    .seo-platform .mobile-panel-header { display: flex; align-items: center; justify-content: space-between; padding: 8px 4px 16px; }
    .seo-platform .mobile-panel-header h4 { margin: 0; font-size: 16px; }
    .seo-platform .mobile-panel-header button { border: 0; background: transparent; padding: 8px; }
    .seo-platform .mobile-menu-panel .site-nav { display: flex; flex-direction: column; align-items: stretch; gap: 4px; }
    .seo-platform .mobile-menu-panel .site-nav a { padding: 11px 12px; font-size: 14px; }
    .seo-platform .language-switcher-mobile { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; }
    .seo-platform .language-switcher-mobile .lang-btn { flex-direction: column; padding: 9px 4px; font-size: 12px; border-width: 1px; }
}
@media (max-width: 640px) {
    .seo-platform .site-header { padding: 0 16px; }
    .seo-platform .main-content h1 { font-size: 28px; }
    .seo-platform .main-content h2 { font-size: 22px; }
    .seo-platform .main-content :where(input[type="text"],input[type="url"],input[type="email"],input[type="password"],input[type="search"],select,textarea),
    .seo-platform .seo-search-field input { font-size: 16px; }
    .seo-platform .header-logo-text { font-size: 18px; }
    .seo-palette { width: calc(100% - 20px); max-height: calc(100dvh - 24px); margin-top: 12px; }
    .seo-palette-header,.seo-palette-controls { padding-left: 14px; padding-right: 14px; }
    .seo-tool-copy small { font-size: 12px; }
    .seo-filter-row { gap: 8px; }
    .seo-filter-row select { font-size: 12px; max-width: 45%; }
    .seo-palette-footer { padding-left: 14px; padding-right: 14px; }
    .tools-browser-toolbar { grid-template-columns: 1fr; gap: 12px; }
    .tools-browser-toolbar .seo-filter-row { justify-content: flex-start; }
    .seo-platform .new-site-footer .footer-cta-section { align-items: flex-start; gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    .seo-platform *, .seo-platform *::before, .seo-platform *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
