@import "https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap";@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-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--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:"Inter", ui-sans-serif, system-ui, sans-serif;--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--text-2xl:1.5rem;--text-2xl--line-height:calc(2 / 1.5);--font-weight-bold:700;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-accent-start:#667eea;--color-accent-end:#764ba2}}@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,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, 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:where(:not(iframe)){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}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline-flex{display:inline-flex}.table{display:table}.shrink{flex-shrink:1}.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}.rounded{border-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.underline{text-decoration-line:underline}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.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,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}}@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-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@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{--bg-primary:#f0f2f8;--bg-surface:#fff;--bg-card:#fff;--bg-card-hover:#f8f9fc;--border-color:#e2e8f0;--text-primary:#1e293b;--text-secondary:#64748b;--text-muted:#94a3b8;--accent-start:#667eea;--accent-end:#764ba2;--neon:#00d2ff;--success:#10b981;--warning:#f59e0b;--danger:#ef4444;--shadow-sm:0 1px 3px #00000014;--shadow-md:0 4px 16px #00000014;--shadow-lg:0 8px 32px #0000001f;--shadow-glow:0 0 40px #667eea26}:root.dark{--bg-primary:#0a0e1a;--bg-surface:#121829;--bg-card:#1a2140;--bg-card-hover:#222b52;--border-color:#2a3158;--text-primary:#e2e8f0;--text-secondary:#94a3b8;--text-muted:#64748b;--shadow-sm:0 1px 3px #0000004d;--shadow-md:0 4px 16px #0006;--shadow-lg:0 8px 32px #00000080;--shadow-glow:0 0 60px #667eea33}*{box-sizing:border-box;margin:0;padding:0}body{background-color:var(--bg-primary);color:var(--text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;transition:background-color .4s,color .4s;overflow-x:hidden}#root{background-color:var(--bg-primary);width:100%;max-width:1920px;min-height:100vh;margin:0 auto;position:relative;box-shadow:0 0 50px #0000000d}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:var(--border-color);border-radius:3px}::-webkit-scrollbar-thumb:hover{background:var(--text-muted)}::selection{background-color:#667eea4d}.glass-panel{background:var(--bg-card);border:1px solid var(--border-color);box-shadow:var(--shadow-md);border-radius:16px;transition:all .3s cubic-bezier(.4,0,.2,1)}:root.dark .glass-panel{-webkit-backdrop-filter:blur(20px);background:#1a2140cc;border-color:#2a315899}.text-gradient{background:linear-gradient(135deg, var(--accent-start), var(--accent-end));-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text}.bg-gradient-accent{background:linear-gradient(135deg, var(--accent-start), var(--accent-end));color:#fff}.primary-btn{background:linear-gradient(135deg, var(--accent-start), var(--accent-end));color:#fff;cursor:pointer;border:none;border-radius:12px;align-items:center;gap:8px;padding:10px 20px;font-size:14px;font-weight:600;transition:all .3s;display:inline-flex;box-shadow:0 4px 16px #667eea4d}.primary-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 24px #667eea80}.primary-btn:disabled{opacity:.5;cursor:not-allowed;box-shadow:none}.form-input{background:var(--bg-surface);width:100%;color:var(--text-primary);border:1px solid var(--border-color);border-radius:12px;outline:none;padding:12px 16px;font-family:inherit;font-size:14px;transition:all .3s}.form-input:focus{border-color:var(--accent-start);box-shadow:0 0 0 3px #667eea26}.form-group{flex-direction:column;gap:6px;margin-bottom:16px;display:flex}.form-group label{color:var(--text-secondary);font-size:13px;font-weight:600}.form-actions{justify-content:flex-end;gap:12px;margin-top:20px;display:flex}.cancel-btn{color:var(--text-secondary);border:1px solid var(--border-color);cursor:pointer;background:0 0;border-radius:12px;padding:10px 20px;font-size:14px;transition:all .2s}.cancel-btn:hover{background:var(--bg-card-hover)}.icon-btn{border:1px solid var(--border-color);background:var(--bg-card);width:38px;height:38px;color:var(--text-secondary);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;transition:all .2s;display:flex}.icon-btn:hover{background:var(--bg-card-hover);color:var(--accent-start);border-color:var(--accent-start)}.icon-btn.edit:hover{color:var(--accent-start);border-color:var(--accent-start)}.icon-btn.delete:hover{color:var(--danger);border-color:var(--danger)}button svg,.primary-btn svg,.cancel-btn svg{flex-shrink:0}@media (width<=600px){.primary-btn,.cancel-btn{text-align:center;overflow-wrap:break-word;justify-content:center;max-width:100%}}.action-buttons{gap:6px;display:flex}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}@keyframes slideIn{0%{opacity:0;transform:translate(-24px)}to{opacity:1;transform:translate(0)}}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-12px)}}@keyframes shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}@keyframes pulse-glow{0%,to{box-shadow:0 0 20px #667eea4d}50%{box-shadow:0 0 40px #667eea99}}@keyframes orbit{0%{transform:rotate(0)translate(150px)rotate(0)}to{transform:rotate(360deg)translate(150px)rotate(-360deg)}}.animate-fade-in{animation:.4s ease-out forwards fadeIn}.animate-slide-up{animation:.5s ease-out forwards slideUp}.animate-slide-in{animation:.4s ease-out forwards slideIn}.animate-float{animation:4s ease-in-out infinite float}.attendance-badge{border-radius:20px;padding:4px 10px;font-size:12px;font-weight:600}.attendance-badge.good{color:#10b981;background:#10b98126}.attendance-badge.warning{color:#f59e0b;background:#f59e0b26}.status-badge{border-radius:20px;padding:4px 10px;font-size:12px;font-weight:600}.status-badge.present{color:#10b981;background:#10b98126}.status-badge.absent{color:#ef4444;background:#ef444426}.status-badge.late{color:#f59e0b;background:#f59e0b26}.page-header{justify-content:space-between;align-items:center;margin-bottom:24px;display:flex}.page-header h1{font-size:24px;font-weight:800}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.contact-us-btn{width:100%;color:var(--accent-start);text-align:left;cursor:pointer;background:#667eea14;border:1px solid #667eea66;border-radius:12px;align-items:center;gap:12px;padding:11px 14px;font-family:inherit;font-size:14px;font-weight:600;transition:background .2s,border-color .2s;display:flex}.contact-us-btn:hover{border-color:var(--accent-start);background:#667eea29}.contact-us-btn:focus-visible{outline:2px solid var(--accent-start);outline-offset:2px}.contact-us-btn svg{flex-shrink:0}:root.dark .contact-us-btn{color:#a5b4fc;background:#a5b4fc14;border-color:#a5b4fc66}.contact-us-form{flex-direction:column;display:flex}.contact-us-form .contact-us-hint{color:var(--text-secondary);margin:0 0 16px;font-size:13px;line-height:1.5}.contact-us-form .form-group{margin-bottom:12px}.contact-us-form .contact-us-text{resize:vertical;min-height:140px;line-height:1.5}.contact-us-form .contact-us-counter{color:var(--text-secondary);font-variant-numeric:tabular-nums;align-self:flex-end;font-size:12px}.contact-us-form .contact-us-error{color:#b91c1c;background:#ef44441a;border:1px solid #ef44444d;border-radius:10px;margin-bottom:12px;padding:10px 12px;font-size:13px}.contact-us-form .contact-us-actions{flex-wrap:wrap;justify-content:flex-end;gap:12px;display:flex}:root.dark .contact-us-form .contact-us-error{color:#fca5a5}.contact-us-sent{text-align:center;flex-direction:column;align-items:center;gap:8px;padding:8px 0 4px;display:flex}.contact-us-sent svg{color:#10b981}.contact-us-sent .sent-title{color:var(--text-primary);margin:4px 0 0;font-size:16px;font-weight:700}.contact-us-sent .sent-hint{color:var(--text-secondary);margin:0 0 12px;font-size:13px;line-height:1.5}.dashboard-layout{background-color:var(--bg-primary);gap:16px;max-width:1920px;height:100vh;margin:0 auto;padding:16px;display:flex;overflow:hidden}.dashboard-layout .sidebar{background:var(--bg-surface);border:1px solid var(--border-color);width:260px;height:calc(100vh - 32px);box-shadow:var(--shadow-md);border-radius:20px;flex-direction:column;transition:transform .3s cubic-bezier(.4,0,.2,1);display:flex;position:relative}.dashboard-layout .sidebar-header{border-bottom:1px solid var(--border-color);justify-content:space-between;align-items:center;height:70px;padding:0 1.25rem;display:flex}.dashboard-layout .sidebar-header .logo{background:linear-gradient(135deg, var(--accent-start), var(--accent-end));-webkit-text-fill-color:transparent;letter-spacing:-.5px;-webkit-background-clip:text;background-clip:text;margin:0;font-size:1.35rem;font-weight:800}.dashboard-layout .sidebar-header .mobile-close{color:var(--text-primary);cursor:pointer;background:0 0;border:none;padding:4px;display:none}.dashboard-layout .sidebar-nav{flex-direction:column;flex:1;gap:4px;padding:16px 12px;display:flex;overflow-y:auto}.dashboard-layout .sidebar-nav .nav-item{color:var(--text-secondary);border-radius:12px;align-items:center;gap:12px;padding:10px 14px;font-size:14px;font-weight:500;text-decoration:none;transition:all .2s;display:flex;position:relative}.dashboard-layout .sidebar-nav .nav-item:hover:not(.active){background:var(--bg-card-hover);color:var(--text-primary)}.dashboard-layout .sidebar-nav .nav-item.active{background:linear-gradient(135deg, var(--accent-start), var(--accent-end));color:#fff;font-weight:600;box-shadow:0 4px 16px #667eea59}.dashboard-layout .sidebar-nav .nav-item .nav-soon{white-space:nowrap;color:#b45309;background:#f59e0b24;border:1px solid #f59e0b59;border-radius:999px;margin-left:auto;padding:1px 7px;font-size:10px;font-weight:600;line-height:16px}.dashboard-layout .sidebar-nav .nav-item.active .nav-soon{color:#fff;background:#fff3;border-color:#ffffff73}.dashboard-layout .sidebar-nav .nav-item .nav-badge{color:#fff;text-align:center;background:#ef4444;border-radius:10px;min-width:20px;margin-left:auto;padding:0 6px;font-size:11px;font-weight:700;line-height:20px}.dashboard-layout .sidebar-nav .nav-item.active .nav-badge{color:#ef4444;background:#fff}.dashboard-layout .sidebar-footer{padding:12px 12px calc(12px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--border-color);flex-shrink:0}:root.dark .dashboard-layout .sidebar-nav .nav-item:not(.active) .nav-soon{color:#fbbf24}:root.dark .dashboard-layout .sidebar{background:var(--bg-surface);border-color:var(--border-color)}.dashboard-layout .main-wrapper{background:var(--bg-surface);border:1px solid var(--border-color);height:calc(100vh - 32px);box-shadow:var(--shadow-md);border-radius:20px;flex-direction:column;flex:1;margin-left:0;display:flex;overflow:hidden}.dashboard-layout .topbar{background:var(--bg-surface);border-bottom:1px solid var(--border-color);z-index:50;justify-content:space-between;align-items:center;height:70px;padding:0 24px;display:flex}.dashboard-layout .topbar .mobile-menu-btn{color:var(--text-primary);cursor:pointer;background:0 0;border:none;padding:6px;display:none}.dashboard-layout .topbar .topbar-right{align-items:center;gap:12px;display:flex}.dashboard-layout .topbar .lang-select{border:1px solid var(--border-color);background:var(--bg-card);color:var(--text-primary);cursor:pointer;border-radius:10px;outline:none;padding:6px 12px;font-family:inherit;font-size:12px;font-weight:600;transition:border-color .2s}.dashboard-layout .topbar .lang-select:focus{border-color:var(--accent-start)}.dashboard-layout .topbar .icon-btn{border:1px solid var(--border-color);background:var(--bg-card);width:38px;height:38px;color:var(--text-secondary);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;transition:all .2s;display:flex}.dashboard-layout .topbar .icon-btn:hover{border-color:var(--accent-start);color:var(--accent-start)}.dashboard-layout .topbar .notification-bell,.dashboard-layout .topbar .notification-bell .icon-btn{position:relative}.dashboard-layout .topbar .notification-bell .unread-count{color:#fff;text-align:center;min-width:18px;height:18px;box-shadow:0 0 0 2px var(--bg-surface);background:#ef4444;border-radius:9px;padding:0 5px;font-size:11px;font-weight:700;line-height:18px;position:absolute;top:-6px;right:-6px}.dashboard-layout .topbar .notification-panel{background:var(--bg-surface);border:1px solid var(--border-color);width:360px;max-height:min(480px,100vh - 110px);box-shadow:var(--shadow-md), 0 12px 32px #0000002e;z-index:120;border-radius:14px;flex-direction:column;display:flex;position:absolute;top:calc(100% + 10px);right:0;overflow:hidden}.dashboard-layout .topbar .notification-panel .panel-title{color:var(--text-primary);border-bottom:1px solid var(--border-color);padding:12px 16px;font-size:14px;font-weight:700}.dashboard-layout .topbar .notification-panel .panel-empty{color:var(--text-muted);text-align:center;margin:0;padding:24px 16px;font-size:13px}.dashboard-layout .topbar .notification-panel .panel-scroll{min-height:0;overflow-y:auto}.dashboard-layout .topbar .notification-panel .panel-scroll .panel-list{overflow:visible}.dashboard-layout .topbar .notification-panel .panel-title-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.dashboard-layout .topbar .notification-panel .panel-title-row a{color:var(--accent-start);white-space:nowrap;font-size:13px;font-weight:600;text-decoration:none}.dashboard-layout .topbar .notification-panel .panel-title-row a:hover{text-decoration:underline}.dashboard-layout .topbar .notification-panel .panel-count{color:#fff;background:#ef4444;border-radius:999px;margin-left:8px;padding:1px 8px;font-size:11px;font-weight:700}.dashboard-layout .topbar .notification-panel .panel-title-section{border-top:1px solid var(--border-color)}.dashboard-layout .topbar .notification-panel .panel-empty-small{padding:12px 16px}.dashboard-layout .topbar .notification-panel .message-preview .item-title{align-items:flex-start;gap:6px;display:flex}.dashboard-layout .topbar .notification-panel .message-preview .item-title svg{color:var(--accent-start);flex-shrink:0;margin-top:2px}.dashboard-layout .topbar .notification-panel .panel-list{margin:0;padding:0;list-style:none;overflow-y:auto}.dashboard-layout .topbar .notification-panel li+li{border-top:1px solid var(--border-color)}.dashboard-layout .topbar .notification-panel .notification-item{text-align:left;cursor:pointer;width:100%;color:var(--text-primary);background:0 0;border:none;border-left:3px solid #0000;flex-direction:column;gap:3px;padding:12px 16px;font-family:inherit;transition:background .15s;display:flex}.dashboard-layout .topbar .notification-panel .notification-item:hover{background:var(--bg-card-hover)}.dashboard-layout .topbar .notification-panel .notification-item.fresh{border-left-color:var(--accent-start);background:#667eea14}.dashboard-layout .topbar .notification-panel .notification-item .item-title{overflow-wrap:anywhere;font-size:13px;font-weight:600}.dashboard-layout .topbar .notification-panel .notification-item .item-message{color:var(--text-secondary);overflow-wrap:anywhere;-webkit-line-clamp:3;-webkit-box-orient:vertical;font-size:12px;display:-webkit-box;overflow:hidden}.dashboard-layout .topbar .notification-panel .notification-item .item-time{color:var(--text-muted);font-size:11px}.dashboard-layout .topbar .user-profile{border-left:1px solid var(--border-color);align-items:center;gap:10px;padding-left:16px;display:flex}.dashboard-layout .topbar .user-profile .avatar{background:linear-gradient(135deg, var(--accent-start), var(--accent-end));color:#fff;border-radius:12px;justify-content:center;align-items:center;width:38px;height:38px;font-size:14px;font-weight:700;display:flex}.dashboard-layout .topbar .user-profile .user-info{flex-direction:column;min-width:0;display:flex}.dashboard-layout .topbar .user-profile .user-info .user-name{color:var(--text-primary);font-size:13px;font-weight:600}.dashboard-layout .topbar .user-profile .user-info .user-role{color:var(--text-muted);text-transform:capitalize;font-size:11px;font-weight:500}.dashboard-layout .topbar .user-profile-link{color:inherit;cursor:pointer;border-radius:12px;text-decoration:none;transition:background .2s}.dashboard-layout .topbar .user-profile-link:hover .user-name,.dashboard-layout .topbar .user-profile-link.active .user-name{color:var(--accent-start)}.dashboard-layout .topbar .user-profile-link:hover .avatar,.dashboard-layout .topbar .user-profile-link.active .avatar{box-shadow:0 0 0 2px var(--accent-start)}.dashboard-layout .topbar .user-profile-link:focus-visible{outline:2px solid var(--accent-start);outline-offset:3px}.dashboard-layout .sidebar-backdrop{display:none}.dashboard-layout .main-content{background:var(--bg-primary);flex:1;padding:24px;overflow-y:auto}.dashboard-layout .subscription-banner{color:var(--text-primary);background:#f59e0b1a;border:1px solid #f59e0b4d;border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;padding:12px 16px;font-size:14px;display:flex}.dashboard-layout .subscription-banner.expired{background:#ef44441a;border-color:#ef44444d}.dashboard-layout .subscription-banner.trial{background:#667eea1a;border-color:#667eea4d}.dashboard-layout .subscription-banner a{color:var(--accent-start);white-space:nowrap;font-weight:600}.dashboard-layout .pending-activation{text-align:center;max-width:560px;color:var(--text-primary);border-radius:20px;margin:48px auto;padding:36px 28px}.dashboard-layout .pending-activation .pending-icon{color:var(--accent-start);margin-bottom:16px}.dashboard-layout .pending-activation h2{margin-bottom:12px;font-size:22px}.dashboard-layout .pending-activation p{color:var(--text-muted);margin-bottom:12px;line-height:1.6}.dashboard-layout .pending-activation .pending-plan{color:var(--text-primary);font-weight:600}.dashboard-layout .pending-activation .pending-note{font-size:14px}.dashboard-layout .pending-activation .pending-result{color:var(--text-primary);font-size:14px}.dashboard-layout .pending-activation .pending-result.error{color:var(--danger)}.dashboard-layout .pending-activation .pending-actions{flex-wrap:wrap;justify-content:center;align-items:center;gap:16px;margin-top:24px;display:flex}.dashboard-layout .pending-activation .secondary-link{color:var(--accent-start);font-weight:600;text-decoration:none}.dashboard-layout .pending-activation .spin{animation:1s linear infinite pending-spin}@keyframes pending-spin{to{transform:rotate(360deg)}}@keyframes sidebar-backdrop-in{0%{opacity:0}to{opacity:1}}.dashboard-layout .layout-loading{text-align:center;color:var(--text-muted);padding:48px 0}.dashboard-layout .layout-loading p{margin-bottom:16px}@media (width<=1024px){.dashboard-layout{gap:0;padding:0}.dashboard-layout .sidebar{z-index:100;border-radius:0;height:100dvh;position:fixed;transform:translate(-100%)}.dashboard-layout .sidebar.open{transform:translate(0);box-shadow:10px 0 40px #0000004d}.dashboard-layout .sidebar-header .mobile-close{display:block}.dashboard-layout .sidebar-backdrop{z-index:99;-webkit-tap-highlight-color:transparent;background:#0f172a73;animation:.2s sidebar-backdrop-in;display:block;position:fixed;inset:0}.dashboard-layout .topbar .user-profile{gap:0;padding-left:10px}.dashboard-layout .main-wrapper{border:none;border-radius:0;height:100vh}.dashboard-layout .topbar{padding:0 16px}.dashboard-layout .topbar .mobile-menu-btn{display:block}.dashboard-layout .topbar .user-info{display:none!important}.dashboard-layout .main-content{padding:16px}}@media (width<=600px){.dashboard-layout .topbar .notification-panel{width:auto;position:fixed;top:74px;left:16px;right:16px}}@media (width<=380px){.dashboard-layout .topbar{padding:0 10px}.dashboard-layout .topbar .topbar-right{gap:6px}.dashboard-layout .topbar .icon-btn{width:34px;height:34px}.dashboard-layout .topbar .lang-select{padding:6px 4px}.dashboard-layout .topbar .user-profile{padding-left:6px}.dashboard-layout .topbar .user-profile .avatar{width:34px;height:34px}}.pending-activation .pending-branch{color:var(--accent-start);font-weight:600}.pending-activation.cancelled-notice .pending-icon{color:var(--danger)}.branch-switcher{border:1px solid var(--border-color);background:var(--bg-surface);max-width:260px;color:var(--text-secondary);border-radius:10px;align-items:center;gap:6px;padding:0 10px;display:inline-flex}.branch-switcher .branch-select{min-width:0;max-width:220px;color:var(--text-primary);text-overflow:ellipsis;cursor:pointer;background:0 0;border:none;padding:8px 0;font-family:inherit;font-size:13px;font-weight:600}.branch-switcher .branch-select:focus-visible{outline:2px solid var(--accent-start);outline-offset:2px}.branch-switcher .branch-select option{background:var(--bg-surface);color:var(--text-primary)}.branch-switcher.bar{display:none}@media (width<=768px){.branch-switcher.topbar{display:none}.branch-switcher.bar{max-width:none;margin-bottom:16px;padding:0 12px;display:flex}.branch-switcher.bar .branch-select{flex:1;max-width:none;min-height:44px;font-size:14px}}.plan-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;max-width:820px;margin:0 auto;display:grid}@media (width<=760px){.plan-cards{grid-template-columns:minmax(0,1fr)}}.plan-cards .plan-card{background:var(--bg-card);border:2px solid var(--border-color);border-radius:18px;flex-direction:column;gap:14px;min-width:0;padding:24px;transition:border-color .2s,box-shadow .2s;display:flex;position:relative}.plan-cards .plan-card[role=radio]{cursor:pointer}.plan-cards .plan-card[role=radio]:hover{border-color:var(--accent-start)}.plan-cards .plan-card[role=radio]:focus-visible{outline:2px solid var(--accent-start);outline-offset:2px}.plan-cards .plan-card.selected{border-color:var(--accent-start);box-shadow:0 10px 30px #667eea33}.plan-cards .plan-card .plan-badge{color:#fff;background:#f59e0b;border-radius:999px;padding:3px 10px;font-size:12px;font-weight:600;position:absolute;top:-12px;right:16px}.plan-cards .plan-card .plan-head{align-items:center;gap:10px;display:flex}.plan-cards .plan-card .plan-head h3{color:var(--text-primary);margin:0;font-size:20px;font-weight:700}.plan-cards .plan-card .plan-icon{width:38px;height:38px;color:var(--accent-start);background:#667eea1f;border-radius:10px;justify-content:center;align-items:center;display:inline-flex}.plan-cards .plan-card.pro .plan-icon{color:#8b5cf6;background:#8b5cf61f}.plan-cards .plan-card .plan-price{color:var(--text-primary);flex-wrap:wrap;align-items:baseline;gap:6px;font-size:26px;font-weight:800;display:flex}.plan-cards .plan-card .plan-price span{color:var(--text-muted);font-size:13px;font-weight:500}.plan-cards .plan-card .plan-features{flex-direction:column;flex:1;gap:10px;margin:0;padding:0;list-style:none;display:flex}.plan-cards .plan-card .plan-features li{color:var(--text-secondary);align-items:flex-start;gap:10px;font-size:14px;display:flex}.plan-cards .plan-card .plan-features li svg{color:#10b981;flex-shrink:0;margin-top:2px}.plan-cards .plan-card .plan-features li.off,.plan-cards .plan-card .plan-features li.off svg{color:var(--text-muted)}.plan-cards .plan-card .plan-features li .plan-soon{white-space:nowrap;vertical-align:1px;color:#b45309;background:#f59e0b24;border:1px solid #f59e0b59;border-radius:999px;margin-left:6px;padding:1px 8px;font-size:11px;font-weight:600;line-height:18px;display:inline-block}.plan-cards .plan-card button{justify-content:center;width:100%}.plan-cards.compact{grid-template-columns:minmax(0,1fr);gap:12px}.plan-cards.compact .plan-card{gap:10px;padding:16px}.plan-cards.compact .plan-card .plan-head h3{font-size:17px}.plan-cards.compact .plan-card .plan-price{font-size:20px}.plan-cards.compact .plan-card .plan-features li{font-size:13px}:root.dark .plan-cards .plan-card .plan-features li .plan-soon{color:#fbbf24}.feature-locked{text-align:center;max-width:520px;color:var(--text-secondary);border-radius:18px;flex-direction:column;align-items:center;gap:12px;margin:40px auto;padding:32px;display:flex}.feature-locked h3{color:var(--text-primary);margin:0}.feature-locked p{margin:0}.feature-locked .feature-locked-hint{color:var(--text-muted);font-size:14px}.plan-cards .plan-cards-choices{display:contents}.plan-cards.with-upcoming:not(.compact){grid-template-columns:repeat(3,minmax(0,1fr));max-width:1180px}@media (width<=1100px){.plan-cards.with-upcoming:not(.compact){grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=760px){.plan-cards.with-upcoming:not(.compact){grid-template-columns:minmax(0,1fr)}}.plan-cards .plan-card.upcoming{background:radial-gradient(circle at 50% 0%, #f59e0b2e, transparent 60%), linear-gradient(160deg, #f59e0b14, #8b5cf629), var(--bg-card);cursor:default;border-style:dashed;border-color:#f59e0b73;justify-content:center;min-height:320px;overflow:hidden}.plan-cards .plan-card.upcoming .plan-badge.soon{z-index:2;background:linear-gradient(135deg,#f59e0b,#8b5cf6);top:14px;right:14px}.plan-cards .plan-card.upcoming .ultra-glow{pointer-events:none;background:radial-gradient(circle,#8b5cf647,#0000 70%);border-radius:50%;width:220px;height:220px;animation:4s ease-in-out infinite ultra-pulse;position:absolute;top:50%;left:50%;transform:translate(-50%,-60%)}.plan-cards .plan-card.upcoming .ultra-spark{color:#fbbf24;opacity:.8;pointer-events:none;animation:3s ease-in-out infinite ultra-twinkle;position:absolute}.plan-cards .plan-card.upcoming .ultra-spark.s1{top:18%;left:14%}.plan-cards .plan-card.upcoming .ultra-spark.s2{animation-delay:1s;top:30%;right:16%}.plan-cards .plan-card.upcoming .ultra-spark.s3{animation-delay:2s;bottom:18%;left:22%}.plan-cards .plan-card.upcoming .ultra-body{z-index:1;text-align:center;flex-direction:column;align-items:center;gap:12px;display:flex;position:relative}.plan-cards .plan-card.upcoming .ultra-body h3{background:linear-gradient(135deg,#f59e0b,#a855f7);color:#0000;-webkit-background-clip:text;background-clip:text;margin:0;font-size:24px;font-weight:800}.plan-cards .plan-card.upcoming .ultra-crown{color:#fff;background:linear-gradient(135deg,#f59e0b,#8b5cf6);border-radius:22px;justify-content:center;align-items:center;width:72px;height:72px;display:inline-flex;box-shadow:0 12px 30px #8b5cf659}.plan-cards .plan-card.upcoming .plan-upcoming-text{max-width:260px;color:var(--text-primary);margin:0;font-size:18px;font-weight:700;line-height:1.35}.plan-cards .plan-card.upcoming .ultra-locked{flex-direction:column;gap:10px;width:100%;max-width:260px;margin:6px 0 0;padding:0;list-style:none;display:flex}.plan-cards .plan-card.upcoming .ultra-locked li{color:var(--text-muted,#94a3b8);align-items:center;gap:10px;display:flex}.plan-cards .plan-card.upcoming .ultra-locked li svg{flex-shrink:0}.plan-cards .plan-card.upcoming .ultra-locked li span{background:linear-gradient(90deg,#94a3b859,#94a3b81f);border-radius:999px;height:8px}.plan-cards .plan-card.upcoming .plan-upcoming-note{color:#f59e0b;background:#f59e0b1f;border-radius:999px;margin:4px 0 0;padding:4px 12px;font-size:13px;font-weight:600}@keyframes ultra-pulse{0%,to{opacity:.7;transform:translate(-50%,-60%)scale(1)}50%{opacity:1;transform:translate(-50%,-60%)scale(1.12)}}@keyframes ultra-twinkle{0%,to{opacity:.25;transform:scale(.85)}50%{opacity:.9;transform:scale(1.1)}}@media (prefers-reduced-motion:reduce){.plan-cards .plan-card.upcoming .ultra-glow,.plan-cards .plan-card.upcoming .ultra-spark{animation:none}}.leaflet-pane,.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile-container,.leaflet-pane>svg,.leaflet-pane>canvas,.leaflet-zoom-box,.leaflet-image-layer,.leaflet-layer{position:absolute;top:0;left:0}.leaflet-container{overflow:hidden}.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow{-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-tile::selection{background:0 0}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{-webkit-transform-origin:0 0;width:1600px;height:1600px}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg{max-width:none!important;max-height:none!important}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer,.leaflet-container .leaflet-tile{width:auto;padding:0;max-width:none!important;max-height:none!important}.leaflet-container img.leaflet-tile{mix-blend-mode:plus-lighter}.leaflet-container.leaflet-touch-zoom{-ms-touch-action:pan-x pan-y;touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{-ms-touch-action:pinch-zoom;touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{-ms-touch-action:none;touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:#33b5e566}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{box-sizing:border-box;z-index:800;width:0;height:0}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{z-index:800;pointer-events:visiblePainted;pointer-events:auto;position:relative}.leaflet-top,.leaflet-bottom{z-index:1000;pointer-events:none;position:absolute}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-popup{opacity:0;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{transform-origin:0 0}svg.leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{-webkit-transition:-webkit-transform .25s cubic-bezier(0,0,.25,1);-moz-transition:-moz-transform .25s cubic-bezier(0,0,.25,1);transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-zoom-anim .leaflet-tile,.leaflet-pan-anim .leaflet-tile{transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-popup-pane,.leaflet-control{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-image-layer,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-marker-icon.leaflet-interactive,.leaflet-image-layer.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{outline-offset:1px;background:#ddd}.leaflet-container a{color:#0078a8}.leaflet-zoom-box{background:#ffffff80;border:2px dotted #38f}.leaflet-container{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-size:.75rem;line-height:1.5}.leaflet-bar{border-radius:4px;box-shadow:0 1px 5px #000000a6}.leaflet-bar a{text-align:center;color:#000;background-color:#fff;border-bottom:1px solid #ccc;width:26px;height:26px;line-height:26px;text-decoration:none;display:block}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50%;background-repeat:no-repeat;display:block}.leaflet-bar a:hover,.leaflet-bar a:focus{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom:none;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.leaflet-bar a.leaflet-disabled{cursor:default;color:#bbb;background-color:#f4f4f4}.leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-right-radius:2px;border-bottom-left-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{text-indent:1px;font:700 18px Lucida Console,Monaco,monospace}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{background:#fff;border-radius:5px;box-shadow:0 1px 5px #0006}.leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);width:36px;height:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{width:44px;height:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{color:#333;background:#fff;padding:6px 10px 6px 6px}.leaflet-control-layers-scrollbar{padding-right:5px;overflow:hidden scroll}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{font-size:1.08333em;display:block}.leaflet-control-layers-separator{border-top:1px solid #ddd;height:0;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=)}.leaflet-container .leaflet-control-attribution{background:#fffc;margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{color:#333;padding:0 5px;line-height:1.4}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:hover,.leaflet-control-attribution a:focus{text-decoration:underline}.leaflet-attribution-flag{width:1em;height:.6669em;vertical-align:baseline!important;display:inline!important}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{white-space:nowrap;box-sizing:border-box;text-shadow:1px 1px #fff;background:#fffc;border:2px solid #777;border-top:none;padding:2px 5px 1px;line-height:1.1}.leaflet-control-scale-line:not(:first-child){border-top:2px solid #777;border-bottom:none;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{box-shadow:none}.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{background-clip:padding-box;border:2px solid #0003}.leaflet-popup{text-align:center;margin-bottom:20px;position:absolute}.leaflet-popup-content-wrapper{text-align:left;border-radius:12px;padding:1px}.leaflet-popup-content{min-height:1px;margin:13px 24px 13px 20px;font-size:1.08333em;line-height:1.3}.leaflet-popup-content p{margin:1.3em 0}.leaflet-popup-tip-container{pointer-events:none;width:40px;height:20px;margin-top:-1px;margin-left:-20px;position:absolute;left:50%;overflow:hidden}.leaflet-popup-tip{pointer-events:auto;width:17px;height:17px;margin:-10px auto 0;padding:1px;transform:rotate(45deg)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{color:#333;background:#fff;box-shadow:0 3px 14px #0006}.leaflet-container a.leaflet-popup-close-button{text-align:center;color:#757575;background:0 0;border:none;width:24px;height:24px;font:16px/24px Tahoma,Verdana,sans-serif;text-decoration:none;position:absolute;top:0;right:0}.leaflet-container a.leaflet-popup-close-button:hover,.leaflet-container a.leaflet-popup-close-button:focus{color:#585858}.leaflet-popup-scrolled{overflow:auto}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";width:24px;filter:progid:DXImageTransform.Microsoft.Matrix(M11=.707107, M12=.707107, M21=-.707107, M22=.707107);margin:0 auto}.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{color:#222;white-space:nowrap;-webkit-user-select:none;user-select:none;pointer-events:none;background-color:#fff;border:1px solid #fff;border-radius:3px;padding:6px;position:absolute;box-shadow:0 1px 3px #0006}.leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}.leaflet-tooltip-top:before,.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{pointer-events:none;content:"";background:0 0;border:6px solid #0000;position:absolute}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{margin-left:-6px;left:50%}.leaflet-tooltip-top:before{border-top-color:#fff;margin-bottom:-12px;bottom:0}.leaflet-tooltip-bottom:before{border-bottom-color:#fff;margin-top:-12px;margin-left:-6px;top:0}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{margin-top:-6px;top:50%}.leaflet-tooltip-left:before{border-left-color:#fff;margin-right:-12px;right:0}.leaflet-tooltip-right:before{border-right-color:#fff;margin-left:-12px;left:0}@media print{.leaflet-control{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.location-picker,.location-view{flex-direction:column;gap:8px;min-width:0;display:flex}.location-label{color:var(--text-secondary);font-size:14px;font-weight:600}.location-map{border:1px solid var(--border-color);z-index:0;border-radius:12px;width:100%;height:260px;position:relative;overflow:hidden}.location-map:focus-visible{outline:2px solid var(--accent-start);outline-offset:2px}.location-tools{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.location-btn{border:1px solid var(--border-color);color:var(--text-secondary);cursor:pointer;background:0 0;border-radius:10px;align-items:center;gap:6px;padding:7px 12px;font-family:inherit;font-size:13px;font-weight:600;display:inline-flex}.location-btn:hover:not(:disabled){border-color:var(--accent-start);color:var(--accent-start)}.location-btn:disabled{opacity:.6;cursor:wait}.location-state{color:var(--warning);font-size:13px}.location-state.set{color:var(--success)}.location-error{color:var(--danger);margin:0;font-size:13px;line-height:1.5}.location-note{margin:0;font-size:13px;line-height:1.5}.location-note:empty{display:none}.location-note.ok{color:#047857}.location-note.warn{color:#b45309}:root.dark .location-note.ok{color:var(--success)}:root.dark .location-note.warn{color:var(--warning)}.location-links{flex-wrap:wrap;gap:14px;display:flex}.location-links a{color:var(--accent-start);align-items:center;gap:5px;font-size:13px;font-weight:600;text-decoration:none;display:inline-flex}.location-links a:hover{text-decoration:underline}.location-pin span{background:linear-gradient(135deg, var(--accent-start,#667eea), var(--accent-end,#764ba2));border:3px solid #fff;border-radius:50% 50% 50% 0;width:28px;height:28px;display:block;transform:rotate(-45deg);box-shadow:0 2px 8px #00000059}@media (width<=600px){.location-map{height:220px}}.area-fields{min-width:0;container-type:inline-size}.area-fields-set{border:0;min-width:0;margin:0;padding:0}.area-fields-legend{color:var(--text-primary);margin-bottom:8px;padding:0;font-size:14px;font-weight:700}.area-fields-grid{grid-template-columns:minmax(0,1fr);gap:10px;display:grid}@container (width>=600px){.area-fields-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}.area-field{flex-direction:column;gap:6px;min-width:0;display:flex}.area-field label{color:var(--text-secondary);font-size:13px;font-weight:600}.area-field select.form-input{text-overflow:ellipsis;cursor:pointer;min-height:44px}.area-field select.form-input:disabled{opacity:.6;cursor:not-allowed}.area-field select.form-input[aria-invalid=true]{border-color:var(--danger);box-shadow:0 0 0 3px #ef44441f}:root.dark .area-field select{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.area-fields-error{color:var(--danger);margin:8px 0 0;font-size:13px;font-weight:600}@media (width<=600px){.area-field select.form-input{font-size:16px}}.auth-page{background:var(--bg-primary);min-height:100vh;display:flex;position:relative;overflow:clip}.auth-bg{pointer-events:none;z-index:0;position:absolute;inset:0}.auth-orb{filter:blur(100px);opacity:.3;border-radius:50%;animation:10s ease-in-out infinite float;position:absolute}.auth-orb-1{width:400px;height:400px;top:20%;right:10%}.auth-orb-2{background:radial-gradient(circle,#764ba24d,#0000 70%);width:300px;height:300px;animation-delay:-4s;bottom:10%;right:30%}.auth-banner{flex-shrink:0;justify-content:center;align-self:flex-start;align-items:center;width:45%;height:100vh;display:flex;position:sticky;top:0;overflow:hidden}@media (width<=900px){.auth-banner{display:none}}.banner-content{text-align:center;color:#fff;z-index:2;padding:40px;position:relative}.banner-icon-wrap{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fff3;border-radius:24px;justify-content:center;align-items:center;width:80px;height:80px;margin:0 auto 24px;animation:4s ease-in-out infinite float;display:flex}.banner-title{letter-spacing:-1px;margin-bottom:12px;font-size:36px;font-weight:900}.banner-subtitle{opacity:.85;max-width:300px;margin:0 auto;font-size:16px;line-height:1.5}.banner-decoration{z-index:0;pointer-events:none;position:absolute;inset:0}.deco-circle{border:1px solid #ffffff26;border-radius:50%;position:absolute}.deco-1{width:300px;height:300px;top:-50px;left:-80px}.deco-2{width:200px;height:200px;bottom:50px;right:-60px}.deco-3{width:150px;height:150px;top:60%;left:20%}.auth-form-panel{z-index:1;flex-direction:column;flex:1;justify-content:center;min-width:0;padding:96px 60px 40px;display:flex;position:relative}@media (width<=900px){.auth-form-panel{padding:84px 24px 24px}}.back-btn{border:1px solid var(--border-color);background:var(--bg-card);color:var(--text-secondary);cursor:pointer;border-radius:12px;align-items:center;gap:8px;padding:8px 16px;font-family:inherit;font-size:13px;font-weight:500;transition:all .2s;display:flex;position:absolute;top:28px;left:28px}.back-btn:hover{border-color:var(--accent-start);color:var(--accent-start)}.form-container{width:100%;max-width:420px;margin:0 auto}.role-indicator{background:var(--bg-card);border:1px solid var(--border-color);color:var(--text-secondary);border-radius:100px;align-items:center;gap:10px;margin-bottom:20px;padding:6px 16px 6px 6px;font-size:13px;font-weight:600;display:inline-flex}:root.dark .role-indicator{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#1a214099}.role-indicator-icon{border-radius:50%;justify-content:center;align-items:center;width:28px;height:28px;display:flex}.form-title{color:var(--text-primary);letter-spacing:-.5px;margin-bottom:24px;font-size:28px;font-weight:800}.tab-switcher{background:var(--bg-surface);border:1px solid var(--border-color);border-radius:14px;margin-bottom:24px;padding:4px;display:flex;position:relative}:root.dark .tab-switcher{background:#121829cc}.tab-slider{background:linear-gradient(135deg, var(--accent-start), var(--accent-end));z-index:0;border-radius:10px;width:calc(50% - 4px);height:calc(100% - 8px);transition:transform .3s cubic-bezier(.4,0,.2,1);position:absolute;top:4px;left:4px}.tab-btn{cursor:pointer;z-index:1;color:var(--text-muted);background:0 0;border:none;border-radius:10px;flex:1;padding:10px;font-family:inherit;font-size:14px;font-weight:600;transition:color .3s;position:relative}.tab-btn.active{color:#fff}.google-btn{border:1px solid var(--border-color);background:var(--bg-card);width:100%;color:var(--text-primary);cursor:pointer;border-radius:12px;justify-content:center;align-items:center;gap:10px;margin-bottom:20px;padding:12px;font-family:inherit;font-size:14px;font-weight:600;transition:all .2s;display:flex}:root.dark .google-btn{background:#1a214080}.google-btn:hover{box-shadow:var(--shadow-md);transform:translateY(-1px)}.divider{color:var(--text-muted);align-items:center;gap:16px;margin-bottom:20px;font-size:12px;display:flex}.divider:before,.divider:after{content:"";background:var(--border-color);flex:1;height:1px}.input-group{margin-bottom:14px;position:relative}.input-icon{color:var(--text-muted);pointer-events:none;position:absolute;top:50%;left:14px;transform:translateY(-50%)}.input-group input{border:1px solid var(--border-color);background:var(--bg-surface);width:100%;color:var(--text-primary);border-radius:12px;outline:none;padding:12px 16px 12px 42px;font-family:inherit;font-size:14px;transition:all .2s}:root.dark .input-group input{background:#12182999}.input-group input:focus{border-color:var(--accent-start);box-shadow:0 0 0 3px #667eea1f}.input-group input::placeholder{color:var(--text-muted)}.submit-btn{color:#fff;cursor:pointer;border:none;border-radius:14px;width:100%;margin-top:8px;padding:14px;font-family:inherit;font-size:15px;font-weight:700;transition:all .3s;box-shadow:0 4px 20px #667eea4d}.submit-btn:hover{transform:translateY(-2px);box-shadow:0 8px 32px #667eea80}.switch-text{text-align:center;color:var(--text-muted);margin-top:20px;font-size:13px}.switch-link{color:var(--accent-start);cursor:pointer;background:0 0;border:none;margin-left:4px;font-family:inherit;font-size:13px;font-weight:600}.switch-link:hover{text-decoration:underline}.register-plans{flex-direction:column;gap:8px;margin:4px 0 8px;display:flex}.register-plans .register-plans-title{color:var(--text-primary);font-weight:700}.register-plans .register-plans-hint{color:var(--text-muted);margin:0 0 4px;font-size:13px}.auth-consent{--consent-link:#4f46e5;--consent-error:#b91c1c;margin:2px 0 8px}.auth-consent .auth-consent-label{color:var(--text-primary);cursor:pointer;align-items:flex-start;gap:10px;font-size:14px;line-height:1.45;display:flex}.auth-consent input{width:18px;height:18px;accent-color:var(--accent-start);cursor:pointer;flex:none;margin:1px 0 0}.auth-consent input:focus-visible{outline:2px solid var(--accent-start);outline-offset:2px}.auth-consent.has-error input{outline:2px solid var(--consent-error);outline-offset:2px}.auth-consent a{color:var(--consent-link);text-underline-offset:2px;font-weight:600;text-decoration:underline}.auth-consent a:hover,.auth-consent a:focus-visible{text-decoration-thickness:2px}.auth-consent .auth-consent-error{color:var(--consent-error);margin:6px 0 0 28px;font-size:13px;font-weight:500;line-height:1.4}.auth-consent-note{color:#3730a3;background:#eef2ff;border:1px solid #c7d2fe;border-radius:8px;margin:0 0 10px;padding:10px 12px;font-size:13px;line-height:1.45}:root.dark .auth-consent-note{color:#c7d2fe;background:#6366f124;border-color:#818cf859}:root.dark .auth-consent{--consent-link:#a5b4fc;--consent-error:#fca5a5}:root.dark .auth-consent input{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.auth-privacy{text-align:center;margin-top:24px;font-size:13px}.auth-privacy a{color:var(--text-secondary);border-bottom:1px solid #0000;font-weight:600;text-decoration:none;transition:color .2s,border-color .2s}.auth-privacy a:hover,.auth-privacy a:focus-visible{color:var(--accent-start);border-bottom-color:currentColor}.auth-form .location-picker{margin:2px 0 6px}.auth-form>.area-fields{margin:2px 0 14px}.register-branches{border:none;flex-direction:column;gap:10px;min-width:0;margin:4px 0 8px;padding:0;display:flex}.register-branches legend{color:var(--text-primary);margin-bottom:8px;font-weight:700}.register-branches .branch-choice{gap:8px;display:flex}.register-branches .branch-choice label{border:1px solid var(--border-color);color:var(--text-primary);cursor:pointer;border-radius:12px;flex:1;justify-content:center;align-items:center;gap:8px;padding:10px 12px;font-weight:600;display:flex}.register-branches .branch-choice label.checked{border-color:var(--accent-start);background:#667eea1a}.register-branches .branch-choice label:focus-within{outline:2px solid var(--accent-start);outline-offset:2px}.register-branches .branch-choice label input{accent-color:var(--accent-start)}.register-branches .branch-count{color:var(--text-secondary);justify-content:space-between;align-items:center;gap:12px;font-size:14px;display:flex}.register-branches .branch-count input{border:1px solid var(--border-color);background:var(--bg-primary);width:72px;color:var(--text-primary);text-align:center;border-radius:10px;padding:8px 10px;font-family:inherit;font-size:16px;font-weight:700}.register-branches .branch-note{color:var(--text-muted);margin:0;font-size:13px}.register-branches .register-branch-list{flex-direction:column;gap:8px;display:flex}.register-branches .register-branch{border:1px solid var(--border-color);border-radius:12px;overflow:hidden}.register-branches .register-branch.open{border-color:var(--accent-start)}.register-branches .register-branch.open .branch-fields{padding:10px 12px 12px}.register-branches .register-branch-head{width:100%;color:var(--text-primary);text-align:left;cursor:pointer;background:0 0;border:none;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;font-family:inherit;font-size:14px;font-weight:600;display:flex}.register-branches .register-branch-head span:first-child{overflow-wrap:anywhere;min-width:0}.register-branches .register-branch-state{color:var(--warning);flex-shrink:0;font-size:12px}.register-branches .register-branch-state.done{color:var(--success)}.register-branches .branch-fields .form-group label{color:var(--text-secondary);margin-bottom:4px;font-size:13px;display:block}.date-input{width:100%;min-width:0;display:block;position:relative}.date-input>input.date-input-text{font-variant-numeric:tabular-nums;width:100%}.date-input>input.date-input-text[aria-invalid=true]{border-color:#dc2626}.date-input:not(.time-input)>input.date-input-text{padding-right:2.75rem}.date-input .date-input-picker-btn{width:32px;height:32px;color:var(--text-secondary);cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;padding:0;display:inline-flex;position:absolute;top:50%;right:6px;transform:translateY(-50%)}.date-input .date-input-picker-btn:hover:not(:disabled){background:var(--bg-primary);color:var(--text-primary)}.date-input .date-input-picker-btn:focus-visible{outline:2px solid var(--accent-start,#2563eb);outline-offset:1px}.date-input .date-input-picker-btn:disabled{cursor:not-allowed;opacity:.5}.date-input .date-input-native{opacity:0;pointer-events:none;border:0;width:1px;height:1px;padding:0;position:absolute;bottom:0;left:0}.chart-section.ai-analysis [hidden]{display:none!important}.chart-section.ai-analysis .ai-title{align-items:center;gap:8px;display:flex}.chart-section.ai-analysis .ai-more-link{color:var(--accent-start);font-weight:600}.chart-section.ai-analysis .chart-header p.chart-subtitle.ai-schedule{margin-top:.4rem}.chart-section.ai-analysis .ai-warning,.chart-section.ai-analysis .ai-notice,.chart-section.ai-analysis .ai-empty{border-radius:12px;align-items:flex-start;gap:10px;padding:12px 14px;font-size:14px;line-height:1.5;display:flex}.chart-section.ai-analysis .ai-warning svg,.chart-section.ai-analysis .ai-notice svg,.chart-section.ai-analysis .ai-empty svg{flex-shrink:0;margin-top:1px}.chart-section.ai-analysis .ai-warning{color:#b45309;background:#f59e0b1f;border:1px solid #f59e0b59;margin-bottom:1rem}.chart-section.ai-analysis .ai-notice{color:var(--text-secondary);background:var(--bg-primary);border:1px solid var(--border-color);margin-bottom:1rem}.chart-section.ai-analysis .ai-empty{color:var(--text-secondary);border:1px dashed var(--border-color);padding:1.25rem}.chart-section.ai-analysis .ai-empty svg{color:var(--accent-start)}.chart-section.ai-analysis .ai-tabs{border:1px solid var(--border-color);background:var(--bg-primary);border-radius:10px;max-width:100%;margin-bottom:1rem;display:inline-flex;overflow:hidden}.chart-section.ai-analysis .ai-tabs button{color:var(--text-secondary);white-space:nowrap;cursor:pointer;background:0 0;border:none;flex:auto;padding:.55rem 1rem;font-size:.85rem;font-weight:600}.chart-section.ai-analysis .ai-tabs button:hover{color:var(--text-primary)}.chart-section.ai-analysis .ai-tabs button:focus-visible{outline:2px solid var(--accent-start);outline-offset:-2px}.chart-section.ai-analysis .ai-tabs button.active{background:linear-gradient(135deg, var(--accent-start), var(--accent-end));color:#fff}.chart-section.ai-analysis .ai-tab-panel{border-radius:14px}.chart-section.ai-analysis .ai-tab-panel:focus-visible{outline:2px solid var(--accent-start);outline-offset:2px}.chart-section.ai-analysis .ai-result{background:var(--bg-primary);border:1px solid var(--border-color);border-radius:14px;padding:1.25rem}@media (width<=640px){.chart-section.ai-analysis .ai-result{padding:1rem}}.chart-section.ai-analysis .ai-result .ai-result-meta{color:var(--text-muted);flex-wrap:wrap;gap:4px 16px;margin-bottom:.75rem;font-size:13px;display:flex}.chart-section.ai-analysis .ai-result .ai-result-text{white-space:pre-wrap;overflow-wrap:anywhere;color:var(--text-primary);font-size:15px;line-height:1.6}.chart-section.ai-analysis .ai-small-note{color:var(--text-muted);margin:.75rem 0 0;font-size:13px}.chart-section.ai-analysis .ai-history{border-top:1px solid var(--border-color);margin-top:1.25rem;padding-top:1rem}.chart-section.ai-analysis .ai-history-toggle,.chart-section.ai-analysis .ai-history-item{width:100%;color:var(--text-primary);font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;align-items:center;gap:10px;display:flex}.chart-section.ai-analysis .ai-history-toggle:focus-visible,.chart-section.ai-analysis .ai-history-item:focus-visible{outline:2px solid var(--accent-start);outline-offset:2px}.chart-section.ai-analysis .ai-history-toggle .ai-chevron,.chart-section.ai-analysis .ai-history-item .ai-chevron{color:var(--text-muted);flex-shrink:0;margin-left:auto;transition:transform .2s}.chart-section.ai-analysis .ai-history-toggle[aria-expanded=true] .ai-chevron,.chart-section.ai-analysis .ai-history-item[aria-expanded=true] .ai-chevron{transform:rotate(180deg)}.chart-section.ai-analysis .ai-history-toggle{padding:.25rem 0;font-size:1rem;font-weight:700}.chart-section.ai-analysis .ai-history-toggle .ai-history-count{color:var(--text-muted);font-weight:600}.chart-section.ai-analysis .ai-history-list{flex-direction:column;gap:8px;margin:.75rem 0 0;padding:0;list-style:none;display:flex}.chart-section.ai-analysis .ai-history-list>li{flex-direction:column;gap:8px;display:flex}.chart-section.ai-analysis .ai-history-item{border:1px solid var(--border-color);background:var(--bg-primary);border-radius:12px;flex-wrap:wrap;padding:.7rem .9rem;font-size:14px}.chart-section.ai-analysis .ai-history-item strong{font-weight:700}.chart-section.ai-analysis .ai-history-item span{color:var(--text-muted);font-size:13px}.chart-section.ai-analysis .ai-history-item:hover{border-color:var(--accent-start)}.rank-place{min-width:30px;height:30px;color:var(--text-secondary);background:var(--bg-primary);border:1px solid var(--border-color);border-radius:999px;justify-content:center;align-items:center;padding:0 8px;font-size:13px;font-weight:700;display:inline-flex}.rank-place.gold{color:#7a5200;background:linear-gradient(135deg,#fde68a,#f5b301);border-color:#e0a400}.rank-place.silver{color:#3f4652;background:linear-gradient(135deg,#f1f5f9,#c2c9d3);border-color:#aab3bf}.rank-place.bronze{color:#5c2f0e;background:linear-gradient(135deg,#f3c39a,#cd7f32);border-color:#b86f2a}.rank-place.none{color:var(--text-muted);border-style:dashed}.director-dashboard{flex-direction:column;gap:2rem;display:flex}@media (width<=600px){.director-dashboard{gap:1.25rem}}.director-dashboard .dashboard-header h1{margin:0}@media (width<=600px){.director-dashboard .dashboard-header .dashboard-actions{width:100%}.director-dashboard .dashboard-header .dashboard-actions>button{white-space:nowrap;flex:auto;justify-content:center;padding:10px 14px}.director-dashboard .dashboard-header .dashboard-actions>button svg{flex-shrink:0}}.director-dashboard .stats-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem;display:grid}@media (width<=600px){.director-dashboard .stats-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:1rem}}.director-dashboard .dashboard-content{grid-template-columns:minmax(0,1fr);gap:1.5rem;display:grid}.director-dashboard .dashboard-content .chart-section{min-width:0;padding:2rem}@media (width<=640px){.director-dashboard .dashboard-content .chart-section{padding:1.25rem 1rem}}.director-dashboard .dashboard-content .chart-section .chart-header{border-bottom:1px solid var(--border-color);flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:1.5rem;margin-bottom:1.25rem;padding-bottom:1.25rem;display:flex}@media (width<=600px){.director-dashboard .dashboard-content .chart-section .chart-header{gap:1rem;margin-bottom:1rem;padding-bottom:1rem}}.director-dashboard .dashboard-content .chart-section .chart-header .live-badge{color:#10b981;border:1px solid #10b981;border-radius:999px;padding:1px 8px;font-size:11px;font-weight:600}.director-dashboard .dashboard-content .chart-section .chart-header h3{color:var(--text-primary);margin:0 0 .5rem;font-size:1.35rem}@media (width<=600px){.director-dashboard .dashboard-content .chart-section .chart-header h3{font-size:1.15rem}}.director-dashboard .dashboard-content .chart-section .chart-header .chart-subtitle{color:var(--text-muted);margin:0;font-size:.9rem}.director-dashboard .dashboard-content .chart-section .chart-header .chart-tabs{flex-wrap:wrap;gap:.5rem;display:flex}.director-dashboard .dashboard-content .chart-section .chart-header .chart-tabs .chart-tab{background:var(--bg-primary);border:1px solid var(--border-color);color:var(--text-secondary);cursor:pointer;border-radius:10px;align-items:center;gap:.5rem;padding:.65rem 1rem;font-size:.85rem;font-weight:600;transition:all .2s;display:flex}.director-dashboard .dashboard-content .chart-section .chart-header .chart-tabs .chart-tab:hover{border-color:var(--accent-start);color:var(--text-primary);background:#ffffff0d}.director-dashboard .dashboard-content .chart-section .chart-header .chart-tabs .chart-tab.active{background:linear-gradient(135deg, var(--accent-start), var(--accent-end));color:#fff;border-color:#0000;box-shadow:0 4px 12px #8b5cf640}.director-dashboard .dashboard-content .chart-section .chart-header .chart-tabs .chart-tab svg{flex-shrink:0}@media (width<=600px){.director-dashboard .dashboard-content .chart-section .chart-header .chart-tabs{overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:none;flex-wrap:nowrap;flex:100%;gap:.4rem;margin:-4px -1rem -8px;padding:4px 1rem 8px;scroll-padding-inline:1rem;overflow-x:auto}.director-dashboard .dashboard-content .chart-section .chart-header .chart-tabs::-webkit-scrollbar{display:none}.director-dashboard .dashboard-content .chart-section .chart-header .chart-tabs .chart-tab{white-space:nowrap;scroll-snap-align:start;flex:none;padding:.55rem .85rem;font-size:.82rem}.director-dashboard .dashboard-content .chart-section .chart-header .chart-tabs .chart-tab.active{box-shadow:0 2px 6px #8b5cf640}}.director-dashboard .dashboard-content .chart-section .chart-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:1.5rem;display:flex}.director-dashboard .dashboard-content .chart-section .chart-toolbar select{background:var(--bg-primary);border:1px solid var(--border-color);color:var(--text-primary);cursor:pointer;border-radius:10px;padding:.5rem .75rem;font-size:.85rem;font-weight:600}.director-dashboard .dashboard-content .chart-section .chart-toolbar select:focus-visible{outline:2px solid var(--accent-start);outline-offset:1px}.director-dashboard .dashboard-content .chart-section .chart-toolbar .period-picker{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.director-dashboard .dashboard-content .chart-section .chart-toolbar .period-picker label{color:var(--text-secondary);align-items:center;gap:.5rem;display:inline-flex}.director-dashboard .dashboard-content .chart-section .chart-toolbar .period-picker .custom-range{color:var(--text-muted);flex-wrap:wrap;align-items:center;gap:.5rem;display:inline-flex}.director-dashboard .dashboard-content .chart-section .chart-toolbar .period-picker .month-select{gap:.25rem;display:inline-flex}.director-dashboard .dashboard-content .chart-section .chart-toolbar .view-toggle{border:1px solid var(--border-color);background:var(--bg-primary);border-radius:10px;display:inline-flex;overflow:hidden}.director-dashboard .dashboard-content .chart-section .chart-toolbar .view-toggle button{color:var(--text-secondary);cursor:pointer;background:0 0;border:none;align-items:center;gap:.4rem;padding:.5rem .9rem;font-size:.85rem;font-weight:600;display:inline-flex}.director-dashboard .dashboard-content .chart-section .chart-toolbar .view-toggle button:hover{color:var(--text-primary)}.director-dashboard .dashboard-content .chart-section .chart-toolbar .view-toggle button.active{background:linear-gradient(135deg, var(--accent-start), var(--accent-end));color:#fff}.director-dashboard .dashboard-content .chart-section .chart-toolbar .view-toggle button svg{flex-shrink:0}@media (width<=600px){.director-dashboard .dashboard-content .chart-section .chart-toolbar{gap:.6rem;margin-bottom:1rem}.director-dashboard .dashboard-content .chart-section .chart-toolbar .period-picker,.director-dashboard .dashboard-content .chart-section .chart-toolbar .period-picker label,.director-dashboard .dashboard-content .chart-section .chart-toolbar .period-picker select{min-width:0;max-width:100%}.director-dashboard .dashboard-content .chart-section .chart-toolbar .view-toggle{flex-shrink:0}.director-dashboard .dashboard-content .chart-section .chart-toolbar .view-toggle button{white-space:nowrap;padding:.5rem .8rem}}.director-dashboard .dashboard-content .chart-section.stats-upsell{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.director-dashboard .dashboard-content .chart-section.stats-upsell>div{flex:1;min-width:220px}.director-dashboard .dashboard-content .chart-section.stats-upsell h3{color:var(--text-primary);margin:0 0 6px}.director-dashboard .dashboard-content .chart-section.stats-upsell .upsell-link{color:var(--accent-start);margin-top:8px;font-size:.9rem;font-weight:600;text-decoration:none;display:inline-block}.director-dashboard .dashboard-content .chart-section.stats-upsell .upsell-link:hover{text-decoration:underline}.director-dashboard .dashboard-content .chart-section.ranking-card .chart-header{align-items:center;margin-bottom:1rem;padding-bottom:1rem}.director-dashboard .dashboard-content .chart-section.ranking-card .chart-header h3{align-items:center;gap:8px;display:flex}.director-dashboard .dashboard-content .chart-section.ranking-card .ranking-card-link{color:var(--accent-start);white-space:nowrap;align-items:center;gap:4px;font-size:.9rem;font-weight:600;text-decoration:none;display:inline-flex}.director-dashboard .dashboard-content .chart-section.ranking-card .ranking-card-link:hover{text-decoration:underline}.director-dashboard .dashboard-content .chart-section.ranking-card .ranking-card-empty{color:var(--text-muted);margin:0;font-size:.9rem}.director-dashboard .dashboard-content .chart-section.ranking-card .ranking-top{flex-direction:column;gap:.6rem;margin:0;padding:0;list-style:none;display:flex}.director-dashboard .dashboard-content .chart-section.ranking-card .ranking-top li{border:1px solid var(--border-color);background:var(--bg-primary);border-radius:12px;align-items:center;gap:12px;padding:.6rem .9rem;display:flex}.director-dashboard .dashboard-content .chart-section.ranking-card .ranking-top .ranking-top-name{min-width:0;color:var(--text-primary);overflow-wrap:anywhere;flex-direction:column;flex:1;font-weight:600;display:flex}.director-dashboard .dashboard-content .chart-section.ranking-card .ranking-top .ranking-top-name small{color:var(--text-muted);font-size:.8rem;font-weight:400}.director-dashboard .dashboard-content .chart-section.ranking-card .ranking-top .ranking-top-score{color:var(--accent-start);font-size:1.15rem;font-weight:800}.director-dashboard .dashboard-content .chart-section .window-note{flex:1;min-width:220px}.director-dashboard .dashboard-content .chart-section .chart-error{color:#ef4444;padding:0 0 1rem}.director-dashboard .dashboard-content .chart-section .chart-body .tab-pane{flex-direction:column;gap:1.5rem;display:flex}.director-dashboard .dashboard-content .chart-section .chart-body .chart-empty{text-align:center;color:var(--text-muted);border:1px dashed var(--border-color);border-radius:14px;padding:1.5rem;font-size:.9rem}@media (width<=600px){.director-dashboard .dashboard-content .chart-section .chart-body .chart-empty{padding:1rem}}.director-dashboard .dashboard-content .chart-section .chart-body .chart-scroll{overflow-x:auto}.director-dashboard .dashboard-content .chart-section .chart-body .stats-table{border-collapse:collapse;width:100%;font-size:.9rem}.director-dashboard .dashboard-content .chart-section .chart-body .stats-table th{text-align:left;color:var(--text-muted);padding:.6rem .75rem;font-weight:600}.director-dashboard .dashboard-content .chart-section .chart-body .stats-table td{border-top:1px solid var(--border-color);color:var(--text-primary);padding:.6rem .75rem}@media (width<=600px){.director-dashboard .dashboard-content .chart-section .chart-body .stats-table{font-size:.85rem}.director-dashboard .dashboard-content .chart-section .chart-body .stats-table th,.director-dashboard .dashboard-content .chart-section .chart-body .stats-table td{white-space:nowrap;padding:.55rem .6rem}}.director-dashboard .dashboard-content .chart-section .chart-body .stats-table .year-row td{background:var(--bg-primary);color:var(--text-secondary);letter-spacing:.3px;font-size:.8rem;font-weight:700}.director-dashboard .dashboard-content .chart-section .chart-body .summary-boxes{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1.25rem;display:grid}.director-dashboard .dashboard-content .chart-section .chart-body .summary-boxes .summary-box{background:var(--bg-primary);border:1px solid var(--border-color);border-radius:14px;flex-direction:column;gap:.5rem;padding:1.25rem;display:flex}.director-dashboard .dashboard-content .chart-section .chart-body .summary-boxes .summary-box .summary-label{color:var(--text-muted);font-size:.85rem}.director-dashboard .dashboard-content .chart-section .chart-body .summary-boxes .summary-box .summary-val{letter-spacing:-.5px;font-size:1.4rem;font-weight:700}@media (width<=600px){.director-dashboard .dashboard-content .chart-section .chart-body .summary-boxes{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:.75rem}.director-dashboard .dashboard-content .chart-section .chart-body .summary-boxes .summary-box{min-width:0;padding:1rem}.director-dashboard .dashboard-content .chart-section .chart-body .summary-boxes .summary-box .summary-val{overflow-wrap:anywhere;font-size:1.2rem}}.director-dashboard .dashboard-content .chart-section .chart-body .css-bar-chart.advanced{border-bottom:1px dashed var(--border-color);justify-content:space-around;align-items:flex-end;gap:1rem;height:240px;padding:.5rem 0 1rem;display:flex}.director-dashboard .dashboard-content .chart-section .chart-body .css-bar-chart.advanced .bar-group-wrapper{flex-direction:column;flex:1;justify-content:flex-end;align-items:center;gap:.75rem;max-width:80px;height:100%;display:flex}.director-dashboard .dashboard-content .chart-section .chart-body .css-bar-chart.advanced .bar-group-wrapper .bars-pair{justify-content:center;align-items:flex-end;gap:8px;width:100%;height:100%;display:flex}.director-dashboard .dashboard-content .chart-section .chart-body .css-bar-chart.advanced .bar-group-wrapper .bars-pair .bar{cursor:pointer;border-radius:6px 6px 0 0;flex:1;transition:height .6s cubic-bezier(.34,1.56,.64,1);position:relative}.director-dashboard .dashboard-content .chart-section .chart-body .css-bar-chart.advanced .bar-group-wrapper .bars-pair .bar:hover{filter:brightness(1.2);transform:scaleY(1.02)}.director-dashboard .dashboard-content .chart-section .chart-body .css-bar-chart.advanced .bar-group-wrapper .bars-pair .rev-bar{background:linear-gradient(#10b981,#059669)}.director-dashboard .dashboard-content .chart-section .chart-body .css-bar-chart.advanced .bar-group-wrapper .bars-pair .exp-bar{background:linear-gradient(#ef4444,#dc2626)}.director-dashboard .dashboard-content .chart-section .chart-body .css-bar-chart.advanced .bar-group-wrapper .bar-label{min-height:2.2rem;color:var(--text-secondary);white-space:nowrap;flex-direction:column;justify-content:flex-start;align-items:center;font-size:.8rem;font-weight:600;line-height:1.2;display:flex}.director-dashboard .dashboard-content .chart-section .chart-body .css-bar-chart.advanced .bar-group-wrapper .bar-label .bar-year{color:var(--text-muted);font-size:.7rem;font-weight:500}.director-dashboard .dashboard-content .chart-section .chart-body .chart-legend{justify-content:center;gap:2rem;margin-top:-.5rem;display:flex}@media (width<=600px){.director-dashboard .dashboard-content .chart-section .chart-body .chart-legend{flex-wrap:wrap;gap:.5rem 1.25rem}}.director-dashboard .dashboard-content .chart-section .chart-body .chart-legend .legend-item{color:var(--text-secondary);align-items:center;gap:.5rem;font-size:.85rem;font-weight:500;display:flex}.director-dashboard .dashboard-content .chart-section .chart-body .chart-legend .legend-item .dot{border-radius:3px;flex-shrink:0;width:12px;height:12px}.director-dashboard .dashboard-content .chart-section .chart-body .chart-legend .legend-item .dot.rev{background:#10b981}.director-dashboard .dashboard-content .chart-section .chart-body .chart-legend .legend-item .dot.exp{background:#ef4444}.director-dashboard .dashboard-content .chart-section .chart-body .progress-list{flex-direction:column;gap:1.25rem;display:flex}.director-dashboard .dashboard-content .chart-section .chart-body .progress-list .progress-item{background:var(--bg-primary);border:1px solid var(--border-color);border-radius:14px;flex-direction:column;gap:.65rem;padding:1.25rem;display:flex}.director-dashboard .dashboard-content .chart-section .chart-body .progress-list .progress-item .progress-info{justify-content:space-between;align-items:center;display:flex}.director-dashboard .dashboard-content .chart-section .chart-body .progress-list .progress-item .progress-info .progress-label{color:var(--text-primary);font-size:.95rem;font-weight:600}.director-dashboard .dashboard-content .chart-section .chart-body .progress-list .progress-item .progress-info .progress-val{color:var(--text-secondary);font-size:.95rem;font-weight:700}.director-dashboard .dashboard-content .chart-section .chart-body .progress-list .progress-item .progress-bar-bg{background:#ffffff14;border-radius:999px;width:100%;height:10px;overflow:hidden}.director-dashboard .dashboard-content .chart-section .chart-body .progress-list .progress-item .progress-bar-bg .progress-bar-fill{border-radius:999px;height:100%;transition:width .8s}.director-dashboard .dashboard-content .chart-section .chart-body .progress-list .progress-item .progress-bar-bg .progress-bar-fill.bg-success{background:linear-gradient(90deg,#059669,#10b981)}.director-dashboard .dashboard-content .chart-section .chart-body .progress-list .progress-item .progress-bar-bg .progress-bar-fill.bg-danger{background:linear-gradient(90deg,#dc2626,#ef4444)}@media (width<=600px){.director-dashboard .dashboard-content .chart-section .chart-body .progress-list{gap:.75rem}.director-dashboard .dashboard-content .chart-section .chart-body .progress-list .progress-item{padding:1rem}.director-dashboard .dashboard-content .chart-section .chart-body .progress-list .progress-info{flex-wrap:wrap;gap:4px 12px}.director-dashboard .dashboard-content .chart-section .chart-body .progress-list .progress-info>:last-child{margin-left:auto}.director-dashboard .dashboard-content .chart-section .chart-body .progress-list .progress-label{overflow-wrap:anywhere;min-width:0}}.director-dashboard .dashboard-content .chart-section .chart-body .profit-cards{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1.5rem;display:grid}.director-dashboard .dashboard-content .chart-section .chart-body .profit-cards .profit-card{background:var(--bg-primary);border:1px solid var(--border-color);border-radius:16px;justify-content:space-between;align-items:center;padding:1.5rem;display:flex;box-shadow:0 4px 15px #0000001a}.director-dashboard .dashboard-content .chart-section .chart-body .profit-cards .profit-card .profit-info{flex-direction:column;gap:.5rem;display:flex}.director-dashboard .dashboard-content .chart-section .chart-body .profit-cards .profit-card .profit-info .profit-label{color:var(--text-muted);font-size:.9rem;font-weight:500}.director-dashboard .dashboard-content .chart-section .chart-body .profit-cards .profit-card .profit-info .profit-amount{letter-spacing:-.5px;margin:0;font-size:1.6rem;font-weight:800}@media (width<=600px){.director-dashboard .dashboard-content .chart-section .chart-body .profit-cards{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:.75rem}.director-dashboard .dashboard-content .chart-section .chart-body .profit-cards .profit-card{gap:12px;padding:1rem}.director-dashboard .dashboard-content .chart-section .chart-body .profit-cards .profit-card .profit-info{min-width:0}.director-dashboard .dashboard-content .chart-section .chart-body .profit-cards .profit-card .profit-info .profit-amount{overflow-wrap:anywhere;font-size:1.3rem}.director-dashboard .dashboard-content .chart-section .chart-body .profit-cards .profit-card svg{flex-shrink:0}}.expense-amount-date{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}@media (width<=380px){.expense-amount-date{grid-template-columns:minmax(0,1fr);gap:0}}.text-success{color:#10b981!important}.text-danger{color:#ef4444!important}.text-primary{color:#3b82f6!important}.director-teachers{flex-direction:column;gap:1.5rem;display:flex}.director-teachers .page-header h1{margin:0}.director-teachers .primary-btn{background:linear-gradient(135deg, var(--color-accent-start), var(--color-accent-end));color:#fff;cursor:pointer;border:none;border-radius:8px;align-items:center;gap:.5rem;padding:.5rem 1rem;font-weight:500;transition:opacity .2s,transform .2s;display:flex}.director-teachers .primary-btn:hover{opacity:.9;transform:translateY(-1px)}.director-teachers .primary-btn svg{flex-shrink:0}@media (width<=600px){.director-teachers .primary-btn{text-align:center;justify-content:center}}.director-teachers .action-buttons{gap:.5rem;display:flex}.director-teachers .action-buttons .icon-btn{cursor:pointer;background:0 0;border:none;border-radius:4px;padding:4px;transition:background-color .2s}.director-teachers .action-buttons .icon-btn.edit{color:#3b82f6}.director-teachers .action-buttons .icon-btn.edit:hover{background:#3b82f61a}.director-teachers .action-buttons .icon-btn.delete{color:#ef4444}.director-teachers .action-buttons .icon-btn.delete:hover{background:#ef44441a}.director-teachers .teacher-form{flex-direction:column;gap:1rem;display:flex}.director-teachers .teacher-form .form-group{flex-direction:column;gap:.5rem;display:flex}.director-teachers .teacher-form .form-group label{color:var(--text-color);font-size:.875rem;font-weight:500}.director-teachers .teacher-form .form-group .form-input{border:1px solid var(--border-color);color:var(--text-color);background:#0000000d;border-radius:8px;outline:none;padding:.75rem}.director-teachers .teacher-form .form-group .form-input:focus{border-color:var(--color-accent-start)}:root.dark .director-teachers .teacher-form .form-group .form-input{background:#ffffff0d}.director-teachers .teacher-form .form-actions{justify-content:flex-end;gap:1rem;margin-top:1rem;display:flex}.director-teachers .teacher-form .form-actions .cancel-btn{border:1px solid var(--border-color);color:var(--text-color);cursor:pointer;background:0 0;border-radius:8px;padding:.5rem 1rem}.director-teachers .teacher-form .form-actions .cancel-btn:hover{background:#0000000d}:root.dark .director-teachers .teacher-form .form-actions .cancel-btn:hover{background:#ffffff0d}@media (width<=768px){.hide-on-mobile{display:none!important}}.director-students{flex-direction:column;gap:1.5rem;display:flex}.director-students .page-header h1{margin:0}.director-students .group-filter{background:var(--bg-panel);border:1px solid var(--border-color);border-radius:12px;align-items:center;gap:12px;padding:8px 16px;display:flex}.director-students .group-filter .group-filter-label{color:var(--text-muted);font-size:.9rem}.director-students .group-filter .group-filter-select{width:200px;margin:0;padding:6px 12px}@media (width<=600px){.director-students .group-filter{flex-wrap:wrap;flex:100%;gap:8px 12px;padding:10px 12px}.director-students .group-filter .group-filter-select{flex:160px;width:auto;min-width:0}}.director-students .filters-bar{align-items:center;padding:1rem 1.5rem;display:flex}.director-students .filters-bar .filter-group{align-items:center;gap:.75rem;display:flex;position:relative}.director-students .filters-bar .filter-group .filter-icon{color:var(--text-muted);position:absolute;left:12px}.director-students .filters-bar .filter-group .filter-select{border:1px solid var(--border-color);color:var(--text-color);appearance:none;cursor:pointer;background:#0000000d;border-radius:8px;outline:none;padding:8px 12px 8px 36px}.director-students .filters-bar .filter-group .filter-select:focus{border-color:var(--color-accent-start)}:root.dark .director-students .filter-select{background:#ffffff0d}.director-students .attendance-badge{border-radius:12px;padding:4px 8px;font-size:.8rem;font-weight:500}.director-students .attendance-badge.good{color:#10b981;background:#10b9811a}.director-students .attendance-badge.warning{color:#f59e0b;background:#f59e0b1a}.director-students .student-name-cell{flex-wrap:wrap;align-items:center;gap:4px 8px;min-width:0;display:flex}.director-students .ai-refused-pill{white-space:nowrap;color:#b45309;background:#f59e0b24;border:1px solid #f59e0b59;border-radius:999px;align-items:center;padding:2px 8px;font-size:11px;font-weight:600;line-height:1.4;display:inline-flex}:root.dark .director-students .ai-refused-pill{color:#fbbf24}.director-students .primary-btn{background:linear-gradient(135deg, var(--color-accent-start), var(--color-accent-end));color:#fff;cursor:pointer;border:none;border-radius:8px;align-items:center;gap:.5rem;padding:.5rem 1rem;font-weight:500;display:flex}.director-students .primary-btn svg{flex-shrink:0}@media (width<=600px){.director-students .primary-btn{text-align:center;justify-content:center}}.director-students .action-buttons{gap:.5rem;display:flex}.director-students .action-buttons .icon-btn{cursor:pointer;background:0 0;border:none;border-radius:4px;padding:4px}.director-students .action-buttons .icon-btn.edit{color:#3b82f6}.director-students .action-buttons .icon-btn.delete{color:#ef4444}.director-students .student-form{flex-direction:column;gap:1rem;display:flex}.director-students .student-form .form-group{flex-direction:column;gap:.5rem;display:flex}.director-students .student-form .form-group label{color:var(--text-color);font-size:.875rem;font-weight:500}.director-students .student-form .form-group .form-input{border:1px solid var(--border-color);color:var(--text-color);background:#0000000d;border-radius:8px;padding:.75rem}.director-students .student-form .form-actions{justify-content:flex-end;gap:1rem;margin-top:1rem;display:flex}.director-students .student-form .form-actions .cancel-btn{border:1px solid var(--border-color);color:var(--text-color);cursor:pointer;background:0 0;border-radius:8px;padding:.5rem 1rem}:root.dark .director-students .form-input{background:#ffffff0d!important}@media (width<=600px){.modal-body>div:first-child:has(>button[type=button]:first-child+button[type=button]:last-child):has(~.group-form){flex-direction:column}.modal-body>div:first-child:has(>button[type=button]:first-child+button[type=button]:last-child):has(~.group-form)>button{white-space:nowrap}}.group-form .gf-days{flex-wrap:wrap;gap:8px;margin-top:4px;display:flex}.group-form .gf-day{border:1px solid var(--border-color);background:var(--bg-secondary,transparent);color:var(--text-primary);cursor:pointer;border-radius:8px;flex:auto;padding:8px 4px;font-weight:400;transition:all .2s}.group-form .gf-day.selected{border-color:var(--accent-start);color:var(--accent-start);background:#6366f11a;font-weight:600}.group-form .gf-row{grid-template-columns:1fr 1fr;gap:12px;display:grid}@media (width<=600px){.group-form .gf-days{grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;display:grid}.group-form .gf-day{white-space:nowrap;min-width:0;min-height:40px;padding:8px 2px;font-size:12px}}@media (width<=480px){.group-form .gf-row{grid-template-columns:minmax(0,1fr);gap:0}.group-form .gf-row .form-input{width:100%;min-width:0;max-width:100%;display:block}.group-form .gf-row input::-webkit-date-and-time-value{text-align:left}}.group-form .group-textbooks{border:1px solid var(--border-color);border-radius:12px;flex-direction:column;gap:8px;min-width:0;margin:4px 0 0;padding:12px 14px 14px;display:flex}.group-form .group-textbooks legend{color:var(--text-secondary);flex-wrap:wrap;align-items:baseline;gap:4px 8px;padding:0 4px;font-size:13px;font-weight:600;display:flex}.group-form .group-textbooks .gtb-count{color:var(--text-muted);font-weight:500}.group-form .group-textbooks .gtb-hint,.group-form .group-textbooks .gtb-error{color:var(--text-muted);margin:0;font-size:.8125rem;line-height:1.4}.group-form .group-textbooks .gtb-error{color:var(--danger)}.group-form .group-textbooks .gtb-search{align-items:center;display:flex;position:relative}.group-form .group-textbooks .gtb-search svg{color:var(--text-muted);pointer-events:none;position:absolute;left:12px}.group-form .group-textbooks .gtb-search .form-input{width:100%;padding-left:36px}.group-form .group-textbooks .gtb-list{overscroll-behavior:contain;flex-direction:column;gap:6px;max-height:260px;display:flex;overflow-y:auto}.group-form .group-textbooks .gtb-item{border:1px solid var(--border-color);cursor:pointer;border-radius:10px;flex-shrink:0;align-items:flex-start;gap:10px;min-height:44px;padding:8px 10px;display:flex}.group-form .group-textbooks .gtb-item.checked{border-color:var(--accent-start);background:#667eea14}.group-form .group-textbooks .gtb-item:focus-within{outline:2px solid var(--accent-start);outline-offset:1px}.group-form .group-textbooks .gtb-item input{width:18px;height:18px;accent-color:var(--accent-start);flex-shrink:0;margin:2px 0 0}.group-form .group-textbooks .gtb-text{flex-direction:column;gap:2px;min-width:0;display:flex}.group-form .group-textbooks .gtb-title{color:var(--text-primary);overflow-wrap:anywhere;font-size:.875rem;font-weight:600}.group-form .group-textbooks .gtb-meta{color:var(--text-muted);overflow-wrap:anywhere;flex-wrap:wrap;gap:2px 8px;font-size:.75rem;display:flex}.group-form .group-textbooks .gtb-kind{color:var(--text-secondary);font-weight:600}.group-form .group-textbooks .gtb-missing{color:var(--danger)}.group-form .gf-term-hint{color:var(--text-secondary);margin:-4px 0 12px;font-size:.8125rem;line-height:1.45}.lesson-issue-form{flex-direction:column;gap:14px;min-width:0;display:flex}.lesson-issue-form .lesson-issue-lead{color:var(--text-secondary);margin:0;font-size:.9rem;line-height:1.5}.lesson-issue-form .lesson-issue-error{color:#ef4444;overflow-wrap:anywhere;background:#ef44441a;border:1px solid #ef444440;border-radius:10px;padding:10px 12px;font-size:.875rem}.lesson-issue-form .required{color:#ef4444}.lesson-issue-form textarea.form-input{resize:vertical;min-height:72px}.lesson-issue-form .lesson-issue-actions{border:none;flex-direction:column;gap:8px;min-width:0;margin:0;padding:0;display:flex}.lesson-issue-form .lesson-issue-actions legend{color:var(--text-primary);margin-bottom:8px;font-size:.9rem;font-weight:600}.lesson-issue-form .issue-option{border:1px solid var(--border-color);cursor:pointer;border-radius:12px;align-items:flex-start;gap:10px;padding:10px 12px;transition:border-color .15s,background-color .15s;display:flex}.lesson-issue-form .issue-option input{accent-color:var(--accent-start);flex-shrink:0;margin-top:3px}.lesson-issue-form .issue-option span{flex-direction:column;gap:2px;min-width:0;display:flex}.lesson-issue-form .issue-option strong{color:var(--text-primary);font-size:.9rem}.lesson-issue-form .issue-option small{color:var(--text-secondary);font-size:.8rem;line-height:1.4}.lesson-issue-form .issue-option.selected{border-color:var(--accent-start);background:#6366f114}.lesson-issue-form .issue-move-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:0 2px 4px 34px;display:grid}.lesson-issue-form .issue-move-fields .form-group{min-width:0;margin:0}.lesson-issue-form .form-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}@media (width<=480px){.lesson-issue-form .issue-move-fields{grid-template-columns:minmax(0,1fr);padding-left:0}.lesson-issue-form .form-actions>button{flex:1 1 0}}.group-lesson-history{flex-direction:column;gap:20px;min-width:0;display:flex}.group-lesson-history:empty{display:none}.group-lesson-history section{border-top:1px solid var(--border-color);min-width:0;margin-top:20px;padding-top:16px}.group-lesson-history h3{margin:0 0 10px;font-size:1.1rem}.group-lesson-history .glh-summary{flex-wrap:wrap;gap:6px 14px;margin:0 0 10px;font-size:.85rem;font-weight:600;display:flex}.group-lesson-history .glh-summary .tone-done{color:#16a34a}.group-lesson-history .glh-summary .tone-late{color:#d97706}.group-lesson-history .glh-summary .tone-missed{color:#dc2626}.group-lesson-history .glh-list{flex-direction:column;gap:6px;max-height:280px;margin:0;padding:0;list-style:none;display:flex;overflow-y:auto}.group-lesson-history .glh-list li{border-left:4px solid var(--border-color);background:var(--bg-primary);border-radius:8px;align-items:flex-start;gap:12px;min-width:0;padding:8px 12px;display:flex}.group-lesson-history .glh-list li.tone-done{border-left-color:#16a34a}.group-lesson-history .glh-list li.tone-late,.group-lesson-history .glh-list li.tone-moved{border-left-color:#d97706}.group-lesson-history .glh-list li.tone-missed{border-left-color:#dc2626}.group-lesson-history .glh-list li.tone-open{border-left-color:#2563eb}.group-lesson-history .glh-when{min-width:5.5rem;color:var(--text-secondary);font-variant-numeric:tabular-nums;flex-shrink:0;font-size:.85rem}.group-lesson-history .glh-what{flex-direction:column;gap:2px;min-width:0;display:flex}.group-lesson-history .glh-status{color:var(--text-primary);overflow-wrap:anywhere;font-size:.9rem;font-weight:600}.group-lesson-history .glh-reason{color:var(--text-secondary);overflow-wrap:anywhere;font-size:.85rem}.group-lesson-history .glh-meta{color:var(--text-muted);font-size:.78rem}.group-lesson-history .glh-answer{color:#dc2626;cursor:pointer;background:0 0;border:1px solid;border-radius:6px;flex-shrink:0;margin-left:auto;padding:4px 10px;font-size:.8rem;font-weight:600}.group-lesson-history .glh-answer:hover{background:#dc262614}.group-lesson-history .glh-answer:focus-visible{outline-offset:2px;outline:2px solid #2563eb}@media (width<=480px){.group-lesson-history .glh-list li{flex-direction:column;gap:2px}.group-lesson-history .glh-answer{margin:6px 0 0}}.director-groups{flex-direction:column;gap:1.5rem;display:flex}.director-groups .page-header{justify-content:space-between;align-items:center;display:flex}.director-groups .page-header h1{margin:0}.director-groups .primary-btn{background:linear-gradient(135deg, var(--color-accent-start), var(--color-accent-end));color:#fff;cursor:pointer;border:none;border-radius:8px;align-items:center;gap:.5rem;padding:.5rem 1rem;font-weight:500;display:flex}.director-groups .primary-btn svg{flex-shrink:0}@media (width<=600px){.director-groups .primary-btn{text-align:center;justify-content:center}}.director-groups .groups-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.5rem;display:grid}.director-groups .groups-grid .group-card{flex-direction:column;gap:1.25rem;padding:1.5rem;transition:transform .3s,box-shadow .3s;display:flex}.director-groups .groups-grid .group-card:hover{transform:translateY(-5px);box-shadow:0 10px 25px #0000001a}.director-groups .groups-grid .group-card .group-header{justify-content:space-between;align-items:flex-start;display:flex}.director-groups .groups-grid .group-card .group-header h3{color:var(--text-color);margin:0;font-size:1.125rem}.director-groups .groups-grid .group-card .group-header .badge{color:var(--color-accent-start);background:#667eea1a;border-radius:12px;padding:4px 8px;font-size:.75rem;font-weight:600}.director-groups .groups-grid .group-card .group-details{flex-direction:column;gap:.75rem;display:flex}.director-groups .groups-grid .group-card .group-details .detail-row{color:var(--text-muted);align-items:center;gap:.75rem;font-size:.9rem;display:flex}.director-groups .group-form{flex-direction:column;gap:1rem;display:flex}.director-groups .group-form .form-group{flex-direction:column;gap:.5rem;display:flex}.director-groups .group-form .form-group label{color:var(--text-color);font-size:.875rem;font-weight:500}.director-groups .group-form .form-group .form-input{border:1px solid var(--border-color);color:var(--text-color);background:#0000000d;border-radius:8px;padding:.75rem}.director-groups .group-form .form-actions{justify-content:flex-end;gap:1rem;margin-top:1rem;display:flex}.director-groups .group-form .form-actions .cancel-btn{border:1px solid var(--border-color);color:var(--text-color);cursor:pointer;background:0 0;border-radius:8px;padding:.5rem 1rem}:root.dark .director-groups .form-input{background:#ffffff0d!important}.director-settings{flex-direction:column;gap:1.5rem;display:flex}.director-settings .page-header h1{margin:0}.director-settings .settings-content{flex-direction:column;gap:2.5rem;max-width:800px;padding:2rem;display:flex}@media (width<=600px){.director-settings .settings-content{gap:1.75rem;padding:1rem}}.director-settings .settings-content .settings-section{flex-direction:column;gap:1.25rem;display:flex}.director-settings .settings-content .settings-section h2{color:var(--text-color);border-bottom:1px solid var(--border-color);margin:0;padding-bottom:.5rem;font-size:1.125rem}.director-settings .settings-content .settings-section .form-group{flex-direction:column;gap:.5rem;display:flex}.director-settings .settings-content .settings-section .form-group label{color:var(--text-muted);font-size:.875rem;font-weight:500}.director-settings .settings-content .settings-section .form-group .form-input{border:1px solid var(--border-color);color:var(--text-color);background:#0000000d;border-radius:8px;max-width:400px;padding:.75rem}.director-settings .settings-content .settings-section .radio-group{flex-direction:column;gap:.75rem;display:flex}.director-settings .settings-content .settings-section .radio-group .radio-label{color:var(--text-color);cursor:pointer;align-items:center;gap:.75rem;display:flex}.director-settings .settings-content .settings-section .radio-group .radio-label input[type=radio]{accent-color:var(--color-accent-start);width:18px;height:18px}.director-settings .settings-content .settings-section .theme-toggle{gap:1rem;display:flex}.director-settings .settings-content .settings-section .theme-toggle .theme-btn{border:1px solid var(--border-color);color:var(--text-color);cursor:pointer;background:0 0;border-radius:8px;align-items:center;gap:.5rem;padding:.75rem 1.5rem;transition:all .2s;display:flex}.director-settings .settings-content .settings-section .theme-toggle .theme-btn.active{border-color:var(--color-accent-start);color:var(--color-accent-start);background:#667eea1a}.director-settings .settings-content .settings-section .theme-toggle .theme-btn svg{flex-shrink:0}@media (width<=600px){.director-settings .settings-content .settings-section .theme-toggle{gap:.75rem}.director-settings .settings-content .settings-section .theme-toggle .theme-btn{white-space:nowrap;flex:1 1 0;justify-content:center;min-width:0;padding:.75rem 1rem}}.director-settings .settings-content .settings-actions{justify-content:flex-end;margin-top:1rem;display:flex}.director-settings .settings-content .settings-actions .primary-btn{background:linear-gradient(135deg, var(--color-accent-start), var(--color-accent-end));color:#fff;cursor:pointer;border:none;border-radius:8px;align-items:center;gap:.5rem;padding:.75rem 1.5rem;font-weight:500;transition:transform .2s;display:flex}.director-settings .settings-content .settings-actions .primary-btn:hover{transform:translateY(-2px)}:root.dark .director-settings .form-input{background:#ffffff0d!important}.director-settings .settings-hint{color:var(--text-muted);margin:0 0 10px;font-size:14px}.director-settings .settings-link{color:var(--accent-start);align-items:center;gap:6px;font-weight:600;text-decoration:none;display:inline-flex}.director-settings .settings-link:hover{text-decoration:underline}.director-settings .settings-link svg{flex-shrink:0}.director-ranking{flex-direction:column;gap:1.25rem;display:flex}.director-ranking .ranking-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;display:flex}.director-ranking .ranking-header h1{margin:0}.director-ranking .ranking-header .ranking-subtitle{color:var(--text-muted);margin:4px 0 0;font-size:.9rem}.director-ranking .month-nav{align-items:center;gap:10px;display:flex}.director-ranking .month-nav .icon-btn:disabled{opacity:.4;cursor:not-allowed}.director-ranking .month-nav .icon-btn:disabled:hover{background:var(--bg-card);color:var(--text-secondary);border-color:var(--border-color)}.director-ranking .month-nav .month-label{text-align:center;flex-direction:column;align-items:center;gap:2px;min-width:140px;display:flex}.director-ranking .month-nav .month-label strong{color:var(--text-primary);font-size:1.05rem}.director-ranking .month-nav .ongoing-badge{color:#10b981;white-space:nowrap;border:1px solid #10b981;border-radius:999px;padding:0 8px;font-size:11px;font-weight:600}.director-ranking .ranking-body{flex-direction:column;gap:1rem;transition:opacity .2s;display:flex}.director-ranking .ranking-body.is-loading{opacity:.55}.director-ranking .ranking-period{color:var(--text-secondary);flex-wrap:wrap;gap:4px 0;margin:0;font-size:.9rem;display:flex}.director-ranking .ranking-period span+span:before{content:"·";color:var(--text-muted);margin:0 8px}.director-ranking .ranking-note,.director-ranking .ranking-error{border-radius:12px;padding:10px 14px;font-size:.9rem}.director-ranking .ranking-note{color:#b45309;background:#f59e0b1f;border:1px solid #f59e0b59}.director-ranking .ranking-error{color:#ef4444;background:#ef44441a;border:1px solid #ef444433}.director-ranking .empty-state{color:var(--text-muted);margin:0;padding:1rem 0}.director-ranking .ranking-sort{align-items:center;gap:8px;display:none}.director-ranking .ranking-sort label{color:var(--text-secondary);flex:1;align-items:center;gap:8px;font-size:.9rem;font-weight:600;display:flex}.director-ranking .ranking-sort select{border:1px solid var(--border-color);background:var(--bg-surface);min-width:0;color:var(--text-primary);font:inherit;border-radius:10px;flex:1;padding:.55rem .75rem}.director-ranking .ranking-table-wrap{padding:.25rem 0;overflow-x:auto}.director-ranking .ranking-table{border-collapse:collapse;width:100%;font-size:.9rem}.director-ranking .ranking-table th{border-bottom:1px solid var(--border-color);text-align:left;white-space:nowrap;padding:.65rem .9rem}.director-ranking .ranking-table th[aria-sort=ascending] .sort-btn,.director-ranking .ranking-table th[aria-sort=descending] .sort-btn{color:var(--text-primary)}.director-ranking .ranking-table .sort-btn{color:var(--text-muted);font:inherit;cursor:pointer;background:0 0;border:none;align-items:center;gap:4px;padding:0;font-weight:600;display:inline-flex}.director-ranking .ranking-table .sort-btn:hover{color:var(--text-primary)}.director-ranking .ranking-table .sort-btn:focus-visible{outline:2px solid var(--accent-start);outline-offset:2px;border-radius:4px}.director-ranking .ranking-table td{border-bottom:1px solid var(--border-color);color:var(--text-primary);vertical-align:middle;padding:.7rem .9rem}.director-ranking .ranking-table tbody tr:last-child td{border-bottom:none}.director-ranking .ranking-table tbody tr:hover td{background:var(--bg-card-hover)}.director-ranking .ranking-table .cell-main{white-space:nowrap;font-weight:600}.director-ranking .ranking-table .cell-sub{color:var(--text-muted);white-space:nowrap;margin-top:2px;font-size:.78rem}.director-ranking .ranking-table .col-group .cell-main{white-space:normal;overflow-wrap:anywhere;min-width:120px}.director-ranking .ranking-table .score-value{color:var(--accent-start);font-size:1.05rem;font-weight:800}.director-ranking .ranking-table .muted{color:var(--text-muted)}.director-ranking .ranking-explanation{color:var(--text-muted);gap:8px;margin:0;font-size:.85rem;line-height:1.5;display:flex}.director-ranking .ranking-explanation svg{flex-shrink:0;margin-top:2px}@media (width<=767px){.director-ranking .col-optional{display:none}.director-ranking .ranking-sort{display:flex}.director-ranking .month-nav{justify-content:space-between;width:100%}.director-ranking .ranking-table th,.director-ranking .ranking-table td{padding:.6rem .55rem}.director-ranking .ranking-table th{white-space:normal;vertical-align:bottom}.director-ranking .ranking-table .col-group .cell-main{min-width:96px}.director-ranking .ranking-table .col-homework .cell-sub{white-space:normal;min-width:8rem}}@media (width<=600px){.director-ranking .ranking-body .ranking-table-wrap.glass-panel{box-shadow:none;-webkit-backdrop-filter:none;background:0 0;border:none;padding:0;overflow-x:visible}.director-ranking .ranking-table{display:block}.director-ranking .ranking-table thead{display:none}.director-ranking .ranking-table tbody{flex-direction:column;gap:10px;display:flex}.director-ranking .ranking-table tbody tr{border:1px solid var(--border-color);background:var(--bg-card);box-shadow:var(--shadow-sm);border-radius:14px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px 12px;padding:12px 14px;display:grid}.director-ranking .ranking-table td{border-bottom:none;min-width:0;padding:0}.director-ranking .ranking-table tbody tr:hover td{background:0 0}.director-ranking .ranking-table .col-place{grid-area:1/1}.director-ranking .ranking-table .col-group{grid-area:1/2}.director-ranking .ranking-table .col-group .cell-main{min-width:0}.director-ranking .ranking-table .col-group .cell-sub{white-space:normal;overflow-wrap:anywhere}.director-ranking .ranking-table .col-score,.director-ranking .ranking-table .col-attendance,.director-ranking .ranking-table .col-payment,.director-ranking .ranking-table .col-homework{grid-column:1/-1;grid-template-columns:minmax(0,6.5rem) minmax(0,1fr);align-items:baseline;column-gap:10px;display:grid}.director-ranking .ranking-table .col-score:before,.director-ranking .ranking-table .col-attendance:before,.director-ranking .ranking-table .col-payment:before,.director-ranking .ranking-table .col-homework:before{content:attr(data-label);color:var(--text-muted);letter-spacing:.4px;text-transform:uppercase;overflow-wrap:anywhere;grid-area:1/1;font-size:11px;font-weight:600;line-height:1.35}.director-ranking .ranking-table .col-score .score-value,.director-ranking .ranking-table .col-score .cell-main,.director-ranking .ranking-table .col-attendance .score-value,.director-ranking .ranking-table .col-attendance .cell-main,.director-ranking .ranking-table .col-payment .score-value,.director-ranking .ranking-table .col-payment .cell-main,.director-ranking .ranking-table .col-homework .score-value,.director-ranking .ranking-table .col-homework .cell-main{grid-area:1/2;min-width:0}.director-ranking .ranking-table .col-score .cell-sub,.director-ranking .ranking-table .col-attendance .cell-sub,.director-ranking .ranking-table .col-payment .cell-sub,.director-ranking .ranking-table .col-homework .cell-sub{white-space:normal;overflow-wrap:anywhere;grid-area:2/2;min-width:0}.director-ranking .ranking-table .col-score{border-top:1px dashed var(--border-color);margin-top:2px;padding-top:10px}.director-ranking .ranking-table .col-score .score-value{font-size:1.15rem}}.missed-lessons{background:#ef444414;border:1px solid #ef444459;border-radius:16px;flex-direction:column;gap:12px;min-width:0;padding:16px 18px;display:flex}.missed-lessons .missed-head{align-items:flex-start;gap:12px;min-width:0;display:flex}.missed-lessons .missed-head>svg{color:#ef4444;flex-shrink:0;margin-top:2px}.missed-lessons .missed-head>div{min-width:0}.missed-lessons .missed-head strong{color:var(--text-primary);overflow-wrap:anywhere;font-size:1rem;display:block}.missed-lessons .missed-head p{color:var(--text-secondary);margin:4px 0 0;font-size:.85rem;line-height:1.45}.missed-lessons .missed-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.missed-lessons .missed-list li{background:var(--bg-surface);border:1px solid var(--border-color);border-radius:10px;justify-content:space-between;align-items:center;gap:10px;min-width:0;padding:8px 10px;display:flex}.missed-lessons .missed-what{flex-wrap:wrap;align-items:baseline;gap:2px 10px;min-width:0;display:flex}.missed-lessons .missed-group{color:var(--text-primary);overflow-wrap:anywhere;font-weight:600}.missed-lessons .missed-when{color:var(--text-secondary);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:.85rem}.missed-lessons .missed-btn{color:#fff;white-space:nowrap;cursor:pointer;background:#ef4444;border:1px solid #ef4444;border-radius:8px;flex-shrink:0;padding:6px 12px;font-size:.85rem;font-weight:600}.missed-lessons .missed-btn:hover{background:#dc2626}.missed-lessons .missed-btn:focus-visible{outline-offset:2px;outline:2px solid #ef4444}.missed-lessons .missed-more{color:var(--text-secondary);margin:0;font-size:.8rem}@media (width<=380px){.missed-lessons{padding:12px}.missed-lessons .missed-list li{flex-wrap:wrap}.missed-lessons .missed-btn{flex:100%}}.teacher-dashboard{flex-direction:column;gap:2rem;display:flex}.teacher-dashboard .dashboard-header h1{margin:0}.teacher-dashboard .stats-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.5rem;display:grid}.teacher-dashboard .quick-actions{flex-wrap:wrap;gap:1rem;display:flex}.teacher-dashboard .quick-actions .action-btn{border:1px solid var(--border-color);color:var(--text-color);cursor:pointer;border-radius:12px;align-items:center;gap:.75rem;padding:1rem 1.5rem;font-weight:500;transition:transform .2s,box-shadow .2s,border-color .2s;display:flex}.teacher-dashboard .quick-actions .action-btn:hover{border-color:var(--color-accent-start);transform:translateY(-2px);box-shadow:0 10px 15px #0000001a}@media (width<=600px){.teacher-dashboard{gap:1.25rem}.teacher-dashboard .stats-grid{gap:1rem}}.teacher-groups{flex-direction:column;gap:1.5rem;display:flex}.teacher-groups .page-header{justify-content:space-between;align-items:center;display:flex}.teacher-groups .page-header h1{margin:0}.teacher-groups .primary-btn{background:linear-gradient(135deg, var(--color-accent-start), var(--color-accent-end));color:#fff;cursor:pointer;border:none;border-radius:8px;align-items:center;gap:.5rem;padding:.5rem 1rem;font-weight:500;display:flex}.teacher-groups .groups-grid{flex-direction:column;gap:1.5rem;display:flex}.teacher-groups .groups-grid .group-card{flex-direction:column;gap:1.25rem;width:100%;padding:1.5rem;transition:box-shadow .3s;display:flex}.teacher-groups .groups-grid .group-card .group-header{justify-content:space-between;align-items:center;display:flex}.teacher-groups .groups-grid .group-card .group-header h3{color:var(--text-color);margin:0;font-size:1.25rem}.teacher-groups .groups-grid .group-card .group-header .badge{color:var(--color-accent-start);background:#667eea1a;border-radius:12px;padding:6px 12px;font-size:.8rem;font-weight:600}.teacher-groups .groups-grid .group-card .group-header .header-actions{align-items:center;gap:8px;display:flex}.teacher-groups .groups-grid .group-card .group-header .header-actions .add-student-sm-btn{border:1px dashed var(--color-accent-start);color:var(--color-accent-start);cursor:pointer;background:#6366f11a;border-radius:8px;align-items:center;gap:4px;padding:4px 10px;font-size:13px;font-weight:500;transition:all .2s;display:flex}.teacher-groups .groups-grid .group-card .group-header .header-actions .add-student-sm-btn:hover{background:#6366f133}.teacher-groups .groups-grid .group-card .group-header .icon-btn{background:var(--bg-secondary);border:1px solid var(--border-color);color:var(--text-muted);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;width:36px;height:36px;transition:all .2s;display:flex}.teacher-groups .groups-grid .group-card .group-header .icon-btn:hover{color:var(--color-accent-start);border-color:var(--color-accent-start);background:#6366f11a}.teacher-groups .groups-grid .group-card .group-header .icon-btn.delete:hover{color:#ef4444;background:#ef44441a;border-color:#ef4444}.teacher-groups .groups-grid .group-card .group-details{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;display:grid}.teacher-groups .groups-grid .group-card .group-details .detail-row{color:var(--text-muted);background:var(--bg-primary);border:1px solid var(--border-color);border-radius:8px;align-items:center;gap:.75rem;padding:10px 14px;font-size:.95rem;display:flex}.teacher-groups .groups-grid .group-card .group-details .textbooks-row{grid-column:1/-1;min-width:0}.teacher-groups .groups-grid .group-card .group-details .textbooks-row svg{flex-shrink:0}.teacher-groups .groups-grid .group-card .group-details .textbooks-row .textbooks-line{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}.teacher-groups .groups-grid .group-card .group-actions{gap:12px;margin-top:16px;display:flex}.teacher-groups .groups-grid .group-card .group-actions .add-student-btn{border:1px dashed var(--color-accent-start);color:var(--color-accent-start);cursor:pointer;background:linear-gradient(135deg,#6366f11a,#a855f71a);border-radius:10px;flex:1;justify-content:center;align-items:center;gap:8px;padding:12px;font-weight:600;transition:all .2s;display:flex}.teacher-groups .groups-grid .group-card .group-actions .add-student-btn:hover{background:linear-gradient(135deg,#6366f133,#a855f733);transform:translateY(-2px)}.teacher-groups .groups-grid .group-card .expand-section{border-top:1px solid var(--border-color);margin-top:.5rem;padding-top:1rem}.teacher-groups .groups-grid .group-card .expand-section .expand-btn{background:var(--bg-secondary);border:1px solid var(--border-color);width:100%;color:var(--text-color);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;gap:.5rem;padding:10px;font-weight:500;transition:all .2s;display:flex}.teacher-groups .groups-grid .group-card .expand-section .expand-btn:hover{background:var(--bg-panel);border-color:var(--color-accent-start);color:var(--color-accent-start)}.teacher-groups .groups-grid .group-card .expand-section .students-list{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:.75rem;margin-top:1rem;display:grid}.teacher-groups .groups-grid .group-card .expand-section .students-list .student-item{color:var(--text-color);background:var(--bg-primary);border:1px solid var(--border-color);border-radius:8px;align-items:center;gap:.75rem;padding:10px 14px;font-size:.9rem;font-weight:500;display:flex}.teacher-groups .group-form{flex-direction:column;gap:1rem;display:flex}.teacher-groups .group-form .form-group{flex-direction:column;gap:.5rem;display:flex}.teacher-groups .group-form .form-group label{color:var(--text-color);font-size:.875rem;font-weight:500}.teacher-groups .group-form .form-group .form-input{border:1px solid var(--border-color);color:var(--text-color);background:#0000000d;border-radius:8px;padding:.75rem}.teacher-groups .group-form .form-actions{justify-content:flex-end;gap:1rem;margin-top:1rem;display:flex}.teacher-groups .group-form .form-actions .cancel-btn{border:1px solid var(--border-color);color:var(--text-color);cursor:pointer;background:0 0;border-radius:8px;padding:.5rem 1rem}@media (width<=600px){.teacher-groups{gap:1rem}.teacher-groups .page-header{flex-wrap:wrap;gap:.75rem}.teacher-groups .page-header h1{min-width:0}.teacher-groups .page-header .primary-btn{white-space:nowrap;flex:100%;justify-content:center;min-height:44px}.teacher-groups .primary-btn svg{flex-shrink:0}.teacher-groups .groups-grid{gap:1rem}.teacher-groups .groups-grid .group-card{gap:1rem;padding:1rem}.teacher-groups .groups-grid .group-card .group-header{flex-wrap:wrap;gap:10px 8px}.teacher-groups .groups-grid .group-card .group-header>div:first-child{flex:1 1 0;min-width:0}.teacher-groups .groups-grid .group-card .group-header h3{overflow-wrap:anywhere;font-size:1.125rem}.teacher-groups .groups-grid .group-card .group-header .header-actions{display:contents}.teacher-groups .groups-grid .group-card .group-header .header-actions .add-student-sm-btn{white-space:nowrap;flex:1 0 calc(100% - 92px);order:2;justify-content:center;min-height:36px}.teacher-groups .groups-grid .group-card .group-header .header-actions .badge{white-space:nowrap;flex-shrink:0;order:1}.teacher-groups .groups-grid .group-card .group-header .header-actions .icon-btn{order:3}.teacher-groups .groups-grid .group-card .group-header .icon-btn,.teacher-groups .groups-grid .group-card .group-header svg{flex-shrink:0}.teacher-groups .groups-grid .group-card .group-details{gap:.625rem}.teacher-groups .groups-grid .group-card .group-details .detail-row{min-width:0}.teacher-groups .groups-grid .group-card .group-details .detail-row svg{flex-shrink:0}.teacher-groups .groups-grid .group-card .group-details .detail-row>span:not(.sr-only){overflow-wrap:anywhere;min-width:0}.teacher-groups .groups-grid .group-card .expand-section .expand-btn svg{flex-shrink:0}.student-info-details{min-width:0}.student-info-details h3,.student-info-details div{overflow-wrap:anywhere}.student-info-details>div:last-child button{flex:auto;justify-content:center;min-height:44px}}.students-list-full{flex-direction:column;gap:12px;margin-top:16px;display:flex}.students-list-full .student-full-row{background:var(--bg-primary);border:1px solid var(--border-color);border-radius:12px;grid-template-columns:2.5fr 1.5fr 1.5fr 1.5fr 1.2fr auto;align-items:center;gap:12px;padding:12px 16px;transition:all .2s;display:grid}.students-list-full .student-full-row:hover{border-color:#6366f180}@media (width<=768px){.students-list-full .student-full-row{grid-template-columns:1fr;gap:10px}.students-list-full .student-full-row .student-name-col{border-bottom:1px dashed var(--border-color);margin-bottom:4px;padding-bottom:8px}}.students-list-full .student-full-row .student-info-item{color:var(--text-color);align-items:center;gap:8px;font-size:14px;display:flex}.students-list-full .student-full-row .student-info-item svg{color:var(--text-muted)}.students-list-full .student-full-row .payment-badge{text-align:center;border-radius:20px;padding:6px 12px;font-size:13px;font-weight:600}.students-list-full .student-full-row .payment-badge.paid{color:#10b981;background:#10b9811a}.students-list-full .student-full-row .payment-badge.unpaid{color:#ef4444;background:#ef44441a}.icon-btn.edit{color:#10b981;background:0 0;border-color:#10b981}.icon-btn.edit:hover{color:#fff;background:#10b981}.icon-btn.delete{color:#ef4444;background:0 0;border-color:#ef4444}.icon-btn.delete:hover{color:#fff;background:#ef4444}.students-header-row{border-bottom:1px solid var(--border-color);color:var(--text-muted);grid-template-columns:2.5fr 1.5fr 1.5fr 1.5fr 1.2fr auto;gap:12px;margin-bottom:8px;padding:0 16px 8px;font-size:13px;font-weight:500;display:grid}@media (width<=768px){.students-header-row{display:none}}.teacher-schedule{flex-direction:column;gap:1.5rem;display:flex}.teacher-schedule .page-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;display:flex}.teacher-schedule .page-header h1{margin:0}.teacher-schedule .page-header .header-actions{flex-wrap:wrap;align-items:center;gap:.875rem;display:flex}.teacher-schedule .page-header .week-switcher{background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:10px;align-items:center;gap:.375rem;padding:.3rem .5rem;display:flex}.teacher-schedule .page-header .week-switcher .week-nav-btn{color:var(--text-color);cursor:pointer;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;padding:.35rem;transition:background .15s,color .15s;display:flex}.teacher-schedule .page-header .week-switcher .week-nav-btn:hover{color:var(--color-accent-start);background:#8b5cf626}.teacher-schedule .page-header .week-switcher .week-range-display{color:var(--text-color);cursor:pointer;white-space:nowrap;background:0 0;border:none;border-radius:6px;align-items:center;gap:.45rem;padding:.25rem .5rem;font-size:.875rem;font-weight:600;display:flex}.teacher-schedule .page-header .week-switcher .week-range-display .calendar-icon,.teacher-schedule .page-header .week-switcher .week-range-display:hover{color:var(--color-accent-start)}.teacher-schedule .primary-btn{background:linear-gradient(135deg, var(--color-accent-start), var(--color-accent-end));color:#fff;cursor:pointer;border:none;border-radius:8px;align-items:center;gap:.5rem;padding:.5rem 1rem;font-weight:500;display:flex}.teacher-schedule .primary-btn:disabled{opacity:.65;cursor:not-allowed}.teacher-schedule .schedule-grid{overflow-x:auto}.teacher-schedule .schedule-grid .grid-header{border-bottom:1px solid var(--border-color);grid-template-columns:80px repeat(7,minmax(120px,1fr));display:grid}.teacher-schedule .schedule-grid .grid-header .time-col{padding:1rem}.teacher-schedule .schedule-grid .grid-header .day-col{text-align:center;color:var(--text-muted);flex-direction:column;justify-content:center;align-items:center;gap:.25rem;padding:.75rem .5rem;font-weight:600;display:flex}.teacher-schedule .schedule-grid .grid-header .day-col .day-name{font-size:.925rem;font-weight:600}.teacher-schedule .schedule-grid .grid-header .day-col .day-date{opacity:.8;font-size:.75rem;font-weight:500}.teacher-schedule .schedule-grid .grid-header .day-col.current{color:var(--color-accent-start);border-bottom:2px solid var(--color-accent-start)}.teacher-schedule .schedule-grid .grid-header .day-col.current .day-date{opacity:1;font-weight:600}.teacher-schedule .schedule-grid .grid-body{flex-direction:column;display:flex}.teacher-schedule .schedule-grid .grid-body .grid-row{grid-template-columns:80px repeat(7,minmax(120px,1fr));min-height:80px;display:grid}.teacher-schedule .schedule-grid .grid-body .grid-row .time-col{color:var(--text-muted);text-align:right;border-right:1px solid var(--border-color);border-bottom:1px solid var(--border-color);padding:.5rem;font-size:.875rem}.teacher-schedule .schedule-grid .grid-body .grid-row .cell{border-right:1px solid var(--border-color);border-bottom:1px solid var(--border-color);flex-direction:column;gap:4px;padding:4px;display:flex;position:relative}.teacher-schedule .schedule-grid .grid-body .grid-row .cell:last-child{border-right:none}.teacher-schedule .schedule-grid .grid-body .grid-row .cell .lesson-block{color:#fff;border-radius:6px;flex-direction:column;flex:1;justify-content:space-between;gap:4px;padding:8px;font-size:.8rem;transition:box-shadow .2s;display:flex}.teacher-schedule .schedule-grid .grid-body .grid-row .cell .lesson-block .lesson-block-header{justify-content:space-between;align-items:flex-start;gap:6px;display:flex}.teacher-schedule .schedule-grid .grid-body .grid-row .cell .lesson-block .group-name{word-break:break-word;font-weight:600;line-height:1.25}.teacher-schedule .schedule-grid .grid-body .grid-row .cell .lesson-block .lesson-edit-btn{color:#fff;cursor:pointer;background:#ffffff26;border:1px solid #ffffff59;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;width:24px;height:24px;transition:background .15s,border-color .15s;display:inline-flex}.teacher-schedule .schedule-grid .grid-body .grid-row .cell .lesson-block .lesson-edit-btn:hover{background:#10b981e6;border-color:#10b981}.teacher-schedule .schedule-grid .grid-body .grid-row .cell .lesson-block .room{opacity:.9;font-size:.75rem}.teacher-schedule .schedule-grid .grid-body .grid-row .cell .lesson-block .lesson-weekly-icon{opacity:.85;flex-shrink:0;justify-content:center;align-items:center;width:24px;height:24px;display:inline-flex}.teacher-schedule .schedule-form{flex-direction:column;gap:1rem;display:flex}.teacher-schedule .schedule-form .form-row{grid-template-columns:1fr 1fr;gap:1rem;display:grid}.teacher-schedule .schedule-form .form-group{flex-direction:column;gap:.5rem;display:flex}.teacher-schedule .schedule-form .form-group label{color:var(--text-color);font-size:.875rem;font-weight:500}.teacher-schedule .schedule-form .form-group .form-input{border:1px solid var(--border-color);color:var(--text-color);background:#0000000d;border-radius:8px;padding:.75rem}.teacher-schedule .schedule-form .form-group .form-input option{background-color:var(--bg-secondary,#1e1b4b);color:var(--text-color,#fff)}.teacher-schedule .schedule-form .form-actions{justify-content:flex-end;gap:1rem;margin-top:1rem;display:flex}.teacher-schedule .schedule-form .form-actions .cancel-btn{border:1px solid var(--border-color);color:var(--text-color);cursor:pointer;background:0 0;border-radius:8px;padding:.5rem 1rem}.teacher-schedule .schedule-hint{color:var(--text-secondary);align-items:flex-start;gap:.5rem;margin:-.5rem 0 0;font-size:.8125rem;line-height:1.45;display:flex}.teacher-schedule .schedule-hint svg{color:var(--text-muted);flex-shrink:0;margin-top:.15rem}.teacher-schedule .schedule-list{display:none}@media (width<=600px){.teacher-schedule{gap:1rem}.teacher-schedule .page-header{gap:.75rem}.teacher-schedule .page-header .header-actions{flex:100%;gap:.5rem}.teacher-schedule .page-header .week-switcher{flex:auto;justify-content:space-between;min-width:0}.teacher-schedule .page-header .week-switcher .week-nav-btn svg,.teacher-schedule .page-header .week-switcher .week-range-display svg{flex-shrink:0}.teacher-schedule .page-header .week-switcher .week-range-display{flex:auto;justify-content:center;min-width:0}.teacher-schedule .page-header .primary-btn{white-space:nowrap;flex:auto;justify-content:center;min-height:44px}.teacher-schedule .page-header .primary-btn svg{flex-shrink:0}.teacher-schedule .schedule-grid{display:none}.teacher-schedule .schedule-list{flex-direction:column;gap:.75rem;display:flex}.teacher-schedule .schedule-day{min-width:0;padding:1rem}.teacher-schedule .schedule-day.today{border-color:var(--accent-start);box-shadow:0 0 0 3px #667eea1f}.teacher-schedule .schedule-day .day-head{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.teacher-schedule .schedule-day .day-head h3{min-width:0;color:var(--text-primary);overflow-wrap:anywhere;margin:0;font-size:1rem}.teacher-schedule .schedule-day.today .day-head h3{color:var(--accent-start)}.teacher-schedule .schedule-day.empty{padding-top:.75rem;padding-bottom:.75rem}.teacher-schedule .schedule-day.empty .day-head h3{color:var(--text-muted);font-weight:600}.teacher-schedule .schedule-day .day-date{color:var(--text-muted);white-space:nowrap;flex-shrink:0;align-items:center;gap:.4rem;font-size:.8125rem;display:inline-flex}.teacher-schedule .schedule-day .today-badge{color:var(--accent-start);background:#667eea1f;border-radius:9999px;padding:.1rem .5rem;font-size:.75rem;font-weight:600}.teacher-schedule .schedule-day .day-lessons{flex-direction:column;gap:.5rem;margin:.75rem 0 0;padding:0;list-style:none;display:flex}.teacher-schedule .schedule-day .lesson-row{background:var(--bg-surface);border:1px solid var(--border-color);border-radius:12px;align-items:center;gap:.75rem;min-width:0;padding:.625rem .75rem;display:flex}.teacher-schedule .schedule-day .lesson-time{background:linear-gradient(135deg, var(--accent-start), var(--accent-end));color:#fff;font-variant-numeric:tabular-nums;white-space:nowrap;border-radius:8px;flex-shrink:0;align-items:center;gap:.3rem;padding:.2rem .5rem;font-size:.8125rem;font-weight:700;display:inline-flex}.teacher-schedule .schedule-day .lesson-time svg{flex-shrink:0}.teacher-schedule .schedule-day .lesson-main{flex-direction:column;flex:auto;gap:.15rem;min-width:0;display:flex}.teacher-schedule .schedule-day .lesson-main .group-name{color:var(--text-primary);overflow-wrap:anywhere;font-weight:600}.teacher-schedule .schedule-day .lesson-main .room{min-width:0;color:var(--text-secondary);overflow-wrap:anywhere;align-items:center;gap:.25rem;font-size:.8125rem;display:inline-flex}.teacher-schedule .schedule-day .lesson-main .room svg{color:var(--text-muted);flex-shrink:0}.teacher-schedule .schedule-day .lesson-weekly-icon{width:36px;height:36px;color:var(--text-muted);flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.teacher-schedule .schedule-day .lesson-edit-btn{border:1px solid var(--border-color);background:var(--bg-card);width:36px;height:36px;color:var(--accent-start);cursor:pointer;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;padding:0;transition:background .15s,border-color .15s;display:inline-flex}.teacher-schedule .schedule-day .lesson-edit-btn svg{flex-shrink:0}.teacher-schedule .schedule-day .lesson-edit-btn:hover{border-color:var(--accent-start);background:#667eea1a}}@media (width<=380px){.teacher-schedule .page-header .week-switcher{gap:.25rem;padding:.25rem .375rem}.teacher-schedule .page-header .week-switcher .week-nav-btn{padding:.25rem}.teacher-schedule .page-header .week-switcher .week-range-display{gap:.35rem;padding:.25rem;font-size:.8125rem}.teacher-schedule .page-header .week-switcher .week-range-display .calendar-icon{width:14px;height:14px}.teacher-schedule .schedule-day{padding:.75rem}.teacher-schedule .schedule-day .lesson-row{gap:.5rem;padding:.5rem .625rem}.teacher-schedule .schedule-day .lesson-time svg{display:none}}@media (width<=480px){.schedule-form .form-actions{flex-direction:column-reverse;align-items:stretch;gap:.5rem}.schedule-form .form-actions button{text-align:center;justify-content:center;width:100%;min-height:44px}}.teacher-schedule{--tone-done:#16a34a;--tone-late:#d97706;--tone-missed:#dc2626;--tone-open:#2563eb}.teacher-schedule .schedule-legend{color:var(--text-secondary);flex-wrap:wrap;gap:6px 16px;margin:-.25rem 0 0;padding:0;font-size:.8125rem;list-style:none;display:flex}.teacher-schedule .schedule-legend li{align-items:center;gap:6px;display:inline-flex}.teacher-schedule .schedule-legend li:before{content:"";border-radius:3px;flex-shrink:0;width:10px;height:10px}.teacher-schedule .schedule-legend li.tone-done:before{background:var(--tone-done)}.teacher-schedule .schedule-legend li.tone-late:before{background:var(--tone-late)}.teacher-schedule .schedule-legend li.tone-missed:before{background:var(--tone-missed)}.teacher-schedule .schedule-legend li.tone-open:before{box-shadow:inset 0 0 0 2px var(--tone-open);background:0 0}.teacher-schedule .schedule-error{color:#ef4444;background:#ef44441a;border-radius:10px;padding:10px 12px;font-size:.875rem}.teacher-schedule .schedule-grid .grid-body .grid-row .cell .lesson-block.tone-done{background:var(--tone-done)}.teacher-schedule .schedule-grid .grid-body .grid-row .cell .lesson-block.tone-late{background:var(--tone-late)}.teacher-schedule .schedule-grid .grid-body .grid-row .cell .lesson-block.tone-missed{background:var(--tone-missed)}.teacher-schedule .schedule-grid .grid-body .grid-row .cell .lesson-block.tone-moved{border:1px dashed var(--tone-late);color:var(--text-primary);background:#d977061f}.teacher-schedule .schedule-grid .grid-body .grid-row .cell .lesson-block.tone-moved .lesson-weekly-icon{color:var(--tone-late)}.teacher-schedule .schedule-grid .grid-body .grid-row .cell .lesson-block.tone-open{box-shadow:0 0 0 2px var(--bg-card), 0 0 0 4px var(--tone-open)}.teacher-schedule .schedule-grid .grid-body .grid-row .cell .lesson-block .lesson-status{overflow-wrap:anywhere;font-size:.72rem;font-weight:600;line-height:1.3}.teacher-schedule .schedule-grid .grid-body .grid-row .cell .lesson-block .lesson-action{max-width:100%;color:inherit;text-align:left;overflow-wrap:anywhere;cursor:pointer;background:#ffffff2e;border:1px solid #ffffff80;border-radius:6px;align-self:flex-start;padding:3px 8px;font-size:.72rem;font-weight:600;line-height:1.3}.teacher-schedule .schedule-grid .grid-body .grid-row .cell .lesson-block .lesson-action:hover{background:#ffffff52}.teacher-schedule .schedule-grid .grid-body .grid-row .cell .lesson-block .lesson-action:focus-visible{outline-offset:1px;outline:2px solid #fff}.teacher-schedule .schedule-grid .grid-body .grid-row .cell .lesson-block.tone-moved .lesson-action{border-color:var(--tone-late);color:var(--tone-late);background:0 0}.teacher-schedule .schedule-list .schedule-day .lesson-row{border-left-width:4px}.teacher-schedule .schedule-list .schedule-day .lesson-row.tone-done{border-left-color:var(--tone-done)}.teacher-schedule .schedule-list .schedule-day .lesson-row.tone-late{border-left-color:var(--tone-late)}.teacher-schedule .schedule-list .schedule-day .lesson-row.tone-missed{border-left-color:var(--tone-missed)}.teacher-schedule .schedule-list .schedule-day .lesson-row.tone-moved{border-left-color:var(--tone-late);border-left-style:dashed}.teacher-schedule .schedule-list .schedule-day .lesson-row.tone-open{border-left-color:var(--tone-open)}.teacher-schedule .schedule-list .schedule-day .lesson-row .lesson-status{overflow-wrap:anywhere;font-size:.75rem;font-weight:600}.teacher-schedule .schedule-list .schedule-day .lesson-row.tone-done .lesson-status{color:var(--tone-done)}.teacher-schedule .schedule-list .schedule-day .lesson-row.tone-late .lesson-status,.teacher-schedule .schedule-list .schedule-day .lesson-row.tone-moved .lesson-status{color:var(--tone-late)}.teacher-schedule .schedule-list .schedule-day .lesson-row.tone-missed .lesson-status{color:var(--tone-missed)}.teacher-schedule .schedule-list .schedule-day .lesson-row.tone-open .lesson-status{color:var(--tone-open)}.teacher-schedule .schedule-list .schedule-day .lesson-row .lesson-action-row{border:1px solid var(--accent-start);max-width:40%;min-height:36px;color:var(--accent-start);text-align:center;overflow-wrap:anywhere;cursor:pointer;background:0 0;border-radius:10px;flex-shrink:0;padding:6px 10px;font-size:.8rem;font-weight:600;line-height:1.25}.teacher-schedule .schedule-list .schedule-day .lesson-row.tone-missed .lesson-action-row{border-color:var(--tone-missed);background:var(--tone-missed);color:#fff}@media (width<=380px){.teacher-schedule .schedule-list .schedule-day .lesson-row{flex-wrap:wrap}.teacher-schedule .schedule-list .schedule-day .lesson-row .lesson-main{flex:1 1 0}.teacher-schedule .schedule-list .schedule-day .lesson-row .lesson-action-row{flex:100%;order:3;max-width:none}}.schedule-fields{border:0;flex-direction:column;gap:1rem;min-width:0;margin:0;padding:0;display:flex}.schedule-fields:disabled{opacity:.7}.schedule-weekly-note{color:var(--text-primary);background:#d9770614;border-left:4px solid #d97706;border-radius:8px;margin:0;padding:10px 12px;font-size:.875rem;line-height:1.45}.textbooks-grid{grid-template-columns:repeat(auto-fill,minmax(min(280px,100%),1fr));gap:1.5rem;display:grid}.textbooks-grid .textbook-card{align-items:flex-start;gap:1rem;padding:1.25rem;transition:transform .2s,box-shadow .2s;display:flex;position:relative}.textbooks-grid .textbook-card:hover{transform:translateY(-3px);box-shadow:0 10px 20px #0000001a}.textbooks-grid .textbook-card .tb-icon{border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;display:flex}.textbooks-grid .textbook-card .tb-info{flex:1;min-width:0}.textbooks-grid .textbook-card .tb-info h3{color:var(--text-color);overflow-wrap:anywhere;margin:0 0 .25rem;font-size:1rem}.textbooks-grid .textbook-card .tb-info .subject{color:var(--text-color);opacity:.8;margin:0 0 .5rem;font-size:.875rem}.textbooks-grid .textbook-card .tb-info .meta{color:var(--text-muted);flex-wrap:wrap;align-items:center;gap:.25rem .75rem;font-size:.75rem;display:flex}.textbooks-grid .textbook-card .tb-title-btn{color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;padding:0}.textbooks-grid .textbook-card .tb-title-btn:hover{color:var(--accent-start);text-decoration:underline}.textbooks-grid .textbook-card.missing{border:1px solid #ef444459}.textbooks-grid .textbook-card .tb-missing{color:var(--danger);align-items:flex-start;gap:6px;margin:.5rem 0 0;font-size:.8125rem;font-weight:600;line-height:1.35;display:flex}.textbooks-grid .textbook-card .tb-missing svg{flex-shrink:0;margin-top:1px}.textbooks-grid .textbook-card .tb-actions{flex-wrap:wrap;gap:8px;margin-top:.75rem;display:flex}.textbooks-grid .textbook-card .tb-open-btn,.textbooks-grid .textbook-card .tb-replace-btn{border:1px solid var(--accent-start);min-height:40px;color:var(--accent-start);cursor:pointer;background:#667eea14;border-radius:10px;align-items:center;gap:6px;padding:0 14px;font-family:inherit;font-size:.875rem;font-weight:600;text-decoration:none;display:inline-flex}.textbooks-grid .textbook-card .tb-open-btn:hover:not(:disabled),.textbooks-grid .textbook-card .tb-replace-btn:hover:not(:disabled){background:#667eea29}.textbooks-grid .textbook-card .tb-open-btn:focus-visible,.textbooks-grid .textbook-card .tb-replace-btn:focus-visible{outline:2px solid var(--accent-start);outline-offset:2px}.textbooks-grid .textbook-card .tb-open-btn:disabled,.textbooks-grid .textbook-card .tb-replace-btn:disabled{opacity:.5;cursor:default}.textbooks-grid .textbook-card .tb-replace-btn{border-color:var(--border-color);color:var(--text-secondary);background:0 0}.textbooks-grid .textbook-card .tb-replace-btn.prominent{background:linear-gradient(135deg, var(--accent-start), var(--accent-end));color:#fff;border-color:#0000}.textbooks-grid .textbook-card .tb-replace-btn.prominent:hover:not(:disabled){background:linear-gradient(135deg, var(--accent-start), var(--accent-end));filter:brightness(1.08)}.textbooks-grid .textbook-card .delete-btn{color:var(--text-muted);cursor:pointer;background:0 0;border:none;border-radius:4px;padding:4px;transition:color .2s,background .2s}.textbooks-grid .textbook-card .delete-btn:hover:not(:disabled){color:#ef4444;background:#ef44441a}.textbooks-grid .textbook-card .delete-btn:disabled{opacity:.4;cursor:default}.textbooks-grid .textbook-card .delete-btn:focus-visible{outline:2px solid var(--accent-start);outline-offset:2px}@media (width<=600px){.textbooks-grid{gap:1rem}.textbooks-grid .textbook-card{grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:0;padding:16px;display:grid}.textbooks-grid .textbook-card .tb-icon{border-radius:10px;grid-area:1/1/span 4;width:40px;height:40px;margin-right:12px}.textbooks-grid .textbook-card .tb-info{display:contents}.textbooks-grid .textbook-card .tb-info>*{grid-column:2;min-width:0}.textbooks-grid .textbook-card .tb-info>.tb-actions{grid-column:1/-1}.textbooks-grid .textbook-card .tb-info h3{line-height:1.35}.textbooks-grid .textbook-card .tb-info~*{grid-area:1/3;margin-left:8px}.textbooks-grid .textbook-card .tb-title-btn{overflow-wrap:anywhere;max-width:100%}.textbooks-grid .textbook-card .tb-actions{flex-direction:column;align-items:stretch}.textbooks-grid .textbook-card .tb-open-btn,.textbooks-grid .textbook-card .tb-replace-btn{text-align:center;justify-content:center;width:100%;padding:8px 14px}.textbooks-grid .textbook-card .tb-open-btn svg,.textbooks-grid .textbook-card .tb-replace-btn svg{flex-shrink:0}}.teacher-textbooks{flex-direction:column;gap:1.5rem;display:flex}.teacher-textbooks .page-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;display:flex}.teacher-textbooks .page-header h1{margin:0}.teacher-textbooks .tb-storage{color:var(--text-secondary);margin:.25rem 0 0;font-size:.875rem}.teacher-textbooks .tb-blocked{border-left:3px solid var(--warning);color:var(--text-secondary);background:#f59e0b14;border-radius:6px;margin:-.75rem 0 0;padding:8px 12px;font-size:.875rem}.teacher-textbooks .tb-note{color:var(--text-secondary);margin:-.75rem 0 0;font-size:.875rem;line-height:1.45}.teacher-textbooks .primary-btn{background:linear-gradient(135deg, var(--color-accent-start), var(--color-accent-end));color:#fff;cursor:pointer;border:none;border-radius:8px;align-items:center;gap:.5rem;padding:.5rem 1rem;font-weight:500;display:flex}.teacher-textbooks .search-bar{align-items:center;gap:.75rem;max-width:400px;padding:.75rem 1rem;display:flex}.teacher-textbooks .search-bar .search-icon{color:var(--text-muted)}.teacher-textbooks .search-bar .search-input{color:var(--text-color);background:0 0;border:none;outline:none;width:100%}.textbook-form .tb-form-error{color:#ef4444;background:#ef44441a;border:1px solid #ef444433;border-radius:8px;margin-bottom:16px;padding:10px;font-size:14px}.textbook-form .tb-replace-note{color:var(--text-secondary);overflow-wrap:anywhere;margin:0 0 16px;font-size:.875rem;line-height:1.45}.textbook-form .tb-kind{border:none;gap:8px;margin:0 0 16px;padding:0;display:flex}.textbook-form .tb-kind legend{color:var(--text-secondary);margin-bottom:6px;font-size:13px;font-weight:600}.textbook-form .tb-kind label{border:1px solid var(--border-color);min-height:44px;color:var(--text-primary);cursor:pointer;border-radius:10px;flex:1;justify-content:center;align-items:center;gap:8px;padding:0 12px;font-size:.875rem;font-weight:600;display:flex}.textbook-form .tb-kind label.active{border-color:var(--accent-start);color:var(--accent-start);background:#667eea1a}.textbook-form .tb-kind label:focus-within{outline:2px solid var(--accent-start);outline-offset:2px}.textbook-form .tb-kind label input{accent-color:var(--accent-start)}.textbook-form .tb-kind:disabled label{opacity:.6;cursor:default}.textbook-form .tb-file-info{color:var(--text-secondary);align-items:center;gap:6px;margin:0;font-size:.875rem;display:flex}.textbook-form .tb-file-info .tb-file-name{min-width:0;color:var(--text-primary);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.textbook-form .tb-file-info svg{flex-shrink:0}.textbook-form .tb-field-error{color:var(--danger);margin:0;font-size:.8125rem}.textbook-form .tb-hint,.textbook-form .tb-notice{color:var(--text-secondary);margin:0;font-size:.8125rem;line-height:1.4}.textbook-form .tb-notice{border-left:3px solid var(--warning);background:#f59e0b14;border-radius:6px;padding:8px 10px}.textbook-form .tb-upload{color:var(--text-secondary);flex-direction:column;gap:6px;margin-bottom:8px;font-size:.875rem;display:flex}.textbook-form .tb-progress{background:var(--border-color);border-radius:4px;height:8px;overflow:hidden}.textbook-form .tb-progress div{background:linear-gradient(90deg, var(--accent-start), var(--accent-end));height:100%;transition:width .2s}.textbook-form .tb-progress.checking div{animation:1.2s ease-in-out infinite tb-progress-pulse}.textbook-form .cancel-btn:disabled{opacity:.5;cursor:default}@keyframes tb-progress-pulse{0%,to{opacity:1}50%{opacity:.45}}@media (prefers-reduced-motion:reduce){.textbook-form .tb-progress.checking div{animation:none}}@keyframes photo-spin{to{transform:rotate(360deg)}}.photo-spin{animation:1s linear infinite photo-spin}.photo-strip{-webkit-overflow-scrolling:touch;scrollbar-width:thin;align-items:flex-start;gap:8px;max-width:100%;padding-bottom:4px;display:flex;overflow-x:auto}.photo-thumb{flex:none;width:72px;height:72px;position:relative}.photo-thumb .photo-thumb-open{border:1px solid var(--border-color);background:var(--bg-primary);width:100%;height:100%;color:var(--text-muted);cursor:zoom-in;border-radius:10px;justify-content:center;align-items:center;padding:0;display:flex;position:relative;overflow:hidden}.photo-thumb .photo-thumb-open img{object-fit:cover;width:100%;height:100%;display:block}.photo-thumb .photo-thumb-open:focus-visible{outline:2px solid var(--accent-start);outline-offset:2px}.photo-thumb .photo-thumb-remove{color:#fff;cursor:pointer;background:#0f172ab8;border:none;border-radius:50%;justify-content:center;align-items:center;width:26px;height:26px;padding:0;display:flex;position:absolute;top:3px;right:3px}.photo-thumb .photo-thumb-remove:hover:not(:disabled){background:var(--danger)}.photo-thumb .photo-thumb-remove:disabled{opacity:.5;cursor:wait}.photo-thumb .photo-thumb-busy{color:var(--accent-start);background:#ffffff8c;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.photo-thumb.pending{border:1px dashed var(--accent-start);color:var(--accent-start);background:#667eea0f;border-radius:10px;justify-content:center;align-items:center;display:flex}.photo-thumb .photo-thumb-wait{color:#fff;background:#0f172a61;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.photo-thumb .photo-thumb-index{color:#fff;text-align:center;pointer-events:none;background:#0f172ab8;border-radius:10px;min-width:20px;height:20px;padding:0 5px;font-size:11px;font-weight:700;line-height:20px;position:absolute;bottom:4px;left:4px}.photo-thumb.failed .photo-thumb-open{border:2px solid var(--danger)}.photo-thumb.removing{opacity:.5}.photo-item{flex-direction:column;flex:none;gap:4px;width:72px;display:flex}.photo-move{display:flex}.photo-move button{border:1px solid var(--border-color);background:var(--bg-card);width:36px;height:36px;color:var(--accent-start);cursor:pointer;flex:0 0 36px;justify-content:center;align-items:center;padding:0;display:flex}.photo-move button:first-child{border-radius:10px 0 0 10px}.photo-move button:last-child{border-radius:0 10px 10px 0;margin-left:-1px}.photo-move button:hover:not(:disabled){background:#667eea1f}.photo-move button:disabled{color:var(--text-muted);opacity:.45;cursor:default}.photo-move button:focus-visible{outline:2px solid var(--accent-start);outline-offset:-2px;position:relative}.photo-retry{border:1px solid var(--danger);width:100%;height:36px;color:var(--danger);cursor:pointer;background:#ef444414;border-radius:10px;justify-content:center;align-items:center;padding:0;display:flex}.photo-retry:hover{background:#ef444429}.photo-retry:focus-visible{outline:2px solid var(--danger);outline-offset:2px}.task-photos{flex-direction:column;gap:6px;min-width:0;display:flex}.task-photos .task-photos-label{color:var(--text-secondary);font-size:.8rem;font-weight:600}.photo-pick-btn{border:1px solid var(--accent-start);min-height:44px;color:var(--accent-start);white-space:nowrap;cursor:pointer;background:#667eea14;border-radius:12px;justify-content:center;align-items:center;gap:6px;padding:0 14px;font-family:inherit;font-size:14px;font-weight:600;transition:background .2s;display:inline-flex}.photo-pick-btn:hover:not(:disabled){background:#667eea29}.photo-pick-btn:disabled{opacity:.5;cursor:not-allowed}.photo-pick-btn.gallery{border-color:var(--border-color);background:var(--bg-card);color:var(--text-secondary)}.photo-pick-btn.icon-only{width:44px;padding:0}.photo-lightbox{z-index:1100;color:#fff;background:#000000e6;justify-content:center;align-items:center;padding:60px 8px 16px;display:flex;position:fixed;inset:0}.photo-lightbox img{object-fit:contain;background:#fff;border-radius:6px;max-width:100%;max-height:100%}.photo-lightbox .photo-lightbox-close{color:#fff;cursor:pointer;background:#ffffff29;border:none;border-radius:50%;justify-content:center;align-items:center;width:44px;height:44px;display:flex;position:fixed;top:10px;right:10px}.photo-lightbox .photo-lightbox-close:hover{background:#ffffff47}.photo-lightbox .photo-lightbox-msg{margin:0;font-size:15px}.teacher-homework{flex-direction:column;gap:1.5rem;display:flex}.teacher-homework .page-header{justify-content:space-between;align-items:center;display:flex}.teacher-homework .page-header h1{margin:0}.teacher-homework .primary-btn{background:linear-gradient(135deg, var(--color-accent-start), var(--color-accent-end));color:#fff;cursor:pointer;border:none;border-radius:8px;align-items:center;gap:.5rem;padding:.5rem 1rem;font-weight:500;display:flex}.teacher-homework .homework-list{grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:1.5rem;display:grid}.teacher-homework .homework-list .homework-card{flex-direction:column;gap:1.25rem;padding:1.5rem;transition:transform .2s,box-shadow .2s;display:flex}.teacher-homework .homework-list .homework-card:hover{transform:translateY(-3px);box-shadow:0 10px 20px #0000001a}.teacher-homework .homework-list .homework-card .hw-header{justify-content:space-between;align-items:flex-start;display:flex}.teacher-homework .homework-list .homework-card .hw-header h3{color:var(--text-color);margin:0;font-size:1.125rem}.teacher-homework .homework-list .homework-card .hw-header .status-badge{text-transform:capitalize;border-radius:12px;padding:4px 8px;font-size:.75rem;font-weight:600}.teacher-homework .homework-list .homework-card .hw-header .status-badge.pending{color:#f59e0b;background:#f59e0b1a}.teacher-homework .homework-list .homework-card .hw-header .status-badge.submitted{color:#3b82f6;background:#3b82f61a}.teacher-homework .homework-list .homework-card .hw-header .status-badge.checked{color:#10b981;background:#10b9811a}.teacher-homework .homework-list .homework-card .hw-details{flex-direction:column;gap:.75rem;display:flex}.teacher-homework .homework-list .homework-card .hw-details .detail-row{color:var(--text-muted);align-items:center;gap:.75rem;font-size:.9rem;display:flex}.teacher-homework .homework-list .homework-card .hw-details .detail-row svg{flex-shrink:0}.teacher-homework .homework-list .homework-card .hw-details .detail-row .detail-text{overflow-wrap:anywhere;min-width:0}.teacher-homework .homework-list .homework-card .hw-progress{flex-direction:column;gap:.5rem;display:flex}.teacher-homework .homework-list .homework-card .hw-progress .progress-text{color:var(--text-muted);font-size:.875rem}.teacher-homework .homework-list .homework-card .hw-progress .progress-bar{background:#0000001a;border-radius:4px;height:8px;overflow:hidden}.teacher-homework .homework-list .homework-card .hw-progress .progress-bar .fill{border-radius:4px;height:100%;transition:width .5s}.teacher-homework .hw-form{flex-direction:column;gap:1rem;display:flex}.teacher-homework .hw-form .form-group{flex-direction:column;gap:.5rem;display:flex}.teacher-homework .hw-form .form-group label{color:var(--text-color);font-size:.875rem;font-weight:500}.teacher-homework .hw-form .form-group .form-input{border:1px solid var(--border-color);color:var(--text-color);background:#0000000d;border-radius:8px;outline:none;padding:.75rem;font-family:inherit}.teacher-homework .hw-form .form-actions{justify-content:flex-end;gap:1rem;margin-top:1rem;display:flex}.teacher-homework .hw-form .form-actions .cancel-btn{border:1px solid var(--border-color);color:var(--text-color);cursor:pointer;background:0 0;border-radius:8px;padding:.5rem 1rem}.teacher-homework .homework-card .hw-actions{justify-content:space-between;align-items:center;gap:.75rem;margin-top:auto;display:flex}.teacher-homework .empty-homework{text-align:center;color:var(--text-muted);padding:30px}:root.dark .teacher-homework .homework-card .hw-progress .progress-bar{background:#ffffff1a}:root.dark .teacher-homework .hw-form .form-input{background:#ffffff0d}@media (width<=600px){.teacher-homework{gap:1rem}.teacher-homework .page-header{flex-wrap:wrap;gap:.75rem}.teacher-homework .page-header h1{min-width:0}.teacher-homework .page-header .primary-btn{white-space:nowrap;flex:100%;justify-content:center;min-height:44px}.teacher-homework .primary-btn svg{flex-shrink:0}.teacher-homework .homework-list{grid-template-columns:minmax(0,1fr);gap:1rem}.teacher-homework .homework-list .homework-card{gap:1rem;min-width:0;padding:1rem}.teacher-homework .homework-list .homework-card .hw-header{gap:.625rem}.teacher-homework .homework-list .homework-card .hw-header h3{overflow-wrap:anywhere;min-width:0}.teacher-homework .homework-list .homework-card .hw-header .status-badge{white-space:nowrap;flex-shrink:0}.teacher-homework .homework-list .homework-card .hw-details .detail-row span{overflow-wrap:anywhere;min-width:0}.teacher-homework .homework-card .hw-actions .primary-btn{white-space:nowrap;min-height:40px}.teacher-homework .homework-card .hw-actions .action-buttons{flex-shrink:0}.teacher-homework .empty-homework{padding:24px 16px}}.hw-form .paper-check{color:var(--text-primary);cursor:pointer;align-items:flex-start;gap:.6rem;font-size:.9rem;display:flex}.hw-form .paper-check input{width:16px;height:16px;accent-color:var(--accent-start);flex-shrink:0;margin-top:3px}.hw-form .form-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px;display:grid}@media (width<=420px){.hw-form .form-row{grid-template-columns:minmax(0,1fr)}}.hw-form select.form-input:disabled{opacity:.65;cursor:not-allowed}.hw-form .field-hint{color:var(--text-muted);margin:0;font-size:12.5px;line-height:1.45}.hw-form .field-hint.warn{color:#d97706}.hw-form .field-error{color:var(--danger);margin:0;font-size:13px}.hw-form .ai-block{background:#667eea0d;border:1px solid #667eea59;border-radius:14px;min-width:0;margin:14px 0 0;padding:12px 14px 0}.hw-form .ai-block legend{color:var(--accent-start);align-items:center;gap:6px;padding:0 6px;font-size:13px;font-weight:700;display:inline-flex}.hw-form .photo-buttons{flex-wrap:wrap;gap:8px;display:flex}.hw-form .textbook-chooser{border:1px solid var(--border-color);background:var(--bg-card);border-radius:12px;margin-top:10px;padding:10px}.hw-form .textbook-chooser .field-hint{margin:0 0 8px}.hw-form .textbook-chooser-list{flex-direction:column;gap:6px;max-height:240px;display:flex;overflow-y:auto}.hw-form .textbook-chooser-item{border:1px solid var(--border-color);background:var(--bg-surface);width:100%;min-height:44px;color:var(--text-primary);font:inherit;text-align:left;cursor:pointer;border-radius:10px;flex-wrap:wrap;align-items:center;gap:4px 8px;padding:8px 12px;font-size:14px;transition:border-color .15s,background .15s;display:flex}.hw-form .textbook-chooser-item svg{color:var(--accent-start);flex-shrink:0}.hw-form .textbook-chooser-item:hover:not(:disabled){border-color:var(--accent-start);background:var(--bg-card-hover)}.hw-form .textbook-chooser-item:disabled{opacity:.6;cursor:not-allowed}.hw-form .textbook-chooser-item .textbook-chooser-title{overflow-wrap:anywhere;flex:auto;min-width:0;font-weight:600}.hw-form .textbook-chooser-item .textbook-chooser-note{color:var(--text-muted);font-size:12px}.hw-form .telegram-note{align-items:flex-start;gap:6px;margin-top:14px;display:flex}.hw-form .telegram-note svg{flex-shrink:0;margin-top:2px}@media (width<=480px){.hw-form .form-actions{flex-direction:column-reverse}.hw-form .form-actions button{justify-content:center;width:100%;min-height:44px}}@media (width<=600px){.hw-form .ai-block legend{max-width:100%}.hw-form .ai-block legend svg{flex-shrink:0}.hw-form .photo-buttons .photo-pick-btn{white-space:normal;text-align:center;flex:auto;min-width:0;max-width:100%;padding-top:6px;padding-bottom:6px;line-height:1.25}.hw-form .photo-buttons .photo-pick-btn svg{flex-shrink:0}.hw-form .textbook-chooser-item{grid-template-columns:16px minmax(0,1fr);gap:2px 8px;display:grid}.hw-form .textbook-chooser-item .textbook-chooser-note{grid-column:2}}@media (width<=380px){.hw-form .ai-block{padding:10px 10px 0}.hw-form .textbook-chooser{padding:8px}.hw-form .textbook-chooser-item{padding:8px 10px}}.hw-form .form-error,.results-error{color:#ef4444;background-color:#ef44441a;border:1px solid #ef444433;border-radius:8px;margin-bottom:16px;padding:10px;font-size:14px}.results-error{margin:16px 0 0}.results-success{color:#10b981;background:#10b9811a;border:1px solid #10b98133;border-radius:8px;margin-top:16px;padding:10px;font-size:14px}.results-list{flex-direction:column;gap:12px;display:flex}.results-list .results-empty{text-align:center;color:var(--text-muted);margin:0}.results-list .result-row{background:var(--bg-primary);border:1px solid var(--border-color);border-radius:8px;padding:12px}.results-list .result-row.dirty{border-color:var(--accent-start)}.results-list .result-head{justify-content:space-between;gap:8px;margin-bottom:6px;display:flex}.results-list .result-head .result-date{color:var(--text-muted);white-space:nowrap;font-size:.8rem}.results-list .answer-text{word-break:break-word;white-space:pre-wrap;margin:0 0 8px}.results-list .no-answer{color:var(--text-muted);margin:0 0 8px;font-size:.85rem;font-style:italic}.results-list .result-inputs{grid-template-columns:90px 1fr 38px;align-items:center;gap:8px;display:grid}.results-list .result-inputs .form-input{margin:0;padding:8px 10px}@media (width<=380px){.results-list .result-inputs{grid-template-columns:72px minmax(0,1fr) 38px;gap:6px}}.lesson-day-picker{width:100%;min-width:0;position:relative}.lesson-day-picker .lesson-day-trigger{text-align:left;cursor:pointer;font-variant-numeric:tabular-nums;justify-content:space-between;align-items:center;gap:8px;width:100%;display:flex}.lesson-day-picker .lesson-day-trigger svg{color:var(--text-secondary);flex-shrink:0}.lesson-day-picker .lesson-day-panel{z-index:60;border:1px solid var(--border-color);background:var(--bg-surface);border-radius:14px;width:300px;max-width:calc(100vw - 32px);padding:12px;position:absolute;top:calc(100% + 6px);left:0;box-shadow:0 12px 32px #00000047}.lesson-day-picker .ldp-head{justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;display:flex}.lesson-day-picker .ldp-month{color:var(--text-primary);text-transform:capitalize;font-size:.95rem;font-weight:700}.lesson-day-picker .ldp-nav{border:1px solid var(--border-color);width:32px;height:32px;color:var(--text-primary);cursor:pointer;background:0 0;border-radius:8px;justify-content:center;align-items:center;display:inline-flex}.lesson-day-picker .ldp-nav:disabled{opacity:.35;cursor:not-allowed}.lesson-day-picker .ldp-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;display:grid}.lesson-day-picker .ldp-weekday{color:var(--text-secondary);text-align:center;padding:4px 0;font-size:.72rem;font-weight:600}.lesson-day-picker .lesson-day{aspect-ratio:1;min-height:34px;color:var(--text-muted,#64748b);font-variant-numeric:tabular-nums;background:0 0;border:1px solid #0000;border-radius:8px;padding:0;font-size:.85rem}.lesson-day-picker .lesson-day.none{opacity:.35}.lesson-day-picker .lesson-day.lesson{border-color:var(--accent-start,#667eea);color:var(--text-primary);cursor:pointer;font-weight:600}.lesson-day-picker .lesson-day.lesson:hover{background:#667eea26}.lesson-day-picker .lesson-day.held{color:#1f1300;cursor:pointer;background:#f59e0b;border-color:#d97706;font-weight:700}.lesson-day-picker .lesson-day.held:hover{background:#fbbf24}.lesson-day-picker .lesson-day.future{color:var(--text-secondary);border:1px dashed #667eeab3}.lesson-day-picker .lesson-day.today{text-underline-offset:3px;text-decoration:underline}.lesson-day-picker .lesson-day.selected{outline:2px solid var(--text-primary);outline-offset:1px}.lesson-day-picker .lesson-day:focus-visible{outline-offset:1px;outline:2px solid #2563eb}.lesson-day-picker .lesson-day:disabled{cursor:not-allowed}.lesson-day-picker .ldp-note{color:var(--text-secondary);margin:8px 0 0;font-size:.8rem}.lesson-day-picker .ldp-note.error{color:#dc2626}.lesson-day-picker .ldp-retry{color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;padding:0;text-decoration:underline}.lesson-day-picker .ldp-legend{color:var(--text-secondary);flex-wrap:wrap;gap:4px 12px;margin:10px 0 0;padding:0;font-size:.75rem;list-style:none;display:flex}.lesson-day-picker .ldp-legend li{align-items:center;gap:6px;display:inline-flex}.lesson-day-picker .ldp-legend li:before{content:"";border-radius:3px;width:12px;height:12px}.lesson-day-picker .ldp-legend li.held:before{background:#f59e0b}.lesson-day-picker .ldp-legend li.lesson:before{border:1px solid var(--accent-start,#667eea)}.lesson-day-picker .ldp-legend li.future:before{border:1px dashed #667eeab3}@media (width<=600px){.lesson-day-picker .lesson-day-panel{width:min(320px,100vw - 32px)}}.teacher-attendance{flex-direction:column;gap:1.5rem;display:flex}.teacher-attendance .page-header h1{margin:0}.teacher-attendance .controls-bar{flex-wrap:wrap;align-items:center;gap:1.5rem;padding:1.5rem;display:flex}.teacher-attendance .controls-bar .control-group{flex-direction:column;gap:.5rem;display:flex}.teacher-attendance .controls-bar .control-group label{color:var(--text-muted);font-size:.875rem;font-weight:500}.teacher-attendance .controls-bar .control-group .control-input{border:1px solid var(--border-color);color:var(--text-color);background:#0000000d;border-radius:8px;outline:none;min-width:200px;padding:.75rem 1rem}.teacher-attendance .students-list{flex-direction:column;display:flex}.teacher-attendance .students-list .list-header{border-bottom:1px solid var(--border-color);color:var(--text-muted);justify-content:space-between;padding:1rem 1.5rem;font-size:.875rem;font-weight:600;display:flex}.teacher-attendance .students-list .student-row{border-bottom:1px solid var(--border-color);justify-content:space-between;align-items:center;padding:1rem 1.5rem;display:flex}.teacher-attendance .students-list .student-row .student-name{color:var(--text-color);font-weight:500}.teacher-attendance .students-list .student-row .status-toggles{background:#0000000d;border-radius:8px;gap:.5rem;padding:4px;display:flex}.teacher-attendance .students-list .student-row .status-toggles .toggle-btn{color:var(--text-muted);cursor:pointer;background:0 0;border:none;border-radius:6px;padding:6px 12px;font-size:.875rem;font-weight:500;transition:all .2s}.teacher-attendance .students-list .student-row .status-toggles .toggle-btn.active{color:#fff}.teacher-attendance .students-list .student-row .status-toggles .toggle-btn.active.present{background:#10b981}.teacher-attendance .students-list .student-row .status-toggles .toggle-btn.active.late{background:#f59e0b}.teacher-attendance .students-list .student-row .status-toggles .toggle-btn.active.absent{background:#ef4444}.teacher-attendance .students-list .list-actions{justify-content:flex-end;padding:1.5rem;display:flex}.teacher-attendance .students-list .list-actions .primary-btn{background:linear-gradient(135deg, var(--color-accent-start), var(--color-accent-end));color:#fff;cursor:pointer;border:none;border-radius:8px;align-items:center;gap:.5rem;padding:.75rem 1.5rem;font-weight:500;display:flex}:root.dark .teacher-attendance .control-input,:root.dark .teacher-attendance .status-toggles{background:#ffffff0d!important}@media (width<=600px){.teacher-attendance{gap:1rem}.teacher-attendance .controls-bar{gap:.75rem 1rem;padding:1rem}.teacher-attendance .controls-bar .control-group{flex:200px;min-width:0}.teacher-attendance .controls-bar .control-group .control-input{width:100%;min-width:0;min-height:44px}.teacher-attendance .students-list .list-header{gap:.75rem;padding:.75rem 1rem}.teacher-attendance .students-list .student-row{flex-wrap:wrap;gap:.625rem .75rem;padding:.75rem 1rem}.teacher-attendance .students-list .student-row .student-name{overflow-wrap:anywhere;flex:999 7rem;min-width:0}.teacher-attendance .students-list .student-row .form-input{flex-shrink:0}.teacher-attendance .students-list .student-row .status-toggles{flex:1 0 auto;gap:4px}.teacher-attendance .students-list .student-row .status-toggles .toggle-btn{white-space:nowrap;flex:auto;min-height:40px;padding:6px 8px}.teacher-attendance .students-list .list-actions{padding:1rem}.teacher-attendance .students-list .list-actions .primary-btn{justify-content:center;min-height:44px}.teacher-attendance .students-list .list-actions .primary-btn svg{flex-shrink:0}}@media (width<=380px){.teacher-attendance .students-list .student-row .status-toggles .toggle-btn{padding:6px;font-size:.8125rem}}.teacher-attendance .attendance-banner{border:1px solid var(--border-color);color:var(--text-primary);border-radius:12px;flex-wrap:wrap;align-items:center;gap:8px 10px;padding:12px 14px;font-size:.9rem;line-height:1.45;display:flex}.teacher-attendance .attendance-banner>svg{flex-shrink:0}.teacher-attendance .attendance-banner>span{overflow-wrap:anywhere;flex:14rem;min-width:0}.teacher-attendance .attendance-banner.info{background:#2563eb14;border-color:#2563eb4d}.teacher-attendance .attendance-banner.info>svg{color:#2563eb}.teacher-attendance .attendance-banner.ok{background:#16a34a14;border-color:#16a34a4d}.teacher-attendance .attendance-banner.ok>svg{color:#16a34a}.teacher-attendance .attendance-banner.warn{background:#ef444414;border-color:#ef444459}.teacher-attendance .attendance-banner.warn>svg{color:#ef4444}.teacher-attendance .attendance-banner .banner-btn{color:var(--accent-start);cursor:pointer;background:0 0;border:1px solid;border-radius:8px;flex-shrink:0;padding:6px 12px;font-weight:600}.teacher-attendance .attendance-banner.warn .banner-btn{color:#fff;background:#ef4444;border-color:#ef4444}.teacher-attendance .students-list .student-row{gap:.75rem}.teacher-attendance .students-list .student-row .saved-status{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.5rem;min-width:0;display:flex}.teacher-attendance .students-list .student-row .status-chip{color:#fff;white-space:nowrap;border-radius:9999px;padding:4px 10px;font-size:.8125rem;font-weight:600}.teacher-attendance .students-list .student-row .status-chip.present{background:#10b981}.teacher-attendance .students-list .student-row .status-chip.late{background:#f59e0b}.teacher-attendance .students-list .student-row .status-chip.absent{background:#ef4444}.teacher-attendance .students-list .student-row .status-chip.none{border:1px dashed var(--border-color);color:var(--text-secondary);background:0 0}.teacher-attendance .students-list .student-row .change-btn{border:1px solid var(--border-color);background:var(--bg-card);min-height:34px;color:var(--accent-start);white-space:nowrap;cursor:pointer;border-radius:8px;align-items:center;gap:.35rem;padding:4px 10px;font-size:.8125rem;font-weight:600;display:inline-flex}.teacher-attendance .students-list .student-row .change-btn svg{flex-shrink:0}.teacher-attendance .students-list .student-row .change-btn:hover{border-color:var(--accent-start)}.teacher-attendance .students-list .student-row .status-toggles .toggle-btn:disabled{cursor:not-allowed;opacity:.55}.teacher-attendance .students-list .attendance-empty,.teacher-attendance .students-list .attendance-taken-hint{color:var(--text-secondary);margin:0;padding:1rem 1.5rem;font-size:.875rem;line-height:1.5}@media (width<=600px){.teacher-attendance .students-list .student-row .saved-status{flex:1 0 auto;justify-content:space-between}.teacher-attendance .students-list .attendance-empty,.teacher-attendance .students-list .attendance-taken-hint{padding:.75rem 1rem}}.attendance-change-form{flex-direction:column;gap:14px;min-width:0;display:flex}.attendance-change-form .change-lead{color:var(--text-secondary);margin:0;font-size:.9rem;line-height:1.5}.attendance-change-form .change-error{color:#ef4444;overflow-wrap:anywhere;background:#ef44441a;border-radius:10px;padding:10px 12px;font-size:.875rem}.attendance-change-form .required{color:#ef4444}.attendance-change-form .status-toggles{background:#0000000d;border-radius:8px;gap:4px;padding:4px;display:flex}.attendance-change-form .status-toggles .toggle-btn{min-height:40px;color:var(--text-muted);cursor:pointer;background:0 0;border:none;border-radius:6px;flex:1 1 0;padding:6px 8px;font-size:.875rem;font-weight:500}.attendance-change-form .status-toggles .toggle-btn.active{color:#fff}.attendance-change-form .status-toggles .toggle-btn.active.present{background:#10b981}.attendance-change-form .status-toggles .toggle-btn.active.late{background:#f59e0b}.attendance-change-form .status-toggles .toggle-btn.active.absent{background:#ef4444}.attendance-change-form textarea.form-input{resize:vertical;min-height:72px}.attendance-change-form .form-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}:root.dark .attendance-change-form .status-toggles{background:#ffffff0d}@media (width<=480px){.attendance-change-form .form-actions>button{flex:1 1 0}}.teacher-grades .student-name{align-items:center;gap:.5rem;min-width:0;display:inline-flex}.teacher-grades .grade-rank{background:var(--bg-surface);min-width:1.75rem;height:1.75rem;color:var(--text-secondary);border-radius:9999px;flex-shrink:0;justify-content:center;align-items:center;font-size:.8rem;font-weight:700;display:inline-flex}.teacher-grades .grade-average{color:var(--text-muted);font-variant-numeric:tabular-nums;font-size:.8rem}.teacher-grades .grade-input{width:110px;margin:0}.teacher-grades .grade-chips{flex-wrap:wrap;justify-content:flex-end;gap:.35rem;display:inline-flex}.teacher-grades .grade-chip{color:#10b981;font-variant-numeric:tabular-nums;white-space:nowrap;background:#10b98126;border-radius:9999px;padding:.2rem .6rem;font-size:.8rem;font-weight:700}.teacher-grades .grade-chip.ai{color:var(--accent-start,#667eea);background:#667eea26}.teacher-grades .grade-chip.none{color:var(--text-muted);background:0 0}.teacher-grades .list-actions{flex-wrap:wrap;gap:.75rem}.teacher-grades .grades-hint{color:var(--text-secondary);align-items:center;gap:.35rem;margin:0 auto 0 0;font-size:.8rem;display:inline-flex}.completion-ring{flex-shrink:0;justify-content:center;align-items:center;display:inline-flex;position:relative}.completion-ring svg{position:absolute;inset:0}.completion-ring .ring-track{stroke:var(--border-color)}.completion-ring .ring-value{stroke:hsl(var(--ring-hue), 72%, 45%);transition:stroke-dasharray .4s,stroke .4s}.completion-ring.known .ring-track{stroke:hsl(var(--ring-hue), 72%, 45%, .22)}.completion-ring .ring-text{letter-spacing:-.3px;font-variant-numeric:tabular-nums;color:var(--text-secondary);font-size:11px;font-weight:700;line-height:1;position:relative}.completion-ring.known .ring-text{color:hsl(var(--ring-hue), 80%, 24%)}:root.dark .completion-ring.known .ring-text{color:hsl(var(--ring-hue), 75%, 70%)}:root.dark .completion-ring.known .ring-value{stroke:hsl(var(--ring-hue), 70%, 52%)}@media (prefers-reduced-motion:reduce){.completion-ring .ring-value{transition:none}}.teacher-ai-checker{flex-direction:column;gap:16px;min-width:0;max-width:860px;display:flex}.teacher-ai-checker .page-header{margin-bottom:0}.teacher-ai-checker .page-header h1{margin:0}.teacher-ai-checker .checker-card{min-width:0;padding:16px}.teacher-ai-checker .checker-muted{color:var(--text-muted);margin:0;font-size:14px}.teacher-ai-checker .checker-error{color:#ef4444;background:#ef444414;border:1px solid #ef44444d;border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:12px 14px;font-size:14px;display:flex}.teacher-ai-checker .field-hint{color:var(--text-muted);margin:0;font-size:13px;line-height:1.45}.teacher-ai-checker .field-hint a{color:var(--accent-start);font-weight:600}.teacher-ai-checker .checker-notice{border-radius:12px;align-items:flex-start;gap:10px;padding:10px 12px;font-size:13.5px;line-height:1.45;display:flex}.teacher-ai-checker .checker-notice svg{flex-shrink:0;margin-top:1px}.teacher-ai-checker .checker-notice p{margin:4px 0 0}.teacher-ai-checker .checker-notice.warn{color:var(--text-primary);background:#f59e0b1a;border:1px solid #f59e0b59}.teacher-ai-checker .checker-notice.warn svg{color:#f59e0b}.teacher-ai-checker .checker-notice.info{color:var(--text-primary);background:#667eea14;border:1px solid #667eea4d}.teacher-ai-checker .checker-notice.info svg{color:var(--accent-start)}.teacher-ai-checker .checker-intro{flex-direction:column;gap:10px;display:flex}.teacher-ai-checker .checker-intro .checker-rule{color:var(--text-primary);align-items:flex-start;gap:8px;margin:0;font-size:14px;font-weight:500;line-height:1.45;display:flex}.teacher-ai-checker .checker-intro .checker-rule svg{color:var(--accent-start);flex-shrink:0;margin-top:1px}.teacher-ai-checker .checker-intro .checker-usage{color:var(--text-secondary);margin:0;font-size:13px}.teacher-ai-checker .checker-intro .checker-usage.exhausted{color:#ef4444;font-weight:600}.teacher-ai-checker .checker-intro .checker-privacy{color:var(--text-secondary);align-items:flex-start;gap:8px;margin:0;font-size:13px;line-height:1.5;display:flex}.teacher-ai-checker .checker-intro .checker-privacy svg{color:var(--success);flex-shrink:0;margin-top:2px}.teacher-ai-checker .checker-intro .checker-privacy a{color:var(--accent-start);white-space:nowrap;font-weight:600}.teacher-ai-checker .checker-select{flex-direction:column;gap:4px;display:flex}.teacher-ai-checker .checker-select .form-group{margin-bottom:10px}.teacher-ai-checker .checker-select select.form-input{min-height:44px}.teacher-ai-checker .checker-select select.form-input:disabled{opacity:.6;cursor:not-allowed}.teacher-ai-checker .checker-reference{flex-direction:column;gap:10px;display:flex}.teacher-ai-checker .checker-reference .reference-label{text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted);font-size:12px;font-weight:600}.teacher-ai-checker .checker-reference h3{color:var(--text-primary);overflow-wrap:anywhere;margin:0;font-size:17px}.teacher-ai-checker .checker-reference .reference-meta{color:var(--text-secondary);flex-wrap:wrap;gap:6px 14px;font-size:13px;display:flex}.teacher-ai-checker .checker-reference .reference-meta span{overflow-wrap:anywhere;align-items:center;gap:5px;min-width:0;display:inline-flex}.teacher-ai-checker .checker-reference .reference-meta svg{flex-shrink:0}.teacher-ai-checker .checker-reference .reference-text,.teacher-ai-checker .checker-reference .reference-note{color:var(--text-secondary);white-space:pre-wrap;overflow-wrap:anywhere;max-height:12em;margin:0;font-size:14px;line-height:1.5;overflow-y:auto}.teacher-ai-checker .checker-reference .reference-note{background:var(--bg-primary);border-radius:10px;padding:8px 10px;font-size:13px}.teacher-ai-checker .checker-students{flex-direction:column;gap:12px;display:flex}.teacher-ai-checker .checker-student{border-radius:14px;flex-direction:column;gap:10px;min-width:0;padding:14px;display:flex}.teacher-ai-checker .checker-student.running{border-color:var(--accent-start)}.teacher-ai-checker .checker-student .student-head{justify-content:space-between;align-items:center;gap:10px;min-width:0;display:flex}.teacher-ai-checker .checker-student .student-head .student-name{min-width:0;color:var(--text-primary);overflow-wrap:anywhere;font-size:15px}.teacher-ai-checker .checker-student .student-lead{align-items:center;gap:10px;min-width:0;display:flex}.teacher-ai-checker .checker-student .student-title{flex-wrap:wrap;align-items:center;gap:4px 8px;min-width:0;display:flex}.teacher-ai-checker .checker-student .refused-chip{white-space:nowrap;color:#b45309;background:#f59e0b24;border:1px solid #f59e0b59;border-radius:999px;align-items:center;padding:2px 8px;font-size:11.5px;font-weight:600;display:inline-flex}:root.dark .teacher-ai-checker .checker-student .refused-chip{color:#fbbf24}.teacher-ai-checker .checker-student .result-chip{white-space:nowrap;color:var(--text-muted);background:var(--bg-primary);border:1px solid var(--border-color);border-radius:999px;flex-shrink:0;align-items:center;gap:4px;padding:3px 10px;font-size:12px;font-weight:600;display:inline-flex}.teacher-ai-checker .checker-student .result-chip.saved{color:#10b981;background:#10b9811a;border-color:#10b9814d}.teacher-ai-checker .checker-student .student-actions{flex-wrap:wrap;gap:8px;display:flex}.teacher-ai-checker .checker-student .check-btn{white-space:nowrap;flex:170px;justify-content:center;min-height:44px}.teacher-ai-checker .checker-student .check-btn .attempts{background:#ffffff38;border-radius:999px;padding:1px 8px;font-size:12px}.teacher-ai-checker .checker-student .queue-cancel{justify-content:center;align-items:center;gap:6px;min-height:44px;padding:0 14px;font-family:inherit;font-weight:600;display:inline-flex}.teacher-ai-checker .checker-student .student-hint{color:var(--text-muted);margin:0;font-size:13px}.teacher-ai-checker .checker-student .student-hint.lost{color:var(--text-primary);background:#667eea14;border:1px solid #667eea4d;border-radius:10px;align-items:flex-start;gap:6px;padding:8px 10px;line-height:1.45;display:flex}.teacher-ai-checker .checker-student .student-hint.lost svg{color:var(--accent-start);flex-shrink:0;margin-top:2px}.teacher-ai-checker .checker-student .student-error{color:#ef4444;background:#ef444414;border:1px solid #ef444433;border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin:0;padding:8px 10px;font-size:13px;display:flex}.teacher-ai-checker .checker-student .student-error span{overflow-wrap:anywhere;min-width:0}.teacher-ai-checker .checker-student .student-error .error-retry{background:var(--bg-card);color:#ef4444;cursor:pointer;border:1px solid #ef444473;border-radius:10px;align-items:center;gap:6px;min-height:40px;padding:0 12px;font-family:inherit;font-size:13px;font-weight:600;display:inline-flex}.teacher-ai-checker .checker-student .student-error .error-retry:hover{background:#ef44441f}.teacher-ai-checker .checker-student .student-toggle{min-height:40px;color:var(--accent-start);cursor:pointer;background:0 0;border:none;align-self:flex-start;align-items:center;gap:6px;padding:0 4px;font-family:inherit;font-size:14px;font-weight:600;display:inline-flex}.teacher-ai-checker .checker-student .student-toggle svg{transition:transform .2s}.teacher-ai-checker .checker-student .student-toggle.open svg{transform:rotate(180deg)}.teacher-ai-checker .checker-student .student-toggle .toggle-score{background:#667eea1f;border-radius:999px;padding:1px 8px;font-size:12px}.teacher-ai-checker .checker-student .student-panel{border-top:1px dashed var(--border-color);flex-direction:column;gap:12px;padding-top:10px;display:flex}.teacher-ai-checker .check-result{color:var(--text-primary);flex-direction:column;gap:8px;font-size:14px;display:flex}.teacher-ai-checker .check-result .check-score{font-size:15px}.teacher-ai-checker .check-result .check-score strong{color:var(--accent-start)}.teacher-ai-checker .check-result .check-score .check-completion{color:var(--text-secondary);margin-left:8px;font-size:13px}.teacher-ai-checker .check-result .check-mistakes ul{overflow-wrap:anywhere;flex-direction:column;gap:4px;margin:4px 0 0;padding-left:20px;line-height:1.45;display:flex}.teacher-ai-checker .check-result .check-feedback{overflow-wrap:anywhere;margin:0;line-height:1.5}.teacher-ai-checker .check-result .check-transcription summary{cursor:pointer;color:var(--accent-start);align-items:center;min-height:32px;font-weight:600;display:flex}.teacher-ai-checker .check-result .check-transcription .transcription-text{background:var(--bg-primary);white-space:pre-wrap;overflow-wrap:anywhere;border-radius:10px;max-height:18em;margin-top:6px;padding:10px;font-size:13px;line-height:1.5;overflow-y:auto}.teacher-ai-checker .check-label{color:var(--text-secondary);font-weight:600}.teacher-ai-checker .check-muted{color:var(--text-muted);margin:0;font-size:13px}.teacher-ai-checker .check-time{font-size:12px}.teacher-ai-checker .final-result{background:var(--bg-primary);border-radius:12px;flex-direction:column;gap:8px;padding:12px;display:flex}.teacher-ai-checker .final-result .final-note{color:var(--text-muted);margin:0;font-size:12.5px}.teacher-ai-checker .final-result .final-inputs{grid-template-columns:130px minmax(0,1fr);gap:0 10px;display:grid}@media (width<=520px){.teacher-ai-checker .final-result .final-inputs{grid-template-columns:minmax(0,1fr)}}.teacher-ai-checker .final-result .final-inputs .form-group{margin-bottom:8px}.teacher-ai-checker .final-result .final-inputs .form-input{padding:10px 12px}.teacher-ai-checker .final-result .final-inputs textarea.form-input{resize:vertical;min-height:44px}.teacher-ai-checker .final-result .final-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.teacher-ai-checker .final-result .final-actions .primary-btn{justify-content:center;min-height:44px}@media (width<=520px){.teacher-ai-checker .final-result .final-actions .primary-btn{flex:100%}}.teacher-ai-checker .final-result .final-photos-note{color:var(--text-muted);flex:220px;margin:0;font-size:12.5px;line-height:1.4}.teacher-ai-checker .final-result .final-saved{color:#10b981;align-items:center;gap:5px;font-size:14px;font-weight:600;display:inline-flex}.teacher-ai-checker .check-history summary{cursor:pointer;min-height:36px;color:var(--text-secondary);align-items:center;font-size:14px;font-weight:600;display:flex}.teacher-ai-checker .check-history ul{flex-direction:column;gap:8px;margin:6px 0 0;padding:0;list-style:none;display:flex}.teacher-ai-checker .check-history li{border:1px solid var(--border-color);color:var(--text-secondary);border-radius:10px;padding:10px;font-size:13px}.teacher-ai-checker .check-history li p{overflow-wrap:anywhere;margin:6px 0 0;line-height:1.45}.teacher-ai-checker .check-history .history-head{flex-wrap:wrap;align-items:center;gap:6px 12px;display:flex}.teacher-ai-checker .check-history .history-head strong{color:var(--text-primary)}.teacher-ai-checker .check-history .history-bad{color:#ef4444;font-weight:600}.teacher-ai-checker .check-history .link-btn{min-height:32px;color:var(--accent-start);cursor:pointer;background:0 0;border:none;margin-top:6px;padding:0;font-family:inherit;font-size:13px;font-weight:600}@media (width<=600px){.teacher-ai-checker button svg{flex-shrink:0}}.student-dashboard{flex-direction:column;gap:1.5rem;display:flex}.student-dashboard .glass-card{background:var(--bg-card);border:1px solid var(--border-color);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-radius:16px;padding:1.5rem;transition:all .3s}.student-dashboard .glass-card:hover{transform:translateY(-2px);box-shadow:0 8px 32px #667eea26}.student-dashboard .profile-card{align-items:center;gap:2rem;display:flex}.student-dashboard .profile-card .avatar{background:linear-gradient(135deg, var(--accent-start,#667eea), var(--accent-end,#764ba2));color:#fff;border-radius:50%;justify-content:center;align-items:center;width:80px;height:80px;font-size:2.5rem;font-weight:700;display:flex}.student-dashboard .profile-card .info h2{color:var(--text-primary);margin:0 0 .5rem}.student-dashboard .profile-card .info p{color:var(--text-secondary);margin:0 0 1rem}.student-dashboard .profile-card .info .groups-tags{flex-wrap:wrap;gap:.5rem;display:flex}.student-dashboard .profile-card .info .groups-tags .tag{color:var(--accent-start);background:#667eea1a;border-radius:9999px;padding:.25rem .75rem;font-size:.875rem;font-weight:500}.student-dashboard .stats-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.5rem;display:grid}.student-dashboard .dashboard-content{grid-template-columns:1fr 1fr;gap:1.5rem;display:grid}@media (width<=768px){.student-dashboard .dashboard-content{grid-template-columns:1fr}}.student-dashboard .dashboard-content h3{color:var(--text-primary);margin-top:0;margin-bottom:1.5rem}.student-dashboard .dashboard-content .lessons-list,.student-dashboard .dashboard-content .grades-list{flex-direction:column;gap:1rem;display:flex}.student-dashboard .dashboard-content .lesson-item,.student-dashboard .dashboard-content .grade-item{background:var(--bg-surface);border:1px solid var(--border-color);border-radius:12px;align-items:center;gap:1rem;padding:1rem;display:flex}.student-dashboard .dashboard-content .lesson-item .lesson-icon,.student-dashboard .dashboard-content .grade-item .lesson-icon{width:40px;height:40px;color:var(--accent-start);background:#667eea1a;border-radius:10px;justify-content:center;align-items:center;display:flex}.student-dashboard .dashboard-content .lesson-item .lesson-details,.student-dashboard .dashboard-content .lesson-item .grade-info,.student-dashboard .dashboard-content .grade-item .lesson-details,.student-dashboard .dashboard-content .grade-item .grade-info{flex:1}.student-dashboard .dashboard-content .lesson-item .lesson-details h4,.student-dashboard .dashboard-content .lesson-item .grade-info h4,.student-dashboard .dashboard-content .grade-item .lesson-details h4,.student-dashboard .dashboard-content .grade-item .grade-info h4{color:var(--text-primary);margin:0 0 .25rem}.student-dashboard .dashboard-content .lesson-item .lesson-details p,.student-dashboard .dashboard-content .lesson-item .grade-info p,.student-dashboard .dashboard-content .grade-item .lesson-details p,.student-dashboard .dashboard-content .grade-item .grade-info p{color:var(--text-secondary);margin:0;font-size:.875rem}.student-dashboard .dashboard-content .lesson-item .score-badge,.student-dashboard .dashboard-content .grade-item .score-badge{border-radius:8px;padding:.5rem 1rem;font-weight:700}.student-dashboard .dashboard-content .lesson-item .score-badge.good,.student-dashboard .dashboard-content .grade-item .score-badge.good{color:#10b981;background:#10b9811a}.student-dashboard .dashboard-content .lesson-item .score-badge.medium,.student-dashboard .dashboard-content .grade-item .score-badge.medium{color:#f59e0b;background:#f59e0b1a}.student-dashboard .dashboard-content .lesson-item .score-badge.poor,.student-dashboard .dashboard-content .grade-item .score-badge.poor{color:#ef4444;background:#ef44441a}.student-dashboard .dashboard-content .empty-state{color:var(--text-secondary);text-align:center;padding:2rem}@media (width<=600px){.student-dashboard{gap:1rem}.student-dashboard .glass-card{padding:1rem}.student-dashboard .profile-card{gap:1rem}.student-dashboard .profile-card .avatar{flex-shrink:0;width:56px;height:56px;font-size:1.75rem}.student-dashboard .profile-card .info{min-width:0}.student-dashboard .profile-card .info h2{overflow-wrap:anywhere;font-size:1.25rem}.student-dashboard .profile-card .info p{overflow-wrap:anywhere;margin-bottom:.75rem}.student-dashboard .stats-grid,.student-dashboard .dashboard-content{gap:1rem}.student-dashboard .dashboard-content h3{margin-bottom:1rem}.student-dashboard .dashboard-content .lessons-list,.student-dashboard .dashboard-content .grades-list{gap:.75rem}.student-dashboard .dashboard-content .lesson-item,.student-dashboard .dashboard-content .grade-item{gap:.75rem;padding:.75rem}.student-dashboard .dashboard-content .lesson-item .lesson-icon,.student-dashboard .dashboard-content .grade-item .lesson-icon{flex-shrink:0}.student-dashboard .dashboard-content .lesson-item .lesson-details,.student-dashboard .dashboard-content .lesson-item .grade-info,.student-dashboard .dashboard-content .grade-item .lesson-details,.student-dashboard .dashboard-content .grade-item .grade-info{min-width:0}.student-dashboard .dashboard-content .lesson-item .lesson-details h4,.student-dashboard .dashboard-content .lesson-item .lesson-details p,.student-dashboard .dashboard-content .lesson-item .grade-info h4,.student-dashboard .dashboard-content .lesson-item .grade-info p,.student-dashboard .dashboard-content .grade-item .lesson-details h4,.student-dashboard .dashboard-content .grade-item .lesson-details p,.student-dashboard .dashboard-content .grade-item .grade-info h4,.student-dashboard .dashboard-content .grade-item .grade-info p{overflow-wrap:anywhere}.student-dashboard .dashboard-content .lesson-item .score-badge,.student-dashboard .dashboard-content .grade-item .score-badge{white-space:nowrap;flex-shrink:0;padding:.375rem .75rem}.student-dashboard .dashboard-content .empty-state{padding:1.5rem .5rem}}.ai-grade-badge{white-space:nowrap;color:#4338ca;vertical-align:middle;background:#eef2ff;border:1px solid #c7d2fe;border-radius:999px;align-items:center;gap:4px;margin-left:6px;padding:1px 7px;font-size:11px;font-weight:600;line-height:1.6;display:inline-flex}:root.dark .ai-grade-badge{color:#c7d2fe;background:#6366f129;border-color:#818cf859}.my-schedule-page{flex-direction:column;gap:1.5rem;display:flex}.my-schedule-page .glass-card{background:var(--bg-card);border:1px solid var(--border-color);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-radius:16px;padding:1.5rem;transition:all .3s}.my-schedule-page .header-glass-card h2{color:var(--text-primary);margin:0}.my-schedule-page .schedule-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;display:flex}.my-schedule-page .week-switcher{align-items:center;gap:.5rem;min-width:0;display:flex}.my-schedule-page .week-nav-btn,.my-schedule-page .week-range-display{border:1px solid var(--border-color);background:var(--bg-surface);height:36px;color:var(--text-primary);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:.4rem;display:inline-flex}.my-schedule-page .week-nav-btn{flex-shrink:0;width:36px}.my-schedule-page .week-range-display{font-variant-numeric:tabular-nums;white-space:nowrap;padding:0 .75rem;font-size:.875rem}.my-schedule-page .empty-state{color:var(--text-secondary);text-align:center;margin:0}.my-schedule-page .schedule-container{overflow-x:auto}.my-schedule-page .week-grid{border:1px solid var(--border-color);border-radius:12px;min-width:760px;display:grid;overflow:hidden}.my-schedule-page .week-grid>div{border-right:1px solid var(--border-color);border-bottom:1px solid var(--border-color)}.my-schedule-page .week-grid .wg-corner,.my-schedule-page .week-grid .wg-day,.my-schedule-page .week-grid .wg-time{background:var(--bg-surface)}.my-schedule-page .week-grid .wg-day{color:var(--text-primary);flex-direction:column;align-items:center;padding:.6rem .25rem;font-weight:600;display:flex}.my-schedule-page .week-grid .wg-day .wg-day-date{color:var(--text-muted);font-size:.75rem;font-weight:500}.my-schedule-page .week-grid .wg-day.today{color:var(--accent-start)}.my-schedule-page .week-grid .wg-time{color:var(--text-secondary);font-variant-numeric:tabular-nums;justify-content:center;align-items:flex-start;padding-top:.6rem;font-size:.875rem;display:flex}.my-schedule-page .week-grid .wg-cell{flex-direction:column;gap:4px;min-width:0;min-height:64px;padding:4px;display:flex}.my-schedule-page .week-grid .wg-cell.today{background:#667eea0d}.my-schedule-page .week-grid .lesson-block{background:linear-gradient(135deg, var(--accent-start,#667eea), var(--accent-end,#764ba2));color:#fff;border:1px solid #0000;border-radius:8px;flex-direction:column;gap:2px;min-width:0;padding:.5rem;font-size:.85rem;display:flex}.my-schedule-page .week-grid .lesson-block .group-name{overflow-wrap:anywhere;font-weight:600}.my-schedule-page .week-grid .lesson-block .room{opacity:.9;font-variant-numeric:tabular-nums;font-size:.75rem}.my-schedule-page .schedule-list{display:none}@media (width<=600px){.my-schedule-page{gap:1rem}.my-schedule-page .glass-card{padding:1rem}.my-schedule-page .schedule-container{display:none}.my-schedule-page .schedule-list{flex-direction:column;gap:.75rem;display:flex}.my-schedule-page .schedule-day{min-width:0}.my-schedule-page .schedule-day.empty{padding-top:.75rem;padding-bottom:.75rem}.my-schedule-page .schedule-day.today{border-color:var(--accent-start);box-shadow:0 0 0 3px #667eea1f}.my-schedule-page .schedule-day .day-head{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.my-schedule-page .schedule-day .day-head h3{min-width:0;color:var(--text-primary);overflow-wrap:anywhere;margin:0;font-size:1rem}.my-schedule-page .schedule-day.today .day-head h3{color:var(--accent-start)}.my-schedule-page .schedule-day .day-date{color:var(--text-muted);white-space:nowrap;flex-shrink:0;align-items:center;gap:.4rem;font-size:.8125rem;display:inline-flex}.my-schedule-page .schedule-day .today-badge{color:var(--accent-start);background:#667eea1f;border-radius:9999px;padding:.1rem .5rem;font-size:.75rem;font-weight:600}.my-schedule-page .schedule-day .no-lessons{color:var(--text-muted);margin:.375rem 0 0;font-size:.8125rem}.my-schedule-page .schedule-day .day-lessons{flex-direction:column;gap:.5rem;margin:.75rem 0 0;padding:0;list-style:none;display:flex}.my-schedule-page .schedule-day .lesson-row{background:var(--bg-surface);border:1px solid var(--border-color);border-radius:12px;align-items:flex-start;gap:.75rem;padding:.625rem .75rem;display:flex}.my-schedule-page .schedule-day .lesson-time{background:linear-gradient(135deg, var(--accent-start,#667eea), var(--accent-end,#764ba2));color:#fff;font-variant-numeric:tabular-nums;white-space:nowrap;border-radius:8px;flex-shrink:0;align-items:center;gap:.3rem;padding:.2rem .5rem;font-size:.8125rem;font-weight:700;display:inline-flex}.my-schedule-page .schedule-day .lesson-time svg{flex-shrink:0}.my-schedule-page .schedule-day .lesson-main{flex-direction:column;flex:1;gap:.15rem;min-width:0;display:flex}.my-schedule-page .schedule-day .lesson-main .group-name{color:var(--text-primary);overflow-wrap:anywhere;font-weight:600}.my-schedule-page .schedule-day .lesson-main .subject,.my-schedule-page .schedule-day .lesson-main .room{color:var(--text-secondary);overflow-wrap:anywhere;font-size:.8125rem}.my-schedule-page .schedule-day .lesson-main .room{align-items:center;gap:.25rem;display:inline-flex}.my-schedule-page .schedule-day .lesson-main .room svg{color:var(--text-muted);flex-shrink:0}}.my-schedule-page .lesson-block.moved,.my-schedule-page .lesson-row.moved{opacity:.7;border-style:dashed}.my-schedule-page .moved-note{color:#d97706;overflow-wrap:anywhere;font-size:.72rem;font-weight:600;line-height:1.3;display:block}.my-schedule-page .lesson-block .moved-note{color:#fde68a}.my-homework-page{flex-direction:column;gap:1.5rem;display:flex}.my-homework-page .glass-card{background:var(--bg-card);border:1px solid var(--border-color);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-radius:16px;padding:1.5rem;transition:all .3s}.my-homework-page .header-section{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;display:flex}.my-homework-page .header-section h2{color:var(--text-primary);margin:0}.my-homework-page .header-section .filter-tabs{background:var(--bg-surface);border-radius:12px;flex-wrap:wrap;gap:.5rem;max-width:100%;padding:.25rem;display:flex}.my-homework-page .header-section .filter-tabs .tab-btn{color:var(--text-secondary);cursor:pointer;background:0 0;border:none;border-radius:8px;padding:.5rem 1rem;font-weight:500;transition:all .2s}.my-homework-page .header-section .filter-tabs .tab-btn.active{background:var(--bg-card);color:var(--text-primary);box-shadow:0 2px 8px #0000001a}.my-homework-page .header-section .filter-tabs .tab-btn:hover:not(.active){color:var(--text-primary)}.my-homework-page .homework-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:1.5rem;display:grid}.my-homework-page .homework-grid .empty-state{color:var(--text-secondary);flex-direction:column;grid-column:1/-1;justify-content:center;align-items:center;padding:4rem;display:flex}.my-homework-page .homework-grid .empty-state .text-secondary{opacity:.5;margin-bottom:1rem}.my-homework-page .homework-card{flex-direction:column;gap:1rem;min-width:0;display:flex}.my-homework-page .homework-card.overdue{border-color:#ef444480;box-shadow:0 4px 20px #ef44440d}.my-homework-page .homework-card .card-header{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.my-homework-page .homework-card .card-header .title-area{align-items:center;gap:.75rem;display:flex}.my-homework-page .homework-card .card-header .title-area .icon{color:var(--accent-start)}.my-homework-page .homework-card .card-header .title-area h3{color:var(--text-primary);margin:0;font-size:1.125rem}.my-homework-page .homework-card .card-header .status-badge{text-transform:uppercase;border-radius:9999px;padding:.25rem .75rem;font-size:.75rem;font-weight:600}.my-homework-page .homework-card .card-header .status-badge.pending{color:#f59e0b;background:#f59e0b1a}.my-homework-page .homework-card .card-header .status-badge.submitted{color:#3b82f6;background:#3b82f61a}.my-homework-page .homework-card .card-header .status-badge.checked{color:#10b981;background:#10b9811a}.my-homework-page .homework-card .card-header .status-badge.paper{color:var(--accent-start);background:#667eea1a}.my-homework-page .homework-card .card-body .description{color:var(--text-secondary);white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 1rem;font-size:.875rem;line-height:1.5}.my-homework-page .homework-card .card-body .lesson-info{color:var(--text-primary);flex-direction:column;gap:.4rem;margin:-.25rem 0 1rem;font-size:.875rem;display:flex}.my-homework-page .homework-card .card-body .lesson-info .lesson-line{overflow-wrap:anywhere;align-items:flex-start;gap:.4rem;min-width:0;display:flex}.my-homework-page .homework-card .card-body .lesson-info .lesson-line svg{color:var(--accent-start);flex-shrink:0;margin-top:2px}.my-homework-page .homework-card .card-body .task-photos{margin-bottom:1rem}.my-homework-page .homework-card .card-body .meta-info{justify-content:space-between;align-items:center;font-size:.875rem;display:flex}.my-homework-page .homework-card .card-body .meta-info .group-tag{background:var(--bg-surface);color:var(--text-primary);border:1px solid var(--border-color);border-radius:6px;padding:.25rem .5rem}.my-homework-page .homework-card .card-body .meta-info .due-date{color:var(--text-secondary);align-items:center;gap:.25rem;display:flex}.my-homework-page .homework-card .card-body .meta-info .due-date.text-red{color:#ef4444}.my-homework-page .homework-card .score-section{border-top:1px dashed var(--border-color);margin-top:auto;padding-top:1rem}.my-homework-page .homework-card .score-section .score{color:var(--text-primary);align-items:center;gap:.5rem;font-weight:600;display:flex}.my-homework-page .homework-card .score-section .score .text-green{color:#10b981}.my-homework-page .homework-card .score-section .feedback{color:var(--text-secondary);margin:.5rem 0 0;font-size:.875rem;font-style:italic}.my-homework-page .homework-card .score-section .ai-graded-note{color:var(--text-muted);font-size:.8125rem;font-style:normal}.my-homework-page .homework-card .overdue-warning{color:#ef4444;align-items:center;gap:.5rem;margin-top:.5rem;font-size:.875rem;font-weight:500;display:flex}.my-homework-page .homework-card .paper-note{background:var(--bg-surface);border:1px dashed var(--border-color);color:var(--text-secondary);border-radius:10px;align-items:center;gap:.5rem;margin-top:auto;padding:.75rem;font-size:.875rem;display:flex}.my-homework-page .homework-card .paper-note svg{color:var(--accent-start);flex-shrink:0}.my-homework-page .homework-card .answer-row{align-items:flex-start;gap:8px;margin-top:12px;display:flex}.my-homework-page .homework-card .answer-row .form-input{resize:vertical;flex:1;margin:0}@media (width<=600px){.my-homework-page{gap:1rem}.my-homework-page .glass-card{padding:1rem}.my-homework-page .header-section .filter-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:.25rem;width:100%;display:grid}.my-homework-page .header-section .filter-tabs .tab-btn{text-align:center;overflow-wrap:anywhere;min-width:0;padding:.5rem;line-height:1.25}.my-homework-page .homework-grid{gap:1rem}.my-homework-page .homework-grid .empty-state{text-align:center;padding:2.5rem 1rem}.my-homework-page .homework-card .card-header{flex-wrap:wrap;gap:.5rem .75rem}.my-homework-page .homework-card .card-header .title-area{flex:12rem;align-items:flex-start;min-width:0}.my-homework-page .homework-card .card-header .title-area .icon{flex-shrink:0}.my-homework-page .homework-card .card-header .title-area h3{overflow-wrap:anywhere;min-width:0;font-size:1.05rem}.my-homework-page .homework-card .card-header .status-badge{white-space:nowrap;flex-shrink:0}.my-homework-page .homework-card .card-body .meta-info{flex-wrap:wrap;gap:.5rem 1rem}.my-homework-page .homework-card .card-body .meta-info .group-tag{overflow-wrap:anywhere;min-width:0}.my-homework-page .homework-card .card-body .meta-info .due-date{white-space:nowrap}.my-homework-page .homework-card .card-body .meta-info .due-date svg,.my-homework-page .homework-card .score-section .score svg,.my-homework-page .homework-card .overdue-warning svg{flex-shrink:0}.my-homework-page .homework-card .score-section .feedback{overflow-wrap:anywhere}.my-homework-page .homework-card .answer-row{flex-direction:column;align-items:stretch}.my-homework-page .homework-card .answer-row .form-input{flex:none}.my-homework-page .homework-card .answer-row .primary-btn{justify-content:center;width:100%}}.my-grades-page{flex-direction:column;gap:1.5rem;display:flex}.my-grades-page .glass-card{background:var(--bg-card);border:1px solid var(--border-color);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-radius:16px;padding:1.5rem;transition:all .3s}.my-grades-page .top-section{justify-content:center;display:flex}.my-grades-page .top-section .avg-score-card{text-align:center;min-width:300px}.my-grades-page .top-section .avg-score-card h3{color:var(--text-primary);margin:0 0 1rem}.my-grades-page .top-section .avg-score-card .large-score{margin-bottom:.5rem;font-size:4rem;font-weight:800;line-height:1}.my-grades-page .top-section .avg-score-card .large-score.text-green{color:#10b981}.my-grades-page .top-section .avg-score-card .large-score.text-yellow{color:#f59e0b}.my-grades-page .top-section .avg-score-card .large-score.text-red{color:#ef4444}.my-grades-page .top-section .avg-score-card p{color:var(--text-secondary);margin:0}.my-grades-page .grades-list .list-header{justify-content:space-between;align-items:center;margin-bottom:1.5rem;display:flex}.my-grades-page .grades-list .list-header h3{color:var(--text-primary);margin:0}.my-grades-page .grades-list .list-header .type-filter{background:var(--bg-surface);border:1px solid var(--border-color);color:var(--text-primary);border-radius:8px;outline:none;padding:.5rem 1rem}.my-grades-page .grades-list .list-header .type-filter:focus{border-color:var(--accent-start)}.my-grades-page .grades-list .score-cell{align-items:center;gap:1rem;display:flex}.my-grades-page .grades-list .score-cell .raw-score{color:var(--text-primary);font-weight:500}.my-grades-page .grades-list .score-cell .percent-badge{border-radius:6px;padding:.25rem .5rem;font-size:.875rem;font-weight:600}.my-grades-page .grades-list .score-cell .percent-badge.badge-green{color:#10b981;background:#10b9811a}.my-grades-page .grades-list .score-cell .percent-badge.badge-yellow{color:#f59e0b;background:#f59e0b1a}.my-grades-page .grades-list .score-cell .percent-badge.badge-red{color:#ef4444;background:#ef44441a}@media (width<=600px){.my-grades-page{gap:1rem}.my-grades-page .glass-card{padding:1rem}.my-grades-page .top-section .avg-score-card{width:100%;min-width:0}.my-grades-page .top-section .avg-score-card .large-score{font-size:3rem}.my-grades-page .grades-list .list-header{flex-wrap:wrap;gap:.75rem;margin-bottom:1rem}.my-grades-page .grades-list .list-header .type-filter{flex:10rem;min-width:0;max-width:100%}.my-grades-page .grades-list .data-table-container.glass-panel{box-shadow:none;-webkit-backdrop-filter:none;background:0 0;border:none;padding:0}.my-grades-page .grades-list .data-table-container .search-bar{flex:100%;min-width:0}.my-grades-page .grades-list .data-table-container .data-table{display:block}.my-grades-page .grades-list .data-table-container .data-table thead{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.my-grades-page .grades-list .data-table-container .data-table tbody{display:block}.my-grades-page .grades-list .data-table-container .data-table td:before{content:none;display:none}.my-grades-page .grades-list .data-table-container .data-table tbody tr{border:none;border-bottom:1px solid var(--border-color);background:0 0;border-radius:0;grid-template-columns:minmax(0,1fr) fit-content(9.5rem);align-items:center;gap:.125rem .75rem;padding:.75rem .875rem;display:grid}.my-grades-page .grades-list .data-table-container .data-table tbody tr:last-child{border-bottom:none}.my-grades-page .grades-list .data-table-container .data-table td{overflow-wrap:anywhere;border-bottom:none;grid-column:1;min-width:0;padding:0;display:block}.my-grades-page .grades-list .data-table-container .data-table td:first-child{color:var(--text-muted);font-size:12px}.my-grades-page .grades-list .data-table-container .data-table td:nth-child(2){font-size:14px;font-weight:600}.my-grades-page .grades-list .data-table-container .data-table td:nth-child(3){color:var(--text-secondary);font-size:12px}.my-grades-page .grades-list .data-table-container .data-table td:nth-child(4){grid-area:1/2/span 3;justify-self:end}.my-grades-page .grades-list .data-table-container .data-table td.empty-state{color:var(--text-primary);grid-area:auto/1/auto/-1;padding:2rem .5rem;font-size:14px}.my-grades-page .score-cell{flex-wrap:wrap;justify-content:flex-end;gap:.375rem .5rem}.my-grades-page .score-cell .raw-score{white-space:nowrap}.my-grades-page .score-cell .ai-grade-badge{margin-left:0}}@media (width<=380px){.my-grades-page .grades-list .data-table-container .data-table tbody tr{grid-template-columns:minmax(0,1fr) fit-content(7.5rem)}.my-grades-page .top-section .avg-score-card .large-score{font-size:2.5rem}}.my-textbooks{flex-direction:column;gap:1.5rem;display:flex}.my-textbooks h1{margin:0}.my-textbooks .mtb-group h2{color:var(--text-primary);overflow-wrap:anywhere;margin:0 0 .75rem;font-size:1.05rem;font-weight:700}.my-textbooks .mtb-state{text-align:center;color:var(--text-muted);flex-direction:column;align-items:center;gap:12px;padding:30px 16px;display:flex}.my-textbooks .mtb-state p{margin:0}.parent-dashboard{flex-direction:column;gap:1.5rem;display:flex}.parent-dashboard .glass-card{background:var(--bg-card);border:1px solid var(--border-color);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-radius:16px;padding:1.5rem;transition:all .3s}.parent-dashboard .child-selector h3{color:var(--text-primary);margin:0 0 1rem}.parent-dashboard .child-selector .children-list{gap:1rem;display:flex}.parent-dashboard .child-selector .children-list .child-card{background:var(--bg-surface);border:1px solid var(--border-color);cursor:pointer;border-radius:12px;align-items:center;gap:.75rem;padding:.75rem 1rem;transition:all .2s;display:flex}.parent-dashboard .child-selector .children-list .child-card:hover{border-color:var(--accent-start)}.parent-dashboard .child-selector .children-list .child-card.active{border-color:var(--accent-start);background:#667eea1a}.parent-dashboard .child-selector .children-list .child-card.active span{color:var(--accent-start);font-weight:600}.parent-dashboard .child-selector .children-list .child-card .avatar{background:linear-gradient(135deg, var(--accent-start,#667eea), var(--accent-end,#764ba2));color:#fff;border-radius:50%;justify-content:center;align-items:center;width:32px;height:32px;font-weight:700;display:flex}.parent-dashboard .child-selector .children-list .child-card span{color:var(--text-primary)}.parent-dashboard .child-profile .profile-header{align-items:center;gap:1.5rem;display:flex}.parent-dashboard .child-profile .profile-header .avatar.large{background:linear-gradient(135deg, var(--accent-start,#667eea), var(--accent-end,#764ba2));color:#fff;border-radius:50%;justify-content:center;align-items:center;width:80px;height:80px;font-size:2.5rem;font-weight:700;display:flex}.parent-dashboard .child-profile .profile-header .info h2{color:var(--text-primary);margin:0 0 .5rem}.parent-dashboard .child-profile .profile-header .info .groups-list{flex-wrap:wrap;gap:.5rem;display:flex}.parent-dashboard .child-profile .profile-header .info .groups-list .group-tag{color:var(--accent-start);background:#667eea1a;border-radius:9999px;padding:.25rem .75rem;font-size:.875rem;font-weight:500}.parent-dashboard .child-profile .ai-consent{background:#10b98114;border:1px solid #10b9814d;border-radius:12px;align-items:flex-start;gap:.75rem;margin-top:1.25rem;padding:.875rem 1rem;font-size:.875rem;line-height:1.5;display:flex}.parent-dashboard .child-profile .ai-consent>svg{color:#10b981;flex-shrink:0;margin-top:1px}.parent-dashboard .child-profile .ai-consent.refused{background:#f59e0b1a;border-color:#f59e0b59}.parent-dashboard .child-profile .ai-consent.refused>svg{color:#f59e0b}.parent-dashboard .child-profile .ai-consent .ai-consent-text{overflow-wrap:anywhere;min-width:0}.parent-dashboard .child-profile .ai-consent .ai-consent-text strong{color:var(--text-primary);margin-bottom:.25rem;display:block}.parent-dashboard .child-profile .ai-consent .ai-consent-text p{color:var(--text-secondary);margin:0}.parent-dashboard .child-profile .ai-consent .ai-consent-text .ai-consent-note{color:var(--text-muted);margin-top:.375rem;font-size:.8125rem}.parent-dashboard .child-profile .ai-consent .ai-consent-text .ai-consent-note a{color:var(--accent-start);white-space:nowrap;font-weight:600}.parent-dashboard .stats-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.5rem;display:grid}.parent-dashboard .stats-grid .stat-link{color:inherit;border-radius:16px;text-decoration:none;display:block}.parent-dashboard .stats-grid .stat-link:focus-visible{outline:2px solid var(--accent-start);outline-offset:2px}.parent-dashboard .stats-grid .stat-link .stat-card{cursor:pointer;height:100%}.parent-dashboard .recent-activity .activity-header{align-items:center;gap:.75rem;margin-bottom:1.5rem;display:flex}.parent-dashboard .recent-activity .activity-header .icon{color:var(--accent-start)}.parent-dashboard .recent-activity .activity-header h3{color:var(--text-primary);margin:0}.parent-dashboard .recent-activity .activity-list{flex-direction:column;gap:1rem;display:flex}.parent-dashboard .recent-activity .activity-item{background:var(--bg-surface);border:1px solid var(--border-color);border-radius:12px;align-items:center;gap:1rem;padding:1rem;display:flex}.parent-dashboard .recent-activity .activity-item .activity-icon{color:#fff;border-radius:10px;justify-content:center;align-items:center;width:40px;height:40px;display:flex}.parent-dashboard .recent-activity .activity-item .activity-icon.bg-purple{background:#8b5cf6}.parent-dashboard .recent-activity .activity-item .activity-icon.bg-green{background:#10b981}.parent-dashboard .recent-activity .activity-item .activity-icon.bg-orange{background:#f59e0b}.parent-dashboard .recent-activity .activity-item .activity-details{flex:1}.parent-dashboard .recent-activity .activity-item .activity-details p{color:var(--text-primary);margin:0 0 .25rem}.parent-dashboard .recent-activity .activity-item .activity-details .time{color:var(--text-secondary);font-size:.75rem}.parent-dashboard .recent-activity .activity-item .activity-value{font-size:1.125rem;font-weight:700}.parent-dashboard .recent-activity .activity-item .activity-value.text-purple{color:#8b5cf6}@media (width<=600px){.parent-dashboard{gap:1rem}.parent-dashboard .glass-card{padding:1rem}.parent-dashboard .child-selector h3{margin-bottom:.75rem}.parent-dashboard .child-selector .children-list{flex-wrap:wrap;gap:.5rem}.parent-dashboard .child-selector .children-list .child-card{flex:9rem;min-width:0;padding:.625rem .75rem}.parent-dashboard .child-selector .children-list .child-card .avatar{flex-shrink:0}.parent-dashboard .child-selector .children-list .child-card span{overflow-wrap:anywhere;min-width:0}.parent-dashboard .child-profile .profile-header{gap:1rem}.parent-dashboard .child-profile .profile-header .avatar.large{flex-shrink:0;width:56px;height:56px;font-size:1.75rem}.parent-dashboard .child-profile .profile-header .info{min-width:0}.parent-dashboard .child-profile .profile-header .info h2{overflow-wrap:anywhere;font-size:1.25rem}.parent-dashboard .child-profile .ai-consent{margin-top:1rem;padding:.75rem}.parent-dashboard .stats-grid{gap:1rem}.parent-dashboard .recent-activity .activity-header{margin-bottom:1rem}.parent-dashboard .recent-activity .activity-header .icon{flex-shrink:0}.parent-dashboard .recent-activity .activity-list{gap:.75rem}.parent-dashboard .recent-activity .activity-item{gap:.75rem;padding:.75rem}.parent-dashboard .recent-activity .activity-item .activity-icon{flex-shrink:0;width:36px;height:36px}.parent-dashboard .recent-activity .activity-item .activity-details{min-width:0}.parent-dashboard .recent-activity .activity-item .activity-details p{overflow-wrap:anywhere}.parent-dashboard .recent-activity .activity-item .activity-value{white-space:nowrap;flex-shrink:0;font-size:1rem}}.child-attendance-page{flex-direction:column;gap:1.5rem;display:flex}.child-attendance-page .glass-card{background:var(--bg-card);border:1px solid var(--border-color);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-radius:16px;padding:1.5rem;transition:all .3s}.child-attendance-page .header-content{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;display:flex}.child-attendance-page .header-content h2{color:var(--text-primary);margin:0 0 .5rem}.child-attendance-page .header-content .rate-display{color:var(--text-secondary);font-size:1.125rem}.child-attendance-page .header-content .rate-display .rate-value{margin-left:.5rem;font-weight:700}.child-attendance-page .header-content .rate-display .rate-value.good{color:#10b981}.child-attendance-page .header-content .rate-display .rate-value.poor{color:#ef4444}.child-attendance-page .header-content .controls{align-items:center;gap:1rem;display:flex}.child-attendance-page .header-content .controls .group-filter{background:var(--bg-surface);border:1px solid var(--border-color);color:var(--text-primary);border-radius:8px;outline:none;padding:.5rem 1rem}.child-attendance-page .header-content .controls .view-toggle{background:var(--bg-surface);border-radius:8px;padding:.25rem;display:flex}.child-attendance-page .header-content .controls .view-toggle button{color:var(--text-secondary);cursor:pointer;background:0 0;border:none;border-radius:6px;padding:.5rem 1rem;transition:all .2s}.child-attendance-page .header-content .controls .view-toggle button.active{background:var(--bg-card);color:var(--text-primary);box-shadow:0 2px 4px #0000000d}.child-attendance-page .calendar-view{max-width:760px;margin:0 auto}.child-attendance-page .calendar-view .month-switcher{justify-content:center;align-items:center;gap:.5rem;margin-bottom:.75rem;display:flex}.child-attendance-page .calendar-view .month-switcher button{border:1px solid var(--border-color);background:var(--bg-surface);min-width:32px;height:32px;color:var(--text-primary);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;padding:0 .5rem;display:inline-flex}.child-attendance-page .calendar-view .month-switcher .month-name{text-transform:capitalize;min-width:10rem;font-weight:700}.child-attendance-page .calendar-view .calendar-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin-bottom:1rem;display:grid}.child-attendance-page .calendar-view .calendar-grid .day-header{text-align:center;color:var(--text-secondary);padding:.25rem 0;font-size:.75rem;font-weight:600}.child-attendance-page .calendar-view .calendar-grid .calendar-cell{background:var(--bg-surface);border:1px solid var(--border-color);border-radius:8px;flex-direction:column;gap:3px;min-width:0;min-height:64px;padding:4px;display:flex}.child-attendance-page .calendar-view .calendar-grid .calendar-cell.no-lessons{opacity:.55}.child-attendance-page .calendar-view .calendar-grid .calendar-cell.today{border-color:var(--accent-start);box-shadow:0 0 0 2px #667eea2e}.child-attendance-page .calendar-view .calendar-grid .calendar-cell .day-number{color:var(--text-secondary);font-size:.75rem;line-height:1}.child-attendance-page .calendar-view .calendar-grid .lesson-chip{color:#fff;border-radius:5px;flex-direction:column;min-width:0;padding:2px 4px;font-size:.7rem;line-height:1.25;display:flex}.child-attendance-page .calendar-view .calendar-grid .lesson-chip .chip-time{font-variant-numeric:tabular-nums;font-weight:700}.child-attendance-page .calendar-view .calendar-grid .lesson-chip .chip-group{text-overflow:ellipsis;white-space:nowrap;opacity:.95;overflow:hidden}.child-attendance-page .calendar-view .calendar-grid .lesson-chip.pending{color:#0f172a;background:#94a3b8}.child-attendance-page .calendar-view .calendar-grid .lesson-chip.present{background:#10b981}.child-attendance-page .calendar-view .calendar-grid .lesson-chip.late{color:#1f1300;background:#f59e0b}.child-attendance-page .calendar-view .calendar-grid .lesson-chip.absent{background:#ef4444}.child-attendance-page .calendar-view .calendar-note{color:var(--text-secondary);text-align:center;margin:0 0 .75rem;font-size:.85rem}.child-attendance-page .calendar-view .legend{flex-wrap:wrap;justify-content:center;gap:.5rem 1.5rem;display:flex}.child-attendance-page .calendar-view .legend .legend-item{color:var(--text-secondary);align-items:center;gap:.5rem;font-size:.85rem;display:flex}.child-attendance-page .calendar-view .legend .legend-item .indicator-dot{border-radius:3px;flex-shrink:0;width:10px;height:10px}.child-attendance-page .calendar-view .legend .legend-item .indicator-dot.pending{background:#94a3b8}.child-attendance-page .calendar-view .legend .legend-item .indicator-dot.present{background:#10b981}.child-attendance-page .calendar-view .legend .legend-item .indicator-dot.absent{background:#ef4444}.child-attendance-page .calendar-view .legend .legend-item .indicator-dot.late{background:#f59e0b}.child-attendance-page .list-view .status-badge{border-radius:9999px;padding:.25rem .75rem;font-size:.75rem;font-weight:600}.child-attendance-page .list-view .status-badge.present{color:#10b981;background:#10b9811a}.child-attendance-page .list-view .status-badge.absent{color:#ef4444;background:#ef44441a}.child-attendance-page .list-view .status-badge.late{color:#f59e0b;background:#f59e0b1a}@media (width<=600px){.child-attendance-page{gap:1rem}.child-attendance-page .glass-card{padding:1rem}.child-attendance-page .header-content>div:first-child{min-width:0}.child-attendance-page .header-content h2{overflow-wrap:anywhere}.child-attendance-page .header-content .rate-display{font-size:1rem}.child-attendance-page .header-content .controls{flex-wrap:wrap;gap:.5rem;width:100%}.child-attendance-page .header-content .controls .group-filter{flex:10rem;min-width:0;max-width:100%}.child-attendance-page .header-content .controls .view-toggle{flex:100%}.child-attendance-page .header-content .controls .view-toggle button{text-align:center;overflow-wrap:anywhere;flex:1 1 0;min-width:0;padding:.5rem}.child-attendance-page .calendar-view .calendar-grid{gap:2px}.child-attendance-page .calendar-view .calendar-grid .calendar-cell{border-radius:6px;min-height:52px;padding:2px}.child-attendance-page .calendar-view .calendar-grid .lesson-chip{padding:1px 2px;font-size:.62rem}.child-attendance-page .calendar-view .calendar-grid .lesson-chip .chip-group{display:none}.child-attendance-page .list-view .data-table-container.glass-panel{box-shadow:none;-webkit-backdrop-filter:none;background:0 0;border:none;padding:0}.child-attendance-page .list-view .data-table-container .search-bar{flex:100%;min-width:0}.child-attendance-page .list-view .data-table-container .data-table{display:block}.child-attendance-page .list-view .data-table-container .data-table thead{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.child-attendance-page .list-view .data-table-container .data-table tbody{display:block}.child-attendance-page .list-view .data-table-container .data-table td:before{content:none;display:none}.child-attendance-page .list-view .data-table-container .data-table tbody tr{border:none;border-bottom:1px solid var(--border-color);background:0 0;border-radius:0;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.125rem .75rem;padding:.75rem .875rem;display:grid}.child-attendance-page .list-view .data-table-container .data-table tbody tr:last-child{border-bottom:none}.child-attendance-page .list-view .data-table-container .data-table td{overflow-wrap:anywhere;border-bottom:none;grid-column:1;min-width:0;padding:0;display:block}.child-attendance-page .list-view .data-table-container .data-table td:first-child{color:var(--text-muted);font-size:12px}.child-attendance-page .list-view .data-table-container .data-table td:nth-child(2){font-size:14px;font-weight:600}.child-attendance-page .list-view .data-table-container .data-table td:nth-child(3){grid-area:1/2/span 2;justify-self:end}.child-attendance-page .list-view .data-table-container .data-table td.empty-state{color:var(--text-primary);grid-area:auto/1/auto/-1;padding:2rem .5rem;font-size:14px}.child-attendance-page .list-view .status-badge{white-space:nowrap;display:inline-block}}.child-grades-page{flex-direction:column;gap:1.5rem;display:flex}.child-grades-page .glass-card{background:var(--bg-card);border:1px solid var(--border-color);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-radius:16px;padding:1.5rem;transition:all .3s}.child-grades-page .averages-section .section-header{justify-content:space-between;align-items:center;margin-bottom:1rem;display:flex}.child-grades-page .averages-section h3{color:var(--text-primary);margin:0 0 1.5rem}.child-grades-page .averages-section .averages-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1.5rem;display:grid}.child-grades-page .averages-section .averages-grid .subject-card{background:var(--bg-surface);border:1px solid var(--border-color);text-align:center;border-radius:12px;padding:1.5rem}.child-grades-page .averages-section .averages-grid .subject-card h4{color:var(--text-secondary);margin:0 0 1rem;font-weight:500}.child-grades-page .averages-section .averages-grid .subject-card .score{margin-bottom:1rem;font-size:2.5rem;font-weight:700}.child-grades-page .averages-section .averages-grid .subject-card .score.text-green{color:#10b981}.child-grades-page .averages-section .averages-grid .subject-card .score.text-yellow{color:#f59e0b}.child-grades-page .averages-section .averages-grid .subject-card .score.text-red{color:#ef4444}.child-grades-page .averages-section .averages-grid .subject-card .progress-bar-container{background:var(--bg-card);border-radius:3px;height:6px;overflow:hidden}.child-grades-page .averages-section .averages-grid .subject-card .progress-bar-container .progress-bar{border-radius:3px;height:100%}.child-grades-page .averages-section .averages-grid .subject-card .progress-bar-container .progress-bar.bg-green{background:#10b981}.child-grades-page .averages-section .averages-grid .subject-card .progress-bar-container .progress-bar.bg-yellow{background:#f59e0b}.child-grades-page .averages-section .averages-grid .subject-card .progress-bar-container .progress-bar.bg-red{background:#ef4444}.child-grades-page .grades-table-section .table-header{justify-content:space-between;align-items:center;margin-bottom:1.5rem;display:flex}.child-grades-page .grades-table-section .table-header h3{color:var(--text-primary);margin:0}.child-grades-page .grades-table-section .table-header .subject-filter{background:var(--bg-surface);border:1px solid var(--border-color);color:var(--text-primary);border-radius:8px;outline:none;padding:.5rem 1rem}.child-grades-page .grades-table-section .score-cell{align-items:center;gap:1rem;display:flex}.child-grades-page .grades-table-section .score-cell .raw-score{color:var(--text-primary);font-weight:500}.child-grades-page .grades-table-section .score-cell .percent-badge{border-radius:6px;padding:.25rem .5rem;font-size:.875rem;font-weight:600}.child-grades-page .grades-table-section .score-cell .percent-badge.badge-green{color:#10b981;background:#10b9811a}.child-grades-page .grades-table-section .score-cell .percent-badge.badge-yellow{color:#f59e0b;background:#f59e0b1a}.child-grades-page .grades-table-section .score-cell .percent-badge.badge-red{color:#ef4444;background:#ef44441a}@media (width<=600px){.child-grades-page{gap:1rem}.child-grades-page .glass-card{padding:1rem}.child-grades-page .averages-section .section-header{flex-wrap:wrap;gap:.5rem .75rem}.child-grades-page .averages-section .section-header h3{overflow-wrap:anywhere;min-width:0;margin:0}.child-grades-page .averages-section .section-header select{flex:10rem;min-width:0;max-width:100%}.child-grades-page .averages-section .averages-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.child-grades-page .averages-section .averages-grid .subject-card{min-width:0;padding:1rem .75rem}.child-grades-page .averages-section .averages-grid .subject-card h4{overflow-wrap:anywhere;margin-bottom:.5rem}.child-grades-page .averages-section .averages-grid .subject-card .score{margin-bottom:.75rem;font-size:2rem}.child-grades-page .grades-table-section .table-header{flex-wrap:wrap;gap:.75rem;margin-bottom:1rem}.child-grades-page .grades-table-section .table-header h3{overflow-wrap:anywhere;min-width:0}.child-grades-page .grades-table-section .table-header .subject-filter{flex:10rem;min-width:0;max-width:100%}.child-grades-page .grades-table-section .data-table-container.glass-panel{box-shadow:none;-webkit-backdrop-filter:none;background:0 0;border:none;padding:0}.child-grades-page .grades-table-section .data-table-container .search-bar{flex:100%;min-width:0}.child-grades-page .grades-table-section .data-table-container .data-table{display:block}.child-grades-page .grades-table-section .data-table-container .data-table thead{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.child-grades-page .grades-table-section .data-table-container .data-table tbody{display:block}.child-grades-page .grades-table-section .data-table-container .data-table td:before{content:none;display:none}.child-grades-page .grades-table-section .data-table-container .data-table tbody tr{border:none;border-bottom:1px solid var(--border-color);background:0 0;border-radius:0;grid-template-columns:minmax(0,1fr) fit-content(9.5rem);align-items:center;gap:.125rem .75rem;padding:.75rem .875rem;display:grid}.child-grades-page .grades-table-section .data-table-container .data-table tbody tr:last-child{border-bottom:none}.child-grades-page .grades-table-section .data-table-container .data-table td{overflow-wrap:anywhere;border-bottom:none;grid-column:1;min-width:0;padding:0;display:block}.child-grades-page .grades-table-section .data-table-container .data-table td:first-child{color:var(--text-muted);font-size:12px}.child-grades-page .grades-table-section .data-table-container .data-table td:nth-child(2){font-size:14px;font-weight:600}.child-grades-page .grades-table-section .data-table-container .data-table td:nth-child(3){color:var(--text-secondary);font-size:12px}.child-grades-page .grades-table-section .data-table-container .data-table td:nth-child(4){grid-area:1/2/span 3;justify-self:end}.child-grades-page .grades-table-section .data-table-container .data-table td.empty-state{color:var(--text-primary);grid-area:auto/1/auto/-1;padding:2rem .5rem;font-size:14px}.child-grades-page .grades-table-section .score-cell{flex-wrap:wrap;justify-content:flex-end;gap:.375rem .5rem}.child-grades-page .grades-table-section .score-cell .raw-score{white-space:nowrap}.child-grades-page .grades-table-section .score-cell .ai-grade-badge{margin-left:0}}@media (width<=380px){.child-grades-page .averages-section .averages-grid .subject-card .score{font-size:1.75rem}.child-grades-page .grades-table-section .data-table-container .data-table tbody tr{grid-template-columns:minmax(0,1fr) fit-content(7.5rem)}}.child-homework-page{flex-direction:column;gap:1.5rem;display:flex}.child-homework-page .glass-card{background:var(--bg-card);border:1px solid var(--border-color);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-radius:16px;padding:1.5rem;transition:all .3s}.child-homework-page .header-section{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;display:flex}.child-homework-page .header-section h2{color:var(--text-primary);margin:0}.child-homework-page .header-section .child-filter{background:var(--bg-surface);border:1px solid var(--border-color);color:var(--text-primary);border-radius:8px;outline:none;max-width:100%;padding:.5rem 1rem}.child-homework-page .homework-list{grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:1rem;display:grid}.child-homework-page .homework-list .empty-state{color:var(--text-secondary);flex-direction:column;grid-column:1/-1;align-items:center;gap:.75rem;padding:3rem 1rem;display:flex}.child-homework-page .homework-list .empty-state p{margin:0}.child-homework-page .homework-item{flex-direction:column;gap:.75rem;min-width:0;display:flex}.child-homework-page .homework-item .item-description{color:var(--text-secondary);white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:.875rem;line-height:1.5}.child-homework-page .homework-item .item-lesson{color:var(--text-primary);flex-direction:column;gap:.4rem;font-size:.875rem;display:flex}.child-homework-page .homework-item .item-lesson .lesson-line{overflow-wrap:anywhere;align-items:flex-start;gap:.4rem;min-width:0;display:flex}.child-homework-page .homework-item .item-lesson .lesson-line svg{color:var(--accent-start);flex-shrink:0;margin-top:2px}.child-homework-page .homework-item.overdue{border-color:#ef444480}.child-homework-page .homework-item .item-head{justify-content:space-between;align-items:flex-start;gap:.75rem;display:flex}.child-homework-page .homework-item .item-head h3{color:var(--text-primary);word-break:break-word;margin:0;font-size:1.05rem}.child-homework-page .homework-item .status-badge{white-space:nowrap;border-radius:9999px;flex-shrink:0;padding:.25rem .75rem;font-size:.75rem;font-weight:600}.child-homework-page .homework-item .status-badge.checked{color:#10b981;background:#10b9811a}.child-homework-page .homework-item .status-badge.waiting{color:var(--accent-start);background:#667eea1a}.child-homework-page .homework-item .status-badge.submitted{color:#3b82f6;background:#3b82f61a}.child-homework-page .homework-item .status-badge.missing{color:#f59e0b;background:#f59e0b1a}.child-homework-page .homework-item.overdue .status-badge.missing{color:#ef4444;background:#ef44441a}.child-homework-page .homework-item .item-meta{color:var(--text-secondary);flex-wrap:wrap;align-items:center;gap:.5rem 1rem;font-size:.875rem;display:flex}.child-homework-page .homework-item .item-meta .group-tag{background:var(--bg-surface);color:var(--text-primary);border:1px solid var(--border-color);border-radius:6px;padding:.2rem .5rem}.child-homework-page .homework-item .item-meta .meta{align-items:center;gap:.3rem;display:inline-flex}.child-homework-page .homework-item .result{border-top:1px dashed var(--border-color);padding-top:.75rem}.child-homework-page .homework-item .result .score{color:var(--text-primary);align-items:center;gap:.5rem;font-weight:600;display:flex}.child-homework-page .homework-item .result .score svg{color:#10b981}.child-homework-page .homework-item .result .feedback{color:var(--text-secondary);word-break:break-word;white-space:pre-wrap;margin:.5rem 0 0;font-size:.875rem}.child-homework-page .homework-item .result .ai-graded-note{color:var(--text-muted);font-size:.8125rem}@media (width<=600px){.child-homework-page{gap:1rem}.child-homework-page .glass-card{padding:1rem}.child-homework-page .header-section{gap:.75rem}.child-homework-page .header-section h2{overflow-wrap:anywhere;min-width:0}.child-homework-page .header-section .child-filter{flex:100%;min-width:0}.child-homework-page .homework-item .item-head{flex-wrap:wrap;gap:.5rem .75rem}.child-homework-page .homework-item .item-head h3{overflow-wrap:anywhere;flex:10rem;min-width:0}.child-homework-page .homework-item .item-meta{gap:.5rem .75rem}.child-homework-page .homework-item .item-meta .group-tag{overflow-wrap:anywhere;min-width:0}.child-homework-page .homework-item .item-meta .meta{white-space:nowrap}.child-homework-page .homework-item .item-meta .meta svg,.child-homework-page .homework-item .result .score svg{flex-shrink:0}}:root{--competition-prize:#b45309}:root.dark{--competition-prize:#fbbf24}.competition-status{white-space:nowrap;border-radius:999px;align-items:center;padding:4px 10px;font-size:12px;font-weight:600;display:inline-flex}.competition-status.upcoming{color:var(--accent-start);background:#667eea1f}.competition-status.active{color:#10b981;background:#10b9811f}.competition-status.ended{color:#d97706;background:#f59e0b24}.competition-status.finalized{color:var(--text-secondary);background:#64748b24}.competition-prizes{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.competition-prizes li{align-items:center;gap:10px;min-width:0;display:flex}.competition-prizes .rank-place{flex-shrink:0;min-width:26px;height:26px;font-size:12px}.competition-prizes .prize-text{color:var(--text-primary);overflow-wrap:anywhere;font-size:.9rem}.competition-timing{color:var(--text-secondary);align-items:center;gap:6px;margin:0;font-size:.85rem;display:flex}.competition-timing svg{flex-shrink:0}.competition-timing.ended{color:#d97706;font-weight:600}.competition-rules{color:var(--text-muted);margin:0;font-size:.85rem;line-height:1.5}.competition-table-wrap{-webkit-overflow-scrolling:touch;overflow-x:auto}.competition-table{border-collapse:collapse;width:100%;font-size:.9rem}.competition-table th{border-bottom:1px solid var(--border-color);color:var(--text-muted);text-align:left;white-space:nowrap;padding:.6rem .75rem;font-size:.8rem;font-weight:600}.competition-table td{border-bottom:1px solid var(--border-color);color:var(--text-primary);vertical-align:middle;padding:.65rem .75rem}.competition-table tbody tr:last-child td{border-bottom:none}.competition-table tbody tr:hover td{background:var(--bg-card-hover)}.competition-table .col-num{text-align:right;white-space:nowrap}.competition-table .col-total strong{color:var(--accent-start);font-size:1.05rem;font-weight:800}.competition-table .place-cell{align-items:center;gap:6px;display:flex}.competition-table .tie-mark{border:1px dashed var(--text-muted);color:var(--text-secondary);white-space:nowrap;border-radius:999px;padding:1px 7px;font-size:11px;font-weight:600}.competition-table .cell-main{font-weight:600}.competition-table .cell-sub{color:var(--text-muted);white-space:nowrap;margin-top:2px;font-size:.75rem}.competition-table .col-name .cell-main{overflow-wrap:anywhere;min-width:120px}.competition-table tr.is-me td,.competition-table tr.is-me:hover td{background:#667eea1f}.competition-table .me-mark{background:var(--accent-start);color:#fff;vertical-align:middle;border-radius:999px;margin-left:6px;padding:1px 8px;font-size:11px;font-weight:600;display:inline-block}.competition-table .prize-tag{color:var(--competition-prize);white-space:nowrap;align-items:center;gap:4px;font-weight:600;display:inline-flex}.competition-table .muted{color:var(--text-muted)}@media (width<=767px){.competition-table{font-size:.85rem}.competition-table th,.competition-table td{padding:.55rem .5rem}.competition-table .col-name .cell-main{min-width:96px}}.competition-winners h3{color:var(--text-primary);align-items:center;gap:8px;margin:0 0 12px;font-size:1.05rem;display:flex}.competition-winners h3 svg{color:#f5b301}.competition-winners ul{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.competition-winners li{border:1px solid var(--border-color);background:var(--bg-primary);border-radius:12px;align-items:flex-start;gap:12px;padding:10px 12px;display:flex}.competition-winners .winner-body{flex-direction:column;gap:4px;min-width:0;display:flex}.competition-winners .winner-names{color:var(--text-primary);overflow-wrap:anywhere;font-weight:700}.competition-winners .winner-prize{color:var(--competition-prize);overflow-wrap:anywhere;align-items:center;gap:6px;font-size:.9rem;font-weight:600;display:inline-flex}.competition-winners .winner-prize svg{flex-shrink:0}.competition-winners .muted{color:var(--text-muted);margin:0}.competition-result{border:1px solid var(--border-color);background:var(--bg-primary);border-radius:12px;flex-direction:column;gap:6px;padding:12px;display:flex}.competition-result .result-name{color:var(--text-primary);overflow-wrap:anywhere;font-weight:700}.competition-result .result-main{flex-wrap:wrap;align-items:center;gap:8px 10px;display:flex}.competition-result .result-place{color:var(--text-primary);font-weight:600}.competition-result .result-total{color:var(--accent-start);white-space:nowrap;margin-left:auto;font-size:1.1rem}.competition-result .result-breakdown,.competition-result .result-note{color:var(--text-secondary);margin:0;font-size:.85rem}.competition-result .result-prize{color:var(--competition-prize);overflow-wrap:anywhere;align-items:center;gap:6px;margin:0;font-weight:600;display:flex}.competition-result .result-prize svg{flex-shrink:0}.competition-warning,.competition-error,.competition-notice{border-radius:10px;padding:10px 12px;font-size:.9rem;line-height:1.45}.competition-warning{color:#b45309;background:#f59e0b1f;border:1px solid #f59e0b59}.competition-error{color:#ef4444;background:#ef44441a;border:1px solid #ef444433}.competition-notice{color:#10b981;background:#10b9811a;border:1px solid #10b98133}:root.dark .competition-warning{color:#fbbf24}.competition-confirm{flex-direction:column;gap:12px;display:flex}.competition-confirm p{color:var(--text-primary);margin:0;line-height:1.5}.competition-confirm .form-actions{margin-top:8px}.competition-confirm .danger-btn{background:#ef4444;box-shadow:0 4px 16px #ef44444d}.competition-confirm .danger-btn:hover:not(:disabled){box-shadow:0 6px 24px #ef444473}.competition-confirm .cancel-btn:disabled,.competition-form .cancel-btn:disabled{opacity:.5;cursor:not-allowed}.child-competitions-page{flex-direction:column;gap:1.5rem;display:flex}.child-competitions-page .glass-card{background:var(--bg-card);border:1px solid var(--border-color);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-radius:16px;padding:1.5rem;transition:all .3s}.child-competitions-page .header-section{justify-content:space-between;align-items:center;gap:1rem;display:flex}.child-competitions-page .header-section h2{color:var(--text-primary);margin:0}.child-competitions-page .header-section .subtitle{color:var(--text-secondary);margin:4px 0 0;font-size:.9rem}.child-competitions-page .header-section .header-icon{color:#f5b301;flex-shrink:0}.child-competitions-page>.empty-state{color:var(--text-secondary);flex-direction:column;align-items:center;gap:.75rem;padding:3rem 1rem;display:flex}.child-competitions-page>.empty-state svg{opacity:.5}.child-competitions-page>.empty-state p{margin:0}.child-competitions-page .muted{color:var(--text-muted);margin:0;font-size:.9rem}.child-competitions-page .competition-list{grid-template-columns:repeat(auto-fill,minmax(min(100%,340px),1fr));align-items:start;gap:1.25rem;display:grid}.child-competitions-page .competition-card{flex-direction:column;gap:1rem;scroll-margin-top:90px;display:flex}.child-competitions-page .competition-card.focused{border-color:var(--accent-start);box-shadow:0 0 0 3px #667eea26}.child-competitions-page .competition-card .card-head{justify-content:space-between;align-items:flex-start;gap:.75rem;display:flex}.child-competitions-page .competition-card .card-head h3{color:var(--text-primary);overflow-wrap:anywhere;margin:0;font-size:1.1rem}.child-competitions-page .competition-card .card-meta{color:var(--text-secondary);flex-direction:column;gap:.4rem;font-size:.875rem;display:flex}.child-competitions-page .competition-card .card-meta span{overflow-wrap:anywhere;align-items:center;gap:.4rem;display:inline-flex}.child-competitions-page .competition-card .card-meta svg{color:var(--text-muted);flex-shrink:0}.child-competitions-page .competition-card .description{color:var(--text-secondary);white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:.9rem;line-height:1.5}.child-competitions-page .competition-card .card-section{flex-direction:column;gap:.6rem;display:flex}.child-competitions-page .competition-card .card-section h4{color:var(--text-muted);letter-spacing:.04em;text-transform:uppercase;margin:0;font-size:.75rem;font-weight:700}.child-competitions-page .competition-card .child-results{flex-direction:column;gap:.6rem;display:flex}.child-competitions-page .competition-card .card-foot{flex-direction:column;gap:.35rem;margin-top:auto;display:flex}@media (width<=767px){.child-competitions-page .glass-card{padding:1rem}}.center-location-card{border-top:1px solid var(--border-color);flex-direction:column;gap:10px;min-width:0;margin-top:1.5rem;padding-top:1.5rem;display:flex}.center-location-card .center-location-head{align-items:flex-start;gap:1rem;min-width:0;display:flex}.center-location-card .center-location-head .center-location-icon{color:var(--text-secondary);flex-shrink:0;margin-top:.25rem}.center-location-card .center-location-head .center-location-label{color:var(--text-secondary);margin-bottom:.25rem;font-size:.85rem;display:block}.center-location-card .center-location-head h3{color:var(--text-primary);overflow-wrap:anywhere;margin:0 0 2px;font-size:1.05rem;font-weight:600}.center-location-card .center-location-head p{color:var(--text-secondary);overflow-wrap:anywhere;margin:0;font-size:.9rem}.center-location-card .location-map{height:150px}.center-location-card .location-links a{font-size:12px}.center-location-card .center-location-missing{color:var(--text-muted);margin:0;font-size:13px}.account-page{max-width:1000px;margin:0 auto;padding:2rem}.account-page .page-header{margin-bottom:2rem}.account-page .account-grid{grid-template-columns:1fr 1fr;gap:2rem;display:grid}@media (width<=768px){.account-page .account-grid{grid-template-columns:1fr}}.account-page .profile-section{padding:2rem}.account-page .profile-section .profile-header{text-align:center;border-bottom:1px solid #ffffff1a;flex-direction:column;align-items:center;margin-bottom:2rem;padding-bottom:2rem;display:flex}.account-page .profile-section .profile-header .large-avatar{border-radius:50%;justify-content:center;align-items:center;width:100px;height:100px;margin-bottom:1rem;display:flex;box-shadow:0 10px 20px #0003}.account-page .profile-section .profile-header h2{margin-bottom:.5rem;font-size:1.5rem;font-weight:700}.account-page .profile-section .profile-header .role-badge{text-transform:uppercase;background:rgba(var(--primary-color-rgb), .2);color:var(--primary-color);border-radius:20px;padding:.25rem 1rem;font-size:.85rem;font-weight:600}.account-page .profile-section .profile-details{flex-direction:column;gap:1.5rem;display:flex}.account-page .profile-section .profile-details .detail-item{align-items:flex-start;gap:1rem;display:flex}.account-page .profile-section .profile-details .detail-item .icon{color:var(--text-secondary);margin-top:.25rem}.account-page .profile-section .profile-details .detail-item .info{flex:1}.account-page .profile-section .profile-details .detail-item .info label{color:var(--text-secondary);margin-bottom:.25rem;font-size:.85rem;display:block}.account-page .profile-section .profile-details .detail-item .info .value{font-size:1.1rem;font-weight:500}.account-page .profile-section .profile-details .detail-item .info .value.highlighted{color:var(--primary-color);letter-spacing:1px;font-family:monospace}.account-page .password-section{padding:2rem}.account-page .password-section .section-header{align-items:center;gap:.75rem;margin-bottom:2rem;display:flex}.account-page .password-section .section-header h3{font-size:1.25rem;font-weight:600}.account-page .password-section .password-form{flex-direction:column;gap:1.5rem;display:flex}.account-page .password-section .password-form .form-group{flex-direction:column;gap:.5rem;display:flex}.account-page .password-section .password-form .form-group label{color:var(--text-secondary);font-weight:500}.account-page .password-section .password-form .form-group .fake-input{background:#0000001a;border:1px solid #ffffff1a;border-radius:8px;padding:.75rem 1rem}.account-page .password-section .password-form .form-group .hint-text{color:var(--text-secondary);margin-top:.25rem;font-size:.85rem}.account-page .password-section .password-form .submit-btn{justify-content:center;margin-top:1rem}.account-page .area-section{grid-column:1/-1;min-width:0}.account-page .area-section .section-header{margin-bottom:1rem}.account-page .area-intro{color:var(--text-muted);margin:0 0 1rem;font-size:14px}.account-page .area-notice{color:var(--text-primary);background:#f59e0b1a;border:1px solid #f59e0b59;border-radius:10px;align-items:flex-start;gap:8px;margin:0 0 1rem;padding:10px 12px;font-size:14px;display:flex}.account-page .area-notice svg{color:var(--warning);flex-shrink:0;margin-top:2px}.account-page .area-list{flex-direction:column;gap:12px;margin:0;padding:0;list-style:none;display:flex}.account-page .area-row{border:1px solid var(--border-color);border-radius:14px;min-width:0;padding:14px 16px}.account-page .area-row.incomplete{background:#f59e0b0d;border-color:#f59e0b8c}.account-page .area-row.editing{border-color:var(--accent-start);background:0 0}.account-page .area-row-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;margin-bottom:10px;display:flex}.account-page .area-row-title{flex-wrap:wrap;align-items:center;gap:6px 8px;min-width:0;display:flex}.account-page .area-row-title h4{color:var(--text-primary);overflow-wrap:anywhere;margin:0;font-size:1rem;font-weight:700}.account-page .area-tag{color:var(--accent-start);background:#667eea1f;border-radius:999px;padding:2px 10px;font-size:12px;font-weight:600}.account-page .area-edit-btn{border:1px solid var(--border-color);color:var(--text-secondary);cursor:pointer;background:0 0;border-radius:10px;align-items:center;gap:6px;padding:6px 12px;font-family:inherit;font-size:13px;font-weight:600;display:inline-flex}.account-page .area-edit-btn:hover:not(:disabled){border-color:var(--accent-start);color:var(--accent-start)}.account-page .area-edit-btn:disabled{opacity:.6;cursor:not-allowed}.account-page .area-edit-btn:focus-visible{outline:2px solid var(--accent-start);outline-offset:2px}.account-page .area-details{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 16px;margin:0;display:grid}.account-page .area-details .area-detail{min-width:0}.account-page .area-details dt{color:var(--text-secondary);margin-bottom:2px;font-size:.8rem}.account-page .area-details dd{color:var(--text-primary);overflow-wrap:anywhere;margin:0;font-weight:500}.account-page .area-details dd.missing{color:#b45309;background:#f59e0b26;border-radius:999px;padding:1px 8px;font-size:.85rem;font-weight:600;display:inline-block}:root.dark .account-page .area-details dd.missing{color:#fbbf24}.account-page .area-edit-form{flex-direction:column;gap:12px;display:flex}.account-page .area-error{color:var(--text-primary);background:#ef44441a;border:1px solid #ef44444d;border-radius:10px;padding:10px 12px;font-size:14px}.account-page .area-error p{margin:0}.account-page .area-error p+p{margin-top:6px}.account-page .area-error a{color:var(--accent-start);font-weight:600}.account-page .area-edit-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.account-page .area-edit-actions .cancel-btn,.account-page .area-edit-actions .primary-btn{justify-content:center;align-items:center;gap:6px;min-height:40px;display:inline-flex}.account-page .area-saved{color:var(--success);margin:8px 0 0;font-size:14px;font-weight:600}@media (width<=600px){.account-page{padding:0}.account-page .page-header{margin-bottom:1rem}.account-page .account-grid{gap:1rem}.account-page .profile-section,.account-page .password-section{min-width:0;padding:18px}.account-page .profile-section .profile-header{margin-bottom:1.25rem;padding-bottom:1.25rem}.account-page .profile-section .profile-header .large-avatar{width:80px;height:80px}.account-page .profile-section .profile-header h2{overflow-wrap:anywhere;font-size:1.25rem}.account-page .profile-section .profile-details{gap:1rem}.account-page .profile-section .profile-details .detail-item{gap:.75rem}.account-page .profile-section .profile-details .detail-item .icon{flex-shrink:0}.account-page .profile-section .profile-details .detail-item .info{min-width:0}.account-page .profile-section .profile-details .detail-item .info .value{overflow-wrap:anywhere;font-size:1rem}.account-page .password-section .section-header{margin-bottom:1.25rem}.account-page .password-section .section-header svg{flex-shrink:0}.account-page .password-section .section-header h3{overflow-wrap:anywhere;min-width:0;font-size:1.1rem}.account-page .password-section .password-form{gap:1.25rem}.account-page .password-section .password-form .submit-btn{margin-top:.25rem}.account-page .area-section .section-header{margin-bottom:.75rem}.account-page .area-row{padding:12px}.account-page .area-details{grid-template-columns:minmax(0,1fr);gap:8px}.account-page .area-row-head .area-edit-btn{flex:100%;justify-content:center;min-height:40px}.account-page .area-edit-actions .cancel-btn,.account-page .area-edit-actions .primary-btn{flex:auto}.account-page .submit-btn,.account-page .password-section>.primary-btn{text-align:center;justify-content:center;width:100%}.account-page .submit-btn svg,.account-page .password-section>.primary-btn svg{flex-shrink:0}}.messages-page{flex-direction:column;gap:16px;min-width:0;display:flex}.messages-page .page-header{margin-bottom:0}.messages-page .messages-intro{color:var(--text-muted);margin:-8px 0 0;font-size:14px}.messages-page .messages-error{color:var(--text-primary);background:#ef44441a;border:1px solid #ef44444d;border-radius:12px;padding:12px 16px}.messages-page .messages-layout{grid-template-columns:minmax(260px,380px) minmax(0,1fr);align-items:start;gap:16px;min-width:0;display:grid}.messages-page .messages-list,.messages-page .message-reader{border-radius:18px;min-width:0;overflow:hidden}.messages-page .messages-filter{border-bottom:1px solid var(--border-color);gap:6px;padding:12px;display:flex}.messages-page .messages-filter button{border:1px solid var(--border-color);color:var(--text-secondary);cursor:pointer;background:0 0;border-radius:999px;padding:6px 12px;font-family:inherit;font-size:13px;font-weight:600}.messages-page .messages-filter button.active{background:linear-gradient(135deg, var(--accent-start), var(--accent-end));color:#fff;border-color:#0000}.messages-page .messages-empty{color:var(--text-muted);text-align:center;margin:0;padding:28px 16px;font-size:14px}.messages-page .message-items{max-height:calc(100vh - 260px);margin:0;padding:0;list-style:none;overflow-y:auto}.messages-page .message-items li+li{border-top:1px solid var(--border-color)}.messages-page .message-item{text-align:left;width:100%;color:var(--text-primary);cursor:pointer;background:0 0;border:none;border-left:3px solid #0000;gap:12px;padding:14px 16px;font-family:inherit;transition:background .15s;display:flex}.messages-page .message-item:hover,.messages-page .message-item.selected{background:var(--bg-card-hover)}.messages-page .message-item.unread{border-left-color:var(--accent-start);background:#667eea14}.messages-page .message-item.unread .item-title{font-weight:700}.messages-page .message-item.unread .item-icon{color:var(--accent-start)}.messages-page .message-item .item-icon{color:var(--text-muted);flex-shrink:0;margin-top:2px}.messages-page .message-item .item-main{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.messages-page .message-item .item-top{align-items:flex-start;gap:8px;display:flex}.messages-page .message-item .item-title{overflow-wrap:anywhere;flex:1;min-width:0;font-size:14px;font-weight:600}.messages-page .message-item .unread-mark{color:#fff;background:#ef4444;border-radius:999px;flex-shrink:0;padding:1px 8px;font-size:11px;font-weight:700;line-height:18px}.messages-page .message-item .item-preview{color:var(--text-secondary);overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:13px;display:-webkit-box;overflow:hidden}.messages-page .message-item .item-meta{color:var(--text-muted);flex-wrap:wrap;align-items:center;gap:8px;font-size:12px;display:flex}.messages-page .kind-badge{white-space:nowrap;border-radius:999px;padding:2px 8px;font-size:11px;font-weight:600;display:inline-block}.messages-page .kind-badge.admin{color:var(--accent-start);background:#667eea26}.messages-page .kind-badge.system{color:#b45309;background:#f59e0b26}.messages-page .kind-badge.user{color:#047857;background:#10b98126}:root.dark .messages-page .kind-badge.system{color:#fbbf24}:root.dark .messages-page .kind-badge.user{color:#34d399}.messages-page .message-reader{padding:24px}.messages-page .message-reader article{flex-direction:column;gap:12px;display:flex}.messages-page .message-reader h2{color:var(--text-primary);overflow-wrap:anywhere;margin:0;font-size:20px;font-weight:700}.messages-page .message-reader h2:focus{outline:none}.messages-page .message-reader h2:focus-visible{outline:2px solid var(--accent-start);outline-offset:4px;border-radius:4px}.messages-page .message-reader .reader-meta{color:var(--text-muted);flex-wrap:wrap;align-items:center;gap:10px;font-size:13px;display:flex}.messages-page .message-reader .edited-mark{font-style:italic}.messages-page .message-reader .reader-body{color:var(--text-primary);white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.6}.messages-page .message-reader .reader-body a{color:var(--accent-start);text-decoration:underline}.messages-page .message-reader .reader-back{color:var(--accent-start);cursor:pointer;background:0 0;border:none;align-self:flex-start;align-items:center;gap:6px;padding:6px 0;font-family:inherit;font-size:14px;font-weight:600;display:none}.messages-page .reader-placeholder{color:var(--text-muted);text-align:center;margin:0;font-size:14px}.messages-page .reader-placeholder p{margin:0}@media (width<=900px){.messages-page .messages-layout{grid-template-columns:minmax(0,1fr)}.messages-page .message-items{max-height:none}.messages-page .messages-layout:not(.reading) .message-reader,.messages-page .messages-layout.reading .messages-list{display:none}.messages-page .message-reader{padding:16px}.messages-page .message-reader .reader-back{display:inline-flex}.messages-page .reader-placeholder{text-align:left}}@media (width<=600px){.messages-page .messages-filter{flex-wrap:wrap;padding:10px 12px}.messages-page .message-items li{min-width:0}.messages-page .message-item{gap:10px;min-width:0;max-width:100%;padding:12px 14px;overflow:hidden}.messages-page .message-item .item-main,.messages-page .message-item .item-top,.messages-page .message-item .item-title,.messages-page .message-item .item-preview,.messages-page .message-item .item-meta{min-width:0;max-width:100%}.messages-page .message-item .item-title,.messages-page .message-item .item-preview{overflow-wrap:anywhere;word-break:break-word}.messages-page .message-item .item-preview{max-height:2.9em;line-height:1.45}}.branches-page{flex-direction:column;gap:16px;min-width:0;display:flex}.branches-page .branches-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:0;display:flex}.branches-page .branches-header .primary-btn{align-items:center;gap:6px;display:inline-flex}.branches-page .branches-header .primary-btn svg{flex-shrink:0}.branches-page .branches-intro{color:var(--text-muted);margin:0;font-size:14px}.branches-page .branches-notice{color:var(--text-primary);background:#10b9811a;border:1px solid #10b9814d;border-radius:12px;padding:12px 16px}.branches-page .branch-cards{grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));gap:16px;display:grid}.branches-page .branch-card{border:1px solid #0000;border-radius:18px;flex-direction:column;gap:10px;min-width:0;padding:20px;display:flex}.branches-page .branch-card.active{border-color:var(--accent-start)}@media (width<=600px){.branches-page .branch-card{padding:16px}}.branches-page .branch-card h2{color:var(--text-primary);overflow-wrap:anywhere;margin:0 0 6px;font-size:18px;font-weight:700}.branches-page .branch-tags{flex-wrap:wrap;gap:6px;display:flex}.branches-page .branch-tag{color:var(--accent-start);background:#667eea1f;border-radius:999px;align-items:center;gap:4px;padding:2px 10px;font-size:12px;font-weight:600;display:inline-flex}.branches-page .branch-tag.active{color:var(--success);background:#10b98126}.branches-page .branch-tag.state-pending{color:#8b5cf6;background:#8b5cf626}.branches-page .branch-tag.state-grace{color:var(--warning);background:#f59e0b26}.branches-page .branch-tag.state-expired{color:var(--danger);background:#ef444426}.branches-page .branch-tag.state-active{color:var(--success);background:#10b9811f}.branches-page .branch-area,.branches-page .branch-address,.branches-page .branch-plan{color:var(--text-secondary);overflow-wrap:anywhere;align-items:flex-start;gap:6px;margin:0;font-size:14px;display:flex}.branches-page .branch-area svg,.branches-page .branch-address svg,.branches-page .branch-plan svg{flex-shrink:0;margin-top:3px}.branches-page .branch-area{color:var(--text-primary);font-weight:500}.branches-page .branch-warning{color:var(--text-primary);background:#f59e0b1a;border-radius:10px;margin:0;padding:10px 12px;font-size:13px}.branches-page .branch-actions{flex-wrap:wrap;gap:8px;display:flex}.branches-page .icon-text-btn{border:1px solid var(--border-color);color:var(--text-secondary);cursor:pointer;background:0 0;border-radius:10px;align-items:center;gap:6px;padding:6px 12px;font-family:inherit;font-size:13px;font-weight:600;display:inline-flex}.branches-page .icon-text-btn:hover{border-color:var(--accent-start);color:var(--accent-start)}.branches-page .icon-text-btn svg{flex-shrink:0}@media (width<=600px){.branches-page .branch-actions .icon-text-btn{text-align:center;flex:auto;justify-content:center;min-height:40px;padding:8px 12px}}.branch-form{flex-direction:column;gap:4px;display:flex}.branch-form .branch-hint{color:var(--text-muted);margin:0 0 8px;font-size:14px}.branch-form .branch-error{color:var(--text-primary);background:#ef44441a;border:1px solid #ef44444d;border-radius:12px;margin-top:8px;padding:12px 16px}.branch-fields{flex-direction:column;gap:4px;display:flex}.branch-fields .form-group{margin-bottom:8px}.branch-fields .area-fields{margin-bottom:12px}.competition-form{flex-direction:column;gap:14px;display:flex}.competition-form .form-group{margin-bottom:0}.competition-form textarea.form-input{resize:vertical}.competition-form select.form-input:disabled{opacity:.75;cursor:not-allowed}.competition-form .field-hint{color:var(--text-muted);font-size:.8rem;line-height:1.4}.competition-form .form-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.competition-form .form-section{border:1px solid var(--border-color);border-radius:12px;flex-direction:column;gap:10px;margin:0;padding:12px 14px 14px;display:flex}.competition-form .form-section legend{color:var(--text-secondary);padding:0 6px;font-size:13px;font-weight:600}.competition-form .prize-input{align-items:center;gap:10px;display:flex}.competition-form .prize-input .rank-place{flex-shrink:0}.competition-form .prize-input .form-input{padding:10px 12px}.competition-form .points-input{color:var(--text-primary);justify-content:space-between;align-items:center;gap:12px;font-size:.9rem;display:flex}.competition-form .points-input .form-input{text-align:right;flex-shrink:0;width:90px;padding:8px 10px}.competition-form .form-actions{margin-top:4px}@media (width<=420px){.competition-form .form-row{grid-template-columns:1fr}}.competitions-page{flex-direction:column;gap:1.5rem;display:flex}.competitions-page .page-header{flex-wrap:wrap;gap:1rem;margin-bottom:0}.competitions-page .page-header h1{margin:0}.competitions-page .page-subtitle{color:var(--text-muted);margin:4px 0 0;font-size:.9rem}.competitions-page .competitions-toolbar label{max-width:360px;color:var(--text-secondary);align-items:center;gap:10px;font-size:.9rem;font-weight:600;display:flex}.competitions-page .competitions-toolbar label .form-input{flex:1;min-width:0;padding:10px 12px}.competitions-page .empty-state{color:var(--text-muted);margin:0}.competitions-page .competition-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:1.25rem;display:grid}.competitions-page .competition-card{color:inherit;flex-direction:column;gap:1rem;padding:1.25rem 1.5rem;text-decoration:none;transition:transform .2s,box-shadow .2s,border-color .2s;display:flex}.competitions-page .competition-card:hover{border-color:var(--accent-start);transform:translateY(-3px);box-shadow:0 10px 20px #0000001a}.competitions-page .competition-card:focus-visible{outline:2px solid var(--accent-start);outline-offset:2px}.competitions-page .competition-card.status-ended{border-color:#f59e0b8c}.competitions-page .competition-card .card-head{justify-content:space-between;align-items:flex-start;gap:.75rem;display:flex}.competitions-page .competition-card .card-head h3{color:var(--text-primary);overflow-wrap:anywhere;margin:0;font-size:1.1rem}.competitions-page .competition-card .card-meta{color:var(--text-secondary);flex-direction:column;gap:.5rem;font-size:.875rem;display:flex}.competitions-page .competition-card .card-meta span{overflow-wrap:anywhere;align-items:center;gap:.5rem;display:flex}.competitions-page .competition-card .card-meta svg{color:var(--text-muted);flex-shrink:0}.competitions-page .competition-card .competition-timing{margin-top:auto}.competitions-page .competitions-empty{color:var(--text-secondary);text-align:center;flex-direction:column;align-items:center;gap:.75rem;padding:2.5rem 1.5rem;display:flex}.competitions-page .competitions-empty svg{color:var(--text-muted)}.competitions-page .competitions-empty p{margin:0}.competitions-page .competitions-empty .muted{color:var(--text-muted);font-size:.9rem}.competitions-page .competitions-explanation{color:var(--text-muted);gap:8px;margin:0;font-size:.85rem;line-height:1.5;display:flex}.competitions-page .competitions-explanation svg{flex-shrink:0;margin-top:2px}@media (width<=767px){.competitions-page .page-header .primary-btn{justify-content:center;width:100%}.competitions-page .competitions-toolbar label{max-width:none}}@media (width<=600px){.competitions-page,.competitions-page .competition-grid{gap:1rem}.competitions-page .competition-card{padding:16px}.competitions-page .competitions-empty{padding:1.5rem 1rem}}.competition-detail{flex-direction:column;gap:1.25rem;display:flex}.competition-detail .back-link{color:var(--text-secondary);align-self:flex-start;align-items:center;gap:6px;font-size:.9rem;font-weight:600;text-decoration:none;display:inline-flex}.competition-detail .back-link:hover{color:var(--accent-start)}.competition-detail .empty-state{color:var(--text-muted);margin:0}.competition-detail .detail-empty{color:var(--text-secondary);text-align:center;padding:2rem 1.5rem}.competition-detail .detail-header{flex-direction:column;gap:1rem;padding:1.5rem;display:flex}.competition-detail .detail-top{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.competition-detail .detail-title{flex-direction:column;gap:.6rem;min-width:0;display:flex}.competition-detail .detail-title .title-row{flex-wrap:wrap;align-items:center;gap:.5rem .75rem;display:flex}.competition-detail .detail-title .title-row h1{overflow-wrap:anywhere;margin:0}.competition-detail .detail-meta{color:var(--text-secondary);flex-wrap:wrap;gap:.4rem 1.25rem;font-size:.9rem;display:flex}.competition-detail .detail-meta span{align-items:center;gap:.4rem;display:inline-flex}.competition-detail .detail-meta svg{color:var(--text-muted);flex-shrink:0}.competition-detail .detail-actions{flex-shrink:0;align-items:center;gap:8px;display:flex}.competition-detail .detail-actions .icon-btn:disabled{opacity:.5;cursor:not-allowed}.competition-detail .detail-description{color:var(--text-secondary);white-space:pre-wrap;overflow-wrap:anywhere;margin:0;line-height:1.55}.competition-detail .detail-info{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.competition-detail .info-block{border:1px solid var(--border-color);background:var(--bg-primary);border-radius:12px;flex-direction:column;gap:.6rem;padding:1rem;display:flex}.competition-detail .info-block h4{color:var(--text-muted);letter-spacing:.04em;text-transform:uppercase;margin:0;font-size:.75rem;font-weight:700}.competition-detail .detail-section{flex-direction:column;gap:1rem;padding:1.25rem 1.5rem;display:flex}.competition-detail .section-head{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:.25rem 1rem;display:flex}.competition-detail .section-head h3{color:var(--text-primary);margin:0;font-size:1.05rem}.competition-detail .section-head .section-note{color:var(--text-muted);font-size:.82rem}.competition-detail .section-empty{color:var(--text-muted);margin:0;font-size:.9rem}.competition-detail .tie-rule{color:var(--text-muted);margin:0;font-size:.82rem;line-height:1.5}.competition-detail .bonus-form{grid-template-columns:minmax(0,1.3fr) 120px minmax(0,1.5fr) auto;align-items:center;gap:10px;display:grid}.competition-detail .bonus-form .form-input{padding:10px 12px}.competition-detail .bonus-form .primary-btn{white-space:nowrap;justify-content:center}.competition-detail .bonus-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.competition-detail .bonus-list li{border:1px solid var(--border-color);background:var(--bg-primary);border-radius:12px;align-items:center;gap:12px;padding:10px 12px;display:flex}.competition-detail .bonus-list .bonus-points{color:#10b981;text-align:center;background:#10b9811f;border-radius:999px;flex-shrink:0;min-width:48px;padding:4px 8px;font-weight:700}.competition-detail .bonus-list .bonus-body{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.competition-detail .bonus-list .bonus-body strong{color:var(--text-primary);overflow-wrap:anywhere}.competition-detail .bonus-list .bonus-reason{color:var(--text-secondary);overflow-wrap:anywhere;font-size:.875rem}.competition-detail .bonus-list .bonus-date{color:var(--text-muted);font-size:.78rem}.competition-detail .bonus-list .icon-btn{flex-shrink:0}.competition-detail .bonus-list .icon-btn:disabled{opacity:.5;cursor:not-allowed}@media (width<=767px){.competition-detail .detail-header,.competition-detail .detail-section{padding:1rem}.competition-detail .detail-top{flex-direction:column}.competition-detail .detail-actions{width:100%}.competition-detail .detail-actions .primary-btn{flex:1;justify-content:center}.competition-detail .detail-info{grid-template-columns:1fr}.competition-detail .bonus-form{grid-template-columns:minmax(0,1fr) 116px}.competition-detail .bonus-form input[type=text],.competition-detail .bonus-form .primary-btn{grid-column:1/-1}}@media (width<=600px){.competition-detail .detail-empty{padding:1.5rem 1rem}.competition-detail .detail-meta span{overflow-wrap:anywhere;min-width:0}.competition-detail .info-block{min-width:0;padding:12px}.competition-detail .bonus-list li{gap:10px}}.my-competitions-page{flex-direction:column;gap:1.5rem;display:flex}.my-competitions-page .glass-card{background:var(--bg-card);border:1px solid var(--border-color);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-radius:16px;padding:1.5rem;transition:all .3s}.my-competitions-page .header-section{justify-content:space-between;align-items:center;gap:1rem;display:flex}.my-competitions-page .header-section h2{color:var(--text-primary);margin:0}.my-competitions-page .header-section .subtitle{color:var(--text-secondary);margin:4px 0 0;font-size:.9rem}.my-competitions-page .header-section .header-icon{color:#f5b301;flex-shrink:0}.my-competitions-page>.empty-state{color:var(--text-secondary);flex-direction:column;align-items:center;gap:.75rem;padding:3rem 1rem;display:flex}.my-competitions-page>.empty-state svg{opacity:.5}.my-competitions-page>.empty-state p{margin:0}.my-competitions-page .muted{color:var(--text-muted);margin:0;font-size:.9rem}.my-competitions-page .competition-list{flex-direction:column;gap:1.25rem;display:flex}.my-competitions-page .competition-card{flex-direction:column;gap:1rem;scroll-margin-top:90px;display:flex}.my-competitions-page .competition-card.focused{border-color:var(--accent-start);box-shadow:0 0 0 3px #667eea26}.my-competitions-page .competition-card .card-head{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.my-competitions-page .competition-card .card-title{flex-direction:column;gap:.5rem;min-width:0;display:flex}.my-competitions-page .competition-card .card-title h3{color:var(--text-primary);overflow-wrap:anywhere;margin:0;font-size:1.15rem}.my-competitions-page .competition-card .card-meta{color:var(--text-secondary);flex-wrap:wrap;gap:.35rem 1rem;font-size:.875rem;display:flex}.my-competitions-page .competition-card .card-meta span{align-items:center;gap:.35rem;display:inline-flex}.my-competitions-page .competition-card .card-meta svg{color:var(--text-muted);flex-shrink:0}.my-competitions-page .competition-card .description{color:var(--text-secondary);white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:.9rem;line-height:1.5}.my-competitions-page .competition-card .card-body{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.my-competitions-page .competition-card .card-col{flex-direction:column;gap:.6rem;min-width:0;display:flex}.my-competitions-page .competition-card .card-col h4{color:var(--text-muted);letter-spacing:.04em;text-transform:uppercase;margin:0;font-size:.75rem;font-weight:700}.my-competitions-page .competition-card .card-foot{flex-direction:column;gap:.35rem;display:flex}.my-competitions-page .competition-card .board-toggle{border:1px solid var(--border-color);background:var(--bg-surface);color:var(--accent-start);font:inherit;cursor:pointer;border-radius:10px;align-self:flex-start;align-items:center;gap:6px;padding:8px 14px;font-size:.9rem;font-weight:600;transition:all .2s;display:inline-flex}.my-competitions-page .competition-card .board-toggle:hover{border-color:var(--accent-start)}.my-competitions-page .competition-card .board{border-top:1px dashed var(--border-color);flex-direction:column;gap:1rem;padding-top:1rem;display:flex}.my-competitions-page .competition-card .my-bonuses h4{color:var(--text-primary);margin:0 0 .5rem;font-size:.95rem}.my-competitions-page .competition-card .my-bonuses ul{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.my-competitions-page .competition-card .my-bonuses li{flex-wrap:wrap;align-items:center;gap:4px 10px;font-size:.875rem;display:flex}.my-competitions-page .competition-card .my-bonuses .bonus-points{color:#10b981;background:#10b9811f;border-radius:999px;padding:2px 8px;font-weight:700}.my-competitions-page .competition-card .my-bonuses .bonus-reason{color:var(--text-primary);overflow-wrap:anywhere}.my-competitions-page .competition-card .my-bonuses .bonus-date{color:var(--text-muted);font-size:.78rem}@media (width<=767px){.my-competitions-page .glass-card{padding:1rem}.my-competitions-page .competition-card .card-body{grid-template-columns:1fr}.my-competitions-page .competition-card .board-toggle{text-align:center;justify-content:center;align-self:stretch}.my-competitions-page .competition-card .board-toggle svg{flex-shrink:0}}.subscription-page{max-width:1100px;margin:0 auto}.subscription-page .sub-header{text-align:center;margin-bottom:32px}.subscription-page .sub-header h1{color:var(--text-primary);margin-bottom:12px;font-size:32px;font-weight:800}.subscription-page .sub-header p{color:var(--text-muted);font-size:16px}@media (width<=600px){.subscription-page .sub-header{margin-bottom:24px}.subscription-page .sub-header h1{margin-bottom:8px;font-size:24px}.subscription-page .sub-header p{font-size:15px}}.subscription-page .status-card{border-radius:20px;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin-bottom:32px;padding:24px;display:grid}@media (width<=900px){.subscription-page .status-card{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=560px){.subscription-page .status-card{grid-template-columns:minmax(0,1fr)}}@media (width<=600px){.subscription-page .status-card{border-radius:16px;gap:16px;margin-bottom:24px;padding:16px}}.subscription-page .status-card .status-item{flex-direction:column;gap:6px;min-width:0;display:flex}.subscription-page .status-card .status-item strong{color:var(--text-primary);overflow-wrap:anywhere;font-size:22px;font-weight:700}@media (width<=600px){.subscription-page .status-card .status-item strong{font-size:20px}}.subscription-page .status-card .status-label{color:var(--text-muted);font-size:13px}.subscription-page .status-card .status-note{color:var(--text-secondary);font-size:13px}.subscription-page .status-card .status-note.grace{color:#f59e0b}.subscription-page .status-card .status-note.expired{color:#ef4444}.subscription-page .status-card .usage-bar{background:var(--bg-primary);border-radius:3px;height:6px;overflow:hidden}.subscription-page .status-card .usage-bar div{background:var(--accent-start);height:100%}.subscription-page .status-card .status-ai{border-top:1px solid var(--border-color);color:var(--text-secondary);grid-column:1/-1;align-items:flex-start;gap:8px;margin:0;padding-top:16px;font-size:14px;line-height:1.5;display:flex}.subscription-page .status-card .status-ai svg{color:var(--accent-start);flex-shrink:0;margin-top:2px}.subscription-page .status-card .status-ai.exhausted{color:#f59e0b}.subscription-page .status-card .status-ai.exhausted svg{color:inherit}.subscription-page .calculator-section{border-radius:20px;padding:30px}@media (width<=600px){.subscription-page .calculator-section{border-radius:16px;padding:16px}}.subscription-page .calculator-section h3{color:var(--text-primary);text-align:center;margin-bottom:20px;font-size:18px}@media (width<=600px){.subscription-page .calculator-section h3{margin-bottom:16px}}.subscription-page .calculator-section .students-input{flex-direction:column;align-items:center;gap:8px;margin-bottom:30px;display:flex}.subscription-page .calculator-section .students-input label{color:var(--text-secondary);font-size:14px;font-weight:600}.subscription-page .calculator-section .students-input .quota-input{text-align:center;width:100%;max-width:220px;font-size:20px;font-weight:700}.subscription-page .calculator-section .students-input .quota-hint{color:var(--text-muted);text-align:center;font-size:13px}.subscription-page .calculator-section .students-input .quota-hint.warn{color:var(--warning)}.subscription-page .calculator-section .students-input .quota-display{text-align:center;color:var(--accent-start);font-size:18px;font-weight:600}@media (width<=600px){.subscription-page .calculator-section .students-input{margin-bottom:20px}}.subscription-page .calculator-section .total-box{background:var(--bg-primary);border-radius:12px;justify-content:space-between;align-items:center;margin-bottom:30px;padding:20px;display:flex}.subscription-page .calculator-section .total-box .total-label{color:var(--text-secondary);font-size:16px}.subscription-page .calculator-section .total-box .total-amount{color:var(--text-primary);align-items:baseline;gap:8px;font-size:28px;font-weight:800;display:flex}.subscription-page .calculator-section .total-box .total-amount span{color:var(--text-muted);font-size:16px}@media (width<=600px){.subscription-page .calculator-section .total-box{margin-bottom:20px;padding:14px 16px}.subscription-page .calculator-section .total-box .total-amount{overflow-wrap:anywhere;flex-wrap:wrap}}.subscription-page .calculator-section .online-pay{background:#f59e0b0f;border:1px dashed #f59e0b8c;border-radius:16px;flex-direction:column;gap:12px;padding:20px;display:flex}.subscription-page .calculator-section .online-pay .online-pay-head{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.subscription-page .calculator-section .online-pay .online-pay-head h4{color:var(--text-primary);margin:0;font-size:17px;font-weight:700}.subscription-page .calculator-section .online-pay .online-pay-icon{width:38px;height:38px;color:var(--accent-start);background:#667eea1f;border-radius:10px;justify-content:center;align-items:center;display:inline-flex}.subscription-page .calculator-section .online-pay .soon-pill{white-space:nowrap;color:#b45309;background:#f59e0b29;border:1px solid #f59e0b66;border-radius:999px;padding:2px 10px;font-size:12px;font-weight:700;line-height:20px}.subscription-page .calculator-section .online-pay p{color:var(--text-secondary);margin:0;font-size:14.5px;line-height:1.55}.subscription-page .calculator-section .online-pay .online-pay-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.subscription-page .calculator-section .online-pay .online-pay-actions .primary-btn{justify-content:center;min-height:44px}.subscription-page .calculator-section .online-pay .online-pay-actions a{background:linear-gradient(135deg, var(--accent-start), var(--accent-end));color:#fff;border-radius:12px;padding:12px 24px;font-weight:600;text-decoration:none}@media (width<=600px){.subscription-page .calculator-section .online-pay .online-pay-actions .primary-btn,.subscription-page .calculator-section .online-pay .online-pay-actions a{text-align:center;flex:auto;justify-content:center}.subscription-page .calculator-section .online-pay .online-pay-actions a{padding:12px 16px}.subscription-page .calculator-section .online-pay{padding:16px}}:root.dark .subscription-page .calculator-section .online-pay .soon-pill{color:#fbbf24}.subscription-page .trial-badge{vertical-align:middle;color:#10b981;border:1px solid #10b981;border-radius:999px;margin-left:8px;padding:2px 8px;font-size:12px;font-weight:600}.subscription-page .sub-message{border-radius:12px;margin-bottom:20px;padding:12px 16px;font-size:14px}.subscription-page .sub-message.success{color:#10b981;background:#10b9811a;border:1px solid #10b9814d}.subscription-page .sub-message.error{color:#ef4444;background:#ef44441a;border:1px solid #ef44444d}.subscription-page .price-change-note{text-align:center;color:var(--text-muted);margin:-8px 0 20px;font-size:14px}.subscription-page .seats-rules{border-radius:16px;max-width:720px;margin:0 auto 24px;padding:16px 20px}@media (width<=600px){.subscription-page .seats-rules{padding:16px}}.subscription-page .seats-rules h3{color:var(--text-primary);margin:0 0 8px;font-size:16px}.subscription-page .seats-rules ul{color:var(--text-secondary);margin:0;padding-left:20px;font-size:14px;line-height:1.55}.subscription-page .seats-rules li+li{margin-top:6px}.subscription-page .status-carry{color:var(--text-secondary);grid-column:1/-1;margin:4px 0 0;font-size:14px}.subscription-page .plans-note{border:1px solid var(--border-color);background:var(--bg-surface);text-align:center;max-width:720px;color:var(--text-secondary);border-radius:12px;margin:0 auto 20px;padding:12px 16px;font-size:14px;line-height:1.5}.subscription-page .calculator-section{margin-top:32px}@media (width<=600px){.subscription-page .calculator-section{margin-top:24px}}.subscription-page .calculator-section .totals{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:24px;display:grid}@media (width<=768px){.subscription-page .calculator-section .totals{grid-template-columns:minmax(0,1fr)}}.subscription-page .calculator-section .totals .total-box{flex-direction:column;align-items:flex-start;gap:6px;margin-bottom:0}.subscription-page .calculator-section .totals .total-box.current{outline:2px solid var(--accent-start)}.subscription-page .calculator-section .totals .total-box .total-amount{font-size:22px}.subscription-page .calculator-section .totals .total-box .total-teachers{color:var(--text-muted);font-size:13px}@media (width<=600px){.subscription-page .plan-cards{gap:16px}.subscription-page .plan-cards .plan-card{padding:16px}}.subscription-page .sub-branch{color:var(--accent-start);background:#667eea1f;border-radius:999px;margin-top:8px;padding:4px 12px;font-size:14px;font-weight:600;display:inline-block}
