@layer base, layout, components, responsive;
@layer base {
  :root {
    --ink: #1c3028;
    --muted: #737d76;
    --line: #e2e6df;
    --green: #286343;
    --mint: #eef5e9;
    --paper: #f6f7f3;
    --white: #fff;
    --accent: #d9ee9f;
    --red: #9f3737;
    --shadow: 0 8px 32px #18291d06;
    font-family:
      Inter,
      ui-sans-serif,
      -apple-system,
      BlinkMacSystemFont,
      "Segoe UI",
      Arial,
      sans-serif;
    color: var(--ink);
    background: var(--paper);
    font-size: 14px;
    font-synthesis: none;
  }
  * {
    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: not-allowed;
    opacity: 0.5;
  }
  button,
  a {
    touch-action: manipulation;
  }
  button {
    color: inherit;
  }
  a {
    color: var(--green);
  }
  button:focus-visible,
  a:focus-visible,
  input:focus-visible,
  select:focus-visible,
  textarea:focus-visible {
    outline: 3px solid #6a9562;
    outline-offset: 3px;
  }
  h1,
  h2,
  h3,
  p {
    margin: 0;
  }
  h1 {
    font-size: 30px;
    font-weight: 600;
    letter-spacing: -1.1px;
    line-height: 1.25;
  }
  h2 {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.35px;
  }
  h3 {
    font-size: 15px;
    font-weight: 600;
  }
  p {
    line-height: 1.65;
  }
  svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke-width: 1.65;
    vertical-align: middle;
  }
  button svg {
    pointer-events: none;
  }
  ::selection {
    background: #d8eaba;
  }
  .skip {
    position: fixed;
    top: -100px;
    left: 20px;
    z-index: 30;
    padding: 12px;
    background: white;
  }
  .skip:focus {
    top: 8px;
  }
  .initial {
    min-height: 100vh;
    display: grid;
    place-items: center;
    color: var(--muted);
  }
  .sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
}
@layer layout {
  .shell {
    display: grid;
    grid-template-columns: 244px minmax(0, 1fr);
    min-height: 100vh;
  }
  .sidebar {
    background: #172922;
    color: #c6d0c7;
    padding: 34px 18px 20px;
    position: fixed;
    inset: 0 auto 0 0;
    width: 244px;
    display: flex;
    flex-direction: column;
    z-index: 12;
  }
  .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    color: #fff;
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -0.5px;
  }
  .brand small {
    font-size: 11px;
    border: 1px solid #59705f;
    padding: 3px 5px;
    border-radius: 5px;
    letter-spacing: 0.3px;
    font-weight: 500;
    color: var(--accent);
  }
  .brandmark {
    width: 29px;
    height: 29px;
    background: var(--accent);
    border-radius: 8px;
    display: grid;
    place-items: center;
    color: #172922;
    font-weight: 700;
    transform: rotate(-8deg);
    font-size: 19px;
  }
  .workspace {
    margin: 34px 0 30px;
    background: #ffffff08;
    border: 1px solid #ffffff13;
    border-radius: 10px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 9px;
  }
  .workspace select {
    min-width: 0;
    width: 100%;
    background: transparent;
    color: #e4e9e3;
    border: 0;
    font-weight: 500;
    font-size: 12px;
    padding: 5px 0;
  }
  .workspace option {
    background: #172922;
  }
  .workspace-icon {
    background: #3a4b3b;
    border-radius: 7px;
    padding: 7px;
    display: flex;
    color: var(--accent);
  }
  .nav-label {
    font-size: 9px;
    letter-spacing: 1.7px;
    font-weight: 600;
    color: #8b9f90;
    padding: 0 14px;
    margin-bottom: 12px;
  }
  .nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  .nav button {
    border: 0;
    display: flex;
    align-items: center;
    gap: 13px;
    background: transparent;
    color: #bcc9bf;
    text-align: left;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 13px;
    min-height: 44px;
  }
  .nav button:hover {
    background: #ffffff08;
    color: #fff;
  }
  .nav button.active {
    background: #d9ee9f;
    color: #243b27;
    font-weight: 600;
  }
  .nav .pill {
    margin-left: auto;
    border-radius: 5px;
    font-size: 10px;
    background: #ffffff0d;
    padding: 2px 6px;
  }
  .nav button.active .pill {
    background: #24432d12;
  }
  .nav-divider {
    height: 1px;
    background: #ffffff12;
    margin: 25px 14px;
  }
  .sidebar-bottom {
    margin-top: auto;
    padding-top: 36px;
  }
  .sidebar-note {
    margin: 0 8px 24px;
    padding: 16px 12px;
    border: 1px solid #ffffff16;
    border-radius: 9px;
  }
  .sidebar-note svg {
    color: var(--accent);
    margin-bottom: 9px;
  }
  .sidebar-note strong {
    display: block;
    font-size: 12px;
    color: #e5ecdf;
    font-weight: 500;
  }
  .sidebar-note p {
    font-size: 11px;
    color: #8fa093;
    margin-top: 5px;
  }
  .account {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 16px 10px 0;
    border-top: 1px solid #ffffff15;
  }
  .avatar {
    width: 33px;
    height: 33px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #e3e9d8;
    color: #334c35;
    font-size: 11px;
    font-weight: 600;
    flex-shrink: 0;
  }
  .account-detail {
    min-width: 0;
    flex: 1;
  }
  .account-detail strong {
    font-size: 12px;
    color: #e9eee7;
    font-weight: 500;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 134px;
  }
  .account-detail small {
    font-size: 10px;
    color: #91a295;
    display: block;
    margin-top: 3px;
  }
  .account button {
    color: #b2c1b6;
    background: none;
    border: 0;
    padding: 6px;
  }
  .content {
    grid-column: 2;
    min-width: 0;
  }
  .topbar {
    height: 82px;
    padding: 0 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    background: #ffffffc4;
    gap: 15px;
  }
  .breadcrumb {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 12px;
    color: var(--muted);
  }
  .breadcrumb span:last-child {
    color: var(--ink);
  }
  .top-actions {
    display: flex;
    gap: 16px;
    align-items: center;
  }
  .top-status {
    font-size: 11px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 7px;
  }
  .dot {
    width: 6px;
    height: 6px;
    background: #81a984;
    border-radius: 50%;
    display: inline-block;
  }
  .top-status.off .dot {
    background: #b8beb4;
  }
  .search-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--line);
    background: #fff;
    padding: 8px 11px;
    border-radius: 7px;
    color: #68766a;
    font-size: 11px;
  }
  .search-btn svg {
    width: 15px;
    height: 15px;
  }
  .search-btn kbd {
    border: 1px solid var(--line);
    font-family: inherit;
    border-radius: 3px;
    padding: 1px 4px;
    color: #929c91;
    margin-left: 25px;
  }
  .mobile-toggle {
    display: none;
  }
  main {
    max-width: 1500px;
    margin: 0 auto;
    padding: 38px 42px 28px;
    min-height: calc(100vh - 82px);
  }
  .page-heading {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    margin-bottom: 28px;
  }
  .eyebrow {
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 1.5px;
    font-weight: 600;
    color: #788473;
    margin-bottom: 10px;
  }
  .page-heading p {
    font-size: 12px;
    color: var(--muted);
    margin-top: 10px;
  }
  .date-label {
    font-size: 11px;
    color: var(--muted);
    display: flex;
    gap: 8px;
    align-items: center;
    white-space: nowrap;
  }
  .date-label svg {
    width: 15px;
    height: 15px;
  }
  .dashboard-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 1fr);
    gap: 22px;
    margin-top: 24px;
  }
  .footer {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    margin-top: 35px;
    padding-top: 19px;
    color: #939a90;
    font-size: 10px;
  }
  .footer .tiny-brand {
    letter-spacing: 0.4px;
  }
  .backdrop {
    display: none;
  }
  .stack {
    display: grid;
    gap: 20px;
  }
  .two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }
}
@layer components {
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 39px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #fff;
    padding: 10px 15px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s;
  }
  .btn:hover {
    background: #f0f3ec;
  }
  .btn.primary {
    background: #2d6344;
    color: #fff;
    border-color: #2d6344;
  }
  .btn.primary:hover {
    background: #214d34;
  }
  .btn.light {
    background: var(--accent);
    border-color: var(--accent);
    color: #263e28;
  }
  .btn.light:hover {
    background: #cce489;
  }
  .btn.ghost {
    background: none;
    border-color: transparent;
  }
  .btn.danger {
    color: var(--red);
  }
  .btn svg {
    width: 15px;
    height: 15px;
  }
  .icon-btn {
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 7px;
    min-width: 36px;
    min-height: 36px;
  }
  .icon-btn svg {
    width: 16px;
    height: 16px;
  }
  .hero {
    background: #eaf0df;
    border: 1px solid #dce5cd;
    border-radius: 13px;
    padding: 32px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 20px;
    position: relative;
    overflow: hidden;
    min-height: 230px;
  }
  .hero h2 {
    font-size: 30px;
    line-height: 1.23;
    letter-spacing: -1px;
    margin: 12px 0;
    color: #263e2a;
    font-weight: 500;
  }
  .hero p {
    font-size: 12px;
    color: #6c7d63;
    max-width: 390px;
    margin-bottom: 23px;
  }
  .hero .eyebrow {
    font-size: 9px;
    letter-spacing: 1.7px;
    color: #65785c;
  }
  .hero-tags {
    display: flex;
    gap: 18px;
    align-items: center;
    margin-top: 18px;
    color: #708162;
    font-size: 10px;
  }
  .hero-tags span {
    display: flex;
    gap: 5px;
    align-items: center;
  }
  .hero-tags svg {
    width: 12px;
    height: 12px;
  }
  .orbit {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 180px;
  }
  .orbit-ring {
    position: absolute;
    width: 174px;
    height: 174px;
    border: 1px solid #bacaa3;
    border-radius: 50%;
    transform: rotate(-28deg);
  }
  .orbit-ring:after {
    content: "";
    position: absolute;
    inset: 23px;
    border: 1px solid #c4d0b1;
    border-radius: 50%;
  }
  .orbit-center {
    position: relative;
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: #344e35;
    box-shadow: 0 12px 30px #354b3625;
    display: grid;
    place-items: center;
    color: #e3efba;
    transform: rotate(-7deg);
  }
  .orbit-center svg {
    width: 29px;
    height: 29px;
    transform: rotate(7deg);
  }
  .satellite {
    position: absolute;
    display: grid;
    place-items: center;
    background: #f9fbf3;
    border: 1px solid #d9e3ce;
    width: 39px;
    height: 39px;
    border-radius: 11px;
    color: #6c815b;
    box-shadow: 0 4px 12px #4359320b;
  }
  .satellite:nth-of-type(3) {
    top: 13px;
    left: 50px;
  }
  .satellite:nth-of-type(4) {
    right: 6px;
    top: 71px;
  }
  .satellite:nth-of-type(5) {
    bottom: 2px;
    left: 45px;
  }
  .satellite:nth-of-type(6) {
    left: 4px;
    top: 88px;
  }
  .hero-label {
    position: absolute;
    bottom: 15px;
    right: 24px;
    background: #ffffff9e;
    border: 1px solid #d4dfc6;
    border-radius: 20px;
    font-size: 9px;
    padding: 6px 10px;
    color: #6d7f5b;
    display: flex;
    gap: 6px;
    align-items: center;
  }
  .stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 22px 0;
  }
  .stat {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 18px 19px;
    box-shadow: var(--shadow);
  }
  .stat-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #7b857a;
    font-size: 11px;
    gap: 5px;
  }
  .stat-top svg {
    width: 15px;
    height: 15px;
    color: #92a086;
  }
  .stat-value {
    font-size: 29px;
    font-weight: 500;
    letter-spacing: -1px;
    margin: 15px 0 8px;
    line-height: 1;
  }
  .stat-bottom {
    font-size: 10px;
    color: #93998f;
  }
  .panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 11px;
    box-shadow: var(--shadow);
    overflow: hidden;
  }
  .panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 21px 23px;
    border-bottom: 1px solid #edf0e8;
  }
  .panel-head h2 {
    font-size: 14px;
    font-weight: 600;
  }
  .panel-head p {
    font-size: 10px;
    color: var(--muted);
    margin-top: 6px;
  }
  .panel-head .btn {
    font-size: 10px;
    min-height: 30px;
    padding: 4px 8px;
  }
  .panel-body {
    padding: 24px;
  }
  .panel-count {
    font-size: 10px;
    color: #6e7d64;
    background: #f1f5e9;
    border-radius: 5px;
    padding: 3px 7px;
    margin-left: 8px;
  }
  .empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 235px;
    padding: 25px;
  }
  .empty-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid #e1e8da;
    border-radius: 13px;
    background: #f5f7f0;
    color: #859779;
    margin-bottom: 17px;
  }
  .empty-icon svg {
    width: 21px;
    height: 21px;
  }
  .empty h3 {
    font-size: 13px;
    font-weight: 500;
  }
  .empty p {
    font-size: 11px;
    color: #8a9385;
    max-width: 295px;
    margin-top: 8px;
  }
  .empty .btn {
    margin-top: 18px;
  }
  .access-card {
    padding: 25px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 11px;
  }
  .access-header {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 18px;
  }
  .access-header .empty-icon {
    width: 37px;
    height: 37px;
    border-radius: 10px;
    margin: 0;
  }
  .access-header h3 {
    font-size: 13px;
  }
  .access-header p {
    font-size: 10px;
    color: #8a9385;
    margin-top: 4px;
  }
  .access-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 0;
    border-bottom: 1px solid #eef0e9;
    gap: 12px;
    font-size: 11px;
  }
  .access-row:last-child {
    border: 0;
    padding-bottom: 0;
  }
  .access-row span:first-child {
    color: #7b8575;
  }
  .badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid #e2e7d9;
    background: #f5f7f0;
    color: #728160;
    border-radius: 5px;
    padding: 4px 7px;
    font-size: 9px;
    font-weight: 500;
    white-space: nowrap;
    line-height: 1.3;
  }
  .badge.green {
    background: #edf5e9;
    color: #47723d;
    border-color: #dae9d3;
  }
  .badge.amber {
    background: #faf4e8;
    color: #997544;
    border-color: #efe0c4;
  }
  .badge.red {
    background: #fcf0ec;
    color: #a05c45;
    border-color: #f3d8cf;
  }
  .note {
    background: #f8faf4;
    border: 1px solid #e5eadc;
    border-radius: 9px;
    padding: 16px;
    display: flex;
    gap: 11px;
    font-size: 11px;
    color: #78886c;
    line-height: 1.7;
    margin-top: 18px;
  }
  .note svg {
    width: 16px;
    height: 16px;
    margin-top: 2px;
  }
  .note.error {
    background: #fff7f4;
    border-color: #eed3c9;
    color: #925a49;
  }
  .note-text strong {
    display: block;
    color: #556b48;
    font-weight: 500;
    font-size: 11px;
    margin-bottom: 3px;
  }
  .toolbar {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-bottom: 22px;
  }
  .tabs {
    display: flex;
    gap: 5px;
    border: 1px solid var(--line);
    background: #fff;
    padding: 4px;
    border-radius: 8px;
  }
  .tabs button {
    border: 0;
    background: none;
    border-radius: 5px;
    font-size: 11px;
    padding: 8px 12px;
    color: #7a8476;
  }
  .tabs button.active {
    background: #edf2e6;
    color: #3b5630;
    font-weight: 500;
  }
  .input-icon {
    position: relative;
  }
  .input-icon svg {
    position: absolute;
    left: 12px;
    top: 11px;
    width: 16px;
    height: 16px;
    color: #96a18d;
  }
  .input-icon input {
    padding-left: 37px;
    min-width: 230px;
  }
  input,
  select,
  textarea {
    background: #fff;
    border: 1px solid #dce2d5;
    border-radius: 7px;
    padding: 11px 12px;
    min-width: 0;
    max-width: 100%;
    color: var(--ink);
    font-size: 12px;
  }
  input::placeholder,
  textarea::placeholder {
    color: #9aa193;
  }
  textarea {
    width: 100%;
    resize: vertical;
    line-height: 1.6;
  }
  label {
    display: block;
    font-size: 11px;
    color: #596a51;
    margin-bottom: 8px;
  }
  .field {
    margin-bottom: 18px;
  }
  .field input,
  .field select {
    width: 100%;
  }
  .hint {
    font-size: 10px;
    color: #8b9585;
    line-height: 1.65;
    margin-top: 7px;
  }
  .module-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
  .module-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 11px;
    padding: 23px;
    display: flex;
    flex-direction: column;
  }
  .module-card .module-icon {
    height: 40px;
    width: 40px;
    border: 1px solid #e2e8d9;
    background: #f2f6ea;
    border-radius: 11px;
    display: grid;
    place-items: center;
    color: #77915f;
  }
  .module-card h3 {
    margin-top: 21px;
    font-size: 15px;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }
  .module-card p {
    font-size: 11px;
    color: var(--muted);
    margin-top: 8px;
  }
  .module-card .module-meta {
    display: flex;
    justify-content: space-between;
    gap: 9px;
    align-items: center;
    margin-top: 18px;
  }
  .module-actions {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding-top: 17px;
    border-top: 1px solid var(--line);
  }
  .module-actions .btn {
    font-size: 10px;
    padding: 7px 10px;
    min-height: 32px;
  }
  .table-wrap {
    overflow: auto;
  }
  table {
    border-collapse: collapse;
    width: 100%;
    font-size: 11px;
    text-align: left;
    white-space: nowrap;
  }
  th {
    font-size: 9px;
    letter-spacing: 0.7px;
    color: #8a9484;
    font-weight: 500;
    text-transform: uppercase;
    background: #fafbf7;
  }
  th,
  td {
    padding: 16px 22px;
    border-bottom: 1px solid #edf0e7;
  }
  td {
    color: #67765e;
  }
  td strong {
    font-weight: 500;
    color: var(--ink);
  }
  tr:last-child td {
    border-bottom: 0;
  }
  .person {
    display: flex;
    gap: 10px;
    align-items: center;
  }
  .person .avatar {
    width: 31px;
    height: 31px;
  }
  .person small {
    display: block;
    font-size: 9px;
    color: #9aa291;
    margin-top: 4px;
  }
  .table-actions {
    display: flex;
    gap: 7px;
    justify-content: flex-end;
  }
  .table-actions button {
    font-size: 10px;
    min-height: 30px;
    padding: 6px 9px;
  }
  .alert-bar {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 9px;
    background: #fff9ed;
    border: 1px solid #eee2c7;
    border-radius: 8px;
    color: #927849;
    font-size: 11px;
    margin-bottom: 22px;
  }
  .alert-bar svg {
    width: 16px;
    height: 16px;
  }
  .steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
    margin-top: 25px;
  }
  .step {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 19px;
    background: #fff;
  }
  .step-num {
    font-size: 10px;
    color: #8d9e80;
    letter-spacing: 1px;
  }
  .step h3 {
    font-size: 12px;
    margin-top: 17px;
  }
  .step p {
    font-size: 10px;
    color: #8a9582;
    margin-top: 8px;
  }
  .step svg {
    width: 16px;
    height: 16px;
    margin-left: 6px;
  }
  .intro-banner {
    padding: 26px 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }
  .intro-banner h2 {
    font-size: 16px;
  }
  .intro-banner p {
    font-size: 11px;
    color: var(--muted);
    margin-top: 7px;
  }
  .login-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    background: #fff;
  }
  .login-story {
    background: #172922;
    padding: 50px 9%;
    display: flex;
    flex-direction: column;
    color: #e9efdf;
  }
  .login-story .brand {
    padding: 0;
  }
  .login-story h1 {
    font-size: 49px;
    line-height: 1.15;
    font-weight: 400;
    letter-spacing: -2px;
    margin-top: auto;
    margin-bottom: 24px;
    max-width: 450px;
  }
  .login-story h1 em {
    font-style: normal;
    color: #d9ee9f;
  }
  .login-story p {
    color: #9bab9a;
    max-width: 345px;
    font-size: 13px;
  }
  .login-story .orbit {
    margin: 35px 0;
    min-height: 250px;
    width: 240px;
    align-self: center;
  }
  .login-story .orbit-ring {
    border-color: #56724b;
    width: 230px;
    height: 230px;
  }
  .login-story .orbit-ring:after {
    border-color: #3e553b;
  }
  .login-story .satellite {
    background: #304634;
    border-color: #48613e;
    color: #c6de9f;
  }
  .login-story .orbit-center {
    background: #d9ee9f;
    color: #2d4527;
  }
  .login-story footer {
    font-size: 10px;
    color: #799076;
    margin-top: auto;
    padding-top: 35px;
  }
  .login-form {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 45px;
  }
  .login-inner {
    width: 100%;
    max-width: 340px;
  }
  .login-inner h2 {
    font-size: 29px;
    font-weight: 500;
    letter-spacing: -1px;
    margin: 15px 0;
  }
  .login-inner > p {
    color: #8a9584;
    font-size: 12px;
    margin-bottom: 28px;
  }
  .login-inner .btn {
    width: 100%;
    min-height: 45px;
  }
  .login-inner .hint {
    font-size: 10px;
    text-align: center;
    margin-top: 15px;
  }
  .login-mark {
    display: grid;
    place-items: center;
    width: 45px;
    height: 45px;
    background: #edf3e4;
    border: 1px solid #dce7cf;
    border-radius: 12px;
    color: #73915c;
  }
  .login-line {
    height: 1px;
    background: var(--line);
    margin: 30px 0 20px;
  }
  .login-rule {
    display: flex;
    gap: 11px;
    margin-bottom: 17px;
    font-size: 11px;
    color: #7b8870;
  }
  .login-rule svg {
    width: 16px;
    height: 16px;
    color: #88a36e;
  }
  dialog {
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0;
    max-width: 540px;
    width: calc(100% - 32px);
    box-shadow: 0 20px 80px #14201530;
    color: var(--ink);
    max-height: 85vh;
  }
  dialog::backdrop {
    background: #0c221c66;
    backdrop-filter: blur(3px);
  }
  .dialog-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 25px;
    border-bottom: 1px solid var(--line);
    gap: 16px;
  }
  .dialog-head h2 {
    font-size: 17px;
  }
  .dialog-body {
    padding: 24px 25px;
  }
  .dialog-body .description {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 24px;
  }
  .dialog-foot {
    display: flex;
    justify-content: flex-end;
    gap: 9px;
    padding: 17px 25px;
    border-top: 1px solid var(--line);
    background: #fafbf7;
  }
  .dialog-error {
    background: #fff2ed;
    color: #9c5a46;
    border: 1px solid #efdbd1;
    padding: 11px;
    border-radius: 7px;
    font-size: 11px;
    margin: 0 0 18px;
    display: none;
  }
  .dialog-error:empty {
    display: none;
  }
  .dialog-error:not(:empty) {
    display: block;
  }
  .permission-group {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 9px;
    margin-bottom: 15px;
  }
  .permission-group h3 {
    margin-bottom: 12px;
    font-size: 12px;
  }
  .permission-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    overflow-wrap: anywhere;
  }
  .permission-group input {
    accent-color: #46753f;
    width: 15px;
    height: 15px;
  }
  .permission-group .btn {
    font-size: 10px;
    min-height: 30px;
    padding: 6px 10px;
    margin-top: 9px;
  }
  .permission-group small {
    font-size: 9px;
    color: #8e9985;
  }
  .search-results {
    display: grid;
    gap: 6px;
    margin-top: 15px;
  }
  .search-results button {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 7px;
    padding: 13px;
    text-align: left;
    font-size: 12px;
  }
  .search-results button:hover {
    background: var(--mint);
  }
  .code {
    font-family: ui-monospace, monospace;
    font-size: 11px;
  }
  .wrap {
    overflow-wrap: anywhere;
    white-space: normal;
  }
  #notice {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 25;
    background: #263e2c;
    color: #f3f8e9;
    padding: 15px 20px;
    border-radius: 9px;
    box-shadow: 0 8px 30px #182b2530;
    max-width: calc(100vw - 35px);
    font-size: 12px;
    display: none;
  }
  #notice.show {
    display: block;
  }
  .loading {
    opacity: 0.5;
    pointer-events: none;
  }
  .loading-line {
    height: 3px;
    position: fixed;
    top: 0;
    left: 0;
    background: #9cbc72;
    width: 100%;
    z-index: 40;
    animation: pulse 1s infinite alternate;
  }
  .button-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }
  .setting-form {
    max-width: 480px;
  }
  .status-line {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #809075;
    font-size: 10px;
  }
  .quiet {
    color: #8c9981;
    font-size: 10px;
  }
  .mt {
    margin-top: 20px;
  }
  @keyframes pulse {
    from {
      opacity: 0.25;
    }
    to {
      opacity: 1;
    }
  }
}
@layer responsive {
  @media (min-width: 1500px) {
    main {
      padding-top: 46px;
    }
    .hero {
      padding: 38px;
    }
    .hero h2 {
      font-size: 35px;
    }
    .stat {
      padding: 22px;
    }
    .dashboard-bottom {
      gap: 26px;
    }
  }
  @media (max-width: 1150px) {
    .shell {
      grid-template-columns: 216px minmax(0, 1fr);
    }
    .sidebar {
      width: 216px;
      padding-left: 12px;
      padding-right: 12px;
    }
    .brand {
      font-size: 19px;
    }
    .topbar {
      padding: 0 26px;
    }
    main {
      padding: 30px 26px;
    }
    .dashboard-bottom {
      grid-template-columns: 1fr;
    }
    .module-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .hero {
      grid-template-columns: minmax(0, 1fr) 180px;
      padding: 26px;
    }
    .orbit-ring {
      width: 150px;
      height: 150px;
    }
    .hero .satellite:nth-of-type(4) {
      right: -3px;
    }
    .hero-label {
      display: none;
    }
    .search-btn kbd {
      margin-left: 8px;
    }
    .stat {
      padding: 16px 13px;
    }
    .stat-top {
      font-size: 10px;
    }
    .account-detail strong {
      max-width: 115px;
    }
  }
  @media (max-width: 800px) {
    .shell {
      display: block;
    }
    .sidebar {
      transform: translateX(-100%);
      transition: transform 0.2s;
      width: 244px;
    }
    .shell.nav-open .sidebar {
      transform: translateX(0);
    }
    .shell.nav-open .backdrop {
      display: block;
      position: fixed;
      inset: 0;
      background: #10271d66;
      z-index: 11;
    }
    .content {
      width: 100%;
    }
    .topbar {
      height: 66px;
      padding: 0 20px;
    }
    .mobile-toggle {
      display: grid;
      place-items: center;
      border: 0;
      background: none;
      padding: 5px;
      color: var(--ink);
    }
    .breadcrumb {
      margin-right: auto;
    }
    .breadcrumb > svg,
    .breadcrumb > span:first-of-type {
      display: none;
    }
    .top-actions {
      gap: 10px;
    }
    .top-status {
      font-size: 10px;
    }
    .search-btn {
      padding: 8px;
    }
    .search-btn span,
    .search-btn kbd {
      display: none;
    }
    main {
      padding: 28px 20px;
      min-height: calc(100vh - 66px);
    }
    h1 {
      font-size: 26px;
    }
    .page-heading {
      margin-bottom: 24px;
    }
    .date-label {
      font-size: 10px;
    }
    .hero {
      padding: 24px;
    }
    .hero h2 {
      font-size: 28px;
    }
    .hero p {
      max-width: 300px;
    }
    .stats {
      gap: 10px;
    }
    .stat-value {
      font-size: 26px;
    }
    .stat-top svg {
      display: none;
    }
    .stat-bottom {
      font-size: 9px;
    }
    .two-col {
      grid-template-columns: 1fr;
    }
    .login-story {
      padding: 40px 9%;
    }
    .login-story h1 {
      font-size: 39px;
    }
    .login-form {
      padding: 35px;
    }
    .steps {
      gap: 10px;
    }
    .step {
      padding: 15px;
    }
  }
  @media (max-width: 520px) {
    main {
      padding: 26px 18px;
    }
    .topbar {
      padding: 0 17px;
    }
    .top-status {
      display: none;
    }
    .date-label {
      display: none;
    }
    .page-heading {
      gap: 12px;
    }
    .page-heading h1 {
      font-size: 25px;
    }
    .page-heading .btn {
      font-size: 10px;
      padding: 9px 10px;
      min-height: 36px;
    }
    .hero {
      grid-template-columns: 1fr;
      padding: 24px;
      min-height: 260px;
    }
    .hero h2 {
      max-width: 250px;
      font-size: 29px;
    }
    .hero p {
      max-width: 260px;
      font-size: 11px;
    }
    .hero .orbit {
      display: none;
    }
    .hero-tags {
      font-size: 9px;
      gap: 13px;
    }
    .stats {
      grid-template-columns: 1fr 1fr;
      gap: 12px;
      margin-top: 18px;
    }
    .stat {
      padding: 17px;
    }
    .stat-top svg {
      display: block;
    }
    .stat-top {
      font-size: 11px;
    }
    .stat-value {
      font-size: 28px;
      margin-top: 17px;
    }
    .stat-bottom {
      font-size: 9px;
    }
    .dashboard-bottom {
      margin-top: 18px;
      gap: 18px;
    }
    .panel-head {
      padding: 19px;
    }
    .panel-head h2 {
      font-size: 13px;
    }
    .access-card {
      padding: 21px;
    }
    .empty {
      min-height: 215px;
    }
    .module-grid {
      grid-template-columns: 1fr;
    }
    .toolbar {
      align-items: stretch;
      flex-direction: column;
      gap: 12px;
    }
    .input-icon input {
      width: 100%;
      min-width: 0;
    }
    .tabs {
      align-self: flex-start;
      max-width: 100%;
      flex-wrap: wrap;
    }
    .steps {
      grid-template-columns: 1fr;
      gap: 12px;
    }
    .step {
      padding: 18px;
    }
    .step h3 {
      margin-top: 10px;
    }
    .intro-banner {
      padding: 22px;
      align-items: flex-start;
      flex-direction: column;
    }
    .footer {
      font-size: 9px;
      gap: 12px;
    }
    .footer span:last-child {
      max-width: 130px;
      text-align: right;
    }
    .login-layout {
      display: flex;
      flex-direction: column;
    }
    .login-story {
      padding: 28px 26px 32px;
    }
    .login-story h1 {
      font-size: 34px;
      margin-top: 40px;
      margin-bottom: 15px;
      max-width: 320px;
    }
    .login-story p {
      font-size: 11px;
    }
    .login-story .orbit,
    .login-story footer {
      display: none;
    }
    .login-form {
      padding: 38px 27px;
    }
    .login-inner {
      max-width: none;
    }
    .login-inner h2 {
      font-size: 26px;
    }
    .dialog-head,
    .dialog-body {
      padding: 21px;
    }
    .dialog-foot {
      padding: 16px 21px;
    }
    .topbar .avatar {
      width: 29px;
      height: 29px;
      font-size: 10px;
    }
    .panel-head .btn {
      font-size: 9px;
    }
    .module-card {
      padding: 21px;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
      animation: none !important;
      transition: none !important;
      scroll-behavior: auto !important;
    }
  }
}

