/*! 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-border-style:solid;--tw-font-weight: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;--spacing:.25rem;--font-weight-medium:500;--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{.visible{visibility:visible}.absolute{position:absolute}.relative{position:relative}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.table{display:table}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.resize{resize:both}.border{border-style:var(--tw-border-style);border-width:1px}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.blur{--tw-blur:blur(8px);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,)}.delay-1{transition-delay:1ms}.delay-2{transition-delay:2ms}.delay-3{transition-delay:3ms}}*{box-sizing:border-box;margin:0;padding:0}body{-webkit-font-smoothing:antialiased;color:#1e293b;background:#f5f3ff;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,sans-serif}.login-container{min-height:100vh;display:flex}.login-brand{background:linear-gradient(135deg,#6d28d9 0%,#4c1d95 40%,#3b0764 100%);flex-direction:column;flex:1;justify-content:center;align-items:center;padding:3rem;display:flex;position:relative;overflow:hidden}.login-brand:before{content:"";background:radial-gradient(circle at 20% 80%,#ffffff0f 0%,#0000 50%),radial-gradient(circle at 80% 20%,#ffffff0a 0%,#0000 50%);position:absolute;inset:0}.login-brand:after{content:"";opacity:.03;background-image:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M24 8h12v16h16v12H36v16H24V36H8V24h16V8z' fill='%23fff' fill-opacity='1'/%3E%3C/svg%3E");background-size:80px 80px;position:absolute;inset:0}.brand-content{z-index:1;text-align:center;animation:.8s ease-out fadeInUp;position:relative}.brand-logo{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff1f;border:1px solid #ffffff26;border-radius:50%;justify-content:center;align-items:center;width:120px;height:120px;margin:0 auto 2rem;display:flex;box-shadow:0 8px 32px #0003}.brand-logo span{color:#fff;font-size:2rem;font-weight:700}.brand-title{color:#fff;letter-spacing:-.025em;text-shadow:0 2px 10px #0003;margin-bottom:.75rem;font-size:2rem;font-weight:700}.brand-subtitle{color:#ffffffb3;max-width:280px;margin:0 auto;font-size:1.05rem;line-height:1.5}.brand-features{text-align:left;flex-direction:column;gap:1rem;margin-top:3rem;display:flex}.brand-feature{color:#fffc;align-items:center;gap:.75rem;font-size:.9rem;display:flex}.brand-feature-icon{background:#ffffff1a;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;display:flex}.login-form-panel{background:#f8fafc;flex:1;justify-content:center;align-items:center;padding:2rem;display:flex;position:relative}.login-form-wrapper{z-index:1;width:100%;max-width:420px;animation:.6s ease-out .15s both fadeInUp;position:relative}.login-greeting h2{color:#1e293b;margin-bottom:.375rem;font-size:1.75rem;font-weight:700}.login-greeting p{color:#64748b;margin-bottom:2rem;font-size:.95rem}.login-card{background:#fff;border:1px solid #e2e8f0cc;border-radius:1.25rem;padding:2.25rem;box-shadow:0 1px 3px #0000000a,0 6px 24px #0000000f}.login-field{margin-bottom:1.25rem}.login-label{color:#475569;margin-bottom:.5rem;font-size:.85rem;font-weight:600;display:block}.login-input-wrapper{align-items:center;display:flex;position:relative}.login-input-wrapper .input-icon{color:#94a3b8;pointer-events:none;position:absolute;left:14px}.login-input{color:#1e293b;background:#f8fafc;border:1.5px solid #e2e8f0;border-radius:.75rem;outline:none;width:100%;padding:.8rem 1rem .8rem 2.75rem;font-size:.95rem;transition:all .25s}.login-input:focus{background:#fff;border-color:#6d28d9;transform:translateY(-1px);box-shadow:0 0 0 4px #6d28d914}.login-options{color:#64748b;cursor:pointer;align-items:center;gap:.5rem;margin-bottom:1.5rem;font-size:.875rem;display:flex}.login-options input{accent-color:#6d28d9;cursor:pointer;width:16px;height:16px}.login-submit{color:#fff;cursor:pointer;background:linear-gradient(135deg,#6d28d9 0%,#8b5cf6 100%);border:none;border-radius:.75rem;justify-content:center;align-items:center;gap:.5rem;width:100%;padding:.85rem 1.5rem;font-size:1rem;font-weight:600;transition:all .25s;display:flex;box-shadow:0 4px 12px #6d28d94d}.login-submit:hover{transform:translateY(-2px);box-shadow:0 6px 20px #6d28d966}.login-submit:active{transform:translateY(0)scale(.98)}.login-submit:disabled{opacity:.85;pointer-events:none}.toggle-password{cursor:pointer;color:#94a3b8;background:0 0;border:none;border-radius:6px;align-items:center;padding:4px;display:flex;position:absolute;right:12px}.toggle-password:hover{color:#64748b}.app-layout{background:#f5f3ff;height:100vh;display:flex}.app-main{flex:1;margin-left:80px;overflow:auto}.sidebar{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:40;background:#fffffff2;border-right:1px solid #e4e0ee;flex-direction:column;align-items:center;width:80px;height:100vh;padding:1.5rem 0;display:flex;position:fixed;top:0;left:0}.sidebar-logo{background:linear-gradient(135deg,#6d28d9,#8b5cf6);border-radius:12px;justify-content:center;align-items:center;width:44px;height:44px;margin-bottom:1.5rem;display:flex;box-shadow:0 4px 12px #6d28d94d}.sidebar-logo span{color:#fff;font-size:.8rem;font-weight:700}.sidebar-nav{flex-direction:column;flex:1;align-items:center;gap:.5rem;width:100%;padding:0 4px;display:flex}.sidebar-item{color:#64748b;cursor:pointer;text-align:center;background:0 0;border:none;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;width:72px;padding:.75rem .25rem;font-size:.7rem;font-weight:500;transition:all .2s;display:flex}.sidebar-item:hover{color:#6d28d9;background:#6d28d912}.sidebar-item.active{color:#6d28d9;background:#6d28d91a;box-shadow:inset 0 0 0 1px #6d28d91a}.sidebar-item span{margin-top:6px;line-height:1.2}.sidebar-item.logout:hover{color:#dc2626;background:#fef2f2}.sidebar-footer{flex-direction:column;align-items:center;gap:12px;margin-top:1rem;display:flex}.sidebar-avatar{color:#fff;background:linear-gradient(135deg,#6d28d9,#8b5cf6);border-radius:50%;justify-content:center;align-items:center;width:36px;height:36px;font-size:.75rem;font-weight:700;display:flex}.page-header{justify-content:space-between;align-items:center;margin-bottom:2rem;display:flex}.page-title{background:#fff;border:1px solid #e4e0ee;border-radius:.75rem;padding:.7rem 1.25rem;box-shadow:0 1px 3px #0000000d}.page-title h1{font-size:1.25rem;font-weight:700}.header-pill{color:#64748b;background:#fff;border:1px solid #e4e0ee;border-radius:99px;align-items:center;gap:.5rem;padding:.375rem .75rem;font-size:.875rem;font-weight:500;display:flex;box-shadow:0 1px 3px #0000000d}.btn-primary{color:#fff;cursor:pointer;background:linear-gradient(135deg,#6d28d9 0%,#8b5cf6 100%);border:none;border-radius:.75rem;align-items:center;gap:.5rem;height:42px;padding:0 1.25rem;font-size:.9rem;font-weight:600;transition:all .2s;display:inline-flex;box-shadow:0 4px 6px -1px #0000000f}.btn-primary:hover{background:linear-gradient(135deg,#5b21b6 0%,#6d28d9 100%);transform:translateY(-1px)}.btn-primary:active{transform:scale(.98)}.glass-card{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#fffffff2;border:1px solid #e4e0ee;border-radius:1rem;transition:transform .15s,box-shadow .15s;box-shadow:0 4px 6px -1px #0000000f,0 2px 4px -1px #00000008}.glass-card:hover{transform:translateY(-2px);box-shadow:0 10px 15px -3px #00000012,0 4px 6px -2px #00000008}.stat-card{padding:1.25rem}.stat-card-header{justify-content:space-between;align-items:center;margin-bottom:.75rem;display:flex}.stat-icon{color:#6d28d9;background:#6d28d912;border-radius:12px;justify-content:center;align-items:center;width:40px;height:40px;display:flex}.stat-value{color:#1e293b;font-size:1.5rem;font-weight:700}.stat-label{color:#64748b;margin-top:.25rem;font-size:.85rem}.chip{border-radius:99px;padding:.25rem .75rem;font-size:.75rem;font-weight:600;display:inline-block}.chip-success{color:#166534;background:#dcfce7}.chip-info{color:#1e40af;background:#dbeafe}.chip-warning{color:#92400e;background:#fef3c7}.chip-default{color:#64748b;background:#f1f5f9}.data-table{border-collapse:separate;border-spacing:0;width:100%}.data-table thead th{text-transform:uppercase;letter-spacing:.05em;color:#64748b;text-align:left;background:#f8fafc;border-bottom:1px solid #e4e0ee;padding:.75rem 1.5rem;font-size:.8rem;font-weight:600}.data-table tbody td{vertical-align:middle;border-bottom:1px solid #e4e0ee;padding:1rem 1.5rem;font-size:.9rem}.data-table tbody tr:hover{background:#6d28d908}.table-header{border-bottom:1px solid #e4e0ee;justify-content:space-between;align-items:center;padding:1rem 1.5rem;display:flex}.table-header h2{font-size:.95rem;font-weight:600}.search-input{color:#1e293b;background:#fff;border:1px solid #e4e0ee;border-radius:.75rem;outline:none;width:100%;max-width:320px;padding:.75rem 1rem .75rem 2.5rem;font-size:.95rem;transition:all .2s}.search-input:focus{border-color:#6d28d9;box-shadow:0 0 0 4px #6d28d912}.search-input::placeholder{color:#94a3b8}.avatar-sm{color:#6d28d9;background:#6d28d912;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;font-size:.75rem;font-weight:700;display:flex}.btn-action{cursor:pointer;background:0 0;border:none;border-radius:8px;align-items:center;gap:.375rem;height:32px;padding:0 .75rem;font-size:.8rem;font-weight:500;transition:all .2s;display:inline-flex}.btn-action-primary{color:#6d28d9}.btn-action-primary:hover{background:#6d28d912}.btn-action-muted{color:#64748b}.btn-action-muted:hover{background:#f1f5f9}.btn-icon{color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:8px;align-items:center;padding:4px;transition:all .2s;display:flex}.btn-icon:hover{color:#1e293b;background:#f1f5f9}@keyframes fadeInUp{0%{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}@keyframes spin{to{transform:rotate(360deg)}}.animate-fade-in{animation:.4s ease-out both fadeInUp}.delay-1{animation-delay:.1s}.delay-2{animation-delay:.2s}.delay-3{animation-delay:.3s}.text-muted{color:#64748b}.text-mono{font-family:SF Mono,Fira Code,monospace}.font-medium{font-weight:500}.demo-banner{color:#6d28d9;text-align:center;background:linear-gradient(135deg,#6d28d90f,#6d28d905);border:1px solid #6d28d91a;border-radius:.75rem;margin:1.5rem 2.5rem 0;padding:.625rem 1.25rem;font-size:.8rem}.demo-banner strong{font-weight:700}.brand-badge{color:#fff9;background:#ffffff14;border-radius:99px;margin-top:3rem;padding:.5rem 1rem;font-size:.8rem;display:inline-block}.brand-badge strong{color:#ffffffe6}.demo-notice{color:#92400e;text-align:center;background:#fffbeb;border:1px solid #fde68a;border-radius:.75rem;margin-bottom:1.5rem;padding:.75rem 1rem;font-size:.8rem}.spinner-sm{border:2.5px solid #ffffff4d;border-top-color:#fff;border-radius:50%;width:20px;height:20px;animation:.7s linear infinite spin;display:inline-block}.activity-list{flex-direction:column;gap:1rem;padding:1rem 1.5rem;display:flex}.activity-item{align-items:flex-start;gap:.75rem;display:flex}.activity-dot{border-radius:50%;flex-shrink:0;width:8px;height:8px;margin-top:6px}.activity-dot.success{background:#10b981}.activity-dot.info{background:#3b82f6}.activity-dot.default{background:#94a3b8}.activity-text{color:#1e293b;font-size:.85rem;line-height:1.4}.activity-time{color:#94a3b8;margin-top:2px;font-size:.75rem}.progress-section{border-top:1px solid #e4e0ee;padding:1rem 1.5rem 1.5rem}.progress-title{color:#64748b;text-transform:uppercase;letter-spacing:.05em;margin-bottom:.75rem;font-size:.8rem;font-weight:600}.progress-bar-container{background:#f1f5f9;border-radius:99px;height:8px;margin-bottom:.5rem;overflow:hidden}.progress-bar{background:linear-gradient(135deg,#6d28d9,#8b5cf6);border-radius:99px;height:100%;transition:width .5s}.progress-labels{color:#94a3b8;justify-content:space-between;font-size:.7rem;display:flex}.nota-indicator{color:#6d28d9;cursor:help;margin-left:4px;font-weight:700}.btn-action-danger{color:#dc2626;font-size:1.1rem;font-weight:700}.btn-action-danger:hover{background:#fef2f2}.chart-bars{justify-content:space-around;align-items:flex-end;gap:1rem;height:180px;padding-top:1rem;display:flex}.chart-bar-group{flex-direction:column;flex:1;align-items:center;gap:.5rem;display:flex}.chart-bar-track{background:#f1f0fb;border-radius:8px;align-items:flex-end;width:100%;max-width:48px;height:140px;display:flex;overflow:hidden}.chart-bar{background:linear-gradient(#6d28d9,#8b5cf6);border-radius:8px 8px 0 0;width:100%;min-height:8px;transition:height .5s}.chart-bar.secondary{background:linear-gradient(#10b981,#34d399)}.chart-bar-value{color:#1e293b;font-size:.75rem;font-weight:600}.chart-bar-label{color:#94a3b8;font-size:.7rem;font-weight:500}.ranking-item{border-bottom:1px solid #f1f0fb;align-items:center;gap:1rem;padding:.75rem 0;display:flex}.ranking-item:last-child{border-bottom:none}.ranking-info{min-width:180px}.ranking-name{color:#1e293b;font-size:.85rem;font-weight:500;display:block}.ranking-bar-track{background:#f1f0fb;border-radius:99px;flex:1;height:6px;overflow:hidden}.ranking-bar{background:linear-gradient(90deg,#6d28d9,#8b5cf6);border-radius:99px;height:100%;transition:width .5s}.ranking-pct{color:#6d28d9;text-align:right;min-width:36px;font-size:.8rem;font-weight:600}.wiki-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.25rem;display:grid}.wiki-card{cursor:pointer;padding:1.5rem}.wiki-card-title{color:#1e293b;margin-bottom:.5rem;font-size:1rem;font-weight:600}.wiki-card-preview{color:#64748b;margin-bottom:1rem;font-size:.85rem;line-height:1.6}.wiki-card-meta{color:#94a3b8;gap:1rem;font-size:.75rem;display:flex}.wiki-card-meta span{align-items:center;gap:4px;display:flex}.chip-danger{color:#991b1b;background:#fee2e2}.toast-container{z-index:1000;animation:.3s ease-out slideInRight;position:fixed;top:24px;right:24px}.toast{background:#fff;border:1px solid #e4e0ee;border-radius:.75rem;align-items:center;gap:.75rem;min-width:300px;padding:.875rem 1.25rem;font-size:.875rem;font-weight:500;display:flex;box-shadow:0 10px 25px #0000001f}.toast-success{color:#065f46;border-left:3px solid #10b981}.toast-error{color:#991b1b;border-left:3px solid #ef4444}.toast-close{cursor:pointer;color:#94a3b8;background:0 0;border:none;border-radius:4px;margin-left:auto;padding:2px;display:flex}.toast-close:hover{color:#64748b}@keyframes slideInRight{0%{opacity:0;transform:translate(100px)}to{opacity:1;transform:translate(0)}}.modal-backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:100;background:#0006;justify-content:center;align-items:center;animation:.2s ease-out fadeIn;display:flex;position:fixed;inset:0}.modal-content{background:#fff;border-radius:1.25rem;width:100%;max-width:560px;animation:.3s ease-out slideUp;box-shadow:0 20px 60px #00000026}.modal-header{border-bottom:1px solid #e4e0ee;justify-content:space-between;align-items:center;padding:1.25rem 1.5rem;display:flex}.modal-header h3{font-size:1.1rem;font-weight:700}.modal-body{padding:1.5rem}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}.form-grid{grid-template-columns:1fr 1fr;gap:1rem;display:grid}.form-field{flex-direction:column;display:flex}.form-field.full{grid-column:1/-1}.form-label{color:#475569;margin-bottom:.5rem;font-size:.85rem;font-weight:600}.form-input{color:#1e293b;background:#fff;border:1px solid #e4e0ee;border-radius:.75rem;outline:none;width:100%;padding:.75rem 1rem;font-family:inherit;font-size:.95rem;transition:all .2s}.form-input:focus{border-color:#6d28d9;box-shadow:0 0 0 4px #6d28d912}.form-actions{grid-column:1/-1;justify-content:flex-end;gap:.75rem;margin-top:.5rem;display:flex}.btn-secondary{color:#1e293b;cursor:pointer;background:#fff;border:1px solid #e4e0ee;border-radius:.75rem;align-items:center;gap:.5rem;height:42px;padding:0 1.25rem;font-size:.9rem;font-weight:600;transition:all .2s;display:inline-flex}.btn-secondary:hover{background:#f8fafc;border-color:#cbd5e1}.filter-tabs{gap:.5rem;margin-bottom:1.5rem;display:flex}.filter-tab{color:#64748b;cursor:pointer;background:#fff;border:1px solid #e4e0ee;border-radius:99px;align-items:center;gap:.5rem;padding:.5rem 1rem;font-size:.8rem;font-weight:500;transition:all .2s;display:flex}.filter-tab:hover{color:#6d28d9;border-color:#6d28d9}.filter-tab.active{color:#fff;background:#6d28d9;border-color:#6d28d9}.filter-tab.active .filter-count{color:#fff;background:#fff3}.filter-count{color:#64748b;background:#f1f5f9;border-radius:99px;padding:.1rem .5rem;font-size:.7rem;font-weight:600}.estado-dropdown{z-index:50;background:#fff;border:1px solid #e4e0ee;border-radius:.75rem;min-width:160px;margin-top:4px;padding:.375rem;animation:.15s ease-out fadeIn;position:absolute;top:100%;left:0;box-shadow:0 10px 25px #0000001a}.estado-option{color:#1e293b;cursor:pointer;background:0 0;border:none;border-radius:.5rem;align-items:center;gap:.5rem;width:100%;padding:.5rem .75rem;font-size:.8rem;font-weight:500;transition:background .15s;display:flex}.estado-option:hover{background:#f1f5f9}.estado-option.current{color:#6d28d9;background:#6d28d912;font-weight:600}.estado-dot{border-radius:50%;width:8px;height:8px}.estado-dot.pendiente{background:#94a3b8}.estado-dot.en-espera{background:#f59e0b}.estado-dot.en-curso{background:#3b82f6}.estado-dot.atendido{background:#10b981}.estado-dot.ausente{background:#ef4444}.btn-back{cursor:pointer;color:#64748b;background:#fff;border:1px solid #e4e0ee;border-radius:.75rem;justify-content:center;align-items:center;width:42px;height:42px;transition:all .2s;display:flex;box-shadow:0 1px 3px #0000000d}.btn-back:hover{color:#6d28d9;border-color:#6d28d9}.patient-layout{grid-template-columns:320px 1fr;align-items:start;gap:1.5rem;display:grid}.patient-info-card{text-align:center;padding:2rem}.patient-avatar-lg{color:#fff;background:linear-gradient(135deg,#6d28d9,#8b5cf6);border-radius:50%;justify-content:center;align-items:center;width:72px;height:72px;margin:0 auto 1rem;font-size:1.5rem;font-weight:700;display:flex}.patient-name{margin-bottom:.5rem;font-size:1.15rem;font-weight:700}.patient-fields{text-align:left;flex-direction:column;gap:1rem;display:flex}.patient-field{align-items:flex-start;gap:.75rem;display:flex}.field-icon{color:#6d28d9;flex-shrink:0;margin-top:2px}.field-label{text-transform:uppercase;letter-spacing:.05em;color:#94a3b8;margin-bottom:2px;font-size:.7rem;font-weight:600;display:block}.field-value{color:#1e293b;font-size:.875rem}.patient-historia{min-width:0}.historia-timeline{flex-direction:column;gap:0;padding:1.5rem;display:flex}.historia-entry{gap:1rem;padding-bottom:1.5rem;display:flex;position:relative}.historia-entry:last-child{padding-bottom:0}.historia-entry:before{content:"";background:#e4e0ee;width:1px;position:absolute;top:14px;bottom:0;left:5px}.historia-entry:last-child:before{display:none}.historia-dot{z-index:1;background:#6d28d9;border-radius:50%;flex-shrink:0;width:11px;height:11px;margin-top:4px;position:relative;box-shadow:0 0 0 3px #6d28d926}.historia-card{background:#f8fafc;border:1px solid #e4e0ee;border-radius:.75rem;flex:1;padding:1rem 1.25rem}.historia-header{justify-content:space-between;align-items:flex-start;margin-bottom:.5rem;display:flex}.historia-tipo{color:#1e293b;font-size:.9rem;font-weight:600;display:block}.historia-meta{color:#94a3b8;margin-top:2px;font-size:.75rem;display:block}.historia-notas{color:#64748b;font-size:.85rem;line-height:1.6}@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-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{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}
