/* ============ Conscipact Intranet ============ */
:root {
  --navy:         #0C1633;   /* deep navy — structural base (sidebar) */
  --navy-2:       #16234C;   /* raised navy panels */
  --brand:        #0E00B2;   /* royal blue — primary accent */
  --brand-2:      #3B2AE0;   /* lighter royal */
  --brand-ink:    #08006B;   /* deep royal */
  --teal:         #14B4C6;   /* teal accent (from logo) */
  --teal-2:       #6FE0EC;   /* light teal */
  --accent:       #14B4C6;   /* accent = teal */
  --bg:           #F3F6FB;   /* app content background */
  --card:         #ffffff;
  --ink:          #16213B;   /* navy-ink text */
  --muted:        #667394;
  --line:         #E7ECF5;
  --radius:       16px;
  --shadow:       0 1px 2px rgba(12,22,51,.04), 0 14px 34px rgba(12,22,51,.09);
  --sidebar-w:    250px;
  --maxw:         1180px;
  --font:         -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; font-family: var(--font); color: var(--ink);
  background: var(--bg); line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.hidden { display: none !important; }
a { color: var(--brand-2); }

/* ---------- Auth screen ---------- */
.auth-screen {
  min-height: 100vh; display: grid; place-items: center; padding: 24px;
  background: radial-gradient(1200px 600px at 70% -10%, var(--brand-2), var(--brand) 60%, var(--brand-ink) 100%);
}
.auth-card {
  width: 100%; max-width: 420px; background: var(--card);
  border-radius: 18px; padding: 40px 34px; box-shadow: var(--shadow); text-align: center;
}
.auth-logo { width: 100%; max-width: 340px; height: auto; margin-bottom: 18px; }
.auth-title {
  display: inline-block; margin: 2px 0 12px;
  font-size: clamp(30px, 6vw, 42px); font-weight: 800; letter-spacing: -.02em;
  color: var(--brand);
  background: linear-gradient(180deg, rgba(59,42,224,.12), rgba(14,0,178,.08));
  padding: 4px 20px; border-radius: 12px;
}
.auth-sub { margin: 0 0 22px; color: var(--muted); font-size: 15px; }
.auth-form { display: grid; gap: 12px; }
.auth-form input {
  padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 15px;
}
.auth-form input:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(43,122,140,.15); }
.auth-form button, .form-actions button, #login-btn {
  padding: 13px 16px; background: var(--brand); color: #fff; border: 0;
  border-radius: 10px; font-size: 15px; font-weight: 600; cursor: pointer;
  transition: background .15s;
}
.auth-form button:hover { background: var(--brand-ink); }
.auth-msg { min-height: 20px; margin: 14px 0 0; font-size: 14px; }
.auth-msg.ok { color: #1c7c4a; }
.auth-msg.err { color: #b3341f; }
.pw-hint { margin: -4px 0 2px; font-size: 12px; color: var(--muted); text-align: left; line-height: 1.4; }
.auth-hint { margin: -4px 0 14px; font-size: 13px; }
.auth-hint a { color: var(--brand-2); font-weight: 600; text-decoration: none; }
.auth-hint a:hover { text-decoration: underline; }
.auth-links { display: flex; justify-content: center; gap: 18px; margin-top: 14px; }
.link-btn { background: none; border: 0; color: var(--brand-2); font-size: 13px; cursor: pointer; padding: 4px; text-decoration: underline; }
.link-btn:hover { color: var(--brand); }
.code-input { text-align: center; letter-spacing: .4em; font-size: 20px; font-weight: 600; }
.auth-view { display: block; }
.auth-foot { margin: 18px 0 0; font-size: 12px; color: var(--muted); }
.auth-preboard { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; }
.auth-preboard a { color: var(--brand-2); text-decoration: none; font-weight: 600; }
.auth-preboard a:hover { text-decoration: underline; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.9);
  backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid var(--line);
}
.topbar-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 12px 22px;
  display: flex; align-items: center; gap: 20px;
}
.brand-logo { height: 40px; display: block; }
.brand-word { font-weight: 800; letter-spacing: .12em; color: var(--brand); }
.topnav { display: flex; gap: 20px; margin-left: 8px; flex: 1; }
.topnav a { color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; }
.topnav a:hover { color: var(--brand-2); }
.topbar-right { display: flex; align-items: center; gap: 12px; }
.user-email { font-size: 13px; color: var(--muted); }
.btn-ghost {
  background: transparent; border: 1px solid var(--line); color: var(--ink);
  padding: 8px 12px; border-radius: 8px; font-size: 13px; cursor: pointer;
}
.btn-ghost:hover { border-color: var(--brand-2); color: var(--brand-2); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; text-align: center; color: #fff;
  padding: 54px 22px 58px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 62%, var(--brand-ink) 100%); }
.hero-glow { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(720px 300px at 50% -30%, rgba(255,255,255,.20), transparent 70%); }
.hero-inner { position: relative; max-width: 720px; margin: 0 auto; }
.hero-badge { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; background: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 26px rgba(8,0,107,.32); }
.hero-badge img { width: 48px; height: 48px; object-fit: contain; }
.hero-title { font-size: clamp(28px, 5vw, 44px); margin: 0 0 10px; letter-spacing: -.02em; }
.hero-tagline { font-size: 18px; opacity: .95; margin: 0; }
.hero-greeting { font-size: 15px; opacity: .88; margin: 10px 0 0; }

