/* Copied from docs/design/employee-form-prototype.html (Wisam's approved prototype), minus the
 * demo panel (.demo) and the old dropdown (.dd*) — T12 §10. */
:root {
  --ink: #0f3f35;
  --ink-2: #18564a;
  --ink-3: #2e6e60;
  --ink-soft: #dce9e4;
  --ink-tint: #eef4f1;
  --gold: #b08a4e;
  --gold-2: #8c6a35;
  --gold-soft: #f3e9d6;
  --copper: #a9562f;
  --copper-soft: #f6e4da;
  --slate: #4d6070;
  --slate-soft: #e2e8ee;
  --sand: #ede8de;
  --sand-2: #e3dccf;
  --field: #fbfaf6;
  --card: #fffdf9;
  --line: #ddd5c6;
  --line-2: #c9bfad;
  --text: #1c2420;
  --muted: #66706a;
  --faint: #98a09a;
  --danger: #a3352b;
  --danger-soft: #f8e6e2;
  --ok: #2c6a45;
  --ok-soft: #e3f0e6;
  --warn: #8a5a12;
  --warn-soft: #f7ebd3;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  background: var(--sand);
}
body {
  font-family: 'Cairo', system-ui, sans-serif;
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  padding-bottom: 110px;
}
button,
input,
textarea {
  font: inherit;
  color: inherit;
}
.mono {
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.02em;
}
.wrap {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 16px;
}

.orgbar {
  background: #08251f;
  color: #fff;
  border-bottom: 3px solid var(--gold);
}
.orgbar .wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.seal {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(176, 138, 78, 0.12);
  border: 1.5px solid var(--gold);
  display: grid;
  place-items: center;
  color: var(--gold);
  flex: none;
}
.org b {
  display: block;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.35;
}
.org small {
  display: block;
  font-size: 13px;
  color: #d9c29a;
  font-weight: 500;
  line-height: 1.4;
}
.top {
  background: var(--ink);
  color: #fff;
  padding: 30px 0 66px;
  text-align: center;
}
.title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.title::before,
.title::after {
  content: '';
  height: 1.5px;
  width: 56px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.title::after {
  transform: scaleX(-1);
}
.title h1 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
}
.diamond {
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
  margin: 12px auto 14px;
}
.court-name {
  font-size: 19px;
  font-weight: 700;
  color: #e8d3ac;
}
.meta {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.meta .m {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  padding: 5px 16px;
  font-size: 13.5px;
}
.meta small {
  color: rgba(255, 255, 255, 0.6);
  margin-inline-end: 6px;
}
.meta b {
  font-weight: 600;
}
.skel {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  color: transparent;
}

.sheet {
  margin-top: -34px;
  position: relative;
}
.sec {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: visible;
}
.sec-h {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: var(--ink-tint);
  border-bottom: 1px solid var(--line);
  border-radius: 14px 14px 0 0;
}
.num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  flex: none;
}
.sec-h h2 {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
}
.sec-h p {
  font-size: 12.5px;
  color: var(--muted);
  margin-inline-start: auto;
}
.sec-b {
  padding: 18px;
}

.f {
  margin-bottom: 14px;
}
.f > label,
.f > .lab {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--ink);
}
.opt-l {
  color: var(--faint);
  font-weight: 400;
}
.inp {
  width: 100%;
  height: 46px;
  border: 1px solid var(--line-2);
  border-radius: 9px;
  padding: 0 12px;
  background: var(--field);
  outline: none;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
textarea.inp {
  height: auto;
  min-height: 84px;
  padding: 10px 12px;
  resize: vertical;
}
.inp:focus {
  border-color: var(--ink-3);
  box-shadow: 0 0 0 3px rgba(46, 110, 96, 0.15);
  background: #fff;
}
.inp::placeholder {
  color: var(--faint);
}
.inp.ltr {
  direction: ltr;
  text-align: left;
}
.inp.bad {
  border-color: var(--danger);
}

.newdev {
  margin-top: 16px;
  padding: 16px;
  border-radius: 12px;
  background: var(--field);
  border: 1px solid var(--line);
}
.newdev-h {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gold-2);
  margin-bottom: 14px;
}
.newdev .inp {
  background: #fff;
}

.seg {
  display: flex;
  background: var(--sand);
  border-radius: 10px;
  padding: 4px;
  gap: 4px;
  flex-wrap: wrap;
}
.seg button {
  flex: 1;
  border: 0;
  background: transparent;
  height: 40px;
  border-radius: 7px;
  cursor: pointer;
  font-size: 14px;
  color: var(--muted);
  transition: all 0.15s;
  min-width: 88px;
}
.seg button:hover {
  color: var(--ink);
}
.seg button.on {
  background: var(--ink);
  color: #fff;
  font-weight: 500;
}

