* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  background: radial-gradient(circle at top left, #eef4ff 0%, #f8fbff 46%, #f4f8ff 100%);
  color: #0f172a;
}

body.modal-open {
  overflow: hidden;
}

.login-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 32px clamp(20px, 6vw, 88px);
  position: relative;
  overflow: hidden;
  background: #081426;
}

.login-body::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/framenote/assets/FrameNote_login.png") center center / cover no-repeat;
  z-index: 0;
}

.login-body::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    92deg,
    rgba(6, 13, 27, 0.82) 0%,
    rgba(6, 13, 27, 0.58) 32%,
    rgba(6, 13, 27, 0.2) 62%,
    rgba(6, 13, 27, 0.1) 100%
  );
  z-index: 1;
}

.login-layout {
  width: 100%;
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-start;
}

.login-card {
  width: min(560px, calc(100vw - 40px));
  background: rgba(8, 18, 36, 0.82);
  border: 1px solid rgba(147, 197, 253, 0.26);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  box-shadow: 0 24px 68px rgba(2, 6, 23, 0.6);
  padding: 34px 32px;
}

.login-card h1 {
  margin: 0 0 10px;
  color: #f8fbff;
  font-size: 42px;
  line-height: 1.1;
}

.login-kicker {
  margin: 0 0 8px;
  color: #8dd6ff;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.sub {
  margin: 0 0 18px;
  color: #b7c8e6;
  font-size: 16px;
}

label {
  display: block;
  margin: 14px 0 8px;
  font-size: 14px;
  color: #334155;
}

input,
select,
textarea,
button {
  font: inherit;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  min-height: 42px;
  padding: 11px 14px;
  background: #fff;
  color: #0f172a;
  font-size: 15px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.14);
}

input::placeholder {
  color: #94a3b8;
}

button {
  background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
  border: none;
  color: #fff;
  border-radius: 10px;
  min-height: 40px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.28);
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.login-card button {
  margin-top: 12px;
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  font-size: 16px;
  font-weight: 700;
}

.login-card label {
  color: #d7e7ff;
}

.login-card input,
.login-card select,
.login-card textarea {
  border: 1px solid rgba(148, 188, 255, 0.34);
  background: rgba(12, 24, 45, 0.74);
  color: #f5f9ff;
}

.login-card input::placeholder {
  color: #8da3c8;
}

.hint {
  margin-top: 14px;
  color: #9eb4d7;
  font-size: 13px;
}

.admin-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px 1fr;
  background: transparent;
}

.sidebar {
  background: linear-gradient(180deg, #0f172a 0%, #111f3c 100%);
  color: #e2e8f0;
  padding: 22px 16px;
  border-right: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: 6px 0 28px rgba(2, 6, 23, 0.24);
  position: sticky;
  top: 0;
  height: 100vh;
}

.sidebar h2 {
  margin: 0 0 12px;
  letter-spacing: 0.02em;
  font-size: 30px;
}

.sidebar .user-badge {
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12px;
  background: rgba(148, 163, 184, 0.18);
  margin-bottom: 14px;
}

.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sidebar nav a {
  color: #cbd5e1;
  text-decoration: none;
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 600;
  border: 1px solid transparent;
}

.sidebar nav a.active,
.sidebar nav a:hover {
  background: rgba(59, 130, 246, 0.22);
  border-color: rgba(147, 197, 253, 0.28);
  color: #fff;
}

.logout-btn {
  margin-top: 12px;
  width: 100%;
  background: #334155;
}

.content {
  padding: 24px 28px 40px;
}

.content-topbar {
  margin-bottom: 14px;
}

.content-eyebrow {
  margin: 0 0 2px;
  font-size: 12px;
  color: #64748b;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.content-current {
  margin: 0;
  font-size: 18px;
  color: #0f172a;
  font-weight: 700;
}

.content-shell {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #dbe6f5;
  border-radius: 16px;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(2px);
  padding: 24px;
}

.content h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.manage-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 14px;
}

.manage-head p {
  margin: 8px 0 0;
}

.btn-primary-inline,
.btn-secondary-inline {
  width: auto;
  min-height: 40px;
  padding: 9px 16px;
  margin: 0;
  border-radius: 8px;
  font-size: 14px;
}

.btn-secondary-inline {
  background: #e2e8f0;
  color: #1e293b;
}

