/*
 * Fischer Photo Admin Styles
 * Replacement file generated: 2026-05-26 13:05 America/Los_Angeles
 * Compact fixed-frame admin layout.
 */
:root {
    --fp-black: #141414;
    --fp-soft-black: #24211d;
    --fp-gray: #f4f1ec;
    --fp-panel: #fffdfa;
    --fp-line: #d9d2c8;
    --fp-muted: #6f685f;
    --fp-orange: #d66b00;
    --fp-white: #ffffff;
    --fp-success: #1f7a46;
    --fp-danger: #9d1d1d;
    --admin-header: 44px;
    --admin-footer: 30px;
}

* { box-sizing: border-box; }
html { height: 100%; font-size: 16px; }
body.admin-body {
    margin: 0;
    min-height: 100%;
    color: var(--fp-black);
    background: var(--fp-gray);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.4;
}
body.admin-body.admin-shell {
    height: 100vh;
    overflow: hidden;
    display: grid;
    grid-template-rows: var(--admin-header) minmax(0, 1fr) var(--admin-footer);
}

a { color: inherit; }

.admin-topbar {
    min-height: var(--admin-header);
    height: var(--admin-header);
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 0 22px;
    background: rgba(244, 241, 236, .96);
    border-bottom: 1px solid var(--fp-line);
    overflow: hidden;
}
.admin-brand {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    color: var(--fp-black);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: .68rem;
    font-weight: 700;
    white-space: nowrap;
}
.admin-nav,
.admin-utility-nav {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
}
.admin-nav::-webkit-scrollbar,
.admin-utility-nav::-webkit-scrollbar { display: none; }
.admin-nav a,
.admin-utility-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 9px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: var(--fp-soft-black);
    text-decoration: none;
    font-size: .78rem;
    line-height: 1;
    white-space: nowrap;
}
.admin-nav a:hover,
.admin-utility-nav a:hover,
.admin-nav a[aria-current="page"] {
    border-color: var(--fp-line);
    background: var(--fp-white);
}
.admin-nav a[aria-current="page"] { color: var(--fp-orange); }
.admin-utility-nav { justify-content: flex-end; }
.admin-utility-nav a { color: var(--fp-muted); }

.admin-main {
    width: min(1280px, calc(100% - 32px));
    height: 100%;
    min-height: 0;
    margin: 0 auto;
    padding: 14px 0;
    overflow-y: auto;
    overflow-x: hidden;
}
.admin-dashboard-page .admin-main {
    overflow: hidden;
    display: grid;
    grid-template-rows: 38px minmax(0, 1fr);
    gap: 10px;
}
.admin-footer {
    height: var(--admin-footer);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 22px;
    border-top: 1px solid var(--fp-line);
    color: var(--fp-muted);
    background: rgba(244, 241, 236, .98);
    font-size: .72rem;
    line-height: 1;
    overflow: hidden;
}

