:root {
  --navy:#193c70;
  --blue:#315be8;
  --blue-soft:#edf2ff;
  --text:#23334b;
  --muted:#7a879a;
  --line:#e6eaf0;
  --canvas:#f6f8fb;
  --green:#1a886b;
  --green-soft:#eaf7f1;
  --amber:#b37a1b;
  --amber-soft:#fff5df;
  --red:#c64d54;
  --radius:12px;
  --sidebar:248px;
  --font:"Segoe UI","Yu Gothic UI","Meiryo",sans-serif
}

* {
  box-sizing:border-box
}

body {
  margin:0;
  color:var(--text);
  background:var(--canvas);
  font-family:var(--font);
  font-size:14px;
  line-height:1.6
}

button,input,select,textarea {
  font:inherit
}

button,a,input,select,textarea {
  -webkit-tap-highlight-color:transparent
}

button {
  cursor:pointer
}

a {
  color:var(--blue);
  text-decoration:none
}

button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible {
  outline:3px solid #8ba5ff;
  outline-offset:3px
}

button:disabled {
  cursor:not-allowed;
  opacity:.5
}

svg {
  display:block
}

button {
  color:inherit
}

h1,h2,h3,p {
  margin:0
}

button svg,.icon {
  width:20px;
  height:20px;
  flex-shrink:0;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round
}

.skip-link {
  position:fixed;
  left:15px;
  top:-60px;
  z-index:30;
  background:white;
  padding:12px
}

.skip-link:focus {
  top:10px
}

.app-shell {
  min-height:100vh
}

.sidebar {
  position:fixed;
  inset:0 auto 0 0;
  width:var(--sidebar);
  background:#fff;
  border-right:1px solid var(--line);
  display:flex;
  flex-direction:column;
  z-index:20;
  padding:30px 18px 0
}

.brand {
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--navy);
  padding:0 5px
}

.brand strong {
  font-size:15px;
  letter-spacing:.015em;
  white-space:nowrap
}

.brand small {
  display:block;
  font-size:11px;
  letter-spacing:.12em;
  color:#8290a6;
  margin-top:2px
}

.brand-mark {
  width:37px;
  height:37px;
  display:grid;
  place-items:center;
  background:var(--navy);
  border-radius:10px;
  flex-shrink:0
}

.brand-mark svg {
  width:27px;
  fill:none;
  stroke:white;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round
}

.workspace-label {
  display:flex;
  align-items:center;
  gap:7px;
  margin:27px 5px 15px;
  padding:11px 9px;
  background:#f7f9fc;
  border:1px solid #edf0f5;
  border-radius:7px;
  font-size:11px;
  color:#6d7d94
}

.dot {
  display:inline-block;
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--green);
  flex-shrink:0
}

.workspace-tag {
  font-size:9px;
  margin-left:auto;
  color:#8290a6;
  letter-spacing:.07em
}

nav {
  overflow-y:auto;
  padding-bottom:15px
}

.nav-group {
  font-size:10px;
  color:#98a3b3;
  letter-spacing:.12em;
  margin:21px 14px 8px
}

.nav-link {
  display:flex;
  align-items:center;
  gap:12px;
  padding:11px 14px;
  margin:3px 0;
  border-radius:7px;
  color:#68768b;
  font-size:12px;
  font-weight:600;
  transition:background .15s
}

.nav-link:hover {
  background:#f5f7fb
}

.nav-link.active {
  background:var(--blue-soft);
  color:var(--blue)
}

.nav-link.active:before {
  content:"";
  position:absolute;
  left:0;
  width:3px;
  height:24px;
  background:var(--blue);
  border-radius:0 3px 3px 0
}

.nav-count {
  margin-left:auto;
  border-radius:5px;
  background:#dde6ff;
  font-size:10px;
  padding:0 6px;
  color:var(--blue)
}

.nav-link .icon {
  width:18px;
  height:18px
}

.sidebar-bottom {
  margin-top:auto;
  padding-top:15px;
  background:white
}

.demo-note {
  padding:13px 12px;
  background:#f8f9fc;
  border-radius:8px;
  margin-bottom:17px
}

.demo-note strong {
  display:block;
  color:#62738d;
  font-size:11px
}

.demo-note span {
  font-size:10px;
  color:#95a1b2
}

