@import"https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css";:root{--color-primary: #3182f6;--color-primary-dark: #1b64da;--color-primary-soft: #ebf2ff;--color-bg: #f9fafb;--color-surface: #ffffff;--color-border: #e5e8eb;--color-muted: #6b7684;--color-text: #191f28;--color-soft-text: #4e5968;--color-success: #166534;--color-success-soft: #f0fdf4;--color-danger-soft: #fff0f1;--color-info-soft: #eaf2ff;--color-code-bg: #111827;--color-sidebar-muted: #8b95a1;--color-danger: #f04452;--topbar-bg: rgba(255, 255, 255, .86);--card-shadow: 0 1px 2px rgba(15, 23, 42, .04);--space-2xs: 4px;--space-xs: 8px;--space-sm: 12px;--space-md: 16px;--space-lg: 20px;--space-xl: 24px;--space-2xl: 28px;--radius-sm: 6px;--radius-md: 8px;--radius-lg: 12px;--footer-name: #2f2a24;--footer-muted: #9b9489;--sidebar-width: 260px;font-family:Pretendard Variable,-apple-system,BlinkMacSystemFont,system-ui,sans-serif;color:var(--color-text);background:var(--color-bg);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}html,body,button,input,textarea,select{font-family:Pretendard Variable,-apple-system,BlinkMacSystemFont,system-ui,sans-serif}:root[data-theme=dark]{--color-primary: #60a5fa;--color-primary-dark: #93c5fd;--color-primary-soft: rgba(96, 165, 250, .14);--color-bg: #0b1323;--color-surface: #111b2d;--color-border: #243247;--color-muted: #94a3b8;--color-text: #f8fafc;--color-soft-text: #dbe4f0;--color-success: #86efac;--color-success-soft: rgba(34, 197, 94, .14);--color-danger-soft: rgba(240, 68, 82, .14);--color-info-soft: rgba(96, 165, 250, .14);--color-code-bg: #020617;--color-sidebar-muted: #94a3b8;--topbar-bg: rgba(17, 27, 45, .86);--card-shadow: 0 10px 30px rgba(0, 0, 0, .2);--footer-name: #f8fafc;--footer-muted: #94a3b8}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:var(--color-bg)}button,a{font:inherit}a{color:inherit;text-decoration:none}#root{min-height:100vh}.login-page{min-height:100vh;padding:24px;display:grid;place-items:center;background:#f7f8fa}.login-page--agent{background:#f6faf7}.login-panel{width:min(100%,400px);border:1px solid var(--color-border);border-radius:8px;padding:36px 32px;background:var(--color-surface);box-shadow:0 14px 44px #0f172a14}.login-panel__logo{width:64px;height:64px;margin:0 auto 18px;border-radius:8px;display:grid;place-items:center;overflow:hidden;background:transparent}.login-panel__logo img{width:100%;height:100%;object-fit:contain}.login-panel__eyebrow{margin:0 0 6px;color:var(--color-muted);text-align:center;font-size:13px;font-weight:800}.login-panel h1{margin:0 0 28px;text-align:center;font-size:16px}.login-form{display:grid;gap:16px}.login-form label{display:grid;gap:8px;color:var(--color-soft-text);font-size:13px;font-weight:800}.login-form input{width:100%;height:46px;border:1px solid var(--color-border);border-radius:8px;padding:0 14px;color:var(--color-text);background:var(--color-surface);font-size:15px;outline:none}.login-form input:focus{border-color:var(--color-primary);box-shadow:0 0 0 3px var(--color-primary-soft)}.login-form__error{margin:0;border-radius:8px;padding:12px 14px;color:var(--color-danger);background:#fff0f1;font-size:13px;font-weight:700}.login-form button{height:48px;border:0;border-radius:8px;color:#fff;background:var(--color-primary-dark);font-size:15px;font-weight:900;cursor:pointer}.login-page--agent .login-form button{background:#16a34a}.layout{display:flex;min-height:100vh}.sidebar-overlay{display:none}.sidebar{position:fixed;inset:0 auto 0 0;z-index:20;width:var(--sidebar-width);background:var(--color-surface);color:var(--color-text);display:flex;flex-direction:column;border-right:1px solid var(--color-border);box-shadow:1px 0 #00000005}.sidebar__header{padding:20px;border-bottom:1px solid var(--color-border);display:flex;justify-content:center}.sidebar__logo{display:inline-flex;align-items:center;gap:10px;text-align:center}.sidebar__logo strong,.sidebar__logo small{display:block}.sidebar__brand-text{color:var(--color-primary-dark);font-size:16px;font-weight:900;line-height:1;letter-spacing:0}.sidebar__logo small{margin-top:2px;color:var(--color-sidebar-muted);font-size:12px}.sidebar__nav{flex:1;overflow-y:auto;padding:14px 12px}.sidebar__link,.sidebar__group-button{width:100%;min-height:44px;border:0;border-radius:8px;padding:8px 10px;display:flex;align-items:center;gap:10px;color:#4e5968;background:transparent;cursor:pointer;text-align:left;font-family:Pretendard Variable,-apple-system,"system-ui",system-ui,sans-serif;font-size:14px;font-style:normal;font-weight:600;line-height:normal}.sidebar__link:hover,.sidebar__group-button:hover,.sidebar__link.active,.sidebar__sublink.active{color:var(--color-primary-dark);background:var(--color-primary-soft)}.sidebar__link-icon{width:24px;min-width:24px;display:inline-flex;justify-content:center;font-size:16px}.sidebar__chevron{margin-left:auto;color:var(--color-sidebar-muted)}.sidebar__submenu{margin:4px 0 10px 42px;display:grid;gap:2px}.sidebar__sublink{border-radius:8px;padding:9px 10px;color:#4e5968;font-family:Pretendard Variable,-apple-system,"system-ui",system-ui,sans-serif;font-size:14px;font-style:normal;font-weight:600;line-height:normal}.sidebar__footer{padding:0;border-top:1px solid var(--color-border);background:var(--color-surface)}.sidebar__user{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;min-height:74px;padding:16px 20px}.sidebar__user strong,.sidebar__user small{display:block;font-family:Pretendard Variable,Pretendard,-apple-system,"system-ui",system-ui,Roboto,Helvetica Neue,Segoe UI,Apple SD Gothic Neo,Noto Sans KR,Malgun Gothic,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,sans-serif;font-size:14px;font-style:normal;font-weight:500;line-height:1}.sidebar__user strong{color:#403d38}.sidebar__user small{margin-top:8px;color:#9b9489}.sidebar__logout,.topbar__logout{min-height:38px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface);color:var(--color-soft-text);font-weight:700;cursor:pointer}.sidebar__logout{width:36px;height:36px;min-height:36px;border:0;padding:0;color:#b8b0a3;background:transparent;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;border-radius:8px;transition:color .15s ease,background-color .15s ease}.sidebar__logout-icon{width:22px;height:22px}.sidebar__logout:hover,.topbar__logout:hover{color:var(--color-danger);background:#fff5f6}.main-area{width:calc(100% - var(--sidebar-width));min-width:0;margin-left:var(--sidebar-width)}.topbar{position:sticky;top:0;z-index:10;height:72px;padding:0 28px;background:var(--topbar-bg);border-bottom:1px solid var(--color-border);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);display:flex;align-items:center;gap:14px}.topbar__mobile-brand{display:none}.topbar__mobile-brand img{width:32px;height:32px;flex:0 0 auto;border-radius:8px;object-fit:contain}.topbar__spacer{flex:1}.topbar__balances{display:flex;align-items:center;gap:44px;min-width:0}.topbar__balance-item{display:grid;gap:3px;min-width:max-content}.topbar__balance-item span{color:var(--color-muted);font-size:12px;font-weight:700}.topbar__balance-item strong{color:var(--color-text);font-size:15px;font-weight:900;line-height:1.2}.topbar__balance-item--mine strong{color:#2563eb}.topbar__balance-item--agents strong{color:#ca8a04}.topbar__balance-item--users strong{color:#16a34a}.topbar__logout{padding:0 14px}.topbar__theme-toggle{height:38px;padding:3px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-bg);display:inline-flex;gap:2px}.topbar__theme-toggle button{min-width:58px;border:0;border-radius:6px;padding:0 10px;color:var(--color-muted);background:transparent;font-size:13px;font-weight:800;cursor:pointer}.topbar__theme-toggle button.is-active{color:var(--color-primary-dark);background:var(--color-surface);box-shadow:var(--card-shadow)}.topbar__eyebrow,.page__eyebrow{margin:0 0 2px;color:var(--color-muted);font-size:12px;font-weight:700;text-transform:uppercase}.topbar__menu{display:none;width:40px;height:40px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface);cursor:pointer;align-items:center;justify-content:center;flex-direction:column;gap:4px}.topbar__menu span{width:18px;height:2px;background:var(--color-text)}.main-content{padding:28px}.page{display:grid;gap:20px}.page__header{display:flex;align-items:center;justify-content:space-between;gap:16px}.page__header h2{margin:0;font-size:16px}.page__actions{display:flex;align-items:center;gap:8px}.page__actions button{min-height:38px;border:1px solid var(--color-border);border-radius:8px;padding:0 14px;color:var(--color-soft-text);background:var(--color-surface);font-size:13px;font-weight:800;cursor:pointer}.page__actions button:hover{color:var(--color-primary-dark);background:var(--color-primary-soft)}.page__actions button:disabled{cursor:not-allowed;color:var(--color-muted);background:var(--color-bg);opacity:.55}.page-alert{border:1px solid #fecdd3;border-radius:8px;padding:13px 16px;color:var(--color-danger);background:#fff0f1;font-size:14px;font-weight:800}.toast{position:fixed;top:22px;right:22px;z-index:80;max-width:min(420px,calc(100vw - 44px));border-radius:8px;padding:14px 16px;box-shadow:0 18px 48px #0f172a38;font-size:14px;font-weight:900;line-height:1.45}.toast--error{border:1px solid #fecdd3;color:var(--color-danger);background:#fff0f1}.toast--success{border:1px solid #bbf7d0;color:#166534;background:#f0fdf4}.agents-workspace,.users-workspace,.point-history-workspace{display:grid;grid-template-columns:minmax(300px,360px) minmax(0,1fr);align-items:start;gap:18px}.users-workspace.users-workspace--single{grid-template-columns:minmax(0,1fr)}.agent-tree-shell,.agent-list-panel{overflow:hidden;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface);box-shadow:var(--card-shadow)}.agent-tree-shell{max-height:calc(100vh - 156px);display:flex;flex-direction:column}.agent-tree-all{min-height:46px;margin:16px;border:1px solid var(--color-border);border-radius:8px;color:var(--color-soft-text);background:var(--color-surface);font-size:15px;font-weight:900;cursor:pointer}.agent-tree-all:hover,.agent-tree-all--selected{color:var(--color-primary-dark);background:var(--color-primary-soft)}.agent-tree-shell__bar{min-height:88px;padding:22px 20px;border-bottom:1px solid var(--color-border);display:flex;align-items:center;justify-content:space-between;color:var(--color-text);background:var(--color-bg)}.agent-tree-shell__bar strong{font-size:16px}.agent-tree-shell__bar div{display:flex;gap:6px}.agent-tree-shell__bar button{min-height:32px;border:1px solid var(--color-border);border-radius:6px;padding:0 10px;color:var(--color-muted);background:var(--color-surface);font-size:13px;font-weight:700;cursor:pointer}.agent-tree-shell__bar button:hover{color:var(--color-primary-dark);background:var(--color-primary-soft)}.agent-tree-shell__search{padding:12px 16px 20px;border-bottom:1px solid var(--color-border)}.agent-tree-shell__search input{width:100%;height:42px;border:1px solid var(--color-border);border-radius:6px;padding:0 14px;color:var(--color-text);background:var(--color-surface);font-size:15px;outline:none}.agent-tree-shell__search input:focus{border-color:var(--color-primary);box-shadow:0 0 0 3px var(--color-primary-soft)}.agent-tree--panel{overflow-y:auto}.agent-tree__row{display:grid;grid-template-columns:18px 30px minmax(0,1fr);align-items:center;gap:9px;width:100%;min-height:50px;border:0;padding-right:12px;color:var(--color-text);background:var(--color-surface);cursor:pointer;text-align:left}.agent-tree__row:last-child{border-bottom:0}.agent-tree__row:hover{background:var(--color-bg)}.agent-tree__row--root{color:var(--color-text);background:var(--color-surface)}.agent-tree__row--root:hover{background:var(--color-bg)}.agent-tree__row--selected,.agent-tree__row--selected:hover{color:var(--color-primary-dark);background:#eaf2ff;box-shadow:inset 3px 0 0 var(--color-primary-dark)}.agent-tree__toggle{width:18px;height:28px;border:0;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;color:currentColor;background:transparent;opacity:.55;font-size:12px;cursor:pointer}.agent-tree__toggle:disabled{cursor:default;opacity:.24}.agent-tree__badge{width:30px;height:30px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;color:#fff;background:#16a34a;font-size:13px;font-weight:900}.agent-tree__badge--운영{background:#f59e0b}.agent-tree__badge--병행{background:#3b82f6}.agent-tree__name{display:inline-flex;align-items:baseline;gap:5px;min-width:0}.agent-tree__name strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:700}.agent-tree__name small{color:var(--color-muted);font-size:14px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-status-badge{flex:0 0 auto;border-radius:999px;padding:3px 7px;font-size:11px;font-style:normal;font-weight:900;line-height:1}.agent-status-badge--blocked{color:#b91c1c;background:#fee2e2}.agent-tree__empty{padding:36px 16px;color:var(--color-muted);text-align:center;font-size:14px;font-weight:700}.agent-tree__type{width:fit-content;min-width:52px;border-radius:8px;padding:5px 10px;color:#0f766e;background:#ccfbf1;text-align:center;font-size:12px;font-weight:900}.agent-tree__type--운영{color:#7c2d12;background:#ffedd5}.agent-tree__type--병행{color:#3730a3;background:#e0e7ff}.agent-tree__row>.agent-tree__type,.agent-tree__row>.agent-tree__rate,.agent-tree__row>.agent-tree__balance{display:none}.agent-list-panel{min-width:0}.agent-list-panel__header{min-height:92px;padding:22px 24px;border-bottom:1px solid var(--color-border);display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.agent-list-panel__header h3{margin:2px 0 4px;font-size:16px}.agent-list-panel__header span:not(.agent-tree__type){color:var(--color-muted);font-size:13px;font-weight:700}.agent-list-panel__summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-bottom:1px solid var(--color-border)}.agent-list-panel__summary div{min-height:78px;padding:18px 22px;border-right:1px solid var(--color-border)}.agent-list-panel__summary div:last-child{border-right:0}.agent-list-panel__summary span{display:block;color:var(--color-muted);font-size:12px;font-weight:800}.agent-list-panel__summary strong{display:block;margin-top:7px;color:var(--color-text);font-size:16px}.agent-table{min-width:0;overflow-x:auto}.agent-table__head,.agent-table__row{display:grid;grid-template-columns:minmax(180px,1fr) 90px 100px 150px 160px 120px;align-items:center;gap:14px;min-width:850px}.agent-table__head{min-height:42px;padding:0 18px;color:var(--color-muted);background:var(--color-bg);font-size:12px;font-weight:800}.agent-table__row{width:100%;min-height:62px;border:0;border-top:1px solid var(--color-border);padding:0 18px;color:var(--color-soft-text);background:transparent;text-align:left}.agent-table__row:hover{background:var(--color-bg)}.agent-table__row strong,.agent-table__row small{display:block}.agent-table__row>span:first-child{min-width:0}.agent-table__row>span:first-child .agent-status-badge{display:inline-flex;width:fit-content;margin-top:6px}.agent-table__row strong{color:var(--color-text);font-size:14px}.agent-table__row small{margin-top:4px;color:var(--color-muted);font-size:12px;font-weight:700}.agent-table__row>span:nth-child(3),.agent-table__row>span:nth-child(4){font-size:13px;font-weight:800;text-align:right}.agent-table__row>span:nth-child(5){color:var(--color-soft-text);font-size:12px;font-weight:800}.agent-table__actions{display:inline-flex;justify-content:flex-end;gap:6px}.agent-table__actions button{min-height:32px;border:1px solid var(--color-border);border-radius:8px;padding:0 10px;color:var(--color-soft-text);background:var(--color-surface);font-size:12px;font-weight:900;cursor:pointer}.agent-table__actions button:first-child{border-color:var(--color-primary-dark);color:#fff;background:var(--color-primary-dark)}.agent-table__actions button:disabled{cursor:not-allowed;opacity:.5}.money-modal{width:min(100%,620px)}.money-modal__body{padding:22px;display:grid;gap:16px}.money-modal__target{min-height:52px;border:1px solid var(--color-border);border-radius:8px;padding:12px 14px;background:var(--color-bg)}.money-modal__target span,.money-modal label span{display:block;margin-bottom:6px;color:var(--color-muted);font-size:12px;font-weight:900}.money-modal__target strong{color:var(--color-text);font-size:14px}.money-modal__mode{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.money-modal__mode button{min-height:42px;border:1px solid var(--color-border);border-radius:8px;color:var(--color-soft-text);background:var(--color-surface);font-size:14px;font-weight:900;cursor:pointer}.money-modal__mode button.is-active{border-color:var(--color-primary-dark);color:#fff;background:var(--color-primary-dark)}.money-modal__mode--revoke button.is-active{border-color:#dc2626;background:#dc2626}.money-modal__balance{display:flex;align-items:center;justify-content:space-between;min-height:46px;border:1px solid var(--color-border);border-radius:8px;padding:10px 14px;background:var(--color-bg)}.money-modal__balance span{color:var(--color-muted);font-size:12px;font-weight:900}.money-modal__balance strong{color:var(--color-text);font-size:16px;font-weight:900}.money-modal label{display:grid}.money-modal input{width:100%;min-height:50px;border:1px solid var(--color-border);border-radius:8px;padding:0 12px;color:var(--color-text);background:var(--color-surface);font-size:16px;font-weight:800;outline:none}.money-modal input:focus{border-color:var(--color-primary);box-shadow:0 0 0 3px var(--color-primary-soft)}.money-modal__help{display:grid;gap:5px;color:var(--color-muted);font-size:13px;font-weight:700}.money-modal__help p{margin:0}.money-modal__presets{display:flex;flex-wrap:wrap;gap:8px}.money-modal__presets button{min-height:36px;border:1px solid var(--color-border);border-radius:8px;padding:0 12px;color:var(--color-soft-text);background:var(--color-surface);font-size:13px;font-weight:900;cursor:pointer}.money-modal__submit--revoke{background:#dc2626}.money-modal__submit--revoke:hover:not(:disabled){background:#b91c1c}.agent-table__empty{min-height:180px;padding:60px 20px;color:var(--color-muted);text-align:center;font-weight:700}.user-table{min-width:0;overflow-x:auto}.user-table__head,.user-table__row{display:grid;grid-template-columns:minmax(150px,1fr) minmax(150px,1fr) 100px 110px 160px 80px 120px;align-items:center;gap:14px;min-width:980px}.user-table__head{min-height:42px;padding:0 18px;color:var(--color-muted);background:var(--color-bg);font-size:12px;font-weight:800}.user-table__row{min-height:64px;border-top:1px solid var(--color-border);padding:0 18px;color:var(--color-soft-text);background:var(--color-surface)}.user-table__row strong,.user-table__row small{display:block}.user-table__row strong{overflow:hidden;color:var(--color-text);font-size:14px;text-overflow:ellipsis;white-space:nowrap}.user-table__row small{overflow:hidden;margin-top:4px;color:var(--color-muted);font-size:12px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.user-table__row>span:nth-child(3),.user-table__row>span:nth-child(4){font-size:13px;font-weight:800;text-align:right}.user-table__row>span:nth-child(5){color:var(--color-soft-text);font-size:12px;font-weight:800}.user-table__status{width:fit-content;min-width:52px;border-radius:8px;padding:5px 10px;color:#0f766e;background:#ccfbf1;text-align:center;font-size:12px;font-weight:900}.user-table__status--차단{color:#991b1b;background:#fee2e2}.history-panel{overflow:visible;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface);box-shadow:var(--card-shadow)}.history-panel__filters{position:relative;z-index:1;min-height:74px;border-bottom:1px solid var(--color-border);padding:16px 18px;display:flex;align-items:center;flex-wrap:wrap;gap:12px;background:var(--color-bg)}.history-panel__filters label{position:relative;display:grid;gap:6px;color:var(--color-muted);font-size:12px;font-weight:900}.history-panel__filters select,.history-panel__filters input,.date-input-button{min-width:140px;min-height:36px;border:1px solid var(--color-border);border-radius:8px;padding:0 10px;color:var(--color-text);background:var(--color-surface);text-align:left;font-weight:800;outline:none}.history-panel__filters input::placeholder{color:var(--color-muted)}.date-input-button{cursor:pointer}.history-panel__date-group{display:flex;gap:12px}.history-panel__quick{align-self:end;min-height:36px;display:inline-flex;gap:6px}.history-panel__quick button{min-width:48px;border:1px solid var(--color-border);border-radius:8px;padding:0 10px;color:var(--color-soft-text);background:var(--color-surface);font-size:12px;font-weight:900;cursor:pointer}.history-panel__quick button:hover,.date-input-button:hover{border-color:var(--color-primary);color:var(--color-primary-dark)}.date-picker{position:absolute;top:calc(100% + 8px);left:0;z-index:1000;width:318px;border:1px solid var(--color-border);border-radius:8px;padding:14px;color:var(--color-text);background:var(--color-surface);box-shadow:0 18px 40px #0f172a29}.date-picker__header{min-height:34px;display:flex;align-items:center;justify-content:space-between}.date-picker__header button{width:32px;height:32px;border:1px solid var(--color-border);border-radius:8px;color:var(--color-soft-text);background:var(--color-bg);font-size:16px;font-weight:900;cursor:pointer}.date-picker__header strong{color:var(--color-text);font-size:14px;font-weight:900}.date-picker__weekdays,.date-picker__days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.date-picker__weekdays{margin-top:12px;color:var(--color-muted);text-align:center;font-size:11px;font-weight:900}.date-picker__days{gap:4px;margin-top:8px}.date-picker__day{position:relative;min-width:0;height:42px;border:1px solid transparent;border-radius:8px;padding:5px 3px;color:var(--color-text);background:transparent;cursor:pointer}.date-picker__day span,.date-picker__day small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.date-picker__day span{font-size:13px;font-weight:900}.date-picker__day small{margin-top:2px;color:var(--color-danger);font-size:9px;font-weight:800}.date-picker__day--muted{color:var(--color-muted);opacity:.42}.date-picker__day--holiday{color:var(--color-danger)}.date-picker__day--today{border-color:var(--color-primary)}.date-picker__day--selected{color:#fff;background:var(--color-primary)}.date-picker__day--selected small{color:#fff}.date-picker__day:hover{border-color:var(--color-primary)}.history-table{min-width:0;overflow-x:auto}.history-table__head,.history-table__row{display:grid;grid-template-columns:170px 80px minmax(190px,1fr) minmax(210px,1.1fr) 170px 170px 170px;min-width:1180px;align-items:center;gap:14px}.history-table__head{min-height:42px;padding:0 18px;color:var(--color-muted);background:var(--color-bg);font-size:12px;font-weight:800}.history-table__row{min-height:70px;border-top:1px solid var(--color-border);padding:10px 18px;color:var(--color-soft-text);background:var(--color-surface);font-size:13px}.history-table__row>span{min-width:0}.history-table__row strong,.history-table__row small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-table__row strong{color:var(--color-text);font-size:13px;font-weight:900}.history-table__row small{margin-top:4px;color:var(--color-muted);font-size:12px;font-weight:700}.history-table__row>span:nth-child(5){color:var(--color-text);font-weight:900;text-align:right;white-space:nowrap}.history-table__row>span:nth-child(6),.history-table__row>span:nth-child(7){text-align:right}.history-table__row>span:nth-child(5).history-table__amount--지급{color:#0f766e}.history-table__row>span:nth-child(5).history-table__amount--회수{color:#991b1b}.history-table__direction{width:fit-content;min-width:52px;border-radius:8px;padding:5px 10px;color:#0f766e;background:#ccfbf1;text-align:center;font-size:12px;font-weight:900}.history-table__direction--회수{color:#991b1b;background:#fee2e2}.betting-history{overflow:visible}.betting-history__refresh-button{min-height:40px;border:0;border-radius:8px;padding:0 16px;color:#fff;background:var(--color-primary-dark);font-size:13px;font-weight:900;cursor:pointer}.betting-history__refresh-button:hover{background:var(--color-primary)}.betting-history__search input{min-width:260px}.betting-history__search-controls{display:flex;gap:8px}.betting-history__search-controls select{min-width:110px}.betting-history__search-controls input{min-width:220px}.betting-history-table{overflow-x:auto}.betting-history-table__head,.betting-history-table__row{min-width:1260px;display:grid;grid-template-columns:150px 82px minmax(110px,.7fr) minmax(190px,1fr) minmax(220px,1.2fr) 110px 110px 110px minmax(130px,.8fr) 74px;align-items:center;gap:12px}.betting-history-table__head--ledger,.betting-history-table__row--ledger{min-width:1260px;grid-template-columns:150px 82px minmax(110px,.7fr) minmax(190px,1fr) minmax(220px,1.2fr) 110px 110px 110px minmax(130px,.8fr) 74px}.betting-history-table__head{min-height:42px;padding:0 18px;color:var(--color-muted);background:var(--color-bg);font-size:12px;font-weight:900}.betting-history-table__row{min-height:72px;border-top:1px solid var(--color-border);padding:10px 18px;color:var(--color-soft-text);background:var(--color-surface);font-size:13px}.betting-history-table__row strong,.betting-history-table__row small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.betting-history-table__row strong{color:var(--color-text);font-size:13px;font-weight:900}.betting-history-table__row small{margin-top:4px;color:var(--color-muted);font-size:12px;font-weight:700}.betting-id-stack{display:grid;gap:6px}.betting-copy-id{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px}.betting-copy-id>span{min-width:0;display:grid;gap:4px}.betting-copy-id small{display:block;color:var(--color-muted);font-size:11px;font-weight:900;letter-spacing:0}.betting-copy-id strong{display:block;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;letter-spacing:0;line-height:1.35;white-space:normal;overflow-wrap:anywhere;word-break:break-word}.betting-copy-id button{min-height:28px;border:1px solid var(--color-border);border-radius:7px;padding:0 9px;color:var(--color-soft-text);background:var(--color-bg);font-size:11px;font-weight:900;cursor:pointer}.betting-copy-id button:hover{border-color:var(--color-primary);color:var(--color-primary-dark);background:#eff6ff}.betting-copy-id--compact{gap:6px}.betting-copy-id--compact button{min-height:24px;padding:0 7px}.betting-history-table__row>span:nth-child(6),.betting-history-table__row>span:nth-child(7),.betting-history-table__row>span:nth-child(8){color:var(--color-text);text-align:right;font-weight:900}.betting-history-table__win-cell{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:5px}.betting-history-table__win-cell strong{display:inline}.betting-history-table__win-cell em{min-height:22px;border:1px solid #fed7aa;border-radius:999px;padding:3px 8px;color:#c2410c;background:#fff7ed;font-size:11px;font-style:normal;font-weight:900;line-height:1.2;white-space:nowrap}.betting-history-table__row>span.is-positive{color:#0f766e}.betting-history-table__row>span.is-negative{color:#991b1b}.betting-history-table__detail-button{min-height:34px;border:1px solid var(--color-border);border-radius:8px;padding:0 12px;color:var(--color-soft-text);background:var(--color-surface);font-size:12px;font-weight:900;cursor:pointer}.betting-history-table__detail-button:hover{border-color:var(--color-primary);color:var(--color-primary-dark)}.betting-event{width:fit-content;min-width:56px;border-radius:8px;padding:5px 10px;text-align:center;font-size:12px;font-weight:900}.betting-event--bet{color:#991b1b;background:#fee2e2}.betting-event--win{color:#0f766e;background:#ccfbf1}.betting-event--refund{color:#1d4ed8;background:#dbeafe}.betting-event--neutral{color:var(--color-soft-text);background:var(--color-bg)}.betting-history__pagination{min-height:58px;border-top:1px solid var(--color-border);padding:12px 18px;display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--color-muted);background:var(--color-bg);font-size:13px;font-weight:800}.betting-history__pagination div{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.betting-history__pagination button{min-height:36px;min-width:38px;border:1px solid var(--color-border);border-radius:8px;padding:0 14px;color:var(--color-soft-text);background:var(--color-surface);font-weight:900;cursor:pointer}.betting-history__pagination button.is-active{border-color:var(--color-primary-dark);color:#fff;background:var(--color-primary-dark)}.betting-history__pagination button:disabled{cursor:not-allowed;opacity:.5}.betting-raw-modal{width:min(100%,840px)}.betting-raw-modal .agent-create-modal__header p{margin:4px 0 0;color:var(--color-muted);font-size:12px;font-weight:800}.betting-raw-modal__payload{max-height:min(38vh,420px);margin:0;border-top:1px solid var(--color-border);padding:18px;overflow:auto;color:var(--color-text);background:var(--color-bg);font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:12px;line-height:1.65;white-space:pre-wrap;word-break:break-word}.betting-raw-modal__table{border-top:1px solid var(--color-border);max-height:min(36vh,360px);overflow:auto}.betting-raw-modal__table-head,.betting-raw-modal__table-row{display:grid;grid-template-columns:minmax(140px,.35fr) minmax(0,1fr);gap:12px;align-items:start}.betting-raw-modal__table-head{position:sticky;top:0;z-index:1;min-height:40px;padding:0 18px;align-items:center;color:var(--color-muted);background:var(--color-bg);font-size:12px;font-weight:900}.betting-raw-modal__table-row{border-top:1px solid var(--color-border);padding:12px 18px}.betting-raw-modal__table-row strong{color:var(--color-muted);font-size:13px;font-weight:800}.betting-raw-modal__table-row code{color:var(--color-text);font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:12px;font-weight:900;line-height:1.55;white-space:pre-wrap;word-break:break-word}.betting-detail-modal{width:min(96vw,1280px)}.betting-detail-modal .agent-create-modal__header p{margin:4px 0 0;color:var(--color-muted);font-size:12px;font-weight:800}.betting-detail-modal__list{max-height:min(68vh,720px);border-top:1px solid var(--color-border);padding:16px 18px;display:grid;gap:12px;overflow-y:auto}.betting-detail-summary{border:1px solid #bfdbfe;border-radius:10px;padding:12px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;background:#eff6ff}.betting-detail-summary dl{margin:0;border:1px solid rgba(147,197,253,.85);border-radius:8px;padding:10px;background:#fff}.betting-detail-summary dt{color:#475569;font-size:12px;font-weight:900}.betting-detail-summary dd{margin:6px 0 0;color:var(--color-text);font-size:15px;font-weight:900}.betting-detail-summary dd.is-positive{color:#0f766e}.betting-detail-summary dd.is-negative{color:#991b1b}.betting-detail-summary dd.is-capped{color:#c2410c}.betting-detail-card{border:1px solid var(--color-border);border-radius:10px;padding:14px;background:var(--color-bg)}.betting-detail-card__header{display:flex;align-items:center;justify-content:space-between;gap:12px}.betting-detail-card__header .betting-event{min-width:106px}.betting-detail-card__header time{color:var(--color-muted);font-size:12px;font-weight:800}.betting-detail-card__ids{margin-top:12px;display:grid;gap:8px}.betting-detail-card__ids .betting-copy-id{border:1px solid var(--color-border);border-radius:8px;padding:9px 10px;background:var(--color-surface)}.betting-detail-card__amounts{margin-top:12px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.betting-detail-card__amounts dl{margin:0;border:1px solid var(--color-border);border-radius:8px;padding:10px;background:var(--color-surface)}.betting-detail-card__amounts dt{color:var(--color-muted);font-size:12px;font-weight:800}.betting-detail-card__amounts dd{margin:6px 0 0;color:var(--color-text);font-size:14px;font-weight:900}.betting-detail-card__amounts dd small,.betting-detail-card__amounts dd strong{display:block;white-space:nowrap}.betting-detail-card__amounts dd small{color:var(--color-muted);font-size:12px;font-weight:800}.betting-detail-card__amounts dd strong{margin-top:3px;color:var(--color-text);font-size:14px;font-weight:900}.betting-detail-card__amounts dd.is-positive{color:#0f766e}.betting-detail-card__amounts dd.is-negative{color:#991b1b}.bet-rejection{overflow:visible}.bet-rejection-table{overflow-x:auto}.bet-rejection-table__head,.bet-rejection-table__row{min-width:1280px;display:grid;grid-template-columns:150px 100px minmax(130px,.8fr) minmax(190px,1fr) minmax(220px,1.1fr) 120px 160px 130px;align-items:center;gap:12px}.bet-rejection-table__head{min-height:42px;padding:0 18px;color:var(--color-muted);background:var(--color-bg);font-size:12px;font-weight:900}.bet-rejection-table__row{min-height:72px;border-top:1px solid var(--color-border);padding:10px 18px;color:var(--color-soft-text);background:var(--color-surface);font-size:13px}.bet-rejection-table__row strong,.bet-rejection-table__row small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bet-rejection-table__row strong{color:var(--color-text);font-size:13px;font-weight:900}.bet-rejection-table__row small{margin-top:4px;color:var(--color-muted);font-size:12px;font-weight:800}.bet-rejection-table__row>span:nth-child(6){color:#991b1b;text-align:right;font-weight:900}.bet-rejection-reason{width:fit-content;min-width:76px;border-radius:999px;padding:6px 10px;text-align:center;font-size:12px;font-weight:900}.bet-rejection-reason--below_min{border:1px solid #bfdbfe;color:#1d4ed8;background:#eff6ff}.bet-rejection-reason--above_max{border:1px solid #fecaca;color:#b91c1c;background:#fef2f2}@media(max-width:900px){.betting-detail-summary,.betting-detail-card__amounts{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.betting-detail-modal__list{padding:12px}.betting-detail-summary{grid-template-columns:1fr}.betting-detail-card__header{align-items:flex-start;flex-direction:column}.betting-detail-card__amounts{grid-template-columns:1fr}}.login-history{overflow:visible}.login-history-table{overflow-x:auto}.login-history-table__head,.login-history-table__row{min-width:1220px;display:grid;grid-template-columns:150px 80px minmax(130px,.7fr) 76px 150px minmax(260px,1.3fr) minmax(220px,1fr);align-items:center;gap:12px}.login-history-table__head{min-height:42px;padding:0 18px;color:var(--color-muted);background:var(--color-bg);font-size:12px;font-weight:900}.login-history-table__row{min-height:70px;border-top:1px solid var(--color-border);padding:10px 18px;color:var(--color-soft-text);background:var(--color-surface);font-size:13px}.login-history-table__row>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.login-history-table__row strong,.login-history-table__row small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.login-history-table__row strong{color:var(--color-text);font-size:13px;font-weight:900}.login-history-table__row small{margin-top:4px;color:var(--color-muted);font-size:12px;font-weight:700}.login-history__status{width:fit-content;min-width:50px;display:inline-flex;justify-content:center;border-radius:8px;padding:5px 10px;font-size:12px;font-weight:900}.login-history__status.is-success{color:#0f766e;background:#ccfbf1}.login-history__status.is-failure{color:#991b1b;background:#fee2e2}.catalog-management-action{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface)}.catalog-management-action span{display:block;color:var(--color-muted);font-weight:800}.catalog-management-actions{display:grid;grid-template-columns:repeat(2,minmax(220px,1fr));gap:14px}.catalog-management-action{display:flex;min-height:96px;align-items:center;justify-content:space-between;gap:16px;padding:18px}.catalog-management-action strong{display:block;color:var(--color-text);font-size:16px;font-weight:900}.catalog-management-action span{margin-top:6px;font-size:12px}.catalog-management-action--danger{border-color:#fecaca;background:snow}.catalog-confirm-modal{position:fixed;inset:0;z-index:60;display:flex;align-items:center;justify-content:center;padding:20px;background:#0f172a6b}.catalog-confirm-modal__card{width:min(640px,100%);max-height:calc(100vh - 40px);overflow:auto;border:1px solid var(--color-border);border-radius:var(--radius-md);padding:22px;background:var(--color-surface);box-shadow:0 24px 70px #0f172a33}.catalog-confirm-modal__card h3{margin:4px 0 0;color:var(--color-text);font-size:16px}.catalog-confirm-modal__card p:not(.page__eyebrow){margin:12px 0 0;color:var(--color-soft-text);font-size:14px;font-weight:700;line-height:1.6}.catalog-confirm-modal__warning,.catalog-confirm-modal__safe{margin-top:14px;border-radius:8px;padding:12px 14px;font-size:13px;font-weight:900}.catalog-confirm-modal__warning{color:#9a3412;background:#ffedd5}.catalog-confirm-modal__safe{color:#166534;background:#dcfce7}.catalog-upsert-diff{display:grid;gap:8px;margin-top:14px}.catalog-upsert-diff__row{min-width:0;border:1px solid var(--color-border);border-radius:8px;padding:11px 12px;background:var(--color-bg)}.catalog-upsert-diff__row strong,.catalog-upsert-diff__row span,.catalog-upsert-diff__row small{display:block}.catalog-upsert-diff__row strong{color:var(--color-text);font-size:13px}.catalog-upsert-diff__row span{margin-top:5px;color:var(--color-soft-text);font-size:12px;font-weight:900}.catalog-upsert-diff__row small{margin-top:5px;color:var(--color-muted);font-size:11px;font-weight:800;line-height:1.5;overflow-wrap:anywhere;word-break:break-word}.catalog-confirm-modal__actions{display:flex;justify-content:flex-end;gap:8px;margin-top:22px}.api-failure-log{overflow:visible}.api-failure-table{overflow-x:auto}.api-failure-table__head,.api-failure-table__row{min-width:1260px;display:grid;grid-template-columns:150px minmax(160px,.9fr) minmax(150px,.8fr) minmax(190px,1fr) 130px minmax(300px,1.4fr) 74px;align-items:center;gap:12px}.api-failure-table__head{min-height:42px;padding:0 18px;color:var(--color-muted);background:var(--color-bg);font-size:12px;font-weight:900}.api-failure-table__row{min-height:72px;border-top:1px solid var(--color-border);padding:10px 18px;color:var(--color-soft-text);background:var(--color-surface);font-size:13px}.api-failure-table__row>span,.api-failure-table__row strong,.api-failure-table__row small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.api-failure-table__row strong{color:var(--color-text);font-size:13px;font-weight:900}.api-failure-table__row small{margin-top:4px;color:var(--color-muted);font-size:12px;font-weight:700}.api-failure-modal{width:min(96vw,1100px)}.api-failure-modal .agent-create-modal__header p{margin:4px 0 0;color:var(--color-muted);font-size:12px;font-weight:800}.api-failure-modal__grid{border-top:1px solid var(--color-border);padding:16px 18px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.api-failure-modal__grid div{min-width:0;border:1px solid var(--color-border);border-radius:8px;padding:12px;background:var(--color-bg)}.api-failure-modal__grid span{display:block;color:var(--color-muted);font-size:12px;font-weight:900}.api-failure-modal__grid strong{display:block;overflow:hidden;margin-top:6px;color:var(--color-text);font-size:13px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}.api-failure-modal__payloads{max-height:min(64vh,680px);border-top:1px solid var(--color-border);overflow:auto}.api-failure-modal__payloads section{border-top:1px solid var(--color-border)}.api-failure-modal__payloads section:first-child{border-top:0}.api-failure-modal__payloads h4{margin:0;padding:12px 18px;color:var(--color-muted);background:var(--color-bg);font-size:12px;font-weight:900}.api-failure-modal__payloads pre{margin:0;padding:16px 18px;color:var(--color-text);background:var(--color-surface);font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:12px;line-height:1.6;white-space:pre-wrap;word-break:break-word}.stats-workspace{display:grid;grid-template-columns:minmax(280px,340px) minmax(0,1fr);gap:18px;align-items:start}.stats-agent-scope{border-bottom:1px solid var(--color-border);padding:10px;display:grid;gap:6px;background:var(--color-bg)}.stats-agent-scope button{min-height:36px;border:1px solid var(--color-border);border-radius:8px;padding:0 10px;color:var(--color-soft-text);background:var(--color-surface);text-align:left;font-size:12px;font-weight:900;cursor:pointer}.stats-agent-scope button:hover:not(:disabled),.stats-agent-scope button.is-active{border-color:var(--color-primary);color:var(--color-primary-dark);background:#eff6ff}.stats-agent-scope button:disabled{cursor:not-allowed;opacity:.55}.stats-panel{overflow:visible}.stats-quick{align-self:end;min-height:36px;display:inline-flex;flex-wrap:wrap;gap:6px}.stats-quick button{min-width:38px;border:1px solid var(--color-border);border-radius:8px;padding:0 10px;color:var(--color-soft-text);background:var(--color-surface);font-size:12px;font-weight:900;cursor:pointer}.stats-quick button:hover{border-color:var(--color-primary);color:var(--color-primary-dark)}.stats-panel__summary{border-bottom:1px solid var(--color-border);padding:14px 18px;display:grid;grid-template-columns:repeat(5,minmax(120px,1fr));gap:12px;background:var(--color-surface)}.stats-panel__summary div{min-width:0;border:1px solid var(--color-border);border-radius:8px;padding:12px;background:var(--color-bg)}.stats-panel__summary span{display:block;color:var(--color-muted);font-size:12px;font-weight:900}.stats-panel__summary strong{display:block;overflow:hidden;margin-top:6px;color:var(--color-text);font-size:16px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}.stats-panel__summary strong.is-positive{color:#0f766e}.stats-panel__summary strong.is-negative{color:#991b1b}.stats-table{overflow-x:auto}.stats-table__head,.stats-table__row{min-width:980px;display:grid;grid-template-columns:minmax(190px,1fr) 128px 128px 128px 90px 90px 90px;align-items:center;gap:12px}.stats-table__head--game,.stats-table__row--game{min-width:1160px;grid-template-columns:minmax(220px,1.1fr) minmax(150px,.8fr) 128px 128px 128px 90px 90px 90px}.stats-table__head{min-height:42px;padding:0 18px;color:var(--color-muted);background:var(--color-bg);font-size:12px;font-weight:900}.stats-table__row{min-height:66px;border-top:1px solid var(--color-border);padding:10px 18px;color:var(--color-soft-text);background:var(--color-surface);font-size:13px}.stats-table__row strong,.stats-table__row small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stats-table__row strong{color:var(--color-text);font-size:13px;font-weight:900}.stats-table__row small{margin-top:4px;color:var(--color-muted);font-size:12px;font-weight:700}.stats-table__row>span:nth-last-child(-n+6){color:var(--color-text);text-align:right;font-weight:900}.stats-table__row>span.is-positive{color:#0f766e}.stats-table__row>span.is-negative{color:#991b1b}.agent-create-page-panel{overflow:hidden;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface);box-shadow:var(--card-shadow)}.modal-backdrop{position:fixed;inset:0;z-index:50;padding:28px;display:grid;place-items:center;background:#0f172a75}.agent-create-modal{width:min(100%,860px);max-height:calc(100vh - 56px);overflow:auto;border-radius:8px;background:var(--color-surface);box-shadow:0 24px 80px #0f172a47}.agent-create-modal__header{position:sticky;top:0;z-index:1;min-height:78px;padding:18px 22px;border-bottom:1px solid var(--color-border);display:flex;align-items:flex-start;justify-content:space-between;gap:16px;background:var(--color-surface)}.agent-create-modal__header h3{margin:2px 0 0;font-size:16px}.agent-create-modal__header button{width:36px;height:36px;border:1px solid var(--color-border);border-radius:8px;color:var(--color-muted);background:var(--color-surface);font-size:16px;line-height:1;cursor:pointer}.agent-create-form{padding:22px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0 18px}.agent-create-form label{grid-column:span 3;display:grid;grid-template-rows:18px 52px 34px;align-items:start;gap:6px;color:var(--color-soft-text);font-size:13px;font-weight:800}.agent-create-form label:after{content:"";min-height:1px}.agent-create-form .is-required:after{content:"*";margin-left:4px;color:var(--color-danger);font-weight:900}.agent-create-form label:has(.agent-create-form__hint):after{content:none}.agent-create-form__top{grid-column:1 / -1;margin-bottom:22px}.agent-create-section{grid-column:1 / -1;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));column-gap:18px;row-gap:18px;border-top:1px solid var(--color-border);padding-top:20px;margin-top:2px;margin-bottom:22px}.agent-create-section h3{grid-column:1 / -1;margin:0;color:var(--color-text);font-size:16px;font-weight:900}.agent-create-form__hint{color:var(--color-muted);font-size:12px;font-weight:600;line-height:1.45;align-self:start}.agent-create-form input,.agent-create-form select,.agent-create-form textarea{width:100%;min-height:52px;border:1px solid var(--color-border);border-radius:8px;padding:0 12px;color:var(--color-text);background:var(--color-surface);font-size:14px;outline:none}.agent-create-form textarea{min-height:96px;padding-top:11px;resize:vertical}.agent-create-form input:focus,.agent-create-form select:focus,.agent-create-form textarea:focus{border-color:var(--color-primary);box-shadow:0 0 0 3px var(--color-primary-soft)}.agent-create-form__half{grid-column:span 3}.agent-create-form__third{grid-column:span 2}.agent-create-form__full,.agent-create-form__actions{grid-column:1 / -1}.agent-create-form__full{grid-template-rows:18px 96px}.agent-create-form__full:after{content:none}.agent-create-form__actions{border-top:1px solid var(--color-border);display:flex;justify-content:flex-end;gap:8px;padding-top:18px}.agent-create-form__actions button{min-height:42px;border:1px solid var(--color-border);border-radius:8px;padding:0 18px;color:var(--color-soft-text);background:var(--color-surface);font-weight:900;cursor:pointer}.agent-create-form__actions button[type=submit]{border-color:var(--color-primary-dark);color:#fff;background:var(--color-primary-dark)}.agent-create-form__actions button:disabled{cursor:not-allowed;opacity:.58}.page-alert--success{border-color:#bbf7d0;color:#166534;background:#f0fdf4}.my-page-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.78fr);gap:18px;align-items:start}.my-page-panel{overflow:hidden;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface);box-shadow:var(--card-shadow)}.my-page-panel--wide{grid-column:1 / -1}.my-page-panel__header{min-height:78px;padding:20px 22px;border-bottom:1px solid var(--color-border);display:flex;align-items:flex-start;justify-content:space-between;background:var(--color-bg)}.my-page-panel__header h3{margin:2px 0 0;font-size:16px}.my-page-empty{min-height:180px;padding:60px 20px;color:var(--color-muted);text-align:center;font-weight:700}.my-page-info{display:grid;grid-template-columns:150px minmax(0,1fr)}.my-page-info span,.my-page-info strong{min-height:52px;border-bottom:1px solid var(--color-border);display:flex;align-items:center;padding:0 18px}.my-page-info span{color:var(--color-muted);background:var(--color-bg);font-size:13px;font-weight:900}.my-page-info strong{overflow:hidden;color:var(--color-text);font-size:14px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.my-page-info__action button{min-height:34px;border:1px solid var(--color-primary-dark);border-radius:8px;padding:0 13px;color:#fff;background:var(--color-primary-dark);font-size:13px;font-weight:900;cursor:pointer}.my-page-info__action button:hover{filter:brightness(.96)}.agent-detail-edit-field{gap:8px}.agent-detail-edit-field input,.agent-detail-edit-field select{width:min(180px,100%);min-height:38px;border:1px solid var(--color-border);border-radius:8px;padding:0 10px;color:var(--color-text);background:var(--color-surface);font-size:14px;font-weight:800;outline:none}.agent-detail-edit-field input:focus,.agent-detail-edit-field select:focus{border-color:var(--color-primary);box-shadow:0 0 0 3px var(--color-primary-soft)}.agent-detail-edit-field span{min-height:auto;border-bottom:0;padding:0;color:var(--color-muted);background:transparent}.agent-detail-balance{justify-content:space-between;gap:12px}.agent-detail-balance span{min-height:auto;border-bottom:0;padding:0;color:var(--color-text);background:transparent;font-size:14px;font-weight:800}.agent-detail-actions{border-top:1px solid var(--color-border);padding:18px 22px;display:flex;justify-content:flex-end}.agent-detail-actions button{min-height:42px;border:1px solid var(--color-primary-dark);border-radius:8px;padding:0 20px;color:#fff;background:var(--color-primary-dark);font-weight:900;cursor:pointer}.agent-detail-actions button:disabled{cursor:not-allowed;opacity:.58}.my-page-info span:nth-last-child(-n+2),.my-page-info strong:nth-last-child(-n+2){border-bottom:0}.my-page-form{padding:22px;display:grid;gap:16px}.my-page-form--api{grid-template-columns:repeat(2,minmax(0,1fr))}.my-page-api-section{grid-column:1 / -1;border-top:1px solid var(--color-border);padding-top:18px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.my-page-api-section:first-child{border-top:0;padding-top:0}.my-page-api-section__header{grid-column:1 / -1}.my-page-api-section__header h4{margin:2px 0 0;color:var(--color-text);font-size:16px;font-weight:900}.my-page-form label{display:grid;gap:7px;color:var(--color-soft-text);font-size:13px;font-weight:900}.my-page-form input,.my-page-form textarea{width:100%;min-height:48px;border:1px solid var(--color-border);border-radius:8px;padding:0 12px;color:var(--color-text);background:var(--color-surface);font-size:14px;outline:none}.my-page-form textarea{min-height:112px;padding-top:11px;resize:vertical}.my-page-form input:focus,.my-page-form textarea:focus{border-color:var(--color-primary);box-shadow:0 0 0 3px var(--color-primary-soft)}.my-page-form input:read-only{color:var(--color-soft-text);background:var(--color-bg)}.my-page-input-action{display:grid;grid-template-columns:minmax(0,1fr) 94px;gap:8px}.my-page-input-action button{min-height:48px;border:1px solid var(--color-primary-dark);border-radius:8px;color:#fff;background:var(--color-primary-dark);font-weight:900;cursor:pointer}.my-page-form small{color:var(--color-muted);font-size:12px;font-weight:600;line-height:1.45}.my-page-form__full,.my-page-form__actions{grid-column:1 / -1}.my-page-form__actions{display:flex;justify-content:flex-end;gap:8px}.my-page-form__actions button{min-height:42px;border:1px solid var(--color-primary-dark);border-radius:8px;padding:0 18px;color:#fff;background:var(--color-primary-dark);font-weight:900;cursor:pointer}.my-page-form__actions button:disabled{cursor:not-allowed;opacity:.58}.my-page-form__actions .button-secondary{border-color:var(--color-border);color:var(--color-soft-text);background:var(--color-surface)}.my-page-form__actions .money-modal__submit--revoke{border-color:#dc2626;background:#dc2626}.my-page-form__actions .money-modal__submit--revoke:hover:not(:disabled){border-color:#b91c1c;background:#b91c1c}.confirm-modal{width:min(100%,520px);border:1px solid var(--color-border);border-radius:8px;padding:24px;color:var(--color-text);background:var(--color-surface);box-shadow:0 24px 80px #0f172a3d}.confirm-modal h3{margin:0 0 24px;color:var(--color-text);font-size:16px;font-weight:600;line-height:1.6}.confirm-modal .my-page-form__actions button{min-width:92px}.dashboard-summary{display:grid;gap:16px}.dashboard-grid{display:grid;gap:14px}.dashboard-grid--balance{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid--balance.dashboard-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-grid--agents{grid-template-columns:repeat(4,minmax(0,1fr))}.dashboard-external-balance{display:grid;grid-template-columns:minmax(0,1fr)}.dashboard-r-summary{position:relative;display:grid;gap:22px;border:1px solid var(--color-border);border-radius:8px;padding:24px 28px 26px;background:var(--color-surface);box-shadow:var(--card-shadow)}.dashboard-r-summary__header{display:flex;align-items:center;justify-content:space-between;gap:24px}.dashboard-r-summary__header h3{margin:0;color:var(--color-text);font-size:16px;line-height:1.2}.dashboard-r-summary__filters{display:flex;align-items:flex-end;flex-wrap:wrap;gap:10px}.dashboard-r-summary__filters label{position:relative;display:grid;gap:6px;color:var(--color-muted);font-size:12px;font-weight:900}.dashboard-r-summary__search{min-width:76px}.dashboard-r-summary__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.metric-card,.empty-panel{border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface);box-shadow:var(--card-shadow)}.metric-card{padding:18px}.metric-card span{display:block;color:var(--color-muted);font-size:14px}.metric-card strong{display:block;margin-top:8px;font-size:16px}.metric-card small{display:block;margin-top:8px;color:var(--color-muted);font-size:13px;font-weight:800}.metric-card--external{border-color:color-mix(in srgb,var(--color-primary) 22%,var(--color-border));background:linear-gradient(135deg,color-mix(in srgb,var(--color-primary) 7%,var(--color-surface)),var(--color-surface))}.metric-card--external strong{color:var(--color-primary-dark)}.metric-card--grant strong,.metric-card--positive strong{color:#0f766e}.metric-card--revoke strong,.metric-card--negative strong{color:#dc2626}.empty-panel{min-height:260px;padding:28px;display:flex;flex-direction:column;justify-content:center}.empty-panel h3{margin:0 0 8px;font-size:16px}.empty-panel p{margin:0;color:var(--color-muted)}.developer-api-base{border:1px solid var(--color-border);border-radius:var(--radius-md);padding:var(--space-xs) var(--space-sm);color:var(--color-muted);background:var(--color-surface);font-size:13px;font-weight:800}.developer-doc-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:var(--space-lg);align-items:start}.developer-doc-sidebar{position:sticky;top:calc(var(--topbar-height) + var(--space-lg));overflow:hidden;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);box-shadow:var(--card-shadow)}.developer-doc-sidebar a{min-height:44px;border-bottom:1px solid var(--color-border);display:flex;align-items:center;padding:0 var(--space-md);color:var(--color-soft-text);font-size:13px;font-weight:900;text-decoration:none}.developer-doc-sidebar a:last-child{border-bottom:0}.developer-doc-sidebar a:hover{color:var(--color-primary-dark);background:var(--color-primary-soft)}.developer-doc-main{min-width:0;display:grid;gap:var(--space-lg)}.developer-doc-hero{min-width:0;border:1px solid var(--color-border);border-radius:var(--radius-md);padding:var(--space-xl);display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.34fr);gap:var(--space-xl);align-items:end;background:var(--color-surface);box-shadow:var(--card-shadow)}.developer-doc-hero h3{margin:var(--space-2xs) 0 var(--space-sm);color:var(--color-text);font-size:16px}.developer-doc-hero p{max-width:760px;margin:0;color:var(--color-muted);font-size:14px;font-weight:700;line-height:1.6}.developer-doc-server{min-width:0;border:1px solid var(--color-border);border-radius:var(--radius-md);display:grid;background:var(--color-bg)}.developer-doc-server span,.developer-doc-server code{min-height:46px;display:flex;align-items:center;padding:0 var(--space-md)}.developer-doc-server span{border-bottom:1px solid var(--color-border);color:var(--color-muted);font-size:12px;font-weight:900}.developer-doc-server code,.developer-endpoint__summary code,.developer-doc-table code{color:var(--color-primary-dark);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;font-weight:900}.developer-doc-table-wrap{overflow-x:auto}.developer-doc-table{width:100%;border-collapse:collapse;color:var(--color-soft-text);font-size:13px}.developer-doc-table th,.developer-doc-table td{border-bottom:1px solid var(--color-border);padding:var(--space-sm) var(--space-md);text-align:left;vertical-align:top}.developer-doc-table th{color:var(--color-muted);background:var(--color-bg);font-size:12px;font-weight:900}.developer-doc-table td{font-weight:750;line-height:1.5}.developer-doc-flow{margin:0;padding:var(--space-xl) var(--space-xl) var(--space-xl) calc(var(--space-xl) + 20px);color:var(--color-soft-text);font-size:14px;font-weight:800;line-height:1.8}.developer-doc-flow code{border-radius:var(--radius-sm);padding:var(--space-2xs) var(--space-xs);color:var(--color-primary-dark);background:var(--color-primary-soft);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;font-weight:900}.developer-api-group{overflow:hidden;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);box-shadow:var(--card-shadow)}.developer-api-group__header{min-height:86px;border-bottom:1px solid var(--color-border);padding:var(--space-lg) var(--space-xl);display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-xl);background:var(--color-bg)}.developer-api-group__header h3{margin:var(--space-2xs) 0 0;color:var(--color-text);font-size:16px}.developer-api-group__header p:last-child{max-width:360px;margin:0;color:var(--color-muted);font-size:13px;font-weight:800;line-height:1.5;text-align:right}.developer-api-group__endpoints{display:grid}.developer-api-group__endpoints .developer-endpoint{border:0;border-radius:0;box-shadow:none}.developer-api-group__endpoints .developer-endpoint+.developer-endpoint{border-top:1px solid var(--color-border)}.developer-try-settings{padding:var(--space-xl);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:var(--space-sm)}.developer-try-settings label,.developer-try__params label{min-width:0;display:grid;gap:var(--space-xs);color:var(--color-soft-text);font-size:13px;font-weight:900}.developer-try-settings input,.developer-try__params input{width:100%;min-height:48px;border:1px solid var(--color-border);border-radius:var(--radius-md);padding:0 var(--space-sm);color:var(--color-text);background:var(--color-surface);font-size:14px;outline:none}.developer-secret-input{position:relative;min-width:0}.developer-secret-input input{padding-right:52px}.developer-secret-input button{position:absolute;top:50%;right:8px;width:36px;min-height:36px;border:1px solid var(--color-border);border-radius:var(--radius-md);display:inline-flex;align-items:center;justify-content:center;padding:0;color:var(--color-soft-text);background:var(--color-bg);font-size:16px;line-height:1;transform:translateY(-50%);cursor:pointer}.developer-secret-input button:hover{color:var(--color-primary-dark);background:var(--color-primary-soft)}.developer-api-key-field{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:var(--space-xs);align-items:center}.developer-api-key-field>button,.developer-agent-modal__tools button{min-height:48px;border:1px solid var(--color-primary-dark);border-radius:var(--radius-md);padding:0 var(--space-md);color:var(--color-surface);background:var(--color-primary-dark);font-size:13px;font-weight:900;cursor:pointer}.developer-agent-modal__tools button:disabled{cursor:not-allowed;opacity:.58}.developer-selected-agent{border-top:1px solid var(--color-border);display:grid;grid-template-columns:auto minmax(0,1fr)}.developer-selected-agent span,.developer-selected-agent strong{min-height:44px;display:flex;align-items:center;padding:0 var(--space-md)}.developer-selected-agent span{color:var(--color-muted);background:var(--color-bg);font-size:12px;font-weight:900}.developer-selected-agent strong{color:var(--color-text);font-size:13px;font-weight:900}.developer-selected-agent__error{grid-column:1 / -1;color:var(--color-danger)!important}.developer-modal-backdrop{position:fixed;inset:0;z-index:50;padding:var(--space-xl);display:grid;place-items:center;background:#0f172a6b}.developer-agent-modal{width:min(760px,100%);max-height:min(720px,calc(100vh - 48px));overflow:hidden;border:1px solid var(--color-border);border-radius:var(--radius-md);display:grid;grid-template-rows:auto auto minmax(0,1fr);background:var(--color-surface);box-shadow:var(--card-shadow)}.developer-agent-modal__header{min-height:74px;border-bottom:1px solid var(--color-border);padding:var(--space-md) var(--space-xl);display:flex;align-items:center;justify-content:space-between;gap:var(--space-md);background:var(--color-bg)}.developer-agent-modal__header h3{margin:var(--space-2xs) 0 0;color:var(--color-text);font-size:16px}.developer-agent-modal__header button{width:40px;min-height:40px;border:1px solid var(--color-border);border-radius:var(--radius-md);color:var(--color-soft-text);background:var(--color-surface);font-size:16px;font-weight:900;cursor:pointer}.developer-agent-modal__tools{border-bottom:1px solid var(--color-border);padding:var(--space-md) var(--space-xl);display:grid;grid-template-columns:minmax(0,1fr) auto;gap:var(--space-sm)}.developer-agent-modal__tools input{width:100%;min-height:48px;border:1px solid var(--color-border);border-radius:var(--radius-md);padding:0 var(--space-sm);color:var(--color-text);background:var(--color-surface);font-size:14px;outline:none}.developer-agent-modal__tools input:focus{border-color:var(--color-primary);box-shadow:0 0 0 3px var(--color-primary-soft)}.developer-agent-modal__list{overflow-y:auto;display:grid;align-content:start}.developer-agent-modal__empty{min-height:180px;display:grid;place-items:center;padding:var(--space-xl);color:var(--color-muted);font-size:13px;font-weight:800;text-align:center}.developer-agent-modal__row{min-height:68px;border:0;border-bottom:1px solid var(--color-border);padding:var(--space-sm) var(--space-xl);display:grid;grid-template-columns:minmax(0,1fr) 88px 108px;align-items:center;gap:var(--space-md);color:var(--color-soft-text);background:var(--color-surface);text-align:left;cursor:pointer}.developer-agent-modal__row:hover{background:var(--color-primary-soft)}.developer-agent-modal__row:disabled{cursor:not-allowed;opacity:.52}.developer-agent-modal__row span:first-child{min-width:0;display:grid;gap:var(--space-2xs)}.developer-agent-modal__row strong,.developer-agent-modal__row small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.developer-agent-modal__row strong{color:var(--color-text);font-size:14px}.developer-agent-modal__row small,.developer-agent-modal__row span{font-size:12px;font-weight:900}.developer-try-settings input:focus,.developer-try__params input:focus{border-color:var(--color-primary);box-shadow:0 0 0 3px var(--color-primary-soft)}.developer-endpoint{scroll-margin-top:calc(var(--topbar-height) + var(--space-lg))}.developer-endpoint__toggle{width:100%;min-height:76px;border:0;padding:var(--space-md) var(--space-xl);display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:var(--space-md);color:var(--color-text);background:var(--color-surface);text-align:left;cursor:pointer}.developer-endpoint__toggle:hover,.developer-endpoint--open .developer-endpoint__toggle{background:var(--color-bg)}.developer-endpoint__toggle-main{min-width:0;display:grid;gap:var(--space-2xs)}.developer-endpoint__toggle-main strong{overflow:hidden;color:var(--color-text);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:15px;font-weight:950;text-overflow:ellipsis;white-space:nowrap}.developer-endpoint__toggle-main span,.developer-endpoint__chevron{color:var(--color-muted);font-size:13px;font-weight:900}.developer-endpoint__chevron{min-width:56px;text-align:right}.developer-method{min-width:76px;border-radius:var(--radius-md);padding:var(--space-xs) var(--space-sm);text-align:center;color:var(--color-surface);font-size:13px;font-weight:950}.developer-method--get{background:var(--color-success)}.developer-method--post{background:var(--color-primary-dark)}.developer-endpoint__summary{border-top:1px solid var(--color-border);border-bottom:1px solid var(--color-border);padding:var(--space-lg) var(--space-xl);display:grid;gap:var(--space-xs)}.developer-endpoint__summary code{width:fit-content;border-radius:var(--radius-sm);padding:var(--space-xs) var(--space-sm);background:var(--color-primary-soft)}.developer-endpoint__summary p,.developer-endpoint__summary span{margin:0;color:var(--color-muted);font-size:13px;font-weight:800;line-height:1.5}.developer-doc-grid{border-top:1px solid var(--color-border);display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.developer-try{border-top:1px solid var(--color-border)}.developer-try .developer-json__header{justify-content:space-between}.developer-try__body{display:grid;gap:var(--space-sm)}.developer-try__params{padding:var(--space-xl);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-md)}.developer-request-body{width:calc(100% - var(--space-xl) * 2);margin:var(--space-xl) var(--space-xl) 0;border:1px solid var(--color-border);border-radius:var(--radius-md);padding:var(--space-md);background:var(--color-bg);color:var(--color-text);font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:12px;line-height:1.6;resize:vertical}.developer-request-body:focus{border-color:var(--color-primary);box-shadow:0 0 0 3px var(--color-primary-light);outline:none}.developer-game-test{display:grid;grid-template-columns:280px minmax(0,1fr);gap:var(--space-lg);min-height:0}.developer-game-test__vendors,.developer-game-test__main .developer-panel{min-width:0}.developer-game-test__vendors{border:1px solid var(--color-border);border-radius:var(--radius-lg);background:var(--color-surface);position:sticky;top:var(--space-lg);max-height:calc(100vh - var(--space-xl) * 2);overflow:hidden;display:flex;flex-direction:column}.developer-game-test__vendors .developer-panel__header{flex:0 0 auto;border-bottom:1px solid var(--color-border)}.developer-game-test__refresh-button,.developer-game-test__launch-button{min-height:40px;border:0;border-radius:var(--radius-md);padding:0 16px;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;font-size:13px;font-weight:900;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,background .15s ease}.developer-game-test__refresh-button{color:var(--color-primary-dark);background:var(--color-primary-soft)}.developer-game-test__launch-button{min-width:96px;color:#fff;background:var(--color-primary);box-shadow:0 8px 18px #3182f633}.developer-game-test__refresh-button:hover:not(:disabled),.developer-game-test__launch-button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 10px 20px #3182f62e}.developer-game-test__refresh-button:disabled,.developer-game-test__launch-button:disabled{cursor:not-allowed;opacity:.55;transform:none;box-shadow:none}.developer-game-test__vendor-list{display:grid;min-height:0;overflow-y:auto;overscroll-behavior:contain}.developer-game-test__vendor-list button{border:0;border-bottom:1px solid var(--color-border);padding:var(--space-lg);background:transparent;color:var(--color-text);text-align:left;cursor:pointer;transition:background .15s ease,box-shadow .15s ease}.developer-game-test__vendor-list button:hover,.developer-game-test__vendor-list button.developer-game-test__vendor--active{background:var(--color-primary-light)}.developer-game-test__vendor-list button.developer-game-test__vendor--active{box-shadow:inset 4px 0 0 var(--color-primary)}.developer-game-test__vendor-list button strong,.developer-game-test__vendor-list button span{display:block}.developer-game-test__vendor-list button span{margin-top:4px;color:var(--color-muted);font-size:12px;font-weight:800}.developer-game-test__meta{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:var(--space-xs)}.developer-game-test__meta span{border:1px solid var(--color-border);border-radius:var(--radius-sm);padding:6px 10px;color:var(--color-muted);font-size:12px;font-weight:800}.developer-game-test__tools{border-bottom:1px solid var(--color-border);display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:var(--space-md);padding:var(--space-lg)}.developer-game-test__tools input{min-width:0;border:1px solid var(--color-border);border-radius:var(--radius-md);padding:12px 14px;background:var(--color-bg);color:var(--color-text);font-size:14px}.developer-game-test__tools input:focus{border-color:var(--color-primary);box-shadow:0 0 0 3px var(--color-primary-light);outline:none}.developer-game-test__type-filters{border-bottom:1px solid var(--color-border);display:flex;flex-wrap:wrap;gap:var(--space-xs);padding:0 var(--space-lg) var(--space-lg)}.developer-game-test__type-filters button{min-height:34px;border:1px solid var(--color-border);border-radius:999px;padding:0 12px;background:var(--color-surface);color:var(--color-muted);display:inline-flex;align-items:center;gap:6px;white-space:nowrap;font-size:12px;font-weight:900;cursor:pointer;transition:border-color .15s ease,background .15s ease,color .15s ease,box-shadow .15s ease}.developer-game-test__type-filters button:hover,.developer-game-test__type-filters button.developer-game-test__type-filter--active{border-color:var(--color-primary);background:var(--color-primary-soft);color:var(--color-primary-dark)}.developer-game-test__type-filters button.developer-game-test__type-filter--active{box-shadow:0 0 0 3px var(--color-primary-light)}.developer-game-test__type-filters button span{color:inherit;font-variant-numeric:tabular-nums;opacity:.78}.developer-game-test__list{display:grid}.developer-game-test__card{display:grid;grid-template-columns:92px minmax(0,1fr) auto;align-items:center;gap:var(--space-md);border-bottom:1px solid var(--color-border);padding:var(--space-md) var(--space-lg)}.developer-game-test__thumb{width:92px;aspect-ratio:1;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-bg);display:grid;place-items:center;overflow:hidden;color:var(--color-muted);font-size:12px;font-weight:800}.developer-game-test__thumb img{width:100%;height:100%;object-fit:cover}.developer-game-test__info{min-width:0}.developer-game-test__info strong,.developer-game-test__info span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.developer-game-test__info span{margin-top:4px;color:var(--color-muted);font-size:13px}.developer-game-test__info div{display:flex;flex-wrap:wrap;gap:var(--space-xs);margin-top:var(--space-sm)}.developer-game-test__info code{border-radius:var(--radius-sm);padding:4px 8px;background:var(--color-bg);color:var(--color-muted);font-size:12px}.developer-game-test__card>.developer-game-test__launch-button{justify-self:end}.developer-game-test__empty{min-height:220px;display:grid;place-items:center;color:var(--color-muted);font-weight:800}.developer-game-test__error{display:grid;gap:10px}.developer-game-test__error pre{max-height:260px;margin:0;overflow:auto;color:#7f1d1d;white-space:pre-wrap;word-break:break-word;font-size:12px;line-height:1.5}.developer-try__empty{min-height:64px;border:1px dashed var(--color-border);border-radius:var(--radius-md);display:grid;place-items:center;color:var(--color-muted);background:var(--color-bg);font-size:13px;font-weight:800}.developer-try__actions{padding-top:0}.developer-response{border-top:1px solid var(--color-border);background:var(--color-surface)}.developer-response__header{min-height:64px;padding:0 var(--space-xl);display:flex;align-items:center;justify-content:space-between;gap:var(--space-md);background:var(--color-bg)}.developer-response__header div{min-width:0;display:grid;gap:var(--space-2xs)}.developer-response__header span:first-child{color:var(--color-muted);font-size:12px;font-weight:950;text-transform:uppercase}.developer-response__header strong{color:var(--color-text);font-size:16px;font-weight:950}.developer-response--success .developer-response__header{box-shadow:inset 4px 0 0 var(--color-success)}.developer-response--error .developer-response__header{box-shadow:inset 4px 0 0 var(--color-danger)}.developer-response pre{min-height:280px;max-height:560px;overflow:auto;margin:0;padding:var(--space-xl);color:var(--color-surface);background:var(--color-code-bg);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13px;line-height:1.65}.developer-catalog-grid{display:grid;grid-template-columns:minmax(0,.84fr) minmax(0,1.16fr);gap:var(--space-lg);align-items:start}.developer-panel{min-width:0;overflow:hidden;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);box-shadow:var(--card-shadow)}.developer-panel--hero,.developer-panel--launch{grid-column:1 / -1}.developer-panel__header{min-height:78px;border-bottom:1px solid var(--color-border);padding:var(--space-lg) var(--space-xl);display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-md);background:var(--color-bg)}.developer-panel__header h3{margin:var(--space-2xs) 0 0;color:var(--color-text);font-size:16px}.developer-panel__status-group{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:var(--space-xs)}.developer-panel__hint{margin:0;border-top:1px solid var(--color-border);padding:var(--space-sm) var(--space-xl);color:var(--color-muted);background:var(--color-bg);font-size:12px;font-weight:700;line-height:1.5}.developer-panel__hint code,.developer-target-card code{border-radius:var(--radius-sm);padding:var(--space-2xs) var(--space-xs);color:var(--color-primary-dark);background:var(--color-primary-soft);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;font-weight:900}.developer-status{min-width:64px;border:1px solid var(--color-border);border-radius:var(--radius-md);padding:var(--space-2xs) var(--space-sm);display:inline-flex;justify-content:center;color:var(--color-muted);background:var(--color-surface);font-size:12px;font-weight:900}.developer-status--loading{border-color:var(--color-primary);color:var(--color-primary-dark);background:var(--color-primary-soft)}.developer-status--success{border-color:var(--color-success);color:var(--color-success);background:var(--color-success-soft)}.developer-status--error{border-color:var(--color-danger);color:var(--color-danger);background:var(--color-danger-soft)}.developer-form-row,.developer-action-row{padding:var(--space-xl);display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:var(--space-sm)}.developer-agent-selector{display:grid;border-bottom:1px solid var(--color-border)}.developer-agent-selector__main{padding:var(--space-xl);display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:var(--space-sm)}.developer-agent-selector__tools{border-top:1px solid var(--color-border);padding:var(--space-sm) var(--space-xl);display:flex;justify-content:flex-end;background:var(--color-bg)}.developer-form-row--stacked{grid-template-columns:auto minmax(0,1fr)}.developer-action-row{grid-template-columns:repeat(2,auto);justify-content:start}.developer-action-row--end{border-top:1px solid var(--color-border);justify-content:end}.developer-form-row label,.developer-launch-form label,.developer-agent-selector label{min-width:0;display:grid;gap:var(--space-xs);color:var(--color-soft-text);font-size:13px;font-weight:900}.developer-form-row input,.developer-form-row select,.developer-launch-form input,.developer-launch-form textarea,.developer-agent-selector select{width:100%;min-height:48px;border:1px solid var(--color-border);border-radius:var(--radius-md);padding:0 var(--space-sm);color:var(--color-text);background:var(--color-surface);font-size:14px;outline:none}.developer-launch-form textarea{min-height:112px;padding-top:var(--space-sm);resize:vertical}.developer-form-row input:focus,.developer-form-row select:focus,.developer-launch-form input:focus,.developer-launch-form textarea:focus,.developer-agent-selector select:focus{border-color:var(--color-primary);box-shadow:0 0 0 3px var(--color-primary-soft)}.developer-form-row button,.developer-action-row button,.developer-agent-selector button{min-height:48px;border:1px solid var(--color-primary-dark);border-radius:var(--radius-md);padding:0 var(--space-lg);color:var(--color-surface);background:var(--color-primary-dark);font-size:14px;font-weight:900;cursor:pointer}.developer-agent-selector__tools button{border-color:var(--color-border);color:var(--color-soft-text);background:var(--color-surface)}.developer-action-row button:nth-child(2){border-color:var(--color-border);color:var(--color-soft-text);background:var(--color-surface)}.developer-form-row button:disabled,.developer-action-row button:disabled,.developer-agent-selector button:disabled{cursor:not-allowed;opacity:.58}.developer-agent-selector__meta,.developer-stat-strip,.developer-selected-target{border-top:1px solid var(--color-border);display:grid;grid-template-columns:auto minmax(0,1fr)}.developer-agent-selector__meta span,.developer-agent-selector__meta strong,.developer-stat-strip span,.developer-stat-strip strong,.developer-selected-target span,.developer-selected-target strong{min-height:48px;border-bottom:1px solid var(--color-border);display:flex;align-items:center;padding:0 var(--space-md)}.developer-agent-selector__meta span,.developer-stat-strip span,.developer-selected-target span{color:var(--color-muted);background:var(--color-bg);font-size:12px;font-weight:900}.developer-agent-selector__meta strong,.developer-stat-strip strong,.developer-selected-target strong{color:var(--color-text);font-size:14px;font-weight:900}.developer-agent-selector__key--ready{color:var(--color-success)}.developer-agent-selector__key--missing{color:var(--color-danger)}.developer-agent-selector__meta span:nth-last-child(-n+2),.developer-agent-selector__meta strong:nth-last-child(-n+2),.developer-stat-strip span:nth-last-child(-n+2),.developer-stat-strip strong:nth-last-child(-n+2),.developer-selected-target span,.developer-selected-target strong{border-bottom:0}.developer-target-columns{border-top:1px solid var(--color-border);display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.developer-target-list:first-child{border-right:1px solid var(--color-border)}.developer-target-list__header{min-height:52px;padding:0 var(--space-md);display:flex;align-items:center;justify-content:space-between;color:var(--color-text);background:var(--color-bg);font-size:14px;font-weight:900}.developer-target-list__header span{color:var(--color-muted);font-size:12px}.developer-target-list__body{max-height:420px;overflow-y:auto;display:grid}.developer-target-list__empty{min-height:160px;display:grid;place-items:center;padding:var(--space-xl);color:var(--color-muted);text-align:center;font-size:13px;font-weight:800}.developer-target-card{min-width:0;min-height:74px;border:0;border-top:1px solid var(--color-border);padding:var(--space-sm) var(--space-md);display:grid;justify-items:start;gap:var(--space-2xs);color:var(--color-soft-text);background:var(--color-surface);text-align:left;cursor:pointer}.developer-target-card:hover,.developer-target-card--selected{color:var(--color-primary-dark);background:var(--color-info-soft);box-shadow:inset 3px 0 0 var(--color-primary-dark)}.developer-target-card strong,.developer-target-card span{overflow:hidden;max-width:100%;text-overflow:ellipsis;white-space:nowrap}.developer-target-card strong{color:var(--color-text);font-size:14px}.developer-target-card span{color:var(--color-muted);font-size:12px;font-weight:800}.developer-launch-form{padding:var(--space-xl);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-md)}.developer-launch-form label:last-child{grid-column:1 / -1}.developer-result-grid{border-top:1px solid var(--color-border);display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.developer-json:first-child{border-right:1px solid var(--color-border)}.developer-json__header{min-height:48px;padding:0 var(--space-md);display:flex;align-items:center;color:var(--color-text);background:var(--color-bg);font-size:13px}.developer-json pre{min-height:220px;max-height:420px;overflow:auto;margin:0;padding:var(--space-md);color:var(--color-surface);background:var(--color-code-bg);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;line-height:1.55}@media(max-width:960px){.sidebar{transform:translate(-100%);transition:transform .2s ease}.sidebar--open{transform:translate(0)}.sidebar-overlay{position:fixed;inset:0;z-index:15;border:0;background:#0f172a6b}.sidebar-overlay--visible{display:block}.main-area{width:100%;margin-left:0}.topbar__menu{position:absolute;left:18px;display:inline-flex}.topbar__logout,.topbar__theme-toggle,.topbar__balances,.topbar__spacer{display:none}.topbar{justify-content:center}.topbar__mobile-brand{display:inline-flex;align-items:center;gap:8px;color:var(--color-primary-dark);font-size:16px;font-weight:900;line-height:1;letter-spacing:0}.topbar__balances{gap:18px;flex-wrap:wrap}.topbar__balance-item strong{font-size:14px}.dashboard-grid,.dashboard-grid--balance.dashboard-grid--3{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-r-summary__header{align-items:flex-start;flex-direction:column}.dashboard-r-summary__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.my-page-grid,.my-page-form--api,.my-page-api-section,.developer-doc-layout,.developer-doc-hero,.developer-doc-grid,.developer-game-test,.developer-game-test__tools,.catalog-management-actions,.developer-try-settings,.developer-try__params,.developer-catalog-grid,.developer-target-columns,.developer-launch-form,.developer-result-grid{grid-template-columns:1fr}.developer-doc-sidebar{position:static}.developer-game-test__vendors{position:static;max-height:420px}.developer-target-list:first-child,.developer-doc-grid .developer-json:first-child,.developer-json:first-child{border-right:0;border-bottom:1px solid var(--color-border)}.developer-form-row,.developer-form-row--stacked,.developer-agent-selector__main{grid-template-columns:1fr}.developer-agent-selector__tools{justify-content:stretch}.developer-agent-selector__tools button{width:100%}.developer-game-test__card{grid-template-columns:72px minmax(0,1fr)}.developer-game-test__thumb{width:72px}.developer-game-test__card>.developer-game-test__launch-button{grid-column:1 / -1;justify-self:stretch}.page__header{align-items:flex-start;flex-direction:column}.agents-workspace,.users-workspace,.point-history-workspace{grid-template-columns:1fr}.agent-tree-shell{max-height:none}.agent-tree__row{grid-template-columns:18px 30px minmax(0,1fr);min-height:54px;padding-top:12px;padding-bottom:12px}.agent-tree__name{margin-left:0}.agent-list-panel__summary{grid-template-columns:1fr}.agent-list-panel__summary div{min-height:68px;border-right:0;border-bottom:1px solid var(--color-border)}.agent-list-panel__summary div:last-child{border-bottom:0}.agent-table__head{display:none}.agent-table__row{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"agent type" "rate balance" "joined joined" "action action";min-width:0;min-height:140px;padding:12px 18px}.agent-table__row>span:first-child{grid-area:agent}.agent-table__row>span:nth-child(2){grid-area:type}.agent-table__row>span:nth-child(3){grid-area:rate;text-align:left}.agent-table__row>span:nth-child(4){grid-area:balance}.agent-table__row>span:nth-child(5){grid-area:joined;text-align:left}.agent-table__actions{grid-area:action;justify-content:flex-start}.user-table__head{display:none}.user-table__row{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"user status" "agent status" "r point" "joined joined" "action action";min-width:0;min-height:162px;padding:14px 18px}.user-table__row>span:first-child{grid-area:user}.user-table__row>span:nth-child(2){grid-area:agent}.user-table__row>span:nth-child(3){grid-area:r;text-align:left}.user-table__row>span:nth-child(4){grid-area:point;text-align:right}.user-table__row>span:nth-child(5){grid-area:joined;text-align:left}.user-table__status{grid-area:status}.user-table__row>.agent-table__actions{grid-area:action;justify-content:flex-start}.history-panel__filters{align-items:stretch;flex-direction:column}.history-panel__date-group,.history-panel__quick{width:100%}.history-panel__date-group{flex-direction:column}.history-panel__quick{flex-wrap:wrap}.history-panel__filters select,.date-input-button{width:100%}.date-picker{width:min(318px,calc(100vw - 72px))}.history-table__head{display:none}.history-table__row{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"date direction" "source source" "target target" "amount amount" "source-balance source-balance" "target-balance target-balance";align-items:flex-start;min-width:0;min-height:0;padding:14px 18px}.history-table__row>span:first-child{grid-area:date}.history-table__row>span:nth-child(2){grid-area:direction}.history-table__row>span:nth-child(3){grid-area:source}.history-table__row>span:nth-child(4){grid-area:target}.history-table__row>span:nth-child(5){grid-area:amount;text-align:left}.history-table__row>span:nth-child(6){grid-area:source-balance;text-align:left}.history-table__row>span:nth-child(7){grid-area:target-balance;text-align:left}.agent-create-form,.agent-create-section{grid-template-columns:1fr}.agent-create-form label,.agent-create-form__half,.agent-create-form__third,.agent-create-form__full{grid-column:1 / -1}}@media(max-width:560px){.topbar,.main-content{padding-left:18px;padding-right:18px}.dashboard-grid,.dashboard-grid--balance.dashboard-grid--3{grid-template-columns:1fr}.dashboard-r-summary__filters,.dashboard-r-summary__filters label,.dashboard-r-summary__filters .date-input-button,.dashboard-r-summary__search,.dashboard-r-summary__grid{width:100%;grid-template-columns:1fr}.modal-backdrop{padding:12px}}.max-win-limit-page{gap:18px}.limit-settings-workspace{display:grid;grid-template-columns:minmax(300px,360px) minmax(0,1fr);align-items:start;gap:18px}.limit-settings-agent-tree{position:sticky;top:18px;max-height:calc(100vh - 136px)}.limit-settings-preview{min-width:0}.limit-settings-preview__header{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:0 2px 2px;color:var(--color-muted);font-size:13px;font-weight:800}.limit-settings-preview__header strong{color:var(--color-text);font-size:16px;font-weight:900}.limit-settings-empty{min-height:180px;align-content:center}.max-win-limit-page__actions{display:flex;align-items:center;gap:8px}.btn-apply,.btn-refresh,.btn-edit,.btn-danger,.btn-delete{min-height:38px;border:1px solid transparent;border-radius:8px;padding:0 14px;font-size:13px;font-weight:900;cursor:pointer;transition:background .15s ease,border-color .15s ease,color .15s ease}.btn-apply{border-color:var(--color-primary-dark);color:#fff;background:var(--color-primary-dark)}.btn-refresh{border-color:#fecaca;color:#dc2626;background:#fff5f5}.btn-edit{border-color:var(--color-border);color:var(--color-soft-text);background:#fff}.btn-danger{border-color:#dc2626;color:#fff;background:#dc2626}.btn-delete{border-color:#fecaca;color:#dc2626;background:#fff}.btn-apply:hover:not(:disabled),.btn-refresh:hover:not(:disabled),.btn-edit:hover:not(:disabled),.btn-danger:hover:not(:disabled),.btn-delete:hover:not(:disabled){filter:brightness(.97)}.btn-apply:disabled,.btn-refresh:disabled,.btn-edit:disabled,.btn-danger:disabled,.btn-delete:disabled{cursor:not-allowed;opacity:.55}.max-win-limit-section{display:grid;gap:14px;padding:18px;border:1px solid var(--color-border);border-radius:var(--radius-md);background:#fff;box-shadow:var(--shadow-sm)}.max-win-limit-section__tools{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px}.max-win-limit-section__tools>span{justify-self:end;color:var(--color-muted);font-size:13px;font-weight:800}.max-win-limit-search{min-width:320px}.max-win-limit-search input{width:100%;height:44px;padding:0 12px;border:1.5px solid var(--color-muted)!important;border-radius:var(--radius-sm);background:#fff;color:var(--color-text);font-size:14px;box-shadow:0 0 0 1px #6b728029}.max-win-limit-type-filters{display:flex;flex-wrap:wrap;gap:8px}.max-win-limit-type-filters button{min-height:36px;border:1px solid var(--color-border);border-radius:8px;padding:0 12px;color:var(--color-soft-text);background:#fff;font-size:13px;font-weight:900;cursor:pointer;transition:border-color .15s ease,background .15s ease,color .15s ease}.max-win-limit-type-filters button span{margin-left:4px;color:var(--color-muted)}.max-win-limit-type-filters button:hover,.max-win-limit-type-filters button.is-active{border-color:var(--color-primary);color:var(--color-primary-dark);background:var(--color-primary-soft)}.max-win-limit-type-filters button.is-active span{color:var(--color-primary-dark)}.max-win-limit-vendor-list,.max-win-limit-game-list,.max-win-limit-table{overflow-x:auto;border:1px solid var(--color-border);border-radius:var(--radius-md)}.max-win-limit-vendor-list__head,.max-win-limit-vendor-list__row{display:grid;grid-template-columns:minmax(220px,1fr) 150px 220px 88px 150px;min-width:920px;align-items:center;gap:12px;padding:13px 16px}.max-win-limit-vendor-list--bet .max-win-limit-vendor-list__head,.max-win-limit-vendor-list--bet .max-win-limit-vendor-list__row{grid-template-columns:minmax(200px,1fr) 210px 180px 180px 88px 150px;min-width:1040px}.max-win-limit-vendor-list.is-readonly .max-win-limit-vendor-list__head,.max-win-limit-vendor-list.is-readonly .max-win-limit-vendor-list__row{grid-template-columns:minmax(220px,1fr) 150px 220px 150px;min-width:800px}.max-win-limit-vendor-list--bet.is-readonly .max-win-limit-vendor-list__head,.max-win-limit-vendor-list--bet.is-readonly .max-win-limit-vendor-list__row{grid-template-columns:minmax(200px,1fr) 210px 180px 180px 150px;min-width:940px}.max-win-limit-game-list__head,.max-win-limit-game-list__row{display:grid;grid-template-columns:minmax(280px,1fr) 110px 150px 220px 88px;min-width:860px;align-items:center;gap:12px;padding:13px 16px}.max-win-limit-game-list--bet .max-win-limit-game-list__head,.max-win-limit-game-list--bet .max-win-limit-game-list__row{grid-template-columns:minmax(280px,1fr) 100px 210px 180px 180px 88px;min-width:1040px}.max-win-limit-game-list.is-readonly .max-win-limit-game-list__head,.max-win-limit-game-list.is-readonly .max-win-limit-game-list__row{grid-template-columns:minmax(280px,1fr) 110px 150px 220px;min-width:760px}.max-win-limit-game-list--bet.is-readonly .max-win-limit-game-list__head,.max-win-limit-game-list--bet.is-readonly .max-win-limit-game-list__row{grid-template-columns:minmax(280px,1fr) 100px 210px 180px 180px;min-width:940px}.max-win-limit-agent-selector label{display:grid;gap:8px;max-width:420px}.max-win-limit-agent-selector span{color:var(--color-muted);font-size:13px;font-weight:900}.max-win-limit-agent-selector select{width:100%}.max-win-limit-game-list__game{display:flex;min-width:0;align-items:center;gap:12px}.max-win-limit-game-list__game img,.max-win-limit-game-list__game i{width:72px;height:48px;flex:0 0 auto;border:1px solid var(--color-border);border-radius:8px;background:var(--color-bg);object-fit:cover}.max-win-current-limit{width:fit-content;min-width:118px;min-height:44px;border:1px solid #bfdbfe;border-radius:10px;padding:7px 11px;display:inline-flex;flex-direction:column;justify-content:center;gap:2px;background:#eff6ff;color:#1d4ed8}.max-win-current-limit small{margin:0;color:#64748b;font-size:11px;font-weight:900}.max-win-current-limit strong{color:#1e40af;font-size:14px;font-weight:900;line-height:1.2}.max-win-current-limit--empty{min-width:96px;min-height:34px;border-color:#e2e8f0;border-radius:999px;padding:6px 12px;display:inline-flex;align-items:center;justify-content:center;background:#f8fafc;color:#64748b;font-size:12px;font-weight:900}.bet-current-limit{width:fit-content;min-width:180px;border:1px solid #bbf7d0;border-radius:10px;padding:7px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;background:#f0fdf4}.bet-current-limit>span{min-width:0;border-radius:8px;padding:7px 8px;background:#fff}.bet-current-limit small{margin:0;color:#64748b;font-size:11px;font-weight:900}.bet-current-limit strong{margin-top:2px;color:#166534;font-size:13px;font-weight:900;line-height:1.2;white-space:nowrap}.bet-current-limit--empty{min-width:96px;min-height:34px;border:1px solid #e2e8f0;border-radius:999px;padding:6px 12px;display:inline-flex;align-items:center;justify-content:center;background:#f8fafc;color:#64748b;font-size:12px;font-weight:900}.max-win-limit-table__head,.max-win-limit-table__row{display:grid;grid-template-columns:140px 100px 150px minmax(240px,1fr) 150px 190px;min-width:930px;align-items:center;gap:12px;padding:13px 16px}.max-win-limit-table__head--bet,.max-win-limit-table__row--bet{grid-template-columns:140px 100px 150px minmax(220px,1fr) 150px 150px 190px;min-width:1080px}.game-catalog-vendor-list,.game-catalog-list{overflow-x:auto;border:1px solid var(--color-border);border-radius:var(--radius-md)}.game-catalog-vendor-list__head,.game-catalog-vendor-list__row{display:grid;grid-template-columns:minmax(220px,1fr) 110px minmax(280px,1.4fr) 110px;min-width:900px;align-items:center;gap:12px;padding:13px 16px}.game-catalog-vendor-list__head.is-admin,.game-catalog-vendor-list__row.is-admin{grid-template-columns:minmax(220px,1fr) 100px 110px minmax(280px,1.4fr) 110px 110px;min-width:1040px}.game-catalog-list__head,.game-catalog-list__row{display:grid;grid-template-columns:minmax(320px,1.4fr) 100px 110px 100px 80px minmax(220px,1fr);min-width:1040px;align-items:center;gap:12px;padding:12px 16px}.game-catalog-list__head.is-admin,.game-catalog-list__row.is-admin{grid-template-columns:minmax(320px,1.4fr) 90px 100px 110px 100px 80px minmax(220px,1fr) 110px;min-width:1220px}.game-catalog-vendor-list__head,.game-catalog-list__head{background:var(--color-bg);color:var(--color-muted);font-size:12px;font-weight:800}.game-catalog-vendor-list__row,.game-catalog-list__row{border-top:1px solid var(--color-border);color:var(--color-soft-text);font-size:14px}.game-catalog-vendor-list__row strong,.game-catalog-list__row strong{display:block;color:var(--color-text)}.game-catalog-vendor-list__row small,.game-catalog-list__row small{display:block;margin-top:3px;color:var(--color-muted)}.game-catalog-type-summary{display:flex;flex-wrap:wrap;gap:6px}.game-catalog-type-summary__empty{color:var(--color-muted);font-weight:800}.game-catalog-type-chip{display:inline-flex;min-height:30px;align-items:center;overflow:hidden;border:1px solid color-mix(in srgb,var(--color-primary) 18%,var(--color-border));border-radius:999px;background:color-mix(in srgb,var(--color-primary) 8%,var(--color-surface));color:var(--color-soft-text);font-size:12px;font-weight:900;line-height:1}.game-catalog-type-chip>span{padding:8px 9px 8px 11px}.game-catalog-type-chip>strong{min-width:32px;align-self:stretch;display:inline-flex;align-items:center;justify-content:center;padding:0 10px;background:color-mix(in srgb,var(--color-primary) 14%,transparent);color:var(--color-primary-dark);font-size:12px}.game-catalog-type-chip--casino{border-color:#bfdbfe;background:#eff6ff;color:#1d4ed8}.game-catalog-type-chip--casino>strong{background:#dbeafe;color:#1e40af}.game-catalog-type-chip--slot{border-color:#bbf7d0;background:#f0fdf4;color:#15803d}.game-catalog-type-chip--slot>strong{background:#dcfce7;color:#166534}.game-catalog-status{display:inline-flex;min-width:58px;align-items:center;justify-content:center;border:1px solid #fed7aa;border-radius:999px;padding:5px 10px;background:#fff7ed;color:#c2410c;font-size:12px;font-weight:900}.game-catalog-status.is-enabled{border-color:#bbf7d0;background:#f0fdf4;color:#15803d}.btn-catalog-enable,.btn-catalog-disable{border:1px solid transparent;border-radius:10px;padding:9px 12px;font-size:13px;font-weight:900;cursor:pointer;transition:background-color .2s ease,border-color .2s ease,color .2s ease}.btn-catalog-enable{border-color:#86efac;background:#16a34a;color:#fff}.btn-catalog-enable:hover{border-color:#22c55e;background:#15803d}.btn-catalog-disable{border-color:#cbd5e1;background:#f8fafc;color:#475569}.btn-catalog-disable:hover{border-color:#94a3b8;background:#e2e8f0;color:#334155}.game-catalog-list__game{display:flex;min-width:0;align-items:center;gap:12px}.game-catalog-list__game img,.game-catalog-list__game i{width:72px;height:48px;flex:0 0 auto;border:1px solid var(--color-border);border-radius:8px;background:var(--color-bg);object-fit:cover}.max-win-limit-vendor-list__head,.max-win-limit-game-list__head,.max-win-limit-table__head{background:var(--color-bg);color:var(--color-muted);font-size:12px;font-weight:800}.max-win-limit-vendor-list__row,.max-win-limit-game-list__row,.max-win-limit-table__row{border-top:1px solid var(--color-border);color:var(--color-soft-text);font-size:14px}.max-win-limit-vendor-list__row strong,.max-win-limit-game-list__row strong,.max-win-limit-table__row strong{display:block;color:var(--color-text)}.max-win-limit-vendor-list__row small,.max-win-limit-game-list__row small,.max-win-limit-table__row small{display:block;margin-top:3px;color:var(--color-muted)}.max-win-limit-vendor-list__row input,.max-win-limit-game-list__row input{width:100%;height:42px;border:1.5px solid var(--color-muted)!important;border-radius:8px;padding:0 12px;color:var(--color-text);background:#fff;font-size:14px;box-shadow:inset 0 1px #11182708,0 0 0 1px #6b728029}.max-win-limit-search input::placeholder,.max-win-limit-vendor-list__row input::placeholder,.max-win-limit-game-list__row input::placeholder{color:var(--color-muted)}.max-win-limit-vendor-list__row input:focus,.max-win-limit-game-list__row input:focus,.max-win-limit-search input:focus{border-color:var(--color-primary)!important;outline:3px solid var(--color-primary-soft);box-shadow:none}@media(max-width:960px){.limit-settings-workspace{grid-template-columns:1fr}.limit-settings-agent-tree{position:static;max-height:420px}.max-win-limit-section__tools{grid-template-columns:1fr}.max-win-limit-search{min-width:0}.max-win-limit-section__tools>span{justify-self:start}}:root{--sidebar-width: 232px;--topbar-height: 62px;--space-xs: 6px;--space-sm: 10px;--space-md: 13px;--space-lg: 16px;--space-xl: 20px;--space-2xl: 24px}body{font-size:13px}.login-page{padding:18px}.login-panel{width:min(100%,360px);padding:28px 26px}.login-panel__logo{width:52px;height:52px;margin-bottom:14px}.login-panel h1{margin-bottom:22px;font-size:16px}.login-form{gap:12px}.login-form input,.developer-try-settings input,.developer-try-settings textarea,.developer-try-settings select,.developer-send-button,.developer-copy-button,.max-win-limit-search input,.max-win-limit-vendor-list__row input,.max-win-limit-game-list__row input{min-height:0;height:38px;font-size:13px}.login-form button{height:40px;font-size:13px}.sidebar__header{padding:15px}.sidebar__brand-text{font-size:16px}.sidebar__logo small{font-size:11px}.sidebar__nav{padding:10px 9px}.sidebar__link,.sidebar__group-button{min-height:36px;border-radius:7px;padding:6px 8px;gap:8px;font-size:12px}.sidebar__link-icon{width:20px;min-width:20px;font-size:14px}.sidebar__submenu{margin:3px 0 8px 32px}.sidebar__sublink{padding:7px 8px;font-size:12px}.sidebar__user{min-height:58px;padding:12px 15px}.sidebar__user strong,.sidebar__user small{font-size:12px}.sidebar__user small{margin-top:6px}.sidebar__logout{width:30px;height:30px;min-height:30px}.sidebar__logout-icon{width:18px;height:18px}.topbar{height:var(--topbar-height);padding:0 22px;gap:10px}.topbar__balances{gap:30px}.topbar__balance-item span{font-size:11px}.topbar__balance-item strong{font-size:13px}.topbar__logout,.topbar__theme-toggle,.page__actions button{min-height:32px;height:32px}.topbar__logout,.page__actions button{padding:0 11px;font-size:12px}.topbar__theme-toggle button{min-width:48px;padding:0 8px;font-size:12px}.main-content{padding:20px}.page{gap:16px}.page__header{gap:12px}.page__header h2{font-size:16px}.page__eyebrow,.topbar__eyebrow{font-size:11px}.page-alert,.toast{padding:11px 13px;font-size:12px}.dashboard-summary,.dashboard-r-grid,.dashboard-r-summary,.developer-doc-layout,.developer-doc-main,.limit-settings-workspace{gap:16px}.metric-card{padding:14px}.metric-card span{font-size:12px}.metric-card strong{font-size:16px}.metric-card small{font-size:12px}.dashboard-card,.panel,.developer-panel,.developer-doc-hero,.developer-try-card,.limit-settings-section,.agent-tree,.api-failure-panel,.betting-history-panel{padding:18px}.filter-bar,.table-toolbar,.dashboard-filters,.limit-settings-section__tools{gap:10px}.users-workspace,.stats-workspace,.point-history-workspace{grid-template-columns:minmax(220px,280px) minmax(0,1fr);gap:14px}.agent-tree-shell{max-height:calc(100vh - 126px)}.agent-tree-all{min-height:32px;margin:9px;border-radius:7px;font-size:12px}.stats-agent-scope{padding:7px;gap:5px}.stats-agent-scope button{min-height:28px;border-radius:7px;padding:0 8px;font-size:11px}.agent-tree-shell__bar{min-height:44px;padding:9px 10px}.agent-tree-shell__bar strong{font-size:12px}.agent-tree-shell__bar div{gap:4px}.agent-tree-shell__bar button{min-height:24px;border-radius:5px;padding:0 7px;font-size:11px}.agent-tree-shell__search{padding:8px 9px 10px}.agent-tree-shell__search input{height:30px;border-radius:5px;padding:0 9px;font-size:12px}.agent-tree{padding:8px}.agent-tree__row{grid-template-columns:14px 22px minmax(0,1fr);gap:6px;min-height:34px;border-radius:6px;padding-right:8px}.agent-tree__toggle{width:14px;height:22px;border-radius:5px;font-size:10px}.agent-tree__badge{width:22px;height:22px;border-radius:6px;font-size:10px}.agent-tree__name{gap:4px}.agent-tree__name strong,.agent-tree__name small{font-size:12px}.agent-table__head,.agent-table__row,.user-table__head,.user-table__row,.history-table__head,.history-table__row,.betting-history-table__head,.betting-history-table__row,.bet-rejection-table__head,.bet-rejection-table__row,.login-history-table__head,.login-history-table__row,.api-failure-table__head,.api-failure-table__row,.stats-table__head,.stats-table__row,.max-win-limit-table__head,.max-win-limit-table__row,.max-win-limit-vendor-list__head,.max-win-limit-vendor-list__row,.max-win-limit-game-list__head,.max-win-limit-game-list__row{gap:10px;padding:10px 13px;font-size:12px}.agent-table__head,.user-table__head,.history-table__head,.betting-history-table__head,.bet-rejection-table__head,.login-history-table__head,.api-failure-table__head,.stats-table__head,.max-win-limit-table__head,.max-win-limit-vendor-list__head,.max-win-limit-game-list__head{font-size:11px}.agent-table__empty{padding:24px;font-size:12px}.agent-table__actions{gap:6px}.agent-table__actions button,.table-action,.status-badge,.user-table__status,.history-table__direction,.betting-history-table__detail-button,.max-win-limit-action-button{min-height:28px;padding:5px 9px;font-size:11px}.developer-doc-sidebar a{min-height:36px;padding:0 11px;font-size:12px}.developer-doc-hero h3,.developer-panel h3{font-size:16px}.developer-doc-table{font-size:12px}.developer-doc-table th,.developer-doc-table td{padding:8px 10px}.developer-doc-table th,.developer-doc-table code,.developer-code-block{font-size:11px}.modal,.confirm-modal,.quick-amount-modal,.agent-form-modal,.betting-raw-modal{font-size:13px}.modal__content,.confirm-modal__content,.quick-amount-modal__content,.agent-form-modal__content,.betting-raw-modal__content{padding:18px}@media(max-width:960px){.topbar{padding:0 16px}.topbar__mobile-brand{font-size:16px}.main-content{padding:16px}}.developer-change-balance-guide{display:grid;gap:var(--space-lg);min-width:0}.developer-change-balance-examples{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-lg)}.developer-change-balance-examples .developer-json pre{max-height:360px}@media(max-width:960px){.developer-change-balance-examples{grid-template-columns:1fr}}