.admin-dashboard-bar {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.admin-dashboard-bar h1 {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1;
    letter-spacing: -.02em;
}
.admin-dashboard-bar p {
    margin: 3px 0 0;
    color: var(--fp-muted);
    font-size: .75rem;
    line-height: 1;
}
.admin-quick-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.admin-quick-actions a,
.admin-mini-open {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 0 10px;
    border: 1px solid var(--fp-line);
    border-radius: 999px;
    background: var(--fp-white);
    color: var(--fp-black);
    text-decoration: none;
    font-size: .74rem;
    font-weight: 700;
    white-space: nowrap;
}
.admin-quick-actions a:hover,
.admin-mini-open:hover { border-color: rgba(214, 107, 0, .6); color: var(--fp-orange); }

.admin-console-grid {
    min-height: 0;
    height: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 245px;
    gap: 12px;
    overflow: hidden;
}
.admin-panel {
    min-height: 0;
    border: 1px solid var(--fp-line);
    border-radius: 14px;
    background: rgba(255, 253, 250, .72);
    overflow: hidden;
}
.admin-panel-head {
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 12px;
    border-bottom: 1px solid var(--fp-line);
    background: rgba(255,255,255,.48);
}
.admin-panel-head h2 {
    margin: 0;
    font-size: .72rem;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.admin-panel-head span {
    color: var(--fp-muted);
    font-size: .72rem;
}
.admin-table-wrap {
    width: 100%;
    overflow: auto;
}
.dashboard-table-wrap {
    height: calc(100% - 34px);
    overflow: hidden;
}
.admin-compact-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .79rem;
}
.admin-compact-table th,
.admin-compact-table td {
    padding: 6px 10px;
    border-bottom: 1px solid rgba(217, 210, 200, .85);
    vertical-align: middle;
    text-align: left;
}
.admin-compact-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    color: var(--fp-muted);
    background: #faf7f2;
    font-size: .66rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.admin-compact-table tbody tr:last-child th,
.admin-compact-table tbody tr:last-child td { border-bottom: 0; }
.admin-modules-table td:first-child {
    width: 88px;
    color: var(--fp-muted);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.admin-modules-table td:nth-child(2) { width: 145px; }
.admin-modules-table td:nth-child(4) { width: 70px; text-align: right; }
.admin-stats-table th {
    color: var(--fp-muted);
    font-weight: 400;
}
.admin-stats-table td {
    width: 48px;
    text-align: right;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -.03em;
}

.admin-alert {
    margin: 0 0 10px;
    padding: 8px 10px;
    border-radius: 12px;
    background: var(--fp-white);
    border: 1px solid var(--fp-line);
    font-size: .85rem;
}
.admin-alert-success { border-color: rgba(31,122,70,.3); color: var(--fp-success); }
.admin-alert-error { border-color: rgba(157,29,29,.3); color: var(--fp-danger); }
.admin-alert-info { color: var(--fp-muted); }

.admin-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}
.admin-eyebrow {
    margin: 0 0 6px;
    color: var(--fp-orange);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.admin-title {
    margin: 0;
    max-width: 900px;
    font-size: clamp(1.55rem, 3.6vw, 2.55rem);
    line-height: .98;
    letter-spacing: -.055em;
}
.admin-subtitle {
    max-width: 760px;
    margin: 8px 0 0;
    color: var(--fp-muted);
    font-size: .9rem;
}
.admin-section-title {
    margin: 18px 0 8px;
    font-size: 1.05rem;
    letter-spacing: -.03em;
}
.admin-small,
.admin-muted,
.admin-help,
.admin-help-text { color: var(--fp-muted); font-size: .82rem; }
.admin-danger-text { color: var(--fp-danger); }

.admin-card-grid,
.admin-module-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}
.admin-card-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.admin-card,
.admin-table-card,
.admin-login-card,
.admin-form-card,
.admin-module-card {
    background: var(--fp-panel);
    border: 1px solid var(--fp-line);
    border-radius: 14px;
    padding: 12px;
    box-shadow: none;
}
.admin-card-kicker {
    color: var(--fp-muted);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.admin-card-number {
    display: block;
    margin: 5px 0 2px;
    font-size: 1.8rem;
    line-height: 1;
    letter-spacing: -.06em;
    font-weight: 800;
}
.admin-card-text { margin: 0; color: var(--fp-muted); font-size: .82rem; }
.admin-module-card {
    min-height: 86px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--fp-black);
    text-decoration: none;
}
.admin-module-card:hover { border-color: rgba(214,107,0,.55); }
.admin-module-card strong { display: block; font-size: 1rem; letter-spacing: -.03em; }
.admin-module-card span { color: var(--fp-muted); font-size: .82rem; }

.admin-table-card,
.admin-form-card { margin-bottom: 14px; overflow-x: auto; }
.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
    font-size: .86rem;
}
.admin-table th,
.admin-table td {
    padding: 8px 9px;
    text-align: left;
    border-bottom: 1px solid var(--fp-line);
    vertical-align: top;
}
.admin-table th {
    color: var(--fp-muted);
    font-size: .68rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table td.nowrap { white-space: nowrap; }

.admin-pill {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    border: 1px solid var(--fp-line);
    background: var(--fp-gray);
    font-size: .72rem;
    white-space: nowrap;
}
.admin-pill.ok { color: var(--fp-success); border-color: rgba(31,122,70,.24); background: rgba(31,122,70,.08); }
.admin-pill.fail { color: var(--fp-danger); border-color: rgba(157,29,29,.24); background: rgba(157,29,29,.08); }

.admin-button,
button.admin-button,
.admin-link-button,
button.admin-link-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 34px;
    padding: 0 12px;
    border: 0;
    border-radius: 999px;
    background: var(--fp-black);
    color: var(--fp-white);
    text-decoration: none;
    font: inherit;
    font-size: .82rem;
    font-weight: 700;
    cursor: pointer;
}
.admin-button.secondary,
.admin-link-button,
button.admin-link-button {
    background: var(--fp-white);
    color: var(--fp-black);
    border: 1px solid var(--fp-line);
}
.admin-link-button.danger { color: var(--fp-danger); }
.admin-link-button:hover { border-color: rgba(214, 107, 0, .5); }
.admin-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.admin-actions.compact { gap: 6px; margin-top: 0; }
.admin-actions.full { grid-column: 1 / -1; }
.admin-mini-form { display: inline; margin: 0; }
.admin-row-actions { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }

