* { box-sizing: border-box; }
.app-body,
body {
    margin: 0;
    font-family: 'Inter', 'Segoe UI', Tahoma, sans-serif;
    background:
        radial-gradient(circle at 8% 12%, rgba(11, 61, 46, 0.18), transparent 34%),
        radial-gradient(circle at 92% 84%, rgba(241, 180, 28, 0.18), transparent 36%),
        linear-gradient(140deg, #eef5f1 0%, #f8fafc 58%, #edf1fb 100%);
    color: var(--text);
}
h1, h2, h3, h4 {
    font-family: 'Manrope', 'Segoe UI', Tahoma, sans-serif;
    letter-spacing: -0.02em;
}
.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.74);
    color: var(--brand-dark);
    padding: 14px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(11, 61, 46, 0.08);
    backdrop-filter: blur(14px);
}
.brand-wrap { display: flex; gap: 12px; align-items: center; }
.brand-mark-wrap {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(145deg, var(--brand-dark), var(--brand));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 18px 32px rgba(6, 26, 20, 0.14);
}
.brand-logo { width: 40px; height: 40px; object-fit: contain; }
.app-kicker {
    margin: 0 0 4px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.7rem;
    color: #32584b;
    font-weight: 800;
}
.topbar h1 { margin: 0; font-size: 1.28rem; color: #102d24; }
.topbar small { color: #607169; font-weight: 600; }
.user-wrap { display: flex; gap: 16px; align-items: center; }
.user-chip {
    display: flex;
    flex-direction: column;
    min-width: 150px;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(12, 49, 38, 0.06);
    border: 1px solid rgba(11, 61, 46, 0.08);
}
.user-chip-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #5e7168;
    margin-bottom: 2px;
}
.btn-link {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    background: linear-gradient(120deg, var(--brand-dark), var(--brand));
    border-radius: 12px;
    padding: 11px 16px;
    box-shadow: 0 12px 24px rgba(6, 26, 20, 0.12);
}
.layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    min-height: calc(100vh - 85px);
}
.sidebar {
    background: rgba(255, 255, 255, 0.72);
    border-right: 1px solid rgba(11, 61, 46, 0.08);
    padding: 24px 16px;
    backdrop-filter: blur(10px);
}
.sidebar-header {
    padding: 10px 12px 18px;
}
.sidebar-header p {
    margin: 0 0 4px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.72rem;
    color: #4c6a5d;
    font-weight: 800;
}
.sidebar-header strong {
    color: #133229;
    font-size: 1rem;
}
.nav-item {
    display: block;
    padding: 13px 14px;
    color: #334155;
    border-radius: 14px;
    text-decoration: none;
    margin-bottom: 8px;
    border: 1px solid transparent;
    font-weight: 600;
    transition: all 180ms ease;
}
.nav-item:hover,
.nav-item.active {
    background: rgba(11, 61, 46, 0.08);
    color: var(--brand-dark);
    border-color: rgba(11, 61, 46, 0.1);
    transform: translateX(2px);
}
.content { padding: 28px; }
.card {
    background: rgba(255, 255, 255, 0.84);
    border-radius: 20px;
    padding: 22px;
    border: 1px solid rgba(11, 61, 46, 0.08);
    margin-bottom: 18px;
    box-shadow: 0 24px 50px rgba(6, 26, 20, 0.08);
    backdrop-filter: blur(8px);
}
.card h2,
.card h3 {
    margin-top: 0;
    color: #102d24;
}
.card p,
.card small {
    color: #607169;
}
.card:first-of-type {
    background:
        radial-gradient(circle at top right, rgba(241, 180, 28, 0.18), transparent 26%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.84));
}
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.metric {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--brand-dark);
    letter-spacing: -0.04em;
    margin-top: 8px;
}
label {
    display: block;
    margin: 8px 0 8px;
    font-weight: 700;
    color: #18382d;
}
input, select, textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(17, 24, 39, 0.1);
    background: rgba(255, 255, 255, 0.92);
    color: #152f29;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: rgba(11, 61, 46, 0.32);
    box-shadow: 0 0 0 4px rgba(11, 61, 46, 0.08);
    background: #fff;
}
input[type="file"] {
    padding: 8px;
}
textarea { min-height: 100px; }
button, .btn {
    background: linear-gradient(120deg, var(--brand-dark), var(--brand));
    color: #fff;
    border: 0;
    border-radius: 14px;
    padding: 12px 16px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 14px 28px rgba(6, 26, 20, 0.12);
    transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}
