/* Data & halaqah and Backup & restore: shared content geometry only. */
.tmf-management-layout {
  display:flex;
  flex-direction:column;
  gap:20px;
  width:100%;
  max-width:none;
  min-width:0;
  padding-bottom:26px;
}
.tmf-management-layout > * {
  min-width:0;
  max-width:100%;
}
.tmf-data-layout .tabs {
  display:flex;
  align-items:stretch;
  width:100%;
  min-height:56px;
  margin:0 0 4px;
  padding:0 0 3px;
  gap:8px;
  overflow-x:auto;
  overflow-y:hidden;
  scrollbar-width:thin;
}
.tmf-data-layout .tabs .tab {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:52px;
  padding:12px 17px;
  flex:0 0 auto;
  line-height:1.35;
}
.tmf-data-layout .toolbar {
  margin:0;
  min-width:0;
  min-height:52px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:14px;
}
.tmf-data-layout .toolbar .tmf-toolbar-helper {
  flex:1 1 220px;
  min-width:0;
  overflow-wrap:anywhere;
}
.tmf-data-layout .toolbar > .button {
  flex:0 0 auto;
  min-height:44px;
}
.tmf-data-layout .student-grid {
  width:100%;
  min-width:0;
  max-width:none;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}
.tmf-data-layout .student-card {
  min-width:0;
  min-height:220px;
  padding:clamp(17px,1.5vw,24px);
  display:flex;
  flex-direction:column;
  gap:9px;
}
.tmf-data-layout .student-card h3,
.tmf-data-layout .student-card p {
  margin-top:0;
  overflow-wrap:anywhere;
}
.tmf-data-layout .student-card .student-card-head {margin-bottom:8px}
.tmf-data-layout .student-card .student-card-foot {
  width:100%;
  min-width:0;
  margin-top:auto;
  padding-top:14px;
  flex-wrap:wrap;
  gap:10px;
}
.tmf-data-layout .student-card .student-card-foot > * {min-width:0}
.tmf-data-layout .panel,
.tmf-data-layout .form-panel,
.tmf-data-layout .import-preview,
.tmf-data-layout .guardian-monitor,
.tmf-data-layout #tmf-faces-app {
  width:100%;
  min-width:0;
  max-width:none;
}
.tmf-data-layout .form-panel {
  padding:clamp(20px,2vw,30px);
}
.tmf-data-layout .form-panel > h2 {margin:0 0 9px}
.tmf-data-layout .form-panel > .form-grid {margin-top:20px}
.tmf-data-layout .form-panel > .field {margin-top:20px}
.tmf-data-layout .form-panel .form-grid {gap:18px}
.tmf-data-layout .form-panel .form-actions {
  margin-top:22px;
  padding-top:18px;
  border-top:1px solid var(--line);
}
.tmf-data-layout .field input,
.tmf-data-layout .field select,
.tmf-data-layout .field textarea {
  width:100%;
  min-width:0;
  max-width:100%;
}
.tmf-data-layout .import-form {margin:0}
.tmf-data-layout .import-preview {gap:18px}
.tmf-data-layout .import-preview > .table-wrap,
.tmf-data-layout .panel > .table-wrap {
  min-width:0;
  max-width:100%;
  overflow-x:auto;
}
.tmf-data-layout .import-template-toolbar {
  width:100%;
  margin:20px 0;
  gap:15px;
}
.tmf-data-layout .import-template-toolbar > div {
  flex:1 1 300px;
  min-width:0;
}
.tmf-data-layout .import-template-toolbar .button {
  min-height:44px;
  white-space:normal;
}
.tmf-data-layout .guardian-monitor > .tmf-section-help {
  width:calc(100% - 40px);
  margin:0 20px 20px;
}
.tmf-data-layout .guardian-activity-list {width:100%;min-width:0}
.tmf-data-layout .guardian-activity-card {min-width:0;gap:18px}
.tmf-data-layout .guardian-activity-card > * {min-width:0;overflow-wrap:anywhere}

