.diver-profile-heading{margin-bottom:20px}
.diver-profile-own-wrap{display:block;width:calc(50% - 10px);margin-bottom:28px}
.diver-profile-own-card{width:100%;max-width:none;margin:0;overflow:hidden;background:#fff;border-color:var(--border);border-top:0;box-shadow:none!important}
.diver-profile-own-name{display:flex;align-items:center;height:44px;margin:-24px -24px 20px;padding:0 24px;background:var(--blue);color:#fff;font-size:1rem;font-weight:800}
.diver-profile-own-content{display:flex;align-items:center;gap:18px}.diver-profile-own-content h2{margin:0 0 6px}.diver-profile-own-content p{margin:3px 0}
.diver-profile-own-image-only{min-height:110px}
.diver-profile-own-image{display:block;width:110px;height:110px;object-fit:cover;border-radius:10px;background:#fff}
.diver-profile-own-card .dashboard-diver-profile-image{width:50%;height:auto;aspect-ratio:1;object-fit:cover}
.diver-profile-own-action{display:inline-block;margin-top:10px;color:var(--blue);font-weight:800}
.diver-profile-list-heading{margin:26px 0 14px}
.diver-profile-card{width:100%;max-width:none;background:#fff9df;border-color:#eadb94;border-top:1px solid #eadb94;box-shadow:none;overflow:hidden}
.diver-profile-card h2{margin-top:0}
.diver-profile-status-bar{display:flex;align-items:center;height:44px;margin:-24px -24px 20px;padding:0 24px;color:#fff;font-size:1rem;font-weight:800}
.diver-profile-status-bar.active{background:#198754}.diver-profile-status-bar.inactive{background:#c62828}
.diver-profile-active{display:inline-flex;align-items:center;margin:0 0 20px;padding:10px 13px;border-radius:7px;background:rgba(217,136,62,.14);font-weight:800}
.diver-profile-active input{margin-top:0;accent-color:#198754}
.diver-profile-image-field{display:grid;grid-template-columns:auto minmax(0,1fr);gap:18px;align-items:start;margin-bottom:16px}
.diver-profile-image-field label{margin:0}.diver-profile-image-field .meta{display:block;margin-top:5px;font-weight:400}
.diver-profile-image-preview{display:block;width:150px;height:150px;object-fit:cover;border:1px solid var(--border);border-radius:10px;background:#fff}
.diver-profile-year{max-width:280px}
.diver-profile-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:4px}
.diver-profile-child-instructor{display:flex;align-items:center;align-self:end;width:max-content;max-width:100%;min-height:43px;margin-bottom:16px;padding:7px 10px;border-radius:7px;font-weight:400;transition:background-color .15s ease,color .15s ease}
.diver-profile-child-instructor:has(input:checked){background:#198754;color:#fff}
.diver-profile-child-instructor input{margin-top:0;accent-color:#198754}
.diver-profile-dive-count{grid-column:1}
.diver-profile-favorite-destination{grid-column:1}
.diver-profile-dry-suit{grid-column:1}
.diver-profile-contact-options{display:grid;grid-column:1;gap:10px;margin:2px 0 16px}
.diver-profile-contact-options .check{display:flex;align-items:center;width:max-content;max-width:100%;margin:0;padding:7px 10px;border-radius:7px;font-weight:400;transition:background-color .15s ease,color .15s ease}
.diver-profile-contact-options .check:has(input:checked){background:#198754;color:#fff}
.diver-profile-contact-options input{margin-top:0;accent-color:#198754}
.diver-profile-overview-card{width:100%;max-width:none;border-top:44px solid var(--blue);box-shadow:none}
.diver-profile-overview-table th:last-child{width:1%;white-space:nowrap}
.diver-profile-table-image{display:block;width:58px;height:58px;object-fit:cover;border-radius:8px}
.diver-profile-table-training{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
.diver-profile-table-stars{display:inline-flex;align-items:center;gap:2px}
.diver-profile-table-stars img{display:block;width:20px;height:20px;object-fit:contain}
.diver-profile-list-actions{flex-wrap:nowrap;white-space:nowrap}
.diver-profile-action-deactivate{background:#f2b705!important;border-color:#f2b705!important;color:#fff!important;text-shadow:0 1px 1px rgba(0,0,0,.28)}
.diver-profile-action-deactivate:hover,.diver-profile-action-deactivate:focus{background:#d69f00!important;border-color:#d69f00!important;color:#fff!important}
.diver-profile-deactivate-card{width:100%;max-width:none;background:#fff1f0;border-color:#efc7c3;border-top:44px solid #b3261e;box-shadow:none}
.diver-profile-deactivate-warning{margin-top:0;color:#8b1c1c}
.diver-profile-deactivate-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0}
.diver-profile-deactivate-details>div{padding:12px 14px;border:1px solid #efc7c3;border-radius:8px;background:rgba(255,255,255,.55)}
.diver-profile-deactivate-details strong,.diver-profile-deactivate-details span{display:block}.diver-profile-deactivate-details strong{margin-bottom:3px}
.diver-profile-deactivate-image{grid-column:1/-1;display:block;width:150px;height:150px;object-fit:cover;border-radius:10px;background:#fff}
.diver-profile-deactivate-actions{margin-top:22px}.diver-profile-deactivate-actions form{margin:0}
.diver-profile-view-card{width:100%;max-width:none;background:#edf8f0;border-color:#c8e7d0;border-top:44px solid #198754;box-shadow:none}
.diver-profile-show-card{width:100%;max-width:none;background:#fff;border-color:var(--border);box-shadow:none}
.diver-profile-show-card .dashboard-diver-profile-title{background:#198754}
.diver-profile-view-head{display:flex;gap:18px;align-items:center;margin-bottom:20px}.diver-profile-view-card h2{margin:0}.diver-profile-view-head .meta{margin:2px 0 0}
.diver-profile-view-image{display:block;width:150px;height:150px;object-fit:cover;border-radius:10px;background:#fff}
.diver-profile-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0}
.diver-profile-details div{padding:12px 14px;border-radius:7px;background:rgba(255,255,255,.7)}
.diver-profile-details dt{color:#687086;font-size:.85rem;font-weight:700}.diver-profile-details dd{margin:2px 0 0;font-weight:700}
.dashboard-diver-profile-list{display:grid;gap:8px;margin:0 0 18px}
.dashboard-diver-profile-title{height:64px;line-height:1.2}
.dashboard-diver-profile-user{display:block;margin-top:3px;font-size:.86rem;font-weight:400}
.dashboard-diver-profile-list div{padding:10px 12px;border-radius:7px;background:#f6f7fa}
.dashboard-diver-profile-list dt{color:#687086;font-size:.85rem;font-weight:700}
.dashboard-diver-profile-list dd{margin:2px 0 0;font-weight:700}
.dashboard-diver-profile-list .dashboard-diver-profile-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0;background:transparent}
.dashboard-diver-profile-list .dashboard-diver-profile-qualifications{display:flex;flex-direction:column;align-items:stretch;gap:8px;padding:0;background:transparent}
.dashboard-diver-profile-qualifications h3,.dashboard-diver-profile-section h3{margin:0;color:#687086;font-size:.85rem;font-weight:700;line-height:1.5}
.dashboard-diver-profile-list .dashboard-diver-profile-qualification-secondary{display:flex;gap:8px;margin-top:0;padding:0;background:transparent}
.dashboard-diver-profile-training,.dashboard-diver-profile-instructor,.dashboard-diver-profile-child-instructor{display:flex;align-items:center;min-height:44px;padding:10px 12px;border-radius:7px;font-weight:800}
.dashboard-diver-profile-image-row{display:flex;align-items:flex-start;gap:10px;margin:0 0 16px}
.dashboard-diver-profile-stars{display:inline-flex;align-items:center;gap:3px}
.dashboard-diver-profile-stars img{display:block;width:40px;height:40px;object-fit:contain}
.dashboard-diver-profile-top-stars{padding-top:0}
.dashboard-diver-profile-training{flex:1;color:#fff}
.dashboard-diver-profile-instructor{flex:1;background:#4b5563;color:#fff}
.dashboard-diver-profile-child-instructor{flex:0 0 auto;background:#c62828;color:#fff}
.dashboard-diver-profile-training.blue{background:var(--blue)}
.dashboard-diver-profile-training.owd{background:#e88b8b;color:#fff}
.dashboard-diver-profile-training.aowd{background:#d97a7a;color:#fff}
.dashboard-diver-profile-training.dtsa-bronze{background:#a86632}
.dashboard-diver-profile-training.dtsa-silver{background:#a7adb8;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.38)}
.dashboard-diver-profile-training.dtsa-gold{background:#d6aa16;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.38)}
.dashboard-diver-profile-training.neutral{background:#f6f7fa;color:var(--text)}
.dashboard-diver-profile-list .dashboard-diver-profile-mixed-gas{display:flex;align-items:center;min-height:44px;padding:10px 12px;color:#fff;font-weight:800}
.dashboard-diver-profile-mixed-gas.nitrox{background:#198754}
.dashboard-diver-profile-mixed-gas.trimix{background:#171717}
.dashboard-diver-profile-list .dashboard-diver-profile-section{display:grid;gap:8px;padding:0;background:transparent}
.dashboard-diver-profile-list .dashboard-diver-profile-value{display:grid;gap:2px;padding:10px 12px;background:#f6f7fa}
.dashboard-diver-profile-favorite-destination span,.dashboard-diver-profile-dry-suit span{display:block;overflow-wrap:anywhere;font-weight:700}
.dashboard-diver-profile-contact{margin-top:0}
.dashboard-diver-profile-contact span{display:block;overflow-wrap:anywhere}
.dashboard-diver-profile-image{display:block;width:140px;height:140px;margin:0;object-fit:cover;border-radius:10px}
@media(max-width:700px){.diver-profile-fields,.diver-profile-details{grid-template-columns:1fr;gap:0}.diver-profile-dive-count{grid-column:auto}.diver-profile-details{gap:12px}.diver-profile-heading{align-items:flex-start}.diver-profile-status-bar,.diver-profile-own-name{margin:-18px -18px 18px;padding:0 18px}.diver-profile-image-field{grid-template-columns:1fr}.diver-profile-image-preview,.diver-profile-view-image{width:120px;height:120px}.diver-profile-own-wrap{width:100%}.diver-profile-own-content{align-items:flex-start}.diver-profile-own-image{width:90px;height:90px}.dashboard-diver-profile-list .dashboard-diver-profile-qualification-secondary{flex-wrap:wrap}.dashboard-diver-profile-training,.dashboard-diver-profile-instructor{min-width:150px}.diver-profile-deactivate-details{grid-template-columns:1fr}.diver-profile-deactivate-image{grid-column:auto}.diver-profile-overview-table th,.diver-profile-overview-table td{white-space:nowrap}}
