@charset "UTF-8";

:root {
  --canvas: #f7f8fa;
  --panel: #fff;
  --text: #222a2a;
  --muted: #777e83;
  --line: #e9ecef;
  --green: #29594b;
  --green-dark: #213e35;
  --green-light: #edf4ef;
  --amber: #926022;
  --amber-bg: #fbf2df;
  --sidebar-width: 238px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  font-size: 14px;
  line-height: 1.5
}

* {
  box-sizing: border-box
}

body {
  margin: 0;
  background: var(--canvas)
}

[hidden] { display:none !important }

button,
input,
select,
textarea {
  font: inherit
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent
}

button,
a {
  touch-action: manipulation
}

button {
  cursor: pointer
}

a {
  color: inherit;
  text-decoration: none
}

button {
  color: inherit
}

button:disabled {
  opacity: .5;
  cursor: wait
}

button,
input,
select,
textarea {
  outline: none
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #77ab99;
  outline-offset: 4px
}

h1,
h2,
h3,
p {
  margin: 0
}

h1,
h2,
h3 {
  font-weight: 600
}

input,
textarea,
select {
  min-width: 0
}

svg {
  flex-shrink: 0
}

.icon {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  flex-shrink: 0
}

.muted {
  color: var(--muted)
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  background: var(--green);
  color: white;
  padding: 12px;
  z-index: 100
}

.skip-link:focus {
  top: 16px
}

.shell {
  display: flex;
  min-height: 100vh
}

.sidebar {
  width: var(--sidebar-width);
  position: fixed;
  inset: 0 auto 0 0;
  border-right: 1px solid #e6e9ec;
  background: linear-gradient(155deg, #fbfcfd, #f1f3f5);
  padding: 30px 17px 12px;
  display: flex;
  flex-direction: column;
  z-index: 20
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 9px;
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -.7px
}

.brand img {
  box-shadow: 0 3px 5px #19382c14
}

.brand small {
  display: block;
  font-size: 10px;
  letter-spacing: .1px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 0
}

.workspace {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffffb3;
  border: 1px solid #e7e9eb;
  border-radius: 12px;
  padding: 12px 11px;
  margin: 29px 0 19px;
  box-shadow: 0 2px 4px #12251a02
}

.workspace-avatar {
  background: #e9efeb;
  color: #4d6859;
  border: 1px solid #e0e8e2;
  width: 33px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 600
}

.workspace strong {
  font-size: 12px;
  font-weight: 600;
  display: block
}

.workspace div>span {
  font-size: 10px;
  color: #7c8386;
  display: block;
  margin-top: 2px
}

.workspace-lock {
  margin-left: auto;
  color: #9ca3a6
}

.workspace-lock .icon {
  width: 13px;
  height: 13px
}

.search-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #e3e7ea;
  background: #f7f8f9;
  border-radius: 8px;
  padding: 8px 10px;
  color: #858a91;
  font-size: 11px;
  margin-bottom: 24px
}

.search-trigger .icon {
  width: 15px;
  height: 15px
}

.search-trigger kbd {
  margin-left: auto;
  background: #fcfcfd;
  border: 1px solid #e7eaed;
  border-radius: 4px;
  padding: 0 4px;
  color: #959ba1;
  font-size: 9px
}

.nav-label {
  font-size: 8.5px;
  letter-spacing: 1.4px;
  color: #8b9297;
  font-weight: 600;
  padding: 0 12px;
  margin-bottom: 9px
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 12px;
  font-size: 12px;
  color: #6c757b;
  border-radius: 9px;
  margin: 3px 0;
  transition: background .15s, color .15s
}

.nav-item .icon {
  width: 17px;
  height: 17px
}

.nav-item:hover {
  background: #e9eeed;
  color: #274e41
}

.nav-item.active {
  background: #e3ece6;
  color: #2b5545;
  font-weight: 600
}

.nav-item.active:before {
  content: "";
  position: absolute;
  left: 0;
  width: 3px;
  height: 19px;
  background: #446d58;
  border-radius: 0 3px 3px 0
}

.nav-count {
  margin-left: auto;
  font-size: 10px;
  min-width: 20px;
  text-align: center;
  border-radius: 5px;
  background: #d1dfd5;
  padding: 1px 4px
}

.regulation-label {
  margin-top: 24px
}

.sidebar-bottom {
  margin-top: auto;
  padding-top: 30px
}

.local-status {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 15px 12px;
  color: #63706b;
  font-size: 10px
}

.local-status .status-dot {
  margin-top: 5px
}

.local-status small {
  display: block;
  color: #8e9699;
  margin-top: 3px;
  font-size: 9px
}

.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #70957a;
  border-radius: 100%;
  flex-shrink: 0
}

.sidebar-bottom>.nav-item {
  font-size: 11px
}

.owner {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 17px 10px 0;
  border-top: 1px solid #e3e7e9;
  margin-top: 15px;
  font-size: 11px;
  font-weight: 500
}

.owner small {
  display: block;
  font-size: 9px;
  color: #8c9499;
  margin-top: 3px;
  font-weight: 400
}

.owner>.icon {
  margin-left: auto;
  width: 15px;
  color: #8c9499
}

.owner-avatar,
.mini-avatar {
  display: grid;
  place-items: center;
  border: 2px solid white;
  box-shadow: 0 0 0 1px #dfe5e6;
  background: #e7eae5;
  color: #51615b;
  border-radius: 50%;
  width: 31px;
  height: 31px;
  font-size: 10px;
  font-weight: 600
}

.main-shell {
  width: calc(100% - var(--sidebar-width));
  margin-left: var(--sidebar-width);
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh
}

.topbar {
  height: 75px;
  border-bottom: 1px solid #eaedf0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 43px;
  background: #fafbfdcc;
  backdrop-filter: blur(16px)
}

.breadcrumb {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 11px;
  color: #687176
}

.breadcrumb-home {
  color: #9da5aa
}

.breadcrumb-home .icon {
  width: 15px;
  height: 15px
}

.breadcrumb-divider {
  color: #c7ccd1
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 18px
}

.topbar-status {
  font-size: 10px;
  color: #7b8486;
  display: flex;
  align-items: center;
  gap: 7px
}

.topbar-separator {
  height: 18px;
  width: 1px;
  background: #e4e9ed
}

.mini-avatar {
  width: 29px;
  height: 29px;
  font-size: 9px
}

main {
  max-width: 1520px;
  width: 100%;
  margin: 0 auto;
  padding: 38px 43px 36px;
  outline: none
}

.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 29px
}

.eyebrow {
  font-size: 9px;
  letter-spacing: 1.6px;
  font-weight: 600;
  color: #8d9598;
  margin-bottom: 8px
}

.page-heading h1 {
  font-size: 29px;
  line-height: 1.2;
  letter-spacing: -1px
}

.page-heading p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 11px
}

.heading-actions {
  display: flex;
  align-items: center;
  gap: 10px
}

.button {
  border: 1px solid transparent;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 15px;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  min-height: 38px;
  transition: background .15s, box-shadow .15s, transform .15s
}

.button .icon {
  width: 15px;
  height: 15px
}

.button.primary {
  background: var(--green-dark);
  color: #fff;
  box-shadow: 0 3px 5px #1e3c3012
}

.button.primary:hover {
  background: #315c49;
  box-shadow: 0 4px 9px #1e3c3022
}

.button.secondary {
  background: white;
  border-color: #e2e7e8;
  color: #525d5d;
  box-shadow: 0 1px 2px #182c2004
}

.button.secondary:hover {
  background: #f6f8f6
}

.button:active {
  transform: translateY(1px)
}

.period-picker {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  border: 1px solid #e2e6e9;
  background: #fff;
  border-radius: 9px;
  padding: 7px 10px;
  color: #78817f
}

.period-picker .icon {
  width: 15px;
  height: 15px
}

