@import url('/fonts.css');
:root {
  font-family: 'Segoe UI', system-ui, sans-serif;
  color: #402431;
  background: #faf6f8;
  font-synthesis: none;
  --primary: #a6033f;
  --accent: #f8d7e4;
  --muted: #806e77;
  --line: #e9dce2;
  --white: #fff;
  --orange: #be7639;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #b25c7d;
  outline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 32px;
  letter-spacing: -1.2px;
  font-weight: 650;
}
h2 {
  font-size: 19px;
  letter-spacing: -0.4px;
  font-weight: 650;
}
h3 {
  font-size: 15px;
  font-weight: 650;
}
small {
  font-size: 12px;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 1.7px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
}
.icon {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.skip-link {
  position: fixed;
  left: 10px;
  top: -80px;
  background: #fff;
  padding: 12px;
  z-index: 99;
}
.skip-link:focus {
  top: 10px;
}
.initial {
  display: grid;
  place-content: center;
  min-height: 100vh;
  gap: 18px;
  text-align: center;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -1.2px;
  text-decoration: none;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: var(--accent);
  background: var(--primary);
  font-size: 31px;
  font-weight: 650;
  line-height: 1;
  padding-bottom: 6px;
  letter-spacing: -3px;
  padding-right: 3px;
}
.layout {
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  padding: 32px 20px 22px;
  border-right: 1px solid var(--line);
  background: #fffafb;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 34px;
}
.sidebar .brand {
  padding: 0 12px;
}
.workspace-label {
  padding: 0 13px;
  margin-bottom: 13px;
}
.nav {
  display: grid;
  gap: 6px;
}
.nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 12px 14px;
  border-radius: 9px;
  font-size: 14px;
  color: #76666c;
  transition: background 0.15s;
}
.nav a:hover {
  background: #f2e9ec;
}
.nav a.active {
  background: var(--primary);
  color: #fff;
}
.nav .count {
  margin-left: auto;
  min-width: 20px;
  text-align: center;
  font-size: 11px;
  background: #eacfd9;
  color: var(--primary);
  border-radius: 5px;
  padding: 2px 4px;
}
.sidebar-bottom {
  margin-top: auto;
  display: grid;
  gap: 18px;
}
.user-box {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 6px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}
.avatar {
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: #ebdde2;
  display: grid;
  place-items: center;
  color: #63404d;
  font-size: 12px;
  font-weight: 700;
}
.user-box .name {
  font-size: 13px;
  font-weight: 600;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.user-box .role {
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}
.shell {
  min-width: 0;
}
.topbar {
  min-height: 78px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 38px;
  background: #fffafb;
  gap: 18px;
}
.breadcrumb {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
}
.breadcrumb strong {
  color: #543d46;
  font-weight: 500;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 13px;
}
.class-select {
  max-width: 250px;
  border: 1px solid var(--line);
  background: white;
  padding: 8px 30px 8px 12px;
  border-radius: 7px;
  font-size: 12px;
  color: #59404a;
}
.icon-button {
  border: 1px solid var(--line);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: var(--primary);
  position: relative;
}
.dot {
  width: 7px;
  height: 7px;
  position: absolute;
  top: 6px;
  right: 6px;
  background: #ba733b;
  border-radius: 50%;
}
.content {
  padding: 34px 38px 46px;
  max-width: 1580px;
  margin: auto;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 27px;
}
.page-heading h1 {
  margin: 8px 0;
}
.page-heading p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border: 1px solid var(--primary);
  background: var(--primary);
  color: white;
  border-radius: 8px;
  padding: 10px 15px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  min-height: 39px;
}
.btn:hover {
  filter: brightness(1.1);
}
.btn.secondary {
  border-color: var(--line);
  background: white;
  color: var(--primary);
}
.btn.light {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--primary);
}
.btn.danger {
  background: #9d4439;
  border-color: #9d4439;
}
.btn.small {
  padding: 6px 10px;
  min-height: 31px;
  font-size: 12px;
}
.button-row {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
}
.summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.stat {
  padding: 21px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.stat-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  gap: 5px;
}
.stat-icon {
  width: 31px;
  height: 31px;
  background: #f4e8ed;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #81435b;
}
.stat-value {
  font-size: 34px;
  font-weight: 620;
  letter-spacing: -1.5px;
  margin: 12px 0 5px;
}
.stat-foot {
  font-size: 11px;
  color: var(--muted);
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr);
  gap: 22px;
  margin-bottom: 22px;
}
.panel {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 23px;
  min-width: 0;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}
