/* 
 * MagpieCSS/CMS - Design System & UI Library
 * Extracted from MagpieStash app.
 * Fully responsive, multi-themed, vanilla CSS layout and components framework.
 */

/* --- START OF variables.css --- */
/* ==========================================================================
   DESIGN TOKENS & THEMES (VARIABLES)
   ========================================================================== */

/* 
   By default, the :root element uses the MAGPIE theme.
   You can override themes by setting data-theme="magpie|dark|light|hc|terminal" on the <html> or <body> element.
*/
:root, [data-theme="magpie"] {
    --bg: #0f172a;
    --card: #1e293b;
    --input-bg: #1e293b;
    --text: #f8fafc;
    --muted-text: #94a3b8;
    --border: #334155;
    --border-light: #475569;
    --accent: #3b82f6;
    --secondary: #2dd4bf;
    --danger: #f43f5e;
    --gold: #ffd700;
    
    --hover-bg: rgba(45, 212, 191, 0.1);
    --table-hover: rgba(45, 212, 191, 0.05);
    --table-header-bg: #0f172a;
    --gradient-start: rgba(255, 215, 0, 0.08);
    --gradient-end: rgba(15, 23, 42, 1);
    --search-icon-color: %2394a3b8;
    
    /* Animation Speeds */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

[data-theme="dark"] {
    --bg: #1a1a1a;
    --card: #2d2d2d;
    --input-bg: #111;
    --text: #e0e0e0;
    --muted-text: #888;
    --border: #444;
    --border-light: #333;
    --accent: #4a9eff;
    --secondary: #666;
    --danger: #ff4d4d;
    --gold: #ffd700;
    
    --hover-bg: #2a2a2a;
    --table-hover: #252525;
    --table-header-bg: #1a1a1a;
    --gradient-start: rgba(255, 215, 0, 0.08);
    --gradient-end: rgba(26, 26, 26, 1);
    --search-icon-color: %23888;
}

[data-theme="light"] {
    --bg: #f4f4f5;
    --card: #ffffff;
    --input-bg: #ffffff;
    --text: #111827;
    --muted-text: #6b7280;
    --border: #d1d5db;
    --border-light: #e5e7eb;
    --accent: #0056b3;
    --secondary: #4b5563;
    --danger: #dc2626;
    --gold: #b48600;
    
    --hover-bg: #f3f4f6;
    --table-hover: #f9fafb;
    --table-header-bg: #f3f4f6;
    --gradient-start: rgba(180, 134, 0, 0.08);
    --gradient-end: rgba(255, 255, 255, 1);
    --search-icon-color: %236b7280;
}

[data-theme="hc"] {
    --bg: #000000;
    --card: #000000;
    --input-bg: #000000;
    --text: #ffffff;
    --muted-text: #cccccc;
    --border: #ffffff;
    --border-light: #ffffff;
    --accent: #00ffff;
    --secondary: #ffffff;
    --danger: #ff0000;
    --gold: #ffff00;
    
    --hover-bg: #333333;
    --table-hover: #111111;
    --table-header-bg: #000000;
    --gradient-start: rgba(0, 0, 0, 0);
    --gradient-end: rgba(0, 0, 0, 1);
    --search-icon-color: %23ffffff;
}

[data-theme="terminal"] {
    --bg: #000000;
    --card: #050505;
    --input-bg: #000000;
    --text: #33ff00;
    --muted-text: #00cc00;
    --border: #33ff00;
    --border-light: #004400;
    --accent: #33ff00; 
    --secondary: #00aa00;
    --danger: #ff3333;
    --gold: #ffcc00;
    
    --hover-bg: #002200;
    --table-hover: #001a00;
    --table-header-bg: #000000;
    --gradient-start: rgba(51, 255, 0, 0.15);
    --gradient-end: rgba(0, 0, 0, 1);
    --search-icon-color: %2333ff00;
}

/* --- END OF variables.css --- */

/* --- START OF reset.css --- */
/* ==========================================================================
   GLOBAL RESET, TYPOGRAPHY & SCROLLBARS
   ========================================================================== */

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg);
    color: var(--text);
    padding: 20px;
    line-height: 1.5;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: none;
    font-family: inherit;
}

/* Custom Scrollbars (Webkit) */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 8px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
    border: 2px solid transparent;
    background-clip: padding-box;
}


/* Custom Scrollbars (Firefox) */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--border) var(--bg);
}

/* ==========================================================================
   TERMINAL THEME OVERRIDES
   ========================================================================== */

[data-theme="terminal"] body, 
[data-theme="terminal"] input, 
[data-theme="terminal"] textarea,
[data-theme="terminal"] select,
[data-theme="terminal"] button {
    font-family: "Courier New", Courier, monospace !important;
}

/* Flatten all borders for retro terminal look */
[data-theme="terminal"] *,
[data-theme="terminal"] *::before,
[data-theme="terminal"] *::after {
    border-radius: 0 !important;
}

[data-theme="terminal"] .stash-btn,
[data-theme="terminal"] .btn-util,
[data-theme="terminal"] button {
    color: #000 !important;
    background: #33ff00 !important;
    text-transform: uppercase;
    font-weight: bold;
}

[data-theme="terminal"] .stash-btn:hover,
[data-theme="terminal"] .btn-util:hover,
[data-theme="terminal"] button:hover {
    background: #00ff00 !important;
    box-shadow: 0 0 8px #33ff00;
}

/* Specific overrides for interactive menu/ui buttons in terminal mode */
[data-theme="terminal"] .dropdown-item,
[data-theme="terminal"] .hamburger-btn,
[data-theme="terminal"] .tool-btn,
[data-theme="terminal"] .tab-btn {
    background: transparent !important;
    color: #33ff00 !important;
    border: none !important;
    text-transform: none;
    font-weight: normal;
    box-shadow: none !important;
}

[data-theme="terminal"] .dropdown-item:hover,
[data-theme="terminal"] .hamburger-btn:hover,
[data-theme="terminal"] .tool-btn:hover,
[data-theme="terminal"] .tab-btn:hover {
    background: #33ff00 !important;
    color: #000000 !important;
    box-shadow: none !important;
}


/* --- END OF reset.css --- */

/* --- START OF layout.css --- */
/* ==========================================================================
   LAYOUTS & RESPONSIVE GRID SYSTEM
   ========================================================================== */

