:root {
    --md-sys-color-primary: #1f5b63;
    --md-sys-color-on-primary: #ffffff;
    --md-sys-color-primary-container: #d1eef2;
    --md-sys-color-on-primary-container: #06323a;
    --md-sys-color-secondary: #6a5d4a;
    --md-sys-color-on-secondary: #ffffff;
    --md-sys-color-tertiary: #7c4f69;
    --md-sys-color-surface: #fdfbff;
    --md-sys-color-surface-container: #f1f3f6;
    --md-sys-color-surface-container-high: #e6e9ee;
    --md-sys-color-on-surface: #1b1c1f;
    --md-sys-color-on-surface-variant: #44464f;
    --md-sys-color-outline: #c7cbd4;
    --md-sys-color-error: #b3261e;
    --md-sys-color-success: #2e7d32;
    --md-sys-color-warning: #b26a00;
    --md-sys-color-info: #1565c0;
    --md-radius-sm: 12px;
    --md-radius-md: 18px;
    --md-radius-lg: 28px;
    --md-shadow-1: 0 1px 2px rgba(20, 24, 31, 0.08), 0 2px 6px rgba(20, 24, 31, 0.06);
    --md-shadow-2: 0 8px 24px rgba(20, 24, 31, 0.12);
    --md-shadow-3: 0 18px 48px rgba(20, 24, 31, 0.14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
form { margin: 0; }

/* Material Symbols icon font setup */
.material-symbols-rounded {
    font-family: 'Material Symbols Rounded';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: 'liga';
    font-variation-settings:
        'FILL' 0,
        'wght' 400,
        'GRAD' 0,
        'opsz' 24;
}

body {
    font-family: "Manrope", "Segoe UI", system-ui, sans-serif;
    color: var(--md-sys-color-on-surface);
    background: var(--md-sys-color-surface-container);
    min-height: 100vh;
}

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

main {
    max-width: 1200px;
    margin: 32px auto 64px;
    padding: 0 24px;
}

.header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 32px;
    background: rgba(253, 251, 255, 0.82);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(199, 203, 212, 0.6);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--md-sys-color-on-surface);
}

.logo .material-symbols-rounded {
    font-size: 28px;
    padding: 8px;
    border-radius: 12px;
    background: var(--md-sys-color-primary-container);
    color: var(--md-sys-color-on-primary-container);
}

nav {
    display: flex;
    gap: 12px;
}

nav a {
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(31, 91, 99, 0.08);
    color: var(--md-sys-color-on-surface);
    font-weight: 500;
    transition: transform 0.2s ease, background 0.2s ease;
}

nav a:hover {
    background: rgba(31, 91, 99, 0.18);
    transform: translateY(-1px);
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 16px;
    font-weight: 500;
    color: var(--md-sys-color-on-surface-variant);
}

.btn {
    border: none;
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn .material-symbols-rounded { font-size: 20px; }

.btn-filled {
    background: var(--md-sys-color-primary);
    color: var(--md-sys-color-on-primary);
    box-shadow: var(--md-shadow-1);
}

.btn-filled:hover { transform: translateY(-1px); box-shadow: var(--md-shadow-2); }

.btn-tonal {
    background: var(--md-sys-color-primary-container);
    color: var(--md-sys-color-on-primary-container);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--md-sys-color-outline);
    color: var(--md-sys-color-on-surface);
}

.btn-text {
    background: transparent;
    color: var(--md-sys-color-primary);
}

.btn-logout {
    background: var(--md-sys-color-surface-container-high);
    color: var(--md-sys-color-on-surface);
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 600;
    border: 1px solid var(--md-sys-color-outline);
}

.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.page-title {
    font-size: 2rem;
    font-weight: 650;
    margin-bottom: 6px;
}

.page-subtitle {
    color: var(--md-sys-color-on-surface-variant);
    font-size: 0.95rem;
}