.table-card {
  background: #fff;
  border: 1px solid #d6e2f2;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.table-toolbar {
  padding: 12px 14px;
  border-bottom: 1px solid #e2e8f0;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
  background: linear-gradient(180deg, #f8fbff 0%, #f1f6ff 100%);
}

.table-wrap {
  overflow: auto;
}

.program-user-grid {
  display: grid;
  gap: 14px;
}

.program-user-card {
  overflow: hidden;
}

.program-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.program-card-head p {
  margin: 4px 0 0;
}

.program-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.program-count {
  border-radius: 999px;
  background: #e0edff;
  color: #1e3a8a;
  font-size: 12px;
  padding: 4px 10px;
  font-weight: 700;
}

.grid-3 {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.form-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  padding: 18px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

.card h3 {
  margin: 0 0 8px;
  color: #475569;
  font-size: 14px;
}

.card p {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 8px;
}

.modal-panel-program {
  width: min(980px, 100%);
  max-height: calc(100vh - 56px);
  overflow: auto;
  padding: 22px;
  margin: 0 auto;
}

.modal-panel-program .modal-head {
  margin-bottom: 14px;
}

.modal-panel-program .modal-head h3 {
  font-size: 24px;
  color: #0f172a;
}

.program-form-section + .program-form-section {
  margin-top: 14px;
}

.program-form-section {
  border: 1px solid #dbe6f5;
  border-radius: 12px;
  padding: 14px;
  background: linear-gradient(180deg, #f8fbff 0%, #f6f9ff 100%);
}

.program-form-title {
  margin: 0 0 12px;
  font-size: 17px;
  color: #1e3a8a;
  font-weight: 700;
}

.program-form-field {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 7px;
}

.program-form-field > span {
  width: auto;
  font-size: 14px;
  color: #1e293b;
  font-weight: 600;
  line-height: 1.4;
}

.program-form-field > input,
.program-form-field > select {
  width: 100%;
}

.program-basic-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.program-custom-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.program-custom-field {
  border: 1px solid #d7e4f6;
  border-radius: 10px;
  padding: 10px 12px;
  background: #ffffff;
}

.program-custom-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.program-required-check {
  margin: 0;
  width: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: #1e293b;
  white-space: nowrap;
  font-weight: 600;
  border: 1px solid #d9e6f8;
  border-radius: 999px;
  padding: 6px 10px;
  background: #f8fbff;
}

.program-required-check input[type="checkbox"] {
  width: 16px;
  min-height: 16px;
  height: 16px;
  margin: 0;
}

.inline-form {
  display: flex;
  gap: 10px;
  align-items: center;
  width: 100%;
}

.inline-form select {
  min-width: 220px;
  flex: 1;
}

.inline-form button {
  width: auto;
  min-width: 74px;
  white-space: nowrap;
  flex-shrink: 0;
  margin: 0;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0;
}

.checkbox input {
  width: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0;
  background: #fff;
  border-radius: 0;
  overflow: visible;
  border: 0;
}

.timeline-table {
  border: 1px solid #d6e2f2;
  border-radius: 12px;
  overflow: hidden;
}

.timeline-table tbody tr:nth-child(even) td {
  background: #fbfdff;
}

.timeline-table td {
  border-bottom: 1px solid #e2e8f0;
  white-space: normal;
  word-break: break-word;
}

th,
td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: top;
}

td[colspan] {
  text-align: center;
  padding: 18px 14px;
}

th {
  background: #f8fbff;
  color: #0f172a;
  font-weight: 700;
  white-space: nowrap;
}

tr:hover td {
  background: #f8fbff;
}

code {
  background: #eef2ff;
  color: #1e3a8a;
  border-radius: 4px;
  padding: 2px 6px;
}

.status-badge {
  display: inline-block;
  border-radius: 999px;
  font-size: 12px;
  padding: 4px 10px;
  font-weight: 700;
}

.status-on {
  background: #dcfce7;
  color: #166534;
}

.status-off {
  background: #fee2e2;
  color: #991b1b;
}

.alert {
  padding: 12px 14px;
  border-radius: 10px;
  margin-bottom: 14px;
  border: 1px solid transparent;
}

.alert-success {
  background: #dcfce7;
  color: #166534;
  border-color: #86efac;
}

.alert-error {
  background: #fee2e2;
  border: 1px solid #fca5a5;
  color: #7f1d1d;
}

.muted {
  color: #64748b;
}

.export-row {
  display: flex;
  gap: 10px;
  margin: 14px 0;
  align-items: center;
  flex-wrap: wrap;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 16px;
  border-radius: 10px;
  border: 1px solid #bfdbfe;
  background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.btn-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.28);
}

.btn-link-ghost {
  background: #f8fafc;
  color: #1e293b;
  border-color: #cbd5e1;
  box-shadow: none;
}

.btn-link-ghost:hover {
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.12);
}

.note-filter-form {
  margin-bottom: 10px;
}

.note-filter-form select {
  min-width: 180px;
}

.note-search-form {
  margin-bottom: 10px;
}

