/* Generated by tools/xim-skingen.c from skins/skins.txt and imgs/jade/ (make skins). Do not edit. */

:root,
[data-skin="blush"] {
  color-scheme: light;
  --bg-page: #FFF7F7;
  --bg-card: #FFFFFF;
  --bg-pressed: #F7E8EB;
  --bg-input: #F8ECEE;
  --text-primary: #3F2D32;
  --text-secondary: #806A70;
  --text-link: #B94E5D;
  --accent: #B94E5D;
  --accent-pressed: #9C3F4D;
  --accent-soft: #FBE4E7;
  --on-accent: #FFFFFF;
  --tab-active: #B94E5D;
  --tab-normal: #8F7B80;
  --switch-on: #B94E5D;
  --switch-off: #EADADD;
  --danger: #D0341F;
  --unread: #D0341F;
  --online: #25A66B;
  --line: #F0DFE2;
  --chevron: #CDB9BE;
  --bubble-in: #FFFFFF;
  --bubble-in-text: #3F2D32;
  --bubble-out: #F8DADF;
  --bubble-out-text: #3F2D32;
  --cs-header-top: #B94E5D;
  --cs-header-bottom: #CC6B79;
  --entry-green: #3A9A72;
  --entry-red: #C9634F;
  --entry-blue: #4A7FC1;
  --entry-yellow: #E0A93B;
  --wallet-card: #B94E5D;
  --wallet-card-text: #FFFFFF;
  --wallet-card-num: #FFFFFF;
  --notice-warn-bg: #FFF4DE;
  --notice-warn-text: #8A5410;
  --rp-bubble: #C8553F;
  --rp-bubble-done: #F0C9C0;
  --rp-card: #B64B40;
  --rp-gold: #E8C77A;
  --amount-in: #1C8050;
  --decor-tint: #D98A95;
  --decor-mountains: 1;
  --decor-lattice: 1;
  --decor-empty: 1;
}

:root[data-theme="dark"],
[data-skin="blush"][data-theme="dark"] {
  color-scheme: dark;
  --bg-page: #181012;
  --bg-card: #221719;
  --bg-pressed: #2E2023;
  --bg-input: #2B1E21;
  --text-primary: #F2E6E8;
  --text-secondary: #B39FA4;
  --text-link: #E8909C;
  --accent: #C45E6E;
  --accent-pressed: #A84B5A;
  --accent-soft: #3D2228;
  --on-accent: #FFFFFF;
  --tab-active: #E8909C;
  --tab-normal: #8E7A80;
  --switch-on: #C45E6E;
  --switch-off: #45343A;
  --danger: #EF6A5A;
  --unread: #D9402F;
  --online: #3FBF83;
  --line: #36272B;
  --chevron: #6E5A60;
  --bubble-in: #2A1D21;
  --bubble-in-text: #F2E6E8;
  --bubble-out: #4A2A32;
  --bubble-out-text: #F2E6E8;
  --cs-header-top: #8E3A48;
  --cs-header-bottom: #A84B5A;
  --entry-green: #3A9A72;
  --entry-red: #C9634F;
  --entry-blue: #4A7FC1;
  --entry-yellow: #E0A93B;
  --wallet-card: #7E3441;
  --wallet-card-text: #F8E8EB;
  --wallet-card-num: #FFFFFF;
  --notice-warn-bg: #3A2E1F;
  --notice-warn-text: #E8B67A;
  --rp-bubble: #C8553F;
  --rp-bubble-done: #6E4A41;
  --rp-card: #9E4238;
  --rp-gold: #E8C77A;
  --amount-in: #3FBF83;
  --decor-tint: #8C4654;
  --decor-mountains: 1;
  --decor-lattice: 1;
  --decor-empty: 1;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-skin]):not([data-theme="light"]),
  [data-skin="blush"]:not([data-theme="light"]) {
    color-scheme: dark;
    --bg-page: #181012;
    --bg-card: #221719;
    --bg-pressed: #2E2023;
    --bg-input: #2B1E21;
    --text-primary: #F2E6E8;
    --text-secondary: #B39FA4;
    --text-link: #E8909C;
    --accent: #C45E6E;
    --accent-pressed: #A84B5A;
    --accent-soft: #3D2228;
    --on-accent: #FFFFFF;
    --tab-active: #E8909C;
    --tab-normal: #8E7A80;
    --switch-on: #C45E6E;
    --switch-off: #45343A;
    --danger: #EF6A5A;
    --unread: #D9402F;
    --online: #3FBF83;
    --line: #36272B;
    --chevron: #6E5A60;
    --bubble-in: #2A1D21;
    --bubble-in-text: #F2E6E8;
    --bubble-out: #4A2A32;
    --bubble-out-text: #F2E6E8;
    --cs-header-top: #8E3A48;
    --cs-header-bottom: #A84B5A;
    --entry-green: #3A9A72;
    --entry-red: #C9634F;
    --entry-blue: #4A7FC1;
    --entry-yellow: #E0A93B;
    --wallet-card: #7E3441;
    --wallet-card-text: #F8E8EB;
    --wallet-card-num: #FFFFFF;
    --notice-warn-bg: #3A2E1F;
    --notice-warn-text: #E8B67A;
    --rp-bubble: #C8553F;
    --rp-bubble-done: #6E4A41;
    --rp-card: #9E4238;
    --rp-gold: #E8C77A;
    --amount-in: #3FBF83;
    --decor-tint: #8C4654;
    --decor-mountains: 1;
    --decor-lattice: 1;
    --decor-empty: 1;
  }
}

[data-skin="jade"] {
  color-scheme: light;
  --bg-page: #F7F6F2;
  --bg-card: #FFFFFF;
  --bg-pressed: #EFEEE8;
  --bg-input: #F0EFEA;
  --text-primary: #253532;
  --text-secondary: #6B7A74;
  --text-link: #287568;
  --accent: #287568;
  --accent-pressed: #1F5E53;
  --accent-soft: #E2F0EA;
  --on-accent: #FFFFFF;
  --tab-active: #287568;
  --tab-normal: #8A9792;
  --switch-on: #287568;
  --switch-off: #DCDFDA;
  --danger: #B64B40;
  --unread: #B64B40;
  --online: #25A66B;
  --line: #E7EBE7;
  --chevron: #B8C2BD;
  --bubble-in: #FFFFFF;
  --bubble-in-text: #253532;
  --bubble-out: #CFE6DB;
  --bubble-out-text: #253532;
  --cs-header-top: #287568;
  --cs-header-bottom: #3F8F80;
  --entry-green: #3A9A72;
  --entry-red: #C9634F;
  --entry-blue: #4A7FC1;
  --entry-yellow: #E0A93B;
  --wallet-card: #E2F0EA;
  --wallet-card-text: #253532;
  --wallet-card-num: #287568;
  --notice-warn-bg: #FBF1E4;
  --notice-warn-text: #9A5B1E;
  --rp-bubble: #C8553F;
  --rp-bubble-done: #EBC2B4;
  --rp-card: #B64B40;
  --rp-gold: #E8C77A;
  --amount-in: #25A66B;
  --decor-tint: rgba(0, 0, 0, 0);
  --decor-mountains: 1;
  --decor-lattice: 1;
  --decor-empty: 1;
}

