/* ==========================================================================
   TéléORL Guinée — Design System (prototype)
   Bootstrap 5.3 override layer + custom components
   Palette : bleu médical profond + teal ORL + fonds clairs
   ========================================================================== */

:root {
  /* Brand */
  --orl-navy:        #0f2e46;
  --orl-navy-700:    #143a58;
  --orl-navy-600:    #1d4c72;
  --orl-primary:     #0d9488;   /* teal médical */
  --orl-primary-600: #0b7f75;
  --orl-primary-700: #096a62;
  --orl-primary-050: #e6f5f3;
  --orl-accent:      #2563eb;   /* bleu lien / actions secondaires */
  --orl-gold:        #d99a2b;

  /* Neutres */
  --orl-ink:         #16232e;
  --orl-body:        #46586a;
  --orl-muted:       #7d8ea0;
  --orl-line:        #e6ebf0;
  --orl-line-soft:   #eef2f6;
  --orl-bg:          #f4f7f9;
  --orl-surface:     #ffffff;
  --orl-surface-2:   #fafbfc;

  /* Feedback */
  --orl-success:     #17936a;
  --orl-success-bg:  #e4f4ee;
  --orl-warning:     #c9820f;
  --orl-warning-bg:  #fbf0dc;
  --orl-danger:      #d6483b;
  --orl-danger-bg:   #fbe9e7;
  --orl-info:        #2563eb;
  --orl-info-bg:     #e7effe;

  /* Layout */
  --orl-sidebar-w:   264px;
  --orl-topbar-h:    64px;
  --orl-radius:      14px;
  --orl-radius-sm:   10px;
  --orl-shadow-sm:   0 1px 2px rgba(16,35,46,.06), 0 1px 3px rgba(16,35,46,.04);
  --orl-shadow:      0 4px 16px rgba(16,35,46,.07), 0 1px 4px rgba(16,35,46,.04);
  --orl-shadow-lg:   0 18px 48px rgba(16,35,46,.16);

  /* Bootstrap remaps */
  --bs-primary:      #0d9488;
  --bs-primary-rgb:  13,148,136;
  --bs-body-color:   #46586a;
  --bs-body-bg:      #f4f7f9;
  --bs-border-color: #e6ebf0;
  --bs-link-color:   #0b7f75;
  --bs-link-hover-color: #096a62;
  --bs-font-sans-serif: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  font-family: var(--bs-font-sans-serif);
  background: var(--orl-bg);
  color: var(--orl-body);
  font-size: 14.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,h2,h3,h4,h5,h6 { color: var(--orl-ink); font-weight: 650; letter-spacing: -.01em; }
a { text-decoration: none; }
hr { border-color: var(--orl-line); opacity: 1; }
.text-muted { color: var(--orl-muted) !important; }
.small, small { font-size: 12.75px; }
.fw-medium { font-weight: 550 !important; }
.display-6 { font-weight: 700; letter-spacing: -.02em; }

/* ============================ Buttons ==================================== */
.btn { --bs-btn-font-weight: 560; border-radius: 10px; padding: .5rem .95rem; }
.btn-lg { padding: .7rem 1.3rem; border-radius: 12px; }
.btn-sm { padding: .35rem .7rem; border-radius: 8px; }
.btn-primary {
  --bs-btn-bg: var(--orl-primary); --bs-btn-border-color: var(--orl-primary);
  --bs-btn-hover-bg: var(--orl-primary-600); --bs-btn-hover-border-color: var(--orl-primary-600);
  --bs-btn-active-bg: var(--orl-primary-700); --bs-btn-active-border-color: var(--orl-primary-700);
  --bs-btn-disabled-bg: var(--orl-primary); --bs-btn-disabled-border-color: var(--orl-primary);
  box-shadow: 0 1px 2px rgba(13,148,136,.25);
}
.btn-outline-primary {
  --bs-btn-color: var(--orl-primary-700); --bs-btn-border-color: #b9ded9;
  --bs-btn-hover-bg: var(--orl-primary-050); --bs-btn-hover-border-color: var(--orl-primary);
  --bs-btn-hover-color: var(--orl-primary-700);
}
.btn-dark {
  --bs-btn-bg: var(--orl-navy); --bs-btn-border-color: var(--orl-navy);
  --bs-btn-hover-bg: var(--orl-navy-700); --bs-btn-hover-border-color: var(--orl-navy-700);
}
.btn-light {
  --bs-btn-bg: #fff; --bs-btn-border-color: var(--orl-line);
  --bs-btn-hover-bg: var(--orl-surface-2); --bs-btn-hover-border-color: #d7dee5;
  --bs-btn-color: var(--orl-ink);
}
.btn-ghost {
  background: transparent; border: 1px solid transparent; color: var(--orl-body);
}
.btn-ghost:hover { background: var(--orl-line-soft); color: var(--orl-ink); }

/* ============================ Cards ===================================== */
.card {
  border: 1px solid var(--orl-line);
  border-radius: var(--orl-radius);
  box-shadow: var(--orl-shadow-sm);
  background: var(--orl-surface);
}
.card-header {
  background: transparent;
  border-bottom: 1px solid var(--orl-line-soft);
  padding: 1rem 1.25rem;
  font-weight: 600;
  color: var(--orl-ink);
}
.card-body { padding: 1.25rem; }
.card-footer { background: var(--orl-surface-2); border-top: 1px solid var(--orl-line-soft); }
.card-hover { transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease; }
.card-hover:hover { box-shadow: var(--orl-shadow); transform: translateY(-2px); border-color: #d7e3ea; }

/* ============================ Forms ==================================== */
.form-label { font-weight: 550; color: var(--orl-ink); margin-bottom: .35rem; font-size: 13px; }
.form-control, .form-select {
  border-radius: 10px; border-color: var(--orl-line);
  padding: .55rem .8rem; color: var(--orl-ink); background-color: #fff;
}
.form-control:focus, .form-select:focus {
  border-color: var(--orl-primary);
  box-shadow: 0 0 0 3px rgba(13,148,136,.14);
}
.form-control::placeholder { color: #9fb0bf; }
.input-group-text { background: var(--orl-surface-2); border-color: var(--orl-line); color: var(--orl-muted); border-radius: 10px; }
.form-text { color: var(--orl-muted); }
.form-check-input:checked { background-color: var(--orl-primary); border-color: var(--orl-primary); }

/* ============================ Badges ================================== */
.badge { font-weight: 600; padding: .38em .62em; border-radius: 7px; letter-spacing: .01em; }
.badge-soft { background: var(--orl-line-soft); color: var(--orl-body); }
.badge-success-soft { background: var(--orl-success-bg); color: var(--orl-success); }
.badge-warning-soft { background: var(--orl-warning-bg); color: var(--orl-warning); }
.badge-danger-soft  { background: var(--orl-danger-bg);  color: var(--orl-danger); }
.badge-info-soft    { background: var(--orl-info-bg);    color: var(--orl-info); }
.badge-primary-soft { background: var(--orl-primary-050); color: var(--orl-primary-700); }
.badge-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }

/* ============================ App shell =============================== */
.app { min-height: 100vh; }

.app-sidebar {
  position: fixed; top: 0; left: 0; bottom: 0; width: var(--orl-sidebar-w);
  background: var(--orl-navy);
  color: #b9c9d6;
  display: flex; flex-direction: column;
  z-index: 1040;
  border-right: 1px solid rgba(255,255,255,.04);
}
.app-sidebar .brand {
  display: flex; align-items: center; gap: .65rem;
  padding: 0 1.25rem; height: var(--orl-topbar-h);
  color: #fff; font-weight: 700; letter-spacing: -.01em; font-size: 15.5px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  flex-shrink: 0;
}
.app-sidebar .brand .logo {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--orl-primary), #14b8a6);
  display: grid; place-items: center; color: #fff; flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(13,148,136,.4);
}
.app-nav { padding: .85rem .75rem 2rem; overflow-y: auto; flex: 1; }
.app-nav::-webkit-scrollbar { width: 6px; }
.app-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 3px; }
.app-nav .nav-section {
  font-size: 10.5px; text-transform: uppercase; letter-spacing: .11em;
  color: #6f8598; font-weight: 700; padding: 1.1rem .85rem .4rem;
}
.app-nav .nav-link {
  display: flex; align-items: center; gap: .7rem;
  color: #aebfcd; border-radius: 9px; padding: .58rem .85rem; margin-bottom: 2px;
  font-weight: 520; font-size: 13.75px; transition: background .13s, color .13s;
}
.app-nav .nav-link i { font-size: 17px; width: 20px; text-align: center; opacity: .85; }
.app-nav .nav-link:hover { background: rgba(255,255,255,.06); color: #fff; }
.app-nav .nav-link.active {
  background: linear-gradient(90deg, rgba(13,148,136,.24), rgba(13,148,136,.08));
  color: #fff; box-shadow: inset 3px 0 0 var(--orl-primary);
}
.app-nav .nav-link .badge { margin-left: auto; }
.sidebar-foot {
  padding: .9rem 1.1rem; border-top: 1px solid rgba(255,255,255,.06);
  font-size: 12px; color: #7f93a4; flex-shrink: 0;
}

.app-body { margin-left: var(--orl-sidebar-w); display: flex; flex-direction: column; min-height: 100vh; }

.app-topbar {
  height: var(--orl-topbar-h); background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--orl-line);
  display: flex; align-items: center; gap: 1rem;
  padding: 0 1.5rem; position: sticky; top: 0; z-index: 1030;
}
.app-topbar .page-title { font-weight: 660; color: var(--orl-ink); font-size: 16px; }
.topbar-search {
  max-width: 340px; flex: 1;
}
.topbar-search .form-control { background: var(--orl-surface-2); border-color: var(--orl-line-soft); }
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: .35rem; }
.topbar-icon-btn {
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--orl-line);
  background: #fff; color: var(--orl-body); display: grid; place-items: center;
  position: relative; font-size: 17px; transition: background .13s, border-color .13s;
}
.topbar-icon-btn:hover { background: var(--orl-surface-2); color: var(--orl-ink); }
.topbar-icon-btn .dot {
  position: absolute; top: 8px; right: 9px; width: 7px; height: 7px;
  background: var(--orl-danger); border-radius: 50%; border: 2px solid #fff;
}
.topbar-user { display: flex; align-items: center; gap: .6rem; padding-left: .5rem; }

