/* ITI CareerTrack — main stylesheet (no external CSS framework) */
:root {
  --blue-900: #0b2f6b; --blue-800: #0f3d8a; --blue-700: #1550b5; --blue-600: #1d64d8; --blue-500: #2f7cf6;
  --blue-100: #e6efff; --blue-50: #f3f7ff;
  --green: #17944a; --green-bg: #e3f6ea; --amber: #c27803; --amber-bg: #fff4dc;
  --red: #d33a2c; --red-bg: #fde8e6; --purple: #7c3aed; --purple-bg: #f1e9ff; --orange: #ea7a0a; --orange-bg: #fff0e0;
  --grey-900: #1b2333; --grey-700: #44506a; --grey-500: #7a869c; --grey-300: #d5dbe6; --grey-200: #e7ebf2; --grey-100: #f2f4f8;
  --radius: 12px; --shadow: 0 1px 2px rgba(16,24,40,.06), 0 2px 8px rgba(16,24,40,.06);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Noto Sans", "Noto Sans Devanagari", Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: var(--font); color: var(--grey-900); background: #eef2f8; font-size: 14px; line-height: 1.45; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0 0 .5rem; line-height: 1.25; }
h1 { font-size: 1.45rem; } h2 { font-size: 1.15rem; } h3 { font-size: 1rem; }
small, .muted { color: var(--grey-500); }
.ic { width: 18px; height: 18px; flex: none; vertical-align: middle; }
.ic-sm { width: 14px; height: 14px; } .ic-lg { width: 26px; height: 26px; } .rot90 { transform: rotate(90deg); } .rot180 { transform: rotate(180deg); }

.demo-ribbon { background: #fff4dc; color: #7a4b00; text-align: center; font-size: 12px; padding: 4px 8px; border-bottom: 1px solid #f1d699; }

/* ---------- shell ---------- */
.shell { display: flex; min-height: 100vh; background: linear-gradient(90deg, var(--blue-900) 236px, transparent 236px); }
.sidebar { width: 236px; flex: none; background: linear-gradient(180deg, var(--blue-800), var(--blue-900)); color: #fff;
  display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 10px; padding: 18px 18px 14px; color: #fff; font-weight: 700; font-size: 1.2rem; }
.brand:hover { text-decoration: none; }
.sidebar nav { display: flex; flex-direction: column; padding: 6px 10px; gap: 2px; }
.sidebar nav a { display: flex; align-items: center; gap: 10px; color: #dce7ff; padding: 9px 12px; border-radius: 8px; font-size: 13.5px; }
.sidebar nav a:hover { background: rgba(255,255,255,.08); text-decoration: none; color: #fff; }
.sidebar nav a.active { background: var(--blue-500); color: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.sidebar-foot { margin-top: auto; padding: 16px 18px; font-size: 11px; color: #9fb6e6; }
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar { display: flex; align-items: center; gap: 12px; background: #fff; padding: 10px 22px; border-bottom: 1px solid var(--grey-200); position: sticky; top: 0; z-index: 5; }
.topbar-scope { color: var(--grey-700); font-weight: 600; display: flex; gap: 6px; align-items: center; }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; }
.bell { position: relative; color: var(--grey-700); display: flex; }
.bell .dot { position: absolute; top: -6px; right: -9px; background: var(--red); color: #fff; font-size: 10px; border-radius: 10px; padding: 1px 5px; }
.usermenu { position: relative; }
.usermenu summary { list-style: none; display: flex; align-items: center; gap: 8px; cursor: pointer; }
.usermenu summary::-webkit-details-marker { display: none; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--blue-100); color: var(--blue-700); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.who { display: flex; flex-direction: column; line-height: 1.15; } .who small { font-size: 11.5px; }
.usermenu .menu { position: absolute; right: 0; top: 44px; background: #fff; border: 1px solid var(--grey-200); border-radius: 10px; box-shadow: var(--shadow); min-width: 210px; padding: 6px; z-index: 10; }
.usermenu .menu a, .usermenu .menu button { display: flex; gap: 8px; align-items: center; width: 100%; padding: 8px 10px; color: var(--grey-900); background: none; border: 0; font: inherit; cursor: pointer; border-radius: 6px; text-align: left; }
.usermenu .menu a:hover, .usermenu .menu button:hover { background: var(--grey-100); text-decoration: none; }
.content { padding: 22px; max-width: 1400px; width: 100%; }

/* ---------- page header ---------- */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.page-head p { margin: 2px 0 0; color: var(--grey-500); }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* ---------- cards & grids ---------- */
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; margin-bottom: 16px; }
.card > h2, .card > h3 { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card-tight { padding: 0; overflow: hidden; } .card-tight > h2 { padding: 16px 18px 0; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .g-2-1 { grid-template-columns: 2fr 1fr; } .g-1-2 { grid-template-columns: 1fr 2fr; }
.grid > .card { margin-bottom: 0; }
.stack > * + * { margin-top: 16px; }

.kpi { display: flex; gap: 12px; align-items: center; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 16px; }
.kpi .kpi-ic { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.kpi .kpi-ic .ic { width: 22px; height: 22px; }
.kpi .kpi-label { color: var(--grey-500); font-size: 12px; }
.kpi .kpi-value { font-size: 1.45rem; font-weight: 700; line-height: 1.1; }
.kpi .kpi-sub { font-size: 11.5px; color: var(--grey-500); }
.tone-blue .kpi-ic { background: var(--blue-100); color: var(--blue-600); }
.tone-green .kpi-ic { background: var(--green-bg); color: var(--green); }
.tone-amber .kpi-ic { background: var(--amber-bg); color: var(--amber); }
.tone-purple .kpi-ic { background: var(--purple-bg); color: var(--purple); }
.tone-red .kpi-ic { background: var(--red-bg); color: var(--red); }
.tone-orange .kpi-ic { background: var(--orange-bg); color: var(--orange); }
.tone-orange .kpi-value { color: var(--orange); }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 9px 12px; border-bottom: 1px solid var(--grey-200); text-align: left; vertical-align: middle; }
.table th { background: var(--blue-50); color: var(--grey-700); font-weight: 600; font-size: 12.5px; white-space: nowrap; }
.table tr:hover td { background: #fafcff; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.empty { padding: 26px; text-align: center; color: var(--grey-500); }
.pager { display: flex; gap: 8px; justify-content: flex-end; align-items: center; padding: 12px 16px; }

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 16px; }
.form-grid .span2 { grid-column: span 2; } .form-grid .span3 { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: 12.5px; margin-bottom: 4px; color: var(--grey-700); }
.field .req { color: var(--red); }
input[type=text], input[type=email], input[type=password], input[type=date], input[type=number], input[type=tel], input[type=search], input[type=file], select, textarea {
  width: 100%; padding: 8px 10px; border: 1px solid var(--grey-300); border-radius: 8px; font: inherit; background: #fff; color: var(--grey-900); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--blue-100); border-color: var(--blue-500); }
textarea { min-height: 80px; resize: vertical; }
.field .hint { font-size: 11.5px; color: var(--grey-500); margin-top: 3px; }
.field .error { font-size: 12px; color: var(--red); margin-top: 3px; }
.field.has-error input, .field.has-error select { border-color: var(--red); }
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; margin-bottom: 14px; }
.filters .field { min-width: 150px; }
.inline-form { display: inline; }

.btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 8px; border: 1px solid transparent; font: inherit; font-weight: 600; cursor: pointer; background: var(--blue-600); color: #fff; white-space: nowrap; }
.btn:hover { background: var(--blue-700); text-decoration: none; }
.btn-light { background: #fff; color: var(--blue-700); border-color: var(--grey-300); }
.btn-light:hover { background: var(--blue-50); }
.btn-green { background: var(--green); } .btn-green:hover { background: #12783c; }
.btn-red { background: var(--red); } .btn-red:hover { background: #b02c20; }
.btn-sm { padding: 5px 10px; font-size: 12.5px; }
.btn-block { width: 100%; justify-content: center; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

.badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.badge-green { background: var(--green-bg); color: var(--green); } .badge-amber { background: var(--amber-bg); color: var(--amber); }
.badge-blue { background: var(--blue-100); color: var(--blue-700); } .badge-red { background: var(--red-bg); color: var(--red); }
.badge-grey { background: var(--grey-100); color: var(--grey-700); }

.alert { padding: 10px 14px; border-radius: 8px; margin-bottom: 14px; border: 1px solid; }
.alert-success { background: var(--green-bg); border-color: #b5e3c6; color: #0d5c2e; }
.alert-error { background: var(--red-bg); border-color: #f4bcb6; color: #8a1d13; }
.alert-info { background: var(--blue-50); border-color: var(--blue-100); color: var(--blue-800); }
.alert-warning { background: var(--amber-bg); border-color: #f1d699; color: #7a4b00; }

/* ---------- dashboard parts ---------- */
.iti-head { display: flex; gap: 14px; align-items: center; }
.iti-head .logo-box { width: 52px; height: 52px; border-radius: 10px; background: var(--blue-100); color: var(--blue-700); display: grid; place-items: center; }
.iti-head h2 { margin: 0; }
.quick-actions { display: flex; flex-direction: column; gap: 8px; }
.quick-actions .btn { justify-content: flex-start; }
.progress { height: 10px; background: var(--grey-200); border-radius: 999px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: linear-gradient(90deg, var(--green), #4cc27a); border-radius: 999px; }
.progress.blue > span { background: linear-gradient(90deg, var(--blue-600), var(--blue-500)); }
.list-rows { display: flex; flex-direction: column; }
.list-rows .row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--grey-200); }
.list-rows .row:last-child { border-bottom: 0; }
.list-rows .row .grow { flex: 1; min-width: 0; }
.district-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 6px; }
.district-tiles .tile { border-radius: 8px; padding: 7px 9px; color: #fff; font-size: 11.5px; line-height: 1.25; }
.district-tiles .tile b { display: block; font-size: 14px; }
.legend { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; }
.legend span.sw { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; }
.donut-wrap { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }

/* ---------- charts ---------- */
.chart { width: 100%; }
.chart svg { width: 100%; height: auto; display: block; }
.chart text { font-family: var(--font); fill: var(--grey-700); }

/* ---------- profile & timeline ---------- */
.profile-card { text-align: center; }
.photo { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 10px; background: var(--blue-100); color: var(--blue-700); display: grid; place-items: center; font-size: 30px; font-weight: 700; object-fit: cover; }
.pcid { font-family: ui-monospace, Consolas, monospace; background: var(--blue-50); border: 1px dashed var(--blue-500); padding: 3px 8px; border-radius: 6px; color: var(--blue-800); font-weight: 700; white-space: nowrap; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; font-size: 13px; text-align: left; }
.kv dt { color: var(--grey-500); } .kv dd { margin: 0; font-weight: 600; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 6px; }
.timeline li { position: relative; padding: 0 0 18px 34px; }
.timeline li::before { content: ""; position: absolute; left: 11px; top: 26px; bottom: 0; width: 2px; background: var(--grey-200); }
.timeline li:last-child::before { display: none; }
.timeline .dot { position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.timeline .dot .ic { width: 13px; height: 13px; }
.timeline .t-title { font-weight: 700; }
.timeline .t-meta { color: var(--grey-500); font-size: 12.5px; }
.dot-green { background: var(--green); } .dot-blue { background: var(--blue-600); } .dot-purple { background: var(--purple); }
.dot-orange { background: var(--orange); } .dot-grey { background: var(--grey-500); } .dot-red { background: var(--red); }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--grey-200); margin-bottom: 14px; flex-wrap: wrap; }
.tabs a { padding: 8px 14px; border-radius: 8px 8px 0 0; color: var(--grey-700); font-weight: 600; }
.tabs a.active { background: var(--blue-600); color: #fff; }
.tabs a:hover { text-decoration: none; background: var(--blue-50); } .tabs a.active:hover { background: var(--blue-600); }

/* ---------- wizard ---------- */
.steps { display: flex; justify-content: space-between; margin: 4px 0 22px; position: relative; }
.steps::before { content: ""; position: absolute; top: 15px; left: 6%; right: 6%; height: 2px; background: var(--grey-200); }
.steps .step { position: relative; flex: 1; text-align: center; font-size: 12px; color: var(--grey-500); }
.steps .step .n { width: 30px; height: 30px; border-radius: 50%; margin: 0 auto 6px; display: grid; place-items: center; background: #fff; border: 2px solid var(--grey-300); font-weight: 700; color: var(--grey-500); }
.steps .step.active .n { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
.steps .step.done .n { background: var(--green); border-color: var(--green); color: #fff; }
.steps .step.active { color: var(--blue-700); font-weight: 600; }
.wizard-pane { display: none; } .wizard-pane.active { display: block; }
.wizard-nav { display: flex; justify-content: space-between; margin-top: 18px; }
.review-list { columns: 2; column-gap: 30px; }
.review-list div { break-inside: avoid; padding: 4px 0; border-bottom: 1px dashed var(--grey-200); display: flex; justify-content: space-between; gap: 10px; }
.review-list span { color: var(--grey-500); }

/* ---------- auth ---------- */
.auth-body { background: linear-gradient(180deg, #e9f0ff 0%, #eef2f8 40%); }
.auth-hero { background: linear-gradient(100deg, var(--blue-900), var(--blue-600)); color: #fff; padding: 26px 20px; }
.auth-hero-inner { max-width: 980px; margin: 0 auto; display: flex; gap: 16px; align-items: center; }
.auth-hero h1 { font-size: 2rem; margin: 0; } .auth-hero p { margin: 2px 0; color: #dbe7ff; } .tagline { font-style: italic; }
.auth-main { max-width: 980px; margin: 24px auto; padding: 0 16px; }
.auth-grid { display: grid; grid-template-columns: 380px 1fr; gap: 20px; align-items: start; }
.demo-accounts td, .demo-accounts th { font-size: 12.5px; }
.role-list { display: grid; gap: 10px; }
.role-list button { text-align: left; padding: 14px; border-radius: 10px; border: 1px solid var(--grey-300); background: #fff; cursor: pointer; font: inherit; display: flex; gap: 12px; align-items: center; }
.role-list button:hover { border-color: var(--blue-500); background: var(--blue-50); }

/* ---------- misc ---------- */
.mt0 { margin-top: 0; } .mb0 { margin-bottom: 0; } .mt { margin-top: 16px; } .right { text-align: right; } .nowrap { white-space: nowrap; }
.flex { display: flex; gap: 10px; align-items: center; } .between { justify-content: space-between; } .wrap { flex-wrap: wrap; }
.big { font-size: 1.3rem; font-weight: 700; }
.note { background: var(--blue-50); border-left: 3px solid var(--blue-500); padding: 8px 12px; border-radius: 6px; font-size: 12.5px; color: var(--grey-700); }
.dup-box { border: 1px solid #f1d699; background: #fffaf0; border-radius: 10px; padding: 14px; margin-bottom: 16px; }
.code { font-family: ui-monospace, Consolas, monospace; font-size: 12px; }
pre.json { white-space: pre-wrap; word-break: break-word; font-size: 11.5px; background: var(--grey-100); padding: 8px; border-radius: 6px; max-height: 160px; overflow: auto; margin: 0; }

@media (max-width: 1100px) {
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g-2-1, .g-1-2, .g3 { grid-template-columns: 1fr; }
  .auth-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .sidebar { position: fixed; left: -260px; z-index: 20; transition: left .2s; } .sidebar.open { left: 0; }
  .menu-toggle { display: block; } .g2, .g4, .form-grid { grid-template-columns: 1fr; } .form-grid .span2 { grid-column: auto; }
  .who { display: none; } .content { padding: 14px; } .review-list { columns: 1; }
}
@media print { .sidebar, .topbar, .demo-ribbon, .actions, .filters { display: none !important; } .card { box-shadow: none; border: 1px solid #ddd; } }

/* =====================================================================
   Public website, new login, PCID card, task tabs
   ===================================================================== */
.pub-body { background: #f5f8fe; }
.pub-header { background: #fff; border-bottom: 1px solid var(--grey-200); position: sticky; top: 0; z-index: 10; }
.pub-header .inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 20px; padding: 10px 20px; }
.pub-brand { display: flex; align-items: center; gap: 10px; color: var(--blue-800); font-weight: 800; font-size: 1.15rem; line-height: 1.1; }
.pub-brand small { display: block; font-size: 11px; font-weight: 600; color: var(--grey-500); }
.pub-brand:hover { text-decoration: none; }
.pub-nav { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; align-items: center; }
.pub-nav a { color: var(--grey-700); font-weight: 600; padding: 8px 12px; border-radius: 8px; }
.pub-nav a:hover, .pub-nav a.active { background: var(--blue-50); color: var(--blue-700); text-decoration: none; }
.pub-nav a.btn { color: #fff; } .pub-nav a.btn:hover { background: var(--blue-700); color: #fff; }
.pub-main { max-width: 1200px; margin: 0 auto; padding: 26px 20px 40px; }
.hero { background: linear-gradient(110deg, var(--blue-900) 0%, var(--blue-700) 55%, #2f7cf6 100%); color: #fff; overflow: hidden; }
.hero .inner { max-width: 1200px; margin: 0 auto; padding: 46px 20px 40px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; align-items: center; }
.hero h1 { font-size: 2.6rem; margin-bottom: 8px; letter-spacing: -.5px; }
.hero h1 .dot { color: #ffd166; padding: 0 4px; }
.hero p.lead { font-size: 1.1rem; color: #dbe7ff; margin: 0 0 18px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.hero .cta .btn { padding: 11px 22px; font-size: 15px; }
.btn-white { background: #fff; color: var(--blue-800); } .btn-white:hover { background: #eaf1ff; }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); } .btn-outline-white:hover { background: rgba(255,255,255,.12); }
.feature-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.feature-row .f { text-align: center; width: 92px; font-size: 12px; color: #e6eeff; }
.feature-row .f .circle { width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 6px; display: grid; place-items: center; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.35); }
.feature-row .f .circle .ic { width: 26px; height: 26px; color: #fff; }
.hero-art { width: 100%; max-width: 520px; justify-self: end; }
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: -28px; position: relative; }
.stat-strip .s { background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 16px 18px; }
.stat-strip .s b { display: block; font-size: 1.6rem; color: var(--blue-800); }
.stat-strip .s span { color: var(--grey-500); font-size: 12.5px; }
.section-title { text-align: center; margin: 40px 0 6px; font-size: 1.6rem; }
.section-sub { text-align: center; color: var(--grey-500); margin: 0 0 22px; }
.steps-flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.steps-flow .st { background: #fff; border-radius: 12px; box-shadow: var(--shadow); padding: 16px 12px; text-align: center; position: relative; }
.steps-flow .st .n { width: 42px; height: 42px; border-radius: 50%; margin: 0 auto 8px; display: grid; place-items: center; color: #fff; background: var(--blue-600); }
.steps-flow .st b { display: block; font-size: 13.5px; } .steps-flow .st small { font-size: 11.5px; }
.role-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.role-cards .rc { background: #fff; border-radius: 12px; box-shadow: var(--shadow); padding: 18px; }
.role-cards .rc .ic { width: 28px; height: 28px; color: var(--blue-600); }
.role-cards .rc h3 { margin-top: 8px; }
.role-cards .rc p { color: var(--grey-700); font-size: 13px; margin: 0; }
.pub-footer { background: var(--blue-900); color: #c9d8f5; margin-top: 40px; }
.pub-footer .inner { max-width: 1200px; margin: 0 auto; padding: 26px 20px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 20px; font-size: 13px; }
.pub-footer a { color: #fff; } .pub-footer h4 { color: #fff; margin-bottom: 8px; }
.page-banner { background: linear-gradient(110deg, var(--blue-900), var(--blue-600)); color: #fff; }
.page-banner .inner { max-width: 1200px; margin: 0 auto; padding: 28px 20px; }
.page-banner h1 { font-size: 1.9rem; margin: 0; } .page-banner p { margin: 4px 0 0; color: #dbe7ff; }

/* login */
.login-wrap { max-width: 1020px; margin: 34px auto; padding: 0 16px; }
.login-card { display: grid; grid-template-columns: 1.15fr 1fr; background: #fff; border-radius: 18px; box-shadow: 0 10px 40px rgba(15,61,138,.15); overflow: hidden; }
.login-left { padding: 34px 38px; }
.login-left .logo-c { text-align: center; margin-bottom: 18px; }
.login-left .logo-c h2 { margin: 8px 0 0; color: var(--blue-800); font-size: 1.5rem; }
.login-left .logo-c h2 span { color: var(--orange); }
.login-left .logo-c small { color: var(--grey-500); }
.login-left h3 { text-align: center; margin: 8px 0 16px; font-size: 1.15rem; }
.pw-wrap { position: relative; } .pw-wrap input { padding-right: 42px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0; cursor: pointer; color: var(--grey-500); padding: 6px; }
.login-right { background: linear-gradient(180deg, #f3f7ff, #e9f0ff); padding: 30px 28px; border-left: 1px solid var(--grey-200); }
.login-right h4 { margin: 0 0 12px; }
.role-pick { display: flex; flex-direction: column; gap: 6px; }
.role-pick button { padding: 9px 14px !important; }
.role-pick button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 14px; background: #fff; border: 1.5px solid var(--grey-300); border-radius: 10px; font: inherit; font-weight: 600; color: var(--blue-800); cursor: pointer; text-align: left; }
.role-pick button .ic { color: var(--orange); }
.role-pick button:hover { border-color: var(--blue-500); }
.role-pick button.sel { border-color: var(--blue-600); background: var(--blue-600); color: #fff; } .role-pick button.sel .ic { color: #ffd166; }
.login-meta { display: flex; justify-content: space-between; font-size: 12.5px; margin-top: 8px; }
.login-role-label { text-align: center; font-size: 12.5px; color: var(--grey-500); margin-top: 10px; }

/* PCID card */
.pcid-card { width: 520px; max-width: 100%; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(15,61,138,.25); background: #fff; border: 1px solid var(--grey-200); }
.pcid-card .top { background: linear-gradient(110deg, var(--blue-900), var(--blue-600)); color: #fff; padding: 12px 18px; display: flex; align-items: center; gap: 12px; }
.pcid-card .top b { font-size: 1.2rem; } .pcid-card .top b span { color: #ffd166; } .pcid-card .top small { display: block; color: #dbe7ff; }
.pcid-card .title { text-align: center; font-weight: 800; color: var(--blue-800); padding: 10px 0 2px; letter-spacing: .3px; }
.pcid-card .body { display: grid; grid-template-columns: 100px 1fr 146px; gap: 14px; padding: 12px 18px 16px; align-items: center; }
.pcid-card .body .photo { width: 100px; height: 120px; border-radius: 10px; margin: 0; font-size: 28px; }
.pcid-card .kv { font-size: 12.5px; gap: 4px 10px; }
.pcid-card .foot { background: var(--blue-50); font-size: 11px; color: var(--grey-700); padding: 7px 18px; display: flex; justify-content: space-between; }
.pcid-card .qr svg { display: block; }
@media print {
  body.print-card * { visibility: hidden; } body.print-card .pcid-card, body.print-card .pcid-card * { visibility: visible; }
  body.print-card .pcid-card { position: absolute; left: 10mm; top: 10mm; box-shadow: none; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* verify */
.verify-box { max-width: 640px; margin: 0 auto; }
.verify-ok { border-left: 5px solid var(--green); } .verify-bad { border-left: 5px solid var(--red); }

/* task status tabs */
.status-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.status-tabs a { padding: 9px 18px; border-radius: 999px; background: #fff; border: 1.5px solid var(--grey-300); color: var(--grey-700); font-weight: 700; }
.status-tabs a.active { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
.status-tabs a:hover { text-decoration: none; border-color: var(--blue-500); }
.call-btn { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--green-bg); color: var(--green); }
.call-btn:hover { background: var(--green); color: #fff; }
.mini-bars { display: flex; flex-direction: column; gap: 8px; }

@media (max-width: 1000px) {
  .hero .inner, .login-card { grid-template-columns: 1fr; } .hero-art { display: none; }
  .stat-strip, .role-cards { grid-template-columns: repeat(2, 1fr); } .steps-flow { grid-template-columns: repeat(3, 1fr); }
  .pub-footer .inner { grid-template-columns: 1fr; } .login-right { border-left: 0; border-top: 1px solid var(--grey-200); }
  .pcid-card .body { grid-template-columns: 90px 1fr; } .pcid-card .qr { grid-column: 1 / -1; justify-self: center; }
}
