
/* WAJIB V35 | provider identity / RTL-LTR navigation.
   Applied LAST after legacy rules. No rebrand: approved charcoal, ivory, beige.
*/
:root{
  --w35-ink:#24211E;--w35-paper:#FFFFFF;--w35-warm:#FAF7F2;
  --w35-beige:#F1E6D8;--w35-line:#E8DCCE;--w35-muted:#6C6258;
  --w35-focus:#B1844D;
}
.header .guest-auth-actions{
  display:inline-flex;align-items:center;gap:7px;white-space:nowrap;flex:0 0 auto;
}
.header .guest-auth-actions .header-login{
  display:inline-flex!important;align-items:center;justify-content:center;
  min-height:42px;border:1px solid #C8B69E;border-radius:11px;
  padding:8px 12px;background:#FFFDF9!important;color:var(--w35-ink)!important;
  font-size:.83rem;font-weight:750;white-space:nowrap;text-decoration:none;
}
.header .guest-auth-actions .header-login:hover{background:var(--w35-beige)!important;border-color:#9C7E5A}
.header .guest-auth-actions .account-button{
  display:inline-flex!important;align-items:center;justify-content:center;
  min-height:42px!important;padding:8px 14px!important;
  border-radius:11px!important;font-size:.83rem!important;white-space:nowrap;
  background:var(--w35-ink)!important;color:#FFFFFF!important;
  text-decoration:none;
}
.header .guest-auth-actions a:focus-visible{outline:3px solid var(--w35-focus)!important;outline-offset:2px}
.drawer-language-switch{display:none}
.drawer-install-native{background:var(--w35-ink);color:#fff;border:0;border-radius:12px;min-height:45px;padding:10px 15px;font-weight:700;cursor:pointer}
.provider-top-preview{
  display:flex;align-items:center;gap:17px;min-width:0;background:var(--w35-paper);
  border:1px solid var(--w35-line);border-radius:20px;padding:18px 22px;
  box-shadow:0 10px 30px #24211E0A;margin:14px 0 20px;
}
.provider-top-avatar,.profile-photo-current,.provider-directory-avatar,.provider-profile-photo{
  display:grid;place-items:center;overflow:hidden;border-radius:50%;background:var(--w35-beige);
  color:var(--w35-ink);
}
.provider-top-avatar{height:84px;width:84px;flex:0 0 84px;font-size:2rem;font-weight:800;border:3px solid #fff;box-shadow:0 0 0 1px #D6C5B0}
.provider-top-avatar img,.profile-photo-current img,.provider-profile-photo{height:100%;width:100%;object-fit:cover;display:block}
.provider-top-summary{display:grid;gap:3px;min-width:0;flex:1}
.provider-top-summary strong{font-size:1.13rem;color:var(--w35-ink);overflow-wrap:anywhere}
.provider-top-summary span,.provider-top-summary small{font-size:.83rem;color:var(--w35-muted)}
.provider-top-buttons{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.provider-top-buttons .button{min-height:46px;padding:10px 16px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
.provider-top-buttons .button.light{background:var(--w35-warm)!important;color:var(--w35-ink)!important;border:1px solid var(--w35-line)!important;box-shadow:none!important}
.provider-photo-editor-placeholder{color:var(--w35-ink)}
.profile-photo-editor{
  width:min(860px,100%);margin:18px auto;display:flex;align-items:flex-start;gap:22px;
  padding:23px;border:1px solid var(--w35-line);border-radius:20px;
  background:var(--w35-paper);box-shadow:0 8px 24px #24211E08;
}
.profile-photo-current{height:108px;width:108px;flex:0 0 108px;border:3px solid var(--w35-paper);box-shadow:0 0 0 1px #D6C5B0}
.profile-photo-empty{font-size:2.8rem;font-weight:800}
.profile-photo-details{min-width:0;flex:1}
.profile-photo-details h2{font-size:1.17rem;margin:0 0 7px;color:var(--w35-ink)}
.profile-photo-details p{font-size:.86rem;color:var(--w35-muted);line-height:1.7;margin:0 0 12px}
.profile-photo-upload{display:grid;gap:12px;margin-top:12px}
.profile-photo-upload>label{display:grid;gap:8px;font-size:.84rem;font-weight:700;line-height:1.5}
.profile-photo-upload input[type=file]{width:100%;max-width:100%;padding:10px;background:var(--w35-warm);border:1px solid var(--w35-line);border-radius:10px;font:inherit;font-size:.81rem}
.profile-photo-rights{display:flex!important;flex-direction:row!important;align-items:flex-start;gap:10px!important;font-weight:500!important}
.profile-photo-rights input[type=checkbox]{width:20px;min-width:20px;height:20px;accent-color:var(--w35-ink);margin-top:2px}
.profile-photo-upload .button{justify-self:start;min-height:47px}
.profile-photo-status{padding:10px 12px;border:1px solid #D9C5A5;border-radius:10px;background:var(--w35-warm);color:#5A4934!important}
.profile-split .profile-avatar{border-radius:50%;overflow:hidden}
.profile-split .profile-avatar:has(.provider-profile-photo){padding:0;background:var(--w35-beige)}
.provider-directory-avatar{width:95px;height:95px;object-fit:cover;box-shadow:0 10px 26px #24211E24;border:3px solid #fff}
@media(max-width:900px){
  .header .guest-auth-actions{gap:6px}
  .header .guest-auth-actions .header-login{min-height:42px}
}
@media(max-width:760px){
  .header .header-inner{flex-wrap:nowrap!important;align-items:center;gap:7px!important;min-height:61px}
  .header .brand{flex:0 1 auto;min-width:0}
  .header .official-wordmark{width:clamp(100px,30vw,130px);height:auto;max-width:100%}
  .header .account{display:flex;align-items:center;gap:6px!important;margin-inline-start:auto!important;margin-inline-end:0!important;min-width:0}
  .header .account>.language-switch{display:none!important}
  .header .account>.my-events-shortcut{display:none!important}
  .header .guest-auth-actions .header-login{padding:7px 9px;font-size:.76rem;min-height:43px}
  .header .guest-auth-actions .account-button{padding:7px 10px!important;font-size:.76rem!important;min-height:43px!important}
  .header .mobile-menu-trigger{display:flex!important;min-width:42px;width:42px;height:43px;min-height:43px;flex:0 0 42px}
  .header .account-button:not(.guest-auth-actions .account-button){display:none!important}
  .header .mobile-drawer{
    direction:inherit;text-align:start;position:fixed;z-index:100;
    top:61px;inset-inline-start:0;inset-inline-end:auto;
    width:min(88vw,356px);max-width:calc(100vw - 24px);
    max-height:calc(100dvh - 70px);overflow-y:auto;overscroll-behavior:contain;
    padding:14px 18px calc(22px + env(safe-area-inset-bottom,0px));
    background:#FFFCF8!important;border:1px solid var(--w35-line);
    border-start-end-radius:0;border-end-end-radius:19px;border-end-start-radius:0;
    box-shadow:0 18px 55px #24211E26!important;
  }
  .header .mobile-drawer>a{padding:13px 11px;min-height:43px;display:flex;align-items:center;text-align:start}
  .drawer-language-switch{display:block;min-width:0;padding-bottom:10px;border-bottom:1px solid var(--w35-line);margin-bottom:4px}
  .drawer-language-switch button{width:100%;min-height:47px;border-radius:11px;border:1px solid var(--w35-line);background:var(--w35-beige);color:var(--w35-ink);font:inherit;font-size:.88rem;font-weight:700;cursor:pointer;text-align:start;padding:10px 14px}
  .provider-top-preview{padding:15px;gap:12px;flex-wrap:wrap}
  .provider-top-avatar{height:68px;width:68px;flex-basis:68px}
  .provider-top-summary strong{font-size:1rem}
  .provider-top-buttons{flex:1 0 100%;display:grid;grid-template-columns:1fr 1fr}
  .provider-top-buttons .button{padding:10px 7px;text-align:center;min-height:48px;font-size:.78rem}
  .profile-photo-editor{padding:17px;gap:14px;flex-wrap:wrap}
  .profile-photo-current{width:83px;height:83px;flex-basis:83px}
  .profile-photo-details{flex:1 0 min(100%,250px)}
  .profile-photo-upload .button{justify-self:stretch}
}
@media(max-width:375px){
  .header .official-wordmark{width:99px!important}
  .header .header-inner{gap:4px!important}
  .header .account{gap:4px!important}
  .header .guest-auth-actions{gap:4px}
  .header .guest-auth-actions .header-login{padding:6px 7px;font-size:.74rem}
  .header .guest-auth-actions .account-button{padding:6px 8px!important;font-size:.73rem!important}
  .header .mobile-menu-trigger{min-width:39px;width:39px;flex-basis:39px}
  .provider-top-buttons .button{font-size:.75rem}
}
@media(prefers-reduced-motion:reduce){.provider-top-preview,.profile-photo-editor{transition:none!important}}


/* CTZ 6.4 RTL/LTR: the menu trigger lives immediately beside the logo, at the
   logical start of the header; the drawer opens from that same side. */
.header-brand-cluster{display:flex;align-items:center;gap:9px;min-width:0;flex:0 0 auto}
.header-brand-cluster .brand{flex:0 1 auto;min-width:0}
@media(max-width:760px){
 .header .header-brand-cluster{gap:6px;flex:0 1 auto}
 .header .header-brand-cluster .mobile-menu-trigger{order:0}
 .header .header-brand-cluster .brand{order:1}
 .header .account{flex:0 0 auto}
}
@media(max-width:375px){
 .header .header-brand-cluster{gap:4px}
}

/* V36 CTZ moderation clarity: visually distinct normal and founder exception. */
.moderation-actions {align-items:center;gap:7px}
.moderation-muted,.moderation-doc-link {display:block;margin-top:5px;font-size:.76rem}
.moderation-doc-link {color:#6B5136;text-decoration:underline;text-underline-offset:2px}
.moderation-reasons {display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:8px 0;font-size:.79rem}
.moderation-reasons span,.moderation-warning {display:inline-block;border-radius:9px;padding:4px 8px;color:#6E4A20;background:#F8EFE1;border:1px solid #E7D4B4;font-size:.77rem}
.moderation-ok {display:inline-block;border-radius:9px;padding:4px 8px;color:#2D593D;background:#EDF6EE;border:1px solid #BFDDC7;font-size:.77rem}
.moderation-override {max-width:410px;border:1px solid #DECDB7;border-radius:12px;padding:9px 12px;background:#F9F4EB;margin:8px 0}
.moderation-override>summary {cursor:pointer;color:#403426;font-weight:700;font-size:.83rem;line-height:1.6}
.moderation-override-form {display:grid;gap:11px;margin-top:11px;min-width:0;max-width:100%}
.moderation-override-form label {display:grid;gap:6px;font-size:.82rem}
.moderation-override-form textarea {min-height:78px;min-width:0;width:100%;max-width:100%;border:1px solid #C8B59A;background:#fff}
.moderation-override-form .check {display:flex;flex-direction:row;align-items:flex-start}
.moderation-override-form .check input {flex:0 0 18px}
.moderation-override-form button {min-height:45px;white-space:normal}
.moderation-actions button[disabled] {background:#EBE6E0!important;color:#655E57!important;cursor:not-allowed;opacity:.85}
@media (max-width:760px) {
  #provider-reviews th,#provider-reviews td {padding:10px}
  .moderation-override {width:100%;max-width:310px}
}


.moderation-notice {background:#FFF4E7;border:1px solid #E4C49B;border-radius:13px;
padding:13px 17px;margin:12px 0 16px;color:#604420;font-size:.88rem;line-height:1.7}
@media (max-width:760px) {
  #provider-reviews .table-wrap {overflow:visible;border:0;background:transparent}
  #provider-reviews table {display:block;min-width:0;width:100%;border-collapse:separate}
  #provider-reviews thead {display:none}
  #provider-reviews tbody {display:grid;gap:13px;min-width:0}
  #provider-reviews tbody tr {display:grid;gap:0;min-width:0;background:#fff;
    border:1px solid #E8DCCE;border-radius:16px;padding:10px 12px;box-shadow:0 7px 22px #24211E08}
  #provider-reviews tbody td {display:grid;grid-template-columns:minmax(82px,32%) minmax(0,1fr);
    align-items:start;gap:10px;width:100%;min-width:0;padding:10px 5px;
    border-bottom:1px solid #F1E9DD;overflow-wrap:anywhere;text-align:start}
  #provider-reviews tbody td::before {content:attr(data-label);font-weight:750;font-size:.78rem;color:#655748}
  #provider-reviews tbody td:last-child {display:block;border-bottom:0;padding:10px 4px}
  #provider-reviews tbody td:last-child::before {display:block;margin-bottom:10px}
  #provider-reviews .moderation-override {max-width:100%}
}
