.login-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  min-height: 100vh;
  background: #f7f9f8;
}

.login-brand {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: clamp(42px, 8vw, 120px);
  background:
    radial-gradient(circle at 16% 77%, rgba(36, 174, 112, 0.24), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(95, 181, 123, 0.18), transparent 25%),
    #15251e;
  color: #fff;
}

.login-brand::after {
  position: absolute;
  inset: auto -8% -35% 22%;
  height: 62%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 120px rgba(255, 255, 255, 0.018),
    0 0 0 240px rgba(255, 255, 255, 0.012);
  content: "";
  transform: rotate(-10deg);
}

.login-brand > * {
  position: relative;
  z-index: 1;
}

.login-brand .eyebrow {
  margin-top: 30px;
  color: #72e0a6;
}

.login-brand h1 {
  max-width: 670px;
  margin: 17px 0 22px;
  font-size: clamp(38px, 4.4vw, 60px);
  font-weight: 590;
  letter-spacing: -0.055em;
  line-height: 1.09;
}

.login-copy {
  max-width: 590px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
  line-height: 1.85;
}

.login-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 13px 24px;
  margin-top: 48px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
}

.login-proof span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.login-proof i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5ce198;
  box-shadow: 0 0 0 4px rgba(92, 225, 152, 0.09);
}

.login-panel {
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(8, 184, 98, 0.035), transparent 38%),
    #f7f9f8;
}

.login-card {
  width: min(100%, 420px);
  padding: 40px;
  border: 1px solid #e6ece8;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 22px 70px rgba(24, 45, 34, 0.08);
}

.login-card h2 {
  margin: 13px 0 7px;
  font-size: 30px;
  font-weight: 630;
  letter-spacing: -0.035em;
}

.login-card > .muted {
  margin: 0;
  font-size: 13px;
}

.stack-lg {
  display: grid;
  gap: 17px;
  margin-top: 30px;
}

.password-wrap {
  position: relative;
}

.password-wrap input {
  padding-right: 64px;
}

.password-wrap .icon-button {
  position: absolute;
  top: 5px;
  right: 5px;
  width: auto;
  height: 34px;
  padding: 0 9px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
}

.login-card .primary-button {
  min-height: 48px;
  margin-top: 1px;
}

.login-card .primary-button svg {
  width: 19px;
}

.security-note {
  margin: 24px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.security-note code {
  padding: 2px 5px;
  border-radius: 5px;
  background: var(--surface-soft);
  color: var(--ink-soft);
}

.app-shell {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding: 25px 18px 18px;
  background: #15251e;
  color: #fff;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 8px 28px;
}

.sidebar-brand strong {
  display: block;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.sidebar-brand small {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.39);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.nav-list {
  display: grid;
  gap: 5px;
}

.nav-item {
  display: grid;
  grid-template-columns: 20px 1fr auto;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 45px;
  padding: 0 12px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: rgba(255, 255, 255, 0.58);
  text-align: left;
  font-size: 13px;
  cursor: pointer;
}

.nav-item svg {
  width: 19px;
  height: 19px;
}

.nav-item:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.045);
}

.nav-item.active {
  color: #fff;
  background: rgba(72, 211, 135, 0.14);
  box-shadow: inset 0 0 0 1px rgba(94, 221, 150, 0.08);
}

.nav-count {
  min-width: 23px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
}

.sidebar-foot {
  display: grid;
  gap: 16px;
  margin-top: auto;
}

.agent-status {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  margin-top: 4px;
  border-radius: 50%;
  background: #5de099;
  box-shadow: 0 0 0 5px rgba(93, 224, 153, 0.08);
}

.pulse-dot.offline {
  background: #efb765;
  box-shadow: 0 0 0 5px rgba(239, 183, 101, 0.08);
}

.agent-status strong {
  display: block;
  font-size: 11px;
  font-weight: 620;
}

.agent-status small {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 9px;
}

.user-row {
  display: grid;
  grid-template-columns: 34px 1fr 32px;
  align-items: center;
  gap: 10px;
  padding: 13px 5px 2px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(97, 215, 149, 0.15);
  color: #76e4aa;
  font-size: 12px;
  font-weight: 700;
}

