.student-notices-page {
  --notice-bg: #0f172a;
  --notice-panel: #172338;
  --notice-panel-strong: #1d2b42;
  --notice-line: #2d3c55;
  --notice-text: #f1f5f9;
  --notice-muted: #94a3b8;
  --notice-accent: #818cf8;
  --notice-accent-soft: #27345b;
  min-width: 760px;
  height: 100dvh;
  margin: 0;
  overflow: hidden;
  background: var(--notice-bg);
  color: var(--notice-text);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
}
.student-notices-page .student-notice-shell {
  width: 100%;
  height: 100dvh;
  margin: 0;
  padding: 0;
}
.student-notices-page .student-notice-guide {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.student-notices-page .student-notice-layout {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 0;
  grid-template-columns: 280px minmax(0, 1fr);
}
.student-notices-page .student-notice-layout[hidden] { display: none; }
.student-notice-list-card {
  display: grid;
  box-sizing: border-box;
  min-width: 0;
  min-height: 0;
  grid-template-rows: auto auto auto auto auto minmax(0, 1fr) auto auto;
  background: #111c30;
  box-shadow: inset -1px 0 var(--notice-line);
  overflow: hidden;
}
.student-notice-list-card * { box-sizing: border-box; }
.student-notice-list-header {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid var(--notice-line);
  padding: 13px 14px;
}
.student-notice-brand,
.student-notice-header-actions,
.student-notice-student,
.student-notice-home {
  display: flex;
  align-items: center;
}
.student-notice-brand { min-width: 0; gap: 10px; }
.student-notice-brand-icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #445379;
  border-radius: 10px;
  background: var(--notice-accent-soft);
  color: #aab2ff;
  font-size: 15px;
}
.student-notice-brand p {
  margin: 0 0 2px;
  color: #7788a4;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .12em;
}
.student-notice-brand h1 { margin: 0; color: #f5f7fb; font-size: 18px; line-height: 1.1; }
.student-notice-brand h1 { white-space: nowrap; }
.student-notice-header-actions { flex: 0 0 auto; gap: 5px; }
.student-notice-student {
  width: calc(100% - 24px);
  min-height: 44px;
  gap: 5px;
  overflow: hidden;
  border: 1px solid #34445e;
  border-radius: 999px;
  margin: 8px 12px 0;
  padding: 0 11px;
  color: #b6c4d7;
  font-size: 9px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.student-notice-home {
  width: 44px;
  min-height: 44px;
  justify-content: center;
  border: 1px solid #465483;
  border-radius: 9px;
  background: var(--notice-accent-soft);
  color: #c4c9ff;
  text-decoration: none;
}
.student-notices-page .student-notice-message {
  min-height: 34px;
  margin: 0;
  border: 0;
  border-bottom: 1px solid var(--notice-line);
  border-radius: 0;
  background: #142138;
  box-shadow: none;
  padding: 9px 14px;
  color: #9eacc0;
  font-size: 9px;
  line-height: 1.4;
  transform: none;
}
.student-notice-message[data-tone="good"] { color: #7ad8b8; }
.student-notice-message[data-tone="bad"] { color: #ff9aae; }
.student-notice-list-heading {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 6px;
}
.student-notice-list-heading h2 { margin: 0; color: #e8edf5; font-size: 13px; }
.student-notice-list-heading > strong {
  display: grid;
  min-width: 27px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  background: #26345c;
  color: #a9b0ff;
  font-size: 9px;
}
.student-notice-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  border-bottom: 1px solid var(--notice-line);
  padding: 5px 12px 12px;
}
.student-notice-filters button {
  min-height: 44px;
  border: 1px solid #34445e;
  border-radius: 8px;
  background: #172338;
  color: #9eacc0;
  font: inherit;
  font-size: 9px;
  font-weight: 900;
  cursor: pointer;
}
.student-notice-filters button.is-active {
  border-color: #7b86fa;
  background: #6f79e8;
  color: #fff;
}
.student-notice-list {
  min-height: 0;
  padding: 10px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.student-notices-page .student-notice-list-button {
  display: grid;
  width: 100%;
  min-height: 78px;
  gap: 8px;
  margin: 0 0 8px;
  border: 1px solid #33445f;
  border-radius: 10px;
  background: #1a273b;
  padding: 12px;
  color: #eef3f9;
  text-align: left;
  cursor: pointer;
}
.student-notice-list-button:hover,
.student-notice-list-button[data-selected="true"] {
  border-color: #7e88fa;
  background: #253354;
  box-shadow: inset 3px 0 #818cf8;
}
.student-notice-list-button[data-read="true"] { opacity: .72; }
.student-notice-list-top {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.student-notice-list-top strong {
  display: -webkit-box;
  overflow: hidden;
  color: #f2f5f9;
  font-size: 11px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.student-notice-list-top em {
  flex: 0 0 auto;
  border-radius: 999px;
  background: #2b3850;
  padding: 4px 6px;
  color: #9facbd;
  font-size: 8px;
  font-style: normal;
  font-weight: 900;
}
.student-notice-list-button[data-read="false"] .student-notice-list-top em {
  background: #512c3e;
  color: #ff9eb0;
}
.student-notice-list-button > span:last-child { color: #8190a5; font-size: 8px; }
.student-notice-filter-empty { padding: 28px 10px; color: var(--notice-muted); text-align: center; font-size: 10px; }
.student-notice-more {
  min-height: 44px;
  margin: 0 10px 8px;
  border: 1px solid #34445e;
  border-radius: 8px;
  background: #172338;
  color: #b8c5d6;
  font: inherit;
  font-size: 9px;
  font-weight: 900;
  cursor: pointer;
}
.student-notice-more i { margin-right: 6px; }
.student-notice-list-help {
  margin: 0;
  border-top: 1px solid var(--notice-line);
  padding: 10px 12px;
  color: #7788a0;
  font-size: 8px;
  line-height: 1.5;
}
.student-notice-list-help i { margin-right: 5px; color: #8791f7; }
.student-notice-detail-stage {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 0;
  grid-template-rows: 64px minmax(0, 1fr);
  overflow: hidden;
  background: var(--notice-bg);
}
.student-notice-detail-topbar {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--notice-line);
  background: #101b2d;
  padding: 0 22px;
}
.student-notice-detail-topbar > div { display: flex; align-items: center; gap: 9px; }
.student-notice-detail-topbar i { color: #a7aeff; }
.student-notice-detail-topbar strong { font-size: 14px; }
.student-notice-detail-topbar > span { color: #8797ad; font-size: 10px; }
.student-notice-empty {
  display: grid;
  height: 100%;
  place-content: center;
  justify-items: center;
  color: var(--notice-muted);
  text-align: center;
}
.student-notice-empty[hidden] { display: none; }
.student-notice-empty > span {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border: 1px solid #2f405a;
  border-radius: 20px;
  background: #172338;
  color: #7f8bf2;
  font-size: 26px;
}
.student-notice-empty h2 { margin: 16px 0 6px; color: #dbe4ef; font-size: 16px; }
.student-notice-empty p { margin: 0; color: #7f8da1; font-size: 10px; }
.student-notices-page .student-notice-detail {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 0;
  grid-template-rows: auto minmax(0, 1fr) auto;
  align-self: center;
  justify-self: center;
  border: 0;
  border-radius: 0;
  background: var(--notice-bg);
  box-shadow: none;
  overflow: hidden;
}
.student-notices-page .student-notice-detail[hidden] { display: none; }
.student-notice-detail-header {
  border-bottom: 1px solid var(--notice-line);
  padding: 22px 26px 18px;
}
.student-notice-badges { display: none; }
.student-notice-badges span {
  border: 1px solid #4b5785;
  border-radius: 999px;
  background: #26345b;
  padding: 4px 8px;
  color: #b6bcff;
  font-size: 8px;
  font-weight: 900;
}
.student-notice-detail-header h2 { margin: 0; color: #f6f8fb; font-size: clamp(20px, 2.4vw, 28px); line-height: 1.3; }
.student-notice-meta { margin: 9px 0 0; color: #8d9db2; font-size: 10px; }
.student-notice-detail-body { min-height: 0; padding: 24px 26px; overflow-y: auto; }
.student-notice-content {
  margin: 0;
  border: 0;
  background: transparent;
  padding: 0;
  color: #dde5ef;
  font-size: 13px;
  line-height: 1.9;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.student-notice-attachments { margin-top: 24px; border-top: 1px solid var(--notice-line); padding-top: 18px; }
.student-notice-attachments h3 { margin: 0 0 12px; color: #eef3f9; font-size: 13px; }
.student-notice-attachments > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.student-notices-page .notice-attachment-card { border-color: #344760; background: #101b2d; color: #dfe8f4; }
.student-notices-page .notice-attachment-card span { color: #8fa1b7; }
.student-notice-confirm-bar {
  display: flex;
  width: min(650px, calc(100% - 52px));
  min-height: 88px;
  align-items: center;
  align-self: end;
  justify-content: space-between;
  justify-self: start;
  gap: 18px;
  margin: 0 26px 22px;
  border: 1px solid #34465f;
  border-radius: 2px;
  background: #1b2a40;
  padding: 15px 22px;
}
.student-notice-confirm-bar strong { color: #f0f4f9; font-size: 11px; }
.student-notice-confirm-bar strong i { margin-right: 7px; color: #9ea7ff; }
.student-notice-confirm-state { margin: 5px 0 0; color: #96a7bb; font-size: 9px; }
.student-notices-page .student-notice-confirm-bar .student-login-submit {
  width: auto;
  min-width: 132px;
  min-height: 44px;
  margin: 0;
  border: 1px solid #7f88fb;
  border-radius: 9px;
  background: #747ee9;
  color: #fff;
  box-shadow: none;
  font-size: 11px;
}
.student-notice-confirm-bar .student-login-submit i { margin-right: 7px; }
.student-notice-confirm-bar .student-login-submit:disabled { border-color: #3a4961; background: #2c3a50; color: #8291a5; }

@media (max-width: 900px) {
  .student-notices-page .student-notice-layout { grid-template-columns: 280px minmax(0, 1fr); }
  .student-notice-detail-topbar { padding-inline: 17px; }
  .student-notice-detail-topbar > span { display: none; }
  .student-notices-page .student-notice-detail { width: 100%; height: 100%; }
  .student-notice-detail-header,
  .student-notice-detail-body { padding-inline: 20px; }
  .student-notice-confirm-bar { align-items: stretch; flex-direction: column; gap: 10px; padding: 13px 18px; }
  .student-notices-page .student-notice-confirm-bar .student-login-submit { width: 100%; }
}