.period-picker input {
  border: 0;
  background: transparent;
  width: 131px;
  font-size: 11px;
  color: #65706c;
  padding: 0;
  cursor: pointer
}

.welcome-card {
  border: 1px solid #e1e8e5;
  background: radial-gradient(ellipse at 77% 46%, #e4eeea90, transparent 50%), linear-gradient(107deg, #f2f6f3, #eaf1ed);
  border-radius: 18px;
  position: relative;
  min-height: 257px;
  padding: 30px 34px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px
}

.welcome-label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #718276;
  font-size: 8px;
  letter-spacing: 1.5px;
  font-weight: 600;
  margin-bottom: 17px
}

.welcome-label .status-dot {
  width: 5px;
  height: 5px;
  background: #718f78
}

.welcome-copy h2 {
  font-size: 31px;
  line-height: 1.23;
  letter-spacing: -1px;
  color: #293d32;
  font-weight: 500
}

.welcome-copy p {
  color: #758279;
  font-size: 11px;
  line-height: 1.8;
  margin-top: 13px
}

.welcome-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-size: 10px;
  color: #41634e;
  font-weight: 600;
  margin-top: 20px
}

.welcome-link .icon {
  width: 15px;
  height: 15px
}

.flow-art {
  width: 340px;
  height: 220px;
  position: relative;
  margin-right: 12px;
  flex-shrink: 0
}

.flow-orbit {
  position: absolute;
  border: 1px solid #b1c6b644;
  border-radius: 50%;
  height: 300px;
  width: 300px;
  top: -35px;
  left: 10px;
  transform: rotate(-20deg)
}

.orbit-two {
  height: 380px;
  width: 380px;
  top: -75px;
  left: -30px;
  border-color: #b1c6b62c
}

.flow-document {
  position: absolute;
  background: #ffffffbf;
  border: 1px solid #ffffff;
  border-radius: 12px;
  box-shadow: 0 14px 30px #526b5915;
  backdrop-filter: blur(12px)
}

.back-document {
  width: 174px;
  height: 166px;
  top: 37px;
  right: 13px;
  padding: 18px;
  transform: rotate(10deg);
  color: #7a8781
}

.back-document>span {
  font-size: 9px;
  display: flex;
  align-items: center;
  gap: 6px
}

.back-document>span .icon {
  width: 13px;
  height: 13px
}

.document-line {
  margin-top: 17px;
  height: 4px;
  width: 95%;
  background: #e4eae5;
  border-radius: 4px
}

.document-line.short {
  width: 69%;
  margin-top: 10px;
  margin-bottom: 19px
}

.front-document {
  width: 184px;
  height: 207px;
  top: 4px;
  left: 20px;
  transform: rotate(-7deg);
  padding: 17px 19px;
  background: linear-gradient(130deg, #fffffff0, #ffffffd9)
}

.document-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px
}

.document-icon {
  display: grid;
  place-items: center;
  background: #e5efe7;
  color: #5f8068;
  border-radius: 8px;
  width: 32px;
  height: 32px
}

.document-icon .icon {
  width: 17px;
  height: 17px
}

.document-check {
  width: 15px;
  height: 15px;
  color: #a3b6a7
}

.front-document>strong {
  display: block;
  font-weight: 500;
  font-size: 16px;
  color: #49614f;
  line-height: 1.3;
  letter-spacing: -.3px;
  margin-bottom: 17px
}

.flow-mini {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 8px;
  color: #919d96;
  padding: 7px 0;
  border-top: 1px solid #edf0ed
}

.flow-mini-check {
  color: #6a9971
}

.flow-mini-check .icon {
  width: 11px;
  height: 11px
}

.flow-mini-dot {
  width: 5px;
  height: 5px;
  background: #c8d8cb;
  border-radius: 50%
}

.art-spark {
  position: absolute;
  color: #91ad97
}

.spark-one {
  right: 23px;
  top: 4px;
  font-size: 21px
}

.spark-two {
  left: -13px;
  bottom: 14px;
  font-size: 13px
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin-bottom: 25px
}

.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 17px 19px;
  box-shadow: 0 2px 3px #19271902
}

.stat-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 500;
  color: #7c8587
}

.stat-label .icon {
  width: 15px;
  height: 15px;
  color: #a4afb1
}

.stat-card>strong {
  display: block;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -.8px;
  line-height: 1.4;
  margin: 11px 0 3px;
  font-variant-numeric: tabular-nums
}

.stat-card>strong.unavailable {
  color: #9ca3a7
}

.stat-unit {
  font-size: 10px;
  font-weight: 400;
  color: #9aa1a5;
  margin-left: 9px;
  letter-spacing: 0
}

.stat-card>small {
  font-size: 8.5px;
  color: #9ba1a7;
  display: block
}

.dashboard-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(260px, 1fr);
  gap: 20px;
  margin-bottom: 22px
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  box-shadow: 0 2px 3px #19271902;
  overflow: hidden
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 23px 18px;
  gap: 18px
}

.panel-heading h2 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -.15px
}

.panel-heading p {
  font-size: 9px;
  color: #92999e;
  margin-top: 5px
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #6b7d73;
  font-size: 9px;
  font-weight: 500
}

.text-link .icon {
  width: 12px;
  height: 12px
}

.text-link:hover {
  color: #234e38
}

.empty-state {
  padding: 47px 24px 49px;
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center
}

.empty-icon {
  display: grid;
  place-items: center;
  width: 49px;
  height: 49px;
  border-radius: 14px;
  color: #94a69a;
  background: linear-gradient(130deg, #f3f7f4, #edf1ee);
  border: 1px solid #e7eee8;
  margin-bottom: 18px;
  box-shadow: 0 4px 12px #34524005
}

.empty-icon .icon {
  width: 23px;
  height: 23px
}

.empty-state h3 {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -.1px
}

.empty-state p {
  color: #9ba1a4;
  font-size: 10px;
  max-width: 320px;
  line-height: 1.8;
  margin-top: 7px
}

.empty-state .button {
  margin-top: 19px;
  font-size: 10px;
  min-height: 34px;
  padding: 8px 11px
}

.setup-panel {
  padding: 20px 21px;
  display: flex;
  flex-direction: column
}

.setup-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px
}

.subtle-icon {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 8px;
  background: #f0f4f1;
  color: #779281
}

.subtle-icon .icon {
  width: 16px;
  height: 16px
}

.setup-panel h2 {
  font-size: 14px;
  letter-spacing: -.2px;
  font-weight: 500
}

.setup-panel>p {
  font-size: 9px;
  margin-top: 6px
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 5px;
  font-size: 8px;
  line-height: 1.6;
  padding: 3px 7px;
  white-space: nowrap;
  font-weight: 500
}

.tag.neutral {
  color: #88918c;
  background: #f1f4f2;
  border: 1px solid #e9eeea
}

.tag.amber {
  color: var(--amber);
  background: var(--amber-bg);
  border: 1px solid #f3e6ca
}

.tiny-dot {
  width: 4px;
  height: 4px;
  background: #b28b44;
  border-radius: 50%
}

.setup-steps {
  margin-top: 20px;
  flex: 1
}

.setup-step {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid #f0f2f3
}

.setup-step:last-child {
  border-bottom: 0
}

.step-number {
  font-size: 9px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid #e7eae7;
  color: #929e94;
  background: #fafbf9
}

.step-number .icon {
  width: 13px;
  height: 13px
}

.setup-step.done .step-number {
  background: #edf4ee;
  color: #5a8260;
  border-color: #dbe8de
}

.setup-step strong {
  font-size: 10px;
  font-weight: 500;
  display: block
}

.setup-step small {
  font-size: 8px;
  display: block;
  color: #a0a7aa;
  margin-top: 4px
}

.setup-step>.icon {
  margin-left: auto;
  width: 12px;
  height: 12px;
  color: #b0b7b7
}