/* Standard responsive container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 1400px) {
    .container { max-width: 1300px; }
}

@media (min-width: 1600px) {
    .container { max-width: 1500px; }
}

@media (min-width: 1920px) {
    .container { max-width: 1800px; }
}

/* --- THE SIDE-NAVIGATION APP LAYOUT --- */
.app-layout {
    display: grid;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Desktop App Grid Layout (min-width: 769px) */
@media (min-width: 769px) {
    .app-layout {
        grid-template-columns: 240px 1fr auto;
        grid-template-rows: auto 1fr auto;
        grid-template-areas: 
            "logo search actions"
            "nav content content"
            "nav footer footer";
        align-items: start;
        gap: 20px;
    }
    
    .app-logo {
        grid-area: logo;
        display: flex;
        align-items: center;
        height: 50px;
    }
    
    .app-search {
        grid-area: search;
        display: flex;
        align-items: center;
        height: 50px;
    }
    
    .app-search .nav-search-input {
        width: 100%;
        max-width: 600px;
        box-sizing: border-box;
    }
    
    .app-actions {
        grid-area: actions;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        height: 50px;
        gap: 15px;
    }
    
    .app-nav {
        grid-area: nav;
        position: sticky;
        top: 20px;
    }
    
    .app-content {
        grid-area: content;
        min-width: 0;
    }
    
    .app-footer {
        grid-area: footer;
    }

    .nav-wrapper {
        display: flex;
        flex-direction: column;
        gap: 15px;
        border: none;
        padding: 0;
    }
    
    .nav-menu {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    
    .nav-menu .nav-link {
        padding: 10px 15px;
        border-radius: 8px;
        border: 1px solid var(--border-light);
        background: var(--hover-bg);
        transition: all var(--transition-fast);
        color: var(--muted-text);
        text-decoration: none;
        font-weight: 500;
    }
    
    .nav-menu .nav-link:hover {
        border-color: var(--accent);
        color: var(--text);
        background: var(--hover-bg);
    }
    
    .nav-menu .nav-link.active {
        background: rgba(74, 158, 255, 0.1);
        color: var(--accent);
        border-color: var(--accent);
    }
    
    .mobile-menu-toggle {
        display: none !important;
    }
}

/* Mobile App Grid Layout (max-width: 768px) */
@media (max-width: 768px) {
    .app-layout {
        grid-template-columns: 1fr auto;
        grid-template-areas: 
            "logo actions"
            "search search"
            "nav nav"
            "content content"
            "footer footer";
        gap: 15px;
        width: 100%;
        max-width: 100vw;
        padding: 15px;
    }
    
    .app-logo {
        grid-area: logo;
        display: flex;
        align-items: center;
        min-height: 40px;
        min-width: 0;
    }
    
    .app-logo h1 {
        font-size: 1.2rem !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .app-actions {
        grid-area: actions;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        min-width: 0;
    }
    
    .header-actions {
        display: flex;
        justify-content: flex-end;
        gap: 10px !important;
        align-items: center;
        flex-wrap: nowrap !important;
    }
    
    /* Condense user badge & hide logo text on mobile to save space */
    .user-profile-badge .user-name {
        display: none;
    }
    
    .user-profile-badge {
        margin-right: 0 !important;
        align-items: center !important;
    }
    
    .logo-text {
        display: none;
    }
    
    .vault-name-text {
        max-width: 90px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        display: inline-block;
        vertical-align: middle;
    }
    
    .app-search {
        grid-area: search;
        display: flex;
        width: 100%;
        gap: 10px;
        align-items: center;
        box-sizing: border-box;
    }
    
    .app-search .nav-search-input {
        flex-grow: 1;
        box-sizing: border-box;
        height: 40px;
    }
    
    .app-nav {
        grid-area: nav;
        width: 100%;
    }
    
    .app-content {
        grid-area: content;
        min-width: 0;
        width: 100%;
    }
    
    .app-footer {
        grid-area: footer;
    }

    /* Mobile Collapsible Navigation Menu */
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--card);
        border: 1px solid var(--border);
        padding: 0 12px;
        height: 40px;
        border-radius: 6px;
        cursor: pointer;
        color: var(--text);
    }
    
    .nav-wrapper {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0;
        display: flex;
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .nav-menu {
        display: none !important;
        flex-direction: column;
        width: 100%;
        gap: 8px;
        padding-top: 10px;
        white-space: normal;
    }
    
    .nav-menu.show {
        display: flex !important;
    }
    
    .nav-menu .nav-link {
        padding: 12px 15px;
        background: var(--hover-bg);
        border-radius: 8px;
        border: 1px solid var(--border-light);
        font-size: 1rem;
        color: var(--text);
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .nav-menu .nav-link.active {
        background: rgba(74, 158, 255, 0.1);
        border-color: var(--accent);
        color: var(--accent);
    }
    
    .dropdown-content {
        right: 0 !important;
        left: auto !important;
        max-width: 90vw;
        overflow-wrap: break-word;
    }
    
    /* Responsive Form Stack */
    .form-row {
        grid-template-columns: 1fr !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
    }
    
    .price-stack {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
        width: 100%;
    }
    
    /* Sticky bottom touch targets */
    .submit-area {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
    }
    
    .submit-area button {
        width: 100%;
        justify-content: center;
        text-align: center;
        margin: 0 !important;
    }
    
    .submit-area > div {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    
    .submit-area > div[style*="display: flex"] {
        flex-direction: column;
        width: 100%;
        gap: 10px !important;
    }
    
    .modal-content .stash-btn {
        width: 100%;
        justify-content: center;
    }
    
    .modal-content > div[style*="justify-content: flex-end"] {
        flex-direction: column;
        gap: 10px;
    }
}

/* --- FULL VIEWPORT GRID BYPASS (UTILITY) --- */
.layout-full-width {
    grid-template-columns: 1fr !important;
    grid-template-areas: 
        "logo search actions"
        "content content content"
        "footer footer footer" !important;
}

.layout-full-width .app-nav {
    display: none !important;
}

@media (max-width: 768px) {
    .layout-full-width {
        grid-template-areas: 
            "logo actions"
            "search search"
            "content content"
            "footer footer" !important;
    }
}

/* --- PRINT SYSTEM OVERRIDES --- */
@media print {
    :root, 
    [data-theme="magpie"], 
    [data-theme="dark"], 
    [data-theme="light"], 
    [data-theme="hc"], 
    [data-theme="terminal"] {
        --bg: #ffffff !important;
        --card: #ffffff !important;
        --input-bg: #ffffff !important;
        --text: #0f172a !important;
        --muted-text: #475569 !important;
        --border: #cbd5e1 !important;
        --border-light: #e2e8f0 !important;
        --accent: #3b82f6 !important;
        --secondary: #0f172a !important;
        --gold: #b48600 !important;
        --hover-bg: #f1f5f9 !important;
        --table-hover: #f8fafc !important;
        --table-header-bg: #f1f5f9 !important;
    }

    body {
        background: #ffffff !important;
        color: #0f172a !important;
        padding: 0 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .hide-print {
        display: none !important;
    }
    
    @page {
        margin: 0.5in;
        size: portrait;
    }
    
    table {
        page-break-inside: auto;
    }
    
    tr {
        page-break-inside: avoid;
        page-break-after: auto;
    }
    
    thead {
        display: table-header-group;
    }
    
    tfoot {
        display: table-footer-group;
    }
}

/* --- END OF layout.css --- */

/* --- START OF components.css --- */
/* ==========================================================================
   COMPONENTS CATALOG (FORMS, BUTTONS, CARDS, DIALOGS, CANVAS UI)
   ========================================================================== */

/* --- 1. FORM CONTROLS & GROUPS --- */
.add-form { 
    background: var(--card); 
    padding: 20px; 
    border-radius: 12px; 
    margin-bottom: 40px; 
    border: 1px solid var(--border); 
}

.form-row { 
    display: grid; 
    gap: 15px; 
    margin-bottom: 15px; 
}
.form-row.mt-15 { margin-top: 15px; }

.row-1 { grid-template-columns: 2fr 1fr 1fr 0.5fr; }
.row-2 { grid-template-columns: 2fr 1fr; gap: 15px; }
.row-3 { grid-template-columns: 2fr 1fr 1fr; margin-top: 15px; align-items: center; }

.price-stack { display: flex; flex-direction: column; gap: 15px; }
.input-group { display: flex; flex-direction: column; height: 100%; }

.input-group label { 
    font-size: 0.75rem; 
    margin-bottom: 5px; 
    color: var(--muted-text); 
    text-transform: uppercase; 
    letter-spacing: 0.05rem; 
}

input, textarea, select { 
    padding: 10px; 
    border-radius: 4px; 
    border: 1px solid var(--border); 
    background: var(--input-bg); 
    color: var(--text); 
    font-size: 0.9rem; 
    width: 100%; 
    box-sizing: border-box; 
    outline: none;
    transition: border-color var(--transition-fast);
}

input:focus, textarea:focus, select:focus {
    border-color: var(--accent);
}

/* Custom number input spin arrows */
input[type="number"] {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 3 18 9'></polyline><polyline points='6 15 12 21 18 15'></polyline></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 32px !important;
    -moz-appearance: textfield;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    opacity: 0;
    cursor: pointer;
    margin: 0;
}

/* Theme specific overrides for quantity arrows */
[data-theme="light"] input[type="number"] {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 3 18 9'></polyline><polyline points='6 15 12 21 18 15'></polyline></svg>");
}

[data-theme="hc"] input[type="number"] {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 3 18 9'></polyline><polyline points='6 15 12 21 18 15'></polyline></svg>");
}

[data-theme="terminal"] input[type="number"] {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2333ff00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 3 18 9'></polyline><polyline points='6 15 12 21 18 15'></polyline></svg>");
}

/* Custom styled select dropdown */
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%2394a3b8' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 8px center;
    padding-right: 32px !important;
}

textarea { 
    resize: none; 
    height: 100%; 
    min-height: 100px; 
}

/* Custom File Upload Buttons */
.input-group label.file-upload-btn {
    background: var(--input-bg);
    color: var(--text);
    border: 1px solid var(--border);
    padding: 12px 15px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 0.9rem;
    text-transform: none;
    letter-spacing: normal;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all var(--transition-fast);
    margin: 0;
}

.input-group label.file-upload-btn:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.checkbox-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
    padding-top: 20px;
}
.checkbox-group input { width: auto; margin: 0; }
.checkbox-group label {
    margin: 0;
    color: var(--muted-text);
    cursor: pointer;
    font-size: 0.85rem;
    text-transform: none;
    letter-spacing: normal;
}

.input-error {
    border: 2px solid var(--danger) !important;
    transition: all var(--transition-fast);
}


/* --- 2. BUTTONS --- */
.stash-btn { 
    background: var(--accent); 
    color: #fff; 
    padding: 12px 30px; 
    border: none; 
    border-radius: 6px; 
    font-weight: bold; 
    cursor: pointer; 
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: opacity var(--transition-fast), background var(--transition-fast);
}
.stash-btn:hover {
    opacity: 0.9;
}

.stash-btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}
.stash-btn-outline:hover {
    background: var(--hover-bg);
}

.delete-btn { 
    background: var(--danger); 
    color: #fff; 
    border: none; 
    padding: 5px 10px; 
    border-radius: 4px; 
    cursor: pointer; 
    transition: opacity var(--transition-fast);
}
.delete-btn:hover {
    opacity: 0.9;
}

/* High Contrast Button Tweaks */
[data-theme="hc"] .stash-btn {
    border: 2px solid #ffffff;
    color: #000;
    background: #fff;
}
[data-theme="hc"] .delete-btn { 
    border: 2px solid #fff; 
    color: #000; 
    background: var(--danger);
}


/* --- 3. SEARCH & DROPDOWNS --- */
.nav-search-input {
    padding: 8px 15px 8px 35px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background-color: var(--input-bg);
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg>');
    background-repeat: no-repeat;
    background-position: 12px center;
    color: var(--text);
    font-size: 0.85rem;
    width: 200px;
    transition: width var(--transition-normal), border-color var(--transition-fast);
}

.nav-search-input:focus {
    width: 260px;
    outline: none;
    border-color: var(--accent);
}

.dropdown {
    position: relative;
    display: inline-block;
}

.hamburger-btn {
    background: none;
    border: 1px solid transparent;
    color: var(--text);
    cursor: pointer;
    padding: 6px 8px;
    display: flex;
    align-items: center;
    border-radius: 6px;
    transition: all var(--transition-fast);
}

.hamburger-btn:hover {
    background: var(--hover-bg);
    border-color: var(--border);
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: var(--card);
    min-width: 220px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    border-radius: 8px;
    border: 1px solid var(--border);
    z-index: 1000;
    margin-top: 8px;
    overflow: hidden;
}

.dropdown-content.show {
    display: flex;
    flex-direction: column;
}

.dropdown-item {
    padding: 12px 16px;
    text-decoration: none;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background var(--transition-fast);
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    box-sizing: border-box;
}

.dropdown-item:hover {
    background: var(--hover-bg);
    color: var(--accent);
}

.dropdown-item.text-danger {
    color: var(--danger);
}

.dropdown-item.text-danger:hover {
    color: #fff;
    background: var(--danger);
}

.dropdown-divider {
    height: 1px;
    background: var(--border-light);
    margin: 4px 0;
}


/* --- 4. TOOLBAR & METRICS BAR --- */
.dashboard-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--card);
    border: 1px solid var(--border);
    padding: 8px 15px;
    border-radius: 6px;
    margin-bottom: 12px;
    gap: 20px;
    flex-wrap: wrap;
}
.vault-stats { display: flex; gap: 20px; align-items: center; }
.stat-item { display: flex; align-items: baseline; gap: 8px; font-size: 0.85rem; }
.stat-label { color: var(--muted-text); text-transform: uppercase; font-weight: bold; font-size: 0.7rem; letter-spacing: 0.05rem; }
.stat-val { color: var(--text); font-weight: 700; }
.stat-val.gold { color: var(--gold); }

.filter-strip {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}
.filter-strip .search-box { flex-grow: 1; min-width: 250px; }

.btn-util {
    padding: 6px 12px;
    background: var(--hover-bg);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: background var(--transition-fast);
}
.btn-util:hover { background: var(--border-light); }

#portfolio-summary {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    border: 1px solid var(--border);
    border-right: 4px solid var(--gold);
    border-left: none;
    padding: 8px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    justify-content: flex-end;
    align-items: baseline;
    gap: 12px;
}
.summary-title {
    margin: 0;
    color: var(--gold);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1rem;
    font-weight: bold;
}
#total-value-display {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--text);
    margin-left: 6px;
}

.metric-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px;
    flex: 1;
    min-width: 200px;
    text-align: center;
}
.metric-value {
    font-size: 2.5rem;
    color: var(--accent);
    font-weight: bold;
    margin: 10px 0;
}