[data-skin="jade"][data-theme="dark"] {
  color-scheme: dark;
  --bg-page: #111816;
  --bg-card: #1A2321;
  --bg-pressed: #23302D;
  --bg-input: #202B28;
  --text-primary: #E8EFEC;
  --text-secondary: #9AABA4;
  --text-link: #5FB3A1;
  --accent: #4FA593;
  --accent-pressed: #3E8A7A;
  --accent-soft: #1F3A34;
  --on-accent: #FFFFFF;
  --tab-active: #4FA593;
  --tab-normal: #7D8C86;
  --switch-on: #4FA593;
  --switch-off: #3A4744;
  --danger: #D9695D;
  --unread: #D9695D;
  --online: #3FBF83;
  --line: #2A3633;
  --chevron: #5A6864;
  --bubble-in: #1F2A28;
  --bubble-in-text: #E8EFEC;
  --bubble-out: #24453E;
  --bubble-out-text: #E8EFEC;
  --cs-header-top: #1F5E53;
  --cs-header-bottom: #2E7466;
  --entry-green: #3A9A72;
  --entry-red: #C9634F;
  --entry-blue: #4A7FC1;
  --entry-yellow: #E0A93B;
  --wallet-card: #1F3A34;
  --wallet-card-text: #E8EFEC;
  --wallet-card-num: #5FB3A1;
  --notice-warn-bg: #3A2E1F;
  --notice-warn-text: #E8B67A;
  --rp-bubble: #C8553F;
  --rp-bubble-done: #6E4A41;
  --rp-card: #9E4238;
  --rp-gold: #E8C77A;
  --amount-in: #3FBF83;
  --decor-tint: rgba(0, 0, 0, 0);
  --decor-mountains: 1;
  --decor-lattice: 1;
  --decor-empty: 1;
}

@media (prefers-color-scheme: dark) {
  [data-skin="jade"]:not([data-theme="light"]) {
    color-scheme: dark;
    --bg-page: #111816;
    --bg-card: #1A2321;
    --bg-pressed: #23302D;
    --bg-input: #202B28;
    --text-primary: #E8EFEC;
    --text-secondary: #9AABA4;
    --text-link: #5FB3A1;
    --accent: #4FA593;
    --accent-pressed: #3E8A7A;
    --accent-soft: #1F3A34;
    --on-accent: #FFFFFF;
    --tab-active: #4FA593;
    --tab-normal: #7D8C86;
    --switch-on: #4FA593;
    --switch-off: #3A4744;
    --danger: #D9695D;
    --unread: #D9695D;
    --online: #3FBF83;
    --line: #2A3633;
    --chevron: #5A6864;
    --bubble-in: #1F2A28;
    --bubble-in-text: #E8EFEC;
    --bubble-out: #24453E;
    --bubble-out-text: #E8EFEC;
    --cs-header-top: #1F5E53;
    --cs-header-bottom: #2E7466;
    --entry-green: #3A9A72;
    --entry-red: #C9634F;
    --entry-blue: #4A7FC1;
    --entry-yellow: #E0A93B;
    --wallet-card: #1F3A34;
    --wallet-card-text: #E8EFEC;
    --wallet-card-num: #5FB3A1;
    --notice-warn-bg: #3A2E1F;
    --notice-warn-text: #E8B67A;
    --rp-bubble: #C8553F;
    --rp-bubble-done: #6E4A41;
    --rp-card: #9E4238;
    --rp-gold: #E8C77A;
    --amount-in: #3FBF83;
    --decor-tint: rgba(0, 0, 0, 0);
    --decor-mountains: 1;
    --decor-lattice: 1;
    --decor-empty: 1;
  }
}

[data-skin="classic"] {
  color-scheme: light;
  --bg-page: #F5F6F8;
  --bg-card: #FFFFFF;
  --bg-pressed: #EEF0F3;
  --bg-input: #F2F3F5;
  --text-primary: #1C1C1E;
  --text-secondary: #8E8E93;
  --text-link: #2F6FED;
  --accent: #2F80ED;
  --accent-pressed: #1F6FD6;
  --accent-soft: #E8F1FD;
  --on-accent: #FFFFFF;
  --tab-active: #E53935;
  --tab-normal: #9AA0A6;
  --switch-on: #E53935;
  --switch-off: #E5E5EA;
  --danger: #E53935;
  --unread: #E53935;
  --online: #2BA24C;
  --line: #E6E8EB;
  --chevron: #C7C7CC;
  --bubble-in: #E9E9EB;
  --bubble-in-text: #1C1C1E;
  --bubble-out: #2F80ED;
  --bubble-out-text: #FFFFFF;
  --cs-header-top: #2F80ED;
  --cs-header-bottom: #5BA3F5;
  --entry-green: #3DDC97;
  --entry-red: #4C9AFF;
  --entry-blue: #A855F7;
  --entry-yellow: #F5C542;
  --wallet-card: #D9473C;
  --wallet-card-text: #FFFFFF;
  --wallet-card-num: #FFFFFF;
  --notice-warn-bg: #FFF4E5;
  --notice-warn-text: #B25E09;
  --rp-bubble: #F79C3A;
  --rp-bubble-done: #FBD3A4;
  --rp-card: #D9473C;
  --rp-gold: #F3C969;
  --amount-in: #2BA24C;
  --decor-tint: rgba(0, 0, 0, 0);
  --decor-mountains: 0;
  --decor-lattice: 0;
  --decor-empty: 0;
}

