:root{
  --tmrbp-black:#111111;
  --tmrbp-black-2:#1b1b1b;
  --tmrbp-white:#ffffff;
  --tmrbp-bg:#f7f7f7;
  --tmrbp-line:#e5e5e5;
  --tmrbp-line-strong:#d7d7d7;
  --tmrbp-text:#111111;
  --tmrbp-muted:#707070;
  --tmrbp-soft:#f5f5f5;
}

.tmrbp-public,
.tmrbp-admin{
  font-family:"Semplicita Pro",Arial,sans-serif;
  color:var(--tmrbp-text);
}

/* =========================================================
   PUBLIC FORMS - COMPACT LUXURY BLACK / WHITE
   ========================================================= */
.tmrbp-public{
  width:100%;
  padding:40px 20px;
  box-sizing:border-box;
}

.tmrbp-shell{
  position:relative;
  width:100%;
  max-width:820px;
  margin:0 auto;
  background:var(--tmrbp-white);
  border:1px solid var(--tmrbp-line);
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 24px 70px rgba(0,0,0,.08);
}

.tmrbp-brand{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  min-height:72px;
  padding:20px 30px;
  background:var(--tmrbp-black);
  box-sizing:border-box;
}

.tmrbp-brand img{
  display:block;
  width:auto;
  max-width:205px;
  max-height:46px;
  object-fit:contain;
}

.tmrbp-public-head{
  padding:28px 30px 10px;
}

.tmrbp-public-head>span{
  display:block;
  margin:0 0 8px;
  font-size:11px;
  line-height:1.2;
  font-weight:700;
  letter-spacing:.24em;
  text-transform:uppercase;
  color:#666;
}

.tmrbp-public-head h1{
  margin:0 0 6px;
  font-size:30px;
  line-height:1.08;
  font-weight:300;
  letter-spacing:-.03em;
  color:var(--tmrbp-black);
}

.tmrbp-public-head p{
  margin:0;
  max-width:680px;
  font-size:14px;
  line-height:1.6;
  color:var(--tmrbp-muted);
}

.tmrbp-form{
  padding:18px 30px 28px;
}

.tmrbp-form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

.tmrbp-form label{
  display:block;
  width:100%;
  box-sizing:border-box;
}

.tmrbp-form label.full,
.tmrbp-form-grid .full{
  grid-column:1/-1;
}

.tmrbp-form label>span,
.tmrbp-settings-label>span{
  display:block;
  margin-bottom:7px;
  font-size:11px;
  line-height:1.35;
  font-weight:600;
  letter-spacing:.05em;
  text-transform:uppercase;
  color:#222;
}

.tmrbp-form input,
.tmrbp-form textarea,
.tmrbp-form select,
.tmrbp-settings-label textarea{
  width:100%;
  min-height:50px;
  box-sizing:border-box;
  border:1px solid var(--tmrbp-line-strong);
  border-radius:14px;
  background:var(--tmrbp-white);
  color:var(--tmrbp-black);
  padding:10px 14px;
  outline:none;
  box-shadow:none;
  font-family:"Semplicita Pro",Arial,sans-serif;
  font-size:14px;
  line-height:1.4;
  transition:border-color .2s ease,box-shadow .2s ease,background .2s ease;
}

.tmrbp-form input::placeholder,
.tmrbp-form textarea::placeholder{
  color:#9b9b9b;
}

.tmrbp-form textarea{
  min-height:112px;
  padding-top:13px;
  resize:vertical;
}

.tmrbp-form input:focus,
.tmrbp-form textarea:focus,
.tmrbp-form select:focus{
  border-color:var(--tmrbp-black);
  box-shadow:0 0 0 4px rgba(0,0,0,.06);
}

/* Documents are intentionally compact to keep the registration form short. */
.tmrbp-doc-upload-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin:16px 0 2px;
}

.tmrbp-upload{
  min-width:0;
  border:1px solid var(--tmrbp-line);
  border-radius:14px;
  padding:12px 13px;
  background:#fafafa;
}

.tmrbp-upload>span{
  margin-bottom:7px!important;
  white-space:normal;
}

.tmrbp-upload input[type="file"]{
  min-height:44px;
  height:auto;
  padding:8px 10px;
  background:var(--tmrbp-white);
  font-size:12px;
  cursor:pointer;
}

.tmrbp-upload input[type="file"]::file-selector-button{
  border:0;
  border-radius:999px;
  padding:7px 11px;
  margin-right:9px;
  background:var(--tmrbp-black);
  color:var(--tmrbp-white);
  font:600 11px/1 "Semplicita Pro",Arial,sans-serif;
  cursor:pointer;
}

.tmrbp-upload small{
  display:block;
  margin-top:6px;
  font-size:11px;
  line-height:1.4;
  color:#858585;
}

.tmrbp-check{
  display:flex!important;
  align-items:flex-start;
  gap:10px;
  margin:16px 0 18px;
  font-size:12px;
  line-height:1.55;
  color:#666;
}

.tmrbp-check input[type="checkbox"]{
  width:15px;
  height:15px;
  min-height:0;
  flex:0 0 15px;
  margin:2px 0 0;
  accent-color:var(--tmrbp-black);
}

.tmrbp-check>span{
  margin:0!important;
  font-size:12px!important;
  font-weight:400!important;
  letter-spacing:0!important;
  text-transform:none!important;
  color:#666!important;
}

.tmrbp-submit,
.tmrbp-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
  border:1px solid var(--tmrbp-black);
  border-radius:999px;
  background:var(--tmrbp-white);
  color:var(--tmrbp-black);
  text-decoration:none;
  padding:11px 18px;
  font-family:"Semplicita Pro",Arial,sans-serif;
  font-size:11px;
  font-weight:400;
  letter-spacing:.035em;
  cursor:pointer;
  transition:transform .2s ease,opacity .2s ease,background .2s ease,color .2s ease;
}

.tmrbp-submit{
  width:100%;
  min-height:50px;
  background:var(--tmrbp-black)!important;
  color:var(--tmrbp-white)!important;
  border:1px solid #000000!important;
  border-color:#000000!important;
  font-family:"Semplicita Pro",Arial,sans-serif!important;
  font-size:10.5px!important;
  font-weight:300!important;
  line-height:1.2!important;
  text-transform:uppercase;
  letter-spacing:.06em!important;
  box-shadow:none!important;
}

.tmrbp-btn:hover,
.tmrbp-submit:hover{
  transform:translateY(-1px);
}


