/* Shared member identity. Specificity deliberately exceeds OS inline critical styles. */
:root{--ktv-member-ink:#17364f;--ktv-member-muted:#567084;--ktv-member-line:#dce8ef;--ktv-member-surface:#fff;--ktv-member-accent:#008db5;--ktv-member-radius:20px}
body.ktv-member-area{background:#fffdf9!important;color:var(--ktv-member-ink)}
body.ktv-member-area :is(.ko-club-shell,.ko-member-shell,.ko-member-titlebar),body.ktv-member-admin .ko-os-wrap{font-family:"Vazirmatn",Tahoma,Arial,sans-serif!important;font-size:16px!important;line-height:1.9!important}
body.ktv-member-area :is(.ko-club-shell,.ko-member-shell,.ko-member-titlebar) :is(input,select,textarea,button,a,p,span,div,label,summary,h1,h2,h3,strong,b,small),body.ktv-member-admin .ko-os-wrap :is(input,select,textarea,button,a,p,span,div,label,h1,h2,h3,th,td){font-family:"Vazirmatn",Tahoma,Arial,sans-serif!important;box-sizing:border-box}
body.ktv-member-area :is(.ko-club-shell,.ko-member-shell){max-width:1320px!important;padding:0 24px!important;margin:32px auto 64px!important}
body.ktv-member-area :is(.ko-club-shell,.ko-member-shell) :is(p,.ko-list-item,label){font-size:16px!important;line-height:1.95!important}
body.ktv-member-area :is(.ko-club-shell,.ko-member-shell) :is(small,.ko-club-eyebrow){font-size:13px!important;line-height:1.8!important}
body.ktv-member-area :is(.ko-club-card,.ko-card,.ko-club-service,.ko-public-profile section,.ko-club-stats-pro>div){border:1px solid var(--ktv-member-line)!important;border-radius:var(--ktv-member-radius)!important;background:#fff!important;box-shadow:0 10px 28px #17364f06!important;padding:24px!important}
body.ktv-member-area :is(.ko-club-shell,.ko-member-shell) :is(h2,h3){font-size:22px!important;font-weight:800!important;line-height:1.6!important;color:var(--ktv-member-ink)!important}
body.ktv-member-area :is(.ko-club-layout){grid-template-columns:250px minmax(0,1fr)!important;gap:24px!important}
body.ktv-member-area .ko-club-nav{background:#f3fbfd!important;border:1px solid var(--ktv-member-line)!important;border-radius:20px!important;padding:16px!important;box-shadow:none!important;top:140px!important;max-height:calc(100dvh - 156px);overflow-y:auto}
body.ktv-member-area .ko-club-nav h2{font-size:19px!important;color:var(--ktv-member-ink)!important;margin:4px 8px 16px!important}
body.ktv-member-area .ko-club-nav a{color:var(--ktv-member-ink)!important;font-size:14px!important;font-weight:600!important;min-height:44px!important;padding:10px 14px!important;border-radius:12px!important;background:transparent!important}
body.ktv-member-area .ko-club-nav a:hover{background:#e2f4f8!important}
body.ktv-member-area .ko-club-nav a.is-active{background:#008db5!important;color:#fff!important}
body.ktv-member-area .ko-club-shell .ko-club-hero,body.ktv-member-area.ktv-public-resume .ko-public-head{background:linear-gradient(115deg,#103c55,#0587bb 55%,#14bfa0)!important;color:#fff!important;border:0!important;border-radius:24px!important;padding:32px!important;gap:24px!important}
body.ktv-member-area .ko-club-hero h1,body.ktv-public-resume .ko-public-head h1{font-family:"Vazirmatn",Tahoma,sans-serif!important;font-size:clamp(28px,3.4vw,46px)!important;font-weight:850!important;line-height:1.6!important;color:#fff!important;margin:0 0 12px!important}
body.ktv-member-area .ko-club-hero p,body.ktv-public-resume .ko-public-head p{color:#ecfbff!important;font-size:16px!important}
body.ktv-member-area .ko-club-hero-actions,body.ktv-member-area .ko-profile-actions{display:flex!important;flex-wrap:wrap!important;gap:12px!important;align-items:center!important}
body.ktv-member-area .ko-club-hero-actions{flex-direction:column;flex-shrink:0}
body.ktv-member-area :is(.ko-button,.ko-club-button,.ko-member-titlebar nav a,.ktv-management-link,.ktv-management-links a,.ktv-club-menu-toggle),body.ktv-member-admin .ko-os-wrap :is(.button,button[type=submit]){display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:44px!important;max-width:100%;padding:10px 18px!important;margin:0!important;border:1px solid transparent!important;border-radius:12px!important;font-size:14px!important;font-weight:700!important;line-height:1.6!important;white-space:normal!important;text-align:center;text-decoration:none!important;background:#008db5!important;color:#fff!important;box-shadow:none!important;cursor:pointer}
body.ktv-member-area :is(.ko-button-secondary,.ko-club-button-light,.ko-member-titlebar nav a,.ktv-management-links a,.ktv-management-link),body.ktv-member-admin .ko-os-wrap .button:not(.button-primary){background:#eaf7fa!important;color:#12617b!important;border-color:#cfe7ef!important}
body.ktv-member-area .ko-club-shell .ko-club-button-soft{background:#fff!important;color:#12617b!important;border-color:#fff!important}
body.ktv-member-area :is(button,a,input,select,textarea,summary):focus-visible,body.ktv-member-admin .ko-os-wrap :is(button,a,input,select,textarea):focus-visible{outline:3px solid #f5b635!important;outline-offset:3px!important}
body.ktv-member-area :is(button,input,select,textarea):disabled{opacity:.55;cursor:not-allowed!important}
body.ktv-member-area .ko-club-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px!important}
body.ktv-member-area .ko-club-service{grid-template-columns:minmax(0,1fr)!important;gap:12px!important;min-height:0!important}
body.ktv-member-area .ko-club-service .ko-service-icon:empty{display:none!important}
body.ktv-member-area .ko-club-service b{grid-column:1!important;font-size:14px!important}
body.ktv-member-area .ko-club-service p{color:var(--ktv-member-muted)!important;font-size:15px!important}
body.ktv-member-area .ko-club-stats-pro{gap:16px!important}
body.ktv-member-area .ko-club-stats-pro b{font-size:24px!important}
body.ktv-member-area .ko-club-stats-pro span{font-size:14px!important;color:var(--ktv-member-muted)!important}
body.ktv-member-area .ko-member-titlebar{max-width:1320px!important;margin:24px auto!important;padding:0 24px!important;border:0!important;background:transparent!important}
body.ktv-member-area .ko-member-titlebar>.ko-member-shell{max-width:none!important;margin:0!important;display:flex!important;flex-wrap:wrap!important;gap:16px!important;padding:20px!important;background:#f3fbfd!important;color:var(--ktv-member-ink)!important;border:1px solid var(--ktv-member-line)!important;border-radius:20px!important}
body.ktv-member-area .ko-member-titlebar nav{display:flex!important;flex-wrap:wrap!important;gap:8px!important}
body.ktv-member-area .ko-profile-grid{grid-template-columns:250px minmax(0,1fr)!important;gap:24px!important}
body.ktv-member-area .ko-profile-sidebar{grid-column:1!important;grid-row:1!important;top:140px!important}
body.ktv-member-area .ko-profile-main{grid-column:2!important;min-width:0}
body.ktv-member-area :is(.ko-fields-2,.ko-fields-3){grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px!important}
body.ktv-member-area :is(.ko-form,.ko-club-form) label{font-size:14px!important;font-weight:600!important;gap:8px!important;min-width:0}
body.ktv-member-area :is(.ko-form,.ko-club-form) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){font-size:16px!important;line-height:1.8!important;min-height:46px!important;border:1px solid #cfdee7!important;background:#f8fbfd!important;border-radius:12px!important;padding:10px 14px!important;width:100%!important;max-width:100%!important}
body.ktv-member-area :is(.ko-form,.ko-club-form) textarea{min-height:160px!important;resize:vertical!important}
body.ktv-member-area :is(.ko-form,.ko-club-form) input:is([type=checkbox],[type=radio]){width:20px!important;height:20px!important;min-height:0!important;padding:0!important;accent-color:#008db5}
body.ktv-member-area .ko-check{display:flex!important;flex-wrap:wrap;align-items:center;gap:10px!important}
body.ktv-member-area .ko-profile-section,body.ktv-member-area .ko-resume-drawer{border-radius:16px!important;border-color:var(--ktv-member-line)!important;background:#fff!important}
body.ktv-member-area .ko-resume-drawer summary{font-size:17px!important;font-weight:700!important;padding:18px!important;background:#f1fafc!important}
body.ktv-public-resume .ko-public-head{grid-template-columns:200px minmax(0,1fr)!important}
body.ktv-public-resume .ko-public-photo{border:5px solid #ffffff55!important;width:200px!important;height:220px!important;border-radius:28px!important}
body.ktv-public-resume .ko-public-profile section{padding:0!important;overflow:hidden}
body.ktv-public-resume .ko-public-profile section h2{background:linear-gradient(100deg,#f0faff,#f3fcf6)!important;margin:0!important;padding:18px 24px!important;font-size:22px!important;border-bottom:1px solid var(--ktv-member-line)!important}
body.ktv-public-resume .ko-public-profile section>div{padding:20px 24px!important;font-size:16px!important;color:var(--ktv-member-ink)!important}
body.ktv-public-resume .ko-public-profile section>div+div{padding-top:0!important}
/* Admin styles are limited to the two actual member management screens. */
body.ktv-member-admin .ko-os-wrap{max-width:1320px!important;margin:24px auto!important;padding:0 20px!important;color:var(--ktv-member-ink)}
body.ktv-member-admin .ko-os-wrap>h1{font-size:30px!important;font-weight:800!important;line-height:1.6!important}
body.ktv-member-admin .ko-os-wrap h2{font-size:22px!important;font-weight:750!important}
body.ktv-member-admin .ko-os-panel{padding:24px!important;margin:24px 0!important;background:#fff!important;border:1px solid var(--ktv-member-line)!important;border-radius:20px!important;overflow:auto}
body.ktv-member-admin .ko-os-form{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:22px!important;align-items:start!important}
body.ktv-member-admin .ko-os-form>label{display:grid!important;gap:8px!important;font-size:14px!important;font-weight:650!important;min-width:0!important}
body.ktv-member-admin .ko-os-form>label:has(textarea){grid-column:1/-1}
body.ktv-member-admin .ko-os-wrap :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]),select,textarea){width:100%!important;max-width:100%!important;min-height:46px!important;line-height:1.8!important;font-size:16px!important;border:1px solid #cfdee7!important;border-radius:12px!important;padding:10px 14px!important;background:#f8fbfd!important}
body.ktv-member-admin .ko-os-form textarea{min-height:150px!important;resize:vertical}
body.ktv-member-admin .ko-os-form input:is([type=checkbox],[type=radio]){width:20px!important;height:20px!important;accent-color:#008db5}
body.ktv-member-admin .ko-os-form>.button{justify-self:start;align-self:end}
body.ktv-member-admin .ko-os-search{display:flex!important;align-items:center;gap:12px;flex-wrap:wrap}
body.ktv-member-admin .ko-os-search :is(input,select){flex:1 1 180px;max-width:320px!important}
body.ktv-member-admin .widefat{border:0!important;font-size:15px!important}
body.ktv-member-admin .widefat :is(th,td){padding:16px!important;font-size:15px!important;line-height:1.8!important}
body.ktv-member-admin .widefat th{background:#eff9fc!important;font-weight:750!important}
body.ktv-member-area .ko-club-nav .ktv-club-menu-toggle{display:none!important}
@media(max-width:1050px){body.ktv-member-area .ko-club-layout{grid-template-columns:minmax(0,1fr)!important}body.ktv-member-area .ko-club-nav{position:static!important;display:block!important;max-height:none;overflow:visible}body.ktv-member-area .ko-club-nav h2{display:none!important}body.ktv-member-area .ko-club-nav.ktv-menu-enhanced .ktv-club-menu-toggle{display:inline-flex!important;width:100%}body.ktv-member-area .ko-club-nav #ktv-club-menu-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin-top:12px}body.ktv-member-area .ko-club-nav.ktv-menu-enhanced:not(.ktv-menu-open) #ktv-club-menu-links{display:none}body.ktv-member-area .ko-club-nav a{white-space:normal!important}}
@media(max-width:760px){body.ktv-member-area :is(.ko-club-shell,.ko-member-shell){padding:0 16px!important;margin:24px auto 40px!important}body.ktv-member-area .ko-member-titlebar{padding:0 16px!important}body.ktv-member-area :is(.ko-profile-grid,.ko-fields-2,.ko-fields-3,.ko-club-service-grid){grid-template-columns:minmax(0,1fr)!important}body.ktv-member-area :is(.ko-profile-sidebar,.ko-profile-main){grid-column:1!important;grid-row:auto!important;position:static!important}body.ktv-member-area .ko-club-hero{flex-direction:column!important;align-items:stretch!important;padding:24px!important}body.ktv-member-area .ko-club-hero-actions{flex-direction:row}body.ktv-member-area .ko-club-stats-pro{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.ktv-public-resume .ko-public-head{grid-template-columns:minmax(0,1fr)!important;text-align:center!important;padding:24px!important}body.ktv-member-admin .ko-os-form{grid-template-columns:minmax(0,1fr)!important}body.ktv-member-admin .ko-os-wrap{padding:0 8px!important}body.ktv-member-admin .ko-os-panel{padding:18px!important}}

body.ktv-member-admin .ko-os-panel>form:not(.ko-os-form){display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:16px 0}body.ktv-member-admin .ko-os-panel>form input[type=file]{flex:1 1 240px}
body.ktv-member-area .ko-member-shell h1{font-family:"Vazirmatn",Tahoma,sans-serif;font-size:32px;line-height:1.6}
.ks27-profile-hero h1{font-family:"Vazirmatn",Tahoma,sans-serif;font-size:clamp(28px,3.4vw,46px)!important;line-height:1.6!important}
.ks27-profile-shell :is(p,dt,dd){font-family:"Vazirmatn",Tahoma,sans-serif;font-size:16px!important;line-height:1.95!important}
.ks27-profile-section__heading h2{font-size:22px!important;line-height:1.6!important}
