/* Auto-extracted inline styles migrated out of templates for stricter CSP. */
.sx-00d51da5 {justify-content:space-between; gap:10px; align-items:flex-start;}
.sx-06869a41 {grid-template-columns: 1.15fr 0.85fr;}
.sx-06a96ebf {grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr); gap:18px; align-items:start;}
.sx-06c0747e {height:12px;}
.sx-090780a5 {margin-top:6px; font-size:13px;}
.sx-0c4a5a07 {height: 12px;}
.sx-0d5130bd {grid-template-columns: 1fr 1fr; margin-top: 12px;}
.sx-0ddaf9ba {width:100%; text-align:left;}
.sx-11696618 {margin:0;}
.sx-134c89d9 {max-width: 920px; margin: 0 auto;}
.sx-13904aab {gap:10px; flex-wrap:wrap;}
.sx-15e05b0c {margin-top: 16px; justify-content:center;}
.sx-16518efd {font-size:24px; font-weight:700;}
.sx-19e3e9b5 {min-height: 110px;}
.sx-1da9facb {margin:0;}
.sx-20311d60 {justify-content:space-between; align-items:flex-start;}
.sx-249d0105 {margin:0 0 12px;}
.sx-26c3ae8e {display:flex; align-items:center; gap:10px;}
.sx-2b583d73 {margin-bottom:14px;}
.sx-2f5e6130 {line-height:1.6; padding-top:4px;}
.sx-2f623bbd {height: 6px;}
.sx-2fd7789b {margin-top:6px;}
.sx-32425557 {grid-template-columns: 1fr 1fr; gap:10px;}
.sx-3b59a5b5 {padding:12px; margin-top:6px;}
.sx-3ef1fa1a {margin-bottom:12px;}
.sx-42ea93d0 {margin:0;display:flex;}
.sx-45f8671d {gap:8px; flex-wrap:wrap; justify-content:flex-end;}
.sx-4b8fc23e {justify-content:space-between; align-items:flex-start; gap:16px;}
.sx-4f1925a8 {font-size:18px;}
.sx-52cf7699 {--w: {{ plan_info.usage_cards['keys'].percent if plan_info else 0 }}%;}
.sx-54670408 {font-size:13px; line-height:1.45;}
.sx-56f43562 {margin-top:12px;}
.sx-592065dd {justify-content:flex-end; margin-top: 12px;}
.sx-592b33cd {justify-content:flex-end;}
.sx-5ba5578e {margin:0; white-space:pre-wrap;}
.sx-5d220f4f {margin-top:6px; word-break:break-all;}
.sx-5dd2a678 {margin-left:8px;}
.sx-5e0faad2 {font-size:13px;}
.sx-5e8da9d3 {gap:10px; max-width: 860px;}
.sx-5e9f4809 {max-width:520px; width:100%;}
.sx-5eb51d00 {color: var(--text); line-height: 1.7;}
.sx-634b6e54 {margin: 14px 0 6px;}
.sx-6840f0a6 {margin-top: 18px;}
.sx-6b99de8b {display:none;}
.sx-6bcfbb8b {flex-wrap:wrap; gap:8px; margin-bottom:12px;}
.sx-6cb285c6 {font-size:12px;}
.sx-6e6f1352 {flex-wrap:wrap; gap:8px;}
.sx-727ad044 {justify-content:space-between; align-items:center;}
.sx-75239738 {word-break:break-all;}
.sx-75613a51 {--w: {{ card.percent if card else 0 }}%;}
.sx-756ece05 {margin: 10px 0 8px;}
.sx-758a8873 {font-weight:700;}
.sx-759e41d8 {margin:0 0 10px;}
.sx-76590726 {justify-content:space-between; align-items:flex-start;}
.sx-76c8c357 {width:100%; max-width: 980px;}
.sx-76dd8f5d {display:grid; gap:8px;}
.sx-7809a51a {margin-top:6px; font-size:13px;}
.sx-79a1c5a5 {margin-bottom:16px;}
.sx-7b3d687c {font-size:12px; white-space:pre-wrap;}
.sx-7d89566d {grid-template-columns: repeat(3, minmax(0, 1fr)); gap:12px; margin-bottom:16px;}
.sx-8042c5c2 {--w: {{ plan_info.usage_cards.apps.percent if plan_info else 0 }}%;}
.sx-80ed4165 {grid-template-columns: 1fr 1fr;}
.sx-816bd324 {grid-template-columns: 1.1fr 0.9fr;}
.sx-823cd22a {margin:0; display:inline-flex;}
.sx-82e0b528 {height: 14px;}
.sx-84334181 {max-width: 860px;}
.sx-88b9d5c6 {margin-top:14px;}
.sx-8908c48e {justify-content:flex-end; gap:8px;}
.sx-8990020b {gap:10px; margin-top:6px;}
.sx-8a359a76 {margin-top:16px;}
.sx-8a77e5a3 {margin-top:8px;}
.sx-8b9688e6 {margin-bottom:24px;}
.sx-90fcfd6f {height:12px;}
.sx-92a63811 {height:10px;}
.sx-9374e842 {margin-top:12px;}
.sx-93e2d771 {height: 18px;}
.sx-946a990a {height:14px;}
.sx-961866ea {justify-content:space-between; gap:10px; flex-wrap:wrap; margin-top:12px;}
.sx-97445a8d {flex:1;}
.sx-98dfe884 {min-height: 130px;}
.sx-9c9cee20 {margin-top: 12px;}
.sx-a18acce9 {margin:2px 0 6px;}
.sx-a1b97f67 {justify-content:flex-end; gap:10px; margin-top:14px;}
.sx-a353e69c {margin:0 0 6px;}
.sx-a527bac1 {text-align:right;}
.sx-a562f4fd {justify-content:space-between;}
.sx-a82d7062 {margin-bottom:14px;}
.sx-aba9f40b {min-height: 90px;}
.sx-ad54e396 {margin:0 0 8px;}
.sx-ad7f18b1 {margin:0 0 6px;}
.sx-ae7e4dff {justify-content:space-between; align-items:flex-start; gap:12px;}
.sx-af1d237b {margin:4px 0 10px;}
.sx-af3fee87 {margin-bottom:10px;}
.sx-b1ecc496 {margin-top:8px;}
.sx-b3bd1b12 {max-width:none;}
.sx-bd06586f {grid-template-columns: 0.9fr 1.1fr;}
.sx-bd5c479a {--w: {{ card.percent }}%;}
.sx-bfc11513 {flex:0.6;}
.sx-c1d4b850 {margin-top: 12px; flex-wrap: wrap;}
.sx-c27bd89e {max-width: 74ch;}
.sx-c34e48f0 {font-size:28px; font-weight:700; margin-top:6px;}
.sx-c6715205 {height: 10px;}
.sx-c7b59138 {margin: 8px 0;}
.sx-c90bcffe {display:grid; gap:10px;}
.sx-ca12fdf5 {justify-content:flex-end; margin-top: 14px;}
.sx-cccfa456 {display:inline;}
.sx-d265a6b9 {margin-top: 16px;}
.sx-d2c171b1 {margin-top:10px;}
.sx-d43ad9f2 {grid-template-columns: 1fr 1fr;}
.sx-d4531212 {margin:4px 0 6px;}
.sx-d6758a1e {margin:0 0 14px;}
.sx-d8a81eac {margin-top:10px;}
.sx-db203ccc {margin-top:auto;}
.sx-df671843 {margin:0 0 8px;}
.sx-dfb21652 {align-items:start;}
.sx-e4ad4a16 {margin-bottom:8px;}
.sx-e7673d9c {margin-top:18px;}
.sx-e7d58e28 {flex-wrap:wrap; gap:8px; margin-bottom:14px;}
.sx-ea658817 {display:flex; align-items:center; gap:10px; margin-top:24px;}
.sx-eb6b02e3 {display:grid; gap:12px;}
.sx-f1b10d63 {max-width: 78ch;}
.sx-f4bf8ada {min-height: 92px;}
.sx-f91de273 {height: 16px;}
.sx-f96230ca {height: 14px;}
.sx-f9e5bd58 {font-weight:700; margin-bottom:6px;}
.sx-fb3bd801 {margin-top: 18px;}
.sx-fde9bd2c {justify-content:space-between; align-items:center; margin-top: 10px;}
.sx-fdf33f23 {margin-bottom:8px;}
.sx-fe7b4979 {margin-top:6px;}
.sx-feb3b240 {justify-content:space-between;align-items:flex-start;}

