.sp241-dialog {
  --sp241-ink:#122954;
  --sp241-muted:#476184;
  --sp241-line:#d6e3fa;
  --sp241-active:linear-gradient(112deg,#087de1,#1249e7 55%,#7536ea);
  box-sizing:border-box;
  width:min(1060px,calc(100vw - 38px));
  max-width:none;
  max-height:calc(100dvh - 38px);
  padding:0;
  border:1px solid #e6eeff;
  border-radius:22px;
  overflow:hidden;
  color:var(--sp241-ink);
  background:#f3f7ff;
  box-shadow:0 24px 75px #091e4e70;
}
.sp241-dialog[open] {display:flex;flex-direction:column}
.sp241-dialog[data-profile-ready] {height:min(700px,calc(100dvh - 38px))}
.sp241-dialog::backdrop {background:#0c29567d;backdrop-filter:blur(4px)}
.sp241-dialog :focus-visible,.sp241-report-dialog :focus-visible {outline:2px solid #357aef;outline-offset:2px}
.sp241-dialog h2,.sp241-dialog h3,.sp241-dialog dl,.sp241-dialog dd {margin:0}
.sp241-dialog .gb-ui-icon {flex:none;width:20px;height:20px;object-fit:contain}
.sp241-banner {
  isolation:isolate;
  position:relative;
  display:flex;
  flex:none;
  align-items:center;
  gap:13px;
  min-height:91px;
  padding:16px 23px 20px;
  background:
    radial-gradient(ellipse 60% 175% at 104% 155%,#af93fa88 62%,transparent 63%),
    radial-gradient(ellipse 48% 150% at 100% 140%,#8561f6 65%,transparent 66%),
    radial-gradient(ellipse 70% 200% at 114% -67%,#0099fb68 67%,transparent 68%),
    linear-gradient(111deg,#0645a7,#095ad5 43%,#5830e1 81%,#853cea);
  color:#fff;
}
.sp241-banner-icon {
  flex:none;
  width:49px;
  height:49px;
  display:grid;
  place-items:center;
  border:1px solid #b1ddff76;
  border-radius:13px;
  background:linear-gradient(155deg,#40a9f5,#0c58dd);
  box-shadow:0 5px 12px #072a8756;
}
.sp241-banner-icon .gb-ui-icon {width:29px;height:29px;filter:drop-shadow(0 2px 3px #08347c90)}
.sp241-banner-title {min-width:0}
.sp241-banner-title h2 {font-size:clamp(21px,3vw,29px);line-height:1.08;letter-spacing:-.035em;color:#fff}
.sp241-banner-title p {margin:5px 0 0;color:#eff7ff;font-size:13px}
.sp241-banner-art {position:absolute;z-index:-1;right:168px;bottom:0;width:164px;height:94px;pointer-events:none}
.sp241-banner-art .gb-ui-icon {position:absolute;width:96px;height:96px;filter:drop-shadow(0 4px 8px #13228465)}
.sp241-banner-art .gb-ui-icon:first-child {left:8px;bottom:-28px;transform:rotate(-8deg)}
.sp241-banner-art .gb-ui-icon:last-child {right:8px;bottom:6px;transform:rotate(8deg)}
.sp241-navigation {display:flex;flex:none;gap:6px;margin-left:auto;align-self:flex-start}
.sp241-navigation button,.sp241-row-actions button {
  display:grid;
  place-items:center;
  border:1px solid #e2eaff;
  border-radius:9px;
  background:#f7faff;
  color:#173f83;
  cursor:pointer;
}
.sp241-navigation button {width:34px;height:34px;font-size:24px;line-height:1;box-shadow:0 3px 7px #193b8140}
.sp241-navigation button:hover:not(:disabled),.sp241-row-actions button:hover {background:#dcecff}
.sp241-navigation button:disabled {opacity:.53;cursor:default}
.sp241-identity {
  position:relative;
  display:flex;
  flex:none;
  align-items:center;
  gap:16px;
  margin-top:-7px;
  padding:12px 23px;
  border-radius:15px 15px 0 0;
  background:linear-gradient(113deg,#fff,#edf2ff);
}
.sp241-photo-wrap {position:relative;flex:none}
.sp241-photo {
  display:block;
  width:69px;
  height:74px;
  border:2px solid #fff;
  border-radius:12px;
  background:#e8f0ff;
  object-fit:cover;
  box-shadow:0 3px 10px #18448934;
}
.sp241-photo-status {position:absolute;right:-2px;bottom:0;width:15px;height:15px;border:2px solid white;border-radius:50%;background:#139957}
.sp241-photo-status.inactive {background:#8d9cb5}
.sp241-identity-info {min-width:0;padding-left:15px;border-left:1px solid #d5e2fa}
.sp241-identity h3 {font-size:clamp(19px,3vw,29px);letter-spacing:-.037em;line-height:1.12;overflow-wrap:anywhere}
.sp241-meta {display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:8px}
.sp241-meta>span,.sp241-subject,.sp241-position {
  display:inline-flex;
  align-items:center;
  gap:5px;
  max-width:100%;
  padding:5px 9px;
  border:1px solid #d6e3fb;
  border-radius:999px;
  background:#f7faff;
  color:#163c7b;
  font-size:11px;
}
.sp241-meta .gb-ui-icon,.sp241-subject .gb-ui-icon {width:16px;height:16px}
.sp241-meta .sp241-status {border-color:#c9efdc;background:#daf6e9;color:#136a49;font-weight:800}
.sp241-meta .sp241-status.inactive {border-color:#dae1ec;background:#edf1f6;color:#4a5e7b}
.sp241-status i {width:7px;height:7px;border-radius:50%;background:currentColor}
.sp241-tabs {
  flex:none;
  display:grid;
  --sp241-tab-gap:4px;
  --sp241-tab-padding:4px;
  position:relative;
  isolation:isolate;
  grid-template-columns:repeat(var(--sp241-tab-count),minmax(0,1fr));
  gap:var(--sp241-tab-gap);
  margin:0 16px 9px;
  padding:var(--sp241-tab-padding);
  border:1px solid var(--sp241-line);
  border-radius:13px;
  background:#f9fbff;
  box-shadow:0 2px 5px #10387514;
}
.sp241-tab-indicator {
  position:absolute;
  z-index:-1;
  inset-block:var(--sp241-tab-padding);
  inset-inline-start:var(--sp241-tab-padding);
  width:calc((100% - 2 * var(--sp241-tab-padding) - (var(--sp241-tab-count) - 1) * var(--sp241-tab-gap)) / var(--sp241-tab-count));
  transform:translateX(calc(var(--sp241-tab-index) * (100% + var(--sp241-tab-gap))));
  border-radius:9px;
  background:var(--sp241-active);
  box-shadow:0 3px 7px #2b56d63c;
  transition:transform .23s cubic-bezier(.22,.72,.22,1);
  pointer-events:none;
}
.sp241-tabs button {
  display:flex;
  justify-content:center;
  align-items:center;
  gap:7px;
  padding:7px 4px;
  border:0;
  border-radius:9px;
  background:transparent;
  color:#183c77;
  font:inherit;
  font-size:12px;
  font-weight:800;
  cursor:pointer;
  transition:color .16s ease;
}
.sp241-tabs button:not([aria-selected="true"]):hover {background:#e3eeff88}
.sp241-tabs button[aria-selected="true"] {color:#fff}
@media(prefers-reduced-motion:reduce) {
  .sp241-tab-indicator,.sp241-tabs button {transition:none}
}
.sp241-tabs button[aria-selected="true"] .gb-ui-icon {padding:2px;border-radius:5px;background:#fff}
.sp241-panels {position:relative;flex:1;min-height:0}
.sp241-panels[aria-busy=true]::after {content:"";position:absolute;inset:0 16px auto;height:2px;border-radius:2px;background:#4784e7;pointer-events:none}
.sp241-body {position:absolute;inset:0;min-height:0;align-content:start;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:1px 15px 13px}
.sp241-body[hidden] {display:none}
.sp241-body:focus-visible {outline-offset:-3px}
.sp241-body,.sp241-stack {display:grid;gap:9px}
.sp241-card,.sp241-archive,.sp241-report-filters {
  min-width:0;
  padding:9px 11px 10px;
  border:1px solid var(--sp241-line);
  border-radius:13px;
  background:linear-gradient(145deg,#fff,#f5f8ff);
  box-shadow:0 2px 6px #184b9310;
}
.sp241-heading {display:flex;align-items:center;gap:8px;min-width:0}
.sp241-heading h3,.sp241-report-results h3 {font-size:clamp(15px,2vw,19px);line-height:1.18;letter-spacing:-.023em}
.sp241-heading p {margin:3px 0 0;color:var(--sp241-muted);font-size:12px}
.sp241-emblem {display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:10px;background:var(--sp241-icon-bg,#e3edff)}
.sp241-heading .sp241-emblem {width:34px;height:34px}
.sp241-dialog [data-tone="blue"],.sp241-report-dialog [data-tone="blue"] {
  --sp241-fade:#e6f1ff;--sp241-deep:#1460b9;--sp241-icon-bg:#d9eaff
}
.sp241-dialog [data-tone="violet"],.sp241-report-dialog [data-tone="violet"] {
  --sp241-fade:#eee8fc;--sp241-deep:#5d36ad;--sp241-icon-bg:#e9dfff
}
.sp241-dialog [data-tone="green"],.sp241-report-dialog [data-tone="green"] {
  --sp241-fade:#dff6ec;--sp241-deep:#136d48;--sp241-icon-bg:#cef1e2
}
.sp241-dialog [data-tone="amber"],.sp241-report-dialog [data-tone="amber"] {
  --sp241-fade:#fff2d9;--sp241-deep:#8a4d0c;--sp241-icon-bg:#ffebc4
}
.sp241-dialog [data-tone="red"],.sp241-report-dialog [data-tone="red"] {
  --sp241-fade:#ffe7ed;--sp241-deep:#9f2a46;--sp241-icon-bg:#ffd9e3
}
.sp241-grid,.sp241-stats {display:grid;gap:6px;margin-top:7px!important}
.sp241-grid {grid-template-columns:repeat(3,minmax(0,1fr))}
.sp241-field,.sp241-stat {
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
  padding:6px 8px;
  border-radius:9px;
  background:linear-gradient(118deg,#f9fbff,var(--sp241-fade));
}
.sp241-field .sp241-emblem {width:29px;height:29px;border-radius:8px}
.sp241-field .gb-ui-icon {width:16px;height:16px}
.sp241-field div,.sp241-stat div {min-width:0}
.sp241-field dt,.sp241-stat dt {color:#435c82;font-size:11px}
.sp241-field dd {font-weight:800;font-size:13px;overflow-wrap:anywhere}
.sp241-footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex:none;
  gap:7px;
  padding:8px 16px;
  border-top:1px solid #dbe6fa;
  background:#fafdff;
  font-size:11px;
  color:#3c587d;
}
.sp241-brand {display:flex;align-items:center;gap:7px}
.sp241-brand b {color:var(--sp241-ink)}
.sp241-brand img {width:25px;height:25px;object-fit:contain}
.sp241-position {background:#e6efff;font-weight:800;white-space:nowrap}
.sp241-section-bar {display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.sp241-subject {background:#e8f1ff;font-weight:750}
.sp241-stats {grid-template-columns:repeat(6,minmax(0,1fr))}
.sp241-stat {min-height:62px}
.sp241-stat dd {font-size:23px;font-weight:840;line-height:1.15}
.sp241-att-layout {display:grid;align-items:start;grid-template-columns:minmax(0,1.95fr) minmax(250px,1fr);gap:9px}
.sp241-table-wrap {width:100%;overflow:auto;margin-top:7px;border:1px solid var(--sp241-line);border-radius:10px}
.sp241-table {width:100%;border-collapse:collapse;text-align:left;font-size:12px;background:#fcfdff}
.sp241-table :is(th,td) {padding:7px 8px;border:0;border-bottom:1px solid #e5edfc;vertical-align:middle}
.sp241-table th {background:#e1eaff;color:#214375;font-size:11px}
.sp241-table tbody tr:nth-child(even) {background:#f2f6ff}
.sp241-table tbody tr:last-child td {border-bottom:0}
.sp241-table .sp241-date {white-space:nowrap}
.sp241-observation {overflow-wrap:anywhere;white-space:pre-wrap}
.sp241-badge {
  display:inline-flex;
  align-items:center;
  gap:4px;
  border-radius:999px;
  padding:3px 7px;
  background:var(--sp241-fade,#eaf0f8);
  color:var(--sp241-deep,#496180);
  font-size:10px;
  font-weight:800;
}
.sp241-badge .gb-ui-icon {width:13px;height:13px}
.sp241-trend {background:linear-gradient(145deg,#fff,#eaf2ff)}
.sp241-trend-body {display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:12px;margin:14px 0 4px}
.sp241-donut {
  display:grid;
  place-items:center;
  width:92px;
  height:92px;
  border-radius:50%;
  background:conic-gradient(#164fe7 0%,#6433ef calc(.72 * var(--sp241-progress)),#088bee var(--sp241-progress),#dbe7ff 0);
}
.sp241-donut span {display:grid;align-content:center;justify-items:center;width:76px;height:76px;border-radius:50%;background:#f9fbff}
.sp241-donut strong {font-size:18px;line-height:1.1}
.sp241-donut small {font-size:10px;color:var(--sp241-muted)}
.sp241-trend-legend {display:grid;gap:6px;font-size:11px}
.sp241-trend-legend div {display:flex;align-items:center;gap:4px}
.sp241-trend-legend .gb-ui-icon {width:14px;height:14px}
.sp241-trend-legend dd {margin-left:auto;font-weight:850;color:var(--sp241-deep)}
.sp241-loading {margin:0;padding:18px;color:#466087}
.sp241-dialog .sp241-empty {
  display:grid;
  justify-items:center;
  gap:6px;
  margin:8px 0 0;
  padding:17px 12px;
  border:1px dashed #d2e0fa;
  border-radius:10px;
  background:#f5f9ff;
  color:#3b567d;
  text-align:center;
}
.sp241-empty p {margin:0;font-size:12px}
.sp241-doc-list {display:grid;gap:6px;list-style:none;margin:8px 0 0;padding:0}
.sp241-doc-list li {
  display:flex;align-items:center;gap:8px;padding:6px 8px;border-radius:8px;background:#eef4ff;overflow-wrap:anywhere
}
.sp241-doc-list li div {flex:1;min-width:0;display:grid;gap:1px}
.sp241-doc-list small {color:var(--sp241-muted)}
.sp241-doc-list .btn {flex:none;font-size:11px;text-decoration:none}
.sp241-reports-head {padding:6px 9px}
.sp241-dialog .sp241-add-report {
  display:inline-flex;align-items:center;gap:6px;padding:7px 13px;border-radius:999px;
  background:var(--sp241-active);color:white;font-size:12px
}
.sp241-add-report .gb-ui-icon {width:16px;height:16px;filter:brightness(0) invert(1)}
.sp241-report-filters {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 11px}
.sp241-report-filters label {display:grid;gap:3px;font-size:11px;font-weight:800;color:#29476f}
.sp241-report-filters :is(input,select) {
  min-width:0;width:100%;min-height:32px;padding:5px 8px;border:1px solid #c2d5f7;border-radius:8px;
  background:#fff;color:#16355f;font:inherit
}
.sp241-report-results {padding:2px 2px 6px}
.sp241-report-table {min-width:620px}
.sp241-report-table .sp241-date .gb-ui-icon {width:15px;height:15px;margin-right:5px;vertical-align:middle}
.sp241-subject-cell {min-width:86px;overflow-wrap:anywhere}
.sp241-description {display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.sp241-row-actions {display:flex;gap:4px}
.sp241-row-actions button {width:28px;height:28px}
.sp241-row-actions .gb-ui-icon {width:16px;height:16px}
.sp241-archive {padding:0}
.sp241-archive>summary {display:flex;align-items:center;gap:8px;padding:9px 12px;list-style:none;cursor:pointer}
.sp241-archive>summary::-webkit-details-marker {display:none}
.sp241-archive summary span:nth-child(2) {display:grid;flex:1;min-width:0}
.sp241-archive summary small {color:var(--sp241-muted);font-size:11px}
.sp241-archive summary i {font-size:22px;line-height:1;font-style:normal;color:#2b5fc7}
.sp241-archive[open] summary i {transform:rotate(90deg)}
.sp241-archive>[data-oldreports] {padding:10px 12px;border-top:1px solid var(--sp241-line)}
.sp241-report-dialog {width:min(630px,calc(100vw - 24px))}
.sp241-report-dialog .sp241-detail-badges {display:flex;flex-wrap:wrap;gap:5px}
.sp241-report-dialog .sp241-detail-copy :is(p,h4,.r244c-event) {margin:0}
.sp241-report-dialog .r244-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
.sp241-report-dialog .r244c-form {display:grid;gap:7px}
@media(max-width:840px) {
  .sp241-banner-art {opacity:.58;right:118px}
  .sp241-stats {grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:660px) {
  .sp241-dialog {width:calc(100vw - 14px);max-height:calc(100dvh - 14px);border-radius:14px}
  .sp241-banner {padding:11px 9px 15px;gap:8px;min-height:67px}
  .sp241-banner-icon {width:35px;height:35px}
  .sp241-banner-icon .gb-ui-icon {width:20px;height:20px}
  .sp241-banner-title h2 {font-size:19px}
  .sp241-banner-art,.sp241-banner-title p {display:none}
  .sp241-navigation {gap:3px}
  .sp241-navigation button {width:27px;height:28px;font-size:19px}
  .sp241-identity {padding:9px;gap:9px}
  .sp241-photo {width:52px;height:59px}
  .sp241-identity-info {padding-left:8px}
  .sp241-identity h3 {font-size:17px}
  .sp241-meta {margin-top:5px}
  .sp241-meta>span {padding:3px 5px;font-size:10px}
  .sp241-meta .gb-ui-icon {display:none}
  .sp241-dialog[data-profile-ready] {height:min(700px,calc(100dvh - 14px))}
  .sp241-tabs {margin-inline:7px;--sp241-tab-gap:2px}
  .sp241-tabs button {flex-direction:column;gap:3px;font-size:10px;padding:5px 1px}
  .sp241-tabs .gb-ui-icon {width:16px;height:16px}
  .sp241-body {padding:0 7px 9px}
  .sp241-footer {padding:6px 8px}
  .sp241-grid,.sp241-report-filters {grid-template-columns:repeat(2,minmax(0,1fr))}
  .sp241-att-layout {grid-template-columns:minmax(0,1fr)}
}
@media(max-width:390px) {
  .sp241-banner-icon {display:none}
  .sp241-grid,.sp241-stats {grid-template-columns:repeat(2,minmax(0,1fr))}
  .sp241-field .sp241-emblem {display:none}
  .sp241-brand img {width:18px;height:18px}
}
