/* Exact Ailoot documentation typography, tokens and table rules; scoped legal presentation. */
@import url("./fonts/font-faces-405926d47905b5813010.css");

.ailoot-legal-page {
  --header-height: 113px;
  --font-ui: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-display: 'Geologica', 'Onest', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --bg: #0F1113;
  --bg-elev: #13171B;
  --bg-soft: rgba(255, 255, 255, .035);
  --bg-hover: rgba(255, 255, 255, .055);
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --ring: rgba(255, 255, 255, .22);
  --text-1: #F7F5F0;
  --text-2: #B9C0C7;
  --text-3: #8E98A2;
  --text-4: #66707A;
  --accent: #5EEAD4;
  --accent-ink: #5EEAD4;
  --accent-soft: rgba(94, 234, 212, .11);
  --accent-line: rgba(94, 234, 212, .45);
  --cta-bg: #F7F5F0;
  --cta-fg: #0C0F12;
  --cta-hover: #FFFFFF;
  --code-outer: rgba(255, 255, 255, .04);
  --code-inner: #0A0C0E;
  --code-text: #D6DADF;
  --tok-key: #9CDCFE;
  --tok-str: #E3B78E;
  --tok-num: #B5CEA8;
  --tok-com: #6E7C73;
  --tok-kw: #D7A6E6;
  --tok-fn: #8FD8C8;
  --note-bg: rgba(59, 130, 246, .12);
  --note-line: rgba(96, 165, 250, .35);
  --note-text: #A9CBFB;
  --tip-bg: rgba(34, 197, 94, .10);
  --tip-line: rgba(74, 222, 128, .32);
  --tip-text: #9BE8B5;
  --warn-bg: rgba(245, 158, 11, .10);
  --warn-line: rgba(251, 191, 36, .35);
  --warn-text: #F5CE7A;
  --req-bg: rgba(248, 113, 113, .12);
  --req-text: #FCA5A5;
  --get: #4ADE80;
  --post: #60A5FA;
  --fm-messages: #F4B08A;
  --fm-gemini: #9DB8FF;
  --fm-responses: #C7A7F5;
  --shadow-pop: 0 24px 64px -16px rgba(0, 0, 0, .7);
  --overlay: rgba(4, 6, 8, .62);
  --header-bg: rgba(15, 17, 19, .88);
  color-scheme: dark;
}
:root[data-theme="light"] .ailoot-legal-page, .ailoot-legal-page[data-theme="light"] {
  --bg: #FAFAF8;
  --bg-elev: #FFFFFF;
  --bg-soft: rgba(12, 15, 18, .035);
  --bg-hover: rgba(12, 15, 18, .055);
  --line: rgba(12, 15, 18, .09);
  --line-2: rgba(12, 15, 18, .15);
  --ring: rgba(12, 15, 18, .25);
  --text-1: #0C0F12;
  --text-2: #3E454C;
  --text-3: #5F6973;
  --text-4: #7C858E;
  --accent: #0F766E;
  --accent-ink: #0F766E;
  --accent-soft: rgba(15, 118, 110, .09);
  --accent-line: rgba(15, 118, 110, .45);
  --cta-bg: #0C0F12;
  --cta-fg: #FFFFFF;
  --cta-hover: #000000;
  --code-outer: #F1F2EF;
  --code-inner: #FFFFFF;
  --code-text: #24292F;
  --tok-key: #0550AE;
  --tok-str: #A0461A;
  --tok-num: #116329;
  --tok-com: #6E7781;
  --tok-kw: #8250DF;
  --tok-fn: #0F766E;
  --note-bg: #EFF6FF;
  --note-line: #BFDBFE;
  --note-text: #1E40AF;
  --tip-bg: #F0FDF4;
  --tip-line: #BBF7D0;
  --tip-text: #166534;
  --warn-bg: #FFFBEB;
  --warn-line: #FDE68A;
  --warn-text: #92400E;
  --req-bg: rgba(220, 38, 38, .08);
  --req-text: #B91C1C;
  --get: #15803D;
  --post: #1D4ED8;
  --fm-messages: #9A3412;
  --fm-gemini: #1D4ED8;
  --fm-responses: #6D28D9;
  --shadow-pop: 0 24px 64px -20px rgba(12, 15, 18, .28);
  --overlay: rgba(12, 15, 18, .38);
  --header-bg: rgba(250, 250, 248, .9);
  color-scheme: light;
}