/* extracted from customer_portal.html */
.customer-portal-grid{max-width:1240px;margin:0 auto}
    .portal-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
    .portal-kpi{padding:16px;border-radius:22px;border:1px solid var(--border);background:color-mix(in oklab,var(--card2) 74%,transparent)}
    .portal-shell-two{display:grid;grid-template-columns:1.08fr .92fr;gap:16px}
    .portal-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
    .portal-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
    .portal-ticket-thread{display:grid;gap:10px;margin-top:12px}
    .portal-bubble{padding:12px 14px;border-radius:18px;border:1px solid var(--border);background:color-mix(in oklab,var(--card2) 72%,transparent)}
    .portal-bubble.agent{border-color:color-mix(in oklab,var(--a1) 30%, var(--border));background:linear-gradient(180deg,color-mix(in oklab,var(--a1) 10%,transparent),color-mix(in oklab,var(--card2) 74%,transparent))}
    .portal-inline-form{display:grid;gap:10px}
    .portal-inline-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
    .portal-table-wrap{overflow:auto;border-radius:22px;border:1px solid var(--border);background:color-mix(in oklab,var(--bg2) 85%,transparent)}
    .portal-product-card{display:grid;gap:12px;padding:18px;border-radius:22px;border:1px solid var(--border);background:color-mix(in oklab,var(--card2) 78%,transparent)}
    .portal-product-meta{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
    .portal-divider{height:1px;background:color-mix(in oklab,var(--border) 86%,transparent);margin:2px 0}
    .portal-login-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
    @media (max-width:1080px){.portal-kpis,.portal-shell-two,.portal-columns,.portal-product-grid,.portal-login-grid{grid-template-columns:1fr}}
/* extracted from customer_portal_order.html */
.customer-portal-grid{max-width:1180px;margin:0 auto}
    .portal-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:12px}
    .portal-kpi{padding:16px;border-radius:22px;border:1px solid var(--border);background:color-mix(in srgb,var(--card2) 74%,transparent)}
    .portal-split{display:grid;grid-template-columns:1.2fr .8fr;gap:16px}
    .portal-block{display:grid;gap:12px}
    .portal-block .signal-row{align-items:center}
    @media (max-width:980px){.portal-kpis,.portal-split{grid-template-columns:1fr}}
