:root{--background:#eef0f6;--surface:#fff;--surface-hover:#f3f2fb;--surface-sunken:#f6f6fc;--foreground:#14151f;--muted:#6b6d80;--border:#14151f17;--border-strong:#14151f29;--accent:#205ed1;--accent-2:#2f9df6;--accent-hover:#1a4bab;--accent-soft:#205ed11a;--accent-soft-strong:#205ed12e;--accent-gradient:linear-gradient(135deg, var(--accent), var(--accent-2));--danger:#e0392f;--danger-soft:#e0392f1a;--success:#16a34a;--panel-bg:#14101f;--shadow-xs:0 1px 2px #14141e0d;--shadow-sm:0 2px 6px #14141e12, 0 1px 2px #14141e0d;--shadow-md:0 12px 32px #1e143c1f, 0 2px 8px #1e143c12;--shadow-lg:0 26px 60px #1e143c33, 0 6px 16px #1e143c1a;--shadow-accent:0 8px 20px #205ed147;--radius-sm:10px;--radius:16px;--radius-lg:22px}@media (prefers-color-scheme:dark){:root{--background:#0a0a12;--surface:#16151f;--surface-hover:#1e1d2b;--surface-sunken:#121119;--foreground:#f1f1f7;--muted:#9694ab;--border:#ffffff14;--border-strong:#ffffff29;--accent:#4c8cff;--accent-2:#4fd2ff;--accent-hover:#6fa4ff;--accent-soft:#4c8cff29;--accent-soft-strong:#4c8cff42;--danger:#ff6a61;--danger-soft:#ff6a6129;--success:#3fd47f;--panel-bg:#0a0812;--shadow-xs:0 1px 2px #0006;--shadow-sm:0 2px 6px #00000073;--shadow-md:0 16px 40px #0000008c, 0 2px 10px #0006;--shadow-lg:0 30px 70px #0009, 0 6px 18px #00000073;--shadow-accent:0 10px 26px #4c8cff59}html{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}html{height:100%}html,body{max-width:100vw}html{overflow-x:hidden}body{min-height:100%;color:var(--foreground);background:radial-gradient(1100px 600px at 100% -10%, var(--accent-soft), transparent 60%), var(--background);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-repeat:no-repeat;flex-direction:column;font-size:15px;line-height:1.5;display:flex}*{box-sizing:border-box;margin:0;padding:0}a{color:inherit;text-decoration:none}::selection{background:var(--accent-soft-strong)}h1,h2,h3{letter-spacing:-.02em;font-weight:800}::-webkit-scrollbar{width:11px;height:11px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background-color:var(--border-strong);border:3px solid var(--background);border-radius:8px}::-webkit-scrollbar-thumb:hover{background-color:var(--muted)}.container{width:100%;max-width:1600px;margin:0 auto;padding:40px 40px 56px}@media (max-width:640px){.container{padding:20px 16px 40px}}.muted{color:var(--muted)}.topbar{border-bottom:1px solid var(--border);background:var(--surface);z-index:50;position:sticky;top:0}.topbarInner{justify-content:space-between;align-items:center;gap:12px;width:100%;max-width:1600px;margin:0 auto;padding:12px 40px;display:flex;position:relative}@media (max-width:640px){.topbarInner{padding:10px 16px}}.topbar .brand{align-items:center;margin-right:20px;display:flex}.topbar .brand img{width:auto;height:32px}.topbar nav{align-items:center;gap:2px;display:flex}.topbar nav a{color:var(--muted);border-radius:999px;align-items:center;gap:8px;padding:8px 16px;font-size:14px;font-weight:600;transition:background-color .15s,color .15s;display:flex}.topbar nav a svg{opacity:.85;flex-shrink:0;width:16px;height:16px}.topbar nav a:hover{background:var(--surface-hover);color:var(--foreground)}.topbar nav a.active{background:var(--accent-gradient);color:#fff;box-shadow:var(--shadow-accent)}.topbar nav a.active svg{opacity:1}.navToggle{border:1px solid var(--border-strong);background:var(--surface);width:38px;height:38px;color:var(--foreground);cursor:pointer;border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;display:none}.navToggle svg{width:18px;height:18px}.navToggle:hover{background:var(--surface-hover)}.navOverlay{display:none}@media (max-width:1050px){.navToggle{display:inline-flex}.topbar nav{display:none}.topbar nav.open{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-lg);z-index:60;flex-direction:column;align-items:stretch;gap:2px;margin-top:8px;padding:8px;animation:.12s scaleIn;display:flex;position:absolute;top:100%;left:16px;right:16px}.topbar nav.open a{border-radius:var(--radius-sm);padding:12px 14px;font-size:14.5px}.navOverlay.open{z-index:55;display:block;position:fixed;inset:0}}@media (max-width:400px){.topbar .brand img{height:26px}}.pageHeader{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:30px;display:flex}.pageHeader h1{margin-bottom:6px;font-size:30px}.pageHeader p{color:var(--muted);font-size:14.5px}.pageTitle{margin-bottom:24px;font-size:30px}@media (max-width:560px){.pageHeader{flex-direction:column;align-items:stretch}.pageHeader>:not(:only-child):first-child{margin-bottom:4px}}.emptyState{border:1.5px dashed var(--border-strong);border-radius:var(--radius);text-align:center;color:var(--muted);background:var(--surface-sunken);padding:52px 24px;font-size:14px}.emptyStateRich{border:1.5px dashed var(--border-strong);border-radius:var(--radius);text-align:center;background:var(--surface-sunken);flex-direction:column;align-items:center;gap:6px;padding:56px 24px;display:flex}.emptyStateIcon{background:var(--accent-soft);width:52px;height:52px;color:var(--accent);border-radius:999px;justify-content:center;align-items:center;margin-bottom:12px;display:flex}.emptyStateIcon svg{width:24px;height:24px}.emptyStateRich h3{font-size:16px;font-weight:700}.emptyStateRich p{color:var(--muted);max-width:360px;font-size:13.5px}.emptyStateForm{gap:8px;width:100%;max-width:360px;margin-top:18px;display:flex}.emptyStateForm .inlineInput{flex:1;min-width:0}.badge{text-transform:uppercase;letter-spacing:.04em;background:var(--accent-gradient);color:#fff;border-radius:999px;align-items:center;padding:3px 9px;font-size:11px;font-weight:700;display:inline-flex}.badge.muted{background:var(--surface-hover);color:var(--muted);border:1px solid var(--border)}.teamAvatar{color:#fff;letter-spacing:.01em;border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;font-weight:800;display:inline-flex}.teamAvatar.lg{width:42px;height:42px;font-size:15px}.teamAvatar.sm{border:2px solid var(--surface);width:26px;height:26px;font-size:10.5px}.avatarStack{align-items:center;display:flex}.avatarStack .teamAvatar.sm{margin-left:-8px}.avatarStack .teamAvatar.sm:first-child{margin-left:0}.avatarStatusDot{background:var(--muted);border:2px solid var(--surface-sunken);border-radius:50%;width:10px;height:10px;position:absolute;bottom:-2px;right:-2px}.statusChip{border:1px solid #0000;border-radius:999px;align-items:center;gap:6px;padding:4px 11px;font-size:12.5px;font-weight:700;transition:box-shadow .15s,opacity .15s;display:inline-flex}.statusChipDot{border-radius:50%;flex-shrink:0;width:8px;height:8px}button.statusChip{cursor:pointer;font:inherit}button.statusChip.active{box-shadow:0 0 0 2px var(--surface) inset, 0 0 0 3.5px currentColor}button.statusChip.dimmed{opacity:.45}.avatarStackMore{border:2px solid var(--surface);background:var(--surface-sunken);width:26px;height:26px;color:var(--muted);border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;margin-left:-8px;font-size:10px;font-weight:700;display:inline-flex}.statsRow{flex-wrap:wrap;gap:10px;margin-bottom:24px;display:flex}.statPill{border-radius:var(--radius-sm);background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-xs);align-items:baseline;gap:7px;padding:10px 16px;display:flex}.statPill strong{letter-spacing:-.01em;font-size:18px;font-weight:800}.statPill span{color:var(--muted);font-size:12.5px;font-weight:600}.modalOverlay{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);z-index:100;background:#0806109e;justify-content:center;align-items:center;padding:24px;animation:.15s fadeIn;display:flex;position:fixed;inset:0}.modalCard{background:var(--surface);border-radius:var(--radius-lg);border:1px solid var(--border);box-shadow:var(--shadow-lg);flex-direction:column;width:100%;max-width:640px;max-height:85vh;animation:.15s scaleIn;display:flex;overflow:hidden}.previewModalCard{width:70vw;max-width:none;height:98vh;max-height:none;margin-top:0}@media (max-width:720px){.previewModalCard{border-radius:0;width:100vw;height:100vh}.previewModalOverlay{padding:0}}@keyframes fadeIn{0%{opacity:0}}@keyframes scaleIn{0%{opacity:0;transform:scale(.97)translateY(4px)}}.modalHeader{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:20px 24px;display:flex}.modalHeader strong{font-size:16.5px;font-weight:700}.modalBody{flex:1;padding:22px 24px;overflow-y:auto}.modalFooter{border-top:1px solid var(--border);background:var(--surface-sunken);justify-content:flex-end;gap:8px;padding:16px 24px;display:flex}.card{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-xs);padding:28px}@media (max-width:640px){.card{padding:18px}}.card.tight{padding:18px 20px}.tile{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-xs);transition:box-shadow .18s,transform .18s,border-color .18s;position:relative;overflow:hidden}.tile img{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.tile:before{content:"";background:var(--accent-gradient);opacity:0;height:4px;transition:opacity .18s;position:absolute;inset:0 0 auto}.tile:hover{box-shadow:var(--shadow-md);border-color:var(--border-strong);transform:translateY(-3px)}.tile:hover:before{opacity:1}.tile .teamAvatar{transition:transform .18s}.tile:hover .teamAvatar{transform:scale(1.06)}.tile:hover .avatarStack .teamAvatar.sm{border-color:var(--surface-hover)}.field{flex-direction:column;gap:6px;margin-bottom:18px;display:flex}.field label{color:var(--muted);font-size:13px;font-weight:700}.field input,.field textarea,.field select{font:inherit;border:1.5px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface-sunken);color:var(--foreground);padding:11px 14px;transition:border-color .15s,box-shadow .15s,background-color .15s}.field input:hover,.field textarea:hover,.field select:hover{border-color:var(--muted)}.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--accent);background:var(--surface);box-shadow:0 0 0 4px var(--accent-soft);outline:none}.field input::placeholder,.field textarea::placeholder{color:var(--muted);opacity:.75}.field input[type=file]{background:0 0;border:none;padding:8px}.inlineInput{font:inherit;border:1.5px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface-sunken);color:var(--foreground);padding:11px 14px;transition:border-color .15s,box-shadow .15s,background-color .15s}.inlineInput:hover{border-color:var(--muted)}.inlineInput:focus{border-color:var(--accent);background:var(--surface);box-shadow:0 0 0 4px var(--accent-soft);outline:none}.inlineInput::placeholder{color:var(--muted);opacity:.75}.niceSelectTrigger{cursor:pointer;text-align:left;justify-content:space-between;align-items:center;gap:8px;width:100%;display:flex}.niceSelectTrigger svg{color:var(--muted);flex-shrink:0}.niceSelectTrigger:disabled{opacity:.6;cursor:not-allowed}.folderToolbar{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:24px;display:flex}.folderToolbar .inlineInput{width:240px}@media (max-width:560px){.folderToolbar .inlineInput{width:100%}}.btn{font:inherit;background:var(--accent-gradient);color:#fff;cursor:pointer;box-shadow:var(--shadow-accent);white-space:nowrap;border:1px solid #0000;border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;gap:6px;padding:11px 20px;font-size:14px;font-weight:700;transition:filter .15s,transform 50ms,box-shadow .15s;display:inline-flex}.btn:hover:not(:disabled){filter:brightness(1.08)}.btn:active:not(:disabled){box-shadow:none;transform:translateY(1px)}.btn:focus-visible{box-shadow:0 0 0 3px var(--accent-soft-strong);outline:none}.btn.secondary{background:var(--surface);color:var(--foreground);border:1.5px solid var(--border-strong);box-shadow:none}.btn.secondary:hover:not(:disabled){background:var(--surface-hover);border-color:var(--muted);filter:none}.btn:disabled{opacity:.5;cursor:not-allowed;transform:none}.btn.compact{padding:5px 12px;font-size:12px}.error-text{color:var(--danger);background:var(--danger-soft);border-radius:var(--radius-sm);padding:9px 13px;font-size:13px;font-weight:600}.authShell{grid-template-columns:1.1fr 1fr;width:100%;min-height:100vh;display:grid}.authPanel{background:var(--panel-bg);color:#fff;text-align:center;flex-direction:column;justify-content:center;align-items:center;padding:64px;display:flex;position:relative;overflow:hidden}.authPanel:before{content:"";background:radial-gradient(circle, var(--accent) 0%, transparent 70%);opacity:.5;filter:blur(10px);width:60%;height:60%;position:absolute;inset:-20% -10% auto auto}.authPanel:after{content:"";background:radial-gradient(circle, var(--accent-2) 0%, transparent 70%);opacity:.35;filter:blur(10px);width:55%;height:55%;position:absolute;inset:auto auto -30% -10%}.authPanel img{z-index:1;width:auto;height:96px;margin-bottom:32px;position:relative}.authPanel h2{z-index:1;max-width:420px;font-size:34px;line-height:1.2;position:relative}.authPanel p{color:#ffffffa6;z-index:1;max-width:400px;margin-top:14px;font-size:15px;position:relative}.authFormSide{justify-content:center;align-items:center;padding:40px 24px;display:flex}.authFormCard{width:100%;max-width:380px}.authFormCard h1{margin-bottom:6px;font-size:26px}.authFormCard>p{color:var(--muted);margin-bottom:28px;font-size:14.5px}@media (max-width:860px){.authShell{grid-template-columns:1fr}.authPanel{display:none}}.sectionLabel{text-transform:uppercase;letter-spacing:.06em;color:var(--accent);align-items:center;gap:8px;margin:28px 0 14px;font-size:12.5px;font-weight:800;display:flex}.sectionLabel:first-child{margin-top:0}.sectionLabel svg{width:15px;height:15px}.sectionLabel:after{content:"";background:var(--border);flex:1;height:1px}.exerciseRow{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-sunken);align-items:center;gap:12px;padding:8px 10px;transition:border-color .15s,background-color .15s;display:flex}.exerciseRow:hover{border-color:var(--border-strong)}.exerciseRow.dragOver{background:var(--accent-soft);border-color:var(--accent)}.exerciseRow.dragging{opacity:.5}.exerciseRow .dragHandle{cursor:grab;color:var(--muted);-webkit-user-select:none;user-select:none;flex-shrink:0;font-size:15px;line-height:1}.exerciseRow .thumb{object-fit:cover;background:var(--surface-hover);border:1px solid var(--border);border-radius:8px;flex-shrink:0;width:40px;height:40px}.exerciseRow .thumbPlaceholder{background:var(--accent-gradient);opacity:.7;border-radius:8px;flex-shrink:0;width:40px;height:40px}.exerciseRow .name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:13.5px;font-weight:600;overflow:hidden}.iconBtn{border:1px solid var(--border-strong);background:var(--surface);width:30px;height:30px;color:var(--foreground);cursor:pointer;border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;transition:background-color .15s,color .15s,border-color .15s;display:inline-flex}.iconBtn svg{width:14px;height:14px}.iconBtn:hover:not(:disabled){background:var(--surface-hover);border-color:var(--muted)}.iconBtn:disabled{opacity:.35;cursor:not-allowed}.iconBtn.danger:hover:not(:disabled){background:var(--danger-soft);border-color:var(--danger);color:var(--danger)}.datePicker{position:relative}.datePickerTrigger{width:100%;font:inherit;border:1.5px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface-sunken);color:var(--foreground);cursor:pointer;align-items:center;gap:10px;padding:11px 14px;transition:border-color .15s,box-shadow .15s,background-color .15s;display:flex}.datePickerTrigger svg{width:17px;height:17px;color:var(--accent);flex-shrink:0}.datePickerTrigger:hover{border-color:var(--muted)}.datePickerPopover{z-index:60;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);width:280px;box-shadow:var(--shadow-lg);padding:14px;animation:.12s scaleIn;position:absolute;top:calc(100% + 8px);left:0}.datePickerHeader{justify-content:space-between;align-items:center;margin-bottom:10px;font-size:13.5px;display:flex}.datePickerHeader button{width:26px;height:26px;color:var(--foreground);cursor:pointer;background:0 0;border:none;border-radius:999px;font-size:16px}.datePickerHeader button:hover{background:var(--surface-hover)}.datePickerWeekdays{grid-template-columns:repeat(7,1fr);margin-bottom:4px;display:grid}.datePickerWeekdays span{text-align:center;color:var(--muted);font-size:11px;font-weight:700}.datePickerGrid{grid-template-columns:repeat(7,1fr);gap:2px;display:grid}.datePickerDay{aspect-ratio:1;color:var(--foreground);cursor:pointer;background:0 0;border:none;border-radius:8px;font-size:13px}.datePickerDay:hover{background:var(--surface-hover)}.datePickerDay.today{color:var(--accent);font-weight:700}.datePickerDay.selected{background:var(--accent-gradient);color:#fff;font-weight:700}.datePickerToday{border:1px solid var(--border-strong);border-radius:var(--radius-sm);width:100%;color:var(--accent);cursor:pointer;background:0 0;margin-top:10px;padding:7px;font-size:12.5px;font-weight:700}.datePickerToday:hover{background:var(--accent-soft)}.paramsGrid{grid-template-columns:repeat(4,1fr);gap:12px;display:grid}@media (max-width:560px){.paramsGrid{grid-template-columns:repeat(2,1fr)}}@media (max-width:340px){.paramsGrid{grid-template-columns:1fr}}.teamRosterGrid{grid-template-columns:1.1fr 1fr;align-items:start;gap:20px;display:grid}@media (max-width:860px){.teamRosterGrid{grid-template-columns:1fr}}.rosterAddSplit{grid-template-columns:1fr 1fr;align-items:start;gap:16px;display:grid}@media (max-width:640px){.rosterAddSplit{grid-template-columns:1fr}}.rosterAddForm{background:var(--surface-sunken);border-radius:var(--radius-sm);flex-direction:column;gap:8px;padding:12px;display:flex}.rosterAddForm label{text-transform:uppercase;letter-spacing:.04em;color:var(--muted);font-size:11.5px;font-weight:700}.tileGrid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px;display:grid}.teamTabs{background:var(--surface-sunken);border:1px solid var(--border);border-radius:999px;gap:2px;margin-bottom:20px;padding:4px;display:inline-flex;position:relative}.teamTabsIndicator{background:var(--accent-gradient);box-shadow:var(--shadow-accent);z-index:0;border-radius:999px;transition:transform .28s cubic-bezier(.4,0,.2,1),width .28s cubic-bezier(.4,0,.2,1);position:absolute;top:4px;bottom:4px;left:0}.teamTabs a{z-index:1;color:var(--muted);border-radius:999px;align-items:center;gap:7px;padding:8px 16px;font-size:13.5px;font-weight:700;transition:color .2s;display:inline-flex;position:relative}.teamTabs a:hover{color:var(--foreground)}.teamTabs a.active{color:#fff}.teamTabs a .tabCount{background:#0000001f;border-radius:999px;padding:1px 6px;font-size:11px;font-weight:700;transition:background-color .2s}.teamTabs a:not(.active) .tabCount{background:var(--surface-hover)}.tabContent{animation:.22s tabContentIn}@keyframes tabContentIn{0%{opacity:0;transform:translateY(6px)}}.attendanceTable{border:1px solid var(--border);border-radius:var(--radius-sm);-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;overflow-x:auto}.attendanceTable table{border-collapse:collapse;width:100%}.attendanceNameHeader,.attendanceNameCell{z-index:1;background:var(--surface);text-align:left;white-space:nowrap;border-right:1px solid var(--border);min-width:120px;padding:8px 12px;font-size:13px;position:sticky;left:0}.attendanceNameHeader{color:var(--muted);z-index:2;font-weight:700}.attendanceHeaderCell{text-align:center;width:30px;min-width:30px;color:var(--muted);border-left:1px solid var(--border);padding:6px 2px;font-size:11px;display:table-cell}.attendanceHeaderCell span{display:block}.attendanceWeekday{text-transform:uppercase;opacity:.7;font-size:9px}.attendanceHeaderCell.marked{color:var(--accent);background:var(--accent-soft);font-weight:700}.attendanceHeaderCell.editable{cursor:pointer}.attendanceHeaderCell.editable:hover{background:var(--accent-soft-strong)}.attendanceHeaderCell.today{box-shadow:inset 0 3px 0 var(--accent)}.attendanceCell.today{box-shadow:inset 0 0 0 1.5px var(--accent-soft-strong)}.attendanceCell.dimmed{opacity:.3}.attendanceRateHeader,.attendanceRateCell{text-align:center;border-left:1px solid var(--border);background:var(--surface);width:54px;min-width:54px;padding:6px 8px;font-size:12px;position:sticky;right:0}.attendanceRateHeader{color:var(--muted);z-index:2;font-weight:700}.attendanceRateCell{background:var(--surface-sunken);color:var(--muted);font-weight:700}.attendanceRateCell.good,.statPill strong.good{color:var(--success)}.attendanceRateCell.mid,.statPill strong.mid{color:#d97706}.attendanceRateCell.low,.statPill strong.low{color:var(--danger)}.attendanceHeaderCell.weekStart,.attendanceCell.weekStart{border-left:1.5px solid var(--border-strong)}.attendanceHeaderCell.weekend,.attendanceCell.weekend{background:var(--surface-hover)}.attendanceCell.weekend.disabled{background:repeating-linear-gradient(45deg, var(--surface-hover), var(--surface-hover) 4px, var(--border) 4px, var(--border) 5px)}.attendanceCell.today.weekend{box-shadow:inset 0 0 0 1.5px var(--accent-soft-strong);background:var(--surface-hover)}.attendanceTable tbody tr{transition:opacity .12s}.attendanceTable tbody:has(tr:hover) tr:not(:hover){opacity:.4}.attendanceTable tbody tr:hover td:not([style]):not(.disabled),.attendanceTable tbody tr:hover .attendanceNameCell,.attendanceTable tbody tr:hover .attendanceRateCell{background:var(--surface-hover)}.attendanceRow.inactive,tr.inactive{opacity:.45}.attendanceCell{border-left:1px solid var(--border);border-top:1px solid var(--border);cursor:pointer;background:var(--surface-sunken);width:30px;min-width:30px;height:30px}.attendanceCell:hover{filter:brightness(.95)}.attendanceCell.disabled{cursor:default;background:repeating-linear-gradient(45deg, var(--surface-sunken), var(--surface-sunken) 4px, var(--border) 4px, var(--border) 5px)}.attendanceLegend{flex-wrap:wrap;gap:14px;margin-top:14px;display:flex}.attendanceLegendItem{color:var(--muted);align-items:center;gap:6px;font-size:12.5px;display:inline-flex}.attendanceLegendSwatch{border-radius:4px;flex-shrink:0;width:12px;height:12px}.segmentedToggle{background:var(--surface-sunken);border:1px solid var(--border);border-radius:999px;gap:2px;padding:3px;display:inline-flex}.segmentedToggle button{font:inherit;color:var(--muted);cursor:pointer;background:0 0;border:none;border-radius:999px;align-items:center;gap:6px;padding:7px 13px;font-size:12.5px;font-weight:700;transition:color .15s,background-color .15s;display:inline-flex}.segmentedToggle button svg{width:14px;height:14px}.segmentedToggle button:hover{color:var(--foreground)}.segmentedToggle button.active{color:#fff;background:var(--accent-gradient);box-shadow:var(--shadow-accent)}.calendarWrap{max-width:420px;margin:0 auto}.calendarWeekdays{grid-template-columns:repeat(7,1fr);margin-bottom:6px;display:grid}.calendarWeekdays span{text-align:center;color:var(--muted);text-transform:uppercase;font-size:11px;font-weight:700}.calendarGrid{grid-template-columns:repeat(7,1fr);gap:6px;display:grid}.calendarDay{aspect-ratio:1;font:inherit;color:var(--muted);background:var(--surface-sunken);border-radius:var(--radius-sm);cursor:default;border:1.5px solid #0000;flex-direction:column;justify-content:center;align-items:center;gap:3px;font-size:13px;font-weight:600;transition:background-color .15s,border-color .15s,transform .1s;display:flex}.calendarDay.empty{visibility:hidden}.calendarDay.marked{color:var(--foreground);background:var(--accent-soft);border-color:var(--accent-soft-strong);cursor:pointer}.calendarDay.marked:hover{background:var(--accent-soft-strong);transform:translateY(-1px)}.calendarDay:not(.marked):not(.disabled){cursor:pointer}.calendarDay:not(.marked):not(.disabled):hover{border-color:var(--border-strong)}.calendarDay.disabled{opacity:.4;cursor:default}.calendarDay.today{box-shadow:inset 0 0 0 2px var(--accent)}.calendarDayDot{background:var(--accent);border-radius:50%;width:5px;height:5px}.calendarDay.marked .calendarDayDot{background:var(--accent)}.popoverMenuOverlay{z-index:90;position:fixed;inset:0}.popoverMenu{z-index:91;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);box-shadow:var(--shadow-lg);flex-direction:column;min-width:160px;padding:6px;animation:.12s scaleIn;display:flex;position:fixed;transform:translate(-50%,8px)}.popoverMenu button{font:inherit;text-align:left;cursor:pointer;color:var(--foreground);background:0 0;border:none;border-radius:6px;align-items:center;gap:8px;padding:8px 10px;font-size:13px;display:flex}.popoverMenu button:hover{background:var(--surface-hover)}.popoverMenu button.danger{color:var(--danger)}.popoverMenu button.danger:hover{background:var(--danger-soft)}@media (max-width:640px){.attendanceNameHeader,.attendanceNameCell{min-width:96px}}.editorSplit{grid-template-columns:var(--editor-cols,minmax(0, 640px) 1fr);column-gap:var(--editor-gap,60px);align-items:start;row-gap:24px;display:grid}@media (max-width:1150px){.editorSplit{grid-template-columns:1fr!important}}.scaledPreviewSpinner{justify-content:center;align-items:center;min-height:200px;display:flex;position:absolute;inset:0}.scaledPreviewSpinner span{border:3px solid var(--border-strong);border-top-color:var(--accent);border-radius:999px;width:32px;height:32px;animation:.7s linear infinite scaledPreviewSpin}@keyframes scaledPreviewSpin{to{transform:rotate(360deg)}}.cardMenuTrigger{color:#fff;cursor:pointer;background:#00000073;border:none;border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;font-size:16px;line-height:1;transition:background-color .15s;display:flex}.cardMenuTrigger:hover{background:#000000a6}.cardMenuTrigger.onSurface{background:var(--surface-hover);color:var(--foreground)}.cardMenuTrigger.onSurface:hover{background:var(--border-strong)}.cardMenuDropdown{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);box-shadow:var(--shadow-md);flex-direction:column;gap:1px;padding:6px;display:flex}.cardMenuItem{border-radius:calc(var(--radius-sm) - 4px);width:100%;color:var(--foreground);font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;align-items:center;gap:10px;padding:9px 10px;font-size:13.5px;transition:background-color .12s;display:flex}.cardMenuItem svg{width:16px;height:16px;color:var(--muted);flex-shrink:0}.cardMenuItem:hover:not(:disabled){background:var(--surface-hover)}.cardMenuItem:disabled{opacity:.5;cursor:not-allowed}.cardMenuItem.danger,.cardMenuItem.danger svg{color:var(--danger)}.cardMenuItem.danger:hover:not(:disabled){background:var(--danger-soft)}.cardMenuSeparator{background:var(--border);height:1px;margin:4px 2px}.cardActions{border:1px solid var(--border-strong);border-radius:var(--radius-sm);display:flex;overflow:hidden}.cardActionBtn{color:var(--foreground);font:inherit;cursor:pointer;background:0 0;border:none;flex:1;justify-content:center;align-items:center;gap:7px;padding:9px 10px;font-size:13px;font-weight:600;transition:background-color .12s;display:flex}.cardActionBtn+.cardActionBtn{border-left:1px solid var(--border-strong)}.cardActionBtn svg{width:15px;height:15px;color:var(--muted);flex-shrink:0}.cardActionBtn:hover{background:var(--surface-hover)}
