.ko-member-titlebar,.ko-member-shell{direction:rtl;text-align:right}.ko-member-titlebar{background:#f7f7f8;border-bottom:1px solid #e5e7eb;padding:12px 0}.ko-member-titlebar .ko-member-shell{display:flex;justify-content:space-between;gap:20px;align-items:center}.ko-member-titlebar nav{display:flex;gap:14px;flex-wrap:wrap}.ko-member-titlebar a{text-decoration:none}.ko-member-shell{max-width:1100px;margin:28px auto;padding:0 16px;box-sizing:border-box}.ko-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:22px;box-shadow:0 4px 18px rgba(0,0,0,.04)}.ko-form{display:grid;gap:14px}.ko-form label{display:grid;gap:7px;font-weight:600}.ko-form input,.ko-form textarea,.ko-form select,.ko-directory-filter input,.ko-directory-filter select{width:100%;max-width:100%;border:1px solid #cbd5e1;border-radius:9px;padding:10px 12px;box-sizing:border-box;background:#fff}.ko-button{display:inline-block;border:0;border-radius:9px;padding:10px 16px;background:#1f5f4a;color:#fff;text-decoration:none;cursor:pointer;margin:5px 0}.ko-button-secondary{background:#44546a}.ko-button-danger{background:#9b2c2c}.ko-profile-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:20px}.ko-profile-image,.ko-public-photo{width:100%;max-width:320px;aspect-ratio:1/1;object-fit:cover;border-radius:14px}.ko-profile-placeholder,.ko-avatar-placeholder{background:#eef2f7;aspect-ratio:1/1;border-radius:14px;display:grid;place-items:center}.ko-image-card form{margin-top:12px}.ko-alert{padding:12px 16px;border-radius:9px;margin:12px 0}.ko-alert-success{background:#ecfdf5}.ko-alert-error{background:#fef2f2}.ko-alert-warning{background:#fffbeb}.ko-muted{color:#64748b}.ko-directory-filter{display:grid;grid-template-columns:2fr 1fr 1fr .6fr auto;gap:10px;margin-bottom:22px}.ko-directory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.ko-member-card{border:1px solid #e5e7eb;border-radius:12px;padding:15px}.ko-member-card img,.ko-member-card .ko-avatar-placeholder{width:90px;height:90px;object-fit:cover;border-radius:50%}.ko-public-head{display:flex;gap:20px;align-items:center}.ko-public-photo{max-width:170px}.ko-public-profile section{border-top:1px solid #edf0f3;padding-top:18px;margin-top:18px}.ko-tags{display:flex;flex-wrap:wrap;gap:8px}.ko-tags span{background:#f1f5f9;border-radius:999px;padding:6px 10px}.ko-list-item{padding:10px 0;border-bottom:1px dashed #e2e8f0}.ko-check{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center}.ko-check input{width:auto!important}@media(max-width:760px){.ko-profile-grid,.ko-directory-grid{grid-template-columns:1fr}.ko-directory-filter{grid-template-columns:1fr}.ko-member-titlebar .ko-member-shell,.ko-public-head{align-items:flex-start;flex-direction:column}.ko-card{padding:16px}.ko-member-shell{margin:18px auto}}


/* 0.3.10.3 — Golden Professional Profile UX */
body .ko-member-shell{max-width:1180px!important;margin:34px auto!important;padding:0 20px!important;direction:rtl!important;text-align:right!important}
body .ko-profile-page .ko-profile-grid{display:grid!important;grid-template-columns:minmax(0,1fr) 290px!important;gap:24px!important;align-items:start!important}
body .ko-profile-page .ko-card{background:#fff!important;border:1px solid #e6edf3!important;border-radius:22px!important;padding:28px!important;box-shadow:0 14px 42px rgba(15,42,67,.07)!important}
body .ko-profile-intro{display:flex!important;justify-content:space-between!important;gap:18px!important;align-items:flex-start!important;margin-bottom:18px!important}
body .ko-profile-intro h1{margin:3px 0 6px!important;font-size:28px!important;line-height:1.5!important;color:#17324d!important}
body .ko-kicker{font-size:12px!important;font-weight:800!important;color:#b7791f!important}
body .ko-profile-form{display:block!important}
body .ko-profile-section{display:block!important;margin:18px 0!important;padding:22px!important;border:1px solid #e6edf3!important;border-radius:18px!important;background:#fbfdff!important;min-width:0!important}
body .ko-profile-section legend{padding:0 10px!important;font-size:17px!important;font-weight:800!important;color:#17324d!important}
body .ko-fields{display:grid!important;grid-template-columns:1fr!important;gap:16px!important}
body .ko-fields-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}
body .ko-fields-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}
body .ko-profile-form label{display:flex!important;flex-direction:column!important;gap:8px!important;font-size:14px!important;font-weight:700!important;color:#29465f!important;margin:0!important;min-width:0!important}
body .ko-profile-form input[type=text],body .ko-profile-form input[type=url],body .ko-profile-form input[type=number],body .ko-profile-form textarea,body .ko-profile-form select{display:block!important;width:100%!important;min-width:0!important;max-width:none!important;box-sizing:border-box!important;border:1px solid #cbd8e5!important;border-radius:12px!important;background:#fff!important;color:#17324d!important;padding:12px 14px!important;font:400 15px/1.8 Tahoma,Arial,sans-serif!important;text-align:right!important;direction:rtl!important;box-shadow:none!important;opacity:1!important}
body .ko-profile-form textarea{min-height:118px!important;resize:vertical!important}
body .ko-profile-form input:focus,body .ko-profile-form textarea:focus{outline:none!important;border-color:#1bb8d2!important;box-shadow:0 0 0 3px rgba(27,184,210,.12)!important}
body .ko-profile-form input:disabled,body .ko-profile-form textarea:disabled{background:#f3f6f8!important;color:#708090!important;cursor:not-allowed!important}
body .ko-profile-actions{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:16px!important;position:sticky!important;bottom:14px!important;background:rgba(255,255,255,.96)!important;backdrop-filter:blur(8px)!important;padding:14px 16px!important;border:1px solid #e6edf3!important;border-radius:16px!important;box-shadow:0 10px 30px rgba(15,42,67,.10)!important;z-index:20!important}
body .ko-profile-actions .ko-button-primary{background:#0f8f6f!important;font-weight:800!important;padding:12px 22px!important}
body .ko-check{display:flex!important;flex-direction:row!important;align-items:center!important;gap:9px!important}
body .ko-check input{width:auto!important}
body .ko-alert-info{background:#effaf7!important;color:#225d50!important;border:1px solid #cbeee5!important}
body .ko-alert-soft{background:#f7fafc!important;color:#5b6f82!important;border:1px solid #e7eef4!important}
body .ko-image-card{position:sticky!important;top:100px!important}
body .ko-image-card .ko-profile-placeholder,body .ko-image-card .ko-profile-image{width:100%!important;max-width:none!important;border-radius:18px!important}
body .ko-image-card input[type=file]{width:100%!important;box-sizing:border-box!important;margin:8px 0!important}
body .ko-member-titlebar nav{display:flex!important;gap:12px!important;flex-wrap:wrap!important;align-items:center!important}
body .ko-member-titlebar nav a{padding:7px 10px!important;border-radius:9px!important}
body .ko-member-titlebar .ko-logout-link{background:#fff0f0!important;color:#9b2c2c!important}
body .ko-floating-logout{position:fixed!important;left:18px!important;bottom:18px!important;z-index:999999!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:42px!important;padding:0 18px!important;border-radius:12px!important;background:#17324d!important;color:#fff!important;text-decoration:none!important;font:700 14px/1.4 Tahoma,Arial,sans-serif!important;box-shadow:0 8px 24px rgba(16,42,67,.22)!important;direction:rtl!important}
body .ko-floating-logout:hover{background:#0d2235!important;color:#fff!important}
@media(max-width:900px){body .ko-profile-page .ko-profile-grid{grid-template-columns:1fr!important}body .ko-image-card{position:static!important}body .ko-fields-3{grid-template-columns:1fr!important}}
@media(max-width:680px){body .ko-fields-2{grid-template-columns:1fr!important}body .ko-profile-page .ko-card{padding:18px!important}body .ko-profile-section{padding:16px!important}body .ko-profile-actions{flex-direction:column!important;align-items:stretch!important}body .ko-profile-actions .ko-button{width:100%!important;text-align:center!important}body .ko-floating-logout{left:12px!important;bottom:12px!important}}
body .ko-golden-bridge{direction:rtl!important;text-align:right!important;padding:26px 28px!important;border:1px solid #e6edf3!important;border-radius:22px!important;background:#fff!important;box-shadow:0 10px 35px rgba(22,46,73,.06)!important}
body .ko-golden-bridge h2{margin:5px 0 10px!important;font-size:22px!important;line-height:1.6!important;color:#18344e!important}
body .ko-golden-bridge p{margin:0 0 12px!important;line-height:2!important;color:#49647c!important}
body .ko-golden-bridge-note{font-size:13px!important;color:#6b7f91!important;background:#f7fafc!important;border-radius:12px!important;padding:10px 12px!important}

.ko-private-section{border-color:#d9e6ef;background:#fbfdff}
.ko-publication-actions{align-items:flex-start;gap:18px}
.ko-public-toggle{display:flex!important;align-items:flex-start!important;gap:10px!important;padding:14px 16px!important;border:1px solid #cfe3d7!important;border-radius:14px!important;background:#f3fbf6!important}
.ko-public-toggle small{display:block;color:#617487;font-weight:400;margin-top:4px}
.ko-global-logout a{font-weight:800!important}

/* 0.4.0 — full professional resume drawers */
.ko-resume-accordion{display:grid;gap:14px;margin:20px 0}
.ko-resume-drawer{border:1px solid #e1eaf1;border-radius:16px;background:#fff;overflow:hidden}
.ko-resume-drawer>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 18px;background:#f8fbfd;color:#17324d}
.ko-resume-drawer>summary::-webkit-details-marker{display:none}
.ko-resume-drawer>summary strong{font-size:16px}.ko-resume-drawer>summary span{font-size:12px;color:#6b7f91}
.ko-resume-drawer[open]>summary{background:#eef8fb;border-bottom:1px solid #dcebf1}
.ko-drawer-body{padding:18px}
.ko-private-drawer>summary{background:#fffaf0}.ko-private-drawer[open]>summary{background:#fff6df}
.ko-legacy-history>summary{background:#f8f7ff}.ko-legacy-history[open]>summary{background:#f0effc}
@media(max-width:680px){.ko-resume-drawer>summary{align-items:flex-start;flex-direction:column;gap:4px}}


/* 0.4.1 — public profile / directory visual hardening */
body main.ko-member-shell{max-width:1120px!important;margin:32px auto 52px!important;padding:0 18px!important;direction:rtl!important;text-align:right!important}
body article.ko-public-profile{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
body article.ko-public-profile>.ko-public-head{grid-column:1/-1!important;display:grid!important;grid-template-columns:190px minmax(0,1fr)!important;gap:24px!important;align-items:center!important;background:#fff!important;border:1px solid #e3eaf0!important;border-radius:22px!important;padding:22px!important;box-shadow:0 10px 30px rgba(15,42,67,.06)!important}
body article.ko-public-profile>.ko-public-head .ko-public-photo,body article.ko-public-profile>.ko-public-head img.ko-public-photo{display:block!important;width:190px!important;height:190px!important;min-width:190px!important;max-width:190px!important;max-height:190px!important;aspect-ratio:1/1!important;object-fit:cover!important;border-radius:18px!important;margin:0!important}
body article.ko-public-profile>.ko-public-head h1{font-size:30px!important;line-height:1.5!important;margin:0 0 8px!important;color:#17324d!important}
body article.ko-public-profile>.ko-public-head p{font-size:15px!important;color:#607487!important;margin:0!important}
body article.ko-public-profile>section{box-sizing:border-box!important;background:#fff!important;border:1px solid #e3eaf0!important;border-radius:18px!important;padding:20px!important;margin:0!important;min-width:0!important;box-shadow:0 8px 24px rgba(15,42,67,.045)!important;overflow-wrap:anywhere!important}
body article.ko-public-profile>section h2{font-size:19px!important;margin:0 0 12px!important;color:#17324d!important}
body article.ko-public-profile>section p,body article.ko-public-profile>section div{line-height:2!important;color:#334d63!important}
body article.ko-public-profile .ko-list-item{padding:10px 0!important;border-bottom:1px dashed #dfe8ef!important;overflow-wrap:anywhere!important}
body article.ko-public-profile .ko-tags{display:flex!important;gap:8px!important;flex-wrap:wrap!important}.ko-tags span{background:#eef8fb!important;color:#17647a!important}
body .ko-directory-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))!important;gap:16px!important}
body .ko-member-card{display:flex!important;flex-direction:column!important;align-items:center!important;text-align:center!important;min-height:320px!important;background:#fff!important;border-radius:18px!important;padding:16px!important}
body .ko-member-card img,body .ko-member-card .ko-avatar-placeholder{width:120px!important;height:120px!important;max-width:120px!important;object-fit:cover!important;border-radius:18px!important;margin:0 auto 10px!important}
@media(max-width:760px){body article.ko-public-profile{grid-template-columns:1fr!important}body article.ko-public-profile>.ko-public-head{grid-template-columns:1fr!important;text-align:center!important}body article.ko-public-profile>.ko-public-head .ko-public-photo,body article.ko-public-profile>.ko-public-head img.ko-public-photo{margin:0 auto!important;width:160px!important;height:160px!important;min-width:160px!important;max-width:160px!important}}