.panel-head p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 5px;
  background: #f3ecef;
  padding: 5px 8px;
  font-size: 10px;
  letter-spacing: 0.3px;
  color: #72525e;
  white-space: nowrap;
}
.pill.active,
.pill.Concluído {
  background: #f2e0e6;
  color: #6f3048;
}
.pill.draft,
.pill.Aberto {
  background: #f1ebed;
  color: #776069;
}
.pill.archived,
.pill.Cancelado {
  background: #efecec;
  color: #7c6969;
}
.pill.Urgente,
.pill.Alta {
  background: #fcf0e6;
  color: #a86632;
}
.pill.Média {
  background: #f2e0e7;
  color: #7b3550;
}
.chart {
  display: flex;
  align-items: center;
  gap: 27px;
  min-height: 190px;
}
.donut {
  width: 184px;
  height: 184px;
  flex-shrink: 0;
  transform: rotate(-90deg);
}
.donut text {
  transform: rotate(90deg);
  transform-origin: 90px 90px;
  fill: var(--primary);
  font-size: 30px;
  font-weight: 600;
}
.legend {
  display: grid;
  gap: 14px;
  flex: 1;
}
.legend-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}
.legend-row strong {
  margin-left: auto;
  color: var(--primary);
}
.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 3px;
  flex-shrink: 0;
}
.tone-0 {
  background: #ca628a;
  fill: #ca628a;
  stroke: #ca628a;
}
.tone-1 {
  background: #ecc0d1;
  fill: #ecc0d1;
  stroke: #ecc0d1;
}
.tone-2 {
  background: #a6033f;
  fill: #a6033f;
  stroke: #a6033f;
}
.tone-3 {
  background: #dbaf79;
  fill: #dbaf79;
  stroke: #dbaf79;
}
.tone-4 {
  background: #804362;
  fill: #804362;
  stroke: #804362;
}
.tone-5 {
  background: #d7d0d3;
  fill: #d7d0d3;
  stroke: #d7d0d3;
}
.donut .ring {
  fill: none;
  stroke-width: 20;
}
.kpi-panel {
  margin-bottom: 22px;
}
.kpi-filter {
  display: grid;
  gap: 5px;
  min-width: 220px;
  color: var(--muted);
  font-size: 11px;
}
.kpi-filter select {
  min-height: 38px;
}
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 16px;
}
.kpi-card {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fcf9fa;
}
.kpi-card h3 {
  margin-bottom: 7px;
}
.kpi-card p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}
.kpi-gauge {
  width: 110px;
  height: 110px;
  flex: 0 0 110px;
}
.kpi-gauge circle {
  fill: none;
  stroke-width: 10;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
}
.kpi-track {
  stroke: #eee2e7;
}
.kpi-value {
  stroke: var(--primary);
  stroke-linecap: round;
}
.kpi-card.attention .kpi-value {
  stroke: var(--orange);
}
.kpi-gauge text {
  fill: var(--primary);
  font-size: 14px;
  font-weight: 650;
}
.shortcuts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
  margin: 22px 0;
}
.shortcut {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  text-decoration: none;
}
.shortcut .stat-icon {
  width: 36px;
  height: 36px;
}
.shortcut strong {
  font-size: 12px;
  display: block;
}
.shortcut small {
  font-size: 11px;
  color: var(--muted);
  display: block;
  margin-top: 4px;
}
.shortcut > .icon {
  margin-left: auto;
  width: 15px;
}
.system-highlight {
  background: #f5e8ed;
  border: 1px solid #e7cfd8;
  border-radius: 10px;
  padding: 17px;
  margin-bottom: 13px;
}
.system-highlight h3 {
  margin: 9px 0 7px;
  font-size: 18px;
}
.system-highlight p {
  font-size: 12px;
  line-height: 1.7;
  color: #745e66;
}
.system-highlight a {
  margin-top: 12px;
}
.detail-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid #f2ebee;
  font-size: 12px;
}
.detail-line strong {
  font-weight: 600;
}
.detail-line:last-child {
  border: 0;
}
.table-wrap {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  text-align: left;
}
th {
  font-size: 10px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  padding: 0 12px 14px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
td {
  padding: 16px 12px;
  border-bottom: 1px solid #f0e8eb;
  vertical-align: middle;
}
td:first-child,
th:first-child {
  padding-left: 0;
}
tr:last-child td {
  border-bottom: 0;
}
.ticket-link {
  border: 0;
  padding: 0;
  background: none;
  color: var(--primary);
  text-align: left;
  font-weight: 600;
  line-height: 1.5;
}
.ticket-link small {
  display: block;
  font-weight: 400;
  color: var(--muted);
  margin-top: 4px;
}
.ticket-id {
  color: #8b7c82;
  font-size: 11px;
  white-space: nowrap;
}
.empty {
  padding: 42px 20px;
  text-align: center;
  color: var(--muted);
  line-height: 1.7;
}
.empty .icon {
  width: 28px;
  height: 28px;
  margin-bottom: 10px;
}
.empty h3 {
  color: var(--primary);
  margin-bottom: 7px;
}
.empty p {
  font-size: 13px;
  max-width: 450px;
  margin: 0 auto 15px;
}
.notice {
  padding: 13px 17px;
  background: #f1dde5;
  border: 1px solid #e4c1ce;
  border-radius: 8px;
  color: #817442;
  font-size: 12px;
  line-height: 1.7;
  margin-bottom: 22px;
}
.notice.neutral {
  background: #f0e5e9;
  border-color: #e6d4db;
  color: #725560;
}
.toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.toolbar input {
  max-width: 320px;
}
.toolbar select {
  max-width: 210px;
}
.toolbar .muted {
  font-size: 12px;
  margin-left: auto;
}
.board {
  display: grid;
  grid-template-columns: repeat(6, minmax(248px, 1fr));
  gap: 17px;
  overflow-x: auto;
  padding-bottom: 18px;
  align-items: start;
}
.column {
  background: #efe7ea;
  border: 1px solid #e8dce1;
  border-radius: 10px;
  padding: 14px;
  min-height: 380px;
  max-height: calc(100vh - 230px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.column-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
  flex: 0 0 auto;
}
.column-header strong {
  margin-left: auto;
  border-radius: 4px;
  background: #e5d7dc;
  padding: 4px 7px;
  font-size: 11px;
}
.column-tickets {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding-right: 4px;
}
.column-tickets:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.ticket-card {
  display: block;
  width: 100%;
  text-align: left;
  background: white;
  border: 1px solid #e4d7dc;
  border-radius: 9px;
  padding: 17px;
  margin-bottom: 12px;
  color: var(--primary);
  box-shadow: 0 2px 3px #3d262f10;
}
.ticket-card:hover {
  border-color: #ca628a;
  transform: translateY(-1px);
}
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 11px;
}
.ticket-card h3 {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 8px;
}
.ticket-card p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.6;
}
.card-footer {
  border-top: 1px solid #f0e8eb;
  margin-top: 12px;
  padding-top: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--muted);
}
.column-empty {
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
  padding-top: 35px;
  color: #927f86;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
}
.system-card {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.system-card .system-symbol {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f0dfe6;
  color: #83445c;
  display: grid;
  place-items: center;
  font-size: 19px;
  font-weight: 700;
}
.system-card h2 {
  margin-top: 4px;
}
.system-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.system-card .button-row {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.team-card {
  margin-bottom: 20px;
}
.team-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 18px;
}
.team-header p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 7px;
}
.assigned {
  margin-top: 17px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--muted);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
}
.field.full {
  grid-column: 1/-1;
}
.field small {
  font-weight: 400;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #e2d5da;
  border-radius: 7px;
  padding: 10px 11px;
  background: #fff;
  color: var(--primary);
  font-size: 13px;
  outline: none;
}
input:focus,
select:focus,
textarea:focus {
  border-color: #9b6077;
  box-shadow: 0 0 0 3px #b8779022;
}
textarea {
  min-height: 100px;
  resize: vertical;
  line-height: 1.6;
}
input[type='checkbox'] {
  width: auto;
  accent-color: var(--primary);
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}
legend {
  font-size: 14px;
  font-weight: 650;
  margin-bottom: 15px;
}
.form-section {
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 23px;
}
.form-error {
  background: #fff0ec;
  color: #9c4937;
  border-radius: 7px;
  padding: 11px;
  font-size: 12px;
  margin: 14px 0;
  line-height: 1.5;
}
.form-error:empty {
  display: none;
}
.form-hint {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.checkbox-row {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  margin-bottom: 8px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 0;
  width: min(690px, calc(100vw - 32px));
  max-height: 90vh;
  color: var(--primary);
  box-shadow: 0 20px 100px #172e3530;
}
dialog.wide {
  width: min(1000px, calc(100vw - 32px));
}
dialog::backdrop {
  background: #29161d77;
  backdrop-filter: blur(3px);
}
.modal-header {
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}
.modal-header h2 {
  font-size: 19px;
}
.modal-body {
  padding: 24px 26px;
}
.ticket-detail-grid {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 25px;
}
.ticket-description h3 {
  font-size: 12px;
  margin: 20px 0 7px;
}
.ticket-description p {
  font-size: 13px;
  line-height: 1.75;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.ticket-detail-grid aside {
  border-left: 1px solid var(--line);
  padding-left: 23px;
}
.ticket-detail-grid aside .field {
  margin-bottom: 13px;
}
.timeline {
  border-top: 1px solid var(--line);
  margin-top: 26px;
  padding-top: 22px;
}
.event {
  border-left: 2px solid #ebdee3;
  padding: 0 0 20px 16px;
  font-size: 12px;
  margin-left: 5px;
}
.event:last-child {
  padding-bottom: 0;
}
.event-head {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-bottom: 8px;
}
.event time {
  color: var(--muted);
  font-size: 10px;
  margin-left: auto;
}
.event p {
  color: #736067;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.event-status {
  font-size: 10px;
  color: #855366;
  margin-bottom: 6px;
}
.notification {
  display: flex;
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.notification.unread .avatar {
  background: #e9cbd7;
}
.notification .ticket-link {
  font-size: 13px;
  font-weight: 500;
}
.notification time {
  font-size: 11px;
  color: var(--muted);
  display: block;
  margin-top: 6px;
}
.notification > .pill {
  margin-left: auto;
}
.login-layout {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 32px 20px;
}
.login-card {
  width: 100%;
  max-width: 440px;
  padding: 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 16px 48px #a6033f09;
}
.login-logo {
  width: 100%;
  max-width: 340px;
  height: 104px;
  margin: 0 auto 24px;
}
.login-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}
.login-form {
  width: 100%;
  max-width: 100%;
}
.login-form h2 {
  text-align: center;
  font-size: 27px;
  letter-spacing: -1px;
  margin: 10px 0;
}
.login-form > p {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 29px;
}
.login-form .field {
  margin-bottom: 18px;
}
.login-form .btn {
  width: 100%;
  margin-top: 5px;
}
.login-help {
  font-size: 11px;
  line-height: 1.7;
  margin-top: 25px;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 13px 21px;
  border-radius: 9px;
  font-size: 13px;
  z-index: 100;
  box-shadow: 0 8px 30px #122c3322;
  max-width: 90vw;
  display: none;
}
#toast.show {
  display: block;
}
.profile-panel {
  max-width: 650px;
}
.section-spacer {
  margin-top: 25px;
}
.row-progress {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 16px 0;
  font-size: 12px;
}
.row-progress span {
  width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.row-progress meter {
  flex: 1;
  width: 100%;
  height: 15px;
}
.row-progress strong {
  min-width: 30px;
  text-align: right;
}
.row-progress meter::-webkit-meter-optimum-value {
  background: var(--primary);
}
.row-progress meter::-moz-meter-bar {
  background: var(--primary);
}
.muted-link {
  font-size: 11px;
  color: var(--muted);
}
@media (min-width: 1500px) {
  .content {
    padding: 40px 48px;
  }
  .topbar {
    padding-left: 48px;
    padding-right: 48px;
  }
}
@media (max-width: 1150px) {
  .layout {
    grid-template-columns: 200px 1fr;
  }
  .sidebar {
    padding: 25px 12px;
  }
  .content {
    padding: 28px 24px;
  }
  .topbar {
    padding: 17px 24px;
  }
  .summary {
    gap: 10px;
  }
  .stat {
    padding: 17px;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .chart {
    justify-content: center;
  }
  .legend {
    max-width: 360px;
  }
  .shortcuts {
    gap: 8px;
  }
  .shortcut {
    padding: 13px;
  }
  .shortcut small {
    display: none;
  }
}
@media (max-width: 760px) {
  h1 {
    font-size: 26px;
  }
  .layout {
    display: block;
  }
  .sidebar {
    position: static;
    height: auto;
    padding: 16px;
    gap: 17px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .sidebar .brand {
    font-size: 25px;
    padding: 0;
  }
  .brand-mark {
    width: 32px;
    height: 32px;
    font-size: 28px;
  }
  .workspace-label,
  .sidebar-bottom {
    display: none;
  }
  .nav {
    display: flex;
    overflow-x: auto;
    gap: 5px;
    padding-bottom: 2px;
  }
  .nav a {
    padding: 9px 11px;
    white-space: nowrap;
    font-size: 11px;
    gap: 7px;
  }
  .nav .icon {
    width: 15px;
    height: 15px;
  }
  .topbar {
    padding: 13px 18px;
    min-height: 60px;
  }
  .breadcrumb {
    display: none;
  }
  .top-actions {
    width: 100%;
    justify-content: space-between;
  }
  .class-select {
    max-width: 75%;
  }
  .content {
    padding: 24px 18px;
  }
  .page-heading {
    align-items: flex-start;
    gap: 12px;
  }
  .page-heading .btn {
    font-size: 11px;
    padding: 9px;
  }
  .page-heading p {
    font-size: 12px;
  }
  .eyebrow {
    font-size: 10px;
  }
  .summary {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .kpi-grid {
    grid-template-columns: 1fr;
  }
  .kpi-panel .panel-head {
    align-items: stretch;
    flex-direction: column;
  }
  .kpi-filter {
    min-width: 0;
  }
  .stat-value {
    font-size: 28px;
  }
  .stat-top {
    font-size: 11px;
  }
  .stat-foot {
    font-size: 10px;
  }
  .panel {
    padding: 17px;
  }
  .chart {
    gap: 15px;
  }
  .donut {
    width: 145px;
    height: 145px;
  }
  .legend-row {
    font-size: 10px;
  }
  .legend {
    gap: 12px;
  }
  .shortcuts {
    grid-template-columns: 1fr;
  }
  .shortcut {
    padding: 12px;
  }
  .shortcut small {
    display: block;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .field.full {
    grid-column: auto;
  }
  .ticket-detail-grid {
    grid-template-columns: 1fr;
  }
  .ticket-detail-grid aside {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 20px 0 0;
  }
  .modal-body {
    padding: 20px;
  }
  .modal-header {
    padding: 18px 20px;
  }
  .team-header {
    flex-direction: column;
  }
  .login-layout {
    padding: 24px 16px;
  }
  .login-card {
    padding: 28px 24px;
  }
  .toolbar input {
    max-width: 100%;
  }
  .toolbar .muted {
    width: 100%;
    margin: 0;
  }
  .cards-grid {
    grid-template-columns: 1fr;
  }
  td {
    padding: 13px 10px;
  }
  .button-row {
    gap: 7px;
  }
  .row-progress span {
    width: 85px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    transform: none !important;
  }
  .donut {
    transform: rotate(-90deg) !important;
  }
  .donut text {
    transform: rotate(90deg) !important;
  }
}
