:root{--tbrp-red:#ed1c24;--tbrp-ink:#141820;--tbrp-muted:#697180;--tbrp-line:#e6e9ee;--tbrp-soft:#f7f8fa;--tbrp-card:#fff}.tbr-portal{width:min(1240px,calc(100% - 32px));margin:42px auto 80px;font-family:Arial,sans-serif;color:var(--tbrp-ink)}.tbr-portal *{box-sizing:border-box}.tbr-portal-topbar{display:flex;justify-content:space-between;gap:28px;align-items:flex-start;margin-bottom:28px}.tbr-portal-eyebrow{display:block;text-transform:uppercase;letter-spacing:.12em;font-size:11px;font-weight:700;color:var(--tbrp-red);margin-bottom:8px}.tbr-portal h1{font-size:clamp(32px,4vw,48px);line-height:1.04;letter-spacing:-.035em;margin:0 0 10px}.tbr-portal-topbar p,.tbr-portal-section-head p{color:var(--tbrp-muted);margin:0;line-height:1.55}.tbr-portal-user{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--tbrp-line);padding:10px 12px;border-radius:12px;min-width:290px}.tbr-portal-user>span{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:#111;color:#fff;font-weight:700}.tbr-portal-user div{display:grid;min-width:0;flex:1}.tbr-portal-user strong{font-size:13px}.tbr-portal-user small{font-size:11px;color:var(--tbrp-muted);margin-top:2px}.tbr-portal-user a{font-size:12px;color:var(--tbrp-red);text-decoration:none}.tbr-portal-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:20px}.tbr-portal-stats>div{background:#fff;border:1px solid var(--tbrp-line);border-radius:14px;padding:20px;display:grid}.tbr-portal-stats span{font-size:12px;color:var(--tbrp-muted);font-weight:700}.tbr-portal-stats strong{font-size:30px;line-height:1;margin:11px 0 8px}.tbr-portal-stats small{font-size:11px;color:#9298a3}.tbr-portal-nav{display:flex;gap:4px;border-bottom:1px solid var(--tbrp-line);margin:0 0 28px}.tbr-portal-nav a{padding:13px 17px;text-decoration:none;color:#4c5360;font-size:13px;font-weight:700;border-bottom:3px solid transparent}.tbr-portal-nav a.is-active{color:var(--tbrp-red);border-bottom-color:var(--tbrp-red)}.tbr-portal-notice{padding:13px 16px;border-radius:10px;margin:-10px 0 22px;font-size:13px}.tbr-portal-notice.is-success{background:#f0faf3;border:1px solid #cce8d4;color:#23613a}.tbr-portal-notice.is-error{background:#fff3f3;border:1px solid #f0caca;color:#8d2525}.tbr-portal-section-head{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:0 0 20px}.tbr-portal-section-head h2{margin:0 0 6px;font-size:26px;letter-spacing:-.02em}.tbr-portal-primary,.tbr-portal-secondary,.tbr-portal-secondary-button{display:inline-flex;min-height:42px;align-items:center;justify-content:center;padding:10px 17px;border-radius:8px;text-decoration:none!important;font-weight:700;font-size:13px;cursor:pointer}.tbr-portal-primary{background:var(--tbrp-red);color:#fff!important;border:1px solid var(--tbrp-red)}.tbr-portal-secondary,.tbr-portal-secondary-button{background:#fff;color:#222!important;border:1px solid #d7dce2}.tbr-portal-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:16px}.tbr-portal-filter-pills{display:flex;gap:7px;flex-wrap:wrap}.tbr-portal-filter-pills a{font-size:12px;font-weight:700;text-decoration:none;color:#58606d;background:#f2f4f6;padding:9px 13px;border-radius:999px}.tbr-portal-filter-pills a.is-active{background:#111;color:#fff}.tbr-portal-search{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:700}.tbr-portal-search input{width:240px;min-height:40px;border:1px solid #d8dde4;border-radius:8px;padding:9px 12px;font-size:14px}.tbr-portal-job-list{display:grid;gap:13px}.tbr-portal-job-card{border:1px solid var(--tbrp-line);border-radius:14px;background:#fff;padding:21px 22px;box-shadow:0 6px 18px rgba(15,23,42,.035)}.tbr-portal-job-title{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}.tbr-portal-job-title h3{font-size:20px;margin:7px 0 4px}.tbr-portal-job-title p{margin:0;color:var(--tbrp-muted);font-size:13px}.tbr-portal-status,.tbr-portal-type,.tbr-portal-stage{display:inline-flex;border-radius:999px;padding:5px 9px;font-size:10px;font-weight:700}.tbr-portal-status.is-live{background:#edf9f0;color:#297243}.tbr-portal-status.is-draft{background:#f0f1f3;color:#656b75}.tbr-portal-type{background:#f4f5f7;color:#555d68;font-size:11px}.tbr-portal-stage{background:#f1f3f6;color:#49515e}.tbr-portal-job-details{display:grid;grid-template-columns:1.2fr 1fr 1fr .7fr 1fr;gap:16px;border-top:1px solid var(--tbrp-line);margin-top:17px;padding-top:16px}.tbr-portal-job-details span{display:grid;gap:5px;font-size:12px;color:#343b46}.tbr-portal-job-details b{font-size:10px;text-transform:uppercase;letter-spacing:.04em;color:#8b929d}.tbr-portal-job-actions{display:flex;gap:9px;align-items:center;margin-top:17px}.tbr-portal-job-actions a,.tbr-portal-job-actions button{font:inherit;font-size:12px;font-weight:700;padding:8px 12px;border:1px solid #d9dde3;background:#fff;color:#303640;border-radius:7px;text-decoration:none;cursor:pointer}.tbr-portal-job-actions a.is-primary{background:#111;color:#fff;border-color:#111}.tbr-portal-job-actions form{margin:0}.tbr-portal-empty{padding:32px;border:1px dashed #d8dde4;border-radius:12px;text-align:center;color:var(--tbrp-muted)}.tbr-portal-form{display:grid;gap:17px}.tbr-portal-form>section{background:#fff;border:1px solid var(--tbrp-line);border-radius:14px;padding:24px}.tbr-portal-form-section-title{display:flex;align-items:flex-start;gap:12px;margin-bottom:21px}.tbr-portal-form-section-title>span{display:grid;place-items:center;width:30px;height:30px;flex:0 0 30px;border-radius:50%;background:#111;color:#fff;font-size:12px;font-weight:700}.tbr-portal-form-section-title h3{margin:0 0 4px;font-size:18px}.tbr-portal-form-section-title p{margin:0;color:var(--tbrp-muted);font-size:12px}.tbr-portal-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.tbr-portal-form label{font-size:12px;font-weight:700;color:#303640;display:grid;gap:7px}.tbr-portal-form label.is-wide{grid-column:1/-1}.tbr-portal-form input,.tbr-portal-form select,.tbr-portal-form textarea,.tbr-portal-candidate-side input,.tbr-portal-candidate-side select,.tbr-portal-candidate-side textarea{width:100%;border:1px solid #d7dce3;border-radius:8px;padding:11px 12px;font:inherit;font-size:14px;background:#fff;min-height:43px}.tbr-portal-form textarea,.tbr-portal-candidate-side textarea{resize:vertical;line-height:1.5}.tbr-portal-form input:focus,.tbr-portal-form select:focus,.tbr-portal-form textarea:focus,.tbr-portal-search input:focus{outline:2px solid rgba(237,28,36,.18);border-color:var(--tbrp-red)}.tbr-portal-content-editors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.tbr-portal-screening{margin-top:20px;border-top:1px solid var(--tbrp-line);padding-top:18px;display:grid;gap:10px}.tbr-portal-screen-head{display:flex;justify-content:space-between;gap:14px}.tbr-portal-screen-head small{color:var(--tbrp-muted)}.tbr-portal-screen-row{display:grid;grid-template-columns:minmax(0,1fr) 130px 155px;align-items:end;gap:12px;padding:12px;background:#f8f9fa;border-radius:9px}.tbr-portal-check{display:flex!important;grid-auto-flow:column;justify-content:start;align-items:center;gap:8px!important;min-height:43px}.tbr-portal-check input{width:auto;min-height:0}.tbr-portal-form-actions{display:flex;justify-content:flex-end;gap:9px;align-items:center;padding:4px 0}.tbr-portal-form-actions>a{margin-right:auto;color:#656d79;text-decoration:none;font-size:13px}.tbr-portal-table{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border:1px solid var(--tbrp-line);border-radius:12px;overflow:hidden}.tbr-portal-table th,.tbr-portal-table td{text-align:left;padding:13px 14px;border-bottom:1px solid #eceef1;font-size:12px}.tbr-portal-table th{background:#f8f9fa;color:#757d89;text-transform:uppercase;font-size:10px;letter-spacing:.04em}.tbr-portal-table td strong{display:block;font-size:13px}.tbr-portal-table td small{display:block;color:#7d8490;margin-top:3px}.tbr-portal-table td:last-child a{color:var(--tbrp-red);font-weight:700;text-decoration:none}.tbr-portal-candidate-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,.72fr);gap:18px}.tbr-portal-candidate-main,.tbr-portal-candidate-side{background:#fff;border:1px solid var(--tbrp-line);border-radius:14px;padding:22px}.tbr-portal-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tbr-portal-detail-grid div{padding:14px;background:#f8f9fa;border-radius:9px;display:grid;gap:5px}.tbr-portal-detail-grid span,.tbr-portal-score-grid span{font-size:10px;color:#7b838f;text-transform:uppercase;font-weight:700}.tbr-portal-detail-grid strong{font-size:13px}.tbr-portal-score-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:18px}.tbr-portal-score-grid div{border:1px solid var(--tbrp-line);border-radius:10px;padding:15px;display:grid;gap:7px}.tbr-portal-score-grid strong{font-size:23px}.tbr-portal-candidate-side form{display:grid;gap:14px}.tbr-portal-candidate-side label{font-size:12px;font-weight:700;display:grid;gap:7px}.tbr-portal-back{display:inline-block;margin-bottom:8px;color:var(--tbrp-red);font-size:12px;text-decoration:none}.tbr-portal-login{max-width:520px;margin:70px auto;padding:32px;border:1px solid #e4e7eb;border-radius:15px;background:#fff;text-align:center;font-family:Arial,sans-serif}.tbr-portal-login h2{margin:0 0 10px}.tbr-portal-login p{color:#697180;line-height:1.55}.tbr-portal-login .tbr-portal-primary{margin-top:8px}.tbr-portal-job-card[hidden]{display:none!important}
@media(max-width:900px){.tbr-portal-topbar{flex-direction:column}.tbr-portal-user{width:100%}.tbr-portal-stats{grid-template-columns:repeat(2,1fr)}.tbr-portal-job-details{grid-template-columns:repeat(2,1fr)}.tbr-portal-candidate-layout{grid-template-columns:1fr}.tbr-portal-score-grid{grid-template-columns:repeat(2,1fr)}.tbr-portal-content-editors{grid-template-columns:1fr}.tbr-portal-screen-row{grid-template-columns:1fr 120px}.tbr-portal-check{grid-column:1/-1}}
@media(max-width:620px){.tbr-portal{width:min(100% - 20px,1240px);margin-top:24px}.tbr-portal-stats{grid-template-columns:1fr 1fr}.tbr-portal-stats>div{padding:15px}.tbr-portal-nav{overflow-x:auto}.tbr-portal-nav a{white-space:nowrap}.tbr-portal-section-head,.tbr-portal-toolbar{align-items:stretch;flex-direction:column}.tbr-portal-search{display:grid}.tbr-portal-search input{width:100%}.tbr-portal-job-title{flex-direction:column}.tbr-portal-job-details{grid-template-columns:1fr 1fr}.tbr-portal-job-actions{flex-wrap:wrap}.tbr-portal-form-grid{grid-template-columns:1fr}.tbr-portal-form label.is-wide{grid-column:auto}.tbr-portal-screen-row{grid-template-columns:1fr}.tbr-portal-check{grid-column:auto}.tbr-portal-form-actions{flex-wrap:wrap}.tbr-portal-form-actions>a{width:100%;margin:0}.tbr-portal-candidate-table-wrap{overflow-x:auto}.tbr-portal-table{min-width:860px}.tbr-portal-detail-grid,.tbr-portal-score-grid{grid-template-columns:1fr}.tbr-portal-user{min-width:0}}
.tbr-portal-login form{display:grid;gap:13px;text-align:left;margin-top:22px}.tbr-portal-login form p{margin:0;color:#303640}.tbr-portal-login form label{font-size:12px;font-weight:700;display:grid;gap:7px}.tbr-portal-login input[type=text],.tbr-portal-login input[type=password]{width:100%;min-height:45px;border:1px solid #d7dce3;border-radius:8px;padding:10px 12px;font-size:15px}.tbr-portal-login .login-remember label{display:flex;align-items:center;gap:8px;font-weight:400}.tbr-portal-login .login-submit input{width:100%;min-height:45px;border:0;border-radius:8px;background:var(--tbrp-red);color:#fff;font-weight:700;cursor:pointer}.tbr-portal-login .login-submit{margin-top:4px}

/* v0.6.1 security hardening */
.tbr-portal-login-form{display:grid;gap:16px;margin-top:22px}.tbr-portal-login-form label{display:grid;gap:7px;font-size:13px;font-weight:700;color:#252b35}.tbr-portal-login-form input[type=text],.tbr-portal-login-form input[type=password]{width:100%;box-sizing:border-box;min-height:48px;padding:11px 13px;border:1px solid #d7dce3;border-radius:8px;background:#fff;font-size:16px}.tbr-portal-login-form input:focus{outline:2px solid rgba(237,28,36,.2);outline-offset:1px;border-color:#ed1c24}.tbr-portal-remember{display:flex!important;align-items:center;gap:9px!important;font-weight:400!important}.tbr-portal-remember input{width:18px;height:18px;margin:0}.tbr-portal-forgot{font-size:13px;color:#5d6673;text-align:center}.tbr-portal-security-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 22px}.tbr-portal-security-cards>div{background:#fff;border:1px solid #e5e8ed;border-radius:12px;padding:18px;display:grid;gap:5px}.tbr-portal-security-cards span{font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:#707987;font-weight:700}.tbr-portal-security-cards strong{font-size:21px;color:#171b22}.tbr-portal-security-cards small{color:#727b88;font-size:12px;line-height:1.4}.tbr-portal-security-grid{display:grid;gap:20px}.tbr-portal-security-panel{background:#fff;border:1px solid #e5e8ed;border-radius:12px;padding:20px;min-width:0}.tbr-portal-security-panel h3{margin:0 0 14px;font-size:17px}.tbr-portal-security-panel code{font-family:inherit;background:#f2f4f6;padding:4px 7px;border-radius:5px;font-size:11px;text-transform:capitalize;white-space:nowrap}.tbr-portal-security-panel .tbr-portal-table td{vertical-align:top}.tbr-portal-security-panel .tbr-portal-table td:nth-child(3){max-width:340px;word-break:break-word}@media(max-width:900px){.tbr-portal-security-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.tbr-portal-security-cards{grid-template-columns:1fr}}

/* v0.6.2 polished recruitment portal */
.tbr-recruitment-portal-page .entry-title,
.tbr-recruitment-portal-page .wp-block-post-title,
.tbr-recruitment-portal-page .page-title{display:none!important}
.tbr-recruitment-portal-page .entry-content{margin-top:0!important}
.tbr-recruitment-portal-page main{overflow:visible}

.tbr-portal-login-shell{width:min(1180px,calc(100% - 40px));margin:62px auto 90px;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(420px,.8fr);gap:84px;align-items:center;font-family:Arial,sans-serif;color:var(--tbrp-ink);position:relative}
.tbr-portal-login-shell:before{content:"";position:absolute;left:-180px;bottom:-80px;width:430px;height:430px;border:70px solid rgba(237,28,36,.025);border-radius:50%;pointer-events:none;z-index:-1}
.tbr-portal-login-intro{padding:28px 0}
.tbr-portal-login-kicker{display:inline-flex;align-items:center;padding:8px 13px;border-radius:999px;background:#fff1f2;color:var(--tbrp-red);font-size:12px;font-weight:700;margin-bottom:24px}
.tbr-portal-login-intro h2{font-size:clamp(50px,5vw,72px);line-height:.98;letter-spacing:-.05em;margin:0 0 24px;color:#0d1117}
.tbr-portal-login-intro>p{font-size:18px;line-height:1.65;color:#596170;max-width:590px;margin:0 0 34px}
.tbr-portal-login-benefits{display:grid;gap:18px;max-width:560px}
.tbr-portal-login-benefits>div{display:grid;grid-template-columns:54px 1fr;align-items:center;gap:16px}
.tbr-portal-login-benefits>div>span{width:54px;height:54px;border-radius:14px;background:#fff4f4;color:var(--tbrp-red);display:grid;place-items:center}
.tbr-portal-login-benefits svg{width:24px;height:24px}
.tbr-portal-login-benefits div div{display:grid;gap:4px}.tbr-portal-login-benefits strong{font-size:16px}.tbr-portal-login-benefits small{font-size:13px;color:#6e7684;line-height:1.45}
.tbr-portal-login-card{background:#fff;border:1px solid #e4e7eb;border-radius:18px;padding:38px 40px;box-shadow:0 18px 50px rgba(15,23,42,.075)}
.tbr-portal-login-card-head{display:flex;align-items:center;gap:14px}.tbr-portal-login-lock{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#fff1f2;color:var(--tbrp-red)}.tbr-portal-login-lock svg{width:22px;height:22px}.tbr-portal-login-card-head>div{display:grid;gap:3px}.tbr-portal-login-card-head span{font-size:12px;color:var(--tbrp-red);font-weight:700}.tbr-portal-login-card-head h3{font-size:27px;line-height:1.15;margin:0;color:#151923;letter-spacing:-.025em}.tbr-portal-login-card-copy{margin:15px 0 0;color:#747c88;font-size:13px;line-height:1.5}
.tbr-portal-login-card .tbr-portal-notice{margin:18px 0 -4px}
.tbr-portal-login-card .tbr-portal-login-form{margin-top:28px;gap:18px}.tbr-portal-login-card .tbr-portal-login-form label{font-size:13px}.tbr-portal-input-wrap{position:relative;display:block}.tbr-portal-input-icon{position:absolute;left:14px;top:50%;transform:translateY(-50%);display:grid;place-items:center;color:#8a919c;pointer-events:none}.tbr-portal-input-icon svg{width:18px;height:18px}.tbr-portal-login-card .tbr-portal-login-form input[type=text],.tbr-portal-login-card .tbr-portal-login-form input[type=password]{padding-left:43px;min-height:54px;border-radius:8px;color:#222}.tbr-portal-login-submit{width:100%;min-height:54px;border-radius:8px;gap:9px;font-size:15px}.tbr-portal-login-submit svg{width:19px;height:19px}.tbr-portal-login-card .tbr-portal-forgot{color:var(--tbrp-red);font-weight:600;margin-top:1px;text-decoration:none}

.tbr-portal{width:min(1380px,calc(100% - 36px));margin:34px auto 74px;font-family:Arial,sans-serif;color:var(--tbrp-ink)}
.tbr-portal-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:0;border:1px solid #e7e9ed;border-radius:17px;background:#fff;box-shadow:0 10px 36px rgba(15,23,42,.045);overflow:hidden;min-height:720px}
.tbr-portal-sidebar{background:#fbfbfc;border-right:1px solid #eceef1;padding:25px 18px;display:flex;flex-direction:column;min-width:0}
.tbr-portal-sidebar-user{display:grid;grid-template-columns:50px 1fr;gap:12px;align-items:center;background:linear-gradient(135deg,#fff6f6,#fffafa);border:1px solid #f5dada;border-radius:14px;padding:15px}
.tbr-portal-avatar{display:grid;place-items:center;width:50px;height:50px;border-radius:50%;font-size:20px;background:#ffe1e2;color:#c31c22;font-weight:700}.tbr-portal-sidebar-user>div{min-width:0;display:grid}.tbr-portal-sidebar-user strong{font-size:14px;overflow:hidden;text-overflow:ellipsis}.tbr-portal-sidebar-user small{font-size:11px;color:#737b87;margin-top:2px}.tbr-portal-sidebar-user em{display:flex;align-items:center;gap:5px;font-size:11px;color:#5d6672;font-style:normal;margin-top:5px}.tbr-portal-sidebar-user em i{width:7px;height:7px;border-radius:50%;background:#13b957}
.tbr-portal-sidebar-signout{display:inline-flex;align-items:center;gap:8px;padding:11px 11px;margin:5px 0 10px;color:var(--tbrp-red);font-size:12px;font-weight:700;text-decoration:none}.tbr-portal-sidebar-signout svg{width:17px;height:17px}
.tbr-portal-sidebar-label{text-transform:uppercase;font-size:10px;letter-spacing:.08em;color:#8c939f;font-weight:700;padding:12px 11px 7px}.tbr-portal-sidebar-divider{border-top:1px solid #e7e9ed;margin-top:12px;padding-top:20px}
.tbr-portal-side-nav{display:grid;gap:4px}.tbr-portal-side-nav a{display:flex;align-items:center;gap:11px;min-height:43px;padding:10px 11px;border-radius:9px;color:#414955;font-size:13px;text-decoration:none;font-weight:600}.tbr-portal-side-nav a svg{width:19px;height:19px;flex:0 0 19px}.tbr-portal-side-nav a.is-active{background:#fff0f0;color:var(--tbrp-red);font-weight:700}.tbr-portal-side-nav a.is-current:not(.is-active){color:var(--tbrp-red)}.tbr-portal-side-nav a:hover{background:#f4f5f7}.tbr-portal-side-nav.is-quick a:first-child{color:var(--tbrp-red)}
.tbr-portal-main{background:#fcfcfd;padding:34px 30px 30px;min-width:0}.tbr-portal-pagehead{margin-bottom:28px;display:flex;align-items:flex-start;justify-content:space-between;gap:24px}.tbr-portal-pagehead-copy{min-width:0}.tbr-portal-pagehead .tbr-portal-eyebrow{display:none}.tbr-portal-pagehead h1{font-size:clamp(34px,4vw,48px);margin:0 0 8px;letter-spacing:-.04em}.tbr-portal-pagehead p{margin:0;color:#697180;font-size:13px}.tbr-portal-pagehead p strong{color:#262d36}.tbr-portal-clock{margin-left:auto;text-align:right;padding-top:3px;min-width:150px}.tbr-portal-clock-date{display:block;color:#697180;font-size:13px;font-weight:700;letter-spacing:.01em}.tbr-portal-clock-time{display:block;margin-top:3px;color:#111827;font-size:24px;line-height:1.1;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.tbr-portal-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:24px}.tbr-portal-stats>div{display:grid;grid-template-columns:54px 1fr;gap:14px;align-items:center;padding:19px 18px;border:1px solid #e7e9ed;border-radius:13px;background:#fff;box-shadow:0 4px 12px rgba(15,23,42,.025)}.tbr-portal-stat-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:13px}.tbr-portal-stat-icon svg{width:25px;height:25px}.tbr-portal-stats .is-jobs .tbr-portal-stat-icon{background:#fff0f1;color:#ed1c24}.tbr-portal-stats .is-apps .tbr-portal-stat-icon{background:#eef1ff;color:#3154db}.tbr-portal-stats .is-interviews .tbr-portal-stat-icon{background:#fff4e2;color:#e79500}.tbr-portal-stats .is-offers .tbr-portal-stat-icon{background:#ebf9ef;color:#16a149}.tbr-portal-stats>div>div{display:grid;grid-template-columns:auto 1fr;column-gap:8px;align-items:end}.tbr-portal-stats strong{font-size:28px;line-height:1;margin:0;grid-row:1/3}.tbr-portal-stats>div>div>span{font-size:13px;color:#20262f;font-weight:700}.tbr-portal-stats small{font-size:11px;color:#7c8490;margin-top:3px}
.tbr-portal-workspace{background:#fff;border:1px solid #e5e8ed;border-radius:14px;box-shadow:0 5px 16px rgba(15,23,42,.025);overflow:hidden;padding:0 20px 22px}.tbr-portal-nav{margin:0 -20px 24px;padding:0 20px;display:grid;grid-template-columns:repeat(4,minmax(110px,1fr));gap:0;border-bottom:1px solid #e7e9ed}.tbr-portal-nav a{display:flex;gap:8px;justify-content:center;align-items:center;padding:16px 14px 14px;font-size:13px}.tbr-portal-nav a svg{width:19px;height:19px}.tbr-portal-nav a.is-active{border-bottom-width:2px}
.tbr-portal-section-head{padding:0 2px;margin-bottom:18px}.tbr-portal-section-head h2{font-size:24px}.tbr-portal-section-head p{font-size:12px}.tbr-portal-section-head>.tbr-portal-primary{background:#fff;color:var(--tbrp-red)!important;border-color:var(--tbrp-red)}
.tbr-portal-toolbar{padding:0 2px;margin-bottom:18px}.tbr-portal-filter-pills a{border:1px solid #e0e4e9;background:#fff;color:#525b68;border-radius:8px;padding:9px 15px}.tbr-portal-filter-pills a.is-active{background:#fff;color:var(--tbrp-red);border-color:var(--tbrp-red)}.tbr-portal-search span{display:none}.tbr-portal-search{position:relative}.tbr-portal-search:before{content:"";position:absolute;left:13px;top:50%;width:14px;height:14px;border:1.8px solid #697180;border-radius:50%;transform:translateY(-60%);pointer-events:none}.tbr-portal-search:after{content:"";position:absolute;left:26px;top:57%;width:6px;height:1.8px;background:#697180;transform:rotate(45deg);transform-origin:left center;pointer-events:none}.tbr-portal-search input{padding-left:39px;width:270px;border-radius:8px;background:#fff}
.tbr-portal-job-list{gap:14px}.tbr-portal-job-card{padding:18px 20px;border-radius:12px;box-shadow:none}.tbr-portal-job-title{align-items:center}.tbr-portal-job-title h3{font-size:23px;margin:7px 0 3px}.tbr-portal-job-title p{font-size:12px}.tbr-portal-type{background:transparent;color:#555d68;padding:0;font-size:12px}.tbr-portal-status{padding:4px 9px}.tbr-portal-job-details{grid-template-columns:1.15fr .9fr .9fr .7fr .9fr;margin-top:15px;padding-top:15px;gap:12px}.tbr-portal-job-details span{font-size:12px}.tbr-portal-job-details b{font-size:10px}.tbr-portal-job-actions{border-top:1px solid #eceef1;margin-top:15px;padding-top:14px}.tbr-portal-job-actions a,.tbr-portal-job-actions button{min-height:38px}.tbr-portal-job-actions a{color:var(--tbrp-red);border-color:transparent;background:transparent;padding-left:4px;padding-right:4px}.tbr-portal-job-actions a.is-primary{background:transparent;border-color:transparent;color:var(--tbrp-red)}.tbr-portal-job-actions form{margin-left:auto}.tbr-portal-job-actions form button{background:#fff;color:#333}.tbr-portal-job-actions form button:hover{border-color:#f0a4a7;color:#c81b21}
.tbr-portal-form>section,.tbr-portal-candidate-main,.tbr-portal-candidate-side,.tbr-portal-security-panel{box-shadow:none}.tbr-portal-form-section-title>span{background:#fff0f1;color:var(--tbrp-red)}

@media(max-width:1100px){.tbr-portal-layout{grid-template-columns:210px minmax(0,1fr)}.tbr-portal-main{padding:28px 22px}.tbr-portal-stats{grid-template-columns:repeat(2,1fr)}.tbr-portal-login-shell{gap:44px;grid-template-columns:1fr minmax(390px,.85fr)}}
@media(max-width:860px){.tbr-portal-layout{display:block}.tbr-portal-sidebar{border-right:0;border-bottom:1px solid #e7e9ed;padding:16px}.tbr-portal-sidebar-user{display:none}.tbr-portal-sidebar-signout{float:right;margin:0}.tbr-portal-sidebar-label{display:none}.tbr-portal-side-nav{display:flex;overflow-x:auto;gap:6px}.tbr-portal-side-nav.is-quick{display:none}.tbr-portal-side-nav a{white-space:nowrap;background:#fff;border:1px solid #eceef1}.tbr-portal-main{clear:both}.tbr-portal-login-shell{grid-template-columns:1fr;gap:28px;margin-top:38px}.tbr-portal-login-intro{padding-bottom:0}.tbr-portal-login-intro h2 br{display:none}.tbr-portal-login-benefits{grid-template-columns:repeat(3,1fr);max-width:none}.tbr-portal-login-benefits>div{grid-template-columns:44px 1fr;gap:10px}.tbr-portal-login-benefits>div>span{width:44px;height:44px}.tbr-portal-login-benefits small{font-size:11px}}
@media(max-width:680px){.tbr-portal{width:min(100% - 18px,1380px);margin-top:18px}.tbr-portal-main{padding:22px 14px}.tbr-portal-pagehead{gap:14px;flex-wrap:wrap}.tbr-portal-pagehead h1{font-size:34px}.tbr-portal-clock{margin-left:0;text-align:left;min-width:0;width:100%;display:flex;align-items:baseline;gap:10px;padding-top:0}.tbr-portal-clock-time{font-size:20px}.tbr-portal-stats{grid-template-columns:1fr 1fr;gap:9px}.tbr-portal-stats>div{grid-template-columns:42px 1fr;padding:13px 12px;gap:10px}.tbr-portal-stat-icon{width:42px;height:42px}.tbr-portal-stat-icon svg{width:20px;height:20px}.tbr-portal-stats strong{font-size:23px}.tbr-portal-workspace{padding:0 13px 16px}.tbr-portal-nav{margin:0 -13px 18px;padding:0 13px;display:flex;overflow-x:auto}.tbr-portal-nav a{min-width:max-content;padding:14px 13px}.tbr-portal-login-shell{width:min(100% - 24px,1180px);margin:28px auto 50px}.tbr-portal-login-intro h2{font-size:46px}.tbr-portal-login-intro>p{font-size:15px}.tbr-portal-login-benefits{grid-template-columns:1fr}.tbr-portal-login-card{padding:28px 22px}.tbr-portal-toolbar{align-items:stretch}.tbr-portal-search input{width:100%}.tbr-portal-job-details{grid-template-columns:1fr 1fr}.tbr-portal-job-actions{flex-wrap:wrap}.tbr-portal-job-actions form{margin-left:0}}
@media(max-width:440px){.tbr-portal-stats{grid-template-columns:1fr}.tbr-portal-job-details{grid-template-columns:1fr}.tbr-portal-login-intro h2{font-size:40px}}


/* v0.6.3 defensive portal isolation */
.tbr-recruitment-portal-page .entry-title,
.tbr-recruitment-portal-page .page-title,
.tbr-recruitment-portal-page main > article > header.entry-header,
.tbr-recruitment-portal-page .wp-block-post-title {display:none!important}
.tbr-recruitment-portal-page .entry-content,
.tbr-recruitment-portal-page .site-main,
.tbr-recruitment-portal-page main {overflow:visible}
.tbr-portal svg,
.tbr-portal-login-shell svg {display:inline-block!important;max-width:none!important;max-height:none!important;vertical-align:middle}
.tbr-portal-sidebar-signout svg{width:17px!important;height:17px!important;min-width:17px!important;min-height:17px!important}
.tbr-portal-side-nav a svg{width:19px!important;height:19px!important;min-width:19px!important;min-height:19px!important}
.tbr-portal-stat-icon svg{width:25px!important;height:25px!important;min-width:25px!important;min-height:25px!important}
.tbr-portal-nav a svg{width:19px!important;height:19px!important;min-width:19px!important;min-height:19px!important}
.tbr-portal-login-benefits svg{width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important}
.tbr-portal-login-lock svg{width:22px!important;height:22px!important;min-width:22px!important;min-height:22px!important}
.tbr-portal-input-icon svg{width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important}
.tbr-portal-login-submit svg{width:19px!important;height:19px!important;min-width:19px!important;min-height:19px!important}


/* v0.6.4 standalone full-screen recruitment workspace */
html:has(body.tbr-portal-standalone),
body.tbr-portal-standalone{
    margin:0!important;
    padding:0!important;
    min-height:100%;
    background:#fcfcfd;
}
body.tbr-portal-standalone{
    min-width:320px;
    overflow-x:hidden;
}
body.tbr-portal-standalone #wpadminbar{display:none!important}
body.tbr-portal-standalone #tbr-recruitment-app{min-height:100vh;width:100%}
body.tbr-portal-standalone .tbr-portal{
    width:100%;
    max-width:none;
    min-height:100vh;
    margin:0;
    padding:0;
}
body.tbr-portal-standalone .tbr-portal-layout{
    display:grid;
    grid-template-columns:260px minmax(0,1fr);
    width:100%;
    max-width:none;
    min-height:100vh;
    margin:0;
    border:0;
    border-radius:0;
    box-shadow:none;
    overflow:visible;
    background:#fcfcfd;
}
body.tbr-portal-standalone .tbr-portal-sidebar{
    position:sticky;
    top:0;
    align-self:start;
    height:100vh;
    overflow-y:auto;
    border-right:1px solid #e7e9ed;
    background:#fff;
    padding:24px 16px;
}
body.tbr-portal-standalone .tbr-portal-main{
    min-width:0;
    min-height:100vh;
    width:100%;
    padding:38px clamp(24px,3vw,54px) 46px;
    background:#fcfcfd;
}
body.tbr-portal-standalone .tbr-portal-pagehead,
body.tbr-portal-standalone .tbr-portal-stats,
body.tbr-portal-standalone .tbr-portal-workspace{
    width:100%;
    max-width:1600px;
    margin-left:auto;
    margin-right:auto;
}
body.tbr-portal-standalone .tbr-portal-pagehead{margin-bottom:28px}
body.tbr-portal-standalone .tbr-portal-stats{margin-bottom:24px}
body.tbr-portal-standalone .tbr-portal-workspace{margin-bottom:0}
body.tbr-portal-standalone .tbr-portal-login-shell{
    width:min(1180px,calc(100% - 48px));
    min-height:100vh;
    margin:0 auto;
    padding:64px 0;
    align-content:center;
}
@media(max-width:1100px){
    body.tbr-portal-standalone .tbr-portal-layout{grid-template-columns:220px minmax(0,1fr)}
    body.tbr-portal-standalone .tbr-portal-main{padding:30px 24px 38px}
}
@media(max-width:860px){
    body.tbr-portal-standalone .tbr-portal-layout{display:block;min-height:100vh}
    body.tbr-portal-standalone .tbr-portal-sidebar{
        position:relative;
        top:auto;
        height:auto;
        overflow:visible;
        border-right:0;
        border-bottom:1px solid #e7e9ed;
        padding:14px 16px;
    }
    body.tbr-portal-standalone .tbr-portal-main{min-height:auto;padding:24px 16px 34px}
    body.tbr-portal-standalone .tbr-portal-login-shell{width:min(100% - 28px,760px);padding:34px 0 50px}
}


/* v0.6.5 compact dashboard metrics + stronger job-title hierarchy */
.tbr-portal-stats{
    gap:14px;
}
.tbr-portal-stats>div{
    min-height:92px;
    grid-template-columns:52px minmax(0,1fr);
    align-items:center;
    gap:14px;
    padding:15px 18px;
    border:1px solid #e5e8ed;
    border-radius:14px;
    background:#fff;
    box-shadow:0 3px 10px rgba(15,23,42,.025);
}
.tbr-portal-stat-icon{
    width:52px;
    height:52px;
    border-radius:12px;
}
.tbr-portal-stat-icon svg{
    width:23px!important;
    height:23px!important;
    min-width:23px!important;
    min-height:23px!important;
}
.tbr-portal-stats>div>div{
    min-width:0;
    display:grid;
    grid-template-columns:auto minmax(0,1fr);
    grid-template-rows:auto auto;
    column-gap:11px;
    row-gap:1px;
    align-items:center;
}
.tbr-portal-stats strong{
    grid-column:1;
    grid-row:1 / 3;
    align-self:center;
    font-size:31px;
    line-height:1;
    margin:0;
    color:#111827;
    font-weight:700;
}
.tbr-portal-stats>div>div>span{
    grid-column:2;
    grid-row:1;
    align-self:end;
    font-size:12px;
    line-height:1.25;
    color:#111827;
    font-weight:700;
}
.tbr-portal-stats small{
    grid-column:2;
    grid-row:2;
    align-self:start;
    margin:0;
    font-size:10.5px;
    line-height:1.3;
    color:#7b8491;
    font-weight:400;
}
.tbr-portal-job-name{
    display:block!important;
    margin:8px 0 4px!important;
    color:#111827!important;
    opacity:1!important;
    visibility:visible!important;
    font-size:23px!important;
    line-height:1.2!important;
    font-weight:700!important;
    letter-spacing:-.015em!important;
}
.tbr-portal-department{
    display:block!important;
    margin:0!important;
    color:#596273!important;
    opacity:1!important;
    visibility:visible!important;
    font-size:12px!important;
    line-height:1.35!important;
}
@media(max-width:1100px){
    .tbr-portal-stats>div{min-height:88px;padding:14px 15px;grid-template-columns:48px minmax(0,1fr);gap:12px}
    .tbr-portal-stat-icon{width:48px;height:48px}
    .tbr-portal-stats strong{font-size:28px}
}
@media(max-width:680px){
    .tbr-portal-stats>div{grid-template-columns:44px minmax(0,1fr);min-height:82px}
    .tbr-portal-stat-icon{width:44px;height:44px}
    .tbr-portal-stats strong{font-size:25px}
}


/* v0.6.6 login interaction refinements */
.tbr-portal-login-submit,
.tbr-portal-login-card .tbr-portal-login-submit {
    transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease !important;
}
.tbr-portal-login-submit:hover,
.tbr-portal-login-card .tbr-portal-login-submit:hover {
    background:#c9141b !important;
    border-color:#c9141b !important;
    box-shadow:0 9px 22px rgba(237,28,36,.22) !important;
    transform:translateY(-1px);
}
.tbr-portal-login-submit:active,
.tbr-portal-login-card .tbr-portal-login-submit:active {
    transform:translateY(0);
    box-shadow:0 4px 12px rgba(237,28,36,.18) !important;
}
.tbr-portal-login-submit:focus-visible,
.tbr-portal-login-card .tbr-portal-login-submit:focus-visible {
    outline:3px solid rgba(237,28,36,.24) !important;
    outline-offset:3px !important;
}

.tbr-portal-auth-frame{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;border:0!important;left:-9999px!important;top:-9999px!important}

/* v0.6.19 secure authentication hand-off */
.tbr-portal-secure-login{display:grid;gap:16px;margin-top:22px}.tbr-portal-secure-login .tbr-portal-login-submit{width:100%;box-sizing:border-box;text-align:center;text-decoration:none}.tbr-portal-auth-watch{display:flex;align-items:flex-start;gap:10px;padding:13px 14px;border:1px solid #e5e7eb;border-radius:10px;background:#f8fafc;color:#667085;font-size:12px;line-height:1.45}.tbr-portal-auth-dot{width:8px;height:8px;border-radius:50%;background:#98a2b3;flex:0 0 8px;margin-top:4px}.tbr-portal-auth-watch.is-waiting{border-color:#f2d0d2;background:#fff8f8;color:#4b5563}.tbr-portal-auth-watch.is-waiting .tbr-portal-auth-dot{background:var(--tbr-portal-red,#ed1c24);box-shadow:0 0 0 4px rgba(237,28,36,.08)}.tbr-portal-auth-watch.is-success{border-color:#b7dfc2;background:#f2fbf5;color:#276738}.tbr-portal-auth-watch.is-success .tbr-portal-auth-dot{background:#28a745}.tbr-portal-auth-watch.is-error{border-color:#f0b8bb;background:#fff5f5;color:#9f1f26}.tbr-portal-auth-watch.is-error .tbr-portal-auth-dot{background:#ed1c24}

/* v0.6.21 branded native WordPress login */
.tbr-portal-login-form{display:grid;margin-top:28px;gap:18px}
.tbr-portal-login-form>label:not(.tbr-portal-remember){display:grid;gap:8px;font-size:13px;font-weight:700;color:#171b24}
.tbr-portal-login-form .tbr-portal-input-wrap{display:block;position:relative}
.tbr-portal-login-form input[type=text],.tbr-portal-login-form input[type=password]{width:100%;box-sizing:border-box;min-height:54px;padding:12px 14px 12px 43px;border:1px solid #d6dce5;border-radius:9px;background:#fff;color:#171b24;font-size:15px;outline:none;transition:border-color .18s ease,box-shadow .18s ease}
.tbr-portal-login-form input[type=text]:focus,.tbr-portal-login-form input[type=password]:focus{border-color:var(--tbrp-red);box-shadow:0 0 0 3px rgba(237,28,36,.1)}
.tbr-portal-remember{display:flex!important;align-items:center;gap:9px;font-size:13px!important;font-weight:400!important;cursor:pointer}
.tbr-portal-remember input{width:17px;height:17px;margin:0;accent-color:var(--tbrp-red)}
.tbr-portal-login-form .tbr-portal-login-submit{border:0;font-family:inherit}
.tbr-portal-login-form .tbr-portal-forgot{text-align:center;display:block}

/* v0.6.26 form text refinement */
.tbr-portal input::placeholder,.tbr-portal textarea::placeholder,.tbr-portal-login-form input::placeholder{font-weight:400!important;color:#8b93a0}.tbr-portal select,.tbr-portal select option,.tbr-portal-form select,.tbr-portal-login-form select{font-weight:400!important}.tbr-portal input,.tbr-portal textarea{font-weight:400}.tbr-portal label{font-weight:600}.tbr-portal label select,.tbr-portal label input,.tbr-portal label textarea{font-weight:400!important}


/* v0.6.27 accordion jobs list */
.tbr-portal-job-list.is-accordion{gap:10px}
.tbr-portal-job-accordion{padding:0;overflow:hidden}
.tbr-portal-job-accordion summary{list-style:none;cursor:pointer}
.tbr-portal-job-accordion summary::-webkit-details-marker{display:none}
.tbr-portal-job-summary{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(320px,.95fr) 28px;gap:18px;align-items:center;padding:16px 18px}
.tbr-portal-job-summary-main{display:flex;align-items:flex-start;gap:12px;min-width:0}
.tbr-portal-job-summary-copy{min-width:0}
.tbr-portal-job-summary .tbr-portal-job-name{font-size:16px!important;line-height:1.25!important;margin:2px 0 4px!important}
.tbr-portal-job-summary-meta{margin:0!important;color:#697180!important;font-size:12px!important;line-height:1.4!important;display:flex;gap:8px;flex-wrap:wrap}
.tbr-portal-job-summary-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:center}
.tbr-portal-job-summary-stats span{display:grid;gap:4px;font-size:12px;color:#242b35}
.tbr-portal-job-summary-stats b{font-size:10px;text-transform:uppercase;letter-spacing:.04em;color:#8b929d}
.tbr-portal-job-summary-stats em{font-style:normal;justify-self:start}
.tbr-portal-job-toggle{display:grid;place-items:center;width:28px;height:28px;border-radius:999px;background:#f6f7f9;color:#7d8794;transition:transform .18s ease,background .18s ease,color .18s ease}
.tbr-portal-job-toggle svg{width:16px!important;height:16px!important;min-width:16px!important;min-height:16px!important}
.tbr-portal-job-accordion[open] .tbr-portal-job-toggle{transform:rotate(180deg);background:#fff0f1;color:var(--tbrp-red)}
.tbr-portal-job-body{border-top:1px solid var(--tbrp-line);padding:16px 18px 18px}
.tbr-portal-job-body .tbr-portal-job-title{align-items:flex-start}
.tbr-portal-job-body .tbr-portal-job-name{font-size:21px!important}
.tbr-portal-job-body .tbr-portal-job-details{margin-top:14px;padding-top:14px}
.tbr-portal-job-body .tbr-portal-job-actions{margin-top:14px;padding-top:14px}
.tbr-portal-job-list.is-accordion .tbr-portal-status{align-self:flex-start}
.tbr-portal-job-list.is-accordion .tbr-portal-type{white-space:nowrap}
@media(max-width:1100px){
  .tbr-portal-job-summary{grid-template-columns:1fr;gap:12px}
  .tbr-portal-job-summary-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
  .tbr-portal-job-toggle{justify-self:end}
}
@media(max-width:680px){
  .tbr-portal-job-summary{padding:14px}
  .tbr-portal-job-summary-main{gap:10px;flex-wrap:wrap}
  .tbr-portal-job-summary-stats{grid-template-columns:1fr 1fr}
  .tbr-portal-job-body{padding:14px}
}
@media(max-width:480px){
  .tbr-portal-job-summary-stats{grid-template-columns:1fr}
}


/* v0.6.28 sidebar user name formatting */
.tbr-portal-user-name{display:grid!important;gap:1px;line-height:1.2}.tbr-portal-user-name>span{display:block}.tbr-portal-sidebar-user small{text-transform:none}

/* v0.6.29 dashboard sign-in timestamp */
.tbr-portal-login-stamp{
    display:inline-block;
    margin-top:4px;
    color:#697180;
    font-weight:400;
}


/* v0.6.32 TinyMCE job-content editors */
.tbr-portal-editor-block{min-width:0;display:grid;gap:8px}
.tbr-portal-editor-block>label{display:block;font-size:12px;font-weight:700;color:#303640}
.tbr-portal-editor-block .wp-editor-wrap{min-width:0;border-radius:8px;overflow:hidden}
.tbr-portal-editor-block .wp-editor-container{border-color:#d7dce3!important}
.tbr-portal-editor-block .mce-tinymce,
.tbr-portal-editor-block .mce-panel{box-shadow:none!important}
.tbr-portal-editor-block .mce-toolbar-grp{background:#f8f9fa!important}
.tbr-portal-editor-block .mce-edit-area iframe{min-height:235px}
.tbr-portal-editor-block .wp-switch-editor{font-weight:600!important}
.tbr-portal-editor-block textarea.wp-editor-area{font-family:Consolas,Monaco,monospace;font-size:13px;line-height:1.5;font-weight:400!important}
@media(max-width:900px){.tbr-portal-content-editors{grid-template-columns:1fr}}


/* v0.6.33 consistent dashboard button interaction states */
.tbr-portal-primary,
.tbr-portal-secondary,
.tbr-portal-secondary-button,
.tbr-portal-job-actions a,
.tbr-portal-job-actions button,
.tbr-portal-filter-pills a,
.tbr-portal-form-actions > a,
.tbr-portal-nav a,
.tbr-portal-side-nav a {
    transition:
        background-color .18s ease,
        border-color .18s ease,
        color .18s ease,
        box-shadow .18s ease,
        transform .18s ease,
        opacity .18s ease;
}

/* Primary red actions */
.tbr-portal-primary:hover,
.tbr-portal-primary:focus-visible {
    background:#c9141b !important;
    border-color:#c9141b !important;
    color:#fff !important;
    transform:translateY(-1px);
    box-shadow:0 6px 16px rgba(237,28,36,.20);
}
.tbr-portal-primary:active {
    background:#ae1016 !important;
    border-color:#ae1016 !important;
    transform:translateY(0);
    box-shadow:0 2px 6px rgba(237,28,36,.15);
}

/* Secondary white actions */
.tbr-portal-secondary:hover,
.tbr-portal-secondary-button:hover,
.tbr-portal-secondary:focus-visible,
.tbr-portal-secondary-button:focus-visible {
    background:#f7f8fa !important;
    border-color:#aeb6c1 !important;
    color:#111827 !important;
    transform:translateY(-1px);
    box-shadow:0 4px 12px rgba(15,23,42,.07);
}
.tbr-portal-secondary:active,
.tbr-portal-secondary-button:active {
    background:#eef0f3 !important;
    transform:translateY(0);
    box-shadow:none;
}

/* Inline job actions */
.tbr-portal-job-actions a:hover,
.tbr-portal-job-actions a:focus-visible {
    color:#c9141b !important;
    background:#fff3f4 !important;
    border-color:#ffd0d2 !important;
}
.tbr-portal-job-actions button:hover,
.tbr-portal-job-actions button:focus-visible {
    color:#c9141b !important;
    background:#fff7f7 !important;
    border-color:#ef9da1 !important;
    transform:translateY(-1px);
}
.tbr-portal-job-actions button:active {
    transform:translateY(0);
}

/* Filter pills */
.tbr-portal-filter-pills a:hover,
.tbr-portal-filter-pills a:focus-visible {
    background:#e9ebef;
    color:#202630;
}
.tbr-portal-filter-pills a.is-active:hover,
.tbr-portal-filter-pills a.is-active:focus-visible {
    background:#292d34;
    color:#fff;
}

/* Cancel / text actions */
.tbr-portal-form-actions > a:hover,
.tbr-portal-form-actions > a:focus-visible {
    color:var(--tbrp-red);
    text-decoration:underline;
}

/* Dashboard navigation */
.tbr-portal-nav a:hover,
.tbr-portal-nav a:focus-visible,
.tbr-portal-side-nav a:hover,
.tbr-portal-side-nav a:focus-visible {
    color:var(--tbrp-red);
    background:#fff5f5;
}

/* Consistent keyboard focus */
.tbr-portal button:focus-visible,
.tbr-portal a:focus-visible {
    outline:2px solid rgba(237,28,36,.36);
    outline-offset:2px;
}

/* Disabled state */
.tbr-portal button:disabled,
.tbr-portal .is-disabled {
    opacity:.48;
    cursor:not-allowed;
    transform:none !important;
    box-shadow:none !important;
}

/* v0.6.34 job owner selector */
.tbr-portal-field-help{
    display:block;
    margin-top:6px;
    color:#7a8391;
    font-size:11px;
    line-height:1.4;
    font-weight:400;
}


/* v0.6.35 TinyMCE floating-menu positioning fix */
.tbr-portal-editor-block .wp-editor-wrap{
    overflow:visible!important;
}
.tbr-portal-editor-block .wp-editor-container,
.tbr-portal-editor-block .mce-tinymce,
.tbr-portal-editor-block .mce-container,
.tbr-portal-editor-block .mce-panel{
    overflow:visible!important;
}
body.tbr-portal-standalone .mce-floatpanel,
body.tbr-portal-standalone .mce-menu,
body.tbr-portal-standalone .mce-menu-item{
    z-index:1000000!important;
}
body.tbr-portal-standalone .mce-menu{
    max-height:min(360px,calc(100vh - 24px));
    overflow-y:auto!important;
    box-shadow:0 10px 28px rgba(15,23,42,.16)!important;
}


/* v0.6.36 Job basics form alignment */
.tbr-portal-form-grid{
    column-gap:16px;
    row-gap:18px;
    align-items:start;
}
.tbr-portal-form-grid > label{
    margin:0;
    gap:7px;
    align-content:start;
}
.tbr-portal-form-grid input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.tbr-portal-form-grid select{
    width:100%;
    height:44px;
    min-height:44px;
    padding:0 14px;
    border:1px solid #d7dce3;
    border-radius:8px;
    line-height:42px;
    font-size:14px;
    font-weight:400;
    background:#fff;
}
.tbr-portal-form-grid select{
    line-height:normal;
    padding-top:0;
    padding-bottom:0;
}
.tbr-portal-form-grid textarea{
    min-height:88px;
    padding:12px 14px;
}
.tbr-portal-form-grid .tbr-portal-field-help{
    min-height:0;
    margin-top:1px;
    line-height:1.35;
}
.tbr-portal-form-grid label:has(.tbr-portal-field-help){
    grid-template-rows:auto 44px auto;
}
.tbr-portal-form-grid label.is-wide{
    grid-column:1/-1;
}

/* Keep all Job Content editors visually stable on hover/focus. */
.tbr-portal-editor-block{
    position:relative;
    min-width:0;
}
.tbr-portal-editor-block .wp-editor-wrap,
.tbr-portal-editor-block .wp-editor-container,
.tbr-portal-editor-block .mce-tinymce{
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
}
.tbr-portal-editor-block .wp-editor-container{
    border:1px solid #d7dce3!important;
    border-radius:0 0 8px 8px;
    background:#fff;
}
.tbr-portal-editor-block .mce-tinymce,
.tbr-portal-editor-block .mce-panel,
.tbr-portal-editor-block .mce-toolbar-grp,
.tbr-portal-editor-block .mce-edit-area{
    transform:none!important;
    transition:none!important;
}
.tbr-portal-editor-block .mce-tinymce:hover,
.tbr-portal-editor-block .mce-panel:hover,
.tbr-portal-editor-block .wp-editor-container:hover{
    transform:none!important;
    box-shadow:none!important;
}
.tbr-portal-editor-block .mce-edit-area{
    overflow:hidden!important;
}
.tbr-portal-editor-block .mce-edit-area iframe{
    display:block!important;
    width:100%!important;
    margin:0!important;
}
.tbr-portal-editor-block .wp-switch-editor{
    min-height:28px!important;
    line-height:26px!important;
    box-sizing:border-box!important;
}


/* v0.7.0 prerequisite question bank */
.tbr-question-layout{display:grid;grid-template-columns:minmax(330px,.78fr) minmax(0,1.4fr);gap:22px;align-items:start}
.tbr-question-editor,.tbr-question-bank{background:#fff;border:1px solid #e4e7ec;border-radius:14px;padding:20px;min-width:0}
.tbr-question-editor{display:grid;gap:16px}
.tbr-question-editor-head span{display:block;color:var(--tbrp-red);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em}
.tbr-question-editor-head h3,.tbr-question-bank-head h3{margin:4px 0 0;font-size:20px}
.tbr-question-editor label{display:grid;gap:7px;font-size:12px;font-weight:700;color:#252b35}
.tbr-question-editor input[type=text],.tbr-question-editor input[type=number],.tbr-question-editor select,.tbr-question-editor textarea{width:100%;box-sizing:border-box;border:1px solid #d7dce3;border-radius:8px;background:#fff;padding:10px 12px;font:400 14px/1.45 Arial,sans-serif;color:#1c2330}
.tbr-question-editor select{min-height:44px}
.tbr-question-editor select[multiple]{min-height:165px;padding:6px}
.tbr-question-editor small{font-size:11px;color:#7a8391;font-weight:400;line-height:1.4}
.tbr-question-grid{display:grid;grid-template-columns:1fr 130px;gap:14px}
.tbr-question-checks{display:grid;gap:8px;padding:13px 14px;background:#f8f9fb;border:1px solid #eceef2;border-radius:9px}
.tbr-question-checks label{display:flex;align-items:center;gap:9px;font-weight:500}
.tbr-question-checks input{width:17px;height:17px;margin:0}
.tbr-question-actions{display:flex;justify-content:flex-end;gap:9px;padding-top:3px}
.tbr-question-bank-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:16px}
.tbr-question-bank-head>div{display:flex;gap:10px;align-items:center}
.tbr-question-bank-head>div>span{display:grid;place-items:center;width:34px;height:34px;background:#fff0f1;color:var(--tbrp-red);border-radius:50%;font-weight:700}
.tbr-question-bank-head p{margin:0;max-width:360px;color:#697180;font-size:12px;line-height:1.45;text-align:right}
.tbr-question-list{display:grid;gap:10px}
.tbr-question-card{border:1px solid #e6e9ee;border-radius:11px;padding:15px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:15px;align-items:start}
.tbr-question-card h4{margin:7px 0 6px;font-size:14px;line-height:1.45;color:#171d27}
.tbr-question-card p,.tbr-question-card small{display:block;margin:0;color:#737c89;font-size:11px;line-height:1.45}
.tbr-question-card small{margin-top:7px}
.tbr-question-card-badges{display:flex;gap:6px;flex-wrap:wrap}
.tbr-question-card-badges span{display:inline-flex;padding:4px 7px;border-radius:999px;background:#f1f3f6;color:#59616d;font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.03em}
.tbr-question-card-badges .is-required{background:#fff4de;color:#8d5a00}
.tbr-question-card-badges .is-general{background:#eaf7ed;color:#287245}
.tbr-question-card-actions{display:flex;gap:8px;align-items:center}
.tbr-question-card-actions form{margin:0}
.tbr-question-card-actions a,.tbr-question-card-actions button{border:1px solid #d9dde3;border-radius:7px;background:#fff;color:#303640;text-decoration:none;padding:7px 10px;font:700 11px Arial,sans-serif;cursor:pointer}
.tbr-question-card-actions a:hover{border-color:#f0a4a7;color:#c81b21;background:#fff7f7}
.tbr-question-card-actions button:hover{border-color:#ef9da1;color:#c81b21;background:#fff7f7}
.tbr-portal-prereq-responses{margin-top:22px;padding-top:20px;border-top:1px solid #e8ebef}
.tbr-portal-prereq-responses h3{margin:0 0 12px;font-size:16px}
.tbr-portal-prereq-response-list{display:grid;gap:8px}
.tbr-portal-prereq-response-list>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,.65fr);gap:16px;padding:10px 12px;background:#f8f9fb;border-radius:8px}
.tbr-portal-prereq-response-list span{font-size:12px;color:#687180;line-height:1.4}
.tbr-portal-prereq-response-list strong{font-size:12px;color:#202630;line-height:1.4;font-weight:600}
@media(max-width:1050px){.tbr-question-layout{grid-template-columns:1fr}.tbr-question-bank-head p{text-align:left}.tbr-question-bank-head{display:block}.tbr-question-bank-head>div{margin-bottom:8px}}
@media(max-width:620px){.tbr-question-grid{grid-template-columns:1fr}.tbr-question-card{grid-template-columns:1fr}.tbr-question-card-actions{justify-content:flex-end}.tbr-portal-prereq-response-list>div{grid-template-columns:1fr}}


/* v0.7.1 category -> questions -> job workflow */
.tbr-question-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 18px}
.tbr-question-flow>div{display:grid;grid-template-columns:30px 1fr;grid-template-rows:auto auto;column-gap:10px;padding:12px 13px;border:1px solid #e6e9ee;background:#fff;border-radius:10px}
.tbr-question-flow>div>span{grid-row:1/3;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#fff0f1;color:var(--tbrp-red);font-weight:700;font-size:12px}
.tbr-question-flow strong{font-size:12px}.tbr-question-flow small{font-size:10px;color:#7b8491}
.tbr-question-category-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:18px;align-items:start}
.tbr-question-category-panel{background:#fff;border:1px solid #e4e7ec;border-radius:14px;padding:14px}
.tbr-question-category-panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.tbr-question-category-panel-head h3{margin:0;font-size:16px}
.tbr-question-category-list{display:grid;gap:7px}.tbr-question-category-card{display:grid;gap:4px;padding:11px 12px;border:1px solid #e7eaf0;border-radius:9px;background:#fff;text-decoration:none!important;color:#202630!important}.tbr-question-category-card:hover,.tbr-question-category-card.is-active{background:#fff7f7;border-color:#efb5b8}.tbr-question-category-card strong{font-size:12px}.tbr-question-category-card small{font-size:10px;color:#7c8490}
.tbr-question-category-main{display:grid;gap:18px;min-width:0}.tbr-question-category-builder{background:#fff;border:1px solid #e4e7ec;border-radius:14px;padding:20px}.tbr-question-category-builder-head{margin-bottom:15px}.tbr-question-category-builder-head span{color:var(--tbrp-red);font-size:10px;font-weight:700;text-transform:uppercase}.tbr-question-category-builder-head h3{margin:3px 0 0;font-size:18px}
.tbr-question-editor-inline{padding:0!important;border:0!important;border-radius:0!important;margin-bottom:18px;border-bottom:1px solid #eceef2!important;padding-bottom:18px!important}
.tbr-question-category-danger{display:flex;justify-content:flex-end;margin-top:18px;padding-top:14px;border-top:1px solid #eceef2}.tbr-question-category-danger button{border:1px solid #efb0b3;background:#fff;color:#b21d24;border-radius:7px;padding:8px 11px;font:700 11px Arial,sans-serif;cursor:pointer}.tbr-question-category-danger button:hover{background:#fff4f4}
@media(max-width:1000px){.tbr-question-category-layout{grid-template-columns:1fr}.tbr-question-category-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.tbr-question-flow{grid-template-columns:1fr}.tbr-question-category-list{grid-template-columns:1fr}}