[data-skin="classic"][data-theme="dark"] {
  color-scheme: dark;
  --bg-page: #121417;
  --bg-card: #1C1E22;
  --bg-pressed: #2A2D32;
  --bg-input: #25282D;
  --text-primary: #F2F2F7;
  --text-secondary: #98989F;
  --text-link: #5B8FF5;
  --accent: #2F80ED;
  --accent-pressed: #1F6FD6;
  --accent-soft: #1E2A3D;
  --on-accent: #FFFFFF;
  --tab-active: #E53935;
  --tab-normal: #8A8F96;
  --switch-on: #E53935;
  --switch-off: #3A3A3C;
  --danger: #E53935;
  --unread: #E53935;
  --online: #2BA24C;
  --line: #2C2F34;
  --chevron: #5A5A5F;
  --bubble-in: #2C2C2E;
  --bubble-in-text: #F2F2F7;
  --bubble-out: #2F80ED;
  --bubble-out-text: #FFFFFF;
  --cs-header-top: #2F80ED;
  --cs-header-bottom: #5BA3F5;
  --entry-green: #3DDC97;
  --entry-red: #4C9AFF;
  --entry-blue: #A855F7;
  --entry-yellow: #F5C542;
  --wallet-card: #D9473C;
  --wallet-card-text: #FFFFFF;
  --wallet-card-num: #FFFFFF;
  --notice-warn-bg: #3A2E1F;
  --notice-warn-text: #E8B67A;
  --rp-bubble: #F79C3A;
  --rp-bubble-done: #7A6346;
  --rp-card: #D9473C;
  --rp-gold: #F3C969;
  --amount-in: #2BA24C;
  --decor-tint: rgba(0, 0, 0, 0);
  --decor-mountains: 0;
  --decor-lattice: 0;
  --decor-empty: 0;
}

@media (prefers-color-scheme: dark) {
  [data-skin="classic"]:not([data-theme="light"]) {
    color-scheme: dark;
    --bg-page: #121417;
    --bg-card: #1C1E22;
    --bg-pressed: #2A2D32;
    --bg-input: #25282D;
    --text-primary: #F2F2F7;
    --text-secondary: #98989F;
    --text-link: #5B8FF5;
    --accent: #2F80ED;
    --accent-pressed: #1F6FD6;
    --accent-soft: #1E2A3D;
    --on-accent: #FFFFFF;
    --tab-active: #E53935;
    --tab-normal: #8A8F96;
    --switch-on: #E53935;
    --switch-off: #3A3A3C;
    --danger: #E53935;
    --unread: #E53935;
    --online: #2BA24C;
    --line: #2C2F34;
    --chevron: #5A5A5F;
    --bubble-in: #2C2C2E;
    --bubble-in-text: #F2F2F7;
    --bubble-out: #2F80ED;
    --bubble-out-text: #FFFFFF;
    --cs-header-top: #2F80ED;
    --cs-header-bottom: #5BA3F5;
    --entry-green: #3DDC97;
    --entry-red: #4C9AFF;
    --entry-blue: #A855F7;
    --entry-yellow: #F5C542;
    --wallet-card: #D9473C;
    --wallet-card-text: #FFFFFF;
    --wallet-card-num: #FFFFFF;
    --notice-warn-bg: #3A2E1F;
    --notice-warn-text: #E8B67A;
    --rp-bubble: #F79C3A;
    --rp-bubble-done: #7A6346;
    --rp-card: #D9473C;
    --rp-gold: #F3C969;
    --amount-in: #2BA24C;
    --decor-tint: rgba(0, 0, 0, 0);
    --decor-mountains: 0;
    --decor-lattice: 0;
    --decor-empty: 0;
  }
}