/* extracted from auth/verify_code.html */
/*
      IMPORTANT:
      .public-content/.content uses a page animation that sets transform.
      Any transform on an ancestor breaks position:fixed (modal becomes clipped).
      Disable the transform on this page so the verification modal centers correctly.
    */
    .public-content, .content{ animation: none !important; transform: none !important; }

    /* Ensure the modal always overlays the full viewport and sits above nav/glass */
    #verifyModal{ position: fixed !important; inset: 0 !important; z-index: 5000 !important; padding: 22px !important; }
    #verifyModal.show{ display:flex; align-items:center; justify-content:center; }
    #verifyModal .modal-backdrop{ position: fixed !important; inset: 0 !important; }
    .verify-modal-card{ width: min(560px, calc(100vw - 28px)); }

    /* Make the modal feel a bit "lower" and calmer */
    .verify-modal-card{ transform: translateY(10px); }

    .verify-head{ display:flex; justify-content:space-between; align-items:flex-start; gap: 12px; }

    /* 6‑digit OTP boxes (scoped to verify page) */
    .otp6{ display:flex; gap: 10px; align-items:center; justify-content:center; margin-top: 6px; flex-wrap:wrap; }
    .otp-box{
      width: 46px; height: 54px;
      border-radius: 14px;
      border: 1px solid var(--border);
      background: color-mix(in oklab, var(--bg1) 86%, transparent);
      color: var(--text);
      text-align:center;
      font-size: 22px;
      font-weight: 950;
      letter-spacing: .02em;
      box-shadow: var(--shadow-sm);
      outline: none;
      transition: transform .14s ease, border-color .14s ease, box-shadow .14s ease, background .14s ease;
      -webkit-appearance: none;
      appearance: none;
    }
    .otp-box:focus{
      border-color: color-mix(in oklab, var(--a2) 58%, var(--border));
      box-shadow: 0 0 0 4px color-mix(in oklab, var(--a2) 20%, transparent), var(--shadow-md);
      transform: translateY(-1px);
    }
    .otp-box.filled{ border-color: color-mix(in oklab, var(--a2) 35%, var(--border)); }
    .otp-err{ margin-top: 10px; padding: 10px 12px; border-radius: 14px; border: 1px solid color-mix(in oklab, var(--danger) 35%, var(--border)); background: color-mix(in oklab, var(--danger) 14%, transparent); color: color-mix(in oklab, var(--text) 92%, var(--danger)); font-weight: 700; }
    @media (max-width: 520px){
      .otp6{ gap: 8px; }
      .otp-box{ width: 42px; height: 52px; border-radius: 12px; font-size: 21px; }
    }
/* extracted from dashboard/app_examples.html */
.examples-shell{max-width:1280px;margin:0 auto}
    .examples-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,360px);gap:16px;align-items:start}
    .examples-note-list{display:grid;gap:10px}
    .examples-note-item{display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;align-items:start}
    .examples-note-num{width:34px;height:34px;border-radius:999px;display:flex;align-items:center;justify-content:center;font-weight:800;border:1px solid rgba(120,255,220,.18);background:rgba(255,255,255,.03);flex:0 0 34px}
    .examples-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}
    .examples-tab{appearance:none;border:1px solid rgba(120,255,220,.16);background:rgba(255,255,255,.03);color:inherit;border-radius:999px;padding:9px 13px;cursor:pointer;line-height:1}
    .examples-tab.active{border-color:rgba(120,255,220,.38);box-shadow:0 0 0 1px rgba(120,255,220,.12) inset;background:rgba(120,255,220,.08)}
    .examples-pane{display:none}
    .examples-pane.active{display:block}
    .examples-codehead{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px;flex-wrap:wrap}
    .examples-actions{display:flex;gap:8px;flex-wrap:wrap}
    .examples-copy-btn{white-space:nowrap}
    .examples-compact-card{padding:16px;border-radius:18px}
    .examples-codebox{max-width:100%;overflow:auto}
    .examples-codebox pre{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}
    .examples-rail{display:grid;gap:14px}
    @media (max-width: 980px){.examples-grid{grid-template-columns:minmax(0,1fr)}}
