:root {
  color-scheme:light;
  --ink:#13213a;
  --muted:#667085;
  --line:#dce3ed;
  --blue:#2563eb;
  --blue-dark:#1d4ed8;
  --soft:#f6f8fb;
  --danger:#b42318;
}

* { box-sizing:border-box; }
[hidden] { display:none !important; }
body {
  display:flex;
  flex-direction:column;
  margin:0;
  min-height:100vh;
  background:#fff;
  color:var(--ink);
  font-family:"Pretendard Variable",Pretendard,"Noto Sans KR","Malgun Gothic",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-optical-sizing:auto;
  font-synthesis:none;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  letter-spacing:0;
}
button,input,textarea,select { font:inherit; }
button,a,label { -webkit-tap-highlight-color:transparent; }
button { cursor:pointer; }
.app-shell { flex:1;min-height:0; }
.utility-bar {
  position:sticky;
  top:0;
  z-index:30;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-height:58px;
  padding:10px clamp(14px,3vw,28px);
  border-bottom:1px solid #edf0f5;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(10px);
}
.utility-link {
  color:#334155;
  font-size:.92rem;
  font-weight:700;
  text-decoration:none;
}
.utility-actions { display:flex;align-items:center;gap:8px;min-width:0; }
.participant-chip,.locale-select,.icon-button {
  min-height:36px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#fff;
  color:#475467;
}
.participant-chip {
  overflow:hidden;
  max-width:300px;
  padding:7px 10px;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:.76rem;
}
.locale-select { min-height:40px;padding:7px 30px 7px 11px;font-size:.84rem; }
.icon-button { width:40px;min-height:40px;font-size:1.15rem; }
.wall-heading {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:18px;
  padding:28px clamp(14px,3vw,28px) 10px;
}
.wall-heading-actions { display:flex;align-items:flex-end;gap:10px; }
.post-sort-control { display:grid;gap:5px;color:#475467;font-size:.76rem;font-weight:500; }
.post-sort-control select {
  min-height:42px;
  border:1px solid var(--line);
  border-radius:11px;
  padding:8px 32px 8px 12px;
  background:#fff;
  color:#344054;
  font-size:.84rem;
  font-weight:500;
  letter-spacing:0;
}
.wall-prompt { margin:8px 0 0;max-width:760px;color:var(--muted);font-size:.86rem;line-height:1.55;white-space:pre-wrap; }
.join-panel {
  width:min(760px,calc(100% - 28px));
  margin:28px auto;
  border:1px solid #d5deea;
  border-radius:16px;
  padding:20px;
  background:#f8fafc;
}
.join-form { display:grid;grid-template-columns:minmax(190px,1fr) minmax(270px,1.35fr) auto;align-items:end;gap:12px; }
.join-form label { display:grid;gap:8px;color:#344054;font-size:.84rem;font-weight:700; }
.join-form input {
  min-height:50px;
  border:1px solid #cbd5e1;
  border-radius:10px;
  padding:12px 14px;
  background:#fff;
  color:var(--ink);
  font-size:.95rem;
  font-weight:500;
  outline:none;
}
.join-form input::placeholder { color:#7b8798;opacity:1;font-weight:400; }
.join-form input:focus { border-color:var(--blue);box-shadow:0 0 0 3px rgba(37,99,235,.14); }
.join-form .primary-button { min-height:50px;padding-inline:18px;font-weight:700; }
#wallCodeInput { font-family:ui-monospace,"Cascadia Mono","Segoe UI Mono",monospace;letter-spacing:.08em;font-weight:700; }
.eyebrow { margin:0 0 5px;color:var(--blue);font-size:.82rem;font-weight:700;letter-spacing:.04em; }
h1 { margin:0;font-size:clamp(1.5rem,3vw,2.15rem);font-weight:700;line-height:1.25;letter-spacing:-.02em; }
.primary-button,.secondary-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  min-height:42px;
  border-radius:11px;
  padding:9px 15px;
  font-weight:700;
  line-height:1.35;
  letter-spacing:0;
}
.primary-button { border:1px solid var(--blue);background:var(--blue);color:#fff; }
.primary-button:hover { background:var(--blue-dark); }
.primary-button:disabled { cursor:wait;opacity:.55; }
.secondary-button { border:1px solid var(--line);background:#fff;color:#475467; }
.status-panel {
  display:grid;
  place-items:center;
  align-content:center;
  gap:12px;
  min-height:52vh;
  padding:24px;
  color:var(--muted);
  text-align:center;
}
.status-panel.is-error { color:var(--danger); }
.status-panel a { color:var(--blue);font-weight:700; }
.spinner {
  width:30px;height:30px;
  border:3px solid #dbeafe;
  border-top-color:var(--blue);
  border-radius:50%;
  animation:spin .8s linear infinite;
}
@keyframes spin { to { transform:rotate(360deg); } }
.wall-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
  padding:18px clamp(14px,3vw,28px) 36px;
  align-items:start;
}
.post-card {
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
  box-shadow:0 8px 22px rgba(15,23,42,.07);
}
.post-header { display:flex;justify-content:space-between;gap:8px;padding:12px;border-bottom:1px solid #eef2f6; }
.student-title { margin:0;min-width:0;font-size:.9rem;font-weight:700;line-height:1.4;word-break:keep-all; }
.rating-badge {
  flex:none;
  height:max-content;
  border:1px solid #fde68a;
  border-radius:8px;
  padding:4px 6px;
  background:#fffbeb;
  color:#d97706;
  font-size:.69rem;
  font-weight:700;
}
.media-preview {
  position:relative;
  display:grid;
  place-items:center;
  width:100%;
  min-height:110px;
  padding:0;
  border:0;
  background:#f5f7fa;
}
.media-preview img { display:block;width:100%;max-height:360px;object-fit:contain; }
.document-preview { display:grid;place-items:center;gap:6px;min-height:150px;color:#475467;font-weight:700; }
.document-preview span:first-child { font-size:2.2rem; }
.media-count { position:absolute;right:8px;bottom:8px;padding:3px 6px;border-radius:7px;background:rgba(0,0,0,.62);color:#fff;font-size:.65rem; }
.post-body { padding:14px;font-size:.9rem;line-height:1.65;color:#344054;word-break:break-word; }
.post-content,.comment p { white-space:pre-wrap; }
.comment-list { margin-top:14px;padding-top:10px;border-top:1px solid #edf0f5; }
.comment { display:grid;grid-template-columns:auto 1fr;gap:7px;padding:7px 0;white-space:normal; }
.comment + .comment { border-top:1px solid #f0f2f5; }
.comment-mark { color:#98a2b3;font-weight:700; }
.comment strong { display:block;margin-bottom:3px;color:#344054;font-size:.78rem;font-weight:700; }
.comment p { margin:0;color:#475467;font-size:.82rem;line-height:1.55; }
.post-footer { display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 11px;border-top:1px solid #edf0f5;background:#fafbfc; }
.post-actions { display:flex;align-items:center;flex-wrap:wrap;gap:6px; }
.feedback-button { border:0;border-radius:8px;padding:7px 10px;background:var(--blue);color:#fff;font-size:.76rem;font-weight:700;line-height:1.35;letter-spacing:0; }
.delete-post-button {
  border:1px solid #f3b7b2;
  border-radius:8px;
  padding:6px 9px;
  background:#fff;
  color:var(--danger);
  font-size:.73rem;
  font-weight:700;
  line-height:1.35;
}
.delete-post-button:hover { background:#fff1f0; }
.delete-post-button:disabled { cursor:wait;opacity:.55; }
.comment-count { color:#98a2b3;font-size:.67rem; }
.empty-wall { grid-column:1/-1;padding:70px 20px;color:var(--muted);text-align:center; }
dialog { color:var(--ink); }
.dialog-card {
  width:min(520px,calc(100vw - 28px));
  max-height:calc(100vh - 28px);
  padding:0;
  border:0;
  border-radius:18px;
  box-shadow:0 24px 70px rgba(15,23,42,.28);
}
dialog::backdrop { background:rgba(15,23,42,.55);backdrop-filter:blur(3px); }
.dialog-header,.dialog-footer { display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 20px; }
.dialog-header { border-bottom:1px solid #edf0f5;background:#fafbfc; }
.dialog-header h2 { margin:0;font-size:1.1rem;font-weight:700;letter-spacing:-.02em; }
.dialog-footer { justify-content:flex-end;border-top:1px solid #e6ebf2;background:#fff; }
.dialog-footer .primary-button,.dialog-footer .secondary-button { min-height:48px;padding-inline:20px;font-size:.95rem;font-weight:700; }
.close-button { width:40px;height:40px;border:0;border-radius:10px;background:#f1f5f9;color:#475467;font-size:1.45rem;font-weight:400;line-height:1; }
.dialog-body { padding:20px; }
textarea {
  width:100%;
  min-height:160px;
  resize:vertical;
  border:1px solid #cbd5e1;
  border-radius:12px;
  padding:15px 16px;
  background:#fff;
  color:var(--ink);
  font-size:1rem;
  font-weight:500;
  line-height:1.65;
}
textarea::placeholder { color:#667085;opacity:1;font-weight:400; }
textarea:focus { outline:0;border-color:var(--blue);box-shadow:0 0 0 3px rgba(37,99,235,.14); }
.composer-actions { display:flex;gap:10px;margin-top:14px; }
.composer-actions .secondary-button { min-height:46px;font-size:.92rem;font-weight:700; }
.file-button { position:relative;overflow:hidden; }
.file-button input { position:absolute;inset:0;opacity:0;cursor:pointer; }
.file-help { margin:9px 0;color:#667085;font-size:.78rem;line-height:1.5; }
.selected-files { margin:0;padding:0;list-style:none;color:#667085;font-size:.76rem; }
.selected-files li { display:flex;justify-content:space-between;gap:10px;padding:6px 0;border-top:1px solid #f0f2f5; }
.remove-file { border:0;background:transparent;color:var(--danger);font-weight:700; }
.form-error { margin:10px 0 0;border-radius:9px;padding:9px;background:#fff1f0;color:var(--danger);font-size:.76rem; }
.rating-fieldset { margin:0 0 14px;padding:0;border:0;text-align:center; }
.rating-fieldset legend { width:100%;margin-bottom:12px;color:#667085;font-size:.82rem; }
.star-rating { display:flex;justify-content:center;gap:4px; }
.star-rating button { border:0;background:transparent;color:#dfe4ea;font-size:2.2rem;line-height:1; }
.star-rating button.is-active { color:#f59e0b;transform:scale(1.08); }
.notice { border-radius:9px;padding:9px;background:#fffbeb;color:#92400e;font-size:.76rem; }
.media-dialog {
  position:fixed;
  inset:auto;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  overflow:hidden;
  width:min(1000px,calc(100vw - 24px));
  height:min(92dvh,800px);
  min-width:min(420px,calc(100vw - 24px));
  min-height:min(300px,calc(100dvh - 24px));
  max-width:calc(100vw - 24px);
  max-height:calc(100dvh - 24px);
  margin:0;
  padding:0;
  border:0;
  border-radius:16px;
  background:#111827;
}
.media-dialog[open] { display:flex;flex-direction:column; }
.media-header { display:flex;flex:0 0 auto;align-items:center;justify-content:space-between;gap:10px;min-height:42px;padding:4px 6px 4px 10px;background:#fff; }
.media-header div { display:flex;align-items:center;gap:8px;min-width:0; }
.media-header strong { overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.8rem;font-weight:700;line-height:1.35; }
.media-header span { color:#98a2b3;font-size:.65rem;line-height:1.35; }
.media-header .close-button { width:34px;height:34px;border-radius:8px;font-size:1.2rem; }
.media-stage { display:grid;flex:1;min-width:0;min-height:0;place-items:center;overflow:hidden;padding:12px; }
.media-stage img { display:block;width:100%;height:100%;min-width:0;min-height:0;object-fit:contain; }
.media-stage iframe { width:100%;height:100%;border:0; }
.media-stage a { color:#fff;font-weight:700; }
.media-nav { position:absolute;top:50%;width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,255,255,.25);color:#fff;font-size:2rem; }
.media-prev { left:12px; }.media-next { right:12px; }
.media-resize-handle {
  position:absolute;
  right:0;
  bottom:0;
  z-index:3;
  width:28px;
  height:28px;
  border:0;
  background:
    linear-gradient(135deg,transparent 48%,rgba(255,255,255,.82) 49% 54%,transparent 55%) 7px 7px/14px 14px no-repeat,
    linear-gradient(135deg,transparent 48%,rgba(255,255,255,.5) 49% 54%,transparent 55%) 13px 13px/9px 9px no-repeat;
  cursor:nwse-resize;
  touch-action:none;
}
.toast { position:fixed;left:50%;bottom:24px;z-index:100;transform:translateX(-50%);max-width:calc(100vw - 28px);border-radius:10px;padding:11px 15px;background:#101828;color:#fff;font-size:.8rem;box-shadow:0 10px 30px rgba(0,0,0,.25); }
.app-footer {
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:4px 16px;
  margin-top:auto;
  border-top:1px solid #e6ebf2;
  padding:16px 20px;
  background:#fbfcfe;
  color:#667085;
  font-size:.78rem;
  line-height:1.5;
  text-align:center;
}
.app-footer p { margin:0; }
.app-footer a { color:#475467;text-underline-offset:2px; }
.compact-button { min-height:40px;padding:8px 12px;font-size:.82rem;font-weight:700;text-decoration:none; }
.teacher-login { width:min(520px,calc(100% - 28px));margin:70px auto;padding:28px;border:1px solid var(--line);border-radius:18px;text-align:center; }
.teacher-login h1 { margin-bottom:8px; }.teacher-login p { color:var(--muted); }
.teacher-wall-dashboard { width:min(1180px,calc(100% - 28px));margin:0 auto;padding:28px 0 50px; }
.teacher-wall-heading { display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:20px; }
.drive-connection { display:flex;align-items:center;gap:14px;border:1px solid var(--line);border-radius:14px;padding:12px 14px;background:var(--soft); }
.drive-connection div { display:grid;gap:2px; }.drive-connection span { color:var(--muted);font-size:.72rem; }
.wall-create-section,.wall-list-section { border:1px solid var(--line);border-radius:16px;padding:18px;margin-top:16px; }
.wall-create-section { border-color:#d5deea;padding:20px;background:#fbfcfe; }
.wall-create-form { display:grid;grid-template-columns:minmax(220px,1fr) minmax(360px,2fr) auto;align-items:start;gap:14px; }
.wall-create-form label { display:grid;gap:8px;color:#344054;font-size:.84rem;font-weight:700; }
.wall-create-form label > span { line-height:1.4; }
.wall-create-form input,.wall-create-form textarea,.wall-table select {
  border:1px solid #cbd5e1;
  border-radius:10px;
  padding:12px 14px;
  background:#fff;
  color:var(--ink);
}
.wall-create-form input,.wall-create-form textarea {
  min-height:50px;
  font-size:.95rem;
  line-height:1.4;
  font-weight:500;
  outline:none;
}
.wall-create-form textarea { height:50px;resize:vertical; }
.wall-create-form input::placeholder,.wall-create-form textarea::placeholder { color:#7b8798;opacity:1;font-weight:400; }
.wall-create-form input:focus,.wall-create-form textarea:focus { border-color:var(--blue);box-shadow:0 0 0 3px rgba(37,99,235,.14); }
.wall-create-form > .primary-button {
  min-height:50px;
  margin-top:calc(1.176rem + 8px);
  padding-inline:20px;
  font-weight:700;
  white-space:nowrap;
}
.wall-list-section { border-color:#d5deea;padding:22px; }
.wall-list-heading { display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px; }
.wall-list-heading h2 { margin:0;font-size:1.15rem;font-weight:700;letter-spacing:-.015em; }
.teacher-table-wrap { overflow-x:auto; }
.wall-table { width:100%;border-collapse:collapse;table-layout:fixed;min-width:980px;font-size:.88rem; }
.wall-table th,.wall-table td { padding:13px 14px;border-bottom:1px solid #e6ebf2;text-align:left;vertical-align:middle; }
.wall-table th { color:#475467;background:#f8fafc;font-size:.82rem;font-weight:700;line-height:1.4; }
.wall-table td { color:#344054; }
.wall-table th:nth-child(1) { width:20%; }
.wall-table th:nth-child(2) { width:10%; }
.wall-table th:nth-child(3) { width:18%; }
.wall-table th:nth-child(4) { width:28%; }
.wall-table th:nth-child(5) { width:15%; }
.wall-table th:nth-child(6) { width:9%; }
.wall-table tbody tr:hover { background:#fbfdff; }
.wall-table td strong,.wall-table td small { display:block; }
.wall-table td strong { color:var(--ink);font-size:.94rem;font-weight:700;line-height:1.4; }
.wall-table td small { margin-top:5px;color:#7b8798;font-size:.76rem;line-height:1.35; }
.wall-table code {
  display:inline-block;
  border-radius:8px;
  padding:6px 8px;
  background:#f1f5f9;
  color:#1e293b;
  font-family:ui-monospace,"Cascadia Mono","Segoe UI Mono",monospace;
  font-size:.9rem;
  font-weight:700;
  letter-spacing:.08em;
}
.wall-table select {
  min-width:130px;
  min-height:44px;
  padding:9px 34px 9px 12px;
  color:#344054;
  font-size:.85rem;
  font-weight:500;
  cursor:pointer;
}
.wall-table select:focus { border-color:var(--blue);outline:0;box-shadow:0 0 0 3px rgba(37,99,235,.14); }
.table-actions { display:flex;align-items:center;flex-wrap:wrap;gap:8px; }
.wall-table td:nth-child(4) .table-actions { flex-wrap:nowrap; }
.wall-management-heading,.wall-management-cell { text-align:right !important; }
.wall-management-cell { white-space:nowrap; }
.storage-link {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  border:1px solid #cbd5e1;
  border-radius:10px;
  padding:8px 11px;
  background:#fff;
  color:#1d4ed8;
  font-size:.82rem;
  font-weight:700;
  line-height:1.2;
  text-decoration:none;
  white-space:nowrap;
}
.storage-link:hover { border-color:#93c5fd;background:#eff6ff; }
.management-open-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin:0;
  border:0;
  padding:6px 4px;
  background:transparent;
  color:#1d4ed8;
  font:inherit;
  font-size:.78rem;
  font-weight:700;
  cursor:pointer;
  text-decoration:underline;
  text-underline-offset:3px;
}
.wall-management { width:min(1360px,calc(100% - 28px));margin:0 auto;padding:28px 0 50px; }
.management-heading { display:flex;justify-content:space-between;align-items:flex-end;gap:28px;margin-bottom:20px; }
.management-heading .eyebrow { margin:18px 0 7px; }
.management-heading h1 { margin:0;font-size:clamp(1.7rem,3vw,2.5rem);font-weight:700;letter-spacing:-.035em;line-height:1.2; }
.management-heading .wall-prompt { max-width:820px;margin:8px 0 0;color:#526173;font-size:.94rem;line-height:1.65; }
.management-meta { display:flex;align-items:center;gap:10px;flex:0 0 auto; }
.management-meta code {
  border-radius:9px;
  padding:8px 10px;
  background:#eef2f7;
  color:#1e293b;
  font-family:ui-monospace,"Cascadia Mono","Segoe UI Mono",monospace;
  font-size:.86rem;
  font-weight:700;
  letter-spacing:.08em;
}
.management-meta span { color:#027a48;font-size:.78rem;font-weight:700;white-space:nowrap; }
.teacher-wall-preview-section { border:1px solid #d5deea;border-radius:16px;background:#f8fafc;overflow:hidden; }
.management-preview-grid { min-height:160px;padding:18px; }
.management-preview-grid .empty-wall { grid-column:1/-1;margin:auto; }
.management-table-section { margin-top:22px; }
.management-count { color:#667085;font-size:.82rem;font-weight:700; }
.management-table { width:100%;min-width:1120px;border-collapse:collapse;table-layout:fixed;font-size:.84rem; }
.management-table th,.management-table td { padding:13px 12px;border-bottom:1px solid #e6ebf2;text-align:left;vertical-align:top; }
.management-table th { background:#f8fafc;color:#475467;font-size:.8rem;font-weight:700;line-height:1.4; }
.management-table th:nth-child(1) { width:14%; }
.management-table th:nth-child(2) { width:27%; }
.management-table th:nth-child(3) { width:16%; }
.management-table th:nth-child(4) { width:17%; }
.management-table th:nth-child(5) { width:14%; }
.management-table th:nth-child(6) { width:12%; }
.management-table tbody > tr:not(.feedback-detail-row):hover { background:#fbfdff; }
.management-table td strong { color:var(--ink);font-size:.88rem;font-weight:700;line-height:1.5; }
.management-table time { color:#667085;font-size:.78rem;line-height:1.45; }
.management-content-cell { color:#344054;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere; }
.management-file-links { display:grid;justify-items:start;gap:6px; }
.management-file-links a { max-width:100%;color:#1d4ed8;font-size:.78rem;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-underline-offset:2px; }
.management-file-links > span,.muted-text { color:#8a96a8;font-size:.78rem; }
.feedback-summary-button {
  border:0;
  padding:0;
  background:transparent;
  color:#1d4ed8;
  font:inherit;
  font-size:.8rem;
  font-weight:700;
  cursor:pointer;
  text-align:left;
  text-decoration:underline;
  text-underline-offset:3px;
}
.feedback-summary-button::after { content:" ▾"; }
.feedback-summary-button[aria-expanded="true"]::after { content:" ▴"; }
.feedback-detail-row td { padding:0;background:#f8fafc; }
.feedback-management-list { display:grid;gap:1px;padding:10px 12px 12px 14%; }
.feedback-management-item { display:grid;grid-template-columns:minmax(220px,.9fr) minmax(260px,2fr) auto;align-items:center;gap:16px;padding:11px 12px;border-radius:9px;background:#fff; }
.feedback-management-meta { display:flex;align-items:center;flex-wrap:wrap;gap:7px 10px; }
.feedback-management-meta strong { color:#344054;font-size:.82rem; }
.feedback-management-meta span { color:#b54708;font-size:.76rem;font-weight:700; }
.feedback-management-meta time { flex-basis:100%; }
.feedback-management-item p { margin:0;color:#475467;font-size:.82rem;line-height:1.55;overflow-wrap:anywhere; }
.management-feedback-empty { margin:0;padding:13px;color:#667085;font-size:.82rem; }
.danger-button { border:1px solid #f1b5b0;border-radius:9px;background:#fff;color:#b42318;cursor:pointer;white-space:nowrap; }
.danger-button:hover { border-color:#f97066;background:#fff1f0; }
.danger-button:disabled { cursor:wait;opacity:.55; }
.form-error.is-ok { background:#ecfdf3;color:#027a48; }
.auto-math { display:inline; }
.auto-math mjx-container { margin:0 .04em !important; }
.auto-math mjx-container svg { vertical-align:-.08em; }
@media (min-width:560px) { .wall-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (min-width:820px) { .wall-grid { grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media (min-width:1080px) { .wall-grid { grid-template-columns:repeat(5,minmax(0,1fr)); } }
@media (max-width:620px) {
  .utility-bar { align-items:flex-start;flex-wrap:wrap; }
  .utility-actions { margin-left:auto; }
  .participant-chip { order:4;flex-basis:100%;margin-left:auto;max-width:100%; }
  .wall-heading { align-items:center;gap:8px;padding-top:18px; }
  .wall-heading > div:first-child { min-width:0; }
  .wall-heading-actions { align-items:center; }
  .post-sort-control > span { position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap; }
  .post-sort-control select { min-height:44px;max-width:104px;padding-inline:10px 28px; }
  .wall-heading .primary-button { width:44px;padding:0;font-size:0; }
  .wall-heading .primary-button span:first-child { font-size:1.4rem; }
  .join-form { grid-template-columns:1fr; }
  .wall-grid { gap:10px;padding:12px 10px 28px; }
  .post-header,.post-body { padding:9px; }
  .student-title { font-size:.84rem; }
  .post-body { padding:11px;font-size:.84rem;line-height:1.6; }
  .comment p { font-size:.78rem; }
  .dialog-header,.dialog-footer { padding:15px 16px; }
  .dialog-body { padding:16px; }
  .media-preview { min-height:90px; }
  .media-dialog { width:calc(100vw - 12px);height:calc(100dvh - 12px);min-width:0;min-height:0;max-width:calc(100vw - 12px);max-height:calc(100dvh - 12px); }
  .media-resize-handle { display:none; }
  .teacher-wall-heading { align-items:stretch;flex-direction:column; }
  .drive-connection { align-items:stretch;flex-direction:column; }
  .wall-create-form { grid-template-columns:1fr; }
  .wall-create-form > .primary-button { margin-top:0; }
  .management-heading { align-items:flex-start;flex-direction:column;gap:14px; }
  .management-meta { width:100%;justify-content:space-between; }
  .management-preview-grid { padding:12px 10px; }
  .feedback-management-list { padding-left:12px; }
  .feedback-management-item { grid-template-columns:1fr;gap:8px; }
  .feedback-management-item .danger-button { justify-self:start; }
}
