:root {
  --ink: #273c33;
  --muted: #7b837c;
  --green: #324e40;
  --paper: #f7f7f2;
  --line: #e6e8df;
  --sage: #e9eee4;
  --rose: #eedfd7;
  --orange: #b47743;
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
  font-size: 17px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #a5b985;
  outline-offset: 3px;
}
button {
  border: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -1px;
}
h2 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.3px;
}
h3 {
  font-size: 18px;
}
small {
  font-size: 14px;
}
button.primary,
.primary {
  background: var(--green);
  color: white;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
button.primary:hover {
  background: #233d30;
}
.secondary {
  padding: 10px 15px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 7px;
  color: var(--ink);
}
.secondary:hover {
  background: var(--sage);
}
.text-button {
  background: none;
  color: var(--green);
  font-size: 15px;
  font-weight: 600;
  padding: 8px 0;
  white-space: nowrap;
}
.icon-button {
  background: transparent;
  color: var(--ink);
  font-size: 23px;
  width: 36px;
  height: 36px;
  border-radius: 6px;
}
.icon-button:hover {
  background: var(--sage);
}
.eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}
.brand > span:last-child {
  font-family: Georgia, serif;
  font-size: 29px;
  letter-spacing: -1px;
}
.brand small {
  display: block;
  font:
    14px 'Segoe UI',
    sans-serif;
  letter-spacing: 2px;
  margin-top: 4px;
}
.brand-mark {
  width: 38px;
  height: 43px;
  border: 1px solid currentColor;
  border-radius: 50% 50% 12px 12px;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 35px;
  line-height: 40px;
  text-align: center;
}
.layout {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 235px;
  flex-shrink: 0;
  background: #fcfcf8;
  border-right: 1px solid var(--line);
  padding: 28px 18px 16px;
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 20;
}
.sidebar .brand {
  padding: 0 10px;
}
.workspace {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 32px 0 25px;
  padding: 12px 9px;
  background: #f1f3eb;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
}
.workspace-icon {
  font-size: 24px;
}
.workspace small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 400;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7f9b62;
  display: inline-block;
  margin-left: auto;
}
.nav-label {
  font-size: 14px;
  letter-spacing: 1.5px;
  color: #a1a69e;
  margin: 0 12px 10px;
}
nav {
  overflow: auto;
}
nav button {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 11px;
  background: none;
  color: #747d73;
  padding: 11px 12px;
  border-radius: 7px;
  margin-bottom: 3px;
  font-size: 15px;
}
nav button > span {
  font-size: 18px;
  width: 21px;
  color: #889284;
}
nav button.active {
  background: #e8eee3;
  color: #304b3b;
  font-weight: 600;
}
nav button.active > span {
  color: #426347;
}
nav button:hover {
  background: #f0f2e9;
}
nav i {
  font-style: normal;
  font-size: 14px;
  padding: 3px 5px;
  border-radius: 4px;
  background: #eaece3;
  margin-left: auto;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 20px;
}
.local-indicator {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 12px;
  font-size: 14px;
}
.local-indicator .dot {
  margin-right: 7px;
}
.local-indicator small {
  display: block;
  color: var(--muted);
  margin-top: 5px;
  margin-left: 13px;
}
.user {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 9px;
  padding: 18px 0 0;
  background: none;
  text-align: left;
  font-size: 14px;
}
.user small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}
.user b {
  margin-left: auto;
}
.avatar {
  background: #e6ebdd;
  display: inline-flex;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-family: Georgia, serif;
  font-size: 18px;
  flex-shrink: 0;
}
.avatar.rose {
  background: var(--rose);
}
.avatar.small {
  width: 30px;
  height: 30px;
}
.main {
  margin-left: 235px;
  width: calc(100% - 235px);
}
.topbar {
  height: 72px;
  background: #fcfcf8;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
}
.breadcrumb {
  font-size: 14px;
  color: #979e92;
}
.breadcrumb span {
  padding: 0 12px;
  color: #b9bdb4;
}
.breadcrumb b {
  color: #59664f;
  font-weight: 500;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 22px;
}
.demo-pill {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #96764d;
  background: #f2eddf;
  padding: 6px 9px;
  border-radius: 5px;
}
.menu {
  display: none;
}
#content {
  padding: 32px 36px 20px;
  max-width: 1600px;
  margin: auto;
  min-height: calc(100vh - 130px);
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 26px;
}
.page-heading h1 {
  margin: 9px 0 8px;
}
.page-heading p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}
.heading-actions {
  display: flex;
  gap: 10px;
}
.greeting {
  font-size: 30px;
  color: #9cae82;
  margin-left: 5px;
}
.welcome-strip {
  background: #e9eee2;
  border: 1px solid #dce5d5;
  border-radius: 10px;
  padding: 18px 21px;
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 23px;
}
.welcome-symbol {
  font-size: 31px;
  color: #839566;
}
.welcome-strip b {
  font-size: 16px;
  font-weight: 600;
}
.welcome-strip p {
  font-size: 14px;
  color: #7b896d;
  margin-top: 5px;
}
.strip-tag {
  margin-left: auto;
  font-size: 14px;
  letter-spacing: 1.1px;
  color: #879976;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 23px;
}
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 19px;
}
.stat > span {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #7a8275;
}
.stat i {
  font-style: normal;
  font-size: 17px;
  color: #8a9b71;
}
.stat strong {
  display: block;
  font-size: 27px;
  letter-spacing: -1px;
  font-weight: 500;
  margin: 17px 0 11px;
}
.stat small {
  font-size: 14px;
  color: #939b8a;
  line-height: 1.5;
  display: block;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 21px 23px;
  gap: 10px;
}
.panel-heading h2 {
  font-size: 18px;
}
.panel-heading p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 6px;
}
.subtle-tag {
  font-size: 14px;
  color: #8b9283;
  background: #f4f5ef;
  padding: 6px 9px;
  border-radius: 5px;
  white-space: nowrap;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 20px;
  margin-bottom: 23px;
}
.chart {
  height: 195px;
  display: flex;
  align-items: end;
  gap: 22px;
  padding: 0 30px 22px;
  background: repeating-linear-gradient(to top, transparent 0, transparent 47px, #f3f4ee 48px, #f3f4ee 49px);
  margin: 0 23px 20px;
}
.chart-column {
  flex: 1;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 110px;
  margin: auto;
}
.chart-column > span {
  font-size: 14px;
  color: var(--muted);
}
.chart-track {
  height: 130px;
  width: 50%;
  display: flex;
  align-items: end;
  margin: 10px 0;
}
.chart-bar {
  background: #81966a;
  width: 100%;
  border-radius: 5px 5px 0 0;
  min-height: 8px;
}
.chart-column small {
  font-size: 14px;
  color: #929a88;
}
.alert-count {
  color: #b0864f;
  background: #f5ecdf;
  font-size: 14px;
  padding: 5px 8px;
  border-radius: 5px;
}
.stock-row {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 22px;
  padding: 13px 0;
  border-bottom: 1px solid #f0f1e9;
}
.product-icon {
  background: #f2eee4;
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  font-size: 24px;
  color: #a78b64;
}
.stock-row b {
  font-size: 14px;
  font-weight: 500;
}
.stock-row small {
  display: block;
  color: #989e90;
  font-size: 14px;
  margin-top: 5px;
}
.stock-amount {
  margin-left: auto;
  text-align: right;
  font-weight: 600;
  color: #ae8553;
}
.stock-panel > .text-button {
  margin: 12px 23px;
}
.recent {
  margin-bottom: 22px;
}
.table-wrap {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  white-space: nowrap;
}
th {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.4px;
  color: #939b89;
  background: #f8f9f4;
  padding: 13px 23px;
  border-top: 1px solid #eff0e9;
  border-bottom: 1px solid #eff0e9;
}
td {
  font-size: 14px;
  padding: 16px 23px;
  border-bottom: 1px solid #f1f2eb;
  color: #65705c;
}
tr:last-child td {
  border: 0;
}
td b {
  font-weight: 600;
  color: #48533f;
}
td small {
  display: block;
  color: #929b86;
  font-size: 14px;
  margin-top: 5px;
}
.money {
  font-variant-numeric: tabular-nums;
}
.pill {
  font-size: 14px;
  border-radius: 5px;
  padding: 5px 8px;
  display: inline-block;
  white-space: nowrap;
}
.pill.success {
  color: #648450;
  background: #edf3e7;
}
.pill.warning {
  color: #b18b52;
  background: #faf0df;
}
.pill.blue {
  color: #6d8998;
  background: #edf3f6;
}
.pill.neutral {
  color: #8e9386;
  background: #f0f1eb;
}
.connection-note {
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px dashed #d9dfcd;
  border-radius: 8px;
  padding: 15px 19px;
  color: #8d9681;
  margin: 23px 0 4px;
}
.connection-note > span:first-child {
  font-size: 26px;
  color: #a2ae90;
}
.connection-note p {
  font-size: 14px;
  line-height: 1.7;
  flex: 1;
}
.connection-note b {
  font-weight: 600;
  color: #758466;
}
.main-footer {
  display: flex;
  justify-content: space-between;
  padding: 17px 36px;
  color: #a5ad98;
  font-size: 14px;
  border-top: 1px solid #eaece1;
}
.list-toolbar {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 20px 23px;
}
.search-wrap {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 12px;
  gap: 8px;
  max-width: 320px;
  width: 100%;
  background: #fafbf7;
}
.search-wrap span {
  font-size: 21px;
  color: #99a28e;
}
.search-wrap input {
  border: 0;
  background: none;
  padding: 10px 0;
  outline: none;
  width: 100%;
  font-size: 14px;
}
.list-toolbar > .secondary {
  margin-left: auto;
  font-size: 14px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 2px 23px 24px;
}
.product-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.product-art {
  height: 145px;
  background: #ede8df;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.product-art > span {
  font-family: Georgia, serif;
  font-size: 70px;
  color: #92775b;
}
.product-art small {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #ffffff8c;
  padding: 5px 8px;
  border-radius: 4px;
  color: #8c7c65;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.art-1 {
  background: #ebe2dc;
}
.art-2 {
  background: #e8edde;
}
.art-3 {
  background: #e3e9df;
}
.art-4 {
  background: #ebe4d7;
}
.art-5 {
  background: #e4e8ec;
}
.product-info {
  padding: 16px;
}
.product-info > small {
  font-size: 14px;
  color: #a0a591;
}
.product-info h3 {
  font-weight: 500;
  margin: 7px 0 16px;
}
.product-price {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.product-price b {
  font-size: 19px;
  font-weight: 500;
}
.person-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footnote {
  font-size: 14px;
  color: #939b8a;
  margin: 16px 0;
  line-height: 1.7;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 22px;
}
.settings-form,
.integrations {
  padding: 25px;
}
.settings-form > p,
.integrations > p {
  color: var(--muted);
  font-size: 14px;
  margin: 8px 0 25px;
}
label {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  color: #717d66;
  font-weight: 500;
  gap: 8px;
  margin-bottom: 18px;
}
label input,
label select,
label textarea {
  padding: 11px 12px;
  border: 1px solid #dfe3d5;
  border-radius: 6px;
  background: #fcfcfa;
  color: var(--ink);
  outline: none;
  width: 100%;
  font-weight: 400;
  min-width: 0;
}
label input:focus,
label select:focus,
label textarea:focus {
  border-color: #839769;
  box-shadow: 0 0 0 3px #e9eedf;
}
textarea {
  resize: vertical;
}
.integration-row {
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}
.integration-row b {
  font-size: 15px;
  font-weight: 500;
}
.integration-row small {
  display: block;
  margin-top: 6px;
  color: #949c89;
  font-size: 14px;
}
.integration-row .pill {
  margin-left: auto;
}
.integration-icon {
  font-size: 27px;
}
.info-box {
  background: #f4f5ee;
  font-size: 14px;
  line-height: 1.7;
  padding: 16px;
  border-radius: 7px;
  margin-top: 23px;
  color: #919983;
}
.fiscal-hero {
  text-align: center;
  padding: 45px 25px;
}
.fiscal-icon {
  width: 75px;
  height: 75px;
  background: #ecf0e5;
  border-radius: 50%;
  margin: 0 auto 22px;
  font-size: 38px;
  display: grid;
  place-items: center;
  color: #78945f;
}
.fiscal-hero h2 {
  font-family: Georgia, serif;
  font-size: 29px;
  font-weight: 400;
  margin: 22px 0 17px;
}
.fiscal-hero > p {
  max-width: 570px;
  margin: auto;
  line-height: 1.9;
  color: var(--muted);
  font-size: 16px;
}
.fiscal-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 700px;
  margin: 38px auto 0;
  gap: 20px;
}
.fiscal-steps span {
  display: block;
  font-size: 14px;
  color: #a2b28e;
  margin-bottom: 14px;
}
.fiscal-steps b {
  display: block;
  font-size: 15px;
  font-weight: 500;
}
.fiscal-steps small {
  display: block;
  color: var(--muted);
  margin-top: 8px;
}
.empty {
  text-align: center;
  padding: 40px;
  color: #969e8a;
  white-space: normal;
  line-height: 1.7;
}
.loading {
  padding: 100px;
  text-align: center;
  color: var(--muted);
}
dialog {
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 0;
  width: 600px;
  max-width: calc(100vw - 28px);
  max-height: 90vh;
  box-shadow: 0 25px 100px #24372933;
  color: var(--ink);
}
dialog::backdrop {
  background: #1c2d2666;
  backdrop-filter: blur(3px);
}
.modal-heading {
  padding: 24px 25px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.modal-heading p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
}
.record-form {
  padding: 24px 25px 0;
}
.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  margin-top: 20px;
}
dialog > .modal-footer {
  padding: 20px 25px;
}
.form-error {
  color: #b46252;
  font-size: 15px;
  line-height: 1.6;
  margin: 10px 0;
  min-height: 10px;
}
.order-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 80px 35px;
  gap: 10px;
  align-items: center;
}
.order-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f2f5eb;
  padding: 16px;
  border-radius: 7px;
  margin: 18px 0;
  font-size: 15px;
}
.order-total strong {
  font-size: 22px;
  font-weight: 500;
}
.detail-summary {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 25px;
  font-size: 15px;
}
.detail-summary span b {
  display: block;
  margin-top: 8px;
  font-size: 19px;
  font-weight: 500;
}
.detail-notes {
  padding: 20px 25px;
  line-height: 1.7;
  color: var(--muted);
  font-size: 15px;
}
.danger {
  background: #f7e9e2;
  color: #a2634c;
  padding: 10px 15px;
  border-radius: 6px;
}
.login {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.login-story {
  background: #304a3d;
  color: #edf0dc;
  padding: 48px 60px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.login-story .brand {
  color: #f0f1e0;
}
.story-body {
  margin: auto 0;
  padding: 65px 0 30px;
  position: relative;
}
.story-body .eyebrow {
  color: #b2c0a5;
}
.story-body h1 {
  font-family: Georgia, serif;
  font-size: 64px;
  font-weight: 400;
  line-height: 1.13;
  letter-spacing: -2px;
  margin: 25px 0;
}
.story-body em {
  font-weight: 400;
  color: #b5c59c;
}
.story-body p {
  font-size: 16px;
  color: #c0cbb6;
  line-height: 1.9;
}
.orbit {
  margin: 45px 0 25px;
  width: 170px;
  height: 170px;
  border: 1px solid #a8ba9450;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.orbit:after {
  content: '';
  position: absolute;
  inset: 13px;
  border: 1px solid #a8ba9430;
  border-radius: 50%;
}
.orbit-inner {
  font-size: 95px;
  color: #a5b88b;
  line-height: 1;
}
.orbit-label {
  position: absolute;
  bottom: -18px;
  left: 0;
  width: 100%;
  text-align: center;
  letter-spacing: 2px;
  font-size: 14px;
  color: #afc29b;
}
.login-story footer {
  font-size: 14px;
  color: #91a387;
  margin-top: 30px;
}
.login-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
  background: #f8f8f2;
}
.login-card {
  width: 100%;
  max-width: 355px;
}
.login-card h2 {
  font-family: Georgia, serif;
  font-size: 38px;
  font-weight: 400;
  margin: 16px 0 10px;
}
.login-card > p {
  color: #919b85;
  font-size: 16px;
  margin-bottom: 35px;
}
.login-card label {
  margin-bottom: 22px;
}
.login-card input {
  padding: 14px;
}
.full {
  width: 100%;
  justify-content: space-between !important;
}
.demo-access {
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top: 20px;
  color: #89937b;
  font-size: 14px;
}
.demo-access summary {
  cursor: pointer;
}
.demo-access p {
  line-height: 1.9;
  margin: 13px 0;
}
.demo-access small {
  font-size: 14px;
}
.login-foot {
  margin-top: 60px;
  color: #a8af9c;
  font-size: 14px;
  letter-spacing: 1px;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 20px);
  padding: 14px 22px;
  background: #304b3f;
  color: white;
  border-radius: 8px;
  box-shadow: 0 8px 25px #0002;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  z-index: 100;
  max-width: 90vw;
  font-size: 15px;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (min-width: 1500px) {
  .sidebar {
    width: 255px;
  }
  .main {
    margin-left: 255px;
    width: calc(100% - 255px);
  }
  #content {
    padding: 40px 50px;
  }
  .stat strong {
    font-size: 32px;
  }
  .chart {
    height: 240px;
  }
  .chart-track {
    height: 175px;
  }
  .product-art {
    height: 180px;
  }
}
@media (max-width: 1150px) {
  #content {
    padding: 25px;
  }
  .topbar {
    padding: 0 25px;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .dashboard-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stat strong {
    font-size: 29px;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .strip-tag {
    display: none;
  }
  .story-body h1 {
    font-size: 49px;
  }
  .login-story {
    padding: 40px;
  }
}
@media (max-width: 800px) {
  .sidebar {
    transform: translateX(-100%);
    transition: 0.2s;
    box-shadow: 20px 0 80px #0002;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .main {
    margin: 0;
    width: 100%;
  }
  .menu {
    display: block;
  }
  .topbar {
    height: 60px;
    padding: 0 18px;
    gap: 10px;
  }
  .breadcrumb {
    margin-right: auto;
  }
  .topbar-right {
    gap: 12px;
  }
  .demo-pill {
    font-size: 14px;
  }
  #content {
    padding: 23px 18px;
  }
  .page-heading {
    align-items: start;
  }
  .page-heading h1 {
    font-size: 28px;
  }
  .page-heading p {
    max-width: 360px;
    font-size: 14px;
  }
  .heading-actions {
    flex-wrap: wrap;
    justify-content: end;
  }
  .heading-actions button {
    font-size: 14px;
    padding: 10px 12px;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .chart {
    height: 200px;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .welcome-strip {
    padding: 15px;
  }
  .welcome-strip p {
    line-height: 1.6;
  }
  .main-footer {
    padding: 17px 18px;
  }
  .login {
    grid-template-columns: 1fr;
  }
  .login-story {
    padding: 25px 30px;
  }
  .story-body {
    padding: 30px 0;
  }
  .story-body h1 {
    font-size: 39px;
  }
  .story-body h1 br {
    display: none;
  }
  .story-body h1 br:after {
    content: ' ';
  }
  .story-body p,
  .orbit,
  .login-story footer {
    display: none;
  }
  .login-form {
    padding: 35px 25px;
  }
  .login-foot {
    margin-top: 35px;
  }
  .login-card h2 {
    font-size: 33px;
  }
  .fiscal-hero h2 {
    font-size: 26px;
  }
  .connection-note .subtle-tag {
    display: none;
  }
}
@media (max-width: 480px) {
  .page-heading {
    flex-direction: column;
    gap: 14px;
  }
  .heading-actions {
    width: 100%;
    justify-content: start;
  }
  .page-heading h1 {
    font-size: 28px;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 15px 12px;
  }
  .stat strong {
    font-size: 23px;
    margin: 14px 0 9px;
  }
  .stat > span {
    font-size: 14px;
  }
  .stat small {
    font-size: 14px;
  }
  .welcome-strip b {
    font-size: 15px;
  }
  .welcome-strip p {
    font-size: 14px;
  }
  .panel-heading {
    padding: 18px;
  }
  .chart {
    padding: 0 10px 15px;
    margin: 0 18px 15px;
  }
  .product-grid {
    grid-template-columns: 1fr;
    padding: 0 16px 16px;
  }
  .product-art {
    height: 155px;
  }
  .list-toolbar {
    padding: 16px;
    flex-wrap: wrap;
  }
  .search-wrap {
    max-width: none;
  }
  .list-toolbar > .secondary {
    margin-left: auto;
  }
  .main-footer span {
    display: none;
  }
  .fiscal-steps {
    grid-template-columns: 1fr;
    gap: 23px;
  }
  .fiscal-steps span {
    margin-bottom: 7px;
  }
  .detail-summary {
    flex-wrap: wrap;
  }
  .order-line {
    grid-template-columns: minmax(0, 1fr) 60px 25px;
    gap: 7px;
  }
  .modal-heading {
    padding: 20px;
  }
  .record-form {
    padding: 20px 18px 0;
  }
  .topbar-right .avatar {
    display: none;
  }
  .breadcrumb {
    font-size: 14px;
  }
  .loading {
    padding: 60px 15px;
  }
}
@media print {
  .sidebar,
  .topbar,
  .heading-actions,
  .main-footer,
  #toast {
    display: none;
  }
  .main {
    margin: 0;
    width: 100%;
  }
  #content {
    padding: 0;
  }
  .panel,
  .stat {
    break-inside: avoid;
  }
  .connection-note {
    display: none;
  }
  body {
    background: white;
  }
}

.password-field {
  position: relative;
  display: flex;
  align-items: center;
}
.record-form .password-field input {
  width: 100%;
  padding-right: 46px;
}
.password-toggle {
  position: absolute;
  right: 6px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: transparent;
  color: var(--ink);
  border-radius: 6px;
}
.password-toggle:hover,
.password-toggle[aria-pressed='true'] {
  background: var(--sage);
}
.user-action {
  font-size: 15px;
  min-width: 86px;
}