.card {
    background: rgba(253, 251, 255, 0.9);
    border: 1px solid rgba(199, 203, 212, 0.7);
    border-radius: var(--md-radius-lg);
    padding: 20px 22px;
    box-shadow: var(--md-shadow-1);
}

.card-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.card-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.card-title a { color: inherit; }

.card-meta {
    font-size: 0.9rem;
    color: var(--md-sys-color-on-surface-variant);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.card-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.callout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.callout-steps {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--md-sys-color-surface-container-high);
    color: var(--md-sys-color-on-surface-variant);
    font-size: 0.75rem;
    font-weight: 600;
}

.chip.status-on {
    background: #dcfce7;
    color: #166534;
}

.chip.status-off {
    background: #fee2e2;
    color: #991b1b;
}

.chip.status-unknown {
    background: #f3f4f6;
    color: #6b7280;
}

.alert {
    padding: 14px 16px;
    border-radius: var(--md-radius-md);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.alert-success {
    background: #e8f5e9;
    border: 1px solid #c8e6c9;
    color: #1b5e20;
}

.alert-error {
    background: #ffebee;
    border: 1px solid #ffcdd2;
    color: var(--md-sys-color-error);
}

.alert-warning {
    background: #fff8e1;
    border: 1px solid #ffecb3;
    color: var(--md-sys-color-warning);
}

.alert-info {
    background: #e3f2fd;
    border: 1px solid #bbdefb;
    color: var(--md-sys-color-info);
}

/* Search / filter bar */
.search-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    margin-bottom: 24px;
    border-radius: var(--md-radius-lg);
    background: rgba(253, 251, 255, 0.95);
    border: 2px solid var(--md-sys-color-outline);
    box-shadow: var(--md-shadow-1);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.search-bar:focus-within {
    border-color: var(--md-sys-color-primary);
    box-shadow: 0 0 0 4px rgba(31, 91, 99, 0.12), var(--md-shadow-2);
}

.search-bar > .material-symbols-rounded {
    font-size: 28px;
    color: var(--md-sys-color-primary);
    flex-shrink: 0;
}

.search-bar input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 1.15rem;
    font-family: inherit;
    color: var(--md-sys-color-on-surface);
    padding: 4px 0;
}

.search-bar input::placeholder {
    color: var(--md-sys-color-on-surface-variant);
    opacity: 0.6;
}

.search-count {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--md-sys-color-on-surface-variant);
    white-space: nowrap;
    padding: 6px 14px;
    background: var(--md-sys-color-surface-container-high);
    border-radius: 999px;
}

.empty-state {
    padding: 28px;
    border-radius: var(--md-radius-lg);
    border: 1px dashed var(--md-sys-color-outline);
    background: rgba(253, 251, 255, 0.7);
    text-align: center;
    color: var(--md-sys-color-on-surface-variant);
}

.form-card {
    max-width: 620px;
    margin: 0 auto;
    background: rgba(253, 251, 255, 0.92);
    border-radius: var(--md-radius-lg);
    padding: 26px;
    border: 1px solid rgba(199, 203, 212, 0.7);
    box-shadow: var(--md-shadow-1);
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--md-sys-color-outline);
    border-radius: 14px;
    font-size: 1rem;
    background: var(--md-sys-color-surface);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
}

.input-wrapper {
    position: relative;
}

.input-wrapper .material-symbols-rounded {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--md-sys-color-on-surface-variant);
    font-size: 20px;
}

.input-wrapper input {
    padding-left: 44px;
}

.form-group input:focus {
    outline: none;
    border-color: var(--md-sys-color-primary);
    box-shadow: 0 0 0 4px rgba(31, 91, 99, 0.12);
}

.form-group small {
    display: block;
    margin-top: 6px;
    color: var(--md-sys-color-on-surface-variant);
    font-size: 0.85rem;
}

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 18px;
}

code {
    background: var(--md-sys-color-surface-container-high);
    padding: 2px 6px;
    border-radius: 6px;
    font-family: "SFMono-Regular", Menlo, monospace;
    font-size: 0.85rem;
}