.note-search-form input[type="text"] {
  min-width: 260px;
  flex: 1;
}

.timeline-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
  margin: 0 2px 8px;
}

.timeline-page-actions {
  display: inline-flex;
  gap: 8px;
}

.timeline-page-btn {
  min-height: 30px;
  padding: 5px 10px;
  font-size: 12px;
}

.timeline-pager {
  font-size: 12px;
  color: #64748b;
  background: #f8fbff;
  border: 1px solid #dbe5f2;
  border-radius: 999px;
  padding: 4px 10px;
}

.timeline-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #d1ddee;
  border-radius: 12px;
  overflow: hidden;
  table-layout: fixed;
}

.timeline-table th,
.timeline-table td {
  border: 1px solid #dbe5f2;
  text-align: center;
  vertical-align: middle;
  white-space: normal;
  word-break: break-word;
}

.timeline-table th {
  background: #f8fbff;
  color: #0f172a;
  font-weight: 700;
}

.timeline-table td.note-text-cell {
  text-align: left;
}

.timeline-table th:nth-child(1),
.timeline-table td:nth-child(1) {
  width: 120px;
}

.timeline-table th:nth-child(2),
.timeline-table td:nth-child(2) {
  width: 48%;
}

.timeline-table th:nth-child(3),
.timeline-table td:nth-child(3) {
  width: 86px;
}

.timeline-table th:nth-child(4),
.timeline-table td:nth-child(4) {
  width: 92px;
}

.timeline-table th:nth-child(5),
.timeline-table td:nth-child(5) {
  width: 86px;
}

.timeline-table th:nth-child(6),
.timeline-table td:nth-child(6) {
  width: 112px;
}

.timeline-table th:last-child,
.timeline-table td:last-child {
  width: 78px;
}

.sheet-export-table th:nth-child(1),
.sheet-export-table td:nth-child(1) {
  width: 132px;
}

.sheet-export-table th:nth-child(2),
.sheet-export-table td:nth-child(2) {
  width: 88px;
}

.sheet-export-table th:nth-child(3),
.sheet-export-table td:nth-child(3) {
  width: 34%;
}

.sheet-export-table th:nth-child(4),
.sheet-export-table td:nth-child(4) {
  width: 24%;
}

.sheet-export-table th:nth-child(5),
.sheet-export-table td:nth-child(5) {
  width: 70px;
}

.sheet-export-table th:nth-child(6),
.sheet-export-table td:nth-child(6) {
  width: 96px;
}

.timeline-table tbody tr.timeline-row-red td {
  background: #fff1f2;
}

.timeline-table tbody tr.timeline-row-red:hover td {
  background: #ffe4e8;
}

.timeline-table tbody tr.timeline-row-green td {
  background: #f0fdf4;
}

.timeline-table tbody tr.timeline-row-green:hover td {
  background: #dcfce7;
}

.timeline-table tbody tr.timeline-row-blue td {
  background: #eff6ff;
}

.timeline-table tbody tr.timeline-row-blue:hover td {
  background: #dbeafe;
}

.timeline-table tbody tr.timeline-row-yellow td {
  background: #fefce8;
}

.timeline-table tbody tr.timeline-row-yellow:hover td {
  background: #fef9c3;
}

.note-thumb-btn {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.image-preview-modal {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.66);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1200;
  padding: 20px;
}

.image-preview-modal.show {
  display: flex;
}

.image-preview-dialog {
  width: min(960px, 100%);
  max-height: calc(100vh - 40px);
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #dbe5f2;
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.3);
  padding: 14px 14px 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.image-preview-close {
  position: absolute;
  right: 10px;
  top: 8px;
  width: 34px;
  min-height: 34px;
  border-radius: 999px;
  background: #e2e8f0;
  color: #0f172a;
  border: 0;
  font-size: 20px;
  line-height: 1;
  padding: 0;
}

.image-preview-title {
  margin: 0;
  font-size: 14px;
  color: #334155;
  font-weight: 600;
  padding-right: 38px;
}

.image-preview-img {
  width: 100%;
  height: auto;
  max-height: calc(100vh - 130px);
  object-fit: contain;
  background: #f8fafc;
  border: 1px solid #dbe5f2;
  border-radius: 10px;
}

