.w2s-dashboard {
    --w2s-ink: #12263a;
    --w2s-muted: #667085;
    --w2s-line: #d0d7de;
    --w2s-blue: #1d5f8f;
    --w2s-soft: #f6f8fa;
    color: var(--w2s-ink);
}

.w2s-dashboard-header {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 14px;
}

.w2s-frontend-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 16px;
    padding: 8px;
    border: 1px solid var(--w2s-line);
    border-radius: 8px;
    background: #fff;
}

.w2s-frontend-nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 12px;
    border-radius: 7px;
    color: var(--w2s-ink);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.w2s-frontend-nav-link:hover,
.w2s-frontend-nav-link:focus {
    background: #eef6fb;
    color: var(--w2s-blue);
    outline: none;
}

.w2s-frontend-nav-link.is-active {
    background: var(--w2s-blue);
    color: #fff;
}

.w2s-page-hero {
    margin: 0 0 18px;
    padding: 18px 0 4px;
}

.w2s-page-hero span {
    color: var(--w2s-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.w2s-page-hero h1 {
    margin: 4px 0 6px;
    color: var(--w2s-ink);
    font-size: 30px;
    line-height: 1.18;
}

.w2s-page-hero p {
    max-width: 760px;
    margin: 0;
    color: var(--w2s-muted);
}

.w2s-dashboard-header p,
.w2s-dashboard-hint,
.w2s-muted {
    color: var(--w2s-muted);
}

.w2s-dashboard-header p {
    margin: 0;
}

.w2s-dashboard-header h1 {
    margin: 0 0 4px;
    color: var(--w2s-ink);
    font-size: 30px;
    line-height: 1.18;
}

.w2s-dashboard-badge-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 0 0 14px;
}

.w2s-dashboard-badge-strip span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    max-width: 220px;
    padding: 7px 10px;
    overflow: hidden;
    border: 1px solid var(--w2s-line);
    border-radius: 999px;
    background: #fff;
    font-weight: 800;
}

.w2s-dashboard-badge-strip small {
    overflow: hidden;
    color: var(--w2s-muted);
    font-size: 12px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.w2s-roadmap-switcher-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    margin: 0 0 12px;
}

.w2s-roadmap-switcher-card {
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--w2s-line);
    border-radius: 8px;
    background: #fff;
    color: var(--w2s-ink);
    text-decoration: none;
}

.w2s-roadmap-switcher-card:hover,
.w2s-roadmap-switcher-card:focus,
.w2s-roadmap-switcher-card.is-active {
    border-color: var(--w2s-blue);
    background: #eef6fb;
    color: var(--w2s-ink);
    outline: none;
}

.w2s-roadmap-switcher-card span {
    color: var(--w2s-blue);
    font-size: 12px;
    font-weight: 800;
}

.w2s-roadmap-switcher-card strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.w2s-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.w2s-journey-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 0 0 18px;
    padding: 22px;
    border: 1px solid #b6c6d7;
    border-radius: 8px;
    background: linear-gradient(135deg, #ffffff 0%, #eef6fb 54%, #f7fbf2 100%);
    box-shadow: 0 10px 28px rgba(18, 38, 58, 0.08);
}

.w2s-journey-roadmap-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.w2s-journey-roadmap-card {
    display: grid;
    gap: 8px;
    min-height: 138px;
    padding: 14px;
    border: 1px solid rgba(18, 38, 58, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--w2s-ink);
    text-decoration: none;
}

.w2s-journey-roadmap-card:hover,
.w2s-journey-roadmap-card:focus {
    border-color: var(--w2s-blue);
    color: var(--w2s-ink);
    outline: none;
}

.w2s-journey-roadmap-card > span {
    color: var(--w2s-blue);
    font-size: 12px;
    font-weight: 800;
}

