:root {
  --blue-950: #063f2b;
  --blue-800: #056346;
  --blue-700: #00844a;
  --blue-600: #009c55;
  --blue-100: #d8f2e3;
  --blue-50: #effbf4;
  --cyan: #61bd72;
  --amber: #f2ad32;
  --red: #c9463d;
  --ink: #172334;
  --muted: #657386;
  --line: #dce3ea;
  --surface: #ffffff;
  --background: #f5f7f9;
  --shadow: 0 8px 28px rgba(8, 40, 74, .08);
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--ink); font-family: "DM Sans", sans-serif; line-height: 1.55; }
body:has(.mobile-menu.is-open) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
svg { flex: 0 0 auto; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, .brand { font-family: "Manrope", sans-serif; letter-spacing: 0; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .97); }
.header-main { width: min(980px, 100% - 32px); min-height: 62px; margin: auto; display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--blue-950); font-size: 20px; font-weight: 800; white-space: nowrap; }
.brand strong { color: var(--blue-600); }
.brand__mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 7px; background: var(--blue-700); color: white; font-size: 12px; }
.search { width: min(520px, 42vw); height: 36px; display: flex; align-items: center; gap: 9px; margin-left: 20px; padding: 0 13px; border: 1px solid var(--blue-700); border-radius: 4px; background: white; color: var(--blue-800); }
.search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); }
.desktop-menu { display: flex; align-items: center; gap: 20px; margin-left: auto; font-size: 13px; font-weight: 600; }
.desktop-menu .button { min-height: 36px; padding-inline: 24px; border-radius: 4px; }
.public-desktop-nav { border-top: 1px solid var(--line); }.public-desktop-nav > div { width: min(980px, 100% - 32px); min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 28px; margin: auto; }.public-desktop-nav a { display: inline-flex; align-items: center; gap: 6px; color: #394452; font-size: 13px; font-weight: 500; white-space: nowrap; }.public-desktop-nav a:hover { color: var(--blue-700); }
.desktop-menu > a:not(.button):hover { color: var(--blue-600); }
.icon-button { width: 40px; height: 40px; display: inline-grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 6px; background: white; cursor: pointer; }
.menu-button, .mobile-menu { display: none; }

.button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 18px; border: 1px solid transparent; border-radius: 6px; font-weight: 700; cursor: pointer; }
.button--primary { background: var(--blue-700); color: white; }
.button--primary:hover { background: var(--blue-800); }
.button--outline { border-color: var(--blue-700); background: white; color: var(--blue-700); }
.button--small { min-height: 38px; padding-inline: 15px; }
.button--wide { width: 100%; }
.company-auth-page { min-height: 100vh; background: #fff; }.company-auth-shell { width: min(440px, 100%); min-height: 100vh; margin: auto; border-inline: 1px solid var(--line); }.company-auth-header { min-height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }.company-auth-header .brand { font-size: 14px; }.company-auth-header .brand__mark { width: 31px; height: 31px; }.company-auth-card { padding: 23px 56px 28px; }.company-auth-back { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 12px; }.company-auth-icon { width: 66px; height: 66px; display: grid; place-items: center; margin: 28px auto 20px; border-radius: 50%; background: #dfe9ff; color: var(--blue-700); }.company-auth-card h1 { margin-bottom: 15px; color: #4d5968; font-size: 21px; }.company-auth-card > p { color: var(--muted); font-size: 13px; }.company-auth-form { display: grid; gap: 16px; margin-top: 24px; }.company-auth-form label { display: grid; gap: 6px; color: var(--ink); font-size: 12px; font-weight: 700; }.company-auth-form input { min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 5px; font: inherit; }.company-auth-form input:focus { outline: 2px solid var(--blue-600); outline-offset: -2px; }.company-auth-feedback { margin-top: 18px; padding: 10px 12px; border: 1px solid #f2c3bf; border-radius: 5px; background: #fff4f3; color: #a72d26; font-size: 12px; }.company-auth-link { margin: 14px 0 0; text-align: center; font-size: 12px !important; }.company-auth-link a, .company-auth-help a { color: var(--blue-700); font-weight: 700; text-decoration: underline; }.company-auth-help { margin: 0 56px 28px; padding: 24px; border: 1px solid var(--line); border-radius: 7px; text-align: center; }.company-auth-help h2 { margin-bottom: 8px; font-size: 14px; }.company-auth-help p { margin-bottom: 12px; font-size: 12px; }
.access-page { min-height: 100vh; background: #fff; }.access-shell { width: min(440px, 100%); min-height: 100vh; margin: auto; border-inline: 1px solid var(--line); }.access-header { min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 24px; border-bottom: 1px solid var(--line); }.access-header .brand { font-size: 14px; }.access-header > a:last-child { color: var(--muted); font-size: 12px; }.access-header > a:last-child b, .access-account a, .access-help { color: var(--blue-700); font-weight: 700; }.profile-choice { padding: 30px 40px 42px; }.profile-choice h1 { margin-bottom: 42px; text-align: center; font-size: 22px; }.profile-choice__cards { display: grid; gap: 14px; }.profile-choice__card { display: grid; justify-items: center; padding: 27px 20px 20px; border: 1px solid var(--line); border-radius: 8px; text-align: center; }.profile-choice__icon, .access-form-card__icon { width: 92px; height: 92px; display: grid; place-items: center; margin-bottom: 13px; border-radius: 50%; }.profile-choice__card h2 { margin-bottom: 10px; font-size: 21px; }.profile-choice__card p { max-width: 255px; margin-bottom: 15px; font-size: 13px; line-height: 1.42; }.profile-choice__card--consumer .profile-choice__icon { background: #def2d3; color: #087d43; }.profile-choice__card--consumer h2 { color: #087d43; }.profile-choice__card--consumer .button { background: #056346; color: #fff; }.profile-choice__card--company .profile-choice__icon { background: #dfe7fc; color: #1767c6; }.profile-choice__card--company h2 { color: #1767c6; }.access-account { margin: 27px 0 0; color: var(--muted); text-align: center; font-size: 13px; }.access-form-card { padding: 23px 40px 40px; }.access-back { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 12px; }.access-form-card__icon { width: 66px; height: 66px; margin: 27px auto 20px; background: #dfe7fc; color: #1767c6; }.access-form-card h1 { margin-bottom: 10px; font-size: 22px; }.access-form-card > p { color: var(--muted); font-size: 13px; }.access-help { margin: 14px 0 0; font-size: 12px; }
.registration-card--consumer .access-form-card__icon { background: #def2d3; color: #087d43; }.registration-card--consumer .button { background: #056346; }.registration-card--company .access-form-card__icon { background: #dfe7fc; color: #1767c6; }
.search-page { min-height: calc(100vh - 68px); padding: 46px 0 12px; }.search-page-heading { max-width: 680px; }.search-page-heading h1 { margin-bottom: 8px; font-size: 29px; }.search-page-heading p { margin-bottom: 0; }.search-page-form { display: flex; align-items: center; gap: 10px; max-width: 760px; margin: 27px 0 16px; padding: 7px 8px 7px 15px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--muted); box-shadow: 0 2px 10px rgba(8,40,74,.04); }.search-page-form input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--ink); font: inherit; }.search-page-form .button { min-height: 38px; }.search-results-meta { display: flex; justify-content: space-between; gap: 12px; margin: 24px 0 12px; color: var(--muted); font-size: 13px; }.search-results-meta strong { color: var(--ink); }.company-search-list { display: grid; gap: 10px; max-width: 760px; }.company-search-card { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 13px; padding: 12px 15px; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: 0 3px 12px rgba(8,40,74,.05); transition: border-color .2s, transform .2s; }.company-search-card:hover { border-color: #9bc6ec; transform: translateY(-1px); }.company-search-avatar { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 8px; background: var(--blue-700); color: white; font: 800 14px Manrope, sans-serif; }.company-search-info { display: grid; min-width: 0; gap: 1px; }.company-search-info strong { display: flex; align-items: center; gap: 4px; overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }.company-search-info strong svg { color: var(--blue-700); }.company-search-info small { overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }.company-search-info em { display: inline-flex; align-items: center; gap: 3px; color: #28660d; font-size: 10px; font-style: normal; }.company-score-status { min-width: 94px; display: flex; align-items: center; justify-content: center; gap: 3px; padding: 7px 8px; border-radius: 999px; background: #f0f4f8; color: var(--blue-950); }.company-score-status img { width: 24px; height: 24px; object-fit: contain; }.company-score-status b { font-size: 13px; }.company-score-status small { font-size: 10px; }.search-empty { max-width: 560px; padding: 36px; border: 1px dashed #b8c9d9; border-radius: 8px; background: white; text-align: center; }.search-empty svg { color: var(--blue-700); }.search-empty h2 { margin: 12px 0 6px; font-size: 18px; }.search-empty p { margin: 0; }
.reputation-badge--excellent, .company-score-status--excellent { background: #dff5c7; color: #28660d; }.reputation-badge--good, .company-score-status--good { background: #e0efff; color: #075fae; }.reputation-badge--warning, .company-score-status--warning { background: #fff0d3; color: #946000; }.reputation-badge--danger, .company-score-status--danger { background: #fde6e4; color: #a72d26; }.reputation-badge--neutral, .company-score-status--neutral { background: #edf0f3; color: #566272; }
.brand-logo { width: 40px; height: 34px; object-fit: contain; flex: 0 0 auto; }.brand--footer .brand-logo { width: 48px; height: 40px; }
@media (max-width: 640px) { .brand-logo { width: 36px; height: 32px; }.brand--footer .brand-logo { width: 44px; height: 36px; }.public-page, .company-auth-page { padding-bottom: 0; }.search-page { padding-inline: 12px; } }
@media (max-width: 900px) { body:has(.mobile-menu.is-open) { overflow: hidden; }.mobile-menu.is-open { position: fixed; inset: 60px 0 0; z-index: 49; display: flex; flex-direction: column; padding: 30px 16px 18px; border: 0; background: white; box-shadow: none; }.mobile-menu.is-open ~ * { pointer-events: none; }.mobile-menu__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 30px; }.mobile-menu__actions .button { min-height: 44px; padding-inline: 10px; font-size: 13px; }.mobile-menu__section { display: grid; gap: 5px; margin-bottom: 24px; }.mobile-menu__section > span { margin: 0 6px 4px; color: var(--muted); font-size: 12px; font-weight: 700; }.mobile-menu__section a { display: flex; align-items: center; justify-content: space-between; min-height: 39px; padding: 0 6px; border: 0; color: var(--ink); font-size: 13px; font-weight: 600; }.mobile-menu__section a svg { color: #8ba0b4; }.mobile-menu__legal { display: grid; gap: 18px; margin-top: 4px; padding: 23px 6px; border-top: 1px solid var(--line); }.mobile-menu__legal a { color: var(--ink); font-size: 12px; }.mobile-menu__complaint { min-height: 50px; margin-top: auto; background: #056346; }.site-header:has(.mobile-menu.is-open) .search { display: none; }.site-header:has(.mobile-menu.is-open) .header-main { justify-content: space-between; }.site-header:has(.mobile-menu.is-open) .menu-button { margin-left: auto; } }

.city-cover { height: 152px; position: relative; overflow: hidden; background: linear-gradient(115deg, var(--blue-950), var(--blue-700) 68%, var(--cyan)); }
.city-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 42px 42px; transform: perspective(300px) rotateX(48deg) scale(1.5); transform-origin: bottom; opacity: .55; }
.city-cover__pattern { position: absolute; right: 8%; bottom: -30px; width: 260px; height: 120px; border: 18px solid rgba(255,255,255,.12); border-bottom: 0; transform: skew(-18deg); }
.page-shell { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.page-shell--city { margin-top: 26px; position: relative; z-index: 2; }
.profile-card { min-height: 150px; display: flex; align-items: center; gap: 20px; padding: 25px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.city-avatar { width: 84px; height: 84px; display: grid; place-items: center; flex: 0 0 auto; border: 4px solid var(--blue-100); border-radius: 50%; background: var(--blue-700); color: white; font-family: "Manrope"; font-size: 25px; font-weight: 800; }
.profile-card__info h1 { display: flex; align-items: center; gap: 6px; margin: 1px 0 6px; font-size: 28px; }
.profile-card__info h1 svg { color: var(--blue-700); }
.eyebrow { color: var(--blue-700); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.profile-meta { display: flex; gap: 16px; color: var(--muted); font-size: 13px; }
.profile-meta span, .verified, .detail-meta span, .complaint-card__meta span { display: inline-flex; align-items: center; gap: 5px; }
.profile-badges { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.verified, .reputation-badge { min-height: 29px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: #e5effd; color: var(--blue-800); font-size: 12px; font-weight: 700; }
.reputation-badge { background: #dff5c7; color: #28660d; text-transform: uppercase; }
.company-badge { min-height: 29px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }.company-badge--green { background: #dff5c7; color: #28660d; }.company-badge--blue { background: #e5effd; color: #075fae; }.company-badge--yellow { background: #fff0d3; color: #946000; }.company-badge--red { background: #fde6e4; color: #a72d26; }.company-badge .status-face { width: 19px; height: 19px; }.company-badge__ra1000 { width: 21px; height: 21px; object-fit: contain; }
.status-face { width: 21px; height: 21px; object-fit: contain; }
.reputation-badge .status-face { width: 19px; height: 19px; }
.profile-card__actions { display: flex; gap: 9px; margin-left: auto; }
.profile-card__actions .button--primary { background: #d91f2b; }.profile-card__actions .button--primary:hover { background: #b71822; }
.profile-nav { margin-bottom: 30px; border-bottom: 1px solid var(--line); background: white; }
.profile-nav__inner { display: flex; gap: 30px; overflow: auto; scrollbar-width: none; }
.profile-nav__inner::-webkit-scrollbar, .tabs::-webkit-scrollbar { display: none; }
.profile-nav a { padding: 15px 2px 12px; border-bottom: 3px solid transparent; color: var(--muted); font-size: 14px; font-weight: 700; white-space: nowrap; }
.profile-nav a.is-active { border-color: var(--blue-700); color: var(--blue-700); }

.content-grid, .complaint-layout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 24px; align-items: start; }
.content-main, .content-aside { display: grid; gap: 24px; }
.section-block { padding-top: 10px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.section-heading h2 { max-width: 580px; margin: 3px 0 0; font-size: 23px; line-height: 1.25; }
.count-badge { padding: 5px 9px; border: 1px solid var(--line); border-radius: 4px; background: white; color: var(--muted); font-size: 12px; white-space: nowrap; }
.trust-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 15px; margin-bottom: 40px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 3px 15px rgba(8,40,74,.04); }
.reputation-panel, .rank-panel { min-height: 190px; display: flex; align-items: center; gap: 20px; padding: 24px; }
.reputation-panel { background: linear-gradient(135deg, var(--blue-50), white 68%); }.reputation-panel--excellent { background: linear-gradient(135deg, #ebf9dc, white 68%); }.reputation-panel--good { background: linear-gradient(135deg, #e5f2ff, white 68%); }.reputation-panel--warning { background: linear-gradient(135deg, #fff4df, white 68%); }.reputation-panel--danger { background: linear-gradient(135deg, #ffebe9, white 68%); }
.score-ring { width: 100px; height: 100px; display: grid; place-content: center; flex: 0 0 auto; border: 8px solid var(--blue-600); border-right-color: var(--blue-100); border-radius: 50%; text-align: center; transform: rotate(-35deg); }
.score-ring > * { transform: rotate(35deg); }
.score-ring strong { font-family: "Manrope"; font-size: 27px; line-height: 1; }
.score-ring span { color: var(--muted); font-size: 11px; }
.reputation-face { width: 94px; height: 94px; display: grid; place-items: center; flex: 0 0 auto; }
.reputation-face .status-face { width: 86px; height: 86px; }
.status-pill { display: inline-flex; align-items: center; gap: 5px; margin-bottom: 10px; padding: 4px 8px; border-radius: 4px; background: var(--blue-100); color: var(--blue-800); font-size: 11px; font-weight: 800; text-transform: uppercase; }.status-pill--excellent { background: #dff5c7; color: #28660d; }.status-pill--good { background: #e0efff; color: #075fae; }.status-pill--warning { background: #fff0d3; color: #946000; }.status-pill--danger { background: #fde6e4; color: #a72d26; }
.panel h3 { margin-bottom: 5px; font-size: 16px; }
.panel p { margin-bottom: 12px; color: var(--muted); font-size: 13px; }
.text-link { display: inline-flex; align-items: center; gap: 5px; color: var(--blue-700); font-size: 13px; font-weight: 700; }
.rank-panel__icon, .panel-title__icon, .response-icon { width: 46px; height: 46px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 7px; background: #fff2d8; color: #a96c00; }
.rank-panel h3 strong { color: #00844a; font-size: 30px; }

.tabs { display: flex; gap: 22px; margin-bottom: 14px; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.tabs button { padding: 8px 1px 10px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--muted); font-size: 13px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.tabs button.is-active { border-color: var(--blue-700); color: var(--blue-700); }
.complaint-list { display: grid; gap: 12px; margin-bottom: 15px; }
.complaint-card { position: relative; padding: 20px; border: 1px solid #dbe5ed; border-radius: var(--radius); background: #f7fbff; transition: border-color .2s, transform .2s; }
.complaint-card:hover { border-color: #9acdb0; transform: translateY(-1px); }
.complaint-card__top { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; }
.category-tag, .status { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 4px; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.category-tag { background: #edf0f3; color: #566272; }
.status--respondida { background: var(--blue-100); color: var(--blue-800); }
.status--nao-respondida { background: #fde6e4; color: #a72d26; }
.status--avaliada { background: #fff0d3; color: #946000; }
.status--replica { background: #e8e1ff; color: #6243a4; }
.status .status-face { width: 20px; height: 20px; margin-left: -4px; }
.complaint-card h3 { max-width: 590px; margin-bottom: 8px; font-size: 16px; line-height: 1.35; }
.complaint-card p { margin-bottom: 14px; color: #4d5a6a; font-size: 13px; }
.complaint-card__state { display: flex; align-items: center; justify-content: space-between; gap: 12px; }.complaint-card__state time { color: var(--muted); font-size: 11px; }.complaint-card__footer { display: grid; gap: 13px; margin-top: 15px; padding-top: 14px; border-top: 1px solid #dbe5ed; }.complaint-reactions { display: flex; align-items: center; gap: 6px; color: var(--blue-800); }.complaint-reactions i { width: 23px; height: 23px; display: grid; place-items: center; padding: 4px; border: 1px solid #cbd9e5; border-radius: 50%; background: white; }.complaint-reactions small { margin-left: 3px; color: var(--muted); font-size: 11px; }.complaint-card__footer > a { display: inline-flex; align-items: center; justify-content: center; gap: 2px; color: var(--ink); font-size: 12px; font-weight: 700; }.complaint-card__footer > a i { color: var(--blue-700); }
.complaint-card__meta { display: flex; gap: 18px; color: var(--muted); font-size: 12px; }
.card-link { position: absolute; right: 17px; top: 50%; width: 33px; height: 33px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 5px; color: var(--blue-700); transform: translateY(-50%); }

.side-panel { padding: 20px; }
.panel-title { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; }
.panel-title h2 { margin: 0; font-size: 18px; }
.panel-title__icon { width: 40px; height: 40px; background: var(--blue-50); color: var(--blue-700); }
.tabs--compact { gap: 13px; }
.tabs--compact button { font-size: 11px; }
.performance-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.performance-list li { display: flex; align-items: flex-start; gap: 11px; padding: 11px 0; border-bottom: 1px solid #edf0f3; color: var(--muted); font-size: 12px; }
.performance-list svg { color: var(--blue-700); }
.performance-list strong { color: var(--ink); }
.fine-print { margin: 12px 0 0 !important; font-size: 10px !important; }
.info-list { margin: 16px 0 0; }
.info-list div { display: flex; justify-content: space-between; gap: 15px; padding: 10px 0; border-top: 1px solid #edf0f3; font-size: 12px; }
.info-list dt { color: var(--muted); }
.info-list dd { margin: 0; font-weight: 700; text-align: right; }
.info-list a { color: var(--blue-700); }

.complaint-page { padding-bottom: 50px; }
.breadcrumbs { display: flex; align-items: center; gap: 7px; padding: 22px 0 17px; color: var(--muted); font-size: 12px; }
.breadcrumbs svg { width: 13px; }
.breadcrumbs a:hover { color: var(--blue-700); }
.complaint-article { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.complaint-header, .article-body, .response-block, .helpful { padding: 28px 32px; }
.complaint-header { border-bottom: 1px solid var(--line); }
.complaint-header__status { display: flex; justify-content: space-between; margin-bottom: 12px; }
.complaint-header h1 { margin: 6px 0 20px; font-size: 29px; line-height: 1.25; }
.city-inline { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 17px; }
.city-inline__avatar, .author-avatar { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--blue-700); color: white; font-size: 11px; font-weight: 800; }
.city-inline span { display: grid; }
.city-inline strong { font-size: 13px; }
.city-inline small { color: var(--muted); font-size: 11px; }
.city-inline > svg { color: var(--blue-600); }
.detail-meta { display: flex; flex-wrap: wrap; gap: 15px; color: var(--muted); font-size: 11px; }
.article-body h2 { font-size: 18px; }
.article-body p, .response-block > p { color: #364456; font-size: 14px; line-height: 1.75; }
.author-line { display: flex; align-items: center; gap: 9px; margin-top: 23px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.author-avatar { width: 34px; height: 34px; background: #e6ebf0; color: var(--muted); }
.response-block { border-top: 1px solid var(--line); background: var(--blue-50); }
.response-block__header { display: flex; align-items: center; gap: 12px; margin-bottom: 21px; }
.response-block__header div { display: grid; font-size: 12px; }
.response-block__header > time { margin-left: auto; color: var(--muted); font-size: 11px; }
.response-icon { background: var(--blue-700); color: white; }
.helpful { display: flex; align-items: center; justify-content: space-between; gap: 15px; border-top: 1px solid var(--line); }
.helpful > div:first-child { display: grid; }
.helpful span { color: var(--muted); font-size: 12px; }
.helpful button { display: inline-flex; align-items: center; gap: 6px; margin-left: 5px; padding: 7px 11px; border: 1px solid var(--line); border-radius: 5px; background: white; cursor: pointer; }
.helpful button.is-selected { border-color: var(--blue-600); background: var(--blue-50); color: var(--blue-700); }
.city-summary, .notice-panel { padding: 20px; }
.city-summary__head { display: flex; align-items: center; gap: 12px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.city-avatar--small { width: 54px; height: 54px; border-width: 3px; font-size: 16px; }
.city-summary h2 { margin: 0; font-size: 18px; }
.summary-score { display: flex; align-items: center; gap: 15px; margin: 17px 0; }
.summary-score > div { color: var(--blue-700); }
.summary-score strong { font-family: "Manrope"; font-size: 34px; }
.summary-score span { color: var(--muted); font-size: 11px; }
.summary-score b { color: var(--blue-700); text-transform: uppercase; }
.city-summary .button + .button { margin-top: 8px; }
.notice-panel { display: flex; align-items: flex-start; gap: 11px; color: var(--blue-700); }
.notice-panel p { margin: 3px 0 0; }
.notice-panel strong { color: var(--ink); font-size: 13px; }

.similar-section { margin-top: 38px; padding: 27px 0 8px; border-top: 1px solid var(--line); }
.similar-section .section-heading { align-items: center; margin-bottom: 16px; }
.similar-section h2 { font-size: 20px; }
.similar-dots { display: flex; gap: 5px; }
.similar-dots b { width: 7px; height: 7px; display: block; border-radius: 50%; background: #9aabc0; }
.similar-dots b:first-child { background: var(--blue-700); }
.similar-track { display: flex; gap: 11px; overflow-x: auto; padding: 2px 1px 9px; scrollbar-width: none; }
.similar-track::-webkit-scrollbar { display: none; }
.similar-card { width: 255px; min-height: 105px; display: grid; align-content: space-between; flex: 0 0 auto; padding: 17px 15px; border: 1px solid var(--line); border-radius: 6px; background: white; box-shadow: 0 2px 8px rgba(8,40,74,.03); }
.similar-card strong { display: -webkit-box; overflow: hidden; color: var(--ink); font-size: 13px; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.similar-card span { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 11px; }
.similar-controls { display: flex; gap: 8px; margin-top: 7px; }
.similar-controls button { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid #cbd8e6; border-radius: 50%; background: white; color: var(--blue-800); cursor: pointer; }
.final-evaluation, .final-evaluation-form { width: min(746px, calc(100% - 32px)); margin: 24px max(16px, calc((100% - 1180px) / 2)); border: 1px solid #c7d4df; border-radius: 7px; background: white; overflow: hidden; }
.final-evaluation header { padding: 20px 24px; background: #86bd18; color: white; }
.final-evaluation header strong, .final-evaluation header time { display: block; }
.final-evaluation header strong { font-size: 14px; }
.final-evaluation header time { margin-top: 3px; font-size: 11px; }
.final-evaluation header p { margin: 17px 0 0; color: white; font-size: 14px; line-height: 1.55; }
.final-evaluation__answers { padding: 22px 24px 25px; }
.final-evaluation__answers > div { display: grid; grid-template-columns: 1fr 64px; align-items: center; min-height: 68px; color: #25374e; font-size: 13px; }
.final-evaluation__answers b { width: 57px; height: 57px; display: grid; place-items: center; border-radius: 50%; background: #86bd18; color: white; font-size: 14px; }
.final-evaluation__answers .resolution-face { height: 70px; align-content: center; gap: 1px; background: #e6f1cf; color: #3a6812; }
.resolution-face small { font-size: 9px; }
.final-evaluation-form { padding: 24px; }
.final-evaluation-form h2 { font-size: 19px; }
.final-evaluation-form form { display: grid; gap: 14px; }
.final-evaluation-form form > div { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.final-evaluation-form textarea { min-height: 110px; }
body:has(.final-evaluation) .complaint-page .side-panel { display: none; }

.new-complaint-page { min-height: 650px; padding: 30px 16px 80px; background: white; }
.new-complaint-page ~ #site-footer { margin-top: 0; }
.new-complaint-page + #site-footer { margin-top: 0; }
body[data-page="new-complaint"] .site-header { display: none; }
.new-complaint-shell { width: min(640px, 100%); margin: 0 auto; }
.company-chip { width: 100%; min-width: 245px; display: flex; align-items: center; gap: 9px; margin-left: 0; padding: 8px 12px; border: 1px solid var(--line); border-radius: 7px; background: #f9fbfd; }
.company-chip span:nth-child(2) { display: grid; margin-right: auto; }
.company-chip strong { font-size: 13px; }
.company-chip small { color: var(--muted); font-size: 11px; }
.company-chip > svg { color: var(--blue-700); }
.company-chip > button { display: grid; padding: 3px; border: 0; background: transparent; color: var(--blue-800); cursor: pointer; }
.complaint-progress { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 47px; }
.complaint-progress span { height: 5px; border-radius: 5px; background: #e6ebf1; }
.complaint-progress span:first-child { background: var(--blue-700); }
.complaint-progress.is-complete span { background: var(--blue-700); }
.step-label { display: flex; justify-content: space-between; margin: 13px 2px 36px; color: var(--muted); font-size: 12px; }
.step-label a { display: inline-flex; align-items: center; gap: 5px; }
.new-step { display: none; }
.new-step.is-active { display: block; }
.megaphone-illustration { width: 68px; height: 68px; display: grid; place-items: center; color: var(--blue-700); }
.new-step h1 { max-width: 560px; margin: 14px 0 7px; font-size: 25px; line-height: 1.25; }
.new-step > p { margin-bottom: 21px; color: var(--muted); font-size: 13px; }
.complaint-textarea { width: 100%; min-height: 165px; resize: vertical; padding: 28px 17px 55px; border: 1px solid var(--line); border-radius: 8px; outline: 0; color: var(--ink); font-family: inherit; font-size: 14px; }
.complaint-textarea:focus, .form-input:focus { border-color: var(--blue-600); box-shadow: 0 0 0 3px var(--blue-50); }
.complaint-textarea::placeholder { color: #8a9bb0; }
.composer-actions { display: flex; align-items: center; gap: 8px; margin-top: -56px; padding: 0 14px 15px; position: relative; }
.composer-actions button { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid #cbd8e6; border-radius: 8px; background: white; color: var(--blue-950); cursor: pointer; }
.composer-actions button:last-of-type { margin-left: auto; border: 0; background: #8db9ae; color: white; }
.composer-actions small { color: var(--muted); font-size: 11px; }
.attachment-preview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 13px; }
.attachment-item { min-width: 0; position: relative; display: flex; align-items: center; gap: 9px; padding: 9px; border: 1px solid var(--line); border-radius: 7px; background: #f8fafc; }
.attachment-item > img { width: 55px; height: 55px; flex: 0 0 auto; object-fit: cover; border-radius: 5px; background: #e8eef5; }
.attachment-file-icon { width: 55px; height: 55px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 5px; background: var(--blue-100); color: var(--blue-700); }
.attachment-info { min-width: 0; display: grid; gap: 3px; padding-right: 20px; }
.attachment-info strong { overflow: hidden; color: var(--ink); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.attachment-info span { color: var(--muted); font-size: 10px; }
.attachment-item > button { position: absolute; top: 5px; right: 5px; width: 23px; height: 23px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: white; color: var(--muted); cursor: pointer; }
.attachment-item > button:hover { color: var(--red); }
.next-step { margin-top: 28px; }
.form-label { display: grid; gap: 7px; margin: 16px 0; color: var(--ink); font-size: 13px; font-weight: 700; }
.form-input { width: 100%; min-height: 45px; padding: 0 13px; border: 1px solid var(--line); border-radius: 6px; outline: 0; background: white; color: var(--ink); }

.site-footer { margin-top: 60px; padding: 48px 0 24px; border-top: 1px solid var(--line); background: white; color: var(--ink); }
.footer-inner { width: min(1120px, calc(100% - 32px)); margin: auto; display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.brand--footer { color: var(--blue-950); }
.footer-brand p { max-width: 310px; margin: 15px 0 18px; color: var(--muted); font-size: 13px; }
.footer-social { display: flex; gap: 8px; }
.footer-social a { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 6px; color: var(--blue-800); }
.footer-social a:hover { border-color: var(--blue-700); color: var(--blue-700); }
.footer-column { display: grid; align-content: start; gap: 10px; }
.footer-column h3 { margin: 4px 0 7px; color: var(--ink); font-size: 13px; }
.footer-column a { color: var(--muted); font-size: 12px; }
.footer-column a:hover, .footer-bottom a:hover { color: var(--blue-700); }
.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 20px; margin-top: 10px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 20px; }
.mobile-action { display: none; }

[hidden] { display: none !important; }

@media (max-width: 900px) {
  .desktop-menu { display: none; }
  .public-desktop-nav { display: none; }
  .menu-button { display: inline-grid; margin-left: auto; }
  .search { margin-left: auto; }
  .mobile-menu { position: fixed; inset: 68px 0 auto; display: none; padding: 12px 16px 20px; border-bottom: 1px solid var(--line); background: white; box-shadow: var(--shadow); }
  .mobile-menu.is-open { display: grid; }
  .mobile-menu a { padding: 12px 4px; border-bottom: 1px solid var(--line); font-weight: 700; }
  .content-grid, .complaint-layout { grid-template-columns: 1fr; }
  .content-aside { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .complaint-layout > .content-aside { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1.4fr repeat(3, 1fr); gap: 25px; }
}

@media (max-width: 640px) {
  body { padding-bottom: 72px; }
  .header-main { width: calc(100% - 24px); min-height: 60px; gap: 9px; }
  .brand > span:last-child { display: none; }
  .brand__mark { width: 36px; height: 36px; }
  .search { width: auto; flex: 1; height: 38px; margin: 0; }
  .search input { font-size: 12px; }
  .menu-button { width: 38px; height: 38px; }
  .mobile-menu { inset-block-start: 60px; }
  .city-cover { display: none; }
  .page-shell { width: 100%; }
  .page-shell--city { margin-top: 0; }
  .profile-card { min-height: 0; display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; margin: 0; padding: 18px 14px 16px; border: 0; border-radius: 0; box-shadow: none; }
  .city-avatar { width: 72px; height: 72px; border: 3px solid white; outline: 1px solid var(--line); font-size: 19px; }
  .profile-card__info { align-self: center; min-width: 0; }
  .profile-card__info h1 { margin-bottom: 10px; font-size: 18px; line-height: 1.2; }
  .profile-card__info h1 svg { color: #195b9c; }
  .profile-meta { display: flex; gap: 12px; overflow: hidden; white-space: nowrap; }
  .profile-meta span { font-size: 11px; }
  .profile-meta span:nth-child(3) { display: none; }
  .profile-badges { grid-column: 1 / -1; display: flex; justify-content: flex-start; flex-wrap: wrap; gap: 8px; margin-top: 4px; }.profile-badges > span { min-height: 27px; justify-content: center; padding: 3px 10px; border-radius: 999px; font-size: 10px; text-align: center; }.profile-badges .status-face { width: 17px; height: 17px; }.profile-badges .company-badge__ra1000 { width: 19px; height: 19px; }
  .profile-card__actions { grid-column: 1 / -1; width: 100%; margin: 9px 0 0; }
  .profile-card__actions .button { flex: 1; min-height: 39px; font-size: 13px; }
  .profile-card__actions .button--outline { display: none; }
  .profile-card__actions .button--primary { display: inline-flex; min-height: 40px; border-radius: 5px; }
  .profile-nav { margin: 0 0 25px; padding: 0 14px; border-top: 1px solid var(--line); }
  .profile-nav__inner { align-items: stretch; justify-content: space-between; gap: 18px; }
  .profile-nav a { min-height: 49px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 1px; font-size: 11px; }
  .profile-nav a.is-active { color: #76ce22; }
  .profile-nav__more { margin-left: auto; }
  .content-grid { display: flex; flex-direction: column; gap: 28px; }
  .content-main, .content-aside { width: 100%; display: contents; }
  #trust-section, #complaints, #performance, #about { padding-inline: 12px; }
  #trust-section, #complaints, #performance, #about { width: 100%; }
  #trust-section { order: 1; }
  #performance { order: 2; }
  #complaints { order: 3; }
  #about { order: 4; }
  .section-heading { align-items: flex-start; }
  .section-heading h2 { font-size: 19px; }
  .count-badge { display: none; }
  .trust-grid { grid-template-columns: 1fr; gap: 10px; margin-bottom: 4px; }
  .reputation-panel, .rank-panel { min-height: 0; padding: 17px; }
  .score-ring { width: 78px; height: 78px; border-width: 6px; }
  .score-ring strong { font-size: 22px; }
  .rank-panel__icon { width: 42px; height: 42px; }
  .panel p { font-size: 12px; }
  .tabs { gap: 19px; margin-right: -12px; }
  .complaint-card { padding: 16px 14px 14px; }
  .complaint-card h3 { font-size: 15px; }
  .complaint-card p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .complaint-card__meta { display: grid; gap: 3px; }
  .complaint-card__footer { gap: 12px; }
  .side-panel { padding: 17px; }
  .complaint-page { padding-bottom: 32px; background: #f7f8fa; }
  .complaint-page .page-shell { width: 100%; }
  .breadcrumbs { display: none; }
  .complaint-layout { display: flex; flex-direction: column; }
  .complaint-article { display: contents; border: 0; border-radius: 0; background: transparent; }
  .complaint-header, .article-body, .response-block, .helpful { padding: 20px 12px; }
  .complaint-header { display: flex; flex-direction: column; border: 0; background: transparent; }
  .complaint-header__status { order: 5; justify-content: flex-start; gap: 10px; margin: 28px 0 0; }
  .complaint-header__status .icon-button { display: none; }
  .complaint-header .eyebrow { order: 2; margin: 10px 0 0; color: var(--blue-700); font-size: 13px; text-transform: none; }
  .complaint-header h1 { order: 1; margin: 0 0 22px; font-size: 21px; line-height: 1.35; }
  .city-inline { order: 2; margin: 0 0 18px; color: var(--blue-700); }
  .city-inline__avatar, .city-inline small, .city-inline > svg { display: none; }
  .city-inline strong { font-size: 13px; }
  .detail-meta { order: 3; display: flex; gap: 12px; color: #31435a; font-size: 11px; }
  .detail-meta span:last-child { flex-basis: 100%; }
  .article-body { padding-top: 0; border: 0; background: transparent; }
  .article-body h2, .author-line { display: none; }
  .article-body p, .response-block > p { color: #24364d; font-size: 14px; line-height: 1.5; }
  .response-block__header { align-items: flex-start; }
  .response-block { margin: 10px 12px 24px; padding: 18px 15px; border: 1px solid #cbd3df; border-radius: 7px; background: #f8f8ff; }
  .response-icon { display: none; }
  .response-block__header { display: grid; gap: 2px; margin-bottom: 17px; }
  .response-block__header div { gap: 3px; }
  .response-block__header > time { order: 2; max-width: none; margin: 0; text-align: left; }
  .final-evaluation, .final-evaluation-form { width: calc(100% - 28px); margin: 22px 14px; }
  .final-evaluation header, .final-evaluation__answers, .final-evaluation-form { padding-inline: 15px; }
  .final-evaluation-form form > div { grid-template-columns: 1fr; }
  .response-block__header > time { max-width: 80px; text-align: right; }
  .helpful { align-items: flex-start; flex-direction: column; }
  .helpful > div:last-child { display: flex; width: 100%; }
  .helpful button { flex: 1; justify-content: center; margin: 0 4px 0 0; }
  .complaint-layout > .content-aside { display: none; }
  .similar-section { margin-top: 8px; padding: 23px 12px 8px; border-top: 8px solid white; }
  .similar-section .section-heading { margin-bottom: 13px; }
  .similar-card { width: 262px; }
  .new-complaint-page { min-height: calc(100vh - 60px); padding: 22px 16px 60px; }
  .company-chip { min-width: 0; width: 100%; }
  .complaint-progress { margin-top: 47px; }
  .step-label { margin-bottom: 34px; }
  .new-step h1 { font-size: 21px; }
  .new-step > p { font-size: 12px; }
  .complaint-textarea { min-height: 165px; }
  .attachment-preview { grid-template-columns: 1fr; }
  .site-footer { margin-top: 36px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px 20px; text-align: left; }
  .footer-brand { grid-column: 1 / -1; }
  .brand--footer { justify-content: flex-start; }
  .footer-brand p { max-width: 100%; }
  .footer-column:last-of-type { grid-column: 1 / -1; grid-template-columns: repeat(3, max-content); gap: 10px 18px; }
  .footer-column:last-of-type h3 { grid-column: 1 / -1; }
  .footer-bottom { grid-column: 1 / -1; align-items: flex-start; flex-direction: column; }
  .footer-bottom nav { gap: 10px 18px; }
  .mobile-action { position: fixed; z-index: 45; inset: auto 0 0; display: block; padding: 9px 12px; border-top: 1px solid var(--line); background: rgba(255,255,255,.97); }
  .mobile-action .button { min-height: 48px; }
  body[data-page="city"] { padding-bottom: 0; }
  body[data-page="city"] .mobile-action { display: none; }
  body[data-page="new-complaint"] { padding-bottom: 0; }
}
