/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.hidden{display:none}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}*,:before,:after{box-sizing:border-box;margin:0;padding:0}:root{--bg:#0d0d0f;--surface:#18181b;--surface-2:#27272a;--border:#3f3f46;--text:#fafafa;--text-muted:#a1a1aa;--accent:#7c3aed;--accent-light:#a78bfa;--danger:#ef4444;--success:#22c55e;--user-bubble-bg:#1e1b4b;--user-bubble-border:#3730a3;--speaking-bg:#065f46;--speaking-color:#34d399;--speaking-border:#34d399}:root.light{--bg:#f4f4f5;--surface:#fff;--surface-2:#f1f5f9;--border:#e4e4e7;--text:#09090b;--text-muted:#71717a;--accent:#7c3aed;--accent-light:#6d28d9;--danger:#dc2626;--success:#16a34a;--user-bubble-bg:#ede9fe;--user-bubble-border:#8b5cf6;--speaking-bg:#d1fae5;--speaking-color:#059669;--speaking-border:#059669}body{background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;height:100dvh;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;transition:background .2s,color .2s;overflow:hidden}#root{height:100dvh}input,button,textarea{font-family:inherit}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}:root{--sidebar-w:220px}.layout{height:100dvh;display:flex}.sidebar{width:var(--sidebar-w);background:var(--surface);border-right:1px solid var(--border);flex-direction:column;flex-shrink:0;justify-content:space-between;padding:20px 12px;transition:background .2s,border-color .2s;display:flex}.sidebar-top{flex-direction:column;gap:28px;display:flex}.sidebar-logo{letter-spacing:.01em;align-items:center;gap:10px;padding:4px 8px;font-size:1rem;font-weight:700;display:flex}.sidebar-logo-img{object-fit:contain;border-radius:6px;flex-shrink:0;width:28px;height:28px}.sidebar-nav{flex-direction:column;gap:4px;display:flex}.nav-item{color:var(--text-muted);border-radius:8px;align-items:center;gap:10px;padding:9px 12px;font-size:.875rem;text-decoration:none;transition:all .15s;display:flex}.nav-item svg{flex-shrink:0;width:18px;height:18px}.nav-item:hover,.nav-item--active{background:var(--surface-2);color:var(--text)}.nav-item--active svg{color:var(--accent-light)}.sidebar-bottom{border-top:1px solid var(--border);align-items:center;gap:6px;padding:16px 4px 8px;display:flex}.user-info{flex:1;align-items:center;gap:8px;min-width:0;display:flex}.user-avatar{background:var(--accent);color:#fff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;font-size:.8rem;font-weight:700;display:flex}.user-details{flex-direction:column;min-width:0;display:flex}.user-name{white-space:nowrap;text-overflow:ellipsis;font-size:.8rem;font-weight:600;overflow:hidden}.user-role{text-transform:uppercase;letter-spacing:.05em;font-size:.65rem;font-weight:500}.user-role--admin{color:var(--accent-light)}.user-role--user{color:var(--text-muted)}.theme-btn{color:var(--text-muted);cursor:pointer;background:0 0;border:none;border-radius:6px;flex-shrink:0;align-items:center;padding:6px;transition:all .15s;display:flex}.theme-btn svg{width:17px;height:17px}.theme-btn:hover{background:var(--surface-2);color:var(--text)}.logout-btn{color:var(--text-muted);cursor:pointer;background:0 0;border:none;border-radius:6px;flex-shrink:0;align-items:center;padding:6px;transition:all .15s;display:flex}.logout-btn svg{width:16px;height:16px}.logout-btn:hover{background:var(--surface-2);color:var(--danger)}.layout-content{flex-direction:column;flex:1;min-width:0;display:flex;overflow:hidden}.mobile-header{display:none}.hamburger-btn{color:var(--text-muted);cursor:pointer;background:0 0;border:none;border-radius:6px;align-items:center;padding:6px;transition:all .15s;display:flex}.hamburger-btn svg{width:22px;height:22px}.hamburger-btn:hover{background:var(--surface-2);color:var(--text)}.mobile-logo{align-items:center;gap:8px;font-size:.95rem;font-weight:700;display:flex}.sidebar-overlay{display:none}@media (width<=767px){.layout{flex-direction:column}.mobile-header{background:var(--surface);border-bottom:1px solid var(--border);z-index:30;flex-shrink:0;justify-content:space-between;align-items:center;height:56px;padding:0 16px;transition:background .2s,border-color .2s;display:flex}.sidebar{z-index:50;width:260px;padding-top:28px;transition:transform .25s;position:fixed;top:0;bottom:0;left:0;transform:translate(-100%);box-shadow:4px 0 24px #00000040}.sidebar--open{transform:translate(0)}.sidebar-overlay{z-index:40;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#00000080;animation:.2s fadeIn;display:block;position:fixed;inset:0}.theme-btn--sidebar{display:none}.layout-content{flex:1;height:calc(100dvh - 56px);overflow:hidden}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.login-page{background:var(--bg);justify-content:center;align-items:center;height:100dvh;display:flex}.login-card{background:var(--surface);border:1px solid var(--border);border-radius:16px;width:100%;max-width:380px;padding:40px 36px}.login-logo{align-items:center;gap:12px;margin-bottom:6px;display:flex}.login-logo-img{object-fit:contain;border-radius:10px;flex-shrink:0;width:48px;height:48px}.login-logo h1{font-size:1.15rem;font-weight:700;line-height:1.2}.login-logo-sub{color:var(--text-muted);margin-top:1px;font-size:.75rem}.login-subtitle{color:var(--text-muted);margin-bottom:28px;font-size:.85rem}.login-form{flex-direction:column;gap:16px;display:flex}.login-error{color:var(--danger);background:#ef444414;border:1px solid #ef444433;border-radius:6px;padding:8px 12px;font-size:.8rem}.login-btn{background:var(--accent);color:#fff;cursor:pointer;border:none;border-radius:8px;justify-content:center;align-items:center;height:42px;margin-top:4px;padding:11px;font-size:.9rem;font-weight:600;transition:background .15s;display:flex}.login-btn:hover:not(:disabled){background:#6d28d9}.login-btn:disabled{opacity:.6;cursor:not-allowed}@media (width<=480px){.login-card{border-radius:12px;margin:0 12px;padding:28px 20px}}.login-spinner{border:2px solid #ffffff4d;border-top-color:#fff;border-radius:50%;width:18px;height:18px;animation:.7s linear infinite spin;display:inline-block}@keyframes spin{to{transform:rotate(360deg)}}.chat-page{flex-direction:column;width:100%;max-width:760px;height:100%;margin:0 auto;display:flex}.chat-header{border-bottom:1px solid var(--border);flex-shrink:0;justify-content:space-between;align-items:center;padding:20px 24px 16px;display:flex}.chat-header h2{font-size:1rem;font-weight:600}.chat-subtitle{color:var(--text-muted);margin-top:2px;font-size:.75rem}.clear-btn{border:1px solid var(--border);color:var(--text-muted);cursor:pointer;background:0 0;border-radius:8px;padding:6px 14px;font-size:.78rem;transition:all .15s}.clear-btn:hover{border-color:var(--text-muted);color:var(--text)}.chat-messages{scrollbar-width:thin;scrollbar-color:var(--border) transparent;flex:1;padding:20px 24px;overflow-y:auto}.chat-empty{height:100%;color:var(--text-muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:12px;display:flex}.chat-empty-icon{width:52px;height:52px;color:var(--border)}.chat-empty-icon svg{width:100%;height:100%}.chat-empty p{font-size:.9rem}.chat-empty-hint{border:1px solid var(--border);color:var(--text-muted);border-radius:20px;padding:6px 14px;font-size:.76rem}.message{flex-direction:column;gap:4px;margin-bottom:14px;display:flex}.message--user{align-items:flex-end}.message--assistant{align-items:flex-start}.message-bubble{border-radius:16px;max-width:78%;padding:11px 15px;font-size:.88rem;line-height:1.55}.message--user .message-bubble{background:var(--user-bubble-bg);border:1px solid var(--user-bubble-border);border-bottom-right-radius:4px}.message--assistant .message-bubble{background:var(--surface);border:1px solid var(--border);border-bottom-left-radius:4px}.message-label{color:var(--text-muted);padding:0 4px;font-size:.68rem}.message--assistant .message-bubble p{margin-bottom:6px;line-height:1.6}.message--assistant .message-bubble p:last-child{margin-bottom:0}.message--assistant .message-bubble h1,.message--assistant .message-bubble h2,.message--assistant .message-bubble h3{margin:10px 0 6px;font-size:.95rem;font-weight:700}.message--assistant .message-bubble ul,.message--assistant .message-bubble ol{flex-direction:column;gap:4px;margin:6px 0;padding-left:18px;display:flex}.message--assistant .message-bubble ul li{list-style:outside}.message--assistant .message-bubble ol li{list-style:decimal}.message--assistant .message-bubble strong{font-weight:700}.message--assistant .message-bubble em{color:var(--text-muted);font-style:italic}.message--assistant .message-bubble code{background:var(--surface-2);border:1px solid var(--border);color:var(--accent-light);border-radius:4px;padding:1px 6px;font-family:monospace;font-size:.82em}.message--assistant .message-bubble pre{background:var(--bg);border:1px solid var(--border);border-radius:8px;margin:8px 0;padding:12px 14px;overflow-x:auto}.message--assistant .message-bubble pre code{color:var(--text);background:0 0;border:none;padding:0}.message--assistant .message-bubble blockquote{border-left:3px solid var(--accent);color:var(--text-muted);margin:6px 0;padding-left:12px;font-style:italic}.message--assistant .message-bubble a{color:var(--accent-light);text-decoration:underline}.message--assistant .message-bubble table{border-collapse:collapse;width:100%;margin:8px 0;font-size:.82rem}.message--assistant .message-bubble th,.message--assistant .message-bubble td{border:1px solid var(--border);padding:6px 10px}.message--assistant .message-bubble th{background:var(--surface-2);font-weight:600}.chat-footer{border-top:1px solid var(--border);flex-direction:column;flex-shrink:0;align-items:center;gap:10px;padding:16px 24px 28px;display:flex}.chat-error{color:var(--danger);font-size:.78rem}.vad-status{align-items:center;gap:8px;display:flex}.vad-dot{border-radius:50%;flex-shrink:0;width:8px;height:8px;transition:background .3s}.vad-dot--idle{background:var(--border)}.vad-dot--listening{background:var(--accent-light);animation:2s ease-in-out infinite blink}.vad-dot--recording{background:var(--danger);animation:.6s ease-in-out infinite blink}.vad-dot--processing{background:#f59e0b;animation:1s ease-in-out infinite blink}.vad-dot--speaking{background:var(--success);animation:1.2s ease-in-out infinite blink}@keyframes blink{0%,to{opacity:1}50%{opacity:.3}}.chat-status{color:var(--text-muted);font-size:.8rem}.waveform{opacity:0;align-items:center;gap:3px;height:36px;transition:opacity .3s;display:flex}.waveform--active{opacity:1}.wave-bar{border-radius:2px;width:3px;min-height:3px;transition:height 60ms}.wave-bar--listening{background:var(--accent-light);opacity:.5}.wave-bar--recording{background:var(--danger)}.wave-bar--processing{background:#f59e0b}.wave-bar--speaking{background:var(--success)}.wave-bar--idle{background:var(--border)}.main-btn{cursor:pointer;border:none;border-radius:50%;justify-content:center;align-items:center;width:72px;height:72px;transition:all .25s;display:flex;position:relative}.main-btn svg{width:28px;height:28px}.main-btn--idle{background:var(--accent);color:#fff;box-shadow:0 0 #7c3aed66}.main-btn--idle:hover{background:#6d28d9;transform:scale(1.05)}.main-btn--listening{background:var(--surface-2);color:var(--accent-light);border:2px solid var(--accent-light);animation:2.5s ease-in-out infinite ring-pulse;box-shadow:0 0 20px #a78bfa26}.main-btn--recording{background:var(--danger);color:#fff;animation:.8s ease-in-out infinite ring-pulse-red}.main-btn--processing{background:var(--surface-2);color:var(--text-muted);cursor:not-allowed}.main-btn--speaking{background:var(--speaking-bg);color:var(--speaking-color);border:2px solid var(--speaking-border);animation:1.5s ease-in-out infinite ring-pulse-green}@keyframes ring-pulse{0%,to{box-shadow:0 0 #a78bfa66}50%{box-shadow:0 0 0 14px #a78bfa00}}@keyframes ring-pulse-red{0%,to{box-shadow:0 0 #ef444480}50%{box-shadow:0 0 0 14px #ef444400}}@keyframes ring-pulse-green{0%,to{box-shadow:0 0 #34d39966}50%{box-shadow:0 0 0 14px #34d39900}}.footer-hint{color:var(--border);font-size:.72rem}@media (width<=767px){.chat-header{padding:14px 16px 12px}.chat-header h2{font-size:.9rem}.chat-messages{padding:14px 16px}.chat-footer{padding:12px 16px 20px}.message-bubble{max-width:90%}.main-btn{width:64px;height:64px}.main-btn svg{width:24px;height:24px}}.spinner{border:2px solid #ffffff4d;border-top-color:#fff;border-radius:50%;width:24px;height:24px;animation:.7s linear infinite spin;display:inline-block}.docs-page{scrollbar-width:thin;scrollbar-color:var(--border) transparent;flex-direction:column;gap:20px;height:100%;padding:24px;display:flex;overflow-y:auto}.docs-header h2{font-size:1.05rem;font-weight:600}.docs-subtitle{color:var(--text-muted);margin-top:4px;font-size:.78rem}.docs-msg{border-radius:8px;padding:10px 16px;font-size:.83rem}.docs-msg--success{color:var(--success);background:#22c55e1a;border:1px solid #22c55e4d}.docs-msg--error{color:var(--danger);background:#ef444414;border:1px solid #ef444433}.docs-tabs{gap:8px;display:flex}.tab-btn{border:1px solid var(--border);color:var(--text-muted);cursor:pointer;background:0 0;border-radius:8px;align-items:center;gap:8px;padding:8px 16px;font-size:.83rem;transition:all .15s;display:flex}.tab-btn svg{width:16px;height:16px}.tab-btn:hover{background:var(--surface-2);color:var(--text)}.tab-btn--active{background:var(--surface-2);color:var(--text);border-color:var(--accent)}.drop-zone{border:2px dashed var(--border);cursor:pointer;color:var(--text-muted);background:var(--surface);border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:10px;min-height:160px;padding:40px 24px;transition:all .2s;display:flex}.drop-zone svg{width:36px;height:36px}.drop-zone p{font-size:.88rem}.drop-zone p span{color:var(--accent-light);text-decoration:underline}.drop-zone small{color:var(--border);font-size:.73rem}.drop-zone--dragging{border-color:var(--accent);color:var(--text);background:#7c3aed0f}.drop-zone--loading{cursor:not-allowed}.url-form{flex-direction:column;gap:10px;display:flex}.url-input-wrap{gap:10px;display:flex}.url-input-wrap input{background:var(--surface);border:1px solid var(--border);color:var(--text);border-radius:8px;outline:none;flex:1;padding:10px 14px;font-size:.88rem;transition:border-color .15s}.url-input-wrap input:focus{border-color:var(--accent-light)}.url-input-wrap input::placeholder{color:var(--text-muted)}.url-btn{background:var(--accent);color:#fff;cursor:pointer;border:none;border-radius:8px;justify-content:center;align-items:center;min-width:80px;padding:10px 20px;font-size:.88rem;font-weight:600;transition:background .15s;display:flex}.url-btn:hover:not(:disabled){background:#6d28d9}.url-btn:disabled{opacity:.5;cursor:not-allowed}.url-hint{color:var(--text-muted);font-size:.75rem}.drop-spinner,.mini-spinner{border:2px solid var(--border);border-top-color:var(--accent-light);border-radius:50%;width:20px;height:20px;animation:.7s linear infinite spin;display:inline-block}.mini-spinner{width:14px;height:14px}.docs-list-wrap{flex-direction:column;gap:10px;display:flex}.docs-list-wrap h3{color:var(--text-muted);font-size:.85rem;font-weight:600}.docs-empty{color:var(--text-muted);padding:16px 0;font-size:.82rem}.docs-list{flex-direction:column;gap:8px;display:flex}.doc-item{background:var(--surface);border:1px solid var(--border);border-radius:10px;align-items:center;gap:12px;padding:12px 14px;transition:border-color .15s;display:flex}.doc-item:hover{border-color:var(--surface-2)}.doc-icon{color:var(--text-muted);flex-shrink:0}.doc-icon svg{width:20px;height:20px}.doc-info{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.doc-name{white-space:nowrap;text-overflow:ellipsis;font-size:.85rem;overflow:hidden}.doc-meta{color:var(--text-muted);align-items:center;gap:8px;font-size:.72rem;display:flex}.doc-type{letter-spacing:.05em;border-radius:4px;padding:1px 6px;font-size:.65rem;font-weight:700}.doc-type--pdf{color:#f87171;background:#ef444426}.doc-type--url{color:var(--accent-light);background:#7c3aed26}.doc-delete{cursor:pointer;color:var(--text-muted);background:0 0;border:none;border-radius:6px;flex-shrink:0;align-items:center;padding:6px;transition:all .15s;display:flex}.doc-delete svg{width:16px;height:16px}.doc-delete:hover:not(:disabled){color:var(--danger);background:#ef44441a}.doc-delete:disabled{opacity:.5;cursor:not-allowed}@media (width<=767px){.docs-page{gap:14px;padding:16px}.url-input-wrap{flex-direction:column}.url-btn{width:100%}.drop-zone{padding:28px 16px}}.admin-page{scrollbar-width:thin;scrollbar-color:var(--border) transparent;flex-direction:column;gap:20px;height:100%;padding:24px;display:flex;overflow-y:auto}.admin-header h2{font-size:1.05rem;font-weight:600}.admin-subtitle{color:var(--text-muted);margin-top:4px;font-size:.78rem}.admin-msg{border-radius:8px;padding:10px 16px;font-size:.83rem}.admin-msg--success{color:var(--success);background:#22c55e1a;border:1px solid #22c55e4d}.admin-msg--error{color:var(--danger);background:#ef444414;border:1px solid #ef444433}.admin-grid{grid-template-columns:320px 1fr;align-items:start;gap:20px;display:grid}.admin-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:20px}.admin-card h3{color:var(--text-muted);margin-bottom:16px;font-size:.85rem;font-weight:600}.admin-form{flex-direction:column;gap:14px;display:flex}.form-group{flex-direction:column;gap:6px;display:flex}.form-group label{color:var(--text-muted);font-size:.78rem;font-weight:500}.form-group input{background:var(--surface-2);border:1px solid var(--border);color:var(--text);border-radius:8px;outline:none;padding:9px 13px;font-size:.875rem;transition:border-color .15s}.form-group input:focus{border-color:var(--accent-light)}.form-group input::placeholder{color:var(--text-muted)}.role-select{gap:8px;display:flex}.role-btn{border:1px solid var(--border);color:var(--text-muted);cursor:pointer;background:0 0;border-radius:8px;flex:1;justify-content:center;align-items:center;gap:6px;padding:8px 12px;font-size:.82rem;transition:all .15s;display:flex}.role-btn svg{width:15px;height:15px}.role-btn:hover{background:var(--surface-2);color:var(--text)}.role-btn--active{background:var(--surface-2);color:var(--text);border-color:var(--accent)}.role-btn--admin{border-color:var(--accent-light);color:var(--accent-light)}.create-btn{background:var(--accent);color:#fff;cursor:pointer;border:none;border-radius:8px;justify-content:center;align-items:center;height:40px;padding:10px;font-size:.875rem;font-weight:600;transition:background .15s;display:flex}.create-btn:hover:not(:disabled){background:#6d28d9}.create-btn:disabled{opacity:.6;cursor:not-allowed}.admin-card--list{min-height:200px}.users-list{flex-direction:column;gap:8px;display:flex}.user-row{border:1px solid var(--surface-2);background:var(--bg);border-radius:8px;align-items:center;gap:10px;padding:10px 12px;transition:border-color .15s;display:flex}.user-row:hover{border-color:var(--border)}.user-row-avatar{background:var(--accent);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;font-size:.8rem;font-weight:700;display:flex}.user-row-info{flex:1;align-items:center;gap:8px;min-width:0;display:flex}.user-row-name{font-size:.85rem;font-weight:500}.user-role-badge{letter-spacing:.05em;text-transform:uppercase;border-radius:4px;padding:2px 7px;font-size:.65rem;font-weight:700}.user-role-badge--admin{color:var(--accent-light);background:#a78bfa26}.user-role-badge--user{background:var(--surface-2);color:var(--text-muted)}.user-row-date{color:var(--text-muted);flex-shrink:0;font-size:.72rem}.user-delete-btn{cursor:pointer;color:var(--text-muted);background:0 0;border:none;border-radius:6px;flex-shrink:0;align-items:center;padding:5px;transition:all .15s;display:flex}.user-delete-btn svg{width:15px;height:15px}.user-delete-btn:hover:not(:disabled){color:var(--danger);background:#ef44441a}.user-delete-btn:disabled{opacity:.5;cursor:not-allowed}.mini-spinner{border:2px solid #ffffff4d;border-top-color:#fff;border-radius:50%;width:14px;height:14px;animation:.7s linear infinite spin;display:inline-block}@media (width<=767px){.admin-page{gap:14px;padding:16px}.admin-grid{grid-template-columns:1fr}}
