/* Ant Design v5: tokens (light, dark, the navy Pro sider), component shapes and motion.
   Loaded after themes.css and app.css; every rule is scoped to [data-theme="antd"]. */

/* ── Ant Design v5: seed token #1677ff, system font, radius 6, layout grey #f5f5f5 ─────────
   Values are the default theme and the dark algorithm. data-base="navy" gives the Ant Design Pro sider (#001529). */
[data-theme="antd"] {
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;

  --bg: #f5f5f5; --paper: #ffffff; --paper-2: #fafafa; --card: #ffffff; --elevated: #ffffff;
  --subtle: rgba(0, 0, 0, .04); --hover: rgba(0, 0, 0, .04); --active: var(--primary-soft);
  --fg: rgba(0, 0, 0, .88); --fg-2: rgba(0, 0, 0, .75); --fg-3: rgba(0, 0, 0, .65); --fg-muted: rgba(0, 0, 0, .45);
  --border: #f0f0f0; --border-strong: #d9d9d9; --input: #d9d9d9;

  --primary: #1677ff; --primary-hover: #4096ff; --primary-fg: #ffffff;
  --primary-soft: #e6f4ff; --primary-soft-fg: var(--primary);
  --ring: var(--primary); --ring-alpha: 45%;
  --focus-w: 4px; --focus-c: var(--ring-soft); --focus-o: 1px;

  --danger: #cf1322; --danger-solid: #ff4d4f; --danger-soft: #fff2f0; --danger-border: #ffccc7;
  --warn: #d48806; --warn-soft: #fffbe6; --warn-border: #ffe58f;
  --ok: #389e0d; --ok-solid: #52c41a; --ok-soft: #f6ffed; --ok-border: #b7eb8f;
  --snooze: #1d39c4; --snooze-solid: #2f54eb; --snooze-soft: #f0f5ff; --snooze-border: #adc6ff;
  --label: #531dab; --label-soft: #f9f0ff; --label-border: #d3adf7;
  --sample: #d46b08; --sample-soft: #fff7e6; --sample-border: #ffd591;
  --unread: #ff4d4f; --unread-line: #ffccc7; --draft: #d46b08;
  --note-bg: #fffbe6; --note-border: #ffe58f; --note-fg: #ad6800; --note-strong: #d48806; --note-focus: #faad14; --note-soft: #fffbe6;
  --fail-bg: #fffbe6; --fail-border: #ffe58f;

  --bubble-in: #f5f5f5; --bubble-in-fg: rgba(0, 0, 0, .88);
  --bubble-out: var(--primary-soft); --bubble-out-fg: rgba(0, 0, 0, .88);
  --bubble-other: #f6ffed; --bubble-other-fg: rgba(0, 0, 0, .88); --bubble-other-border: #d9f7be;
  --bubble-fail: #fff2f0; --bubble-fail-border: #ffccc7; --bubble-fail-fg: rgba(0, 0, 0, .88);
  --file-bg: #fafafa; --file-border: #f0f0f0;
  --summary-bg: var(--primary-soft); --summary-border: color-mix(in oklab, var(--primary) 22%, #ffffff); --summary-fg: rgba(0, 0, 0, .88);
  --sug-bg: #ffffff; --sug-border: #f0f0f0; --sug-hover: rgba(0, 0, 0, .04); --sug-fg: rgba(0, 0, 0, .88);
  --info-soft: var(--primary-soft); --info-fg: rgba(0, 0, 0, .88);
  --mark: #ffe58f; --star: #fadb14;

  --toast-bg: #ffffff; --toast-fg: rgba(0, 0, 0, .88); --toast-border: transparent; --toast-action: var(--primary);
  --skel-a: rgba(0, 0, 0, .06); --skel-b: rgba(0, 0, 0, .15); --skel-anim: aa-shimmer 1.4s ease infinite;
  --scrim: rgba(0, 0, 0, .45); --scroll-shadow: rgba(0, 0, 0, .08);
  --shadow-xs: 0 2px 0 rgba(0, 0, 0, .02);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .03), 0 1px 6px -1px rgba(0, 0, 0, .02), 0 2px 4px 0 rgba(0, 0, 0, .02);
  --shadow-md: 0 6px 16px 0 rgba(0, 0, 0, .08), 0 3px 6px -4px rgba(0, 0, 0, .12), 0 9px 28px 8px rgba(0, 0, 0, .05);
  --shadow-lg: 0 6px 16px 0 rgba(0, 0, 0, .08), 0 3px 6px -4px rgba(0, 0, 0, .12), 0 9px 28px 8px rgba(0, 0, 0, .05);
  --shadow-side: -6px 0 16px 0 rgba(0, 0, 0, .08), -3px 0 6px -4px rgba(0, 0, 0, .12), -9px 0 28px 8px rgba(0, 0, 0, .05);
  --avatar-bg: rgba(0, 0, 0, .25); --avatar-fg: #ffffff;

  /* radius 6 gives antd's own scale: SM 4, base 6, LG 8 */
  --btn-radius: var(--r-lg); --field-radius: var(--r-lg); --card-radius: calc(var(--radius) * 1.34); --menu-radius: calc(var(--radius) * 1.34);
  --item-radius: calc(var(--radius) * .67); --chip-radius: calc(var(--radius) * .67); --pill-radius: calc(var(--radius) * .67); --row-radius: 0px;
  --bubble-radius: calc(var(--radius) * 2); --panel-radius: calc(var(--radius) * 1.34);
  --weight-strong: 600; --weight-head: 600; --weight-active: 400; --tracking-head: 0;
  --side-bg: #ffffff; --side-fg: rgba(0, 0, 0, .88); --side-hover: rgba(0, 0, 0, .06); --side-hover-fg: rgba(0, 0, 0, .88);
  --side-active-bg: var(--primary-soft); --side-active-fg: var(--primary); --side-muted: rgba(0, 0, 0, .45);
  --side-border: #f0f0f0; --side-title: rgba(0, 0, 0, .88); --side-sub-bg: rgba(0, 0, 0, .02); --side-parent-fg: var(--primary);
  color-scheme: light;
}
[data-theme="antd"][data-mode="dark"] {
  --bg: #000000; --paper: #141414; --paper-2: #1d1d1d; --card: #141414; --elevated: #1f1f1f;
  --subtle: rgba(255, 255, 255, .08); --hover: rgba(255, 255, 255, .08); --active: var(--primary-soft);
  --fg: rgba(255, 255, 255, .85); --fg-2: rgba(255, 255, 255, .75); --fg-3: rgba(255, 255, 255, .65); --fg-muted: rgba(255, 255, 255, .45);
  --border: #303030; --border-strong: #424242; --input: #424242;

  --primary: #1668dc; --primary-hover: #3c89e8; --primary-fg: #ffffff;
  --primary-soft: #111a2c; --primary-soft-fg: #3c89e8; --ring-alpha: 55%;

  --danger: #dc4446; --danger-solid: #dc4446; --danger-soft: #2c1618; --danger-border: #5b2526;
  --warn: #d89614; --warn-soft: #2b2111; --warn-border: #594214;
  --ok: #49aa19; --ok-solid: #49aa19; --ok-soft: #162312; --ok-border: #274916;
  --snooze: #5273e0; --snooze-solid: #2b4acb; --snooze-soft: #131629; --snooze-border: #1c2755;
  --label: #854eca; --label-soft: #1a1325; --label-border: #301c4d;
  --sample: #d87a16; --sample-soft: #2b1d11; --sample-border: #593815;
  --unread: #dc4446; --unread-line: #5b2526; --draft: #e89a3c;
  --note-bg: #2b2111; --note-border: #594214; --note-fg: #d89614; --note-strong: #aa7714; --note-focus: #d89614; --note-soft: #2b2111;
  --fail-bg: #2b2111; --fail-border: #594214;

  --bubble-in: rgba(255, 255, 255, .08); --bubble-in-fg: rgba(255, 255, 255, .85);
  --bubble-out: var(--primary-soft); --bubble-out-fg: rgba(255, 255, 255, .85);
  --bubble-other: #162312; --bubble-other-fg: rgba(255, 255, 255, .85); --bubble-other-border: #274916;
  --bubble-fail: #2c1618; --bubble-fail-border: #5b2526; --bubble-fail-fg: rgba(255, 255, 255, .85);
  --file-bg: #1d1d1d; --file-border: #303030;
  --summary-bg: var(--primary-soft); --summary-border: #15325b; --summary-fg: rgba(255, 255, 255, .85);
  --sug-bg: #141414; --sug-border: #303030; --sug-hover: rgba(255, 255, 255, .08); --sug-fg: rgba(255, 255, 255, .85);
  --info-soft: var(--primary-soft); --info-fg: rgba(255, 255, 255, .85);
  --mark: rgba(250, 219, 20, .32); --star: #d8bd14;

  --toast-bg: #1f1f1f; --toast-fg: rgba(255, 255, 255, .85); --toast-border: transparent; --toast-action: #3c89e8;
  --skel-a: rgba(255, 255, 255, .08); --skel-b: rgba(255, 255, 255, .16);
  --scrim: rgba(0, 0, 0, .45); --scroll-shadow: rgba(0, 0, 0, .6);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .3), 0 1px 6px -1px rgba(0, 0, 0, .2);
  --shadow-md: 0 6px 16px 0 rgba(0, 0, 0, .32), 0 3px 6px -4px rgba(0, 0, 0, .48), 0 9px 28px 8px rgba(0, 0, 0, .2);
  --shadow-lg: 0 6px 16px 0 rgba(0, 0, 0, .32), 0 3px 6px -4px rgba(0, 0, 0, .48), 0 9px 28px 8px rgba(0, 0, 0, .2);
  --shadow-side: -6px 0 16px 0 rgba(0, 0, 0, .32), -9px 0 28px 8px rgba(0, 0, 0, .2);
  --avatar-bg: rgba(255, 255, 255, .25); --avatar-fg: #ffffff;
  --side-bg: #141414; --side-fg: rgba(255, 255, 255, .65); --side-hover: rgba(255, 255, 255, .08); --side-hover-fg: rgba(255, 255, 255, .85);
  --side-active-bg: var(--primary-soft); --side-active-fg: var(--primary-soft-fg); --side-muted: rgba(255, 255, 255, .45);
  --side-border: #303030; --side-title: rgba(255, 255, 255, .85); --side-sub-bg: rgba(255, 255, 255, .02); --side-parent-fg: var(--primary-soft-fg);
  color-scheme: dark;
}
/* the Ant Design Pro sider, in both modes: navy, selected item filled with the primary colour */
[data-theme="antd"][data-base="navy"] {
  --side-bg: #001529; --side-fg: rgba(255, 255, 255, .65); --side-hover: transparent; --side-hover-fg: #ffffff;
  --side-active-bg: var(--primary); --side-active-fg: #ffffff; --side-muted: rgba(255, 255, 255, .45);
  --side-border: transparent; --side-title: #ffffff; --side-sub-bg: #000c17; --side-parent-fg: #ffffff;
}