/* ---------- Layout blocks ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px 60px; }
.block { margin-top: 54px; scroll-margin-top: 80px; }
.block-head { margin-bottom: 20px; }
.block-head h2 { font-size: 22px; margin: 0 0 4px; letter-spacing: -.01em; }
.block-sub { color: var(--muted); margin: 0; font-size: 15px; }

/* Quick link tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px,1fr)); gap: 14px; }
.tile {
  display: flex; flex-direction: column; gap: 4px; padding: 18px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--ink); box-shadow: var(--shadow);
  transition: transform .12s, box-shadow .12s, border-color .12s;
}
.tile:hover { transform: translateY(-2px); border-color: var(--brand-2); }
.tile-icon { font-size: 26px; }
.tile-title { font-weight: 650; margin-top: 4px; }
.tile-desc { font-size: 13px; color: var(--muted); }

/* Announcements */
.news-list { display: grid; gap: 14px; }
.news-item {
  background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow);
}
.news-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.news-tag { background: rgba(224,138,60,.14); color: #a75f1e; font-size: 11px; font-weight: 700;
  padding: 3px 9px; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; }
.news-date { font-size: 12px; color: var(--muted); }
.news-item h3 { margin: 2px 0 6px; font-size: 17px; }
.news-item p { margin: 0; color: var(--muted); }

/* Trainings */
.training-list { display: grid; gap: 10px; }
.training-item {
  display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 18px; box-shadow: var(--shadow); transition: border-color .12s;
}
.training-item:hover { border-color: var(--brand-2); }
.training-check { color: var(--brand-2); font-size: 14px; }
.training-main { display: flex; flex-direction: column; flex: 1; }
.training-title { font-weight: 600; }
.training-due { font-size: 13px; color: var(--muted); }
.badge-required { background: rgba(179,52,31,.1); color: #b3341f; font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px; }

/* Two column */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 54px; }
.card-block {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow); margin-top: 0;
}
.card-block h2 { font-size: 20px; margin: 0 0 10px; }
.prose p { color: var(--muted); margin: 0 0 12px; }
.prose ul { color: var(--muted); margin: 0 0 12px; padding-left: 20px; }
.prose li { margin-bottom: 6px; }

/* From the Founder */
.founder-card { display: flex; gap: 26px; align-items: flex-start;
  background: linear-gradient(135deg, rgba(14,0,178,.045), rgba(59,42,224,.07));
  border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: var(--radius);
  padding: 28px 30px; box-shadow: var(--shadow); }
.founder-badge { flex: none; width: 72px; height: 72px; border-radius: 50%; letter-spacing: .04em;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-weight: 800;
  font-size: 24px; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(8,0,107,.28); }
.founder-body h2 { margin: 0 0 12px; font-size: 20px; }
.founder-sign { margin: 10px 0 0; font-weight: 700; color: var(--ink); }
.founder-sign a { display: inline-block; margin-top: 4px; font-weight: 500; color: var(--brand-2); text-decoration: none; font-size: 14px; }
.founder-sign a:hover { text-decoration: underline; }
@media (max-width: 640px) { .founder-card { flex-direction: column; gap: 16px; } }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 14px; }
.team-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; text-align: center; box-shadow: var(--shadow);
}
.team-emoji { font-size: 34px; }
.team-name { font-weight: 700; margin-top: 8px; }
.team-role { font-size: 13px; color: var(--muted); margin: 2px 0 8px; }
.team-email { font-size: 13px; text-decoration: none; }

