/* TajirPro v64.0.1 — Governance, Help Center and Data Portability */
.registration-consents{display:grid;gap:10px;margin:16px 0 18px;padding:14px;border:1px solid var(--tp-border);border-radius:12px;background:var(--tp-surface-2)}
.registration-consents small{color:var(--tp-muted);font-size:11px}
.consent-check,.consent-row{display:flex;align-items:flex-start;gap:10px;color:var(--tp-text-2);font-size:13px;line-height:1.55}
.consent-check input,.consent-row input{width:17px;height:17px;min-width:17px;margin-top:2px;accent-color:var(--tp-navy-900)}
.consent-check a{color:var(--tp-navy-900);text-decoration:underline;font-weight:800}
.consent-check--optional{padding-top:9px;border-top:1px solid var(--tp-border)}
.help-center-paper,.manual-paper{max-width:980px}
.help-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;margin:24px 0}
.help-search input{min-height:46px;padding:0 15px;border:1px solid var(--tp-border-strong);border-radius:11px;font:inherit}
.help-links{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:25px}
.help-links a{padding:9px 13px;border:1px solid var(--tp-border-strong);border-radius:10px;color:var(--tp-navy-900);font-weight:800;background:var(--tp-surface)}
.help-article-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.help-article{border:1px solid var(--tp-border);border-radius:13px;background:var(--tp-surface);padding:15px}
.help-article summary{cursor:pointer;color:var(--tp-navy-900);font-weight:850}
.help-article p,.help-article li{color:var(--tp-muted);line-height:1.65}
.manual-paper ul,.manual-paper ol{color:var(--tp-text-2);line-height:1.8}
.manual-grid,.template-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.manual-grid ol{padding-left:20px;color:var(--tp-text-2);line-height:1.75}
.data-privacy-actions{margin-bottom:18px}
.data-privacy-actions .action-card{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.data-privacy-actions .action-card .tp-btn{margin-top:auto}
.button-row{display:flex;gap:8px;flex-wrap:wrap}
.cancellation-card{scroll-margin-top:92px}
.inline-review{display:grid;grid-template-columns:120px minmax(160px,1fr) auto;gap:8px;align-items:center;min-width:420px}
.template-grid textarea{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;line-height:1.55}
.policy-section ul{color:var(--tp-text-2);line-height:1.75}
.auth-legal{flex-wrap:wrap}.auth-legal a{white-space:nowrap}
.tp-data-note{padding:13px 15px;border-radius:11px;background:var(--tp-gold-50);border:1px solid var(--tp-gold-400);color:var(--tp-warning);font-size:13px;line-height:1.55}

/* Data & Privacy Center */
.route-owner-operations-data-privacy-index .tp-privacy-card{display:block;padding:22px;margin-top:16px;scroll-margin-top:88px}
.tp-privacy-card__head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:18px;border-bottom:1px solid var(--tp-border)}
.tp-privacy-card__head h2{margin:2px 0 5px;font-size:20px;line-height:1.2}
.tp-privacy-card__head p{max-width:760px;margin:0;color:var(--tp-muted);font-size:13px;line-height:1.6}
.tp-section-kicker{display:block;color:var(--tp-muted-2);font-size:10px;font-weight:850;letter-spacing:.12em;text-transform:uppercase}
.tp-status-pill{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:5px 10px;border:1px solid var(--tp-border);border-radius:999px;background:var(--tp-surface-2);color:var(--tp-muted);font-size:11px;font-weight:800;white-space:nowrap}
.tp-status-pill--success{border-color:rgba(22,163,74,.25);background:var(--tp-success-soft);color:var(--tp-success)}
.tp-status-pill--warning{border-color:rgba(217,119,6,.28);background:var(--tp-warning-soft);color:var(--tp-warning)}
.tp-status-pill--neutral{background:var(--tp-surface-2);color:var(--tp-muted)}

