/* Member dashboard only: other member pages retain their existing layout. */
.didac-dashboard-page .didac-webapp-content {
    gap: 24px;
    padding: 32px clamp(18px, 3vw, 48px);
    background: #f4f7f6;
}
.didac-dashboard-page .didac-webapp-panel {
    padding: 24px;
    border: 1px solid #e0e8e3;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(18, 48, 34, .035);
}
.didac-dashboard-page .didac-webapp-hero {
    gap: 24px;
    border: 0;
    background: linear-gradient(115deg, #eaf5ee, #fff);
}
.didac-dashboard-page .didac-webapp-title { font-size: clamp(24px, 2.6vw, 36px); line-height: 1.2; margin: 8px 0 12px; }
.didac-dashboard-page .didac-webapp-copy { line-height: 1.65; max-width: 72ch; }
.didac-dashboard-page .didac-webapp-section-title { line-height: 1.35; margin: 0 0 14px; font-size: 19px; }
.didac-dashboard-page .didac-webapp-hero-code { background: #fff; color: #176739; border: 1px solid #cce4d3; padding: 12px 16px; min-height: 0; border-radius: 12px; font-size: 13px; overflow-wrap: anywhere; }
.didac-dashboard-shortcuts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.didac-dashboard-shortcuts a { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 12px; row-gap: 4px; align-content: center; padding: 20px; min-height: 96px; border: 1px solid #dbe8df; border-radius: 16px; color: #143c28; text-decoration: none; background: #fff; box-sizing: border-box; }
.didac-dashboard-shortcuts a > span { grid-row: span 2; display: flex; align-items: center; justify-content: center; align-self: center; width: 40px; height: 40px; background: #edf7f0; border-radius: 12px; color: #14773a; font-size: 25px; }
.didac-dashboard-shortcuts strong { font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; }
.didac-dashboard-shortcuts small { color: #52665a; font-size: 13px; line-height: 1.5; }
.didac-dashboard-shortcuts a:hover { border-color: #23964c; background: #f8fcf9; }
.didac-dashboard-page a:focus-visible, .didac-dashboard-page button:focus-visible { outline: 3px solid #16723b; outline-offset: 4px; }
.didac-dashboard-page .didac-webapp-cards { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.didac-dashboard-page .didac-webapp-card { border-color: #e0e8e3; border-radius: 16px; padding: 20px; min-width: 0; }
.didac-dashboard-page .didac-webapp-card-label { font-size: 11px; line-height: 1.5; letter-spacing: .05em; }
.didac-dashboard-page .didac-webapp-card-value { line-height: 1.4; margin-top: 10px; font-size: 21px; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.didac-dashboard-page .didac-dashboard-toolbar { padding: 0; background: none; border: 0; box-shadow: none; gap: 16px; }
.didac-dashboard-page .didac-dashboard-toolbar h2 { margin: 0; }
.didac-dashboard-page .didac-dashboard-grid { gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.didac-dashboard-page .didac-dashboard-grid > .didac-webapp-panel { display: flex; flex-direction: column; gap: 6px; }
.didac-dashboard-page .didac-webapp-grid { gap: 20px; }
.didac-dashboard-page .didac-webapp-inline-action, .didac-dashboard-page .didac-auth-secondary { margin-top: 18px; min-height: 44px; white-space: normal; text-align: center; }
.didac-dashboard-page .didac-dashboard-row { gap: 12px; padding: 14px; overflow-wrap: anywhere; }
.didac-dashboard-page .didac-dashboard-row > * { min-width: 0; }
.didac-dashboard-page .didac-dashboard-notifications-head { gap: 16px; flex-wrap: wrap; }
.didac-dashboard-page .didac-dashboard-notification-actions { flex-wrap: wrap; }
.didac-dashboard-page .didac-dashboard-bars { gap: 8px; }
.didac-dashboard-page .didac-dashboard-bar { min-width: 0; }
.didac-dashboard-page .didac-dashboard-bar span { width: min(32px, 100%); }
.didac-dashboard-page .didac-dashboard-bar strong { overflow-wrap: anywhere; font-size: 11px; }
@media (max-width: 1100px) {
    .didac-dashboard-shortcuts { grid-template-columns: 1fr; gap: 12px; }
    .didac-dashboard-shortcuts a { min-height: 80px; padding: 16px 20px; }
    .didac-dashboard-page .didac-dashboard-grid { grid-template-columns: 1fr; }
    .didac-dashboard-page .didac-dashboard-span-2 { grid-column: auto; }
}
@media (max-width: 640px) {
    .didac-dashboard-page .didac-webapp-content { gap: 20px; padding: 72px 16px 28px; }
    .didac-dashboard-page .didac-webapp-panel { padding: 20px; border-radius: 18px; }
    .didac-dashboard-page .didac-webapp-hero { align-items: flex-start; }
    .didac-dashboard-page .didac-webapp-hero-code { width: auto; max-width: 100%; box-sizing: border-box; }
    .didac-dashboard-page .didac-webapp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .didac-dashboard-page .didac-webapp-card { padding: 16px; }
    .didac-dashboard-page .didac-webapp-card-value { font-size: 18px; }
    .didac-dashboard-page .didac-dashboard-user-chip { min-width: 0; }
    .didac-dashboard-page .didac-dashboard-user-chip strong { overflow-wrap: anywhere; }
}
@media (max-width: 360px) {
    .didac-dashboard-page .didac-webapp-content { padding-left: 12px; padding-right: 12px; }
    .didac-dashboard-page .didac-webapp-cards { grid-template-columns: 1fr; }
}