.admin-warning {
    background: rgba(255, 69, 58, 0.1);
    border: 1px solid #ff453a;
    color: #ff453a;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
}

.admin-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--border);
    padding-bottom: 10px;
}
.tab-btn {
    background: transparent;
    border: none;
    color: var(--muted-text);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 6px;
    transition: var(--transition-fast);
}
.tab-btn.active {
    background: var(--hover-bg);
    color: var(--text);
    font-weight: bold;
}
.tab-content { display: none; }
.tab-content.active { display: block; }


/* --- 5. BADGES, SCROLLBARS & DETAILS --- */
.tag-badge {
    background: var(--hover-bg);
    color: var(--muted-text);
    border: 1px solid var(--border);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all var(--transition-fast) ease;
}

.tag-badge:hover {
    background: rgba(74, 158, 255, 0.1);
    color: var(--accent);
    border-color: var(--accent);
}

.suggested-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.restock-badge {
    background: var(--gold);
    color: #000;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 3px;
    letter-spacing: 0.02rem;
    flex-shrink: 0;
    line-height: 1;
    display: inline-block;
}

.badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: bold;
    display: inline-block;
}
.badge.feature { background: rgba(74, 158, 255, 0.2); color: #4a9eff; }
.badge.bug { background: rgba(255, 69, 58, 0.2); color: #ff453a; }
.badge.paid { background: rgba(48, 209, 88, 0.2); color: #30d158; }
.badge.free { background: var(--hover-bg); color: var(--muted-text); }

/* Custom Scrollbar Utilities */
.m-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}
.m-scrollbar::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
.m-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}
.m-scrollbar::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 8px;
    border: 2px solid transparent;
    background-clip: padding-box;
    transition: background var(--transition-fast) ease;
}
.m-scrollbar::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* Slim Scrollbar Option */
.m-scrollbar-thin {
    scrollbar-width: thin;
    scrollbar-color: var(--border-light) transparent;
}
.m-scrollbar-thin::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}
.m-scrollbar-thin::-webkit-scrollbar-track {
    background: transparent;
}
.m-scrollbar-thin::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: 10px;
}
.m-scrollbar-thin::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* Hide Scrollbar Utility */
.m-scrollbar-hide {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
.m-scrollbar-hide::-webkit-scrollbar {
    display: none;  /* Chrome, Safari and Opera */
}


/* --- 6. AIRTABLE DATA GRID & RESPONSIVE CONVERSION --- */
.grid-container {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.data-grid { 
    min-width: 100%; 
    width: max-content; 
    border-collapse: collapse; 
    table-layout: auto; 
}

.data-grid th {
    background: var(--table-header-bg);
    color: var(--muted-text);
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 800;
    padding: 8px 12px;
    text-align: left;
    border-right: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 10;
}

.data-grid td {
    padding: 6px 12px;
    font-size: 0.85rem;
    border-right: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text);
}
.data-grid tr:hover { background: var(--table-hover); }
.data-grid tr:nth-child(even) { background: rgba(255, 255, 255, 0.01); }

/* Column Width Standards */
.col-img { width: 45px; text-align: center; }
.col-qty { width: 60px; text-align: center; font-weight: bold; color: var(--muted-text); }
.col-name { width: 25%; font-weight: 600; }
.col-cat, .col-loc { width: 15%; color: var(--muted-text); }
.col-money { width: 100px; text-align: right; font-family: 'Courier New', monospace; font-weight: 600; }
.col-tags { width: auto; }

.tag-pill {
    display: inline-block;
    font-size: 0.65rem;
    padding: 1px 6px;
    background: var(--hover-bg);
    border: 1px solid var(--border-light);
    border-radius: 3px;
    margin-right: 4px;
    color: var(--muted-text);
}

.sort-arrow { font-size: 0.6rem; margin-left: 4px; color: var(--muted-text); }
th.active-sort { color: var(--accent); background: rgba(74, 158, 255, 0.05); }

.thumb-tiny { 
    width: 24px; 
    height: 24px; 
    border-radius: 3px; 
    object-fit: cover; 
    border: 1px solid var(--border); 
    vertical-align: middle; 
}

/* 3D Image Pop-Out Gallery effect */
.gallery-img {
    height: 120px; 
    width: 120px; 
    object-fit: cover; 
    border-radius: 8px; 
    border: 1px solid var(--border); 
    transition: all var(--transition-slow);
    position: relative;
    z-index: 1;
}
.gallery-img:hover {
    transform: scale(2.5);
    z-index: 100;
    box-shadow: 0 15px 30px rgba(0,0,0,0.8);
    border-color: var(--accent);
}

/* --- Responsive Table to Card Transform (width <= 800px) --- */
@media (max-width: 800px) {
    .grid-container { border: none; background: transparent; }
    .data-grid { display: block; }
    .data-grid thead { display: none; }
    .data-grid tbody { display: grid; grid-template-columns: 1fr; gap: 8px; }
    
    .data-grid tr {
        display: grid;
        grid-template-columns: 40px 1fr 80px;
        grid-template-areas: 
            "img name qty"
            "img details details"
            "tags tags tags";
        background: var(--card);
        border: 1px solid var(--border);
        padding: 10px;
        border-radius: 6px;
        gap: 4px 10px;
    }
    .data-grid td { border: none; padding: 0; width: auto !important; white-space: normal; }
    
    .cell-img { grid-area: img; }
    .thumb-tiny { width: 40px; height: 40px; }
    
    .cell-name { grid-area: name; font-size: 0.95rem; font-weight: bold; }
    .cell-qty { grid-area: qty; text-align: right; font-size: 0.85rem; color: var(--accent); display: block !important; }
    
    .cell-details { 
        grid-area: details; font-size: 0.75rem; color: var(--muted-text);
        display: flex !important; gap: 10px; 
    }
    .cell-details span::after { content: ' • '; margin-left: 10px; }
    .cell-details span:last-child::after { content: ''; }
    .cell-details .val-mobile { color: var(--gold); font-weight: bold; }

    .cell-tags { grid-area: tags; padding-top: 5px !important; }
    
    .hide-mobile { display: none !important; }
}


/* --- 7. COLLAPSIBLE PANELS & HIERARCHICAL TREES --- */
.location-box {
    background: var(--card); 
    border: 1px solid var(--border);
    border-radius: 8px; 
    margin-bottom: 15px; 
    overflow: hidden;
}

.location-header {
    background: var(--hover-bg); 
    padding: 15px 20px; 
    font-size: 1.1rem;
    font-weight: bold; 
    color: var(--gold); 
    cursor: pointer; 
    list-style: none;
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    border-bottom: 1px solid transparent; 
    transition: background var(--transition-fast);
}
.location-header:hover { filter: brightness(1.2); }

/* SVG Mask Chevron Indicator */
.location-header::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-color: var(--muted-text);
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><polyline points="6 9 12 15 18 9"></polyline></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><polyline points="6 9 12 15 18 9"></polyline></svg>');
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    transition: transform var(--transition-normal);
}
.location-box[open] .location-header { border-bottom: 1px solid var(--border); }
.location-box[open] .location-header::after { transform: rotate(180deg); }

.location-contents {
    padding: 15px; 
    max-height: 400px; 
    overflow-y: auto; 
    display: flex; 
    flex-direction: column; 
    gap: 10px;
}
.location-contents::-webkit-scrollbar { width: 6px; }
.location-contents::-webkit-scrollbar-track { background: var(--input-bg); }
.location-contents::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

/* Tree Branch Nesting */
.tree-branch {
    margin-left: 8px;
    border-left: 2px solid var(--border);
    padding-left: 8px;
    position: relative;
}

.tree-node {
    position: relative;
    margin-bottom: 8px;
}

/* Horizontal connector line */
.tree-node::before {
    content: '';
    position: absolute;
    top: 20px;
    left: -8px;
    width: 8px;
    border-top: 2px solid var(--border);
}

.node-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 15px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 6px;
    cursor: pointer;
    user-select: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.node-header:hover {
    border-color: var(--accent);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.node-title-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.node-toggle-icon {
    color: var(--muted-text);
    transition: transform var(--transition-normal);
    display: inline-flex;
    width: 16px;
    height: 16px;
    align-items: center;
    justify-content: center;
    transform: rotate(-90deg);
}

details[open] > summary .node-toggle-icon {
    transform: rotate(0deg);
}
details > summary {
    list-style: none;
}
details > summary::-webkit-details-marker {
    display: none;
}

/* Remove connector markers for root nodes */
.locations-container > .tree-branch {
    margin-left: 0;
    border-left: none;
    padding-left: 0;
}
.locations-container > .tree-branch > .tree-node::before {
    display: none;
}


/* --- 8. DIALOG MODALS & OVERLAYS --- */
.modal-overlay {
    position: fixed; 
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.7); 
    display: none;
    justify-content: center; 
    align-items: center; 
    z-index: 1000;
}

.modal-content {
    background: var(--card); 
    padding: 30px; 
    border-radius: 12px;
    border: 1px solid var(--border); 
    width: 90%; 
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    box-sizing: border-box;
}

.theme-btn {
    display: block; 
    width: 100%; 
    padding: 15px; 
    margin-bottom: 10px;
    background: var(--input-bg); 
    color: var(--text); 
    border: 1px solid var(--border);
    border-radius: 8px; 
    cursor: pointer; 
    font-size: 1rem; 
    text-align: left;
    transition: all var(--transition-fast); 
    font-weight: bold;
}
.theme-btn:hover { 
    background: var(--hover-bg); 
    border-color: var(--accent); 
}
.theme-btn.active { 
    border-color: var(--accent); 
    border-width: 2px; 
}

/* Dropdown specific theme switcher button styling */
.dropdown-content .theme-btn {
    padding: 10px 16px;
    margin-bottom: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    font-size: 0.85rem;
    font-weight: 500;
}
.dropdown-content .theme-btn:hover {
    background: var(--hover-bg);
}
.dropdown-content .theme-btn.active {
    background: var(--hover-bg);
    color: var(--accent);
    border: none;
    border-left: 3px solid var(--accent);
    border-width: 0 0 0 3px;
}



/* --- 9. DYNAMIC ANIMS & TOASTS --- */
@keyframes clippySlide {
    from { transform: translateY(100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
@keyframes toastFadeIn {
    from { transform: translateX(100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
@keyframes toastFadeOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100px); opacity: 0; }
}

#magpieToast {
    position: fixed; 
    bottom: 30px; 
    right: 30px; 
    background: var(--card); 
    border: 2px solid var(--accent); 
    border-radius: 8px; 
    padding: 12px 20px; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.5); 
    z-index: 10000; 
    display: none;
    align-items: center; 
    gap: 12px; 
    min-width: 200px;
}

#clippyToast {
    position: fixed; 
    bottom: 30px; 
    right: 30px; 
    background: var(--card); 
    border: 2px solid var(--border); 
    border-radius: 12px; 
    padding: 15px; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.5); 
    z-index: 9999; 
    display: none;
    max-width: 340px; 
    gap: 15px; 
    align-items: flex-start; 
}

