.study-groups button,.study-groups :is(input:not([type=checkbox]),select) {
  min-height:36px;padding:6px 10px;border:1px solid #dce8e2;border-radius:9px;background:#fff;color:#234438;font:inherit;
}
.study-groups button {cursor:pointer;font-size:13px}
.study-groups button:disabled {opacity:.45;cursor:default}
.study-groups button:focus-visible,.study-groups :is(input,select):focus-visible {outline:2px solid #569c83;outline-offset:2px}
.study-groups {--group-line:#e9eeeb;--group-muted:#53655d;box-sizing:border-box;width:100%;max-width:470px;margin:10px 0 0;padding:clamp(16px,3vw,22px);border:1px solid #e0e9e3;border-radius:14px;background:#fff;color:#243a30;font-family:Pretendard,sans-serif}
.study-groups[data-view=board] {max-width:540px}
.study-groups [hidden] {display:none!important}
.study-groups :is(h2,h3,p) {margin:0}
.study-groups h2 {font-size:21px;line-height:1.25;letter-spacing:-.035em;font-weight:740;overflow-wrap:anywhere}
.study-groups h2:focus {outline:0}
.study-groups h3 {font-size:13px;font-weight:680}
.study-groups-header {display:flex;align-items:center;gap:5px}
.study-groups-header h2 {min-width:0;flex:1}
.study-groups #study-groups-back {flex:0 0 auto;width:34px;margin-left:-7px;padding:0;border:0;color:var(--group-muted);font-size:22px;line-height:1}
.study-groups-tools {display:flex;align-items:center;justify-content:space-between;gap:6px;flex-wrap:wrap}
#study-groups-body {display:grid;gap:14px;margin-top:14px}
.study-groups-section {display:grid;gap:9px;min-width:0}
.study-groups-search {position:relative;color:var(--group-muted)}
.study-groups-search::before {position:absolute;top:14px;left:13px;width:9px;height:9px;border:1.5px solid currentColor;border-radius:50%;content:"";pointer-events:none}
.study-groups-search::after {position:absolute;top:24px;left:23px;width:5px;height:1.5px;background:currentColor;transform:rotate(45deg);content:"";pointer-events:none}
.study-groups .study-groups-search input {box-sizing:border-box;width:100%;min-height:42px;padding-left:34px;background:#f6faf7;font-size:16px}
.study-groups-list {display:grid}
.study-groups .study-groups-entry {display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:left;padding:11px 3px;border:0;border-radius:0;background:#fff;overflow-wrap:anywhere}
.study-groups .study-groups-entry + .study-groups-entry {border-top:1px solid var(--group-line)}
.study-groups .study-groups-entry:hover {background:#f1f7f3}
.study-groups-entry-copy {display:grid;min-width:0;gap:4px}
.study-groups-entry-copy strong {font-size:14px;line-height:1.25;font-weight:690}
.study-groups-entry-end {display:flex;flex-shrink:0;align-items:center;gap:8px}
.study-groups-joined {color:#39705b;font-size:11px;font-weight:650;white-space:nowrap}
.study-groups .study-groups-empty {padding:10px 3px;color:var(--group-muted);font-size:13px}
.study-groups-row-arrow {color:#768b80;font-size:18px}
.study-groups-room {display:grid;gap:4px;line-height:1.45;overflow-wrap:anywhere}
.study-groups-room p {font-size:14px}
.study-groups-room-actions,.study-groups-paging {display:flex;gap:6px}
.study-groups-room-actions {justify-content:space-between;border-top:1px solid var(--group-line);padding-top:6px}
.study-groups .study-groups-room-actions button {min-height:32px;padding:3px 7px;border-color:transparent;color:var(--group-muted)}
.study-groups .study-groups-room-actions button:first-child {margin-left:-7px;color:#32624d}
.study-groups small,.study-groups-muted {color:var(--group-muted);font-size:12px}
.study-groups .study-groups-primary {min-height:41px;padding-inline:14px;background:#d9ede3;border-color:#d9ede3;color:#194b3b;font-weight:700}
.study-groups .study-groups-primary:hover:not(:disabled) {background:#cbe7d8}
.study-groups-form {display:grid;gap:15px}
.study-groups-fields {display:grid;gap:10px;min-width:0}
.study-groups-fields + .study-groups-fields {border-top:1px solid var(--group-line);padding-top:13px}
.study-groups-form label {display:grid;gap:5px;min-width:0;color:#3e574b;font-size:13px;font-weight:600}
.study-groups-form input:not([type=checkbox]):not([type=radio]) {box-sizing:border-box;width:100%;min-width:0;min-height:42px;font-size:16px;font-weight:450;color:#243a30}
.study-groups :is(input,textarea)::placeholder {color:#697a71;font-size:13px}
.study-groups-pair {display:grid;grid-template-columns:minmax(0,1fr) minmax(102px,.7fr);gap:8px}
.study-groups-choice {display:grid;align-items:center;grid-template-columns:auto minmax(0,1fr);gap:10px;font-size:13px;font-weight:600}
.study-groups-form fieldset {border:0;padding:0;margin:0;min-width:0}
.study-groups-form .timetable-segments {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px;padding:3px;border-radius:9px;background:#f0f5f2}
.study-groups-form fieldset label {display:block;position:relative}
.study-groups-form fieldset input {position:absolute;opacity:0;width:1px;height:1px}
.study-groups-form fieldset input:focus-visible + span {outline:2px solid #569c83;outline-offset:1px}
.study-groups-form fieldset label span {display:grid;place-items:center;text-align:center;min-height:34px;padding-inline:2px;border-radius:7px;font-size:12px;cursor:pointer}
.study-groups-form .timetable-segments input:checked + span {background:#fff;color:#245540;box-shadow:0 1px 3px #25423618}
.study-groups-form .timetable-weekdays {display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
.study-groups-form .timetable-weekdays legend {margin-bottom:5px;color:#3e574b;font-size:13px;font-weight:600}
.study-groups-footer {display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;border-top:1px solid var(--group-line);padding-top:12px}
.study-groups-footer p {margin-right:auto;overflow-wrap:anywhere}
.study-groups-self input {accent-color:#508a75}
.study-groups-self label {display:flex;gap:8px;align-items:center;font-size:13px}
.study-groups-self:empty {display:none}
.study-groups-self p {margin-top:3px}
.study-groups-week {margin-top:2px}
.study-groups-week strong {font-size:14px;font-weight:700;font-variant-numeric:tabular-nums}
.study-groups .study-groups-paging button {width:32px;min-height:32px;padding:0;border:0;font-size:20px;line-height:1;color:#53685d}
.study-groups button:hover:not(:disabled) {background:#f1f7f3}
.study-groups-table-wrap {overflow-x:auto;border-block:1px solid var(--group-line)}
.study-groups table {width:100%;min-width:254px;border-collapse:collapse;table-layout:fixed;font-size:13px}
.study-groups thead th {color:var(--group-muted);font-size:12px;font-weight:680}
.study-groups :is(th,td) {padding:7px 1px;text-align:center;border-bottom:1px solid var(--group-line);overflow-wrap:anywhere}
.study-groups tbody tr:last-child :is(th,td) {border-bottom:0}
.study-groups th:first-child {width:78px;text-align:left;padding-left:0}
.study-groups tbody th {font-weight:630}
.study-groups th small {display:block;margin-bottom:2px;font-size:11px;font-weight:500;white-space:nowrap}
.study-groups thead th > span {display:inline-grid;place-items:center;min-width:22px;min-height:22px;font-size:12px;font-variant-numeric:tabular-nums}
.study-groups thead th.is-today > span {background:#e5f1e9;border-radius:50%}
.study-groups thead th.is-today,.study-groups thead th.is-today small,.study-groups tbody th.is-self {color:#28634e}
.study-groups-self-label {margin-left:5px;color:#54786a;font-size:10px;font-weight:520}
.study-groups .study-groups-mark {display:inline-grid;place-items:center;width:26px;min-height:26px;padding:0;border:0;border-radius:7px;font-size:14px;line-height:1;font-weight:650}
.study-groups .is-done {color:#3d8168;font-size:11px}
.study-groups .is-missed {color:#b14843}
.study-groups .is-waiting,.study-groups .is-off {color:#798a80;font-size:12px}
.study-groups .study-groups-edit-toggle {min-height:34px;margin-left:auto;color:#245540}
.study-groups [aria-pressed=true]:is(.study-groups-edit-toggle,.study-groups-edit-cell) {background:#d9ede3;border-color:#8bb8a3}
.study-groups .study-groups-edit-cell {min-height:30px;border:1px solid #dce8e2}
.study-groups .is-corrected {position:relative}
.study-groups .is-corrected::after {content:'';position:absolute;top:3px;right:3px;width:4px;height:4px;border-radius:50%;background:currentColor}
.study-groups-correction {display:grid;gap:8px;padding:10px 12px;border:1px solid var(--group-line);border-radius:9px;background:#f6faf7}
.study-groups-correction-actions {display:flex;gap:6px;flex-wrap:wrap}
.study-groups-legend {display:flex;flex-wrap:wrap;align-items:center;gap:3px 12px;margin:0;padding:0;list-style:none;color:var(--group-muted);font-size:11px}
.study-groups-legend li {display:flex;align-items:center;gap:4px}
.study-groups-legend .study-groups-mark {width:13px;min-height:16px}
#study-groups-status:not(:empty) {margin-top:8px;overflow-wrap:anywhere}
@media (max-width:480px) {
  .study-groups {padding:14px}
  #records-tab .records-toolbar {flex-wrap:wrap}
  .study-groups-form fieldset label span {min-height:40px}
  .study-groups th:first-child {width:60px}
  .study-groups td .study-groups-mark {width:min(26px,100%)}
}
