
 
/* COOKIE BANNER */
#cookie-banner{
  position:fixed;bottom:0;left:0;right:0;z-index:9999;
  background:#fff;border-top:1px solid #E5E7EB;
  box-shadow:0 -4px 24px rgba(0,0,0,0.1);
  transform:translateY(100%);
  transition:transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
#cookie-banner.visible{transform:translateY(0)}
.cookie-banner-inner{max-width:1120px;margin:0 auto;padding:20px 28px;display:flex;align-items:flex-start;gap:32px;flex-wrap:wrap}
.cookie-logo{display:flex;align-items:center;gap:8px;flex-shrink:0;margin-top:2px}
.cookie-logo span{font-weight:700;font-size:0.95rem;color:#111827;letter-spacing:-0.01em}
.cookie-logo em{font-style:normal;color:#2563EB}
.cookie-text{flex:1;min-width:240px}
.cookie-text h3{font-size:0.95rem;font-weight:700;color:#111827;margin-bottom:5px}
.cookie-text p{font-size:0.82rem;color:#4B5563;line-height:1.6}
.cookie-text a{font-weight:600}
.cookie-actions{display:flex;flex-direction:column;gap:8px;flex-shrink:0;min-width:180px}
.cookie-actions .cb{padding:10px 20px;border-radius:8px;font-family:'Sora',sans-serif;font-weight:600;font-size:0.82rem;cursor:pointer;border:none;transition:all 0.17s;width:100%;text-align:center}
.cb-accept{background:#2563EB;color:#fff}
.cb-accept:hover{background:#1D4ED8}
.cb-manage{background:#F9FAFB;color:#111827;border:1px solid #E5E7EB}
.cb-manage:hover{background:#F3F4F6}
.cb-reject{background:none;color:#6B7280;font-size:0.78rem;padding:6px 20px;border:none;cursor:pointer;font-family:'Sora',sans-serif;font-weight:500;text-decoration:underline}
.cb-reject:hover{color:#111827}
 
/* PREFERENCES MODAL */
#pref-modal{
  position:fixed;inset:0;z-index:10000;
  background:rgba(0,0,0,0.45);
  display:none;align-items:center;justify-content:center;padding:24px;
}
#pref-modal.open{display:flex}
.pref-card{
  background:#fff;border-radius:var(--radius-lg);max-width:560px;width:100%;max-height:90vh;overflow-y:auto;
  box-shadow:0 20px 60px rgba(0,0,0,0.2);
}
.pref-header{padding:24px 28px 0;border-bottom:1px solid #F3F4F6;padding-bottom:20px}
.pref-header h2{font-size:1.1rem;font-weight:700;color:#111827;margin-bottom:5px}
.pref-header p{font-size:0.82rem;color:#6B7280;line-height:1.6}
.pref-body{padding:20px 28px}
.pref-item{padding:16px 0;border-bottom:1px solid #F9FAFB}
.pref-item:last-child{border-bottom:none}
.pref-item-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:6px}
.pref-item-top h4{font-size:0.88rem;font-weight:600;color:#111827}
.pref-item p{font-size:0.78rem;color:#6B7280;line-height:1.6}
/* Toggle */
.toggle-wrap{flex-shrink:0}
.toggle{position:relative;width:44px;height:24px;display:inline-block}
.toggle input{opacity:0;width:0;height:0;position:absolute}
.toggle-slider{position:absolute;inset:0;background:#E5E7EB;border-radius:100px;cursor:pointer;transition:background 0.2s}
.toggle-slider::before{content:'';position:absolute;width:18px;height:18px;left:3px;top:3px;background:#fff;border-radius:50%;transition:transform 0.2s;box-shadow:0 1px 3px rgba(0,0,0,0.2)}
.toggle input:checked+.toggle-slider{background:#2563EB}
.toggle input:checked+.toggle-slider::before{transform:translateX(20px)}
.toggle input:disabled+.toggle-slider{cursor:not-allowed;opacity:0.6}
.badge-required{background:#F3F4F6;color:#6B7280;font-size:0.65rem;font-weight:600;letter-spacing:0.06em;text-transform:uppercase;padding:2px 8px;border-radius:100px}
.pref-footer{padding:20px 28px;border-top:1px solid #F3F4F6;display:flex;gap:10px;flex-wrap:wrap}
.pref-footer .cb{padding:11px 22px;border-radius:8px;font-family:'Sora',sans-serif;font-weight:600;font-size:0.875rem;cursor:pointer;border:none;transition:all 0.17s;flex:1;text-align:center}
 

 
/* PAGE LAYOUT */
.page-wrap{max-width:1120px;margin:0 auto;padding:0 28px;display:grid;grid-template-columns:240px 1fr;gap:56px;align-items:start;padding-bottom:100px}
.toc{position:sticky;top:80px}
.toc-inner{background:#F9FAFB;border:1px solid #E5E7EB;border-radius:var(--radius);padding:20px}
.toc h4{font-size:0.75rem;font-weight:700;letter-spacing:0.07em;text-transform:uppercase;color:#6B7280;margin-bottom:14px}
.toc-section{margin-bottom:20px}
.toc-section-title{font-size:0.72rem;font-weight:700;letter-spacing:0.05em;text-transform:uppercase;color:#9CA3AF;margin-bottom:8px}
.toc ul{list-style:none;display:flex;flex-direction:column;gap:3px}
.toc ul a{font-size:0.8rem;color:#4B5563;display:block;padding:4px 8px;border-radius:6px;transition:all 0.15s;font-weight:500}
.toc ul a:hover,.toc ul a.active{background:#EFF6FF;color:#2563EB;text-decoration:none}
.toc-divider{height:1px;background:#E5E7EB;margin:10px 0}
 
/* CONTENT AREA */
.content-area{padding-top:48px}
.doc-section{margin-bottom:72px}
.doc-header{margin-bottom:40px;padding-bottom:32px;border-bottom:1px solid #F3F4F6}
.doc-badge{display:inline-block;background:#EFF6FF;color:#1D4ED8;font-size:0.7rem;font-weight:700;letter-spacing:0.08em;text-transform:uppercase;padding:4px 12px;border-radius:100px;border:1px solid #DBEAFE;margin-bottom:14px}
.doc-header h1{font-size:2rem;font-weight:800;color:#111827;letter-spacing:-0.03em;margin-bottom:10px}
.doc-header p{font-size:0.875rem;color:#6B7280}
.doc-header .meta{display:flex;gap:20px;margin-top:14px;flex-wrap:wrap}
.meta-item{font-size:0.78rem;color:#9CA3AF;display:flex;align-items:center;gap:5px}
.meta-item svg{color:#9CA3AF}
 
.legal-section{margin-bottom:48px}
.legal-section h2{font-size:1.2rem;font-weight:700;color:#111827;margin-bottom:14px;letter-spacing:-0.01em;padding-top:8px}
.legal-section h3{font-size:0.95rem;font-weight:600;color:#1F2937;margin-bottom:10px;margin-top:20px}
.legal-section p{font-size:0.88rem;color:#4B5563;line-height:1.8;margin-bottom:12px}
.legal-section ul,.legal-section ol{margin:12px 0 16px 0;padding-left:0;list-style:none;display:flex;flex-direction:column;gap:7px}
.legal-section ul li,.legal-section ol li{font-size:0.88rem;color:#4B5563;line-height:1.7;display:flex;gap:10px;align-items:flex-start}
.li-dot{width:18px;height:18px;border-radius:50%;background:#EFF6FF;border:1px solid #DBEAFE;display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-top:2px}
.li-dot svg{color:#2563EB}
.li-num{width:20px;font-size:0.78rem;font-weight:700;color:#2563EB;flex-shrink:0;padding-top:2px}
.info-box{background:#EFF6FF;border:1px solid #DBEAFE;border-radius:var(--radius);padding:16px 18px;margin:16px 0}
.info-box p{font-size:0.83rem;color:#1D4ED8;margin:0;line-height:1.65}
.warn-box{background:#FFFBEB;border:1px solid #FDE68A;border-radius:var(--radius);padding:16px 18px;margin:16px 0}
.warn-box p{font-size:0.83rem;color:#92400E;margin:0;line-height:1.65}
.data-table{width:100%;border-collapse:collapse;margin:16px 0;font-size:0.83rem}
.data-table th{background:#F9FAFB;color:#374151;font-weight:600;text-align:left;padding:10px 14px;border:1px solid #E5E7EB;font-size:0.78rem;letter-spacing:0.03em;text-transform:uppercase}
.data-table td{padding:10px 14px;border:1px solid #E5E7EB;color:#4B5563;vertical-align:top;line-height:1.6}
.data-table tr:nth-child(even) td{background:#FAFAFA}
 
/* Tabs */
.tabs{display:flex;gap:4px;background:#F3F4F6;padding:4px;border-radius:10px;margin-bottom:48px}
.tab-btn{flex:1;padding:10px 16px;background:none;border:none;cursor:pointer;font-family:'Sora',sans-serif;font-weight:600;font-size:0.8rem;color:#6B7280;border-radius:8px;transition:all 0.17s;white-space:nowrap}
.tab-btn.active{background:#fff;color:#111827;box-shadow:0 1px 3px rgba(0,0,0,0.1)}
.tab-panel{display:none}
.tab-panel.active{display:block}
 
/* Last updated pill */
.updated-pill{display:inline-flex;align-items:center;gap:6px;background:#F0FDF4;border:1px solid #BBF7D0;color:#15803D;font-size:0.72rem;font-weight:600;padding:4px 12px;border-radius:100px}
 
@media(max-width:900px){
  .page-wrap{grid-template-columns:1fr;gap:0}
  .toc{position:static;margin-bottom:24px}
  .toc-inner{display:none}
}
@media(max-width:640px){
  .tabs{flex-direction:column}
  .cookie-banner-inner{flex-direction:column;gap:16px}
  .cookie-actions{min-width:100%;flex-direction:row;flex-wrap:wrap}
  .cookie-actions .cb{flex:1;min-width:120px}
}