.user-meta strong,
.user-meta small {
  display: block;
}

.user-meta strong {
  font-size: 11px;
  font-weight: 620;
}

.user-meta small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 9px;
}

.sidebar .icon-plain {
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.36);
}

.sidebar .icon-plain:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.main {
  min-width: 0;
  padding: 32px clamp(24px, 3.4vw, 54px) 20px;
  background:
    radial-gradient(circle at 96% 0%, rgba(8, 184, 98, 0.04), transparent 23%),
    var(--canvas);
}

.topbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.topbar h1 {
  margin: 8px 0 6px;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 650;
  letter-spacing: -0.045em;
}

.topbar p:not(.section-kicker) {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.topbar-actions {
  display: flex;
  gap: 10px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.metric-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 19px;
  border: 1px solid rgba(220, 229, 224, 0.82);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.metric-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.metric-icon svg {
  width: 20px;
  height: 20px;
}

.tone-green .metric-icon {
  color: var(--green-dark);
  background: var(--green-pale);
}

.tone-blue .metric-icon {
  color: #2f78b0;
  background: var(--blue-pale);
}

.tone-violet .metric-icon {
  color: #755bc3;
  background: var(--violet-pale);
}

.tone-amber .metric-icon {
  color: var(--amber);
  background: var(--amber-pale);
}

.metric-card span,
.metric-card strong,
.metric-card small {
  display: block;
}

.metric-card span {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 620;
}

.metric-card strong {
  margin-top: 5px;
  font-size: 29px;
  font-weight: 620;
  letter-spacing: -0.05em;
}

.metric-card small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.task-panel {
  margin-top: 22px;
  border: 1px solid rgba(220, 229, 224, 0.9);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 23px 15px;
}

.panel-heading h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 650;
}

.panel-heading p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.search-box {
  display: flex;
  align-items: center;
  width: min(100%, 290px);
  height: 39px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-soft);
  color: var(--muted);
}

.search-box svg {
  width: 17px;
  height: 17px;
}

.search-box input {
  min-width: 0;
  flex: 1;
  height: 100%;
  padding: 0 0 0 8px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
}

.filter-row {
  display: flex;
  gap: 4px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
}

.filter-tab {
  position: relative;
  min-height: 45px;
  padding: 0 13px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 560;
  cursor: pointer;
}

.filter-tab::after {
  position: absolute;
  right: 12px;
  bottom: -1px;
  left: 12px;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: transparent;
  content: "";
}

.filter-tab:hover {
  color: var(--ink);
}

.filter-tab.active {
  color: var(--ink);
  font-weight: 670;
}

.filter-tab.active::after {
  background: var(--green);
}

.task-table-wrap {
  overflow-x: auto;
}

.task-table {
  width: 100%;
  min-width: 850px;
  border-collapse: collapse;
}

.task-table th {
  height: 42px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: #fcfdfc;
  color: #8a9590;
  text-align: left;
  font-size: 9px;
  font-weight: 680;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.task-table td {
  height: 72px;
  padding: 11px 18px;
  border-bottom: 1px solid #edf1ee;
  color: var(--ink-soft);
  font-size: 12px;
  vertical-align: middle;
}

.task-table tr:last-child td {
  border-bottom: 0;
}

.task-table tbody tr {
  transition: background 140ms ease;
}

.task-table tbody tr:hover {
  background: #fbfdfc;
}

.customer-cell {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 190px;
}

.customer-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: #eff5f2;
  color: #406454;
  font-size: 12px;
  font-weight: 700;
}

.customer-cell strong,
.customer-cell small {
  display: block;
}

.customer-cell strong {
  color: var(--ink);
  font-size: 12px;
  font-weight: 650;
}

.customer-cell small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.stage-cell {
  min-width: 165px;
}

.stage-cell span {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: 11px;
}

.progress-track {
  overflow: hidden;
  width: 145px;
  height: 5px;
  border-radius: 99px;
  background: #edf1ef;
}