/* Guidance remains discoverable after being closed, using native details. */
.tmf-management-layout .tmf-section-help,
.tmf-data-layout .form-panel .tmf-section-help {
  width:100%;
  min-width:0;
  max-width:100%;
  margin:0;
  border:1px solid #d7e4f3;
  border-radius:13px;
  background:#f4f8ff;
  color:#365577;
  overflow:hidden;
}
.tmf-data-layout .form-panel > .tmf-section-help {margin:14px 0 20px}
.tmf-management-layout .tmf-section-help > summary,
.tmf-data-layout .form-panel .tmf-section-help > summary {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:13px 17px;
  min-height:48px;
  cursor:pointer;
  list-style:none;
  font-size:13px;
  font-weight:700;
  line-height:1.4;
  color:#26528a;
}
.tmf-management-layout .tmf-section-help > summary::-webkit-details-marker {display:none}
.tmf-section-help .tmf-help-label {min-width:0;overflow-wrap:anywhere}
.tmf-section-help .tmf-help-toggle {
  display:inline-flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  flex:0 0 auto;
  font-size:12px;
  font-weight:600;
  color:#416fa8;
}
.tmf-section-help .tmf-help-toggle .icon {width:16px;height:16px;transition:transform .2s}
.tmf-section-help:not([open]) .tmf-help-toggle .icon {transform:rotate(-90deg)}
.tmf-section-help[open] .tmf-help-show,
.tmf-section-help:not([open]) .tmf-help-hide {display:none}
.tmf-section-help .tmf-help-body {
  padding:0 17px 17px;
  font-size:13px;
  line-height:1.7;
  color:#4a6483;
  overflow-wrap:anywhere;
}
.tmf-section-help summary:focus-visible {
  outline:3px solid #2463c5;
  outline-offset:-3px;
  border-radius:12px;
}
.tmf-section-help .tmf-help-body strong {color:#1d4b82}
.tmf-data-layout .import-preview .info-box {
  padding:18px;
  line-height:1.65;
}
.tmf-data-layout .import-preview .form-actions {margin-top:20px}

/* Backup cards use the same width as the other application menus. */
.tmf-backup-layout {gap:18px}
.tmf-backup-layout .backup-disclosure {
  width:100%;
  min-width:0;
  max-width:none;
  overflow:hidden;
  border-radius:16px;
}
.tmf-backup-layout .backup-disclosure > summary {
  min-height:94px;
  padding:20px 24px;
  align-items:center;
  gap:17px;
}
.tmf-backup-layout .backup-item-title {
  gap:5px;
  min-width:0;
  overflow-wrap:anywhere;
}
.tmf-backup-layout .backup-item-title small {
  display:block;
  line-height:1.6;
}
.tmf-backup-layout .backup-disclosure-body {
  padding:24px;
}
.tmf-backup-layout .backup-inline-form {
  width:100%;
  min-width:0;
  max-width:none;
  display:flex;
  flex-direction:column;
  gap:18px;
}
.tmf-backup-layout .backup-inline-form > .field {
  width:100%;
  max-width:none;
}
.tmf-backup-layout .backup-inline-form > .form-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
  width:100%;
  margin:0;
}
.tmf-backup-layout .backup-inline-form .field {
  width:100%;
  min-width:0;
  max-width:none;
  margin:0;
}
.tmf-backup-layout .backup-inline-form .field.full {grid-column:1/-1}
.tmf-backup-layout .backup-inline-form .field input {
  width:100%;
  max-width:100%;
  min-width:0;
  min-height:46px;
}
.tmf-backup-layout .backup-inline-form .form-actions {
  margin:0;
  padding:18px 0 0;
  border-top:1px solid var(--line);
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:12px;
}
.tmf-backup-layout .backup-inline-form .form-actions .button {
  min-height:46px;
  white-space:normal;
}
.tmf-backup-layout form[data-form="blank-package-export"] .button {
  min-height:46px;
  white-space:normal;
}