.drop {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1.5px dashed var(--line-2);
  border-radius: 10px;
  padding: 12px;
  cursor: pointer;
  background: #fff;
  transition: border-color 0.15s;
}
.drop:hover {
  border-color: var(--ink-3);
}
.drop input {
  display: none;
}
.drop .pv {
  width: 54px;
  height: 54px;
  border-radius: 9px;
  background: var(--ink-soft);
  color: var(--ink);
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: none;
}
.drop .pv img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.drop b {
  font-weight: 500;
  font-size: 14px;
  display: block;
}
.drop small {
  font-size: 12px;
  color: var(--muted);
}

.reading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink);
  padding: 12px 0 0;
}
.bar2 {
  flex: 1;
  height: 4px;
  background: rgba(15, 63, 53, 0.12);
  border-radius: 4px;
  overflow: hidden;
}
.bar2 i {
  display: block;
  height: 100%;
  width: 40%;
  background: var(--ink);
  animation: slide 1s ease-in-out infinite;
}
@keyframes slide {
  0% {
    transform: translateX(150%);
  }
  100% {
    transform: translateX(-250%);
  }
}
.extracted {
  background: #fff;
  border: 1px solid #e6d5b5;
  border-radius: 10px;
  padding: 14px;
  margin-top: 12px;
}
.extracted .eh {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--ok);
  background: var(--ok-soft);
  border-radius: 7px;
  padding: 5px 10px;
  margin-bottom: 12px;
}
.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.grid2 .f {
  margin-bottom: 0;
}
.grid2 label {
  font-size: 12px !important;
  color: var(--muted) !important;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  margin-top: 14px;
  cursor: pointer;
}
.check input {
  width: 18px;
  height: 18px;
  accent-color: var(--ink);
  margin-top: 2px;
  flex: none;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.chip {
  border: 1.5px solid var(--line-2);
  border-radius: 20px;
  background: #fff;
  padding: 8px 16px;
  cursor: pointer;
  font-family: 'IBM Plex Mono', monospace;
  direction: ltr;
}
.chip:hover {
  border-color: var(--ink-3);
}

.err {
  font-size: 12px;
  color: var(--danger);
  margin-top: 6px;
}
.block {
  display: flex;
  gap: 10px;
  background: var(--danger-soft);
  color: var(--danger);
  border: 1px solid #ebc5be;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13px;
  margin-bottom: 14px;
}
.block b {
  font-weight: 600;
}

.foot {
  position: fixed;
  inset: auto 0 0 0;
  background: var(--ink);
  padding: 12px 0;
  z-index: 10;
}
.foot .wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.foot .sum {
  flex: 1;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.45;
  min-width: 0;
}
.foot .sum b {
  color: #fff;
  font-weight: 500;
  display: block;
  font-size: 13.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.btn {
  height: 48px;
  border: 0;
  border-radius: 10px;
  background: var(--gold);
  color: #fff;
  font-weight: 600;
  padding: 0 28px;
  cursor: pointer;
  transition: background 0.15s;
  flex: none;
}
.btn:hover {
  background: var(--gold-2);
}
.btn:disabled {
  background: #8a8f8b;
  cursor: not-allowed;
}

.bad-link {
  text-align: center;
  padding: 50px 24px;
}
.bad-link .ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--danger-soft);
  display: grid;
  place-items: center;
  margin: 0 auto;
}
.bad-link h2 {
  font-size: 18px;
  font-weight: 600;
  margin-top: 14px;
}
.bad-link p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 6px;
}