.profile {
  display:flex;
  align-items:center;
  gap:11px;
  background:none;
  border:0;
  border-top:1px solid var(--line);
  padding:20px 5px;
  width:100%;
  text-align:left
}

.profile strong {
  font-size:11px;
  display:block
}

.profile small {
  font-size:10px;
  display:block;
  color:var(--muted)
}

.profile>span:last-child {
  margin-left:auto
}

.avatar {
  display:grid;
  place-items:center;
  background:#ebeff7;
  color:#506683;
  width:34px;
  height:34px;
  border-radius:50%;
  font-size:12px;
  font-weight:600;
  flex-shrink:0
}

.avatar.small {
  width:30px;
  height:30px;
  font-size:11px
}

.main-shell {
  margin-left:var(--sidebar)
}

.topbar {
  height:72px;
  background:#fff;
  border-bottom:1px solid var(--line);
  padding:0 36px;
  display:flex;
  justify-content:space-between;
  align-items:center
}

.breadcrumb {
  display:flex;
  gap:16px;
  align-items:center;
  font-size:11px;
  color:#8995a7
}

.breadcrumb strong {
  font-weight:500;
  color:#45556d
}

.breadcrumb-divider {
  color:#c3cbd7
}

.topbar-actions {
  display:flex;
  align-items:center;
  gap:19px
}

.instruction-section-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-bottom:22px
}

