:root{--navy:#4a0d20;--blue:#8f1738;--teal:#a92a4d;--bg:#f8f5f6;--text:#2d1720;--muted:#78656c;--border:#eadfe3;--shadow:0 12px 32px rgba(91,18,45,.10);--radius:16px}
*{box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text);background:var(--bg);letter-spacing:-.01em}.c-main{padding-top:2rem}.container-fluid{padding-left:2rem;padding-right:2rem}.c-sidebar{background:linear-gradient(180deg,#14213d,#172554);box-shadow:8px 0 28px rgba(23,37,84,.08)}.c-sidebar-brand{background:rgba(255,255,255,.03);height:74px}.app-brand{display:flex!important;align-items:center;justify-content:flex-start!important;padding:0 22px;gap:12px}.app-brand-icon,.brand-mark{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:12px;background:linear-gradient(135deg,#25b6a5,#2563eb);color:#fff;font-size:20px;box-shadow:0 8px 20px rgba(37,99,235,.24)}.app-brand-copy{display:flex;flex-direction:column;line-height:1.15}.app-brand-copy strong{font-size:16px;color:#fff}.app-brand-copy small{font-size:11px;color:#aebbd1;margin-top:4px;letter-spacing:.08em;text-transform:uppercase}.c-sidebar-nav{padding:18px 12px}.c-sidebar-nav-title{font-size:10px!important;letter-spacing:.12em;text-transform:uppercase;color:#8290a8!important;padding:20px 12px 8px!important}.c-sidebar-nav-link{border-radius:10px;margin:2px 0;color:#cad3e2!important;min-height:44px;transition:.2s}.c-sidebar-nav-link:hover,.c-sidebar-nav-link.c-active{background:rgba(255,255,255,.1)!important;color:#fff!important;transform:translateX(2px)}.c-sidebar-nav-link.c-active{box-shadow:inset 3px 0 #2dd4bf}.c-sidebar-nav-icon{color:#91a3bd!important}.c-header{border:0;box-shadow:0 3px 18px rgba(23,37,84,.06);min-height:74px}.header-context{padding-left:14px;border-left:1px solid var(--border);line-height:1.15}.header-context span,.header-context strong{display:block}.header-context span{font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);margin-bottom:5px}.header-context strong{font-size:14px}.user-chip{display:flex;align-items:center;gap:10px;padding:5px 9px 5px 5px;border:1px solid var(--border);border-radius:14px;background:#fff}.user-avatar{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:10px;background:#e8efff;color:#1d4ed8;font-weight:800}.user-meta{flex-direction:column;line-height:1.2;text-align:left}.user-meta strong{font-size:13px}.user-meta small{font-size:11px;color:var(--muted)}.c-subheader{background:#fff!important;border-top:1px solid #f2f4f8!important;min-height:38px}.breadcrumb{font-size:12px;background:transparent}.dropdown-menu{border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow);overflow:hidden}.c-footer{border:0;background:transparent;color:var(--muted)}
.eyebrow{display:block;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#7990aa;margin-bottom:8px}.dashboard-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:30px 34px;border-radius:20px;background:linear-gradient(120deg,#172554,#1f4773 70%,#0f766e 140%);color:#fff;box-shadow:0 18px 40px rgba(23,37,84,.17);margin-bottom:32px;overflow:hidden;position:relative}.dashboard-hero:after{content:"";position:absolute;width:260px;height:260px;border-radius:50%;right:-100px;top:-130px;border:44px solid rgba(255,255,255,.05)}.dashboard-hero h1{font-size:27px;margin:0 0 8px;font-weight:750}.dashboard-hero p{margin:0;color:#ced9e8;max-width:610px}.dashboard-hero .eyebrow{color:#7dd3c7}.hero-total{position:relative;z-index:1;min-width:155px;padding:16px 20px;border:1px solid rgba(255,255,255,.18);border-radius:16px;background:rgba(255,255,255,.08)}.hero-total span,.hero-total small,.hero-total strong{display:block}.hero-total span,.hero-total small{font-size:11px;color:#ced9e8}.hero-total strong{font-size:30px;line-height:1.15;margin:3px 0}.section-heading,.panel-card-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.section-heading h2,.panel-card h2{font-size:18px;margin:0;font-weight:750}.updated-label{font-size:12px;color:var(--muted);padding:7px 11px;background:#fff;border:1px solid var(--border);border-radius:20px}.stat-card{height:100%;background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:20px;box-shadow:0 5px 20px rgba(23,37,84,.045);transition:.2s}.stat-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.stat-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.stat-icon{display:inline-flex;width:42px;height:42px;align-items:center;justify-content:center;border-radius:12px;font-size:20px}.stat-share{font-size:12px;font-weight:700;color:var(--muted);background:#f5f7fa;border-radius:18px;padding:5px 9px}.stat-value{display:block;font-size:29px;line-height:1.1;margin-bottom:5px}.stat-label{display:block;font-size:14px;font-weight:700;min-height:21px}.stat-progress{height:5px;background:#edf1f6;border-radius:8px;margin:18px 0 10px;overflow:hidden}.stat-progress span{display:block;height:100%;border-radius:8px}.stat-card small{font-size:11px;color:var(--muted)}.is-navy .stat-icon{background:#e9efff;color:#254da6}.is-navy .stat-progress span{background:#315bb4}.is-teal .stat-icon{background:#e3f8f4;color:#0b8c7d}.is-teal .stat-progress span{background:#13a392}.is-amber .stat-icon{background:#fff4d8;color:#b7791f}.is-amber .stat-progress span{background:#e0a12c}.is-rose .stat-icon{background:#ffeaef;color:#c2415d}.is-rose .stat-progress span{background:#d95670}.panel-card{height:100%;background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:24px;box-shadow:0 5px 20px rgba(23,37,84,.04)}.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.quick-action{display:flex;align-items:center;gap:12px;padding:15px;border:1px solid var(--border);border-radius:13px;color:var(--text);transition:.2s}.quick-action:hover{color:var(--blue);border-color:#b9caf0;background:#f8faff;text-decoration:none;transform:translateY(-1px)}.quick-icon{flex:0 0 auto;display:inline-flex;width:40px;height:40px;border-radius:10px;align-items:center;justify-content:center;background:#edf3ff;color:#2456b8;font-size:18px}.quick-action>span:nth-child(2){flex:1}.quick-action strong,.quick-action small{display:block}.quick-action strong{font-size:13px;margin-bottom:4px}.quick-action small{font-size:11px;color:var(--muted)}.help-card{background:linear-gradient(145deg,#0f766e,#155e75);color:#fff;border:0}.help-card .eyebrow{color:#99f6e4}.help-card h2{font-size:21px;margin-bottom:12px}.help-card p{font-size:13px;line-height:1.65;color:#d5f1ef}.help-icon{display:inline-flex;width:45px;height:45px;border-radius:13px;align-items:center;justify-content:center;background:rgba(255,255,255,.14);font-size:21px;margin-bottom:24px}.help-card .btn{border:0;color:#0f766e;font-weight:700}.empty-state{text-align:center;background:#fff;border:1px dashed #c9d3e2;border-radius:var(--radius);padding:45px}
.card{border:1px solid var(--border);border-radius:var(--radius);box-shadow:0 5px 20px rgba(23,37,84,.04);overflow:hidden}.card-header{background:#fff;border-bottom:1px solid var(--border);font-weight:750;padding:18px 20px}.card-body{padding:20px}.table{color:var(--text)}.table thead th{border-top:0;border-bottom:1px solid var(--border);background:#f7f9fc;color:#667085;font-size:11px;letter-spacing:.04em;text-transform:uppercase;padding:12px}.table td{vertical-align:middle;border-color:#edf0f4;padding:12px}.table-striped tbody tr:nth-of-type(odd){background:#fafbfc}.btn{border-radius:9px;font-weight:650}.btn-primary{background:#2563eb;border-color:#2563eb}.btn-success{background:#0f9f8f;border-color:#0f9f8f}.form-control{border-color:#d8dfe8;border-radius:9px;min-height:42px}.form-control:focus{border-color:#7da2ee;box-shadow:0 0 0 3px rgba(37,99,235,.12)}
.auth-page{min-height:100vh;background:radial-gradient(circle at 0 0,rgba(37,99,235,.12),transparent 34%),radial-gradient(circle at 100% 100%,rgba(15,159,143,.12),transparent 34%),#f4f7fb}.auth-container{padding-top:40px;padding-bottom:40px}.auth-shell{display:grid;grid-template-columns:43% 57%;min-height:580px;background:#fff;border:1px solid var(--border);border-radius:24px;overflow:hidden;box-shadow:0 30px 80px rgba(23,37,84,.13)}.auth-visual{position:relative;align-items:flex-end;padding:48px;background:linear-gradient(145deg,#172554,#1e4b76 70%,#0f766e);color:#fff;overflow:hidden}.auth-visual:before,.auth-visual:after{content:"";position:absolute;border-radius:50%;border:50px solid rgba(255,255,255,.04)}.auth-visual:before{width:320px;height:320px;top:-150px;right:-150px}.auth-visual:after{width:220px;height:220px;bottom:-100px;left:-110px}.auth-visual-content{position:relative;z-index:1}.auth-visual .brand-mark{margin-bottom:110px;background:rgba(255,255,255,.13);box-shadow:none}.auth-visual .eyebrow{color:#82e6d8}.auth-visual h2{font-size:34px;margin:0 0 14px}.auth-visual p{color:#d1dfeb;line-height:1.65;margin-bottom:28px}.auth-feature{display:flex;align-items:center;gap:10px;font-size:13px;color:#e6edf5;margin-top:12px}.auth-feature i{color:#5eead4}.auth-form-panel{display:flex;align-items:center;padding:55px 13%}.auth-form-inner{width:100%;max-width:390px;margin:auto}.auth-form-inner h1{font-size:29px;font-weight:760;margin:0 0 9px}.auth-form-inner label{display:block;font-size:12px;font-weight:700;margin-bottom:7px;color:#39445a}.input-with-icon{position:relative}.input-with-icon>i{position:absolute;left:14px;top:50%;transform:translateY(-50%);z-index:2;color:#8895a7}.input-with-icon .form-control{height:48px;padding-left:43px}.auth-link{font-size:12px;font-weight:650}.auth-form-inner .btn-lg{height:49px;font-size:14px}.auth-note{text-align:center;font-size:11px;color:#8b96a7;margin:20px 0 0}.mobile-brand{align-items:center;gap:10px;font-size:16px;font-weight:800;margin-bottom:35px}.mobile-brand .brand-mark{width:36px;height:36px;font-size:17px}
@media(max-width:991.98px){.container-fluid{padding-left:1.25rem;padding-right:1.25rem}.dashboard-hero{padding:26px}.quick-grid{grid-template-columns:1fr}.auth-shell{grid-template-columns:40% 60%}.auth-visual{padding:32px}.auth-form-panel{padding:42px 10%}}
@media(max-width:767.98px){.c-main{padding-top:1.25rem}.dashboard-hero{align-items:flex-start;flex-direction:column}.dashboard-hero h1{font-size:23px}.hero-total{width:100%}.section-heading{align-items:flex-end}.updated-label{font-size:0}.updated-label i{font-size:13px}.auth-container{padding:20px 15px}.auth-shell{display:block;min-height:0;border-radius:18px}.auth-form-panel{padding:42px 28px}.mobile-brand{display:flex!important}.auth-form-inner h1{font-size:25px}.table-responsive-sm{display:block;width:100%;overflow-x:auto}.card-body{padding:16px}}

/* Persistent icon rail for tablet and compact desktop widths. */
@media (min-width: 576px) and (max-width: 991.98px) {
  .c-sidebar.c-sidebar-fixed {
    width: 72px;
    margin-left: 0 !important;
    overflow: visible;
    box-shadow: 6px 0 20px rgba(23, 37, 84, .09);
  }

  .c-sidebar.c-sidebar-fixed ~ .c-wrapper {
    margin-left: 72px;
  }

  .c-sidebar .app-brand {
    width: 72px;
    min-width: 72px;
    padding: 0;
    gap: 0;
    justify-content: center !important;
  }

  .c-sidebar .app-brand-copy,
  .c-sidebar .c-sidebar-nav-title {
    display: none;
  }

  .c-sidebar .app-brand-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    margin: 0;
  }

  .c-sidebar .c-sidebar-nav {
    width: 72px;
    padding: 12px 10px;
    overflow: visible !important;
  }

  .c-sidebar .c-sidebar-nav-item,
  .c-sidebar .c-sidebar-nav-dropdown {
    width: 52px;
  }

  .c-sidebar .c-sidebar-nav-link,
  .c-sidebar .c-sidebar-nav-dropdown-toggle {
    width: 52px;
    min-height: 48px;
    margin: 3px 0;
    padding: 0;
    overflow: hidden;
    justify-content: flex-start;
    color: transparent !important;
    font-size: 0;
    border-radius: 12px;
    transform: none;
  }

  .c-sidebar .c-sidebar-nav-link:hover,
  .c-sidebar .c-sidebar-nav-dropdown-toggle:hover,
  .c-sidebar .c-sidebar-nav-link.c-active {
    width: 52px;
    color: transparent !important;
    background: rgba(255, 255, 255, .12) !important;
    box-shadow: inset 3px 0 #2dd4bf;
  }

  .c-sidebar .c-sidebar-nav-icon,
  html:not([dir="rtl"]) .c-sidebar .c-sidebar-nav-icon:first-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 48px;
    flex: 0 0 52px;
    margin: 0;
    color: #aebbd1 !important;
    font-size: 18px;
  }

  .c-sidebar .c-sidebar-nav-link.c-active .c-sidebar-nav-icon,
  .c-sidebar .c-sidebar-nav-link:hover .c-sidebar-nav-icon,
  .c-sidebar .c-sidebar-nav-dropdown-toggle:hover .c-sidebar-nav-icon {
    color: #fff !important;
  }

  .c-sidebar .c-sidebar-nav-dropdown-toggle::after,
  .c-sidebar .c-sidebar-nav-dropdown-items {
    display: none;
  }

  .c-sidebar:not(.c-sidebar-show) .c-sidebar-nav-item,
  .c-sidebar:not(.c-sidebar-show) .c-sidebar-nav-dropdown {
    position: relative;
  }

  .c-sidebar:not(.c-sidebar-show) .c-sidebar-nav-item > .c-sidebar-nav-link {
    overflow: visible;
  }

  /* Menu name tooltip for regular icon items. */
  .c-sidebar:not(.c-sidebar-show) .c-sidebar-nav-item > .c-sidebar-nav-link::after {
    content: attr(data-menu-label);
    position: absolute;
    z-index: 1040;
    left: 62px;
    top: 50%;
    min-width: max-content;
    max-width: 240px;
    padding: 9px 12px;
    border: 1px solid #dfe5ee;
    border-radius: 9px;
    background: #fff;
    color: #172033;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .16);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: auto;
    cursor: pointer;
    transform: translate(7px, -50%);
    transition: opacity .14s ease, transform .14s ease, visibility .14s ease;
  }

  .c-sidebar:not(.c-sidebar-show) .c-sidebar-nav-item > .c-sidebar-nav-link:hover::after,
  .c-sidebar:not(.c-sidebar-show) .c-sidebar-nav-item > .c-sidebar-nav-link:focus-visible::after {
    opacity: 1;
    visibility: visible;
    transform: translate(0, -50%);
  }

  /* Dropdown icons open a flyout with their child navigation. */
  .c-sidebar:not(.c-sidebar-show) .c-sidebar-nav-dropdown:hover > .c-sidebar-nav-dropdown-items,
  .c-sidebar:not(.c-sidebar-show) .c-sidebar-nav-dropdown:focus-within > .c-sidebar-nav-dropdown-items {
    display: block;
    position: absolute;
    z-index: 1041;
    /* Slightly overlap the icon rail, so the hover path never has a dead gap. */
    left: 50px;
    top: 0;
    width: 230px;
    max-height: min(430px, calc(100vh - 100px));
    padding: 8px;
    overflow-y: auto;
    border: 1px solid #dfe5ee;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(15, 23, 42, .18);
    pointer-events: auto;
  }

  .c-sidebar:not(.c-sidebar-show) .c-sidebar-nav-dropdown-items::before {
    content: attr(data-parent-label);
    display: block;
    padding: 7px 10px 9px;
    margin-bottom: 4px;
    border-bottom: 1px solid #edf0f4;
    color: #64748b;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  .c-sidebar:not(.c-sidebar-show) .c-sidebar-nav-dropdown-items .c-sidebar-nav-item,
  .c-sidebar:not(.c-sidebar-show) .c-sidebar-nav-dropdown-items .c-sidebar-nav-link {
    width: 100%;
  }

  .c-sidebar:not(.c-sidebar-show) .c-sidebar-nav-dropdown-items .c-sidebar-nav-link {
    min-height: 40px;
    margin: 1px 0;
    padding: 9px 12px;
    color: #334155 !important;
    font-size: 12px;
    line-height: 1.35;
    white-space: normal;
    border-radius: 8px;
  }

  .c-sidebar:not(.c-sidebar-show) .c-sidebar-nav-dropdown-items .c-sidebar-nav-link:hover,
  .c-sidebar:not(.c-sidebar-show) .c-sidebar-nav-dropdown-items .c-sidebar-nav-link.c-active {
    width: 100%;
    color: #0f766e !important;
    background: #ecf8f6 !important;
    box-shadow: none;
  }

  .c-sidebar:not(.c-sidebar-show) .c-sidebar-nav-dropdown-items .c-sidebar-nav-icon {
    display: none;
  }

  .c-sidebar:not(.c-sidebar-show) .c-sidebar-nav-dropdown-items .c-sidebar-nav-link::after {
    display: none;
  }

  /* Hamburger opens the full navigation as an overlay. */
  .c-sidebar.c-sidebar-show {
    width: 256px;
    z-index: 1032;
    box-shadow: 12px 0 34px rgba(15, 23, 42, .24);
  }

  .c-sidebar.c-sidebar-show .app-brand {
    width: 256px;
    padding: 0 22px;
    gap: 12px;
    justify-content: flex-start !important;
  }

  .c-sidebar.c-sidebar-show .app-brand-copy {
    display: flex;
  }

  .c-sidebar.c-sidebar-show .c-sidebar-nav {
    width: 256px;
    padding: 18px 12px;
    overflow-x: visible;
  }

  .c-sidebar.c-sidebar-show .c-sidebar-nav-title {
    display: block;
  }

  .c-sidebar.c-sidebar-show .c-sidebar-nav-item,
  .c-sidebar.c-sidebar-show .c-sidebar-nav-dropdown,
  .c-sidebar.c-sidebar-show .c-sidebar-nav-link,
  .c-sidebar.c-sidebar-show .c-sidebar-nav-dropdown-toggle {
    width: auto;
  }

  .c-sidebar.c-sidebar-show .c-sidebar-nav-link,
  .c-sidebar.c-sidebar-show .c-sidebar-nav-dropdown-toggle {
    min-height: 44px;
    padding: .75rem 1rem;
    color: #cad3e2 !important;
    font-size: inherit;
    border-radius: 10px;
  }

  .c-sidebar.c-sidebar-show .c-sidebar-nav-link:hover,
  .c-sidebar.c-sidebar-show .c-sidebar-nav-dropdown-toggle:hover,
  .c-sidebar.c-sidebar-show .c-sidebar-nav-link.c-active {
    width: auto;
    color: #fff !important;
  }

  .c-sidebar.c-sidebar-show .c-sidebar-nav-icon,
  html:not([dir="rtl"]) .c-sidebar.c-sidebar-show .c-sidebar-nav-icon:first-child {
    width: 56px;
    height: 1.09375rem;
    flex: 0 0 56px;
    margin-left: -1rem;
  }

  .c-sidebar.c-sidebar-show .c-sidebar-nav-dropdown-toggle::after {
    display: block;
  }

  .c-sidebar.c-sidebar-show .c-sidebar-nav-dropdown.c-show > .c-sidebar-nav-dropdown-items {
    display: block;
  }
}

/* Users workspace */
.users-page{padding-bottom:38px}.users-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:20px;padding:25px 28px;border-radius:18px;background:linear-gradient(120deg,#4a0d20,#7b1837 68%,#a82b50);color:#fff;box-shadow:0 16px 36px rgba(91,18,45,.18)}.users-hero .eyebrow{margin-bottom:6px;color:#f5bdcc}.users-hero h1{margin:0 0 6px;font-size:27px;font-weight:780}.users-hero p{margin:0;color:#f2dfe5;font-size:13px}.users-add-button{flex:0 0 auto;padding:11px 16px;border:1px solid rgba(255,255,255,.42);border-radius:11px;background:#fff;color:#7b1837;font-size:13px;font-weight:750}.users-add-button:hover{background:#fff5f8;color:#64112d;transform:translateY(-1px)}.users-stats-row{margin-left:-8px;margin-right:-8px}.users-stats-row>[class*=col-]{padding-left:8px;padding-right:8px}.users-stat-card{display:flex;align-items:center;gap:14px;height:100%;padding:17px 18px;border:1px solid var(--border);border-radius:14px;background:#fff;box-shadow:0 5px 18px rgba(74,13,32,.045)}.users-stat-icon{display:inline-flex;align-items:center;justify-content:center;width:43px;height:43px;flex:0 0 43px;border-radius:12px;background:#f7e7ed;color:#8f1738;font-size:19px}.users-stat-icon.is-verified{background:#e9f7f1;color:#17805e}.users-stat-icon.is-admin{background:#f2e8ff;color:#7042a3}.users-stat-card strong,.users-stat-card span{display:block}.users-stat-card strong{font-size:23px;line-height:1.1;color:#351923}.users-stat-card div>span{margin-top:4px;color:var(--muted);font-size:11px}.users-panel{overflow:hidden;border:1px solid var(--border);border-radius:17px;background:#fff;box-shadow:0 8px 28px rgba(74,13,32,.055)}.users-panel-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 22px;border-bottom:1px solid var(--border)}.users-panel-header h2{margin:0 0 4px;font-size:17px;font-weight:760}.users-panel-header p{margin:0;color:var(--muted);font-size:11px}.users-toolbar{display:flex;align-items:center;gap:9px}.users-search{position:relative;margin:0}.users-search i{position:absolute;left:12px;top:50%;color:#98848b;transform:translateY(-50%)}.users-search input,.users-filter{height:40px;border:1px solid #dfd2d7;border-radius:10px;background:#fbf9fa;color:#38242b;font-size:12px;outline:none}.users-search input{width:270px;padding:0 13px 0 36px}.users-filter{min-width:135px;padding:0 30px 0 12px}.users-search input:focus,.users-filter:focus{border-color:#bd6681;box-shadow:0 0 0 3px rgba(143,23,56,.1)}.users-table-wrap{min-height:220px}.users-table{min-width:720px}.users-table thead th{padding:12px 20px;border:0;background:#fbf8f9;color:#7c6870;font-size:10px;letter-spacing:.07em}.users-table tbody td{padding:13px 20px;border-color:#f0e8eb;vertical-align:middle}.users-table tbody tr:hover{background:#fffafb}.users-identity{display:flex;align-items:center;gap:11px;min-width:230px}.users-avatar{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;flex:0 0 38px;border-radius:11px;background:linear-gradient(145deg,#f4dce5,#faedf1);color:#8f1738;font-size:13px;font-weight:800}.users-identity strong,.users-identity span{display:block}.users-identity strong{max-width:260px;overflow:hidden;color:#351923;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.users-identity div>span{max-width:300px;margin-top:3px;overflow:hidden;color:#87747b;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.users-role-badge{display:inline-flex;margin:2px 4px 2px 0;padding:5px 8px;border-radius:20px;background:#f0f2f5;color:#566070;font-size:10px;font-weight:700}.users-role-badge.is-admin{background:#f7e5ec;color:#8f1738}.users-status{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border-radius:20px;background:#f4f2f3;color:#81737a;font-size:10px;font-weight:700;white-space:nowrap}.users-status.is-verified{background:#e9f7f1;color:#177858}.users-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px}.users-actions form{margin:0}.users-action{display:inline-flex;align-items:center;justify-content:center;width:33px;height:33px;padding:0;border:1px solid #e4d8dc;border-radius:9px;background:#fff;color:#765f68;font-size:14px;transition:.16s}.users-action:hover{border-color:#bd6681;background:#fff2f6;color:#8f1738;text-decoration:none}.users-action.is-danger:hover{border-color:#e3a2a8;background:#fff0f1;color:#b42332}.users-empty{padding:48px 20px;text-align:center;color:#8b777f}.users-empty i,.users-empty strong,.users-empty span{display:block}.users-empty i{margin-bottom:12px;color:#b98b9b;font-size:28px}.users-empty strong{color:#4c303a;font-size:14px}.users-empty span{margin-top:5px;font-size:11px}
@media(max-width:767.98px){.users-hero{align-items:flex-start;flex-direction:column;padding:22px}.users-add-button{width:100%;text-align:center}.users-panel-header{align-items:stretch;flex-direction:column}.users-toolbar{align-items:stretch;flex-direction:column}.users-search input,.users-filter{width:100%}.users-search{display:block}.users-identity div>span{max-width:210px}}

/* Keep initials optically centered; the generic identity span rule must not override flex. */
.users-identity > .users-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  text-align: center;
}

.users-stat-card > .users-stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  text-align: center;
}

.users-stat-card > .users-stat-icon i {
  display: block;
  line-height: 1;
}

.app-brand-logo {
  overflow: hidden;
  padding: 0;
  background: #a50018;
}

.app-brand-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.users-filter-button,.users-reset-button{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;flex:0 0 40px;border:1px solid #8f1738;border-radius:10px;background:#8f1738;color:#fff}.users-filter-button:hover,.users-reset-button:hover{background:#73112d;color:#fff;text-decoration:none}.users-reset-button{border-color:#dfd2d7;background:#fff;color:#8f1738}.users-pagination{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 20px;border-top:1px solid var(--border);background:#fff}.users-pagination>span{color:var(--muted);font-size:11px}.users-pagination nav{margin-left:auto}.users-pagination .pagination{margin:0}.users-pagination .page-link{min-width:34px;padding:7px 10px;border-color:#eadfe3;color:#7b1837;font-size:11px;text-align:center}.users-pagination .page-item.active .page-link{border-color:#8f1738;background:#8f1738;color:#fff}.users-pagination .page-link:focus{box-shadow:0 0 0 3px rgba(143,23,56,.1)}
@media(max-width:767.98px){.users-pagination{align-items:flex-start;flex-direction:column}.users-pagination nav{width:100%;margin-left:0;overflow-x:auto}.users-filter-button,.users-reset-button{width:100%}}

/* Burgundy theme — warm, refined, and consistent with the iOS app identity. */
.c-sidebar {
  background: linear-gradient(180deg, #3f0a1b 0%, #64112d 58%, #7c1838 100%);
  box-shadow: 8px 0 28px rgba(74, 13, 32, .14);
}

.app-brand-icon,
.brand-mark {
  background: linear-gradient(135deg, #a62049, #6f102e);
  box-shadow: 0 8px 20px rgba(111, 16, 46, .26);
}

.c-sidebar-nav-link:hover,
.c-sidebar-nav-link.c-active {
  background: rgba(255, 255, 255, .13) !important;
}

.c-sidebar-nav-link.c-active {
  box-shadow: inset 3px 0 #f3b4c5;
}

.dashboard-hero {
  background: linear-gradient(120deg, #4a0d20, #7b1837 68%, #a82b50 120%);
  box-shadow: 0 18px 40px rgba(91, 18, 45, .20);
}

.dashboard-hero .eyebrow,
.help-card .eyebrow {
  color: #f5bdcc;
}

.help-card {
  background: linear-gradient(145deg, #65112e, #922044);
}

.help-card .btn {
  color: #7b1837;
}

.btn-primary,
.btn-success {
  background: #8f1738;
  border-color: #8f1738;
}

.btn-primary:hover,
.btn-success:hover {
  background: #73112d;
  border-color: #73112d;
}

.quick-action:hover {
  color: #8f1738;
  border-color: #d9a6b6;
  background: #fff8fa;
}

.quick-icon,
.user-avatar {
  background: #f8e7ed;
  color: #8f1738;
}

.c-sidebar:not(.c-sidebar-show) .c-sidebar-nav-dropdown-items .c-sidebar-nav-link:hover,
.c-sidebar:not(.c-sidebar-show) .c-sidebar-nav-dropdown-items .c-sidebar-nav-link.c-active {
  color: #8f1738 !important;
  background: #fff0f4 !important;
}

.form-control:focus {
  border-color: #bd6681;
  box-shadow: 0 0 0 3px rgba(143, 23, 56, .12);
}

.auth-page {
  background: radial-gradient(circle at 0 0, rgba(143,23,56,.13), transparent 34%), radial-gradient(circle at 100% 100%, rgba(191,84,113,.12), transparent 34%), #f8f5f6;
}

.auth-visual {
  background: linear-gradient(145deg, #430b1d, #721432 68%, #a52a4d);
}

@media (min-width: 576px) and (max-width: 991.98px) {
  .c-sidebar .c-sidebar-nav-link:hover,
  .c-sidebar .c-sidebar-nav-dropdown-toggle:hover,
  .c-sidebar .c-sidebar-nav-link.c-active {
    box-shadow: inset 3px 0 #f3b4c5;
  }
}

/* Owner intelligence and report review */
.owner-heading,.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:26px}.owner-heading h1,.page-heading h1{font-size:28px;font-weight:780;margin:0 0 7px}.owner-heading p,.page-heading p{color:var(--muted);margin:0;max-width:680px}.owner-date{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--border);border-radius:13px;padding:10px 14px;box-shadow:0 4px 14px rgba(23,37,84,.04)}.owner-date>i{color:var(--blue)}.owner-date span,.owner-date small,.owner-date strong{display:block}.owner-date small{font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}.owner-date strong{font-size:12px}.kpi-card{display:flex;align-items:center;gap:15px;height:100%;padding:20px;background:#fff;border:1px solid var(--border);border-radius:var(--radius);box-shadow:0 5px 18px rgba(23,37,84,.045)}.kpi-icon{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;width:48px;height:48px;border-radius:14px;font-size:21px}.kpi-icon.blue{color:#2563eb;background:#eaf1ff}.kpi-icon.green{color:#0f927f;background:#e2f7f2}.kpi-icon.violet{color:#7c3aed;background:#f0eaff}.kpi-icon.amber{color:#b7791f;background:#fff4d7}.kpi-card div small,.kpi-card div strong,.kpi-card div span{display:block}.kpi-card div small{font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);font-weight:700}.kpi-card div strong{font-size:27px;line-height:1.15;margin:3px 0}.kpi-card div span{font-size:11px;color:var(--muted)}.insight-panel,.conversation-panel{background:#fff;border:1px solid var(--border);border-radius:var(--radius);box-shadow:0 5px 20px rgba(23,37,84,.04);padding:23px;height:100%}.insight-header,.conversation-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.insight-header h2,.conversation-header h2{font-size:17px;font-weight:760;margin:0}.text-link{font-size:12px;font-weight:700}.status-pill{display:inline-flex;align-items:center;white-space:nowrap;border-radius:20px;padding:6px 10px;font-size:11px;font-weight:750}.status-pill.success{color:#08786a;background:#e1f7f2}.status-pill.warning{color:#a2610b;background:#fff2d8}.status-pill.neutral{color:#5f6b7d;background:#f0f3f7}.status-pill.large{font-size:12px;padding:8px 13px}.trend-chart{display:flex;align-items:flex-end;gap:15px;height:220px;padding-top:20px}.trend-column{display:flex;flex:1;height:100%;flex-direction:column;align-items:center;justify-content:flex-end}.trend-value{font-size:11px;font-weight:750;margin-bottom:7px}.trend-track{display:flex;align-items:flex-end;width:28px;flex:1;background:#f1f4f8;border-radius:7px 7px 3px 3px;overflow:hidden}.trend-track span{display:block;width:100%;background:linear-gradient(180deg,#3b82f6,#1d4ed8);border-radius:7px 7px 3px 3px}.trend-column small{color:var(--muted);font-weight:650;margin-top:9px}.category-row{margin-bottom:17px}.category-row:last-child{margin-bottom:0}.category-row-head,.category-meta{display:flex;justify-content:space-between}.category-row-head{font-size:12px}.category-row-head span{color:var(--muted)}.category-bar{height:7px;border-radius:8px;background:#edf1f6;margin:8px 0;overflow:hidden}.category-bar span{display:block;height:100%;border-radius:8px;background:linear-gradient(90deg,#2563eb,#14b8a6)}.category-meta{font-size:10px;color:var(--muted)}.owner-table-wrap{overflow-x:auto}.owner-table{margin-bottom:0;min-width:760px}.owner-table th{white-space:nowrap}.owner-table td{font-size:12px}.reporter-cell{display:flex;align-items:center;gap:10px;min-width:165px}.reporter-cell>span{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:36px;height:36px;border-radius:10px;background:#eaf1ff;color:#2455b5;font-weight:800}.reporter-cell strong,.reporter-cell small{display:block}.reporter-cell strong{max-width:175px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.reporter-cell small{color:var(--muted);margin-top:2px}.category-chip{display:inline-flex;padding:5px 9px;border-radius:8px;font-size:11px;font-weight:700;background:#edf3ff;color:#315aa8}.cat-2{background:#e3f8f4;color:#0c8275}.cat-3{background:#fff3db;color:#a26717}.cat-4{background:#f3eaff;color:#7340ad}.icon-action{display:inline-flex;width:32px;height:32px;align-items:center;justify-content:center;border-radius:9px;background:#eef3ff}.empty-inline{width:100%;padding:35px;text-align:center;color:var(--muted)}
.back-link{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700;margin-bottom:22px}.page-count{text-align:right}.page-count strong,.page-count span{display:block}.page-count strong{font-size:29px}.page-count span{font-size:11px;color:var(--muted)}.report-mini-stats{display:flex;gap:12px;margin-bottom:18px}.report-mini-stats>div{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--border);border-radius:11px;padding:9px 13px}.report-mini-stats strong{font-size:15px}.report-mini-stats small{color:var(--muted)}.dot{width:8px;height:8px;border-radius:50%}.dot.warning{background:#e6a23c}.dot.success{background:#11a58f}.dot.neutral{background:#7b8798}.report-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}.search-box{position:relative;max-width:380px;flex:1}.search-box i{position:absolute;left:13px;top:50%;transform:translateY(-50%);color:#8792a3}.search-box input{width:100%;height:42px;border:1px solid var(--border);border-radius:10px;padding:0 14px 0 39px;outline:0}.search-box input:focus{border-color:#86a5ea;box-shadow:0 0 0 3px rgba(37,99,235,.1)}.toolbar-note{font-size:11px;color:var(--muted)}.message-count{display:inline-flex;min-width:28px;height:28px;align-items:center;justify-content:center;border-radius:8px;background:#f0f3f7;font-weight:750}.owner-table code{color:#49566b;background:#f4f6f9;border-radius:6px;padding:4px 6px}.detail-summary-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:20px}.detail-summary-grid>div{background:#fff;border:1px solid var(--border);border-radius:12px;padding:14px}.detail-summary-grid small,.detail-summary-grid strong{display:block}.detail-summary-grid small{font-size:10px;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);margin-bottom:5px}.detail-summary-grid strong{font-size:12px}.conversation-header>span{font-size:11px;color:var(--muted);background:#f3f5f8;border-radius:15px;padding:5px 9px}.conversation-list{display:flex;flex-direction:column;gap:15px}.message-card{display:flex;gap:12px;max-width:88%}.message-card.from-admin{align-self:flex-end;flex-direction:row-reverse}.message-avatar{display:flex;align-items:center;justify-content:center;flex:0 0 auto;width:37px;height:37px;border-radius:11px;background:#edf2fa;color:#49617d;font-size:11px;font-weight:800}.from-admin .message-avatar{background:#dff5f1;color:#08786a}.message-body{padding:14px 16px;background:#f6f8fb;border:1px solid #edf0f5;border-radius:4px 15px 15px 15px}.from-admin .message-body{background:#ecf8f6;border-color:#d4efea;border-radius:15px 4px 15px 15px}.message-meta{display:flex;justify-content:space-between;gap:20px;margin-bottom:8px}.message-meta strong{font-size:12px}.message-meta span{font-size:10px;color:var(--muted)}.message-body p{white-space:pre-line;line-height:1.65;margin:0;font-size:13px}.message-files{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.message-files a{position:relative;display:block;width:105px;height:76px;border-radius:9px;overflow:hidden}.message-files img{width:100%;height:100%;object-fit:cover}.message-files span{position:absolute;left:0;right:0;bottom:0;background:rgba(15,23,42,.78);color:#fff;font-size:9px;padding:4px;text-align:center}.review-sidebar{display:flex;flex-direction:column;gap:14px}.review-card{padding:22px;border-radius:var(--radius);background:linear-gradient(145deg,#172554,#195b70);color:#fff}.review-card .eyebrow{color:#81e5d8}.review-card h2{font-size:19px;margin:0 0 11px}.review-card p{font-size:12px;line-height:1.65;color:#d2e0eb;margin:0}.review-icon{display:inline-flex;width:42px;height:42px;align-items:center;justify-content:center;border-radius:12px;background:rgba(255,255,255,.12);margin-bottom:35px}.review-card.plain{background:#fff;color:var(--text);border:1px solid var(--border)}.review-card.plain h3{font-size:14px;margin-bottom:14px}.review-row{display:flex;justify-content:space-between;gap:14px;padding:10px 0;border-top:1px solid var(--border);font-size:11px}.review-row span{color:var(--muted)}.review-row strong{text-align:right}
@media(max-width:991.98px){.owner-heading,.page-heading{align-items:flex-start}.detail-summary-grid{grid-template-columns:1fr 1fr}.message-card{max-width:96%}}
@media(max-width:767.98px){.owner-heading,.page-heading{flex-direction:column;align-items:stretch}.owner-heading h1,.page-heading h1{font-size:23px}.owner-date,.page-count{align-self:flex-start;text-align:left}.report-mini-stats{overflow-x:auto}.report-mini-stats>div{min-width:135px}.report-toolbar{align-items:stretch;flex-direction:column}.toolbar-note{display:none}.detail-summary-grid{grid-template-columns:1fr 1fr}.message-card,.message-card.from-admin{max-width:100%}.message-avatar{display:none}.message-meta{flex-direction:column;gap:2px}.detail-heading .status-pill{align-self:flex-start}}

/* Web report reply composer */
.web-reply-composer{margin:24px -23px -23px;padding:20px 23px 23px;border-top:1px solid var(--border);background:linear-gradient(180deg,#fff,#fff9fb);border-radius:0 0 var(--radius) var(--radius)}
.web-reply-composer form{display:block;width:100%;margin:0}
.web-reply-composer label{display:flex;flex-direction:column;margin-bottom:10px}.web-reply-composer label span{font-size:13px;font-weight:760;color:var(--text)}.web-reply-composer label small{margin-top:3px;color:var(--muted)}
.web-reply-composer textarea{display:block;box-sizing:border-box;width:100%;max-width:none;min-height:112px;resize:vertical;border:1px solid #d9c4cb;border-radius:13px;padding:13px 15px;background:#fff;color:var(--text);line-height:1.55;outline:0;transition:.2s ease}
.web-reply-composer textarea:focus{border-color:#a93c5d;box-shadow:0 0 0 3px rgba(143,23,56,.1)}
.reply-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:12px}.reply-actions>span{font-size:10px;color:var(--muted)}.reply-actions .btn{display:inline-flex;align-items:center;justify-content:center;border-radius:10px;padding:9px 15px;font-size:12px;font-weight:700}
.reply-feedback{display:flex;align-items:flex-start;gap:9px;margin-bottom:12px;padding:10px 12px;border-radius:10px;font-size:11px;line-height:1.45}.reply-feedback.success{color:#08786a;background:#e5f7f3}.reply-feedback.error{color:#9d203e;background:#fff0f3}
.web-reply-composer form.is-sending textarea{color:#8f7d84;background:#faf7f8;pointer-events:none}.web-reply-composer form.is-sending .reply-actions>span{opacity:.65}.web-reply-composer button[aria-busy=true]{cursor:wait;opacity:.88}
.reply-spinner{display:inline-block;width:14px;height:14px;margin-right:7px;border:2px solid rgba(255,255,255,.45);border-top-color:#fff;border-radius:50%;animation:reply-spin .7s linear infinite}
.message-card.is-new-reply .message-body{animation:reply-highlight 1.8s ease}
@keyframes reply-spin{to{transform:rotate(360deg)}}
@keyframes reply-highlight{0%,35%{box-shadow:0 0 0 4px rgba(143,23,56,.16)}100%{box-shadow:none}}
@media(max-width:575.98px){.reply-actions{align-items:stretch;flex-direction:column}.reply-actions .btn{width:100%}}

/* Chat-style report timeline and attachment preview */
.conversation-scroll{position:relative;max-height:570px;overflow-y:auto;overscroll-behavior:contain;margin:0 -8px;padding:0 8px 12px;scrollbar-width:thin;scrollbar-color:#d8c7cd transparent}
.conversation-scroll::-webkit-scrollbar{width:7px}.conversation-scroll::-webkit-scrollbar-thumb{border-radius:8px;background:#d8c7cd}
.conversation-list{gap:4px}.chat-day-group{display:flex;flex-direction:column;gap:15px;padding-bottom:8px}.chat-date-sticky{position:sticky;top:0;z-index:4;display:flex;justify-content:center;padding:6px 0 10px;pointer-events:none}.chat-date-sticky span{display:inline-flex;padding:6px 12px;border:1px solid #eadde2;border-radius:18px;background:rgba(255,255,255,.94);box-shadow:0 4px 12px rgba(67,11,29,.08);color:#76626a;font-size:10px;font-weight:760;backdrop-filter:blur(8px)}
.message-body{min-width:180px}.message-meta span{white-space:nowrap}.message-files{align-items:stretch}.attachment-card{appearance:none;display:flex;align-items:center;gap:9px;max-width:230px;min-height:62px;padding:7px;border:1px solid #dfd3d8;border-radius:11px;background:#fff;color:var(--text);cursor:pointer;text-align:left;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.attachment-card:hover{transform:translateY(-1px);border-color:#bb7188;box-shadow:0 7px 18px rgba(80,19,40,.1)}.attachment-card.is-image{position:relative;width:160px;height:110px;padding:0;overflow:hidden}.attachment-card.is-image img{display:block;width:100%;height:100%;object-fit:cover}.attachment-card.is-image .attachment-caption{position:absolute;right:0;bottom:0;left:0;padding:18px 9px 7px;background:linear-gradient(transparent,rgba(28,9,16,.82));color:#fff}.attachment-file-icon{display:inline-flex;flex:0 0 44px;align-items:center;justify-content:center;width:44px;height:44px;border-radius:9px;background:#f7e7ec;color:#8f1738;font-size:19px}.attachment-caption{display:flex;min-width:0;flex-direction:column}.attachment-caption strong{font-size:10px}.attachment-caption small{max-width:145px;margin-top:2px;overflow:hidden;color:inherit;font-size:9px;opacity:.72;text-overflow:ellipsis;white-space:nowrap}
.preview-is-open{overflow:hidden}.attachment-preview{position:fixed;inset:0;z-index:1090;display:none;align-items:center;justify-content:center;padding:24px}.attachment-preview.is-open{display:flex}.attachment-preview-backdrop{position:absolute;inset:0;background:rgba(20,8,13,.74);backdrop-filter:blur(5px)}.attachment-preview-dialog{position:relative;display:flex;width:min(920px,96vw);max-height:90vh;flex-direction:column;overflow:hidden;border:1px solid rgba(255,255,255,.18);border-radius:18px;background:#fff;box-shadow:0 28px 80px rgba(24,6,13,.35)}.attachment-preview-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 20px;border-bottom:1px solid var(--border)}.attachment-preview-header h2{max-width:700px;margin:2px 0 0;overflow:hidden;font-size:15px;text-overflow:ellipsis;white-space:nowrap}.attachment-preview-close{display:inline-flex;flex:0 0 36px;align-items:center;justify-content:center;width:36px;height:36px;border:0;border-radius:10px;background:#f6edf0;color:#7c1838;cursor:pointer}.attachment-preview-content{display:flex;min-height:280px;flex:1;align-items:center;justify-content:center;overflow:auto;background:#211b1d}.attachment-preview-content>img{display:block;max-width:100%;max-height:70vh;object-fit:contain}.attachment-preview-content>iframe{width:100%;height:70vh;border:0;background:#fff}.attachment-preview-footer{display:flex;justify-content:flex-end;padding:13px 20px;border-top:1px solid var(--border)}.attachment-preview-footer a{display:inline-flex;align-items:center;gap:7px;border-radius:9px;padding:9px 13px;background:#8f1738;color:#fff;font-size:11px;font-weight:720}.attachment-preview-unavailable{display:flex;align-items:center;flex-direction:column;padding:45px 25px;color:#fff;text-align:center}.attachment-preview-unavailable i{margin-bottom:15px;font-size:34px}.attachment-preview-unavailable strong{font-size:15px}.attachment-preview-unavailable span{max-width:430px;margin-top:7px;color:#d3c8cc;font-size:11px}
@media(max-width:575.98px){.conversation-scroll{max-height:62vh}.attachment-preview{padding:10px}.attachment-preview-dialog{width:100%;max-height:94vh;border-radius:14px}.attachment-card.is-image{width:140px;height:98px}.attachment-preview-header{padding:14px}.attachment-preview-footer{padding:11px 14px}}