@layer components {
  .workspace select {
    background: transparent;
    color: #e4e9e3;
    border: 0;
    opacity: 1;
    appearance: none;
    padding: 5px 0;
    font-size: 12px;
  }
  .login-layout {
    padding: 0;
    max-width: none;
    margin: 0;
  }
}
@layer components {
  .catalog-intro {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 28px 30px;
    background: #eaf0df;
    border: 1px solid #dce5cd;
    border-radius: 12px;
    margin-bottom: 25px;
    align-items: center;
  }
  .catalog-intro h2 {
    font-size: 25px;
    font-weight: 500;
    letter-spacing: -0.8px;
    margin: 8px 0 12px;
  }
  .catalog-intro p {
    font-size: 12px;
    max-width: 510px;
    color: #687d5d;
  }
  .catalog-metric {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #64804d;
  }
  .catalog-metric strong {
    font-size: 52px;
    font-weight: 400;
    letter-spacing: -2px;
  }
  .catalog-metric span {
    font-size: 10px;
    line-height: 1.6;
  }
  .catalog-categories {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
  }
  .catalog-categories button {
    border: 1px solid var(--line);
    background: #fff;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 10px;
    min-height: 34px;
  }
  .catalog-categories button.active {
    background: #e8efd9;
    border-color: #cdddb5;
    color: #3e5f32;
  }
  .ai-catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 17px;
  }
  .ai-function-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 11px;
    padding: 22px;
    min-height: 260px;
    box-shadow: var(--shadow);
    transition:
      transform 0.15s,
      border-color 0.15s;
  }
  .ai-function-card:hover {
    border-color: #aac08b;
    transform: translateY(-2px);
  }
  .ai-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .ai-function-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #edf3e3;
    color: #5e7f45;
    border: 1px solid #dce8cd;
  }
  .ai-function-icon svg {
    width: 25px;
    height: 25px;
  }
  .cat-communications {
    background: #eef1fc;
    border-color: #e1e5f4;
    color: #6b7caa;
  }
  .cat-retail {
    background: #eef4e5;
    border-color: #deebcd;
    color: #6d8a4e;
  }
  .cat-business {
    background: #f4eff8;
    border-color: #e9e0ee;
    color: #9473a4;
  }
  .cat-service {
    background: #faf1e6;
    border-color: #f0e3ce;
    color: #ac8952;
  }
  .cat-logistics {
    background: #eaf5f3;
    border-color: #d7e9e5;
    color: #60978b;
  }
  .cat-specialist {
    background: #f4f2e6;
    border-color: #e9e5d0;
    color: #9b9157;
  }
  .ai-number {
    font-size: 11px;
    font-variant-numeric: tabular-nums;
    color: #adb6a4;
  }
  .ai-category-label {
    margin-top: 22px;
    color: #929d88;
    font-size: 9px;
    letter-spacing: 0.5px;
  }
  .ai-function-card h3 {
    font-size: 14px;
    line-height: 1.5;
    margin: 7px 0 9px;
    color: #30452b;
  }
  .ai-function-card p {
    font-size: 11px;
    color: #85917b;
    line-height: 1.65;
    margin-bottom: 20px;
  }
  .ai-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #edf0e7;
  }
  .ai-connect-label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 9px;
    color: #708561;
  }
  .ai-connect-label svg {
    width: 12px;
    height: 12px;
  }
  .featured-ai {
    border-color: #bdce9f;
    background: #fdfff7;
  }
  .wide-dialog {
    max-width: 670px;
  }
  .ai-dialog-heading {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 24px;
  }
  .ai-dialog-heading .ai-function-icon {
    flex-shrink: 0;
    width: 49px;
    height: 49px;
  }
  .ai-dialog-heading p {
    font-size: 11px;
    line-height: 1.7;
    color: #7f8d73;
  }
  .ai-dialog-heading .eyebrow {
    font-size: 9px;
  }
  .connection-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 11px;
  }
  .connection-option {
    border: 1px solid #dfe6d6;
    background: #fff;
    border-radius: 10px;
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }
  .connection-option > svg {
    color: #91a37b;
    width: 22px;
    height: 22px;
  }
  .connection-option strong {
    font-size: 13px;
    font-weight: 500;
  }
  .connection-option span {
    font-size: 9px;
    color: #91a082;
  }
  .connection-option.selected {
    border-color: #8da96a;
    background: #f0f6e5;
    box-shadow: 0 0 0 1px #8da96a;
  }
  .connection-option.selected > svg {
    color: #668642;
  }
  .connection-description {
    font-size: 12px;
    line-height: 1.8;
    color: #7d8b72;
    margin: 22px 0;
  }
  .connection-form-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 23px;
  }
  .credential-section {
    border-top: 1px solid var(--line);
    padding-top: 24px;
    margin-top: 25px;
  }
  .credential-section h3 {
    font-size: 14px;
  }
  .credential-section form {
    margin-top: 20px;
  }
  .credential-list .access-row {
    font-size: 10px;
  }
  .task-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
  .task-card {
    padding: 23px;
    display: flex;
    flex-direction: column;
  }
  .task-card-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 19px;
  }
  .task-card h3 {
    font-size: 15px;
    line-height: 1.6;
    overflow-wrap: anywhere;
  }
  .task-preview {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    font-size: 12px;
    color: #829275;
    margin-top: 10px;
    max-height: 125px;
    overflow: auto;
  }
  .task-card-foot {
    margin-top: auto;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
  }
  .task-card-foot .btn {
    font-size: 10px;
    padding: 7px 10px;
    min-height: 32px;
  }
  .task-review-text {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    line-height: 1.8;
    font-size: 13px;
    background: #f7f9f1;
    border: 1px solid #e3e9d9;
    padding: 19px;
    border-radius: 8px;
    margin-bottom: 15px;
    max-height: 350px;
    overflow: auto;
  }
  .task-note {
    margin-top: 0;
    margin-bottom: 23px;
  }
  .ai-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
  }
}
@layer responsive {
  @media (max-width: 1150px) {
    .ai-catalog-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .catalog-intro {
      padding: 24px;
    }
    .catalog-metric strong {
      font-size: 43px;
    }
    .catalog-intro p {
      max-width: 350px;
    }
  }
  @media (max-width: 800px) {
    .catalog-intro {
      align-items: flex-start;
    }
    .catalog-metric {
      display: none;
    }
    .task-grid {
      grid-template-columns: 1fr;
    }
    .ai-card-bottom {
      flex-wrap: wrap;
    }
    .catalog-intro h2 {
      font-size: 23px;
    }
  }
  @media (max-width: 520px) {
    .ai-catalog-grid {
      grid-template-columns: 1fr;
    }
    .ai-function-card {
      min-height: 245px;
      padding: 22px;
    }
    .catalog-intro {
      padding: 22px;
    }
    .catalog-intro p {
      font-size: 11px;
    }
    .catalog-categories {
      gap: 6px;
    }
    .catalog-categories button {
      font-size: 9px;
      min-height: 36px;
    }
    .connection-options {
      gap: 7px;
    }
    .connection-option {
      padding: 15px 5px;
    }
    .connection-option strong {
      font-size: 11px;
    }
    .connection-option span {
      font-size: 8px;
      line-height: 1.5;
    }
    .connection-form-bottom {
      align-items: flex-start;
      flex-direction: column;
    }
    .credential-list .access-row {
      align-items: flex-start;
      gap: 8px;
    }
    .task-card-foot {
      align-items: flex-start;
      flex-direction: column;
    }
    .task-card {
      padding: 20px;
    }
  }
}