.w2s-journey-roadmap-card > strong {
    display: -webkit-box;
    overflow: hidden;
    font-size: 16px;
    line-height: 1.28;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.w2s-journey-roadmap-card > small {
    color: var(--w2s-muted);
    font-weight: 700;
}

.w2s-journey-hero h1 {
    max-width: 860px;
    margin: 6px 0 8px;
    color: var(--w2s-ink);
    font-size: 30px;
    line-height: 1.18;
}

.w2s-journey-hero p {
    max-width: 760px;
    margin: 0;
    color: var(--w2s-muted);
    font-size: 15px;
}

.w2s-journey-eyebrow {
    color: var(--w2s-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.w2s-journey-progress-row {
    display: grid;
    grid-template-columns: auto minmax(120px, 1fr) auto;
    gap: 12px;
    align-items: center;
    margin-top: 18px;
}

.w2s-journey-roadmap-card .w2s-journey-progress-row {
    grid-template-columns: auto minmax(0, 1fr);
    margin-top: 0;
}

.w2s-journey-progress-row > strong {
    font-size: 28px;
    line-height: 1;
}

.w2s-journey-progress-row > span {
    color: var(--w2s-muted);
    font-size: 13px;
    font-weight: 700;
}

.w2s-journey-stage-strip {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.w2s-journey-stage {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--w2s-line);
    border-radius: 999px;
    background: #fff;
    color: var(--w2s-muted);
    font-weight: 800;
}

.w2s-journey-stage.is-done {
    border-color: #2f855a;
    background: #eaf7ef;
    color: #276749;
}

.w2s-journey-stage.is-current {
    border-color: var(--w2s-blue);
    background: var(--w2s-blue);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(29, 95, 143, 0.14);
}

.w2s-journey-hero-side {
    display: grid;
    gap: 12px;
}

.w2s-journey-hero-side-row {
    grid-template-columns: 1fr;
    align-items: stretch;
}

.w2s-journey-status-card,
.w2s-journey-metrics,
.w2s-journey-badges {
    border: 1px solid rgba(18, 38, 58, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
}

.w2s-journey-status-card {
    padding: 14px;
}

.w2s-journey-status-card span,
.w2s-journey-metrics small {
    display: block;
    color: var(--w2s-muted);
    font-size: 12px;
    font-weight: 700;
}

.w2s-journey-status-card strong {
    display: block;
    margin-top: 4px;
    font-size: 18px;
}

.w2s-journey-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
}

.w2s-journey-metrics span {
    padding: 12px;
    border-left: 1px solid rgba(18, 38, 58, 0.1);
}

.w2s-journey-metrics span:first-child {
    border-left: 0;
}

.w2s-journey-metrics strong {
    display: block;
    color: var(--w2s-ink);
    font-size: 24px;
    line-height: 1;
}

.w2s-journey-badges {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 10px 12px;
}

.w2s-journey-badges span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(18, 38, 58, 0.1);
    font-size: 18px;
}

.w2s-dashboard-module {
    min-height: 160px;
    padding: 18px;
    border: 1px solid var(--w2s-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.w2s-dashboard-module header h2 {
    margin: 0 0 12px;
    font-size: 18px;
}

.w2s-dashboard-module-roadmap_work {
    grid-column: 1 / -1;
}

.w2s-dashboard-module-calendar {
    grid-column: span 2;
}

.w2s-dashboard-module-page {
    grid-column: 1 / -1;
}

.w2s-dashboard-big {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 700;
}

.w2s-dashboard-settings {
    min-width: 260px;
    padding: 12px;
    border: 1px solid var(--w2s-line);
    border-radius: 8px;
    background: var(--w2s-soft);
}

.w2s-layout-list {
    display: grid;
    gap: 8px;
    margin: 10px 0;
}

.w2s-layout-row {
    display: grid;
    grid-template-columns: 52px 24px 1fr;
    gap: 8px;
    align-items: center;
}

.w2s-layout-row input[type="number"] {
    width: 52px;
}

.w2s-dashboard-list {
    margin: 0;
    padding-left: 18px;
}

.w2s-dashboard-list li {
    margin-bottom: 10px;
}

.w2s-task-summary-card {
    display: grid;
    gap: 4px;
}

.w2s-task-summary-card strong {
    color: var(--w2s-ink);
    font-size: 32px;
    line-height: 1;
}

.w2s-task-summary-card span {
    font-weight: 800;
}

.w2s-task-summary-card small {
    color: var(--w2s-muted);
}

.w2s-button-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 36px;
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: 7px;
    background: var(--w2s-blue);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

.w2s-button-link:hover,
.w2s-button-link:focus {
    color: #fff;
    filter: brightness(0.95);
    outline: none;
}

.w2s-member-task-list {
    display: grid;
    gap: 8px;
    padding-left: 0;
    list-style: none;
}

.w2s-member-task-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 0;
    padding: 10px 12px;
    border: 1px solid var(--w2s-line);
    border-radius: 8px;
    background: #fff;
}

.w2s-member-task-list small {
    display: block;
    margin-top: 3px;
    color: var(--w2s-muted);
}

.w2s-task-completed-group {
    margin-top: 14px;
}

.w2s-task-completed-group summary {
    cursor: pointer;
    color: var(--w2s-blue);
    font-weight: 800;
}

.w2s-content-list-item {
    list-style: none;
    margin-left: -18px;
}

.w2s-content-button {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--w2s-line);
    border-radius: 8px;
    background: #fff;
    color: var(--w2s-ink);
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    text-align: left;
}

.w2s-step-content-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.w2s-step-content-links .w2s-content-button {
    width: auto;
    min-height: 38px;
    padding: 8px 12px;
    border-color: #b6c6d7;
    color: var(--w2s-blue);
}

.w2s-content-button:hover,
.w2s-content-button:focus {
    border-color: var(--w2s-blue);
    color: var(--w2s-blue);
    outline: none;
}

.w2s-content-modal-body {
    max-height: calc(100vh - 170px);
    overflow: auto;
}

.w2s-content-modal-body > :first-child {
    margin-top: 0;
}

.w2s-content-modal-body > :last-child {
    margin-bottom: 0;
}

.w2s-calendar-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.w2s-calendar-item {
    display: grid;
    grid-template-columns: minmax(140px, auto) 1fr;
    gap: 12px;
    align-items: start;
    padding: 10px 12px;
    border: 1px solid var(--w2s-line);
    border-left: 4px solid var(--w2s-blue);
    border-radius: 8px;
    background: #fff;
}

.w2s-calendar-item-timer {
    border-left-color: #7c3aed;
}

.w2s-calendar-item time {
    color: var(--w2s-muted);
    font-weight: 700;
}

.w2s-calendar-item strong,
.w2s-calendar-item small,
.w2s-calendar-item em {
    display: block;
}

.w2s-calendar-item small,
.w2s-calendar-item em {
    margin-top: 2px;
    color: var(--w2s-muted);
    font-style: normal;
}

.w2s-calendar-item em {
    color: var(--w2s-ink);
}

.w2s-roadmap-work {
    display: grid;
    gap: 12px;
}

.w2s-roadmap-step {
    border: 1px solid var(--w2s-line);
    border-radius: 8px;
    background: var(--w2s-soft);
}

.w2s-roadmap-step-current {
    border-color: var(--w2s-blue);
    background: #f8fbfd;
}

.w2s-roadmap-step-completed {
    background: #fff;
}

.w2s-roadmap-completed-group {
    border: 1px solid var(--w2s-line);
    border-radius: 8px;
    background: #fff;
}

.w2s-roadmap-completed-group > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    cursor: pointer;
    color: var(--w2s-ink);
    font-weight: 700;
}

.w2s-roadmap-completed-group > summary small {
    flex: 0 0 auto;
    color: var(--w2s-muted);
    font-size: 13px;
    font-weight: 700;
}

.w2s-roadmap-completed-list {
    display: grid;
    gap: 10px;
    padding: 0 12px 12px;
}

.w2s-roadmap-step summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    cursor: pointer;
    font-weight: 700;
}