/* Floating Action Button (FAB) */
.mobile-fab {
    display: none;
}
@media (max-width: 768px) {
    .mobile-fab {
        display: flex;
        position: fixed;
        bottom: 25px;
        right: 25px;
        width: 60px;
        height: 60px;
        background: var(--accent);
        color: #fff;
        border-radius: 50%;
        box-shadow: 0 4px 12px rgba(0,0,0,0.4);
        align-items: center;
        justify-content: center;
        z-index: 1000;
        cursor: pointer;
        border: none;
        transition: transform 0.2s, background 0.2s;
    }
    .mobile-fab:active {
        transform: scale(0.95);
        background: var(--gold);
    }
}
/* --- 9a. SPINNERS & SKELETON LOADERS --- */
.spinner {
    width: 28px;
    height: 28px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: inline-block;
}

.spinner.small {
    width: 16px;
    height: 16px;
    border-width: 2px;
}

.spinner.large {
    width: 48px;
    height: 48px;
    border-width: 4px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.skeleton-shimmer {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.03) 25%,
        rgba(255, 255, 255, 0.08) 50%,
        rgba(255, 255, 255, 0.03) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
    display: inline-block;
}

[data-theme="light"] .skeleton-shimmer {
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.04) 25%,
        rgba(0, 0, 0, 0.08) 50%,
        rgba(0, 0, 0, 0.04) 75%
    );
    background-size: 200% 100%;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton-text {
    height: 12px;
    width: 100%;
    margin-bottom: 8px;
}
.skeleton-text.short {
    width: 60%;
}
.skeleton-title {
    height: 20px;
    width: 40%;
    margin-bottom: 12px;
}
.skeleton-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.skeleton-block {
    height: 120px;
    width: 100%;
}


/* --- 10. SPATIAL & CANVAS DESIGNER WORKSPACE --- */
.mapping-container {
    position: relative;
    width: 100%;
    height: 80vh;
    background-color: #05070a;
    border: 1px solid #1a1f26;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.label-3d {
    color: #ffffff;
    font-family: 'Courier New', Courier, monospace;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.85);
    border-left: 3px solid var(--accent);
    font-size: 11px;
    font-weight: bold;
    pointer-events: none;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 4px 4px 0px rgba(0,0,0,0.2);
    backdrop-filter: blur(4px);
}

.floating-header {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    z-index: 100;
}
.floating-header > div {
    pointer-events: auto;
}

.map-title-box {
    background: rgba(0,0,0,0.8);
    border: 1px solid #2d3748;
    padding: 8px 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.view-controls {
    background: rgba(0,0,0,0.8);
    border: 1px solid #2d3748;
    padding: 6px;
    border-radius: 8px;
    display: flex;
    gap: 5px;
}

/* Option styling for custom map dropdowns */
#property-selector option {
    background-color: #05070a;
    color: #ffd700;
}

.mapping-container.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    border-radius: 0;
    border: none;
}

.fullscreen-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 38px;
    height: 38px;
    background: rgba(5, 7, 10, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid #2d3748;
    border-radius: 8px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.fullscreen-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent);
    color: var(--accent);
}

select.flat-select {
    background: transparent;
    border: 1px solid #2d3748;
    padding: 5px 25px 5px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    color: #fff;
    cursor: pointer;
}

/* 2D Canvas Designer elements */
.tool-palette {
    position: absolute;
    left: 15px;
    top: 80px;
    background: rgba(5, 7, 10, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid #2d3748;
    border-radius: 8px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 100;
    width: 48px;
    transition: width var(--transition-normal);
    overflow: hidden;
}
.tool-palette.expanded {
    width: 180px;
}

.tool-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    height: 32px;
    padding: 0 8px;
    background: transparent;
    border: none;
    color: #a0aec0;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: left;
}
.tool-btn:hover {
    background: rgba(255,255,255,0.05);
    color: #fff;
}
.tool-btn.active {
    background: var(--accent);
    color: #fff;
}
.tool-btn.danger:hover {
    background: var(--danger);
}

.icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    position: relative;
    flex-shrink: 0;
}

.tool-label {
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transition: opacity var(--transition-normal);
    pointer-events: none;
}
.tool-palette.expanded .tool-label {
    opacity: 1;
    pointer-events: auto;
}

.shortcut-key {
    margin-left: auto;
    font-size: 0.7rem;
    color: #4a5568;
    background: #1a202c;
    padding: 1px 4px;
    border-radius: 3px;
}

.tool-divider {
    height: 1px;
    background: #2d3748;
    margin: 4px 0;
}

.color-picker-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}
.color-picker-wrapper input[type="color"] {
    width: 24px;
    height: 24px;
    padding: 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    background: transparent;
}

.recent-colors-palette {
    display: flex;
    gap: 4px;
    padding: 4px 8px;
}
.color-swatch {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.1);
}
.color-swatch:hover {
    transform: scale(1.2);
}

.site-plan-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}
.toggle-switch {
    width: 32px;
    height: 18px;
    background: #4a5568;
    border-radius: 9px;
    position: relative;
    transition: background var(--transition-fast);
}
.toggle-thumb {
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: left var(--transition-fast);
}
.site-plan-toggle.active .toggle-switch {
    background: var(--secondary);
}
.site-plan-toggle.active .toggle-thumb {
    left: 16px;
}

.site-plan-toggle.active .toggle-switch {
    background: var(--secondary);
}
.site-plan-toggle.active .toggle-thumb {
    left: 16px;
}

.mobile-controls-toggle {
    display: none;
}

@media (max-width: 768px) {
    .tool-palette {
        top: auto;
        bottom: 80px;
        left: 15px;
    }
    .mobile-controls-toggle {
        display: flex;
        position: absolute;
        bottom: 20px;
        left: 20px;
        width: 38px;
        height: 38px;
        background: rgba(5,7,10,0.85);
        border: 1px solid #2d3748;
        border-radius: 8px;
        color: #fff;
        align-items: center;
        justify-content: center;
        z-index: 100;
    }
}


/* --- 11. 3D FLIPPING CARDS & FLASHCARDS --- */

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
    margin-bottom: 40px;
}

/* The perspective wrapper containing the 3D card */
.card-container {
    perspective: 1200px;
    width: 100%;
    height: 320px;
    cursor: pointer;
}

/* The card container that rotates */
.card-3d {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s;
    border-radius: 14px;
}

.card-container:hover .card-3d {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transform: translateY(-4px);
}

/* When flipped, apply rotation */
.card-3d.flipped {
    transform: rotateY(180deg);
}

/* Hover state for flipped card to keep translation and rotation in harmony */
.card-container:hover .card-3d.flipped {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transform: rotateY(180deg) translateY(-4px);
}

/* Common styles for both faces of the card */
.card-front, .card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 14px;
    border: 1px solid var(--border);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

/* Card FRONT Styling - Premium Card style */
.card-front {
    background: linear-gradient(135deg, var(--card) 0%, var(--hover-bg) 100%);
    z-index: 2;
    transform: rotateY(0deg);
}

/* Card BACK Styling - Flipped and highlighted */
.card-back {
    background: linear-gradient(135deg, var(--card) 0%, var(--hover-bg) 100%);
    border-color: var(--accent);
    transform: rotateY(180deg);
}

/* Card elements */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.card-badge {
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: var(--hover-bg);
    color: var(--secondary);
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid var(--border-light);
}
.card-avatar-placeholder {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--accent) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text);
    margin: 15px 0 5px 0;
    line-height: 1.2;
}
.card-subtitle {
    font-size: 0.85rem;
    color: var(--muted-text);
    margin: 0;
}
.card-footer {
    border-top: 1px solid var(--border-light);
    padding-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--muted-text);
}
.card-flip-prompt {
    font-size: 0.75rem;
    font-weight: bold;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 4px;
}
.card-back-attributes {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
    margin-top: 15px;
    margin-bottom: 15px;
    padding-right: 16px;
    overflow-y: auto;
}
.card-back-attr-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed var(--border-light);
    padding-bottom: 4px;
    font-size: 0.85rem;
}
.card-back-attr-label {
    color: var(--muted-text);
    font-weight: 500;
}
.card-back-attr-val {
    color: var(--text);
    font-weight: 700;
}
.card-back-description {
    font-size: 0.85rem;
    color: var(--muted-text);
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- 12. PILL INHERITANCE VARIATIONS --- */
.pill-inherited {
    background: rgba(45, 212, 191, 0.1);
    color: var(--secondary);
    border: 1px solid rgba(45, 212, 191, 0.2);
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 12px;
    display: inline-block;
}
.pill-override {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent);
    border: 1px solid rgba(59, 130, 246, 0.2);
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 12px;
    display: inline-block;
}
.pill-default {
    background: var(--hover-bg);
    color: var(--muted-text);
    border: 1px solid var(--border);
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 12px;
    display: inline-block;
}

/* --- 13. WIKI MARKDOWN RENDER CONTENT --- */
.wiki-content-body {
    line-height: 1.7;
    font-size: 1.05rem;
    color: var(--text);
}
.wiki-content-body h1, 
.wiki-content-body h2, 
.wiki-content-body h3, 
.wiki-content-body h4 {
    font-family: 'Outfit', sans-serif;
    color: var(--text);
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    font-weight: 700;
}
.wiki-content-body h1 { font-size: 2rem; border-bottom: 2px solid var(--border); padding-bottom: 8px; }
.wiki-content-body h2 { font-size: 1.6rem; border-bottom: 1px solid var(--border-light); padding-bottom: 6px; }
.wiki-content-body h3 { font-size: 1.3rem; }
.wiki-content-body p { margin-bottom: 1.25em; }
.wiki-content-body ul, .wiki-content-body ol {
    margin-bottom: 1.25em;
    padding-left: 24px;
}
.wiki-content-body li {
    margin-bottom: 0.5em;
}
.wiki-content-body code {
    background: var(--hover-bg);
    color: var(--secondary);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9em;
    border: 1px solid var(--border-light);
}
.wiki-content-body pre {
    background: #0b0f19;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 15px;
    overflow-x: auto;
    margin-bottom: 1.5em;
}
.wiki-content-body pre code {
    background: transparent;
    border: none;
    color: var(--text);
    padding: 0;
    font-size: 0.9em;
}
.wiki-content-body blockquote {
    border-left: 4px solid var(--accent);
    margin: 0 0 1.5em 0;
    padding: 10px 20px;
    background: var(--hover-bg);
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    font-style: italic;
    color: var(--muted-text);
}
.wiki-content-body table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5em;
}
.wiki-content-body th, .wiki-content-body td {
    padding: 10px 12px;
    border: 1px solid var(--border);
    text-align: left;
}
.wiki-content-body th {
    background: var(--hover-bg);
    font-weight: bold;
}
.wiki-content-body tr:nth-child(even) {
    background: rgba(255,255,255,0.02);
}