button:hover, .btn:hover { transform: translateY(-1px); filter: brightness(1.02); }
button.secondary, .btn.secondary {
    background: rgba(18, 28, 40, 0.9);
}
table {
    width: 100%;
    border-collapse: collapse;
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    border: 1px solid rgba(11, 61, 46, 0.08);
}
th, td { text-align: left; padding: 14px 12px; border-bottom: 1px solid #eef2f7; }
th {
    font-size: 0.76rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #607169;
    background: rgba(11, 61, 46, 0.03);
}
tr:hover td { background: rgba(11, 61, 46, 0.025); }
.flash { padding: 14px 16px; border-radius: 14px; margin-bottom: 14px; border: 1px solid transparent; }
.flash-success { background: #d1fae5; color: #065f46; }
.flash-error { background: #fee2e2; color: #991b1b; }
.pagination {
    margin-top: 16px;
    display: flex;
    gap: 10px;
    align-items: center;
    color: #607169;
}
.admin-hero {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 20px;
    align-items: end;
}
.admin-hero-kicker {
    margin: 0 0 6px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.72rem;
    color: #1f477b;
    font-weight: 800;
}
.admin-hero h2 {
    margin-bottom: 8px;
    font-size: 2rem;
}
.admin-page-header {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 16px;
    align-items: start;
}
.admin-page-header h2 {
    margin-bottom: 8px;
}
.admin-page-meta {
    display: grid;
    gap: 10px;
}
.admin-page-meta span {
    display: block;
    border-radius: 14px;
    padding: 12px 14px;
    background: rgba(11, 61, 46, 0.06);
    color: #1c3b30;
    border: 1px solid rgba(11, 61, 46, 0.08);
    font-size: 0.92rem;
}
.admin-panel {
    background: rgba(255, 255, 255, 0.88);
}
.table-scroll {
    overflow-x: auto;
}
.status-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 0.84rem;
    font-weight: 700;
    border: 1px solid transparent;
}
.status-active {
    background: rgba(16, 185, 129, 0.12);
    color: #065f46;
    border-color: rgba(16, 185, 129, 0.25);
}
.status-inactive {
    background: rgba(239, 68, 68, 0.12);
    color: #991b1b;
    border-color: rgba(239, 68, 68, 0.25);
}
.toggle-form {
    margin: 0;
}
.toggle-btn {
    position: relative;
    min-width: 118px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, background 220ms ease;
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.12);
}
.toggle-btn:hover {
    transform: translateY(-1px);
}
.toggle-btn .toggle-label {
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 800;
}
.toggle-btn .toggle-knob {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.2);
    transition: transform 220ms ease;
}
.toggle-btn.is-on {
    background: linear-gradient(120deg, #0f766e, #10b981);
    color: #f0fdfa;
}
.toggle-btn.is-on .toggle-knob {
    transform: translateX(2px);
}
.toggle-btn.is-off {
    background: linear-gradient(120deg, #9f1239, #ef4444);
    color: #fff1f2;
}
.toggle-btn.is-off .toggle-knob {
    transform: translateX(-2px);
}
.admin-search label {
    margin-top: 0;
}
.admin-bento-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 4px;
}
.admin-tile {
    text-decoration: none;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(11, 61, 46, 0.08);
    border-radius: 18px;
    padding: 18px;
    color: #16352b;
    min-height: 170px;
    box-shadow: 0 18px 34px rgba(8, 24, 17, 0.08);
    transition: transform 160ms ease, box-shadow 160ms ease;
}
.admin-tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 38px rgba(8, 24, 17, 0.13);
}
.admin-tile-lg {
    grid-column: span 2;
    min-height: 200px;
    background:
        radial-gradient(circle at 85% 10%, rgba(241, 180, 28, 0.2), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.84));
}
.admin-tile h3 {
    margin: 12px 0 8px;
}
.admin-tile p {
    margin: 0;
    color: #607169;
}
.admin-tile-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(11, 61, 46, 0.1);
    color: #103126;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    font-weight: 800;
}
.admin-metric-card {
    text-align: left;
}
.admin-banner {
    margin-top: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    background:
        linear-gradient(120deg, rgba(0, 26, 56, 0.95), rgba(11, 61, 46, 0.88));
}
.admin-banner h3,
.admin-banner p {
    color: #f8fbff;
}
.admin-banner p {
    margin-bottom: 0;
    opacity: 0.9;
}
.admin-banner .btn {
    white-space: nowrap;
    background: #f8fbff;
    color: #08221a;
    box-shadow: none;
}
.login-body {
    font-family: 'Manrope', 'Segoe UI', Tahoma, sans-serif;
    min-height: 100vh;
    background:
        radial-gradient(circle at 8% 12%, rgba(11, 61, 46, 0.2), transparent 36%),
        radial-gradient(circle at 92% 84%, rgba(241, 180, 28, 0.22), transparent 38%),
        linear-gradient(140deg, #eef5f1 0%, #f8fafc 58%, #edf1fb 100%);
}
.login-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}
.login-panel {
    width: 100%;
    max-width: 460px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(11, 61, 46, 0.12);
    border-radius: 20px;
    padding: 24px;
    backdrop-filter: blur(8px);
    box-shadow: 0 20px 50px rgba(6, 26, 20, 0.12);
}
.login-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}
.login-logo {
    width: 66px;
    height: 66px;
    object-fit: contain;
    background: linear-gradient(145deg, #0b3d2e, #145443);
    border-radius: 14px;
    padding: 8px;
}
.login-kicker {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
    color: #0b3d2e;
    font-weight: 700;
}
.login-brand h1 {
    margin: 4px 0 0;
    font-size: 1.2rem;
    color: #102d24;
}
.login-header h2 {
    margin: 0;
    font-size: 1.4rem;
    color: #152f29;
}
.login-header p {
    margin: 8px 0 14px;
    color: #5f6f68;
}
.login-form {
    margin-top: 10px;
}
.password-wrap {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    align-items: center;
}
.password-toggle {
    margin-top: 0;
    padding: 10px 12px;
    background: #153b30;
}
.login-submit {
    width: 100%;
    margin-top: 14px;
    padding: 12px 14px;
    background: linear-gradient(120deg, #0b3d2e, #145443);
}
.login-help {
    margin: 14px 0 0;
    color: #677a72;
    font-size: 0.88rem;
}
.login-lock-note {
    margin: 8px 0 0;
    color: #7a5610;
    font-size: 0.85rem;
}
.dbx-screen {
    max-width: 760px;
    margin: 0 auto;
}
.dbx-header-block {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    margin-bottom: 14px;
}
.dbx-kicker {
    margin: 0 0 6px;
    color: #5b6574;
    font-size: 0.82rem;
    font-weight: 600;
}
.dbx-header-block h2 {
    margin: 0;
    color: #001a38;
    font-size: 1.7rem;
    font-weight: 800;
}
.dbx-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.dbx-avatar {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #d5e3ff;
    color: #001b3c;
    font-size: 0.85rem;
    font-weight: 800;
}
.dbx-logout {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #ba1a1a;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 7px 10px;
    border-radius: 9px;
}
.dbx-logout:hover {
    background: rgba(186, 26, 26, 0.08);
}
.dbx-search {
    position: relative;
    margin-bottom: 14px;
}
.dbx-search .material-symbols-outlined {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #747781;
}
.dbx-search input {
    width: 100%;
    border: 0;
    border-radius: 12px;
    padding: 14px 14px 14px 44px;
    background: #f2f4f6;
}
.dbx-metrics-inline {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 14px;
}
.dbx-metrics-inline div {
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(0, 26, 56, 0.08);
    padding: 10px;
    display: grid;
    gap: 2px;
}
.dbx-metrics-inline strong {
    color: #001a38;
    font-size: 1.15rem;
    line-height: 1;
}
.dbx-metrics-inline span {
    color: #596372;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}
.dbx-bento {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.dbx-bento-tile,
.dbx-bento-footer {
    text-decoration: none;
    color: #001a38;
}
.dbx-bento-tile {
    background: #fff;
    border: 1px solid rgba(0, 26, 56, 0.08);
    border-radius: 14px;
    padding: 14px;
    min-height: 132px;
    box-shadow: 0 8px 22px rgba(0, 45, 98, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.dbx-bento-main {
    min-height: 160px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff, #eef3ff);
    grid-column: auto;
}
.dbx-bento-tile .product-badge {
    align-self: flex-start;
}
.dbx-bento-icon {
    font-size: 30px;
    color: #001a38;
}
.dbx-bento-tile h3 {
    margin: 0;
    font-size: 0.96rem;
    line-height: 1.25;
}
.dbx-arrow {
    position: absolute;
    right: 14px;
    top: 14px;
    color: #7497d0;
}
.dbx-bento-footer {
    grid-column: span 2;
    border-radius: 14px;
    background: #001a38;
    color: #fff;
    padding: 12px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.dbx-bento-footer div {
    display: flex;
    align-items: center;
    gap: 8px;
}
.dbx-banner {
    margin-top: 14px;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 16px 34px rgba(0, 45, 98, 0.14);
}
.dbx-banner img {
    display: block;
    width: 100%;
    height: 250px;
    object-fit: cover;
}
.dbx-banner-gradient {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 16px;
    background: linear-gradient(180deg, rgba(0, 26, 56, 0.05), rgba(0, 26, 56, 0.84));
}
.dbx-banner-gradient h4 {
    margin: 0 0 4px;
    color: #fff;
    font-size: 1.1rem;
}
.dbx-banner-gradient p {
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.82rem;
}
.dbx-help-float {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: #002e5d;
    color: #fff;
    border-radius: 14px 0 0 14px;
    box-shadow: 0 14px 28px rgba(0, 45, 98, 0.2);
    padding: 10px 7px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    z-index: 50;
}
.dbx-help-text {
    writing-mode: vertical-lr;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.62rem;
    font-weight: 700;
}
.footer {
    padding: 20px 28px 28px;
    color: #64748b;
    text-align: center;
}

.proposal-showcase {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.proposal-card {
    border-radius: 16px;
    border: 1px solid rgba(11, 61, 46, 0.1);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(245, 250, 248, 0.95));
    padding: 14px;
    box-shadow: 0 14px 30px rgba(6, 26, 20, 0.08);
    transition: transform 180ms ease, box-shadow 180ms ease;
}
.proposal-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 34px rgba(6, 26, 20, 0.12);
}
.proposal-card-kicker {
    margin: 0 0 6px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.68rem;
    color: #355f51;
    font-weight: 800;
}
.proposal-card h4 {
    margin: 0 0 8px;
    color: #102d24;
    font-size: 1rem;
}
.proposal-card-meta {
    display: grid;
    gap: 4px;
    color: #567065;
    font-size: 0.9rem;
}
.proposal-card-actions {
    margin-top: 10px;
    display: flex;
    justify-content: flex-end;
}

.proposal-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    background: rgba(2, 6, 23, 0.55);
    display: none;
    padding: 18px;
    overflow: auto;
}
.proposal-modal.is-open {
    display: block;
    animation: modalFadeIn 160ms ease;
}
.proposal-modal-panel {
    max-width: 940px;
    margin: 32px auto;
    border-radius: 16px;
    border: 1px solid rgba(11, 61, 46, 0.14);
    background: #fff;
    padding: 18px;
    box-shadow: 0 24px 52px rgba(2, 6, 23, 0.3);
    animation: modalSlideUp 220ms ease;
}
.proposal-modal-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.kanban-board {
    display: grid;
    grid-template-columns: repeat(5, minmax(220px, 1fr));
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
}
.kanban-column {
    min-width: 220px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(11, 61, 46, 0.1);
    border-radius: 14px;
    padding: 10px;
}
.kanban-column-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    color: #123327;
}
.kanban-count {
    display: inline-flex;
    min-width: 26px;
    height: 26px;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    background: rgba(11, 61, 46, 0.1);
    color: #0f3b2f;
}
.kanban-dropzone {
    min-height: 130px;
    display: grid;
    gap: 8px;
    border-radius: 12px;
    padding: 4px;
    transition: background 140ms ease, border-color 140ms ease;
}
.kanban-dropzone.is-over {
    background: rgba(11, 61, 46, 0.08);
}
.kanban-card {
    border-radius: 12px;
    border: 1px solid rgba(11, 61, 46, 0.12);
    background: #fff;
    padding: 10px;
    box-shadow: 0 10px 20px rgba(6, 26, 20, 0.08);
    cursor: grab;
}
.kanban-card.is-dragging {
    opacity: 0.7;
    cursor: grabbing;
}
.kanban-card-bank {
    margin: 0 0 8px;
    color: #5c7169;
    font-size: 0.86rem;
}
.kanban-card .btn {
    width: 100%;
}

.fx-fade-up {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 360ms ease, transform 360ms ease;
}
.fx-fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.fx-stagger > * {
    opacity: 0;
    transform: translateY(14px);
    animation: staggerIn 360ms ease forwards;
}
.fx-stagger > *:nth-child(1) { animation-delay: 20ms; }
.fx-stagger > *:nth-child(2) { animation-delay: 80ms; }
.fx-stagger > *:nth-child(3) { animation-delay: 140ms; }
.fx-stagger > *:nth-child(4) { animation-delay: 200ms; }
.fx-stagger > *:nth-child(5) { animation-delay: 260ms; }
.fx-stagger > *:nth-child(6) { animation-delay: 320ms; }

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(14px) scale(0.99); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes staggerIn {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
    .layout { grid-template-columns: 1fr; }
    .sidebar { border-right: 0; border-bottom: 1px solid rgba(11, 61, 46, 0.08); }
    .h-screen.w-64.fixed.left-0.top-0.bg-slate-900 {
        position: static;
        width: 100%;
        height: auto;
        min-height: auto;
    }
    .fixed.top-0.right-0.w-\[calc\(100\%-16rem\)\] {
        position: static;
        width: 100%;
    }
    main.ml-64 {
        margin-left: 0;
        padding-top: 16px;
    }
    .footer.ml-64 {
        margin-left: 0;
        padding-left: 16px;
        padding-right: 16px;
    }
    .grid-3 { grid-template-columns: 1fr; }
    .admin-hero {
        grid-template-columns: 1fr;
    }
    .admin-page-header {
        grid-template-columns: 1fr;
    }
    .admin-bento-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .admin-tile-lg {
        grid-column: span 2;
    }
    .admin-banner {
        flex-direction: column;
        align-items: flex-start;
    }
    .proposal-showcase {
        grid-template-columns: 1fr 1fr;
    }
    .dbx-screen {
        max-width: 100%;
    }
    .dbx-header-block {
        align-items: flex-start;
        flex-direction: column;
    }
    .kanban-board {
        grid-template-columns: repeat(3, minmax(220px, 1fr));
    }
    .topbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .user-wrap {
        width: 100%;
        justify-content: space-between;
    }
}
@media (max-width: 520px) {
    .login-shell { padding: 14px; }
    .login-panel { padding: 18px; border-radius: 16px; }
    .proposal-showcase {
        grid-template-columns: 1fr;
    }
    .dbx-metrics-inline {
        grid-template-columns: 1fr;
    }
    .dbx-banner img {
        height: 220px;
    }
    .kanban-board {
        grid-template-columns: 1fr;
    }
}