.admin-form-grid { display: grid; gap: 10px; }
.admin-form-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.admin-form-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.admin-field.full,
.admin-form-grid .full { grid-column: 1 / -1; }
.admin-field label {
    display: block;
    margin-bottom: 4px;
    color: var(--fp-muted);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.admin-field input,
.admin-field textarea,
.admin-field select {
    width: 100%;
    min-height: 38px;
    padding: 8px 10px;
    border: 1px solid var(--fp-line);
    border-radius: 10px;
    background: var(--fp-white);
    font: inherit;
    color: var(--fp-black);
}
.admin-field textarea { min-height: 96px; resize: vertical; }
.admin-checkbox-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    padding-top: 4px;
}
.admin-checkbox-row label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--fp-muted);
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: .72rem;
}
.admin-checkbox-row input { width: 16px; height: 16px; }

.admin-filterbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: end;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid var(--fp-line);
    border-radius: 14px;
    background: rgba(255,255,255,.65);
}
.admin-filterbar .admin-field { min-width: 190px; flex: 1; }
.admin-compact-title { margin: 0 0 8px; font-size: 1.05rem; letter-spacing: -.03em; }
.admin-empty {
    padding: 10px;
    border: 1px dashed var(--fp-line);
    border-radius: 12px;
    color: var(--fp-muted);
}
.admin-image-thumb {
    width: 64px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--fp-line);
    background: var(--fp-gray);
}
.admin-current-media {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
    padding: 10px;
    border: 1px solid rgba(20, 20, 20, 0.10);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.55);
}
.admin-current-media .admin-image-thumb {
    width: 82px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(20, 20, 20, 0.12);
}
.admin-upload-card { border-color: rgba(214, 107, 0, .28); }
.admin-upload-card input[type="file"] {
    min-height: 46px;
    padding: 8px;
    border: 1px dashed rgba(214, 107, 0, .45);
    background: rgba(244, 241, 236, .55);
    cursor: pointer;
}
.admin-upload-card input[type="file"]::file-selector-button {
    margin-right: 10px;
    min-height: 30px;
    padding: 0 10px;
    border: 0;
    border-radius: 999px;
    background: var(--fp-black);
    color: var(--fp-white);
    font-weight: 700;
    cursor: pointer;
}

.admin-login-wrap {
    width: min(470px, calc(100% - 28px));
    min-height: 100vh;
    display: grid;
    align-items: center;
    margin: 0 auto;
    padding: 24px 0;
}
.admin-login-card .admin-title { font-size: clamp(1.9rem, 8vw, 3.2rem); }

