:root{--xxlr-dark:#121018;--xxlr-ink:#1f1b24;--xxlr-muted:#7b7284;--xxlr-line:#eee8e5;--xxlr-bg:#fff8f5;--xxlr-card:#fff;--xxlr-coral:#ff5a5f;--xxlr-orange:#ff8a4c;--xxlr-gold:#f7b955;--xxlr-green:#23a96f;--xxlr-shadow:0 24px 70px rgba(31,27,36,.10)}
.xxlr-body{margin:0;background:linear-gradient(180deg,#fff8f5,#fff);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--xxlr-ink)}
.xxlr-route-shell{min-height:100vh}.xxlr-page{max-width:1180px;margin:0 auto;padding:24px}.xxlr-nav{display:flex;justify-content:space-between;align-items:center;padding:14px 0;margin-bottom:16px}.xxlr-nav strong{font-size:22px}.xxlr-nav span{color:var(--xxlr-muted)}
.xxlr-hero{display:grid;grid-template-columns:1.5fr .8fr;gap:22px;align-items:stretch;background:radial-gradient(circle at 15% 10%,rgba(255,90,95,.20),transparent 32%),linear-gradient(135deg,#191421,#2a1d23);color:#fff;border-radius:34px;padding:38px;box-shadow:var(--xxlr-shadow);overflow:hidden}.xxlr-hero.private{background:radial-gradient(circle at 20% 10%,rgba(255,138,76,.24),transparent 35%),linear-gradient(135deg,#16131d,#151515)}
.xxlr-pill{display:inline-flex;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.25);border-radius:999px;padding:7px 12px;font-size:13px}.xxlr-hero h1{font-size:clamp(38px,5vw,76px);line-height:.95;margin:18px 0 8px;letter-spacing:-.06em}.xxlr-hero p{color:rgba(255,255,255,.72)}.xxlr-hero-score{font-size:64px;font-weight:850;letter-spacing:-.06em;margin-top:12px}.xxlr-hero-score small{font-size:24px;color:rgba(255,255,255,.6)}.xxlr-muted{color:var(--xxlr-muted)!important}.xxlr-stars{color:var(--xxlr-gold);letter-spacing:2px;font-size:18px}.xxlr-index-card,.xxlr-actions{background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.16);border-radius:26px;padding:26px;backdrop-filter:blur(14px)}.xxlr-index-card strong{display:block;font-size:58px;letter-spacing:-.06em}.xxlr-actions{display:flex;flex-direction:column;gap:12px;justify-content:center}
.xxlr-section{margin:26px 0;background:var(--xxlr-card);border:1px solid var(--xxlr-line);border-radius:30px;padding:28px;box-shadow:0 18px 54px rgba(31,27,36,.06)}.xxlr-section-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-end;margin-bottom:18px}.xxlr-section h2{font-size:30px;margin:0;letter-spacing:-.04em}.xxlr-section p{color:var(--xxlr-muted)}
.xxlr-provider-grid,.xxlr-metric-grid,.xxlr-strategy-grid,.xxlr-rec-grid,.xxlr-split{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.xxlr-provider-card,.xxlr-metric,.xxlr-strategy,.xxlr-rec,.xxlr-panel,.xxlr-review,.xxlr-memory,.xxlr-pricing article,.xxlr-invoice{background:#fff;border:1px solid var(--xxlr-line);border-radius:24px;padding:20px;box-shadow:0 12px 36px rgba(31,27,36,.05)}.xxlr-provider-top{display:flex;gap:10px;align-items:center}.xxlr-provider-icon{width:38px;height:38px;border-radius:14px;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,var(--xxlr-coral),var(--xxlr-orange));font-weight:800}.xxlr-provider-rating{font-size:34px;font-weight:850;letter-spacing:-.05em;margin-top:14px}.xxlr-provider-rating.muted{font-size:24px;color:var(--xxlr-muted)}.xxlr-provider-extra{display:flex;justify-content:space-between;margin:14px 0;padding-top:12px;border-top:1px solid var(--xxlr-line);font-size:13px;color:var(--xxlr-muted)}
.xxlr-metric span,.xxlr-panel span,.xxlr-rec span{color:var(--xxlr-coral);font-size:13px;text-transform:uppercase;letter-spacing:.08em;font-weight:800}.xxlr-metric strong,.xxlr-panel strong{display:block;font-size:34px;letter-spacing:-.04em;margin:8px 0}.xxlr-metric.highlight{background:linear-gradient(135deg,#fff3ed,#fff)}.xxlr-bar{height:9px;background:#f2ece9;border-radius:999px;overflow:hidden}.xxlr-bar i{display:block;height:100%;background:linear-gradient(90deg,var(--xxlr-coral),var(--xxlr-orange));border-radius:999px}.xxlr-strategy div:first-child{display:flex;justify-content:space-between;margin-bottom:10px}.xxlr-rec{background:linear-gradient(180deg,#fff,#fff8f5)}.xxlr-rec h3{margin:7px 0;font-size:22px}
.xxlr-chart{height:260px;display:flex;gap:16px;align-items:flex-end;border-radius:22px;background:linear-gradient(180deg,#fff8f5,#fff);padding:22px}.xxlr-chart-col{flex:1;display:flex;flex-direction:column;align-items:center;gap:8px;height:100%}.xxlr-chart-col i{margin-top:auto;width:100%;max-width:54px;background:linear-gradient(180deg,var(--xxlr-coral),var(--xxlr-orange));border-radius:16px 16px 4px 4px}.xxlr-chart-col span{font-weight:800}.xxlr-chart-col small{color:var(--xxlr-muted)}
.xxlr-review-list{display:grid;gap:14px}.xxlr-review>div:first-child{display:flex;justify-content:space-between}.xxlr-review span{color:var(--xxlr-muted);font-size:13px}.xxlr-review-ai{background:#fff8f5;border:1px solid #ffe1d4;border-radius:16px;padding:14px;margin-top:12px}.xxlr-memory{background:#16131d;color:#fff}.xxlr-memory p,.xxlr-memory span{color:rgba(255,255,255,.68)}
.xxlr-badge{display:inline-flex;flex-direction:column;gap:4px;min-width:240px;border-radius:24px;padding:18px 20px;background:#fff;border:1px solid var(--xxlr-line);box-shadow:var(--xxlr-shadow)}.xxlr-badge.luxury,.xxlr-badge.glass{background:linear-gradient(135deg,#191421,#2b1a20);color:#fff}.xxlr-badge strong{font-size:30px}.xxlr-badge small{color:var(--xxlr-muted)}.xxlr-badge.luxury small,.xxlr-badge.glass small{color:rgba(255,255,255,.68)}.xxlr-badge-zone{text-align:center}.xxlr-widget .xxlr-section{box-shadow:none}
.xxlr-button{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:linear-gradient(135deg,var(--xxlr-coral),var(--xxlr-orange));color:#fff!important;text-decoration:none;padding:13px 18px;font-weight:850;border:0}.xxlr-button.ghost{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.22)}.xxlr-pricing{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:24px}.xxlr-pricing strong{display:block;font-size:36px;margin:18px 0}.xxlr-pricing .best{border-color:#ffd3c0;background:#fff8f5}.xxlr-invoice{max-width:720px;margin:40px auto}
@media(max-width:900px){.xxlr-hero,.xxlr-provider-grid,.xxlr-metric-grid,.xxlr-strategy-grid,.xxlr-rec-grid,.xxlr-split,.xxlr-pricing{grid-template-columns:1fr}.xxlr-section-head{display:block}.xxlr-page{padding:14px}.xxlr-hero{padding:26px;border-radius:24px}.xxlr-hero h1{font-size:42px}.xxlr-hero-score{font-size:46px}}

/* V3.4 predictive intelligence */
.xxlr-predictive{border:1px solid rgba(255,104,80,.22);background:linear-gradient(135deg,rgba(255,104,80,.08),rgba(255,255,255,.94));}
.xxlr-prediction-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:18px}
.xxlr-prediction-card{background:#fff;border:1px solid rgba(20,20,30,.08);border-radius:22px;padding:18px;box-shadow:0 16px 40px rgba(20,20,30,.08)}
.xxlr-prediction-card.main{background:linear-gradient(135deg,#17131f,#33243b);color:#fff}
.xxlr-prediction-card span,.xxlr-ai-plan span{display:block;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#ff6b57;font-weight:800;margin-bottom:8px}
.xxlr-prediction-card strong{display:block;font-size:30px;line-height:1.05;margin-bottom:8px}
.xxlr-prediction-card p{margin:0;color:#6b6471;font-size:14px;line-height:1.45}.xxlr-prediction-card.main p{color:rgba(255,255,255,.78)}
.xxlr-ai-plan strong{display:block;font-size:24px;margin:8px 0}.xxlr-ai-plan small{display:block;margin-top:8px;color:#7d7482}
.xxlr-memory-list{display:grid;gap:10px;margin-top:18px}.xxlr-memory-item{border:1px solid rgba(255,104,80,.18);background:#fff7f5;border-radius:16px;padding:14px;color:#312936;font-weight:700}
@media(max-width:980px){.xxlr-prediction-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.xxlr-prediction-grid{grid-template-columns:1fr}}

/* V3.5 provider API + billing additions */
.xxlr-api-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin-top:18px}
.xxlr-api-card{background:rgba(255,255,255,.88);border:1px solid rgba(16,24,40,.08);border-radius:22px;padding:18px;box-shadow:0 16px 40px rgba(16,24,40,.06)}
.xxlr-api-card div{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}
.xxlr-api-card strong{font-size:16px;color:#171717}.xxlr-api-card span{font-size:12px;background:#fff3ed;color:#e85d3f;border-radius:999px;padding:6px 9px;font-weight:800}.xxlr-api-card p{margin:0 0 8px;color:#475467}.xxlr-api-card small{color:#667085;line-height:1.5}.xxlr-note{margin-top:16px;background:#101828;color:#fff;border-radius:20px;padding:16px 18px;line-height:1.55}.xxlr-note b{color:#ff9a7a}
.xxlr-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.xxlr-review-ai b{display:block;margin-bottom:6px}.xxlr-invoice{background:#fff;border-radius:28px;padding:36px;box-shadow:0 20px 60px rgba(16,24,40,.08);max-width:760px;margin:40px auto}
@media(max-width:760px){.xxlr-actions{align-items:stretch}.xxlr-actions .xxlr-button{width:100%;text-align:center}}

/* V3.6 provider/API editable area */
.xxlr-provider-config .xxlr-success{background:#e9fff3;border:1px solid #89e3ad;color:#116133;padding:12px 14px;border-radius:14px;margin:12px 0;font-weight:700}
.xxlr-provider-form{margin-top:18px}
.xxlr-api-card-form label{display:block;margin-top:12px;font-size:12px;font-weight:800;color:#322;letter-spacing:.01em}
.xxlr-api-card-form input,.xxlr-api-card-form select{width:100%;box-sizing:border-box;margin-top:6px;border:1px solid rgba(20,20,20,.12);border-radius:12px;padding:10px 12px;background:#fff;color:#151515;outline:none}
.xxlr-api-card-form input:focus,.xxlr-api-card-form select:focus{border-color:#ff6b5f;box-shadow:0 0 0 4px rgba(255,107,95,.12)}
.xxlr-switch{display:flex!important;align-items:center;gap:8px;background:rgba(255,107,95,.08);border-radius:999px;padding:8px 10px;width:max-content!important;color:#ff5a4f!important}
.xxlr-switch input{width:auto!important;margin:0!important}
.xxlr-form-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px;align-items:center}
.xxlr-note{background:linear-gradient(135deg,rgba(255,107,95,.10),rgba(255,255,255,.72));border:1px solid rgba(255,107,95,.20);border-radius:18px;padding:16px;margin:16px 0;color:#47302e}
.xxlr-config-links{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:12px 0;padding:10px;border-radius:14px;background:rgba(255,108,86,.08);border:1px solid rgba(255,108,86,.18)}
.xxlr-chip{display:inline-flex;align-items:center;padding:7px 10px;border-radius:999px;background:#fff;color:#222;text-decoration:none;font-size:12px;font-weight:700;border:1px solid rgba(0,0,0,.08)}
.xxlr-chip:hover{border-color:#ff6c56;color:#ff6c56}.xxlr-chip.muted{opacity:.62}.xxlr-chip.warning{background:#fff3ef;color:#b34832;border-color:#ffd2c7}

/* V3.8 hospitality automatic connectors */
.xxlr-stream-section{border:1px solid rgba(255,112,67,.22);background:linear-gradient(180deg,#fff,#fff7f3)}
.xxlr-stream-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:18px}
.xxlr-stream-card{padding:18px;border-radius:22px;background:#fff;box-shadow:0 18px 40px rgba(29,29,31,.08);border:1px solid rgba(20,20,20,.06)}
.xxlr-stream-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:8px}
.xxlr-stream-top strong{font-size:16px;color:#191919}.xxlr-stream-top span{font-size:12px;border-radius:999px;padding:6px 10px;background:#fff1ea;color:#bf4c2b;white-space:nowrap}.xxlr-stream-top span.ok{background:#e8fbef;color:#137a38}.xxlr-stream-top span.pending{background:#fff4df;color:#986000}
.xxlr-stream-card p{color:#5d5d65;margin:8px 0 12px}.xxlr-stream-card ul{padding-left:18px;margin:0;color:#333}.xxlr-stream-card li{margin:4px 0}.xxlr-stream-console{margin-top:18px;padding:18px;border-radius:24px;background:#151515;color:#fff;display:grid;grid-template-columns:300px 1fr;gap:18px}.xxlr-stream-console p{color:#cfcfd4}.xxlr-stream-list{display:grid;gap:10px}.xxlr-stream-list article{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);padding:14px;border-radius:18px}.xxlr-stream-list span{display:block;color:#ffb195;font-size:12px}.xxlr-stream-list b{display:block;margin:4px 0}.xxlr-stream-list p{margin:0;color:#f2f2f4}.xxlr-provider-config .xxlr-api-card-form label select{width:100%;margin-top:6px;padding:10px;border-radius:12px;border:1px solid rgba(0,0,0,.12);background:#fff}.xxlr-provider-config .xxlr-api-card-form label{display:block;margin:10px 0;font-size:12px;color:#555}.xxlr-provider-config .xxlr-api-card-form input{width:100%;box-sizing:border-box}.xxlr-config-links{margin:12px 0;display:flex;flex-wrap:wrap;gap:8px;align-items:center}.xxlr-chip.warning{background:#fff4df;color:#9c6200}.xxlr-chip.muted{opacity:.7}
@media(max-width:900px){.xxlr-stream-grid{grid-template-columns:1fr}.xxlr-stream-console{grid-template-columns:1fr}}

/* V4.0 MOBILE FIX PACK — buttons, cards, tables, forms */
.xxlr-page,.xxlr-section,.xxlr-hero,.xxlr-panel,.xxlr-provider-card,.xxlr-api-card,.xxlr-stream-card{box-sizing:border-box;max-width:100%}
.xxlr-button,button.xxlr-button,input.xxlr-button{cursor:pointer;min-height:46px;white-space:normal;line-height:1.2;text-align:center;gap:8px}
.xxlr-button:focus-visible,.xxlr-chip:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(255,90,95,.28);outline-offset:2px}
.xxlr-actions,.xxlr-form-actions,.xxlr-config-links,.xxlr-section-head,.xxlr-provider-extra,.xxlr-stream-top{min-width:0}
.xxlr-actions a,.xxlr-actions button,.xxlr-form-actions a,.xxlr-form-actions button,.xxlr-config-links a{flex:0 1 auto}
.xxlr-provider-card,.xxlr-api-card,.xxlr-stream-card,.xxlr-review,.xxlr-metric{overflow:hidden}
.xxlr-provider-card *,.xxlr-api-card *,.xxlr-stream-card *,.xxlr-review *,.xxlr-metric *{min-width:0;overflow-wrap:anywhere;word-break:normal}
.xxlr-provider-extra{gap:10px;flex-wrap:wrap}.xxlr-provider-extra > *{min-width:0}
.xxlr-table-wrap{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:18px}
.xxlr-table-wrap table{min-width:680px}
.xxlr-api-card-form input,.xxlr-api-card-form select,.xxlr-api-card-form textarea{font-size:16px;min-height:44px}

@media(max-width:760px){
  html,body{overflow-x:hidden}
  .xxlr-page{padding:12px!important;width:100%!important}
  .xxlr-nav{display:flex;flex-direction:column;align-items:flex-start!important;gap:8px;padding:10px 0!important}
  .xxlr-nav strong{font-size:20px!important}.xxlr-nav span{font-size:13px!important}
  .xxlr-hero{display:block!important;padding:22px!important;border-radius:24px!important;margin:0!important}
  .xxlr-hero h1{font-size:34px!important;line-height:1!important;letter-spacing:-.05em!important;word-break:normal!important}
  .xxlr-hero p{font-size:15px!important;line-height:1.55!important}
  .xxlr-hero-score{font-size:40px!important}.xxlr-hero-score small{font-size:18px!important}
  .xxlr-index-card,.xxlr-actions{margin-top:16px!important;padding:18px!important;border-radius:20px!important}
  .xxlr-index-card strong{font-size:42px!important}
  .xxlr-section{padding:18px!important;border-radius:22px!important;margin:16px 0!important}
  .xxlr-section h2{font-size:24px!important;line-height:1.1!important}.xxlr-section p{font-size:15px!important;line-height:1.55!important}
  .xxlr-section-head{display:block!important;margin-bottom:14px!important}.xxlr-section-head > * + *{margin-top:10px!important}
  .xxlr-provider-grid,.xxlr-metric-grid,.xxlr-strategy-grid,.xxlr-rec-grid,.xxlr-split,.xxlr-pricing,.xxlr-api-grid,.xxlr-stream-grid,.xxlr-prediction-grid{display:grid!important;grid-template-columns:1fr!important;gap:12px!important}
  .xxlr-provider-card,.xxlr-metric,.xxlr-strategy,.xxlr-rec,.xxlr-panel,.xxlr-review,.xxlr-memory,.xxlr-pricing article,.xxlr-invoice,.xxlr-api-card,.xxlr-stream-card,.xxlr-prediction-card{padding:16px!important;border-radius:20px!important}
  .xxlr-provider-top{align-items:center!important}.xxlr-provider-icon{width:34px!important;height:34px!important;border-radius:12px!important;flex:0 0 34px!important}
  .xxlr-provider-rating{font-size:28px!important}.xxlr-provider-rating.muted{font-size:20px!important}
  .xxlr-provider-extra{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;font-size:12px!important}
  .xxlr-metric strong,.xxlr-panel strong{font-size:28px!important}.xxlr-rec h3{font-size:20px!important}
  .xxlr-actions,.xxlr-form-actions{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;width:100%!important;align-items:stretch!important}
  .xxlr-actions .xxlr-button,.xxlr-form-actions .xxlr-button,.xxlr-actions a,.xxlr-form-actions a,.xxlr-actions button,.xxlr-form-actions button{width:100%!important;max-width:none!important;box-sizing:border-box!important;justify-content:center!important;display:flex!important}
  .xxlr-button{width:100%;box-sizing:border-box;padding:14px 16px!important;border-radius:16px!important;font-size:15px!important}
  .xxlr-button.ghost{background:rgba(255,255,255,.12)!important}
  .xxlr-config-links{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;padding:10px!important}
  .xxlr-config-links .xxlr-chip,.xxlr-chip{width:100%!important;box-sizing:border-box!important;justify-content:center!important;text-align:center!important;border-radius:14px!important;padding:10px 12px!important}
  .xxlr-stream-console{display:grid!important;grid-template-columns:1fr!important;padding:16px!important;border-radius:20px!important;gap:12px!important}
  .xxlr-stream-top{display:block!important}.xxlr-stream-top span{display:inline-flex!important;margin-top:8px!important;white-space:normal!important}
  .xxlr-review>div:first-child{display:block!important}.xxlr-review>div:first-child > * + *{margin-top:8px!important}
  .xxlr-chart{height:220px!important;gap:8px!important;padding:14px!important;overflow-x:auto!important}.xxlr-chart-col{min-width:44px!important}.xxlr-chart-col i{max-width:38px!important}
  .xxlr-badge{min-width:0!important;width:100%!important;box-sizing:border-box!important}.xxlr-badge strong{font-size:26px!important}
  .xxlr-invoice{margin:16px auto!important;padding:18px!important;border-radius:22px!important}
}

@media(max-width:420px){
  .xxlr-page{padding:10px!important}.xxlr-hero{padding:18px!important}.xxlr-hero h1{font-size:30px!important}
  .xxlr-section{padding:15px!important}.xxlr-provider-extra{grid-template-columns:1fr!important}.xxlr-button{font-size:14px!important}
  .xxlr-provider-rating{font-size:25px!important}.xxlr-index-card strong{font-size:36px!important}
}