.w2s-roadmap-step summary small {
    flex: 0 0 auto;
    color: var(--w2s-muted);
    font-size: 13px;
    font-weight: 700;
}

.w2s-roadmap-step-current summary small {
    color: var(--w2s-blue);
}

.w2s-roadmap-step-body {
    display: grid;
    gap: 12px;
    padding: 0 14px 14px;
}

.w2s-step-module {
    padding: 12px;
    border: 1px solid var(--w2s-line);
    border-radius: 8px;
    background: #fff;
}

.w2s-step-module-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.w2s-waypoint-submission {
    padding: 12px;
    border: 1px dashed var(--w2s-line);
    border-radius: 8px;
    background: #fff;
}

.w2s-waypoint-submission p {
    margin: 0 0 8px;
}

.w2s-waypoint-pending {
    padding: 10px 12px;
    border-left: 3px solid #d97706;
    border-radius: 4px;
    background: #fff7ed;
    color: #7c2d12;
    font-size: 14px;
}

.w2s-waypoint-submission-meta {
    font-size: 14px;
    color: var(--w2s-muted);
}

.w2s-revision-comment {
    display: grid;
    gap: 6px;
    margin: 10px 0;
    padding: 12px 14px;
    border: 1px solid #f59e0b;
    border-left: 5px solid #f59e0b;
    border-radius: 8px;
    background: #fffbeb;
    color: #78350f;
}

