html,body,#root{background:#f5f7fb;width:100%;height:100%;margin:0;padding:0;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}body{overflow:hidden}#root>.ant-layout,#root>.ant-layout>.ant-layout{min-height:100vh;max-height:100vh;overflow:hidden}.ant-layout-sider{height:100vh;overflow:hidden}.ant-layout-sider-children{flex-direction:column;height:100%;min-height:0;display:flex}.ant-layout-sider-children .ant-menu{flex:1;min-height:0;padding-bottom:16px;overflow:hidden auto}.ant-layout-content{overflow:auto}.page-stack{width:100%}.section-intro{max-width:980px}.section-intro .ant-typography{margin-bottom:10px}.work-panel{background:#fff;border:1px solid #e7eaf0;border-radius:8px;grid-template-columns:minmax(240px,320px) 1fr;gap:24px;padding:24px;display:grid}.metric-card{border-color:#e7eaf0;border-radius:8px}.metric-card .ant-statistic{margin-bottom:10px}.metric-card__description{min-height:44px;line-height:1.45;display:block}.dashboard-toolbar,.dashboard-team-tasks{background:#fff;border:1px solid #e7eaf0;border-radius:8px;padding:20px 24px}.dashboard-toolbar{justify-content:space-between;align-items:center;gap:16px;display:flex}.dashboard-card{border-color:#e7eaf0;border-radius:8px;height:100%}.dashboard-work-panel{align-items:start}.dashboard-section-heading{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px;display:flex}.dashboard-section-heading .ant-typography{margin-bottom:8px}.dashboard-task-title{max-width:560px}.dashboard-task-title .ant-typography{white-space:normal}.profile-page{max-width:1180px}.profile-hero,.profile-settings-card{background:#fff;border:1px solid #e7eaf0;border-radius:8px}.profile-hero{padding:28px}.profile-hero__identity{align-items:center;gap:24px;display:flex}.profile-hero__copy{min-width:0}.profile-hero__copy .ant-typography{margin-bottom:8px}.profile-hero__copy .ant-typography-secondary{display:block}.profile-badge{color:#344054;background:#f8fafc;border:1px solid #e7eaf0;border-radius:999px;align-items:center;gap:6px;padding:5px 10px;font-size:13px;line-height:1.3;display:inline-flex}.profile-avatar-upload{cursor:pointer;border-radius:50%;flex:none;place-items:center;width:128px;height:128px;display:inline-grid;position:relative;overflow:hidden}.profile-avatar-upload .ant-avatar{width:128px;height:128px;font-size:44px}.profile-avatar-upload__overlay{color:#fff;text-align:center;opacity:0;background:#0000008a;align-content:center;place-items:center;gap:6px;padding:16px;font-size:13px;font-weight:600;transition:opacity .16s;display:grid;position:absolute;inset:0}.profile-avatar-upload__overlay .anticon{font-size:22px}.profile-avatar-upload:hover .profile-avatar-upload__overlay,.profile-avatar-upload:focus-within .profile-avatar-upload__overlay{opacity:1}.profile-avatar-upload__input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.profile-task-preview{background:#f8fafc;border:1px solid #e7eaf0;border-radius:8px;align-items:center;gap:12px;padding:16px;display:flex}.profile-task-preview .ant-typography{display:block}.profile-help-text{color:#667085;margin-top:16px;margin-bottom:0}.admin-header{background:#fff;border-bottom:1px solid #e7eaf0;justify-content:space-between;align-items:center;gap:16px;min-height:64px;padding:0 24px;display:flex}.global-search{width:min(560px,100%)}.global-search-input{width:100%}.global-search-input .ant-input-prefix{color:#8c8c8c;margin-inline-end:10px}.global-search-option{flex-direction:column;gap:2px;display:flex}.admin-profile-button{align-items:center;gap:8px;display:inline-flex}.admin-brand{align-items:center;gap:10px;min-width:0;display:inline-flex}.admin-brand__mark{background:#f2f4f7;border-radius:14px;place-items:center;width:42px;height:42px;display:grid;overflow:hidden}.admin-brand__mark img{object-fit:contain;object-position:center bottom;width:36px;height:38px}.admin-brand__text{color:#242424;align-items:baseline;gap:6px;font-size:24px;font-weight:700;line-height:1;display:inline-flex}.admin-brand__text small{color:#667085;text-transform:uppercase;font-size:14px;font-weight:600}.telegram-preview{white-space:pre-wrap;background:#f8fafc;border:1px solid #e7eaf0;border-radius:8px;padding:16px}.bot-texts-page .ant-tabs-nav{margin-bottom:18px}.bot-texts-table .ant-table-cell{vertical-align:top}.bot-text-key{min-width:300px}.bot-text-key .ant-typography{white-space:normal;word-break:normal;overflow-wrap:anywhere}.bot-text-value{min-width:360px}.bot-text-value .ant-typography{white-space:normal;line-height:1.45}.bot-premium-emoji-help,.bot-command-description{margin-bottom:16px}.broadcasts-page .ant-tabs-nav{margin-bottom:18px}.broadcasts-toolbar{background:#fff;border:1px solid #e7eaf0;border-radius:8px;justify-content:space-between;align-items:flex-start;gap:16px;padding:20px 24px;display:flex}.broadcasts-toolbar .ant-typography{margin-bottom:6px}.broadcasts-preview-note{color:#667085;margin-top:12px}.broadcasts-editor-note{margin-bottom:16px}.broadcasts-media-preview{margin-top:12px}.broadcasts-media-preview img{object-fit:contain;border:1px solid #e7eaf0;border-radius:8px;max-width:280px;max-height:220px;display:block}.vk-preview{white-space:pre-wrap;color:#1d1d1f;background:#f4f7fb;border:1px solid #d8e0ec;border-radius:8px;padding:16px}.promocodes-page .ant-tabs-nav{margin-bottom:18px}.promocodes-toolbar{background:#fff;border:1px solid #e7eaf0;border-radius:8px;justify-content:space-between;align-items:flex-start;gap:16px;padding:20px 24px;display:flex}.promocodes-toolbar .ant-typography{margin-bottom:6px}.promocode-form .ant-input-number{width:100%}.promocode-scenario-card{border-color:#e7eaf0;border-radius:8px;height:100%}.promocode-scenario-step{grid-template-columns:28px 1fr;align-items:center;gap:10px;display:grid}.promocode-scenario-step span{color:#344054;background:#f2f4f7;border:1px solid #e7eaf0;border-radius:50%;place-items:center;width:28px;height:28px;font-weight:700;display:grid}.promocode-detail-card{border-color:#e7eaf0;border-radius:8px}.promocode-activation-row{border-bottom:1px solid #eef1f6;justify-content:space-between;align-items:flex-start;gap:12px;padding-bottom:12px;display:flex}.promocode-activation-row:last-child{border-bottom:0;padding-bottom:0}.promocode-activation-row div{flex-direction:column;gap:2px;min-width:0;display:flex}.style-example-slot{color:#667085;text-align:center;background:#f8fafc;border:1px dashed #cfd6e4;border-radius:8px;place-items:center;gap:8px;min-height:132px;padding:12px;display:grid}.style-example-slot .anticon{font-size:28px}.style-example-slot .ant-image,.style-example-slot img{object-fit:cover;border-radius:6px;width:100%;height:160px}.styles-page .ant-statistic-title{color:#667085}.styles-page .ant-table-cell{vertical-align:top}.style-title-cell{grid-template-columns:72px minmax(0,1fr);align-items:flex-start;gap:12px;display:grid}.style-title-copy{min-width:0}.style-title-copy .ant-typography{white-space:normal}.style-row-description{-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;max-width:100%;line-height:1.35;display:-webkit-box;overflow:hidden}.style-actions{max-width:320px}.style-actions .ant-btn{min-width:132px}.style-actions .ant-btn-dangerous{min-width:40px}.style-cover-thumb{color:#98a2b3;background:#f8fafc;border:1px solid #e4e7ec;border-radius:8px;flex:none;place-items:center;width:72px;height:72px;display:grid;overflow:hidden}.style-cover-thumb img{object-fit:cover;width:72px;height:72px}.style-cover-thumb .anticon{font-size:24px}.style-preview-cover,.style-cover-uploader{color:#667085;background:#f8fafc;border:1px solid #e4e7ec;border-radius:8px;place-items:center;min-height:260px;display:grid;overflow:hidden}.style-preview-cover .ant-image,.style-preview-cover img,.style-cover-uploader .ant-image,.style-cover-uploader img{object-fit:cover;width:100%;height:260px}.style-preview-cover .anticon,.style-cover-uploader .anticon{font-size:32px}.style-check-row{grid-template-columns:22px 1fr;align-items:flex-start;gap:10px;display:grid}.style-check-row>div{flex-direction:column;gap:2px;min-width:0;display:flex}.style-check-ok{color:#12b76a;margin-top:3px}.style-check-warning{color:#f79009;margin-top:3px}.photo-generator-page .ant-statistic-title{color:#667085}.photo-generator-page .ant-table-cell{vertical-align:top}.photo-generator-prompt{-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;max-width:100%;line-height:1.35;display:-webkit-box;overflow:hidden}.photo-generator-result,.photo-generator-reference-empty{color:#667085;text-align:center;background:#f8fafc;border:1px solid #e4e7ec;border-radius:8px;place-items:center;gap:6px;min-height:180px;padding:16px;display:grid}.photo-generator-result .anticon,.photo-generator-reference-empty .anticon{font-size:30px}.photo-generator-result-image,.photo-generator-reference{object-fit:cover;background:#f8fafc;border:1px solid #e4e7ec;border-radius:8px;width:100%;max-height:260px;display:block}.photo-generator-reference{height:180px}.photo-generator-model-card{border-color:#e7eaf0;border-radius:8px;height:100%}.moderation-page .ant-statistic-title{color:#667085}.moderation-page .ant-table-cell{vertical-align:top}.moderation-search{width:min(520px,100%)}.moderation-status-select{width:240px}.moderation-photo-preview{object-fit:cover;background:#f8fafc;border:1px solid #e4e7ec;border-radius:8px;width:100%;min-height:132px;max-height:360px;display:block}.moderation-photo-preview--empty{color:#667085;text-align:center;place-items:center;gap:6px;padding:14px;display:grid}.moderation-photo-preview--empty .anticon{font-size:30px}.moderation-photo-preview--empty .ant-typography{overflow-wrap:anywhere;max-width:100%}.moderation-json{white-space:pre-wrap;word-break:break-word;max-height:220px;margin:0;overflow:auto}.categories-page .ant-statistic-title{color:#667085}.categories-page .ant-table-cell{vertical-align:top}.category-style-row{border-bottom:1px solid #eef1f6;justify-content:space-between;align-items:center;gap:10px;padding-bottom:8px;display:flex}.category-style-row:last-child{border-bottom:0;padding-bottom:0}.category-style-row .ant-typography{min-width:0}@media (width<=768px){.work-panel{grid-template-columns:1fr}.admin-header{flex-direction:column;align-items:stretch;padding:12px}.global-search{width:100%}.dashboard-toolbar,.dashboard-section-heading,.broadcasts-toolbar,.promocodes-toolbar{flex-direction:column;align-items:stretch}.profile-hero__identity{flex-direction:column;align-items:flex-start}}.modal-tab-container{padding-top:8px}.modal-tab-container .ant-tabs-nav{border-bottom:1px solid #eef1f6;margin-bottom:24px}.modal-tab-container .ant-tabs-tab{padding:12px 16px;font-size:15px;font-weight:500;transition:all .25s}.switch-card-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px;display:grid}.switch-card{background:#fff;border:1px solid #e4e7ec;border-radius:10px;flex-direction:column;justify-content:space-between;gap:12px;padding:16px;transition:all .2s ease-in-out;display:flex;box-shadow:0 1px 3px #1018280d}.switch-card:hover{border-color:#d0d5dd;box-shadow:0 4px 12px #10182814}.switch-card .switch-card-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.switch-card .switch-card-title{color:#101828;font-size:14px;font-weight:600;line-height:1.4}.switch-card .switch-card-desc{color:#667085;font-size:12px;line-height:1.4}.switch-card .switch-card-date{width:100%;margin-top:4px}.premium-uploader{cursor:pointer;text-align:center;background:#fcfcfd;border:2px dashed #d0d5dd;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;min-height:200px;padding:24px;transition:all .2s;display:flex}.premium-uploader:hover{background:#f5f9ff;border-color:#1890ff}.premium-uploader .uploader-icon{color:#667085;margin-bottom:12px;font-size:32px;transition:color .2s}.premium-uploader:hover .uploader-icon{color:#1890ff}.premium-uploader .uploader-text{color:#344054;margin-bottom:4px;font-size:14px;font-weight:500}.premium-uploader .uploader-hint{color:#667085;font-size:12px}.preview-media-card{border:1px solid #eaecf0;border-radius:12px;overflow:hidden;box-shadow:0 4px 20px #0000000d}.preview-media-card .media-wrapper{background:#09090b;justify-content:center;align-items:center;min-height:320px;max-height:480px;display:flex;position:relative}.preview-media-card .media-wrapper video,.preview-media-card .media-wrapper img{object-fit:contain;max-width:100%;max-height:480px}.preview-media-card .media-footer{background:#fff;border-top:1px solid #eaecf0;justify-content:space-between;align-items:center;padding:16px;display:flex}.prompt-card-scene{background:#fff;border:1px solid #eaecf0;border-radius:12px;margin-bottom:16px;transition:box-shadow .2s;overflow:hidden;box-shadow:0 1px 3px #1018280d}.prompt-card-scene:hover{box-shadow:0 4px 12px #10182814}.prompt-card-scene .ant-card-head{background:#f9fafb;border-bottom:1px solid #eaecf0;padding:12px 20px;font-weight:600}.prompt-card-scene .scene-body{padding:20px}.reorder-list{flex-direction:column;gap:10px;max-height:480px;padding:4px;display:flex;overflow-y:auto}.reorder-item{cursor:grab;-webkit-user-select:none;user-select:none;background:#fff;border:1px solid #eaecf0;border-radius:8px;align-items:center;gap:16px;padding:12px 16px;transition:all .2s;display:flex;box-shadow:0 1px 3px #1018280d}.reorder-item:hover{background:#f9fafb;border-color:#d0d5dd;transform:translateY(-1px);box-shadow:0 4px 10px #1018280f}.reorder-item:active{cursor:grabbing}.reorder-item.dragging{opacity:.4;box-shadow:none;background:#f2f4f7;border-style:dashed;border-color:#98a2b3;transform:scale(.98)}.reorder-item .reorder-handle{color:#98a2b3;cursor:grab;align-items:center;font-size:18px;display:flex}.reorder-item .reorder-handle:hover{color:#667085}.reorder-item .reorder-item-cover{background:#f2f4f7;border:1px solid #eaecf0;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;display:flex;overflow:hidden}.reorder-item .reorder-item-cover img{object-fit:cover;width:100%;height:100%}.reorder-item .reorder-item-cover .anticon{color:#98a2b3;font-size:20px}.reorder-item .reorder-item-content{flex-grow:1;min-width:0}.reorder-item .reorder-item-content .reorder-item-title{color:#101828;white-space:nowrap;text-overflow:ellipsis;margin-bottom:2px;font-size:14px;font-weight:600;overflow:hidden}.reorder-item .reorder-item-content .reorder-item-subtitle{color:#667085;white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}.reorder-item .reorder-item-actions{flex-shrink:0;align-items:center;gap:8px;display:flex}
