/* ===== PAGE: theories ===== */
:where([data-page="theories"]) .data-table-wrap{background:var(--color-bg-elevated); border:1px solid var(--color-border-subtle); border-radius:var(--radius-container); overflow-x:auto; margin-bottom:28px;}
:where([data-page="theories"]) .data-table{width:100%; border-collapse:collapse; font-size:13px; white-space:nowrap;}
:where([data-page="theories"]) .data-table th{text-align:left; font-size:10.5px; font-weight:600; color:rgba(225,230,236,.45); text-transform:uppercase; letter-spacing:.3px; padding:13px 16px; border-bottom:1px solid var(--color-border-subtle);}
:where([data-page="theories"]) .data-table th.num{text-align:right;}
:where([data-page="theories"]) .data-table td{padding:12px 16px; border-bottom:1px solid var(--color-border-subtle); color:var(--color-text-primary); vertical-align:middle;}
:where([data-page="theories"]) .data-table td.num{text-align:right; font-variant-numeric:tabular-nums;}
:where([data-page="theories"]) .data-table td.dim{color:rgba(225,230,236,.45); font-size:11.5px;}
:where([data-page="theories"]) .data-table th.dt-score, :where([data-page="theories"]) .data-table td.dt-score{text-align:center; font-variant-numeric:tabular-nums;}
:where([data-page="theories"]) .data-table td.dt-score.dt-hero{font-size:24px;}
:where([data-page="theories"]) .data-table tbody tr:last-child td{border-bottom:none;}
:where([data-page="theories"]) .data-table tbody tr:hover td{background:rgba(225,230,236,.035);}
:where([data-page="theories"]) .dt-team{display:flex; align-items:center; gap:8px; font-weight:500; color:var(--color-white);}
:where([data-page="theories"]) .dt-team.right{justify-content:flex-end; text-align:right;}