/* Icons (imgs/jade/icons), used as CSS masks so they take the current colour. */
:root {
  --icon-at: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M16 8v5a2.5 2.5 0 0 0 5 0v-1a9 9 0 1 0-3.6 7.2'/%3E%3C/svg%3E");
  --icon-attachment: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m8 13 7-7a3 3 0 0 1 4 4L9 20a5 5 0 0 1-7-7L13 2M5 15l9-9'/%3E%3C/svg%3E");
  --icon-audit: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='4' width='14' height='18' rx='2'/%3E%3Cpath d='M9 4V3a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v1M9 13l2 2 4-4'/%3E%3C/svg%3E");
  --icon-back: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 4-8 8 8 8'/%3E%3C/svg%3E");
  --icon-bell: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 17h14l-2-3V9a5 5 0 0 0-10 0v5ZM10 21h4M12 2v2'/%3E%3C/svg%3E");
  --icon-block: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m6 6 12 12'/%3E%3C/svg%3E");
  --icon-briefcase: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='18' height='14' rx='2'/%3E%3Cpath d='M8 7V4a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v3M3 12a22 22 0 0 0 18 0M12 12v3'/%3E%3C/svg%3E");
  --icon-building: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 22V3h13v19M16 12h5v10M1 22h22M7 7h1M11 7h1M7 11h1M11 11h1M7 15h1M11 15h1M8 22v-4h3'/%3E%3C/svg%3E");
  --icon-cache: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8a8 8 0 0 1 15-2l2 3M21 3v6h-6M20 16a8 8 0 0 1-15 2l-2-3M3 21v-6h6'/%3E%3C/svg%3E");
  --icon-camera-switch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7h4l2-4h6l2 4h4v14H3Z'/%3E%3Cpath d='M8.6 12.5a3.5 3.5 0 0 1 6.3-1.6M15.4 14.5a3.5 3.5 0 0 1-6.3 1.6M15.2 8.6v2.6h-2.6M8.8 18.4v-2.6h2.6'/%3E%3C/svg%3E");
  --icon-camera: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7h4l2-4h6l2 4h4v14H3Z'/%3E%3Ccircle cx='12' cy='13' r='4'/%3E%3C/svg%3E");
  --icon-card: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='2' width='18' height='20' rx='2'/%3E%3Ccircle cx='12' cy='8' r='3'/%3E%3Cpath d='M7 18v-1a5 5 0 0 1 10 0v1Z'/%3E%3C/svg%3E");
  --icon-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 12 5 5L20 6'/%3E%3C/svg%3E");
  --icon-chevron-up: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 15 7-7 7 7'/%3E%3C/svg%3E");
  --icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 5 7 7-7 7'/%3E%3C/svg%3E");
  --icon-close: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 5 14 14M19 5 5 19'/%3E%3C/svg%3E");
  --icon-cloud: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 20a5 5 0 0 1-1-10 7 7 0 0 1 13-2 6 6 0 0 1 0 12Z'/%3E%3C/svg%3E");
  --icon-compass-fill: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 1 0 18 0 9 9 0 1 0-18 0ZM16 8l-5 3-3 5 5-3Z' fill='%23253532' fill-rule='evenodd' stroke='none'/%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3C/svg%3E");
  --icon-compass: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m16 8-3 5-5 3 3-5Z'/%3E%3C/svg%3E");
  --icon-contacts-fill: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='7' r='3' fill='%23253532'/%3E%3Cpath d='M3 20v-3a6 6 0 0 1 12 0v3Z' fill='%23253532'/%3E%3Cpath d='M16 4a3 3 0 0 1 0 6M18 13a5 5 0 0 1 3 4v3'/%3E%3C/svg%3E");
  --icon-contacts: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='7' r='3'/%3E%3Cpath d='M3 20v-3a6 6 0 0 1 12 0v3M16 4a3 3 0 0 1 0 6M18 13a5 5 0 0 1 3 4v3'/%3E%3C/svg%3E");
  --icon-copy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8' y='8' width='13' height='13' rx='2'/%3E%3Cpath d='M16 8V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h3'/%3E%3C/svg%3E");
  --icon-device: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='14' height='11' rx='1.5'/%3E%3Cpath d='M6 20h6M9 15v5'/%3E%3Crect x='17' y='8' width='5' height='12' rx='1'/%3E%3C/svg%3E");
  --icon-download: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12M7 10l5 5 5-5M4 21h16'/%3E%3C/svg%3E");
  --icon-emoji: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M7 14a5.5 5.5 0 0 0 10 0'/%3E%3Ccircle cx='8' cy='9' r='.7'/%3E%3Ccircle cx='16' cy='9' r='.7'/%3E%3C/svg%3E");
  --icon-eye-off: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M4 3l16 18'/%3E%3C/svg%3E");
  --icon-eye: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
  --icon-file: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 2h9l5 5v15H5ZM14 2v6h5M8 12h8M8 16h8'/%3E%3C/svg%3E");
  --icon-folder: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6a2 2 0 0 1 2-2h5l2 3h7a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2Z'/%3E%3C/svg%3E");
  --icon-gift: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='9' width='18' height='12' rx='1'/%3E%3Cpath d='M2 9h20v4H2ZM12 9v12'/%3E%3Cpath d='M12 9C4 8 5 1 8 3c2 1 3 4 4 6Zm0 0c8-1 7-8 4-6-2 1-3 4-4 6Z'/%3E%3C/svg%3E");
  --icon-group: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='7' r='3'/%3E%3Ccircle cx='4' cy='9' r='2'/%3E%3Ccircle cx='20' cy='9' r='2'/%3E%3Cpath d='M7 21v-5a5 5 0 0 1 10 0v5ZM1 21v-5a3 3 0 0 1 4-3M23 21v-5a3 3 0 0 0-4-3'/%3E%3C/svg%3E");
  --icon-hangup: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 15v-2.5c0-1 .6-1.8 1.5-2.1A27 27 0 0 1 12 9c3 0 5.8.5 8.5 1.4.9.3 1.5 1.1 1.5 2.1V15a1 1 0 0 1-1.2 1l-3.6-.7a1 1 0 0 1-.8-1v-1.8a20 20 0 0 0-8.8 0v1.8a1 1 0 0 1-.8 1L3.2 16A1 1 0 0 1 2 15Z'/%3E%3C/svg%3E");
  --icon-headset: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 14v-3a9 9 0 0 1 18 0v3M21 17v2a3 3 0 0 1-3 3h-4'/%3E%3Crect x='1' y='11' width='5' height='8' rx='2'/%3E%3Crect x='18' y='11' width='5' height='8' rx='2'/%3E%3C/svg%3E");
  --icon-help: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9 8a3 3 0 0 1 6 1c0 2-3 2-3 4M12 17h.01'/%3E%3C/svg%3E");
  --icon-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8' cy='8' r='2'/%3E%3Cpath d='m3 17 6-6 4 4 3-3 5 5'/%3E%3C/svg%3E");
  --icon-ip-block: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9.5' cy='9.5' r='6.5'/%3E%3Cpath d='M3 9.5h13M9.5 3c-2.5 1.9-2.5 11.1 0 13M9.5 3c2.5 1.9 2.5 11.1 0 13'/%3E%3Ccircle cx='18' cy='18' r='3.6'/%3E%3Cpath d='m15.5 15.5 5 5'/%3E%3C/svg%3E");
  --icon-keyboard: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='5' width='20' height='14' rx='2'/%3E%3Cpath d='M6 9h.01M10 9h.01M14 9h.01M18 9h.01M6 12h.01M10 12h.01M14 12h.01M18 12h.01M8 15.5h8'/%3E%3C/svg%3E");
  --icon-language: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 5h12M8 2v3M4 5c0 6 5 10 9 12M12 5c0 6-5 10-9 12M14 22l4-12 4 12M16 18h4'/%3E%3C/svg%3E");
  --icon-location: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s7-6.5 7-12a7 7 0 0 0-14 0c0 5.5 7 12 7 12Z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E");
  --icon-lock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='10' width='16' height='12' rx='2'/%3E%3Cpath d='M7 10V7a5 5 0 0 1 10 0v3M12 15v3'/%3E%3C/svg%3E");
  --icon-logout: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4M16 17l5-5-5-5M21 12H9'/%3E%3C/svg%3E");
  --icon-megaphone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 9 13-5v16L4 15ZM4 9H2v6h2M7 16l1 5h3l-2-4M20 8a7 7 0 0 1 0 8'/%3E%3C/svg%3E");
  --icon-message-fill: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 11.5a8 8 0 0 1-8 8 9 9 0 0 1-3.7-.8L4 20l1.3-4.3a8 8 0 1 1 14.7-4.2Z' fill='%23253532'/%3E%3C/svg%3E");
  --icon-message: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 11.5a8 8 0 0 1-8 8 9 9 0 0 1-3.7-.8L4 20l1.3-4.3a8 8 0 1 1 14.7-4.2Z'/%3E%3C/svg%3E");
  --icon-mic-off: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='2' width='6' height='12' rx='3'/%3E%3Cpath d='M5 11a7 7 0 0 0 14 0M12 18v4M8 22h8M3 3l18 18'/%3E%3C/svg%3E");
  --icon-mic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='2' width='6' height='12' rx='3'/%3E%3Cpath d='M5 11a7 7 0 0 0 14 0M12 18v4M8 22h8'/%3E%3C/svg%3E");
  --icon-moments: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.8 20.95 12.97M15.64 9.9v10.33M15.64 14.1 6.69 19.27M12 16.2 3.05 11.03M8.36 14.1V3.77M8.36 9.9l8.95-5.17'/%3E%3C/svg%3E");
  --icon-more-vertical: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='5' r='1'/%3E%3Ccircle cx='12' cy='12' r='1'/%3E%3Ccircle cx='12' cy='19' r='1'/%3E%3C/svg%3E");
  --icon-more: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='5' cy='12' r='1'/%3E%3Ccircle cx='12' cy='12' r='1'/%3E%3Ccircle cx='19' cy='12' r='1'/%3E%3C/svg%3E");
  --icon-mute: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 17h14l-2-3V9a5 5 0 0 0-10 0v5ZM10 21h4M12 2v2M3 3l18 18'/%3E%3C/svg%3E");
  --icon-news: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='3' width='17' height='18' rx='1'/%3E%3Cpath d='M4 7H1v12a2 2 0 0 0 3 2M8 7h9M8 11h9M8 15h4M15 15h2M8 18h4M15 18h2'/%3E%3C/svg%3E");
  --icon-nodes: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='5' r='2.5'/%3E%3Ccircle cx='5' cy='18' r='2.5'/%3E%3Ccircle cx='19' cy='18' r='2.5'/%3E%3Cpath d='M10.81 7.2 6.19 15.8M13.19 7.2l4.62 8.6M7.5 18h9'/%3E%3C/svg%3E");
  --icon-order: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 4.5v9L12 21l-8-4.5v-9ZM4 7.5l8 4.5 8-4.5M12 12v9M8 5.25l8 4.5'/%3E%3C/svg%3E");
  --icon-organization: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='2' width='6' height='5' rx='1'/%3E%3Cpath d='M12 7v6M4 17v-4h16v4M12 13v4'/%3E%3Crect x='1' y='17' width='6' height='5' rx='1'/%3E%3Crect x='9' y='17' width='6' height='5' rx='1'/%3E%3Crect x='17' y='17' width='6' height='5' rx='1'/%3E%3C/svg%3E");
  --icon-palette: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11a9 9 0 1 0-9 10h1a2 2 0 0 0 1-3.7 1.5 1.5 0 0 1 1-2.8h2a4 4 0 0 0 4-3.5Z'/%3E%3Ccircle cx='7' cy='10' r='.8'/%3E%3Ccircle cx='10' cy='6' r='.8'/%3E%3Ccircle cx='15' cy='6' r='.8'/%3E%3Ccircle cx='18' cy='10' r='.8'/%3E%3C/svg%3E");
  --icon-params: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h9M17 6h3M4 12h3M11 12h9M4 18h11M19 18h1'/%3E%3Ccircle cx='15' cy='6' r='2'/%3E%3Ccircle cx='9' cy='12' r='2'/%3E%3Ccircle cx='17' cy='18' r='2'/%3E%3C/svg%3E");
  --icon-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3 3 6c0 7 8 15 15 15l3-3-5-4-3 2a14 14 0 0 1-5-5l2-3Z'/%3E%3C/svg%3E");
  --icon-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 3h8M10 3v6l-4 5h12l-4-5V3M12 14v7'/%3E%3C/svg%3E");
  --icon-plus-circle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v10M7 12h10'/%3E%3C/svg%3E");
  --icon-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  --icon-qrcode: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%3E%3Cpath d='M6.5 6.5h.01M17.5 6.5h.01M6.5 17.5h.01M14 14h3v3h-3ZM20.5 14v.01M14 20.5h.01M17 20.5h3.5V17'/%3E%3C/svg%3E");
  --icon-receipts: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 2h14v20l-3-2-4 2-4-2-3 2ZM8 7h8M8 11h8M8 15h5'/%3E%3C/svg%3E");
  --icon-redpacket: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='2' width='16' height='20' rx='2'/%3E%3Cpath d='M4 7.5q8 5 16 0'/%3E%3Ccircle cx='12' cy='10' r='2.2'/%3E%3C/svg%3E");
  --icon-refresh: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 12a8 8 0 1 1-2.34-5.66L20 8.5M20 3v5.5h-5.5'/%3E%3C/svg%3E");
  --icon-scan: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8V5a2 2 0 0 1 2-2h3M16 3h3a2 2 0 0 1 2 2v3M21 16v3a2 2 0 0 1-2 2h-3M8 21H5a2 2 0 0 1-2-2v-3M3 12h18'/%3E%3C/svg%3E");
  --icon-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m16 16 5 5'/%3E%3C/svg%3E");
  --icon-send: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m2 3 20 9-20 9 4-9ZM6 12h16'/%3E%3C/svg%3E");
  --icon-settings: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 3 .7-1h4.6l.7 3 3 1 2.8-.5 2 3.5-2 2v3l2 2-2 3.5-3-.5-3 1-.5 2h-4.6l-.7-2-3-1-3 .5-2-3.5 2-2v-3l-2-2 2-3.5 3 .5 3-1Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
  --icon-share: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12M8 7l4-4 4 4M8 11H6a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-6a2 2 0 0 0-2-2h-2'/%3E%3C/svg%3E");
  --icon-shield: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 2 9 4v6c0 5-6 9-9 10-3-1-9-5-9-10V6Z'/%3E%3Cpath d='M12 7v9M8 11h8'/%3E%3C/svg%3E");
  --icon-speaker: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9h4l5-4v14l-5-4H3ZM16 9a4 4 0 0 1 0 6M19 6a8 8 0 0 1 0 12'/%3E%3C/svg%3E");
  --icon-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 2 3 6 7 1-5 5 1 8-6-4-6 4 1-8-5-5 7-1Z'/%3E%3C/svg%3E");
  --icon-stats: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 21h16M7 17v-6M12 17V5M17 17V9'/%3E%3C/svg%3E");
  --icon-switch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7h18l-5-5M21 17H3l5 5'/%3E%3C/svg%3E");
  --icon-team: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='5' r='3'/%3E%3Ccircle cx='5.5' cy='18.5' r='2.5'/%3E%3Ccircle cx='18.5' cy='18.5' r='2.5'/%3E%3Cpath d='M12 8v4M5.5 16v-4h13v4'/%3E%3C/svg%3E");
  --icon-ticket: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v3a2 2 0 0 0 0 4v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-3a2 2 0 0 0 0-4ZM14 5v2M14 11v2M14 17v2'/%3E%3C/svg%3E");
  --icon-user-fill: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='7' r='4' fill='%23253532'/%3E%3Cpath d='M4 21v-3a8 8 0 0 1 16 0v3Z' fill='%23253532'/%3E%3C/svg%3E");
  --icon-user-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='7' r='3'/%3E%3Cpath d='M3 21v-4a6 6 0 0 1 12 0v4M19 5v6M16 8h6'/%3E%3C/svg%3E");
  --icon-user-x: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='7' r='3'/%3E%3Cpath d='M3 21v-4a6 6 0 0 1 12 0v4M16.5 8.5l5 5M21.5 8.5l-5 5'/%3E%3C/svg%3E");
  --icon-user: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3Cpath d='M4 21v-3a8 8 0 0 1 16 0v3Z'/%3E%3C/svg%3E");
  --icon-verify: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='7' r='3'/%3E%3Cpath d='M3 21v-4a6 6 0 0 1 12 0v4M18 9v8M14 13h8'/%3E%3C/svg%3E");
  --icon-video: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='5' width='14' height='14' rx='2'/%3E%3Cpath d='m16 9 6-4v14l-6-4'/%3E%3C/svg%3E");
  --icon-voice: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9 9v6M12 7a8 8 0 0 1 0 10M15 5a11 11 0 0 1 0 14'/%3E%3C/svg%3E");
  --icon-wallet: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7V5a2 2 0 0 1 2-2h13v4M3 7h16a2 2 0 0 1 2 2v11H5a2 2 0 0 1-2-2ZM21 11h-6v5h6'/%3E%3Ccircle cx='17.5' cy='13.5' r='.5'/%3E%3C/svg%3E");
  --icon-workbench: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23253532' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1.5'/%3E%3C/svg%3E");
}