.device-details {
    display: grid;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--md-sys-color-on-surface-variant);
}

.detail-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.detail-label {
    font-weight: 600;
    color: var(--md-sys-color-on-surface);
}

/* Auth pages */
.auth-body {
    background:
        radial-gradient(1200px 800px at 20% 10%, #d1eef2 0%, transparent 55%),
        radial-gradient(1000px 700px at 90% 20%, #f8e1d4 0%, transparent 50%),
        #f5f2f0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
}

.auth-shell {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 28px;
    width: min(1100px, 100%);
    align-items: stretch;
}

.auth-hero {
    background: rgba(31, 91, 99, 0.08);
    border-radius: var(--md-radius-lg);
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    border: 1px solid rgba(31, 91, 99, 0.2);
}

.auth-card {
    background: rgba(253, 251, 255, 0.95);
    border-radius: var(--md-radius-lg);
    padding: 32px;
    border: 1px solid rgba(199, 203, 212, 0.7);
    box-shadow: var(--md-shadow-2);
}

.auth-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    font-weight: 650;
}

.auth-brand .material-symbols-rounded {
    font-size: 30px;
    padding: 10px;
    border-radius: 14px;
    background: var(--md-sys-color-primary-container);
    color: var(--md-sys-color-on-primary-container);
}

.auth-title {
    font-size: 1.6rem;
    font-weight: 650;
    margin-top: 14px;
}

.auth-subtitle {
    color: var(--md-sys-color-on-surface-variant);
    font-size: 0.95rem;
}

.auth-toggle {
    margin-top: 6px;
    font-size: 0.9rem;
    color: var(--md-sys-color-primary);
    cursor: pointer;
    font-weight: 600;
}

.auth-toggle:hover { text-decoration: underline; }

.hidden { display: none; }

/* Wizard Modal */
.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.modal-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.modal {
    background: var(--md-sys-color-surface);
    border-radius: var(--md-radius-lg);
    box-shadow: var(--md-shadow-3);
    width: min(680px, 100%);
    max-height: 85vh;
    overflow-y: auto;
    transform: translateY(16px) scale(0.97);
    transition: transform 0.25s ease;
}

.modal-backdrop.open .modal {
    transform: translateY(0) scale(1);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 16px;
    border-bottom: 1px solid var(--md-sys-color-outline);
}

.modal-header h2 {
    font-size: 1.3rem;
    font-weight: 650;
}

.modal-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 999px;
    color: var(--md-sys-color-on-surface-variant);
    transition: background 0.2s;
}

.modal-close:hover {
    background: var(--md-sys-color-surface-container-high);
}

.modal-body {
    padding: 20px 24px;
}

.modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px 20px;
    border-top: 1px solid var(--md-sys-color-outline);
    gap: 12px;
}

.modal-footer .btn-group {
    display: flex;
    gap: 10px;
}

/* Wizard steps indicator */
.wizard-steps {
    display: flex;
    gap: 8px;
    padding: 16px 24px;
    background: var(--md-sys-color-surface-container);
}

.wizard-step {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--md-sys-color-on-surface-variant);
    background: transparent;
}

.wizard-step.active {
    background: var(--md-sys-color-primary-container);
    color: var(--md-sys-color-on-primary-container);
}

.wizard-step.done {
    color: var(--md-sys-color-success);
}

.wizard-step .step-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--md-sys-color-surface-container-high);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.wizard-step.active .step-num {
    background: var(--md-sys-color-primary);
    color: var(--md-sys-color-on-primary);
}

.wizard-step.done .step-num {
    background: var(--md-sys-color-success);
    color: #fff;
}

/* Wizard page content */
.wizard-page { display: none; }
.wizard-page.active { display: block; }

.wizard-page .warn-box {
    background: #fff8e1;
    border: 1px solid #ffecb3;
    border-radius: var(--md-radius-md);
    padding: 18px;
    display: flex;
    gap: 14px;
    color: var(--md-sys-color-warning);
    margin-bottom: 16px;
}