.w2s-revision-comment strong {
    font-size: 16px;
}

.w2s-revision-comment small {
    color: #92400e;
}

.w2s-revision-comment p {
    margin: 0;
}

.w2s-submission-snapshot {
    display: grid;
    gap: 10px;
    margin-top: 10px;
}

.w2s-submission-snapshot > strong {
    font-size: 15px;
}

.w2s-submission-snapshot-item {
    padding: 10px 12px;
    border: 1px solid var(--w2s-line);
    border-radius: 8px;
    background: var(--w2s-soft);
}

.w2s-submission-snapshot-item h5 {
    margin: 0 0 8px;
    font-size: 15px;
}

.w2s-submitted-content p {
    margin: 0;
    white-space: normal;
}

.w2s-submitted-list {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.w2s-submitted-list th,
.w2s-submitted-list td {
    padding: 7px 8px;
    border-bottom: 1px solid var(--w2s-line);
    text-align: left;
    vertical-align: top;
}

.w2s-submitted-list th {
    color: var(--w2s-muted);
    font-weight: 700;
}

.w2s-progress-form {
    display: grid;
    gap: 10px;
    margin-top: 10px;
}

.w2s-progress-form label {
    display: grid;
    gap: 5px;
    font-weight: 700;
}

.w2s-input-requirement {
    margin: -4px 0 4px;
    color: var(--w2s-muted);
    font-size: 13px;
    line-height: 1.4;
}

.w2s-task-overdue {
    color: #b42318;
    font-weight: 700;
}

.w2s-form-grid {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(160px, 240px);
    gap: 12px;
}

.w2s-structured-list {
    display: grid;
    gap: 8px;
}

.w2s-structured-list-head,
.w2s-structured-list-row {
    display: grid;
    grid-template-columns: repeat(var(--w2s-list-columns, 1), minmax(0, 1fr));
    gap: 8px;
}

.w2s-structured-list-head {
    color: var(--w2s-muted);
    font-size: 14px;
    font-weight: 700;
}

.w2s-progress-form input[type="text"],
.w2s-progress-form input[type="number"],
.w2s-progress-form input[type="email"],
.w2s-progress-form input[type="datetime-local"],
.w2s-progress-form select,
.w2s-progress-form textarea {
    width: 100%;
}

.w2s-inline-check {
    display: flex !important;
    grid-template-columns: none;
    gap: 8px;
    align-items: center;
}

.w2s-progress-form button {
    justify-self: start;
}

.w2s-progress-form .w2s-secondary-button {
    min-height: 40px;
    padding: 9px 14px;
    border: 1px solid var(--w2s-line);
    background: #fff;
    color: var(--w2s-blue);
}

.w2s-quiz-status {
    margin: 8px 0 0;
    font-weight: 700;
}

.w2s-quiz-status.is-passed {
    color: #16834a;
}

.w2s-quiz-status.is-failed {
    color: #b42318;
}

.w2s-quiz-modal {
    max-width: 680px;
}

.w2s-quiz-question {
    display: grid;
    gap: 14px;
}

.w2s-quiz-question h4 {
    margin: 0;
    font-size: 22px;
    line-height: 1.25;
}

.w2s-quiz-options {
    display: grid;
    gap: 10px;
}

.w2s-quiz-options label {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 10px;
    align-items: start;
    padding: 10px 12px;
    border: 1px solid var(--w2s-line);
    border-radius: 8px;
    background: #f8fafc;
    font-weight: 600;
}

.w2s-quiz-actions {
    display: flex;
    justify-content: flex-end;
}

.w2s-quiz-result {
    margin-top: 12px;
    padding: 10px 12px;
    border: 1px solid var(--w2s-line);
    border-radius: 8px;
    background: #f8fafc;
}

.w2s-quiz-result summary {
    cursor: pointer;
    font-weight: 700;
}

.w2s-quiz-review-list {
    display: grid;
    gap: 10px;
    margin: 12px 0 0;
    padding-left: 20px;
}

.w2s-quiz-review-list li {
    padding: 8px 10px;
    border-left: 4px solid var(--w2s-line);
    background: #fff;
}

.w2s-quiz-review-list li.is-correct {
    border-left-color: #16834a;
}

.w2s-quiz-review-list li.is-wrong {
    border-left-color: #b42318;
}

.w2s-quiz-review-list span {
    display: block;
    margin-top: 4px;
    color: var(--w2s-muted);
}

.w2s-ranking-list {
    display: grid;
    gap: 8px;
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
}

.w2s-ranking-list li {
    display: grid;
    grid-template-columns: 34px 1fr max-content;
    gap: 10px;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px solid var(--w2s-line);
}

.w2s-ranking-list li.is-current-user {
    color: var(--w2s-blue);
}

.w2s-ranking-place,
.w2s-ranking-points {
    font-weight: 700;
}

.w2s-ranking-place {
    width: 28px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--w2s-line);
    border-radius: 50%;
}

