.dashboard-page {
  --dash-line: #dbe5ed;
  --dash-surface: #fff;
  --dash-muted: #52667b;
  --dash-accent: #006383;
  min-height: 100dvh;
  background: #edf3f8;
  color: var(--ink);
}

.dashboard-wrap { width: min(94%, 94rem); margin-inline: auto; }
.dashboard-header { background: var(--navy); color: white; border-bottom: 1px solid #26495c; }
.dashboard-header-inner { min-height: 5.1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.dashboard-header .brand img { width: 3rem; }
.dashboard-header .brand strong { font-size: 1.5rem; }
.dashboard-header .brand small { font-size: .82rem; }
.dashboard-header-actions { display: flex; align-items: center; gap: clamp(.7rem, 2vw, 1.5rem); font-size: 1rem; font-weight: 700; }
.dashboard-header-actions > a:hover { color: #74e7ef; }
.dashboard-main { padding-block: clamp(1rem, 3.4vw, 2.5rem) 2.5rem; min-height: 70vh; }
.dashboard-layout { display: grid; grid-template-columns: minmax(13rem, 16rem) minmax(0, 1fr); gap: clamp(1rem, 2.5vw, 2rem); align-items: start; }
.dash-content, .dash-panel { min-width: 0; }
.dashboard-gate { width: min(100%, 36rem); margin: 4vh auto 0; }
.dashboard-gate p { line-height: 1.55; color: var(--dash-muted); }
.dashboard-footer { border-top: 1px solid var(--dash-line); padding-block: 1.1rem 1.5rem; color: var(--dash-muted); font-size: .875rem; }

.dash-sidebar { position: sticky; top: 1rem; border: 1px solid #254557; border-radius: 1rem; background: var(--navy); color: white; overflow: hidden; }
.dash-identity { display: flex; align-items: center; gap: .75rem; padding: 1.1rem; border-bottom: 1px solid #29475a; }
.dash-identity div { min-width: 0; }
.dash-identity strong { display: block; overflow-wrap: anywhere; font-size: 1rem; }
.dash-identity small { display: block; margin-top: .15rem; color: #a8c7d8; font-size: .9rem; }
.dash-avatar { flex: 0 0 auto; display: grid; place-items: center; width: 2.5rem; aspect-ratio: 1; border-radius: .8rem; background: #c4f2eb; color: #15433f; font-size: 1.13rem; font-weight: 850; }
.dash-nav { display: grid; gap: .23rem; padding: .65rem; }
.dash-nav a { display: flex; align-items: center; gap: .65rem; min-height: 44px; padding: .58rem .72rem; border: 1px solid transparent; border-radius: .6rem; color: #d5e4ef; font-size: 1rem; font-weight: 650; }
.dash-nav a:hover { background: #1c394f; color: white; }
.dash-nav a[aria-current] { border-color: #447688; background: #174455; color: #ddfff9; }
.dash-nav :focus-visible, .dashboard-header :focus-visible { outline-color: #82f1ef; outline-offset: 2px; }

.dash-hero {
  display: grid;
  justify-items: start;
  align-content: center;
  min-height: 15rem;
  margin-bottom: 1.5rem;
  padding: clamp(1.4rem, 4vw, 3.1rem);
  border: 1px solid #274958;
  border-radius: 1.25rem;
  background: linear-gradient(95deg, #0c2839 10%, #0c2b3aef 42%, #0c30476b 100%), var(--forest-art) 70% 50% / cover;
  color: #fff;
}
.dash-hero p, .dash-hero h1 { margin: 0; }
.dash-hero .dash-hero-label { font-family: var(--font-pixel); color: #8ce7dd; font-size: .95rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.dash-hero h1 { font-family: var(--font-pixel); margin-top: .48rem; font-size: clamp(1.95rem, 4.1vw, 3.45rem); line-height: 1.08; letter-spacing: -.02em; font-weight: 700; text-shadow: .045em .065em 0 #0a2536; overflow-wrap: anywhere; }
.dash-hero #dashboard-description { max-width: 36rem; margin-top: .7rem; color: #d7e8ee; line-height: 1.6; }
.dash-hero .button { margin-top: 1.05rem; }
.dash-hero :focus-visible { outline-color: #82f1ef; }

.dash-card { padding: clamp(1rem, 2vw, 1.45rem); border: 1px solid var(--dash-line); border-radius: 1rem; background: var(--dash-surface); box-shadow: 0 .2rem .65rem #13325309; }
.dash-card-heading, .dash-section-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .65rem 1rem; margin-bottom: .95rem; }
.dash-card-heading h2, .dash-card-heading h3, .dash-section-heading h2, .dash-dialog h2, .dashboard-gate h1 { margin: 0; line-height: 1.2; letter-spacing: -.015em; }
.dash-card-heading h2, .dash-section-heading h2, .dash-dialog h2 { font-size: clamp(1.25rem, 2.75vw, 1.65rem); }
.dash-card-heading h3 { font-size: 1.16rem; }
.dashboard-page .button { padding: .62rem 1rem; border-radius: .57rem; font-size: .975rem; font-weight: 700; }
.dashboard-page .button-outline { border: 1px solid #aabcca; }
.dashboard-page .button-outline:hover { background: #ecf7fa; }
.dashboard-page .button-primary { box-shadow: none; }
.dashboard-page button:disabled { cursor: default; }
.dashboard-page .text-link { color: var(--dash-accent); font-weight: 750; text-decoration: underline; text-underline-offset: .22em; }
.dash-detail-button { border: 0; border-radius: .45rem; background: #e7f3f8; color: #06536c; padding: .5rem .65rem; font-weight: 700; font-size: .94rem; min-height: 40px; white-space: nowrap; }
.dash-detail-button:hover { background: #d2ebf3; }
.dash-overview { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 1rem; align-items: start; }

.dash-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .85rem; margin: 0 0 1rem; }
.dash-metric { display: grid; align-content: start; justify-items: start; gap: .34rem; padding: clamp(.8rem, 1.55vw, 1.13rem); border: 1px solid var(--dash-line); border-radius: .85rem; background: white; box-shadow: 0 .2rem .65rem #13325309; min-width: 0; }
.dash-metric:hover { border-color: #569bad; }
.dash-metric > span:not(.dash-icon) { color: var(--dash-muted); font-size: .94rem; font-weight: 700; }
.dash-metric > strong { font-size: clamp(1.65rem, 3vw, 2.25rem); line-height: 1.1; }
.dash-icon { display: inline-grid; place-items: center; width: 1.1rem; height: 1.1rem; flex-shrink: 0; border-radius: .4rem; }
.dash-icon::after { content: ""; width: 1.03rem; height: 1.03rem; background: currentColor; mask: var(--dash-icon) center / contain no-repeat; }
.dash-metric > .dash-icon { width: 2.05rem; height: 2.05rem; margin-bottom: .2rem; background: #e5f4fb; color: #0b5d7a; }
.dash-metric[data-tone="pending"] > .dash-icon { background: #fff2d5; color: #8a5508; }
.dash-metric[data-tone="accepted"] > .dash-icon { background: #dff5e9; color: #176646; }
.dash-metric[data-tone="rejected"] > .dash-icon { background: #fbe9eb; color: #9d3547; }
[data-icon="grid"] { --dash-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1'/%3E%3C/svg%3E"); }
[data-icon="list"] { --dash-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Crect x='4' y='3' width='16' height='18' rx='2'/%3E%3Cpath d='M8 8h8M8 12h8M8 16h5'/%3E%3C/svg%3E"); }
[data-icon="plus"] { --dash-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8v8M8 12h8'/%3E%3C/svg%3E"); }
[data-icon="time"] { --dash-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l4 2'/%3E%3C/svg%3E"); }
[data-icon="check"] { --dash-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E"); }
[data-icon="close"] { --dash-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m7 7 10 10M17 7 7 17'/%3E%3C/svg%3E"); }
[data-icon="trophy"] { --dash-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 4h8v5a4 4 0 0 1-8 0V4ZM8 6H4v2a4 4 0 0 0 4 4m8-6h4v2a4 4 0 0 1-4 4m-4 1v6m-4 1h8'/%3E%3C/svg%3E"); }
[data-icon="person"] { --dash-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='3.4'/%3E%3Cpath d='M5 20v-1a5 5 0 0 1 5-5h4a5 5 0 0 1 5 5v1'/%3E%3C/svg%3E"); }
[data-icon="users"] { --dash-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10' cy='8' r='3'/%3E%3Cpath d='M3 20v-1a5 5 0 0 1 5-5h4a5 5 0 0 1 5 5v1m0-15a3 3 0 0 1 0 6m4 9v-1a5 5 0 0 0-2-4'/%3E%3C/svg%3E"); }
[data-icon="database"] { --dash-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='12' cy='5' rx='8' ry='3'/%3E%3Cpath d='M4 5v14c0 1.66 3.58 3 8 3s8-1.34 8-3V5M4 12c0 1.66 3.58 3 8 3s8-1.34 8-3'/%3E%3C/svg%3E"); }

.dash-activity, .dash-steps, .dash-breakdown { list-style: none; padding: 0; margin: 0; }
.dash-activity-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: .45rem .65rem; padding-block: .65rem; border-top: 1px solid var(--dash-line); }
.dash-activity-row:first-child { border-top: 0; }
.dash-activity-row strong, .dash-table-person strong { display: block; overflow-wrap: anywhere; }
.dash-activity-row small, .dash-table-person small, .dash-steps small { display: block; margin-top: .22rem; color: var(--dash-muted); font-size: .9rem; line-height: 1.4; overflow-wrap: anywhere; }
.dash-badge { display: inline-flex; align-items: center; width: fit-content; padding: .22rem .52rem; border-radius: 999px; background: #e9eef3; color: #334b60; font-size: .875rem; line-height: 1.3; font-weight: 700; }
.dash-badge[data-tone="pending"] { background: #fff1ce; color: #725010; }
.dash-badge[data-tone="accepted"] { background: #def3e6; color: #12533c; }
.dash-badge[data-tone="rejected"] { background: #fbe5e9; color: #83273a; }
.dash-steps { border-left: 2px solid #badedb; margin-left: .33rem; }
.dash-steps li { position: relative; padding: 0 0 1rem .95rem; }
.dash-steps li:last-child { padding-bottom: 0; }
.dash-steps li::before { position: absolute; left: -.39rem; top: .18rem; width: .65rem; height: .65rem; border-radius: 50%; border: 2px solid #fff; background: #198179; content: ""; }
.dash-breakdown li + li { margin-top: .65rem; }
.dash-breakdown li div { display: flex; justify-content: space-between; gap: .65rem; font-size: .9rem; }
.dash-breakdown progress { width: 100%; height: .45rem; overflow: hidden; border: 0; border-radius: .3rem; background: #e3eef3; color: #07817d; appearance: none; }
.dash-breakdown progress::-webkit-progress-bar { background: #e3eef3; }
.dash-breakdown progress::-webkit-progress-value { background: #07817d; border-radius: .3rem; }
.dash-breakdown progress::-moz-progress-bar { background: #07817d; }
.dash-side-link { display: inline-block; margin-top: .8rem; }

.dash-filters, .dash-form { display: grid; gap: .85rem; align-items: end; }
.dash-filters { display: flex; flex-wrap: wrap; padding-bottom: .8rem; }
.dash-filters label { flex: 1 1 8rem; min-width: 0; }
.dash-filters label:first-child { flex: 2 1 11rem; }
.dash-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dash-form .button { justify-self: start; grid-column: 1 / -1; }
.dash-field-full { grid-column: 1 / -1; }
.dash-form label, .dash-filters label { display: grid; gap: .32rem; color: #1c364e; font-size: .975rem; font-weight: 700; }
.dash-form input:not([type="checkbox"]), .dash-form select, .dash-form textarea, .dash-filters input, .dash-filters select {
  width: 100%;
  min-height: 2.75rem;
  border: 1px solid #aebfcd;
  border-radius: .52rem;
  padding: .5rem .66rem;
  background: #fbfdff;
  color: var(--ink);
  font: 400 1.0625rem / 1.45 var(--font-pixel);
  letter-spacing: .02em;
}
.dash-filters select, .dash-form select {
  appearance: none;
  padding-right: 2rem;
  background: #fbfdff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23304f64' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E") right .65rem center / 1rem no-repeat;
}
.dash-form textarea { resize: vertical; }
.dash-form input[readonly] { background: #eef3f7; }
.dash-form small, .dash-help { margin: 0; color: var(--dash-muted); line-height: 1.4; font-size: .875rem; font-weight: 400; }
.dash-password-form { border-top: 1px solid var(--dash-line); margin-top: 1.5rem; padding-top: 1rem; }
.dash-password-form h3 { margin: 0; }
.dash-empty { padding: .9rem; border: 1px dashed #b6cbd8; border-radius: .65rem; background: #f5f9fc; color: var(--dash-muted); }
.dash-empty p { margin: 0; }
.dash-empty a { display: inline-block; margin-top: .5rem; }
.dash-message { margin: .65rem 0 1rem; border: 1px solid #bfd5e1; border-radius: .55rem; padding: .64rem .77rem; background: #eff7fb; color: #174762; font-size: 1rem; }
.dash-message[data-tone="error"] { border-color: #e5aeb7; background: #fff2f3; color: #852d3b; }
.dash-message[data-tone="success"] { border-color: #a4d3be; background: #e9f7ef; color: #175741; }
.dash-result-count { margin: .25rem 0 .6rem; color: var(--dash-muted); font-size: .875rem; }
.dash-pages { display: flex; align-items: center; justify-content: space-between; gap: .65rem; margin-top: .9rem; color: var(--dash-muted); text-align: center; font-size: .875rem; }

.dash-table-wrap { overflow: auto; }
.dash-table { width: 100%; border-collapse: collapse; font-size: .975rem; text-align: left; }
.dash-table th, .dash-table td { padding: .68rem .58rem; border-bottom: 1px solid var(--dash-line); vertical-align: middle; }
.dash-table th { color: #3b586f; background: #f0f6fa; font-size: .94rem; }
.dash-table td { overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.dash-table tr:hover td { background: #f6fbfe; }
.dash-table th:last-child, .dash-table td:last-child { text-align: right; }
.dash-competition-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; margin-top: .85rem; }
.dash-competition { display: flex; flex-direction: column; gap: .62rem; overflow-wrap: anywhere; }
.dash-competition-meta { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: .45rem; color: var(--dash-muted); font-size: .85rem; font-weight: 750; }
.dash-competition h3, .dash-competition-count { margin: 0; }
.dash-competition-count { color: var(--dash-muted); font-size: .87rem; }
.dash-competition .dash-details { margin: 0 0 .15rem; }
.dash-inline-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; }
.dash-application-info { padding: .85rem; border: 1px solid #bcd8e2; border-radius: .6rem; background: #f1f9fc; }
.dash-application-info .dash-details { margin-top: 0; }

.dash-dialog { width: min(94%, 41rem); max-height: 88dvh; overflow: auto; color: var(--ink); border: 1px solid #acbecb; border-radius: 1rem; padding: clamp(1rem, 3vw, 1.65rem); background: white; box-shadow: 0 1rem 4rem #06182770; }
.dash-dialog-wide { width: min(95%, 52rem); }
.dash-competition-poster { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: .65rem; border: 1px solid var(--dash-line); background: #edf4f8; }
.dash-competition-desc { margin: 0; color: var(--dash-muted); font-size: .92rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.dash-poster-editor { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .85rem; align-items: start; padding: .85rem; border: 1px solid var(--dash-line); border-radius: .65rem; background: #f4f9fc; }
.dash-poster-preview-wrap { width: 9.5rem; }
.dash-poster-preview { width: 100%; max-height: 13rem; object-fit: cover; border-radius: .5rem; border: 1px solid #bfd3df; background: #fff; }
.dash-proof-preview-wrap { display: grid; gap: .6rem; margin: .75rem 0 0; padding: .75rem; border: 1px solid var(--dash-line); border-radius: .65rem; background: #f4f9fc; }
.dash-proof-preview { width: 100%; max-height: 22rem; object-fit: contain; border-radius: .5rem; border: 1px solid #bfd3df; background: #ffffff; cursor: zoom-in; }
.dash-image-lightbox { width: min(96vw, 64rem); max-width: none; max-height: 94dvh; padding: .85rem; border: 1px solid #486b82; border-radius: 1rem; background: #091726; box-shadow: 0 1.2rem 4rem #000000aa; }
.dash-image-lightbox::backdrop { background: #040d17d9; backdrop-filter: blur(4px); }
.dash-image-lightbox img { display: block; max-width: 100%; max-height: 84dvh; margin-inline: auto; border-radius: .55rem; object-fit: contain; background: #ffffff; }
.dash-image-lightbox .dialog-close button { background: #17344d; color: #ffffff; }
.dash-poster-controls { display: grid; gap: .45rem; justify-items: start; min-width: 0; }
.dash-poster-controls label { width: 100%; }
.dash-poster-controls input[type="file"] { padding: .4rem; }
.dash-prizes-editor { display: grid; gap: .65rem; min-width: 0; margin: 0; padding: .85rem; border: 1px solid var(--dash-line); border-radius: .65rem; background: #f7fafc; }
.dash-prizes-editor legend { padding-inline: .3rem; font-weight: 750; }
.dash-prizes-list { display: grid; gap: .55rem; }
.dash-prize-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr) auto; gap: .5rem; align-items: end; padding: .6rem; border: 1px solid var(--dash-line); border-radius: .5rem; background: #fff; }
.dash-prize-row .button { grid-column: auto; min-height: 2.75rem; }
.dash-dialog::backdrop { background: #081b2aba; }
.dash-dialog h2 { padding-right: 3rem; }
.dash-dialog .dialog-close { position: absolute; right: .75rem; top: .65rem; }
.dash-dialog .dialog-close button { min-width: 44px; min-height: 44px; padding: 0; border: 0; border-radius: .5rem; background: #eaf1f6; color: var(--ink); font-size: 1.4rem; }
.dash-details { display: grid; gap: .5rem; margin-block: .85rem; }
.dash-details div { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1fr); align-items: baseline; gap: .65rem; font-size: .975rem; }
.dash-details dt { font-weight: 750; color: var(--dash-muted); }
.dash-details dd { margin: 0; overflow-wrap: anywhere; white-space: pre-wrap; font-variant-numeric: tabular-nums; }
.dash-dialog > .dash-form { margin-top: 1rem; }
.dash-ticket { border: 1px dashed #3b9087; border-radius: .68rem; background: #f0faf6; padding: .8rem; overflow-wrap: anywhere; }
.dash-ticket h3 { margin: 0; }
.dash-ticket p { margin: .45rem 0 .7rem; font: 600 1.125rem / 1.5 var(--font-pixel); letter-spacing: .045em; }
.dash-assignments { min-width: 0; border: 1px solid var(--dash-line); border-radius: .65rem; padding: .7rem; margin: 0; }
.dash-assignments legend { padding-inline: .28rem; font-weight: 750; }
#assignment-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; max-height: 17rem; overflow: auto; scrollbar-gutter: stable; }
.dash-assignment-group { display: grid; align-content: start; padding: .4rem .5rem; background: #f0f6fa; border-radius: .45rem; }
.dash-assignment-group label { display: flex; align-items: center; gap: .4rem; min-height: 2.35rem; font-weight: 550; }
.dash-assignment-group input { width: 1rem; height: 1rem; flex-shrink: 0; accent-color: var(--dash-accent); }
.dash-account-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .65rem; margin: 0 0 1rem; }
.dash-account-metrics div { padding: .75rem .85rem; border: 1px solid #d6e8ef; border-radius: .65rem; background: #f1f8fb; }
.dash-account-metrics dt { color: var(--dash-muted); font-size: .875rem; font-weight: 700; }
.dash-account-metrics dd { margin: .2rem 0 0; font-size: clamp(1.25rem, 3vw, 1.85rem); font-weight: 850; line-height: 1.1; }
.dash-account-details { padding: .8rem; border: 1px solid var(--dash-line); border-radius: .65rem; background: #f3f8fb; }
.dash-account-actions { margin-top: 1.1rem; padding-top: .85rem; border-top: 1px solid var(--dash-line); }
.dash-account-actions h3 { margin: 0 0 .55rem; font-size: 1rem; }
.dash-button-danger { border: 1px solid #ad3446; background: #9b293d; color: white; }
.dash-button-danger:hover { background: #842035; }
.dash-delete-notice { margin: 0; padding: .7rem .85rem; border: 1px solid #eac2ca; border-radius: .6rem; background: #fff1f3; color: #782639; line-height: 1.45; }
.dash-db-live { display: inline-flex; align-items: center; gap: .45rem; margin: .3rem 0 0; color: var(--dash-muted); font-size: .9rem; font-weight: 650; }
.dash-live-dot { width: .6rem; height: .6rem; border-radius: 50%; background: #19a36f; box-shadow: 0 0 0 .22rem #19a36f33; }
.dash-db-toggle { display: inline-flex; align-items: center; gap: .4rem; font-size: .92rem; font-weight: 700; color: var(--ink); cursor: pointer; }
.dash-db-toggle input { width: 1rem; height: 1rem; accent-color: var(--dash-accent); }
.dash-db-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .85rem; margin-bottom: 1rem; }
.dash-db-meter { display: grid; align-content: start; gap: .42rem; }
.dash-db-label { color: var(--dash-muted); font-size: .9rem; font-weight: 700; }
.dash-db-meter > strong { font-size: clamp(1.35rem, 2.3vw, 1.85rem); line-height: 1.15; }
.dash-db-progress { width: 100%; height: .55rem; border: 0; border-radius: 999px; overflow: hidden; background: #e3eef3; appearance: none; }
.dash-db-progress::-webkit-progress-bar { background: #e3eef3; }
.dash-db-progress::-webkit-progress-value { background: #158b66; border-radius: 999px; }
.dash-db-progress::-moz-progress-bar { background: #158b66; }
.dash-db-progress[data-level="warn"]::-webkit-progress-value { background: #d18613; }
.dash-db-progress[data-level="warn"]::-moz-progress-bar { background: #d18613; }
.dash-db-progress[data-level="danger"]::-webkit-progress-value { background: #b52c3f; }
.dash-db-progress[data-level="danger"]::-moz-progress-bar { background: #b52c3f; }
.dash-db-sections { display: grid; gap: 1rem; }
.dash-cleanup-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; margin-top: .85rem; }
.dash-cleanup-item { display: flex; flex-direction: column; gap: .45rem; padding: .9rem; border: 1px solid var(--dash-line); border-radius: .75rem; background: #f8fbfd; }
.dash-cleanup-item-head { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; }
.dash-cleanup-item strong { font-size: 1rem; }
.dash-cleanup-item p { margin: 0; color: var(--dash-muted); font-size: .9rem; line-height: 1.45; }
.dash-cleanup-item .dash-inline-actions { margin-top: .45rem; }

@media (max-width: 1180px) {
  .dash-overview { grid-template-columns: minmax(0, 1fr); }
  .dash-db-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .dashboard-layout { grid-template-columns: minmax(0, 1fr); }
  .dash-sidebar { position: static; }
  .dash-identity { padding: .7rem .85rem; }
  .dash-nav { display: flex; flex-wrap: wrap; }
  .dash-nav a { padding-inline: .56rem; }
}

@media (max-width: 620px) {
  .dashboard-header-inner { min-height: 4.2rem; flex-wrap: wrap; gap: .45rem .8rem; padding-block: .6rem; }
  .dashboard-header .brand { gap: .38rem; }
  .dashboard-header .brand img { width: 2.2rem; }
  .dashboard-header .brand strong { font-size: 1.25rem; }
  .dashboard-header .brand small { font-size: .8rem; }
  .dashboard-header-actions { margin-inline-start: auto; font-size: .9rem; }
  .dashboard-header-actions .button { padding-inline: .55rem; }
  .dash-hero { min-height: 13rem; background-position: 78% center; border-radius: .85rem; }
  .dash-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
  .dash-account-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-competition-list, .dash-form { grid-template-columns: minmax(0, 1fr); }
  .dash-db-grid, .dash-cleanup-grid { grid-template-columns: minmax(0, 1fr); }
  .dash-poster-editor, .dash-prize-row { grid-template-columns: minmax(0, 1fr); }
  .dash-poster-preview-wrap { width: min(100%, 12rem); }
  .dash-activity-row { grid-template-columns: minmax(0, 1fr) auto; }
  .dash-activity-row > div { grid-column: 1 / -1; }
  .dash-table { min-width: 31rem; }
}

@media print {
  .dashboard-page > :not(#registration-dialog),
  #registration-dialog .dialog-close,
  #registration-dialog #download-payment-proof,
  #registration-dialog #view-payment-proof,
  #registration-dialog #payment-proof-preview-wrap,
  #registration-dialog #delete-payment-proof,
  #registration-dialog #payment-proof-actions,
  #registration-dialog #registration-qr-panel,
  #registration-dialog #review-form,
  #registration-dialog #review-message,
  #registration-dialog .dash-inline-actions { display: none !important; }
  #registration-dialog { position: static; inset: auto; width: 100%; max-height: none; overflow: visible; box-shadow: none; }
  #registration-dialog::backdrop { background: none; }
}
