/* Shared visual layer. Data workflows and status colors remain in app.js. */
:root{--ink:#172b36;--muted:#71808b;--accent:#087f72;--line:#e3e9e9;--canvas:#f5f7f8;--sidebar:228px}
body{background:var(--canvas)!important;color:var(--ink);font-family:'DM Sans',sans-serif;font-size:14px;-webkit-font-smoothing:antialiased}
h1,h2,h3,h4,.metric-card strong{font-family:'Manrope',sans-serif;letter-spacing:-.035em}button,input,select,textarea{font:inherit}button{transition:background .18s,box-shadow .18s,transform .18s}button:active{transform:translateY(1px)}button:focus-visible,a:focus-visible,[role=button]:focus-visible{outline:3px solid #2ab6a2;outline-offset:3px}.skip-link{position:fixed;top:-60px;left:12px;z-index:10000;background:white;padding:12px}.skip-link:focus{top:8px}
.app-header{position:fixed;left:0;top:0;bottom:0;width:var(--sidebar);background:#142d35!important;box-shadow:none!important;z-index:40;border-right:1px solid #243f46;pointer-events:none}
.app-header>div{padding:30px 20px}.app-header>div>div{display:block}.app-header h1{font-size:17px;letter-spacing:-.04em;white-space:nowrap}.app-header .brand-subtitle{font-size:8px;color:#8fa8ae;letter-spacing:.15em;margin-top:4px}.brand-mark{height:36px;width:36px;display:grid;place-items:center;border-radius:11px;color:#70e2c6;background:#21474d;font-size:18px;flex-shrink:0}.app-header .space-x-3{margin-left:0}.app-header>div>div>div:first-child{gap:10px}.app-header>div>div>div:last-child{position:absolute;bottom:28px;left:20px;right:20px;pointer-events:auto}.app-header button{width:100%;background:#b9edcc!important;color:#153d32!important;font-weight:700;padding:12px 16px;box-shadow:0 4px 15px #0001}
.app-nav{position:fixed;top:125px;left:14px;width:calc(var(--sidebar) - 28px);border:0!important;background:transparent!important;z-index:41}.nav-eyebrow{color:#78949b;font-size:10px;font-weight:700;letter-spacing:.15em;padding:0 15px 14px}.app-nav>div{padding:0}.app-nav>div>div{display:flex;flex-direction:column;gap:7px}.app-nav .nav-tab{display:flex;align-items:center;gap:12px;margin:0!important;color:#a4b9bf;border:0!important;border-radius:9px;padding:13px 15px;font-size:12px;font-weight:500;white-space:nowrap}.app-nav .nav-tab i{width:17px;margin:0;font-size:14px;text-align:center}.app-nav .nav-tab:hover{background:#ffffff09;color:white}.app-nav .nav-tab.active{color:#bcebd8;background:#29474d;box-shadow:inset 3px 0 #9be5be}
.workspace-topbar{margin-left:var(--sidebar);height:73px;border-bottom:1px solid var(--line);padding:0 34px;display:flex;align-items:center;justify-content:space-between;background:#fff;color:#7a8991;font-size:12px}.workspace-topbar>div{display:flex;align-items:center;gap:10px}.workspace-dot{width:7px;height:7px;background:#199782;border-radius:50%}.topbar-divider{color:#d1d9dc;margin:0 4px}#workspaceSectionLabel{color:#233c45;font-weight:500}.workspace-tag{font-size:9px;letter-spacing:.17em;color:#8d9b9f}
body>main{margin-left:var(--sidebar);width:calc(100% - var(--sidebar))!important;padding:32px 34px!important;min-height:calc(100vh - 73px);outline:none}.dashboard-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:27px}.eyebrow{font-size:9px;font-weight:700;letter-spacing:.16em;color:#7d9095;margin-bottom:9px}.dashboard-intro h2{font-size:29px;line-height:1.3;font-weight:800}.heading-dot{color:var(--accent)}.intro-copy{color:var(--muted);font-size:12px;margin-top:9px}.overview-label{font-size:11px;color:#56756d;border:1px solid #dce7e2;background:#eef5f0;padding:8px 12px;border-radius:6px;white-space:nowrap}.overview-label i{margin-right:6px}
.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:26px}.metric-card{position:relative;background:#fff;border:1px solid var(--line);border-radius:12px;padding:19px 18px}.metric-card p{font-size:11px;color:#6e7c84;font-weight:500;margin-bottom:9px}.metric-card strong{display:block;font-size:30px;line-height:1.1;font-weight:800;margin-bottom:10px}.metric-caption{font-size:10px;color:#859399}.metric-icon{position:absolute;right:15px;top:17px;color:#138872;background:#edf6f1;border-radius:8px;width:29px;height:29px;display:grid;place-items:center;font-size:12px}.metric-icon.amber{background:#fcf4e8;color:#ba8c34}.metric-icon.violet{background:#f1eef9;color:#8c75bf}.metric-icon.blue{background:#edf3fb;color:#6593c6}
main .bg-white[class*=rounded],body>.modal>.bg-white{border:1px solid var(--line);box-shadow:0 3px 9px #142d3503;border-radius:12px}main .shadow-lg,main .shadow{box-shadow:0 3px 9px #142d3503}main h2{color:var(--ink)}main h3{color:inherit}main .text-xl{font-size:17px}main .rounded-lg{border-radius:9px}main button.bg-red-600:not([onclick*=delete]):not([onclick*=Delete]),body>.modal button[type=submit]{background:var(--accent)}main button.bg-red-600:not([onclick*=delete]):not([onclick*=Delete]):hover{background:#06675d}main button.bg-gray-700,main button.bg-gray-600{background:#fff;color:#52636e;border:1px solid #dce3e5}main button.bg-gray-700:hover,main button.bg-gray-600:hover{background:#f1f5f5}main button.bg-blue-600{background:#087f72}main button{font-size:12px}input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]):not([type=file]),select,textarea{border-color:#dce4e7;border-radius:7px;background-color:#fff;min-height:38px;color:#233d49}input:focus,select:focus,textarea:focus{outline:2px solid #b1ddd2;outline-offset:1px}label{letter-spacing:0}.status-badge{font-size:10px;padding:5px 10px;white-space:nowrap}.progress-bar-fill{background:linear-gradient(90deg,#168d7c,#5bb59a)}
.dashboard-agenda{gap:20px!important;grid-template-columns:minmax(230px,1fr) minmax(0,2fr)!important;margin-bottom:29px!important}.dashboard-agenda>div{min-width:0}.dashboard-agenda>.md\:col-span-2{grid-column:auto}.today-card{position:relative;overflow:hidden;background:linear-gradient(120deg,#1b4848,#276758)!important;border:1px solid #1c5148!important;padding:22px!important;min-height:228px}.today-card:after{content:'';position:absolute;width:190px;height:190px;border:1px solid #ffffff12;border-radius:50%;right:-100px;bottom:-80px;box-shadow:0 0 0 30px #ffffff04,0 0 0 60px #ffffff03;pointer-events:none}.today-card>div:first-child{margin-bottom:13px}.today-card>div:first-child i{font-size:16px;opacity:.65}.today-card h3{font-size:13px!important;color:#cce1d9}.today-card .text-center{text-align:left}.today-card #calendarDayOfWeek{font-size:15px;font-weight:500;opacity:.85;margin:0 0 6px}.today-card .justify-center{justify-content:flex-start}.today-card #calendarDay{font-size:35px}.today-card #calendarMonth,.today-card #calendarYear{font-size:13px;font-weight:400;color:#c3dad1}.today-card #calendarTime{font-size:25px;font-weight:500;letter-spacing:.02em;display:inline-block;margin-right:6px}.today-card #calendarAMPM{font-size:11px;display:inline-block;color:#b0d0c2}.dashboard-agenda>div:nth-child(2){padding:22px!important}.dashboard-agenda h3{font-size:15px!important;font-weight:700}.dashboard-agenda h3 i{color:#528e7d;font-size:14px}.dashboard-agenda #upcomingEventsCount{font-size:10px;border:1px solid #e4eaea;background:#f8faf9;border-radius:5px;padding:3px 7px}#upcomingEventsList{max-height:180px}#upcomingEventsList>div{border-bottom:1px solid #f0f3f3}#upcomingEventsList>div:last-child{border:0}#upcomingEventsList .font-semibold{font-size:12px}
.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.section-heading h3{font-size:19px;font-weight:800}.section-heading .eyebrow{margin-bottom:5px}.text-action{color:var(--accent);font-size:11px!important;font-weight:700}.text-action i{margin-right:5px}#eventCards{gap:18px;margin-bottom:26px}#eventCards>div{min-width:0}#eventCards>div>div:first-child{gap:12px}#eventCards h3{font-size:17px;line-height:1.45}#eventCards .h-3{height:6px}#eventCards .space-x-4{flex-wrap:wrap;row-gap:6px}#eventCards .space-x-4>span{margin-left:0;margin-right:12px;font-size:11px}#eventCards button{min-height:30px}#eventCards button[onclick^=editEvent]{width:31px}#eventCards button[onclick^=deleteItem]{width:30px}.empty-events{grid-column:1/-1;border:1px dashed #cfddda;border-radius:12px;background:#fff;text-align:center;padding:32px 20px;color:#75888b}.empty-events .empty-symbol{margin:0 auto 12px;width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:#edf6f2;color:#388876}.empty-events h3{color:#29464b;font-size:16px;margin-bottom:6px}.empty-events p{font-size:12px}.empty-events button{margin-top:17px;background:var(--accent);color:#fff;padding:9px 17px;border-radius:7px}
table:not(.gantt-table){font-size:12px}table:not(.gantt-table) th{font-size:10px;letter-spacing:.07em;background:#f6f9f9;color:#7a8b91;padding-top:14px;padding-bottom:14px}table:not(.gantt-table) td{padding-top:15px;padding-bottom:15px}table:not(.gantt-table) tbody tr:hover{background:#fafcfb}.event-detail-tab{white-space:nowrap;font-size:12px}.event-detail-tab.active{color:var(--accent);border-color:var(--accent)}#eventDetail>div:nth-child(2)>div{overflow-x:auto;gap:20px}#eventDetail>div:nth-child(2)>div>div{margin:0!important}.modal.active{padding:20px}.modal>div.bg-white{background:#fff!important;border:1px solid #d9e5df;box-shadow:0 10px 30px #153d3210!important}.modal form{color:var(--ink)}.section{animation:workspaceIn .25s ease}@keyframes workspaceIn{from{opacity:.3;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(min-width:1600px){body>main{padding:40px 54px!important}.workspace-topbar{padding:0 54px}}
@media(max-width:1100px){:root{--sidebar:200px}body>main{padding:26px 23px!important}.workspace-topbar{padding:0 23px}.app-header>div{padding:28px 15px}.app-header h1{font-size:15px}.brand-mark{width:31px;height:31px}.metric-card{padding:17px 13px}.metric-icon{right:10px;top:12px;width:24px;height:24px}.metric-card p{max-width:90px}.overview-label{display:none}.section>.bg-white>.justify-between{flex-wrap:wrap;gap:18px}.section>.bg-white>.justify-between>.flex{flex-wrap:wrap;gap:8px}.section>.bg-white>.justify-between>.flex>*{margin-left:0!important}}
@media(max-width:767px){.app-header{position:relative;width:100%;height:auto;bottom:auto;border:0;pointer-events:auto}.app-header>div{padding:18px}.app-header>div>div{display:flex}.app-header>div>div>div:last-child{position:static}.app-header h1{font-size:16px}.app-header button{width:auto;padding:9px 11px;font-size:11px}.app-header .brand-subtitle{font-size:7px}.app-nav{position:sticky;top:0;width:100%;left:0;background:#142d35!important;border-bottom:1px solid #25434b!important;padding:0 12px 9px}.nav-eyebrow{display:none}.app-nav>div>div{flex-direction:row;overflow-x:auto;gap:4px;scrollbar-width:none}.app-nav .nav-tab{font-size:11px;padding:10px 12px;gap:7px}.app-nav .nav-tab.active{box-shadow:none}.workspace-topbar{margin:0;height:49px;padding:0 19px;font-size:10px}.workspace-tag{display:none}body>main{margin:0;width:100%!important;padding:25px 18px!important}.dashboard-intro{margin-bottom:22px}.dashboard-intro h2{font-size:25px}.intro-copy{font-size:11px;line-height:1.7;max-width:300px}.eyebrow{font-size:8px}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-bottom:21px}.metric-card{padding:16px}.metric-card strong{font-size:27px}.metric-card p{font-size:10px;margin-bottom:12px}.metric-caption{font-size:9px}.metric-icon{right:13px;top:13px}.dashboard-agenda{grid-template-columns:1fr!important;gap:15px!important;margin-bottom:23px!important}.today-card{min-height:205px}#eventCards{grid-template-columns:1fr!important}#eventCards>div>div:first-child{flex-wrap:wrap}#eventCards>div>.justify-between:last-child{flex-wrap:wrap;gap:12px}.section>.bg-white{padding:18px!important}.section h2{font-size:22px}.section .flex.justify-between{flex-wrap:wrap;gap:12px}.section .flex.space-x-3,.section .flex.space-x-2{flex-wrap:wrap;gap:8px}.section .flex.space-x-3>*,.section .flex.space-x-2>*{margin-left:0!important}.section .overflow-x-auto{max-width:100%}.section table{min-width:620px}.section .grid-cols-12{grid-template-columns:repeat(2,minmax(0,1fr))}.section .grid-cols-12>div{grid-column:span 1}.section .grid-cols-12 input,.section .grid-cols-12 select{width:100%;min-width:0}.modal.active{padding:14px}.modal>div{margin:0!important;padding:20px!important}.modal .grid-cols-2{grid-template-columns:1fr}#eventDetailHeader>div{flex-wrap:wrap;gap:16px}#eventDetailHeader .space-x-6{flex-wrap:wrap;gap:10px}#eventDetailHeader .space-x-6>*{margin:0!important}.event-detail-tab{padding:13px 4px}.section-heading h3{font-size:18px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
