@charset "UTF-8";

:root {
  --ink: #181b20;
  --muted: #5c636e;
  --paper: #f2f3f5;
  --surface: #fff;
  --line: #dfe2e6;
  --yellow: #f5d900;
  --gold: #d1a33c;
  --sidebar: 260px;
  --radius: 12px;
  font-family: "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  font-size: 14px;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, #d1a33c, #f2d713); z-index: 30; pointer-events: none; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; background: none; border: 0; color: inherit; }
button:disabled { cursor: wait; opacity: .6; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(30px, 2.7vw, 39px); letter-spacing: -1.3px; line-height: 1.16; font-weight: 700; }
h2 { font-size: 20px; letter-spacing: -.5px; font-weight: 650; }
h3 { font-size: 16px; }
p { line-height: 1.7; }
.icon { width: 21px; height: 21px; flex-shrink: 0; vertical-align: middle; }
.muted { color: var(--muted); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #a38105; outline-offset: 4px; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 40; padding: 15px; background: var(--yellow); color: #15171b; }
.skip-link:focus { top: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Navegação e identidade institucional */
.sidebar { position: fixed; inset: 0 auto 0 0; width: var(--sidebar); padding: 35px 20px 20px; background: #14171b; color: #c0c5cd; display: flex; flex-direction: column; z-index: 20; border-right: 1px solid #252930; }
.brand { display: flex; align-items: center; gap: 11px; margin: 0 0 32px; color: #fff; font-size: 25px; line-height: 1.08; font-weight: 750; letter-spacing: -.9px; }
.brand img { width: 42px; height: 42px; border-radius: 10px; }
.brand-sub { display: block; margin-top: 8px; color: #d2d5dc; font-size: 8px; font-weight: 500; letter-spacing: .35px; text-transform: uppercase; }
.workspace { display: flex; gap: 11px; align-items: center; padding: 15px 12px; border: 1px solid #3b3e44; border-radius: 8px; background: #20242a; margin-bottom: 30px; }
.workspace-icon { color: var(--gold); }
.workspace div { display: flex; flex-direction: column; gap: 5px; flex: 1; }
.workspace strong { font-size: 13px; font-weight: 600; color: #fff; }
.workspace div > span { font-size: 11px; color: #bec4ce; }
.live-dot { width: 6px; height: 6px; background: var(--yellow); border-radius: 50%; }
.nav-label { margin: 0 11px 12px; font-size: 9px; letter-spacing: 1.6px; font-weight: 650; color: #9099a8; }
nav { display: flex; flex-direction: column; gap: 7px; }
nav > a { display: flex; align-items: center; gap: 11px; min-height: 47px; border-radius: 7px; padding: 13px 11px; font-size: 12px; font-weight: 500; transition: background .15s, color .15s; }
nav > a:hover { color: #fff; background: #282c33; }
nav > a.active { color: #181a1e; background: var(--yellow); font-weight: 700; }
nav .icon { width: 19px; height: 19px; }
.nav-plus { margin-left: auto; font-size: 18px; }
.sidebar-bottom { margin-top: auto; padding-top: 32px; }
.side-note { padding: 19px 15px; border: 1px solid #3e4148; border-left: 3px solid var(--gold); background: #1c2026; border-radius: 8px; }
.side-note > .icon { color: var(--yellow); margin-bottom: 12px; width: 22px; height: 22px; }
.side-note strong { display: block; font-weight: 600; font-size: 14px; line-height: 1.5; color: #fff; }
.side-note p { font-size: 11px; color: #b9c1cc; margin-top: 10px; line-height: 1.8; }
.supervisor-link { display: flex; align-items: center; gap: 10px; font-size: 12px; padding: 22px 6px; color: #c4cad4; }
.supervisor-link [data-icon]:first-child .icon { width: 18px; height: 18px; }
.supervisor-link [data-icon]:last-child { margin-left: auto; }
.supervisor-link [data-icon]:last-child .icon { width: 16px; height: 16px; }
.supervisor-link:hover, .supervisor-link.active { color: var(--yellow); }
.sidebar-foot { border-top: 1px solid #373c44; padding-top: 17px; text-align: center; font-size: 9px; color: #b2bac7; letter-spacing: 1.4px; }
.install-btn { display: flex; align-items: center; gap: 10px; margin-top: 15px; min-height: 40px; width: 100%; padding: 10px; border: 1px solid #606772; border-radius: 7px; color: #e6e9ed; font-size: 12px; }
.app-shell { margin-left: var(--sidebar); display: flex; flex-direction: column; min-height: 100vh; }
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 12px 36px; min-height: 84px; background: #fff; border-bottom: 1px solid var(--line); }
.breadcrumb { display: flex; gap: 12px; align-items: center; font-size: 12px; color: #69717d; }
.breadcrumb > span { color: #afb5be; }
.breadcrumb strong { color: #282d35; font-weight: 600; }
.top-actions { display: flex; align-items: center; gap: 19px; }
.connection { display: flex; align-items: center; gap: 7px; color: #486553; font-size: 11px; font-weight: 500; }
.connection i { width: 6px; height: 6px; border-radius: 50%; background: #43835b; }
.connection.is-offline { color: #866415; }
.connection.is-offline i { background: #b98a23; }
.top-divider { height: 31px; width: 1px; background: var(--line); }
.dpo-identity { display: flex; align-items: center; gap: 10px; }
.dpo-identity img { width: 49px; height: 49px; object-fit: contain; }
.dpo-identity > span { display: flex; flex-direction: column; gap: 4px; }
.dpo-identity strong { font-size: 13px; letter-spacing: 1px; }
.dpo-identity small { font-size: 10px; color: #5c636e; }
.notice { padding: 11px 36px; background: #fff4d0; color: #66500f; border-bottom: 1px solid #e9d591; font-size: 11px; line-height: 1.7; }
.demo-notice { background: #eeeef0; color: #535a65; border-color: #dbdee3; font-size: 10px; }

/* Composição e ações */
#main { flex: 1; width: 100%; max-width: 1510px; margin: 0 auto; padding: 34px 36px 15px; outline: none; }
.page-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 28px; }
.eyebrow { font-size: 10px; letter-spacing: 1.65px; font-weight: 700; color: #786015; margin-bottom: 11px; }
.page-heading p { color: var(--muted); font-size: 13px; margin-top: 12px; }
.heading-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.mobile-break { display: none; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 43px; padding: 12px 18px; border-radius: 7px; font-size: 12px; font-weight: 650; line-height: 1.3; white-space: nowrap; transition: background .15s, border-color .15s; }
.button .icon { width: 17px; height: 17px; }
.button.primary { background: var(--yellow); color: #1c1c16; border: 1px solid #ddc300; }
.button.primary:hover { background: #edcf00; border-color: #c6ad00; }
.button.secondary { background: #fff; color: #303640; border: 1px solid #bdc4cd; }
.button.secondary:hover { background: #f3f4f6; border-color: #8b95a3; }
.period-select { display: flex; align-items: center; gap: 8px; padding: 0 11px; min-height: 43px; border: 1px solid #cbd0d8; background: #fff; border-radius: 7px; color: #5c6470; }
.period-select .icon { width: 16px; height: 16px; }
.period-select select { font-size: 11px; padding: 11px 0; background: transparent; border: 0; min-width: 113px; color: #414853; cursor: pointer; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: #4b525d; padding: 3px 0; }
.text-link .icon { width: 16px; height: 16px; }
.text-link:hover { color: #887010; text-decoration: underline; text-underline-offset: 4px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 3px #17202d03; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 24px 25px 19px; }
.panel-heading h2 { font-size: 18px; font-weight: 650; }
.panel-heading p { font-size: 12px; margin-top: 6px; color: var(--muted); }
.subtle-pill { background: #f2f3f5; border: 1px solid #dfe2e7; font-size: 10px; color: #565e6a; border-radius: 5px; padding: 6px 9px; white-space: nowrap; }
.main-footer { display: flex; justify-content: space-between; gap: 18px; padding: 24px 36px; font-size: 10px; color: #606874; }
.main-footer strong { font-weight: 650; color: #343b45; }
.footer-dot { padding: 0 7px; color: #8a7750; }
.data-note { font-size: 11px; color: #646d7a; line-height: 1.8; margin-top: 16px; }

/* Painel da liderança */
.hero-strip { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 25px; min-height: 245px; margin-bottom: 22px; padding: 30px 34px; overflow: hidden; background: #1b2027; background-image: radial-gradient(ellipse at 90% 120%, #594a25 0, transparent 55%); border: 1px solid #30343c; border-radius: 12px; color: #fff; }
.hero-strip::before { content: ""; position: absolute; top: 0; left: 0; bottom: 0; width: 4px; background: linear-gradient(#d1a33c,#f2d713); }
.hero-tag { color: #f0cf66; font-size: 9px; font-weight: 650; letter-spacing: 1.55px; }
.hero-strip h2 { margin-top: 13px; font-size: 30px; line-height: 1.2; font-weight: 600; letter-spacing: -.8px; color: #fff; }
.hero-strip p { color: #cbd1da; font-size: 12px; line-height: 1.8; margin-top: 13px; }
.hero-link { display: inline-flex; align-items: center; gap: 20px; margin-top: 20px; color: var(--yellow); font-size: 12px; font-weight: 650; }
.hero-link .icon { width: 18px; height: 18px; }
.hero-brand { display: flex; align-items: center; flex-direction: column; gap: 17px; padding: 0 22px; flex-shrink: 0; }
.hero-brand img { width: 146px; height: 146px; object-fit: contain; }
.hero-brand span { color: #dac681; font-size: 8px; font-weight: 500; letter-spacing: 1.8px; }
.metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin-bottom: 23px; }
.metric { position: relative; background: #fff; border: 1px solid #dce0e5; border-radius: 10px; padding: 19px 18px; }
.metric:first-child { background: #fffbee; border-color: #e8dca5; }
.metric-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #4e5763; font-size: 11px; font-weight: 500; }
.metric-icon { display: grid; place-items: center; width: 30px; height: 30px; flex-shrink: 0; border-radius: 7px; background: #eef0f3; color: #67717f; }
.metric-icon .icon { width: 17px; height: 17px; }
.metric:first-child .metric-icon { background: #f5df83; color: #645018; }
.metric-icon.amber { background: #fff1cf; color: #9a6e13; }
.metric-icon.green { background: #e6f1e9; color: #39774c; }
.metric > strong { display: flex; align-items: center; gap: 10px; font-size: 40px; font-weight: 650; letter-spacing: -1.6px; line-height: 1.2; margin: 12px 0 9px; font-variant-numeric: tabular-nums; }
.metric > strong.tmr-value { font-size: 31px; min-height: 48px; letter-spacing: -1px; }
.metric-chip { color: #866416; background: #fff2c9; padding: 5px 6px; border-radius: 4px; font-size: 8px; font-weight: 600; letter-spacing: 0; white-space: nowrap; }
.green-chip { background: #e9f2eb; color: #3d694c; }
.metric-foot { font-size: 10px; line-height: 1.7; color: #646d79; display: block; }
.dashboard-columns { display: grid; grid-template-columns: 1.1fr 1fr; gap: 21px; margin-bottom: 23px; }
.indicator-chart { padding: 0 25px 15px; }
.indicator-row { display: flex; align-items: center; gap: 11px; width: 100%; padding: 11px 0; text-align: left; }
.indicator-row:hover .indicator-label { color: #937110; }
.indicator-symbol { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 7px; background: #f1f2f5; color: #616b79; }
.indicator-symbol .icon { width: 17px; height: 17px; }
.indicator-content { flex: 1; min-width: 0; }
.indicator-label { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: #414955; margin-bottom: 8px; }
.indicator-label strong { font-weight: 650; color: #232a34; }
.bar-track { display: block; width: 100%; height: 6px; border-radius: 3px; background: #eceef1; overflow: hidden; }
.bar-fill { display: block; height: 100%; background: #79828e; border-radius: 3px; }
.bar-leader { background: #d0a126; }
.indicator-percent { width: 30px; padding-top: 15px; font-size: 10px; text-align: right; color: #6b7480; }
.panel-foot { display: flex; align-items: center; gap: 9px; background: #fafafa; border-top: 1px solid #e5e7eb; padding: 14px 25px; color: #606976; font-size: 10px; }
.panel-foot .icon { width: 15px; height: 15px; color: #9a7723; }
.ranking-panel { display: flex; flex-direction: column; }
.ranking-list { padding: 0 25px 14px; }
.rank-row { display: flex; align-items: center; gap: 11px; min-height: 70px; border-bottom: 1px solid #eceef1; }
.rank-row:last-child { border: 0; }
.rank-position { width: 19px; text-align: center; font-size: 11px; color: #707a88; flex-shrink: 0; font-variant-numeric: tabular-nums; }
.rank-position.first { color: #a58123; }
.rank-position .icon { width: 19px; height: 19px; }
.avatar { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 50%; background: #e9edf3; border: 1px solid #dfe4ec; font-size: 10px; color: #596879; font-weight: 600; flex-shrink: 0; }
.avatar-1 { background: #e8eee9; color: #4f6c59; }
.avatar-2 { background: #f0ebe2; color: #856b43; }
.avatar-3 { background: #e9e9ef; color: #64617c; }
.rank-name { min-width: 0; flex: 1; }
.rank-name strong { display: block; font-size: 12px; font-weight: 600; overflow-wrap: anywhere; }
.rank-name > span { display: block; margin-top: 5px; color: #687280; font-size: 9px; }
.rank-count { display: flex; align-items: center; gap: 6px; font-size: 21px; font-weight: 650; }
.rank-count small { font-size: 9px; font-weight: 400; color: #626c7b; }
.trophy-decoration { width: 36px; height: 36px; display: grid; place-items: center; background: #fcf3d5; color: #95701e; border-radius: 8px; }
.trophy-decoration .icon { width: 21px; height: 21px; }
.panel-link { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding: 16px 25px; border-top: 1px solid #e6e9ed; background: #fafafa; color: #404956; font-size: 11px; font-weight: 600; }
.panel-link:hover { background: #fff9e5; }
.panel-link .icon { width: 17px; height: 17px; }
.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; text-align: left; font-size: 12px; white-space: nowrap; }
th { background: #f6f7f9; color: #5a6371; font-size: 10px; font-weight: 650; letter-spacing: .35px; padding: 13px 25px; border-top: 1px solid #e4e7ec; border-bottom: 1px solid #e4e7ec; }
td { padding: 16px 25px; border-bottom: 1px solid #e9ecf0; color: #4b5563; }
tbody tr:last-child td { border-bottom: 0; }
.protocol-redacted { font-family: Consolas, monospace; font-size: 11px; color: #626e7e; }
.badge { display: inline-flex; align-items: center; gap: 6px; border-radius: 5px; padding: 5px 8px; font-size: 10px; font-weight: 600; border: 1px solid transparent; white-space: nowrap; }
.badge i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.status-open { background: #fff4d2; border-color: #f0dfad; color: #826015; }
.status-review { background: #eaf0f8; border-color: #d7e2ef; color: #456487; }
.status-approved { background: #e7f2ea; border-color: #d1e5d7; color: #347248; }
.status-declined { background: #f8ece8; border-color: #edd8ce; color: #9a5941; }

/* Formulário do motorista */
.form-layout { display: grid; grid-template-columns: minmax(0,1fr) 250px; gap: 28px; align-items: start; }
.feedback-form { padding: 29px; }
.form-section { border-bottom: 1px solid #e2e5e9; margin-bottom: 26px; padding-bottom: 26px; }
.form-section:last-of-type { border: 0; padding-bottom: 0; margin-bottom: 22px; }
.step-label { display: flex; align-items: center; gap: 11px; color: #977015; font-size: 14px; font-weight: 650; margin-bottom: 14px; }
.step-label > span { font-size: 10px; letter-spacing: 1px; color: #586270; }
.form-section h2 { font-size: 18px; margin-bottom: 20px; }
label:not(.choice,.indicator-choice,.period-select,.search-input) { display: block; color: #343d49; font-size: 12px; font-weight: 600; margin-bottom: 9px; }
label[for] > span { color: #8e6d1b; }
input:not([type=radio]), textarea, select:not(.period-select select) { width: 100%; min-width: 0; border: 1px solid #c3cad3; border-radius: 7px; padding: 13px 14px; color: #232c38; background: #fff; font-size: 13px; }
input::placeholder, textarea::placeholder { color: #727b89; opacity: 1; font-size: 12px; }
input:focus, textarea:focus, select:focus { outline: 2px solid #c4a039; outline-offset: 1px; border-color: #9c7c22; }
textarea { min-height: 140px; line-height: 1.8; resize: vertical; }
input + label, textarea + label { margin-top: 21px; }
.helper { color: #626d7b; font-size: 11px; line-height: 1.8; display: block; margin-top: 9px; }
.identity-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 22px; }
.choice, .indicator-choice { position: relative; cursor: pointer; }
.choice input, .indicator-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.choice > span { display: flex; position: relative; flex-direction: column; align-items: flex-start; padding: 17px 15px; border: 1px solid #cdd3dc; border-radius: 9px; background: #fff; min-height: 118px; }
.choice > span::after { content: ""; position: absolute; width: 13px; height: 13px; border: 1px solid #aab3c0; border-radius: 50%; top: 16px; right: 14px; }
.choice input:checked + span { background: #fff9df; border-color: #b79629; box-shadow: inset 0 0 0 1px #b79629; }
.choice input:checked + span::after { background: #4e421e; border: 3px solid #f4e4aa; outline: 1px solid #a58b2d; }
.choice input:focus-visible + span, .indicator-choice input:focus-visible + span { outline: 3px solid #a38105; outline-offset: 3px; }
.choice .icon { width: 22px; height: 22px; color: #596879; margin-bottom: 13px; }
.choice strong { font-size: 12px; font-weight: 600; color: #303946; }
.choice small { color: #636d7c; font-size: 10px; line-height: 1.5; margin-top: 6px; }
.indicator-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
.indicator-choice > span { display: flex; align-items: center; gap: 8px; padding: 12px 10px; min-height: 47px; background: #fff; border: 1px solid #cfd5de; border-radius: 7px; color: #4b5666; font-size: 11px; line-height: 1.5; }
.indicator-choice .icon { width: 17px; height: 17px; }
.indicator-choice input:checked + span { background: #242a32; border-color: #242a32; color: #fff; }
.indicator-choice input:checked + span .icon { color: var(--yellow); }
.field-bottom { display: flex; justify-content: space-between; gap: 14px; font-size: 10px; color: #606c7c; margin-top: 8px; }
.field-bottom > span:last-child { flex-shrink: 0; }
.form-submit { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.form-submit > span { display: flex; align-items: center; gap: 6px; color: #626c7a; font-size: 10px; }
.form-submit > span .icon { width: 14px; height: 14px; }
.form-error { margin: 15px 0; padding: 12px 14px; border-radius: 7px; color: #984728; background: #fff0e8; border: 1px solid #f0d9ce; font-size: 12px; line-height: 1.7; }
.form-aside { padding: 25px 3px; }
.aside-icon { display: grid; place-items: center; background: #252a32; color: var(--yellow); width: 47px; height: 47px; border-radius: 10px; margin-bottom: 20px; }
.aside-icon .icon { width: 25px; height: 25px; }
.form-aside h2 { font-size: 27px; font-weight: 650; color: #2b333e; line-height: 1.2; }
.journey { list-style: none; padding: 0; margin: 28px 0; }
.journey li { display: flex; position: relative; gap: 13px; padding-bottom: 25px; }
.journey li:last-child { padding-bottom: 0; }
.journey li:not(:last-child)::before { content: ""; position: absolute; top: 28px; bottom: 3px; left: 13px; border-left: 1px dashed #aab3c0; }
.journey li > span { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: #f5ebcc; border: 1px solid #d8c488; color: #705819; font-size: 10px; font-weight: 600; flex-shrink: 0; }
.journey strong { color: #394554; font-size: 12px; font-weight: 650; }
.journey p { color: #626d7d; font-size: 11px; line-height: 1.8; margin-top: 7px; }
.tip-box { display: flex; align-items: flex-start; gap: 10px; padding: 17px 14px; margin: 24px 0; background: #fff9e6; border: 1px solid #dfd2a5; border-radius: 8px; }
.tip-box > .icon { width: 17px; height: 17px; color: #92701b; margin-top: 3px; }
.tip-box p { font-size: 11px; color: #665f4a; }
.tip-box strong { display: block; color: #574a29; font-size: 11px; font-weight: 650; margin-bottom: 7px; }

/* Protocolo e acompanhamento */
.success-panel { max-width: 680px; margin: 30px auto; text-align: center; padding: 43px 50px; }
.success-icon { display: grid; place-items: center; width: 65px; height: 65px; background: #e9f1e9; color: #45734d; border-radius: 50%; margin: 0 auto 24px; }
.success-icon .icon { width: 31px; height: 31px; }
.success-panel h1 { font-size: 35px; }
.success-panel p { max-width: 430px; margin: 20px auto; font-size: 13px; color: #616c7b; }
.success-panel > .text-link { display: flex; justify-content: center; margin-top: 21px; }
.protocol-box { max-width: 430px; margin: 26px auto; padding: 23px; border: 1px dashed #c4b477; border-radius: 9px; background: #fffbeb; }
.protocol-box > span { display: block; font-size: 9px; font-weight: 600; letter-spacing: 1.8px; color: #786328; }
.protocol-box > strong { display: block; margin: 13px 0; font-family: Consolas,monospace; color: #3b3c32; font-size: 21px; overflow-wrap: anywhere; }
.protocol-box .text-link { font-size: 11px; }
.lookup-panel { max-width: 880px; padding: 28px; margin-bottom: 24px; }
.lookup-input { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.lookup-input > .icon { color: #728095; }
.lookup-input > input { text-transform: uppercase; }
.history-panel { max-width: 880px; }
.history-row { display: flex; align-items: center; gap: 14px; width: 100%; padding: 21px 25px; border-top: 1px solid #e3e7ed; text-align: left; }
.history-row > div, .history-row > span:nth-child(2) { flex: 1; min-width: 0; }
.history-row strong { display: block; font-size: 13px; font-weight: 600; color: #374353; }
.history-row > div > span, .history-row > span > span { display: block; font-size: 11px; font-family: Consolas,monospace; color: #687589; margin-top: 7px; overflow-wrap: anywhere; }
.history-icon { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 9px; color: #67768b; background: #eef1f6; flex: 0 0 37px !important; }
.history-icon .icon { width: 19px; height: 19px; }
.history-date { font-size: 11px; color: #6a778b; }
.history-row > .icon { width: 18px; height: 18px; color: #69778c; }
.history-button:hover { background: #f7f8fa; }
.queued-items { background: #fffae8; padding-bottom: 17px; }
.queued-items > .button { margin: 0 25px; }
.feedback-detail { max-width: 880px; padding: 28px; margin-bottom: 24px; }
.detail-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.detail-meta .eyebrow { margin: 0; }
.feedback-detail h2 { color: #273343; font-size: 24px; line-height: 1.35; margin-bottom: 18px; }
.feedback-body { font-size: 13px; color: #4d596b; line-height: 1.9; white-space: pre-wrap; overflow-wrap: anywhere; }
.detail-info { display: flex; gap: 23px; flex-wrap: wrap; margin-top: 23px; }
.detail-info > span { display: flex; align-items: center; gap: 7px; font-size: 11px; color: #657286; }
.detail-info .icon { width: 16px; height: 16px; }
.protocol-line { margin-top: 14px; font-size: 10px; color: #6b788b; font-family: Consolas,monospace; overflow-wrap: anywhere; }
.supervisor-response { margin-top: 25px; padding: 23px; background: #edf5ef; border: 1px solid #cbded0; border-left: 3px solid #618b6a; border-radius: 8px; }
.response-heading { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; color: #477653; margin-bottom: 15px; }
.response-heading .icon { width: 18px; height: 18px; }
.response-heading strong { font-size: 13px; font-weight: 650; }
.response-heading > span { margin-left: auto; font-size: 10px; color: #5b7660; }
.waiting-response { display: flex; align-items: center; gap: 14px; background: #fff8e1; border: 1px solid #e6d59f; border-radius: 8px; padding: 18px; margin-top: 25px; color: #98731e; }
.waiting-response .icon { width: 23px; height: 23px; }
.waiting-response strong { display: block; font-size: 12px; font-weight: 600; color: #75602a; }
.waiting-response p > span { display: block; font-size: 11px; color: #796f51; margin-top: 4px; }

/* Gestão e ranking, disponíveis após autenticação */
.ranking-layout { display: grid; grid-template-columns: minmax(0,1fr) 295px; gap: 25px; align-items: start; }
.full-ranking .rank-row { min-height: 82px; }
.full-ranking .avatar { width: 41px; height: 41px; font-size: 11px; }
.full-ranking .rank-name strong { font-size: 14px; }
.full-ranking .rank-name > span { font-size: 11px; }
.full-ranking .rank-count { font-size: 25px; }
.full-ranking .rank-count small { font-size: 11px; }
.ranking-aside { background: #20252d; border-radius: 12px; padding: 30px; color: #d7dce4; border: 1px solid #363e49; }
.big-trophy .icon { width: 47px; height: 47px; color: #e7bf53; margin-bottom: 24px; stroke-width: 1.3; }
.ranking-aside h2 { font-size: 30px; line-height: 1.2; color: #fff; }
.ranking-aside p { font-size: 12px; line-height: 1.9; color: #c4ccd8; margin-top: 17px; }
.ranking-aside h3 { font-size: 13px; color: #edcf7b; }
.aside-rule { height: 1px; background: #4c535c; margin: 24px 0; }
.ranking-aside .button { margin-top: 24px; }
.login-layout { display: grid; grid-template-columns: minmax(0,470px) minmax(0,1fr); align-items: stretch; gap: 35px; }
.login-form { padding: 32px; }
.dialog-emblem { display: grid; place-items: center; width: 49px; height: 49px; background: #f9edc9; color: #95741e; border-radius: 10px; margin-bottom: 23px; }
.dialog-emblem .icon { width: 26px; height: 26px; }
.login-form h2 { font-size: 25px; color: #283344; }
.login-form > p:not(.form-error) { font-size: 12px; color: #657183; margin: 13px 0 25px; }
.login-form .button { width: 100%; margin-top: 24px; }
.login-form > p.helper { font-size: 11px; margin: 20px 0 0; text-align: center; }
.login-aside { background: #20252d; color: #fff; padding: 35px; border-radius: 12px; display: flex; flex-direction: column; justify-content: center; }
.login-aside .eyebrow { color: #e4c15c; font-size: 9px; line-height: 1.7; }
.login-aside h2 { font-size: 39px; letter-spacing: -1.5px; line-height: 1.13; font-weight: 600; color: #fff; }
.login-aside h2 > span { color: #e4c15c; }
.login-aside p { color: #c7cfdb; font-size: 12px; margin-top: 25px; max-width: 270px; }
.supervisor-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; padding: 18px 24px; border: 1px solid #d7dce4; background: #e8ebf0; border-radius: 10px; margin-bottom: 23px; color: #586678; font-size: 11px; }
.supervisor-summary strong { font-size: 27px; font-weight: 650; color: #26344a; margin-right: 7px; }
.supervisor-summary > span:last-child { display: flex; align-items: center; gap: 8px; font-size: 10px; margin-left: auto; }
.supervisor-summary .icon { width: 17px; height: 17px; }
.supervisor-filters { border-bottom: 1px solid #e1e6ed; padding: 20px 24px; }
.filter-tabs { display: flex; gap: 5px; overflow-x: auto; padding: 3px; }
.filter-tab { white-space: nowrap; color: #5d6b7e; padding: 10px 15px; font-size: 12px; border-radius: 6px; }
.filter-tab.selected { background: #232b37; color: #fff; font-weight: 600; }
.search-filters { display: flex; gap: 12px; margin-top: 20px; }
.search-input { display: flex; flex: 1; position: relative; align-items: center; min-width: 0; }
.search-input > .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: #6e7b8d; pointer-events: none; }
.search-input > input:not([type=radio]) { padding-inline-start: 41px; }
.search-filters select { max-width: 210px; font-size: 12px; }
.result-count { color: #657286; font-size: 11px; padding: 16px 25px; }
.supervisor-table td, .supervisor-table th { padding: 16px 20px; }
.supervisor-table td:first-child { min-width: 245px; max-width: 360px; white-space: normal; }
.supervisor-table td:first-child strong { display: block; font-size: 12px; line-height: 1.6; font-weight: 600; overflow-wrap: anywhere; }
.table-sub { display: block; font-size: 10px; color: #6a788c; margin-top: 7px; }
#response-form { margin-top: 26px; padding-top: 22px; border-top: 1px solid #dbe1e9; }
#response-form select { margin-bottom: 20px; }
#response-form .form-section { margin: 0; padding: 0; border: 0; }
#response-field .helper { margin-bottom: 19px; }
#response-form .button { margin-top: 10px; }

/* Estados e detalhes */
dialog { width: calc(100% - 32px); max-width: 700px; max-height: 90dvh; padding: 31px; border: 1px solid #d6dce5; border-radius: 14px; color: #253246; background: #fff; box-shadow: 0 25px 90px #09121f35; overflow: auto; }
dialog::backdrop { background: #10172399; backdrop-filter: blur(4px); }
#dialog-content { position: relative; }
.dialog-close { display: grid; place-items: center; position: absolute; top: -13px; right: -13px; width: 32px; height: 32px; border-radius: 50%; background: #eef1f5; color: #65748b; z-index: 1; }
.dialog-close .icon { width: 19px; height: 19px; }
dialog h2 { font-size: 26px; margin-bottom: 15px; }
dialog p.muted { font-size: 13px; }
dialog .feedback-detail { padding: 0; border: 0; background: transparent; box-shadow: none; margin: 0; }
dialog .feedback-detail h2, dialog .feedback-detail > .detail-meta { padding-right: 22px; }
.detail-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; background: #f3f5f8; border-radius: 8px; padding: 21px; margin: 25px 0; }
.detail-stats > div { display: flex; flex-direction: column; text-align: center; gap: 8px; }
.detail-stats strong { color: #3e506b; font-size: 28px; font-weight: 650; }
.detail-stats span { color: #66768d; font-size: 11px; }
#dialog-content > .button { margin-top: 22px; }
.toast { position: fixed; bottom: 24px; left: calc(var(--sidebar) + 28px); max-width: calc(100vw - var(--sidebar) - 56px); padding: 16px 22px; background: #242e3b; border: 1px solid #4c5c71; color: #fff; border-radius: 9px; box-shadow: 0 8px 28px #1c283130; font-size: 12px; line-height: 1.7; z-index: 50; }
.empty-state { display: flex; flex-direction: column; align-items: center; gap: 13px; text-align: center; padding: 37px 25px; }
.empty-state > .icon { width: 34px; height: 34px; color: #8d9bb0; stroke-width: 1.3; }
.empty-state h3 { color: #4b5c74; font-size: 15px; font-weight: 600; }
.empty-state p { font-size: 12px; color: #68768a; max-width: 380px; }
.empty-state .button { margin-top: 8px; }
.loading-state { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 240px; color: #66768c; font-size: 13px; }
.loading-dot { width: 11px; height: 11px; border: 2px solid #d3dbe5; border-top-color: #927123; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (min-width: 1500px) {
  :root { --sidebar: 275px; }
  #main { padding: 40px 48px 20px; }
  .topbar, .main-footer { padding-left: 48px; padding-right: 48px; }
  .metric { padding: 22px; }
  .metric-top { font-size: 12px; }
  .hero-strip { padding: 34px 40px; min-height: 260px; }
  .hero-strip h2 { font-size: 34px; }
  .indicator-row { padding: 13px 0; }
  .rank-row { min-height: 76px; }
}
@media (max-width: 1190px) {
  :root { --sidebar: 225px; }
  .sidebar { padding: 30px 15px 18px; }
  .brand { font-size: 23px; gap: 9px; }
  .brand img { width: 36px; height: 36px; }
  .brand-sub { font-size: 7px; letter-spacing: .15px; }
  nav > a { font-size: 11px; gap: 9px; }
  .topbar { padding: 12px 26px; }
  #main { padding: 28px 26px 15px; }
  .main-footer { padding: 23px 26px; }
  .page-heading { flex-wrap: wrap; align-items: center; gap: 20px; }
  .metric { padding: 16px; }
  .metric-top { font-size: 10px; }
  .metric > strong { font-size: 35px; gap: 7px; }
  .metric > strong.tmr-value { font-size: 27px; min-height: 42px; }
  .metric-chip { font-size: 7px; padding: 4px 5px; }
  .metric-foot { font-size: 9px; }
  .hero-brand { padding-right: 3px; }
  .hero-brand img { width: 125px; height: 125px; }
  .hero-brand span { font-size: 7px; letter-spacing: 1px; }
  .dashboard-columns { gap: 17px; }
  .panel-heading { padding: 21px 20px 17px; }
  .panel-heading h2 { font-size: 16px; }
  .panel-heading p { font-size: 11px; }
  .indicator-chart, .ranking-list { padding-left: 20px; padding-right: 20px; }
  .rank-row { gap: 8px; }
  .rank-name strong { font-size: 11px; }
  .rank-name > span { font-size: 8px; }
  .rank-count { font-size: 18px; gap: 5px; }
  .rank-count small { font-size: 8px; }
  .avatar { width: 31px; height: 31px; }
  .subtle-pill { font-size: 9px; padding: 5px 7px; }
  .form-layout { grid-template-columns: minmax(0,1fr) 210px; gap: 23px; }
  .feedback-form { padding: 23px; }
  .indicator-options { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .form-submit { flex-direction: column; align-items: flex-start; }
  .form-submit .button { width: 100%; }
  .form-aside h2 { font-size: 25px; }
  .choice strong { font-size: 11px; }
  .choice small { font-size: 9px; }
  .ranking-layout { grid-template-columns: minmax(0,1fr) 250px; gap: 20px; }
  .ranking-aside { padding: 24px; }
  .ranking-aside h2 { font-size: 27px; }
  .login-layout { gap: 25px; }
  .login-aside { padding: 27px; }
  .login-aside h2 { font-size: 34px; }
  .supervisor-summary { gap: 22px; }
  .supervisor-summary > span:last-child { margin-left: 0; }
  .filter-tab { font-size: 11px; padding: 10px 12px; }
}
@media (max-width: 900px) {
  :root { --sidebar: 195px; }
  .sidebar { padding: 28px 12px 16px; }
  .brand { font-size: 20px; gap: 7px; }
  .brand img { width: 31px; height: 31px; }
  .brand-sub { font-size: 6px; letter-spacing: .15px; }
  .workspace { gap: 8px; padding: 12px 9px; }
  .workspace strong { font-size: 12px; }
  .workspace div > span { font-size: 10px; }
  .workspace-icon .icon { width: 18px; height: 18px; }
  nav > a { padding: 12px 7px; font-size: 10px; gap: 7px; }
  nav .icon { width: 17px; height: 17px; }
  .nav-label { font-size: 8px; }
  .side-note { padding: 16px 12px; }
  .side-note strong { font-size: 13px; }
  .side-note p { font-size: 10px; }
  .supervisor-link { font-size: 10px; gap: 7px; }
  .top-actions { gap: 13px; }
  .dpo-identity > span { display: none; }
  .top-divider { display: none; }
  .breadcrumb { font-size: 11px; gap: 9px; }
  .page-heading h1 { font-size: 33px; }
  .hero-strip { padding: 27px; }
  .hero-strip h2 { font-size: 27px; }
  .hero-brand { padding: 0; }
  .hero-brand img { width: 92px; height: 92px; }
  .hero-brand span { display: none; }
  .metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .metric { padding: 19px; }
  .metric-top { font-size: 12px; }
  .metric-foot { font-size: 10px; }
  .metric-chip { font-size: 9px; }
  .dashboard-columns { grid-template-columns: 1fr; gap: 21px; }
  .panel-heading h2 { font-size: 18px; }
  .rank-row { min-height: 72px; gap: 12px; }
  .rank-name strong { font-size: 13px; }
  .rank-name > span { font-size: 10px; }
  .rank-count { font-size: 23px; }
  .rank-count small { font-size: 10px; }
  .avatar { width: 37px; height: 37px; }
  .form-layout { grid-template-columns: 1fr; gap: 19px; }
  .form-aside { padding: 20px 5px; }
  .form-aside .aside-icon { display: none; }
  .form-aside h2 br { display: none; }
  .form-aside h2 { font-size: 25px; }
  .form-aside .journey { display: flex; gap: 22px; }
  .journey li { flex: 1; flex-direction: column; gap: 10px; }
  .journey li::before { display: none; }
  .form-aside .tip-box { max-width: 470px; }
  .ranking-layout { grid-template-columns: 1fr; }
  .ranking-aside h2 br { display: none; }
  .ranking-aside h2 { max-width: 350px; }
  .big-trophy { float: right; }
  .login-layout { grid-template-columns: 1fr; }
  .login-form { max-width: 490px; }
  .login-aside { display: none; }
  .search-filters { flex-direction: column; }
  .search-filters select { max-width: 100%; }
  .history-panel .panel-heading { flex-wrap: wrap; }
  .response-heading > span { margin-left: 0; }
}
@media (max-width: 640px) {
  :root { --sidebar: 0px; }
  .sidebar { position: sticky; top: 0; inset: 0; width: 100%; border: 0; padding: 16px 17px 0; display: block; }
  .brand { font-size: 24px; gap: 10px; margin: 0 0 15px; }
  .brand img { width: 34px; height: 34px; }
  .brand-sub { font-size: 7px; letter-spacing: .45px; margin-top: 6px; }
  .workspace, .nav-label, .side-note, .sidebar-foot { display: none; }
  .sidebar nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; padding-bottom: 12px; }
  .leadership-mode .sidebar nav { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 4px; }
  nav > a { min-height: 44px; flex-direction: row; justify-content: center; gap: 7px; font-size: 11px; padding: 11px 4px; text-align: center; line-height: 1.5; }
  .leadership-mode nav > a { flex-direction: column; font-size: 9px; gap: 6px; min-height: 59px; padding: 9px 2px; }
  nav .icon { width: 18px; height: 18px; }
  .nav-plus { display: none; }
  .sidebar-bottom { position: absolute; right: 17px; top: 17px; padding: 0; margin: 0; }
  .supervisor-link { display: grid; place-items: center; width: 34px; height: 34px; padding: 7px; font-size: 0; border: 1px solid #525965; border-radius: 7px; }
  .supervisor-link #leadership-label, .supervisor-link [data-icon]:last-child { display: none; }
  .supervisor-link [data-icon]:first-child .icon { width: 19px; height: 19px; }
  .install-btn { position: absolute; right: 43px; top: 0; width: 34px; height: 34px; min-height: 34px; padding: 7px; margin: 0; font-size: 0; gap: 0; }
  .install-btn > .icon { width: 18px; height: 18px; }
  .topbar { padding: 9px 18px; min-height: 58px; gap: 8px; }
  .breadcrumb { font-size: 10px; gap: 7px; }
  .top-actions { gap: 9px; }
  .connection { font-size: 9px; gap: 5px; }
  .connection i { width: 5px; height: 5px; }
  .dpo-identity img { width: 34px; height: 34px; }
  #main { padding: 27px 17px 12px; }
  .page-heading { gap: 21px; margin-bottom: 24px; }
  .page-heading h1 { font-size: 32px; letter-spacing: -1px; }
  .page-heading p { font-size: 12px; line-height: 1.8; margin-top: 11px; }
  .eyebrow { font-size: 9px; letter-spacing: 1.2px; }
  .heading-actions { width: 100%; justify-content: space-between; gap: 9px; }
  .heading-actions > .button { flex: 1; }
  .button { min-height: 44px; font-size: 12px; padding: 12px 15px; }
  .period-select { padding: 0 9px; min-height: 44px; }
  .period-select select { min-width: 108px; font-size: 11px; }
  .notice { padding: 10px 18px; font-size: 11px; }
  .demo-notice { font-size: 9px; }
  .hero-strip { min-height: 230px; padding: 26px 22px; margin-bottom: 19px; gap: 8px; }
  .hero-strip > div:first-child { position: relative; z-index: 1; }
  .hero-tag { font-size: 8px; letter-spacing: .8px; display: block; max-width: 220px; line-height: 1.7; }
  .hero-strip h2 { font-size: 26px; max-width: 275px; }
  .hero-strip p { font-size: 11px; max-width: 250px; }
  .hero-strip p br { display: none; }
  .hero-link { font-size: 11px; gap: 12px; margin-top: 18px; }
  .hero-brand { position: absolute; right: -12px; bottom: -13px; opacity: .13; }
  .hero-brand img { width: 150px; height: 150px; }
  .metrics { gap: 10px; margin-bottom: 19px; }
  .metric { padding: 15px 12px; }
  .metric-top { font-size: 10px; gap: 5px; }
  .metric-icon { width: 25px; height: 25px; border-radius: 6px; }
  .metric-icon .icon { width: 15px; height: 15px; }
  .metric > strong { font-size: 34px; gap: 6px; margin-top: 11px; }
  .metric > strong.tmr-value { font-size: 25px; min-height: 41px; }
  .metric-chip { font-size: 7px; padding: 4px; }
  .metric-foot { font-size: 9px; }
  .dashboard-columns { gap: 19px; margin-bottom: 19px; }
  .panel-heading { padding: 21px 18px 17px; gap: 10px; }
  .panel-heading h2 { font-size: 17px; line-height: 1.4; }
  .panel-heading p { font-size: 11px; }
  .subtle-pill { font-size: 8px; padding: 5px 6px; }
  .indicator-chart, .ranking-list { padding-left: 18px; padding-right: 18px; }
  .indicator-row { padding: 11px 0; gap: 9px; }
  .indicator-label { font-size: 11px; }
  .indicator-symbol { width: 29px; height: 29px; }
  .indicator-symbol .icon { width: 16px; height: 16px; }
  .indicator-percent { font-size: 9px; width: 26px; }
  .panel-foot { font-size: 10px; padding: 13px 18px; line-height: 1.7; }
  .rank-row { min-height: 70px; gap: 10px; }
  .rank-name strong { font-size: 12px; }
  .rank-name > span { font-size: 9px; }
  .rank-count { font-size: 20px; }
  .rank-count small { font-size: 9px; }
  .avatar { width: 33px; height: 33px; font-size: 9px; }
  .rank-position { width: 17px; font-size: 10px; }
  .panel-link { padding: 16px 18px; font-size: 11px; }
  .recent-panel .panel-heading { align-items: flex-start; }
  .recent-panel .panel-heading .text-link { max-width: 105px; font-size: 10px; line-height: 1.6; }
  .recent-panel .text-link .icon { display: none; }
  th, td { padding: 14px 18px; font-size: 11px; }
  th { font-size: 9px; }
  .badge { font-size: 9px; padding: 5px 7px; }
  .data-note { font-size: 10px; }
  .main-footer { padding: 22px 17px 26px; font-size: 9px; flex-wrap: wrap; gap: 9px; }
  .main-footer > span:last-child { font-size: 9px; }
  .form-layout { gap: 13px; }
  .feedback-form { padding: 23px 18px; }
  .form-section { margin-bottom: 24px; padding-bottom: 24px; }
  .step-label { font-size: 13px; }
  .step-label > span { font-size: 9px; letter-spacing: .8px; }
  .form-section h2 { font-size: 18px; }
  .identity-options { gap: 10px; }
  .choice > span { padding: 16px 11px; min-height: 126px; }
  .choice strong { font-size: 11px; }
  .choice small { font-size: 10px; }
  .choice > span::after { right: 11px; top: 16px; }
  .choice .icon { width: 21px; height: 21px; }
  .indicator-options { gap: 9px; }
  .indicator-choice > span { font-size: 11px; min-height: 49px; padding: 12px 9px; gap: 7px; }
  .indicator-choice .icon { width: 16px; height: 16px; }
  input:not([type=radio]), textarea, select:not(.period-select select) { font-size: 16px; min-height: 46px; padding: 13px 12px; }
  input::placeholder, textarea::placeholder { font-size: 13px; }
  label:not(.choice,.indicator-choice,.period-select,.search-input) { font-size: 12px; }
  .field-bottom { font-size: 9px; gap: 14px; line-height: 1.7; }
  .form-submit { gap: 15px; }
  .form-submit > span { font-size: 10px; }
  .form-submit .button { min-height: 48px; font-size: 13px; }
  .form-aside { padding: 20px 6px; }
  .form-aside h2 { font-size: 25px; }
  .form-aside .journey { display: block; }
  .journey li { flex-direction: row; gap: 14px; }
  .journey li::before { display: block; }
  .journey strong { font-size: 13px; }
  .journey p { font-size: 12px; }
  .tip-box p, .tip-box strong { font-size: 12px; }
  .helper { font-size: 11px; }
  .success-panel { padding: 33px 20px; margin: 0; }
  .success-panel h1 { font-size: 31px; }
  .success-panel p { font-size: 12px; }
  .protocol-box { padding: 21px 10px; }
  .protocol-box > strong { font-size: 18px; }
  .lookup-panel { padding: 23px 18px; }
  .lookup-input { flex-wrap: wrap; gap: 10px; }
  .lookup-input > .icon { display: none; }
  .lookup-input > input { flex: 1 1 100%; }
  .lookup-input > .button { width: 100%; }
  .history-row { gap: 10px; padding: 19px 18px; }
  .history-row strong { font-size: 12px; }
  .history-row > div > span, .history-row > span > span { font-size: 10px; }
  .history-date { display: none; }
  .history-row .text-link { font-size: 10px; }
  .feedback-detail { padding: 23px 18px; }
  .feedback-detail h2 { font-size: 22px; }
  .detail-info { flex-direction: column; gap: 11px; }
  .supervisor-response { padding: 18px 14px; }
  .response-heading strong { font-size: 12px; }
  .response-heading > span { flex: 1 1 100%; margin-left: 0; font-size: 10px; }
  .waiting-response { padding: 15px 12px; }
  .waiting-response strong { font-size: 11px; }
  .waiting-response p > span { font-size: 10px; }
  .full-ranking .rank-row { min-height: 78px; }
  .full-ranking .rank-name strong { font-size: 13px; }
  .full-ranking .rank-name > span { font-size: 9px; }
  .full-ranking .rank-count { font-size: 23px; }
  .full-ranking .rank-count small { font-size: 9px; }
  .full-ranking .avatar { width: 36px; height: 36px; font-size: 10px; }
  .ranking-aside { padding: 27px; }
  .ranking-aside h2 { max-width: 240px; font-size: 28px; }
  .ranking-aside .button { width: 100%; }
  .login-form { padding: 28px 21px; }
  .login-form h2 { font-size: 23px; }
  .supervisor-summary { padding: 18px; gap: 17px; font-size: 10px; }
  .supervisor-summary strong { font-size: 25px; }
  .supervisor-summary > span:last-child { font-size: 9px; }
  .supervisor-filters { padding: 16px 13px; }
  .filter-tab { font-size: 10px; padding: 10px; }
  .search-filters { margin-top: 16px; }
  .search-filters select { font-size: 14px; }
  .supervisor-table td, .supervisor-table th { padding: 15px 17px; }
  .supervisor-table td:first-child { min-width: 205px; }
  .supervisor-table td:first-child strong { font-size: 11px; }
  .supervisor-table .text-link { font-size: 10px; }
  .toast { left: 16px; right: 16px; bottom: 18px; max-width: none; padding: 15px 18px; font-size: 12px; }
  dialog { padding: 28px 21px; max-height: 88dvh; }
  .dialog-close { right: -6px; top: -9px; }
  .detail-stats { padding: 19px 11px; }
  .detail-stats strong { font-size: 26px; }
  .detail-stats span { font-size: 10px; }
  .empty-state { padding: 33px 19px; }
  .empty-state h3 { font-size: 14px; }
  .empty-state p { font-size: 11px; }
}
@media (max-width: 360px) {
  .brand { font-size: 22px; }
  .brand-sub { font-size: 6px; }
  .breadcrumb { font-size: 9px; }
  .connection { font-size: 8px; }
  .metric-top { font-size: 9px; }
  .metric > strong { font-size: 30px; }
  .metric > strong.tmr-value { font-size: 22px; }
  .metric-chip { font-size: 6px; }
  .choice strong { font-size: 10px; }
  .choice small { font-size: 9px; }
  .indicator-choice > span { font-size: 10px; gap: 5px; }
  .indicator-choice .icon { width: 14px; height: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
