:root{color:#1f2937;background:#f6f7f9;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,select,textarea{font:inherit}a{color:#155e75}.app-shell{display:grid;min-height:100vh;grid-template-columns:260px minmax(0,1fr);background:#f7f8fa;transition:grid-template-columns .16s ease}.app-shell.sidebar-collapsed{grid-template-columns:64px minmax(0,1fr)}.app-sidebar{position:sticky;top:0;min-height:100vh;background:linear-gradient(180deg,#004085,#0878e4);color:#f8fafc;padding:12px 14px 24px;overflow:hidden;transition:padding .16s ease}.app-shell.sidebar-collapsed .app-sidebar{padding-inline:12px}.sidebar-toggle{width:40px;min-height:36px;margin-bottom:20px;border-color:#ffffff40;background:#0c182873;border-radius:6px;padding:4px}.app-shell.sidebar-collapsed .app-nav{display:none}.app-nav{display:grid;gap:8px}.app-nav a,.nav-group summary{color:#fff;text-decoration:none;padding:10px 12px;border-radius:6px;font-weight:700;cursor:pointer;list-style:none}.nav-group summary::-webkit-details-marker{display:none}.nav-group summary{display:flex;justify-content:space-between;gap:8px;align-items:center}.app-nav a.active,.app-nav a:hover,.nav-group summary:hover{background:#ffffff1f;color:#fff}.nav-submenu{display:grid;gap:4px;margin:4px 0 0 20px}.nav-submenu a{font-weight:600;padding:8px 10px;color:#e6f0ff}.app-main{min-width:0;display:grid;grid-template-rows:auto minmax(0,1fr)}.app-header{min-height:106px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:18px;padding:14px 28px 10px;background:linear-gradient(90deg,#004085,#0878e4);color:#fff;border-bottom-left-radius:10px;border-bottom-right-radius:10px;box-shadow:0 4px 14px #00408538}.header-title{grid-row:1 / span 2;align-self:center;justify-self:center;text-align:center;padding-left:140px}.header-title h1{margin:0;font-size:48px;line-height:1}.header-title p{margin:12px 0 0;font-size:23px;color:#eaf3ff}.welcome-user{justify-self:end;font-weight:800;font-size:18px;grid-column:2}.header-actions{position:relative;grid-column:2;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:12px}.header-action,.header-icon,.logout-button{color:#fff;text-decoration:none;font-weight:800}.header-action:hover,.header-icon:hover{color:#e6f0ff}.header-global-search{position:relative;display:grid;grid-template-columns:minmax(210px,320px) auto;align-items:center;gap:6px}.header-global-search input{width:100%;min-height:38px;border:1px solid rgba(255,255,255,.58);border-radius:6px;background:#fffffff0;color:#1f2937;padding:8px 10px;box-shadow:0 8px 20px #00408529}.header-search-open{display:grid;place-items:center;width:38px;min-height:38px;border:1px solid rgba(255,255,255,.5);border-radius:6px;background:#ffffff29;color:#fff;text-decoration:none;font-weight:900}.header-search-open:hover{background:#ffffff3d}.header-search-results{position:absolute;top:calc(100% + 8px);right:0;z-index:25;width:min(560px,calc(100vw - 40px));max-height:460px;color:#1f2937}.header-shortcuts{position:relative}.header-shortcuts summary{display:grid;place-items:center;min-height:38px;padding:7px 12px;border:1px solid rgba(255,255,255,.5);border-radius:6px;background:#ffffff29;color:#fff;cursor:pointer;font-weight:900;list-style:none}.header-shortcuts summary::-webkit-details-marker{display:none}.header-shortcuts[open] summary,.header-shortcuts summary:hover{background:#ffffff3d}.header-shortcut-menu{position:absolute;top:calc(100% + 8px);right:0;z-index:20;display:grid;gap:5px;min-width:190px;border:1px solid #dbe4ef;border-radius:8px;background:#fff;padding:8px;box-shadow:0 18px 46px #0f172a3d}.header-shortcut-item{display:block;border-radius:6px;color:#1f2937;padding:9px 10px;text-decoration:none;font-weight:800}.header-shortcut-item:hover,.header-shortcut-item.active{background:#eaf5ff;color:#075985}.logout-button{min-height:auto;border:0;background:transparent;padding:0}.app-content{min-height:0;padding:0;overflow:auto}.team-chat-launcher{position:fixed;right:22px;bottom:22px;z-index:78;display:inline-flex;align-items:center;gap:10px;min-height:52px;padding:10px 18px 10px 12px;border:1px solid rgba(255,255,255,.46);border-radius:999px;background:linear-gradient(135deg,#0f3f75,#0878e4 56%,#17b7db);color:#fff;box-shadow:0 20px 50px #084e9759;transition:transform .16s ease,box-shadow .16s ease}.team-chat-launcher:hover{transform:translateY(-2px);box-shadow:0 26px 60px #084e976b}.team-chat-launcher>span{display:grid;place-items:center;width:33px;height:33px;border-radius:999px;background:#ffffff2e}.team-chat-launcher strong{font-size:14px}.team-chat-launcher sup{display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#f97316;color:#fff;font-size:11px;font-weight:950}.team-chat-widget{position:fixed;right:22px;bottom:22px;z-index:78;display:grid;grid-template-rows:auto auto minmax(0,1fr);width:min(700px,calc(100vw - 32px));height:min(610px,calc(100vh - 40px));overflow:hidden;border:1px solid rgba(125,179,234,.42);border-radius:24px;background:linear-gradient(180deg,#f9fbff,#eef7ff);color:#0f172a;box-shadow:0 32px 86px #0f2d5252}.team-chat-widget.maximized{right:24px;bottom:24px;width:min(1120px,calc(100vw - 48px));height:min(820px,calc(100vh - 48px))}.team-chat-widget.standalone{position:relative;right:auto;bottom:auto;z-index:1;width:min(1180px,calc(100vw - 40px));height:min(820px,calc(100vh - 40px));margin:auto}.team-chat-page{display:grid;min-height:100vh;padding:20px;background:linear-gradient(135deg,#082f62eb,#0878e4d1),linear-gradient(180deg,#eaf6ff,#fff)}.team-chat-widget>header{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;padding:16px 18px;background:linear-gradient(135deg,#082f62,#0b76da 58%,#11a9dc);color:#fff}.team-chat-widget h2{margin:0;font-size:20px;letter-spacing:0}.team-chat-widget header p{margin:4px 0 0;color:#dbeafe;font-size:13px}.team-chat-header-actions{display:inline-flex;gap:8px;align-items:center}.team-chat-header-actions:empty{display:none}.team-chat-widget header button{display:grid;place-items:center;min-width:32px;min-height:32px;border:1px solid rgba(255,255,255,.28);border-radius:999px;background:#ffffff24;color:#fff;padding:0;font-size:20px;line-height:1}.team-chat-widget header button:hover{background:#ffffff3d}.team-chat-contact-bar{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:11px;align-items:center;margin:0;padding:10px 14px;border-bottom:1px solid rgba(148,163,184,.22);background:#ffffffc2}.team-chat-contact-avatar{display:grid;place-items:center;width:40px;height:40px;border-radius:15px;background:linear-gradient(135deg,#dbeafe,#bfdbfe);color:#075985;font-size:13px;font-weight:950}.team-chat-contact-bar strong,.team-chat-contact-bar small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.team-chat-contact-bar small{margin-top:2px;color:#64748b;font-weight:750}.team-chat-presence-pill{display:inline-flex;align-items:center;min-height:26px;border-radius:999px;padding:5px 10px;background:#e2e8f0;color:#475569;font-size:12px;font-weight:950}.team-chat-presence-pill.online{background:#dcfce7;color:#166534}.team-chat-presence-pill.offline{background:#f1f5f9}.team-chat-body{display:grid;grid-template-columns:218px minmax(0,1fr);min-height:0}.team-chat-users{display:grid;grid-template-rows:auto minmax(0,1fr);gap:10px;min-width:0;padding:12px;border-right:1px solid rgba(148,163,184,.24);background:#f8fbffdb}.team-chat-users input{width:100%;min-height:38px;border:1px solid #cfe1f4;border-radius:999px;background:#fff;padding:8px 13px;box-shadow:inset 0 1px 2px #0f172a0a}.team-chat-user-list{display:grid;align-content:start;gap:8px;overflow:auto}.team-chat-user-list button{display:grid;grid-template-columns:34px minmax(0,1fr);gap:8px;align-items:center;min-height:48px;border:1px solid rgba(215,231,245,.88);border-radius:16px;background:#ffffffe6;color:#172033;padding:7px 9px;text-align:left;transition:border-color .14s ease,background .14s ease,transform .14s ease,box-shadow .14s ease}.team-chat-user-list button.active,.team-chat-user-list button:hover{border-color:#38bdf8;background:#eef8ff;box-shadow:0 10px 26px #0e74901f;transform:translateY(-1px)}.team-chat-user-list button strong{display:grid;place-items:center;width:34px;height:34px;border-radius:999px;background:linear-gradient(135deg,#dbeafe,#bae6fd);color:#075985;font-size:12px;font-weight:950}.team-chat-user-list button>span{display:inline-flex;align-items:center;gap:7px;min-width:0}.team-chat-user-list button>span>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:800}.team-chat-user-name-row{display:inline-flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-width:0}.team-chat-user-name-row>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.team-chat-user-name-row em{display:inline-grid;flex:0 0 auto;place-items:center;min-width:22px;height:22px;border-radius:999px;background:linear-gradient(135deg,#f97316,#fb923c);color:#fff;font-size:11px;font-style:normal;font-weight:950;box-shadow:0 8px 18px #f9731642}.team-chat-presence-dot{flex:0 0 auto;width:9px;height:9px;border-radius:999px;background:#94a3b8;box-shadow:0 0 0 2px #fff}.team-chat-presence-dot.online{background:#22c55e;box-shadow:0 0 0 2px #fff,0 0 0 5px #22c55e29}.team-chat-presence-dot.offline{background:#94a3b8}.team-chat-conversation{display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-width:0;min-height:0;background:linear-gradient(90deg,rgba(226,232,240,.26) 1px,transparent 1px),linear-gradient(180deg,#fff,#f5fbff);background-size:24px 100%,auto}.team-chat-error{margin:10px 12px 0;border:1px solid #fecaca;border-radius:10px;background:#fef2f2;color:#991b1b;padding:8px 10px}.team-chat-messages{display:flex;flex-direction:column;gap:10px;min-height:0;overflow:auto;padding:16px}.team-chat-empty{margin:auto;color:#64748b;font-weight:700;text-align:center}.team-chat-message{display:grid;gap:4px;max-width:80%;padding:10px 12px;border-radius:18px;box-shadow:0 10px 24px #0f172a14}.team-chat-message.mine{align-self:flex-end;border-bottom-right-radius:7px;background:linear-gradient(135deg,#0b65d8,#12a7dd);color:#fff}.team-chat-message.theirs{align-self:flex-start;border:1px solid rgba(203,213,225,.74);border-bottom-left-radius:7px;background:#fffffff0;color:#172033}.team-chat-message p{margin:0;overflow-wrap:anywhere;line-height:1.38}.team-chat-message time{justify-self:end;opacity:.78;font-size:11px;font-weight:800}.team-chat-composer{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:12px;border-top:1px solid rgba(148,163,184,.22);background:#ffffffd6}.team-chat-composer textarea{min-height:46px;max-height:112px;resize:vertical;border:1px solid #cfe1f4;border-radius:16px;padding:10px 12px;background:#fff}.team-chat-composer button{align-self:end;min-height:46px;border-radius:16px;padding-inline:18px;border:0;background:linear-gradient(135deg,#0b65d8,#10a6db);color:#fff;font-weight:950;box-shadow:0 12px 26px #0e749038}.team-chat-incoming-toast{position:fixed;right:22px;bottom:min(654px,calc(100vh - 112px));z-index:82;display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:11px;align-items:start;width:min(360px,calc(100vw - 32px));padding:13px;border:1px solid rgba(37,99,235,.28);border-radius:16px;background:linear-gradient(135deg,#fffffffa,#eff6fffa);color:#0f172a;box-shadow:0 22px 56px #0f172a3d;animation:notification-toast-in .22s ease-out both}.team-chat-incoming-toast>span{display:grid;place-items:center;width:34px;height:34px;border-radius:999px;background:linear-gradient(135deg,#2563eb,#0ea5e9);color:#fff;box-shadow:0 10px 22px #2563eb3d}.team-chat-incoming-toast strong{color:#0f2f6b;font-size:14px;line-height:1.2}.team-chat-incoming-toast p{display:-webkit-box;margin:4px 0 0;overflow:hidden;color:#334155;font-size:13px;line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:2}.team-chat-incoming-toast button{display:grid;place-items:center;min-width:28px;min-height:28px;border:0;border-radius:999px;background:#0f172a14;color:#334155;padding:0;font-size:18px}.team-chat-incoming-toast button:hover{background:#0f172a24}.notification-toast{position:fixed;right:22px;bottom:92px;z-index:80;display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:12px;align-items:start;width:min(380px,calc(100vw - 32px));border:1px solid rgba(14,165,233,.32);border-radius:14px;background:linear-gradient(135deg,#fffffffa,#eff6fffa);box-shadow:0 24px 58px #0f172a3d;padding:14px;color:#0f172a;animation:notification-toast-in .22s ease-out both}.notification-toast-firm-approval{border-color:#f59e0b80;background:linear-gradient(135deg,#fff7ed,#fff 48%,#eff6ff)}.notification-toast-task-update{border-color:#14b8a66b;background:linear-gradient(135deg,#ecfeff,#fff 52%,#eff6ff)}.notification-toast-marker{display:grid;place-items:center;width:34px;min-height:34px;border-radius:999px;background:#0ea5e9;color:#fff;font-weight:950;box-shadow:0 10px 24px #0ea5e947}.notification-toast-firm-approval .notification-toast-marker{background:#f59e0b;box-shadow:0 10px 24px #f59e0b47}.notification-toast-copy{display:grid;gap:4px}.notification-toast-copy strong{color:#0f172a;font-size:16px;line-height:1.15}.notification-toast-copy p{margin:0;color:#334155;line-height:1.35}.notification-toast-copy small{color:#92400e;font-weight:800}.notification-toast-action{justify-self:start;min-height:30px;border:1px solid rgba(14,116,144,.28);border-radius:999px;background:#fff;color:#075985;padding:4px 10px;font-size:13px;font-weight:900}.notification-toast-action:hover{background:#e0f2fe}.notification-toast-close{display:grid;place-items:center;min-width:30px;min-height:30px;border:0;border-radius:999px;background:#0f172a14;color:#334155;padding:0;font-size:20px;line-height:1}.notification-toast-close:hover{background:#0f172a24;color:#0f172a}.firm-approval-modal{width:min(760px,100%)}.firm-approval-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #dbeafe;border-radius:12px;background:linear-gradient(135deg,#eff6ff,#fff);padding:14px}.firm-approval-summary h3{margin:0;color:#123b62;font-size:22px}.firm-approval-summary span{border-radius:999px;background:#fef3c7;color:#92400e;padding:5px 10px;font-weight:900}.firm-approval-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0}.firm-approval-detail-grid div{border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc;padding:10px 12px}.firm-approval-detail-grid div.wide{grid-column:1 / -1}.firm-approval-detail-grid dt{color:#64748b;font-size:12px;font-weight:900;text-transform:uppercase}.firm-approval-detail-grid dd{margin:4px 0 0;color:#0f172a;font-weight:750;overflow-wrap:anywhere}.firm-approval-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-start}.firm-approval-actions .secondary-button{border-color:#cbd5e1;background:#fff;color:#334155}.page-section{display:grid;gap:20px}.page-section h1,.feedback-page h1,.login-panel h1{margin:0;font-size:28px}.page-section p{margin:6px 0 0;color:#526171}.status-panel,.table-shell,.login-panel{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:18px}.status-panel dl{display:grid;grid-template-columns:120px 1fr;gap:8px 16px;margin:0}.status-panel dt{color:#64748b}.status-panel dd{margin:0;font-weight:600}.table-shell{overflow-x:auto}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:12px;border-bottom:1px solid #e5e7eb;vertical-align:top}th{color:#475569;font-size:13px;text-transform:uppercase}.loading-spinner{display:inline-flex;align-items:center;gap:10px;color:#475569}.spinner-dot{width:14px;height:14px;border:2px solid #cbd5e1;border-top-color:#155e75;border-radius:50%;animation:spin .9s linear infinite}.page-loader,.feedback-page,.login-page{min-height:100vh;display:grid;place-items:center;padding:24px}.login-page{position:relative;overflow:hidden;isolation:isolate;align-content:center;justify-items:center;gap:14px;padding:clamp(26px,5vh,56px) 24px clamp(72px,13vh,132px);background:linear-gradient(135deg,#0f766e,#0ea5e9 45%,#8b5cf6)}.login-page:before{content:"";position:absolute;inset:0;z-index:-2;background:radial-gradient(circle at 16% 18%,rgba(253,224,71,.32),transparent 28%),radial-gradient(circle at 82% 22%,rgba(244,114,182,.26),transparent 30%),radial-gradient(circle at 72% 78%,rgba(45,212,191,.34),transparent 30%)}.login-visual-field{position:absolute;inset:0;z-index:-1;pointer-events:none}.login-float{position:absolute;display:grid;place-items:center;width:48px;min-height:48px;border:0;border-radius:0;background:transparent;color:#fff;text-shadow:0 12px 34px rgba(15,23,42,.38);font-size:34px;animation:login-float 9s ease-in-out infinite}.login-float-firms{left:0;top:0;animation-name:login-float-a;animation-duration:5.1s;animation-delay:-.4s}.login-float-orgs{left:0;top:0;animation-name:login-float-b;animation-duration:7.3s;animation-delay:-1.2s}.login-float-tenders{left:0;top:0;animation-name:login-float-c;animation-duration:5.8s;animation-delay:-1.7s}.login-float-payments{left:0;top:0;animation-name:login-float-d;animation-duration:8.2s;animation-delay:-.7s}.login-float-deadlines{left:0;top:0;animation-name:login-float-e;animation-duration:4.8s;animation-delay:-1s}.login-float-groups{left:0;top:0;animation-name:login-float-f;animation-duration:6.6s;animation-delay:-2.1s}.login-float-firms,.login-float-tenders,.login-float-deadlines{animation-timing-function:cubic-bezier(.72,0,.2,1)}.login-float-orgs,.login-float-payments,.login-float-groups{animation-timing-function:cubic-bezier(.25,1.35,.85,.15)}.login-brand{align-self:end;margin-bottom:4px;color:#fff;text-align:center;text-shadow:0 14px 32px rgba(15,23,42,.28)}.login-brand span{display:inline-block;font-size:clamp(25px,2.8vw,38px);font-weight:900;line-height:1.05;letter-spacing:0;background:radial-gradient(circle at 12% 34%,rgba(255,255,255,.98) 0 2px,transparent 3px),radial-gradient(circle at 29% 72%,rgba(253,224,71,.9) 0 2px,transparent 3px),radial-gradient(circle at 46% 22%,rgba(204,251,241,.92) 0 2px,transparent 3px),radial-gradient(circle at 64% 76%,rgba(255,255,255,.9) 0 1.5px,transparent 3px),radial-gradient(circle at 83% 30%,rgba(253,186,116,.88) 0 2px,transparent 3px),linear-gradient(90deg,#bae6fdf5,#e0f2feeb 42%,#99f6e4e6);background-size:92px 42px,118px 50px,104px 44px,130px 52px,112px 46px,100% 100%;background-position:0 0,18px 4px,42px 0,68px 6px,84px 2px,center;-webkit-background-clip:text;background-clip:text;color:transparent;animation:login-brand-sparkle 4.2s ease-in-out infinite}.login-panel{position:relative;overflow:hidden;width:min(524px,100%);display:grid;gap:12px;padding:30px 32px 32px;background:linear-gradient(145deg,#fffffff7,#ecfdf5f5 48%,#eff6fff7);box-shadow:0 28px 80px #0f172a42;border-color:#e2e8f0d1}.login-panel:before{content:"dsvarma   dsvarma   dsvarma   dsvarma\a dsvarma   dsvarma   dsvarma   dsvarma\a dsvarma   dsvarma   dsvarma   dsvarma";position:absolute;inset:14px;z-index:0;color:#0e749014;font-size:16px;font-weight:900;line-height:3.2;letter-spacing:0;white-space:pre-wrap;transform:rotate(-18deg);pointer-events:none}.login-panel:after{content:"dsvarma   dsvarma   dsvarma   dsvarma\a dsvarma   dsvarma   dsvarma   dsvarma\a dsvarma   dsvarma   dsvarma   dsvarma";position:absolute;inset:42px 18px 20px;z-index:0;color:#0e74900e;font-size:16px;font-weight:900;line-height:3.3;letter-spacing:0;white-space:pre-wrap;transform:rotate(-18deg);pointer-events:none}.login-panel>*{position:relative;z-index:1}.login-panel h1{margin-bottom:8px;color:#172554;font-size:31px;line-height:1.12;font-weight:900;text-align:center}.login-panel label{margin-top:6px;color:#1e293b;font-weight:750;font-size:20px}.login-panel input{min-height:56px;border:1px solid #b8c7d9;border-radius:10px;padding:13px 15px;color:#0f172a;background:#ffffffb8;font-size:19px;font-weight:400;line-height:1.35;box-shadow:inset 0 1px 2px #0f172a0d}.login-panel input:-webkit-autofill,.login-panel input:-webkit-autofill:hover,.login-panel input:-webkit-autofill:focus{-webkit-text-fill-color:#0f172a;caret-color:#0f172a;font-size:19px;font-weight:400;line-height:1.35;transition:background-color 9999s ease-in-out 0s;box-shadow:0 0 0 1000px #ffffffb8 inset,inset 0 1px 2px #0f172a0d}.login-panel input:-webkit-autofill:first-line{font-size:19px;font-weight:400;line-height:1.35}.login-panel input:focus{border-color:#0ea5e9;outline:3px solid rgba(14,165,233,.22)}.login-panel button{min-height:50px;margin-top:8px;border-radius:10px;background:linear-gradient(135deg,#0284c7,#0d9488);border-color:transparent;font-size:17px;font-weight:900;box-shadow:0 14px 30px #0284c747}.form-error{margin:0;color:#b42318}button{min-height:38px;border:1px solid #155e75;border-radius:6px;background:#155e75;color:#fff;padding:8px 12px;cursor:pointer}.error-text{color:#b42318}@keyframes spin{to{transform:rotate(360deg)}}@keyframes login-float{0%,to{transform:translateZ(0) rotate(-2deg)}50%{transform:translate3d(12px,-18px,0) rotate(3deg)}}@keyframes login-brand-sparkle{0%,to{background-position:0 0,18px 4px,42px 0,68px 6px,84px 2px,center}50%{background-position:16px 2px,4px 10px,58px 4px,52px 12px,96px 0,center}}@keyframes login-float-a{0%,to{transform:translate3d(8vw,14vh,0) rotate(-8deg)}12%{transform:translate3d(18vw,18vh,0) rotate(-2deg)}25%{transform:translate3d(78vw,8vh,0) rotate(18deg)}50%{transform:translate3d(70vw,46vh,0) rotate(4deg)}55%{transform:translate3d(62vw,82vh,0) rotate(-14deg)}78%{transform:translate3d(12vw,68vh,0) rotate(9deg)}}@keyframes login-float-b{0%,to{transform:translate3d(84vw,12vh,0) rotate(4deg)}18%{transform:translate3d(72vw,16vh,0) rotate(1deg)}28%{transform:translate3d(14vw,22vh,0) rotate(-16deg)}52%{transform:translate3d(18vw,62vh,0) rotate(-4deg)}58%{transform:translate3d(24vw,84vh,0) rotate(12deg)}82%{transform:translate3d(72vw,64vh,0) rotate(-10deg)}}@keyframes login-float-c{0%,to{transform:translate3d(16vw,78vh,0) rotate(-4deg)}16%{transform:translate3d(28vw,76vh,0) rotate(2deg)}30%{transform:translate3d(74vw,72vh,0) rotate(17deg)}47%{transform:translate3d(82vw,54vh,0) rotate(3deg)}52%{transform:translate3d(86vw,28vh,0) rotate(-18deg)}76%{transform:translate3d(34vw,10vh,0) rotate(8deg)}}@keyframes login-float-d{0%,to{transform:translate3d(78vw,76vh,0) rotate(7deg)}14%{transform:translate3d(66vw,62vh,0) rotate(2deg)}22%{transform:translate3d(38vw,12vh,0) rotate(-18deg)}44%{transform:translate3d(18vw,22vh,0) rotate(-4deg)}50%{transform:translate3d(10vw,38vh,0) rotate(14deg)}74%{transform:translate3d(58vw,86vh,0) rotate(-8deg)}}@keyframes login-float-e{0%,to{transform:translate3d(4vw,54vh,0) rotate(-10deg)}10%{transform:translate3d(16vw,54vh,0) rotate(-3deg)}24%{transform:translate3d(88vw,46vh,0) rotate(16deg)}43%{transform:translate3d(82vw,24vh,0) rotate(4deg)}48%{transform:translate3d(68vw,12vh,0) rotate(-12deg)}76%{transform:translate3d(18vw,86vh,0) rotate(10deg)}}@keyframes login-float-f{0%,to{transform:translate3d(88vw,50vh,0) rotate(2deg)}20%{transform:translate3d(74vw,66vh,0) rotate(-4deg)}33%{transform:translate3d(42vw,84vh,0) rotate(-18deg)}54%{transform:translate3d(18vw,42vh,0) rotate(2deg)}60%{transform:translate3d(8vw,18vh,0) rotate(16deg)}84%{transform:translate3d(74vw,22vh,0) rotate(-9deg)}}@media(max-width:760px){.app-shell{grid-template-columns:1fr}.app-sidebar{position:static;min-height:auto}.app-header{grid-template-columns:1fr}.welcome-user,.header-actions{grid-column:1;justify-self:start;justify-content:flex-start}.app-content{padding:0}}@media(max-width:760px){.header-global-search{grid-template-columns:minmax(0,1fr) auto;width:100%}.header-actions{width:100%}.header-search-results{left:0;right:auto;width:calc(100vw - 40px)}}@media(max-width:760px){.login-page{padding:18px 18px 64px;align-content:center;gap:12px}.login-brand{margin-bottom:2px}.login-brand span{font-size:clamp(24px,8vw,32px)}.login-panel{padding:26px 22px 28px;gap:11px}.login-panel h1{font-size:29px}.login-panel label{font-size:19px}.login-panel input{min-height:54px;font-size:18px}.login-float{width:38px;min-height:38px;font-size:26px;opacity:.68}.login-float-deadlines,.login-float-groups{display:none}}.dashboard-page{min-height:100%;display:grid;align-content:start;gap:18px;padding:28px 36px 48px}.dashboard-welcome-burst{position:fixed;left:50%;bottom:26px;z-index:38;display:grid;place-items:center;min-width:min(420px,calc(100vw - 32px));border:1px solid rgba(14,165,233,.32);border-radius:999px;background:linear-gradient(90deg,#fffffff5,#f0fdfaf5,#eff6fff5);box-shadow:0 22px 58px #0f172a38;padding:15px 28px;color:#0f3b57;transform:translate(-50%);animation:welcome-pop-up 4.2s ease-in-out both;pointer-events:none}.dashboard-welcome-burst strong{position:relative;z-index:1;font-size:22px;line-height:1.2;text-align:center}.welcome-party-stream{position:absolute;inset:0;overflow:visible;pointer-events:none}.welcome-party-stream span{position:absolute;left:calc(8% + (var(--party-index) * 12%));bottom:-16px;font-size:23px;opacity:0;animation:party-rise 2.6s cubic-bezier(.2,.8,.2,1) both;animation-delay:calc(var(--party-index) * .11s)}.welcome-party-stream span:nth-child(2n){font-size:18px;animation-duration:3s}.welcome-party-stream span:nth-child(3n){font-size:28px;animation-duration:2.35s}.dashboard-live-search{display:grid;gap:7px;width:min(760px,100%)}.dashboard-live-search>label{color:#334155;font-weight:800}.dashboard-global-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.dashboard-global-search input{min-height:46px;min-width:0;border:1px solid #b8c6d8;border-radius:6px;background:#fff;padding:10px 12px}.dashboard-search-explore{display:grid;align-items:center;min-height:46px;border:1px solid #155e75;border-radius:6px;background:#fff;color:#155e75;padding:8px 12px;font-weight:800;text-decoration:none}.dashboard-search-results{border:1px solid #dbe4ef;border-radius:8px;background:#fff;max-height:min(520px,calc(100vh - 220px));padding:12px;box-shadow:0 12px 36px #0f172a1f}.past-due-callout{display:flex;flex-wrap:wrap;align-items:center;gap:12px;width:fit-content;border:1px solid #fed7aa;border-radius:8px;background:linear-gradient(90deg,#fff7ed,#fff);padding:9px 12px;box-shadow:0 10px 24px #9a34121a}.past-due-callout strong{color:#9a3412;font-size:15px}.past-due-attention-button{border-color:#ea580c;background:#f97316;color:#fff;animation:past-due-pulse 2.6s ease-in-out infinite}.past-due-attention-button:hover,.past-due-attention-button:focus-visible{background:#ea580c}.calendar-toolbar{display:flex;justify-content:space-between;align-items:end;gap:18px}.calendar-toolbar h2,.calendar-toolbar p{margin:0}.calendar-toolbar h2{font-size:28px}.calendar-toolbar p{margin-top:4px;color:#526171}.calendar-selectors{display:flex;flex-wrap:wrap;gap:12px}.calendar-selectors label{display:grid;gap:5px;min-width:150px;color:#334155;font-weight:700}.calendar-selectors select{min-height:42px;border:1px solid #cbd5e1;border-radius:6px;background:#fff;padding:8px 10px}.task-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;padding:18px;border:1px solid #dbe4ef;border-radius:8px;background:#fff;box-shadow:0 3px 14px #0f172a14}.task-calendar-weekday{padding:4px 8px 8px;color:#475569;text-align:center}.task-calendar-empty,.task-calendar-day{min-height:132px}.task-calendar-day{display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto 1fr;align-content:start;gap:5px;min-width:0;border-color:#c8d4e3;background:#f8fbff;color:#1f2937;padding:12px;text-align:left}.task-calendar-day:hover,.task-calendar-day:focus-visible{border-color:#0f6cbd;background:#eaf5ff}.task-calendar-day.today{border-color:#087f8c;box-shadow:inset 0 0 0 1px #087f8c}.task-calendar-day span{font-size:20px;font-weight:800}.task-calendar-day b{display:grid;place-items:center;min-width:30px;min-height:30px;border-radius:999px;background:#087f8c;color:#fff}.task-calendar-day small{grid-column:1 / -1;align-self:end;color:#526171;font-weight:700}.calendar-day-status{display:grid;grid-column:1 / -1;gap:3px;width:100%;margin-top:2px}.calendar-day-status i{display:block;border-radius:999px;padding:2px 5px;font-size:11px;font-style:normal;font-weight:800;line-height:1.2}.calendar-day-status .closed{color:#067647;background:#dcfae6}.calendar-day-status .open{color:#92400e;background:#fef3c7}.calendar-day-status .progress{color:#075985;background:#e0f2fe}.calendar-modal-backdrop{position:fixed;inset:0;z-index:40;display:grid;place-items:center;padding:24px;background:#0f172a94}.calendar-modal{display:grid;gap:14px;width:min(720px,100%);max-height:min(760px,calc(100vh - 48px));overflow:hidden;border:1px solid #dbe4ef;border-radius:8px;background:#fff;padding:18px;box-shadow:0 22px 70px #0f172a59}.calendar-modal header{display:flex;justify-content:space-between;align-items:center;gap:16px}.calendar-modal header h2{margin:0;font-size:24px}.calendar-modal header button{width:38px;min-width:38px;padding:4px;font-weight:800}.calendar-task-list{display:grid;align-content:start;gap:10px;max-height:min(560px,calc(100vh - 180px));overflow:auto;padding-right:4px}.calendar-task-row{display:grid;gap:7px;border:1px solid #dbe4ef;border-radius:8px;background:#f8fafc;padding:14px}.calendar-task-row div{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px}.calendar-task-row span,.calendar-task-row small{color:#526171}.calendar-task-row p{margin:0}.calendar-task-row button{justify-self:start}.past-due-task-row a{color:#0f6cbd;text-decoration:none}.past-due-task-row a:hover,.past-due-task-row a:focus-visible{text-decoration:underline}.past-due-task-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.past-due-task-actions select{min-height:38px;border:1px solid #cbd5e1;border-radius:6px;background:#fff;padding:6px 9px}.past-due-task-actions button{justify-self:auto}.calendar-edit-form{display:grid;gap:12px;min-height:0;overflow:auto;padding-right:3px}.calendar-edit-form p{margin:0}.calendar-edit-form button[type=submit]{justify-self:start}.global-search-results{display:grid;align-content:start;gap:10px;min-height:0;max-height:min(620px,calc(100vh - 188px));overflow:auto;padding-right:3px}.global-search-results>p{margin:0}.global-search-branch{border:1px solid #dbe4ef;border-radius:8px;background:#f8fafc}.global-search-branch summary{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:11px 13px;color:#1f2937;cursor:pointer;font-weight:800}.global-search-branch summary b{display:grid;place-items:center;min-width:26px;min-height:26px;border-radius:999px;background:#087f8c;color:#fff;font-size:13px}.global-search-branch ul{display:grid;gap:8px;margin:0;padding:0 13px 13px;list-style:none}.global-search-branch li{display:grid;gap:2px;border-top:1px solid #e2e8f0;padding-top:8px}.global-search-branch a{width:fit-content;font-weight:800}.global-search-branch small{color:#526171}.global-search-page,.search-object-page{padding:18px}.global-search-page-input{display:grid;gap:6px;color:#334155;font-weight:800}.global-search-page-input input{min-height:48px;border:1px solid #b8c6d8;border-radius:6px;padding:10px 12px}.global-search-page-results{max-height:none;min-height:260px;border:1px solid #dbe4ef;border-radius:8px;background:#fff;padding:14px}.object-edit-form{max-width:980px}.object-edit-form>button{justify-self:start}.audit-table-shell{border-color:#cfe8f3;background:linear-gradient(180deg,#fff,#f7fbff)}.audit-summary-table{border-collapse:separate;border-spacing:0;overflow:hidden}.audit-summary-table thead tr{background:linear-gradient(90deg,#e0f2fe,#dcfce7 52%,#fef3c7)}.audit-summary-table th{border-bottom:2px solid #bae6fd;color:#0f3b57;font-size:14px}.audit-summary-table tbody tr:nth-child(odd){background:#f8fbff}.audit-summary-table tbody tr:nth-child(2n){background:#f3fbf7}.audit-ip-list{display:flex;flex-wrap:wrap;gap:7px}.audit-ip-list span{border:1px solid #bfdbfe;border-radius:999px;background:#eff6ff;color:#1e3a8a;padding:4px 9px;font-weight:800}@media(max-width:1080px){.header-title{padding-left:0;justify-self:start;text-align:left}.header-title h1{font-size:34px}.header-title p{font-size:17px}.dashboard-page{padding-inline:20px}.task-calendar-day,.task-calendar-empty{min-height:90px}}@media(max-width:760px){.dashboard-global-search{grid-template-columns:1fr}.calendar-toolbar{align-items:stretch;flex-direction:column}.calendar-selectors label{flex:1}.task-calendar{gap:4px;padding:8px}.task-calendar-weekday{overflow:hidden;padding-inline:2px;font-size:12px}.task-calendar-day{min-height:70px;padding:7px}.task-calendar-day span{font-size:16px}.task-calendar-day b{min-width:24px;min-height:24px;font-size:12px}.calendar-modal-backdrop{padding:12px}}@keyframes welcome-pop-up{0%{opacity:0;transform:translate(-50%,42px) scale(.94)}15%{opacity:1;transform:translate(-50%,-4px) scale(1.02)}25%,78%{opacity:1;transform:translate(-50%) scale(1)}to{opacity:0;transform:translate(-50%,-72px) scale(.98)}}@keyframes party-rise{0%{opacity:0;transform:translate3d(0,22px,0) rotate(-12deg) scale(.7)}18%{opacity:1}70%{opacity:1;transform:translate3d(calc((var(--party-index) - 3) * 5px),-88px,0) rotate(12deg) scale(1)}to{opacity:0;transform:translate3d(calc((var(--party-index) - 3) * 9px),-132px,0) rotate(28deg) scale(.92)}}@keyframes past-due-pulse{0%,to{box-shadow:0 0 #f9731659;transform:translateY(0)}50%{box-shadow:0 0 0 7px #f9731600;transform:translateY(-1px)}}@media(prefers-reduced-motion:reduce){.dashboard-welcome-burst,.welcome-party-stream span,.past-due-attention-button{animation:none}}.generate-docs-page{padding:18px}.doc-guided-workflow{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:12px 0 16px}.doc-guided-step{display:grid;grid-template-columns:auto minmax(0,1fr);gap:2px 8px;min-width:0;border:1px solid #dbeafe;border-radius:10px;background:linear-gradient(135deg,#fff,#eff6ff 58%,#ecfeff);padding:10px;box-shadow:0 8px 18px #0f172a0f}.doc-guided-step b{grid-row:span 2;display:inline-grid;place-items:center;width:28px;height:28px;border-radius:999px;background:#0f766e;color:#fff;font-size:13px}.doc-guided-step span{min-width:0;overflow-wrap:anywhere;color:#0f172a;font-size:13px;font-weight:850}.doc-guided-step small{grid-column:2;color:#64748b;font-size:11px;font-weight:700;line-height:1.35}.doc-generator-grid{display:grid;grid-template-columns:minmax(360px,480px) minmax(520px,1fr);gap:20px;align-items:start}.doc-generator-controls{position:sticky;top:16px;display:grid;gap:14px;align-content:start}.doc-generator-controls small{color:#64748b}.doc-control-section{display:grid;gap:12px;border:1px solid #dbe4ef;border-radius:10px;background:linear-gradient(180deg,#fff,#f8fbff);padding:14px;box-shadow:0 8px 22px #0f172a0f}.doc-control-section-heading{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #e5eef8;padding-bottom:10px}.doc-control-section-heading h2{display:flex;align-items:center;gap:8px;margin:0;color:#0f172a;font-size:17px;line-height:1.2}.doc-control-step-number{display:inline-grid;place-items:center;width:26px;height:26px;flex:0 0 auto;border-radius:999px;background:#dbeafe;color:#1d4ed8;font-size:12px;font-weight:900}.doc-control-section-heading p{margin:5px 0 0;color:#64748b;font-size:13px;font-weight:700;line-height:1.45}.doc-control-section-body{display:grid;gap:12px}.doc-control-section .doc-mode-tabs{margin:0}.doc-template-actions{display:flex;flex-wrap:wrap;gap:8px}.label-with-help{display:inline-flex;align-items:center;gap:6px}.help-tip{position:relative;display:inline-grid;place-items:center;width:18px;height:18px;flex:0 0 auto;border:1px solid #93c5fd;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-size:11px;font-weight:900;line-height:1;cursor:help}.help-tip:focus-visible{outline:3px solid rgba(37,99,235,.28);outline-offset:2px}.help-tip-bubble{position:absolute;z-index:10;left:50%;bottom:calc(100% + 8px);width:min(270px,calc(100vw - 48px));transform:translate(-50%) translateY(4px);border:1px solid #bfdbfe;border-radius:8px;background:#0f172a;color:#fff;padding:8px 10px;box-shadow:0 12px 28px #0f172a3d;font-size:12px;font-weight:700;line-height:1.4;opacity:0;pointer-events:none;transition:opacity .12s ease,transform .12s ease}.help-tip:hover .help-tip-bubble,.help-tip:focus .help-tip-bubble{opacity:1;transform:translate(-50%) translateY(0)}.doc-firm-strip{grid-template-columns:repeat(2,minmax(0,1fr));margin:0}.signature-upload-panel,.template-header-upload-panel{display:grid;gap:10px;border:1px solid #dbe4ef;border-radius:8px;background:linear-gradient(180deg,#fff,#f8fbff);padding:12px}.signature-upload-heading{display:flex;justify-content:space-between;gap:10px;align-items:baseline}.signature-upload-heading span{color:#0f172a;font-weight:850}.signature-preview-frame{display:grid;place-items:center;min-height:88px;border:1px dashed #b8c7dc;border-radius:7px;background:#fff;color:#64748b;font-size:13px;font-weight:700;overflow:hidden}.signature-preview-frame img,.doc-signature-image{display:block;max-width:210px;max-height:82px;object-fit:contain}.template-header-preview-frame{display:grid;place-items:center;min-height:104px;border:1px dashed #b8c7dc;border-radius:7px;background:#fff;color:#64748b;font-size:13px;font-weight:700;overflow:hidden}.template-header-adjuster{position:relative;display:grid;place-items:center;width:100%;min-height:104px;padding:12px 28px;overflow:hidden}.template-header-adjuster img{display:block;width:calc(100% * var(--doc-header-width-scale, 1));height:var(--doc-header-height, 150px);max-height:260px;object-fit:contain;cursor:grab;transform:translate(var(--doc-header-offset-x, 0px));transition:box-shadow .15s ease;-webkit-user-select:none;user-select:none;touch-action:none}.template-header-adjuster img:active{cursor:grabbing}.template-header-adjuster img:hover{box-shadow:0 0 0 2px #2563eb42}.template-header-edge{position:absolute;top:18px;bottom:18px;width:16px;min-width:16px;padding:0;border:1px solid rgba(37,99,235,.45);border-radius:999px;background:#2563eb24;cursor:ew-resize;touch-action:none}.template-header-edge.left{left:8px}.template-header-edge.right{right:8px}.template-header-height-edge{position:absolute;left:42px;right:42px;bottom:6px;width:auto;min-width:0;height:12px;min-height:12px;padding:0;border:1px solid rgba(37,99,235,.45);border-radius:999px;background:#2563eb24;cursor:ns-resize;touch-action:none}.template-header-adjust-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.template-header-adjust-controls label{display:grid;gap:5px;color:#334155;font-size:12px;font-weight:800}.template-header-page-controls{display:grid;gap:10px;margin-top:10px;padding:12px;border:1px solid #dbeafe;border-radius:8px;background:#f8fbff}.template-header-page-controls label{display:grid;gap:6px;color:#334155;font-size:12px;font-weight:800}.template-header-page-controls input,.template-header-page-controls select{border:1px solid #cbd5e1;border-radius:7px;padding:9px 10px;background:#fff}.template-header-page-controls small{color:#64748b}.doc-company-header-image{display:block;width:min(92%,calc(86% * var(--doc-header-width-scale, 1)));height:var(--doc-header-height, 150px);max-height:260px;margin:28px auto 18px;object-fit:contain;transform:translate(var(--doc-header-offset-x, 0px))}.doc-signoff .doc-signature-image{margin-left:auto;margin-right:0}.signoff-align-left .doc-signoff{text-align:left}.signoff-align-left .doc-signoff .doc-signature-image{margin-left:0;margin-right:auto}.signoff-align-right .doc-signoff{text-align:right}.signoff-align-right .doc-signoff .doc-signature-image{margin-left:auto;margin-right:0}.signature-upload-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}.signature-upload-actions input{min-width:0}.doc-offset-slider input{padding:0}.doc-template-launcher{display:grid;gap:12px;border-top:1px solid #dbe4ef;margin-top:4px;padding-top:14px}.doc-template-launcher h2,.doc-template-builder h2{margin:0;color:#0f172a;font-size:18px}.doc-template-launcher p{margin:3px 0 0;color:#64748b}.doc-mode-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 16px}.doc-mode-tabs button{border-color:#bfdbfe;background:#eff6ff;color:#1d4ed8}.doc-mode-tabs button.active{background:#0f766e;border-color:#0f766e;color:#fff}.document-pack-panel{display:grid;gap:12px;border:1px solid #dbe4ef;border-radius:8px;background:#f8fbff;padding:12px}.document-pack-order-list{display:grid;gap:6px;margin:0;padding-left:22px}.document-pack-order-list li{border:1px solid #dbe4ef;border-radius:6px;background:#fff;padding:8px 10px;font-weight:700}.doc-pack-template-picker{display:grid;gap:8px;max-height:260px;overflow:auto;border:1px solid #dbe4ef;border-radius:8px;background:#fff;padding:10px}.doc-pack-template-row{display:flex;justify-content:space-between;gap:8px;align-items:center;border-bottom:1px solid #edf2f7;padding:6px 0}.doc-pack-template-row:last-child{border-bottom:0}.doc-pack-template-row span{display:flex;gap:5px}.document-pack-preview-page.document-pack-preview-page{display:grid;gap:18px;min-height:0;background:transparent;box-shadow:none}.document-pack-rendered-template{min-height:1123px;background:#fff;box-shadow:0 18px 48px #0f172a33}.document-pack-empty{background:#fff;border-radius:8px;padding:22px}.document-template-backdrop{z-index:55}.document-template-modal{width:min(1180px,calc(100vw - 32px));height:min(880px,calc(100vh - 32px));max-height:min(880px,calc(100vh - 32px));grid-template-rows:auto minmax(0,1fr)}.document-template-modal-fullscreen{width:calc(100vw - 24px);height:calc(100vh - 24px);max-height:calc(100vh - 24px)}.document-template-modal-grid{display:grid;grid-template-columns:minmax(320px,var(--template-editor-left, 48%)) 12px minmax(360px,1fr);gap:10px;min-height:0;overflow:hidden;padding-right:4px}.template-modal-grid-fullscreen{grid-template-columns:minmax(420px,var(--template-editor-left, 48%)) 12px minmax(420px,1fr)}.template-modal-resizer{align-self:stretch;width:12px;min-height:100%;border:0;border-radius:999px;padding:0;background:linear-gradient(180deg,transparent,#cbd5e1 15%,#94a3b8 50%,#cbd5e1 85%,transparent);cursor:col-resize}.template-modal-resizer:hover,.template-modal-resizer:focus{background:linear-gradient(180deg,transparent,#60a5fa 15%,#2563eb 50%,#60a5fa 85%,transparent);outline:2px solid rgba(37,99,235,.25)}.doc-template-builder{display:grid;grid-template-rows:minmax(0,1fr) auto;min-height:0;overflow:hidden;border:1px solid #dbe4ef;border-radius:8px;background:#fff}.doc-template-builder-scroll{display:grid;align-content:start;gap:12px;min-height:0;overflow:auto;padding:0 4px 12px 0}.template-builder-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.doc-template-builder .field-group span{font-size:15px;font-weight:800}.doc-template-builder input,.doc-template-builder select{min-height:48px;border-radius:10px;padding:10px 14px;font-size:16px;line-height:1.45}.doc-template-builder button{font-size:15px;line-height:1.35}.doc-template-builder textarea{min-height:180px;max-height:46vh;resize:vertical;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:16px;line-height:1.65;letter-spacing:0;padding:14px 16px;tab-size:2}.template-page-break-guide{display:grid;gap:8px;border:1px dashed #93c5fd;border-radius:8px;background:linear-gradient(135deg,#eff6ff,#f8fafc 56%,#ecfeff);padding:10px}.template-page-break-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#1e3a8a;font-weight:800}.template-page-break-summary small{color:#475569;font-size:14px;font-weight:700;text-align:right}.template-page-break-chips{display:flex;flex-wrap:wrap;gap:8px}.template-page-break-chips button{display:inline-flex;align-items:center;gap:6px;min-height:28px;border:1px solid #60a5fa;border-radius:999px;background:#fff;color:#1d4ed8;padding:4px 10px;font-size:14px;font-weight:800;cursor:pointer}.template-page-break-chips button:hover{background:#dbeafe;box-shadow:0 6px 16px #2563eb26}.page-break-pulse{width:8px;height:8px;border-radius:999px;background:#2563eb;animation:page-break-pulse 1.2s ease-in-out infinite}@keyframes page-break-pulse{0%{box-shadow:0 0 #2563eb5c}70%{box-shadow:0 0 0 8px #2563eb00}to{box-shadow:0 0 #2563eb00}}@media(prefers-reduced-motion:reduce){.page-break-pulse{animation:none}}@media(max-width:1180px){.doc-guided-workflow{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.doc-guided-workflow{grid-template-columns:1fr}.doc-guided-step{grid-template-columns:auto minmax(0,1fr)}.doc-control-section{padding:12px}.doc-control-section-heading h2{font-size:16px}.help-tip-bubble{left:auto;right:-8px;transform:translateY(4px)}.help-tip:hover .help-tip-bubble,.help-tip:focus .help-tip-bubble{transform:translateY(0)}}.doc-template-save-bar{position:sticky;bottom:0;z-index:2;display:grid;gap:8px;padding:12px 0 0;border-top:1px solid #dbe4ef;background:linear-gradient(180deg,#ffffffdb,#fff 32%)}.doc-template-save-bar .alert{margin:0}.template-save-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.doc-placeholder-panel{display:grid;gap:10px;border:1px solid #dbe4ef;border-radius:8px;background:#f8fafc;padding:12px}.doc-placeholder-panel strong{color:#334155;font-size:15px}.doc-placeholder-panel div{display:flex;flex-wrap:wrap;gap:6px}.doc-placeholder-panel button,.doc-placeholder-panel code{border:1px solid #bfdbfe;border-radius:999px;background:#eff6ff;color:#1d4ed8;padding:6px 10px;font-size:14px;font-weight:800}.doc-placeholder-panel button{min-height:36px;cursor:grab}.doc-placeholder-panel button:active{cursor:grabbing}.pdf-template-designer{display:grid;gap:12px;border:1px solid #c7dff8;border-radius:10px;background:#f8fbff;padding:12px}.pdf-template-designer:focus{outline:3px solid rgba(37,99,235,.18);outline-offset:2px}.docx-template-designer{display:grid;gap:12px;border:1px solid #c7d2fe;border-radius:10px;background:linear-gradient(135deg,#eef2ff,#fff 58%,#f8fafc);padding:12px}.docx-template-help{display:grid;gap:6px;border:1px solid #dbeafe;border-radius:8px;background:#ffffffbd;color:#334155;padding:12px}.docx-template-help strong{color:#1e3a8a}.docx-template-help p{margin:0;line-height:1.55}.docx-template-help code{border-radius:5px;background:#dbeafe;color:#1d4ed8;padding:1px 5px;font-weight:800}.docx-edit-pane{display:grid;gap:12px;border:1px solid #bfdbfe;border-radius:10px;background:#fff;padding:14px}.docx-edit-pane h3{margin:0;color:#1e3a8a;font-size:17px}.docx-edit-pane p{margin:4px 0 0;color:#64748b;font-size:14px;font-weight:700;line-height:1.45}.docx-edit-actions{display:flex;flex-wrap:wrap;gap:8px}.docx-placeholder-reference{display:grid;gap:9px;border:1px solid #dbe4ef;border-radius:8px;background:#f8fafc;padding:12px}.docx-placeholder-reference strong{color:#334155;font-size:14px}.docx-placeholder-reference div{display:flex;flex-wrap:wrap;gap:6px}.docx-placeholder-reference code{border-radius:999px;background:#eef2ff;color:#3730a3;padding:5px 9px;font-size:13px;font-weight:800}.docx-readonly-view{display:grid;gap:10px;border:1px solid #dbe4ef;border-radius:10px;background:#f1f5f9;padding:12px}.docx-readonly-heading{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px;color:#334155}.docx-readonly-heading strong{color:#1e3a8a}.docx-readonly-heading span{color:#64748b;font-size:13px;font-weight:700}.docx-readonly-page{min-height:260px;max-height:58vh;overflow:auto;border:1px solid #d8dee8;border-radius:8px;background:#fff;color:#111827;padding:18px;font-family:Cambria,Georgia,serif;line-height:1.45;box-shadow:inset 0 0 0 1px #0f172a05}.docx-iframe-view{min-height:420px}.docx-preview-iframe{width:100%;min-height:520px;border:1px solid #d8dee8;border-radius:8px;background:#fff}.docx-readonly-page h1,.docx-readonly-page h2,.docx-readonly-page h3{color:#0b2545;font-family:Cambria,Georgia,serif}.docx-readonly-page p{margin:0 0 9px;white-space:pre-wrap}.docx-readonly-page table{width:100%;border-collapse:collapse;margin:10px 0 14px}.docx-readonly-page th,.docx-readonly-page td{border:1px solid #cbd5e1;padding:7px 9px;vertical-align:top}.docx-readonly-page img{max-width:100%;height:auto}.docx-template-preview{display:flex;align-items:center;gap:14px;min-height:120px;border:1px solid #c7d2fe;border-radius:10px;background:linear-gradient(135deg,#fff,#eef2ff);color:#334155;padding:16px}.docx-template-preview.compact{min-height:92px;margin-bottom:12px}.docx-preview-icon{display:grid;flex:0 0 52px;width:52px;height:52px;place-items:center;border-radius:10px;background:linear-gradient(135deg,#2563eb,#1e40af);color:#fff;font-size:24px;font-weight:900;box-shadow:0 10px 24px #2563eb3d}.docx-template-preview strong{color:#1e3a8a;font-size:16px}.docx-template-preview p{margin:4px 0;line-height:1.45}.docx-template-preview small{color:#64748b;font-weight:700}.pdf-template-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 110px;gap:10px}.pdf-template-toolbar label{display:grid;gap:5px;color:#334155;font-weight:800}.pdf-alignment-tools{display:flex;flex-wrap:wrap;gap:8px;align-items:center;border:1px solid #dbeafe;border-radius:8px;background:#eff6ff;padding:8px}.pdf-alignment-tools label{display:inline-flex;gap:6px;align-items:center;color:#334155;font-size:13px;font-weight:800}.pdf-alignment-tools label:has(select),.pdf-alignment-tools label:has(input[type=number]){display:grid;gap:3px}.pdf-alignment-tools select,.pdf-alignment-tools input[type=number]{min-height:32px;max-width:92px;border:1px solid #bfdbfe;border-radius:7px;padding:5px 7px;background:#fff}.pdf-alignment-tools small{flex-basis:100%;color:#64748b;font-size:12px}.pdf-nudge-controls{display:inline-flex;flex-wrap:wrap;gap:4px}.pdf-nudge-controls button{min-height:30px;padding:4px 8px;border-radius:6px}.pdf-template-canvas,.pdf-template-preview{position:relative;width:min(100%,720px);aspect-ratio:210 / 297;overflow:hidden;border:1px solid #d7e1ef;border-radius:8px;background:#fff;box-shadow:inset 0 0 0 1px #0f172a08}.pdf-template-canvas{cursor:crosshair}.pdf-template-canvas.show-grid:after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background-image:linear-gradient(rgba(37,99,235,.14) 1px,transparent 1px),linear-gradient(90deg,rgba(37,99,235,.14) 1px,transparent 1px);background-size:5% 5%}.pdf-template-page{position:absolute;inset:0}.pdf-template-preview{display:grid;gap:14px;width:min(100%,720px);aspect-ratio:auto;min-height:auto;overflow:visible;border:0;background:transparent;box-shadow:none}.pdf-template-preview .pdf-template-page{position:relative;width:100%;aspect-ratio:210 / 297;overflow:hidden;border:1px solid #d7e1ef;border-radius:8px;background:#fff;box-shadow:0 10px 26px #0f172a1a}.pdf-page-surface,.pdf-page-surface canvas{position:absolute;inset:0;width:100%;height:100%}.pdf-page-surface canvas{object-fit:contain;display:block}.pdf-render-error{position:absolute;inset:0;display:grid;place-items:center;color:#b91c1c;font-weight:800;background:#fff1f2}.pdf-page-surface{pointer-events:none}.pdf-letterhead-overlay{position:absolute;top:28px;left:50%;z-index:1;width:min(92%,calc(86% * var(--doc-header-width-scale, 1)));height:var(--doc-header-height, 150px);max-height:260px;object-fit:contain;transform:translate(calc(-50% + var(--doc-header-offset-x, 0px)));pointer-events:none}.pdf-template-canvas>span{display:grid;min-height:420px;place-items:center;color:#64748b;font-weight:800}.pdf-field-overlay{position:absolute;inset:0;z-index:2;pointer-events:none}.pdf-placeholder{position:absolute;display:inline-grid;min-height:24px;align-items:center;border:1px dashed #1d4ed8;border-radius:4px;background:#eff6ffdb;color:#0f172a;padding:2px 4px;line-height:1.2;overflow:visible;pointer-events:auto;transform:translateY(-50%)}.pdf-placeholder-image img{display:block;max-width:100%;max-height:70px;object-fit:contain}.pdf-placeholder.editable{box-shadow:0 8px 18px #1d4ed824;cursor:move;touch-action:none;-webkit-user-select:none;user-select:none}.pdf-placeholder.selected{border-color:#ef4444;background:#fef2f2e6;box-shadow:0 0 0 3px #ef44442e,0 10px 20px #1d4ed824}.pdf-placeholder button{position:absolute;top:-14px;right:-14px;display:grid;width:24px;min-height:24px;place-items:center;border-radius:999px;padding:0;background:#ef4444;color:#fff;font-size:12px}.pdf-placeholder input[type=range]{position:absolute;left:0;right:0;bottom:-28px;width:100%;min-height:20px;padding:0}.pdf-selected-placeholder-summary{margin:-4px 0 0;color:#475569;font-size:13px;font-weight:800}.template-print-preview{display:grid;align-content:start;gap:10px;min-width:0;border:1px solid #d8dee8;border-radius:8px;background:#e8edf3;padding:14px;overflow:auto}.template-preview-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;color:#334155}.template-preview-heading h3{display:flex;align-items:center;gap:8px;margin:0}.template-preview-heading span{display:block;margin-top:3px;color:#64748b;font-weight:700}.template-preview-heading .live-preview-badge{display:inline-flex;align-items:center;min-height:20px;margin-top:0;border:1px solid #86efac;border-radius:999px;background:#dcfce7;color:#166534;padding:2px 8px;font-size:11px;font-weight:900;letter-spacing:0;text-transform:uppercase}.template-preview-page{width:min(620px,100%);min-height:760px;transform-origin:top center}.template-preview-page.template-preview-page{display:grid;gap:18px;min-height:0;background:transparent;box-shadow:none}.template-preview-rendered-page{position:relative;min-height:760px;background:#fff;box-shadow:0 14px 36px #0f172a2e}.doc-page-break{break-after:page;page-break-after:always;height:0;overflow:hidden}.doc-preview-shell{position:relative;min-width:0;overflow:auto;border:1px solid #d8dee8;border-radius:8px;background:#e8edf3;padding:22px}.doc-preview-actions{position:sticky;top:0;z-index:5;display:flex;justify-content:flex-end;margin:-8px -8px 10px auto}.doc-preview-page{width:min(794px,100%);min-height:1123px;margin:0 auto;background:#fff;color:#1f2937;box-shadow:0 18px 48px #0f172a33}.doc-preview-title{margin:0;padding:30px 52px 0;color:#0f172a;text-align:center;font-family:Inter,ui-sans-serif,system-ui,sans-serif;font-size:25px;line-height:1.25}.doc-preview-body{padding:var(--doc-content-offset) 52px 52px;font-family:Georgia,Times New Roman,serif;font-size:var(--doc-body-font-size, 16px);line-height:1.7}.doc-preview-body h1,.doc-preview-body h2{margin:0 0 18px;color:#0f172a;font-family:Inter,ui-sans-serif,system-ui,sans-serif}.doc-preview-body p{margin:0 0 18px;color:#1f2937}.doc-preview-body table{margin:16px 0 22px}.doc-preview-body th{width:190px;color:#334155;font-size:calc(var(--doc-body-font-size, 16px) * .875);text-transform:none}.doc-date,.doc-signoff{text-align:right}@media print{@page{margin:12mm}body{background:#fff}.no-print,.app-sidebar,.app-header{display:none!important}.app-shell,.app-main,.app-content,.generate-docs-page,.doc-generator-grid,.doc-preview-shell{display:block;min-height:0;padding:0;margin:0;overflow:visible;background:#fff;border:0}.doc-preview-page{width:100%;min-height:0;height:auto;box-shadow:none}.document-pack-preview-page.document-pack-preview-page{display:block}.document-pack-rendered-template{min-height:0;height:auto;box-shadow:none;break-after:auto;page-break-after:auto;break-inside:avoid;page-break-inside:avoid}.document-pack-rendered-template+.document-pack-rendered-template{break-before:page;page-break-before:always}.doc-company-header-image{width:min(92%,calc(86% * var(--doc-header-width-scale, 1)));height:var(--doc-header-height, 150px);max-height:260px;margin-top:16px}.doc-preview-body{padding-top:var(--doc-content-offset)}.document-template-backdrop,.document-template-modal,.document-template-modal-grid,.template-print-preview{position:static;display:block;width:100%;height:auto;min-height:0;max-height:none;padding:0;margin:0;overflow:visible;border:0;background:#fff;box-shadow:none}.document-template-modal>header,.doc-template-builder,.template-preview-heading{display:none!important}.generate-docs-page:has(.document-template-backdrop)>:not(.document-template-backdrop){display:none!important}.template-preview-page{width:100%;min-height:0;height:auto;page-break-after:avoid;break-after:avoid}.template-preview-rendered-page{min-height:0;height:auto;box-shadow:none;break-after:auto;page-break-after:auto;break-inside:avoid;page-break-inside:avoid}.template-preview-rendered-page+.template-preview-rendered-page{break-before:page;page-break-before:always}}@media(max-width:1020px){.doc-generator-grid{grid-template-columns:1fr}.doc-generator-controls{position:static}.document-template-modal-grid{grid-template-columns:1fr}.template-modal-resizer{display:none}}.page-heading-row{display:flex;justify-content:space-between;gap:16px;align-items:start}.form-panel,.confirm-panel{display:grid;gap:16px;background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:18px}.form-panel h2,.confirm-panel h2{margin:0;font-size:18px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.field-group{display:grid;gap:8px}.field-group label{color:#334155;font-weight:600}.field-group input,.field-group select,.field-group textarea{min-height:42px;border:1px solid #cbd5e1;border-radius:6px;padding:8px 10px}.field-group textarea{min-height:96px;resize:vertical}.utility-navigation-hints{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.utility-navigation-hints article{display:grid;gap:5px;min-height:92px;padding:13px 14px;border:1px solid #d5e8ff;border-radius:12px;background:radial-gradient(circle at top right,rgba(14,165,233,.13),transparent 38%),linear-gradient(135deg,#fff,#eff7ff);box-shadow:0 10px 22px #0f3a5a12}.utility-navigation-hints strong{color:#0f3f75;font-size:13px;font-weight:950}.utility-navigation-hints span{color:#52647c;font-size:12px;font-weight:650;line-height:1.42}.autocomplete-field{position:relative}.autocomplete-menu{position:absolute;top:calc(100% - 2px);left:0;right:0;z-index:20;display:grid;gap:3px;max-height:220px;overflow:auto;border:1px solid #bfdbfe;border-radius:8px;background:#fff;box-shadow:0 14px 34px #0f172a2e;padding:6px}.autocomplete-menu button,.autocomplete-menu span{display:block;width:100%;min-height:34px;border:0;border-radius:6px;background:#f8fbff;color:#0f172a;padding:7px 9px;text-align:left;font-size:13px;font-weight:700}.autocomplete-menu button:hover,.autocomplete-menu button:focus{background:#e0f2fe;color:#075985}.field-hint{color:#475569;font-size:12px;font-weight:700;line-height:1.4}.date-picker-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(140px,auto);gap:8px;align-items:center}.field-group input[aria-invalid=true]{border-color:#b42318}.field-error,.error-text{color:#b42318}.muted-text{color:#64748b}.alert{margin:0;border-radius:6px;padding:12px}.alert-error{background:#fef3f2;border:1px solid #fecdca;color:#b42318}.alert-success{background:#ecfdf3;border:1px solid #abefc6;color:#067647}.alert-warning{background:#fffbeb;border:1px solid #fde68a;color:#92400e}.form-actions,.row-actions{display:flex;flex-wrap:wrap;gap:8px}.secondary-button{background:#fff;color:#155e75}.danger-button{background:#b42318;border-color:#b42318}.field-with-action{display:grid;grid-template-columns:minmax(180px,1fr) auto;align-items:end;gap:8px}.manage-groups-page,.admin-manage-page{min-height:100%;display:grid;gap:12px;padding:12px 18px 18px}.manage-data-action-row{display:flex;justify-content:flex-end;align-items:center;min-height:38px}.manage-groups-grid{display:grid;grid-template-columns:minmax(260px,340px) minmax(0,1fr);gap:18px;align-items:start}.admin-master-grid{display:grid;grid-template-columns:minmax(280px,380px) minmax(0,1fr);gap:18px;align-items:start}.manage-groups-grid.search-pane-grid-collapsed,.admin-master-grid.search-pane-grid-collapsed{grid-template-columns:96px minmax(0,1fr)}.admin-editor-column{display:grid;gap:18px;min-width:0}.group-list-panel,.group-editor-panel{display:grid;gap:14px;background:#fff;border:1px solid #d8dee8;border-radius:8px;padding:16px;box-shadow:0 2px 10px #0f172a14}.group-list-panel{max-height:calc(100vh - 190px);grid-template-rows:auto auto auto minmax(0,1fr)}.group-list-panel h2,.group-editor-panel h2,.firm-picker h3,.firm-column h4{margin:0}.criteria-retrieval-panel{display:grid;gap:12px;padding:14px;border:1px solid #bfdbfe;border-radius:8px;background:#f8fbff}.criteria-retrieval-panel h3,.criteria-retrieval-panel p{margin:0}.criteria-retrieval-panel h3{color:#075985;font-size:17px}.criteria-retrieval-panel p{color:#475569}.criteria-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.criteria-actions span{color:#64748b;font-size:13px;font-weight:700}.field-group textarea.tender-criteria-textarea{min-height:480px;height:480px;line-height:1.55;color:#0f172a;background:linear-gradient(180deg,#fff,#f8fafc);border-color:#93c5fd;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;white-space:pre-wrap}.list-panel-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.search-pane-heading{align-items:center}.search-pane-toggle{margin-left:auto;white-space:nowrap}.search-pane-collapsed{max-height:none;grid-template-rows:auto;padding:10px}.search-pane-collapsed .search-pane-body,.search-pane-collapsed .search-pane-heading>h2,.search-pane-collapsed .search-pane-heading>span{display:none}.search-pane-collapsed .search-pane-toggle{width:100%;min-width:0;margin-left:0;padding-inline:6px}.list-panel-heading span{color:#64748b;font-size:13px;font-weight:800;white-space:nowrap}.search-field input{width:100%;min-height:38px;border:1px solid #cbd5e1;border-radius:6px;padding:8px 10px;background:#fff}.group-list{display:grid;gap:10px;overflow:auto;padding-right:2px}.group-list-item{display:grid;gap:4px;justify-items:start;min-height:76px;border:1px solid #d8dee8;background:#fff;color:#1f2937;text-align:left}.group-list-item span{font-weight:800}.group-type-badge{display:inline-grid;place-items:center;min-width:24px;min-height:16px;margin-left:5px;padding:1px 5px;border-radius:999px;font-size:.62rem;font-weight:900;line-height:1;letter-spacing:.04em;text-transform:uppercase;vertical-align:super;box-shadow:0 1px 4px #0f172a24}.group-type-badge.tn{background:#e0f2fe;color:#075985;border:1px solid #7dd3fc}.group-type-badge.pr{background:#fef3c7;color:#92400e;border:1px solid #fbbf24}.currency-confirmation{display:block;margin-top:3px;color:#0f766e;font-size:.76rem;font-weight:700}.group-list-item small{color:#64748b}.organization-tenders-panel{align-content:start}.organization-tender-list{display:grid;gap:10px;max-height:420px;overflow:auto}.organization-tender-item{display:grid;gap:6px;border:1px solid #d8dee8;border-radius:6px;padding:12px;background:#f8fbff}.organization-tender-item div{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px 16px}.organization-tender-item h3,.organization-tender-item p{margin:0}.organization-tender-item strong,.organization-tender-item small{color:#0f766e}.organization-tender-item footer{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 16px}.organization-tender-item footer button{border-color:#155e75;background:#fff;color:#155e75;padding:6px 9px;font-weight:800}.firm-operations-tabs{align-content:start}.firm-tab-list{display:flex;flex-wrap:wrap;gap:8px;border-bottom:1px solid #d8dee8;padding-bottom:12px}.firm-tab-list button{display:inline-flex;align-items:center;gap:8px;border-color:#cbd5e1;background:#fff;color:#334155}.firm-tab-list button span{display:grid;place-items:center;min-width:24px;min-height:24px;border-radius:999px;background:#e2e8f0;font-size:12px}.firm-tab-list button.active{border-color:#087f8c;background:#087f8c;color:#fff}.firm-tab-list button.active span{background:#fff;color:#0f766e}.firm-operations-panel{display:grid;gap:14px;align-content:start}.firm-operation-filters{display:grid;grid-template-columns:repeat(3,minmax(130px,1fr)) auto;gap:10px;align-items:end}.firm-filter-field input,.firm-filter-field select{min-height:38px}.firm-operation-list{display:grid;gap:10px;max-height:420px;overflow:auto}.firm-operation-item{display:grid;gap:5px;border:1px solid #d8dee8;border-radius:6px;padding:12px;background:#f7fbfa}.firm-operation-item div{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px 16px}.firm-operation-item h3,.firm-operation-item p{margin:0}.firm-operation-item footer{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 16px}.firm-operation-item footer button{border:1px solid #155e75;border-radius:6px;padding:6px 9px;color:#155e75;background:#fff;font-weight:800;text-decoration:none}.firm-operation-item strong,.firm-operation-item small{color:#0f766e}.firm-tab-pagination{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;border-top:1px solid #e2e8f0;padding-top:10px;color:#475569;font-size:13px;font-weight:800}.firm-tab-pagination div{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.firm-tab-pagination button{min-height:32px;border-radius:6px;padding:5px 10px}.firm-tab-pagination button:disabled{cursor:not-allowed;border-color:#cbd5e1;background:#e2e8f0;color:#64748b}.group-list-item.active,.group-list-item:hover{border-color:#0878e4;background:#eef7ff}.group-editor-title,.firm-picker-title{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}.group-editor-title span{color:#64748b;font-weight:700}.firm-picker{display:grid;gap:12px}.firm-picker-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.firm-column{display:grid;align-content:start;gap:8px;min-height:220px;max-height:360px;overflow:auto;border:1px solid #d8dee8;border-radius:8px;padding:12px;background:#f8fafc}.firm-column.selected{background:#f1f8f4}.firm-option{position:relative;display:flex;justify-content:space-between;gap:12px;width:100%;min-height:40px;border-color:#cbd5e1;background:#fff;color:#1f2937;text-align:left}.firm-option.selected{border-color:#7fd4a1}.firm-tooltip{position:absolute;left:12px;bottom:calc(100% + 6px);z-index:3;display:none;min-width:min(320px,calc(100vw - 48px));max-width:360px;padding:8px 10px;border:1px solid #0f5f8f;border-radius:6px;background:#102a43;color:#fff;box-shadow:0 8px 18px #0f172a38;font-size:13px;line-height:1.35;text-align:left}.firm-tooltip span{display:block}.firm-option:hover .firm-tooltip,.firm-option:focus-visible .firm-tooltip{display:block}.checkbox-field{align-content:start}.checkbox-field input{width:20px;min-height:20px}.task-entry-page,.task-dashboard-page,.task-search-page{min-height:100%;padding:4px 12px 32px}.legacy-task-card{width:min(1110px,calc(100vw - 440px));margin:0 auto;display:grid;gap:16px;background:#fff;border:1px solid #d8dee8;border-radius:8px;padding:26px 24px 24px;box-shadow:0 2px 10px #0f172a1a}.task-workspace-grid{display:grid;grid-template-columns:minmax(420px,var(--task-create-pane-width, 620px)) 10px minmax(460px,1fr);gap:10px;align-items:start}.payment-workspace-grid{display:grid;grid-template-columns:minmax(340px,var(--payment-form-pane-width, 470px)) 10px minmax(440px,1fr);gap:10px;align-items:start}.payment-workspace-grid .form-panel,.payment-workspace-grid .legacy-tab-card{min-width:0;width:100%;margin:0}.payment-form-panel{gap:18px;border:1px solid #cfe2ff;background:linear-gradient(180deg,#eff6ffeb,#fffffffa 210px),#fff;box-shadow:0 18px 42px #1e40af1f}.payment-form-hero{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin:-6px -6px 0;padding:16px;border:1px solid #bfdbfe;border-radius:12px;background:radial-gradient(circle at top right,rgba(37,99,235,.14),transparent 32%),linear-gradient(135deg,#f8fbff,#eaf4ff)}.payment-form-hero h2{margin:2px 0 5px;color:#0f2f6b;font-size:22px;letter-spacing:0}.payment-form-hero p{margin:0;color:#52647c;font-size:13px;line-height:1.45}.payment-form-eyebrow{margin:0;color:#2563eb;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.payment-form-state{flex:0 0 auto;display:inline-flex;align-items:center;min-height:28px;padding:5px 10px;border-radius:999px;border:1px solid #bfdbfe;background:#fff;color:#1d4ed8;font-size:12px;font-weight:900;box-shadow:0 8px 18px #1e40af1a}.payment-form-state.editing{background:#dbeafe;color:#1e3a8a}.payment-form-section{display:grid;gap:14px;padding:14px;border:1px solid #e0ecff;border-radius:12px;background:#f8fbffdb}.payment-section-title{display:flex;gap:10px;align-items:flex-start}.payment-section-title>span{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:9px;background:linear-gradient(135deg,#2563eb,#38bdf8);color:#fff;font-size:12px;font-weight:950;box-shadow:0 8px 16px #2563eb38}.payment-section-title h3{margin:0;color:#172033;font-size:15px}.payment-section-title p{margin:2px 0 0;color:#64748b;font-size:12px;line-height:1.35}.payment-detail-grid,.payment-amount-grid{gap:12px}.payment-form-panel .field-group{gap:7px}.payment-form-panel .field-group label{color:#21324a;font-size:13px}.payment-form-panel .field-group input,.payment-form-panel .field-group select,.payment-form-panel .field-group textarea{border-color:#bfd5ee;border-radius:9px;background:#fff;box-shadow:inset 0 1px #0f172a08}.payment-form-panel .field-group input:focus,.payment-form-panel .field-group select:focus,.payment-form-panel .field-group textarea:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f629;outline:none}.payment-form-panel input[readonly]{background:#eef6ff;color:#1e3a8a;font-weight:850}.payment-live-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0}.payment-live-summary div{display:grid;gap:4px;padding:11px 12px;border:1px solid #d7e9ff;border-radius:11px;background:#fff}.payment-live-summary dt{color:#64748b;font-size:11px;font-weight:900;text-transform:uppercase}.payment-live-summary dd{margin:0;color:#172033;font-size:16px;font-weight:950;overflow-wrap:anywhere}.payment-live-summary .due{border-color:#fed7aa;background:#fff7ed}.payment-live-summary .due dd{color:#c2410c}.payment-live-summary .clear{border-color:#bfdbfe;background:#eff6ff}.payment-live-summary .clear dd{color:#1d4ed8}.payment-notes-field textarea{min-height:114px}.payment-form-actions{position:sticky;bottom:0;margin:0 -6px -6px;padding:12px 6px 2px;background:linear-gradient(180deg,#ffffffb8,#fff 38%)}.payment-form-actions button{min-height:42px;padding-inline:18px;border-radius:9px;box-shadow:0 10px 22px #2563eb3d}.payment-results-panel{padding-top:58px}.pane-resize-handle{align-self:stretch;width:10px;min-height:420px;padding:0;border:0;border-radius:999px;background:linear-gradient(180deg,transparent 0%,#cbd5e1 15%,#94a3b8 50%,#cbd5e1 85%,transparent 100%);cursor:col-resize}.pane-resize-handle:hover,.pane-resize-handle:focus-visible{background:linear-gradient(180deg,transparent 0%,#7dd3fc 15%,#0284c7 50%,#7dd3fc 85%,transparent 100%);outline:none}.task-workspace-grid .legacy-task-card,.task-workspace-grid .legacy-tab-card{width:100%;margin:0}.task-create-panel,.task-results-panel{min-width:0}.task-create-panel .group-editor-title,.task-results-panel .list-panel-heading,.firm-picker-panel .list-panel-heading,.task-detail-panel .list-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.task-create-panel h2,.firm-picker-panel h3,.task-detail-panel h3{margin:0}.compact-task-grid{grid-template-columns:repeat(2,minmax(170px,1fr));gap:8px 14px}.task-choice-fieldset{border:0;margin:0;padding:0}.task-choice-fieldset legend,.legacy-field>span{color:#2f3540;font-weight:800}.task-choice-fieldset b,.task-choice-fieldset legend span,.legacy-field b{color:red;margin-right:1px}.task-checkbox-grid{display:grid;grid-template-columns:repeat(3,minmax(220px,1fr));gap:6px 28px;margin-top:12px}.task-check{display:inline-flex;align-items:center;gap:6px}.task-workflow-selector,.task-guidance-panel{border:1px solid #d9e7f5;border-radius:10px;background:linear-gradient(135deg,#f8fbff,#eef8f5);padding:14px}.task-section-heading,.task-guidance-panel,.task-guidance-main,.task-guidance-meta{display:flex;align-items:center;gap:12px}.task-section-heading{justify-content:space-between;margin-bottom:12px}.task-section-heading h3,.task-category-head h4{margin:0;color:#0f3f75}.task-section-heading p,.task-category-head p,.task-guidance-main p{margin:3px 0 0;color:#506171;font-size:13px;line-height:1.35}.task-category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.task-category-card{display:grid;gap:10px;padding:12px;border:1px solid #dde8f2;border-radius:10px;background:#ffffffdb;box-shadow:0 8px 18px #0f3a5a0f}.task-category-card.active{border-color:#1f8acb;background:#fff;box-shadow:0 10px 24px #1f8acb24}.task-category-head{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:start}.task-category-head>span,.task-guidance-main>span{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:8px;background:#edf7ff;font-size:18px}.task-type-list{display:grid;gap:8px}.task-type-pill{display:grid;grid-template-columns:auto auto 1fr auto;align-items:center;gap:8px;padding:8px 10px;border:1px solid #d6e1ea;border-radius:8px;background:#fff;cursor:pointer;transition:border-color .12s ease,background .12s ease,transform .12s ease}.task-type-pill:hover,.task-type-pill:focus-within{border-color:#37a2c9;background:#f2fbff}.task-type-pill.selected{border-color:#087fc4;background:#eaf6ff;transform:translateY(-1px)}.task-type-pill input{width:16px;min-height:16px}.task-type-pill strong{color:#172233;font-size:13px}.task-type-pill small,.task-payment-pill,.no-payment-badge{border-radius:999px;padding:3px 8px;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.02em}.task-type-pill small.requires-payment,.task-payment-pill.required{background:#dcfce7;color:#166534}.task-type-pill small.no-payment,.task-payment-pill.not-required,.no-payment-badge{background:#f1f5f9;color:#475569}.task-guidance-panel{justify-content:space-between;align-items:flex-start;background:linear-gradient(135deg,#fffaf0,#f0f9ff)}.task-guidance-main{align-items:flex-start}.task-guidance-main strong{color:#12345d}.task-guidance-meta{flex-wrap:wrap;justify-content:flex-end}.task-guidance-meta span{border:1px solid #d5e4ef;border-radius:999px;background:#ffffffc7;color:#36546b;font-size:12px;font-weight:700;padding:5px 9px}.task-field-note{margin:-4px 0 2px;padding:9px 12px;border-left:4px solid #22c55e;border-radius:8px;background:#f0fdf4;color:#315545;font-size:13px}.inline-action-help{display:grid;gap:6px}.inline-action-help p{margin:0;color:#64748b;font-size:12px;font-weight:600;line-height:1.4}.live-suggestion-list{display:grid;max-height:220px;overflow:auto;border:1px solid #d7e4ef;border-radius:10px;background:#fff;box-shadow:0 10px 22px #0f172a14}.live-suggestion-list button{display:grid;gap:2px;min-height:auto;padding:9px 10px;border:0;border-bottom:1px solid #edf2f7;border-radius:0;background:#fff;color:#172033;text-align:left}.live-suggestion-list button:hover,.live-suggestion-list button:focus-visible{background:#eef8ff;color:#0a5c92;outline:none}.live-suggestion-list button:last-child{border-bottom:0}.live-suggestion-list strong,.live-suggestion-list span{overflow-wrap:anywhere}.live-suggestion-list span,.live-suggestion-list p{margin:0;color:#64748b;font-size:12px;font-weight:600}.live-suggestion-list p{padding:10px}.legacy-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 24px}.legacy-field{display:grid;gap:8px}.legacy-field input,.legacy-field select,.legacy-field textarea,.task-filter-grid input,.task-filter-grid select,.table-search input{min-height:38px;border:1px solid #cbd5e1;border-radius:4px;padding:8px 12px;background:#fff}.legacy-field textarea{min-height:86px;resize:vertical}.legacy-field input[aria-invalid=true],.legacy-field textarea[aria-invalid=true]{border-color:#b42318}.firm-combobox{position:relative;display:grid}.firm-option-list{position:absolute;z-index:20;top:calc(100% + 4px);left:0;right:0;max-height:220px;overflow:auto;display:grid;gap:2px;padding:6px;background:#fff;border:1px solid #b8c3d4;border-radius:4px;box-shadow:0 12px 24px #0f172a2e}.firm-option-list button{min-height:44px;display:grid;gap:2px;text-align:left;border:0;border-radius:3px;padding:7px 9px;background:transparent;color:#1f2937}.firm-option-list button:hover,.firm-option-list button:focus-visible,.firm-option-list button[aria-selected=true]{background:#e8f2ff}.firm-option-list small{color:#64748b}.firm-option-list p{margin:4px;color:#64748b}.firm-detail-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:-4px 0 2px;padding:12px;background:#f8fafc;border:1px solid #dbe4ef;border-radius:6px}.firm-detail-strip div{min-width:0}.firm-detail-strip dt{color:#64748b;font-size:12px;font-weight:700}.firm-detail-strip dd{margin:3px 0 0;overflow-wrap:anywhere;color:#1f2937;font-weight:700}.tender-detail-strip{grid-template-columns:repeat(4,minmax(0,1fr))}.firm-picker-panel{display:grid;gap:10px}.firm-picker-panel>input{min-height:38px;border:1px solid #cbd5e1;border-radius:4px;padding:8px 12px}.task-firm-picker{display:grid;gap:8px;max-height:320px;overflow:auto;padding:8px;border:1px solid #dbe4ef;border-radius:6px;background:#f8fafc}.reminder-page{min-height:100%;display:grid;align-content:start;gap:16px;padding:18px}.reminder-grid{display:grid;grid-template-columns:minmax(340px,1fr) minmax(320px,.85fr);gap:18px;align-items:start}.template-preview{display:grid;gap:12px;min-width:0;padding:16px;border:1px solid #d8dee8;border-radius:8px;background:#fff;box-shadow:0 2px 10px #0f172a14}.template-preview h2,.template-preview h3,.template-preview p{margin:0}.template-preview pre{min-height:180px;max-height:420px;overflow:auto;margin:0;padding:12px;border:1px solid #dbe4ef;border-radius:6px;background:#f8fafc;color:#1f2937;white-space:pre-wrap;overflow-wrap:anywhere}.template-preview-html{display:grid;justify-items:start;min-width:0;overflow:auto;padding:2px}.selection-summary,.outbox-result{display:grid;gap:6px;min-width:0;padding:12px;border:1px solid #dbe4ef;border-radius:6px;background:#f8fafc}.selection-summary p,.outbox-result p{margin:0;overflow-wrap:anywhere}.reminder-recipient-list{display:grid;gap:8px;max-height:470px;overflow:auto}.recipient-choice{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;min-width:0;padding:10px;border:1px solid #dbe4ef;border-radius:6px;background:#f8fafc}.recipient-choice span,.recipient-choice small{display:block;min-width:0}.recipient-choice small{color:#64748b}.recipient-choice b{font-size:13px;text-align:right}.task-filter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:center}.task-filter-grid button{width:100%}.task-filter-grid input,.task-filter-grid select,.task-filter-grid button{min-width:0}.task-results-panel .task-filter-grid button{white-space:normal}.compact-button{width:auto!important;justify-self:start;min-height:32px;padding:4px 10px}.legacy-tab-card{width:min(1110px,calc(100vw - 440px));margin:0 auto;border:1px solid #d8dee8;border-radius:3px;background:#fff;padding:50px 24px 26px;position:relative}.task-results-panel{padding-top:58px;background:linear-gradient(180deg,#fff,#f8fbff);border-radius:10px;box-shadow:0 10px 24px #0f172a14}.task-results-panel .legacy-table-wrap{max-height:calc(100vh - 360px);overflow:auto;border:1px solid #dbe7f3;border-radius:12px;background:#fff}.table-action-stack{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:8px}.table-action-stack button{min-height:32px;padding:5px 11px;border-radius:999px;font-weight:800}.task-row-actions{margin-top:10px}.task-pay-action{border-color:#047857;background:linear-gradient(135deg,#16a34a,#0f766e);color:#fff}.task-detail-panel{display:grid;gap:12px;margin-top:18px;padding:14px;border:1px solid #dbe4ef;border-radius:6px;background:#f8fafc}.task-detail-panel p{margin:0;color:#334155}.global-search-open-new{margin-left:10px;font-size:12px;font-weight:700}.legacy-tab{position:absolute;top:-48px;left:-1px;min-width:190px;padding:13px 20px;border:1px solid #d8dee8;border-bottom:2px solid #007bff;border-radius:5px 5px 0 0;background:linear-gradient(#f7f9fb,#e8edf3);color:#007bff;font-weight:800}.task-chip-bar{display:flex;flex-wrap:wrap;gap:18px 28px;padding:0 16px 26px}.task-chip{font-weight:800;color:#111827;white-space:nowrap}.table-search{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin-bottom:8px}.legacy-table-wrap{overflow-x:auto}.legacy-task-table th{background:linear-gradient(135deg,#12345d,#0f766e);color:#fff;font-size:13px;text-transform:none;border-right:1px solid rgba(255,255,255,.28);white-space:normal}.legacy-task-table td{background:#fff;border-bottom:1px solid #e7eef6;text-align:left;overflow-wrap:anywhere;vertical-align:top}.legacy-task-table tbody tr:nth-child(2n) td{background:#f8fbff}.legacy-task-table tbody tr:hover td{background:#eef8ff}.resizable-payment-table,.resizable-task-table{table-layout:fixed}.resizable-payment-table{min-width:950px}.resizable-task-table{min-width:865px}.resizable-payment-table th,.resizable-task-table th{position:relative;padding-right:18px;-webkit-user-select:none;user-select:none}.resizable-payment-table th span,.resizable-task-table th span{display:block;overflow:hidden;text-overflow:ellipsis}.resizable-payment-table td,.resizable-task-table td{overflow:hidden;text-overflow:clip;white-space:normal}.task-result-primary,.task-result-task,.payment-result-primary,.payment-result-payment{display:grid;gap:5px;min-width:0}.task-result-badges,.payment-result-badges{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.task-result-primary strong{color:#172033;font-size:13px;overflow-wrap:anywhere}.task-result-primary span,.task-result-task p,.payment-result-primary span,.payment-result-payment p{margin:0;color:#64748b;font-size:12px;line-height:1.35;overflow-wrap:anywhere}.payment-result-primary strong{color:#172033;font-size:13px;overflow-wrap:anywhere}.payment-row-actions{margin-top:10px}.task-result-task p{display:-webkit-box;max-height:3.9em;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3}.task-type-badge,.payment-type-badge,.task-status-badge,.task-date-badge{display:inline-flex;width:fit-content;max-width:100%;align-items:center;border-radius:999px;font-size:11px;font-weight:900;line-height:1.2}.payment-type-badge,.task-type-badge{padding:4px 8px;background:#e0f2fe;color:#075985}.task-type-badge.paid{background:#dbeafe;color:#1d4ed8}.task-date-badge{padding:5px 8px;border:1px solid #d7e4ef;background:#f8fafc;color:#334155}.task-status-badge{padding:5px 9px;text-transform:uppercase;letter-spacing:.02em}.task-status-badge.pending{background:#fef3c7;color:#92400e}.task-status-badge.progress{background:#dbeafe;color:#1d4ed8}.task-status-badge.completed{background:#dcfce7;color:#166534}.task-status-badge.hold{background:#fae8ff;color:#86198f}.task-status-badge.muted{background:#e2e8f0;color:#475569}.payment-amount-stack,.payment-date-stack{display:grid;gap:6px;margin:0}.payment-amount-stack div,.payment-date-stack div{display:flex;align-items:center;justify-content:space-between;gap:10px}.payment-amount-stack dt,.payment-date-stack dt{color:#64748b;font-size:11px;font-weight:900;text-transform:uppercase}.payment-amount-stack dd,.payment-date-stack dd{margin:0;color:#172033;font-size:12px;font-weight:850;text-align:right}.payment-amount-stack .amount-due{color:#b45309}.payment-amount-stack .amount-settled{color:#1d4ed8}.column-resize-handle{position:absolute;top:0;right:-4px;width:9px;height:100%;min-height:100%;padding:0;border:0;border-radius:0;background:transparent;cursor:col-resize;z-index:2}.column-resize-handle:after{content:"";position:absolute;top:8px;bottom:8px;left:4px;width:2px;border-radius:999px;background:#ffffff6b}.column-resize-handle:hover:after,.column-resize-handle:focus-visible:after{background:#74b9ff}.payment-mode-badge{display:inline-grid;place-items:center;min-width:44px;min-height:21px;border-radius:4px;padding:2px 7px;color:#fff;font-size:11px;font-weight:850;line-height:1;letter-spacing:0;text-transform:uppercase}.payment-mode-badge.settled{background:#50b95f}.payment-mode-badge.slkp{background:#f2a83b}.migration-panel textarea{min-height:154px;resize:vertical}.migration-panel label{display:grid;gap:8px;color:#334155;font-weight:800}.migration-panel input,.migration-panel select,.migration-panel textarea{border:1px solid #c7d4e5;border-radius:10px;background:#fff;padding:10px 12px;box-shadow:inset 0 1px 2px #0f172a0a;transition:border-color .14s ease,box-shadow .14s ease}.migration-panel input:focus,.migration-panel select:focus,.migration-panel textarea:focus{border-color:#0f6cbd;box-shadow:0 0 0 3px #0f6cbd24;outline:none}.migration-page-header{align-items:center;border-bottom:1px solid #e5eef8;padding-bottom:10px}.migration-page-header h2,.migration-page-header p{margin:0}.migration-page-header p{margin-top:4px}.migration-control-group{display:grid;gap:18px;border:1px solid #dbe3ef;border-radius:8px;background:linear-gradient(180deg,#fff,#f8fbff);padding:18px;box-shadow:0 10px 28px #0f172a0d}.migration-input-group{background:linear-gradient(180deg,#fff,#f7fcfa)}.migration-control-heading{display:flex;justify-content:space-between;gap:16px;align-items:start}.migration-control-heading h3,.migration-control-heading p{margin:0}.migration-control-heading p{margin-top:4px}.migration-step-badge{display:inline-flex;align-items:center;min-height:26px;border-radius:999px;background:#e6f2ff;color:#075bb5;padding:4px 10px;font-size:12px;font-weight:850;white-space:nowrap}.migration-progress-panel{display:grid;gap:12px;border:1px solid #bfdbfe;border-radius:10px;background:linear-gradient(135deg,#f8fbff,#eef8ff 55%,#f0fdfa);padding:14px;box-shadow:0 10px 24px #0f6cbd14}.migration-progress-header{display:flex;align-items:start;justify-content:space-between;gap:14px}.migration-progress-header div{display:grid;gap:3px}.migration-progress-header strong{color:#0f172a;font-size:16px}.migration-progress-header span{color:#475569;font-size:13px;font-weight:800;text-transform:capitalize}.migration-progress-header b{display:inline-flex;align-items:center;justify-content:center;min-width:58px;min-height:34px;border-radius:999px;background:#0f6cbd;color:#fff;padding:5px 10px;font-size:16px;font-weight:900}.migration-progress-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.migration-progress-stats span{display:grid;gap:2px;border:1px solid #dbeafe;border-radius:8px;background:#ffffffc7;padding:9px 10px}.migration-progress-stats b{color:#0f172a;font-size:18px;line-height:1.1}.migration-progress-stats small,.migration-progress-current small{color:#64748b;font-size:12px;font-weight:850;text-transform:uppercase}.migration-progress-current{display:grid;gap:4px;border-left:4px solid #14b8a6;border-radius:8px;background:#ffffffbd;padding:9px 11px}.migration-progress-current span{color:#164e63;font-weight:800;overflow-wrap:anywhere}.performance-filter-grid{grid-template-columns:repeat(7,minmax(120px,1fr))}.performance-filter-field{display:grid;gap:5px}.performance-filter-field span{color:#334155;font-size:12px;font-weight:850}.performance-filter-field small{color:#64748b;font-size:11px;font-weight:700;line-height:1.25}.performance-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.performance-summary-card{display:grid;gap:5px;border:1px solid #dbeafe;border-radius:8px;background:linear-gradient(135deg,#f8fbff,#eef8ff);padding:12px}.performance-summary-card span{color:#64748b;font-size:12px;font-weight:850;text-transform:uppercase}.performance-summary-card strong{color:#0f172a;overflow-wrap:anywhere}.performance-table td{vertical-align:top}.performance-table td>strong,.performance-table td>small{display:block}.duration-badge{display:inline-flex;align-items:center;min-height:28px;border-radius:999px;background:#fee2e2;color:#991b1b;padding:4px 10px;font-weight:900}.performance-breakdown{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.performance-breakdown span{display:grid;gap:2px;border-radius:6px;background:#f1f5f9;padding:7px}.performance-breakdown b{color:#075985}.performance-breakdown small{color:#64748b;font-size:11px;font-weight:850}.performance-details{margin-top:8px}.performance-details summary{cursor:pointer;color:#0f6cbd;font-weight:850}.performance-details pre{max-width:420px;max-height:240px;overflow:auto;border-radius:8px;background:#0f172a;color:#e2e8f0;padding:10px;font-size:12px}.migration-action-row{align-items:center;border-top:1px solid #e5eef8;padding-top:14px}.migration-login-status{margin:-4px 0 0}.migration-checkbox-card{align-self:stretch;align-items:start;border:1px solid #dbe3ef;border-radius:8px;background:#fff;padding:12px}.migration-checkbox-card span{display:grid;gap:3px}.migration-checkbox-card small{color:#64748b;font-size:12px;font-weight:700;line-height:1.35}.preview-excel-button{justify-self:start;margin-top:2px}.excel-preview-panel{display:grid;gap:12px;border:1px solid #c7dff8;border-radius:8px;background:#fff;padding:14px}.excel-preview-panel h3,.excel-preview-panel p{margin:0}.excel-preview-panel code{color:#075985;font-size:12px;font-weight:800}.excel-match-badge{display:inline-flex;align-items:center;min-height:24px;border-radius:999px;padding:3px 9px;font-size:12px;font-weight:850;white-space:nowrap}.excel-match-badge.matched{background:#dcfce7;color:#166534}.excel-match-badge.missing{background:#fee2e2;color:#991b1b}.migration-delete-result{display:grid;gap:10px;border:1px solid #fecaca;border-radius:8px;background:snow;padding:12px}.migration-delete-result h3,.migration-delete-result p{margin:0}.migration-submit-bar{display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:18px;border-top:1px solid #d8efe5;padding-top:16px}.migration-submit-actions{justify-content:flex-start;gap:16px}.migration-selection-summary{display:inline-flex;align-items:center;gap:8px;border:1px solid #bfdbfe;border-radius:999px;background:#eff6ff;color:#1e3a8a;padding:5px 11px;font-weight:800}.migration-selection-summary strong{font-size:17px}.migration-selection-summary span{font-size:13px}.muted-text{color:#64748b;font-size:13px}.summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(128px,1fr));gap:12px;margin:14px 0 18px}.summary-grid.compact{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.metric-card{border:1px solid #dbe3ef;border-radius:8px;padding:12px;background:#f8fbff}.metric-card strong{display:block;color:#075bb5;font-size:24px;line-height:1}.metric-card span{color:#475569;font-size:13px;font-weight:700;text-transform:capitalize}.status-badge{display:inline-flex;align-items:center;min-height:24px;padding:4px 9px;border-radius:999px;background:#dff4e8;color:#11633a;font-size:12px;font-weight:800;text-transform:uppercase}.status-badge.warning{background:#fff4d6;color:#925d00}.migration-report-tabs a{display:inline-flex;align-items:center;min-height:34px;border:1px solid #cbd5e1;border-radius:6px;background:#fff;color:#155e75;padding:6px 10px;font-size:13px;font-weight:800;text-decoration:none}.migration-report-tabs a.active-filter{border-color:#0f6cbd;background:#e6f2ff;color:#074d88}.migration-audit-counts,.migration-audit-links{display:flex;flex-wrap:wrap;gap:6px}.migration-job-id{display:inline-flex;align-items:center;min-height:28px;border-radius:6px;background:#e6f2ff;color:#075bb5;padding:4px 8px;font-size:15px}.migration-source-url{display:block;margin-top:6px;color:#64748b;max-width:240px;overflow-wrap:anywhere}.migration-firm-lines{display:grid;gap:7px;min-width:280px}.migration-firm-line{display:flex;flex-wrap:wrap;gap:6px}.firm-chip{display:inline-flex;align-items:center;min-height:24px;border:1px solid #bfdbfe;border-radius:999px;background:#eff6ff;color:#1e3a8a;padding:3px 9px;font-size:12px;font-weight:800}.empty-table-cell{color:#64748b;font-weight:700;text-align:center}.migration-audit-counts span,.migration-audit-links a{display:inline-flex;align-items:center;min-height:24px;border-radius:999px;padding:3px 8px;font-size:12px;font-weight:800}.migration-audit-counts span{background:#eef6ff;color:#075985}.migration-audit-links a{border:1px solid #cbd5e1;background:#fff;color:#155e75;text-decoration:none}.migration-audit-links a:hover,.migration-audit-links a:focus-visible{border-color:#0f6cbd;background:#e6f2ff}.preview-section{margin-top:14px;border:1px solid #dbe3ef;border-radius:8px;background:#fff}.preview-section summary{padding:12px 14px;color:#1e293b;cursor:pointer;font-weight:800}.preview-section>:not(summary){margin:0 14px 14px}.migration-firm-tabs-panel{display:grid;gap:12px;margin-top:14px}.migration-firm-tabs{display:flex;gap:8px;overflow-x:auto;border:1px solid #dbe3ef;border-radius:10px;background:linear-gradient(135deg,#f8fbff,#eef7ff);padding:8px}.migration-firm-tabs button{display:grid;gap:3px;min-width:170px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#334155;padding:9px 11px;text-align:left}.migration-firm-tabs button.active{border-color:#0f6cbd;background:#e6f2ff;color:#0f3f76;box-shadow:0 8px 20px #0f6cbd29}.migration-firm-tabs button span{color:#64748b;font-size:12px;font-weight:800}.migration-firm-tab-content{padding:14px}.migration-firm-tab-heading{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:12px}.migration-firm-tab-heading h3{margin:0}.migration-empty-firms{margin:14px 0 0}.migration-preview-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.preview-table-block h3{margin:6px 0 8px}.migration-stats-modal{width:min(860px,100%)}.migration-stats-modal header p{margin:4px 0 0}.table-footer{display:flex;justify-content:space-between;gap:16px;padding-top:14px}.users-admin-page{padding:0 12px 24px}.legacy-tabs{display:flex;align-items:flex-end;gap:0;margin-bottom:-1px}.legacy-tabs button{min-height:48px;padding:0 20px;border:1px solid transparent;border-bottom:0;border-radius:4px 4px 0 0;background:transparent;color:#1f2937;font-size:16px;font-weight:500}.legacy-tabs button.active{border-color:#d5dce5;background:linear-gradient(180deg,#eef2f6,#f8fafc);box-shadow:inset 0 -2px #0078ff;color:#0078ff;font-weight:700}.users-admin-shell{min-height:345px;border:1px solid #d8e3ef;border-radius:0 8px 8px;background:linear-gradient(180deg,#fbfdff,#f6f9fd);padding:40px 24px 26px;box-shadow:0 14px 34px #0f172a0f}.users-table-toolbar{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:8px}.users-table-toolbar label{display:flex;align-items:center;gap:10px;font-weight:500}.users-table-toolbar input{width:176px;height:30px;border:1px solid #b8c7d9;border-radius:8px;background:#fff;padding:4px 9px;box-shadow:inset 0 1px 2px #0f172a0d}.users-table-wrap{padding:0;border:0;background:transparent;box-shadow:none}.users-legacy-table{width:100%;min-width:820px;border-collapse:separate;border-spacing:0;border:1px solid #dce6f0;border-radius:10px;background:#fff;overflow:hidden;box-shadow:0 10px 28px #0f172a0f}.users-legacy-table th{height:44px;border:0;border-bottom:1px solid #d4e2f0;background:linear-gradient(180deg,#eef7ff,#f8fbff);color:#24415f;text-align:left;font-size:15px;font-weight:800}.users-legacy-table td{height:42px;border:0;border-bottom:1px solid #e7eef6;color:#243041;font-size:15px}.users-legacy-table th+th,.users-legacy-table td+td{border-left:1px solid #edf2f8}.users-legacy-table tbody tr:nth-child(odd){background:#f8fbff}.users-legacy-table tbody tr:nth-child(2n){background:#fff}.users-legacy-table tbody tr:hover{background:#eef8ff}.user-status-link{min-height:28px;border:1px solid transparent;border-radius:999px;background:transparent;padding:3px 11px;box-shadow:none;font-size:13px;font-weight:850;text-decoration:none}.user-status-link.active{border-color:#b8e6ca;background:#ecfdf3;color:#087b3b}.user-status-link.inactive{border-color:#fecaca;background:#fff1f2;color:#b91c1c}.user-status-link:hover,.user-status-link:focus-visible{transform:translateY(-1px);box-shadow:0 8px 18px #0f172a1a;text-decoration:underline}.icon-only-button.muted{width:28px;height:28px;padding:0;border:0;background:transparent;color:#1f2937;box-shadow:none}.users-pagination{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:12px;border:1px solid #dce6f0;border-radius:10px;background:#fff;padding:8px 10px;color:#475569;font-size:14px;box-shadow:0 8px 20px #0f172a0a}.users-pagination div{display:flex;align-items:center;gap:0}.users-pagination button,.users-pagination span+div span{min-width:38px;min-height:34px;border:1px solid #d2deeb;border-radius:8px;background:#f8fbff;display:grid;place-items:center}.users-pagination button{background:#fff;color:#31516f}.users-pagination button:disabled{opacity:.65}.change-password-form{display:grid;gap:18px;max-width:100%}.change-password-form .field-group{gap:8px;color:#1f2937;font-size:16px;font-weight:500}.change-password-form .field-group span{font-weight:700}.change-password-form input,.change-password-form select{width:100%;min-height:38px;border:1px solid #c8d1dc;border-radius:4px;background:#e7f0fc;color:#1f2937;font-size:16px}.change-password-form select:focus{outline:3px solid rgba(59,130,246,.35);border-color:#60a5fa}.change-password-form button[type=submit]{justify-self:start;min-height:38px;padding:0 14px;border-radius:4px}.user-status-dialog{max-width:460px}.user-status-dialog p{margin:0;color:#334155;font-size:16px}.dialog-action-row{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.firm-merge-workbench{gap:18px}.merge-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.merge-card{display:grid;align-content:start;gap:12px;min-height:260px;padding:18px;border:1px solid #dbeafe;border-radius:12px;background:linear-gradient(145deg,#fff,#f8fbff)}.merge-card h3{margin:0;color:#0f3b63;font-size:18px}.merge-card-wide{grid-column:1 / -1}.firm-profile-preview{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px;margin:0;padding:14px;border:1px solid #bfdbfe;border-radius:12px;background:#f8fbff}.firm-profile-preview p{grid-column:1 / -1;margin:0}.firm-profile-preview div{min-width:0;padding:10px;border-radius:9px;background:#fff}.firm-profile-preview dt{color:#64748b;font-size:12px;font-weight:800;text-transform:uppercase}.firm-profile-preview dd{margin:4px 0 0;color:#0f172a;font-size:14px;font-weight:750;overflow-wrap:anywhere}.lookup-suggestions,.selected-chip-list{display:flex;flex-wrap:wrap;gap:8px}.lookup-suggestions button{display:inline-flex;align-items:center;gap:6px;min-height:32px;border-color:#bfdbfe;background:#eff6ff;color:#0f3b63;font-weight:700}.lookup-suggestions small{color:#64748b;font-weight:700}.firm-chip.selected{display:inline-flex;align-items:center;gap:8px;border-color:#99f6e4;background:#ccfbf1;color:#134e4a}.firm-chip.selected button{min-height:22px;width:22px;padding:0;border:0;border-radius:999px;background:#0f766e;color:#fff}.duplicate-suggestions-panel{border-color:#c7d2fe;background:linear-gradient(180deg,#eef2ffd9,#fffffff2),#fff}.duplicate-suggestion-table-wrap{border:1px solid #dbeafe;border-radius:14px;background:#fff;box-shadow:0 14px 36px #0f172a14}.duplicate-suggestion-table{min-width:980px;border-collapse:separate;border-spacing:0}.duplicate-suggestion-table thead th{border:0;background:linear-gradient(135deg,#e0f2fe,#eef2ff);color:#0f3b63;font-size:13px;letter-spacing:0}.duplicate-suggestion-table thead th:first-child{border-top-left-radius:14px}.duplicate-suggestion-table thead th:last-child{border-top-right-radius:14px}.duplicate-suggestion-table tbody tr:nth-child(2n){background:#f8fbff}.duplicate-suggestion-table tbody tr:hover,.duplicate-suggestion-table tbody tr.selected-suggestion-row{background:#ecfeff}.duplicate-confidence{display:inline-flex;align-items:center;justify-content:center;min-width:58px;min-height:30px;border-radius:999px;font-weight:850;color:#fff}.duplicate-confidence.high{background:#059669}.duplicate-confidence.medium{background:#0284c7}.duplicate-confidence.low{background:#d97706}.duplicate-firm-list{display:flex;flex-wrap:wrap;gap:8px}.duplicate-firm-pill{position:relative;display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:7px 10px;border:1px solid #bfdbfe;border-radius:999px;background:#eff6ff;color:#0f3b63;font-size:13px;font-weight:800;overflow-wrap:anywhere}.duplicate-firm-pill.output{border-color:#99f6e4;background:#ccfbf1;color:#134e4a}.duplicate-firm-pill small{color:#64748b;font-weight:800}.duplicate-firm-contact{position:absolute;z-index:20;left:0;top:calc(100% + 8px);display:none;min-width:260px;padding:12px;border:1px solid #bae6fd;border-radius:12px;background:#fff;color:#0f172a;box-shadow:0 16px 36px #0f172a2e}.duplicate-firm-contact strong,.duplicate-firm-contact span{display:block;font-size:12px;line-height:1.5}.duplicate-firm-contact span{color:#475569;font-weight:700}.duplicate-firm-pill:hover .duplicate-firm-contact,.duplicate-firm-pill:focus-visible .duplicate-firm-contact{display:block}.duplicate-suggestion-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:10px;padding-top:12px}.duplicate-suggestion-actions span{margin-right:auto;color:#475569;font-weight:800}.duplicate-suggestion-pagination{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:10px;padding:12px 2px 0;color:#475569;font-size:13px;font-weight:800}.duplicate-suggestion-pagination>span{margin-right:auto}.duplicate-suggestion-pagination label{display:inline-flex;align-items:center;gap:6px}.duplicate-suggestion-pagination select{min-height:34px;width:auto;padding:4px 28px 4px 10px;border-radius:9px}.profile-override-grid{display:grid;grid-template-columns:repeat(3,minmax(180px,1fr));gap:12px;margin:14px 0 8px;padding:14px;border:1px solid #dbeafe;border-radius:14px;background:linear-gradient(135deg,#f8fbff,#eef6ff)}.profile-override-wide{grid-column:span 2}.firm-suggestion-merge-dialog{width:min(980px,100%);max-height:min(860px,calc(100vh - 40px));overflow:auto}.firm-suggestion-merge-dialog header p{margin:4px 0 0}.suggestion-dialog-summary{display:grid;grid-template-columns:1.2fr .5fr 1.4fr;gap:12px;padding:12px;border:1px solid #dbeafe;border-radius:12px;background:#f8fbff}.suggestion-dialog-summary div{display:grid;gap:4px}.suggestion-dialog-summary span{color:#64748b;font-size:12px;font-weight:800;text-transform:uppercase}.suggestion-dialog-firms{padding:10px 0 2px}@media(max-width:900px){.task-category-grid{grid-template-columns:1fr}.task-guidance-panel,.task-section-heading{align-items:stretch;flex-direction:column}.task-guidance-meta{justify-content:flex-start}.profile-override-grid{grid-template-columns:1fr}.profile-override-wide{grid-column:auto}.suggestion-dialog-summary{grid-template-columns:1fr}}.progress-track{height:12px;overflow:hidden;border-radius:999px;background:#e2e8f0}.progress-track span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#0ea5e9,#14b8a6);transition:width .22s ease}.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}@media(max-width:760px){.page-heading-row,.form-grid{grid-template-columns:1fr}.page-heading-row{display:grid}.team-chat-widget{right:12px;bottom:12px;width:calc(100vw - 24px);height:min(620px,calc(100vh - 24px))}.team-chat-widget.maximized,.team-chat-widget.standalone{right:12px;bottom:12px;width:calc(100vw - 24px);height:min(720px,calc(100vh - 24px))}.team-chat-widget.standalone{right:auto;bottom:auto}.team-chat-page{padding:12px}.team-chat-body{grid-template-columns:1fr;grid-template-rows:146px minmax(0,1fr)}.team-chat-users{border-right:0;border-bottom:1px solid #e2e8f0}.team-chat-user-list{grid-auto-flow:column;grid-auto-columns:minmax(150px,1fr);overflow-x:auto;overflow-y:hidden}.team-chat-launcher{right:14px;bottom:14px}.task-checkbox-grid,.task-workspace-grid,.payment-workspace-grid,.payment-live-summary,.utility-navigation-hints,.legacy-form-grid,.firm-detail-strip,.reminder-grid,.task-filter-grid,.manage-groups-grid,.admin-master-grid,.firm-operation-filters,.firm-picker-grid,.merge-grid{grid-template-columns:1fr}.pane-resize-handle{display:none}.recipient-choice{grid-template-columns:auto minmax(0,1fr)}.recipient-choice b{grid-column:2;text-align:left}.migration-preview-columns{grid-template-columns:1fr}.legacy-task-card,.legacy-tab-card{width:100%}}@media(min-width:761px)and (max-width:1180px){.task-workspace-grid{grid-template-columns:1fr}.task-workspace-grid .pane-resize-handle{display:none}.task-filter-grid{grid-template-columns:repeat(3,minmax(160px,1fr))}}
