.dw-muted { color: var(--dw-muted); margin: 6px 0 0; }
.dw-content { gap: 18px; }
.dw-inner-heading { padding: 18px 20px; }
.dw-page-heading h1 { font-size: 30px; }
.dw-page-heading p { font-size: 15px; line-height: 1.42; }
.dw-eyebrow { font-size: 11px; margin-bottom: 6px !important; }
.dw-card, .dw-panel { padding: 18px; }
.dw-btn { min-height: 36px; padding: 8px 12px; font-size: 13px; font-weight: 850; }
.dw-badge, .dw-status { padding: 3px 8px; font-size: 11px; border-radius: 6px; }
.dw-table th, .dw-table td { padding: 10px 11px; }
.dw-table td { font-size: 13px; }
.dw-field { gap: 5px; font-size: 12px; }
.dw-field input, .dw-field select, .dw-field textarea { min-height: 36px; padding: 8px 10px; }
.dw-metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.dw-metric-card { background: var(--dw-surface); border: 1px solid var(--dw-line); border-radius: var(--dw-radius-md); padding: 18px; box-shadow: var(--dw-shadow); display: grid; gap: 8px; }
.dw-metric-card span { color: var(--dw-muted); font-weight: 800; font-size: 13px; }
.dw-metric-card strong { font-size: 34px; line-height: 1; }
.dw-metric-card small { color: var(--dw-muted); }
.dw-app-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.dw-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: end; }
.dw-form-grid .wide, .wide { grid-column: 1 / -1; }
.dw-soft-panel { border: 1px solid var(--dw-line); border-radius: var(--dw-radius-md); background: #f8fafc; padding: 16px; }
.dw-soft-panel strong { display: block; margin-bottom: 7px; }
.dw-soft-panel p { margin: 0; color: var(--dw-muted); }
.dw-card { min-width: 0; }
.dw-apps-heading { align-items: flex-end; }
.dw-apps-user { border: 1px solid var(--dw-line); border-radius: var(--dw-radius-md); background: var(--dw-surface); padding: 12px 14px; min-width: 180px; box-shadow: var(--dw-shadow); }
.dw-apps-user span { display: block; font-weight: 900; }
.dw-apps-user small { color: var(--dw-muted); font-weight: 800; }
.dw-topbar-user { border: 1px solid var(--dw-line); border-radius: 999px; background: #fff; padding: 8px 12px; font-weight: 900; color: var(--dw-ink); max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dw-crud-workspace { display: grid; gap: 13px; min-width: 0; }
.dw-crud-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.dw-crud-summary-card { min-height: 68px; border: 1px solid rgba(15,23,42,.09); border-radius: 8px; background: linear-gradient(180deg, #fff, #fbfdff); box-shadow: 0 10px 24px rgba(15,23,42,.045); padding: 12px 14px; display: grid; align-content: center; gap: 4px; position: relative; overflow: hidden; }
.dw-crud-summary-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--summary-color, var(--dw-primary)); }
.dw-crud-summary-card strong { font-size: 17px; line-height: 1.1; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.dw-crud-summary-card span { color: var(--dw-muted); font-size: 12px; font-weight: 850; }
.dw-crud-summary-card.tone-green { --summary-color: #1f8a70; }
.dw-crud-summary-card.tone-blue { --summary-color: #316dd5; }
.dw-crud-summary-card.tone-violet { --summary-color: #7c4cc8; }
.dw-crud-summary-card.tone-amber { --summary-color: #b76a20; }
.dw-crud-summary-card.tone-red { --summary-color: #c23b54; }
.dw-crud-actionbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.dw-crud-primary-actions, .dw-crud-secondary-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.dw-crud-tabs { display: inline-flex; width: fit-content; max-width: 100%; gap: 5px; padding: 5px; border: 1px solid var(--dw-line); border-radius: 9px; background: rgba(255,255,255,.9); box-shadow: 0 12px 26px rgba(15,23,42,.045); overflow-x: auto; }
.dw-crud-tabs button { border: 0; border-radius: 7px; background: transparent; color: var(--dw-muted); padding: 8px 11px; display: inline-flex; align-items: center; gap: 8px; font-weight: 900; white-space: nowrap; cursor: pointer; font-size: 13px; }
.dw-crud-tabs button:hover, .dw-crud-tabs button.is-active { background: rgba(31,138,112,.1); color: var(--dw-primary); }
.dw-crud-tabs small { min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; display: inline-grid; place-items: center; background: #eef4f1; color: var(--dw-primary); font-size: 11px; }
.dw-crud-panel { display: none; min-width: 0; }
.dw-crud-panel.is-active { display: block; }
.dw-crud-card-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 16px; margin-bottom: 14px; }
.dw-crud-card-head h2 { margin: 0; font-size: 21px; letter-spacing: 0; }
.dw-crud-card-head p:not(.dw-eyebrow) { margin: 6px 0 0; color: var(--dw-muted); }
.dw-crud-search { display: flex; align-items: center; gap: 9px; min-width: min(100%, 520px); }
.dw-crud-search input { width: 100%; min-width: 220px; height: 38px; border: 1px solid var(--dw-line); border-radius: var(--dw-radius-md); padding: 0 12px; background: #f8fafc; outline: none; }
.dw-crud-search input:focus { border-color: var(--dw-primary); box-shadow: 0 0 0 4px rgba(31,138,112,.12); background: #fff; }
.dw-table-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px; min-width: 210px; }
.dw-table-actions form { margin: 0; }
.dw-form-section-title { border-top: 1px solid var(--dw-line); padding-top: 16px; margin-top: 6px; }
.dw-form-section-title:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.dw-form-section-title h3 { margin: 0; font-size: 15px; letter-spacing: 0; }
.dw-crud-form, .dw-crud-import { align-items: start; }
.dw-form-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; padding-top: 8px; }
.dw-empty-state { min-height: 180px; display: grid; place-items: center; align-content: center; gap: 8px; text-align: center; color: var(--dw-muted); }
.dw-empty-state strong { color: var(--dw-ink); font-size: 18px; }
.dw-empty-state p { margin: 0 0 6px; }
.dw-apps-toolbar { display: grid; gap: 14px; margin-bottom: 18px; }
.dw-apps-search { margin: 0; }
.dw-app-filters { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.dw-filter-pill { border: 1px solid var(--dw-line); border-radius: 999px; background: #fff; color: var(--dw-muted); padding: 9px 13px; font-weight: 900; white-space: nowrap; cursor: pointer; transition: border-color .15s ease, background .15s ease, color .15s ease; }
.dw-filter-pill:hover, .dw-filter-pill.is-active { border-color: rgba(31, 138, 112, .45); background: rgba(31, 138, 112, .1); color: var(--dw-primary); }
.dw-school-app-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dw-school-app-card { min-height: 150px; --app-color: var(--dw-primary); }
.dw-school-app-card::before { background: var(--app-color); opacity: .78; }
.dw-school-app-card .dw-app-mark { width: 48px; height: 48px; border-radius: 8px; background: linear-gradient(135deg, var(--app-color), color-mix(in srgb, var(--app-color) 70%, #ffffff)); box-shadow: 0 12px 24px color-mix(in srgb, var(--app-color) 28%, transparent); }
.dw-school-app-card .dw-app-mark svg,
.dw-school-app-card .dw-app-mark .dw-app-icon-svg { width: 23px !important; height: 23px !important; max-width: 23px !important; max-height: 23px !important; display: block !important; }
.dw-school-app-card .dw-app-card-top { gap: 10px; }
.dw-school-app-card .dw-app-card-copy { display: grid; gap: 7px; }
.dw-school-app-card .dw-app-card-copy strong { font-size: 18px; line-height: 1.12; }
.dw-school-app-card .dw-app-card-copy em { font-size: 13px; line-height: 1.35; }
.dw-school-app-card.tone-core { --app-color: #1f8a70; }
.dw-school-app-card.tone-academics { --app-color: #356ed0; }
.dw-school-app-card.tone-people { --app-color: #0f8a8f; }
.dw-school-app-card.tone-fees { --app-color: #b76a20; }
.dw-school-app-card.tone-exams { --app-color: #7c4cc8; }
.dw-school-app-card.tone-attendance { --app-color: #19866b; }
.dw-school-app-card.tone-operations { --app-color: #c23b54; }
.dw-school-app-card.tone-reports { --app-color: #2f6f9f; }
.dw-school-app-card.tone-admin { --app-color: #34495e; }
.dw-school-app-card.tone-portal { --app-color: #5b63c7; }
.dw-empty-filter-state { margin-top: 16px; }
.dw-empty-filter-state[hidden] { display: none !important; }
.dw-launcher-shell { display: block; min-height: 100vh; background: radial-gradient(circle at 0 0, rgba(39, 180, 147, .12), transparent 34%), linear-gradient(180deg, #eef6f8 0, #f8fafc 55%, #eef3f7 100%); }
.dw-launcher-shell .dw-sidebar,
.dw-launcher-shell .dw-topbar,
.dw-launcher-shell .dw-mobile-topbar,
.dw-launcher-shell .dw-mobile-bottom-nav { display: none !important; }
.dw-launcher-shell .dw-workspace { min-height: 100vh; }
.dw-launcher-shell .dw-content { max-width: 1680px; margin: 0 auto; padding: 28px 40px 62px; gap: 20px; }
.dw-launcher-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 56px; }
.dw-launcher-top .dw-brand { width: fit-content; }
.dw-launcher-top .dw-brand-mark { width: 46px; height: 46px; border-radius: 8px; }
.dw-launcher-top .dw-brand strong { font-size: 18px; }
.dw-launcher-top .dw-brand small { font-size: 13px; }
.dw-launcher-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.dw-launcher-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 460px); align-items: end; gap: 32px; }
.dw-launcher-hero h1 { font-size: 56px; font-weight: 560; letter-spacing: 0; }
.dw-launcher-hero p { font-size: 16px; line-height: 1.46; max-width: 680px; }
.dw-launcher-search { margin: 0 0 8px; }
.dw-launcher-search input { height: 46px; font-size: 15px; }
.dw-launcher-shell .dw-apps-toolbar { margin: 0; }
.dw-launcher-shell .dw-app-filters { padding-bottom: 2px; }
.dw-launcher-shell .dw-filter-pill { border-radius: 6px; padding: 10px 14px; background: rgba(255,255,255,.92); box-shadow: 0 9px 20px rgba(15,23,42,.04); font-size: 14px; }
.dw-launcher-shell .dw-school-app-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.dw-launcher-shell .dw-school-app-card { min-height: 168px; padding: 15px 16px; gap: 16px; background: rgba(255,255,255,.95); box-shadow: 0 14px 34px rgba(15, 23, 42, .055); }
.dw-launcher-shell .dw-school-app-card:hover { box-shadow: 0 20px 46px rgba(15,23,42,.105); transform: translateY(-2px); }
.dw-launcher-shell .dw-app-card-copy strong { font-size: 20px; }
.dw-launcher-shell .dw-app-card-copy em { font-size: 14px; line-height: 1.36; }
.dw-install-screen { min-height: 100vh; padding: 28px; background: linear-gradient(180deg, #eef6f8 0, #f8fafc 100%); }
.dw-install-card { max-width: 1180px; min-height: calc(100vh - 56px); margin: 0 auto; background: white; border-radius: 18px; box-shadow: var(--dw-shadow-lg); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.dw-install-hero { background: linear-gradient(120deg, var(--dw-primary), var(--dw-accent)); color: white; padding: 32px; display: flex; justify-content: space-between; align-items: center; }
.dw-install-hero h1 { margin: 0; font-size: 34px; }
.dw-install-hero p { margin: 8px 0 0; opacity: .9; }
.dw-install-body { display: grid; grid-template-columns: 270px minmax(0, 1fr); }
.dw-install-steps { border-right: 1px solid var(--dw-line); background: #f7fafc; padding: 24px; display: grid; align-content: start; gap: 12px; }
.dw-install-step { display: flex; align-items: center; gap: 12px; border-radius: var(--dw-radius-md); padding: 12px; color: var(--dw-muted); font-weight: 900; }
.dw-install-step.is-active { background: rgba(31, 138, 112, .11); color: var(--dw-primary); }
.dw-install-step span { width: 34px; height: 34px; display: inline-grid; place-items: center; border: 1px solid var(--dw-line); border-radius: 50%; background: white; }
.dw-install-main { padding: 34px; display: grid; align-content: start; gap: 22px; }
.dw-status-list { display: grid; gap: 10px; }
.dw-status-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px; border: 1px solid var(--dw-line); border-radius: var(--dw-radius-md); }
.dw-pill-ok, .dw-pill-bad { border-radius: 999px; padding: 4px 10px; font-weight: 900; font-size: 12px; }
.dw-pill-ok { background: #dff6ee; color: #146b54; }
.dw-pill-bad { background: #fae4e8; color: #a53343; }
.dw-help-result { white-space: pre-wrap; line-height: 1.65; }
.dw-signature-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.dw-signature-row span { border-top: 1px solid var(--dw-line); padding-top: 10px; color: var(--dw-muted); font-weight: 800; text-align: center; min-height: 42px; }
.dw-school-dashboard { display: grid; gap: 22px; }
.dw-dashboard-hero-pro { display: flex; justify-content: space-between; align-items: flex-start; gap: 22px; padding: 26px; border-radius: 10px; background: linear-gradient(135deg, rgba(31,138,112,.12), rgba(49,109,213,.06) 52%, #fff); }
.dw-dashboard-hero-pro h1 { font-size: 38px; letter-spacing: 0; }
.dw-dashboard-context { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.dw-dashboard-context span { border: 1px solid rgba(31,138,112,.18); background: rgba(255,255,255,.82); color: var(--dw-muted); border-radius: 999px; padding: 7px 10px; font-size: 12px; font-weight: 900; }
.dw-dashboard-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; min-width: 230px; }
.dw-dashboard-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.dw-dashboard-kpi { min-height: 150px; border: 1px solid var(--dw-line); border-radius: 10px; background: #fff; box-shadow: 0 16px 40px rgba(15,23,42,.06); padding: 18px; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; align-items: start; position: relative; overflow: hidden; }
.dw-dashboard-kpi::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--kpi-color, var(--dw-primary)); }
.dw-dashboard-kpi-icon { width: 52px; height: 52px; max-width: 52px; max-height: 52px; min-width: 52px; min-height: 52px; border-radius: 9px; color: white; background: var(--kpi-color, var(--dw-primary)); display: grid; place-items: center; box-shadow: 0 14px 26px rgba(15,23,42,.12); overflow: hidden; }
.dw-school-dashboard .dw-dashboard-kpi-icon > svg,
.dw-school-dashboard .dw-dashboard-kpi-icon .dw-app-icon-svg { width: 26px !important; height: 26px !important; max-width: 26px !important; max-height: 26px !important; min-width: 0 !important; min-height: 0 !important; display: block !important; flex: 0 0 auto !important; }
.dw-dashboard-kpi-copy { display: grid; gap: 6px; min-width: 0; }
.dw-dashboard-kpi-copy small { color: var(--dw-muted); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.dw-dashboard-kpi-copy strong { font-size: 28px; line-height: 1.08; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.dw-dashboard-kpi-copy em { color: var(--dw-muted); font-style: normal; line-height: 1.35; }
.dw-dashboard-trend { display: inline-flex; width: max-content; border-radius: 999px; padding: 3px 7px; font-size: 10px; font-weight: 850; line-height: 1.1; background: #eef2f7; color: var(--dw-muted); }
.dw-dashboard-trend.trend-up { background: #dcfce7; color: #166534; }
.dw-dashboard-trend.trend-down { background: #fee2e2; color: #991b1b; }
.dw-dashboard-kpi.tone-green { --kpi-color: #1f8a70; }
.dw-dashboard-kpi.tone-blue { --kpi-color: #316dd5; }
.dw-dashboard-kpi.tone-violet { --kpi-color: #7c4cc8; }
.dw-dashboard-kpi.tone-amber { --kpi-color: #b76a20; }
.dw-dashboard-kpi.tone-orange { --kpi-color: #c25a2a; }
.dw-dashboard-kpi.tone-red { --kpi-color: #c23b54; }
.dw-dashboard-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.dw-dashboard-panel-wide { grid-column: 1 / -1; }
.dw-dashboard-panel { border: 1px solid var(--dw-line); border-radius: 10px; background: rgba(255,255,255,.96); box-shadow: 0 14px 36px rgba(15,23,42,.05); padding: 20px; display: grid; align-content: start; gap: 16px; min-width: 0; }
.dw-dashboard-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.dw-dashboard-panel-head h2 { margin: 3px 0 0; font-size: 22px; letter-spacing: 0; }
.dw-dashboard-panel-head a { border: 1px solid var(--dw-line); border-radius: 999px; padding: 8px 11px; font-size: 12px; font-weight: 900; color: var(--dw-primary); background: #fff; white-space: nowrap; }
.dw-dashboard-mini-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.dw-dashboard-mini, .dw-dashboard-activity-list div { border: 1px solid var(--dw-line); border-radius: 9px; background: #f8fafc; padding: 14px; display: grid; gap: 6px; }
.dw-dashboard-mini span, .dw-dashboard-activity-list span { color: var(--dw-muted); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.dw-dashboard-mini strong, .dw-dashboard-activity-list strong { font-size: 22px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.dw-dashboard-mini small, .dw-dashboard-activity-list small { color: var(--dw-muted); }
.dw-dashboard-activity-list { display: grid; gap: 12px; }
.dw-dashboard-priority-stack, .dw-dashboard-feed { display: grid; gap: 10px; }
.dw-dashboard-priority, .dw-dashboard-feed div, .dw-dashboard-breakdown-grid div, .dw-dashboard-dues-grid div { border: 1px solid var(--dw-line); border-radius: 9px; background: #fbfdff; padding: 12px; display: grid; gap: 5px; min-width: 0; }
.dw-dashboard-priority { border-left: 4px solid var(--priority-color, var(--dw-primary)); }
.dw-dashboard-priority.tone-green { --priority-color: #1f8a70; }
.dw-dashboard-priority.tone-amber { --priority-color: #b76a20; }
.dw-dashboard-priority.tone-red { --priority-color: #c23b54; }
.dw-dashboard-priority.tone-blue { --priority-color: #316dd5; }
.dw-dashboard-priority span, .dw-dashboard-feed small, .dw-dashboard-breakdown-grid small, .dw-dashboard-dues-grid small { color: var(--dw-muted); line-height: 1.35; }
.dw-dashboard-feed span, .dw-dashboard-breakdown-grid span, .dw-dashboard-dues-grid span { color: var(--dw-muted); font-size: 11px; font-weight: 850; text-transform: uppercase; }
.dw-dashboard-feed strong, .dw-dashboard-breakdown-grid strong, .dw-dashboard-dues-grid strong { font-size: 18px; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.dw-dashboard-breakdown-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.dw-dashboard-dues-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.dw-dashboard-inline-note { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--dw-muted); }
.dw-dashboard-inline-note strong { color: var(--dw-text); font-size: 18px; font-variant-numeric: tabular-nums; }
.dw-dashboard-aging { display: flex; flex-wrap: wrap; gap: 8px; }
.dw-dashboard-aging span { border: 1px solid var(--dw-line); border-radius: 999px; background: #fff; color: var(--dw-muted); padding: 6px 9px; font-size: 12px; font-weight: 760; }
.dw-dashboard-aging b { color: var(--dw-text); }
.dw-dashboard-empty { border: 1px dashed var(--dw-line) !important; color: var(--dw-muted); background: #fff !important; text-align: center; }
.dw-dashboard-followups { display: grid; gap: 10px; }
.dw-dashboard-followup { border: 1px solid var(--dw-line); border-radius: 9px; padding: 14px; display: flex; align-items: center; justify-content: space-between; gap: 14px; background: #fbfdff; transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.dw-dashboard-followup:hover { border-color: rgba(31,138,112,.42); transform: translateY(-1px); box-shadow: var(--dw-shadow); }
.dw-dashboard-followup span { display: grid; gap: 5px; min-width: 0; }
.dw-dashboard-followup small { color: var(--dw-muted); line-height: 1.4; }
.dw-dashboard-followup em { color: var(--dw-primary); font-style: normal; font-weight: 900; font-size: 12px; white-space: nowrap; }
.dw-dashboard-workflows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.dw-dashboard-workflow { border: 1px solid var(--dw-line); border-radius: 10px; padding: 14px; background: #fff; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; min-height: 112px; transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.dw-dashboard-workflow:hover { border-color: rgba(31,138,112,.42); transform: translateY(-1px); box-shadow: var(--dw-shadow); }
.dw-dashboard-workflow-icon { width: 44px; height: 44px; max-width: 44px; max-height: 44px; min-width: 44px; min-height: 44px; border-radius: 8px; display: grid; place-items: center; background: #27b493; color: #fff; overflow: hidden; }
.dw-school-dashboard .dw-dashboard-workflow-icon > svg,
.dw-school-dashboard .dw-dashboard-workflow-icon .dw-app-icon-svg { width: 23px !important; height: 23px !important; max-width: 23px !important; max-height: 23px !important; min-width: 0 !important; min-height: 0 !important; display: block !important; flex: 0 0 auto !important; }
.dw-dashboard-workflow span:last-child { display: grid; gap: 5px; }
.dw-dashboard-workflow strong { font-size: 16px; }
.dw-dashboard-workflow small { color: var(--dw-muted); line-height: 1.35; }
.dw-attendance-workspace { display: grid; gap: 14px; }
.dw-attendance-filters { display: grid; grid-template-columns: 180px minmax(180px, 1fr) minmax(180px, 1fr) auto; gap: 12px; align-items: end; }
.dw-attendance-sheet { display: grid; border: 1px solid var(--dw-line); border-radius: 9px; overflow: hidden; background: #fff; }
.dw-attendance-row { display: grid; grid-template-columns: 90px minmax(160px, 1fr) minmax(160px, 1fr) minmax(460px, 1.4fr); gap: 12px; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--dw-line); }
.dw-attendance-row:last-child { border-bottom: 0; }
.dw-attendance-row:hover { background: #fbfdff; }
.dw-attendance-head { background: #f8fafc; color: var(--dw-muted); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.dw-attendance-roll { font-weight: 900; color: var(--dw-primary); }
.dw-attendance-name { font-weight: 900; }
.dw-attendance-statuses { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.dw-attendance-choice { position: relative; display: inline-flex; align-items: center; }
.dw-attendance-choice input { position: absolute; opacity: 0; pointer-events: none; }
.dw-attendance-choice span { min-height: 32px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--dw-line); border-radius: 999px; background: #fff; padding: 0 11px; color: var(--dw-muted); font-size: 12px; font-weight: 900; cursor: pointer; transition: background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease; }
.dw-attendance-choice input:checked + span { color: #fff; border-color: var(--attendance-color, var(--dw-primary)); background: var(--attendance-color, var(--dw-primary)); box-shadow: 0 8px 18px color-mix(in srgb, var(--attendance-color, var(--dw-primary)) 22%, transparent); }
.dw-attendance-choice.status-present { --attendance-color: #1f8a70; }
.dw-attendance-choice.status-absent { --attendance-color: #c23b54; }
.dw-attendance-choice.status-leave { --attendance-color: #7c4cc8; }
.dw-attendance-choice.status-half_day { --attendance-color: #b76a20; }
.dw-attendance-choice.status-late { --attendance-color: #2f6f9f; }
.dw-attendance-note { grid-column: 4; width: 100%; border: 1px solid var(--dw-line); border-radius: 7px; min-height: 34px; padding: 7px 10px; background: #f8fafc; }

/* Production admin scale: compact, readable, and less oversized across LMS screens. */
body { font-size: 14px; }
.dw-content { padding: 18px 20px; gap: 14px; }
.dw-topbar { height: 56px; padding: 10px 18px; gap: 12px; }
.dw-topbar-brand .dw-brand-mark { width: 28px; height: 28px; font-size: 12px; }
.dw-search input { height: 34px; border-radius: 7px; padding: 0 12px; font-size: 14px; }
.dw-topbar-user { padding: 6px 10px; font-size: 13px; font-weight: 750; }

.dw-inner-heading { padding: 16px 18px; border-radius: 8px; box-shadow: 0 10px 28px rgba(15,23,42,.045); }
.dw-page-heading { gap: 14px; }
.dw-page-heading h1 { font-size: 26px; line-height: 1.08; font-weight: 760; }
.dw-page-heading p { margin-top: 7px; font-size: 14px; line-height: 1.38; max-width: 720px; }
.dw-eyebrow { font-size: 10px; margin-bottom: 5px !important; font-weight: 800; }
.dw-page-actions { gap: 8px; }

.dw-btn { min-height: 32px; padding: 6px 10px; border-radius: 7px; gap: 6px; font-size: 13px; font-weight: 720; line-height: 1.15; box-shadow: none; }
.dw-btn:hover { box-shadow: 0 6px 16px rgba(15,23,42,.07); transform: none; }
.dw-btn-primary:hover { box-shadow: 0 8px 18px rgba(31,138,112,.18); }
.dw-btn-sm { min-height: 28px; padding: 5px 8px; font-size: 12px; border-radius: 6px; }
.dw-btn-lg { min-height: 38px; padding: 8px 13px; font-size: 14px; }

.dw-card, .dw-panel { padding: 14px 16px; border-radius: 8px; box-shadow: 0 10px 28px rgba(15,23,42,.045); }
.dw-card-header { margin-bottom: 12px; }
.dw-card-header h2 { font-size: 17px; }
.dw-card-header p { font-size: 13px; }
.dw-soft-panel { padding: 12px 14px; }

.dw-crud-workspace { gap: 12px; }
.dw-crud-summary { gap: 10px; }
.dw-crud-summary-card { min-height: 58px; padding: 10px 12px; border-radius: 7px; box-shadow: 0 8px 20px rgba(15,23,42,.04); }
.dw-crud-summary-card strong { font-size: 15px; font-weight: 760; }
.dw-crud-summary-card span { font-size: 11px; font-weight: 720; }
.dw-crud-actionbar { gap: 10px; }
.dw-crud-primary-actions, .dw-crud-secondary-actions { gap: 7px; }
.dw-crud-tabs { padding: 4px; gap: 4px; border-radius: 8px; box-shadow: 0 8px 22px rgba(15,23,42,.04); }
.dw-crud-tabs button { padding: 7px 9px; gap: 6px; font-size: 12px; font-weight: 760; border-radius: 6px; }
.dw-crud-tabs small { min-width: 20px; height: 20px; padding: 0 6px; font-size: 10px; font-weight: 760; }
.dw-crud-card-head { gap: 12px; margin-bottom: 12px; }
.dw-crud-card-head h2 { font-size: 19px; font-weight: 760; }
.dw-crud-card-head p:not(.dw-eyebrow) { margin-top: 5px; font-size: 13px; line-height: 1.35; }
.dw-crud-search { gap: 7px; min-width: min(100%, 420px); }
.dw-crud-search input { height: 34px; min-width: 180px; border-radius: 7px; padding: 0 10px; font-size: 13px; }

.dw-table { min-width: 680px; }
.dw-table th, .dw-table td { padding: 8px 9px; line-height: 1.25; }
.dw-table th { font-size: 10px; font-weight: 760; letter-spacing: 0; }
.dw-table td { font-size: 13px; }
.dw-table-primary { gap: 2px; }
.dw-table-primary strong { font-weight: 760; }
.dw-table-primary small { font-size: 11px; }
.dw-table-actions { gap: 5px; min-width: 170px; }
.dw-badge, .dw-status { min-height: 22px; padding: 2px 7px; border-radius: 999px; font-size: 10px; font-weight: 780; line-height: 1; }

.dw-form-grid { gap: 12px; }
.dw-field { gap: 5px; font-size: 12px; font-weight: 650; }
.dw-field input, .dw-field select, .dw-field textarea { min-height: 34px; padding: 7px 9px; border-radius: 7px; font-size: 13px; }
.dw-field textarea { min-height: 86px; }
.dw-form-section-title { padding-top: 12px; margin-top: 4px; }
.dw-form-section-title h3 { font-size: 13px; font-weight: 760; }
.dw-form-actions { gap: 8px; padding-top: 6px; }
.dw-empty-state { min-height: 120px; gap: 6px; }
.dw-empty-state strong { font-size: 15px; font-weight: 760; }
.dw-empty-state p { font-size: 13px; }

.dw-metric-grid { gap: 10px; }
.dw-metric-card { min-height: 82px; padding: 12px 14px; gap: 6px; }
.dw-metric-card span { font-size: 11px; font-weight: 720; }
.dw-metric-card strong { font-size: 22px; font-weight: 760; }

.dw-dashboard-hero-pro { padding: 18px; gap: 16px; border-radius: 8px; }
.dw-dashboard-hero-pro h1 { font-size: 28px; font-weight: 760; }
.dw-dashboard-context { margin-top: 10px; gap: 6px; }
.dw-dashboard-context span { padding: 5px 8px; font-size: 11px; font-weight: 720; }
.dw-dashboard-actions { gap: 8px; }
.dw-dashboard-kpis { gap: 10px; }
.dw-dashboard-kpi { min-height: 110px; grid-template-columns: 40px minmax(0, 1fr); gap: 10px; padding: 13px; border-radius: 8px; }
.dw-dashboard-kpi-icon { width: 40px; height: 40px; min-width: 40px; min-height: 40px; border-radius: 7px; }
.dw-school-dashboard .dw-dashboard-kpi-icon > svg,
.dw-school-dashboard .dw-dashboard-kpi-icon .dw-app-icon-svg { width: 20px !important; height: 20px !important; }
.dw-dashboard-kpi-copy small { font-size: 10px; font-weight: 760; }
.dw-dashboard-kpi-copy strong { font-size: 21px; font-weight: 760; }
.dw-dashboard-kpi-copy em { font-size: 12px; }
.dw-dashboard-trend { font-size: 9px; padding: 3px 6px; }
.dw-dashboard-panel { padding: 14px; gap: 12px; border-radius: 8px; }
.dw-dashboard-panel-head h2 { font-size: 18px; font-weight: 760; }
.dw-dashboard-panel-head a { padding: 6px 9px; font-size: 11px; }
.dw-dashboard-mini, .dw-dashboard-activity-list div { padding: 11px; }
.dw-dashboard-mini strong, .dw-dashboard-activity-list strong { font-size: 18px; }
.dw-dashboard-priority, .dw-dashboard-feed div, .dw-dashboard-breakdown-grid div, .dw-dashboard-dues-grid div { padding: 10px; border-radius: 8px; }
.dw-dashboard-breakdown-grid { gap: 8px; }
.dw-dashboard-feed strong, .dw-dashboard-breakdown-grid strong, .dw-dashboard-dues-grid strong { font-size: 16px; }
.dw-dashboard-followup { padding: 11px; gap: 10px; }
.dw-dashboard-workflow { min-height: 88px; padding: 11px; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; border-radius: 8px; }
.dw-dashboard-workflow-icon { width: 36px; height: 36px; min-width: 36px; min-height: 36px; border-radius: 7px; }
.dw-school-dashboard .dw-dashboard-workflow-icon > svg,
.dw-school-dashboard .dw-dashboard-workflow-icon .dw-app-icon-svg { width: 18px !important; height: 18px !important; }
.dw-dashboard-workflow strong { font-size: 14px; }
.dw-dashboard-workflow small { font-size: 12px; }

.dw-attendance-workspace { gap: 12px; }
.dw-attendance-filters { grid-template-columns: 160px minmax(170px, 1fr) minmax(170px, 1fr) auto; gap: 10px; }
.dw-attendance-row { grid-template-columns: 78px minmax(140px, 1fr) minmax(140px, 1fr) minmax(400px, 1.35fr); gap: 9px; padding: 8px 10px; }
.dw-attendance-head { font-size: 10px; font-weight: 760; }
.dw-attendance-roll, .dw-attendance-name { font-weight: 760; }
.dw-attendance-statuses { gap: 5px; }
.dw-attendance-choice span { min-height: 27px; padding: 0 8px; font-size: 11px; font-weight: 720; }
.dw-attendance-note { min-height: 30px; padding: 5px 8px; font-size: 12px; }

.dw-reports-heading { padding-top: 4px; }
.dw-reports-filter-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 520px); gap: 16px; align-items: end; }
.dw-reports-filter-card h2 { margin: 0; font-size: 18px; font-weight: 760; }
.dw-reports-filter-card p:not(.dw-eyebrow) { margin: 5px 0 0; color: var(--dw-muted); font-size: 13px; }
.dw-reports-filter-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: end; }
.dw-reports-grid { display: grid; grid-template-columns: minmax(320px, .9fr) minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: start; }
.dw-report-shortcuts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.dw-report-shortcut { min-height: 38px; border: 1px solid var(--dw-line); border-radius: 7px; background: #fbfdff; padding: 6px 7px 6px 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dw-report-shortcut span { min-width: 0; font-size: 12px; font-weight: 720; line-height: 1.25; color: var(--dw-ink); }

/* Shell refinement: compact accordion sidebar and route-aware search. */
.dw-app-shell { grid-template-columns: 260px minmax(0, 1fr); }
.dw-sidebar {
    padding: 18px 16px;
    gap: 18px;
    background: linear-gradient(180deg, #111b24 0%, #14212b 52%, #111a22 100%);
}
.dw-sidebar .dw-brand { gap: 10px; padding: 2px 2px 8px; border-bottom: 1px solid rgba(255,255,255,.07); }
.dw-sidebar .dw-brand-mark,
.dw-sidebar .dw-brand-logo { width: 38px; height: 38px; border-radius: 8px; box-shadow: 0 10px 24px rgba(39,180,147,.18); }
.dw-sidebar .dw-brand strong { font-size: 15px; font-weight: 760; }
.dw-sidebar .dw-brand small { font-size: 12px; font-weight: 600; color: #a8b8c6; }
.dw-nav { gap: 4px; }
.dw-nav-section {
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: visible;
    border-bottom: 1px solid rgba(255,255,255,.055);
    padding: 2px 0 6px;
}
.dw-nav-section header { padding: 0; }
.dw-nav-section header button {
    width: 100%;
    min-height: 34px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #aebdca;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 7px 8px;
    cursor: pointer;
    text-align: left;
    font-size: 10px;
    font-weight: 780;
    letter-spacing: .02em;
    text-transform: uppercase;
}
.dw-nav-section header button::after {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 1.5px solid #7890a2;
    border-bottom: 1.5px solid #7890a2;
    transform: rotate(45deg);
    transition: transform .16s ease;
}
.dw-nav-section.is-open header button { color: #f3f8fb; background: rgba(255,255,255,.045); }
.dw-nav-section.is-open header button::after { transform: rotate(225deg); }
.dw-nav-section header button small {
    min-width: 20px;
    height: 20px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: #9fb1bf;
    font-size: 10px;
    display: inline-grid;
    place-items: center;
    order: 2;
    margin-left: auto;
}
.dw-nav-section header button span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dw-nav-links { gap: 2px; padding: 4px 0 6px; }
.dw-nav-item {
    min-height: 34px;
    border-radius: 7px;
    padding: 7px 8px;
    color: #bac7d2;
    font-size: 13px;
    font-weight: 560;
    transform: none !important;
}
.dw-nav-item:hover { background: rgba(255,255,255,.055); color: #fff; }
.dw-nav-item.is-active {
    background: rgba(39,180,147,.16);
    color: #fff;
    box-shadow: inset 3px 0 0 #27b493;
}
.dw-nav-icon {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: rgba(255,255,255,.075);
    color: #d3e1ea;
    font-size: 9px;
    font-weight: 740;
}
.dw-nav-item.is-active .dw-nav-icon { background: rgba(39,180,147,.24); color: #eafff8; }
.dw-global-search { position: relative; max-width: none; }
.dw-global-search input { padding-left: 13px; background: #fbfdff; }
.dw-global-search-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 7px);
    z-index: 40;
    border: 1px solid rgba(15,23,42,.12);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(15,23,42,.13);
    padding: 6px;
    display: grid;
    gap: 3px;
}
.dw-global-search-item {
    min-height: 42px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 10px;
}
.dw-global-search-item:hover { background: #f4f8fb; }
.dw-global-search-item strong { font-size: 13px; font-weight: 740; }
.dw-global-search-item small { color: var(--dw-muted); font-size: 11px; font-weight: 680; }
.dw-global-search-empty { padding: 12px; color: var(--dw-muted); font-size: 13px; }

.dw-module-page { display: grid; gap: 14px; }
.dw-module-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    padding: 4px 0 2px;
}
.dw-module-head h1 { margin: 0; font-size: 25px; line-height: 1.1; font-weight: 760; }
.dw-module-head p:not(.dw-eyebrow) { margin: 6px 0 0; color: var(--dw-muted); font-size: 13px; }
.dw-module-stats { display: grid; grid-template-columns: repeat(4, minmax(72px, 1fr)); gap: 8px; min-width: 360px; }
.dw-module-stats span {
    border: 1px solid var(--dw-line);
    border-radius: 7px;
    background: #fff;
    padding: 8px 10px;
    display: grid;
    gap: 2px;
    color: var(--dw-muted);
    font-size: 11px;
    font-weight: 720;
    box-shadow: 0 8px 20px rgba(15,23,42,.04);
}
.dw-module-stats strong { color: var(--dw-ink); font-size: 18px; line-height: 1; font-variant-numeric: tabular-nums; }
.dw-module-upload {
    border: 1px solid var(--dw-line);
    border-radius: 8px;
    background: #fff;
    padding: 14px 16px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    box-shadow: 0 10px 28px rgba(15,23,42,.045);
}
.dw-module-upload h2 { margin: 0; font-size: 17px; font-weight: 760; }
.dw-module-upload p { margin: 5px 0 0; color: var(--dw-muted); font-size: 13px; }
.dw-module-upload form { display: flex; align-items: center; justify-content: flex-end; gap: 8px; min-width: min(100%, 520px); }
.dw-module-upload input[type="file"] {
    width: 100%;
    min-height: 32px;
    border: 1px solid var(--dw-line);
    border-radius: 7px;
    background: #fbfdff;
    padding: 4px 8px;
    font-size: 12px;
}
.dw-module-table-card {
    border: 1px solid var(--dw-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(15,23,42,.055);
    padding: 14px;
}
.dw-module-toolbar {
    display: grid;
    grid-template-columns: 160px 140px 190px minmax(220px, 1fr) auto;
    gap: 8px;
    align-items: end;
    margin-bottom: 12px;
}
.dw-module-toolbar label { display: grid; gap: 5px; color: var(--dw-muted); font-size: 11px; font-weight: 720; }
.dw-module-toolbar select,
.dw-module-toolbar input {
    width: 100%;
    min-height: 32px;
    border: 1px solid var(--dw-line);
    border-radius: 7px;
    background: #fbfdff;
    padding: 0 9px;
    color: var(--dw-ink);
    font-size: 13px;
}
.dw-module-table { min-width: 980px; }
.dw-module-table tbody tr.is-active { background: #eef8ff; }
.dw-module-table tbody tr.is-active:hover { background: #e7f4fd; }
.dw-module-name,
.dw-module-description { display: grid; gap: 5px; min-width: 0; }
.dw-module-name strong { font-weight: 760; color: var(--dw-ink); }
.dw-module-name small,
.dw-module-description small { color: var(--dw-muted); font-size: 11px; }
.dw-module-description span { color: #314155; line-height: 1.35; }
.dw-module-actions { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; min-width: 250px; }
.dw-module-actions form { margin: 0; }
.dw-module-actions .dw-btn:disabled { opacity: .48; background: #f8fafc; }
.dw-update-grid { display: grid; grid-template-columns: minmax(280px, .7fr) minmax(360px, 1.3fr); gap: 14px; align-items: start; }
.dw-update-version { display: grid; gap: 5px; margin-bottom: 12px; }
.dw-update-version strong { font-size: 34px; line-height: 1; font-variant-numeric: tabular-nums; }
.dw-update-version span { color: var(--dw-muted); font-size: 13px; font-weight: 680; }
.dw-update-form { display: grid; gap: 12px; }
.dw-update-progress { display: grid; gap: 7px; }
.dw-update-progress span { color: var(--dw-muted); font-size: 12px; font-weight: 720; }
.dw-update-progress div { height: 9px; border-radius: 999px; overflow: hidden; background: #e9f0f6; border: 1px solid var(--dw-line); }
.dw-update-progress i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--dw-primary), #316dd5); transition: width .24s ease; }
@media print {
    .dw-sidebar, .dw-topbar, .dw-mobile-topbar, .dw-mobile-bottom-nav, .no-print { display: none !important; }
    .dw-app-shell { display: block !important; }
    .dw-content { padding: 0 !important; }
    .dw-card, .dw-panel { box-shadow: none !important; }
    body { background: #fff !important; }
}
.pagination { display: flex; gap: 8px; list-style: none; padding-left: 0; flex-wrap: wrap; }
.pagination a, .pagination span { display: inline-flex; min-width: 34px; height: 34px; align-items: center; justify-content: center; border: 1px solid var(--dw-line); border-radius: var(--dw-radius); padding: 0 10px; background: white; }
@media (max-width: 980px) {
    .dw-metric-grid, .dw-app-grid, .dw-form-grid, .dw-school-app-grid { grid-template-columns: 1fr; }
    .dw-apps-heading { align-items: flex-start; }
    .dw-apps-user { width: 100%; }
    .dw-launcher-shell .dw-content { padding: 22px 16px 34px; }
    .dw-launcher-top { margin-bottom: 42px; align-items: flex-start; }
    .dw-launcher-hero { grid-template-columns: 1fr; }
    .dw-launcher-hero h1 { font-size: 42px; }
    .dw-launcher-shell .dw-school-app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dw-dashboard-hero-pro, .dw-dashboard-panels { grid-template-columns: 1fr; }
    .dw-dashboard-hero-pro { display: grid; }
    .dw-dashboard-actions { justify-content: flex-start; }
    .dw-dashboard-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dw-dashboard-breakdown-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dw-dashboard-workflows { grid-template-columns: 1fr; }
    .dw-reports-filter-card, .dw-reports-grid { grid-template-columns: 1fr; }
    .dw-update-grid { grid-template-columns: 1fr; }
    .dw-report-shortcuts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dw-attendance-filters, .dw-attendance-row { grid-template-columns: 1fr 1fr; }
    .dw-attendance-statuses, .dw-attendance-note { grid-column: 1 / -1; }
    .dw-crud-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dw-crud-actionbar { align-items: stretch; }
    .dw-crud-tabs { width: 100%; }
    .dw-crud-card-head { grid-template-columns: 1fr; align-items: start; }
    .dw-crud-search { width: 100%; min-width: 0; }
    .dw-install-body { grid-template-columns: 1fr; }
    .dw-install-steps { border-right: 0; border-bottom: 1px solid var(--dw-line); grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .dw-launcher-top { display: grid; }
    .dw-launcher-actions { justify-content: flex-start; }
    .dw-launcher-shell .dw-school-app-grid { grid-template-columns: 1fr; }
    .dw-launcher-top .dw-brand strong { font-size: 19px; }
    .dw-dashboard-kpis, .dw-dashboard-mini-grid { grid-template-columns: 1fr; }
    .dw-dashboard-kpi { grid-template-columns: 46px minmax(0, 1fr); min-height: 130px; }
    .dw-dashboard-kpi-icon { width: 46px; height: 46px; max-width: 46px; max-height: 46px; min-width: 46px; min-height: 46px; }
    .dw-dashboard-panel-head, .dw-dashboard-followup { align-items: flex-start; flex-direction: column; }
    .dw-dashboard-breakdown-grid, .dw-dashboard-dues-grid { grid-template-columns: 1fr; }
    .dw-reports-filter-card, .dw-reports-filter-form, .dw-reports-grid, .dw-report-shortcuts { grid-template-columns: 1fr; }
    .dw-attendance-filters, .dw-attendance-row { grid-template-columns: 1fr; }
    .dw-attendance-head { display: none; }
    .dw-attendance-statuses, .dw-attendance-note { grid-column: auto; }
    .dw-crud-summary { grid-template-columns: 1fr; }
    .dw-crud-primary-actions, .dw-crud-secondary-actions { display: grid; grid-template-columns: 1fr; width: 100%; }
    .dw-crud-search, .dw-form-actions { display: grid; grid-template-columns: 1fr; }
    .dw-table-actions { justify-content: flex-start; min-width: 0; }
    .dw-install-screen { padding: 0; }
    .dw-install-card { min-height: 100vh; border-radius: 0; }
    .dw-install-hero { padding: 22px; }
    .dw-install-main { padding: 22px; }
    .dw-install-steps { grid-template-columns: 1fr 1fr; padding: 14px; }
}
