@layer base,components,layout;
@layer base {
  :root {
    font-family: Inter, 'Segoe UI', Arial, sans-serif;
    color: #1b332d;
    background: #f7f8f3;
    font-synthesis: none;
    --ink: #163d33;
    --muted: #718079;
    --line: #e3e7df;
    --paper: #fff;
    --lime: #ddf594;
    --teal: #215746;
    --radius: 16px;
    --shadow: 0 12px 40px #17382b0a;
  }
  * {
    box-sizing: border-box;
  }
  body {
    margin: 0;
  }
  button,
  input,
  select,
  textarea {
    font: inherit;
  }
  button,
  a,
  input,
  textarea,
  select {
    -webkit-tap-highlight-color: transparent;
  }
  button {
    cursor: pointer;
  }
  a {
    color: inherit;
    text-decoration: none;
  }
  button:disabled {
    cursor: not-allowed;
    opacity: 0.48;
  }
  h1,
  h2,
  h3,
  h4,
  p {
    margin-top: 0;
  }
  h1,
  h2,
  h3 {
    letter-spacing: -0.035em;
  }
  h1 {
    font-size: 36px;
    line-height: 1.16;
    font-weight: 600;
  }
  h2 {
    font-size: 25px;
    font-weight: 600;
  }
  h3 {
    font-size: 17px;
    font-weight: 600;
  }
  p {
    line-height: 1.6;
  }
  small {
    font-size: 12px;
  }
  svg {
    flex-shrink: 0;
    vertical-align: middle;
  }
  ::selection {
    background: var(--lime);
  }
  :focus-visible {
    outline: 3px solid #799b38;
    outline-offset: 4px;
  }
  input:focus,
  textarea:focus,
  select:focus {
    outline: 2px solid #678c65;
    outline-offset: 1px;
  }
  input,
  select,
  textarea {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid #d8dfd5;
    border-radius: 9px;
    background: white;
    color: var(--ink);
    min-height: 43px;
  }
  textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
  }
  label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
  }
  label small {
    font-weight: 400;
    color: var(--muted);
  }
  table {
    border-collapse: collapse;
    width: 100%;
    text-align: left;
  }
  th {
    font-size: 11px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--muted);
    background: #fafbf8;
  }
  th,
  td {
    padding: 15px 20px;
    border-bottom: 1px solid var(--line);
    white-space: nowrap;
  }
  td {
    font-size: 13px;
  }
  tr:last-child td {
    border-bottom: 0;
  }
  code {
    font-family: Consolas, monospace;
    font-size: 0.88em;
    background: #edf1e8;
    padding: 3px 5px;
    border-radius: 4px;
  }
  hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 24px 0;
  }
  [hidden] {
    display: none !important;
  }
  .skip-link {
    position: fixed;
    left: 15px;
    top: -100px;
    z-index: 1000;
    background: var(--lime);
    padding: 12px;
  }
  .skip-link:focus {
    top: 12px;
  }
}
@layer components {
  .icon {
    width: 19px;
    height: 19px;
    stroke: currentColor;
    stroke-width: 1.7;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .icon.small {
    width: 15px;
    height: 15px;
  }
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 41px;
    padding: 10px 16px;
    border-radius: 9px;
    border: 1px solid #dce2d7;
    background: #fff;
    color: #244c3d;
    font-size: 13px;
    font-weight: 600;
    transition:
      background 0.16s,
      transform 0.16s;
  }
  .btn:hover {
    background: #f0f4e9;
  }
  .btn.primary {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
  }
  .btn.primary:hover {
    background: #286047;
  }
  .btn.lime {
    background: var(--lime);
    color: #173e31;
    border-color: var(--lime);
  }
  .btn.lime:hover {
    background: #cde982;
  }
  .btn.ghost {
    border-color: transparent;
    background: transparent;
  }
  .btn.ghost:hover {
    background: #eaf0e2;
  }
  .btn.small {
    font-size: 12px;
    padding: 7px 11px;
    min-height: 32px;
  }
  .btn.danger {
    color: #a5413a;
    background: #fff7f5;
    border-color: #f0d2ca;
  }
  .btn.icon-only {
    padding: 10px;
    min-width: 40px;
  }
  .btn.block {
    width: 100%;
  }
  .text-link {
    color: #366b4b;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .text-link:hover {
    text-decoration: underline;
  }
  .muted {
    color: var(--muted);
  }
  .eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6d8070;
  }
  .badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 6px;
    padding: 4px 7px;
    font-size: 10px;
    font-weight: 600;
    text-transform: capitalize;
    line-height: 1.4;
    background: #edf1e7;
    color: #65714f;
    white-space: nowrap;
  }
  .badge.good,
  .badge.active,
  .badge.published,
  .badge.completed,
  .badge.resolved {
    background: #e8f3e8;
    color: #3a7344;
  }
  .badge.warn,
  .badge.draft,
  .badge.unverified,
  .badge.pending,
  .badge.handoff {
    background: #fbf2dd;
    color: #936e28;
  }
  .badge.simulation,
  .badge.local {
    background: #edf0f7;
    color: #677893;
  }
  .badge.bad,
  .badge.failed,
  .badge.error {
    background: #fcebe7;
    color: #ab5442;
  }
  .badge.outlined {
    background: transparent;
    border: 1px solid currentColor;
  }
  .dot {
    width: 6px;
    height: 6px;
    display: inline-block;
    background: currentColor;
    border-radius: 50%;
  }
  .panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
  }
  .panel-pad {
    padding: 23px;
  }
  .panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 21px;
  }
  .panel-head h2,
  .panel-head h3 {
    margin: 0;
  }
  .panel-head p {
    margin: 5px 0 0;
    font-size: 12px;
    color: var(--muted);
  }
  .field {
    margin-bottom: 20px;
  }
  .field-help {
    font-size: 11px;
    color: var(--muted);
    line-height: 1.6;
    margin-top: 7px;
  }
  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
  }
  .notice {
    display: flex;
    gap: 11px;
    padding: 13px 16px;
    border-radius: 10px;
    background: #edf3e8;
    color: #53694b;
    font-size: 12px;
    line-height: 1.6;
    border: 1px solid #e2eadc;
  }
  .notice.warning {
    background: #fff9eb;
    border-color: #f1e8ca;
    color: #8b713a;
  }
  .notice.info {
    background: #f1f4f9;
    border-color: #e2e8ee;
    color: #637189;
  }
  .notice .icon {
    margin-top: 1px;
    flex-shrink: 0;
  }
  .notice p {
    margin: 0;
  }
  .empty {
    text-align: center;
    padding: 47px 20px;
  }
  .empty .empty-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: #f0f4e9;
    color: #73846c;
    margin-bottom: 18px;
  }
  .empty h3 {
    margin-bottom: 7px;
  }
  .empty p {
    font-size: 13px;
    color: var(--muted);
    max-width: 360px;
    margin: 0 auto 21px;
  }
  .avatar {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: #ebf0e0;
    color: #5b733c;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
  }
  .avatar.peach {
    background: #fbebdf;
    color: #b18462;
  }
  .avatar.purple {
    background: #edeaf6;
    color: #8a77aa;
  }
  .avatar.blue {
    background: #e8f0f4;
    color: #718faa;
  }
  .avatar.teal {
    background: #e3eeea;
    color: #4b7969;
  }
  .avatar.lime {
    background: #e8f3bd;
    color: #697f3a;
  }
  .stack {
    display: flex;
    align-items: center;
    gap: 11px;
  }
  .stack-text strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
  }
  .stack-text small {
    display: block;
    font-size: 11px;
    color: var(--muted);
    margin-top: 4px;
  }
  .table-wrap {
    overflow: auto;
  }
  .pill-switch {
    display: flex;
    gap: 5px;
    padding: 4px;
    background: #ebeee6;
    border: 1px solid #e2e7db;
    border-radius: 10px;
    width: fit-content;
  }
  .pill-switch button {
    border: 0;
    padding: 8px 14px;
    border-radius: 7px;
    background: transparent;
    color: #73816a;
    font-size: 12px;
    font-weight: 500;
  }
  .pill-switch button[aria-selected='true'] {
    background: white;
    color: var(--ink);
    box-shadow: 0 2px 5px #193b2410;
  }
  .checkbox {
    display: flex;
    gap: 12px;
    align-items: flex-start;
  }
  .checkbox input {
    width: 17px;
    height: 17px;
    min-height: 0;
    margin: 3px 0 0;
    accent-color: var(--teal);
  }
  .checkbox label {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
  }
  .checkbox small {
    display: block;
    font-weight: 400;
    margin-top: 3px;
  }
  .divider-label {
    display: flex;
    gap: 12px;
    align-items: center;
    color: #a4aca1;
    font-size: 11px;
  }
  .divider-label:before,
  .divider-label:after {
    content: '';
    height: 1px;
    background: var(--line);
    flex: 1;
  }
  .toast {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ink);
    color: white;
    border-radius: 12px;
    padding: 14px 22px;
    max-width: 90vw;
    box-shadow: 0 8px 30px #16392b25;
    z-index: 90;
    font-size: 13px;
  }
  .toast.error {
    background: #963c32;
  }
  .modal-backdrop {
    position: fixed;
    inset: 0;
    background: #0f211b65;
    backdrop-filter: blur(4px);
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
  }
  .modal {
    width: 560px;
    max-width: 100%;
    max-height: 90vh;
    overflow: auto;
    background: white;
    border-radius: 19px;
    padding: 28px;
    box-shadow: 0 30px 100px #09271930;
  }
  .modal.wide {
    width: 790px;
  }
  .modal-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
  }
  .modal-title h2 {
    font-size: 23px;
    margin: 0;
  }
  .modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    margin-top: 22px;
  }
  .form-error {
    font-size: 12px;
    line-height: 1.6;
    color: #a74437;
    background: #fff0ec;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
  }
  .loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 200px;
    color: var(--muted);
    font-size: 13px;
  }
  .spinner {
    width: 18px;
    height: 18px;
    border: 2px solid #dce5d5;
    border-top-color: var(--ink);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
  }
  @keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }
  .boot-screen {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    color: var(--muted);
  }
  .brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 650;
    letter-spacing: -1px;
  }
  .brand-symbol {
    background: var(--ink);
    color: var(--lime);
    width: 33px;
    height: 35px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 27px;
    font-weight: 600;
    font-family: Georgia, serif;
    line-height: 1;
    padding-bottom: 5px;
    letter-spacing: -4px;
    padding-right: 4px;
  }
  .brand.dark .brand-symbol {
    background: var(--lime);
    color: var(--ink);
  }
  .kbd {
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 2px 5px;
    font-family: inherit;
    font-size: 10px;
    color: var(--muted);
  }
}
@layer layout {
  .marketing {
    background: #f7f8f2;
  }
  .marketing-nav {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 32px;
  }
  .marketing-nav nav {
    display: flex;
    gap: 31px;
    align-items: center;
    font-size: 12px;
  }
  .marketing-nav .brand {
    font-size: 23px;
  }
  .hero {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.02fr 1fr;
    gap: 55px;
    padding: 76px 32px 92px;
    align-items: center;
  }
  .hero-label {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    border: 1px solid #dbe4ca;
    background: #edf2e1;
    border-radius: 30px;
    padding: 7px 10px;
    font-size: 10px;
    letter-spacing: 0.045em;
    margin-bottom: 26px;
  }
  .hero-label .dot {
    color: #87a44a;
  }
  .hero h1 {
    font-size: 66px;
    line-height: 1.04;
    letter-spacing: -0.065em;
    max-width: 560px;
    margin-bottom: 22px;
    font-weight: 500;
  }
  .hero h1 em {
    font-family: Georgia, serif;
    font-weight: 400;
    color: #7a9351;
  }
  .hero-copy {
    max-width: 425px;
    font-size: 14px;
    color: #6d7e71;
    line-height: 1.8;
    margin-bottom: 28px;
  }
  .hero .actions .btn {
    padding: 13px 19px;
  }
  .hero-footnote {
    font-size: 10px;
    color: #8a9686;
    margin-top: 15px;
  }
  .hero-visual {
    position: relative;
    padding: 18px 0 18px 20px;
  }
  .orbital {
    position: absolute;
    inset: -45px -35px -20px -20px;
    border-radius: 50%;
    border: 1px dashed #d8e0c8;
    transform: rotate(-25deg);
    pointer-events: none;
  }
  .orbital:before {
    content: '';
    position: absolute;
    inset: 30px;
    border: 1px solid #e4e9d7;
    border-radius: 50%;
  }
  .voice-card {
    position: relative;
    background: white;
    border: 1px solid #e0e7d7;
    border-radius: 17px;
    box-shadow: 0 24px 80px #32503613;
    transform: rotate(-2deg);
    padding: 22px;
  }
  .voice-card .topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    padding-bottom: 17px;
  }
  .voice-card .topline .stack-text strong {
    font-size: 12px;
  }
  .voice-card .topline .stack-text small {
    font-size: 9px;
  }
  .voice-demo-body {
    padding: 28px 0 19px;
  }
  .sound-wave {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 67px;
    gap: 4px;
    margin: 10px 0 20px;
  }
  .sound-wave i {
    width: 4px;
    height: var(--h, 20px);
    border-radius: 5px;
    background: #77984f;
  }
  .sound-wave i:nth-child(3n) {
    background: #bbd281;
  }
  .voice-demo-message {
    background: #f4f7ee;
    border: 1px solid #e6ecd9;
    padding: 15px;
    border-radius: 12px;
    max-width: 88%;
    font-size: 12px;
    color: #54704f;
    line-height: 1.65;
    margin-bottom: 12px;
  }
  .voice-demo-message.response {
    margin-left: auto;
    background: #1b493c;
    color: #eff5e8;
    border-color: transparent;
  }
  .voice-demo-label {
    font-size: 9px;
    color: #95a18b;
    display: block;
    margin-bottom: 7px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
  }
  .voice-demo-message.response .voice-demo-label {
    color: #acc5aa;
  }
  .voice-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border-top: 1px solid var(--line);
    padding-top: 15px;
    font-size: 9px;
    color: #819077;
  }
  .integration-float {
    position: absolute;
    bottom: -2px;
    left: -27px;
    display: flex;
    gap: 10px;
    align-items: center;
    background: white;
    padding: 13px 17px;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 8px 22px #3648300d;
    transform: rotate(2deg);
  }
  .integration-float .avatar {
    width: 29px;
    height: 29px;
    font-size: 14px;
  }
  .integration-float strong {
    font-size: 10px;
    display: block;
  }
  .integration-float small {
    font-size: 8px;
    color: var(--muted);
  }
  .hero-note {
    position: absolute;
    right: -15px;
    top: -8px;
    background: #e2efb5;
    border: 1px solid #cddc9e;
    border-radius: 9px;
    padding: 10px 14px;
    transform: rotate(5deg);
    font-size: 10px;
    color: #5f7541;
  }
  .trust-strip {
    padding: 26px 32px;
    border-top: 1px solid #e4e8da;
    border-bottom: 1px solid #e4e8da;
    background: #f0f3e8;
    text-align: center;
  }
  .trust-strip p {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    color: #8c987f;
    margin-bottom: 19px;
  }
  .trust-items {
    display: flex;
    justify-content: center;
    gap: 58px;
    align-items: center;
    flex-wrap: wrap;
    color: #60745d;
    font-size: 16px;
    font-weight: 550;
  }
  .trust-items .icon {
    width: 21px;
    height: 21px;
    margin-right: 8px;
  }
  .marketing-section {
    max-width: 1200px;
    padding: 80px 32px;
    margin: auto;
  }
  .section-intro {
    display: flex;
    justify-content: space-between;
    gap: 35px;
    align-items: flex-end;
    margin-bottom: 32px;
  }
  .section-intro h2 {
    font-size: 37px;
    max-width: 500px;
    margin: 10px 0 0;
    line-height: 1.15;
    font-weight: 500;
  }
  .section-intro p {
    font-size: 13px;
    max-width: 300px;
    color: var(--muted);
    margin-bottom: 3px;
  }
  .usecases {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  .usecase {
    padding: 28px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 14px;
  }
  .usecase .avatar {
    width: 41px;
    height: 41px;
    margin-bottom: 23px;
  }
  .usecase h3 {
    font-size: 18px;
    margin-bottom: 10px;
  }
  .usecase p {
    font-size: 12px;
    color: var(--muted);
    min-height: 60px;
    margin-bottom: 20px;
  }
  .usecase ul {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--line);
    padding-top: 18px;
  }
  .usecase li {
    font-size: 11px;
    color: #6d7c63;
    margin: 9px 0;
    display: flex;
    gap: 8px;
  }
  .usecase li .icon {
    color: #88a164;
    width: 14px;
    height: 14px;
  }
  .marketing-flow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 40px;
    background: #eaf0df;
    border-radius: 20px;
    align-items: center;
  }
  .marketing-flow h2 {
    font-size: 35px;
    font-weight: 500;
    line-height: 1.13;
  }
  .marketing-flow p {
    font-size: 13px;
    color: #738368;
  }
  .mini-flow {
    background: #f7f9f1;
    padding: 22px;
    border: 1px solid #d9e2cc;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 9px;
    overflow: auto;
  }
  .mini-flow .step {
    background: white;
    border: 1px solid #dce6cf;
    border-radius: 10px;
    padding: 17px 12px;
    text-align: center;
    flex: 1;
    min-width: 76px;
    font-size: 10px;
    line-height: 1.5;
  }
  .mini-flow .step .icon {
    display: block;
    margin: 0 auto 9px;
    color: #6b8557;
  }
  .mini-flow .arrow {
    color: #a1b48c;
  }
  .control-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-top: 45px;
  }
  .control-grid .icon {
    color: #789b59;
    margin-bottom: 17px;
  }
  .control-grid h3 {
    font-size: 14px;
  }
  .control-grid p {
    font-size: 11px;
    color: var(--muted);
    line-height: 1.8;
  }
  .marketing-cta {
    background: var(--ink);
    border-radius: 20px;
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: white;
  }
  .marketing-cta h2 {
    font-size: 31px;
    max-width: 530px;
    font-weight: 500;
    margin: 0 0 12px;
  }
  .marketing-cta p {
    font-size: 12px;
    color: #b8caba;
    margin: 0;
  }
  .marketing-footer {
    max-width: 1200px;
    margin: auto;
    padding: 35px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e0e7d7;
    color: #7b8a73;
    font-size: 11px;
  }
  .marketing-footer .brand {
    font-size: 18px;
    color: var(--ink);
  }
  .marketing-footer .brand-symbol {
    width: 27px;
    height: 29px;
    font-size: 23px;
  }
  .footer-links {
    display: flex;
    gap: 22px;
  }
  .login-layout {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .login-story {
    background: var(--ink);
    color: #fff;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
  }
  .login-story:after {
    content: '';
    width: 460px;
    height: 460px;
    border: 1px solid #557964;
    border-radius: 50%;
    position: absolute;
    bottom: -170px;
    left: -80px;
    opacity: 0.3;
  }
  .login-story h1 {
    font-size: 54px;
    font-weight: 500;
    max-width: 470px;
    margin-top: 75px;
    line-height: 1.12;
  }
  .login-story h1 em {
    font-family: Georgia, serif;
    color: var(--lime);
    font-weight: 400;
  }
  .login-story p {
    font-size: 14px;
    color: #b6c8ba;
    max-width: 380px;
  }
  .login-story .mini-points {
    display: flex;
    gap: 24px;
    margin: 35px 0 100px;
    font-size: 11px;
    color: #c6d5c8;
  }
  .login-story small {
    color: #8fae99;
    font-size: 10px;
  }
  .login-main {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
  }
  .login-form {
    max-width: 385px;
    width: 100%;
  }
  .login-form h2 {
    font-size: 31px;
    font-weight: 550;
    margin: 22px 0 10px;
  }
  .login-form > p {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 28px;
  }
  .login-form .notice {
    margin: 22px 0;
  }
  .login-form .fineprint {
    font-size: 10px;
    line-height: 1.7;
    color: #899483;
    margin-top: 21px;
  }
  .otp-code {
    font-family: Consolas, monospace;
    letter-spacing: 0.25em;
    font-size: 19px;
    font-weight: 600;
  }
  .app-layout {
    display: grid;
    grid-template-columns: 234px minmax(0, 1fr);
    min-height: 100vh;
  }
  .sidebar {
    position: fixed;
    width: 234px;
    inset: 0 auto 0 0;
    background: #f1f4e9;
    border-right: 1px solid #e0e7d6;
    display: flex;
    flex-direction: column;
    padding: 28px 17px 17px;
    z-index: 30;
  }
  .sidebar > .brand {
    padding: 0 9px;
    margin-bottom: 31px;
  }
  .workspace-picker {
    display: flex;
    gap: 10px;
    align-items: center;
    border: 1px solid #dee6d2;
    padding: 12px 10px;
    border-radius: 10px;
    background: #fafbf7;
    margin-bottom: 26px;
  }
  .workspace-picker .avatar {
    background: #e5edcf;
    width: 30px;
    height: 30px;
    border-radius: 7px;
    font-size: 10px;
  }
  .workspace-picker strong {
    font-size: 11px;
    display: block;
  }
  .workspace-picker small {
    font-size: 9px;
    color: #8a977e;
  }
  .sidebar-label {
    font-size: 9px;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: #8b987f;
    padding: 0 13px;
    margin-bottom: 12px;
  }
  .side-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .side-nav a {
    font-size: 12px;
    display: flex;
    gap: 11px;
    align-items: center;
    padding: 12px 13px;
    border-radius: 8px;
    color: #78866d;
    font-weight: 500;
  }
  .side-nav a:hover {
    background: #e6ecd9;
    color: #3c5733;
  }
  .side-nav a[aria-current='page'] {
    background: var(--ink);
    color: white;
    box-shadow: 0 3px 8px #1a4c3010;
  }
  .side-nav .icon {
    width: 17px;
    height: 17px;
  }
  .side-nav a .badge {
    margin-left: auto;
    font-size: 8px;
    background: #dde9c6;
    color: #7b905e;
  }
  .sidebar-bottom {
    margin-top: auto;
    padding-top: 32px;
  }
  .sidebar-help {
    background: #e6edda;
    border: 1px solid #dce5ce;
    border-radius: 11px;
    padding: 14px;
    margin-bottom: 17px;
  }
  .sidebar-help h3 {
    font-size: 12px;
    margin: 10px 0 5px;
    letter-spacing: 0;
  }
  .sidebar-help p {
    font-size: 10px;
    line-height: 1.7;
    color: #839372;
    margin-bottom: 11px;
  }
  .sidebar-help .text-link {
    font-size: 10px;
  }
  .account {
    display: flex;
    gap: 9px;
    align-items: center;
    padding: 6px;
  }
  .account .avatar {
    width: 29px;
    height: 29px;
    border-radius: 50%;
    background: #dbe8c9;
    font-size: 10px;
  }
  .account strong {
    display: block;
    font-size: 10px;
  }
  .account small {
    font-size: 9px;
    color: #8b977f;
    display: block;
    max-width: 122px;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 4px;
  }
  .account .btn {
    margin-left: auto;
    color: #8c9b80;
    min-width: 28px;
    padding: 6px;
  }
  .app-main {
    grid-column: 2;
    min-width: 0;
  }
  .topbar {
    height: 78px;
    padding: 0 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--line);
    background: #fafbf7;
    gap: 20px;
  }
  .breadcrumb {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 11px;
    color: #8e9a82;
  }
  .breadcrumb span:last-child {
    color: #587147;
  }
  .topbar-right {
    display: flex;
    gap: 13px;
    align-items: center;
    font-size: 10px;
    color: #8b9880;
  }
  .local-tag {
    display: flex;
    gap: 7px;
    align-items: center;
  }
  .local-tag .dot {
    color: #9aae63;
  }
  .topbar .avatar {
    width: 29px;
    height: 29px;
    border-radius: 50%;
    font-size: 9px;
  }
  .mobile-menu {
    display: none;
  }
  .app-content {
    padding: 32px 35px 36px;
    max-width: 1600px;
    margin: auto;
  }
  .page-head {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    margin-bottom: 28px;
  }
  .page-head h1 {
    font-size: 29px;
    margin-bottom: 8px;
    font-weight: 550;
  }
  .page-head p {
    font-size: 12px;
    color: #839079;
    margin-bottom: 0;
  }
  .page-head .actions .btn {
    min-height: 36px;
    padding: 9px 13px;
    font-size: 11px;
  }
  .dashboard-welcome {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: center;
    background: #eaf0db;
    border: 1px solid #dce5c8;
    border-radius: 13px;
    padding: 22px 25px;
    margin-bottom: 23px;
    position: relative;
    overflow: hidden;
  }
  .dashboard-welcome h2 {
    font-size: 19px;
    margin-bottom: 8px;
    font-weight: 550;
  }
  .dashboard-welcome p {
    font-size: 11px;
    color: #7d8d68;
    margin-bottom: 15px;
    max-width: 480px;
  }
  .dashboard-welcome .btn {
    font-size: 10px;
    padding: 8px 12px;
    min-height: 32px;
  }
  .welcome-art {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 128px;
    height: 90px;
    gap: 4px;
    transform: rotate(-10deg);
  }
  .welcome-art i {
    width: 7px;
    height: var(--h, 20px);
    border-radius: 20px;
    background: #aac27c;
  }
  .welcome-art i:nth-child(3n) {
    background: #698952;
  }
  .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 17px;
    margin-bottom: 23px;
  }
  .stat {
    padding: 19px 21px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 13px;
  }
  .stat-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #87957b;
    font-size: 10px;
    margin-bottom: 17px;
  }
  .stat-top .icon {
    width: 16px;
    height: 16px;
    color: #a1af91;
  }
  .stat strong {
    font-size: 27px;
    font-weight: 550;
    letter-spacing: -1px;
    display: block;
    margin-bottom: 8px;
  }
  .stat small {
    font-size: 9px;
    color: #98a38e;
  }
  .dashboard-middle {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(230px, 1fr);
    gap: 21px;
    margin-bottom: 23px;
  }
  .chart-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
  }
  .chart-head h3 {
    font-size: 14px;
    margin-bottom: 5px;
  }
  .chart-head p {
    font-size: 10px;
    color: #94a188;
    margin: 0;
  }
  .chart-legend {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 9px;
    color: #839378;
  }
  .chart-legend .dot {
    color: #a7bd7a;
  }
  .chart {
    display: flex;
    height: 163px;
    position: relative;
    padding: 10px 0 25px;
    gap: 12px;
    align-items: flex-end;
    background: repeating-linear-gradient(
      to top,
      transparent 0,
      transparent 38px,
      #eef1e8 39px,
      #eef1e8 40px
    );
  }
  .chart-column {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-direction: column;
    height: 100%;
    position: relative;
  }
  .chart-bar {
    width: 45%;
    min-width: 7px;
    max-width: 34px;
    background: #bfd390;
    border-radius: 4px 4px 0 0;
    position: relative;
  }
  .chart-column:last-child .chart-bar {
    background: #305f42;
  }
  .chart-column label {
    position: absolute;
    top: 100%;
    font-size: 8px;
    font-weight: 400;
    color: #96a18c;
    margin-top: 10px;
  }
  .chart-zero {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #9ba592;
  }
  .setup-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 21px;
  }
  .setup-item {
    display: flex;
    gap: 12px;
    align-items: center;
  }
  .setup-item .check-circle {
    border-radius: 50%;
    border: 1px solid #d7e2c7;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9bb185;
    font-size: 10px;
    flex-shrink: 0;
  }
  .setup-item.done .check-circle {
    background: #e5efd4;
    border-color: #e5efd4;
    color: #6c9652;
  }
  .setup-item strong {
    font-size: 11px;
    font-weight: 500;
    display: block;
    margin-bottom: 4px;
  }
  .setup-item small {
    font-size: 9px;
    color: #94a188;
  }
  .setup-item .icon {
    width: 13px;
    height: 13px;
    margin-left: auto;
    color: #a1ad97;
  }
  .progress-track {
    height: 5px;
    background: #e9eee1;
    border-radius: 8px;
    margin: 15px 0 5px;
    overflow: hidden;
  }
  .progress-track i {
    display: block;
    height: 100%;
    background: #acc77b;
    border-radius: 8px;
  }
  .table-panel .panel-head {
    padding: 22px 23px;
    margin: 0;
  }
  .table-panel .panel-head h3 {
    font-size: 14px;
  }
  .table-panel th {
    font-size: 8px;
    padding: 12px 23px;
  }
  .table-panel td {
    font-size: 10px;
    padding: 15px 23px;
  }
  .table-panel .stack-text strong {
    font-size: 10px;
  }
  .table-panel .stack-text small {
    font-size: 8px;
  }
  .table-panel .avatar {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    font-size: 10px;
  }
  .table-panel .badge {
    font-size: 8px;
  }
  .table-panel .text-link {
    font-size: 10px;
  }
  .footer-note {
    font-size: 9px;
    color: #a0aa94;
    text-align: center;
    margin: 26px 0 0;
    display: flex;
    gap: 6px;
    justify-content: center;
    align-items: center;
  }
  .footer-note .icon {
    width: 12px;
    height: 12px;
  }
  .cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
  .agent-card {
    padding: 23px;
    display: flex;
    flex-direction: column;
  }
  .agent-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
  }
  .agent-card h3 {
    margin-bottom: 8px;
    font-size: 17px;
  }
  .agent-card p {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 18px;
    flex: 1;
  }
  .agent-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
  }
  .agent-meta span {
    font-size: 10px;
    padding: 5px 7px;
    background: #f4f6ef;
    border-radius: 5px;
    color: #7d8c72;
  }
  .card-footer {
    padding-top: 17px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 9px;
  }
  .card-footer small {
    font-size: 9px;
    color: #a0aa94;
  }
  .toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 23px;
  }
  .toolbar .search {
    max-width: 290px;
    position: relative;
    flex: 1;
  }
  .search input {
    padding-left: 35px;
    font-size: 12px;
    background: #fff;
  }
  .search .icon {
    position: absolute;
    left: 12px;
    top: 14px;
    width: 15px;
    height: 15px;
    color: #96a28d;
  }
  .toolbar select {
    font-size: 12px;
    max-width: 165px;
    min-height: 38px;
  }
  .workflow-list {
    display: grid;
    gap: 16px;
  }
  .workflow-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px;
    gap: 24px;
  }
  .workflow-row h3 {
    margin: 0 0 7px;
    font-size: 16px;
  }
  .workflow-row p {
    font-size: 11px;
    margin: 0;
    color: var(--muted);
  }
  .workflow-row .actions {
    flex-shrink: 0;
  }
  .editor-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    border-bottom: 1px solid var(--line);
    background: #fff;
    padding: 15px 20px;
    border-radius: 14px 14px 0 0;
  }
  .editor-toolbar h2 {
    font-size: 17px;
    margin: 0 0 4px;
  }
  .editor-toolbar small {
    font-size: 10px;
    color: var(--muted);
  }
  .editor-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 265px;
    min-height: 460px;
    border: 1px solid var(--line);
    border-top: 0;
    border-radius: 0 0 14px 14px;
    overflow: hidden;
  }
  .workflow-canvas {
    min-width: 0;
    overflow: auto;
    position: relative;
    background-color: #f5f7f0;
    background-image: radial-gradient(#d4decb 0.85px, transparent 0.85px);
    background-size: 18px 18px;
  }
  .graph {
    position: relative;
    min-width: 650px;
    height: 460px;
  }
  .graph-lines {
    position: absolute;
    left: 0;
    top: 0;
    overflow: visible;
    pointer-events: none;
  }
  .graph-lines path {
    stroke: #b7c8a2;
    stroke-width: 2;
    fill: none;
  }
  .graph-lines text {
    font-size: 9px;
    fill: #7b9065;
    paint-order: stroke;
    stroke: #f5f7f0;
    stroke-width: 5px;
  }
  .flow-node {
    position: absolute;
    display: block;
    width: 195px;
    min-height: 88px;
    padding: 13px;
    background: #fff;
    border: 1px solid #dce5d3;
    border-radius: 12px;
    color: var(--ink);
    text-align: left;
    box-shadow: 0 3px 10px #2b482709;
  }
  .flow-node.selected {
    border: 2px solid #649449;
    box-shadow: 0 0 0 4px #86a85b14;
    padding: 12px;
  }
  .flow-node .node-type {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 8px;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #8b9a7e;
    margin-bottom: 9px;
  }
  .flow-node strong {
    font-size: 11px;
    font-weight: 500;
    display: block;
    overflow-wrap: anywhere;
  }
  .flow-node .icon {
    width: 14px;
    height: 14px;
  }
  .flow-node:before,
  .flow-node:after {
    position: absolute;
    content: '';
    height: 6px;
    width: 6px;
    border-radius: 50%;
    background: #90aa72;
    border: 2px solid #f5f7f0;
    top: 40px;
  }
  .flow-node:before {
    left: -5px;
  }
  .flow-node:after {
    right: -5px;
  }
  .node-properties {
    padding: 20px;
    background: white;
    border-left: 1px solid var(--line);
  }
  .node-properties h3 {
    font-size: 14px;
    margin-bottom: 20px;
  }
  .node-properties .field {
    margin-bottom: 15px;
  }
  .node-properties label {
    font-size: 10px;
  }
  .node-properties input,
  .node-properties select,
  .node-properties textarea {
    font-size: 11px;
    padding: 9px;
    min-height: 35px;
  }
  .node-properties textarea {
    min-height: 78px;
  }
  .node-properties .btn {
    font-size: 10px;
  }
  .edges-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
  }
  .edges-list li {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 10px;
    background: #f4f7ee;
    border-radius: 6px;
    padding: 8px;
  }
  .edges-list li .btn {
    margin-left: auto;
    min-height: 22px;
    padding: 1px 5px;
  }
  .editor-bottom {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
  }
  .editor-bottom p {
    font-size: 10px;
    color: var(--muted);
    margin: 0;
  }
  .validation {
    font-size: 12px;
    background: #fff4e8;
    border: 1px solid #f0dbbe;
    border-radius: 9px;
    padding: 13px;
    margin-top: 14px;
    color: #92693e;
  }
  .validation.good {
    background: #edf5e5;
    color: #5e7c45;
    border-color: #d9e8c8;
  }
  .validation ul {
    padding-left: 20px;
    margin-bottom: 0;
  }
  .playground-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 23px;
  }
  .playground-options h3 {
    font-size: 15px;
  }
  .scenario-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .scenario-option {
    background: #f8faf4;
    border: 1px solid var(--line);
    padding: 11px 7px;
    border-radius: 9px;
    font-size: 10px;
    color: #7a8e6a;
  }
  .scenario-option[aria-pressed='true'] {
    border-color: #91b466;
    background: #ecf3df;
    color: #4a7134;
  }
  .scenario-option .icon {
    display: block;
    margin: 0 auto 7px;
    width: 16px;
    height: 16px;
  }
  .conversation-window {
    min-height: 465px;
    display: flex;
    flex-direction: column;
  }
  .conversation-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    border-bottom: 1px solid var(--line);
  }
  .conversation-heading h3 {
    font-size: 14px;
    margin: 0;
  }
  .transcript {
    padding: 25px;
    overflow: auto;
    flex: 1;
    max-height: 520px;
  }
  .message {
    max-width: 84%;
    margin-bottom: 19px;
  }
  .message .role {
    font-size: 9px;
    color: #8b9a7f;
    margin-bottom: 7px;
    display: block;
    text-transform: capitalize;
  }
  .message p {
    font-size: 12px;
    background: #f0f4e8;
    padding: 14px 17px;
    border-radius: 0 12px 12px;
    line-height: 1.7;
    margin-bottom: 0;
  }
  .message.user {
    margin-left: auto;
  }
  .message.user .role {
    text-align: right;
  }
  .message.user p {
    background: #244e3c;
    color: #f1f7ec;
    border-radius: 12px 0 12px 12px;
  }
  .message.system p,
  .message.tool p {
    background: #f2f3f5;
    font-size: 11px;
    color: #74818c;
    border: 1px dashed #dce3e9;
  }
  .conversation-composer {
    padding: 17px 22px;
    border-top: 1px solid var(--line);
  }
  .conversation-composer .field {
    margin-bottom: 12px;
  }
  .conversation-composer textarea {
    min-height: 70px;
    font-size: 12px;
  }
  .conversation-composer .actions {
    justify-content: space-between;
  }
  .conversation-composer .actions small {
    font-size: 9px;
    color: var(--muted);
  }
  .conversation-composer .btn {
    font-size: 11px;
  }
  .playground-results {
    margin-top: 20px;
  }
  .feedback-stars {
    display: flex;
    gap: 5px;
  }
  .feedback-stars button {
    border: 0;
    background: none;
    font-size: 24px;
    color: #d4dcc9;
    padding: 0 2px;
  }
  .feedback-stars button.selected {
    color: #9aaa54;
  }
  .integration-card {
    padding: 23px;
  }
  .integration-card h3 {
    font-size: 15px;
    margin: 17px 0 9px;
  }
  .integration-card p {
    font-size: 11px;
    color: var(--muted);
    min-height: 54px;
  }
  .integration-capabilities {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 18px 0;
  }
  .integration-capabilities .badge {
    font-size: 8px;
    background: #f2f5ec;
    color: #899878;
  }
  .integration-card .card-footer .btn {
    font-size: 10px;
  }
  .settings-layout {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 26px;
  }
  .settings-nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  .settings-nav button {
    border: 0;
    background: none;
    text-align: left;
    padding: 11px 14px;
    border-radius: 8px;
    font-size: 12px;
    color: #869679;
  }
  .settings-nav button[aria-selected='true'] {
    background: #e8efdc;
    color: #3e6633;
    font-weight: 600;
  }
  .settings-panel {
    max-width: 850px;
  }
  .settings-panel h2 {
    font-size: 20px;
  }
  .settings-panel > p {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 25px;
  }
  .setting-toggle {
    padding: 19px 0;
    border-bottom: 1px solid var(--line);
  }
  .setting-toggle:first-of-type {
    padding-top: 0;
  }
  .setting-toggle:last-of-type {
    border-bottom: 0;
  }
  .budget-result {
    background: #edf3e3;
    border: 1px solid #dbe7cb;
    border-radius: 12px;
    padding: 23px;
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .budget-result strong {
    font-size: 27px;
    font-weight: 550;
  }
  .budget-result small {
    font-size: 10px;
    color: #81936c;
    display: block;
    margin-top: 5px;
  }
  .settings-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 25px;
  }
  .details-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 22px;
  }
  .details-grid div {
    background: #f5f8ef;
    padding: 12px;
    border-radius: 9px;
  }
  .details-grid small {
    display: block;
    font-size: 9px;
    color: #8b997d;
    margin-bottom: 6px;
  }
  .details-grid strong {
    font-size: 12px;
    font-weight: 500;
  }
  .events {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .events li {
    font-size: 11px;
    color: #798b6e;
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
    overflow-wrap: anywhere;
  }
  .voice-mount {
    padding: 22px;
  }
  .voice-mount button {
    font: inherit;
  }
  .policy-text h3 {
    margin-top: 24px;
    font-size: 16px;
  }
  .policy-text p,
  .policy-text li {
    font-size: 12px;
    line-height: 1.9;
    color: #738468;
  }
  .policy-text ul {
    padding-left: 20px;
  }
  .row-click:hover {
    background: #fbfcf7;
  }
  .call-open {
    border: 0;
    background: transparent;
    padding: 0;
    text-align: left;
    color: var(--ink);
    cursor: pointer;
  }
  .no-margin {
    margin: 0 !important;
  }
  .spacer-16 {
    height: 16px;
  }
  .integration-dot {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #eef3e7;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: #7e9663;
    font-size: 14px;
    font-weight: 600;
  }
  .mobile-shade {
    display: none;
  }
  .provider-status {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 11px;
    font-size: 10px;
    color: #879879;
  }
  .error-page {
    padding: 45px;
    text-align: center;
  }
  .error-page p {
    font-size: 13px;
    color: #8b947f;
  }
  .right-align {
    text-align: right;
  }
  .quick-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .quick-link {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    display: flex;
    gap: 12px;
    align-items: center;
  }
  .quick-link:hover {
    background: #f1f6e8;
  }
  .quick-link strong {
    display: block;
    font-size: 12px;
  }
  .quick-link small {
    display: block;
    font-size: 10px;
    color: var(--muted);
    margin-top: 4px;
  }
  .quick-link > .icon {
    color: #87a16e;
  }
  .code-block {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    padding: 16px;
    background: #f4f7ed;
    border-radius: 9px;
    font-family: Consolas, monospace;
    font-size: 11px;
    color: #6b7c59;
    line-height: 1.8;
  }
  .marketing-privacy {
    max-width: 800px;
    padding: 50px 30px;
    margin: auto;
  }
  .marketing-privacy h1 {
    font-size: 38px;
  }
  .marketing-privacy p {
    font-size: 14px;
    color: var(--muted);
  }
  @media (min-width: 1500px) {
    .app-content {
      padding: 38px 45px;
    }
    .topbar {
      padding: 0 45px;
    }
    .stats-grid {
      gap: 23px;
    }
    .dashboard-middle {
      gap: 25px;
    }
  }
  @media (max-width: 1150px) {
    .app-layout {
      grid-template-columns: 210px minmax(0, 1fr);
    }
    .sidebar {
      width: 210px;
      padding-left: 12px;
      padding-right: 12px;
    }
    .app-content {
      padding: 27px 24px;
    }
    .topbar {
      padding: 0 24px;
    }
    .cards-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .stats-grid {
      gap: 12px;
    }
    .stat {
      padding: 17px;
    }
    .hero h1 {
      font-size: 56px;
    }
    .hero {
      gap: 30px;
    }
    .hero-note {
      right: -5px;
    }
    .trust-items {
      gap: 35px;
    }
    .editor-body {
      grid-template-columns: minmax(0, 1fr) 235px;
    }
    .playground-layout {
      grid-template-columns: 255px minmax(0, 1fr);
    }
  }
  @media (max-width: 900px) {
    .hero {
      padding-top: 45px;
      padding-bottom: 60px;
      gap: 20px;
    }
    .hero h1 {
      font-size: 45px;
    }
    .hero-copy {
      font-size: 12px;
    }
    .hero-visual {
      padding-left: 0;
    }
    .hero-note {
      font-size: 8px;
    }
    .integration-float {
      left: -12px;
    }
    .marketing-nav nav {
      gap: 17px;
    }
    .marketing-nav nav a:nth-child(2) {
      display: none;
    }
    .marketing-section {
      padding-top: 55px;
      padding-bottom: 55px;
    }
    .usecases {
      gap: 12px;
    }
    .usecase {
      padding: 22px;
    }
    .marketing-flow {
      padding: 30px;
      gap: 30px;
    }
    .marketing-flow h2 {
      font-size: 29px;
    }
    .mini-flow {
      padding: 14px;
      gap: 6px;
    }
    .mini-flow .step {
      padding: 13px 8px;
      min-width: 65px;
    }
    .control-grid {
      gap: 20px;
    }
    .dashboard-middle {
      grid-template-columns: 1fr;
    }
    .stats-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    .dashboard-welcome {
      padding: 20px;
    }
    .welcome-art {
      width: 88px;
    }
    .app-layout {
      grid-template-columns: 190px minmax(0, 1fr);
    }
    .sidebar {
      width: 190px;
    }
    .sidebar > .brand {
      font-size: 20px;
    }
    .side-nav a {
      font-size: 11px;
      padding: 12px 10px;
    }
    .workspace-picker {
      padding: 10px 7px;
    }
    .workspace-picker strong {
      font-size: 10px;
    }
    .workspace-picker small {
      font-size: 8px;
    }
    .app-content {
      padding: 26px 20px;
    }
    .topbar {
      padding: 0 20px;
    }
    .page-head {
      align-items: flex-start;
    }
    .page-head h1 {
      font-size: 26px;
    }
    .page-head p {
      font-size: 11px;
    }
    .page-head .actions {
      gap: 6px;
    }
    .page-head .actions .btn {
      font-size: 10px;
      padding: 8px 10px;
    }
    .cards-grid {
      gap: 15px;
    }
    .agent-card {
      padding: 18px;
    }
    .playground-layout {
      grid-template-columns: 1fr;
    }
    .playground-options .field {
      max-width: none;
    }
    .scenario-grid {
      grid-template-columns: repeat(4, 1fr);
    }
    .settings-layout {
      grid-template-columns: 1fr;
    }
    .settings-nav {
      flex-direction: row;
      overflow: auto;
    }
    .settings-nav button {
      white-space: nowrap;
      font-size: 11px;
    }
    .editor-body {
      grid-template-columns: 1fr;
    }
    .workflow-canvas {
      height: 350px;
    }
    .node-properties {
      border-top: 1px solid var(--line);
      border-left: 0;
    }
    .node-properties .property-form {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0 15px;
    }
    .node-properties h3 {
      margin-bottom: 14px;
    }
    .editor-toolbar {
      align-items: flex-start;
    }
    .editor-toolbar .actions {
      gap: 5px;
    }
    .editor-toolbar .btn {
      font-size: 10px;
      padding: 8px 9px;
    }
    .workflow-row {
      padding: 19px;
      gap: 15px;
    }
    .workflow-row .actions {
      flex-wrap: wrap;
      justify-content: flex-end;
    }
    .workflow-row .badge {
      font-size: 9px;
    }
    .login-story {
      padding: 35px;
    }
    .login-story h1 {
      font-size: 43px;
    }
    .login-story .mini-points {
      flex-direction: column;
      gap: 14px;
    }
    .login-main {
      padding: 30px;
    }
    .details-grid {
      grid-template-columns: 1fr 1fr;
    }
  }
  @media (max-width: 680px) {
    .marketing-nav {
      padding: 20px;
    }
    .marketing-nav .brand {
      font-size: 20px;
    }
    .marketing-nav nav > a {
      display: none;
    }
    .marketing-nav .btn {
      font-size: 11px;
      min-height: 35px;
      padding: 8px 11px;
    }
    .hero {
      grid-template-columns: 1fr;
      padding: 38px 23px 45px;
      gap: 40px;
    }
    .hero h1 {
      font-size: 53px;
      max-width: 500px;
    }
    .hero-copy {
      font-size: 13px;
      max-width: 450px;
    }
    .hero-visual {
      max-width: 440px;
      width: 100%;
      margin: auto;
      padding: 8px 17px;
    }
    .orbital {
      inset: 0 0;
    }
    .hero-note {
      right: 9px;
      top: -5px;
    }
    .integration-float {
      left: 3px;
      bottom: -5px;
    }
    .trust-strip {
      padding: 25px 20px;
    }
    .trust-items {
      gap: 22px;
      font-size: 12px;
    }
    .trust-items .icon {
      width: 17px;
      height: 17px;
      margin-right: 6px;
    }
    .trust-strip p {
      font-size: 8px;
    }
    .marketing-section {
      padding: 42px 22px;
    }
    .section-intro {
      display: block;
      margin-bottom: 26px;
    }
    .section-intro h2 {
      font-size: 32px;
    }
    .section-intro p {
      margin-top: 17px;
      max-width: 100%;
      font-size: 12px;
    }
    .usecases {
      grid-template-columns: 1fr;
      gap: 15px;
    }
    .usecase p {
      min-height: 0;
    }
    .usecase .avatar {
      margin-bottom: 17px;
    }
    .marketing-flow {
      grid-template-columns: 1fr;
      padding: 25px;
      gap: 20px;
    }
    .marketing-flow h2 {
      font-size: 31px;
    }
    .control-grid {
      grid-template-columns: 1fr 1fr;
      gap: 23px;
      margin-top: 30px;
    }
    .marketing-cta {
      padding: 29px;
      display: block;
    }
    .marketing-cta h2 {
      font-size: 29px;
    }
    .marketing-cta .btn {
      margin-top: 25px;
    }
    .marketing-footer {
      padding: 25px 22px;
      flex-wrap: wrap;
      gap: 20px;
    }
    .marketing-footer > small {
      order: 3;
      width: 100%;
      font-size: 9px;
    }
    .footer-links {
      font-size: 10px;
    }
    .login-layout {
      grid-template-columns: 1fr;
    }
    .login-story {
      padding: 25px;
      min-height: 220px;
    }
    .login-story h1 {
      font-size: 35px;
      margin: 35px 0 17px;
      max-width: 360px;
    }
    .login-story p {
      font-size: 11px;
      max-width: 350px;
    }
    .login-story .mini-points,
    .login-story small {
      display: none;
    }
    .login-main {
      padding: 36px 25px;
    }
    .login-form h2 {
      font-size: 28px;
    }
    .app-layout {
      display: block;
    }
    .sidebar {
      transform: translateX(-100%);
      transition: transform 0.2s;
      width: 235px;
      z-index: 51;
      padding: 25px 16px 16px;
    }
    .sidebar.open {
      transform: translateX(0);
    }
    .mobile-shade.open {
      display: block;
      position: fixed;
      inset: 0;
      background: #112f2255;
      backdrop-filter: blur(3px);
      z-index: 50;
    }
    .side-nav a {
      font-size: 12px;
    }
    .sidebar > .brand {
      font-size: 22px;
    }
    .app-main {
      width: 100%;
    }
    .topbar {
      height: 64px;
      padding: 0 18px;
      gap: 10px;
    }
    .mobile-menu {
      display: inline-flex;
    }
    .breadcrumb {
      font-size: 10px;
      gap: 5px;
    }
    .breadcrumb > span:first-child,
    .breadcrumb > .icon {
      display: none;
    }
    .topbar-right {
      gap: 8px;
    }
    .topbar-right > .btn {
      display: none;
    }
    .local-tag {
      font-size: 9px;
    }
    .app-content {
      padding: 23px 17px;
    }
    .page-head {
      margin-bottom: 23px;
      gap: 15px;
      flex-wrap: wrap;
    }
    .page-head h1 {
      font-size: 28px;
    }
    .page-head p {
      font-size: 11px;
      max-width: 340px;
      line-height: 1.7;
    }
    .page-head .actions .btn {
      font-size: 11px;
      padding: 9px 13px;
    }
    .dashboard-welcome {
      padding: 20px;
      grid-template-columns: 1fr;
    }
    .dashboard-welcome h2 {
      font-size: 19px;
    }
    .dashboard-welcome p {
      font-size: 11px;
    }
    .welcome-art {
      display: none;
    }
    .stats-grid {
      gap: 12px;
    }
    .stat {
      padding: 16px;
    }
    .stat strong {
      font-size: 26px;
    }
    .stat-top {
      font-size: 10px;
      margin-bottom: 15px;
    }
    .stat small {
      font-size: 9px;
    }
    .dashboard-middle {
      gap: 18px;
    }
    .panel-pad {
      padding: 21px;
    }
    .chart {
      height: 155px;
    }
    .cards-grid {
      grid-template-columns: 1fr;
    }
    .agent-card {
      padding: 22px;
    }
    .agent-card p {
      font-size: 12px;
    }
    .toolbar {
      gap: 12px;
      flex-wrap: wrap;
    }
    .toolbar .search {
      max-width: none;
      min-width: 180px;
    }
    .toolbar select {
      max-width: 135px;
      font-size: 11px;
    }
    .workflow-row {
      display: block;
    }
    .workflow-row > .stack {
      margin-bottom: 20px;
    }
    .workflow-row .actions {
      justify-content: space-between;
    }
    .workflow-row h3 {
      font-size: 15px;
    }
    .editor-toolbar {
      display: block;
    }
    .editor-toolbar > .actions {
      margin-top: 15px;
      justify-content: flex-start;
      gap: 7px;
    }
    .editor-toolbar .btn {
      font-size: 11px;
    }
    .editor-body {
      min-height: 300px;
    }
    .workflow-canvas {
      height: 320px;
    }
    .editor-bottom {
      align-items: flex-start;
    }
    .editor-bottom p {
      max-width: 190px;
      font-size: 9px;
    }
    .editor-bottom .btn {
      font-size: 10px;
    }
    .node-properties .property-form {
      display: block;
    }
    .form-row {
      grid-template-columns: 1fr;
      gap: 0;
    }
    .modal-backdrop {
      padding: 15px;
    }
    .modal {
      padding: 22px;
      max-height: 92dvh;
      border-radius: 15px;
    }
    .modal-title h2 {
      font-size: 21px;
    }
    .notice {
      font-size: 11px;
    }
    .scenario-grid {
      gap: 6px;
    }
    .scenario-option {
      font-size: 9px;
      padding: 11px 5px;
    }
    .conversation-window {
      min-height: 420px;
    }
    .conversation-heading {
      padding: 17px;
    }
    .conversation-heading h3 {
      font-size: 13px;
    }
    .transcript {
      padding: 20px;
    }
    .conversation-composer {
      padding: 17px;
    }
    .conversation-composer .actions small {
      max-width: 150px;
      line-height: 1.5;
    }
    .message {
      max-width: 92%;
    }
    .message p {
      font-size: 11px;
      padding: 12px 14px;
    }
    .settings-nav {
      gap: 2px;
    }
    .settings-nav button {
      padding: 10px 12px;
      font-size: 10px;
    }
    .settings-panel h2 {
      font-size: 20px;
    }
    .budget-result strong {
      font-size: 23px;
    }
    .quick-grid {
      grid-template-columns: 1fr;
    }
    .details-grid {
      gap: 10px;
    }
    .footer-note {
      font-size: 8px;
      line-height: 1.5;
    }
    .integration-card p {
      min-height: 0;
    }
    .marketing-privacy {
      padding: 32px 23px;
    }
    .marketing-privacy h1 {
      font-size: 31px;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    *,
    *:before,
    *:after {
      animation: none !important;
      transition: none !important;
      scroll-behavior: auto !important;
    }
  }
}