@media (max-width: 420px) {
  .title h1 {
    font-size: 30px;
  }
  .title::before,
  .title::after {
    width: 34px;
  }
}
.fade {
  animation: fade 0.25s ease;
}
@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .fade {
    animation: none;
  }
  .bar2 i {
    animation: none;
  }
}
.logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  flex: none;
  background: #fff;
  border-radius: 50%;
  padding: 2px;
}
.modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.mode {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--line-2);
  border-radius: 12px;
  background: var(--field);
  padding: 12px;
  cursor: pointer;
  text-align: right;
  transition: all 0.15s;
}
.mode:hover {
  border-color: var(--ink-3);
}
.mode:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.mode .mi {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--ink-soft);
  color: var(--ink);
  display: grid;
  place-items: center;
  flex: none;
}
.mode b {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
.mode small {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.4;
}
.mode.on {
  border-color: var(--ink);
  background: var(--ink-tint);
}
.mode.on .mi {
  background: var(--ink);
  color: #fff;
}
.hint-qr {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12.5px;
  color: var(--muted);
  background: var(--sand);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 14px;
}
.hint-qr .mi {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  display: grid;
  place-items: center;
  flex: none;
}
.codebox {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
}
.codebox .inp {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 24px;
  letter-spacing: 0.5em;
  text-align: center;
  direction: ltr;
  height: 56px;
  max-width: 200px;
  padding-inline-start: 0.5em;
}
.codebox small {
  font-size: 12px;
  color: var(--muted);
}
.devcard {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1.5px solid var(--ink);
  border-radius: 12px;
  background: var(--ink-tint);
  padding: 12px;
}
.devcard .dic {
  width: 46px;
  height: 46px;
  border-radius: 9px;
  background: var(--ink-soft);
  color: var(--ink);
  display: grid;
  place-items: center;
  flex: none;
}
.devcard .dt {
  font-weight: 500;
  font-size: 14px;
  display: block;
}
.devcard .ds {
  font-size: 12px;
  color: var(--muted);
  display: block;
}
.devcard .code {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  background: var(--ink);
  color: #fff;
  border-radius: 6px;
  padding: 2px 8px;
  margin-inline-start: 6px;
}
.devcard .chg {
  margin-inline-start: auto;
  border: 0;
  background: transparent;
  color: var(--ink-3);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 8px;
  flex: none;
  text-decoration: underline;
}
.via {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ok);
  background: var(--ok-soft);
  border-radius: 20px;
  padding: 3px 10px;
  margin-bottom: 10px;
}
.note-ok {
  font-size: 12.5px;
  color: var(--warn);
  background: var(--warn-soft);
  border-radius: 9px;
  padding: 9px 12px;
  margin-top: 10px;
}
.oos {
  display: flex;
  gap: 10px;
  background: var(--danger-soft);
  color: var(--danger);
  border: 1px solid #ebc5be;
  border-radius: 12px;
  padding: 14px;
  font-size: 13.5px;
  margin-top: 12px;
}
.oos b {
  display: block;
  font-weight: 700;
  font-size: 14.5px;
}
.tag.pend {
  display: inline-block;
  margin-inline-start: 8px;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 20px;
  white-space: nowrap;
  background: var(--warn-soft);
  color: var(--warn);
}
.toast {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 110px;
  max-width: 600px;
  margin: 0 auto;
  background: var(--ink);
  color: #fff;
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  z-index: 20;
}
.toast button {
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: #fff;
  border-radius: 8px;
  padding: 6px 12px;
  cursor: pointer;
  flex: none;
}
@media (max-width: 420px) {
  .modes {
    grid-template-columns: 1fr;
  }
}

