.journal-page[data-workspace=mentor]{--journal-sidebar:0px}
.journal-page[data-workspace=mentor] .journal-sidebar,.journal-page[data-workspace=mentor] .journal-toolbar{display:none}
.journal-page[data-workspace=mentor] .journal-content{padding:0}
.mentor-page{min-height:calc(100dvh - var(--header));background:#fafafa;color:#18191b}
.mentor-page-header{min-height:64px;display:flex;align-items:center;padding:14px 16px;border-bottom:1px solid #dedfe3}
.mentor-page-header h1{font-size:24px;line-height:1.4;font-weight:500;letter-spacing:-.4px;margin:0}
.mentor-content{max-width:860px;margin:auto;padding:26px 24px 64px;text-align:center}
.mentor-welcome-icon{display:grid;place-items:center;margin:0 auto 22px;width:102px;height:92px;border:1px solid #a8c9f6;border-radius:13px;background:#edf4fc;color:#086aff}
.mentor-welcome-icon svg{width:48px;height:48px;stroke-width:1.8}
.mentor-welcome h2{margin:0 0 8px;color:#086aff;font-size:34px;line-height:1.3;letter-spacing:-.6px;font-weight:600}
.mentor-welcome p{font-size:16px;line-height:1.5;color:#666;margin:0}
.mentor-role-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;max-width:608px;margin:42px auto 0;padding:0;border:0;min-width:0}
.mentor-role-card{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:250px;padding:30px 20px;border:1px solid #ececee;border-radius:17px;background:#f5f5f7;cursor:pointer}
.mentor-role-card input{position:absolute;inset:0;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}
.mentor-role-radio{position:absolute;top:18px;right:18px;width:20px;height:20px;border:2px solid #dedfe3;border-radius:50%;background:#fafafa}
.mentor-role-card input:checked+.mentor-role-radio{border-color:#086aff;background:#086aff;box-shadow:none}.mentor-role-card input:checked+.mentor-role-radio::after{content:"✓";display:block;color:#fff;font-size:15px;line-height:16px;text-align:center}
.mentor-role-card:hover{border-color:#a8c9f6;background:#f2f6fc}
.mentor-role-card:has(input:checked){border-color:#086aff;background:linear-gradient(135deg,#eef3f8,#dbe4ee);min-height:290px;box-shadow:0 8px 22px #086aff0a}
.mentor-role-card:has(input:focus-visible){outline:2px solid #086aff;outline-offset:4px}
.mentor-role-icon{display:block;color:#737373;margin-bottom:14px}
.mentor-role-icon svg{width:44px;height:44px}
.mentor-role-card strong{font-size:20px;line-height:1.4;font-weight:500;margin-bottom:14px}
.mentor-role-card em{color:#086aff;font-style:normal}
.mentor-role-description{font-size:14px;line-height:1.5;color:#666}
.mentor-role-choice{display:contents}.mentor-role-choice input{z-index:1}.mentor-invite-button{position:relative;z-index:2;margin-top:24px;min-height:40px;padding:10px 16px;border:0;border-radius:8px;background:#086aff;color:#fff;font-size:14px;line-height:20px;font-weight:600;cursor:pointer}.mentor-invite-button:hover{background:#0057dc}.mentor-invite-button:focus-visible{outline:2px solid #086aff;outline-offset:4px}
.mentor-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:48px}
.mentor-benefit-check{display:grid;place-items:center;background:#e7f0ff;color:#086aff;width:40px;height:40px;border-radius:50%;margin:0 auto 10px}
.mentor-benefit-check svg{width:23px;height:23px}
.mentor-benefits h3{font-size:16px;font-weight:500;line-height:1.5;margin:0 0 2px}
.mentor-benefits p{font-size:14px;line-height:1.5;color:#666;margin:0}
@media(max-width:700px){.mentor-content{padding:26px 18px 48px}.mentor-welcome h2{font-size:28px}.mentor-role-options{gap:16px;margin-top:30px}.mentor-role-card{min-height:220px;padding:32px 12px 20px}.mentor-role-card strong{font-size:18px}.mentor-benefits{gap:16px;margin-top:32px}.mentor-benefits p{font-size:13px}}
@media(max-width:440px){.mentor-role-options{grid-template-columns:1fr;max-width:290px}.mentor-role-card{min-height:210px}.mentor-benefits{grid-template-columns:1fr;gap:24px}.mentor-welcome h2{font-size:26px}.mentor-welcome p br{display:none}}

#journal-dialog:has(.mentor-invite-form){box-sizing:border-box;width:min(444px,calc(100% - 32px));padding:30px 24px 32px;border-radius:12px;border:0;box-shadow:0 24px 65px #10274640}
#journal-dialog:has(.mentor-invite-form)::backdrop{background:#1018278c;backdrop-filter:blur(1px)}
#journal-dialog:has(.mentor-invite-form) #dialog-title{font-size:24px;line-height:29px;font-weight:500;margin:0 40px 18px 0;color:#111820;letter-spacing:-.4px}
#journal-dialog:has(.mentor-invite-form) .dialog-close{top:22px;right:26px;width:44px;height:44px;padding:0;font-size:28px;line-height:1;font-weight:400;color:#607d8b;background:none}
.mentor-invite-form h3{display:flex;align-items:center;gap:10px;margin:0;color:#111820;font-size:16px;line-height:22px;font-weight:400}.mentor-invite-form h3 svg{display:block;flex:0 0 20px;width:20px;height:20px;color:#666}
.mentor-invite-email input{box-sizing:border-box;display:block;width:100%;height:40px;margin:8px 0;padding:0 11px;border:1px solid #dedede;border-radius:8px;background:#fff;color:#17212c;font-size:14px;outline:none}.mentor-invite-email input:focus{border-color:#76adf5;box-shadow:0 0 0 3px #ddebff}.mentor-invite-email input::placeholder{color:#777}
.mentor-send-invite{min-height:40px;padding:10px 15px;border:0;border-radius:8px;background:#086aff;color:#fff;font-size:14px;line-height:20px;font-weight:600}.mentor-send-invite:disabled{background:#eee;color:#bdbdbd;cursor:not-allowed}
.mentor-invite-error{margin:0 0 10px;color:#bd2d3a;font-size:13px}.mentor-invite-link{margin-top:16px;padding-top:12px;border-top:1px solid #ededed}.mentor-invite-link>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-right:16px}
.mentor-link-switch{position:relative;flex:none;width:40px;height:24px;padding:3px;border:0;border-radius:20px;background:#eee;transition:background .15s}.mentor-link-switch span{display:block;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 4px #10274610;transition:transform .15s}.mentor-link-switch[aria-checked=true]{background:#086aff}.mentor-link-switch[aria-checked=true] span{transform:translateX(16px)}
.mentor-link-copy{display:flex;gap:8px;margin-top:15px}.mentor-link-copy input{min-width:0;flex:1;height:42px;padding:0 11px;border:1px solid #d5dce5;border-radius:8px;color:#5c6b7c;background:#f7f9fb}.mentor-link-copy button{border:0;border-radius:8px;padding:0 15px;background:#e8f2ff;color:#086aff;font-weight:600}.mentor-invite-status{min-height:20px;margin:15px 0 0;color:#397458;font-size:13px}
.mentor-invite-status:empty{display:none}
@media(max-width:380px){#journal-dialog:has(.mentor-invite-form){padding-inline:20px}.mentor-link-copy{flex-direction:column}.mentor-link-copy button{min-height:40px}}