.w2s-badge-strip,
.w2s-badge-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.w2s-badge-strip {
    align-items: center;
}

.w2s-badge-grid {
    margin-top: 12px;
}

.w2s-badge-card {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 54px;
    height: 54px;
    padding: 0;
    border: 1px solid var(--w2s-line);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
    cursor: help;
}

.w2s-badge-card:hover,
.w2s-badge-card:focus {
    border-color: var(--w2s-blue);
    box-shadow: 0 0 0 3px rgba(29, 95, 143, 0.15), 0 12px 26px rgba(15, 23, 42, 0.12);
    outline: none;
}

.w2s-badge-card strong,
.w2s-badge-card small {
    display: block;
}

.w2s-badge-icon {
    position: relative;
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: var(--w2s-badge-bg, #e8f2f8);
    color: var(--w2s-blue);
    font-size: 0;
    font-weight: 700;
}

.w2s-badge-icon::before {
    content: "\1F44D";
    font-size: 24px;
    line-height: 1;
}

.w2s-badge-icon.has-custom-icon {
    color: var(--w2s-badge-fg, var(--w2s-blue));
    font-size: 22px;
}

.w2s-badge-icon.has-custom-icon::before {
    content: "";
}

.w2s-badge-icon::after {
    content: attr(data-w2s-badge-mark);
    position: absolute;
    right: -8px;
    bottom: -7px;
    min-width: 18px;
    height: 18px;
    padding: 0 3px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: var(--w2s-badge-fg, var(--w2s-blue));
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    line-height: 14px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.2);
}

.w2s-badge-category-referral {
    --w2s-badge-bg: #e8f7ee;
    --w2s-badge-fg: #16834a;
}

.w2s-badge-category-roadmap {
    --w2s-badge-bg: #e8f2f8;
    --w2s-badge-fg: #1d5f8f;
}

.w2s-badge-category-training {
    --w2s-badge-bg: #fff4de;
    --w2s-badge-fg: #a15c00;
}

.w2s-badge-category-leadership {
    --w2s-badge-bg: #f2ecff;
    --w2s-badge-fg: #6b3bbd;
}

.w2s-badge-category-quality {
    --w2s-badge-bg: #e9f8f7;
    --w2s-badge-fg: #0f766e;
}

.w2s-badge-category-general {
    --w2s-badge-bg: #f1f5f9;
    --w2s-badge-fg: #475569;
}

.w2s-badge-tooltip {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    z-index: 10;
    width: min(240px, 80vw);
    padding: 10px 12px;
    border: 1px solid var(--w2s-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.18);
    color: var(--w2s-ink);
    opacity: 0;
    pointer-events: none;
    text-align: left;
    transform: translate(-50%, 6px);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.w2s-badge-tooltip small {
    margin-top: 5px;
    line-height: 1.35;
}

.w2s-badge-card:hover .w2s-badge-tooltip,
.w2s-badge-card:focus .w2s-badge-tooltip {
    opacity: 1;
    transform: translate(-50%, 0);
}

.w2s-badge-details {
    margin-top: 12px;
}

.w2s-badge-details summary {
    cursor: pointer;
    font-weight: 700;
}

.w2s-dashboard-facts {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 6px 12px;
}

.w2s-dashboard-facts dt {
    color: var(--w2s-muted);
}

.w2s-dashboard-facts dd {
    margin: 0;
    font-weight: 700;
}

.w2s-progress {
    height: 9px;
    margin: 8px 0;
    overflow: hidden;
    border-radius: 999px;
    background: #e8eef3;
}

.w2s-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--w2s-blue);
}

