/* ============================================================================
   KLOUDHIRE — INNER PAGE COMPONENTS
   ----------------------------------------------------------------------------
   Extends kloudhire.css. Same tokens, same radii, same shadow, same hover
   grammar (light blue tint, slightly stronger shadow, subtle border change,
   160ms). Nothing here is role-specific.
   ========================================================================== */

/* ---- page header --------------------------------------------------------- */
.page-head{
  display:flex;align-items:flex-start;justify-content:space-between;
  gap:20px;flex-wrap:wrap;padding:2px 2px 0;
}
.page-head-text{min-width:0;}
.page-head h1{font-size:22px;font-weight:800;color:var(--text);line-height:1.2;}
.page-head p{font-size:13px;color:var(--text-soft);font-weight:500;margin-top:5px;max-width:74ch;}
.scope-note{
  display:inline-flex;align-items:center;gap:7px;margin-top:10px;
  background:#eaf1ff;border:1px solid #d7e3fb;border-radius:20px;
  padding:5px 12px;font-size:11.5px;font-weight:600;color:#1d4ed8;
}
.scope-note i{font-size:11px;}
.page-actions{display:flex;gap:8px;flex-wrap:wrap;flex:0 0 auto;}

/* ---- buttons ------------------------------------------------------------- */
.btn{
  display:inline-flex;align-items:center;gap:7px;
  font-size:12.5px;font-weight:700;color:var(--text);
  background:#fff;border:1px solid #e3e8f4;border-radius:9px;
  padding:9px 14px;white-space:nowrap;
  transition:background var(--ease),border-color var(--ease),box-shadow var(--ease),color var(--ease);
}
.btn i{font-size:12px;color:var(--blue-dark);}
.btn:hover{background:var(--tint);border-color:#c7d9fb;box-shadow:var(--shadow);}
.btn.primary{background:var(--blue-dark);border-color:var(--blue-dark);color:#fff;box-shadow:0 3px 9px rgba(37,99,235,.28);}
.btn.primary i{color:#fff;}
.btn.primary:hover{background:#1d4ed8;border-color:#1d4ed8;box-shadow:0 5px 14px rgba(37,99,235,.36);}

.icon-act{
  width:28px;height:28px;border-radius:8px;color:var(--text-faint);
  display:flex;align-items:center;justify-content:center;font-size:13px;
  transition:background var(--ease),color var(--ease);
}
.icon-act:hover{background:var(--tint);color:var(--text);}

/* ---- toolbar ------------------------------------------------------------- */
.toolbar{
  display:flex;align-items:center;gap:9px;flex-wrap:wrap;
  padding-bottom:14px;margin-bottom:2px;border-bottom:1px solid var(--border);
}
.tb-search{
  flex:1;min-width:200px;max-width:340px;
  display:flex;align-items:center;gap:9px;
  background:var(--tint);border:1px solid #e9ecf5;border-radius:9px;padding:8px 11px;
  transition:border-color var(--ease),box-shadow var(--ease),background var(--ease);
}
.tb-search i{font-size:12px;color:var(--blue-dark);}
.tb-search input{border:none;background:transparent;outline:none;flex:1;min-width:0;font-size:12.5px;color:var(--text);}
.tb-search input::placeholder{color:var(--text-faint);}
.tb-search:hover{border-color:#dbe4f7;}
.tb-search:focus-within{background:#fff;border-color:#c7d9fb;box-shadow:0 0 0 3px rgba(59,130,246,.10);}

/* ---- chips --------------------------------------------------------------- */
.chips{display:flex;gap:8px;flex-wrap:wrap;}
.chip{
  display:inline-flex;align-items:center;gap:7px;
  font-size:12px;font-weight:600;color:var(--text-soft);
  background:#fff;border:1px solid #e6eaf6;border-radius:20px;padding:7px 14px;
  transition:background var(--ease),border-color var(--ease),color var(--ease),box-shadow var(--ease);
}
.chip span{
  font-size:10.5px;font-weight:700;background:#eef1f8;color:var(--text-faint);
  border-radius:20px;padding:1px 7px;
}
.chip:hover{background:var(--tint);border-color:#cfdcf8;color:var(--text);}
.chip.on{background:var(--blue-dark);border-color:var(--blue-dark);color:#fff;box-shadow:0 3px 9px rgba(37,99,235,.25);}
.chip.on span{background:rgba(255,255,255,.22);color:#fff;}

/* ---- tabs ---------------------------------------------------------------- */
.tabs{display:flex;gap:2px;border-bottom:1px solid var(--border);flex-wrap:wrap;}
.tab{
  font-size:13px;font-weight:600;color:var(--text-soft);
  padding:10px 15px;border-bottom:2px solid transparent;margin-bottom:-1px;
  transition:color var(--ease),border-color var(--ease),background var(--ease);
  border-radius:8px 8px 0 0;
}
.tab:hover{color:var(--text);background:var(--tint);}
.tab.on{color:var(--blue-dark);border-bottom-color:var(--blue-dark);font-weight:700;}

/* ---- mini stats ---------------------------------------------------------- */
.mini-stats{display:flex;gap:18px;flex-wrap:wrap;margin-left:auto;}
.mini-stat{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--text-soft);font-weight:500;white-space:nowrap;}
.mini-stat b{font-size:14px;font-weight:800;color:var(--text);}
.mini-dot{width:8px;height:8px;border-radius:50%;flex:0 0 auto;}
.mini-dot.blue{background:#3b82f6;}.mini-dot.green{background:#22c55e;}
.mini-dot.purple{background:#8b5cf6;}.mini-dot.orange{background:#f59e0b;}
.mini-dot.pink{background:#ec4899;}.mini-dot.teal{background:#14b8a6;}

/* ---- sheet (a page that is mostly a table) ------------------------------- */
.panel.sheet{padding:16px 18px 8px;}
.panel.sheet .toolbar{border-bottom:1px solid var(--border);}

/* ---- table extras -------------------------------------------------------- */
td.row-act{width:40px;text-align:right;}
/* A floor as well as a ceiling: without the floor the question column
   collapses to one word per line on a phone and the table looks broken.
   The floor pushes the table past the viewport, which is what .table-wrap
   scrolls. */
.q-cell{min-width:250px;max-width:360px;}
.q-cell b{display:block;white-space:normal;line-height:1.4;}
.cell-id{display:flex;align-items:center;gap:9px;min-width:0;}
.cell-id b{font-size:12.5px;font-weight:700;color:var(--text);white-space:nowrap;}
.mini-avatar{
  width:28px;height:28px;flex:0 0 auto;border-radius:50%;
  background:#eaf1ff;color:var(--blue-dark);
  display:flex;align-items:center;justify-content:center;
  font-size:10.5px;font-weight:800;text-transform:uppercase;
}
.muted-num{color:var(--text-faint);font-weight:600;}
.bad-num{color:#d93a2f;font-weight:800;}
.live-num{color:#16803c;font-weight:800;}
td.mono{font-family:ui-monospace,'SFMono-Regular',Menlo,monospace;font-size:11.5px;color:var(--text-soft);}
.action-tag{
  font-size:10px;font-weight:800;letter-spacing:.5px;
  background:#eef1f8;color:#5b6373;border-radius:5px;padding:3px 7px;
}
.cell-bar{height:7px;min-width:64px;background:#eef0f6;border-radius:6px;overflow:hidden;display:block;}
.cell-bar .usage-fill{display:block;height:100%;}
.diff{font-size:10.5px;font-weight:700;border-radius:20px;padding:3px 9px;}
.diff.easy{background:#e3f9ec;color:#16803c;}
.diff.medium{background:#fdf0d9;color:#a9700a;}
.diff.hard{background:#fdeceb;color:#d93a2f;}

/* ---- picker strip -------------------------------------------------------- */
.picker{
  display:flex;align-items:center;gap:14px;flex-wrap:wrap;
  background:var(--card-bg);border-radius:var(--radius-md);
  box-shadow:var(--shadow);padding:14px 18px;
}
.picker-label{font-size:11px;font-weight:700;letter-spacing:.5px;text-transform:uppercase;color:var(--text-faint);}
.picker-btn{
  display:inline-flex;align-items:center;gap:9px;
  font-size:13px;font-weight:700;color:var(--text);
  background:var(--tint);border:1px solid #e3e8f4;border-radius:9px;padding:8px 13px;
  transition:background var(--ease),border-color var(--ease);
}
.picker-btn span{font-size:11px;font-weight:700;color:var(--blue-dark);background:#eaf1ff;border-radius:5px;padding:2px 6px;}
.picker-btn i{color:var(--text-faint);font-size:10px;}
.picker-btn:hover{background:var(--tint-strong);border-color:#c7d9fb;}

/* ---- card grids ---------------------------------------------------------- */
.card-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;}
.card-grid.three{grid-template-columns:repeat(3,1fr);}
.card-grid.four{grid-template-columns:repeat(4,1fr);}
.mini-card{
  background:var(--card-bg);border-radius:var(--radius-lg);
  box-shadow:var(--shadow);padding:16px 18px 14px;
  display:flex;flex-direction:column;gap:9px;
  border:1px solid transparent;
  transition:box-shadow var(--ease),border-color var(--ease),transform var(--ease);
}
.mini-card:hover{box-shadow:var(--shadow-hover);border-color:#e3eafb;transform:translateY(-1px);}
.mini-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;}
.mini-card h4{font-size:14px;font-weight:700;color:var(--text);line-height:1.35;}
.mini-sub{font-size:11.5px;color:var(--text-faint);font-weight:500;margin-top:-4px;}
.mini-card .spec{display:flex;flex-direction:column;gap:7px;margin-top:2px;}
.mini-card .spec li{display:flex;justify-content:space-between;gap:10px;font-size:12px;color:var(--text-soft);}
.mini-card .spec b{color:var(--text);font-weight:700;}
.mini-card footer{
  margin-top:auto;padding-top:11px;border-top:1px solid var(--border);
  font-size:11.5px;color:var(--text-soft);font-weight:600;
  display:flex;justify-content:space-between;align-items:center;gap:8px;
}
.mini-card footer b{color:var(--text);font-weight:800;}
.mini-card footer.link{color:var(--blue-dark);cursor:pointer;justify-content:flex-start;gap:7px;}
.mini-card footer.cta{justify-content:stretch;}
.mini-card footer.cta .btn{width:100%;justify-content:center;}
.mini-card.action{text-align:left;}
.mini-card .score{display:flex;align-items:baseline;gap:9px;}
.mini-card .score b{font-size:24px;font-weight:800;color:var(--text);}
.mini-card .score span{font-size:12px;color:var(--text-faint);font-weight:600;}

/* ---- notes (three short explanations side by side) ----------------------- */
.note-grid{display:flex;flex-direction:column;gap:12px;}
.note{display:flex;gap:11px;align-items:flex-start;}
.note-ic{
  width:32px;height:32px;flex:0 0 auto;border-radius:9px;
  display:flex;align-items:center;justify-content:center;font-size:13px;
}
.note-ic.blue{background:#e6f0ff;color:#3b82f6;}
.note-ic.purple{background:#f1e9fe;color:#8b5cf6;}
.note-ic.green{background:#e3f9ec;color:#16a34a;}
.note-ic.orange{background:#fdece0;color:#f0653a;}
.note b{font-size:12.5px;font-weight:700;color:var(--text);display:block;}
.note p{font-size:11.5px;color:var(--text-soft);margin-top:2px;line-height:1.45;}

/* ---- deny list ----------------------------------------------------------- */
.deny-list{display:flex;flex-direction:column;gap:9px;}
.deny-list li{
  display:flex;align-items:center;gap:10px;
  font-size:12px;color:var(--text-soft);font-weight:500;
  background:#fbfcfe;border:1px solid #eef0f6;border-radius:9px;padding:8px 11px;
}
.deny-list i{color:#d93a2f;font-size:11px;flex:0 0 auto;}

/* ---- lifecycle steps ----------------------------------------------------- */
.steps{display:flex;gap:10px;flex-wrap:wrap;}
.steps li{
  flex:1;min-width:150px;
  background:#fbfcfe;border:1px solid #eef0f6;border-radius:12px;padding:13px 14px;
  display:flex;flex-direction:column;gap:5px;position:relative;
}
.steps li span{
  width:30px;height:30px;border-radius:9px;
  background:#eef1f8;color:var(--text-faint);
  display:flex;align-items:center;justify-content:center;font-size:12px;margin-bottom:3px;
}
.steps li b{font-size:13px;font-weight:700;color:var(--text);}
.steps li p{font-size:11px;color:var(--text-faint);}
.steps li.done span{background:#e3f9ec;color:#16a34a;}
.steps li.now{background:#eef4ff;border-color:#c7d9fb;box-shadow:0 2px 10px rgba(59,130,246,.12);}
.steps li.now span{background:#dbeafe;color:#2563eb;}

/* ---- attempt grid (live monitoring) -------------------------------------- */
/* Unlike .mini-card, .attempt's footer has no margin-top:auto filler, so a
   row with a wrapped name (2 lines vs 1) would otherwise stretch the shorter
   card and leave blank space below its bar instead of matching gracefully. */
.attempt-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(224px,1fr));gap:11px;align-items:start;}
.attempt{
  background:#fbfcfe;border:1px solid #eef0f6;border-radius:12px;padding:11px 12px;
  display:flex;flex-direction:column;gap:9px;
  transition:border-color var(--ease),box-shadow var(--ease);
}
.attempt:hover{border-color:#d9e6fb;box-shadow:var(--shadow);}
.attempt header{display:flex;align-items:center;gap:9px;}
.attempt header .cell-stack{flex:1;min-width:0;}
.attempt header .cell-stack b{font-size:12px;}
.attempt footer{display:flex;justify-content:space-between;font-size:11px;color:var(--text-faint);font-weight:600;}

/* ---- import dropzone ----------------------------------------------------- */
.dropzone{
  border:1.5px dashed #c7d9fb;border-radius:14px;background:#f8fbff;
  padding:30px 20px;text-align:center;
  display:flex;flex-direction:column;align-items:center;gap:8px;
  transition:background var(--ease),border-color var(--ease);
}
.dropzone:hover{background:#eef4ff;border-color:#93b8f5;}
.dropzone > i{font-size:26px;color:var(--blue-dark);}
.dropzone b{font-size:13.5px;font-weight:700;color:var(--text);}
.dropzone p{font-size:12px;color:var(--text-soft);margin-bottom:6px;}

/* ---- form fields --------------------------------------------------------- */
.field-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;}
.field-grid.two{grid-template-columns:repeat(2,1fr);margin-top:14px;}
.field{display:flex;flex-direction:column;gap:6px;}
.field > span{font-size:11.5px;font-weight:600;color:var(--text-soft);}
.select,.swatch-input{
  display:flex;align-items:center;gap:9px;
  background:var(--tint);border:1px solid #e3e8f4;border-radius:9px;
  padding:9px 12px;font-size:12.5px;font-weight:600;color:var(--text);
  transition:border-color var(--ease),background var(--ease);
}
.select i{margin-left:auto;font-size:10px;color:var(--text-faint);}
.select:hover,.swatch-input:hover{border-color:#c7d9fb;background:#fff;}
/* A read-only value: same anatomy as .select, but nothing about it invites a
   click - no hover, muted border, and a small lock cue supplied by the page. */
.field .static{
  display:flex;align-items:center;gap:9px;
  background:#f8fafd;border:1px solid #eef0f6;border-radius:9px;
  padding:9px 12px;font-size:12.5px;font-weight:600;color:var(--text);
  cursor:default;
}
.field .static i{margin-left:auto;font-size:10px;color:#c3cbdb;}
.swatch-input i{width:20px;height:20px;border-radius:6px;flex:0 0 auto;border:1px solid rgba(0,0,0,.06);}
.swatch-input input{border:none;background:transparent;outline:none;font:inherit;color:var(--text);width:100%;min-width:0;}

/* ---- switch list --------------------------------------------------------- */
.switch-list{display:flex;flex-direction:column;gap:11px;}
.switch-list li{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  background:#fbfcfe;border:1px solid #eef0f6;border-radius:11px;padding:11px 13px;
}
.switch-list b{font-size:12.5px;font-weight:700;color:var(--text);display:block;}
.switch-list p{font-size:11.5px;color:var(--text-soft);margin-top:2px;line-height:1.45;}
.switch{
  width:38px;height:22px;border-radius:20px;background:#dfe3ed;flex:0 0 auto;position:relative;
  display:flex;align-items:center;justify-content:flex-end;
  font-size:9px;color:#fff;padding-right:6px;
  transition:background var(--ease);
}
.switch::before{
  content:'';position:absolute;left:3px;top:3px;width:16px;height:16px;border-radius:50%;
  background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.2);transition:transform var(--ease);
}
.switch.on{background:#22c55e;}
.switch.on::before{transform:translateX(16px);}
.switch.locked{background:#94a3b8;}

/* ---- theme preview ------------------------------------------------------- */
.theme-preview{
  display:flex;gap:10px;background:#eef1f8;border:1px solid #e3e8f4;
  border-radius:12px;padding:12px;min-height:186px;
}
.tp-rail{width:58px;background:#fff;border-radius:9px;padding:9px 7px;display:flex;flex-direction:column;gap:7px;}
.tp-brand{height:18px;border-radius:5px;background:linear-gradient(135deg,#3b82f6,#2563eb);}
.tp-item{height:11px;border-radius:4px;background:#eef1f8;}
.tp-item.on{background:linear-gradient(135deg,#3b82f6,#2f6fed);}
.tp-body{flex:1;display:flex;flex-direction:column;gap:9px;}
.tp-head{height:22px;border-radius:7px;background:#fff;}
.tp-cards{display:flex;gap:8px;}
.tp-cards i{flex:1;height:38px;border-radius:9px;background:#fff;}
.tp-chart{flex:1;border-radius:9px;background:#fff;}

/* ---- Kurela AI ------------------------------------------------------------
   A scoped assistant, not a general chatbot: the topbar entry, the token
   meter, the conversation, and the refusal state that keeps it on-task.    */
.kurela-btn{
  display:inline-flex;align-items:center;gap:7px;
  font-size:12px;font-weight:700;color:#6d28d9;
  background:linear-gradient(135deg,#f1e9fe,#e6f0ff);
  border:1px solid #e4d8fc;border-radius:20px;padding:8px 14px;
  white-space:nowrap;flex:0 0 auto;
  transition:background var(--ease),border-color var(--ease),box-shadow var(--ease);
}
.kurela-btn i{font-size:11px;}
.kurela-btn:hover{border-color:#d7c4fb;box-shadow:0 3px 9px rgba(139,92,246,.18);}

.kurela-shell{
  display:grid;grid-template-columns:1fr 300px;gap:16px;align-items:start;
}
.kurela-usage{
  background:var(--card-bg);border-radius:var(--radius-lg);box-shadow:var(--shadow);
  padding:16px 18px;display:flex;flex-direction:column;gap:12px;
}
.kurela-usage h4{font-size:13px;font-weight:700;color:var(--text);}
.kurela-meter{height:9px;background:#eef0f6;border-radius:6px;overflow:hidden;}
.kurela-meter i{display:block;height:100%;border-radius:6px;background:linear-gradient(90deg,#a78bfa,#8b5cf6);}
.kurela-usage .row{display:flex;justify-content:space-between;font-size:11.5px;color:var(--text-soft);font-weight:600;}
.kurela-usage .row b{color:var(--text);font-weight:800;}

.kurela-chat{
  background:var(--card-bg);border-radius:var(--radius-lg);box-shadow:var(--shadow);
  display:flex;flex-direction:column;min-height:420px;
}
.kurela-chat-head{
  display:flex;align-items:center;gap:10px;padding:14px 18px;border-bottom:1px solid var(--border);
}
.kurela-chat-head .mark{
  width:34px;height:34px;border-radius:10px;flex:0 0 auto;
  background:linear-gradient(135deg,#8b5cf6,#6d28d9);color:#fff;
  display:flex;align-items:center;justify-content:center;font-size:15px;
}
.kurela-chat-body{flex:1;padding:18px;display:flex;flex-direction:column;gap:14px;overflow-y:auto;}
.kurela-msg{display:flex;gap:10px;max-width:82%;}
.kurela-msg.user{align-self:flex-end;flex-direction:row-reverse;}
.kurela-msg .who{
  width:28px;height:28px;border-radius:50%;flex:0 0 auto;
  display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:800;
}
.kurela-msg.ai .who{background:linear-gradient(135deg,#8b5cf6,#6d28d9);color:#fff;}
.kurela-msg.user .who{background:#eaf1ff;color:var(--blue-dark);}
.kurela-msg .bubble{
  background:var(--tint);border-radius:12px;padding:10px 13px;
  font-size:12.5px;line-height:1.55;color:var(--text);
}
.kurela-msg.user .bubble{background:#eaf1ff;color:#1d3a8a;}
.kurela-msg.declined .bubble{background:#fdeceb;color:#8a2f27;border:1px solid #f8d5d2;}
.kurela-msg .bubble b{display:block;margin-bottom:2px;}
.kurela-chat-foot{
  border-top:1px solid var(--border);padding:12px 16px;
  display:flex;align-items:center;gap:10px;
}
.kurela-chat-foot input{
  flex:1;border:1px solid #e3e8f4;background:var(--tint);border-radius:20px;
  padding:9px 14px;font-size:12.5px;color:var(--text);outline:none;
}
.kurela-chat-foot input::placeholder{color:var(--text-faint);}
.kurela-chat-foot input:focus{background:#fff;border-color:#c7d9fb;box-shadow:0 0 0 3px rgba(139,92,246,.10);}
.kurela-chat-foot button{
  width:38px;height:38px;border-radius:50%;flex:0 0 auto;
  background:linear-gradient(135deg,#8b5cf6,#6d28d9);color:#fff;
  display:flex;align-items:center;justify-content:center;font-size:13px;
  transition:box-shadow var(--ease);
}
.kurela-chat-foot button:hover{box-shadow:0 3px 10px rgba(139,92,246,.35);}

@media (max-width:1400px){
  .kurela-shell{grid-template-columns:1fr;}
}
@media (max-width:640px){
  .kurela-btn span{display:none;}
  .kurela-btn{padding:8px;border-radius:10px;}
  .kurela-msg{max-width:92%;}
}

/* ---- responsive ---------------------------------------------------------- */
@media (max-width:1400px){
  .card-grid,.card-grid.three,.card-grid.four{grid-template-columns:repeat(2,1fr);}
  .field-grid{grid-template-columns:repeat(2,1fr);}
  .mini-stats{margin-left:0;width:100%;}
}
@media (max-width:900px){
  .page-head h1{font-size:19px;}
  .page-actions{width:100%;}
  .page-actions .btn{flex:1;justify-content:center;}
  .steps li{min-width:130px;}
}
@media (max-width:640px){
  .card-grid,.card-grid.three,.card-grid.four{grid-template-columns:1fr;}
  .field-grid,.field-grid.two{grid-template-columns:1fr;}
  .tb-search{max-width:none;}
  .attempt-grid{grid-template-columns:1fr;}
  .panel.sheet{padding:14px 12px 6px;}
  .mini-stats{gap:12px;}
}

/* ============================================================================
   KLOUDHIRE ADDITIONS
   ----------------------------------------------------------------------------
   Components the career domain needs that the examination domain did not.
   Same tokens, same radii, same shadow, same hover grammar — nothing here is
   a second visual language, and nothing here is role-specific.
   ========================================================================== */

/* ---- a panel that spans two tracks of .grid-3 ---------------------------- */
.grid-3 > .panel.span-2{grid-column:span 2;}

/* ---- the employability score, never shown as a bare number ---------------
   The ring and its dimensions are ONE component precisely so that the number
   cannot be rendered without what it is made of. */
.score-body{display:flex;align-items:center;gap:26px;flex-wrap:wrap;}
.score-ring{width:150px;height:150px;flex:0 0 150px;position:relative;}
.score-dims{flex:1;min-width:260px;}

/* ---- a match, with its reason -------------------------------------------
   `.match-why` is not optional styling: a row that cannot say why it matched
   does not get a score (blueprint 12.1). */
.match-list .tile-body{min-width:0;}
.match-why{
  display:flex;align-items:flex-start;gap:6px;margin-top:5px;
  font-size:11.5px;color:var(--text-soft);line-height:1.45;
}
.match-why i{color:var(--blue);font-size:10px;margin-top:3px;flex:0 0 auto;}
.match-score{
  display:inline-block;font-size:13px;font-weight:800;color:#15803d;
  background:#e8f8ef;border:1px solid #bbe9d0;
  padding:3px 9px;border-radius:99px;white-space:nowrap;
}

/* ---- a single large reading, for a three-across summary row -------------- */
.big-read{
  font-size:34px;font-weight:800;letter-spacing:-1px;color:var(--text);
  display:flex;align-items:baseline;gap:10px;padding:4px 0 2px;
}
.big-read span{font-size:12px;font-weight:500;letter-spacing:0;color:var(--text-soft);}

/* ---- a written explanation, where the product owes the reader one -------- */
.note-body{font-size:13px;color:var(--text-soft);line-height:1.7;}
.note-body p{margin-bottom:10px;}
.note-body p:last-child{margin-bottom:0;}
.note-body b{color:var(--text);font-weight:600;}
.note-body code{
  background:var(--tint);padding:2px 6px;border-radius:5px;
  font-family:ui-monospace,monospace;font-size:11.5px;color:var(--blue-dark);
}
.note-body .fine{font-size:12px;color:var(--text-faint);}
.note-body .fine i{color:var(--blue);margin-right:4px;}

/* ---- passport identity block -------------------------------------------- */
.id-card{display:flex;align-items:center;gap:16px;margin-bottom:16px;}
.mini-avatar.lg{width:54px;height:54px;flex:0 0 54px;font-size:17px;border-radius:14px;}
.id-name{
  display:flex;align-items:center;gap:9px;flex-wrap:wrap;
  font-size:17px;font-weight:700;color:var(--text);
}
.id-meta{font-size:12.5px;color:var(--text-soft);margin-top:3px;}

/* ---- a table cell holding a reason, not a value -------------------------- */
.why-cell{max-width:320px;font-size:12px;color:var(--text-soft);line-height:1.45;}

/* ---- a lifecycle read left to right -------------------------------------- */
.lifecycle-strip{display:flex;flex-wrap:wrap;gap:7px;}
.ls-step{
  position:relative;font-size:11.5px;font-weight:500;
  color:var(--text-soft);background:#fff;
  border:1px solid var(--border);border-radius:99px;padding:6px 13px;
}
.ls-step::after{content:"›";position:absolute;right:-8px;top:5px;color:var(--text-faint);font-weight:700;}
.ls-step:last-child::after{content:none;}
.ls-step.done{background:#e8f8ef;border-color:#bbe9d0;color:#15803d;}
.ls-step.now{background:var(--blue);border-color:var(--blue);color:#fff;font-weight:600;}

/* ---- a danger pill, for a disputed record or a high-severity exception --- */
.pill.danger{background:#fdeaea;color:#b91c1c;}

@media (max-width:1100px){
  .grid-3 > .panel.span-2{grid-column:span 1;}
  .score-body{gap:18px;}
}

/* ---- the "specified, not yet drawn" stub --------------------------------- */
.empty .fine{font-size:12px;color:var(--text-faint);margin-top:8px;}
.empty code{background:var(--tint);padding:2px 7px;border-radius:5px;font-family:ui-monospace,monospace;font-size:11.5px;color:var(--blue-dark);}
.empty b{color:var(--text);}

/* Readiness dimension names are the point of the panel — "Professional
   readiness" must not truncate to "Professional readi…". */
.score-dims .usage-name{flex:0 0 168px;white-space:normal;overflow:visible;}
