.cr-app{--cr-bg:#f4f6f9;--cr-card:#fff;--cr-text:#1a1d23;--cr-muted:#667085;--cr-border:#e4e7ec;
  --cr-accent:#2f6fed;--cr-ok:#2fae5b;--cr-bad:#d64545;--cr-amber:#e08e2b;
  display:flex;gap:0;background:var(--cr-bg);color:var(--cr-text);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;border-radius:14px;overflow:hidden;
  border:1px solid var(--cr-border);min-height:520px;}
.cr-app *{box-sizing:border-box}
.cr-sidebar{width:220px;flex-shrink:0;background:#1f2430;color:#cfd4e0;padding:28px 18px;display:flex;flex-direction:column;gap:6px}
.cr-sidebar-thin{width:170px}
.cr-avatar{margin:0 auto 10px}
.cr-avatar img{border-radius:50%}
.cr-hello{text-align:center;font-weight:700;color:#fff;margin-bottom:20px}
.cr-nav{display:flex;flex-direction:column;gap:4px;margin-bottom:16px}
.cr-nav a{color:#aeb4c4;text-decoration:none;padding:9px 12px;border-radius:8px;font-size:.88rem;font-weight:600}
.cr-nav a:hover{background:#2a3040}
.cr-nav a.cr-nav-active{background:var(--cr-accent);color:#fff}
.cr-nav-section{font-size:.7rem;letter-spacing:.06em;color:#7d8496;margin:10px 0 4px;padding-left:12px}

.cr-main{flex:1;padding:26px 30px;overflow-x:auto}
.cr-topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px;min-height:34px}
.cr-breadcrumb{color:var(--cr-muted);font-size:.78rem;margin:0}
.cr-top-logout{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:8px 14px;border:1px solid #d9deea;border-radius:8px;background:#fff;color:#344054;text-decoration:none;font-size:.82rem;font-weight:700;white-space:nowrap;transition:all .15s ease}
.cr-top-logout:hover{background:#f7f8fb;border-color:#c9cfdb;color:#1f2937}
.cr-top-logout:focus{outline:3px solid rgba(47,111,237,.18);outline-offset:2px}
.cr-title{font-size:1.35rem;margin:0 0 16px}
.cr-sub{color:var(--cr-muted);font-size:.85rem;margin:0 0 14px}

.cr-flash{padding:10px 14px;border-radius:8px;font-size:.85rem;margin-bottom:16px}
.cr-flash-success{background:#e7f7ee;color:var(--cr-ok)}
.cr-flash-error{background:#fdeceb;color:var(--cr-bad)}

.cr-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:14px;margin-bottom:22px}
.cr-kpi{border-radius:12px;padding:16px 18px;color:#fff;font-size:.85rem;font-weight:600}
.cr-kpi-num{font-size:1.7rem;font-weight:800;line-height:1}
.cr-kpi-blue{background:#2f6fed}
.cr-kpi-amber{background:#e08e2b}
.cr-kpi-green{background:#2fae5b}
.cr-kpi-red{background:#d64545}

.cr-card{background:var(--cr-card);border:1px solid var(--cr-border);border-radius:12px;padding:20px;margin-bottom:18px}
.cr-card h2{font-size:.95rem;margin:0 0 14px;letter-spacing:.02em}

.cr-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
label{display:block;font-size:.83rem;font-weight:600;margin:10px 0 4px}
input,select,textarea{width:100%;padding:9px 11px;border-radius:8px;border:1px solid var(--cr-border);background:var(--cr-bg);color:var(--cr-text);font-size:.9rem;font-family:inherit;margin-top:2px}
textarea{resize:vertical;min-height:56px}

.cr-btn{cursor:pointer;border:none;border-radius:8px;padding:10px 18px;font-size:.88rem;font-weight:700}
.cr-btn-primary{background:var(--cr-accent);color:#fff;margin-top:16px}
.cr-btn-ok{background:var(--cr-ok);color:#fff}
.cr-btn-bad{background:var(--cr-bad);color:#fff}
.cr-actions{display:flex;gap:10px;margin-top:12px}

.cr-table{width:100%;border-collapse:collapse;font-size:.85rem}
.cr-table th{text-align:left;color:var(--cr-muted);font-size:.75rem;text-transform:uppercase;letter-spacing:.03em;border-bottom:1px solid var(--cr-border);padding:8px 10px}
.cr-table td{padding:10px;border-bottom:1px solid var(--cr-border)}
.cr-table tr.cr-row-link{cursor:pointer}
.cr-table tr.cr-row-link:hover td{background:rgba(0,0,0,.035)}
.cr-empty{color:var(--cr-muted);font-size:.88rem;padding:10px 0}

.cr-pill{font-size:.72rem;font-weight:700;padding:3px 10px;border-radius:99px;white-space:nowrap}
.cr-pill-pending{background:#fff3e0;color:var(--cr-amber)}
.cr-pill-pending_issuance{background:#fff3e0;color:var(--cr-amber)}
.cr-pill-approved{background:#e7f7ee;color:var(--cr-ok)}
.cr-pill-rejected{background:#fdeceb;color:var(--cr-bad)}

.cr-queue-item{display:flex;justify-content:space-between;align-items:center;gap:12px;background:var(--cr-card);border:1px solid var(--cr-border);border-radius:10px;padding:14px 16px;margin-bottom:10px;text-decoration:none;color:var(--cr-text)}
.cr-queue-item:hover{border-color:var(--cr-accent)}
.cr-meta{color:var(--cr-muted);font-size:.8rem;margin-top:2px}

.cr-chevrons{display:flex;gap:4px;margin:18px 0;flex-wrap:wrap}
.cr-chevron{flex:1;min-width:110px;padding:12px 18px 12px 26px;color:#fff;font-weight:700;font-size:.8rem;background:#c7cdd6;
  clip-path:polygon(0 0,88% 0,100% 50%,88% 100%,0 100%,10% 50%);white-space:nowrap}
.cr-chevron-done{background:var(--cr-ok)}
.cr-chevron-current{background:var(--cr-accent)}
.cr-chevron-rejected{background:var(--cr-bad)}
.cr-chevron-upcoming{background:#c7cdd6;color:#4b5563}
.cr-chev-icon{margin-right:4px}

.cr-captions{display:flex;gap:4px;margin-bottom:22px;flex-wrap:wrap}
.cr-caption{flex:1;min-width:110px;font-size:.75rem;color:var(--cr-muted);padding:0 6px}
.cr-caption small{color:#9aa2b1}

.cr-two-col{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.cr-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px 16px;font-size:.85rem}
.cr-detail-grid div span{display:block;color:var(--cr-muted);font-size:.72rem;text-transform:uppercase;letter-spacing:.02em}
.cr-note{font-size:.83rem;color:var(--cr-muted);font-style:italic;margin-top:10px}
.cr-issue-box{border-top:1px solid var(--cr-border);margin-top:12px;padding-top:12px}

.cr-app-single{display:block}
.cr-main-full{width:100%;padding:26px 30px}
.cr-back-link{color:var(--cr-accent,#2f6fed);text-decoration:none;font-size:.85rem;font-weight:600}
.cr-back-link:hover{text-decoration:underline}

@media (max-width:720px){
  .cr-app{flex-direction:column}
  .cr-sidebar,.cr-sidebar-thin{width:100%;flex-direction:row;flex-wrap:wrap;padding:16px}
  .cr-hello,.cr-avatar{display:none}
  .cr-nav{flex-direction:row;flex-wrap:wrap}
  .cr-row,.cr-two-col{grid-template-columns:1fr}
}

.cr-kpi{border:0;cursor:pointer;text-align:left;font-family:inherit;width:100%;transition:transform .12s ease,box-shadow .12s ease}
.cr-kpi:hover{transform:translateY(-1px);box-shadow:0 5px 14px rgba(16,24,40,.12)}
.cr-kpi:focus{outline:3px solid rgba(47,111,237,.25);outline-offset:2px}
.cr-kpi-purple{background:#6b5dd3}
.cr-modal{display:none;position:fixed;inset:0;z-index:99999}
.cr-modal.cr-modal-open{display:block}
.cr-modal-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.58)}
.cr-modal-dialog{position:relative;width:min(1100px,calc(100vw - 32px));max-height:86vh;margin:7vh auto;background:#fff;border-radius:14px;box-shadow:0 20px 60px rgba(0,0,0,.25);display:flex;flex-direction:column;overflow:hidden}
.cr-modal-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid var(--cr-border)}
.cr-modal-header h2{margin:0;font-size:1.05rem}
.cr-modal-close{border:0;background:transparent;font-size:1.8rem;line-height:1;cursor:pointer;color:var(--cr-muted);padding:2px 8px}
.cr-modal-body{padding:18px 20px;overflow:auto}
.cr-modal-body .cr-table{min-width:760px}
.cr-modal-data{display:none!important}
body.cr-modal-lock{overflow:hidden}

.cr-pill-within{background:#e8f0ff;color:#3157b7;margin-left:4px}.cr-profile-cover{height:180px;border-radius:12px;background:#dfe5ee center/cover no-repeat;position:relative;margin-bottom:60px}.cr-profile-avatar{position:absolute;left:24px;bottom:-48px;width:96px;height:96px;border-radius:50%;overflow:hidden;border:4px solid #fff;background:#fff;box-shadow:0 4px 14px rgba(0,0,0,.12)}.cr-profile-avatar img{width:100%;height:100%;object-fit:cover}.cr-profile-cover + form{padding-top:8px}

.cr-dashboard-filter-card{background:var(--cr-card);border:1px solid var(--cr-border);border-radius:12px;padding:14px 18px;margin:0 0 18px;box-shadow:0 4px 14px rgba(31,36,48,.05)}.cr-filter-form{margin:0;display:flex;align-items:flex-end;gap:16px;flex-wrap:nowrap}.cr-filter-form label{margin:0;min-width:150px;display:flex;align-items:center;gap:8px;white-space:nowrap;font-size:.82rem;font-weight:700;color:var(--cr-text)}.cr-filter-form label:first-child{min-width:260px}.cr-filter-form label:first-child select{flex:1;min-width:180px}.cr-filter-form select{margin:0;min-width:135px;height:40px;padding:0 34px 0 11px;border:1px solid var(--cr-border);border-radius:8px;background:#fff;color:var(--cr-text);font:inherit;cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease}.cr-filter-form select:hover{border-color:#c8ced9}.cr-filter-form select:focus{outline:none;border-color:var(--cr-accent);box-shadow:0 0 0 3px rgba(107,94,211,.12)}.cr-filter-clear{display:inline-flex;align-items:center;justify-content:center;height:40px;padding:0 13px;border:1px solid var(--cr-border);border-radius:8px;background:#fff;color:var(--cr-muted);font-size:.8rem;font-weight:700;text-decoration:none;white-space:nowrap;transition:all .15s ease}.cr-filter-clear:hover{border-color:#c8ced9;color:var(--cr-text);background:#f8f9fb}.cr-section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:14px}.cr-section-head h2{margin:0}.cr-filter-form{margin:0;display:flex;align-items:flex-end;gap:12px;flex-wrap:nowrap}.cr-filter-form label{margin:0;min-width:150px;display:flex;align-items:center;gap:7px;white-space:nowrap}.cr-filter-form select{margin-top:0;min-width:125px}.cr-filter-form label:first-child{min-width:230px}.cr-filter-form label:first-child select{flex:1;min-width:160px}.cr-dashboard-chart-card{padding-bottom:24px}.cr-bar-chart{height:300px;display:flex;align-items:flex-end;gap:10px;padding:18px 8px 0;border-top:1px solid var(--cr-border)}.cr-bar-col{flex:1;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;min-width:36px;border:0;background:transparent;padding:0;cursor:pointer;font:inherit;color:inherit;border-radius:8px 8px 0 0}.cr-bar-col:hover,.cr-bar-col:focus-visible{background:#f5f7ff;outline:none}.cr-bar-col:focus-visible{box-shadow:0 0 0 3px rgba(107,94,211,.2)}.cr-bar-value{font-size:.75rem;font-weight:800;margin-bottom:5px}.cr-bar-track{height:230px;width:min(48px,75%);display:flex;align-items:flex-end;background:#edf1f7;border-radius:8px 8px 3px 3px;overflow:hidden}.cr-bar-fill{width:100%;background:var(--cr-accent);border-radius:8px 8px 3px 3px;min-height:2px}.cr-bar-label{font-size:.72rem;color:var(--cr-muted);margin-top:8px}.cr-goal-badge{background:#eef4ff;color:#3157b7;border-radius:999px;padding:7px 12px;font-size:.75rem;font-weight:800;white-space:nowrap}.cr-goal-table-wrap{overflow:auto}.cr-goal-table{min-width:720px}.cr-goal-status{display:inline-block;padding:4px 9px;border-radius:999px;font-size:.72rem;font-weight:800;white-space:nowrap}.goal-hit{background:#e7f7ee;color:var(--cr-ok)}.goal-none{background:#fff7e8;color:#9a6819}.goal-missed{background:#fdeceb;color:var(--cr-bad)}
@media(max-width:720px){.cr-section-head{align-items:stretch;flex-direction:column}.cr-bar-chart{gap:5px}.cr-bar-track{width:75%}}
.cr-stat-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:24px;margin:0 0 18px}.cr-stat-card{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;min-height:128px;padding:22px 30px;border:0;border-radius:20px;text-decoration:none;color:#fff!important;box-shadow:none;transition:transform .15s ease,box-shadow .15s ease;cursor:pointer}.cr-stat-card span{order:2;font-size:1rem;line-height:1.15;color:#fff!important;font-weight:700}.cr-stat-card strong{order:1;font-size:2.9rem;line-height:1;color:#fff!important;font-weight:800}.cr-stat-card:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(31,36,48,.14)}.cr-stat-card.cr-stat-all{background:#6b5ed3}.cr-stat-card.cr-stat-pending{background:#2e6fed}.cr-stat-card.cr-stat-pending-issuance{background:#e18e2b}.cr-stat-card.cr-stat-approved{background:#30ae5b}.cr-stat-card.cr-stat-rejected{background:#d64545}@media(max-width:1400px){.cr-stat-grid{gap:14px}.cr-stat-card{padding:20px 22px}}@media(max-width:900px){.cr-filter-form{flex-wrap:wrap}.cr-filter-form label{flex:1;min-width:180px}.cr-filter-form label:first-child{min-width:240px}.cr-filter-clear{align-self:flex-end}.cr-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* Dashboard request-list modals */
.cr-dashboard-modal{display:none;position:fixed;inset:0;z-index:100000}
.cr-dashboard-modal.cr-dashboard-modal-open{display:block}
.cr-dashboard-modal-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.58)}
.cr-dashboard-modal-dialog{position:relative;width:min(1200px,calc(100vw - 32px));max-height:86vh;margin:7vh auto;background:#fff;border-radius:14px;box-shadow:0 20px 60px rgba(0,0,0,.25);display:flex;flex-direction:column;overflow:hidden}
.cr-dashboard-modal-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid var(--cr-border)}
.cr-dashboard-modal-header h2{margin:0;font-size:1.05rem}
.cr-dashboard-modal-close{border:0;background:transparent;font-size:1.8rem;line-height:1;cursor:pointer;color:var(--cr-muted);padding:2px 8px}
.cr-dashboard-modal-body{padding:18px 20px;overflow:auto}
.cr-dashboard-modal-body .cr-table{min-width:760px}
@media (max-width:700px){
  .cr-dashboard-modal-dialog{width:calc(100vw - 16px);margin:3vh auto;max-height:92vh}
  .cr-dashboard-modal-body{padding:12px}
}


/* Dashboard modal decision actions and profile avatar */
.cr-avatar{width:56px;height:56px;border-radius:50%;overflow:hidden;background:#dfe3ea;display:flex;align-items:center;justify-content:center}
.cr-avatar img{width:56px;height:56px;object-fit:cover;border-radius:50%}
.cr-table-actions{white-space:nowrap}
.cr-inline-action{display:inline-block;margin-right:8px;color:var(--cr-accent);font-weight:700;text-decoration:none}
.cr-inline-action:hover{text-decoration:underline}
.cr-inline-decision-form{display:inline-flex;gap:6px;align-items:center;margin:0}
.cr-inline-btn{padding:6px 10px;font-size:.75rem;margin:0}
.cr-table-actions .cr-empty{display:inline}
@media(max-width:900px){.cr-table-actions{white-space:normal}.cr-inline-decision-form{margin-top:6px}}


/* Approval page template inspired by the supplied Applications Platform reference */
.cr-approval-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:4px}
.cr-approval-head .cr-title{margin-bottom:4px}
.cr-approval-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.cr-toolbar-form{display:flex;gap:8px;margin:0}
.cr-toolbar-btn{margin:0!important;padding:9px 14px!important;border-radius:4px!important;font-size:.82rem!important}
.cr-toolbar-icon{display:inline-flex;width:38px;height:34px;align-items:center;justify-content:center;border:1px solid #d9dde5;border-radius:4px;background:#fff;color:#667085;text-decoration:none;font-weight:800;font-size:1rem}
.cr-toolbar-edit{background:#79b83f;color:#fff;border-color:#79b83f}
.cr-approval-meta{display:flex;gap:28px;flex-wrap:wrap;color:#667085;font-size:.78rem;margin:4px 0 18px}
.cr-approval-meta strong{color:#4b5563;margin-right:4px}
.cr-approval-tabs{display:flex;gap:28px;border-bottom:1px solid #dfe3ea;margin:0 0 14px;padding-left:2px}
.cr-tab{padding:10px 2px 9px;font-size:.72rem;font-weight:800;color:#667085;letter-spacing:.03em}
.cr-tab-active{color:#1d9bf0;border-bottom:3px solid #1d9bf0;margin-bottom:-1px}
.cr-approval-status-strip{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px}
.cr-status-panel{background:#fff;border:1px solid #e4e7ec;border-radius:8px;overflow:hidden}
.cr-status-panel h2{background:#f4f4f5;padding:10px 14px;text-align:center;font-size:.78rem;font-weight:500;margin:0;border-bottom:1px solid #e4e7ec}
.cr-status-panel .cr-panel-body{padding:14px}
.cr-escalation{margin-top:12px;border-top:1px solid #e4e7ec;padding-top:12px}
.cr-escalation-bar{height:10px;background:repeating-linear-gradient(135deg,#1d9bf0 0,#1d9bf0 8px,#58b7f4 8px,#58b7f4 14px);border-radius:3px}
.cr-escalation-text{text-align:center;font-size:.75rem;color:#667085;margin-top:6px}
@media(max-width:900px){.cr-approval-head{align-items:flex-start;flex-direction:column}.cr-approval-toolbar{justify-content:flex-start}.cr-approval-status-strip{grid-template-columns:1fr}}

/* Submitted-file links in dashboard pop-up and approval details */
.cr-file-link{font-weight:600;text-decoration:none;display:inline-block;max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cr-file-link:hover{text-decoration:underline}


/* Dashboard analytics cards inspired by the supplied reference image. */
.cr-dashboard-visuals{margin-bottom:4px}
.cr-insight-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:0 0 20px}
.cr-insight-card{margin:0;padding:18px 16px;min-height:340px;overflow:hidden;box-shadow:0 2px 8px rgba(16,24,40,.04)}
.cr-insight-card h2{font-size:1.02rem;margin:0 0 10px;color:#20252d}
.cr-hbar-chart{display:flex;flex-direction:column;gap:17px;padding:6px 0 2px}
.cr-hbar-row{display:grid;grid-template-columns:minmax(90px,110px) 1fr 28px;align-items:center;gap:8px;min-height:35px}
.cr-hbar-label{font-size:.73rem;color:#5f6673;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:right}
.cr-hbar-track{height:28px;background:transparent;border-radius:2px;position:relative;overflow:hidden}
.cr-hbar-fill{display:block;height:100%;min-width:2px;background:#2188ee;border-radius:0 2px 2px 0;transition:width .25s ease}
.cr-hbar-row strong{font-size:.72rem;color:#555d69;text-align:left}
.cr-chart-empty{font-size:.78rem;color:var(--cr-muted);padding:35px 10px;text-align:center}
.cr-chart-legend{display:flex;flex-wrap:wrap;gap:5px 9px;min-height:22px;margin:-2px 0 8px;font-size:.64rem;color:#616976}
.cr-chart-legend span{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}
.cr-chart-legend i{display:inline-block;width:8px;height:8px;border-radius:50%}
.cr-stacked-chart{display:flex;flex-direction:column;gap:9px;margin-top:4px;max-height:250px;overflow:auto;padding-right:2px}
.cr-stacked-row{display:grid;grid-template-columns:minmax(92px,125px) 1fr;align-items:center;gap:8px}
.cr-stacked-label{font-size:.68rem;color:#555d69;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:right}
.cr-stacked-track{height:22px;display:flex;background:#f1f3f6;border-radius:2px;overflow:hidden}
.cr-stacked-segment{height:100%;display:flex;align-items:center;justify-content:center;color:#fff;font-size:.61rem;font-weight:800;min-width:1px}
.cr-year-chart{height:245px;display:flex;align-items:flex-end;justify-content:center;gap:35px;padding:10px 12px 2px;border-bottom:1px solid #e7e9ee;background:repeating-linear-gradient(to bottom,transparent 0,transparent 48px,#edf0f4 49px)}
.cr-year-col{height:100%;width:80px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:6px}
.cr-year-col strong{font-size:.72rem;color:#5d6470;min-height:15px}
.cr-year-track{height:175px;width:70px;display:flex;align-items:flex-end;justify-content:center;background:transparent;overflow:hidden}
.cr-year-track span{display:block;width:100%;background:#2188ee;min-height:3px}
.cr-year-col small{font-size:.68rem;color:#606875}
.cr-grouped-chart{height:245px;display:flex;align-items:flex-end;gap:8px;padding:6px 4px 0;border-bottom:1px solid #e7e9ee;overflow-x:auto;background:repeating-linear-gradient(to bottom,transparent 0,transparent 48px,#edf0f4 49px)}
.cr-group-col{min-width:70px;flex:1;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:6px}
.cr-group-bars{height:205px;width:100%;display:flex;align-items:flex-end;justify-content:center;gap:2px}
.cr-group-bar{width:12px;min-height:3px;display:flex;align-items:flex-start;justify-content:center;color:#fff;font-size:8px;font-weight:800;position:relative;border-radius:1px 1px 0 0}
.cr-group-bar b{position:absolute;top:-15px;color:#555d69;font-size:8px;font-weight:700;white-space:nowrap}
.cr-group-col small{font-size:.63rem;color:#606875;white-space:nowrap}
.cr-month-reviewer-chart .cr-group-col{min-width:58px}
.cr-month-reviewer-chart .cr-group-bar{width:11px}
.cr-monthly-card{margin-top:0}
@media(max-width:1200px){.cr-insight-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){.cr-insight-grid{grid-template-columns:1fr}.cr-insight-card{min-height:300px}.cr-grouped-chart,.cr-year-chart{height:220px}.cr-group-bars{height:180px}}


/* Smooth, interactive dashboard analytics. */
.cr-insight-action{position:relative;cursor:pointer;border:0;background:transparent;font:inherit;color:inherit;text-align:inherit;transition:transform .18s ease,opacity .18s ease,filter .18s ease,background-color .18s ease;outline:none}
.cr-insight-action:hover{transform:translateY(-1px);filter:brightness(1.015)}
.cr-insight-action:focus-visible{box-shadow:0 0 0 3px rgba(47,111,237,.18);border-radius:7px}
.cr-insight-action.is-selected{background:rgba(47,111,237,.06);border-radius:8px}
.cr-hbar-row{width:100%;padding:3px 4px}
.cr-hbar-fill{transform-origin:left center;transition:width .65s cubic-bezier(.22,1,.36,1),filter .18s ease}
.cr-insight-card.is-animated .cr-hbar-fill{animation:crChartBarIn .7s cubic-bezier(.22,1,.36,1) both}
.cr-stacked-segment,.cr-group-bar,.cr-year-track span{transition:opacity .2s ease,filter .2s ease,transform .2s ease}
.cr-stacked-row{width:100%;padding:3px 4px}
.cr-year-col,.cr-group-col{border:0;background:transparent;font:inherit;color:inherit;padding:0;cursor:pointer}
.cr-year-col:hover .cr-year-track span,.cr-group-col:hover .cr-group-bar,.cr-stacked-row:hover .cr-stacked-segment{filter:brightness(1.08)}
.cr-year-track span{transform-origin:bottom center;animation:crChartGrow .75s cubic-bezier(.22,1,.36,1) both}
.cr-group-bar{transform-origin:bottom center;animation:crChartGrow .7s cubic-bezier(.22,1,.36,1) both}
.cr-stacked-segment{animation:crSegmentIn .55s cubic-bezier(.22,1,.36,1) both}
.cr-chart-muted{opacity:.24!important;filter:grayscale(.25)!important}
.cr-chart-focus{transform:translateY(-2px);filter:brightness(1.06);z-index:2}
.cr-insight-modal-summary{display:flex;align-items:baseline;gap:9px;padding:2px 0 10px}
.cr-insight-modal-summary strong{font-size:2rem;line-height:1;color:#20252d}
.cr-insight-modal-summary span{color:var(--cr-muted);font-size:.85rem}
.cr-insight-filter-pill{display:inline-flex;align-items:center;min-height:26px;padding:5px 10px;margin:0 0 14px;border-radius:999px;background:#eef4ff;color:#3157b7;font-size:.72rem;font-weight:800}
.cr-insight-filter-pill:empty{display:none}
.cr-dashboard-modal{opacity:0;visibility:hidden;transition:opacity .18s ease,visibility 0s linear .18s}
.cr-dashboard-modal.cr-dashboard-modal-open{opacity:1;visibility:visible;transition:opacity .18s ease,visibility 0s linear 0s}
.cr-dashboard-modal-backdrop{opacity:0;transition:opacity .2s ease}
.cr-dashboard-modal-open .cr-dashboard-modal-backdrop{opacity:1}
.cr-dashboard-modal-dialog{transform:translateY(12px) scale(.985);opacity:.96;transition:transform .22s cubic-bezier(.22,1,.36,1),opacity .2s ease}
.cr-dashboard-modal-open .cr-dashboard-modal-dialog{transform:translateY(0) scale(1);opacity:1}
@keyframes crChartGrow{from{transform:scaleY(0);opacity:.25}to{transform:scaleY(1);opacity:1}}
@keyframes crChartBarIn{from{transform:scaleX(0);opacity:.25}to{transform:scaleX(1);opacity:1}}
@keyframes crSegmentIn{from{opacity:0;transform:scaleX(0)}to{opacity:1;transform:scaleX(1)}}
@media(prefers-reduced-motion:reduce){.cr-insight-action,.cr-hbar-fill,.cr-stacked-segment,.cr-group-bar,.cr-year-track span,.cr-dashboard-modal,.cr-dashboard-modal-backdrop,.cr-dashboard-modal-dialog{animation:none!important;transition:none!important}.cr-dashboard-modal-dialog{transform:none!important}.cr-dashboard-modal{opacity:1;visibility:visible}}

/* v2.4.17 workflow enhancements */
.cr-global-search-form{display:flex;gap:10px;align-items:center;margin-bottom:12px}.cr-global-search-form input{flex:1;min-width:180px}.cr-kpi-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:0 0 18px}.cr-kpi-card{padding:16px 17px;border:1px solid #e6e9ef;border-radius:12px;background:#fff;box-shadow:0 2px 8px rgba(16,24,40,.04);display:flex;flex-direction:column;gap:8px}.cr-kpi-card span{font-size:11px;font-weight:700;color:#667085}.cr-kpi-card strong{font-size:22px;color:#20252d}.cr-kpi-purple{border-top:3px solid #6b5ed3}.cr-kpi-blue{border-top:3px solid #2e6fed}.cr-kpi-green{border-top:3px solid #30ae5b}.cr-kpi-orange{border-top:3px solid #e18e2b}.cr-kpi-red{border-top:3px solid #d64545}.cr-aging-card{margin-bottom:18px}.cr-section-head{display:flex;justify-content:space-between;align-items:center}.cr-aging-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.cr-aging-item{padding:14px;border-radius:10px;background:#f7f8fa;text-align:center}.cr-aging-item strong{display:block;font-size:22px;color:#20252d}.cr-aging-item span{font-size:12px;color:#667085}.cr-task-kpis{display:flex;gap:12px;margin:0 0 16px}.cr-task-kpis>div{background:#fff;border:1px solid #e6e9ef;border-radius:12px;padding:12px 18px;min-width:150px}.cr-task-kpis strong{display:block;font-size:22px}.cr-task-kpis span{font-size:12px;color:#667085}.cr-attachment-list{display:flex;flex-direction:column;gap:8px}.cr-attachment-item{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid #e6e9ef;border-radius:9px;text-decoration:none;color:#344054;background:#fafbfc}.cr-attachment-item:hover{background:#f3f6fb}.cr-attachment-item small{display:block;color:#98a2b3;font-size:10px;margin-top:2px}.cr-comment-list{display:flex;flex-direction:column;gap:10px;max-height:360px;overflow:auto;margin-bottom:14px}.cr-comment-item{padding:11px 12px;border-radius:9px;background:#f7f8fa}.cr-comment-item strong{font-size:12px}.cr-comment-item small{margin-left:8px;color:#98a2b3;font-size:10px}.cr-comment-item p{margin:6px 0 0;font-size:13px;white-space:pre-wrap}.cr-comment-form textarea{min-height:90px;margin-bottom:8px}.cr-inline-upload-form{margin-top:14px;padding-top:12px;border-top:1px solid #edf0f4}.cr-inline-upload-form label{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:700}.cr-inline-upload-form input[type=file]{padding:8px;border:1px solid #d9deea;border-radius:8px;background:#fff;margin-bottom:8px}.cr-timeline{position:relative;margin:8px 0 4px;padding-left:26px}.cr-timeline:before{content:"";position:absolute;left:7px;top:6px;bottom:6px;width:2px;background:#e5e7eb}.cr-timeline-item{position:relative;padding:0 0 18px;display:flex;gap:12px}.cr-timeline-dot{position:absolute;left:-23px;top:3px;width:10px;height:10px;border-radius:50%;background:#2e6fed;border:3px solid #eef4ff}.cr-timeline-item strong{display:block;font-size:13px;color:#344054}.cr-timeline-item small{display:block;margin-top:4px;color:#98a2b3;font-size:11px}
@media(max-width:1100px){.cr-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.cr-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cr-aging-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cr-global-search-form{flex-wrap:wrap}.cr-global-search-form input{flex-basis:100%}.cr-task-kpis{flex-wrap:wrap}}


.cr-upload-message{margin-top:10px;font-size:13px;font-weight:600;min-height:20px}.cr-upload-success{color:#218838}.cr-upload-error{color:#c62828}.cr-inline-upload-form button:disabled{opacity:.65;cursor:wait}

.cr-attachment-item{display:flex;align-items:center;justify-content:space-between;gap:12px}
.cr-attachment-item>a{display:flex;align-items:center;gap:10px;flex:1;min-width:0;text-decoration:none}
.cr-attachment-delete{border:0;background:transparent;color:#d64545;font-size:12px;font-weight:600;cursor:pointer;padding:6px 8px;border-radius:6px;white-space:nowrap}
.cr-attachment-delete:hover{background:#fff0f0}
.cr-attachment-delete:disabled{opacity:.55;cursor:wait}

/* v2.4.40 Export Reports */
.cr-export-trigger{white-space:nowrap;height:40px}.cr-export-inline{flex:0 0 auto}.cr-export-modal .cr-dashboard-modal-dialog{width:min(720px,calc(100vw - 32px))}.cr-export-help{margin:0 0 16px;color:#667085;font-size:12px;line-height:1.55}.cr-export-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.cr-export-grid label{display:flex;flex-direction:column;gap:6px;color:#344054;font-size:12px;font-weight:700}.cr-export-grid select{width:100%;box-sizing:border-box;padding:10px 11px;border:1px solid #d9deea;border-radius:8px;background:#fff;color:#344054}.cr-export-scope{margin-top:16px;padding:11px 12px;border-radius:9px;background:#f7f8fc;color:#667085;font-size:11px}.cr-export-scope strong{color:#344054}.cr-export-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px;padding-top:14px;border-top:1px solid #edf0f5}.cr-export-actions .cr-btn{width:130px;min-width:130px;height:40px;min-height:40px;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;padding:0 14px;margin:0!important;vertical-align:middle}@media(max-width:650px){.cr-export-inline{width:100%}.cr-export-grid{grid-template-columns:1fr}}

/* v2.5.6 notification usability */
.cr-notification-dropdown{max-height:460px;overflow:hidden;display:flex;flex-direction:column;}
.cr-notification-head{flex:0 0 auto;position:sticky;top:0;background:#fff;z-index:2;}
.cr-notification-list{max-height:405px;overflow-y:scroll;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:auto;}
.cr-notification-list::-webkit-scrollbar{width:9px;}
.cr-notification-list::-webkit-scrollbar-track{background:#f1f3f7;border-radius:10px;}
.cr-notification-list::-webkit-scrollbar-thumb{background:#aab2c2;border-radius:10px;border:2px solid #f1f3f7;}
.cr-notification-list::-webkit-scrollbar-thumb:hover{background:#7d879a;}
.cr-notification-unread-label{font-size:10px;color:#8a94a8;}
.cr-notification-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;}
.cr-notification-link{display:block;min-width:0;text-decoration:none;color:#344054;}
.cr-notification-toggle{align-self:center;border:0;background:none;color:#5146a5;font-size:10px;font-weight:700;cursor:pointer;padding:4px 0;}
.cr-notification-toggle:hover{text-decoration:underline;}
/* v2.5.20 - Equal-width Attachments and Comments panels */
.cr-request-workflow-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:stretch;width:100%;}
.cr-request-workflow-grid>.cr-card{width:100%;min-width:0;min-height:0;height:100%;box-sizing:border-box;display:flex;flex-direction:column;}
.cr-request-workflow-grid .cr-attachments-area,.cr-request-workflow-grid .cr-comments-card{min-width:0;width:100%;box-sizing:border-box;}
.cr-request-workflow-grid .cr-attachments-list,.cr-request-workflow-grid .cr-comment-list{min-width:0;max-width:100%;box-sizing:border-box;}
.cr-request-workflow-grid .cr-attachments-list{max-height:320px;overflow:auto;}
.cr-request-workflow-grid .cr-comment-list{max-height:320px;overflow:auto;}
.cr-request-workflow-grid .cr-attachment-item{min-width:0;max-width:100%;box-sizing:border-box;}
@media(max-width:760px){.cr-request-workflow-grid{grid-template-columns:1fr;}.cr-request-workflow-grid>.cr-card{height:auto;}.cr-request-workflow-grid .cr-attachments-list,.cr-request-workflow-grid .cr-comment-list{max-height:none;}}


/* v2.5.21 - Modern Request Timeline & Approval Milestones */
.cr-modern-history-card{overflow:hidden;padding:0!important;border:1px solid #e2e8f0!important;box-shadow:0 8px 28px rgba(15,23,42,.06)!important;background:#fff!important;}
.cr-history-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 22px;border-bottom:1px solid #edf1f6;background:linear-gradient(135deg,#f8fbff 0%,#fff 72%);}
.cr-milestones-card .cr-history-header{background:linear-gradient(135deg,#faf8ff 0%,#fff 72%);}
.cr-history-heading{display:flex;align-items:center;gap:13px;min-width:0;}
.cr-history-heading h2{margin:0!important;padding:0!important;font-size:19px!important;line-height:1.2;color:#101828!important;letter-spacing:-.01em;}
.cr-history-heading p{margin:5px 0 0!important;color:#667085;font-size:12px;line-height:1.35;}
.cr-history-icon{display:inline-flex;width:44px;height:44px;flex:0 0 44px;align-items:center;justify-content:center;border-radius:14px;font-size:22px;font-weight:800;color:#fff;box-shadow:0 5px 12px rgba(37,99,235,.18);}
.cr-history-icon-timeline{background:linear-gradient(135deg,#38a7ff,#2e6fed);}
.cr-history-icon-milestone{background:linear-gradient(135deg,#8b6cff,#6b5ed3);}
.cr-history-count,.cr-history-complete-badge{display:inline-flex;align-items:center;gap:5px;padding:9px 13px;border-radius:999px;background:#edf5ff;color:#2e6fed;font-size:11px;font-weight:800;white-space:nowrap;}
.cr-history-count strong{font-size:13px;}
.cr-history-complete-badge{background:#fff4df;color:#c87900;}
.cr-history-complete-badge.is-complete{background:#e8f8ee;color:#1f9d52;}
.cr-modern-timeline{position:relative;padding:18px 22px 10px;}
.cr-modern-timeline:before{content:"";position:absolute;left:43px;top:25px;bottom:26px;width:2px;background:linear-gradient(#9bd4ff,#d8e7ff 60%,#dbe7f6);}
.cr-modern-timeline-item{position:relative;display:grid;grid-template-columns:44px minmax(0,1fr);gap:14px;padding:0 0 12px;}
.cr-modern-timeline-node{position:relative;z-index:2;width:34px;height:34px;margin-left:0;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#2e6fed;color:#fff;border:4px solid #edf5ff;font-size:13px;font-weight:900;box-shadow:0 3px 8px rgba(46,111,237,.16);}
.cr-modern-timeline-body{min-width:0;padding:12px 14px;border:1px solid #e8edf4;border-radius:12px;background:linear-gradient(135deg,#fff,#f9fbfd);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;}
.cr-modern-timeline-body:hover{transform:translateY(-1px);box-shadow:0 6px 16px rgba(16,24,40,.06);border-color:#d5deeb;}
.cr-modern-timeline-main{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;}
.cr-modern-timeline-main strong{display:block;color:#101828;font-size:13px;line-height:1.35;}
.cr-modern-timeline-date{color:#667085;font-size:10.5px;white-space:nowrap;}
.cr-modern-timeline-user{display:flex;align-items:center;gap:7px;margin-top:9px;color:#667085;font-size:10.5px;font-weight:600;}
.cr-history-avatar{display:inline-flex;width:25px;height:25px;align-items:center;justify-content:center;border-radius:50%;background:#e8f1ff;color:#2e6fed;font-size:9px;font-weight:800;}
.cr-event-bypass .cr-modern-timeline-node{background:#6b5ed3;border-color:#f0edff;}
.cr-event-issued .cr-modern-timeline-node,.cr-event-issuance .cr-modern-timeline-node{background:#30ae5b;border-color:#e9f8ee;}
.cr-event-comment .cr-modern-timeline-node{background:#2e6fed;border-color:#edf5ff;}
.cr-event-attachment .cr-modern-timeline-node{background:#e18e2b;border-color:#fff4df;}
.cr-event-updated .cr-modern-timeline-node{background:#64748b;border-color:#f1f5f9;}
.cr-milestones-list{position:relative;padding:18px 22px 22px;}
.cr-milestones-list:before{content:"";position:absolute;left:42px;top:34px;bottom:35px;width:2px;background:linear-gradient(#b9e6ca,#d8dff1 50%,#ffdca7);}
.cr-milestone-item{position:relative;display:grid;grid-template-columns:44px minmax(0,1fr);gap:14px;margin-bottom:12px;}
.cr-milestone-item:last-child{margin-bottom:0;}
.cr-milestone-number{position:relative;z-index:2;width:34px;height:34px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#2e6fed;color:#fff;border:4px solid #edf5ff;font-size:12px;font-weight:900;box-shadow:0 3px 8px rgba(46,111,237,.14);}
.cr-milestone-content{min-width:0;padding:14px 15px;border:1px solid #e7ecf3;border-radius:12px;background:#fff;box-shadow:0 3px 10px rgba(16,24,40,.035);}
.cr-milestone-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;}
.cr-milestone-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0;}
.cr-milestone-title strong{font-size:13px;color:#101828;line-height:1.3;}
.cr-milestone-pill{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;background:#e8f8ee;color:#1f9d52;font-size:9.5px;font-weight:800;white-space:nowrap;}
.cr-milestone-date{color:#667085;font-size:10px;white-space:nowrap;text-align:right;}
.cr-milestone-meta{display:grid;grid-template-columns:1fr 1fr 1fr;gap:14px;margin-top:13px;padding-top:11px;border-top:1px solid #edf0f4;}
.cr-milestone-meta div{min-width:0;}
.cr-milestone-meta span{display:block;color:#667085;font-size:9.5px;text-transform:uppercase;letter-spacing:.04em;margin-bottom:4px;}
.cr-milestone-meta strong{display:block;color:#101828;font-size:11.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.cr-milestone-comment{margin-top:10px;padding:8px 10px;border-radius:8px;background:#f6f8fb;color:#667085;font-size:10.5px;line-height:1.4;}
.cr-milestone-item.is-bypassed .cr-milestone-number{background:#6b5ed3;border-color:#f0edff;}
.cr-milestone-item.is-bypassed .cr-milestone-content{background:linear-gradient(135deg,#fcfaff,#fff);border-color:#e8e0ff;}
.cr-milestone-item.is-bypassed .cr-milestone-pill{background:#efeaff;color:#634fc4;}
.cr-milestone-item.is-bypassed-admin .cr-milestone-number{background:#e18e2b;border-color:#fff4df;}
.cr-milestone-item.is-bypassed-admin .cr-milestone-content{background:linear-gradient(135deg,#fffaf2,#fff);border-color:#f5e0bc;}
.cr-milestone-item.is-bypassed-admin .cr-milestone-pill{background:#fff1d7;color:#b66b00;}
.cr-milestone-item.is-pending .cr-milestone-number{background:#e18e2b;border-color:#fff4df;}
.cr-milestone-item.is-pending .cr-milestone-content{background:linear-gradient(135deg,#fffaf2,#fff);border-color:#f2dfbd;}
.cr-milestone-item.is-pending .cr-milestone-pill{background:#fff0d2;color:#c87900;}
.cr-milestone-item.is-rejected .cr-milestone-number{background:#d64545;border-color:#ffeded;}
.cr-milestone-item.is-rejected .cr-milestone-pill{background:#ffeded;color:#c23b3b;}
.cr-milestone-item.is-upcoming .cr-milestone-number{background:#94a3b8;border-color:#f1f5f9;}
.cr-milestone-item.is-upcoming .cr-milestone-content{opacity:.82;}
.cr-milestone-item.is-upcoming .cr-milestone-pill{background:#f1f5f9;color:#64748b;}
.cr-milestone-item.is-completed .cr-milestone-number{background:#30ae5b;border-color:#e9f8ee;}
.cr-milestone-item.is-completed .cr-milestone-pill{background:#e8f8ee;color:#1f9d52;}
@media(max-width:900px){
 .cr-history-header{align-items:flex-start;flex-direction:column;}
 .cr-history-count,.cr-history-complete-badge{align-self:flex-start;}
 .cr-milestone-meta{grid-template-columns:1fr 1fr;}
}
@media(max-width:600px){
 .cr-modern-timeline,.cr-milestones-list{padding-left:12px;padding-right:12px;}
 .cr-modern-timeline:before,.cr-milestones-list:before{left:32px;}
 .cr-modern-timeline-item,.cr-milestone-item{grid-template-columns:34px minmax(0,1fr);gap:10px;}
 .cr-modern-timeline-node,.cr-milestone-number{width:30px;height:30px;font-size:11px;}
 .cr-history-heading{align-items:flex-start;}
 .cr-history-icon{width:38px;height:38px;flex-basis:38px;font-size:19px;}
 .cr-history-heading h2{font-size:16px!important;}
 .cr-milestone-meta{grid-template-columns:1fr;gap:9px;}
 .cr-milestone-top{flex-direction:column;}
 .cr-milestone-date{text-align:left;}
}

/* v2.5.24 - Sticky navigation, account controls and page heading */
@media (min-width:721px){
  .cr-app{overflow:visible;align-items:flex-start}
  .cr-sidebar{position:sticky;top:0;height:100vh;max-height:100vh;overflow-y:auto;align-self:flex-start;z-index:90}
  .cr-main{min-width:0;overflow-x:visible}
}
.cr-topbar{
  position:sticky;
  top:0;
  z-index:80;
  background:var(--cr-bg);
  padding:8px 0 10px;
  margin-top:-8px;
  margin-bottom:12px;
  border-bottom:1px solid rgba(228,231,236,.92);
}
.cr-topbar::after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:-1px;height:1px;
  background:linear-gradient(90deg,transparent,var(--cr-border),transparent);
  pointer-events:none;
}
.cr-title{
  position:sticky;
  top:57px;
  z-index:70;
  background:var(--cr-bg);
  padding:8px 0 10px;
  margin:0 0 12px;
  border-bottom:1px solid rgba(228,231,236,.82);
}
.cr-title + .cr-sub{position:relative;z-index:65}
@media (max-width:720px){
  .cr-sidebar{position:sticky;top:0;z-index:90}
  .cr-topbar{top:0;z-index:80;padding-top:8px}
  .cr-title{top:56px;z-index:70}
}

/* v2.5.32 - Modern Edit / Delete action buttons in request tables */
.cr-table-actions .cr-action-btn{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;margin:0 6px 0 0;border:1px solid transparent;border-radius:8px;font:inherit;font-size:.8rem;font-weight:700;line-height:1;text-decoration:none;cursor:pointer;vertical-align:middle;transition:background-color .15s ease,color .15s ease,border-color .15s ease,box-shadow .15s ease,transform .1s ease}
.cr-table-actions .cr-action-btn .cr-action-icon{flex:0 0 auto;display:block}
.cr-table-actions .cr-action-btn:hover{text-decoration:none;transform:translateY(-1px)}
.cr-table-actions .cr-action-btn:active{transform:translateY(0)}
.cr-table-actions .cr-action-btn:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(91,75,213,.25)}
.cr-table-actions .cr-action-edit{background:#eef2ff;color:#3b49c9;border-color:#d7ddfb}
.cr-table-actions .cr-action-edit:hover{background:#3b49c9;color:#fff;border-color:#3b49c9;box-shadow:0 4px 10px rgba(59,73,201,.28)}
.cr-table-actions .cr-action-delete{background:#fff1f1;color:#c62828;border-color:#f7d0d0}
.cr-table-actions .cr-action-delete:hover{background:#d93636;color:#fff;border-color:#d93636;box-shadow:0 4px 10px rgba(217,54,54,.28)}
.cr-table-actions .cr-inline-delete-form{display:inline-block;margin:0;vertical-align:middle}
.cr-table-actions .cr-inline-delete-form .cr-action-btn{margin-right:6px}
@media(max-width:900px){.cr-table-actions .cr-action-btn{margin-bottom:6px}}

/* Organization chart */
.cr-org-wrap{background:#f6efe3;border-radius:14px;padding:28px 20px 36px;color:#2f2f2f}
.cr-org-head{text-align:center;margin-bottom:26px}
.cr-org-head h2{margin:0;font-size:2.1rem;font-weight:800;letter-spacing:.01em;color:#2f2f2f}
.cr-org-head p{margin:4px 0 0;font-size:1.25rem;font-weight:400;color:#3a3a3a}
.cr-org-scroll{overflow-x:auto;padding-bottom:8px}
.cr-org-tree{display:flex;justify-content:center;min-width:max-content;margin:0 auto}
.cr-org-tree ul{list-style:none;margin:0;padding:26px 0 0;display:flex;justify-content:center;position:relative}
.cr-org-tree>ul{padding-top:0}
.cr-org-tree li{list-style:none;position:relative;display:flex;flex-direction:column;align-items:center;padding:26px 9px 0;text-align:center}
.cr-org-tree>ul>li{padding-top:0}
.cr-org-tree li::before,.cr-org-tree li::after{content:"";position:absolute;top:0;right:50%;width:50%;height:26px;border-top:1.5px solid #2f2f2f}
.cr-org-tree li::after{right:auto;left:50%;border-left:1.5px solid #2f2f2f}
.cr-org-tree li:first-child::before,.cr-org-tree li:last-child::after{border:0 none}
.cr-org-tree li:last-child::before{border-right:1.5px solid #2f2f2f;border-radius:0}
.cr-org-tree li:first-child::after{border-radius:0}
.cr-org-tree li:only-child::before,.cr-org-tree li:only-child::after{display:none}
.cr-org-tree>ul>li::before,.cr-org-tree>ul>li::after{display:none}
.cr-org-tree ul ul::before{content:"";position:absolute;top:0;left:50%;height:26px;border-left:1.5px solid #2f2f2f}
.cr-org-card{background:#f6efe3;border:1px solid #2f2f2f;border-radius:10px;box-sizing:border-box}
.cr-org-photo{display:block;border-radius:50%;overflow:hidden;background:#e3d9c6;flex:none}
.cr-org-photo img{width:100%;height:100%;object-fit:cover;display:block;margin:0;border-radius:0}
.cr-org-leader{display:flex;align-items:center;gap:16px;padding:12px 18px;min-width:310px;text-align:left}
.cr-org-leader .cr-org-photo{width:84px;height:84px}
.cr-org-info strong{display:block;font-size:1.15rem;font-weight:800;text-transform:uppercase;line-height:1.2;color:#2f2f2f}
.cr-org-info span{display:block;font-size:.8rem;color:#3a3a3a;margin-top:3px}
.cr-org-info em{display:block;font-size:.72rem;font-style:normal;color:#6b6252;margin-top:2px}
.cr-org-team{padding:12px 22px;font-weight:800;font-size:1rem;text-transform:uppercase;color:#2f2f2f;white-space:nowrap}
.cr-org-person{width:150px;padding:14px 8px 12px;display:flex;flex-direction:column;align-items:center}
.cr-org-person .cr-org-photo{width:110px;height:110px;margin-bottom:14px}
.cr-org-person strong{font-size:.78rem;font-weight:800;text-transform:uppercase;line-height:1.25;color:#2f2f2f}
.cr-org-person span:last-child{font-size:.72rem;color:#3a3a3a;margin-top:3px}
@media(max-width:700px){.cr-org-head h2{font-size:1.5rem}.cr-org-head p{font-size:1rem}}
.cr-org-tree li:only-child{padding-top:0}
.cr-org-leader .cr-org-photo{margin-right:16px}
.cr-org-leader{gap:0}

/* Credit Reviews Submitted: Credit Review + Top-up bars, filter and trend line */
.cr-monthly-title-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.cr-monthly-title-row h2{margin:0}
.cr-monthly-type-filter{width:auto;min-width:190px;margin:0;padding:6px 10px;font-size:.82rem;font-weight:600}
.cr-monthly-legend{display:flex;align-items:center;gap:14px;flex-wrap:wrap;font-size:.76rem;color:var(--cr-muted)}
.cr-monthly-legend span{display:inline-flex;align-items:center;gap:6px}
.cr-monthly-legend b{font-weight:600}
.cr-monthly-legend i{display:inline-block;width:12px;height:12px;border-radius:3px}
.cr-lg-cr{background:var(--cr-accent)}
.cr-lg-tu{background:#f59e0b}
.cr-monthly-legend i.cr-lg-line{width:18px;height:0;border-top:3px solid #1f2937;border-radius:2px}
.cr-bar-chart-pair{position:relative}
.cr-bar-col-pair{cursor:default;justify-content:flex-end}
.cr-bar-pair{display:flex;align-items:flex-end;justify-content:center;gap:4px;width:100%;height:auto}
.cr-bar-series{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;border:0;background:transparent;padding:0;cursor:pointer;font:inherit;color:inherit;flex:0 1 38px;min-width:14px}
.cr-bar-chart-pair .cr-bar-track{width:100%}
.cr-bar-series-tu .cr-bar-fill{background:#f59e0b}
.cr-bar-series:hover .cr-bar-track{box-shadow:0 0 0 2px rgba(31,41,55,.15)}
.cr-bar-line{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;overflow:visible}
@media(max-width:720px){.cr-bar-series{flex-basis:22px}.cr-monthly-legend{gap:8px}}

/* Credit Analyst Monthly Goal type filter */
.cr-goal-title-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.cr-goal-title-row h2{margin:0}
.cr-goal-type-filter{width:auto;min-width:150px;margin:0;padding:6px 10px;font-size:.82rem;font-weight:600}
.cr-goal-panel[hidden]{display:none}

/* Clickable request rows: rounded cards with a gray outline that turns blue on hover */
.cr-table.cr-table-rowlink{border-collapse:separate;border-spacing:0 10px}
.cr-table.cr-table-rowlink thead th{border-bottom:0;padding-bottom:2px}
.cr-table.cr-table-rowlink tbody tr.cr-row-link td{background:var(--cr-card);border-top:1.5px solid #cbd0d8;border-bottom:1.5px solid #cbd0d8;transition:background .15s,border-color .15s}
.cr-table.cr-table-rowlink tbody tr.cr-row-link td:first-child{border-left:1.5px solid #cbd0d8;border-radius:12px 0 0 12px}
.cr-table.cr-table-rowlink tbody tr.cr-row-link td:last-child{border-right:1.5px solid #cbd0d8;border-radius:0 12px 12px 0}
.cr-table.cr-table-rowlink tbody tr.cr-row-link:hover td{background:#f2f6ff;border-top-color:var(--cr-accent);border-bottom-color:var(--cr-accent)}
.cr-table.cr-table-rowlink tbody tr.cr-row-link:hover td:first-child{border-left-color:var(--cr-accent)}
.cr-table.cr-table-rowlink tbody tr.cr-row-link:hover td:last-child{border-right-color:var(--cr-accent)}