.identity-cell {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.identity-cell strong {
  font-size: 14px;
}

.identity-cell span {
  color: #64748b;
  font-size: 12px;
}

.role-chip {
  display: inline-block;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
}

.role-chip-note_user {
  background: #eff6ff;
  color: #1d4ed8;
}

.role-chip-program_admin {
  background: #fef3c7;
  color: #92400e;
}

.role-chip-super_admin {
  background: #ede9fe;
  color: #6d28d9;
}

.role-table-card .table-wrap {
  max-height: 72vh;
}

.role-table th:nth-child(3),
.role-table td:nth-child(3) {
  min-width: 340px;
}

.role-edit-form {
  gap: 8px;
}

.role-edit-form select {
  min-width: 240px;
}

.role-search-card {
  margin-bottom: 14px;
}

.role-search-card label {
  margin-top: 0;
}

.role-search-card p {
  margin: 8px 0 0;
}

.role-search-empty {
  margin-top: 10px;
  text-align: center;
}

.role-program-card {
  overflow: hidden;
}

.role-subcard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 12px;
  background: #f8fbff;
  border-top: 1px solid #e2e8f0;
}

.role-subcard {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px;
}

.role-subcard header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.role-subcard h3 {
  margin: 0;
  font-size: 14px;
}

.role-subcard header span {
  border-radius: 999px;
  background: #eef2ff;
  color: #1e40af;
  font-size: 12px;
  padding: 3px 8px;
  font-weight: 700;
}

.role-user-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.role-user-list li {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.role-user-list li strong {
  font-size: 13px;
}

.role-user-list li span {
  font-size: 12px;
  color: #64748b;
}

.role-editor-table-wrap {
  max-height: 52vh;
  overflow: auto;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}

.role-editor-table {
  margin: 0;
}

.role-editor-checkbox {
  margin: 0;
}

.role-editor-checkbox span {
  color: #334155;
  font-size: 13px;
}

.note-color-tag {
  display: inline-block;
  min-width: 28px;
  text-align: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
}

.note-color-tag-none {
  background: #e2e8f0;
  color: #475569;
}

.note-color-tag-red {
  background: #fee2e2;
  color: #b91c1c;
}

.note-color-tag-green {
  background: #dcfce7;
  color: #166534;
}

.note-color-tag-blue {
  background: #dbeafe;
  color: #1d4ed8;
}

.note-color-tag-yellow {
  background: #fef9c3;
  color: #a16207;
}

.export-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.export-status-done {
  background: #dcfce7;
  color: #166534;
}

.export-status-pending {
  background: #f1f5f9;
  color: #475569;
}

.note-text-cell {
  white-space: pre-wrap;
}

.note-edit-btn {
  min-height: 30px;
  padding: 5px 10px;
  font-size: 12px;
}

.note-text-cell-red {
  background: #fff1f2;
}

.note-text-cell-green {
  background: #f0fdf4;
}

.note-text-cell-blue {
  background: #eff6ff;
}

.note-text-cell-yellow {
  background: #fefce8;
}

.note-thumb {
  display: block;
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.5);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 26px 20px 20px;
  z-index: 1000;
  overflow-y: auto;
}

.modal.show {
  display: flex;
}

.modal-panel {
  width: min(680px, 100%);
  background: #fff;
  border-radius: 14px;
  border: 1px solid #dbe3ef;
  box-shadow: 0 24px 58px rgba(2, 6, 23, 0.24);
  padding: 18px;
}

.modal-panel-wide {
  width: min(820px, 100%);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.modal-head h3 {
  margin: 0;
}

.modal-close {
  width: 34px;
  min-height: 34px;
  padding: 0;
  border-radius: 999px;
  background: #e2e8f0;
  color: #0f172a;
  margin: 0;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
}

@media (max-width: 960px) {
  .login-body {
    justify-content: center;
    padding: 20px;
  }
  .login-body::after {
    background: linear-gradient(
      180deg,
      rgba(6, 13, 27, 0.7) 0%,
      rgba(6, 13, 27, 0.42) 50%,
      rgba(6, 13, 27, 0.25) 100%
    );
  }
  .login-layout {
    justify-content: center;
  }
  .login-card {
    width: min(500px, 100%);
  }
  .admin-layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
    height: auto;
  }
  .content {
    padding: 16px;
  }
  .content-shell {
    padding: 16px;
  }
  .content h1 {
    font-size: 32px;
  }
  .manage-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .inline-form {
    flex-direction: column;
    align-items: stretch;
  }
  .inline-form select,
  .inline-form button {
    width: 100%;
    min-width: 0;
  }
  .program-card-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .role-subcard-grid {
    grid-template-columns: 1fr;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .program-basic-grid,
  .program-custom-grid {
    grid-template-columns: 1fr;
  }
  .program-form-field {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }
  .program-form-field > span {
    width: auto;
  }
  .modal-panel-program {
    padding: 16px;
    max-height: calc(100vh - 40px);
  }
  .program-custom-input-row {
    flex-direction: column;
    align-items: stretch;
  }
  .program-required-check {
    width: fit-content;
  }
}