/* app.css */
/* Web client layout and components (docs/18 5, docs/09 2.2 and 3). Colours come only from the skin
   tokens in skin_gen.css; icons are masks (--icon-<name>) painted with currentColor. */

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

html,
body {
  margin: 0;
  height: 100%;
  background: var(--bg-page);
  color: var(--text-primary);
  font-family: -apple-system, "PingFang SC", "Segoe UI", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior: none;
}

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

button {
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
}

button:disabled {
  cursor: default;
}

#app {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg-page);
}

.screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--bg-page);
}

.scroll {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
}

/* ---- icons ---- */
.ic {
  display: inline-block;
  width: 24px;
  height: 24px;
  flex: none;
  background: currentColor;
  -webkit-mask: var(--ic) center / contain no-repeat;
  mask: var(--ic) center / contain no-repeat;
}

.ic.s20 { width: 20px; height: 20px; }
.ic.s18 { width: 18px; height: 18px; }
.ic.s14 { width: 14px; height: 14px; }
.ic.s26 { width: 26px; height: 26px; }

/* ---- auth pages (S01 / S02): phone column, centred and at most 420 wide on big screens ---- */
.auth {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
}

.auth-top {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  min-height: 56px;
}

.auth-top .grow {
  flex: 1;
}

.auth-body {
  flex: 1;
  overflow-y: auto;
  padding: 0 24px;
}