.instruction-section-heading p { margin:7px 0 0; color:var(--muted,#7a879a); line-height:1.7 }
.instruction-section-heading .button { flex-shrink:0 }
.instruction-lines-heading { border-top:1px solid #e8edf4; padding-top:26px; margin-top:24px }
.instruction-line { padding:18px; border:1px solid #e1e7f0; border-radius:9px; background:#fafcfe; margin-bottom:14px }
.instruction-line-heading { display:flex; align-items:center; justify-content:space-between; margin-bottom:14px }
.instruction-line-heading strong { color:#3d5274; font-size:12px }
.instruction-line-grid { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:14px }
.instruction-line-grid .field:nth-child(1),.instruction-line-grid .field:nth-child(4) { grid-column:span 2 }
.instruction-line-grid .field:nth-child(5),.instruction-line-grid .field:nth-child(6) { grid-column:span 3 }
.instruction-line-grid input,.instruction-line-grid select { min-width:0; width:100% }
.instruction-copy-label { padding:12px 15px; border:1px solid #dce5f6; border-radius:6px; background:#f3f7ff; color:#3e609e; line-height:1.8 }
.instruction-error-message { color:#bd4451; padding:12px; border-radius:6px; background:#fdf2f3; line-height:1.8 }
.instruction-error { color:#ac4953; flex-wrap:wrap }
.instruction-part-summary { white-space:normal; max-width:270px; line-height:1.7 }
dialog.instruction-dialog { width:min(960px,calc(100vw - 32px)); max-width:960px }
.history-meta { display:flex; justify-content:space-between; gap:16px; margin:22px 0 12px; flex-wrap:wrap }
.history-meta span,.history-status { color:#738299; line-height:1.8 }
.history-common { padding:12px 14px; background:#f5f8fc; border-radius:6px }
.instruction-detail-lines { margin-top:22px }
.instruction-detail-lines h3 { font-size:14px; color:#354b6b }
.instruction-detail-lines .table-wrap { margin-top:14px }
.master-parent-filter .field { min-width:240px; max-width:480px; width:100% }
.master-help { font-size:12px; color:var(--muted); line-height:1.8; margin-top:14px }
.tabs { overflow-x:auto }
@media(max-width:760px) {
  .breadcrumb { min-width:0; white-space:nowrap; overflow:hidden }
  .breadcrumb>span { display:none }
  .breadcrumb strong { overflow:hidden; text-overflow:ellipsis }
  .topbar-actions { flex-shrink:0 }
  .instruction-section-heading { align-items:flex-start; flex-direction:column; gap:12px }
  .instruction-line { padding:14px }
  .instruction-line-grid { grid-template-columns:repeat(2,minmax(0,1fr)) }
  .instruction-line-grid .field:nth-child(1),.instruction-line-grid .field:nth-child(4),.instruction-line-grid .field:nth-child(5),.instruction-line-grid .field:nth-child(6) { grid-column:span 2 }
  .instruction-copy-label { overflow-wrap:anywhere }
}

.demo-label {
  font-size:10px;
  color:#7a879a;
  background:#f5f7fa;
  padding:4px 9px;
  border-radius:4px
}

.icon-button {
  border:0;
  background:none;
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  color:#7c8aa0
}

.topbar-divider {
  width:1px;
  height:22px;
  background:var(--line)
}

.notification-button {
  position:relative
}

.notification-button i {
  position:absolute;
  width:5px;
  height:5px;
  border-radius:50%;
  background:#db8861;
  top:5px;
  right:7px;
  border:1px solid white
}

.menu-toggle {
  display:none
}

main {
  max-width:1700px;
  margin:auto;
  padding:32px 36px 16px;
  outline:none
}

.page-heading {
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:center;
  margin-bottom:26px
}

.eyebrow {
  font-size:9px;
  color:#8895aa;
  letter-spacing:.18em;
  font-weight:700;
  margin-bottom:5px
}

h1 {
  font-size:25px;
  letter-spacing:.02em;
  font-weight:700
}

#page-description {
  font-size:11px;
  color:var(--muted);
  margin-top:6px
}

.page-actions {
  display:flex;
  gap:9px;
  align-items:center
}

.button {
  display:inline-flex;
  gap:7px;
  align-items:center;
  justify-content:center;
  padding:9px 14px;
  border:1px solid #dfe5ee;
  border-radius:7px;
  background:#fff;
  font-size:11px;
  font-weight:600;
  white-space:nowrap;
  min-height:37px
}

.button:hover {
  background:#f8faff;
  border-color:#bdccee
}

.button.primary {
  background:var(--blue);
  border-color:var(--blue);
  color:white;
  box-shadow:0 3px 6px #315be81a
}

.button.primary:hover {
  background:#234cd6
}

.button svg {
  width:15px;
  height:15px
}

.button.link {
  border:0;
  background:none;
  color:var(--blue);
  padding:4px 0;
  box-shadow:none;
  min-height:0
}

.filter-strip {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  margin-bottom:22px
}

.date-control {
  display:flex;
  align-items:center;
  gap:10px;
  color:#64758c;
  font-size:11px
}

.date-control .icon {
  width:16px;
  height:16px
}

.date-control input {
  border:0;
  background:transparent;
  color:#40536f;
  min-height:32px;
  font-size:12px;
  font-weight:600
}

.filter-hint {
  color:#8c99aa;
  font-size:10px;
  display:flex;
  gap:8px;
  align-items:center
}

.badge {
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:3px 9px;
  border-radius:5px;
  font-size:10px;
  line-height:1.6;
  white-space:nowrap;
  background:#edf1f6;
  color:#6e7e95
}

.badge.green {
  background:var(--green-soft);
  color:var(--green)
}

.badge.blue {
  background:var(--blue-soft);
  color:var(--blue)
}

.badge.amber {
  background:var(--amber-soft);
  color:var(--amber)
}

.badge.red {
  background:#fcecef;
  color:var(--red)
}

.metrics {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
  margin-bottom:23px
}

.metric {
  background:white;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:20px
}

.metric-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:15px
}

.metric-label {
  color:#6c7d93;
  font-size:11px;
  font-weight:600
}

.metric-icon {
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  border-radius:8px;
  background:var(--blue-soft);
  color:var(--blue)
}

.metric-icon.green {
  background:var(--green-soft);
  color:var(--green)
}

.metric-icon.amber {
  background:var(--amber-soft);
  color:var(--amber)
}

.metric-value {
  font-size:30px;
  font-weight:650;
  letter-spacing:-.025em;
  line-height:1.3;
  font-variant-numeric:tabular-nums;
  color:#243b5e
}

.metric-unit {
  font-size:11px;
  color:#8291a6;
  margin-left:5px;
  font-weight:400;
  letter-spacing:0
}

.metric-bottom {
  font-size:10px;
  color:#8d99a9;
  margin-top:13px;
  display:flex;
  align-items:center;
  gap:7px
}

.metric-bottom .green-text {
  color:var(--green)
}

.dashboard-grid {
  display:grid;
  grid-template-columns:minmax(0,1.7fr) minmax(290px,1fr);
  gap:22px;
  margin-bottom:23px
}

.panel {
  background:white;
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden
}

.panel-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:21px 23px 15px
}

.panel-header h2 {
  font-size:13px;
  font-weight:700
}

.panel-header p {
  font-size:10px;
  color:#96a0b0;
  margin-top:3px
}

.panel-body {
  padding:0 23px 22px
}

.chart-summary {
  display:flex;
  gap:18px;
  align-items:center;
  margin:5px 0 8px
}

.chart-summary strong {
  font-size:23px;
  color:#314c74;
  font-variant-numeric:tabular-nums
}

.chart-summary strong small {
  font-size:11px;
  font-weight:400;
  color:#9aa6b8
}

.chart-legend {
  display:flex;
  align-items:center;
  gap:7px;
  color:#8a97aa;
  font-size:10px
}

.chart-legend i {
  width:7px;
  height:7px;
  border-radius:2px;
  background:var(--blue)
}

.chart {
  width:100%;
  height:157px;
  overflow:visible
}

.chart text {
  font:9px var(--font);
  fill:#96a3b4
}

.chart .grid-line {
  stroke:#eef1f6;
  stroke-width:1;
  stroke-dasharray:3 4
}

.progress-summary {
  display:flex;
  gap:22px;
  align-items:center;
  padding:12px 0 16px
}

.donut {
  width:115px;
  height:115px;
  flex-shrink:0;
  position:relative
}

.donut svg {
  width:100%;
  height:100%;
  transform:rotate(-90deg)
}

.donut-center {
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column
}

.donut-center strong {
  font-size:22px;
  color:#29456c;
  line-height:1.25
}

.donut-center small {
  font-size:9px;
  color:#9aa6b7
}

.progress-legend {
  flex:1;
  display:grid;
  gap:11px
}

.legend-row {
  display:flex;
  align-items:center;
  gap:7px;
  font-size:10px;
  color:#75849b
}

.legend-row i {
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--blue)
}

.legend-row strong {
  margin-left:auto;
  color:#334963;
  font-size:13px
}

.legend-row small {
  font-weight:400;
  font-size:9px;
  color:#9aa4b3
}

.mini-note {
  background:#f8fafd;
  border-radius:6px;
  padding:10px 12px;
  display:flex;
  justify-content:space-between;
  gap:8px;
  align-items:center;
  font-size:10px;
  color:#8d9cb1
}

.mini-note strong {
  color:#526b91;
  font-weight:500
}

.table-wrap {
  overflow-x:auto
}

table {
  width:100%;
  border-collapse:collapse;
  white-space:nowrap;
  text-align:left
}

th {
  background:#fafbfd;
  color:#8a97a9;
  font-size:10px;
  font-weight:500;
  padding:12px 20px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line)
}

td {
  padding:15px 20px;
  font-size:11px;
  border-bottom:1px solid #eef1f5;
  color:#65758c
}

tbody tr:last-child td {
  border-bottom:0
}

tbody tr:hover {
  background:#fbfcff
}

.number {
  text-align:right;
  font-variant-numeric:tabular-nums
}

.table-id {
  font-weight:600;
  color:#406497;
  font-size:10px;
  letter-spacing:.02em
}

.customer-name {
  color:#354962;
  font-weight:500
}

.table-sub {
  display:block;
  color:#a1adbc;
  font-size:9px;
  margin-top:1px
}

.table-bottom {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:13px 21px;
  border-top:1px solid var(--line);
  font-size:10px;
  color:#9aa6b6
}

.inline-progress {
  display:flex;
  align-items:center;
  gap:8px;
  font-size:10px;
  font-variant-numeric:tabular-nums
}

.progress-track {
  width:64px;
  height:4px;
  border-radius:4px;
  background:#edf1f7;
  overflow:hidden
}

.progress-track span {
  display:block;
  height:100%;
  background:#597de9;
  border-radius:4px
}

.table-link {
  color:#8498b6;
  background:none;
  border:0;
  padding:4px;
  display:grid;
  place-items:center
}

.system-strip {
  display:flex;
  align-items:center;
  gap:15px;
  padding:16px 21px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:10px;
  margin-top:22px;
  font-size:10px
}

.system-strip .strip-icon {
  width:28px;
  height:28px;
  border-radius:7px;
  background:var(--green-soft);
  color:var(--green);
  display:grid;
  place-items:center
}

.system-strip .strip-icon svg {
  width:16px;
  height:16px
}

.system-strip strong {
  display:block;
  font-size:11px;
  color:#537263
}

.system-strip small {
  display:block;
  color:#97a5af;
  font-size:10px
}

.system-strip .button {
  margin-left:auto;
  font-size:10px
}

.page-footer {
  display:flex;
  justify-content:space-between;
  gap:16px;
  margin-top:29px;
  padding:16px 0 4px;
  color:#a7b1c0;
  font-size:8px;
  letter-spacing:.04em
}

.footer-dot {
  padding:0 7px
}

.version {
  background:#e9edf4;
  padding:2px 5px;
  border-radius:3px;
  margin-left:7px
}

.toolbar {
  display:flex;
  align-items:end;
  flex-wrap:wrap;
  gap:14px;
  padding:20px 23px;
  border-bottom:1px solid var(--line)
}

.field {
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:130px
}

.field label {
  font-size:11px;
  font-weight:600;
  color:#65768f
}

.field input,.field select,.field textarea {
  border:1px solid #dfe5ee;
  border-radius:7px;
  padding:9px 11px;
  background:#fff;
  color:#465b78;
  font-size:12px;
  min-width:0;
  width:100%
}

.field input:focus,.field select:focus,.field textarea:focus {
  border-color:#8ea8f7
}

.field.search {
  flex:1;
  min-width:190px
}

.empty-state {
  text-align:center;
  white-space:normal;
  padding:50px 20px;
  color:#8a98ab
}

.form-panel {
  padding:26px;
  max-width:900px
}

.form-panel h2 {
  font-size:14px;
  margin-bottom:5px
}

.form-panel>p {
  font-size:11px;
  color:var(--muted);
  margin-bottom:25px
}

.form-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px
}

.field.full {
  grid-column:1/-1
}

.field .help {
  font-size:10px;
  color:#98a5b7
}

.required {
  font-size:9px;
  color:#bb6b6b;
  margin-left:7px
}

.form-actions {
  display:flex;
  justify-content:flex-end;
  gap:10px;
  margin-top:27px;
  border-top:1px solid var(--line);
  padding-top:20px
}

.notice {
  display:flex;
  gap:11px;
  padding:14px 18px;
  border-radius:8px;
  background:#eef3fc;
  color:#6c80a1;
  font-size:11px;
  margin-bottom:22px
}

.notice .icon {
  width:17px;
  height:17px;
  margin-top:1px
}

.tabs {
  display:flex;
  gap:8px;
  border-bottom:1px solid var(--line);
  padding:0 23px;
  overflow-x:auto
}

.tab {
  padding:16px 10px;
  border:0;
  border-bottom:2px solid transparent;
  background:none;
  font-size:11px;
  white-space:nowrap;
  color:#8b98ab
}

.tab.active {
  border-bottom-color:var(--blue);
  color:var(--blue);
  font-weight:600
}

.analysis-grid {
  display:grid;
  grid-template-columns:1.4fr 1fr;
  gap:22px;
  margin-bottom:22px
}

.bar-row {
  display:grid;
  grid-template-columns:65px 1fr 75px;
  gap:12px;
  align-items:center;
  margin-top:18px;
  font-size:11px;
  color:#798ba4
}

.bar-track {
  height:9px;
  background:#f1f4f9;
  border-radius:3px;
  overflow:hidden
}

.bar-track span {
  height:100%;
  background:#5e80e9;
  display:block;
  border-radius:3px
}

.bar-row strong {
  color:#47658f;
  text-align:right;
  font-variant-numeric:tabular-nums
}

.connection-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px
}

.connection-card {
  padding:22px
}

.connection-card h2 {
  font-size:14px;
  margin-top:12px
}

.connection-card p {
  font-size:11px;
  color:#8f9cb0;
  margin:3px 0 20px
}

.connection-card dl {
  display:grid;
  grid-template-columns:1fr 1fr;
  font-size:11px;
  gap:12px;
  margin:0
}

.connection-card dt {
  color:#92a0b3
}

.connection-card dd {
  margin:0;
  text-align:right;
  color:#5b7293
}

.connection-card .badge {
  margin-bottom:10px
}

.login-panel {
  width:min(100%,410px);
  margin:45px auto;
  padding:32px
}

.login-panel h2 {
  font-size:20px;
  margin-bottom:8px
}

.login-panel p {
  font-size:11px;
  color:var(--muted);
  margin-bottom:23px
}

.login-panel .field {
  margin-bottom:20px
}

.login-panel .button {
  width:100%
}

.report-preview {
  padding:32px;
  margin-top:22px
}

.report-preview h2 {
  text-align:center;
  font-size:21px;
  letter-spacing:.12em;
  margin-bottom:20px
}

.report-meta {
  display:flex;
  justify-content:space-between;
  color:#70819a;
  font-size:11px;
  margin-bottom:20px
}

.report-total {
  display:flex;
  justify-content:flex-end;
  padding:20px;
  gap:20px;
  font-size:13px
}

.report-total strong {
  font-size:20px;
  color:#315079
}

.report-footnote {
  color:#9aa6b8;
  font-size:10px;
  margin-top:20px
}

.toolbar .button {
  align-self:end
}

.mobile-only {
  display:none
}

dialog {
  border:0;
  border-radius:14px;
  padding:0;
  box-shadow:0 24px 90px #1b315642;
  width:min(580px,calc(100% - 32px));
  max-height:85vh;
  color:var(--text)
}

dialog::backdrop {
  background:#15284870;
  backdrop-filter:blur(2px)
}

.dialog-header {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:22px 25px;
  border-bottom:1px solid var(--line)
}

.dialog-header h2 {
  font-size:16px
}

.dialog-body {
  padding:25px
}

.dialog-body p {
  font-size:12px;
  color:#7b8da6;
  line-height:1.9
}

.detail-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  font-size:12px
}

.detail-grid dt {
  color:#92a0b4;
  font-size:10px;
  margin-bottom:5px
}

.detail-grid dd {
  margin:0;
  color:#486080
}

.toast {
  position:fixed;
  bottom:26px;
  left:calc(50% + 100px);
  transform:translate(-50%,15px);
  background:#263e62;
  color:#fff;
  padding:12px 20px;
  border-radius:8px;
  font-size:12px;
  z-index:40;
  box-shadow:0 8px 30px #22385929;
  opacity:0;
  pointer-events:none;
  transition:opacity .2s,transform .2s;
  max-width:calc(100% - 32px)
}

.toast.visible {
  opacity:1;
  transform:translate(-50%,0)
}

[hidden] {
  display:none!important
}

.sidebar-scrim {
  display:none
}

.nav-link {
  font-size:13px
}

.metric-label {
  font-size:12px
}

.metric-bottom {
  font-size:11px
}

.panel-header h2 {
  font-size:14px
}

.panel-header p {
  font-size:11px
}

#page-description {
  font-size:12px
}

th {
  font-size:11px
}

td {
  font-size:12px
}

.table-id {
  font-size:11px
}

.table-sub {
  font-size:10px
}

.table-bottom {
  font-size:11px
}

.badge {
  font-size:11px
}

.legend-row {
  font-size:11px
}

.button {
  font-size:12px
}

.form-panel>p {
  font-size:12px
}

.notice {
  font-size:12px
}

.field label {
  font-size:12px
}

.field input,.field select,.field textarea {
  margin-top:6px
}

.brand small {
  font-size:12px
}

@media(min-width:1550px) {
  main {
    padding-top:40px
  }

  .metric {
    padding:24px
  }

  .chart {
    height:190px
  }

  .progress-summary {
    padding-top:24px;
    padding-bottom:25px
  }

  td {
    padding-top:18px;
    padding-bottom:18px
  }

}

@media(max-width:1200px) {
  :root {
    --sidebar:220px
  }

  .sidebar {
    padding-left:12px;
    padding-right:12px
  }

  .brand strong {
    font-size:13px
  }

  .brand-mark {
    width:33px;
    height:33px
  }

  .topbar {
    padding:0 25px
  }

  main {
    padding:28px 25px 15px
  }

  .metrics {
    gap:12px
  }

  .metric {
    padding:16px
  }

  .metric-value {
    font-size:26px
  }

  .dashboard-grid {
    gap:15px;
    grid-template-columns:1.4fr 1fr
  }

  .panel-header {
    padding:19px 18px 14px
  }

  .panel-body {
    padding:0 18px 20px
  }

  .progress-summary {
    gap:15px
  }

  .donut {
    width:98px;
    height:98px
  }

  td,th {
    padding-left:16px;
    padding-right:16px
  }

}

@media(max-width:1000px) {
  .metrics {
    grid-template-columns:repeat(2,1fr)
  }

  .dashboard-grid,.analysis-grid {
    grid-template-columns:1fr
  }

  .dashboard-grid .progress-summary {
    justify-content:center
  }

  .progress-legend {
    max-width:240px
  }

  .connection-grid {
    grid-template-columns:1fr
  }

  .page-actions {
    flex-wrap:wrap;
    justify-content:flex-end
  }

  .page-heading {
    align-items:flex-start
  }

  .page-heading h1 {
    font-size:23px
  }

}

@media(max-width:760px) {
  :root {
    --sidebar:248px
  }

  .sidebar {
    transform:translateX(-100%);
    transition:transform .2s
  }

  .sidebar.is-open {
    transform:translateX(0)
  }

  .sidebar-scrim:not([hidden]) {
    display:block;
    position:fixed;
    inset:0;
    z-index:19;
    background:#1d315765;
    border:0
  }

  .main-shell {
    margin-left:0
  }

  .menu-toggle {
    display:grid
  }

  .topbar {
    height:60px;
    padding:0 16px
  }

  .breadcrumb {
    gap:9px;
    font-size:10px
  }

  .topbar-actions {
    gap:8px
  }

  .demo-label {
    font-size:9px
  }

  .topbar-divider {
    display:none
  }

  main {
    padding:25px 16px 12px
  }

  .page-heading {
    flex-direction:column;
    gap:15px;
    margin-bottom:20px
  }

  .page-actions {
    justify-content:flex-start;
    width:100%
  }

  .page-heading h1 {
    font-size:23px
  }

  .filter-strip {
    align-items:flex-start;
    flex-wrap:wrap;
    gap:5px
  }

  .metrics {
    gap:10px
  }

  .metric {
    padding:15px
  }

  .metric-label {
    font-size:10px
  }

  .metric-icon {
    width:27px;
    height:27px
  }

  .metric-value {
    font-size:25px
  }

  .metric-bottom {
    font-size:9px;
    margin-top:9px;
    flex-wrap:wrap
  }

  .dashboard-grid {
    gap:16px;
    margin-bottom:18px
  }

  .panel-header {
    padding:18px 16px 14px
  }

  .panel-header h2 {
    font-size:12px
  }

  .panel-header .button {
    font-size:10px
  }

  .panel-body {
    padding-left:16px;
    padding-right:16px
  }

  .system-strip {
    align-items:flex-start;
    flex-wrap:wrap;
    padding:14px
  }

  .system-strip .button {
    margin-left:43px
  }

  .page-footer {
    font-size:7px;
    flex-wrap:wrap;
    gap:6px
  }

  .form-grid {
    grid-template-columns:1fr
  }

  .field.full {
    grid-column:auto
  }

  .form-panel {
    padding:20px
  }

  .toolbar {
    padding:18px 16px;
    gap:12px
  }

  .toolbar .field {
    flex:1;
    min-width:130px
  }

  .toolbar .search {
    flex-basis:100%
  }

  .toast {
    left:50%;
    width:max-content;
    text-align:center
  }

  .report-preview {
    padding:20px
  }

  .report-meta {
    gap:15px;
    flex-wrap:wrap
  }

  .report-preview h2 {
    font-size:18px
  }

  .dialog-body {
    padding:20px
  }

  .chart {
    height:155px
  }

  .filter-hint {
    font-size:9px
  }

}

@media(prefers-reduced-motion:reduce) {
  * {
    scroll-behavior:auto!important;
    transition:none!important
  }

}

@media print {
  body {
    background:white
  }

  .sidebar,.topbar,.page-heading,.page-footer,.toolbar,.notice,.toast,.sidebar-scrim,.skip-link,.report-footnote,dialog {
    display:none!important
  }

  .main-shell {
    margin:0
  }

  main {
    padding:0;
    max-width:none
  }

  .panel {
    border:0;
    border-radius:0;
    overflow:visible
  }

  .table-wrap {
    overflow:visible
  }

  table {
    white-space:normal
  }

  th,td {
    font-size:10px;
    padding:10px;
    border-bottom:1px solid #ddd
  }

  thead {
    display:table-header-group
  }

  tr {
    break-inside:avoid
  }

  .report-preview {
    margin:0;
    padding:0
  }

  .report-total {
    break-inside:avoid
  }

}