@media (max-width: 1100px) {
    .admin-console-grid { grid-template-columns: 1fr; overflow-y: auto; }
    .admin-dashboard-page .admin-main { overflow-y: auto; }
    .dashboard-table-wrap { overflow: auto; }
    .admin-stats-table { font-size: .8rem; }
}
@media (max-width: 900px) {
    body.admin-body.admin-shell { overflow: auto; height: auto; min-height: 100vh; display: block; }
    .admin-topbar { height: auto; min-height: 48px; grid-template-columns: 1fr; padding: 10px 16px; overflow: visible; }
    .admin-main { width: calc(100% - 24px); height: auto; overflow: visible; padding: 14px 0; }
    .admin-dashboard-page .admin-main { display: block; overflow: visible; }
    .admin-dashboard-bar { align-items: flex-start; flex-direction: column; }
    .admin-console-grid { height: auto; overflow: visible; }
    .admin-footer { height: auto; min-height: 32px; padding: 9px 16px; }
    .admin-card-grid,
    .admin-card-grid.three,
    .admin-module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-form-grid.two,
    .admin-form-grid.three { grid-template-columns: 1fr; }
    .admin-filterbar .admin-field { min-width: 100%; }
}
@media (max-width: 620px) {
    .admin-card-grid,
    .admin-card-grid.three,
    .admin-module-grid { grid-template-columns: 1fr; }
    .admin-title { font-size: clamp(2rem, 15vw, 3.2rem); }
    .admin-footer { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/*
 * V3 dashboard and frame overrides
 * Generated: 2026-05-26 13:28 America/Los_Angeles
 * Top menu is the only module navigation. Dashboard shows compact status only.
 */
body.admin-body.admin-shell {
    min-height: 100vh;
    height: 100vh;
    overflow: hidden;
    display: block;
}
.admin-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}
.admin-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
}
.admin-main {
    position: fixed;
    top: var(--admin-header);
    bottom: var(--admin-footer);
    left: 50%;
    transform: translateX(-50%);
    width: min(1280px, calc(100% - 32px));
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 12px 0;
    overflow-y: auto;
    overflow-x: hidden;
}
.admin-dashboard-page .admin-main {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.admin-dashboard-v3-head {
    flex: 0 0 auto;
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 2px;
}
.admin-dashboard-v3-head h1 {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1;
    letter-spacing: -.03em;
}
.admin-dashboard-v3-head p {
    margin: 3px 0 0;
    color: var(--fp-muted);
    font-size: .74rem;
    line-height: 1.15;
}
.admin-dashboard-v3-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: wrap;
}
.admin-dashboard-v3-actions a {
    min-height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border: 1px solid var(--fp-line);
    border-radius: 999px;
    background: var(--fp-white);
    color: var(--fp-black);
    text-decoration: none;
    font-size: .74rem;
    font-weight: 700;
    white-space: nowrap;
}
.admin-dashboard-v3-actions a:hover {
    border-color: rgba(214, 107, 0, .6);
    color: var(--fp-orange);
}
.admin-dashboard-v3-grid {
    flex: 1 1 auto;
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    align-content: start;
    overflow: hidden;
}
.admin-dashboard-table-card {
    min-width: 0;
    border: 1px solid var(--fp-line);
    border-radius: 14px;
    background: rgba(255, 253, 250, .78);
    overflow: hidden;
}
.admin-dashboard-table-card h2 {
    height: 34px;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0 12px;
    border-bottom: 1px solid var(--fp-line);
    color: var(--fp-black);
    background: rgba(255,255,255,.5);
    font-size: .68rem;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.admin-dashboard-status-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .8rem;
}
.admin-dashboard-status-table th,
.admin-dashboard-status-table td {
    padding: 7px 10px;
    border-bottom: 1px solid rgba(217, 210, 200, .8);
    vertical-align: middle;
}
.admin-dashboard-status-table tr:last-child th,
.admin-dashboard-status-table tr:last-child td { border-bottom: 0; }
.admin-dashboard-status-table th {
    color: var(--fp-muted);
    font-weight: 500;
    text-align: left;
}
.admin-dashboard-status-table td {
    width: 48px;
    color: var(--fp-black);
    font-size: 1rem;
    font-weight: 800;
    text-align: right;
    letter-spacing: -.035em;
}
.admin-dashboard-v3 .admin-console-grid,
.admin-dashboard-v3 .admin-dashboard-bar,
.admin-dashboard-v3 .admin-panel,
.admin-dashboard-v3 .admin-module-grid,
.admin-dashboard-v3 .admin-card-grid {
    display: none !important;
}

@media (max-width: 1100px) {
    .admin-dashboard-v3-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); overflow-y: auto; padding-bottom: 4px; }
}
@media (max-width: 720px) {
    :root { --admin-header: 82px; --admin-footer: 34px; }
    .admin-topbar {
        grid-template-columns: 1fr auto;
        grid-template-rows: 34px 40px;
        gap: 0 10px;
        padding: 4px 12px;
    }
    .admin-nav { grid-column: 1 / -1; width: 100%; }
    .admin-main { width: min(100% - 20px, 1280px); padding: 10px 0; }
    .admin-dashboard-page .admin-main { overflow-y: auto; display: block; }
    .admin-dashboard-v3-head { display: block; margin-bottom: 10px; }
    .admin-dashboard-v3-actions { justify-content: flex-start; margin-top: 8px; }
    .admin-dashboard-v3-grid { grid-template-columns: 1fr; overflow: visible; }
    .admin-footer { padding: 0 12px; font-size: .68rem; }
}