.auth-foot {
  padding: 8px 24px 0;
}

.round-back {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-input);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.round-back .ic {
  width: 22px;
  height: 22px;
}

.text-btn {
  font-size: 15px;
  color: var(--text-primary);
  padding: 6px 10px;
  border-radius: 8px;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 8px;
}

.logo {
  display: block;
  border-radius: 50%;
  object-fit: cover;
}

.brand .logo {
  width: 72px;
  height: 72px;
  border-radius: 22px;
}

.brand h1 {
  margin: 18px 0 0;
  font-size: 28px;
  font-weight: 700;
}

.brand p {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.label {
  font-size: 15px;
  padding: 14px 0 8px;
}

.field {
  display: flex;
  align-items: center;
  height: 48px;
  padding: 0 14px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--line);
}

.field.filled {
  border-color: var(--bg-input);
}

.field > .ic {
  color: var(--text-secondary);
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

.field input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 16px;
  height: 100%;
}

.field input::placeholder {
  color: var(--text-secondary);
}

.field .eye {
  color: var(--text-secondary);
  display: flex;
}

.field-action {
  font-size: 14px;
  color: var(--text-link);
  padding: 6px 4px;
  border-radius: 6px;
  white-space: nowrap;
}

.field-action:disabled {
  color: var(--text-secondary);
}

.err {
  color: var(--danger);
  font-size: 13px;
  padding-top: 6px;
}

.hint {
  color: var(--text-secondary);
  font-size: 12px;
  padding-top: 6px;
}

.captcha {
  display: flex;
  align-items: center;
  gap: 10px;
}

.captcha .field {
  flex: 1;
}

.captcha-img {
  position: relative;
  width: 120px;
  height: 44px;
  flex: none;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--bg-input);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 13px;
}

.captcha-img img {
  width: 100%;
  height: 100%;
  display: block;
}

.captcha-img .refresh {
  position: absolute;
  right: 2px;
  bottom: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
}

.captcha-img .refresh .ic {
  width: 12px;
  height: 12px;
}

.row-line {
  display: flex;
  align-items: center;
  padding-top: 18px;
  font-size: 15px;
  color: var(--text-secondary);
  gap: 8px;
}

.agree {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 18px;
  font-size: 14px;
  color: var(--text-secondary);
}

.agree a,
.link {
  color: var(--text-link);
  cursor: pointer;
  text-decoration: none;
}

.check {
  width: 18px;
  height: 18px;
  flex: none;
  border-radius: 3px;
  border: 1.5px solid var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--on-accent);
}

.check.on {
  background: var(--accent);
  border-color: var(--accent);
}

.check .ic {
  width: 14px;
  height: 14px;
  visibility: hidden;
}

.check.on .ic {
  visibility: visible;
}

.switch {
  width: 46px;
  height: 28px;
  flex: none;
  border-radius: 14px;
  background: var(--switch-off);
  position: relative;
  transition: background 0.15s;
}

.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  transition: left 0.15s;
}

.switch.on {
  background: var(--switch-on);
}

.switch.on::after {
  left: 21px;
}

.primary {
  width: 100%;
  height: 48px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 16px;
  font-weight: 500;
}

.primary:active:not(:disabled) {
  background: var(--accent-pressed);
}

.primary:disabled {
  opacity: 0.4;
}

.outline {
  width: 100%;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 16px;
  font-weight: 500;
}

.danger-btn {
  color: var(--danger);
}

.links3 {
  display: flex;
  padding-top: 16px;
}

