:root{
  --theme-bg:#f5f7fc;--theme-bg-2:#eef5ff;--theme-surface:#fff;--theme-surface-glass:rgba(255,255,255,.9);--theme-soft:#f6f5ff;
  --theme-text:#20243a;--theme-muted:#7c849b;--theme-primary:#705cf2;--theme-primary-2:#5275f0;--theme-accent:#53cbd0;
  --theme-line:#e3e6f1;--theme-shadow:0 14px 40px rgba(52,48,105,.09);--theme-mix-base:#fff;
  --theme-art:radial-gradient(circle at 85% 2%,rgba(112,92,242,.15),transparent 28%),radial-gradient(circle at 18% 95%,rgba(83,203,208,.13),transparent 30%),linear-gradient(145deg,#f8f9ff,#f2f6fc);
}
:root[data-theme="pure"]{--theme-bg:#fff;--theme-bg-2:#fff;--theme-surface:#fff;--theme-surface-glass:rgba(255,255,255,.98);--theme-soft:#f6f7fa;--theme-text:#1f2432;--theme-muted:#747c8f;--theme-primary:#5969df;--theme-primary-2:#5969df;--theme-accent:#5969df;--theme-line:#e4e7ee;--theme-shadow:0 12px 34px rgba(32,40,72,.07);--theme-mix-base:#fff;--theme-art:#fff}
:root[data-theme="midnight"]{--theme-bg:#090d18;--theme-bg-2:#0d1322;--theme-surface:#131b2d;--theme-surface-glass:#131b2d;--theme-soft:#1a253a;--theme-text:#eef3ff;--theme-muted:#96a4c0;--theme-primary:#8b7cff;--theme-primary-2:#627fff;--theme-accent:#42d3c8;--theme-line:#2a3958;--theme-shadow:0 16px 42px rgba(0,0,0,.28);--theme-mix-base:#131b2d;--theme-art:radial-gradient(circle at 88% 0,rgba(98,127,255,.13),transparent 28%),radial-gradient(circle at 16% 96%,rgba(66,211,200,.08),transparent 30%),linear-gradient(145deg,#0a0f1c,#0d1424)}
:root[data-theme="ocean"]{--theme-bg:#eff7ff;--theme-bg-2:#e7f3ff;--theme-soft:#eef7ff;--theme-text:#17314f;--theme-muted:#6d8298;--theme-primary:#2878e8;--theme-primary-2:#2fa8d7;--theme-accent:#45c7d9;--theme-line:#d9e8f3;--theme-shadow:0 14px 40px rgba(34,100,155,.1);--theme-art:radial-gradient(circle at 88% 3%,rgba(69,199,217,.2),transparent 30%),radial-gradient(circle at 18% 92%,rgba(40,120,232,.14),transparent 29%),linear-gradient(145deg,#f6fbff,#eaf5ff)}
:root[data-theme="mint"]{--theme-bg:#effaf6;--theme-bg-2:#e6f7f0;--theme-soft:#edf9f4;--theme-text:#173b34;--theme-muted:#66877e;--theme-primary:#12a880;--theme-primary-2:#42c596;--theme-accent:#75d9b6;--theme-line:#d7ebe4;--theme-shadow:0 14px 40px rgba(27,121,93,.09);--theme-art:radial-gradient(circle at 88% 0,rgba(117,217,182,.22),transparent 29%),radial-gradient(circle at 17% 96%,rgba(18,168,128,.14),transparent 31%),linear-gradient(145deg,#f7fcfa,#eaf8f2)}
:root[data-theme="peach"]{--theme-bg:#fff5f1;--theme-bg-2:#ffede8;--theme-soft:#fff3ef;--theme-text:#4a2d31;--theme-muted:#967379;--theme-primary:#ed6f76;--theme-primary-2:#f2936d;--theme-accent:#ffb07b;--theme-line:#f0dfdc;--theme-shadow:0 14px 40px rgba(159,78,82,.09);--theme-art:radial-gradient(circle at 86% 1%,rgba(255,176,123,.24),transparent 30%),radial-gradient(circle at 15% 95%,rgba(237,111,118,.14),transparent 31%),linear-gradient(145deg,#fffaf8,#fff0eb)}
:root[data-theme="sunset"]{--theme-bg:#fff8ea;--theme-bg-2:#fff1d9;--theme-soft:#fff7e8;--theme-text:#493522;--theme-muted:#927d63;--theme-primary:#e88725;--theme-primary-2:#f0ab36;--theme-accent:#ffc65c;--theme-line:#eee1c9;--theme-shadow:0 14px 40px rgba(153,102,29,.09);--theme-art:radial-gradient(circle at 84% 0,rgba(255,198,92,.26),transparent 31%),radial-gradient(circle at 18% 96%,rgba(232,135,37,.14),transparent 29%),linear-gradient(145deg,#fffdf7,#fff3df)}
:root[data-theme="sakura"]{--theme-bg:#fff4f9;--theme-bg-2:#ffeef6;--theme-soft:#fff3f8;--theme-text:#4b2940;--theme-muted:#96758a;--theme-primary:#d85998;--theme-primary-2:#ed7cab;--theme-accent:#ff9ebd;--theme-line:#efdde7;--theme-shadow:0 14px 40px rgba(142,59,107,.09);--theme-art:radial-gradient(circle at 86% 0,rgba(255,158,189,.24),transparent 31%),radial-gradient(circle at 17% 95%,rgba(216,89,152,.14),transparent 30%),linear-gradient(145deg,#fffafd,#fff0f7)}
:root[data-theme="glacier"]{--theme-bg:#effaff;--theme-bg-2:#e7f8fb;--theme-soft:#edfafd;--theme-text:#17384a;--theme-muted:#688794;--theme-primary:#1889b7;--theme-primary-2:#35b7bf;--theme-accent:#62d9d1;--theme-line:#d5e9ed;--theme-shadow:0 14px 40px rgba(30,117,142,.09);--theme-art:radial-gradient(circle at 88% 1%,rgba(98,217,209,.24),transparent 30%),radial-gradient(circle at 16% 94%,rgba(24,137,183,.14),transparent 29%),linear-gradient(145deg,#f7fdff,#eaf8fb)}
:root[data-theme="aurora"]{--theme-bg:#f3f6ff;--theme-bg-2:#eaf7f7;--theme-soft:#f3f2ff;--theme-text:#282b50;--theme-muted:#747b9b;--theme-primary:#7457f5;--theme-primary-2:#26bcb5;--theme-accent:#72dfd4;--theme-line:#dee2f1;--theme-shadow:0 16px 44px rgba(78,69,153,.11);--theme-art:radial-gradient(circle at 86% 4%,rgba(39,200,189,.24),transparent 31%),radial-gradient(circle at 15% 92%,rgba(116,87,245,.22),transparent 31%),linear-gradient(135deg,#f8f5ff 0%,#eef8ff 48%,#ecfbf7 100%)}
:root[data-theme="dawn"]{--theme-bg:#fff4f2;--theme-bg-2:#f8efff;--theme-soft:#fff4f5;--theme-text:#472d45;--theme-muted:#8e738e;--theme-primary:#ef6f8d;--theme-primary-2:#9c70e9;--theme-accent:#ffaf6e;--theme-line:#ebdfe9;--theme-shadow:0 16px 44px rgba(132,74,121,.11);--theme-art:radial-gradient(circle at 85% 2%,rgba(174,124,255,.23),transparent 30%),radial-gradient(circle at 16% 94%,rgba(255,158,99,.22),transparent 31%),linear-gradient(135deg,#fff7ed 0%,#fff0f5 47%,#f5f0ff 100%)}
:root[data-theme="prism"]{--theme-bg:#f4f3ff;--theme-bg-2:#fff0f8;--theme-soft:#f6f2ff;--theme-text:#332d55;--theme-muted:#7c739b;--theme-primary:#665ef0;--theme-primary-2:#a65fd9;--theme-accent:#f379b5;--theme-line:#e2def0;--theme-shadow:0 16px 44px rgba(91,72,159,.12);--theme-art:radial-gradient(circle at 88% 2%,rgba(243,121,181,.23),transparent 30%),radial-gradient(circle at 15% 94%,rgba(93,125,244,.2),transparent 30%),linear-gradient(135deg,#f2f7ff 0%,#f5f0ff 48%,#fff1f8 100%)}

:root[data-theme]{--bg:var(--theme-bg);--surface:var(--theme-surface);--surface-2:var(--theme-soft);--line:var(--theme-line);--text:var(--theme-text);--muted:var(--theme-muted);--primary:var(--theme-primary);--shadow:var(--theme-shadow);color:var(--theme-text);background:var(--theme-bg)}
body{color:var(--theme-text);background:var(--theme-art);background-attachment:fixed}
.app-shell:before{background:var(--theme-art);opacity:.95}
.sidebar{background:color-mix(in srgb,var(--theme-surface) 88%,transparent);border-color:var(--theme-line)}
.main{isolation:isolate}
.topbar{position:relative;z-index:50;overflow:visible}
.metrics,.workspace{position:relative;z-index:1}
.topbar,.workspace,.metric{color:var(--theme-text);background:var(--theme-surface-glass);border-color:var(--theme-line);box-shadow:var(--theme-shadow)}
.topbar h1,.workspace h2,.metric strong,.ticket-button,.profile-settings-card h3,.profile-identity-copy h2,.detail-section h3{color:var(--theme-text)}
.brand-sub,.sidebar-status,.today span,.metric p,.metric small,.muted,.meta{color:var(--theme-muted)}
.logo-mark,.avatar,.person-avatar,.profile-avatar,.issuer-avatar,.assignee-avatar,.multi-picker-avatar,.locked-operator-avatar{background:linear-gradient(135deg,var(--theme-primary),var(--theme-accent))}
.nav button{color:var(--theme-muted)}.nav button:hover,.nav button.active{color:var(--theme-primary);background:linear-gradient(90deg,color-mix(in srgb,var(--theme-primary) 15%,transparent),transparent)}.nav i{color:var(--theme-primary)}
.primary{background:linear-gradient(135deg,var(--theme-primary),var(--theme-primary-2));box-shadow:0 9px 22px color-mix(in srgb,var(--theme-primary) 24%,transparent)}
.secondary,.chip{color:var(--theme-primary);background:color-mix(in srgb,var(--theme-primary) 7%,var(--theme-mix-base));border-color:color-mix(in srgb,var(--theme-primary) 23%,var(--theme-mix-base))}
.eyebrow{color:color-mix(in srgb,var(--theme-primary) 76%,var(--theme-accent))}
.search,.field input,.field textarea,.field select,.management-create input,.management-create select,.shop-create-page input,.account-create-v2 input,.account-create-v2 select,.profile-compact-form input,.profile-compact-form select,.profile-password-form input,.multi-picker-trigger{color:var(--theme-text);background:color-mix(in srgb,var(--theme-surface) 94%,var(--theme-soft));border-color:var(--theme-line)}
.field input:focus,.field textarea:focus,.field select:focus,.search:focus-within{border-color:var(--theme-primary);box-shadow:0 0 0 4px color-mix(in srgb,var(--theme-primary) 13%,transparent)}
.table th{color:var(--theme-muted);background:color-mix(in srgb,var(--theme-soft) 78%,var(--theme-mix-base));border-color:var(--theme-line)}.table td{border-color:color-mix(in srgb,var(--theme-line) 70%,transparent)}.ticket-row:hover{background:color-mix(in srgb,var(--theme-primary) 6%,var(--theme-mix-base))}
.modal,.drawer,.profile-settings-card,.profile-identity-card,.person-card-v2,.shop-card,.ticket-fact,.detail-video-card,.assignment-panel,.videos-section,.video-card,.multi-picker-panel{color:var(--theme-text);background:var(--theme-surface);border-color:var(--theme-line);box-shadow:var(--theme-shadow)}
.profile-identity-card{background:linear-gradient(145deg,color-mix(in srgb,var(--theme-primary) 8%,var(--theme-mix-base)),color-mix(in srgb,var(--theme-accent) 9%,var(--theme-mix-base)))}
.ticket-copy-actions button,.ticket-copy-actions a,.theme-trigger{color:var(--theme-primary);background:color-mix(in srgb,var(--theme-primary) 7%,var(--theme-mix-base));border-color:color-mix(in srgb,var(--theme-primary) 22%,var(--theme-mix-base))}
.ticket-copy-actions button:hover,.ticket-copy-actions a:hover,.theme-trigger:hover{color:var(--theme-primary);background:color-mix(in srgb,var(--theme-primary) 13%,var(--theme-mix-base));border-color:color-mix(in srgb,var(--theme-primary) 38%,var(--theme-mix-base))}
.toast{border-color:color-mix(in srgb,var(--theme-primary) 30%,var(--theme-mix-base));background:color-mix(in srgb,var(--theme-primary) 15%,var(--theme-mix-base));color:var(--theme-text)}

.chip,.date-preset,.range-popover summary,.ticket-scope-switch button{position:relative;isolation:isolate;overflow:hidden;transition:transform .2s cubic-bezier(.2,.8,.2,1),box-shadow .2s ease,border-color .2s ease,background-color .2s ease,color .2s ease}
.chip:after,.date-preset:after,.range-popover summary:after,.ticket-scope-switch button:after{display:none!important}
.chip:hover,.date-preset:hover,.range-popover summary:hover,.ticket-scope-switch button:hover{z-index:2;transform:scale(1.045);color:var(--theme-primary);border-color:color-mix(in srgb,var(--theme-primary) 52%,var(--theme-mix-base));background:color-mix(in srgb,var(--theme-primary) 12%,var(--theme-mix-base));box-shadow:0 7px 18px color-mix(in srgb,var(--theme-primary) 20%,transparent);animation:none}
.chip:active,.date-preset:active,.range-popover summary:active,.ticket-scope-switch button:active{transform:scale(1.045)}
.chip.active,.date-preset.active,.range-popover summary.active,.range-popover[open] summary,.ticket-scope-switch button.active{color:#fff!important;background:linear-gradient(135deg,var(--theme-primary),var(--theme-primary-2))!important;border-color:transparent!important;box-shadow:0 8px 22px color-mix(in srgb,var(--theme-primary) 34%,transparent),inset 0 1px 0 rgba(255,255,255,.3)!important;transform:translateZ(0)}
.chip.active:hover,.date-preset.active:hover,.range-popover summary.active:hover,.range-popover[open] summary:hover,.ticket-scope-switch button.active:hover{transform:scale(1.045);box-shadow:0 9px 24px color-mix(in srgb,var(--theme-primary) 38%,transparent),inset 0 1px 0 rgba(255,255,255,.3)!important}
.ticket-scope-switch button.active i{background:#fff!important;box-shadow:0 0 0 3px rgba(255,255,255,.22)!important}
.chip:focus-visible,.date-preset:focus-visible,.range-popover summary:focus-visible,.ticket-scope-switch button:focus-visible{outline:3px solid color-mix(in srgb,var(--theme-primary) 28%,transparent);outline-offset:3px}

:root[data-theme="pure"] .primary,:root[data-theme="midnight"] .primary,:root[data-theme="pure"] .logo-mark,:root[data-theme="midnight"] .logo-mark,:root[data-theme="pure"] .avatar,:root[data-theme="midnight"] .avatar{background:var(--theme-primary)}
:root[data-theme="midnight"] .filters,:root[data-theme="midnight"] .workspace-head,:root[data-theme="midnight"] .today{border-color:var(--theme-line)}
:root[data-theme="midnight"] .ticket-scope-switch,:root[data-theme="midnight"] .range-panel{background:var(--theme-surface);border-color:var(--theme-line);box-shadow:var(--theme-shadow)}
:root[data-theme="midnight"] .range-panel label,:root[data-theme="midnight"] .person-main small,:root[data-theme="midnight"] .assignee-names small{color:var(--theme-muted)}
:root[data-theme="midnight"] .range-panel input,:root[data-theme="midnight"] .close{color:var(--theme-text);background:var(--theme-soft);border-color:var(--theme-line)}
:root[data-theme="midnight"] .ticket-detail-drawer>.ticket-copy-actions,:root[data-theme="midnight"] .collection-current-title,:root[data-theme="midnight"] .video-batch-toolbar,:root[data-theme="midnight"] .detail-drawer-head{background:var(--theme-surface);border-color:var(--theme-line)}
:root[data-theme="midnight"] .person-main b,:root[data-theme="midnight"] .assignee-names b,:root[data-theme="midnight"] .multi-picker-selection>b,:root[data-theme="midnight"] .profile-mini-facts dd{color:var(--theme-text)}
:root[data-theme="midnight"] .account-create-v2{border-color:#2d3c5b;background:#111a2c;box-shadow:0 10px 28px rgba(0,0,0,.16)}
:root[data-theme="midnight"] .account-create-v2>label,:root[data-theme="midnight"] .create-member-fields>label,:root[data-theme="midnight"] .person-controls-v2 label,:root[data-theme="midnight"] .account-multi-field{color:#a9b6cf}
:root[data-theme="midnight"] .account-create-v2 input,:root[data-theme="midnight"] .account-create-v2 select,:root[data-theme="midnight"] .person-controls-v2 select,:root[data-theme="midnight"] .multi-picker-trigger{border-color:#33435f;background-color:#0d1525;color:#eef3ff;box-shadow:inset 0 1px 0 rgba(255,255,255,.025)}
:root[data-theme="midnight"] .account-create-v2 input::placeholder{color:#687793}
:root[data-theme="midnight"] .account-create-v2 input:focus,:root[data-theme="midnight"] .account-create-v2 select:focus,:root[data-theme="midnight"] .person-controls-v2 select:focus,:root[data-theme="midnight"] .multi-picker-trigger:focus-visible{border-color:#8274ff;box-shadow:0 0 0 4px rgba(130,116,255,.15)}
:root[data-theme="midnight"] .person-card-v2{border-color:#2a3957;background:#111a2c;box-shadow:0 9px 24px rgba(0,0,0,.13)}
:root[data-theme="midnight"] .person-card-v2:hover{border-color:#3a4c70;box-shadow:0 13px 30px rgba(0,0,0,.19)}
:root[data-theme="midnight"] .person-summary-v2 b{color:#eef3ff}
:root[data-theme="midnight"] .person-summary-v2 small{color:#8796b2}
:root[data-theme="midnight"] .person-controls-v2{background:#182338}
:root[data-theme="midnight"] .person-card-v2 .person-actions{border-color:#2a3957}
:root[data-theme="midnight"] .multi-picker-panel{border-color:#33435f;background:#111a2c;box-shadow:0 20px 50px rgba(0,0,0,.35)}
:root[data-theme="midnight"] .multi-picker-head b,:root[data-theme="midnight"] .multi-picker-option>span b{color:#edf2ff}
:root[data-theme="midnight"] .multi-picker-head small,:root[data-theme="midnight"] .multi-picker-option>span small{color:#8695b0}
:root[data-theme="midnight"] .multi-picker-option{background:#172238}
:root[data-theme="midnight"] .multi-picker-option:hover,:root[data-theme="midnight"] .multi-picker-option:has(input:checked){border-color:#4b4f87;background:#211f43}
:root[data-theme="midnight"] .operator-picker-option{background:#172238;color:#edf2ff}:root[data-theme="midnight"] .operator-picker-option>span b{color:#edf2ff}:root[data-theme="midnight"] .operator-picker-option>span small{color:#8695b0}:root[data-theme="midnight"] .operator-picker-option:hover,:root[data-theme="midnight"] .operator-picker-option.selected{border-color:#4b4f87;background:#211f43}
:root[data-theme="midnight"] .editor-ticket-filter{border:1px solid #2b3a59;background:#111a2c!important;box-shadow:0 28px 80px rgba(0,0,0,.42)}
:root[data-theme="midnight"] .operator-filter-card{border-color:#30405f;background:#182338;color:#eef3ff}
:root[data-theme="midnight"] .operator-filter-card small{color:#8f9db8}
:root[data-theme="midnight"] .operator-filter-card>i{color:#9b90ff}
:root[data-theme="midnight"] .operator-filter-card:hover,:root[data-theme="midnight"] .operator-filter-card.selected{border-color:#685fc0;background:#211f43;box-shadow:0 0 0 3px rgba(139,124,255,.09)}
:root[data-theme="midnight"] .settings-status{border:1px solid #3a4670;background:#211f43;color:#b8afff}

/* Readability pass: supporting copy remains secondary without becoming faint. */
:root[data-theme]:not([data-theme="midnight"]){--theme-muted:color-mix(in srgb,var(--theme-text) 64%,var(--theme-surface))}
.table th{color:color-mix(in srgb,var(--theme-text) 66%,var(--theme-surface));font-weight:850}
.table td{color:var(--theme-text)}
.ticket-button b{font-weight:800}
.ticket-button small,.table .date,.table .person small{color:color-mix(in srgb,var(--theme-text) 55%,var(--theme-surface));font-weight:700}
.issuer-person b,.assignee-names b{color:var(--theme-text)!important;font-size:13px;font-weight:850;letter-spacing:.01em}
.issuer-person small,.assignee-names small{color:color-mix(in srgb,var(--theme-text) 57%,var(--theme-surface));font-size:10px;font-weight:800;letter-spacing:.025em}
.workspace .muted,.workspace .meta,.workspace-head p,.today span,.metric p,.metric small{color:color-mix(in srgb,var(--theme-text) 57%,var(--theme-surface))}
:root[data-theme="midnight"] .shop-create-page input{border-color:#33435f!important;background:#0d1525!important;color:#eef3ff!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.025)!important}
:root[data-theme="midnight"] .shop-create-page input::placeholder{color:#72809b}
:root[data-theme="midnight"] .shop-create-page input:focus{border-color:#8274ff!important;background:#0d1525!important;box-shadow:0 0 0 4px rgba(130,116,255,.15)!important}
:root[data-theme="midnight"] .shop-card{border-color:#2b3a58;background:#111a2c;box-shadow:0 8px 22px rgba(0,0,0,.12)}
:root[data-theme="midnight"] .shop-card:hover{border-color:#4d4d82;background:#151f34}
:root[data-theme="midnight"] .shop-card b{color:#edf2ff}
:root[data-theme="midnight"] .shop-card small{color:#8998b3}
:root[data-theme="midnight"] .shop-icon{background:#25244a;color:#a99eff}
:root[data-theme="midnight"] .profile-settings-card{border-color:#2b3a58;background:#111a2c}
:root[data-theme="midnight"] .profile-identity-card{border-color:#33435f;background:radial-gradient(circle at 50% 0,rgba(139,124,255,.16),transparent 44%),linear-gradient(155deg,#18233a,#122033)}
:root[data-theme="midnight"] .profile-identity-copy h2{color:#f1f4ff}
:root[data-theme="midnight"] .profile-identity-copy p:last-child,:root[data-theme="midnight"] .profile-compact-form label,:root[data-theme="midnight"] .profile-password-form label{color:#93a1bb}
:root[data-theme="midnight"] .profile-compact-form select,:root[data-theme="midnight"] .profile-password-form input{border-color:#33435f;background-color:#0d1525;color:#eef3ff}
:root[data-theme="midnight"] .profile-mini-facts,:root[data-theme="midnight"] .profile-mini-facts>div+div,:root[data-theme="midnight"] .profile-card-head{border-color:#2a3958}
:root[data-theme="midnight"] .profile-avatar-editor .profile-avatar{border-color:#263551}
:root[data-theme="midnight"] .profile-mini-facts dt{color:#8795af}
:root[data-theme="midnight"] .profile-mini-facts dd,:root[data-theme="midnight"] .profile-card-head h3{color:#eef3ff}
:root[data-theme="midnight"] .profile-card-head p{color:#8e9cb6}
:root[data-theme="midnight"] .ticket-detail-drawer .detail-video-empty{border-color:#2b3a58;background:#111a2c;color:#8998b3}
:root[data-theme="midnight"] .ticket-brief-inline{border-color:#514c91;border-left-color:#8b7cff;background:linear-gradient(135deg,#1a1d3b,#171e34);box-shadow:0 8px 20px rgba(0,0,0,.14)}
:root[data-theme="midnight"] .ticket-brief-heading b{color:#c0b9ff}
:root[data-theme="midnight"] .ticket-brief-heading small{color:#979fbe}
:root[data-theme="midnight"] .ticket-brief-field textarea{border-color:#45466f;background:#0d1525;color:#eef3ff}
:root[data-theme="midnight"] .ticket-brief-field textarea:focus{border-color:#8b7cff;box-shadow:0 0 0 4px rgba(139,124,255,.15)}
:root[data-theme="midnight"] .ticket-brief-field>i{background:#242349;color:#b8afff}
:root[data-theme="midnight"] .assignment-panel{border-color:#34435f;background:#111a2c}
:root[data-theme="midnight"] .assignment-panel b{color:#edf2ff}
:root[data-theme="midnight"] .assignment-panel small,:root[data-theme="midnight"] .locked-operator>span{color:#91a0ba}
:root[data-theme="midnight"] .locked-operator>div{border-color:#33435f;background:#0d1525;color:#eef3ff}
:root[data-theme="midnight"] .workflow-videos{border-color:#2c3b59;background:#111a2c}
:root[data-theme="midnight"] .workflow-videos .video-section-head b{color:#eef3ff}
:root[data-theme="midnight"] .workflow-videos .video-section-head small,:root[data-theme="midnight"] .video-head-toolbar label{color:#91a0ba}
:root[data-theme="midnight"] .video-card.compact-entry{border-color:#2d3c5a;background:#151f33;box-shadow:none}
:root[data-theme="midnight"] .video-card.compact-entry:focus-within{border-color:#8274ff;box-shadow:0 0 0 4px rgba(130,116,255,.13)}
:root[data-theme="midnight"] .video-compact-row .video-url-field{border-color:#354562;background:#0d1525;box-shadow:inset 0 1px 0 rgba(255,255,255,.025)}
:root[data-theme="midnight"] .video-compact-row .video-url-field input{color:#eef3ff}
:root[data-theme="midnight"] .workflow-videos .video-compact-row .note-toggle{border-color:#46456f;background:#1c2140;color:#b9b0ff}
:root[data-theme="midnight"] .workflow-videos .video-compact-row .note-toggle:hover,:root[data-theme="midnight"] .workflow-videos .video-compact-row .note-toggle.active{border-color:#756bd1;background:#292650;color:#d2ccff}
:root[data-theme="midnight"] .video-compact-row .remove-video{border-color:#35435d;background:#172137;color:#8e9bb4}
:root[data-theme="midnight"] .video-head-toolbar input{border-color:#33435f;background:#0d1525;color:#eef3ff}
:root[data-theme="midnight"] .workflow-videos .video-note-panel{border-color:#3b4166;background:#171d36}
:root[data-theme="midnight"] .workflow-videos .video-note-panel label{color:#b0a9dc}
:root[data-theme="midnight"] .workflow-videos .video-note-panel textarea{border-color:#3c4a66!important;background:#0d1525!important;color:#eef3ff!important}
:root[data-theme="midnight"] .ticket-detail-drawer{border-color:#2b3a58!important;background:#0f1728!important;color:#eef3ff!important;box-shadow:-28px 0 80px rgba(0,0,0,.42)!important}
:root[data-theme="midnight"] .ticket-detail-drawer .detail-drawer-head{border-color:#2a3958;background:linear-gradient(145deg,#151f34,#111a2c)}
:root[data-theme="midnight"] .ticket-detail-drawer .detail-drawer-head h2,:root[data-theme="midnight"] .collection-current-title h3,:root[data-theme="midnight"] .detail-section-title h3{color:#eef3ff}
:root[data-theme="midnight"] .ticket-detail-drawer .detail-drawer-scroll{background:#0f1728}
:root[data-theme="midnight"] .collection-product-tabs{border-color:#2a3958;background:#121b2e}
:root[data-theme="midnight"] .collection-product-picker{border-color:#2a3958;background:#121b2e}
:root[data-theme="midnight"] .collection-product-picker-head b{color:#e2e8fa}
:root[data-theme="midnight"] .collection-product-picker-head>div:first-child span,:root[data-theme="midnight"] .collection-status-legend{color:#9ba8c3}
:root[data-theme="midnight"] .collection-product-chip{border-color:#3a4567;background:#182238;color:#aeb9d2}
:root[data-theme="midnight"] .collection-product-chip:hover{border-color:#645bb5;background:#222043;color:#d0cbff}
:root[data-theme="midnight"] .collection-product-chip.active{border-color:#8b7cff;background:linear-gradient(135deg,#7768df,#586fda);color:#fff}
:root[data-theme="midnight"] .collection-current-title{border-color:#2a3958;background:#131b2d}
:root[data-theme="midnight"] .collection-current-title>span{background:#1c273c;color:#a6b3cc}
:root[data-theme="midnight"] .ticket-facts{border-color:#2a3958;background:#2a3958}
:root[data-theme="midnight"] .ticket-fact{background:#151f33}
:root[data-theme="midnight"] .ticket-fact span{color:#8d9bb5}
:root[data-theme="midnight"] .ticket-fact b{color:#eef3ff}
:root[data-theme="midnight"] .detail-video-overview{color:#a7b2ca}
:root[data-theme="midnight"] .detail-video-overview span{color:#b7afff}
:root[data-theme="midnight"] .detail-video-overview small{color:#8190aa}
:root[data-theme="midnight"] .detail-video-card,:root[data-theme="midnight"] .detail-video-card.note-expanded{border-color:#2e3d5b;background:#151f33}
:root[data-theme="midnight"] .detail-video-top a,:root[data-theme="midnight"] .video-reference-text{color:#c3bdff}
:root[data-theme="midnight"] .detail-video-card.compact em{color:#8997b0}
:root[data-theme="midnight"] .ticket-status-segment{border-color:#34435f;background:#111a2c;box-shadow:none}
:root[data-theme="midnight"] .ticket-status-segment button{color:#95a2bb}
:root[data-theme="midnight"] .ticket-status-segment button:hover{background:#1c273d;color:#eef3ff}
:root[data-theme="midnight"] .ticket-status-segment button.active{background:#222d43;box-shadow:inset 0 0 0 1px #3a4967}
:root[data-theme="midnight"] .collection-status-legend span.open{color:#ff9db8}
:root[data-theme="midnight"] .collection-status-legend span.progress,:root[data-theme="midnight"] .ticket-status-segment button.active.progress,:root[data-theme="midnight"] .ticket-status-segment .status-readonly.active.progress{color:#a9c2ff}
:root[data-theme="midnight"] .collection-status-legend span.done{color:#8ce9bd}
:root[data-theme="midnight"] .status.open{color:#ff9db8;background:#4a1b2c;border-color:#83364e}
:root[data-theme="midnight"] .status.progress{color:#a9c2ff;background:#17284f;border-color:#2f4f8c}
:root[data-theme="midnight"] .ticket-detail-drawer .detail-description-section{border-color:#285b5d;background:linear-gradient(135deg,#102b2d,#172638);box-shadow:none}
:root[data-theme="midnight"] .ticket-detail-drawer .detail-description-section .detail-section-title h3{color:#65dbd2}
:root[data-theme="midnight"] .ticket-detail-drawer .detail-description-section .detail-section-title span{color:#efb85f}
:root[data-theme="midnight"] .ticket-detail-drawer .detail-description-section .detail-text{border-color:#2d6867;border-left-color:#e6a947;background:#102427;color:#9be8e1;box-shadow:none}
:root[data-theme="midnight"] .detail-video-card.compact .detail-video-note-text{border-color:#2d6867;border-left-color:#3fb5a6;background:#102427;color:#8eddd5}
:root[data-theme="midnight"] .detail-note-reminder{border-color:#76541f;background:#2d2516;color:#f5c66d}
:root[data-theme="midnight"] .detail-video-card.compact .detail-video-note-text b{color:#5fd1c4}

.theme-switcher{position:relative;z-index:60}
.theme-trigger{display:flex;align-items:center;gap:7px;min-height:34px;padding:0 10px;border-width:1px;border-style:solid;border-radius:10px;font-size:11px;font-weight:850;transition:.16s}
.theme-trigger>i{width:17px;height:17px;flex:0 0 17px;border:2px solid rgba(255,255,255,.9);border-radius:6px;box-shadow:0 2px 7px rgba(46,47,78,.15)}.theme-trigger>b{color:var(--theme-muted);font-size:10px}
.theme-menu{position:absolute;z-index:100;top:calc(100% + 10px);right:0;width:390px;padding:14px;border:1px solid var(--theme-line);border-radius:17px;background:color-mix(in srgb,var(--theme-surface) 96%,transparent);box-shadow:0 22px 60px rgba(39,43,75,.2);backdrop-filter:blur(22px)}
.theme-menu[hidden]{display:none}.theme-menu header{display:flex;align-items:center;justify-content:space-between;padding:2px 3px 12px}.theme-menu header>div{display:grid;gap:3px}.theme-menu header strong{color:var(--theme-text);font-size:13px}.theme-menu header small{color:var(--theme-muted);font-size:10px}.theme-menu header>span{padding:4px 7px;border-radius:999px;background:var(--theme-soft);color:var(--theme-primary);font-size:9px;font-weight:900}
.theme-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.theme-option{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:9px;min-height:54px;padding:8px;border:1px solid var(--theme-line);border-radius:12px;background:color-mix(in srgb,var(--theme-surface) 94%,var(--theme-soft));color:var(--theme-text);text-align:left;transition:transform .14s,border-color .14s,box-shadow .14s}.theme-option:hover{transform:translateY(-1px);border-color:color-mix(in srgb,var(--theme-primary) 40%,var(--theme-mix-base));box-shadow:0 8px 18px color-mix(in srgb,var(--theme-primary) 10%,transparent)}.theme-option.active{border-color:color-mix(in srgb,var(--theme-primary) 48%,var(--theme-mix-base));background:color-mix(in srgb,var(--theme-primary) 8%,var(--theme-mix-base))}
.theme-option>i{width:34px;height:34px;border:3px solid rgba(255,255,255,.9);border-radius:10px;box-shadow:0 3px 9px rgba(40,42,73,.15)}.theme-option>span{display:grid;gap:3px;min-width:0}.theme-option>span b{font-size:11px}.theme-option>span small{color:var(--theme-muted);font-size:9px}.theme-option>em{display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:var(--theme-primary);color:#fff;font-size:9px;font-style:normal;opacity:0}.theme-option.active>em{opacity:1}

/* Avatar previews enlarge in place, while theme labels always share the active swatch. */
.top-actions .avatar,.issuer-avatar,.assignee-avatar{position:relative;z-index:1;cursor:zoom-in;transform-origin:center;transition:transform .18s cubic-bezier(.2,.78,.2,1),box-shadow .18s ease,filter .18s ease}.top-actions .avatar:hover,.issuer-avatar:hover,.assignee-avatar:hover{z-index:18;transform:translate3d(0,-1px,0) scale(1.48);filter:brightness(1.04);box-shadow:0 10px 24px color-mix(in srgb,var(--theme-primary) 28%,transparent)}.top-actions .avatar:active,.issuer-avatar:active,.assignee-avatar:active{transform:translate3d(0,-1px,0) scale(1.48)!important}.issuer-person,.assignee-person-cell,.assignee-avatars{overflow:visible}

/* The compact rail control follows the active palette instead of looking like a browser widget. */
.sidebar-toggle{border-color:color-mix(in srgb,var(--theme-primary) 22%,var(--theme-mix-base));background:var(--theme-surface);color:var(--theme-primary);box-shadow:0 5px 15px color-mix(in srgb,var(--theme-primary) 15%,transparent)}.sidebar-toggle:hover{border-color:color-mix(in srgb,var(--theme-primary) 48%,var(--theme-mix-base));background:color-mix(in srgb,var(--theme-primary) 9%,var(--theme-mix-base));color:var(--theme-primary);box-shadow:0 8px 19px color-mix(in srgb,var(--theme-primary) 22%,transparent)}

/* Avatar previews stay in place with a larger image and a standard pointer. */
.top-actions .avatar,.issuer-avatar,.assignee-avatar{cursor:default}.top-actions .avatar:hover,.issuer-avatar:hover,.assignee-avatar:hover{transform:translate3d(0,-1px,0) scale(1.74)}.top-actions .avatar:active,.issuer-avatar:active,.assignee-avatar:active{transform:translate3d(0,-1px,0) scale(1.74)!important}

/* Solid surfaces: themes change color, never transparency or blur. */
.sidebar,.topbar,.workspace,.metric,.auth-card,.theme-menu,.video-batch-toolbar,.ticket-brief-editor,.ticket-detail-drawer .drawer-actions,.ticket-detail-drawer .detail-drawer-actions{background:var(--theme-surface)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
.backdrop,.detail-backdrop{-webkit-backdrop-filter:none!important;backdrop-filter:none!important}

/* Keep ticket groups contiguous without a visual divider between operators. */
.ticket-row.operator-group-start{box-shadow:none!important}
.ticket-row.operator-group-start td{border-top:0!important}

/* Stable hover motion: no scaling, so the pointer never leaves and re-enters the hit area. */
#new-ticket,#view-tickets,#logout,.theme-trigger,.top-actions .avatar,.row-action,.ticket-detail-drawer button,.ticket-detail-drawer .ticket-copy-actions a,.collection-product-chip,.theme-option,.nav button,.sidebar-toggle,.batch-ticket-form .video-head-toolbar button,.batch-ticket-form .note-toggle,.batch-ticket-form>.form-actions button{transform-origin:center;backface-visibility:hidden;-webkit-backface-visibility:hidden;transition:transform .2s cubic-bezier(.2,.82,.2,1),box-shadow .2s ease,filter .2s ease,background-color .2s ease,border-color .2s ease,color .2s ease}
#new-ticket:not(:disabled):hover,#view-tickets:not(:disabled):hover,#logout:not(:disabled):hover,.row-action:not(:disabled):hover,.ticket-detail-drawer button:not(:disabled):hover,.ticket-detail-drawer .ticket-copy-actions a:hover,.collection-product-chip:not(:disabled):hover,.nav button:not(:disabled):hover,.sidebar-toggle:not(:disabled):hover,.batch-ticket-form .video-head-toolbar button:not(:disabled):hover,.batch-ticket-form .note-toggle:not(:disabled):hover,.batch-ticket-form>.form-actions button:not(:disabled):hover{transform:translate3d(0,-1px,0);filter:brightness(1.035)}
#new-ticket:not(:disabled):active,#view-tickets:not(:disabled):active,#logout:not(:disabled):active,.row-action:not(:disabled):active,.ticket-detail-drawer button:not(:disabled):active,.ticket-detail-drawer .ticket-copy-actions a:active,.collection-product-chip:not(:disabled):active,.nav button:not(:disabled):active,.sidebar-toggle:not(:disabled):active,.batch-ticket-form .video-head-toolbar button:not(:disabled):active,.batch-ticket-form .note-toggle:not(:disabled):active,.batch-ticket-form>.form-actions button:not(:disabled):active{transform:translate3d(0,-1px,0)!important;transition-duration:.2s!important}
#new-ticket:not(:disabled):hover,#new-ticket:not(:disabled):active{transform:scale(1.04)!important}
.theme-trigger,.theme-trigger:hover,.theme-trigger:active{transform:none!important}
.theme-trigger>i{transition:transform .18s ease,box-shadow .18s ease}

/* Settings actions share one stable motion language; pressed state keeps the hover offset to prevent a double jump. */
.profile-workspace .profile-compact-form>button,.profile-workspace .profile-password-form>button,.profile-workspace .avatar-upload-button,.profile-workspace .avatar-remove,.account-workspace-v2 .account-create-v2>button,.account-workspace-v2 .person-actions button,.management-workspace .shop-create-page>button,.management-workspace .shop-card>button{transform:translate3d(0,0,0);transform-origin:center;backface-visibility:hidden;-webkit-backface-visibility:hidden;will-change:transform;transition:transform .2s cubic-bezier(.2,.82,.2,1),box-shadow .2s ease,filter .2s ease,background-color .2s ease,border-color .2s ease,color .2s ease}
.profile-workspace .profile-compact-form>button:not(:disabled):hover,.profile-workspace .profile-password-form>button:not(:disabled):hover,.profile-workspace .avatar-upload-button:hover,.profile-workspace .avatar-remove:not(:disabled):hover,.account-workspace-v2 .account-create-v2>button:not(:disabled):hover,.account-workspace-v2 .person-actions button:not(:disabled):hover,.management-workspace .shop-create-page>button:not(:disabled):hover,.management-workspace .shop-card>button:not(:disabled):hover{transform:translate3d(0,-2px,0);filter:brightness(1.055);box-shadow:0 8px 20px color-mix(in srgb,var(--theme-primary) 18%,transparent)}
.profile-workspace .profile-compact-form>button:not(:disabled):active,.profile-workspace .profile-password-form>button:not(:disabled):active,.profile-workspace .avatar-upload-button:active,.profile-workspace .avatar-remove:not(:disabled):active,.account-workspace-v2 .account-create-v2>button:not(:disabled):active,.account-workspace-v2 .person-actions button:not(:disabled):active,.management-workspace .shop-create-page>button:not(:disabled):active,.management-workspace .shop-card>button:not(:disabled):active{transform:translate3d(0,-2px,0)!important;filter:brightness(1.055);transition-duration:.2s!important}
.profile-workspace .profile-compact-form>button:focus-visible,.profile-workspace .profile-password-form>button:focus-visible,.profile-workspace .avatar-upload-button:focus-visible,.profile-workspace .avatar-remove:focus-visible,.account-workspace-v2 .account-create-v2>button:focus-visible,.account-workspace-v2 .person-actions button:focus-visible,.management-workspace .shop-create-page>button:focus-visible,.management-workspace .shop-card>button:focus-visible{outline:3px solid color-mix(in srgb,var(--theme-primary) 28%,transparent);outline-offset:3px}
.theme-trigger:hover>i{animation:zwtSwatchHop .3s cubic-bezier(.2,.8,.2,1) 1;box-shadow:0 4px 12px color-mix(in srgb,var(--theme-primary) 28%,transparent)}
.operator-filter-card,.operator-filter-card:hover,.operator-filter-card.selected,.operator-filter-card:active{transform:none!important}
.operator-filter-card{transition:border-color .18s ease,background-color .18s ease,box-shadow .18s ease,color .18s ease}
.top-actions .avatar{cursor:default}
.top-actions .avatar:hover{transform:translate3d(0,-2px,0) rotate(3deg) scale(1.09);box-shadow:0 9px 22px color-mix(in srgb,var(--theme-primary) 26%,transparent)}
#logout:hover{color:var(--theme-primary);background:var(--theme-soft)}
.theme-option:hover,.theme-option:active{transform:translate3d(0,-1px,0)}
.theme-option.active{box-shadow:0 0 0 2px color-mix(in srgb,var(--theme-primary) 16%,transparent),0 8px 20px color-mix(in srgb,var(--theme-primary) 13%,transparent)}

@keyframes zwtControlPulse{0%{box-shadow:0 0 0 0 color-mix(in srgb,var(--theme-primary) 0%,transparent)}55%{box-shadow:0 0 0 4px color-mix(in srgb,var(--theme-primary) 13%,transparent),0 7px 18px color-mix(in srgb,var(--theme-primary) 20%,transparent)}100%{box-shadow:0 7px 18px color-mix(in srgb,var(--theme-primary) 20%,transparent)}}
@keyframes zwtSwatchHop{0%,100%{transform:translateY(0)}50%{transform:translateY(-2px)}}

.editor-filter-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding-right:38px}
.editor-filter-heading .eyebrow{margin:0 0 7px}.editor-filter-heading h2{margin:0}
.editor-ticket-filter .collection-date-presets{position:relative;z-index:4;flex:0 0 auto;margin-left:auto}
.editor-ticket-filter .collection-date-presets .date-preset,.editor-ticket-filter .collection-date-presets summary{padding:6px 8px;font-size:10px;white-space:nowrap}
.editor-ticket-filter .collection-range-popover .range-panel{right:0;left:auto;top:36px}
@media(max-width:680px){.editor-filter-heading{align-items:flex-start;flex-direction:column;padding-right:32px}.editor-ticket-filter .collection-date-presets{width:100%;margin-left:0}.editor-ticket-filter .collection-range-popover .range-panel{right:auto;left:0}}

@media(max-width:760px){.theme-trigger span{display:none}.theme-trigger{padding:0 8px}.theme-menu{position:fixed;top:76px;right:10px;left:10px;width:auto;max-height:calc(100vh - 90px);overflow:auto}.theme-grid{grid-template-columns:1fr 1fr}.top-actions{gap:6px}}
@media(max-width:460px){.theme-grid{grid-template-columns:1fr}.theme-menu{padding:11px}.theme-option{min-height:50px}}
@media(prefers-reduced-motion:reduce){.theme-option,.theme-trigger,.chip,.date-preset,.range-popover summary,.ticket-scope-switch button,#new-ticket,#view-tickets,#logout,.top-actions .avatar,.row-action,.ticket-detail-drawer button,.ticket-detail-drawer .ticket-copy-actions a,.operator-filter-card,.collection-product-chip,.nav button,.sidebar-toggle{transition:none!important;animation:none!important}.theme-trigger>i{animation:none!important}.chip:hover,.date-preset:hover,.range-popover summary:hover,.ticket-scope-switch button:hover,#new-ticket:hover,#view-tickets:hover,#logout:hover,.theme-trigger:hover,.top-actions .avatar:hover,.row-action:hover,.ticket-detail-drawer button:hover,.ticket-detail-drawer .ticket-copy-actions a:hover,.operator-filter-card:hover,.collection-product-chip:hover,.nav button:hover,.sidebar-toggle:hover{transform:none!important}.chip:after,.date-preset:after,.range-popover summary:after,.ticket-scope-switch button:after{display:none}}
@media(prefers-reduced-motion:reduce){.profile-workspace .profile-compact-form>button,.profile-workspace .profile-password-form>button,.profile-workspace .avatar-upload-button,.profile-workspace .avatar-remove,.account-workspace-v2 .account-create-v2>button,.account-workspace-v2 .person-actions button,.management-workspace .shop-create-page>button,.management-workspace .shop-card>button{transform:none!important;transition:none!important;animation:none!important}}

/* Final avatar-preview override: use the standard pointer and a readable in-place size. */
.top-actions .avatar,.issuer-avatar,.assignee-avatar{cursor:default}.top-actions .avatar:hover,.issuer-avatar:hover,.assignee-avatar:hover{transform:translate3d(0,-1px,0) scale(1.74);filter:brightness(1.04)}.top-actions .avatar:active,.issuer-avatar:active,.assignee-avatar:active{transform:translate3d(0,-1px,0) scale(1.74)!important}

/* New profile personalization and collaboration header follow every palette. */
.workflow-assignment .assignment-heading-copy>b{color:var(--theme-primary)}
.workflow-assignment .assignment-heading-copy small{color:var(--theme-muted)}
.name-style-preview,.name-style-presets button{border-color:var(--theme-line);background:var(--theme-surface);color:var(--theme-text)}
.name-style-preview small,.name-style-controls label{color:var(--theme-muted)}
.name-style-controls select,.name-style-controls input[type="color"]{border-color:var(--theme-line);background:var(--theme-surface);color:var(--theme-text)}
.name-style-trigger{border-color:color-mix(in srgb,var(--theme-primary) 23%,var(--theme-mix-base));background:color-mix(in srgb,var(--theme-primary) 7%,var(--theme-mix-base));color:var(--theme-primary)}
.name-style-modal>.muted,.name-style-modal .name-style-controls label{color:var(--theme-muted)}
:root[data-theme="midnight"] .name-style-modal .name-style-preview,:root[data-theme="midnight"] .name-style-modal .name-style-presets button{border-color:#2d3d5c;background:#111a2c;color:#eef3ff}
:root[data-theme="midnight"] .name-style-modal .name-style-controls select,:root[data-theme="midnight"] .name-style-modal .name-style-controls input[type="color"]{border-color:#344563;background:#0d1525;color:#eef3ff}
:root[data-theme="midnight"] .name-style-card,:root[data-theme="midnight"] .name-style-preview,:root[data-theme="midnight"] .name-style-presets button{border-color:#2d3d5c;background:#111a2c;color:#eef3ff}
:root[data-theme="midnight"] .name-style-presets button:hover{border-color:#7568d9;background:#17223a;box-shadow:0 8px 18px rgba(0,0,0,.2)}
:root[data-theme="midnight"] .name-style-controls select,:root[data-theme="midnight"] .name-style-controls input[type="color"]{border-color:#344563;background:#0d1525;color:#eef3ff}
:root[data-theme="midnight"] .admin-account-avatar>label{border-color:#111a2c}

/* Profile actions use the same tactile motion language, including name style. */
.profile-workspace .name-style-trigger{transform:translate3d(0,0,0);transform-origin:center;backface-visibility:hidden;-webkit-backface-visibility:hidden;will-change:transform;transition:transform .2s cubic-bezier(.2,.82,.2,1),box-shadow .2s ease,filter .2s ease,background-color .2s ease,border-color .2s ease,color .2s ease}
.profile-workspace .name-style-trigger:not(:disabled):hover{transform:translate3d(0,-2px,0);filter:brightness(1.055);box-shadow:0 8px 20px color-mix(in srgb,var(--theme-primary) 18%,transparent)}
.profile-workspace .name-style-trigger:not(:disabled):active{transform:translate3d(0,-2px,0)!important;filter:brightness(1.055);transition-duration:.2s!important}
.profile-workspace .name-style-trigger:focus-visible{outline:3px solid color-mix(in srgb,var(--theme-primary) 28%,transparent);outline-offset:3px}

/* Paginated ticket lists keep the controls visible while rows scroll independently. */
.ticket-list-shell{display:flex;min-height:0;flex-direction:column}
.ticket-list-shell>.table-wrap{max-height:clamp(300px,calc(100dvh - 390px),620px);overflow:auto;scrollbar-gutter:auto}
.ticket-workspace .table-wrap:not(.has-horizontal-overflow){overflow-x:hidden}
.ticket-pagination{position:relative;z-index:4;display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:62px;padding:10px 16px;border:1px solid var(--theme-line);border-top:0;border-radius:0 0 14px 14px;background:var(--theme-surface);box-shadow:0 -10px 22px color-mix(in srgb,var(--theme-text) 5%,transparent)}
.ticket-pagination-summary{display:flex;align-items:baseline;gap:7px;white-space:nowrap}.ticket-pagination-summary b{color:var(--theme-text);font-size:12px;font-weight:900}.ticket-pagination-summary span,.ticket-page-size{color:var(--theme-muted);font-size:11px;font-weight:750}
.ticket-pagination-actions{display:flex;align-items:center;justify-content:flex-end;gap:18px;min-width:0}.ticket-page-size{display:flex;align-items:center;gap:5px;white-space:nowrap}.ticket-page-size select{height:30px;padding:0 25px 0 8px;border:1px solid var(--theme-line);border-radius:8px;background:var(--theme-surface);color:var(--theme-text);font:inherit;font-weight:850}
.ticket-page-controls{display:flex;align-items:center;justify-content:center;gap:6px}.ticket-page-controls span{min-width:78px;color:var(--theme-muted);font-size:11px;text-align:center;white-space:nowrap}.ticket-page-controls span b{color:var(--theme-text);font-weight:900}.ticket-page-controls button{min-height:30px;padding:0 9px;border:1px solid var(--theme-line);border-radius:8px;background:var(--theme-surface);color:var(--theme-text);font-size:11px;font-weight:800;cursor:pointer;transition:transform .16s ease,border-color .16s ease,background-color .16s ease,box-shadow .16s ease}.ticket-page-controls button:not(:disabled):hover{transform:translateY(-1px);border-color:color-mix(in srgb,var(--theme-primary) 45%,var(--theme-mix-base));background:var(--theme-soft);box-shadow:0 5px 13px color-mix(in srgb,var(--theme-primary) 12%,transparent)}.ticket-page-controls button:disabled{opacity:.42;cursor:not-allowed}
@media (min-width:861px){.ticket-workspace .ticket-list-shell{display:flex;flex:1 1 auto;min-height:0}.ticket-workspace .ticket-list-shell>.table-wrap{flex:1 1 auto;min-height:0;max-height:none;overflow:auto;overscroll-behavior:contain;scrollbar-color:color-mix(in srgb,var(--theme-primary) 34%,var(--theme-line)) transparent}.ticket-workspace .ticket-list-shell>.table-wrap:not(.has-horizontal-overflow){overflow-x:hidden}.ticket-workspace .ticket-pagination{flex:0 0 auto}}
@media (max-width:760px){.ticket-pagination{align-items:flex-start;flex-direction:column;gap:9px;padding:10px 12px}.ticket-pagination-actions{width:100%;justify-content:space-between;gap:10px}.ticket-page-controls{justify-content:space-between}.ticket-page-controls button{padding:0 7px}.ticket-list-shell>.table-wrap{max-height:clamp(260px,calc(100dvh - 430px),520px)}}
@media (prefers-reduced-motion:reduce){.profile-workspace .name-style-trigger{transform:none!important;transition:none!important;animation:none!important}}