.setup-step:hover strong {
  color: #52785f
}

.setup-footnote {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  border-radius: 7px;
  background: #f7f8f7;
  padding: 10px;
  margin-top: 14px;
  color: #8a968d;
  font-size: 8px;
  line-height: 1.7
}

.setup-footnote .icon {
  width: 13px;
  height: 13px;
  margin-top: 1px
}

.reference-banner {
  display: flex;
  align-items: center;
  gap: 17px;
  border: 1px solid #e7ebed;
  background: #f0f3f5;
  border-radius: 11px;
  padding: 20px 23px
}

.reference-symbol {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  background: #e8eeeb;
  color: #82968b;
  border: 1px solid #e0e7e2;
  border-radius: 9px
}

.reference-symbol .icon {
  width: 18px;
  height: 18px
}

.reference-banner h3 {
  font-size: 11px;
  font-weight: 500
}

.reference-banner p {
  font-size: 9px;
  color: #8f989d;
  margin-top: 5px
}

.reference-banner .button {
  margin-left: auto;
  font-size: 9px;
  min-height: 32px;
  padding: 8px 12px
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: #a3a9ae;
  font-size: 8px;
  max-width: 1520px;
  width: 100%;
  margin: auto auto 0;
  padding: 0 43px 23px
}

.footer-dot {
  margin: 0 5px;
  color: #c3c8cd
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 7px;
  width: 31px;
  height: 31px;
  padding: 6px;
  color: #8a9697
}

.icon-button:hover {
  background: #eef3f0;
  color: #3f6551
}

.icon-button .icon {
  width: 16px;
  height: 16px
}

.mobile-menu {
  display: none
}

.info-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #7c8983;
  font-size: 11px;
  line-height: 1.7;
  background: #eef3f0;
  border: 1px solid #e3ebe6;
  border-radius: 10px;
  padding: 14px 16px;
  margin: 22px 0
}

.info-note>.icon {
  height: 16px;
  width: 16px;
  margin-top: 2px
}

.amber-note {
  background: #fcf7eb;
  color: #8a744d;
  border-color: #f0e6cf
}

.table-scroll {
  position: relative;
  overflow-x: auto
}

table {
  border-collapse: collapse;
  width: 100%;
  text-align: left
}

th {
  background: #fbfcfc;
  color: #9aa2a4;
  font-size: 8px;
  letter-spacing: .7px;
  font-weight: 500;
  padding: 11px 21px;
  border-top: 1px solid #f0f2f3;
  border-bottom: 1px solid #eef1f2;
  white-space: nowrap
}

td {
  padding: 17px 21px;
  border-bottom: 1px solid #f0f2f3;
  font-size: 10px;
  vertical-align: middle
}

tbody tr:last-child td {
  border-bottom: 0
}

tbody tr:hover {
  background: #fcfdfc
}

.numeric {
  text-align: right;
  white-space: nowrap
}

.tabular {
  font-variant-numeric: tabular-nums
}

td small {
  display: block;
  font-size: 8px;
  color: #9aa3a6;
  margin-top: 4px
}

.table-person {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: none;
  padding: 0;
  text-align: left
}

.table-person strong {
  display: block;
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap
}

.avatar {
  display: grid;
  place-items: center;
  background: #edf0e8;
  color: #77836a;
  width: 31px;
  height: 31px;
  flex-shrink: 0;
  border-radius: 10px;
  font-size: 9px;
  font-weight: 500;
  border: 1px solid #e4e9df
}

.avatar.large {
  width: 49px;
  height: 49px;
  font-size: 15px;
  border-radius: 16px
}

.cell-main {
  white-space: nowrap
}

.list-toolbar {
  padding: 19px 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px
}

.segmented-label {
  font-size: 11px;
  font-weight: 500
}

.segmented-label span {
  color: #9ba4a4;
  font-size: 10px;
  margin-left: 10px;
  font-weight: 400
}

.table-search,
.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #e5e9e9;
  border-radius: 8px;
  padding: 7px 10px;
  color: #8c9791
}

.table-search .icon {
  width: 14px;
  height: 14px
}

.table-search input {
  border: 0;
  background: none;
  font-size: 10px;
  width: 170px
}

.text-button {
  border: 0;
  background: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #577560;
  font-size: 10px;
  padding: 0;
  text-align: left
}

.text-button:hover {
  color: #264c32;
  text-decoration: underline
}

.text-button .icon {
  width: 13px;
  height: 13px
}

.artist-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px
}

.artist-card {
  padding: 24px
}

.artist-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px
}

.artist-card h2 {
  font-size: 17px;
  letter-spacing: -.4px
}

.artist-card>p {
  color: #8a9490;
  font-size: 11px;
  margin-top: 5px
}

.artist-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  color: #96a09a;
  margin-top: 18px
}

.artist-card-footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #eef1ee;
  margin-top: 20px;
  padding-top: 15px;
  font-size: 9px;
  color: #8e9991
}

.payroll-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 28px 25px;
  margin-bottom: 24px
}

.payroll-summary>div {
  display: flex;
  flex-direction: column;
  gap: 7px
}

.payroll-summary .eyebrow {
  font-size: 8px;
  margin: 0
}

.payroll-summary strong {
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -.6px
}

.payroll-summary>div>span:last-child {
  font-size: 9px;
  color: #9aa29e
}

.payroll-summary .payroll-divider {
  height: 50px;
  width: 1px;
  background: #eef0ee
}

.payroll-lock {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #ab9a7b
}

.payroll-lock>.icon {
  width: 15px;
  height: 15px
}

.regulation-summary {
  display: flex;
  gap: 40px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 25px;
  margin-bottom: 30px
}

.regulation-summary>div {
  display: flex;
  align-items: center;
  gap: 10px
}

.regulation-summary .icon {
  width: 18px;
  color: #96a79c
}

.regulation-summary strong {
  font-size: 21px;
  font-weight: 500
}

.regulation-summary span {
  font-size: 10px;
  color: #8f9a95
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 20px 0 14px
}

.section-heading h2 {
  font-size: 14px
}

.section-heading>span {
  font-size: 9px;
  color: #98a19c
}

.source-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px
}

.source-card {
  padding: 22px;
  display: flex;
  flex-direction: column
}

.source-card-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px
}

.source-org {
  font-size: 9px;
  letter-spacing: .6px;
  color: #789181
}

.source-card h3 {
  font-size: 14px;
  font-weight: 500;
  margin-top: 17px;
  letter-spacing: -.2px
}

.source-card p {
  color: #8b9690;
  font-size: 10px;
  line-height: 1.8;
  margin-top: 9px;
  margin-bottom: 22px
}

.source-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid #eef1ed;
  padding-top: 13px;
  margin-top: auto
}

.source-card-footer>span {
  font-size: 8px;
  color: #9eaaa1
}

.versions-panel {
  margin-top: 24px
}

.declaration-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px
}

.declaration-card {
  padding: 24px
}

.declaration-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px
}

.declaration-card h2 {
  font-size: 19px;
  letter-spacing: -.5px;
  margin-bottom: 3px
}

.declaration-card>.muted {
  font-size: 10px
}

.declaration-card>p {
  font-size: 11px;
  color: #8c9691;
  line-height: 1.8;
  margin: 20px 0;
  min-height: 40px
}

.declaration-state {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 8px;
  color: #a6afa9;
  background: #f6f8f6;
  border-radius: 7px;
  padding: 12px;
  margin-bottom: 18px
}

.declaration-state>span {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d9e2da;
  margin-left: 8px
}

.declaration-state>span:first-child {
  margin: 0
}

.employer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(250px, 1fr);
  gap: 20px;
  align-items: start
}

.employer-form {
  padding: 26px
}

.form-section-heading {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 23px
}

.form-section-heading h2 {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -.2px
}

.form-section-heading p {
  font-size: 9px;
  color: #929d95;
  margin-top: 4px
}