.tmrbp-public .tmrbp-submit,
.tmrbp-public button.tmrbp-submit,
.tmrbp-form button.tmrbp-submit{
  border:1px solid #000000!important;
  border-color:#000000!important;
  background:#000000!important;
  color:#ffffff!important;
  font-family:"Semplicita Pro",Arial,sans-serif!important;
  font-size:10.5px!important;
  font-weight:300!important;
  letter-spacing:.06em!important;
  text-shadow:none!important;
}

.tmrbp-public .tmrbp-submit:hover,
.tmrbp-public button.tmrbp-submit:hover,
.tmrbp-form button.tmrbp-submit:hover{
  border-color:#000000!important;
  background:#111111!important;
  color:#ffffff!important;
}

.tmrbp-submit:disabled,
.tmrbp-btn:disabled{
  opacity:.55;
  cursor:not-allowed;
  transform:none;
}

.tmrbp-btn.primary,
.tmrbp-btn.success{
  background:var(--tmrbp-black);
  color:var(--tmrbp-white);
  border-color:var(--tmrbp-black);
}

.tmrbp-btn.danger{
  background:var(--tmrbp-white);
  color:var(--tmrbp-black);
  border-color:var(--tmrbp-black);
}

.tmrbp-btn.sm{
  padding:7px 11px;
  font-size:11px;
}

.tmrbp-message{
  display:none;
  margin-top:10px;
  padding:11px 13px;
  border:1px solid var(--tmrbp-line);
  border-radius:12px;
  background:#fafafa;
  color:var(--tmrbp-black);
  font-size:12px;
  line-height:1.5;
}

.tmrbp-message.loading,
.tmrbp-message.success,
.tmrbp-message.error{
  display:block;
}