/* ---- T13: steps 2-3, submit, confirmation, my requests ---- */
.types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.type {
  border: 1.5px solid transparent;
  border-radius: 12px;
  padding: 16px 8px 12px;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s;
}
.type .ti {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 8px;
  background: #fff;
}
.type b {
  display: block;
  font-weight: 600;
  font-size: 14px;
}
.type small {
  font-size: 11.5px;
  opacity: 0.8;
}
.type.ink {
  background: var(--ink-soft);
  color: var(--ink);
}
.type.fault {
  background: var(--copper-soft);
  color: var(--copper);
}
.type.other {
  background: var(--slate-soft);
  color: var(--slate);
}
.type:hover {
  border-color: currentColor;
}
.type.on {
  color: #fff;
}
.type.on.ink {
  background: var(--ink);
}
.type.on.fault {
  background: var(--copper);
}
.type.on.other {
  background: var(--slate);
}
.type.on .ti {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.sub {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}
.opts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.opt {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--field);
  padding: 8px 12px;
  cursor: pointer;
  text-align: right;
  font-size: 13.5px;
  transition: all 0.15s;
}
.opt:hover {
  border-color: var(--copper);
}
.opt .box {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  border: 1.5px solid var(--line-2);
  display: grid;
  place-items: center;
  flex: none;
  background: #fff;
  color: #fff;
}
.opt.on {
  border-color: var(--copper);
  background: var(--copper-soft);
  color: var(--copper);
  font-weight: 500;
}
.opt.on .box {
  background: var(--copper);
  border-color: var(--copper);
}
.seg button.on.u {
  background: var(--copper);
}
.sec.off {
  opacity: 0.45;
  pointer-events: none;
}
.photo-actions {
  display: flex;
  gap: 14px;
  margin-top: 6px;
}
.linkbtn {
  border: 0;
  background: transparent;
  color: var(--ink-3);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 0;
  text-decoration: underline;
}
.block .acts {
  margin-top: 8px;
}
.btn.small {
  height: 36px;
  padding: 0 16px;
  font-size: 13px;
}
.btn.sec2 {
  background: var(--ink);
  margin-top: 22px;
}
.btn.sec2:hover {
  background: var(--ink-2);
}
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line-2);
}
.btn.ghost:hover {
  background: var(--ink-tint);
}
.btn.danger {
  background: var(--copper);
}
.btn.danger:hover {
  background: #8e4626;
}
.btn .spin {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  margin-inline-end: 8px;
  vertical-align: -2px;
  animation: spin 0.8s linear infinite;
}
.boot-loading {
  display: flex;
  justify-content: center;
  padding-top: 120px;
}
.boot-spin {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(0, 0, 0, 0.12);
  border-top-color: var(--copper);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.errid {
  display: block;
  font-size: 12px;
  margin-top: 4px;
  opacity: 0.85;
}
.done {
  text-align: center;
  padding: 30px 20px;
}
.done .ring {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--ok-soft);
  color: var(--ok);
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  border: 4px solid #fff;
  box-shadow: 0 0 0 1px var(--ok-soft);
}
.done h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
}
.done p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 6px;
}
.done .extra {
  font-size: 12.5px;
  margin-top: 14px;
  color: var(--text);
}
.done .acts {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.reqno {
  display: inline-block;
  margin: 20px 0;
  background: var(--gold-soft);
  border: 1px solid #e6d5b5;
  border-radius: 12px;
  padding: 10px 26px;
}
.reqno small {
  display: block;
  font-size: 11.5px;
  color: var(--gold-2);
}
.reqno b {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 28px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.04em;
  direction: ltr;
  unicode-bidi: isolate;
}
.rows {
  text-align: right;
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 14px;
}
.rows div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.rows div:last-child {
  border-bottom: 0;
}
.rows span {
  color: var(--muted);
}
.rows b {
  font-weight: 500;
}
.mine {
  margin-inline-start: auto;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  flex: none;
}
.mine:hover {
  background: rgba(255, 255, 255, 0.1);
}
.list-h {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 16px;
}
.list-h h2 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-inline-end: auto;
}
.list-h .btn {
  margin-top: 0;
}
.reqcard {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 12px;
}
.reqcard .top-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.reqcard .no {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  direction: ltr;
  unicode-bidi: isolate;
}
.reqcard .line {
  font-size: 13px;
  margin-top: 6px;
}
.reqcard .muted {
  color: var(--muted);
  font-size: 12.5px;
}
.reqcard .desc {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.reqcard .card-msg {
  font-size: 12.5px;
  color: var(--danger);
  background: var(--danger-soft);
  border-radius: 9px;
  padding: 8px 12px;
  margin-top: 10px;
}
.pill {
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 20px;
  white-space: nowrap;
}
.pill.new {
  background: var(--gold-soft);
  color: var(--gold-2);
}
.pill.progress {
  background: var(--ok-soft);
  color: var(--ok);
}
.pill.closed {
  background: var(--sand);
  color: var(--muted);
}
.pill.stopped {
  background: var(--copper-soft);
  color: var(--copper);
}
.tag.urgent {
  background: var(--copper-soft);
  color: var(--copper);
  margin-inline-start: 0;
}
.cancel-panel {
  margin-top: 12px;
  padding: 12px;
  border-radius: 10px;
  background: var(--copper-soft);
  border: 1px solid #ebc5be;
}
.cancel-panel p {
  font-size: 12.5px;
  color: var(--copper);
  margin-bottom: 10px;
}
.cancel-panel .acts {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.card-acts {
  margin-top: 10px;
}
.skel-card {
  height: 96px;
  border-radius: 14px;
  margin-bottom: 12px;
  background: linear-gradient(90deg, var(--sand-2), var(--sand), var(--sand-2));
  background-size: 200% 100%;
  animation: shimmer 1.2s linear infinite;
}
@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}
.empty {
  text-align: center;
  color: var(--muted);
  padding: 30px 10px;
  font-size: 14px;
}
@media (max-width: 420px) {
  .opts {
    grid-template-columns: 1fr;
  }
  .type small {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .btn .spin,
  .boot-spin,
  .skel-card {
    animation: none;
  }
}
