:root {
    --psychpen-ink: #12372f;
    --psychpen-ink-2: #254940;
    --psychpen-sage: #cfe1d7;
    --psychpen-mist: #eef5f1;
    --psychpen-cream: #f8f6f0;
    --psychpen-white: #ffffff;
    --psychpen-border: rgba(21, 62, 51, 0.12);
    --psychpen-shadow: 0 30px 90px rgba(15, 52, 42, 0.13);
    --psychpen-font: "Honey Regular", Georgia, "Times New Roman", serif;
}

.psychpen-onboarding,
.psychpen-directory,
.psychpen-profile,
.psychpen-dashboard,
.psychpen-success {
    color: var(--psychpen-ink);
    box-sizing: border-box;
    font-family: var(--psychpen-font);
}

.psychpen-onboarding *,
.psychpen-directory *,
.psychpen-profile *,
.psychpen-dashboard *,
.psychpen-success * {
    box-sizing: border-box;
}

.psychpen-kicker,
.psychpen-flow-head__eyebrow,
.psychpen-onboarding__visual-copy > span,
.psychpen-review__head span,
.psychpen-success > span {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.psychpen-button,
.psychpen-submit {
    align-items: center;
    background: var(--psychpen-ink);
    border: 1px solid var(--psychpen-ink);
    border-radius: 999px;
    color: #fff !important;
    cursor: pointer;
    display: inline-flex;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    font-weight: 700;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    text-decoration: none !important;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.psychpen-button:hover,
.psychpen-submit:hover {
    box-shadow: 0 12px 30px rgba(18, 55, 47, 0.18);
    transform: translateY(-1px);
}

.psychpen-button.is-secondary {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(18, 55, 47, 0.16);
    color: var(--psychpen-ink) !important;
}

.psychpen-button[disabled] {
    cursor: not-allowed;
    opacity: 0.58;
    transform: none;
}

/* --------------------------------------------------------------------------
   Premium onboarding
   -------------------------------------------------------------------------- */

.psychpen-onboarding {
    background:
        radial-gradient(circle at 78% 12%, rgba(207, 225, 215, 0.8), transparent 34%),
        radial-gradient(circle at 62% 88%, rgba(246, 225, 205, 0.62), transparent 35%),
        #edf3ef;
    display: grid;
    grid-template-columns: minmax(360px, 44%) minmax(520px, 56%);
    min-height: max(820px, calc(100vh - 32px));
    overflow: hidden;
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

.psychpen-onboarding__visual {
    background-color: #173f35;
    background-image:
        linear-gradient(180deg, rgba(9, 32, 26, 0.08), rgba(7, 30, 24, 0.68)),
        var(--psychpen-visual-image, url("onboarding-visual.svg"));
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
    overflow: hidden;
    padding: clamp(34px, 5vw, 72px);
    position: relative;
}

.psychpen-onboarding__visual::before {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0 1px, transparent 1.5px);
    background-size: 20px 20px;
    content: "";
    inset: 0;
    opacity: 0.11;
    pointer-events: none;
    position: absolute;
}

.psychpen-onboarding__visual::after {
    background: linear-gradient(180deg, transparent 45%, rgba(7, 30, 24, 0.42));
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.psychpen-onboarding__brand,
.psychpen-onboarding__visual-copy,
.psychpen-onboarding__visual-proof {
    position: relative;
    z-index: 2;
}

.psychpen-onboarding__brand {
    align-items: center;
    display: flex;
    font-size: 24px;
    gap: 12px;
}

.psychpen-brand-mark {
    align-items: center;
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 14px;
    display: inline-flex;
    font-size: 22px;
    height: 46px;
    justify-content: center;
    width: 46px;
}

.psychpen-onboarding__visual-copy {
    max-width: 520px;
    transition: opacity 220ms ease, transform 220ms ease;
}

.psychpen-onboarding__visual-copy > span {
    color: rgba(255, 255, 255, 0.7);
}

.psychpen-onboarding__visual-copy h2 {
    color: #fff;
    font-size: clamp(48px, 5vw, 78px);
    font-weight: 400;
    letter-spacing: -0.045em;
    line-height: 0.98;
    margin: 18px 0 22px;
}

.psychpen-onboarding__visual-copy p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 18px;
    line-height: 1.58;
    margin: 0;
    max-width: 460px;
}

.psychpen-onboarding__visual-proof {
    backdrop-filter: blur(22px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 22px;
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 16px;
}

.psychpen-onboarding__visual-proof div {
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    padding: 4px 13px;
}

.psychpen-onboarding__visual-proof div:last-child {
    border-right: 0;
}

.psychpen-onboarding__visual-proof strong,
.psychpen-onboarding__visual-proof span {
    display: block;
}

.psychpen-onboarding__visual-proof strong {
    font-size: 18px;
    font-weight: 500;
}

.psychpen-onboarding__visual-proof span {
    color: rgba(255, 255, 255, 0.66);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 10px;
    line-height: 1.35;
    margin-top: 3px;
}

.psychpen-onboarding__stage {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 100%;
    overflow: auto;
    padding: clamp(28px, 4.3vw, 74px);
    position: relative;
}

.psychpen-onboarding__stage::before,
.psychpen-onboarding__stage::after {
    border-radius: 50%;
    content: "";
    filter: blur(4px);
    pointer-events: none;
    position: absolute;
}

.psychpen-onboarding__stage::before {
    background: rgba(255, 255, 255, 0.68);
    height: 240px;
    right: -70px;
    top: 4%;
    width: 240px;
}

.psychpen-onboarding__stage::after {
    background: rgba(245, 218, 194, 0.34);
    bottom: 3%;
    height: 210px;
    left: -60px;
    width: 210px;
}

.psychpen-onboarding__glass {
    backdrop-filter: blur(34px) saturate(125%);
    -webkit-backdrop-filter: blur(34px) saturate(125%);
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 34px;
    box-shadow: var(--psychpen-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.82);
    max-width: 670px;
    min-height: 650px;
    overflow: visible;
    padding: clamp(28px, 4vw, 52px);
    position: relative;
    width: 100%;
    z-index: 2;
}

.psychpen-flow-head {
    align-items: flex-end;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    margin-bottom: 36px;
}

.psychpen-flow-head__eyebrow {
    color: #6c7e76;
}

.psychpen-flow-head__title {
    color: var(--psychpen-ink);
    font-size: clamp(35px, 4vw, 50px);
    font-weight: 400;
    letter-spacing: -0.035em;
    line-height: 1.02;
    margin: 9px 0 6px;
}

.psychpen-flow-head__copy {
    color: #6d7c76;
    font-size: 15px;
    margin: 0;
}

.psychpen-flow-progress {
    background: rgba(18, 55, 47, 0.08);
    border-radius: 999px;
    flex: 0 0 118px;
    height: 5px;
    overflow: hidden;
}

.psychpen-flow-progress span {
    background: linear-gradient(90deg, #173f35, #7ba292);
    border-radius: inherit;
    display: block;
    height: 100%;
    transition: width 360ms cubic-bezier(.22, .7, .2, 1);
    width: 4%;
}

.psychpen-flow-step {
    display: none;
}

.psychpen-flow-step.is-active {
    display: block;
}

.psychpen-question {
    display: none;
    position: relative;
}

.psychpen-question.is-active {
    animation: psychpenQuestionIn 360ms cubic-bezier(.2, .75, .18, 1) both;
    display: block;
}

.psychpen-question.is-complete {
    display: block;
    margin-bottom: 9px;
}

.psychpen-question.is-future {
    display: none;
}

@keyframes psychpenQuestionIn {
    from { opacity: 0; transform: translateY(18px) scale(0.992); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.psychpen-question__summary {
    align-items: center;
    background: rgba(255, 255, 255, 0.54);
    border: 1px solid rgba(18, 55, 47, 0.08);
    border-radius: 16px;
    display: none;
    gap: 18px;
    justify-content: space-between;
    padding: 12px 14px;
}

.psychpen-question.is-complete .psychpen-question__summary {
    display: flex;
}

.psychpen-question.is-complete .psychpen-question__body {
    display: none;
}

.psychpen-question__summary div {
    min-width: 0;
}

.psychpen-question__summary span,
.psychpen-question__summary strong {
    display: block;
}

.psychpen-question__summary span {
    color: #7b8883;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.psychpen-question__summary strong {
    color: var(--psychpen-ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 13px;
    font-weight: 650;
    margin-top: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.psychpen-question__summary button {
    background: transparent;
    border: 0;
    color: #567168;
    cursor: pointer;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 11px;
    font-weight: 700;
    padding: 7px;
}

.psychpen-question__body {
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 26px;
    box-shadow: 0 18px 55px rgba(22, 57, 47, 0.075);
    padding: clamp(25px, 4vw, 38px);
}

.psychpen-question__number {
    color: #789088;
    display: block;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.14em;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.psychpen-question__body h2 {
    color: var(--psychpen-ink);
    font-size: clamp(30px, 4.2vw, 43px);
    font-weight: 400;
    letter-spacing: -0.035em;
    line-height: 1.06;
    margin: 0;
}

.psychpen-question__body > p {
    color: #6b7b75;
    font-size: 15px;
    line-height: 1.55;
    margin: 12px 0 25px;
}

.psychpen-control,
.psychpen-select-wrap select,
.psychpen-multi__trigger {
    appearance: none;
    -webkit-appearance: none;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(18, 55, 47, 0.14);
    border-radius: 16px;
    color: var(--psychpen-ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15px;
    min-height: 58px;
    outline: 0;
    padding: 0 17px;
    transition: border 160ms ease, box-shadow 160ms ease, background 160ms ease;
    width: 100%;
}

textarea.psychpen-control {
    min-height: 170px;
    padding: 16px 17px;
    resize: vertical;
}

.psychpen-control:focus,
.psychpen-select-wrap select:focus,
.psychpen-multi__trigger:focus {
    background: #fff;
    border-color: rgba(18, 55, 47, 0.38);
    box-shadow: 0 0 0 4px rgba(92, 137, 122, 0.12);
}

.psychpen-control::placeholder {
    color: #a0aaa6;
}

.psychpen-select-wrap {
    position: relative;
}

.psychpen-select-wrap::after {
    border-bottom: 2px solid #60776e;
    border-right: 2px solid #60776e;
    content: "";
    height: 8px;
    pointer-events: none;
    position: absolute;
    right: 20px;
    top: 21px;
    transform: rotate(45deg);
    width: 8px;
}

.psychpen-question__actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 22px;
}

.psychpen-question__continue {
    align-items: center;
    background: var(--psychpen-ink);
    border: 0;
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 13px;
    font-weight: 700;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.psychpen-question__continue:hover {
    box-shadow: 0 12px 24px rgba(18, 55, 47, 0.18);
    transform: translateY(-1px);
}

.psychpen-question.has-error .psychpen-control,
.psychpen-question.has-error .psychpen-multi__trigger,
.psychpen-question.has-error .psychpen-choice-grid {
    border-color: #b75b5b;
    box-shadow: 0 0 0 4px rgba(183, 91, 91, 0.08);
}

.psychpen-question__error {
    color: #9b4141 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 12px !important;
    margin: 10px 0 0 !important;
}

.psychpen-choice-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.psychpen-choice-grid label {
    cursor: pointer;
    display: block;
    position: relative;
}

.psychpen-choice-grid input {
    opacity: 0;
    pointer-events: none;
    position: absolute;
}

.psychpen-choice-grid span {
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(18, 55, 47, 0.13);
    border-radius: 16px;
    color: var(--psychpen-ink);
    display: flex;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    font-weight: 650;
    min-height: 62px;
    padding: 12px 15px;
    transition: all 170ms ease;
}

.psychpen-choice-grid span:hover {
    border-color: rgba(18, 55, 47, 0.3);
    transform: translateY(-1px);
}

.psychpen-choice-grid input:checked + span {
    background: var(--psychpen-ink);
    border-color: var(--psychpen-ink);
    box-shadow: 0 12px 26px rgba(18, 55, 47, 0.16);
    color: #fff;
}

/* Multiselect: light, compact and contained inside the form card. */
.psychpen-multi {
    position: relative;
}

.psychpen-multi__native {
    height: 1px;
    left: 0;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    width: 1px;
}

.psychpen-multi__trigger {
    align-items: center;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    padding: 10px 13px 10px 17px;
    text-align: left;
}

.psychpen-multi__trigger span,
.psychpen-multi__trigger small,
.psychpen-multi__trigger strong {
    display: block;
}

.psychpen-multi__trigger small {
    color: #7f8c87;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 3px;
    text-transform: uppercase;
}

.psychpen-multi__trigger strong {
    font-size: 14px;
    font-weight: 650;
}

.psychpen-multi__trigger i {
    align-items: center;
    background: var(--psychpen-mist);
    border-radius: 50%;
    display: flex;
    font-size: 19px;
    font-style: normal;
    height: 34px;
    justify-content: center;
    transition: transform 180ms ease;
    width: 34px;
}

.psychpen-multi.is-open .psychpen-multi__trigger i {
    transform: rotate(45deg);
}

.psychpen-multi__chips {
    display: none;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 10px;
}

.psychpen-multi__chips.has-items {
    display: flex;
}

.psychpen-multi__chip {
    align-items: center;
    background: rgba(228, 239, 234, 0.88);
    border: 1px solid rgba(18, 55, 47, 0.08);
    border-radius: 999px;
    color: #24493e;
    cursor: pointer;
    display: inline-flex;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 11px;
    font-weight: 650;
    gap: 7px;
    max-width: 100%;
    padding: 8px 10px;
}

.psychpen-multi__chip span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.psychpen-multi__chip b {
    color: #657b72;
    font-size: 15px;
    font-weight: 400;
}

.psychpen-multi__drawer {
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(18, 55, 47, 0.1);
    border-radius: 18px;
    box-shadow: 0 24px 65px rgba(18, 55, 47, 0.14);
    display: none;
    margin-top: 10px;
    overflow: hidden;
    padding: 10px;
}

.psychpen-multi.is-open .psychpen-multi__drawer {
    animation: psychpenDrawerIn 190ms ease both;
    display: block;
}

@keyframes psychpenDrawerIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.psychpen-multi__toolbar {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.psychpen-multi__toolbar input {
    background: #f8faf9;
    border: 1px solid rgba(18, 55, 47, 0.1);
    border-radius: 12px;
    flex: 1;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 13px;
    height: 43px;
    min-width: 0;
    outline: 0;
    padding: 0 12px;
}

.psychpen-multi__toolbar button {
    background: var(--psychpen-ink);
    border: 0;
    border-radius: 12px;
    color: #fff;
    cursor: pointer;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 12px;
    font-weight: 700;
    padding: 0 15px;
}

.psychpen-multi__options {
    display: grid;
    gap: 5px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 290px;
    overflow: auto;
    padding: 1px;
    scrollbar-color: #bacbc4 transparent;
    scrollbar-width: thin;
}

.psychpen-multi__option {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 12px;
    color: #2b4940;
    cursor: pointer;
    display: flex;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 12px;
    font-weight: 550;
    gap: 10px;
    justify-content: space-between;
    min-height: 48px;
    padding: 9px 10px;
    text-align: left;
}

.psychpen-multi__option:hover {
    background: #f4f8f6;
}

.psychpen-multi__option i {
    align-items: center;
    border: 1px solid #cbd9d3;
    border-radius: 50%;
    display: flex;
    flex: 0 0 21px;
    font-size: 10px;
    font-style: normal;
    height: 21px;
    justify-content: center;
    order: -1;
    width: 21px;
}

.psychpen-multi__option.is-selected {
    background: #edf5f1;
    color: var(--psychpen-ink);
}

.psychpen-multi__option.is-selected i {
    background: var(--psychpen-ink);
    border-color: var(--psychpen-ink);
    color: #fff;
}

/* Business hours */
.psychpen-hours__preset {
    display: grid;
    gap: 9px;
}

.psychpen-hours__preset button {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(18, 55, 47, 0.12);
    border-radius: 15px;
    color: var(--psychpen-ink);
    cursor: pointer;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 13px;
    font-weight: 650;
    min-height: 52px;
    padding: 10px 14px;
    text-align: left;
}

.psychpen-hours__preset button.is-selected {
    background: var(--psychpen-ink);
    border-color: var(--psychpen-ink);
    color: #fff;
}

.psychpen-hours__editor {
    display: none;
    margin-top: 12px;
}

.psychpen-hours__editor.is-open {
    display: block;
}

.psychpen-hours__row {
    align-items: center;
    border-top: 1px solid rgba(18, 55, 47, 0.07);
    display: grid;
    gap: 8px;
    grid-template-columns: 1.1fr 1fr auto 1fr;
    padding: 10px 0;
}

.psychpen-hours__day {
    align-items: center;
    display: flex;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 12px;
    font-weight: 650;
    gap: 8px;
}

.psychpen-hours__day input {
    accent-color: var(--psychpen-ink);
    height: 17px;
    width: 17px;
}

.psychpen-hours__row input[type="time"] {
    background: #fff;
    border: 1px solid rgba(18, 55, 47, 0.12);
    border-radius: 10px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 11px;
    height: 38px;
    min-width: 0;
    padding: 0 7px;
    width: 100%;
}

.psychpen-flow-nav {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-top: 17px;
    min-height: 34px;
}

.psychpen-flow-back {
    background: transparent;
    border: 0;
    color: #557068;
    cursor: pointer;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 0;
}

.psychpen-flow-back.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.psychpen-flow-section {
    color: #81908a;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Final review */
.psychpen-review {
    display: none;
}

.psychpen-review.is-visible {
    animation: psychpenQuestionIn 360ms ease both;
    display: block;
}

.psychpen-review__head {
    margin-bottom: 22px;
}

.psychpen-review__head h2 {
    font-size: 40px;
    font-weight: 400;
    letter-spacing: -0.035em;
    margin: 7px 0;
}

.psychpen-review__head p {
    color: #6b7b75;
    margin: 0;
}

.psychpen-review__sections {
    display: grid;
    gap: 10px;
}

.psychpen-review__sections section {
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(18, 55, 47, 0.08);
    border-radius: 17px;
    padding: 15px;
}

.psychpen-review__sections section > div {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.psychpen-review__sections h3 {
    font-size: 19px;
    font-weight: 400;
    margin: 0;
}

.psychpen-review__sections button {
    background: transparent;
    border: 0;
    color: #567168;
    cursor: pointer;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 11px;
    font-weight: 700;
}

.psychpen-review__sections p {
    display: grid;
    gap: 5px;
    grid-template-columns: 1fr 1.2fr;
    margin: 7px 0;
}

.psychpen-review__sections p span,
.psychpen-review__sections p strong {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 11px;
    line-height: 1.45;
}

.psychpen-review__sections p span {
    color: #83908b;
}

.psychpen-review__sections p strong {
    color: #304e45;
    font-weight: 650;
    text-align: right;
}

.psychpen-account-consent {
    background: #f4f8f6;
    border: 1px solid rgba(18, 55, 47, 0.1);
    border-radius: 18px;
    margin-top: 16px;
    padding: 17px;
}

.psychpen-account-consent label {
    align-items: flex-start;
    cursor: pointer;
    display: flex;
    gap: 11px;
}

.psychpen-account-consent input {
    accent-color: var(--psychpen-ink);
    flex: 0 0 19px;
    height: 19px;
    margin-top: 2px;
    width: 19px;
}

.psychpen-account-consent strong,
.psychpen-account-consent small {
    display: block;
}

.psychpen-account-consent strong {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 13px;
}

.psychpen-account-consent small {
    color: #708079;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 11px;
    line-height: 1.5;
    margin-top: 4px;
}

.psychpen-plan-choice {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr 1fr;
    margin-top: 14px;
}

.psychpen-plan-choice article {
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(18, 55, 47, 0.09);
    border-radius: 18px;
    padding: 17px;
}

.psychpen-plan-choice article.is-featured {
    background: #edf5f1;
    border-color: rgba(18, 55, 47, 0.18);
}

.psychpen-plan-choice article > span {
    color: #73847d;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 9px;
    font-weight: 750;
    letter-spacing: 0.1em;
}

.psychpen-plan-choice h3 {
    font-size: 26px;
    font-weight: 400;
    margin: 7px 0;
}

.psychpen-plan-choice h3 small {
    font-size: 13px;
}

.psychpen-plan-choice p {
    color: #6c7c76;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 11px;
    line-height: 1.55;
    margin: 0;
}

.psychpen-submit {
    border-radius: 16px;
    margin-top: 16px;
    width: 100%;
}

.psychpen-submit-note {
    color: #7c8984;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 10px;
    line-height: 1.5;
    margin: 9px auto 0;
    max-width: 470px;
    text-align: center;
}

/* Success */
.psychpen-success {
    background:
        radial-gradient(circle at 80% 12%, rgba(203, 225, 214, 0.75), transparent 34%),
        #eef4f0;
    border: 1px solid rgba(18, 55, 47, 0.08);
    border-radius: 30px;
    box-shadow: var(--psychpen-shadow);
    margin: 60px auto;
    max-width: 760px;
    padding: clamp(35px, 6vw, 72px);
    text-align: center;
}

.psychpen-success__icon {
    align-items: center;
    background: var(--psychpen-ink);
    border-radius: 50%;
    color: #fff;
    display: flex;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 25px;
    height: 62px;
    justify-content: center;
    margin: 0 auto 22px;
    width: 62px;
}

.psychpen-success h1 {
    font-size: clamp(38px, 6vw, 62px);
    font-weight: 400;
    letter-spacing: -0.04em;
    line-height: 1;
    margin: 12px auto 18px;
    max-width: 620px;
}

.psychpen-success > p {
    color: #667771;
    font-size: 17px;
    line-height: 1.6;
    margin: 0 auto 25px;
    max-width: 580px;
}

.psychpen-success__cards {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr 1fr;
    margin: 0 auto 26px;
    max-width: 600px;
}

.psychpen-success__cards article {
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(18, 55, 47, 0.08);
    border-radius: 17px;
    padding: 17px;
}

.psychpen-success__cards strong,
.psychpen-success__cards span {
    display: block;
}

.psychpen-success__cards strong {
    font-size: 15px;
    font-weight: 500;
}

.psychpen-success__cards span {
    color: #6a7974;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 11px;
    margin-top: 5px;
}

/* --------------------------------------------------------------------------
   Directory
   -------------------------------------------------------------------------- */

.psychpen-directory,
.psychpen-profile,
.psychpen-dashboard {
    margin: 0 auto;
    max-width: 1240px;
    padding: 28px 20px 80px;
}

.psychpen-directory__hero {
    background: linear-gradient(135deg, #173f35, #2e6254);
    border-radius: 30px;
    color: #fff;
    overflow: hidden;
    padding: clamp(30px, 6vw, 68px);
    position: relative;
}

.psychpen-directory__hero::after {
    background: radial-gradient(circle, rgba(255,255,255,.18), transparent 68%);
    content: "";
    height: 420px;
    position: absolute;
    right: -130px;
    top: -180px;
    width: 420px;
}

.psychpen-directory__hero h1 {
    color: #fff;
    font-size: clamp(43px, 7vw, 76px);
    font-weight: 400;
    letter-spacing: -0.045em;
    line-height: 0.98;
    margin: 15px 0;
    max-width: 700px;
    position: relative;
    z-index: 1;
}

.psychpen-directory__hero > p {
    color: rgba(255,255,255,.76);
    font-size: 17px;
    line-height: 1.6;
    max-width: 680px;
    position: relative;
    z-index: 1;
}

.psychpen-search {
    margin-top: 30px;
    position: relative;
    z-index: 2;
}

.psychpen-search__primary {
    background: rgba(255,255,255,.96);
    border-radius: 18px;
    display: grid;
    gap: 9px;
    grid-template-columns: 1.5fr .8fr auto;
    padding: 9px;
}

.psychpen-search input,
.psychpen-search select {
    background: #fff;
    border: 1px solid rgba(18,55,47,.1);
    border-radius: 12px;
    color: var(--psychpen-ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 13px;
    height: 48px;
    padding: 0 13px;
    width: 100%;
}

.psychpen-search__primary button,
.psychpen-filter-apply {
    background: var(--psychpen-ink);
    border: 0;
    border-radius: 12px;
    color: #fff;
    cursor: pointer;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 13px;
    font-weight: 700;
    padding: 0 19px;
}

.psychpen-filter-toggle {
    align-items: center;
    background: rgba(255,255,255,.13);
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 12px;
    font-weight: 700;
    gap: 9px;
    margin-top: 12px;
    min-height: 40px;
    padding: 0 13px;
}

.psychpen-filter-toggle span {
    align-items: center;
    background: rgba(255,255,255,.18);
    border-radius: 50%;
    display: inline-flex;
    height: 22px;
    justify-content: center;
    width: 22px;
}

.psychpen-filter-panel {
    background: rgba(255,255,255,.98);
    border: 1px solid rgba(255,255,255,.82);
    border-radius: 19px;
    box-shadow: 0 24px 65px rgba(10,35,28,.23);
    display: none;
    gap: 9px;
    grid-template-columns: repeat(3,minmax(0,1fr));
    margin-top: 10px;
    padding: 13px;
}

.psychpen-filter-panel.is-open {
    display: grid;
}

.psychpen-filter-apply {
    min-height: 48px;
}

.psychpen-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 10px;
}

.psychpen-active-filter,
.psychpen-clear-filters {
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 10px;
    padding: 7px 10px;
}

.psychpen-clear-filters {
    background: transparent;
    text-decoration: underline;
}

.psychpen-directory__count {
    align-items: center;
    display: flex;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 13px;
    justify-content: space-between;
    padding: 24px 3px 14px;
}

.psychpen-provider-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2,minmax(0,1fr));
}

.psychpen-provider-card {
    background: #fff;
    border: 1px solid rgba(18,55,47,.09);
    border-radius: 22px;
    display: grid;
    gap: 17px;
    grid-template-columns: 112px 1fr;
    padding: 18px;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.psychpen-provider-card:hover {
    box-shadow: 0 18px 45px rgba(18,55,47,.08);
    transform: translateY(-2px);
}

.psychpen-provider-card__photo,
.psychpen-profile__photo {
    align-items: center;
    background: var(--psychpen-mist);
    border-radius: 17px;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.psychpen-provider-card__photo {
    height: 112px;
}

.psychpen-provider-card__photo img,
.psychpen-profile__photo img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.psychpen-provider-card__photo span,
.psychpen-profile__photo span {
    font-size: 35px;
}

.psychpen-status-row,
.psychpen-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.psychpen-status-row span,
.psychpen-chip-row span {
    background: #f2f6f4;
    border-radius: 999px;
    color: #456157;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 10px;
    padding: 6px 9px;
}

.psychpen-status-row span.is-positive {
    background: #eaf5ef;
    color: #27634e;
}

.psychpen-provider-card h2 {
    font-size: 25px;
    font-weight: 400;
    line-height: 1.05;
    margin: 10px 0 5px;
}

.psychpen-provider-card h2 a {
    color: var(--psychpen-ink);
    text-decoration: none;
}

.psychpen-provider-card h2 small {
    font-size: 13px;
}

.psychpen-provider-card p {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 11px;
    margin: 5px 0;
}

.psychpen-muted {
    color: #74827d;
}

.psychpen-provider-card__foot {
    align-items: flex-end;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    margin-top: 14px;
}

.psychpen-provider-card__foot div {
    display: grid;
    gap: 3px;
}

.psychpen-provider-card__foot span,
.psychpen-provider-card__foot a {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 10px;
}

.psychpen-provider-card__foot a {
    color: var(--psychpen-ink);
    font-weight: 700;
    text-decoration: none;
}

/* Profile and dashboard */
.psychpen-profile__hero {
    align-items: center;
    background: #f0f5f2;
    border-radius: 28px;
    display: grid;
    gap: 24px;
    grid-template-columns: 170px 1fr 280px;
    padding: 30px;
}

.psychpen-profile__photo {
    height: 170px;
}

.psychpen-profile__intro h1,
.psychpen-dashboard__head h1 {
    font-size: clamp(38px,5vw,58px);
    font-weight: 400;
    letter-spacing: -.04em;
    line-height: 1;
    margin: 13px 0 10px;
}

.psychpen-profile__intro h1 small {
    font-size: 18px;
}

.psychpen-profile__intro p,
.psychpen-dashboard__head p,
.psychpen-panel p {
    color: #687871;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 13px;
    line-height: 1.6;
}

.psychpen-book-card,
.psychpen-panel {
    background: #fff;
    border: 1px solid rgba(18,55,47,.08);
    border-radius: 20px;
    padding: 21px;
}

.psychpen-book-card h3,
.psychpen-panel h2,
.psychpen-panel h3 {
    font-size: 26px;
    font-weight: 400;
    margin: 0 0 9px;
}

.psychpen-book-card .psychpen-button {
    margin-top: 8px;
    width: 100%;
}

.psychpen-profile__layout {
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0,1fr) 330px;
    margin-top: 18px;
}

.psychpen-profile__layout main {
    display: grid;
    gap: 14px;
}

.psychpen-info-grid,
.psychpen-stat-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2,minmax(0,1fr));
}

.psychpen-info-grid div,
.psychpen-stat-grid div {
    background: #f4f7f5;
    border-radius: 14px;
    padding: 14px;
}

.psychpen-info-grid strong,
.psychpen-info-grid span,
.psychpen-stat-grid strong,
.psychpen-stat-grid span {
    display: block;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.psychpen-info-grid strong,
.psychpen-stat-grid span {
    color: #72817b;
    font-size: 10px;
}

.psychpen-info-grid span,
.psychpen-stat-grid strong {
    font-size: 13px;
    margin-top: 5px;
}

.psychpen-detail {
    border-bottom: 1px solid rgba(18,55,47,.07);
    padding: 10px 0;
}

.psychpen-detail strong,
.psychpen-detail span {
    display: block;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.psychpen-detail strong {
    color: #7c8a85;
    font-size: 10px;
}

.psychpen-detail span {
    font-size: 12px;
    margin-top: 4px;
}

.psychpen-ad-slot {
    align-items: center;
    background: #f4f4f2;
    border: 1px dashed #d8ddd9;
    border-radius: 14px;
    color: #919a96;
    display: flex;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 10px;
    justify-content: center;
    min-height: 70px;
    margin-bottom: 14px;
}

.psychpen-ad-slot.is-large {
    margin-top: 18px;
    min-height: 140px;
}

.psychpen-dashboard__head {
    align-items: flex-end;
    display: flex;
    justify-content: space-between;
    margin-bottom: 22px;
}

.psychpen-stat-grid {
    grid-template-columns: repeat(4,minmax(0,1fr));
    margin-bottom: 16px;
}

.psychpen-dashboard__grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2,minmax(0,1fr));
}

.psychpen-price strong {
    font-size: 37px;
    font-weight: 400;
}

.psychpen-price span {
    color: #73817c;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 12px;
}

.psychpen-empty {
    background: #f3f7f4;
    border: 1px solid rgba(18,55,47,.08);
    border-radius: 22px;
    grid-column: 1/-1;
    padding: 45px;
    text-align: center;
}

.psychpen-empty h3 {
    font-size: 31px;
    font-weight: 400;
    margin: 0 0 8px;
}

.psychpen-empty p {
    color: #6e7d77;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1120px) {
    .psychpen-onboarding {
        grid-template-columns: 40% 60%;
    }

    .psychpen-onboarding__visual {
        padding: 38px;
    }

    .psychpen-onboarding__visual-copy h2 {
        font-size: 53px;
    }

    .psychpen-onboarding__visual-proof {
        grid-template-columns: 1fr;
    }

    .psychpen-onboarding__visual-proof div {
        border-bottom: 1px solid rgba(255,255,255,.14);
        border-right: 0;
        padding: 8px 6px;
    }

    .psychpen-onboarding__visual-proof div:last-child {
        border-bottom: 0;
    }

    .psychpen-onboarding__stage {
        padding: 32px;
    }
}

@media (max-width: 900px) {
    .psychpen-onboarding {
        display: block;
        min-height: 0;
    }

    .psychpen-onboarding__visual {
        min-height: 300px;
        padding: 28px;
    }

    .psychpen-onboarding__visual-copy {
        margin-top: 65px;
        max-width: 620px;
    }

    .psychpen-onboarding__visual-copy h2 {
        font-size: 48px;
        max-width: 560px;
    }

    .psychpen-onboarding__visual-copy p {
        display: none;
    }

    .psychpen-onboarding__visual-proof {
        display: none;
    }

    .psychpen-onboarding__stage {
        margin-top: -42px;
        overflow: visible;
        padding: 0 18px 55px;
    }

    .psychpen-onboarding__glass {
        border-radius: 28px;
        min-height: 590px;
        padding: 30px 24px;
    }

    .psychpen-provider-grid,
    .psychpen-dashboard__grid {
        grid-template-columns: 1fr;
    }

    .psychpen-profile__hero {
        grid-template-columns: 130px 1fr;
    }

    .psychpen-book-card {
        grid-column: 1/-1;
    }

    .psychpen-profile__layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .psychpen-onboarding__visual {
        min-height: 255px;
    }

    .psychpen-onboarding__brand {
        font-size: 20px;
    }

    .psychpen-brand-mark {
        border-radius: 12px;
        height: 40px;
        width: 40px;
    }

    .psychpen-onboarding__visual-copy {
        margin-top: 37px;
    }

    .psychpen-onboarding__visual-copy h2 {
        font-size: 39px;
        margin-bottom: 0;
    }

    .psychpen-flow-head {
        align-items: flex-start;
        display: block;
        margin-bottom: 26px;
    }

    .psychpen-flow-head__title {
        font-size: 35px;
    }

    .psychpen-flow-progress {
        margin-top: 17px;
        width: 100%;
    }

    .psychpen-question__body {
        border-radius: 22px;
        padding: 24px 20px;
    }

    .psychpen-question__body h2 {
        font-size: 32px;
    }

    .psychpen-choice-grid,
    .psychpen-plan-choice,
    .psychpen-success__cards {
        grid-template-columns: 1fr;
    }

    .psychpen-multi__drawer {
        background: rgba(255,255,255,.99);
        bottom: 12px;
        box-shadow: 0 24px 75px rgba(11,39,31,.25);
        left: 12px;
        margin: 0;
        max-height: 74vh;
        overflow: hidden;
        padding: 12px;
        position: fixed;
        right: 12px;
        z-index: 99999;
    }

    .psychpen-multi__options {
        grid-template-columns: 1fr;
        max-height: 55vh;
    }

    .psychpen-hours__row {
        grid-template-columns: 1fr 1fr;
    }

    .psychpen-hours__day {
        grid-column: 1/-1;
    }

    .psychpen-hours__row > span {
        display: none;
    }

    .psychpen-review__sections p {
        grid-template-columns: 1fr;
    }

    .psychpen-review__sections p strong {
        text-align: left;
    }

    .psychpen-search__primary {
        grid-template-columns: 1fr;
    }

    .psychpen-search__primary button {
        min-height: 48px;
    }

    .psychpen-filter-panel {
        bottom: 10px;
        display: none;
        grid-template-columns: 1fr;
        left: 10px;
        margin: 0;
        max-height: 76vh;
        overflow: auto;
        position: fixed;
        right: 10px;
        z-index: 99999;
    }

    .psychpen-filter-panel.is-open {
        display: grid;
    }

    .psychpen-filter-open::before {
        background: rgba(7,26,21,.5);
        content: "";
        inset: 0;
        position: fixed;
        z-index: 99998;
    }

    .psychpen-provider-card {
        grid-template-columns: 84px 1fr;
        padding: 14px;
    }

    .psychpen-provider-card__photo {
        height: 84px;
    }

    .psychpen-provider-card__foot {
        align-items: flex-start;
        display: grid;
    }

    .psychpen-profile__hero {
        grid-template-columns: 1fr;
        padding: 21px;
    }

    .psychpen-profile__photo {
        height: 220px;
    }

    .psychpen-stat-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .psychpen-dashboard__head {
        align-items: flex-start;
        display: grid;
        gap: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .psychpen-onboarding *,
    .psychpen-directory *,
    .psychpen-profile *,
    .psychpen-dashboard * {
        animation-duration: 0.01ms !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}


/* --------------------------------------------------------------------------
   PsychPen 3.1 — full-screen selectors, friendly URLs and draft recovery
   -------------------------------------------------------------------------- */

html.psychpen-multi-modal-open,
html.psychpen-multi-modal-open body,
html.psychpen-resume-open,
html.psychpen-resume-open body {
    overflow: hidden !important;
}

.psychpen-autosave-status {
    color: #7b8c85;
    flex: 1;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 10px;
    font-weight: 650;
    text-align: center;
    transition: color 180ms ease;
}

.psychpen-autosave-status.is-saved {
    color: #2e6a58;
}

.psychpen-multi__modal {
    align-items: center;
    display: none;
    font-family: var(--psychpen-font);
    inset: 0;
    justify-content: center;
    padding: clamp(18px, 4vw, 56px);
    position: fixed;
    z-index: 2147483000;
}

.psychpen-multi__modal.is-open {
    animation: psychpenModalFade 180ms ease both;
    display: flex;
}

@keyframes psychpenModalFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.psychpen-multi__backdrop {
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background: rgba(10, 31, 25, 0.42);
    border: 0;
    cursor: default;
    inset: 0;
    padding: 0;
    position: absolute;
    width: 100%;
}

.psychpen-multi__dialog {
    animation: psychpenDialogIn 260ms cubic-bezier(.22,.78,.2,1) both;
    backdrop-filter: blur(32px) saturate(130%);
    -webkit-backdrop-filter: blur(32px) saturate(130%);
    background: rgba(252, 253, 252, 0.96);
    border: 1px solid rgba(255,255,255,.9);
    border-radius: 30px;
    box-shadow: 0 38px 110px rgba(8, 35, 27, 0.28);
    display: flex;
    flex-direction: column;
    max-height: min(780px, calc(100vh - 48px));
    max-width: 940px;
    overflow: hidden;
    position: relative;
    width: min(940px, calc(100vw - 36px));
    z-index: 2;
}

@keyframes psychpenDialogIn {
    from { opacity: 0; transform: translateY(20px) scale(.975); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.psychpen-multi__modal-head {
    align-items: flex-start;
    border-bottom: 1px solid rgba(18,55,47,.08);
    display: flex;
    gap: 24px;
    justify-content: space-between;
    padding: 28px 30px 22px;
}

.psychpen-multi__modal-head > div > span {
    color: #74877f;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .15em;
}

.psychpen-multi__modal-head h3 {
    color: var(--psychpen-ink);
    font-size: clamp(29px, 3.2vw, 43px);
    font-weight: 400;
    letter-spacing: -.03em;
    line-height: 1.05;
    margin: 8px 0 7px;
}

.psychpen-multi__modal-head p {
    color: #74827c;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 12px;
    margin: 0;
}

.psychpen-multi__close {
    align-items: center;
    background: #edf3f0;
    border: 0;
    border-radius: 50%;
    color: var(--psychpen-ink);
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 42px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 25px;
    font-weight: 300;
    height: 42px;
    justify-content: center;
    line-height: 1;
    padding: 0 0 2px;
    transition: transform 160ms ease, background 160ms ease;
}

.psychpen-multi__close:hover {
    background: #e3ece7;
    transform: rotate(4deg);
}

.psychpen-multi__modal .psychpen-multi__toolbar {
    align-items: center;
    background: rgba(250,252,251,.85);
    border-bottom: 1px solid rgba(18,55,47,.07);
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 14px 30px;
}

.psychpen-multi__modal .psychpen-multi__toolbar label {
    flex: 1;
    margin: 0;
}

.psychpen-multi__modal .psychpen-multi__toolbar input {
    background: #fff;
    border: 1px solid rgba(18,55,47,.12);
    border-radius: 14px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    height: 48px;
    margin: 0;
    outline: 0;
    padding: 0 15px;
    width: 100%;
}

.psychpen-multi__modal .psychpen-multi__toolbar input:focus {
    border-color: #8eaa9f;
    box-shadow: 0 0 0 4px rgba(92,132,116,.10);
}

.psychpen-multi__modal .psychpen-multi__toolbar > button {
    background: transparent;
    border: 0;
    color: #657a71;
    cursor: pointer;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 11px;
    font-weight: 700;
    padding: 12px 4px 12px 14px;
    white-space: nowrap;
}

.psychpen-multi__modal .psychpen-multi__options {
    display: grid;
    flex: 1;
    gap: 9px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: none;
    overflow: auto;
    padding: 22px 30px 26px;
    scrollbar-color: #bdccc6 transparent;
    scrollbar-width: thin;
}

.psychpen-multi__modal .psychpen-multi__option {
    align-items: center;
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(18,55,47,.09);
    border-radius: 15px;
    color: #29483f;
    display: flex;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 13px;
    font-weight: 600;
    gap: 12px;
    justify-content: flex-start;
    min-height: 58px;
    padding: 12px 14px;
    transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}

.psychpen-multi__modal .psychpen-multi__option:hover {
    background: #f5f8f6;
    border-color: rgba(18,55,47,.18);
    transform: translateY(-1px);
}

.psychpen-multi__modal .psychpen-multi__option i {
    align-items: center;
    border: 1px solid #c6d5cf;
    border-radius: 8px;
    display: inline-flex;
    flex: 0 0 24px;
    font-size: 11px;
    height: 24px;
    justify-content: center;
    order: -1;
    width: 24px;
}

.psychpen-multi__modal .psychpen-multi__option.is-selected {
    background: #edf5f1;
    border-color: #9eb9ad;
    color: var(--psychpen-ink);
}

.psychpen-multi__modal .psychpen-multi__option.is-selected i {
    background: var(--psychpen-ink);
    border-color: var(--psychpen-ink);
    color: #fff;
}

.psychpen-multi__modal-footer {
    align-items: center;
    background: rgba(250,252,251,.94);
    border-top: 1px solid rgba(18,55,47,.08);
    display: flex;
    justify-content: space-between;
    padding: 15px 30px;
}

.psychpen-multi__modal-footer span {
    color: #74847d;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 11px;
    font-weight: 650;
}

.psychpen-multi__modal-footer button {
    background: var(--psychpen-ink);
    border: 0;
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 12px;
    font-weight: 750;
    min-height: 44px;
    padding: 0 19px;
}

/* Resume/start-over autosave prompt */
.psychpen-resume-modal {
    align-items: center;
    display: none;
    inset: 0;
    justify-content: center;
    padding: 20px;
    position: fixed;
    z-index: 2147483001;
}

.psychpen-resume-modal.is-open {
    display: flex;
}

.psychpen-resume-modal__backdrop {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(9,31,24,.48);
    inset: 0;
    position: absolute;
}

.psychpen-resume-modal__dialog {
    animation: psychpenDialogIn 260ms cubic-bezier(.22,.78,.2,1) both;
    backdrop-filter: blur(34px) saturate(135%);
    -webkit-backdrop-filter: blur(34px) saturate(135%);
    background: rgba(252,253,252,.95);
    border: 1px solid rgba(255,255,255,.9);
    border-radius: 30px;
    box-shadow: 0 38px 110px rgba(8,35,27,.3);
    max-width: 530px;
    padding: clamp(30px, 5vw, 48px);
    position: relative;
    text-align: center;
    width: 100%;
    z-index: 2;
}

.psychpen-resume-modal__dialog > span {
    color: #6c8178;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .16em;
}

.psychpen-resume-modal__dialog h2 {
    color: var(--psychpen-ink);
    font-family: var(--psychpen-font);
    font-size: clamp(35px, 5vw, 49px);
    font-weight: 400;
    letter-spacing: -.04em;
    line-height: 1.02;
    margin: 13px 0 16px;
}

.psychpen-resume-modal__dialog p {
    color: #687a73;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    line-height: 1.65;
    margin: 0 auto;
    max-width: 410px;
}

.psychpen-resume-modal__dialog small {
    color: #8a9792;
    display: block;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 11px;
    margin-top: 13px;
}

.psychpen-resume-modal__dialog > div {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr 1fr;
    margin-top: 26px;
}

.psychpen-resume-modal__dialog button {
    border-radius: 999px;
    cursor: pointer;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 12px;
    font-weight: 750;
    min-height: 49px;
    padding: 0 17px;
}

.psychpen-resume-modal__dialog [data-resume-continue] {
    background: var(--psychpen-ink);
    border: 1px solid var(--psychpen-ink);
    color: #fff;
}

.psychpen-resume-modal__dialog [data-resume-restart] {
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(18,55,47,.15);
    color: var(--psychpen-ink);
}

@media (max-width: 700px) {
    .psychpen-autosave-status { display: none; }
    .psychpen-multi__modal { align-items: flex-end; padding: 0; }
    .psychpen-multi__dialog {
        border-radius: 26px 26px 0 0;
        max-height: 88vh;
        width: 100%;
    }
    .psychpen-multi__modal-head { padding: 22px 20px 17px; }
    .psychpen-multi__modal .psychpen-multi__toolbar { padding: 12px 20px; }
    .psychpen-multi__modal .psychpen-multi__options {
        grid-template-columns: 1fr;
        padding: 16px 20px 20px;
    }
    .psychpen-multi__modal-footer { padding: 13px 20px calc(13px + env(safe-area-inset-bottom)); }
    .psychpen-resume-modal__dialog > div { grid-template-columns: 1fr; }
}

.psychpen-multi__modal .screen-reader-text {
    border: 0 !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    clip-path: inset(50%) !important;
    height: 1px !important;
    margin: -1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    width: 1px !important;
}