.app-content { padding: 1.75rem 1.75rem 3rem; flex: 1; }
.container-app { max-width: 1240px; }

/* ============================ Page header ============================ */
.page-head { margin-bottom: 1.5rem; }
.page-head h1 { font-size: 22px; margin: 0 0 .2rem; }
.page-head .lead-sub { color: var(--orl-muted); font-size: 13.75px; margin: 0; }
.breadcrumb { --bs-breadcrumb-divider-color: #b6c2cd; font-size: 12.5px; margin-bottom: .5rem; }
.breadcrumb-item a { color: var(--orl-muted); }
.breadcrumb-item.active { color: var(--orl-body); }

/* ============================ Avatars ============================== */
.avatar {
  border-radius: 50%; object-fit: cover; background: var(--orl-primary-050);
  color: var(--orl-primary-700); display: inline-grid; place-items: center;
  font-weight: 650; flex-shrink: 0; border: 1px solid rgba(16,35,46,.06);
}
.avatar-xs { width: 26px; height: 26px; font-size: 10.5px; }
.avatar-sm { width: 34px; height: 34px; font-size: 12.5px; }
.avatar-md { width: 44px; height: 44px; font-size: 15px; }
.avatar-lg { width: 60px; height: 60px; font-size: 20px; }
.avatar-xl { width: 88px; height: 88px; font-size: 30px; }
.avatar-ring { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--orl-primary-050); }
.avatar-stack { display: flex; }
.avatar-stack .avatar { margin-left: -10px; box-shadow: 0 0 0 2px #fff; }
.avatar-stack .avatar:first-child { margin-left: 0; }

/* ============================ Stat cards =========================== */
.stat-card { padding: 1.15rem 1.25rem; }
.stat-card .stat-icon {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  font-size: 20px; margin-bottom: .85rem;
}
.stat-card .stat-value { font-size: 26px; font-weight: 720; color: var(--orl-ink); letter-spacing: -.02em; line-height: 1.1; }
.stat-card .stat-label { color: var(--orl-muted); font-size: 12.75px; font-weight: 550; }
.stat-trend { font-size: 12px; font-weight: 620; display: inline-flex; align-items: center; gap: .2rem; }
.stat-trend.up { color: var(--orl-success); }
.stat-trend.down { color: var(--orl-danger); }
.tint-teal   { background: var(--orl-primary-050); color: var(--orl-primary-700); }
.tint-blue   { background: var(--orl-info-bg); color: var(--orl-info); }
.tint-gold   { background: var(--orl-warning-bg); color: var(--orl-warning); }
.tint-green  { background: var(--orl-success-bg); color: var(--orl-success); }
.tint-red    { background: var(--orl-danger-bg); color: var(--orl-danger); }
.tint-navy   { background: #e8eef3; color: var(--orl-navy); }

/* ============================ Tables ============================== */
.table { --bs-table-color: var(--orl-body); margin: 0; }
.table thead th {
  font-size: 11px; text-transform: uppercase; letter-spacing: .06em;
  color: var(--orl-muted); font-weight: 700; border-bottom: 1px solid var(--orl-line);
  padding: .7rem 1rem; background: var(--orl-surface-2); white-space: nowrap;
}
.table tbody td { padding: .85rem 1rem; border-bottom: 1px solid var(--orl-line-soft); vertical-align: middle; }
.table tbody tr:last-child td { border-bottom: 0; }
.table-hover tbody tr:hover { background: var(--orl-surface-2); }
.table-card { overflow: hidden; }
.table-card .table thead th:first-child,
.table-card .table tbody td:first-child { padding-left: 1.25rem; }
.table-card .table thead th:last-child,
.table-card .table tbody td:last-child { padding-right: 1.25rem; }

/* ============================ Timeline =========================== */
.timeline { position: relative; padding-left: 1.5rem; }
.timeline::before { content:""; position:absolute; left: 6px; top: 4px; bottom: 4px; width: 2px; background: var(--orl-line); }
.timeline-item { position: relative; padding-bottom: 1.3rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content:""; position:absolute; left: -1.5rem; top: 3px; width: 14px; height: 14px;
  border-radius: 50%; background: #fff; border: 3px solid var(--orl-primary);
}
.timeline-item.is-muted::before { border-color: #c4cfd8; }
.timeline-item .t-time { font-size: 11.5px; color: var(--orl-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.timeline-item .t-title { font-weight: 600; color: var(--orl-ink); margin: .1rem 0; }

/* ============================ Consultation room ================= */
.consult-shell { display: grid; grid-template-columns: 1fr 380px; gap: 1.25rem; }
.video-stage {
  background: #0c1b26; border-radius: var(--orl-radius); overflow: hidden;
  position: relative; aspect-ratio: 16/10; min-height: 420px;
  display: grid; place-items: center; color: #7d94a4;
}
.video-stage .remote-name {
  position: absolute; left: 16px; top: 14px; background: rgba(0,0,0,.42);
  color: #fff; padding: .3rem .7rem; border-radius: 8px; font-size: 12.5px; font-weight: 600;
  display: flex; align-items: center; gap: .4rem;
}
.video-stage .self-view {
  position: absolute; right: 16px; bottom: 16px; width: 168px; aspect-ratio: 4/3;
  background: #17303f; border-radius: 10px; border: 1px solid rgba(255,255,255,.12);
  display: grid; place-items: center; color: #5c7482; font-size: 12px;
}
.video-stage .net-badge {
  position: absolute; right: 16px; top: 14px; background: rgba(0,0,0,.42);
  color: #cbe8e2; padding: .28rem .6rem; border-radius: 8px; font-size: 11.5px; font-weight: 600;
}
.video-controls {
  display: flex; justify-content: center; gap: .6rem; margin-top: 1rem;
}
.vc-btn {
  width: 52px; height: 52px; border-radius: 14px; border: 1px solid var(--orl-line);
  background: #fff; color: var(--orl-ink); display: grid; place-items: center; font-size: 20px;
  transition: transform .1s, background .13s;
}
.vc-btn:hover { background: var(--orl-surface-2); }
.vc-btn.is-off { background: var(--orl-danger-bg); color: var(--orl-danger); border-color: #f1c8c3; }
.vc-btn.end { background: var(--orl-danger); color: #fff; border-color: var(--orl-danger); width: 62px; }
.consult-side .card { height: 100%; }
.chat-log { height: 300px; overflow-y: auto; padding-right: .3rem; }
.chat-msg { margin-bottom: .8rem; max-width: 82%; }
.chat-msg .bubble { padding: .55rem .8rem; border-radius: 12px; font-size: 13px; }
.chat-msg.them .bubble { background: var(--orl-line-soft); color: var(--orl-ink); border-bottom-left-radius: 4px; }
.chat-msg.me { margin-left: auto; }
.chat-msg.me .bubble { background: var(--orl-primary); color: #fff; border-bottom-right-radius: 4px; }
.chat-msg .meta { font-size: 10.5px; color: var(--orl-muted); margin-top: .2rem; }

/* ============================ Misc ============================= */
.icon-tile {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 21px;
}
.list-tight > li { margin-bottom: .4rem; }
.divider-label { display: flex; align-items: center; gap: .8rem; color: var(--orl-muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin: .3rem 0; }
.divider-label::before, .divider-label::after { content:""; height: 1px; background: var(--orl-line); flex: 1; }
.kpi-mini { display: flex; align-items: baseline; gap: .4rem; }
.kpi-mini b { font-size: 18px; color: var(--orl-ink); font-weight: 700; }
.progress { background: var(--orl-line-soft); border-radius: 20px; height: 8px; }
.progress-bar { background: var(--orl-primary); border-radius: 20px; }
.dropdown-menu { border-color: var(--orl-line); border-radius: 12px; box-shadow: var(--orl-shadow-lg); padding: .4rem; font-size: 13.5px; }
.dropdown-item { border-radius: 8px; padding: .5rem .7rem; }
.dropdown-item:hover { background: var(--orl-line-soft); }
.dropdown-item.text-danger:hover { background: var(--orl-danger-bg); }
.nav-pills .nav-link { color: var(--orl-body); border-radius: 9px; font-weight: 550; font-size: 13.5px; padding: .45rem .85rem; }
.nav-pills .nav-link.active { background: var(--orl-primary); color: #fff; }
.nav-tabs { border-bottom: 1px solid var(--orl-line); gap: .2rem; }
.nav-tabs .nav-link { border: 0; color: var(--orl-muted); font-weight: 560; padding: .6rem .9rem; border-bottom: 2px solid transparent; }
.nav-tabs .nav-link:hover { color: var(--orl-ink); border-bottom-color: var(--orl-line); }
.nav-tabs .nav-link.active { color: var(--orl-primary-700); background: transparent; border-bottom-color: var(--orl-primary); }
.alert { border-radius: 12px; border: 1px solid transparent; font-size: 13.5px; }
.alert-info { background: var(--orl-info-bg); border-color: #cfe0fd; color: #1c50b0; }
.alert-warning { background: var(--orl-warning-bg); border-color: #f0dcae; color: #96610a; }
.alert-success { background: var(--orl-success-bg); border-color: #bfe4d5; color: #0f7350; }
.offline-strip {
  background: var(--orl-warning-bg); color: #96610a; font-size: 12.5px; font-weight: 600;
  text-align: center; padding: .3rem; border-bottom: 1px solid #f0dcae;
  position: sticky; top: 0; z-index: 1050;
}
body.is-offline .offline-strip { display: block !important; }
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--orl-muted); }
.empty-state i { font-size: 40px; color: #c4cfd8; }

.step-list { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.step-list li { position: relative; padding-left: 2.4rem; padding-bottom: 1.1rem; }
.step-list li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: -2px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--orl-primary-050); color: var(--orl-primary-700); font-weight: 700;
  display: grid; place-items: center; font-size: 13px;
}
.step-list li:not(:last-child)::after {
  content:""; position: absolute; left: 13px; top: 30px; bottom: 4px; width: 2px; background: var(--orl-line);
}

/* ============================ Auth / public ==================== */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-aside {
  background: linear-gradient(160deg, var(--orl-navy) 0%, #0c3f4d 60%, var(--orl-primary-700) 130%);
  color: #dbe8ee; padding: 3.5rem; display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
}
.auth-aside::after {
  content:""; position: absolute; right: -120px; bottom: -120px; width: 380px; height: 380px;
  border-radius: 50%; background: radial-gradient(circle, rgba(20,184,166,.35), transparent 70%);
}
.auth-aside h2 { color: #fff; font-size: 26px; line-height: 1.3; }
.auth-main { display: grid; place-items: center; padding: 2rem; }
.auth-card { width: 100%; max-width: 410px; }
.auth-feature { display: flex; gap: .8rem; margin-bottom: 1.1rem; align-items: flex-start; }
.auth-feature i { color: #5eead4; font-size: 18px; margin-top: 2px; }
.otp-input { width: 54px; height: 60px; text-align: center; font-size: 22px; font-weight: 700; }

.public-nav { background: rgba(255,255,255,.9); backdrop-filter: blur(8px); border-bottom: 1px solid var(--orl-line); }
.hero {
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(13,148,136,.14), transparent 60%),
    radial-gradient(700px 400px at 5% 10%, rgba(37,99,235,.08), transparent 55%),
    var(--orl-bg);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .45rem; background: #fff; border: 1px solid var(--orl-line);
  color: var(--orl-primary-700); font-weight: 600; font-size: 12.5px; padding: .35rem .8rem; border-radius: 20px;
  box-shadow: var(--orl-shadow-sm);
}
.hero h1 { font-size: 44px; line-height: 1.12; letter-spacing: -.025em; }
.feature-icon {
  width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; font-size: 22px;
  background: var(--orl-primary-050); color: var(--orl-primary-700); margin-bottom: 1rem;
}
.pillar-card { border-radius: var(--orl-radius); border: 1px solid var(--orl-line); background:#fff; padding: 1.4rem; height: 100%; }
.mock-window { border-radius: 16px; border: 1px solid var(--orl-line); background: #fff; box-shadow: var(--orl-shadow-lg); overflow: hidden; }
.mock-window .bar { height: 38px; background: var(--orl-surface-2); border-bottom: 1px solid var(--orl-line); display: flex; align-items: center; gap: 6px; padding: 0 14px; }
.mock-window .bar span { width: 10px; height: 10px; border-radius: 50%; background: #d7dee5; }
.footer-dark { background: var(--orl-navy); color: #90a4b3; }
.footer-dark a { color: #b9c9d6; }
.footer-dark a:hover { color: #fff; }

/* ============================ Utilities ======================= */
.text-primary { color: var(--orl-primary-700) !important; }
.bg-tint { background: var(--orl-surface-2); }
.border-soft { border-color: var(--orl-line-soft) !important; }
.rounded-xl { border-radius: var(--orl-radius) !important; }
.shadow-soft { box-shadow: var(--orl-shadow) !important; }
.cursor-pointer { cursor: pointer; }
.fs-13 { font-size: 13px !important; }
.fs-12 { font-size: 12px !important; }
.gap-2\.5 { gap: .75rem; }
.min-w-0 { min-width: 0; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ============================ Responsive ===================== */
@media (max-width: 1100px) {
  .consult-shell { grid-template-columns: 1fr; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
}
@media (max-width: 992px) {
  .app-sidebar { transform: translateX(-100%); transition: transform .25s ease; box-shadow: var(--orl-shadow-lg); }
  .app-sidebar.open { transform: translateX(0); }
  .app-body { margin-left: 0; }
  .sidebar-backdrop { position: fixed; inset: 0; background: rgba(15,46,70,.4); z-index: 1035; }
  .topbar-search { display: none !important; }
  .app-content { padding: 1.25rem 1rem 3rem; }
  .hero h1 { font-size: 34px; }
}
@media (max-width: 576px) {
  .stat-card .stat-value { font-size: 22px; }
  .app-topbar { padding: 0 1rem; }
}

@media print {
  .app-sidebar, .app-topbar, .no-print { display: none !important; }
  .app-body { margin-left: 0; }
  .app-content { padding: 0; }
  .card { box-shadow: none; border-color: #d7dee5; }
}