.w2s-register-form,
.w2s-public-form,
.w2s-login-form {
    max-width: 680px;
    padding: 20px;
    border: 1px solid var(--w2s-line, #d0d7de);
    border-radius: 8px;
    background: #fff;
}

.w2s-register-form label,
.w2s-public-form label,
.w2s-login-form label {
    display: block;
    margin: 12px 0;
    font-weight: 700;
}

.w2s-register-form input,
.w2s-register-form textarea,
.w2s-public-form input,
.w2s-public-form textarea,
.w2s-public-form select,
.w2s-login-form input {
    width: 100%;
    margin-top: 5px;
}

.w2s-login-form p {
    margin: 0 0 18px;
}

.w2s-login-form .login-submit {
    margin-bottom: 0;
}

.w2s-login-form .login-remember label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 2px 0 0;
    font-weight: 600;
}

.w2s-login-form input[type="checkbox"],
.w2s-login-form input[type="submit"] {
    width: auto;
}

.w2s-login-form input[type="checkbox"] {
    margin: 0;
}

.w2s-register-form {
    max-width: 820px;
    padding: clamp(28px, 4vw, 46px);
    border-color: #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
}

.w2s-register-form *,
.w2s-public-form *,
.w2s-login-form *,
.w2s-progress-form * {
    box-sizing: border-box;
}

.w2s-register-form h2 {
    margin-top: 0;
    margin-bottom: 22px;
    font-size: clamp(30px, 3vw, 38px);
    line-height: 1.15;
}

.w2s-register-form p {
    max-width: 640px;
    margin-bottom: 30px;
    color: var(--w2s-ink);
    font-size: 19px;
    line-height: 1.65;
}

.w2s-register-form label {
    margin: 22px 0 9px;
    color: var(--w2s-ink);
    font-size: 20px;
    line-height: 1.25;
}

.w2s-register-form input[type="text"],
.w2s-register-form input[type="email"],
.w2s-register-form textarea,
.w2s-public-form input[type="text"],
.w2s-public-form input[type="email"],
.w2s-public-form textarea,
.w2s-public-form select,
.w2s-login-form input[type="text"],
.w2s-login-form input[type="password"],
.w2s-progress-form input[type="text"],
.w2s-progress-form input[type="number"],
.w2s-progress-form input[type="email"],
.w2s-progress-form input[type="datetime-local"],
.w2s-progress-form select,
.w2s-progress-form textarea {
    display: block;
    width: 100%;
    min-height: 52px;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    background: #f8fafc;
    box-shadow: none;
    color: var(--w2s-ink);
    font-size: 18px;
    line-height: 1.35;
    outline: none;
    appearance: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.w2s-register-form textarea,
.w2s-public-form textarea {
    min-height: 130px;
}

.w2s-register-form input:focus,
.w2s-register-form textarea:focus,
.w2s-public-form input:focus,
.w2s-public-form textarea:focus,
.w2s-public-form select:focus,
.w2s-login-form input[type="text"]:focus,
.w2s-login-form input[type="password"]:focus,
.w2s-progress-form input:focus,
.w2s-progress-form select:focus,
.w2s-progress-form textarea:focus {
    border-color: var(--w2s-blue);
    box-shadow: 0 0 0 3px rgba(29, 95, 143, 0.16);
    background: #fff;
    outline: none;
}

.w2s-referral-create,
.w2s-referral-events,
.w2s-referral-list,
.w2s-contact-activity {
    margin-top: 14px;
}

.w2s-contact-command {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.45fr);
    gap: 14px;
    margin: 0 0 16px;
}

.w2s-contact-command-main,
.w2s-contact-command-side,
.w2s-contact-activity {
    padding: 16px;
    border: 1px solid var(--w2s-line);
    border-radius: 8px;
    background: #fff;
}

