:root { --admin-ink: #1d2922; --admin-muted: #77827a; --admin-green: #1d5a40; --admin-green-dark: #143e2d; --admin-line: #e7ebe5; --admin-soft: #f5f7f3; --admin-gold: #e5b46e; --admin-shadow: 0 16px 40px rgba(27,44,35,.07); }
.admin-body { min-height: 100vh; color: var(--admin-ink); background: #f7f8f6; font-family: 'DM Sans', sans-serif; }
.admin-body * { box-sizing: border-box; }
.admin-shell { min-height: 100vh; }
.admin-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 15; display: flex; width: 265px; flex-direction: column; overflow-y: auto; padding: 27px 17px 20px; border-right: 1px solid var(--admin-line); background: white; }
.admin-brand { display: flex; align-items: center; gap: 12px; min-height: 55px; margin: 0 6px 32px; color: var(--admin-green-dark); font-family: Manrope, sans-serif; font-size: 11px; font-weight: 800; letter-spacing: .035em; line-height: 1.4; }
.admin-brand img { width: 43px; height: 45px; object-fit: contain; }
.admin-brand small { display: block; margin-top: 4px; color: #849188; font-family: 'DM Sans',sans-serif; font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.sidebar-label { margin: 15px 9px 8px; color: #9aa39c; font-size: 9px; font-weight: 800; letter-spacing: .13em; }
.sidebar-link { display: flex; align-items: center; gap: 12px; min-height: 40px; padding: 9px 11px; border-radius: 7px; color: #59665d; font-size: 12px; font-weight: 600; }
.sidebar-link i { width: 17px; color: #849189; text-align: center; }
.sidebar-link:hover, .sidebar-link.is-active { color: var(--admin-green); background: #edf4ef; }
.sidebar-link.is-active i { color: var(--admin-green); }
.sidebar-public { margin-top: auto; border-top: 1px solid var(--admin-line); border-radius: 0; padding-top: 18px; }
.admin-main { min-height: 100vh; margin-left: 265px; padding: 36px clamp(22px, 5vw, 64px) 65px; }
.admin-topbar { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; margin-bottom: 30px; }
.admin-topbar h1 { margin: 5px 0 5px; font-family: Manrope, sans-serif; font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -.04em; }
.admin-topbar p { margin: 0; color: var(--admin-muted); font-size: 13px; }
.admin-eyebrow { color: var(--admin-green); font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.topbar-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.logout-form, .delete-form { display: inline-flex; margin: 0; }
.admin-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 15px; border: 1px solid transparent; border-radius: 7px; font-family: 'DM Sans',sans-serif; font-size: 12px; font-weight: 700; cursor: pointer; transition: background .18s ease, transform .18s ease; }
.admin-button:hover { transform: translateY(-1px); }
.admin-button-primary { color: white; background: var(--admin-green); }
.admin-button-primary:hover { color: white; background: var(--admin-green-dark); }
.admin-button-light { border-color: var(--admin-line); color: #526057; background: white; }
.admin-button-light:hover { color: var(--admin-green); background: #f8faf7; }
.admin-button-white { color: var(--admin-green-dark); background: white; }
.admin-button-white:hover { color: var(--admin-green-dark); background: #f5f5ee; }
.admin-button-danger { border-color: #f2dfdd; color: #a63d36; background: #fff8f7; }
.admin-button-danger:hover { background: #feeeec; }
.admin-button-small { min-height: 32px; padding: 0 10px; font-size: 11px; }
.admin-welcome { position: relative; display: flex; min-height: 215px; align-items: center; justify-content: space-between; overflow: hidden; padding: 30px 35px; border-radius: 12px; color: white; background: linear-gradient(110deg, #173e2d, #266748); box-shadow: var(--admin-shadow); }
.admin-welcome > div { position: relative; z-index: 1; max-width: 610px; }
.admin-welcome > div > span { color: #e8c38f; font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.admin-welcome h2 { margin: 9px 0 7px; font-family: Manrope,sans-serif; font-size: clamp(21px, 3vw, 30px); letter-spacing: -.035em; }
.admin-welcome p { max-width: 500px; margin: 0 0 17px; color: rgba(255,255,255,.77); font-size: 12px; }
.welcome-mark { position: absolute; top: -45px; right: 12%; display: grid; width: 265px; height: 265px; place-items: center; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; color: rgba(255,255,255,.10); font-size: 130px; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 17px 0 38px; }
.stats-grid article { position: relative; min-height: 98px; padding: 17px 19px; border: 1px solid var(--admin-line); border-radius: 9px; background: white; }
.stats-grid article span { display: block; color: var(--admin-muted); font-size: 11px; font-weight: 600; }
.stats-grid article strong { display: block; margin-top: 5px; font-family: Manrope,sans-serif; font-size: 25px; }
.stats-grid article > i { position: absolute; top: 21px; right: 20px; color: #d3e2d7; font-size: 22px; }
.admin-section { margin-top: 25px; }
.admin-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 17px; }
.admin-section-heading h2 { margin: 4px 0 0; font-family: Manrope,sans-serif; font-size: 21px; letter-spacing: -.03em; }
.section-count { color: var(--admin-muted); font-size: 11px; }
.admin-section-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.admin-section-card { display: flex; min-height: 76px; align-items: center; gap: 13px; padding: 13px 15px; border: 1px solid var(--admin-line); border-radius: 9px; color: var(--admin-ink); background: white; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.admin-section-card:hover { transform: translateY(-2px); border-color: #ccdbcf; box-shadow: 0 9px 24px rgba(27,44,35,.06); }
.admin-section-card .section-card-copy small { line-height: 1.45; }
.admin-guide { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 18px; padding: 15px 17px; border: 1px solid #dce9de; border-radius: 8px; color: #355342; background: #f1f7f1; }
.admin-guide > i { margin-top: 2px; color: var(--admin-green); }
.admin-guide strong { display: block; font-size: 12px; }
.admin-guide p { margin: 4px 0 0; color: #5f7064; font-size: 11px; line-height: 1.65; }
.section-icon { display: grid; flex: 0 0 39px; width: 39px; height: 39px; place-items: center; border-radius: 10px; color: var(--admin-green); background: #edf4ef; }
.section-card-copy { flex: 1; }
.section-card-copy strong, .section-card-copy small { display: block; }
.section-card-copy strong { font-family: Manrope,sans-serif; font-size: 12px; }
.section-card-copy small { margin-top: 3px; color: var(--admin-muted); font-size: 10px; }
.section-number { display: grid; min-width: 27px; height: 27px; place-items: center; border-radius: 20px; color: var(--admin-green); background: #edf4ef; font-size: 10px; font-weight: 800; }
.section-arrow { color: #9aa49c; font-size: 10px; }
.admin-breadcrumb { color: var(--admin-muted); font-size: 11px; }
.breadcrumb-separator { padding: 0 8px; color: #afb7b0; font-size: 11px; }
.admin-success { margin-bottom: 20px; padding: 12px 15px; border: 1px solid #d5e8d9; border-radius: 7px; color: #285d38; background: #f0f8f1; font-size: 12px; }
.admin-empty { display: grid; min-height: 270px; justify-items: center; align-content: center; padding: 28px; border: 1px dashed #d7ded7; border-radius: 10px; background: rgba(255,255,255,.65); text-align: center; }
.admin-empty > span { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 50%; color: var(--admin-green); background: #edf4ef; font-size: 17px; }
.admin-empty h3 { margin: 13px 0 4px; font-family: Manrope,sans-serif; font-size: 16px; }
.admin-empty p { margin: 0 0 16px; color: var(--admin-muted); font-size: 12px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--admin-line); border-radius: 9px; background: white; }
.admin-table { width: 100%; border-collapse: collapse; text-align: left; }
.admin-table th { padding: 12px 14px; color: #79847c; background: #f7f9f6; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.admin-table td { padding: 13px 14px; border-top: 1px solid #eff1ed; color: #68746c; font-size: 11px; vertical-align: middle; }
.admin-table td strong, .admin-table td small { display: block; }
.admin-table td strong { max-width: 330px; overflow: hidden; color: var(--admin-ink); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.admin-table td small { max-width: 330px; overflow: hidden; margin-top: 4px; color: var(--admin-muted); text-overflow: ellipsis; white-space: nowrap; }
.admin-photo-thumbnail { display: block; width: 76px; height: 56px; border-radius: 6px; object-fit: cover; background: var(--admin-soft); }
.gallery-upload { display: grid; justify-items: start; gap: 12px; margin-bottom: 28px; }
.gallery-drop { display: grid; width: 100%; justify-items: center; gap: 10px; padding: 26px 18px; border: 2px dashed #9ab9a3; border-radius: 12px; background: #f2f8f2; text-align: center; }
.gallery-drop.is-dragging { border-color: var(--admin-green); background: #e0f0e2; }
.gallery-drop > i { color: var(--admin-green); font-size: 30px; }
.gallery-drop label { color: var(--admin-green-dark); font-size: 17px; font-weight: 700; }
.gallery-drop input { max-width: 100%; color: var(--admin-ink); }
.gallery-drop small, .gallery-drop p { margin: 0; color: var(--admin-muted); font-size: 13px; }
.admin-upload-error { margin-bottom: 20px; padding: 12px 15px; border: 1px solid #f0d7d4; border-radius: 7px; color: #9c3932; background: #fff7f6; }
.editor-intro .admin-button { margin-top: 14px; }
.status-pill { display: inline-flex; padding: 5px 8px; border-radius: 20px; color: #4b6654; background: #eef4ef; font-size: 9px; font-weight: 700; white-space: nowrap; }
.status-featured { color: #85642b; background: #fbf2df; }
.row-actions { display: flex; align-items: center; gap: 6px; }
.editor-card { max-width: 860px; padding: clamp(20px,4vw,36px); border: 1px solid var(--admin-line); border-radius: 10px; background: white; box-shadow: 0 8px 26px rgba(27,44,35,.03); }
.editor-intro { margin-bottom: 25px; padding-bottom: 20px; border-bottom: 1px solid var(--admin-line); }
.editor-intro h2 { margin: 5px 0 5px; font-family: Manrope,sans-serif; font-size: 19px; }
.editor-intro p { margin: 0; color: var(--admin-muted); font-size: 12px; }
.admin-form { display: grid; gap: 16px; }
.form-field { display: grid; gap: 6px; }
.form-field label { color: #46534a; font-size: 11px; font-weight: 700; }
.form-field input, .form-field textarea, .form-field select { display: block; width: 100%; max-width: none; min-height: 41px; padding: 9px 11px; border: 1px solid #dfe5df; border-radius: 6px; outline: none; color: var(--admin-ink); background: white; font-family: 'DM Sans',sans-serif; font-size: 12px; transition: border-color .18s ease, box-shadow .18s ease; }
.form-field textarea { min-height: 90px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus { border-color: #8eb29b; box-shadow: 0 0 0 3px rgba(29,90,64,.08); }
.form-field .field-validation-error { color: #a63d36; font-size: 10px; }
.form-field .image-guidance { color: var(--admin-muted); font-size: 10px; line-height: 1.55; }
.form-field input[type="file"] { padding: 7px; background: #fbfcfa; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-divider { padding: 8px 0 0; border-top: 1px solid var(--admin-line); color: var(--admin-green); font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.check-field { display: flex; align-items: center; gap: 8px; color: #536057; font-size: 11px; }
.check-field input { width: 16px; height: 16px; accent-color: var(--admin-green); }
.editor-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.validation-summary:not(:empty) { padding: 11px 13px; border: 1px solid #f0d7d4; border-radius: 6px; color: #9c3932; background: #fff7f6; font-size: 11px; }
.validation-summary ul { margin: 0; padding-left: 18px; }
.login-page { display: grid; min-height: 100vh; place-items: center; padding: 24px; background: radial-gradient(ellipse at 70% 20%,rgba(38,103,72,.25),transparent 40%), linear-gradient(145deg,#173e2d,#10291e); }
.login-card { width: min(100%,430px); padding: 38px; border: 1px solid rgba(255,255,255,.65); border-radius: 13px; background: white; box-shadow: 0 30px 100px rgba(0,0,0,.2); }
.login-card .admin-brand { margin: 0 0 35px; }
.login-card .admin-eyebrow { margin-bottom: 7px; }
.login-card h1 { margin: 0 0 7px; font-family: Manrope,sans-serif; font-size: 27px; letter-spacing: -.04em; }
.login-intro { margin: 0 0 22px; color: var(--admin-muted); font-size: 12px; }
.login-card .admin-form { gap: 14px; }
.login-card .admin-button { width: 100%; min-height: 45px; margin-top: 4px; }
.login-back { display: inline-flex; gap: 8px; margin-top: 23px; color: var(--admin-muted); font-size: 11px; }
.login-back:hover { color: var(--admin-green); }
.admin-alert { margin: 12px 0 18px; padding: 11px 12px; border: 1px solid #f0dfc2; border-radius: 6px; color: #775921; background: #fff9ee; font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; }
.admin-alert code { font-size: 10px; }

.admin-body { --admin-muted: #4e6054; font-family: 'Inter', 'Segoe UI', Arial, sans-serif; font-size: 16px; line-height: 1.55; }
.admin-brand, .admin-brand small, .admin-topbar h1, .admin-button, .admin-welcome h2, .stats-grid article strong, .admin-section-heading h2, .section-card-copy strong, .admin-empty h3, .editor-intro h2, .form-field input, .form-field textarea, .form-field select, .login-card h1, .gallery-drop input { font-family: inherit; letter-spacing: normal; }
.admin-brand { font-size: 14px; line-height: 1.35; }
.admin-brand small, .sidebar-label, .admin-eyebrow, .admin-welcome > div > span { color: #4e6054; font-size: 12px; font-weight: 700; letter-spacing: .035em; }
.admin-welcome > div > span { color: #f3d9b4; }
.admin-topbar h1 { font-size: clamp(26px, 3vw, 34px); font-weight: 700; line-height: 1.2; }
.admin-welcome h2 { font-size: clamp(23px, 3vw, 30px); font-weight: 700; line-height: 1.25; }
.admin-section-heading h2, .editor-intro h2 { font-size: 21px; font-weight: 700; line-height: 1.3; }
.login-card h1 { font-size: 28px; font-weight: 700; }
.sidebar-link, .admin-button, .admin-topbar p, .admin-welcome p, .admin-empty p, .editor-intro p, .login-intro { font-size: 15px; line-height: 1.5; }
.sidebar-link, .admin-button { font-weight: 600; }
.admin-button { min-height: 44px; padding: 8px 15px; text-align: center; }
.admin-button-small { min-height: 38px; padding: 6px 10px; font-size: 14px; }
.stats-grid article span, .section-count, .admin-breadcrumb, .breadcrumb-separator, .admin-success, .check-field, .login-back { font-size: 14px; }
.admin-guide strong, .section-card-copy strong, .admin-table td strong, .form-field label { font-size: 15px; font-weight: 600; }
.admin-guide p, .section-card-copy small, .admin-table th, .admin-table td, .status-pill, .form-divider, .validation-summary:not(:empty), .admin-alert, .gallery-drop small, .gallery-drop p { font-size: 14px; line-height: 1.55; }
.admin-guide p, .form-field .image-guidance, .admin-table td { color: #4e6054; }
.admin-table th { color: #4e6054; font-weight: 700; letter-spacing: .025em; }
.admin-table td small { font-size: 14px; }
.section-number { min-width: 30px; height: 30px; font-size: 13px; }
.form-field input, .form-field textarea, .form-field select { min-height: 44px; font-size: 16px; line-height: 1.5; }
.form-field .field-validation-error, .form-field .image-guidance, .admin-alert code { font-size: 14px; line-height: 1.5; }
.gallery-drop label { font-size: 17px; font-weight: 600; }
.gallery-drop input { font-size: 15px; }
.admin-body a:focus-visible, .admin-body button:focus-visible, .admin-body input:focus-visible, .admin-body textarea:focus-visible, .admin-body select:focus-visible, .admin-body summary:focus-visible { outline: 3px solid #b47621; outline-offset: 2px; }
.dashboard-nav-sections { display: none; }
.dashboard-main { max-width: 1800px; }
.dashboard-topbar { align-items: center; }
.dashboard-banner { position: relative; overflow: hidden; padding: 28px 32px; border-radius: 16px; color: #fff; background: linear-gradient(115deg, #123f30, #267251); box-shadow: 0 14px 32px rgba(20,62,45,.13); }
.dashboard-banner > div { position: relative; z-index: 1; }
.dashboard-banner-label { color: #f2d69f; font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.dashboard-banner h2 { margin: 8px 0 6px; font-size: clamp(24px, 2.8vw, 32px); line-height: 1.2; }
.dashboard-banner p { margin: 0; color: #e4f0e8; font-size: 15px; }
.dashboard-banner-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 21px; }
.dashboard-banner-actions a { display: inline-flex; min-height: 42px; align-items: center; gap: 9px; padding: 8px 13px; border: 1px solid rgba(255,255,255,.32); border-radius: 8px; color: #fff; background: rgba(255,255,255,.1); font-size: 14px; font-weight: 600; }
.dashboard-banner-actions a:hover { color: #fff; background: rgba(255,255,255,.22); }
.dashboard-banner-icon { position: absolute; right: 7%; bottom: -34px; color: rgba(255,255,255,.08); font-size: 180px; transform: rotate(-20deg); }
.dashboard-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 18px 0; }
.dashboard-stat { position: relative; display: grid; min-width: 0; gap: 5px; padding: 18px 18px 16px; border: 1px solid #e1e9e2; border-radius: 13px; color: var(--admin-ink); background: #fff; box-shadow: 0 5px 20px rgba(27,44,35,.035); }
.dashboard-stat:hover { color: var(--admin-ink); border-color: #b6d2bf; box-shadow: 0 10px 24px rgba(27,44,35,.08); }
.dashboard-stat-icon { display: grid; width: 38px; height: 38px; margin-bottom: 5px; place-items: center; border-radius: 11px; color: #1d6948; background: #e9f4eb; }
.dashboard-stat:nth-child(2) .dashboard-stat-icon { color: #a76a1e; background: #fdf2df; }
.dashboard-stat:nth-child(3) .dashboard-stat-icon { color: #965048; background: #fbecea; }
.dashboard-stat:nth-child(4) .dashboard-stat-icon { color: #3e668c; background: #eaf1fa; }
.dashboard-stat-label { color: #506258; font-size: 14px; font-weight: 600; }
.dashboard-stat strong { font-size: 30px; line-height: 1.15; }
.dashboard-stat small { color: #5e6f64; font-size: 12px; }
.dashboard-insights { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 14px; }
.dashboard-panel { min-width: 0; padding: 24px; border: 1px solid #e1e9e2; border-radius: 14px; background: #fff; box-shadow: 0 5px 20px rgba(27,44,35,.035); }
.dashboard-panel-heading { display: flex; justify-content: space-between; gap: 12px; }
.dashboard-panel-heading > i { color: #b9d1c1; font-size: 23px; }
.dashboard-panel h2 { margin: 5px 0; font-size: 19px; line-height: 1.3; }
.dashboard-panel-heading p, .dashboard-sections .admin-section-heading p { margin: 0; color: #5e6f64; font-size: 14px; }
.dashboard-chart { display: grid; gap: 12px; margin: 23px 0 0; padding: 0; list-style: none; }
.dashboard-chart-label { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 6px; color: #43594c; font-size: 14px; }
.dashboard-chart-label a { color: inherit; }
.dashboard-chart-label a:hover { color: var(--admin-green); }
.dashboard-chart-label strong { color: var(--admin-ink); }
.dashboard-chart-track { height: 8px; overflow: hidden; border-radius: 10px; background: #edf2ed; }
.dashboard-chart-track > span { display: block; height: 100%; border-radius: inherit; background: #3b8b65; }
.dashboard-chart-track .completed { background: #377c9c; }
.dashboard-chart-track .other { background: #b78942; }
.dashboard-project-total { display: flex; align-items: baseline; gap: 8px; margin-top: 21px; color: #5e6f64; font-size: 14px; }
.dashboard-project-total strong { color: var(--admin-ink); font-size: 30px; line-height: 1; }
.dashboard-project-chart { margin-top: 17px; }
.dashboard-panel-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 17px; color: var(--admin-green); font-size: 14px; font-weight: 700; }
.dashboard-empty { margin: 24px 0; color: #5e6f64; font-size: 14px; }
.dashboard-sections { margin-top: 32px; }
.dashboard-sections .admin-section-heading p { margin-top: 5px; }
.dashboard-sections .admin-section-card { border-radius: 12px; }
.admin-body a, .admin-body a:hover, .admin-body a:focus { text-decoration: none; }
.dashboard-chart-controls { display: grid; gap: 6px; margin-top: 20px; color: #43594c; font-size: 13px; font-weight: 600; }
.dashboard-chart-controls select { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid #d5e2d9; border-radius: 9px; color: var(--admin-ink); background: #fff; }
.dashboard-chart-controls .select2-container { width: 100% !important; }
.dashboard-chart-controls .select2-container--default .select2-selection--single { height: 44px; border: 1px solid #d5e2d9; border-radius: 9px; }
.dashboard-chart-controls .select2-container--default .select2-selection--single .select2-selection__rendered { padding-left: 12px; line-height: 42px; }
.dashboard-chart-controls .select2-container--default .select2-selection--single .select2-selection__arrow { height: 42px; }
.dashboard-chart-controls .select2-container--focus .select2-selection--single { outline: 3px solid #b47621; outline-offset: 2px; }
.dashboard-chart-canvas { position: relative; height: 280px; margin-top: 20px; }
.dashboard-chart-canvas[hidden] { display: none; }
.dashboard-project-canvas { height: 220px; }
.dashboard-chart.chart-rendered .dashboard-chart-track { display: none; }
.dashboard-chart.chart-rendered { gap: 7px; margin-top: 15px; }
.dashboard-project-chart .dashboard-chart-label > span::before { display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 50%; background: #398563; content: ''; }
.dashboard-project-chart .completed .dashboard-chart-label > span::before { background: #377c9c; }
.dashboard-project-chart .other .dashboard-chart-label > span::before { background: #b78942; }
.dashboard-chart-label a:focus-visible { outline: 3px solid #b47621; outline-offset: 2px; }
@media (max-width: 1050px) { .dashboard-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dashboard-insights { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .admin-sidebar { width: 215px; padding-right: 12px; padding-left: 12px; } .admin-main { margin-left: 215px; padding-right: 25px; padding-left: 25px; } }
@media (max-width: 680px) { .admin-sidebar { position: static; width: auto; max-height: 300px; padding: 15px; border-right: 0; border-bottom: 1px solid var(--admin-line); } .admin-brand { margin: 0 6px 10px; } .sidebar-label { margin-top: 8px; } .sidebar-public { margin-top: 8px; border-top: 0; padding-top: 9px; } .admin-main { margin-left: 0; padding: 24px 17px 45px; } .admin-topbar { flex-direction: column; } .topbar-actions { width: 100%; } .admin-welcome { min-height: 190px; padding: 24px; } .welcome-mark { right: -80px; } .admin-section-grid { grid-template-columns: 1fr; } .stats-grid { gap: 8px; } .stats-grid article { padding: 13px; } .stats-grid article > i { top: 14px; right: 13px; font-size: 16px; } .stats-grid article strong { font-size: 21px; } .form-grid { grid-template-columns: 1fr; gap: 16px; } .login-card { padding: 29px 24px; } .admin-table { min-width: 680px; } }
@media (max-width: 680px) {
    .dashboard-shell .admin-sidebar { max-height: none; overflow: visible; }
    .dashboard-nav-desktop { display: none; }
    .dashboard-nav-sections { display: block; }
    .dashboard-nav-sections summary { display: flex; min-height: 44px; align-items: center; justify-content: space-between; padding: 9px 11px; border-radius: 7px; color: var(--admin-green); background: #edf4ef; font-size: 15px; font-weight: 600; cursor: pointer; list-style: none; }
    .dashboard-nav-sections summary::-webkit-details-marker { display: none; }
    .dashboard-nav-sections[open] summary i { transform: rotate(180deg); }
    .dashboard-nav-sections .sidebar-link { min-height: 44px; }
    .dashboard-banner { padding: 23px 20px; }
    .dashboard-banner-icon { right: -25px; font-size: 120px; }
    .dashboard-stats { gap: 10px; }
    .dashboard-stat { padding: 14px; }
    .dashboard-stat strong { font-size: 25px; }
    .dashboard-panel { padding: 19px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; } }
