/* Extracted verbatim from the Salesforce Assist prototype: my-integrations.html */
  :root{
    --primary: #e2711d;
    --primary-dark: #b95a14;
    --primary-tint: #fdf4ec;
    --primary-line: #f3d6bf;
    --ink: #1f2328;
    --ink-soft: #5f6770;
    --border: #e6e8eb;
    --surface: #ffffff;
    --canvas: #fafafa;
  }

  *{ box-sizing: border-box; }

  html, body{
    margin: 0;
    padding: 0;
    background: var(--canvas);
    color: var(--ink);
    font-family: "Archivo", sans-serif;
  }

  body{ min-height: 100vh; display: flex; flex-direction: column; }
  main{ flex: 1; }
  a{ text-decoration: none; color: inherit; }
  :focus-visible{ outline: 2px solid var(--primary); outline-offset: 3px; }

  /* ---------- Header ---------- */
  header.topbar{
    background: var(--surface);
    border-bottom: 1px solid var(--border);
  }

  .topbar-inner{
    max-width: 1180px;
    margin: 0 auto;
    padding: 14px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .brand{ display: flex; align-items: center; }
  .brand img{ width: 150px; height: auto; display: block; }

  /* ---------- Page ---------- */
  .page{
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
    padding: 28px 32px 88px;
  }

  .crumbs{
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: var(--ink-soft);
    margin-bottom: 36px;
  }

  .crumbs a{ font-weight: 600; color: var(--primary-dark); }
  .crumbs a:hover{ text-decoration: underline; text-underline-offset: 3px; }
  .crumbs .sep{ color: #b8bec4; }

  .tool-head{ margin-bottom: 26px; max-width: 760px; }

  .tool-head h1{
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.15;
    margin: 0 0 10px;
  }

  .tool-head .lead{
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink-soft);
    margin: 0;
  }

  .tool-head{ max-width: 820px; }

  /* ---------- Cards ---------- */
  .card{
    max-width: 880px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
  }

  .card + .card{ margin-top: 20px; }

  .card-head{
    padding: 20px 28px 18px;
    border-bottom: 1px solid var(--border);
  }

  .card-head h2{ margin: 0; font-size: 18px; font-weight: 700; }

  .card-head p{
    margin: 6px 0 0;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--ink-soft);
  }

  .card-body{ padding: 24px 28px; }
  .card-body + .card-body{ border-top: 1px solid var(--border); }

  .card-body h3{ margin: 0 0 4px; font-size: 15px; font-weight: 700; }

  .sub-desc{
    margin: 0 0 16px;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--ink-soft);
  }

  .grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 20px;
  }

  .grid .full{ grid-column: 1 / -1; }

  .field + .field{ margin-top: 0; }

  .field label{
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 7px;
  }

  .field input{
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: #fff;
    font-family: inherit;
    font-size: 14.5px;
    color: var(--ink);
    transition: border-color .15s ease, box-shadow .15s ease;
  }

  .field input:hover{ border-color: #cfd4d9; }

  .field input:focus{
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(226,113,29,.14);
  }

  .field input::placeholder{ color: #9aa1a8; }

  .field input:disabled{
    background: var(--canvas);
    color: #9aa1a8;
    cursor: not-allowed;
  }

  .field input:disabled:hover{ border-color: var(--border); }

  .fieldset-disabled label{ color: var(--ink-soft); }

  .select{ position: relative; }

  .select select{
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    height: 42px;
    padding: 0 40px 0 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: #fff;
    font-family: inherit;
    font-size: 14.5px;
    color: var(--ink);
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease;
  }

  .select select:hover{ border-color: #cfd4d9; }

  .select select:focus{
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(226,113,29,.14);
  }

  .select::after{
    content: "";
    position: absolute;
    right: 15px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid var(--ink-soft);
    border-bottom: 1.5px solid var(--ink-soft);
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
  }

  .option + .option{ margin-top: 16px; }

  .option label{
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
  }

  .option input{
    width: 17px;
    height: 17px;
    margin: 2px 0 0;
    accent-color: var(--primary);
    cursor: pointer;
    flex-shrink: 0;
  }

  .option-title{
    display: block;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--ink);
  }

  .option-desc{
    display: block;
    margin-top: 4px;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--ink-soft);
  }

  .option{ margin-bottom: 18px; }

  .card-foot{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    padding: 16px 28px;
    border-top: 1px solid var(--border);
    background: #fcfcfc;
    border-radius: 0 0 8px 8px;
  }

  .saved{
    display: none;
    font-size: 13.5px;
    font-weight: 600;
    color: #2f6e3a;
  }

  .saved.is-visible{ display: inline; }

  .btn-primary{
    height: 42px;
    padding: 0 20px;
    border: none;
    border-radius: 6px;
    background: var(--primary);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s ease;
  }

  .btn-primary:hover{ background: var(--primary-dark); }

  /* ---------- Footer ---------- */
  footer{
    text-align: center;
    padding: 28px;
    color: var(--ink-soft);
    font-size: 14px;
    border-top: 1px solid var(--border);
    background: #fff;
  }

  /* ---------- Responsive ---------- */
  @media (max-width: 620px){
    .topbar-inner{ padding: 14px 20px; }
    .page{ padding: 22px 20px 64px; }
    .crumbs{ margin-bottom: 26px; }
    .tool-head h1{ font-size: 28px; }
    .grid{ grid-template-columns: 1fr; }
    .card-head, .card-body{ padding-left: 20px; padding-right: 20px; }
    .card-foot{ padding: 16px 20px; flex-direction: column-reverse; align-items: stretch; }
    .card-foot .btn-primary{ width: 100%; }
    .saved{ text-align: center; }
  }

  @media (prefers-reduced-motion: reduce){ *{ transition: none !important; } }

  /* ---------- Header nav ---------- */
  .top-nav{ display: flex; align-items: center; gap: 22px; }
  .top-nav a{
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-soft);
    padding: 6px 0;
    border-bottom: 2px solid transparent;
  }
  .top-nav a:hover{ color: var(--ink); }
  .top-nav a[aria-current="page"]{ color: var(--ink); border-bottom-color: var(--primary); }