.w2s-contact-command-main {
    background: linear-gradient(135deg, #ffffff 0%, #eef6fb 62%, #f8fbf4 100%);
}

.w2s-contact-eyebrow {
    color: var(--w2s-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.w2s-contact-command h3,
.w2s-contact-activity h3,
.w2s-referral-events h3,
.w2s-referral-list h3 {
    margin: 0 0 12px;
    font-size: 18px;
}

.w2s-contact-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 12px 0;
}

.w2s-contact-stats span {
    min-height: 88px;
    padding: 12px;
    border: 1px solid rgba(29, 95, 143, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.78);
}

.w2s-contact-stats strong,
.w2s-contact-stats small {
    display: block;
}

.w2s-contact-stats strong {
    font-size: 30px;
    line-height: 1;
}

.w2s-contact-stats small {
    margin-top: 8px;
    color: var(--w2s-muted);
    font-size: 12px;
    line-height: 1.35;
}

.w2s-contact-pipeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
    gap: 8px;
}

.w2s-contact-pipeline-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 42px;
    padding: 9px 10px;
    border: 1px solid var(--w2s-line);
    border-radius: 8px;
    background: #fff;
}

.w2s-contact-pipeline-item strong {
    font-size: 18px;
}

.w2s-contact-pipeline-item small {
    color: var(--w2s-muted);
    font-size: 12px;
    line-height: 1.2;
    text-align: right;
}

.w2s-contact-pipeline-item.is-won {
    border-color: #8ccf9f;
    background: #edf9f0;
}

.w2s-contact-pipeline-item.is-lost {
    border-color: #e6b0b0;
    background: #fff4f4;
}

.w2s-contact-pipeline-item.is-appointment,
.w2s-contact-pipeline-item.is-callback {
    border-color: #b9d4e8;
    background: #f1f8fc;
}

.w2s-contact-mini-feed,
.w2s-contact-activity ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.w2s-contact-mini-feed li,
.w2s-contact-activity li {
    display: grid;
    gap: 3px;
    padding: 10px 0;
    border-top: 1px solid var(--w2s-line);
}

.w2s-contact-mini-feed li:first-child,
.w2s-contact-activity li:first-child {
    border-top: 0;
    padding-top: 0;
}

.w2s-contact-mini-feed span,
.w2s-contact-activity small,
.w2s-contact-activity time,
.w2s-contact-activity em {
    color: var(--w2s-muted);
    font-size: 13px;
    font-style: normal;
}

.w2s-contact-activity li {
    grid-template-columns: minmax(116px, 0.28fr) minmax(180px, 0.36fr) minmax(0, 1fr);
    align-items: start;
}

.w2s-contact-activity span strong,
.w2s-contact-activity span small {
    display: block;
}

.w2s-event-list-button {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2px 8px;
    width: 100%;
    padding: 8px 10px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: var(--w2s-ink);
    cursor: pointer;
    font: inherit;
    text-align: left;
}

.w2s-event-list-button small {
    grid-column: 1 / -1;
    color: var(--w2s-muted);
}

.w2s-event-list-button em {
    grid-column: 1 / -1;
    color: var(--w2s-ink);
    font-size: 14px;
    font-style: normal;
    line-height: 1.35;
}

.w2s-event-list-button:hover,
.w2s-event-list-button:focus {
    border-color: var(--w2s-blue);
    background: #fff;
    outline: none;
}

.w2s-modal-trigger {
    min-height: 44px;
    padding: 10px 16px;
    border: 0;
    border-radius: 8px;
    background: var(--w2s-blue);
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
}

.w2s-modal {
    width: min(760px, calc(100vw - 32px));
    max-height: calc(100vh - 48px);
    padding: 22px;
    border: 1px solid var(--w2s-line);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.25);
    color: var(--w2s-ink);
}

.w2s-modal::backdrop {
    background: rgba(15, 23, 42, 0.45);
}

.w2s-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.w2s-modal-head h3 {
    margin: 0;
    font-size: 24px;
}

.w2s-modal-head small {
    color: var(--w2s-muted);
}

.w2s-modal-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--w2s-line);
    border-radius: 50%;
    background: #fff;
    color: var(--w2s-ink);
    cursor: pointer;
    font-size: 26px;
    line-height: 1;
}

.w2s-referral-card {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 12px 14px;
    border: 1px solid var(--w2s-line);
    border-radius: 8px;
    background: var(--w2s-soft);
    color: var(--w2s-ink);
    cursor: pointer;
    font: inherit;
    text-align: left;
}

