:root{--ink:#142237;--muted:#77869b;--green:#0bb587;--green-dark:#078a6a;--line:#e6edf1;--bg:#f7f9fa;--white:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-size:15px}*{box-sizing:border-box}body{margin:0;line-height:1.5}a{color:#058e70;text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}button,.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--green);color:#fff;border:1px solid var(--green);border-radius:7px;padding:10px 16px;cursor:pointer;font-weight:650;text-decoration:none;line-height:1.3}button:hover,.button:hover{background:var(--green-dark);text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #93e6d1;outline-offset:2px}input,select,textarea{display:block;width:100%;max-width:600px;padding:10px 12px;border:1px solid #dce5eb;border-radius:7px;margin:6px 0 14px;background:#fff;color:var(--ink)}input:focus,select:focus,textarea:focus{border-color:var(--green)}input[type=checkbox],input[type=radio]{display:inline-block;width:auto;margin:0 5px 0 0}textarea{min-height:100px}label{font-weight:600;color:#53657c}h1,h2,h3,p{margin-top:0}h1{font-size:30px;line-height:1.2;letter-spacing:-.045em;margin-bottom:12px}h2{font-size:19px;line-height:1.3;letter-spacing:-.025em}h3{font-size:15px}small,.muted{color:var(--muted)}.danger,.errorlist{color:#d74864}.errorlist{padding-left:20px}.messages{padding:14px 18px;background:#e6f8f1;border:1px solid #b9eadb;border-radius:8px;color:#096b52}.svg-defs{display:none}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:252px;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:5}.brand{height:79px;display:flex;gap:11px;align-items:center;padding:0 22px;font-size:23px;font-weight:800;letter-spacing:-.05em;color:#163e37;border-bottom:1px solid var(--line)}.brand:hover{text-decoration:none}.brand small{display:block;font-size:8px;letter-spacing:.14em;color:#94a4ad;line-height:1;font-weight:800}.brand-mark{width:40px;height:40px;display:grid;place-items:center;background:#0bae81;color:#fff;border-radius:10px;font-family:Georgia,serif;font-size:27px;line-height:1;position:relative}.brand-mark span{position:absolute;right:7px;bottom:2px;color:#b9f9e6}.sidebar-scroll{flex:1;overflow:auto;padding:18px 12px}.nav-heading{font-size:10px;font-weight:800;letter-spacing:.12em;color:#9aa8b6;margin:13px 10px 9px}.side-nav{display:flex;flex-direction:column;gap:3px}.side-nav a{position:relative;display:flex;align-items:center;gap:13px;padding:10px 11px;border-radius:7px;color:#718199;font-weight:600;font-size:14px}.side-nav a:hover,.side-nav a.active{background:#e8f8f2;color:#08a97e;text-decoration:none}.side-nav a.active:before{content:"";width:3px;position:absolute;left:0;top:8px;bottom:8px;background:var(--green);border-radius:4px}.side-nav svg,.icon-button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}.side-nav svg{color:#0bb587}.side-action{margin:23px 1px 6px;padding:16px;background:#edf9f5;border:1px solid #dbf2e9;border-radius:10px;font-size:13px}.side-action-icon{display:block;color:var(--green);font-size:20px}.side-action strong{display:block}.side-action p{font-size:12px;line-height:1.4;color:#8394a0;margin:5px 0 11px}.side-action a{font-size:12px;font-weight:750}.side-action a span{float:right}.sidebar-user{border-top:1px solid var(--line);padding:16px;display:flex;align-items:center;gap:10px}.avatar{display:grid;place-items:center;flex:none;background:#e3f6ee;color:#068e6c;border-radius:50%;width:38px;height:38px;font-size:14px;font-weight:800}.avatar:hover{text-decoration:none}.avatar-small{width:34px;height:34px}.user-copy{min-width:0;flex:1}.user-copy strong,.user-copy small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-copy strong{font-size:12px}.user-copy small{font-size:11px}.logout{background:transparent;color:#74849a;border:0;padding:4px;font-size:20px}.logout:hover{background:#edf8f4;color:#098c6b}.app-body{margin-left:252px;min-width:0}.topbar{height:79px;background:#fff;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 38px;gap:20px}.topbar-left,.topbar-right{display:flex;align-items:center;gap:18px}.topbar-section{font-size:10px;font-weight:800;letter-spacing:.12em;color:#a4b1bd}.topbar-divider{height:24px;width:1px;background:var(--line)}#switch select{border:0;background:transparent;margin:0;padding:4px 22px 4px 0;width:auto;max-width:270px;font-weight:700;color:#495c6d}.top-date{font:12px ui-monospace,SFMono-Regular,Consolas,monospace;color:#91a0ad}.icon-button{display:grid;place-items:center;width:36px;height:36px;color:#73849b;border:1px solid var(--line);border-radius:9px}.icon-button:hover{color:var(--green);text-decoration:none}.main-content{max-width:1700px;margin:0 auto;padding:42px 42px 70px}.panel,.card{background:#fff;border:1px solid var(--line);border-radius:10px;padding:24px;margin:18px 0;box-shadow:0 2px 5px rgba(27,54,73,.025)}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:18px}.card{margin:0}ul{padding-left:20px}li{margin:9px 0}table{width:100%;border-collapse:collapse}th,td{text-align:left;border-bottom:1px solid var(--line);padding:12px}th{font-size:11px;text-transform:uppercase;letter-spacing:.07em;color:#8a9aab}form.inline{display:inline}form.inline select,form.inline input{display:inline-block;vertical-align:middle}details{padding:12px 0}summary{cursor:pointer;font-weight:650}.auth-shell{min-height:100vh;background:linear-gradient(135deg,#effaf6,#f8fafb 55%);padding:28px}.auth-brand{border:0;max-width:300px;padding:0;height:auto}.auth-content{max-width:490px;margin:70px auto}.auth-content .panel{padding:32px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.dashboard-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:26px}.eyebrow{font-size:10px;letter-spacing:.14em;font-weight:800;color:#0ba77e;text-transform:uppercase;margin-bottom:8px}.dashboard-head h1{margin-bottom:5px}.dashboard-head p{margin:0;color:var(--muted)}.dashboard-actions{display:flex;gap:10px;align-items:center}.button-soft{background:#fff;color:#3d5263;border-color:var(--line)}.button-soft:hover{background:#f3faf7;color:var(--green-dark)}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:10px;padding:20px;min-height:170px;box-shadow:0 2px 5px rgba(27,54,73,.025)}.stat-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.stat-icon{width:43px;height:43px;display:grid;place-items:center;border-radius:10px;font-weight:700;font-size:20px;background:#e2f8f0;color:#05a77b}.stat-icon.blue{background:#e8efff;color:#5376e9}.stat-icon.pink{background:#ffedf1;color:#e45d83}.stat-icon.purple{background:#f1eafd;color:#9664d6}.stat-tag{font:10px ui-monospace,monospace;color:#9aabb7;text-transform:uppercase}.stat-value{font-size:32px;line-height:1.1;letter-spacing:-.04em;font-weight:750}.stat-label{font-weight:650;color:#77899f;font-size:13px;margin-top:5px}.stat-link{display:inline-block;margin-top:12px;font-size:12px;font-weight:700}.dashboard-columns{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,1fr);gap:20px;align-items:start;margin-top:20px}.dashboard-columns .panel{margin:0}.panel-heading{display:flex;align-items:start;justify-content:space-between;gap:15px;margin-bottom:15px}.panel-heading h2{margin:0 0 3px}.panel-heading p{color:var(--muted);font-size:13px;margin:0}.panel-heading a{font-size:12px;font-weight:700;white-space:nowrap}.work-list{list-style:none;padding:0;margin:0}.work-list li{margin:0;padding:16px 0;border-top:1px solid #eef2f4;display:flex;gap:13px;align-items:center}.work-icon{width:39px;height:39px;flex:none;display:grid;place-items:center;border-radius:9px;background:#e9f8f3;color:#08ab80;font-weight:800}.work-icon.purple{background:#f2edfe;color:#9165d5}.work-copy{min-width:0;flex:1}.work-copy a{font-weight:700;color:var(--ink)}.work-copy small{display:block;font-size:12px;margin-top:3px}.work-date{font:11px ui-monospace,monospace;color:#8c9bab;white-space:nowrap}.empty-state{padding:25px 0 10px;color:#8393a1;font-size:14px}.deadline-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:18px}.deadline-item{padding:13px;border-radius:8px;background:#f2faf7;color:#657c88;font-size:11px;font-weight:700}.deadline-item strong{display:block;font-size:22px;line-height:1.4;color:#193b35}.deadline-item.alert{background:#fff1f3}.deadline-item.alert strong{color:#d34d68}.deadline-item:hover{text-decoration:none;filter:brightness(.98)}.dashboard-lower{margin-top:20px}.dashboard-lower .panel h2{margin-bottom:12px}.dashboard-lower .panel>p{color:#6c7d8d}.dashboard-lower .panel>p.danger{color:#c94d62}
@media(max-width:1100px){.stats-grid{grid-template-columns:repeat(2,1fr)}.main-content{padding:30px}.dashboard-columns{grid-template-columns:1fr}}@media(max-width:760px){.sidebar{position:static;width:auto;height:auto}.brand{height:65px}.sidebar-scroll{padding:8px 12px;overflow:visible}.nav-heading,.side-action,.sidebar-user{display:none}.side-nav{flex-direction:row;overflow-x:auto;white-space:nowrap;gap:3px}.side-nav a{padding:9px;font-size:12px}.side-nav a svg{width:16px}.app-body{margin-left:0}.topbar{height:58px;padding:0 18px}.topbar-section,.topbar-divider,.top-date{display:none}.main-content{padding:25px 18px 50px}.dashboard-head{align-items:start;flex-direction:column}.stats-grid{gap:10px}.stat-card{min-height:145px;padding:15px}.stat-value{font-size:27px}.dashboard-columns{gap:12px}.panel{padding:18px}.work-list li{align-items:flex-start}.work-date{white-space:normal;text-align:right}.deadline-strip{gap:5px}.deadline-item{padding:9px}table{display:block;overflow-x:auto}}
.onboarding{padding:14px 20px}.onboarding summary{font-size:13px;color:#294e46}.onboarding summary span{font-weight:400;color:#8b9ba6}.onboarding ul{margin-bottom:3px}.mobile-logout{display:none}@media(max-width:760px){.mobile-logout{display:block}}
.page-heading{margin-bottom:22px}.page-heading h1{margin-bottom:5px}.page-heading p{margin:0;color:var(--muted);font-size:14px}.list-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:18px;margin:18px 0}.panel>.list-filter{border:0;padding:0;margin:0}.list-filter label{flex:1 1 170px;font-size:12px}.list-filter input,.list-filter select{margin:6px 0 0;max-width:none}.list-filter button{min-height:42px}.results-heading{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding-bottom:14px}.results-heading h2{margin:0}.results-heading span{color:#99a8b5;font-size:12px}.results-panel>ul{list-style:none;margin:0;padding:0}.results-panel>ul>li{margin:0;padding:17px 0;border-bottom:1px solid #eef2f4;line-height:1.7;overflow-wrap:anywhere}.results-panel>ul>li:last-child{border-bottom:0}.results-panel>ul>li>a:first-child{font-weight:700}.results-panel nav{display:flex;gap:18px;margin-top:15px;color:var(--muted)}
.board-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:28px 0 16px}.board-toolbar h2{margin:0 0 3px}.board-toolbar p,.results-heading p{margin:0;color:#899aab;font-size:13px}.board-total,.kanban-count{border-radius:20px;background:#e9f2ef;color:#63827a;font-size:12px;font-weight:700;padding:4px 10px;white-space:nowrap}.board-pagination-note{font-size:12px;color:#798a9a}.kanban{display:grid;grid-template-columns:repeat(4,minmax(235px,1fr));gap:14px;overflow-x:auto;padding:0 0 12px}.kanban-column{min-height:260px;background:#eef3f4;border:1px solid #e4edeb;border-radius:11px;padding:13px;transition:background .15s}.kanban-column.drop-ready{background:#dcf5ea;outline:2px dashed #55c7a2;outline-offset:-3px}.kanban-heading{display:flex;align-items:center;gap:8px;padding:3px 2px 14px}.kanban-heading h3{margin:0;flex:1;font-size:13px}.kanban-count{padding:2px 8px;background:#fff}.status-dot{height:8px;width:8px;border-radius:50%;background:#99a9b6}.status-doing{background:#5a83e9}.status-waiting{background:#e1a34a}.status-done{background:#0ab78a}.kanban-cards{display:flex;flex-direction:column;gap:10px}.kanban-card{padding:16px;background:white;border:1px solid #e4ebee;border-radius:9px;box-shadow:0 2px 5px rgba(23,51,65,.04);cursor:grab}.kanban-card.dragging{opacity:.4}.card-topline{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.priority{font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;border-radius:5px;padding:4px 7px;background:#edf3f2;color:#778d87}.priority-high{background:#fff5e7;color:#bd862e}.priority-urgent{background:#fff0f2;color:#d95270}.card-edit{color:#9aaab6;font-weight:800;letter-spacing:1px}.task-title{display:block;color:var(--ink);font-weight:750;font-size:14px;line-height:1.4;overflow-wrap:anywhere}.task-process{font:11px ui-monospace,monospace;color:#90a0ab;margin:8px 0;overflow-wrap:anywhere}.task-deadlines{display:grid;gap:6px;padding:14px 0;border-bottom:1px solid #f0f3f4;font-size:11px;color:#90a0ad}.task-deadlines span{display:flex;justify-content:space-between;gap:5px}.task-deadlines strong{color:#516474;font-weight:650}.task-assignee{display:flex;align-items:center;gap:8px;margin:12px 0 0;font-size:12px;color:#708395}.task-avatar{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#e6f6ef;color:#079e74;font-weight:800}.move-task{padding:9px 0 0}.move-task summary{color:#079a73;font-size:11px}.task-move-form{margin-top:10px}.task-move-form label{font-size:11px}.task-move-form input,.task-move-form select{font-size:12px;margin:4px 0 8px;padding:8px}.task-move-form button{font-size:11px;padding:8px 10px}.kanban-empty{padding:12px 2px;color:#a1b0b9;font-size:12px}.table-panel{padding:22px}.table-scroll{overflow-x:auto}.records-table{min-width:680px}.records-table th{padding:14px 12px}.records-table td{vertical-align:middle;padding:16px 12px;font-size:13px;color:#5d6e80}.records-table td small{display:block;font-size:11px;margin-top:4px}.records-table td small.danger{color:#d74864}.records-table .table-primary{font-weight:700;color:#213548}.records-table a.table-primary:hover{color:#079c74}.mono{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px}.badge{display:inline-block;padding:4px 8px;border-radius:6px;font-size:11px;font-weight:700;white-space:nowrap}.success-badge{background:#e4f8ef;color:#07996e}.alert-badge{background:#fff0f2;color:#cd5570}.muted-badge{background:#eff3f5;color:#758897}.table-empty{text-align:center;padding:35px!important;color:#91a1ac!important}.pagination{display:flex;align-items:center;justify-content:flex-end;gap:16px;padding-top:18px;font-size:12px;color:#8394a2}.form-panel{max-width:1000px;padding:28px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px}.form-field label{font-size:12px;font-weight:700;color:#53677a}.form-field input,.form-field select,.form-field textarea{max-width:none;margin:6px 0 0}.form-field textarea{min-height:120px}.form-field:has(textarea),.form-field:has(select[multiple]){grid-column:1/-1}.check-field{grid-column:1/-1;background:#f6faf8;padding:13px;border-radius:7px}.check-field label{display:flex;align-items:flex-start;gap:7px}.check-field input{width:auto;margin:3px 0}.field-help{margin-top:5px;color:#8999a8;font-size:11px;line-height:1.5}.required{color:#d65a73}.form-errors{padding:10px;background:#fff1f3;border-radius:7px}.form-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:25px;padding-top:20px;border-top:1px solid var(--line)}@media(max-width:760px){.kanban{grid-template-columns:repeat(4,260px)}.board-toolbar{align-items:flex-start}.form-grid{grid-template-columns:1fr}.form-panel{padding:20px}.form-field:has(textarea),.form-field:has(select[multiple]){grid-column:auto}}
.compact-button{padding:5px 9px;font-size:11px}
.filters-panel{padding:13px 18px}.filters-panel summary{font-size:13px;color:#3c5861}.filters-panel summary span{font-weight:400;color:#8d9eab}.filters-panel>.list-filter{padding-top:16px}.kanban{grid-template-columns:repeat(4,minmax(185px,1fr))}@media(max-width:760px){.kanban{grid-template-columns:repeat(4,260px)}}
.process-breadcrumb{font-size:12px;color:#99a9b4;margin-bottom:24px}.process-breadcrumb a{font-weight:700}.process-header{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:24px}.process-header h1{margin:0 0 7px}.process-header p{color:#7a8d9d;margin:0}.process-number{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.78em;letter-spacing:-.055em;overflow-wrap:anywhere}.process-header-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.process-header-actions .button,.process-header-actions button{font-size:12px;white-space:nowrap}.process-overview{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border:1px solid var(--line);border-radius:10px;padding:20px 0;box-shadow:0 2px 5px rgba(27,54,73,.025)}.process-overview>div{padding:2px 22px;border-right:1px solid var(--line);min-width:0}.process-overview>div:last-child{border-right:0}.overview-label{display:block;font-size:10px;font-weight:800;color:#9cacb8;letter-spacing:.08em;margin-bottom:7px}.process-overview strong{font-size:13px;color:#324b59;overflow-wrap:anywhere}.status-indicator{display:inline-block;width:8px;height:8px;border-radius:50%;background:#0bb587}.status-indicator.paused{background:#a7b1b9}.monitoring-info{color:#778a98;font-size:12px;line-height:1.6;margin:12px 3px}.process-alert{background:#fff6ef;border:1px solid #fae2cc;border-radius:8px;padding:14px 16px;color:#9a632e;font-size:13px;margin:14px 0}.process-panel{margin:20px 0;padding:24px}.process-section-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.process-section-head h2{margin:0 0 3px}.process-section-head p{font-size:13px;color:#8698a5;margin:0}.process-section-head>a{white-space:nowrap;font-weight:700;font-size:12px}.section-kicker{font-size:10px;color:#0ba77e;letter-spacing:.12em;font-weight:800;margin-bottom:4px}.section-count{border:1px solid #e3eeeb;background:#f4faf7;color:#7a9990;padding:5px 9px;border-radius:6px;font-size:11px;font-weight:700;white-space:nowrap}.process-tasks td{font-size:13px}.publication-list{display:flex;flex-direction:column;gap:10px}.publication-card{border:1px solid #e6eded;border-radius:9px;overflow:hidden;scroll-margin-top:20px}.publication-summary{display:flex;align-items:center;gap:13px;padding:16px;cursor:pointer;list-style:none}.publication-summary::-webkit-details-marker{display:none}.publication-summary:hover{background:#f9fcfa}.publication-icon{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:9px;background:#edf8f3;color:#0aa67c;font-size:18px}.publication-heading{flex:1;min-width:0}.publication-heading strong,.publication-heading small{display:block}.publication-heading strong{font-size:14px;color:#273c4b}.publication-heading small{font-size:12px;color:#95a4af;margin-top:3px}.publication-chevron{font-size:19px;color:#9babb3;transition:transform .15s}.publication-details[open] .publication-chevron{transform:rotate(180deg)}.attention-badge{background:#fff4df;color:#ad7627}.publication-body{padding:0 16px 17px 69px}.publication-text{background:#f7faf9;border:1px solid #edf2ef;border-radius:8px;padding:16px;margin:0 0 13px;line-height:1.7;overflow-wrap:anywhere}.publication-text p{margin:0;color:#455c69;font-size:13px}.publication-text-label{font-size:10px;font-weight:800;letter-spacing:.08em;color:#94a8a0;margin-bottom:8px}.source-link{display:inline-block;font-size:12px;font-weight:700;margin-bottom:12px}.revision-details{border-top:1px solid var(--line);color:#657986;font-size:12px}.revision-details summary{color:#648176}.revision-details p{overflow-wrap:anywhere}.publication-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;border-top:1px solid #edf2ef;padding-top:14px}.publication-actions .button,.publication-actions button{font-size:12px;padding:8px 12px}.publication-actions form{display:flex;flex-wrap:wrap;gap:8px}.text-action{background:transparent;border-color:transparent;color:#728895}.text-action:hover{background:#f1f8f5;color:#0b9571}.section-empty{padding:22px;text-align:center;color:#8e9faa;font-size:13px}.section-empty span{display:grid;place-items:center;width:38px;height:38px;margin:0 auto 10px;border-radius:10px;background:#eff8f4;color:#0aa67c;font-size:18px}.section-empty strong{display:block;color:#627985;font-size:13px}.section-empty p{margin:5px 0}.compact-empty{text-align:left;padding:6px 0}.timeline{padding-left:4px}.timeline-entry{display:flex;gap:13px;padding:0 0 16px;font-size:13px}.timeline-entry:last-child{padding-bottom:0}.timeline-entry strong,.timeline-entry small{display:block}.timeline-entry strong{color:#465e6b}.timeline-entry small{font-size:11px;margin-top:3px}.timeline-entry p{margin:5px 0;color:#748994}.timeline-dot{width:9px;height:9px;background:#6ed3b1;border:2px solid #d6f3e8;border-radius:50%;margin-top:6px;flex:none}.app-dialog{border:1px solid var(--line);border-radius:13px;box-shadow:0 20px 80px rgba(14,33,39,.22);padding:25px;width:min(480px,calc(100% - 32px));color:var(--ink)}.app-dialog::backdrop{background:rgba(19,37,45,.48)}.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.dialog-heading h2{margin:0}.dialog-close{background:#f4f7f6;color:#82958e;border:0;border-radius:6px;padding:0;width:32px;height:32px;font-size:22px;font-weight:400}.dialog-close:hover{background:#e4f3ec;color:#078b69}.app-dialog>p{color:#7a8c99;font-size:13px;margin:14px 0 20px}.history-search-form label{font-size:13px}.history-search-form input[type=date]{max-width:none}.history-confirm{display:flex;align-items:center;gap:8px;margin:14px 0;color:#657a86;font-size:12px!important}.history-confirm input{flex:none}.dialog-actions{display:flex;justify-content:flex-end;padding-top:15px;border-top:1px solid var(--line)}@media(max-width:1000px){.process-header{align-items:flex-start;flex-direction:column}.process-header-actions{justify-content:flex-start}.process-overview{grid-template-columns:repeat(2,1fr);gap:18px 0}.process-overview>div:nth-child(2){border-right:0}}@media(max-width:600px){.process-header h1{font-size:24px}.process-header-actions .button,.process-header-actions button{white-space:normal}.process-overview>div{padding:0 14px}.process-section-head{align-items:flex-start}.process-panel{padding:17px}.publication-summary{gap:9px;padding:12px}.publication-icon{width:34px;height:34px}.publication-body{padding:0 12px 14px}.publication-summary .badge{font-size:10px;padding:4px 6px}.section-count{display:none}}
.main-content>h1{margin:0 0 9px}.main-content>h1+p{color:#7b8d9c}.main-content>h2{margin-top:30px}.main-content>form:not(.inline){background:#fff;border:1px solid var(--line);border-radius:10px;padding:24px;margin:18px 0}.main-content>nav{display:flex;align-items:center;gap:16px;margin:16px 0;font-size:13px}.main-content>.panel>h2{margin-bottom:8px}.main-content>.panel>p{line-height:1.6}.main-content>.panel>form:not(.inline){max-width:720px}.main-content .helptext{display:block;max-width:620px;color:#91a0ad;font-size:11px;line-height:1.5;margin:5px 0}.main-content .errorlist{background:#fff1f3;border-radius:6px;padding:10px 14px 10px 30px;font-size:12px}.main-content .panel details{border-top:1px solid #edf2f1}.main-content .panel details summary{font-size:13px;color:#598175}.account-layout{display:grid;grid-template-columns:270px minmax(0,1fr);align-items:start;gap:20px}.account-layout .panel,.settings-layout .panel{margin:0}.account-sections{display:grid;gap:18px}.account-profile{text-align:center;padding:30px 22px}.account-avatar{display:grid;place-items:center;width:64px;height:64px;border-radius:20px;background:#e2f8ef;color:#0ba67b;font-size:25px;font-weight:800;margin:0 auto 16px}.account-profile h2{font-size:16px;margin:0 0 3px;overflow-wrap:anywhere}.account-profile p{font-size:12px;color:#899aa7;overflow-wrap:anywhere}.account-profile-note{text-align:left;background:#f2faf7;color:#77918a;border-radius:8px;padding:13px;font-size:12px;line-height:1.5;margin-top:20px}.settings-layout{display:grid;grid-template-columns:minmax(300px,1fr) minmax(330px,1.1fr);gap:18px;align-items:start}.settings-section-head{display:flex;gap:13px;margin-bottom:22px}.settings-section-head h2{margin:0 0 4px;font-size:17px}.settings-section-head p{margin:0;color:#899aa7;font-size:12px;line-height:1.6}.settings-icon,.settings-link-icon{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:10px;background:#e5f8f1;color:#0ca97c;font-weight:700;font-size:18px}.settings-icon.blue{background:#ebf1ff;color:#6484df}.structured-form p{margin:0 0 15px}.structured-form label{font-size:12px}.structured-form input,.structured-form select,.structured-form textarea{max-width:100%;margin-bottom:0}.structured-form .helptext{display:block}.structured-form ul:not(.errorlist){font-size:11px;color:#91a0ad;line-height:1.6}.settings-actions{display:flex;justify-content:flex-end;border-top:1px solid var(--line);padding-top:17px;margin-top:22px}.settings-links{display:grid;gap:6px}.settings-links>a{display:flex;align-items:center;gap:12px;border:1px solid #edf2f1;border-radius:8px;padding:12px;color:var(--ink)}.settings-links>a:hover{background:#f7fcf9;border-color:#d8eee4;text-decoration:none}.settings-links>a>span:nth-child(2){flex:1}.settings-links strong,.settings-links small{display:block}.settings-links strong{font-size:13px}.settings-links small{font-size:11px;margin-top:2px}.settings-links b{color:#a3b2b8;font-size:15px}.settings-link-icon{width:35px;height:35px;font-size:15px}@media(max-width:900px){.account-layout,.settings-layout{grid-template-columns:1fr}.account-profile{text-align:left;display:grid;grid-template-columns:auto 1fr;column-gap:14px;align-items:center}.account-avatar{grid-row:span 2;margin:0}.account-profile h2,.account-profile p{margin:0}.account-profile-note{grid-column:1/-1}}
.portal-panel nav{display:flex;gap:12px;font-size:12px;color:#899aa6;margin-top:14px}.portal-list{display:grid;gap:7px}.portal-item{display:flex;align-items:center;gap:12px;border:1px solid #edf2f1;border-radius:9px;padding:13px;color:var(--ink)}.portal-item:hover{background:#f7fcf9;text-decoration:none}.portal-item>span:nth-child(2){flex:1;min-width:0}.portal-item strong,.portal-item small,.notice-line strong,.notice-line small{display:block}.portal-item strong{font-size:13px;overflow-wrap:anywhere}.portal-item small,.notice-line small{font-size:11px;margin-top:3px}.portal-item b{color:#99aaa6}.notice-line{display:flex;gap:12px;padding:14px 0;border-bottom:1px solid var(--line);font-size:13px}.notice-line:last-child{border:0}.notice-dot{margin-top:5px;width:9px;height:9px;border-radius:50%;background:#0bb587;flex:none}.notification-card{padding:20px}.notification-main{display:flex;align-items:center;gap:12px}.notification-main>div{flex:1;min-width:0}.notification-main strong,.notification-main small{display:block}.notification-main strong{font-size:13px}.notification-main small{font-size:11px;margin-top:4px}.notice-icon{display:grid;place-items:center;width:40px;height:40px;background:#e8f8f0;color:#0ba77b;border-radius:10px}.notification-actions{display:flex;align-items:center;gap:15px;padding-left:52px;margin-top:10px;font-size:12px;font-weight:700}.notification-card>p{font-size:12px;color:#8799a5;margin:8px 0 0 52px}
.auth-content>.page-heading{margin-bottom:18px}.auth-content>.panel{box-shadow:0 16px 45px rgba(19,63,52,.07)}.auth-content>form{background:white;border:1px solid var(--line);border-radius:10px;padding:26px}.main-content>form table,.panel>form table{margin-bottom:22px}.main-content>form>label,.panel>form>label{font-size:13px}.main-content>form button+button,.panel>form button+button{margin-left:4px}.main-content .panel>ul:not(.work-list):not(.errorlist){color:#667b88}.main-content .panel>ul:not(.work-list):not(.errorlist)>li{line-height:1.6}.main-content>.grid{margin-top:20px}.main-content>.grid>.card h2{color:#203d3b}.main-content>.grid>.card strong{font-size:22px;color:#103c31}.main-content>.grid>.card ul{color:#758b95;font-size:13px;line-height:1.7}.main-content img{max-width:100%;height:auto}.main-content pre{max-width:100%;overflow:auto;padding:15px;background:#f6f9f8;border:1px solid #e9f0ed;border-radius:7px;font-size:12px}
.document-review{border:1px solid #e9efed;border-radius:9px;padding:18px;margin:14px 0}.document-review-head{display:flex;align-items:center;gap:12px;margin-bottom:14px}.document-review-head h3{margin:0;font-size:14px}.document-review-head small{font-size:11px}.document-review>form{border-top:1px solid var(--line);padding-top:16px}.document-review>form button{font-size:12px;padding:8px 11px}.document-review>p{font-size:13px;color:#708590}.document-review details p{font-size:12px;color:#788d99}.client-update{display:flex;gap:13px;padding:16px 0;border-top:1px solid var(--line)}.client-update strong,.client-update small{display:block}.client-update strong{font-size:14px}.client-update small{margin-top:3px;font-size:11px}.client-update p{margin:9px 0 0;color:#657c89;font-size:13px;line-height:1.65;overflow-wrap:anywhere}
.notification-table{margin-bottom:20px}.notification-table th:not(:first-child),.notification-table td:not(:first-child){text-align:center;width:120px}.notification-table input[type=checkbox]{width:17px;height:17px;accent-color:#0bb587}.reminder-heading{margin-top:25px}.settings-form>.form-grid label{font-size:12px}.settings-form>.form-grid input{max-width:none}.settings-form>.settings-actions{margin-top:20px}
.integration-status{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--line);padding:16px 20px;border-radius:9px;margin:18px 0}.integration-status small,.integration-status strong{display:block}.integration-status small{font-size:10px;letter-spacing:.08em;font-weight:800;color:#99aab5}.integration-status strong{font-size:13px;margin-top:4px}.ai-settings-panel{max-width:900px}.ai-settings-panel>p{font-size:13px;color:#708592;line-height:1.6}.ai-settings-panel .structured-form{margin-top:20px}
.task-page-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.task-page-head h1{margin:0 0 6px}.task-page-head p{margin:0;color:#8395a3;font-size:13px}.main-content>form.task-edit-form{background:none;border:0;border-radius:0;padding:0;margin:0}.task-edit-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;align-items:start;gap:18px}.task-edit-main,.task-edit-side{display:grid;gap:16px}.task-edit-section{margin:0;padding:24px}.task-section-heading{display:flex;gap:12px;align-items:flex-start;margin-bottom:22px}.task-section-heading h2{margin:0 0 3px;font-size:16px}.task-section-heading p{margin:0;color:#8b9da8;font-size:12px;line-height:1.55}.task-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.task-form-field{min-width:0}.task-form-field label{display:block;color:#5c7180;font-size:12px;font-weight:700}.task-form-field input,.task-form-field select,.task-form-field textarea{max-width:none;margin:7px 0 0}.task-form-field textarea{min-height:100px}.task-field-wide,.task-check{grid-column:1/-1}.task-check{background:#f2faf7;border:1px solid #e2f2eb;border-radius:8px;padding:12px}.task-check label{display:flex;align-items:flex-start;gap:8px;color:#58786c}.task-check input{width:auto;margin:2px 0 0;flex:none}.task-info-note{margin-top:18px;padding:12px 14px;background:#f5f8fc;color:#8294a4;border-radius:7px;font-size:11px}.task-side-fields{display:grid;gap:16px}.task-save-card{background:#eaf8f2;border:1px solid #d8f0e5;border-radius:10px;padding:20px}.task-save-card strong{display:block;font-size:13px}.task-save-card p{color:#88a096;font-size:12px;margin:5px 0 15px}.task-save-card button{width:100%}.task-save-card a{display:block;text-align:center;font-size:12px;font-weight:700;margin-top:12px}.task-history{margin-top:18px}.task-history .task-section-heading{margin-bottom:18px}@media(max-width:900px){.task-edit-layout{grid-template-columns:1fr}.task-edit-side{grid-row:1}.task-side-fields{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:600px){.task-form-grid,.task-side-fields{grid-template-columns:1fr}.task-field-wide,.task-check{grid-column:auto}.task-edit-section{padding:18px}.task-page-head{align-items:flex-start}.task-page-head h1{font-size:24px;overflow-wrap:anywhere}}
.task-form-field textarea{height:120px;resize:vertical}

/* ── Animations & Transitions ───────────────────────── */
@keyframes fadeInUp{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
@keyframes scaleIn{from{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.5}}
@keyframes slideInRight{from{opacity:0;transform:translateX(-10px)}to{opacity:1;transform:translateX(0)}}
html{scroll-behavior:smooth}

/* Page entrance */
.main-content{animation:fadeIn .35s ease-out}

/* Stat cards staggered entrance */
.stat-card{animation:fadeInUp .45s ease-out both;transition:transform .22s ease,box-shadow .22s ease}
.stat-card:nth-child(1){animation-delay:0s}
.stat-card:nth-child(2){animation-delay:.07s}
.stat-card:nth-child(3){animation-delay:.14s}
.stat-card:nth-child(4){animation-delay:.21s}
.stat-card:hover{transform:translateY(-4px);box-shadow:0 10px 30px rgba(27,54,73,.09)}

/* Panel & card entrance and hover */
.panel,.card{animation:fadeInUp .4s ease-out both;transition:box-shadow .22s ease}
.panel:hover{box-shadow:0 5px 18px rgba(27,54,73,.055)}

/* Kanban card hover */
.kanban-card{transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.kanban-card:hover{transform:translateY(-3px);box-shadow:0 8px 22px rgba(23,51,65,.08);border-color:#d4e8e1}

/* Portal item hover slide */
.portal-item{transition:transform .18s ease,background .18s ease,box-shadow .18s ease,border-color .18s ease}
.portal-item:hover{transform:translateX(5px);box-shadow:0 3px 12px rgba(27,54,73,.06);border-color:#d4e8e1}

/* Settings links hover slide */
.settings-links>a{transition:transform .18s ease,background .18s ease,box-shadow .18s ease,border-color .18s ease}
.settings-links>a:hover{transform:translateX(4px);box-shadow:0 3px 10px rgba(27,54,73,.05)}

/* Button transitions */
button,.button{transition:background .15s ease,transform .1s ease,box-shadow .15s ease,border-color .15s ease}
button:active,.button:active{transform:scale(.97)}
.button-soft{transition:background .15s ease,color .15s ease,border-color .15s ease,transform .1s ease}

/* Table row hover */
.records-table tbody tr{transition:background .18s ease}
.records-table tbody tr:hover{background:#f7fcfa}

/* Badge micro-interaction */
.badge{transition:transform .15s ease}

/* Notification card hover */
.notification-card{transition:box-shadow .22s ease,transform .18s ease}
.notification-card:hover{box-shadow:0 5px 18px rgba(27,54,73,.06);transform:translateY(-2px)}

/* Work list item hover */
.work-list li{transition:background .18s ease,padding-left .18s ease}
.work-list li:hover{background:#f8fcfa;padding-left:4px}

/* Deadline strip hover */
.deadline-item{transition:transform .18s ease,box-shadow .18s ease}
.deadline-item:hover{transform:translateY(-3px);box-shadow:0 4px 14px rgba(27,54,73,.07)}

/* Avatar micro-interaction */
.avatar{transition:transform .22s ease,box-shadow .22s ease}
.avatar:hover{transform:scale(1.08);box-shadow:0 0 0 3px #d6f3e8}

/* Side nav link transitions */
.side-nav a{transition:background .18s ease,color .18s ease,padding-left .18s ease}
.side-nav a:hover{padding-left:14px}

/* Icon button hover */
.icon-button{transition:color .18s ease,border-color .18s ease,background .18s ease,transform .15s ease}
.icon-button:hover{border-color:#d8eee4;background:#f3faf7;transform:scale(1.05)}

/* Publication card hover */
.publication-card{transition:border-color .22s ease,box-shadow .22s ease}
.publication-card:hover{border-color:#c8e2da;box-shadow:0 4px 16px rgba(27,54,73,.06)}

/* Document review hover */
.document-review{transition:border-color .22s ease,box-shadow .22s ease}
.document-review:hover{border-color:#c8e2da;box-shadow:0 4px 16px rgba(27,54,73,.06)}

/* Input focus glow */
input:not([type=checkbox]):not([type=radio]),select,textarea{transition:border-color .18s ease,box-shadow .18s ease}
input:not([type=checkbox]):not([type=radio]):focus,select:focus,textarea:focus{box-shadow:0 0 0 3px rgba(11,181,135,.13)}

/* Timeline dot hover */
.timeline-dot{transition:transform .22s ease,background .22s ease}
.timeline-entry:hover .timeline-dot{transform:scale(1.4);background:#0bb587}

/* Kanban column drag */
.kanban-column{transition:background .22s ease,outline-color .22s ease}

/* Status indicator pulse */
.status-indicator:not(.paused){animation:pulse 2.2s ease-in-out infinite}

/* Process overview items entrance */
.process-overview>div{animation:slideInRight .35s ease-out both}
.process-overview>div:nth-child(1){animation-delay:0s}
.process-overview>div:nth-child(2){animation-delay:.06s}
.process-overview>div:nth-child(3){animation-delay:.12s}
.process-overview>div:nth-child(4){animation-delay:.18s}

/* Kanban cards staggered */
.kanban-card{animation:fadeInUp .35s ease-out both}
.kanban-cards .kanban-card:nth-child(1){animation-delay:0s}
.kanban-cards .kanban-card:nth-child(2){animation-delay:.05s}
.kanban-cards .kanban-card:nth-child(3){animation-delay:.1s}
.kanban-cards .kanban-card:nth-child(4){animation-delay:.15s}
.kanban-cards .kanban-card:nth-child(5){animation-delay:.2s}

/* Stat icon subtle float */
@keyframes floatIcon{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
.stat-card:hover .stat-icon{animation:floatIcon .6s ease-in-out}

/* Auth panel entrance */
.auth-content .panel{animation:scaleIn .4s ease-out}

/* Sidebar active indicator transition */
.side-nav a.active:before{transition:height .2s ease}

/* Success state animation for request_created */
.success-hero{text-align:center;padding:30px 20px}.success-hero-icon{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:#e2f8ef;color:#0ba77e;font-size:28px;margin:0 auto 18px;animation:scaleIn .4s ease-out}.success-hero h2{font-size:20px;margin:0 0 8px}.success-hero p{color:var(--muted);margin:0}.copy-field{position:relative;margin:14px 0}.copy-field input{padding-right:90px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:13px;background:#f8fafb}.copy-field label{font-size:12px;font-weight:700;color:#53677a}

/* Ticket / support page improvements */
.ticket-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.ticket-header h1{margin:0 0 6px}.ticket-header p{margin:0;color:#8395a3;font-size:13px}
.ticket-meta{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px;margin-bottom:20px}.ticket-meta-item{padding:14px;background:#f7faf9;border-radius:8px}.ticket-meta-item small{display:block;font-size:10px;font-weight:800;letter-spacing:.08em;color:#9aabb7;margin-bottom:5px}.ticket-meta-item strong{font-size:13px;color:#324b59}
.conversation-entry{display:flex;gap:12px;padding:16px 0;border-bottom:1px solid #eef2f4}.conversation-entry:last-child{border-bottom:0}.conversation-avatar{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#e6f6ef;color:#079e74;font-weight:800;font-size:13px;flex:none}.conversation-body{flex:1;min-width:0}.conversation-body strong{font-size:13px;color:#324b59}.conversation-body small{color:#8fa0ab;font-size:11px;margin-left:8px}.conversation-body p{margin:6px 0 0;color:#5d7080;font-size:13px;line-height:1.65}
.access-request-card{border:1px solid #e6eded;border-radius:9px;padding:18px;margin:10px 0;transition:border-color .2s ease,box-shadow .2s ease}.access-request-card:hover{border-color:#d4e8e1;box-shadow:0 3px 12px rgba(27,54,73,.05)}
.access-request-card .ticket-meta{margin-bottom:14px}

/* Close case improvements */
.pending-section{margin:14px 0}.pending-section h3{font-size:14px;margin:0 0 10px;color:#3d5263}.pending-list{list-style:none;padding:0;margin:0}.pending-list li{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #eef2f4;font-size:13px;color:#5d6e80}.pending-list li:last-child{border-bottom:0}.pending-list li::before{content:"";width:7px;height:7px;border-radius:50%;background:#e1a34a;flex:none}.pending-list .none-item::before{background:#0bb587}

/* Invite table improvements */
.invite-status{display:inline-flex;align-items:center;gap:5px}.invite-actions{display:flex;gap:6px}.invite-actions form{margin:0}.invite-actions button{padding:5px 9px;font-size:11px}

/* Billing plans modern cards */
.plans-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px;margin-top:20px}.plan-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:28px;transition:transform .22s ease,box-shadow .22s ease;animation:fadeInUp .4s ease-out both;position:relative;overflow:hidden}.plan-card:nth-child(1){animation-delay:0s}.plan-card:nth-child(2){animation-delay:.08s}.plan-card:nth-child(3){animation-delay:.16s}.plan-card:hover{transform:translateY(-4px);box-shadow:0 10px 30px rgba(27,54,73,.09)}.plan-card h2{font-size:18px;margin:0 0 14px}.plan-price{font-size:32px;font-weight:750;color:#0ba77e;line-height:1.1;letter-spacing:-.03em}.plan-price small{font-size:13px;font-weight:600;color:#8394a2}.plan-features{list-style:none;padding:0;margin:18px 0 0}.plan-features li{padding:8px 0;border-top:1px solid #eef2f4;font-size:13px;color:#5d6e80;display:flex;align-items:center;gap:8px}.plan-features li::before{content:"✓";color:#0bb587;font-weight:700}

/* Member edit page */
.member-layout{display:grid;grid-template-columns:270px minmax(0,1fr);align-items:start;gap:20px}.member-profile{text-align:center;padding:30px 22px}.member-avatar{display:grid;place-items:center;width:64px;height:64px;border-radius:20px;background:#e2f8ef;color:#0ba67b;font-size:25px;font-weight:800;margin:0 auto 16px}.member-profile h2{font-size:16px;margin:0 0 3px;overflow-wrap:anywhere}.member-profile p{font-size:12px;color:#899aa7;overflow-wrap:anywhere}@media(max-width:900px){.member-layout{grid-template-columns:1fr}.member-profile{text-align:left;display:grid;grid-template-columns:auto 1fr;column-gap:14px;align-items:center}.member-avatar{grid-row:span 2;margin:0}.member-profile h2,.member-profile p{margin:0}}

/* Deliveries table improvements */
.deliveries-table td{font-size:12px;vertical-align:top;padding:14px 10px}.deliveries-table .action-cell{min-width:180px}.deliveries-table .action-cell form{margin:4px 0}.deliveries-table .action-cell button{font-size:11px;padding:5px 9px}.deliveries-table .action-cell small{display:block;font-size:10px;color:#8fa0ab;margin-top:3px}

/* Upload page improvements */
.upload-card{border:1px solid #e6eded;border-radius:9px;padding:20px;margin:14px 0;transition:border-color .2s ease,box-shadow .2s ease}.upload-card:hover{border-color:#d4e8e1;box-shadow:0 3px 12px rgba(27,54,73,.05)}.upload-card h2{font-size:15px;margin:0 0 10px}.upload-card .badge{margin-left:8px}.upload-card-status{display:flex;align-items:center;gap:8px;margin-bottom:12px}.upload-card form{border-top:1px solid var(--line);padding-top:14px;margin-top:14px}

/* Process section actions (button + link side by side) */
.process-section-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}.process-section-actions .button{font-size:12px;padding:8px 14px;white-space:nowrap}

/* Tom Select overrides */
.ts-wrapper{max-width:600px}.ts-control{border:1px solid #dce5eb!important;border-radius:7px!important;padding:10px 12px!important;background:#fff!important;min-height:42px!important;font-size:inherit!important;box-shadow:none!important}.ts-control input{font-size:inherit!important}.ts-dropdown{border:1px solid #dce5eb!important;border-radius:7px!important;box-shadow:0 8px 24px rgba(27,54,73,.1)!important;margin-top:2px!important}.ts-dropdown .option{padding:10px 12px!important;font-size:13px!important}.ts-dropdown .active{background:#e8f8f2!important;color:#08a97e!important}.ts-wrapper.focus .ts-control{border-color:var(--green)!important;box-shadow:0 0 0 3px rgba(11,181,135,.13)!important}

/* WhatsApp message templates */
.template-card{border:1px solid #e6eded;border-radius:9px;padding:20px;margin:14px 0;transition:border-color .22s ease,box-shadow .22s ease}.template-card:hover{border-color:#d4e8e1;box-shadow:0 3px 12px rgba(27,54,73,.05)}.template-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.template-card-head h3{margin:0;font-size:14px;color:#3d5263}.template-card-head .badge{flex-shrink:0}.template-card label{font-size:12px;font-weight:700;color:#53677a;display:block;margin-bottom:4px}.template-card textarea{min-height:80px;max-width:100%;margin:0 0 12px}.template-card .form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:14px}.template-card .form-row input,.template-card .form-row select{max-width:none;margin:4px 0 0}.template-vars{font-size:11px;color:#8999a8;line-height:1.5;margin:0 0 12px;padding:8px 12px;background:#f7faf9;border-radius:6px}

/* Support queue table */
.queue-unread{background:#fff5e7;border-left:3px solid #e1a34a;padding:6px 10px;border-radius:4px;font-size:11px;font-weight:700;color:#bd862e;margin-top:6px;display:inline-block}

/* ── Reduced motion ── */
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