.form-section-heading.spaced {
  border-top: 1px solid #edf0ec;
  padding-top: 25px;
  margin-top: 25px
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 11px
}

.field>span {
  font-weight: 500;
  color: #65746a;
  font-size: 10px
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #e1e6e2;
  background: #fcfdfb;
  color: #3f5044;
  padding: 10px 11px;
  min-height: 39px;
  border-radius: 8px;
  font-size: 11px
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #87a98d;
  background: #fff;
  box-shadow: 0 0 0 3px #7c9b8120;
  outline: 0
}

.field input:disabled {
  background: #f2f4f1;
  color: #8d9b8f
}

.field textarea {
  resize: vertical;
  line-height: 1.7
}

.field small {
  font-size: 8px;
  color: #9aa59d;
  line-height: 1.7
}

.field.full {
  grid-column: 1/-1
}

.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: 25px;
  border-top: 1px solid #edf0ec;
  padding-top: 22px
}

.form-actions>.muted {
  font-size: 9px
}

.employer-checklist {
  padding: 23px
}

.employer-checklist h2 {
  font-size: 14px;
  font-weight: 500
}

.employer-checklist>p {
  font-size: 10px;
  margin-top: 10px;
  line-height: 1.8;
  margin-bottom: 19px
}

.document-needed {
  display: flex;
  gap: 9px;
  padding: 12px 0;
  border-bottom: 1px solid #eff2ed;
  font-size: 10px;
  color: #8d9b91;
  align-items: flex-start
}

.document-needed .icon {
  width: 14px;
  height: 14px;
  margin-top: 1px
}

.employer-checklist>.text-link {
  margin-top: 23px
}

.audit-event {
  border-top: 1px solid #edf1ec
}

.audit-event summary {
  display: flex;
  align-items: center;
  padding: 18px 24px;
  gap: 12px;
  cursor: pointer;
  list-style: none
}

.audit-event summary::-webkit-details-marker {
  display: none
}

.audit-event-icon {
  color: #96a698
}

.audit-event-icon .icon {
  width: 17px;
  height: 17px
}

.audit-event summary strong {
  font-size: 11px;
  font-weight: 500;
  display: block
}

.audit-event summary small {
  font-size: 9px;
  color: #9da89f;
  display: block;
  margin-top: 4px
}

.audit-event time {
  margin-left: auto;
  white-space: nowrap;
  font-size: 9px;
  color: #9ca69e
}

.audit-event summary>.icon {
  width: 13px;
  height: 13px;
  color: #a0afa3
}

.audit-event[open] summary>.icon {
  transform: rotate(90deg)
}

.audit-event pre {
  margin: 0;
  padding: 18px 25px 25px;
  overflow: auto;
  font-size: 10px;
  line-height: 1.7;
  background: #f9fbf7;
  color: #788a7b;
  max-height: 400px
}

.toast {
  position: fixed;
  bottom: 28px;
  left: calc(50% + 100px);
  transform: translate(-50%, 20px);
  padding: 12px 22px;
  background: #294935;
  color: white;
  border: 1px solid #45624e;
  border-radius: 11px;
  font-size: 11px;
  box-shadow: 0 8px 35px #182c2926;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
  z-index: 100
}

.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0)
}

dialog {
  padding: 0;
  border: 1px solid #e2e9e2;
  border-radius: 18px;
  width: min(550px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  box-shadow: 0 25px 100px #0e281936;
  color: var(--text);
  background: #fff
}

dialog.wide-modal {
  width: min(820px, calc(100vw - 32px))
}

dialog::backdrop {
  background: #263e3459;
  backdrop-filter: blur(7px)
}

.modal-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 25px 27px 22px;
  border-bottom: 1px solid #edf1eb;
  background: #fbfdfb
}

.modal-heading h2 {
  font-size: 22px;
  letter-spacing: -.7px;
  font-weight: 500
}

.modal-heading p {
  font-size: 10px;
  color: #8e9b91;
  margin-top: 8px
}

.modal-form {
  padding: 25px 27px 0
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  padding: 22px 27px;
  border-top: 1px solid #edf1eb;
  margin-top: 25px;
  background: #fbfcfa
}

.modal-form>.modal-footer {
  margin-left: -27px;
  margin-right: -27px
}

.form-error {
  color: #a34e37;
  font-size: 11px;
  line-height: 1.6
}

.form-error:not(:empty) {
  padding: 13px 15px;
  margin-top: 18px;
  background: #fcf1e9;
  border: 1px solid #f2dbcd;
  border-radius: 8px
}

.work-date {
  background: #fafcf9;
  border: 1px solid #e6ece3;
  border-radius: 11px;
  padding: 15px;
  margin-top: 18px
}

.work-date-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px
}

.work-date-heading strong {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 500;
  color: #758d79
}

.work-date-heading strong>.icon {
  width: 13px;
  height: 13px
}

.date-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr .6fr 1fr;
  gap: 13px
}

.date-grid>.field:nth-child(5) {
  grid-column: span 2
}

.add-date {
  margin: 15px 0 22px
}

.detail-body {
  padding: 24px 27px
}

.detail-total {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  align-items: center;
  margin-bottom: 24px
}

.detail-total>span:first-child {
  width: 100%;
  font-size: 9px;
  letter-spacing: 1px;
  color: #94a397
}

.detail-total strong {
  font-size: 31px;
  letter-spacing: -1px;
  font-weight: 500
}

.detail-total .tag {
  margin-left: auto
}

.detail-body table {
  border: 1px solid #e9eee7;
  border-radius: 9px
}

.detail-subheading {
  font-size: 13px;
  font-weight: 500;
  margin-top: 25px;
  margin-bottom: 14px
}

.blocker-list {
  border: 1px solid #f0e9da;
  border-radius: 9px;
  background: #fcf9f2;
  padding: 4px 14px
}

.blocker-list>div {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 11px 0;
  font-size: 10px;
  color: #a08b63;
  border-bottom: 1px solid #f0e9da
}

.blocker-list>div:last-child {
  border: 0
}

.blocker-list .icon {
  width: 13px;
  height: 13px;
  margin-top: 2px
}

.detail-body>.info-note {
  margin-bottom: 0
}

.detail-notes {
  background: #f5f8f3;
  padding: 15px;
  border-radius: 9px;
  margin-top: 20px;
  font-size: 11px;
  color: #849281
}

.detail-notes p {
  margin-top: 7px;
  white-space: pre-wrap
}

.rule-details {
  font-size: 11px;
  line-height: 1.8
}

.rule-details dt {
  font-size: 9px;
  color: #9ca99d;
  margin-top: 20px
}

.rule-details dd {
  margin: 5px 0 0;
  color: #758573;
  white-space: pre-wrap
}

.global-search {
  padding: 20px 25px 25px
}

.search-box input {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 6px;
  font-size: 13px
}

.search-box .icon {
  width: 17px
}

.search-hint {
  font-size: 11px;
  color: #98a394;
  padding: 30px 10px;
  text-align: center
}

.search-result {
  border: 0;
  background: none;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 9px;
  text-align: left;
  border-bottom: 1px solid #eef1e9
}

.search-result:hover {
  background: #f6f9f2
}

.search-result strong {
  display: block;
  font-size: 12px;
  font-weight: 500
}

.search-result small {
  font-size: 9px;
  color: #99a592;
  display: block;
  margin-top: 4px
}

.search-result>.icon {
  width: 14px;
  color: #8b9e81
}

.loading-state {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 65vh;
  color: #849483;
  font-size: 12px
}

.loader {
  width: 17px;
  height: 17px;
  border: 2px solid #d8e1d2;
  border-top-color: #708e67;
  border-radius: 50%;
  animation: spin 1s linear infinite
}

@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

