:root{color-scheme:light;font-family:Inter,Helvetica Neue,Arial,sans-serif;--color-primary: #7b61ff;--color-primary-dark: #6a4df5;--color-primary-soft: rgba(123, 97, 255, .12);--color-bg: #f3f4f8;--color-surface: #ffffff;--color-border: #e8eaf0;--color-text: #2f3341;--color-text-muted: #8b93a7;--color-text-soft: #a3aac0;--color-success-bg: #e9f9ef;--color-success-text: #1f9d55;--shadow-card: 0 8px 24px rgba(35, 39, 52, .06);--layout-max-width: 1280px;--layout-gutter: 28px;--video-grid-min: 160px;--video-grid-gap: 16px}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:var(--color-bg);color:var(--color-text)}button,input,select{font:inherit}.app-shell{min-height:100vh;background:var(--color-bg)}.app-shell--profile{height:100vh;display:flex;flex-direction:column;overflow:hidden}.app-shell--profile .profile-toolbar__inner{max-width:none;margin:0;width:100%;padding-left:0;padding-right:0}.app-shell--profile .profile-toolbar__inner{padding-top:14px;padding-bottom:14px}.app-shell--profile .profile-toolbar__row,.app-shell--profile .profile-toolbar__filters{padding-left:var(--layout-gutter);padding-right:var(--layout-gutter)}.top-header{flex-shrink:0;background:#141820;border-bottom:1px solid rgba(255,255,255,.08);color:#fff}.top-header__inner{max-width:var(--layout-max-width);margin:0 auto;padding:0 var(--layout-gutter);min-height:64px;display:flex;align-items:center;gap:28px}.top-header__brand{flex-shrink:0}.top-header__logo{display:inline-flex;flex-direction:column;align-items:flex-start;gap:2px;padding:0;border:0;background:transparent;cursor:pointer;text-align:left}.top-header__logo-mark{font-size:16px;font-weight:700;letter-spacing:.1em;line-height:1;color:#fff}.top-header__logo-sub{font-size:11px;font-weight:500;letter-spacing:.04em;line-height:1;color:#ffffff73;text-transform:uppercase}.top-header__nav{flex:1;min-width:0;display:flex;justify-content:center;align-items:center}.top-header__nav-list{display:flex;flex-wrap:wrap;align-items:stretch;justify-content:center;gap:6px;width:100%;max-width:100%}.top-header__nav-link{position:relative;flex:1 1 6.5rem;min-width:4.75rem;max-width:8.5rem;padding:8px 12px;border:0;border-radius:5px;background:transparent;font-size:13px;font-weight:500;letter-spacing:.01em;line-height:1.2;text-align:center;color:#ffffff94;cursor:pointer;transition:color .15s ease,background .15s ease,box-shadow .15s ease}.top-header__nav-indicator{position:absolute;top:7px;right:10px;width:6px;height:6px;border-radius:50%;background:#00c4b4;box-shadow:0 0 0 1px #00000059}.top-header__nav-link--active .top-header__nav-indicator{background:#fff;box-shadow:0 0 0 1px #0003}.top-header__nav-link:hover:not(.top-header__nav-link--active){color:#ffffffe0;background:#ffffff0f}.top-header__nav-link--active{color:#fff;background:#7b61ff8c;box-shadow:0 1px 3px #00000038;font-weight:600}.top-header__actions{flex-shrink:0;display:flex;align-items:center;padding-left:20px;margin-left:4px;border-left:1px solid rgba(255,255,255,.1)}.top-header__actions-group{display:flex;align-items:center;gap:0}.top-header__switch{display:inline-flex;align-items:center;gap:8px;padding:0 14px}.top-header__switch:first-child{padding-left:0}.top-header__switch:not(:first-child){border-left:1px solid rgba(255,255,255,.1)}.top-header__switch-label{font-size:13px;font-weight:500;letter-spacing:.01em;color:#ffffff94;white-space:nowrap;transition:color .15s ease}.top-header__switch:has(.top-header__switch-control--active) .top-header__switch-label{color:#ffffffeb;font-weight:600}.top-header__switch-control{position:relative;flex-shrink:0;width:36px;height:20px;padding:0;border:0;border-radius:999px;background:#ffffff24;cursor:pointer;transition:background .2s ease}.top-header__switch-control:focus-visible{outline:2px solid rgba(123,97,255,.85);outline-offset:2px}.top-header__switch-control--active{background:var(--color-primary)}.top-header__switch-thumb{position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #0000003d;transition:transform .2s ease}.top-header__switch-control--active .top-header__switch-thumb{transform:translate(16px);background:#fff}.top-header__switch-control:disabled{opacity:.55;cursor:not-allowed}.sub-nav{flex-shrink:0;width:100%;background:var(--color-bg);border-bottom:1px solid var(--color-border)}.sub-nav--bunny{background:var(--color-surface)}.sub-nav__inner{max-width:var(--layout-max-width);margin:0 auto;padding:18px var(--layout-gutter);display:flex;align-items:center;gap:24px}.sub-nav__inner--bunny{justify-content:space-between;gap:16px;padding-top:14px;padding-bottom:14px}.sub-nav__inner--bunny .sub-nav__lead{min-width:0}.sub-nav__inner--video{align-items:center;gap:16px;padding-top:12px;padding-bottom:12px}.sub-nav__inner--video:not(:has(.sub-nav__tabs)){justify-content:flex-start}.sub-nav__lead--bunny{display:flex;align-items:center;gap:12px;flex:1 1 auto;min-width:0}.sub-nav__lead-block{display:flex;flex-direction:column;gap:10px;flex:1 1 auto;min-width:0}.sub-nav__search--bunny{width:100%;max-width:420px}.sub-nav__search--bunny .sub-nav__search-field{min-height:38px}.sub-nav__search--bunny .sub-nav__search-input{height:38px;padding:0 14px;font-size:13px}.sub-nav__search-status{flex-shrink:0;display:flex;align-items:center;padding:0 14px;font-size:12px;color:var(--color-text-muted);white-space:nowrap}.sub-nav__copy{min-width:0}.sub-nav__back{flex:0 0 auto}.sub-nav__inner--bunny .sub-nav__tabs{flex-shrink:0;margin-left:auto}.sub-nav__tabs--segmented{display:inline-flex;align-items:stretch;gap:0;padding:3px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-bg)}.sub-nav__tabs--segmented .sub-nav__tab{min-width:76px;padding:7px 18px;border-radius:5px;text-align:center;white-space:nowrap}.sub-nav__tabs--segmented .sub-nav__tab:hover:not(.sub-nav__tab--active){color:var(--color-text);background:#ffffffb8}.sub-nav__tabs--segmented .sub-nav__tab--active{color:var(--color-primary-dark);background:var(--color-surface);box-shadow:inset 0 0 0 1px var(--color-border),0 1px 2px #2327340f;font-weight:600}.sub-nav__tabs--segmented .sub-nav__tab:focus{outline:none}.sub-nav__tabs--segmented .sub-nav__tab:focus-visible{outline:2px solid var(--color-primary);outline-offset:1px}.sub-nav__inner--search{display:grid;grid-template-columns:minmax(148px,auto) minmax(0,1fr);align-items:center;gap:28px}.sub-nav__lead{min-width:0}.sub-nav__title{margin:0;font-size:14px;font-weight:600;line-height:1.3;color:var(--color-text)}.sub-nav__hint{margin:4px 0 0;font-size:12px;line-height:1.3;color:var(--color-text-muted)}.sub-nav__video-title{margin:0;font-size:18px;font-weight:700;line-height:1.2;color:var(--color-text);white-space:nowrap}.sub-nav__video-title-link{margin:0;padding:0;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer}.sub-nav__video-title-link:hover{color:var(--color-primary)}.sub-nav__tabs{display:flex;align-items:center;gap:6px;min-height:0}.sub-nav__tab{position:relative;padding:8px 14px;border:0;border-radius:6px;background:transparent;color:var(--color-text-muted);font-size:14px;font-weight:500;line-height:1.2;cursor:pointer;transition:color .15s ease,background .15s ease}.sub-nav__tab:hover:not(.sub-nav__tab--active){color:var(--color-text);background:#ffffffb8}.sub-nav__tab--active{color:var(--color-primary-dark);background:var(--color-surface);box-shadow:inset 0 0 0 1px var(--color-border);font-weight:600}.sub-nav__tab--active:after{content:none}.sub-nav__search{min-width:0}.sub-nav__search-field{display:flex;align-items:stretch;width:100%;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface);overflow:hidden;transition:border-color .15s ease,box-shadow .15s ease}.sub-nav__search-field:focus-within{border-color:#7b61ff6b;box-shadow:0 0 0 3px #7b61ff1a}.sub-nav__search-input{flex:1;min-width:0;height:44px;padding:0 16px;border:0;border-radius:0;background:transparent;color:var(--color-text);font-size:14px}.sub-nav__search-input::placeholder{color:var(--color-text-soft)}.sub-nav__search-input:focus{outline:none}.sub-nav__search-button{flex-shrink:0;align-self:stretch;min-width:108px;padding:0 20px;border:0;border-left:1px solid var(--color-border);border-radius:0;background:transparent;color:var(--color-primary-dark);font-size:13px;font-weight:600;cursor:pointer;transition:background .15s ease,color .15s ease}.sub-nav__search-button:hover:not(:disabled){background:#7b61ff14;color:var(--color-primary)}.sub-nav__search-button:disabled{color:var(--color-text-soft);cursor:not-allowed}.app-main{max-width:var(--layout-max-width);margin:0 auto;padding:var(--layout-gutter)}.app-main__error{margin:0 0 18px;padding:14px 18px;border-radius:12px;font-size:14px;background:#fff1f0;color:#c0392b}.app-notification{position:fixed;bottom:28px;left:50%;z-index:1000;display:flex;align-items:center;gap:16px;min-width:280px;max-width:min(520px,calc(100vw - 56px));padding:14px 18px;border-radius:8px;background:#1a1a1a;border:1px solid #333333;box-shadow:0 8px 32px #0006;transform:translate(-50%);animation:app-notification-enter .22s ease-out}.app-notification--success{border-left:3px solid #00c4b4}.app-notification--error{border-left:3px solid #c0392b}.app-notification--bottom-right{left:auto;right:28px;transform:none;animation:app-notification-enter-bottom-right .22s ease-out}.app-notification__message{margin:0;flex:1;font-size:14px;line-height:1.45;color:#fff}.app-notification__close{flex-shrink:0;border:0;background:transparent;color:#999;font-size:13px;cursor:pointer;padding:4px 8px;border-radius:4px}.app-notification__close:hover{color:#ccc;background:#ffffff14}@keyframes app-notification-enter{0%{opacity:0;transform:translate(-50%) translateY(12px)}to{opacity:1;transform:translate(-50%) translateY(0)}}@keyframes app-notification-enter-bottom-right{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.content-section{margin-bottom:28px}.content-section__header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.content-section__title{margin:0;font-size:22px;font-weight:700;color:var(--color-text)}.content-section__filters{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap}.filter-dropdown--search{width:min(220px,100%)}.filter-dropdown{display:flex;flex-direction:column;gap:4px;min-width:0;width:fit-content;max-width:100%}.filter-dropdown__label{font-size:11px;font-weight:500;color:var(--color-text-soft)}.filter-control-input,.filter-dropdown__select{box-sizing:border-box;width:100%;min-width:0;border:1px solid var(--color-border);border-radius:6px;background:var(--color-surface);outline:none;transition:border-color .15s ease,box-shadow .15s ease}.filter-control-input:focus,.filter-dropdown__select:focus{outline:none}.filter-control-input--compact,.filter-dropdown__select--compact{height:32px;min-height:32px;max-height:32px;padding:0 10px;font-size:12px;line-height:32px}.filter-control-input--compact{color:var(--color-text)}.filter-control-input--compact::placeholder{color:var(--color-text-soft)}.filter-control-input--compact:focus-visible,.filter-dropdown__select--compact:focus-visible,.filter-dropdown__select--default:focus-visible{border-color:#7b61ff6b;box-shadow:0 0 0 3px #7b61ff1a}.filter-control-input--compact:disabled,.filter-dropdown__select:disabled{opacity:.65;cursor:not-allowed}.filter-dropdown__select--compact,.filter-dropdown__select--default{-webkit-appearance:none;-moz-appearance:none;appearance:none;color:var(--color-text-muted);cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M6 8l4 4 4-4' stroke='%238b93a7' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .625rem center;background-size:.875rem .875rem;padding-right:2rem}.filter-dropdown__select--compact:not(.filter-dropdown__select--in-control){width:auto;min-width:0}.filter-dropdown__select--default{height:36px;min-height:36px;max-height:36px;padding:0 12px;font-size:13px;line-height:36px;color:var(--color-text)}.filter-dropdown__control{display:inline-flex;align-items:center;box-sizing:border-box;width:fit-content;max-width:100%;min-width:0;border:1px solid var(--color-border);border-radius:6px;background:var(--color-surface);transition:border-color .15s ease,box-shadow .15s ease}.filter-dropdown__control--compact{min-height:34px;height:34px}.filter-dropdown__control--default{min-height:38px;height:38px}.filter-dropdown__control:focus-within{border-color:#7b61ff6b;box-shadow:0 0 0 3px #7b61ff1a}.filter-dropdown__control--error,.filter-dropdown__control--error:focus-within{border-color:#c0392b;box-shadow:0 0 0 3px #c0392b1f}.filter-dropdown__display-prefix{display:inline-flex;align-items:center;padding-left:10px;font-size:12px;font-weight:500;line-height:1.2;color:var(--color-text-soft);white-space:nowrap;flex-shrink:0;-webkit-user-select:none;user-select:none}.filter-dropdown__control--default .filter-dropdown__display-prefix{font-size:13px}.filter-dropdown__select--in-control{border:0;border-radius:0;background-color:transparent;flex:0 1 auto;width:auto;min-width:0;height:34px;min-height:34px;max-height:none;margin:0;padding-top:0;padding-bottom:0;padding-left:4px;line-height:normal;box-shadow:none}.filter-dropdown__control--compact .filter-dropdown__select--in-control{font-size:12px}.filter-dropdown__control--default .filter-dropdown__select--in-control{height:38px;min-height:38px;font-size:13px}.filter-dropdown__select--in-control.filter-dropdown__select--compact,.filter-dropdown__select--in-control.filter-dropdown__select--default{line-height:normal;max-height:none}.filter-dropdown__select--in-control:focus,.filter-dropdown__select--in-control:focus-visible{border-color:transparent;box-shadow:none}.filter-dropdown__measure{position:absolute;visibility:hidden;pointer-events:none;white-space:nowrap;display:inline-flex;align-items:center;max-width:none}.filter-dropdown__measure--compact{font-size:12px}.filter-dropdown__measure--default{font-size:13px}.filter-dropdown__measure-value{padding-left:4px;font-weight:400;line-height:1.2;color:var(--color-text-muted)}.filter-dropdown--display-prefix{position:relative;width:fit-content;max-width:100%}.filter-dropdown__select--error{border-color:#c0392b}.filter-dropdown__select--error:focus-visible{border-color:#c0392b;box-shadow:0 0 0 3px #c0392b1f}.content-section__hint,.content-section__empty{margin:0 0 16px;font-size:14px;color:var(--color-text-muted)}.user-card-list{display:flex;flex-direction:column;gap:8px}.user-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,auto) auto;align-items:center;column-gap:20px;min-height:64px;padding:12px 18px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface);cursor:pointer;transition:border-color .15s ease,background .15s ease}.user-card:hover{background:#f8f9fc;border-color:#dde1ea}.user-card--readonly{grid-template-columns:minmax(0,1fr) minmax(360px,auto) auto}.profile-toolbar{flex-shrink:0;background:var(--color-surface);border-bottom:1px solid var(--color-border)}.profile-toolbar__inner{max-width:var(--layout-max-width);margin:0 auto;padding:14px var(--layout-gutter)}.profile-toolbar__row{display:flex;flex-wrap:nowrap;align-items:center;gap:16px}.profile-toolbar__back{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;padding:6px;border:1px solid var(--color-border);border-radius:8px;background:transparent;color:var(--color-text-muted);cursor:pointer}.profile-toolbar__back:hover{color:var(--color-text);border-color:#dde1ea}.profile-toolbar__back:focus{outline:none}.profile-toolbar__back:focus-visible{outline:2px solid var(--color-primary);outline-offset:2px;border-radius:4px}.profile-toolbar__actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;flex:0 0 auto;margin-left:auto;min-width:0}.profile-toolbar__filters{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding-top:12px;margin-top:12px;border-top:1px solid var(--color-border)}.profile-toolbar__search{flex:2 1 320px;min-width:260px}.profile-toolbar__filters .filter-dropdown{flex:0 1 auto}.profile-toolbar__profile.user-detail__profile{flex:0 1 auto;min-width:0;padding-bottom:0;margin-bottom:0;border-bottom:0;width:auto;max-width:100%}.profile-toolbar__profile .user-detail__profile-meta{display:flex;flex-wrap:wrap;align-items:center;column-gap:10px;row-gap:2px;min-width:0}.profile-toolbar__profile .user-detail__profile-name{margin:0;font-size:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-toolbar__profile .user-detail__profile-avatar{width:44px;height:44px;border-radius:10px}.profile-toolbar__profile .user-detail__profile-stats{margin:0}.profile-video-stats{display:inline-flex;flex-wrap:wrap;align-items:center;gap:2px;min-width:0}.profile-video-stats__item{display:inline-flex;align-items:center;gap:4px;min-width:0;padding:2px 5px;border-radius:4px;color:var(--color-text-muted)}.profile-video-stats__icon{flex-shrink:0;color:var(--color-text-soft)}.profile-video-stats__value{font-size:12px;font-weight:600;font-variant-numeric:tabular-nums;line-height:1;color:var(--color-text)}.profile-toolbar__profile .profile-video-stats__value{font-size:11px}.profile-video-stats__item--processing.profile-video-stats__item--active .profile-video-stats__icon,.profile-video-stats__item--processing.profile-video-stats__item--active .profile-video-stats__value{color:var(--color-primary-dark)}.profile-video-stats__item--failed.profile-video-stats__item--active .profile-video-stats__icon,.profile-video-stats__item--failed.profile-video-stats__item--active .profile-video-stats__value,.profile-video-stats__icon--failed{color:#c0392b}.profile-video-stats__icon--spin{animation:profile-video-stats-spin 1.1s linear infinite}.profile-video-stats--card{display:grid;grid-template-columns:2.875rem 2.125rem 2.125rem 2.125rem;column-gap:4px;align-items:center;width:100%}.profile-video-stats--card .profile-video-stats__item{display:grid;grid-template-columns:13px minmax(0,1fr);align-items:center;gap:4px;width:100%;min-width:0;padding:0}.profile-video-stats--card .profile-video-stats__icon{width:13px;height:13px}.profile-video-stats--card .profile-video-stats__value{min-width:0;font-size:12px;text-align:left}@keyframes profile-video-stats-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.user-detail__profile-stats--loading{margin:0;font-size:12px;color:var(--color-text-muted)}.download-progress{display:flex;align-items:center;gap:8px;min-width:0;width:132px}.download-progress__track{flex:1;height:3px;border-radius:999px;background:var(--color-border);overflow:hidden}.download-progress__fill{height:100%;border-radius:inherit;background:var(--color-primary);transition:width .35s ease}.download-progress__percent{flex-shrink:0;width:30px;font-size:11px;font-weight:500;font-variant-numeric:tabular-nums;text-align:right;color:var(--color-text-muted)}.download-progress--complete .download-progress__fill{background:var(--color-success-text)}.download-progress--error .download-progress__fill{background:#dc3545}.profile-toolbar__title{margin:0;font-size:18px;font-weight:700;color:var(--color-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-toolbar__download{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-height:32px;padding:0 12px;border:1px solid var(--color-primary);border-radius:8px;background:var(--color-primary);color:#fff;font-size:13px;font-weight:600;line-height:1;white-space:nowrap;cursor:pointer}.profile-toolbar__download:hover:not(:disabled){background:var(--color-primary-dark);border-color:var(--color-primary-dark)}.profile-toolbar__download:focus{outline:none}.profile-toolbar__download:focus-visible{outline:2px solid var(--color-primary);outline-offset:2px}.profile-toolbar__download:disabled{opacity:.65;cursor:not-allowed}.profile-toolbar__download--selected{background:transparent;border-color:var(--color-primary);color:var(--color-primary)}.profile-toolbar__download--selected:hover:not(:disabled){background:var(--color-primary-soft)}.profile-toolbar__download--stop{background:transparent;border:1px solid #dc3545;color:#dc3545}.profile-toolbar__toggle{padding:10px 16px;border:1px solid var(--color-border);border-radius:999px;background:var(--color-surface);color:var(--color-text-muted);font-size:13px;font-weight:600;cursor:pointer}.profile-toolbar__toggle--active{border-color:#00c4b4;color:#00c4b4;background:#00c4b414}.profile-toolbar__toggle:disabled{opacity:.65;cursor:not-allowed}.profile-toolbar__confirm{padding:10px 16px;border:0;border-radius:999px;background:#00c4b4;color:#fff;font-size:13px;font-weight:600;cursor:pointer}.profile-toolbar__confirm:disabled{opacity:.65;cursor:not-allowed}.profile-toolbar__secondary{padding:10px 16px;border:1px solid var(--color-border);border-radius:999px;background:var(--color-surface);color:var(--color-text);font-size:13px;font-weight:600;cursor:pointer}.profile-toolbar__secondary--muted{color:var(--color-text-muted)}.profile-toolbar__secondary:disabled{opacity:.65;cursor:not-allowed}.profile-toolbar__status{max-width:220px;font-size:12px;font-weight:500;color:var(--color-text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.process-page{padding:28px}.process-page__inner{max-width:960px;margin:0 auto}.process-page__header{margin-bottom:24px;display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.process-page__header-copy{min-width:0}.process-page__simulation{flex-shrink:0;padding:10px 18px;border:1px solid var(--color-border);border-radius:999px;background:var(--color-surface);color:var(--color-text-muted);font-size:13px;font-weight:600;cursor:pointer}.process-page__simulation--active{border-color:var(--color-primary);background:var(--color-primary-soft);color:var(--color-primary)}.process-page__title{margin:0 0 8px;font-size:24px;font-weight:700;color:var(--color-text)}.process-page__subtitle{margin:0;font-size:14px;color:var(--color-text-muted)}.process-page__state{margin:0;padding:24px;border:1px solid var(--color-border);border-radius:12px;background:var(--color-surface);color:var(--color-text-muted);font-size:14px}.process-page__state--error{color:#dc3545}.settings-page{width:100%}.settings-page__header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:24px;padding-bottom:20px;border-bottom:1px solid var(--color-border)}.settings-page__title{margin:0 0 6px;font-size:22px;font-weight:700;color:var(--color-text)}.settings-page__subtitle{margin:0;max-width:720px;font-size:14px;line-height:1.5;color:var(--color-text-muted)}.settings-page__status{flex-shrink:0;padding:6px 10px;border-radius:6px;background:#7b61ff1a;color:var(--color-primary-dark);font-size:12px;font-weight:600;white-space:nowrap}.settings-page__state{margin:0;padding:16px 18px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface);color:var(--color-text-muted);font-size:14px}.settings-page__state--error{color:#a93226;background:#c0392b0f;border-color:#c0392b3d}.settings-panel{width:100%;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface);overflow:hidden}.settings-panel__section-head{display:grid;grid-template-columns:minmax(180px,240px) minmax(0,1fr);gap:32px;align-items:center;padding:20px 28px;border-bottom:1px solid var(--color-border);background:#fafbfc}.settings-panel__section-lead{min-width:0}.settings-panel__title{margin:0;font-size:15px;font-weight:600;color:var(--color-text)}.settings-panel__description{margin:0;font-size:13px;line-height:1.55;color:var(--color-text-muted)}.settings-panel__rows{display:flex;flex-direction:column}.settings-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(200px,320px);gap:40px;align-items:center;padding:20px 28px}.settings-row+.settings-row{border-top:1px solid var(--color-border)}.settings-row__meta{min-width:0}.settings-row__label{display:block;font-size:14px;font-weight:600;color:var(--color-text);line-height:1.3}.settings-row__hint{margin:6px 0 0;font-size:12px;line-height:1.45;color:var(--color-text-soft)}.settings-row__control{display:flex;justify-content:flex-end}.settings-row__input{width:100%;max-width:320px;height:44px;padding:0 14px;border:1px solid var(--color-border);border-radius:6px;background:var(--color-surface);color:var(--color-text);font-size:14px;font-weight:600;font-variant-numeric:tabular-nums;text-align:right;transition:border-color .15s ease,box-shadow .15s ease}.settings-row__input:focus{outline:none;border-color:#7b61ff73;box-shadow:0 0 0 3px #7b61ff1a}.settings-row__input:disabled{background:#f5f6fa;color:var(--color-text-soft)}.settings-panel__error{margin:0;padding:12px 22px;border-top:1px solid rgba(192,57,43,.2);background:#c0392b0f;color:#a93226;font-size:13px}.settings-panel__footer{display:flex;justify-content:flex-end;padding:16px 28px;border-top:1px solid var(--color-border);background:#fafbfc}.settings-panel__submit{min-width:140px;height:40px;padding:0 18px;border:1px solid var(--color-primary);border-radius:6px;background:var(--color-primary);color:#fff;font-size:13px;font-weight:600;cursor:pointer;transition:background .15s ease,border-color .15s ease,opacity .15s ease}.settings-panel__submit:hover:not(:disabled){background:var(--color-primary-dark);border-color:var(--color-primary-dark)}.settings-panel__submit:disabled{border-color:var(--color-border);background:#f5f6fa;color:var(--color-text-soft);cursor:not-allowed}@media(max-width:760px){.settings-page__header{flex-direction:column;align-items:stretch}.settings-panel__section-head{grid-template-columns:1fr;gap:8px;padding:18px 16px}.settings-row{grid-template-columns:1fr;gap:10px;padding:18px 16px}.settings-row__control{justify-content:stretch}.settings-row__input{max-width:none;text-align:left}.settings-panel__footer{justify-content:stretch;padding:14px 16px}.settings-panel__submit{width:100%}}.process-card{border-radius:8px;background:var(--color-surface);border:1px solid var(--color-border);box-shadow:none;overflow:hidden}.process-card .user-card{box-shadow:none;border:0;border-radius:0;background:transparent}.process-card:hover .user-card:not(.user-card--static){background:#fafbff}.process-card--simulation{border-color:#7b61ff47}.process-card--coordinator{border-color:#3d5afe47}.process-card--expanded{border-color:#d5dae6}.process-card__header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;grid-column:1 / -1}.process-card__actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.process-card__expand{border:1px solid var(--color-border);background:transparent;color:var(--color-text);cursor:pointer;white-space:nowrap}.process-card__expand:hover{background:#2f33410a}.process-card__summary{margin:6px 0 0;font-size:13px;font-weight:600;line-height:1.3;color:var(--color-text)}.process-card__bar{grid-column:1 / -1;height:4px;margin-top:12px;border-radius:999px;background:#2f334114;overflow:hidden}.process-card__bar-fill{height:100%;border-radius:inherit;background:var(--color-primary);transition:width .2s ease}.process-card__progress{padding:0 14px 10px}.process-card__progress .download-progress{width:100%}.process-card__videos{border-top:1px solid var(--color-border);background:#f8f9fc;max-height:320px;overflow:auto}.process-card__videos-empty{margin:0;padding:14px 18px;font-size:13px;color:var(--color-text-muted)}.process-card__video-list{list-style:none;margin:0;padding:0}.process-card__video-item{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:10px 14px;padding:10px 16px;border-bottom:1px solid var(--color-border)}.process-card__video-item:last-child{border-bottom:0}.process-card__video-item--active{background:#7b61ff0a}.process-card__video-item--failed{background:#dc35450a}.process-card__video-thumb{width:48px;height:64px;border-radius:4px;overflow:hidden;background:#e6e8ef;flex-shrink:0}.process-card__video-thumb-img{display:block;width:100%;height:100%;object-fit:cover}.process-card__video-thumb-fallback{width:100%;height:100%;background:linear-gradient(160deg,#d9dce6,#b8becd)}.process-card__video-main{min-width:0}.process-card__video-id{margin:0;font-size:13px;font-weight:600;line-height:1.3;color:var(--color-text);font-variant-numeric:tabular-nums}.process-card__video-title{margin:2px 0 0;font-size:12px;line-height:1.3;color:var(--color-text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.process-card__video-meta{display:flex;align-items:center;gap:10px;flex-shrink:0}.process-card__video-status{font-size:12px;font-weight:600;color:var(--color-text-muted);white-space:nowrap}.process-card__video-item--active .process-card__video-status{color:var(--color-primary)}.process-card__video-progress{font-size:12px;font-weight:600;color:var(--color-text);font-variant-numeric:tabular-nums}.process-card__video-error{grid-column:2 / -1;margin:0;font-size:12px;line-height:1.35;color:#c0392b}.user-card--process.user-card--static{cursor:default}.user-card--process.user-card--static:hover{background:transparent}.user-card--process{display:flex;flex-direction:column;align-items:stretch;gap:0;min-height:0;padding:14px 16px}.user-card--process .user-card__lead{min-width:0;flex:1}.user-card--process .user-card__username--link{display:inline;padding:0;border:0;background:transparent;color:inherit;font:inherit;font-weight:inherit;text-align:left;cursor:pointer}.user-card--process .user-card__username--link:hover{color:var(--color-primary)}.user-card--process .user-card__actions{margin:0}.user-card--process .user-card__metrics--process{display:grid;grid-template-columns:minmax(110px,140px) minmax(0,1fr);gap:8px 12px;width:100%;min-width:0;padding:8px 0 0;margin-top:8px;border:0;overflow:visible}.user-card__metrics-group--process-profile,.user-card__metrics-group--process-batch{display:flex;flex-direction:column;gap:4px;min-width:0;padding:0;border:0}.user-card__metrics-group--process-profile{padding-right:0;border:0}.user-card__metrics-group--process-batch{border:0}.user-card__metrics-group-label{margin:0;font-size:9px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--color-text-soft);line-height:1.2}.user-card__metrics-group-cells{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 6px;min-width:0}.user-card__metrics-group-cells--batch{grid-template-columns:repeat(7,minmax(0,1fr))}.user-card--process .user-card__metrics--process .user-card__metric{min-width:0;text-align:left;padding:3px 5px;border:0;border-radius:4px;background:#f5f6fa}.user-card--process .user-card__metric--active{background:var(--color-primary-soft)}.user-card--process .user-card__metric-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.15;font-size:9px;letter-spacing:.02em;text-transform:uppercase}.user-card--process .user-card__metric-value{margin:0 0 1px;font-size:13px;line-height:1.2;font-variant-numeric:tabular-nums}.user-card--process .user-card__metric--active .user-card__metric-value{color:var(--color-primary)}.user-card__action--stop{border:1px solid #dc3545;background:transparent;color:#dc3545;cursor:pointer;transition:background .15s ease,color .15s ease}.user-card__action--stop:hover:not(:disabled){background:#dc354514}.user-card__action--stop:disabled{opacity:.65;cursor:not-allowed}.app-main--profile{flex:1;min-height:0;max-width:none;margin:0;padding:0;overflow:hidden;display:flex;flex-direction:column}.user-detail--page{flex:1;align-self:stretch;width:100%;min-height:0;overflow-x:hidden;overflow-y:auto;padding:20px 28px 28px;border:0;border-radius:0;box-shadow:none}.user-card__lead{display:flex;align-items:center;gap:14px;min-width:0}.user-card__avatar{flex:0 0 44px;width:44px;height:44px;border-radius:8px;overflow:hidden;background:#eef0f6;display:flex;align-items:center;justify-content:center}.user-card__avatar img,.user-card__avatar-img,.user-detail__profile-avatar img,.user-detail__profile-avatar-img{width:100%;height:100%;object-fit:cover}.video-tile__media img,.video-tile__thumb-img{display:block;width:100%;height:100%;object-fit:cover}.user-card__avatar-fallback{font-size:16px;font-weight:700;color:var(--color-primary)}.user-card__identity{min-width:0}.user-card__username{margin:0;font-size:15px;font-weight:600;color:var(--color-text);line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-card__userid{margin:3px 0 0;font-size:12px;color:var(--color-text-muted);line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-card__metrics{display:grid;grid-template-columns:repeat(4,minmax(64px,1fr));align-items:center;gap:12px;flex-shrink:0;padding:0 16px;border-left:1px solid var(--color-border);border-right:1px solid var(--color-border)}.user-card:has(.user-card__metrics--compact){grid-template-columns:minmax(0,1fr) auto auto}.user-card__metrics--compact{display:grid;grid-template-columns:10rem minmax(5.75rem,max-content);column-gap:10px;align-items:center;flex-shrink:0;padding:0 12px;border-left:1px solid var(--color-border);border-right:1px solid var(--color-border)}.user-card__metrics-group{display:flex;align-items:center;min-width:0}.user-card__metrics-group--stats{width:10rem;min-width:10rem;padding-right:0}.user-card__metrics-group--time{width:auto;min-width:5.75rem;padding-left:10px;border-left:1px solid var(--color-border)}.user-card__metrics-group--time .user-card__metric--inline{display:grid;grid-template-columns:13px minmax(0,1fr);align-items:center;gap:4px;width:100%;min-width:0;padding:0}.user-card__metric--inline{display:inline-flex;align-items:center;gap:4px;min-width:0;padding:3px 6px;border-radius:4px}.user-card__metric--inline .user-card__metric-value{margin:0;font-size:12px;font-weight:600;font-variant-numeric:tabular-nums;line-height:1;color:var(--color-text)}.user-card__metric--inline .user-card__metric-value--text{font-size:12px;font-weight:500;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-card__metric-icon{flex-shrink:0;color:var(--color-text-soft);opacity:.75}.user-card__metric-icon--failed{color:#c0392b;opacity:1}.user-card--readonly .user-card__metrics{grid-template-columns:repeat(2,minmax(72px,1fr))}.user-card__metric--last{min-width:0}.user-card__metric-value--text{font-size:12px;font-weight:600;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-card__metric{min-width:0}.user-card__metric-value{margin:0;font-size:15px;font-weight:700;font-variant-numeric:tabular-nums;color:var(--color-text);line-height:1.2}.user-card__metric-value--failed{color:#c0392b}.user-card__metric-label{margin:3px 0 0;font-size:11px;font-weight:500;letter-spacing:.03em;text-transform:uppercase;color:var(--color-text-soft);line-height:1.2}.user-card__actions{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;gap:8px;flex-shrink:0}.user-card__action{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:0 12px;border-radius:6px;font-size:12px;font-weight:600;letter-spacing:.01em;white-space:nowrap;cursor:pointer;transition:background .15s ease,border-color .15s ease,color .15s ease,box-shadow .15s ease}.user-card__action:focus-visible{outline:2px solid rgba(123,97,255,.45);outline-offset:2px}.user-card__action--save{border:1px solid var(--color-border);background:var(--color-surface);color:var(--color-text-muted);cursor:pointer;transition:border-color .15s ease,color .15s ease}.user-card__action--save:hover:not(:disabled){border-color:var(--color-primary);color:var(--color-primary)}.user-card__action--save:disabled{opacity:.65;cursor:not-allowed}.user-card__action--download{border:1px solid rgba(123,97,255,.35);background:#7b61ff14;color:var(--color-primary-dark)}.user-card__action--download:hover:not(:disabled){border-color:var(--color-primary);background:#7b61ff24;color:var(--color-primary-dark)}.user-card__action--download:disabled{border-color:var(--color-border);background:#f5f6fa;color:var(--color-text-soft);cursor:not-allowed}.user-card__action--delete{border:1px solid rgba(192,57,43,.32);background:#c0392b0f;color:#a93226}.user-card__action--delete:hover:not(:disabled){border-color:#c0392b80;background:#c0392b1f;color:#922b21}.user-card__action--delete:disabled{border-color:var(--color-border);background:#f5f6fa;color:var(--color-text-soft);cursor:not-allowed}.user-card__saved-status{display:inline-flex;align-items:center;justify-content:center;min-height:30px;min-width:88px;padding:0 12px;border-radius:8px;font-size:11px;font-weight:600;color:var(--color-success-text);background:var(--color-success-bg)}.user-card__status-note{font-size:11px;color:var(--color-text-soft);white-space:nowrap}.status-pill{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:0 14px;border-radius:999px;font-size:12px;font-weight:600;white-space:nowrap}.status-pill--action{border:0;background:var(--color-primary);color:#fff;cursor:pointer}.status-pill--action:hover:not(:disabled){background:var(--color-primary-dark)}.status-pill--action:disabled{opacity:.65;cursor:not-allowed}.user-detail{padding:14px 16px 16px;border:1px solid var(--color-border);border-top:0;border-radius:0 0 12px 12px;background:var(--color-surface);box-shadow:var(--shadow-card)}.user-detail__hint,.user-detail__error{margin:0;font-size:13px}.user-detail__hint{color:var(--color-text-muted)}.user-detail__error{color:#c0392b}.user-detail__profile{display:flex;align-items:center;gap:12px;padding-bottom:14px;margin-bottom:14px;border-bottom:1px solid var(--color-border)}.user-detail__profile-avatar{width:52px;height:52px;border-radius:12px;overflow:hidden;background:#eef0f6;display:flex;align-items:center;justify-content:center;flex-shrink:0}.user-detail__profile-avatar img{width:100%;height:100%;object-fit:cover}.user-detail__profile-meta{min-width:0}.user-detail__profile-name{margin:0 0 4px;font-size:16px;font-weight:700;color:var(--color-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-detail__profile-stats{margin:0}.user-detail__videos-title{margin:0 0 10px;font-size:13px;font-weight:600;color:var(--color-text-muted);text-transform:uppercase;letter-spacing:.04em}.user-detail__videos,.library-panel__videos{width:100%;min-width:0}.video-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,var(--video-grid-min)),1fr));gap:var(--video-grid-gap);width:100%;min-width:0}.video-tile{display:flex;flex-direction:column;gap:8px;min-width:0;width:100%;max-width:none}.video-tile--selectable .video-tile__select{display:block;width:100%;padding:0;border:0;background:transparent;cursor:pointer;text-align:left}.video-tile--selected .video-tile__media{outline:2px solid var(--color-primary);outline-offset:2px}.video-tile--selected .video-tile__select:focus-visible .video-tile__media{outline:2px solid var(--color-primary);outline-offset:2px}.video-tile--avatar-selectable .video-tile__select{display:block;width:100%;padding:0;border:0;background:transparent;cursor:pointer;text-align:left}.video-tile--avatar-selected .video-tile__media{outline:2px solid #00c4b4;outline-offset:2px}.video-tile--avatar-selected .video-tile__select:focus-visible .video-tile__media{outline:2px solid #00c4b4;outline-offset:2px}.user-detail__hint--inline{margin:0 0 14px}.video-tile__select:focus{outline:none}.video-tile__select:focus-visible .video-tile__media{outline:2px solid var(--color-primary-dark);outline-offset:2px}.video-tile__media{position:relative;width:100%;aspect-ratio:9 / 16;border-radius:12px;overflow:hidden;background:#eef0f6}.video-tile__media img{display:block;width:100%;height:100%;object-fit:cover}.video-tile__fallback{display:flex;align-items:center;justify-content:center;width:100%;height:100%;padding:12px;text-align:center;font-size:12px;color:var(--color-text-soft)}.video-tile__status{position:absolute;left:6px;bottom:6px;z-index:1;display:inline-flex;align-items:center;max-width:calc(100% - 12px);min-height:22px;padding:4px 9px;border-radius:6px;border:1px solid rgba(255,255,255,.35);font-size:10px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:#141820c7;color:#fff;box-shadow:0 2px 8px #00000038}.video-tile__status--stored{background:#1f9d55eb;border-color:#ffffff47;color:#fff}.video-tile__status--downloading{background:#6a4df5eb;border-color:#ffffff47;color:#fff}.video-tile__status--uploading{background:#009688eb;border-color:#ffffff47;color:#fff}.video-tile__status--encoding{background:#3d5afeeb;border-color:#ffffff47;color:#fff}.video-tile__status--registering{background:#5c4dcceb;border-color:#ffffff47;color:#fff}.video-tile__status--pending{background:#2f3341d1;border-color:#fff3;color:#d8dce8}.video-tile__status--error{background:#c0392beb;border-color:#ffffff47;color:#fff}.video-tile__avatar-badge{position:absolute;top:8px;left:8px;z-index:2;max-width:calc(100% - 16px);padding:5px 8px;border-radius:999px;font-size:10px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:#00c4b4eb;color:#fff}.video-tile--avatar-source .video-tile__media{outline:2px solid #00c4b4;outline-offset:2px}.video-tile--avatar-source .video-tile__select:focus-visible .video-tile__media{outline:2px solid #00c4b4;outline-offset:2px}.video-tile--avatar-source .video-tile__avatar-badge{background:#00c4b4eb}.video-tile--avatar-selected:not(.video-tile--avatar-source) .video-tile__avatar-badge{background:#3d5afee6}.video-tile__menu{position:absolute;top:8px;right:8px;z-index:4}.video-tile__menu-trigger{display:flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;border:1px solid rgba(255,255,255,.24);border-radius:6px;background:#141820d1;cursor:pointer;opacity:0;transition:opacity .15s ease,background .15s ease}.video-tile:hover .video-tile__menu-trigger,.video-tile__menu--open .video-tile__menu-trigger,.video-tile__menu-trigger:focus-visible{opacity:1}.video-tile__menu-trigger:hover,.video-tile__menu--open .video-tile__menu-trigger{background:#141820f0}.video-tile__menu-icon{display:block;width:3px;height:3px;border-radius:50%;background:#fff;box-shadow:0 -5px #fff,0 5px #fff}.video-tile__menu-panel{min-width:168px;padding:6px;border:1px solid #333333;border-radius:8px;background:#1a1a1a;box-shadow:0 8px 24px #0006}.video-tile__menu-panel--floating{position:fixed;z-index:1100}.video-tile__menu-item{display:block;width:100%;padding:8px 10px;border:0;border-radius:4px;background:transparent;color:#fff;font-size:13px;font-weight:500;text-align:left;cursor:pointer}.video-tile__menu-item:hover:not(:disabled){background:#ffffff14}.video-tile__menu-item:disabled{opacity:.55;cursor:default}.video-tile__meta{min-width:0;padding:0 2px}.video-tile__post-id{margin:0;font-size:12px;font-weight:600;color:var(--color-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.video-tile__bunny-id{margin:2px 0 0;font-size:10px;color:var(--color-text-soft);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-detail__load-sentinel{width:100%;height:1px;margin-top:24px}.user-detail__hint--loading{margin-top:12px;text-align:center}.video-tile--placeholder{pointer-events:none}.video-tile__media--placeholder{overflow:hidden;background:#eef0f6;border:1px solid #dfe3ec}.video-tile__placeholder-shimmer{display:block;width:100%;height:100%;background:linear-gradient(110deg,#ffffff1a,#ffffffb8,#ffffff1a 90%);background-size:200% 100%;animation:video-tile-placeholder-shimmer 1.4s ease-in-out infinite}.video-tile__meta--placeholder{display:flex;flex-direction:column;gap:6px;padding-top:2px}.video-tile__placeholder-line{display:block;height:10px;border-radius:4px;background:#d8dce8}.video-tile__placeholder-line--title{width:72%}.video-tile__placeholder-line--subtitle{width:46%;height:8px}@keyframes video-tile-placeholder-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.user-detail__load-more{margin-top:16px;padding:10px 14px;border:1px solid var(--color-border);border-radius:999px;background:var(--color-surface);color:var(--color-primary);font-size:12px;font-weight:600;cursor:pointer}.user-detail__load-more:disabled{opacity:.6;cursor:not-allowed}@media(max-width:960px){:root{--video-grid-min: 140px;--video-grid-gap: 14px}.app-shell--profile .profile-toolbar__inner{padding-top:12px;padding-bottom:12px}.app-shell--profile .profile-toolbar__row,.app-shell--profile .profile-toolbar__filters{padding-left:20px;padding-right:20px}.profile-toolbar__row{gap:10px 12px}.profile-toolbar__status{flex:1 1 100%;max-width:none}.user-detail--page{padding:16px 20px 24px}}@media(max-width:720px){:root{--video-grid-min: 120px;--video-grid-gap: 12px}.user-detail--page{padding:16px}.app-shell--profile .profile-toolbar__row,.app-shell--profile .profile-toolbar__filters{padding-left:16px;padding-right:16px}.profile-toolbar__download,.profile-toolbar__toggle,.profile-toolbar__confirm,.profile-toolbar__secondary{min-height:32px;padding:0 10px;font-size:12px}.user-card{grid-template-columns:minmax(0,1fr) auto;row-gap:12px;padding:12px 14px}.user-card--readonly{grid-template-columns:minmax(0,1fr) auto}.user-card:has(.user-card__metrics--compact){grid-template-columns:minmax(0,1fr) auto}.user-card__metrics{grid-column:1;grid-template-columns:repeat(2,minmax(0,1fr));row-gap:12px;gap:12px;padding:12px 0 0;border-left:0;border-right:0;border-top:1px solid var(--color-border)}.user-card--process .user-card__metrics--process{grid-template-columns:1fr;gap:8px;border:0}.process-card__header{flex-wrap:wrap}.process-card__actions{width:100%;justify-content:flex-end}.user-card__metrics-group--process-profile,.user-card__metrics-group--process-batch{width:100%;padding:0;border:0}.user-card__metrics-group--process-profile{padding-right:0;padding-bottom:0;border:0}.user-card__metrics-group-cells--batch{grid-template-columns:repeat(3,minmax(0,1fr))}.process-card__video-item{grid-template-columns:44px minmax(0,1fr);gap:8px 12px}.process-card__video-thumb{width:44px;height:58px}.process-card__video-meta{grid-column:2;justify-content:flex-start}.process-card__video-error{grid-column:2}.user-card__metrics--compact{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:8px 0;grid-column:1;padding:10px 0 0;border-left:0;border-right:0;border-top:1px solid var(--color-border);grid-template-columns:none}.user-card__metrics-group--stats{width:100%;min-width:0;padding-right:0}.user-card__metrics-group--time{width:100%;min-width:0;padding-left:0;border-left:0;padding-top:6px;margin-top:2px;border-top:1px solid var(--color-border)}.profile-video-stats--card{grid-template-columns:repeat(4,minmax(0,1fr));column-gap:8px}.user-card__metric--inline .user-card__metric-value--text{max-width:none}.user-card--readonly .user-card__metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.user-card__actions{grid-column:2;grid-row:1 / span 2;align-self:center;min-width:0}}@media(max-width:640px){.profile-toolbar__row{flex-wrap:wrap}.profile-toolbar__profile.user-detail__profile{flex:1 1 0}.profile-toolbar__actions{flex:1 1 100%;margin-left:0;justify-content:flex-end}}@media(max-width:480px){:root{--video-grid-gap: 10px}.top-header__nav-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.top-header__nav-link{min-height:32px;padding:6px;font-size:10px}.user-card--process .user-card__metrics-group-cells--batch,.video-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell--profile .profile-toolbar__inner{padding-top:10px;padding-bottom:10px}.profile-toolbar__row{gap:8px}.profile-toolbar__actions{gap:8px;justify-content:stretch}.profile-toolbar__actions>button{flex:1 1 0;min-width:0;text-align:center}.profile-toolbar__status{flex-basis:100%}.profile-toolbar__profile .user-detail__profile-avatar{width:40px;height:40px}.profile-toolbar__profile .user-detail__profile-name{font-size:15px}.user-detail--page{padding:12px}.app-shell--profile .profile-toolbar__row,.app-shell--profile .profile-toolbar__filters{padding-left:12px;padding-right:12px}.video-tile__media{border-radius:10px}.video-tile__post-id{font-size:11px}}@media(max-width:760px){:root{--layout-gutter: 16px}.top-header__inner,.sub-nav__inner,.app-main{padding-left:var(--layout-gutter);padding-right:var(--layout-gutter)}.top-header__inner{flex-wrap:wrap;gap:16px;padding-top:12px;padding-bottom:12px;min-height:auto}.top-header__nav{order:3;flex:1 1 100%;justify-content:stretch}.top-header__actions{order:2;margin-left:auto;padding-left:0;border-left:0}.top-header__actions-group{gap:0}.top-header__switch{padding:0 10px}.top-header__switch:first-child{padding-left:0}.top-header__switch-label{font-size:12px}.top-header__nav-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;width:100%}.top-header__nav-link{flex:none;width:100%;max-width:none;min-width:0;min-height:34px;padding:7px 8px;font-size:11px;line-height:1.25}.sub-nav__inner{padding-top:14px;padding-bottom:14px}.sub-nav__inner--search{grid-template-columns:1fr;gap:12px}.sub-nav__inner--bunny{flex-direction:column;align-items:stretch;gap:12px}.sub-nav__inner--video{gap:12px}.sub-nav__lead--bunny{width:100%;align-items:flex-start}.sub-nav__search--bunny{max-width:none}.sub-nav__inner--bunny .sub-nav__tabs{margin-left:0;width:100%}.sub-nav__tabs--segmented{width:100%}.sub-nav__inner--bunny .sub-nav__tab,.sub-nav__tabs--segmented .sub-nav__tab{flex:1 1 0;min-width:0}.sub-nav__search-field{flex-direction:column}.sub-nav__search-input{height:42px;border-bottom:1px solid var(--color-border)}.sub-nav__search-button{min-width:0;width:100%;height:42px;border-left:0}}.library-panel__header{margin-bottom:20px}.library-panel__back{display:inline-flex;align-items:center;margin:0 0 12px;padding:8px 14px;border:1px solid var(--color-border);border-radius:999px;background:var(--color-surface);color:var(--color-text-muted);font-size:13px;font-weight:600;cursor:pointer}.library-panel__header--compact{margin-bottom:12px}.library-panel__title{margin:0;font-size:24px;font-weight:700;color:var(--color-text)}.library-panel__subtitle{margin:6px 0 0;font-size:14px;color:var(--color-text-muted)}.library-panel__intro,.library-panel__scan-meta{display:flex;flex-direction:column;gap:10px;min-width:0}.library-panel__scan-badge{display:inline-flex;align-items:center;padding:3px 8px;border:1px solid rgba(61,90,254,.35);border-radius:4px;font-size:12px;font-weight:600;letter-spacing:.02em;color:#9eb0ff;background:#3d5afe14;white-space:nowrap}.library-panel__scan-stats{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.library-panel__scan-pending{font-size:13px;color:var(--color-text-muted)}.library-panel__hint{margin:0;font-size:14px;color:var(--color-text-muted)}.library-panel__error{margin:0;font-size:14px;color:#c0392b}.profile-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.profile-list__actions{margin-top:20px;display:flex;justify-content:center}.profile-list__load-more{padding:12px 22px;border:1px solid var(--color-border);border-radius:999px;background:var(--color-surface);color:var(--color-primary);font-size:14px;font-weight:600;cursor:pointer}.profile-list__load-more:disabled{opacity:.6;cursor:not-allowed}.video-tile--clickable .video-tile__select{display:block;width:100%;max-width:100%;padding:0;border:0;background:transparent;cursor:pointer;text-align:left}.video-tile--clickable .video-tile__select:focus-visible .video-tile__media{outline:2px solid var(--color-primary-dark);outline-offset:2px}.video-tile__duration{position:absolute;right:8px;bottom:8px;padding:4px 7px;border-radius:6px;font-size:10px;font-weight:600;background:#000000b8;color:#fff}.app-main--player{max-width:var(--layout-max-width);margin:0 auto;padding:var(--layout-gutter)}.video-page{width:100%;min-width:0}.video-page__toolbar{margin-bottom:16px}.video-page__content--solo{max-width:min(100%,420px);margin:0 auto}.video-page__content--solo .video-player{width:100%}.video-page__content{display:flex;flex-direction:column;align-items:stretch;gap:20px;width:100%;min-width:0}.video-page__content .video-player{flex:0 0 auto;width:100%;min-width:0;max-width:100%}.video-page__player-column{display:flex;flex-direction:column;gap:12px;flex:0 0 auto;width:100%;min-width:0}.video-page__details--panel{margin:0}.video-player{width:100%;max-width:100%;aspect-ratio:9 / 16;max-height:min(70vh,780px);border-radius:12px;overflow:hidden;background:#0d0d0d}.video-player__element{display:block;width:100%;height:100%;object-fit:contain;background:#0d0d0d}.video-player__error{margin:0;padding:16px;border-radius:12px;background:#fff1f0f2;color:#c0392b;font-size:14px}.video-page__meta{flex:0 0 auto;width:100%;min-width:0;padding:16px;border:1px solid var(--color-border);border-radius:12px;background:var(--color-surface)}.video-page__title{margin:0;font-size:20px;font-weight:700}.video-page__title-link{margin:0;padding:0;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer}.video-page__title-link:hover{color:var(--color-primary)}.video-page__profile-link{margin-top:8px;padding:0;border:0;background:transparent;color:var(--color-primary);font-size:14px;font-weight:600;cursor:pointer}.video-page__details{display:grid;grid-template-columns:1fr;gap:12px;margin:16px 0 0}.video-page__detail{min-width:0}.video-page__detail dt{margin:0;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--color-text-soft)}.video-page__detail dd{margin:4px 0 0;font-size:13px;color:var(--color-text);word-break:break-all}.video-page__detail--wide{grid-column:1 / -1}@media(min-width:901px){.video-page__content{flex-direction:row;align-items:flex-start}.video-page__content .video-page__player-column{flex:0 1 420px;width:min(100%,420px);min-width:min(100%,320px)}.video-page__content .video-page__meta,.video-page__content .post-info-panel{flex:1 1 320px;min-width:0;max-width:520px}}.overview-page__state{margin:0;padding:24px 0;color:var(--color-text-soft);font-size:14px}.overview-page__state--error{color:#f87171}.overview-refresh{border:1px solid var(--color-border);border-radius:6px;background:var(--color-surface);color:var(--color-text);font-size:13px;font-weight:500;padding:8px 14px;cursor:pointer;transition:border-color .15s ease,background .15s ease}.overview-refresh:hover:not(:disabled){border-color:#7b61ff6b;background:#7b61ff0f}.overview-refresh:disabled{opacity:.6;cursor:not-allowed}.overview-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px;margin-bottom:28px}.overview-stat{display:flex;flex-direction:column;gap:6px;padding:16px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface);text-align:left}.overview-stat--clickable{cursor:pointer;transition:border-color .15s ease,background .15s ease}.overview-stat--clickable:hover{border-color:#7b61ff6b;background:#7b61ff0a}.overview-stat__label{font-size:12px;font-weight:500;color:var(--color-text-soft)}.overview-stat__value{font-size:24px;font-weight:700;color:var(--color-text);line-height:1.2}.overview-stat__hint{font-size:11px;color:var(--color-text-soft);line-height:1.4}.overview-panels{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}.overview-panel{border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface);padding:16px}.overview-panel__header{margin-bottom:12px}.overview-panel__title{margin:0;font-size:16px;font-weight:600;color:var(--color-text)}.overview-panel__subtitle{margin:4px 0 0;font-size:12px;color:var(--color-text-soft)}.overview-panel__empty{margin:0;font-size:13px;color:var(--color-text-soft)}.overview-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.overview-list__item{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:10px 12px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--color-text);text-align:left;cursor:pointer;transition:border-color .15s ease,background .15s ease}.overview-list__item:hover{border-color:var(--color-border);background:#ffffff05}.overview-list__primary{font-size:13px;font-weight:600;color:var(--color-text)}.overview-list__secondary{font-size:11px;color:var(--color-text-soft);white-space:nowrap}
