.legal-body .content{max-width:1500px;padding:26px 30px 0}.legal-body .topbar{box-shadow:0 2px 12px rgba(21,40,90,.04)}
.legal-login{height:38px;min-width:82px;border:1px solid var(--red);border-radius:22px;display:grid;place-items:center;font-weight:600}.legal-start{min-width:140px;border-radius:22px;min-height:40px}
.legal-page{max-width:1440px;margin:auto}.legal-hero{min-height:190px;display:grid;grid-template-columns:52% 48%;align-items:center;margin-bottom:12px}.legal-label{margin:0 0 14px;color:var(--red);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:1.8px}.legal-hero h1{font-size:42px;margin:0 0 8px;letter-spacing:-1.8px}.legal-hero>div:first-child>p:not(.legal-label){font-size:18px;margin:0 0 10px}.legal-hero small{font-size:13px;color:var(--muted)}.legal-hero-art{height:180px;display:flex;align-items:center;justify-content:center;gap:30px;background:radial-gradient(circle at 50% 48%,#f1e7ff 0 17%,transparent 18%),radial-gradient(circle at 68% 32%,#e7fff6 0 13%,transparent 14%),radial-gradient(circle at 79% 72%,#fff0f4 0 14%,transparent 15%);border-radius:30px}.legal-hero-art h2{font-size:23px;max-width:260px;line-height:1.12}.legal-document{width:125px;height:125px;border-radius:28px;background:linear-gradient(145deg,#eaf5ff,#fff);border:1px solid #d8e8ff;box-shadow:0 16px 35px rgba(28,105,230,.15);display:grid;place-items:center;color:#0877f9;transform:rotate(-2deg)}.legal-document svg{width:76px;height:76px;stroke-width:1.8}
.legal-grid{display:grid;grid-template-columns:250px minmax(0,1fr);gap:18px}.legal-sidebar{display:flex;flex-direction:column}.legal-sidebar .card{padding:14px 10px;margin-bottom:15px;box-shadow:none;border-radius:13px}.legal-sidebar h2{padding:5px 7px;font-size:16px}.legal-sidebar nav{display:flex;flex-direction:column}.legal-sidebar nav a{padding:8px 12px;border-left:4px solid transparent;color:#516394;font-size:13px;border-radius:3px 9px 9px 3px}.legal-sidebar nav a:hover,.legal-sidebar nav a:focus,.legal-sidebar nav a.active{border-left-color:var(--red);background:var(--pink);color:var(--red);font-weight:700;outline:none}.legal-support-card{border:1px solid var(--line);border-radius:13px;padding:16px 12px;text-align:center;margin-top:auto}.legal-support-card>svg{width:42px;height:42px;color:#086bf0;float:left;margin:0 10px 8px 0}.legal-support-card h3{font-size:13px;text-align:left;margin:3px 0 6px}.legal-support-card p{clear:both;font-size:11px}.legal-support-card .btn{width:100%;border-radius:24px;min-height:36px;padding:0 10px}
.legal-summary-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:16px}.legal-summary{min-height:104px;border:1px solid var(--line);border-radius:12px;padding:13px;display:flex;align-items:flex-start;gap:12px}.legal-summary>span,.legal-icon{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;flex:0 0 auto}.legal-summary svg,.legal-icon svg{width:25px}.legal-summary h2{font-size:14px;margin:2px 0 5px}.legal-summary p{font-size:12px;margin:0}.legal-summary.green,.legal-summary .green{background:#f4fffb}.legal-summary.green>span,.legal-icon.green{background:#dcfaed;color:#08a961}.legal-summary.blue{background:#f7fbff}.legal-summary.blue>span,.legal-icon.blue{background:#e3f1ff;color:#0877f9}.legal-summary.red{background:#fff8fa}.legal-summary.red>span,.legal-icon.red{background:#ffe5eb;color:var(--red)}.legal-summary.purple{background:#fbf8ff}.legal-summary.purple>span,.legal-icon.purple{background:#eee2ff;color:#7b20ef}.legal-summary.orange{background:#fffbf7}.legal-summary.orange>span,.legal-icon.orange{background:#fff0df;color:#ff7900}
.legal-sections{border:1px solid var(--line);border-radius:13px;padding:5px 16px;display:grid;grid-template-columns:1fr 1fr;column-gap:24px}.legal-main,.legal-section>div{min-width:0}.legal-section{display:grid;grid-template-columns:34px 50px minmax(0,1fr);gap:9px;min-height:105px;padding:14px 0;border-bottom:1px solid var(--line);scroll-margin-top:90px}.legal-number{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;color:white;font-weight:800}.legal-number.red{background:var(--red)}.legal-number.blue{background:#0877f9}.legal-number.green{background:#0daf6b}.legal-number.purple{background:#7600ef}.legal-number.orange{background:#ff7900}.legal-section h2{font-size:15px;margin:2px 0 4px}.legal-copy,.legal-copy p,.legal-copy li{font-size:12.5px;line-height:1.38;color:var(--muted);overflow-wrap:break-word}.legal-copy p:last-child{margin-bottom:0}.legal-body .page-footer{margin:18px -30px 0;padding:13px 35px;border-top:1px solid var(--line)}.legal-body .page-footer nav{gap:14px;flex-wrap:wrap;justify-content:flex-end}
.legal-dialog{width:min(560px,calc(100% - 28px));border:0;border-radius:16px;padding:24px;box-shadow:0 24px 80px rgba(6,19,79,.25)}.legal-dialog::backdrop{background:rgba(6,19,79,.45)}.legal-dialog .dialog-close{position:absolute;right:14px;top:12px;border:0;background:none;font-size:28px}.legal-dialog .field{margin-bottom:12px}.legal-dialog .btn{width:100%}
.policy-version-list{display:flex;flex-direction:column}.policy-version-row{display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--line);padding:10px}.policy-version-row>div{display:flex;flex-direction:column;flex:1}.policy-version-row small{color:var(--muted)}.policy-version-row button{border:1px solid var(--line);background:white;border-radius:7px;padding:8px}.policy-preview{margin-top:14px}.policy-json{grid-column:1/-1}.consent-admin-list{display:flex;flex-direction:column;gap:9px}.consent-admin-row{display:grid;grid-template-columns:150px 2fr 130px 80px auto auto auto;gap:8px;align-items:center;border-bottom:1px solid var(--line);padding:8px}.consent-admin-row input:not([type=checkbox]){height:38px;border:1px solid var(--line);border-radius:7px;padding:0 8px}
@media(max-width:900px){.legal-summary-grid{grid-template-columns:1fr 1fr}.legal-sections{grid-template-columns:1fr}.consent-admin-row{grid-template-columns:1fr 1fr}.consent-admin-row input[name=consent_text]{grid-column:1/-1}}
@media(max-width:760px){.legal-body{padding-bottom:0;overflow-x:hidden}.legal-body .topbar{height:90px;padding-left:16px;padding-right:16px}.legal-body .brand{font-size:22px}.legal-body .brandmark{width:48px;height:48px}.legal-body .content{padding:12px 16px 0}.legal-body .desktop-nav,.legal-body .legal-login{display:none}.legal-body .legal-start{min-width:92px;min-height:36px;padding:0 12px}.legal-body .lang{display:none}.legal-hero{display:flex;flex-direction:column;align-items:stretch}.legal-hero h1{font-size:34px}.legal-hero>div:first-child>p:not(.legal-label){font-size:16px}.legal-hero-art{height:150px;margin:15px 0;gap:18px}.legal-document{width:95px;height:95px}.legal-document svg{width:55px;height:55px}.legal-hero-art h2{font-size:18px;max-width:180px}.legal-grid{grid-template-columns:minmax(0,1fr)}.legal-sidebar{display:block;min-width:0}.legal-sidebar .card{position:sticky;top:88px;z-index:8;background:white;padding:8px}.legal-sidebar .card h2{font-size:14px;margin:0}.legal-sidebar nav{flex-direction:row;overflow:auto;max-width:100%}.legal-sidebar nav a{white-space:nowrap;border-left:0;border-bottom:3px solid transparent}.legal-sidebar nav a.active,.legal-sidebar nav a:hover{border-left:0;border-bottom-color:var(--red)}.legal-support-card{display:none}.legal-summary-grid{grid-template-columns:1fr 1fr}.legal-summary{min-height:118px;display:block;min-width:0}.legal-summary>span{width:40px;height:40px;margin-bottom:8px}.legal-sections{padding:4px 12px;min-width:0}.legal-section{grid-template-columns:30px 42px minmax(0,1fr);min-height:0;padding:14px 0}.legal-icon{width:40px;height:40px}.legal-section h2{font-size:15px}.legal-copy{font-size:13px}.legal-body .page-footer{display:flex;flex-direction:column;gap:10px;margin:18px -16px 0;padding:16px}.legal-body .page-footer nav{justify-content:center;gap:11px}.consent-admin-row{grid-template-columns:1fr}.consent-admin-row input[name=consent_text]{grid-column:auto}}
@media(max-width:390px){.legal-summary-grid{grid-template-columns:1fr}.legal-hero h1{font-size:31px}}

body[data-page="policy-manager"] td:first-child b,body[data-page="policy-manager"] td:first-child small{display:block}body[data-page="policy-manager"] td:first-child small{color:var(--muted);margin-top:3px}
@media(max-width:760px){.legal-page{min-width:0;width:100%}.legal-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.legal-summary h2,.legal-summary p{overflow-wrap:break-word}.legal-hero>div{min-width:0}.legal-hero h1{overflow-wrap:break-word}}
@media(max-width:390px){.legal-summary-grid{grid-template-columns:minmax(0,1fr)}}

/* Help & policies inside the app (signed in): help header, policy tabs, then the policy as a document card. */
.lg-in-app{max-width:1360px}
.lg-in-app h1,.lg-in-app h2,.lg-in-app p{margin:0}
.lg-help{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 24px;border-radius:24px;color:#fff;
  background:radial-gradient(520px 260px at 100% 0%,rgba(56,189,248,.35),transparent 60%),radial-gradient(520px 260px at 0% 130%,rgba(16,178,108,.4),transparent 60%),linear-gradient(150deg,#0a2a4d,#0f3a6b 55%,#0b2547);
  box-shadow:0 26px 50px -32px rgba(10,40,80,.9)}
.lg-help-main{display:flex;align-items:center;gap:16px;min-width:0}
.lg-help-icon{flex:none;width:58px;height:58px;border-radius:18px;display:grid;place-items:center;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2)}
.lg-help-icon svg{width:30px;height:30px}
.lg-kicker{font-size:11px;font-weight:800;letter-spacing:1.4px;text-transform:uppercase;color:#7dd3fc}
.lg-help h1{font-size:24px;letter-spacing:-.5px;margin-top:4px;color:#fff}
.lg-help p{margin-top:4px;color:rgba(255,255,255,.75);font-size:14px;max-width:560px}
.lg-help-actions{display:flex;gap:10px;flex:none}
.lg-help-cta{background:#fff;color:#0a2a4d;border:0;font-weight:800}
.lg-help-cta:hover{background:#e0f2fe;color:#0a2a4d}
.lg-tabs{display:flex;gap:8px;overflow-x:auto;margin:16px 0;padding:2px 2px 4px;scrollbar-width:none}
.lg-tabs::-webkit-scrollbar{display:none}
.lg-tabs a{flex:none;display:inline-flex;align-items:center;gap:7px;padding:9px 14px;border-radius:999px;background:#fff;border:1px solid #e3e8f2;color:#33415f;font-size:13px;font-weight:700;white-space:nowrap;transition:border-color .15s,background .15s}
.lg-tabs a svg{width:16px;height:16px;color:#6b7896}
.lg-tabs a:hover{border-color:#b9c6de}
.lg-tabs a.on{background:#0f3a6b;border-color:#0f3a6b;color:#fff}
.lg-tabs a.on svg{color:#7dd3fc}
.lg-doc{padding:20px;border-radius:22px;background:#fff;border:1px solid #e6eaf3}
.lg-doc-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding-bottom:16px;margin-bottom:16px;border-bottom:1px solid #eef1f6}
.lg-doc-head h2{font-size:22px;letter-spacing:-.4px}
.lg-doc-head p{margin-top:4px;color:#6b7896;font-size:14px}
.lg-doc-head small{flex:none;display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;background:#f3f5fa;color:#55617f;font-size:12px;font-weight:600}
.lg-doc-head small svg{width:14px;height:14px}
.lg-in-app .legal-sidebar .card{box-shadow:none}
.lg-in-app .legal-support-card .btn{margin-top:4px}
@media(max-width:760px){
  .lg-help{flex-direction:column;align-items:stretch;padding:18px 16px;border-radius:20px}
  .lg-help-main{align-items:flex-start}
  .lg-help-icon{width:46px;height:46px;border-radius:14px}
  .lg-help h1{font-size:20px}
  .lg-help-cta{width:100%;justify-content:center}
  .lg-doc{padding:14px;border-radius:18px}
  .lg-doc-head{flex-direction:column;gap:8px}
  .lg-in-app .legal-sidebar .card{position:static}
}
