/* Tasks workspace: the original "rhythm" idea in the tenant-native module. */
body { background: #f3f7fe; }
.tasks-app { padding-left: 228px; }
.tasks-sidebar { position: fixed; z-index: 5; inset: 0 auto 0 0; width: 228px; display: flex; flex-direction: column; background: linear-gradient(175deg, #202843, #171e31 74%); color: #eef2ff; box-shadow: 10px 0 30px #1528440d; }
.tasks-sidebar-brand { height: 72px; padding: 15px 20px; display: flex; align-items: center; gap: 9px; border-bottom: 1px solid #ffffff18; color: #fff; text-decoration: none; font-size: 22px; font-weight: 850; letter-spacing: -.05em; }
.tasks-sidebar-brand img { width: 33px; height: 33px; }
.tasks-sidebar-brand i { display: inline-block; width: 8px; height: 8px; margin-left: 4px; border-radius: 50%; background: #19b989; box-shadow: 0 0 0 4px #19b98925; }
.tasks-sidebar-tenant { padding: 21px 18px 17px; min-height: 95px; }
.tasks-sidebar-tenant small { display: block; color: #a5b4cd; letter-spacing: .13em; font-size: 10px; font-weight: 800; }
.tasks-sidebar-tenant strong { display: block; margin-top: 7px; color: #eef3ff; font-size: 12px; font-weight: 650; line-height: 1.35; overflow-wrap: anywhere; }
.tasks-side-nav { display: grid; align-content: start; gap: 5px; padding: 0 9px; }
.tasks-side-nav button, .tasks-side-nav a { width: 100%; min-height: 43px; display: flex; align-items: center; gap: 11px; padding: 9px 12px; border: 0; border-radius: 10px; background: transparent; color: #b9c6dc; text-decoration: none; text-align: left; font: 750 12px/1.2 Inter, system-ui, sans-serif; cursor: pointer; }
.tasks-side-nav button:hover, .tasks-side-nav a:hover { background: #ffffff12; color: #fff; }
.tasks-side-nav button[aria-pressed="true"] { background: linear-gradient(100deg, #655af078, #4b51a63b); box-shadow: inset 3px 0 #7166ff; color: #fff; }
.tasks-side-nav span { width: 19px; flex: none; text-align: center; font-size: 18px; line-height: 1; color: #aeb9d1; }
.tasks-side-nav button[aria-pressed="true"] span { color: #d8d4ff; }
.tasks-side-nav :focus-visible { outline: 2px solid #b6b1ff; outline-offset: 2px; }
.tasks-sidebar-foot { margin-top: auto; padding: 19px 21px; border-top: 1px solid #ffffff18; color: #a8bad4; font-size: 11px; }
.tasks-online-dot, .tasks-header-status i { display: inline-block; width: 8px; height: 8px; margin-right: 5px; border-radius: 50%; background: #16b687; box-shadow: 0 0 0 4px #16b6871b; }
.tasks-header { position: sticky; top: 0; z-index: 4; min-height: 72px; padding: 10px clamp(20px, 2.2vw, 36px); gap: 18px; box-shadow: 0 8px 22px #1c3c6110; }
.tasks-brand, .tasks-nav { display: none; }
.tasks-header-search { display: flex; align-items: center; gap: 7px; width: min(390px, 34vw); min-height: 41px; padding: 2px 8px 2px 12px; border: 1px solid #d5e0f1; border-radius: 11px; background: #f5f8fe; }
.tasks-header-search span { color: #7c8ca6; font-size: 24px; line-height: 1; }
.tasks-header-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: #1d3555; font-size: 13px; }
.tasks-header-search input::placeholder { color: #8091a9; }
.tasks-header-search button { padding: 6px 8px; border: 0; background: transparent; color: #386bc0; font-size: 11px; font-weight: 800; cursor: pointer; }
.tasks-header-search:focus-within { border-color: #6c8fec; box-shadow: 0 0 0 3px #6c8fec23; }
.tasks-header-actions { margin-left: auto; gap: 11px; }
.tasks-header-actions > label { letter-spacing: 0; color: #75859c; }
.tasks-header-actions select { max-width: 200px; min-height: 37px; border: 1px solid #dae4f2; background: #fff; font-size: 11px; }
.tasks-header-status { white-space: nowrap; color: #60738d; font-size: 11px; }
.tasks-header .tasks-primary { min-height: 39px; padding: 9px 13px; border-radius: 9px; background: linear-gradient(125deg, #7464ff, #5146df); box-shadow: 0 7px 16px #5a4de43b; white-space: nowrap; }
.tasks-main { padding: 35px clamp(18px, 2.2vw, 36px) 24px; overflow: visible; }
.tasks-ambient { display: none; }
.tasks-hero { margin-bottom: 25px; color: #1d2a40; align-items: center; }
.tasks-eyebrow { color: #d66140; font-size: 10px; letter-spacing: .13em; }
.tasks-eyebrow i { width: 0; height: 0; box-shadow: none; }
.tasks-hero h1 { margin: 7px 0 2px; font-size: clamp(31px, 3vw, 43px); letter-spacing: -.055em; }
.tasks-hero p { max-width: none; color: #5b6e89; font-size: 13px; }
.tasks-rhythm { position: relative; overflow: hidden; margin-bottom: 14px; padding: 26px 29px; border: 1px solid #464a86; border-radius: 17px; background: radial-gradient(circle at 90% 55%, #454080aa, transparent 32%), linear-gradient(112deg, #222a43, #34305e); box-shadow: 0 17px 37px #252e5a25; color: #fff; }
.tasks-rhythm::after { content: ""; position: absolute; right: 33%; top: -90px; width: 290px; height: 290px; border: 1px solid #ffffff13; border-radius: 50%; pointer-events: none; }
.tasks-rhythm-heading { min-height: 112px; }
.tasks-rhythm h2 { margin: 8px 0 5px; font-size: 30px; color: #fff; }
.tasks-rhythm p { font-size: 13px; color: #d0d8eb; }
.tasks-rhythm .tasks-kicker { color: #c7ccf1; }
.tasks-rhythm-wave { height: 72px; gap: 5px; padding-right: 9%; filter: drop-shadow(0 0 14px #7d76ff55); }
.tasks-rhythm-wave i { width: 5px; background: linear-gradient(#c5b7ff 10%, #8778fa 55%, #41d8ca); }
.tasks-rhythm-metrics { max-width: 1480px; margin: 0 auto 18px; gap: 12px; }
.tasks-rhythm-metrics > div { min-height: 92px; padding: 15px 17px; border-radius: 13px; box-shadow: 0 6px 17px #2f4c7310; }
.tasks-rhythm-metrics > div:nth-child(1) { background: #f7f5ff; border-color: #ded9ff; }
.tasks-rhythm-metrics > div:nth-child(2) { background: #fff7f4; border-color: #f8ded5; }
.tasks-rhythm-metrics > div:nth-child(3) { background: #f1fffb; border-color: #c9eee5; }
.tasks-rhythm-metrics > div:nth-child(4) { background: #fffcf4; border-color: #f5e9c9; }
.tasks-rhythm-metrics span { font-size: 11px; color: #63738c; }
.tasks-rhythm-metrics b { float: right; margin-top: -16px; font-size: 27px; color: #17243a; }
.tasks-rhythm-metrics small { clear: both; font-size: 10px; color: #6f8098; }
.tasks-rhythm-metrics > div:nth-child(2) b { color: #a7423e; }
.tasks-surface { border-radius: 14px; min-height: 330px; box-shadow: 0 10px 30px #1b396015; }
.tasks-toolbar { padding: 19px 22px 14px; }
.tasks-toolbar h2 { font-size: 19px; }
.tasks-toolbar .tasks-kicker { color: #526c92; font-size: 10px; }
.tasks-filter select { min-height: 39px; font-size: 12px; }
.tasks-summary { padding: 10px 22px; }
.tasks-list { padding: 0 13px 13px; }
.task-row { padding: 15px 13px; }
.task-row:hover { background: #f5f7ff; }
.tasks-pagination { padding: 12px 22px 17px; }
.tasks-footer { color: #7b8ca6; }
@media (max-width: 1280px) { .tasks-header-status { display: none; } .tasks-header-search { width: min(340px, 30vw); } .tasks-header-actions select { max-width: 165px; } }
@media (max-width: 900px) { .tasks-app { padding-left: 0; display: flex; flex-direction: column; } .tasks-header { order: 0; } .tasks-sidebar { order: 1; position: static; width: auto; display: block; box-shadow: none; background: #252d49; } .tasks-sidebar-brand, .tasks-sidebar-tenant, .tasks-sidebar-foot, .tasks-side-nav a { display: none; } .tasks-side-nav { display: flex; gap: 0; padding: 0 14px; } .tasks-side-nav button { width: auto; padding: 11px 15px; border-radius: 0; font-size: 11px; } .tasks-side-nav button[aria-pressed="true"] { box-shadow: inset 0 -3px #8d83ff; } .tasks-side-nav span { font-size: 15px; width: 16px; } .tasks-main { order: 2; } .tasks-brand { display: flex; } .tasks-brand img { width: 34px; height: 34px; } .tasks-header-search { width: min(310px, 34vw); } }
@media (max-width: 720px) { .tasks-header { min-height: 64px; gap: 8px; padding: 8px 12px; flex-wrap: wrap; } .tasks-brand small { display: none; } .tasks-brand b { font-size: 16px; } .tasks-header-actions { gap: 6px; } .tasks-header-actions > label { max-width: 125px; } .tasks-header-actions > label span { display: none; } .tasks-header-actions select { max-width: 125px; min-height: 35px; } .tasks-header .tasks-primary { min-height: 35px; padding: 7px 9px; font-size: 11px; } .tasks-header-search { order: 3; width: 100%; min-height: 35px; } .tasks-main { padding: 21px 12px 16px; } .tasks-hero { margin-bottom: 16px; } .tasks-hero h1 { font-size: 32px; } .tasks-rhythm { padding: 19px 18px; margin-bottom: 10px; } .tasks-rhythm-heading { min-height: 90px; } .tasks-rhythm h2 { font-size: 25px; } .tasks-rhythm-metrics { margin-bottom: 12px; gap: 8px; } .tasks-rhythm-metrics > div { min-height: 85px; padding: 12px; } .tasks-rhythm-metrics b { font-size: 24px; } .tasks-toolbar { display: flex; align-items: center; padding: 16px; } .tasks-toolbar h2 { font-size: 16px; } .tasks-toolbar-actions { margin-top: 0; display: block; } .tasks-filter select { max-width: 120px; } .tasks-side-nav { padding: 0 7px; } .tasks-side-nav button { padding: 11px 9px; gap: 7px; } }
@media (prefers-reduced-motion: reduce) { .tasks-rhythm-wave i { animation: none; } }