/* Keep notes and form backgrounds legible in the existing dark theme. */
:root[data-tmf-theme="dark"] .tmf-section-help {
  background:#243650!important;
  border-color:#3c5779!important;
  color:#d0e0f4!important;
}
:root[data-tmf-theme="dark"] .tmf-section-help > summary,
:root[data-tmf-theme="dark"] .tmf-section-help .tmf-help-toggle,
:root[data-tmf-theme="dark"] .tmf-section-help .tmf-help-body,
:root[data-tmf-theme="dark"] .tmf-section-help .tmf-help-body strong {
  color:#d9e9ff!important;
}
@media (max-width:1400px) {
  .tmf-data-layout .student-grid {grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:1100px) {
  .tmf-data-layout .student-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  .tmf-data-layout .guardian-activity-card {grid-template-columns:repeat(2,minmax(0,1fr))}
  .tmf-data-layout .guardian-activity-main {grid-column:1/-1}
}
@media (max-width:680px) {
  .tmf-management-layout {gap:17px;padding-bottom:20px}
  .tmf-data-layout .tabs {min-height:51px;gap:4px}
  .tmf-data-layout .tabs .tab {min-height:48px;padding:10px 13px}
  .tmf-data-layout .toolbar {gap:12px;align-items:stretch}
  .tmf-data-layout .toolbar .tmf-toolbar-helper {flex:1 1 100%;margin:0}
  .tmf-data-layout .toolbar > .button {width:100%}
  .tmf-data-layout .student-grid {grid-template-columns:minmax(0,1fr);gap:14px}
  .tmf-data-layout .student-card {min-height:0;padding:18px}
  .tmf-data-layout .form-panel {padding:18px}
  .tmf-data-layout .form-panel .form-grid {grid-template-columns:minmax(0,1fr);gap:15px}
  .tmf-data-layout .form-panel .form-grid .field.full {grid-column:1}
  .tmf-data-layout .guardian-monitor > .tmf-section-help {margin:0 15px 15px;width:calc(100% - 30px)}
  .tmf-data-layout .guardian-activity-card {grid-template-columns:minmax(0,1fr);gap:12px}
  .tmf-data-layout .guardian-activity-main {grid-column:auto}
  .tmf-section-help > summary {padding:13px 14px;gap:8px}
  .tmf-section-help .tmf-help-body {padding:0 14px 15px}
  .tmf-backup-layout .backup-disclosure > summary {min-height:82px;padding:16px;gap:12px}
  .tmf-backup-layout .backup-disclosure-body {padding:18px 16px}
  .tmf-backup-layout .backup-inline-form > .form-grid {grid-template-columns:minmax(0,1fr);gap:16px}
  .tmf-backup-layout .backup-inline-form .field.full {grid-column:1}
  .tmf-backup-layout .backup-inline-form .form-actions .button,
  .tmf-backup-layout form[data-form="blank-package-export"] .button {width:100%}
}
@media (prefers-reduced-motion:reduce) {
  .tmf-section-help .tmf-help-toggle .icon {transition:none}
}

/* Student placement: checkbox inputs must never inherit text-field width. */
.tmf-data-layout .tmf-placement-form {
  max-width:1120px;
  margin-inline:auto;
}
.tmf-data-layout .tmf-placement-form .form-grid {
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.tmf-data-layout .tmf-placement-form .form-grid > .field.full:nth-child(-n+2) {
  grid-column:auto;
}
.tmf-data-layout .tmf-placement-picker {gap:11px}
.tmf-data-layout .tmf-placement-picker-top {
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
}
.tmf-data-layout .tmf-placement-picker-top > strong {
  font-size:var(--tmf-type-label,13px);
  color:var(--ink);
}
.tmf-data-layout .tmf-placement-select-all {
  display:inline-flex;
  align-items:center;
  gap:10px;
  cursor:pointer;
  min-height:40px;
  font-weight:600;
}
.tmf-data-layout .tmf-placement-form input[type="checkbox"] {
  width:19px;
  min-width:19px;
  max-width:19px;
  height:19px;
  min-height:19px;
  padding:0;
  margin:0;
  flex:0 0 19px;
  cursor:pointer;
  accent-color:#2463c5;
}
.tmf-data-layout .tmf-placement-form .placement-students {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-content:start;
  gap:10px;
  width:100%;
  max-height:380px;
  margin-top:0;
  padding:10px;
  border:1px solid var(--line);
  border-radius:13px;
  background:#f7f9fe;
  overflow-y:auto;
}
.tmf-data-layout .tmf-placement-form .tmf-placement-student {
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
  min-height:70px;
  padding:12px 14px;
  border:1px solid #e0e8f4;
  border-radius:11px;
  background:#fff;
  cursor:pointer;
  font-weight:500;
  transition:background-color .15s,border-color .15s;
}
.tmf-data-layout .tmf-placement-form .tmf-placement-student:hover {
  background:#f1f6ff;
  border-color:#b6cbed;
}
.tmf-data-layout .tmf-placement-form .tmf-placement-student:has(input:checked) {
  background:#e9f2ff;
  border-color:#7eabe7;
}
.tmf-data-layout .tmf-placement-form .tmf-placement-student:focus-within {
  outline:3px solid #e8a93e;
  outline-offset:2px;
}
.tmf-data-layout .tmf-placement-student-copy {
  display:flex;
  flex-direction:column;
  min-width:0;
  gap:3px;
  line-height:1.4;
}
.tmf-data-layout .tmf-placement-student-copy strong {
  font-size:var(--tmf-type-body,14px);
  font-weight:700;
  color:var(--ink);
  overflow-wrap:anywhere;
}
.tmf-data-layout .tmf-placement-student-copy small {
  font-size:var(--tmf-type-caption,12px);
  font-weight:400;
  color:var(--muted);
  overflow-wrap:anywhere;
}
.tmf-data-layout .tabs {
  border:1px solid var(--line);
  border-radius:12px;
  padding:5px;
  background:#f5f8fe;
}
.tmf-data-layout .tabs .tab {
  min-height:42px;
  padding:9px 14px;
  border:0;
  border-radius:8px;
}
.tmf-data-layout .tabs .tab.active {
  background:#e2edff;
  color:#174f9a;
  box-shadow:0 1px 3px rgba(22,63,128,.10);
}
:root[data-tmf-theme="dark"] .tmf-data-layout .tabs,
:root[data-tmf-theme="dark"] .tmf-data-layout .tmf-placement-form .placement-students {
  background:var(--md-surface-high,#2c2c2c);
}
:root[data-tmf-theme="dark"] .tmf-data-layout .tabs .tab.active {
  background:var(--md-sidebar-selected,#34445a);
  color:var(--md-primary,#aacaff);
}
:root[data-tmf-theme="dark"] .tmf-data-layout .tmf-placement-form .tmf-placement-student {
  background:var(--md-surface-container,#242424);
  border-color:var(--md-outline-variant,#3c414a);
}
:root[data-tmf-theme="dark"] .tmf-data-layout .tmf-placement-form .tmf-placement-student:hover,
:root[data-tmf-theme="dark"] .tmf-data-layout .tmf-placement-form .tmf-placement-student:has(input:checked) {
  background:var(--md-sidebar-selected,#34445a);
  border-color:var(--md-primary,#aacaff);
}
@media (max-width:680px) {
  .tmf-data-layout .tmf-placement-form .form-grid,
  .tmf-data-layout .tmf-placement-form .placement-students {
    grid-template-columns:minmax(0,1fr);
  }
  .tmf-data-layout .tmf-placement-form .form-grid > .field.full:nth-child(-n+2) {
    grid-column:1;
  }
  .tmf-data-layout .tmf-placement-form .tmf-placement-student {min-height:64px}
}
@media (prefers-reduced-motion:reduce) {
  .tmf-data-layout .tmf-placement-form .tmf-placement-student {transition:none}
}


/* Account actions for Super Admin: keep all controls visible and separated. */
.tmf-data-layout .tmf-user-actions {
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:8px;
  min-width:144px;
  flex-wrap:nowrap;
}
.tmf-data-layout .tmf-user-actions > .icon-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 42px;
  width:42px;
  height:42px;
  border-radius:10px;
}
.tmf-data-layout .tmf-user-actions .tmf-user-delete-button {color:#b33b3b}
.tmf-data-layout .tmf-user-actions .tmf-user-delete-button:hover,
.tmf-data-layout .tmf-user-actions .tmf-user-delete-button:focus-visible {
  color:#972424;
  background:#fff0ee;
}
.tmf-data-layout .tmf-user-actions .tmf-user-delete-button:focus-visible {
  outline:2px solid #b33b3b;
  outline-offset:2px;
}
.tmf-data-layout .panel .table-wrap {overflow-x:auto}
.tmf-data-layout .panel .table-wrap table td:last-child {min-width:172px}
:root[data-tmf-theme="dark"] .tmf-data-layout .tmf-user-actions .tmf-user-delete-button {color:#ffacac}
:root[data-tmf-theme="dark"] .tmf-data-layout .tmf-user-actions .tmf-user-delete-button:hover {background:#503035}


/* Two independent panels for student class assignment and guardian account linkage. */
.tmf-data-layout .tmf-placement-duo {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
  width:100%;
  min-width:0;
  align-items:stretch;
}
.tmf-data-layout .tmf-placement-duo > .form-panel {
  width:100%;
  max-width:none;
  min-width:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap:16px;
}
.tmf-data-layout .tmf-placement-duo .tmf-duo-title h2 {
  margin:0 0 6px;
}
.tmf-data-layout .tmf-placement-duo .tmf-duo-title p {
  font-size:var(--tmf-type-label,13px);
  color:var(--muted);
  line-height:1.55;
}
.tmf-data-layout .tmf-placement-duo .form-actions {margin-top:auto}
.tmf-data-layout .tmf-placement-duo .tmf-placement-form .form-grid {
  margin-top:0;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.tmf-data-layout .tmf-placement-duo .tmf-placement-form .form-grid > .field.full:nth-child(-n+2) {
  grid-column:auto;
}
.tmf-data-layout .tmf-placement-duo .tmf-placement-form .placement-students {
  grid-template-columns:minmax(0,1fr);
  max-height:290px;
}
.tmf-data-layout .tmf-guardian-list-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
}
.tmf-data-layout .tmf-guardian-list-heading strong {
  font-size:var(--tmf-type-label,13px);
  color:var(--ink);
}
.tmf-data-layout .tmf-guardian-count,
.tmf-data-layout .tmf-guardian-help {
  color:var(--muted);
  font-size:var(--tmf-type-caption,12px);
  line-height:1.5;
}
.tmf-data-layout .tmf-guardian-link-form .field select {
  width:100%;
  min-width:0;
}
.tmf-data-layout .tmf-guardian-list {
  display:grid;
  align-content:start;
  gap:9px;
  max-height:290px;
  overflow-y:auto;
  padding:9px;
  background:#f7f9fe;
  border:1px solid var(--line);
  border-radius:12px;
}
.tmf-data-layout .tmf-guardian-option {
  display:flex;
  align-items:center;
  gap:11px;
  min-width:0;
  min-height:60px;
  padding:10px 12px;
  cursor:pointer;
  border:1px solid #e0e8f4;
  border-radius:10px;
  background:#fff;
}
.tmf-data-layout .tmf-guardian-option:hover {
  background:#f1f6ff;
  border-color:#a6c7f1;
}
.tmf-data-layout .tmf-guardian-option:has(input:checked) {
  background:#e9f2ff;
  border-color:#7eabe7;
}
.tmf-data-layout .tmf-guardian-option:focus-within {
  outline:3px solid #e8a93e;
  outline-offset:2px;
}
.tmf-data-layout .tmf-guardian-link-form input[type="checkbox"] {
  width:19px;
  height:19px;
  min-width:19px;
  min-height:19px;
  max-width:19px;
  margin:0;
  padding:0;
  flex:0 0 19px;
  accent-color:#2463c5;
  cursor:pointer;
}
.tmf-data-layout .tmf-guardian-option > span {
  display:flex;
  flex-direction:column;
  min-width:0;
  gap:2px;
}
.tmf-data-layout .tmf-guardian-option strong {
  color:var(--ink);
  font-size:var(--tmf-type-body,14px);
  overflow-wrap:anywhere;
}
.tmf-data-layout .tmf-guardian-option small {
  color:var(--muted);
  font-size:var(--tmf-type-caption,12px);
  overflow-wrap:anywhere;
}
.tmf-data-layout .tmf-placement-duo button[type="submit"]:disabled {
  opacity:.55;
  cursor:not-allowed;
}
:root[data-tmf-theme="dark"] .tmf-data-layout .tmf-guardian-list {
  background:var(--md-surface-high,#2c2c2c);
}
:root[data-tmf-theme="dark"] .tmf-data-layout .tmf-guardian-option {
  background:var(--md-surface-container,#242424);
  border-color:var(--md-outline-variant,#3c414a);
}
:root[data-tmf-theme="dark"] .tmf-data-layout .tmf-guardian-option:hover,
:root[data-tmf-theme="dark"] .tmf-data-layout .tmf-guardian-option:has(input:checked) {
  background:var(--md-sidebar-selected,#34445a);
  border-color:var(--md-primary,#aacaff);
}
@media(max-width:1199px){
  .tmf-data-layout .tmf-placement-duo {grid-template-columns:minmax(0,1fr)}
}
@media(max-width:680px){
  .tmf-data-layout .tmf-placement-duo .tmf-placement-form .form-grid {
    grid-template-columns:minmax(0,1fr);
  }
  .tmf-data-layout .tmf-placement-duo .tmf-placement-form .form-grid > .field.full:nth-child(-n+2) {
    grid-column:1;
  }
}

/* Mobile account management cards prevent horizontal button clipping. */
@media screen and (max-width:680px) {
  .tmf-data-layout .tmf-user-table,
  .tmf-data-layout .tmf-user-table tbody,
  .tmf-data-layout .tmf-user-table tr,
  .tmf-data-layout .tmf-user-table td {
    display:block;width:100%;min-width:0;max-width:none;
  }
  .tmf-data-layout .tmf-user-table thead {display:none}
  .tmf-data-layout .tmf-user-table tbody {display:grid;gap:12px;padding:12px}
  .tmf-data-layout .tmf-user-table tbody tr {
    padding:13px 15px;border:1px solid #dae5f3;border-radius:13px;background:#fff;
  }
  .tmf-data-layout .tmf-user-table td,
  .tmf-data-layout .panel .table-wrap .tmf-user-table td:last-child {
    display:flex;align-items:flex-start;justify-content:space-between;gap:10px;
    padding:10px 0;min-width:0;border:0;white-space:normal;
    font-size:12px;overflow-wrap:anywhere;
  }
  .tmf-data-layout .tmf-user-table td::before {
    content:attr(data-label);flex:0 0 72px;font-size:11px;font-weight:700;color:#647b99;
  }
  .tmf-data-layout .tmf-user-table td:first-child {padding-top:2px}
  .tmf-data-layout .tmf-user-table td:last-child {
    align-items:center;border-top:1px solid #e7edf5!important;margin-top:4px;padding-top:13px;
  }
  .tmf-data-layout .tmf-user-table .tmf-user-actions {
    margin:0;min-width:0;justify-content:flex-end;flex:1;gap:5px;
  }
  :root[data-tmf-theme="dark"] .tmf-data-layout .tmf-user-table tbody tr {
    background:#18273d;border-color:#375170;
  }
}

/* Independent installable empty release packages */
.tmf-backup-layout .blank-release-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  width:100%;
  min-width:0;
}
.tmf-backup-layout .blank-release-card{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:12px;
  min-width:0;
  min-height:190px;
  padding:22px;
  border:1px solid var(--line,#d8e4f1);
  border-radius:15px;
  background:#fff;
}
.tmf-backup-layout .blank-release-kind{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  width:100%;
}
.tmf-backup-layout .blank-release-kind strong{
  color:var(--ink,#243b59);
  font-size:15px;
  line-height:1.4;
  overflow-wrap:anywhere;
}
.tmf-backup-layout .blank-release-version{
  display:inline-flex;
  padding:6px 9px;
  flex:0 0 auto;
  border:1px solid #bdd4f3;
  border-radius:9px;
  background:#eaf2ff;
  color:#215ca8;
  font-size:12px;
  font-weight:800;
}
.tmf-backup-layout .blank-release-card p{
  margin:0 0 7px;
  color:var(--muted,#6b7e9a);
  font-size:13px;
  line-height:1.6;
  overflow-wrap:anywhere;
}
.tmf-backup-layout .blank-release-card > .button{
  width:100%;
  min-height:47px;
  margin-top:auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 15px;
  gap:10px;
  border-radius:11px;
  white-space:normal;
  text-align:center;
  font-size:13px;
  font-weight:750;
}
.tmf-backup-layout .blank-release-note{
  margin:16px 0 0;
  font-size:12px;
  line-height:1.7;
  color:var(--muted,#687e9b);
}
.tmf-backup-layout .blank-release-note strong{
  color:var(--ink,#263d5d);
}
:root[data-tmf-theme="dark"] .tmf-backup-layout .blank-release-card{
  background:#23334a;
  border-color:#425c77;
}
:root[data-tmf-theme="dark"] .tmf-backup-layout .blank-release-version{
  background:#304e72;
  border-color:#5479a7;
  color:#e2efff;
}
@media(max-width:780px){
  .tmf-backup-layout .blank-release-grid{grid-template-columns:minmax(0,1fr);gap:13px}
  .tmf-backup-layout .blank-release-card{min-height:160px;padding:17px}
}
