:root {
  --navy: #0f2a44;
  --navy-2: #1b3d5f;
  --amber: #f59e0b;
  --amber-2: #fbbf24;
  --bg: #f4f6f8;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --ok: #059669;
  --warn: #d97706;
  --err: #dc2626;
  --info: #2563eb;
  --radius: 10px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; background: var(--bg); color: var(--text); font-size: 14px; line-height: 1.45; }
a { color: var(--navy-2); }
h1 { font-size: 22px; margin: 0 0 16px; }
h2 { font-size: 17px; margin: 0 0 12px; }
h3 { font-size: 15px; margin: 0 0 10px; }
small, .muted { color: var(--muted); }
code { background: #eef2f7; padding: 1px 5px; border-radius: 4px; }

/* topbar */
.topbar { background: var(--navy); color: #fff; display: flex; align-items: center; gap: 12px; padding: 0 20px; height: 58px; position: sticky; top: 0; z-index: 10; box-shadow: 0 2px 6px rgba(0,0,0,.15); }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 20px; letter-spacing: .2px; }
.brand img { height: 34px; width: 34px; }
.brand .t { color: var(--amber); }
.brand .ver { font-size: 11px; font-weight: 500; color: #cbd5e1; border: 1px solid #36597c; border-radius: 10px; padding: 1px 7px; margin-left: 2px; }
.nav { display: flex; gap: 2px; flex-wrap: wrap; flex: 1; }
.nav a { color: #dbe4ee; text-decoration: none; padding: 8px 8px; border-radius: 7px; font-size: 13px; white-space: nowrap; }
.nav a:hover { background: var(--navy-2); color: #fff; }
.nav a.active { background: var(--navy-2); color: #fff; box-shadow: inset 0 -2px 0 var(--amber); }
.userbox { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #cbd5e1; }
.userbox a { color: #fff; text-decoration: none; }
.userbox form { margin: 0; }
.menu-toggle { display: none; background: none; border: 0; color: #fff; font-size: 22px; cursor: pointer; }

.banner { padding: 10px 20px; font-size: 13.5px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.banner form { margin: 0; }
.banner.imp { background: #7c2d12; color: #fff; }
.banner.grace { background: #fef3c7; color: #78350f; border-bottom: 1px solid #fde68a; }

main { max-width: 1240px; margin: 0 auto; padding: 24px 20px 60px; }
footer.foot { text-align: center; color: var(--muted); font-size: 12px; padding: 18px; }

/* cards & grid */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 18px; }
.card > h2:first-child, .card > h3:first-child { margin-top: 0; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g2.wide-left { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
.tscroll { overflow-x: auto; max-width: 100%; }
.tscroll .badge { white-space: nowrap; }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kpi { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.kpi .v { font-size: 26px; font-weight: 700; color: var(--navy); }
.kpi .l { color: var(--muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: .4px; }
.kpi.accent { border-left: 4px solid var(--amber); }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }
.head-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.head-row h1 { margin: 0; }

/* table */
table.t { width: 100%; border-collapse: collapse; background: var(--card); }
table.t th, table.t td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.t th { font-size: 12px; text-transform: uppercase; letter-spacing: .3px; color: var(--muted); background: #f9fafb; font-weight: 600; }
table.t tr:hover td { background: #fafcff; }
table.t td.num, table.t th.num { text-align: right; white-space: nowrap; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.table-wrap table.t { border: 0; }
.clip { max-width: 260px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* forms */
label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 4px; }
.field { margin-bottom: 14px; }
.hint { font-weight: 400; color: var(--muted); font-size: 12px; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=time], input[type=search], select, textarea {
  width: 100%; padding: 8px 10px; border: 1px solid #cfd6df; border-radius: 7px; font: inherit; background: #fff; color: var(--text);
}
input:focus, select:focus, textarea:focus { outline: 2px solid #bfdbfe; border-color: var(--info); }
textarea { min-height: 110px; resize: vertical; }
input[type=checkbox] { width: 16px; height: 16px; vertical-align: middle; }
.check { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.filters .field { margin: 0; min-width: 140px; }

.btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 7px; border: 1px solid var(--navy); background: var(--navy); color: #fff; font: inherit; font-weight: 600; font-size: 13.5px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn:hover { background: var(--navy-2); }
.btn.sec { background: #fff; color: var(--navy); border-color: #cfd6df; }
.btn.sec:hover { background: #f3f4f6; }
.btn.amber { background: var(--amber); border-color: var(--amber); color: #1f1300; }
.btn.amber:hover { background: var(--amber-2); }
.btn.danger { background: #fff; color: var(--err); border-color: #fecaca; }
.btn.danger:hover { background: #fef2f2; }
.btn.ok { background: var(--ok); border-color: var(--ok); }
.btn.sm { padding: 4px 9px; font-size: 12.5px; }
.inline { display: inline; margin: 0; }

/* badges */
.badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 600; background: #e5e7eb; color: #374151; white-space: nowrap; }
.badge.bozza { background: #e5e7eb; color: #374151; }
.badge.da_firmare { background: #dbeafe; color: #1e40af; }
.badge.firmato { background: #d1fae5; color: #065f46; }
.badge.contestato { background: #fee2e2; color: #991b1b; }
.badge.admin { background: #ede9fe; color: #5b21b6; }
.badge.addetto { background: #e0f2fe; color: #075985; }
.badge.referente { background: #fef3c7; color: #92400e; }
.badge.off { background: #f3f4f6; color: #9ca3af; }
.badge.ok { background: #d1fae5; color: #065f46; }
.badge.warn { background: #fef3c7; color: #92400e; }
.badge.err { background: #fee2e2; color: #991b1b; }

/* flash */
.flash { padding: 10px 14px; border-radius: 8px; margin-bottom: 12px; border: 1px solid; }
.flash.ok { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.flash.error { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.flash.warn { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.flash.info { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }

/* progress */
.bar { height: 8px; background: #e5e7eb; border-radius: 99px; overflow: hidden; min-width: 80px; }
.bar > span { display: block; height: 100%; background: var(--ok); }
.bar.warn > span { background: var(--warn); }
.bar.over > span { background: var(--err); }

/* login */
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #0f2a44 0%, #1b3d5f 60%, #24507a 100%); padding: 20px; }
.login-card { background: #fff; border-radius: 14px; padding: 32px 30px; width: 100%; max-width: 380px; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.login-card .logo { display: block; margin: 0 auto 6px; width: 220px; }
.login-card .ver { text-align: center; color: var(--muted); font-size: 12px; margin-bottom: 20px; }
.login-card .btn { width: 100%; justify-content: center; padding: 10px; }
.otp { font-size: 24px !important; letter-spacing: 8px; text-align: center; font-family: monospace; }

/* rapportino */
.entries { width: 100%; border-collapse: collapse; }
.entries th { font-size: 11.5px; color: var(--muted); text-align: left; padding: 4px; font-weight: 600; }
.entries td { padding: 4px; vertical-align: middle; }
.entries input, .entries select { padding: 6px 7px; }
.entries .tm { width: 118px; }
.entries .dur { width: 90px; }
.entries .rate { width: 80px; }
.sigbox { position: relative; width: 100%; max-width: 520px; }
.sigpad { border: 2px dashed #94a3b8; border-radius: 8px; background: #fff; touch-action: none; -ms-touch-action: none; user-select: none; -webkit-user-select: none; width: 100%; height: auto; aspect-ratio: 520 / 180; display: block; cursor: crosshair; }
.sigbox-hint { position: absolute; left: 0; right: 0; bottom: 34px; margin: 0 24px; border-top: 1px solid #cbd5e1; padding-top: 4px; color: #94a3b8; font-size: 13px; text-align: center; pointer-events: none; }
.sig-img { max-height: 70px; border: 1px solid var(--line); border-radius: 6px; background: #fff; padding: 4px; }
.desc { white-space: pre-wrap; background: #f9fafb; border: 1px solid var(--line); border-radius: 8px; padding: 12px; }
.timer { font-family: monospace; font-size: 30px; font-weight: 700; color: var(--navy); }
.dl { display: grid; grid-template-columns: 160px 1fr; gap: 6px 14px; margin: 0; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; }
.pager { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.pager a, .pager span { padding: 4px 10px; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; background: #fff; }
.pager span.cur { background: var(--navy); color: #fff; border-color: var(--navy); }
.chart-box { position: relative; height: 280px; }
.logo-thumb { max-height: 60px; max-width: 180px; background: #fff; border: 1px solid var(--line); padding: 4px; border-radius: 6px; }
details summary { cursor: pointer; font-weight: 600; }
pre.details { white-space: pre-wrap; word-break: break-all; font-size: 11.5px; margin: 0; max-width: 420px; color: #374151; }

@media (max-width: 900px) {
  .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g2, .g2.wide-left { grid-template-columns: 1fr; }
  .menu-toggle { display: block; }
  .topbar { flex-wrap: wrap; height: auto; padding: 10px 14px; }
  .nav { display: none; width: 100%; flex-direction: column; order: 3; }
  .nav.open { display: flex; }
  .userbox { margin-left: auto; }
  .dl { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .g3, .g4 { grid-template-columns: 1fr; }
  main { padding: 16px 10px 40px; }
}
@media print {
  .topbar, .banner, .no-print, footer.foot { display: none !important; }
  body { background: #fff; }
  .card { border: 0; }
}

/* colore del cliente */
.cl { display: inline-flex; align-items: center; gap: 6px; padding: 1px 9px 1px 7px; border-radius: 999px; background: #eef2f7; background: color-mix(in srgb, var(--c) 14%, white); color: #1f2937; font-weight: 600; font-size: 12.5px; white-space: nowrap; }
.cl::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--c); flex: none; }
table.t tr.crow td:first-child { box-shadow: inset 4px 0 0 var(--c); }
.swatch { display: inline-block; width: 14px; height: 14px; border-radius: 4px; background: var(--c); vertical-align: middle; }
input[type=color] { width: 64px; height: 36px; padding: 2px; border: 1px solid #cfd6df; border-radius: 7px; background: #fff; }
select.colored { box-shadow: inset 5px 0 0 var(--c, transparent); }

/* campi data gg/mm/aaaa */
.date-wrap { position: relative; display: flex; align-items: center; }
.date-wrap input.date { padding-right: 36px; }
.date-btn { position: absolute; right: 4px; background: none; border: 0; cursor: pointer; font-size: 16px; padding: 4px; line-height: 1; }
.date-native { position: absolute; right: 0; bottom: 0; width: 1px; height: 1px; opacity: 0; border: 0; padding: 0; pointer-events: none; }

/* barra di navigazione */
.crumbs { background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px; font-size: 13px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.crumbs a { color: var(--navy-2); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs .sep { color: #9ca3af; }
.crumbs .cur { color: var(--muted); }
.color-field { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.color-field .btn { white-space: nowrap; }
.color-field input[type=text] { width: 120px; font-family: monospace; }
@media (max-width: 1280px) and (min-width: 901px) {
  .userbox > a { display: none; }
  .brand .ver { display: none; }
}
.btn:disabled, .btn[disabled] { opacity: .45; cursor: not-allowed; }
.pdfviewer { background: #e5e7eb; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.pdf-toolbar { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 2; }
.pdf-zoom { min-width: 48px; text-align: center; font-variant-numeric: tabular-nums; }
.pdf-pages { padding: 12px; display: flex; flex-direction: column; align-items: center; gap: 12px; overflow-x: auto; min-height: 300px; }
.pdf-page { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.18); max-width: none; }
@media print {
  .pdfviewer { border: 0; background: none; }
  .pdf-pages { padding: 0; gap: 0; }
  .pdf-page { box-shadow: none; width: 100% !important; height: auto !important; page-break-after: always; }
}
.report-band { border-left: 6px solid var(--c); padding-left: 12px; }
input.invalid { border-color: #dc2626 !important; background: #fef2f2; }
.round-note { display: block; font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.badge.annullato { background: #1f2937; color: #fff; }
tr.is-annullato td { color: #9ca3af; text-decoration: line-through; }
tr.is-annullato td .badge, tr.is-annullato td .btn { text-decoration: none; }
/* testo selezionabile nel visualizzatore PDF (strato di testo di pdf.js) */
.pdf-pagewrap { position: relative; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.18); flex: none; }
.pdf-pagewrap .pdf-page { box-shadow: none; display: block; }
.textLayer { position: absolute; inset: 0; overflow: hidden; opacity: 1; line-height: 1; letter-spacing: normal; word-spacing: normal; text-align: initial; -webkit-text-size-adjust: none; text-size-adjust: none; forced-color-adjust: none; transform-origin: 0 0; caret-color: CanvasText; z-index: 0;
  --min-font-size: 1; --text-scale-factor: calc(var(--total-scale-factor) * var(--min-font-size)); --min-font-size-inv: calc(1 / var(--min-font-size)); }
.textLayer span, .textLayer br { color: transparent; position: absolute; white-space: pre; cursor: text; transform-origin: 0% 0%; -webkit-user-select: text; user-select: text; }
.textLayer > :not(.markedContent), .textLayer .markedContent span:not(.markedContent) { z-index: 1; font-size: calc(var(--text-scale-factor) * var(--font-height, 0px)); transform: rotate(var(--rotate, 0deg)) scaleX(var(--scale-x, 1)) scale(var(--min-font-size-inv)); }
.textLayer .markedContent { display: contents; }
.textLayer ::selection { background: rgba(37, 99, 235, .3); color: transparent; }
.textLayer ::-moz-selection { background: rgba(37, 99, 235, .3); color: transparent; }
.textLayer .endOfContent { display: block; position: absolute; inset: 100% 0 0; z-index: 0; cursor: default; -webkit-user-select: none; user-select: none; }
.textLayer.selecting .endOfContent { top: 0; }
@media print { .pdf-pagewrap { box-shadow: none; width: 100% !important; height: auto !important; page-break-after: always; } .textLayer { display: none; } }
/* indicatori con confronto e selettore mensile/annuale */
.kpi .kd { font-size: 12.5px; margin-top: 4px; font-weight: 600; }
.kpi .kd.up { color: #059669; }
.kpi .kd.down { color: #dc2626; }
.kpi .kd.eq, .kpi .kd.new { color: var(--muted); }
.kpi .kd .muted { font-weight: 400; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.seg a { padding: 7px 14px; text-decoration: none; color: var(--navy); font-weight: 600; font-size: 14px; }
.seg a.on { background: var(--navy); color: #fff; }
.t tr.tot td { font-weight: 700; border-top: 2px solid var(--line); }
.chart-box.sm { height: 220px; }
/* menu a tendina (Amministrazione) */
.dd { position: relative; }
.dd-btn { background: none; border: 0; color: #dbe4ee; font: inherit; font-size: 13px; padding: 8px 8px; border-radius: 7px; cursor: pointer; white-space: nowrap; }
.dd-btn:hover, .dd.open .dd-btn { background: var(--navy-2); color: #fff; }
.dd-btn.active { background: var(--navy-2); color: #fff; box-shadow: inset 0 -2px 0 var(--amber); }
.dd-btn .caret { font-size: 10px; opacity: .8; }
.dd-menu { display: none; position: absolute; top: calc(100% + 6px); left: 0; min-width: 190px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 28px rgba(15,42,68,.18); padding: 6px; z-index: 30; }
.dd-menu::before { content: ''; position: absolute; top: -8px; left: 0; right: 0; height: 8px; }
.dd.open .dd-menu, .dd:hover .dd-menu, .dd:focus-within .dd-menu { display: block; }
.dd-menu a { display: block; color: var(--navy); padding: 8px 12px; border-radius: 7px; font-size: 13.5px; text-decoration: none; box-shadow: none; }
.dd-menu a:hover { background: #eef2f7; color: var(--navy); }
.dd-menu a.active { background: #fef3c7; color: var(--navy); font-weight: 600; box-shadow: none; }
@media (max-width: 900px) {
  .dd-btn { width: 100%; text-align: left; }
  .dd-menu { position: static; display: block; box-shadow: none; border: 0; background: transparent; padding: 0 0 0 14px; }
  .dd-menu a { color: #dbe4ee; }
  .dd-menu a:hover, .dd-menu a.active { background: var(--navy-2); color: #fff; }
}
.badge.test { background: #fef3c7; color: #92400e; border: 1px dashed #f59e0b; }
.round-note.sur { color: #b45309; }
.sur-hint { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; padding: 8px 12px; border-radius: 8px; margin: 4px 0 10px; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--muted, #64748b); font-size: 12.5px; text-decoration: underline; cursor: pointer; }
.linkbtn:hover { color: var(--navy); }
.badge.confermato { background: #ccfbf1; color: #115e59; }
.badge.approvato { background: #e0e7ff; color: #3730a3; }
.t.detail tr.grp td { background: #f8fafc; border-top: 2px solid #e5e7eb; }
.t.detail tr.sub td:first-child { padding-left: 28px; }
.err-text { color: var(--err); font-weight: 600; }
.ok-text { color: var(--ok, #059669); font-weight: 600; }

/* app installabile */
.install-app { border-left: 4px solid var(--amber, #f59e0b); }
.install-row { display: flex; gap: 14px; align-items: flex-start; }
.install-icon { width: 52px; height: 52px; border-radius: 12px; flex: none; }
.install-text { flex: 1; min-width: 0; }
.install-actions { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.install-steps { margin: 0; padding-left: 20px; color: #374151; font-size: 14px; line-height: 1.6; }
.ia-share { vertical-align: -3px; color: #2563eb; }
@media (max-width: 600px) { .install-row { flex-wrap: wrap; } .install-actions { flex-direction: row; width: 100%; justify-content: flex-end; } }
.install-app [hidden], .install-app[hidden] { display: none !important; }
.proj-row { cursor: pointer; }
.proj-row:hover td { background: #f8fafc; }
.proj-row .pcaret { display: inline-block; transition: transform .15s; color: #64748b; }
.proj-row[aria-expanded="true"] .pcaret { transform: rotate(90deg); }
.proj-sub td { background: #f8fafc; font-size: 13px; }
.proj-sub[hidden] { display: none; }
.caret-cell { width: 22px; }

/* ---------------------------------------------------------------- mySupport: ticket */
.badge.tk-nuovo { background: #fef3c7; color: #92400e; }
.badge.tk-in_carico { background: #dbeafe; color: #1e40af; }
.badge.tk-attesa_cliente { background: #ede9fe; color: #5b21b6; }
.badge.tk-in_pausa { background: #f3f4f6; color: #4b5563; }
.badge.tk-risolto { background: #d1fae5; color: #065f46; }
.badge.tk-chiuso { background: #e5e7eb; color: #6b7280; }
.badge.pr-bassa { background: #f3f4f6; color: #6b7280; }
.badge.pr-normale { background: #e0f2fe; color: #075985; }
.badge.pr-alta { background: #ffedd5; color: #9a3412; }
.badge.pr-urgente { background: #fee2e2; color: #991b1b; }
.seg a .cnt { display: inline-block; min-width: 18px; padding: 0 5px; margin-left: 4px; border-radius: 999px; background: var(--amber); color: #111; font-size: 11.5px; text-align: center; }
tr.sla-late td:first-child { box-shadow: inset 3px 0 0 var(--err); }
a.plain { color: inherit; text-decoration: none; }
a.plain:hover { text-decoration: underline; }
.tk-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
@media (max-width: 900px) { .tk-layout { grid-template-columns: 1fr; } .tk-layout aside { order: -1; } }
.tk-thread { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.tk-msg { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; max-width: 92%; }
.tk-msg.tk-cliente { align-self: flex-start; border-left: 4px solid var(--amber); }
.tk-msg.tk-addetto { align-self: flex-end; background: #eff6ff; border-color: #bfdbfe; border-right: 4px solid var(--info); }
.tk-msg.tk-nota { align-self: flex-end; background: #fffbeb; border-color: #fde68a; border-style: dashed; }
.tk-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 13px; margin-bottom: 6px; }
.tk-body { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.45; }
.tk-atts { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; }
.tk-sys { align-self: center; font-size: 12px; color: var(--muted); background: #f3f4f6; border-radius: 999px; padding: 3px 12px; text-align: center; }
.tk-reply textarea { width: 100%; }
.tk-side .tk-dl { grid-template-columns: 110px 1fr; margin-bottom: 12px; }
.tk-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tk-admin { margin-top: 12px; }
.tk-admin label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.take-card { border-left: 4px solid var(--amber); display: flex; gap: 12px; align-items: center; flex-wrap: wrap; justify-content: space-between; margin-bottom: 16px; }
label.chk { display: inline-flex; gap: 6px; align-items: center; font-size: 14px; }
.brand .t.sup { color: var(--amber); }
.sup-logo { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 30px; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.sup-logo img { width: 44px; height: 44px; }
.sup-logo .t { color: var(--amber); }
.canned-row { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 12px; }