:where([data-page="theories"]) .dt-league{display:inline-flex; align-items:center; padding:3px 9px; border-radius:5px; background:rgba(225,230,236,.06); border:1px solid var(--color-border-subtle); font-size:10px; font-weight:600; letter-spacing:.2px; color:rgba(225,230,236,.55); white-space:nowrap;}
:where([data-page="theories"]) .data-table .row-link{width:1%; text-align:right;}
:where([data-page="theories"]) .data-table .row-link svg{width:15px; height:15px; stroke-width:2; color:rgba(225,230,236,.3);}
:where([data-page="theories"]) .dt-hero{font-family:var(--font-display); font-weight:800; text-transform:uppercase; font-size:19px; letter-spacing:.2px; color:var(--color-white);}
:where([data-page="theories"]) .avatar.xs{width:20px; height:20px; font-size:9px;}
:where([data-page="theories"]) .avatar.sm{width:24px; height:24px; font-size:10px;}
:where([data-page="theories"]) .avatar.md{width:32px; height:32px; font-size:12px;}
:where([data-page="theories"]) .avatar.lg{width:40px; height:40px; font-size:14px;}
:where([data-page="theories"]) .avatar.xl{width:56px; height:56px; font-size:18px;}
:where([data-page="theories"]) .avatar.disabled{opacity:.35;}
:where([data-page="theories"]) .avatar.selected{outline:2px solid var(--color-action-primary); outline-offset:2px;}
:where([data-page="theories"]) .dt-team.flag{color:var(--color-action-danger);}
:where([data-page="theories"]) a{text-decoration:none; color:inherit;}
:where([data-page="theories"]) .wrap{max-width:1180px; margin:0 auto; padding:0 32px;}
:where([data-page="theories"]) .logo-home-link{display:flex; align-items:center; gap:10px; min-width:0; flex:1; text-decoration:none; color:inherit; cursor:pointer; transition:opacity .12s ease;}
:where([data-page="theories"]) .logo-home-link:hover{opacity:.8;}
:where([data-page="theories"]) .logo-home-link:hover .logo-word{color:var(--color-cyan);}
:where([data-page="theories"]) .sidebar-search{display:flex; align-items:center; gap:8px; background:var(--input-bg); border:1.5px solid var(--input-border-default); border-radius:var(--input-radius); padding:9px 12px; margin:0 0 18px;}
:where([data-page="theories"]) .sidebar-search:focus-within{border-color:var(--input-border-focus);}
:where([data-page="theories"]) .sidebar-search-icon{width:15px; height:15px; flex-shrink:0; color:rgba(225,230,236,.45);}
:where([data-page="theories"]) .sidebar-search-input{background:transparent; border:none; outline:none; font-family:var(--font-body); font-size:12.5px; color:var(--color-white); width:100%; min-width:0;}
:where([data-page="theories"]) .sidebar-search-input::placeholder{color:rgba(225,230,236,.4);}
:where([data-page="theories"]) .sidebar-search-sep{width:1px; height:16px; background:var(--color-border-subtle); flex-shrink:0;}
:where([data-page="theories"]) .sidebar-search-submit{display:flex; align-items:center; justify-content:center; flex-shrink:0; width:18px; height:18px; padding:0; margin:0; border:none; background:transparent; color:rgba(225,230,236,.55); cursor:pointer;}
:where([data-page="theories"]) .sidebar-search-submit svg{width:13px; height:13px; flex-shrink:0;}
:where([data-page="theories"]) .nav-divider{height:1px; background:var(--color-border-subtle); margin:14px 4px 10px;}
:where([data-page="theories"]) .sidebar-guest-cta{display:none; flex-direction:column; gap:8px; margin-top:8px;}
body:not(.is-auth) :where([data-page="theories"]) .sidebar-guest-cta{display:flex;}
:where([data-page="theories"]) .sidebar-guest-btn{gap:8px;}
:where([data-page="theories"]) .sidebar-guest-icon{flex-shrink:0;}
:where([data-page="theories"]) .sidebar-auth-block{display:none; flex-direction:column; gap:2px;}
body.is-auth :where([data-page="theories"]) .sidebar-auth-block{display:flex;}
:where([data-page="theories"]) .sidebar-auth-block .account-card{margin-top:12px; margin-bottom:0;}
:where([data-page="theories"]) .btn-google{background:#FFFFFF; color:#1F1F1F; border:1px solid rgba(2,19,41,.12);}
:where([data-page="theories"]) .btn-google:hover{background:#F1F3F4;}
:where([data-page="theories"]) .btn-google:active{background:#E4E7E8;}
:where([data-page="theories"]) .footer-guest-btn{width:100%; box-sizing:border-box;}
.content-col :where([data-page="theories"]) .hero-stat-label{color:rgba(2,19,41,.55);}
.content-col :where([data-page="theories"]) .site-footer-tagline{color:rgba(2,19,41,.5);}
.content-col :where([data-page="theories"]) .site-footer-col-title{color:rgba(2,19,41,.42);}
.content-col :where([data-page="theories"]) .site-footer-links a{color:rgba(2,19,41,.68);}
.content-col :where([data-page="theories"]) .site-footer-links a:hover{color:var(--color-text-primary);}
.content-col :where([data-page="theories"]) .site-footer-account-links{color:rgba(2,19,41,.55);}
.content-col :where([data-page="theories"]) .site-footer-bottom{color:rgba(2,19,41,.4); border-top-color:rgba(2,19,41,.1) !important;}
.content-col :where([data-page="theories"]) .site-footer-bottom .note{color:#8A6D00;}
.content-col :where([data-page="theories"]) .account-plan{color:#8A6D00 !important;}
.content-col :where([data-page="theories"]) .page-item{color:rgba(2,19,41,.55);}
.content-col :where([data-page="theories"]) .page-item:hover:not(.active):not(.disabled){background:rgba(2,19,41,.06);}
.content-col :where([data-page="theories"]) .page-item.disabled{color:rgba(2,19,41,.25);}
.content-col :where([data-page="theories"]) .data-table th{color:rgba(2,19,41,.42);}
.content-col :where([data-page="theories"]) .data-table td.dim, .content-col :where([data-page="theories"]) .dim{color:rgba(2,19,41,.45);}
.content-col :where([data-page="theories"]) .dt-league{color:rgba(2,19,41,.55); background:rgba(2,19,41,.05);}

.content-col :where([data-page="theories"]) .row-link svg{color:rgba(2,19,41,.3);}
.content-col :where([data-page="theories"]) .tab{color:rgba(2,19,41,.45);}
.content-col :where([data-page="theories"]) .pill.insight{color:#8A6D00;}
.content-col :where([data-page="theories"]) .hero-stat.cyan .hero-stat-value{color:#0E7C88;}
.content-col :where([data-page="theories"]) .hero-stat.yellow .hero-stat-value{color:#8A6D00;}
.content-col :where([data-page="theories"]) .hero-stat.success .hero-stat-value{color:#1E9E76;}
:where([data-page="theories"]) .league-submenu .flag{display:inline-block; width:18px; margin-right:8px; text-align:center;}
:where([data-page="theories"]) .builder-card{background:var(--color-bg-elevated); border:1px solid var(--color-border-subtle); border-radius:18px; padding:38px 40px 42px; margin-bottom:56px; position:relative; box-shadow:0 24px 60px -20px rgba(2,19,41,.35), 0 2px 10px rgba(2,19,41,.06);}
:where([data-page="theories"]) .builder-kicker{display:flex; align-items:center; justify-content:space-between; margin-bottom:34px; flex-wrap:wrap; gap:10px;}
:where([data-page="theories"]) .builder-kicker-title{font-family:var(--font-display); font-weight:800; text-transform:uppercase; font-size:44px; letter-spacing:.4px; color:var(--color-white);}
:where([data-page="theories"]) .builder-kicker-note{font-size:11.5px; color:rgba(2,19,41,.45);}
:where([data-page="theories"]) .b-section{margin-bottom:22px;}
:where([data-page="theories"]) .b-section-label{font-size:11px; font-weight:600; color:rgba(2,19,41,.5); text-transform:uppercase; letter-spacing:.4px; margin-bottom:14px;}
:where([data-page="theories"]) .dataset-row{display:flex; gap:16px; flex-wrap:wrap;}
:where([data-page="theories"]) .ds-field{flex:1; min-width:160px; display:flex; flex-direction:column; gap:8px;}
:where([data-page="theories"]) .ds-label{font-size:10px; font-weight:700; color:rgba(2,19,41,.42); text-transform:uppercase; letter-spacing:.4px;}
:where([data-page="theories"]) .b-select{-webkit-appearance:none; appearance:none; width:100%; font-family:var(--font-body); font-size:12.5px; font-weight:500; color:var(--color-text-primary); background:#F2F6FA url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="rgba(2,19,41,.5)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m6 9 6 6 6-6"/></svg>') no-repeat right 12px center; background-size:15px; border:1px solid rgba(2,19,41,.14); border-radius:var(--radius-control); padding:12px 34px 12px 14px; cursor:pointer; transition:border-color .12s ease;}
:where([data-page="theories"]) .b-select:hover{border-color:rgba(2,19,41,.4);}
:where([data-page="theories"]) .b-select:focus{outline:none; border-color:#0E7C88;}
:where([data-page="theories"]) .b-sentence{position:relative; background:rgba(14,124,136,.05); border:1.5px solid rgba(14,124,136,.28); border-radius:var(--radius-control); padding:18px 22px; font-size:15px; line-height:1.6; color:rgba(2,19,41,.55); margin-top:14px; margin-bottom:28px; min-height:84px; display:flex; align-items:center;}
:where([data-page="theories"]) .b-sentence::before{content:''; position:absolute; top:-7px; left:28px; width:12px; height:12px; background:rgba(14,124,136,.05); border-left:1.5px solid rgba(14,124,136,.28); border-top:1.5px solid rgba(14,124,136,.28); border-radius:2px 0 0 0; transform:rotate(45deg);}
:where([data-page="theories"]) .b-sentence-text{width:100%;}
:where([data-page="theories"]) .b-sentence b{color:var(--color-text-primary); font-weight:600;}
:where([data-page="theories"]) .b-sentence .v{color:#0E7C88; font-weight:600;}
:where([data-page="theories"]) .b-cta-row{display:flex; align-items:center; gap:16px; flex-wrap:wrap;}
:where([data-page="theories"]) .result-card{opacity:0; transform:translateY(16px) scale(.985); transition:opacity .5s cubic-bezier(.16,1,.3,1), transform .5s cubic-bezier(.16,1,.3,1);}
:where([data-page="theories"]) .result-card.reveal{opacity:1; transform:translateY(0) scale(1);}
@media (prefers-reduced-motion:reduce){:where([data-page="theories"]) .result-card{opacity:1; transform:none; transition:none;}
}
:where([data-page="theories"]) .result-card{background:var(--color-navy-base); border-radius:var(--radius-container);
  padding:32px 36px; position:relative; overflow:hidden;
  --color-bg-canvas:var(--color-navy-base);
  --color-bg-elevated:var(--color-navy-base-elevated);
  --color-text-primary:var(--color-light-neutral);
  --color-white:#FFFFFF;
  --color-border-subtle:var(--neutral-alpha-14);
  --color-border-strong:var(--neutral-alpha-26);}
:where([data-page="theories"]) .result-head{display:flex; align-items:center; justify-content:space-between; margin-bottom:16px;}
:where([data-page="theories"]) .result-title{font-size:11px; font-weight:700; letter-spacing:.4px; color:rgba(225,230,236,.75); text-transform:uppercase;}
:where([data-page="theories"]) .result-verdict{font-size:13.5px; line-height:1.6; color:rgba(225,230,236,.78); margin-top:16px;}
:where([data-page="theories"]) .result-verdict b{color:var(--color-success);}
:where([data-page="theories"]) .result-card .hero-stat-label{color:rgba(225,230,236,.75);}
:where([data-page="theories"]) .result-card .hero-stat.cyan .hero-stat-value, :where([data-page="theories"]) .result-card .hero-stat.success .hero-stat-value{color:var(--color-white);}
:where([data-page="theories"]) .result-card .hero-stat.yellow .hero-stat-value{color:var(--color-yellow);}
:where([data-page="theories"]) .result-cta-row{margin-top:24px; padding-top:20px; border-top:1px solid var(--neutral-alpha-14);}
:where([data-page="theories"]) .hp-section{margin-bottom:60px;}
:where([data-page="theories"]) .hp-title{font-family:var(--font-display); font-weight:800; text-transform:uppercase; font-size:60px; color:var(--color-white); margin:0 0 10px; letter-spacing:.2px; max-width:760px; line-height:1.0;}
:where([data-page="theories"]) .hp-sub{font-size:13.5px; color:rgba(2,19,41,.55); max-width:560px; line-height:1.6; margin:0 0 28px;}
:where([data-page="theories"]) .pill.live{color:var(--color-action-danger);}
:where([data-page="theories"]) .pill.live{border-radius:var(--radius-6);}
:where([data-page="theories"]) .pill.live::before{content:''; width:6px; height:6px; border-radius:50%; background:currentColor; animation:fxLivePulse 1.4s ease-in-out infinite;}
@media (prefers-reduced-motion: reduce){:where([data-page="theories"]) .pill.live::before{animation:none;}
}
:where([data-page="theories"]) .ov-root{position:relative; display:inline-block; width:100%;}
:where([data-page="theories"]) .popover{position:absolute; top:44px; left:0; background:var(--color-bg-elevated); border:1px solid var(--color-border-strong); border-radius:var(--radius-container); width:200px; padding:8px; display:none; z-index:5;}
:where([data-page="theories"]) .popover.open{display:block;}
:where([data-page="theories"]) .dark-band{position:relative; overflow:visible; padding:52px 0 48px; margin-bottom:60px;
  --color-bg-canvas:var(--color-navy-base);
  --color-bg-elevated:var(--color-navy-base-elevated);
  --color-text-primary:var(--color-light-neutral);
  --color-white:#FFFFFF;
  --color-border-subtle:var(--neutral-alpha-14);
  --color-border-strong:var(--neutral-alpha-26);
  background:var(--color-navy-base);}
:where([data-page="theories"]) .dark-band::before{content:''; position:absolute; inset:0; background-image:var(--img-0); background-repeat:no-repeat; background-position:90% -12%; background-size:620px auto; opacity:.32; pointer-events:none; z-index:0;}
:where([data-page="theories"]) .dark-band .wrap{position:relative; z-index:2;}
:where([data-page="theories"]) .dark-band .hp-title{color:var(--color-white);}
:where([data-page="theories"]) .dark-band .hp-sub{color:rgba(225,230,236,.55);}
:where([data-page="theories"]) .dark-band .hero-stat-label{color:rgba(225,230,236,.55);}
:where([data-page="theories"]) .dark-band .hero-stat.cyan .hero-stat-value, :where([data-page="theories"]) .dark-band .hero-stat.yellow .hero-stat-value, :where([data-page="theories"]) .dark-band .hero-stat.success .hero-stat-value{color:var(--color-white);}
body.is-auth :where([data-page="theories"]) .site-footer-account-guest{display:none;}
body.is-auth :where([data-page="theories"]) .site-footer-account-auth{display:flex;}
:where([data-page="theories"]) .btn{transition:background .14s ease, filter .14s ease, opacity .14s ease;}
:where([data-page="theories"]) .btn-primary:hover{background:var(--button-primary-bg-hover);}
:where([data-page="theories"]) .btn-primary:active{background:var(--button-primary-bg-pressed);}
:where([data-page="theories"]) .btn-secondary:hover{background:rgba(97,225,238,0.08);}
:where([data-page="theories"]) .btn-secondary:active{background:rgba(97,225,238,0.16);}
:where([data-page="theories"]) .btn-insight:hover{filter:brightness(1.07);}
:where([data-page="theories"]) .btn-insight:active{filter:brightness(0.92);}
:where([data-page="theories"]) .builder-card .b-section{margin-bottom:40px;}
:where([data-page="theories"]) .builder-card .b-sentence{margin-top:48px;}
:where([data-page="theories"]) .page-hero{position:relative; overflow:hidden; padding:0;}
:where([data-page="theories"]) .page-hero-img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 45%; filter:blur(2.5px); transform:scale(1.06);}
:where([data-page="theories"]) .page-hero-scrim{position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(90deg, rgba(3,14,31,.88) 0%, rgba(3,14,31,.8) 40%, rgba(3,14,31,.62) 76%, rgba(3,14,31,.5) 100%);}
:where([data-page="theories"]) .page-hero::before{z-index:1; opacity:.6; background-position:right 2% top -120px; background-size:520px auto;}
:where([data-page="theories"]) .page-hero .wrap{position:relative; z-index:2;}
:where([data-page="theories"]) .mt-head{padding:40px 0 36px;}
:where([data-page="theories"]) .mt-head .hp-title{font-size:46px; margin-bottom:10px;}
:where([data-page="theories"]) .mt-head .hp-sub{max-width:780px; margin-bottom:24px;}
:where([data-page="theories"]) .mt-head .hero-stat{position:relative;}
:where([data-page="theories"]) .hs-jump{position:absolute; right:14px; top:50%; transform:translateY(-50%); width:30px; height:30px; display:flex; align-items:center; justify-content:center; border-radius:50%; background:var(--neutral-alpha-14, rgba(225,230,236,.14)); border:1px solid var(--color-border-strong); color:var(--color-light-neutral); cursor:pointer; transition:background .14s ease, color .14s ease, border-color .14s ease;}
:where([data-page="theories"]) .hs-jump:hover{background:var(--color-action-primary); border-color:var(--color-action-primary); color:var(--color-navy-base);}
:where([data-page="theories"]) .hs-jump svg{width:15px; height:15px;}
:where([data-page="theories"]) .tk-zone{position:relative; padding-right:162px; margin-bottom:12px;}
:where([data-page="theories"]) .tk-row{display:flex; flex-direction:column; align-items:flex-start; gap:0;}
:where([data-page="theories"]) .tk-n{flex-shrink:0; min-width:15px; text-align:right; font-size:11.5px; font-weight:700; color:rgba(2,19,41,.42); font-variant-numeric:tabular-nums;}
:where([data-page="theories"]) .tk-and{padding:5px 0 5px 21px; font-size:10.5px; font-weight:700; letter-spacing:1.1px; color:rgba(2,19,41,.34);}
:where([data-page="theories"]) .tk-row .tk{margin:0;}
:where([data-page="theories"]) .tk-row .tk + .tk{margin-top:0;}
:where([data-page="theories"]) .tk-row .pk-anchor{margin-top:10px;}
:where([data-page="theories"]) .tk{display:inline-flex; align-items:center; gap:7px; background:var(--color-bg-canvas); border:1px solid var(--color-border-subtle); border-radius:var(--radius-control); padding:8px 8px 8px 10px; font-size:13px; color:var(--color-text-primary); cursor:grab; user-select:none; transition:border-color .12s ease, box-shadow .12s ease, opacity .12s ease;}
:where([data-page="theories"]) .tk:hover{border-color:var(--color-border-strong);}
:where([data-page="theories"]) .tk:active{cursor:grabbing;}
:where([data-page="theories"]) .tk.dragging{opacity:.4;}
:where([data-page="theories"]) .tk.drop-before{box-shadow:-3px 0 0 0 #0E7C88;}
:where([data-page="theories"]) .tk.drop-after{box-shadow:3px 0 0 0 #0E7C88;}
:where([data-page="theories"]) .tk-scope{font-size:9px; font-weight:700; letter-spacing:.4px; text-transform:uppercase; padding:3px 6px; border-radius:var(--radius-6); flex-shrink:0;}
:where([data-page="theories"]) .tk-scope.team{background:rgba(14,124,136,.13); color:#0E7C88;}
:where([data-page="theories"]) .tk-scope.opp{background:rgba(138,109,0,.14); color:#8A6D00;}
:where([data-page="theories"]) .tk-scope.out{background:rgba(2,19,41,.08); color:rgba(2,19,41,.6);}
:where([data-page="theories"]) .tk-text{display:inline-flex; align-items:center; gap:5px; flex-wrap:wrap; line-height:1.5;}
:where([data-page="theories"]) .tk-in{font-family:var(--font-body); font-size:13px; font-weight:600; color:#0E7C88; background:transparent; border:none; border-bottom:1px dashed rgba(14,124,136,.5); padding:1px 2px; text-align:center; min-width:2ch;}
:where([data-page="theories"]) .tk-in:focus{outline:none; border-bottom-style:solid; background:rgba(14,124,136,.07);}
:where([data-page="theories"]) .tk-sel{font-family:var(--font-body); font-size:13px; font-weight:600; color:#0E7C88; background:transparent; border:none; border-bottom:1px dashed rgba(14,124,136,.5); padding:1px 14px 1px 2px; cursor:pointer; -webkit-appearance:none; appearance:none;
  background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="rgba(14,124,136,.7)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="m6 9 6 6 6-6"/></svg>');
  background-repeat:no-repeat; background-position:right 1px center; background-size:9px;}
:where([data-page="theories"]) .tk-sel:focus{outline:none; border-bottom-style:solid;}
:where([data-page="theories"]) .tk-x{background:none; border:none; cursor:pointer; width:22px; height:22px; display:flex; align-items:center; justify-content:center; border-radius:var(--radius-control); color:rgba(2,19,41,.35); flex-shrink:0; transition:background .12s ease, color .12s ease;}
:where([data-page="theories"]) .tk-x:hover{background:rgba(214,69,69,.1); color:var(--color-action-danger);}
:where([data-page="theories"]) .tk-x svg{width:13px; height:13px;}
:where([data-page="theories"]) .tk-add{display:inline-flex; align-items:center; gap:6px; background:none; border:1px dashed var(--color-border-strong); border-radius:var(--radius-control); padding:9px 13px; font-family:var(--font-body); font-size:12.5px; font-weight:600; color:#0E7C88; cursor:pointer; transition:background .12s ease, border-color .12s ease;}
:where([data-page="theories"]) .tk-add:hover{background:rgba(14,124,136,.06); border-color:#0E7C88; border-style:solid;}
:where([data-page="theories"]) .tk-add svg{width:13px; height:13px;}
:where([data-page="theories"]) .tk-trash{position:absolute; right:0; top:0; bottom:auto; height:100%; width:150px; display:flex; align-items:center; justify-content:center; gap:7px; white-space:nowrap; padding:0 10px; border:1px dashed var(--color-border-strong); border-radius:var(--radius-control); font-size:11.5px; color:rgba(2,19,41,.38); transition:border-color .14s ease, background .14s ease, color .14s ease;}
:where([data-page="theories"]) .tk-trash svg{width:15px; height:15px; flex-shrink:0;}
:where([data-page="theories"]) .tk-zone.dragging-now .tk-trash{border-style:solid; border-color:rgba(2,19,41,.28); color:rgba(2,19,41,.6);}
:where([data-page="theories"]) .tk-trash.over{border-color:var(--color-action-danger); border-style:solid; background:rgba(214,69,69,.08); color:var(--color-action-danger);}
:where([data-page="theories"]) .tk-empty{font-size:12.5px; color:rgba(2,19,41,.45); padding:2px 0 4px;}
:where([data-page="theories"]) .b-section.invalid .b-section-label{color:var(--color-action-danger);}
:where([data-page="theories"]) .b-section.invalid .tk-add{border-color:var(--color-action-danger); border-style:solid; color:var(--color-action-danger);}
:where([data-page="theories"]) .b-section.invalid .tk-add:hover{background:rgba(214,69,69,.07);}
:where([data-page="theories"]) .field-error{display:none; align-items:center; gap:7px; margin-top:10px; font-size:12.5px; font-weight:600; color:var(--color-action-danger);}
:where([data-page="theories"]) .b-section.invalid .field-error{display:flex;}
:where([data-page="theories"]) .field-error svg{width:15px; height:15px; flex-shrink:0;}
:where([data-page="theories"]) .sample-hint{display:flex; align-items:center; gap:12px; padding:11px 14px; border-radius:var(--radius-control); background:var(--color-bg-canvas); border:1px solid var(--color-border-subtle); margin:4px 0 4px;}
:where([data-page="theories"]) .sample-hint-bar{width:56px; height:5px; border-radius:var(--radius-tag); background:rgba(2,19,41,.1); flex-shrink:0; overflow:hidden;}
:where([data-page="theories"]) .sample-hint-fill{height:100%; width:0; background:var(--color-action-success); transition:width .25s ease, background .25s ease;}
:where([data-page="theories"]) .sample-hint.warn .sample-hint-fill{background:var(--color-action-insight);}
:where([data-page="theories"]) .sample-hint.bad .sample-hint-fill{background:var(--color-action-danger);}
:where([data-page="theories"]) .sample-hint-text{font-size:12px; line-height:1.5; color:rgba(2,19,41,.62);}
:where([data-page="theories"]) .sample-hint-text b{color:var(--color-text-primary); font-weight:600;}
:where([data-page="theories"]) .builder-card{overflow:visible;}
:where([data-page="theories"]) .pk-anchor{position:relative; display:inline-block;}
:where([data-page="theories"]) .tk-zone > .pk{top:calc(100% + 10px); left:0;}
:where([data-page="theories"]) .pk{position:absolute; top:calc(100% + 8px); left:0; z-index:80; max-width:92vw;
  background:var(--color-bg-elevated); border:1px solid var(--color-border-strong); border-radius:var(--radius-container);
  box-shadow:0 18px 44px -14px rgba(2,19,41,.4); overflow:hidden;}
:where([data-page="theories"]) .pk[hidden]{display:none;}
:where([data-page="theories"]) .pk-top{position:relative; padding:12px 14px 10px; border-bottom:1px solid var(--color-border-subtle);}
:where([data-page="theories"]) .pk-head{display:flex; align-items:center; gap:8px;}
:where([data-page="theories"]) .pk-head .pk-search-row{flex:1; min-width:0;}
:where([data-page="theories"]) .pk-close{flex-shrink:0; display:flex; align-items:center; justify-content:center; width:34px; height:34px; padding:0; border:none; border-radius:var(--radius-control); background:transparent; color:rgba(2,19,41,.42); cursor:pointer; transition:background .12s ease, color .12s ease;}
:where([data-page="theories"]) .pk-close svg{width:16px; height:16px;}
:where([data-page="theories"]) .pk-close:hover{background:rgba(2,19,41,.06); color:var(--color-text-primary);}
:where([data-page="theories"]) .pk-close:focus-visible{outline:2px solid #0E7C88; outline-offset:1px;}
:where([data-page="theories"]) .pk-search-row{display:flex; align-items:center; gap:9px; background:var(--color-bg-canvas); border:1px solid rgba(2,19,41,.14); border-radius:var(--radius-control); padding:9px 11px;}
:where([data-page="theories"]) .pk-search-row:focus-within{border-color:#0E7C88;}
:where([data-page="theories"]) .pk-search-row svg{width:15px; height:15px; color:rgba(2,19,41,.4); flex-shrink:0;}
:where([data-page="theories"]) .pk-search{flex:1; min-width:0; font-family:var(--font-body); font-size:13.5px; color:var(--color-text-primary); background:transparent; border:none; outline:none;}
:where([data-page="theories"]) .pk-search::placeholder{color:rgba(2,19,41,.36);}
:where([data-page="theories"]) .pk-scope{display:flex; gap:6px; margin-top:10px;}
:where([data-page="theories"]) .pk-scope-tab{padding:6px 12px; border:1px solid var(--color-border-subtle); border-radius:var(--radius-6); background:var(--color-bg-elevated); font-size:11.5px; font-weight:600; color:rgba(2,19,41,.55); cursor:pointer; transition:background .14s ease, color .14s ease, border-color .14s ease;}
:where([data-page="theories"]) .pk-scope-tab.active{background:var(--color-action-primary); color:var(--color-text-inverse); border-color:var(--color-action-primary);}
:where([data-page="theories"]) .pk-scope-tab[data-scope="o"].active{background:var(--color-action-insight); color:var(--color-navy-base); border-color:var(--color-action-insight);}
:where([data-page="theories"]) .pk-scope-tab:hover:not(.active){background:rgba(2,19,41,.05); border-color:var(--color-border-strong);}
:where([data-page="theories"]) .pk-foot{display:flex; align-items:center; justify-content:space-between; gap:10px; padding:9px 14px; border-top:1px solid var(--color-border-subtle); background:var(--color-bg-canvas); font-size:11px; color:rgba(2,19,41,.45);}
:where([data-page="theories"]) .pk-keys kbd{font-family:var(--font-body); font-size:10px; font-weight:600; background:var(--color-bg-elevated); border:1px solid var(--color-border-strong); border-radius:4px; padding:1px 5px; margin:0 1px; color:rgba(2,19,41,.6);}
:where([data-page="theories"]) .pk-added{color:var(--color-action-success); font-weight:600;}

:where([data-page="theories"]) .run-box{border-top:1px solid var(--color-border-subtle); margin-top:26px; padding-top:22px;}
:where([data-page="theories"]) .run-note{font-size:11.5px; color:rgba(2,19,41,.48); line-height:1.55; margin:10px 0 0; max-width:560px;}
:where([data-page="theories"]) .run-pin{display:inline-flex; align-items:center; gap:9px; margin-top:14px; font-size:12.5px; color:rgba(2,19,41,.62); cursor:pointer;}
:where([data-page="theories"]) .mt-table .data-table-wrap{background:transparent; border:none; box-shadow:none; margin-bottom:0;}
:where([data-page="theories"]) .mt-table .data-table th{padding:10px 16px;}
:where([data-page="theories"]) .mt-table .data-table td{padding:13px 16px;}
:where([data-page="theories"]) .mt-table .data-table td:first-child{font-weight:600;}
:where([data-page="theories"]) .sw-cell{display:flex; align-items:center; gap:9px;}
:where([data-page="theories"]) .sw-label{font-size:11.5px; color:rgba(2,19,41,.6); white-space:nowrap;}
:where([data-page="theories"]) .sw-cell .switch{flex-shrink:0;}
.content-col :where([data-page="theories"]) .switch{background:rgba(2,19,41,.13); border-color:transparent;}
.content-col :where([data-page="theories"]) .switch.on{background:var(--color-action-primary); border-color:var(--color-action-primary);}
.content-col :where([data-page="theories"]) .switch .knob, .content-col :where([data-page="theories"]) .switch.on .knob{background:#FFFFFF; box-shadow:0 1px 2px rgba(2,19,41,.32);}
:where([data-page="theories"]) .builder-card .btn-secondary{color:#0E7C88; border-color:#0E7C88;}
:where([data-page="theories"]) .builder-card .btn-secondary:hover{background:rgba(14,124,136,.08);}
:where([data-page="theories"]) .mt-result{display:none; margin-top:34px;}
:where([data-page="theories"]) .mt-result.show{display:block;}
:where([data-page="theories"]) .mt-result .result-card{opacity:0; transform:translateY(10px); transition:opacity .35s ease, transform .35s ease;}
:where([data-page="theories"]) .mt-result.reveal .result-card{opacity:1; transform:none;}
:where([data-page="theories"]) .season-strip{margin-top:22px;}
:where([data-page="theories"]) .season-strip .data-table{font-size:12.5px;}
:where([data-page="theories"]) .season-strip .data-table th, :where([data-page="theories"]) .season-strip .data-table td{padding:9px 12px; text-align:center;}
:where([data-page="theories"]) .season-strip .data-table th:first-child, :where([data-page="theories"]) .season-strip .data-table td:first-child{text-align:left;}
:where([data-page="theories"]) .up-filters{display:flex; gap:12px; flex-wrap:wrap; align-items:flex-end; margin-bottom:18px;}
:where([data-page="theories"]) .up-filters .ds-field{width:210px;}
:where([data-page="theories"]) .up-count{margin-left:auto; font-size:12px; color:rgba(2,19,41,.5); padding-bottom:11px;}
:where([data-page="theories"]) .up-table .data-table-wrap{background:transparent; border:none; box-shadow:none; margin-bottom:0;}
:where([data-page="theories"]) .up-table .data-table th{padding:10px 16px;}
:where([data-page="theories"]) .up-table .data-table td{padding:12px 16px;}
:where([data-page="theories"]) .up-table .data-table td.dt-score.dt-hero{font-size:17px;}
:where([data-page="theories"]) .up-table .data-table td.dt-score, :where([data-page="theories"]) .up-table .data-table th.dt-score{padding-left:10px; padding-right:10px;}
:where([data-page="theories"]) .up-table .dt-score .fx-dash{display:inline-block; vertical-align:middle; margin:0 6px; width:16px;}
:where([data-page="theories"]) .up-table .dt-crest-real{height:20px; max-width:23px;}
:where([data-page="theories"]) .up-table .data-table td{vertical-align:middle;}
:where([data-page="theories"]) .up-table .dt-league{background:none; border:none; padding:0; display:inline-flex; align-items:flex-start; gap:5px;
  white-space:normal; text-align:left; line-height:1.3; max-width:100%; font-weight:600;}
:where([data-page="theories"]) .up-table .dt-league-crest{height:13px; width:auto; max-width:16px; object-fit:contain; flex-shrink:0; margin-top:1px;}
:where([data-page="theories"]) .up-table .dt-league-name{white-space:normal;}
:where([data-page="theories"]) .up-theory{font-size:12px; line-height:1.45; color:rgba(2,19,41,.55); white-space:normal;}
:where([data-page="theories"]) .up-table .data-table td .pill{white-space:nowrap;}
:where([data-page="theories"]) .pk{width:680px;}
:where([data-page="theories"]) .pk-body{display:flex; min-height:300px;}
:where([data-page="theories"]) .pk-topics{width:196px; flex-shrink:0; border-right:1px solid var(--color-border-subtle); padding:8px 8px 10px; overflow-y:auto; max-height:322px;}
:where([data-page="theories"]) .pk-topic{display:flex; align-items:center; gap:9px; width:100%; text-align:left; background:none; border:none; border-radius:var(--radius-control); padding:8px 9px; cursor:pointer; font-family:var(--font-body); font-size:12.5px; font-weight:600; color:rgba(2,19,41,.62); transition:background .12s ease, color .12s ease;}
:where([data-page="theories"]) .pk-topic:hover{background:rgba(2,19,41,.045);}
:where([data-page="theories"]) .pk-topic.on{background:rgba(14,124,136,.1); color:#0E7C88;}
:where([data-page="theories"]) .pk-topic svg{width:15px; height:15px; flex-shrink:0; opacity:.85;}
:where([data-page="theories"]) .pk-topic-n{margin-left:auto; font-size:11px; font-weight:600; color:rgba(2,19,41,.35);}
:where([data-page="theories"]) .pk-topic.on .pk-topic-n{color:rgba(14,124,136,.7);}
:where([data-page="theories"]) .pk-topics.dim{opacity:.4; pointer-events:none;}
:where([data-page="theories"]) .pk-topic-sep{height:1px; background:var(--color-border-subtle); margin:7px 9px;}
:where([data-page="theories"]) .pk-list{flex:1; min-width:0; max-height:322px; overflow-y:auto; padding:8px 0 10px;}
:where([data-page="theories"]) .pk-item{display:flex; align-items:center; gap:8px; width:100%; text-align:left; background:none; border:none; padding:7px 16px; cursor:pointer; font-family:var(--font-body); font-size:13px; color:var(--color-text-primary); transition:background .1s ease;}
:where([data-page="theories"]) .pk-item:hover{background:rgba(2,19,41,.035);}
:where([data-page="theories"]) .pk-item.cursor{background:rgba(14,124,136,.1); color:#0E7C88; font-weight:600;}
:where([data-page="theories"]) .pk-item-name{overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
:where([data-page="theories"]) .pk-item-topic{margin-left:auto; font-size:10px; font-weight:600; letter-spacing:.2px; text-transform:uppercase; color:rgba(2,19,41,.3); flex-shrink:0;}
:where([data-page="theories"]) .pk-item.cursor .pk-item-topic{color:rgba(14,124,136,.55);}
:where([data-page="theories"]) .pk-item-slot{font-size:10.5px; font-weight:600; color:rgba(14,124,136,.75); background:rgba(14,124,136,.1); border-radius:4px; padding:0 5px; flex-shrink:0;}
:where([data-page="theories"]) .pk-item.cursor .pk-item-slot{background:rgba(14,124,136,.18);}
:where([data-page="theories"]) .pk-detail{border-top:1px solid var(--color-border-subtle); background:var(--color-bg-canvas); padding:11px 16px; min-height:74px;}
:where([data-page="theories"]) .pk-detail-name{font-size:12.5px; font-weight:700; color:var(--color-text-primary); margin-bottom:3px;}
:where([data-page="theories"]) .pk-detail-desc{font-size:11.5px; line-height:1.5; color:rgba(2,19,41,.55);}
:where([data-page="theories"]) .pk-detail-preview{font-size:11.5px; color:rgba(2,19,41,.6); margin-top:6px; line-height:1.8;}
:where([data-page="theories"]) .pk-empty{padding:44px 16px; text-align:center; font-size:12.5px; color:rgba(2,19,41,.45); line-height:1.55;}
:where([data-page="theories"]) .run-hist{margin-top:30px; padding-top:24px; border-top:1px solid var(--color-border-subtle);}
:where([data-page="theories"]) .run-hist-top{margin-bottom:14px;}
:where([data-page="theories"]) .run-hist-title{font-family:var(--font-display); font-weight:800; text-transform:uppercase; font-size:28px; letter-spacing:.2px; color:var(--color-text-primary); margin:0 0 6px; line-height:1.15;}
:where([data-page="theories"]) .run-hist-note{font-size:12px; line-height:1.55; color:rgba(2,19,41,.64); margin:0; max-width:620px;}
:where([data-page="theories"]) .run-hist .data-table-wrap{background:transparent; border:none; box-shadow:none; margin-bottom:0;}
:where([data-page="theories"]) .run-hist .data-table td{font-size:12.5px;}
:where([data-page="theories"]) .run-hist .rh-name{font-weight:600; color:var(--color-text-primary);}
:where([data-page="theories"]) .run-hist .rh-hit{font-weight:700; color:var(--color-text-primary);}
:where([data-page="theories"]) .run-hist .rh-thin{font-weight:600; color:#725A00;}
:where([data-page="theories"]) .run-hist .dim{color:rgba(2,19,41,.6);}
:where([data-page="theories"]) .run-hist .data-table tbody td{height:49px;}
:where([data-page="theories"]) .run-hist .data-table-wrap{min-height:283px;}
:where([data-page="theories"]) .run-hist tbody.slide-right tr{animation:rh-in-right .22s cubic-bezier(.2,.7,.3,1) both;}
:where([data-page="theories"]) .run-hist tbody.slide-left tr{animation:rh-in-left .22s cubic-bezier(.2,.7,.3,1) both;}
:where([data-page="theories"]) .run-hist tbody tr:nth-child(2){animation-delay:.03s;}
:where([data-page="theories"]) .run-hist tbody tr:nth-child(3){animation-delay:.06s;}
:where([data-page="theories"]) .run-hist tbody tr:nth-child(4){animation-delay:.09s;}
:where([data-page="theories"]) .run-hist tbody tr:nth-child(5){animation-delay:.12s;}
@media (prefers-reduced-motion: reduce){:where([data-page="theories"]) .run-hist tbody.slide-right tr, :where([data-page="theories"]) .run-hist tbody.slide-left tr{animation:none;}
}
:where([data-page="theories"]) .run-hist-foot{display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; margin-top:12px; padding-top:12px; border-top:1px solid var(--color-border-subtle);}
:where([data-page="theories"]) .run-hist-count{font-size:11.5px; color:rgba(2,19,41,.62);}
:where([data-page="theories"]) .run-hist .page-item svg{width:14px; height:14px;}
:where([data-page="theories"]) .ds-pool{display:flex; align-items:center; gap:9px; align-self:flex-end; padding:11px 13px; border-radius:var(--radius-control); background:var(--color-bg-canvas); border:1px solid var(--color-border-subtle); font-size:12.5px; color:rgba(2,19,41,.7);}
:where([data-page="theories"]) .ds-pool svg{width:15px; height:15px; flex-shrink:0; color:#0A5F68;}
:where([data-page="theories"]) .ds-pool b{color:var(--color-text-primary); font-weight:700;}
:where([data-page="theories"]) .ds-pool.thin{background:rgba(138,109,0,.07); border-color:rgba(138,109,0,.25); color:#725A00;}
:where([data-page="theories"]) .ds-pool.thin svg{color:#725A00;}
:where([data-page="theories"]) .ds-pool.thin b{color:#725A00;}
:where([data-page="theories"]) .run-link{color:#0A5F68; font-weight:600; text-decoration:underline; text-underline-offset:2px;}
:where([data-page="theories"]) .rh-empty{display:flex; align-items:center; gap:10px; padding:18px 16px; border:1px dashed var(--color-border-strong); border-radius:var(--radius-container); font-size:12.5px; color:rgba(2,19,41,.62);}
:where([data-page="theories"]) .rh-empty svg{width:16px; height:16px; flex-shrink:0; color:rgba(2,19,41,.4);}
:where([data-page="theories"]) .rh-empty[hidden]{display:none;}
:where([data-page="theories"]) .run-hist-foot[hidden], :where([data-page="theories"]) .run-hist .data-table-wrap[hidden]{display:none;}
:where([data-page="theories"]) .ds-text-input{width:100%; font-family:var(--font-body); font-size:12.5px; font-weight:500; color:var(--color-text-primary); background:#F2F6FA; border:1px solid rgba(2,19,41,.14); border-radius:var(--radius-control); padding:12px 14px; transition:border-color .12s ease;}
:where([data-page="theories"]) .ds-text-input::placeholder{color:rgba(2,19,41,.4);}
:where([data-page="theories"]) .ds-text-input:hover{border-color:rgba(2,19,41,.4);}
:where([data-page="theories"]) .ds-text-input:focus{outline:none; border-color:var(--color-text-primary);}
:where([data-page="theories"]) .mt-name-field{max-width:560px; margin-top:22px;}
:where([data-page="theories"]) .mt-name-row{display:flex; align-items:center; gap:10px;}
:where([data-page="theories"]) .mt-name-row .ds-text-input{flex:1; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
:where([data-page="theories"]) .mt-autoname-btn{flex-shrink:0; display:inline-flex; align-items:center; justify-content:center; gap:6px; white-space:nowrap; border:1px solid rgba(2,19,41,.18); border-radius:var(--radius-control); height:40px; padding:0 16px; box-sizing:border-box;}
:where([data-page="theories"]) .mt-name-hint{font-size:11.5px; color:rgba(2,19,41,.62); margin-top:6px;}
:where([data-page="theories"]) .mt-name-hint[hidden]{display:none;}
:where([data-page="theories"]) .mt-saved-flash{font-size:12.5px; font-weight:600; color:var(--color-action-success);}
:where([data-page="theories"]) .mt-saved-flash[hidden]{display:none;}
:where([data-page="theories"]) .mt-new-btn[hidden]{display:none;}
:where([data-page="theories"]) .mt-row-open{background:rgba(14,124,136,.06);}
:where([data-page="theories"]) .mt-row-open td:first-child{font-weight:700;}
:where([data-page="theories"]) .mt-name-cell{max-width:0; overflow:hidden; white-space:nowrap; text-overflow:ellipsis;}
:where([data-page="theories"]) .mt-open{display:inline-flex; align-items:center; gap:5px; margin-left:auto; padding:6px 10px; border:none; border-radius:var(--radius-control); background:rgba(14,124,136,.08); color:#0E7C88; font-family:var(--font-body); font-size:11.5px; font-weight:600; letter-spacing:.2px; cursor:pointer; white-space:nowrap; transition:background .12s ease, color .12s ease;}
:where([data-page="theories"]) .mt-open svg{width:12px; height:12px; flex-shrink:0;}
:where([data-page="theories"]) .mt-open:hover{background:rgba(14,124,136,.16); color:#0A5F68;}
:where([data-page="theories"]) .sr-only{position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;}