.tp-policy-status-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}
.tp-policy-status{position:relative;display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:13px;align-items:center;min-height:118px;padding:16px;border:1px solid var(--tp-border);border-radius:14px;background:var(--tp-surface);box-shadow:var(--tp-shadow-xs)}
.tp-policy-status.is-accepted{border-color:rgba(22,163,74,.2);background:linear-gradient(135deg,var(--tp-surface),rgba(22,163,74,.025))}
.tp-policy-status.is-pending{border-color:rgba(217,119,6,.28);background:linear-gradient(135deg,var(--tp-surface),rgba(217,119,6,.035))}
.tp-policy-status__icon{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:var(--tp-surface-2);color:var(--tp-muted);border:1px solid var(--tp-border)}
.tp-policy-status.is-accepted .tp-policy-status__icon{background:var(--tp-success-soft);border-color:rgba(22,163,74,.2);color:var(--tp-success)}
.tp-policy-status.is-pending .tp-policy-status__icon{background:var(--tp-warning-soft);border-color:rgba(217,119,6,.22);color:var(--tp-warning)}
.tp-policy-status__icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.tp-policy-status__body{min-width:0}
.tp-policy-status__title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.tp-policy-status__title h3{margin:0;font-size:15px}
.tp-policy-status__title span,.tp-version-badge{display:inline-flex;align-items:center;min-height:23px;padding:3px 8px;border-radius:999px;background:var(--tp-surface-2);border:1px solid var(--tp-border);color:var(--tp-muted);font-size:10px;font-weight:800}
.tp-policy-status__body p{margin:6px 0 2px;color:var(--tp-text-2);font-size:12px}
.tp-policy-status__body small{color:var(--tp-muted);font-size:11px}
.tp-policy-status__link{align-self:start;padding:6px 8px;border-radius:8px;color:var(--tp-navy-900);font-size:11px;font-weight:800;white-space:nowrap}
.tp-policy-status__link:hover{background:var(--tp-gold-50);color:var(--tp-navy-950)}

.tp-policy-action-panel{display:grid;grid-template-columns:minmax(230px,.85fr) minmax(0,1.4fr);gap:22px;margin-top:18px;padding:18px;border:1px solid rgba(217,119,6,.25);border-radius:14px;background:var(--tp-warning-soft)}
.tp-policy-action-copy h3{margin:0 0 6px;font-size:16px}
.tp-policy-action-copy p{margin:0;color:var(--tp-text-2);font-size:12px;line-height:1.65}
.tp-policy-acceptance-form{display:grid;gap:11px;padding:16px;border:1px solid rgba(217,119,6,.18);border-radius:12px;background:var(--tp-surface)}
.tp-policy-form-row{display:grid;grid-template-columns:minmax(220px,1fr) auto;gap:12px;align-items:end}
.tp-policy-form-row .tp-btn{min-width:170px;white-space:nowrap}

.tp-consent-control{position:relative;display:flex;align-items:flex-start;gap:11px;cursor:pointer;color:var(--tp-text-2);font-size:13px;line-height:1.55}
.tp-consent-control>input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.tp-consent-control__box{position:relative;display:grid;place-items:center;flex:0 0 20px;width:20px;height:20px;margin-top:1px;border:1.5px solid var(--tp-border-strong);border-radius:6px;background:var(--tp-surface);transition:.16s ease}
.tp-consent-control__box:after{content:"";width:9px;height:5px;border:2px solid var(--tp-navy-950);border-top:0;border-right:0;transform:rotate(-45deg) scale(0);transition:.14s ease}
.tp-consent-control>input:checked+.tp-consent-control__box{border-color:var(--tp-gold-500);background:var(--tp-gold-500)}
.tp-consent-control>input:checked+.tp-consent-control__box:after{transform:rotate(-45deg) scale(1)}
.tp-consent-control>input:focus-visible+.tp-consent-control__box{box-shadow:0 0 0 4px rgba(244,182,43,.22)}
.tp-consent-control__copy{min-width:0}
.tp-consent-control__copy a{color:var(--tp-navy-900);font-weight:800;text-decoration:underline;text-decoration-color:var(--tp-gold-500);text-underline-offset:2px}
.tp-consent-control__copy strong,.tp-consent-control__copy small{display:block}
.tp-consent-control__copy strong{margin-bottom:3px;color:var(--tp-text);font-size:13px}
.tp-consent-control__copy small{color:var(--tp-muted);font-size:11px;line-height:1.55}
.tp-field-error{margin:0;color:var(--tp-danger);font-size:11px;font-weight:750;line-height:1.45}
.route-owner-operations-data-privacy-index input[aria-invalid="true"]{border-color:var(--tp-danger);box-shadow:0 0 0 3px rgba(220,38,38,.08)}