/* Ant Design keeps its own timing when motion is "Tinh tế": motionDurationFast/Mid/Slow on motionEaseInOut */
[data-theme="antd"][data-motion="subtle"] {
  --dur-1: 100ms; --dur-2: 200ms; --dur-3: 300ms;
  --ease-out: cubic-bezier(.645, .045, .355, 1); --ease-spring: cubic-bezier(.645, .045, .355, 1);
}

/* ── Ant Design component shapes (colours come from tokens) ── */
[data-theme="antd"]{--sec-transform:none;--sec-size:12px;--sec-weight:400;--sec-spacing:0}
/* Pro layout: white header with a soft shadow, sider on the side colour, content straight on the layout grey */
[data-theme="antd"] .top{border-bottom-color:transparent;box-shadow:0 1px 4px rgba(0,21,41,.08);z-index:6}
[data-theme="antd"][data-mode="dark"] .top{box-shadow:0 1px 0 var(--border)}
[data-theme="antd"] .rail{box-shadow:2px 0 8px 0 rgba(29,35,41,.05)}
[data-theme="antd"][data-layout="sidebar"] .app{background:var(--bg)}
[data-theme="antd"][data-layout="sidebar"] .rail{background:var(--side-bg);--sb-w:13rem;box-shadow:2px 0 8px 0 rgba(29,35,41,.05);z-index:7}
[data-theme="antd"][data-layout="sidebar"][data-sidebar="collapsed"] .rail{--sb-w:4rem}
[data-theme="antd"][data-layout="sidebar"] .main{margin:0;border-radius:0;box-shadow:none;background:var(--bg)}
[data-theme="antd"] .sb-head{padding:12px 12px 4px}
[data-theme="antd"] .sb-scroll{padding:0 4px}
[data-theme="antd"] .sb-item{height:40px;margin:2px 4px;padding:0 16px;border-radius:var(--card-radius)}
[data-theme="antd"] .sb-row .sb-item{padding-right:36px}
[data-theme="antd"] .sb-label{padding:0 16px}
[data-theme="antd"] .sb-sub{margin:0;padding:4px 0;border-left:0}
[data-theme="antd"] .sb-subitem{height:40px;margin:0 4px;width:calc(100% - 8px);padding-left:48px;border-radius:var(--card-radius);font-size:14px}
[data-theme="antd"] .sb-caret{right:12px}

