.personal-status-editor__purchase,.personal-status-editor__purchase-options{gap:5px;display:grid}.personal-status-editor__label{font-size:14px;font-weight:600}.ios-switch{width:max-content;max-width:100%;min-height:44px;color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:0;font-size:14px;font-weight:600;display:inline-flex}.ios-switch:disabled{cursor:default;opacity:.65}.ios-switch__track{background:#d7dcd9;border-radius:999px;width:38px;height:22px;transition:background .16s;position:relative;box-shadow:inset 0 0 0 1px #2023221f}.ios-switch__thumb{background:#fff;border-radius:50%;width:16px;height:16px;transition:transform .16s;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #2023223d}.ios-switch.is-on{color:var(--green)}.ios-switch.is-on .ios-switch__track{background:var(--green)}.ios-switch.is-on .ios-switch__thumb{transform:translate(16px)}.ios-switch:focus-visible .ios-switch__track{outline:3px solid var(--focus);outline-offset:3px}
.admin-console,.admin-social{width:100%;min-width:0;max-width:none}.admin-console .panel,.admin-social .panel{border-radius:var(--radius-dialog);background:var(--surface);padding:20px}.admin-mobile-filters{display:none}.admin-filter-fields{grid-template-columns:minmax(0,1fr);min-width:0;display:grid}.admin-filter-fields>label{min-width:0;color:var(--text);gap:8px;font-size:13px;font-weight:600;display:grid}.admin-filter-fields :is(input,select){width:100%;min-width:0;max-width:100%;min-height:var(--control-size);border:1px solid var(--input-border);border-radius:var(--radius-control);background:var(--surface);color:var(--text);font-size:var(--control-font);padding:10px 12px}.admin-filter-fields .filter-bar__reset .ui-button{white-space:normal;width:100%}.admin-summary{gap:16px;margin:20px 0}.admin-console .admin-summary-card{border-radius:var(--radius-dialog);background:var(--surface);min-height:156px;color:var(--text);box-shadow:none;padding:20px}.admin-summary-card span,.admin-summary-card small{font-size:13px}.admin-summary-card strong{font-size:36px}.admin-console :is(.admin-health,.admin-notice) p{font-size:14px;line-height:1.6}.admin-console .admin-notice{margin:0 0 20px}.admin-console .admin-table-wrap{border-radius:var(--radius-dialog);background:var(--surface);overscroll-behavior-x:contain;min-width:0;max-width:100%;position:relative}.admin-console .admin-table{table-layout:auto;min-width:720px}.admin-console .admin-table :is(th,td){padding:16px;font-size:14px}.admin-console .admin-table th{background:var(--canvas);color:var(--muted);text-transform:none;letter-spacing:0;white-space:nowrap;font-size:12px}.admin-console .admin-table td{overflow-wrap:anywhere}.admin-console .admin-table tbody tr:hover{background:var(--canvas)}.admin-console .admin-table :is(small,code){font-size:12px}.admin-console .admin-table input[type=checkbox]{width:18px;height:18px;accent-color:var(--accent)}.admin-console .admin-table .ui-button{white-space:nowrap;min-height:44px}.admin-console .admin-pager{gap:12px;margin-top:0;padding:16px 0}.admin-console .admin-pager span{font-size:14px}.admin-console .admin-bulk{gap:12px;margin-bottom:16px;padding:12px 16px}.admin-console .admin-bulk span{font-size:14px}.admin-console .admin-purchase-rules,.admin-console .admin-provider-checks{gap:20px;margin-top:0}.admin-purchase-rules__field,.admin-social-form label,.admin-model-form label,.admin-social-token-modal label,.admin-review-reason{font-size:14px;font-weight:600}.admin-purchase-rules__field :is(input,textarea),.admin-model-form :is(input,select,textarea),.admin-social-form :is(input:not([type=checkbox]),select),.admin-social-token-modal input,.admin-social-topic-create input,.admin-review-reason textarea,.admin-review .component-form :is(input,select){box-sizing:border-box;border:1px solid var(--input-border);border-radius:var(--radius-control);background:var(--surface);width:100%;min-width:0;min-height:44px;color:var(--text);font:inherit;padding:10px 12px;font-size:14px}.admin-purchase-rules__field textarea,.admin-review-reason textarea{resize:vertical;min-height:112px;line-height:1.6}.admin-purchase-rules__item{border-radius:var(--radius-control);background:var(--canvas);padding:16px}.admin-purchase-rules__item .ui-button{min-height:44px}.admin-console :is(input,select,textarea):focus-visible,.admin-social :is(input,select,textarea):focus-visible,.admin-filter-fields :is(input,select):focus-visible{outline:2px solid var(--accent);outline-offset:2px;box-shadow:none}.admin-console .admin-table-wrap:focus-visible,.admin-summary-card:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.admin-provider-checks__grid,.admin-social__grid{gap:20px}.admin-social :is(.admin-social__heading p,.admin-social-form p,.admin-social-danger p,.admin-social-card header p,.admin-social-card dd,.admin-social-card dt,.admin-social-token-field>small),.admin-provider-checks :is(p,small),.admin-provider-card header p{font-size:13px;line-height:1.6}.admin-social__heading h2,.admin-social-form h2,.admin-social-danger h2,.admin-provider-checks h2{font-size:18px}.admin-social-card dl{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.admin-social-card dl div{background:var(--canvas);border-radius:var(--radius-control);overflow-wrap:anywhere;min-width:0;padding:12px}.admin-social-card header{overflow-wrap:anywhere;min-width:0}.admin-social-card .button-row{margin-top:auto}.admin-social .admin-social-route{background:var(--canvas);border-radius:var(--radius-control);grid-template-columns:minmax(150px,1fr) minmax(140px,220px) minmax(140px,220px) minmax(160px,220px) auto;padding:16px}.admin-social-route select{min-height:44px;color:var(--text);border-color:var(--input-border);font-size:14px}.admin-social-route :is(strong,span,small),.admin-social-topic :is(strong,span),.admin-social-topic-action>span{overflow-wrap:anywhere;font-size:13px}.admin-social-toggle{background:0 0;border:0;min-height:44px;padding:8px 0;font-size:14px}.admin-social-toggle__track{flex-shrink:0}.admin-review-reason{gap:10px;margin:20px 0;display:grid}.admin-review-summary{flex-wrap:wrap;gap:12px;margin-bottom:20px;display:flex}.admin-review-summary>span{background:var(--canvas);border:1px solid var(--separator);border-radius:var(--radius-control);gap:12px;padding:12px 16px;font-size:14px;display:flex}.admin-review .component-review-tools{border:1px solid var(--separator);border-radius:var(--radius-dialog);background:var(--surface);padding:20px}.admin-review .component-review-tools summary{cursor:pointer;font-size:16px;font-weight:600}.admin-review .component-form{margin-top:16px}.admin-review .admin-review-card{box-shadow:none;margin-bottom:16px}.admin-review-card :is(p,a){overflow-wrap:anywhere;font-size:14px}.admin-review-card .component-actions{flex-wrap:wrap;gap:10px;display:flex}.admin-review-card .ui-button{white-space:normal;min-height:44px}@media (max-width:1200px){.admin-social .admin-social-route{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-social-route>div:first-child{grid-column:1/-1}.admin-social__grid,.admin-provider-checks__grid{grid-template-columns:minmax(0,1fr)}}@media (max-width:800px){.admin-mobile-filters{margin-bottom:16px;display:flex}.admin-mobile-filters .ui-button{display:inline-flex}.admin-console .panel,.admin-social .panel{padding:16px}.admin-console .admin-table :is(th,td){padding:12px}.admin-social-form__grid,.admin-social-topic-actions{grid-template-columns:minmax(0,1fr)}.admin-social :is(.panel-heading,.admin-social__heading){flex-wrap:wrap}.admin-social .admin-social-route{grid-template-columns:minmax(0,1fr)}.admin-social-route>div:first-child{grid-column:auto}.admin-social-form__grid>*{min-width:0}.admin-purchase-rules__heading,.admin-purchase-rules__group-heading{flex-wrap:wrap}.admin-purchase-rules__item{grid-template-columns:minmax(0,1fr)}.admin-purchase-rules__item .ui-button{justify-self:start}.admin-social-card dl{grid-template-columns:minmax(0,1fr)}.admin-review .component-review-tools{padding:16px}}.admin-detail :is(strong,dd),.admin-detail__roles h3,.admin-role-switch strong{font-size:14px}.admin-detail :is(small,dt),.admin-role-switch small,.admin-detail__note{font-size:13px;line-height:1.6}.admin-detail__note{background:var(--warning-soft);color:var(--warning)}.admin-detail dl div{background:var(--canvas)}.admin-icon-button{border-radius:var(--radius-control);width:44px;height:44px;min-height:44px}.admin-model-form :is(input,textarea,select),.admin-purchase-rules__field :is(input,textarea),.admin-social-form :is(input:not([type=checkbox]),select),.admin-review-reason textarea{font-weight:400}.admin-audit-detail :is(p,pre){font-size:13px}.site-settings-materials-switch{text-align:left;line-height:1.5}.site-settings-materials-switch .ios-switch__track{flex-shrink:0}.site-settings-donation-row{gap:6px;min-width:0;display:grid}.site-settings-donation-row__controls{align-items:stretch;gap:10px;min-width:0;display:flex}.site-settings-donation-row__controls input{box-sizing:border-box;border:1px solid var(--input-border);border-radius:var(--radius-control);background:var(--surface);width:0;min-width:0;height:44px;color:var(--text);font:inherit;flex:1;padding:10px 12px;font-size:14px}.site-settings-donation-row__controls .ui-button{flex-shrink:0;height:44px;min-height:44px}.site-settings-materials-row{color:var(--text);justify-content:space-between;align-items:center;gap:16px;font-size:14px;font-weight:600;line-height:1.5;display:flex}.site-settings-materials-row>span{min-width:0}.site-settings-materials-switch{flex-shrink:0}.relation-moderation .admin-table td{vertical-align:top}.relation-moderation-table th:first-child{width:16%}.relation-moderation-table th:nth-child(2){width:42%}.relation-moderation-actions{flex-wrap:wrap;align-items:flex-start;gap:8px;display:flex}.relation-moderation-facts{gap:8px;min-width:0;margin:0;display:grid}.relation-moderation-facts div{min-width:0}.relation-moderation-facts dt{color:var(--muted);font-size:12px}.relation-moderation-facts dd{overflow-wrap:anywhere;margin:2px 0 0}.relation-moderation-text{white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.relation-history-modal>.ui-modal{width:min(960px,100vw - 32px)}.relation-history-modal .admin-table{min-width:640px}.relation-history-modal :is(th,td){overflow-wrap:anywhere;padding:12px;font-size:13px}.relation-history-modal .admin-detail{min-width:0}.relation-moderation-table td:nth-child(3){white-space:nowrap}@media (max-width:800px){.relation-moderation .admin-table-wrap>.relation-moderation-table{table-layout:fixed;width:720px;min-width:720px}.relation-moderation-table th:nth-child(3){width:120px}}
.profile-page{gap:20px;width:100%;min-width:0}.profile-page>[role=tabpanel][hidden]{display:none}.profile-page>[role=tabpanel]{min-width:0}.profile-page .panel{border:1px solid var(--separator);border-radius:var(--radius-dialog);background:var(--surface);color:var(--text);box-shadow:none;padding:24px}.profile-page .profile-card{gap:24px}.profile-page .profile-card__identity h2{letter-spacing:-.02em;font-size:24px}.profile-page .profile-role{font-size:14px;line-height:1.6}.profile-page .profile-details{border-color:var(--separator);gap:16px;padding:24px 0}.profile-page .profile-details>div{min-width:0}.profile-page .profile-details dt{color:var(--text-muted);font-size:13px}.profile-page .profile-details dd{font-size:14px;line-height:1.6}.profile-page .button-row{gap:12px;margin-top:0}.profile-page .ui-button,.profile-payment-modal .ui-button{white-space:normal;min-height:44px}.profile-page>.profile-tabs{border-color:var(--separator);flex-wrap:wrap;gap:8px}.profile-page>.profile-tabs [role=tab]{min-height:44px;padding:12px 16px;font-size:14px}.profile-page .profile-settings{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:20px}.profile-page .profile-settings__card{gap:20px;min-width:0;max-width:none;margin:0;display:grid}.profile-page .profile-settings__payments{grid-column:1/-1}.profile-page .profile-settings__card h2{letter-spacing:-.02em;margin:0;font-size:18px}.profile-page .profile-settings__card :is(p,dt,dd){font-size:14px;line-height:1.6}.profile-page .profile-settings__card .form-hint{color:var(--text-muted);margin:8px 0 0;font-size:13px}.profile-page .profile-settings__card label,.profile-payment-modal .profile-settings__fields>label{gap:8px;min-width:0;font-size:14px;font-weight:600;display:grid}.profile-page .profile-settings__card input:not([type=checkbox]):not([type=file]),.profile-payment-modal .profile-settings__fields :is(input:not([type=checkbox]),select,textarea){box-sizing:border-box;border:1px solid var(--input-border);border-radius:var(--radius-control);background:var(--surface);width:100%;min-width:0;max-width:100%;min-height:44px;color:var(--text);font:inherit;padding:10px 12px;font-size:14px;font-weight:400}.profile-page .profile-settings__card input:disabled{background:var(--canvas);color:var(--text-muted);opacity:1}.profile-page .profile-settings__card input:focus-visible,.profile-payment-modal :is(input,select,textarea):focus-visible{outline:2px solid var(--accent);outline-offset:2px;box-shadow:none}.profile-page .profile-settings__identity>button{justify-self:start}.profile-page .profile-edit-avatar{flex-wrap:wrap;gap:16px}.profile-page .profile-preferences{border-color:var(--separator)}.profile-page .profile-preferences .profile-preference{border-color:var(--separator);gap:16px;padding:20px 0;display:flex}.profile-page .profile-preference>span{min-width:0}.profile-page .profile-preference strong{font-size:14px;line-height:1.5}.profile-page .profile-preference small{color:var(--text-muted);font-size:13px;line-height:1.6}.profile-page .profile-preference input{flex-shrink:0}.profile-page .telegram-account__details>div{grid-template-columns:minmax(80px,110px) minmax(0,1fr)}.profile-page .telegram-account__details dt{color:var(--text-muted)}.profile-page .payment-methods-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:16px}.profile-page :is(.payment-method-card,.payment-method-add){border-radius:var(--radius-control);background:var(--canvas);min-width:0;color:var(--text);padding:20px;transform:none}.profile-page .payment-method-card :is(b,span),.profile-page .payment-method-add strong{font-size:14px}.profile-page .payment-method-card :is(small,em){overflow-wrap:anywhere;font-size:12px}.profile-page :is(.payment-method-card,.payment-method-add):focus-visible{outline:2px solid var(--accent);outline-offset:3px}.profile-payment-modal .profile-settings__fields textarea{resize:vertical;min-height:100px}.profile-payment-modal .payment-method-form__actions{flex-wrap:wrap}@media (max-width:1000px){.profile-page .profile-settings{grid-template-columns:minmax(0,1fr)}.profile-page .profile-settings__payments{grid-column:auto}}@media (max-width:700px){.profile-page .panel{padding:16px}.profile-page .profile-details{grid-template-columns:minmax(0,1fr);padding:20px 0}.profile-page .profile-card__identity{gap:16px}.profile-page .profile-card__identity h2{font-size:20px}.profile-page>.profile-tabs{gap:0}.profile-page>.profile-tabs [role=tab]{padding:12px}.profile-page .profile-settings{gap:16px}}
