@font-face {
  font-family: "SEO Inter";
  src: url("./inter.woff2") format("woff2");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: "SEO Inter", Inter, "Segoe UI", Arial, sans-serif;
  color: #101b2d;
  background: #f5f7fb;
  font-synthesis: none;
  --ink: #101b2d;
  --muted: #465466;
  --surface: #fff;
  --line: #d9e0ea;
  --line-blue: #c6d7ef;
  --deep: #14243c;
  --accent: #2168ce;
  --accent-deep: #1655ac;
  --tint: #edf2fa;
  --orange: #ee921f;
  --radius: 14px;
  --gutter: clamp(16px, 3vw, 42px);
  --measure: 1280px;
  --shadow: 0 2px 5px #182a4606, 0 12px 30px #25437109;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
button, input, textarea, select { font: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1 { font-size: clamp(2.2rem, 4.4vw, 3.38rem); letter-spacing: -.061em; line-height: 1.07; font-weight: 700; }
h2 { font-size: 1.18rem; letter-spacing: -.031em; line-height: 1.3; }
h3 { font-size: .98rem; }
small { display: block; }
:focus-visible { outline: 3px solid var(--accent-deep); outline-offset: 3px; }
#screen:focus { outline: none; }
.sr-only, .editorial-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[hidden] { display: none !important; }

.screen { width: min(var(--measure), calc(100% - 2 * var(--gutter))); margin: 0 auto; padding-block: 28px 46px; }
.page-heading { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-bottom: 23px; }
.page-heading p { color: var(--muted); margin-top: 9px; line-height: 1.55; max-width: 68ch; }
.page-heading .eyebrow { margin: 0 0 8px; color: var(--accent-deep); font-size: .78rem; font-weight: 680; letter-spacing: .05em; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); min-width: 0; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: .4rem; min-height: 41px; width: fit-content; padding: 7px 14px; border: 1px solid var(--line-blue); border-radius: 10px; background: #fff; color: var(--accent-deep); font-size: .875rem; font-weight: 650; line-height: 1.24; text-align: center; }
.button:hover { background: #f0f5ff; border-color: #aac6eb; }
.button.primary { background: var(--accent); color: #fff; border-color: var(--accent); min-height: 44px; box-shadow: 0 5px 13px #2168ce1c; }
.button.primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.button.ghost { background: transparent; }
.button.ghost:hover { background: #edf4ff; }
.button:disabled { cursor: default; opacity: .55; box-shadow: none; }
.input { min-height: 42px; min-width: 0; max-width: 100%; border: 1px solid #cbd7e5; border-radius: 10px; color: var(--ink); background: #fff; padding: 8px 11px; font-size: .94rem; font-weight: 450; }
.input::placeholder { color: #657385; }
textarea.input { resize: vertical; }
.input[type="file"] { padding: 5px; }
.input[type="file"]::file-selector-button { border: 0; background: var(--tint); color: var(--accent-deep); border-radius: 6px; font: inherit; font-weight: 620; padding: 7px 10px; margin-right: 8px; cursor: pointer; }
.form-card { max-width: 800px; padding: clamp(16px, 2.2vw, 26px); }
.form-card > .section-heading { margin-bottom: 19px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.field { display: grid; gap: 5px; font-size: .875rem; font-weight: 640; min-width: 0; }
.field small { color: var(--muted); font-weight: 400; line-height: 1.42; }
.full-span { grid-column: 1 / -1; }
.check-field { display: flex; align-items: center; gap: 7px; font-size: .89rem; line-height: 1.4; }
.check-field input { accent-color: var(--accent); margin: 0; width: 16px; height: 16px; flex: none; }
.form-actions { margin-top: 16px; }
.stack { display: grid; gap: 14px; align-content: start; min-width: 0; }

.section-heading { display: flex; justify-content: space-between; align-items: start; flex-wrap: wrap; gap: 10px; }
.section-heading p, .muted, .help { color: var(--muted); font-size: .9rem; line-height: 1.52; }
.section-heading p { margin-top: 4px; }
.tag { display: inline-flex; align-items: center; width: fit-content; padding: 4px 8px; border-radius: 999px; background: #eef2f7; color: #40526b; font-size: .75rem; font-weight: 640; white-space: nowrap; }
.tag.green, [data-status="published"], [data-status="approved"] { background: #e2f4ec; color: #176648; }
.tag.blue, [data-status="review"] { background: #e6effe; color: #194f9c; }
.tag.sand, [data-status="returned"] { background: #fdf0d9; color: #7b4c0a; }
.tag.red { background: #fceae6; color: #882f23; }
.table-wrap { width: 100%; overflow-x: auto; border-radius: 0 0 var(--radius) var(--radius); }
table { border-collapse: collapse; width: 100%; text-align: left; font-size: .89rem; }
th, td { padding: 11px 15px; border-top: 1px solid #e4eaf2; }
th:first-child, td:first-child { padding-left: 19px; }
th:last-child, td:last-child { padding-right: 19px; }
th { background: #f4f7fc; color: #455773; font-size: .8rem; font-weight: 670; white-space: nowrap; }
td:last-child { text-align: right; white-space: nowrap; }
tbody tr:hover { background: #f7faff; }
td .button { min-height: 34px; padding: 5px 11px; font-size: .8rem; }
.empty, td.empty { text-align: center; padding: 24px 16px; color: var(--muted); }
progress { width: 100%; height: 7px; border: 0; border-radius: 20px; overflow: hidden; background: #e5edf8; color: var(--accent); }
progress::-webkit-progress-bar { background: #e5edf8; }
progress::-webkit-progress-value { background: var(--accent); border-radius: 20px; }
progress::-moz-progress-bar { background: var(--accent); border-radius: 20px; }

#toast { position: fixed; z-index: 3; bottom: 18px; right: 20px; max-width: min(420px, calc(100% - 40px)); padding: 12px 16px; color: #fff; background: var(--deep); box-shadow: 0 4px 18px #14243c38; border-radius: 10px; visibility: hidden; font-size: .9rem; }
#toast.visible { visibility: visible; }

/* Customer workspace */
.customer-workspace { background: #f5f7fb; position: relative; isolation: isolate; }
.customer-workspace::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: 390px;
  background:
    radial-gradient(circle, #7ea8df4e 1px, transparent 1.2px) 0 0 / 22px 22px,
    linear-gradient(165deg, #deebfc 2%, #eef5ff 59%, #f5f7fb 100%);
  mask-image: linear-gradient(#000 0 65%, transparent);
}
.skip-link { position: absolute; z-index: 4; left: 16px; top: 8px; transform: translateY(-145%); background: #fff; border-radius: 8px; color: var(--accent-deep); padding: 8px 12px; }
.skip-link:focus { transform: translateY(0); }
.workspace-header { border-bottom: 1px solid #d4e1f3; background: #f7faff6e; }
.workspace-header-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(14px, 2vw, 33px); min-height: 79px; margin-inline: auto; width: min(var(--measure), calc(100% - 2 * var(--gutter))); }
.customer-workspace .brand { display: inline-flex; align-items: center; gap: 11px; width: fit-content; white-space: nowrap; }
.customer-workspace .brand-mark { position: relative; display: block; width: 38px; height: 38px; border-radius: 12px; background: var(--accent); box-shadow: 0 4px 11px #2168ce30; }
.customer-workspace .brand-mark::before, .customer-workspace .brand-mark::after { content: ""; position: absolute; width: 16px; height: 9px; border: 2px solid #fff; border-radius: 7px; transform: rotate(-44deg); }
.customer-workspace .brand-mark::before { left: 8px; top: 17px; }
.customer-workspace .brand-mark::after { left: 14px; top: 12px; }
.brand-wordmark { display: grid; gap: 1px; }
.customer-workspace .brand-name { line-height: 1.15; font-size: 1.04rem; letter-spacing: -.045em; font-weight: 700; }
.customer-workspace .brand-byline { color: var(--muted); font-size: .73rem; }
.customer-workspace .brand-byline b { color: var(--accent-deep); font-weight: 690; }
.customer-workspace .brand-byline b span { color: #874b06; }
.workspace-nav { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px; padding-block: 8px; }
.workspace-nav .nav-link { border-radius: 999px; padding: 8px 11px; font-size: .86rem; font-weight: 620; color: #354661; white-space: nowrap; }
.workspace-nav .nav-link:hover { color: var(--accent-deep); background: #edf4ff; }
.workspace-nav .nav-link[aria-current="page"] { color: #174d99; background: #fff; box-shadow: 0 1px 4px #193c6410, inset 0 0 0 1px #d5e2f3; }
.workspace-tools { display: flex; gap: 10px; align-items: center; }
.workspace-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: min(var(--measure), calc(100% - 2 * var(--gutter))); margin-inline: auto; padding-block: 13px 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .81rem; }
.reset-button { border: 0; border-radius: 7px; color: var(--muted); background: #e9eff7; padding: 6px 9px; }
.reset-button:hover { background: #e0eaf8; color: var(--accent-deep); }

/* Public entry and account previews */
.public-page { display: flex; flex-direction: column; --measure: 1200px; }
.public-page .screen { flex: 1; }
.landing-page::before { height: 645px; mask-image: linear-gradient(#000 0 68%, transparent); }
.landing-page .workspace-header { background: #f5f9ff53; }
.public-nav .nav-link { color: var(--ink); }
.public-actions .button { min-height: 39px; border-radius: 999px; padding-inline: 13px; white-space: nowrap; }
.public-actions .button.ghost { border-color: transparent; }
.public-actions .button.ghost:hover { border-color: #c9daf0; }
.access-page .workspace-header-inner { grid-template-columns: 1fr; padding-block: 12px; }
.marketing-page .workspace-header { background: #fbfdffba; }
.marketing-footer { margin-top: auto; border-top: 1px solid var(--line); background: #f0f5fc; }
.marketing-footer-inner {
  display: grid;
  grid-template-columns: minmax(12rem, 1.5fr) repeat(2, minmax(8.5rem, .65fr));
  gap: 28px;
  width: min(var(--measure), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
  padding-block: 34px 40px;
}
.marketing-footer nav { display: grid; align-content: start; justify-items: start; gap: 10px; }
.marketing-footer nav h2 { font-size: .875rem; letter-spacing: 0; }
.marketing-footer nav a { color: var(--muted); font-size: .875rem; }
.marketing-footer nav a:hover { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.plan-notice-dialog {
  width: min(440px, calc(100% - 24px));
  margin: auto;
  padding: 22px;
  border: 1px solid var(--line-blue);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 20px 65px #1227462b;
}
.plan-notice-dialog::backdrop { background: #10274772; }
.plan-notice-dialog p { margin-top: 8px; color: var(--muted); line-height: 1.5; }
.plan-notice-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
[data-catalog-preview] { margin-bottom: 18px; }

/* Backlink opportunities */
.library-heading { margin-bottom: 20px; }
.library-heading h1 span { color: var(--accent); }
.library-heading p { color: #3e536d; }
.library-heading strong, #toast { overflow-wrap: anywhere; }
.library-progress { overflow: hidden; margin-bottom: 17px; border-color: #cddcf0; }
.library-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.library-metric { display: grid; align-content: start; gap: 5px; padding: 13px 18px; }
.library-metric + .library-metric { border-left: 1px solid #e1e9f3; }
.library-metric:last-child { background: #f3f8ff; }
.library-metric > span { font-size: .83rem; font-weight: 640; color: #3d506e; }
.library-metric > strong { color: #1b57ae; font-size: 1.75rem; line-height: 1.16; font-weight: 680; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.library-metric small { display: inline; margin-left: .16rem; color: var(--muted); font-size: .77rem; font-weight: 530; letter-spacing: normal; }
.library-layout { display: grid; gap: 16px; align-items: start; }
.library-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); }
.library-results, .library-details { min-width: 0; }
.library-topline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px 10px; }
.library-compact-title, .library-list-toggle { display: none; }
.library-views { display: flex; flex-wrap: wrap; gap: 3px; padding: 3px; border: 1px solid #dce7f6; border-radius: 12px; background: #f0f5fc; }
.library-view { padding: 7px 10px; border-radius: 8px; color: var(--accent-deep); font-size: .86rem; font-weight: 640; }
.library-view[aria-current="page"] { background: #fff; box-shadow: 0 1px 3px #18365a1d; }
.library-first-guide { margin-inline-start: auto; }
.library-clear { min-height: 33px; padding: 5px 10px; border-color: #d6e1f0; font-size: .8rem; }
.library-filters { display: grid; grid-template-columns: minmax(165px, 1.45fr) repeat(5, minmax(100px, 1fr)); align-items: end; gap: 8px; padding: 0 18px; }
.library-filter { display: grid; gap: 5px; min-width: 0; color: #3a4a64; font-size: .8rem; font-weight: 660; }
.library-filter .input { width: 100%; min-height: 39px; padding: 7px 9px; font-size: .875rem; }
.library-filter-search { position: relative; }
.library-filter-search::after { content: ""; pointer-events: none; position: absolute; left: 12px; bottom: 15px; width: 7px; height: 7px; border: 1.5px solid #617797; border-radius: 50%; box-shadow: 3px 3px 0 -2px #617797; }
.library-filter-search .input { padding-left: 27px; }
.library-list-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding: 10px 18px; }
.library-result-count { color: var(--muted); font-size: .83rem; }
.library-batch-trigger.button { min-height: 35px; margin-inline-start: auto; padding: 5px 10px; font-size: .81rem; }
.library-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  padding: 10px 18px;
  border-top: 1px solid #e4eaf2;
  border-radius: 0 0 var(--radius) var(--radius);
}
.library-pagination-range { color: var(--muted); font-size: .8rem; font-variant-numeric: tabular-nums; }
.library-pagination-controls { display: flex; gap: 6px; }
.library-pagination-controls .button { min-height: 34px; padding: 5px 9px; font-size: .8rem; }
.library-table:has(+ .library-pagination:not([hidden])) { border-radius: 0; }
.library-table .library-type { margin-right: 6px; display: inline-block; color: #364964; font-size: .82rem; }
.library-row-tracking small { color: var(--muted); font-size: .76rem; margin-top: 3px; }
.library-row-verification { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; }
.library-follow-up { margin-top: 5px; max-width: 26ch; overflow-wrap: anywhere; }
.library-next-action { line-height: 1.35; }
.library-overdue { color: #882f23; font-weight: 660; }
.library-table tr[data-selected] { background: #eef5ff; }
.library-table tr[data-selected] td:first-child { box-shadow: inset 3px 0 var(--accent); }
.library-empty strong { display: block; margin-bottom: 5px; }
.library-split .library-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.library-split .library-row-action { display: none; }
.library-details { border-color: #c4d7ef; box-shadow: 0 2px 6px #21395808, 0 16px 34px #25467a10; scroll-margin-top: 13px; }
.library-detail-top { padding: 13px 18px 0; background: linear-gradient(#edf5ff, #f5f9ff); border-radius: var(--radius) var(--radius) 0 0; }
.library-close { min-height: 31px; padding: 5px 9px; border-color: #cadcf3; font-size: .79rem; }
.site-link { display: flex; align-items: center; width: fit-content; gap: 9px; }
.site-link:hover strong { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.site-link strong { font-weight: 680; font-size: .94rem; }
.site-link small { color: var(--muted); font-size: .79rem; margin-top: 2px; }
.site-link .library-inline-action { display: none; color: var(--accent-deep); font-weight: 650; }
.library-split .site-link .library-inline-action { display: block; }
.site-icon { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 10px; flex: none; font-size: .82rem; font-weight: 690; border: 1px solid #101b2d0a; }
.site-icon.moss { background: #e3f2ed; color: #23664f; }
.site-icon.plum { background: #efe9f9; color: #633893; }
.site-icon.clay { background: #f9eee7; color: #8d5035; }
.site-icon.blue { background: #e6effd; color: #275aa1; }
.site-icon.gold { background: #f9efdb; color: #785310; }


/* In-place guide and placement panel */
.opportunity-detail { min-width: 0; overflow-wrap: anywhere; }
.detail-head { padding: 13px 18px 12px; background: linear-gradient(#f5f9ff, #fff); }
.detail-header-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 9px 12px; }
.detail-identity { display: flex; align-items: center; gap: 11px; }
.detail-identity .site-icon { width: 45px; height: 45px; border-radius: 12px; }
.detail-identity h2 { font-size: 1.54rem; }
.detail-identity h2:focus, #submission-guide-title:focus, #opportunity-overview-title:focus { outline: none; }
.detail-identity p, .detail-quick > span:not(.tag), .guide-progress-label { color: var(--muted); font-size: .82rem; line-height: 1.35; }
.detail-facts, .detail-quick { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.detail-site-info { margin-top: 9px; }
.detail-site-info summary { width: fit-content; cursor: pointer; color: var(--accent-deep); font-size: .84rem; font-weight: 630; }
.detail-facts { margin: 8px 0 7px; }
.detail-summary { font-size: .93rem; line-height: 1.47; }
.guide-meta { margin: 5px 0 0; color: var(--muted); font-size: .81rem; }
.detail-quick .button { min-height: 34px; padding-block: 5px; font-size: .83rem; }
.detail-tabs { display: flex; flex-wrap: wrap; gap: 7px; border-block: 1px solid #dee8f5; padding: 4px 12px 0; background: #f5f8fd; }
.detail-tabs button { margin-bottom: -1px; padding: 9px 10px; border: 0; border-bottom: 2px solid transparent; border-radius: 6px 6px 0 0; color: #435674; background: transparent; font-size: .88rem; font-weight: 640; }
.detail-tabs button span { color: var(--muted); font-size: .75rem; }
.detail-tabs button:hover { background: #eef4fd; }
.detail-tabs button[aria-selected="true"] { border-color: var(--accent); background: #eaf2ff; color: var(--accent-deep); }
.detail-panel { padding: 17px 18px 20px; }
.detail-section-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 6px; }
.overview-guide-note { margin-top: 14px; }
.guide-progress-label { margin-bottom: 2px; }
.guide-steps { display: grid; gap: 15px; padding-left: 24px; margin: 12px 0 0; }
.guide-steps > li::marker { color: var(--accent-deep); font-weight: 720; }
.guide-steps p { color: var(--muted); font-size: .87rem; margin-top: 4px; line-height: 1.5; }
.guide-screenshot { margin: 11px 0 0; }
.guide-screenshot-open { display: grid; width: 100%; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #f2f6fc; text-align: right; cursor: zoom-in; }
.guide-screenshot-open:hover { border-color: var(--accent); }
.guide-screenshot-open img { display: block; width: 100%; height: auto; max-height: 390px; object-fit: contain; }
.guide-screenshot-open span { padding: 6px 10px; color: var(--accent-deep); background: #fff; border-top: 1px solid var(--line); font-size: .77rem; font-weight: 680; }
.guide-screenshot figcaption, .guide-screenshot-viewer figcaption { margin: 5px 0 0; color: var(--muted); font-size: .81rem; line-height: 1.4; }
.guide-screenshot-viewer { width: min(950px, calc(100% - 24px)); max-width: none; max-height: calc(100dvh - 24px); margin: auto; padding: 14px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); background: #fff; }
.guide-screenshot-viewer::backdrop { background: #0e1b34b8; }
.guide-screenshot-viewer form { display: flex; justify-content: flex-end; margin: 0 0 9px; }
.guide-screenshot-viewer figure { margin: 0; }
.guide-screenshot-viewer img { display: block; width: 100%; max-height: 74dvh; object-fit: contain; }
.guide-step-action { margin-top: 9px; }
.guide-step-action .button { min-height: 36px; font-size: .84rem; white-space: normal; }
.detail-finish { margin-top: 16px; padding-top: 13px; border-top: 1px solid var(--line); }
.tracking-form { container: tracking / inline-size; }
.placement-status { min-width: 0; border: 0; margin: 0; padding: 0; }
.placement-status legend { margin-bottom: 8px; padding: 0; font-size: .98rem; font-weight: 680; }
.placement-status-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border: 1px solid #e3ebf5;
  border-radius: 10px;
  background: #f4f7fc;
}
.placement-status-option { position: relative; cursor: pointer; }
.placement-status-option span { display: grid; place-items: center; min-height: 36px; padding: 5px; border: 1px solid transparent; border-radius: 7px; color: #364964; font-size: .84rem; font-weight: 620; text-align: center; }
.placement-status-option:hover span { background: #eaf1fc; }
.placement-status-option input:checked + span { border-color: #b6cdf1; background: var(--surface); color: var(--accent-deep); box-shadow: 0 1px 3px #223b6b12; }
.placement-status-option input:focus-visible + span { outline: 2px solid var(--accent-deep); outline-offset: 1px; }
.placement-assignee { grid-template-columns: auto minmax(0, 15rem); align-items: center; gap: 12px; margin-top: 12px; }
@container tracking (max-width: 355px) {
  .placement-status-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.mock-browser { margin-top: 8px; border-radius: 11px; border: 1px solid var(--line); overflow: hidden; }
.mock-address { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 7px; background: #edf3fc; color: #3c5375; padding: 8px 10px; font-size: .76rem; }
.mock-body { display: grid; gap: 7px; padding: 11px; }
.mock-body div { display: grid; gap: 3px; }
.mock-body div span, .shot-caption { padding: 5px 8px; background: #eff4fc; border-radius: 7px; overflow-wrap: anywhere; }
.shot-caption { font-size: .81rem; margin-top: 7px; }
.detail-form .help { margin-bottom: 11px; }
.asset-field { min-width: 0; }
.detail-form .asset-field { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 7px; }
.copy-button { min-height: 35px; margin-top: 22px; padding: 4px 9px; }
.detail-form .field { font-size: .84rem; }
.detail-form .input { width: 100%; min-height: 38px; }
.tracking-verification { margin-top: 16px; padding-top: 15px; border-top: 1px solid var(--line); }
.tracking-verification > h3 { margin-bottom: 9px; }
.placement-address { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 5px 12px; }
.placement-address label, .placement-address:has(.verification-open-link[hidden]) .input { grid-column: 1 / -1; }
.verification-open-link { display: flex; align-items: center; min-height: 38px; color: var(--accent-deep); font-size: .84rem; font-weight: 650; white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }
.verification-open-link:hover { color: var(--ink); }
.tracking-manual { padding-block: 4px 7px; }
.tracking-manual .check-field { width: fit-content; min-height: 38px; cursor: pointer; }
.tracking-manual .verification-evidence { padding-inline-start: 23px; margin-top: -3px; }
.tracking-chrome { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 3px 10px; min-height: 36px; padding: 8px 11px; border-radius: 8px; background: #f4f7fc; }
.tracking-chrome h4 { margin: 0; font-size: .86rem; font-weight: 650; line-height: 1.4; }
.verification-evidence { margin-top: 3px; color: var(--muted); font-size: .8rem; line-height: 1.4; }
.tracking-chrome .verification-evidence { grid-column: 1 / -1; margin-top: 0; }
.tracking-options { margin-top: 11px; }
.tracking-disclosure summary { width: fit-content; padding: 7px 2px; color: var(--muted); font-size: .86rem; font-weight: 630; cursor: pointer; }
.tracking-disclosure summary:hover, .tracking-disclosure[open] summary { color: var(--accent-deep); }
.tracking-disclosure-body { padding-block: 5px 9px; }
.tracking-disclosure-body.form-grid { gap: 11px; }
.tracking-indexing { display: grid; gap: 13px; }
.tracking-index-group { display: grid; gap: 7px; min-width: 0; }
.tracking-index-group + .tracking-index-group { padding-top: 11px; border-top: 1px solid var(--line); }
.tracking-index-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 12px; }
.tracking-index-head h4 { margin: 0; font-size: .9rem; font-weight: 680; }
.tracking-index-head .verification-open-link { min-height: 30px; }
.tracking-index-group > .field { width: min(100%, 20rem); }
.tracking-index-url { color: var(--muted); font-size: .85rem; overflow-wrap: anywhere; }
.tracking-actions { display: flex; justify-content: flex-end; margin-top: 8px; }
.batch-verification-dialog {
  width: min(576px, calc(100% - 28px));
  max-width: none;
  max-height: min(740px, calc(100dvh - 28px));
  margin: auto;
  padding: 0;
  border: 1px solid var(--line-blue);
  border-radius: 16px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 20px 60px #0e1b3440;
}
.batch-verification-dialog[open] { display: flex; flex-direction: column; overflow: hidden; }
.batch-verification-dialog::backdrop { background: #0e1b3480; }
.batch-verification-header {
  display: grid;
  flex: none;
  gap: 6px;
  padding: 17px 20px;
  border-bottom: 1px solid var(--line-blue);
  background: linear-gradient(115deg, #edf4ff, #f6f9ff);
}
.batch-verification-header h2 { font-size: 1.26rem; }
.batch-verification-header p { color: var(--muted); font-size: .85rem; line-height: 1.45; overflow-wrap: anywhere; }
.batch-verification-body { display: grid; align-content: start; gap: 14px; min-height: 0; padding: 17px 20px; overflow-y: auto; overflow-wrap: anywhere; }
.batch-verification-scope {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--line);
}
.batch-verification-scope > div { display: grid; align-content: start; gap: 4px; padding: 9px 11px; background: #f7f9fd; }
.batch-verification-scope dt { color: var(--muted); font-size: .75rem; line-height: 1.35; }
.batch-verification-scope dd { color: #1b57ae; font-size: 1.16rem; font-weight: 680; font-variant-numeric: tabular-nums; }
.batch-verification-connection {
  display: grid;
  gap: 6px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #f7f9fe;
}
.batch-verification-connection h3 { font-size: .91rem; }
.batch-verification-connection p, .batch-verification-progress p { color: var(--muted); font-size: .83rem; line-height: 1.45; overflow-wrap: anywhere; }
.batch-verification-progress { display: grid; gap: 7px; }
.batch-verification-progress progress { display: block; height: 9px; }
.batch-verification-results {
  max-height: min(14rem, 30dvh);
  margin: 0;
  padding: 0;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  list-style: none;
}
.batch-verification-results:empty { display: none; }
.batch-verification-results li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 5px 9px;
  padding: 8px 11px;
  font-size: .84rem;
  overflow-wrap: anywhere;
}
.batch-verification-results small { margin-top: 3px; color: var(--muted); line-height: 1.35; }
.batch-verification-results li + li { border-top: 1px solid #e4eaf2; }
.batch-verification-result-pairs { display: grid; grid-template-columns: minmax(106px, 1fr) minmax(106px, 1fr); gap: 6px 9px; }
.batch-verification-result-pairs dt { margin-bottom: 4px; color: var(--muted); font-size: .78rem; font-weight: 600; }
.batch-verification-actions {
  display: flex;
  flex-wrap: wrap;
  flex: none;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 11px 20px;
  border-top: 1px solid #e4eaf2;
}
.batch-verification-error { color: #882f23; font-size: .84rem; line-height: 1.45; }
.detail-activity { margin-top: 13px; border-top: 1px solid var(--line); padding-top: 5px; }
.detail-activity ul { padding: 0; margin: 6px 0 0; list-style: none; font-size: .82rem; }
.detail-activity li { display: flex; align-items: start; justify-content: space-between; gap: 8px; padding: 7px 0; color: var(--muted); }
.detail-activity li + li { border-top: 1px solid var(--line); }
.detail-activity li time { white-space: nowrap; font-size: .76rem; }

/* Project team */
.team-page { gap: clamp(18px, 2.6vw, 28px); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 255px), 1fr)); gap: 14px; }
.team-member { padding: 17px; display: grid; align-content: start; min-width: 0; gap: 12px; }
.team-member-head, .team-member-identity, .team-member-actions, .team-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.team-member-identity { flex-wrap: nowrap; min-width: 0; overflow-wrap: anywhere; }
.team-you { color: var(--muted); font-size: .8em; font-weight: 550; }
.team-member-actions .button { min-height: 36px; padding-inline: 11px; }
.team-continuity { padding: 16px 18px; display: grid; gap: 5px; background: #f4f8ff; border-color: var(--line-blue); }
.team-continuity h2 { font-size: 1rem; }
.team-continuity p { color: var(--muted); font-size: .9rem; line-height: 1.5; }
.team-continuity .team-member-actions { margin-top: 6px; }
.team-recovery-status { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.team-list { list-style: none; margin: 0; padding: 0; }
.team-list li { padding: 13px 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; overflow-wrap: anywhere; }
.team-list li + li { border-top: 1px solid var(--line); }
.team-invitation-info { display: grid; gap: 3px; min-width: 0; }
.team-form .field { max-width: 390px; }
.team-form-error { margin-top: 8px; color: #9d263d; font-size: .84rem; line-height: 1.45; }
#import-error:empty { display: none; }

/* Shared editorial components */
.editorial-filters, .editorial-form-actions, .editorial-step-actions { display: flex; gap: 7px; flex-wrap: wrap; align-items: center; }
.editorial-record-link { text-align: left; padding: 0; border: 0; background: none; color: var(--accent-deep); }
.editorial-record-link:hover { text-decoration: underline; }
.editorial-editor-layout { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(240px, 1fr); gap: 16px; align-items: start; }
.editorial-panel { padding: 19px; }
.editorial-panel-header, .editorial-step-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.editorial-step { display: grid; gap: 9px; padding: 12px; border: 1px solid var(--line); background: #f8faff; border-radius: 11px; }
.editorial-step-actions .button { min-height: 32px; padding: 4px 8px; }
.editorial-shot, .editorial-review-note { background: var(--tint); border-radius: 9px; padding: 10px; }
.editorial-shot { display: flex; align-items: center; gap: 9px; line-height: 1.35; overflow-wrap: anywhere; }
.editorial-shot-icon { flex: none; font-size: 1.4rem; color: var(--accent); }
.editorial-review-details, .editorial-revisions { display: grid; gap: 6px; font-size: .87rem; }
.editorial-review-details div, .editorial-revisions div { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 10px; }
.editorial-review-details dd, .editorial-revisions dd { overflow-wrap: anywhere; }
.editorial-review-details dt, .editorial-revisions dt { color: var(--muted); }
.editorial-activity { padding-left: 18px; margin: 0; color: var(--muted); font-size: .87rem; }
.editorial-activity li + li { margin-top: 8px; }
.editorial-side h2 + .tag { margin-top: 8px; }

@media (min-width: 841px) {
  .library-details { position: sticky; top: 13px; max-height: calc(100dvh - 26px); overflow-y: auto; scroll-padding-top: 54px; }
  .library-detail-top { position: sticky; z-index: 1; top: 0; padding-bottom: 8px; border-bottom: 1px solid #dce7f6; }
  .library-split .library-list-top { display: flex; align-items: flex-start; gap: 8px; padding: 14px 18px 10px; }
  .library-split .library-list-top > .library-topline { flex: 1; min-width: 0; padding: 0; }
  .library-split .library-list-toggle {
    display: inline-grid;
    flex: none;
    place-items: center;
    width: 36px;
    min-height: 36px;
    margin-inline-start: auto;
    padding: 0;
    border-color: #cadcf3;
    border-radius: 8px;
    background: #f7faff;
  }
  .library-split .library-list-toggle:hover { background: #edf4ff; border-color: #aac6eb; }
  .library-tracked .library-layout:not(.library-split) .library-filters { grid-template-columns: minmax(160px, 1.35fr) repeat(6, minmax(90px, 1fr)); }
  .library-split.library-compact { grid-template-columns: clamp(176px, 19%, 220px) minmax(0, 1fr); }
  .library-split.library-compact .library-list-top { align-items: center; padding: 10px 12px; }
  .library-compact .library-compact-title { display: block; color: #455773; font-size: .82rem; font-weight: 670; }
  .library-split.library-compact .library-list-top > .library-topline,
  .library-compact .library-list-controls,
  .library-compact .library-table .library-optional,
  .library-compact .library-table .library-status-column,
  .library-compact .library-table .site-link small,
  .library-compact .library-table .site-icon { display: none; }
  .library-compact .library-table { border-radius: inherit; }
  .library-compact .library-table table { table-layout: fixed; }
  .library-compact .library-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .library-compact .library-table td:not(.library-empty) { padding: 0; }
  .library-compact .library-pagination { padding-inline: 12px; }
  .library-compact .library-table .site-link { width: 100%; min-height: 38px; padding: 8px 12px; line-height: 1.35; overflow-wrap: anywhere; }
  .library-compact .library-table .site-link strong { font-size: .875rem; }
  .library-compact .library-table .site-link:focus-visible { outline-offset: -3px; }
  .library-compact .guide-screenshot { max-width: 810px; }
  .library-compact .guide-screenshot-open img { max-height: 500px; }
}
@media (max-width: 1180px) {
  .library-split .library-optional { display: none; }
}
@media (max-width: 1050px) {
  .workspace-header-inner { gap: 10px; }
  .workspace-nav .nav-link { padding-inline: 8px; }
}
@media (max-width: 840px) {
  .workspace-header-inner { grid-template-columns: 1fr auto; gap: 1px 12px; padding-top: 12px; }
  .workspace-nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; padding-block: 6px; }
  .workspace-tools { justify-self: end; }
  .library-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .library-split { grid-template-columns: minmax(0, 1fr); }
  .library-split > .library-results, .library-page:has(.library-split) .library-progress { display: none; }
  .library-page:has(.library-split) .library-heading { margin-bottom: 13px; }
}
@media (max-width: 620px) {
  .screen { padding-block: 22px 32px; }
  .page-heading { margin-bottom: 17px; }
  .workspace-nav .nav-link { font-size: .81rem; padding: 6px 8px; }
  .workspace-nav { gap: 3px; }
  .workspace-tools { gap: 6px; }
  .public-actions .button { min-height: 36px; font-size: .8rem; padding-inline: 10px; }
  .marketing-footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; padding-block: 24px 28px; }
  .marketing-footer-inner > div { grid-column: 1 / -1; }
  .library-page:has(.library-split) .library-heading h1 { font-size: 1.55rem; }
  .library-page:has(.library-split) .library-heading p { display: none; }
  .library-metric { padding: 9px 8px; }
  .library-metric > span, .library-metric small { font-size: .72rem; }
  .library-metric small { margin-left: 0; }
  .library-metric > strong { display: grid; font-size: 1.29rem; line-height: 1.2; }
  .library-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-inline: 12px; }
  .library-filter-search { grid-column: 1 / -1; }
  .library-topline, .library-list-actions, .library-pagination, .library-detail-top, .detail-head, .detail-panel { padding-inline: 12px; }
  .batch-verification-header, .batch-verification-body, .batch-verification-actions { padding-inline: 14px; }
  .batch-verification-scope > div { padding-inline: 8px; }
  .batch-verification-results li { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .detail-tabs { gap: 4px; padding-inline: 9px; }
  .detail-tabs button { padding-inline: 7px; font-size: .83rem; }
  .table-wrap table { min-width: 535px; }
  .library-table table { min-width: 0; }
  .library-table .library-optional, .library-table .library-row-action { display: none; }
  .library-table th, .library-table td { padding-inline: 9px; }
  .library-table .site-icon { width: 31px; height: 31px; }
  .library-table .site-link { gap: 6px; }
  .library-table .site-link .library-inline-action { display: block; }
  .library-table .site-link small, .library-row-tracking small { overflow-wrap: anywhere; }
  .library-table td:last-child { white-space: normal; }
  .form-grid, .editorial-editor-layout { grid-template-columns: minmax(0, 1fr); }
  .library-first-guide { margin-inline-start: 0; }
}
@media (max-width: 365px) {
  .workspace-tools { align-items: end; flex-direction: column-reverse; }
}
@media (max-width: 440px) {
  .marketing-page .brand { gap: 8px; }
  .marketing-page .brand-name { font-size: .92rem; }
  .marketing-page .brand-byline { font-size: .66rem; }
  .marketing-page .public-actions .button { padding-inline: 8px; }
}