.ailoot-legal-page, .ailoot-legal-page *, .ailoot-legal-page *::before, .ailoot-legal-page *::after {box-sizing:border-box;}
.ailoot-legal-page {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--text-2);
  font: 400 16px/28px var(--font-ui);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
.ailoot-legal-page { -webkit-text-size-adjust:100%; text-size-adjust:100%; }
.ailoot-legal-page a { color: inherit; }
.ailoot-legal-page button, .ailoot-legal-page input, .ailoot-legal-page select { font: inherit; color: inherit; }
.ailoot-legal-page img, .ailoot-legal-page svg { display: block; }
.ailoot-legal-page :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.ailoot-legal-page > header {
  position: sticky; top: 0; z-index: 40; background: var(--header-bg);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.ailoot-legal-page .header-inner { max-width: 1472px; margin: 0 auto; padding: 0 48px; display: flex; align-items: center; }
.ailoot-legal-page .header-inner {height:64px;gap:12px;justify-content:space-between;}
.ailoot-legal-page .brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text-1); text-decoration: none; border-radius: 8px; flex: none; }
.ailoot-legal-page .brand {font-weight:600;}
.ailoot-legal-page .brand img, .ailoot-legal-page .legal-brand-mark {width:22px;height:22px;flex:none;}
.ailoot-legal-page .header-actions {display:flex;align-items:center;gap:8px;}
.ailoot-legal-page .login {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 14px;
  border-radius: 12px; font: 600 14px/1 var(--font-ui); text-decoration: none; white-space: nowrap; border: 1px solid transparent;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.ailoot-legal-page .login { background: var(--cta-bg); color: var(--cta-fg); clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%); border-radius: 10px; }
