@font-face {
    font-family: 'TatouInter';
    src: url('fonts/inter_regular.otf') format('opentype');
    font-weight: 400;
}

@font-face {
    font-family: 'TatouInter';
    src: url('fonts/inter_semibold.otf') format('opentype');
    font-weight: 700;
}

@font-face {
    font-family: 'TatouDashboard';
    src: url('fonts/space_grotesk_medium.ttf') format('truetype');
    font-weight: 500;
}

@font-face {
    font-family: 'TatouDashboard';
    src: url('fonts/space_grotesk_bold.ttf') format('truetype');
    font-weight: 700;
}

:root {
    --bg-start: #070a12;
    --bg-mid: #09101a;
    --bg-end: #070a12;
    --panel: rgba(10, 14, 25, 0.76);
    --panel-solid: rgba(10, 14, 25, 0.88);
    --card-start: rgba(12, 18, 32, 0.9);
    --card-end: rgba(10, 14, 25, 0.76);
    --detail: rgba(10, 14, 25, 0.7);
    --border: rgba(0, 245, 255, 0.24);
    --border-soft: rgba(0, 245, 255, 0.19);
    --border-strong: rgba(0, 245, 255, 0.62);
    --text: #e9f5ff;
    --muted: #9fb2c7;
    --hint: #7e8ea2;
    --accent: #00f5ff;
    --accent-purple: #b300ff;
    --accent-green: #5cff7a;
    --accent-red: #e2b8bd;
    --danger: #fecaca;
    --radius: 10px;
    --radius-small: 8px;
    --shadow: 0 18px 48px rgba(0, 0, 0, 0.42);
    --font-ui: 'TatouInter', system-ui, sans-serif;
    --font-dashboard: 'TatouDashboard', 'TatouInter', system-ui, sans-serif;
}

html[data-theme='clean'] {
    --bg-start: #071012;
    --bg-mid: #0a171a;
    --bg-end: #071012;
    --panel: rgba(8, 22, 25, 0.78);
    --panel-solid: rgba(8, 22, 25, 0.9);
    --card-start: rgba(10, 28, 32, 0.9);
    --card-end: rgba(8, 22, 25, 0.76);
    --border: rgba(116, 255, 223, 0.24);
    --border-soft: rgba(116, 255, 223, 0.18);
    --border-strong: rgba(116, 255, 223, 0.52);
    --text: #ebfffb;
    --muted: #9ac7be;
    --hint: #78a79d;
    --accent: #74ffdf;
    --accent-purple: #17dcb5;
}