.w2s-referral-card span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.w2s-referral-card small,
.w2s-referral-card em {
    display: block;
}

.w2s-referral-card > em {
    margin-top: 7px;
    color: var(--w2s-muted);
    font-size: 14px;
    font-style: normal;
}

.w2s-referral-card > small {
    margin-top: 6px;
    color: var(--w2s-muted);
}

.w2s-status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 9px;
    border-radius: 999px;
    background: #eef2f6;
    color: var(--w2s-ink);
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.w2s-status-pill.is-won {
    background: #dff5e5;
    color: #17612d;
}

.w2s-status-pill.is-lost {
    background: #ffe5e5;
    color: #8f1d1d;
}

.w2s-status-pill.is-appointment,
.w2s-status-pill.is-callback {
    background: #e4f2fb;
    color: #1d5f8f;
}

.w2s-referral-card:hover,
.w2s-referral-card:focus {
    border-color: var(--w2s-blue);
    background: #fff;
}

.w2s-referral-card-body {
    padding: 0;
}

.w2s-referral-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.w2s-referral-meta span {
    padding: 10px 12px;
    border: 1px solid var(--w2s-line);
    border-radius: 8px;
    background: var(--w2s-soft);
}

.w2s-referral-meta strong,
.w2s-referral-meta small {
    display: block;
}

.w2s-referral-meta small {
    margin-top: 2px;
    color: var(--w2s-muted);
    overflow-wrap: anywhere;
}

.w2s-event-form {
    padding: 12px;
    border: 1px solid var(--w2s-line);
    border-radius: 8px;
    background: #fff;
}

.w2s-referral-history {
    margin: 12px 0 0;
    padding-left: 20px;
}

.w2s-referral-history li {
    margin-bottom: 10px;
}

.w2s-register-form button,
.w2s-public-form button,
.w2s-login-form input[type="submit"],
.w2s-progress-form button {
    min-height: 48px;
    padding: 12px 22px;
    border: 0;
    border-radius: 9px;
    background: var(--w2s-blue);
    color: #fff;
    cursor: pointer;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
}

.w2s-register-form button:hover,
.w2s-public-form button:hover,
.w2s-login-form input[type="submit"]:hover,
.w2s-progress-form button:hover {
    background: #16496f;
}

.w2s-notice {
    max-width: 680px;
    margin: 0 0 14px;
    padding: 12px 14px;
    border: 1px solid var(--w2s-line, #d0d7de);
    border-radius: 8px;
}

.w2s-notice-success {
    border-color: #8ccf9f;
    background: #edf9f0;
}

.w2s-notice-error {
    border-color: #e69b9b;
    background: #fff1f1;
}

@media (max-width: 760px) {
    .w2s-dashboard-header {
        display: block;
    }

    .w2s-contact-command {
        grid-template-columns: 1fr;
    }

    .w2s-contact-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .w2s-contact-activity li {
        grid-template-columns: 1fr;
    }

    .w2s-referral-card span {
        align-items: flex-start;
        flex-direction: column;
    }

    .w2s-journey-hero {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .w2s-journey-roadmap-row,
    .w2s-journey-hero-side-row {
        grid-template-columns: 1fr;
    }

    .w2s-journey-hero h1 {
        font-size: 24px;
    }

    .w2s-journey-progress-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .w2s-journey-roadmap-card .w2s-journey-progress-row {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .w2s-journey-metrics {
        grid-template-columns: 1fr;
    }

    .w2s-journey-metrics span {
        border-top: 1px solid rgba(18, 38, 58, 0.1);
        border-left: 0;
    }

    .w2s-journey-metrics span:first-child {
        border-top: 0;
    }

    .w2s-form-grid {
        grid-template-columns: 1fr;
    }

    .w2s-structured-list-head {
        display: none;
    }

    .w2s-structured-list-row {
        grid-template-columns: 1fr;
    }

    .w2s-dashboard-settings {
        margin-top: 14px;
    }

    .w2s-dashboard-module-calendar {
        grid-column: 1 / -1;
    }

    .w2s-calendar-item {
        grid-template-columns: 1fr;
    }

    .w2s-badge-strip {
        justify-content: flex-start;
    }
}