.wizard-page .warn-box .material-symbols-rounded {
    font-size: 28px;
    flex-shrink: 0;
}

/* Select dropdown for wizard */
.wizard-select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--md-sys-color-outline);
    border-radius: 14px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--md-sys-color-surface);
    color: var(--md-sys-color-on-surface);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath fill='%2344464f' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.wizard-select:focus {
    outline: none;
    border-color: var(--md-sys-color-primary);
    box-shadow: 0 0 0 4px rgba(31, 91, 99, 0.12);
}

.wizard-select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Mapping grid */
.mapping-grid {
    display: grid;
    gap: 16px;
}

.mapping-section {
    background: var(--md-sys-color-surface-container);
    border-radius: var(--md-radius-md);
    padding: 16px;
}

.mapping-section h4 {
    font-size: 0.95rem;
    font-weight: 650;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mapping-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

.mapping-row label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--md-sys-color-on-surface-variant);
}

.mapping-row select {
    padding: 8px 10px;
    border: 1px solid var(--md-sys-color-outline);
    border-radius: 10px;
    font-size: 0.9rem;
    font-family: inherit;
    background: var(--md-sys-color-surface);
}

/* Summary table in confirm step */
.summary-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.summary-table th,
.summary-table td {
    padding: 8px 12px;
    text-align: left;
    border-bottom: 1px solid var(--md-sys-color-outline);
}

.summary-table th {
    font-weight: 600;
    color: var(--md-sys-color-on-surface-variant);
    background: var(--md-sys-color-surface-container);
}

/* BM config badge on device card */
.bm-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #e3f2fd;
    color: #1565c0;
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
}

.bm-badge .material-symbols-rounded {
    font-size: 14px;
}

.device-card-actions {
    display: flex;
    gap: 6px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(199, 203, 212, 0.5);
    flex-wrap: wrap;
}

.device-card-actions .btn {
    padding: 7px 14px;
    font-size: 0.82rem;
    font-weight: 500;
}

.device-card-actions .btn .material-symbols-rounded {
    font-size: 18px;
}

.device-card-actions .btn-delete {
    margin-left: auto;
    padding: 7px;
    border-radius: 50%;
}

/* Loading spinner */
.spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid var(--md-sys-color-outline);
    border-top-color: var(--md-sys-color-primary);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Project list layout */
.project-list {
    display: flex;
    flex-direction: column;
    background: rgba(253, 251, 255, 0.6);
    border: 1px solid rgba(199, 203, 212, 0.7);
    border-radius: var(--md-radius-lg);
    overflow: hidden;
}

.project-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    background: rgba(253, 251, 255, 0.95);
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease;
    cursor: pointer;
}

.project-row:hover {
    background: var(--md-sys-color-surface-container);
}

.project-row:not(:last-child) {
    border-bottom: 1px solid rgba(199, 203, 212, 0.4);
}

.project-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--md-sys-color-primary-container);
    color: var(--md-sys-color-on-primary-container);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.project-icon .material-symbols-rounded {
    font-size: 22px;
}

.project-info {
    flex: 1;
    min-width: 0;
}

.project-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--md-sys-color-on-surface);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.project-meta {
    font-size: 0.8rem;
    color: var(--md-sys-color-on-surface-variant);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 3px;
    flex-wrap: wrap;
}

.project-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.project-arrow {
    color: var(--md-sys-color-on-surface-variant);
    font-size: 22px;
    opacity: 0.4;
}

.project-row:hover .project-arrow {
    opacity: 0.8;
}

.btn-sm {
    padding: 7px 12px;
    font-size: 0.85rem;
}

.btn-sm .material-symbols-rounded {
    font-size: 18px;
}

.btn-icon-only {
    padding: 8px;
    border-radius: 50%;
}

.btn-icon-only .material-symbols-rounded {
    font-size: 20px;
}

/* ── Responsive: tablet ──────────────────────────── */