.progress-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--green);
}

.owner-cell {
  white-space: nowrap;
}

.owner-cell small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
}

.row-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.row-action:hover {
  border-color: #bed8c9;
  color: var(--green-dark);
  background: #f9fdfa;
}

.row-action svg {
  width: 14px;
  height: 14px;
}

.empty-state {
  display: grid;
  place-items: center;
  padding: 64px 20px 70px;
  text-align: center;
}

.empty-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: var(--surface-soft);
  color: var(--muted);
}

.empty-icon svg {
  width: 22px;
  height: 22px;
}

.empty-state h3 {
  margin: 15px 0 5px;
  font-size: 14px;
}

.empty-state p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.main-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 3px 0;
  color: #99a39e;
  font-size: 9px;
}

.modal {
  width: min(92vw, 620px);
  max-height: 92vh;
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: transparent;
  box-shadow: var(--shadow-lg);
}

.modal::backdrop {
  background: rgba(12, 25, 19, 0.45);
  backdrop-filter: blur(3px);
}

.modal-card {
  margin: 0;
  padding: 27px;
  background: #fff;
}

.modal-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.modal-heading h2 {
  margin: 8px 0 5px;
  font-size: 23px;
  letter-spacing: -0.03em;
}

.modal-heading p:not(.section-kicker) {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.close-dialog {
  flex: 0 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.span-2 {
  grid-column: span 2;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 10px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.drawer-layer {
  position: fixed;
  z-index: 40;
  inset: 0;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background: rgba(15, 28, 21, 0.36);
  backdrop-filter: blur(2px);
}

.task-drawer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(610px, 95vw);
  overflow-y: auto;
  background: #fff;
  box-shadow: -24px 0 70px rgba(18, 35, 26, 0.15);
  animation: drawer-in 220ms ease-out;
}

@keyframes drawer-in {
  from {
    transform: translateX(30px);
    opacity: 0.5;
  }
}

.drawer-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 100vh;
  color: var(--muted);
  font-size: 12px;
}

.drawer-top {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 25px 27px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
}

.drawer-top h2 {
  margin: 6px 0 7px;
  font-size: 23px;
  letter-spacing: -0.03em;
}

.drawer-top p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.drawer-body {
  display: grid;
  gap: 18px;
  padding: 22px 27px 40px;
}

.current-card {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border-radius: 16px;
  background: #15251e;
  color: #fff;
}

.current-card::after {
  position: absolute;
  right: -45px;
  bottom: -80px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(255, 255, 255, 0.02);
  content: "";
}

.current-card > * {
  position: relative;
  z-index: 1;
}

.current-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.current-card .label {
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.08em;
}

.current-card h3 {
  margin: 12px 0 8px;
  font-size: 19px;
  font-weight: 620;
}

.current-card p {
  max-width: 440px;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  line-height: 1.65;
}

.current-card .progress-track {
  width: 100%;
  margin-top: 18px;
  background: rgba(255, 255, 255, 0.1);
}

.current-card .progress-fill {
  background: #50dc94;
}

.detail-section {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.detail-section h3 {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 670;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px 20px;
}

.detail-item span,
.detail-item strong {
  display: block;
}

.detail-item span {
  color: var(--muted);
  font-size: 9px;
}

.detail-item strong {
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 560;
  word-break: break-word;
}

.detail-note {
  margin: 14px 0 0;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.65;
}

.stage-list {
  display: grid;
  gap: 0;
}

.stage-item {
  position: relative;
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  min-height: 43px;
  color: var(--muted);
  font-size: 10px;
}

.stage-item::before {
  position: absolute;
  top: 18px;
  bottom: -3px;
  left: 6px;
  width: 1px;
  background: var(--line);
  content: "";
}

.stage-item:last-child::before {
  display: none;
}

.stage-dot {
  position: relative;
  z-index: 1;
  width: 13px;
  height: 13px;
  margin-top: 3px;
  border: 2px solid #d7dfdb;
  border-radius: 50%;
  background: #fff;
}

.stage-item strong {
  display: block;
  padding-top: 1px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 580;
}

.stage-item.complete .stage-dot {
  border-color: var(--green);
  background: var(--green);
  box-shadow: inset 0 0 0 2px #fff;
}

.stage-item.complete strong {
  color: var(--ink-soft);
}

.stage-item.active .stage-dot {
  border-color: var(--green);
  box-shadow: 0 0 0 4px var(--green-pale);
}

.stage-item.active strong {
  color: var(--ink);
  font-weight: 680;
}

.drawer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.drawer-actions .primary-button,
.drawer-actions .secondary-button {
  width: 100%;
}

.link-box {
  padding: 12px;
  border: 1px dashed #cfdad3;
  border-radius: 10px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
  word-break: break-all;
}

.qr-upload {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
  padding: 11px;
  border-radius: 10px;
  background: var(--surface-soft);
}

.qr-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 7px;
}

.qr-actions .primary-button,
.qr-actions .secondary-button {
  min-height: 36px;
  padding: 0 11px;
  font-size: 10px;
  white-space: nowrap;
}

.qr-actions .spinner {
  width: 14px;
  height: 14px;
  border-width: 1.5px;
}

.qr-upload strong,
.qr-upload small {
  display: block;
}

.qr-upload strong {
  font-size: 10px;
}

.qr-upload small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
}

