@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap";:root{--color-white: #FFFFFF;--color-gray-50: #F9FAFB;--color-gray-100: #F3F4F6;--color-gray-200: #E5E7EB;--color-gray-300: #D1D5DB;--color-gray-400: #9CA3AF;--color-gray-500: #6B7280;--color-gray-600: #4B5563;--color-gray-700: #374151;--color-gray-800: #1F2937;--color-gray-900: #111827;--color-black: #000000;--color-accent-50: #f0fdfa;--color-accent-100: #ccfbf1;--color-accent-200: #99f6e4;--color-accent-300: #5eead4;--color-accent-400: #2dd4bf;--color-accent-500: #14b8a6;--color-accent-600: #0d9488;--color-accent-700: #0f766e;--color-accent-800: #115e59;--color-accent-900: #134e4a;--color-success: #10B981;--color-warning: #F59E0B;--color-error: #EF4444;--font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;--font-weight-normal: 400;--font-weight-medium: 500;--font-weight-semibold: 600;--font-weight-bold: 700;--spacing-xs: .25rem;--spacing-sm: .5rem;--spacing-md: 1rem;--spacing-lg: 1.5rem;--spacing-xl: 2rem;--spacing-2xl: 3rem;--radius-sm: 4px;--radius-md: 8px;--radius-lg: 12px;--radius-xl: 16px;--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / .05);--shadow-md: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--transition-fast: .15s ease;--transition-normal: .2s ease;--transition-slow: .3s ease}[data-theme=dark]{--color-white: #1a1f2e;--color-gray-50: #111725;--color-gray-100: #1a1f2e;--color-gray-200: #2d3548;--color-gray-300: #404a60;--color-gray-400: #6b7a94;--color-gray-500: #9ca8bc;--color-gray-600: #cbd5e1;--color-gray-700: #e2e8f0;--color-gray-800: #f1f5f9;--color-gray-900: #f8fafc;--color-black: #FFFFFF;--color-accent-50: #0d2d2a;--color-accent-100: #134e4a;--color-accent-200: #115e59;--color-accent-700: #5eead4;--color-accent-800: #99f6e4;--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / .3);--shadow-md: 0 4px 6px -1px rgb(0 0 0 / .4), 0 2px 4px -2px rgb(0 0 0 / .3);--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .4), 0 4px 6px -4px rgb(0 0 0 / .3)}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html{font-size:16px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{font-family:var(--font-family);font-size:1rem;line-height:1.5;color:var(--color-gray-900);background-color:var(--color-gray-100)}h1,h2,h3,h4,h5,h6{font-weight:var(--font-weight-bold);line-height:1.2;color:var(--color-gray-900)}h1{font-size:2rem}h2{font-size:1.5rem}h3{font-size:1.25rem}h4{font-size:1rem}a{color:var(--color-gray-900);text-decoration:none}button{font-family:var(--font-family);cursor:pointer}input,select,textarea{font-family:var(--font-family);font-size:1rem}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:200px;gap:1rem}.loading-spinner{width:40px;height:40px;border:3px solid var(--color-gray-200);border-top-color:var(--color-accent-600);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.card{background-color:var(--color-white);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);border:1px solid var(--color-gray-200);transition:box-shadow .3s ease,transform .3s ease}.card-header{padding:1.5rem;border-bottom:1px solid var(--color-gray-200)}.card-body{padding:1.5rem}.card-footer{padding:1.5rem;border-top:1px solid var(--color-gray-200)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.75rem 1.5rem;font-size:.875rem;font-weight:var(--font-weight-semibold);border-radius:var(--radius-md);border:none;transition:all var(--transition-normal)}.btn-primary{background:linear-gradient(135deg,var(--color-accent-700) 0%,var(--color-accent-600) 100%);color:#fff;position:relative;overflow:hidden}.btn-primary:hover{background:linear-gradient(135deg,var(--color-accent-600) 0%,var(--color-accent-500) 100%);box-shadow:0 4px 12px #0f766e4d;transform:translateY(-1px)}.btn-primary:active{transform:translateY(0);box-shadow:none}.btn:after{content:"";position:absolute;inset:0;background:radial-gradient(circle at var(--ripple-x, 50%) var(--ripple-y, 50%),rgba(255,255,255,.3) 0%,transparent 70%);opacity:0;transition:opacity .4s ease;pointer-events:none}.btn:active:after{opacity:1;transition:opacity 0s}.btn-primary:disabled{background-color:var(--color-gray-400);cursor:not-allowed}.btn-secondary{background-color:var(--color-white);color:var(--color-gray-700);border:1px solid var(--color-gray-300)}.btn-secondary:hover{background-color:var(--color-gray-50);border-color:var(--color-gray-400)}.btn-sm{padding:.5rem 1rem;font-size:.75rem}.btn-lg{padding:1rem 2rem;font-size:1rem}.form-group{margin-bottom:1.5rem}.form-label{display:block;font-size:.875rem;font-weight:var(--font-weight-semibold);color:var(--color-gray-700);margin-bottom:.5rem}.form-input,.form-select,.form-textarea{width:100%;padding:.75rem 1rem;font-size:.875rem;border:1px solid var(--color-gray-300);border-radius:var(--radius-md);background-color:var(--color-white);transition:border-color var(--transition-normal),box-shadow var(--transition-normal)}.form-input:focus,.form-select:focus,.form-textarea:focus{outline:none;border-color:var(--color-accent-600);box-shadow:0 0 0 3px #0f766e26}.form-input:disabled,.form-select:disabled{background-color:var(--color-gray-100);cursor:not-allowed}.form-error{font-size:.75rem;color:var(--color-error);margin-top:.25rem}.form-hint{font-size:.75rem;color:var(--color-gray-500);margin-top:.25rem}.form-section{margin-bottom:2rem;padding-bottom:2rem;border-bottom:1px solid var(--color-gray-200)}.form-section:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0}.form-section-title{font-size:1rem;font-weight:var(--font-weight-bold);color:var(--color-gray-900);margin-bottom:1.5rem;padding-bottom:.5rem;border-bottom:2px solid var(--color-gray-900);display:inline-block}.form-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}.radio-group,.checkbox-group{display:flex;flex-wrap:wrap;gap:1rem}.radio-option,.checkbox-option{display:flex;align-items:center;gap:.5rem;cursor:pointer}.radio-option input,.checkbox-option input{width:18px;height:18px;accent-color:var(--color-gray-900)}.page-header{margin-bottom:2rem}.page-title{font-size:1.5rem;font-weight:var(--font-weight-bold);color:var(--color-gray-900);margin-bottom:.5rem}.page-subtitle{font-size:.875rem;color:var(--color-gray-500)}.table-container{overflow-x:auto}.table{width:100%;border-collapse:collapse}.table th,.table td{padding:.75rem 1rem;text-align:left;border-bottom:1px solid var(--color-gray-200)}.table th{font-size:.75rem;font-weight:var(--font-weight-semibold);color:var(--color-gray-500);text-transform:uppercase;letter-spacing:.05em;background-color:var(--color-gray-50)}.table tr:hover{background-color:var(--color-gray-50)}.badge{display:inline-flex;align-items:center;padding:.25rem .75rem;font-size:.75rem;font-weight:var(--font-weight-semibold);border-radius:9999px}.badge-default{background-color:var(--color-gray-100);color:var(--color-gray-700)}.badge-success{background-color:#d1fae5;color:#065f46}.badge-warning{background-color:#fef3c7;color:#92400e}.badge-error{background-color:#fee2e2;color:#991b1b}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem;text-align:center}.empty-state-icon{width:64px;height:64px;color:var(--color-gray-400);margin-bottom:1rem}.empty-state-title{font-size:1rem;font-weight:var(--font-weight-semibold);color:var(--color-gray-900);margin-bottom:.5rem}.empty-state-description{font-size:.875rem;color:var(--color-gray-500);max-width:300px}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.mb-1{margin-bottom:.25rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.text-center{text-align:center}.text-right{text-align:right}.flex-col{flex-direction:column}.justify-between{justify-content:space-between}.justify-end{justify-content:flex-end}.config-error-page{min-height:100vh;display:flex;align-items:center;justify-content:center;background-color:var(--color-gray-100);padding:2rem}.config-error-container{max-width:700px;width:100%;background:var(--color-white);border-radius:var(--radius-xl);padding:2.5rem;box-shadow:var(--shadow-lg)}.config-error-title{font-size:1.75rem;font-weight:700;color:var(--color-gray-900);margin-bottom:.5rem;text-align:center}.config-error-subtitle{font-size:1rem;color:var(--color-gray-500);text-align:center;margin-bottom:2rem}.config-steps{display:flex;flex-direction:column;gap:1.5rem}.config-step{display:flex;gap:1rem;align-items:flex-start}.step-number{display:flex;align-items:center;justify-content:center;width:32px;height:32px;background-color:var(--color-gray-900);color:var(--color-white);border-radius:50%;font-weight:700;font-size:.875rem;flex-shrink:0}.step-content{flex:1}.step-content h3{font-size:1rem;font-weight:600;color:var(--color-gray-900);margin-bottom:.25rem}.step-content p{font-size:.875rem;color:var(--color-gray-600);line-height:1.5}.step-content a{color:var(--color-gray-900);text-decoration:underline}.step-content code{background-color:var(--color-gray-100);padding:.125rem .375rem;border-radius:4px;font-size:.8125rem;font-family:Consolas,Monaco,monospace}.config-code{background-color:var(--color-gray-900);color:var(--color-gray-100);padding:1rem;border-radius:var(--radius-md);font-size:.75rem;overflow-x:auto;margin-top:.75rem;font-family:Consolas,Monaco,monospace;line-height:1.6}.theme-toggle{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border:none;background:transparent;color:var(--color-gray-600);border-radius:var(--radius-md);cursor:pointer;transition:all var(--transition-normal)}.theme-toggle:hover{background-color:var(--color-gray-200);color:var(--color-gray-900)}.header{display:flex;justify-content:space-between;align-items:center;padding:0 2rem;background:linear-gradient(180deg,var(--color-white) 0%,var(--color-gray-50) 100%);border-bottom:2px solid var(--color-accent-600);height:64px;position:fixed;top:0;left:0;right:0;z-index:100}.header-left{display:flex;align-items:center;gap:.75rem}.header-menu-btn{display:none;align-items:center;justify-content:center;width:40px;height:40px;border:none;background:transparent;color:var(--color-gray-700);cursor:pointer;border-radius:var(--radius-md);transition:all var(--transition-fast)}.header-menu-btn:hover{background-color:var(--color-gray-100)}.header-brand{display:flex;align-items:center;gap:.625rem}.header-logo{width:32px;height:32px;object-fit:contain}.header-title{font-size:1.25rem;font-weight:800;color:var(--color-gray-900);margin:0;letter-spacing:.02em}.header-project-name{font-weight:500;color:var(--color-accent-700)}.header-right{display:flex;align-items:center;gap:.75rem}.header-user{display:flex;align-items:center;gap:1rem}.header-user-info{display:flex;flex-direction:column;align-items:flex-end}.header-user-name{font-size:.875rem;font-weight:600;color:var(--color-gray-900)}.header-user-role{font-size:.7rem;color:var(--color-accent-700);text-transform:uppercase;letter-spacing:.06em;font-weight:600}.header-logout-btn{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border:1px solid var(--color-gray-200);border-radius:var(--radius-md);background:transparent;color:var(--color-gray-500);cursor:pointer;transition:all .2s ease}.header-logout-btn:hover{background-color:var(--color-gray-100);color:var(--color-error);border-color:var(--color-error)}@media(max-width:768px){.header{padding:0 1rem}.header-menu-btn{display:flex}.header-brand-text{flex-direction:column;align-items:flex-start;gap:0}.header-title{font-size:1.125rem}.header-subtitle{display:none}.header-logo{width:32px;height:32px}.header-user-info{display:none}}.sidebar{width:260px;min-width:260px;background-color:var(--color-white);border-right:1px solid var(--color-gray-200);height:calc(100vh - 64px);position:fixed;top:64px;left:0;display:flex;flex-direction:column;transition:width .3s cubic-bezier(.4,0,.2,1),min-width .3s cubic-bezier(.4,0,.2,1);overflow:hidden;z-index:30}.sidebar-close{display:none}.sidebar-nav{flex:1;padding:1.5rem 0;overflow-y:auto}.sidebar-section{margin-bottom:1.5rem}.sidebar-section-title{font-size:.75rem;font-weight:600;color:var(--color-gray-400);text-transform:uppercase;letter-spacing:.1em;padding:0 1.5rem;margin-bottom:.75rem;white-space:nowrap;overflow:hidden;transition:opacity .2s ease}.sidebar-menu{list-style:none;padding:0;margin:0}.sidebar-menu li{margin:0}.sidebar-link{display:flex;align-items:center;gap:.75rem;padding:.75rem 1.5rem;color:var(--color-gray-600);text-decoration:none;font-size:.875rem;font-weight:500;transition:all .2s ease;border-left:3px solid transparent;white-space:nowrap;position:relative}.sidebar-link:hover{background-color:var(--color-accent-50);color:var(--color-accent-800)}.sidebar-link:hover svg{color:var(--color-accent-700)}.sidebar-link.active{background-color:var(--color-accent-50);color:var(--color-accent-800);border-left-color:var(--color-accent-600);font-weight:600}.sidebar-link.active svg{color:var(--color-accent-700)}.sidebar-link svg{flex-shrink:0;transition:color .2s ease}.sidebar-link-text{transition:opacity .2s ease,width .2s ease}.sidebar-divider{height:1px;background-color:var(--color-gray-200);margin:1rem 1.5rem}.sidebar-footer{padding:1rem 1.5rem;border-top:1px solid var(--color-gray-200);display:flex;align-items:center;gap:.75rem;background-color:var(--color-gray-50);flex-shrink:0}.sidebar-footer-logo{width:32px;height:32px;object-fit:contain;flex-shrink:0}.sidebar-footer-text{display:flex;flex-direction:column;overflow:hidden;transition:opacity .2s ease}.sidebar-footer-dept{font-size:.75rem;font-weight:600;color:var(--color-gray-700);white-space:nowrap}.sidebar-footer-univ{font-size:.65rem;color:var(--color-gray-400);white-space:nowrap}.sidebar-collapse-btn{display:flex;align-items:center;justify-content:center;width:100%;padding:.75rem;border:none;border-top:1px solid var(--color-gray-200);background-color:var(--color-gray-50);cursor:pointer;color:var(--color-gray-500);transition:all .2s ease;flex-shrink:0}.sidebar-collapse-btn:hover{background-color:var(--color-gray-100);color:var(--color-gray-700)}.sidebar.sidebar-collapsed{width:64px;min-width:64px}.sidebar.sidebar-collapsed .sidebar-section-title{opacity:0;height:0;margin:0;padding:0;overflow:hidden}.sidebar.sidebar-collapsed .sidebar-link{padding:.75rem;justify-content:center}.sidebar.sidebar-collapsed .sidebar-link-text{opacity:0;width:0;overflow:hidden}.sidebar.sidebar-collapsed .sidebar-footer{padding:1rem .5rem;justify-content:center}.sidebar.sidebar-collapsed .sidebar-footer-text{opacity:0;width:0;overflow:hidden}.sidebar.sidebar-collapsed .sidebar-divider{margin:1rem .5rem}@media(max-width:768px){.sidebar{position:fixed;top:64px;left:0;bottom:0;height:auto;z-index:50;transform:translate(-100%);box-shadow:4px 0 6px -1px #0000001a;width:260px;min-width:260px}.sidebar.sidebar-open{transform:translate(0)}.sidebar-collapse-btn{display:none}.sidebar.sidebar-collapsed{width:260px;min-width:260px}.sidebar.sidebar-collapsed .sidebar-section-title,.sidebar.sidebar-collapsed .sidebar-link-text,.sidebar.sidebar-collapsed .sidebar-footer-text{opacity:1;width:auto;height:auto;margin-bottom:.75rem;padding:0 1.5rem}.sidebar.sidebar-collapsed .sidebar-link{padding:.75rem 1.5rem;justify-content:flex-start}.sidebar.sidebar-collapsed .sidebar-footer{padding:1rem 1.5rem;justify-content:flex-start}.sidebar-close{display:flex;position:absolute;top:1rem;right:1rem;align-items:center;justify-content:center;width:32px;height:32px;border:none;background:transparent;color:var(--color-gray-500);cursor:pointer;border-radius:var(--radius-md)}.sidebar-close:hover{background-color:var(--color-gray-100);color:var(--color-gray-900)}.sidebar-nav{padding-top:3rem}.sidebar-link{padding:1rem 1.5rem}}.main-layout{display:flex;flex-direction:column;min-height:100vh;background-color:var(--color-gray-100);padding-top:64px}.main-layout-body{display:flex;flex:1;min-height:calc(100vh - 64px);position:relative}.main-content{flex:1;padding:2rem;overflow-y:auto;background-color:var(--color-gray-100);margin-left:260px;transition:margin-left .3s ease}.main-layout.sidebar-collapsed .main-content{margin-left:64px}.sidebar-overlay{display:none}@media(max-width:768px){.main-content{padding:1rem;margin-left:0}.main-layout.sidebar-collapsed .main-content{margin-left:0}.sidebar-overlay{display:block;position:fixed;inset:64px 0 0;background-color:#00000080;z-index:40}.page-header{flex-direction:column;gap:1rem;align-items:flex-start!important}.page-title{font-size:1.5rem}.card{border-radius:var(--radius-md)}.card-body{padding:1rem}.form-row{flex-direction:column;gap:.75rem}.form-section{padding:1rem}.table-container{overflow-x:auto}.table th,.table td{padding:.5rem;font-size:.75rem}.action-buttons{flex-direction:column;gap:.25rem}.btn{padding:.625rem 1rem}.btn-sm{padding:.375rem .5rem;font-size:.75rem}.stats-grid{grid-template-columns:1fr 1fr}.role-options{grid-template-columns:1fr!important}.empty-state{padding:2rem 1rem}.empty-state-icon{width:48px;height:48px}}@media(max-width:480px){.main-content{padding:.75rem}.stats-grid{grid-template-columns:1fr}.page-title{font-size:1.25rem}}@media(max-width:768px){.form-section{background-color:var(--color-white);border-radius:var(--radius-lg);padding:1.25rem;margin-bottom:1rem;box-shadow:0 1px 3px #0000001a}.form-section-title{font-size:1rem;margin-bottom:1rem;padding-bottom:.75rem;border-bottom:1px solid var(--color-gray-200)}.card .card-body{background-color:transparent;padding:0}.card .card-body .form-section{margin-bottom:.75rem}.card .card-body .form-section:last-child{margin-bottom:0}}.login-page{min-height:100vh;display:flex;background-color:#0a0f1a;overflow:hidden}.login-left{flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:3rem;position:relative;background:#fff;overflow:hidden}.login-left-content{position:relative;z-index:1;text-align:center;max-width:420px}.login-left-logo{max-width:240px;height:auto;margin-bottom:2rem}.login-left-tagline{font-size:1.125rem;font-weight:400;color:#6b7280;line-height:1.6;letter-spacing:.01em}.login-left-hierarchy{display:flex;flex-direction:column;align-items:center;gap:.75rem;margin-top:3rem;padding-top:2rem;border-top:1px solid #E5E7EB}.hierarchy-item{display:flex;align-items:center;gap:.6rem}.hierarchy-logo{width:28px;height:28px;object-fit:contain}.hierarchy-text.dept{font-size:.85rem;font-weight:600;color:#374151}.hierarchy-text.univ{font-size:.65rem;font-weight:400;color:#9ca3af;letter-spacing:.12em;text-transform:uppercase}.login-right{flex:1;display:flex;align-items:center;justify-content:center;padding:3rem 2rem;position:relative;background:linear-gradient(180deg,#111827,#0d1b2a)}.login-right:before{content:"";position:absolute;inset:0;background-image:radial-gradient(circle at 1px 1px,rgba(255,255,255,.04) 1px,transparent 0);background-size:32px 32px}.login-card{position:relative;z-index:1;width:100%;max-width:400px;background:#ffffff0d;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);border:1px solid rgba(255,255,255,.08);border-radius:20px;padding:2.5rem;box-shadow:0 8px 32px #0006,inset 0 1px #ffffff0f;animation:cardEntrance .7s cubic-bezier(.16,1,.3,1) both}@keyframes cardEntrance{0%{opacity:0;transform:translateY(30px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}.login-card-title{font-size:1.5rem;font-weight:700;color:#f9fafb;margin-bottom:.375rem}.login-card-subtitle{font-size:.875rem;color:#ffffff73;margin-bottom:2rem}.login-error{background-color:#ef44441f;border:1px solid rgba(239,68,68,.25);color:#fca5a5;padding:.625rem .875rem;border-radius:10px;margin-bottom:1.25rem;font-size:.8rem;text-align:center}.login-form{display:flex;flex-direction:column;gap:1.25rem}.login-form .form-group{display:flex;flex-direction:column;gap:.5rem}.login-form .form-group label{font-size:.8rem;font-weight:600;color:#fff9;text-transform:uppercase;letter-spacing:.06em}.login-form .form-group input{background-color:#ffffff0f;border:1px solid rgba(255,255,255,.1);color:#f9fafb;padding:.75rem 1rem;border-radius:10px;font-size:.9rem;transition:all .25s ease}.login-form .form-group input::placeholder{color:#ffffff40}.login-form .form-group input:focus{outline:none;border-color:#0f766e;box-shadow:0 0 0 3px #0f766e33;background-color:#ffffff14}.login-form .form-group input:disabled{opacity:.5;cursor:not-allowed}.login-form .btn-primary{background:linear-gradient(135deg,#0f766e,#0d9488);color:#fff;margin-top:.5rem;padding:.85rem 1.25rem;font-weight:600;font-size:.9rem;border:none;border-radius:10px;cursor:pointer;transition:all .3s ease;position:relative;overflow:hidden}.login-form .btn-primary:hover{background:linear-gradient(135deg,#0d9488,#14b8a6);transform:translateY(-1px);box-shadow:0 4px 16px #0f766e59}.login-form .btn-primary:active{transform:translateY(0)}.login-form .btn-primary:disabled{opacity:.6;cursor:not-allowed;transform:none;box-shadow:none}.login-mobile-brand{display:none;text-align:center;margin-bottom:2rem}.login-mobile-logo{max-width:160px;height:auto;filter:brightness(1.1)}@media(max-width:900px){.login-page{flex-direction:column}.login-left{display:none}.login-right{flex:1;min-height:100vh;background:linear-gradient(135deg,#0d1b2a,#1b2838 40%,#0f766e)}.login-mobile-brand{display:block}.login-card{max-width:360px}}@media(max-width:480px){.login-right{padding:1.5rem}.login-card{padding:2rem 1.5rem;border-radius:16px}.login-card-title{font-size:1.25rem}.login-mobile-logo{max-width:130px}}.page-title{font-family:var(--font-heading);font-size:2rem;font-weight:700;color:var(--color-black);margin-bottom:.5rem}.page-subtitle{font-size:1rem;color:var(--color-gray-500)}.projects-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:1.5rem}.project-card{display:block;background-color:var(--color-white);border:1px solid var(--color-gray-200);border-left:4px solid var(--color-accent-500);border-radius:var(--radius-lg);padding:2rem;min-height:200px;text-decoration:none;transition:all .3s cubic-bezier(.4,0,.2,1)}.project-card:hover{transform:translateY(-4px);box-shadow:0 12px 24px -4px #0f766e26,0 4px 8px -2px #0000000f;border-color:var(--color-accent-400);border-left-color:var(--color-accent-600)}.project-card.type-dinamometro{border-left-color:#f59e0b}.project-card.type-dinamometro:hover{box-shadow:0 12px 24px -4px #f59e0b26,0 4px 8px -2px #0000000f;border-left-color:#d97706}.project-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.project-type{background-color:var(--color-accent-50);color:var(--color-accent-800);padding:.25rem .625rem;border-radius:9999px;font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.06em}.project-type.type-dinamometro{background-color:#fef3c7;color:#92400e}.project-date{font-size:.75rem;color:var(--color-gray-500)}.project-title{font-family:var(--font-heading);font-size:1.25rem;font-weight:700;color:var(--color-gray-900);margin-bottom:.5rem}.project-description{font-size:.875rem;color:var(--color-gray-600);margin-bottom:1.5rem;line-height:1.5}.project-footer{display:flex;justify-content:flex-end;font-size:.875rem;font-weight:600;color:var(--color-gray-900)}.modal-overlay{position:fixed;inset:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modal-content{background-color:var(--color-white);border-radius:var(--radius-lg);width:100%;max-width:500px;box-shadow:var(--shadow-xl);overflow:hidden;animation:modalSlideIn .3s ease-out forwards}@keyframes modalSlideIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.modal-header{padding:1.5rem;border-bottom:1px solid var(--color-gray-100);display:flex;justify-content:space-between;align-items:center}.modal-header h3{font-size:1.25rem;font-weight:700;color:var(--color-gray-900)}.close-button{background:none;border:none;font-size:1.5rem;color:var(--color-gray-500);cursor:pointer;line-height:1;padding:0}.modal-body{padding:1.5rem}.modal-footer{padding:1rem 1.5rem;background-color:var(--color-gray-50);border-top:1px solid var(--color-gray-100);display:flex;justify-content:flex-end;gap:1rem}.project-type-badge{display:inline-block;padding:.25rem .75rem;font-size:.7rem;font-weight:600;color:var(--color-accent-800);background-color:var(--color-accent-50);border-radius:9999px;text-transform:uppercase;letter-spacing:.06em;margin-bottom:.5rem}.dashboard-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1rem;margin-bottom:2rem}.stat-card{background:linear-gradient(135deg,var(--color-white) 0%,var(--color-gray-50) 100%);border:1px solid var(--color-gray-200);border-radius:var(--radius-lg);padding:1.5rem;text-align:center;transition:all .3s cubic-bezier(.4,0,.2,1);position:relative;overflow:hidden}.stat-card:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--color-accent-500),var(--color-accent-300));opacity:0;transition:opacity .3s ease}.stat-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-md)}.stat-card:hover:before{opacity:1}.stat-card-success{border-color:var(--color-success);background:linear-gradient(135deg,#ecfdf5,#d1fae5)}.stat-card-success:before{background:linear-gradient(90deg,#10b981,#34d399);opacity:1}.stat-icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:var(--radius-md);background-color:var(--color-accent-50);margin:0 auto .75rem;color:var(--color-accent-700)}.stat-card-success .stat-icon{background-color:#10b9811a;color:#059669}.stat-value{display:block;font-size:2rem;font-weight:700;color:var(--color-gray-900);margin-bottom:.25rem;line-height:1}.stat-card-success .stat-value{color:#065f46}.study-progress-section{background-color:var(--color-white);border:1px solid var(--color-gray-200);border-radius:var(--radius-lg);padding:1.5rem;margin-bottom:2rem}.progress-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.progress-percentage{font-size:1.25rem;font-weight:700;color:var(--color-accent-700)}.progress-bar-container{width:100%;height:8px;background-color:var(--color-gray-200);border-radius:9999px;overflow:hidden}.progress-bar-fill{height:100%;background:linear-gradient(90deg,var(--color-accent-700),var(--color-accent-400));border-radius:9999px;transition:width .8s cubic-bezier(.4,0,.2,1);position:relative}.progress-bar-fill:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent 0%,rgba(255,255,255,.3) 50%,transparent 100%);animation:shimmer 2s infinite}@keyframes shimmer{0%{transform:translate(-100%)}to{transform:translate(100%)}}.dashboard-section{background-color:var(--color-white);border:1px solid var(--color-gray-200);border-radius:var(--radius-lg);padding:1.5rem;margin-bottom:2rem}.section-title{font-size:1rem;font-weight:600;color:var(--color-gray-900);margin-bottom:1rem}.group-distribution{margin-top:1rem}.group-bar{display:flex;height:40px;border-radius:var(--radius-md);overflow:hidden}.group-a{background:linear-gradient(135deg,var(--color-gray-200),var(--color-gray-300));display:flex;align-items:center;justify-content:center;min-width:60px;transition:width var(--transition-normal)}.group-b{background:linear-gradient(135deg,var(--color-accent-700),var(--color-accent-600));color:var(--color-white);display:flex;align-items:center;justify-content:center;min-width:60px;transition:width var(--transition-normal)}.group-a span,.group-b span{font-size:.75rem;font-weight:600}.group-legend{display:flex;gap:1.5rem;margin-top:1rem}.legend-item{display:flex;align-items:center;gap:.5rem;font-size:.875rem;color:var(--color-gray-600)}.legend-dot{width:12px;height:12px;border-radius:50%}.group-a-dot{background-color:var(--color-gray-300)}.group-b-dot{background:linear-gradient(135deg,var(--color-accent-700),var(--color-accent-600))}.dashboard-actions{background-color:var(--color-white);border:1px solid var(--color-gray-200);border-radius:var(--radius-lg);padding:1.5rem}.action-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}.action-card{display:flex;flex-direction:column;align-items:center;gap:.75rem;padding:1.75rem 1.25rem;border:1px solid var(--color-gray-200);border-radius:var(--radius-lg);text-decoration:none;color:var(--color-gray-700);transition:all .3s cubic-bezier(.4,0,.2,1);position:relative;overflow:hidden;background:linear-gradient(180deg,var(--color-white) 0%,var(--color-gray-50) 100%)}.action-card:before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,var(--color-accent-50) 0%,transparent 70%);opacity:0;transition:opacity .3s ease}.action-card:hover{border-color:var(--color-accent-400);transform:translateY(-3px);box-shadow:0 8px 16px -4px #0f766e1f;color:var(--color-accent-800)}.action-card:hover:before{opacity:1}.action-card-icon{display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:var(--radius-lg);background-color:var(--color-accent-50);color:var(--color-accent-700);transition:all .3s ease;position:relative;z-index:1}.action-card:hover .action-card-icon{background-color:var(--color-accent-100);transform:scale(1.05)}.action-card svg{color:var(--color-accent-600);position:relative;z-index:1}.action-card:hover svg{color:var(--color-accent-700)}.action-card span{font-size:.875rem;font-weight:500;text-align:center;position:relative;z-index:1}.mobile-form-wizard{display:flex;flex-direction:column;gap:1rem}.wizard-progress{display:flex;align-items:center;gap:.75rem}.progress-bar{flex:1;height:6px;background-color:var(--color-gray-200);border-radius:3px;overflow:hidden}.progress-fill{height:100%;background-color:var(--color-gray-900);border-radius:3px;transition:width .3s ease}.progress-text{font-size:.75rem;font-weight:600;color:var(--color-gray-500);min-width:40px;text-align:right}.wizard-step-label{font-size:1rem;font-weight:600;color:var(--color-gray-900);margin:0;padding-bottom:.75rem;border-bottom:1px solid var(--color-gray-200)}.wizard-step-container{min-height:200px}.form-step-content{display:flex;flex-direction:column;gap:1rem}.wizard-navigation{display:flex;justify-content:space-between;gap:1rem;padding-top:1rem;border-top:1px solid var(--color-gray-200);margin-top:auto}.wizard-btn{flex:1;padding:.875rem 1rem;font-weight:600}.wizard-btn:disabled{opacity:.4;cursor:not-allowed}.wizard-step-container{animation:fadeIn .2s ease}@keyframes fadeIn{0%{opacity:0;transform:translate(10px)}to{opacity:1;transform:translate(0)}}.phase1-form{width:100%}.randomization-modal{position:fixed;inset:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;padding:2rem;z-index:1000}.randomization-content{background-color:var(--color-white);border-radius:var(--radius-xl);padding:2rem;max-width:500px;width:100%;box-shadow:var(--shadow-lg)}.randomization-content h2{font-size:1.25rem;margin-bottom:1.5rem;text-align:center}.randomization-result{display:flex;flex-direction:column;gap:1rem;margin-bottom:1.5rem}.patient-number,.group-result{padding:1rem;border-radius:var(--radius-md);text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem}.patient-number{background-color:var(--color-gray-100)}.group-result{border:2px solid}.group-result.group-a{border-color:var(--color-gray-300);background-color:var(--color-gray-50)}.group-result.group-b{border-color:var(--color-gray-700);background-color:var(--color-gray-100)}.patient-number .label,.group-result .label{display:block;font-size:.75rem;color:var(--color-gray-500);text-transform:uppercase;letter-spacing:.05em;margin-bottom:.25rem}.patient-number .value,.group-result .value{display:block;font-size:1.25rem;font-weight:700;color:var(--color-gray-900)}.medication-number-input{margin-bottom:1.5rem}.randomization-actions{display:flex;justify-content:flex-end;gap:1rem}@media(max-width:768px){.card-footer{display:none}}.toast-container{position:fixed;top:80px;right:1.5rem;z-index:9999;display:flex;flex-direction:column;gap:.5rem;pointer-events:none;max-width:420px}.toast{display:flex;align-items:center;gap:.75rem;padding:.875rem 1rem;border-radius:12px;background:var(--color-white);border:1px solid var(--color-gray-200);box-shadow:0 8px 24px #0000001f,0 2px 8px #0000000f;pointer-events:all;cursor:pointer;animation:toastSlideIn .35s cubic-bezier(.16,1,.3,1);transition:opacity .2s ease,transform .2s ease}.toast:hover{transform:translate(-4px)}@keyframes toastSlideIn{0%{opacity:0;transform:translate(100%)}to{opacity:1;transform:translate(0)}}.toast-icon{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:8px}.toast-message{flex:1;font-size:.85rem;font-weight:500;color:var(--color-gray-900);line-height:1.4}.toast-close{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:24px;height:24px;border:none;background:transparent;color:var(--color-gray-400);cursor:pointer;border-radius:6px;transition:all .15s ease}.toast-close:hover{background-color:var(--color-gray-100);color:var(--color-gray-700)}.toast-success{border-left:4px solid #10b981}.toast-success .toast-icon{color:#10b981;background-color:#ecfdf5}.toast-error{border-left:4px solid #ef4444}.toast-error .toast-icon{color:#ef4444;background-color:#fef2f2}.toast-warning{border-left:4px solid #f59e0b}.toast-warning .toast-icon{color:#f59e0b;background-color:#fffbeb}.toast-info{border-left:4px solid #3b82f6}.toast-info .toast-icon{color:#3b82f6;background-color:#eff6ff}.confirm-overlay{position:fixed;inset:0;background:#00000080;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:10000;display:flex;align-items:center;justify-content:center;padding:1rem;animation:confirmFadeIn .2s ease}@keyframes confirmFadeIn{0%{opacity:0}to{opacity:1}}.confirm-dialog{background:var(--color-white);border:1px solid var(--color-gray-200);border-radius:16px;padding:1.75rem;max-width:420px;width:100%;box-shadow:0 20px 60px #0003;animation:confirmScaleIn .25s cubic-bezier(.16,1,.3,1)}@keyframes confirmScaleIn{0%{opacity:0;transform:scale(.95) translateY(8px)}to{opacity:1;transform:scale(1) translateY(0)}}.confirm-title{font-size:1.1rem;font-weight:700;color:var(--color-gray-900);margin:0 0 .5rem}.confirm-message{font-size:.9rem;color:var(--color-gray-600);line-height:1.5;margin:0 0 1.5rem;white-space:pre-line}.confirm-actions{display:flex;justify-content:flex-end;gap:.75rem}.confirm-actions .btn{padding:.6rem 1.25rem;font-size:.85rem}.btn-danger{background:linear-gradient(135deg,#dc2626,#ef4444);color:#fff;border:none}.btn-danger:hover{background:linear-gradient(135deg,#b91c1c,#dc2626);box-shadow:0 4px 12px #ef44444d;transform:translateY(-1px)}@media(max-width:480px){.toast-container{right:.75rem;left:.75rem;max-width:none}.confirm-dialog{padding:1.5rem}}.stopwatch{background-color:var(--color-gray-100);border:1px solid var(--color-gray-200);border-radius:var(--radius-lg);padding:1.5rem;text-align:center}.stopwatch-display{margin-bottom:1rem}.stopwatch-time{font-family:JetBrains Mono,Fira Code,monospace;font-size:2.5rem;font-weight:700;color:var(--color-gray-900);letter-spacing:.05em}.stopwatch-controls{display:flex;gap:.5rem;justify-content:center;flex-wrap:wrap}.stopwatch-btn{display:inline-flex;align-items:center;gap:.375rem;padding:.5rem 1rem;font-size:.875rem;font-weight:500;border-radius:var(--radius-md);border:1px solid transparent;cursor:pointer;transition:all var(--transition-fast)}.stopwatch-btn.start{background-color:var(--color-gray-900);color:var(--color-white)}.stopwatch-btn.start:hover{background-color:var(--color-black)}.stopwatch-btn.pause{background-color:var(--color-gray-700);color:var(--color-white)}.stopwatch-btn.pause:hover{background-color:var(--color-gray-800)}.stopwatch-btn.reset{background-color:var(--color-white);border-color:var(--color-gray-300);color:var(--color-gray-700)}.stopwatch-btn.reset:hover:not(:disabled){background-color:var(--color-gray-100)}.stopwatch-btn.capture{background-color:var(--color-gray-900);color:var(--color-white)}.stopwatch-btn.capture:hover:not(:disabled){background-color:var(--color-black)}.stopwatch-btn:disabled{opacity:.5;cursor:not-allowed}.youtube-player-container{position:relative}.music-indicator{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:2rem;color:#fff;font-size:.875rem;font-weight:500;box-shadow:0 2px 8px #667eea66;animation:fadeIn .3s ease}@keyframes fadeIn{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}.music-icon{display:flex;align-items:center;animation:pulse 1s ease-in-out infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.6}}.music-bars{display:flex;align-items:flex-end;gap:2px;height:16px}.music-bars .bar{width:3px;background:#fff;border-radius:2px;animation:soundBar .5s ease-in-out infinite}.music-bars .bar:nth-child(1){height:60%;animation-delay:0s}.music-bars .bar:nth-child(2){height:100%;animation-delay:.1s}.music-bars .bar:nth-child(3){height:40%;animation-delay:.2s}.music-bars .bar:nth-child(4){height:80%;animation-delay:.3s}@keyframes soundBar{0%,to{transform:scaleY(1)}50%{transform:scaleY(.5)}}.music-text{white-space:nowrap}@media(max-width:480px){.music-indicator{padding:.4rem .75rem;font-size:.75rem}.music-text{display:none}}.phase2-page{width:100%}.conditional-fields{margin-left:2rem;padding-left:1rem;border-left:3px solid var(--color-gray-200);margin-top:.5rem}.form-actions{display:flex;justify-content:flex-end;gap:1rem}.image-previews{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:1rem;margin-top:1rem}.image-preview{position:relative;aspect-ratio:1;border-radius:var(--radius-md);overflow:hidden;border:1px solid var(--color-gray-200)}.image-preview img{width:100%;height:100%;object-fit:cover}.remove-image{position:absolute;top:.25rem;right:.25rem;width:24px;height:24px;border-radius:50%;background-color:var(--color-gray-900);color:var(--color-white);border:none;cursor:pointer;font-size:1rem;line-height:1;display:flex;align-items:center;justify-content:center}.remove-image:hover{background-color:var(--color-error)}.phase3-page{padding:0}.blinded-notice{display:flex;align-items:center;gap:.75rem;padding:1rem 1.25rem;background-color:var(--color-gray-100);border-radius:var(--radius-md);margin-bottom:1.5rem;font-size:.875rem;color:var(--color-gray-600)}.blinded-notice svg{flex-shrink:0}.patient-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.5rem}.patient-card{background:var(--color-white);border:1px solid var(--color-gray-200);border-radius:var(--radius-lg);padding:1.5rem;display:flex;flex-direction:column;gap:1rem}.patient-card-header{display:flex;justify-content:space-between;align-items:center}.patient-id{font-size:1.125rem;font-weight:600;color:var(--color-gray-900)}.patient-card-images{flex:1}.image-thumbnails{display:flex;gap:.5rem}.image-thumbnails img{width:60px;height:60px;object-fit:cover;border-radius:var(--radius-sm);border:1px solid var(--color-gray-200)}.more-images{display:flex;align-items:center;justify-content:center;width:60px;height:60px;background-color:var(--color-gray-100);border-radius:var(--radius-sm);font-size:.875rem;font-weight:600;color:var(--color-gray-500)}.no-images{color:var(--color-gray-500);font-size:.875rem}.evaluation-layout-vertical{display:flex;flex-direction:column;gap:1.5rem}.image-gallery .card-header{display:flex;justify-content:space-between;align-items:center}.image-count{font-size:.875rem;color:var(--color-gray-500);font-weight:500}.gallery-grid-large{display:flex;flex-direction:column;gap:1rem;width:100%}.gallery-image-large{position:relative;width:100%;border-radius:var(--radius-md);overflow:hidden;cursor:pointer;border:2px solid var(--color-gray-200);transition:all .2s ease}.gallery-image-large:hover{border-color:var(--color-gray-400);transform:scale(1.01)}.gallery-image-large img{width:100%;height:auto;display:block}.gallery-image-overlay{position:absolute;inset:0;background:#00000080;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;color:#fff;opacity:0;transition:opacity .2s ease}.gallery-image-large:hover .gallery-image-overlay{opacity:1}.gallery-image-overlay span{font-size:.875rem;font-weight:600}.lightbox-overlay{position:fixed;inset:0;background:#000000f2;z-index:1000;display:flex;align-items:center;justify-content:center}.lightbox-content{position:relative;max-width:90vw;max-height:90vh;display:flex;align-items:center;justify-content:center}.lightbox-image{max-width:100%;max-height:85vh;object-fit:contain;border-radius:var(--radius-md)}.lightbox-close{position:absolute;top:-3rem;right:0;background:transparent;border:none;color:#fff;cursor:pointer;padding:.5rem;transition:opacity .2s ease}.lightbox-close:hover{opacity:.7}.lightbox-nav{position:absolute;top:50%;transform:translateY(-50%);background:#fff3;border:none;color:#fff;cursor:pointer;padding:1rem;border-radius:50%;transition:all .2s ease}.lightbox-nav:hover:not(:disabled){background:#ffffff4d}.lightbox-nav:disabled{opacity:.3;cursor:not-allowed}.lightbox-prev{left:-4rem}.lightbox-next{right:-4rem}.lightbox-counter{position:absolute;bottom:-2.5rem;left:50%;transform:translate(-50%);color:#fff;font-size:.875rem;font-weight:500}.evaluation-form{width:100%}.radio-group-vertical{display:flex;flex-direction:column;gap:.75rem}.radio-option{display:flex;align-items:flex-start;gap:.75rem;padding:.75rem;background-color:var(--color-gray-50);border-radius:var(--radius-md);cursor:pointer;transition:background-color .2s ease}.radio-option:hover{background-color:var(--color-gray-100)}.radio-option input[type=radio]{margin-top:.125rem}@media(max-width:768px){.gallery-grid-large{grid-template-columns:repeat(2,1fr)}.lightbox-prev{left:1rem}.lightbox-next{right:1rem}.lightbox-close{top:1rem;right:1rem}.lightbox-counter{bottom:1rem}}@media(max-width:480px){.gallery-grid-large{grid-template-columns:1fr}}.evaluation-layout-split{display:flex;flex-direction:row;gap:1.5rem;align-items:flex-start;position:relative}.evaluation-layout-split .image-gallery{flex:3;min-width:0}.evaluation-layout-split .evaluation-form{flex:1;min-width:320px;position:sticky;top:1rem;max-height:calc(100vh - 2rem);overflow-y:auto}.evaluation-layout-split .gallery-grid-large{display:flex;flex-direction:column;gap:1rem}@media(max-width:1200px){.evaluation-layout-split{flex-direction:column}.evaluation-layout-split .evaluation-form{position:static;max-height:none}}.page-header .btn{flex-shrink:0}.page-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:2rem}.header-badges{display:flex;gap:.5rem}.detail-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(350px,1fr));gap:1.5rem}.data-list{display:flex;flex-direction:column;gap:.75rem}.data-item{display:flex;justify-content:space-between;padding:.5rem 0;border-bottom:1px solid var(--color-gray-100)}.data-item:last-child{border-bottom:none}.data-item dt{font-size:.875rem;color:var(--color-gray-500);font-weight:500}.data-item dd{font-size:.875rem;color:var(--color-gray-900);font-weight:500;text-align:right}.data-item.highlight{background-color:var(--color-gray-50);padding:.75rem;margin:-.5rem -.5rem .5rem;border-radius:var(--radius-md);border-bottom:none}.grau-value{font-size:1rem!important}.image-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:.75rem}.gallery-image{display:block;aspect-ratio:1;border-radius:var(--radius-md);overflow:hidden;border:1px solid var(--color-gray-200);transition:transform var(--transition-normal)}.gallery-image:hover{transform:scale(1.02)}.gallery-image img{width:100%;height:100%;object-fit:cover}.role-select{width:auto;min-width:140px;padding:.5rem;font-size:.875rem}.action-buttons{display:flex;gap:.5rem}.btn-danger{background-color:#dc2626;color:#fff}.btn-danger:hover{background-color:#b91c1c}.btn-danger:disabled{background-color:#fca5a5;cursor:not-allowed}.info-box{background-color:var(--color-gray-50);padding:1.5rem;border-radius:var(--radius-md)}.info-box h4{margin-bottom:1rem;font-weight:600}.info-box ul{list-style:disc;padding-left:1.5rem}.info-box li{margin-bottom:.5rem;line-height:1.5}.permissions-modal{max-width:800px;width:90%}.flex{display:flex}.flex-wrap{flex-wrap:wrap}.items-end{align-items:flex-end}.items-center{align-items:center}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-4{gap:1rem}.text-sm{font-size:.875rem}.text-xs{font-size:.75rem}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.text-gray-500{color:#6b7280}.mb-0{margin-bottom:0}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.p-1{padding:.25rem}.p-4{padding:1rem}.cursor-pointer{cursor:pointer}.badge-info{background-color:#dbeafe;color:#1e40af;padding:.25rem .5rem;border-radius:9999px}.about-page{width:100%}.about-page .card{margin-bottom:1.5rem}.about-page .card-body p{line-height:1.7;color:var(--color-gray-700);margin-bottom:1rem}.about-page .card-body p:last-child{margin-bottom:0}.about-page h4{color:var(--color-gray-900);font-size:1rem;font-weight:600;margin-bottom:.5rem}.features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem}.feature-item{padding:1rem;background-color:var(--color-gray-50);border-radius:var(--radius-md)}.feature-item h4{margin-bottom:.5rem}.feature-item p{font-size:.875rem;margin-bottom:0}.roles-list li{padding:.75rem 0;border-bottom:1px solid var(--color-gray-100);color:var(--color-gray-700)}@media(max-width:768px){.features-grid{grid-template-columns:1fr}}.research-info-page{margin:0 auto}.research-info-page .card{margin-bottom:1.5rem}.research-info-page p{line-height:1.7;color:var(--color-gray-700)}.research-info-page h4{color:var(--color-gray-900);font-size:1rem;font-weight:600;margin-bottom:.75rem}.section-title{margin-top:1.5rem!important}.groups-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem}.group-card{padding:1.25rem;border-radius:var(--radius-md);border:1px solid var(--color-gray-200)}.group-card.group-a{background-color:var(--color-gray-50)}.group-card.group-b{background-color:#f8fafc;border-color:var(--color-gray-300)}.group-card h4{margin-bottom:.5rem}.group-card p{font-size:.875rem;margin:0}.strat-list{list-style:none;padding:0;margin:0}.strat-list li{display:flex;justify-content:space-between;padding:.75rem 0;border-bottom:1px solid var(--color-gray-100);color:var(--color-gray-700)}.strat-list li:last-child{border-bottom:none}.strat-list li span{color:var(--color-gray-500);font-size:.875rem}.algo-steps{margin:0;padding-left:1.25rem}.algo-steps li{margin-bottom:.5rem;color:var(--color-gray-700)}.stats-summary{display:flex;gap:1rem;margin-bottom:1.5rem}.stat-box{flex:1;display:flex;flex-direction:column;align-items:center;padding:1rem;background-color:var(--color-gray-50);border-radius:var(--radius-md)}.stat-label{font-size:.75rem;color:var(--color-gray-500);text-transform:uppercase;letter-spacing:.05em}.stat-value{font-size:2rem;font-weight:700;color:var(--color-gray-900)}.surgery-stats{display:flex;flex-direction:column;gap:.5rem}.surgery-stat{display:flex;justify-content:space-between;padding:.75rem;background-color:var(--color-gray-50);border-radius:var(--radius-sm)}.surgery-label{font-weight:500;color:var(--color-gray-700)}.surgery-values{color:var(--color-gray-500);font-family:monospace}.grading-list{display:flex;flex-direction:column;gap:.75rem}.grade-item{display:flex;align-items:center;gap:1rem}.grade-badge{display:inline-flex;align-items:center;justify-content:center;min-width:80px;padding:.375rem .75rem;border-radius:var(--radius-sm);font-size:.75rem;font-weight:600}.grade-badge.grade-0{background-color:#fecaca;color:#991b1b}.grade-badge.grade-1{background-color:#fef08a;color:#854d0e}.grade-badge.grade-2{background-color:#bbf7d0;color:#166534}.grade-desc{color:var(--color-gray-600)}.roles-list{list-style:none;padding:0;margin:0}.roles-list li{padding:.75rem 0;border-bottom:1px solid var(--color-gray-100);color:var(--color-gray-700);line-height:1.6}.roles-list li:last-child{border-bottom:none}.roles-list li strong{color:var(--color-gray-900)}@media(max-width:768px){.groups-grid{grid-template-columns:1fr}.stats-summary{flex-direction:column}.strat-list li{flex-direction:column;gap:.25rem}}.collaboration-page{padding:0}.tabs-container{margin-bottom:1.5rem}.tabs{display:flex;gap:.5rem;border-bottom:1px solid #e5e7eb;padding-bottom:0;overflow-x:auto}.tab{display:flex;align-items:center;gap:.5rem;padding:.75rem 1rem;border:none;background:none;color:#6b7280;font-size:.875rem;font-weight:500;cursor:pointer;border-bottom:2px solid transparent;transition:all .2s;white-space:nowrap}.tab:hover{color:#111827;background-color:#f9fafb}.tab.active{color:#111827;border-bottom-color:#111827}.tab svg{flex-shrink:0}.timeline{position:relative;padding-left:2rem}.timeline:before{content:"";position:absolute;left:.5rem;top:0;bottom:0;width:2px;background:#e5e7eb}.timeline-item{position:relative;padding-bottom:1.5rem}.timeline-item:last-child{padding-bottom:0}.timeline-marker{position:absolute;left:-1.75rem;top:.25rem;width:12px;height:12px;border-radius:50%;background:#e5e7eb;border:2px solid white;box-shadow:0 0 0 2px #e5e7eb}.timeline-item.status-in_progress .timeline-marker{background:#f59e0b;box-shadow:0 0 0 2px #f59e0b}.timeline-item.status-completed .timeline-marker{background:#22c55e;box-shadow:0 0 0 2px #22c55e}.timeline-content{background:#f9fafb;padding:1rem;border-radius:8px;border:1px solid #e5e7eb}.timeline-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.5rem}.timeline-header h4{margin:0;font-size:1rem}.timeline-date{display:flex;align-items:center;gap:.5rem;font-size:.875rem;color:#6b7280;margin-bottom:.5rem}.timeline-description{font-size:.875rem;color:#4b5563;margin-bottom:.75rem}.timeline-actions{display:flex;gap:.5rem}.notes-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1rem}.note-card{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:1rem}.note-card h4{margin:0 0 .75rem;font-size:1rem}.note-content{font-size:.875rem;color:#4b5563;margin-bottom:1rem;line-height:1.5;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.note-footer{display:flex;justify-content:space-between;font-size:.75rem;color:#9ca3af;margin-bottom:.75rem}.note-actions{display:flex;gap:.5rem}.discussions-list{display:flex;flex-direction:column;gap:.5rem}.discussion-item{display:flex;align-items:center;justify-content:space-between;padding:1rem;background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;cursor:pointer;transition:background-color .2s}.discussion-item:hover{background:#f3f4f6}.discussion-info h4{margin:0 0 .25rem;font-size:1rem}.discussion-meta{font-size:.75rem;color:#9ca3af}.discussion-messages{display:flex;flex-direction:column;height:400px}.messages-list{flex:1;overflow-y:auto;padding:1rem;background:#f9fafb;border-radius:8px;margin-bottom:1rem}.empty-messages{text-align:center;color:#9ca3af;padding:2rem}.message{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:.75rem;margin-bottom:.5rem;max-width:80%}.message.own{margin-left:auto;background:#f0fdf4;border-color:#bbf7d0}.message-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.25rem;font-size:.75rem}.message-header strong{color:#111827}.message-time{color:#9ca3af}.message p{margin:0;font-size:.875rem}.message-input{display:flex;gap:.5rem}.message-input .form-input{flex:1}.goals-list{display:flex;flex-direction:column;gap:1rem}.goal-item{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:1rem}.goal-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.5rem}.goal-header h4{margin:0;font-size:1rem}.goal-description{font-size:.875rem;color:#4b5563;margin-bottom:.75rem}.goal-progress{display:flex;align-items:center;gap:1rem;margin-bottom:.75rem}.progress-bar{flex:1;height:8px;background:#e5e7eb;border-radius:4px;overflow:hidden}.progress-fill{height:100%;background:#22c55e;border-radius:4px;transition:width .3s}.progress-text{font-size:.875rem;font-weight:600;color:#111827;min-width:40px}.goal-footer{display:flex;align-items:center;justify-content:space-between}.goal-date{font-size:.75rem;color:#9ca3af}.goal-actions{display:flex;gap:.5rem}.form-range{width:100%;height:8px;cursor:pointer}.badge-danger{background-color:#fee2e2;color:#dc2626}.badge-warning{background-color:#fef3c7;color:#d97706}.tab-content .empty-state{padding:2rem;text-align:center;color:#9ca3af}@media(max-width:640px){.tabs{padding:0 1rem}.tab{padding:.5rem .75rem;font-size:.8rem}.tab svg{width:16px;height:16px}.timeline{padding-left:1.5rem}.timeline-marker{left:-1.25rem}.notes-grid{grid-template-columns:1fr}.message{max-width:95%}}.designer-page{padding:0}.wizard-steps{display:flex;justify-content:space-between;margin-bottom:2rem;padding:0 1rem;position:relative}.wizard-steps:before{content:"";position:absolute;top:20px;left:50px;right:50px;height:2px;background:#e5e7eb;z-index:0}.wizard-step{display:flex;flex-direction:column;align-items:center;gap:.5rem;cursor:pointer;position:relative;z-index:1}.step-number{width:40px;height:40px;border-radius:50%;background:#e5e7eb;display:flex;align-items:center;justify-content:center;font-weight:600;color:#6b7280;transition:all .2s}.wizard-step.active .step-number{background:#111827;color:#fff}.wizard-step.completed .step-number{background:#22c55e;color:#fff}.step-label{font-size:.75rem;color:#6b7280;text-align:center}.wizard-step.active .step-label{color:#111827;font-weight:600}.wizard-content{margin-bottom:2rem}.wizard-navigation{display:flex;justify-content:space-between;padding:1rem;border-top:1px solid #e5e7eb;background:#f9fafb;margin:0 -1.5rem -1.5rem;border-radius:0 0 8px 8px}.stages-list{display:flex;flex-direction:column;gap:1rem}.stage-item{display:flex;align-items:flex-start;gap:1rem;padding:1rem;background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px}.stage-number{width:32px;height:32px;border-radius:50%;background:#111827;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;flex-shrink:0}.stage-info{flex:1}.stage-info h4{margin:0 0 .25rem}.stage-info p{margin:0 0 .5rem;color:#6b7280;font-size:.875rem}.stage-meta{font-size:.75rem;color:#9ca3af}.stage-actions{display:flex;gap:.5rem}.permissions-table{overflow-x:auto}.permissions-table table{width:100%;border-collapse:collapse}.permissions-table th,.permissions-table td{padding:.75rem;text-align:left;border-bottom:1px solid #e5e7eb}.permissions-table th{background:#f9fafb;font-weight:600}.permissions-table .sub-header{font-size:.75rem;font-weight:400;color:#6b7280}.checkbox-cell{text-align:center}.checkbox-cell input[type=checkbox]{width:18px;height:18px}.forms-editor{display:flex;flex-direction:column;gap:1.5rem}.stage-form-section{border:1px solid #e5e7eb;border-radius:8px;overflow:hidden}.stage-form-header{display:flex;justify-content:space-between;align-items:center;padding:1rem;background:#f9fafb;border-bottom:1px solid #e5e7eb}.stage-form-header h4{margin:0}.no-fields{padding:1rem;color:#9ca3af;text-align:center;margin:0}.fields-list{padding:.5rem}.field-item{display:flex;justify-content:space-between;align-items:center;padding:.5rem .75rem;background:#fff;border:1px solid #e5e7eb;border-radius:4px;margin-bottom:.5rem}.field-item:last-child{margin-bottom:0}.field-info{display:flex;align-items:center;gap:.75rem}.field-label{font-weight:500}.field-type{font-size:.75rem;color:#fff;background:#6b7280;padding:.125rem .5rem;border-radius:4px}.field-required{color:#ef4444;font-weight:700}.btn-xs{padding:.25rem .5rem;font-size:.75rem}.outcomes-list{display:flex;flex-direction:column;gap:1rem}.outcome-item{display:flex;justify-content:space-between;align-items:flex-start;padding:1rem;background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px}.outcome-item.primary{border-left:4px solid #22c55e}.outcome-item.secondary{border-left:4px solid #6b7280}.outcome-info h4{margin:.5rem 0 .25rem}.outcome-info p{margin:0;color:#6b7280;font-size:.875rem}.outcome-badge{font-size:.75rem;padding:.125rem .5rem;border-radius:4px}.outcome-badge.primary{background:#dcfce7;color:#166534}.outcome-badge.secondary{background:#f3f4f6;color:#374151}.preview-section{margin-bottom:1.5rem;padding-bottom:1.5rem;border-bottom:1px solid #e5e7eb}.preview-section:last-of-type{border-bottom:none}.preview-section h4{margin:0 0 .5rem}.preview-section p{margin:.25rem 0;color:#4b5563}.preview-json{background:#1f2937;border-radius:8px;padding:1rem;overflow-x:auto}.preview-json h4{color:#9ca3af;margin:0 0 1rem}.preview-json pre{color:#e5e7eb;font-size:.75rem;margin:0;white-space:pre-wrap}.form-section{margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid #e5e7eb}.form-section h4{margin:0 0 1rem;color:#374151}.checkbox-group{display:flex;gap:1.5rem}.btn-success{background:#22c55e;color:#fff;border:none}.btn-success:hover{background:#16a34a}@media(max-width:768px){.wizard-steps{overflow-x:auto;justify-content:flex-start;gap:1rem}.wizard-steps:before{display:none}.step-label{display:none}.wizard-step.active .step-label{display:block}.stage-item{flex-direction:column}.stage-actions{width:100%;justify-content:flex-end}.permissions-table{font-size:.875rem}}.generated-code{margin-top:1.5rem}.generated-code-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;padding-bottom:.5rem;border-bottom:1px solid #e5e7eb}.generated-code-header h4{margin:0}.code-block{background:#1f2937;color:#e5e7eb;padding:1rem;border-radius:8px;overflow-x:auto;font-size:.8rem;line-height:1.5;max-height:500px;overflow-y:auto}.generation-error{background:#fef2f2;border:1px solid #fecaca;color:#dc2626;padding:1rem;border-radius:8px;margin-bottom:1rem}.api-warning{font-size:.875rem;color:#d97706;background:#fef3c7;padding:.5rem 1rem;border-radius:4px}.profile-page{padding:2rem;max-width:1200px;margin:0 auto;width:100%}.profile-content{display:grid;grid-template-columns:1fr;gap:2rem;margin-top:2rem}@media(min-width:768px){.profile-content{grid-template-columns:1fr 1fr}}.info-group{margin-bottom:1.5rem}.info-group:last-child{margin-bottom:0}.info-group label{display:block;color:var(--color-gray-500);font-size:.875rem;margin-bottom:.5rem}.info-value{font-size:1rem;color:var(--color-gray-900);font-weight:500}.capitalize{text-transform:capitalize}.password-form{display:flex;flex-direction:column;gap:1.5rem}.form-actions{display:flex;justify-content:flex-end;margin-top:1rem}
