/* Shared period controls and permission-scoped dashboard shortcuts. */
.dashboard-shortcuts{margin:0 0 28px;min-width:0}
.dashboard-shortcuts__heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.dashboard-shortcuts__heading h2{margin:0;font-size:20px}
.dashboard-shortcuts__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.dashboard-shortcut{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:82px;padding:20px;border:1px solid var(--line,#e8e1e3);border-radius:12px;background:#fff;color:var(--green,#7f1d3a);font-size:15px;font-weight:600;line-height:1.45;text-decoration:none;transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease}
.dashboard-shortcut span{min-width:0;overflow-wrap:anywhere}
.dashboard-shortcut svg{width:22px;height:22px;flex:0 0 22px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.dashboard-shortcut:hover{border-color:var(--green,#7f1d3a);background:#fcf7f9;box-shadow:0 3px 12px #4a182809;text-decoration:none}
.dashboard-shortcut:focus-visible,.period-presets .period-preset:focus-visible{outline:3px solid #d28aa0;outline-offset:3px}
.period-presets{display:flex;align-items:center;gap:10px 14px;flex-wrap:wrap;min-width:0;width:100%;flex:0 0 100%;grid-column:1/-1;margin:0 0 12px}
.period-presets__label{color:var(--muted,#81747a);font-size:13px;font-weight:600}
.period-presets__links{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0;max-width:100%}
.period-presets .period-preset{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 13px;border:1px solid var(--line,#e8e1e3);border-radius:8px;background:#fff;color:var(--green,#7f1d3a);font-size:13px;font-weight:600;line-height:1.4;text-decoration:none;white-space:normal;text-align:center}
.period-presets .period-preset:hover{border-color:var(--green,#7f1d3a);background:#fcf7f9;text-decoration:none}
.period-presets .period-preset.is-active,.period-presets .period-preset[aria-current=true]{border-color:var(--green,#7f1d3a);background:var(--green,#7f1d3a);color:#fff}
.dashboard-period .period-presets{margin-bottom:2px}
@media(max-width:1180px){.dashboard-shortcuts__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){
  .dashboard-shortcuts{margin-bottom:24px}
  .dashboard-shortcuts__heading{gap:4px}
  .dashboard-shortcuts__heading h2{font-size:19px}
  .dashboard-shortcuts__heading .muted{font-size:12px}
  .dashboard-shortcuts__grid{gap:10px}
  .dashboard-shortcut{padding:14px 12px;gap:8px;min-height:78px;font-size:13px}
  .dashboard-shortcut svg{width:18px;height:18px;flex-basis:18px}
  .period-presets{align-items:flex-start;gap:8px}
  .period-presets__label{flex-basis:100%}
  .period-presets__links{gap:7px}
  .period-presets .period-preset{min-height:42px;padding:9px 11px;font-size:12px}
  .dashboard-period{gap:10px}
  .dashboard-period>label{display:flex;flex:1 1 135px;flex-direction:column;align-items:stretch;gap:5px;min-width:0}
  .dashboard-period input{width:100%;max-width:100%}
  .dashboard-period>.muted{flex-basis:100%}
}
@media(max-width:340px){.dashboard-shortcuts__grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.dashboard-shortcut{transition:none}}
@media print{.dashboard-shortcuts,.period-presets{display:none!important}}