.qr-upload input {
  display: none;
}

.event-list {
  display: grid;
  gap: 15px;
}

.event-item {
  display: grid;
  grid-template-columns: 8px 1fr;
  gap: 10px;
}

.event-dot {
  width: 7px;
  height: 7px;
  margin-top: 5px;
  border-radius: 50%;
  background: #b7c5bd;
}

.event-item.error .event-dot {
  background: var(--amber);
}

.event-item strong {
  display: block;
  font-size: 10px;
  font-weight: 620;
}

.event-item p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.55;
}

.event-item time {
  display: block;
  margin-top: 4px;
  color: #9aa49f;
  font-size: 8px;
}

.error-panel {
  padding: 13px 15px;
  border: 1px solid #f0d7ad;
  border-radius: 11px;
  background: var(--amber-pale);
  color: #8d5a0e;
  font-size: 10px;
  line-height: 1.6;
}

@media (max-width: 1120px) {
  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .login-shell {
    grid-template-columns: 1fr;
  }

  .login-brand {
    display: none;
  }

  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    width: 100%;
    height: auto;
    padding: 12px 16px;
  }

  .sidebar-brand {
    padding: 0;
  }

  .sidebar-brand .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .sidebar-brand .brand-mark svg {
    width: 22px;
    height: 22px;
  }

  .nav-list,
  .agent-status,
  .user-meta {
    display: none;
  }

  .sidebar-foot {
    margin: 0;
  }

  .user-row {
    display: flex;
    padding: 0;
    border: 0;
  }

  .main {
    padding: 24px 16px 18px;
  }

  .topbar {
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  .login-panel {
    padding: 16px;
  }

  .login-card {
    padding: 28px 22px;
  }

  .topbar {
    display: grid;
  }

  .topbar-actions {
    width: 100%;
  }

  .topbar-actions button {
    flex: 1;
  }

  .metrics-grid {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }

  .metric-card {
    display: grid;
    gap: 10px;
    padding: 14px;
  }

  .metric-card strong {
    font-size: 24px;
  }

  .metric-card small {
    display: none;
  }

  .panel-heading {
    display: grid;
    padding: 18px 16px 13px;
  }

  .search-box {
    width: 100%;
  }

  .filter-row {
    overflow-x: auto;
    padding: 0 8px;
  }

  .filter-tab {
    white-space: nowrap;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .span-2 {
    grid-column: auto;
  }

  .modal-card {
    padding: 22px 18px;
  }

  .task-drawer {
    width: 100%;
  }

  .drawer-top,
  .drawer-body {
    padding-right: 18px;
    padding-left: 18px;
  }

  .drawer-actions {
    grid-template-columns: 1fr;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .main-footer {
    display: none;
  }
}