@media(min-width:1550px) {
  :root {
    --sidebar-width: 260px;
    font-size: 15px
  }

  main {
    padding-top: 45px
  }

  .page-heading h1 {
    font-size: 33px
  }

  .page-heading p {
    font-size: 12px
  }

  .welcome-card {
    min-height: 290px
  }

  .welcome-copy h2 {
    font-size: 37px
  }

  .flow-art {
    margin-right: 60px
  }

  .stat-card {
    padding: 22px
  }

  .stat-card>strong {
    font-size: 31px
  }

  .empty-state {
    padding: 60px 24px
  }

  .setup-step {
    padding: 18px 0
  }

  .nav-item {
    font-size: 13px
  }

  .brand {
    font-size: 23px
  }
}

@media(max-width:1200px) {
  :root {
    --sidebar-width: 213px
  }

  .sidebar {
    padding-left: 12px;
    padding-right: 12px
  }

  main {
    padding: 28px
  }

  .topbar {
    padding: 0 28px
  }

  .footer {
    padding-left: 28px;
    padding-right: 28px
  }

  .page-heading h1 {
    font-size: 25px
  }

  .heading-actions {
    gap: 6px
  }

  .heading-actions .button {
    padding: 9px 11px;
    font-size: 10px
  }

  .welcome-card {
    padding: 27px
  }

  .welcome-copy h2 {
    font-size: 28px
  }

  .flow-art {
    transform: scale(.86);
    transform-origin: right center;
    margin-left: -30px;
    margin-right: -10px
  }

  .stats-grid {
    gap: 10px
  }

  .stat-card {
    padding: 16px 13px
  }

  .stat-card>strong {
    font-size: 23px
  }

  .stat-card>small {
    font-size: 8px
  }

  .dashboard-columns {
    grid-template-columns: minmax(0, 1.5fr) minmax(250px, 1fr);
    gap: 14px
  }

  .panel-heading {
    padding: 20px 18px
  }

  .panel-heading>.text-link {
    font-size: 8px
  }

  .panel-heading h2 {
    font-size: 12px
  }

  .empty-state {
    padding: 37px 19px
  }

  .empty-state h3 {
    font-size: 12px
  }

  .setup-panel {
    padding: 20px 17px
  }

  .reference-banner {
    padding: 18px
  }

  .reference-banner p {
    font-size: 8px
  }

  .reference-banner .button {
    font-size: 8px
  }

  .table-person .avatar {
    display: none
  }

  th,
  td {
    padding-left: 15px;
    padding-right: 15px
  }

  .artist-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .payroll-summary {
    gap: 12px;
    padding: 23px 20px;
    flex-wrap: wrap
  }

  .payroll-lock {
    width: 100%;
    padding-top: 8px
  }

  .employer-layout {
    grid-template-columns: minmax(0, 1.6fr) minmax(220px, 1fr)
  }

  .form-actions {
    align-items: flex-start;
    flex-direction: column
  }

  .source-card-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px
  }
}

@media(max-width:1000px) {
  .page-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px
  }

  .heading-actions {
    align-self: flex-end
  }

  .welcome-card {
    min-height: 240px
  }

  .welcome-copy h2 {
    font-size: 25px
  }

  .flow-art {
    width: 270px;
    margin-left: -40px;
    transform: scale(.8)
  }

  .front-document {
    left: 5px
  }

  .back-document {
    right: -20px
  }

  .welcome-label {
    font-size: 7px
  }

  .dashboard-columns {
    grid-template-columns: 1fr
  }

  .setup-panel {
    padding: 22px
  }

  .setup-steps {
    display: flex;
    gap: 20px;
    margin-top: 15px
  }

  .setup-step {
    flex: 1;
    align-items: flex-start;
    border: 0
  }

  .setup-step>.icon {
    display: none
  }

  .setup-step small {
    font-size: 9px
  }

  .setup-footnote {
    margin-top: 8px
  }

  .reference-banner {
    flex-wrap: wrap
  }

  .reference-banner .button {
    margin-left: 52px
  }

  .employer-layout {
    grid-template-columns: 1fr
  }

  .employer-checklist {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px
  }

  .employer-checklist h2,
  .employer-checklist>p {
    grid-column: 1/-1
  }

  .source-card {
    padding: 19px
  }

  .source-card h3 {
    font-size: 13px
  }

  .source-card-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px
  }

  .regulation-summary {
    gap: 20px;
    justify-content: space-between
  }

  .regulation-summary>div {
    flex-wrap: wrap;
    gap: 8px
  }

  .regulation-summary span {
    font-size: 9px
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px
  }
}

@media(max-width:760px) {
  :root {
    --sidebar-width: 238px
  }

  .sidebar {
    transform: translateX(-100%);
    transition: transform .2s;
    padding-top: 25px;
    box-shadow: 10px 0 40px #152b3514
  }

  .nav-open .sidebar {
    transform: translateX(0)
  }

  .main-shell {
    margin-left: 0;
    width: 100%
  }

  .topbar {
    height: 62px;
    padding: 0 20px;
    position: sticky;
    top: 0;
    z-index: 15;
    background: #fafbfce8
  }

  .breadcrumb {
    gap: 12px;
    font-size: 11px
  }

  .breadcrumb-home {
    display: none
  }

  .mobile-menu {
    display: flex
  }

  .breadcrumb-divider {
    display: none
  }

  .topbar-status {
    font-size: 8px
  }

  .topbar-right {
    gap: 10px
  }

  .topbar-separator {
    display: none
  }

  .mini-avatar {
    width: 27px;
    height: 27px
  }

  .nav-open .mobile-menu {
    background: #e6eee5;
    color: #446d43
  }

  main {
    padding: 27px 20px
  }

  .page-heading {
    margin-bottom: 24px;
    gap: 17px
  }

  .page-heading h1 {
    font-size: 28px
  }

  .page-heading p {
    font-size: 11px;
    line-height: 1.8;
    max-width: 350px
  }

  .heading-actions {
    align-self: stretch;
    justify-content: space-between
  }

  .heading-actions .button {
    font-size: 10px
  }

  .welcome-card {
    padding: 25px;
    min-height: 238px;
    border-radius: 15px
  }

  .welcome-copy {
    z-index: 1
  }

  .welcome-copy h2 {
    font-size: 27px
  }

  .welcome-copy p {
    font-size: 10px
  }

  .welcome-label {
    font-size: 7px;
    letter-spacing: 1px
  }

  .flow-art {
    width: 220px;
    margin-right: -36px;
    transform: scale(.74);
    opacity: .8
  }

  .front-document {
    left: -10px
  }

  .back-document {
    right: -24px
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
    margin-bottom: 20px
  }

  .stat-card {
    padding: 17px
  }

  .stat-label {
    font-size: 10px
  }

  .stat-card>strong {
    font-size: 27px
  }

  .stat-card>small {
    font-size: 8px
  }

  .dashboard-columns {
    gap: 17px;
    margin-bottom: 17px
  }

  .setup-steps {
    flex-direction: column;
    gap: 0
  }

  .setup-step {
    border-bottom: 1px solid #f0f2f3;
    padding: 14px 0;
    align-items: center
  }

  .setup-step>.icon {
    display: block
  }

  .setup-step strong {
    font-size: 11px
  }

  .setup-step small {
    font-size: 9px
  }

  .setup-panel>p {
    font-size: 10px
  }

  .reference-banner {
    padding: 19px;
    gap: 13px
  }

  .reference-banner>div {
    flex: 1
  }

  .reference-banner h3 {
    font-size: 11px
  }

  .reference-banner p {
    font-size: 9px;
    line-height: 1.8
  }

  .reference-banner .button {
    margin-left: 48px
  }

  .footer {
    padding: 4px 20px 24px;
    font-size: 8px;
    flex-wrap: wrap
  }

  .toast {
    left: 50%;
    max-width: calc(100vw - 40px);
    font-size: 10px;
    white-space: normal;
    width: max-content
  }

  .source-grid,
  .declaration-grid {
    grid-template-columns: 1fr
  }

  .source-card-heading {
    flex-direction: row;
    align-items: center
  }

  .source-card-footer {
    flex-direction: row;
    align-items: center
  }

  .source-card h3 {
    font-size: 15px
  }

  .source-card p {
    font-size: 11px
  }

  .source-org {
    font-size: 10px
  }

  .source-card-footer>span {
    font-size: 9px
  }

  .source-card .text-link {
    font-size: 10px
  }

  .regulation-summary {
    padding: 18px;
    gap: 14px
  }

  .regulation-summary>div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px
  }

  .regulation-summary .icon {
    width: 16px;
    height: 16px
  }

  .regulation-summary span {
    font-size: 9px
  }

  .regulation-summary strong {
    font-size: 24px
  }

  .list-toolbar {
    padding: 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 14px
  }

  .table-search input {
    width: 100%
  }

  .segmented-label {
    display: flex;
    justify-content: space-between
  }

  .artist-grid {
    gap: 12px
  }

  .artist-card {
    padding: 20px 16px
  }

  .artist-card h2 {
    font-size: 16px
  }

  .artist-card-meta {
    gap: 8px
  }

  .artist-card-meta .tag {
    font-size: 7px
  }

  .artist-card-footer {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start
  }

  .payroll-summary>div:not(.payroll-divider) {
    width: calc(50% - 8px)
  }

  .payroll-summary .payroll-divider {
    display: none
  }

  .payroll-summary>div:nth-child(5) {
    margin-top: 10px
  }

  .payroll-summary strong {
    font-size: 25px
  }

  .payroll-lock {
    padding-top: 14px;
    border-top: 1px solid #edf0ea;
    margin-top: 8px
  }

  .info-note {
    font-size: 10px
  }

  .employer-form {
    padding: 22px 18px
  }

  .form-grid {
    gap: 16px 12px
  }

  .field>span {
    font-size: 10px
  }

  .field small {
    font-size: 9px
  }

  .employer-checklist {
    display: block;
    padding: 22px
  }

  .audit-event summary {
    padding: 17px;
    gap: 9px
  }

  .audit-event time {
    font-size: 8px
  }

  .audit-event summary strong {
    font-size: 10px
  }

  .modal-heading {
    padding: 22px 20px
  }

  .modal-heading h2 {
    font-size: 21px
  }

  .modal-heading p {
    font-size: 10px;
    line-height: 1.8
  }

  .modal-form {
    padding: 20px 19px 0
  }

  .modal-form>.modal-footer {
    margin-left: -19px;
    margin-right: -19px
  }

  .modal-footer {
    padding: 20px
  }

  .date-grid {
    grid-template-columns: 1fr 1fr
  }

  .date-grid>.field:nth-child(5) {
    grid-column: span 1
  }

  .work-date {
    padding: 13px
  }

  .detail-body {
    padding: 22px 19px
  }

  .detail-total .tag {
    margin-left: 0
  }

  .detail-body th,
  .detail-body td {
    padding-left: 12px;
    padding-right: 12px
  }

  .detail-body .table-scroll {
    margin-left: -5px;
    margin-right: -5px
  }

  .blocker-list>div {
    font-size: 10px
  }

  .rule-details {
    font-size: 11px
  }
}