.tmrbp-message.loading{background:#f7f7f7}
.tmrbp-message.success{background:#fff;border-color:#cfcfcf;color:#111}
.tmrbp-message.error{background:#f8f8f8;border-color:#bdbdbd;color:#111}

.tmrbp-hp{
  position:absolute!important;
  left:-99999px!important;
  width:1px!important;
  height:1px!important;
  opacity:0!important;
  pointer-events:none!important;
}

/* =========================================================
   ADMIN - SAME BLACK / WHITE LANGUAGE
   ========================================================= */
.tmrbp-admin{
  max-width:1450px;
  margin:20px 20px 40px 0;
}

.tmrbp-admin-hero{
  display:flex;
  align-items:center;
  gap:24px;
  padding:25px 28px;
  border-radius:22px;
  background:var(--tmrbp-black);
  color:var(--tmrbp-white);
  box-shadow:0 20px 55px rgba(0,0,0,.14);
}

.tmrbp-admin-hero img{
  width:180px;
  max-height:50px;
  object-fit:contain;
}

.tmrbp-admin-hero h1{
  margin:0;
  color:var(--tmrbp-white);
  font-size:28px;
  line-height:1.15;
  font-weight:300;
}

.tmrbp-admin-hero p{
  margin:6px 0 0;
  color:#d1d1d1;
  font-size:13px;
}

.tmrbp-stat-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
  margin:18px 0;
}

.tmrbp-stat,
.tmrbp-card{
  background:var(--tmrbp-white);
  border:1px solid var(--tmrbp-line);
  border-radius:18px;
  box-shadow:0 10px 30px rgba(0,0,0,.05);
}

.tmrbp-stat{padding:18px}
.tmrbp-stat strong{display:block;font-size:28px;font-weight:500;color:var(--tmrbp-black)}
.tmrbp-stat span{color:var(--tmrbp-muted);font-size:12px}
.tmrbp-card{padding:20px;margin-top:16px}

.tmrbp-toolbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin:18px 0;
}

.tmrbp-toolbar form{display:flex;gap:8px}
.tmrbp-toolbar input{
  min-width:260px;
  border:1px solid var(--tmrbp-line-strong);
  border-radius:999px;
  padding:10px 14px;
  font-family:"Semplicita Pro",Arial,sans-serif;
}

.tmrbp-table-wrap{overflow:auto}
.tmrbp-table{width:100%;border-collapse:collapse;min-width:850px}
.tmrbp-table th,.tmrbp-table td{padding:13px;border-bottom:1px solid #eeeeee;text-align:left;vertical-align:top}
.tmrbp-table th{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:#444}
.tmrbp-table td{font-size:13px}
.tmrbp-table td small{display:block;color:var(--tmrbp-muted);margin-top:4px}
.tmrbp-actions{display:flex;gap:6px;flex-wrap:wrap}

.tmrbp-pill{
  display:inline-flex;
  align-items:center;
  border:1px solid #d5d5d5;
  border-radius:999px;
  padding:5px 9px;
  background:#f7f7f7;
  color:#111;
  font-size:11px;
  font-weight:700;
}
.tmrbp-pill.approved{background:#111;color:#fff;border-color:#111}
.tmrbp-pill.pending,.tmrbp-pill.under_review{background:#efefef;color:#111}
.tmrbp-pill.rejected{background:#fff;color:#111;border-style:dashed}

.tmrbp-doc-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.tmrbp-doc{display:block;border:1px solid var(--tmrbp-line);padding:13px;border-radius:13px;text-decoration:none;color:#111;background:#fff}
.tmrbp-doc:hover{border-color:#111}
.tmrbp-doc strong,.tmrbp-doc span{display:block}

.tmrbp-portal-top{
  display:grid;
  grid-template-columns:1fr 1fr auto;
  gap:12px;
  padding:0 30px 18px;
}
.tmrbp-portal-top>div{background:#f8f8f8;border:1px solid var(--tmrbp-line);border-radius:14px;padding:14px}
.tmrbp-portal-top span,.tmrbp-portal-top strong{display:block}
.tmrbp-portal-top strong{font-size:22px;margin-top:4px}

@media(max-width:767px){
  .tmrbp-public{padding:28px 14px}
  .tmrbp-shell{border-radius:20px}
  .tmrbp-brand{min-height:64px;padding:17px 16px}
  .tmrbp-brand img{max-width:185px;max-height:42px}
  .tmrbp-public-head{padding:24px 16px 8px}
  .tmrbp-public-head h1{font-size:24px}
  .tmrbp-public-head p{font-size:13px}
  .tmrbp-form{padding:16px 16px 20px}
  .tmrbp-form-grid,.tmrbp-doc-upload-grid,.tmrbp-stat-grid,.tmrbp-doc-grid{grid-template-columns:1fr}
  .tmrbp-form label.full,.tmrbp-form-grid .full{grid-column:auto}
  .tmrbp-form input,.tmrbp-form select,.tmrbp-submit{min-height:48px}
  .tmrbp-upload{padding:11px}
  .tmrbp-admin{margin-right:10px}
  .tmrbp-admin-hero{align-items:flex-start;flex-direction:column;padding:22px}
  .tmrbp-admin-hero img{width:160px}
  .tmrbp-toolbar{align-items:stretch;flex-direction:column}
  .tmrbp-toolbar form{width:100%}
  .tmrbp-toolbar input{min-width:0;width:100%}
  .tmrbp-portal-top{grid-template-columns:1fr;padding:0 16px 18px}
}

/* =========================================================
   BROKER PORTAL - PRIVATE LUXURY DASHBOARD
   ========================================================= */
.tmrbp-portal-login-page .tmrbp-shell{max-width:620px}
.tmrbp-login-wrap{padding:18px 30px 30px}
.tmrbp-login-form{padding:0}
.tmrbp-login-field{margin-bottom:14px}
.tmrbp-login-field>label{display:block;margin:0 0 7px;font-size:11px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:#222}
.tmrbp-login-field input{width:100%;height:50px;box-sizing:border-box;border:1px solid #d7d7d7;border-radius:14px;background:#fff;color:#111;padding:10px 14px;font-family:"Semplicita Pro",Arial,sans-serif;font-size:14px;outline:none;box-shadow:none}
.tmrbp-login-field input:focus{border-color:#111;box-shadow:0 0 0 4px rgba(0,0,0,.06)}
.tmrbp-password-wrap{position:relative}
.tmrbp-password-wrap input{padding-right:74px}
.tmrbp-password-toggle{position:absolute!important;right:8px!important;top:8px!important;height:34px!important;min-height:34px!important;padding:0 11px!important;border:1px solid #111!important;border-radius:999px!important;background:#fff!important;color:#111!important;font:500 9px/1 "Semplicita Pro",Arial,sans-serif!important;letter-spacing:.08em!important;box-shadow:none!important;cursor:pointer!important}
.tmrbp-login-meta{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:4px 0 18px;font-size:11px;color:#666}
.tmrbp-login-meta a{color:#111;text-decoration:none;border-bottom:1px solid #aaa}
.tmrbp-remember{display:flex!important;align-items:center;gap:8px;margin:0!important}
.tmrbp-remember input{width:14px!important;height:14px!important;min-height:0!important;margin:0!important;accent-color:#111}
.tmrbp-remember span{margin:0!important;font-size:11px!important;font-weight:400!important;letter-spacing:0!important;text-transform:none!important;color:#666!important}
.tmrbp-login-submit{margin-top:2px}
.tmrbp-login-help{margin-top:18px;padding-top:16px;border-top:1px solid #eee;text-align:center}
.tmrbp-login-help span{display:block;font-size:11px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:#111}
.tmrbp-login-help p{margin:6px auto 0;max-width:420px;font-size:12px;line-height:1.55;color:#777}
.tmrbp-force-message{display:block!important;margin:20px 30px 30px}

.tmrbp-portal-page{width:100%;padding:24px 20px 44px;box-sizing:border-box;font-family:"Semplicita Pro",Arial,sans-serif;color:#111}
.tmrbp-portal-brandbar{max-width:1380px;margin:0 auto;min-height:72px;padding:18px 24px;box-sizing:border-box;border-radius:22px 22px 0 0;background:#050505;display:flex;align-items:center;justify-content:space-between;gap:20px}
.tmrbp-portal-brandbar img{width:auto;max-width:205px;max-height:42px;object-fit:contain}
.tmrbp-portal-brandbar span{font-size:9px;font-weight:600;letter-spacing:.22em;color:#bdbdbd}
.tmrbp-dashboard{max-width:1380px;margin:0 auto;display:grid;grid-template-columns:230px minmax(0,1fr);min-height:720px;background:#f7f7f7;border:1px solid #e5e5e5;border-top:0;border-radius:0 0 22px 22px;overflow:hidden;box-shadow:0 28px 75px rgba(0,0,0,.08)}
.tmrbp-dashboard-sidebar{display:flex;flex-direction:column;padding:25px 18px;background:#fff;border-right:1px solid #e5e5e5}
.tmrbp-dashboard-identity{padding:0 8px 22px;border-bottom:1px solid #eee}
.tmrbp-dashboard-identity span{display:block;margin-bottom:7px;font-size:9px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:#8a8a8a}
.tmrbp-dashboard-identity strong{display:block;font-size:15px;font-weight:500;line-height:1.35;color:#111}
.tmrbp-dashboard-identity small{display:block;margin-top:4px;font-size:12px;color:#777}
.tmrbp-dashboard-nav{display:flex;flex-direction:column;gap:4px;padding:20px 0}
.tmrbp-dashboard-nav a{display:flex;align-items:center;min-height:42px;padding:0 12px;border-radius:11px;color:#5e5e5e;text-decoration:none;font-size:12px;font-weight:400;transition:.2s ease}
.tmrbp-dashboard-nav a:hover,.tmrbp-dashboard-nav a.is-active{background:#111;color:#fff}
.tmrbp-dashboard-logout{margin-top:auto;display:flex;align-items:center;justify-content:center;min-height:40px;border:1px solid #111;border-radius:999px;color:#111!important;text-decoration:none;font-size:10px;font-weight:500;letter-spacing:.06em;text-transform:uppercase}
.tmrbp-dashboard-main{min-width:0;padding:26px}
.tmrbp-dashboard-section{scroll-margin-top:28px;margin-bottom:22px}
.tmrbp-dashboard-welcome{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:26px 28px;border-radius:18px;background:#111;color:#fff}
.tmrbp-kicker{display:block;margin-bottom:9px;font-size:9px;font-weight:600;letter-spacing:.2em;color:#a9a9a9}
.tmrbp-dashboard-welcome h2{margin:0 0 7px;color:#fff;font-size:26px;line-height:1.15;font-weight:300;letter-spacing:-.025em}
.tmrbp-dashboard-welcome p{margin:0;max-width:620px;color:#cfcfcf;font-size:13px;line-height:1.6}
.tmrbp-code-card{flex:0 0 190px;padding:17px 19px;border:1px solid #383838;border-radius:15px;background:#181818}
.tmrbp-code-card span{display:block;margin-bottom:8px;font-size:9px;letter-spacing:.14em;text-transform:uppercase;color:#a9a9a9}
.tmrbp-code-card strong{display:block;font-size:21px;font-weight:400;letter-spacing:.04em;color:#fff}
.tmrbp-portal-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:15px 0}
.tmrbp-portal-stats article{min-width:0;padding:17px 16px;border:1px solid #e2e2e2;border-radius:15px;background:#fff}
.tmrbp-portal-stats span{display:block;min-height:30px;font-size:10px;line-height:1.45;color:#777}
.tmrbp-portal-stats strong{display:block;margin-top:4px;font-size:25px;font-weight:400;color:#111}
.tmrbp-portal-panel{padding:20px;border:1px solid #e2e2e2;border-radius:18px;background:#fff;box-shadow:0 8px 28px rgba(0,0,0,.035)}
.tmrbp-panel-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:15px}
.tmrbp-panel-head span{display:block;margin-bottom:5px;font-size:8.5px;font-weight:600;letter-spacing:.18em;color:#999}
.tmrbp-panel-head h3{margin:0;font-size:18px;font-weight:400;color:#111}
.tmrbp-panel-head a{font-size:10px;color:#111;text-decoration:none;border-bottom:1px solid #aaa}
.tmrbp-client-list{border-top:1px solid #eee}
.tmrbp-client-row{display:grid;grid-template-columns:minmax(0,1fr) 150px 90px;align-items:center;gap:14px;padding:13px 3px;border-bottom:1px solid #eee}
.tmrbp-client-row>div strong{display:block;font-size:12.5px;font-weight:500;color:#111}
.tmrbp-client-row>div small{display:block;margin-top:3px;font-size:10.5px;color:#888}
.tmrbp-client-row time{font-size:10.5px;color:#888;text-align:right}
.tmrbp-empty{padding:28px 10px;text-align:center;color:#888;font-size:12px}
.tmrbp-portal-table th{font-size:9.5px!important;text-transform:uppercase;letter-spacing:.07em;color:#777}
.tmrbp-portal-table td{font-size:12px!important}
.tmrbp-portal-table td strong{display:block;font-weight:500}
.tmrbp-portal-table td small{display:block;margin-top:3px;color:#888;font-size:10.5px}
.tmrbp-pill{display:inline-flex;align-items:center;justify-content:center;min-height:26px;padding:4px 9px;border-radius:999px;border:1px solid #d7d7d7;background:#fafafa;color:#333;font-size:9.5px;white-space:nowrap}
.tmrbp-pill.approved{background:#111;border-color:#111;color:#fff}
.tmrbp-pill.rejected{background:#fff;border-color:#111;color:#111}
.tmrbp-pill.under_review{background:#ededed;border-color:#d0d0d0;color:#222}
.tmrbp-pill.submitted{background:#fff;border-color:#d7d7d7;color:#555}
.tmrbp-portal-form{padding:0!important}
.tmrbp-profile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.tmrbp-profile-grid>div{padding:15px;border:1px solid #e5e5e5;border-radius:13px;background:#fafafa;min-width:0}
.tmrbp-profile-grid span{display:block;margin-bottom:6px;font-size:9px;letter-spacing:.08em;text-transform:uppercase;color:#888}
.tmrbp-profile-grid strong{display:block;overflow-wrap:anywhere;font-size:12px;font-weight:500;color:#111}
.tmrbp-portal-docs{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.tmrbp-portal-doc{display:grid;grid-template-columns:38px minmax(0,1fr) 72px;align-items:center;gap:11px;padding:12px;border:1px solid #e5e5e5;border-radius:13px;background:#fafafa}
.tmrbp-doc-icon{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:10px;background:#111;color:#fff;font-size:8px;font-weight:600;letter-spacing:.06em}
.tmrbp-portal-doc strong{display:block;font-size:11px;font-weight:500;color:#111}
.tmrbp-portal-doc small{display:block;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9.5px;color:#888}
.tmrbp-portal-doc time{text-align:right;font-size:9.5px;color:#888}

@media(max-width:1100px){
  .tmrbp-portal-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
  .tmrbp-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:900px){
  .tmrbp-dashboard{grid-template-columns:1fr}
  .tmrbp-dashboard-sidebar{position:relative;display:block;padding:16px;border-right:0;border-bottom:1px solid #e5e5e5}
  .tmrbp-dashboard-identity{padding:0 2px 12px}
  .tmrbp-dashboard-nav{display:flex;flex-direction:row;overflow-x:auto;padding:12px 0 4px;gap:6px}
  .tmrbp-dashboard-nav a{flex:0 0 auto;min-height:36px;padding:0 11px}
  .tmrbp-dashboard-logout{position:absolute;right:16px;top:18px;width:auto;min-height:34px;padding:0 12px}
  .tmrbp-dashboard-main{padding:18px}
  .tmrbp-dashboard-welcome{align-items:flex-start}
  .tmrbp-code-card{flex-basis:160px}
}
@media(max-width:767px){
  .tmrbp-login-wrap{padding:16px 16px 22px}
  .tmrbp-login-meta{align-items:flex-start;flex-direction:column;gap:9px}
  .tmrbp-portal-page{padding:14px 10px 28px}
  .tmrbp-portal-brandbar{min-height:62px;padding:15px 16px;border-radius:18px 18px 0 0}
  .tmrbp-portal-brandbar img{max-width:165px;max-height:36px}
  .tmrbp-portal-brandbar span{font-size:8px}
  .tmrbp-dashboard{border-radius:0 0 18px 18px}
  .tmrbp-dashboard-main{padding:12px}
  .tmrbp-dashboard-welcome{display:block;padding:20px}
  .tmrbp-dashboard-welcome h2{font-size:22px}
  .tmrbp-code-card{margin-top:16px;width:auto}
  .tmrbp-portal-stats{grid-template-columns:1fr 1fr;gap:8px}
  .tmrbp-portal-stats article{padding:14px}
  .tmrbp-portal-panel{padding:15px}
  .tmrbp-client-row{grid-template-columns:minmax(0,1fr) auto;gap:8px}
  .tmrbp-client-row time{display:none}
  .tmrbp-profile-grid,.tmrbp-portal-docs{grid-template-columns:1fr}
  .tmrbp-portal-doc{grid-template-columns:38px minmax(0,1fr)}
  .tmrbp-portal-doc time{display:none}
}


/* =========================================================
   PORTAL ACCESS 1.3 - EYE ICON + ADMIN RESET REQUEST
   ========================================================= */
.tmrbp-password-wrap input{padding-right:52px!important}
.tmrbp-password-toggle{
  width:36px!important;
  height:36px!important;
  min-height:36px!important;
  right:7px!important;
  top:7px!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:0!important;
  border-radius:999px!important;
  background:transparent!important;
  color:#111!important;
}
.tmrbp-password-toggle:hover{background:#f2f2f2!important}
.tmrbp-eye-icon{
  width:19px;
  height:19px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.65;
  stroke-linecap:round;
  stroke-linejoin:round;
  pointer-events:none;
}
.tmrbp-password-toggle.is-visible .tmrbp-eye-icon{opacity:.58}

.tmrbp-forgot-link{
  appearance:none;
  -webkit-appearance:none;
  border:0!important;
  border-bottom:1px solid #aaa!important;
  border-radius:0!important;
  background:transparent!important;
  color:#111!important;
  padding:0 0 2px!important;
  min-height:0!important;
  height:auto!important;
  font:400 11px/1.35 "Semplicita Pro",Arial,sans-serif!important;
  box-shadow:none!important;
  cursor:pointer;
}
.tmrbp-forgot-link:hover{border-bottom-color:#111!important}

.tmrbp-forgot-panel{
  margin-top:18px;
  padding:18px;
  border:1px solid #dedede;
  border-radius:16px;
  background:#fafafa;
}
.tmrbp-forgot-panel[hidden]{display:none!important}
.tmrbp-forgot-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:8px;
}
.tmrbp-forgot-head span{
  display:block;
  margin-bottom:5px;
  font-size:9px;
  font-weight:600;
  letter-spacing:.15em;
  color:#777;
}
.tmrbp-forgot-head h3{
  margin:0;
  color:#111;
  font-size:17px;
  font-weight:400;
}
.tmrbp-forgot-head+.tmrbp-forgot-panel p{}
.tmrbp-forgot-panel>p{
  margin:0 0 14px;
  font-size:12px;
  line-height:1.55;
  color:#666;
}
.tmrbp-forgot-close{
  width:30px!important;
  height:30px!important;
  min-height:30px!important;
  border:1px solid #d8d8d8!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#111!important;
  padding:0!important;
  font:400 19px/1 "Semplicita Pro",Arial,sans-serif!important;
  cursor:pointer;
}
.tmrbp-forgot-form .tmrbp-submit{margin-top:4px}
.tmrbp-access-box{
  margin:18px 0;
  padding:16px;
  border:1px solid #dedede;
  border-radius:14px;
  background:#fafafa;
}
.tmrbp-access-box h3{margin-top:0}
.tmrbp-access-box p{margin:6px 0;color:#444}

@media(max-width:767px){
  .tmrbp-login-meta{align-items:flex-start;flex-direction:column;gap:10px}
  .tmrbp-forgot-panel{padding:15px}
}


/* =========================================================
   PORTAL 1.4 — MINIMAL UI, MODALS, TOASTS, MANAGER VIEW
   ========================================================= */

.tmrbp-nav-button{
  width:100%;
  min-height:42px;
  padding:0 12px;
  border:0;
  border-radius:11px;
  background:transparent;
  color:#5e5e5e;
  text-align:left;
  font-family:"Semplicita Pro",Arial,sans-serif;
  font-size:12px;
  font-weight:400;
  cursor:pointer;
  transition:.2s ease;
}
.tmrbp-nav-button:hover{
  background:#111;
  color:#fff;
}

.tmrbp-dashboard-logout{
  width:100%;
  background:#fff;
  cursor:pointer;
  font-family:"Semplicita Pro",Arial,sans-serif;
}

.tmrbp-inline-action{
  border:0;
  border-bottom:1px solid #aaa;
  background:transparent;
  color:#111;
  padding:0 0 2px;
  font:400 11px/1.35 "Semplicita Pro",Arial,sans-serif;
  cursor:pointer;
}
.tmrbp-inline-action:hover{border-color:#111}

.tmrbp-client-note{
  margin:7px 0 0;
  max-width:620px;
  color:#707070;
  font-size:11px;
  line-height:1.5;
}

.tmrbp-comment-cell{
  max-width:330px;
  white-space:normal;
  line-height:1.55;
  color:#555;
}
.tmrbp-muted-dash{color:#aaa}

.tmrbp-profile-documents{
  margin-top:24px;
  padding-top:22px;
  border-top:1px solid #ececec;
}
.tmrbp-profile-subhead span{
  display:block;
  margin-bottom:5px;
  color:#8a8a8a;
  font-size:9px;
  font-weight:600;
  letter-spacing:.16em;
}
.tmrbp-profile-subhead h4{
  margin:0 0 14px;
  color:#111;
  font-size:16px;
  font-weight:400;
}

.tmrbp-modal{
  position:fixed;
  inset:0;
  z-index:100000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  opacity:0;
  visibility:hidden;
  transition:opacity .2s ease,visibility .2s ease;
  box-sizing:border-box;
}
.tmrbp-modal.is-open{
  opacity:1;
  visibility:visible;
}
.tmrbp-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.56);
  backdrop-filter:blur(3px);
}
.tmrbp-modal-card{
  position:relative;
  z-index:2;
  width:100%;
  max-width:520px;
  max-height:calc(100vh - 40px);
  overflow:auto;
  box-sizing:border-box;
  padding:26px;
  border:1px solid #e5e5e5;
  border-radius:22px;
  background:#fff;
  box-shadow:0 35px 100px rgba(0,0,0,.24);
  transform:translateY(8px) scale(.985);
  transition:transform .2s ease;
}
.tmrbp-modal.is-open .tmrbp-modal-card{
  transform:translateY(0) scale(1);
}
.tmrbp-modal-card-wide{max-width:760px}
.tmrbp-modal-card .tmrbp-form{padding:14px 0 0}
.tmrbp-modal-kicker{
  display:block;
  margin:0 42px 7px 0;
  color:#777;
  font-size:9px;
  font-weight:600;
  letter-spacing:.18em;
}
.tmrbp-modal-card h3{
  margin:0 42px 7px 0;
  color:#111;
  font:400 24px/1.18 "Semplicita Pro",Arial,sans-serif;
  letter-spacing:-.02em;
}
.tmrbp-modal-card>p{
  margin:0;
  color:#707070;
  font-size:12px;
  line-height:1.6;
}
.tmrbp-modal-close-x{
  position:absolute;
  top:17px;
  right:17px;
  width:34px;
  height:34px;
  min-height:34px;
  border:1px solid #ddd;
  border-radius:999px;
  background:#fff;
  color:#111;
  font:400 20px/1 "Semplicita Pro",Arial,sans-serif;
  cursor:pointer;
}
.tmrbp-modal-close-x:hover{background:#f5f5f5}
body.tmrbp-modal-open{overflow:hidden!important}

.tmrbp-confirm-card{
  max-width:420px;
  text-align:center;
  padding:30px 28px 26px;
}
.tmrbp-confirm-card h3{margin:0 0 8px}
.tmrbp-confirm-card>p{margin:0 auto;max-width:300px}
.tmrbp-confirm-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:54px;
  height:54px;
  margin:0 auto 16px;
  border:1px solid #111;
  border-radius:999px;
  color:#111;
  font:400 21px/1 "Semplicita Pro",Arial,sans-serif;
}
.tmrbp-confirm-actions{
  display:flex;
  justify-content:center;
  gap:9px;
  margin-top:22px;
}

.tmrbp-toast-stack{
  position:fixed;
  z-index:100100;
  top:22px;
  right:22px;
  width:min(360px,calc(100vw - 32px));
  pointer-events:none;
}
.tmrbp-toast{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin-bottom:9px;
  padding:13px 15px;
  border:1px solid #dedede;
  border-radius:14px;
  background:#fff;
  box-shadow:0 18px 55px rgba(0,0,0,.14);
  opacity:0;
  transform:translateY(-8px);
  transition:.22s ease;
}
.tmrbp-toast.is-visible{
  opacity:1;
  transform:translateY(0);
}
.tmrbp-toast-dot{
  width:8px;
  height:8px;
  flex:0 0 8px;
  margin-top:5px;
  border-radius:999px;
  background:#111;
}
.tmrbp-toast.error .tmrbp-toast-dot{background:#8f1d18}
.tmrbp-toast p{
  margin:0;
  color:#222;
  font-size:12px;
  line-height:1.5;
}

.tmrbp-manager-stats{grid-template-columns:repeat(4,minmax(0,1fr))}
.tmrbp-manager-client-table .tmrbp-btn{white-space:nowrap}
.tmrbp-manager-dashboard .tmrbp-dashboard-welcome{padding-right:26px}

.tmrbp-lead-manage-form{
  display:grid;
  min-width:260px;
  gap:7px;
}
.tmrbp-lead-manage-form select,
.tmrbp-lead-manage-form textarea{
  width:100%;
  box-sizing:border-box;
  border:1px solid #d7d7d7;
  border-radius:10px;
  background:#fff;
  color:#111;
  padding:8px 10px;
  font-family:"Semplicita Pro",Arial,sans-serif;
  font-size:12px;
}
.tmrbp-lead-manage-form textarea{resize:vertical}

@media(max-width:900px){
  .tmrbp-dashboard{
    grid-template-columns:1fr;
  }
  .tmrbp-dashboard-sidebar{
    border-right:0;
    border-bottom:1px solid #e5e5e5;
  }
  .tmrbp-dashboard-nav{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .tmrbp-dashboard-logout{margin-top:10px}
}

@media(max-width:767px){
  .tmrbp-modal{padding:12px}
  .tmrbp-modal-card{
    max-height:calc(100vh - 24px);
    padding:22px 16px 18px;
    border-radius:18px;
  }
  .tmrbp-modal-card h3{font-size:21px}
  .tmrbp-confirm-actions{flex-direction:column-reverse}
  .tmrbp-confirm-actions .tmrbp-btn{width:100%}
  .tmrbp-toast-stack{top:14px;right:16px}
  .tmrbp-manager-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tmrbp-dashboard-nav{grid-template-columns:1fr 1fr}
}


/* =========================================================
   PORTAL 1.4.1 — FINAL LUXURY REFINEMENT
   ========================================================= */

.tmrbp-public,
.tmrbp-admin,
.tmrbp-portal-page,
.tmrbp-dashboard,
.tmrbp-modal,
.tmrbp-toast,
.tmrbp-form,
.tmrbp-btn,
.tmrbp-submit,
.tmrbp-dashboard-nav a,
.tmrbp-nav-button,
.tmrbp-dashboard-logout,
.tmrbp-inline-action,
.tmrbp-login-field input,
.tmrbp-form input,
.tmrbp-form textarea,
.tmrbp-form select,
.tmrbp-admin input,
.tmrbp-admin textarea,
.tmrbp-admin select{
  font-family:"Semplicita Pro",Arial,sans-serif!important;
  font-weight:300!important;
}

.tmrbp-btn,
.tmrbp-submit,
.tmrbp-dashboard-logout,
.tmrbp-nav-button,
.tmrbp-inline-action,
.tmrbp-password-toggle,
.tmrbp-forgot-link,
.tmrbp-modal-close-x,
.tmrbp-forgot-close{
  border-color:#000000!important;
  box-shadow:none!important;
}

.tmrbp-btn,
.tmrbp-submit,
.tmrbp-dashboard-logout{
  font-size:10px!important;
  font-weight:300!important;
  letter-spacing:.045em!important;
}

.tmrbp-btn{
  min-height:38px!important;
  padding:8px 14px!important;
  border:1px solid #000!important;
  background:#fff!important;
  color:#000!important;
}

.tmrbp-btn.primary,
.tmrbp-btn.success,
.tmrbp-submit{
  border:1px solid #000!important;
  background:#000!important;
  color:#fff!important;
}

.tmrbp-btn.danger{
  border:1px solid #000!important;
  background:#fff!important;
  color:#000!important;
}

.tmrbp-btn:hover,
.tmrbp-btn:focus,
.tmrbp-submit:hover,
.tmrbp-submit:focus,
.tmrbp-dashboard-logout:hover,
.tmrbp-dashboard-logout:focus{
  transform:none!important;
  border-color:#000!important;
  box-shadow:none!important;
}

.tmrbp-btn:hover,
.tmrbp-btn:focus{
  background:#000!important;
  color:#fff!important;
}

.tmrbp-btn.primary:hover,
.tmrbp-btn.primary:focus,
.tmrbp-btn.success:hover,
.tmrbp-btn.success:focus,
.tmrbp-submit:hover,
.tmrbp-submit:focus{
  background:#fff!important;
  color:#000!important;
  border-color:#000!important;
}

.tmrbp-btn.danger:hover,
.tmrbp-btn.danger:focus{
  background:#000!important;
  color:#fff!important;
}

.tmrbp-dashboard-logout{
  border:1px solid #000!important;
  background:#fff!important;
  color:#000!important;
}

.tmrbp-dashboard-logout:hover,
.tmrbp-dashboard-logout:focus{
  background:#000!important;
  color:#fff!important;
}

.tmrbp-dashboard-nav a,
.tmrbp-nav-button{
  font-size:11px!important;
  font-weight:300!important;
}

.tmrbp-dashboard-nav a:hover,
.tmrbp-dashboard-nav a.is-active,
.tmrbp-nav-button:hover{
  background:#000!important;
  color:#fff!important;
}

.tmrbp-inline-action{
  font-size:10px!important;
  font-weight:300!important;
  border:0!important;
  border-bottom:1px solid #000!important;
}

.tmrbp-public-head h1,
.tmrbp-dashboard-welcome h2,
.tmrbp-modal-card h3,
.tmrbp-panel-head h3,
.tmrbp-profile-subhead h4,
.tmrbp-admin-hero h1{
  font-weight:300!important;
}

.tmrbp-dashboard-welcome{
  padding:23px 24px!important;
}

.tmrbp-dashboard-welcome h2{
  font-size:24px!important;
}

.tmrbp-dashboard-welcome p{
  font-size:12px!important;
  max-width:520px!important;
}

.tmrbp-code-card{
  flex-basis:170px!important;
  padding:15px 16px!important;
}

.tmrbp-code-card strong{
  font-size:19px!important;
  font-weight:300!important;
}

.tmrbp-portal-stats article{
  padding:15px!important;
}

.tmrbp-portal-stats span{
  font-size:9.5px!important;
}

.tmrbp-portal-stats strong{
  font-size:23px!important;
  font-weight:300!important;
}

.tmrbp-panel-head h3{
  font-size:17px!important;
}

.tmrbp-panel-head span,
.tmrbp-kicker,
.tmrbp-profile-subhead span{
  font-size:8.5px!important;
  letter-spacing:.16em!important;
}

.tmrbp-profile-documents{
  margin-top:20px!important;
  padding-top:18px!important;
}

.tmrbp-portal-docs{
  margin-top:8px;
}

.tmrbp-portal-doc{
  padding:12px 13px!important;
  border:1px solid #e2e2e2!important;
  background:#fff!important;
}

.tmrbp-portal-doc:hover{
  border-color:#000!important;
}

.tmrbp-client-row strong,
.tmrbp-table td strong,
.tmrbp-profile-grid strong{
  font-weight:300!important;
}

.tmrbp-table th{
  font-size:9.5px!important;
  font-weight:400!important;
}

.tmrbp-table td{
  font-size:12px!important;
}

.tmrbp-modal-card{
  border:1px solid #000!important;
}

.tmrbp-modal-close-x{
  border:1px solid #000!important;
  background:#fff!important;
}

.tmrbp-modal-close-x:hover{
  background:#000!important;
  color:#fff!important;
}

.tmrbp-toast{
  border:1px solid #000!important;
  background:#fff!important;
}

@media(max-width:767px){
  .tmrbp-btn,
  .tmrbp-submit,
  .tmrbp-dashboard-logout{
    font-size:9.5px!important;
  }

  .tmrbp-dashboard-welcome h2{
    font-size:21px!important;
  }

  .tmrbp-code-card{
    width:100%!important;
    flex-basis:auto!important;
  }
}


/* =========================================================
   PORTAL 1.4.2 — MODAL CLOSE + PRIVATE LOGIN COPY
   ========================================================= */

.tmrbp-modal-close-x,
.tmrbp-modal-close-x:hover,
.tmrbp-modal-close-x:focus{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:36px!important;
  height:36px!important;
  min-width:36px!important;
  min-height:36px!important;
  padding:0!important;
  border:1px solid #000!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#000!important;
  font-family:Arial,sans-serif!important;
  font-size:0!important;
  line-height:1!important;
  text-indent:0!important;
  overflow:visible!important;
  opacity:1!important;
}

.tmrbp-modal-close-x span{
  display:block!important;
  color:#000!important;
  font-family:Arial,sans-serif!important;
  font-size:25px!important;
  font-weight:300!important;
  line-height:1!important;
  transform:translateY(-1px);
  opacity:1!important;
  visibility:visible!important;
}

.tmrbp-modal-close-x:hover,
.tmrbp-modal-close-x:focus{
  background:#000!important;
  color:#fff!important;
}

.tmrbp-modal-close-x:hover span,
.tmrbp-modal-close-x:focus span{
  color:#fff!important;
}


/* =========================================================
   PORTAL 1.4.3 — SPACING + CLEAN ADMIN
   ========================================================= */
.tmrbp-portal-page{
  padding-top:80px!important;
  padding-bottom:56px!important;
  overflow:visible!important;
}
body:not(.tmrbp-modal-open){overflow-y:auto!important}

.tmrbp-admin-grid{display:grid;gap:16px;margin-top:18px}
.tmrbp-admin-grid-managers{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);align-items:start}
.tmrbp-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}
.tmrbp-card-heading span{display:block;margin-bottom:5px;color:#858585;font-size:8.5px;font-weight:400;letter-spacing:.16em}
.tmrbp-card-heading h2{margin:0;color:#111;font:300 18px/1.25 "Semplicita Pro",Arial,sans-serif}
.tmrbp-card-heading p{margin:2px 0 0;max-width:300px;color:#777;font-size:11px;line-height:1.5;text-align:right}

.tmrbp-admin-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.tmrbp-admin-form label{display:block;min-width:0}
.tmrbp-admin-form label>span{display:block;margin-bottom:6px;color:#333;font:400 9.5px/1.3 "Semplicita Pro",Arial,sans-serif;letter-spacing:.04em;text-transform:uppercase}
.tmrbp-admin-form input,
.tmrbp-admin-form textarea,
.tmrbp-admin-form select{
  width:100%!important;min-height:44px!important;box-sizing:border-box!important;
  padding:9px 12px!important;border:1px solid #d6d6d6!important;border-radius:12px!important;
  background:#fff!important;color:#111!important;box-shadow:none!important;
  font:300 12px/1.4 "Semplicita Pro",Arial,sans-serif!important
}
.tmrbp-admin-form input:focus,
.tmrbp-admin-form textarea:focus,
.tmrbp-admin-form select:focus{border-color:#000!important;box-shadow:0 0 0 3px rgba(0,0,0,.05)!important;outline:none!important}
.tmrbp-form-actions-inline{display:flex;justify-content:flex-start;margin-top:14px}
.tmrbp-manager-create-card,.tmrbp-manager-list-card{margin-top:0!important}
.tmrbp-compact-table{min-width:0!important}
.tmrbp-compact-table th,.tmrbp-compact-table td{padding:11px 12px!important}
.tmrbp-empty-admin{padding:22px 8px;color:#777;text-align:center;font-size:12px}

.tmrbp-activity-toolbar{margin-top:18px!important;margin-bottom:12px!important;padding:0 2px}
.tmrbp-activity-toolbar>div strong,.tmrbp-activity-toolbar>div span{display:block}
.tmrbp-activity-toolbar>div strong{color:#111;font-size:12px;font-weight:400}
.tmrbp-activity-toolbar>div span{margin-top:3px;color:#777;font-size:10.5px}

.tmrbp-admin-hero{padding:20px 24px!important}
.tmrbp-admin-hero img{width:155px!important}
.tmrbp-stat-grid{margin:14px 0!important}
.tmrbp-stat{padding:14px!important}
.tmrbp-card{padding:16px!important}
.tmrbp-dashboard-main{padding:22px!important}
.tmrbp-dashboard-section{margin-bottom:16px!important}

@media(max-width:1100px){.tmrbp-admin-grid-managers{grid-template-columns:1fr}}
@media(max-width:767px){
  .tmrbp-portal-page{padding-top:72px!important;padding-bottom:38px!important}
  .tmrbp-admin-form-grid{grid-template-columns:1fr}
  .tmrbp-card-heading{flex-direction:column}
  .tmrbp-card-heading p{max-width:none;text-align:left}
}


/* =========================================================
   PORTAL 1.4.4 — TRUE FULL WIDTH + DIRECT LOGOUT
   ========================================================= */

/*
 * The portal is now intentionally independent from the WordPress page
 * container. It breaks out of Elementor/theme max-width wrappers and uses
 * the complete viewport width.
 */
.tmrbp-portal-page{
  position:relative!important;
  left:50%!important;
  right:50%!important;
  width:100vw!important;
  max-width:none!important;
  margin-left:-50vw!important;
  margin-right:-50vw!important;
  padding:0 0 40px!important;
  box-sizing:border-box!important;
  overflow:visible!important;
  background:#f7f7f7!important;
}

.tmrbp-portal-brandbar{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  border-radius:0!important;
  padding-left:30px!important;
  padding-right:30px!important;
}

.tmrbp-dashboard{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  border-left:0!important;
  border-right:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  min-height:calc(100vh - 72px)!important;
}

.tmrbp-dashboard-main{
  width:100%!important;
  max-width:none!important;
  box-sizing:border-box!important;
}

.tmrbp-dashboard-section,
.tmrbp-portal-panel{
  max-width:none!important;
}

.tmrbp-dashboard-welcome{
  width:100%!important;
  box-sizing:border-box!important;
}

/* Avoid inherited theme constraints on shortcode/widget wrappers. */
.elementor-widget-shortcode:has(.tmrbp-portal-page),
.elementor-widget-shortcode:has(.tmrbp-portal-page) .elementor-widget-container,
.elementor-shortcode:has(.tmrbp-portal-page){
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}

/* The site header/footer are optional; the portal no longer depends on them. */
body:not(.tmrbp-modal-open){
  overflow-x:hidden!important;
  overflow-y:auto!important;
}

@media(max-width:767px){
  .tmrbp-portal-page{
    padding:0 0 28px!important;
  }
  .tmrbp-portal-brandbar{
    padding-left:16px!important;
    padding-right:16px!important;
  }
  .tmrbp-dashboard{
    min-height:calc(100vh - 64px)!important;
  }
}


/* =========================================================
   PORTAL 1.4.5 — SAFARI / MAC / IOS COMPATIBILITY
   ========================================================= */

.tmrbp-password-toggle,
.tmrbp-password-toggle:hover,
.tmrbp-password-toggle:focus,
.tmrbp-password-toggle:active{
  background:#ffffff!important;
  color:#000000!important;
  border:0!important;
  box-shadow:none!important;
  outline:none!important;
  -webkit-appearance:none!important;
  appearance:none!important;
  -webkit-tap-highlight-color:transparent!important;
}

.tmrbp-password-toggle .tmrbp-eye-icon,
.tmrbp-password-toggle:hover .tmrbp-eye-icon,
.tmrbp-password-toggle:focus .tmrbp-eye-icon,
.tmrbp-password-toggle:active .tmrbp-eye-icon{
  color:#000000!important;
  stroke:#000000!important;
  opacity:1!important;
}

.tmrbp-password-toggle:hover{
  background:#f5f5f5!important;
}

.tmrbp-password-toggle.is-visible .tmrbp-eye-icon,
.tmrbp-password-toggle.is-visible:hover .tmrbp-eye-icon{
  color:#000!important;
  stroke:#000!important;
  opacity:1!important;
}

.tmrbp-login-form,
.tmrbp-login-field,
.tmrbp-password-wrap{
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}

.tmrbp-login-field input{
  -webkit-appearance:none!important;
  appearance:none!important;
  border-radius:14px!important;
}

.tmrbp-login-submit{
  -webkit-appearance:none!important;
  appearance:none!important;
  touch-action:manipulation!important;
}

@media(max-width:767px){
  /* Prevent automatic input zoom on iPhone/iPad Safari. */
  .tmrbp-login-field input,
  .tmrbp-form input,
  .tmrbp-form textarea,
  .tmrbp-form select{
    font-size:16px!important;
  }

  .tmrbp-password-toggle{
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    min-height:42px!important;
    top:3px!important;
    right:4px!important;
  }

  .tmrbp-login-meta{
    width:100%!important;
  }

  .tmrbp-login-submit{
    width:100%!important;
    min-height:48px!important;
  }
}

@media(min-width:768px) and (max-width:1180px){
  .tmrbp-portal-login-page .tmrbp-shell{
    max-width:680px!important;
  }
}

/* Hide an empty eyebrow completely if a translated template emits it. */
.tmrbp-portal-login-page .tmrbp-public-head>span:empty{
  display:none!important;
}
