@charset "UTF-8";
.goal-month{display:grid;gap:5px;font-size:12px;color:#52675b}
.goal-month input{padding:10px 12px;border:1px solid #d7e3da;border-radius:9px;background:white;color:#193e2b;min-height:44px}
.goal-today{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:32px;align-items:center;padding:30px 34px;background:linear-gradient(115deg,#123d2d,#205a40);border-radius:18px;color:#fff;margin-bottom:30px}
.goal-eyebrow{font-size:11px;letter-spacing:1.2px;color:#b7dac4;font-weight:650}
.goal-today h2{font-size:27px;line-height:1.25;margin:12px 0}
.goal-today p{color:#d3e5da;max-width:580px;line-height:1.6;font-size:14px;margin-bottom:22px}
.goal-today .btn.primary{background:#ecf8b2;border-color:#ecf8b2;color:#173e2a}
.goal-today-score{display:grid;gap:12px;padding-left:26px;border-left:1px solid #ffffff30;font-size:12px;color:#d3e5da}
.goal-today-score strong{font-size:56px;line-height:1;font-weight:700;color:white;font-variant-numeric:tabular-nums}
.goal-today-score small{font-size:26px;font-weight:400;color:#9fc5ae}
.goal-today progress,.goal-stage progress{width:100%;height:8px;accent-color:#058644;border:0;border-radius:8px;overflow:hidden}
.goal-today progress::-webkit-progress-bar{background:#ffffff25}.goal-today progress::-webkit-progress-value{background:#d6ef83}
.goal-section-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:24px 0 16px;flex-wrap:wrap}
.goal-section-title h2{font-size:19px;margin:0;text-transform:capitalize}
.goal-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}
.goal-kpi{padding:22px;border:1px solid var(--line);border-radius:14px;background:white;min-width:0}
.goal-kpi>span{font-size:12px;color:#586d60;font-weight:600}.goal-kpi strong{display:block;font-size:32px;color:var(--dark);margin:12px 0;font-variant-numeric:tabular-nums}.goal-kpi p{margin:0;font-size:12px;line-height:1.6;color:#657a6d}
.goals-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(290px,1fr);gap:22px;align-items:start}
.goals-grid>.panel{min-width:0}.goals-grid .panel-head{flex-wrap:wrap;gap:12px}.goals-grid .panel-head p,.goal-planning p{line-height:1.6}
.goal-legend{display:flex;flex-wrap:wrap;gap:16px;font-size:11px;font-weight:600;color:#058644}.goal-legend span+span{color:#738497}
.goal-chart{width:100%;overflow-x:auto}.goal-chart svg{width:100%;height:auto;min-width:640px;stroke:none;fill:none;display:block}.goal-chart text{fill:#617469;font:14px 'Segoe UI',sans-serif}.goal-grid{stroke:#e6ece8;stroke-width:1}.goal-target-line{stroke:#8194a5;stroke-width:2;stroke-dasharray:6 5}.goal-actual-line{stroke:#058644;stroke-width:3;stroke-linejoin:round}.goal-point{fill:#058644;stroke:white;stroke-width:1.5}.goal-point:focus{outline:none;stroke:#173e2a;stroke-width:4}
.goal-details summary,.goal-method>summary{cursor:pointer;padding:14px 0;font-size:13px;font-weight:600;color:#345e46;min-height:44px}.goal-method>summary{padding:18px 24px}.goal-method p{font-size:13px;line-height:1.7;margin-top:0}.goal-details .table-wrap{max-height:340px;overflow:auto}
.goal-conversion{text-align:center;padding:5px 0 18px;display:grid;gap:6px}.goal-conversion strong{font-size:34px;color:var(--dark)}.goal-conversion>span{font-size:12px;color:#617469}.goal-conversion-arrow{margin:12px 0;padding:12px;background:#eef6ed;color:#316a45;border-radius:8px;font-size:13px;font-weight:600}
.goal-note{padding:12px 14px;background:#fff7e6;color:#79571b;border-radius:8px;font-size:12px;line-height:1.6}.goal-subtitle{font-size:14px;margin:24px 0 16px}.goal-stage{margin:14px 0}.goal-stage>div{display:flex;justify-content:space-between;gap:10px;font-size:12px;margin-bottom:6px}.goal-stage strong{white-space:nowrap}.goal-stage progress::-webkit-progress-bar{background:#edf3ee}.goal-stage progress::-webkit-progress-value{background:#51946b}
.goal-planning{display:grid;grid-template-columns:1fr 1fr;gap:36px}.goal-planning h3{font-size:15px;margin:0 0 12px}.goal-planning p{font-size:13px}.goal-scenarios{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:20px}.goal-scenarios>div{display:grid;gap:9px;text-align:center;padding:18px 8px;border:1px solid var(--line);border-radius:12px;font-size:12px;color:#617469}.goal-scenarios strong{font-size:30px;color:var(--dark)}.goal-scenarios .selected{border-color:#80b294;background:#f0f8ee}.goal-pace{font-size:23px!important;font-weight:650;color:var(--dark)}
.goal-followups .page-head{display:none}
@media(max-width:1200px){.goals-grid{grid-template-columns:1fr}.goal-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.goal-today{grid-template-columns:1fr;padding:24px;gap:22px}.goal-today h2{font-size:24px}.goal-today-score{padding:20px 0 0;border-left:0;border-top:1px solid #ffffff30}.goal-today-score strong{font-size:44px}.goal-kpis{gap:10px}.goal-kpi{padding:16px}.goal-kpi strong{font-size:27px}.goal-planning{grid-template-columns:1fr;gap:26px}.goal-chart svg{min-width:640px}.goal-month{width:100%}.goal-section-title{gap:7px}}
:root {
  font-family: "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  color: #25372f;
  background: #f5f7f6;
  font-size: 16px;
  font-synthesis: none;
  --green: #058644;
  --dark: #123d2d;
  --muted: #718078;
  --line: #e1e8e3;
  --soft: #edf5ef;
  --red: #b74242;
  --shadow: 0 8px 30px #193d2610;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: var(--green);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #5ba880;
  outline-offset: 3px;
}
button svg,
a svg {
  flex: none;
}
svg {
  width: 19px;
  height: 19px;
  vertical-align: middle;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 1.9rem;
  line-height: 1.2;
  letter-spacing: -0.045em;
  font-weight: 650;
  margin-bottom: 8px;
}
h2 {
  font-size: 1.1rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}
h3 {
  font-size: 1rem;
  font-weight: 650;
}
p {
  line-height: 1.6;
}
small,
.small {
  font-size: 0.875rem;
}
.muted {
  color: var(--muted);
}
.mono {
  font-variant-numeric: tabular-nums;
}
.skip {
  position: fixed;
  left: 16px;
  top: -60px;
  background: white;
  padding: 12px;
  z-index: 99;
}
.skip:focus {
  top: 12px;
}
.boot {
  min-height: 100vh;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 16px;
}
.boot h1 {
  margin: 0;
}
.shell {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  background: white;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 32px 18px 18px;
  z-index: 20;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 8px 30px;
  color: #143c2b;
}
.brand img {
  width: 38px;
  height: 38px;
}
.brand strong {
  display: block;
  line-height: 1.25;
  font-size: 1rem;
  letter-spacing: -0.025em;
}
.brand small {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.nav-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: #8a958d;
  padding: 18px 14px 9px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 9px;
  color: #67756d;
  font-size: 0.9rem;
  margin: 3px 0;
  font-weight: 500;
  transition: background 0.15s;
}
.nav-item:hover {
  background: #f5f8f6;
  text-decoration: none;
  color: var(--dark);
}
.nav-item.active {
  background: #e9f5ed;
  color: #087740;
  font-weight: 650;
}
.nav-item.active:after {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--green);
  border-radius: 50%;
  margin-left: auto;
}
.sidebar-foot {
  margin-top: auto;
  padding-top: 26px;
}
.local-label {
  font-size: 0.8rem;
  background: #f4f7f5;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  gap: 8px;
  align-items: center;
  color: #65786c;
}
.user {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 18px 3px 0;
  min-width: 0;
}
.user-info {
  flex: 1;
  min-width: 0;
}
.user-info strong {
  font-size: 0.875rem;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.user-info small {
  font-size: 0.75rem;
  color: var(--muted);
}
.avatar {
  width: 35px;
  height: 35px;
  background: #e8f0eb;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-size: 0.8rem;
  color: #276143;
  font-weight: 700;
  flex: none;
}
.topbar {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 40px;
  background: #ffffffc9;
  border-bottom: 1px solid var(--line);
}
.breadcrumb {
  font-size: 0.875rem;
  color: var(--muted);
  display: flex;
  gap: 12px;
  align-items: center;
}
.breadcrumb strong {
  color: #42594c;
  font-weight: 500;
}
.top-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.workspace {
  padding: 36px 40px 50px;
  max-width: 1650px;
  margin: auto;
}
.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 27px;
}
.page-head p {
  font-size: 0.925rem;
  color: var(--muted);
  margin: 0;
}
.actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.btn {
  border: 1px solid #dbe3dd;
  background: white;
  color: #365343;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 15px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  min-height: 42px;
  line-height: 1.4;
  transition:
    background 0.15s,
    box-shadow 0.15s;
  white-space: nowrap;
}
.btn:hover {
  background: #f2f7f4;
  text-decoration: none;
  box-shadow: 0 2px 5px #16412809;
}
.btn.primary {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.btn.primary:hover {
  background: #076f3d;
}
.btn.subtle {
  border-color: transparent;
  background: transparent;
  color: var(--muted);
}
.btn.danger {
  color: var(--red);
}
.icon-btn {
  padding: 8px;
  min-width: 38px;
  min-height: 38px;
  background: transparent;
  border: 0;
  border-radius: 7px;
  color: var(--muted);
  display: inline-grid;
  place-items: center;
}
.icon-btn:hover {
  background: #edf3ef;
}
.phone-display {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  vertical-align: middle;
}
.phone-display > span {
  overflow-wrap: anywhere;
  min-width: 0;
}
.phone-copy {
  flex-shrink: 0;
  cursor: pointer;
}
.phone-copy:focus-visible {
  outline: 2px solid var(--green, #28704b);
  outline-offset: 2px;
}
.clipboard-fallback {
  position: fixed;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu {
  display: none;
}
.kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 26px;
}
.kpi {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  position: relative;
  overflow: hidden;
}
.kpi-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.875rem;
  color: #607567;
}
.kpi-label svg {
  color: #82948a;
}
.kpi-value {
  font-size: 2.15rem;
  line-height: 1.4;
  font-weight: 650;
  letter-spacing: -0.05em;
  margin-top: 10px;
}
.kpi-note {
  font-size: 0.8rem;
  color: var(--muted);
}
.kpi.featured {
  background: var(--dark);
  border-color: var(--dark);
  color: white;
}
.kpi.featured .kpi-label,
.kpi.featured .kpi-label svg {
  color: #c0d7c9;
}
.kpi.featured .kpi-note {
  color: #b2cabd;
}
.grid-main {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr);
  gap: 24px;
  align-items: start;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
}
.panel-head {
  padding: 22px 24px;
  border-bottom: 1px solid #edf1ee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.panel-head h2 {
  margin: 0;
}
.panel-body {
  padding: 24px;
}
.pill {
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 5px;
  background: #f1f4f2;
  color: #6a7c70;
  line-height: 1.35;
  white-space: normal;
  max-width: 100%;
}
.pill.green {
  background: #e7f4ec;
  color: #187440;
}
.pill.amber {
  background: #fff4df;
  color: #996817;
}
.pill.red {
  background: #fbebea;
  color: #a7413a;
}
.pill.blue {
  background: #ebf0fa;
  color: #4a6494;
}
.chips {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.pipeline-row {
  display: grid;
  grid-template-columns: 155px minmax(40px, 1fr) 35px;
  align-items: center;
  gap: 16px;
  margin: 20px 0;
  font-size: 0.875rem;
}
.pipeline-row:first-child {
  margin-top: 0;
}
.pipeline-row:last-child {
  margin-bottom: 0;
}
.bar-track {
  background: #f0f4f1;
  border-radius: 4px;
  height: 11px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  background: var(--green);
  min-width: 0;
  border-radius: 4px;
}
.pipeline-row:nth-child(2n) .bar-fill {
  background: #5fa078;
}
.pipeline-row strong {
  text-align: right;
}
.empty {
  padding: 38px 24px;
  text-align: center;
  color: var(--muted);
  display: grid;
  justify-items: center;
  gap: 10px;
}
.empty-icon {
  background: #f0f6f2;
  border: 1px solid #e3ede6;
  border-radius: 14px;
  padding: 14px;
  display: inline-flex;
  color: #689176;
  margin-bottom: 2px;
}
.empty-icon svg {
  height: 26px;
  width: 26px;
}
.empty h3 {
  color: #405b49;
  margin: 0;
}
.empty p {
  max-width: 360px;
  margin: 0 0 8px;
  font-size: 0.9rem;
}
.list-item {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 17px 24px;
  border-bottom: 1px solid #f0f3f1;
}
.list-item:last-child {
  border-bottom: 0;
}
.list-item .content {
  flex: 1;
  min-width: 0;
}
.list-item h3 {
  font-size: 0.9rem;
  margin: 0 0 5px;
  line-height: 1.5;
}
.list-item p {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
}
.list-item .btn {
  padding: 5px;
  min-height: 30px;
}
.activity-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #f1f5f2;
  display: grid;
  place-items: center;
  color: #799281;
  flex: none;
}
.sync-strip {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  background: #eaf3ed;
  border: 1px solid #d7e6dc;
  border-radius: 10px;
  padding: 15px 20px;
  font-size: 0.875rem;
  color: #436f52;
  margin: 24px 0;
}
.sync-strip p {
  margin: 0;
}
.sync-strip svg {
  flex: none;
}
.filterbar {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  background: white;
}
.searchbox {
  position: relative;
  min-width: 230px;
  flex: 1;
}
.searchbox svg {
  position: absolute;
  left: 13px;
  top: 12px;
  color: #8b9a91;
}
.searchbox input {
  padding-left: 40px;
  width: 100%;
}
input,
select,
textarea {
  background: white;
  color: #304a3a;
  border: 1px solid #d9e2dc;
  border-radius: 7px;
  padding: 10px 11px;
  font-size: 0.9rem;
  min-height: 42px;
  max-width: 100%;
}
input::placeholder,
textarea::placeholder {
  color: #9aa69e;
}
select {
  cursor: pointer;
}
textarea {
  resize: vertical;
  min-height: 110px;
  width: 100%;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.875rem;
}
th {
  background: #fafcfb;
  color: #78867c;
  font-weight: 500;
  font-size: 0.8rem;
  padding: 13px 20px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
td {
  padding: 17px 20px;
  border-bottom: 1px solid #eef2ef;
  vertical-align: middle;
}
tbody tr:hover {
  background: #fbfdfb;
}
td .name {
  font-weight: 600;
  color: #314b3a;
  display: block;
  margin-bottom: 4px;
  border: 0;
  padding: 0;
  background: none;
  text-align: left;
  font-size: 0.9rem;
  cursor: pointer;
}
td .name:hover {
  color: var(--green);
  text-decoration: underline;
}
.contact-cell {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 190px;
}
.contact-cell .avatar {
  border-radius: 50%;
  background: #f0f4f1;
}
.table-sub {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
}
.pagination {
  padding: 16px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.8rem;
}
.board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: 16px;
  min-height: 380px;
  align-items: start;
}
.lane {
  min-width: 0;
  min-height: 160px;
  background: #edf2ef;
  border: 1px solid #e1e9e3;
  border-top: 3px solid var(--lane-color, #7c8d84);
  border-radius: 11px;
  padding: 14px;
  align-self: stretch;
}
.lane[data-stage="Não respondeu"] {
  --lane-color: #b58424;
}
.lane[data-stage="Não tem interesse"] {
  --lane-color: #b75f5f;
}
.lane[data-stage="Cadastrado"] {
  --lane-color: var(--green);
}
.lane-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 2px 2px 16px;
  align-items: flex-start;
  line-height: 1.4;
}
.lane-count {
  flex-shrink: 0;
  background: white;
  border-radius: 5px;
  padding: 2px 7px;
  font-size: 0.75rem;
  color: #799080;
}
.lead-card {
  background: white;
  border: 1px solid #dce6df;
  border-radius: 9px;
  padding: 0;
  margin-bottom: 10px;
  box-shadow: 0 3px 6px #193c2004;
  overflow-wrap: anywhere;
}
.lead-card:last-child {
  margin-bottom: 0;
}
.card-surface {
  display: block;
  width: 100%;
  padding: 12px;
  border: 0;
  border-radius: inherit;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  overflow-wrap: anywhere;
}
.card-surface:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.card-surface:hover { background: #f7faf8; }
.lead-card[draggable="true"] .card-surface { cursor: grab; }
.lead-name {
  display: block;
  margin: 0 0 7px;
  font-size: 0.925rem;
}
.lead-location {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin: 7px 0 0;
}
.lead-location + .pill { margin-top: 7px; }
.lane-cards { max-height: 65vh; overflow-y: auto; padding: 2px; scrollbar-width: thin; }
.lane-footer { display: flex; flex-direction: column; gap: 10px; padding-top: 14px; }
.lane-footer .btn { width: 100%; }
.lead-card[draggable="true"] { cursor: grab; }
.lead-card.dragging { opacity: .45; cursor: grabbing; }
.lane.drop-target { outline: 2px dashed var(--green); outline-offset: 3px; background: #e0f2e8; }
.board[aria-busy="true"] { opacity: .7; pointer-events: none; }
.move-destinations { display: grid; gap: 12px; margin: 20px 0; }
.move-destinations .btn { justify-content: flex-start; min-height: 48px; }
.lane-empty {
  font-size: 0.8rem;
  color: #8b9b90;
  text-align: center;
  padding: 25px 5px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.875rem;
  color: #526859;
  min-width: 0;
}
.field label,
.field > span {
  font-weight: 500;
}
.field.full {
  grid-column: 1/-1;
}
.field input,
.field select {
  width: 100%;
}
.field small {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.5;
}
.form-section {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #829187;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin: 24px 0 18px;
}
.specialty-picker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  max-height: 210px;
  overflow: auto;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 400 !important;
  min-width: 0;
  line-height: 1.5;
}
.check-label input {
  width: 16px !important;
  min-height: 16px;
  flex: none;
  accent-color: var(--green);
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 26px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.alert {
  padding: 13px 16px;
  background: #fff4e3;
  color: #896018;
  border: 1px solid #f0dfbf;
  border-radius: 8px;
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 16px 0;
}
.alert.error {
  background: #fcf0ef;
  color: #a33e36;
  border-color: #efd4d1;
}
.alert.success {
  background: #ebf7ee;
  color: #28683e;
  border-color: #d5e8db;
}
.alert p:last-child {
  margin: 0;
}
dialog {
  border: 1px solid #dce7df;
  border-radius: 14px;
  width: min(710px, calc(100% - 28px));
  max-height: 90vh;
  padding: 0;
  color: inherit;
  background: white;
  box-shadow: 0 30px 100px #072a2540;
}
dialog::backdrop {
  background: #122d2559;
  backdrop-filter: blur(3px);
}
.dialog-head {
  padding: 23px 28px 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: white;
  z-index: 2;
}
.dialog-head h2 {
  font-size: 1.2rem;
  margin: 0;
}
.dialog-content {
  padding: 24px 28px;
}
.detail-summary {
  display: flex;
  gap: 17px;
  align-items: center;
  margin-bottom: 22px;
}
.detail-summary .avatar {
  width: 58px;
  height: 58px;
  font-size: 1.25rem;
  border-radius: 14px;
}
.detail-summary h2 {
  font-size: 1.2rem;
  margin: 0 0 7px;
}
.detail-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
  margin: 25px 0;
  font-size: 0.9rem;
}
.detail-info dt {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 4px;
}
.detail-info dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.note-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 0.9rem;
  line-height: 1.7;
}
.timeline {
  border-left: 2px solid #e6eee8;
  padding-left: 18px;
  margin: 18px 4px;
}
.timeline-entry {
  padding: 0 0 22px;
  position: relative;
}
.timeline-entry:before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  left: -23px;
  top: 5px;
  border: 2px solid white;
  background: #80a38d;
  border-radius: 50%;
}
.timeline-entry p {
  font-size: 0.9rem;
  margin: 7px 0 4px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.timeline-entry small {
  font-size: 0.75rem;
  color: var(--muted);
}
.timeline-entry strong {
  font-size: 0.85rem;
}
.auth-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) 1.1fr;
  min-height: 100vh;
}
.auth-aside {
  background: #113d2c;
  color: white;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 50px;
}
.auth-aside .brand {
  color: white;
  padding: 0;
}
.auth-aside .brand small {
  color: #a6c4b2;
}
.auth-aside h1 {
  font-size: 2.75rem;
  max-width: 450px;
  line-height: 1.15;
  font-weight: 550;
  letter-spacing: -0.055em;
}
.auth-aside p {
  color: #b4cebd;
  font-size: 1rem;
  max-width: 410px;
}
.auth-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 30px 0;
}
.auth-step {
  padding: 20px 0;
  border-bottom: 1px solid #ffffff1a;
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 0.95rem;
}
.auth-step b {
  font-size: 0.8rem;
  color: #8db69c;
  font-weight: 400;
}
.auth-step svg {
  margin-left: auto;
  color: #7fab91;
}
.auth-foot {
  font-size: 0.8rem;
  color: #7da88d;
}
.auth-main {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
}
.auth-card {
  max-width: 410px;
  width: 100%;
}
.eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 16px;
}
.auth-card h2 {
  font-size: 1.8rem;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}
.auth-card .field {
  margin: 19px 0;
}
.auth-card .btn {
  width: 100%;
  margin-top: 12px;
}
.auth-card .muted {
  font-size: 0.9rem;
}
.auth-card .local-label {
  margin-top: 30px;
}
.maps-grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.maps-form .field {
  margin-bottom: 17px;
}
.result-card {
  padding: 22px;
  border-bottom: 1px solid var(--line);
}
.result-card:last-child {
  border: 0;
}
.result-card h3 {
  margin: 0 0 10px;
}
.result-card p {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0 0 12px;
}
.google-label {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.015em;
  color: #657369;
}
.progress-track {
  height: 6px;
  background: #eaf0ec;
  border-radius: 5px;
  margin: 12px 0;
}
.progress-track span {
  display: block;
  height: 100%;
  border-radius: 5px;
  background: var(--green);
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.setting-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 15px 0;
  font-size: 0.9rem;
  border-bottom: 1px solid #edf2ee;
}
.setting-line:last-child {
  border: 0;
}
.upload-box {
  display: block;
  border: 2px dashed #c9dcd0;
  background: #f8fbf9;
  border-radius: 10px;
  padding: 35px;
  text-align: center;
  cursor: pointer;
  margin: 24px 0;
}
.upload-box p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 8px 0;
}
.upload-box input {
  display: block;
  margin: 15px auto 0;
  max-width: 100%;
}
.task-done {
  opacity: 0.6;
}
.task-done h3 {
  text-decoration: line-through;
}
.task-check {
  width: 20px;
  height: 20px;
  min-height: 20px;
  accent-color: var(--green);
  cursor: pointer;
  margin-top: 3px;
}
.page-foot {
  font-size: 0.75rem;
  color: #8a9a8f;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 10px;
}
.loading-panel {
  padding: 50px;
  text-align: center;
  color: var(--muted);
}
#toasts {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: min(420px, calc(100vw - 32px));
}
.toast {
  background: #194330;
  color: white;
  border-radius: 10px;
  padding: 15px 20px;
  font-size: 0.9rem;
  box-shadow: 0 8px 25px #123e2929;
  line-height: 1.5;
}
.toast.error {
  background: #933d38;
}
.error-page {
  padding: 40px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.status-caption {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 8px;
}
.link-button {
  background: none;
  border: 0;
  padding: 0;
  color: var(--green);
  font: inherit;
  cursor: pointer;
  text-align: left;
}
.link-button:hover {
  text-decoration: underline;
}
.task-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}
.task-tabs .active {
  background: #e7f3eb;
  border-color: #c5ddcd;
  color: #167740;
}
.num {
  font-variant-numeric: tabular-nums;
}
.auth-input-row {
  display: flex;
  gap: 10px;
}
.auth-input-row input {
  flex: 1;
  min-width: 0;
}
.auth-input-row .icon-btn {
  border: 1px solid var(--line);
}
@media (min-width: 1500px) {
  .workspace {
    padding: 40px 50px;
  }
  .topbar {
    padding: 0 50px;
  }
  .shell {
    grid-template-columns: 248px minmax(0, 1fr);
  }
}
@media (max-width: 1180px) {
  .board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .workspace {
    padding: 28px 25px;
  }
  .topbar {
    padding: 0 25px;
  }
  .shell {
    grid-template-columns: 210px minmax(0, 1fr);
  }
  .sidebar {
    padding-left: 12px;
    padding-right: 12px;
  }
  .kpis {
    gap: 12px;
  }
  .kpi {
    padding: 18px;
  }
  .grid-main {
    grid-template-columns: 1fr;
  }
  .maps-grid {
    grid-template-columns: 270px minmax(0, 1fr);
  }
  .page-head {
    align-items: flex-start;
  }
  .page-head .actions {
    justify-content: flex-end;
  }
  .auth-aside {
    padding: 40px;
  }
  .auth-aside h1 {
    font-size: 2.4rem;
  }
}
@media (max-width: 900px) {
  .shell {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: fixed;
    width: 245px;
    transform: translateX(-100%);
    transition: transform 0.2s;
    box-shadow: 5px 0 40px #14392620;
  }
  .shell.menu-open .sidebar {
    transform: translateX(0);
  }
  .mobile-menu {
    display: grid;
  }
  .breadcrumb > span {
    display: none;
  }
  .kpis {
    grid-template-columns: 1fr 1fr;
  }
  .maps-grid {
    grid-template-columns: 1fr;
  }
  .maps-form .form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .auth-layout {
    grid-template-columns: 0.8fr 1fr;
  }
  .auth-aside {
    padding: 30px;
  }
  .auth-aside h1 {
    font-size: 2rem;
  }
  .auth-aside p {
    font-size: 0.9rem;
  }
  .auth-main {
    padding: 30px;
  }
}
@media (max-width: 600px) {
  .board {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    gap: 14px;
  }
  .workspace {
    padding: 24px 16px;
  }
  .topbar {
    padding: 0 16px;
    height: 64px;
  }
  .top-actions .date-label {
    display: none;
  }
  .page-head {
    flex-direction: column;
    gap: 18px;
  }
  .page-head .actions {
    justify-content: flex-start;
    width: 100%;
  }
  h1 {
    font-size: 1.65rem;
  }
  .kpis {
    gap: 10px;
  }
  .kpi {
    padding: 16px;
  }
  .kpi-value {
    font-size: 1.9rem;
  }
  .kpi-label {
    font-size: 0.8rem;
  }
  .kpi-label svg {
    display: none;
  }
  .kpi-note {
    font-size: 0.75rem;
  }
  .panel-head {
    padding: 18px;
  }
  .panel-body {
    padding: 18px;
  }
  .sync-strip {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 15px;
  }
  .filterbar {
    padding: 14px;
    gap: 8px;
  }
  .filterbar .searchbox {
    flex-basis: 100%;
  }
  .filterbar select {
    flex: 1;
    min-width: 120px;
  }
  .filterbar .btn {
    padding: 9px;
  }
  .grid-main {
    gap: 0;
  }
  .pipeline-row {
    grid-template-columns: 120px minmax(30px, 1fr) 25px;
    gap: 10px;
    font-size: 0.8rem;
  }
  .pagination {
    padding: 13px;
    font-size: 0.75rem;
  }
  .pagination .btn {
    padding: 7px;
    min-height: 35px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .field.full {
    grid-column: auto;
  }
  .dialog-head {
    padding: 18px;
  }
  .dialog-content {
    padding: 20px 18px;
  }
  .specialty-picker {
    grid-template-columns: 1fr;
  }
  .detail-info {
    grid-template-columns: 1fr 1fr;
  }
  .auth-layout {
    grid-template-columns: 1fr;
  }
  .auth-aside {
    padding: 24px;
    background: white;
    color: var(--dark);
    border-bottom: 1px solid var(--line);
    gap: 0;
  }
  .auth-aside .brand {
    color: var(--dark);
  }
  .auth-aside .auth-story,
  .auth-foot {
    display: none;
  }
  .auth-main {
    padding: 32px 24px;
    align-items: start;
  }
  .auth-card h2 {
    font-size: 1.65rem;
  }
  .maps-form .form-grid {
    grid-template-columns: 1fr;
  }
  .page-foot {
    flex-direction: column;
    gap: 5px;
  }
  .list-item {
    padding: 16px;
  }
  .actions .btn {
    white-space: normal;
  }
  .table-wrap td,
  .table-wrap th {
    padding: 14px;
  }
  .detail-summary h2 {
    font-size: 1.1rem;
  }
  .settings-grid {
    gap: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.auth-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 12px;
  font-size: .9rem;
  font-weight: 600;
}
.auth-security-icon {
  display: inline-flex;
  padding: 14px;
  margin: 16px 0 4px;
  border-radius: 16px;
  background: var(--soft);
  color: var(--green);
}
.auth-security-icon svg { width: 28px; height: 28px; }
.field .otp-input {
  font-size: 1.8rem;
  letter-spacing: .35em;
  text-align: center;
  font-variant-numeric: tabular-nums;
  padding: 15px 12px;
}
.auth-resend { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 20px 0 6px; }
.auth-resend .btn:disabled { cursor: not-allowed; }
.auth-success { background: var(--soft); color: var(--dark); padding: 16px; border-radius: 12px; line-height: 1.6; }
