.tb-client-profile-page{background:#f5f9fa;min-height:65vh;}
.tb-client-profile-page .tb-client-account-section{background:transparent;padding:26px 0 44px!important;}
.tb-client-profile-page .tb-client-account-section>.container{max-width:1320px;}
.tb-client-profile-page .tb-client-account-shell{grid-template-columns:230px minmax(0,1fr);gap:26px;align-items:start;}
.tb-client-profile-page .tb-client-account-sidebar{top:110px;border-color:#e2ecee;border-radius:16px;box-shadow:0 6px 22px rgba(18,79,87,.04);}
.tb-client-profile-page .tb-client-account-user{display:grid;grid-template-columns:44px minmax(0,1fr);column-gap:12px;text-align:left;padding:20px 16px;background:#fff;}
.tb-client-profile-page .tb-client-account-avatar{grid-row:1/3;width:44px;height:44px;margin:0;font-size:19px;box-shadow:none;}
.tb-client-profile-page .tb-client-account-user strong{font-size:14px;align-self:end;line-height:1.4;}
.tb-client-profile-page .tb-client-account-user span{font-size:11px;line-height:1.5;margin-top:2px;overflow-wrap:anywhere;}
.tb-client-profile-page .tb-client-account-nav{padding:10px;gap:4px;}
.tb-client-profile-page .tb-client-account-nav a,
.tb-client-profile-page .tb-client-account-nav button{min-height:44px;border-radius:9px;font-size:13px;padding:0 12px;font-weight:600;}
.tb-client-profile-page .tb-client-account-nav .active{background:#e9f3f3;box-shadow:inset 3px 0 #124f57;}
.tb-client-profile-page .tb-client-account-content{min-width:0;}
.tb-client-profile-page .tb-client-account-panel[data-account-panel="profile"]{padding:0!important;background:transparent;border:0!important;border-radius:0!important;box-shadow:none!important;}
.tb-client-profile-page .tb-client-account-panel-head{margin:0 0 22px;padding:0;border:0;}
.tb-client-profile-page .tb-client-account-panel-head h1{margin:0;color:#14363b;font-size:28px;font-weight:700;line-height:1.25;letter-spacing:-.5px;}
.tb-client-profile-page .tb-client-account-panel-head p{margin:7px 0 0;color:#667f84;font-size:13px;line-height:1.6;}
.tb-client-profile-page .tb-client-profile-form{display:grid;gap:18px;}
.tb-client-profile-page .tb-profile-card{padding:22px!important;margin:0!important;border:1px solid #dfeaec!important;border-radius:14px!important;background:#fff;box-shadow:0 4px 18px rgba(18,79,87,.025)!important;}
.tb-client-profile-page .tb-profile-card h3{margin:0 0 18px!important;font-size:16px!important;line-height:1.4;font-weight:650;}
.tb-client-profile-page .tb-profile-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;}
.tb-client-profile-page .tb-profile-grid label{min-width:0;gap:7px;}
.tb-client-profile-page .tb-profile-grid label span{font-size:12px!important;font-weight:600;line-height:1.4;color:#526d71;}
.tb-client-profile-page .tb-profile-grid label.small{grid-column:auto;}
.tb-client-profile-page .tb-profile-grid label.wide{grid-column:1/-1;}
.tb-client-profile-page .tb-profile-grid input,
.tb-client-profile-page .tb-profile-grid select,
.tb-client-profile-page .tb-profile-grid textarea{width:100%;min-width:0;min-height:44px;height:auto;padding:11px 12px!important;border:1px solid #dbe7e9!important;border-radius:8px!important;background:#fff;font-size:13px!important;line-height:1.5;font-weight:500!important;color:#163b42;box-sizing:border-box;}
.tb-client-profile-page .tb-profile-grid input::placeholder,
.tb-client-profile-page .tb-profile-grid textarea::placeholder{color:#829397;font-weight:400;}
.tb-client-profile-page .tb-profile-grid textarea{min-height:88px;resize:vertical;}
.tb-client-profile-page .tb-profile-grid input:focus,
.tb-client-profile-page .tb-profile-grid select:focus,
.tb-client-profile-page .tb-profile-grid textarea:focus{border-color:#85bcc2!important;outline:3px solid #e4f2f4;outline-offset:1px;box-shadow:none;}
.tb-client-profile-page .tb-profile-actions{margin:0;gap:12px;display:flex;align-items:center;flex-wrap:wrap;}
.tb-client-profile-page .tb-profile-actions .tb-btn{min-height:44px;padding:12px 24px;border-radius:8px;font-size:13px;box-shadow:none;}
.tb-client-profile-page .tb-profile-actions span{font-size:12px;}
.tb-client-profile-page .tb-client-account-nav a:focus-visible,
.tb-client-profile-page .tb-client-account-nav button:focus-visible,
.tb-client-profile-page .tb-profile-actions button:focus-visible{outline:3px solid #85bcc2;outline-offset:3px;}
@media(max-width:1199px){.tb-client-profile-page .tb-client-account-shell{grid-template-columns:210px minmax(0,1fr);gap:20px;}.tb-client-profile-page .tb-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
@media(max-width:991px){
  .tb-client-profile-page .tb-client-account-shell{grid-template-columns:minmax(0,1fr);gap:22px;}
  .tb-client-profile-page .tb-client-account-sidebar{position:static;}
  .tb-client-profile-page .tb-client-account-user{padding:14px 16px;}
  .tb-client-profile-page .tb-client-account-nav{display:flex;flex-wrap:wrap;gap:6px;}
  .tb-client-profile-page .tb-client-account-nav a,
  .tb-client-profile-page .tb-client-account-nav button{min-height:38px;justify-content:flex-start;}
  .tb-client-profile-page .tb-client-account-nav .active{box-shadow:none;}
}
@media(max-width:600px){
  .tb-client-profile-page .tb-client-account-section{padding:16px 0 28px!important;}
  .tb-client-profile-page .tb-client-account-section>.container{padding-left:16px;padding-right:16px;}
  .tb-client-profile-page .tb-client-account-nav{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;}
  .tb-client-profile-page .tb-client-account-nav a,
  .tb-client-profile-page .tb-client-account-nav button{flex:0 0 auto;white-space:nowrap;font-size:12px;}
  .tb-client-profile-page .tb-client-account-panel-head{margin-bottom:18px;}
  .tb-client-profile-page .tb-client-account-panel-head h1{font-size:25px;}
  .tb-client-profile-page .tb-profile-card{padding:18px!important;}
  .tb-client-profile-page .tb-profile-grid{grid-template-columns:minmax(0,1fr)!important;gap:14px!important;}
  .tb-client-profile-page .tb-profile-actions .tb-btn{width:100%;}
}
