:root{--bg:#f3f6fc;--surface:#ffffff;--surface-soft:rgba(255,255,255,.82);--navy:#12213f;--navy-2:#22355d;--gold:#c8a45f;--text:#18243d;--muted:#6f7d97;--border:rgba(18,33,63,.08);--shadow:0 18px 45px rgba(15,23,42,.08)}
*{box-sizing:border-box}body{font-family:Inter,"Segoe UI",sans-serif;color:var(--text);background:radial-gradient(circle at top left,rgba(200,164,95,.12),transparent 24%),radial-gradient(circle at top right,rgba(18,33,63,.08),transparent 18%),var(--bg)}
.guest-body,.app-body{min-height:100vh}.guest-shell{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:1.5rem}.guest-card-wrap{width:min(100%,480px)}.guest-brand{display:flex;align-items:center;gap:1rem;margin-bottom:1.2rem}.brand-mark{width:46px;height:46px;border-radius:16px;background:linear-gradient(135deg,var(--navy),#2c477a);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-weight:800;box-shadow:0 16px 32px rgba(18,33,63,.18);overflow:hidden;flex-shrink:0}.brand-mark img{width:100%;height:100%;object-fit:cover}.brand-eyebrow{font-size:.75rem;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);font-weight:700}.brand-title{font-weight:700;color:var(--navy)}.guest-card,.legal-card,.topbar,.account-menu{background:var(--surface-soft);backdrop-filter:blur(14px);border:1px solid var(--border);box-shadow:var(--shadow)}.guest-card{border-radius:32px;padding:2rem}.guest-subtitle,.page-subtitle{color:var(--muted)}.btn-legal-primary{background:linear-gradient(135deg,var(--navy),var(--navy-2));border:none;color:#fff;border-radius:16px;padding:.85rem 1.1rem;box-shadow:0 16px 26px rgba(18,33,63,.16)}.btn-legal-primary:hover{color:#fff;background:linear-gradient(135deg,#0f1d39,#1c2f57)}.btn-legal-soft{background:#e8efff;border:1px solid rgba(41,94,168,.14);color:var(--navy);border-radius:16px;padding:.85rem 1.1rem}
.form-control,.form-select{min-height:48px;border-radius:16px;border:1px solid rgba(18,33,63,.1)}.form-control:focus,.form-select:focus{border-color:rgba(41,94,168,.45);box-shadow:0 0 0 .2rem rgba(41,94,168,.1)}.password-field{position:relative}.password-field-input{padding-right:3.4rem}.password-field-toggle{position:absolute;top:50%;right:.75rem;transform:translateY(-50%);width:2.2rem;height:2.2rem;border:none;background:transparent;color:var(--muted);display:inline-flex;align-items:center;justify-content:center;border-radius:999px;z-index:3}.password-field-toggle:hover{color:var(--navy);background:rgba(18,33,63,.05)}.password-field-toggle:focus-visible{outline:2px solid rgba(41,94,168,.2);outline-offset:2px}.password-field-toggle i{font-size:1rem;line-height:1}.password-field .form-control.is-invalid{padding-right:3.4rem}
.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:290px;height:100vh;padding:1.5rem;background:linear-gradient(180deg,#13213f,#1b2e56);color:rgba(255,255,255,.92);transition:width .28s ease,padding .28s ease;display:flex;flex-direction:column}.sidebar-brand{display:flex;gap:1rem;align-items:center;margin-bottom:1.25rem;flex-shrink:0}.sidebar-nav-scroll{flex:1;min-height:0;overflow-y:auto;padding-right:.35rem;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.18) transparent}.sidebar-nav-scroll::-webkit-scrollbar{width:8px}.sidebar-nav-scroll::-webkit-scrollbar-thumb{background:rgba(255,255,255,.18);border-radius:999px}.sidebar-nav-scroll::-webkit-scrollbar-track{background:transparent}.sidebar-brand-copy{min-width:0;transition:opacity .18s ease,transform .22s ease,max-width .22s ease}.sidebar .brand-eyebrow,.sidebar-section{color:rgba(255,255,255,.52)}.sidebar-section{font-size:.75rem;letter-spacing:.14em;text-transform:uppercase;font-weight:700;margin-bottom:.8rem;transition:opacity .18s ease,transform .22s ease}.sidebar .brand-title{color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nav-link{display:flex;align-items:center;gap:.8rem;padding:.85rem 1rem;border-radius:18px;color:inherit}.nav-link i{font-size:1.05rem;flex-shrink:0}.nav-link-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:opacity .18s ease,transform .22s ease,max-width .22s ease}.sidebar .nav-link{color:rgba(255,255,255,.72)}.sidebar .nav-link.active,.sidebar .nav-link:hover{background:rgba(255,255,255,.08);color:#fff}.legal-offcanvas .nav-link{color:var(--navy)}.legal-offcanvas .nav-link.active,.legal-offcanvas .nav-link:hover{background:rgba(18,33,63,.06)}
.content-wrap{margin-left:290px;padding:1.5rem;transition:margin-left .28s ease}.topbar{position:sticky;top:0;z-index:1010;display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;padding:1rem 1.2rem;border-radius:26px;margin-bottom:1rem}.topbar-main{display:flex;align-items:flex-start;gap:1rem;min-width:0;flex:1}.topbar-leading{display:flex;align-items:flex-start;gap:.85rem;flex-shrink:0}.topbar-title-group{min-width:0;flex:1}.topbar-mobile-toggle{display:none}.sidebar-toggle{display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;margin-bottom:1rem;border:none;border-radius:18px;background:rgba(18,33,63,.06);color:var(--navy);box-shadow:0 14px 24px rgba(17,24,39,.06);transition:transform .2s ease,background-color .2s ease,color .2s ease}.sidebar-toggle:hover{background:rgba(18,33,63,.1)}.sidebar-toggle:focus-visible{outline:2px solid rgba(41,94,168,.28);outline-offset:3px}.page-title{font-size:2rem;font-weight:800;letter-spacing:-.04em;color:var(--navy)}.topbar-actions{display:flex;align-items:center;gap:.8rem;flex-shrink:0}.page-actions-row{display:flex;justify-content:flex-end;align-items:center;margin-bottom:1.5rem}.page-actions{display:flex;justify-content:flex-end;align-items:center;gap:.8rem;flex-wrap:wrap;max-width:100%}.notification-trigger,.account-trigger{width:62px;height:52px;border-radius:18px;border:1px solid var(--border);background:rgba(255,255,255,.95);display:inline-flex;align-items:center;justify-content:center;gap:.45rem;box-shadow:0 14px 24px rgba(17,24,39,.06)}.notification-trigger{position:relative;color:var(--navy);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.notification-trigger:hover{transform:translateY(-1px)}.notification-trigger.has-unread{animation:notificationPulse 1.6s ease-in-out infinite;border-color:rgba(200,164,95,.45);box-shadow:0 18px 34px rgba(200,164,95,.2)}.notification-badge{position:absolute;top:8px;right:8px;min-width:20px;height:20px;padding:0 .3rem;border-radius:999px;background:#c84d5f;color:#fff;font-size:.72rem;font-weight:700;display:flex;align-items:center;justify-content:center}.notification-trigger:not(.has-unread) .notification-badge{background:rgba(18,33,63,.16);color:var(--navy)}.account-trigger .bi-chevron-down{font-size:.78rem;color:var(--muted)}.account-avatar{width:38px;height:38px;border-radius:14px;background:linear-gradient(135deg,var(--navy),#35548d);display:inline-flex;align-items:center;justify-content:center;color:#fff;font-weight:700;overflow:hidden;flex-shrink:0}.account-avatar img,.profile-avatar-large img{width:100%;height:100%;object-fit:cover}.account-avatar.lg{width:52px;height:52px;border-radius:18px}.account-menu{width:320px;max-width:92vw;border-radius:22px;padding:.6rem}.account-menu-head{display:grid;grid-template-columns:52px minmax(0,1fr);gap:.95rem;padding:.8rem .85rem .9rem;border-bottom:1px solid var(--border);margin-bottom:.35rem}.account-copy{min-width:0}.account-name{font-weight:700;color:var(--navy);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.account-meta{font-size:.82rem;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.account-menu .dropdown-item{display:flex;align-items:center;gap:.75rem;min-height:46px;border-radius:16px;padding:.72rem .82rem;font-weight:500}.account-menu .dropdown-item i{font-size:1.05rem}
.app-body.sidebar-collapsed .sidebar{width:92px;padding:1.5rem 1rem}.app-body.sidebar-collapsed .content-wrap{margin-left:92px}.app-body.sidebar-collapsed .sidebar-brand{justify-content:center}.app-body.sidebar-collapsed .sidebar-brand-copy,.app-body.sidebar-collapsed .sidebar-section,.app-body.sidebar-collapsed .nav-link-label{opacity:0;transform:translateX(-8px);max-width:0;pointer-events:none}.app-body.sidebar-collapsed .sidebar-section{margin-bottom:0;height:0;overflow:hidden}.app-body.sidebar-collapsed .sidebar-nav-scroll{padding-right:0}.app-body.sidebar-collapsed .sidebar .nav-link{justify-content:center;padding-inline:.9rem}.app-body.sidebar-collapsed .sidebar .nav-link.active,.app-body.sidebar-collapsed .sidebar .nav-link:hover{background:rgba(255,255,255,.12)}.app-body.sidebar-collapsed .sidebar-toggle i{transform:scaleX(-1)}
.hero-card{padding:2rem;border-radius:30px;background:radial-gradient(circle at top right,rgba(200,164,95,.18),transparent 28%),linear-gradient(135deg,#12213f,#20365e);color:#fff;box-shadow:0 20px 50px rgba(18,33,63,.14)}.hero-eyebrow{font-size:.75rem;letter-spacing:.16em;text-transform:uppercase;color:rgba(255,255,255,.6);margin-bottom:.75rem}.hero-title{font-size:clamp(1.9rem,4vw,2.7rem);font-weight:800;letter-spacing:-.05em}.hero-subtitle{color:rgba(255,255,255,.72);margin-top:.25rem}
.metric-card,.section-card{border-radius:28px;padding:1.2rem}.metric-label{font-size:.76rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin-bottom:.7rem}.metric-value{font-size:clamp(1.8rem,4vw,2.7rem);font-weight:800;letter-spacing:-.05em;color:var(--navy)}.section-title{font-weight:700;color:var(--navy);margin-bottom:1rem}
.member-card{padding:1rem;border:1px solid var(--border);border-radius:22px;background:rgba(255,255,255,.74)}.member-avatar,.profile-avatar-large{display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--navy),#35548d);color:#fff;font-weight:700;overflow:hidden}.member-avatar{width:44px;height:44px;border-radius:16px;margin-bottom:.8rem}.profile-avatar-large{width:72px;height:72px;border-radius:22px}.profile-summary-card,.profile-photo-panel{display:flex;align-items:center;gap:1rem}.profile-photo-panel{padding:1rem;border:1px solid var(--border);border-radius:20px;background:rgba(18,33,63,.025)}.brand-logo-preview{background:#fff;color:var(--navy)}
.timeline-card{display:flex;flex-direction:column;min-height:100%}.timeline-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1rem}.timeline-count{display:inline-flex;align-items:center;justify-content:center;min-width:2.25rem;height:2.25rem;padding:0 .7rem;border-radius:999px;background:rgba(18,33,63,.06);color:var(--navy);font-size:.82rem;font-weight:700}.timeline-scroll{max-height:400px;overflow-y:auto;padding-right:.3rem;scrollbar-width:thin;scrollbar-color:rgba(18,33,63,.18) transparent}.timeline-scroll::-webkit-scrollbar{width:8px}.timeline-scroll::-webkit-scrollbar-thumb{background:rgba(18,33,63,.16);border-radius:999px}.timeline-item{position:relative;padding:0 0 1rem 1.4rem;margin-bottom:1rem;border-bottom:1px solid rgba(18,33,63,.06)}.timeline-item:last-child{margin-bottom:0;padding-bottom:0;border-bottom:none}.timeline-item:before{content:"";position:absolute;left:0;top:.4rem;width:8px;height:8px;border-radius:50%;background:var(--gold);box-shadow:0 0 0 6px rgba(200,164,95,.12)}.timeline-title{font-weight:700;color:var(--navy);line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.timeline-meta{margin-top:.35rem;font-size:.82rem;color:var(--muted)}.timeline-empty-state{display:flex;flex-direction:column;justify-content:center;min-height:220px}.dashboard-widget{display:flex;flex-direction:column;min-height:100%}.dashboard-widget-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1rem}.dashboard-widget-scroll{flex:1;min-height:0;max-height:380px;overflow-y:auto;padding-right:.3rem;scrollbar-width:thin;scrollbar-color:rgba(18,33,63,.18) transparent}.dashboard-widget-scroll::-webkit-scrollbar{width:8px}.dashboard-widget-scroll::-webkit-scrollbar-thumb{background:rgba(18,33,63,.16);border-radius:999px}.dashboard-list-row{padding:1rem;border:1px solid var(--border);border-radius:22px;background:rgba(255,255,255,.74);margin-bottom:.85rem}.dashboard-list-row:last-child{margin-bottom:0}.dashboard-list-row-compact{padding:.85rem 1rem}.dashboard-list-row-with-avatar{display:grid;grid-template-columns:44px minmax(0,1fr);gap:.9rem;align-items:center}.dashboard-widget-empty{display:flex;flex-direction:column;justify-content:center;min-height:220px}
.table thead th{font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);border-bottom-color:var(--border)}.table tbody td{border-color:rgba(18,33,63,.06);vertical-align:middle}.management-table tbody tr:hover{background:rgba(18,33,63,.02)}.management-header-card{display:flex;align-items:center;justify-content:space-between;gap:1rem}.management-table-wrap{overflow:hidden}.table-actions{display:inline-flex;justify-content:flex-end;flex-wrap:wrap;gap:.55rem}.status-chip{display:inline-flex;align-items:center;padding:.45rem .75rem;border-radius:999px;font-size:.74rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.status-active,.status-trial{background:rgba(29,124,91,.12);color:#1d7c5b}.status-grace,.status-invited{background:rgba(200,164,95,.18);color:#9a7128}.status-suspended,.status-locked,.status-expired{background:rgba(159,48,69,.12);color:#9f3045}.status-inactive{background:rgba(111,125,151,.14);color:#4f617d}.empty-state{padding:1.5rem .75rem;text-align:center}.empty-state-title{font-weight:700;color:var(--navy);margin-bottom:.3rem}.empty-state-text{color:var(--muted);font-size:.95rem}
.status-open{background:rgba(41,94,168,.12);color:#295ea8}.status-in_progress{background:rgba(200,164,95,.18);color:#9a7128}.status-closed{background:rgba(29,124,91,.12);color:#1d7c5b}.status-unpaid{background:rgba(159,48,69,.12);color:#9f3045}.status-partial{background:rgba(200,164,95,.18);color:#9a7128}.status-paid{background:rgba(29,124,91,.12);color:#1d7c5b}
.impersonation-banner{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1.2rem;margin:-.2rem 0 1.2rem;border-radius:24px;background:linear-gradient(135deg,#1c2f57,#28477d);color:#fff;box-shadow:0 18px 36px rgba(18,33,63,.16)}.impersonation-title{font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.66);font-weight:800;margin-bottom:.25rem}.impersonation-copy{color:rgba(255,255,255,.84)}.notification-center-head{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem}.notification-center-list{display:flex;flex-direction:column;gap:.9rem}.notification-card{padding:1rem 1rem 1rem 1.15rem;border:1px solid rgba(18,33,63,.08);border-radius:22px;background:rgba(18,33,63,.025);position:relative;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.notification-card:hover{transform:translateY(-1px);box-shadow:0 12px 24px rgba(15,23,42,.08)}.notification-card.is-unread{border-color:rgba(200,164,95,.3);box-shadow:0 10px 24px rgba(200,164,95,.08)}.notification-card.is-unread:before{content:"";position:absolute;left:0;top:1rem;bottom:1rem;width:4px;border-radius:999px;background:var(--gold)}.notification-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:.45rem}.notification-card-title{font-weight:700;color:var(--navy)}.notification-card-time{font-size:.8rem;color:var(--muted);white-space:nowrap}.notification-card-message{font-size:.92rem;color:var(--text);line-height:1.55;white-space:pre-line}.notification-card-actions{display:flex;justify-content:flex-end;gap:.55rem;margin-top:.9rem}.notification-empty{min-height:220px}
.role-access-panel{padding:1rem;border:1px solid rgba(18,33,63,.07);border-radius:20px;background:rgba(18,33,63,.025)}.role-access-badge{border-radius:999px;padding:.45rem .7rem;font-weight:600}.role-access-badge.allowed{background:rgba(29,124,91,.12);color:#1d7c5b}.role-access-badge.blocked{background:rgba(159,48,69,.1);color:#9f3045}
.dataTables_wrapper .row{--bs-gutter-y:.85rem;align-items:center}.dataTables_wrapper .dataTables_length,.dataTables_wrapper .dataTables_filter,.dataTables_wrapper .dataTables_info,.dataTables_wrapper .dataTables_paginate{margin:0}.dataTables_wrapper .dataTables_length label,.dataTables_wrapper .dataTables_filter label{display:flex;align-items:center;gap:.65rem;font-size:.92rem;color:var(--muted);font-weight:500}.dataTables_wrapper .dataTables_filter input,.dataTables_wrapper .dataTables_length select{min-height:44px;border-radius:14px;border:1px solid rgba(18,33,63,.1);background:#fff;color:var(--text);box-shadow:none}.dataTables_wrapper .dataTables_filter input{min-width:min(100%,280px);padding:.6rem .85rem}.dataTables_wrapper .dataTables_length select{padding:.55rem 2rem .55rem .85rem}.dataTables_wrapper .dataTables_filter input:focus,.dataTables_wrapper .dataTables_length select:focus{outline:none;border-color:rgba(41,94,168,.45);box-shadow:0 0 0 .2rem rgba(41,94,168,.1)}.dataTables_wrapper .dataTables_processing{border:none;border-radius:18px;background:rgba(255,255,255,.98);box-shadow:0 18px 42px rgba(15,23,42,.14);color:var(--navy);padding:1rem 1.25rem}.legal-datatable{width:100%!important}.legal-datatable td,.legal-datatable th{white-space:nowrap}.legal-datatable td:first-child,.legal-datatable th:first-child{white-space:normal}.dataTables_wrapper .page-link{border:none;border-radius:12px;color:var(--navy);padding:.55rem .8rem;background:rgba(18,33,63,.05)}.dataTables_wrapper .page-item.active .page-link{background:linear-gradient(135deg,var(--navy),var(--navy-2));color:#fff;box-shadow:0 12px 24px rgba(18,33,63,.16)}.dataTables_wrapper .page-item.disabled .page-link{background:rgba(18,33,63,.04);color:var(--muted)}.dataTables_wrapper .paginate_button{margin:0 .15rem}.dtr-bs-modal .dtr-title{font-weight:700;color:var(--navy)}
.toast-stack{position:fixed;top:1rem;right:1rem;z-index:1080;display:flex;flex-direction:column;gap:.7rem}.toast-card{display:grid;grid-template-columns:40px minmax(0,1fr) 24px;gap:.85rem;align-items:start;min-width:320px;max-width:380px;padding:.95rem 1rem;border-radius:22px;background:rgba(255,255,255,.98);border:1px solid var(--border);box-shadow:0 22px 48px rgba(15,23,42,.12)}.toast-icon{width:40px;height:40px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:1rem}.toast-copy{min-width:0}.toast-title{font-size:.8rem;letter-spacing:.08em;text-transform:uppercase;font-weight:800;color:var(--navy);margin-bottom:.25rem}.toast-message{font-size:.94rem;color:var(--text);line-height:1.5}.toast-close{border:none;background:transparent;color:var(--muted);padding:.15rem}.toast-card.success .toast-icon{background:rgba(29,124,91,.12);color:#1d7c5b}.toast-card.success{border-left:4px solid #1d7c5b}.toast-card.error .toast-icon{background:rgba(159,48,69,.12);color:#9f3045}.toast-card.error{border-left:4px solid #9f3045}.toast-card.warning .toast-icon{background:rgba(200,164,95,.2);color:#9a7128}.toast-card.warning{border-left:4px solid #c8a45f}.toast-card.info .toast-icon{background:rgba(34,53,93,.12);color:#22355d}.toast-card.info{border-left:4px solid #22355d}
.legal-modal .modal-dialog{max-width:min(760px,calc(100vw - 1.5rem))}.legal-modal .modal-content{border:none;border-radius:30px;background:rgba(255,255,255,.98);backdrop-filter:blur(16px);box-shadow:0 28px 60px rgba(15,23,42,.18);overflow:hidden}.legal-modal .modal-header{padding:1.2rem 1.3rem;border-bottom:1px solid var(--border);align-items:flex-start}.legal-modal .modal-body{padding:1.3rem}.modal-eyebrow{font-size:.74rem;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);font-weight:700;margin-bottom:.25rem}.modal-loading-state{min-height:180px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.85rem;color:var(--muted)}.modal-form .form-label{font-weight:600;color:var(--navy)}.modal-section-label{font-size:.74rem;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);font-weight:800;margin-top:.15rem}.status-dialog-card{padding:1rem 1rem;border:1px solid var(--border);border-radius:20px;background:rgba(18,33,63,.03)}.form-control.is-invalid,.form-select.is-invalid{border-color:#b8455b;box-shadow:0 0 0 .2rem rgba(184,69,91,.08)}.invalid-feedback{display:block}.btn.is-loading{pointer-events:none;opacity:.75}.btn-spinner{display:inline-flex;align-items:center;justify-content:center;width:1rem;height:1rem;border:.14rem solid currentColor;border-right-color:transparent;border-radius:50%;animation:spin .7s linear infinite}
.copilot-loading-card,.copilot-response-card,.copilot-error-card{position:relative;overflow:hidden}.copilot-loading-card:before,.copilot-response-card:before{content:"";position:absolute;inset:0 auto auto 0;width:100%;height:3px;background:linear-gradient(90deg,rgba(200,164,95,.15),rgba(18,33,63,.5),rgba(200,164,95,.15))}.copilot-thinking-dots{display:inline-flex;align-items:center;gap:.35rem;padding:.55rem .75rem;border-radius:999px;background:rgba(18,33,63,.05)}.copilot-thinking-dots span{width:8px;height:8px;border-radius:50%;background:var(--navy);opacity:.28;animation:copilotDots 1.2s ease-in-out infinite}.copilot-thinking-dots span:nth-child(2){animation-delay:.18s}.copilot-thinking-dots span:nth-child(3){animation-delay:.36s}.copilot-loader-line{height:11px;border-radius:999px;background:linear-gradient(90deg,rgba(18,33,63,.08),rgba(18,33,63,.16),rgba(18,33,63,.08));background-size:200% 100%;animation:copilotShimmer 1.4s linear infinite}.copilot-loader-line + .copilot-loader-line{margin-top:.8rem}.copilot-loader-line.short{width:58%}.copilot-loader-line.medium{width:76%}.copilot-answer-copy{font-size:.98rem;line-height:1.75;color:var(--text)}.copilot-response-enter{animation:copilotCardIn .35s ease}.copilot-sources-block{opacity:0;transform:translateY(6px);transition:opacity .22s ease,transform .22s ease}.copilot-sources-block.is-visible{opacity:1;transform:none}.copilot-error-card .toast-icon{width:48px;height:48px;border-radius:16px;background:rgba(200,164,95,.18);color:#9a7128;display:flex;align-items:center;justify-content:center;flex-shrink:0}
@keyframes spin{to{transform:rotate(360deg)}}@keyframes notificationPulse{0%,100%{transform:translateY(0) rotate(0deg)}20%{transform:translateY(-1px) rotate(-8deg)}40%{transform:translateY(0) rotate(8deg)}60%{transform:translateY(-1px) rotate(-6deg)}80%{transform:translateY(0) rotate(6deg)}}
@keyframes copilotDots{0%,80%,100%{transform:translateY(0);opacity:.28}40%{transform:translateY(-4px);opacity:1}}@keyframes copilotShimmer{0%{background-position:200% 0}100%{background-position:-200% 0}}@keyframes copilotCardIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.sidebar,.content-wrap,.sidebar-brand-copy,.sidebar-section,.nav-link-label,.sidebar-toggle,.sidebar-toggle i,.copilot-sources-block{transition:none}.copilot-thinking-dots span,.copilot-loader-line,.copilot-response-enter{animation:none}}
@media (max-width:991.98px){.sidebar{display:none}.content-wrap{margin-left:0;padding:1rem}.topbar{padding:.9rem 1rem}.page-title{font-size:1.7rem}.sidebar-toggle{display:none}.topbar-mobile-toggle{display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:18px}.page-actions-row{margin-bottom:1.25rem}}
@media (max-width:575.98px){.guest-card{padding:1.35rem}.topbar{padding:.85rem;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;column-gap:.75rem;row-gap:.9rem}.topbar-main{display:contents}.topbar-leading{grid-column:1;grid-row:1;align-items:center}.topbar-actions{grid-column:2;grid-row:1;gap:.6rem;margin-left:auto}.topbar-title-group{grid-column:1 / -1;grid-row:2}.topbar-mobile-toggle{margin-bottom:0}.page-actions-row{justify-content:stretch}.page-actions{width:100%;justify-content:stretch}.page-actions > *{flex:1 1 auto}.notification-trigger,.account-trigger{width:58px;height:48px}.account-avatar{width:34px;height:34px}.account-menu{width:min(92vw,304px)}.hero-card{padding:1.35rem}.page-title{font-size:1.45rem}.management-header-card{align-items:flex-start;flex-direction:column}.table-actions{width:100%;justify-content:flex-start}.impersonation-banner,.notification-center-head{flex-direction:column;align-items:flex-start}.dataTables_wrapper .dataTables_filter label,.dataTables_wrapper .dataTables_length label{width:100%;flex-direction:column;align-items:flex-start}.dataTables_wrapper .dataTables_filter input,.dataTables_wrapper .dataTables_length select{width:100%;min-width:0}.toast-card{min-width:min(92vw,320px);max-width:min(92vw,360px)}.legal-modal .modal-dialog{max-width:calc(100vw - .8rem);margin:.4rem auto}.legal-modal .modal-content{border-radius:24px}.timeline-card-head{align-items:center}.timeline-scroll{max-height:320px}.dashboard-widget-scroll{max-height:320px}}