.links3 button {
  flex: 1;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 8px 0;
  border-radius: 6px;
}

.version {
  font-size: 12px;
  color: var(--text-secondary);
  text-align: center;
  padding: 16px 0;
}

.seg {
  display: flex;
  margin-top: 12px;
  padding: 3px;
  border-radius: 10px;
  background: var(--bg-input);
}

.seg button {
  flex: 1;
  padding: 9px 0;
  border-radius: 8px;
  font-size: 15px;
  color: var(--text-secondary);
}

.seg button.on {
  background: var(--bg-card);
  color: var(--accent);
  font-weight: 600;
}

/* ---- full-page notices (S00, S00a, S00b, unsupported, other tab) ---- */
.center-page {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  gap: 8px;
}

.center-page .logo {
  width: 120px;
  height: 120px;
  margin-bottom: 12px;
}

.center-page h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
}

.center-page h2 {
  margin: 8px 0 0;
  font-size: 20px;
  font-weight: 600;
}

.center-page p {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 360px;
  white-space: pre-line;
}

.center-page .primary,
.center-page .outline {
  max-width: 320px;
  margin-top: 16px;
}

/* ---- nav bar ---- */
.navbar {
  position: relative;
  display: flex;
  align-items: center;
  height: calc(44px + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) 12px 0;
  background: var(--bg-card);
  flex: none;
}

.navbar.big {
  height: calc(56px + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) 8px 0;
  background: var(--bg-page);
}

.navbar .title {
  position: absolute;
  left: 72px;
  right: 72px;
  bottom: 0;
  height: 44px;
  line-height: 44px;
  text-align: center;
  font-size: 17px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}

.navbar.big .title {
  position: static;
  height: auto;
  line-height: normal;
  text-align: left;
  font-size: 22px;
  font-weight: 700;
  padding-left: 8px;
  flex: 1;
}

.navbar .back {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-input);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
}

.navbar .back .ic {
  width: 20px;
  height: 20px;
}

.navbar .spacer {
  flex: 1;
}

.nav-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  border-radius: 50%;
}

.line {
  height: 1px;
  background: var(--line);
  flex: none;
}

/* ---- main layout: phone (tabs at the bottom) / desktop (72 wide bar on the left) ---- */
.main {
  flex: 1;
  display: flex;
  min-height: 0;
}

.main-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}

.tabbar {
  flex: none;
  display: flex;
  background: var(--bg-card);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}

.tabbar button {
  flex: 1;
  height: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--tab-normal);
  font-size: 11px;
  position: relative;
}

.tabbar button.on {
  color: var(--tab-active);
  font-weight: 500;
}

.tabbar button span.lbl {
  padding-top: 3px;
}

.sidebar {
  display: none;
}

.badge {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--unread);
  color: var(--on-accent);
  font-size: 11px;
  font-weight: 500;
  line-height: 18px;
  text-align: center;
}

.badge.grey {
  background: var(--text-secondary);
  min-width: 10px;
  width: 10px;
  height: 10px;
  padding: 0;
  font-size: 0;
}

.tabbar .badge {
  position: absolute;
  top: 4px;
  left: calc(50% + 6px);
}

.pane-empty {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 14px;
  flex-direction: column;
  gap: 16px;
}

.pane-empty .logo {
  width: 72px;
  height: 72px;
  opacity: 0.85;
}

@media (min-width: 960px) {
  .main .tabbar {
    display: none;
  }

  .sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 72px;
    flex: none;
    background: var(--bg-card);
    border-right: 1px solid var(--line);
    padding-top: 16px;
    gap: 8px;
  }

  .sidebar .me {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
  }

  .sidebar button {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tab-normal);
  }

  .sidebar button.on {
    color: var(--tab-active);
    background: var(--accent-soft);
  }

  .sidebar .badge {
    position: absolute;
    top: 6px;
    right: 4px;
  }

  .main .list-col {
    width: 320px;
    flex: none;
    border-right: 1px solid var(--line);
  }

  .main .detail-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
  }
}

@media (min-width: 768px) and (max-width: 959px) {
  #app.phone-frame {
    left: 50%;
    right: auto;
    width: 480px;
    margin-left: -240px;
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
  }
}

/* ---- avatars ---- */
.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex: none;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  overflow: hidden;
  user-select: none;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar.s36 {
  width: 36px;
  height: 36px;
  font-size: 14px;
}

.avatar.s72 {
  width: 72px;
  height: 72px;
  font-size: 26px;
}

/* ---- S10 conversation list ---- */
.convs {
  background: var(--bg-card);
}

.conv {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: var(--bg-card);
  position: relative;
  cursor: pointer;
  user-select: none;
}

.conv:hover {
  background: var(--bg-pressed);
}

.conv.pin {
  background: color-mix(in srgb, var(--accent-soft) 50%, var(--bg-card));
}

.conv.sel {
  background: var(--accent-soft);
}

.conv::after {
  content: "";
  position: absolute;
  left: 76px;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--line);
}

.conv .av-wrap {
  position: relative;
}

.conv .av-wrap .badge {
  position: absolute;
  top: -4px;
  right: -6px;
}

.conv .mid {
  flex: 1;
  min-width: 0;
  padding-left: 12px;
}

.conv .r1,
.conv .r2 {
  display: flex;
  align-items: center;
  gap: 4px;
}

.conv .name {
  flex: 1;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.conv .time {
  font-size: 12px;
  color: var(--text-secondary);
}

.conv .r2 {
  padding-top: 3px;
  font-size: 13px;
  color: var(--text-secondary);
}

.conv .sum {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.conv .draft,
.conv .atme {
  color: var(--danger);
  flex: none;
}

.conv .atme {
  color: var(--unread);
}

.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 24px;
  color: var(--text-secondary);
  font-size: 14px;
  gap: 12px;
}

.empty .ic {
  width: 48px;
  height: 48px;
  color: var(--chevron);
}

.conn-bar {
  flex: none;
  padding: 8px 16px;
  font-size: 13px;
  background: var(--notice-warn-bg);
  color: var(--notice-warn-text);
  text-align: center;
}

/* ---- S11 chat ---- */
.chat-list {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
  background: var(--bg-page);
  padding: 4px 0 8px;
  display: flex;
  flex-direction: column;
}

.chat-list .more {
  text-align: center;
  font-size: 12px;
  color: var(--text-secondary);
  padding: 8px 0;
}

.tsep {
  text-align: center;
  font-size: 12px;
  color: var(--text-secondary);
  padding: 12px 0 4px;
}

.sysline {
  text-align: center;
  font-size: 12px;
  color: var(--text-secondary);
  padding: 6px 40px;
}

.msg {
  display: flex;
  align-items: flex-start;
  padding: 6px 12px;
  gap: 8px;
}

.msg.own {
  justify-content: flex-end;
}

.msg .col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  max-width: calc(100% - 88px);
}

