/* Agar International Task Management: the same black, blue and cyan palette as the public website. */
:root{--navy:#060b12;--blue:#75bfff;--muted:#a0b1c3;--line:#273a4d;--surface:#0d1723;--raised:#142235;--text:#f2f7fc;--cyan:#4ce3ee;color:var(--text);background:var(--navy);color-scheme:dark;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif}
::selection{background:var(--cyan);color:#060b12}
button,a,input,select,textarea{touch-action:manipulation}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--cyan);outline-offset:3px}
button{color:var(--text);background:var(--surface)}button:hover{background:var(--raised)}
.primary{background:linear-gradient(110deg,#75bfff,#71e2e8);color:#051523;border-color:#7ed9f5}.primary:hover{background:#9deaf5}.danger{color:#ffaaa9}.quiet{background:transparent}
.sidebar{border-right:1px solid var(--line);color:#c6d7e3;overflow-y:auto}.brand{font-size:17px;letter-spacing:.07em;padding-inline:0;gap:8px;font-weight:600}.brand-wording{min-width:0;line-height:1.2;white-space:normal}.brand-wording>span{display:block;font-size:12px;letter-spacing:.025em;font-weight:400;color:#d4e3f1;margin-top:3px}.brand-wording small{display:block;color:var(--muted);font-size:11px;letter-spacing:0;font-weight:400;margin-top:6px}.brand-mark{position:relative;overflow:hidden;flex-shrink:0;width:38px;height:38px;background:none;border-radius:0}.brand-mark img{position:absolute;width:82px;max-width:none;height:auto;left:50%;top:-1px;transform:translateX(-50%)}
.sidebar .eyebrow{color:var(--muted)}.nav button{color:#bdcfdf}.nav button.active{background:#122d46;color:#dff7ff;box-shadow:inset 3px 0 var(--cyan)}.nav button:hover{background:#122337}.nav-icon{color:#7dccf3}.sidebar-bottom{color:var(--muted)}
.topbar,.stat,.panel,.modal,.modal .panelhead{background:var(--surface)}.topbar{height:auto;min-height:76px;padding-block:12px}.identity{min-width:0}.identity>div:last-child{overflow-wrap:anywhere;min-width:0}.avatar{background:#16314b;color:#8bdef6;flex-shrink:0}.pilotbar{background:#0b1d2e;color:#b2d5ee;flex-wrap:wrap}.pilotbar select{background:var(--surface);border-color:var(--line)}.pilotbar .inline-actions{gap:8px}.pilotbar .inline-actions button{font-size:13px;min-height:40px}
.stat.alert strong{color:#ffb59b}.panelhead h2,.pagehead h1{color:var(--text)}th{background:#101e2e;color:#b4c9dc}td{border-color:var(--line)}td button.link,.todo-title{color:#d5eaff}.empty strong{color:var(--text)}
.badge{background:#1c2b3c;color:#c7d7e6}.badge.in_progress,.badge.assigned{background:#133455;color:#91d0ff}.badge.completed{background:#13392f;color:#89e1ba}.badge.review{background:#322747;color:#d6b8ff}.badge.blocked,.badge.urgent{background:#44242c;color:#ffb7b5}.badge.high{background:#3a2e1c;color:#f7d391}
.progress,.progressmeter,.progressmeter::-webkit-progress-bar{background:#24374a}.progress i,.progressmeter::-webkit-progress-value{background:var(--cyan)}.progressmeter::-moz-progress-bar{background:var(--cyan)}
.step-number{border-color:#3e5973;color:#bbd2e6}.step.active .step-number{color:#051523}.step h3{color:var(--text)}
input,select,textarea{background:#09131f;border-color:#40566d;color:var(--text);accent-color:var(--cyan)}input::placeholder,textarea::placeholder{color:#91a6ba;opacity:1}input:focus,select:focus,textarea:focus{border-color:var(--cyan)}
.modalback{background:#02060cd9}.modal{box-shadow:0 25px 100px #0009}.note,.audit-change dd>div{background:#112336;color:#bbd0e1}.error{color:#ffc5c3;background:#3b222b}.timeline{border-color:var(--line)}.notification.unread{color:#87d8fa}.notification:hover{background:#122337}.file a{color:#8bd8fb}.callout{border-color:var(--cyan)}.pillcount{background:#163d59;color:#a7e8ff}#toast{background:#17354e;color:var(--text);border:1px solid #3e6583;box-shadow:0 5px 30px #0006}
.todo-filters button[aria-pressed="true"]{background:#163d59;border-color:#5794bf;color:#c2edff}.todo-check[aria-pressed="true"]{color:#89e1ba;background:#13392f;border-color:#457e6a}.is-complete .todo-title{color:var(--muted)}
.chat-conversation{background:var(--surface);border-color:var(--line)}.chat-conversation.selected{background:#14334d}.chat-conversation span:not(.pillcount),.chat-conversation small,.chat-message time{color:#b0c4d7}.chat-message{background:#182738}.chat-message.own{background:#15354f}.chat-compose,.chat-people{border-color:var(--line)}
.auth-page{background:var(--navy)}.auth-card{background:var(--surface);border-color:var(--line)}.auth-card .brand{color:var(--text)}
@media(max-width:760px){.topbar{min-height:66px;gap:10px;padding-block:10px}.identity{gap:8px;flex:1;justify-content:flex-end}.identity>button{font-size:12px;padding:8px 5px}.identity .avatar{width:29px;height:29px;font-size:12px}.identity>div:last-child{max-width:120px;font-size:12px}.mobile-menu{flex-shrink:0}.pilotbar{gap:12px}.pilotbar .inline-actions{width:100%}.pilotbar .inline-actions button{flex:1}.pagehead{flex-wrap:wrap}.toolbar input{min-width:0;flex-basis:180px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
