:root {
  --ink:#172d3e;
  --muted:#5c6975;
  --ground:#f3f6f7;
  --surface:#fff;
  --navy:#172d3e;
  --accent:#11675d;
  --border:#e4e9eb;
  --bs-primary:#11675d;
  --bs-body-color:#172d3e;
  --bs-body-font-family:"Segoe UI",Arial,sans-serif;
  --bs-body-font-size:14px;
  --bs-border-radius:6px;
}
* {
  box-sizing:border-box;
}
body {
  margin:0;
  background:var(--ground);
  color:var(--ink);
  font-size:14px;
  line-height:1.55;
  -webkit-tap-highlight-color:transparent;
}
a {
  color:var(--accent);
  text-decoration:none;
}
a:hover {
  text-decoration:underline;
}
button,input,select,textarea {
  font:inherit;
}
h1,h2,h3,p {
  margin-top:0;
}
h1 {
  font-size:28px;
  letter-spacing:-.6px;
  line-height:1.2;
  font-weight:650;
  margin-bottom:8px;
}
h2 {
  font-size:17px;
  line-height:1.35;
  font-weight:650;
  margin-bottom:12px;
}
h3 {
  font-size:16px;
  font-weight:600;
}
p {
  margin-bottom:14px;
}
strong {
  font-weight:600;
}
.muted,.field-help {
  color:var(--muted);
}
.icon {
  height:19px;
  width:19px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
  flex-shrink:0;
  vertical-align:middle;
}
.svg-symbols {
  position:absolute;
  width:0;
  height:0;
  overflow:hidden;
}
.skip-link {
  position:fixed;
  top:-100px;
  left:16px;
  padding:12px;
  background:white;
  z-index:100;
}
.skip-link:focus {
  top:12px;
}
a:focus-visible,button:focus-visible,summary:focus-visible {
  outline:3px solid #47a69a;
  outline-offset:4px;
}
.btn {
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  padding:10px 17px;
  font-size:14px;
  font-weight:600;
  line-height:1.3;
  border-radius:6px;
  touch-action:manipulation;
  white-space:normal;
}
.btn:hover {
  text-decoration:none;
}
.btn:active {
  transform:translateY(1px);
}
.btn-primary {
  --bs-btn-bg:var(--accent);
  --bs-btn-border-color:var(--accent);
  --bs-btn-hover-bg:#0b5149;
  --bs-btn-hover-border-color:#0b5149;
  --bs-btn-active-bg:#08463f;
  --bs-btn-disabled-bg:#537c77;
  --bs-btn-disabled-border-color:#537c77;
  color:white;
}
.btn-outline-secondary {
  --bs-btn-color:var(--ink);
  --bs-btn-border-color:#cbd5da;
  --bs-btn-hover-bg:#e9eff0;
  --bs-btn-hover-color:var(--ink);
  --bs-btn-hover-border-color:#b7c5cb;
}
.btn-outline-danger {
  --bs-btn-color:#a22e3b;
  --bs-btn-border-color:#c58c94;
  --bs-btn-hover-bg:#a22e3b;
}
.text-button {
  background:none;
  border:0;
  color:var(--accent);
  font-weight:600;
  padding:8px 0;
}
.sidebar {
  width:246px;
  position:fixed;
  inset:0 auto 0 0;
  z-index:30;
  background:var(--navy);
  color:#c3d0d8;
  display:flex;
  flex-direction:column;
  padding:34px 20px 20px;
}
.wordmark {
  display:block;
  font-size:25px;
  font-weight:650;
  letter-spacing:-.9px;
  line-height:1.15;
  white-space:nowrap;
}
.wordmark span {
  display:block;
  font-size:11px;
  letter-spacing:2px;
  font-weight:400;
  margin-top:6px;
}
.sidebar .wordmark {
  color:#fff;
  padding:0 12px;
}
.sidebar-caption {
  font-size:13px;
  line-height:1.55;
  padding:0 12px;
  margin:24px 0 28px;
  color:#c3d0d8;
}
.sidebar nav {
  display:flex;
  flex-direction:column;
  gap:5px;
}
.sidebar nav a {
  display:flex;
  gap:13px;
  align-items:center;
  color:#cbd6dd;
  padding:12px 14px;
  min-height:45px;
  border-radius:5px;
  font-size:14px;
}
.sidebar nav a:hover,.sidebar nav a[aria-current] {
  background:#294252;
  color:white;
  text-decoration:none;
}
.sidebar nav a[aria-current] {
  font-weight:600;
}
.sidebar nav .icon {
  width:18px;
  height:18px;
}
.sidebar-public {
  display:flex;
  align-items:center;
  gap:10px;
  padding:16px 10px;
  margin-top:28px;
  color:#cbd6dd;
  font-size:12px;
}
.sidebar-public .icon:last-child {
  width:15px;
  margin-left:auto;
}
.sidebar-account {
  margin-top:auto;
  border-top:1px solid #3c5262;
  padding:20px 12px 0;
  font-size:12px;
  overflow-wrap:anywhere;
}
.sidebar-account span {
  display:block;
}
.account-name {
  color:#fff;
  font-size:13px;
  font-weight:600;
  margin-bottom:3px;
}
.logout-button {
  color:#cbd6dd;
  background:none;
  border:0;
  padding:10px 0 0;
  font-size:12px;
}
.logout-button:hover {
  color:white;
  text-decoration:underline;
}
.workspace {
  margin:16px 16px 16px 262px;
  min-height:calc(100dvh - 32px);
  background:white;
  border:1px solid var(--border);
  border-radius:12px;
  padding:32px;
  max-width:1760px;
}
.mobile-bar {
  display:none;
}
.page-heading {
  display:flex;
  justify-content:space-between;
  gap:24px;
  align-items:center;
  margin-bottom:30px;
}
.page-heading p {
  margin-bottom:0;
}
.breadcrumb-line {
  font-size:12px;
  color:var(--muted);
  margin-bottom:10px!important;
}
.page-heading .btn {
  flex-shrink:0;
}
.setup-notice {
  padding:19px 22px;
  background:#eff5f4;
  display:flex;
  gap:15px;
  align-items:center;
  margin-bottom:25px;
  border-radius:6px;
}
.setup-notice p {
  margin:3px 0 0;
  font-size:13px;
  color:#455d60;
}
.setup-notice>a,.setup-notice>span {
  margin-left:auto;
  font-weight:600;
  font-size:13px;
  white-space:nowrap;
}
.metric-strip {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  margin-bottom:32px;
  border:1px solid var(--border);
  border-radius:7px;
  padding:24px 0;
}
.metric-strip>div {
  padding:0 24px;
  border-right:1px solid var(--border);
  display:flex;
  flex-direction:column;
  gap:4px;
}
.metric-strip>div:last-child {
  border:0;
}
.metric-strip span,.metric-strip a {
  font-size:12px;
  color:var(--muted);
}
.metric-strip strong {
  font-size:32px;
  font-weight:550;
  line-height:1.5;
  font-variant-numeric:tabular-nums;
}
.metric-strip a {
  color:var(--accent);
}
.dashboard-grid {
  display:grid;
  grid-template-columns:minmax(0,1fr) 280px;
  gap:24px;
  align-items:start;
}
.panel {
  border:1px solid var(--border);
  border-radius:7px;
  overflow:hidden;
}
.section-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:20px 22px;
}
.section-heading h2 {
  margin:0;
}
.section-heading p {
  font-size:12px;
  color:var(--muted);
  margin:4px 0 0;
}
.section-heading>a {
  font-size:12px;
  white-space:nowrap;
}
.workflow-panel {
  background:#f3f6f7;
  padding:23px;
  border-radius:7px;
}
.workflow-panel>p {
  color:var(--muted);
  font-size:13px;
}
.workflow {
  list-style:none;
  padding:0;
  margin:25px 0;
}
.workflow li {
  position:relative;
  padding:0 0 23px 24px;
  border-left:1px solid #c5d4d8;
}
.workflow li:last-child {
  border:0;
  padding-bottom:0;
}
.workflow li:before {
  content:"";
  position:absolute;
  left:-4px;
  top:6px;
  width:7px;
  height:7px;
  background:#5d817e;
  border-radius:50%;
}
.workflow strong,.workflow span {
  display:block;
}
.workflow strong {
  font-size:13px;
  margin-bottom:5px;
}
.workflow span {
  font-size:12px;
  color:var(--muted);
}
.workflow-footnote {
  font-size:12px!important;
  margin:20px 0 0;
}
.table-wrap {
  width:100%;
  overflow:auto;
}
.records-table {
  width:100%;
  border-collapse:collapse;
  font-size:13px;
}
.records-table th {
  text-align:left;
  font-size:12px;
  color:var(--muted);
  font-weight:500;
  padding:11px 20px;
  white-space:nowrap;
}
.records-table td {
  padding:17px 20px;
  border-top:1px solid #edf0f2;
  vertical-align:middle;
  max-width:290px;
  overflow-wrap:anywhere;
}
.records-table tr:hover td {
  background:#fcfdfd;
}
.records-table .row-action {
  white-space:nowrap;
  text-align:right;
}
.record-id {
  font-weight:600;
  color:var(--ink);
  white-space:nowrap;
}
.primary-text {
  font-weight:600;
  display:block;
}
.subline {
  display:block;
  color:var(--muted);
  font-size:12px;
  margin-top:4px;
}
.row-action a {
  font-size:12px;
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.row-action .icon {
  width:15px;
  height:15px;
}
.status {
  display:inline-flex;
  align-items:center;
  gap:6px;
  border-radius:4px;
  font-size:11px;
  padding:3px 8px;
  font-weight:600;
  white-space:nowrap;
  background:#eef1f3;
  color:#4f5e6b;
}
.status:before {
  content:"";
  height:5px;
  width:5px;
  background:currentColor;
  border-radius:50%;
}
.status.issued {
  background:#e7f2ee;
  color:#19634e;
}
.status.annulled {
  background:#faeaec;
  color:#a22e3b;
}
.status.preparing {
  background:#fcf3de;
  color:#825e10;
}
.empty-state {
  padding:38px 16px;
  text-align:center;
  max-width:480px;
  margin:auto;
}
.empty-state p {
  color:var(--muted);
  font-size:13px;
  line-height:1.7;
}
.empty-state a {
  font-weight:600;
}
.filter-bar {
  display:flex;
  align-items:end;
  gap:14px;
  margin-bottom:24px;
  flex-wrap:wrap;
}
.filter-bar>div {
  min-width:140px;
}
.filter-bar label {
  font-size:12px;
  color:var(--muted);
  display:block;
  margin-bottom:7px;
}
.filter-bar .search-field {
  flex:1;
  min-width:220px;
}
.filters-wide {
  gap:12px;
}
.filters-wide>div:not(.search-field) {
  min-width:115px;
  flex:0 1 130px;
}
.form-control,.form-select {
  font-size:14px;
  min-height:42px;
  border-color:#cdd7dc;
  color:var(--ink);
  padding:10px 12px;
  background-color:white;
  box-shadow:none;
}
.form-control:focus,.form-select:focus {
  border-color:#257b70;
  box-shadow:0 0 0 3px #11675d18;
}
.form-control::placeholder {
  color:#687985;
}
.form-label {
  font-size:13px;
  font-weight:600;
  margin-bottom:7px;
}
.field {
  margin-bottom:20px;
  min-width:0;
}
.field-check {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
}
.field-check .form-check-input {
  margin:0;
  width:18px;
  height:18px;
}
.field-check label {
  font-size:13px;
}
.field-help {
  font-size:12px;
  line-height:1.65;
  margin-top:7px;
}
.field-error,.form-error {
  font-size:13px;
  color:#a22e3b;
}
.field-error ul,.form-error ul {
  list-style:none;
  padding:0;
  margin:8px 0;
}
.form-error {
  background:#faeaec;
  padding:12px 16px;
  margin-bottom:20px;
  border-radius:5px;
}
.required {
  color:#57727a;
}
.settings-grid {
  display:grid;
  grid-template-columns:minmax(220px,.75fr) minmax(0,1.5fr);
  gap:56px;
  max-width:1100px;
  align-items:start;
}
.settings-grid aside {
  padding-top:5px;
  max-width:320px;
}
.settings-grid aside p {
  color:var(--muted);
  font-size:13px;
  line-height:1.8;
}
.aside-subtitle {
  margin-top:32px;
}
.form-panel {
  padding:26px;
  background:#f6f8f9;
  border-radius:7px;
}
.form-panel .field:last-of-type {
  margin-bottom:0;
}
.form-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0 22px;
}
.form-grid .field:first-of-type,.form-grid .form-error,.form-grid .form-actions,.form-grid .field-check {
  grid-column:1/-1;
}
.form-grid .field:has(textarea) {
  grid-column:1/-1;
}
.form-actions {
  margin-top:26px;
  display:flex;
  gap:12px;
  justify-content:flex-end;
  flex-wrap:wrap;
}
.back-link {
  display:inline-block;
  font-size:13px;
  color:var(--muted);
  margin-bottom:25px;
}
.step-label {
  font-size:12px;
  color:var(--muted);
}
.signer-summary {
  background:#eff5f4;
  border-radius:6px;
  padding:20px;
  margin:24px 0;
}
.signer-summary>span {
  display:block;
  font-size:12px;
  color:var(--muted);
  margin-bottom:8px;
}
.signer-summary strong {
  font-size:15px;
  overflow-wrap:anywhere;
}
.signer-summary p {
  margin:4px 0 12px;
}
.preview-grid {
  display:grid;
  grid-template-columns:minmax(0,1fr) 300px;
  gap:24px;
  align-items:start;
}
.pdf-panel {
  min-width:0;
  background:#f2f4f5;
  padding:10px;
  border-radius:6px;
}
.pdf-panel .section-heading {
  padding:10px 12px 18px;
}
.pdf-panel iframe {
  display:block;
  width:100%;
  height:690px;
  border:0;
  background:white;
}
.pdf-panel>.field-help {
  padding:0 10px;
}
.review-panel {
  border:1px solid var(--border);
  padding:24px;
  border-radius:6px;
}
.detail-list {
  margin:20px 0 28px;
}
.detail-list dt {
  color:var(--muted);
  font-weight:400;
  font-size:12px;
  margin-bottom:5px;
}
.detail-list dd {
  font-size:14px;
  margin:0 0 19px;
  overflow-wrap:anywhere;
}
.detail-list.two-columns {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0 32px;
}
.detail-list.two-columns>div {
  min-width:0;
}
.detail-list dd .subline {
  margin-top:3px;
}
.edit-text-panel {
  margin-top:24px;
  border:1px solid var(--border);
  border-radius:6px;
  padding:20px;
}
.edit-text-panel summary {
  cursor:pointer;
  font-size:14px;
  font-weight:600;
}
.edit-text-panel form {
  margin-top:24px;
}
.edit-text-panel button {
  margin-top:18px;
}
.detail-grid {
  display:grid;
  grid-template-columns:minmax(0,1fr) 310px;
  gap:24px;
  align-items:start;
}
.detail-panel {
  padding:24px;
}
.detail-panel h2 {
  margin-bottom:22px;
}
.certificate-text {
  white-space:normal;
  line-height:1.9;
  font-size:14px;
  overflow-wrap:anywhere;
}
.text-section-title {
  margin-top:26px!important;
}
.secondary-action {
  display:block;
  padding:8px 0;
  margin:20px 0;
}
.copy-button {
  margin-top:12px;
}
.copy-status {
  font-size:12px;
  color:var(--muted);
}
.annul-panel {
  padding:24px;
  background:#faf5f5;
  margin-top:24px;
  border-radius:6px;
}
.annul-panel p {
  font-size:13px;
  color:#735963;
}
.annul-panel button {
  margin-top:16px;
}
.notice {
  padding:16px 20px;
  border-radius:6px;
  background:#eff5f4;
  color:#254d46;
  margin-bottom:24px;
  font-size:13px;
}
.notice.error {
  background:#faeaec;
  color:#8d2935;
}
.notice p {
  margin:8px 0 0;
}
.pagination-row {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  padding:20px;
  font-size:12px;
  color:var(--muted);
}
.pagination-row>div {
  display:flex;
  gap:20px;
}
.count {
  font-size:12px;
  font-weight:400;
  color:var(--muted);
  margin-left:8px;
}
.asset-preview {
  padding:15px;
  background:#f5f7f8;
  margin-top:16px;
  border-radius:6px;
}
.asset-preview span {
  display:block;
  color:var(--muted);
  font-size:12px;
  margin-bottom:10px;
}
.asset-preview img {
  max-height:100px;
  max-width:100%;
  object-fit:contain;
}
.placeholder-list {
  font-size:13px;
  margin:24px 0;
}
.placeholder-list dt {
  font-weight:600;
  color:var(--accent);
}
.placeholder-list dd {
  color:var(--muted);
  margin:3px 0 14px;
}
.user-access-form {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.user-access-form select {
  width:auto;
  font-size:12px;
}
.user-access-form .btn {
  font-size:12px;
  padding:8px 12px;
}
.new-user-grid {
  margin-top:44px;
}
.break-text {
  overflow-wrap:anywhere;
}
.public-layout {
  background:#f3f6f7;
  min-height:100dvh;
  display:flex;
  flex-direction:column;
}
.public-header {
  height:104px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  max-width:1150px;
  width:calc(100% - 80px);
  margin:0 auto;
  border-bottom:1px solid #dfe7ea;
  gap:24px;
}
.public-header .wordmark {
  color:var(--navy);
  font-size:25px;
}
.public-header .wordmark span {
  font-size:10px;
}
.header-scope {
  font-size:12px;
  color:var(--muted);
}
.public-main {
  width:calc(100% - 80px);
  max-width:1100px;
  margin:0 auto;
  flex:1;
}
.public-footer {
  width:calc(100% - 80px);
  max-width:1150px;
  margin:50px auto 0;
  padding:24px 0;
  border-top:1px solid #dfe7ea;
  display:flex;
  justify-content:space-between;
  gap:20px;
  color:var(--muted);
  font-size:11px;
}
.login-layout {
  display:grid;
  grid-template-columns:1fr 420px;
  gap:90px;
  align-items:center;
  padding:80px 40px 40px;
}
.login-intro {
  max-width:410px;
}
.login-intro h1 {
  font-size:38px;
  line-height:1.2;
  letter-spacing:-1.1px;
  margin:24px 0 20px;
}
.login-intro>p {
  font-size:17px;
  line-height:1.8;
  color:#4c606d;
}
.intro-icon {
  height:44px;
  width:44px;
  stroke-width:1.1;
  color:var(--accent);
}
.intro-note {
  display:flex;
  align-items:start;
  gap:13px;
  margin-top:32px;
  font-size:13px;
  color:var(--muted);
  line-height:1.8;
}
.intro-note .icon {
  margin-top:3px;
}
.login-panel {
  background:white;
  padding:36px;
  border:1px solid var(--border);
  border-radius:8px;
}
.login-panel h2 {
  font-size:23px;
}
.login-panel>.muted {
  font-size:13px;
  margin-bottom:28px;
}
.login-help {
  font-size:12px;
  color:var(--muted);
  line-height:1.8;
  margin:24px 0 0;
}
.public-entry-link {
  display:block;
  text-align:right;
  font-size:13px;
  padding:0 40px 30px;
}
.verification-intro {
  max-width:580px;
  margin:54px auto 28px;
  text-align:center;
}
.verification-intro h1 {
  font-size:28px;
  margin:18px 0 14px;
}
.verification-intro p {
  font-size:15px;
  color:var(--muted);
  line-height:1.75;
}
.public-shield {
  width:38px;
  height:38px;
  stroke-width:1.3;
  color:var(--accent);
}
.verification-card {
  max-width:650px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:8px;
  margin:0 auto;
  overflow:hidden;
}
.entry-card {
  padding:32px;
  max-width:560px;
}
.entry-card h2 {
  font-size:18px;
}
.entry-card>.muted {
  font-size:13px;
  line-height:1.8;
}
.entry-card button {
  margin-top:20px;
}
.privacy-note {
  font-size:12px;
  color:var(--muted);
  border-top:1px solid var(--border);
  padding-top:22px;
  margin:26px 0 0;
  line-height:1.75;
}
.verification-page {
  max-width:650px;
  margin:36px auto 0;
}
.verification-context {
  font-size:13px;
  color:var(--muted);
  margin-bottom:22px;
}
.verification-status {
  display:flex;
  gap:17px;
  align-items:center;
  background:#eaf3ef;
  padding:27px 30px;
  color:#19513f;
}
.verification-status>.icon {
  height:36px;
  width:36px;
  stroke-width:1.4;
}
.verification-status h1 {
  font-size:24px;
  margin-bottom:7px;
  letter-spacing:-.5px;
}
.verification-status p {
  margin:0;
  font-size:12px;
}
.verification-status.is-annulled {
  background:#faeaec;
  color:#8d2935;
}
.verification-body {
  padding:28px 32px;
}
.document-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:13px;
  color:var(--muted);
  margin-bottom:23px;
  gap:12px;
}
.worker-name {
  font-size:24px;
  font-weight:600;
  line-height:1.35;
  letter-spacing:-.4px;
  overflow-wrap:anywhere;
  margin-bottom:9px;
}
.verification-body>.muted {
  font-size:13px;
}
.verification-body .detail-list {
  margin-top:29px;
}
.download-original {
  min-height:48px;
}
.original-caption {
  font-size:12px;
  text-align:center;
  margin:10px 0 25px;
  color:var(--muted);
}
.verification-note {
  padding-top:23px;
  border-top:1px solid var(--border);
  font-size:12px;
}
.verification-note p {
  color:var(--muted);
  line-height:1.8;
  margin:6px 0 0;
}
.public-back-link {
  display:block;
  text-align:center;
  font-size:12px;
  margin-top:26px;
}
.not-found {
  padding:45px 32px;
  text-align:center;
}
.not-found h1 {
  font-size:26px;
  margin:23px 0 16px;
}
.not-found p {
  color:var(--muted);
  font-size:14px;
  line-height:1.8;
  margin-bottom:26px;
}
.error-page {
  padding:70px 0;
  max-width:600px;
}
.error-page p {
  color:var(--muted);
}
@media(min-width:1600px) {
  .workspace {
    padding:40px;
  }
  .dashboard-grid {
    grid-template-columns:minmax(0,1fr) 310px;
  }
  .metric-strip {
    margin-bottom:36px;
  }
}
@media(max-width:1200px) {
  .sidebar {
    width:220px;
    padding-left:15px;
    padding-right:15px;
  }
  .sidebar .wordmark {
    font-size:23px;
  }
  .workspace {
    margin-left:232px;
    padding:26px;
  }
  .dashboard-grid {
    grid-template-columns:1fr;
  }
  .workflow-panel {
    display:none;
  }
  .metric-strip>div {
    padding:0 18px;
  }
  .metric-strip span {
    font-size:11px;
  }
  .records-table td,.records-table th {
    padding-left:16px;
    padding-right:16px;
  }
  .settings-grid {
    gap:28px;
  }
  .preview-grid {
    grid-template-columns:minmax(0,1fr) 270px;
    gap:18px;
  }
  .detail-grid {
    grid-template-columns:minmax(0,1fr) 280px;
    gap:20px;
  }
  .login-layout {
    gap:50px;
    padding-left:0;
    padding-right:0;
  }
  .login-intro h1 {
    font-size:34px;
  }
  .login-layout {
    grid-template-columns:1fr 400px;
  }
}
@media(max-width:1000px) {
  .sidebar {
    transform:translateX(-100%);
    transition:transform .18s ease;
  }
  .sidebar.is-open {
    transform:translateX(0);
  }
  .workspace {
    margin:0 12px 12px;
    padding:28px;
    min-height:calc(100dvh - 76px);
  }
  .mobile-bar {
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:12px 20px;
    height:64px;
    color:var(--ink);
    font-size:15px;
    font-weight:600;
  }
  .menu-button {
    border:0;
    background:none;
    padding:10px;
    margin-left:-10px;
    color:var(--ink);
  }
  .mobile-bar>a {
    padding:10px;
    margin-right:-10px;
  }
  .mobile-bar .icon {
    width:22px;
    height:22px;
  }
  .sidebar.is-open {
    top:64px;
    width:260px;
  }
  .dashboard-grid {
    grid-template-columns:minmax(0,1fr);
  }
  .workflow-panel {
    display:block;
  }
  .workflow {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:22px;
  }
  .workflow-panel>.btn {
    width:auto!important;
  }
  .workflow-footnote {
    max-width:600px;
  }
  .metric-strip span {
    font-size:12px;
  }
  .public-header,.public-main,.public-footer {
    width:calc(100% - 48px);
  }
  .login-layout {
    grid-template-columns:1fr 360px;
    gap:35px;
    padding-top:60px;
  }
  .login-panel {
    padding:28px;
  }
  .login-intro h1 {
    font-size:30px;
  }
  .login-intro>p {
    font-size:15px;
  }
  .public-entry-link {
    padding-right:0;
  }
  .user-access-form {
    max-width:260px;
  }
  .preview-grid {
    grid-template-columns:minmax(0,1fr) 260px;
  }
  .review-panel {
    padding:20px;
  }
}
@media(max-width:700px) {
  body {
    font-size:14px;
  }
  .workspace {
    padding:24px 20px;
    margin:0 8px 8px;
    border-radius:8px;
  }
  .page-heading {
    gap:15px;
    align-items:start;
    margin-bottom:25px;
  }
  .page-heading h1 {
    font-size:24px;
  }
  .page-heading .btn {
    font-size:12px;
    min-height:42px;
    padding:10px 12px;
    gap:6px;
  }
  .page-heading .btn .icon {
    width:15px;
  }
  .page-heading .muted {
    font-size:12px;
    max-width:250px;
  }
  .breadcrumb-line {
    font-size:11px;
  }
  .setup-notice {
    padding:17px;
    gap:12px;
    flex-wrap:wrap;
  }
  .setup-notice>div {
    flex:1;
    min-width:170px;
  }
  .setup-notice>a,.setup-notice>span {
    margin:0 0 0 30px;
    font-size:12px;
    white-space:normal;
  }
  .metric-strip {
    grid-template-columns:repeat(2,minmax(0,1fr));
    padding:0;
    margin-bottom:25px;
  }
  .metric-strip>div {
    padding:17px 20px;
    border-bottom:1px solid var(--border);
  }
  .metric-strip>div:nth-child(2) {
    border-right:0;
  }
  .metric-strip>div:nth-child(3) {
    border-bottom:0;
  }
  .metric-strip>div:last-child {
    border:0;
  }
  .metric-strip strong {
    font-size:28px;
  }
  .metric-strip span,.metric-strip a {
    font-size:11px;
  }
  .section-heading {
    padding:18px;
  }
  .section-heading h2 {
    font-size:15px;
  }
  .records-table,.records-table tbody,.records-table tr,.records-table td {
    display:block;
    width:100%;
    max-width:none;
  }
  .records-table thead {
    display:none;
  }
  .records-table tr {
    border-top:1px solid var(--border);
    padding:14px 18px;
    position:relative;
  }
  .records-table td {
    border:0;
    padding:4px 0;
    font-size:12px;
  }
  .records-table td:before {
    content:attr(data-label);
    color:var(--muted);
    display:inline-block;
    min-width:88px;
    font-size:11px;
  }
  .records-table td:first-child {
    font-size:13px;
    font-weight:600;
    margin-bottom:4px;
  }
  .records-table td:first-child:before {
    display:none;
  }
  .records-table td:nth-child(2) .primary-text {
    display:inline;
    font-size:13px;
  }
  .records-table td .subline {
    display:inline;
    font-size:11px;
    margin-left:4px;
  }
  .records-table .row-action {
    margin-top:7px;
    padding-top:8px;
    text-align:right;
  }
  .records-table td.row-action:before {
    display:none;
  }
  .records-table td[colspan]:before {
    display:none;
  }
  .records-table td[colspan] {
    padding:0;
  }
  .records-table td .empty-state {
    padding:24px 10px;
  }
  .empty-state {
    padding:24px 0;
  }
  .empty-state p {
    font-size:12px;
  }
  .workflow-panel {
    padding:20px;
  }
  .workflow {
    grid-template-columns:1fr;
    gap:0;
  }
  .workflow li {
    padding-bottom:20px;
  }
  .workflow-panel>.btn {
    width:100%!important;
  }
  .settings-grid,.form-grid {
    grid-template-columns:1fr;
    gap:0;
  }
  .settings-grid {
    gap:20px;
  }
  .settings-grid aside {
    max-width:none;
    padding:0;
  }
  .settings-grid aside h2 {
    font-size:16px;
  }
  .settings-grid aside p {
    font-size:12px;
    line-height:1.7;
  }
  .form-panel {
    padding:20px;
  }
  .form-control,.form-select {
    font-size:16px;
    min-height:44px;
  }
  .form-actions {
    margin-top:23px;
  }
  .form-actions .btn {
    flex:1;
  }
  .form-grid .field {
    grid-column:1;
  }
  .filter-bar {
    gap:10px;
  }
  .filter-bar .search-field {
    flex:1;
    min-width:100%;
  }
  .filter-bar>div {
    flex:1;
    min-width:100px;
  }
  .filter-bar .btn {
    min-height:44px;
  }
  .filters-wide>div:not(.search-field) {
    flex:1;
    min-width:120px;
  }
  .filters-wide .btn {
    width:100%;
  }
  .pagination-row {
    flex-wrap:wrap;
    padding:16px;
  }
  .pagination-row>div {
    margin-left:auto;
  }
  .preview-grid,.detail-grid {
    grid-template-columns:1fr;
  }
  .review-panel {
    order:-1;
  }
  .review-panel .detail-list {
    display:grid;
    grid-template-columns:110px 1fr;
    gap:10px 14px;
    margin:20px 0;
  }
  .review-panel .detail-list dd,.review-panel .detail-list dt {
    margin:0;
    font-size:12px;
  }
  .pdf-panel iframe {
    height:500px;
  }
  .pdf-panel .section-heading h2 {
    font-size:14px;
  }
  .step-label {
    display:none;
  }
  .detail-panel {
    padding:20px;
  }
  .detail-list.two-columns {
    gap:0 20px;
  }
  .detail-list dd {
    font-size:13px;
  }
  .detail-list dt {
    font-size:11px;
  }
  .annul-panel {
    padding:20px;
  }
  .public-header {
    height:88px;
  }
  .public-header .wordmark {
    font-size:23px;
  }
  .header-scope {
    font-size:11px;
    max-width:105px;
    text-align:right;
  }
  .public-header,.public-main,.public-footer {
    width:calc(100% - 40px);
  }
  .login-layout {
    grid-template-columns:1fr;
    gap:25px;
    padding:36px 0 25px;
  }
  .login-intro {
    max-width:none;
  }
  .login-intro .intro-icon {
    height:33px;
    width:33px;
  }
  .login-intro h1 {
    font-size:28px;
    margin:16px 0 12px;
  }
  .login-intro>p {
    font-size:14px;
    margin-bottom:0;
  }
  .intro-note {
    display:none;
  }
  .login-panel {
    padding:26px;
  }
  .login-panel h2 {
    font-size:22px;
  }
  .public-entry-link {
    font-size:12px;
    text-align:center;
    padding:0;
    line-height:1.8;
  }
  .public-footer {
    margin-top:35px;
    flex-direction:column;
    gap:5px;
    padding:20px 0;
    font-size:10px;
  }
  .verification-intro {
    margin:34px auto 24px;
  }
  .verification-intro h1 {
    font-size:26px;
  }
  .verification-intro p {
    font-size:13px;
  }
  .entry-card {
    padding:24px;
  }
  .entry-card h2 {
    font-size:17px;
  }
  .entry-card>.muted {
    font-size:12px;
  }
  .verification-page {
    margin-top:26px;
  }
  .verification-context {
    font-size:12px;
    margin-bottom:17px;
  }
  .verification-status {
    padding:22px;
    gap:13px;
    align-items:start;
  }
  .verification-status>.icon {
    width:29px;
    height:29px;
    margin-top:2px;
  }
  .verification-status h1 {
    font-size:22px;
  }
  .verification-status p {
    font-size:11px;
    line-height:1.7;
  }
  .verification-body {
    padding:22px;
  }
  .document-heading {
    font-size:12px;
    margin-bottom:21px;
  }
  .worker-name {
    font-size:22px;
  }
  .verification-body .detail-list.two-columns {
    grid-template-columns:1fr;
  }
  .verification-body .detail-list dd {
    font-size:14px;
    margin-bottom:16px;
  }
  .verification-body .detail-list dt {
    font-size:12px;
  }
  .download-original {
    font-size:13px;
    padding:13px 10px;
  }
  .verification-note {
    font-size:11px;
  }
  .not-found {
    padding:32px 22px;
  }
  .not-found h1 {
    font-size:24px;
  }
  .not-found p {
    font-size:13px;
  }
  .new-user-grid {
    margin-top:30px;
  }
  .user-access-form {
    max-width:100%;
    margin-top:8px;
  }
  .user-access-form select {
    font-size:14px;
    flex:1;
  }
  .user-access-form button {
    flex:1;
  }
  .back-link {
    margin-bottom:20px;
  }
  .error-page {
    padding:45px 0;
  }
}
.metric-strip span,.metric-strip a,.records-table th,.records-table .subline,.section-heading p,.row-action a {
  font-size:13px;
}
.sidebar-public,.sidebar-account,.sidebar-account .logout-button {
  font-size:13px;
}
.login-intro h1 {
  font-size:32px;
}
@media(max-width:700px) {
  .metric-strip>div {
    min-height:135px;
  }
  .metric-strip span,.metric-strip a {
    font-size:12px;
  }
  .records-table td,.records-table td:before,.records-table td .subline {
    font-size:13px;
  }
  .records-table td:nth-child(2) .subline {
    display:block;
    margin-left:88px;
  }
  .login-intro h1 {
    font-size:28px;
  }
}
.public-header .wordmark span {
  font-size:11px;
}
.public-footer {
  font-size:12px;
}
.header-scope,.verification-status p,.verification-note,.original-caption,.public-back-link,.verification-body .detail-list dt {
  font-size:13px;
}
@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    scroll-behavior:auto!important;
    transition:none!important;
    animation:none!important;
  }
}
@media(hover:hover) {
  .btn,.sidebar nav a {
    transition:background-color .12s ease;
  }
  .record-id:hover {
    color:var(--accent);
  }
}
