.profile-screen{max-width:1424px;margin:0 auto;padding:42px 56px 72px;color:#f6f6f5}.profile-back{display:inline-flex;align-items:center;gap:10px;color:#c4c6cc;text-decoration:none;font-size:14px}.profile-back svg{transform:rotate(180deg)}.profile-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:28px 0 48px}.profile-heading h1{font-family:Unbounded,sans-serif;font-size:clamp(30px,3.5vw,52px);line-height:1.2;letter-spacing:-.03em;margin:0 0 14px}.profile-heading p,.profile-section-heading p{color:#bcbfc6;line-height:1.6;margin:0}.profile-avatar{width:76px;height:76px;border-radius:50%;background:#fee252;color:#171717;display:grid;place-items:center;font:700 30px Unbounded,sans-serif;flex-shrink:0}.profile-layout{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:80px}.profile-section{padding:0 0 42px;margin-bottom:36px;border-bottom:1px solid #303239}.profile-screen h2{font:700 23px/1.4 Unbounded,sans-serif;letter-spacing:-.02em;margin:0 0 24px}.profile-form{display:grid;grid-template-columns:1fr 1fr;gap:22px}.profile-field{display:flex;flex-direction:column;gap:10px;color:#bfc1c8;font-size:14px}.profile-name{grid-column:1/-1}.profile-field input,.profile-field select{width:100%;box-sizing:border-box;background:#181a20;color:#f6f6f5;border:1px solid #41434b;border-radius:8px;padding:15px 16px;font:400 16px Onest,sans-serif;color-scheme:dark;min-height:52px}.profile-field input::placeholder{color:#969aa5}.profile-field :focus-visible,.profile-screen a:focus-visible,.profile-screen button:focus-visible{outline:2px solid #fee252;outline-offset:4px}.profile-form-footer{grid-column:1/-1;display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:6px}.profile-form-footer [role=status]{font-size:14px;color:#d2d4da}.profile-primary{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:12px;background:#fee252;color:#141517;border:0;border-radius:8px;padding:15px 22px;min-height:50px;text-decoration:none;font:600 15px/1.35 Onest,sans-serif;cursor:pointer}.profile-primary:hover{background:#fff080}.profile-primary:disabled{opacity:.5;cursor:wait}.profile-section-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:22px}.profile-section-heading h2{margin:0}.profile-section-heading>a{display:flex;align-items:center;gap:8px;font-size:14px;color:#c7c9cf;text-decoration:none}.profile-subject-list{display:grid}.profile-subject{display:flex;gap:18px;align-items:center;padding:18px 0;border-bottom:1px solid #292b31;color:#f6f6f5;text-decoration:none}.profile-subject:last-child{border-bottom:0}.profile-subject img{width:62px;height:62px;object-fit:cover;object-position:top;border-radius:9px;background:#272930}.profile-subject>div{flex:1}.profile-subject strong{font-size:18px;font-weight:600}.profile-subject span{display:block;color:#aaafb9;font-size:14px;margin-top:6px}.profile-subject>svg{color:#fee252}.profile-subject:hover strong{color:#fee252}.profile-subscription{padding:28px;background:#1b1c21;border-radius:12px}.profile-subscription h2{font-size:20px;margin:0 0 14px}.profile-subscription p,.profile-report-intro p{font-size:15px;color:#bfc2ca;line-height:1.65;margin:0 0 20px}.profile-subscription-price{font:700 30px/1.3 Onest,sans-serif;margin:26px 0 8px}.profile-subscription-price span{font-size:15px;color:#bfc2ca;font-weight:400}.profile-subscription .profile-primary{width:100%;box-sizing:border-box}.profile-muted{color:#aeb2bc;font-size:15px;line-height:1.6}.profile-report-intro{padding-top:36px}.profile-report-intro h2{font-size:20px;margin:0 0 14px}.profile-report-jump{display:inline-flex;align-items:center;gap:12px;color:#fee252;text-decoration:none;font-size:15px}.profile-report-section{scroll-margin-top:100px;padding-top:12px}.profile-report-section .profile-section-heading{align-items:flex-start}.profile-report-section .profile-section-heading h2{margin-bottom:12px}.profile-period{min-width:210px}.profile-report-sheet{padding:32px;background:#f3f0e8;color:#202127;border-radius:10px}.profile-report-sheet-head{display:flex;justify-content:space-between;gap:20px;font-size:13px;color:#595b62;padding-bottom:20px;border-bottom:1px solid #cfcec9}.profile-report-sheet h3{font:700 25px/1.3 Onest,sans-serif;margin:24px 0 12px}.profile-report-sheet p{color:#55575e;font-size:14px;line-height:1.65;max-width:75ch}.profile-report-table-wrap{overflow-x:auto}.profile-report-sheet table{border-collapse:collapse;width:100%;font-size:14px;text-align:left;margin:20px 0}.profile-report-sheet th,.profile-report-sheet td{padding:16px 12px 16px 0;border-bottom:1px solid #cecdc8;vertical-align:top;line-height:1.5}.profile-report-sheet thead th{font-size:12px;color:#65666c;font-weight:500}.profile-report-sheet tbody th{font-weight:600;min-width:130px}.profile-report-sheet small{display:block;font-weight:400;color:#676971;margin-top:5px;font-size:12px}.profile-report-footer{display:flex;align-items:center;gap:24px;margin-top:24px}.profile-report-footer p{max-width:340px;color:#aeb2bc;font-size:13px;line-height:1.6}.profile-demo-note{margin-top:48px;padding-top:22px;border-top:1px solid #292b31;color:#9298a4;font-size:12px;line-height:1.6;max-width:80ch}@media(max-width:1050px){.profile-screen{padding:32px}.profile-layout{gap:36px;grid-template-columns:minmax(0,1fr) 300px}}@media(max-width:760px){.profile-screen{padding:24px 20px 48px}.profile-heading{margin:24px 0 36px}.profile-heading p{font-size:14px}.profile-avatar{width:52px;height:52px;font-size:22px}.profile-layout{display:flex;flex-direction:column;gap:0}.profile-aside{display:grid;gap:28px;margin-bottom:42px}.profile-report-intro{padding:0}.profile-form{gap:18px}.profile-screen h2{font-size:20px}.profile-section-heading{align-items:flex-start;flex-direction:column;gap:12px}.profile-period{width:100%}.profile-report-sheet{padding:22px 18px}.profile-report-sheet-head{flex-direction:column;gap:8px}.profile-report-sheet table{min-width:440px}.profile-report-footer{align-items:flex-start;flex-direction:column;gap:8px}.profile-report-footer .profile-primary{width:100%}.profile-section{margin-bottom:24px;padding-bottom:28px}}@media(prefers-reduced-motion:reduce){.profile-screen{scroll-behavior:auto}}

.profile-period-form{display:grid;gap:10px}.profile-period-form button{padding:0;border:0;background:none;font:500 14px Onest,sans-serif;cursor:pointer;text-align:left}

button.profile-report-jump{border:0;background:none;padding:0;font-family:Onest,sans-serif;cursor:pointer}

.profile-package-comparison{display:block;color:#bfc2ca;font-size:14px;margin:22px 0 0}.profile-package-comparison+.profile-subscription-price{margin-top:6px}

.profile-avatar{overflow:hidden}.profile-avatar img{width:100%;height:100%;object-fit:cover}.profile-upload-hint{font-size:12px;color:#aeb2bc}.profile-readonly{grid-column:1/-1;color:#bfc1c8;margin:0}.profile-field input[type=file]{font-size:14px}.profile-field input[type=file]::file-selector-button{background:#2c3039;color:#f6f6f5;border:0;border-radius:5px;padding:8px 12px;margin-right:12px;font-family:Onest,sans-serif;cursor:pointer}

button.profile-avatar{border:0;padding:0;cursor:pointer}button.profile-avatar:hover{outline:2px solid #fee252;outline-offset:5px}button.profile-avatar:focus-visible{outline:3px solid #fee252;outline-offset:5px}

.profile-subject-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.profile-subject-cards .subject-card{width:100%;min-width:0;aspect-ratio:1.05;height:auto}.profile-subject-cards .card-title{font-size:22px}.profile-avatar{cursor:pointer;position:relative}.profile-avatar:hover{outline:2px solid var(--yellow);outline-offset:5px}.profile-avatar:after{content:'Изменить фото';position:absolute;top:calc(100% + 10px);left:50%;transform:translateX(-50%);white-space:nowrap;font:11px Onest,sans-serif;color:var(--muted)}@media(max-width:1100px){.profile-subject-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.profile-subject-cards{grid-template-columns:1fr}.profile-subject-cards .subject-card{aspect-ratio:1.3}.profile-subject-cards .card-title{font-size:28px}}
.profile-service{margin-top:32px;padding-top:24px;border-top:1px solid var(--line)}.profile-service h2{font-size:18px;margin-bottom:16px}.profile-service>a{display:flex;justify-content:space-between;padding:12px 0;color:var(--yellow)}.profile-service summary,.support-help summary{cursor:pointer;padding:16px 0}.profile-service nav a{display:block;font-size:13px;line-height:1.5;padding:9px 0;color:#c8cbd0}.profile-service details{border-top:1px solid var(--line)}.support-screen{max-width:900px}.support-screen h1{font-size:clamp(32px,5vw,56px);margin-top:28px}.support-intro{margin:20px 0 40px;color:var(--muted)}.support-help h2,.support-contact h2{font-size:22px;margin-bottom:20px}.support-help details{border-bottom:1px solid var(--line)}.support-help p,.support-contact p{color:#c8cbd0;line-height:1.65;padding-bottom:20px;max-width:65ch}.support-contact{margin-top:40px}.demo-footer>a{margin-left:auto}
.profile-support{display:flex;align-items:center;justify-content:space-between;width:100%;padding:12px 0;text-align:left;color:var(--yellow)}.support-chat[hidden]{display:none}.support-chat{position:fixed;z-index:80;right:24px;bottom:24px;width:390px;height:min(570px,calc(100dvh - 48px));display:flex;flex-direction:column;background:#10151b;border:1px solid #49515a;border-radius:14px;overflow:hidden;animation:support-enter .22s ease-out}.support-chat-header{display:flex;align-items:center;gap:12px;padding:20px;border-bottom:1px solid #ffffff24}.support-chat-header>img{width:32px;height:32px;object-fit:contain}.support-chat-header h2{font:600 20px Onest,sans-serif;letter-spacing:0;margin:0}.support-chat-header span{font-size:12px;color:#b5bec7}.support-chat-close{margin-left:auto;width:36px;height:36px;display:grid;place-items:center}.support-chat-messages{flex:1;min-height:80px;overflow:auto;padding:22px 18px}.support-chat-messages p{background:#1c242d;border-radius:12px;padding:16px;font-size:14px;line-height:1.6;margin:0;max-width:95%}.support-chat-form{margin:0 16px 16px;border:1px solid #4b5560;border-radius:10px;padding:12px}.support-chat-label{display:block;font-size:12px;color:#b5bec7;margin-bottom:8px}.support-chat-form textarea{width:100%;min-height:90px;max-height:180px;resize:vertical;border:0;background:transparent;color:#f5f5f4;font:15px/1.5 Onest,sans-serif}.support-chat-bottom{display:flex;align-items:center;gap:12px;margin-top:12px}.support-chat-bottom span{font-size:11px;line-height:1.45;color:#b5bec7;flex:1}.support-chat-bottom button{display:grid;place-items:center;width:42px;height:38px;border-radius:7px;background:#303740}.support-chat button:focus-visible,.support-chat textarea:focus-visible{outline:2px solid var(--yellow);outline-offset:2px}@keyframes support-enter{from{transform:translateY(24px);opacity:.6}to{transform:translateY(0);opacity:1}}@media(max-width:600px){.support-chat{left:12px;right:12px;bottom:12px;width:auto;height:min(570px,calc(100dvh - 24px))}}@media(prefers-reduced-motion:reduce){.support-chat{animation:none}}

.profile-contact-row{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;padding:4px 0 12px}.profile-contact-row a,.profile-contact-row button{color:var(--yellow);font:400 15px/1.5 Onest,sans-serif;text-decoration:none}.profile-contact-row button{border:0;background:none;border-radius:0;padding:10px 0;min-height:44px;cursor:pointer}.profile-contact-row a:hover,.profile-contact-row button:hover{text-decoration:underline}.profile-contact-row button:focus-visible{outline:2px solid var(--yellow);outline-offset:4px}

.support-chat-messages{display:flex;flex-direction:column;gap:12px}.support-chat-messages p{flex-shrink:0}.support-chat-messages .support-user{align-self:flex-end;background:#343322}.support-chat-bottom button:not(:disabled){background:var(--yellow);color:#141619}

.profile-heading-actions{display:flex;align-items:center;gap:24px;flex-shrink:0}.profile-logout-form{margin:0}.profile-logout-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;border:1px solid #676d77;border-radius:8px;background:transparent;color:#f6f6f5;font:500 15px/1.4 Onest,sans-serif;cursor:pointer}.profile-logout-button:hover{background:#242930;border-color:#bfc1c8}.profile-logout-button:active{background:#303740}@media(max-width:600px){.profile-heading{align-items:flex-start;flex-wrap:wrap;gap:24px}.profile-heading-actions{width:100%;justify-content:space-between}.profile-heading-actions .profile-avatar{width:56px;height:56px;font-size:24px}.profile-heading-actions .profile-avatar:after{display:none}}

/* Profile actions keep button spacing instead of inheriting plain-link styles. */
.profile-service>a.profile-primary{box-sizing:border-box;width:100%;justify-content:center;padding:15px 22px;color:#141517;text-align:center;line-height:1.4}
.profile-service>a.profile-primary svg{flex-shrink:0}
.payment-settings .payment-card{padding:18px 0;border-bottom:1px solid var(--line)}
.payment-settings .payment-card:last-child{border-bottom:0}
.payment-settings .payment-note,.payment-settings .payment-period{color:#bfc2ca;font-size:15px;line-height:1.6;margin:8px 0 12px}
.payment-settings .payment-link{display:inline-flex;align-items:center;justify-content:flex-start;min-height:44px;padding:10px 0;border:0;background:transparent;color:var(--yellow);font:500 15px/1.4 Onest,sans-serif;text-align:left;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.payment-settings .payment-row{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}
.payment-settings .profile-subscription-price{font-size:24px;margin:12px 0}
@media(max-width:760px){.profile-aside{order:-1}.profile-service>a.profile-primary{min-height:50px}}

.profile-service>p{margin:0 0 16px;line-height:1.6;color:#bfc2ca}

.payment-settings .payment-card>div:not(.profile-subscription-price):not(.payment-row){display:flex;flex-direction:column;gap:6px}

.profile-main>.profile-gifts-section{margin-top:0;padding-top:0;border-top:0}.profile-gifts-section>a.profile-primary{max-width:350px}

.profile-subject-cards .card-title{font-size:clamp(18px,1.5vw,22px);overflow-wrap:anywhere;max-width:100%;white-space:normal}