/* --- 14. WIKI METADATA EDITORS --- */
.metadata-editor-section {
    background: rgba(255,255,255,0.01);
    border: 1px dashed var(--border);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
}
.metadata-editor-title {
    font-family: 'Outfit', sans-serif;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--secondary);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- 15. LIVE SEARCH AUTOCOMPLETE PREVIEW --- */
.search-preview-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-top: 5px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1010;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
}
.search-preview-item {
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: var(--text);
    transition: background 0.2s;
    border-bottom: 1px solid var(--border-light);
}
.search-preview-item:last-child {
    border-bottom: none;
}
.search-preview-item:hover {
    background: var(--hover-bg);
}
.search-preview-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--accent);
}
.search-preview-type {
    font-size: 0.7rem;
    background: rgba(255,255,255,0.05);
    color: var(--muted-text);
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}
.search-preview-empty {
    padding: 15px;
    color: var(--muted-text);
    font-size: 0.85rem;
    text-align: center;
}

/* Switch Toggle Component */
.switch-toggle {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--input-bg);
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s;
    white-space: nowrap;
}
.switch-toggle:hover {
    border-color: var(--accent);
    background: var(--hover-bg);
}
.switch-toggle.active {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--accent);
}
.switch-toggle .toggle-switch {
    width: 34px;
    height: 18px;
    background: #334155;
    border-radius: 10px;
    position: relative;
    transition: background 0.3s;
    flex-shrink: 0;
}
.switch-toggle .toggle-thumb {
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.switch-toggle.active .toggle-switch {
    background: var(--accent);
}
.switch-toggle.active .toggle-thumb {
    left: 18px;
    background: var(--bg);
}

.cart-count-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: color-mix(in srgb, var(--accent) 15%, transparent);
    color: var(--accent);
    border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
    padding: 2px 8px;
    border-radius: 12px;
    font-family: monospace;
    font-size: 0.75rem;
    font-weight: bold;
    transition: all 0.2s ease;
}

.btn-util {
    padding: 6px 12px;
    background: var(--hover-bg);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
    background-image: none;
}
.btn-util:hover {
    background: var(--border-light);
    border-color: var(--accent);
    color: var(--accent);
}
.btn-util.danger {
    border-color: var(--danger);
    color: var(--danger);
}
.btn-util.danger:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: var(--danger);
    color: var(--danger);
}

/* --- 16. CODE BLOCK & COPY UTILITY --- */
.code-block {
    position: relative;
    background: var(--input-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin: 1.5rem 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.code-block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    background: var(--hover-bg);
    border-bottom: 1px solid var(--border-light);
    font-family: 'Outfit', sans-serif;
}

.code-block-lang {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--secondary);
    letter-spacing: 0.05em;
    font-family: monospace;
}

.code-block-copy {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid var(--border-light);
    color: var(--muted-text);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.code-block-copy:hover {
    background: var(--hover-bg);
    color: var(--accent);
    border-color: var(--accent);
}

.code-block-copy.copied {
    color: var(--secondary);
    border-color: var(--secondary);
    background: var(--hover-bg);
    transform: scale(1.03);
}

.code-block pre {
    margin: 0;
    padding: 16px;
    overflow-x: auto;
    background: transparent;
    border: none;
    border-radius: 0;
}

.code-block pre code {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text);
    background: transparent;
    border: none;
    padding: 0;
}

/* --- 17. PROJECT & KANBAN LAYOUTS --- */
.projects-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}
@media (max-width: 900px) {
    .projects-layout {
        grid-template-columns: 1fr;
    }
}

.panel-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.panel-title {
    margin-top: 0;
    color: var(--secondary);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    font-weight: 800;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 10px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.empty-placeholder {
    text-align: center;
    padding: 40px 20px;
    color: var(--muted-text);
    font-style: italic;
    font-size: 0.9rem;
    border: 1px dashed var(--border-light);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.01);
}

.project-row {
    padding: 12px 15px;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.01);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    transition: all 0.2s;
}
.project-row:hover {
    border-color: var(--accent);
    background: var(--hover-bg);
}

.project-info h4 {
    margin: 0 0 5px 0;
    color: var(--text);
    font-size: 1rem;
}
.project-info p {
    margin: 0;
    color: var(--muted-text);
    font-size: 0.8rem;
}

.project-meta {
    text-align: right;
    flex-shrink: 0;
}
.project-cost {
    font-weight: bold;
    color: var(--gold);
    font-size: 1rem;
    margin-bottom: 4px;
}
.project-date {
    font-size: 0.75rem;
    color: var(--muted-text);
}

.detail-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.header-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.project-title-area h2 {
    margin: 0 0 8px 0;
    color: var(--text);
    font-size: 1.5rem;
}
.project-title-area p {
    margin: 0;
    color: var(--muted-text);
    font-size: 0.9rem;
    line-height: 1.5;
}

.date-badge {
    background: var(--hover-bg);
    border: 1px solid var(--border-light);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    color: var(--muted-text);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.items-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    margin-top: 10px;
    margin-bottom: 25px;
}
.items-table th, .items-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
    color: var(--text);
}
.items-table th {
    color: var(--secondary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    background: var(--table-header-bg);
}
.items-table tr:hover {
    background: var(--table-hover);
}

.cost-font {
    font-family: monospace;
    font-size: 0.95rem;
}

.action-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
    border-top: 1px solid var(--border-light);
    padding-top: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

/* --- 18. CHECKOUT & CART COMPONENTS --- */
.cart-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    margin-bottom: 15px;
}
.cart-table th, .cart-table td {
    padding: 8px 10px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
    color: var(--text);
}
.cart-table th {
    color: var(--muted-text);
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.05rem;
    background: var(--table-header-bg);
}

.cart-qty-input {
    width: 60px;
    padding: 4px;
    font-size: 0.8rem;
    text-align: center;
    border-radius: 4px;
    border: 1px solid var(--border);
    background: var(--input-bg);
    color: var(--text);
}

.remove-btn {
    background: transparent;
    border: none;
    color: var(--danger);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.remove-btn:hover {
    background: rgba(244, 63, 94, 0.1);
}

/* --- 19. LANDING & PRICING COMPONENTS --- */
.hero {
    padding: 80px 0 60px;
    text-align: center;
}
.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text);
}
.hero p.lead {
    font-size: 1.4rem;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 20px;
}
.hero p.desc {
    font-size: 1.1rem;
    color: var(--muted-text);
    max-width: 800px;
    margin: 0 auto 40px;
}
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 60px 0;
}
.feature-card {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: 12px;
}
.feature-card h3 {
    margin-top: 0;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
}

.pricing {
    padding: 80px 0;
    border-top: 1px solid var(--border);
    text-align: center;
}
.pricing h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--text);
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
    text-align: left;
}

.tier-card {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
}
.tier-card.featured {
    border-color: var(--accent);
    position: relative;
}
.tier-card h3 {
    margin-top: 0;
    font-size: 1.5rem;
    color: var(--text);
}
.tier-card ul {
    list-style: none;
    padding: 0;
    color: var(--muted-text);
    margin: 20px 0;
    flex-grow: 1;
}
.tier-card ul li {
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
}
.tier-card ul li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 5px;
    width: 5px;
    height: 9px;
    border: solid var(--secondary);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}


/* --- 20. THEMED CORNER TRIANGLE CTA --- */
.corner-triangle {
    position: fixed;
    width: 120px;
    height: 120px;
    z-index: 99999;
    pointer-events: none;
}

.corner-triangle a {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent) 0%, color-mix(in srgb, var(--accent) 70%, #000) 100%);
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.corner-triangle a:hover {
    background: linear-gradient(135deg, var(--secondary) 0%, color-mix(in srgb, var(--secondary) 70%, #000) 100%);
}

.corner-triangle-text {
    color: var(--bg);
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

/* Placement Modifiers */

/* Top-Right Corner */
.corner-triangle.top-right {
    top: 0;
    right: 0;
}
.corner-triangle.top-right a {
    clip-path: polygon(100% 0, 0 0, 100% 100%);
}
.corner-triangle.top-right .corner-triangle-text {
    transform: rotate(45deg) translateY(-18px);
}
.corner-triangle.top-right a:hover .corner-triangle-text {
    transform: rotate(45deg) translateY(-14px) scale(1.05);
}

/* Top-Left Corner */
.corner-triangle.top-left {
    top: 0;
    left: 0;
}
.corner-triangle.top-left a {
    clip-path: polygon(0 0, 100% 0, 0 100%);
}
.corner-triangle.top-left .corner-triangle-text {
    transform: rotate(-45deg) translateY(-18px);
}
.corner-triangle.top-left a:hover .corner-triangle-text {
    transform: rotate(-45deg) translateY(-14px) scale(1.05);
}

/* Bottom-Right Corner */
.corner-triangle.bottom-right {
    bottom: 0;
    right: 0;
}
.corner-triangle.bottom-right a {
    clip-path: polygon(100% 100%, 100% 0, 0 100%);
}
.corner-triangle.bottom-right .corner-triangle-text {
    transform: rotate(-45deg) translateY(18px);
}
.corner-triangle.bottom-right a:hover .corner-triangle-text {
    transform: rotate(-45deg) translateY(14px) scale(1.05);
}

/* Bottom-Left Corner */
.corner-triangle.bottom-left {
    bottom: 0;
    left: 0;
}
.corner-triangle.bottom-left a {
    clip-path: polygon(0 100%, 0 0, 100% 100%);
}
.corner-triangle.bottom-left .corner-triangle-text {
    transform: rotate(45deg) translateY(18px);
}
.corner-triangle.bottom-left a:hover .corner-triangle-text {
    transform: rotate(45deg) translateY(14px) scale(1.05);
}


/* --- 21. SVG ICON GALLERY --- */
.svg-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 16px;
    margin-top: 20px;
}
.icon-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px 15px;
    text-align: center;
    cursor: pointer;
    transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
}
.icon-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.icon-card svg {
    width: 32px;
    height: 32px;
    stroke: var(--text);
    transition: stroke var(--transition-fast), transform var(--transition-fast);
}
.icon-card:hover svg {
    stroke: var(--accent);
    transform: scale(1.1);
}
.icon-card-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--muted-text);
    margin-top: 12px;
    text-transform: capitalize;
    transition: color var(--transition-fast);
}
.icon-card:hover .icon-card-name {
    color: var(--text);
}
.icon-card-copy-hint {
    position: absolute;
    bottom: 8px;
    font-size: 0.65rem;
    font-weight: bold;
    color: var(--secondary);
    opacity: 0;
    transition: opacity var(--transition-fast);
}
.icon-card:hover .icon-card-copy-hint {
    opacity: 1;
}