html[data-theme='atelier'] {
    --bg-start: #10191c;
    --bg-mid: #142125;
    --bg-end: #10191c;
    --panel: rgba(19, 29, 33, 0.82);
    --panel-solid: rgba(18, 27, 31, 0.92);
    --card-start: rgba(23, 35, 40, 0.9);
    --card-end: rgba(18, 27, 31, 0.76);
    --border: rgba(95, 167, 168, 0.28);
    --border-soft: rgba(95, 167, 168, 0.18);
    --border-strong: rgba(212, 153, 86, 0.52);
    --text: #f1ead9;
    --muted: #b9ae9b;
    --hint: #9e9280;
    --accent: #d49956;
    --accent-purple: #5fa7a8;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    color: var(--text);
    font-family: var(--font-ui);
    background: linear-gradient(180deg, var(--bg-start) 0%, var(--bg-mid) 50%, var(--bg-end) 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

[data-tone='cyan'] { --tone: #00f5ff; --tone-bg: rgba(0, 245, 255, 0.12); --tone-border: rgba(0, 245, 255, 0.34); }
[data-tone='blue'] { --tone: #7ed6df; --tone-bg: rgba(126, 214, 223, 0.12); --tone-border: rgba(126, 214, 223, 0.34); }
[data-tone='green'] { --tone: #5cff7a; --tone-bg: rgba(92, 255, 122, 0.11); --tone-border: rgba(92, 255, 122, 0.3); }
[data-tone='purple'] { --tone: #b300ff; --tone-bg: rgba(179, 0, 255, 0.11); --tone-border: rgba(179, 0, 255, 0.3); }
[data-tone='amber'] { --tone: #f4b15b; --tone-bg: rgba(244, 177, 91, 0.11); --tone-border: rgba(244, 177, 91, 0.3); }
[data-tone='red'] { --tone: #e2b8bd; --tone-bg: rgba(226, 184, 189, 0.11); --tone-border: rgba(226, 184, 189, 0.3); }

.auth-shell,
.page-shell {
    width: min(1180px, calc(100% - 24px));
    margin: 0 auto;
    padding: 12px 0 32px;
}

.auth-shell--apk {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 48px;
}

.panel,
.card,
.empty-state {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: var(--shadow);
}

.auth-card {
    width: min(430px, 100%);
    padding: 20px;
}

.auth-card h1 {
    margin: 0;
    text-align: center;
    color: var(--text);
    font-size: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.auth-subtitle,
.api-info {
    margin: 6px 0 0;
    text-align: center;
    color: var(--muted);
    font-size: 14px;
}

.api-info {
    margin-top: 18px;
    font-size: 11px;
}

.topbar {
    margin-bottom: 8px;
    padding: 14px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.topbar__row {
    display: grid;
    grid-template-columns: minmax(92px, 1fr) minmax(0, 2fr) minmax(92px, 1fr);
    gap: 8px;
    align-items: center;
}

.topbar__title {
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--text);
    font-family: var(--font-dashboard);
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}

.topbar__gps,
.topbar__icons {
    display: flex;
    align-items: center;
    min-width: 0;
}

.topbar__icons {
    justify-content: flex-end;
    gap: 4px;
}

.topbar__subtitle {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
    color: var(--muted);
    font-size: 11px;
}

.icon-button,
.gps-chip,
.topbar-back {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: var(--text);
}

.icon-button {
    width: 34px;
    color: #a5adba;
    font-size: 11px;
    font-weight: 700;
}

.icon-button--danger {
    color: var(--accent-red);
}

.topbar-back {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
}

.gps-chip {
    gap: 4px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
}

.gps-chip input {
    width: auto;
    min-height: auto;
    margin: 0 0 0 4px;
    accent-color: var(--accent-green);
}

.gps-chip.is-on .gps-chip__label {
    color: var(--accent-green);
}

.dashboard-status {
    margin: 0 12px 10px;
    color: var(--muted);
    font-size: 11px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 0 0 10px;
}

.dashboard-tile {
    --tone: var(--accent);
    --tone-bg: rgba(0, 245, 255, 0.12);
    --tone-border: rgba(0, 245, 255, 0.34);
    min-height: 118px;
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    align-items: stretch;
    overflow: hidden;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    background: linear-gradient(180deg, var(--card-start), var(--card-end));
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.dashboard-tile:active,
.dashboard-tile:hover {
    border-color: var(--border-strong);
}

.dashboard-tile__rail {
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--border-soft);
    background: var(--detail);
}

.dashboard-tile__icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--tone-border);
    border-radius: var(--radius-small);
    background: var(--tone-bg);
    color: var(--tone);
    font-family: var(--font-dashboard);
    font-size: 13px;
    font-weight: 700;
}

.dashboard-tile__title {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 0 14px;
    text-align: center;
    color: var(--text);
    font-family: var(--font-dashboard);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
}

.dashboard-more {
    margin-top: 2px;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    background: rgba(10, 14, 25, 0.48);
}

.dashboard-more summary {
    padding: 12px 14px;
    color: var(--muted);
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
}

.dashboard-more__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 8px;
    padding: 0 12px 12px;
}

.dashboard-mini-tile {
    --tone: var(--accent);
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    min-height: 48px;
    padding: 6px 10px;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-small);
    background: rgba(255, 255, 255, 0.04);
}

.dashboard-mini-tile span {
    color: var(--tone);
    font-size: 11px;
    font-weight: 700;
}

.dashboard-mini-tile strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
}

.step-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.step-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 6px 10px;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-small);
    color: var(--muted);
    background: rgba(255, 255, 255, 0.04);
    font-size: 12px;
    font-weight: 700;
}

.step-pill.is-active {
    color: var(--text);
    border-color: var(--border-strong);
    background: rgba(0, 245, 255, 0.1);
}

.step-pill__index {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.auth-form {
    margin-top: 18px;
}

label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: var(--text);
    font-size: 14px;
}

input,
select,
textarea {
    width: 100%;
    min-height: 46px;
    padding: 12px;
    border: 1px solid rgba(0, 245, 255, 0.22);
    border-radius: var(--radius-small);
    background: rgba(10, 14, 25, 0.7);
    color: var(--text);
}

input::placeholder,
textarea::placeholder {
    color: var(--hint);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: rgba(0, 245, 255, 0.66);
    background: rgba(10, 14, 25, 0.9);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

select option {
    color: var(--text);
    background: #0a0e19;
}

.field-toggle {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px;
}

.primary-button,
.ghost-button,
.ghost-link,
.eye-toggle,
.danger-button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-small);
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
}

.primary-button {
    border-color: rgba(0, 245, 255, 0.42);
    background: linear-gradient(90deg, rgba(0, 245, 255, 0.23), rgba(179, 0, 255, 0.15));
    font-weight: 700;
}

.danger-button {
    border-color: rgba(254, 202, 202, 0.32);
    background: rgba(127, 29, 29, 0.42);
    color: var(--danger);
}

.eye-toggle {
    min-width: 74px;
    padding: 0 10px;
    background: rgba(10, 14, 25, 0.45);
}

.alert {
    margin-top: 16px;
    padding: 12px;
    border-radius: var(--radius-small);
    font-size: 13px;
}

.alert.error {
    background: rgba(127, 29, 29, 0.8);
    color: var(--danger);
}

.alert.success {
    border: 1px solid rgba(92, 255, 122, 0.22);
    background: rgba(92, 255, 122, 0.1);
    color: #d7ffe0;
}

.auth-account-chip {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 14px;
    color: var(--accent);
    font-size: 13px;
}

.auth-account-chip small,
.field-hint,
.panel-copy,
.empty-state p,
.inventory-item__meta,
.module-card__status {
    color: var(--muted);
}

.page-band,
.hero,
.section-panel,
.form-panel,
.list-panel,
.detail-panel,
.profile-panel,
.empty-state {
    padding: 16px;
    margin-bottom: 14px;
}

.page-band__head,
.section-head,
.filter-panel__head,
.module-card__header,
.inventory-item__top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.page-band__title,
.hero h1,
.panel h2,
.panel h3,
.empty-state h2 {
    margin: 0 0 8px;
    line-height: 1.2;
}

.page-band__title,
.hero h1 {
    font-size: 20px;
}

.panel-kicker,
.status-chip,
.badge,
.mini-badge,
.module-card__badge,
.advanced-link__badge {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    justify-content: center;
    padding: 5px 8px;
    border: 1px solid rgba(179, 0, 255, 0.2);
    border-radius: 6px;
    background: rgba(179, 0, 255, 0.1);
    color: var(--text);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.badge.ready {
    border-color: rgba(92, 255, 122, 0.22);
    background: rgba(92, 255, 122, 0.1);
}

.badge.wip {
    border-color: rgba(244, 177, 91, 0.22);
    background: rgba(244, 177, 91, 0.1);
}

.module-grid,
.advanced-grid,
.kpi-grid,
.stats,
.auth-summary-grid,
.inventory-fields,
.filter-grid,
.split-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.module-card {
    --tone: var(--accent);
    --tone-bg: rgba(0, 245, 255, 0.12);
    --tone-border: rgba(0, 245, 255, 0.34);
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
    min-height: 118px;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    background: linear-gradient(180deg, var(--card-start), var(--card-end));
}

.module-card__rail,
.advanced-link__rail {
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--border-soft);
    background: var(--detail);
}

.module-card__icon,
.advanced-link__rail {
    color: var(--tone);
    font-weight: 700;
}

.module-card__body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 12px 12px 0;
}

