:root {
    --primary: #0d9488;
    --primary-dark: #0f766e;
    --ink: #0f172a;
    --muted: #475569;
    --line: #d5eae2;
    --soft: #f0fdfa;
    --font: 'Plus Jakarta Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: #ffffff;
    line-height: 1.6;
}

.dc-public { display: flex; flex-direction: column; min-height: 100vh; }
.dc-public main { flex: 1 0 auto; }

a { color: var(--primary-dark); }

.dc-wrap {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 16px;
}

.dc-header {
    border-bottom: 1px solid var(--line);
    background: #ffffff;
}

.dc-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
}

.dc-brand {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-dark);
    text-decoration: none;
}

.dc-lang a {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    color: var(--ink);
}

.dc-lang a + a { margin-left: 6px; }

.dc-lang a.is-active {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

.dc-main { padding-top: 40px; padding-bottom: 56px; }

.dc-hero h1 { font-size: 36px; margin: 0 0 8px; }
.dc-tagline { font-size: 18px; font-weight: 600; color: var(--primary-dark); }
.dc-note { color: var(--muted); font-size: 14px; }

.dc-flow { margin-top: 32px; }
.dc-flow h2 { font-size: 20px; }

.dc-flow ol {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin: 12px 0 0;
    list-style: none;
}

.dc-flow li {
    padding: 10px 18px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--soft);
    font-weight: 600;
}

.dc-footer {
    border-top: 1px solid var(--line);
    padding: 20px 0;
    font-size: 14px;
    color: var(--muted);
    text-align: center;
}

@media (max-width: 600px) {
    .dc-hero h1 { font-size: 28px; }
}