.ailoot-legal-page .legal-locale-footer .language, .ailoot-legal-page .legal-locale-footer .relative > button {min-height:36px;max-width:none;background:transparent;color:var(--text-3);border:0;border-radius:8px;padding:6px 8px;font:400 14px/20px var(--font-ui);}
.ailoot-legal-page .legal-main {max-width:1472px;margin:0 auto;padding:40px 32px 0;display:flex;justify-content:center;min-width:0;}
.ailoot-legal-page .legal-article { width: 100%; max-width: 689px; min-width: 0; padding-bottom: 64px; }
.ailoot-legal-page .legal-article h1 { margin: 0; font: 600 36px/40px var(--font-display); letter-spacing: -.9px; color: var(--text-1); text-wrap: balance; }
.ailoot-legal-page .legal-article h2 {
  position: relative; margin: 44px 0 18px; font: 600 24px/32px var(--font-display); letter-spacing: -.6px; color: var(--text-1);
}
.ailoot-legal-page .legal-article h2:first-child { margin-top: 0; }
.ailoot-legal-page .legal-article h3 { margin: 32px 0 12px; font: 600 18px/27px var(--font-display); color: var(--text-1); }
.ailoot-legal-page .legal-article h4 { margin: 36px 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font: 600 18px/27px var(--font-display); color: var(--text-1); }
.ailoot-legal-page .legal-article p { margin: 0 0 20px; }
.ailoot-legal-page .legal-article strong { color: var(--text-1); font-weight: 600; }
.ailoot-legal-page .legal-article ul, .ailoot-legal-page .legal-article ol { margin: 0 0 20px; padding-left: 22px; }
.ailoot-legal-page .legal-article li { margin: 6px 0; }
.ailoot-legal-page .legal-article li::marker { color: var(--text-4); }
.ailoot-legal-page .legal-article table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 21px; }
.ailoot-legal-page .legal-article th { text-align: left; font-weight: 500; color: var(--text-1); padding: 0 12px 10px 0; border-bottom: 1px solid var(--line-2); vertical-align: bottom; }
.ailoot-legal-page .legal-article td { padding: 9px 12px 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--text-2); }
.ailoot-legal-page .legal-article td code, .ailoot-legal-page .legal-article th code { font-size: 12.5px; }
.ailoot-legal-page .legal-article hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.ailoot-legal-page .legal-document-content a {
  color: var(--text-1); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--accent-line);
}
.ailoot-legal-page code { font: 400 .875em/1.5 var(--font-mono); }
.ailoot-legal-page :not(pre) > code { padding: 2px 7px; border-radius: 6px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--text-1); white-space: nowrap; }
.ailoot-legal-page .legal-table-scroll { margin: 8px 0 28px; overflow-x: auto; }
.ailoot-legal-page .legal-table-scroll {max-width:100%;}
.ailoot-legal-page .legal-article p, .ailoot-legal-page .legal-article li, .ailoot-legal-page .legal-article td {overflow-wrap:break-word;}
.ailoot-legal-page .legal-article h1 {overflow-wrap:break-word;}
.ailoot-legal-page .legal-article th {text-align:start;}
.ailoot-legal-page [dir="rtl"] th, .ailoot-legal-page:dir(rtl) th {padding:0 0 10px 12px;}
.ailoot-legal-page [dir="rtl"] td, .ailoot-legal-page:dir(rtl) td {padding:9px 0 9px 12px;}
.ailoot-legal-page .document-heading {margin-bottom:32px;}
.ailoot-legal-page .updated {font-size:14px;line-height:20px;color:var(--text-3);margin:10px 0 20px;}
.ailoot-legal-page .document-nav, .ailoot-legal-page .product-nav {display:flex;gap:16px;flex-wrap:wrap;font-size:14px;line-height:20px;margin-top:16px;}
.ailoot-legal-page .document-nav a, .ailoot-legal-page .product-nav a {color:var(--text-1);text-decoration:none;border-bottom:1px solid var(--accent-line);}
.ailoot-legal-page .legal-document-type { display: inline-block; font-size: 16px; line-height: 24px; color: var(--accent-ink); text-decoration: none; margin-bottom: 8px; }
.ailoot-legal-page .legal-document-type {display:flex;align-items:center;gap:8px;}
.ailoot-legal-page .legal-loading {min-height:320px;display:flex;align-items:center;justify-content:center;}
.ailoot-legal-page .legal-notice {width:100%;max-width:689px;padding:16px;border:1px solid var(--line);border-radius:12px;}
.ailoot-legal-page .legal-notice h1 {font:600 18px/27px var(--font-display);color:var(--text-1);margin:0 0 12px;}
.ailoot-legal-page .legal-notice p {margin:0;}
.ailoot-legal-page .legal-error {color:var(--warn-text);background:var(--warn-bg);border-color:var(--warn-line);}
.ailoot-legal-page .fallback {padding:14px 18px;border:1px solid var(--line);border-radius:16px;font-size:14px;line-height:21px;color:var(--text-2);}
@media(max-width:1279px){.ailoot-legal-page .legal-article{max-width:896px;}}
@media(max-width:1023px){.ailoot-legal-page .legal-main{padding:24px 20px 0;}.ailoot-legal-page .header-inner{padding:0 16px;}.ailoot-legal-page .login{height:32px;padding:0 10px;font-size:13px;}}
@media(max-width:480px){.ailoot-legal-page .legal-main{padding:24px 16px 0;}.ailoot-legal-page .legal-article h1{font-size:30px;line-height:36px;letter-spacing:-.75px;}.ailoot-legal-page .header-actions{gap:4px;}.ailoot-legal-page .login{height:34px;padding:0 12px;}}

