body {
  background: #f6f7f9;
  color: #1f2933;
}

.auth-shell {
  align-items: stretch;
  background:
    radial-gradient(circle at 8% 54%, rgba(0, 122, 255, 0.22), transparent 21rem),
    radial-gradient(circle at 76% 20%, rgba(237, 18, 31, 0.08), transparent 22rem),
    linear-gradient(115deg, #010611 0%, #041020 48%, #050914 100%);
  display: flex;
  min-height: 100vh;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  position: relative;
}

.auth-card {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(31, 41, 51, 0.08);
  max-width: 420px;
  padding: 2rem;
  width: 100%;
}

.start-page {
  align-items: center;
  color: #f8fafc;
  display: grid;
  gap: clamp(2rem, 4vw, 5rem);
  grid-template-columns: minmax(0, 1fr) clamp(318px, 33vw, 430px);
  isolation: isolate;
  min-height: 100vh;
  overflow: hidden;
  padding: clamp(1rem, 3vw, 3.25rem);
  position: relative;
  width: min(1220px, 100%);
}

.start-page::before,
.start-page::after {
  content: "";
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.start-page::before {
  background:
    linear-gradient(28deg, transparent 0 44%, rgba(46, 141, 255, .28) 44.2% 44.7%, transparent 45%),
    linear-gradient(148deg, transparent 0 36%, rgba(46, 141, 255, .18) 36.2% 36.5%, transparent 37%),
    linear-gradient(90deg, rgba(42, 148, 255, .45), transparent 38%),
    radial-gradient(circle, rgba(46, 141, 255, .85) 0 1px, transparent 2px);
  background-size: 42rem 32rem, 38rem 28rem, 100% 100%, 5.2rem 5.2rem;
  inset: 0 auto 0 calc(50% - 50vw);
  opacity: .48;
  width: 44vw;
}

.start-page::after {
  border: 1px solid rgba(239, 18, 31, .55);
  box-shadow: inset 0 0 0 1px rgba(239, 18, 31, .16);
  inset: 0;
}

.start-page__language {
  align-items: center;
  background: rgba(13, 21, 35, .78);
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 12px;
  color: #dbe4ef;
  display: flex;
  font-size: .8rem;
  gap: .45rem;
  padding: .62rem .9rem;
  position: absolute;
  right: clamp(1rem, 2vw, 1.2rem);
  top: .35rem;
}

.start-page__network {
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.start-page__network span {
  background: #51a7ff;
  border-radius: 999px;
  box-shadow: 0 0 18px rgba(81, 167, 255, .9);
  height: var(--s);
  left: var(--x);
  opacity: .85;
  position: absolute;
  top: var(--y);
  width: var(--s);
}

.start-page__brand-panel {
  display: grid;
  justify-items: center;
  padding-top: 0;
  text-align: center;
}

.chaplin-hero-logo {
  align-items: center;
  display: grid;
  justify-items: center;
}

.chaplin-hero-logo__icon {
  display: block;
  height: clamp(42px, 6vw, 58px);
  margin-bottom: .35rem;
  position: relative;
  width: clamp(52px, 7vw, 68px);
}

.chaplin-hero-logo__hat,
.chaplin-hero-logo__face {
  background: #fff;
  display: block;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
}

.chaplin-hero-logo__hat {
  border-radius: 999px 999px 12px 12px;
  box-shadow: -14px 26px 0 -11px #fff, 14px 26px 0 -11px #fff;
  height: clamp(19px, 2.7vw, 25px);
  top: 1px;
  width: clamp(27px, 3.8vw, 34px);
}

.chaplin-hero-logo__hat::after {
  background: #fff;
  border-radius: 999px;
  bottom: -4px;
  box-shadow: 0 2px 10px rgba(255,255,255,.28);
  content: "";
  height: 6px;
  left: -10px;
  position: absolute;
  width: 54px;
}

.chaplin-hero-logo__face {
  border-radius: 40% 40% 48% 48%;
  height: clamp(20px, 3vw, 27px);
  top: clamp(23px, 3.25vw, 29px);
  width: clamp(20px, 3vw, 26px);
}

.chaplin-hero-logo__face::before,
.chaplin-hero-logo__face::after {
  background: #020817;
  border-radius: 50%;
  content: "";
  height: 4px;
  position: absolute;
  top: 10px;
  width: 4px;
}

.chaplin-hero-logo__face::before { left: 6px; }
.chaplin-hero-logo__face::after { right: 6px; }

.chaplin-hero-logo strong {
  color: #ef121f;
  font-size: clamp(3rem, 5.65vw, 4.75rem);
  font-weight: 900;
  letter-spacing: -.08em;
  line-height: .9;
  text-shadow: 0 8px 34px rgba(239, 18, 31, .22);
}

.chaplin-hero-logo > span:last-child {
  align-items: center;
  color: #b9c1ce;
  display: flex;
  font-size: clamp(.82rem, 1.45vw, 1.35rem);
  font-weight: 700;
  gap: .75rem;
  letter-spacing: .35em;
  margin-top: .35rem;
}

.chaplin-hero-logo i,
.start-page__headline p::after {
  background: linear-gradient(90deg, transparent, #ef121f, transparent);
  display: block;
  height: 1px;
}

.chaplin-hero-logo i {
  width: 2rem;
}

.start-page__headline {
  margin-top: clamp(1.15rem, 3vw, 3rem);
}

.start-page__headline h1 {
  color: #fff;
  font-size: clamp(2.7rem, 5.1vw, 5rem);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: .95;
  margin: 0;
  text-shadow: 0 2px 0 rgba(0,0,0,.45), 0 0 22px rgba(255,255,255,.22);
}

.start-page__headline p {
  color: #b7bfca;
  font-size: clamp(1rem, 2vw, 1.65rem);
  margin: .7rem 0 0;
}

.start-page__headline p::after {
  content: "";
  margin: .85rem auto 0;
  width: 6rem;
}

.start-page__features {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  margin-top: clamp(1.8rem, 5vw, 4.4rem);
  max-width: 720px;
  width: 100%;
}

.start-page__features article {
  border-right: 1px solid rgba(148, 163, 184, .16);
  min-height: clamp(96px, 14vw, 132px);
  padding: .15rem clamp(.7rem, 1.8vw, 1.4rem);
}

.start-page__features article:last-child {
  border-right: 0;
}

.start-page__features svg {
  fill: none;
  height: clamp(32px, 4.2vw, 44px);
  margin-bottom: .55rem;
  stroke: #ef121f;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
  width: clamp(32px, 4.2vw, 44px);
}

.start-page__features strong {
  color: #fff;
  display: block;
  font-size: clamp(.68rem, .95vw, .86rem);
  font-weight: 800;
  letter-spacing: .04em;
  margin-bottom: .4rem;
  text-transform: uppercase;
}

.start-page__features p {
  color: #a6b0bf;
  font-size: clamp(.62rem, .85vw, .8rem);
  line-height: 1.55;
  margin: 0;
}

.auth-card--chaplin {
  align-self: center;
  background: linear-gradient(145deg, rgba(15, 25, 41, .94), rgba(6, 12, 24, .96));
  border: 1px solid rgba(148, 163, 184, .15);
  border-radius: 18px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .36), inset 0 1px 0 rgba(255,255,255,.04);
  color: #e9eef7;
  max-width: none;
  padding: clamp(1.35rem, 2.7vw, 2.25rem);
}

.auth-card__icon {
  align-items: center;
  border: 1px solid rgba(239, 18, 31, .7);
  border-radius: 50%;
  color: #ef121f;
  display: flex;
  height: clamp(58px, 7vw, 78px);
  justify-content: center;
  margin: 0 auto clamp(.65rem, 1.4vw, 1.1rem);
  width: clamp(58px, 7vw, 78px);
}

.auth-card__icon svg,
.auth-field__control svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.auth-card__icon svg {
  height: clamp(31px, 4vw, 42px);
  width: clamp(31px, 4vw, 42px);
}

.auth-card__heading {
  text-align: center;
}

.auth-card__heading h2 {
  color: #fff;
  font-size: clamp(1.16rem, 1.8vw, 1.45rem);
  font-weight: 800;
  margin: 0 0 .4rem;
}

.auth-card__heading p {
  color: #aab4c3;
  font-size: clamp(.75rem, 1.05vw, .95rem);
  line-height: 1.5;
  margin: 0 0 clamp(.9rem, 2vw, 1.45rem);
}

.auth-field {
  margin-bottom: clamp(.65rem, 1.4vw, 1rem);
}

.auth-field label {
  color: #aeb8c7;
  display: block;
  font-size: clamp(.72rem, .95vw, .85rem);
  margin: 0 0 .35rem;
}

.auth-field__control {
  align-items: center;
  background: rgba(31, 42, 58, .72);
  border: 1px solid rgba(148, 163, 184, .12);
  border-radius: 10px;
  color: #9aa7b8;
  display: flex;
  gap: .65rem;
  min-height: clamp(37px, 4.7vw, 52px);
  padding: 0 clamp(.8rem, 1.4vw, 1rem);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.auth-field__control:focus-within {
  background: rgba(35, 48, 66, .84);
  border-color: rgba(239, 18, 31, .55);
  box-shadow: 0 0 0 4px rgba(239, 18, 31, .1);
}

.auth-field__control svg {
  flex: 0 0 auto;
  height: clamp(16px, 1.9vw, 20px);
  width: clamp(16px, 1.9vw, 20px);
}

.auth-field__control input {
  background: transparent;
  border: 0;
  color: #f8fafc;
  flex: 1;
  font-size: clamp(.74rem, 1vw, .95rem);
  min-width: 0;
  outline: 0;
}

.auth-field__control input::placeholder {
  color: #7d8899;
}

.auth-card__options {
  align-items: center;
  color: #aeb8c7;
  display: flex;
  font-size: clamp(.68rem, .9vw, .86rem);
  justify-content: space-between;
  margin: .2rem 0 clamp(.95rem, 2vw, 1.35rem);
}

.auth-card__options > span {
  color: #ef121f;
  font-weight: 600;
}

.auth-check {
  align-items: center;
  cursor: pointer;
  display: inline-flex;
  gap: .55rem;
}

.auth-check input {
  accent-color: #ef121f;
  height: 16px;
  width: 16px;
}

.auth-submit {
  background: linear-gradient(180deg, #f21a29, #d90f1d);
  border: 0;
  border-radius: 10px;
  box-shadow: 0 14px 28px rgba(239, 18, 31, .24);
  color: #fff;
  font-weight: 800;
  min-height: clamp(37px, 4.8vw, 54px);
  transition: transform .18s ease, box-shadow .18s ease;
  width: 100%;
}

.auth-submit:hover {
  box-shadow: 0 18px 36px rgba(239, 18, 31, .32);
  transform: translateY(-1px);
}

.auth-shell .flash-stack {
  left: 50%;
  max-width: 430px;
  position: fixed;
  top: 1.2rem;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  z-index: 10;
}

@media (max-width: 760px) {
  .auth-shell {
    overflow: auto;
  }

  .start-page {
    grid-template-columns: 1fr;
    padding-top: 4.2rem;
  }

  .start-page__features {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
  }

  .start-page__features article:nth-child(2) {
    border-right: 0;
  }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .start-page {
    padding: 0 16px;
  }

  .chaplin-hero-logo__icon {
    height: 56px;
    width: 64px;
  }

  .chaplin-hero-logo strong {
    font-size: 50px;
  }

  .chaplin-hero-logo > span:last-child {
    font-size: 13px;
  }

  .start-page__headline {
    margin-top: 12px;
  }

  .start-page__headline h1 {
    font-size: 45px;
  }

  .start-page__headline p {
    font-size: 18px;
    margin-top: 6px;
  }

  .start-page__headline p::after {
    margin-top: 8px;
  }

  .start-page__features {
    margin-top: 33px;
    max-width: 500px;
  }

  .start-page__features article {
    min-height: 104px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .start-page__features svg {
    height: 34px;
    margin-bottom: 8px;
    width: 34px;
  }

  .start-page__features strong {
    font-size: 11px;
    margin-bottom: 6px;
  }

  .start-page__features p {
    font-size: 10px;
    line-height: 1.45;
  }

  .auth-card--chaplin {
    padding: 19px 24px;
    transform: translateY(32px);
  }

  .auth-card__icon {
    height: 60px;
    margin-bottom: 10px;
    width: 60px;
  }

  .auth-card__icon svg {
    height: 32px;
    width: 32px;
  }

  .auth-card__heading h2 {
    font-size: 20px;
    margin-bottom: 6px;
  }

  .auth-card__heading p {
    font-size: 12px;
    line-height: 1.45;
    margin-bottom: 14px;
  }

  .auth-field {
    margin-bottom: 10px;
  }

  .auth-field label {
    font-size: 12px;
    margin-bottom: 6px;
  }

  .auth-field__control {
    min-height: 37px;
  }

  .auth-field__control input {
    font-size: 12px;
  }

  .auth-card__options {
    font-size: 11px;
    margin: 2px 0 14px;
  }

  .auth-check input {
    height: 14px;
    width: 14px;
  }

  .auth-submit {
    min-height: 37px;
  }
}

@media (max-width: 560px) {
  .start-page {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .chaplin-hero-logo > span:last-child {
    letter-spacing: .2em;
  }

  .start-page__features {
    grid-template-columns: 1fr;
  }

  .start-page__features article {
    border-bottom: 1px solid rgba(148, 163, 184, .16);
    border-right: 0;
    min-height: auto;
    padding: 1rem 0;
  }

  .start-page__features article:last-child {
    border-bottom: 0;
  }
}

.flash-stack {
  margin: 0 auto;
  max-width: 960px;
}

.metric {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 1.25rem;
}

.metric-label {
  color: #6c757d;
  display: block;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.metric strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.top-initiators-card {
  min-height: 100%;
}

.top-initiators-list {
  display: grid;
  gap: 0.4rem;
  margin: 0.25rem 0 0.5rem;
}

.top-initiator-row {
  align-items: center;
  border-bottom: 1px solid #eef2f6;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 0.25rem 0;
}

.top-initiator-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-initiator-row strong {
  font-size: 1.15rem;
}

.top-initiators-card em {
  color: #64748b;
  display: block;
  font-size: 0.85rem;
  font-style: normal;
}

.status-message-card {
  color: inherit;
  display: block;
  text-decoration: none;
}

.status-message-card em {
  color: #64748b;
  display: block;
  font-size: 0.85rem;
  font-style: normal;
  margin-top: 0.5rem;
}

.status-message-card.has-message {
  border-color: #dc3545;
  border-left: 5px solid #dc3545;
}

.status-message-card.has-message strong,
.status-message-card.has-message em {
  color: #dc3545;
}

.status-message-card:hover {
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.table {
  background: #fff;
  border: 1px solid #dee2e6;
}

.ticket-form {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 1.5rem;
}

.accept-form {
  display: grid;
  gap: 0.5rem;
  justify-items: end;
  min-width: 220px;
}

.dashboard-panel {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 1.25rem;
}

.cabinet-header {
  align-items: end;
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 1.25rem;
}

.cabinet-header h1 {
  font-size: 1.75rem;
  margin: 0.1rem 0;
}

.cabinet-header p {
  color: #64748b;
  margin: 0;
}

.cabinet-eyebrow {
  color: #2563eb;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.cabinet-metrics {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.cabinet-board {
  align-items: start;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(260px, 1fr));
}

.cabinet-column {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  overflow: hidden;
}

.cabinet-column-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 64px;
  padding: 1rem;
}


.cabinet-column-header span {
  font-weight: 700;
}

.cabinet-column-header strong {
  font-size: 1.7rem;
  line-height: 1;
}

.cabinet-column-body {
  display: grid;
  gap: 0.9rem;
  max-height: calc(100vh - 300px);
  min-height: 220px;
  overflow-y: auto;
  padding: 1rem;
}

.cabinet-ticket-card {
  gap: 0.75rem;
  padding: 0.9rem;
}

.ticket-countdown-box {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: 0.65rem;
}

.ticket-countdown-box em {
  color: #2563eb;
  font-style: normal;
  font-weight: 700;
}

.ticket-countdown-box.is-muted {
  background: #f8fafc;
  border-color: #dee2e6;
}

.ticket-countdown-box.is-muted em {
  color: #64748b;
  font-weight: 500;
}

.ticket-countdown-box.is-overdue {
  background: #fff1f2;
  border-color: #fecdd3;
}

.ticket-countdown-box.is-overdue em {
  color: #dc3545;
}

.cabinet-empty {
  color: #64748b;
  margin: 0;
  padding: 0.25rem;
}

.customer-portal { display:grid; grid-template-columns:205px minmax(0,1fr); gap:1.25rem; min-height:calc(100vh - 130px); }
.customer-portal__sidebar { background:#0c1627; border-radius:14px; color:#dce7f8; padding:1rem; }
.customer-portal__brand { border-bottom:1px solid rgb(255 255 255 / 15%); display:grid; gap:.22rem; padding:.45rem .5rem 1rem; }
.customer-portal__brand b { color:#ef3340; font-size:1.25rem; }
.customer-portal__brand span { font-size:.62rem; letter-spacing:.08em; }
.customer-portal__profile { background:rgb(255 255 255 / 9%); border-radius:10px; display:grid; gap:.3rem; margin:1rem 0; padding:.75rem; }
.customer-portal__profile strong { color:#fff; font-size:.85rem; }
.customer-portal__profile small { color:#aebed8; font-size:.7rem; }
.customer-portal__sidebar nav { display:grid; gap:.3rem; }
.customer-portal__sidebar nav a { border-radius:8px; color:#c3d0e5; font-size:.8rem; padding:.65rem .7rem; text-decoration:none; }
.customer-portal__sidebar nav a:hover,.customer-portal__sidebar nav a.is-active { background:#ef3340; color:#fff; }
.customer-portal__main { min-width:0; }
.customer-portal__legacy { display:none; }
.customer-summary { display:grid; gap:.75rem; grid-template-columns:repeat(5,minmax(0,1fr)); margin:0 0 1rem; }
.customer-summary article { background:#fff; border:1px solid #e6ebf2; border-radius:12px; box-shadow:0 3px 12px rgb(18 41 75 / 5%); display:grid; gap:.3rem; min-height:100px; padding:.85rem; }
.customer-summary span { color:#71809b; font-size:.7rem; }
.customer-summary strong { color:#182945; font-size:1.55rem; line-height:1; }
.customer-summary em { color:#8a99b2; font-size:.64rem; font-style:normal; }
.customer-summary .is-green { border-top:3px solid #1bbf72; }.customer-summary .is-blue { border-top:3px solid #429af4; }.customer-summary .is-orange { border-top:3px solid #ff9e42; }.customer-summary .is-red { border-top:3px solid #ef4e58; }
.customer-portal .cabinet-header { align-items:center; background:#fff; border:1px solid #e6ebf2; border-radius:12px; display:flex; justify-content:space-between; padding:1rem 1.15rem; }
.customer-portal .cabinet-header h1 { color:#172642; font-size:1.2rem; margin:.15rem 0; }
.customer-portal .cabinet-header p { color:#71809b; font-size:.75rem; margin:0; }
.kanban-period-filter { align-items:center; display:flex; gap:.35rem; justify-content:flex-end; margin:0 0 .55rem; }.kanban-period-filter span { color:#70819b; font-size:.72rem; margin-right:.25rem; }.kanban-period-filter a { background:#fff; border:1px solid #dfe7f1; border-radius:7px; color:#52647f; font-size:.7rem; font-weight:650; padding:.42rem .65rem; text-decoration:none; }.kanban-period-filter a:hover,.kanban-period-filter a.is-active { background:#2878f0; border-color:#2878f0; color:#fff; }
.customer-insights { display:grid; gap:.85rem; grid-template-columns:1.35fr .78fr .95fr; margin:0 0 1rem; }.customer-insights article { background:#fff; border:1px solid #e5ebf3; border-radius:12px; box-shadow:0 3px 12px rgb(18 41 75 / 5%); min-height:220px; padding:.9rem; }.customer-insights header { align-items:center; display:flex; justify-content:space-between; }.customer-insights header strong { color:#1e2c45; font-size:.82rem; }.customer-insights header span { color:#71809b; font-size:.68rem; }.customer-insights__chart canvas { display:block; height:175px; margin-top:.45rem; width:100%; }.customer-insights__initiators ol { counter-reset:item; list-style:none; margin:.6rem 0; padding:0; }.customer-insights__initiators li { border-bottom:1px solid #edf1f5; color:#3d4d68; display:grid; font-size:.72rem; gap:.5rem; grid-template-columns:18px 1fr 20px; padding:.42rem 0; }.customer-insights__initiators li::before { content:counter(item) "."; counter-increment:item; color:#7c8da7; }.customer-insights__initiators li b { color:#24354f; text-align:right; }.customer-insights__initiators em { color:#7c8da7; font-size:.68rem; font-style:normal; }.customer-insights__status { display:grid; grid-template-columns:135px 1fr; grid-template-rows:auto 1fr; }.customer-insights__status header { grid-column:1 / -1; }.customer-donut { align-items:center; border-radius:50%; display:flex; height:135px; justify-content:center; margin-top:.55rem; width:135px; }.customer-donut>div { align-items:center; background:#fff; border-radius:50%; display:flex; flex-direction:column; height:82px; justify-content:center; width:82px; }.customer-donut b { color:#1e2c45; font-size:1.35rem; }.customer-donut small { color:#7889a3; font-size:.62rem; }.customer-insights__status ul { align-content:center; display:grid; gap:.55rem; list-style:none; margin:.4rem 0 0; padding:0; }.customer-insights__status li { align-items:center; color:#53647e; display:grid; font-size:.65rem; gap:.35rem; grid-template-columns:8px 1fr auto; }.customer-insights__status i { border-radius:50%; height:8px; width:8px; }.customer-insights__status li b { color:#263850; font-weight:700; }
.service-desk-on-shift { align-items:center; background:linear-gradient(100deg,#eef6ff,#f8fbff); border:1px solid #d8e9ff; border-radius:12px; display:flex; gap:.8rem; margin:0 0 1rem; padding:.8rem 1rem; }
.service-desk-on-shift__icon { align-items:center; background:#2878f0; border-radius:50%; display:inline-flex; font-size:1.2rem; height:38px; justify-content:center; width:38px; }
.service-desk-on-shift div { display:grid; gap:.1rem; }.service-desk-on-shift small { color:#71809b; font-size:.7rem; }.service-desk-on-shift strong { color:#1d365c; font-size:.95rem; }.call-center-button { align-items:center; background:#1769e8; border-radius:9px; color:#fff; display:grid; gap:0 .35rem; grid-template-columns:auto 1fr; grid-template-rows:1fr 1fr; margin-left:.35rem; min-width:180px; padding:.48rem .7rem; text-decoration:none; transition:transform .18s ease,background .18s ease; }.call-center-button:hover { background:#0755c5; color:#fff; transform:translateY(-1px); }.call-center-button span { font-size:1.25rem; grid-row:1 / span 2; }.call-center-button b { font-size:.78rem; line-height:1; }.call-center-button small { color:#dfeeff; font-size:.68rem; line-height:1; }.service-desk-on-shift em { color:#6f83a2; font-size:.72rem; font-style:normal; margin-left:auto; }.customer-message-button { align-items:center; background:#f04452; border-radius:9px; color:#fff; display:grid; font-weight:750; gap:0 .35rem; grid-template-columns:auto 1fr; grid-template-rows:1fr 1fr; min-width:180px; padding:.48rem .7rem; position:relative; text-decoration:none; transition:transform .18s ease,background .18s ease; }.customer-message-button:hover { background:#d72e3c; color:#fff; transform:translateY(-1px); }.customer-message-button>span { font-size:1.25rem; grid-row:1 / span 2; }.customer-message-button b { font-size:.8rem; line-height:1; }.customer-message-button::after { color:#ffe6e8; content:"Открыть новые сообщения"; font-size:.62rem; line-height:1; }.customer-message-button i { align-items:center; background:#fff; border:2px solid #f04452; border-radius:50%; color:#dc2e3b; display:flex; font-size:.61rem; font-style:normal; height:21px; justify-content:center; min-width:21px; position:absolute; right:-7px; top:-7px; }.customer-message-toast { align-items:center; background:#1f3150; border-radius:10px; bottom:20px; box-shadow:0 12px 28px rgb(12 31 61 / 28%); color:#fff; display:flex; gap:.65rem; max-width:360px; padding:.8rem 1rem; position:fixed; right:20px; z-index:1100; }.customer-message-toast>span { font-size:1.3rem; }.customer-message-toast div { display:grid; gap:.16rem; }.customer-message-toast small { color:#d5e5ff; font-size:.72rem; }
.customer-portal .cabinet-board { background:#f3f6fa; border:1px solid #e2e8f0; border-radius:12px; gap:.75rem; padding:.75rem; }
.customer-portal .cabinet-column { border-color:#dbe4ef; border-radius:10px; }.customer-portal .cabinet-column-body { background:#f8fafc; }
@media (max-width:1100px) { .customer-portal { grid-template-columns:1fr; }.customer-portal__sidebar { display:flex; gap:1rem; align-items:center; }.customer-portal__sidebar nav { display:flex; }.customer-summary { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:1000px) { .customer-insights { grid-template-columns:1fr; }.customer-insights__status { min-height:180px; } }
@media (max-width:650px) { .customer-portal__sidebar { display:block; }.customer-portal__sidebar nav { display:grid; }.customer-summary { grid-template-columns:repeat(2,minmax(0,1fr)); }.customer-portal .cabinet-header { align-items:flex-start; flex-direction:column; } }

.ticket-detail-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
}

.user-status-box {
  background: #f8fafc;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 1rem;
}

.user-status-box p {
  margin: 0;
}

.user-status-box span {
  color: #64748b;
  display: block;
  font-size: 0.8rem;
  margin-top: 0.75rem;
}

.deadline-box {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-left: 5px solid #2563eb;
  border-radius: 8px;
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
}

.deadline-box span {
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.deadline-box strong {
  font-size: 1.25rem;
}

.deadline-box em {
  color: #2563eb;
  font-style: normal;
  font-weight: 700;
}

.deadline-box.is-overdue {
  background: #fff1f2;
  border-color: #fecdd3;
  border-left-color: #dc3545;
}

.deadline-box.is-overdue em {
  color: #dc3545;
}

.status-request-list {
  display: grid;
  gap: 0.65rem;
}

.status-request-item {
  align-items: center;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  color: inherit;
  display: grid;
  gap: 0.35rem;
  grid-template-columns: 120px 1fr auto;
  padding: 0.75rem;
  text-decoration: none;
}

.status-request-item:hover {
  background: #f8fafc;
}

.status-request-item span {
  color: #334155;
}

.status-request-item em {
  color: #64748b;
  font-style: normal;
  font-size: 0.85rem;
}

.dashboard-toolbar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
  max-width: none;
}

.dashboard-topbar {
  align-items: center !important;
  gap: 1rem;
}

.dashboard-page-title,
.legacy-shift-panel {
  display: none;
}

.duty-toolbar-card {
  align-items: center;
  background: #fff;
  border-radius: 0 0 8px 8px;
  display: flex;
  gap: 1.5rem;
  min-height: 74px;
  padding: 0.75rem 1rem;
}

.duty-toolbar-card > div {
  display: grid;
  gap: 0.2rem;
}

.duty-toolbar-card strong {
  font-size: 1rem;
}

.duty-toolbar-card .text-secondary {
  font-size: 0.8rem;
}

.duty-toolbar-card form {
  margin: 0;
}

.dashboard-toolbar form {
  margin: 0;
}

.dashboard-toolbar .btn {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  min-height: 40px;
  white-space: nowrap;
}

.sync-status {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
}

.sync-status > strong,
.sync-status > span {
  display: none;
}

.sync-status-compact {
  align-items: center;
  display: flex;
  font-size: 0.85rem;
  font-weight: 600;
  gap: 0.4rem;
  white-space: nowrap;
}

.sync-status-icon {
  align-items: center;
  border-radius: 50%;
  display: inline-flex;
  font-size: 1rem;
  height: 20px;
  justify-content: center;
  width: 20px;
}

.sync-status-icon-success {
  background: #d1e7dd;
  color: #198754;
}

.sync-status-icon-running {
  animation: sync-hourglass-spin 1.2s linear infinite;
  color: #b58105;
}

.sync-status-icon-error {
  background: #f8d7da;
  color: #dc3545;
}

@keyframes sync-hourglass-spin {
  to { transform: rotate(360deg); }
}

.sync-status strong {
  font-size: 0.85rem;
}

.sync-status span {
  color: #64748b;
  font-size: 0.78rem;
}

.sync-status-success {
  border-left-color: #198754;
}

.sync-status-running,
.sync-status-busy {
  border-left-color: #ffc107;
}

.sync-status-error {
  border-left-color: #dc3545;
}

.sla-attention-card{align-items:center;background:#ecfdf3;border:1px solid #b7ebcd;border-radius:14px;display:flex;gap:.8rem;margin:-.5rem 0 1rem;padding:.8rem 1rem}.sla-attention-card.has-overdue{background:#fff1f2;border-color:#fecdd3}.sla-attention-icon{font-size:2rem}.sla-attention-card strong,.sla-attention-card span{display:block}.sla-attention-card strong{font-size:1rem}.sla-attention-card div span{color:#65738a;font-size:.83rem}.sla-bomb-toast{align-items:center;background:#202b3e;border-radius:12px;bottom:1.25rem;box-shadow:0 12px 35px #1118;color:#fff;display:grid;gap:0 .55rem;grid-template-columns:auto auto 1fr;left:50%;padding:.9rem 1rem;position:fixed;transform:translateX(-50%);z-index:2000}.sla-bomb-toast span{font-size:1.45rem}.sla-bomb-toast .explode{animation:sla-explode .75s ease-in-out infinite alternate}.sla-bomb-toast small{grid-column:3;color:#d8e0eb}@keyframes sla-explode{to{transform:scale(1.35) rotate(12deg)}}.sla-warning .kanban-tile-timer,.sla-warning .stage-countdown{color:#a66b00}.sla-critical .kanban-tile-timer,.sla-critical .stage-countdown{color:#d92d20}.is-overdue .kanban-tile-timer,.is-overdue .stage-countdown{animation:sla-blink 1s steps(2,end) infinite;color:#d92d20}@keyframes sla-blink{50%{opacity:.25}}

.notification-toggle {
  justify-self: end;
}

.notification-panel {
  align-items: center;
  border-left: 4px solid #dc3545;
  display: flex;
  justify-content: space-between;
}

.notification-panel div {
  display: grid;
  gap: 0.2rem;
}

.notification-panel span {
  color: #64748b;
  font-size: 0.85rem;
}

.alarm-modal {
  border: 2px solid #dc3545;
  box-shadow: 0 20px 60px rgba(220, 53, 69, 0.25);
}

.alarm-modal .modal-header {
  background: #dc3545;
  color: #fff;
}

.alarm-modal .modal-body strong {
  display: block;
  font-size: 1.05rem;
}

.panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.panel-heading h2 {
  font-size: 1rem;
  margin: 0;
}

.panel-heading span {
  color: #6c757d;
  font-size: 0.875rem;
  text-align: right;
}

.daily-bars,
.rank-row {
  display: grid;
  gap: 0.75rem;
}

.daily-row {
  align-items: center;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 110px 1fr 40px;
}

.daily-date,
.daily-count,
.rank-row b {
  font-size: 0.875rem;
}

.daily-count,
.rank-row b {
  text-align: right;
}

.bar-track {
  background: #eef1f4;
  border-radius: 999px;
  height: 10px;
  overflow: hidden;
}

.bar-fill {
  background: #2563eb;
  height: 100%;
  min-width: 4px;
}

.bar-fill.muted {
  background: #64748b;
}

.bar-fill.danger {
  background: #dc3545;
}

.bar-fill.success {
  background: #198754;
}

.rank-row {
  align-items: center;
  grid-template-columns: minmax(140px, 1fr) 2fr 40px;
  margin-bottom: 0.75rem;
}

.rank-row.compact {
  grid-template-columns: minmax(120px, 1fr) 1.5fr 32px;
}

.rank-row div:first-child {
  display: grid;
}

.rank-row strong {
  font-size: 0.875rem;
}

.rank-row span {
  color: #6c757d;
  font-size: 0.75rem;
}

.kanban-summary {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.kanban-tile {
  border-radius: 8px;
  color: #111827;
  display: grid;
  gap: 0.35rem;
  min-height: 74px;
  padding: 0.85rem;
}

.kanban-tile-link {
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.kanban-tile-link:hover {
  color: inherit;
  box-shadow: 0 8px 18px rgb(15 23 42 / 18%);
  transform: translateY(-2px);
}

.kanban-tile span {
  font-size: 0.875rem;
  font-weight: 600;
}

.kanban-tile strong {
  font-size: 1.75rem;
  line-height: 1;
}

.kanban-tile-timer {
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 700;
  margin-top: auto;
}

.status-danger .kanban-tile-timer,
.status-primary .kanban-tile-timer {
  color: #fff;
}

.status-warning {
  background: #ffc107;
}

.status-danger {
  background: #ff5a5f;
  color: #fff;
}

.status-primary {
  background: #4dabf7;
  color: #fff;
}

.status-success {
  background: #22c55e;
}

.status-orange {
  background: #ff9f43;
}

.status-peach {
  background: #ffd8a8;
}

.status-info {
  background: #a5f3fc;
}

.status-secondary {
  background: #e2e8f0;
}

.status-dark {
  background: #343a40;
  color: #fff;
}

.status-purple {
  background: #9f7aea;
  color: #fff;
}

.status-lime {
  background: #75d900;
}

.status-green {
  background: #00c853;
}

.status-red {
  background: #ff0000;
  color: #fff;
}

.status-badge {
  color: #111827;
}

.period-filter {
  align-items: end;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(180px, 240px)) auto;
}

.period-collapsible {
  padding: 0;
}

.period-collapsible summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  padding: 1rem;
}

.period-collapsible summary::-webkit-details-marker {
  display: none;
}

.period-collapsible summary::after {
  color: #64748b;
  content: "⌄";
  float: right;
  font-size: 1.2rem;
  line-height: 1;
}

.period-collapsible[open] summary {
  border-bottom: 1px solid #e5e7eb;
}

.period-collapsible[open] summary::after {
  transform: rotate(180deg);
}

.period-collapsible .period-filter {
  padding: 1rem;
}

.period-actions {
  display: flex;
  gap: 0.5rem;
}

.hourly-chart {
  align-items: end;
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(24, minmax(28px, 1fr));
  min-height: 320px;
  overflow-x: auto;
  padding-top: 0.5rem;
}

.hourly-item {
  align-items: center;
  display: grid;
  gap: 0.4rem;
  grid-template-rows: 22px 250px 18px;
  min-width: 28px;
}

.hourly-count,
.hourly-label {
  color: #64748b;
  font-size: 0.75rem;
  text-align: center;
}

.hourly-bar-wrap {
  align-items: end;
  background: #eef1f4;
  border-radius: 8px;
  display: flex;
  height: 250px;
  overflow: hidden;
  width: 100%;
}

.hourly-bar {
  background: #2563eb;
  border-radius: 8px 8px 0 0;
  min-height: 3px;
  width: 100%;
}

.hourly-item.is-peak .hourly-bar {
  background: #dc3545;
}

.hourly-item.is-peak .hourly-count,
.hourly-item.is-peak .hourly-label {
  color: #dc3545;
  font-weight: 700;
}

.daily-chart {
  align-items: end;
  display: grid;
  gap: 0.6rem;
  grid-auto-flow: column;
  grid-auto-columns: minmax(42px, 1fr);
  min-height: 220px;
  overflow-x: auto;
  padding-top: 0.5rem;
}

.daily-item {
  align-items: center;
  display: grid;
  gap: 0.4rem;
  grid-template-rows: 22px 150px 18px;
}

.daily-label {
  color: #64748b;
  font-size: 0.75rem;
  text-align: center;
  white-space: nowrap;
}

.daily-bar-wrap {
  align-items: end;
  background: #eef1f4;
  border-radius: 8px;
  display: flex;
  height: 150px;
  overflow: hidden;
  width: 100%;
}

.daily-bar {
  background: #198754;
  border-radius: 8px 8px 0 0;
  min-height: 3px;
  width: 100%;
}

.daily-item.is-peak .daily-bar {
  background: #dc3545;
}

.daily-item.is-peak .daily-count,
.daily-item.is-peak .daily-label {
  color: #dc3545;
  font-weight: 700;
}

.ticket-card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.ticket-card {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

.ticket-card-header {
  align-items: center;
  border-bottom: 1px solid #eef1f4;
  display: flex;
  justify-content: space-between;
  padding-bottom: 0.75rem;
}

.ticket-card-header span,
.ticket-card-field span {
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
}

.ticket-card-header strong {
  font-size: 1rem;
}

.ticket-card-body {
  display: grid;
  gap: 0.9rem;
}

.ticket-card-field {
  display: grid;
  gap: 0.25rem;
}

.ticket-card-field strong,
.ticket-card-field a {
  font-size: 0.95rem;
}

.ticket-card-field p {
  margin: 0;
}

.shift-panel {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.shift-panel strong {
  display: block;
  font-size: 1.25rem;
}

.shift-panel-admin {
  background: linear-gradient(135deg, #ffffff 0%, #eef5ff 100%);
  border-color: #bfdbfe;
}

.shift-duty-window {
  align-items: center;
  display: flex;
  gap: 1rem;
}

.shift-avatar {
  align-items: center;
  background: #334155;
  border: 3px solid #cbd5e1;
  border-radius: 50%;
  color: #fff;
  display: flex;
  flex: 0 0 72px;
  font-size: 2rem;
  font-weight: 800;
  height: 72px;
  justify-content: center;
  line-height: 1;
  text-transform: uppercase;
  width: 72px;
}

.shift-avatar.is-superman {
  background: #0f3b82;
  border: 0;
  border-radius: 0;
  clip-path: polygon(50% 0, 94% 18%, 82% 72%, 50% 100%, 18% 72%, 6% 18%);
  color: #e11d48;
  position: relative;
}

.shift-avatar.is-superman::before {
  background: #ffd21f;
  clip-path: polygon(50% 4%, 88% 22%, 76% 68%, 50% 91%, 24% 68%, 12% 22%);
  content: "";
  inset: 7px;
  position: absolute;
}

.shift-avatar.is-superman span {
  position: relative;
  z-index: 1;
}

.ticket-card-description p {
  font-size: 0.95rem;
  line-height: 1.35;
}

.ticket-card-comment {
  background: #f8fafc;
  border-radius: 8px;
  padding: 0.75rem;
}

.ticket-attachment-preview {
  background: #f8fafc;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  display: block;
  max-width: 100%;
  overflow: hidden;
}

.ticket-attachment-preview img {
  aspect-ratio: 16 / 10;
  display: block;
  height: auto;
  max-height: 260px;
  object-fit: contain;
  width: 100%;
}

.ticket-attachment-preview.is-hidden {
  display: none;
}

.stage-ticket-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
}

.stage-ticket-card {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgb(15 23 42 / 7%);
  padding: 1rem;
}

.stage-ticket-card__row {
  border-bottom: 1px solid #e5e7eb;
  display: grid;
  gap: 0.2rem;
  padding: 0.7rem 0;
}

.stage-ticket-card__row span,
.stage-ticket-card__description > span,
.stage-ticket-card__attachment > span {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
}

.stage-ticket-card__id {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.stage-ticket-card__description,
.stage-ticket-card__attachment {
  display: grid;
  gap: 0.45rem;
  padding-top: 1rem;
}

.stage-ticket-card__description p {
  background: #f8fafc;
  border-radius: 8px;
  line-height: 1.5;
  margin: 0;
  padding: 0.85rem;
  white-space: pre-line;
}

.stage-ticket-card__deadline {
  align-items: center;
  background: #fff3cd;
  border: 1px solid #ffe69c;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  padding: 0.75rem;
}

.stage-ticket-card__deadline span {
  color: #7a5700;
  font-size: 0.8rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .cabinet-header {
    align-items: stretch;
    flex-direction: column;
  }

  .cabinet-board {
    grid-template-columns: 1fr;
  }

  .cabinet-column-body {
    max-height: none;
  }

  .ticket-detail-grid,
  .status-request-item {
    grid-template-columns: 1fr;
  }

  .period-filter {
    grid-template-columns: 1fr;
  }

  .shift-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .period-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hourly-chart {
    grid-template-columns: repeat(24, 34px);
  }
}

/* Manager workspace */
.top-navbar { position: sticky; top: 0; z-index: 20; }
.app-sidebar { background: #111827; border-right: 1px solid #243041; display: flex; flex-direction: column; gap: .2rem; left: 0; min-height: calc(100vh - 56px); padding: 1.3rem .75rem; position: fixed; top: 56px; width: 224px; z-index: 10; }
.app-sidebar a { border-radius: 10px; color: #cbd5e1; font-size: .92rem; padding: .62rem .75rem; text-decoration: none; }
.app-sidebar a:hover { background: #1e293b; color: #fff; }
.sidebar-caption { color: #64748b; font-size: .72rem; font-weight: 700; letter-spacing: .08em; padding: 0 .75rem .45rem; text-transform: uppercase; }
.has-app-sidebar .app-content { margin-left: 224px; max-width: 1460px; }
.management-page { color: #172033; }
.page-heading { align-items: center; display: flex; justify-content: space-between; margin-bottom: 1.5rem; }
.page-heading h1 { font-size: 1.7rem; font-weight: 750; margin: 0; }.page-heading p { color: #64748b; margin: .3rem 0 0; }
.big-score { background: #eaf8f0; border-radius: 12px; color: #087443; font-size: 1.15rem; font-weight: 750; padding: .7rem 1rem; }
.kpi-grid { display: grid; gap: 1rem; grid-template-columns: repeat(4, minmax(0,1fr)); margin-bottom: 1.25rem; }
.kpi-card,.data-card { background: #fff; border: 1px solid #e7ebf0; border-radius: 14px; box-shadow: 0 5px 18px rgb(15 23 42 / 5%); padding: 1.1rem; }
.kpi-card span { color: #64748b; display:block; font-size:.82rem; }.kpi-card strong { display:block; font-size:1.8rem; margin-top:.45rem; }.kpi-card.danger strong { color:#dc3545; }.kpi-card.warning strong { color:#d97706; }
.data-card { overflow-x: auto; }.data-card h2 { font-size:1.05rem; font-weight:700; margin:0 0 1rem; }.data-card table { border-collapse:collapse; min-width:650px; width:100%; }.data-card th { color:#64748b; font-size:.76rem; text-align:left; text-transform:uppercase; }.data-card th,.data-card td { border-bottom:1px solid #edf0f3; padding:.75rem .55rem; }.table-danger td { background:#fff2f2; }
.analysis-grid { display:grid; gap:1rem; grid-template-columns:repeat(3,minmax(0,1fr)); }.bar-row { display:grid; grid-template-columns:1fr auto; gap:.35rem .75rem; margin:.7rem 0; position:relative; }.bar-row i { background:#dbeafe; border-radius:999px; grid-column:1/3; height:8px; }.bar-row b { font-size:.85rem; }.settings-links { display:grid; gap:.8rem; }.settings-links a { color:#0d6efd; font-weight:600; text-decoration:none; }
@media (max-width: 992px) { .app-sidebar { display:none; }.has-app-sidebar .app-content { margin-left:auto; }.kpi-grid,.analysis-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width: 576px) { .kpi-grid,.analysis-grid { grid-template-columns:1fr; }.page-heading { align-items:flex-start; flex-direction:column; gap:.75rem; } }

/* Reference manager dashboard */
.reference-dashboard { margin-top: 1rem; }.reference-dashboard ~ .period-collapsible,.reference-dashboard ~ .dashboard-panel,.reference-dashboard ~ .row { display:none; }
.reference-heading { align-items:flex-start; display:flex; justify-content:space-between; margin-bottom:1rem; }.reference-heading h1 { font-size:1.55rem; font-weight:800; margin:0; }.reference-heading p { color:#71809b; font-size:.82rem; margin:.25rem 0; }.reference-actions { align-items:center; display:flex; gap:.65rem; }.reference-actions .btn,.period-pill,.sync-pill { background:#fff; border:1px solid #e5eaf2; border-radius:10px; color:#23314c; font-size:.78rem; min-height:42px; padding:.6rem .85rem; }.period-pill { cursor:pointer; }.sync-pill { color:#146c43; font-size:.72rem; line-height:1.15; }.reference-period { background:#fff; border:1px solid #e5eaf2; border-radius:10px; margin-bottom:1rem; padding:.6rem .9rem; }.reference-period summary { cursor:pointer; font-weight:600; }.reference-period form { display:flex; gap:.6rem; margin-top:.6rem; }.reference-kpis { display:grid; gap:.75rem; grid-template-columns:repeat(6,minmax(0,1fr)); margin-bottom:.85rem; }.reference-kpis article,.reference-grid section { background:#fff; border:1px solid #e7ecf3; border-radius:12px; box-shadow:0 3px 12px rgb(18 41 75 / 5%); }.reference-kpis article { min-height:118px; padding:.8rem .9rem; position:relative; }.reference-kpis i { align-items:center; border-radius:50%; color:#fff; display:inline-flex; font-size:1.1rem; height:34px; justify-content:center; margin-right:.45rem; width:34px; }.reference-kpis .blue{background:#2878f0}.reference-kpis .green{background:#16a34a}.reference-kpis .red{background:#fb4c54}.reference-kpis .purple{background:#8249dc}.reference-kpis .teal{background:#08a99a}.reference-kpis span { color:#27354e; font-size:.72rem; font-weight:650; }.reference-kpis strong { display:block; font-size:1.42rem; line-height:1.1; margin:.5rem 0 .12rem; }.reference-kpis em { color:#6780a7; font-size:.66rem; font-style:normal; }.reference-kpis svg { bottom:.45rem; height:20px; left:.9rem; position:absolute; right:.9rem; width:calc(100% - 1.8rem); }.reference-kpis path { fill:none; stroke:#297bf5; stroke-width:1.5; }.reference-grid { display:grid; gap:.85rem; margin-bottom:.85rem; }.top-grid { grid-template-columns:1.1fr 1fr 1fr; }.bottom-grid { grid-template-columns:1.05fr 1fr 1.8fr; }.reference-grid section { min-height:200px; overflow:hidden; padding:.85rem; }.reference-grid h2 { font-size:.87rem; font-weight:750; margin:0 0 .65rem; }.reference-grid table { font-size:.66rem; width:100%; }.reference-grid th { color:#71809b; font-weight:600; padding:.35rem .15rem; }.reference-grid td { border-top:1px solid #eef1f5; padding:.45rem .15rem; }.reference-grid a { color:#13223c; font-weight:650; text-decoration:none; }.more-link { color:#1769ee!important; display:block; font-size:.67rem; margin-top:.8rem; }.count-dot { background:#fb4752; border-radius:50%; color:#fff; display:inline-flex; font-size:.65rem; height:17px; justify-content:center; padding-top:2px; width:17px; }.danger-text { color:#ef3f48; }.success-text { color:#099353; }.reason-row { align-items:center; display:grid; font-size:.67rem; gap:.4rem; grid-template-columns:88px 1fr 18px; margin:.55rem 0; }.reason-row i { background:#e7eefb; border-radius:99px; height:5px; overflow:hidden; }.reason-row b { background:#2878f0; border-radius:99px; display:block; height:100%; }.reason-row em { color:#53627d; font-style:normal; }.mini-chart { align-items:end; border-bottom:1px solid #dfe5ee; display:flex; gap:3px; height:125px; padding:8px; }.mini-chart i { background:#2b78ef; border-radius:3px 3px 0 0; flex:1; min-height:3px; }.mini-stage { background:#f6f9ff; border:1px solid #e5ecf5; border-radius:8px; display:inline-flex; flex-direction:column; margin:2px; min-height:92px; padding:.5rem; vertical-align:top; width:calc(25% - 6px); }.mini-stage strong { font-size:1.4rem; margin-top:.3rem; }.mini-stage span,.mini-stage em { font-size:.64rem; font-style:normal; }.mini-stage.red{border-color:#ffd7d9;background:#fff7f7}.mini-stage.blue{border-color:#d8e7ff;background:#f5f9ff}.mini-stage.green{border-color:#d7f3df;background:#f5fcf7}.mini-stage.orange{border-color:#ffe5c7;background:#fff9f2}.mini-stage.peach{border-color:#fce8cf;background:#fffaf3}.mini-stage.dark{border-color:#e7dbff;background:#fbf9ff}
@media (max-width:1200px) {.reference-kpis{grid-template-columns:repeat(3,1fr)}.top-grid,.bottom-grid{grid-template-columns:1fr}.reference-grid section{min-height:auto}}@media (max-width:700px){.reference-heading,.reference-actions{align-items:stretch;flex-direction:column}.reference-kpis{grid-template-columns:repeat(2,1fr)}}

/* KPI cards are deliberately text-only. */
.reference-kpis svg { display: none; }

html, body { max-width:100%; overflow-x:hidden; }
.has-app-sidebar .app-content { box-sizing:border-box; overflow:hidden; width:calc(100% - 176px); }
.app-content { box-sizing:border-box; overflow:hidden; }
body:not(.has-app-sidebar) .top-navbar .container { max-width:none; padding-left:1.25rem; padding-right:1.25rem; }
.app-content--customer { max-width:none; width:100%; }
.reference-dashboard,.reference-kpis,.reference-grid,.primary-kanban { max-width:100%!important; min-width:0!important; width:100%!important; }
@media (max-width:992px){.has-app-sidebar .app-content{width:100%}}

.scope-switch { background:#fff; border:1px solid #e5eaf2; border-radius:10px; display:flex; overflow:hidden; }
.scope-switch a { color:#64748b; font-size:.75rem; font-weight:650; padding:.64rem .7rem; text-decoration:none; }
.scope-switch a.active { background:#1769ee; color:#fff; }
.primary-kanban { background:#fff; border:1px solid #e7ecf3; border-radius:12px; box-shadow:0 3px 12px rgb(18 41 75 / 5%); margin-bottom:.85rem; padding:.9rem; }
.primary-kanban-heading { align-items:center; display:flex; justify-content:space-between; margin-bottom:.55rem; }.primary-kanban h2 { font-size:1rem; font-weight:750; margin:0; }.primary-kanban-heading span { color:#71809b; font-size:.72rem; }.primary-kanban .mini-stage { min-height:105px; width:calc(16.66% - 6px); }
.bottom-grid { grid-template-columns:1fr 1fr; }
.primary-kanban > div { display:grid; gap:.5rem; grid-template-columns:repeat(6,minmax(0,1fr)); }
.primary-kanban .mini-stage { box-sizing:border-box; margin:0; min-width:0; width:auto; }
.primary-kanban .mini-stage span { -webkit-box-orient:vertical; -webkit-line-clamp:2; display:-webkit-box; line-height:1.25; overflow:hidden; }
.mini-stage.red { background:#fff4f5; border-color:#ffd4d7; color:#d71920; }.mini-stage.yellow { background:#fffbed; border-color:#ffe9a6; color:#b77900; }.mini-stage.green { background:#f1fcf5; border-color:#ccefd8; color:#16934d; }.mini-stage.blue { background:#f1f7ff; border-color:#cfe2ff; color:#1769e8; }.mini-stage.purple { background:#f7f1ff; border-color:#e4d3ff; color:#7938c6; }.mini-stage.orange { background:#fff5eb; border-color:#ffd8af; color:#d56c00; }
.mini-stage.red { background:#ff5964; border-color:#ff5964; color:#fff; }.mini-stage.yellow { background:#ffd34e; border-color:#ffd34e; color:#5f4300; }.mini-stage.green { background:#22c55e; border-color:#22c55e; color:#062f16; }.mini-stage.blue { background:#4da3f5; border-color:#4da3f5; color:#fff; }.mini-stage.purple { background:#9461dc; border-color:#9461dc; color:#fff; }.mini-stage.orange { background:#ff9f43; border-color:#ff9f43; color:#4a2700; }.mini-stage.red em,.mini-stage.blue em,.mini-stage.purple em { color:#fff; }.mini-stage.yellow em,.mini-stage.green em,.mini-stage.orange em { color:inherit; }
@media (max-width:1050px){.primary-kanban > div{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:600px){.primary-kanban > div{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Keep all dashboard grids inside the viewport. */
.reference-dashboard,.reference-kpis,.reference-grid,.primary-kanban { max-width:100%; min-width:0; width:100%; }
.reference-kpis { grid-template-columns:repeat(6,minmax(0,1fr))!important; }
.reference-kpis article,.reference-grid section { min-width:0; overflow:hidden; }
.primary-kanban > div:last-child { display:grid!important; gap:.45rem; grid-template-columns:repeat(6,minmax(0,1fr))!important; min-width:0; width:100%; }
.primary-kanban .mini-stage { margin:0!important; min-width:0!important; padding:.55rem!important; width:auto!important; }
.primary-kanban .mini-stage span { font-size:.62rem; }.primary-kanban .mini-stage strong { font-size:1.35rem; }.primary-kanban .mini-stage em { font-size:.58rem; }
.primary-kanban .stage-countdown { align-items:center; background:rgb(255 255 255 / 22%); border-radius:5px; display:inline-flex; font-size:.62rem!important; font-style:normal; font-weight:750; margin-top:auto; padding:.28rem .36rem; width:max-content; }
.primary-kanban .mini-stage.is-overdue .stage-countdown { background:#d71920; color:#fff!important; }
.primary-kanban .stage-countdown { background:transparent!important; gap:.3rem; padding:0; }.primary-kanban .stage-countdown b { align-items:center; background:transparent; border-radius:4px; display:flex; font-size:1.05rem; height:31px; justify-content:center; width:29px; }.primary-kanban .stage-countdown .countdown-time { background:transparent; border-radius:4px; color:inherit; display:block; font-family:ui-monospace,SFMono-Regular,Consolas,monospace; font-size:.78rem!important; font-weight:800; line-height:31px; overflow:visible; padding:0; white-space:nowrap; -webkit-line-clamp:unset; }.primary-kanban .mini-stage.is-overdue .stage-countdown .countdown-time { background:transparent; color:#fff; }
.primary-kanban .mini-stage { text-decoration:none!important; }.primary-kanban .stage-countdown { gap:.38rem; }.primary-kanban .stage-countdown b { font-size:1.25rem; height:36px; width:34px; }.primary-kanban .stage-countdown .countdown-time { font-size:.9rem!important; line-height:36px; }

.server-ping,.deployment-version { align-items:center; background:#fff; border:1px solid #e3e8ef; border-radius:8px; display:grid; gap:0 .35rem; grid-template-columns:auto auto; min-height:36px; padding:.3rem .55rem; }.server-ping i,.deployment-version i { background:#94a3b8; border-radius:50%; grid-row:1/3; height:8px; width:8px; }.server-ping b,.deployment-version b { font-size:.62rem; line-height:1; }.server-ping strong,.deployment-version strong { font-size:.7rem; line-height:1; }.server-ping em,.deployment-version em { color:#7b8799; font-size:.55rem; font-style:normal; grid-column:2; line-height:1; }.server-ping.is-ok i { background:#22c55e; box-shadow:0 0 0 3px rgb(34 197 94 / 14%); }.server-ping.is-error i { background:#e51b25; }.server-ping.is-checking i { animation:ping-pulse .8s infinite alternate; }.deployment-version i { background:#2563eb; box-shadow:0 0 0 3px rgb(37 99 235 / 12%); }@keyframes ping-pulse{to{opacity:.35;transform:scale(1.35)}}
.ticket-closed-toast { align-items:center; animation:closed-pop .25s ease-out; background:#fff; border:1px solid #ccefd8; border-radius:14px; box-shadow:0 14px 35px rgb(15 23 42 / 18%); display:flex; gap:.65rem; left:50%; padding:.8rem 1.2rem; position:fixed; top:76px; transform:translateX(-50%); transition:opacity .35s,transform .35s; z-index:1100; }.ticket-closed-toast span { font-size:1.75rem; }.ticket-closed-toast strong { color:#147a43; font-size:1rem; }.ticket-closed-toast.is-hidden { opacity:0; transform:translate(-50%,-18px); }@keyframes closed-pop{from{opacity:0;transform:translate(-50%,-18px) scale(.9)}to{opacity:1;transform:translateX(-50%) scale(1)}}
.ticket-closed-toast { border-radius:11px; gap:.98rem; padding:1.2rem 1.8rem; }.ticket-closed-toast span { font-size:2.63rem; }.ticket-closed-toast strong { font-size:1.5rem; }
.alarm-modal .modal-body p.mb-2:not(#unworkedAlarmIntro) { display:none; }
.reference-kpis article { padding:.65rem!important; }.reference-kpis span { font-size:.66rem; }.reference-kpis strong { font-size:1.18rem; }
@media (max-width:1100px){.reference-kpis{grid-template-columns:repeat(3,minmax(0,1fr))!important}.primary-kanban > div:last-child{grid-template-columns:repeat(3,minmax(0,1fr))!important}}@media (max-width:650px){.reference-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}.primary-kanban > div:last-child{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* Chaplin manager layout */
body { background:#f7f8fb; color:#111827; font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif; }
.top-navbar { background:#fff!important; border-bottom:1px solid #e7e9ee; box-shadow:0 1px 10px rgb(15 23 42 / 3%); min-height:48px; }.has-app-sidebar .top-navbar { margin-left:176px; }.top-navbar .navbar-brand,.top-navbar .nav-link,.top-navbar .navbar-text { color:#15171c!important; }.top-navbar .navbar-brand { font-size:1.06rem; }.top-navbar .nav-link { font-size:.78rem; font-weight:600; }.top-navbar .btn-outline-light { border-color:#d7dce4; color:#1d2533; }
.app-sidebar { background:linear-gradient(160deg,#11161d,#080c10); border:0; bottom:0; box-shadow:4px 0 18px rgb(0 0 0 / 12%); min-height:100vh; padding:.7rem .5rem 1rem; top:0; width:176px; }.has-app-sidebar .app-content { margin-left:176px; max-width:none; padding:1rem 1.25rem!important; }.sidebar-brand { align-items:center; color:#fff; display:flex; flex-direction:column; letter-spacing:.12em; margin:0 0 2rem; padding-top:.35rem; }.sidebar-brand b { align-items:center; background:#e5212b; border-radius:50%; color:#10151b; display:flex; font-size:1.6rem; font-style:italic; height:40px; justify-content:center; letter-spacing:0; margin-bottom:.25rem; width:40px; }.sidebar-brand strong { color:#ed2934; font-size:1.18rem; letter-spacing:.09em; }.sidebar-brand span { font-size:.6rem; letter-spacing:.38em; margin-left:.38em; }.sidebar-brand em { color:#bdc5d0; font-size:.48rem; font-style:normal; letter-spacing:.18em; margin-top:.55rem; }.sidebar-caption { color:#87909d; font-size:.58rem; padding:.2rem .65rem .45rem; }.app-sidebar a { align-items:center; color:#f1f4f8; display:flex; font-size:.76rem; font-weight:600; gap:.45rem; padding:.62rem .75rem; }.app-sidebar a::before { color:#fff; content:'◌'; font-size:1.05rem; line-height:.6; }.app-sidebar a:hover,.app-sidebar a:first-of-type { background:linear-gradient(90deg,#e71925,#aa111c); box-shadow:0 6px 14px rgb(229 25 37 / 22%); color:#fff; }.sidebar-user { border-top:1px solid #242a31; bottom:1rem; color:#fff; display:grid; font-size:.67rem; gap:.18rem; left:.75rem; padding-top:.85rem; position:absolute; right:.75rem; }.sidebar-user strong { font-size:.69rem; line-height:1.05; padding-left:2.15rem; }.sidebar-user small { color:#9099a6; padding-left:2.15rem; }.sidebar-user em { color:#e9eef6; font-size:.62rem; font-style:normal; margin-top:.35rem; }.user-avatar { align-items:center; background:#fff; border-radius:50%; color:#111827; display:flex; float:left; font-weight:800; grid-row:1/3; height:28px; justify-content:center; width:28px; }
.dashboard-topbar { align-items:center!important; background:transparent; margin:0 0 .8rem!important; }.duty-toolbar-card { background:#fff; border:1px solid #e7eaf0; border-radius:10px; box-shadow:0 2px 10px rgb(15 23 42 / 4%); min-width:415px; padding:.75rem 1rem; }.duty-toolbar-card strong { font-size:.98rem; }.duty-toolbar-card .metric-label { font-size:.68rem; margin-bottom:.18rem; }.duty-toolbar-card .text-secondary { display:block; font-size:.7rem; }.dashboard-toolbar { margin-left:auto; }.dashboard-toolbar .btn { border-radius:7px; font-size:.72rem; min-height:36px; }.sync-status { background:#fff; border:1px solid #e4e8ed; border-radius:8px; box-shadow:none; padding:.45rem .7rem; }.sync-status-compact { font-size:.66rem; }
.reference-heading { margin:0 0 .75rem; }.reference-heading h1 { font-size:1.45rem; }.reference-heading p { font-size:.76rem; }.scope-switch { border-radius:7px; }.scope-switch a { font-size:.7rem; padding:.58rem .85rem; }.scope-switch a.active { background:#e51b25; }.reference-actions .btn { border-radius:7px; font-size:.7rem; }.sync-pill { border-radius:7px; }.primary-kanban { border-radius:10px; box-shadow:0 3px 12px rgb(15 23 42 / 4%); padding:.8rem; }.primary-kanban h2 { font-size:.9rem; }.primary-kanban .mini-stage { border-radius:9px; min-height:102px; padding:.7rem; }.mini-stage strong { font-size:1.55rem; }.mini-stage em { color:#ef3340; margin-top:auto; }.reference-kpis { gap:.65rem; }.reference-kpis article { border-radius:10px; box-shadow:0 3px 12px rgb(15 23 42 / 4%); min-height:100px; padding:.75rem; }.reference-kpis i { height:29px; width:29px; }.reference-kpis strong { font-size:1.3rem; }.reference-grid { gap:.65rem; }.reference-grid section { border-radius:10px; min-height:190px; }.reference-grid h2 { font-size:.82rem; }.reference-grid table { font-size:.64rem; }.reference-grid td { padding:.42rem .12rem; }.more-link { color:#e51b25!important; }.reason-row b { background:#e51b25; }.mini-chart i { background:#e51b25; }.success-text { color:#16a34a; }.danger-text { color:#e51b25; }
@media (max-width:992px){.has-app-sidebar .top-navbar{margin-left:0}.app-sidebar{display:none}.has-app-sidebar .app-content{margin-left:auto}.duty-toolbar-card{min-width:0}}
.sla-attention-card-prominent{margin:.8rem 0}.sla-attention-count{align-items:center;background:#22a55b;border-radius:999px;color:#fff;display:flex;font-size:1.45rem;height:42px;justify-content:center;margin-left:auto;width:42px}.sla-attention-card.has-overdue .sla-attention-count{background:#dc3545}
.is-overdue .kanban-tile-timer,.is-overdue .stage-countdown,.is-overdue .stage-countdown b,.sla-bomb-toast .explode{animation:none!important}
.overdue-kpi:not(.has-overdue){background:#f0fdf4;border-color:#bbf7d0}.overdue-kpi.has-overdue{background:#fff1f2;border-color:#fecdd3}.overdue-kpi i{font-style:normal}
.kpi-card-link{color:inherit;text-decoration:none}.kpi-card-link article{height:100%;transition:transform .15s ease,box-shadow .15s ease}.kpi-card-link:hover article{box-shadow:0 8px 20px rgb(15 23 42 / 12%);transform:translateY(-2px)}
.daily-status-trigger{font-weight:700;white-space:nowrap}.daily-status-modal .modal-body{background:#f8fafc}.daily-status-list{display:grid;gap:.8rem}.daily-status-card{background:#fff;border:1px solid #dfe6ef;border-radius:10px;box-shadow:0 3px 12px rgb(15 23 42 / 6%);padding:.9rem}.daily-status-card.is-overdue{border-color:#fecdd3;box-shadow:0 0 0 3px rgb(254 205 211 / 45%)}.daily-status-card header{align-items:flex-start;display:flex;gap:1rem;justify-content:space-between;margin-bottom:.75rem}.daily-status-card header strong{color:#1769ee;display:block;font-size:.78rem}.daily-status-card h3{font-size:.95rem;font-weight:750;line-height:1.25;margin:.15rem 0 0}.daily-status-card header span{background:#fff7ed;border-radius:999px;color:#c2410c;font-size:.7rem;font-weight:750;padding:.32rem .55rem;white-space:nowrap}.daily-status-card.is-overdue header span{background:#fff1f2;color:#be123c}.daily-status-card dl{display:grid;gap:.45rem;grid-template-columns:repeat(4,minmax(0,1fr));margin:0 0 .75rem}.daily-status-card dl div{background:#f8fafc;border-radius:8px;padding:.55rem}.daily-status-card dt{color:#64748b;font-size:.64rem;font-weight:700;text-transform:uppercase}.daily-status-card dd{font-size:.78rem;font-weight:650;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.daily-status-card__details{display:grid;gap:.55rem;grid-template-columns:2fr 1fr;margin:0 0 .75rem}.daily-status-card__details>div{background:#fbfdff;border:1px solid #e7edf5;border-radius:8px;padding:.65rem}.daily-status-card__details span{color:#64748b;display:block;font-size:.66rem;font-weight:800;margin-bottom:.35rem;text-transform:uppercase}.daily-status-card__details p{color:#1f2937;font-size:.8rem;line-height:1.45;margin:0;max-height:90px;overflow:auto;white-space:pre-line}.daily-status-card__details a{font-size:.8rem;font-weight:700;word-break:break-word}.daily-status-card label{display:block;font-size:.78rem;font-weight:750;margin-bottom:.35rem}.daily-status-deadline-input{border:1px solid #d8e0ea;border-radius:8px;font-size:.85rem;margin:0 0 .7rem;max-width:260px;padding:.55rem .65rem;width:100%}.daily-status-card textarea{border:1px solid #d8e0ea;border-radius:8px;font-size:.85rem;resize:vertical;width:100%;padding:.65rem}.daily-status-card__actions{display:flex;gap:.5rem;justify-content:flex-end;margin-top:.55rem}.daily-status-card__error{color:#dc2626;font-size:.74rem;min-height:1rem;margin-top:.25rem}.daily-status-overdue-panel{border-color:#fecdd3}.daily-status-overdue-panel--collapsible{padding:.7rem .85rem}.daily-status-overdue-panel--collapsible summary{align-items:center;cursor:pointer;display:grid;gap:.25rem .7rem;grid-template-columns:1fr auto auto;list-style:none}.daily-status-overdue-panel--collapsible summary::-webkit-details-marker{display:none}.daily-status-overdue-panel--collapsible summary::after{color:#be123c;content:"⌄";font-size:1rem;font-weight:800;transition:transform .15s ease}.daily-status-overdue-panel--collapsible[open] summary{border-bottom:1px solid #fecdd3;margin-bottom:.7rem;padding-bottom:.7rem}.daily-status-overdue-panel--collapsible[open] summary::after{transform:rotate(180deg)}.daily-status-overdue-panel--collapsible summary span{font-size:.95rem;font-weight:800}.daily-status-overdue-panel--collapsible summary strong{align-items:center;background:#be123c;border-radius:999px;color:#fff;display:flex;font-size:.82rem;height:26px;justify-content:center;min-width:26px;padding:0 .45rem}.daily-status-overdue-panel--collapsible summary em{color:#64748b;font-size:.75rem;font-style:normal}.daily-status-overdue-list{display:grid;gap:.45rem;grid-template-columns:repeat(2,minmax(0,1fr))}.daily-status-overdue-list a{background:#fff1f2;border:1px solid #fecdd3;border-radius:9px;color:#172033;display:grid;gap:.12rem;padding:.65rem;text-decoration:none}.daily-status-overdue-list strong{color:#be123c;font-size:.78rem}.daily-status-overdue-list span{font-size:.8rem;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.daily-status-overdue-list em{color:#64748b;font-size:.68rem;font-style:normal}@media(max-width:800px){.daily-status-card dl,.daily-status-card__details,.daily-status-overdue-list{grid-template-columns:1fr}.daily-status-card header,.daily-status-card__actions{align-items:stretch;flex-direction:column}.daily-status-card header span{width:max-content}.daily-status-overdue-panel--collapsible summary{grid-template-columns:1fr auto}.daily-status-overdue-panel--collapsible summary em{grid-column:1/3}}
.daily-status-attachment-preview{background:#fff;border:1px solid #dbe3ee;border-radius:8px;display:block;overflow:hidden;text-decoration:none}.daily-status-attachment-preview img{aspect-ratio:16/9;display:block;object-fit:cover;width:100%}.daily-status-attachment-preview small{color:#1769ee;display:block;font-size:.68rem;font-weight:750;overflow:hidden;padding:.35rem .45rem;text-overflow:ellipsis;white-space:nowrap}.daily-status-attachment-preview.is-broken img{display:none}.daily-status-attachment-preview.is-broken::before{color:#64748b;content:"Предпросмотр недоступен";display:block;font-size:.72rem;padding:.8rem;text-align:center}
.ticket-kanban{align-items:start;display:grid;gap:.8rem;grid-template-columns:repeat(4,minmax(230px,1fr));overflow-x:auto}.ticket-kanban__column{background:#f6f8fc;border:1px solid #e0e6ef;border-radius:12px;min-height:430px;padding:.65rem}.ticket-kanban__column header{align-items:center;display:flex;gap:.45rem;justify-content:space-between;margin-bottom:.6rem}.ticket-kanban__column h2{font-size:.78rem;margin:0}.ticket-kanban__column header b{align-items:center;background:#60718c;border-radius:99px;color:#fff;display:flex;font-size:.72rem;height:23px;justify-content:center;width:23px}.ticket-kanban__cards{display:grid;gap:.55rem;max-height:600px;overflow-y:auto;padding-right:.2rem}.ticket-kanban__card{background:#fff;border:1px solid #e2e8f0;border-radius:9px;box-shadow:0 2px 6px rgb(15 23 42 / 6%);color:#1e2d47;display:block;padding:.65rem;text-decoration:none}.ticket-kanban__card:hover{border-color:#79a7ef;box-shadow:0 5px 13px rgb(15 23 42 / 12%)}.ticket-kanban__card-link{color:#1e2d47;display:block;text-decoration:none}.ticket-kanban__card strong,.ticket-kanban__card span,.ticket-kanban__card small,.ticket-kanban__card em{display:block}.ticket-kanban__card strong{font-size:.75rem}.ticket-kanban__card span{font-size:.73rem;font-weight:650;line-height:1.25;margin:.28rem 0}.ticket-kanban__card small,.ticket-kanban__card em{color:#71809b;font-size:.64rem;font-style:normal}.ticket-kanban__action{margin-top:.55rem}.ticket-kanban__empty{color:#8290a6;font-size:.72rem;text-align:center}.ticket-kanban__column--first-line header b{background:#4b9cf5}.ticket-kanban__column--second-line header b{background:#8c5bd9}.ticket-kanban__column--requires-time header b{background:#ff9e43}.ticket-kanban__column--closed header b{background:#20a667}@media(max-width:900px){.ticket-kanban{grid-template-columns:repeat(4,minmax(270px,1fr))}}
.login-quote-splash{align-items:center;background:#050505;color:#fff;display:flex;inset:0;justify-content:center;opacity:1;padding:2rem;position:fixed;text-align:center;transition:opacity 4s cubic-bezier(.22,.61,.36,1);z-index:9999}.login-quote-splash.is-leaving{opacity:0;pointer-events:none}.login-quote-splash>div{max-width:950px}.login-quote-splash__kazakh,.login-quote-splash__russian{font-family:Georgia,serif;font-size:clamp(1.55rem,3.4vw,3rem);font-weight:700;line-height:1.25}.login-quote-splash__kazakh{margin:0 0 1.3rem}.login-quote-splash__russian{color:#d5d5d5;margin:0 0 1.25rem}.login-quote-splash strong{color:#f3c855;font-size:1rem;font-weight:600}
/* The dashboard KPI cards replace these detailed summary tables. */
.reference-grid.top-grid > section:nth-child(1),.reference-grid.top-grid > section:nth-child(2){display:none}.reference-grid.top-grid{grid-template-columns:1fr}
.request-time-chart{background:#fff;border:1px solid #e7ecf3;border-radius:12px;box-shadow:0 3px 12px rgb(18 41 75 / 5%);margin:0 0 .85rem;padding:.9rem 1rem}.request-time-chart__heading{align-items:flex-start;display:flex;justify-content:space-between}.request-time-chart h2{font-size:.95rem;margin:0}.request-time-chart p{color:#70809a;font-size:.73rem;margin:.16rem 0 0}.request-time-chart__heading>strong{background:#fff1f2;border-radius:999px;color:#d92d20;font-size:.73rem;padding:.38rem .65rem}.request-time-chart__plot{align-items:end;border-bottom:1px solid #dfe6f0;display:grid;gap:5px;grid-template-columns:repeat(24,minmax(0,1fr));height:190px;margin-top:.7rem;padding:18px 4px 0}.request-time-chart__column{align-items:stretch;display:flex;flex-direction:column;height:100%;justify-content:end;min-width:0;position:relative}.request-time-chart__column>b{color:#64748b;font-size:.62rem;font-weight:700;text-align:center}.request-time-chart__column>i{align-items:end;display:flex;flex:1;margin:3px 0 4px}.request-time-chart__column>i span{background:linear-gradient(180deg,#4d98ff,#1769ee);border-radius:5px 5px 1px 1px;display:block;min-height:3px;transition:filter .15s,transform .15s;width:100%}.request-time-chart__column:hover>i span{filter:brightness(.86);transform:scaleX(1.12)}.request-time-chart__column.is-peak>i span{background:linear-gradient(180deg,#ff5b65,#e51b25)}.request-time-chart__column.is-peak>b{color:#d92d20}.request-time-chart__column>em{color:#72809a;font-size:.58rem;font-style:normal;min-height:12px;text-align:center;white-space:nowrap}.request-time-chart__legend{color:#72809a;display:flex;font-size:.68rem;justify-content:space-between;margin-top:.55rem}.request-time-chart__legend i{background:#2878f0;border-radius:2px;display:inline-block;height:8px;margin-right:4px;width:8px}@media(max-width:700px){.request-time-chart{overflow:hidden}.request-time-chart__plot{gap:2px;height:150px}.request-time-chart__column>b{font-size:.52rem}.request-time-chart__legend span:last-child{display:none}.request-time-chart__heading>strong{font-size:.62rem}}

.dashboard-side-panel-placement{display:flex;justify-content:flex-end;margin:.2rem 0 .85rem}.dashboard-side-panel-placement>.dashboard-panel{max-width:760px;width:48%}.unacknowledged-sla-panel{border-color:#fecdd3}@media(max-width:1100px){.dashboard-side-panel-placement>.dashboard-panel{width:60%}}@media(max-width:800px){.dashboard-side-panel-placement{display:block}.dashboard-side-panel-placement>.dashboard-panel{max-width:none;width:100%}}

/* SLA violations */
.sla-violations-page{display:grid;gap:1rem}.sla-export-actions{display:flex;gap:.45rem}.sla-violation-kpis{display:grid;gap:.7rem;grid-template-columns:repeat(4,minmax(0,1fr))}.sla-violation-kpis article,.sla-analysis-grid section,.sla-table-card{background:#fff;border:1px solid #e5eaf2;border-radius:10px;box-shadow:0 3px 12px rgb(15 23 42 / 5%);padding:.85rem}.sla-violation-kpis span{color:#64748b;display:block;font-size:.72rem;font-weight:750}.sla-violation-kpis strong{display:block;font-size:1.45rem;margin-top:.35rem}.sla-filter-panel{background:#fff;border:1px solid #e5eaf2;border-radius:10px;display:grid;gap:.45rem;grid-template-columns:repeat(5,minmax(0,1fr)) auto auto;padding:.75rem}.sla-filter-panel input,.sla-filter-panel select{border:1px solid #d7dfe9;border-radius:7px;font-size:.76rem;padding:.45rem}.sla-analysis-grid{display:grid;gap:.75rem;grid-template-columns:repeat(5,minmax(0,1fr))}.sla-analysis-grid h2{font-size:.82rem;margin:0 0 .55rem}.sla-bar-row{display:grid;font-size:.68rem;gap:.25rem .45rem;grid-template-columns:1fr auto;margin:.42rem 0}.sla-bar-row i{background:#edf2f7;border-radius:999px;grid-column:1/3;height:7px;overflow:hidden}.sla-bar-row em{background:#e51b25;border-radius:999px;display:block;height:100%}.sla-violations-table{border-collapse:collapse;font-size:.72rem;min-width:1180px;width:100%}.sla-violations-table th{color:#64748b;font-size:.63rem;text-transform:uppercase}.sla-violations-table th,.sla-violations-table td{border-bottom:1px solid #edf1f5;padding:.5rem .45rem}.sla-violations-table tbody tr{cursor:pointer}.sla-violations-table tbody tr:hover{background:#f8fafc}.sla-score{border-radius:999px;color:#fff;display:inline-block;font-weight:800;padding:.22rem .5rem}.sla-score.excellent{background:#16a34a}.sla-score.good{background:#ca8a04}.sla-score.warning{background:#ea580c}.sla-score.critical{background:#dc2626}.sla-violation-detail .modal-header p{color:#64748b;margin:.2rem 0 0}.sla-detail-grid{display:grid;gap:.55rem;grid-template-columns:repeat(4,minmax(0,1fr))}.sla-detail-grid div{background:#f8fafc;border-radius:8px;padding:.55rem}.sla-detail-grid span{color:#64748b;display:block;font-size:.63rem;font-weight:800;text-transform:uppercase}.sla-detail-grid strong{font-size:.78rem}.sla-detail-section{border-top:1px solid #e5eaf2;margin-top:1rem;padding-top:1rem}.sla-detail-section h3{font-size:.95rem}.sla-reason-form{display:grid;gap:.5rem;grid-template-columns:220px 1fr auto}.sla-reason-form input,.sla-reason-form select{border:1px solid #d7dfe9;border-radius:7px;font-size:.8rem;padding:.45rem}@media(max-width:1200px){.sla-violation-kpis{grid-template-columns:repeat(2,1fr)}.sla-analysis-grid{grid-template-columns:repeat(2,1fr)}.sla-filter-panel{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){.sla-violation-kpis,.sla-analysis-grid,.sla-filter-panel,.sla-detail-grid,.sla-reason-form{grid-template-columns:1fr}}
.sla-history-list{display:grid;gap:.5rem;margin-bottom:.75rem}.sla-history-list article{border:1px solid #e5eaf2;border-radius:8px;display:grid;gap:.15rem;grid-template-columns:140px 120px 1fr;padding:.55rem}.sla-history-list time{color:#64748b;font-size:.72rem}.sla-history-list strong{font-size:.78rem}.sla-history-list span{color:#475569;font-size:.75rem}.sla-history-list p{grid-column:1/4;margin:0;color:#111827;font-size:.78rem;white-space:pre-wrap}@media(max-width:700px){.sla-history-list article{grid-template-columns:1fr}.sla-history-list p{grid-column:auto}}

/* SLA settings */
.settings-admin-page{display:grid;gap:1rem}.settings-tabs{background:#fff;border:1px solid #e5eaf2;border-radius:10px;padding:.45rem}.settings-tabs .nav-link{border-radius:7px;color:#334155;font-size:.78rem;font-weight:750}.settings-tabs .nav-link.active{background:#e51b25;color:#fff}.settings-tab-content{display:block}.settings-card{background:#fff;border:1px solid #e5eaf2;border-radius:10px;box-shadow:0 3px 12px rgb(15 23 42 / 5%);padding:1rem}.settings-card header{margin-bottom:.85rem}.settings-card h2{font-size:1rem;margin:0}.settings-card p{color:#64748b;font-size:.75rem;margin:.2rem 0 0}.settings-table{border-collapse:collapse;font-size:.76rem;min-width:760px;width:100%}.settings-table th{color:#64748b;font-size:.65rem;text-transform:uppercase}.settings-table th,.settings-table td{border-bottom:1px solid #edf1f5;padding:.55rem}.settings-table input,.settings-grid input{border:1px solid #d7dfe9;border-radius:7px;min-height:36px;padding:.4rem .5rem;width:100%}.settings-grid{display:grid;gap:.75rem;grid-template-columns:repeat(3,minmax(0,1fr))}.settings-grid label{display:grid;gap:.3rem}.settings-grid span{color:#475569;font-size:.72rem;font-weight:750}.settings-switch-grid{display:grid;gap:.55rem;grid-template-columns:repeat(2,minmax(0,1fr))}.settings-switch-grid label,.settings-check{align-items:center;background:#f8fafc;border:1px solid #e5eaf2;border-radius:8px;display:flex;gap:.55rem;padding:.65rem}.settings-switch-grid span,.settings-check{font-size:.78rem;font-weight:700}.settings-actions{display:flex;gap:.55rem;margin-top:.9rem}@media(max-width:900px){.settings-grid,.settings-switch-grid{grid-template-columns:1fr}.settings-actions{flex-direction:column}}

/* Compact customer cabinet: fit the full workspace and all 4 kanban columns. */
.app-content--customer{max-width:none!important;overflow:visible!important;padding:.65rem .85rem!important;width:100%!important}
body:not(.has-app-sidebar) .top-navbar .container{max-width:none!important;padding-left:.85rem!important;padding-right:.85rem!important}
.app-content--customer .customer-portal{display:grid;gap:.75rem;grid-template-columns:168px minmax(0,1fr);min-height:calc(100vh - 88px)}
.app-content--customer .customer-portal__sidebar{border-radius:11px;padding:.65rem}
.app-content--customer .customer-portal__brand{padding:.25rem .35rem .65rem}
.app-content--customer .customer-portal__brand b{font-size:1rem}
.app-content--customer .customer-portal__brand span{font-size:.56rem}
.app-content--customer .customer-portal__profile{border-radius:9px;margin:.65rem 0;padding:.55rem}
.app-content--customer .customer-portal__profile strong{font-size:.72rem}
.app-content--customer .customer-portal__profile small{font-size:.62rem}
.app-content--customer .customer-portal__sidebar nav a{font-size:.7rem;padding:.48rem .55rem}
.app-content--customer .customer-portal .cabinet-header{margin-bottom:.55rem!important;padding:.65rem .8rem}
.app-content--customer .customer-portal .cabinet-header h1{font-size:1rem}
.app-content--customer .customer-portal .cabinet-header p{font-size:.64rem}
.app-content--customer .kanban-period-filter{gap:.25rem;margin:0 0 .4rem}
.app-content--customer .kanban-period-filter span{font-size:.64rem}
.app-content--customer .kanban-period-filter a{font-size:.62rem;padding:.3rem .48rem}
.app-content--customer .customer-insights{gap:.55rem;grid-template-columns:minmax(0,1.15fr) minmax(190px,.65fr) minmax(250px,.82fr);margin-bottom:.6rem}
.app-content--customer .customer-insights article{border-radius:11px;min-height:170px;padding:.62rem}
.app-content--customer .customer-insights header strong{font-size:.7rem}
.app-content--customer .customer-insights header span{font-size:.58rem}
.app-content--customer .customer-insights__chart canvas{height:132px;margin-top:.25rem}
.app-content--customer .customer-insights__initiators li{font-size:.61rem;gap:.32rem;grid-template-columns:14px 1fr 16px;padding:.25rem 0}
.app-content--customer .customer-insights__initiators em{font-size:.58rem}
.app-content--customer .customer-insights__status{grid-template-columns:100px 1fr}
.app-content--customer .customer-donut{height:100px;margin-top:.35rem;width:100px}
.app-content--customer .customer-donut>div{height:60px;width:60px}
.app-content--customer .customer-donut b{font-size:1rem}
.app-content--customer .customer-donut small{font-size:.52rem}
.app-content--customer .customer-insights__status ul{gap:.3rem}
.app-content--customer .customer-insights__status li{font-size:.56rem;gap:.22rem;grid-template-columns:7px 1fr auto}
.app-content--customer .service-desk-on-shift{gap:.45rem;margin-bottom:.6rem;padding:.48rem .6rem}
.app-content--customer .service-desk-on-shift__icon{font-size:.95rem;height:30px;width:30px}
.app-content--customer .service-desk-on-shift small{font-size:.58rem}
.app-content--customer .service-desk-on-shift strong{font-size:.76rem}
.app-content--customer .service-desk-on-shift em{font-size:.58rem}
.app-content--customer .call-center-button{border-radius:8px;min-width:130px;padding:.32rem .5rem}
.app-content--customer .call-center-button span,.app-content--customer .customer-message-button>span{font-size:.95rem}
.app-content--customer .call-center-button b{font-size:.63rem}
.app-content--customer .call-center-button small{font-size:.54rem}
.app-content--customer .customer-message-button{border-radius:8px;min-width:135px;padding:.34rem .5rem}
.app-content--customer .customer-message-button b{font-size:.64rem}
.app-content--customer .customer-message-button::after{font-size:.5rem}
.app-content--customer .customer-portal .cabinet-board{gap:.45rem;grid-template-columns:repeat(4,minmax(0,1fr))!important;min-height:430px;overflow:visible;padding:.45rem}
.app-content--customer .customer-portal .cabinet-column{min-width:0}
.app-content--customer .customer-portal .cabinet-column-header{min-height:48px;padding:.6rem .65rem}
.app-content--customer .customer-portal .cabinet-column-header span{font-size:.68rem;line-height:1.2}
.app-content--customer .customer-portal .cabinet-column-header strong{font-size:1.18rem}
.app-content--customer .customer-portal .cabinet-column-body{gap:.45rem;max-height:none;min-height:330px;padding:.55rem}
.app-content--customer .customer-portal .cabinet-ticket-card{font-size:.66rem;padding:.55rem}
.app-content--customer .customer-portal .ticket-countdown-box{padding:.42rem}
.sla-ack-grid{display:grid;gap:.55rem;grid-template-columns:repeat(3,minmax(0,1fr))}
.sla-ack-grid div{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:.6rem}
.sla-ack-grid span{color:#64748b;display:block;font-size:.68rem;font-weight:800;text-transform:uppercase}
.sla-ack-grid strong{color:#172033;display:block;font-size:.84rem;line-height:1.25;margin-top:.18rem}
@media(max-width:800px){.sla-ack-grid{grid-template-columns:1fr}}
.project-edit-mini{border-top:1px solid #e2e8f0;display:grid;gap:.4rem;margin-top:.8rem;padding-top:.8rem}.project-edit-mini input,.project-edit-mini select{border:1px solid #d7deea;border-radius:7px;padding:.42rem;width:100%}
.projects-header{align-items:center;display:flex;gap:1rem;justify-content:space-between;margin-bottom:1rem}.projects-header h1{font-size:1.8rem;margin:0}.projects-header p{color:#71809b;margin:.2rem 0 0}.projects-actions{display:flex;flex-wrap:wrap;gap:.45rem}.project-summary-grid{display:grid;gap:.75rem;grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:1rem}.project-summary-grid article{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:.8rem}.project-summary-grid span{color:#64748b;display:block;font-size:.76rem;font-weight:700}.project-summary-grid strong{font-size:1.5rem}.project-inline-form{background:#fff;border:1px solid #e2e8f0;border-radius:8px;display:grid;gap:.55rem;grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:1rem;padding:.8rem}.project-inline-form input,.project-inline-form select{border:1px solid #d7deea;border-radius:7px;padding:.48rem}.projects-layout{display:grid;gap:1rem;grid-template-columns:260px minmax(0,1fr) 300px}.projects-sidebar,.projects-main,.projects-right-panel{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:.8rem}.project-pill{border:1px solid #e2e8f0;border-radius:8px;color:#172033;display:grid;gap:.15rem;margin-bottom:.45rem;padding:.65rem;text-decoration:none}.project-pill.is-active{border-color:#2563eb;box-shadow:0 0 0 2px rgb(37 99 235 / 12%)}.project-pill i{border-radius:99px;height:8px;width:34px}.project-pill b,.project-pill span{display:block}.project-pill span{color:#64748b;font-size:.72rem}.projects-viewbar{align-items:center;display:flex;gap:1rem;justify-content:space-between;margin-bottom:.8rem}.projects-viewbar nav{background:#f1f5f9;border-radius:8px;display:flex;padding:.2rem}.projects-viewbar nav a{border-radius:7px;color:#475569;padding:.45rem .75rem;text-decoration:none}.projects-viewbar nav a.active{background:#fff;color:#172033;font-weight:800}.projects-viewbar form{display:flex;gap:.4rem}.task-list{display:grid;gap:.55rem}.task-row{align-items:center;border:1px solid #e2e8f0;border-radius:8px;display:grid;gap:.65rem;grid-template-columns:1.5fr 110px 90px 110px 150px auto;padding:.65rem}.task-row.is-overdue,.calendar-task.is-overdue,.projects-right-panel a.is-overdue{background:#fff1f2;border-color:#fecdd3}.task-row strong,.task-row span{display:block}.task-row span,.task-row time{color:#64748b;font-size:.72rem}.task-row em{font-style:normal;font-weight:800}.task-row progress{width:100%}.task-detail{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;margin-top:-.35rem;padding:.75rem}.task-detail-grid{display:grid;gap:.55rem;grid-template-columns:2fr repeat(3,1fr)}.task-detail-grid div{background:#fff;border-radius:7px;padding:.6rem}.task-detail-grid span{color:#64748b;display:block;font-size:.68rem;font-weight:800;text-transform:uppercase}.task-update-form,.task-comment-form{display:flex;gap:.45rem;margin-top:.55rem}.task-update-form select,.task-update-form input,.task-comment-form input{border:1px solid #d7deea;border-radius:7px;padding:.42rem}.task-comment-form input{flex:1}.task-detail-links{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.55rem}.task-detail-links a{background:#eaf2ff;border-radius:7px;padding:.35rem .5rem;text-decoration:none}.gantt-board{overflow-x:auto}.gantt-days,.gantt-row{display:grid;grid-template-columns:220px minmax(720px,1fr)}.gantt-days div{display:grid;grid-template-columns:repeat(var(--days,31),1fr)}.gantt-days b{color:#64748b;font-size:.68rem;text-align:center}.gantt-days b.is-today{color:#dc2626}.gantt-project{border-top:1px solid #e2e8f0;padding:.55rem 0}.gantt-project summary{cursor:pointer;font-weight:800}.gantt-project summary i{border-radius:99px;display:inline-block;height:9px;margin-right:.35rem;width:28px}.gantt-row{align-items:center;min-height:34px}.gantt-row label{font-size:.75rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gantt-line{background:repeating-linear-gradient(90deg,#f8fafc 0,#f8fafc calc(100% / 31 - 1px),#e2e8f0 calc(100% / 31));height:24px;position:relative}.gantt-bar{border-radius:7px;color:#fff;display:block;height:18px;min-width:24px;position:absolute;text-align:center;text-decoration:none;top:3px}.gantt-bar span{font-size:.68rem;font-weight:800}.gantt-row.is-overdue .gantt-bar{background:#dc2626!important}.gantt-line em{background:#111827;height:24px;position:absolute;top:0;width:2px}.project-calendar{display:grid;gap:.35rem;grid-template-columns:repeat(7,minmax(0,1fr))}.project-calendar>b{color:#64748b;font-size:.7rem;text-align:center}.project-calendar article{background:#f8fafc;border:1px solid #e2e8f0;border-radius:7px;min-height:96px;padding:.45rem}.project-calendar article.is-muted{opacity:.45}.project-calendar article.is-today{border-color:#2563eb}.calendar-task{background:#eaf2ff;border-radius:5px;color:#172033;display:block;font-size:.68rem;margin-top:.25rem;overflow:hidden;padding:.22rem .3rem;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.projects-right-panel .nav-tabs{font-size:.75rem}.projects-right-panel .tab-content{padding-top:.65rem}.projects-right-panel article,.projects-right-panel a{border:1px solid #e2e8f0;border-radius:8px;color:#172033;display:block;margin-bottom:.45rem;padding:.55rem;text-decoration:none}.projects-right-panel strong{font-size:1.15rem}.projects-right-panel span{color:#64748b;display:block;font-size:.72rem}@media(max-width:1100px){.projects-layout{grid-template-columns:1fr}.project-summary-grid,.project-inline-form{grid-template-columns:repeat(2,minmax(0,1fr))}.task-row{grid-template-columns:1fr}.projects-right-panel{order:3}}@media(max-width:700px){.project-summary-grid,.project-inline-form,.task-detail-grid{grid-template-columns:1fr}.projects-header,.projects-viewbar{align-items:stretch;flex-direction:column}}