.msg.own .col {
  align-items: flex-end;
}

.msg .row {
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
}

.msg .pad {
  width: 36px;
  flex: none;
}

.bubble {
  max-width: 260px;
  padding: 9px 12px;
  border-radius: 8px;
  background: var(--bubble-in);
  color: var(--bubble-in-text);
  font-size: 16px;
  line-height: 22px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  user-select: text;
}

@media (min-width: 960px) {
  .bubble {
    max-width: 480px;
  }
}

.msg.own .bubble {
  background: var(--bubble-out);
  color: var(--bubble-out-text);
}

.bubble a {
  color: var(--text-link);
  text-decoration: underline;
}

.bubble.emoji {
  background: transparent !important;
  padding: 0;
  font-size: 40px;
  line-height: 48px;
}

.bubble.other {
  color: var(--text-secondary);
}

.quote {
  font-size: 12px;
  line-height: 17px;
  opacity: 0.75;
  padding: 6px;
  margin-bottom: 6px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.05);
}

.rstate {
  font-size: 11px;
  color: var(--text-secondary);
  padding-top: 2px;
}

.spin {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid var(--text-secondary);
  border-right-color: transparent;
  animation: spin 0.8s linear infinite;
  flex: none;
}

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

.fail {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--danger);
  color: var(--on-accent);
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  flex: none;
}

.inputbar {
  flex: none;
  background: var(--bg-card);
  border-top: 1px solid var(--line);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
}

.inputbox {
  display: flex;
  align-items: flex-end;
  min-height: 48px;
  border-radius: 12px;
  background: var(--bg-input);
  padding: 0 6px 0 12px;
}

.inputbox textarea {
  flex: 1;
  resize: none;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 16px;
  line-height: 22px;
  padding: 13px 0;
  max-height: 122px;
  min-height: 48px;
}

.inputbox textarea::placeholder {
  color: var(--text-secondary);
}

.tool {
  width: 36px;
  height: 36px;
  margin: 6px 0 6px 4px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tab-normal);
  flex: none;
}

.tool.send.on {
  background: var(--accent);
  color: var(--on-accent);
}

.tool.on:not(.send) {
  color: var(--accent);
}

.emoji-panel {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  height: 220px;
  overflow-y: auto;
  background: var(--bg-page);
  margin: 10px -12px 0;
  padding: 0 8px;
}

.emoji-panel button {
  font-size: 26px;
  padding: 6px;
  border-radius: 8px;
}

.emoji-panel button:hover {
  background: var(--bg-pressed);
}

.input-note {
  text-align: center;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 20px;
}

/* ---- lists and cards (S14-lite, about, language) ---- */
.card {
  background: var(--bg-card);
  border-radius: 12px;
  margin: 12px 16px 0;
  overflow: hidden;
}

.lrow {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 52px;
  padding: 8px 16px;
  gap: 12px;
  text-align: left;
  font-size: 16px;
  position: relative;
}

.lrow + .lrow::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--line);
}

.lrow.with-icon + .lrow.with-icon::before {
  left: 52px;
}

.lrow .t {
  flex: 1;
  min-width: 0;
}

.lrow .v {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 60%;
  text-align: right;
  overflow-wrap: anywhere;
}

.lrow .chev {
  color: var(--chevron);
  width: 18px;
  height: 18px;
}

.lrow.danger {
  color: var(--danger);
  justify-content: center;
}

.lrow.danger .t {
  flex: none;
}

.me-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 16px;
}

.me-head .nick {
  font-size: 20px;
  font-weight: 600;
}

.me-head .acct {
  font-size: 13px;
  color: var(--text-secondary);
  padding-top: 4px;
}

.radio {
  color: var(--accent);
}

/* ---- legal pages ---- */
.legal {
  padding: 8px 20px 32px;
  font-size: 15px;
  line-height: 1.7;
  user-select: text;
}

.legal h1 {
  font-size: 22px;
}

.legal h2 {
  font-size: 17px;
  margin-top: 24px;
}

/* ---- toast, dialog, menu ---- */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(96px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  max-width: calc(100% - 64px);
  padding: 10px 16px;
  border-radius: 8px;
  background: rgba(30, 30, 30, 0.88);
  color: #fff;
  font-size: 14px;
  text-align: center;
  z-index: 100;
  pointer-events: none;
}

.scrim {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  padding: 24px;
}

.dialog {
  width: 100%;
  max-width: 320px;
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
}

.dialog .body {
  padding: 20px 20px 12px;
}

.dialog h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  text-align: center;
}

.dialog p {
  margin: 10px 0 0;
  font-size: 14px;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.dialog .btns {
  display: flex;
  border-top: 1px solid var(--line);
  height: 48px;
}

.dialog .btns button {
  flex: 1;
  font-size: 16px;
}

.dialog .btns button + button {
  border-left: 1px solid var(--line);
}

.dialog .btns .cancel {
  color: var(--text-secondary);
}

.dialog .btns .ok {
  color: var(--accent);
  font-weight: 500;
}

.dialog .btns .ok.danger {
  color: var(--danger);
}

.menu {
  position: fixed;
  z-index: 60;
  min-width: 160px;
  background: var(--bg-card);
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.16);
  padding: 4px 0;
}

.menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 44px;
  padding: 0 16px;
  font-size: 16px;
  text-align: left;
  white-space: nowrap;
}

.menu button:hover {
  background: var(--bg-pressed);
}

.menu button.danger {
  color: var(--danger);
}

.menu-scrim {
  position: fixed;
  inset: 0;
  z-index: 59;
}

.banner {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 13px;
  background: var(--notice-warn-bg);
  color: var(--notice-warn-text);
}

.banner .grow {
  flex: 1;
}

.waiting {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-top: 48px;
  text-align: center;
}

.waiting .spin {
  width: 32px;
  height: 32px;
  border-width: 3px;
  border-color: var(--accent);
  border-right-color: transparent;
}

.hidden {
  display: none !important;
}

.sp40 {
  width: 40px;
  height: 40px;
}

.gap28 {
  height: 28px;
}

.gap8 {
  height: 8px;
}

.card-bg {
  background: var(--bg-card);
}