.module-card__heading h3,
.module-card h3 {
    margin: 6px 0 0;
    font-size: 15px;
}

.module-card__copy,
.module-card p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

.module-card__footer {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    align-items: center;
    margin-top: auto;
}

.module-card__status {
    font-size: 11px;
}

.advanced-link {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    min-height: 58px;
    padding: 8px 10px;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.04);
}

.advanced-link__copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
}

.advanced-link__copy small {
    overflow: hidden;
    color: var(--muted);
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kpi,
.stat,
.field-card,
.inventory-item,
.subpanel {
    padding: 14px;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    background: linear-gradient(180deg, var(--card-start), var(--card-end));
}

.kpi,
.stat {
    min-height: 88px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 4px;
}

.kpi span,
.stat span,
.field-card strong {
    color: var(--muted);
    font-size: 11px;
}

.kpi strong,
.stat strong {
    font-size: 18px;
}

.inventory-layout {
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
    gap: 14px;
}

.inventory-list,
.stack-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.inventory-item.is-active {
    border-color: var(--border-strong);
}

.inventory-item__title {
    margin: 0;
    font-size: 16px;
}

.inventory-item__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
}

.field-card span {
    display: block;
    margin-top: 6px;
    white-space: pre-wrap;
}

.inline-actions,
.quick-links,
.chip-list,
.filter-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.check-card {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.04);
}