/* Preserve list semantics across standalone SSR and Tailwind preflight, including RTL. */
.ailoot-legal-page .legal-article ul {list-style-type:disc;}
.ailoot-legal-page .legal-article ol {list-style-type:decimal;}
.ailoot-legal-page .legal-article ul, .ailoot-legal-page .legal-article ol {padding-left:0;padding-right:0;padding-inline-start:22px;}
.ailoot-legal-page pre {
  margin: 0; padding: 14px 16px; overflow-x: auto; font: 400 13.5px/24px var(--font-mono); color: var(--code-text); tab-size: 2;
  scrollbar-width: thin; scrollbar-color: var(--line-2) transparent;
}
.ailoot-legal-page pre code { font: inherit; white-space: pre; }
.ailoot-legal-page .legal-document-content pre {max-width:100%;border-radius:14px;background:var(--code-inner);border:1px solid var(--line);}
.ailoot-legal-page .legal-document-content img {max-width:100%;height:auto;}
.ailoot-legal-page .legal-section:not(:first-child) {content-visibility:auto;contain-intrinsic-size:auto 600px;}

/* The footer picker follows the legal theme; its shared component controls top placement. */
.ailoot-legal-page .legal-locale-footer {padding:20px 0;}
.ailoot-legal-page .legal-locale-footer .header-inner {width:100%;height:auto;min-height:36px;justify-content:flex-end;padding:0 16px;}
.ailoot-legal-page .legal-locale-footer .absolute {max-width:min(280px,calc(100vw - 32px));max-height:320px;overflow-y:auto;background:var(--bg-elev);color:var(--text-2);border-color:var(--line-2);}
.ailoot-legal-page .legal-locale-footer .absolute button {color:var(--text-2);font:400 14px/20px var(--font-ui);}
.ailoot-legal-page .legal-locale-footer .absolute button:hover {background:var(--bg-hover);color:var(--text-1);}
.ailoot-legal-page .legal-locale-footer .absolute button.bg-primary-50 {background:var(--accent-soft);color:var(--accent-ink);font-weight:500;}

/* Standalone legal SSR uses the same quiet footer and compact drop-up chooser. */
.ailoot-legal-page .legal-locale-footer .ailoot-locale-picker {position:relative;display:inline-block;margin-inline-start:auto;font:400 14px/20px var(--font-ui);color:var(--text-3);}
.ailoot-legal-page .ailoot-locale-picker summary {display:inline-flex;align-items:center;gap:4px;min-height:36px;padding:6px 0;cursor:pointer;list-style:none;white-space:nowrap;}
.ailoot-legal-page .ailoot-locale-picker summary::-webkit-details-marker {display:none;}
.ailoot-legal-page .ailoot-locale-name {min-width:0;}
.ailoot-legal-page .ailoot-locale-chevron svg {width:12px;height:12px;transition:transform .15s ease;}
.ailoot-legal-page .ailoot-locale-picker[open] .ailoot-locale-chevron svg {transform:rotate(180deg);}
.ailoot-legal-page .ailoot-locale-options {position:absolute;inset-block-end:calc(100% + 4px);inset-inline-end:0;z-index:100;width:280px;max-width:calc(100vw - 32px);max-height:min(320px,calc(100dvh - 80px));overflow:auto;overscroll-behavior:contain;padding:5px;border:1px solid var(--line-2);border-radius:10px;background:var(--bg-elev);color:var(--text-2);box-shadow:var(--shadow-pop);}
.ailoot-legal-page .ailoot-locale-options a {display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:6px;color:inherit;text-decoration:none;white-space:normal;}
.ailoot-legal-page .ailoot-locale-options a>span[aria-hidden] {display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;flex:0 0 20px;font-size:16px;line-height:1;}
.ailoot-legal-page .ailoot-locale-options a>span[dir] {min-width:0;overflow-wrap:anywhere;}
.ailoot-legal-page .ailoot-locale-options a:hover {background:var(--bg-hover);color:var(--text-1);}
.ailoot-legal-page .ailoot-locale-options a[aria-current] {background:var(--accent-soft);color:var(--accent-ink);font-weight:500;}