.tp-policy-complete-note{display:flex;align-items:flex-start;gap:12px;margin-top:18px;padding:15px 16px;border:1px solid rgba(22,163,74,.22);border-radius:13px;background:var(--tp-success-soft)}
.tp-policy-complete-note__icon{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:50%;background:var(--tp-success);color:var(--tp-surface);font-weight:900}
.tp-policy-complete-note strong{display:block;color:var(--tp-success);font-size:13px}
.tp-policy-complete-note p{margin:3px 0 0;color:var(--tp-text-2);font-size:12px}

.tp-policy-history{margin-top:18px;border:1px solid var(--tp-border);border-radius:13px;background:var(--tp-surface);overflow:hidden}
.tp-policy-history>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:12px 15px;cursor:pointer;color:var(--tp-navy-900);font-size:13px;font-weight:800;list-style:none}
.tp-policy-history>summary::-webkit-details-marker{display:none}
.tp-policy-history>summary:after{content:"+";display:grid;place-items:center;width:24px;height:24px;margin-left:auto;border-radius:7px;background:var(--tp-surface-2);color:var(--tp-navy-900);font-size:16px}
.tp-policy-history[open]>summary:after{content:"−"}
.tp-policy-history__count{margin-right:4px;color:var(--tp-muted);font-size:11px;font-weight:700}
.tp-policy-history .table-wrap{margin:0;border:0;border-top:1px solid var(--tp-border);border-radius:0;box-shadow:none}

.tp-marketing-consent-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center;margin-top:18px;padding:17px;border:1px solid var(--tp-border);border-radius:14px;background:var(--tp-surface-2)}
.tp-marketing-consent-form .tp-field-error{grid-column:1/-1}
.tp-marketing-consent-form .tp-btn{min-width:150px;white-space:nowrap}
.tp-consent-control--switch{align-items:center}
.tp-consent-switch{position:relative;flex:0 0 44px;width:44px;height:25px;border-radius:999px;background:var(--tp-border-strong);transition:.18s ease}
.tp-consent-switch span{position:absolute;top:3px;left:3px;width:19px;height:19px;border-radius:50%;background:var(--tp-surface);box-shadow:0 2px 6px rgba(11,41,72,.2);transition:.18s ease}
.tp-consent-control>input:checked+.tp-consent-switch{background:var(--tp-success)}
.tp-consent-control>input:checked+.tp-consent-switch span{transform:translateX(19px)}
.tp-consent-control>input:focus-visible+.tp-consent-switch{box-shadow:0 0 0 4px rgba(22,163,74,.14)}

@media(max-width:900px){
  .manual-grid,.template-grid,.help-article-grid{grid-template-columns:1fr}
  .inline-review{grid-template-columns:1fr;min-width:220px}
  .tp-policy-status-grid{grid-template-columns:1fr}
  .tp-policy-action-panel{grid-template-columns:1fr}
}
@media(max-width:720px){
  .route-owner-operations-data-privacy-index .tp-privacy-card{padding:16px}
  .tp-privacy-card__head{display:grid;gap:10px}
  .tp-privacy-card__head .tp-status-pill{justify-self:start}
  .tp-policy-status{grid-template-columns:40px minmax(0,1fr)}
  .tp-policy-status__icon{width:40px;height:40px}
  .tp-policy-status__link{grid-column:2;justify-self:start;padding-left:0}
  .tp-policy-form-row,.tp-marketing-consent-form{grid-template-columns:1fr}
  .tp-policy-form-row .tp-btn,.tp-marketing-consent-form .tp-btn{width:100%;min-width:0}
}
@media(max-width:620px){
  .help-search{grid-template-columns:1fr}
  .help-search .tp-btn{width:100%}
  .registration-consents{padding:12px}
  .button-row{width:100%}.button-row .tp-btn{flex:1}
  .data-privacy-actions{grid-template-columns:1fr}
  .manual-grid,.template-grid{gap:12px}
  .tp-policy-status{padding:14px}
  .tp-policy-history>summary{flex-wrap:wrap}
}


.tp-release-marker{display:block;margin:0 10px 7px;text-align:center;font-size:10px;line-height:1.2;letter-spacing:.08em;color:rgba(226,232,240,.62);user-select:text}.sidebar-bottom-compact .tp-release-marker+form{margin-top:0}