.check-card input {
    width: auto;
    min-height: auto;
    margin: 0;
}

.push-right {
    margin-left: auto;
}

@media (max-width: 720px) {
    .auth-shell,
    .page-shell {
        width: min(100%, calc(100% - 20px));
    }

    .auth-shell--apk {
        padding-top: 20px;
    }

    .topbar {
        padding: 12px 6px;
    }

    .topbar__row {
        grid-template-columns: 76px minmax(0, 1fr) 96px;
    }

    .topbar__title {
        font-size: 18px;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .dashboard-tile {
        min-height: 96px;
        grid-template-columns: 62px minmax(0, 1fr);
    }

    .dashboard-tile__rail {
        width: 62px;
    }

    .inventory-layout,
    .module-grid,
    .advanced-grid,
    .kpi-grid,
    .stats,
    .auth-summary-grid,
    .inventory-fields,
    .filter-grid,
    .split-grid,
    .form-row,
    .dual-input,
    .searchbar {
        grid-template-columns: 1fr;
    }

    .page-band__head,
    .section-head,
    .filter-panel__head,
    .module-card__header,
    .inventory-item__top {
        flex-direction: column;
    }

    .field-toggle {
        grid-template-columns: 1fr auto;
    }

    .push-right {
        margin-left: 0;
    }
}

/* APK light dashboard pass - 2026-05-30 */
:root,
html[data-theme='terrain'] {
    --bg-start: #f3f6fb;
    --bg-mid: #f3f6fb;
    --bg-end: #eef3f9;
    --panel: #ffffff;
    --panel-solid: #ffffff;
    --card-start: #ffffff;
    --card-end: #ffffff;
    --detail: #eef3f9;
    --border: #e0e7f0;
    --border-soft: #e5ebf3;
    --border-strong: #d4dde9;
    --text: #243044;
    --muted: #6f7c8d;
    --hint: #9aa6b5;
    --accent: #3b82f6;
    --accent-purple: #9b6ce3;
    --accent-green: #51c48a;
    --accent-red: #6b7a8f;
    --danger: #b4233a;
    --shadow: 0 10px 24px rgba(31, 45, 61, 0.08);
}

body,
body.login-page {
    background: var(--bg-start);
    color: var(--text);
}


.page-shell--dashboard {
    width: min(424px, calc(100% - 20px));
    padding-top: 10px;
}

.page-shell--dashboard .topbar {
    margin: 0 0 12px;
    padding: 10px 10px 12px;
    border-radius: 12px 12px 0 0;
    background: #ffffff;
    box-shadow: none;
}

.page-shell--dashboard .topbar__row {
    grid-template-columns: 74px minmax(0, 1fr) 82px;
}

.page-shell--dashboard .topbar__title {
    color: #263247;
    font-size: 22px;
}

.page-shell--dashboard .topbar__subtitle {
    display: none;
}

.page-shell--dashboard .icon-button {
    color: #9aa6b5;
    font-size: 10px;
}

.gps-chip {
    gap: 6px;
    color: #718096;
}

.gps-chip input {
    width: 18px;
    height: 18px;
}

.dashboard-status {
    display: none;
}

.dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 0;
}

