@layer tulekRefinement,tulekReview,tulek-next,tpThemes;
@layer tulekReview,tulek-next,tpThemes;
.tp-next-chips{display:flex;gap:8px;overflow-x:auto;max-width:100%;padding:10px 0 16px;scrollbar-width:thin}.tp-next-chips .btn{flex:0 0 auto;white-space:nowrap}.tp-next-person{padding:20px;background:var(--panel,#0c2635);border:1px solid var(--border,#315464);border-radius:16px;min-width:0}.tp-next-person h3{font-size:17px;overflow-wrap:anywhere;margin:0 0 10px}.tp-next-person p{overflow-wrap:anywhere}.tp-next-rolelist{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}.tp-next-rolelist span{border:1px solid var(--border,#315464);border-radius:20px;padding:4px 9px;font-size:11px;color:var(--text,#e0eef4)}.tp-next-blocked{color:#ff9b96;font-size:11px}.tp-next-scope{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.tp-next-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}.tp-next-checks{display:flex;gap:12px;flex-wrap:wrap;border:1px solid var(--border,#315464);padding:15px;border-radius:12px}.tp-next-checks label{display:flex;align-items:center;gap:7px;min-height:30px}.tp-next-checks input,.tp-next-person input[type=checkbox]{width:18px!important;height:18px;flex:0 0 18px}.tp-next-code{font-size:36px;letter-spacing:4px;display:block;margin:20px 0;user-select:all}.tp-next-roster p{padding:10px 0;border-bottom:1px solid var(--border,#315464)}.tp-next-roster small{display:block}.tp-next-history{display:grid;gap:10px}.tp-next-history article{padding:14px;border:1px solid var(--border,#315464);border-radius:9px;overflow-wrap:anywhere}.tp-next-history time{display:block;font-size:11px;color:var(--dim,#a4bccb);margin-bottom:8px}.tp-next-history p{margin:8px 0}.tp-next-history small{display:block}.tp-next-sample-search{margin:16px 0}.tp-theme-controls{display:flex;gap:4px;flex:0 0 auto}.tp-theme-controls button{width:32px;min-width:32px;height:32px;border:1px solid var(--border,#315464);border-radius:8px;color:var(--text,#e0eef4);background:var(--panel,#0c2635);font:700 18px Arial;cursor:pointer;padding:0;display:grid;place-items:center}.tp-theme-controls button.active{outline:2px solid var(--gold,#efbd55);outline-offset:0}
html[data-theme=light]{--bg:#eef3f7;--panel:#fff;--panel2:#f4f7fa;--text:#152f42;--ink:#152f42;--muted:#415d70;--dim:#496579;--line:#b8cbd8;--border:#b8cbd8;--cyan:#006986;--mint:#006b54;--gold:#936413;--blue:#2d5d93;--coral:#a52d30;--violet:#6750a0;color-scheme:light}
html[data-theme=medium]{--bg:#dce6e9;--panel:#ecf1f3;--panel2:#d4e0e5;--text:#173d4d;--ink:#173d4d;--muted:#365c6a;--dim:#3c6271;--line:#9db7c1;--border:#9db7c1;--cyan:#005f79;--mint:#00634f;--gold:#7c5510;--blue:#2a5986;--coral:#9b2d35;--violet:#574389;color-scheme:light}
@layer tpThemes {
html[data-theme=light] body,html[data-theme=medium] body{background:var(--bg)!important;color:var(--text)!important}
html[data-theme=light] :is(.topbar,.sidebar,.page-footer,.entry-top,.v013-entry-card,.panel,.panel-body,.hero,.metric,.person,.year-card,.year-context,.dialog,.dialog-head,.dialog-body,.data-table,.table-shell,.context-rail,.v012-mass-filter,.v013-comm-filter,.v013-contact-list,.v013-msgs,.v013-msg,.profile-hero,.u-profile-hero,.v012-topic-owner,.v014-topic-supervisor,.tp-video-card,.v013-entry-shell,.v013-entry-language,.mobile-dock,.nav-item,.module-card,.notice,.details-grid>div,.detail,.doc-row,.file-item,.u-profile-tabs,.v012-participant-filter,.v011-context,.v011-savebar),html[data-theme=medium] :is(.topbar,.sidebar,.page-footer,.entry-top,.v013-entry-card,.panel,.panel-body,.hero,.metric,.person,.year-card,.year-context,.dialog,.dialog-head,.dialog-body,.data-table,.table-shell,.context-rail,.v012-mass-filter,.v013-comm-filter,.v013-contact-list,.v013-msgs,.profile-hero,.u-profile-hero,.v012-topic-owner,.v014-topic-supervisor,.tp-video-card,.mobile-dock,.nav-item,.module-card,.notice,.details-grid>div,.detail,.doc-row,.file-item,.u-profile-tabs,.v012-participant-filter,.v011-savebar){background:var(--panel)!important;color:var(--text)!important;border-color:var(--border)!important;box-shadow:none!important}
html[data-theme=light] :is(h1,h2,h3,h4,p,b,strong,label,legend,td,th,summary,.eyebrow,.field>span,.nav-item,.module-main,.module-main h3,.year-card h2,.v013-entry-quote,.v013-entry-quote cite,.v011-author-credit,.v012-mass-filter-foot strong),html[data-theme=medium] :is(h1,h2,h3,h4,p,b,strong,label,legend,td,th,summary,.eyebrow,.field>span,.nav-item,.module-main,.module-main h3,.year-card h2,.v013-entry-quote,.v013-entry-quote cite,.v011-author-credit,.v012-mass-filter-foot strong){color:var(--text)!important}
html[data-theme=light] :is(small,.dim,.muted,.micro,.data-table td small,.data-table td span),html[data-theme=medium] :is(small,.dim,.muted,.micro,.data-table td small,.data-table td span){color:var(--dim)!important}
html[data-theme=light] :is(input,textarea,select,option,.input,.multi-filter>summary,.multi-panel),html[data-theme=medium] :is(input,textarea,select,option,.input,.multi-filter>summary,.multi-panel){background:var(--panel)!important;color:var(--text)!important;border-color:var(--border)!important}
html[data-theme=light] :is(input,textarea)::placeholder,html[data-theme=medium] :is(input,textarea)::placeholder{color:var(--dim)!important;opacity:1}
html[data-theme=light] :is(button,.btn,.tabs button,.pill,.iconbox),html[data-theme=medium] :is(button,.btn,.tabs button,.pill,.iconbox){color:var(--text)!important;background:var(--panel2)!important;border-color:var(--border)!important}
html[data-theme=light] :is(.btn.primary,button.active,.nav-item.active),html[data-theme=medium] :is(.btn.primary,button.active,.nav-item.active){color:#fff!important;background:#205c78!important;border-color:#205c78!important}
html[data-theme=light] :is(.btn.primary,.nav-item.active) :is(span,b,small,strong),html[data-theme=medium] :is(.btn.primary,.nav-item.active) :is(span,b,small,strong){color:#fff!important}
html[data-theme=light] .btn.danger,html[data-theme=medium] .btn.danger{background:#fff0f0!important;color:#992934!important;border-color:#d79197!important}
html[data-theme=light] a,html[data-theme=medium] a{color:#005e92!important}html[data-theme=light] .tp-account-status.verified,html[data-theme=medium] .tp-account-status.verified{color:#006b45!important}html[data-theme=light] .tp-next-blocked,html[data-theme=medium] .tp-next-blocked{color:#a12a39!important}html[data-theme=light] .tp-final-badge,html[data-theme=medium] .tp-final-badge{color:#fff!important;background:#ad1c35!important}html[data-theme=light] .tp-login-busy,html[data-theme=medium] .tp-login-busy{background:#e4edf3f0!important}html[data-theme=light] .tp-login-busy>div,html[data-theme=medium] .tp-login-busy>div{background:var(--panel)!important;border-color:var(--border)!important;color:var(--text)!important}

html[data-theme=light] :is(.profile-mini,.rail-card,.stage-rail,.chat-list,.file-list,.personal-file-group,.v011-target-box,.v011-example,.v011-role-box,[class*="-card"],[class*="-panel"],[class*="-hero"],[class*="-filter"],[class*="-work"],[class*="-box"],[class*="-row"]),html[data-theme=medium] :is(.profile-mini,.rail-card,.stage-rail,.chat-list,.file-list,.personal-file-group,.v011-target-box,.v011-example,.v011-role-box,[class*="-card"],[class*="-panel"],[class*="-hero"],[class*="-filter"],[class*="-work"],[class*="-box"],[class*="-row"]){background:var(--panel)!important;color:var(--text)!important;border-color:var(--border)!important}
html[data-theme=light] :is(.top-context,.context-rail,.stage-rail,.profile-mini) :is(span,em,strong,small,p,b),html[data-theme=medium] :is(.top-context,.context-rail,.stage-rail,.profile-mini) :is(span,em,strong,small,p,b){color:var(--text)!important}
html[data-theme=light] .avatar,html[data-theme=medium] .avatar{color:#fff!important;background:#205c78!important}
}
@layer tpThemes {html[data-theme=light] :is(.stages-rail,.stages-rail-head,.stages-rail-foot,.page-tools,.page-tools-note,.rail-stage-icon em),html[data-theme=medium] :is(.stages-rail,.stages-rail-head,.stages-rail-foot,.page-tools,.page-tools-note,.rail-stage-icon em){background:var(--panel)!important;color:var(--text)!important;border-color:var(--border)!important}html[data-theme=light] :is(.stages-rail-head,.stages-rail-foot,.page-tools-note) *,html[data-theme=medium] :is(.stages-rail-head,.stages-rail-foot,.page-tools-note) *{color:var(--text)!important}}
@media(max-width:650px){.tp-next-filters{grid-template-columns:1fr}.tp-next-person{padding:14px}.tp-next-chips .btn{font-size:11px;padding:9px 12px}.tp-theme-controls button{width:27px;min-width:27px;height:29px;font-size:16px}.top-controls{flex-wrap:wrap}.tp-next-person .flex{flex-wrap:wrap}.tp-next-history article{padding:11px}.tp-next-scope .btn{flex:1;font-size:11px}.tp-next-code{font-size:30px}.tp-next-checks{display:grid;grid-template-columns:1fr}}

@media(min-width:1060px){.topbar{gap:10px;padding:10px 16px}.top-context{min-width:0;max-width:170px;flex:1;padding-left:12px}.top-context b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.top-context small{font-size:9px}.top-controls{gap:6px;min-width:0}.top-controls .account-copy{min-width:90px;max-width:150px}.top-controls .v011-top-user span{display:none}.top-controls .v011-top-user{width:34px;justify-content:center;padding:0}.top-controls .v011-top-user svg{width:17px}.top-controls .v011-top-actions{gap:5px}.tp-save-status{font-size:9px;max-width:90px;white-space:normal}.top-controls .v011-language-switch button{padding:5px}}
@media(max-width:1059px) and (min-width:701px){.top-context{display:none}.topbar{gap:10px}.topbar .brand{width:170px}.account-btn .account-copy{max-width:130px;min-width:90px}}
@media(min-width:1060px){.top-context{display:none}.top-controls .account-copy{max-width:140px}.tp-save-status{font-size:9px;line-height:1.3;max-width:120px}.top-controls .preview-badge{padding:5px}.top-controls .v011-lang-switch{padding:3px}.top-controls .v011-lang-switch button{min-width:42px;padding:5px}}
