:root{--bg:var(--theme-f6f7fb,#f6f7fb);--surface:var(--theme-fff,#fff);--ink:var(--theme-24253b,#24253b);--muted:#85869b;--line:var(--theme-edf0f5,#edf0f5);--violet:var(--theme-137f95,#137f95);--violet-dark:var(--theme-0b667d,#0b667d);--shadow:0 5px 20px var(--theme-30314705,#30314705);--sidebar:248px;--radius:18px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.5 "Segoe UI Variable","Inter","Aptos",system-ui,-apple-system,sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #6cb7c5;outline-offset:4px}input:focus,select:focus,textarea:focus{outline:3px solid var(--theme-e6f3f6,#e6f3f6);border-color:var(--theme-2b9bb0,#2b9bb0)}h1,h2,h3,p{margin-top:0}h1{font-size:30px;line-height:1.2;letter-spacing:-.8px}h2{font-size:17px;letter-spacing:-.3px;line-height:1.4}h3{font-size:14px}p{color:var(--dark-text-77798f,#77798f)}small{font-size:12px}.icon{display:inline-block;width:20px;height:20px;flex:none;vertical-align:middle}.icon-tile{width:44px;height:44px;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;flex:none}.icon-tile .icon{width:23px;height:23px}.tone-violet{background:var(--dark-surface-e2f4f7,#e2f4f7);color:var(--dark-text-8155dd,#8155dd)}.tone-blue{background:var(--dark-surface-e8f2ff,#e8f2ff);color:var(--dark-text-468ce6,#468ce6)}.tone-mint{background:var(--dark-surface-e6f6f0,#e6f6f0);color:var(--dark-text-2fa881,#2fa881)}.tone-coral{background:var(--dark-surface-fff0e9,#fff0e9);color:var(--dark-text-e78b5a,#e78b5a)}.tone-amber{background:var(--dark-surface-fff6de,#fff6de);color:var(--dark-text-c7982a,#c7982a)}.tone-pink{background:var(--dark-surface-fcebf4,#fcebf4);color:var(--dark-text-d276aa,#d276aa)}.tone-slate{background:var(--dark-surface-eef1f5,#eef1f5);color:var(--dark-text-8691a2,#8691a2)}
.btn,.secondary,.button-soft,button:not(.icon-button):not(.nav-scrim):not(.mobile-menu){display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:10px;padding:10px 16px;min-height:40px;font-weight:600;font-size:13px;white-space:nowrap;transition:background .16s,box-shadow .16s,transform .16s;border:1px solid transparent}.btn{background:var(--violet);color:var(--dark-text-fff,#fff);box-shadow:0 3px 7px var(--theme-137f9524,#137f9524)}.btn:hover{background:var(--violet-dark);box-shadow:0 5px 14px var(--theme-137f952e,#137f952e)}.btn .icon{width:17px;height:17px}.secondary{background:var(--dark-surface-fff,#fff);color:var(--dark-text-67687f,#67687f);border:1px solid var(--theme-e7e7ef,#e7e7ef)}.secondary:hover{background:var(--dark-surface-f9f7ff,#f9f7ff);border-color:#d4c8f4}.button-soft{background:var(--dark-surface-dff1f5,#dff1f5);color:var(--dark-text-7150c6,#7150c6)}.button-soft:hover{background:var(--dark-surface-cce8ee,#cce8ee)}button{background:var(--dark-surface-f0f1f6,#f0f1f6);color:var(--dark-text-66677e,#66677e);border:0}.icon-button{width:36px;height:36px;padding:8px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:10px;background:transparent;color:var(--dark-text-9494a9,#9494a9)}.icon-button:hover{background:var(--dark-surface-f1eefb,#f1eefb);color:var(--dark-text-137f95,#137f95)}.text-link{font-weight:600;color:var(--dark-text-565071,#565071)}.text-link:hover{color:var(--violet);text-decoration:underline}.skip-link{position:fixed;top:-60px;left:270px;padding:12px 20px;background:var(--violet);color:var(--dark-text-fff,#fff);z-index:300}.skip-link:focus{top:12px}
.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);padding:27px 18px 14px;background:var(--dark-surface-fff,#fff);border-right:1px solid var(--theme-edf0f5,#edf0f5);display:flex;flex-direction:column;z-index:60;overflow-y:auto}.brand{display:flex;align-items:center;gap:11px;padding:0 10px;margin-bottom:28px}.brandmark{width:39px;height:39px;border-radius:13px;background:var(--violet);color:var(--dark-text-fff,#fff);display:grid;place-items:center;box-shadow:0 5px 13px var(--theme-137f952c,#137f952c);flex:none}.brandmark .icon{width:27px;height:27px;stroke-width:1.4}.brand b{font-size:25px;letter-spacing:-1px;line-height:1.15}.brand-dot{color:var(--violet)}.brand small{display:block;color:var(--dark-text-8d8da2,#8d8da2);font-size:10px;letter-spacing:.2px;margin-top:4px}.workspace-chip{display:flex;align-items:center;gap:10px;padding:12px 10px;border:1px solid var(--theme-edeaf5,#edeaf5);border-radius:12px;background:var(--dark-surface-fbfaff,#fbfaff);margin:0 4px 24px;font-size:12px;font-weight:650}.workspace-chip small{display:block;color:var(--dark-text-9897ab,#9897ab);font-weight:400;font-size:10px}.workspace-symbol{width:30px;height:30px;border-radius:9px;background:var(--dark-surface-e2f4f7,#e2f4f7);color:var(--dark-text-8b6edf,#8b6edf);display:grid;place-items:center}.workspace-symbol .icon{width:18px;height:18px}.nav-group{margin-bottom:22px}.nav-label{display:block;font-size:10px;color:var(--dark-text-9393a7,#9393a7);letter-spacing:1.1px;text-transform:uppercase;font-weight:600;margin:0 0 10px 13px}.sidebar nav a{display:flex;align-items:center;gap:11px;padding:10px 12px;min-height:43px;border-radius:11px;color:var(--dark-text-76778d,#76778d);font-size:12.5px;font-weight:500;margin:3px 0;position:relative}.sidebar nav a:hover{background:var(--dark-surface-f8f6fe,#f8f6fe);color:var(--dark-text-6c4fbd,#6c4fbd)}.sidebar nav a.active{background:var(--dark-surface-e8f5f8,#e8f5f8);color:var(--dark-text-7757d3,#7757d3);font-weight:650}.nav-icon{width:29px;height:29px;display:grid;place-items:center;border-radius:8px}.nav-icon .icon{width:17px;height:17px}.active-indicator{width:5px;height:5px;background:var(--violet);border-radius:50%;margin-left:auto}.sidebar-help{padding:16px;border-radius:15px;background:var(--dark-surface-edf7fa,#edf7fa);margin:8px 3px 20px;position:relative}.sidebar-help>.icon-tile{position:absolute;right:11px;top:13px;width:32px;height:32px;border-radius:10px}.sidebar-help>.icon-tile .icon{width:18px;height:18px}.sidebar-help>b{font-size:12px;display:block;padding-top:2px;margin-bottom:6px}.sidebar-help p{font-size:11px;max-width:125px;line-height:1.6;color:var(--dark-text-9790ab,#9790ab);margin-bottom:13px}.sidebar-help .button-soft{width:100%;font-size:11px;min-height:34px;padding:7px 10px}.sidebar-help .button-soft .icon{width:15px;height:15px}.side-user{margin-top:auto;display:flex;gap:6px;align-items:center;border-top:1px solid var(--line);padding:17px 7px 0}.side-user .person-inline{min-width:0;flex:1}.side-user .person-inline>span:last-child{min-width:0}.side-user b{display:block;font-size:11px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:115px}.side-user small{display:block;font-size:10px;color:var(--dark-text-9493a6,#9493a6)}.side-user form{margin:0;display:block}.side-user .icon-button{width:28px;height:32px;padding:5px}
.avatar{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;flex:none;border-radius:11px;font-weight:700;font-size:11px;letter-spacing:.4px}.person-inline{display:inline-flex;align-items:center;gap:9px;font-size:12px}.person-inline .avatar{width:26px;height:26px;border-radius:9px;font-size:9px}.side-user .avatar{width:34px;height:34px;font-size:10px;border-radius:11px}.app{margin-left:var(--sidebar);min-height:100vh}.app-header{height:79px;display:flex;align-items:center;gap:26px;border-bottom:1px solid var(--line);padding:0 34px;background:var(--dark-surface-ffffffd9,#ffffffd9);position:sticky;top:0;z-index:40;backdrop-filter:blur(16px)}.breadcrumb{display:flex;gap:11px;align-items:center;font-size:11px;white-space:nowrap}.breadcrumb>span{color:var(--dark-text-9797ab,#9797ab)}.breadcrumb>b{font-weight:550;color:var(--dark-text-6b6b81,#6b6b81)}.breadcrumb .icon{width:12px;height:12px;color:var(--dark-text-bbb7cd,#bbb7cd)}.global-search{margin-left:auto;width:280px}.search-control{display:flex;align-items:center;gap:10px;background:var(--dark-surface-f6f7fa,#f6f7fa);padding:8px 12px;border:1px solid var(--theme-edf0f5,#edf0f5);border-radius:10px;color:var(--dark-text-b0aabd,#b0aabd)}.search-control .icon{width:16px;height:16px}.search-control input{width:100%;background:transparent;border:0;padding:0;font-size:11px;outline:0;min-width:0;color:var(--dark-text-66667c,#66667c)}.search-control input::placeholder{color:var(--dark-text-a3a2b4,#a3a2b4)}.search-control kbd{font-family:inherit;color:var(--dark-text-b0aabb,#b0aabb);font-size:10px;border:1px solid var(--theme-e3e0eb,#e3e0eb);padding:0 5px;border-radius:4px}.header-actions{display:flex;align-items:center;gap:10px}.header-actions .secondary{font-size:11px;padding:9px 12px;min-height:35px}.header-actions .secondary .icon{width:15px;height:15px}.header-actions .btn{font-size:11px;min-height:35px;padding:9px 12px}.header-actions>.avatar{margin-left:8px;width:33px;height:33px}.mobile-menu{display:none}.nav-scrim{display:none}
.content{padding:32px 34px 22px;max-width:1600px;margin:auto}.title{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:26px}.title h1{margin:0 0 8px}.title p{font-size:12px;color:var(--dark-text-9493a6,#9493a6);line-height:1.6;margin:0;max-width:760px}.eyebrow{display:flex;gap:7px;align-items:center;font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:1.3px;color:var(--dark-text-aaa1bd,#aaa1bd);margin-bottom:13px}.eyebrow .icon{width:13px;height:13px;color:var(--dark-text-a385e0,#a385e0)}.title-right{display:flex;gap:10px;align-items:center}.date-chip{display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border:1px solid var(--theme-e8e6f1,#e8e6f1);border-radius:9px;background:var(--dark-white-surface,white);color:var(--dark-text-89849b,#89849b);font-size:11px;white-space:nowrap}.date-chip .icon{width:16px;height:16px;color:var(--dark-text-9a88ba,#9a88ba)}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:25px}.stats article{background:var(--dark-surface-fff,#fff);border:1px solid var(--theme-ececf3,#ececf3);border-radius:16px;padding:20px 21px;box-shadow:var(--shadow);min-width:0;position:relative}.stat-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}.stat-top>span:first-child{font-size:12px;color:var(--dark-text-8b8c9f,#8b8c9f);font-weight:500}.stat-top .icon-tile{width:37px;height:37px;border-radius:12px}.stat-top .icon{width:20px;height:20px}.stats b{display:block;font-size:29px;font-weight:700;letter-spacing:-.8px;line-height:1.2;margin-bottom:8px;font-variant-numeric:tabular-nums}.stats small{display:block;color:var(--dark-text-a0a0b0,#a0a0b0);font-size:10px}.stats b.small-stat{font-size:20px}.stats article:not(.stat-card)>span{color:var(--dark-text-8c8d9f,#8c8d9f);font-size:12px;display:block;margin-bottom:18px}.stats article:not(.stat-card)::after{content:"";position:absolute;right:20px;top:20px;width:9px;height:9px;border:2px solid var(--theme-dacdfb,#dacdfb);border-radius:3px;background:var(--dark-surface-f3edff,#f3edff)}
.panel{background:var(--dark-surface-fff,#fff);border:1px solid var(--theme-ececf3,#ececf3);border-radius:var(--radius);padding:24px;box-shadow:var(--shadow);min-width:0}.panel h2{margin-bottom:18px}.panel p{font-size:12px;line-height:1.7}.section-gap{margin-top:24px!important}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:21px}.panel-heading h2{margin:0;font-size:15px}.panel-heading p{margin:5px 0 0;color:var(--dark-text-a0a0b0,#a0a0b0);font-size:11px}.panel-heading .icon-tile{width:34px;height:34px;border-radius:10px}.panel-heading .icon{width:17px;height:17px}.panel-title{display:flex;gap:10px;align-items:center}.panel-heading .text-link{font-size:11px;color:var(--dark-text-9d88c6,#9d88c6);display:inline-flex;align-items:center;gap:5px}.panel-heading .text-link .icon{width:13px;height:13px}.grid2{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:22px}.detail-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:22px}.report-overview{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:22px;margin-bottom:24px}.numeric{font-variant-numeric:tabular-nums;white-space:nowrap}.muted{color:var(--muted)}.narrow{max-width:920px}.preserve{white-space:pre-wrap;overflow-wrap:anywhere}.page-footer{display:flex;justify-content:space-between;color:var(--dark-text-b5b1c3,#b5b1c3);font-size:10px;padding:29px 0 5px;gap:15px}
.filters{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap;padding:17px 19px;margin-bottom:24px;border:1px solid var(--theme-ececf3,#ececf3);border-radius:14px;background:var(--dark-surface-fff,#fff)}.filters label{display:grid;gap:6px;font-size:10px;color:var(--dark-text-9292a6,#9292a6);flex:1;min-width:140px}.filters input,.filters select{height:37px;font-size:11px;background:var(--dark-surface-fbfbfd,#fbfbfd);border-color:var(--theme-eeedf3,#eeedf3)}.filters .btn,.filters .secondary,.filters button{height:37px;min-height:37px;font-size:11px}.filters .icon{width:15px;height:15px}.filters .report-filter-end{display:flex;gap:7px}.report-tabs{display:flex;align-items:center;gap:4px;flex-wrap:wrap;background:var(--dark-surface-eceaf3,#eceaf3);padding:4px;border-radius:11px;width:fit-content;margin-bottom:22px}.report-tabs a{padding:7px 15px;border-radius:8px;color:var(--dark-text-9790a8,#9790a8);font-size:11px;font-weight:500}.report-tabs a.active{background:var(--dark-surface-fff,#fff);color:var(--dark-text-7d60b5,#7d60b5);box-shadow:0 2px 5px var(--theme-362d590b,#362d590b)}.report-tabs .icon{width:13px;height:13px;margin-right:5px}
input,select,textarea{width:100%;padding:11px 12px;border:1px solid var(--theme-e7e5ef,#e7e5ef);border-radius:10px;background:var(--dark-surface-fff,#fff);color:var(--dark-text-626278,#626278);min-width:0;transition:border-color .15s;line-height:1.5}input::placeholder,textarea::placeholder{color:var(--dark-text-b0aabc,#b0aabc)}textarea{min-height:110px;resize:vertical}input[type=checkbox]{width:auto;accent-color:var(--violet)}input[type=file]{font-size:11px;padding:8px}input::file-selector-button{background:var(--dark-surface-f0eafa,#f0eafa);border:0;padding:7px 10px;border-radius:6px;color:var(--dark-text-8868bb,#8868bb);font:inherit;margin-right:10px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px}.form-grid label{display:grid;gap:7px;color:var(--dark-text-8b8599,#8b8599);font-size:12px}.form-grid>.full,.form-grid>.btn,.form-grid>hr{grid-column:1/-1}.form-grid>.btn{justify-self:end;margin-top:8px;min-width:160px;width:auto}.form-grid h2.full{padding-top:22px;border-top:1px solid var(--line);margin-bottom:0}.check{display:flex!important;align-items:center;gap:9px!important}.inline{display:flex;align-items:center;gap:9px}.inline input,.inline select{width:auto}.back{display:inline-flex;align-items:center;gap:7px;color:var(--dark-text-9c88bc,#9c88bc);font-size:12px}.actions{display:flex;gap:12px;flex-wrap:wrap;margin:16px 0 24px}.actions .form-grid{display:block}.actions .btn{margin:0}
.table-wrap{overflow-x:auto;max-width:100%}table{border-collapse:collapse;width:100%;font-size:12px}th{text-align:left;font-size:10px;letter-spacing:.15px;font-weight:550;color:var(--dark-text-aaa4b5,#aaa4b5);background:var(--dark-surface-fbfaff,#fbfaff);padding:12px 14px;border-bottom:1px solid var(--theme-f0edf5,#f0edf5);white-space:nowrap}td{padding:16px 14px;border-bottom:1px solid var(--theme-f1eef5,#f1eef5);vertical-align:middle;color:var(--dark-text-777186,#777186)}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:var(--dark-surface-fcfbff,#fcfbff)}td small{display:block;font-size:10px;color:var(--dark-text-b0aabb,#b0aabb);margin-top:4px;line-height:1.6;max-width:390px;overflow-wrap:anywhere}.cell-with-icon{display:flex;align-items:center;gap:11px}.row-symbol{width:31px;height:31px;display:inline-flex;align-items:center;justify-content:center;border-radius:9px;flex:none}.row-symbol .icon{width:16px;height:16px}.pill{display:inline-flex;align-items:center;gap:6px;padding:4px 9px;border-radius:7px;background:var(--dark-surface-f2eff8,#f2eff8);color:var(--dark-text-9c8cb4,#9c8cb4);border:0;white-space:nowrap;font-size:10px;font-weight:550;line-height:1.6}.badge-dot{height:5px;width:5px;border-radius:50%;background:currentColor;flex:none}.badge-green,.state-active{background:var(--dark-surface-eaf7f0,#eaf7f0);color:var(--dark-text-62a98e,#62a98e)}.badge-violet{background:var(--dark-surface-eee8fc,#eee8fc);color:var(--dark-text-9476ce,#9476ce)}.badge-amber,.state-paused,.state-scheduled{background:var(--dark-surface-fff5dc,#fff5dc);color:var(--dark-text-c9a148,#c9a148)}.badge-coral,.state-none,.state-expired{background:var(--dark-surface-fff0e8,#fff0e8);color:var(--dark-text-d69a7c,#d69a7c)}.badge-slate{background:var(--dark-surface-f0f1f6,#f0f1f6);color:var(--dark-text-a3a1b3,#a3a1b3)}.budget-meter{display:grid;gap:6px;min-width:115px}.meter-label{display:flex;justify-content:space-between;gap:14px;font-size:10px;color:var(--dark-text-b4aabc,#b4aabc)}.meter-label>b{font-size:12px;color:var(--dark-text-7c6f8b,#7c6f8b)}.meter-label>span{white-space:nowrap}progress{appearance:none;-webkit-appearance:none;border:0;display:block;width:100%;height:5px;background:var(--dark-surface-eaf3f6,#eaf3f6);border-radius:9px;overflow:hidden}progress::-webkit-progress-bar{background:var(--dark-surface-eaf3f6,#eaf3f6);border-radius:9px}progress::-webkit-progress-value{background:var(--dark-surface-43b1bf,#43b1bf);border-radius:9px}progress::-moz-progress-bar{background:var(--dark-surface-43b1bf,#43b1bf);border-radius:9px}.meter-mint progress::-webkit-progress-value{background:var(--dark-surface-81cdb1,#81cdb1)}.meter-mint progress::-moz-progress-bar{background:var(--dark-surface-81cdb1,#81cdb1)}.meter-over progress::-webkit-progress-value{background:var(--dark-surface-e9a57f,#e9a57f)}.meter-over progress::-moz-progress-bar{background:var(--dark-surface-e9a57f,#e9a57f)}.budget-meter>small{margin:0;font-size:9px}.table-identity{display:flex;align-items:center;gap:11px}.table-identity .avatar{width:33px;height:33px;font-size:10px}.contract-note{display:flex;align-items:flex-start;gap:8px;color:var(--dark-text-aaa1b5,#aaa1b5);font-size:10px;line-height:1.7;margin:18px 0 0;padding-top:15px;border-top:1px solid var(--line)}.contract-note .icon{width:14px;height:14px;flex:none;margin-top:2px}
.donut-layout{display:flex;align-items:center;gap:28px;min-height:158px}.donut-chart{position:relative;width:150px;height:150px;flex:none}.donut-chart svg{width:100%;height:100%;transform:rotate(-90deg)}.donut-caption{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center}.donut-caption b{font-size:25px;letter-spacing:-.8px}.donut-caption small{color:var(--dark-text-b2a8c0,#b2a8c0);font-size:10px}.donut-legend{flex:1;display:grid;gap:17px}.legend-row{display:flex;align-items:center;justify-content:space-between;gap:18px;font-size:11px}.legend-label{display:flex;gap:8px;align-items:center;color:var(--dark-text-a092b0,#a092b0)}.legend-row b{color:var(--dark-text-796888,#796888);font-size:12px;font-variant-numeric:tabular-nums}.legend-dot{height:8px;width:8px;border-radius:3px;display:inline-block;flex:none}.legend-violet{background:var(--dark-surface-ab8bea,#ab8bea)}.legend-mint{background:var(--dark-surface-79cbb1,#79cbb1)}.legend-amber{background:var(--dark-surface-edc576,#edc576)}.client-work-row{display:flex;gap:11px;align-items:center;padding:9px 0}.client-work-row>.avatar{width:31px;height:31px;border-radius:10px;font-size:9px}.client-work-detail{flex:1;min-width:0}.client-work-head{display:flex;justify-content:space-between;gap:15px;font-size:11px;margin-bottom:7px}.client-work-head b{color:var(--dark-text-94859f,#94859f);font-weight:550;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.client-work-head>span{color:var(--dark-text-917caa,#917caa);font-weight:600;white-space:nowrap}.client-work-detail progress{height:4px}.summary-row{display:flex;justify-content:space-between;padding:14px 0;border-bottom:1px solid var(--line)}.summary-row span{font-size:17px;font-weight:600;color:var(--dark-text-9179ba,#9179ba)}
.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.project-card{display:block;background:var(--dark-surface-fff,#fff);border:1px solid var(--theme-ececf3,#ececf3);border-radius:18px;padding:24px;box-shadow:var(--shadow);transition:border-color .16s,transform .16s,box-shadow .16s;min-width:0}.project-card:hover{border-color:#d7c4f4;box-shadow:0 8px 26px #6c4bab09;transform:translateY(-2px)}.project-icon{width:43px;height:43px;display:grid;place-items:center;border-radius:14px;font-size:12px;font-weight:650;background:var(--dark-surface-e4f4f8,#e4f4f8);color:var(--dark-text-a587d6,#a587d6)}.project-card:nth-child(3n+2) .project-icon{background:var(--dark-surface-e7f3ff,#e7f3ff);color:var(--dark-text-78a5da,#78a5da)}.project-card:nth-child(3n+3) .project-icon{background:var(--dark-surface-e7f6ef,#e7f6ef);color:var(--dark-text-6bb998,#6bb998)}.project-card h2{font-size:18px;margin:19px 0 7px;letter-spacing:-.4px}.project-card p{font-size:12px;color:var(--dark-text-a7a0b0,#a7a0b0);line-height:1.7;margin-bottom:17px}.project-card>b{font-size:12px;color:var(--dark-text-9a88ac,#9a88ac);font-weight:550}.cardtop{display:flex;align-items:center;justify-content:space-between;gap:12px}.contract-metrics{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:var(--dark-text-a699b1,#a699b1);border-top:1px solid var(--theme-f0edf5,#f0edf5);padding-top:17px;margin-top:19px;flex-wrap:wrap}.contract-metrics .icon{width:14px;height:14px;margin-right:5px;color:var(--dark-text-b49bcb,#b49bcb)}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:19px}.metrics span{background:var(--dark-surface-fbf9fe,#fbf9fe);padding:10px;border-radius:9px;font-size:10px;color:var(--dark-text-b5a8c0,#b5a8c0)}.metrics b{display:block;color:var(--dark-text-9580ac,#9580ac);font-size:13px;margin-bottom:4px}.project-mini{display:grid;padding:15px 0;border-top:1px solid var(--theme-f3eef8,#f3eef8);gap:5px}.project-mini b{font-size:12px;color:var(--dark-text-9683a5,#9683a5)}.project-mini small{font-size:10px;color:var(--dark-text-b6a9c2,#b6a9c2)}.project-mini p{font-size:11px;margin:4px 0 0}.project-mini:first-of-type{border-top:0}.panel dl{display:grid;grid-template-columns:1fr 1fr;gap:14px;font-size:12px;margin:22px 0}.panel dt{color:var(--dark-text-a99ab6,#a99ab6)}.panel dd{margin:0;text-align:right;color:var(--dark-text-94829e,#94829e);font-weight:500;overflow-wrap:anywhere}.panel>h2.section-gap{padding-top:10px}.comment{padding:20px 0;border-top:1px solid var(--theme-f2ecf9,#f2ecf9);margin-top:20px}.comment b{font-size:12px;color:var(--dark-text-9c83ae,#9c83ae)}.comment small{color:var(--dark-text-c0b0cb,#c0b0cb);margin-left:10px}.comment p{margin:8px 0 0;font-size:12px}.file{display:flex;gap:8px;padding:12px 0;color:var(--dark-text-a38bbd,#a38bbd);font-size:12px;border-bottom:1px solid var(--theme-f3edf9,#f3edf9)}.file:hover{color:var(--dark-text-835dad,#835dad)}.empty{padding:28px 20px;text-align:center;border:1px dashed var(--theme-e4d9f2,#e4d9f2);border-radius:13px;background:var(--dark-surface-fcfaff,#fcfaff);color:var(--dark-text-b3a2c4,#b3a2c4);margin:14px 0}.empty>.icon{color:var(--dark-text-c7b0e2,#c7b0e2);width:28px;height:28px;margin-bottom:10px}.empty p{margin:0;color:var(--dark-text-b3a2c4,#b3a2c4);font-size:12px}.pagination{display:flex;align-items:center;gap:16px;margin:15px 0;font-size:10px;color:var(--dark-text-b0a0bd,#b0a0bd)}.pagination a{color:var(--dark-text-a189bd,#a189bd);background:var(--dark-surface-fff,#fff);padding:5px 10px;border:1px solid var(--theme-ece3f5,#ece3f5);border-radius:7px}
.kanban{display:flex;gap:18px;overflow-x:auto;padding-bottom:18px}.column{width:300px;flex:0 0 300px;background:var(--dark-surface-edeef4,#edeef4);border:1px solid var(--theme-e7e9f1,#e7e9f1);border-radius:16px;padding:13px}.column h3{margin:3px 4px 15px;color:var(--dark-text-90849d,#90849d);font-size:12px}.column:nth-child(2){background:var(--dark-surface-efebf8,#efebf8);border-color:var(--theme-e8e1f2,#e8e1f2)}.column:nth-child(3){background:var(--dark-surface-fff5e8,#fff5e8);border-color:var(--theme-f5eada,#f5eada)}.column:nth-child(4){background:var(--dark-surface-eaf5ef,#eaf5ef);border-color:var(--theme-e0eee5,#e0eee5)}.task{display:block;background:var(--dark-surface-fff,#fff);border:1px solid var(--theme-ece7f5,#ece7f5);border-radius:13px;padding:17px;margin-top:12px;box-shadow:0 3px 8px var(--theme-54327703,#54327703)}.task:hover{border-color:#cdb8e6}.task>b{font-size:12px;color:var(--dark-text-9d86ae,#9d86ae)}.task small{display:block;color:var(--dark-text-c0b1cd,#c0b1cd);font-size:10px;margin-top:5px}.task>div{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:16px;font-size:10px;color:var(--dark-text-bca9c9,#bca9c9)}.task footer{padding-top:12px;margin-top:13px;border-top:1px solid var(--theme-f4eef9,#f4eef9);font-size:10px;color:var(--dark-text-bba8c9,#bba8c9)}.task-head{display:flex;gap:20px;justify-content:space-between;margin:20px 0}.row{display:flex;align-items:center;gap:12px;padding:15px 0;border-top:1px solid var(--line)}.row small{display:block;color:var(--dark-text-b6a4c3,#b6a4c3);font-size:10px}.row em{margin-left:auto;font-style:normal;color:var(--dark-text-baa1ca,#baa1ca);font-size:11px}.dot{width:7px;height:7px;border-radius:50%;background:var(--dark-surface-c5b3d6,#c5b3d6)}
.alert{display:flex;align-items:center;gap:11px;border:1px solid var(--theme-dcefe7,#dcefe7);background:var(--dark-surface-eef9f3,#eef9f3);color:var(--dark-text-609d80,#609d80);padding:12px 15px;border-radius:12px;margin-bottom:22px;font-size:12px}.alert.bad{background:var(--dark-surface-fff2ef,#fff2ef);border-color:var(--theme-f7e0da,#f7e0da);color:var(--dark-text-c48471,#c48471)}.alert>.icon{width:18px;height:18px}.alert .icon-button{margin-left:auto;width:25px;height:25px;padding:3px;color:inherit}.timerbar{display:flex;align-items:center;justify-content:space-between;padding:13px 18px;margin-bottom:24px;border:1px solid #cde7ed;background:var(--dark-surface-e7f5f8,#e7f5f8);border-radius:14px;color:var(--dark-text-9e83bc,#9e83bc)}.timerbar>a{display:flex;align-items:center;gap:12px;font-size:11px}.timerbar>a>b{color:var(--dark-text-9f80ba,#9f80ba)}.timerbar strong{font-variant-numeric:tabular-nums;color:var(--dark-text-a37bc1,#a37bc1);font-size:17px;letter-spacing:1px;margin-left:12px}.timerbar form{display:block}.timerbar .secondary{min-height:32px;padding:6px 12px;font-size:11px}.live-dot{width:7px;height:7px;border-radius:50%;background:var(--dark-surface-aa89d2,#aa89d2);box-shadow:0 0 0 4px var(--theme-d2ebef,#d2ebef)}.timerbar .form-grid .btn{margin:0}
dialog{border:1px solid var(--theme-ece5f6,#ece5f6);border-radius:23px;box-shadow:0 30px 100px var(--theme-3a1e632e,#3a1e632e);padding:30px;width:min(500px,calc(100% - 30px));max-height:90vh;overflow-y:auto;color:var(--ink)}dialog::backdrop{background:var(--dark-surface-27203861,#27203861);backdrop-filter:blur(4px)}dialog .form-grid select_field{width:100%}dialog .form-grid>label:first-of-type{grid-column:1/-1}.dialog-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:19px}.dialog-heading .icon-button{align-self:flex-start}dialog h2{font-size:23px;letter-spacing:-.6px;margin-bottom:8px}.dialog-intro{font-size:12px;color:var(--dark-text-a69ab4,#a69ab4);margin-bottom:24px}dialog .form-grid .btn{width:100%;margin-top:5px}.dialog-heading .icon-tile{width:46px;height:46px}.setup{min-height:100vh;display:grid;place-items:center;padding:30px;background:radial-gradient(ellipse at 20% 0,var(--dark-surface-e4f4f8,#e4f4f8),transparent 45%),radial-gradient(ellipse at 90% 80%,var(--dark-surface-e7f8ef,#e7f8ef),transparent 40%),var(--dark-surface-f7f6fa,#f7f6fa)}.setup-card{background:var(--dark-surface-fff,#fff);border:1px solid var(--theme-eae3f4,#eae3f4);border-radius:24px;box-shadow:0 20px 80px #70538d0c;padding:36px;width:min(560px,100%)}.setup-card>.brandmark{margin:0 auto 24px}.setup-card h1{text-align:center;font-size:29px;margin-bottom:12px}.setup-card>.muted{text-align:center;font-size:12px;color:var(--dark-text-a79ab5,#a79ab5);margin-bottom:30px}.setup-card .form-grid>.btn{width:100%;justify-self:stretch}.setup-card .form-grid label{font-size:11px}details{margin-bottom:10px}summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:8px;font-size:12px;font-weight:550;color:var(--dark-text-aa8cbe,#aa8cbe);margin:16px 0}summary::before{content:"+";display:grid;place-items:center;width:20px;height:20px;border-radius:6px;background:var(--dark-surface-e8f5f8,#e8f5f8);color:var(--dark-text-b393c9,#b393c9)}details[open]>summary::before{content:"−"}details .form-grid{margin-top:18px}.weekly-chart{width:100%;height:160px;display:block}.weekly-chart text{font-family:inherit;font-size:11px;fill:#b4a4c3}.chart-key{display:flex;gap:16px;align-items:center;font-size:10px;color:var(--dark-text-ac9dbb,#ac9dbb)}.chart-key .legend-dot{height:6px;width:6px;margin-right:5px}.quick-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:24px}.quick-action{display:flex;gap:12px;align-items:center;padding:15px 18px;background:var(--dark-surface-fff,#fff);border:1px solid var(--theme-ece9f4,#ece9f4);border-radius:13px;transition:border-color .16s}.quick-action:hover{border-color:#d6c5ee}.quick-action>.icon-tile{width:34px;height:34px;border-radius:11px}.quick-action .icon{width:18px;height:18px}.quick-action>b,.quick-action>span>b{font-size:11px;font-weight:550;color:var(--dark-text-9987a9,#9987a9)}.quick-action small{display:block;font-size:10px;color:var(--dark-text-beafcb,#beafcb);margin-top:3px}.quick-action>.icon:last-child{margin-left:auto;width:15px;height:15px;color:var(--dark-text-c9b8d9,#c9b8d9)}.attention-item{display:flex;align-items:center;gap:10px;border-radius:12px;background:var(--dark-surface-fff9f4,#fff9f4);padding:13px;margin:11px 0;border:1px solid var(--theme-fbefe6,#fbefe6)}.attention-item>.icon-tile{width:32px;height:32px;border-radius:10px}.attention-item .icon{width:16px;height:16px}.attention-item b{font-size:11px;font-weight:550;color:var(--dark-text-b39688,#b39688)}.attention-item small{display:block;font-size:10px;color:var(--dark-text-c8b2a3,#c8b2a3);margin-top:4px}.attention-item>.icon:last-child{margin-left:auto;width:14px;height:14px;color:var(--dark-text-d2bca8,#d2bca8)}
@media(min-height:1000px){.sidebar-help{margin-top:auto}}@media(max-height:950px){.sidebar-help{display:none}.nav-group{margin-bottom:16px}.brand{margin-bottom:18px}.workspace-chip{margin-bottom:18px}.sidebar{padding-top:22px}.sidebar nav a{padding-top:7px;padding-bottom:7px;min-height:39px}}
@media(max-width:1300px){.global-search{width:225px}.app-header{gap:15px;padding:0 26px}.breadcrumb>span{display:none}.breadcrumb>.icon{display:none}.content{padding:28px 26px}.stats{gap:14px}.donut-layout{gap:18px}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.stats article{padding:18px}.header-actions .secondary span{display:none}.header-actions .secondary{padding:9px}.donut-chart{width:126px;height:126px}}
@media(max-width:1100px){:root{--sidebar:218px}.brand b{font-size:23px}.sidebar{padding-left:12px;padding-right:12px}.global-search{width:180px}.header-actions>.avatar{display:none}.content{padding:25px 22px}.app-header{padding:0 22px;gap:15px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.report-overview{grid-template-columns:1fr}.grid2,.detail-grid{grid-template-columns:1fr}.quick-actions{gap:10px}.quick-action{padding:13px}.quick-action small{display:none}.title h1{font-size:27px}.donut-layout{gap:45px}.donut-chart{width:138px;height:138px}}
@media(max-width:760px){:root{--sidebar:248px}.sidebar{transform:translateX(-100%);transition:transform .2s;padding:24px 18px;z-index:100}.nav-open .sidebar{transform:translateX(0)}.nav-open .nav-scrim{display:block;position:fixed;inset:0;background:var(--dark-surface-2c21385e,#2c21385e);z-index:90;border:0;border-radius:0;padding:0}.app{margin-left:0}.mobile-menu{display:inline-flex;width:32px;height:32px}.app-header{height:66px;padding:0 17px;gap:10px}.breadcrumb{display:none}.global-search{width:auto;flex:1;min-width:0}.global-search kbd{display:none}.search-control{gap:6px;padding:8px 9px}.search-control input{font-size:10px}.header-actions{gap:7px}.header-actions .btn{padding:8px 10px;min-height:32px}.header-actions .btn span{display:none}.header-actions .secondary{padding:7px;min-height:32px}.content{padding:24px 17px 16px}.title{align-items:flex-start;gap:14px;flex-wrap:wrap;margin-bottom:22px}.title h1{font-size:25px}.title p{font-size:11px}.title>.btn{font-size:11px;padding:8px 12px}.title-right{gap:7px}.date-chip{font-size:10px;padding:8px}.stats{gap:12px}.stats article{padding:15px;border-radius:13px}.stat-top>span:first-child{font-size:10px}.stat-top .icon-tile{width:30px;height:30px;border-radius:10px}.stat-top .icon{width:17px;height:17px}.stats b{font-size:26px}.stats small{font-size:9px}.panel{padding:19px;border-radius:15px}.panel-heading h2{font-size:14px}.report-overview{gap:16px}.donut-layout{gap:22px}.donut-chart{width:122px;height:122px}.donut-caption b{font-size:23px}.donut-legend{gap:15px}.legend-row{font-size:10px;gap:12px}.legend-row b{font-size:11px}.cards{grid-template-columns:1fr}.filters{padding:14px;gap:12px}.filters label{min-width:120px}.filters label:first-of-type{flex-basis:100%}.filters .report-filter-end{margin-left:auto}.report-tabs{margin-bottom:18px;gap:2px}.report-tabs a{font-size:10px;padding:7px 10px}.form-grid{grid-template-columns:1fr;gap:17px}.form-grid>.btn{width:100%;justify-self:stretch}.quick-actions{grid-template-columns:1fr}.quick-action{padding:12px 15px}.quick-action small{display:block}.quick-actions .icon-tile{width:31px;height:31px}.page-footer{font-size:9px}.page-footer>span:last-child{display:none}.timerbar{gap:10px;flex-wrap:wrap;padding:13px}.timerbar>a{flex-wrap:wrap;font-size:10px;gap:10px}.timerbar strong{font-size:15px;margin-left:0}.panel dl{gap:11px}.setup{padding:20px}.setup-card{padding:27px}.setup-card h1{font-size:25px}dialog{padding:24px}dialog .form-grid>label{grid-column:1/-1}dialog .form-grid .btn{width:100%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
/* Stronger palette and readable text contrast. */
:root{--ink:var(--theme-1e293b,#1e293b);--muted:#64748b;--violet:var(--theme-087b91,#087b91);--violet-dark:var(--theme-075e70,#075e70);--line:var(--theme-e8eaf1,#e8eaf1);--bg:var(--theme-f4f5fa,#f4f5fa)}
body{color:var(--ink)}
.tone-violet{background:var(--dark-surface-087b91,#087b91);color:var(--dark-text-fff,#fff)}.tone-blue{background:var(--dark-surface-2563eb,#2563eb);color:var(--dark-text-fff,#fff)}.tone-mint{background:var(--dark-surface-059669,#059669);color:var(--dark-text-fff,#fff)}.tone-coral{background:var(--dark-surface-ea580c,#ea580c);color:var(--dark-text-fff,#fff)}.tone-amber{background:var(--dark-surface-b7790b,#b7790b);color:var(--dark-text-fff,#fff)}.tone-pink{background:var(--dark-surface-db2777,#db2777);color:var(--dark-text-fff,#fff)}.tone-slate{background:var(--dark-surface-64748b,#64748b);color:var(--dark-text-fff,#fff)}
.brand small,.workspace-chip small,.side-user small{color:var(--dark-text-64748b,#64748b)}.workspace-chip{background:var(--dark-surface-f8f7fc,#f8f7fc);color:var(--dark-text-334155,#334155)}.workspace-symbol{background:var(--dark-surface-e5f5f8,#e5f5f8);color:var(--dark-text-087b91,#087b91)}
.nav-label{color:var(--dark-text-64748b,#64748b);font-size:10px}.sidebar nav a{color:var(--dark-text-475569,#475569);font-size:13px}.sidebar nav a.active{color:var(--dark-text-087b91,#087b91);background:var(--dark-surface-e5f5f8,#e5f5f8)}.sidebar nav a:hover{color:var(--dark-text-075e70,#075e70);background:var(--dark-surface-edf8fa,#edf8fa)}.brand b{color:var(--dark-text-1e293b,#1e293b)}
.sidebar-help{background:var(--dark-surface-ebf7fa,#ebf7fa)}.sidebar-help p{color:var(--dark-text-65548a,#65548a)}.sidebar-help>b{color:var(--dark-text-0c5364,#0c5364)}.button-soft{background:var(--dark-surface-e5f5f8,#e5f5f8);color:var(--dark-text-087b91,#087b91)}.button-soft:hover{background:var(--dark-surface-c7e9ef,#c7e9ef)}
.breadcrumb>span{color:var(--dark-text-64748b,#64748b)}.breadcrumb>b{color:var(--dark-text-334155,#334155)}.breadcrumb .icon{color:var(--dark-text-94a3b8,#94a3b8)}.search-control{color:var(--dark-text-64748b,#64748b);background:var(--dark-surface-f3f4f8,#f3f4f8)}.search-control input,.search-control input::placeholder{color:var(--dark-text-64748b,#64748b);font-size:12px}.search-control kbd{color:var(--dark-text-64748b,#64748b)}
.secondary{color:var(--dark-text-475569,#475569);border-color:var(--theme-dfe3ec,#dfe3ec)}.icon-button{color:var(--dark-text-64748b,#64748b)}.date-chip{color:var(--dark-text-475569,#475569)}.date-chip .icon{color:var(--dark-text-087b91,#087b91)}
.title p{color:var(--dark-text-64748b,#64748b);font-size:13px}.title h1{color:var(--dark-text-1e293b,#1e293b)}.eyebrow{color:var(--dark-text-087b91,#087b91)}.eyebrow .icon{color:var(--dark-text-087b91,#087b91)}
.stat-top>span:first-child{color:var(--dark-text-64748b,#64748b);font-size:13px}.stats b{color:var(--dark-text-1e293b,#1e293b);font-size:32px}.stats small{color:var(--dark-text-64748b,#64748b);font-size:11px}.stats article:not(.stat-card)>span{color:var(--dark-text-64748b,#64748b)}
.panel p,.panel-heading p{color:var(--dark-text-64748b,#64748b)}.panel-heading h2{color:var(--dark-text-334155,#334155)}.panel-heading .text-link{color:var(--dark-text-087b91,#087b91)}.text-link{color:var(--dark-text-334155,#334155)}.text-link:hover{color:var(--dark-text-087b91,#087b91)}
.filters label{color:var(--dark-text-64748b,#64748b);font-size:11px}.filters input,.filters select,.filters .btn,.filters .secondary,.filters button{font-size:12px}.report-tabs a{color:var(--dark-text-64748b,#64748b);font-size:12px}.report-tabs a.active{color:var(--dark-text-087b91,#087b91)}
input,select,textarea{color:var(--dark-text-334155,#334155);border-color:var(--theme-dfe3ec,#dfe3ec)}.form-grid label{color:var(--dark-text-475569,#475569);font-size:13px}input::placeholder,textarea::placeholder{color:var(--dark-text-64748b,#64748b)}
th{color:var(--dark-text-64748b,#64748b);font-size:11px;background:var(--dark-surface-f8f9fc,#f8f9fc)}td{color:var(--dark-text-475569,#475569);font-size:13px}td small{color:var(--dark-text-64748b,#64748b);font-size:11px}.person-inline{font-size:12px;color:var(--dark-text-475569,#475569)}
.pill{font-size:11px}.badge-green,.state-active{background:var(--dark-surface-e5f6ee,#e5f6ee);color:var(--dark-text-047857,#047857)}.badge-violet{background:var(--dark-surface-e5f5f8,#e5f5f8);color:var(--dark-text-087b91,#087b91)}.badge-amber,.state-paused,.state-scheduled{background:var(--dark-surface-fff3cf,#fff3cf);color:var(--dark-text-92620a,#92620a)}.badge-coral,.state-none,.state-expired{background:var(--dark-surface-ffede4,#ffede4);color:var(--dark-text-b45309,#b45309)}.badge-slate{background:var(--dark-surface-eef1f6,#eef1f6);color:var(--dark-text-475569,#475569)}
progress::-webkit-progress-value{background:var(--dark-surface-219bb0,#219bb0)}progress::-moz-progress-bar{background:var(--dark-surface-219bb0,#219bb0)}.meter-mint progress::-webkit-progress-value{background:var(--dark-surface-10b981,#10b981)}.meter-mint progress::-moz-progress-bar{background:var(--dark-surface-10b981,#10b981)}.meter-over progress::-webkit-progress-value{background:var(--dark-surface-ea580c,#ea580c)}.meter-over progress::-moz-progress-bar{background:var(--dark-surface-ea580c,#ea580c)}
.meter-label{color:var(--dark-text-64748b,#64748b)}.meter-label>b{color:var(--dark-text-334155,#334155)}.contract-note{color:var(--dark-text-64748b,#64748b)}.donut-caption small{color:var(--dark-text-64748b,#64748b)}.legend-label{color:var(--dark-text-475569,#475569)}.legend-row b{color:var(--dark-text-334155,#334155)}.legend-violet{background:var(--dark-surface-219bb0,#219bb0)}.legend-mint{background:var(--dark-surface-10b981,#10b981)}.legend-amber{background:var(--dark-surface-d97706,#d97706)}
.client-work-head b{color:var(--dark-text-475569,#475569);font-size:12px}.client-work-head>span{color:var(--dark-text-087b91,#087b91);font-size:12px}.summary-row span{color:var(--dark-text-087b91,#087b91)}.weekly-chart text{fill:#64748b}.chart-key{color:var(--dark-text-64748b,#64748b)}
.project-card p,.project-card>b{color:var(--dark-text-64748b,#64748b)}.project-card h2{color:var(--dark-text-334155,#334155)}.project-icon{background:var(--dark-surface-087b91,#087b91);color:var(--dark-text-fff,#fff)}.project-card:nth-child(3n+2) .project-icon{background:var(--dark-surface-2563eb,#2563eb);color:var(--dark-text-fff,#fff)}.project-card:nth-child(3n+3) .project-icon{background:var(--dark-surface-059669,#059669);color:var(--dark-text-fff,#fff)}.contract-metrics{color:var(--dark-text-64748b,#64748b);font-size:12px}.contract-metrics .icon{color:var(--dark-text-087b91,#087b91)}
.project-mini b{color:var(--dark-text-475569,#475569)}.project-mini small{color:var(--dark-text-64748b,#64748b)}.panel dt{color:var(--dark-text-64748b,#64748b)}.panel dd{color:var(--dark-text-334155,#334155)}.comment b{color:var(--dark-text-475569,#475569)}.comment small{color:var(--dark-text-64748b,#64748b)}.file{color:var(--dark-text-087b91,#087b91)}.empty p{color:var(--dark-text-64748b,#64748b)}.empty>.icon{color:var(--dark-text-219bb0,#219bb0)}.pagination{color:var(--dark-text-64748b,#64748b)}.pagination a{color:var(--dark-text-087b91,#087b91)}
.column h3{color:var(--dark-text-475569,#475569)}.task>b{color:var(--dark-text-334155,#334155)}.task small,.task>div,.task footer{color:var(--dark-text-64748b,#64748b)}.task .pill{color:var(--dark-text-087b91,#087b91)}.task footer{border-color:var(--theme-ece8f4,#ece8f4)}
.attention-item b{color:var(--dark-text-92400e,#92400e)}.attention-item small{color:var(--dark-text-967257,#967257)}.attention-item>.icon:last-child{color:var(--dark-text-b45309,#b45309)}.quick-action>b,.quick-action>span>b{color:var(--dark-text-475569,#475569);font-size:12px}.quick-action small{color:var(--dark-text-64748b,#64748b)}.quick-action>.icon:last-child{color:var(--dark-text-219bb0,#219bb0)}
.alert{color:var(--dark-text-047857,#047857)}.alert.bad{color:var(--dark-text-b45309,#b45309)}.timerbar{color:var(--dark-text-087b91,#087b91)}.timerbar strong{color:var(--dark-text-087b91,#087b91)}.live-dot{background:var(--dark-surface-219bb0,#219bb0)}.dialog-intro{color:var(--dark-text-64748b,#64748b)}.setup-card>.muted{color:var(--dark-text-64748b,#64748b)}summary{color:var(--dark-text-087b91,#087b91)}.page-footer{color:var(--dark-text-64748b,#64748b)}
@media(max-width:760px){.stat-top>span:first-child{font-size:11px}.stats b{font-size:27px}.stats small{font-size:10px}.title p{font-size:12px}.report-tabs a{font-size:11px}.filters label{font-size:11px}.filters input,.filters select{font-size:12px}.stats .icon-tile{width:30px;height:30px}}
@media print{.sidebar,.app-header,.filters,.report-tabs,.timerbar,.pagination,.title .btn,.title-right,.header-actions,.page-footer,.quick-actions,.skip-link,.nav-scrim,dialog{display:none!important}.app{margin:0}.content{padding:0;max-width:none}body{background:var(--dark-surface-fff,#fff);font-size:10px}.panel,.stats article{box-shadow:none;border-color:var(--theme-ddd,#ddd)}.stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.stats article{padding:12px}.stats b{font-size:20px}.table-wrap{overflow:visible}td,th{padding:8px;font-size:9px}.report-overview{grid-template-columns:1fr 1fr}.text-link{color:var(--dark-text-555,#555)}.icon-tile{print-color-adjust:exact;-webkit-print-color-adjust:exact}.panel{break-inside:auto}.stat-card{break-inside:avoid}.donut-chart{width:100px;height:100px}}


/* Incomaz identity: primary from incomaz.com, darker action shade for contrast. */
:root{--incomaz-blue:#43b1bf;--brand-action:var(--theme-087b91,#087b91);--brand-hover:var(--theme-075e70,#075e70)}
.card-actions{display:flex;gap:8px;margin-top:20px;flex-wrap:wrap}.card-actions .secondary,.card-actions .button-soft{flex:1;font-size:11px;padding:8px 10px;min-height:35px}.card-actions .icon{width:15px;height:15px}.panel>h2>.icon{margin-right:7px;color:var(--brand-action);width:18px;height:18px}.project-card .cardtop>.avatar{width:44px;height:44px;font-size:13px;border-radius:14px}.stats b.small-stat{font-size:21px;line-height:1.5}.panel .form-grid{padding-top:5px}
.brand-dot{color:var(--incomaz-blue)}.brandmark{background:var(--incomaz-blue);box-shadow:0 5px 13px #43b1bf2c}.brandmark .icon{stroke:var(--theme-102e39,#102e39)}.icon-tile.tone-violet{background:var(--brand-action)}.sidebar-help .tone-violet{background:var(--brand-action)}.tone-violet{background:var(--brand-action)}.nav-icon.tone-violet{background:var(--brand-action)}.legend-violet{background:var(--incomaz-blue)}progress::-webkit-progress-value{background:var(--incomaz-blue)}progress::-moz-progress-bar{background:var(--incomaz-blue)}.report-tabs a.active{color:var(--brand-action)}.stat-top .icon-tile{box-shadow:0 3px 8px var(--theme-2734490c,#2734490c)}
/* 2.2: readable typography and guided workflows */
body{font-size:16px;line-height:1.6}.sidebar nav a{font-size:14px}.nav-label{font-size:11px}.workspace-chip small,.brand small,.sidebar-user small{font-size:12px}.content{max-width:1800px;margin-inline:auto;width:100%}h1{font-size:clamp(28px,2.5vw,38px)}h2{font-size:20px}.title p,.panel p,.project-card p{font-size:15px;color:var(--dark-text-526174,#526174)}.form-grid label,.filters label{font-size:14px;font-weight:600}.form-grid input,.form-grid select,.form-grid textarea,.filters input,.filters select{font-size:16px;min-height:48px}.form-grid textarea{min-height:130px}.btn,.secondary,.button-soft,.text-link{font-size:14px}.table th,.table td,table th,table td{font-size:14px}.table td small,table td small,.project-card small,.stat-card small{font-size:13px}.stat-top>span{font-size:14px}.pill{font-size:12px}.global-search input{font-size:14px}.header-actions{gap:12px}.notification-button{position:relative;display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;background:var(--dark-surface-e4f4f7,#e4f4f7);border-radius:12px;color:var(--dark-text-087b91,#087b91)}.notification-button b{position:absolute;right:-6px;top:-6px;border-radius:20px;min-width:22px;padding:0 5px;background:var(--dark-surface-dc4e22,#dc4e22);color:var(--dark-white-text,white);font-size:12px;text-align:center}.creation-options{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:24px}.creation-options .quick-action b{font-size:16px;color:var(--dark-text-183545,#183545)}.creation-options .quick-action small{font-size:14px;color:var(--dark-text-526174,#526174)}.task-builder{max-width:1000px}.builder-heading{display:flex;align-items:center;gap:16px;border-top:1px solid var(--theme-e3e9ef,#e3e9ef);padding-top:22px;margin-top:14px}.builder-heading:first-of-type{border:0;margin-top:0}.builder-heading>span{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:var(--dark-surface-087b91,#087b91);color:var(--dark-white-text,white);font-weight:700;flex:none}.builder-heading h2{margin:0}.builder-heading p{margin:3px 0 0}.knowledge-note{padding:18px;border-radius:14px;background:var(--dark-surface-fff7df,#fff7df);color:var(--dark-text-674b13,#674b13)}.knowledge-note p{margin:8px 0 0}.task-state-panel{display:flex;flex-wrap:wrap;justify-content:space-between;gap:18px;align-items:center;margin-bottom:24px}.task-state-panel h2{margin-bottom:4px}.task-state-panel p{margin:0}.state-buttons{display:flex;flex-wrap:wrap;gap:10px}.state-buttons .form-grid{display:block;margin:0}.state-clock{background:var(--dark-surface-ac7510,#ac7510)}.state-play{background:var(--dark-surface-087b91,#087b91)}.state-search{background:var(--dark-surface-2563eb,#2563eb)}.finish-button{background:var(--dark-surface-07805e,#07805e)}.library-cards .project-card{display:flex;flex-direction:column}.library-cards .card-actions{margin-top:auto}.library-cards p{font-size:15px}.library-cards summary,summary{font-size:14px;color:var(--dark-text-087b91,#087b91)}.notification-list{margin-top:24px}.notification-item{display:flex;align-items:flex-start;gap:18px;margin-bottom:16px}.notification-item>div{flex:1}.notification-item .form-grid{display:block}.notification-item.unread{border-left:5px solid #43b1bf}.notification-item h2{margin-bottom:8px}.notification-item p{margin-bottom:8px}.form-grid input[type=checkbox]{min-height:auto;width:auto}.sidebar{overflow-y:auto}.sidebar-user{margin-top:auto}
@media(max-width:1100px){.header-actions{gap:8px}.global-search{max-width:220px}.creation-options{grid-template-columns:1fr}.task-state-panel{display:block}.state-buttons{margin-top:16px}}@media(max-width:760px){body{font-size:16px}.content{padding:22px 16px}.header-actions{gap:8px}.global-search{max-width:none;min-width:0;flex:1}.header-actions .avatar{display:none}.notification-button{min-width:36px;min-height:36px}.notification-button b{font-size:11px}.task-builder{padding:20px}.creation-options{gap:10px}.builder-heading{align-items:flex-start}.builder-heading h2{font-size:19px}.notification-item{flex-wrap:wrap}.notification-item .form-grid{margin-left:60px}.state-buttons .btn{min-height:46px}.library-cards{grid-template-columns:1fr}}
.notification-toast{position:fixed;right:24px;bottom:24px;max-width:360px;padding:18px 22px;background:var(--dark-surface-087b91,#087b91);color:var(--dark-white-text,white);border-radius:16px;box-shadow:0 12px 40px var(--theme-14384b35,#14384b35);z-index:100;font-size:16px;font-weight:600}.library-cards .pill{background:var(--dark-surface-e4f4f7,#e4f4f7);color:var(--dark-text-087b91,#087b91)}.sidebar-user{flex-shrink:0}@media(max-height:950px){.workspace-chip{display:none}.sidebar .nav-group{margin-bottom:10px}.sidebar .nav-label{margin-bottom:7px}.sidebar .brand{margin-bottom:18px}.sidebar nav a{min-height:38px;padding-top:5px;padding-bottom:5px}}@media(max-width:760px){.notification-toast{left:16px;right:16px;bottom:16px}}
.quick-action b,.quick-action>b,.quick-action>span>b{font-size:15px;color:var(--dark-text-254052,#254052)}.quick-action small,.attention-item small,.chart-key,.donut-caption small,.legend-row,.client-bar small,.project-mini small,.comment small{font-size:13px}.attention-item b,.project-mini b{font-size:15px}.progress-caption,.report-note,.report-note p,.eyebrow,.month-chip{font-size:13px}.project-card h2{font-size:20px}.header-actions .avatar{font-size:13px}.task-builder>.form-grid>.btn{font-size:16px;min-height:50px}.card-top{display:flex;align-items:center;justify-content:space-between;gap:14px}
.wizard-stage{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.wizard-stage[hidden]{display:none}.wizard-stage>.full{grid-column:1/-1}.wizard-stage .builder-heading{border:0;margin:0;padding:0 0 12px}.wizard-nav{display:flex;gap:10px;flex-wrap:wrap;border-bottom:1px solid var(--theme-e3e9ef,#e3e9ef);padding-bottom:20px}.wizard-nav button{padding:12px 16px;border:0;border-radius:12px;color:var(--dark-text-526174,#526174);background:var(--dark-surface-f0f3f7,#f0f3f7);font-size:15px;font-weight:600}.wizard-nav button.current{background:var(--dark-surface-087b91,#087b91);color:var(--dark-white-text,white)}.wizard-controls{display:flex;justify-content:space-between;gap:14px;padding-top:16px}.wizard-controls [hidden]{display:none}.wizard-stage>.btn{min-height:50px;font-size:16px;grid-column:1/-1}.wizard-stage label{display:flex;flex-direction:column;gap:8px}@media(max-width:760px){.wizard-stage{grid-template-columns:1fr}.wizard-stage>*{grid-column:1}.wizard-nav{gap:6px}.wizard-nav button{padding:10px;font-size:13px}}
.worker-total{display:block;font-size:32px;color:var(--dark-text-087b91,#087b91);margin:12px 0}.detail-grid dt,.detail-grid dd{font-size:14px}.stats article>span{font-size:14px}.stats article>b{font-size:30px}
.project-card .worker-total{font-size:32px;color:var(--dark-text-087b91,#087b91)}.pill:not([class*="badge-"]){background:var(--dark-surface-e4f4f7,#e4f4f7);color:var(--dark-text-087b91,#087b91)}
[hidden]{display:none!important}.header-actions .secondary,.header-actions .btn{font-size:14px}.filters .btn,.filters .secondary,.filters button{font-size:14px}
/* Planning stays separate from recorded work. */
.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin-top:20px}.calendar-weekday{font-weight:700;text-align:center;padding:8px}.calendar-day{min-height:150px;background:var(--dark-surface-f3f7fa,#f3f7fa);border:1px solid var(--theme-d5e3ea,#d5e3ea);border-radius:12px;padding:10px;min-width:0}.calendar-day h3{margin:0 0 10px;font-size:1rem}.calendar-day.today{border:2px solid var(--theme-087b91,#087b91);background:var(--dark-surface-e9f5f7,#e9f5f7)}.calendar-task{display:block;background:var(--dark-white-surface,white);border-left:4px solid var(--theme-087b91,#087b91);border-radius:8px;padding:10px;margin-bottom:8px;text-decoration:none;color:inherit;overflow-wrap:anywhere}.calendar-task.deadline{border-left-color:#c65524}.calendar-task.completed{opacity:.7}.calendar-task b,.calendar-task small{display:block}.calendar-task small{font-size:.8rem;margin-bottom:4px}.calendar-label{background:var(--dark-surface-d7eff3,#d7eff3);color:var(--dark-text-065d70,#065d70);border-radius:6px;padding:4px 8px;font-weight:700}.calendar-label.deadline{background:var(--dark-surface-ffeadc,#ffeadc);color:var(--dark-text-9b3f16,#9b3f16)}.calendar-mobile-month{display:none}.time-control{padding:24px;margin:20px 0;background:var(--dark-surface-e5f3f6,#e5f3f6);border:1px solid var(--theme-9fcbd3,#9fcbd3);border-radius:16px}.time-display{display:block;font-size:2.4rem;font-variant-numeric:tabular-nums;margin:12px 0}.timerbar{position:sticky;top:0;z-index:15}.time-control .form-grid{display:flex;flex-wrap:wrap}.calendar-task:focus-visible{outline:3px solid var(--theme-087b91,#087b91);outline-offset:2px}
@media(max-width:1000px){.calendar-day{padding:6px}.calendar-task{padding:6px}}
@media(max-width:760px){.calendar-grid{display:block}.calendar-weekday,.calendar-blank{display:none}.calendar-day{min-height:0;margin-bottom:12px}.calendar-mobile-month{display:inline}.calendar-day:not(:has(.calendar-task)){display:none}.calendar-task small{font-size:.9rem}.calendar-grid:has(.calendar-task) .calendar-day.today{display:block}.timerbar{position:static}.time-control{padding:18px}}

.dashboard-priorities{display:grid;gap:24px;margin-bottom:24px}
.quick-action{width:100%;min-width:0;text-align:left;justify-content:flex-start;white-space:normal}
.quick-action>span:not(.icon-tile){flex:1;min-width:0}
.quick-action>.icon-tile,.quick-action>.icon:last-child{flex-shrink:0}
.quick-action b,.quick-action small{overflow-wrap:anywhere}
.quick-actions .quick-action{min-height:88px}
.quick-actions .quick-action b{display:block}
@media(max-width:1100px){.quick-actions{grid-template-columns:1fr}.quick-action small{display:block}}
.sidebar .brand{gap:8px}
.sidebar .brand>span:last-child{display:flex;flex-direction:column;gap:2px}
.sidebar .brand b{line-height:1.05;margin:0}
.sidebar .brand small{line-height:1.2;margin:0}
.nav-count{margin-left:auto;min-width:24px;padding:1px 7px;border-radius:20px;background:var(--dark-surface-d95522,#d95522);color:var(--dark-white-text,white);text-align:center;font-size:12px;line-height:1.7;font-variant-numeric:tabular-nums}
.nav-count.is-empty{background:var(--dark-surface-e5edf0,#e5edf0);color:var(--dark-text-526174,#526174)}
.title h1{margin-bottom:4px;line-height:1.15}
.title p{line-height:1.35}
.panel h2{margin-bottom:6px}
.panel-heading h2{margin:0;font-size:16px;line-height:1.2}
.panel-heading p{margin:2px 0 0;line-height:1.25;font-size:14px}
.panel-heading .icon-tile{width:40px;height:40px;flex-shrink:0}
.cell-with-icon{align-items:center}
.cell-with-icon .row-symbol{width:36px;height:36px;flex-shrink:0}
.cell-with-icon>span:last-child{min-width:0;line-height:1.2}
.cell-with-icon .text-link{line-height:1.2}
.cell-with-icon small{margin-top:2px;line-height:1.2}
.quick-action b{line-height:1.2}
.quick-action small{margin-top:2px;line-height:1.25}
.quick-action>.icon-tile{width:40px;height:40px}
.project-card h2{margin-bottom:3px;line-height:1.2}
.project-card p{line-height:1.4}
.builder-heading h2{margin:0;line-height:1.2}
.builder-heading p{margin:2px 0 0;line-height:1.3}
.breadcrumb{min-width:0;flex:1}
.breadcrumb ol{list-style:none;display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0;padding:0;min-width:0}
.breadcrumb li{display:flex;align-items:center;gap:8px;min-width:0;max-width:100%}
.breadcrumb li+li:before{content:'›';color:var(--dark-text-738b96,#738b96);font-size:20px}
.breadcrumb a{color:var(--dark-text-526174,#526174);font-size:14px;line-height:1.3}
.breadcrumb a:hover{color:var(--dark-text-087b91,#087b91);text-decoration:underline}
.breadcrumb [aria-current=page]{display:block;background:var(--dark-surface-e4f3f6,#e4f3f6);color:var(--dark-text-075e70,#075e70);padding:5px 10px;border-radius:8px;font-size:14px;font-weight:700;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:760px){.app-header{flex-wrap:wrap;height:auto;min-height:68px;padding:12px 16px}.breadcrumb{display:block;order:3;flex-basis:100%}.breadcrumb [aria-current=page]{max-width:220px}.breadcrumb a{font-size:13px}}

/* Project setup: visible sections and selectable library cards. */
.project-builder{max-width:1100px;margin-inline:auto}
.project-builder .builder-heading{padding-top:18px;border-top:1px solid var(--theme-e3edf1,#e3edf1)}
.project-builder .builder-heading:first-of-type{padding-top:0;border-top:0}
.library-toolbar{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:16px}
.library-toolbar label{flex:1;max-width:420px}
.library-toolbar>span{color:var(--dark-text-075e70,#075e70);font-weight:700;padding-bottom:10px}
.template-selection{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.template-choice{display:flex!important;flex-direction:row!important;align-items:flex-start;gap:12px;padding:16px;border:1px solid var(--theme-d7e5ed,#d7e5ed);border-radius:12px;background:var(--dark-surface-f8fbfd,#f8fbfd);cursor:pointer}
.template-choice:has(input:checked){border-color:var(--theme-087b91,#087b91);background:var(--dark-surface-e6f4f7,#e6f4f7);box-shadow:inset 0 0 0 1px var(--theme-087b91,#087b91)}
.template-choice input{width:19px!important;height:19px;margin-top:10px;flex-shrink:0;accent-color:var(--theme-087b91,#087b91)}
.template-choice .icon-tile{width:40px;height:40px;flex-shrink:0}
.template-choice b{display:block;line-height:1.25}
.template-choice small{display:block;margin-top:3px;color:var(--dark-text-526174,#526174);font-weight:400}
.template-description{display:block;margin-top:10px;font-size:14px;font-weight:400;line-height:1.45;color:var(--dark-text-526174,#526174)}
.template-choice[hidden]{display:none!important}
.project-save{display:flex;justify-content:flex-end;gap:12px;padding-top:16px;border-top:1px solid var(--theme-e3edf1,#e3edf1)}
@media(max-width:760px){.template-selection{grid-template-columns:1fr}.library-toolbar{align-items:stretch;flex-direction:column}.project-save{flex-direction:column}.project-save .btn{justify-content:center}}

.delete-actions{display:flex;justify-content:flex-end;margin-top:24px}
.danger-button{background:var(--dark-surface-b42332,#b42332)!important;color:var(--dark-text-fff,#fff)!important;border-color:var(--theme-b42332,#b42332)!important}
.delete-confirm{display:flex!important;flex-direction:row!important;align-items:center;gap:10px}
.delete-confirm input{width:20px!important;height:20px;accent-color:var(--theme-b42332,#b42332);flex-shrink:0}

.dashboard-task-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.task-bucket{min-width:0;border:1px solid var(--theme-dbe7ec,#dbe7ec);border-radius:12px;overflow:hidden}
.bucket-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;background:var(--dark-surface-edf6f9,#edf6f9);border-bottom:1px solid var(--theme-dbe7ec,#dbe7ec)}
.bucket-heading h3{margin:0;font-size:16px;line-height:1.3}
.bucket-heading .text-link{font-size:13px;flex-shrink:0}
.bucket-count{display:inline-flex;align-items:center;justify-content:center;min-width:25px;padding:2px 7px;border-radius:20px;background:var(--dark-surface-087b91,#087b91);color:var(--dark-white-text,white);font-size:13px;margin-left:5px}
.dashboard-task{display:block;padding:16px;color:inherit;border-bottom:1px solid var(--theme-e3edf1,#e3edf1)}
.dashboard-task:last-child{border-bottom:0}
.dashboard-task:hover{background:var(--dark-surface-f4fafc,#f4fafc)}
.dashboard-task b{display:block;font-size:16px;line-height:1.3;color:var(--dark-text-075e70,#075e70)}
.dashboard-task small{display:block;margin-top:3px;line-height:1.3;color:var(--dark-text-526174,#526174)}
.dashboard-task-meta{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:10px;font-size:13px;color:var(--dark-text-526174,#526174)}
.dashboard-task-meta>span{display:inline-flex;align-items:center;gap:4px}
.bucket-empty{margin:0;padding:20px 16px;color:var(--dark-text-526174,#526174);font-size:14px}
.dashboard-contract-note{margin:0;font-size:13px;line-height:1.4;color:var(--dark-text-526174,#526174)}
@media(max-width:1000px){.dashboard-task-groups{grid-template-columns:1fr}}

.seo-weekdays{border:0;padding:0;margin:0;display:flex;gap:10px;flex-wrap:wrap}
.seo-weekdays legend{font-weight:700;margin-bottom:10px}
.seo-weekdays label{display:flex;flex-direction:row;align-items:center;gap:7px;background:var(--dark-surface-edf7f5,#edf7f5);border:1px solid #c7e9df;border-radius:10px;padding:12px}
.seo-weekdays input,.seo-active input{width:18px!important;height:18px;accent-color:var(--theme-008f70,#008f70);flex-shrink:0}
.seo-active{display:flex!important;flex-direction:row!important;align-items:center;gap:10px}
.seo-calendar-entry{background:var(--dark-surface-e6f7f1,#e6f7f1);border-color:var(--theme-009b78,#009b78)!important}
.seo-calendar-entry b{color:var(--dark-text-00654e,#00654e)}

/* Use the available workspace width and fit cards to the viewport. */
.app{min-width:0}
.content{max-width:none;width:100%;margin-inline:0;padding-inline:clamp(16px,2vw,34px)}
.narrow,.task-builder,.project-builder{max-width:none;width:100%;margin-inline:0}
.cards{grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr))}
.cards>*{min-width:0;overflow-wrap:anywhere}
.card-actions{flex-wrap:wrap}
.card-actions>*{min-width:0}
.form-grid input,.form-grid select,.form-grid textarea{min-width:0;max-width:100%}
@media(min-width:761px){.stats{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr))}}
@media(max-width:760px){.cards{grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr))}.title>div{min-width:0}.title h1,.title p{overflow-wrap:anywhere}}

/* Keep navigation labels on one line with room for icons and counts. */
:root{--sidebar:296px}
.sidebar nav a{padding-inline:8px;gap:8px}
.sidebar nav a>.nav-icon,.sidebar nav a>.nav-count,.sidebar nav a>.active-indicator{flex-shrink:0}
.sidebar nav a>span:nth-child(2){white-space:nowrap;min-width:0}
@media(max-width:1100px){:root{--sidebar:280px}}
@media(max-width:760px){:root{--sidebar:min(296px,calc(100vw - 40px))}}

/* Subtle service colors keep each workspace recognizable. */
body[data-page]{--section-soft:var(--theme-eef5fa,#eef5fa);--section-border:var(--theme-dbe7f0,#dbe7f0)}
body:is([data-page=maintenance],[data-page=website]){--section-soft:var(--theme-eaf6f1,#eaf6f1);--section-border:var(--theme-cee7dc,#cee7dc)}
body:is([data-page=seo],[data-page=seo_edit],[data-page=seo_entry],[data-page=seo_calendar]){--section-soft:var(--theme-fff5e6,#fff5e6);--section-border:#f1dfbf}
body:is([data-page=contracts],[data-page=clients],[data-page=client]){--section-soft:var(--theme-edf3fb,#edf3fb);--section-border:var(--theme-d5e2f3,#d5e2f3)}
body[data-page] .panel,body[data-page] .project-card{background:linear-gradient(145deg,var(--section-soft),var(--dark-surface-fafcfd,#fafcfd) 75%);border-color:var(--section-border)}
body[data-page] .stats article{background:linear-gradient(130deg,var(--section-soft),var(--dark-surface-f7fafc,#f7fafc));border-color:var(--section-border)}
body[data-page] .filters{background:var(--section-soft);border-color:var(--section-border)}
.dashboard-task,.task-bucket{background:var(--dark-surface-f3f8fb,#f3f8fb)}
.dashboard-task-groups .task-bucket:first-child{background:var(--dark-surface-eaf6f1,#eaf6f1)}
.legend-seo{background:var(--dark-surface-d18a25,#d18a25)}
.notification-list{display:grid;gap:10px;margin-top:16px}
body[data-page=notifications] .notification-item{padding:14px 16px;margin:0;gap:12px;align-items:center;border-radius:13px;background:var(--dark-surface-f2f5f8,#f2f5f8)}
body[data-page=notifications] .notification-item.unread{background:var(--dark-surface-fff0ef,#fff0ef);border:1px solid #f3cfcb;border-left:4px solid #d85b50}
.notification-item h2{font-size:15px;line-height:1.4;margin:0 0 5px}
.notification-item p{font-size:12px!important;line-height:1.3!important;margin:0 0 5px}
.notification-item .icon-tile{width:32px;height:32px;border-radius:10px;flex-shrink:0}
.notification-item .icon-tile .icon{width:17px;height:17px}
.notification-item .text-link,.notification-item .btn{font-size:12px}
.notification-item .btn{padding:7px 10px;min-height:34px;white-space:nowrap}
.notification-item .pill{font-size:11px;padding:2px 7px}
.notification-item .form-grid{margin:0;flex-shrink:0}
.notification-item>div{min-width:0;overflow-wrap:anywhere}
@media(max-width:760px){.notification-item .form-grid{margin-left:44px}.notification-item h2{font-size:14px}}
.login-page{margin:0;background:var(--dark-surface-eaf2f7,#eaf2f7);color:var(--dark-text-183545,#183545);min-height:100vh;display:grid;place-items:center;padding:clamp(16px,4vw,64px)}
.login-layout{width:min(1120px,100%);min-height:620px;display:grid;grid-template-columns:1.05fr 1fr;border:1px solid #d3e4ed;border-radius:28px;overflow:hidden;box-shadow:0 24px 80px var(--theme-16485b18,#16485b18)}
.login-intro{background:radial-gradient(circle at 10% 0,var(--dark-surface-168da1,#168da1),transparent 55%),linear-gradient(145deg,var(--dark-surface-0b6c83,#0b6c83),var(--dark-surface-0b3c55,#0b3c55));color:var(--dark-text-fff,#fff);padding:42px;display:flex;flex-direction:column;justify-content:space-between;gap:48px}
.login-brand{display:flex;align-items:center;gap:12px;color:var(--dark-text-fff,#fff);width:fit-content}
.login-brand b{font-size:30px;letter-spacing:-1px}.login-brand b>span{color:var(--dark-text-80d6dd,#80d6dd)}
.login-brand .brandmark{background:var(--dark-surface-ffffff1c,#ffffff1c);box-shadow:none;color:var(--dark-text-b3f0ef,#b3f0ef)}
.login-kicker{font-size:11px;letter-spacing:1.5px;color:var(--dark-text-b2e1e8,#b2e1e8);font-weight:700}
.login-intro h1{font-size:clamp(30px,3.2vw,46px);line-height:1.13;margin:16px 0 20px;color:var(--dark-text-fff,#fff)}
.login-intro p{font-size:16px;line-height:1.7;color:var(--dark-text-d4e9ee,#d4e9ee);max-width:360px}
.login-services{display:flex;flex-wrap:wrap;gap:9px;margin-top:26px}
.login-services span{display:inline-flex;align-items:center;gap:7px;padding:8px 12px;border:1px solid var(--theme-ffffff24,#ffffff24);border-radius:10px;background:var(--dark-surface-ffffff0c,#ffffff0c);font-size:12px}
.login-services .icon{width:16px;height:16px}.login-intro>small{color:var(--dark-text-a9d4df,#a9d4df);font-size:12px}
.login-form-area{background:linear-gradient(150deg,var(--dark-surface-f3f9fc,#f3f9fc),var(--dark-surface-e9f2f8,#e9f2f8));padding:clamp(24px,4vw,58px);display:grid;align-items:center}
.login-form-card h2{font-size:28px;margin:18px 0 6px;line-height:1.2}
.login-form-card>p{font-size:14px;color:var(--dark-text-587080,#587080);margin-bottom:28px}
.login-form-card .form-grid{gap:18px}.login-form-card input{background:var(--dark-surface-fff,#fff);border-color:var(--theme-d1e0e8,#d1e0e8);border-radius:12px}
.login-form-card .btn{width:100%;justify-content:space-between;min-height:50px;margin-top:8px;border-radius:12px}
@media(max-width:760px){.login-page{padding:16px}.login-layout{grid-template-columns:1fr;min-height:0;border-radius:20px}.login-intro{padding:26px;gap:24px}.login-intro h1{font-size:30px}.login-intro>small{display:none}.login-services{margin-top:16px}.login-form-area{padding:28px 24px}.login-form-card h2{font-size:24px}}

/* White canvas; color belongs to the cards and their icons. */
body[data-page]{--bg:var(--theme-fff,#fff);background:var(--dark-surface-fff,#fff)}
body[data-page] .app,body[data-page] .content{background:var(--dark-surface-fff,#fff)}
body[data-page] .panel,body[data-page] .project-card{background:linear-gradient(135deg,var(--section-soft) 0%,var(--dark-surface-fff,#fff) 85%)}
body[data-page] .stats article{--card-soft:var(--theme-e7f5fa,#e7f5fa);--card-border:#cfe7f0;background:linear-gradient(135deg,var(--card-soft),var(--dark-surface-fff,#fff) 95%);border-color:var(--card-border)}
body[data-page] .stats article:has(.tone-blue),body[data-page] .stats article:has(.tone-violet){--card-soft:var(--theme-e8f2ff,#e8f2ff);--card-border:var(--theme-d1e1f6,#d1e1f6)}
body[data-page] .stats article:has(.tone-mint){--card-soft:var(--theme-e4f6ed,#e4f6ed);--card-border:#c8e8d7}
body[data-page] .stats article:has(.tone-amber){--card-soft:var(--theme-fff0d5,#fff0d5);--card-border:#f1deb9}
body[data-page] .stats article:has(.tone-coral){--card-soft:var(--theme-ffebe3,#ffebe3);--card-border:#f4d8cc}
body[data-page] .stats article:has(.tone-pink){--card-soft:var(--theme-fdebf3,#fdebf3);--card-border:var(--theme-f0d5e1,#f0d5e1)}
body[data-page] .project-card{--card-soft:var(--theme-e6f5f8,#e6f5f8);--card-border:#cce5eb;background:linear-gradient(135deg,var(--card-soft),var(--dark-surface-fff,#fff) 90%);border-color:var(--card-border)}
body[data-page] .project-card:nth-child(3n+2){--card-soft:var(--theme-e8f1ff,#e8f1ff);--card-border:var(--theme-d2e1f5,#d2e1f5)}
body[data-page] .project-card:nth-child(3n+3){--card-soft:var(--theme-e4f6ed,#e4f6ed);--card-border:var(--theme-cce8d9,#cce8d9)}
body[data-page] .project-card:has(.cardtop>.tone-mint){--card-soft:var(--theme-e4f6ed,#e4f6ed);--card-border:var(--theme-cce8d9,#cce8d9)}
body[data-page] .project-card:has(.cardtop>.tone-amber){--card-soft:var(--theme-fff1d9,#fff1d9);--card-border:#f1dfbe}
body[data-page] .project-card:has(.cardtop>.tone-coral){--card-soft:var(--theme-ffebe3,#ffebe3);--card-border:#f4d8cc}
body[data-page] .project-card:has(.cardtop>.tone-blue){--card-soft:var(--theme-e8f1ff,#e8f1ff);--card-border:var(--theme-d2e1f5,#d2e1f5)}
body[data-page] .filters{background:linear-gradient(135deg,var(--section-soft),var(--dark-surface-fff,#fff))}
body[data-page=notifications] .notification-item{background:var(--dark-surface-fff,#fff)}
body[data-page=notifications] .notification-item.unread{background:linear-gradient(135deg,var(--dark-surface-ffe6e3,#ffe6e3),var(--dark-surface-fff4f2,#fff4f2))}
.login-page{background:var(--dark-surface-fff,#fff)}.login-form-area{background:linear-gradient(140deg,var(--dark-surface-e9f6fb,#e9f6fb),var(--dark-surface-fff,#fff))}
body[data-page] .panel:has(>.panel-heading .panel-title>.tone-mint){--section-soft:var(--theme-e8f7ef,#e8f7ef);--section-border:var(--theme-d0e9da,#d0e9da)}
body[data-page] .panel:has(>.panel-heading .panel-title>.tone-amber){--section-soft:var(--theme-fff3dc,#fff3dc);--section-border:#efdfbc}
body[data-page] .panel:has(>.panel-heading .panel-title>.tone-coral){--section-soft:var(--theme-fff0e8,#fff0e8);--section-border:#efd8ce}
body[data-page] .quick-action:has(>.tone-violet),body[data-page] .quick-action:has(>.tone-blue){background:linear-gradient(135deg,var(--dark-surface-e8f3ff,#e8f3ff),var(--dark-surface-fff,#fff));border-color:var(--theme-d4e3f5,#d4e3f5)}
body[data-page] .quick-action:has(>.tone-mint){background:linear-gradient(135deg,var(--dark-surface-e8f7ee,#e8f7ee),var(--dark-surface-fff,#fff));border-color:var(--theme-d0e8d9,#d0e8d9)}
body[data-page] .quick-action:has(>.tone-coral){background:linear-gradient(135deg,var(--dark-surface-fff0e7,#fff0e7),var(--dark-surface-fff,#fff));border-color:#f0ddcf}
body[data-page] .panel,body[data-page] .project-card,body[data-page] .filters{background:var(--dark-surface-fff,#fff);border-color:var(--theme-e4eaf0,#e4eaf0)}
body[data-page] .stats article{background:linear-gradient(135deg,color-mix(in srgb,var(--card-soft) 30%,white),white);border-color:var(--theme-e4eaf0,#e4eaf0)}
body[data-page] .notification-item.unread{background:var(--dark-surface-fff7f6,#fff7f6)}
.dashboard-group>summary{cursor:pointer;list-style:none;margin-bottom:0}.dashboard-group[open]>summary{margin-bottom:20px}
.dashboard-group>summary::after,.task-bucket>summary::after{content:'›';font-size:22px;color:var(--dark-text-8395a2,#8395a2)}.dashboard-group[open]>summary::after,.task-bucket[open]>summary::after{transform:rotate(90deg)}
.task-bucket,.dashboard-task-groups .task-bucket:first-child{background:transparent;border:0;padding:0}.task-bucket>summary{cursor:pointer;list-style:none;padding:10px 0}.bucket-more{display:inline-flex;margin-top:12px}
.dashboard-task{background:var(--dark-surface-fff,#fff);border:0;border-bottom:1px solid var(--theme-edf0f3,#edf0f3);border-radius:8px;margin:8px 0;padding:14px 16px}
[data-status="Pendiente"]{background:var(--dark-surface-fffcf5,#fffcf5)!important}[data-status="En curso"]{background:var(--dark-surface-f5faff,#f5faff)!important}
.dashboard-task[data-status="Pendiente"]{border-left:3px solid #d4b877}.dashboard-task[data-status="En curso"]{border-left:3px solid #7ba9c6}
.request-state-group+.request-state-group{margin-top:28px}
.directory-heading,.directory-row{display:grid;grid-template-columns:minmax(220px,1.3fr) minmax(180px,1fr) minmax(200px,1fr) 36px;gap:24px;align-items:center}
.directory-heading{font-size:12px;color:var(--dark-text-728392,#728392);border-bottom:1px solid var(--theme-e5ebf0,#e5ebf0);padding-bottom:14px}.directory-row{padding:20px 0;border-bottom:1px solid var(--theme-edf1f4,#edf1f4)}.directory-row:last-child{border-bottom:0}
.directory-identity{display:flex;align-items:center;gap:12px;min-width:0}.directory-identity>div,.directory-contact,.directory-counts,.directory-services,.contract-summary{display:flex;flex-direction:column;gap:5px;min-width:0}
.directory-row small{color:var(--dark-text-768795,#768795);font-size:13px;line-height:1.35}.directory-row a{overflow-wrap:anywhere}.directory-row .row-symbol{flex-shrink:0}.directory-open{display:flex;justify-content:center;color:var(--dark-text-167e94,#167e94)}.contract-summary .text-link{font-size:13px}
.task-workspace{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px;align-items:start}.task-sheet-heading,.section-heading,.work-history-row header{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.state-buttons{display:flex;gap:8px;flex-wrap:wrap}.state-buttons .form-grid{display:block;margin:0}.task-category{font-size:13px;color:var(--dark-text-738491,#738491);margin-left:8px}
.task-section{padding-top:24px;margin-top:24px;border-top:1px solid var(--theme-e8edf1,#e8edf1)}.task-section h2,.task-sidebar h2{font-size:18px;margin:0 0 12px}.task-section p{line-height:1.6}
.task-time-total{font-size:20px;font-weight:700}.task-time-total small{display:block;font-size:12px;font-weight:400;text-align:right}
.task-sidebar dl{display:grid;grid-template-columns:1fr 1fr;gap:16px 10px}.task-sidebar dt{color:var(--dark-text-738491,#738491);font-size:13px}.task-sidebar dd{margin:0;text-align:right}
.task-clock{padding-top:24px;margin-top:24px;border-top:1px solid var(--theme-e8edf1,#e8edf1);background:transparent}.task-clock p{font-size:13px;line-height:1.5;color:var(--dark-text-738491,#738491)}
.work-history-row{display:flex;gap:14px;padding:18px 0;border-bottom:1px solid var(--theme-edf1f4,#edf1f4)}.work-history-row>div{flex:1;min-width:0}.work-history-row p{margin:8px 0 0}.history-dot{width:8px;height:8px;background:var(--dark-surface-72a4b6,#72a4b6);border-radius:50%;margin-top:6px;flex-shrink:0}
.work-history-row small{color:var(--dark-text-768795,#768795);font-size:12px}.manual-work,.task-attachments{margin-top:24px}.manual-work summary,.task-attachments summary{cursor:pointer;font-weight:600;color:var(--dark-text-187d92,#187d92)}
@media(max-width:1100px){.task-workspace{grid-template-columns:1fr}.directory-heading,.directory-row{grid-template-columns:minmax(180px,1.2fr) 1fr 1fr 30px;gap:14px}}
@media(max-width:760px){.directory-heading{display:none}.directory-row{grid-template-columns:1fr;gap:12px;position:relative;padding-right:30px}.directory-open{position:absolute;right:0;top:24px}.directory-contact,.directory-counts,.directory-services,.contract-summary{padding-left:48px}.state-buttons .btn{font-size:12px;padding:9px 10px}}
.directory-symbol{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:var(--dark-surface-f0f6f8,#f0f6f8);color:var(--dark-text-238296,#238296);flex-shrink:0}
.directory-identity>span:last-child{display:flex;flex-direction:column;gap:4px}.directory-url{display:block;font-size:13px;color:var(--dark-text-728795,#728795);margin-top:5px}.service-name{display:flex;gap:7px;align-items:center}
.workspace-options{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:10px;max-height:260px;overflow:auto;margin-top:12px;padding:2px}
.workspace-option{display:flex;align-items:center;gap:10px;border:1px solid var(--theme-e1e9ee,#e1e9ee);padding:14px;border-radius:10px;cursor:pointer;background:var(--dark-surface-fff,#fff)}.workspace-option:has(:checked){border-color:var(--theme-258da0,#258da0);background:var(--dark-surface-f5fafc,#f5fafc)}
.workspace-option input{width:16px;height:16px;min-height:0;margin:0;flex-shrink:0}.workspace-option span{display:flex;flex-direction:column;gap:4px}.workspace-option small{font-size:12px;color:var(--dark-text-768995,#768995);font-weight:400}
.workspace-option[hidden]{display:none}
.clear-filters{font-size:24px;line-height:1;min-width:42px;align-self:end}
.filters button[hidden]{display:none}
.task-builder .workspace-option{display:flex;text-align:left;align-items:center;justify-content:flex-start}.task-builder .workspace-option[hidden]{display:none}
.dashboard-group>summary::before,.task-bucket>summary::before{display:none}
body[data-page=maintenance] .stats{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}
.dashboard-group:not([open])>.dashboard-task-groups,.task-bucket:not([open])>:not(summary){display:none!important}
.dashboard-group>summary,.task-bucket>summary{background:transparent;border:0;border-radius:0;box-shadow:none;padding:0}
.task-bucket>summary{padding:10px 0}
.dashboard-group>summary .panel-title{flex:1}.dashboard-group .panel-title h2{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.dashboard-group>summary::marker,.task-bucket>summary::marker{content:''}
.dashboard-group>summary::-webkit-details-marker,.task-bucket>summary::-webkit-details-marker{display:none}
.app-header .header-actions{flex-shrink:0;gap:10px}.header-actions .date-chip{white-space:nowrap;font-size:12px;padding:8px}
@media(max-width:1250px){.app-header .global-search{width:auto;min-width:130px;flex:1}.header-actions .date-chip{display:none}.header-actions .btn{padding:10px 12px;font-size:12px}}
@media(max-width:760px){.header-project span{display:none}.header-actions .header-project{display:inline-flex}}
@media(min-width:761px){.header-actions .header-project span{display:inline}}
@media(max-width:1250px) and (min-width:761px){.app-header .header-actions .date-chip{display:none}}
.state-buttons .request-state-pending{background:var(--dark-surface-986c17,#986c17);color:var(--dark-text-fff,#fff)}.state-buttons .request-state-running{background:var(--dark-surface-147c99,#147c99);color:var(--dark-text-fff,#fff)}
.state-buttons .finish-button{background:var(--dark-surface-087a57,#087a57);color:var(--dark-text-fff,#fff)}
.intervention-history>.section-heading{border-left:4px solid var(--theme-2b8da2,#2b8da2);padding-left:14px;margin-bottom:12px}
.intervention-history>.section-heading h2{font-size:22px}
.work-history-row p{color:var(--dark-text-233e4d,#233e4d);font-size:16px;line-height:1.6;font-weight:500}
.work-history-row .history-dot{width:10px;height:10px;background:var(--dark-surface-278da1,#278da1)}
.task-clock .btn{width:100%;justify-content:center;min-height:48px;font-weight:700}
.dashboard-priorities{gap:16px}
.dashboard-group:not([open]){padding-top:16px;padding-bottom:16px}
.dashboard-group:not([open])>summary{min-height:40px}
body[data-page=dashboard] .dashboard-group{background:linear-gradient(110deg,var(--dark-surface-f5f9fd,#f5f9fd),var(--dark-surface-fff,#fff) 85%)}
body[data-page=dashboard] .dashboard-group:has(>summary .tone-mint){background:linear-gradient(110deg,var(--dark-surface-f4faf7,#f4faf7),var(--dark-surface-fff,#fff) 85%)}
.dashboard-group[open]>.dashboard-task-groups{margin-top:16px}
.dashboard-group[open]>summary{margin-bottom:0}
.dashboard-group .task-bucket>summary{margin-bottom:8px;color:var(--dark-text-35586a,#35586a)}
.dashboard-contract-note{margin:0;font-size:12px;line-height:1.4;color:var(--dark-text-82919c,#82919c)}
body[data-page=dashboard] .dashboard-priorities{margin-bottom:16px}
body[data-page=dashboard] .stats{margin-bottom:16px}
body[data-page=dashboard] .stat-top{margin-bottom:6px}
body[data-page=dashboard] .stats b{margin-bottom:4px}
.daily-chart{width:100%;height:auto;display:block;min-height:170px}.daily-chart text{font:11px "Segoe UI",sans-serif;fill:#6d8291}.daily-chart-caption{display:flex;justify-content:space-between;font-size:12px;color:var(--dark-text-7a8d9a,#7a8d9a);margin-top:6px}
.service-distribution{display:grid;gap:20px}.distribution-total{display:flex;align-items:baseline;gap:12px;padding-bottom:16px;border-bottom:1px solid var(--theme-e8edf1,#e8edf1)}.distribution-total b{font-size:28px;color:var(--dark-text-243e4c,#243e4c)}.distribution-total>span{font-size:13px;color:var(--dark-text-718794,#718794)}
.distribution-service>div:first-child{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px}.distribution-service>div:first-child>span{display:flex;align-items:center;gap:8px}.distribution-service small{font-size:12px;color:var(--dark-text-80929e,#80929e);min-width:46px;text-align:right}
.distribution-track{height:7px;background:var(--dark-surface-eef2f5,#eef2f5);border-radius:20px;overflow:hidden}.distribution-track>span{display:block;height:100%;border-radius:20px}.service-maintenance{background:var(--dark-surface-40a98a,#40a98a)}.service-project{background:var(--dark-surface-438fa6,#438fa6)}.service-seo{background:var(--dark-surface-c39750,#c39750)}.service-dot{width:8px;height:8px;border-radius:50%;display:inline-block}
.dashboard-report-filters{margin-bottom:16px}.dashboard-report-filters label{flex:0 1 250px}
@media(max-width:760px){.daily-chart text{font-size:13px}.service-distribution{gap:16px}.distribution-total{flex-wrap:wrap}.distribution-service>div:first-child{font-size:13px}}
.estimate-input{display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,1fr);gap:12px;align-items:end}
@media(max-width:500px){.estimate-input{grid-template-columns:1fr}}
.kit-notice{display:flex;gap:14px;align-items:flex-start;padding:20px 24px;margin:0 0 20px;border:1px solid var(--theme-d4e7ef,#d4e7ef);background:var(--dark-surface-f3f9fc,#f3f9fc);border-radius:14px;color:var(--dark-text-235c73,#235c73)}.kit-notice p{margin:6px 0;font-size:14px}.kit-notice b{font-size:18px}.kit-expired{background:var(--dark-surface-fff1ee,#fff1ee);border-color:#e7b5aa;color:var(--dark-text-943b2b,#943b2b);border-left:5px solid #ba6151}.kit-expired p{color:var(--dark-text-8f594d,#8f594d)}.kit-notice[hidden]{display:none}.kit-expired-row{background:var(--dark-surface-fff9f7,#fff9f7)}
.service-expiries{margin-top:16px}.expiry-row{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:14px 0;border-top:1px solid var(--theme-edf1f4,#edf1f4)}.expiry-row>span{display:flex;flex-direction:column;gap:4px}.expiry-row small{font-size:13px;color:var(--dark-text-728895,#728895)}.expiry-row .expired-label{color:var(--dark-text-a84d3e,#a84d3e)}
@media(max-width:760px){.expiry-row{flex-wrap:wrap}}
.distribution-track{display:block;width:100%;height:7px}
.distribution-track .service-maintenance{fill:#40a98a}.distribution-track .service-project{fill:#438fa6}.distribution-track .service-seo{fill:#c39750}
.daily-chart text{font-size:14px}
.form-grid label.kit-checkbox{display:flex!important;align-items:center;gap:10px;justify-content:flex-start;padding:10px 0}
.form-grid label.kit-checkbox input[type=checkbox]{width:18px;height:18px;min-height:0;flex-shrink:0;margin:0}

/* Compact statistics controls and consistent close targets. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.dashboard-title{align-items:center;gap:16px;flex-wrap:wrap}
.dashboard-title h1{margin:0}
body[data-page=dashboard] .dashboard-report-filters{display:flex;align-items:center;gap:8px;margin:0 0 0 auto;padding:0;border:0;background:transparent;box-shadow:none;flex-wrap:wrap}
body[data-page=dashboard] .dashboard-report-filters label{display:flex;align-items:center;gap:8px;flex:0 1 auto;min-width:0;height:40px;padding:0 10px;border:1px solid var(--theme-e4eaf0,#e4eaf0);border-radius:10px;background:var(--dark-surface-f8fbfc,#f8fbfc);color:var(--dark-text-54808d,#54808d)}
body[data-page=dashboard] .dashboard-report-filters input,body[data-page=dashboard] .dashboard-report-filters select{width:auto;min-width:0;min-height:0;height:38px;padding:0;border:0;background:transparent;font-size:14px;color:var(--dark-text-294553,#294553)}
body[data-page=dashboard] .dashboard-report-filters select{max-width:210px;padding-right:6px}
body[data-page=dashboard] .dashboard-report-filters .icon{width:17px;height:17px}
.filters .clear-filters{display:inline-flex;align-items:center;justify-content:center;align-self:flex-end;flex:0 0 40px;width:40px;height:40px;min-height:40px;padding:0;gap:0;line-height:1;box-shadow:none;color:var(--dark-text-617989,#617989);border:1px solid var(--theme-e4eaf0,#e4eaf0);background:var(--dark-surface-fff,#fff)}
.filters .clear-filters .icon{display:block;width:18px;height:18px;flex:none;margin:0}
.icon-button[data-close-dialog],.icon-button[data-dismiss-alert]{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;padding:0;line-height:1}
.icon-button[data-close-dialog]>.icon,.icon-button[data-dismiss-alert]>.icon{display:block;width:18px;height:18px;margin:0;flex:none}
.dialog-heading .icon-button[data-close-dialog]{align-self:center;width:36px;height:36px}
.dialog-heading h2{margin:0}
.dashboard-group>summary.panel-heading{margin-top:0;margin-bottom:0}
.dashboard-group .task-bucket>summary{margin-top:0}
.dashboard-priorities>.dashboard-group{margin-bottom:0}
body[data-page=dashboard] .dashboard-task[data-status]{background:var(--dark-surface-fff,#fff)!important;border-top:1px solid var(--theme-e8edf1,#e8edf1);border-right:1px solid var(--theme-e8edf1,#e8edf1);border-bottom:1px solid var(--theme-e8edf1,#e8edf1)}
.dashboard-task .dashboard-task-meta{align-items:center;row-gap:8px;line-height:1.4}
.dashboard-task-meta>span{display:inline-flex;align-items:center;gap:6px;line-height:1.4}
.dashboard-task-meta .icon{display:block;width:16px;height:16px}
.dashboard-task-meta .pill{display:inline-flex;align-items:center;min-height:26px;line-height:1;padding:5px 8px}
.dashboard-task-meta [data-task-time]{line-height:inherit}
body[data-page=dashboard] .dashboard-priorities{gap:12px}
body[data-page=dashboard] .dashboard-group{padding-block:16px}
.dashboard-group[open]>.dashboard-task-groups{margin-top:10px;gap:16px}
.dashboard-group .task-bucket{margin:0}
.dashboard-group .task-bucket>summary{padding:6px 0;margin:0 0 4px}
.dashboard-group .dashboard-task{padding:11px 14px;margin:6px 0}
.dashboard-group .dashboard-task:last-child{margin-bottom:0}
.dashboard-group .dashboard-task-meta{margin-top:7px;column-gap:12px}
.dashboard-task-meta small{display:inline;margin:0;font-size:12px;line-height:inherit}
.task-dates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.task-builder .form-grid{gap:18px}.task-builder textarea{min-height:105px}
.task-builder .workspace-options{max-height:190px}
.manual-work{margin-top:20px;border-top:1px solid var(--theme-e7edf1,#e7edf1);padding-top:18px}
.state-buttons{gap:8px}.state-buttons .btn{font-size:13px;min-height:38px;padding:8px 12px}
.service-meeting,.legend-meeting{background:var(--dark-surface-8a8fc2,#8a8fc2)}.distribution-track .service-meeting{fill:#8a8fc2}
.meeting-duration{display:block;margin:10px 0;color:var(--dark-text-294b60,#294b60)}.meeting-card .btn{margin-top:12px}
.incomaz-brand{display:flex;flex-direction:column;gap:5px;width:100%}.incomaz-brand img{display:block;width:100%;max-width:220px;height:auto}.brand .incomaz-brand small{margin:0;font-size:12px;color:var(--dark-text-68828d,#68828d)}
.login-incomaz-logo{display:block;width:min(300px,100%);height:auto;background:var(--dark-white-surface,white);padding:12px 16px;border-radius:12px}
.meeting-schedule{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px;width:100%;max-width:none}
.meeting-moment{margin:0;padding:0;border:0;min-width:0}
.meeting-moment legend{display:flex;align-items:center;gap:7px;margin-bottom:8px;padding:0;font-size:14px;font-weight:600;color:var(--dark-text-37586a,#37586a)}
.meeting-moment legend .icon{width:17px;height:17px;color:var(--dark-text-19829a,#19829a)}
.meeting-moment-inputs{display:grid;grid-template-columns:minmax(0,1fr) 130px;align-items:center;border:1px solid var(--theme-dfe8ed,#dfe8ed);border-radius:12px;background:var(--dark-surface-f8fbfc,#f8fbfc);overflow:hidden;transition:border-color .15s,box-shadow .15s}
.meeting-moment-inputs:focus-within{border-color:var(--theme-3592a6,#3592a6);box-shadow:0 0 0 3px var(--theme-e8f4f6,#e8f4f6)}
.form-grid .meeting-moment-inputs label{display:block;min-width:0;margin:0;padding:0}
.meeting-moment-inputs label+label{border-left:1px solid var(--theme-dfe8ed,#dfe8ed)}
.form-grid .meeting-moment-inputs input{display:block;width:100%;min-width:0;min-height:44px;height:44px;padding:9px 12px;border:0;border-radius:0;background:transparent;box-shadow:none;outline:none;font-size:15px;font-weight:500;color:var(--dark-text-284b5d,#284b5d)}
.meeting-duration-preview{grid-column:1/-1;display:flex;align-items:center;gap:8px;min-height:26px;color:var(--dark-text-587685,#587685);font-size:13px}
.meeting-duration-preview .icon{width:16px;height:16px}.meeting-duration-preview.has-duration{color:var(--dark-text-14756b,#14756b);font-weight:600}
@media(max-width:700px){.meeting-schedule{grid-template-columns:1fr;gap:14px}.meeting-moment-inputs{grid-template-columns:minmax(0,1fr) 130px}}
body[data-page] .panel.task-builder,body[data-page$="_edit"] .panel:has(>.form-grid){width:100%;max-width:1000px}
body[data-page] .form-grid{gap:14px 18px}
body[data-page] .form-grid label{font-size:13px;gap:5px}
body[data-page] .form-grid input:not([type=checkbox]):not([type=radio]):not([type=file]),body[data-page] .form-grid select{font-size:14px;min-height:40px;padding:8px 11px}
body[data-page] .form-grid textarea{font-size:14px;font-weight:400;line-height:1.5;min-height:90px;padding:10px 12px}
body[data-page] .preserve{font-size:14px;line-height:1.55}
body[data-page] .form-grid .meeting-moment-inputs input{height:42px;min-height:42px;border:0;background:transparent;padding:8px 11px}
body[data-page] .meeting-schedule{max-width:none}
body[data-page=meeting_edit] .panel.task-builder{max-width:none}
.task-queue-summary{display:flex;flex-wrap:wrap;gap:8px 22px;align-items:center;margin:0 0 16px;padding:12px 16px;border:1px solid var(--theme-e3ebef,#e3ebef);border-radius:12px;background:var(--dark-surface-f8fbfc,#f8fbfc);font-size:13px;color:var(--dark-text-577081,#577081)}
.task-queue-summary>span{display:flex;gap:8px;align-items:center}.task-queue-summary b{color:var(--dark-text-1d4156,#1d4156)}.task-queue-summary .icon{width:17px;height:17px;color:var(--dark-text-16819a,#16819a)}.task-queue-summary .queue-pending{color:var(--dark-text-96701e,#96701e)}.task-queue-summary .queue-running{color:var(--dark-text-087e72,#087e72)}
body[data-page=maintenance] .filters{margin-bottom:16px;padding:12px 14px;gap:10px;background:var(--dark-surface-fff,#fff);border-radius:12px}
body[data-page=maintenance] .task-queue-list{padding:0;box-shadow:none;background:var(--dark-surface-fff,#fff);overflow:hidden}
body[data-page=maintenance] .task-queue-list>.pagination{margin:0;padding:9px 16px;font-size:12px;border-bottom:1px solid var(--theme-edf1f3,#edf1f3)}
body[data-page=maintenance] .request-state-group{margin:0;padding:0;border:0}
body[data-page=maintenance] .request-state-group h3{display:flex;align-items:center;gap:8px;margin:0;padding:10px 16px;background:var(--dark-surface-f8fbfc,#f8fbfc);border-bottom:1px solid var(--theme-e7eef1,#e7eef1);font-size:13px}
body[data-page=maintenance] .task-queue-list th{font-size:12px;padding:9px 16px;background:var(--dark-surface-fff,#fff);color:var(--dark-text-688190,#688190)}
body[data-page=maintenance] .task-queue-list td{padding:12px 16px;font-size:13px;background:var(--dark-surface-fff,#fff)}
body[data-page=maintenance] .task-queue-list td:first-child{width:40%}
body[data-page=maintenance] .task-queue-list .cell-with-icon{gap:10px}
body[data-page=maintenance] .task-queue-list td small{margin-top:2px;font-size:12px;line-height:1.35}
body[data-page=maintenance] .task-queue-list .row-symbol{width:28px;height:28px;flex:0 0 28px;border-radius:8px}
body[data-page=maintenance] .task-queue-list tr[data-status=Pendiente] td:first-child{border-left:3px solid #d9b778}
body[data-page=maintenance] .task-queue-list tr[data-status="En curso"] td:first-child{border-left:3px solid #5ba99b}
.intervention-images{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}.intervention-images a{display:grid;gap:4px;width:130px;color:var(--dark-text-3e677b,#3e677b);text-decoration:none;font-size:11px}.intervention-images img{width:130px;height:88px;object-fit:cover;border-radius:8px;border:1px solid var(--theme-e0e9ee,#e0e9ee);background:var(--dark-surface-f7fafb,#f7fafb)}.intervention-images span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.intervention-note{margin:10px 0;padding:10px 12px;border-left:2px solid var(--theme-a4c9d2,#a4c9d2);background:var(--dark-surface-f7fafb,#f7fafb);border-radius:0 8px 8px 0}.intervention-note p{margin:5px 0 0}.intervention-actions{display:flex;flex-wrap:wrap;align-items:flex-start;gap:10px 18px;font-size:12px}.intervention-comment summary{cursor:pointer;color:var(--dark-text-197f94,#197f94);font-weight:600;list-style:none}.intervention-comment[open]{flex-basis:100%}.intervention-comment form{margin-top:12px}.intervention-comment textarea{min-height:70px!important}.intervention-upload small{font-size:11px;color:var(--dark-text-688190,#688190)}.intervention-upload input{font-size:12px}
@media(max-width:760px){.task-queue-summary{gap:10px 18px}body[data-page=maintenance] .task-queue-list td{padding:10px 12px}}
body[data-page] .filters{gap:10px 12px;padding:10px 12px;align-items:flex-end}
body[data-page] .filters label{font-size:11px;gap:4px;font-weight:500;color:var(--dark-text-68808e,#68808e)}
body[data-page] .filters input:not([type=checkbox]),body[data-page] .filters select{height:36px;min-height:36px;padding:6px 9px;font-size:13px;font-weight:400;border-radius:8px;background:var(--dark-surface-fff,#fff)}
body[data-page] .filters .filter-clear{height:36px;width:36px;min-height:36px;align-self:flex-end;flex:0 0 36px}
body[data-page=maintenance] .filters{padding:10px 12px;background:var(--dark-surface-fafcfd,#fafcfd);border:1px solid var(--theme-e7eef1,#e7eef1)}
body[data-page] .project-card .project-pending{display:inline-flex;align-items:center;gap:7px;margin:12px 0 8px;padding:6px 9px;border-radius:8px;background:var(--dark-surface-edf6f7,#edf6f7);color:var(--dark-text-287486,#287486);font-size:12px;line-height:1.3}
.project-pending .icon{width:15px;height:15px;flex:none}.project-pending span{white-space:normal}
.title p:empty{display:none}
.task-queue-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 16px}
.task-queue-stats article{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;min-width:0;border:1px solid var(--theme-e3ebef,#e3ebef);border-radius:12px;background:linear-gradient(110deg,var(--dark-surface-f6fafc,#f6fafc),var(--dark-surface-fff,#fff))}
.queue-stat-title{display:flex;align-items:center;gap:10px;min-width:0}.queue-stat-title h2{font-size:16px;line-height:1.2;margin:0;color:var(--dark-text-294c60,#294c60)}.queue-stat-title .icon-tile{width:30px;height:30px;border-radius:9px;flex:none}.queue-stat-title .icon{width:16px;height:16px}
.queue-stat-value{display:grid;gap:3px;text-align:right;flex:none}.queue-stat-value b{font-size:25px;line-height:1;color:var(--dark-text-193e53,#193e53)}.queue-stat-value small{font-size:11px;color:var(--dark-text-718795,#718795);max-width:135px}
.queue-list-heading{padding:12px 16px;border-bottom:1px solid var(--theme-e7eef1,#e7eef1)}.queue-list-heading h2{display:flex;gap:8px;align-items:center;margin:0;font-size:18px}.queue-list-heading h2 span{display:inline-grid;place-items:center;min-width:24px;height:24px;padding:0 6px;border-radius:8px;font-size:12px;background:var(--dark-surface-e7f3f6,#e7f3f6);color:var(--dark-text-167d92,#167d92)}
body[data-page=maintenance] .request-state-group h3{font-size:15px}
body[data-page=maintenance] .task-queue-list{position:relative}
body[data-page=maintenance] .task-queue-list>.pagination{position:absolute;right:14px;top:9px;padding:0;border:0;font-size:11px}
.queue-list-heading{padding-right:250px}
@media(max-width:600px){body[data-page=maintenance] .task-queue-list>.pagination{position:static;padding:6px 14px;border-bottom:1px solid var(--theme-edf1f3,#edf1f3)}.queue-list-heading{padding-right:16px}}
body[data-page] .pill{width:fit-content;max-width:100%;flex:0 0 auto;align-self:flex-start;justify-self:start}

/* Editorial task detail: all presentation rules stay inside this component. */
.task-editorial.te-enhanced .te-composer:not([open]){display:none}
.task-editorial summary{min-height:0;margin:0;box-shadow:none;background:transparent;border:0;border-radius:0;text-align:left;justify-content:flex-start}
.task-editorial summary::before,.task-editorial summary::after{display:none!important}
.task-editorial .intervention-comment{margin:0;padding:0;min-width:0;flex:0 1 auto}
.task-editorial .intervention-comment summary{display:block;padding:0;line-height:1.4}
.task-editorial .task-attachments summary{padding:0;display:block;line-height:1.5}
.task-editorial{background:var(--dark-surface-fff,#fff);border:1px solid var(--theme-e2eaee,#e2eaee);border-radius:14px;padding:28px;min-width:0;color:var(--dark-text-203b49,#203b49)}
.task-editorial .te-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding-bottom:24px;border-bottom:1px solid var(--theme-e8eef1,#e8eef1)}
.task-editorial .te-identity{min-width:0}.task-editorial .te-eyebrow{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:12px;margin-bottom:10px}
.task-editorial .te-ticket{color:var(--dark-text-097c92,#097c92);font-weight:650;letter-spacing:.6px}.task-editorial .te-category{color:var(--dark-text-71838e,#71838e);border-left:1px solid var(--theme-dce5ea,#dce5ea);padding-left:10px}
.task-editorial h1{font-size:clamp(24px,2vw,32px);line-height:1.2;margin:0 0 10px;letter-spacing:-.6px;overflow-wrap:anywhere}
.task-editorial .te-context{display:inline-flex;align-items:center;gap:7px;color:var(--dark-text-647d8c,#647d8c);font-size:13px}.task-editorial .te-context .icon{width:16px;height:16px;color:var(--dark-text-0c7e94,#0c7e94)}
.task-editorial .te-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.task-editorial .te-actions .form-grid{display:block;margin:0;width:auto}
.task-editorial .btn{font-size:13px;min-height:38px;padding:9px 13px;border-radius:8px;white-space:normal;text-align:center;box-shadow:none}
.task-editorial .te-finish,.task-editorial .te-edit,.task-editorial .te-state-save{background:var(--dark-surface-fff,#fff);color:var(--dark-text-315260,#315260);border:1px solid var(--theme-dce6eb,#dce6eb)}.task-editorial .te-finish:hover,.task-editorial .te-edit:hover{background:var(--dark-surface-f5fafb,#f5fafb)}
.task-editorial .te-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:32px;padding-top:26px;align-items:start}.task-editorial .te-main{min-width:0}
.task-editorial h2{font-size:17px;font-weight:650;line-height:1.3;color:var(--dark-text-203b49,#203b49);margin:0 0 12px}.task-editorial h3{font-size:13px;margin:0 0 12px;color:var(--dark-text-315260,#315260)}
.task-editorial .preserve{font-size:14px;font-weight:400;line-height:1.65;color:var(--dark-text-506977,#506977);margin:0;overflow-wrap:anywhere}.task-editorial .te-brief{padding-bottom:22px}
.task-editorial .te-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:22px 0 16px;border-bottom:1px solid var(--theme-e8eef1,#e8eef1)}.task-editorial .te-section-heading h2{margin:0;font-size:20px}
.task-editorial .te-total{text-align:right;color:var(--dark-text-247e92,#247e92);font-size:15px;font-weight:650}.task-editorial [data-task-time-hint]{display:block;color:var(--dark-text-82939e,#82939e);font-size:11px;font-weight:400;margin-top:3px}
.task-editorial .te-entry{padding:20px 0;border-bottom:1px solid var(--theme-e8eef1,#e8eef1);background:var(--dark-surface-fff,#fff)}.task-editorial .te-entry-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.task-editorial .te-worker{display:flex;align-items:center;gap:8px;min-width:0;font-size:13px;overflow-wrap:anywhere}.task-editorial .te-worker .avatar{width:29px;height:29px;flex-shrink:0;font-size:10px;border-radius:50%;background:var(--dark-surface-eaf5f8,#eaf5f8);color:var(--dark-text-087b91,#087b91)}
.task-editorial .te-duration{font-size:13px;color:var(--dark-text-214250,#214250);font-variant-numeric:tabular-nums;white-space:nowrap}.task-editorial .te-date{display:block;color:var(--dark-text-81929c,#81929c);font-size:12px;margin:6px 0 10px}
.task-editorial .intervention-images{margin-top:12px}.task-editorial .intervention-images a{background:var(--dark-surface-f7fafb,#f7fafb);border-color:var(--theme-e5ecef,#e5ecef);font-size:12px}.task-editorial .intervention-images img{height:64px;width:96px;object-fit:cover;border-radius:5px}
.task-editorial .intervention-note{background:transparent;border-radius:0;border-left:2px solid var(--theme-d4e5e9,#d4e5e9);padding:8px 12px;margin:12px 0 0}.task-editorial .intervention-note small{font-size:12px;color:var(--dark-text-7b8d98,#7b8d98)}.task-editorial .intervention-note p{margin-top:4px}
.task-editorial .intervention-actions{gap:16px;margin-top:12px;align-items:flex-start}.task-editorial .intervention-actions .text-link,.task-editorial .intervention-comment summary{font-size:12px;font-weight:500;color:var(--dark-text-278398,#278398)}.task-editorial .intervention-comment .form-grid{margin-top:12px}
.task-editorial .te-details{border-left:1px solid var(--theme-e6edf0,#e6edf0);padding-left:26px;min-width:0}.task-editorial .te-details h2{font-size:15px;margin-bottom:20px}.task-editorial .te-details>.form-grid{display:block;margin:0 0 18px}.task-editorial .te-details select{width:100%;min-height:38px;font-size:13px;padding:8px;border-radius:7px}.task-editorial .te-state-save{margin-top:8px}
.task-editorial .te-field{display:flex;flex-direction:column;align-items:flex-start;gap:7px;margin:0 0 18px;font-size:13px}.task-editorial .te-field>span:first-child,.task-editorial .te-details label{font-size:12px;color:var(--dark-text-7b8e99,#7b8e99)}.task-editorial .te-field strong{font-size:13px;font-weight:500}.task-editorial .te-field .pill{font-size:11px;padding:5px 8px}.task-editorial .te-dedication{padding-top:18px;margin-top:22px;border-top:1px solid var(--theme-e6edf0,#e6edf0)}.task-editorial .te-dedication>div{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;font-size:13px;margin-bottom:12px}.task-editorial .te-dedication>div>span{color:var(--dark-text-7b8e99,#7b8e99)}.task-editorial .te-dedication strong{text-align:right;font-weight:600;font-variant-numeric:tabular-nums}
.task-editorial .te-composer{border:1px solid var(--theme-dfeaf0,#dfeaf0);border-radius:9px;background:var(--dark-surface-f8fbfc,#f8fbfc);margin:0 0 8px;scroll-margin-top:24px}.task-editorial .te-composer>summary{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;color:var(--dark-text-167e93,#167e93);font-size:13px;cursor:pointer;list-style:none}.task-editorial .te-composer>summary::-webkit-details-marker{display:none}.task-editorial .te-composer>summary .icon{width:15px;height:15px}.task-editorial .te-composer[open]>summary{border-bottom:1px solid var(--theme-e2edf1,#e2edf1)}.task-editorial .te-composer-content{padding:18px}.task-editorial .te-composer-content h2{font-size:15px}.task-editorial .form-grid{gap:12px}.task-editorial .form-grid label{font-size:12px;color:var(--dark-text-6a808d,#6a808d)}.task-editorial .form-grid input,.task-editorial .form-grid textarea{font-size:14px;min-height:38px;background:var(--dark-surface-fff,#fff);border-radius:7px}.task-editorial .form-grid textarea{min-height:90px}.task-editorial .form-grid>.btn{width:fit-content}.task-editorial .intervention-upload small{font-size:11px;color:var(--dark-text-81939f,#81939f)}.task-editorial .task-attachments{border-top:1px solid var(--theme-e6edf0,#e6edf0);padding-top:16px;margin-top:20px}.task-editorial .task-attachments summary{font-size:12px}.task-editorial .task-attachments .form-grid{grid-template-columns:1fr;margin-top:12px}.task-editorial .task-attachments .full{grid-column:auto}.task-editorial .te-legacy-session{margin-top:20px;padding:12px;background:var(--dark-surface-fff8e9,#fff8e9);border-radius:8px}.task-editorial .te-legacy-session .time-display{font-size:22px}
@media(max-width:1050px){.task-editorial .te-heading{flex-wrap:wrap}.task-editorial .te-actions{justify-content:flex-start}.task-editorial .te-layout{grid-template-columns:minmax(0,1fr) 220px;gap:22px}.task-editorial .te-details{padding-left:20px}}
@media(max-width:680px){.task-editorial{padding:18px}.task-editorial .te-layout{grid-template-columns:1fr;gap:24px}.task-editorial .te-details{border-left:0;border-top:1px solid var(--theme-e6edf0,#e6edf0);padding:20px 0 0}.task-editorial .te-heading{padding-bottom:18px}.task-editorial h1{font-size:24px}.task-editorial .te-actions{gap:6px}.task-editorial .btn{font-size:12px}.task-editorial .form-grid input,.task-editorial .form-grid textarea,.task-editorial .form-grid select{font-size:16px}.task-editorial .te-composer-content{padding:14px}}
@media(max-width:1450px){.task-queue-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.task-queue-stats{grid-template-columns:1fr}.task-queue-stats article{padding:12px 14px}.queue-stat-title h2{font-size:15px}}
.dashboard-task[data-status="Esperando al cliente"]{border-left:3px solid #d4b877}.dashboard-task[data-status="Esperando al técnico"]{border-left:3px solid #7ba9c6}.dashboard-task[data-status="Reabierto"]{border-left:3px solid #9a91ba}
@media(max-width:480px){.task-dates{gap:10px}.task-dates input{padding:10px 6px;font-size:14px}.task-builder .estimate-input{grid-template-columns:minmax(0,1fr) minmax(100px,1fr)}}
@media(max-width:760px){body[data-page=dashboard] .dashboard-report-filters{margin:0;width:100%;gap:8px}.dashboard-report-filters .dashboard-worker{flex:1 1 150px!important}.dashboard-report-filters .dashboard-worker select{width:100%;max-width:none!important}}
/* Compact task spacing and full-width intervention comments. */
.task-editorial .te-heading{padding-bottom:18px}
.task-editorial .te-layout{padding-top:20px;gap:26px}
.task-editorial .te-brief{padding-bottom:8px}
.task-editorial .te-section-heading{padding:12px 0}
.task-editorial .te-entry{padding:16px 0}
.task-editorial .intervention-comment[open]{flex:1 1 100%;width:100%}
.task-editorial .intervention-comment .form-grid{display:grid;grid-template-columns:minmax(0,1fr);width:100%;max-width:none;margin:10px 0 0;gap:10px}
.task-editorial .intervention-comment .form-grid>.full{grid-column:auto;width:100%}
.task-editorial .intervention-comment textarea{width:100%;min-height:110px!important;font-size:14px;line-height:1.55}
.task-editorial .intervention-comment .form-grid>.btn{justify-self:start;margin:0;font-size:13px}
.task-editorial .intervention-note .preserve{font-size:14px;line-height:1.6}
@media(max-width:680px){.task-editorial .intervention-comment textarea{font-size:16px}}
.task-editorial .te-event{display:flex;align-items:flex-start;gap:10px;padding:12px 0;border-bottom:1px solid var(--theme-e8eef1,#e8eef1);font-size:13px}
.task-editorial .te-event-icon{display:grid;place-items:center;width:26px;height:26px;flex:0 0 auto;background:var(--dark-surface-f0f6f8,#f0f6f8);color:var(--dark-text-4e8696,#4e8696);border-radius:50%}
.task-editorial .te-event-icon .icon{width:14px;height:14px}
.task-editorial .te-event p{margin:0 0 4px;line-height:1.55;color:var(--dark-text-587380,#587380);overflow-wrap:anywhere}
.task-editorial .te-event b{color:var(--dark-text-284c5e,#284c5e);margin-right:4px;font-weight:600}
.task-editorial .te-event time{font-size:12px;color:var(--dark-text-81929c,#81929c)}
body[data-page=dashboard] .dashboard-pending-pair{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;min-width:0}
body[data-page=dashboard] .dashboard-pending-pair>.dashboard-group{margin:0;min-width:0}
@media(min-width:850px){body[data-page=dashboard] .dashboard-pending-pair.is-empty{grid-template-columns:repeat(2,minmax(0,1fr))}}
.mail-toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:0 0 18px}.mail-toolbar .form-grid{display:block;margin:0}.mail-toolbar .btn{font-size:13px;padding:9px 12px}.mail-secondary{display:block;font-size:12px;margin-top:5px;color:var(--dark-text-718896,#718896)}.mail-settings{max-width:960px;margin-bottom:18px}.mail-settings>p{font-size:14px}.mail-settings small{font-size:12px;color:var(--dark-text-718896,#718896)}.mail-settings details{margin-top:16px}.mail-rule{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid var(--theme-e4edf1,#e4edf1)}.mail-rule small{display:block}.mail-thread{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:20px;align-items:start}.mail-thread .form-grid{max-width:none}.mail-thread aside .form-grid{grid-template-columns:1fr;margin-bottom:22px}.mail-thread .preserve{font-size:14px;line-height:1.6;overflow-wrap:anywhere}.mail-message{padding:18px 0;border-top:1px solid var(--theme-e4edf1,#e4edf1)}.mail-message header{display:flex;gap:12px;justify-content:space-between;flex-wrap:wrap;font-size:13px}.mail-message time,.mail-message small{font-size:12px;color:var(--dark-text-718896,#718896)}.mail-sent{border-left:3px solid #bedde4;padding-left:16px}.mail-signature{font-size:12px;color:var(--dark-text-718896,#718896)}.mail-thread textarea{min-height:150px}.mail-thread .form-grid>.btn{width:fit-content}@media(max-width:900px){.mail-thread{grid-template-columns:1fr}}

.mail-thread .mail-reply-composer{background:var(--dark-surface-f0f8fa,#f0f8fa);border:1px solid #c4e3e9;border-left:4px solid var(--theme-087e93,#087e93);border-radius:12px;padding:18px;margin:12px 0 20px}.mail-reply-composer h2{font-size:1.25rem;margin:0 0 6px}.mail-reply-composer textarea{background:var(--dark-surface-fff,#fff);min-height:140px;width:100%}.mail-reply-composer .btn{justify-self:start;min-width:180px}

.signature-preview{overflow:auto;padding:16px;background:var(--dark-surface-fff,#fff);border:1px solid var(--theme-dfebee,#dfebee);border-radius:10px}.signature-preview table{width:auto}.signature-preview td{background:transparent!important}.te-main .mail-reply-composer{border:1px solid #c4e3e9;background:var(--dark-surface-f0f8fa,#f0f8fa);border-radius:12px;padding:16px;margin:12px 0}.te-mail-entry{border-left:3px solid #65aeba;padding-left:16px}.te-mail-out{border-left-color:#93b5de}.te-mail-entry .preserve{overflow-wrap:anywhere}.mail-inbox-toolbar{display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:18px}.mail-tabs{display:flex;gap:4px;flex-wrap:wrap;background:var(--dark-surface-f3f7f8,#f3f7f8);border-radius:10px;padding:4px}.mail-tabs a{font-size:13px;padding:9px 12px;border-radius:7px;text-decoration:none;color:var(--dark-text-3d5967,#3d5967)}.mail-tabs .is-active{background:var(--dark-surface-087e93,#087e93);color:var(--dark-text-fff,#fff)}.mail-toolbar-actions{display:flex;gap:8px;align-items:center;margin-left:auto}.mail-toolbar-actions .form-grid{display:block;margin:0}.mail-toolbar-actions .btn{font-size:13px;padding:9px 12px;box-shadow:none;margin:0}.mail-bulk-actions{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin:12px 0;font-size:12px}.mail-bulk-actions label{display:flex;gap:6px;align-items:center}.mail-bulk-form input[type=checkbox]{width:16px;height:16px;flex:none;padding:0}.mail-bulk-actions .btn{margin-left:auto}.mail-bulk-form .danger{background:var(--dark-surface-b42336,#b42336);color:var(--dark-text-fff,#fff)}@media(max-width:650px){.mail-toolbar-actions{width:100%;justify-content:flex-end}.signature-preview{padding:8px}}

.mail-toolbar-actions .btn.mail-sync-button{background:var(--dark-surface-11815c,#11815c);border:1px solid var(--theme-11815c,#11815c);color:var(--dark-text-fff,#fff);min-width:0;min-height:38px}.mail-toolbar-actions .btn.mail-sync-button:hover{background:var(--dark-surface-0c6849,#0c6849);border-color:var(--theme-0c6849,#0c6849)}.mail-sync-note{font-size:12px;color:var(--dark-text-6b7f88,#6b7f88);margin:-6px 0 16px}body[data-page=maintenance] .task-table{table-layout:fixed;width:100%;min-width:1050px}body[data-page=maintenance] .task-table th:nth-child(1){width:40%}body[data-page=maintenance] .task-table th:nth-child(2){width:16%}body[data-page=maintenance] .task-table th:nth-child(3){width:16%}body[data-page=maintenance] .task-table th:nth-child(4){width:10%}body[data-page=maintenance] .task-table th:nth-child(5){width:8%}body[data-page=maintenance] .task-table th:nth-child(6){width:10%}body[data-page=maintenance] .task-table .cell-with-icon>span:last-child{min-width:0;overflow-wrap:anywhere}body[data-page=maintenance] .task-table .person-inline{white-space:normal;overflow-wrap:anywhere}

.signature-preview-frame{width:100%;min-height:220px;border:1px solid var(--theme-dbe7eb,#dbe7eb);border-radius:10px;background:var(--dark-surface-fff,#fff)}.mail-settings [data-signature-paste]{font-size:13px;min-height:160px}.nav-count[data-mail-pending-url]{background:var(--dark-surface-b42336,#b42336);color:var(--dark-text-fff,#fff)}.nav-count[data-mail-pending-url].is-empty{display:none}

.mail-folder-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;padding:1px 5px;margin-left:4px;border-radius:6px;font-size:11px;font-variant-numeric:tabular-nums;background:var(--dark-surface-e0ebee,#e0ebee);color:var(--dark-text-395c68,#395c68)}.mail-tabs .is-active .mail-folder-count{background:rgba(255,255,255,.22);color:var(--dark-text-fff,#fff)}

.signature-visual{border:1px solid var(--theme-d9e6eb,#d9e6eb);border-radius:12px;overflow:hidden;background:var(--dark-surface-fff,#fff)}.signature-tools{display:flex;flex-wrap:wrap;gap:5px;padding:10px;background:var(--dark-surface-f3f7f8,#f3f7f8);border-bottom:1px solid var(--theme-d9e6eb,#d9e6eb)}.signature-tools button,.signature-tools .signature-image-button{font-size:12px;padding:7px 10px;border:1px solid var(--theme-d7e3e7,#d7e3e7);border-radius:6px;background:var(--dark-white-surface,white);color:var(--dark-text-294b5a,#294b5a);cursor:pointer;display:inline-flex;align-items:center}.signature-editor-frame{display:block;width:100%;height:270px;border:0;background:var(--dark-white-surface,white)}.signature-visual>p{padding:0 12px}.signature-visual textarea[hidden]{display:none}
.task-editorial .te-client-request{padding:16px 18px;margin:0 0 14px;border-radius:10px;background:var(--dark-surface-f1f7fb,#f1f7fb);border:1px solid var(--theme-dfebf3,#dfebf3)}.task-editorial .te-client-request>.preserve{color:var(--dark-text-243e50,#243e50);font-size:15px;line-height:1.7}.task-editorial .te-message-more{margin-top:8px}.te-message-more>summary{font-size:12px;color:var(--dark-text-087e93,#087e93);cursor:pointer;margin-bottom:8px}.task-editorial .te-mail-out{border-left:0;background:var(--dark-surface-f4f8fd,#f4f8fd);border-radius:10px;padding:16px 18px;margin:10px 0}.task-editorial .te-mail-in{padding-left:18px}.task-editorial .te-edit{background:var(--dark-surface-edf2ff,#edf2ff);color:var(--dark-text-315bba,#315bba);border-color:var(--theme-d6e1fb,#d6e1fb)}.task-editorial .te-finish{background:var(--dark-surface-e9f6f1,#e9f6f1);color:var(--dark-text-087957,#087957);border-color:#c8e9dc}.task-editorial .te-edit:hover{background:var(--dark-surface-e0e9ff,#e0e9ff)}.task-editorial .te-finish:hover{background:var(--dark-surface-d7eee3,#d7eee3)}.task-editorial .te-reply{background:var(--dark-surface-315bba,#315bba);border-color:#315bba;color:var(--dark-text-fff,#fff)}.task-editorial.te-enhanced .mail-reply-composer:not([open]){display:none}.mail-reply-composer>summary{cursor:pointer;font-weight:600;font-size:14px;color:var(--dark-text-166c83,#166c83)}.task-editorial .te-mail-entry>.text-link{display:inline-block;margin-top:10px}.mail-thread .mail-sent{border-left:0;padding:16px;background:var(--dark-surface-f4f8fd,#f4f8fd);border-radius:10px;margin-top:12px}
.task-editorial .te-actions{align-items:center;gap:8px}.task-editorial .te-actions>.btn,.task-editorial .te-actions>form .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:42px;min-height:42px;box-sizing:border-box;margin:0;padding:0 14px;line-height:1;font-size:13px;white-space:nowrap;vertical-align:middle}.task-editorial .te-actions>form.form-grid{display:flex;align-items:center;align-self:center;margin:0;padding:0;gap:0}.task-editorial .te-actions .icon{width:16px;height:16px;flex:none}
.task-editorial .te-context-row{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:8px}.task-editorial .te-context-row .te-context{margin:0}.task-editorial .te-service{display:inline-flex;align-items:center;gap:7px;font-size:12px;color:var(--dark-text-718896,#718896)}.task-editorial .te-completed{font-size:12px;color:var(--dark-text-718896,#718896);white-space:nowrap}.task-editorial .te-priority{display:inline-flex;align-items:center}.task-editorial .te-eyebrow{flex-wrap:wrap;align-items:center;row-gap:6px}
body:is([data-page=calendar],[data-page=seo_calendar]) .calendar-grid{gap:5px;margin-top:12px;align-items:stretch}body:is([data-page=calendar],[data-page=seo_calendar]) .calendar-weekday{padding:4px;font-size:11px;font-weight:600;color:var(--dark-text-78909c,#78909c)}body:is([data-page=calendar],[data-page=seo_calendar]) .calendar-day{min-height:92px;padding:6px;background:var(--dark-surface-fcfdfe,#fcfdfe);border:1px solid var(--theme-e5edf1,#e5edf1);border-radius:7px}body:is([data-page=calendar],[data-page=seo_calendar]) .calendar-day h3{font-size:12px;line-height:16px;margin:0 0 5px;color:var(--dark-text-627b88,#627b88)}body:is([data-page=calendar],[data-page=seo_calendar]) .calendar-day.today{border-color:#3798aa;background:var(--dark-surface-f2fafb,#f2fafb)}body:is([data-page=calendar],[data-page=seo_calendar]) .calendar-task{padding:7px 8px;margin-bottom:5px;border-left-width:2px;border-radius:5px;line-height:1.35;box-shadow:none}body:is([data-page=calendar],[data-page=seo_calendar]) .calendar-task:last-child{margin-bottom:0}body:is([data-page=calendar],[data-page=seo_calendar]) .calendar-website{font-size:13px;font-weight:700;line-height:1.35;color:var(--dark-text-173f50,#173f50);margin-bottom:3px}body:is([data-page=calendar],[data-page=seo_calendar]) .calendar-event-title{display:block;font-size:11px;font-weight:400;color:var(--dark-text-637b86,#637b86);line-height:1.35}body:is([data-page=calendar],[data-page=seo_calendar]) .calendar-task .calendar-assignee{font-size:10px;color:var(--dark-text-7d9099,#7d9099);line-height:1.3;margin:3px 0 0}body:is([data-page=calendar],[data-page=seo_calendar]) .seo-calendar-entry{background:var(--dark-surface-f0f8f5,#f0f8f5)}body:is([data-page=calendar],[data-page=seo_calendar]) .calendar-task .badge{font-size:10px;padding:2px 5px;margin-top:4px}@media(max-width:760px){body:is([data-page=calendar],[data-page=seo_calendar]) .calendar-day{min-height:0;margin-bottom:7px;padding:8px}body:is([data-page=calendar],[data-page=seo_calendar]) .calendar-website{font-size:13px}}

/* Justificaciones KD */
.kd-meta,.kd-meta>span{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.kd-meta{justify-content:space-between;margin-bottom:18px}.kd-duration{display:grid;grid-template-columns:1fr 1fr;gap:10px}.kd-editor textarea,.kd-detail textarea{width:100%;min-height:100px}.kd-detail h2{margin:22px 0 12px}.kd-file{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid var(--theme-edf1f4,#edf1f4)}.kd-file a{display:flex;gap:8px;align-items:center;flex-wrap:wrap;overflow-wrap:anywhere}.kd-file small,.kd-comment small{color:var(--dark-text-738398,#738398)}.kd-comment{padding:12px 0;border-bottom:1px solid var(--theme-edf1f4,#edf1f4)}.kd-comment>div{display:flex;gap:16px;align-items:center;flex-wrap:wrap}.kd-comment p{margin:8px 0}.service-kd,.legend-kd{background:var(--dark-surface-b484a7,#b484a7);fill:#b484a7}@media(max-width:600px){.kd-file{align-items:flex-start;flex-direction:column}}

/* Responsive KD attachment cards */
.kd-documents{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,235px),285px));gap:10px;align-items:start}
.kd-documents .kd-file{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:8px;padding:12px 14px;min-width:0;border:1px solid var(--theme-e0e9ee,#e0e9ee);border-radius:12px;background:linear-gradient(135deg,var(--dark-surface-f3f9fb,#f3f9fb),var(--dark-surface-fff,#fff));box-shadow:0 2px 6px var(--theme-183b4c04,#183b4c04)}
.kd-file>a{display:grid;grid-template-columns:24px minmax(0,1fr);gap:4px 8px;align-items:start;font-size:13px;line-height:1.4;font-weight:600;overflow-wrap:anywhere}
.kd-file>a .icon{grid-row:1/3;color:var(--dark-text-12869a,#12869a);margin-top:1px}.kd-file>a small{grid-column:2;font-size:11px;font-weight:400}
.kd-file>details{margin:0;padding:0;border:0;background:transparent}.kd-file>details>summary{margin:0;padding:2px 0;font-size:11px;min-height:0;color:var(--dark-text-788896,#788896)}.kd-file>details .form-grid{display:flex;flex-direction:column;gap:8px;margin-top:8px}.kd-file>details .form-grid label{font-size:12px}.kd-file>details .btn{font-size:12px;padding:7px 10px;min-height:32px}
@media(max-width:600px){.kd-documents{grid-template-columns:minmax(0,1fr)}.kd-documents .kd-file{padding:10px 12px}}
.kd-file>details .form-grid>label{display:flex;align-items:flex-start;gap:7px;line-height:1.4;min-width:0}.kd-file>details .form-grid input[type=checkbox]{appearance:auto;display:inline-block;flex:0 0 15px;width:15px;height:15px;min-height:15px;padding:0;margin:1px 0 0;align-self:flex-start}.kd-file>details .form-grid>.btn{align-self:flex-start}

.onboarding-section{padding:0 0 18px;margin:0;border-bottom:1px solid var(--theme-e8eef2,#e8eef2)}.onboarding-section h2{margin:0 0 12px}.onboarding-section .form-grid{margin:0}.onboarding-panel .onboarding-check{display:flex;align-items:center;gap:8px}.onboarding-check input[type=checkbox]{width:16px;min-height:16px;height:16px;margin:0;flex:0 0 16px}.onboarding-panel .service-toggle{font-size:15px;font-weight:650;margin:10px 0}.onboarding-service{padding:12px;border-radius:10px;background:var(--dark-surface-f7fafb,#f7fafb)}.onboarding-panel [hidden]{display:none!important}.onboarding-panel textarea{min-height:70px}.onboarding-panel input[readonly]{background:var(--dark-surface-edf4f6,#edf4f6);color:var(--dark-text-607680,#607680)}.onboarding-picker{margin-bottom:14px}

/* Compact data-entry forms; navigation and display cards retain their layout. */
body[data-page] .content .form-grid{gap:10px 14px;align-items:start}
body[data-page] .content .form-grid label{gap:4px;font-size:12px;line-height:1.4}
body[data-page] .content .form-grid input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]),body[data-page] .content .form-grid select{min-height:36px;height:36px;padding:6px 10px;font-size:13px;font-weight:400;border-radius:7px}
body[data-page] .content .form-grid textarea{min-height:62px;height:62px;padding:8px 10px;font-size:13px;font-weight:400;line-height:1.5;resize:vertical;border-radius:7px}
body[data-page] .content .form-grid textarea:focus{min-height:62px}
body[data-page] .content .form-grid h2.full{padding-top:12px}body[data-page] .content .form-grid .project-save{margin-top:4px;padding-top:10px}
.onboarding-panel{padding:18px 20px}.onboarding-panel>.form-grid{gap:14px}
.onboarding-panel .onboarding-section{padding-bottom:12px}.onboarding-section h2{font-size:16px;margin-bottom:8px}
.onboarding-section p{font-size:12px;line-height:1.45;margin-bottom:8px}
.onboarding-section>.form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.onboarding-section [data-new-client]{grid-template-columns:repeat(3,minmax(0,1fr))}
.onboarding-section>.form-grid>label:has([name=contact_emails]){grid-column:auto}
.onboarding-panel textarea[name=contact_emails]{height:62px;min-height:62px}
.onboarding-services{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.onboarding-service-card{min-width:0}.onboarding-panel .service-toggle{margin:4px 0 8px;font-size:14px}
.onboarding-panel .onboarding-service{padding:10px;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.onboarding-service>label{grid-column:span 3;min-width:0}
.onboarding-service>label:has([name=maintenance_owner]),.onboarding-service>label:has([name=seo_owner]){grid-column:span 4}
.onboarding-service>label:has([name=maintenance_status]),.onboarding-service>label:has([name=monthly_posts]),.onboarding-service>label:has([name=included_hours]),.onboarding-service>label:has([name=fee]),.onboarding-service>label:has([name=billing_period]){grid-column:span 2}
.onboarding-service>.full{grid-column:1/-1}.onboarding-panel .seo-weekdays{gap:5px;margin:0;padding:0;border:0}.onboarding-panel .seo-weekdays legend{font-size:12px;margin-bottom:6px}.onboarding-panel .seo-weekdays label{padding:5px 7px;font-size:11px;border-radius:6px;gap:4px;min-height:30px}
.onboarding-panel [data-service=kit_digital]{grid-template-columns:repeat(4,minmax(0,1fr))}.onboarding-panel [data-service=kit_digital]>label{grid-column:auto}
.onboarding-picker{padding:8px 12px;max-width:720px}.onboarding-picker label{flex:1;min-width:0}
@media(min-width:1400px){.content .panel:not(.task-editorial):not(.onboarding-panel):not(.mail-settings):not(.kd-detail)>.form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1200px){.onboarding-services{grid-template-columns:1fr}.onboarding-section>.form-grid,.onboarding-section [data-new-client]{grid-template-columns:repeat(2,minmax(0,1fr))}.onboarding-section>.form-grid>label:has([name=contact_emails]){grid-column:1/-1}}
@media(max-width:650px){.onboarding-panel{padding:14px}.onboarding-section>.form-grid,.onboarding-section [data-new-client],.onboarding-panel [data-service=kit_digital]{grid-template-columns:1fr}.onboarding-panel .onboarding-service{grid-template-columns:repeat(2,minmax(0,1fr))}.onboarding-service>label,.onboarding-service>label:has([name]){grid-column:1/-1}.onboarding-panel [data-service=kit_digital]>label{grid-column:1/-1}body[data-page] .content .form-grid input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]),body[data-page] .content .form-grid select{min-height:40px;height:40px;font-size:16px}body[data-page] .content .form-grid textarea{font-size:16px}.onboarding-picker{max-width:none}}

.attachment-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),340px));gap:8px;margin:10px 0}
.attachment-grid .attachment-card{display:flex;align-items:flex-start;gap:10px;width:auto;min-width:0;padding:11px 12px;border:1px solid var(--theme-dfe8ee,#dfe8ee);border-radius:10px;background:var(--dark-surface-f7fafc,#f7fafc);text-decoration:none}
.attachment-card .attachment-symbol{display:flex;flex-direction:column;align-items:center;gap:3px;flex:0 0 34px;color:var(--dark-text-b34b50,#b34b50)}.attachment-symbol .icon{width:25px;height:25px}.attachment-symbol b{font-size:10px}.attachment-image .attachment-symbol{color:var(--dark-text-208797,#208797)}
.attachment-card .attachment-info{display:flex;flex-direction:column;gap:6px;min-width:0}.attachment-card .attachment-info strong{font-size:12px;font-weight:600;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;line-height:1.45}.attachment-card .attachment-info small{display:flex;align-items:center;gap:5px;font-size:11px;color:var(--dark-text-187f94,#187f94)}.attachment-info small .icon{width:14px;height:14px}.attachment-card:hover{border-color:#7bb6c2;background:var(--dark-surface-eff7fa,#eff7fa)}

.task-builder .workspace-options{grid-auto-rows:88px;max-height:288px;gap:10px;padding:2px;align-content:start}.task-builder .workspace-option{min-height:0;margin:0;padding:10px 12px}.task-builder .workspace-option>span{min-width:0;overflow-wrap:anywhere}

/* Unified service selection and aligned onboarding fields */
body[data-page=onboarding] .onboarding-picker{max-width:none;margin-bottom:12px;border:0;background:var(--dark-surface-f7fafb,#f7fafb);padding:10px 14px;border-radius:10px;box-shadow:none}
body[data-page=onboarding] .onboarding-picker label{max-width:560px}
body[data-page=onboarding] .onboarding-panel{padding:20px;border-radius:14px;box-shadow:none}
body[data-page=onboarding] .onboarding-section{border:0;padding:0}
body[data-page=onboarding] .onboarding-panel>.form-grid{gap:18px}
body[data-page=onboarding] .onboarding-section>.form-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 14px}
body[data-page=onboarding] [data-new-client]:not([hidden]){display:contents}
body[data-page=onboarding] .onboarding-section label:has([name=contact_emails]){grid-column:span 2}
body[data-page=onboarding] .onboarding-panel textarea[name=contact_emails]{height:36px;min-height:36px}
body[data-page=onboarding] .onboarding-panel textarea[name=contact_emails]:focus{min-height:62px}
body[data-page=onboarding] .onboarding-toggles{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 12px}
body[data-page=onboarding] .onboarding-toggles .service-toggle{display:inline-flex;align-items:center;gap:8px;margin:0;padding:10px 14px;min-height:40px;border:1px solid var(--theme-dce6eb,#dce6eb);border-radius:9px;background:var(--dark-surface-fff,#fff);font-size:13px;line-height:1;cursor:pointer}
body[data-page=onboarding] .onboarding-toggles .service-toggle:has(:checked){background:var(--dark-surface-eaf6f8,#eaf6f8);border-color:#6daebc;color:var(--dark-text-096c80,#096c80)}
body[data-page=onboarding] .onboarding-panel .onboarding-check input[type=checkbox]{appearance:auto;display:block;flex:0 0 16px;width:16px;height:16px;min-height:16px;padding:0;margin:0;align-self:center}
body[data-page=onboarding] .onboarding-services{gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}
body[data-page=onboarding] .onboarding-service-card:has(>[hidden]),body[data-page=onboarding] .onboarding-kit:has(>[hidden]){display:none}
body[data-page=onboarding] .onboarding-service-card:only-child{max-width:720px}
body[data-page=onboarding] .onboarding-service{padding:14px;background:var(--dark-surface-f6f9fb,#f6f9fb);border:1px solid var(--theme-e3ebef,#e3ebef);border-radius:10px}
body[data-page=onboarding] .onboarding-service h3{font-size:14px;margin:0 0 3px;color:var(--dark-text-204657,#204657)}
body[data-page=onboarding] .onboarding-panel [data-service=kit_digital]{grid-template-columns:repeat(4,minmax(0,1fr));align-items:end}
body[data-page=onboarding] [data-service=kit_digital]>.onboarding-check{display:flex;align-items:center;gap:8px;min-height:36px;margin:0;padding:6px 8px;line-height:1.4;grid-column:auto;align-self:end}
body[data-page=onboarding] .onboarding-panel .project-save{border-top:1px solid var(--theme-e7eef2,#e7eef2);margin:0;padding-top:14px}
@media(max-width:1200px){body[data-page=onboarding] .onboarding-section>.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-page=onboarding] .onboarding-services{grid-template-columns:1fr}body[data-page=onboarding] .onboarding-panel [data-service=kit_digital]{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){body[data-page=onboarding] .onboarding-section>.form-grid,body[data-page=onboarding] .onboarding-panel [data-service=kit_digital]{grid-template-columns:1fr}body[data-page=onboarding] .onboarding-section label:has([name=contact_emails]){grid-column:1/-1}body[data-page=onboarding] .onboarding-panel{padding:14px}body[data-page=onboarding] .onboarding-toggles .service-toggle{padding:10px;font-size:12px}}

/* Client dossier: website-first, compact service overview. */
.client-detail{grid-template-columns:minmax(0,1fr) 300px;align-items:start;gap:20px}.client-web-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.client-web-heading h2{margin:0}.client-web-heading h2 span{font-size:12px;background:var(--dark-surface-e5f3f5,#e5f3f5);border-radius:6px;padding:3px 7px;color:var(--dark-text-087f91,#087f91)}.client-web-heading p{margin:5px 0 0;font-size:12px;color:var(--dark-text-718399,#718399)}.client-web-list{display:grid;gap:16px}.client-web-card{border:1px solid var(--theme-dfe9ef,#dfe9ef);border-radius:12px;overflow:hidden}.client-web-card header{display:flex;align-items:center;gap:12px;padding:16px;background:var(--dark-surface-f5fafb,#f5fafb)}.client-web-symbol{color:var(--dark-text-078197,#078197);display:grid;place-items:center;width:36px;height:36px;background:var(--dark-surface-e0f0f3,#e0f0f3);border-radius:9px}.client-web-card header>div{min-width:0;flex:1}.client-web-name{font-size:18px;font-weight:700;overflow-wrap:anywhere}.client-web-card header small{display:block;margin-top:4px;color:var(--dark-text-718399,#718399);overflow-wrap:anywhere}.client-services{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:16px}.client-service-heading{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.client-service-heading h3{font-size:13px;margin:0}.client-services dl{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;margin:14px 0 0;font-size:12px}.client-services dt{color:var(--dark-text-718399,#718399)}.client-services dd{margin:0;text-align:right;overflow-wrap:anywhere}.client-kit{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center;padding:12px 16px;background:var(--dark-surface-fffaf0,#fffaf0);font-size:12px;border-top:1px solid var(--theme-f1ead9,#f1ead9)}.client-kit small{font-size:12px}.client-web-card footer{display:flex;justify-content:flex-end;gap:14px;padding:12px 16px;font-size:12px}.client-web-card footer>span{margin-right:auto;white-space:pre-line;overflow-wrap:anywhere}.client-detail>.panel{min-width:0}.client-detail .section-gap{margin-top:20px}.page-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.page-actions .btn{min-height:40px;display:inline-flex;align-items:center;justify-content:center;margin:0}.page-actions .delete-actions{margin:0;padding:0}.title>.page-actions{margin-left:auto}@media(max-width:1100px){.client-detail{grid-template-columns:1fr}.client-services{grid-template-columns:1fr 1fr}}@media(max-width:650px){.client-services{grid-template-columns:1fr}.client-web-card header{flex-wrap:wrap}.page-actions{justify-content:flex-start}.title>.page-actions{margin-left:0}.client-services dd{text-align:left}}
.task-editorial .te-actions>.delete-actions{margin:0;padding:0;align-self:center;display:flex;align-items:center}.task-editorial .te-actions>.delete-actions>.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:42px;min-height:42px;box-sizing:border-box;margin:0;padding:0 14px;line-height:1;font-size:13px;white-space:nowrap}
.task-editorial .te-action-stack{display:flex;flex-direction:column;gap:10px;align-items:flex-end;flex-shrink:0}.task-editorial .te-work-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.task-editorial .te-work-actions>.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;height:34px;min-height:34px;padding:0 12px;margin:0;font-size:12px;line-height:1}.task-editorial .te-work-actions .icon{width:15px;height:15px;flex:none}@media(max-width:1050px){.task-editorial .te-action-stack{align-items:flex-start;max-width:100%;flex-shrink:1}.task-editorial .te-work-actions{justify-content:flex-start}}
.task-file-count{display:inline-flex;align-items:center;gap:5px;margin-top:5px;padding:3px 7px;border-radius:5px;background:var(--dark-surface-e9f3f6,#e9f3f6);color:var(--dark-text-08788b,#08788b);font-size:11px}.task-file-count[hidden]{display:none}.task-file-count .icon{width:13px;height:13px}.te-cloud-files .attachment-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;margin:8px 0}.te-cloud-files .attachment-card{width:100%;min-width:0;max-width:none;padding:10px;box-sizing:border-box}.te-cloud-files .attachment-info strong{font-size:12px}.te-cloud-files .attachment-symbol{flex:0 0 32px}.te-cloud-files h3{margin-bottom:10px}
.task-table .task-files-column{text-align:center;white-space:nowrap;width:80px}.task-files-column .task-file-count{margin:0;justify-content:center;min-width:34px}body[data-page=maintenance] .task-table th:nth-child(1){width:34%}body[data-page=maintenance] .task-table th:nth-child(2){width:15%}body[data-page=maintenance] .task-table th:nth-child(3){width:15%}body[data-page=maintenance] .task-table th:nth-child(7){width:8%}
.mail-inline-image{display:block;max-width:100%;height:auto;max-height:600px;object-fit:contain;object-position:left;margin:10px 0;border-radius:6px}
body[data-page] .task-table{table-layout:fixed;width:100%;min-width:1250px}body[data-page] .task-table th:nth-child(1){width:15%}body[data-page] .task-table th:nth-child(2){width:24%}body[data-page] .task-table th:nth-child(3){width:12%}body[data-page] .task-table th:nth-child(4){width:12%}body[data-page] .task-table th:nth-child(5){width:12%}body[data-page] .task-table th:nth-child(6){width:8%}body[data-page] .task-table th:nth-child(7){width:5%}body[data-page] .task-table th:nth-child(8){width:7%}body[data-page] .task-table th:nth-child(9){width:5%}.task-table .task-website-cell a{font-size:14px;font-weight:700;color:var(--dark-text-087d91,#087d91);overflow-wrap:anywhere}.task-table .task-requester-cell{overflow-wrap:anywhere}.task-table .cell-with-icon>span:last-child{min-width:0;overflow-wrap:anywhere}.task-editorial .te-context-row .te-context{font-size:16px;font-weight:700;color:var(--dark-text-087d91,#087d91)}
body[data-page] .task-table th:nth-child(2){width:27%}body[data-page] .task-table th:nth-child(7){width:9%}body[data-page] .task-table th:nth-child(8){width:5%}
body[data-page] .task-table th:nth-child(1){width:4%}body[data-page] .task-table th:nth-child(2){width:15%}body[data-page] .task-table th:nth-child(3){width:23%}body[data-page] .task-table th:nth-child(4){width:11%}body[data-page] .task-table th:nth-child(5){width:12%}body[data-page] .task-table th:nth-child(6){width:12%}body[data-page] .task-table th:nth-child(7){width:9%}body[data-page] .task-table th:nth-child(8){width:9%}body[data-page] .task-table th:nth-child(9){width:5%}.task-number-cell{font-variant-numeric:tabular-nums;font-weight:700}.task-number-cell a{color:var(--dark-text-087d91,#087d91)}
.task-table .task-website-cell a,.task-table .task-number-cell a{font-size:12px;font-weight:600}.task-table .task-state-heading th{padding:10px 16px;background:var(--dark-surface-f0f6f8,#f0f6f8);color:var(--dark-text-254757,#254757);font-size:12px;font-weight:650;text-align:left;border-top:1px solid var(--theme-dce8ec,#dce8ec)}.task-editorial .te-context-row .te-context{font-size:13px;font-weight:600}.task-editorial .te-ticket{font-size:12px}
body[data-page] .task-table .task-state-heading th{background:var(--dark-surface-e7eff4,#e7eff4);border-top:12px solid var(--theme-fff,#fff);border-bottom:1px solid var(--theme-d4e0e7,#d4e0e7);padding:12px 16px;color:var(--dark-text-294557,#294557);font-size:13px}body[data-page] .task-table .task-state-heading:first-child th{border-top-width:0}.task-state-heading th>span{display:inline-flex;align-items:center;gap:9px}.task-state-heading th>span:before{content:'';width:4px;height:18px;background:var(--dark-surface-668699,#668699);border-radius:3px}.task-state-heading[data-group-state="Pendiente"] th>span:before{background:var(--dark-surface-c18b16,#c18b16)}.task-state-heading[data-group-state="En curso"] th>span:before{background:var(--dark-surface-087f98,#087f98)}.task-state-heading[data-group-state="Esperando al técnico"] th>span:before{background:var(--dark-surface-5b64c8,#5b64c8)}.task-state-heading[data-group-state="Esperando al cliente"] th>span:before{background:var(--dark-surface-bd7628,#bd7628)}.task-state-heading[data-group-state="Reabierto"] th>span:before{background:var(--dark-surface-8960ab,#8960ab)}.task-state-heading[data-group-state="Finalizado"] th>span:before{background:var(--dark-surface-099879,#099879)}
/* Compact task list: title gets priority, subtle rows and quiet group labels. */
body[data-page] .task-table th:nth-child(1){width:3%}body[data-page] .task-table th:nth-child(2){width:11%}body[data-page] .task-table th:nth-child(3){width:31%}body[data-page] .task-table th:nth-child(4){width:12%}body[data-page] .task-table th:nth-child(5){width:12%}body[data-page] .task-table th:nth-child(6){width:11%}body[data-page] .task-table th:nth-child(7){width:8%}body[data-page] .task-table th:nth-child(8){width:8%}body[data-page] .task-table th:nth-child(9){width:4%}
body[data-page] .task-table tbody tr[data-status]>td{padding:9px 10px;background:var(--dark-surface-fafbfc,#fafbfc);border-bottom:1px solid var(--theme-edf0f3,#edf0f3);vertical-align:middle}body[data-page] .task-table tbody tr[data-status]:nth-child(even)>td{background:var(--dark-surface-f4f6f8,#f4f6f8)}body[data-page] .task-table tbody tr[data-status]:hover>td{background:var(--dark-surface-edf5f7,#edf5f7)}.task-table .cell-with-icon{gap:8px}.task-table .row-symbol{width:24px;height:24px;flex:0 0 24px}.task-table .person-inline .avatar{width:24px;height:24px}.task-table td.numeric small{display:none}body[data-page] .task-table .task-state-heading th{padding:10px 10px 7px;border:0;border-top:6px solid var(--theme-fff,#fff);background:var(--dark-surface-fff,#fff);color:var(--dark-text-627687,#627687);font-size:11px;font-weight:650;letter-spacing:.2px}body[data-page] .task-table .task-state-heading:first-child th{border-top:0}.task-state-heading th>span{display:flex;width:100%;gap:8px}.task-state-heading th>span:before{width:6px;height:6px;border-radius:50%}.task-state-heading th>span:after{content:'';height:1px;background:var(--dark-surface-e3e9ed,#e3e9ed);flex:1;margin-left:4px}.task-table .task-number-cell,.task-table .task-website-cell{font-size:11px}.task-table .task-number-cell a,.task-table .task-website-cell a{font-size:11px;font-weight:500}body[data-page] .task-table thead th{padding:9px 10px}

/* Compact action controls and consistent task rows. */
body[data-page] .action-icon,body[data-page] .te-actions .action-icon{display:inline-flex;align-items:center;justify-content:center;width:38px;min-width:38px;height:38px;min-height:38px;padding:0;flex:0 0 38px;gap:0}
.action-icon .icon{width:17px;height:17px}
.sidebar nav a>.nav-count~.active-indicator{display:none}
body[data-page=dashboard] .dashboard-title{width:100%;justify-content:space-between}
body[data-page=dashboard] .dashboard-report-filters{margin-left:auto;justify-content:flex-end;padding-right:0}
body[data-page] .task-table tbody tr[data-status]>td{background:var(--dark-surface-fff,#fff)}
body[data-page] .task-table tbody tr[data-status]:nth-child(even of [data-status])>td{background:var(--dark-surface-f5f5f5,#f5f5f5)}
body[data-page] .task-table tbody tr[data-status]:nth-child(odd of [data-status])>td{background:var(--dark-surface-fff,#fff)}
body[data-page] .task-table tbody tr[data-status]:hover>td{background:var(--dark-surface-eeeeee,#eeeeee)}
@media(max-width:760px){body[data-page=dashboard] .dashboard-report-filters{width:100%;margin-left:0}}
.seo-schedule-row{display:grid;grid-template-columns:90px minmax(100px,160px) minmax(120px,180px);gap:8px;align-items:center;margin:8px 0}.seo-schedule-row[hidden]{display:none}.seo-schedule-row strong{font-size:12px}.seo-schedule-row label{margin:0}.seo-schedule-row select{width:100%}@media(max-width:550px){.seo-schedule-row{grid-template-columns:70px 1fr 1fr}}

/* Task tables fit the available content width; narrow layouts retain every field. */
body[data-page] .task-table{min-width:0;width:100%;table-layout:fixed}
body[data-page] .task-table th,body[data-page] .task-table td{white-space:normal;overflow-wrap:anywhere;min-width:0}
body[data-page] .task-table .person-inline{white-space:normal;min-width:0}
body[data-page] .task-table .pill{white-space:normal;max-width:100%}
body[data-page] .task-table .task-files-column{white-space:normal}
body[data-page] .seo-task-table th:nth-child(1){width:5%}body[data-page] .seo-task-table th:nth-child(2){width:16%}body[data-page] .seo-task-table th:nth-child(3){width:30%}body[data-page] .seo-task-table th:nth-child(4){width:12%}body[data-page] .seo-task-table th:nth-child(5){width:16%}body[data-page] .seo-task-table th:nth-child(6){width:12%}body[data-page] .seo-task-table th:nth-child(7){width:9%}
.seo-today-label{display:block;color:var(--dark-text-087f91,#087f91);font-size:11px;font-weight:600}.nav-count[hidden]{display:none}
@media(max-width:1200px){
 body[data-page] .task-table,body[data-page] .task-table tbody{display:block;width:100%}
 body[data-page] .task-table thead{display:none}
 body[data-page] .task-table tbody tr[data-status]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-bottom:1px solid var(--theme-e5e7eb,#e5e7eb)}
 body[data-page] .task-table tbody tr[data-status]>td{display:block;width:auto;border:0;padding:7px 10px;text-align:left}
 body[data-page] .task-table tbody tr[data-status]>td:before{content:attr(data-label);display:block;font-size:10px;color:var(--dark-text-718399,#718399);margin-bottom:3px}
 body[data-page] .task-table tbody tr[data-status]>td:nth-child(3){grid-column:1/-1}
 body[data-page] .task-table .task-state-heading,body[data-page] .task-table .task-state-heading th{display:block;width:100%}
}

.company-editor>.form-grid{display:block}.company-editor .onboarding-section{margin:0 0 16px}.company-editor .onboarding-section h2{font-size:15px;margin:0 0 14px}.company-editor .onboarding-section>.form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.company-editor label{font-size:12px}.company-editor input{min-height:36px}.company-editor textarea{min-height:70px}.company-services{margin-top:16px}
.compact-contacts h2{font-size:16px}.compact-contacts>p{font-size:12px;margin:6px 0 12px}.compact-contacts .project-mini{position:relative;padding:10px 42px 10px 0;margin:0;border-bottom:1px solid var(--theme-edf0f3,#edf0f3)}.compact-contacts .project-mini>b{font-size:13px}.compact-contacts .project-mini>small{font-size:12px;overflow-wrap:anywhere}.compact-contacts .project-mini details>summary.contact-edit{position:absolute;right:0;top:10px;display:grid;place-items:center;width:30px;height:30px;border:1px solid var(--theme-e2e8ee,#e2e8ee);border-radius:7px;cursor:pointer;list-style:none}.compact-contacts .contact-edit .icon{width:15px;height:15px}.compact-contacts details form{margin-top:10px;gap:10px;grid-template-columns:repeat(2,minmax(0,1fr));padding:12px;background:var(--dark-surface-f8fafb,#f8fafb);border-radius:8px}.compact-contacts details form label{font-size:12px}.compact-contacts details form input:not([type=checkbox]){min-height:34px;padding:6px 9px}.compact-contacts details form .btn{min-height:32px;font-size:12px;padding:7px 12px}.compact-contacts>details{margin-top:12px}.compact-contacts>details>summary{font-size:12px;color:var(--dark-text-087d91,#087d91);cursor:pointer}
@media(max-width:700px){.company-editor .onboarding-section>.form-grid{grid-template-columns:1fr}.compact-contacts details form{grid-template-columns:1fr}}

/* Contact cards share the same layout in companies and websites. */
.compact-contacts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:12px;align-items:start}
.compact-contacts>h2,.compact-contacts>p,.compact-contacts>details{grid-column:1/-1;margin:0}
.compact-contacts .project-mini{margin:0;padding:16px 48px 16px 16px;border:1px solid var(--theme-e1e8ed,#e1e8ed);border-radius:12px;background:var(--dark-surface-fff,#fff);box-shadow:0 2px 7px var(--theme-203a4a05,#203a4a05);min-width:0}
.compact-contacts .project-mini>b{display:block;font-size:14px;margin-bottom:6px;overflow-wrap:anywhere}
.compact-contacts .project-mini>small{display:block;font-size:12px;color:var(--dark-text-627687,#627687);line-height:1.65;overflow-wrap:anywhere}
.compact-contacts .project-mini details>summary.contact-edit{right:12px;top:12px;background:var(--dark-surface-f5f8fa,#f5f8fa)}
.compact-contacts .project-mini details[open]{margin-right:-32px}
.compact-contacts .project-mini details form{grid-template-columns:1fr;margin-top:14px}
.compact-contacts>details>summary{display:inline-flex;align-items:center;padding:8px 12px;border:1px solid var(--theme-dce7eb,#dce7eb);border-radius:8px;background:var(--dark-surface-f7fafb,#f7fafb);list-style:none}
body[data-page=website] .website-people{margin-bottom:20px}
.compact-contacts summary.contact-edit:before,.compact-contacts summary.contact-edit:after{content:none;display:none}
.website-page-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.website-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:20px}
.website-service-card{padding:18px}.website-service-card header{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:14px}.website-service-card header h2{font-size:14px;margin:0;flex:1}.website-service-card header .pill{font-size:11px}.website-service-card dl{display:grid;grid-template-columns:auto minmax(0,1fr);gap:9px 12px;font-size:12px;margin:0 0 12px}.website-service-card dt{color:var(--dark-text-718399,#718399)}.website-service-card dd{margin:0;text-align:right;overflow-wrap:anywhere}.website-service-card .text-link{font-size:12px}.website-tasks,.website-work,.website-notes{margin-bottom:20px}.website-work .panel-heading{flex-wrap:wrap;gap:8px}.website-work .panel-heading small{font-size:12px;font-weight:400}.website-notes h3{font-size:13px;margin-top:16px}
@media(max-width:1100px){.website-service-grid{grid-template-columns:1fr}.website-service-card{padding:16px}.website-service-card dl{grid-template-columns:auto 1fr auto 1fr}}
@media(max-width:550px){.website-service-card dl{grid-template-columns:auto 1fr}.website-page-actions{gap:6px}}.compact-contacts .project-mini details>summary.contact-edit{display:flex;align-items:center;justify-content:center;padding:0;gap:0;line-height:1;min-height:30px;margin:0}
.compact-contacts summary.contact-edit::-webkit-details-marker{display:none}
.compact-contacts summary.contact-edit::marker{content:''}
.compact-contacts summary.contact-edit>.icon{display:block;width:16px;height:16px;margin:0;transform:none}
/* Company and contract directories use the same card language as web details. */
body:is([data-page=clients],[data-page=websites]) .company-directory,body:is([data-page=contracts],[data-page=kit_digital]) .contract-directory{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,350px),1fr));gap:16px;padding:0;border:0;background:transparent;box-shadow:none}
body:is([data-page=clients],[data-page=websites]) .company-directory>.directory-heading,body:is([data-page=contracts],[data-page=kit_digital]) .contract-directory>.directory-heading{display:none}
body:is([data-page=clients],[data-page=websites]) .company-directory>.directory-row,body:is([data-page=contracts],[data-page=kit_digital]) .contract-directory>.directory-row{position:relative;display:grid;grid-template-columns:1fr;gap:14px;align-content:start;align-items:start;padding:20px;border:1px solid var(--theme-e1e8ed,#e1e8ed);border-radius:14px;background:var(--dark-surface-fff,#fff);min-width:0}
body:is([data-page=clients],[data-page=websites]) .company-directory .directory-identity,body:is([data-page=contracts],[data-page=kit_digital]) .contract-directory .directory-identity{padding-right:30px;min-width:0}
body:is([data-page=clients],[data-page=websites]) .company-directory .directory-identity b,body:is([data-page=contracts],[data-page=kit_digital]) .contract-directory .directory-identity b{font-size:16px;white-space:normal;overflow-wrap:anywhere}
body:is([data-page=clients],[data-page=websites]) .company-directory .directory-identity small,body:is([data-page=contracts],[data-page=kit_digital]) .contract-directory .directory-identity small{font-size:12px}
body:is([data-page=clients],[data-page=websites]) .company-directory .directory-open,body:is([data-page=contracts],[data-page=kit_digital]) .contract-directory .directory-open{position:absolute;right:16px;top:20px;width:30px;height:30px}
body:is([data-page=clients],[data-page=websites]) .company-directory .directory-contact{padding:12px 0;border-top:1px solid var(--theme-edf0f3,#edf0f3);border-bottom:1px solid var(--theme-edf0f3,#edf0f3);font-size:13px;overflow-wrap:anywhere}
body:is([data-page=clients],[data-page=websites]) .company-directory .directory-counts{display:flex;gap:10px;flex-wrap:wrap;font-size:12px}
body:is([data-page=clients],[data-page=websites]) .company-directory .directory-counts>span{background:var(--dark-surface-f5f8fa,#f5f8fa);border-radius:7px;padding:5px 9px}
body:is([data-page=contracts],[data-page=kit_digital]) .contract-directory .contract-summary{padding:12px;background:var(--dark-surface-f7f9fa,#f7f9fa);border-radius:9px;display:flex;align-items:flex-start;flex-direction:column;gap:7px;min-width:0}
body:is([data-page=contracts],[data-page=kit_digital]) .contract-directory .contract-summary .service-name{font-size:13px;font-weight:650}
body:is([data-page=contracts],[data-page=kit_digital]) .contract-directory .contract-summary small{font-size:12px;white-space:normal;overflow-wrap:anywhere}
body:is([data-page=contracts],[data-page=kit_digital]) .contract-directory .contract-summary .text-link{font-size:12px}
body[data-page=client] .client-detail{grid-template-columns:minmax(0,1fr);gap:20px}
body[data-page=client] .client-web-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,490px),1fr));gap:16px}
body[data-page=client] .client-web-card{background:var(--dark-surface-fff,#fff);align-self:start}
body[data-page=client] .client-web-card header{background:var(--dark-surface-f8fafb,#f8fafb)}
body[data-page=client] .client-web-card .client-web-name{font-size:16px}
body[data-page=client] .compact-contacts>details.section-gap{margin-top:0!important}
.kd-schedule-check{display:flex!important;align-items:center;gap:8px}.kd-schedule-check input[type=checkbox]{width:16px;min-height:16px;margin:0}
body[data-page=client] .client-web-panel{padding:0;border:0;box-shadow:none;background:transparent}
.company-website-sections{display:grid;gap:28px}.company-website-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:16px}.company-website-heading h2{margin:0;font-size:21px}.company-website-heading h2 a{display:flex;align-items:center;gap:8px}.company-website-heading p{margin:4px 0 0;font-size:12px}.company-website-section>.website-people{margin:0}.company-website-section+.company-website-section{padding-top:24px;border-top:1px solid var(--theme-e1e8ed,#e1e8ed)}
/* Dashboard tasks read as compact rows, with details aligned horizontally. */
.dashboard-group .dashboard-task{display:flex;align-items:center;gap:14px;padding:12px 14px}
.dashboard-task-number{flex:none;font-size:11px;color:var(--dark-text-738592,#738592);font-variant-numeric:tabular-nums}
.dashboard-task .dashboard-task-identity{display:flex;align-items:center;gap:18px;min-width:0;flex:1}
.dashboard-task .dashboard-task-identity b{font-size:13px;min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dashboard-task .dashboard-task-identity small{display:block;margin:0;flex:0 1 180px;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dashboard-group .dashboard-task-meta{display:flex;align-items:center;flex-wrap:nowrap;margin:0;gap:14px;flex:none;font-size:12px;white-space:nowrap}
.dashboard-task-meta .pill{font-size:11px}
@media(max-width:1000px){.dashboard-group .dashboard-task{flex-wrap:wrap;gap:8px 12px}.dashboard-task .dashboard-task-identity{flex-basis:calc(100% - 60px)}.dashboard-group .dashboard-task-meta{flex-wrap:wrap;margin-left:40px;white-space:normal}.dashboard-task .dashboard-task-identity small{flex-basis:130px}}
@media(max-width:550px){.dashboard-task .dashboard-task-identity{flex-wrap:wrap;gap:3px 10px}.dashboard-task .dashboard-task-identity b{flex-basis:100%;white-space:normal;overflow-wrap:anywhere}.dashboard-task .dashboard-task-identity small{flex-basis:auto;max-width:100%}}
body[data-page=dashboard] .dashboard-pending-pair{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:16px}
body[data-page=dashboard] .dashboard-task-groups{grid-template-columns:minmax(0,1fr)}
.dashboard-group{container-type:inline-size}.dashboard-task-list{min-width:0}
.dashboard-maintenance{font-size:10px;padding:3px 6px;border-radius:5px;white-space:nowrap}.dashboard-maintenance.has-maintenance{background:var(--dark-surface-e8f5ef,#e8f5ef);color:var(--dark-text-177857,#177857)}.dashboard-maintenance.no-maintenance{background:var(--dark-surface-f1f3f5,#f1f3f5);color:var(--dark-text-637380,#637380)}
.dashboard-group .dashboard-task{gap:8px}.dashboard-group .dashboard-task-meta{gap:8px}.dashboard-task .dashboard-task-identity{gap:10px}.dashboard-task .dashboard-task-identity small{flex-basis:100px}
@container(max-width:680px){.dashboard-group .dashboard-task{flex-wrap:wrap}.dashboard-task .dashboard-task-identity{flex-basis:calc(100% - 50px)}.dashboard-group .dashboard-task-meta{flex-wrap:wrap;margin-left:35px}}
@media(max-width:850px){body[data-page=dashboard] .dashboard-pending-pair{grid-template-columns:minmax(0,1fr)}}
/* Mail management: shared compact cards and clear rule conditions. */
.mail-settings{max-width:none}.mail-connection>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;cursor:pointer;font-weight:700;list-style:none}.mail-connection>summary small{display:block;font-weight:400;margin-top:5px}.mail-connection-body{margin-top:20px}.mail-rule-editor{border:1px solid var(--theme-dce8ed,#dce8ed);border-radius:12px;padding:14px 18px;background:var(--dark-surface-f7fafb,#f7fafb);margin:18px 0}.mail-rule-editor>summary{display:flex;align-items:center;gap:8px;font-weight:700;color:var(--dark-text-087e92,#087e92);cursor:pointer}.mail-rule-editor .form-grid{max-width:none;margin-top:18px}.mail-rule-list{display:grid;gap:10px}.mail-rule-list .mail-rule{padding:16px;border:1px solid var(--theme-e2eaf0,#e2eaf0);border-radius:12px;background:var(--dark-surface-fff,#fff)}.mail-rule-copy{flex:1;min-width:0;overflow-wrap:anywhere}.mail-rule-copy>small{margin:4px 0}.mail-rule .form-grid{display:block;margin:0}.mail-rule .btn{min-height:34px;padding:7px 12px;font-size:12px}.mail-rule-editor input[type=checkbox]{vertical-align:middle;margin-right:6px}@media(max-width:650px){.mail-rule{flex-wrap:wrap}.mail-rule-copy{flex-basis:100%}.mail-rule-editor{padding:12px}.mail-connection>summary{align-items:flex-start}}

.te-mail-entry.te-mail-new{background:var(--dark-surface-edf8fc,#edf8fc);border:1px solid #b8dfe9;border-left:4px solid var(--theme-07869c,#07869c);border-radius:10px;padding:16px}.mail-inline-download{display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border:1px solid var(--theme-d9e5eb,#d9e5eb);border-radius:8px;background:var(--dark-surface-f7fafb,#f7fafb);font-size:13px;white-space:normal;margin:6px 0}.mail-inline-download svg{width:20px;height:20px;flex-shrink:0}

body[data-page] .task-table th:nth-child(2){width:31%}body[data-page] .task-table th:nth-child(3){width:11%}body[data-page] .task-table th:nth-child(7){width:8%}body[data-page] .task-table th:nth-child(8){width:4%}body[data-page] .task-table th:nth-child(9){width:8%}body[data-page] .seo-task-table th:nth-child(2){width:30%}body[data-page] .seo-task-table th:nth-child(3){width:16%}@media(max-width:1200px){body[data-page] .task-table tbody tr[data-status]>td:nth-child(3){grid-column:auto}body[data-page] .task-table tbody tr[data-status]>td:nth-child(2){grid-column:1/-1}}

body[data-page] .task-table:not(.seo-task-table) th:nth-child(2){width:29%}body[data-page] .task-table:not(.seo-task-table) th:nth-child(3){width:11%}body[data-page] .task-table:not(.seo-task-table) th:nth-child(4){width:6%}body[data-page] .task-table:not(.seo-task-table) th:nth-child(5){width:10%}body[data-page] .task-table:not(.seo-task-table) th:nth-child(6){width:10%}body[data-page] .task-table:not(.seo-task-table) th:nth-child(7){width:10%}body[data-page] .task-table:not(.seo-task-table) th:nth-child(8){width:8%}body[data-page] .task-table:not(.seo-task-table) th:nth-child(9){width:4%}body[data-page] .task-table:not(.seo-task-table) th:nth-child(10){width:9%}.task-service-icons{display:inline-flex;gap:5px;flex-wrap:wrap;color:var(--dark-text-078397,#078397)}.task-service-icons svg{width:15px;height:15px}.task-service-icons>span{display:inline-flex}

.mail-image-thumbnail{display:inline-flex;vertical-align:top;flex-direction:column;gap:5px;padding:7px;border:1px solid var(--theme-dce7ed,#dce7ed);border-radius:10px;background:var(--dark-surface-f8fafb,#f8fafb);margin:7px 8px 7px 0;max-width:160px;white-space:normal}.mail-image-thumbnail img{width:140px;height:90px;object-fit:contain;border-radius:5px}.mail-image-thumbnail span{display:flex;align-items:center;gap:5px;font-size:11px}.mail-image-thumbnail svg{width:14px;height:14px}.mail-image-modal{max-width:92vw;width:fit-content;max-height:92vh;padding:16px}.mail-image-modal>img{display:block;max-width:85vw;max-height:75vh;object-fit:contain}.website-directory .directory-services{align-items:flex-start;gap:8px}.website-directory .directory-services>span{display:flex;align-items:center;gap:7px}.website-directory .directory-services svg{width:16px;height:16px}.website-directory .directory-url{overflow-wrap:anywhere}

body[data-page=websites] .website-directory .directory-services{display:flex;flex-direction:column;align-items:stretch;padding-left:0}body[data-page=websites] .website-directory .directory-services>span{justify-content:space-between;gap:10px;padding:8px 10px}body[data-page=websites] .website-directory .directory-contact{font-size:13px}.website-directory .directory-url{display:block;margin-top:5px}

html[data-theme="dark"]{--theme-14384b35:#7ebcdd35;--theme-362d590b:#c8c2e00b;--theme-54327703:#d1bee403;--theme-ffffff24:#1f1f1f24;--theme-ffffff0c:#1f1f1f0c;--theme-2c21385e:#d1c5dd5e;--theme-3a1e632e:#a582d92e;--theme-203a4a05:#bfd5e305;--theme-137f952e:#6ed7ed2e;--theme-27203861:#ccc5de61;--theme-ffffff1c:#1f1f1f1c;--theme-2734490c:#c3cedf0c;--theme-16485b18:#7cc4df18;--theme-183b4c04:#83bcd804;--theme-30314705:#c8c9da05;--theme-137f9524:#6ed7ed24;--theme-ffffffd9:#1f1f1fd9;--theme-137f952c:#6ed7ed2c;--theme-e4f4f7:#143d45;--theme-f7fafc:#132633;--theme-9fcbd3:#285057;--theme-d6e1fb:#16264b;--theme-ece8f4:#271d3c;--theme-f8fafb:#19262d;--theme-dce8ed:#233b44;--theme-eae3f4:#2b1a42;--theme-284c5e:#bfd7e4;--theme-0c6849:#6deec3;--theme-dce6eb:#263943;--theme-e2f4f7:#143f46;--theme-626278:#ccccd6;--theme-0c5364:#6dd5ee;--theme-e4f6ed:#16442d;--theme-e5f3f5:#193c41;--theme-f1f7fb:#112a3b;--theme-294553:#c2d6e1;--theme-173f50:#80c0db;--theme-e8eef2:#213039;--theme-ffebe3:#412013;--theme-f0edf5:#271e36;--theme-f8f9fc:#151c30;--theme-526174:#c9d0d9;--theme-284b5d:#bfd7e3;--theme-e1e8ed:#25343e;--theme-ebf7fa:#12363f;--theme-577081:#c8d3da;--theme-ececf3:#212135;--theme-f4fafc:#102e38;--theme-e9f6fb:#123340;--theme-edf7f5:#193932;--theme-fff1ee:#3a1811;--theme-dff1f5:#173f48;--theme-e0e9ee:#233640;--theme-edf5f7:#193239;--theme-087a57:#66f5c9;--theme-f6f7fb:#161c32;--theme-ece7f5:#271a3e;--theme-d0e8d9:#2a563a;--theme-dfe3ec:#262e40;--theme-f4f6f8:#1d262e;--theme-d7e5ed:#213b4a;--theme-167d92:#71d5ea;--theme-3d5967:#c5d5dd;--theme-dce5ea:#283942;--theme-e9f5f7:#17393e;--theme-edf0f3:#222b33;--theme-258da0:#7ad1e0;--theme-edf1f4:#202c34;--theme-d4e3f5:#173150;--theme-587080:#c9d3da;--theme-087f91:#64e3f6;--theme-0b3c55:#6fc2ec;--theme-e8f5ef:#1b3d2d;--theme-fff5e8:#3e2b12;--theme-2fa881:#7fdbbe;--theme-efebf8:#22153d;--theme-dfebee:#233b42;--theme-059669:#61faca;--theme-e5e7eb:#2b2f37;--theme-294b5a:#c0d8e2;--theme-587380:#c9d4da;--theme-075e70:#65ddf5;--theme-f3f9fb:#132e38;--theme-e5ecef:#24343b;--theme-b7790b:#f6c265;--theme-a4c9d2:#2a4d55;--theme-c0b1cd:#41324e;--theme-087b91:#64dff6;--theme-ac7510:#f1c16a;--theme-edeaf5:#241c3a;--theme-fafbfc:#19222a;--theme-254052:#c0d5e2;--theme-fcebf4:#3e1229;--theme-f3edf9:#28143c;--theme-f3f7fa:#162835;--theme-e5f3f6:#173b42;--theme-e7eef1:#22333a;--theme-e7e7ef:#252538;--theme-e9f6f1:#193d2f;--theme-dfeaf0:#203743;--theme-183545:#86b9d5;--theme-dfe8ee:#233542;--theme-d1e1f6:#183152;--theme-167e94:#71d5ea;--theme-cce8d9:#28583e;--theme-e2eaf0:#213240;--theme-009b78:#5cffda;--theme-0b667d:#69d6f2;--theme-fbf9fe:#1e0f34;--theme-203b49:#bfd7e3;--theme-e8f1ff:#12233e;--theme-d4e9ee:#1f454e;--theme-102e39:#80c3db;--theme-fff0e8:#3e2112;--theme-097c92:#65def6;--theme-d7eff3:#18474f;--theme-d7e3e7:#304850;--theme-eaf5ef:#1c3a2a;--theme-f0f1f6:#1e2132;--theme-f7e0da:#4b2116;--theme-f5fafb:#152f34;--theme-fff7f6:#35140f;--theme-e7e5ef:#29243b;--theme-eaf2f7:#172f3d;--theme-eaf6f8:#15393f;--theme-dbe7f0:#1e3648;--theme-edf8fa:#12373e;--theme-dacdfb:#281751;--theme-3e677b:#c2d6e0;--theme-e7edf1:#22303a;--theme-eaf3f6:#1a333c;--theme-943b2b:#da8e81;--theme-07869c:#63e2f8;--theme-dce8ec:#253c44;--theme-fff7df:#433714;--theme-f0f3f7:#1c2634;--theme-e6edf0:#23333a;--theme-f6f9fb:#162732;--theme-334155:#c6cfdd;--theme-e9f2f8:#142f40;--theme-dce7eb:#263b43;--theme-fff0d5:#493715;--theme-11815c:#6fecc3;--theme-087e93:#64e0f7;--theme-fff0ef:#391311;--theme-238296:#7bcee0;--theme-ece5f6:#291742;--theme-fff5dc:#453714;--theme-eef1f6:#1c2636;--theme-fff1d9:#473415;--theme-d2bca8:#543f2b;--theme-087d91:#64e1f6;--theme-eaf5f8:#15363f;--theme-187d92:#73d4e8;--theme-fdebf3:#3d1225;--theme-dcefe7:#204636;--theme-eeedf3:#252233;--theme-fcfbff:#170e32;--theme-008f70:#5cffdc;--theme-f8f7fc:#191333;--theme-e7f5f8:#133a43;--theme-92620a:#f5c266;--theme-f5faff:#102336;--theme-986c17:#eac171;--theme-cee7dc:#2a5642;--theme-fff3cf:#4d3f16;--theme-e3e0eb:#2e283e;--theme-e8f5f8:#143941;--theme-b5b1c3:#3b3748;--theme-f3f8fb:#132a38;--theme-f2ecf9:#27133e;--theme-fbefe6:#412713;--theme-eceaf3:#252038;--theme-f3f9fc:#102b39;--theme-f0f6f8:#192f36;--theme-f9f7ff:#190f34;--theme-e6f4f7:#153a42;--theme-e3e9ef:#23303d;--theme-edeef4:#202334;--theme-167e93:#71d5ea;--theme-beafcb:#41324d;--theme-dfe8ed:#243741;--theme-f3f4f8:#1c2030;--theme-147c99:#6fd1ec;--theme-96701e:#e4c177;--theme-f3edff:#1f113b;--theme-e6f5f8:#143b43;--theme-e8e1f2:#2c1d43;--theme-e8f7ee:#164027;--theme-e3edf1:#20363f;--theme-f5f9fd:#102337;--theme-294557:#c1d5e2;--theme-287486:#81c9d9;--theme-19829a:#73d2e8;--theme-f8fbfc:#152a30;--theme-12869a:#6ddbee;--theme-087957:#66f5ca;--theme-eff7fa:#13303b;--theme-e5edf0:#22353c;--theme-ece9f4:#251d3a;--theme-219bb0:#76d5e5;--theme-e5f6ee:#17422e;--theme-294c60:#bfd6e4;--theme-f5eada:#4d3616;--theme-f2f5f8:#1b2732;--theme-f1ead9:#4b3d1c;--theme-dfe9ef:#213642;--theme-bba8c9:#42314f;--theme-fff2ef:#391811;--theme-f6fafc:#122935;--theme-92400e:#f19d6a;--theme-eaf6f1:#1a3c2d;--theme-07805e:#64f7cd;--theme-e6f7f1:#154232;--theme-047857:#61face;--theme-096c80:#67dcf4;--theme-edf6f7:#193639;--theme-078197:#63e1f8;--theme-0c7e94:#68dcf3;--theme-187f94:#73d4e8;--theme-e8edf1:#222f38;--theme-ffede4:#402213;--theme-fff5e6:#3f2d12;--theme-e5edf1:#21333d;--theme-24253b:#c6c7dc;--theme-233e4d:#c0d6e2;--theme-f5f8fa:#182731;--theme-eaf7f0:#173d29;--theme-fbfaff:#160f33;--theme-c9b8d9:#402c53;--theme-ffeadc:#452814;--theme-08788b:#65e1f6;--theme-ffe6e3:#411813;--theme-fffcf5:#362a10;--theme-137f95:#6ed7ed;--theme-eef1f5:#1f2834;--theme-c18b16:#eec56c;--theme-9b3f16:#eb9670;--theme-c0b0cb:#42334d;--theme-208797:#78d4e2;--theme-315260:#c2d7e0;--theme-254757:#bfd8e4;--theme-e8eef1:#223138;--theme-e8eaf1:#222738;--theme-f8f6fe:#191036;--theme-e2eaee:#24353e;--theme-f0f8f5:#19362b;--theme-edf7fa:#12343e;--theme-10b981:#69f2c5;--theme-e0e9ff:#132143;--theme-d5e2f3:#173051;--theme-235c73:#82c0d9;--theme-eef9f3:#153b26;--theme-eeeeee:#2c2c2c;--theme-e5f5f8:#143c44;--theme-2b8da2:#7eccdd;--theme-eee8fc:#201240;--theme-fff6de:#443714;--theme-204657:#88bcd3;--theme-087e72:#66f5e7;--theme-395c68:#c4d8de;--theme-dfebf3:#1a3546;--theme-37586a:#c3d5e0;--theme-e4eaf0:#222f3d;--theme-d4e0e7:#2e4552;--theme-e4f3f6:#163c44;--theme-d2ebef:#1d4a51;--theme-f2fafb:#123539;--theme-d4e7ef:#1d404f;--theme-e8f7ef:#16402a;--theme-d0e9da:#29573b;--theme-edf3fb:#12243d;--theme-f4f5fa:#171c33;--theme-1d4156:#85b8d6;--theme-243e4c:#c1d6e1;--theme-edf0f5:#1e2736;--theme-e4edf1:#20353e;--theme-e7f8ef:#13432a;--theme-b42336:#e47685;--theme-f1f3f5:#21282f;--theme-dce7ed:#233944;--theme-d2e1f5:#183052;--theme-e8e6f1:#26213b;--theme-f5fafc:#112c37;--theme-e8f4f6:#18393e;--theme-e3ebef:#23353d;--theme-3592a6:#83c9d8;--theme-d1e0e8:#2b4655;--theme-f8fbfd:#0f2635;--theme-f5f5f5:#272727;--theme-d4e5e9:#2b4d54;--theme-565071:#ccc9d9;--theme-f3eef8:#281739;--theme-e7f3f6:#183840;--theme-f1eef5:#281f34;--theme-bbb7cd:#38344b;--theme-e7f3ff:#12283e;--theme-e7f5fa:#133541;--theme-f4faf7:#173325;--theme-087f98:#64ddf7;--theme-099879:#65f6d6;--theme-d5e3ea:#2b4755;--theme-e6f6f0:#174131;--theme-fff9f4:#362110;--theme-edf2ff:#111d3b;--theme-f7f6fa:#1f1a2f;--theme-dbe7ec:#243b45;--theme-278398:#7dccde;--theme-247e92:#7ccddf;--theme-eef2f5:#1f2b34;--theme-e2edf1:#1f3840;--theme-eef5fa:#122b3d;--theme-d9e6eb:#253d46;--theme-e0f0f3:#1b3e45;--theme-193e53:#82b9d9;--theme-f0eafa:#231240;--theme-e2e8ee:#24313e;--theme-e8f3ff:#12273e;--theme-e7f6ef:#18402d;--theme-fafcfd:#132630;--theme-e7eef2:#20313b;--theme-e4d9f2:#301a4c;--theme-16819a:#70d3eb;--theme-f7fafb:#18292f;--theme-edf8fc:#12313c;--theme-1e293b:#c2cde0;--theme-e9f3f6:#19353d;--theme-d7eee3:#204b36;--theme-078397:#63e3f8;--theme-d9e5eb:#253b46;--theme-f0d5e1:#4f1c33;--theme-fff8e9:#3d2f12;--theme-177857:#76e5bf;--theme-e6f3f6:#173941;--theme-065d70:#64dcf7;--theme-0b6c83:#68d8f2;--theme-b45309:#f7a364;--theme-087e92:#64e1f7;--theme-ece3f5:#2e1843;--theme-294b60:#bfd5e4;--theme-e7eff4:#1c303d;--theme-fff4f2:#371610;--theme-fcfaff:#1d0f33;--theme-278da1:#7ccfdf;--theme-166c83:#73cfe8;--theme-dbe7eb:#263d44;--theme-14756b:#74e7db;--theme-475569:#c8d0da;--theme-f7f9fa:#1c272c;--theme-e0eee5:#23402e;--theme-506977:#c8d4da;--theme-197f94:#73d4e7;--theme-e4f4f8:#143b45;--theme-e7e9f1:#22273a;--theme-fbfbfd:#16162c;--theme-bca9c9:#42314e;--theme-168da1:#6fdaeb;--theme-f3f7f8:#1c2c30;--theme-fff9f7:#34190f;--theme-f2eff8:#231837;--theme-674b13:#e6c075;--theme-fff0e9:#3d2012;--theme-f4eef9:#2a153b;--theme-00654e:#5cffda;--theme-fcfdfe:#102030;--theme-f4f8fd:#102237;--theme-e1e9ee:#24353f;--theme-f6f7fa:#1a1f2f;--theme-35586a:#c2d6e0;--theme-243e50:#c0d4e3;--theme-f0f8fa:#13323a;--theme-e8f2ff:#12253e;--theme-c5b3d6:#402d53;--theme-fff0e7:#3e2312;--theme-214250:#bed9e4;--theme-b42332:#e47682;--theme-edf1f3:#222d33;--theme-fff3dc:#453414;--theme-edf6f9:#14323c;--theme-e3e9ed:#26333c;--theme-fffaf0:#392b10;--theme-e5ebf0:#22303c;--theme-e0ebee:#233a40;--theme-f1eefb:#1b123c;--theme-edf4f6:#1c3137;--theme-2b9bb0:#7ccfdf;--theme-555:#d1d1d1;--theme-ddd:#404040;--theme-fff:#1f1f1f;--bg:#111923;--surface:#192330;--ink:#e6edf5;--muted:#a5b4c4;--line:#334253;--shadow:0 5px 20px #0003;color-scheme:dark}
html[data-theme="light"]{color-scheme:light}.theme-toggle{min-width:88px}.theme-toggle>span:first-child{font-size:19px;line-height:1}html[data-theme="dark"] .btn:not(.secondary):not(.te-edit):not(.te-finish),html[data-theme="dark"] .nav-icon,html[data-theme="dark"] .avatar,html[data-theme="dark"] .icon-tile,html[data-theme="dark"] .row-symbol,html[data-theme="dark"] .nav-count{color:#fff}html[data-theme="dark"] .btn.secondary{color:#dae6ef}html[data-theme="dark"] input,html[data-theme="dark"] select,html[data-theme="dark"] textarea{background:#15202c;color:#e6edf5;border-color:#3a4c60}html[data-theme="dark"] input::placeholder,html[data-theme="dark"] textarea::placeholder{color:#9aaabd}html[data-theme="dark"] .mail-image-modal>img,html[data-theme="dark"] .mail-image-thumbnail img{background:#fff}html[data-theme="dark"] dialog::backdrop{background:#0009}@media print{html[data-theme="dark"]{color-scheme:light}.theme-toggle{display:none}}

html[data-theme="dark"] .btn:not(.secondary):not(.te-edit):not(.te-finish){background:#087b91;color:#fff}html[data-theme="dark"] .danger-button,html[data-theme="dark"] .btn.danger{background:#a51c35!important;color:#fff!important}html[data-theme="dark"] .te-reply{background:#3058ba!important}html[data-theme="dark"] .tone-blue,html[data-theme="dark"] .avatar{background:#2856b6;color:#fff}html[data-theme="dark"] .tone-mint{background:#087f63;color:#fff}html[data-theme="dark"] .tone-violet{background:#087b91;color:#fff}html[data-theme="dark"] .tone-amber{background:#956607;color:#fff}html[data-theme="dark"] .tone-coral{background:#b94712;color:#fff}html[data-theme="dark"] .tone-pink{background:#af1d64;color:#fff}html[data-theme="dark"] .nav-count{background:#b94712;color:#fff}

html[data-theme="dark"]{--dark-text-77798f:#d5d6dc;--dark-surface-e2f4f7:#214045;--dark-text-8155dd:#b79eea;--dark-surface-e8f2ff:#172230;--dark-text-468ce6:#9ec0ea;--dark-surface-e6f6f0:#173027;--dark-text-2fa881:#a3e5d0;--dark-surface-fff0e9:#301f17;--dark-text-e78b5a:#eab99e;--dark-surface-fff6de:#302917;--dark-text-c7982a:#ead49e;--dark-surface-fcebf4:#301724;--dark-text-d276aa:#e2a7c8;--dark-surface-eef1f5:#1a222d;--dark-text-8691a2:#d4d8de;--dark-text-fff:#d9d9d9;--dark-surface-fff:#242424;--dark-text-67687f:#d5d5dd;--dark-surface-f9f7ff:#1d1730;--dark-surface-dff1f5:#213e45;--dark-text-7150c6:#b7a7e2;--dark-surface-cce8ee:#213f45;--dark-surface-f0f1f6:#1b1e2d;--dark-text-66677e:#d5d5dd;--dark-text-9494a9:#d5d5dd;--dark-surface-f1eefb:#1d1730;--dark-text-137f95:#9edeea;--dark-text-565071:#d5d2df;--dark-text-8d8da2:#d5d5dd;--dark-surface-fbfaff:#1c1730;--dark-text-9897ab:#d5d5dd;--dark-text-8b6edf:#b29fea;--dark-text-9393a7:#d5d5dd;--dark-text-76778d:#d5d6dc;--dark-surface-f8f6fe:#1d1730;--dark-text-6c4fbd:#b8aadf;--dark-surface-e8f5f8:#172c30;--dark-text-7757d3:#b4a2e7;--dark-surface-edf7fa:#172a30;--dark-text-9790ab:#d6d3de;--dark-text-9493a6:#d5d5dc;--dark-surface-ffffffd9:#242424d9;--dark-text-9797ab:#d5d5dd;--dark-text-6b6b81:#d5d5dc;--dark-text-bbb7cd:#d4d2e0;--dark-surface-f6f7fa:#1a1f2e;--dark-text-b0aabd:#d7d4de;--dark-text-66667c:#d5d5dc;--dark-text-a3a2b4:#d5d5dd;--dark-text-b0aabb:#d8d4dd;--dark-text-aaa1bd:#d6d2df;--dark-text-a385e0:#b8a1e7;--dark-text-89849b:#d7d5dd;--dark-text-9a88ba:#c0b5d4;--dark-text-8b8c9f:#d5d6dc;--dark-text-a0a0b0:#d5d5dc;--dark-text-8c8d9f:#d5d6dc;--dark-surface-f3edff:#201730;--dark-text-9d88c6:#beb0d9;--dark-text-b5b1c3:#d6d4de;--dark-text-9292a6:#d5d5dd;--dark-surface-fbfbfd:#181830;--dark-surface-eceaf3:#1e1a2d;--dark-text-9790a8:#d7d4dd;--dark-text-7d60b5:#beafda;--dark-text-626278:#d5d5dd;--dark-text-b0aabc:#d7d4dd;--dark-surface-f0eafa:#211730;--dark-text-8868bb:#bfaedb;--dark-text-8b8599:#d7d5dc;--dark-text-9c88bc:#c1b4d5;--dark-text-aaa4b5:#d8d5dd;--dark-text-777186:#d7d5dc;--dark-surface-fcfbff:#1d1730;--dark-surface-f2eff8:#201730;--dark-text-9c8cb4:#d7d1e1;--dark-surface-eaf7f0:#173023;--dark-text-62a98e:#b3d5c8;--dark-surface-eee8fc:#1f1730;--dark-text-9476ce:#bca9e0;--dark-surface-fff5dc:#302917;--dark-text-c9a148:#e4d0a4;--dark-surface-fff0e8:#302017;--dark-text-d69a7c:#e3baa6;--dark-text-a3a1b3:#d6d5dd;--dark-text-b4aabc:#d9d4dd;--dark-text-7c6f8b:#d8d4dd;--dark-surface-eaf3f6:#172a30;--dark-surface-43b1bf:#29717a;--dark-surface-81cdb1:#224f3e;--dark-surface-e9a57f:#452e21;--dark-text-aaa1b5:#d8d4dd;--dark-text-b2a8c0:#d8d3df;--dark-text-a092b0:#d8d3df;--dark-text-796888:#d9d4de;--dark-surface-ab8bea:#2d2145;--dark-surface-79cbb1:#224f40;--dark-surface-edc576:#4f3f22;--dark-text-94859f:#d9d4dd;--dark-text-917caa:#d8d1e1;--dark-text-9179ba:#bfb2d7;--dark-surface-e4f4f8:#172b30;--dark-text-a587d6:#bda8e1;--dark-surface-e7f3ff:#172430;--dark-text-78a5da:#a3c2e6;--dark-surface-e7f6ef:#173025;--dark-text-6bb998:#afd9c8;--dark-text-a7a0b0:#d8d5dc;--dark-text-9a88ac:#d9d2e0;--dark-text-a699b1:#d9d4de;--dark-text-b49bcb:#c5b2d7;--dark-surface-fbf9fe:#211730;--dark-text-b5a8c0:#d9d3df;--dark-text-9580ac:#d8d1e1;--dark-text-9683a5:#d9d3df;--dark-text-b6a9c2:#d9d2df;--dark-text-a99ab6:#d9d3df;--dark-text-94829e:#dad4de;--dark-text-9c83ae:#dad1e1;--dark-text-c0b0cb:#dad1e1;--dark-text-a38bbd:#c4b4d4;--dark-text-835dad:#c3b1d8;--dark-surface-fcfaff:#211730;--dark-text-b3a2c4:#d9d0e1;--dark-text-c7b0e2:#c2a9e0;--dark-text-b0a0bd:#d9d2e0;--dark-text-a189bd:#c3b4d5;--dark-surface-edeef4:#1b1e2c;--dark-text-90849d:#d9d4dd;--dark-surface-efebf8:#1f1730;--dark-surface-fff5e8:#302517;--dark-surface-eaf5ef:#173023;--dark-text-9d86ae:#dad1e0;--dark-text-c0b1cd:#d9d0e1;--dark-text-bca9c9:#dad0e1;--dark-text-bba8c9:#dad0e2;--dark-text-b6a4c3:#dad1e1;--dark-text-baa1ca:#c8b4d5;--dark-surface-c5b3d6:#332442;--dark-surface-eef9f3:#173023;--dark-text-609d80:#d0e2d9;--dark-surface-fff2ef:#301c17;--dark-text-c48471:#ddb7ac;--dark-surface-e7f5f8:#172c30;--dark-text-9e83bc:#c3b3d6;--dark-text-9f80ba:#c6b3d6;--dark-text-a37bc1:#c7afda;--dark-surface-aa89d2:#36224f;--dark-surface-27203861:#27203861;--dark-text-a69ab4:#d8d3de;--dark-surface-e7f8ef:#173023;--dark-surface-f7f6fa:#1f1a2e;--dark-text-a79ab5:#d9d3df;--dark-text-aa8cbe:#c8b4d5;--dark-text-b393c9:#c8b1d8;--dark-text-ac9dbb:#d9d2e0;--dark-text-9987a9:#d9d2df;--dark-text-beafcb:#d9d1e1;--dark-text-c9b8d9:#c5b3d6;--dark-surface-fff9f4:#302317;--dark-text-b39688:#e1d6d0;--dark-text-c8b2a3:#d3c2b6;--dark-text-d2bca8:#d7c3b2;--dark-surface-2c21385e:#2c21385e;--dark-surface-087b91:#087b91;--dark-surface-2563eb:#0e3895;--dark-surface-059669:#059669;--dark-surface-ea580c:#9b3a08;--dark-surface-b7790b:#9a6609;--dark-surface-db2777:#8c174b;--dark-surface-64748b:#2f3641;--dark-text-64748b:#d3d8df;--dark-surface-f8f7fc:#1c1730;--dark-text-334155:#cfd7e2;--dark-surface-e5f5f8:#172c30;--dark-text-087b91:#9edeea;--dark-text-475569:#d1d7e0;--dark-text-075e70:#9eddea;--dark-surface-edf8fa:#172c30;--dark-text-1e293b:#b1c0d7;--dark-surface-ebf7fa:#172b30;--dark-text-65548a:#d5cfe2;--dark-text-0c5364:#9edcea;--dark-surface-c7e9ef:#213f45;--dark-text-94a3b8:#d1d7e0;--dark-surface-f3f4f8:#1a1e2d;--dark-surface-f8f9fc:#171d30;--dark-surface-e5f6ee:#173024;--dark-text-047857:#9eead5;--dark-surface-fff3cf:#453c21;--dark-text-92620a:#ead09e;--dark-surface-ffede4:#302017;--dark-text-b45309:#eabf9e;--dark-surface-eef1f6:#19212f;--dark-surface-219bb0:#1a7989;--dark-surface-10b981:#0d9669;--dark-surface-d97706:#9f5704;--dark-text-219bb0:#9edfea;--dark-text-92400e:#eabb9e;--dark-text-967257:#d4c2b5;--dark-text-555:#d9d9d9;--dark-text-526174:#d2d8df;--dark-surface-e4f4f7:#172c30;--dark-surface-dc4e22:#8d3216;--dark-text-183545:#a8cde1;--dark-surface-fff7df:#302a17;--dark-text-674b13:#ead19e;--dark-surface-ac7510:#95660e;--dark-surface-07805e:#07805e;--dark-text-254052:#aec9db;--dark-surface-f0f3f7:#19222f;--dark-surface-f3f7fa:#172530;--dark-surface-e9f5f7:#172d30;--dark-surface-d7eff3:#214045;--dark-text-065d70:#9eddea;--dark-surface-ffeadc:#302117;--dark-text-9b3f16:#eab69e;--dark-surface-e5f3f6:#172c30;--dark-surface-d95522:#8d3716;--dark-surface-e5edf0:#253941;--dark-text-738b96:#d3dbde;--dark-surface-e4f3f6:#213f45;--dark-surface-f8fbfd:#172630;--dark-surface-e6f4f7:#172c30;--dark-surface-b42332:#891b26;--dark-surface-edf6f9:#172a30;--dark-surface-f4fafc:#172a30;--dark-surface-edf7f5:#17302b;--dark-surface-e6f7f1:#173027;--dark-text-00654e:#9eead9;--dark-surface-fafcfd:#172830;--dark-surface-f7fafc:#172630;--dark-surface-f3f8fb:#172730;--dark-surface-eaf6f1:#173026;--dark-surface-d18a25:#8b5c19;--dark-surface-f2f5f8:#19242e;--dark-surface-fff0ef:#301917;--dark-surface-eaf2f7:#172730;--dark-surface-168da1:#147e90;--dark-surface-0b6c83:#0b6c83;--dark-surface-0b3c55:#0b3c55;--dark-text-80d6dd:#a2e1e6;--dark-surface-ffffff1c:#2424241c;--dark-text-b3f0ef:#9eeae9;--dark-text-b2e1e8:#a5dce4;--dark-text-d4e9ee:#abd4de;--dark-surface-ffffff0c:#2424240c;--dark-text-a9d4df:#aad4df;--dark-surface-f3f9fc:#172830;--dark-surface-e9f2f8:#172630;--dark-text-587080:#d2dae0;--dark-surface-ffe6e3:#301a17;--dark-surface-fff4f2:#301b17;--dark-surface-e9f6fb:#172930;--dark-surface-e8f3ff:#172330;--dark-surface-e8f7ee:#173021;--dark-surface-fff0e7:#302117;--dark-surface-fff7f6:#301a17;--dark-text-8395a2:#d3dade;--dark-surface-fffcf5:#302917;--dark-surface-f5faff:#172430;--dark-text-728392:#d4d9de;--dark-text-768795:#d4d9de;--dark-text-167e94:#9eddea;--dark-text-738491:#d4d9dd;--dark-surface-72a4b6:#26404a;--dark-text-187d92:#9eddea;--dark-surface-f0f6f8:#172a30;--dark-text-238296:#a0dce9;--dark-text-728795:#d3dade;--dark-surface-f5fafc:#172930;--dark-text-768995:#d4dade;--dark-surface-986c17:#8e6515;--dark-surface-147c99:#137590;--dark-surface-087a57:#087a57;--dark-text-233e4d:#aecbda;--dark-surface-278da1:#207383;--dark-surface-f5f9fd:#172430;--dark-surface-f4faf7:#173024;--dark-text-35586a:#b1cbd8;--dark-text-82919c:#d4d9dd;--dark-text-7a8d9a:#d4dade;--dark-text-243e4c:#afcbd9;--dark-text-718794:#d3dade;--dark-text-80929e:#d4dade;--dark-surface-eef2f5:#1a252d;--dark-surface-40a98a:#2d7661;--dark-surface-438fa6:#2f6474;--dark-surface-c39750:#7a5b2a;--dark-text-235c73:#a5d2e4;--dark-surface-fff1ee:#301c17;--dark-text-943b2b:#e5aea4;--dark-text-8f594d:#d6b9b3;--dark-surface-fff9f7:#301d17;--dark-text-728895:#d3dade;--dark-text-a84d3e:#dfb1a9;--dark-surface-f8fbfc:#172a30;--dark-text-54808d:#b5ccd3;--dark-text-294553:#b0cbd8;--dark-text-617989:#d2dadf;--dark-surface-8a8fc2:#262a4a;--dark-text-294b60:#adcadc;--dark-text-68828d:#d3dbdf;--dark-text-37586a:#b2cad7;--dark-text-19829a:#9edcea;--dark-text-284b5d:#adccdc;--dark-text-587685:#d1dbe1;--dark-text-14756b:#9eeae3;--dark-text-577081:#d1dae0;--dark-text-1d4156:#a7cce1;--dark-text-16819a:#9edcea;--dark-text-96701e:#ead29e;--dark-text-087e72:#9eeae3;--dark-text-688190:#d3dadf;--dark-text-3e677b:#b1cbd8;--dark-surface-f7fafb:#182a30;--dark-text-197f94:#9eddea;--dark-text-68808e:#d3dadf;--dark-surface-edf6f7:#172e30;--dark-text-287486:#a5d8e4;--dark-surface-f6fafc:#172830;--dark-text-294c60:#adcbdc;--dark-text-193e53:#a5cde4;--dark-text-718795:#d3dade;--dark-surface-e7f3f6:#172b30;--dark-text-167d92:#9edeea;--dark-text-203b49:#adccdb;--dark-text-097c92:#9edeea;--dark-text-71838e:#d4dadd;--dark-text-647d8c:#d2dadf;--dark-text-0c7e94:#9edeea;--dark-text-315260:#b1ccd7;--dark-surface-f5fafb:#172c30;--dark-text-506977:#d1dbe0;--dark-text-247e92:#a1dbe8;--dark-text-82939e:#d4dade;--dark-surface-eaf5f8:#172b30;--dark-text-214250:#accedd;--dark-text-81929c:#d4dadd;--dark-text-7b8d98:#d4dadd;--dark-text-278398:#a2dae7;--dark-text-7b8e99:#d4dade;--dark-text-167e93:#9edeea;--dark-text-6a808d:#d3dade;--dark-text-81939f:#d4dade;--dark-surface-fff8e9:#302817;--dark-text-4e8696:#b2cfd7;--dark-text-587380:#d2dbe0;--dark-text-284c5e:#adccdc;--dark-text-718896:#d3dade;--dark-surface-f0f8fa:#172b30;--dark-surface-f3f7f8:#1a292d;--dark-text-3d5967:#b5c9d3;--dark-surface-087e93:#087e93;--dark-surface-b42336:#891b29;--dark-surface-11815c:#11815c;--dark-surface-0c6849:#0c6849;--dark-text-6b7f88:#d4dadd;--dark-surface-e0ebee:#243b42;--dark-text-395c68:#b3cdd5;--dark-text-294b5a:#aecdda;--dark-surface-f1f7fb:#172630;--dark-text-243e50:#aec8db;--dark-text-087e93:#9edfea;--dark-surface-f4f8fd:#172230;--dark-surface-edf2ff:#171e30;--dark-text-315bba:#a2b7e7;--dark-surface-e9f6f1:#173027;--dark-text-087957:#9eead4;--dark-surface-e0e9ff:#171e30;--dark-surface-d7eee3:#214534;--dark-surface-315bba:#223f81;--dark-text-166c83:#9edaea;--dark-text-78909c:#d3dbdf;--dark-surface-fcfdfe:#172430;--dark-text-627b88:#d3dbdf;--dark-surface-f2fafb:#172d30;--dark-text-173f50:#a4d1e5;--dark-text-637b86:#d3dbde;--dark-text-7d9099:#d4dadd;--dark-surface-f0f8f5:#173027;--dark-text-738398:#d3d8df;--dark-surface-b484a7:#462b3e;--dark-surface-f3f9fb:#172a30;--dark-text-12869a:#9edfea;--dark-text-788896:#d4d9de;--dark-surface-edf4f6:#182a30;--dark-text-607680:#d3dbde;--dark-text-b34b50:#dcacaf;--dark-text-208797:#9ee0ea;--dark-text-187f94:#9edeea;--dark-surface-eff7fa:#172930;--dark-surface-eaf6f8:#172d30;--dark-text-096c80:#9edeea;--dark-surface-f6f9fb:#172630;--dark-text-204657:#a9cfdf;--dark-surface-e5f3f5:#214045;--dark-text-087f91:#9ee0ea;--dark-text-718399:#d2d8df;--dark-text-078197:#9edfea;--dark-surface-e0f0f3:#213f45;--dark-surface-fffaf0:#302817;--dark-surface-e9f3f6:#172a30;--dark-text-08788b:#9edfea;--dark-text-087d91:#9edfea;--dark-text-254757:#adcddc;--dark-surface-e7eff4:#172730;--dark-text-294557:#afc9d9;--dark-surface-668699:#2d3b43;--dark-surface-c18b16:#936a11;--dark-surface-087f98:#087f98;--dark-surface-5b64c8:#22254f;--dark-surface-bd7628:#87541d;--dark-surface-8960ab:#3a2749;--dark-surface-099879:#099879;--dark-surface-fafbfc:#1b242d;--dark-surface-f4f6f8:#1c242c;--dark-surface-edf5f7:#172b30;--dark-text-627687:#d3d9df;--dark-surface-e3e9ed:#28353e;--dark-surface-f5f5f5:#242424;--dark-surface-eeeeee:#242424;--dark-surface-f8fafb:#1a272d;--dark-surface-f5f8fa:#182630;--dark-surface-f7f9fa:#1b262c;--dark-text-738592:#d4dade;--dark-surface-e8f5ef:#173025;--dark-text-177857:#9eead1;--dark-surface-f1f3f5:#1e242a;--dark-text-637380:#d4d9de;--dark-text-087e92:#9edfea;--dark-surface-edf8fc:#172a30;--dark-text-078397:#9ee0ea;--dark-white-text:#f1f5f9;--dark-white-surface:#192330}
html[data-theme="dark"] .signature-tools button,html[data-theme="dark"] .signature-tools .signature-image-button{background:#233243;color:#e4edf6;border-color:#495d73}html[data-theme="dark"] .pill{background:#25374a;color:#e0eaf5}html[data-theme="dark"] .badge-green{background:#143b30;color:#a4edcc}html[data-theme="dark"] .badge-amber{background:#44351b;color:#ffe0a3}html[data-theme="dark"] .badge-violet{background:#243955;color:#b8daff}html[data-theme="dark"] .badge-coral{background:#482932;color:#ffc4ce}html[data-theme="dark"] .badge-slate{background:#2d3948;color:#dce6f0}html[data-theme="dark"] .te-edit,html[data-theme="dark"] .te-finish{background:#20394a;color:#b8e5f4;border-color:#426378}html[data-theme="dark"] a:focus-visible,html[data-theme="dark"] button:focus-visible{outline:3px solid #87dcf0}html[data-theme="dark"] input:focus,html[data-theme="dark"] select:focus,html[data-theme="dark"] textarea:focus{outline:2px solid #87dcf0}html[data-theme="dark"] .bucket-count{background:#075e70;color:#fff}

/* Statistic cards use an explicit dark surface: legacy gradients contained literal white. */
html[data-theme="dark"] body[data-page] .stats article,
html[data-theme="dark"] body[data-page] .task-queue-stats>article{background:#1b2838;border-color:#3c4d62;color:#f1f5f9}
html[data-theme="dark"] body[data-page] .stats article>b,
html[data-theme="dark"] body[data-page] .stats article strong,
html[data-theme="dark"] body[data-page] .queue-stat-value>b{color:#f1f5f9}
html[data-theme="dark"] body[data-page] .stats .stat-top>span:first-child,
html[data-theme="dark"] body[data-page] .stats article:not(.stat-card)>span,
html[data-theme="dark"] body[data-page] .queue-stat-title h2{color:#dce6f0}
html[data-theme="dark"] body[data-page] .stats article small,
html[data-theme="dark"] body[data-page] .stats article p,
html[data-theme="dark"] body[data-page] .queue-stat-value small{color:#b8c8da}

/* Shared top bar: centered search and primary page actions; work composers stay in the page. */
.app-header{display:grid;grid-template-columns:minmax(0,1fr) minmax(210px,330px) minmax(0,1fr);height:auto;min-height:80px;padding-block:12px;gap:18px}
.app-header .breadcrumb{min-width:0;overflow:hidden}.app-header .global-search{grid-column:2;width:100%;max-width:none;min-width:0;margin:0;justify-self:center}
.header-right{grid-column:3;display:flex;flex-direction:column;align-items:flex-end;gap:8px;min-width:0}.header-page-actions{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:7px}.header-page-actions:empty{display:none}.header-page-actions .form-grid{display:block;margin:0}.header-page-actions .delete-actions{margin:0}.header-page-actions .btn{font-size:12px;padding:7px 11px;min-height:34px}.header-page-actions .action-icon{width:34px;padding:7px}.app-header .header-actions{flex-wrap:wrap;justify-content:flex-end;gap:7px}.has-page-actions .header-actions>a[aria-label="Nueva tarea"]{display:none}.te-action-stack:has(.te-work-actions){align-self:center}.te-action-stack .te-work-actions{margin-top:0}
@media(max-width:1100px){.app-header{grid-template-columns:minmax(0,1fr) minmax(180px,280px) minmax(0,1fr);gap:10px;padding-inline:18px}.app-header .header-actions .theme-toggle{min-width:34px}.app-header .header-actions .theme-toggle>span:first-child{display:inline}}
@media(max-width:760px){.app-header{grid-template-columns:32px minmax(0,1fr) auto;padding:10px 12px;gap:9px}.app-header .mobile-menu{grid-column:1;grid-row:1}.app-header .global-search{grid-column:2;grid-row:1}.header-right{display:contents}.app-header .header-actions{grid-column:3;grid-row:1}.header-page-actions{grid-column:1/-1;grid-row:2;justify-content:flex-end}.header-page-actions .btn{white-space:normal}.app-header .breadcrumb{display:none}}
@media print{.app-header{display:none}}

/* Keep all header controls on one row on desktop. */
.app-header{grid-template-columns:minmax(0,1fr) minmax(180px,280px) minmax(0,1fr)}
.header-right{flex-direction:row;align-items:center;justify-content:flex-end;gap:10px;width:max-content;justify-self:end}
.header-page-actions,.app-header .header-actions{flex-wrap:nowrap}
.header-page-actions .btn{white-space:nowrap}
@media(min-width:761px) and (max-width:1450px){.app-header{grid-template-columns:minmax(0,1fr) minmax(150px,220px) auto}.app-header .breadcrumb{font-size:10px}.app-header .header-actions .btn,.header-page-actions .btn{padding:7px 9px;font-size:11px}.header-right{gap:7px}.header-page-actions{gap:5px}.app-header .header-actions .theme-toggle{min-width:34px}.app-header .header-actions .theme-toggle [data-theme-label]{display:none}}
@media(max-width:760px){.app-header{display:flex;flex-wrap:wrap}.app-header .global-search{flex:1;min-width:140px}.header-right{display:flex;flex-direction:row;flex-wrap:nowrap;max-width:100%;width:100%;justify-content:flex-end;overflow-x:auto;padding:3px 0}.header-page-actions{flex-shrink:0}.app-header .header-actions{flex-shrink:0}.header-page-actions .btn{white-space:nowrap}}

/* Uniform header action sizing, including icon-only and notification controls. */
.app-header .header-right .btn,
.app-header .header-right .icon-button,
.app-header .header-right .notification-button,
.app-header .header-right .action-icon{height:36px;min-height:36px;max-height:36px;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;padding:0 11px;line-height:1;vertical-align:middle;margin-top:0;margin-bottom:0}
.app-header .header-right .icon-button,
.app-header .header-right .notification-button,
.app-header .header-right .action-icon{width:36px;min-width:36px;padding:0;flex-shrink:0}
.app-header .header-right .btn .icon,
.app-header .header-right .icon-button .icon,
.app-header .header-right .notification-button .icon{width:17px;height:17px}
.app-header .header-right .form-grid,
.app-header .header-right .delete-actions,
.app-header .header-right .state-buttons{margin:0;display:flex;align-items:center;gap:7px}
.app-header .header-right .theme-toggle{min-height:36px;height:36px}

.sidebar-alerts{display:flex;align-items:center;gap:8px;padding:8px 10px;margin:8px 0 16px;border-radius:8px;font-size:12px;color:#526174;background:#f1f5f8}.sidebar-alerts .icon{width:16px;height:16px}.sidebar-alerts.has-notices{color:#075e70;background:#e3f3f6;font-weight:600}.notification-popup{width:min(520px,calc(100vw - 32px));max-height:85vh}.notification-popup-list{display:grid;gap:8px;max-height:50vh;overflow:auto;margin:16px 0}.notification-popup-list>a{display:block;padding:12px;border:1px solid #dae4ec;border-radius:9px;background:#f4f8fa;color:#19384b;font-size:14px}.notification-popup-list>a:hover{text-decoration:underline}html[data-theme="dark"] .sidebar-alerts{background:#203042;color:#c2d1e0}html[data-theme="dark"] .sidebar-alerts.has-notices{background:#173e48;color:#a8e7f2}html[data-theme="dark"] .notification-popup-list>a{background:#203042;border-color:#455b72;color:#e3eef7}

.desktop-menu-toggle{display:none}.sidebar-resizer{display:none}
@media(min-width:761px){:root{--sidebar:var(--saved-sidebar-width,248px)}.sidebar{width:var(--sidebar)}.app{margin-left:var(--sidebar)}.desktop-menu-toggle{display:inline-flex;position:absolute;left:8px;top:22px;z-index:2}.app-header{padding-left:52px}.sidebar-resizer{display:block;position:fixed;left:calc(var(--sidebar) - 6px);top:0;bottom:0;width:6px;cursor:col-resize;touch-action:none;z-index:65}.sidebar-resizer:hover,.sidebar-resizer:focus-visible{background:#4ab5c6;outline:none}.sidebar-collapsed .sidebar{transform:translateX(-100%);visibility:hidden}.sidebar-collapsed .app{margin-left:0}.sidebar-resizing,.sidebar-resizing *{cursor:col-resize!important;user-select:none!important}}
@media print{.desktop-menu-toggle,.sidebar-resizer{display:none!important}}

/* Compact navigation and slim Incomaz-blue scrollbar. */
.sidebar{scrollbar-width:thin;scrollbar-color:#80c9e1 transparent}
.sidebar::-webkit-scrollbar{width:5px}
.sidebar::-webkit-scrollbar-track{background:transparent}
.sidebar::-webkit-scrollbar-thumb{background:#80c9e1;border-radius:8px}
.sidebar::-webkit-scrollbar-thumb:hover{background:#43add0}
.sidebar nav a{min-height:33px;padding:3px 8px;margin:1px 0;gap:8px;line-height:1.35}
.sidebar .nav-icon{width:25px;height:25px;border-radius:7px}
.sidebar .nav-icon .icon{width:15px;height:15px}
.sidebar .nav-group{margin-bottom:11px}
.sidebar .nav-label{margin-bottom:4px;line-height:1.4}
.sidebar .sidebar-alerts{margin-bottom:12px;padding-block:6px}
@media(pointer:coarse){.sidebar nav a{min-height:40px}}

.notice-side-toast{position:fixed;right:20px;bottom:22px;z-index:85;width:350px;max-width:calc(100vw - 32px);padding:15px 38px 16px 16px;border:1px solid #dce5ec;border-left:3px solid #43add0;border-radius:12px;background:#fff;color:#233647;box-shadow:0 8px 30px #10253626}.notice-side-toast>.icon-button{position:absolute;right:5px;top:5px;width:28px;height:28px;font-size:21px;color:#63788a}.notice-side-toast>small{display:block;font-size:10px;letter-spacing:.4px;color:#60778b;margin-bottom:9px}.notice-side-toast>a{display:grid;gap:4px}.notice-side-toast strong{font-size:14px;overflow-wrap:anywhere}.notice-side-toast a>small{font-size:11px;color:#60778b}.notice-side-toast a>span{font-size:13px;line-height:1.45;overflow-wrap:anywhere}.notice-side-toast a:hover strong{text-decoration:underline}.notice-side-error{display:block;font-size:12px;color:#b42336;margin-top:5px}html[data-theme="dark"] .notice-side-toast{background:#1b2838;color:#e4edf6;border-color:#40566b;border-left-color:#80c9e1}html[data-theme="dark"] .notice-side-toast small,html[data-theme="dark"] .notice-side-toast>.icon-button{color:#b8c8da}html[data-theme="dark"] .notice-side-error{color:#ffb5be}@media(max-width:760px){.notice-side-toast{right:12px;bottom:12px}}@media print{.notice-side-toast{display:none}}

.notice-side-toast .notice-website-url{overflow-wrap:anywhere;font-size:11px}

.notice-side-items{display:grid;max-height:60vh;overflow-y:auto;gap:10px}.notice-side-items>a{display:grid;gap:3px;padding-bottom:10px;border-bottom:1px solid #dce5ec}.notice-side-items>a:last-child{border-bottom:0;padding-bottom:0}.notice-side-toast .notice-view-all{display:block;margin-top:12px;font-size:12px;font-weight:600;color:#087b91}.notice-side-toast .notice-side-items small{color:#60778b;font-size:11px}.notice-side-toast .notice-side-items span{font-size:12px;line-height:1.4;overflow-wrap:anywhere}html[data-theme="dark"] .notice-side-items>a{border-color:#40566b}html[data-theme="dark"] .notice-side-toast .notice-side-items small{color:#b8c8da}html[data-theme="dark"] .notice-side-toast .notice-view-all{color:#9edfec}

.kit-directory .contract-summary>span{display:inline-flex;align-items:center;gap:6px}.kit-directory .contract-summary .icon{width:15px;height:15px}.kit-directory .contract-summary{display:flex;flex-wrap:wrap;gap:8px}.kit-directory .contract-summary>small{width:100%}

.team-chat{display:grid;grid-template-columns:240px minmax(0,1fr);height:min(720px,calc(100dvh - 220px));min-height:400px;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--surface)}.chat-people{padding:14px;border-right:1px solid var(--line);overflow:auto}.chat-people label{display:grid;gap:7px;font-size:12px}.chat-people input{width:100%;padding:9px;border:1px solid var(--line);border-radius:8px;margin-bottom:14px}.chat-people .chat-peer{display:flex;width:100%;justify-content:space-between;white-space:normal;text-align:left;padding:10px;margin-bottom:4px;background:transparent;color:var(--ink);border-radius:8px}.chat-peer.selected{background:#e3f3f6}.chat-peer b{font-size:11px;background:#087b91;color:white;border-radius:12px;padding:2px 7px}.chat-conversation{display:flex;flex-direction:column;min-width:0;min-height:0}.chat-conversation>header{display:grid;gap:3px;padding:16px;border-bottom:1px solid var(--line)}.chat-conversation>header small{font-size:11px;color:var(--muted)}.chat-messages{flex:1;min-height:0;overflow:auto;display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:18px}.chat-bubble{max-width:85%;padding:10px 13px;border-radius:12px;background:#edf1f5;color:#243647}.chat-bubble.mine{align-self:flex-end;background:#def2f5}.chat-bubble p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;color:inherit;font-size:14px}.chat-bubble time{display:block;font-size:10px;opacity:.8;margin-top:5px}.chat-conversation form{padding:12px;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center}.chat-conversation textarea{resize:vertical;min-height:48px;max-height:160px;padding:10px;border:1px solid var(--line);border-radius:8px;width:100%}.chat-conversation form small{grid-column:1/-1;font-size:10px;color:var(--muted)}.chat-older{align-self:center;margin:8px;background:transparent}.chat-message-toast{position:fixed;right:20px;top:100px;max-width:350px;z-index:84;display:flex;align-items:center;gap:12px;padding:12px 15px;border-radius:10px;border:1px solid #90c7d3;background:var(--surface);color:var(--ink);box-shadow:0 6px 24px #0002;font-size:13px}.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}html[data-theme="dark"] .chat-peer.selected{background:#203e4a}html[data-theme="dark"] .chat-bubble{background:#29394b;color:#e2ebf5}html[data-theme="dark"] .chat-bubble.mine{background:#19434d;color:#e2f5fa}@media(max-width:760px){.team-chat{grid-template-columns:1fr;height:calc(100dvh - 220px)}.chat-people{max-height:140px;border-right:0;border-bottom:1px solid var(--line)}.chat-people [data-chat-peers]{display:flex;gap:6px;overflow:auto}.chat-people .chat-peer{width:auto;min-width:140px}.chat-bubble{max-width:95%}.chat-message-toast{right:12px;left:12px;top:85px;max-width:none}}

.chat-launcher{position:fixed;right:22px;bottom:20px;z-index:86;display:flex;align-items:center;gap:8px;background:#087b91;color:#fff;border-radius:28px!important;box-shadow:0 5px 22px #0003;padding:12px 18px!important}.chat-launcher b{background:#b42336;color:#fff;border-radius:12px;padding:1px 7px;font-size:11px}.floating-team-chat{position:fixed;right:22px;bottom:78px;z-index:86;width:650px;max-width:calc(100vw - 32px);height:min(590px,calc(100dvh - 110px));border:1px solid var(--line);border-radius:15px;background:var(--surface);box-shadow:0 14px 55px #0003;overflow:hidden;display:flex;flex-direction:column}.floating-chat-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 14px;border-bottom:1px solid var(--line);color:var(--ink)}.floating-chat-bar .chat-sound-toggle{font-size:10px;padding:5px;min-height:28px;background:transparent;color:var(--muted)}.floating-team-chat .team-chat{height:auto;min-height:0;flex:1;grid-template-columns:190px minmax(0,1fr);border:0;border-radius:0}.floating-team-chat .chat-people{min-height:0}.floating-team-chat .chat-conversation{min-height:0}.notice-side-toast{bottom:84px}.floating-team-chat .chat-conversation>header{padding:11px 13px}.floating-team-chat .chat-messages{padding:12px}.floating-team-chat .chat-people .chat-peer{font-size:12px}body[data-page=dashboard] .content>.stats{width:100%;margin:0 0 20px;padding:0;gap:16px;grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch}body[data-page=dashboard] .content>.stats>article{margin:0;padding:18px;min-width:0}body[data-page=dashboard] .stats .stat-top{min-height:44px;align-items:flex-start}body[data-page=dashboard] .stats article>b{font-size:clamp(20px,1.8vw,29px)}
@media(max-width:1250px){body[data-page=dashboard] .content>.stats{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.floating-team-chat{right:10px;bottom:74px;max-width:calc(100vw - 20px)}.floating-team-chat .team-chat{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr)}.floating-team-chat .chat-people{max-height:120px}.chat-launcher{right:12px;bottom:14px}body[data-page=dashboard] .content>.stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:420px){body[data-page=dashboard] .content>.stats{grid-template-columns:1fr}}@media print{.floating-team-chat,.chat-launcher{display:none!important}}

.app-header>.theme-toggle{position:absolute;left:44px;top:22px;width:36px;min-width:36px;height:36px;min-height:36px;padding:0;display:inline-flex;align-items:center;justify-content:center;color:var(--ink)}.app-header>.theme-toggle>span:first-child{font-size:21px;display:inline}.app-header{padding-left:88px}@media(max-width:760px){.app-header{padding-left:12px}.app-header>.theme-toggle{position:static;order:0;flex:none}.app-header>.mobile-menu{order:-1}.app-header>.desktop-menu-toggle{display:none}.app-header .global-search{order:1}.app-header .header-right{order:2}}

/* Compact messenger and consistent dashboard rhythm. */
.floating-team-chat{width:700px;border-radius:22px;background:var(--dark-surface-fff,#fff);box-shadow:0 18px 65px #102c4430}
.floating-chat-bar{padding:13px 16px;background:var(--dark-surface-f5f9fd,#f5f9fd)}
.floating-team-chat .team-chat{grid-template-columns:210px minmax(0,1fr);background:var(--dark-surface-fff,#fff)}
.floating-team-chat .chat-people{padding:12px;background:var(--dark-surface-f5f9fd,#f5f9fd)}
.chat-people label{font-size:0}.chat-people input{font-size:12px;border-radius:12px;margin-bottom:12px}
.floating-team-chat .chat-peer{align-items:center;gap:9px;padding:10px 8px;border:0;border-radius:13px;min-height:54px;box-shadow:none}
.chat-peer>span:not(.chat-person-avatar){flex:1;line-height:1.4;font-weight:600}
.chat-person-avatar{display:inline-flex;align-items:center;justify-content:center;flex:none;width:35px;height:35px;background:#dceff3;border:1px solid #bcdce4;border-radius:50%;font-size:22px;line-height:1}
[data-chat-name]{display:flex;align-items:center;gap:10px;font-size:13px}.chat-conversation>header small{margin-left:45px}
.floating-team-chat .chat-messages{padding:18px 16px;gap:8px;background:var(--dark-surface-f6f7fa,#f6f7fa)}
.chat-bubble{border-radius:16px 16px 16px 4px;box-shadow:0 1px 2px #102c4410;padding:10px 13px}.chat-bubble.mine{border-radius:16px 16px 4px 16px;background:#d5f1ed}.chat-bubble p{font-size:13px;line-height:1.55}.chat-bubble time{text-align:right;font-size:10px}
.chat-conversation form{padding:12px;gap:8px}.chat-conversation textarea{border-radius:16px;min-height:44px;resize:none;font-size:13px}.chat-conversation form .btn{border-radius:14px;min-height:44px;padding:9px 13px}.chat-conversation form small{display:none}
body[data-page=dashboard] .content>.dashboard-priorities,body[data-page=dashboard] .content>.stats,body[data-page=dashboard] .content>.report-overview{width:100%;max-width:none;margin:0 0 20px;min-width:0}
body[data-page=dashboard] .dashboard-priorities{display:block;padding:0}body[data-page=dashboard] .dashboard-pending-pair{margin:0;gap:16px}body[data-page=dashboard] .dashboard-group{margin:0;padding:20px}
body[data-page=dashboard] .content>.stats{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}body[data-page=dashboard] .content>.stats>article{padding:20px;border-radius:16px;box-shadow:none}body[data-page=dashboard] .report-overview>.panel{padding:20px}
.search-results{display:grid;gap:16px}.search-result{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid var(--line);color:inherit}.search-result small{display:block;color:var(--muted);margin-top:4px}.search-result:last-child{border:0}
@media(max-width:1200px){body[data-page=dashboard] .content>.stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.floating-team-chat .team-chat{grid-template-columns:1fr}.floating-team-chat .chat-people{max-height:140px}.chat-people .chat-peer{min-width:160px}body[data-page=dashboard] .content>.stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:420px){body[data-page=dashboard] .content>.stats{grid-template-columns:1fr}}

.floating-team-chat[hidden],.chat-launcher [hidden]{display:none!important}
/* Messenger: one focused view, contact list then conversation. */
.floating-team-chat{width:390px;height:min(600px,calc(100dvh - 110px));border-radius:24px;box-shadow:0 24px 80px #072b4540}
.floating-chat-bar{padding:18px 18px 12px;border:0;background:var(--dark-surface-fff,#fff)}.floating-chat-bar>strong{font-size:19px;letter-spacing:-.5px}.floating-chat-bar .chat-sound-toggle{margin-left:auto;font-size:0}.chat-sound-toggle:before{content:'♪';font-size:20px}.chat-sound-toggle[aria-pressed=false]:before{content:'♩';opacity:.4}
.floating-team-chat .team-chat{display:flex;flex-direction:column;min-height:0}.floating-team-chat .chat-people{max-height:none;width:100%;height:100%;padding:10px 14px;border:0;background:var(--dark-surface-fff,#fff)}.chat-people input{padding:12px 14px;background:var(--dark-surface-f6f7fa,#f6f7fa);border:0;border-radius:14px}.floating-team-chat .chat-people [data-chat-peers]{display:block}.floating-team-chat .chat-peer{width:100%;padding:14px 10px;gap:13px;border-bottom:1px solid var(--line);border-radius:0;font-size:14px}.chat-person-avatar{width:44px;height:44px;font-size:28px}.floating-team-chat .chat-conversation{display:none;flex:1}.floating-team-chat .has-conversation .chat-people{display:none}.floating-team-chat .has-conversation .chat-conversation{display:flex}
.floating-team-chat .chat-conversation>header{display:grid;grid-template-columns:28px 1fr;padding:10px 16px 14px;gap:2px 8px}.chat-back{grid-row:1/3;align-self:center;border:0;background:transparent;color:var(--ink);padding:0;font-size:24px}.chat-conversation>header small{grid-column:2;margin-left:54px;font-size:10px}[data-chat-name]{font-size:14px}.floating-team-chat .chat-messages{padding:18px;gap:12px}.chat-bubble{max-width:88%;background:var(--dark-surface-fff,#fff);border:1px solid var(--line);border-radius:18px 18px 18px 5px}.chat-bubble.mine{background:#087f91;color:#fff;border:0;border-radius:18px 18px 5px 18px}.chat-bubble p{font-size:14px}.chat-bubble time{font-size:10px;opacity:.65}
.chat-conversation form{grid-template-columns:28px minmax(0,1fr) 40px;gap:8px;padding:14px 12px;background:var(--dark-surface-fff,#fff)}.chat-conversation textarea{grid-column:2;grid-row:1;min-height:48px;height:48px;background:var(--dark-surface-f6f7fa,#f6f7fa);border:0;padding:13px}.chat-conversation .chat-send{grid-column:3;grid-row:1;border-radius:50%;width:38px;height:38px;min-height:38px;font-size:24px;padding:0}.chat-attach{grid-column:1;grid-row:1;cursor:pointer;font-size:25px;color:#087f91;text-align:center}.chat-file-draft{grid-column:1/3;font-size:10px;color:var(--muted);overflow-wrap:anywhere}.chat-remove-file{background:transparent;color:var(--ink);padding:0}.chat-remove-file[hidden]{display:none}.chat-file{display:block;color:inherit;padding:10px;background:#7cbec326;border-radius:10px;overflow-wrap:anywhere;font-size:12px}.chat-file small{display:block;font-size:10px;margin-top:5px;opacity:.8}

/* Floating chat launcher: compact, quiet, consistent in both themes. */
button.chat-launcher{width:52px;height:52px;min-width:52px;min-height:52px;padding:0!important;border-radius:50%!important;display:flex;align-items:center;justify-content:center;gap:0;background:#087f91;border:1px solid #ffffff30;color:#fff;box-shadow:0 4px 14px #073a4929;transition:background .18s,box-shadow .18s,transform .18s}
.chat-launcher-glyph{display:block;width:25px;height:25px;flex:none}
button.chat-launcher:hover{background:#066c7c;box-shadow:0 6px 20px #073a4938;transform:translateY(-2px)}
button.chat-launcher:focus-visible{outline:3px solid #7acdde;outline-offset:4px}
button.chat-launcher[aria-expanded=true]{background:#e4f4f6;color:#086f80;border-color:#b5dce3;box-shadow:0 2px 9px #073a4920}
button.chat-launcher b{position:absolute;top:-3px;right:-3px;min-width:20px;height:20px;padding:0 5px;border:2px solid var(--dark-surface-fff,#fff);display:flex;align-items:center;justify-content:center;border-radius:12px;background:#d54930;color:#fff;font-size:10px;line-height:1;font-weight:700}
html[data-theme=dark] button.chat-launcher{background:#168b9e;border-color:#5eb1bd66;box-shadow:0 4px 18px #0005}html[data-theme=dark] button.chat-launcher[aria-expanded=true]{background:#223e49;color:#a8e6f0}
@media(prefers-reduced-motion:reduce){button.chat-launcher{transition:none}button.chat-launcher:hover{transform:none}}

/* Compact message notice beside the bottom-left chat control. */
body{--chat-left:calc(var(--sidebar) + 18px)}body.sidebar-collapsed,.sidebar-collapsed body{--chat-left:18px}
button.chat-launcher,.floating-team-chat{left:var(--chat-left);right:auto}
.chat-message-toast{left:calc(var(--chat-left) + 64px);right:auto;top:auto;bottom:22px;width:248px;max-width:calc(100vw - var(--chat-left) - 78px);min-height:48px;padding:8px 10px 8px 13px;gap:8px;border-radius:14px;border:1px solid #6dc6d4;border-left:4px solid #f17a3b;background:#edfafd;color:#164454;box-shadow:0 5px 22px #06445824;z-index:87;animation:chat-notice-enter .22s ease-out}
.chat-message-toast>a{min-width:0;flex:1;color:inherit;text-decoration:none}.chat-message-toast strong{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-message-toast small{display:block;font-size:11px;color:#08798d;margin-top:2px;font-weight:600}.chat-message-toast .icon-button{width:24px;height:24px;min-width:24px;min-height:24px;padding:0;background:transparent;color:inherit;font-size:16px}
html[data-theme=dark] .chat-message-toast{background:#173a46;border-color:#398e9f;border-left-color:#ff985c;color:#effbff}html[data-theme=dark] .chat-message-toast small{color:#86deeb}
@keyframes chat-notice-enter{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:760px){body{--chat-left:12px}.chat-message-toast{bottom:16px}.floating-team-chat{max-width:calc(100vw - 24px)}}
@media(prefers-reduced-motion:reduce){.chat-message-toast{animation:none}}

/* Compact conversation chrome: keep the space for messages. */
.floating-team-chat .floating-chat-bar{padding:8px 12px;min-height:38px;gap:6px}.floating-chat-bar>strong{font-size:14px;letter-spacing:0}.floating-chat-bar .icon-button,.floating-chat-bar .chat-sound-toggle{height:26px;min-height:26px;min-width:26px;padding:0}.chat-sound-toggle:before{font-size:17px}
.floating-team-chat:has(.has-conversation) .floating-chat-bar>strong{display:none}.floating-team-chat:has(.has-conversation) .floating-chat-bar{position:absolute;right:10px;top:9px;min-height:26px;padding:0;background:transparent;z-index:1}.floating-team-chat:has(.has-conversation) .floating-chat-bar .chat-sound-toggle{margin-left:0}
.floating-team-chat .chat-conversation>header{grid-template-columns:22px minmax(0,1fr);padding:10px 78px 10px 12px;gap:0 7px;min-height:54px}.chat-conversation>header small{display:none}.chat-back{font-size:21px;grid-row:1}.chat-conversation [data-chat-name]{font-size:12px;gap:8px;min-width:0;overflow-wrap:anywhere}.chat-conversation .chat-person-avatar{width:30px;height:30px;font-size:21px}
.floating-team-chat .chat-people{padding:4px 10px 10px}.chat-people input{padding:9px 11px;margin-bottom:6px}.floating-team-chat .chat-peer{min-height:48px;padding:9px 6px;gap:10px;font-size:12px}.chat-peer .chat-person-avatar{width:34px;height:34px;font-size:23px}
.floating-team-chat .chat-messages{padding:12px;gap:8px}.chat-bubble{padding:8px 11px}.chat-bubble p{font-size:13px;line-height:1.45}.chat-bubble time{margin-top:3px}
.chat-conversation form{padding:9px 10px;gap:5px 7px}.chat-conversation textarea{height:40px;min-height:40px;padding:10px 12px}.chat-conversation .chat-send{width:34px;height:34px;min-height:34px;font-size:21px}.chat-file-draft{font-size:9px}

button.chat-launcher,.floating-team-chat{left:auto;right:22px}.chat-message-toast{left:auto;right:86px;max-width:calc(100vw - 100px)}
.app-header{position:fixed;top:0;right:0;left:var(--sidebar);z-index:70;box-shadow:0 3px 14px #102c440c}.app{padding-top:var(--crm-header-height,80px)}.sidebar-collapsed .app-header{left:0}
@media(max-width:760px){button.chat-launcher,.floating-team-chat{right:12px;left:auto}.chat-message-toast{right:76px;left:auto;max-width:calc(100vw - 88px)}.app-header{left:0}}
@media print{.app{padding-top:0}.app-header{position:static}}

.mail-thread{grid-template-columns:minmax(0,1fr) 310px;align-items:start}.mail-conversation-actions{padding:20px}.mail-conversation-actions h2{font-size:16px;margin-bottom:16px}.mail-conversation-actions h3{font-size:13px;margin:20px 0 12px}.mail-conversation-actions .form-grid{display:flex;flex-direction:column;gap:12px;width:100%;max-width:none}.mail-conversation-actions label{display:flex;flex-direction:column;gap:6px;width:100%;min-width:0}.mail-conversation-actions select{width:100%;max-width:none;min-width:0}.mail-conversation-actions .btn{width:100%;margin:0;justify-content:center;white-space:normal}.mail-conversation-actions form+form{border-top:1px solid var(--line);margin-top:18px;padding-top:16px}.mail-conversation-actions>p{margin:0}
@media(max-width:1000px){.mail-thread{grid-template-columns:minmax(0,1fr)}.mail-conversation-actions{width:100%}}

.sidebar nav a .nav-icon{width:22px;height:22px;min-width:22px;flex:0 0 22px;border-radius:50%;box-shadow:none}.sidebar nav a .nav-icon .icon{width:13px;height:13px;stroke-width:1.8}.sidebar nav a{gap:9px}

body[data-page] .content .mail-reply-composer textarea,body[data-page] .content .mail-reply-composer textarea:focus{height:140px;min-height:140px}

/* Align navigation controls and the breadcrumb on the same baseline. */
.app-header>.desktop-menu-toggle,.app-header>.theme-toggle,.app-header>.header-mail-sync{position:absolute;top:50%;transform:translateY(-50%);margin:0;width:32px;height:32px;min-height:32px;padding:0;display:flex;align-items:center;justify-content:center}
.app-header>.desktop-menu-toggle{left:12px}.app-header>.theme-toggle{left:46px}.app-header>.header-mail-sync{left:80px}.header-mail-sync .icon-button{width:32px;height:32px;padding:7px}.header-mail-sync .icon{width:18px;height:18px}.app-header{padding-left:88px}.app-header:has(.header-mail-sync){padding-left:120px}.app-header .breadcrumb{align-self:center;margin:0}.app-header .breadcrumb ol{margin:0;align-items:center}
.header-mail-sync button[disabled]{opacity:.6;cursor:wait}
@media(max-width:760px){.app-header>.desktop-menu-toggle{display:none}.app-header>.theme-toggle,.app-header>.header-mail-sync{position:static;transform:none;flex:none;order:0}.app-header,.app-header:has(.header-mail-sync){padding-left:12px}.app-header>.header-mail-sync{width:32px}.app-header .global-search{min-width:100px}}

/* Separate header controls from the navigation trail. */
.app-header .breadcrumb{border-left:1px solid var(--line);padding-left:16px;min-height:28px;display:flex;align-items:center}
@media(max-width:760px){.app-header .breadcrumb{display:none}}

.reply-rich{border:1px solid var(--line);border-radius:10px;overflow:hidden;background:var(--dark-surface-fff,#fff)}.reply-rich-tools{display:flex;flex-wrap:wrap;gap:4px;padding:7px;border-bottom:1px solid var(--line);background:var(--dark-surface-f6f7fa,#f6f7fa)}.mail-reply-composer .reply-rich-tools button{min-width:30px;min-height:28px;height:28px;padding:3px 8px;border-radius:5px;background:transparent;color:var(--ink);font-size:12px;box-shadow:none}.reply-rich-tools button:hover{background:var(--dark-surface-e4f3f6,#e4f3f6)}.reply-rich-body{min-height:160px;padding:12px;font-size:14px;line-height:1.6;overflow-wrap:anywhere;outline:none}.reply-rich-body img{display:block;max-width:100%;max-height:320px;object-fit:contain;margin:8px 0}.reply-rich-body a{color:#168ba3;text-decoration:underline}.reply-signature-snippet{border-left:2px solid #72b6c3;padding:3px 10px;display:grid;gap:2px;font-size:12px}.reply-signature-snippet span,.reply-signature-snippet small{font-size:11px;color:var(--muted)}.mail-reply-composer label[hidden],.mail-reply-composer input[hidden]{display:none!important}

.summary-task-table{width:100%;min-width:0}.summary-task-head,.summary-task-row{display:grid;grid-template-columns:30px minmax(0,2.4fr) minmax(70px,1fr) 66px 160px;align-items:center;gap:10px}.is-team .summary-task-head,.is-team .summary-task-row{grid-template-columns:30px minmax(0,2.4fr) minmax(70px,1fr) 66px 160px minmax(70px,1fr)}.summary-task-head{padding:6px 10px;font-size:10px;color:var(--muted)}.summary-task-row{padding:10px;border-bottom:1px solid var(--line);font-size:12px;background:var(--dark-surface-fff,#fff)}.summary-task-row:nth-child(odd){background:var(--dark-surface-f6f7fa,#f6f7fa)}.summary-task-row:last-child{border-bottom:0}.summary-title{font-weight:600;overflow-wrap:anywhere;line-height:1.4}.summary-number,.summary-web,.summary-person{font-size:11px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.summary-web a{font-size:11px}.summary-services .icon{width:14px;height:14px}.summary-services .task-service-icons{gap:5px}.summary-state .pill{font-size:10px;white-space:normal;line-height:1.4}.dashboard-group{container-type:inline-size}
@container(max-width:680px){.summary-task-head{display:none}.summary-task-row,.is-team .summary-task-row{grid-template-columns:26px minmax(0,1fr) auto;gap:5px 9px}.summary-title{grid-column:2/-1}.summary-web{grid-column:2}.summary-services{grid-column:3}.summary-state{grid-column:2}.summary-person{grid-column:3}.summary-task-row{padding:10px 8px}}
/* Shared task lists: clear status sections, compact rows, quiet secondary data. */
[data-state],[data-group-state]{--task-color:#536577;--task-tint:#edf1f5}
[data-state="Reabierto"],[data-group-state="Reabierto"]{--task-color:#b83a56;--task-tint:#fcecf0}
[data-state="Pendiente"],[data-group-state="Pendiente"]{--task-color:#8c6200;--task-tint:#fff5d9}
[data-state="En curso"],[data-group-state="En curso"]{--task-color:#087b99;--task-tint:#e8f6fb}
[data-state="Esperando al técnico"],[data-group-state="Esperando al técnico"]{--task-color:#7352b5;--task-tint:#f2edfc}
[data-state="Esperando al cliente"],[data-group-state="Esperando al cliente"]{--task-color:#a05b18;--task-tint:#fff1e4}
[data-state="Finalizado"],[data-group-state="Finalizado"]{--task-color:#087858;--task-tint:#e7f5ee}
html[data-theme=dark] [data-state],html[data-theme=dark] [data-group-state]{--task-tint:color-mix(in srgb,var(--task-color) 14%,#20252b)}
html[data-theme=dark] [data-state="Reabierto"],html[data-theme=dark] [data-group-state="Reabierto"]{--task-color:#ff9caf}
html[data-theme=dark] [data-state="Pendiente"],html[data-theme=dark] [data-group-state="Pendiente"]{--task-color:#efcf78}
html[data-theme=dark] [data-state="En curso"],html[data-theme=dark] [data-group-state="En curso"]{--task-color:#80d8ef}
html[data-theme=dark] [data-state="Esperando al técnico"],html[data-theme=dark] [data-group-state="Esperando al técnico"]{--task-color:#c8b0ff}
html[data-theme=dark] [data-state="Esperando al cliente"],html[data-theme=dark] [data-group-state="Esperando al cliente"]{--task-color:#f5bc83}
html[data-theme=dark] [data-state="Finalizado"],html[data-theme=dark] [data-group-state="Finalizado"]{--task-color:#83dbb8}
body[data-page] .pill:is([data-state="Reabierto"],[data-state="Pendiente"],[data-state="En curso"],[data-state="Esperando al técnico"],[data-state="Esperando al cliente"],[data-state="Finalizado"]){background:var(--task-tint);color:var(--task-color);font-size:11px;line-height:1.4;font-weight:600}
body[data-page] .task-table .task-state-heading[data-group-state] th{padding:9px 12px;border:0;border-top:12px solid var(--dark-surface-fff,#fff);background:var(--task-tint);color:var(--task-color);font-size:12px;letter-spacing:0}
body[data-page] .task-table .task-state-heading:first-child th{border-top:0}
body[data-page] .task-table .task-state-heading th>span{display:flex;align-items:center;gap:8px}
body[data-page] .task-table .task-state-heading th>span:before,body[data-page] .task-table .task-state-heading th>span:after{display:none}
.task-group-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 5px;border:1px solid currentColor;border-radius:6px;font-size:10px}
body[data-page] .task-table thead th{background:transparent;color:var(--muted);font-size:11px;font-weight:500;padding:9px 10px}
body[data-page] .task-table tbody tr[data-status]>td{padding:10px;font-size:12px;line-height:1.45;border-bottom:1px solid var(--line)}
body[data-page] .task-table .row-symbol{display:none}
body[data-page] .task-table .cell-with-icon{gap:0}
body[data-page] .task-table .text-link{font-size:13px;font-weight:600}
body[data-page] .task-table .task-website-cell a,body[data-page] .task-table .task-number-cell a{font-size:11px;font-weight:500}
body[data-page] .task-table .task-requester-cell,body[data-page] .task-table .numeric,body[data-page] .task-table .person-inline{font-size:11px;color:var(--muted)}
body[data-page] .task-table .avatar{width:22px;height:22px;font-size:9px;flex:0 0 22px}
body[data-page] .task-table:not(.seo-task-table) thead th:nth-child(1){width:4%}
body[data-page] .task-table:not(.seo-task-table) thead th:nth-child(2){width:26%}
body[data-page] .task-table:not(.seo-task-table) thead th:nth-child(3){width:11%}
body[data-page] .task-table:not(.seo-task-table) thead th:nth-child(4){width:6%}
body[data-page] .task-table:not(.seo-task-table) thead th:nth-child(5){width:10%}
body[data-page] .task-table:not(.seo-task-table) thead th:nth-child(6){width:12%}
body[data-page] .task-table:not(.seo-task-table) thead th:nth-child(7){width:10%}
body[data-page] .task-table:not(.seo-task-table) thead th:nth-child(8){width:8%}
body[data-page] .task-table:not(.seo-task-table) thead th:nth-child(9){width:5%}
body[data-page] .task-table:not(.seo-task-table) thead th:nth-child(10){width:8%}
@media(max-width:1200px){body[data-page] .task-table tbody tr[data-status]>td:nth-child(2){grid-column:1/-1;grid-row:1}body[data-page] .task-table tbody tr[data-status]>td{padding:5px 10px}body[data-page] .task-table tbody tr[data-status]{padding:8px 0}}
/* Dashboard totals support the work list instead of competing with it. */
body[data-page=dashboard] .content>.stats{gap:10px}
body[data-page=dashboard] .content>.stats>article{padding:12px 14px;border-radius:10px;background:var(--dark-surface-f6f7fa,#f6f7fa);min-height:0}
body[data-page=dashboard] .stats .stat-top{gap:8px;margin:0;min-height:26px;align-items:center}
body[data-page=dashboard] .stats .stat-top>span:first-child{font-size:11px;font-weight:500}
body[data-page=dashboard] .stats .icon-tile{width:26px;height:26px;border-radius:8px;flex:0 0 26px}
body[data-page=dashboard] .stats .icon-tile .icon{width:14px;height:14px}
body[data-page=dashboard] .stats article>b{font-size:22px;line-height:1.25;margin:4px 0}
body[data-page=dashboard] .stats article>small{font-size:10px;line-height:1.4}

/* Keep task IDs close to the title regardless of desktop width. */
@media(min-width:1201px){body[data-page] .task-table:not(.seo-task-table) thead th:first-child,body[data-page] .seo-task-table thead th:first-child{width:44px}body[data-page] .task-table tbody tr[data-status]>td:first-child{padding-right:4px}body[data-page] .task-table tbody tr[data-status]>td:nth-child(2),body[data-page] .task-table thead th:nth-child(2){padding-left:4px}}
.summary-task-head,.summary-task-row{column-gap:6px}

.summary-state .pill{white-space:nowrap;display:inline-flex;align-items:center;gap:5px}.summary-state{min-width:160px}
.appearance-colors{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px}.appearance-colors>label{display:flex!important;align-items:center;justify-content:space-between;gap:12px;padding:14px;border:1px solid var(--line);border-radius:10px}.appearance-colors input[type=color]{width:44px!important;height:34px!important;min-height:34px!important;padding:3px;cursor:pointer}
@container(max-width:680px){.summary-state{grid-column:2/-1}.summary-person{grid-column:2/-1}}
/* The account stays visible while only the navigation scrolls. */
.sidebar{overflow:hidden}
.sidebar>nav{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;padding-right:4px;scrollbar-width:thin;scrollbar-color:#80c9e1 transparent;overscroll-behavior:contain}
.sidebar>nav::-webkit-scrollbar{width:4px}.sidebar>nav::-webkit-scrollbar-thumb{background:#80c9e1;border-radius:8px}
.sidebar>.brand,.sidebar>.sidebar-notices,.sidebar>.side-user{flex-shrink:0}
.sidebar>.side-user{position:relative;z-index:1;margin-top:10px;padding:12px 8px;border:1px solid var(--line);border-radius:12px;background:var(--dark-surface-f6f7fa,#f6f7fa);box-shadow:0 -4px 16px #102c440a}
.sidebar>.side-user .person-inline{gap:7px}.sidebar>.side-user b{max-width:none}.sidebar>.side-user .icon-button{flex-shrink:0}

/* Fixed navigation width and clear boundaries between its three areas. */
@media(min-width:761px){:root{--sidebar:248px}.app>.content{padding-inline:20px}}
.sidebar>.brand{margin-bottom:6px;flex-shrink:0}
.sidebar>.sidebar-alerts{margin:0 0 10px;flex-shrink:0}
.sidebar>nav{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding-top:12px;padding-bottom:8px}
.sidebar>.side-user{margin-top:10px;border:0;box-shadow:none;background:transparent;padding:8px 4px}

/* Section title and expandable global search. */
.app-header{grid-template-columns:minmax(0,1fr) minmax(100px,1fr) minmax(0,1fr)}
.header-section-title{text-align:center;font-size:16px;font-weight:700;color:var(--ink);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.app-header .header-right .global-search{position:relative;flex:none;width:36px;min-width:36px;max-width:36px;margin:0}
.global-search .search-control[hidden]{display:none}
.global-search .search-control{position:absolute;top:calc(100% + 12px);right:0;width:min(380px,calc(100vw - 32px));padding:12px;background:var(--dark-surface-fff,#fff);box-shadow:0 8px 25px #0003;z-index:80}
.global-search .search-toggle{width:36px;height:36px}.header-title-moved{display:none}
@media(max-width:760px){.header-section-title{flex:1;order:1;text-align:center}.app-header .header-right{order:2}.global-search .search-control{position:fixed;top:var(--crm-header-height,110px);left:16px;right:16px;width:auto}.app-header .header-right .global-search{order:0}}
@media(min-width:1201px){body[data-page] .task-table:not(.seo-task-table) thead th:first-child,body[data-page] .seo-task-table thead th:first-child{width:36px}body[data-page] .task-table tbody tr[data-status]>td:first-child{padding-left:4px;padding-right:2px}body[data-page] .task-table thead th:first-child{padding-left:4px;padding-right:2px}}
.summary-task-head,.summary-task-row{grid-template-columns:24px minmax(0,2.4fr) minmax(70px,1fr) 66px 160px;column-gap:4px}.is-team .summary-task-head,.is-team .summary-task-row{grid-template-columns:24px minmax(0,2.4fr) minmax(70px,1fr) 66px 160px minmax(70px,1fr)}
@container(max-width:680px){.summary-task-row,.is-team .summary-task-row{grid-template-columns:24px minmax(0,1fr) auto}}

/* Keep overview tables readable before switching to compact mobile rows. */
@media(max-width:1800px){body[data-page=dashboard] .dashboard-pending-pair{grid-template-columns:minmax(0,1fr)}}
@media(max-width:1400px){body[data-page=dashboard] .report-overview{grid-template-columns:minmax(0,1fr)}body[data-page=dashboard] .content>.stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){body[data-page=dashboard] .content>.stats{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-page=dashboard] .dashboard-group{padding:12px}.dashboard-group .panel-title{gap:9px}.dashboard-group h2{font-size:13px}.dashboard-group .panel-title p{font-size:11px}}
@container(max-width:680px){.summary-task-row,.is-team .summary-task-row{grid-template-columns:24px minmax(0,1fr) auto;gap:5px 7px}.summary-task-row .summary-title{grid-column:2/-1}.summary-task-row .summary-web{grid-column:2}.summary-task-row .summary-services{grid-column:3}.summary-task-row .summary-state{grid-column:2}.summary-task-row .summary-person{grid-column:3;font-size:10px}.summary-task-row .summary-state .pill{font-size:10px}.summary-task-row .summary-state{min-width:0}}
@container(max-width:380px){.summary-task-row .summary-state{grid-column:2/-1}.summary-task-row .summary-person{grid-column:2/-1}}
button.chat-launcher:has([data-chat-count]:not([hidden])){border:2px solid #f04452;box-shadow:0 0 0 4px #e5484d28,0 4px 18px #0003}
button.chat-launcher b{background:#df2337}

/* Column sizes come from colgroup, even when the first body row spans all columns. */
body[data-page] .task-table thead th{width:auto!important}
.sidebar>.brand{margin-bottom:12px}
.sidebar>.sidebar-alerts{margin-bottom:16px}
.sidebar>nav{padding-top:16px}
.summary-person{display:flex;align-items:center;gap:6px}.summary-person .avatar{width:22px;height:22px;flex:0 0 22px;font-size:9px}.summary-person>span:last-child{overflow:hidden;text-overflow:ellipsis}

.dashboard-statistics-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:4px 0 12px}.dashboard-statistics-toolbar h2{font-size:15px;margin:0}.dashboard-statistics-toolbar .dashboard-report-filters{margin:0;padding:0;width:auto}.dashboard-statistics-toolbar .filters{margin-bottom:0}
body[data-page=dashboard] .content{padding-top:18px}
@media(max-width:760px){.dashboard-statistics-toolbar{flex-wrap:wrap}.dashboard-statistics-toolbar .dashboard-report-filters{width:100%;justify-content:flex-start;flex-wrap:wrap}.dashboard-statistics-toolbar .dashboard-report-filters label{flex:1;min-width:140px}}

body[data-page] .avatar.person-color{color:#fff;background:#617182}body[data-page] .avatar.person-blue{background:#2864ba}body[data-page] .avatar.person-pink{background:#b33478}
.task-table col.task-col-5pct{width:5%}.task-table col.task-col-6pct{width:6%}.task-table col.task-col-8pct{width:8%}.task-table col.task-col-10pct{width:10%}.task-table col.task-col-11pct{width:11%}.task-table col.task-col-12pct{width:12%}.task-table col.task-col-15pct{width:15%}.task-table col.task-col-16pct{width:16%}.task-table col.task-col-18pct{width:18%}
.task-table col.task-col-34px{width:34px}
@media(min-width:761px){.app-header .header-section-title{position:absolute;left:calc(50vw - var(--sidebar));transform:translateX(-50%);max-width:28vw;pointer-events:none}.sidebar-collapsed .app-header .header-section-title{left:50vw}.app-header .breadcrumb{max-width:calc(50vw - var(--sidebar) - 160px)}.app-header .header-right{grid-column:3}}

/* Short list statuses leave room for the actual task and its website. */
.summary-task-head,.summary-task-row{grid-template-columns:24px minmax(0,2.4fr) minmax(90px,1fr) 56px 108px;column-gap:12px}
.is-team .summary-task-head,.is-team .summary-task-row{grid-template-columns:24px minmax(0,2.4fr) minmax(90px,1fr) 56px 108px minmax(85px,1fr)}
.summary-state{min-width:0}.compact-task-status{display:inline-flex;max-width:100%}.compact-task-status .pill{white-space:nowrap!important}
.summary-number{margin-right:-8px}.summary-task-row{padding-block:12px}.summary-web{padding-right:4px}
@container(max-width:680px){.summary-task-row,.is-team .summary-task-row{grid-template-columns:24px minmax(0,1fr) auto;gap:6px 8px}}
body[data-page=tasks] .content>.title:has(.header-title-moved){display:none}
body[data-page] form.task-compact-filters{display:flex;align-items:end;flex-wrap:wrap;gap:8px;padding:8px 10px;margin:0 0 14px;background:transparent;border:0;box-shadow:none}
body[data-page] .task-compact-filters>label{flex:0 1 170px;font-size:10px;margin:0}
body[data-page] .task-compact-filters>label:has([name=q]){flex:1 1 200px;max-width:320px}
body[data-page] .task-compact-filters input,body[data-page] .task-compact-filters select{min-height:32px;height:32px;padding:5px 9px;font-size:12px}
.task-extra-filters{margin:0;position:relative}.task-extra-filters>summary{height:32px;margin:0;padding:5px 10px;border:1px solid var(--line);border-radius:7px;font-size:11px}.task-extra-filters>summary:before{display:none}
.task-extra-fields{display:flex;flex-wrap:wrap;gap:10px;padding:12px 0 0}.task-extra-fields>label{min-width:150px;flex:1;font-size:10px}
.task-extra-filters[open]{flex-basis:100%}.task-extra-filters[open]>summary{width:fit-content}
body[data-page] .task-table col:first-child{width:34px!important}
@media(max-width:600px){body[data-page] .task-compact-filters>label{flex:1 1 120px}.task-extra-fields>label{min-width:120px}}
.app-header .header-right>.theme-toggle{position:static;transform:none;flex:0 0 32px;width:32px;min-width:32px;height:32px;padding:0;display:inline-flex;align-items:center;justify-content:center}
.sidebar>.desktop-menu-toggle{position:absolute;left:auto;right:8px;top:20px;width:26px;height:26px;min-width:26px;padding:4px}
.sidebar>.brand{padding-right:24px}
@media(min-width:761px){.app-header,.app-header:has(.header-mail-sync){padding-left:16px}.app-header:has(.header-mail-sync){padding-left:50px}.app-header>.header-mail-sync{left:10px}.sidebar-collapsed .app-header{padding-left:50px}.sidebar-collapsed .app-header:has(.header-mail-sync){padding-left:88px}.sidebar-collapsed .app-header>.header-mail-sync{left:46px}}
/* Light task lists: white and a subtle Incomaz blue instead of neutral grey. */
html:not([data-theme=dark]) body[data-page] .task-table tbody tr[data-status]>td{background:#fff;border-bottom-color:#e5eff3;color:#294657}
html:not([data-theme=dark]) body[data-page] .task-table tbody tr[data-status]:nth-child(even of [data-status])>td{background:#f2f9fc}
html:not([data-theme=dark]) body[data-page] .task-table tbody tr[data-status]:hover>td{background:#e5f4f9}
html:not([data-theme=dark]) body[data-page] .task-table thead th{background:#f5fafc;color:#51788a}
html:not([data-theme=dark]) body[data-page] .task-table .text-link{color:#153f53}
html:not([data-theme=dark]) body[data-page] .task-table .task-website-cell a,html:not([data-theme=dark]) body[data-page] .task-table .task-number-cell a{color:#087e96}
html:not([data-theme=dark]) .summary-task-row{background:#fff;border-bottom-color:#e5eff3}
html:not([data-theme=dark]) .summary-task-row:nth-child(odd){background:#f2f9fc}
html:not([data-theme=dark]) .summary-task-row:hover{background:#e5f4f9}
html:not([data-theme=dark]) .summary-title{color:#153f53}
body[data-page] form.filters select[hidden]{display:none!important}
.sidebar>.desktop-menu-toggle{transform:none}

/* One consistent filter toolbar; wrap fields only when the viewport needs it. */
body[data-page] form.task-inline-filters{display:flex;align-items:flex-end;flex-wrap:wrap;gap:10px;padding:12px;margin:0 0 16px;border:1px solid var(--line);border-radius:12px;background:var(--dark-surface-f5f9fd,#f5f9fd);box-shadow:none}
body[data-page] form.task-inline-filters>label{display:flex;flex-direction:column;gap:4px;flex:1 1 135px;min-width:0;margin:0;font-size:10px}
body[data-page] form.task-inline-filters>label:has([name=q]){flex:1.4 1 190px}
body[data-page] form.task-inline-filters>label:has([name=website_id]){flex:1.4 1 190px}
body[data-page] form.task-inline-filters input,body[data-page] form.task-inline-filters select{width:100%;min-width:0;height:34px;min-height:34px;margin:0;padding:6px 9px;font-size:12px}
body[data-page] form.task-inline-filters>button{height:34px;min-height:34px;margin:0;align-self:flex-end;flex:none}
@media(max-width:600px){body[data-page] form.task-inline-filters>label,body[data-page] form.task-inline-filters>label:has([name=q]),body[data-page] form.task-inline-filters>label:has([name=website_id]){flex:1 1 calc(50% - 10px)}body[data-page] form.task-inline-filters>label:has([name=q]){flex-basis:100%}}

.sidebar>.side-user{gap:4px}
.side-user>.theme-toggle{position:static;display:inline-flex;align-items:center;justify-content:center;flex:0 0 28px;width:28px;min-width:28px;height:32px;min-height:32px;padding:4px;background:transparent;color:var(--ink);transform:none}
.side-user>.theme-toggle>span:first-child{font-size:20px;line-height:1}
.side-user>.theme-toggle [data-theme-label]{display:none}

body[data-page] select:not([multiple]):not([size]){appearance:none;background-image:url('select-chevron.svg');background-repeat:no-repeat;background-position:right 12px center;background-size:14px 14px;padding-right:36px!important}
body[data-page] form.task-inline-filters>label:has([name=website_search]){flex:1.4 1 190px}

.contract-management-actions{display:flex;justify-content:flex-end;margin:0 0 12px}.contract-tabs{display:flex;gap:8px;margin-bottom:14px}
.bulk-contract-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin:16px 0}.bulk-contract-toolbar .btn{margin-left:auto}.bulk-contract-toolbar strong{font-size:12px;color:var(--muted)}
.bulk-common{border:1px solid var(--line);border-radius:10px;padding:0 12px 12px;margin-bottom:16px}.bulk-common>summary{margin:12px 0 0}.bulk-common-fields{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin-top:12px}.bulk-common-fields label{display:grid;gap:4px;font-size:11px}.bulk-common-fields [hidden]{display:none!important}.bulk-common small{display:block;margin-top:8px;color:var(--muted);font-size:11px}
.bulk-contract-grid-head,.bulk-contract-row{display:grid;grid-template-columns:minmax(160px,1.7fr) minmax(80px,.7fr) minmax(100px,.8fr) minmax(70px,.6fr) minmax(130px,1fr) minmax(130px,1fr) minmax(100px,.8fr) minmax(120px,1fr);gap:10px;align-items:center;padding:12px 10px}
.bulk-contract-grid:has(.is-seo) .bulk-contract-grid-head,.bulk-contract-row.is-seo{grid-template-columns:minmax(180px,2fr) repeat(2,minmax(140px,1fr)) minmax(100px,1fr) minmax(140px,1fr)}
.bulk-contract-grid-head{font-size:10px;color:var(--muted)}.bulk-contract-row{border-top:1px solid var(--line);background:var(--dark-surface-fff,#fff)}.bulk-contract-row:nth-child(odd){background:var(--dark-surface-f5f9fd,#f5f9fd)}.bulk-contract-row.is-selected{box-shadow:inset 3px 0 #168da4}
.bulk-site{display:flex;gap:9px;align-items:center;min-width:0}.bulk-site b{font-size:12px;display:block;overflow-wrap:anywhere}.bulk-site small{display:block;font-size:10px;color:var(--muted)}.bulk-site input{flex:none}.bulk-cell{min-width:0}.bulk-cell>span{display:none}.bulk-cell input,.bulk-cell select{width:100%;min-width:0;font-size:11px;height:34px;padding:5px;border:1px solid var(--line);border-radius:6px;background:var(--dark-surface-fff,#fff);color:var(--ink)}.bulk-cell input[readonly]{opacity:.65}.bulk-kit{color:#a16b10!important}
@media(max-width:1500px){.bulk-contract-grid-head{display:none}.bulk-contract-row,.bulk-contract-row.is-seo{grid-template-columns:repeat(4,minmax(0,1fr));align-items:end;margin-bottom:12px;border:1px solid var(--line);border-radius:10px}.bulk-site{grid-column:1/-1}.bulk-cell>span{display:block;font-size:10px;margin-bottom:4px;color:var(--muted)}}
@media(max-width:700px){.bulk-contract-row,.bulk-contract-row.is-seo{grid-template-columns:repeat(2,minmax(0,1fr))}.bulk-contract-toolbar .btn{margin-left:0}.bulk-common-fields>*{width:100%}.contract-tabs{flex-wrap:wrap}}

.contract-monitor{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;margin:0 0 16px}.contract-monitor a{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--line);border-radius:10px;padding:12px;background:var(--dark-surface-f5f9fd,#f5f9fd);font-size:11px}.contract-monitor b{font-size:18px;color:var(--ink)}

.bulk-contract-grid:has(.is-kit) .bulk-contract-grid-head,.bulk-contract-row.is-kit{grid-template-columns:minmax(180px,2fr) repeat(2,minmax(140px,1fr)) repeat(3,minmax(120px,1fr))}
@media(max-width:1500px){.bulk-contract-row.is-kit{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.bulk-contract-row.is-kit{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Keep navigation scrollable without a visible rail; align global actions with content. */
.sidebar>nav{scrollbar-width:none;padding-right:0}
.sidebar>nav::-webkit-scrollbar{display:none;width:0}
.app-header .header-right{margin-left:auto;justify-self:end}
body[data-page=contracts] .content>.title:has(.header-title-moved){display:none}
@media(min-width:761px){.app-header{padding-right:max(20px,calc((100% - 1800px)/2 + 20px))}}

/* Match the actual content edge, including its max-width and collapsed sidebar. */
.app-header{padding-right:var(--header-content-inset,20px)}
.has-page-actions .header-actions:not(:has(> :not([aria-label="Nueva tarea"]))){display:none}
@media(min-width:761px){.app-header{grid-template-columns:minmax(0,1fr) 0 auto}.app-header .header-right{margin-left:0}}

/* Company domain inventory and renewal billing. */
.company-domains,.domain-registry{margin-top:20px}
.domain-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}.domain-heading h2{display:flex;align-items:center;gap:9px;margin:0;font-size:17px}.domain-heading .icon{width:19px;height:19px}
.domain-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:14px}.domain-card{border:1px solid var(--line);border-radius:12px;padding:16px;min-width:0}.domain-card strong,.domain-bill-row a{overflow-wrap:anywhere}.domain-card dl{margin:0}.domain-card dl>div{display:flex;justify-content:space-between;gap:14px;padding:5px 0;font-size:12px}.domain-card dt{color:var(--muted)}.domain-card dd{margin:0;text-align:right}
.domain-editor section+section{border-top:1px solid var(--line);padding-top:18px;margin-top:8px}.domain-editor h2,.domain-registry h2{font-size:17px}.domain-editor .check{display:flex;align-items:center;gap:8px;margin-top:12px}.domain-editor .check input{width:16px;min-height:16px;height:16px;flex:none}.domain-editor .muted{font-size:12px}.domain-facts{display:flex;flex-wrap:wrap;gap:24px;margin-bottom:16px}.domain-facts span{font-size:12px}.domain-facts strong{display:block;margin-top:5px}
.domain-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-block:18px}.domain-stats article{display:flex;flex-direction:column;gap:5px;padding:16px}.domain-stats strong{font-size:23px}.domain-stats span{font-size:12px}.domain-bill-group{margin-block:12px}.domain-bill-row{display:grid;grid-template-columns:minmax(160px,1.4fr) 110px 100px minmax(150px,1fr);gap:16px;align-items:start;padding:14px 0;border-top:1px solid var(--line);font-size:13px}.domain-bill-confirm summary{cursor:pointer;color:var(--accent);font-weight:600}.domain-bill-confirm form{margin-top:12px;display:block}.domain-bill-confirm input{width:100%}.domain-bill-confirm .btn{margin-top:8px}
@media(max-width:1100px){.domain-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.domain-bill-row{grid-template-columns:minmax(0,1fr) 110px}.domain-bill-confirm{grid-column:1/-1}}@media(max-width:500px){.domain-heading{flex-wrap:wrap}.domain-stats{grid-template-columns:1fr 1fr}.domain-stats article{padding:12px}.domain-stats strong{font-size:20px}}

.domain-bill-row details{padding:0;margin:0;border:0;box-shadow:none;background:transparent}.domain-bill-row summary{padding:0;margin:0}

.company-contact-domain-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:20px;margin-top:20px}
.company-contact-domain-grid>.company-domains{margin:0}.company-contact-domain-grid .domain-cards{grid-template-columns:1fr}.company-contact-site{margin-bottom:16px}.company-contact-site>h3{font-size:13px;margin:0 0 8px}.company-contact-site .website-people{margin:0}.company-contact-domain-grid .domain-card{padding:12px}.company-contact-domain-grid .domain-card .domain-heading{margin-bottom:4px}.company-contact-domain-grid .domain-card dl{margin-top:8px}
@media(max-width:1000px){.company-contact-domain-grid{grid-template-columns:1fr}}

/* Dashboard statistics: compact, distinct soft gradients in both themes. */
body[data-page=dashboard] .content>.stats>article:nth-child(1){--stat-start:#e0f5ed;--stat-end:#f4fcf8;--stat-border:#b9e4d4;--stat-dark-start:#153c32;--stat-dark-end:#182c2b;--stat-dark-border:#2b6152}
body[data-page=dashboard] .content>.stats>article:nth-child(2){--stat-start:#ebe5fa;--stat-end:#f9f6ff;--stat-border:#d8c9f0;--stat-dark-start:#36274d;--stat-dark-end:#252738;--stat-dark-border:#584571}
body[data-page=dashboard] .content>.stats>article:nth-child(3){--stat-start:#dfedff;--stat-end:#f4f9ff;--stat-border:#bdd5f4;--stat-dark-start:#1b3758;--stat-dark-end:#1c2b3d;--stat-dark-border:#36567c}
body[data-page=dashboard] .content>.stats>article:nth-child(4){--stat-start:#fff0cc;--stat-end:#fffbef;--stat-border:#eddaaa;--stat-dark-start:#46371c;--stat-dark-end:#302b22;--stat-dark-border:#6e5730}
body[data-page=dashboard] .content>.stats>article:nth-child(5){--stat-start:#ffe6df;--stat-end:#fff7f3;--stat-border:#f0c9bd;--stat-dark-start:#4a2d2b;--stat-dark-end:#302629;--stat-dark-border:#754a42}
html body[data-page=dashboard] .content>.stats>article{background:linear-gradient(120deg,var(--stat-start),var(--stat-end));border:1px solid var(--stat-border);box-shadow:0 3px 12px #16364b06}
html[data-theme=dark] body[data-page=dashboard] .content>.stats>article{background:linear-gradient(120deg,var(--stat-dark-start),var(--stat-dark-end));border-color:var(--stat-dark-border)}

.company-domains .domain-card dl{display:block;margin:8px 0 0}.company-domains .domain-card dl>div{padding:4px 0}.company-domains .domain-card dt,.company-domains .domain-card dd{margin:0}

.company-hostings{margin-top:20px}.website-resource-summary{display:flex;flex-wrap:wrap;gap:10px 24px;align-items:center;margin:14px 0;padding:12px 14px;border:1px solid var(--line);border-radius:10px;font-size:12px}.website-resource-summary .icon{width:14px;height:14px}.website-resource-summary .text-link{margin-left:auto}.resource-domain-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:8px;max-height:300px;overflow:auto}.company-hostings .domain-card dl{display:block}.company-fiscal{font-size:13px;color:var(--muted)}

.company-resource-nav{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 20px}.company-resource-nav a{display:inline-flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:9px;padding:9px 14px;font-size:13px;background:var(--surface)}.company-resource-nav b{padding:0 6px;border-radius:5px;background:var(--theme-e4f4f7,#e4f4f7)}.company-resource-nav .icon{width:15px;height:15px}#company-webs,#company-hostings,#company-domains{scroll-margin-top:calc(var(--crm-header-height,80px) + 20px)}.domain-bill-row>a small{display:block;color:var(--muted);font-size:11px}

.page-back{flex:none;width:30px;height:30px;padding:6px}.page-back .icon{transform:rotate(180deg)}body[data-page=clients] .content>.title:has(.header-title-moved){display:none}
@media(max-width:760px){.app-header .breadcrumb{display:flex;position:absolute;left:48px;top:18px;padding:0;border:0;min-height:30px;width:30px}.app-header .breadcrumb ol{display:none}.app-header .header-mail-sync{left:84px}}

.permission-group{margin-top:16px}.permission-grid{display:grid;grid-template-columns:minmax(170px,1fr) repeat(4,100px);gap:12px;align-items:center;border-bottom:1px solid var(--line);padding:12px 0;font-size:13px}.permission-grid>label,.permission-grid>span:not(:first-child){text-align:center}.permission-grid input{width:18px;height:18px;min-height:18px}.permission-labels{text-align:center}.permission-labels>b:first-child{text-align:left}@media(max-width:800px){.permission-grid{grid-template-columns:minmax(105px,1fr) repeat(4,50px);gap:5px;font-size:10px}.permission-group{padding:12px}}
.company-info{margin-bottom:20px;background:linear-gradient(120deg,var(--theme-f3f9fb,#f3f9fb),var(--surface,#fff));padding:20px 24px}.company-info-heading{display:flex;align-items:center;gap:10px;margin-bottom:16px}.company-info-heading h2{margin:0;font-size:15px}.company-info dl{display:grid;grid-template-columns:1.5fr .8fr 1.4fr 1fr;gap:18px;margin:0}.company-info dl>div{min-width:0}.company-info dt{font-size:11px;color:var(--muted);margin-bottom:5px}.company-info dd{margin:0;font-size:14px;font-weight:600;overflow-wrap:anywhere}.website-service-filters{display:flex;flex-wrap:wrap;gap:12px;align-items:end}.website-service-filters label{flex:1;min-width:150px}.website-service-filters label:first-of-type{flex:2}
.floating-page-actions{position:fixed;z-index:55;bottom:18px;left:calc(50% + var(--sidebar)/2);transform:translateX(-50%);display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;padding:10px;background:var(--surface,#fff);border:1px solid var(--line);border-radius:16px;box-shadow:0 8px 30px #102e3926;width:max-content;max-width:calc(100vw - var(--sidebar) - 180px)}.sidebar-collapsed .floating-page-actions{left:50%;max-width:calc(100vw - 180px)}.floating-page-actions .btn,.floating-page-actions button{min-height:38px;margin:0}.floating-page-actions .delete-actions,.floating-page-actions .website-page-actions,.floating-page-actions .state-buttons{margin:0;display:flex;gap:8px;align-items:center;flex-wrap:wrap}.has-floating-actions .content{padding-bottom:calc(var(--floating-actions-height,64px) + 42px)}
@media(max-width:760px){.company-info dl{grid-template-columns:1fr 1fr}.company-info{padding:16px}.floating-page-actions,.sidebar-collapsed .floating-page-actions{left:50%;bottom:calc(12px + env(safe-area-inset-bottom));max-width:calc(100vw - 150px);padding:8px;gap:6px}.floating-page-actions .btn{font-size:11px;padding:8px 10px}.website-service-filters label{min-width:120px}}
.floating-page-actions,.sidebar-collapsed .floating-page-actions{left:var(--sidebar);right:0;bottom:0;transform:none;width:auto;max-width:none;border:0;border-top:1px solid var(--line);border-radius:0;background:#fff;padding:12px 80px;box-shadow:0 -4px 18px #102e390c}.sidebar-collapsed .floating-page-actions{left:0}html[data-theme=dark] .floating-page-actions{background:var(--surface,#192330)}.app-header .header-mail-sync{left:auto;right:18px;top:50%;transform:translateY(-50%);margin:0}.app-header:has(.header-mail-sync){padding-left:56px;padding-right:64px}body[data-page=dashboard] .header-actions{display:none!important}
@media(max-width:760px){.floating-page-actions,.sidebar-collapsed .floating-page-actions{left:0;padding:10px 74px calc(10px + env(safe-area-inset-bottom))}.app-header:has(.header-mail-sync){padding-left:84px;padding-right:58px}.app-header .header-mail-sync{left:auto;right:12px}}
.app-header>.header-mail-sync,.sidebar-collapsed .app-header>.header-mail-sync{position:absolute;left:auto;right:18px;top:50%;transform:translateY(-50%)}
@media(max-width:760px){body[data-page=dashboard] .chart-key{display:flex;flex-wrap:wrap;max-width:100%;gap:8px 12px;min-width:0}}
.app-header .breadcrumb{border-left:0;padding-left:0}
@media(min-width:761px){.app-header,.app-header:has(.header-mail-sync){padding-left:16px}.sidebar-collapsed .app-header,.sidebar-collapsed .app-header:has(.header-mail-sync){padding-left:52px}}

.intervention-rich-content{overflow-wrap:anywhere;line-height:1.65}.intervention-rich-content img{max-width:100%;max-height:320px;object-fit:contain;border-radius:10px}.intervention-rich-content a{text-decoration:underline;color:var(--ink)}

.company-contact-domain-grid:has(>.company-web-contacts:only-child){grid-template-columns:1fr}.company-hostings,.company-domains{margin-bottom:20px}#company-vps{scroll-margin-top:100px}[data-new-domain-hosting][hidden]{display:none!important}

.mail-readable-thread{display:grid;gap:20px;min-width:0}.mail-quote-part{min-width:0;padding:4px 0 8px}.mail-quote-part+.mail-quote-part{border-top:1px solid var(--line);padding-top:20px}.mail-quote-heading{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 14px;margin:0 0 8px}.mail-quote-heading strong{font-size:14px}.mail-quote-heading small,.mail-quote-date{font-size:12px;color:var(--muted)}.mail-readable-body{line-height:1.7;overflow-wrap:anywhere;white-space:pre-wrap}.mail-quote-headers{margin:8px 0 14px;font-size:12px}.mail-quote-source{margin-top:4px;padding:12px;border:1px solid var(--line);border-radius:10px}.mail-quote-source>div{margin-top:14px}.mail-readable-thread .te-message-more{margin-top:12px}
.action-progress{position:fixed;left:50%;bottom:calc(var(--floating-actions-height,0px) + 24px);transform:translateX(-50%);z-index:100000;display:flex;align-items:center;gap:12px;padding:14px 20px;max-width:calc(100vw - 32px);box-sizing:border-box;border:1px solid #93c5d5;border-radius:14px;background:#f8fdff;color:#123c4b;box-shadow:0 8px 32px #082e4926;font-size:14px;pointer-events:none}
.action-spinner{flex:0 0 18px;width:18px;height:18px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:action-spin .8s linear infinite}
.action-is-loading{opacity:.7;cursor:wait!important}
html[data-theme="dark"] .action-progress{background:#172333;color:#e0f7ff;border-color:#427088}
html[data-visual-style="glass"] .action-progress{backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);box-shadow:0 8px 32px #8b5cf626}
@keyframes action-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.action-spinner{animation:none;border-right-color:currentColor}}

.mail-body-link{overflow-wrap:anywhere;text-decoration:underline;text-underline-offset:3px}

.te-history>.te-mail-entry{margin-block:14px}.mail-thread .mail-message{margin-block:16px}
.reply-all-preview{border:1px solid var(--line);border-radius:12px;padding:16px;overflow-wrap:anywhere}.reply-all-preview p{margin:0 0 10px}.reply-all-preview .recipient-chip{display:inline-block;padding:4px 8px;margin:3px;border-radius:7px;background:rgba(34,153,187,.12);font-size:12px}.reply-all-preview[aria-busy="true"]{opacity:.75}

/* Secondary ticket window actions. */
.ticket-window-link{display:inline-flex;align-items:center;justify-content:center;min-width:28px;min-height:28px;margin-left:6px;color:var(--primary,#087e93);text-decoration:none;border-radius:6px;flex-shrink:0}.ticket-window-link:hover,.ticket-window-link:focus-visible{background:rgba(34,163,191,.12);outline:2px solid currentColor;outline-offset:1px}.ticket-window-title{display:flex;align-items:center;min-width:0}.ticket-window-title>a:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:inherit}.te-work-actions .ticket-window-link{margin-left:0}
/* Internal ticket tabs keep the main navigation and one global notification/chat surface. */
.ticket-workspace{position:fixed;z-index:45;bottom:0;display:flex;flex-direction:column;pointer-events:none}
.ticket-tabs{display:flex;gap:6px;padding:8px 16px;background:var(--panel,#101522);border-bottom:1px solid #94a3b833;overflow-x:auto;flex:none;pointer-events:auto;min-height:52px}
.ticket-tabs button{border:0;background:transparent;color:inherit;box-shadow:none;font-size:12px;white-space:nowrap;min-height:34px;padding:7px 10px}
.ticket-tab{display:flex;align-items:center;border:1px solid #94a3b833;border-radius:9px;background:var(--surface,#ffffff0a);max-width:280px;flex-shrink:0}
.ticket-tab>button[role=tab]{overflow:hidden;text-overflow:ellipsis;max-width:230px}
.ticket-tabs [aria-selected=true]{background:#3b82f626;color:var(--primary,#22a5bd);border-radius:8px}
.ticket-tab-close{flex:none;font-size:19px!important;padding:4px 9px!important}
.ticket-tab-panes{flex:1;min-height:0;pointer-events:auto;background:var(--bg,#101522)}
.ticket-tab-frame{border:0;width:100%;height:100%;display:block;background:var(--bg,#fff)}
.ticket-tab-frame[hidden],.ticket-tab-panes[hidden]{display:none!important}
.has-ticket-tabs main.app>.content{padding-top:68px}
.ticket-tab-active> .floating-page-actions{display:none!important}
.ticket-embedded .sidebar,.ticket-embedded .app-header,.ticket-embedded .page-footer,.ticket-embedded .chat-launcher,.ticket-embedded [data-team-chat],.ticket-embedded .notice-popup{display:none!important}
.ticket-embedded body{display:block!important;padding:0!important}
.ticket-embedded main.app{margin:0!important;width:100%!important;max-width:none!important;min-height:100vh}
.ticket-embedded .content{padding:20px!important}
.ticket-embedded .floating-page-actions{left:0!important;width:100%!important}
@media(prefers-color-scheme:light){.ticket-tabs{background:var(--panel,#f8fafc)}}
html[data-theme=light] .ticket-tabs{background:#fff;color:#172033}
.ticket-tabs{background:var(--surface,#fff);color:var(--ink,#172033)}
.ticket-embedded main.app{grid-column:1/-1!important}

html.ui-layout-pending [data-sidebar-toggle],html.ui-layout-pending .header-actions,html.ui-layout-pending .header-page-actions,html.ui-layout-pending .floating-page-actions,html.ui-layout-pending .content>.title>.btn,html.ui-layout-pending .content>.title>.page-actions,html.ui-layout-pending .te-actions,html.ui-layout-pending .project-save,html.ui-layout-pending .delete-actions,html.ui-layout-pending [data-page-action]{visibility:hidden!important}
html.ui-layout-pending .sidebar,html.ui-layout-pending .app,html.ui-layout-pending [data-sidebar-toggle]{transition:none!important}