@media(max-width:440px) {
  .welcome-card {
    padding: 24px
  }

  .welcome-copy h2 {
    font-size: 27px
  }

  .flow-art {
    display: none
  }

  .welcome-copy p {
    font-size: 11px
  }

  .welcome-copy .welcome-label {
    font-size: 7px
  }

  .welcome-card {
    min-height: 251px
  }

  .stat-card {
    padding: 15px
  }

  .stat-card>strong {
    font-size: 25px
  }

  .stat-label {
    font-size: 9px
  }

  .stat-card>small {
    font-size: 8px;
    line-height: 1.7
  }

  .stat-label>.icon {
    width: 13px;
    height: 13px
  }

  .stat-unit {
    font-size: 9px;
    margin-left: 6px
  }

  .form-grid {
    grid-template-columns: 1fr
  }

  .date-grid {
    gap: 12px 9px
  }

  .date-grid>.field:nth-child(2) {
    grid-column: 1/-1;
    grid-row: 2
  }

  .date-grid>.field:nth-child(5) {
    grid-column: span 2
  }

  .heading-actions .period-picker {
    padding: 7px
  }

  .period-picker input {
    width: 123px;
    font-size: 10px
  }

  .heading-actions .button {
    font-size: 9px;
    padding: 9px 10px
  }

  .heading-actions .button .icon {
    width: 13px;
    height: 13px
  }

  .artist-grid {
    grid-template-columns: 1fr
  }

  .artist-card-footer {
    flex-direction: row
  }

  .source-card-heading {
    align-items: flex-start;
    flex-direction: column
  }

  .source-card-footer {
    align-items: flex-start;
    flex-direction: column
  }

  .declaration-card {
    padding: 22px
  }

  .topbar-status {
    display: none
  }

  .audit-event time {
    max-width: 65px;
    white-space: normal;
    text-align: right
  }

  .audit-event summary small {
    font-size: 8px
  }

  .audit-event summary strong {
    font-size: 10px
  }

  .audit-event-icon {
    display: none
  }

  .detail-body .numeric {
    font-size: 9px
  }

  .detail-body td {
    font-size: 9px
  }

  .detail-body td small {
    font-size: 8px
  }

  .empty-state p {
    font-size: 10px
  }
}

@media(prefers-reduced-motion:reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important
  }
}

@media print {

  .sidebar,
  .topbar,
  .footer,
  .heading-actions,
  .modal-footer,
  .modal-heading>.icon-button,
  .toast {
    display: none !important
  }

  .main-shell {
    margin: 0;
    width: 100%
  }

  body {
    background: #fff
  }

  main {
    padding: 0
  }

  dialog[open] {
    position: static;
    max-height: none;
    width: 100%;
    border: 0;
    box-shadow: none
  }

  dialog[open]~* {
    display: none
  }

  body:has(dialog[open]) .shell {
    display: none
  }

  .info-note {
    break-inside: avoid
  }

  .panel {
    break-inside: avoid;
    box-shadow: none
  }

  .table-scroll {
    overflow: visible
  }
}

/* Comfortable reading sizes across payroll and regulatory screens. */
.workspace strong {
  font-size: 13px
}

.workspace div>span {
  font-size: 11px
}

.brand small {
  font-size: 10px
}

.search-trigger {
  font-size: 12px
}

.nav-label {
  font-size: 9px
}

.nav-item {
  font-size: 13px
}

.nav-item .icon {
  width: 18px;
  height: 18px
}

.local-status {
  font-size: 11px
}

.local-status small,
.owner small {
  font-size: 10px
}

.owner {
  font-size: 12px
}

.breadcrumb {
  font-size: 12px
}

.topbar-status {
  font-size: 11px
}

.eyebrow {
  font-size: 10px
}

.page-heading p {
  font-size: 12px
}

.button {
  font-size: 12px
}

.period-picker input {
  font-size: 12px;
  width: 143px
}

.welcome-label {
  font-size: 9px
}

.welcome-copy p {
  font-size: 12px
}

.welcome-link {
  font-size: 12px
}

.stat-label {
  font-size: 12px
}

.stat-card>strong {
  font-size: 29px
}

.stat-unit {
  font-size: 11px
}

.stat-card>small {
  font-size: 10px;
  line-height: 1.7
}

.panel-heading h2 {
  font-size: 15px
}

.panel-heading p {
  font-size: 11px
}

.text-link {
  font-size: 11px
}

.empty-state h3 {
  font-size: 15px
}

.empty-state p {
  font-size: 12px;
  line-height: 1.8
}

.empty-state .button {
  font-size: 11px
}

.setup-panel h2 {
  font-size: 16px
}

.setup-panel>p {
  font-size: 11px
}

