.profile-layout {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.brand-logo {
    display: block;
    width: auto;
    max-width: 280px;
    height: 68px;
    object-fit: contain;
}

.footer-logo-link {
    display: inline-block;
    line-height: 0;
}

.footer-logo {
    display: block;
    width: auto;
    max-width: 260px;
    height: 64px;
    object-fit: contain;
}

.profile-preview {
    position: sticky;
    top: 98px;
    text-align: center;
}

.profile-photo,
.teacher-photo {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border: 6px solid #fff;
    border-radius: 50%;
    box-shadow: 0 12px 34px rgba(35, 45, 75, .16);
}

.profile-preview h2 { margin: 18px 0 4px; }
.profile-preview > p { margin: 0 0 26px; color: var(--muted); }
.profile-preview .form-group { text-align: left; }
.file-input { min-height: auto; padding: 9px; }
.text-area { resize: vertical; min-height: 130px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.offering-shell { width: min(850px, calc(100% - 36px)); }

.choice-box {
    margin: 4px 0 20px;
    padding: 18px 20px 10px;
    border: 1px solid var(--line);
    border-radius: 14px;
}
.choice-box legend { padding: 0 7px; font-weight: 800; }
.button-row { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }

.offering-list { display: grid; gap: 15px; }
.offering-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 23px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.offering-card h2 { margin: 8px 0 6px; font-size: 1.25rem; }
.offering-card p { margin: 0; color: var(--muted); }
.offering-meta, .session-facts { display: flex; flex-wrap: wrap; gap: 8px 14px; color: var(--muted); font-size: .86rem; }
.status-chip { padding: 4px 9px; color: #344054; background: #f2f4f7; border-radius: 999px; font-weight: 800; text-transform: capitalize; }
.status-published { color: #067647; background: #ecfdf3; }
.status-draft { color: #93370d; background: #fffaeb; }
.status-paused { color: #344054; background: #eaecf0; }
.offering-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 9px; }
.empty-state { padding: 50px 30px; text-align: center; }
.empty-state h2 { margin-top: 0; }

.left-heading { margin-left: 0; text-align: left; }
.left-heading h1 { margin: 0 0 10px; font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -.04em; }
.skill-search-panel { position: relative; z-index: 4; margin-bottom: 24px; padding: 20px; }
.skill-search-wrap { position: relative; }
.skill-search-row { display: flex; align-items: center; gap: 10px; }
.skill-search-input { padding-right: 86px; }
.skill-search-clear {
    position: absolute;
    top: 6px;
    right: 10px;
    min-height: 36px;
    padding: 0 12px;
    color: var(--primary-dark);
    background: #efedff;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    font: inherit;
    font-size: .82rem;
    font-weight: 800;
}
.skill-suggestions {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    left: 0;
    max-height: 360px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 18px 45px rgba(35, 45, 75, .16);
}
.skill-suggestion {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 13px 15px;
    color: var(--ink);
    text-align: left;
    background: #fff;
    border: 0;
    border-bottom: 1px solid #edf1f5;
    cursor: pointer;
    font: inherit;
}
.skill-suggestion:first-child { border-radius: 12px 12px 0 0; }
.skill-suggestion:last-child { border-bottom: 0; border-radius: 0 0 12px 12px; }
.skill-suggestion:hover,
.skill-suggestion-active { background: #f4f2ff; }
.skill-suggestion strong { font-size: .96rem; }
.skill-suggestion span { color: var(--muted); font-size: .82rem; }
.skill-no-results { margin-bottom: 22px; }
.skill-category[hidden],
.skill-pill[hidden],
.skill-suggestions[hidden],
.skill-no-results[hidden],
.skill-search-clear[hidden] { display: none !important; }
.skill-category { margin-bottom: 22px; }
.category-heading { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.category-heading h2 { margin: 0 0 5px; }
.category-heading p { margin: 0; color: var(--muted); }
.wide-icon { width: 58px; flex: 0 0 58px; font-size: .76rem; }
.skill-pill-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.skill-pill { padding: 17px; background: var(--soft); border: 1px solid #e7edf3; border-radius: 14px; }
.skill-pill strong, .skill-pill span, .skill-pill small { display: block; }
.skill-pill span { margin: 6px 0 10px; color: var(--muted); font-size: .88rem; }
.skill-pill small { color: var(--primary); font-weight: 750; }

.teacher-hero { display: grid; grid-template-columns: 210px 1fr; gap: 34px; align-items: center; }
.teacher-photo { width: 200px; height: 200px; }
.teacher-hero h1 { margin: 0 0 5px; font-size: 2.5rem; letter-spacing: -.04em; }
.teacher-hero h2 { margin: 0 0 8px; font-size: 1.15rem; color: var(--primary-dark); }
.teacher-location { color: var(--muted); }
.teacher-offer-heading { margin-top: 46px; }

.profile-readiness {
    margin: 0 0 22px;
    padding: 12px 14px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: .94rem;
    font-weight: 650;
    line-height: 1.45;
}

.profile-readiness-warning {
    color: #7a4b00;
    background: #fff7df;
    border-color: #eed28b;
}

.profile-readiness-ready {
    color: #17633c;
    background: #eaf8f0;
    border-color: #a8d9bd;
}
.public-offering-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.public-offering h3 { margin: 14px 0 8px; font-size: 1.3rem; }
.public-offering > p { color: #475569; }
.session-facts span { padding: 5px 9px; background: var(--soft); border-radius: 8px; }

.dashboard-stat { display: block; margin-top: 18px; color: var(--primary); font-size: .88rem; font-weight: 800; }

@media (max-width: 900px) {
    .profile-layout { grid-template-columns: 1fr; }
    .profile-preview { position: static; }
    .skill-pill-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .main-nav .nav-user { display: none; }
}

@media (max-width: 680px) {
    .brand-logo { max-width: 200px; height: 52px; }
    .footer-logo { max-width: 190px; height: 52px; }
    .form-grid, .form-grid-three, .skill-pill-grid, .public-offering-grid, .teacher-hero { grid-template-columns: 1fr; }
    .offering-card { align-items: flex-start; flex-direction: column; }
    .offering-actions, .offering-actions .button { width: 100%; }
    .teacher-photo { width: 150px; height: 150px; }
    .main-nav a[href$="MyOfferings.aspx"] { display: none; }
}
