:root{overflow-wrap:break-word;text-size-adjust:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--tt-gray-light-a-50: rgba(56, 56, 56, .04);--tt-gray-light-a-100: rgba(15, 22, 36, .05);--tt-gray-light-a-200: rgba(37, 39, 45, .1);--tt-gray-light-a-300: rgba(47, 50, 55, .2);--tt-gray-light-a-400: rgba(40, 44, 51, .42);--tt-gray-light-a-500: rgba(52, 55, 60, .64);--tt-gray-light-a-600: rgba(36, 39, 46, .78);--tt-gray-light-a-700: rgba(35, 37, 42, .87);--tt-gray-light-a-800: rgba(30, 32, 36, .95);--tt-gray-light-a-900: rgba(29, 30, 32, .98);--tt-gray-light-50: rgba(250, 250, 250, 1);--tt-gray-light-100: rgba(244, 244, 245, 1);--tt-gray-light-200: rgba(234, 234, 235, 1);--tt-gray-light-300: rgba(213, 214, 215, 1);--tt-gray-light-400: rgba(166, 167, 171, 1);--tt-gray-light-500: rgba(125, 127, 130, 1);--tt-gray-light-600: rgba(83, 86, 90, 1);--tt-gray-light-700: rgba(64, 65, 69, 1);--tt-gray-light-800: rgba(44, 45, 48, 1);--tt-gray-light-900: rgba(34, 35, 37, 1);--tt-gray-dark-a-50: rgba(232, 232, 253, .05);--tt-gray-dark-a-100: rgba(231, 231, 243, .07);--tt-gray-dark-a-200: rgba(238, 238, 246, .11);--tt-gray-dark-a-300: rgba(239, 239, 245, .22);--tt-gray-dark-a-400: rgba(244, 244, 255, .37);--tt-gray-dark-a-500: rgba(236, 238, 253, .5);--tt-gray-dark-a-600: rgba(247, 247, 253, .64);--tt-gray-dark-a-700: rgba(251, 251, 254, .75);--tt-gray-dark-a-800: rgba(253, 253, 253, .88);--tt-gray-dark-a-900: rgba(255, 255, 255, .96);--tt-gray-dark-50: rgba(25, 25, 26, 1);--tt-gray-dark-100: rgba(32, 32, 34, 1);--tt-gray-dark-200: rgba(45, 45, 47, 1);--tt-gray-dark-300: rgba(70, 70, 73, 1);--tt-gray-dark-400: rgba(99, 99, 105, 1);--tt-gray-dark-500: rgba(124, 124, 131, 1);--tt-gray-dark-600: rgba(163, 163, 168, 1);--tt-gray-dark-700: rgba(192, 192, 195, 1);--tt-gray-dark-800: rgba(224, 224, 225, 1);--tt-gray-dark-900: rgba(245, 245, 245, 1);--tt-brand-color-50: rgba(239, 238, 255, 1);--tt-brand-color-100: rgba(222, 219, 255, 1);--tt-brand-color-200: rgba(195, 189, 255, 1);--tt-brand-color-300: rgba(157, 138, 255, 1);--tt-brand-color-400: rgba(122, 82, 255, 1);--tt-brand-color-500: rgba(98, 41, 255, 1);--tt-brand-color-600: rgba(84, 0, 229, 1);--tt-brand-color-700: rgba(75, 0, 204, 1);--tt-brand-color-800: rgba(56, 0, 153, 1);--tt-brand-color-900: rgba(43, 25, 102, 1);--tt-brand-color-950: hsla(257, 100%, 9%, 1);--tt-color-green-inc-5: hsla(129, 100%, 97%, 1);--tt-color-green-inc-4: hsla(129, 100%, 92%, 1);--tt-color-green-inc-3: hsla(131, 100%, 86%, 1);--tt-color-green-inc-2: hsla(133, 98%, 78%, 1);--tt-color-green-inc-1: hsla(137, 99%, 70%, 1);--tt-color-green-base: hsla(147, 99%, 50%, 1);--tt-color-green-dec-1: hsla(147, 97%, 41%, 1);--tt-color-green-dec-2: hsla(146, 98%, 32%, 1);--tt-color-green-dec-3: hsla(146, 100%, 24%, 1);--tt-color-green-dec-4: hsla(144, 100%, 16%, 1);--tt-color-green-dec-5: hsla(140, 100%, 9%, 1);--tt-color-yellow-inc-5: hsla(50, 100%, 97%, 1);--tt-color-yellow-inc-4: hsla(50, 100%, 91%, 1);--tt-color-yellow-inc-3: hsla(50, 100%, 84%, 1);--tt-color-yellow-inc-2: hsla(50, 100%, 77%, 1);--tt-color-yellow-inc-1: hsla(50, 100%, 68%, 1);--tt-color-yellow-base: hsla(52, 100%, 50%, 1);--tt-color-yellow-dec-1: hsla(52, 100%, 41%, 1);--tt-color-yellow-dec-2: hsla(52, 100%, 32%, 1);--tt-color-yellow-dec-3: hsla(52, 100%, 24%, 1);--tt-color-yellow-dec-4: hsla(51, 100%, 16%, 1);--tt-color-yellow-dec-5: hsla(50, 100%, 9%, 1);--tt-color-red-inc-5: hsla(11, 100%, 96%, 1);--tt-color-red-inc-4: hsla(11, 100%, 88%, 1);--tt-color-red-inc-3: hsla(10, 100%, 80%, 1);--tt-color-red-inc-2: hsla(9, 100%, 73%, 1);--tt-color-red-inc-1: hsla(7, 100%, 64%, 1);--tt-color-red-base: hsla(7, 100%, 54%, 1);--tt-color-red-dec-1: hsla(7, 100%, 41%, 1);--tt-color-red-dec-2: hsla(5, 100%, 32%, 1);--tt-color-red-dec-3: hsla(4, 100%, 24%, 1);--tt-color-red-dec-4: hsla(3, 100%, 16%, 1);--tt-color-red-dec-5: hsla(1, 100%, 9%, 1);--white: rgba(255, 255, 255, 1);--black: rgba(14, 14, 17, 1);--transparent: rgba(255, 255, 255, 0);--tt-shadow-elevated-md: 0px 16px 48px 0px rgba(17, 24, 39, .04), 0px 12px 24px 0px rgba(17, 24, 39, .04), 0px 6px 8px 0px rgba(17, 24, 39, .02), 0px 2px 3px 0px rgba(17, 24, 39, .02);--tt-radius-xxs: .125rem;--tt-radius-xs: .25rem;--tt-radius-sm: .375rem;--tt-radius-md: .5rem;--tt-radius-lg: .75rem;--tt-radius-xl: 1rem;--tt-transition-duration-short: .1s;--tt-transition-duration-default: .2s;--tt-transition-duration-long: .64s;--tt-transition-easing-default: cubic-bezier(.46, .03, .52, .96);--tt-transition-easing-cubic: cubic-bezier(.65, .05, .36, 1);--tt-transition-easing-quart: cubic-bezier(.77, 0, .18, 1);--tt-transition-easing-circ: cubic-bezier(.79, .14, .15, .86);--tt-transition-easing-back: cubic-bezier(.68, -.55, .27, 1.55);--tt-accent-contrast: 8%;--tt-destructive-contrast: 8%;--tt-foreground-contrast: 8%}:root,:root *,:root :before,:root :after{box-sizing:border-box;transition:none var(--tt-transition-duration-default) var(--tt-transition-easing-default)}:root{--tt-bg-color: var(--white);--tt-border-color: var(--tt-gray-light-a-200);--tt-border-color-tint: var(--tt-gray-light-a-100);--tt-sidebar-bg-color: var(--tt-gray-light-100);--tt-scrollbar-color: var(--tt-gray-light-a-200);--tt-cursor-color: var(--tt-brand-color-500);--tt-selection-color: rgba(157, 138, 255, .2);--tt-card-bg-color: var(--white);--tt-card-border-color: var(--tt-gray-light-a-100)}.dark{--tt-bg-color: var(--black);--tt-border-color: var(--tt-gray-dark-a-200);--tt-border-color-tint: var(--tt-gray-dark-a-100);--tt-sidebar-bg-color: var(--tt-gray-dark-100);--tt-scrollbar-color: var(--tt-gray-dark-a-200);--tt-cursor-color: var(--tt-brand-color-400);--tt-selection-color: rgba(122, 82, 255, .2);--tt-card-bg-color: var(--tt-gray-dark-50);--tt-card-border-color: var(--tt-gray-dark-a-50);--tt-shadow-elevated-md: 0px 16px 48px 0px rgba(0, 0, 0, .5), 0px 12px 24px 0px rgba(0, 0, 0, .24), 0px 6px 8px 0px rgba(0, 0, 0, .22), 0px 2px 3px 0px rgba(0, 0, 0, .12)}:root{--tt-color-text-gray: hsl(45, 2%, 46%);--tt-color-text-brown: hsl(19, 31%, 47%);--tt-color-text-orange: hsl(30, 89%, 45%);--tt-color-text-yellow: hsl(38, 62%, 49%);--tt-color-text-green: hsl(148, 32%, 39%);--tt-color-text-blue: hsl(202, 54%, 43%);--tt-color-text-purple: hsl(274, 32%, 54%);--tt-color-text-pink: hsl(328, 49%, 53%);--tt-color-text-red: hsl(2, 62%, 55%);--tt-color-text-gray-contrast: hsla(39, 26%, 26%, .15);--tt-color-text-brown-contrast: hsla(18, 43%, 69%, .35);--tt-color-text-orange-contrast: hsla(24, 73%, 55%, .27);--tt-color-text-yellow-contrast: hsla(44, 82%, 59%, .39);--tt-color-text-green-contrast: hsla(126, 29%, 60%, .27);--tt-color-text-blue-contrast: hsla(202, 54%, 59%, .27);--tt-color-text-purple-contrast: hsla(274, 37%, 64%, .27);--tt-color-text-pink-contrast: hsla(331, 60%, 71%, .27);--tt-color-text-red-contrast: hsla(8, 79%, 79%, .4)}.dark{--tt-color-text-gray: hsl(0, 0%, 61%);--tt-color-text-brown: hsl(18, 35%, 58%);--tt-color-text-orange: hsl(25, 53%, 53%);--tt-color-text-yellow: hsl(36, 54%, 55%);--tt-color-text-green: hsl(145, 32%, 47%);--tt-color-text-blue: hsl(202, 64%, 52%);--tt-color-text-purple: hsl(270, 55%, 62%);--tt-color-text-pink: hsl(329, 57%, 58%);--tt-color-text-red: hsl(1, 69%, 60%);--tt-color-text-gray-contrast: hsla(0, 0%, 100%, .09);--tt-color-text-brown-contrast: hsla(17, 45%, 50%, .25);--tt-color-text-orange-contrast: hsla(27, 82%, 53%, .2);--tt-color-text-yellow-contrast: hsla(35, 49%, 47%, .2);--tt-color-text-green-contrast: hsla(151, 55%, 39%, .2);--tt-color-text-blue-contrast: hsla(202, 54%, 43%, .2);--tt-color-text-purple-contrast: hsla(271, 56%, 60%, .18);--tt-color-text-pink-contrast: hsla(331, 67%, 58%, .22);--tt-color-text-red-contrast: hsla(0, 67%, 60%, .25)}:root{--tt-color-highlight-yellow: #fef9c3;--tt-color-highlight-green: #dcfce7;--tt-color-highlight-blue: #e0f2fe;--tt-color-highlight-purple: #f3e8ff;--tt-color-highlight-red: #ffe4e6;--tt-color-highlight-gray: rgb(248, 248, 247);--tt-color-highlight-brown: rgb(244, 238, 238);--tt-color-highlight-orange: rgb(251, 236, 221);--tt-color-highlight-pink: rgb(252, 241, 246);--tt-color-highlight-yellow-contrast: #fbe604;--tt-color-highlight-green-contrast: #c7fad8;--tt-color-highlight-blue-contrast: #ceeafd;--tt-color-highlight-purple-contrast: #e4ccff;--tt-color-highlight-red-contrast: #ffccd0;--tt-color-highlight-gray-contrast: rgba(84, 72, 49, .15);--tt-color-highlight-brown-contrast: rgba(210, 162, 141, .35);--tt-color-highlight-orange-contrast: rgba(224, 124, 57, .27);--tt-color-highlight-pink-contrast: rgba(225, 136, 179, .27)}.dark{--tt-color-highlight-yellow: #6b6524;--tt-color-highlight-green: #509568;--tt-color-highlight-blue: #6e92aa;--tt-color-highlight-purple: #583e74;--tt-color-highlight-red: #743e42;--tt-color-highlight-gray: rgb(47, 47, 47);--tt-color-highlight-brown: rgb(74, 50, 40);--tt-color-highlight-orange: rgb(92, 59, 35);--tt-color-highlight-pink: rgb(78, 44, 60);--tt-color-highlight-yellow-contrast: #58531e;--tt-color-highlight-green-contrast: #47855d;--tt-color-highlight-blue-contrast: #5e86a1;--tt-color-highlight-purple-contrast: #4c3564;--tt-color-highlight-red-contrast: #643539;--tt-color-highlight-gray-contrast: rgba(255, 255, 255, .094);--tt-color-highlight-brown-contrast: rgba(184, 101, 69, .25);--tt-color-highlight-orange-contrast: rgba(233, 126, 37, .2);--tt-color-highlight-pink-contrast: rgba(220, 76, 145, .22)}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}@keyframes zoomIn{0%{transform:scale(.95)}to{transform:scale(1)}}@keyframes zoomOut{0%{transform:scale(1)}to{transform:scale(.95)}}@keyframes zoom{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes slideFromTop{0%{transform:translateY(-.5rem)}to{transform:translateY(0)}}@keyframes slideFromRight{0%{transform:translate(.5rem)}to{transform:translate(0)}}@keyframes slideFromLeft{0%{transform:translate(-.5rem)}to{transform:translate(0)}}@keyframes slideFromBottom{0%{transform:translateY(.5rem)}to{transform:translateY(0)}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:root{font-family:PingFang SC,Microsoft YaHei,sans-serif;color:#0f172a;background:#f1f5f9;--app-shell-bg: #f4f6f7;--app-sider-bg: #f4f6f7;--app-sider-border: rgba(82, 96, 109, .16);--app-sider-text: #1f2933;--app-sider-text-muted: #52606d;--app-sider-active-bg: rgba(120, 130, 140, .16);--app-sider-active-text: #364152;--app-sider-badge-bg: rgba(22, 119, 255, .12);--app-sider-badge-text: #1677ff;--radius-none: 0px;--radius-sm: 4px;--radius-md: 6px;--radius-lg: 8px;--radius-xl: 12px;--radius-card: var(--radius-lg);--radius-control: var(--radius-sm);--radius-panel: var(--radius-md);--radius-container: var(--radius-lg);--radius-pill: 999px;--status-online-bg: #f0fdf4;--status-online-border: #bbf7d0;--status-online-text: #166534;--status-offline-bg: #f8fafc;--status-offline-border: #cbd5e1;--status-offline-text: #64748b;--status-unknown-bg: #fffbeb;--status-unknown-border: #fde68a;--status-unknown-text: #78350f;--status-alert-bg: #fff1f2;--status-alert-border: #fecdd3;--status-alert-text: #991b1b;--status-abnormal-bg: #fff1f2;--status-abnormal-border: #fecdd3;--status-abnormal-title: #1e293b;--status-abnormal-meta: #475569}*{box-sizing:border-box}html,body,#root{margin:0;min-height:100%;height:100%}html,body{-ms-overflow-style:none;scrollbar-width:none}html::-webkit-scrollbar,body::-webkit-scrollbar{display:none}.route-transition-shell{min-height:100%;position:relative;z-index:2;width:calc(100% + 12px);margin-left:-12px;padding-left:12px;overflow:hidden}.route-transition-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;pointer-events:none;overflow:hidden}.route-transition-live,.route-transition-ghost{will-change:opacity,transform;transform:translateZ(0);backface-visibility:hidden}.route-transition-live{position:relative;z-index:1}.app-layout{min-height:100vh;background:var(--app-shell-bg)}.app-layout:not(.app-layout-mobile){height:100vh;overflow:hidden}.app-layout:not(.app-layout-mobile)>.ant-layout{min-height:0}.app-sider{position:relative;z-index:4;height:100vh;border-right:1px solid var(--app-sider-border);background:var(--app-sider-bg);box-shadow:16px 0 32px -28px #0f172a6b;overflow:hidden}.app-sider .ant-layout-sider-children{display:flex;flex-direction:column;min-height:0}.app-sider .ant-layout-sider-children,.app-sider .ant-menu{background:transparent;color:var(--app-sider-text)}.app-sider .ant-menu{flex:1 1 auto;min-height:0;overflow-y:auto}.app-sider .ant-menu-light.ant-menu-root.ant-menu-inline,.app-sider .ant-menu-light.ant-menu-root.ant-menu-vertical,.app-sider .ant-menu-light>.ant-menu.ant-menu-root.ant-menu-inline,.app-sider .ant-menu-light>.ant-menu.ant-menu-root.ant-menu-vertical{border-inline-end:0}.app-sider .ant-menu-item-group-title{height:auto;padding:14px 16px 6px;font-size:12px;line-height:16px;font-weight:700}.menu-group-title{display:inline-flex;align-items:center;color:#8793a0}.app-sider .ant-menu-inline-collapsed .ant-menu-item-group-title{display:none}.brand{height:64px;padding:0 16px;color:var(--app-sider-text);display:flex;align-items:center;gap:12px}.brand.collapsed{justify-content:center;padding:0 12px}.brand.collapsed .sider-toggle-btn{margin-left:0}.brand-label{min-width:0;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:17px;line-height:1;font-weight:600;letter-spacing:.01em}.sider-toggle-btn{margin-left:auto;flex:0 0 auto;width:32px;height:32px;padding:0;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;color:var(--app-sider-text-muted);transition:all .2s cubic-bezier(.4,0,.2,1)}.sider-toggle-btn.ant-btn-text:not(:disabled):hover,.sider-toggle-btn.ant-btn-text:not(:disabled):focus-visible{color:var(--app-sider-active-text);background:#78828c1f}.app-sider .ant-menu-submenu-title{font-weight:600;transition:box-shadow .18s ease,color .18s ease}.app-sider .ant-menu-light .ant-menu-item-selected,.app-sider .ant-menu-light .ant-menu-submenu-selected>.ant-menu-submenu-title{color:var(--app-sider-active-text);font-weight:700;box-shadow:inset 3px 0 0 var(--app-sider-active-text)}.app-sider .ant-menu-light .ant-menu-submenu-open>.ant-menu-submenu-title{color:inherit}.app-sider .ant-menu-light .ant-menu-item,.app-sider .ant-menu-light .ant-menu-submenu-title{border-radius:0 4px 4px 0;transition:box-shadow .18s ease,color .18s ease}.app-sider .ant-menu-light .ant-menu-item:hover,.app-sider .ant-menu-light .ant-menu-submenu-title:hover{box-shadow:inset 3px 0 0 var(--app-sider-active-text)}.app-sider .ant-menu-light .ant-menu-item .ant-menu-item-icon,.app-sider .ant-menu-light .ant-menu-submenu-title .ant-menu-item-icon,.app-sider .ant-menu-light .ant-menu-submenu-title .ant-menu-submenu-arrow{color:inherit;transition:color .2s ease}.ant-menu-inline-collapsed-tooltip{--antd-arrow-background-color: transparent}.ant-menu-inline-collapsed-tooltip .ant-tooltip-arrow{display:none}.ant-menu-inline-collapsed-tooltip .ant-tooltip-content{padding-inline:6px}.ant-menu-inline-collapsed-tooltip .ant-tooltip-inner{min-height:36px;padding:8px 12px;background:var(--app-sider-bg);color:var(--app-sider-text);border:1px solid var(--app-sider-border);border-radius:8px;box-shadow:0 10px 24px -22px #0f172a5c;font-size:14px;line-height:20px;font-weight:500}.menu-label-with-count{width:100%;display:inline-flex;align-items:center;justify-content:space-between;gap:8px}.menu-count-badge{min-width:18px;padding:0 6px;height:18px;line-height:18px;border-radius:var(--radius-pill);background:var(--app-sider-badge-bg);color:var(--app-sider-badge-text);font-size:11px;font-weight:600;text-align:center}.app-header{background:#fff;border-bottom:1px solid rgba(148,163,184,.16);box-shadow:0 8px 20px -20px #0f172a3d;display:flex;align-items:center;height:auto;min-height:64px;line-height:1;padding:0 20px;justify-content:space-between;transition:min-height .22s cubic-bezier(.2,.8,.2,1),padding-top .22s cubic-bezier(.2,.8,.2,1),padding-bottom .22s cubic-bezier(.2,.8,.2,1),border-color .18s ease,box-shadow .18s ease}.app-header--scrolled{border-bottom:1px solid rgba(148,163,184,.24);box-shadow:0 12px 24px -20px #0f172a47,0 1px #94a3b829}.app-header--admin{min-height:64px;padding-top:0;padding-bottom:0;align-items:center;animation:none}.app-header-main{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0}.app-header-subnav{min-width:0}.app-header-main--admin{width:100%;min-height:64px;gap:24px}.app-header-admin-row{display:flex;align-items:center;justify-content:space-between;width:100%;flex:1 1 auto;gap:24px;min-width:0}.app-header--admin .app-header-subnav{animation:admin-subnav-enter .22s cubic-bezier(.2,.8,.2,1);transform-origin:top left}@keyframes admin-subnav-enter{0%{opacity:0;transform:translate3d(0,-6px,0)}to{opacity:1;transform:translateZ(0)}}.header-left{display:flex;align-items:center;gap:12px;min-width:0}.header-left--admin{flex:1 1 auto;align-items:stretch;gap:28px}.header-page-title{font-size:16px;font-weight:700;color:#0f172a;white-space:nowrap;display:inline-flex;align-items:center;height:64px}.app-content{position:relative;z-index:1;min-height:0;padding:12px 12px 16px}.app-layout:not(.app-layout-mobile) .app-content{overflow-y:auto}.app-layout-mobile{--mobile-app-header-height: calc(60px + env(safe-area-inset-top, 0px)) ;min-height:100dvh;--radius-control: var(--radius-sm);--radius-panel: var(--radius-lg);--radius-card: var(--radius-xl);--radius-container: var(--radius-xl);background:#f5f7fb}.app-content-mobile{padding:calc(var(--mobile-app-header-height) + 14px) 12px calc(94px + env(safe-area-inset-bottom,0px)) 12px}.mobile-header{min-height:var(--mobile-app-header-height);height:var(--mobile-app-header-height);padding:calc(10px + env(safe-area-inset-top,0px)) 12px 10px;border-bottom:2px solid rgba(148,163,184,.28);background:#fffffff5;box-shadow:0 10px 22px -20px #0f172a80;position:fixed;top:0;left:0;right:0;z-index:30;display:block}.mobile-header-inner{display:block}.mobile-header-row{--mobile-header-left-width: 40px;--mobile-header-title-gap: 20px;display:grid;grid-template-columns:var(--mobile-header-left-width) minmax(0,1fr) 40px;gap:6px;align-items:center;min-height:38px;position:relative}.mobile-header-row--slot{height:100%}.mobile-header-slot-content{grid-column:2;min-width:0;height:100%}.mobile-header-spacer{display:block;width:var(--mobile-header-left-width);height:36px;grid-column:1}.mobile-header-btn{height:36px;width:36px;padding:0;border-radius:var(--radius-sm);color:#334155;grid-column:3;justify-self:end}.mobile-header-btn.ant-btn-text:not(:disabled):hover,.mobile-header-btn.ant-btn-text:not(:disabled):focus-visible{background:#94a3b824;color:#0f172a}.mobile-header-title{min-width:0;text-align:center;font-size:15px;font-weight:700;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-header-title-inline{position:absolute;left:50%;transform:translate(-50%);min-width:0;max-width:max(0px,calc(100% - var(--mobile-header-left-width) - 56px - var(--mobile-header-title-gap)));text-align:center;font-size:14px;font-weight:800;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none}.mobile-header-domain-dropdown{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:auto;min-width:0;max-width:calc(100% - (max(var(--mobile-header-left-width),40px)*2) - 12px);display:inline-flex;align-items:center;justify-content:center;gap:4px;height:34px;padding:0 10px;border-radius:var(--radius-sm)}.mobile-header-domain-dropdown.ant-btn-text:not(:disabled):hover,.mobile-header-domain-dropdown.ant-btn-text:not(:disabled):focus-visible{background:#94a3b824}.mobile-header-domain-dropdown-label{min-width:0;max-width:100%;font-size:14px;font-weight:800;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-header-domain-dropdown-arrow{color:#64748b;font-size:12px;line-height:1}.mobile-header-tools{margin-bottom:0}.mobile-header-hotel-filter{width:100%}.mobile-header-row-with-filter{--mobile-header-left-width: 138px;--mobile-header-title-gap: 24px}.mobile-header-row-with-filter .mobile-header-left-filter{width:var(--mobile-header-left-width);min-width:0;flex:0 0 auto;grid-column:1}.mobile-header-row-with-filter .mobile-header-left-filter .ant-select-selector{border-radius:var(--radius-sm)!important}@media(max-width:380px){.mobile-header-row-with-filter{--mobile-header-left-width: 124px;--mobile-header-title-gap: 20px}}.mobile-filter-collapse{border:1px solid rgba(148,163,184,.2);border-radius:var(--radius-card);overflow:hidden;background:#fff;box-shadow:0 6px 14px -16px #0f172a73}.mobile-filter-collapse .ant-collapse-header{font-weight:600;color:#334155}.mobile-filter-collapse .ant-collapse-content{transform-origin:top;transition:opacity .2s ease,transform .2s ease}.mobile-filter-collapse .ant-collapse-content.ant-collapse-content-hidden{opacity:0;transform:translateY(-4px)}.mobile-filter-collapse .ant-collapse-content:not(.ant-collapse-content-hidden){opacity:1;transform:translateY(0)}.route-transition-shell-mobile{width:100%;margin-left:0;padding-left:0}.app-layout-mobile .route-transition-overlay{display:none}.mobile-bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:40;height:calc(76px + env(safe-area-inset-bottom,0px));padding:7px 0 calc(env(safe-area-inset-bottom,0px) + 7px);border-top:1px solid rgba(148,163,184,.2);background:#fffffffa;box-shadow:0 -8px 18px -18px #0f172a6b;display:flex;align-items:stretch;justify-content:space-evenly;gap:0}.mobile-bottom-nav-item{flex:0 0 clamp(60px,18.5vw,78px);border:0;background:transparent;color:#475569;font-size:12px;font-weight:600;border:1px solid transparent;border-radius:var(--radius-xl);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:60px;min-width:0;padding:9px 3px 7px;transition:background-color .16s ease,color .16s ease,border-color .16s ease,transform .12s ease;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(22,119,255,.16)}.mobile-bottom-nav-item.active{color:#155eef;border-color:#2563eb38;background:#dbeafe94;box-shadow:none}.mobile-bottom-nav-item-more{border-left:0}.mobile-bottom-nav-item:active{background:#94a3b829;transform:scale(.98)}@media(hover:hover){.mobile-bottom-nav-item:hover{background:#0f172a0d}}.mobile-bottom-nav-icon{font-size:20px;line-height:1;transform:translateY(1px);opacity:.88;transition:transform .16s ease,opacity .16s ease}.mobile-bottom-nav-label{font-size:11.5px;line-height:1.1;transform:translateY(1px);opacity:.86;transition:transform .16s ease,opacity .16s ease}.mobile-bottom-nav-item.active .mobile-bottom-nav-icon{transform:translateY(-1px);opacity:1}.mobile-bottom-nav-item.active .mobile-bottom-nav-label{transform:translateY(0);opacity:1}.mobile-more-drawer .ant-drawer-body{padding:12px 10px calc(12px + env(safe-area-inset-bottom,0px));background:#f8fafc}.mobile-more-drawer .ant-drawer-header{border-bottom:1px solid rgba(148,163,184,.2);background:#fff}.mobile-platform-picker-popover{z-index:60}.mobile-platform-picker-popover .ant-popover-inner{padding:8px;border-radius:var(--radius-lg);border:1px solid rgba(148,163,184,.2);background:#fff;box-shadow:0 14px 28px -24px #0f172a73}.mobile-platform-picker-list{display:grid;gap:6px;min-width:176px}.mobile-platform-picker-item{width:100%;border:1px solid rgba(148,163,184,.28);border-radius:var(--radius-md);background:#fff;color:#1e293b;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 10px;font-size:13px;font-weight:600}.mobile-platform-picker-item.active{border-color:#155eef59;background:#eff6ff;color:#155eef}.mobile-platform-picker-item-main{display:inline-flex;align-items:center;gap:8px}.mobile-platform-picker-item-icon{display:inline-flex;align-items:center;justify-content:center;width:18px}.mobile-platform-picker-item-label{line-height:1.2}.mobile-record-detail-drawer .ant-drawer-header{border-bottom:1px solid rgba(148,163,184,.2);background:#fff}.mobile-record-detail-drawer .ant-drawer-body{padding:12px 12px calc(14px + env(safe-area-inset-bottom,0px));background:#f8fafc}.mobile-record-detail-drawer .ant-descriptions-item-label{width:92px;color:#64748b}.mobile-more-extra{margin-top:12px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.mobile-more-shortcuts{margin-top:12px;display:flex;flex-wrap:wrap;gap:8px}.home-platform-grid{display:grid;gap:12px;grid-template-columns:repeat(3,minmax(0,1fr))}.home-platform-grid-mobile{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.home-platform-stat{position:relative;overflow:hidden;border:1px solid rgba(148,163,184,.26);background:#fff;border-radius:var(--radius-lg);box-shadow:0 10px 20px -24px #0f172a7a;padding:11px 10px;display:grid;gap:8px}.home-platform-stat:after{content:"";position:absolute;top:-22%;right:-22%;bottom:-22%;left:-22%;background:radial-gradient(circle at center,rgba(37,99,235,.08) 0%,rgba(37,99,235,.03) 42%,transparent 70%);opacity:0;transform:scale(.58);pointer-events:none}.home-platform-stat.clickable{cursor:pointer;transition:border-color .16s ease,box-shadow .16s ease,transform .12s ease}.home-platform-stat.clickable:focus-visible{outline:2px solid rgba(37,99,235,.4);outline-offset:2px}.home-platform-stat.readonly{opacity:.84}@media(hover:hover){.home-platform-stat.clickable:hover{border-color:#2563eb47;box-shadow:0 14px 24px -24px #1e40af80;transform:translateY(-1px)}}.home-platform-stat.clickable:active{transform:translateY(0)}.home-platform-stat.is-clicking:after{animation:homePlatformTapPulse .24s ease-out}.home-platform-stat.is-clicking{animation:homePlatformTapPress .22s cubic-bezier(.2,.8,.2,1)}@keyframes homePlatformTapPulse{0%{opacity:.22;transform:scale(.58)}to{opacity:0;transform:scale(1)}}@keyframes homePlatformTapPress{0%{transform:scale(1)}45%{transform:scale(.985)}to{transform:scale(1)}}.home-platform-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:8px;align-items:center}.home-platform-badge{width:22px;height:22px;border-radius:var(--radius-sm);display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;color:#0f172a;background:#94a3b833}.home-platform-head-main{min-width:0}.home-platform-name{font-size:14px;font-weight:700;color:#0f172a}.home-platform-total{font-size:24px;line-height:1;font-weight:700;color:#0f172a}.home-platform-kpi-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.home-platform-kpi{border-radius:var(--radius-sm);border:1px solid rgba(148,163,184,.25);background:#f8fafc;padding:6px 4px;text-align:center;display:grid;gap:2px}.home-platform-kpi span{font-size:11px;color:#64748b}.home-platform-kpi strong{font-size:15px;line-height:1.1;color:#0f172a}.home-platform-kpi.online{background:var(--status-online-bg);border-color:var(--status-online-border)}.home-platform-kpi.offline{background:var(--status-offline-bg);border-color:var(--status-offline-border)}.home-platform-kpi.warning{background:var(--status-alert-bg);border-color:var(--status-alert-border)}.home-platform-card-hint{font-size:11px;line-height:1.2;color:#64748b;white-space:nowrap}.home-platform-stat-xyl .home-platform-badge{background:#2563eb2e;color:#1d4ed8}.home-platform-stat-tuya .home-platform-badge{background:#0e749033;color:#0f766e}.home-platform-stat-qingye .home-platform-badge{background:#d9770633;color:#b45309}.home-hotel-stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:10px;row-gap:8px;margin-bottom:12px}.home-page-stack .ant-space-item>.ant-card>.ant-card-head{border-bottom:1px solid rgba(148,163,184,.16)}.home-summary-card>.ant-card-head{border-bottom:1px solid rgba(148,163,184,.16)!important}.home-summary-card .ant-card-body{padding:2px 0 0!important;overflow:hidden;border-radius:0 0 var(--radius-lg) var(--radius-lg)}.home-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));overflow:hidden}.home-summary-item{min-width:0;padding:12px 10px;display:grid;gap:4px;background:#fff}.home-summary-item:not(:first-child){border-left:1px solid rgba(148,163,184,.24)}.home-summary-label{font-size:12px;line-height:1.25;color:#64748b}.home-summary-value{font-size:26px;line-height:1.05;font-weight:700;color:#0f172a;font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1}.home-summary-item-warning{background:var(--status-alert-bg)}.home-summary-item-warning .home-summary-label{color:#b42318}.home-summary-item-warning .home-summary-value{color:var(--status-alert-text)}.home-hotel-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:8px}.home-hotel-collapse{margin-top:10px;border:1px solid rgba(148,163,184,.24);border-radius:var(--radius-md);overflow:hidden}.home-hotel-collapse .ant-collapse-header{font-size:12px;color:#64748b;min-height:34px;padding-top:8px!important;padding-bottom:8px!important;align-items:center!important}.home-hotel-collapse .ant-collapse-header-text,.home-hotel-collapse .ant-collapse-expand-icon{display:inline-flex;align-items:center;line-height:1.2}.home-hotel-item{min-width:0;border:1px solid rgba(148,163,184,.28);border-radius:var(--radius-md);background:#fff;padding:7px 9px;display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:30px}.home-hotel-item.enabled{background:#f6ffed;border-color:#b7eb8f}.home-hotel-item.disabled{background:#fff1f0;border-color:#ffa39e}.home-hotel-item-name{display:block;min-width:0;font-size:12px;line-height:1.2;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.home-hotel-item-status{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;align-self:center;width:9px;height:9px;border-radius:var(--radius-pill);border:1px solid transparent}.home-hotel-item-status.enabled{background:#52c41a;border-color:#b7eb8f}.home-hotel-item-status.disabled{background:#ff4d4f;border-color:#ffa39e}@media(max-width:768px){.app-layout-mobile .ant-card{border:1px solid rgba(148,163,184,.22);border-radius:var(--radius-card);background:#fff;box-shadow:0 10px 20px -22px #0f172a80}.app-layout-mobile .ant-card-head-title{font-size:14px;font-weight:600;line-height:1.35}.app-layout-mobile .ant-card-extra{font-size:12px;color:#64748b}.app-layout-mobile .ant-card-head{border-bottom:1px solid rgba(148,163,184,.16)}.app-layout-mobile .ant-card>.ant-card-body{padding:12px}.app-layout-mobile .ant-card-small>.ant-card-body{padding:10px 12px}.app-layout-mobile .ant-typography{line-height:1.45}.app-layout-mobile .ant-typography.ant-typography-secondary{font-size:12px}.app-layout-mobile .ant-statistic-title{color:#64748b;font-size:12px;line-height:1.3}.app-layout-mobile .ant-statistic-content{font-size:22px;line-height:1.2}.app-layout-mobile .ant-btn{border-radius:var(--radius-sm);font-weight:600}.app-layout-mobile .ant-input,.app-layout-mobile .ant-input-affix-wrapper,.app-layout-mobile .ant-input-number,.app-layout-mobile .ant-picker,.app-layout-mobile .ant-select-selector{border-radius:var(--radius-sm)!important}.app-layout-mobile .ant-table-wrapper{border:1px solid rgba(148,163,184,.2);border-radius:var(--radius-md);background:#fff;box-shadow:0 8px 16px -20px #0f172a66;overflow:hidden}.app-layout-mobile .ant-table-container{border-inline-start:0!important;border-inline-end:0!important}.app-layout-mobile .ant-table-content,.app-layout-mobile .ant-table-body{overflow-x:auto!important;-webkit-overflow-scrolling:touch;scrollbar-width:thin}.app-layout-mobile .ant-table-content table,.app-layout-mobile .ant-table-body table{min-width:max-content}.app-layout-mobile .ant-table-thead>tr>th{padding:9px 10px;font-size:12px;white-space:nowrap;color:#334155;background:#f8fafc}.app-layout-mobile .ant-table-tbody>tr>td{padding:9px 10px;font-size:12px;white-space:nowrap;vertical-align:top}.app-layout-mobile .ant-table-pagination.ant-pagination{margin:10px 8px 12px!important;display:flex;justify-content:flex-end;flex-wrap:wrap;gap:6px}.app-layout-mobile .ant-pagination-options,.app-layout-mobile .ant-pagination-jumper,.app-layout-mobile .ant-pagination-total-text{display:none!important}.app-layout-mobile .home-page-stack{width:100%}.app-layout-mobile .home-platform-grid{gap:10px}.app-layout-mobile .home-platform-stat{padding:10px 9px;gap:8px}.app-layout-mobile .home-platform-total{font-size:22px}.app-layout-mobile .home-platform-kpi strong{font-size:14px}.app-layout-mobile .home-platform-card-hint{font-size:10px}.app-layout-mobile .home-hotel-stats-grid{column-gap:8px;row-gap:8px;margin-bottom:10px}.app-layout-mobile .home-hotel-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.app-layout-mobile .home-hotel-item{padding:7px 8px}.app-layout-mobile .home-hotel-item-name{font-size:11px}.app-layout-mobile .home-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.app-layout-mobile .home-summary-item{padding:10px 9px;gap:2px}.app-layout-mobile .home-summary-item:not(:first-child){border-left:0}.app-layout-mobile .home-summary-item:nth-child(2n){border-left:1px solid rgba(148,163,184,.24)}.app-layout-mobile .home-summary-item:nth-child(n+3){border-top:1px solid rgba(148,163,184,.24)}.app-layout-mobile .home-summary-value{font-size:23px}.app-layout-mobile .ant-float-btn{inset-inline-end:14px;bottom:calc(84px + env(safe-area-inset-bottom,0px))}}.header-auth-actions{margin-left:auto;flex:0 0 auto;display:flex;align-items:center;justify-content:flex-end;gap:10px;height:100%;min-width:max-content}.header-hotel-filter{width:240px}.header-hotel-filter--enter{animation:header-hotel-filter-enter .22s cubic-bezier(.22,1,.36,1) both;transform-origin:right center;will-change:opacity,transform}.header-user-btn{display:inline-flex;align-items:center;gap:6px;height:40px;padding:4px 8px}.header-user-name{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}@keyframes header-hotel-filter-enter{0%{opacity:0;transform:translate3d(10px,-4px,0) scale(.98)}to{opacity:1;transform:translateZ(0) scale(1)}}.admin-user-edit-form-grid,.admin-form-grid-2col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px;max-width:720px}.admin-user-edit-form-grid-span-2,.admin-form-grid-span-2{grid-column:1 / -1}.account-modal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px;padding:12px;border:1px solid rgba(15,23,42,.08);border-radius:var(--radius-card);background:#f8fafc}.account-modal-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 16px;min-width:0;flex:1}.account-meta-item{display:flex;flex-direction:column;gap:2px;min-width:0}.account-meta-item span{color:#64748b;font-size:12px}.account-meta-item strong{color:#0f172a;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-meta-tip{grid-column:1 / -1;color:#475569;font-size:12px}@media(max-width:768px){.admin-user-edit-form-grid,.admin-form-grid-2col{grid-template-columns:1fr}.admin-user-edit-form-grid-span-2,.admin-form-grid-span-2{grid-column:auto}}.account-password-panel{max-width:420px;width:100%;margin:0 auto;padding-top:4px}.automation-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}.automation-rule-editor-mode-switch{margin-bottom:12px}.automation-rule-editor-shell{display:grid;grid-template-columns:minmax(280px,320px) minmax(0,1fr);gap:16px;align-items:start;max-height:calc(72vh - 56px);min-height:0}.automation-rule-editor-sidebar{position:sticky;top:0;align-self:start}.automation-rule-editor-sidebar-card{margin-bottom:0}.automation-rule-editor-sidebar .automation-form-grid{grid-template-columns:1fr}.automation-rule-editor-sidebar .automation-config-cooldown-row,.automation-rule-editor-sidebar .automation-cooldown-switch,.automation-rule-editor-sidebar .automation-cooldown-duration{flex-wrap:nowrap}.automation-rule-editor-sidebar .automation-cooldown-switch .ant-typography,.automation-rule-editor-sidebar .automation-cooldown-duration .ant-typography{white-space:nowrap}.automation-rule-editor-content{min-width:0;max-height:calc(72vh - 56px);overflow-y:auto;padding-right:4px;overscroll-behavior:contain;scrollbar-gutter:stable}.automation-rule-editor-content>.automation-editor-section:last-child{margin-bottom:0}.automation-condition-editor,.automation-stage-editor{display:flex;flex-direction:column;gap:12px}.automation-target-editor-shell{display:grid;grid-template-columns:minmax(320px,360px) minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:start;max-height:calc(100vh - 220px);min-height:0}.automation-target-editor-sidebar{position:sticky;top:0;align-self:start;display:flex;flex-direction:column;gap:16px;max-height:calc(100vh - 220px);overflow-y:auto;padding-right:4px;overscroll-behavior:contain;scrollbar-gutter:stable}.automation-target-editor-sidebar-card{margin-bottom:0}.automation-target-editor-sidebar .automation-stage-basic-grid,.automation-target-editor-sidebar .automation-target-basic-grid,.automation-target-editor-sidebar .automation-stage-grid{grid-template-columns:1fr}.automation-target-editor-sidebar>.automation-template-placeholder-panel{height:auto;min-height:380px;max-height:calc(100vh - 560px)}.automation-target-editor-sidebar>.automation-template-placeholder-panel.is-compact .automation-template-placeholder-list{overflow-y:auto}.automation-target-editor-main,.automation-target-editor-secondary{min-width:0;max-height:calc(100vh - 220px);overflow-y:auto;padding-right:4px;overscroll-behavior:contain;scrollbar-gutter:stable}.automation-target-editor-main-wide{grid-column:span 2}.automation-target-editor-ding-side-top{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(240px,.8fr);gap:16px;margin-bottom:16px}.automation-target-editor-ding-side-top>:only-child{grid-column:1 / -1}.automation-target-editor-top-card{margin-bottom:0}.automation-template-sync-notice{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-4px 0 12px;padding:8px 10px;border:1px solid #ffe58f;border-radius:var(--radius-control);background:#fffbe6}.automation-template-sync-notice-text{min-width:0;color:#8c6d1f;font-size:12px;line-height:1.5}.automation-target-notify-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:start}.automation-target-message-editor-grid{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"editor";align-items:start;min-height:0}.automation-target-message-editor-main{grid-area:editor;min-width:0}.automation-template-manager-shell{display:grid;grid-template-columns:minmax(280px,320px) minmax(0,1fr);gap:16px;align-items:stretch;height:100%;min-height:0}.automation-template-manager-modal{transition:width .18s ease}.automation-template-manager-shell.is-list-view,.automation-template-manager-shell.is-editor-view{grid-template-columns:minmax(0,1fr)}.automation-template-manager-shell.is-list-view{height:auto}.automation-template-manager-picker{display:flex;min-width:0;min-height:0;height:100%;animation:automation-template-manager-list-enter .16s ease-out both}.automation-template-manager-modal.is-list-view .automation-template-manager-picker{display:block;height:auto;width:100%}.automation-template-manager-sidebar{display:flex;flex-direction:column;height:100%;min-height:0;overflow:hidden}.automation-template-manager-sidebar-card,.automation-template-manager-stage-card{margin-bottom:0}.automation-template-manager-list-card{flex:1;min-height:0;display:flex;flex-direction:column}.automation-template-manager-modal.is-list-view .automation-template-manager-list-card{flex:initial;width:100%}.automation-template-manager-list-card .ant-card-head{flex-shrink:0}.automation-template-manager-list-card .ant-card-body{display:flex;flex-direction:column;flex:1;min-height:0;padding:0}.automation-template-manager-modal.is-list-view .automation-template-manager-list-card .ant-card-body{flex:initial}.automation-template-manager-list-tools{display:grid;gap:12px;padding:16px;border-bottom:1px solid #f1f5f9;flex-shrink:0}.automation-template-manager-list{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.automation-template-manager-modal.is-list-view .automation-template-manager-list{flex:initial;max-height:52vh}.automation-template-manager-table .ant-table-tbody>tr{cursor:pointer}.automation-template-manager-table .ant-table-tbody>tr.is-active>td{background:#e6f4ff}.automation-template-manager-table .ant-table-tbody>tr.is-active:hover>td{background:#d9efff}.automation-template-manager-table-name,.automation-template-manager-table-rules{max-width:100%}.automation-template-manager-pagination{flex-shrink:0;padding:12px 16px;border-top:1px solid #f1f5f9;background:#fff}.automation-template-manager-pagination .ant-pagination{justify-content:center}.automation-template-manager-content{display:flex;flex-direction:column;min-width:0;min-height:0;height:100%;overflow:hidden;overscroll-behavior:contain;animation:automation-template-manager-editor-enter .19s cubic-bezier(.2,.8,.2,1) both}.automation-template-manager-content>.ant-card{display:flex;flex:1;min-height:0;width:100%}.automation-template-manager-content>.ant-card .ant-card-body{display:flex;flex:1;min-height:0}.automation-template-manager-content>.ant-form{display:flex;flex:1;min-height:0}.automation-template-manager-workspace{display:grid;grid-template-rows:auto minmax(0,1fr);width:100%;height:100%;min-height:0;gap:16px;align-content:stretch}.automation-template-manager-editor-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}.automation-template-manager-editor-nav-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0}.automation-template-manager-editor-nav .ant-typography,.automation-template-manager-editor-nav-actions .ant-typography{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.automation-template-manager-top-row{display:grid;grid-template-columns:minmax(320px,360px) minmax(0,1fr);gap:16px;align-items:start}.automation-template-manager-sidebar-stack{display:flex;flex-direction:column;gap:16px;max-height:none;overflow:visible;padding-right:0;width:100%}.automation-template-manager-side-panel,.automation-template-manager-wide-section{min-width:0}.automation-template-manager-stage-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.automation-template-manager-meta-row{display:flex;align-items:center;gap:10px;margin-top:12px}.automation-template-manager-form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.automation-template-manager-basic-grid{grid-template-columns:minmax(260px,1.45fr) minmax(180px,.75fr) minmax(220px,.95fr) minmax(92px,108px);align-items:start}.automation-template-manager-code-item,.automation-template-manager-switch-item{min-width:0}.automation-template-manager-switch-item .ant-form-item-control-input{min-height:40px}.automation-template-manager-switch-item .ant-form-item-control-input-content{display:flex;align-items:center}.automation-template-manager-code-input.ant-input-affix-wrapper,.automation-template-manager-code-input.ant-input-affix-wrapper:hover,.automation-template-manager-code-input.ant-input-affix-wrapper:focus,.automation-template-manager-code-input.ant-input-affix-wrapper-focused{border-color:#d9d9d9;box-shadow:none;background:#f5f5f5}.automation-template-manager-code-input .ant-input{background:transparent}.automation-template-manager-editor-grid{display:grid;grid-template-columns:minmax(360px,420px) minmax(0,1fr);grid-template-rows:minmax(0,1fr);grid-template-areas:"placeholders editor";gap:16px;align-items:stretch;min-height:0;overflow:hidden}.automation-template-manager-editor-scroll{grid-area:editor;display:grid;align-content:start;gap:16px;grid-auto-rows:max-content;min-width:0;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-right:4px;scrollbar-gutter:stable}.automation-template-manager-basic-section{min-width:0}.automation-template-manager-main-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);gap:16px;align-items:start}.automation-template-manager-wide-section{min-width:0}.automation-template-manager-message-item{margin-bottom:0}.automation-template-manager-message-item .ant-form-item-control-input{min-height:0}.automation-template-manager-preview-card .ant-card-body{display:grid;gap:12px}.automation-template-manager-preview{min-height:390px;max-height:390px;overflow-y:auto;padding:14px;border:1px solid #e2e8f0;border-radius:var(--radius-panel);background:#f8fafc;font-size:13px;line-height:1.65}.automation-template-manager-empty{display:flex;flex:1;min-height:0;width:100%;align-items:center;justify-content:center;flex-direction:column;gap:12px;text-align:center}@keyframes automation-template-manager-list-enter{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@keyframes automation-template-manager-editor-enter{0%{opacity:0;transform:translate(14px) scale(.992)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes automation-template-manager-panel-enter{0%{opacity:0;transform:translate(-10px)}to{opacity:1;transform:translate(0)}}@media(prefers-reduced-motion:reduce){.automation-template-manager-modal{transition:none}.automation-template-manager-picker,.automation-template-manager-content,.automation-template-placeholder-panel{animation:none}}.automation-template-placeholder-panel{position:relative;grid-area:placeholders;align-self:stretch;display:flex;flex-direction:column;min-width:0;min-height:0;height:100%;max-height:none;border:1px solid #e2e8f0;border-radius:var(--radius-panel);background:#fff;overflow:hidden;animation:automation-template-manager-panel-enter .22s cubic-bezier(.2,.8,.2,1) both;transition:border-color .16s ease,background-color .16s ease,box-shadow .16s ease}.automation-template-placeholder-panel.is-delete-drop-active{border-color:#ff4d4f;background:#fff7f7;box-shadow:0 0 0 3px #ff4d4f1f,0 12px 28px #ff4d4f1f}.automation-template-placeholder-panel.is-delete-drop-active:before{position:absolute;top:12px;right:12px;bottom:12px;left:12px;z-index:5;border:1px dashed rgba(255,77,79,.75);border-radius:calc(var(--radius-panel) - 4px);background:#fff1f085;content:"";pointer-events:none}.automation-template-placeholder-panel.is-delete-drop-active:after{position:absolute;top:50%;left:50%;z-index:6;width:46px;height:46px;border:1px solid rgba(255,77,79,.32);border-radius:50%;background-color:#fffffff0;background-image:url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23cf1322' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M8 6V4h8v2'/%3E%3Cpath d='M19 6l-1 14H6L5 6'/%3E%3Cpath d='M10 11v5'/%3E%3Cpath d='M14 11v5'/%3E%3C/svg%3E");background-position:center;background-repeat:no-repeat;background-size:23px 23px;content:"";box-shadow:0 10px 24px #ff4d4f2e;pointer-events:none;transform:translate(-50%,-50%)}.automation-template-placeholder-panel-header{display:grid;gap:10px;padding:14px;border-bottom:1px solid #e2e8f0;background:#fafafa;flex-shrink:0}.automation-template-placeholder-panel-body{display:flex;flex-direction:column;flex:1;gap:14px;min-height:0;overflow:hidden;overscroll-behavior:contain;padding:12px}.automation-template-placeholder-group{grid-area:placeholder-list;display:flex;flex-direction:column;gap:8px;min-width:0;min-height:0}.automation-template-placeholder-group-title{color:#475569;font-size:12px;font-weight:600}.automation-template-placeholder-browse{display:grid;grid-template-columns:minmax(132px,148px) minmax(0,1fr);grid-template-areas:"placeholder-categories placeholder-list";gap:12px;min-width:0;min-height:0;height:100%}.automation-template-placeholder-panel.is-compact .automation-template-placeholder-panel-header{gap:8px;padding:12px}.automation-template-placeholder-panel.is-compact .automation-template-placeholder-panel-body{padding:10px}.automation-template-placeholder-panel.is-compact .automation-template-placeholder-browse{grid-template-columns:minmax(96px,108px) minmax(0,1fr);grid-template-areas:"placeholder-categories placeholder-list";gap:8px}.automation-template-placeholder-panel.is-compact .automation-template-placeholder-category-list{flex-direction:column;gap:2px;max-height:100%;overflow-x:hidden;overflow-y:auto;padding:0 8px 0 0;border-right:1px solid #e2e8f0;border-bottom:0;scrollbar-width:thin}.automation-template-placeholder-panel.is-compact .automation-template-placeholder-category{grid-template-columns:minmax(0,1fr) auto;align-items:start;width:100%;max-width:none;padding:6px 8px;border-left:2px solid transparent;border-bottom:0}.automation-template-placeholder-panel.is-compact .automation-template-placeholder-category:hover,.automation-template-placeholder-panel.is-compact .automation-template-placeholder-category.is-active{border-left-color:#1677ff}.automation-template-placeholder-panel.is-compact .automation-template-placeholder-category-label{overflow:visible;text-overflow:clip;white-space:normal}.automation-template-placeholder-panel.is-compact .automation-template-placeholder-group{gap:6px}.automation-template-placeholder-panel.is-compact .automation-template-placeholder-list{padding-right:2px}.automation-template-placeholder-panel.is-compact .automation-template-placeholder-item{padding:7px 8px}.automation-template-placeholder-category-list{grid-area:placeholder-categories;display:flex;flex-direction:column;gap:2px;align-self:start;min-width:0;max-height:100%;overflow-y:auto;padding:2px 8px 2px 0;border-right:1px solid #e2e8f0;background:#fff;scrollbar-width:thin;scrollbar-color:rgba(148,163,184,.7) transparent}.automation-template-placeholder-category{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:6px;width:100%;padding:6px 8px;border:0;border-left:2px solid transparent;border-radius:0;background:transparent;color:#475569;text-align:left;cursor:pointer}.automation-template-placeholder-category:hover,.automation-template-placeholder-category.is-active{border-left-color:#1677ff;background:transparent;color:#0958d9}.automation-template-placeholder-category-label{min-width:0;font-size:12px;font-weight:600;line-height:1.35;overflow-wrap:anywhere;white-space:normal}.automation-template-placeholder-group-count{min-width:20px;padding:1px 6px;border-radius:999px;background:#f1f5f9;color:#64748b;font-size:11px;font-weight:600;text-align:center}.automation-template-placeholder-category.is-active .automation-template-placeholder-group-count{background:#e6f4ff;color:#0958d9}.automation-template-placeholder-list{display:grid;align-content:start;flex:1;gap:6px;grid-auto-rows:max-content;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:2px 6px 4px 0;scrollbar-width:thin;scrollbar-color:rgba(148,163,184,.78) transparent}.automation-template-placeholder-list::-webkit-scrollbar{width:10px}.automation-template-placeholder-list::-webkit-scrollbar-track{background:transparent}.automation-template-placeholder-list::-webkit-scrollbar-thumb{border:2px solid transparent;border-radius:999px;background:#94a3b894;background-clip:padding-box}.automation-template-placeholder-list::-webkit-scrollbar-thumb:hover{background:#64748bb8;background-clip:padding-box}.automation-template-placeholder-item{display:grid;gap:3px;width:100%;padding:8px 10px;border:1px solid rgba(15,23,42,.08);border-radius:6px;background:#fff;color:inherit;text-align:left;cursor:grab;transition:border-color .16s ease,background-color .16s ease,transform .16s ease}.automation-template-placeholder-item:active{cursor:grabbing}.automation-template-placeholder-item:hover,.automation-template-placeholder-item:focus-visible{border-color:#1677ff4d;background:#f8fbff;transform:translateY(-1px);outline:none}.automation-template-placeholder-token{min-width:0;color:#0f172a;font-family:SFMono-Regular,SF Mono,Consolas,Liberation Mono,monospace;font-size:11px;line-height:18px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.automation-template-placeholder-desc{color:#64748b;font-size:11px;line-height:1.4}.automation-template-placeholder-empty{display:grid;min-height:120px;place-items:center;text-align:center}.automation-condition-section,.automation-stage-section{border:1px solid rgba(15,23,42,.08);border-radius:var(--radius-card);background:#fff;padding:12px}.ant-form-item.automation-validation-attention{border-radius:8px;animation:automation-validation-attention 1.05s cubic-bezier(.2,.8,.2,1)}@keyframes automation-validation-attention{0%{background:#f8717100;box-shadow:0 0 #f8717100}28%{background:#fee2e29e;box-shadow:0 0 0 4px #f871712e}to{background:#f8717100;box-shadow:0 0 0 10px #f8717100}}@media(prefers-reduced-motion:reduce){.ant-form-item.automation-validation-attention{animation:none}}.automation-condition-section-title,.automation-stage-section-title{display:block;margin-bottom:10px;color:#475569;font-size:13px;font-weight:600}.automation-condition-basic-grid,.automation-condition-grid,.automation-target-grid,.automation-stage-basic-grid,.automation-stage-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}.automation-condition-basic-grid,.automation-stage-basic-grid{grid-template-columns:minmax(0,1fr) minmax(120px,180px)}.automation-editor-section{margin-bottom:12px}.automation-target-editor-collapse{border:0;background:transparent}.automation-target-editor-collapse>.ant-collapse-item{border:1px solid rgba(15,23,42,.08);border-radius:var(--radius-card);background:#fff;overflow:hidden}.automation-target-editor-collapse>.ant-collapse-item+.ant-collapse-item{margin-top:10px}.automation-target-editor-collapse .ant-collapse-header{font-weight:600}.automation-target-basic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}.automation-target-preview-collapse{margin-top:8px}.automation-target-preview-panel,.automation-target-preview-markdown{border:1px solid rgba(148,163,184,.24);border-radius:var(--radius-card);background:#f8fafc;padding:10px;max-height:220px;overflow:auto}.automation-target-preview-text{margin:0;white-space:pre-wrap;word-break:break-word}.automation-config-box{width:100%;border:1px solid #f0f0f0;border-radius:var(--radius-card);padding:8px 10px;background:#fafafa}.automation-config-box-row{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;width:100%}.automation-config-hotel-row{flex-direction:column;align-items:stretch;justify-content:flex-start;gap:8px;min-width:0}.automation-config-hotel-row .ant-form-item{margin-bottom:0}.automation-config-hotel-row .ant-segmented{flex:0 0 auto}.automation-config-hotel-select-field,.automation-config-hotel-row .ant-select,.automation-config-hotel-select{width:100%;min-width:0;max-width:100%}.automation-config-hotel-select .ant-select-selector,.automation-config-hotel-select .ant-select-selection-overflow,.automation-config-hotel-select .ant-select-selection-overflow-item{min-width:0;max-width:100%}.automation-config-hotel-select .ant-select-selection-item{max-width:100%}.automation-config-hotel-select .ant-select-selection-item-content{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.automation-config-cooldown-row{align-items:center}.automation-cooldown-switch,.automation-cooldown-duration{min-width:0;align-items:center}.automation-cooldown-switch .ant-space-item,.automation-cooldown-duration .ant-space-item{display:flex;align-items:center}.automation-list-wrap{display:flex;flex-direction:column;gap:8px}.automation-run-detail-snapshot.ant-typography{width:100%;margin-bottom:0;word-break:break-all;overflow-wrap:anywhere}.automation-run-target-table-wrap{width:100%;overflow-x:auto}.automation-list-item{position:relative;display:grid;gap:10px;border:1px solid rgba(15,23,42,.1);border-radius:var(--radius-card);padding:10px 12px;background:#fff;overflow:hidden;transition:border-color .18s ease,box-shadow .18s ease,opacity .18s ease,transform .18s ease}.automation-list-item:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;border-radius:0;background:#94a3b8b8}.automation-list-item.automation-list-item-enabled.automation-list-item-condition:before{background:#1677ffe0}.automation-list-item.automation-list-item-enabled.automation-list-item-target:before{background:#f59e0be0}.automation-list-item.automation-list-item-disabled:before{background:#94a3b8b8}.automation-list-item.automation-list-item-disabled{border-color:#94a3b847}.automation-list-item.automation-list-item-dragging{opacity:.72;border-style:dashed}.automation-list-item.automation-list-item-drop-target{border-color:#1677ffb8;box-shadow:0 0 0 2px #1677ff1f;transform:translateY(-1px)}.automation-list-item-main{min-width:0;display:grid;gap:8px}.automation-list-item-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.automation-drag-handle{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:8px;color:#94a3b8;cursor:grab;transition:color .18s ease,background-color .18s ease}.automation-drag-handle:hover{color:#1677ff;background:#1677ff14}.automation-drag-handle:active{cursor:grabbing}.automation-list-item-foot{min-width:0;display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.automation-list-item-title{font-size:13px;line-height:1.35}.automation-list-item-summary{font-size:12px;line-height:1.5;min-width:0;flex:1;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-bottom:0}.automation-list-item-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex:0 0 auto}.automation-rules-table-skeleton{display:grid;gap:0;min-width:1280px;background:#fff;border:1px solid rgba(148,163,184,.18);border-radius:var(--radius-card);overflow:hidden}.automation-rules-table-skeleton-header,.automation-rules-table-skeleton-row{display:grid;grid-template-columns:minmax(160px,1.1fr) 120px minmax(220px,1.5fr) minmax(220px,1.5fr) 92px 72px;gap:12px;align-items:center}.automation-rules-table-skeleton-header{padding:12px 16px;border-bottom:1px solid rgba(148,163,184,.18);background:#fafafa;color:#94a3b8;font-size:12px;font-weight:600}.automation-rules-table-skeleton-body{display:grid}.automation-rules-table-skeleton-row{padding:14px 16px;border-bottom:1px solid rgba(148,163,184,.14)}.automation-rules-table-skeleton-row:last-child{border-bottom:0}.automation-rules-table-skeleton-row .ant-skeleton{width:100%}.automation-template-list-skeleton{display:grid;gap:0}.automation-template-list-skeleton-item{display:flex;align-items:flex-start;gap:10px;padding:14px 16px;border-bottom:1px solid #e2e8f0}.automation-template-list-skeleton-item:last-child{border-bottom:0}.automation-template-list-skeleton-main,.automation-template-list-skeleton-main .ant-skeleton{flex:1;width:100%}.automation-template-editor-skeleton{display:grid;gap:18px}.automation-template-editor-skeleton-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.automation-template-editor-skeleton-field .ant-skeleton,.automation-template-editor-skeleton-columns .ant-skeleton,.automation-template-editor-skeleton .ant-skeleton{width:100%}.automation-template-editor-skeleton-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.automation-device-picker-skeleton-grid{display:grid;gap:10px}.automation-device-picker-skeleton-card{padding:12px;border:1px solid rgba(148,163,184,.18);border-radius:var(--radius-card);background:#fff}.automation-device-picker-skeleton-card .ant-skeleton{width:100%}.automation-user-search-table-skeleton{display:grid;gap:0;border:1px solid rgba(148,163,184,.18);border-radius:var(--radius-card);overflow:hidden;background:#fff}.automation-user-search-table-skeleton-header,.automation-user-search-table-skeleton-row{display:grid;grid-template-columns:minmax(160px,1fr) minmax(140px,.8fr) minmax(180px,1fr) 84px;gap:12px;align-items:center}.automation-user-search-table-skeleton-header{padding:12px 16px;border-bottom:1px solid rgba(148,163,184,.18);background:#fafafa;color:#94a3b8;font-size:12px;font-weight:600}.automation-user-search-table-skeleton-body{display:grid}.automation-user-search-table-skeleton-row{padding:14px 16px;border-bottom:1px solid rgba(148,163,184,.14)}.automation-user-search-table-skeleton-row:last-child{border-bottom:0}.automation-user-search-table-skeleton-row .ant-skeleton{width:100%}.automation-action-switch.ant-switch{flex:0 0 auto}.automation-action-group{display:inline-flex;align-items:center;gap:4px;flex-wrap:nowrap}.automation-action-button.ant-btn{min-width:40px;height:30px;padding-inline:4px}.automation-rule-table-actions{display:inline-flex;justify-content:flex-start}.automation-rule-mobile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.automation-rule-filter-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:12px}.automation-rule-filter-primary-row{display:flex;align-items:center;gap:10px;flex:1 1 450px;min-width:0}.automation-rule-filter-search{flex:1 1 280px;min-width:220px}.automation-rule-filter-select{width:160px}.automation-rule-filter-status{flex:0 0 160px}.automation-rule-mobile-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:4px 4px 8px}.automation-rule-mobile-toolbar .ant-btn{border-radius:6px}.automation-rule-mobile-view-btn.ant-btn{color:#334155;width:28px;height:28px;border-radius:var(--radius-sm)}.automation-rule-mobile-view-btn.ant-btn .anticon{font-size:14px}.automation-rule-mobile-card{position:relative;border:1px solid rgba(148,163,184,.34);border-radius:var(--radius-card);background:#fff;box-shadow:none}.automation-rule-mobile-card:before{display:none}.automation-rule-mobile-card.automation-rule-mobile-card-enabled{border-color:#22c55e70}.automation-rule-mobile-card.automation-rule-mobile-card-disabled{border-color:#64748b66}.automation-rule-mobile-card.automation-rule-mobile-card-limited{border-color:#f59e0b75}.automation-rule-mobile-card.is-selected{border-color:#1677ff99;box-shadow:none}.automation-rule-mobile-card.mobile-data-card.ant-card-small>.ant-card-body{padding:10px 10px 8px;gap:6px}.automation-rule-mobile-card .mobile-data-card-head{gap:6px;align-items:center}.automation-rule-mobile-card .mobile-data-card-title{line-height:1.32}.automation-rule-mobile-card .mobile-data-card-subtitle{line-height:1.35}.automation-rule-mobile-card .mobile-data-card-body{gap:4px}.automation-rule-mobile-select{display:inline-flex;align-items:center}.automation-rule-mobile-select .ant-checkbox{top:0}.automation-rule-mobile-head-extra{display:inline-flex;align-items:center;gap:4px}.automation-rule-mobile-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:10px}.automation-rule-mobile-title-group{min-width:0;flex:1;display:grid;gap:6px}.automation-rule-mobile-title{display:block;font-size:14px;line-height:1.3;color:#0f172a}.automation-rule-mobile-body{display:grid;gap:3px}.automation-rule-mobile-row,.automation-rule-mobile-status-row{display:grid;grid-template-columns:28px minmax(0,1fr);gap:4px;align-items:center}.automation-rule-mobile-row-label{color:#64748b;font-size:12px;line-height:1.3}.automation-rule-mobile-row-value{color:#334155;font-size:12px;line-height:1.35;min-width:0;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.automation-rule-mobile-row-value-rich{display:flex;align-items:center;gap:6px}.automation-rule-mobile-run-summary-status{flex:0 0 auto}.automation-rule-mobile-run-summary-status .ant-tag{margin-inline-end:0}.automation-rule-mobile-run-summary-time{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.automation-rule-mobile-actions{margin-top:8px;padding-top:8px;border-top:1px solid rgba(148,163,184,.2);display:flex;align-items:center;justify-content:flex-start;gap:8px}.automation-rule-mobile-actions-main{display:inline-flex;align-items:center;gap:2px}.automation-rule-mobile-actions .ant-btn{min-width:0;padding-inline:8px;height:28px}.automation-rule-mobile-icon-btn.ant-btn{width:28px;min-width:28px;padding-inline:0;border-radius:999px}.automation-rule-mobile-switch{margin-left:auto;flex:0 0 auto}.automation-rule-mobile-pagination{display:flex;justify-content:center;padding-top:2px}.automation-rule-mobile-empty-card{border:1px dashed rgba(148,163,184,.4);border-radius:var(--radius-card);background:#f8fafc}@media(max-width:768px){.automation-mobile-shell>.ant-card-head{padding-inline:12px}.automation-mobile-shell>.ant-card-body{padding:12px 10px 10px}.automation-mobile-shell{margin-inline:0}.automation-rule-filter-bar{gap:8px;margin-bottom:10px}.automation-rule-filter-primary-row{width:100%;flex:1 1 100%;gap:8px}.automation-rule-filter-search{flex:1 1 auto;min-width:0}.automation-rule-filter-status{width:112px;min-width:112px;flex:0 0 112px}.automation-rule-filter-select:not(.automation-rule-filter-status){width:100%;min-width:0;flex:1 1 100%}.automation-target-modal-mobile .ant-modal{max-width:100vw;width:100vw!important;margin:0;top:0;padding-bottom:0}.automation-target-modal-mobile .ant-modal-content{min-height:100dvh;border-radius:0;display:flex;flex-direction:column}.automation-target-modal-mobile .ant-modal-header{border-bottom:1px solid rgba(15,23,42,.08);padding:12px 14px}.automation-target-modal-mobile .ant-modal-body{flex:1;overflow-y:auto;padding:10px 12px 12px}.automation-target-modal-mobile .ant-modal-footer{margin-top:0;padding:10px 12px calc(10px + env(safe-area-inset-bottom,0px));border-top:1px solid rgba(15,23,42,.08);background:#fff;position:sticky;bottom:0}.automation-stage-basic-grid,.automation-target-basic-grid{grid-template-columns:1fr}.automation-editor-modal-mobile .ant-modal{max-width:100vw;width:100vw!important;margin:0;top:0;padding-bottom:0}.automation-editor-modal-mobile .ant-modal-content{min-height:100dvh;border-radius:0;display:flex;flex-direction:column}.automation-editor-modal-mobile .ant-modal-header{border-bottom:1px solid rgba(15,23,42,.08);padding:12px 14px}.automation-editor-modal-mobile .ant-modal-body{flex:1;overflow-y:auto;padding:10px 12px 12px}.automation-editor-modal-mobile .ant-modal-footer{margin-top:0;padding:10px 12px calc(10px + env(safe-area-inset-bottom,0px));border-top:1px solid rgba(15,23,42,.08);background:#fff;position:sticky;bottom:0}.automation-config-box-row{flex-direction:column;align-items:stretch}.automation-config-cooldown-row{align-items:stretch}.automation-config-hotel-row .ant-segmented,.automation-config-hotel-row .ant-segmented-group{width:100%}.automation-cooldown-duration{width:100%;justify-content:flex-start;flex-wrap:wrap}.automation-list-item{align-items:stretch;gap:8px;padding:8px 10px}.automation-editor-modal-mobile .automation-list-item-summary{font-size:12px}.automation-list-item-actions{align-items:center;gap:6px}.automation-drag-handle{width:26px;height:26px}.automation-action-group{width:auto;justify-content:flex-end;gap:6px}.automation-editor-modal-mobile .automation-action-button.ant-btn{min-width:56px;height:28px;padding-inline:8px}}.automation-ding-tools{grid-column:1 / -1;display:flex;flex-direction:column;gap:8px}.automation-flow-wrap{display:flex;flex-direction:column;gap:10px}.automation-flow-canvas{height:480px;width:100%;border:1px solid rgba(15,23,42,.12);border-radius:var(--radius-container);background:#f8fafc;overflow:hidden}.login-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px;background:linear-gradient(135deg,#e2e8f0,#f8fafc 55%,#dbeafe)}.login-card{width:100%;max-width:420px;border:1px solid rgba(15,23,42,.08);border-radius:var(--radius-card);box-shadow:0 18px 50px #0f172a14;transform-origin:center top;animation:login-card-enter .28s ease-out both}.login-title{margin-bottom:6px!important}.login-mode-panel,.login-form-shell{animation:login-section-enter .22s ease-out both}.login-switch-row{margin-top:18px;margin-bottom:10px;display:flex;align-items:center;justify-content:space-between;gap:12px}.login-switch-row-form{margin-bottom:4px}.login-section-label{color:#0f172a;font-size:14px;font-weight:600}.login-switch-button{border:0;padding:0;background:transparent;color:#1677ff;font-size:13px;cursor:pointer;transition:color .18s ease,transform .18s ease}.login-switch-button:hover{color:#4096ff;transform:translate(1px)}.login-switch-button-below{margin-top:10px}.login-primary-action{border-radius:var(--radius-control);height:40px;transition:transform .18s ease,box-shadow .18s ease,filter .18s ease}.login-secondary-action{margin-top:16px;height:40px;border-radius:var(--radius-control);border-color:#1677ff47;color:#1677ff;background:#fffffff5;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.login-primary-action:hover:not(:disabled),.login-primary-action:focus-visible:not(:disabled){transform:translateY(-1px);box-shadow:0 10px 18px #1677ff2e;filter:saturate(1.03)}.login-secondary-action:hover:not(:disabled),.login-secondary-action:focus-visible:not(:disabled){transform:translateY(-1px);border-color:#1677ff6b;box-shadow:0 10px 18px #0f172a14}.login-divider{margin:12px 0 2px;text-align:center;color:#64748b;font-size:12px;letter-spacing:.02em}.login-form{margin-top:16px}.login-form .ant-input,.login-form .ant-input-password{border-radius:var(--radius-control)}.login-form .ant-btn-primary{margin-top:4px;border-radius:var(--radius-control);height:42px;transition:transform .18s ease,box-shadow .18s ease}.login-form .ant-btn-primary:hover:not(:disabled),.login-form .ant-btn-primary:focus-visible:not(:disabled){transform:translateY(-1px);box-shadow:0 10px 18px #1677ff2e}@keyframes login-card-enter{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes login-section-enter{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.app-header,.app-header--admin{animation:none!important;transition:none!important}.app-header--admin .app-header-subnav{animation:none}.header-hotel-filter--enter{animation:none!important;transform:none!important}.login-card,.login-mode-panel,.login-form-shell{animation:none}.login-switch-button,.login-primary-action,.login-secondary-action,.login-form .ant-btn-primary{transition:none}.login-switch-button:hover,.login-primary-action:hover:not(:disabled),.login-primary-action:focus-visible:not(:disabled),.login-secondary-action:hover:not(:disabled),.login-secondary-action:focus-visible:not(:disabled),.login-form .ant-btn-primary:hover:not(:disabled),.login-form .ant-btn-primary:focus-visible:not(:disabled){transform:none;box-shadow:none;filter:none}}@media(max-width:1200px){.automation-editor-modal-compact .ant-modal{max-width:calc(100vw - 32px);margin-inline:auto}.automation-editor-modal-compact .ant-modal-content,.automation-editor-modal-compact .ant-modal-body{max-width:100%;overflow-x:hidden}.automation-editor-modal-compact .ant-form,.automation-editor-modal-compact .ant-card,.automation-editor-modal-compact .ant-card-body,.automation-editor-modal-compact .automation-rule-editor-shell,.automation-editor-modal-compact .automation-rule-editor-sidebar,.automation-editor-modal-compact .automation-rule-editor-content,.automation-editor-modal-compact .automation-stage-editor,.automation-editor-modal-compact .automation-condition-editor,.automation-editor-modal-compact .automation-target-editor-shell,.automation-editor-modal-compact .automation-target-editor-sidebar,.automation-editor-modal-compact .automation-target-editor-main,.automation-editor-modal-compact .automation-target-editor-secondary,.automation-editor-modal-compact .automation-target-editor-ding-side-top,.automation-editor-modal-compact .automation-target-notify-grid{min-width:0;max-width:100%}.automation-editor-modal-compact .automation-config-hotel-row,.automation-editor-modal-compact .automation-config-cooldown-row{flex-wrap:wrap}.automation-form-grid,.automation-stage-basic-grid,.automation-stage-grid,.automation-condition-basic-grid,.automation-condition-grid,.automation-target-grid{grid-template-columns:1fr}.automation-rule-editor-shell{grid-template-columns:1fr;max-height:none}.automation-template-manager-shell{grid-template-columns:1fr}.automation-target-editor-shell{grid-template-columns:1fr;max-height:none}.automation-rule-editor-sidebar{position:static}.automation-template-manager-sidebar,.automation-template-manager-content{height:auto;max-height:none}.automation-template-manager-main-grid{grid-template-columns:1fr}.automation-template-manager-editor-grid{grid-template-columns:1fr;grid-template-areas:"placeholders" "editor";overflow:visible}.automation-template-manager-editor-scroll{overflow:visible;padding-right:0}.automation-template-placeholder-panel{position:static;height:auto;max-height:none}.automation-template-manager-preview{min-height:280px;max-height:320px}.automation-template-manager-top-row{grid-template-columns:1fr}.automation-target-editor-sidebar{position:static;max-height:none;overflow:visible;padding-right:0}.automation-rule-editor-content,.automation-target-editor-main,.automation-target-editor-secondary{max-height:none;overflow:visible;padding-right:0}.automation-target-editor-main-wide{grid-column:auto}.automation-target-editor-ding-side-top,.automation-target-notify-grid{grid-template-columns:1fr}.automation-target-message-editor-grid{grid-template-columns:1fr;grid-template-areas:"editor"}.automation-target-editor-sidebar>.automation-template-placeholder-panel{height:auto;min-height:220px;max-height:280px}}@media(max-width:768px){.account-modal-head{flex-direction:column;align-items:stretch}.account-modal-meta{grid-template-columns:1fr}.header-hotel-filter{width:180px}.login-card{max-width:100%}.login-form .ant-input,.login-form .ant-input-affix-wrapper,.login-form .ant-input-password input{font-size:16px}}.automation-stage-grid .span-full,.automation-stage-basic-grid .span-full,.automation-condition-grid .span-full,.automation-target-grid .span-full{grid-column:1 / -1}.automation-stage-basic-grid .ant-form-item:last-child,.automation-stage-grid .ant-form-item:last-child,.automation-condition-basic-grid .ant-form-item:last-child,.automation-condition-grid .ant-form-item:last-child,.automation-target-grid .ant-form-item:last-child{margin-bottom:0}.automation-stage-basic-grid .ant-form-item,.automation-stage-grid .ant-form-item,.automation-condition-basic-grid .ant-form-item,.automation-condition-grid .ant-form-item,.automation-target-grid .ant-form-item{margin-bottom:12px}.automation-condition-warning{display:block;margin-top:-4px;margin-bottom:4px}.automation-ding-message-box{border:1px solid #d9d9d9;border-radius:var(--radius-card);overflow:hidden;background:#fff}.automation-ding-editor-main{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch;height:360px;max-height:360px}.automation-ding-editor-live-shell{position:relative;display:flex;flex-direction:column;min-height:0}.automation-ding-hidden-editor-anchor{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;pointer-events:none}.automation-ding-editor-live-shell .automation-ding-editor-main{flex:1;min-height:0;height:auto;max-height:none}.automation-ding-editor-pane{position:relative;padding:10px 12px 12px;min-height:0;height:100%;display:flex;flex-direction:column;overflow:hidden}.automation-ding-editor-pane.is-placeholder-drop-active{background:#f8fbff;box-shadow:inset 0 0 0 2px #1677ff38}.automation-ding-editor-pane:focus-within{box-shadow:inset 0 0 0 2px #1677ff2e}.automation-ding-editor-pane.is-placeholder-drop-active:after{position:absolute;top:8px;right:8px;bottom:8px;left:8px;border:1px dashed rgba(22,119,255,.38);border-radius:var(--radius-panel);content:"";pointer-events:none}.automation-ding-split-mode-switch{position:absolute;top:8px;right:8px;z-index:3;display:flex;animation:automation-ding-switch-pop .14s ease-out}.automation-ding-split-mode-button{width:32px;height:24px;padding:0;border:1px solid rgba(148,163,184,.42);border-radius:6px;background:#ffffffc7;color:#2563eb;font-size:11px;font-weight:600;line-height:22px;cursor:pointer;box-shadow:0 4px 12px #0f172a1f;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,color .16s ease,transform .12s ease}.automation-ding-split-mode-button:hover{border-color:#2563eb61;background:#fffffff0;color:#0958d9;box-shadow:0 6px 16px #0f172a29;transform:translateY(-1px)}.automation-ding-split-mode-button:active{transform:translateY(0) scale(.96)}.automation-ding-editor-pane.is-split-left-pane .automation-ding-tiptap-scroll-region{animation:automation-ding-split-pane-in .17s ease-out}@keyframes automation-ding-switch-pop{0%{opacity:0;transform:translateY(-2px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes automation-ding-split-pane-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.automation-ding-split-mode-switch,.automation-ding-editor-pane.is-split-left-pane .automation-ding-tiptap-scroll-region{animation:none}.automation-ding-split-mode-button{transition:none}}.automation-ding-lexical-shell{position:relative;flex:1;display:flex;flex-direction:column;min-height:0}.automation-ding-lexical-editor{position:relative;flex:1;min-height:0}.automation-ding-lexical-content{min-height:0;height:100%;max-height:100%;outline:none;white-space:pre-wrap;word-break:break-word;line-height:1.65;color:#0f172a;overflow-y:auto}.automation-ding-lexical-placeholder{position:absolute;top:2px;left:0;color:#94a3b8;pointer-events:none;-webkit-user-select:none;user-select:none}.automation-ding-tiptap-scroll-region{flex:1;min-height:0;height:100%;overflow:hidden}.automation-ding-source-editor::-webkit-scrollbar,.automation-ding-preview-inline::-webkit-scrollbar{width:10px;height:10px}.automation-ding-source-editor::-webkit-scrollbar-track,.automation-ding-preview-inline::-webkit-scrollbar-track{background:transparent}.automation-ding-source-editor::-webkit-scrollbar-thumb,.automation-ding-preview-inline::-webkit-scrollbar-thumb{border:2px solid transparent;border-radius:999px;background:#94a3b88c;background-clip:padding-box}.automation-ding-source-editor::-webkit-scrollbar-thumb:hover,.automation-ding-preview-inline::-webkit-scrollbar-thumb:hover{background:#64748bb8;background-clip:padding-box}.automation-ding-tiptap-content{min-height:100%;height:100%}.automation-ding-source-editor{display:block;width:100%;height:100%;min-height:100%;padding:0;border:0;outline:none;resize:none;background:transparent;color:#0f172a;caret-color:#1677ff;font:inherit;line-height:1.65;white-space:pre-wrap;word-break:break-word;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:rgba(148,163,184,.85) transparent}.automation-ding-source-editor::placeholder{color:#94a3b8}.automation-ding-editor-loading{display:grid;place-items:center;min-height:100%;color:#94a3b8;font-size:13px}.automation-ding-tiptap-toolbar{margin-bottom:10px;flex-wrap:wrap;align-self:stretch;max-width:100%}.automation-ding-tiptap-toolbar.tiptap-toolbar[data-variant=floating]{padding:2px;border-radius:6px;border-color:#0f172a14;box-shadow:0 10px 24px -18px #0f172a47}.automation-ding-tiptap-toolbar .tiptap-toolbar-group{gap:2px}.automation-ding-tiptap-toolbar .tiptap-button{height:30px;min-width:30px;padding:6px;border-radius:4px}.automation-ding-tiptap-toolbar .tiptap-button .tiptap-button-text{line-height:18px}.automation-ding-image-popover{width:fit-content;max-width:calc(100vw - 24px)}.automation-ding-image-input{width:100%;min-width:0;height:34px;padding:7px 10px;border:1px solid rgba(148,163,184,.28);border-radius:8px;outline:none;background:#f8fafceb;color:#0f172a;font:inherit;transition:border-color .16s ease,box-shadow .16s ease}.automation-ding-image-input:focus{border-color:#1677ff61;box-shadow:0 0 0 3px #1677ff1a}.automation-ding-image-card-body{min-width:0;padding:4px}.automation-ding-image-row{width:auto;gap:4px}.automation-ding-image-input-group{flex:0 0 auto;min-width:0}.automation-ding-image-url-group{width:220px}.automation-ding-image-alt-group{width:84px}.automation-ding-image-actions{display:flex;justify-content:flex-end}.automation-ding-image-button-group{flex:0 0 auto;gap:4px}.automation-ding-image-button{width:auto!important;min-width:34px!important;height:34px!important;padding:6px!important;justify-content:center!important;border-radius:8px!important}.automation-ding-image-button:disabled{opacity:.45;cursor:not-allowed;pointer-events:none;box-shadow:none!important}.automation-ding-image-button:disabled:hover{background:transparent!important}.automation-ding-image-button .tiptap-button-text,.automation-ding-image-button{font-size:12px;font-weight:500}.automation-ding-view-mode-button{min-width:34px}.automation-ding-view-mode-button .anticon{font-size:14px}.automation-ding-view-mode-button.is-active{background:#1677ff1f;color:#0958d9;box-shadow:inset 0 0 0 1px #1677ff33}.tiptap-card{border-radius:8px;box-shadow:0 14px 28px -18px #0f172a4d}body>div[data-radix-popper-content-wrapper]:has(.tiptap-popover),body>div[data-radix-popper-content-wrapper]:has(.tiptap-dropdown-menu){z-index:1400!important}.tiptap-popover,.tiptap-dropdown-menu{z-index:1400!important;border:1px solid rgba(15,23,42,.08);border-radius:var(--radius-lg);background:#fffffff5;box-shadow:0 18px 36px -20px #0f172a59;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);overflow:hidden}.tiptap-popover .tiptap-card,.tiptap-dropdown-menu .tiptap-card{border:0;border-radius:0;box-shadow:none;background:transparent}.tiptap-popover .tiptap-card-body,.tiptap-dropdown-menu .tiptap-card-body{padding:6px}.tiptap-dropdown-menu .tiptap-button-group,.tiptap-popover .tiptap-button-group{gap:2px}.tiptap-dropdown-menu .tiptap-button,.tiptap-popover .tiptap-button{justify-content:flex-start;width:100%;min-width:0;height:32px;padding:6px 10px;border-radius:6px}.tiptap-dropdown-menu .tiptap-button .tiptap-button-text,.tiptap-popover .tiptap-button .tiptap-button-text{line-height:20px}.automation-ding-placeholder-popover{width:min(560px,calc(100vw - 32px))}.automation-ding-placeholder-menu{display:flex;flex-direction:column;gap:10px;max-height:min(42vh,320px);overflow-y:auto;padding:4px}.automation-ding-placeholder-group{display:flex;flex-direction:column;gap:6px}.automation-ding-placeholder-group-title{font-size:12px;font-weight:600;color:#475569;letter-spacing:.02em}.automation-ding-placeholder-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.automation-ding-placeholder-item{display:flex;flex-direction:column;align-items:flex-start;gap:2px;width:100%;padding:7px 8px;border:1px solid rgba(15,23,42,.08);border-radius:6px;background:#fff;text-align:left;cursor:pointer;transition:border-color .16s ease,background-color .16s ease,transform .16s ease}.automation-ding-placeholder-item:hover{border-color:#1677ff47;background:#f8fafc;transform:translateY(-1px)}.automation-ding-placeholder-token{font-family:SFMono-Regular,SF Mono,Consolas,Liberation Mono,monospace;font-size:11px;color:#0f172a}.automation-ding-placeholder-desc{font-size:11px;color:#64748b;line-height:1.35;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}@media(max-width:768px){.automation-ding-placeholder-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.automation-ding-placeholder-popover{width:min(360px,calc(100vw - 24px))}.automation-ding-placeholder-list{grid-template-columns:minmax(0,1fr)}}.automation-ding-markdown-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:-2px -2px 10px;padding:0 2px 10px;border-bottom:1px solid #f0f0f0}.automation-ding-markdown-group{display:inline-flex;align-items:center;gap:4px;padding:2px;border:1px solid #eef2f7;border-radius:var(--radius-control);background:#f8fafc}.automation-ding-markdown-tool{min-width:32px;height:28px;padding:0 8px;border:0;border-radius:calc(var(--radius-control) - 1px);background:transparent;color:#475569;font-size:12px;line-height:28px;font-weight:600;cursor:pointer;transition:background-color .16s ease,color .16s ease,box-shadow .16s ease}.automation-ding-markdown-tool:hover:not(:disabled){background:#fff;color:#0f172a}.automation-ding-markdown-tool.is-active{background:#fff;color:#0958d9;box-shadow:inset 0 0 0 1px #1677ff33}.automation-ding-markdown-tool:disabled{opacity:.45;cursor:not-allowed}.automation-ding-markdown-variable-group{min-width:0}.automation-ding-markdown-variable-select{width:132px;max-width:100%;height:28px;border:0;border-radius:calc(var(--radius-control) - 1px);background:transparent;color:#475569;font:inherit;font-size:12px;font-weight:600;outline:none;cursor:pointer}.automation-ding-markdown-variable-select:hover:not(:disabled),.automation-ding-markdown-variable-select:focus{background:#fff;color:#0f172a;box-shadow:inset 0 0 0 1px #1677ff33}.automation-ding-markdown-variable-select:disabled{opacity:.45;cursor:not-allowed}.automation-ding-tiptap-content .ProseMirror,.automation-ding-tiptap-prosemirror{height:100%;min-height:100%;outline:none;white-space:pre-wrap;word-break:break-word;line-height:1.65;color:#0f172a;caret-color:#1677ff;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:rgba(148,163,184,.85) transparent}.automation-ding-tiptap-content .ProseMirror p,.automation-ding-tiptap-prosemirror p{margin:0 0 .5em}.automation-ding-tiptap-content .ProseMirror p:last-child,.automation-ding-tiptap-prosemirror p:last-child{margin-bottom:0}.automation-ding-tiptap-content .ProseMirror p.is-editor-empty:first-child:before,.automation-ding-tiptap-prosemirror p.is-editor-empty:first-child:before{content:attr(data-placeholder);float:left;color:#94a3b8;pointer-events:none;height:0}.automation-ding-tiptap-content .automation-ding-inline-mention,.automation-ding-tiptap-prosemirror .automation-ding-inline-mention{border-radius:6px;background:#1677ff24;box-shadow:inset 0 0 0 1px #1677ff38;color:#0958d9;font-weight:600}.automation-ding-tiptap-content .automation-ding-inline-placeholder,.automation-ding-tiptap-prosemirror .automation-ding-inline-placeholder{display:inline-flex;align-items:center;max-width:min(100%,280px);min-height:20px;padding:0 7px;border:1px solid rgba(22,119,255,.24);border-radius:6px;background:#eef6ff;color:#0958d9;cursor:grab;font-size:12px;font-weight:600;letter-spacing:0;line-height:18px;overflow:hidden;text-decoration:none;text-overflow:ellipsis;transform:translateY(-1px);vertical-align:middle;white-space:nowrap;-webkit-user-select:none;user-select:none}.automation-ding-tiptap-content .automation-ding-inline-placeholder:active,.automation-ding-tiptap-prosemirror .automation-ding-inline-placeholder:active{cursor:grabbing}.automation-ding-tiptap-content .automation-ding-inline-placeholder.ProseMirror-selectednode,.automation-ding-tiptap-prosemirror .automation-ding-inline-placeholder.ProseMirror-selectednode{border-color:#1677ff;background:#dbeafe;box-shadow:0 0 0 2px #1677ff33;outline:none}.automation-ding-mention-popup{position:fixed;z-index:1100;min-width:180px;max-width:260px;max-height:240px;overflow-y:auto;padding:6px;border:1px solid rgba(15,23,42,.08);border-radius:var(--radius-card);background:#fff;box-shadow:0 18px 36px -16px #0f172a47}.automation-ding-mention-popup-item{display:block;width:100%;padding:8px 10px;border:0;border-radius:var(--radius-control);background:transparent;color:#0f172a;text-align:left;cursor:pointer}.automation-ding-mention-popup-item:hover,.automation-ding-mention-popup-item.is-active{background:#f0f7ff;color:#0958d9}.automation-ding-mention-popup-empty{padding:8px 10px;color:#94a3b8;font-size:12px}.automation-ding-inline-mention{display:inline;padding:0;margin:0;border-radius:0;background:transparent;color:#0958d9;font-weight:500}.automation-ding-editor-count{text-align:right;font-size:12px;line-height:20px;color:#94a3b8;white-space:nowrap}.automation-ding-preview-section{padding:10px 12px 12px;background:#fafcff;display:flex;flex-direction:column;gap:8px;min-height:0;height:100%}.automation-ding-preview-section.is-split{border-left:1px solid #f0f0f0}.automation-ding-message-tags{border-top:1px dashed #e5e7eb;padding:8px 10px;background:#fafafa}.automation-ding-mention-toolbar{justify-content:space-between}.automation-ding-mention-select .ant-select-selection-overflow-item{max-width:100%}.automation-ding-mention-tag-text{display:inline-block;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom}.automation-ding-mention-tag--pending-delete{background:#fff1f0!important;color:#cf1322!important}.automation-ding-preview-item .ant-form-item-label{padding-bottom:6px}.automation-ding-preview-inline{min-height:0;max-height:none;height:100%;overflow-y:auto;scrollbar-width:thin;scrollbar-color:rgba(148,163,184,.85) transparent;font-size:13px;line-height:1.6}.automation-ding-tiptap-preview h1,.automation-ding-tiptap-preview h2,.automation-ding-tiptap-preview h3,.automation-ding-tiptap-preview h4,.automation-ding-tiptap-preview h5,.automation-ding-tiptap-preview h6{margin:0 0 .6em;color:#0f172a}.automation-ding-tiptap-preview ul,.automation-ding-tiptap-preview ol{margin:0 0 .8em;padding-left:1.4em}.automation-ding-tiptap-preview p{margin:0 0 .8em}.automation-ding-tiptap-preview pre{margin:8px 0;padding:10px 12px;border-radius:var(--radius-control);background:#0f172a;color:#e2e8f0;overflow-x:auto}.automation-ding-tiptap-preview pre code{color:inherit;background:transparent}.automation-ding-tiptap-preview code{padding:1px 4px;border-radius:4px;background:#e2e8f0;color:#0f172a}.automation-ding-tiptap-preview a{color:#1677ff;text-decoration:underline}.automation-ding-tiptap-preview img{max-width:100%;height:auto;border-radius:var(--radius-control)}.automation-ding-tiptap-preview hr{border:0;border-top:1px solid #dbe2ea;margin:10px 0}.automation-ding-preview-inline blockquote{margin:8px 0;padding:6px 10px;border-left:3px solid #91caff;background:#f5faff;color:#334155}.automation-ding-preview-inline blockquote>*:first-child{margin-top:0}.automation-ding-preview-inline blockquote>*:last-child{margin-bottom:0}.automation-ding-advanced{border-radius:var(--radius-card)}@media(max-width:768px){.automation-template-editor-skeleton-grid,.automation-template-editor-skeleton-columns,.automation-user-search-table-skeleton-row,.automation-template-manager-basic-grid,.automation-template-manager-form-grid{grid-template-columns:1fr}.automation-template-manager-stage-header,.automation-template-manager-meta-row{flex-direction:column;align-items:flex-start}.automation-user-search-table-skeleton-header{display:none}.automation-user-search-table-skeleton-row{gap:10px}.automation-ding-editor-main{grid-template-columns:1fr;height:auto;max-height:none}.automation-ding-editor-pane,.automation-ding-preview-section{height:260px;max-height:260px}.automation-ding-preview-section{border-left:none;border-top:1px solid #f0f0f0}}
