@layer reset,tokens,layout,components,responsive;
@layer reset {
  * {
    box-sizing: border-box;
  }
  body {
    margin: 0;
  }
  button,
  input,
  select,
  textarea {
    font: inherit;
  }
  button,
  a,
  input,
  select,
  textarea {
    -webkit-tap-highlight-color: transparent;
  }
  button {
    cursor: pointer;
  }
  button:disabled {
    cursor: wait;
  }
  a {
    color: inherit;
  }
  h1,
  h2,
  h3,
  p {
    margin: 0;
  }
  table {
    border-collapse: collapse;
  }
  button,
  input,
  select,
  textarea {
    max-width: 100%;
  }
  [hidden] {
    display: none !important;
  }
}
@layer tokens {
  :root {
    --ink: #001e2b;
    --teal: #003d4f;
    --green: #00ed64;
    --green-dark: #00684a;
    --mint: #c3f0d2;
    --canvas: #fff;
    --surface: #f4f7f6;
    --border: #e1e5e8;
    --muted: #5c6c7a;
    --error: #a32530;
    --warning: #795722;
    --radius: 12px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--surface);
    font-size: 15px;
    line-height: 1.5;
  }
  ::selection {
    background: var(--mint);
  }
  :focus-visible {
    outline: 3px solid var(--green-dark);
    outline-offset: 3px;
  }
}
@layer layout {
  .startup {
    min-height: 100vh;
    display: grid;
    place-content: center;
    gap: 20px;
    text-align: center;
  }
  .shell {
    display: grid;
    grid-template-columns: 232px minmax(0, 1fr);
    min-height: 100vh;
  }
  .sidebar {
    background: white;
    border-right: 1px solid var(--border);
    position: fixed;
    width: 232px;
    inset: 0 auto 0 0;
    display: flex;
    flex-direction: column;
    padding: 30px 18px 22px;
    z-index: 20;
  }
  .brand {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    text-decoration: none;
    padding: 0 10px 34px;
  }
  .brand-logo {
    display: block;
    width: 176px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    background: white;
    border-radius: 6px;
  }
  .brand-mark {
    display: inline-grid;
    place-content: center;
    background: var(--green);
    color: var(--ink);
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-weight: 750;
    font-size: 27px;
    letter-spacing: -1px;
  }
  .brand-name {
    font-size: 17px;
    font-weight: 650;
    letter-spacing: -0.4px;
    line-height: 1.2;
  }
  .brand-sub {
    font-size: 9px;
    letter-spacing: 0.6px;
    font-weight: 500;
    color: var(--muted);
    margin-top: 5px;
  }
  .nav-label {
    font-size: 10px;
    letter-spacing: 1.6px;
    color: var(--muted);
    padding: 0 16px 12px;
    font-weight: 650;
  }
  .nav {
    display: grid;
    gap: 5px;
  }
  .nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-radius: 8px;
    text-decoration: none;
    color: #3d4f5b;
    font-size: 14px;
    font-weight: 500;
    min-height: 44px;
  }
  .nav a:hover {
    background: var(--surface);
  }
  .nav a.active {
    background: #e3fcef;
    color: var(--green-dark);
    font-weight: 650;
  }
  .nav .icon {
    width: 18px;
    height: 18px;
  }
  .sidebar-bottom {
    margin-top: auto;
    padding-top: 28px;
  }
  .workspace-card {
    background: var(--surface);
    border-radius: 10px;
    padding: 14px;
    font-size: 12px;
  }
  .workspace-card strong {
    display: block;
    font-size: 13px;
    margin: 5px 0;
  }
  .sidebar-bottom .btn {
    margin-top: 12px;
    width: 100%;
  }
  .content {
    grid-column: 2;
    min-width: 0;
  }
  .topbar {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 38px;
    background: white;
    border-bottom: 1px solid var(--border);
    gap: 16px;
  }
  .breadcrumb {
    font-size: 13px;
    color: var(--muted);
  }
  .breadcrumb strong {
    color: var(--ink);
    font-weight: 500;
  }
  .top-actions {
    display: flex;
    align-items: center;
    gap: 15px;
  }
  .owner-avatar {
    width: 44px;
    height: 44px;
    border: 0;
    display: grid;
    place-content: center;
    border-radius: 50%;
    background: var(--ink);
    color: white;
    font-size: 12px;
    font-weight: 600;
  }
  .owner-avatar:hover {
    background: var(--teal);
  }
  .account-dropdown {
    inset: 65px 30px auto auto;
    margin: 0;
    padding: 8px;
    min-width: 220px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: white;
    color: var(--ink);
    box-shadow: 0 12px 32px #001e2b20;
  }
  .account-menu-heading {
    padding: 10px 12px 14px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 6px;
  }
  .account-menu-heading strong {
    display: block;
    font-size: 14px;
  }
  .account-menu-heading span {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-top: 3px;
  }
  .account-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 44px;
    border: 0;
    padding: 10px 12px;
    border-radius: 8px;
    background: white;
    color: var(--ink);
    text-decoration: none;
    font: inherit;
    font-size: 13px;
    text-align: left;
    cursor: pointer;
  }
  .account-menu-item:hover {
    background: var(--surface);
  }
  .account-logout {
    color: var(--error);
  }
  .workspace-select {
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #f9fbfa;
    padding: 9px 32px 9px 14px;
    font-size: 12px;
    min-height: 40px;
    color: var(--green-dark);
    font-weight: 600;
  }
  .main {
    max-width: 1600px;
    margin: auto;
    padding: 32px 38px 48px;
  }
  .page-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 26px;
  }
  .page-heading h1 {
    font-size: 30px;
    font-weight: 550;
    letter-spacing: -1px;
    line-height: 1.25;
  }
  .page-heading p {
    color: var(--muted);
    margin-top: 7px;
    font-size: 14px;
  }
  .heading-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }
  .hero {
    background: var(--ink);
    color: white;
    border-radius: var(--radius);
    padding: 30px 32px;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    overflow: hidden;
    position: relative;
    margin-bottom: 24px;
    min-height: 190px;
  }
  .hero h2 {
    font-size: 28px;
    font-weight: 500;
    letter-spacing: -0.6px;
    max-width: 550px;
    margin: 9px 0 10px;
  }
  .hero p {
    color: #b8d0d3;
    max-width: 480px;
    font-size: 14px;
  }
  .eyebrow {
    font-size: 10px;
    letter-spacing: 1.7px;
    font-weight: 650;
    text-transform: uppercase;
  }
  .hero .eyebrow {
    color: var(--green);
  }
  .hero-art {
    width: 240px;
    flex-shrink: 0;
    align-self: center;
    color: #00ed64;
    opacity: 0.7;
  }
  .hero .btn {
    margin-top: 19px;
  }
  .stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 25px;
  }
  .stat {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 22px;
  }
  .stat-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--muted);
    font-size: 12px;
  }
  .stat-top .icon {
    color: var(--green-dark);
  }
  .stat-value {
    font-size: 34px;
    font-weight: 500;
    letter-spacing: -1px;
    margin: 8px 0 3px;
    font-variant-numeric: tabular-nums;
  }
  .stat-foot {
    font-size: 11px;
    color: var(--muted);
  }
  .dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
    gap: 22px;
  }
  .stack {
    display: grid;
    gap: 22px;
    align-content: start;
  }
  .panel {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
  }
  .panel-head {
    padding: 21px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--border);
  }
  .panel-head h2 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.2px;
  }
  .panel-body {
    padding: 22px 24px;
  }
  .card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
  .toolbar {
    display: flex;
    gap: 12px;
    padding: 18px 22px;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
  }
  .toolbar input {
    flex: 1;
    min-width: 180px;
  }
  .toolbar select {
    max-width: 180px;
  }
  .table-scroll {
    overflow: auto;
  }
  .table {
    width: 100%;
    white-space: nowrap;
    font-size: 13px;
  }
  .table th {
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
    text-align: left;
    padding: 13px 22px;
    background: #f9fbfa;
    border-bottom: 1px solid var(--border);
  }
  .table td {
    padding: 15px 22px;
    border-bottom: 1px solid #eceff1;
  }
  .table tbody tr:last-child td {
    border: 0;
  }
  .table tbody tr:hover {
    background: #fcfefd;
  }
  .table td.wrap {
    white-space: normal;
    min-width: 180px;
  }
  .table .btn {
    min-height: 34px;
    padding: 6px 12px;
    font-size: 12px;
  }
  .table-footer {
    padding: 14px 22px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--muted);
    font-size: 12px;
  }
  .profile-header {
    display: flex;
    gap: 22px;
    align-items: center;
  }
  .pig-avatar {
    display: grid;
    place-items: center;
    width: 74px;
    height: 74px;
    background: var(--mint);
    border-radius: 20px;
    color: var(--green-dark);
  }
  .pig-avatar .icon {
    width: 38px;
    height: 38px;
  }
  .profile-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
  .detail dt {
    font-size: 12px;
    color: var(--muted);
  }
  .detail dd {
    margin: 5px 0 0;
    font-weight: 500;
  }
  .login {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
  }
  .login-story {
    padding: 60px 10%;
    background: var(--ink);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .login-story .brand {
    color: white;
    padding: 0;
    align-self: flex-start;
  }
  .login-story .brand-logo {
    width: 200px;
    padding: 10px;
  }
  .login-story .brand-sub {
    color: #b8d0d3;
  }
  .login-story h1 {
    font-size: clamp(34px, 4.5vw, 62px);
    line-height: 1.1;
    font-weight: 450;
    letter-spacing: -2px;
    margin: 24px 0;
  }
  .login-story p {
    color: #b8d0d3;
    max-width: 390px;
  }
  .login-form-wrap {
    padding: 60px 12%;
    display: flex;
    align-items: center;
    background: #fff;
  }
  .login-form {
    width: 100%;
    max-width: 380px;
  }
  .login-form h2 {
    font-size: 30px;
    font-weight: 550;
    margin-bottom: 10px;
    letter-spacing: -0.7px;
  }
  .login-form > p {
    color: var(--muted);
    margin-bottom: 28px;
  }
  .login-form .btn {
    width: 100%;
    margin-top: 15px;
  }
  .login-footer {
    font-size: 11px;
    letter-spacing: 1.4px;
    color: #a8b3bc;
  }
  .login-form .field {
    margin-top: 18px;
  }
}
@layer components {
  .icon {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
  }
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #c1ccd6;
    border-radius: 999px;
    padding: 10px 19px;
    min-height: 44px;
    background: white;
    color: var(--ink);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
  }
  .btn:hover {
    background: #edf4f0;
  }
  .btn.primary {
    background: var(--green);
    border-color: var(--green);
  }
  .btn.primary:hover {
    background: #00da5b;
  }
  .btn.danger {
    color: var(--error);
    border-color: #e4b8bd;
  }
  .btn.ghost {
    background: transparent;
    border-color: transparent;
    padding: 8px;
  }
  .btn.small {
    font-size: 12px;
    min-height: 34px;
    padding: 6px 12px;
  }
  .btn:disabled {
    opacity: 0.55;
  }
  .text-link {
    border: 0;
    background: none;
    color: var(--green-dark);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
  }
  .text-link:hover {
    text-decoration: underline;
  }
  .badge {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    border-radius: 999px;
    padding: 4px 9px;
    background: #eef2f3;
    color: #3d4f5b;
    font-size: 10px;
    font-weight: 650;
    white-space: nowrap;
  }
  .badge::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
  }
  .badge.good {
    color: var(--green-dark);
    background: #e3fcef;
  }
  .badge.warn {
    color: var(--warning);
    background: #fff8e0;
  }
  .badge.bad {
    color: var(--error);
    background: #fff0f1;
  }
  .badge.dark {
    color: white;
    background: var(--teal);
  }
  .muted {
    color: var(--muted);
  }
  .small {
    font-size: 12px;
  }
  .mono {
    font-variant-numeric: tabular-nums;
  }
  .empty {
    padding: 48px 24px;
    text-align: center;
    color: var(--muted);
  }
  .empty .icon {
    width: 30px;
    height: 30px;
    margin-bottom: 12px;
  }
  .empty strong {
    display: block;
    color: var(--ink);
    font-size: 17px;
    margin-bottom: 7px;
  }
  .empty .btn {
    margin-top: 20px;
  }
  .list-row {
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid #eceff1;
  }
  .list-row:last-child {
    border: 0;
  }
  .list-row h3 {
    font-size: 13px;
    font-weight: 550;
  }
  .list-row p {
    font-size: 11px;
    color: var(--muted);
    margin-top: 5px;
  }
  .list-leading {
    display: flex;
    gap: 12px;
    align-items: center;
  }
  .list-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    background: var(--surface);
    border-radius: 9px;
    color: var(--green-dark);
  }
  .stage-row {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 15px 0;
    font-size: 12px;
  }
  .stage-row span:first-child {
    width: 94px;
  }
  .stage-track {
    height: 7px;
    flex: 1;
    background: #edf2f0;
    border-radius: 5px;
    overflow: hidden;
  }
  .stage-track progress {
    display: block;
    width: 100%;
    height: 7px;
    appearance: none;
    border: 0;
  }
  .stage-track progress::-webkit-progress-bar {
    background: #edf2f0;
  }
  .stage-track progress::-webkit-progress-value {
    background: #00684a;
    border-radius: 5px;
  }
  .stage-track progress::-moz-progress-bar {
    background: #00684a;
  }
  .stage-row strong {
    width: 24px;
    text-align: right;
  }
  .notice {
    padding: 14px 18px;
    border-radius: 8px;
    background: #e3fcef;
    color: var(--green-dark);
    font-size: 13px;
  }
  .notice.warning {
    background: #fff8e0;
    color: var(--warning);
  }
  .error {
    padding: 12px 15px;
    border-radius: 8px;
    color: var(--error);
    background: #fff0f1;
    font-size: 13px;
  }
  .field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: 13px;
    font-weight: 500;
    min-width: 0;
  }
  .field input,
  .field select,
  .field textarea,
  .toolbar input,
  .toolbar select {
    height: 44px;
    border: 1px solid #c1ccd6;
    border-radius: 8px;
    background: white;
    color: var(--ink);
    padding: 10px 12px;
    min-width: 0;
    font-weight: 400;
  }
  .field textarea {
    height: 82px;
    resize: vertical;
  }
  .field select[multiple] {
    height: 150px;
  }
  .field small {
    font-size: 11px;
    font-weight: 400;
    color: var(--muted);
  }
  .field .field-error { color:var(--error); }
  .field [aria-invalid=true] { border-color:var(--error); }
  .field.checkbox {
    flex-direction: row;
    align-items: center;
  }
  .field input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--green-dark);
  }
  .form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
  }
  .field.full,
  .form-grid > .notice,
  .form-grid > .error {
    grid-column: 1/-1;
  }
  dialog {
    border: 0;
    border-radius: 16px;
    padding: 0;
    width: min(680px, calc(100vw - 32px));
    max-height: 90vh;
    color: var(--ink);
    box-shadow: 0 16px 48px -8px #001e2b40;
  }
  dialog::backdrop {
    background: #001e2b88;
    backdrop-filter: blur(3px);
  }
  .modal-head {
    padding: 24px 28px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
    gap: 12px;
  }
  .modal-head h2 {
    font-size: 21px;
    font-weight: 550;
  }
  .modal-body {
    padding: 24px 28px;
  }
  .modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 18px 28px;
    border-top: 1px solid var(--border);
    background: #f9fbfa;
  }
  .modal-body .error {
    margin-bottom: 16px;
  }
  .modal-body .notice {
    margin-bottom: 18px;
  }
  .tabs {
    display: flex;
    gap: 22px;
    border-bottom: 1px solid var(--border);
    margin: 25px 0 22px;
    overflow: auto;
  }
  .tabs button {
    border: 0;
    border-radius: 0;
    padding: 12px 0;
    background: none;
    color: var(--muted);
    white-space: nowrap;
    font-size: 13px;
    min-height: 44px;
    text-underline-offset: 0.3em;
    text-decoration-thickness: 2px;
  }
  .tabs button.active {
    color: var(--green-dark);
    text-decoration-line: underline;
    font-weight: 600;
  }
  .tabs button:hover { text-decoration-line: underline; }
  .toast {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ink);
    color: white;
    padding: 14px 24px;
    border-radius: 10px;
    box-shadow: 0 8px 30px #001e2b33;
    z-index: 100;
    font-size: 13px;
    max-width: calc(100vw - 30px);
  }
  .skip-link {
    position: fixed;
    top: -60px;
    left: 10px;
    background: white;
    padding: 10px;
    z-index: 200;
  }
  .skip-link:focus {
    top: 10px;
  }
  .mobile-menu {
    display: none;
  }
  .section-gap {
    margin-top: 24px;
  }
  .chart {
    width: 100%;
    height: 180px;
    display: block;
  }
  .chart text {
    font-size: 10px;
    fill: #5c6c7a;
  }
  .chart polyline {
    stroke: #00684a;
    stroke-width: 3;
    fill: none;
  }
  .chart circle {
    fill: #00ed64;
    stroke: #00684a;
  }
  .chart line {
    stroke: #e1e5e8;
  }
  .sale-item {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }
  .sale-items {
    grid-column: 1/-1;
  }
  .sale-item strong {
    align-self: center;
    font-size: 13px;
  }
  .timeline {
    display: grid;
    gap: 18px;
  }
  .timeline-entry {
    border-left: 2px solid var(--mint);
    padding-left: 16px;
  }
  .timeline-entry strong {
    font-size: 13px;
  }
  .timeline-entry p {
    font-size: 12px;
    color: var(--muted);
    margin-top: 4px;
  }
  .revision {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
  }
  .revision pre {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    font-size: 11px;
    background: var(--surface);
    padding: 12px;
    border-radius: 8px;
  }
  .card-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
  }
  .card-title h2 {
    font-size: 18px;
    font-weight: 550;
  }
  .big-number {
    font-size: 32px;
    font-weight: 500;
    letter-spacing: -1px;
  }
  .flex {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
  }
  .spaced {
    justify-content: space-between;
  }
  .divider {
    height: 1px;
    background: var(--border);
    margin: 20px 0;
  }
}
@layer responsive {
  @media (min-width: 1600px) {
    .main {
      padding-top: 40px;
    }
    .hero {
      padding: 36px;
    }
    .stats {
      gap: 22px;
    }
  }
  @media (max-width: 1100px) {
    .stats {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .stat-value {
      overflow-wrap: anywhere;
    }
    .shell {
      grid-template-columns: 200px minmax(0, 1fr);
    }
    .sidebar {
      width: 200px;
      padding-inline: 12px;
    }
    .main {
      padding: 26px 24px;
    }
    .topbar {
      padding-inline: 24px;
    }
    .dashboard-grid {
      grid-template-columns: 1fr;
    }
    .stats {
      gap: 10px;
    }
    .stat {
      padding: 16px;
    }
    .card-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .hero-art {
      width: 170px;
    }
  }
  @media (max-width: 767px) {
    .table .btn,
    .btn.small,
    .text-link {
      min-height: 44px;
    }
    .text-link {
      display: inline-flex;
      align-items: center;
    }
    .shell {
      display: block;
    }
    .sidebar {
      transform: translateX(-100%);
      width: 240px;
      box-shadow: 20px 0 60px #001e2b25;
      transition: transform 0.18s ease;
    }
    .sidebar.open {
      transform: translateX(0);
    }
    .content {
      width: 100%;
    }
    .mobile-menu {
      display: inline-flex;
    }
    .topbar {
      height: 65px;
      padding: 0 16px;
    }
    .breadcrumb {
      display: none;
    }
    .top-actions {
      gap: 8px;
    }
    .workspace-select {
      max-width: 150px;
    }
    .main {
      padding: 24px 16px 35px;
    }
    .page-heading {
      align-items: flex-start;
      flex-wrap: wrap;
      gap: 18px;
    }
    .page-heading h1 {
      font-size: 26px;
    }
    .page-heading p {
      font-size: 13px;
    }
    .heading-actions {
      width: 100%;
    }
    .hero {
      padding: 25px;
      min-height: 0;
    }
    .hero h2 {
      font-size: 25px;
    }
    .hero-art {
      display: none;
    }
    .stats {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
    }
    .stat-value {
      font-size: 29px;
    }
    .stat-foot {
      font-size: 10px;
    }
    .card-grid {
      grid-template-columns: 1fr;
    }
    .profile-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .panel-head {
      padding: 18px;
    }
    .panel-body {
      padding: 18px;
    }
    .list-row {
      padding: 16px 18px;
    }
    .table td,
    .table th {
      padding: 13px 16px;
    }
    .toolbar {
      padding: 14px;
    }
    .toolbar select {
      flex: 1;
      max-width: none;
    }
    .login {
      grid-template-columns: 1fr;
    }
    .login-story {
      padding: 32px;
      min-height: 280px;
      gap: 32px;
    }
    .login-story h1 {
      font-size: 37px;
      max-width: 400px;
    }
    .login-story p,
    .login-footer {
      display: none;
    }
    .login-form-wrap {
      padding: 35px 28px;
    }
    .login-form {
      max-width: none;
    }
    .form-grid {
      grid-template-columns: 1fr;
    }
    .modal-head,
    .modal-body,
    .modal-footer {
      padding: 20px;
    }
    .modal-head h2 {
      font-size: 18px;
    }
    .sale-item {
      grid-template-columns: 1fr 1fr;
    }
    .sale-item strong {
      grid-column: 1/-1;
    }
    .account-dropdown {
      top: 58px;
      right: 12px;
    }
    .top-actions > .small.muted {
      display: none;
    }
    .tabs {
      gap: 18px;
    }
    .workspace-card {
      margin-top: 20px;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    * {
      transition: none !important;
      scroll-behavior: auto !important;
    }
  }
}