/* Onboarding form */
.form-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 16px; }
.form-card label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.form-card label.full { margin-top: 16px; }
.form-card input, .form-card select, .form-card textarea {
  padding: 11px 12px; border: 1px solid var(--line); border-radius: 9px; font-size: 14px;
  font-weight: 400; font-family: var(--font); background: #fff;
}
.form-card input:focus, .form-card select:focus, .form-card textarea:focus {
  outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(43,122,140,.14);
}
.form-actions { display: flex; align-items: center; gap: 16px; margin-top: 20px; }
.form-actions button { min-width: 140px; }
.form-msg { font-size: 14px; }
.form-msg.ok { color: #1c7c4a; }
.form-msg.err { color: #b3341f; }

/* Footer — Conscipact company footer */
.site-footer { background: var(--brand-ink); color: rgba(255,255,255,.85); margin-top: 64px; }
.footer-cols { max-width: var(--maxw); margin: 0 auto; padding: 46px 22px 32px;
  display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 40px; }
.footer-logo { height: 40px; margin-bottom: 16px; }
.footer-desc { font-size: 13.5px; line-height: 1.7; color: rgba(255,255,255,.72); margin: 0 0 12px; max-width: 420px; }
.footer-tagline { font-size: 13px; font-style: italic; color: rgba(255,255,255,.6); margin: 0; }
.footer-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .09em; color: #fff; margin: 4px 0 14px; }
.footer-col p { font-size: 13.5px; line-height: 1.6; color: rgba(255,255,255,.72); margin: 0 0 14px; }
.footer-col a { color: #fff; text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.footer-values { font-size: 12.5px !important; color: rgba(255,255,255,.55) !important; margin-top: 18px !important; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); }
.footer-bar { max-width: var(--maxw); margin: 0 auto; padding: 18px 22px; display: flex;
  justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: rgba(255,255,255,.5); }
@media (max-width: 820px) { .footer-cols { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Public pre-boarding page ---------- */
.pb-body { background: linear-gradient(180deg, #ffffff 0%, #eaeef3 100%); min-height: 100vh; }

.pb-hero { position: relative; overflow: hidden; text-align: center; padding: 46px 22px 26px; }
.pb-hero::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2) 55%, var(--accent)); }
.pb-hero-watermark { position: absolute; right: -30px; top: 6px; width: 240px; opacity: .06; pointer-events: none; }
.pb-hero-glow { position: absolute; inset: 0;
  background: radial-gradient(600px 240px at 50% -40%, rgba(59,42,224,.12), transparent 70%); pointer-events: none; }
.pb-hero-inner { position: relative; max-width: 680px; margin: 0 auto; }
.pb-hero-logo { width: 100%; max-width: 290px; height: auto; margin-bottom: 16px; }
.pb-kicker { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; color: var(--brand); font-weight: 700; margin: 0 0 8px; }
.pb-title { font-size: clamp(28px, 5vw, 40px); color: var(--brand-ink); margin: 0 0 12px; letter-spacing: -.02em; }
.pb-hero-sub { color: var(--muted); font-size: 15px; max-width: 600px; margin: 0 auto; line-height: 1.6; }
.pb-steps { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 22px; flex-wrap: wrap; }
.pb-steps span { font-size: 12px; font-weight: 600; color: var(--brand); background: rgba(14,0,178,.06); padding: 6px 12px; border-radius: 999px; }
.pb-steps i { width: 16px; height: 2px; background: var(--line); display: inline-block; }

.pb-main { max-width: 760px; margin: 0 auto; padding: 8px 22px 64px; }
.pb-form { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 12px 30px 30px; box-shadow: var(--shadow); }
.pb-section { padding: 24px 0; border-bottom: 1px solid var(--line); }
.pb-section:last-of-type { border-bottom: 0; }
.pb-shead { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.pb-badge { flex: none; width: 30px; height: 30px; border-radius: 50%; color: #fff; font-weight: 700; font-size: 14px;
  display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.pb-shead h2 { font-size: 18px; margin: 0; letter-spacing: -.01em; }
.pb-shead p { margin: 3px 0 0; font-size: 13px; color: var(--muted); }

.pb-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.pb-form label.full { margin-top: 16px; }
.pb-form input, .pb-form select, .pb-form textarea {
  padding: 11px 12px; border: 1px solid var(--line); border-radius: 9px; font-size: 14px;
  font-weight: 400; font-family: var(--font); background: #fff; }
.pb-form input:focus, .pb-form select:focus, .pb-form textarea:focus {
  outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(59,42,224,.14); }

.phone-group { display: flex; gap: 8px; }
.cc-select { flex: 0 0 auto; width: auto !important; max-width: 132px; }
.phone-group input { flex: 1; }

.pb-check { flex-direction: row !important; align-items: flex-start; gap: 10px; font-weight: 500; margin-top: 14px; color: var(--ink); }
.pb-check input { width: 16px; height: 16px; margin-top: 3px; flex: none; }
.pb-check.consent { margin-top: 20px; }

.pb-upload { margin-top: 18px; }
.pb-upload input[type="file"] { padding: 12px; border: 1px dashed var(--brand-2); border-radius: 10px; background: #fafbff; cursor: pointer; }
.form-note { font-size: 13px; color: var(--muted); margin: 6px 0 0; }
.hint-inline { color: var(--muted); font-weight: 400; font-size: 12px; }

.pb-actions { display: flex; align-items: center; gap: 16px; margin-top: 26px; flex-wrap: wrap; }
.pb-actions button { padding: 14px 22px; background: var(--brand); color: #fff; border: 0; border-radius: 10px;
  font-size: 15px; font-weight: 600; cursor: pointer; min-width: 230px; transition: background .15s; }
.pb-actions button:hover { background: var(--brand-ink); }
.pb-actions button:disabled { opacity: .6; cursor: default; }

.success-card { text-align: center; padding: 40px 30px; }
.success-icon { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; background: rgba(28,124,74,.12);
  color: #1c7c4a; font-size: 28px; display: grid; place-items: center; }
.success-card h2 { margin: 0 0 8px; }
.success-card p { color: var(--muted); max-width: 480px; margin: 0 auto; }
.pb-foot { text-align: center; margin-top: 22px; font-size: 14px; color: var(--muted); }
.pb-foot a { color: var(--brand-2); text-decoration: none; font-weight: 600; }

/* ---------- Admin portal ---------- */
.admin-badge { background: var(--brand); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 6px; margin-left: 12px; }
.admin-main { max-width: 1000px; margin: 0 auto; padding: 26px 22px 60px; }
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 16px; margin-bottom: 24px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; box-shadow: var(--shadow); }
.stat-num { font-size: 30px; font-weight: 800; color: var(--brand); letter-spacing: -.02em; }
.stat-label { font-size: 13px; color: var(--muted); margin-top: 2px; }
.admin-bar { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.admin-tabs { display: flex; gap: 6px; background: #e9edf1; padding: 4px; border-radius: 10px; }
.admin-tabs .tab { border: 0; background: transparent; padding: 8px 16px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; }
.admin-tabs .tab.active { background: #fff; color: var(--brand); box-shadow: var(--shadow); }
.admin-bar-right { display: flex; gap: 10px; align-items: center; }
.admin-search { padding: 10px 14px; border: 1px solid var(--line); border-radius: 9px; font-size: 14px; min-width: 220px; font-family: var(--font); }
.admin-search:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(59,42,224,.14); }
.admin-panel { display: grid; gap: 16px; }
.admin-empty { color: var(--muted); text-align: center; padding: 40px; background: var(--card); border: 1px dashed var(--line); border-radius: 14px; }
.rec-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; box-shadow: var(--shadow); }
.rec-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.rec-name { font-size: 17px; font-weight: 700; }
.rec-sub { font-size: 13px; color: var(--muted); }
.rec-date { font-size: 12px; color: var(--muted); white-space: nowrap; }
.rec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 10px 22px; }
.rec-row { display: flex; flex-direction: column; gap: 1px; }
.rec-k { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.rec-v { font-size: 14px; color: var(--ink); word-break: break-word; }
.doc-btn { margin-top: 16px; background: rgba(14,0,178,.06); color: var(--brand); border: 1px solid rgba(14,0,178,.15);
  padding: 9px 14px; border-radius: 9px; font-size: 13px; font-weight: 600; cursor: pointer; }
.doc-btn:hover { background: rgba(14,0,178,.12); }

/* Preview banner */
.preview-banner {
  position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%);
  background: var(--brand-ink); color: #fff; padding: 10px 18px; border-radius: 999px;
  font-size: 13px; z-index: 100; box-shadow: var(--shadow);
}

/* Responsive */
@media (max-width: 820px) {
  .topnav { display: none; }
  .two-col { grid-template-columns: 1fr; }
}

/* ================= Portal shell & pages ================= */
.portal-body { background: var(--bg); }
.portal-container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px 24px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.topnav a.active { color: var(--brand-2); font-weight: 700; }
.topnav-scroll { display: none; }
@media (max-width: 820px) {
  .topnav-scroll { display: flex; gap: 18px; overflow-x: auto; padding: 8px 16px 10px; border-top: 1px solid var(--line); }
  .topnav-scroll a { white-space: nowrap; font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; }
  .topnav-scroll a.active { color: var(--brand-2); }
}

.page-head { padding: 32px 0 8px; }
.page-head h1 { font-size: clamp(24px, 4vw, 34px); margin: 0 0 6px; letter-spacing: -.02em; }
.page-head p { margin: 0; color: var(--muted); font-size: 15px; }

.home-hero { position: relative; overflow: hidden; text-align: center; color: #fff; padding: 46px 22px 50px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 62%, var(--brand-ink) 100%); }

.quick-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin: 26px 0; }
.qa-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 14px;
  text-decoration: none; color: var(--ink); box-shadow: var(--shadow); font-weight: 600; font-size: 14px; transition: transform .12s, border-color .12s; }
.qa-tile:hover { transform: translateY(-2px); border-color: var(--brand-2); }
.qa-icon { font-size: 26px; }

.dash-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin-bottom: 32px; }
.dash-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.dash-card h3 { margin: 6px 0; font-size: 17px; }
.dash-card p { margin: 0 0 10px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.dash-k { font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--brand); font-weight: 700; margin-bottom: 6px; }
.dash-link { font-size: 14px; font-weight: 600; color: var(--brand-2); text-decoration: none; }
.dash-link:hover { text-decoration: underline; }
.dash-card .news-meta { margin: 4px 0 6px; }
.awareness-card { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; border: 0; }
.awareness-card .dash-k { color: rgba(255,255,255,.8); }
.awareness-quote { font-size: 19px; font-weight: 600; line-height: 1.5; color: #fff !important; margin: 0 !important; }
.mini-tools { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 12px; }
.mini-tool { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; background: var(--bg);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; text-decoration: none; color: var(--ink); }
.mini-tool:hover { border-color: var(--brand-2); }

.office-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.office-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.office-flag { font-weight: 700; color: var(--brand); margin-bottom: 6px; }
.office-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.check-item { display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow); font-size: 15px; }
.check-n { flex: none; width: 26px; height: 26px; border-radius: 50%; color: #fff; font-weight: 700; font-size: 13px;
  display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }

/* Coming soon states */
.soon-pill { display: inline-block; margin-top: 8px; font-size: 11px; font-weight: 700; letter-spacing: .04em;
  background: rgba(240,160,60,.16); color: #a75f1e; padding: 3px 9px; border-radius: 999px; align-self: flex-start; }
.tile.is-soon, .qa-tile.is-soon, .training-item.is-soon { cursor: default; opacity: .9; }
.tile.is-soon:hover, .qa-tile.is-soon:hover, .training-item.is-soon:hover { transform: none; border-color: var(--line); box-shadow: var(--shadow); }
.qa-tile.is-soon .soon-pill { margin-top: 2px; align-self: center; }
.mini-tool.is-soon { opacity: .65; cursor: default; }
.mini-tool.is-soon::after { content: "soon"; font-size: 10px; font-weight: 700; color: #a75f1e;
  background: rgba(240,160,60,.16); padding: 1px 6px; border-radius: 999px; margin-left: 4px; }

/* ================= REDESIGN v2 · sidebar + premium (navy · royal · teal) ================= */
.portal-body { background: var(--bg); }

.sidebar { position: fixed; top: 0; left: 0; bottom: 0; width: var(--sidebar-w); z-index: 60;
  background: linear-gradient(180deg, var(--navy) 0%, #0A1029 100%); color: #fff;
  display: flex; flex-direction: column; padding: 20px 16px; border-right: 1px solid rgba(255,255,255,.06); }
.side-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; padding: 6px 8px 22px; }
.side-chip { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand-2), var(--teal)); box-shadow: 0 6px 16px rgba(20,180,198,.32); }
.side-chip img { width: 23px; height: 23px; object-fit: contain; }
.side-word { font-weight: 800; font-size: 20px; color: #fff; }
.side-nav { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.side-link { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 11px;
  text-decoration: none; color: rgba(255,255,255,.72); font-size: 14.5px; font-weight: 500; transition: background .15s, color .15s; }
.side-link:hover { background: rgba(255,255,255,.07); color: #fff; }
.side-link.active { background: linear-gradient(135deg, rgba(59,42,224,.95), rgba(20,180,198,.55)); color: #fff; box-shadow: 0 6px 16px rgba(12,22,51,.45); }
.side-ic { display: grid; place-items: center; width: 20px; opacity: .95; }
.side-foot { border-top: 1px solid rgba(255,255,255,.08); padding-top: 14px; }
.side-user { font-size: 12px; color: rgba(255,255,255,.55); margin-bottom: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-logout { width: 100%; background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.12);
  padding: 9px; border-radius: 10px; font-size: 13px; cursor: pointer; }
.side-logout:hover { background: rgba(255,255,255,.16); }
.side-toggle { display: none; } .side-scrim { display: none; }
.portal-body #portal-main, .portal-body #portal-foot { margin-left: var(--sidebar-w); }
.portal-container { max-width: 1080px; }

@media (max-width: 900px) {
  .sidebar { transform: translateX(-100%); transition: transform .22s ease; box-shadow: 0 0 44px rgba(0,0,0,.35); }
  body.sidebar-open .sidebar { transform: translateX(0); }
  .side-toggle { display: grid; place-items: center; position: fixed; top: 12px; left: 12px; z-index: 70;
    width: 44px; height: 44px; border-radius: 12px; background: var(--navy); color: #fff; border: 0; cursor: pointer; box-shadow: var(--shadow); }
  body.sidebar-open .side-scrim { display: block; position: fixed; inset: 0; background: rgba(8,12,30,.5); z-index: 55; }
  .portal-body #portal-main, .portal-body #portal-foot { margin-left: 0; }
  .portal-body #portal-main { padding-top: 62px; }
}

/* premium surfaces */
.hero, .home-hero { background: linear-gradient(120deg, var(--navy) 0%, var(--brand) 58%, var(--teal) 135%); }
.hero-glow { background: radial-gradient(680px 280px at 50% -25%, rgba(111,224,236,.30), transparent 70%); }
.hero-badge { border-radius: 20px; }
.page-head h1 { color: var(--navy); }
.dash-card { padding: 24px; }
.dash-k { color: var(--teal); }
.awareness-card { background: linear-gradient(135deg, var(--navy), var(--brand) 92%); border: 0; }
.awareness-card .dash-k { color: var(--teal-2); }
.tile:hover, .training-item:hover, .qa-tile:hover, .team-card:hover { border-color: var(--teal); box-shadow: 0 12px 28px rgba(20,180,198,.14); }
.news-tag { background: rgba(20,180,198,.14); color: #0b7c88; }
.news-item { border-left-color: var(--teal); }
.founder-card { background: linear-gradient(135deg, rgba(14,0,178,.045), rgba(20,180,198,.08)); border-left-color: var(--teal); }
.site-footer { background: var(--navy); }
.auth-screen { background: radial-gradient(1200px 620px at 72% -12%, var(--teal), var(--brand) 46%, var(--navy) 100%); }
.auth-form button, .form-actions button, #login-btn, .pb-actions button {
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.auth-form button:hover, .form-actions button:hover, .pb-actions button:hover { background: linear-gradient(135deg, var(--brand-ink), var(--brand)); }
.office-flag, .stat-num { color: var(--brand); }

/* New Hire — interactive checklist */
.onb-progress { display: flex; align-items: center; gap: 14px; margin: 6px 0 22px; }
.onb-bar { flex: 1; height: 9px; background: #e6ebf5; border-radius: 999px; overflow: hidden; }
.onb-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--brand), var(--teal)); transition: width .3s ease; }
.onb-progress span { font-size: 13px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.check-item { align-items: flex-start; gap: 16px; }
.check-toggle { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line);
  background: #fff; cursor: pointer; position: relative; margin-top: 1px; transition: border-color .15s, background .15s; padding: 0; }
.check-toggle:hover { border-color: var(--teal); }
.check-item.done .check-toggle { background: linear-gradient(135deg, var(--brand), var(--teal)); border-color: transparent; }
.check-item.done .check-toggle::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 14px; font-weight: 800; }
.check-body { flex: 1; }
.check-title { font-weight: 650; font-size: 15px; color: var(--ink); }
.check-item.done .check-title { text-decoration: line-through; color: var(--muted); }
.check-desc { font-size: 13.5px; color: var(--muted); margin-top: 2px; line-height: 1.5; }

/* New Hire — expandable step panels + inline form + photo upload */
.check-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.check-head.has-panel { cursor: pointer; }
.check-caret { color: var(--muted); transition: transform .2s; margin-top: 2px; font-size: 13px; }
.check-item.expanded .check-caret { transform: rotate(180deg); }
.check-panel { display: none; margin-top: 16px; }
.check-item.expanded .check-panel { display: block; }
.onb-form { border-top: 1px solid var(--line); padding-top: 16px; }
.onb-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.onb-form label.full { margin-top: 16px; }
.onb-form input, .onb-form select, .onb-form textarea { padding: 11px 12px; border: 1px solid var(--line);
  border-radius: 9px; font-size: 14px; font-weight: 400; font-family: var(--font); background: #fff; }
.onb-form input:focus, .onb-form select:focus, .onb-form textarea:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(59,42,224,.14); }
.onb-success { margin-top: 14px; font-size: 14px; color: var(--ink); background: rgba(20,180,198,.09);
  border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.onb-success a { color: var(--brand-2); font-weight: 600; }
.photo-up { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.photo-up input[type="file"] { padding: 10px; border: 1px dashed var(--teal); border-radius: 10px; background: #f7fdff; cursor: pointer; }
.photo-up button { padding: 11px 16px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff;
  border: 0; border-radius: 10px; font-weight: 600; font-size: 14px; cursor: pointer; }
.photo-thumb { width: 100%; }
.photo-thumb img { width: 96px; height: 96px; object-fit: cover; border-radius: 12px; border: 2px solid var(--line); margin-top: 6px; }

/* Welcome-banner full lockup + locked step toggle */
.hero-lockup { width: 100%; max-width: 430px; height: auto; margin: 0 auto 16px; display: block; }
.check-item:not(.done) .check-toggle.locked { cursor: not-allowed; opacity: .5; }
.check-item.done .check-toggle.locked { cursor: default; }

/* Home welcome banner — light + clean lockup */
.home-hero { background: linear-gradient(180deg, #ffffff 0%, #E9F0FB 100%); color: var(--ink);
  position: relative; overflow: hidden; text-align: center; padding: 44px 22px 48px; }
.home-hero::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--teal)); }
.home-hero .hero-glow { background: radial-gradient(620px 240px at 50% -30%, rgba(20,180,198,.14), transparent 70%); }
.hero-lockup { width: 100%; max-width: 360px; height: auto; margin: 0 auto 14px; display: block; }
.hero-home-tagline { color: var(--navy); font-weight: 700; font-size: 16px; margin: 6px 0 0; letter-spacing: -.01em; }
.home-hero .hero-greeting { color: var(--muted); opacity: 1; }
.onb-form input[readonly] { background: #eef2f8; color: var(--muted); cursor: not-allowed; }

/* ================= Trainings (Level Up) ================= */
.tr-list { display: grid; gap: 12px; }
.tr-card { display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); transition: border-color .12s, box-shadow .12s; }
.tr-card:hover { border-color: var(--teal); box-shadow: 0 12px 28px rgba(20,180,198,.14); }
.tr-title { font-weight: 650; font-size: 15px; }
.tr-meta { font-size: 13px; color: var(--muted); margin-top: 3px; }
.tr-right { display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.tr-status { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.tr-status.todo { background: #eef1f7; color: var(--muted); }
.tr-status.done { background: rgba(28,124,74,.12); color: #1c7c4a; }
.tr-go { font-size: 14px; font-weight: 600; color: var(--brand-2); }
@media (max-width: 560px) { .tr-card { flex-direction: column; align-items: flex-start; } .tr-right { white-space: normal; } }

.tr-modal { position: fixed; inset: 0; z-index: 100; background: rgba(8,12,30,.55); display: grid; place-items: center; padding: 20px; }
.tr-modal-card { background: #fff; border-radius: 18px; width: 100%; max-width: 720px; max-height: 88vh; overflow-y: auto; box-shadow: 0 24px 60px rgba(8,12,30,.4); }
.tr-modal-head { position: sticky; top: 0; background: #fff; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 22px 26px 14px; border-bottom: 1px solid var(--line); z-index: 1; }
.tr-modal-title { font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.tr-modal-sub { font-size: 13px; color: var(--muted); margin-top: 2px; }
.tr-close { background: #eef1f7; border: 0; width: 34px; height: 34px; border-radius: 9px; cursor: pointer; font-size: 15px; color: var(--muted); flex: none; }
.tr-close:hover { background: #e2e7f0; }
.tr-modal-body { padding: 20px 26px 28px; }
.tr-intro { font-size: 15px; color: var(--muted); margin: 0 0 18px; }
.tr-section { margin-bottom: 18px; }
.tr-section h3 { font-size: 16px; margin: 0 0 6px; color: var(--navy); }
.tr-section p, .tr-section li { color: var(--ink); font-size: 14.5px; line-height: 1.6; }
.tr-section ul { margin: 0 0 4px; padding-left: 20px; }
.tr-quiz { margin-top: 24px; border-top: 2px solid var(--line); padding-top: 20px; }
.tr-quiz h3 { margin: 0 0 4px; font-size: 17px; }
.tr-q { margin: 16px 0; }
.tr-q-text { font-weight: 650; font-size: 14.5px; margin-bottom: 8px; }
.tr-opt { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; cursor: pointer; font-size: 14px; }
.tr-opt:hover { border-color: var(--teal); }
.tr-opt input { width: 16px; height: 16px; flex: none; }
.tr-quiz-actions { display: flex; align-items: center; gap: 14px; margin-top: 18px; flex-wrap: wrap; }
.tr-submit { padding: 12px 20px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; border: 0; border-radius: 10px; font-weight: 600; font-size: 14px; cursor: pointer; }
.tr-result { font-size: 14px; font-weight: 600; }
.tr-result.ok { color: #1c7c4a; } .tr-result.err { color: #b3341f; }

/* ================= Full-screen training player ================= */
.tp-body { background: var(--bg); }
.tp-missing { max-width: 600px; margin: 120px auto; text-align: center; color: var(--muted); }
.tp-top { position: fixed; top: 0; left: 0; right: 0; z-index: 40; height: 60px; background: #fff;
  border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 16px; padding: 0 20px; }
.tp-exit { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; flex: none; }
.tp-exit:hover { color: var(--brand-2); }
.tp-top-title { flex: 1; text-align: center; font-weight: 700; font-size: 15px; color: var(--navy);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-top-right { flex: none; min-width: 96px; text-align: right; font-size: 13px; font-weight: 700; color: var(--teal); }
.tp-main { max-width: 720px; margin: 0 auto; padding: 88px 22px 72px; }
.tp-progress { height: 8px; background: #e6ebf5; border-radius: 999px; overflow: hidden; margin-bottom: 24px; }
.tp-progress-fill { height: 100%; background: linear-gradient(90deg, var(--brand), var(--teal)); transition: width .3s ease; }
.tp-step-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--teal); margin-bottom: 8px; }
.tp-h { font-size: clamp(22px, 3vw, 28px); margin: 0 0 16px; letter-spacing: -.01em; color: var(--navy); }
.tp-content { font-size: 16px; line-height: 1.7; color: var(--ink); }
.tp-content p { margin: 0 0 14px; }
.tp-content ul { margin: 0 0 14px; padding-left: 22px; }
.tp-content li { margin-bottom: 8px; }
.tp-content strong { color: var(--navy); }

.tp-cover { text-align: center; padding-top: 12px; }
.tp-badge { width: 84px; height: 84px; margin: 0 auto 20px; border-radius: 22px; background: #fff;
  border: 1px solid var(--line); display: grid; place-items: center; box-shadow: var(--shadow); }
.tp-badge img { width: 50px; height: 50px; object-fit: contain; }
.tp-chip { display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: var(--brand); background: rgba(14,0,178,.07); padding: 5px 12px; border-radius: 999px; }
.tp-cover h1 { font-size: clamp(26px, 4vw, 36px); margin: 16px 0 12px; letter-spacing: -.02em; color: var(--navy); }
.tp-cover-intro { font-size: 17px; color: var(--muted); max-width: 560px; margin: 0 auto 16px; line-height: 1.6; }
.tp-cover-meta { font-size: 14px; color: var(--muted); margin-bottom: 28px; }

.tp-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.tp-btn { display: inline-flex; align-items: center; justify-content: center; padding: 13px 22px; border: 0; cursor: pointer;
  border-radius: 12px; font-size: 15px; font-weight: 600; text-decoration: none;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; transition: filter .15s, background .15s; }
.tp-btn:hover { filter: brightness(1.06); }
.tp-btn:disabled { opacity: .45; cursor: default; }
.tp-btn.ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.tp-btn.ghost:hover { border-color: var(--brand-2); color: var(--brand-2); filter: none; }

.tp-q { font-size: clamp(19px, 2.6vw, 23px); margin: 0 0 20px; color: var(--navy); line-height: 1.4; }
.tp-options { display: grid; gap: 12px; }
.tp-option { display: flex; align-items: center; gap: 14px; text-align: left; width: 100%; cursor: pointer;
  background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 16px 18px; font-size: 15.5px; color: var(--ink); transition: border-color .12s, background .12s; }
.tp-option:hover { border-color: var(--teal); }
.tp-radio { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); position: relative; }
.tp-option.selected { border-color: var(--brand); background: rgba(14,0,178,.03); }
.tp-option.selected .tp-radio { border-color: var(--brand); }
.tp-option.selected .tp-radio::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--teal)); }

.tp-result { text-align: center; border-radius: 18px; padding: 32px 24px; margin-bottom: 26px; color: #fff; }
.tp-result.pass { background: linear-gradient(135deg, #128a5a, #14b4c6); }
.tp-result.fail { background: linear-gradient(135deg, var(--navy), var(--brand)); }
.tp-score { font-size: 52px; font-weight: 800; letter-spacing: -.02em; }
.tp-result-title { font-size: 20px; font-weight: 700; margin-top: 4px; }
.tp-result-sub { font-size: 14px; opacity: .9; margin-top: 6px; }
.tp-review-head { font-size: 16px; margin: 0 0 12px; color: var(--navy); }
.tp-reviews { display: grid; gap: 10px; }
.tp-review { background: #fff; border: 1px solid var(--line); border-left: 4px solid; border-radius: 12px; padding: 14px 16px; }
.tp-review.ok { border-left-color: #1c7c4a; }
.tp-review.no { border-left-color: #b3341f; }
.tp-review-q { font-weight: 650; font-size: 14.5px; margin-bottom: 4px; }
.tp-review-a { font-size: 14px; color: var(--muted); }
.tp-review-c { font-size: 14px; color: #1c7c4a; font-weight: 600; margin-top: 2px; }

.tr-status.prog { background: rgba(240,160,60,.16); color: #a2681f; }
.tp-completed { color: #128a5a !important; font-weight: 600; }

/* ================= Time Off (leave) ================= */
.lv-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-bottom: 6px; }
.lv-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.lv-k { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--teal); margin-bottom: 6px; }
.lv-num { font-size: 40px; font-weight: 800; letter-spacing: -.02em; color: var(--brand); line-height: 1; }
.lv-of { font-size: 20px; font-weight: 600; color: var(--muted); }
.lv-sub { font-size: 13px; color: var(--muted); margin-top: 6px; }
.lv-flash { margin-top: 12px; font-size: 13px; font-weight: 600; color: #a2681f; background: rgba(240,160,60,.14); padding: 8px 12px; border-radius: 10px; }
.lv-note { margin-top: 12px; font-size: 12.5px; color: var(--muted); line-height: 1.55; }
.lv-check { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 14px; font-weight: 500; color: var(--ink); }
.lv-check input { width: 16px; height: 16px; }
.lv-check input:disabled { opacity: .5; }
.lv-count { font-size: 14px; font-weight: 700; color: var(--brand-2); margin-right: auto; }
.lv-history { display: grid; gap: 10px; }
.lv-row { display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; box-shadow: var(--shadow); }
.lv-row-main { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.lv-chip { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em; }
.lv-chip.mindful { background: rgba(14,0,178,.09); color: var(--brand); }
.lv-chip.spiritual { background: rgba(20,180,198,.14); color: #0b7c88; }
.lv-dates { font-size: 14px; font-weight: 600; color: var(--ink); }
.lv-days { font-size: 13px; color: var(--muted); }
.lv-reason { font-size: 13px; color: var(--muted); font-style: italic; }
.lv-cancel { background: transparent; border: 1px solid var(--line); color: var(--muted); font-size: 12px; padding: 6px 12px; border-radius: 8px; cursor: pointer; flex: none; }
.lv-cancel:hover { border-color: #b3341f; color: #b3341f; }

/* Training video embed + Home mindfulness card */
.tp-video { position: relative; width: 100%; padding-bottom: 56.25%; height: 0; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.tp-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Start-video gate: play button + hint shown until the viewer presses play */
.tp-videobox { margin: 8px 0 4px; }
.tp-vstart { display: inline-flex; align-items: center; justify-content: center; padding: 15px 30px; border: 0; border-radius: 12px; font: inherit; font-size: 16px; font-weight: 700; color: #fff; cursor: pointer; background: linear-gradient(135deg, var(--brand), var(--teal)); box-shadow: var(--shadow); transition: transform .12s ease, box-shadow .12s ease; }
.tp-vstart:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(14,0,178,.24); }
.tp-vhint { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.mind-card { background: linear-gradient(135deg, rgba(20,180,198,.12), rgba(14,0,178,.06)); border-color: rgba(20,180,198,.25); }
.mind-card .dash-k { color: #0b7c88; }

/* Practice-page app download link (button-style) */
.tp-applink { display: inline-flex; align-items: center; gap: 8px; margin: 6px 0; padding: 13px 22px; border-radius: 12px; font-weight: 700; text-decoration: none; color: #fff; background: linear-gradient(135deg, var(--brand), var(--teal)); box-shadow: var(--shadow); transition: transform .12s ease, box-shadow .12s ease; }
.tp-applink:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(14,0,178,.24); }

/* Private reflection textarea on the commitment lesson */
.tp-reflect { width: 100%; min-height: 96px; margin: 10px 0 4px; padding: 14px 16px; border: 1.5px solid var(--line, #d9dce6); border-radius: 12px; font: inherit; font-size: 15px; line-height: 1.55; color: var(--navy); background: #fafbff; resize: vertical; box-sizing: border-box; transition: border-color .12s ease, box-shadow .12s ease; }
.tp-reflect:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(20,180,198,.16); }
.tp-reflect::placeholder { color: #9aa0b4; }
