@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root { --akkatt-ink: #173b3a; --akkatt-muted: #55706e; --akkatt-line: #dbe7e4; --akkatt-bg: #f4f7f6; }
html, body { margin: 0; min-height: 100%; font-family: Manrope, sans-serif; background: var(--akkatt-bg); color: var(--akkatt-ink); }
.admin-shell { min-height: 100vh; }
.admin-topbar { border-bottom: 1px solid var(--akkatt-line); padding: 0 20px; }
.brand-wordmark { font-weight: 800; letter-spacing: -0.03em; color: var(--akkatt-ink); }
.brand-wordmark span { color: #0f766e; }
.admin-drawer { border-right: 1px solid var(--akkatt-line); background: #fff; }
.admin-drawer .mud-drawer-content { padding-top: 18px; }
.eyebrow { color: #0f766e; font-weight: 800; letter-spacing: .12em; }
.admin-content { background: var(--akkatt-bg); }
.admin-breadcrumb { padding: 8px 28px 0; }
.admin-breadcrumb .mud-breadcrumbs { padding: 0; }
.admin-breadcrumb .mud-breadcrumb-item { line-height: 1.25; }
.admin-page-content { padding: 6px 28px 32px; max-width: 1440px; }
.page-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.page-title { font-weight: 800; letter-spacing: -.04em; margin-top: 2px; }
.page-subtitle { color: var(--akkatt-muted); }
.metric-card { padding: 22px; border: 1px solid var(--akkatt-line); border-radius: 10px; }
.metric-card .mud-typography-h4 { font-weight: 800; margin: 8px 0; }
.metric-note { color: var(--akkatt-muted); }
.metric-card--accent { border-top: 3px solid #d97706; }
.welcome-panel { display: flex; gap: 18px; align-items: center; padding: 24px; margin-top: 28px; border: 1px solid var(--akkatt-line); border-radius: 10px; }
.welcome-panel .mud-typography-body2 { color: var(--akkatt-muted); margin-top: 4px; }
.section-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; border-bottom: 1px solid var(--akkatt-line); }
.table-search { width: min(100%, 560px); margin: 22px 22px 26px; }
.table-actions { white-space: nowrap; }
.table-actions .mud-tooltip-root { display: inline-flex; vertical-align: middle; }
.menu-item-danger, .menu-item-danger .mud-menu-item-icon, .menu-item-danger .mud-list-item-icon, .menu-item-danger .mud-list-item-text { color: #b3261e; }
.editor-panel { max-width: 900px; padding: 36px 40px 32px; border: 1px solid var(--akkatt-line); border-radius: 14px; background: #fff; box-shadow: 0 1px 3px rgba(15, 59, 58, .06); }
.editor-panel .mud-grid { margin-top: 6px; }
.editor-panel .mud-input-control { margin-bottom: 4px; }
.editor-panel .mud-input-control-input-container { min-height: 46px; }
.editor-panel .mud-checkbox-label { margin-top: 8px; }
.fiscal-code-field input { text-transform: uppercase; }
.mud-message-box { border: 1px solid var(--akkatt-line); border-radius: 14px; box-shadow: 0 18px 48px rgba(15, 59, 58, .18); }
.mud-message-box .mud-dialog-title { padding: 24px 24px 8px; font-weight: 800; color: var(--akkatt-ink); }
.mud-message-box .mud-dialog-content { padding: 8px 24px 20px; color: var(--akkatt-muted); }
.mud-message-box .mud-dialog-actions { gap: 12px; padding: 0 24px 24px; }
.mud-message-box .mud-message-box__yes-button { min-width: 112px; border-radius: 6px; background: #b3261e; color: #fff; font-weight: 700; }
.mud-message-box .mud-message-box__cancel-button { min-width: 112px; border: 1px solid var(--akkatt-line); border-radius: 6px; color: var(--akkatt-ink); font-weight: 700; }
.mud-message-box .mud-message-box__cancel-button:hover { background: var(--akkatt-bg); border-color: #0f766e; }
.customer-form .mud-alert { margin-top: 20px; }
.form-actions { display: flex; justify-content: flex-end; align-items: center; gap: 14px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--akkatt-line); }
.form-actions .mud-button-root { min-width: 152px; height: 44px; font-weight: 700; }
.detail-contextual-actions { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin: 0 0 18px; }
.detail-contextual-actions .mud-button-root { min-width: 0; width: 180px; height: 34px; padding: 0 12px; font-size: .75rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
@media (max-width: 700px) { .editor-panel { padding: 26px 22px 24px; } .form-actions { flex-direction: column-reverse; } .form-actions .mud-button-root { width: 100%; } .detail-contextual-actions { justify-content: stretch; flex-direction: column; } .detail-contextual-actions .mud-button-root { width: 100%; } }
@media (max-width: 700px) { .admin-breadcrumb, .admin-page-content { padding-left: 16px; padding-right: 16px; } .page-heading { align-items: start; flex-direction: column; } .page-heading .mud-button { width: 100%; } }
.login-shell { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at top right, #dcefeb, var(--akkatt-bg) 50%); }
.login-brand { position: fixed; top: 28px; left: 32px; font-weight: 800; font-size: 1.2rem; color: var(--akkatt-ink); }
.login-brand span { color: #0f766e; }
.login-panel { width: min(100%, 430px); padding: 36px; border: 1px solid var(--akkatt-line); border-radius: 12px; }
.login-title { font-weight: 800; margin-top: 6px; }
.login-form { display: grid; gap: 18px; margin-top: 26px; }
.login-field { display: grid; gap: 7px; color: var(--akkatt-muted); font-size: .875rem; font-weight: 600; }
.login-field input { width: 100%; min-height: 42px; padding: 9px 12px; border: 1px solid var(--akkatt-line); border-radius: 6px; background: #fff; color: var(--akkatt-ink); font: inherit; }
.login-field input:focus { outline: 2px solid #0f766e; outline-offset: 1px; border-color: #0f766e; }
