:root{--font-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;--background: #f7f8fc;--foreground: #192238;--card: #ffffff;--primary: #3949ab;--primary-hover: #2f3e98;--primary-foreground: #ffffff;--muted: #f3f5f9;--muted-foreground: #7a8499;--accent: #e9ecff;--accent-foreground: #3949ab;--destructive: #d86a72;--border: #e8ebf2;--input: #e1e5ee;--ring: #6875d5;--success: #3d997e;--success-muted: #e5f5f1;--danger-muted: #fce8e9;--danger-text: #a8434b;--sidebar: #ffffff;--sidebar-foreground: #63708a;--sidebar-active: #e9ecff;--sidebar-accent: #3949ab;--sidebar-divider: #e8ebf2;--radius-sm: 8px;--radius: 8px;--radius-control: 10px;--radius-card-lg: 16px;--radius-full: 9999px;--shadow-card: 0 2px 8px rgb(39 52 93 / 6%);--shadow-card-lg: 0 1px 2px rgb(39 52 93 / 4%), 0 12px 32px -8px rgb(39 52 93 / 10%);--shadow-button: 0 1px 2px rgb(39 52 93 / 12%);--ring-face: rgb(57 73 171 / 16%);--text-page-title-size: 24px;--text-page-title-weight: 650;--text-page-title-tracking: -.3px;--text-page-title-leading: 1.25;--text-chrome-title-size: 18px;--text-chrome-title-weight: 600;--text-chrome-title-tracking: -.2px;--text-chrome-title-leading: 1.3;--text-metric-size: 28px;--text-metric-weight: 650;--text-metric-tracking: -.4px;--text-metric-leading: 1.2;--text-brand-size: 15px;--text-brand-weight: 700;--text-brand-tracking: -.2px;--text-brand-leading: 1.3;--text-nav-size: 14px;--text-nav-weight: 500;--text-nav-tracking: -.1px;--text-nav-leading: 1.4;--text-body-size: 14px;--text-body-weight: 400;--text-body-tracking: -.1px;--text-body-leading: 1.55;--text-caption-size: 12px;--text-caption-weight: 600;--text-caption-tracking: .3px;--text-caption-leading: 1.4;--text-form-label-size: 13px;--text-form-label-weight: 500;--text-form-label-tracking: -.1px;--text-form-label-leading: 1.4;--text-control-size: 15px;--text-control-weight: 400;--text-control-tracking: -.1px;--text-control-leading: 1.4;--text-button-size: 15px;--text-button-weight: 600;--text-button-tracking: -.1px;--text-button-leading: 1.4;--space-page: 32px;--space-sidebar: 16px;--space-gap: 12px;--space-field: 6px;--space-card: 20px;--space-group: 24px;--size-control: 44px;--size-login: 420px;--size-form: 420px;--size-log: 420px;--size-phone: 360px;--size-sidebar: 248px;--size-content: 1120px;--radius-phone: 28px;--font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace}*,*:before,*:after{box-sizing:border-box;border-color:var(--border)}html{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}html,body,#root{margin:0;height:100%;min-height:100%}body{font-family:var(--font-sans);font-size:14px;background:var(--background);color:var(--foreground)}input,button,select,textarea{font-family:inherit}button,select{font:inherit}button{cursor:pointer}.admin[data-theme=dark]{--shell-bg: #161826;--shell-sidebar: #12141f;--shell-surface: #1c1e2c;--shell-surface-2: #232532;--shell-text: #e9e9ed;--shell-muted: #9397ab;--shell-muted-2: #75798c;--shell-border: rgb(233 233 237 / 12%);--shell-border-strong: rgb(233 233 237 / 22%);--shell-accent: #9184d9;--shell-accent-ink: #d2cefd;--shell-accent-soft: #2b2741;--shell-hover: rgb(145 132 217 / 12%);--primary-foreground: #161826}.admin[data-theme=light]{--shell-bg: #f3f5fe;--shell-sidebar: #e9ecf9;--shell-surface: #ffffff;--shell-surface-2: #ffffff;--shell-text: #292b31;--shell-muted: #595d6c;--shell-muted-2: #75798c;--shell-border: rgb(41 43 49 / 14%);--shell-border-strong: rgb(41 43 49 / 24%);--shell-accent: #5d5294;--shell-accent-ink: #423a6a;--shell-accent-soft: #e7e5fe;--shell-hover: rgb(93 82 148 / 10%);--primary-foreground: #ffffff}.admin{--space-shell-1: 2.8px;--space-shell-2: 5.6px;--space-shell-3: 8.4px;--space-shell-4: 11.2px;--space-shell-5: 16.8px;--space-shell-6: 22.4px;--space-console-gap: 14px;--radius-pill: 999px}.admin[data-theme=dark],.admin[data-theme=light]{--foreground: var(--shell-text);--background: var(--shell-bg);--card: var(--shell-surface);--muted: var(--shell-surface-2);--muted-foreground: var(--shell-muted);--border: var(--shell-border);--primary: var(--shell-accent);--primary-hover: var(--shell-accent-ink);--accent: var(--shell-accent-soft);--accent-foreground: var(--shell-accent-ink);--input: var(--shell-surface-2);--ring: var(--shell-accent);--ring-face: var(--shell-hover);--shadow-card: none}.admin{position:relative;display:flex;height:100vh;overflow:hidden;background:var(--shell-bg);color:var(--shell-text);font-family:var(--font-sans);font-size:13px;line-height:1.45;-webkit-font-smoothing:antialiased}.admin .sidebar{width:236px;flex:0 0 auto;display:flex;flex-direction:column;background:var(--shell-sidebar);border-right:1px solid var(--shell-border);transition:width .16s ease}.admin[data-collapsed=true] .sidebar{width:56px}.admin .brand-row{display:flex;align-items:center;gap:8.4px;min-height:44px;padding:8.4px 11.2px 8.4px 14px}.admin[data-collapsed=true] .brand-row{flex-direction:column;gap:2.8px;padding:11.2px 0 8.4px}.admin .brand-mark{width:20px;height:20px;flex:0 0 auto}.admin .brand-wordmark{height:15px;flex:0 0 auto}.admin[data-collapsed=true] .brand-wordmark,.admin[data-collapsed=true] .nav-label,.admin[data-collapsed=true] .nav-group-label{display:none}.admin .icon-btn{width:26px;height:26px;flex:0 0 auto;display:grid;place-items:center;margin:0;padding:0;border:0;border-radius:4px;background:transparent;color:var(--shell-muted)}.admin .brand-row .icon-btn:first-of-type{margin-left:auto}.admin[data-collapsed=true] .brand-row .icon-btn:first-of-type{margin-left:0}.admin .icon-btn:hover,.admin .user-chip:hover,.admin .item-nav:hover{background:var(--shell-hover);color:var(--shell-text)}.admin .menu{flex:1;min-height:0;overflow-y:auto;padding:5.6px 8.4px 11.2px;display:flex;flex-direction:column;gap:2.8px}.admin .nav-group{display:flex;flex-direction:column;gap:2.8px}.admin .nav-divider{height:1px;margin:11.2px 5.6px 5.6px;background:linear-gradient(90deg,transparent,var(--shell-border) 14%,var(--shell-border) 86%,transparent)}.admin .nav-group-label{margin:8.4px 0 2.8px 5.6px;font-size:10px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:var(--shell-muted)}.admin .item-nav{display:flex;align-items:center;gap:8.4px;padding:5.6px 8.4px;border-radius:4px;color:var(--shell-muted);font-size:12.5px;text-decoration:none;box-shadow:inset 2px 0 0 transparent}.admin[data-collapsed=true] .item-nav{justify-content:center}.admin .item-nav i{font-size:15px;flex:0 0 auto}.admin .item-nav.is-current{background:var(--shell-accent-soft);color:var(--shell-text);box-shadow:inset 2px 0 0 var(--shell-accent)}.admin .content{min-width:0;flex:1;display:flex;flex-direction:column;background:var(--shell-bg)}.admin .topbar{flex:0 0 auto;height:44px;display:flex;align-items:center;gap:11.2px;padding:0 16.8px;border-bottom:1px solid var(--shell-border)}.admin .crumb{display:flex;align-items:center;gap:5.6px;min-width:0;font-size:12px;color:var(--shell-muted)}.admin .crumb-title{color:var(--shell-text)}.admin .top-actions{margin-left:auto;display:flex;align-items:center;gap:2.8px}.admin .top-actions .icon-btn{width:28px;height:28px}.admin .icon-bell{position:relative}.admin .bell-dot{position:absolute;top:5px;right:5px;width:6px;height:6px;border-radius:999px;background:var(--shell-accent);box-shadow:0 0 0 2px var(--shell-bg)}.admin .top-rule{width:1px;height:18px;margin:0 5.6px;background:var(--shell-border)}.admin .user-chip{display:flex;align-items:center;gap:5.6px;margin-left:5.6px;padding:3px 5.6px 3px 3px;border:0;border-radius:999px;background:transparent;color:var(--shell-text);font:inherit}.admin .user-initials{width:22px;height:22px;border-radius:999px;background:var(--shell-accent-soft);color:var(--shell-accent-ink);display:grid;place-items:center;font-size:10px;font-weight:500}.admin .user-name{font-size:12px}.admin[data-collapsed=true] .user-name{max-width:12ch;overflow:hidden;text-overflow:ellipsis}.admin .page{flex:1;min-width:0;overflow:auto;padding:22.4px 22.4px 28px;box-sizing:border-box}.admin .page>section{width:100%;max-width:1180px;margin:0 auto}.admin .text-mono{font-family:"IBM Plex Mono",var(--font-mono)}.admin .layout-admin-field input:hover:not(:focus),.admin .layout-admin-field textarea:hover:not(:focus){background:var(--shell-hover)}.admin .layout-admin-table tbody tr:hover td{background:var(--shell-hover)}.admin .color-button{font-family:inherit}.admin .account-menu,.admin .notif-panel{position:absolute;right:16.8px;top:44px;z-index:30;border:1px solid var(--shell-border-strong);border-radius:8px;background:var(--shell-surface-2);box-shadow:0 6px 18px #0000008c}.admin .account-menu{width:208px;padding:5.6px}.admin .account-head{padding:5.6px;border-bottom:1px solid var(--shell-border);margin-bottom:2.8px}.admin .account-id{margin:0;font-size:12px}.admin .account-role{margin:2px 0 0;font-size:10.5px;color:var(--shell-muted)}.admin .notif-row{display:flex;gap:8.4px;padding:8.4px 11.2px;border-bottom:1px solid var(--shell-border)}.admin .notif-dot{margin-top:5px;width:6px;height:6px;flex:0 0 auto;border-radius:999px;background:var(--shell-muted)}.admin .notif-dot.is-accent{background:var(--shell-accent)}.admin .notif-title{margin:0;font-size:12px}.admin .notif-meta{margin:2px 0 0;font-size:10.5px;color:var(--shell-muted)}.admin .account-menu button,.admin .palette-list button{display:flex;align-items:center;gap:8.4px;width:100%;padding:6px 5.6px;border:0;border-radius:4px;background:transparent;color:var(--shell-text);font:inherit;text-align:left}.admin .account-menu button:hover,.admin .palette-list button:hover{background:var(--shell-hover)}.admin .notif-panel{width:320px;overflow:hidden}.admin .panel-head{display:flex;align-items:center;padding:8.4px 11.2px;border-bottom:1px solid var(--shell-border)}.admin .panel-head p{margin:0;font-size:12.5px;font-weight:500}.admin .panel-head button{margin-left:auto;border:0;background:transparent;color:var(--shell-muted);font:inherit;font-size:11.5px}.admin .help-drawer{position:absolute;right:0;top:0;bottom:0;width:300px;z-index:30;display:flex;flex-direction:column;border-left:1px solid var(--shell-border-strong);background:var(--shell-surface)}.admin .help-body{padding:14px;display:flex;flex-direction:column;gap:16.8px;overflow-y:auto;font-size:12px}.admin .help-body a,.admin .help-body span{display:block;color:var(--shell-accent)}.admin .help-body kbd,.admin .palette-input kbd{font-family:IBM Plex Mono,ui-monospace,monospace;font-size:10.5px;padding:1px 5px;border:1px solid var(--shell-border);border-radius:4px}.admin .palette-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;z-index:40;background:#0a0b129e;display:flex;justify-content:center;padding-top:84px}.admin .palette{width:540px;max-width:calc(100% - 44.8px);align-self:flex-start;border:1px solid var(--shell-border-strong);border-radius:14px;background:var(--shell-surface-2);overflow:hidden}.admin .palette-input{display:flex;align-items:center;gap:8.4px;padding:11.2px 14px;border-bottom:1px solid var(--shell-border)}.admin .palette-input input{flex:1;border:0;background:transparent;color:var(--shell-text);font:inherit;font-size:13.5px;outline:none}.admin .palette-list{max-height:320px;overflow-y:auto;padding:5.6px}.admin .palette-list kbd{margin-left:auto;color:var(--shell-muted-2)}.admin .palette-empty{margin:0;padding:22.4px;text-align:center;font-size:12px;color:var(--shell-muted)}.admin :focus-visible{outline:2px solid var(--shell-accent);outline-offset:2px}@media(prefers-reduced-motion:reduce){.admin .sidebar{transition:none}}.layout-admin-login{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:var(--space-page);background:var(--background)}.layout-admin-card{display:flex;flex-direction:column;gap:var(--space-gap);padding:var(--space-card);background:var(--card);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-card)}.layout-admin-login-card{display:flex;flex-direction:column;width:var(--size-login);max-width:100%;padding:var(--space-page);background:var(--card);border:1px solid var(--border);border-radius:var(--radius-card-lg);box-shadow:var(--shadow-card-lg)}.layout-admin-login-brand{display:flex;flex-direction:column;align-items:center;gap:var(--space-field);margin-bottom:var(--space-page)}.layout-admin-login-mark{display:grid;place-items:center;width:var(--size-control);height:var(--size-control);margin-bottom:calc(var(--space-sidebar) - var(--space-field));border-radius:var(--radius-control);background:var(--primary);color:var(--primary-foreground);font-size:var(--text-page-title-size);font-weight:var(--text-page-title-weight);line-height:1}.layout-admin-alert{display:flex;align-items:flex-start;gap:var(--space-field);margin:0 0 var(--space-sidebar);padding:var(--space-gap);border-radius:var(--radius-control);background:var(--danger-muted);color:var(--danger-text);font-size:var(--text-form-label-size);font-weight:var(--text-form-label-weight);letter-spacing:var(--text-form-label-tracking);line-height:var(--text-form-label-leading)}.layout-admin-alert:before{content:"!";flex:0 0 auto;display:grid;place-items:center;width:16px;height:16px;border-radius:var(--radius-full);background:var(--destructive);color:var(--primary-foreground);font-size:11px;font-weight:700;line-height:1}.layout-admin-field{display:flex;flex-direction:column;gap:var(--space-field)}.layout-admin-login-card .layout-admin-field+.layout-admin-field{margin-top:var(--space-sidebar)}.layout-admin-field input,.layout-admin-field textarea{width:100%;margin:0;padding:0 var(--space-sidebar);border:1px solid transparent;border-radius:var(--radius-control);background:var(--muted);color:var(--foreground);font-size:var(--text-control-size);font-weight:var(--text-control-weight);letter-spacing:var(--text-control-tracking);line-height:var(--text-control-leading)}.layout-admin-field input{height:var(--size-control)}.layout-admin-field textarea{padding-top:var(--space-gap);padding-bottom:var(--space-gap);resize:vertical}.layout-admin-field input:hover:not(:focus),.layout-admin-field textarea:hover:not(:focus){background:var(--border)}.layout-admin-field input:focus,.layout-admin-field textarea:focus{background:var(--card);border-color:var(--primary);outline:3px solid var(--ring-face);outline-offset:0}.color-button:focus{outline:2px solid var(--ring);outline-offset:2px}.layout-admin-login-password{position:relative}.layout-admin-login-password input{padding-right:calc(var(--space-page) * 2 + var(--space-field))}.layout-admin-login-password button{position:absolute;top:50%;right:var(--space-field);transform:translateY(-50%);height:calc(var(--size-control) - var(--space-gap));padding:0 var(--space-gap);border:0;border-radius:var(--radius-sm);background:none;color:var(--muted-foreground);font-size:var(--text-form-label-size);font-weight:var(--text-form-label-weight);letter-spacing:var(--text-form-label-tracking)}.layout-admin-login-password button:hover{background:var(--border);color:var(--foreground)}.layout-admin-login-password button:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.layout-admin-login-remember{display:flex;align-items:center;gap:var(--space-field);margin:var(--space-sidebar) 0 var(--space-group);cursor:pointer}.layout-admin-login-remember input{width:16px;height:16px;margin:0;accent-color:var(--primary)}.layout-admin-login-card .color-button{height:var(--size-control);padding:0 var(--space-sidebar);border-radius:var(--radius-control);box-shadow:var(--shadow-button)}.text-page-title{margin:0;font-size:var(--text-page-title-size);font-weight:var(--text-page-title-weight);letter-spacing:var(--text-page-title-tracking);line-height:var(--text-page-title-leading)}.text-chrome-title{margin:0;font-size:var(--text-chrome-title-size);font-weight:var(--text-chrome-title-weight);letter-spacing:var(--text-chrome-title-tracking);line-height:var(--text-chrome-title-leading)}.text-brand{font-size:var(--text-brand-size);font-weight:var(--text-brand-weight);letter-spacing:var(--text-brand-tracking);line-height:var(--text-brand-leading)}.text-metric{margin:0;font-size:var(--text-metric-size);font-weight:var(--text-metric-weight);letter-spacing:var(--text-metric-tracking);line-height:var(--text-metric-leading)}.text-nav{font-size:var(--text-nav-size);font-weight:var(--text-nav-weight);letter-spacing:var(--text-nav-tracking);line-height:var(--text-nav-leading)}.text-body{margin:0;font-size:var(--text-body-size);font-weight:var(--text-body-weight);letter-spacing:var(--text-body-tracking);line-height:var(--text-body-leading)}.text-caption{font-size:var(--text-caption-size);font-weight:var(--text-caption-weight);letter-spacing:var(--text-caption-tracking);line-height:var(--text-caption-leading)}.text-form-label{font-size:var(--text-form-label-size);font-weight:var(--text-form-label-weight);letter-spacing:var(--text-form-label-tracking);line-height:var(--text-form-label-leading)}.text-control{font-size:var(--text-control-size);font-weight:var(--text-control-weight);letter-spacing:var(--text-control-tracking);line-height:var(--text-control-leading)}.text-button{font-size:var(--text-button-size);font-weight:var(--text-button-weight);letter-spacing:var(--text-button-tracking);line-height:var(--text-button-leading)}.color-text{color:var(--foreground)}.color-muted{color:var(--muted-foreground)}.color-error{color:var(--destructive)}.color-button{margin:0;padding:var(--space-gap) var(--space-sidebar);min-height:var(--size-control);border:0;border-radius:var(--radius-sm);background:var(--primary);cursor:pointer;transition-property:transform,background-color,box-shadow;transition-duration:.15s;transition-timing-function:ease-out}.color-button:hover:not(:disabled){background:var(--primary-hover)}.color-button:active:not(:disabled){transform:scale(.98)}.color-button:disabled{background:var(--muted);color:var(--muted-foreground);cursor:default}@media(prefers-reduced-motion:reduce){.color-button,.color-button:active:not(:disabled),.layout-admin-button-secondary,.layout-admin-button-secondary:active:not(:disabled){transition:none;transform:none}}.color-button-text{color:var(--primary-foreground)}.color-ok{color:var(--success)}.color-accent{color:var(--accent-foreground)}.layout-admin-status{display:flex;flex-wrap:wrap;gap:var(--space-gap)}.layout-admin-status .layout-admin-card{flex:1;min-width:220px}.layout-admin-status .text-metric.is-error{font-size:var(--text-body-size);font-weight:var(--text-body-weight);letter-spacing:var(--text-body-tracking);line-height:var(--text-body-leading);color:var(--destructive)}.stat-tile{flex:1;min-width:220px;display:flex;align-items:flex-start;gap:14px;padding:var(--space-card);background:var(--card);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-card)}.stat-tile-icon{display:grid;place-items:center;flex:0 0 auto;width:38px;height:38px;border-radius:10px;background:var(--accent);color:var(--primary)}.stat-tile.is-error .stat-tile-icon{background:var(--danger-muted);color:var(--destructive)}.stat-tile-body{display:flex;flex-direction:column;gap:4px;min-width:0}.card-header{display:flex;align-items:center;gap:10px}.card-header-icon{display:grid;place-items:center;flex:0 0 auto;width:30px;height:30px;border-radius:9px;background:var(--accent);color:var(--primary)}.card-header h2,.card-header .text-nav{margin:0}.prompt-status-badge{margin-left:auto;padding:3px 9px;border-radius:var(--radius-full);background:var(--muted);color:var(--muted-foreground);font-size:11px;font-weight:700;white-space:nowrap}.prompt-status-badge.is-custom{background:var(--accent);color:var(--accent-foreground)}.layout-admin-sim{display:flex;flex-direction:column;gap:var(--space-sidebar)}.layout-admin-sim-panels{display:flex;flex-wrap:wrap;gap:var(--space-gap);align-items:flex-start}.layout-admin-sim-panels>.layout-admin-card{flex:1 1 280px;min-width:0}.layout-admin-sim-panels>.layout-admin-chat{flex:1.3 1 320px;min-width:0}.layout-admin-sim-panels>.layout-admin-phone{flex:0 0 auto}.layout-admin-phone{width:var(--size-phone);background:var(--card);border:1px solid var(--border);border-radius:var(--radius-phone);box-shadow:var(--shadow-card)}.layout-admin-phone-screen{display:flex;flex-direction:column;gap:var(--space-gap);padding:var(--space-card)}.layout-admin-result-nav{display:flex;align-items:center;gap:var(--space-field)}.layout-admin-result-nav button{padding:0;border:0;background:none;cursor:pointer;color:var(--foreground);display:grid;place-items:center}.layout-admin-phone-screen.is-analyzing{align-items:center;text-align:center}.layout-admin-camera-topbar{display:flex;align-items:center;justify-content:space-between}.layout-admin-icon-button{display:grid;place-items:center;color:var(--foreground)}.layout-admin-camera-caption{text-align:center}.layout-admin-camera{position:relative;overflow:hidden;margin:0 calc(-1 * var(--space-card));min-height:280px;padding:var(--space-card);display:flex;align-items:center;justify-content:center;background:linear-gradient(180deg,#d7dbe4,#b6bcc9)}.layout-admin-viewfinder{position:relative;display:flex;flex-direction:column;gap:var(--space-field);padding:var(--space-card);border:2px dashed #ffffff;border-radius:var(--radius);box-shadow:0 0 0 9999px #0f121e8c}.layout-admin-capture-controls{display:flex;align-items:center;justify-content:space-between;margin-top:var(--space-gap)}.layout-admin-gallery-button{width:40px;height:40px;border-radius:var(--radius-sm);background:var(--accent);color:var(--accent-foreground);display:grid;place-items:center}.layout-admin-quota-pill{display:flex;flex-direction:column;align-items:center;padding:6px 14px;border-radius:var(--radius-full);background:var(--accent);color:var(--accent-foreground);line-height:1.3}.layout-admin-shutter{width:56px;height:56px;padding:0;border:4px solid var(--card);outline:1px solid var(--border);border-radius:var(--radius-full);background:var(--primary);cursor:pointer;display:grid;place-items:center;color:var(--primary-foreground)}.layout-admin-shutter:hover:not(:disabled){background:var(--primary-hover)}.layout-admin-shutter:disabled{background:var(--muted);color:var(--muted-foreground);cursor:default}.layout-admin-spinner{width:72px;height:72px;margin:var(--space-gap) auto;border-radius:var(--radius-full);background:var(--accent);animation:admin-spinner-pulse 1.2s ease-in-out infinite}@keyframes admin-spinner-pulse{0%,to{opacity:.6}50%{opacity:1}}.layout-admin-step-list{display:flex;flex-direction:column;gap:var(--space-field);width:100%;text-align:left}.layout-admin-step-item{display:flex;align-items:center;gap:var(--space-field);padding:var(--space-gap);border-radius:var(--radius);background:var(--card);border:1px solid var(--border)}.layout-admin-step-icon{flex-shrink:0;width:20px;height:20px;border-radius:var(--radius-full);display:grid;place-items:center}.layout-admin-step-item.is-done .layout-admin-step-icon{background:var(--success-muted);color:var(--success)}.layout-admin-step-item.is-active .layout-admin-step-icon{background:var(--accent);color:var(--accent-foreground);animation:admin-spinner-pulse 1.2s ease-in-out infinite}.layout-admin-step-item.is-waiting .layout-admin-step-icon{background:var(--muted);border:1px solid var(--border)}.layout-admin-step-item.is-waiting{color:var(--muted-foreground)}.layout-admin-level{display:flex;flex-direction:column;gap:var(--space-field)}.layout-admin-level-item{background:var(--muted);border-radius:var(--radius-sm);padding:var(--space-gap)}.layout-admin-level-item summary{display:flex;align-items:center;gap:var(--space-gap);cursor:pointer}.layout-admin-level-badge{flex-shrink:0;padding:2px 8px;border-radius:var(--radius-full);background:var(--accent)}.layout-admin-level-item p{margin:var(--space-field) 0 0}.layout-admin-log{display:flex;flex-direction:column;gap:var(--space-gap);max-height:var(--size-log);overflow-y:auto}.layout-admin-chat{display:flex;flex-direction:column;gap:var(--space-gap);padding:var(--space-card);background:var(--card);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-card)}.layout-admin-chat-header{display:flex;align-items:center;justify-content:space-between;gap:var(--space-gap)}.layout-admin-chat-bubble{align-self:flex-start;max-width:78%;padding:var(--space-gap);border-radius:var(--radius);background:var(--muted);color:var(--foreground)}.layout-admin-chat-bubble p{margin:0;white-space:pre-wrap}.layout-admin-chat-bubble .text-caption{margin-top:var(--space-field)}.layout-admin-chat-bubble.is-user{align-self:flex-end;background:var(--primary);color:var(--primary-foreground)}.layout-admin-chat-bubble.is-pending{color:var(--muted-foreground);font-style:italic}.layout-admin-chat-bubble.is-failed{background:var(--danger-muted);color:var(--destructive)}.layout-admin-chat-composer{display:flex;gap:var(--space-gap);padding-top:var(--space-gap);border-top:1px solid var(--border)}.layout-admin-chat-composer input{flex:1;min-width:0;height:var(--size-control);margin:0;padding:0 var(--space-sidebar);border:1px solid transparent;border-radius:var(--radius-control);background:var(--muted);color:var(--foreground)}.layout-admin-chat-composer input:hover:not(:focus):not(:disabled){background:var(--border)}.layout-admin-chat-composer input:focus{background:var(--card);border-color:var(--primary);outline:3px solid var(--ring-face);outline-offset:0}.layout-admin-chat-composer input:disabled{background:var(--muted);color:var(--muted-foreground)}.layout-admin-tabs{display:flex;gap:var(--space-gap)}.layout-admin-tabs button{padding:var(--space-gap);border:1px solid var(--border);border-radius:var(--radius);background:transparent;color:var(--muted-foreground);cursor:pointer}.layout-admin-tabs button.is-current{background:var(--card);color:var(--foreground)}.layout-admin-key{width:var(--size-form);max-width:100%;margin-bottom:var(--space-page)}.layout-admin-prompt{display:flex;flex-direction:column;gap:var(--space-page)}.layout-admin-prompt-card{display:flex;flex-direction:column;gap:var(--space-gap);width:100%;margin-bottom:var(--space-page);padding:var(--space-card);background:var(--card);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-card)}.layout-admin-prompt-card textarea{width:100%;min-height:220px;margin:0;padding:var(--space-gap) var(--space-sidebar);border:1px solid transparent;border-radius:var(--radius-control);background:var(--muted);color:var(--foreground);font-family:inherit;resize:vertical}.layout-admin-prompt-card textarea:focus{background:var(--card);border-color:var(--primary);outline:3px solid var(--ring-face);outline-offset:0}.layout-admin-prompt-buttons{display:flex;gap:var(--space-gap)}.layout-admin-button-secondary{padding:var(--space-gap) var(--space-sidebar);min-height:var(--size-control);border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--card);color:var(--foreground);cursor:pointer;transition-property:transform,background-color;transition-duration:.15s;transition-timing-function:ease-out}.layout-admin-button-secondary:hover:not(:disabled){background:var(--muted)}.layout-admin-button-secondary:active:not(:disabled){transform:scale(.98)}.layout-admin-button-secondary:disabled{cursor:default;opacity:.6}.table-scroll{overflow-x:auto}@media(max-width:680px){.table-scroll .layout-admin-table{min-width:560px}}.layout-admin-table{width:100%;border-collapse:separate;border-spacing:0;background:var(--card);border:1px solid var(--border);border-radius:var(--radius-control);overflow:hidden}.layout-admin-table th,.layout-admin-table td{padding:14px 16px;text-align:left;vertical-align:middle;font-variant-numeric:tabular-nums}.layout-admin-table thead th{background:var(--muted);border-bottom:1px solid var(--border);font-size:var(--text-caption-size);font-weight:var(--text-caption-weight);letter-spacing:var(--text-caption-tracking);color:var(--muted-foreground)}.layout-admin-table tbody tr+tr td{border-top:1px solid var(--border)}.layout-admin-table tbody tr:hover td{background:var(--background)}.layout-admin-table .color-button{min-height:36px;height:36px;padding:0 var(--space-gap)}.layout-admin-table .color-ok{display:inline-block;padding:2px var(--space-field);border-radius:var(--radius-full);background:var(--success-muted)}.text-mono{font-family:var(--font-mono);font-size:13px;font-weight:500;letter-spacing:0;line-height:1.4;font-variant-numeric:tabular-nums}.layout-admin-health{display:flex;align-items:center;gap:var(--space-gap);margin:0;padding:14px var(--space-card);background:var(--muted);border:1px solid transparent;border-radius:var(--radius-control)}.layout-admin-health .health-meter{margin-left:auto}.layout-admin-dot{flex:0 0 auto;width:8px;height:8px;border-radius:var(--radius-full);background:var(--muted-foreground)}.layout-admin-dot.is-ok{background:var(--success)}.layout-admin-dot.is-bad{background:var(--destructive)}.layout-admin-dot.is-wait{background:var(--muted-foreground)}.layout-admin-sim-panels>.layout-admin-prompt-card{flex:1 1 280px;min-width:0;margin-bottom:0}.admin{--size-console-control: 32px;--size-console-segment: 22px;--size-console-step: 26px;--size-console-field: 28px;--size-console-pop: 268px;--size-console-row: 38px;--size-console-avatar: 24px;--radius-console-panel: 14px;--radius-console-control: 8px;--radius-console-track: 6px;--radius-console-step: 4px;--text-console-label-size: 10px;--text-console-label-weight: 500;--text-console-metric-size: 20px;--text-console-metric-weight: 650;--text-console-metric-tracking: -.2px;--text-console-chip-size: 11px;--text-console-step-size: 11.5px;--text-console-body-size: 12.5px;--console-danger: #e0708f;--console-danger-face: rgb(224 112 143 / 10%);--shadow-console-pop: 0 6px 18px rgb(0 0 0 / 55%)}.admin .btn-crumb-info{width:22px;height:22px;margin-left:2.8px;padding:0;display:grid;place-items:center;border:0;border-radius:4px;background:transparent;color:var(--shell-muted-2);cursor:pointer}.admin .btn-crumb-info:hover{background:var(--shell-hover);color:var(--shell-text)}.admin .page-empty{flex:1}.admin .members{display:grid;grid-template-columns:minmax(0,1fr);align-content:start;gap:14px;font-family:var(--font-sans);color:var(--shell-text);font-size:var(--text-console-body-size);line-height:1.45}.admin .members input,.admin .members button,.admin .members select{font-family:inherit}.admin .members i.ph{flex:0 0 auto;line-height:1}.admin .members.has-drawer{grid-template-columns:minmax(0,1fr) 300px}.admin .members .toolbar,.admin .members .filterbar,.admin .members .error,.admin .members .skeleton,.admin .members .empty{grid-column:1 / -1}.admin .members .table-wrap,.admin .members .pagination{grid-column:1}.admin .members .toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-shell-2)}.admin .members .search-box{display:flex;align-items:center;gap:var(--space-shell-2);flex:1 1 240px;min-width:180px;height:var(--size-console-control);box-sizing:border-box;padding:0 var(--space-shell-3);border:1px solid var(--shell-border-strong);border-radius:var(--radius-console-control);background:var(--shell-surface)}.admin .members .i-search{font-size:14px;color:var(--shell-muted)}.admin .members .search{flex:1;min-width:0;height:100%;border:0;background:transparent;outline:none;color:var(--shell-text);font-size:var(--text-console-body-size)}.admin .members .search::placeholder{color:var(--shell-muted)}.admin .members .btn-clear-search{display:grid;place-items:center;width:18px;height:18px;border:0;border-radius:var(--radius-pill);background:transparent;color:var(--shell-muted);cursor:pointer}.admin .members .btn-adv{display:inline-flex;align-items:center;gap:var(--space-shell-2);flex:0 0 auto;height:var(--size-console-control);box-sizing:border-box;line-height:1;padding:0 var(--space-shell-4);border:1px solid var(--shell-border);border-radius:var(--radius-console-control);background:transparent;color:var(--shell-muted);font-size:12px;cursor:pointer}.admin .members .btn-adv i{font-size:14px}.admin .members .btn-reset{display:inline-flex;align-items:center;gap:4px;height:var(--size-console-step);box-sizing:border-box;padding:0 var(--space-shell-3);border:1px solid var(--shell-border);border-radius:var(--radius-pill);background:transparent;color:var(--shell-muted);font-size:var(--text-console-chip-size);cursor:pointer}.admin .members .btn-reset i{font-size:10px}.admin .members .btn-date{display:inline-flex;align-items:center;gap:var(--space-shell-2);height:var(--size-console-step);padding:0 var(--space-shell-3);border:1px solid var(--shell-border);border-radius:var(--radius-console-control);background:transparent;color:var(--shell-muted);font-size:var(--text-console-step-size);cursor:pointer}.admin .members .btn-date i.ph-calendar-blank{font-size:13px}.admin .members .row-date{position:relative}.admin .members .daterange{position:absolute;left:0;top:30px;z-index:25;width:var(--size-console-pop);box-sizing:border-box;padding:var(--space-shell-4);border:1px solid var(--shell-border-strong);border-radius:var(--radius-console-control);background:var(--shell-surface-2);box-shadow:var(--shadow-console-pop);animation:pop-fade .12s ease}@keyframes pop-fade{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.admin .members .daterange{animation:none}}.admin .members .daterange .chips-period{display:flex;gap:var(--space-shell-1);margin-bottom:var(--space-shell-3);padding:0;background:none;border-radius:0}.admin .members .daterange .chips-period .chip{height:auto;padding:4px var(--space-shell-3);border-radius:var(--radius-console-step);font-size:var(--text-console-chip-size)}.admin .members .range-row{display:flex;align-items:flex-end;gap:var(--space-shell-2)}.admin .members .range-dash{padding-bottom:6px;color:var(--shell-muted-2)}.admin .members .pop-actions{display:flex;gap:var(--space-shell-2);margin-top:var(--space-shell-4)}.admin .members .btn-date-clear,.admin .members .btn-date-apply{flex:1;height:var(--size-console-field);border-radius:var(--radius-console-step);font-size:var(--text-console-step-size);cursor:pointer}.admin .members .btn-date-clear{border:1px solid var(--shell-border);background:transparent;color:var(--shell-muted)}.admin .members .btn-date-apply{border:1px solid var(--shell-accent);background:var(--shell-accent-soft);color:var(--shell-accent-ink)}.btn-adv i.ph-caret-up,.btn-adv i.ph-caret-down,.admin .members .btn-date i.ph-caret-up,.admin .members .btn-date i.ph-caret-down{font-size:11px}.admin .members .btn-date.is-on{border-color:var(--shell-accent);color:var(--shell-accent-ink)}.admin .members .adv-count{display:grid;place-items:center;min-width:16px;height:16px;padding:0 4px;border-radius:var(--radius-pill);background:var(--shell-accent-soft);color:var(--shell-accent-ink);font-size:10px}.admin .members .filterbar{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-shell-4);padding:var(--space-shell-2) var(--space-shell-3);border:1px solid var(--shell-border);border-radius:var(--radius-console-control);background:var(--shell-surface)}.admin .members .filterbar>div{display:flex;align-items:center;gap:var(--space-shell-2)}.admin .members .label-plan,.admin .members .label-date,.admin .members .size-label{font-size:var(--text-console-label-size);font-weight:var(--text-console-label-weight);letter-spacing:.06em;text-transform:uppercase;color:var(--shell-muted-2)}.admin .members .chips-plan{display:flex;gap:var(--space-shell-1);padding:2px;border-radius:var(--radius-console-track);background:var(--shell-surface-2)}.admin .members .chip{height:var(--size-console-segment);padding:0 var(--space-shell-3);border:0;border-radius:var(--radius-console-step);background:transparent;color:var(--shell-muted);font-size:var(--text-console-step-size);cursor:pointer}.admin .members .chip.is-on{background:var(--shell-accent-soft);color:var(--shell-accent-ink)}.admin .members .divider{align-self:stretch;width:1px;margin:calc(var(--space-shell-2) * -1) 0;background:linear-gradient(180deg,transparent,var(--shell-border) 22%,var(--shell-border) 78%,transparent)}.admin .members .field-from,.admin .members .field-to{display:flex;flex-direction:column;gap:var(--space-shell-1);font-size:var(--text-console-label-size);font-weight:var(--text-console-label-weight);letter-spacing:.06em;text-transform:uppercase;color:var(--shell-muted-2)}.admin .members .field-from input,.admin .members .field-to input{height:var(--size-console-field);box-sizing:border-box;padding:0 var(--space-shell-2);border:1px solid var(--shell-border);border-radius:var(--radius-console-step);color-scheme:dark;background:var(--shell-surface-2);color:var(--shell-text);font-size:var(--text-console-step-size)}.admin .members .error{display:flex;align-items:center;gap:var(--space-shell-3);padding:var(--space-shell-3) var(--space-shell-4);border:1px solid var(--console-danger);border-radius:var(--radius-console-control);background:var(--console-danger-face);color:var(--shell-text);font-size:var(--text-console-body-size)}.admin .members .error i{font-size:15px;color:var(--console-danger)}.admin .members .btn-retry{margin-left:auto;padding:3px var(--space-shell-3);border:1px solid var(--shell-border-strong);border-radius:var(--radius-console-step);background:transparent;color:var(--shell-text);font-size:var(--text-console-step-size);cursor:pointer}.admin .members .skeleton{display:flex;flex-direction:column;gap:1px;border:1px solid var(--shell-border);border-radius:var(--radius-console-panel);overflow:hidden}.admin .members .skeleton div{height:var(--size-console-row);background:var(--shell-surface);animation:members-pulse 1.4s ease-in-out infinite}@keyframes members-pulse{0%,to{opacity:.6}50%{opacity:1}}@media(prefers-reduced-motion:reduce){.admin .members .skeleton div{animation:none;opacity:.8}}.admin .members .empty{display:grid;place-items:center;gap:var(--space-shell-2);padding:56px var(--space-shell-6);border:1px solid var(--shell-border);border-radius:var(--radius-console-panel);background:var(--shell-surface);color:var(--shell-muted);font-size:var(--text-console-body-size)}.admin .members .empty i{font-size:24px;color:var(--shell-muted-2)}.admin .members .table-wrap{border:1px solid var(--shell-border);border-radius:var(--radius-console-panel);background:var(--shell-surface);overflow-x:auto;overflow-y:hidden}.admin .members .table{width:100%;min-width:max-content;border-collapse:collapse;font-size:var(--text-console-body-size)}.admin .members .table th{text-align:left;padding:var(--space-shell-3) 14px;border-bottom:1px solid var(--shell-border);font-size:var(--text-console-label-size);font-weight:var(--text-console-label-weight);letter-spacing:.06em;text-transform:uppercase;color:var(--shell-muted-2)}.admin .members .table th.sort{cursor:pointer}.admin .members .table th.sort.is-on{color:var(--shell-muted)}.admin .members .table th i{margin-left:4px;font-size:10px;vertical-align:middle}.admin .members .table th.h-detail{text-align:right}.admin .members .table td{padding:var(--space-shell-3) 14px}.admin .members .row{border-bottom:1px solid var(--shell-border);cursor:pointer}.admin .members .v-username>div{display:flex;align-items:center;gap:var(--space-shell-3)}.admin .members .avatar{display:grid;place-items:center;width:var(--size-console-avatar);height:var(--size-console-avatar);flex:0 0 auto;border-radius:var(--radius-pill);background:var(--shell-accent-soft);color:var(--shell-accent-ink);font-size:10.5px}.admin .members .username{font-family:var(--font-mono);font-size:12px;color:var(--shell-text)}.admin .members .self-badge{padding:1px 5px;border-radius:var(--radius-pill);background:var(--shell-surface-2);font-size:10px;color:var(--shell-muted)}.admin .members .v-id{font-family:var(--font-mono);font-size:var(--text-console-chip-size);color:var(--shell-muted)}.admin .members .v-goals{white-space:nowrap}.admin .members .v-time{font-family:var(--font-mono);font-size:var(--text-console-step-size);color:var(--shell-muted)}.admin .members .badge{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border-radius:var(--radius-pill);font-size:var(--text-console-chip-size)}.admin .members .badge.is-solid{background:var(--shell-accent-soft);color:var(--shell-accent-ink)}.admin .members .badge.is-outline{border:1px solid var(--shell-border);color:var(--shell-muted)}.admin .members .badge i{font-size:11px}.admin .members .v-detail{text-align:right;color:var(--shell-muted-2)}.admin .members .v-detail i{margin-left:var(--space-shell-3);font-size:12px;vertical-align:middle}.admin .page{position:relative}.admin .members .drawer{position:absolute;top:0;right:0;bottom:0;z-index:20;width:300px;box-sizing:border-box;min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden;border-left:1px solid var(--shell-border-strong);background:var(--shell-surface)}.admin .members .drawer.is-fit{position:static;grid-column:2;grid-row:span 2;height:0;min-height:100%;border:1px solid var(--shell-border);border-radius:var(--radius-console-panel)}.admin .members .drawer-head{display:flex;align-items:center;padding:var(--space-shell-3) var(--space-shell-4);border-bottom:1px solid var(--shell-border)}.admin .members .drawer-title{margin:0;font-size:var(--text-console-body-size);color:var(--shell-text)}.admin .members .btn-drawer-fit,.admin .members .btn-drawer-close{display:grid;place-items:center;width:22px;height:22px;padding:0;border:0;border-radius:var(--radius-console-step);background:transparent;color:var(--shell-muted);cursor:pointer}.admin .members .btn-drawer-fit{margin-left:auto}.admin .members .btn-drawer-fit.is-on{background:var(--shell-accent-soft);color:var(--shell-accent-ink)}.admin .members .btn-drawer-close{margin-left:var(--space-shell-1)}.admin .members .drawer-body{flex:1;min-height:0;overflow-y:auto;padding:var(--space-shell-4);display:flex;flex-direction:column;gap:var(--space-shell-4)}.admin .members .drawer-body>div{display:flex;flex-direction:column;gap:var(--space-shell-1)}.admin .members .drawer-body dt,.admin .members .kv-name{font-size:var(--text-console-label-size);font-weight:var(--text-console-label-weight);letter-spacing:.06em;text-transform:uppercase;color:var(--shell-muted-2)}.admin .members .kv-value{font-size:var(--text-console-body-size);color:var(--shell-text)}.admin .members .kv-value.is-mono{font-family:var(--font-mono);word-break:break-all}.admin .members .change-role{height:var(--size-console-control);padding:0 var(--space-shell-4);border:0;border-radius:var(--radius-console-control);background:var(--shell-accent);color:var(--shell-bg);font-size:12px;cursor:pointer}.admin .members .change-role[disabled]{background:transparent;border:1px solid var(--shell-border);color:var(--shell-muted);cursor:default}.admin .members .d-self{margin:0;color:var(--shell-muted);font-size:var(--text-console-body-size)}.admin .members .pagination{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-shell-4)}.admin .members .count{margin:0;font-size:var(--text-console-step-size);color:var(--shell-muted-2)}.admin .members .size-group{display:flex;align-items:center;gap:var(--space-shell-2);margin-left:auto}.admin .members .size{height:var(--size-console-step);padding:0 var(--space-shell-2);border:1px solid var(--shell-border);border-radius:var(--radius-console-track);background:var(--shell-surface-2);color:var(--shell-text);font-size:var(--text-console-step-size)}.admin .members .page-group{display:flex;align-items:center;gap:var(--space-shell-1)}.admin .members .btn-prev,.admin .members .btn-next{display:grid;place-items:center;width:var(--size-console-step);height:var(--size-console-step);border:1px solid var(--shell-border);border-radius:var(--radius-console-step);background:transparent;color:var(--shell-text);cursor:pointer}.admin .members .btn-prev[disabled],.admin .members .btn-next[disabled]{color:var(--shell-muted);opacity:.45;cursor:default}.admin .members .page-btn{min-width:var(--size-console-step);height:var(--size-console-step);padding:0 6px;border:1px solid var(--shell-border);border-radius:var(--radius-console-step);background:transparent;color:var(--shell-muted);font-size:var(--text-console-step-size);cursor:pointer}.admin .members .page-btn.is-on{border-color:var(--shell-accent);background:var(--shell-accent-soft);color:var(--shell-accent-ink)}.admin .team{display:flex;flex-direction:column;gap:var(--space-shell-6);font-family:var(--font-sans);color:var(--shell-text);font-size:var(--text-console-body-size);line-height:1.45}.admin .team input,.admin .team button,.admin .team select{font-family:inherit}.admin .team i.ph{flex:0 0 auto;line-height:1}.admin .section{display:flex;flex-direction:column;gap:14px}.admin .section-title{margin:0;font-size:var(--text-console-body-size);font-weight:600;color:var(--shell-text)}.admin .section-hint{margin:0;font-size:var(--text-console-step-size);color:var(--shell-muted-2)}.admin .btn-add{align-self:flex-start}.admin .group-select{height:var(--size-console-step);padding:0 var(--space-shell-2);border:1px solid var(--shell-border);border-radius:var(--radius-console-track);background:var(--shell-surface-2);color:var(--shell-text);font-size:var(--text-console-step-size)}.admin .group-select[disabled]{color:var(--shell-muted);cursor:default}.admin .v-username{font-family:var(--font-mono);font-size:12px}.admin .v-group,.admin .gv-action,.admin .v-action{white-space:nowrap}.admin .gv-action .btn-reset+.btn-reset{margin-left:var(--space-shell-2)}.admin .btn-reset[disabled]{color:var(--shell-muted-2);opacity:.45;cursor:default}.admin .btn-promote[disabled]{color:var(--shell-muted-2);opacity:.5;cursor:default}.admin .promote-box{flex:0 1 240px}.admin .promote-label{font-size:var(--text-console-label-size);font-weight:var(--text-console-label-weight);letter-spacing:.06em;text-transform:uppercase;color:var(--shell-muted-2)}.admin .editor{display:flex;flex-direction:column;gap:var(--space-shell-4);padding:var(--space-shell-5);border:1px solid var(--shell-border);border-radius:var(--radius-console-panel);background:var(--shell-surface)}.admin .editor-title{margin:0;font-size:var(--text-console-body-size);font-weight:600}.admin .field-code,.admin .field-name{display:flex;flex-direction:column;gap:var(--space-shell-1);font-size:var(--text-console-label-size);font-weight:var(--text-console-label-weight);letter-spacing:.06em;text-transform:uppercase;color:var(--shell-muted-2)}.admin .field-code input,.admin .field-name input{height:var(--size-console-field);box-sizing:border-box;padding:0 var(--space-shell-2);border:1px solid var(--shell-border);border-radius:var(--radius-console-step);background:var(--shell-surface-2);color:var(--shell-text);font-size:var(--text-console-step-size)}.admin .field-code input[disabled]{color:var(--shell-muted)}.admin .perm-label{margin:0;font-size:var(--text-console-label-size);font-weight:var(--text-console-label-weight);letter-spacing:.06em;text-transform:uppercase;color:var(--shell-muted-2)}.admin .perms{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:var(--space-shell-4);row-gap:var(--space-shell-2)}.admin .perm{display:flex;align-items:center;gap:var(--space-shell-2);font-size:var(--text-console-step-size);color:var(--shell-text);cursor:pointer}.admin .perm input{width:14px;height:14px;accent-color:var(--shell-accent)}@media(max-width:900px){.perms{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.perms{grid-template-columns:minmax(0,1fr)}}.admin .editor-buttons{justify-content:flex-end}.admin .editor-buttons .btn-date-clear,.admin .editor-buttons .btn-date-apply{flex:0 0 auto;padding:0 var(--space-shell-4)}:root{--size-console-aside: 300px;--size-console-dialog: 360px;--console-scrim: rgb(0 0 0 / 55%)}.admin .layout-console-aside-grid{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:var(--space-shell-4)}.admin .layout-console-aside-grid>.grid-main{min-width:0;display:flex;flex-direction:column;gap:var(--space-shell-4)}@media(max-width:900px){.admin .layout-console-aside-grid{grid-template-columns:minmax(0,1fr)}}.admin .layout-console-aside{width:var(--size-console-aside);align-self:stretch;display:flex;flex-direction:column;min-height:0;overflow:hidden;border:1px solid var(--shell-border);border-radius:var(--radius-console-panel);background:var(--shell-surface)}.admin .layout-console-aside .aside-head{flex:0 0 auto;display:flex;align-items:center;gap:var(--space-shell-3);min-height:var(--size-console-row, 40px);padding:0 var(--space-shell-4);border-bottom:1px solid var(--shell-border)}.admin .layout-console-aside .aside-body{flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:var(--space-shell-4);padding:var(--space-shell-4)}.admin .layout-console-aside .aside-block{display:flex;flex-direction:column;gap:4px;padding-top:var(--space-shell-3);border-top:1px solid var(--shell-border)}.admin .layout-console-aside .aside-actions{flex:0 0 auto;display:flex;align-items:center;gap:var(--space-shell-3);padding:var(--space-shell-4);border-top:1px solid var(--shell-border)}.admin .aside-spacer{flex:1}.admin .layout-console-dialog{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;display:grid;place-items:center;background:var(--console-scrim)}.admin .layout-console-dialog .dialog-card{width:var(--size-console-dialog);max-width:calc(100vw - 2 * var(--space-shell-4));display:flex;flex-direction:column;gap:var(--space-shell-3);padding:var(--space-shell-4);border:1px solid var(--shell-border);border-radius:var(--radius-console-panel);background:var(--shell-surface)}.admin .layout-console-dialog .dialog-actions{display:flex;justify-content:flex-end;gap:var(--space-shell-3)}.admin .types .add-form{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-shell-3)}.admin .types .add-form input{flex:1 1 220px;min-width:160px}.admin .types .tab-count{display:inline-flex;align-items:center;height:18px;padding:0 6px;border-radius:var(--radius-pill, 999px);background:var(--shell-surface-2);font-size:var(--text-console-chip-size, 10.5px);color:var(--shell-muted-2)}.admin .types .layout-admin-tabs .is-current .tab-count{background:var(--shell-accent-soft);color:var(--shell-accent-ink)}.admin .types tbody tr{cursor:pointer}.admin .types tbody tr.is-current{background:var(--shell-accent-soft);box-shadow:inset 2px 0 0 var(--shell-accent)}.admin .types .row-actions{display:flex;align-items:center;gap:var(--space-shell-1)}.admin .types .chip{display:inline-flex;align-items:center;height:20px;padding:0 8px;border-radius:var(--radius-pill, 999px);background:var(--shell-surface-2);font-size:var(--text-console-chip-size, 11px);color:var(--shell-muted)}.admin .types .chip.is-own{background:var(--shell-accent-soft);color:var(--shell-accent-ink)}.admin .types .skeleton-row{height:var(--size-console-row, 40px);margin:var(--space-shell-1) 0;border-radius:var(--radius-console-control, 8px);background:var(--shell-surface-2)}.admin .text-console-label{font-size:var(--text-console-label-size, 10px);font-weight:var(--text-console-label-weight, 500);letter-spacing:.06em;text-transform:uppercase;color:var(--shell-muted-2)}.admin .color-console-danger{color:var(--console-danger);border-color:var(--console-danger)}.admin .agentcon{--console-scrim: rgb(0 0 0 / 55%);--size-console-textarea: 240px;--size-console-dialog: 360px;--size-console-rail: 196px;position:relative;display:grid;grid-template-columns:minmax(0,1fr);align-content:start;gap:14px;font-family:var(--font-sans);color:var(--shell-text);font-size:var(--text-console-body-size);line-height:1.45}.admin .agentcon input,.admin .agentcon button,.admin .agentcon textarea{font-family:inherit}.admin .agentcon i.ph{flex:0 0 auto;line-height:1}.admin .agentcon .spacer{margin-left:auto}.admin .agentcon .mono{font-family:var(--font-mono);font-variant-numeric:tabular-nums}.admin .agentcon .muted{color:var(--shell-muted)}.admin .agentcon .muted-2{color:var(--shell-muted-2)}.admin .agentcon .step{font-size:var(--text-console-step-size)}.admin .agentcon .cut{max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin .agentcon .danger{margin:0;color:var(--console-danger);font-size:var(--text-console-step-size)}.admin .agentcon .tabs{display:flex;flex-wrap:wrap;gap:var(--space-shell-2)}.admin .agentcon .tabs>button{display:inline-flex;align-items:center;gap:var(--space-shell-2);height:var(--size-console-control);padding:0 var(--space-shell-4);border:1px solid var(--shell-border);border-radius:var(--radius-console-control);background:none;color:var(--shell-muted);font-size:var(--text-console-body-size);cursor:pointer}.admin .agentcon .tabs>button.on{border-color:var(--shell-accent);background:var(--shell-accent-soft);color:var(--shell-accent-ink)}.admin .agentcon .count-badge{min-width:16px;height:16px;padding:0 4px;border-radius:var(--radius-pill);background:var(--shell-accent-soft);color:var(--shell-accent-ink);font-size:10px;line-height:16px;text-align:center}.admin .agentcon .toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-shell-2)}.admin .agentcon .fld{flex:1 1 220px;min-width:160px;height:var(--size-console-control);padding:0 var(--space-shell-3);border:1px solid var(--shell-border-strong);border-radius:var(--radius-console-control);background:var(--shell-surface);color:var(--shell-text);font-size:var(--text-console-body-size);outline:none}.admin .agentcon .fld::placeholder{color:var(--shell-muted-2)}.admin .agentcon .dupe{flex-basis:100%}.admin .agentcon .btn{display:inline-flex;align-items:center;gap:var(--space-shell-2);height:var(--size-console-control);padding:0 var(--space-shell-4);border:1px solid var(--shell-border);border-radius:var(--radius-console-control);background:none;color:var(--shell-muted);font-size:12px;cursor:pointer}.admin .agentcon .btn.primary{border-color:var(--shell-accent);background:var(--shell-accent-soft);color:var(--shell-accent-ink)}.admin .agentcon .btn.danger-btn{border-color:var(--console-danger);color:var(--console-danger);background:none}.admin .agentcon .btn[disabled],.admin .agentcon .btn-sm[disabled]{opacity:.45;cursor:default}.admin .agentcon .btn-sm{display:inline-flex;align-items:center;gap:var(--space-shell-2);height:var(--size-console-step);padding:0 var(--space-shell-3);border:1px solid var(--shell-border);border-radius:var(--radius-console-control);background:none;color:var(--shell-muted);font-size:var(--text-console-step-size);cursor:pointer}.admin .agentcon .icon-btn{display:grid;place-items:center;width:26px;height:26px;padding:0;border:0;border-radius:4px;background:none;color:var(--shell-muted);cursor:pointer}.admin .agentcon .icon-btn:hover{background:var(--shell-hover);color:var(--shell-text)}.admin .agentcon .alert{display:flex;align-items:center;gap:var(--space-shell-3);padding:var(--space-shell-3) var(--space-shell-4);border:1px solid var(--console-danger);border-radius:var(--radius-console-control);background:var(--console-danger-face)}.admin .agentcon .alert>i{font-size:15px;color:var(--console-danger)}.admin .agentcon .alert>span{font-size:var(--text-console-body-size);color:var(--shell-text)}.admin .agentcon .alert>button{margin-left:auto;height:var(--size-console-step);padding:0 var(--space-shell-3);border:1px solid var(--console-danger);border-radius:var(--radius-console-step);background:none;color:var(--console-danger);font-size:var(--text-console-step-size);cursor:pointer}.admin .agentcon .skeleton{display:flex;flex-direction:column;gap:1px;border:1px solid var(--shell-border);border-radius:var(--radius-console-panel);overflow:hidden}.admin .agentcon .skeleton>div{height:var(--size-console-row);background:var(--shell-surface)}.admin .agentcon .empty{display:grid;justify-items:center;gap:var(--space-shell-2);padding:56px var(--space-shell-6);border:1px solid var(--shell-border);border-radius:var(--radius-console-panel);background:var(--shell-surface)}.admin .agentcon .empty>i{font-size:24px;color:var(--shell-muted-2)}.admin .agentcon .empty>p{margin:0;font-size:var(--text-console-body-size);color:var(--shell-muted)}.admin .agentcon .tablewrap{border:1px solid var(--shell-border);border-radius:var(--radius-console-panel);background:var(--shell-surface);overflow-x:auto}.admin .agentcon table{width:100%;border-collapse:collapse;font-size:var(--text-console-body-size)}.admin .agentcon th{text-align:left;padding:var(--space-shell-3) 14px;font-size:var(--text-console-label-size);font-weight:var(--text-console-label-weight);letter-spacing:.06em;text-transform:uppercase;color:var(--shell-muted-2);border-bottom:1px solid var(--shell-border);white-space:nowrap}.admin .agentcon td{padding:var(--space-shell-3) 14px;border-bottom:1px solid var(--shell-border);color:var(--shell-text);vertical-align:middle}.admin .agentcon tbody tr{cursor:pointer}.admin .agentcon tbody tr:hover{background:var(--shell-hover)}.admin .agentcon tbody tr.on{box-shadow:inset 2px 0 0 var(--shell-accent)}.admin .agentcon tbody tr:last-child td{border-bottom:0}.admin .agentcon .actions{display:flex;align-items:center;gap:var(--space-shell-2)}.admin .agentcon .chip{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border-radius:var(--radius-pill);background:var(--shell-accent-soft);color:var(--shell-accent-ink);font-size:var(--text-console-chip-size)}.admin .agentcon .chip.outline{background:none;border:1px solid var(--shell-border);color:var(--shell-muted)}.admin .agentcon .metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px}.admin .agentcon .metrics>div{display:flex;flex-direction:column;gap:var(--space-shell-1);padding:var(--space-shell-4);border:1px solid var(--shell-border);border-radius:var(--radius-console-panel);background:var(--shell-surface)}.admin .agentcon .metrics>div>.label{margin:0}.admin .agentcon .metrics>div>.value{margin:0;font-size:var(--text-console-metric-size);font-weight:var(--text-console-metric-weight);letter-spacing:var(--text-console-metric-tracking);color:var(--shell-text)}.admin .agentcon.has-drawer{grid-template-columns:minmax(0,1fr) 300px}.admin .agentcon.has-drawer>.tabs,.admin .agentcon.has-drawer>.toolbar,.admin .agentcon.has-drawer>.alert,.admin .agentcon.has-drawer>.skeleton,.admin .agentcon.has-drawer>.empty{grid-column:1 / -1}.admin .agentcon.has-drawer>.tablewrap{grid-column:1}.admin .agentcon .drawer{position:absolute;top:0;right:0;bottom:0;z-index:20;width:300px;min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden;border-left:1px solid var(--shell-border-strong);background:var(--shell-surface)}.admin .agentcon .drawer-head{display:flex;align-items:center;gap:var(--space-shell-2);padding:var(--space-shell-3) var(--space-shell-4);border-bottom:1px solid var(--shell-border)}.admin .agentcon .drawer-head>p{margin:0;font-size:var(--text-console-body-size);color:var(--shell-text)}.admin .agentcon .drawer-body{flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:var(--space-shell-4);padding:14px}.admin .agentcon .drawer-actions{display:flex;align-items:center;gap:var(--space-shell-3);padding:var(--space-shell-4) 14px;border-top:1px solid var(--shell-border)}.admin .agentcon .field{display:flex;flex-direction:column;gap:var(--space-shell-1)}.admin .agentcon .field>span{font-size:var(--text-console-label-size);font-weight:var(--text-console-label-weight);letter-spacing:.06em;text-transform:uppercase;color:var(--shell-muted-2)}.admin .agentcon .field>input{width:100%;height:var(--size-console-control);padding:0 var(--space-shell-3);border:1px solid var(--shell-border);border-radius:var(--radius-console-control);background:var(--shell-surface-2);color:var(--shell-text);font-size:var(--text-console-body-size)}.admin .agentcon .textarea{width:100%;min-height:96px;padding:var(--space-shell-3);border:1px solid var(--shell-border);border-radius:var(--radius-console-control);background:var(--shell-surface-2);color:var(--shell-text);font-size:var(--text-console-body-size);line-height:1.6;resize:vertical}.admin .agentcon .editor>.textarea{min-height:var(--size-console-textarea)}.admin .agentcon .pick-block{display:flex;flex-direction:column;align-items:center;gap:var(--space-shell-2);margin:auto 0}.admin .agentcon .textarea::placeholder{color:var(--shell-muted-2)}.admin .agentcon .textarea[readonly]{color:var(--shell-muted)}.admin .agentcon .split{display:flex;flex-wrap:wrap;gap:var(--space-console-gap)}.admin .agentcon .split>.rail{flex:0 0 var(--size-console-rail);min-width:176px;display:flex;flex-direction:column;gap:var(--space-shell-3);border:1px solid var(--shell-border);border-radius:var(--radius-console-panel);background:var(--shell-surface);overflow:hidden}.admin .agentcon .split>.main{flex:1 1 380px;min-width:0;display:flex;flex-direction:column;gap:var(--space-console-gap)}.admin .agentcon .search{display:flex;align-items:center;gap:var(--space-shell-2);height:34px;padding:0 10px;border-bottom:1px solid var(--shell-border)}.admin .agentcon .search>i{font-size:13px;color:var(--shell-muted)}.admin .agentcon .search>input{flex:1;min-width:0;border:0;background:none;outline:none;color:var(--shell-text);font-size:12px}.admin .agentcon .search>input::placeholder{color:var(--shell-muted-2)}.admin .agentcon .rail-list{display:flex;flex-direction:column;gap:var(--space-shell-1);max-height:320px;overflow-y:auto;padding:4px}.admin .agentcon .rail-item{display:flex;align-items:center;gap:var(--space-shell-2);height:var(--size-console-step);padding:0 var(--space-shell-3);border:0;border-radius:var(--radius-console-control);background:none;color:var(--shell-muted);font-size:var(--text-console-body-size);text-align:left;cursor:pointer}.admin .agentcon .rail-item.on{background:var(--shell-accent-soft);color:var(--shell-accent-ink)}.admin .agentcon .rail-item>.own{margin-left:auto;width:6px;height:6px;border-radius:var(--radius-pill);background:var(--shell-accent)}.admin .agentcon .rail-empty,.admin .agentcon .rail-count{margin:0;padding:0 10px}.admin .agentcon .rail-count{padding-bottom:10px}.admin .agentcon .body-head{display:flex;align-items:center;gap:var(--space-shell-3)}.admin .agentcon .body-head>h2{margin:0;font-size:var(--text-console-body-size);font-weight:600;color:var(--shell-text)}.admin .agentcon .editor{display:flex;flex-direction:column;gap:var(--space-shell-4);padding:var(--space-shell-5);border:1px solid var(--shell-border);border-radius:var(--radius-console-panel);background:var(--shell-surface)}.admin .agentcon .editor-head{display:flex;align-items:center;gap:var(--space-shell-2)}.admin .agentcon .editor-head>span:first-child{font-size:var(--text-console-body-size);color:var(--shell-text)}.admin .agentcon .editor-actions{display:flex;align-items:center;gap:var(--space-shell-2)}.admin .agentcon .dialog-scrim{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;display:grid;place-items:center;padding:var(--space-shell-6);background:var(--console-scrim)}.admin .agentcon .dialog-card{width:min(var(--size-console-dialog),100%);display:flex;flex-direction:column;gap:var(--space-shell-4);padding:var(--space-shell-5);border:1px solid var(--shell-border-strong);border-radius:var(--radius-console-panel);background:var(--shell-surface);box-shadow:var(--shadow-console-pop)}.admin .agentcon .dialog-card>.d-title{margin:0;font-size:var(--text-console-body-size);color:var(--shell-text)}.admin .agentcon .dialog-card>.d-body{margin:0;font-size:var(--text-console-step-size);color:var(--shell-muted);line-height:1.6}.admin .agentcon .dialog-actions{display:flex;justify-content:flex-end;gap:var(--space-shell-2)}.admin .agentcon.sim{grid-template-columns:repeat(auto-fit,minmax(340px,1fr));grid-auto-rows:minmax(0,1fr);align-items:stretch;align-content:stretch;gap:14px;height:calc(100vh - 94.4px);min-height:620px}.admin .agentcon.sim>.col{display:flex;flex-direction:column;gap:14px;min-width:0;min-height:0}.admin .agentcon.sim .card{flex:1 1 0}.admin .agentcon.sim .head{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-shell-3)}.admin .agentcon.sim .title{font-size:var(--text-console-body-size);color:var(--shell-text)}.admin .agentcon.sim .label{margin:0;font-size:var(--text-console-label-size);font-weight:var(--text-console-label-weight);letter-spacing:.06em;text-transform:uppercase;color:var(--shell-muted-2)}.admin .agentcon.sim .body-text{margin:0;font-size:var(--text-console-body-size);color:var(--shell-text);white-space:pre-wrap}.admin .agentcon.sim .segment,.admin .agentcon.problems .segment{display:flex;gap:var(--space-shell-1);padding:2px;border-radius:var(--radius-console-track);background:var(--shell-surface-2)}.admin .agentcon.sim .segment>button,.admin .agentcon.problems .segment>button{height:var(--size-console-segment);padding:0 var(--space-shell-3);border:0;border-radius:var(--radius-console-step);background:none;color:var(--shell-muted);font-size:var(--text-console-step-size);cursor:pointer}.admin .agentcon.sim .segment>button.on,.admin .agentcon.problems .segment>button.on{background:var(--shell-accent-soft);color:var(--shell-accent-ink)}.admin .agentcon.sim .pane{gap:var(--space-shell-3);padding:var(--space-shell-4)}.admin .agentcon.sim .pane>p{margin:0}.admin .agentcon.sim .shot-preview{border-radius:var(--radius-console-control);overflow:hidden;background:var(--shell-surface-2)}.admin .agentcon.sim .shot-preview>img{display:block;max-width:100%;max-height:240px;margin:0 auto}.admin .agentcon.sim .shot-row{display:flex;align-items:center;gap:var(--space-shell-3)}.admin .agentcon.sim .alert{margin:0}.admin .agentcon.sim .levels{display:flex;flex-direction:column;gap:var(--space-shell-2)}.admin .agentcon.sim .level{padding:var(--space-shell-3) var(--space-shell-4);border-radius:var(--radius-console-control);background:var(--shell-surface-2)}.admin .agentcon.sim .level>summary{cursor:pointer;font-size:var(--text-console-body-size);color:var(--shell-text)}.admin .agentcon.sim .level>p{margin:var(--space-shell-2) 0 0;font-size:var(--text-console-body-size);white-space:pre-wrap}.admin .agentcon.sim .raw{margin:0;max-height:320px;overflow:auto;padding:var(--space-shell-3);border-radius:var(--radius-console-control);background:var(--shell-surface-2);font-size:var(--text-console-step-size);white-space:pre}.admin .agentcon.sim .log{flex:1;display:flex;flex-direction:column;gap:var(--space-shell-3);min-height:120px;overflow-y:auto}.admin .agentcon.sim .pane,.admin .agentcon.sim .pane .field,.admin .agentcon.sim .pane .textarea{flex:1;min-height:0}.admin .agentcon.sim .bubble{align-self:flex-start;max-width:78%;padding:var(--space-shell-3) var(--space-shell-4);border-radius:var(--radius-console-panel);background:var(--shell-surface-2);color:var(--shell-text);font-size:var(--text-console-body-size)}.admin .agentcon.sim .bubble>p{margin:0;white-space:pre-wrap}.admin .agentcon.sim .bubble.is-user{align-self:flex-end;background:var(--shell-accent-soft);color:var(--shell-accent-ink)}.admin .agentcon.sim .bubble.is-failed{color:var(--console-danger)}.admin .agentcon.sim .composer{display:flex;gap:var(--space-shell-2);padding-top:var(--space-shell-3);border-top:1px solid var(--shell-border)}.admin .agentcon.sim .composer>.fld{flex:1}.admin .agentcon.sim tbody tr.static,.admin .agentcon.incidents tbody tr.static{cursor:default}.admin .agentcon.sim tbody tr.static:hover,.admin .agentcon.incidents tbody tr.static:hover{background:none}.admin .agentcon.sim tbody tr.fill td{height:var(--size-console-row)}.admin .agentcon.llm{gap:var(--space-console-gap)}.admin .agentcon .card{display:flex;flex-direction:column;min-height:0;border:1px solid var(--shell-border);border-radius:var(--radius-console-panel);background:var(--shell-surface);overflow:hidden}.admin .agentcon .card-head{flex:0 0 auto;display:flex;align-items:center;gap:var(--space-shell-3);min-height:40px;box-sizing:border-box;padding:0 14px;border-bottom:1px solid var(--shell-border)}.admin .agentcon .card-head>.title{font-size:var(--text-console-label-size);font-weight:var(--text-console-label-weight);letter-spacing:.06em;text-transform:uppercase;color:var(--shell-muted-2)}.admin .agentcon .card-head>.spacer{margin-left:auto}.admin .agentcon .card>.body{flex:1;min-height:0;display:flex;flex-direction:column;gap:var(--space-shell-3);padding:14px;overflow-y:auto}.admin .agentcon .stack{display:flex;flex-direction:column;gap:var(--space-console-gap)}.admin .agentcon .blank{margin:0;padding:var(--space-shell-6) 14px;text-align:center;font-size:var(--text-console-body-size);color:var(--shell-muted)}.admin .agentcon table.ruled th:not(:last-child),.admin .agentcon table.ruled td:not(:last-child){border-right:1px solid var(--shell-border)}.admin .agentcon .card>.tablewrap{border:0;border-radius:0}.admin .agentcon .section{display:flex;flex-direction:column;gap:14px;padding:var(--space-shell-5);border:1px solid var(--shell-border);border-radius:var(--radius-console-panel);background:var(--shell-surface)}.admin .agentcon .head{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-shell-3)}.admin .agentcon .title{margin:0;font-size:var(--text-console-body-size);color:var(--shell-text)}.admin .agentcon .label{font-size:var(--text-console-label-size);font-weight:var(--text-console-label-weight);letter-spacing:.06em;text-transform:uppercase;color:var(--shell-muted-2)}.admin .agentcon.llm .route{display:grid;grid-template-columns:minmax(0,1fr) 220px 220px;align-items:end;gap:var(--space-shell-4);padding-bottom:var(--space-shell-4);border-bottom:1px solid var(--shell-border)}.admin .agentcon.llm .route:last-child{border-bottom:0;padding-bottom:0}@media(max-width:820px){.admin .agentcon.llm .route{grid-template-columns:1fr}}.admin .agentcon.llm .route-text{min-width:0}.admin .agentcon.llm .route-label{margin:0;font-size:var(--text-console-body-size);color:var(--shell-text)}.admin .agentcon.llm .route-hint{margin:var(--space-shell-1) 0 0}.admin .agentcon .select{width:100%;height:var(--size-console-step);padding:0 var(--space-shell-2);border:1px solid var(--shell-border);border-radius:var(--radius-console-track);background:var(--shell-surface-2);color:var(--shell-text);font-size:var(--text-console-step-size)}.admin .agentcon.llm .provider{align-items:center}.admin .agentcon.llm .provider>.provider-name{margin:0;min-width:120px;font-size:var(--text-console-body-size);color:var(--shell-text)}.admin .agentcon.llm .provider>p{margin:0}.admin .agentcon.llm .provider>.fld{flex:1 1 200px}.admin .agentcon.llm .provider>.danger{flex-basis:100%}.admin .agentcon.llm .alert{margin:0}.admin .agentcon .search-box{flex:1 1 240px;min-width:180px;height:var(--size-console-control);padding:0 var(--space-shell-3);border:1px solid var(--shell-border-strong);border-radius:var(--radius-console-control);background:var(--shell-surface);border-bottom-width:1px}.admin .agentcon .search-box>button{display:grid;place-items:center;width:20px;height:20px;padding:0;border:0;border-radius:var(--radius-console-step);background:none;color:var(--shell-muted-2);cursor:pointer}.admin .agentcon .filterbar{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-shell-4);padding:var(--space-shell-2) var(--space-shell-3);border:1px solid var(--shell-border);border-radius:var(--radius-console-control);background:var(--shell-surface-2)}.admin .agentcon .fgroup{display:flex;align-items:center;gap:var(--space-shell-2)}.admin .agentcon .fgroup>.select{width:auto}.admin .agentcon .divider{width:1px;align-self:stretch;background:var(--shell-border)}.admin .agentcon .btn-pill{display:inline-flex;align-items:center;gap:4px;margin-left:auto;height:var(--size-console-step);padding:0 var(--space-shell-3);border:1px solid var(--shell-border);border-radius:var(--radius-pill);background:none;color:var(--shell-muted);font-size:var(--text-console-chip-size);cursor:pointer}.admin .agentcon.llm .aside-grid{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:14px}.admin .agentcon.llm .aside-grid.has-detail{grid-template-columns:minmax(0,1fr) 300px}@media(max-width:900px){.admin .agentcon.llm .aside-grid.has-detail{grid-template-columns:1fr}}.admin .agentcon.llm .aside-grid>.col{min-width:0;display:flex;flex-direction:column;gap:14px}.admin .agentcon.llm .detail{display:flex;flex-direction:column;gap:var(--space-shell-2);min-width:0;padding:var(--space-shell-4);border:1px solid var(--shell-border);border-radius:var(--radius-console-panel);background:var(--shell-surface-2)}.admin .agentcon.llm .detail-head{display:flex;align-items:center;gap:var(--space-shell-2)}.admin .agentcon.llm .detail-name{font-size:var(--text-console-body-size);color:var(--shell-text)}.admin .agentcon.llm .detail-chips{display:flex;flex-wrap:wrap;gap:var(--space-shell-1)}.admin .agentcon.llm .detail>.label{margin-top:var(--space-shell-3);padding-top:var(--space-shell-3);border-top:1px solid var(--shell-border)}.admin .agentcon.llm .stage{display:flex;align-items:baseline;gap:var(--space-shell-3);padding:4px 0;border-bottom:1px solid var(--shell-border);font-size:var(--text-console-step-size)}.admin .agentcon.llm .stage>.stage-name{flex:1;color:var(--shell-text)}.admin .agentcon.llm .used{font-size:var(--text-console-step-size);color:var(--shell-text)}.admin .agentcon .pagination{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-shell-4)}.admin .agentcon .pagination>p{margin:0}.admin .agentcon .pagination>.size{margin-left:auto;display:flex;align-items:center;gap:var(--space-shell-2)}.admin .agentcon .pagination>.size>.select{width:auto}.admin .agentcon .pages{display:flex;gap:var(--space-shell-1)}.admin .agentcon .stepbtn{min-width:var(--size-console-step);height:var(--size-console-step);padding:0 6px;border:1px solid var(--shell-border);border-radius:var(--radius-console-step);background:none;color:var(--shell-muted);font-size:var(--text-console-step-size);cursor:pointer}.admin .agentcon .stepbtn.on{border-color:var(--shell-accent);color:var(--shell-accent-ink)}.admin .agentcon .stepbtn[disabled]{opacity:.35;cursor:default}.admin .agentcon.guardrails.has-drawer>.tabs,.admin .agentcon.guardrails.has-drawer>.filterbar{grid-column:1 / -1}.admin .agentcon.guardrails.has-drawer>.section,.admin .agentcon.guardrails.has-drawer>.pagination{grid-column:1}.admin .agentcon .switch{position:relative;width:34px;height:var(--size-console-segment);padding:0;border:0;border-radius:var(--radius-pill);background:var(--shell-surface-2);cursor:pointer}.admin .agentcon .switch.on{background:var(--shell-accent)}.admin .agentcon .switch>span{position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:var(--radius-pill);background:var(--shell-text)}.admin .agentcon .switch.on>span{left:auto;right:3px}.admin .agentcon .field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-shell-4)}.admin .agentcon .field>select{width:100%}.admin .agentcon .history{display:flex;flex-direction:column;gap:var(--space-shell-2);padding-top:var(--space-shell-3);border-top:1px solid var(--shell-border)}.admin .agentcon .history>.hrow{display:flex;align-items:center;gap:var(--space-shell-3);padding:var(--space-shell-2) var(--space-shell-3);border:1px solid var(--shell-border);border-radius:var(--radius-console-control);background:var(--shell-surface-2);font-size:var(--text-console-step-size)}.admin .agentcon .history>.hrow>.cut{flex:1}.admin .agentcon .row-enabled{display:flex;align-items:center;gap:var(--space-shell-3)}.admin .agentcon tbody tr.draft{cursor:default}.admin .agentcon tbody tr.draft:hover{background:none}.admin .agentcon tbody tr.draft td{padding:var(--space-shell-2) 14px}.admin .agentcon tbody tr.draft .fld,.admin .agentcon tbody tr.draft .select{height:var(--size-console-step)}.admin .agentcon tbody tr.draft .fld{flex:none;width:100%;min-width:0}:root{--size-console-aside-detail: 340px;--size-console-bubble: 88%;--radius-console-bubble: 12px;--console-correct: #7EC8A0;--console-warn: #E0B670;--console-warn-face: rgb(224 182 112 / 14%)}.admin .problems .aside-grid{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto 1fr;align-items:start;gap:var(--space-console-gap)}.admin .problems .aside-grid>.tablewrap{grid-column:1;grid-row:1;min-width:0}.admin .problems .aside-grid>.pagination{grid-column:1;grid-row:2}.admin .problems .aside-grid>.detail,.admin .problems .aside-grid>.detail-error,.admin .problems .aside-grid>.detail-skeleton{grid-column:2;grid-row:1 / span 2;align-self:stretch;width:var(--size-console-aside-detail)}@media(max-width:900px){.admin .problems .aside-grid{grid-template-columns:minmax(0,1fr)}.admin .problems .aside-grid>.detail,.admin .problems .aside-grid>.detail-error,.admin .problems .aside-grid>.detail-skeleton{grid-column:1;grid-row:auto;width:auto}}.admin .problems .detail{display:flex;flex-direction:column;min-height:0;max-height:calc(100vh - 140px);overflow:hidden;border:1px solid var(--shell-border);border-radius:var(--radius-console-panel);background:var(--shell-surface)}.admin .problems .detail>.dhead{flex:0 0 auto;display:flex;align-items:center;gap:var(--space-shell-3);min-height:40px;padding:0 var(--space-console-gap);border-bottom:1px solid var(--shell-border)}.admin .problems .detail>.dbody{flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:var(--space-console-gap);padding:var(--space-console-gap)}.admin .problems .detail>.dfoot{flex:0 0 auto;display:flex;align-items:center;gap:var(--space-shell-3);padding:var(--space-shell-4) var(--space-console-gap);border-top:1px solid var(--shell-border)}.admin .problems .dsec{display:flex;flex-direction:column;gap:var(--space-shell-2);padding-top:var(--space-shell-4);border-top:1px solid var(--shell-border)}.admin .problems .dsec.first{padding-top:0;border-top:0;gap:4px}.admin .problems .dsec>.dchips{display:flex;flex-wrap:wrap;gap:var(--space-shell-2);margin-top:var(--space-shell-1)}.admin .problems .dsec>p{margin:0;font-size:var(--text-console-body-size);line-height:1.6;color:var(--shell-text);white-space:pre-wrap;overflow-wrap:anywhere}.admin .problems .answers{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-shell-3);margin-top:var(--space-shell-2)}.admin .problems .answers>div{display:flex;flex-direction:column;gap:2px}.admin .problems .answers .learner{font-size:12px;color:var(--console-danger)}.admin .problems .answers .correct{font-size:12px;color:var(--console-correct)}.admin .problems .chip.warn{background:var(--console-warn-face);color:var(--console-warn)}.admin .problems .alert.inline{font-size:12px}.admin .problems .accordion{padding:6px 0;border-bottom:1px solid var(--shell-border)}.admin .problems .accordion>summary{font-size:12px;color:var(--shell-text);cursor:pointer}.admin .problems .accordion>p{margin:var(--space-shell-2) 0 0;font-size:12px;line-height:1.6;color:var(--shell-muted);white-space:pre-wrap;overflow-wrap:anywhere}.admin .problems .bubble{display:flex;flex-direction:column;gap:4px}.admin .problems .bubble>.q,.admin .problems .bubble>.a{max-width:var(--size-console-bubble);padding:var(--space-shell-2) 10px;border-radius:var(--radius-console-bubble)}.admin .problems .bubble>.q{align-self:flex-end;border:1px solid var(--shell-accent);background:var(--shell-accent-soft)}.admin .problems .bubble>.a{align-self:flex-start;border:1px solid var(--shell-border);background:var(--shell-surface-2)}.admin .problems .bubble p{margin:0;font-size:var(--text-console-step-size);overflow-wrap:anywhere}.admin .problems .bubble>.q p{color:var(--shell-accent-ink)}.admin .problems .bubble>.a p{color:var(--shell-text)}.admin .problems .breakdown{display:flex;align-items:center;gap:var(--space-shell-3);padding:4px 0;border-bottom:1px solid var(--shell-border)}.admin .problems .breakdown>.stage{flex:1;font-size:var(--text-console-step-size);color:var(--shell-muted)}.admin .problems .breakdown>.val{font-family:var(--font-mono);font-size:11px;color:var(--shell-text)}.admin .problems tbody tr{cursor:pointer}.admin .problems tbody tr.on{background:var(--shell-accent-soft);box-shadow:inset 2px 0 0 var(--shell-accent)}.admin .problems .daterange{display:flex;align-items:flex-end;gap:var(--space-shell-2)}.admin .problems .daterange>input{height:var(--size-console-field);padding:0 var(--space-shell-2);border:1px solid var(--shell-border);border-radius:var(--radius-console-step);background:var(--shell-surface-2);color:var(--shell-text);font-size:var(--text-console-step-size)}.admin .problems .daterange>.dash{color:var(--shell-muted-2)}