/* --- Mobile Fixes (Forms & Layout) --- */
@media (max-width: 768px) {
    .form-row, .row-1, .row-2, .row-3 {
        grid-template-columns: 1fr;
    }
    .dashboard-toolbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .vault-stats {
        flex-wrap: wrap;
        gap: 10px;
    }
}


/* --- 22. GENERAL WIKI LAYOUT & BREADCRUMBS --- */
.wiki-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--muted-text);
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.wiki-breadcrumbs a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s;
}
.wiki-breadcrumbs a:hover {
    color: var(--secondary);
    text-decoration: underline;
}
.wiki-breadcrumbs span.separator {
    color: var(--border);
    font-weight: bold;
}

/* --- 23. METADATA ATTRIBUTE SYSTEM --- */
.attributes-panel {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 30px;
}
.attributes-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--text);
    margin-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.attributes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 15px;
}
.attribute-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.attribute-label {
    font-size: 0.75rem;
    color: var(--muted-text);
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 0.05em;
}
.attribute-val-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}
.attribute-value {
    font-size: 0.95rem;
    color: var(--text);
    font-weight: 600;
}

/* --- 24. WIKI-LINKS CUSTOM SYNTAX --- */
.wiki-link-missing {
    color: var(--danger) !important;
    text-decoration: dashed underline !important;
    transition: opacity var(--transition-fast);
}
.wiki-link-missing:hover {
    opacity: 0.8;
}