.tag {
  font-size: 10px
}

.setup-step strong {
  font-size: 12px
}

.setup-step small {
  font-size: 10px
}

.step-number {
  font-size: 10px
}

.setup-footnote {
  font-size: 10px
}

.reference-banner h3 {
  font-size: 13px
}

.reference-banner p {
  font-size: 11px;
  line-height: 1.7
}

.reference-banner .button {
  font-size: 10px
}

.footer {
  font-size: 10px
}

th {
  font-size: 10px
}

td {
  font-size: 12px
}

td small {
  font-size: 10px
}

.table-person strong {
  font-size: 12px
}

.table-search input {
  font-size: 12px
}

.text-button {
  font-size: 12px
}

.artist-card>p {
  font-size: 12px
}

.artist-card-footer {
  font-size: 11px
}

.artist-card-meta .tag {
  font-size: 10px
}

.payroll-summary .eyebrow {
  font-size: 10px
}

.payroll-summary>div>span:last-child {
  font-size: 11px
}

.source-org {
  font-size: 11px
}

.source-card h3 {
  font-size: 16px
}

.source-card p {
  font-size: 12px
}

.source-card-footer>span {
  font-size: 10px
}

.section-heading>span {
  font-size: 11px
}

.regulation-summary span {
  font-size: 12px
}

.declaration-card>.muted {
  font-size: 12px
}

.declaration-card>p {
  font-size: 12px
}

.declaration-state {
  font-size: 10px
}

.form-section-heading p {
  font-size: 11px
}

.field>span {
  font-size: 12px
}

.field input,
.field select,
.field textarea {
  font-size: 13px
}

.field small {
  font-size: 10px
}

.form-actions>.muted {
  font-size: 11px
}

.document-needed {
  font-size: 12px
}

.employer-checklist>p {
  font-size: 12px
}

.audit-event summary strong {
  font-size: 12px
}

.audit-event summary small,
.audit-event time {
  font-size: 10px
}

.modal-heading p {
  font-size: 12px
}

.work-date-heading strong {
  font-size: 12px
}

.blocker-list>div {
  font-size: 12px
}

.detail-total>span:first-child {
  font-size: 10px
}

.rule-details {
  font-size: 12px
}

.rule-details dt {
  font-size: 11px
}

.search-hint {
  font-size: 12px
}

.search-result strong {
  font-size: 13px
}

.search-result small {
  font-size: 11px
}

.info-note {
  font-size: 12px
}

@media(max-width:1200px) {
  .heading-actions .button {
    font-size: 11px
  }

  .stat-label {
    font-size: 11px
  }

  .stat-card>strong {
    font-size: 27px
  }

  .panel-heading>.text-link {
    font-size: 10px
  }

  .panel-heading h2 {
    font-size: 14px
  }

  .reference-banner p {
    font-size: 10px
  }

  .source-card h3 {
    font-size: 15px
  }
}

@media(max-width:1000px) {
  .regulation-summary span {
    font-size: 11px
  }

  .setup-step small {
    font-size: 10px
  }

  .source-card-footer {
    gap: 10px
  }

  .field>span {
    font-size: 11px
  }
}

@media(max-width:760px) {
  .topbar-status {
    font-size: 9px
  }

  .heading-actions .button {
    font-size: 11px
  }

  .welcome-copy p {
    font-size: 12px
  }

  .welcome-label {
    font-size: 8px
  }

  .stat-label {
    font-size: 11px
  }

  .stat-card>small {
    font-size: 10px
  }

  .reference-banner p {
    font-size: 11px
  }

  .regulation-summary span {
    font-size: 10px
  }

  .tag {
    font-size: 9px
  }

  .employer-checklist h2 {
    font-size: 16px
  }

  .date-grid {
    grid-template-columns: 1fr 1.25fr
  }

  .date-grid>.field:nth-child(5) {
    grid-column: span 1
  }

  .detail-body th {
    font-size: 9px
  }

  .detail-body td {
    font-size: 11px
  }
}

@media(max-width:440px) {
  .heading-actions .button {
    font-size: 10px
  }

  .period-picker input {
    font-size: 11px;
    width: 132px
  }

  .welcome-copy .welcome-label {
    font-size: 8px
  }

  .stat-label {
    font-size: 10px
  }

  .stat-card>strong {
    font-size: 26px
  }

  .stat-unit {
    font-size: 10px
  }

  .empty-state p {
    font-size: 12px
  }

  .date-grid>.field:nth-child(5) {
    grid-column: span 2
  }

  .artist-card-meta .tag {
    font-size: 10px
  }

  .source-card .text-link {
    font-size: 12px
  }

  .audit-event time {
    font-size: 9px
  }

  .field>span {
    font-size: 11px
  }

  .detail-body td {
    font-size: 10px
  }

  .detail-body td small {
    font-size: 9px
  }
}

.sidebar {
  overflow-y: auto
}

.period-picker {
  position: relative;
  min-width: 170px;
  cursor: pointer
}

.period-value {
  font-size: 12px;
  text-transform: capitalize;
  color: #65706c;
  white-space: nowrap
}

.period-picker input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  margin: 0;
  padding: 0;
  cursor: pointer
}

.period-picker .period-chevron {
  margin-left: auto;
  width: 12px;
  height: 12px;
  transform: rotate(90deg);
  pointer-events: none
}

.period-picker:focus-within {
  outline: 3px solid #77ab99;
  outline-offset: 3px
}

@media(max-width:440px) {
  .period-picker {
    min-width: 155px
  }

  .period-value {
    font-size: 11px
  }
}