/* Forms, cards, tables and the account bar (Phase 2) */
.dc-nav { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.dc-nav > a, .dc-link { font: inherit; font-weight: 600; color: var(--ink); text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; }
.dc-nav > a:hover, .dc-link:hover { color: var(--primary-dark); }
.dc-inline { display: inline; margin: 0; }

.dc-card { border: 1px solid var(--line); border-radius: 12px; padding: 20px; margin: 0 0 20px; background: #ffffff; }
.dc-card h2 { margin-top: 0; font-size: 20px; }
.dc-narrow { max-width: 420px; margin-left: auto; margin-right: auto; }

label { display: block; font-weight: 600; margin: 0 0 14px; }
input[type=text], input[type=password], input[type=search], select {
    display: block; width: 100%; margin-top: 6px; padding: 10px 12px;
    border: 1px solid var(--line); border-radius: 8px; font: inherit; background: #ffffff;
}
input:focus, select:focus { outline: 2px solid var(--primary); outline-offset: 1px; }

.dc-btn { display: inline-block; padding: 10px 20px; border: 0; border-radius: 8px; background: var(--primary); color: #ffffff; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.dc-btn:hover { background: var(--primary-dark); color: #ffffff; }
.dc-btn-small { padding: 6px 12px; font-size: 14px; }

.dc-error { color: #b91c1c; font-weight: 600; }
.dc-ok { color: var(--primary-dark); font-weight: 600; }

.dc-banner { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: center; padding: 8px 16px; background: #fef3c7; border-bottom: 1px solid #f59e0b; font-weight: 600; }
.dc-banner form { margin: 0; }

.dc-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.dc-chips li { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--soft); font-weight: 600; }
.dc-chips small { color: var(--muted); font-weight: 400; margin-left: 4px; }

.dc-table { border-collapse: collapse; width: 100%; }
.dc-table th, .dc-table td { border-bottom: 1px solid var(--line); padding: 8px 12px; text-align: left; vertical-align: middle; }
.dc-table-wide { min-width: 760px; }
.dc-scroll { overflow-x: auto; }

.dc-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; align-items: center; }
.dc-filters input, .dc-filters select { width: auto; min-width: 160px; margin-top: 0; }


/* Staff management (Phase 3) */
.dc-btn-ghost { background: #ffffff; color: var(--primary-dark); border: 1px solid var(--primary); }
.dc-btn-ghost:hover { background: var(--soft); color: var(--primary-dark); }
.dc-btn-danger { background: #b91c1c; }
.dc-btn-danger:hover { background: #991b1b; }
.dc-pill { display: inline-block; padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--soft); font-weight: 600; }
.dc-warn { border-color: #f59e0b; background: #fffbeb; }
.dc-confirm { display: flex; gap: 8px; align-items: flex-start; font-weight: 600; }
.dc-confirm input { margin-top: 5px; }
.dc-mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 20px; letter-spacing: 1px; }
.dc-action { margin: 0 0 18px; }
.dc-action input[type=text] { max-width: 320px; margin-bottom: 10px; }

.dc-picker { margin: 0 0 16px; }
.dc-picker-level { margin: 0 0 12px; }
.dc-picker-title { display: block; font-weight: 600; margin-bottom: 4px; }
.dc-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 4px 16px; margin-top: 10px; max-height: 320px; overflow-y: auto; padding: 8px; border: 1px solid var(--line); border-radius: 8px; }
.dc-check { font-weight: 400; margin: 0; }
.dc-check.is-held { color: var(--muted); }

@media print {
    .dc-header, .dc-footer, .dc-btn, .dc-banner, .dc-nav, a { display: none !important; }
    .dc-card { border: 0; }
}

/* Beneficiaries (Phase 4) */
.dc-bar { height: 12px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); overflow: hidden; margin: 8px 0 14px; }
.dc-bar > span { display: block; height: 100%; background: var(--primary); }
.dc-photo { width: 140px; height: 140px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
.dc-profile { display: grid; grid-template-columns: 160px 1fr; gap: 20px; align-items: start; }
@media (max-width: 600px) { .dc-profile { grid-template-columns: 1fr; } }

/* Payments and notices (Phase 5) */
.dc-notices { list-style: none; margin: 0; padding: 0; }
.dc-notices li { padding: 10px 12px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.dc-notices li.is-new { background: var(--soft); font-weight: 600; }
.dc-actions { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.dc-actions a { display: block; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); text-decoration: none; color: var(--ink); }
.dc-actions a:hover { border-color: var(--primary); }
.dc-actions strong { color: var(--primary-dark); font-size: 20px; margin-right: 6px; }
.dc-radios { border: 0; padding: 0; margin: 0 0 14px; }
.dc-radios legend { font-weight: 600; margin-bottom: 6px; }
.dc-radios label { display: inline-block; margin-right: 18px; font-weight: 400; }
tr.is-disputed td { background: #fef2f2; }

/* Stock, deliveries, complaints, messages, areas and reports (Phases 6-10) */
.dc-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.dc-tabs a { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; }
.dc-tabs a.is-active { background: var(--primary); border-color: var(--primary); color: #ffffff; }
.dc-figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.dc-figures strong { display: block; font-size: 26px; line-height: 1.15; color: var(--primary-dark); }
.dc-figures span { font-size: 13px; color: var(--muted); }
.dc-crumbs { font-size: 14px; margin-bottom: 6px; }
.dc-comment { padding: 10px 12px; border-left: 3px solid var(--line); background: var(--soft); margin: 0 0 10px; }
.dc-transfer { padding: 12px 0; border-bottom: 1px solid var(--line); }
.dc-inline-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 6px; }
.dc-templates { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin: 0 0 16px; }
.dc-templates legend { font-weight: 600; padding: 0 6px; }
textarea { display: block; width: 100%; margin-top: 6px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.dc-report tfoot th { border-top: 2px solid var(--ink); }

@media print {
    .dc-noprint, .dc-header, .dc-footer, .dc-banner, .dc-filters, .dc-pager, .dc-nav, .dc-btn { display: none !important; }
    body { background: #ffffff; }
    .dc-main { padding: 0; }
    .dc-table { font-size: 12px; }
    .dc-table-wide { min-width: 0; }
    a { color: inherit; text-decoration: none; }
}

/* Header with the BDS Infinity logo, and the home page (slideshow, figures, about) */
.dc-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .9); box-shadow: 0 6px 20px rgba(15, 23, 42, .08); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.dc-header-inner { min-height: 70px; gap: 16px; }
.dc-brandbar { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.dc-brand-logo { display: inline-flex; }
.dc-brand-logo img { height: 44px; width: auto; display: block; }
.dc-brand { padding-left: 14px; border-left: 2px solid var(--line); line-height: 1.1; }

.dc-main-wide { padding: 0 0 56px; }
.dc-main-wide > .dc-ok, .dc-main-wide > .dc-error { max-width: 1080px; margin: 12px auto; padding: 0 16px; }

.dc-slider { position: relative; height: clamp(360px, 52vw, 540px); overflow: hidden; background: #0f172a; }
.dc-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; pointer-events: none; }
.dc-slide.is-active { opacity: 1; pointer-events: auto; }
.dc-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dc-slide-copy { position: absolute; z-index: 1; left: 0; top: 0; bottom: 0; display: flex; align-items: center; width: 100%; padding: 0; color: #ffffff; }
.dc-slide-copy > div { max-width: 520px; padding: 28px; text-align: left; }
.dc-slide-kicker { margin-bottom: 10px; color: #ccfbf1; text-shadow: 0 1px 6px rgba(0, 0, 0, .45); font-size: 13px; font-weight: 700; letter-spacing: .12em; }
.dc-slide-copy h1 { margin: 0 0 12px; color: #ffffff; text-shadow: 0 2px 10px rgba(0, 0, 0, .5); font-size: clamp(30px, 4vw, 52px); line-height: 1.08; }
.dc-slide-copy p { margin: 0 0 22px; color: #f0fdfa; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); font-size: 16px; line-height: 1.6; }
.dc-dots { position: absolute; z-index: 2; left: 0; right: 0; bottom: 70px; display: flex; justify-content: center; gap: 8px; }
.dc-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .5); cursor: pointer; }
.dc-dots button.is-active { background: #ffffff; }

.dc-achievements { position: relative; z-index: 3; max-width: 1000px; width: calc(100% - 32px); margin: -52px auto 48px; padding: 26px 12px; border-radius: 22px; background: linear-gradient(135deg, var(--primary-dark), var(--primary)); box-shadow: 0 14px 30px rgba(13, 148, 136, .25); }
.dc-achievements-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.dc-achievement { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0 12px; color: #ffffff; text-align: center; }
.dc-achievement + .dc-achievement { border-left: 1px solid rgba(255, 255, 255, .25); }
.dc-achievement strong { font-size: 34px; line-height: 1.1; }
.dc-achievement span { font-size: 14px; font-weight: 600; }

.dc-about h2 { font-size: clamp(26px, 3.6vw, 40px); line-height: 1.15; margin: 0 0 14px; }
.dc-eyebrow { display: inline-block; margin: 0 0 12px; padding: 6px 14px; border: 1px solid #99f6e4; border-radius: 999px; background: var(--soft); color: var(--primary-dark); font-size: 12px; font-weight: 700; letter-spacing: .05em; }
.dc-lead { max-width: 760px; font-size: 18px; color: var(--muted); }
.dc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 28px; }
.dc-info { padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--soft); }
.dc-info h3 { margin: 0 0 8px; font-size: 18px; color: var(--primary-dark); }
.dc-info p { margin: 0; color: var(--muted); }

@media (max-width: 760px) {
    .dc-achievements-grid { grid-template-columns: repeat(2, 1fr); gap: 18px 0; }
    .dc-achievement:nth-child(3) { border-left: 0; }
    .dc-brand-logo img { height: 36px; }
    .dc-brand { font-size: 18px; padding-left: 10px; }
    .dc-slide-copy > div { max-width: 76%; padding: 14px 16px; }
    .dc-slide-copy h1 { font-size: 26px; }
    .dc-slide-copy p { font-size: 13px; line-height: 1.4; margin-bottom: 14px; }
}

/* Header matches the main site: floating full-width bar with the light teal border */
.dc-header { margin: 12px 16px 0; top: 12px; border: 1px solid rgba(153, 246, 228, .65); border-radius: 0; background: rgba(255, 255, 255, .78); box-shadow: 0 10px 30px rgba(15, 23, 42, .1); -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%); }
.dc-header-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: none; margin: 0; padding: 0 15px; min-height: 70px; }
.dc-nav { margin-left: auto; justify-content: flex-end; }
@media (max-width: 760px) { .dc-header { margin: 8px 8px 0; top: 8px; } }

/* Login button, same look as the Enroll button on the main site */
.dc-nav > a.dc-enroll { display: inline-flex; align-items: center; justify-content: center; min-width: 124px; min-height: 48px; padding: 0 18px; border-radius: 12px; background: var(--primary); color: #ffffff; font-size: 14px; font-weight: 700; text-decoration: none; transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.dc-nav > a.dc-enroll:hover { background: var(--primary-dark); color: #ffffff; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(13, 148, 136, .22); }
.dc-nav > a.dc-enroll:active { transform: translateY(0); }

/* Signed-in pages: the shared portal shell (top bar, icon menu) with Didi Care's own page parts restyled to match */
.dc-app { background: #f8fafc; font-family: var(--sh-body); }
.dc-app.dc-impersonating { --sh-banner: 46px; }
.dc-app .dc-banner { position: fixed; top: 0; left: 0; right: 0; z-index: 1300; box-sizing: border-box; height: 46px; padding: 0 16px; }
.dc-app .main-footer { text-align: center; }
.dc-app .shell-role { text-decoration: none; }
.dc-app .content-wrapper .content { padding-top: 24px; }

.dc-app .dc-hero { margin: 0 0 22px; }
.dc-app .dc-hero h1 { margin: 0 0 4px; font: 700 28px/1.2 var(--sh-display); }
.dc-app .dc-hero h1 small { font: 600 14px var(--sh-body); color: var(--sh-muted); }
.dc-app .dc-hero p { margin: 8px 0 0; }
.dc-app .dc-tagline { margin: 0; color: var(--sh-muted); font: 500 14px var(--sh-body); }
.dc-app .dc-crumbs { margin: 0 0 6px; color: var(--sh-muted); font-size: 13.5px; }
.dc-app .dc-note { color: var(--sh-muted); font-size: 14px; }

.dc-app .dc-card { padding: 20px 22px; margin: 0 0 22px; border: 1px solid var(--sh-line); border-radius: 16px; background: #fff; box-shadow: 0 6px 18px rgba(15, 118, 110, .06); }
.dc-app .dc-card h2 { margin: 0 0 12px; font: 600 18px var(--sh-display); }
.dc-app .dc-warn { border-color: #f59e0b; background: #fffbeb; }
.dc-app .dc-narrow { max-width: 460px; margin-left: 0; margin-right: 0; }

.dc-app .dc-ok, .dc-app .dc-error { margin: 0 0 16px; padding: 12px 16px; border-radius: 12px; font: 600 14px var(--sh-body); }
.dc-app .dc-ok { background: #dcfce7; color: #166534; }
.dc-app .dc-error { background: #fee2e2; color: #991b1b; }

.dc-app label { margin: 0 0 16px; color: #334155; font: 600 13.5px/1.4 var(--sh-body); }
.dc-app input[type=text], .dc-app input[type=password], .dc-app input[type=search], .dc-app input[type=number], .dc-app input[type=email], .dc-app input[type=tel], .dc-app input[type=date], .dc-app input[type=month], .dc-app input[type=file], .dc-app select {
    display: block; box-sizing: border-box; width: 100%; height: 46px; margin-top: 7px; padding: 0 14px;
    border: 1px solid #cbd9d4; border-radius: 10px; background: #fff; color: var(--sh-ink);
    font: 500 15px var(--sh-body); transition: border-color .15s ease, box-shadow .15s ease;
}
.dc-app input[type=file] { height: auto; padding: 8px 10px; color: var(--sh-muted); }
.dc-app input[type=file]::file-selector-button { margin-right: 12px; padding: 8px 16px; border: 0; border-radius: 8px; background: var(--sh-soft); color: var(--sh-primary-dark); font: 700 13px var(--sh-body); cursor: pointer; }
.dc-app select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.dc-app textarea { display: block; box-sizing: border-box; width: 100%; margin-top: 7px; padding: 12px 14px; border: 1px solid #cbd9d4; border-radius: 10px; font: 500 15px/1.5 var(--sh-body); }
.dc-app input:focus, .dc-app select:focus, .dc-app textarea:focus { border-color: var(--sh-primary); box-shadow: 0 0 0 4px rgba(13, 148, 136, .14); outline: 0; }
.dc-app input[type=checkbox], .dc-app input[type=radio] { width: auto; height: auto; accent-color: var(--sh-primary); }

.dc-app .dc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border: 1px solid var(--sh-primary); border-radius: 10px; background: var(--sh-primary); color: #fff; font: 700 14px/1 var(--sh-body); text-decoration: none; transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.dc-app .dc-btn:hover { background: var(--sh-primary-dark); border-color: var(--sh-primary-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 18px rgba(13, 148, 136, .22); }
.dc-app .dc-btn-small { min-height: 40px; padding: 0 16px; font-size: 13.5px; }
.dc-app .dc-btn-ghost { border-color: #cbd9d4; background: #fff; color: #334155; }
.dc-app .dc-btn-ghost:hover { border-color: var(--sh-primary); background: var(--sh-soft); color: var(--sh-primary-dark); box-shadow: none; }
.dc-app .dc-btn-danger { border-color: #dc2626; background: #dc2626; }
.dc-app .dc-btn-danger:hover { border-color: #b91c1c; background: #b91c1c; }

.dc-app .dc-filters { gap: 12px; margin: 0 0 18px; padding: 16px 18px; border: 1px solid var(--sh-line); border-radius: 16px; background: #fff; }
.dc-app .dc-filters input, .dc-app .dc-filters select { width: auto; min-width: 170px; margin-top: 0; }

.dc-app .dc-scroll { margin: 0 0 20px; overflow-x: auto; border: 1px solid var(--sh-line); border-radius: 16px; background: #fff; box-shadow: 0 6px 18px rgba(15, 118, 110, .06); }
.dc-app .dc-card .dc-scroll { margin: 0; border: 0; box-shadow: none; }
.dc-app .dc-table { border-collapse: collapse; width: 100%; font-family: var(--sh-body); }
.dc-app .dc-table thead th { padding: 14px 18px; background: #eaf4f0; border-bottom: 1px solid var(--sh-line); color: var(--sh-ink); font: 700 13.5px var(--sh-body); text-align: left; white-space: nowrap; }
.dc-app .dc-table th { padding: 12px 18px; font-size: 14px; font-weight: 600; }
.dc-app .dc-table td { padding: 12px 18px; border-bottom: 1px solid #eef3f1; font-size: 14px; }
.dc-app .dc-table tbody tr:hover td { background: var(--sh-soft); }
.dc-app .dc-table tbody tr:last-child td { border-bottom: 0; }
.dc-app tr.is-disputed td { background: #fef2f2; }
.dc-app .dc-table-wide { min-width: 760px; }

.dc-app .dc-pill { padding: 4px 12px; border: 0; background: var(--sh-soft); color: var(--sh-primary-dark); font: 700 13px var(--sh-body); }
.dc-app .dc-chips li { padding: 6px 14px; border: 0; background: var(--sh-soft); color: var(--sh-primary-dark); font: 600 13.5px var(--sh-body); }
.dc-app .dc-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; margin: 0 0 18px; padding: 4px; border-radius: 12px; background: #eaf4f0; }
.dc-app .dc-tabs a { padding: 9px 18px; border: 0; border-radius: 9px; color: #334155; font: 600 14px var(--sh-body); }
.dc-app .dc-tabs a.is-active { background: #fff; color: var(--sh-primary-dark); box-shadow: 0 2px 8px rgba(15, 118, 110, .12); }
.dc-app .dc-figures { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.dc-app .dc-figures > * { padding: 16px 18px; border: 1px solid var(--sh-line); border-radius: 14px; background: #fff; }
.dc-app .dc-figures strong { color: var(--sh-ink); font: 700 26px/1.15 var(--sh-display); }
.dc-app .dc-actions a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--sh-line); border-radius: 12px; background: #fff; font: 600 14px var(--sh-body); }
.dc-app .dc-actions a:hover { border-color: var(--sh-primary); background: var(--sh-soft); }
.dc-app .dc-actions strong { min-width: 38px; padding: 4px 10px; border-radius: 999px; background: #f59e0b; color: #fff; font: 700 14px var(--sh-body); text-align: center; }
.dc-app .sh-pagination { padding: 4px 2px 24px; }
.dc-app .sh-perpage { margin: 0; }
.dc-app .sh-perpage label { margin: 0; }
.dc-app .sh-perpage select { width: 88px; height: 40px; margin-top: 0; }
.dc-app .dc-bar { height: 10px; border: 0; background: #e2e8f0; }
.dc-app .dc-notices li { padding: 12px 14px; border-bottom: 1px solid #eef3f1; }
.dc-app .dc-notices li.is-new { background: var(--sh-soft); }
.dc-app .dc-comment { border-radius: 10px; border-left-color: var(--sh-primary); }
.dc-app .dc-templates { border: 1px solid var(--sh-line); border-radius: 12px; }
.dc-app .dc-checks { border-color: var(--sh-line); border-radius: 12px; }
.dc-app .dc-transfer { border-bottom-color: #eef3f1; }

@media (max-width: 767px) {
    .dc-app .dc-hero h1 { font-size: 24px; }
    .dc-app .dc-filters input, .dc-app .dc-filters select { width: 100%; }
}
@media print {
    .dc-app .shell-header, .dc-app .shell-rail, .dc-app .shell-backdrop, .dc-app .main-footer { display: none !important; }
    .dc-app .content-wrapper { margin: 0 !important; }
}

/* ID card and health card: sized in em so the same card prints at real card size and shows larger on screen */
.dc-card-sheet { display: flex; justify-content: center; padding: 8px 0 24px; }
.dc-idcard { --u: 16px; font-size: var(--u); width: 26.75em; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: .8em; background: #ffffff; color: var(--ink); box-shadow: 0 12px 32px rgba(15, 23, 42, .14); }
.dc-idcard-health { width: 37em; }
.dc-idcard header { position: relative; display: flex; align-items: center; gap: .7em; padding: .6em .9em; background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: #ffffff; }
.dc-idcard header::after { content: ""; position: absolute; right: -1.6em; top: -1.6em; width: 5em; height: 5em; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.dc-idcard header img { height: 2.1em; padding: .15em .35em; border-radius: .35em; background: #ffffff; }
.dc-idcard header span { display: flex; flex-direction: column; line-height: 1.15; }
.dc-idcard header strong { font-size: 1.1em; }
.dc-idcard header small { font-size: .66em; letter-spacing: .1em; text-transform: uppercase; opacity: .9; }
.dc-idcard-top { display: flex; align-items: center; gap: .9em; padding: .85em .9em .55em; }
.dc-idcard-avatar, .dc-idcard-photo { flex: none; width: 4.6em; height: 4.6em; border-radius: 50%; object-fit: cover; border: .18em solid var(--soft); box-shadow: 0 0 0 .08em var(--primary); }
.dc-idcard-avatar { display: flex; align-items: center; justify-content: center; background: var(--soft); }
.dc-idcard-avatar b { font-size: 2em; line-height: 1; color: var(--primary-dark); }
.dc-idcard-who { min-width: 0; }
.dc-idcard-name { display: block; font-size: 1.25em; line-height: 1.2; }
.dc-idcard-role { display: inline-block; margin-top: .3em; padding: .15em .7em; border-radius: 999px; background: var(--soft); border: 1px solid #99f6e4; color: var(--primary-dark); font-size: .74em; font-weight: 700; letter-spacing: .03em; }
.dc-idcard-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5em .8em; margin: 0; padding: .35em .9em .8em; }
.dc-idcard-health .dc-idcard-facts { grid-template-columns: repeat(3, 1fr); }
.dc-idcard-facts div { min-width: 0; padding-left: .55em; border-left: .18em solid #99f6e4; }
.dc-idcard-facts .is-wide { grid-column: span 2; }
.dc-idcard-facts dt { color: var(--muted); font-size: .6em; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.dc-idcard-facts dd { margin: .05em 0 0; font-size: .82em; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
.dc-idcard-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5em; margin: 0 .9em .8em; padding: 0; list-style: none; }
.dc-idcard-steps li { padding: .45em .3em; border: 1px solid var(--line); border-radius: .5em; background: #ffffff; text-align: center; line-height: 1.25; }
.dc-idcard-steps b { display: block; font-size: .66em; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.dc-idcard-steps span { display: block; font-size: .78em; font-weight: 600; }
.dc-idcard-steps small { display: block; font-size: .62em; color: var(--muted); }
.dc-idcard-steps .is-done { border-color: #99f6e4; background: var(--soft); }
.dc-idcard-steps .is-done span { color: var(--primary-dark); }
.dc-idcard-steps .is-held { border-color: #fcd34d; background: #fffbeb; }
.dc-idcard-steps .is-held span { color: #92400e; }
.dc-idcard footer { margin-top: auto; padding: .45em .9em; background: var(--soft); border-top: 1px solid var(--line); color: var(--muted); font-size: .62em; text-align: center; }
@media print {
    @page { margin: 12mm; }
    .dc-card-sheet { padding: 0; justify-content: flex-start; }
    .dc-idcard { --u: 3.2mm; box-shadow: none; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .dc-idcard-health { --u: 4mm; }
}