/* --- 25. SLIDING QUICK-READ DRAWER --- */
.quick-drawer {
    position: fixed;
    top: 0;
    right: -460px; /* Hidden off-screen */
    width: 450px;
    max-width: 100vw;
    height: 100vh;
    background: var(--card);
    border-left: 1px solid var(--border);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.35);
    z-index: 1100;
    display: flex;
    flex-direction: column;
    transition: right var(--transition-normal);
    box-sizing: border-box;
}
.quick-drawer.open {
    right: 0;
}
.quick-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1090;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}
.quick-drawer-overlay.open {
    opacity: 1;
    pointer-events: auto;
}
.quick-drawer-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.quick-drawer-header h2 {
    margin: 0;
    font-size: 1.4rem;
    font-family: 'Outfit', sans-serif;
    color: var(--text);
}
.quick-drawer-body {
    padding: 20px;
    flex-grow: 1;
    overflow-y: auto;
    box-sizing: border-box;
}
.quick-drawer-footer {
    padding: 20px;
    border-top: 1px solid var(--border-light);
    background: var(--hover-bg);
    box-sizing: border-box;
}
.spinner {
    border: 4px solid rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border-left-color: var(--accent);
    animation: spin 1s linear infinite;
    margin: 60px auto;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* --- 26. COMPONENT PAGE BLOCKS --- */
.block-container {
    margin: 25px 0;
}
.vs-card-block {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.vs-card-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.gallery-image-wrapper {
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.25s ease, border-color 0.25s ease;
}
.gallery-image-wrapper img {
    transition: transform 0.3s ease;
}
.gallery-image-wrapper:hover img {
    transform: scale(1.06);
}
.gallery-image-wrapper:hover {
    border-color: var(--accent) !important;
}
.node-header.active-node {
    background: rgba(59, 130, 246, 0.12); /* Tint of accent */
    border-color: var(--accent);
    border-left: 4px solid var(--accent);
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.node-header.active-node .node-link {
    color: var(--accent);
    font-weight: 700;
}
.node-header.active-node .node-toggle-icon {
    color: var(--accent);
}

/* --- 27. INFORMATION & CALLOUT CARDS --- */
.m-info-card {
    --card-accent-color: var(--accent);
    --card-bg-tint: rgba(59, 130, 246, 0.05);
    
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 20px;
    margin: 24px 0;
    border-radius: 8px;
    border: 1px solid var(--border);
    border-left: 4px solid var(--card-accent-color);
    background: linear-gradient(to right, var(--card-bg-tint), var(--card));
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.m-info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.m-info-card-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    color: var(--card-accent-color);
    margin-top: 2px;
}

.m-info-card-body {
    flex: 1;
}

.m-info-card-title {
    margin: 0 0 6px 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
    font-family: 'Outfit', sans-serif;
    line-height: 1.3;
}

.m-info-card-content {
    margin: 0;
    font-size: 0.925rem;
    color: var(--muted-text);
    line-height: 1.5;
}

/* Variations */
.m-info-card.is-warning {
    --card-accent-color: var(--gold);
    --card-bg-tint: rgba(255, 215, 0, 0.05);
}

.m-info-card.is-danger {
    --card-accent-color: var(--danger);
    --card-bg-tint: rgba(244, 63, 94, 0.05);
}

.m-info-card.is-success {
    --card-accent-color: var(--secondary);
    --card-bg-tint: rgba(45, 212, 191, 0.05);
}

/* High Contrast & Terminal adjustments */
[data-theme="hc"] .m-info-card,
[data-theme="terminal"] .m-info-card {
    background: var(--card);
}



/* --- END OF components.css --- */

/* --- START OF icons.css --- */
/* 
 * MagpieCSS/CMS Generated Icons
 * Automatically generated from the SVG Icon Gallery in index.html.
 * Do not modify this file directly.
 */

.m-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-color: currentColor;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    vertical-align: middle;
}

.m-icon-home {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"></path><polyline points="9 22 9 12 15 12 15 22"></polyline></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"></path><polyline points="9 22 9 12 15 12 15 22"></polyline></svg>');
}

.m-icon-user {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"></path><circle cx="12" cy="7" r="4"></circle></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"></path><circle cx="12" cy="7" r="4"></circle></svg>');
}

.m-icon-settings {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="3"></circle><path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 1 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 1 1-2.83-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 1 1 2.83-2.83l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 1 1 2.83 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1z"></path></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="3"></circle><path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 1 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 1 1-2.83-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 1 1 2.83-2.83l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 1 1 2.83 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1z"></path></svg>');
}

.m-icon-folder {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z"></path></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z"></path></svg>');
}

.m-icon-file {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"></path><polyline points="14 2 14 8 20 8"></polyline><line x1="16" y1="13" x2="8" y2="13"></line><line x1="16" y1="17" x2="8" y2="17"></line><polyline points="10 9 9 9 8 9"></polyline></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"></path><polyline points="14 2 14 8 20 8"></polyline><line x1="16" y1="13" x2="8" y2="13"></line><line x1="16" y1="17" x2="8" y2="17"></line><polyline points="10 9 9 9 8 9"></polyline></svg>');
}

.m-icon-database {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><ellipse cx="12" cy="5" rx="9" ry="3"></ellipse><path d="M3 5v14c0 1.66 4 3 9 3s9-1.34 9-3V5"></path><path d="M3 12c0 1.66 4 3 9 3s9-1.34 9-3"></path></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><ellipse cx="12" cy="5" rx="9" ry="3"></ellipse><path d="M3 5v14c0 1.66 4 3 9 3s9-1.34 9-3V5"></path><path d="M3 12c0 1.66 4 3 9 3s9-1.34 9-3"></path></svg>');
}

.m-icon-map {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polygon points="3 6 9 3 15 6 21 3 21 18 15 21 9 18 3 21"></polygon><line x1="9" y1="3" x2="9" y2="21"></line><line x1="15" y1="3" x2="15" y2="21"></line></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polygon points="3 6 9 3 15 6 21 3 21 18 15 21 9 18 3 21"></polygon><line x1="9" y1="3" x2="9" y2="21"></line><line x1="15" y1="3" x2="15" y2="21"></line></svg>');
}

.m-icon-cart {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="9" cy="21" r="1"></circle><circle cx="20" cy="21" r="1"></circle><path d="M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6"></path></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="9" cy="21" r="1"></circle><circle cx="20" cy="21" r="1"></circle><path d="M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6"></path></svg>');
}

.m-icon-search {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg>');
}

.m-icon-trash {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="3 6 5 6 21 6"></polyline><path d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"></path><line x1="10" y1="11" x2="10" y2="17"></line><line x1="14" y1="11" x2="14" y2="17"></line></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="3 6 5 6 21 6"></polyline><path d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"></path><line x1="10" y1="11" x2="10" y2="17"></line><line x1="14" y1="11" x2="14" y2="17"></line></svg>');
}

.m-icon-edit {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 20h9"></path><path d="M16.5 3.5a2.12 2.12 0 0 1 3 3L7 19l-4 1 1-4Z"></path></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 20h9"></path><path d="M16.5 3.5a2.12 2.12 0 0 1 3 3L7 19l-4 1 1-4Z"></path></svg>');
}

.m-icon-lock {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="11" width="18" height="11" rx="2" ry="2"></rect><path d="M7 11V7a5 5 0 0 1 10 0v4"></path></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="11" width="18" height="11" rx="2" ry="2"></rect><path d="M7 11V7a5 5 0 0 1 10 0v4"></path></svg>');
}

.m-icon-plus {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="12" y1="5" x2="12" y2="19"></line><line x1="5" y1="12" x2="19" y2="12"></line></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="12" y1="5" x2="12" y2="19"></line><line x1="5" y1="12" x2="19" y2="12"></line></svg>');
}

.m-icon-check {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>');
}

.m-icon-warning {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"></path><line x1="12" y1="9" x2="12" y2="13"></line><line x1="12" y1="17" x2="12.01" y2="17"></line></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"></path><line x1="12" y1="9" x2="12" y2="13"></line><line x1="12" y1="17" x2="12.01" y2="17"></line></svg>');
}

.m-icon-github {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"></path></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"></path></svg>');
}

.m-icon-fullscreen {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3m0 18h3a2 2 0 0 0 2-2v-3M3 16v3a2 2 0 0 0 2 2h3"></path></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3m0 18h3a2 2 0 0 0 2-2v-3M3 16v3a2 2 0 0 0 2 2h3"></path></svg>');
}

.m-icon-envelope {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="2" y="4" width="20" height="16" rx="2"></rect><polyline points="22 7 12 14 2 7"></polyline></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="2" y="4" width="20" height="16" rx="2"></rect><polyline points="22 7 12 14 2 7"></polyline></svg>');
}

.m-icon-at-sign {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="4"></circle><path d="M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-3.92 7.94"></path></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="4"></circle><path d="M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-3.92 7.94"></path></svg>');
}

.m-icon-twitter-x {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M4 4l11.73 16h4.27L8.27 4z"></path><path d="M20 4L4 20"></path></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M4 4l11.73 16h4.27L8.27 4z"></path><path d="M20 4L4 20"></path></svg>');
}

.m-icon-discord {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M8 12a1 1 0 1 0 2 0a1 1 0 0 0 -2 0" /><path d="M14 12a1 1 0 1 0 2 0a1 1 0 0 0 -2 0" /><path d="M15.5 17c0 1 1.5 3 2 3c1.5 0 2.833-1.667 3.5-3 .667-1.667 .5-5.833 -1.5-11.5c-1.457-1.015 -3-1.34 -4.5-1.5l-.972 1.923a11.913 11.913 0 0 0 -4.053 0l-.975 -1.923c-1.5 .16 -3.043 .485 -4.5 1.5c-2 5.667 -2.167 9.833 -1.5 11.5c.667 1.333 2 3 3.5 3c.5 0 2 -2 2 -3" /><path d="M7 16.5c3.5 1 6.5 1 10 0" /></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M8 12a1 1 0 1 0 2 0a1 1 0 0 0 -2 0" /><path d="M14 12a1 1 0 1 0 2 0a1 1 0 0 0 -2 0" /><path d="M15.5 17c0 1 1.5 3 2 3c1.5 0 2.833-1.667 3.5-3 .667-1.667 .5-5.833 -1.5-11.5c-1.457-1.015 -3-1.34 -4.5-1.5l-.972 1.923a11.913 11.913 0 0 0 -4.053 0l-.975 -1.923c-1.5 .16 -3.043 .485 -4.5 1.5c-2 5.667 -2.167 9.833 -1.5 11.5c.667 1.333 2 3 3.5 3c.5 0 2 -2 2 -3" /><path d="M7 16.5c3.5 1 6.5 1 10 0" /></svg>');
}

.m-icon-youtube {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="2" y="5" width="20" height="14" rx="4" ry="4"></rect><polygon points="10 9 15 12 10 15 10 9"></polygon></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="2" y="5" width="20" height="14" rx="4" ry="4"></rect><polygon points="10 9 15 12 10 15 10 9"></polygon></svg>');
}

.m-icon-linkedin {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z"></path><rect x="2" y="9" width="4" height="12"></rect><circle cx="4" cy="4" r="2"></circle></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z"></path><rect x="2" y="9" width="4" height="12"></rect><circle cx="4" cy="4" r="2"></circle></svg>');
}

.m-icon-reddit {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="7"></circle><path d="M12 5V2h4"></path><circle cx="16" cy="2" r="1"></circle><circle cx="9.5" cy="12" r="1"></circle><circle cx="14.5" cy="12" r="1"></circle><path d="M9.5 15.5c.78.85 1.5 1 2.5 1s1.72-.15 2.5-1"></path></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="7"></circle><path d="M12 5V2h4"></path><circle cx="16" cy="2" r="1"></circle><circle cx="9.5" cy="12" r="1"></circle><circle cx="14.5" cy="12" r="1"></circle><path d="M9.5 15.5c.78.85 1.5 1 2.5 1s1.72-.15 2.5-1"></path></svg>');
}

.m-icon-javascript {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M20 4l-2 14.5l-6 2l-6 -2l-2 -14.5z" /><path d="M7.5 8h3v8l-2 -1" /><path d="M16.5 8h-2.5a.5 .5 0 0 0 -.5 .5v3a.5 .5 0 0 0 .5 .5h1.423a.5 .5 0 0 1 .495 .57l-.418 2.93l-2 .5" /></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M20 4l-2 14.5l-6 2l-6 -2l-2 -14.5z" /><path d="M7.5 8h3v8l-2 -1" /><path d="M16.5 8h-2.5a.5 .5 0 0 0 -.5 .5v3a.5 .5 0 0 0 .5 .5h1.423a.5 .5 0 0 1 .495 .57l-.418 2.93l-2 .5" /></svg>');
}

.m-icon-python {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 9h-7a2 2 0 0 0 -2 2v4a2 2 0 0 0 2 2h3" /><path d="M12 15h7a2 2 0 0 0 2 -2v-4a2 2 0 0 0 -2 -2h-3" /><path d="M8 9v-4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v5a2 2 0 0 1 -2 2h-4a2 2 0 0 0 -2 2v5a2 2 0 0 0 2 2h4a2 2 0 0 0 2 -2v-4" /><path d="M11 6l0 .01" /><path d="M13 18l0 .01" /></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 9h-7a2 2 0 0 0 -2 2v4a2 2 0 0 0 2 2h3" /><path d="M12 15h7a2 2 0 0 0 2 -2v-4a2 2 0 0 0 -2 -2h-3" /><path d="M8 9v-4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v5a2 2 0 0 1 -2 2h-4a2 2 0 0 0 -2 2v5a2 2 0 0 0 2 2h4a2 2 0 0 0 2 -2v-4" /><path d="M11 6l0 .01" /><path d="M13 18l0 .01" /></svg>');
}

.m-icon-ruby {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polygon points="6 3 18 3 22 8 12 21 2 8 6 3"></polygon><line x1="2" y1="8" x2="22" y2="8"></line><line x1="6" y1="3" x2="12" y2="21"></line><line x1="18" y1="3" x2="12" y2="21"></line></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polygon points="6 3 18 3 22 8 12 21 2 8 6 3"></polygon><line x1="2" y1="8" x2="22" y2="8"></line><line x1="6" y1="3" x2="12" y2="21"></line><line x1="18" y1="3" x2="12" y2="21"></line></svg>');
}

.m-icon-php {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M2 12a10 9 0 1 0 20 0a10 9 0 1 0 -20 0" /><path d="M5.5 15l.395 -1.974l.605 -3.026h1.32a1 1 0 0 1 .986 1.164l-.167 1a1 1 0 0 1 -.986 .836h-1.653" /><path d="M15.5 15l.395 -1.974l.605 -3.026h1.32a1 1 0 0 1 .986 1.164l-.167 1a1 1 0 0 1 -.986 .836h-1.653" /><path d="M12 7.5l-1 5.5" /><path d="M11.6 10h2.4l-.5 3" /></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M2 12a10 9 0 1 0 20 0a10 9 0 1 0 -20 0" /><path d="M5.5 15l.395 -1.974l.605 -3.026h1.32a1 1 0 0 1 .986 1.164l-.167 1a1 1 0 0 1 -.986 .836h-1.653" /><path d="M15.5 15l.395 -1.974l.605 -3.026h1.32a1 1 0 0 1 .986 1.164l-.167 1a1 1 0 0 1 -.986 .836h-1.653" /><path d="M12 7.5l-1 5.5" /><path d="M11.6 10h2.4l-.5 3" /></svg>');
}

.m-icon-bash {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="18" height="18" rx="2"></rect><polyline points="8 8 12 12 8 16"></polyline><line x1="14" y1="16" x2="18" y2="16"></line></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="18" height="18" rx="2"></rect><polyline points="8 8 12 12 8 16"></polyline><line x1="14" y1="16" x2="18" y2="16"></line></svg>');
}

.m-icon-powershell {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M4.887 20h11.868c.893 0 1.664 -.665 1.847 -1.592l2.358 -12c.212 -1.081 -.442 -2.14 -1.462 -2.366a1.784 1.784 0 0 0 -.385 -.042h-11.868c-.893 0 -1.664 .665 -1.847 1.592l-2.358 12c-.212 1.081 .442 2.14 1.462 2.366c.127 .028 .256 .042 .385 .042" /><path d="M9 8l4 4l-6 4" /><path d="M12 16h3" /></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M4.887 20h11.868c.893 0 1.664 -.665 1.847 -1.592l2.358 -12c.212 -1.081 -.442 -2.14 -1.462 -2.366a1.784 1.784 0 0 0 -.385 -.042h-11.868c-.893 0 -1.664 .665 -1.847 1.592l-2.358 12c-.212 1.081 .442 2.14 1.462 2.366c.127 .028 .256 .042 .385 .042" /><path d="M9 8l4 4l-6 4" /><path d="M12 16h3" /></svg>');
}

.m-icon-html {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="8 17 3 12 8 7"></polyline><polyline points="16 7 21 12 16 17"></polyline><line x1="10" y1="19" x2="14" y2="5"></line></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="8 17 3 12 8 7"></polyline><polyline points="16 7 21 12 16 17"></polyline><line x1="10" y1="19" x2="14" y2="5"></line></svg>');
}

.m-icon-css {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M4 9h16M4 15h16M9 4v16M15 4v16"></path></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M4 9h16M4 15h16M9 4v16M15 4v16"></path></svg>');
}

.m-icon-git {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="18" cy="18" r="3"></circle><circle cx="6" cy="6" r="3"></circle><path d="M6 9v9M18 15V9a3 3 0 0 0-3-3H9"></path><circle cx="6" cy="18" r="3"></circle></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="18" cy="18" r="3"></circle><circle cx="6" cy="6" r="3"></circle><path d="M6 9v9M18 15V9a3 3 0 0 0-3-3H9"></path><circle cx="6" cy="18" r="3"></circle></svg>');
}

.m-icon-npm {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M1 8h22v7h-12v2h-4v-2h-6l0 -7" /><path d="M7 8v7" /><path d="M14 8v7" /><path d="M17 11v4" /><path d="M4 11v4" /><path d="M11 11v1" /><path d="M20 11v4" /></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M1 8h22v7h-12v2h-4v-2h-6l0 -7" /><path d="M7 8v7" /><path d="M14 8v7" /><path d="M17 11v4" /><path d="M4 11v4" /><path d="M11 11v1" /><path d="M20 11v4" /></svg>');
}

.m-icon-link {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg>');
}

.m-icon-arrow-up {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="12" y1="19" x2="12" y2="5"></line><polyline points="5 12 12 5 19 12"></polyline></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="12" y1="19" x2="12" y2="5"></line><polyline points="5 12 12 5 19 12"></polyline></svg>');
}

.m-icon-arrow-down {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="12" y1="5" x2="12" y2="19"></line><polyline points="19 12 12 19 5 12"></polyline></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="12" y1="5" x2="12" y2="19"></line><polyline points="19 12 12 19 5 12"></polyline></svg>');
}

.m-icon-arrow-left {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="19" y1="12" x2="5" y2="12"></line><polyline points="12 19 5 12 12 5"></polyline></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="19" y1="12" x2="5" y2="12"></line><polyline points="12 19 5 12 12 5"></polyline></svg>');
}

.m-icon-arrow-right {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="5" y1="12" x2="19" y2="12"></line><polyline points="12 5 19 12 12 19"></polyline></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="5" y1="12" x2="19" y2="12"></line><polyline points="12 5 19 12 12 19"></polyline></svg>');
}

.m-icon-chevron-up {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="18 15 12 9 6 15"></polyline></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="18 15 12 9 6 15"></polyline></svg>');
}

.m-icon-chevron-down {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
}

.m-icon-chevron-left {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="15 18 9 12 15 6"></polyline></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="15 18 9 12 15 6"></polyline></svg>');
}

.m-icon-chevron-right {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="9 18 15 12 9 6"></polyline></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="9 18 15 12 9 6"></polyline></svg>');
}

.m-icon-layout-grid {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="7" height="9"></rect><rect x="14" y="3" width="7" height="5"></rect><rect x="14" y="12" width="7" height="9"></rect><rect x="3" y="16" width="7" height="5"></rect></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="7" height="9"></rect><rect x="14" y="3" width="7" height="5"></rect><rect x="14" y="12" width="7" height="9"></rect><rect x="3" y="16" width="7" height="5"></rect></svg>');
}

.m-icon-layout-columns {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect><line x1="9" y1="3" x2="9" y2="21"></line><line x1="9" y1="9" x2="21" y2="9"></line></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect><line x1="9" y1="3" x2="9" y2="21"></line><line x1="9" y1="9" x2="21" y2="9"></line></svg>');
}

.m-icon-map-pin {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"></path><circle cx="12" cy="10" r="3"></circle></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"></path><circle cx="12" cy="10" r="3"></circle></svg>');
}

.m-icon-shield {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path></svg>');
}

.m-icon-layers {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 2L2 7l10 5 10-5-10-5z"></path><path d="M2 17l10 5 10-5"></path><path d="M2 12l10 5 10-5"></path></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 2L2 7l10 5 10-5-10-5z"></path><path d="M2 17l10 5 10-5"></path><path d="M2 12l10 5 10-5"></path></svg>');
}

.m-icon-message-square {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z"></path></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z"></path></svg>');
}

.m-icon-code {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="16 18 22 12 16 6"></polyline><polyline points="8 6 2 12 8 18"></polyline></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="16 18 22 12 16 6"></polyline><polyline points="8 6 2 12 8 18"></polyline></svg>');
}

.m-icon-compass {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle><circle cx="12" cy="12" r="4"></circle><line x1="4.93" y1="4.93" x2="9.17" y2="9.17"></line><line x1="19.07" y1="4.93" x2="14.83" y2="9.17"></line><line x1="14.83" y1="14.83" x2="19.07" y2="19.07"></line><line x1="9.17" y1="14.83" x2="4.93" y2="19.07"></line></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle><circle cx="12" cy="12" r="4"></circle><line x1="4.93" y1="4.93" x2="9.17" y2="9.17"></line><line x1="19.07" y1="4.93" x2="14.83" y2="9.17"></line><line x1="14.83" y1="14.83" x2="19.07" y2="19.07"></line><line x1="9.17" y1="14.83" x2="4.93" y2="19.07"></line></svg>');
}

.m-icon-zap {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polygon points="13 2 3 14 12 14 11 22 21 10 12 10 13 2"></polygon></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polygon points="13 2 3 14 12 14 11 22 21 10 12 10 13 2"></polygon></svg>');
}

.m-icon-target {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle><circle cx="12" cy="12" r="6"></circle><circle cx="12" cy="12" r="2"></circle></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle><circle cx="12" cy="12" r="6"></circle><circle cx="12" cy="12" r="2"></circle></svg>');
}

.m-icon-camera {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z"></path><circle cx="12" cy="13" r="4"></circle></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z"></path><circle cx="12" cy="13" r="4"></circle></svg>');
}

.m-icon-upload {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"></path><polyline points="17 8 12 3 7 8"></polyline><line x1="12" y1="3" x2="12" y2="15"></line></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"></path><polyline points="17 8 12 3 7 8"></polyline><line x1="12" y1="3" x2="12" y2="15"></line></svg>');
}

.m-icon-paperclip {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21.44 11.05l-9.19 9.19a6 6 0 0 1-8.49-8.49l9.19-9.19a4 4 0 0 1 5.66 5.66l-9.2 9.19a2 2 0 0 1-2.83-2.83l8.49-8.48"></path></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21.44 11.05l-9.19 9.19a6 6 0 0 1-8.49-8.49l9.19-9.19a4 4 0 0 1 5.66 5.66l-9.2 9.19a2 2 0 0 1-2.83-2.83l8.49-8.48"></path></svg>');
}

.m-icon-image {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect><circle cx="8.5" cy="8.5" r="1.5"></circle><polyline points="21 15 16 10 5 21"></polyline></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect><circle cx="8.5" cy="8.5" r="1.5"></circle><polyline points="21 15 16 10 5 21"></polyline></svg>');
}

.m-icon-log-out {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"></path><polyline points="16 17 21 12 16 7"></polyline><line x1="21" y1="12" x2="9" y2="12"></line></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"></path><polyline points="16 17 21 12 16 7"></polyline><line x1="21" y1="12" x2="9" y2="12"></line></svg>');
}

.m-icon-activity {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="22 12 18 12 15 21 9 3 6 12 2 12"></polyline></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="22 12 18 12 15 21 9 3 6 12 2 12"></polyline></svg>');
}

.m-icon-book-open {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z"></path><path d="M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z"></path></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z"></path><path d="M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z"></path></svg>');
}

.m-icon-help-circle {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle><path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"></path><line x1="12" y1="17" x2="12.01" y2="17"></line></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle><path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"></path><line x1="12" y1="17" x2="12.01" y2="17"></line></svg>');
}

.m-icon-info {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle><line x1="12" y1="16" x2="12" y2="12"></line><line x1="12" y1="8" x2="12.01" y2="8"></line></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle><line x1="12" y1="16" x2="12" y2="12"></line><line x1="12" y1="8" x2="12.01" y2="8"></line></svg>');
}

.m-icon-alert-circle {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle><line x1="12" y1="8" x2="12" y2="12"></line><line x1="12" y1="16" x2="12.01" y2="16"></line></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle><line x1="12" y1="8" x2="12" y2="12"></line><line x1="12" y1="16" x2="12.01" y2="16"></line></svg>');
}

.m-icon-alert-triangle {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"></path><line x1="12" y1="9" x2="12" y2="13"></line><line x1="12" y1="17" x2="12.01" y2="17"></line></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"></path><line x1="12" y1="9" x2="12" y2="13"></line><line x1="12" y1="17" x2="12.01" y2="17"></line></svg>');
}

.m-icon-calendar {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line></svg>');
}

.m-icon-sliders {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="4" y1="21" x2="4" y2="14"></line><line x1="4" y1="10" x2="4" y2="3"></line><line x1="12" y1="21" x2="12" y2="12"></line><line x1="12" y1="8" x2="12" y2="3"></line><line x1="20" y1="21" x2="20" y2="16"></line><line x1="20" y1="12" x2="20" y2="3"></line><line x1="1" y1="14" x2="7" y2="14"></line><line x1="9" y1="8" x2="15" y2="8"></line><line x1="17" y1="16" x2="23" y2="16"></line></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="4" y1="21" x2="4" y2="14"></line><line x1="4" y1="10" x2="4" y2="3"></line><line x1="12" y1="21" x2="12" y2="12"></line><line x1="12" y1="8" x2="12" y2="3"></line><line x1="20" y1="21" x2="20" y2="16"></line><line x1="20" y1="12" x2="20" y2="3"></line><line x1="1" y1="14" x2="7" y2="14"></line><line x1="9" y1="8" x2="15" y2="8"></line><line x1="17" y1="16" x2="23" y2="16"></line></svg>');
}

.m-icon-inbox {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="22 12 16 12 14 15 10 15 8 12 2 12"></polyline><path d="M5.45 5.11L2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z"></path></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="22 12 16 12 14 15 10 15 8 12 2 12"></polyline><path d="M5.45 5.11L2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z"></path></svg>');
}

.m-icon-trophy {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M6 9H4.5a2.5 2.5 0 0 1 0-5H6"></path><path d="M18 9h1.5a2.5 2.5 0 0 0 0-5H18"></path><path d="M4 22h16"></path><path d="M10 14.66V17c0 .55-.45 1-1 1H4v2h16v-2h-5c-.55 0-1-.45-1-1v-2.34"></path><path d="M12 2a6 6 0 0 1 6 6v5a6 6 0 0 1-6 6 6 6 0 0 1-6-6V8a6 6 0 0 1 6-6z"></path></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M6 9H4.5a2.5 2.5 0 0 1 0-5H6"></path><path d="M18 9h1.5a2.5 2.5 0 0 0 0-5H18"></path><path d="M4 22h16"></path><path d="M10 14.66V17c0 .55-.45 1-1 1H4v2h16v-2h-5c-.55 0-1-.45-1-1v-2.34"></path><path d="M12 2a6 6 0 0 1 6 6v5a6 6 0 0 1-6 6 6 6 0 0 1-6-6V8a6 6 0 0 1 6-6z"></path></svg>');
}

.m-icon-eye {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"></path><circle cx="12" cy="12" r="3"></circle></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"></path><circle cx="12" cy="12" r="3"></circle></svg>');
}

.m-icon-moon {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path></svg>');
}

.m-icon-sun {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="5"></circle><line x1="12" y1="1" x2="12" y2="3"></line><line x1="12" y1="21" x2="12" y2="23"></line><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line><line x1="1" y1="12" x2="3" y2="12"></line><line x1="21" y1="12" x2="23" y2="12"></line><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="5"></circle><line x1="12" y1="1" x2="12" y2="3"></line><line x1="12" y1="21" x2="12" y2="23"></line><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line><line x1="1" y1="12" x2="3" y2="12"></line><line x1="21" y1="12" x2="23" y2="12"></line><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line></svg>');
}

.m-icon-refresh-cw {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="23 4 23 10 17 10"></polyline><polyline points="1 20 1 14 7 14"></polyline><path d="M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15"></path></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="23 4 23 10 17 10"></polyline><polyline points="1 20 1 14 7 14"></polyline><path d="M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15"></path></svg>');
}

.m-icon-folder-minus {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z"></path><line x1="9" y1="14" x2="15" y2="14"></line></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z"></path><line x1="9" y1="14" x2="15" y2="14"></line></svg>');
}


/* --- END OF icons.css --- */

