/* Compact controls for data lists; full editing forms keep their primary actions. */
.has-navigation :is(.notice-row,.list-row,.action-row,.table-wrap,.activity-table,.class-actions,.archive-row,.list-intro .actions) :is(.button,.secondary,.quiet){display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:32px;min-width:32px;width:auto;padding:5px 10px;font-size:13px;line-height:20px;border-radius:7px;white-space:normal}
.has-navigation :is(.notice-row,.list-row,.action-row,.table-wrap,.activity-table,.class-actions,.archive-row,.list-intro) .actions{gap:8px}
.has-navigation .notice-row{padding:12px 16px;margin-bottom:8px;border-radius:10px;gap:12px}
.has-navigation :is(.list-row,.action-row){padding:12px 0;gap:12px}
.has-navigation .table-wrap :is(th,td){padding:10px 12px}
.has-navigation .table-wrap td .actions{min-width:0}
.has-navigation .class-card{margin:8px 0;border-radius:10px}
.has-navigation .class-card>summary{min-height:64px;padding:12px 16px;gap:12px}
.has-navigation .class-summary strong{font-size:15px}
.has-navigation .class-summary small{margin-top:2px}
.has-navigation .class-content{padding:12px 16px}
.has-navigation .class-actions{margin-bottom:4px}
.has-navigation .class-student{padding:10px 0;min-height:52px}
.has-navigation .class-student strong{font-size:14px}
.has-navigation .class-actions .text-link{display:inline-flex;align-items:center;min-height:32px;font-size:13px}
.has-navigation .weekday-tabs{gap:6px;margin-bottom:18px}
.has-navigation .weekday-tabs a{min-height:36px;min-width:36px;padding:5px 11px;font-size:13px;border-radius:8px}
.has-navigation .student-search{margin:18px 0}
.has-navigation .student-search :is(input[type=search],input[type=submit]){min-height:36px;padding:7px 10px;font-size:13px;line-height:20px}
@media(max-width:700px),(pointer:coarse){
  .has-navigation :is(.notice-row,.list-row,.action-row,.table-wrap,.activity-table,.class-actions,.archive-row,.list-intro .actions) :is(.button,.secondary,.quiet){min-height:44px;min-width:44px;padding:8px 10px}
  .has-navigation .class-actions .text-link{min-height:44px}
  .has-navigation .weekday-tabs a{min-height:44px;min-width:44px}
  .has-navigation .student-search :is(input[type=search],input[type=submit]){min-height:44px}
}

.student-workflow-links{margin-bottom:24px}.enrollment-links{display:flex;flex-wrap:wrap;gap:4px 16px;margin:-3px 0 18px;padding:0 4px}.enrollment-links a{display:inline-flex;align-items:center;min-height:36px}@media(max-width:700px){.enrollment-links a{min-height:44px}}

.has-navigation .intro{margin:20px 0 16px}
.has-navigation .intro h1{margin:6px 0 8px}
.has-navigation .intro .eyebrow{margin-bottom:6px}
.has-navigation .intro>p{margin-bottom:0}
/* Workspaces keep instructions available without delaying the daily task. */
.has-navigation .app-main{word-break:keep-all;overflow-wrap:break-word}
.workflow-guide{margin:0 0 16px;padding:8px 12px;border:1px solid var(--border);border-radius:8px;background:var(--surface)}
.workflow-guide summary{min-height:28px;display:list-item;line-height:28px;color:var(--muted)}
.workflow-guide p{font-size:14px;line-height:1.6;margin:8px 0 4px;max-width:75ch}
.finance-list{display:grid;gap:10px;margin-bottom:16px}
.finance-student{padding:16px;border:1px solid var(--border);border-radius:10px;background:var(--surface);min-width:0}
.finance-student h2{margin:0 0 8px;font-size:17px}
.finance-facts{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}
.finance-facts h3{font-size:13px;color:var(--muted);margin:0 0 4px}
.finance-facts p{font-size:14px;margin:4px 0}
.finance-facts small{display:block;color:var(--muted);font-size:12px}
.finance-actions{align-items:center;margin-top:10px;gap:8px 14px}
.finance-actions .secondary{padding:6px 10px;font-size:13px;min-height:32px}
.finance-actions .text-link{display:inline-flex;align-items:center;min-height:32px}
.has-navigation .ledger-row{padding:14px 16px;margin-bottom:8px}
.has-navigation .module-nav{margin:12px 0;gap:8px}
.has-navigation .module-nav a{padding:6px 12px;min-height:36px}
.has-navigation .module-nav a[aria-current=page]{background:var(--accent);color:var(--accent-ink);border-color:var(--brand)}
.has-navigation .attendance-entry{padding:12px 14px;gap:10px}
.has-navigation .attendance-list{gap:8px}
.has-navigation .stats{margin-bottom:16px;gap:10px}
.has-navigation .stat{padding:12px 16px}
.has-navigation .stat strong{font-size:22px}
.has-navigation .billing-summary .stat{min-width:180px}
.has-navigation .billing-summary .stat strong{white-space:nowrap;font-variant-numeric:tabular-nums}
.has-navigation .student-views{gap:16px;margin-bottom:16px}
.has-navigation .student-search{margin:12px 0}
@media(max-width:700px),(pointer:coarse){
 .workflow-guide summary{min-height:44px;line-height:1.5;padding:10px 0}
 .finance-facts{grid-template-columns:minmax(0,1fr);gap:10px}
 .finance-actions .secondary,.finance-actions .text-link,.has-navigation .module-nav a{min-height:44px}
 .finance-actions form{flex:none}
}