[data-theme="antd"][data-sidebar="collapsed"] .sb-item{width:48px;margin:2px auto;padding:0;justify-content:center}
[data-theme="antd"][data-sidebar="collapsed"] .sb-team,[data-theme="antd"][data-sidebar="collapsed"] .sb-user{width:40px;height:40px;margin:0 auto}
[data-theme="antd"] .rail-btn .count{background:var(--danger-solid);color:#fff;box-shadow:0 0 0 1px var(--side-bg);font-weight:400}
/* Button: regular weight, 1px #d9d9d9 border, hover turns border and label blue; primary gets the 2px drop */
[data-theme="antd"] .btn{height:32px;padding:0 15px;border-color:var(--border-strong);font-size:14px;font-weight:400;color:var(--fg)}
[data-theme="antd"] .btn:hover{background:var(--paper);border-color:var(--primary-hover);color:var(--primary-hover)}
[data-theme="antd"] .btn.primary{color:var(--primary-fg);box-shadow:0 2px 0 color-mix(in oklab,var(--primary) 10%,transparent)}
[data-theme="antd"] .btn.primary:hover{background:var(--primary-hover);color:var(--primary-fg)}
[data-theme="antd"] .btn.icon{width:32px;padding:0}
[data-theme="antd"] .seg{box-shadow:var(--shadow-xs);border-color:var(--border-strong)}
[data-theme="antd"] .seg button+button{border-left-color:var(--border-strong)}
[data-theme="antd"] .sendgrp button,[data-theme="antd"] .tool,[data-theme="antd"] .ghost,[data-theme="antd"] .linkbtn,[data-theme="antd"] .sortbtn,[data-theme="antd"] .demo-btn{font-weight:400}
[data-theme="antd"] .sendgrp{box-shadow:0 2px 0 color-mix(in oklab,var(--primary) 10%,transparent)}
[data-theme="antd"] .ghost{border-color:var(--border-strong)}
[data-theme="antd"] .ghost:hover{background:var(--paper);border-color:var(--primary-hover);color:var(--primary-hover)}
[data-theme="antd"] .ghost.note:hover{color:var(--note-fg);border-color:var(--note-focus)}
[data-theme="antd"] .linkbtn:hover{background:transparent;color:var(--primary-hover)}
[data-theme="antd"] .linkbtn.red:hover{color:var(--danger-solid)}
[data-theme="antd"] .demo-btn{border-radius:var(--btn-radius);background:var(--paper);font-size:14px;color:var(--fg);border-color:var(--border-strong)}
[data-theme="antd"] .demo-btn:hover,[data-theme="antd"] .demo-btn.on{background:var(--paper);color:var(--primary-hover);border-color:var(--primary-hover)}
[data-theme="antd"] .tenant{height:32px;border-color:var(--border-strong);box-shadow:none;font-weight:400;font-size:14px}
[data-theme="antd"] .tenant:hover{background:var(--paper);border-color:var(--primary-hover)}
/* Input: 32px, hover border blue, focus border primary plus a 2px tinted glow */
[data-theme="antd"] .lsearch,[data-theme="antd"] .nav-search{height:32px;border-color:var(--border-strong);box-shadow:none}
[data-theme="antd"] .lsearch input,[data-theme="antd"] .nav-search input{font-size:14px}
[data-theme="antd"] .lsearch:hover,[data-theme="antd"] .nav-search:hover{border-color:var(--primary-hover)}
[data-theme="antd"] .lsearch:focus-within,[data-theme="antd"] .nav-search:focus-within,[data-theme="antd"] .composer:focus-within{border-color:var(--primary);box-shadow:0 0 0 2px color-mix(in oklab,var(--primary) 10%,transparent)}
[data-theme="antd"] .composer{border-color:var(--border-strong);box-shadow:none}
[data-theme="antd"] .composer:hover{border-color:var(--primary-hover)}
[data-theme="antd"] .gsearch{height:32px;background:var(--paper);border:1px solid var(--border-strong)}
[data-theme="antd"] .gsearch:hover{background:var(--paper);border-color:var(--primary-hover)}
/* Typography.Keyboard */
[data-theme="antd"] kbd{border:1px solid rgba(100,100,100,.2);border-bottom-width:2px;background:rgba(150,150,150,.06);border-radius:3px;padding:0 .4em;color:var(--fg-3)}
/* Tabs: line tabs, active label and ink bar in the primary colour, regular weight */
[data-theme="antd"] .tab,[data-theme="antd"] .ctx-tab{font-weight:400;font-size:14px;color:var(--fg)}
[data-theme="antd"] .tab:hover,[data-theme="antd"] .ctx-tab:hover{color:var(--primary-hover)}
[data-theme="antd"] .tab.on,[data-theme="antd"] .ctx-tab.on{color:var(--primary);border-bottom-color:var(--primary);text-shadow:0 0 .25px currentColor}
[data-theme="antd"] .composer.note .tab.on{color:var(--note-fg);border-bottom-color:var(--note-focus)}
[data-theme="antd"] .ctx-tabs{gap:16px;padding:4px 16px 0}
[data-theme="antd"] .ctx-tab{padding:0 2px}
/* Tag: bordered, 22px, preset colours; filters as small default buttons */
[data-theme="antd"] .pill{height:22px;padding:0 7px;font-size:12px;font-weight:400;border-color:var(--border-strong)}
[data-theme="antd"] .pill.grey,[data-theme="antd"] .pill.inbox{background:var(--paper-2);color:var(--fg)}
[data-theme="antd"] .pill.red{border-color:var(--danger-border)}
[data-theme="antd"] .pill.amber{border-color:var(--warn-border)}
[data-theme="antd"] .pill.green{border-color:var(--ok-border)}
[data-theme="antd"] .pill.snoozed{border-color:var(--snooze-border)}
[data-theme="antd"] .pill.label{border-color:var(--label-border)}
[data-theme="antd"] .pill.sample{border-color:var(--sample-border)}
[data-theme="antd"] .chip{height:24px;padding:0 7px;font-weight:400;font-size:13px;color:var(--fg);border-color:var(--border-strong)}
[data-theme="antd"] .chip:hover{background:var(--paper);border-color:var(--primary-hover);color:var(--primary-hover)}
[data-theme="antd"] .chip.on{background:var(--paper);border-color:var(--primary);color:var(--primary)}
[data-theme="antd"] .conn{border:1px solid transparent;border-radius:var(--pill-radius);font-weight:400}
[data-theme="antd"] .conn.ok{border-color:var(--ok-border)}
[data-theme="antd"] .conn.warn{border-color:var(--warn-border)}
[data-theme="antd"] .conn.bad{border-color:var(--danger-border)}
/* Badge: red count with a ring in the paper colour */
[data-theme="antd"] .unread-count,[data-theme="antd"] .badge{background:var(--danger-solid);color:#fff;min-width:20px;height:20px;line-height:20px;padding:0 6px;border-radius:10px;font-size:12px;font-weight:400;box-shadow:0 0 0 1px var(--paper)}
[data-theme="antd"] .conv.unread .conv-time{color:var(--fg-muted);font-weight:400}
/* List: full-width rows split by 1px lines; selected row like a selected table row */
[data-theme="antd"] .vrow{left:0;right:0;height:var(--row-h);margin-top:-4px}
[data-theme="antd"] .conv{border-radius:0;border-bottom:1px solid var(--border);padding:12px 16px}
[data-theme="antd"] .conv:hover{background:var(--paper-2)}
[data-theme="antd"] .conv.on{background:var(--active)}
[data-theme="antd"] .skel-row{padding:12px 16px}
[data-theme="antd"][data-density="compact"] .conv,[data-theme="antd"][data-density="compact"] .skel-row{padding:8px 16px}
/* Avatar: grey disc, white glyph */
[data-theme="antd"] .avatar{background:var(--avatar-bg);color:var(--avatar-fg)}
/* Menu */
[data-theme="antd"] .nav-row{height:40px;border-radius:var(--card-radius);font-weight:400}
[data-theme="antd"] .nav-row.sm{height:36px}
[data-theme="antd"] .nav-row:hover{background:rgba(0,0,0,.06)}
[data-theme="antd"][data-mode="dark"] .nav-row:hover{background:rgba(255,255,255,.08)}
[data-theme="antd"] .nav-row.on{color:var(--primary);background:var(--active)}
[data-theme="antd"] .nav-row.on .num{color:var(--primary)}
/* Breadcrumb: slash separators */
[data-theme="antd"] .crumb .crumb-sep svg{display:none}
[data-theme="antd"] .crumb .crumb-sep::before{content:"/";padding:0 2px;color:var(--fg-muted)}
[data-theme="antd"] .crumb .cur{font-weight:400}
/* Card, Table, Alert, Empty */
[data-theme="antd"] .card,[data-theme="antd"] .trow,[data-theme="antd"] .kpi,[data-theme="antd"] .pcard,[data-theme="antd"] .tbl-wrap{box-shadow:none}
[data-theme="antd"] .kpi:hover,[data-theme="antd"] .pcard:hover{box-shadow:0 1px 2px -2px rgba(0,0,0,.16),0 3px 6px 0 rgba(0,0,0,.12),0 5px 12px 4px rgba(0,0,0,.09)}
[data-theme="antd"][data-mode="dark"] .kpi:hover,[data-theme="antd"][data-mode="dark"] .pcard:hover{box-shadow:none;border-color:var(--border-strong)}
[data-theme="antd"] .kpi .v{font-weight:400;font-size:24px}
[data-theme="antd"] .tbl th{font-size:14px;font-weight:600;color:var(--fg);padding:16px}
[data-theme="antd"] .tbl td{font-size:14px;padding:16px}
[data-theme="antd"] .tbl tbody tr:hover td{background:var(--paper-2)}
[data-theme="antd"] .summary .ic{color:var(--primary)}
[data-theme="antd"] .state .ico{background:transparent;color:var(--fg-muted)}
[data-theme="antd"] .sugs .lead{color:var(--fg-muted)}
[data-theme="antd"] .sug{border-radius:var(--card-radius);height:30px}
/* Dropdown: borderless, 8px, 32px items */
[data-theme="antd"] .pop{padding:4px;border:0}
[data-theme="antd"] .pop button{height:32px;padding:5px 12px;font-size:14px}
[data-theme="antd"] .pop button .ic{color:var(--fg)}
[data-theme="antd"] .macros{border:0}
/* message: top centre, white card, info icon, slides down from the top */
[data-theme="antd"] .toast{top:16px;bottom:auto;padding:9px 12px;gap:8px;font-size:14px;border:0;border-radius:var(--card-radius);box-shadow:var(--shadow-md);animation:ad-move-down var(--dur-3) var(--ease-out)}
[data-theme="antd"] .toast::before{content:"";width:16px;height:16px;flex:none;border-radius:999px;background:radial-gradient(circle at 50% 28%,#fff 0 1.15px,transparent 1.35px),linear-gradient(#fff,#fff) 50% 72%/1.7px 5.2px no-repeat,var(--primary)}
[data-theme="antd"] .toast button{color:var(--primary);font-weight:400}
[data-theme="antd"] .palette{border:0}
/* motion: dropdowns slide up from their edge, modals zoom, buttons ripple a wave when clicked */
[data-theme="antd"] .pop{animation:ad-slide-up var(--dur-2) cubic-bezier(.23,1,.32,1);transform-origin:top center}
[data-theme="antd"] .palette{animation:ad-zoom var(--dur-3) cubic-bezier(.08,.82,.17,1)}
[data-theme="antd"] .waving{animation:ad-wave .5s cubic-bezier(.08,.82,.17,1)}
@keyframes ad-slide-up{from{opacity:0;transform:scaleY(.8)}}
@keyframes ad-zoom{from{opacity:0;transform:scale(.2)}}
@keyframes ad-move-down{from{opacity:0;transform:translateY(-100%)}}
@keyframes ad-wave{from{box-shadow:0 0 0 0 color-mix(in oklab,var(--primary) 45%,transparent)}to{box-shadow:0 0 0 6px color-mix(in oklab,var(--primary) 0%,transparent)}}

@media (max-width:767px){
  [data-theme="antd"] .toast{top:8px}
}
