:root{--profile-green:#0c352e;--profile-deep:#082721;--profile-gold:#d1a246;--profile-cream:#f5efe4;--profile-ink:#15231f;--profile-line:rgba(209,162,70,.24)}
.profile-auth,.profile-panel,.profile-hero,.profile-grid,.profile-member-nav{box-sizing:border-box}.profile-auth{max-width:700px;margin:72px auto;padding:clamp(28px,5vw,56px);border:1px solid var(--profile-line);border-radius:24px;background:rgba(255,255,255,.94);box-shadow:0 28px 70px rgba(8,39,33,.09)}
.profile-kicker{font-size:.72rem;letter-spacing:.18em;text-transform:uppercase;color:#9a7330;font-weight:700}.profile-auth h1,.profile-panel h1,.profile-hero h1{margin:.35rem 0 1rem;color:var(--profile-green);font-size:clamp(2rem,4vw,3.4rem);line-height:1.04}.profile-panel h2{color:var(--profile-green)}
.profile-form{display:grid;gap:16px;margin-top:24px}.profile-form-wide{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-form label{display:grid;gap:7px;font-weight:650;color:var(--profile-ink)}.profile-form label span{font-weight:400;opacity:.65}.profile-form input,.profile-form select{width:100%;box-sizing:border-box;border:1px solid rgba(8,39,33,.18);border-radius:12px;padding:13px 14px;background:#fff;color:var(--profile-ink);font:inherit}.profile-form input:focus,.profile-form select:focus{outline:2px solid rgba(209,162,70,.36);border-color:var(--profile-gold)}.profile-form input[readonly]{background:#f4f4f0;color:#66716d}.profile-check{display:flex!important;grid-column:1/-1;grid-template-columns:auto 1fr!important;align-items:flex-start}.profile-check input{width:auto;margin-top:3px}.span-2{grid-column:1/-1}
.profile-btn{display:inline-flex;justify-content:center;align-items:center;min-height:46px;border:1px solid var(--profile-gold);border-radius:999px;padding:11px 22px;background:var(--profile-green);color:#fff;text-decoration:none;font-weight:700;cursor:pointer}.profile-btn.secondary{background:transparent;color:var(--profile-green)}.profile-link-btn{border:0;background:transparent;padding:0;color:var(--profile-green);text-decoration:underline;cursor:pointer;font:inherit}.profile-link-btn.danger{color:#8b2f2f}.profile-auth-link{margin-top:20px}.profile-auth-link a{color:var(--profile-green)}
.profile-member-nav{margin:34px auto 20px;max-width:1180px;padding:0 20px}.profile-member-nav__inner{display:flex;gap:8px;overflow:auto;border:1px solid var(--profile-line);border-radius:999px;padding:6px;background:rgba(255,255,255,.84);backdrop-filter:blur(18px)}.profile-member-nav a{white-space:nowrap;padding:9px 15px;border-radius:999px;text-decoration:none;color:var(--profile-green)}.profile-member-nav a.active{background:var(--profile-green);color:#fff}
.profile-hero,.profile-panel,.profile-grid{max-width:1180px;margin:20px auto;padding:clamp(22px,4vw,40px)}.profile-hero{display:grid;grid-template-columns:1.5fr .8fr;gap:28px;align-items:center;border-radius:28px;background:linear-gradient(135deg,var(--profile-deep),var(--profile-green));color:#fff}.profile-hero h1{color:#fff}.profile-badges{display:flex;gap:8px;flex-wrap:wrap}.profile-badges span,.profile-status{display:inline-flex;border:1px solid rgba(209,162,70,.45);border-radius:999px;padding:5px 9px;color:var(--profile-gold);font-size:.78rem;font-weight:700}.profile-id-card{justify-self:end;min-width:260px;padding:22px;border:1px solid rgba(209,162,70,.35);border-radius:22px;background:rgba(255,255,255,.08);display:grid;gap:7px}.profile-id-card img{width:68px;height:68px;border-radius:50%;object-fit:cover}.profile-id-card strong{font-size:1.5rem;color:var(--profile-gold)}
.profile-panel{border:1px solid var(--profile-line);border-radius:24px;background:rgba(255,255,255,.94)}.profile-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding-top:0}.profile-grid.places{grid-template-columns:repeat(3,minmax(0,1fr));padding:0;margin:24px 0;max-width:none}.profile-card{display:block;border:1px solid var(--profile-line);border-radius:18px;padding:22px;background:#fff;color:var(--profile-ink);text-decoration:none}.profile-card h3{margin:0 0 8px;color:var(--profile-green)}.profile-card span{color:#9a7330;font-weight:700}.profile-place-top,.profile-section-head,.profile-identity-row,.profile-actions{display:flex;align-items:center;gap:14px;justify-content:space-between}.profile-actions{justify-content:flex-start;flex-wrap:wrap}.profile-actions form{margin:0}.profile-avatar{width:82px;height:82px;border-radius:50%;object-fit:cover}.profile-avatar-actions{display:flex;gap:18px;align-items:end;flex-wrap:wrap;margin:22px 0}.profile-avatar-actions form{margin:0}.profile-avatar-actions label{display:grid;gap:6px}.profile-checklist{display:flex;flex-wrap:wrap;gap:8px}.profile-checklist span{padding:7px 10px;border-radius:999px;background:#f1f3ef}.profile-checklist .done{color:#285c45}.profile-checklist .todo{color:#8c5b2a}.profile-notice{max-width:1180px;margin:16px auto;padding:13px 18px;border-radius:12px}.profile-notice.error{background:#fff0ee;color:#872f29;border:1px solid #efc2bd}.profile-notice.success{background:#eef7f0;color:#285c45;border:1px solid #bdd8c4}.profile-empty{grid-column:1/-1;padding:26px;border:1px dashed var(--profile-line);border-radius:16px}.profile-panel hr{border:0;border-top:1px solid var(--profile-line);margin:34px 0}
@media(max-width:900px){.profile-hero{grid-template-columns:1fr}.profile-id-card{justify-self:stretch}.profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-grid.places{grid-template-columns:1fr}}
@media(max-width:620px){.profile-auth{margin:28px 14px}.profile-panel,.profile-hero,.profile-grid{margin-left:14px;margin-right:14px}.profile-form-wide,.profile-grid{grid-template-columns:1fr}.span-2{grid-column:auto}.profile-member-nav{padding:0 14px}.profile-identity-row{align-items:flex-start}.profile-section-head{display:block}}

/* PROFILE 2.1 — My MICROBA command centre */
.profile-command{max-width:1180px;margin:20px auto 70px;padding:0 20px}.profile-member-id{position:relative;overflow:hidden;display:grid;grid-template-columns:120px minmax(0,1fr) 180px;gap:28px;align-items:center;min-height:250px;padding:34px 38px;border:1px solid rgba(209,162,70,.34);border-radius:30px;background:linear-gradient(135deg,#061d17,#0b352d 70%,#102d27);color:#f5efe4;box-shadow:0 30px 70px rgba(3,22,17,.16)}.profile-member-id__watermark{position:absolute;right:120px;top:-95px;font-family:Georgia,serif;font-size:390px;line-height:1;color:rgba(209,162,70,.035);transform:rotate(9deg);pointer-events:none}.profile-member-id__photo{position:relative;z-index:1}.profile-member-id__photo img{display:block;width:112px;height:142px;object-fit:cover;border:1px solid rgba(209,162,70,.55);border-radius:20px}.profile-member-id__identity{position:relative;z-index:1}.profile-member-id__identity h1{margin:.25rem 0 .6rem;color:#fff;font-size:clamp(2rem,4vw,3.6rem);line-height:1}.profile-member-id__meta{display:flex;gap:16px;flex-wrap:wrap;align-items:center;color:rgba(245,239,228,.76)}.profile-member-id__meta strong{color:#e4bd67;letter-spacing:.08em}.profile-member-id__meta b{color:#d9b55d;font-weight:600}.profile-member-id__ref{margin-top:24px;display:grid;gap:5px}.profile-member-id__ref small,.profile-member-id__status small{color:rgba(245,239,228,.54);text-transform:uppercase;letter-spacing:.14em;font-size:.66rem}.profile-member-id__ref div{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.profile-member-id__ref a{color:#f5efe4;text-decoration:none}.profile-copy{border:0;background:transparent;color:#e4bd67;padding:0;cursor:pointer;font:inherit}.profile-member-id__status{position:relative;z-index:1;display:grid;gap:7px;align-self:stretch;align-content:center;padding-left:24px;border-left:1px solid rgba(209,162,70,.2)}.profile-member-id__status strong{margin-bottom:18px;font-family:Georgia,serif;font-size:1.35rem;font-weight:400}.profile-status-dot{display:inline-flex;width:max-content;align-items:center;gap:8px;color:#e4bd67;font-size:.82rem;font-weight:700;letter-spacing:.08em}.profile-status-dot:before{content:'';width:7px;height:7px;border-radius:50%;background:#d1a246;box-shadow:0 0 14px rgba(209,162,70,.5)}
.profile-readiness{margin:20px 0;padding:24px 28px;border:1px solid var(--profile-line);border-radius:22px;background:rgba(255,255,255,.92)}.profile-readiness__head{display:flex;align-items:end;justify-content:space-between;gap:20px}.profile-readiness__head h2{margin:.25rem 0 0;color:var(--profile-green);font-size:1.35rem}.profile-readiness__head>strong{font-family:Georgia,serif;color:var(--profile-green);font-size:2rem}.profile-progress{height:5px;margin:18px 0;background:rgba(8,39,33,.08);border-radius:99px;overflow:hidden}.profile-progress span{display:block;height:100%;background:linear-gradient(90deg,#9d7530,#d1a246);border-radius:inherit}.profile-text-link{display:inline-block;margin-top:14px;color:#8f682a;text-decoration:none;font-weight:650}
.profile-indicators{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.profile-indicator{position:relative;display:grid;grid-template-columns:48px 1fr;grid-template-rows:auto auto auto;column-gap:15px;min-height:142px;padding:22px;border:1px solid rgba(8,39,33,.11);border-radius:20px;background:#fff;color:var(--profile-ink);text-decoration:none;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.profile-indicator:hover,.profile-indicator:focus-visible{transform:translateY(-2px);border-color:rgba(209,162,70,.55);box-shadow:0 16px 35px rgba(8,39,33,.08);outline:none}.profile-indicator__icon{grid-row:1/4;display:grid;place-items:center;width:46px;height:46px;border:1px solid rgba(209,162,70,.55);border-radius:50%;color:#a6792d;font-family:Georgia,serif;font-size:1.15rem}.profile-indicator__icon.sa{font-family:inherit;font-size:.78rem;font-weight:800}.profile-indicator__label{align-self:center;color:#64706c;font-size:.72rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase}.profile-indicator strong{align-self:end;color:var(--profile-green);font-family:Georgia,serif;font-size:1.8rem;font-weight:400;line-height:1.05}.profile-indicator small{color:#78817e;margin-top:5px}.profile-dashboard-lower{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:20px}.profile-dashboard-link{display:grid;grid-template-columns:44px 1fr auto;gap:14px;align-items:center;padding:20px 22px;border-top:1px solid rgba(8,39,33,.12);color:var(--profile-ink);text-decoration:none}.profile-dashboard-link div{display:grid;gap:3px}.profile-dashboard-link small{color:#78817e}.profile-dashboard-link b{color:#9a7330;font-size:.78rem}.profile-ui-icon{display:grid;place-items:center;width:40px;height:40px;border:1px solid var(--profile-line);border-radius:50%;color:#9a7330}
@media(max-width:900px){.profile-member-id{grid-template-columns:96px 1fr}.profile-member-id__photo img{width:90px;height:116px}.profile-member-id__status{grid-column:1/-1;grid-template-columns:auto auto auto auto;align-items:center;border-left:0;border-top:1px solid rgba(209,162,70,.2);padding:18px 0 0}.profile-member-id__status strong{margin:0}.profile-indicators{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.profile-command{padding:0 14px}.profile-member-id{grid-template-columns:74px 1fr;gap:18px;padding:24px 20px;border-radius:22px}.profile-member-id__photo img{width:72px;height:92px;border-radius:15px}.profile-member-id__identity h1{font-size:1.8rem}.profile-member-id__meta{display:grid;gap:4px}.profile-member-id__ref{grid-column:1/-1;margin-top:18px}.profile-member-id__status{grid-template-columns:1fr 1fr;gap:5px 16px}.profile-member-id__status small:nth-of-type(2){grid-column:2}.profile-member-id__status strong{grid-row:2}.profile-status-dot{grid-column:2;grid-row:2}.profile-readiness{padding:20px}.profile-indicators{grid-template-columns:1fr}.profile-dashboard-lower{grid-template-columns:1fr}.profile-dashboard-link{padding-left:4px;padding-right:4px}}

/* PROFILE 2.2 — My MICROBA icon navigation, aligned with the public header language. */
.profile-member-nav{position:relative;z-index:80;max-width:none;margin:0;padding:0 28px;background:#03130e;border:0;box-shadow:none}
.profile-member-nav__inner{display:flex;justify-content:center;align-items:stretch;gap:clamp(28px,5vw,72px);max-width:1180px;height:94px;margin:0 auto;padding:0;overflow:visible;border:0;border-radius:0;background:transparent;backdrop-filter:none}
.profile-nav-group{position:relative;display:flex;align-items:stretch}
.profile-nav-main{display:flex!important;flex-direction:column;justify-content:center;align-items:center;gap:7px;min-width:92px;padding:10px 4px!important;border:0!important;border-radius:0!important;background:transparent!important;color:#f4efe5!important;text-decoration:none!important;font-size:.75rem;font-weight:600;letter-spacing:.09em;line-height:1;text-transform:uppercase;transition:color .18s ease}
.profile-nav-icon{display:grid;place-items:center;width:34px;height:34px;border:1px solid rgba(209,162,70,.78);border-radius:50%;color:#d1a246;transition:border-color .18s ease,color .18s ease,transform .18s ease}
.profile-nav-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.45;stroke-linecap:round;stroke-linejoin:round}
.profile-nav-group:hover .profile-nav-main,.profile-nav-group:focus-within .profile-nav-main,.profile-nav-group.active .profile-nav-main{color:#e3bd68!important}
.profile-nav-group:hover .profile-nav-icon,.profile-nav-group:focus-within .profile-nav-icon{border-color:#efc66b;color:#efc66b;transform:translateY(-1px)}
.profile-nav-sub{position:absolute;top:100%;left:4px;display:grid;gap:0;min-width:190px;padding:10px 0 14px;opacity:0;visibility:hidden;transform:translateY(7px);pointer-events:none;background:transparent;border:0;border-radius:0;box-shadow:none;transition:opacity .16s ease,transform .16s ease,visibility .16s ease}
.profile-nav-group:hover .profile-nav-sub,.profile-nav-group:focus-within .profile-nav-sub{opacity:1;visibility:visible;transform:translateY(0);pointer-events:auto}
.profile-nav-sub a{display:block!important;width:max-content;min-width:100%;padding:7px 0!important;border:0!important;border-radius:0!important;background:transparent!important;color:rgba(245,239,228,.88)!important;text-align:left;text-decoration:none!important;font-size:.84rem;font-weight:400;letter-spacing:.01em;text-transform:none;white-space:nowrap;transition:color .15s ease,transform .15s ease}
.profile-nav-sub a:hover,.profile-nav-sub a:focus-visible{color:#efc66b!important;transform:translateX(3px);outline:none}
@media(max-width:760px){
 .profile-member-nav{padding:0 12px;overflow:visible}
 .profile-member-nav__inner{justify-content:space-around;gap:4px;height:78px;overflow:visible}
 .profile-nav-main{min-width:66px;padding:8px 2px!important;font-size:.64rem;letter-spacing:.06em}
 .profile-nav-icon{width:30px;height:30px}.profile-nav-icon svg{width:17px;height:17px}
 .profile-nav-sub{left:0;top:100%;min-width:155px;padding-top:8px}
 .profile-nav-group:nth-last-child(-n+2) .profile-nav-sub{left:auto;right:0}
 .profile-nav-sub a{font-size:.79rem;padding:7px 0!important}
}