.dashboard-tile {
    min-height: 128px;
    grid-template-columns: 74px minmax(0, 1fr);
    border: 1px solid #e5ebf3;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 1px 0 rgba(26, 32, 44, 0.04);
}

.dashboard-tile__rail {
    width: 74px;
    border-right: 0;
    border-radius: 10px 0 0 10px;
    background: var(--tile-rail, #a9c2f4);
}

.dashboard-tile__title {
    color: #283449;
    font-size: 15px;
    line-height: 1.22;
}

.dashboard-tile__icon {
    position: relative;
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    color: transparent;
}

.dashboard-tile__icon::before,
.dashboard-tile__icon::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: var(--tile-icon, #4d7fe5);
}

.dashboard-tile[data-module='inventory'],
.dashboard-tile[data-module='forms'] {
    --tile-rail: #a9c2f4;
    --tile-icon: #4d7fe5;
}

.dashboard-tile[data-module='frigo'] {
    --tile-rail: #9fd6d3;
    --tile-icon: #39a89e;
}

.dashboard-tile[data-module='clients'] {
    --tile-rail: #efbba5;
    --tile-icon: #f07d45;
}

.dashboard-tile[data-module='agenda'] {
    --tile-rail: #e7c99e;
    --tile-icon: #dd9e3f;
}

.dashboard-tile[data-module='tools'] {
    --tile-rail: #99cce3;
    --tile-icon: #3b9ed3;
}

.dashboard-tile[data-module='social'] {
    --tile-rail: #c2a0ea;
    --tile-icon: #9b5be1;
}

.dashboard-tile[data-module='profile'] {
    --tile-rail: #b3b0f0;
    --tile-icon: #7468df;
}

.dashboard-tile[data-module='account_admin'] {
    --tile-rail: #b6c0cc;
    --tile-icon: #4b5f78;
}

.dashboard-tile[data-module='expenses'] {
    --tile-rail: #a6dbc0;
    --tile-icon: #4dbb7d;
}

.dashboard-tile[data-module='inventory'] .dashboard-tile__icon::before,
.dashboard-tile[data-module='forms'] .dashboard-tile__icon::before {
    width: 28px;
    height: 4px;
    border-radius: 2px;
    background: currentColor;
    box-shadow: 0 -8px 0 currentColor, -7px 8px 0 currentColor;
}

.dashboard-tile[data-module='frigo'] .dashboard-tile__icon::before {
    width: 28px;
    height: 28px;
    border: 4px solid currentColor;
    border-radius: 50%;
}

.dashboard-tile[data-module='frigo'] .dashboard-tile__icon::after {
    width: 34px;
    height: 4px;
    background: currentColor;
    box-shadow: 0 0 0 0 currentColor;
}

.dashboard-tile[data-module='clients'] .dashboard-tile__icon::before {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: -9px 12px 0 -1px currentColor, 9px 12px 0 -1px currentColor;
}

.dashboard-tile[data-module='clients'] .dashboard-tile__icon::after {
    width: 26px;
    height: 14px;
    border-radius: 9px 9px 4px 4px;
    background: currentColor;
    transform: translate(-50%, -4%);
}

.dashboard-tile[data-module='agenda'] .dashboard-tile__icon::before,
.dashboard-tile[data-module='expenses'] .dashboard-tile__icon::before {
    width: 26px;
    height: 28px;
    border: 4px solid currentColor;
    border-radius: 4px;
}

.dashboard-tile[data-module='agenda'] .dashboard-tile__icon::after,
.dashboard-tile[data-module='expenses'] .dashboard-tile__icon::after {
    width: 18px;
    height: 4px;
    background: currentColor;
    box-shadow: 0 8px 0 currentColor;
}

.dashboard-tile[data-module='tools'] .dashboard-tile__icon::before {
    width: 31px;
    height: 8px;
    border-radius: 999px;
    background: currentColor;
    transform: translate(-50%, -50%) rotate(-28deg);
}

.dashboard-tile[data-module='tools'] .dashboard-tile__icon::after {
    width: 15px;
    height: 15px;
    border: 4px solid currentColor;
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-radius: 50%;
    transform: translate(-84%, -84%) rotate(-28deg);
}

.dashboard-tile[data-module='social'] .dashboard-tile__icon::before {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: -14px 8px 0 currentColor, 14px 8px 0 currentColor;
}

.dashboard-tile[data-module='social'] .dashboard-tile__icon::after {
    width: 30px;
    height: 22px;
    border-top: 4px solid currentColor;
    border-bottom: 4px solid currentColor;
    transform: translate(-50%, -10%) rotate(24deg);
}

.dashboard-tile[data-module='profile'] .dashboard-tile__icon::before {
    width: 30px;
    height: 8px;
    border-radius: 999px;
    background: currentColor;
    transform: translate(-50%, -50%) rotate(-42deg);
}

.dashboard-tile[data-module='profile'] .dashboard-tile__icon::after {
    width: 0;
    height: 0;
    border-left: 8px solid currentColor;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    transform: translate(8px, -18px) rotate(-42deg);
}

.dashboard-tile[data-module='account_admin'] .dashboard-tile__icon::before {
    width: 24px;
    height: 20px;
    border-radius: 4px;
    background: currentColor;
    transform: translate(-50%, -14%);
}

.dashboard-tile[data-module='account_admin'] .dashboard-tile__icon::after {
    width: 18px;
    height: 18px;
    border: 4px solid currentColor;
    border-bottom: 0;
    border-radius: 10px 10px 0 0;
    transform: translate(-50%, -82%);
}

.dashboard-more {
    margin-top: 12px;
    border-color: #e5ebf3;
    background: #ffffff;
}

.dashboard-more summary {
    color: #718096;
}

.dashboard-mini-tile {
    border-color: #e5ebf3;
    background: #f8fafc;
}

.panel,
.card,
.empty-state,
.kpi,
.stat,
.field-card,
.inventory-item,
.subpanel,
.module-card {
    background: #ffffff;
    border-color: #e5ebf3;
    box-shadow: 0 1px 0 rgba(26, 32, 44, 0.04);
}

input,
select,
textarea {
    background: #ffffff;
    border-color: #dce4ee;
    color: #263247;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #9bb8e8;
    background: #ffffff;
}

@media (max-width: 720px) {
    .page-shell--dashboard .topbar__row {
        grid-template-columns: 70px minmax(0, 1fr) 82px;
    }

    .dashboard-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .dashboard-tile {
        min-height: 128px;
        grid-template-columns: 74px minmax(0, 1fr);
    }
}

.gps-chip input[type='checkbox'] {
    appearance: none;
    width: 34px;
    height: 20px;
    position: relative;
    border: 0;
    border-radius: 999px;
    background: #d8dee8;
    cursor: pointer;
    transition: background 0.16s ease;
}

.gps-chip input[type='checkbox']::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 1px;
    top: 1px;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 1px 4px rgba(31, 45, 61, 0.24);
    transition: transform 0.16s ease;
}

.gps-chip input[type='checkbox']:checked {
    background: #3b82f6;
}

.gps-chip input[type='checkbox']:checked::after {
    transform: translateX(14px);
}