@media (max-width: 900px) {
    .auth-shell { grid-template-columns: 1fr; }
    .auth-hero { display: none; }
    nav { display: none; }
    .mapping-row { grid-template-columns: 1fr; }
    .modal { max-height: 95vh; }

    .header {
        padding: 12px 16px;
        background: var(--md-sys-color-surface);
        backdrop-filter: none;
    }
    .logo { gap: 8px; }
    .logo .material-symbols-rounded { font-size: 20px; padding: 6px; border-radius: 8px; }
    .logo-text { font-size: 0.9rem; }
    .user-menu { gap: 10px; }
    .user-menu > span { display: none; }
    .btn-logout { padding: 6px 12px; font-size: 0.85rem; }

    main { margin: 14px auto 32px; padding: 0 14px; }
    .page-header { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 16px; }
    .page-title { font-size: 1.4rem; margin-bottom: 2px; }
    .page-subtitle { font-size: 0.85rem; }
    .callout { flex-direction: column; align-items: flex-start; }

    .search-bar {
        padding: 10px 14px;
        gap: 8px;
        margin-bottom: 14px;
        border-radius: var(--md-radius-sm);
        border: 1px solid var(--md-sys-color-outline);
        box-shadow: none;
    }
    .search-bar input { font-size: 0.95rem; }
    .search-bar > .material-symbols-rounded { font-size: 20px; }

    .project-list { border-radius: var(--md-radius-sm); }
    .project-row { padding: 12px 14px; gap: 12px; }
    .project-icon { width: 36px; height: 36px; border-radius: 8px; }
    .project-icon .material-symbols-rounded { font-size: 20px; }
    .project-name { font-size: 0.95rem; }
    .project-meta { font-size: 0.78rem; gap: 6px; }
    .project-arrow { display: none; }
}

/* ── Responsive: phone ───────────────────────────── */

@media (max-width: 480px) {
    .header {
        padding: 8px 12px;
        background: var(--md-sys-color-surface);
        backdrop-filter: none;
    }
    .logo-text { display: none; }
    .logo .material-symbols-rounded { font-size: 18px; padding: 5px; }
    .btn-logout { padding: 6px 10px; font-size: 0.8rem; }

    main { padding: 0 10px; margin: 10px auto 24px; }
    .page-header { gap: 8px; margin-bottom: 12px; }
    .page-title { font-size: 1.2rem; }
    .page-subtitle { display: none; }

    .btn { padding: 8px 14px; font-size: 0.88rem; }
    .btn .material-symbols-rounded { font-size: 18px; }

    .search-bar {
        padding: 8px 12px;
        margin-bottom: 10px;
        border-radius: 10px;
        border: 1px solid var(--md-sys-color-outline);
        box-shadow: none;
    }
    .search-bar input { font-size: 16px; }
    .search-bar > .material-symbols-rounded { font-size: 20px; }
    .search-count { display: none; }

    .project-list {
        border-radius: 12px;
        border: 1px solid rgba(199, 203, 212, 0.5);
    }
    .project-row { padding: 14px 12px; gap: 10px; min-height: 52px; }
    .project-icon { display: none; }
    .project-name { font-size: 0.92rem; }
    .project-meta { font-size: 0.75rem; gap: 6px; margin-top: 2px; }

    .btn-icon-only {
        padding: 8px;
        border: none;
        background: var(--md-sys-color-surface-container);
        border-radius: 8px;
    }
    .btn-icon-only .material-symbols-rounded {
        font-size: 18px;
        color: var(--md-sys-color-on-surface-variant);
    }

    .card { padding: 14px; border-radius: var(--md-radius-sm); }
    .callout-steps { gap: 4px; }
    .callout-steps .chip { font-size: 0.7rem; padding: 4px 8px; }
    .card-actions { gap: 6px; }
    .card-actions .btn { padding: 8px 14px; font-size: 0.85rem; }

    .alert { padding: 10px 12px; font-size: 0.85rem; border-radius: 10px; margin-bottom: 10px; }
    .alert .material-symbols-rounded { font-size: 18px; }
}
