:root {
  --ink: #18102f;
  --muted: #716b80;
  --purple: #2b176d;
  --purple-soft: #eeeafd;
  --gold: #ffc514;
  --green: #35a46d;
  --blue: #188fd0;
  --amber: #e99a00;
  --surface: rgba(255,255,255,.92);
  --border: #dedbe5;
  font-family: Inter, ui-rounded, "SF Pro Rounded", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: linear-gradient(145deg, #f7f6fc 0%, #f4f2f8 55%, #fbf7ee 100%);
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: transparent; }
a { color: inherit; }
.shell { width: min(100% - 32px, 1080px); margin: 0 auto; padding: 42px 0 120px; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 8px; font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -.045em; }
h2 { letter-spacing: -.025em; }
.eyebrow { margin-bottom: 7px; color: var(--purple); font-size: .82rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.lede { color: var(--muted); font-size: 1.08rem; line-height: 1.55; }
.auth-card { width: min(100%, 460px); margin: min(8vh, 70px) auto; padding: 38px; border: 1px solid var(--border); border-radius: 30px; background: var(--surface); box-shadow: 0 24px 70px rgba(40,25,85,.11); }
.brand-mark { display: grid; width: 58px; height: 58px; margin-bottom: 26px; place-items: center; border-radius: 18px; color: white; background: linear-gradient(145deg, #29136c, #7043c9); font-size: 1.45rem; font-weight: 900; }
.form { display: grid; gap: 18px; margin-top: 28px; }
.form label { display: grid; gap: 8px; font-size: .92rem; font-weight: 760; }
.form input, .form textarea { width: 100%; padding: 15px 16px; border: 1px solid #cbc6d6; border-radius: 14px; background: white; color: var(--ink); font: inherit; outline: none; }
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus { border-color: var(--purple); box-shadow: 0 0 0 4px rgba(43,23,109,.1); }
.primary { display: flex; min-height: 54px; align-items: center; justify-content: center; gap: 12px; padding: 14px 20px; border: 0; border-radius: 16px; background: var(--gold); color: var(--ink); font: inherit; font-weight: 900; text-transform: uppercase; cursor: pointer; }
.primary span { font-size: 1.3rem; }
.small { margin: 18px 0 0; color: var(--muted); font-size: .78rem; text-align: center; }
.auth-link { margin: 18px 0 0; text-align: center; }
.auth-link a { color: var(--purple); font-size: .86rem; font-weight: 800; }
.notice { margin-top: 20px; padding: 13px 15px; border-radius: 12px; }
.notice.error { color: #8d2036; background: #ffedf1; }
.notice.success { color: #176340; background: #e8f8ef; }
.topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.topbar h1 { margin: 0; }
.avatar { display: grid; width: 48px; height: 48px; place-items: center; border: 4px solid white; border-radius: 50%; background: var(--gold); box-shadow: 0 6px 18px rgba(40,25,85,.13); font-weight: 900; }
.project-strip, .hero-score, .next-step, .empty-state { border: 1px solid var(--border); border-radius: 24px; background: var(--surface); box-shadow: 0 10px 28px rgba(40,25,85,.06); }
.project-strip { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 18px 20px; }
.site-icon, .score-icon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 14px; color: white; background: var(--purple); font-size: 1.35rem; font-weight: 900; }
.project-strip strong, .project-strip small { display: block; }
.project-strip small { margin-top: 3px; color: var(--muted); }
.project-strip a { color: var(--purple); font-weight: 800; text-decoration: none; }
.hero-score { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; margin-top: 22px; padding: 24px; }
.score-icon { background: var(--green); }
.hero-score strong { color: var(--green); font-size: 1.5rem; }
.hero-score p { margin: 5px 0 0; color: var(--muted); line-height: 1.45; }
.hero-score > a { font-size: 2rem; text-decoration: none; }
.performance-board { display: grid; grid-template-columns: 1.35fr .82fr 1.15fr; gap: 1px; margin-top: 22px; overflow: hidden; border: 1px solid #382377; border-radius: 25px; color: white; background: #251461; box-shadow: 0 18px 42px rgba(35,19,91,.18); }
.performance-board article { min-width: 0; padding: 24px; background: linear-gradient(145deg, rgba(30,17,82,.97), rgba(25,52,108,.96)); }
.performance-board small { display: block; color: #c5bde2; font-weight: 800; }
.performance-board a { display: inline-block; margin-top: 14px; color: #9be8ff; font-size: .82rem; font-weight: 850; text-decoration: none; }
.performance-lead > div { display: flex; align-items: baseline; gap: 4px; }
.performance-lead strong { margin-top: 8px; color: #65e0ae; font-size: 3.1rem; letter-spacing: -.06em; }
.performance-lead span { color: #c5bde2; font-weight: 800; }
.performance-lead svg { width: 100%; height: 95px; margin-top: 6px; overflow: visible; }
.performance-lead svg line { stroke: rgba(255,255,255,.12); stroke-width: 1; }
.performance-lead svg polyline { fill: none; stroke: url(#scoreLine); stroke-linecap: round; stroke-linejoin: round; stroke-width: 7; }
.performance-lead p { margin: -2px 0 0; color: #c5bde2; font-size: .78rem; }
.performance-stat strong { display: block; margin: 13px 0 5px; color: #7dd3fc; font-size: 2.55rem; letter-spacing: -.045em; }
.performance-stat p { min-height: 44px; color: #ddd8ee; line-height: 1.4; }
.colour-rule { height: 8px; overflow: hidden; border-radius: 8px; background: #422e7d; }
.colour-rule i { display: block; width: 72%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #2dd4bf, #38bdf8); }
.performance-ranks > small { margin-bottom: 20px; }
.rank-bars { display: flex; height: 108px; gap: 10px; align-items: end; justify-content: space-between; }
.rank-bar { display: grid; flex: 1; justify-items: center; align-items: end; gap: 4px; }
.rank-bar span { color: white; font-size: .74rem; font-weight: 850; }
.rank-bar i { display: block; width: min(100%, 24px); border-radius: 7px 7px 3px 3px; background: #65e0ae; }
.rank-bar i.cyan { background: #38bdf8; }.rank-bar i.gold { background: #facc15; }.rank-bar i.orange { background: #fb923c; }.rank-bar i.coral { background: #fb7185; }.rank-bar i.rose { background: #e879f9; }
.rank-bar small { color: #c5bde2; font-size: .64rem; white-space: nowrap; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; margin: 34px 0 16px; }
.section-heading h2 { margin: 0; font-size: 1.65rem; }
.section-heading span { color: var(--green); font-size: .85rem; font-weight: 800; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.metric { position: relative; min-height: 210px; padding: 20px; border: 1px solid var(--border); border-radius: 23px; background: var(--surface); box-shadow: 0 9px 24px rgba(40,25,85,.055); }
.metric-icon { display: grid; width: 44px; height: 44px; margin-bottom: 19px; place-items: center; border-radius: 13px; color: white; background: currentColor; font-size: 1.2rem; }
.metric-icon::first-letter { color: white; }
.metric.green { --metric-colour: var(--green); color: var(--green); } .metric.blue { --metric-colour: var(--blue); color: var(--blue); } .metric.purple { --metric-colour: var(--purple); color: var(--purple); } .metric.amber { --metric-colour: var(--amber); color: var(--amber); } .metric.red { --metric-colour: #d64b5f; color: #d64b5f; }
.metric .metric-icon { color: white; background: var(--metric-colour, var(--purple)); box-shadow: 0 8px 18px color-mix(in srgb, var(--metric-colour, var(--purple)) 28%, transparent); }
.metric small, .metric strong, .metric p, .metric em { display: block; }
.metric small { color: var(--muted); font-weight: 750; }
.metric strong { margin: 6px 0; color: var(--ink); font-size: 1.8rem; }
.metric p { min-height: 42px; color: var(--muted); line-height: 1.35; }
.metric em { font-style: normal; font-weight: 800; }
.metric > a { font-weight: 850; text-decoration: none; }
.info-pop { position: absolute; top: 18px; right: 18px; z-index: 2; }
.info-pop summary { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; color: var(--purple); background: var(--purple-soft); font: 900 1rem Georgia, serif; cursor: pointer; list-style: none; }
.info-pop summary::-webkit-details-marker { display: none; }
.info-pop div { position: absolute; top: 38px; right: 0; width: min(280px, 72vw); padding: 14px; border: 1px solid var(--border); border-radius: 14px; color: var(--ink); background: white; box-shadow: 0 12px 35px rgba(20,15,35,.16); }
.info-pop p { min-height: 0; margin: 5px 0 0; font-size: .85rem; }
.next-step { margin-top: 22px; padding: 26px; }
.next-step p:not(.eyebrow) { max-width: 660px; color: var(--muted); line-height: 1.5; }
.link-button { width: fit-content; padding-inline: 26px; text-decoration: none; }
.bottom-nav { position: fixed; z-index: 10; right: 50%; bottom: 22px; display: flex; width: min(92%, 580px); min-height: 72px; padding: 7px; transform: translateX(50%); border: 1px solid rgba(255,255,255,.75); border-radius: 28px; background: rgba(99,96,102,.77); box-shadow: 0 12px 35px rgba(20,15,35,.23); backdrop-filter: blur(22px); }
.bottom-nav a, .bottom-nav form, .bottom-nav button { flex: 1; }
.bottom-nav a, .bottom-nav button { display: flex; height: 58px; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border: 0; border-radius: 21px; color: white; background: transparent; font: 700 .75rem inherit; text-decoration: none; cursor: pointer; }
.bottom-nav a span, .bottom-nav button span { font-size: 1.35rem; }
.bottom-nav .active { background: rgba(255,255,255,.22); }
.side-nav { display: none; }
.empty-state { width: min(100%, 580px); margin: 7vh auto; padding: 38px; text-align: center; }
.empty-state .brand-mark { margin-inline: auto; }
.empty-state p { color: var(--muted); line-height: 1.55; }
.empty-state .link-button { margin: 22px auto 0; }
.panel { margin: 0 0 20px; padding: 24px; border: 1px solid var(--border); border-radius: 23px; background: var(--surface); box-shadow: 0 9px 24px rgba(40,25,85,.055); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.summary-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 22px 0; }
.summary-grid > div { display: grid; gap: 6px; padding: 20px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); }
.summary-grid > a { display: grid; gap: 6px; padding: 20px; border: 1px solid var(--border); border-radius: 20px; color: var(--ink); background: var(--surface); text-decoration: none; transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.summary-grid > a:hover { transform: translateY(-2px); border-color: #aaa0c6; box-shadow: 0 12px 28px rgba(40,25,85,.09); }
.summary-grid > a.active { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(43,23,109,.1); }
.summary-grid > a em { color: var(--purple); font-size: .76rem; font-style: normal; font-weight: 850; }
.summary-grid small { color: var(--muted); font-weight: 750; }
.summary-grid strong { font-size: clamp(1.45rem, 4vw, 2rem); }
.filter-chips { display: flex; gap: 9px; margin: 20px 0 8px; overflow-x: auto; }
.filter-chips a { flex: 0 0 auto; padding: 9px 14px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); background: white; font-size: .8rem; font-weight: 850; text-decoration: none; }
.filter-chips a.active { border-color: var(--purple); color: white; background: var(--purple); }
.row-list, .keyword-list, .progress-list, .idea-list { padding: 0; overflow: hidden; }
.row-link, .keyword-row, .progress-row, .idea-row { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 17px 20px; border-bottom: 1px solid var(--border); color: var(--ink); text-decoration: none; }
.keyword-row, .progress-row { grid-template-columns: 1fr auto; }
.idea-row { grid-template-columns: 1fr auto; }
.row-link:last-child, .keyword-row:last-child, .progress-row:last-child, .idea-row:last-child { border-bottom: 0; }
.row-link strong, .row-link small, .keyword-row strong, .keyword-row small, .progress-row strong, .progress-row small, .idea-row strong, .idea-row small { display: block; }
.row-link small, .keyword-row small, .progress-row small, .idea-row small { margin-top: 4px; color: var(--muted); }
.score-pill { display: grid; min-width: 48px; height: 48px; padding: 0 8px; place-items: center; border-radius: 50%; font-weight: 900; }
.score-pill.good { color: #168251; background: #e5f7ed; } .score-pill.warn { color: #9b6500; background: #fff3d2; } .score-pill.bad { color: #ac2940; background: #ffe5e9; }
.issue-list, .action-list { display: grid; gap: 14px; }
.issue, .action-card { padding: 20px; border: 1px solid var(--border); border-left: 5px solid var(--amber); border-radius: 18px; background: var(--surface); }
.issue.high, .issue.critical { border-left-color: #e64158; }
.issue p, .action-card p { margin: 6px 0 0; color: var(--muted); line-height: 1.48; }
.action-card { display: grid; grid-template-columns: auto 1fr; gap: 16px; }
.action-card .priority { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 12px; color: white; background: var(--purple); font-weight: 900; }
.action-card h2 { margin: 4px 0 8px; }
.url { overflow-wrap: anywhere; color: var(--muted); }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: #e8e5ed; }
.segmented label { display: flex; min-height: 42px; flex-direction: row; align-items: center; justify-content: center; gap: 8px; border-radius: 11px; background: white; }
.segmented input { width: auto; }
.secondary { min-height: 46px; padding: 11px 18px; border: 1px solid var(--purple); border-radius: 14px; color: var(--purple); background: white; font: inherit; font-weight: 850; cursor: pointer; }
.inline-action { display: flex; justify-content: flex-end; margin: 14px 0; }
.rank-value { min-width: 75px; color: var(--purple); font-size: 1.5rem; font-weight: 900; text-align: right; }
.rank-value small { font-size: .72rem; font-weight: 700; }
.keyword-controls { display: grid; grid-template-columns: minmax(190px, 1.7fr) repeat(3, minmax(125px, .8fr)) auto; gap: 12px; align-items: end; padding: 18px; }
.keyword-controls label { display: grid; gap: 6px; color: var(--muted); font-size: .72rem; font-weight: 850; }
.keyword-controls input, .keyword-controls select { min-width: 0; height: 44px; padding: 0 12px; border: 1px solid #cbc6d6; border-radius: 12px; color: var(--ink); background: white; font: inherit; }
.keyword-table-wrap { padding: 0; overflow-x: auto; }
.keyword-table { width: 100%; min-width: 980px; border-collapse: collapse; }
.keyword-table th { padding: 14px 16px; color: var(--muted); background: #f7f5fa; font-size: .7rem; font-weight: 900; letter-spacing: .04em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.keyword-table td { padding: 16px; border-top: 1px solid var(--border); vertical-align: middle; }
.keyword-table td:first-child { max-width: 310px; }
.keyword-table td small { display: block; max-width: 300px; margin-top: 5px; overflow: hidden; color: var(--muted); font-size: .72rem; text-overflow: ellipsis; white-space: nowrap; }
.domain-keyword-lookup { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: end; margin-bottom: 20px; background: linear-gradient(135deg, #fff, #f4efff); }
.domain-keyword-lookup h2 { margin: 4px 0 8px; }.domain-keyword-lookup p { margin: 0; color: var(--muted); line-height: 1.5; }.domain-keyword-lookup form { display: grid; gap: 10px; }.domain-keyword-lookup label, .domain-keyword-hero label { display: grid; gap: 6px; color: var(--muted); font-size: .75rem; font-weight: 850; }.domain-keyword-lookup input, .domain-keyword-hero input { width: 100%; height: 46px; padding: 0 13px; border: 1px solid #c9c2d6; border-radius: 13px; font: inherit; }
.domain-keyword-hero { display: grid; grid-template-columns: 1fr minmax(260px, .65fr); gap: 28px; align-items: center; margin: 18px 0; padding: 28px; border-radius: 25px; color: white; background: linear-gradient(135deg, #23125f, #12659a); box-shadow: 0 18px 42px rgba(35,19,91,.18); }.domain-keyword-hero strong { display: block; margin: 3px 0; color: #72e4b3; font-size: clamp(2.7rem, 7vw, 4.4rem); letter-spacing: -.06em; }.domain-keyword-hero p { margin: 3px 0; color: #eee9ff; }.domain-keyword-hero small { color: #cdc6e0; }.domain-keyword-hero form { display: grid; gap: 9px; }.domain-keyword-hero label { color: #eee9ff; }
.domain-keyword-summary { margin-bottom: 18px; }.domain-keyword-controls { grid-template-columns: minmax(200px, 1.6fr) repeat(2, minmax(140px, .8fr)) auto; }.bulk-action { display: flex; gap: 18px; align-items: center; justify-content: space-between; margin: 18px 0 10px; }.bulk-action strong, .bulk-action small { display: block; }.bulk-action small { margin-top: 4px; color: var(--muted); }.select-all-results { display: inline-flex; gap: 8px; align-items: center; margin-top: 12px; color: var(--purple); font-size: .82rem; font-weight: 850; cursor: pointer; }.select-all-results input, .select-page input { width: 20px; height: 20px; accent-color: var(--purple); }.select-page { display: inline-flex; gap: 7px; align-items: center; cursor: pointer; }.select-page span { font-size: .68rem; }.domain-keyword-table { min-width: 900px; }.domain-keyword-table input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--purple); }
.keyword-name { color: var(--ink); font-weight: 850; text-decoration: none; }
.keyword-name:hover, .table-action:hover { text-decoration: underline; }
.position-cell { color: var(--purple); font-size: 1.35rem; font-weight: 900; }
.change { display: inline-flex; padding: 5px 8px; border-radius: 999px; font-size: .72rem; font-weight: 900; }
.change.up { color: #14764b; background: #e5f7ed; }.change.down { color: #ac2940; background: #ffe5e9; }.change.neutral { color: #686173; background: #efedf2; }
.device-pill { display: inline-flex; padding: 5px 9px; border-radius: 999px; color: var(--purple); background: var(--purple-soft); font-size: .72rem; font-weight: 850; text-transform: capitalize; }
.table-action { color: var(--purple); font-size: .78rem; font-weight: 850; text-decoration: none; white-space: nowrap; }
.pagination { display: flex; gap: 18px; align-items: center; justify-content: space-between; margin: 16px 0 30px; color: var(--muted); font-size: .82rem; }
.pagination div { display: flex; gap: 14px; align-items: center; }.pagination a { color: var(--purple); font-weight: 850; text-decoration: none; }
.detail-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 18px; margin-top: 22px; }
.detail-list { margin: 0; }.detail-list div { display: grid; grid-template-columns: 130px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--border); }.detail-list div:last-child { border-bottom: 0; }.detail-list dt { color: var(--muted); font-size: .8rem; font-weight: 800; }.detail-list dd { margin: 0; font-weight: 750; }
.rank-chart p { color: var(--muted); }.rank-chart svg { width: 100%; height: 190px; overflow: visible; }.rank-chart line { stroke: #e5e0ed; stroke-width: 1; }.rank-chart polyline { fill: none; stroke: var(--purple); stroke-linecap: round; stroke-linejoin: round; stroke-width: 6; }
.back-link { color: var(--purple); font-weight: 850; text-decoration: none; }
.crawl-hero { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; padding: 26px; border-radius: 25px; color: white; background: linear-gradient(135deg, #24145f, #173f78); box-shadow: 0 18px 42px rgba(35,19,91,.18); }
.crawl-hero p { margin: 5px 0; color: #d8d2ed; }.crawl-hero > div > strong { display: block; margin: 4px 0; color: #66e0ad; font-size: 3.4rem; letter-spacing: -.06em; }.crawl-hero strong small { font-size: 1rem; letter-spacing: 0; }.crawl-hero form { display: grid; gap: 7px; min-width: 235px; }.crawl-hero form small { color: #d8d2ed; font-size: .72rem; text-align: center; }.crawl-hero .primary { background: linear-gradient(90deg, #f1bb16, #ffc928); }
.audit-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 18px 0; }.audit-summary a { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; padding: 19px; border: 1px solid var(--border); border-radius: 20px; color: var(--ink); background: white; box-shadow: 0 9px 24px rgba(40,25,85,.055); text-decoration: none; }.audit-summary .audit-icon { grid-row: 1 / 4; display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; color: white; font-weight: 900; }.audit-icon.purple { background: var(--purple); }.audit-icon.red { background: #df4960; }.audit-icon.amber { background: #e99a00; }.audit-icon.blue { background: var(--blue); }.audit-summary small { color: var(--muted); font-weight: 750; }.audit-summary strong { font-size: 1.8rem; }.audit-summary em { color: var(--muted); font-size: .72rem; font-style: normal; }
.crawl-distribution { display: grid; gap: 14px; }.crawl-distribution > div:first-child { display: flex; justify-content: space-between; }.crawl-distribution small { color: var(--muted); }.distribution-bar { display: block; width: 100%; height: 12px; overflow: hidden; border-radius: 999px; }.crawl-distribution p { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 0; color: var(--muted); font-size: .78rem; }
.audit-controls { display: grid; grid-template-columns: minmax(180px, 1.6fr) repeat(3, minmax(95px, .7fr)); gap: 12px; align-items: end; padding: 18px; }.audit-controls label { display: grid; gap: 6px; color: var(--muted); font-size: .72rem; font-weight: 850; }.audit-controls input, .audit-controls select { min-width: 0; height: 44px; padding: 0 12px; border: 1px solid #cbc6d6; border-radius: 12px; color: var(--ink); background: white; font: inherit; }.audit-controls button { grid-column: 1 / -1; width: fit-content; justify-self: end; }
.audit-table-wrap { padding: 0; overflow-x: auto; }.audit-table { width: 100%; min-width: 1060px; border-collapse: collapse; }.audit-table th { padding: 14px 15px; color: var(--muted); background: #f7f5fa; font-size: .68rem; font-weight: 900; letter-spacing: .04em; text-align: left; text-transform: uppercase; white-space: nowrap; }.audit-table td { padding: 14px 15px; border-top: 1px solid var(--border); vertical-align: middle; }.audit-table td:first-child { max-width: 320px; }.audit-table td small { display: block; max-width: 310px; margin-top: 4px; overflow: hidden; color: var(--muted); font-size: .7rem; text-overflow: ellipsis; white-space: nowrap; }.status-code { color: var(--green); }.status-code.bad { color: #c52f49; }
.audit-issues { padding: 0; overflow: hidden; }.audit-issue { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 17px 20px; border-bottom: 1px solid var(--border); }.audit-issue:last-child { border-bottom: 0; }.audit-issue p { margin: 4px 0; color: var(--muted); font-size: .83rem; }.audit-issue small { color: var(--muted); font-weight: 750; }.audit-issue a { color: var(--purple); font-size: .78rem; font-weight: 850; text-decoration: none; white-space: nowrap; }.severity-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--amber); }.severity-dot.critical, .severity-dot.high { background: #df4960; }.severity-dot.low, .severity-dot.info { background: var(--blue); }
.page-evidence-head { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; margin-top: 18px; }.page-evidence-head h2 { margin: 4px 0 8px; }
.tool-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tool-card { min-height: 190px; padding: 20px; border: 1px solid var(--border); border-radius: 22px; background: var(--surface); box-shadow: 0 9px 24px rgba(40,25,85,.055); text-decoration: none; }
.tool-card > span { display: grid; width: 44px; height: 44px; margin-bottom: 18px; place-items: center; border-radius: 13px; color: white; background: var(--purple); font-size: 1.2rem; }
.tool-card strong, .tool-card em { display: block; }.tool-card p { min-height: 43px; color: var(--muted); }.tool-card em { color: var(--purple); font-style: normal; font-weight: 850; }
.competitor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.competitor-card { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; padding: 21px; border: 1px solid var(--border); border-radius: 21px; background: var(--surface); box-shadow: 0 9px 24px rgba(40,25,85,.055); }
.competitor-card > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; color: white; background: linear-gradient(145deg, #29136c, #6b43c0); font-weight: 900; }
.competitor-card strong, .competitor-card small { display: block; overflow-wrap: anywhere; }
.competitor-card small { margin-top: 4px; color: var(--muted); }
.competitor-card a { grid-column: 2; color: var(--purple); font-size: .8rem; font-weight: 850; text-decoration: none; }
.compare-toolbar { display: flex; gap: 18px; align-items: center; justify-content: space-between; margin: 4px 0 18px; }.compare-toolbar form { margin: 0; }
.competitor-add { display: grid; grid-template-columns: 1fr minmax(280px, .8fr); gap: 28px; align-items: end; margin: 16px 0; background: linear-gradient(135deg, #fff, #f4efff); }.competitor-add h2 { margin: 4px 0 7px; }.competitor-add p { margin: 0; color: var(--muted); }.competitor-add form { display: grid; gap: 9px; }.competitor-add label { display: grid; gap: 6px; color: var(--muted); font-size: .72rem; font-weight: 850; }.competitor-add input { height: 46px; padding: 0 13px; border: 1px solid #c9c2d6; border-radius: 13px; font: inherit; }
.compare-profiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 18px 0; }.compare-profile { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 20px; border: 1px solid var(--border); border-radius: 20px; background: white; box-shadow: 0 9px 24px rgba(40,25,85,.055); }.compare-profile.own { border-color: #6d52b6; background: linear-gradient(145deg, #fff, #f1ecff); }.compare-profile div span { display: block; margin-bottom: 6px; color: var(--muted); font-size: .62rem; font-weight: 900; letter-spacing: .08em; }.compare-profile strong { display: block; overflow-wrap: anywhere; }.domain-rating { text-align: right; }.compare-profile .domain-rating b { display: block; color: var(--purple); font-size: 2rem; line-height: 1; }.compare-profile .domain-rating small { color: var(--muted); font-size: .62rem; font-weight: 850; }.rating-track { grid-column: 1 / -1; height: 8px; overflow: hidden; border-radius: 999px; background: #e9e5f0; }.rating-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #2eaf7d, #3caee7); }.compare-profile p { grid-column: 1 / -1; margin: 3px 0 0; color: var(--muted); font-size: .78rem; }.compare-profile form { grid-column: 1 / -1; }.compare-profile form button { padding: 0; border: 0; background: transparent; cursor: pointer; }
.gap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 24px; }.gap-card { display: grid; gap: 4px; padding: 19px; border: 1px solid var(--border); border-radius: 19px; color: var(--ink); background: white; box-shadow: 0 9px 24px rgba(40,25,85,.055); text-decoration: none; }.gap-card small { color: var(--muted); font-weight: 800; }.gap-card strong { font-size: 1.8rem; }.gap-card.ahead strong { color: var(--green); }.gap-card.behind strong { color: #d63e57; }.gap-card span { color: var(--muted); font-size: .75rem; }.gap-card em { margin-top: 6px; color: var(--purple); font-size: .75rem; font-style: normal; font-weight: 850; }
.compare-table-wrap { padding: 0; overflow-x: auto; }.compare-table { width: 100%; min-width: 720px; border-collapse: collapse; }.compare-table th, .compare-table td { min-width: 145px; padding: 16px 18px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: middle; }.compare-table thead th { color: var(--purple); background: #f7f5fa; font-size: .82rem; }.compare-table thead th:first-child { color: var(--muted); }.compare-table thead small { display: block; margin-top: 4px; color: var(--green); }.compare-table tbody th { position: relative; padding-right: 52px; color: var(--muted); font-size: .78rem; }.compare-table tbody td { color: var(--ink); font-size: 1rem; font-weight: 850; }.compare-table .info-pop { top: 10px; right: 12px; }.compare-table tr:last-child th, .compare-table tr:last-child td { border-bottom: 0; }
.compare-table td small { display: block; margin-top: 4px; color: var(--green); font-size: .62rem; font-weight: 900; text-transform: uppercase; }.compare-table td.metric-leader { background: #edfaf4; }
.comparison-insight { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }.comparison-insight > span { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 14px; color: white; background: var(--green); font-size: 1.3rem; font-weight: 900; }.comparison-insight h2 { margin: 0 0 7px; }.comparison-insight p { color: var(--muted); line-height: 1.5; }.comparison-insight a { color: var(--purple); font-weight: 850; text-decoration: none; }
.result-card { margin-top: 20px; }.large-score { display: block; margin: 14px 0; color: var(--green); font-size: 2.3rem; }.small-left { color: var(--muted); font-size: .78rem; overflow-wrap: anywhere; }
@media (max-width: 800px) { .metric-grid { grid-template-columns: repeat(2, 1fr); } .performance-board { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .gap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .domain-keyword-lookup, .domain-keyword-hero { grid-template-columns: 1fr; }.bulk-action { align-items: stretch; flex-direction: column; }.domain-keyword-controls { grid-template-columns: 1fr; } }
@media (min-width: 920px) {
  .app-body { min-height: 100vh; }
  .app-body .shell { width: min(calc(100% - 330px), 1180px); margin: 0 32px 0 298px; padding: 42px 0 70px; }
  .app-body .bottom-nav { display: none; }
  .side-nav { position: fixed; z-index: 20; inset: 0 auto 0 0; display: flex; width: 266px; flex-direction: column; padding: 28px 18px 20px; border-right: 1px solid var(--border); background: rgba(255,255,255,.86); box-shadow: 12px 0 38px rgba(40,25,85,.045); backdrop-filter: blur(24px); }
  .side-brand { display: flex; gap: 12px; align-items: center; padding: 4px 8px 24px; text-decoration: none; }
  .side-brand > span { display: grid; width: 46px; height: 46px; flex: 0 0 auto; place-items: center; border-radius: 14px; color: white; background: linear-gradient(145deg, #29136c, #7043c9); font-size: 1.2rem; font-weight: 900; }
  .side-brand strong, .side-brand small, .side-project strong, .side-project small { display: block; }
  .side-brand strong { font-size: 1rem; }
  .side-brand small, .side-project small { margin-top: 2px; color: var(--muted); font-size: .72rem; }
  .side-project { margin-bottom: 20px; padding: 15px; border: 1px solid var(--border); border-radius: 17px; background: white; }
  .side-project strong { margin: 4px 0; font-size: .9rem; }
  .side-project a { color: var(--purple); font-size: .75rem; font-weight: 800; text-decoration: none; }
  .side-nav nav { display: grid; gap: 4px; }
  .side-nav nav p { margin: 14px 10px 5px; color: var(--muted); font-size: .66rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
  .side-nav nav a { display: flex; min-height: 43px; gap: 12px; align-items: center; padding: 9px 12px; border-radius: 12px; color: #4f495c; font-size: .88rem; font-weight: 760; text-decoration: none; }
  .side-nav nav a span { display: grid; width: 22px; place-items: center; color: var(--purple); font-size: 1.05rem; }
  .side-nav nav a:hover, .side-nav nav a.active { color: var(--purple); background: var(--purple-soft); }
  .side-account { display: flex; gap: 12px; align-items: center; margin-top: auto; padding: 13px; border-radius: 15px; color: var(--ink); text-decoration: none; }
  .side-account:hover, .side-account.active { background: var(--purple-soft); }
  .side-account > span { color: var(--green); }
  .side-account strong, .side-account small { display: block; }
  .side-account small { margin-top: 2px; color: var(--muted); font-size: .7rem; }
  .metric-grid { grid-template-columns: repeat(3, 1fr); }
  .tool-grid { grid-template-columns: repeat(3, 1fr); }
  .competitor-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 520px) {
  .shell { width: min(100% - 28px, 1080px); padding-top: 28px; }
  .auth-card { padding: 28px 22px; border-radius: 24px; }
  .metric-grid { gap: 12px; }
  .metric { min-height: 200px; padding: 16px; }
  .metric .info { top: 14px; right: 14px; }
  .hero-score { grid-template-columns: auto 1fr; }
  .hero-score > a { display: none; }
  .form-grid, .summary-grid { grid-template-columns: repeat(2, 1fr); }
  .tool-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .competitor-grid { grid-template-columns: 1fr; }
  .competitor-add { grid-template-columns: 1fr; }.gap-grid { grid-template-columns: 1fr 1fr; }
  .compare-toolbar { align-items: stretch; flex-direction: column; }.compare-toolbar .secondary { width: 100%; }
  .keyword-controls { grid-template-columns: 1fr 1fr; }
  .keyword-controls label:first-child, .keyword-controls button { grid-column: 1 / -1; }
  .crawl-hero { grid-template-columns: 1fr; }.crawl-hero form { min-width: 0; }.audit-summary { grid-template-columns: repeat(2, 1fr); }.audit-controls { grid-template-columns: 1fr 1fr; }.audit-controls label:first-child, .audit-controls button { grid-column: 1 / -1; }.crawl-distribution > div:first-child { display: grid; gap: 5px; }.audit-issue { grid-template-columns: auto 1fr; }.audit-issue a { grid-column: 2; }
  .detail-grid { grid-template-columns: 1fr; }
  .pagination { align-items: flex-start; flex-direction: column; }
  .performance-board { grid-template-columns: 1fr; }
  .performance-board article { padding: 20px; }
  .tool-card { min-height: 180px; padding: 16px; }
  .bottom-nav { width: calc(100% - 28px); }
}