/* Employer FPOC documents retain the original groups, dates and basis codes. */
.fpoc-panel { margin: 24px 0; }
.fpoc-document { border-top: 1px solid var(--line); }
.fpoc-document > summary { display: flex; align-items: center; gap: 13px; cursor: pointer; padding: 22px 24px; list-style: none; }
.fpoc-document > summary::-webkit-details-marker { display: none; }
.fpoc-file-icon { color: #7f9987; }
.fpoc-document > summary strong { display: block; font-size: 13px; font-weight: 500; }
.fpoc-document > summary small { display: block; font-size: 11px; color: var(--muted); margin-top: 5px; }
.fpoc-document > summary .tag { margin-left: auto; }
.fpoc-document > summary > .icon { width: 15px; color: #97a49b; }
.fpoc-document[open] > summary > .icon { transform: rotate(90deg); }
.fpoc-metadata { display: flex; align-items: center; flex-wrap: wrap; gap: 11px 18px; padding: 0 24px 22px; font-size: 11px; color: #849184; }
.fpoc-metadata > span:first-child { color: #536958; }
.fpoc-panel td strong { font-size: 11px; font-weight: 500; }
.fpoc-panel code { font-size: 11px; }
.fpoc-notes { padding: 0 22px 22px; }
.fpoc-technical { font-size: 11px; color: #849184; line-height: 1.8; }
.fpoc-technical summary { cursor: pointer; color: #5f7865; }
.fpoc-technical p { margin-top: 12px; overflow-wrap: anywhere; }
.fpoc-technical li { margin-top: 8px; }
.fpoc-empty { display: flex; align-items: center; gap: 12px; padding: 22px 24px 28px; color: #8e9a91; font-size: 12px; }
.fpoc-employer-summary { display: flex; align-items: center; gap: 15px; padding: 23px; margin-top: 22px; }
.fpoc-employer-summary h2 { font-size: 14px; font-weight: 500; }
.fpoc-employer-summary p { font-size: 11px; color: var(--muted); margin-top: 6px; }
.fpoc-employer-summary > .text-link { margin-left: auto; }
@media (max-width: 760px) {
  .fpoc-panel .panel-heading { flex-direction: column; align-items: flex-start; }
  .fpoc-document > summary { gap: 10px; padding: 18px; flex-wrap: wrap; }
  .fpoc-document > summary strong { font-size: 12px; }
  .fpoc-document > summary small { font-size: 10px; overflow-wrap: anywhere; }
  .fpoc-document > summary .tag { margin-left: 29px; }
  .fpoc-file-icon { align-self: flex-start; }
  .fpoc-document > summary > span:nth-child(2) { flex: 1; min-width: 190px; }
  .fpoc-document > summary > .icon { margin-left: auto; }
  .fpoc-metadata { padding: 0 18px 18px; font-size: 10px; }
  .fpoc-notes { padding: 0 16px 18px; }
  .fpoc-employer-summary { align-items: flex-start; flex-wrap: wrap; }
  .fpoc-employer-summary > .text-link { margin-left: 44px; }
}

/* Employee directory: professions are explicit; private identifiers stay in individual records. */
.employee-import-summary { display: flex; gap: 14px; align-items: center; padding: 20px 23px; margin: 0 0 22px; background: #eef4ef; border: 1px solid #dfe9e1; border-radius: 12px; }
.employee-import-summary strong { font-size: 13px; font-weight: 500; }
.employee-import-summary p { font-size: 11px; color: #849184; margin-top: 6px; }
.employee-import-summary > .button { margin-left: auto; }
.employees-table td { font-size: 11px; }
.employees-table .table-person { min-width: 150px; }
.employee-pagination { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-top: 1px solid var(--line); }
.employee-pagination > span { color: #89988b; font-size: 11px; }
.employee-pagination > div { display: flex; gap: 8px; }
.employee-pagination .button { font-size: 10px; min-height: 32px; }
.employee-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 24px; margin: 0 0 24px; }
.employee-fields dt { color: #8c9a8e; font-size: 10px; margin-bottom: 6px; }
.employee-fields dd { color: #485c4c; font-size: 12px; margin: 0; overflow-wrap: anywhere; }
.employee-sensitive { margin-top: 22px; padding-top: 18px; border-top: 1px solid #e7eee5; }
.employee-sensitive > summary { cursor: pointer; font-size: 12px; color: #5d785f; }
.employee-sensitive .employee-fields { margin-top: 20px; }
.employee-sensitive > p { font-size: 11px; margin-top: 12px; }
.employee-source { background: #f5f8f3; border-radius: 9px; padding: 16px; margin-top: 22px; font-size: 11px; color: #7b8d7c; }
.employee-source p { margin-top: 8px; line-height: 1.8; overflow-wrap: anywhere; }
@media (max-width:760px) {
  .employee-import-summary { align-items: flex-start; flex-wrap: wrap; padding: 19px; }
  .employee-import-summary > div { flex: 1; min-width: 220px; }
  .employee-import-summary > .button { margin-left: 44px; }
  .employee-pagination { flex-direction: column; align-items: flex-start; }
}
@media (max-width:440px) {
  .employee-fields { grid-template-columns: 1fr; }
}

/* Group, dossier and private-access workflows. */
.sidebar { overflow-y:auto }
.group-card { padding:0 0 20px; min-width:0 }
.group-card .panel-heading { margin-bottom:0 }
.group-members { padding:0 22px 18px; display:flex; flex-wrap:wrap; gap:7px }
.group-members>span { padding:5px 9px; background:var(--green-light); border-radius:7px; font-size:11px }
.object-list { border-top:1px solid var(--line); padding:12px 22px }
.object-list>div { padding:9px 0; border-bottom:1px solid var(--line) }
.object-list small,.roster-row small,.contract-row small,.excluded-contact small { display:block; color:var(--muted); font-size:11px; margin-top:3px }
.object-list .text-button { display:block }
.group-actions { padding:8px 22px 0; display:flex; flex-wrap:wrap; gap:8px }
.member-picker { max-height:300px; overflow-y:auto; border:1px solid var(--line); border-radius:12px; margin:12px 0 20px }
.member-picker label { display:flex; align-items:center; gap:12px; padding:11px 15px; border-bottom:1px solid var(--line); font-size:12px }
.member-picker label[hidden] { display:none }
.member-picker input,.check-line input,.simulation-rule input[type=checkbox] { accent-color:var(--green); width:17px; height:17px; flex-shrink:0 }
.roster-row { display:grid; grid-template-columns:1fr 1.3fr 1.2fr 28px; gap:12px; align-items:center; padding:15px; border:1px solid var(--line); border-radius:12px; margin-bottom:10px }
.roster-row>div>strong { font-size:12px }
.roster-row .field { margin:0 }
.distribution-context { padding:16px; background:var(--green-light); border-radius:12px; margin:16px 0 }
.distribution-context span { display:block; color:var(--muted); font-size:11px; margin-top:6px }
.distribution { border-top:1px solid var(--line); padding:18px 22px }
.distribution summary { display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px; cursor:pointer }
.distribution summary span { font-size:11px; color:var(--muted) }
.choice-grid { display:grid; gap:15px }
.workshop-empty { padding:20px 24px; color:var(--muted) }
.contract-row,.excluded-contact { display:flex; gap:18px; align-items:center; justify-content:space-between; padding:18px 24px; border-top:1px solid var(--line) }
.contract-row>div,.excluded-contact>div { min-width:0; overflow-wrap:anywhere }
.contracts-archive,.exclusions-panel,.public-reference,.coverage-panel { margin-top:24px }
.coverage-row { display:grid; grid-template-columns:240px 1fr; gap:20px; padding:15px 24px; border-top:1px solid var(--line); font-size:12px }
.coverage-row span { color:var(--muted) }
.public-reference td { white-space:normal; max-width:330px }
.public-reference .text-button { display:block; margin-top:6px; text-align:left }
.document-checks { display:flex; flex-wrap:wrap; gap:8px; margin:12px 0 }
.simulation-rule { display:grid; grid-template-columns:1fr 240px; gap:20px; border:1px solid var(--line); padding:14px; margin:10px 0; border-radius:12px }
.simulation-rule>label:first-child { display:flex; align-items:center; gap:10px; font-size:12px }
.simulation-rule small { display:block; color:var(--muted) }
.check-line { display:flex; gap:10px; align-items:center; padding:14px 0; font-size:12px }
.operations-grid { display:grid; grid-template-columns:1fr 1fr; gap:24px }
.operations-card { padding:25px }
.operations-card p { margin:16px 0; color:var(--muted) }
.operations-card .button { margin-right:8px; margin-top:10px }
.auth-mode .sidebar { display:none }
.auth-mode .main-shell { margin-left:0; width:100% }
.auth-card { max-width:470px; margin:6vh auto; padding:38px }
.auth-card>.eyebrow { margin-top:24px }
.auth-card h1 { font-size:27px; letter-spacing:-.6px }
.auth-card>p { margin:15px 0 24px; color:var(--muted); font-size:12px }
.auth-card .modal-form { padding:0 }
.auth-card .modal-footer { padding-left:0; padding-right:0 }
.auth-card [data-action=close] { display:none }
.auth-card .field { margin-bottom:16px }
@media(max-width:760px) {
 .roster-row { grid-template-columns:1fr 30px; padding:12px; gap:10px }
 .roster-row>div { grid-column:1 }
 .roster-row>.field { grid-column:1 / -1 }
 .roster-row>.icon-button { grid-column:2; grid-row:1 }
 .coverage-row,.operations-grid,.simulation-rule { grid-template-columns:1fr; gap:8px }
 .contract-row,.excluded-contact { flex-direction:column; align-items:flex-start; padding:16px }
 .group-actions .button { flex:1 }
 .distribution { padding:16px }
 .auth-card { margin:3vh auto; padding:24px }
 .member-picker { max-height:240px }
}
.minimum-fields { margin:16px 0 0; border-top:1px solid var(--line); padding-top:12px }
.minimum-fields summary { cursor:pointer; color:var(--muted); font-size:11px; padding:8px 0 }
.minimum-fields .form-grid { margin-top:12px }
