
:root{color-scheme:dark;--bg:#1e1f21;--nav:#202124;--panel:#18191b;--card:#27292d;--line:#34363b;--text:#e8e9eb;--muted:#a1a5ae;--red:#ef4944;--blue:#82b0f8;--focus:#9bbfff;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:13px}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);overflow:hidden}button,input,textarea{font:inherit}button{cursor:pointer;color:inherit;background:none;border:0}button:disabled{cursor:default;opacity:.48}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--focus);outline-offset:3px}svg{width:18px;height:18px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.icon{display:grid;place-items:center;width:32px;height:32px;border-radius:5px;color:#b3b7bf}.icon:hover{background:#ffffff0b;color:white}.topbar{height:56px;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 16px;gap:7px;background:#202124;position:relative;z-index:20}.brand{display:flex;align-items:baseline;gap:13px;margin-left:8px;white-space:nowrap}.wordmark{font-size:30px;font-weight:800;letter-spacing:-1.7px;line-height:1}.accent{color:var(--red)}.tagline{font-size:15px;line-height:1.2;letter-spacing:.3px;color:#c6c9cf;border-left:1px solid #44474e;padding-left:12px}.tagline strong{font-weight:650}.search{position:absolute;left:50%;transform:translateX(-50%);width:min(33vw,520px);height:32px;border:1px solid #4a4d54;border-radius:5px;display:flex;align-items:center;gap:8px;padding:0 10px;background:#26282c;color:#8d929b}.search input{width:100%;background:none;border:0;color:var(--muted);outline:0}.search svg{width:15px;height:15px}.shortcut{font-size:10px;border:1px solid #44474e;border-radius:3px;padding:1px 4px;white-space:nowrap}.top-right{margin-left:auto;display:flex;align-items:center;gap:10px}.preview-badge{font-size:10px;font-weight:650;letter-spacing:.5px;border:1px solid #54473b;color:#cdb898;border-radius:4px;padding:4px 7px;margin-right:10px}.avatar{display:inline-grid;place-items:center;border:1px solid #596575;background:#354252;color:#d8e5f8;border-radius:50%;width:29px;height:29px;font-size:10px;font-weight:650;flex-shrink:0}.avatar.small{width:24px;height:24px;font-size:9px}.avatar.green{background:#384b43;border-color:#586d60;color:#c5e6d1}.avatar.purple{background:#494052;border-color:#6b5c78;color:#e4d5f1}.workspace{display:flex;height:calc(100dvh - 56px)}.sidebar{width:228px;min-width:228px;background:var(--nav);border-right:1px solid var(--line);padding:26px 12px;transition:width .18s,min-width .18s,padding .18s;overflow:hidden}.sidebar.closed{width:0;min-width:0;padding-left:0;padding-right:0;border:0}.sidebar-inner{width:203px}.section-label{font-size:10px;font-weight:650;color:#9196a0;letter-spacing:1.2px;padding:0 10px 13px;text-transform:uppercase}.project-link{width:100%;display:flex;align-items:center;gap:11px;padding:10px;border-radius:5px;text-align:left;margin-bottom:4px;font-size:12px}.project-link:hover{background:#ffffff06}.project-link.selected{background:#30343c;box-shadow:inset 2px 0 var(--red);font-weight:600}.project-icon{height:26px;width:26px;border:1px solid #624446;background:#3a2c30;border-radius:6px;display:grid;place-items:center;font-size:11px;color:#f29491;font-weight:700}.project-icon.teal{background:#273e3c;border-color:#3f5b57;color:#9bd4ca}.project-icon.violet{background:#39313f;border-color:#51465b;color:#c1aed7}.project-desc{display:block;font-size:10px;font-weight:400;color:#969ca6;margin-top:3px}.sidebar-note{padding:18px 10px;font-size:10px;color:#747a84;line-height:1.6}.main{min-width:0;flex:1;display:flex;flex-direction:column}.project-head{padding:25px 28px 0;border-bottom:1px solid var(--line)}.breadcrumbs{font-size:11px;color:#9b9fa9;display:flex;gap:9px;align-items:center;margin-bottom:14px}.breadcrumbs span:last-child{color:#c3c6cc}.project-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.title-row{display:flex;align-items:center;gap:10px}.title-row .project-icon{height:33px;width:33px;font-size:15px}.project-heading h1{font-size:23px;letter-spacing:-.7px;margin:0 0 3px;font-weight:650}.project-subtitle{color:var(--muted);font-size:11px}.btn{border:1px solid #494c53;background:#2a2c31;border-radius:5px;padding:7px 11px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:12px}.btn:hover{background:#36393f}.btn.primary{border-color:#b74747;background:#a52c2c;color:#fff;font-weight:600}.btn.primary:hover{background:#b53636}.btn svg{width:15px;height:15px}.tabs{display:flex;align-items:center;gap:23px;margin-top:23px;height:39px}.tab{height:100%;padding:0 0 11px;display:flex;align-items:center;gap:7px;color:#adb2bb;position:relative;font-size:12px}.tab.active{color:var(--text)}.tab.active:after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:2px;background:var(--red)}.tab svg{height:15px;width:15px}.soon{font-size:8px;color:#9399a2;border:1px solid #42464d;border-radius:3px;padding:1px 4px;letter-spacing:.4px;text-transform:uppercase}.toolbar{display:flex;align-items:center;gap:12px;padding:18px 28px 15px}.toolbar-title{font-size:12px;font-weight:550}.separator{height:18px;width:1px;background:var(--line);margin:0 1px}.members{display:flex;padding-left:6px}.members .avatar{margin-left:-6px;border:2px solid var(--bg)}.toolbar-hint{margin-left:auto;color:#868c96;font-size:10px}.board-scroll{padding:0 28px 24px;flex:1;overflow:auto;scrollbar-color:#44474e transparent}.board{min-width:1060px}.columns-head{display:grid;grid-template-columns:repeat(5,minmax(198px,1fr));gap:14px;margin-bottom:10px}.column-label{display:flex;align-items:center;gap:8px;color:#aeb3bd;padding:12px 10px 10px;font-size:10px;font-weight:650;text-transform:uppercase;letter-spacing:.8px;border-top:2px solid #555a64}.column-label:nth-child(3){border-color:#7fa5d9}.column-label:nth-child(4){border-color:#b397cb}.column-label:last-child{border-color:#7dbe9e}.count{border-radius:4px;background:#303238;padding:2px 5px;font-size:9px;color:#b2b7c0;letter-spacing:0;font-weight:500}.lane-header{display:flex;align-items:center;width:100%;height:40px;padding:0 9px;color:#d4d7dd;border-bottom:1px solid #34373d;gap:8px;text-align:left;margin:0 0 12px}.lane-header svg{height:13px;width:13px;color:#9299a3;transition:transform .15s}.lane-header[aria-expanded="false"] svg{transform:rotate(-90deg)}.lane-header strong{font-size:12px;font-weight:600}.lane-meta{color:#939aa5;font-size:10px;margin-left:3px}.lane-tag{margin-left:auto;font-size:9px;letter-spacing:.45px;color:#a1a7b1}.lane{display:grid;grid-template-columns:repeat(5,minmax(198px,1fr));gap:14px;align-items:stretch;margin-bottom:20px}.lane[hidden]{display:none}.column{background:var(--panel);border:1px solid #24262a;border-radius:7px;min-height:350px;padding:7px}.card{display:block;width:100%;background:var(--card);border:1px solid #31343a;border-radius:6px;padding:13px 12px 11px;text-align:left;box-shadow:0 2px 2px #00000016;margin-bottom:8px;transition:border-color .12s,background .12s}.card:hover{border-color:#666c78;background:#2c2e33}.card-type{font-size:9px;display:flex;align-items:center;gap:6px;color:#a7adb7;margin-bottom:9px;letter-spacing:.25px}.type-dot{height:7px;width:7px;border-radius:2px;background:#7ba7e8}.type-dot.story{background:#91b777}.type-dot.bug{background:#ef7a77}.type-dot.epic{background:#b099d2}.card-title{font-size:12px;line-height:1.55;font-weight:500;display:block;min-height:36px}.epic-tag{font-size:9px;display:inline-flex;align-items:center;gap:5px;padding:3px 5px;color:#beb0d0;background:#3a3344;border:1px solid #51465e;border-radius:3px;margin:11px 0 7px}.card-bottom{margin-top:12px;display:flex;align-items:center;justify-content:space-between}.ticket-id{font-size:10px;color:#a4aab4}.card-people{display:flex;gap:9px;align-items:center}.priority{color:#c9a46b;font-size:15px;line-height:1}.priority.high{color:#ed8a83}.priority.low{color:#7eafe3}.subtasks{border-top:1px solid #3d4047;margin:11px -12px -3px;padding:9px 12px 0;display:flex;gap:7px;align-items:center;color:#a8aeba;font-size:10px}.subtasks svg{width:13px;height:13px}.add-card{display:flex;align-items:center;justify-content:center;width:100%;height:30px;border:1px dashed #393c43;border-radius:4px;color:#777e89;gap:6px}.add-card svg{width:13px;height:13px}.empty-space{height:93px;display:grid;place-content:center;text-align:center;color:#666e79;font-size:10px;gap:6px}.empty-space svg{margin:auto;height:20px;width:20px}.mock-note{font-size:10px;color:#7e8590;padding:2px 5px 12px;line-height:1.6}.mock-note b{font-weight:500;color:#9ba2ad}.footer{display:flex;justify-content:space-between;font-size:9px;color:#6f7681;padding:11px 28px;border-top:1px solid #2d3035}.popover{position:fixed;z-index:70;right:16px;top:48px;width:245px;background:#292c31;border:1px solid #494d55;box-shadow:0 12px 40px #0006;border-radius:7px;padding:6px}.popover[hidden]{display:none}.popover h3{margin:10px;font-size:12px}.popover p{color:#a0a7b1;font-size:11px;padding:0 10px;line-height:1.5}.popover button{width:100%;padding:10px;text-align:left;border-radius:4px;font-size:12px}.popover button:hover{background:#363a42}.popover button small{float:right;color:#969daa}.backdrop{position:fixed;inset:56px 0 0;background:#0006;z-index:40}.backdrop[hidden]{display:none}.drawer{position:fixed;right:0;top:56px;bottom:0;width:min(560px,100%);background:#232529;border-left:1px solid #4b4e56;z-index:50;box-shadow:-12px 0 40px #0004;padding:25px 28px;overflow:auto}.drawer[hidden]{display:none}.drawer-top{display:flex;justify-content:space-between;align-items:center;color:#a3aab4;font-size:11px}.drawer h2{font-size:23px;line-height:1.4;font-weight:600;letter-spacing:-.4px;margin:22px 0}.drawer .badge{font-size:10px;color:#bed4f4;background:#30415b;border:1px solid #506788;padding:5px 9px;border-radius:4px}.drawer h4{margin:27px 0 10px;font-size:12px}.drawer p,.drawer li{color:#b6bcc5;line-height:1.8;font-size:12px}.drawer ul{padding-left:18px}.details-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:26px 0}.details-grid label{display:block;font-size:10px;color:#949ca8;margin-bottom:8px}.details-grid div{font-size:12px}.details-grid .avatar{margin-right:6px}.notice{margin-top:26px;border:1px solid #47433d;background:#302d28;color:#bdb2a1;font-size:11px;padding:12px;line-height:1.6;border-radius:5px}.toast{position:fixed;left:50%;bottom:35px;transform:translateX(-50%);background:#363a42;border:1px solid #606774;padding:13px 18px;border-radius:7px;box-shadow:0 8px 30px #0005;z-index:100;color:#e3e6eb;font-size:12px;max-width:calc(100% - 30px)}.toast[hidden]{display:none}.modal{position:fixed;z-index:80;inset:0;display:grid;place-items:center;background:#0008;padding:20px}.modal[hidden]{display:none}.modal-box{width:440px;max-width:100%;border:1px solid #4a4e56;background:#25272c;border-radius:9px;padding:25px}.modal-box h2{font-size:18px;margin:0}.modal-box p{font-size:12px;color:#adb4bf;line-height:1.8}.profile-intro{display:flex;align-items:center;gap:13px;margin:25px 0}.profile-intro .avatar{height:46px;width:46px;font-size:15px}.profile-intro strong{font-size:15px}.profile-intro small{display:block;color:#9099a6;margin-top:5px}.modal-footer{display:flex;justify-content:flex-end;margin-top:24px}.mobile-brand{display:none}
@media(min-width:1800px){.card-title{font-size:13px}.card{padding:15px 14px}.subtasks{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}}@media(max-width:1250px){.tagline{display:none}.sidebar{width:200px;min-width:200px}.sidebar-inner{width:175px}.project-head{padding:22px 20px 0}.toolbar{padding-left:20px;padding-right:20px}.board-scroll{padding-left:20px;padding-right:20px}.preview-badge{margin-right:0}.search{width:34vw}}@media(max-width:700px){.topbar{padding:0 8px;gap:1px}.brand{margin-left:4px}.wordmark{font-size:25px}.search{position:static;transform:none;flex:1;width:auto;margin:0 8px}.shortcut,.preview-badge{display:none}.top-right{gap:2px}.sidebar{position:absolute;z-index:30;top:56px;bottom:0;width:215px;min-width:215px;box-shadow:10px 0 30px #0004}.sidebar.closed{box-shadow:none}.project-head{padding-top:18px}.project-heading{gap:8px}.project-heading h1{font-size:20px}.project-subtitle{font-size:10px}.btn{padding:7px 8px}.tabs{gap:16px;overflow:auto;white-space:nowrap}.tab{font-size:11px}.toolbar-hint{display:none}.footer{padding:10px 20px}.footer>span:last-child{display:none}.project-heading>.btn span{display:none}}

/* Connected application: agreed shell, no demo ticket/project data. */
[hidden]{display:none!important}.icon-definitions{display:none}.main{overflow:auto}.main>section{flex:1}.main>.footer{margin-top:auto}.auth-screen{height:100dvh;overflow:auto;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px 20px;position:relative;background:radial-gradient(ellipse at 50% 20%,#292b30 0,transparent 65%),#1e1f21}.auth-card{width:470px;max-width:100%;padding:36px;background:#232529;border:1px solid #3c3f46;border-radius:10px;box-shadow:0 18px 60px #0002}.auth-brand{display:flex;align-items:baseline;gap:15px;white-space:nowrap}.auth-brand .wordmark{font-size:38px}.auth-brand .tagline{display:block;font-size:15px;padding-left:15px}.auth-kicker{font-size:9px;letter-spacing:1.2px;color:#939aa5;margin-top:38px}.auth-card h1{font-size:25px;font-weight:600;letter-spacing:-.8px;margin:10px 0 9px}.auth-description{font-size:12px;line-height:1.7;color:#aeb5bf;margin-bottom:25px}.field{display:block;font-size:11px;font-weight:500;margin:17px 0 0;color:#c2c7cf}.field input{display:block;margin-top:8px;width:100%;height:39px;border:1px solid #4a4f59;background:#1c1e22;border-radius:5px;padding:0 11px;color:#edf0f5;font-size:13px}.field input::placeholder{color:#747d8b}.full-width{width:100%;margin-top:23px;min-height:39px;justify-content:space-between}.muted{color:#959eab;font-size:12px;line-height:1.7}.field-help{color:#969faa;font-size:10px;line-height:1.7;margin-top:8px}.form-error{font-size:12px;line-height:1.6;color:#ffaaa4;background:#4a292c;border:1px solid #744044;border-radius:5px;padding:10px 12px;overflow-wrap:anywhere}.auth-footnote{font-size:10px;line-height:1.7;color:#818a96;border-top:1px solid #373b43;margin:25px 0 0;padding-top:18px}.auth-bottom{font-size:10px;color:#777f8b;margin-top:28px}.text-button{display:block;margin:18px auto 0;color:#a6afbd;text-decoration:underline;text-underline-offset:4px;font-size:11px}.empty-workspace{padding:85px 25px;max-width:650px;margin:0 auto;text-align:center}.empty-mark{display:inline-grid;place-items:center;height:56px;width:56px;background:#2d3037;color:#a9b5c8;border:1px solid #454c58;border-radius:12px}.empty-mark svg{height:25px;width:25px}.empty-workspace h2{font-size:22px;letter-spacing:-.5px;margin-top:25px}.empty-workspace p{font-size:12px;color:#a0a9b6;line-height:1.8}.empty-workspace .btn{margin-top:15px}.project-heading h1{margin:0}.project-heading .project-subtitle{margin-bottom:20px}.crumb-home{padding:0;color:#a5adba;text-align:left}.crumb-home:hover{color:#fff}.admin-content{padding:24px 28px}.user-table-wrap{border:1px solid #3b4049;border-radius:6px;overflow:auto}.user-table{width:100%;border-collapse:collapse;text-align:left}.user-table th{font-size:10px;color:#949daa;background:#22252a;font-weight:600;padding:13px 18px;border-bottom:1px solid #3a3e46}.user-table td{padding:14px 18px;border-bottom:1px solid #30353d;font-size:12px}.user-table tr:last-child td{border-bottom:0}.user-cell{display:flex;align-items:center;gap:11px}.user-table .action-column{text-align:right}.future-actions{color:#818b99;font-size:10px;text-align:right}.profile-content{padding:20px 28px;max-width:650px}.profile-fields{margin:30px 0;display:grid;gap:20px}.profile-fields div{display:grid;grid-template-columns:160px 1fr;gap:12px}.profile-fields dt{font-size:11px;color:#949dac}.profile-fields dd{margin:0;font-size:12px;overflow-wrap:anywhere}.create-box{max-height:calc(100dvh - 40px);overflow:auto;width:520px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}.checkbox-label{display:flex;gap:8px;align-items:center;font-size:12px;margin-top:20px}.checkbox-label input{accent-color:#e34741}.create-box .field span{font-size:10px}.topbar .brand .tagline{font-size:15px}.brand{align-items:baseline}.topbar .preview-badge{display:none}.profile-intro strong{overflow-wrap:anywhere}.user-cell span:last-child{overflow-wrap:anywhere;min-width:0}.popover h3{overflow-wrap:anywhere}
@media(max-width:700px){.auth-card{padding:26px}.auth-brand{gap:10px}.auth-brand .wordmark{font-size:31px}.auth-brand .tagline{font-size:12px;padding-left:10px}.auth-screen{justify-content:flex-start;padding-top:50px}.auth-kicker{margin-top:28px}.auth-card h1{font-size:23px}.form-row{grid-template-columns:1fr;gap:0}.profile-fields div{grid-template-columns:1fr;gap:6px}.admin-content{padding:20px}.empty-workspace{padding-top:55px}.project-heading{align-items:flex-start}.project-heading h1{font-size:20px}.project-heading>.btn{font-size:10px;white-space:nowrap}.topbar .brand .tagline{display:none}}

/* Safari renders these masked AutoFill controls black unless explicitly styled. */
.field input { color-scheme: dark; }
.password-field{position:relative}
.password-field input{padding-inline-end:46px}
.password-field .password-visibility{position:absolute;inset-inline-end:4px;top:50%;transform:translateY(-50%)}
.password-visibility svg{width:16px;height:16px}
.password-field input:autofill + .password-visibility{display:none}
.password-field input::-ms-reveal{display:none}
.field input::-webkit-contacts-auto-fill-button {
  background-color: #a1a5ae !important;
}
.field input::-webkit-credentials-auto-fill-button {
  background-color: #a1a5ae !important;
}
.field input::-webkit-contacts-auto-fill-button:hover {
  background-color: #e8e9eb !important;
}
.field input::-webkit-credentials-auto-fill-button:hover {
  background-color: #e8e9eb !important;
}

/* Administration landing: restrained grey/white launcher, no project-home shortcut. */
.admin-launchers{display:flex;flex-wrap:wrap;align-items:flex-start;gap:22px;padding:36px 28px}
.admin-launcher{display:flex;flex-direction:column;align-items:center;gap:15px;min-width:166px;padding:12px 14px 20px;font-size:13px;font-weight:550;color:#e3e6eb;border-radius:8px}
.admin-bubble{width:92px;height:92px;border-radius:50%;display:grid;place-items:center;background:#30343a;border:1px solid #555c66;box-shadow:0 3px 12px #0002;transition:background .15s,border-color .15s}
.admin-bubble svg{width:45px;height:45px;stroke:#e1e5ec;stroke-width:1.5}
.admin-launcher:hover .admin-bubble{background:#3c424a;border-color:#929ba8}
.crumb-admin{padding:0;color:#a5adba;text-align:left}
.crumb-admin:hover{color:#fff}
@media(max-width:700px){.admin-launchers{padding:25px 20px}.admin-bubble{width:82px;height:82px}}

.field select{display:block;margin-top:8px;width:100%;height:39px;border:1px solid #4a4f59;background:#1c1e22;border-radius:5px;padding:0 11px;color:#edf0f5;font:inherit}
.field select:focus-visible{outline:2px solid var(--focus);outline-offset:3px}
.manage-box{width:570px;max-height:calc(100dvh - 40px);overflow:auto}
.management-section{border-top:1px solid #414650;padding-top:21px;margin-top:28px}
.management-section h3{font-size:13px;margin:0 0 8px}.management-section .btn{margin-top:14px}
.danger{color:#ffb5af;border-color:#80504f;background:#412c2e}.danger:hover{background:#543437}
.status-label{display:inline-block;font-size:10px;padding:4px 7px;border-radius:4px;background:#2e4239;color:#b8dec6;border:1px solid #496455}
.status-label.inactive{background:#3e3530;color:#d3bba8;border-color:#655349}
.manage-action{font-size:11px}
.user-admin-actions{display:inline-flex;align-items:center;gap:6px}
.user-project-roles-action{padding:6px 7px}
.user-project-roles-action svg{width:14px;height:14px}
.user-project-roles section{padding-block:12px}
.user-project-roles section+section{border-top:1px solid var(--line)}
.user-project-roles h3{margin:0 0 6px;font-size:13px}
.user-project-roles ul{margin:0;padding:0;list-style:none;font-size:13px;line-height:1.7;overflow-wrap:anywhere}
.user-project-roles li{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:32px}
.user-project-roles li+li{margin-top:4px}
.user-project-kick{display:grid;place-items:center;flex-shrink:0;width:26px;height:26px;padding:0;border-width:1px;border-style:solid}
.user-project-kick svg{width:16px;height:16px}
.user-project-roles ul:empty{display:none}.form-success{padding:12px;border-radius:5px;background:#2c4034;color:#c3e4ce;border:1px solid #4a6856;font-size:12px;line-height:1.7}
.event-list{border:1px solid #3b4049;border-radius:6px;overflow:hidden}.event-row{display:grid;grid-template-columns:170px 1fr;gap:20px;padding:10px 20px;border-bottom:1px solid #343941;font-size:12px;line-height:1.5}.event-row:last-child{border-bottom:0}.event-row time{color:#929eac;font-size:10px}.event-message{overflow-wrap:anywhere}.event-message p{margin:3px 0 0}.event-actor{display:block;color:#929eac;font-size:10px;margin-top:3px}.event-row.request-event{border-left:3px solid #adb8c7;background:#272c33}.empty-events{padding:28px;color:#9ca5b3;font-size:12px}
.user-table td:last-child{text-align:right}#manage-account-label{overflow-wrap:anywhere}#delete-name{margin-bottom:4px}
@media(max-width:700px){.event-row{grid-template-columns:1fr;gap:4px}.user-table th,.user-table td{padding:12px 10px}.manage-box{padding:22px}}

/* Integrated project layout pages: example content until the project API exists. */
#home-view:not([hidden]){display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}
.project-board-page{display:flex;flex-direction:column;flex:1;min-height:0}
.member-count{font-size:10px;color:#939ba7}
.project-placeholder-page{flex:1;overflow:auto}
#home-view .project-subtitle{margin-bottom:0}
#home-view .project-heading h1{margin:0 0 3px}
.project-board-page[hidden],.project-placeholder-page[hidden]{display:none}
.project-board-page .toolbar{flex-shrink:0}
.project-head .tabs{overflow-x:auto;white-space:nowrap;flex-shrink:0}
.project-menu-row{display:flex;align-items:center;gap:16px;margin-top:23px}
.project-menu-row .tabs{flex:1;min-width:0;margin-top:0;overflow-y:hidden}
/* Tab content is centered above its 11px bottom padding. */
.project-menu-row>.btn{flex-shrink:0;white-space:nowrap;transform:translateY(-5.5px)}
@media(max-width:700px){.project-menu-row #create-ticket span{display:none}}
.project-link>span:last-child{min-width:0;text-align:left}
.card-title,.epic-tag{overflow-wrap:anywhere}
@media(max-width:700px){.project-head .tabs{gap:16px}.project-placeholder-page .empty-workspace{padding-top:45px}}

/* Spacious ticket overlay. The board stays visible beneath the dimmed backdrop. */
.ticket-backdrop{position:fixed;inset:0;background:#0009;z-index:60;backdrop-filter:blur(1px)}
.ticket-dialog{--ticket-content-inset:32px;position:fixed;inset:0;margin:auto;width:calc(100vw - 96px);max-width:1320px;height:calc(100dvh - 96px);max-height:1020px;display:flex;flex-direction:column;background:#27292d;border:1px solid #41454d;border-radius:12px;box-shadow:0 24px 90px #0009;z-index:65;overflow:hidden;color:var(--text)}
.ticket-dialog[hidden],.ticket-backdrop[hidden]{display:none}
.ticket-dialog-header{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px var(--ticket-content-inset) 16px}
.ticket-breadcrumb{font-size:12px;color:#aeb6c2;overflow-wrap:anywhere}
.ticket-close{width:34px;height:34px;flex-shrink:0;border:1px solid #484d56}
.ticket-dialog-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,340px);align-content:start;gap:40px;padding:14px var(--ticket-content-inset) 36px;scrollbar-color:#555b66 transparent}
.ticket-main{min-width:0}
.ticket-main h2{font-size:26px;font-weight:650;line-height:1.35;letter-spacing:-.6px;margin:0 0 34px;overflow-wrap:anywhere}
.ticket-text-section{margin:0 0 34px}
.ticket-text-section h3{font-size:14px;font-weight:650;margin:0 0 16px;color:#e3e6eb}
.ticket-text-section p,.ticket-criteria{font-size:13px;line-height:1.95;color:#bec5ce;margin:0;overflow-wrap:anywhere}
.ticket-criteria{padding-left:21px}.ticket-criteria li{padding-left:3px;margin-bottom:8px}
.ticket-example-label{font-size:9px;font-weight:400;letter-spacing:.4px;text-transform:uppercase;color:#969eaa;margin-left:8px}
.ticket-text-section .ticket-placeholder{font-size:12px;color:#959eac}
.ticket-preview-note{font-size:11px;line-height:1.8;color:#99a3b2;border-left:2px solid #515a68;padding:2px 0 2px 13px;margin-top:38px}
.ticket-side{min-width:0;align-self:start}
.ticket-status{margin:0 0 20px;display:flex;align-items:center;gap:12px}
.ticket-status>span{font-size:11px;color:#9ba5b3}
.ticket-status-badge{display:inline-block;font-size:12px;font-weight:550;padding:7px 12px;background:#34455e;border:1px solid #596f8f;border-radius:5px;color:#d0e0f8}
.ticket-details{border:1px solid #454a53;border-radius:8px;background:#292c31}
.ticket-details summary{padding:17px 18px;font-size:13px;font-weight:600;cursor:pointer;color:#d8dde5}
.ticket-details summary:focus-visible{outline:2px solid var(--focus);outline-offset:-4px;border-radius:8px}
.ticket-details dl{margin:0;padding:5px 18px 20px;display:grid;gap:23px}
.ticket-details dl>div{display:grid;grid-template-columns:minmax(100px,.9fr) minmax(0,1.1fr);gap:15px;font-size:12px;line-height:1.7}
.ticket-details dt{color:#9fa9b7}.ticket-details dd{margin:0;color:#e1e5eb;overflow-wrap:anywhere}
@media(max-width:1000px){.ticket-dialog{--ticket-content-inset:24px;width:calc(100vw - 40px);height:calc(100dvh - 40px)}.ticket-dialog-body{grid-template-columns:minmax(0,1fr) minmax(240px,290px);gap:25px;padding:12px var(--ticket-content-inset) 30px}.ticket-main h2{font-size:23px}}
@media(max-width:700px){.ticket-dialog{--ticket-content-inset:20px;width:calc(100vw - 20px);height:calc(100dvh - 20px);border-radius:9px}.ticket-dialog-header{padding:13px var(--ticket-content-inset) 10px}.ticket-dialog-body{display:flex;flex-direction:column;gap:24px;padding:14px var(--ticket-content-inset) 28px}.ticket-main h2{font-size:22px;margin-bottom:26px}.ticket-side{width:100%}.ticket-text-section{margin-bottom:25px}.ticket-details dl>div{grid-template-columns:minmax(100px,.85fr) minmax(0,1.15fr)}}

.project-workspace{display:flex;flex-direction:column;flex:1;min-height:0}
.project-editor-box{width:580px;max-height:calc(100dvh - 40px);overflow:auto}
.field textarea{display:block;margin-top:8px;width:100%;border:1px solid #4a4f59;background:#1c1e22;border-radius:5px;padding:10px 11px;color:#edf0f5;resize:vertical;min-height:100px;line-height:1.6}
.project-table-name{overflow-wrap:anywhere}.project-table-description{display:block;font-size:10px;color:#929cab;margin-top:5px}
#project-sidebar-list .project-link{overflow-wrap:anywhere}#project-sidebar-list .project-desc{overflow-wrap:anywhere}
.project-editor-box .modal-footer{gap:8px}

.board-actions{position:relative;margin-left:auto}.board-more{font-size:24px;font-weight:650;line-height:1}
.board-menu{position:absolute;z-index:35;right:0;top:38px;min-width:200px;background:#292c31;border:1px solid #494d55;box-shadow:0 8px 30px #0006;border-radius:6px;padding:5px}
.board-menu button{padding:11px;width:100%;text-align:left;font-size:12px;border-radius:4px}.board-menu button:hover{background:#363a42}
#project-board-page .board{min-width:100%;width:max-content}
#project-board-page .columns-head,#project-board-page .lane{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:var(--board-column-widths,268px)}
#project-board-page .column-label{overflow-wrap:anywhere;border-color:#555a64}
#project-board-page .column-label.status-working{border-color:#7fa5d9}#project-board-page .column-label.status-done{border-color:#7dbe9e}

/* Board-shaped configuration with decorative ticket placeholders only. */
.columns-box{--preview-column-step:212px;--preview-frame-width:122px;width:calc(var(--column-preview-count,5) * var(--preview-column-step) + var(--preview-frame-width));min-width:min(380px,calc(100vw - 64px));max-width:calc(100vw - 64px);max-height:calc(100dvh - 48px);overflow:auto;padding:26px}
.columns-box>p{max-width:960px}
.columns-preview-scroll{overflow-x:auto;overscroll-behavior-x:contain;scrollbar-color:#58616e #1b1d21;margin:24px 0 8px;padding:2px 2px 14px}
.columns-preview-scroll:focus-visible{outline:2px solid var(--focus);outline-offset:3px;border-radius:5px}
.columns-preview-track{display:flex;align-items:stretch;gap:12px;min-width:max-content}
.columns-list{display:flex;align-items:stretch;gap:12px;margin:0}
.column-config-row{display:flex;flex-direction:column;flex:0 0 200px;width:200px;min-height:330px;background:#18191b;border:1px solid #363b44;border-top:3px solid #636d7c;border-radius:7px;overflow:hidden}
.column-config-row[data-status-group="working"]{border-top-color:#7fa5d9}
.column-config-row[data-status-group="done"]{border-top-color:#7dbe9e}
.column-preview-head{padding:12px;background:#22252a;border-bottom:1px solid #343b45}
.column-preview-head .field{margin:0 0 12px;font-size:10px;color:#aab3c1}
.column-preview-head .field input,.column-preview-head .field select{margin-top:6px;font-size:12px;height:35px;padding-left:9px;padding-right:9px;min-width:0}
.column-preview-head .field input{font-weight:600}
.column-config-actions{display:flex;gap:6px;align-items:center}
.column-action{display:inline-grid;place-items:center;width:32px;height:30px;padding:0;font-size:17px}
.column-action:disabled{opacity:.25}
.column-action.column-remove{margin-left:auto;color:#b4bbc7}
.column-action.column-remove:not(:disabled):hover{color:#ffb4ad;border-color:#ad6661;background:#4b2e30}
.column-remove svg{width:15px;height:15px}
.column-preview-body{flex:1;min-height:164px;display:flex;flex-direction:column;gap:12px;padding:28px 12px 18px}
.column-preview-ticket{display:flex;align-items:center;min-height:44px;padding:10px 12px;border:1px dashed #535d6b;border-radius:5px;background:#18191b;color:#a7b0be;font-size:11px;cursor:default;pointer-events:none}
.column-add-preview{display:flex;flex:0 0 64px;flex-direction:column;align-items:center;justify-content:center;gap:12px;align-self:stretch;border:1px dashed #535d6b;border-radius:7px;width:64px;min-height:330px;font-size:10px;line-height:1.6;color:#a7b0be;background:#ffffff03}
.column-add-preview:hover{background:#ffffff08;border-color:#909cad;color:#e2e7ef}
.column-add-mark{font-size:30px;font-weight:300;line-height:1}
.columns-box .modal-footer{gap:8px;border-top:1px solid #3b424d;padding-top:18px;margin-top:12px}
@media(max-width:700px){.columns-box{--preview-column-step:197px;--preview-frame-width:106px;min-width:min(350px,calc(100vw - 40px));max-width:calc(100vw - 40px);max-height:calc(100dvh - 24px);padding:18px}.columns-preview-scroll{margin-top:18px}.column-config-row{flex-basis:185px;width:185px;min-height:300px}.column-add-preview{min-height:300px}.columns-box .modal-footer{flex-wrap:wrap}}

.project-assignment-row{display:grid;grid-template-columns:105px minmax(0,1fr);gap:22px;align-items:start;margin-top:18px}
.project-key-field{padding-top:19px;min-width:0}
.project-key-field input{display:block;width:85px;height:39px;border:1px solid #4a4f59;background:#1c1e22;border-radius:5px;color:#edf0f5;font-size:15px;font-weight:600;letter-spacing:2px;text-align:center;text-transform:uppercase;padding:0 7px}
.project-key-field>label{display:block;font-size:12px;line-height:1.8;color:#969faa;margin-top:7px}
.project-key-field input[aria-invalid="true"]{border-color:#dd7770}
.project-key-field .project-key-error{font-size:10px;line-height:1.5;color:#ff7770;margin:7px 0 0;overflow-wrap:anywhere}
.project-assignment-row .project-owner-field{margin:0;min-width:0}
@media(max-width:420px){.project-assignment-row{grid-template-columns:90px minmax(0,1fr);gap:14px}}

.project-owner-group{min-width:0}.project-owner-group .project-owner-help{font-size:12px;line-height:1.8;margin-bottom:0}

/* Show the full three-letter key, including wide letters such as WWW. */
.project-icon{width:32px;height:32px;min-width:32px;flex-shrink:0;font-size:10px}
.title-row .project-icon{width:40px;height:40px;min-width:40px;font-size:12px}

/* Resizable project navigation: two independent single-line labels. */
.sidebar{position:relative;width:var(--sidebar-width,228px);min-width:var(--sidebar-width,228px);flex-shrink:0}
.sidebar-inner{width:100%;min-width:0}
#project-sidebar-list .project-text{display:block;flex:1;min-width:0;overflow:hidden}
#project-sidebar-list .project-name,#project-sidebar-list .project-desc{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal}
#project-sidebar-list .project-name{font-size:12px;line-height:1.4}
#project-sidebar-list .project-desc{font-size:10px;line-height:1.4;min-height:1.4em}
.sidebar-resizer{position:absolute;top:0;right:0;bottom:0;width:7px;cursor:col-resize;touch-action:none;z-index:2;outline:0}
.sidebar-resizer:hover,.sidebar-resizer:focus-visible{background:#82b0f85c}
.sidebar-resizer:focus-visible{box-shadow:inset 0 0 0 1px var(--focus)}
.sidebar.closed .sidebar-resizer{display:none}
.sidebar-resizing,.sidebar-resizing *{cursor:col-resize!important;user-select:none!important}
.sidebar-resizing .sidebar{transition:none}
@media(max-width:700px){.sidebar{position:absolute;max-width:calc(100vw - 32px)}}

.project-row-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.categories-box{width:560px;max-height:calc(100dvh - 40px);overflow:auto}
.categories-box .categories-project{font-weight:600;color:#e3e7ed;margin-bottom:7px;overflow-wrap:anywhere}
.category-name-list{display:grid;gap:16px;margin-top:22px}
.category-item .field{margin:0}
.category-item .category-default{font-size:10px;line-height:1.5;color:#969faa;margin:6px 0 0}
.categories-box .modal-footer{gap:8px;border-top:1px solid #3b424d;padding-top:18px}

.project-table-summary{white-space:pre-line;overflow-wrap:anywhere;max-width:440px}

.category-icon{width:17px;height:17px;stroke-width:1.7;fill:none;flex-shrink:0;vertical-align:middle}
.category-icon-bug,.parent-type-bug{--ticket-type-color:#ef7972}
.category-icon-epic,.parent-type-epic{--ticket-type-color:#b179e8}
.category-icon-story,.parent-type-story{--ticket-type-color:#9acb7b}
.category-icon-tech_task,.parent-type-tech_task{--ticket-type-color:#82b0ef}
.category-icon-sub_task,.parent-type-sub_task{--ticket-type-color:#d6b474}
.category-icon{color:var(--ticket-type-color,#c9ced6)}
.category-name-control{display:flex;align-items:center;gap:10px}.category-name-control input{margin-top:0}
.ticket-editor-form{display:flex;flex-direction:column;flex:1;min-height:0}
.ticket-dialog-footer{display:flex;justify-content:flex-end;gap:9px;flex-shrink:0;border-top:1px solid #414650;padding:16px 28px;background:#25272c}
.ticket-identity{display:flex;align-items:center;gap:9px;min-width:0}
.ticket-identity .category-icon{width:21px;height:21px}
.ticket-editor-form .field{font-size:12px}
.ticket-title-field input{height:39px;font-size:13px;font-weight:500}
.ticket-editor-intro{grid-column:1/-1}
.ticket-editor-intro h2{font-size:26px;font-weight:650;line-height:1.35;letter-spacing:-.6px;margin:0;overflow-wrap:anywhere}
.ticket-editor-intro .form-error{margin:16px 0 0}
.ticket-editor-form .ticket-dialog-body{row-gap:24px}
.ticket-main>.ticket-title-field{margin-top:0}
.ticket-short-row{display:flex;align-items:flex-end;gap:14px;margin-top:17px}
.ticket-short-row .field{margin-top:0;flex:0 1 320px;min-width:0}
.ticket-details-field textarea{min-height:440px;line-height:1.8;resize:vertical}
.ticket-editor-form .ticket-side .field:first-child{margin-top:0}
.ticket-side .ticket-base-category{font-size:10px;line-height:1.5;color:#98a2b1;margin:6px 0 0}
.ticket-card-heading{display:flex;align-items:baseline;gap:10px;min-width:0}
.ticket-card-heading .card-title{flex:1;min-width:0;white-space:normal;overflow-wrap:anywhere}
.ticket-card-short{display:block;flex:0 1 auto;min-width:0;max-width:50%;margin-left:auto;font-size:11px;line-height:1.7;color:#9ecbff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}
#project-board-page .column{min-width:0}
#project-board-page .card{min-width:0;max-width:252px;white-space:normal}
.priority-low{color:#7eafe3}.priority-high{color:#f28b82}.priority-critical{color:#ef4944;font-size:17px;line-height:1;font-weight:900}
@media(max-width:700px){.ticket-dialog-footer{padding:14px 20px}.ticket-details-field textarea{min-height:320px}.ticket-editor-intro h2{font-size:22px}.ticket-short-row .field{flex:1}}

/* Consistent inset chevrons for every form dropdown, including compact column previews. */
.field select,#ticket-bulk-value{
  appearance:none;-webkit-appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='m2 2 4 4 4-4' fill='none' stroke='%23aeb5bf' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 12px center;background-size:12px 8px;
  padding-right:36px;
}
.column-preview-head .field select{padding-right:32px}

/* Ticket and parent identifiers share one compact row on each board card. */
.ticket-card-identifiers{display:inline-flex;align-items:center;gap:5px;min-width:0}
.ticket-card-watch{width:14px;height:14px;color:#82b0f8}
.ticket-card-identifiers .ticket-plate{display:inline-flex;align-items:center;flex-shrink:0;font-size:9px;line-height:1.4;padding:3px 5px;border:1px solid #515862;border-radius:3px;background:#2d3036;color:#bfc6d0;white-space:nowrap}
.ticket-card-identifiers .ticket-parent-plate{margin:0;color:var(--ticket-type-color,#bfc6d0);border-color:color-mix(in srgb,var(--ticket-type-color,#bfc6d0) 45%,#34363b);background:color-mix(in srgb,var(--ticket-type-color,#bfc6d0) 14%,#27292d)}
.ticket-parent-link{width:13px;height:13px;flex-shrink:0;color:#a7afbb;stroke-width:1.7}
.card-bottom{gap:8px}
.card-people{flex-shrink:0}

/* Column moves: preserve card geometry; highlight only a different destination. */
.card[draggable="true"]{cursor:grab}
.card.card-dragging{opacity:.45;cursor:grabbing}
#project-board-page .column.column-drop-target{background:#202a35;border-color:#82b0ef;box-shadow:inset 0 0 0 1px #82b0ef}
#project-board-page.ticket-move-pending .lane{opacity:.75}
#project-board-page.ticket-move-pending{cursor:progress}
@media(prefers-reduced-motion:reduce){.card{transition:none}}

.board-move-error{margin:0 28px 16px;flex-shrink:0}

/* Insertion indicator stays out of layout to prevent cards jumping while dragging. */
#project-board-page .column{position:relative}
.ticket-drop-line{position:absolute;left:7px;right:7px;height:3px;border-radius:3px;background:#9bc7ff;box-shadow:0 0 5px #82b0ef88;pointer-events:none;z-index:1}

/* Separate sibling buttons keep quick editing and the full card keyboard-accessible. */
.ticket-card-header{display:flex;align-items:center;gap:8px;margin-bottom:9px;min-height:20px}
.ticket-card-header .card-type{margin-bottom:0;min-width:0;flex:1;overflow-wrap:anywhere}
.ticket-card-priority{display:grid;place-items:center;width:22px;height:20px;flex-shrink:0;margin-left:auto}
.ticket-card-content{display:block;width:100%;padding:0;border:0;border-radius:3px;background:none;color:inherit;text-align:left;white-space:normal;font:inherit;cursor:inherit}

/* Existing tickets start as readable content; each value activates its own editor. */
.ticket-read-value{display:flex;align-items:center;gap:8px;width:100%;min-height:39px;margin-top:8px;padding:8px 10px;border:1px solid transparent;border-radius:5px;background:transparent;color:#e2e6ec;font:inherit;font-size:13px;line-height:1.7;text-align:left;white-space:pre-wrap;overflow-wrap:anywhere;cursor:text}
.ticket-read-value:not(:disabled):hover,.ticket-read-value:focus-visible{background:#ffffff07;border-color:#555d69}
.ticket-empty-value{color:#929dab;font-weight:400}
.ticket-side .ticket-read-value{cursor:pointer}
.ticket-inline-field>label{display:block}
.ticket-main .ticket-title-field .ticket-read-value{font-size:24px;font-weight:650;line-height:1.4;letter-spacing:-.5px;margin-top:0;min-height:44px}
.ticket-existing .ticket-title-field:not(.is-editing)>label{display:none}
.ticket-details-field .ticket-read-value{display:block;min-height:160px;font-weight:400;line-height:1.9}
.ticket-existing .ticket-editor-intro{display:contents}
.ticket-existing .ticket-editor-intro h2{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.ticket-existing .ticket-editor-intro .form-error{grid-column:1/-1;margin:0}
@media(max-width:700px){.ticket-main .ticket-title-field .ticket-read-value{font-size:21px}}

.ticket-header-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}

/* Project-scoped membership controls and a read-only team overview. */
.board-toolbar-chip{height:24px;font-size:11px;line-height:14px;padding:4px 8px;white-space:nowrap;flex-shrink:0}
.project-responsibility-chip{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--blue);border-radius:5px;background:#2a2c31;color:var(--text);cursor:default}
.project-responsibility-chip svg{color:var(--blue)}
.board-toolbar-chip svg{width:14px;height:14px}
.project-settings-actions{display:flex;gap:8px;margin:16px 0}
.team-box{width:960px;max-width:calc(100vw - 40px);max-height:calc(100dvh - 40px);overflow:auto}
.team-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:20px}
.team-group{border:1px solid #414650;border-radius:7px;background:#202226;padding:14px;min-width:0}
.team-group h3{font-size:13px;margin:0 0 16px}
.team-person{border-top:1px solid #383d45;padding:12px 0}
.team-identity{display:flex;align-items:center;gap:8px;min-width:0}
.team-name{font-size:12px;overflow-wrap:anywhere}
.team-person-actions,.team-add{display:flex;gap:7px;align-items:center;margin-top:9px}
.team-person-actions .field,.team-add .field{margin:0;flex:1;min-width:0}
.team-person-actions select,.team-add select{margin-top:0;font-size:11px;height:33px}
.team-person .field-help{font-size:10px;margin:5px 0}
.ticket-readonly .ticket-read-value:disabled{opacity:1;cursor:default}
.ticket-readonly .ticket-read-value:hover{border-color:transparent;background:transparent}
@media(max-width:700px){.team-groups{grid-template-columns:1fr}.project-board-page .toolbar{flex-wrap:wrap}.team-box{padding:22px}}

/* Project lifecycle: local sidebar grouping/filtering, independent of access rights. */
.sidebar-inner{height:100%;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:#454a54 transparent}
.project-sidebar-heading{display:flex;align-items:center;gap:4px;position:relative;padding:0 0 12px}
.project-sidebar-heading .section-label{padding:0;min-width:0}
.project-filter-toggle{width:24px;height:24px;flex-shrink:0}
.project-filter-toggle svg{width:14px;height:14px}
.project-filter-toggle.is-filtered{color:#9cc9ff;background:#344255}
.project-status-filter{position:absolute;top:30px;left:0;width:min(205px,100%);z-index:35;padding:12px;background:#292c31;border:1px solid #494d55;border-radius:6px;box-shadow:0 8px 24px #0005}
#project-status-filter-title{display:block;font-size:11px;font-weight:600;margin-bottom:8px;color:#c6cbd3}
.project-status-filter-option{display:flex;align-items:center;gap:8px;padding:7px 0;font-size:12px;cursor:pointer}
.project-status-filter-option input{margin:0;accent-color:var(--red)}
.project-status-group{margin-bottom:12px}
.project-status-heading{display:flex;align-items:center;gap:7px;width:100%;padding:8px 6px;text-align:left;border-radius:4px;color:#aeb5bf;font-size:11px;font-weight:600}
.project-status-heading:hover{background:#ffffff08;color:#e1e4e9}
.project-status-chevron{font-size:18px;line-height:12px;transition:transform .12s;transform:rotate(90deg)}
.project-status-heading[aria-expanded=false] .project-status-chevron{transform:rotate(0deg)}
.project-status-name{flex:1}
.project-status-count{font-size:10px;color:#858e9c;font-weight:400}
.project-group-empty{margin:6px 0 10px;padding-left:25px;font-size:10px;color:#77818e}
.project-status-badge{display:inline-flex;align-items:center;gap:6px;font-size:11px;white-space:nowrap;color:#b8c0cc}
.project-status-badge:before{content:'';width:6px;height:6px;flex-shrink:0;border-radius:50%;background:#8e98a8}
.project-status-active:before{background:#81ba9f}.project-status-paused:before{background:#d6b474}

/* Administration stays below the scrollable project list, for system admins only. */
.sidebar{display:flex;flex-direction:column}
.sidebar-inner{flex:1;min-height:0;height:auto}
.sidebar-admin-link{display:flex;align-items:center;gap:11px;flex-shrink:0;width:100%;margin-top:12px;padding:10px;border-radius:5px;text-align:left;font-size:12px;font-weight:400;color:#adb4bf;white-space:nowrap}
.sidebar-admin-link svg{width:18px;height:18px}
.sidebar-admin-link:hover{background:#ffffff08;color:#e1e4e9}
.sidebar-admin-link span{min-width:0;overflow:hidden;text-overflow:ellipsis}

/* Align the sidebar administration entry with the main footer. */
.workspace{--workspace-footer-height:34px}
.main>.footer{height:var(--workspace-footer-height);min-height:var(--workspace-footer-height);align-items:center;padding-top:0;padding-bottom:0}
.sidebar{padding-bottom:0}
.sidebar-admin-link{height:var(--workspace-footer-height);padding:0 10px;border-top:1px solid transparent;border-radius:0}

/* Compact ticket properties and independent status/category actions. */
.ticket-editor-form .ticket-dialog-body{grid-template-columns:minmax(0,1fr) minmax(350px,420px);column-gap:32px}
.ticket-side-actions{display:flex;align-items:center;gap:8px;margin-bottom:16px;min-width:0}
.ticket-side-actions .ticket-action-field{margin:0;min-width:0;flex:1}
.ticket-action-field>label{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.ticket-side-actions .ticket-read-value,.ticket-side-actions select{height:34px;min-height:34px;margin:0;border:1px solid #484d56;background-color:#2e3137;padding:6px 26px 6px 10px;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.5;cursor:pointer}
.ticket-side-actions .ticket-read-value{position:relative}
.ticket-side-actions .ticket-read-value:after{content:'';position:absolute;right:11px;top:13px;width:5px;height:5px;border:solid #aeb6c2;border-width:0 1px 1px 0;transform:rotate(45deg)}
.ticket-side-actions .ticket-read-value .category-icon{width:15px;height:15px}
.ticket-side-actions .ticket-watch{width:34px;height:34px;padding:0;flex-shrink:0;color:#aeb6c2}
.ticket-side-actions .ticket-watch[aria-pressed="true"]{color:#82b0f8;border-color:#536f97;background:#273446}
.ticket-side-actions .ticket-watch[aria-pressed="true"]:hover{background:#303f55}
.ticket-watch svg{width:16px;height:16px}
.ticket-properties{border:1px solid #454a53;border-radius:8px;padding:18px;background:#292b30}
.ticket-properties .ticket-property-row{display:grid;grid-template-columns:100px minmax(0,1fr);align-items:center;column-gap:10px;margin:0 0 7px}
.ticket-properties .ticket-property-row:last-child{margin-bottom:0}
.ticket-properties .ticket-property-row>label{font-size:12px;font-weight:500;color:#b7bec8;overflow-wrap:anywhere}
.ticket-property-value{min-width:0}
.ticket-properties .ticket-read-value,.ticket-properties input,.ticket-properties select{margin-top:0;width:100%;min-width:0;min-height:39px;font-size:12px}
.ticket-properties select{text-overflow:ellipsis}
.ticket-properties .ticket-read-value{cursor:text;font-weight:400}
.ticket-properties [data-ticket-field=priority] .ticket-read-value,.ticket-properties [data-ticket-field=assignee_user_id] .ticket-read-value,.ticket-properties [data-ticket-field=parent_id] .ticket-read-value{cursor:pointer}
.ticket-overlay-bottom{position:relative;flex-shrink:0;padding:14px var(--ticket-content-inset) 8px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:6px 16px;background:#25272c}
@media(max-width:700px){.ticket-overlay-bottom{grid-template-columns:minmax(0,1fr)}}
.ticket-overlay-bottom::before{content:"";position:absolute;inset:0 var(--ticket-content-inset) auto;height:1px;background:#414650}
.ticket-overlay-bottom .ticket-dialog-footer{padding:0;border:0;background:transparent}
.ticket-created-info{margin:0;color:#959eab;font-size:10px;line-height:1.5;text-align:right;overflow-wrap:anywhere}
@media(max-width:1000px){.ticket-editor-form .ticket-dialog-body{grid-template-columns:minmax(0,1fr) minmax(320px,360px);column-gap:24px}.ticket-properties{padding:14px}.ticket-properties .ticket-property-row{grid-template-columns:90px minmax(0,1fr)}}
@media(max-width:700px){.ticket-properties .ticket-property-row{grid-template-columns:100px minmax(0,1fr)}.ticket-side-actions{flex-wrap:wrap}}

/* Align title/actions and both labeled detail panels in every editing mode. */
.ticket-main>.ticket-title-field{margin:0}
.ticket-title-field>label{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.ticket-main .ticket-title-field .ticket-read-value,.ticket-title-field input{height:34px;min-height:34px;max-height:34px;margin:0;padding:5px 10px;font-size:18px;line-height:22px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ticket-main .ticket-title-field .ticket-read-value{padding-inline-start:0}
.ticket-main>.ticket-details-field{margin-top:20px}
.ticket-details-field>label,.ticket-parameters-heading{display:block;height:16px;font-size:12px;line-height:16px;font-weight:500;color:#c2c7cf}
.ticket-details-field>label{margin:0 0 8px}
.ticket-side-actions{margin-bottom:0}
.ticket-parameters-heading{margin:20px 0 8px}
.ticket-description-box{--ticket-details-height:440px;border:1px solid #454a53;border-radius:8px;background:#292b30}
.ticket-description-box .ticket-read-value,.ticket-description-box textarea{display:block;width:100%;height:var(--ticket-details-height);min-height:0;max-height:var(--ticket-details-height);margin:0;border:0;border-radius:7px;padding:14px 18px;background:transparent;font-size:13px;line-height:1.9;font-weight:400;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:#555d69 transparent;text-align:left}
.ticket-description-box .ticket-read-value{display:flex;align-items:flex-start;justify-content:flex-start}
.ticket-description-box textarea{resize:none}
@media(max-width:700px){.ticket-description-box{--ticket-details-height:320px}}

/* Activity preparation and ticket actions share the persistent footer. */
.ticket-main .ticket-activity{margin-top:24px}
.ticket-activity h3{margin:0 0 8px;font-size:12px;line-height:16px;font-weight:500;color:#c2c7cf}
.ticket-comment-placeholder{display:block;width:100%;min-height:92px;padding:14px 18px;border:1px solid #454a53;border-radius:8px;background:#292b30;color:#aeb6c2;font:inherit;font-size:12px;line-height:1.7;resize:none;opacity:1;cursor:default}
.ticket-comment-placeholder::placeholder{color:#959eab;opacity:1}
.ticket-comment-hint{font-size:10px!important;line-height:1.5!important;margin:6px 0 0!important;color:#8f99a8!important}
.ticket-overlay-bottom .ticket-dialog-footer{justify-content:space-between;align-items:flex-start;flex-wrap:wrap;position:relative}
.ticket-save-actions{display:flex;align-items:center;gap:9px;margin-left:auto}
#ticket-delete-section{margin:0;padding:0;border:0;position:relative;flex-shrink:0}
#ticket-delete-confirmation{position:absolute;left:0;bottom:calc(100% + 12px);width:min(350px,calc(100vw - 60px));padding:16px;border:1px solid #55505a;border-radius:7px;background:#292b30;box-shadow:0 10px 35px #0006;z-index:2}
#ticket-delete-confirmation .field{margin-top:10px}
#ticket-delete-confirmation .field-help{margin:0}
#confirm-ticket-delete{margin-top:12px}
@media(max-width:700px){.ticket-overlay-bottom .ticket-dialog-footer{flex-wrap:wrap;gap:12px}.ticket-save-actions{flex-wrap:wrap;justify-content:flex-end}}

/* Inactive parameter selects keep their read appearance and native first-click picker. */
.ticket-existing .ticket-properties .ticket-inline-field:not(.is-editing) select{border-color:transparent;background-color:transparent;background-image:none;color:#e2e6ec;font-weight:400;cursor:pointer}
.ticket-existing .ticket-properties .ticket-inline-field:not(.is-editing) select:not(:disabled):hover{border-color:#555d69;background-color:#ffffff07}

/* Read-only child ticket overview below the parameter panel. */
.ticket-children-box{max-height:168px;border:1px solid #454a53;border-radius:8px;background:#292b30;overflow:auto;scrollbar-color:#555d69 transparent}
.ticket-children-table{width:100%;min-width:400px;border-collapse:collapse;table-layout:fixed;font-size:11px;line-height:1.5}
.ticket-children-table .child-key-col{width:18%}.ticket-children-table .child-name-col{width:28%}.ticket-children-table .child-priority-col{width:12%}.ticket-children-table .child-assignee-col{width:21%}.ticket-children-table .child-status-col{width:21%}
.ticket-children-table th,.ticket-children-table td{padding:10px 6px;text-align:left;vertical-align:top;overflow-wrap:anywhere}
.ticket-children-table th{position:sticky;top:0;background:#292b30;font-size:10px;font-weight:500;color:#aeb6c2;border-bottom:1px solid #454a53}
.ticket-children-table tbody tr+tr td{border-top:1px solid #3b4048}
.ticket-children-table .ticket-plate{font-size:9px;white-space:nowrap}
.ticket-children-table .priority{display:inline-block;line-height:1.5}
.ticket-child-name{font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ticket-child-assignee{color:#c4cbd4}
.ticket-child-status{display:inline-block;padding:2px 5px;border:1px solid #555d69;border-radius:4px;background:#333840;color:#d2d8e1;font-size:10px}
.ticket-child-status-working{border-color:#4c6b94;color:#b6d5ff;background:#28374b}.ticket-child-status-done{border-color:#4d705d;color:#b8e3ca;background:#293d32}
.ticket-children-empty,.ticket-children-box>.form-error{margin:0;padding:14px;font-size:11px;color:#aeb6c2}
.ticket-children-box>.form-error{color:#efaaa7}

.ticket-children-table .ticket-child-link{color:#b6d5ff;cursor:pointer;text-align:left}
.ticket-children-table .ticket-child-link:hover{border-color:#7fa5d9;background:#344359}

/* Parameter decorations sit beside native selects without intercepting clicks. */
.ticket-properties .ticket-property-value{position:relative}
.ticket-value-decoration{position:absolute;z-index:1;left:10px;top:50%;transform:translateY(-50%);width:24px;height:24px;display:flex;align-items:center;justify-content:center;pointer-events:none}
.ticket-value-decoration .category-icon,.ticket-properties .ticket-read-value>.category-icon{width:18px;height:18px}
.ticket-properties .ticket-property-value.has-ticket-decoration select{padding-left:42px}
.ticket-properties .ticket-read-value>.avatar,.ticket-properties .ticket-read-value>.priority{flex-shrink:0}
.ticket-side-actions #ticket-column.ticket-status-open,.ticket-side-actions #ticket-column-view.ticket-status-open{background-color:#2e3137;border-color:#484d56;color:#e2e6ec}
.ticket-side-actions #ticket-column.ticket-status-working,.ticket-side-actions #ticket-column-view.ticket-status-working{background-color:#283e59;border-color:#4c75a6;color:#c0dcff}
.ticket-side-actions #ticket-column.ticket-status-done,.ticket-side-actions #ticket-column-view.ticket-status-done{background-color:#2c4538;border-color:#517c61;color:#c1e9cd}
.ticket-side-actions #ticket-column option{background-color:#25272c;color:#e2e6ec}

.ticket-audit-info{display:grid;grid-column:2;justify-self:end;gap:2px}
@media(max-width:700px){.ticket-audit-info{grid-column:1}}

/* Keep all footer actions on one baseline and remove inherited danger-section spacing. */
#prepare-ticket-delete{margin:0}
.ticket-overlay-bottom .ticket-dialog-footer .btn{min-height:32px}
.ticket-overlay-bottom .ticket-created-info{line-height:1.4}
/* The transparent native date control receives the calendar click directly. */
.ticket-properties .ticket-property-value.has-date-picker>input,.ticket-properties .ticket-property-value.has-date-picker>.ticket-read-value{padding-right:42px}
.ticket-date-trigger{position:absolute;right:2px;top:50%;transform:translateY(-50%);width:34px;height:34px;display:flex;align-items:center;justify-content:center;border-radius:4px;color:#b7bec8}
.ticket-date-trigger:hover{background:#ffffff0b;color:#e2e6ec}
.ticket-date-trigger:focus-within{outline:2px solid var(--focus);outline-offset:-2px}
.ticket-date-trigger>svg{width:16px;height:16px;pointer-events:none}
.ticket-properties .ticket-date-trigger>.ticket-date-picker{position:absolute;inset:0;width:100%;height:100%;min-height:0;margin:0;padding:0;opacity:0;cursor:pointer;color-scheme:dark}
.ticket-date-picker::-webkit-calendar-picker-indicator{position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;opacity:0;cursor:pointer}
.ticket-date-picker::-webkit-datetime-edit{display:none}

/* Ticket comments are saved separately from the ticket field draft. */
.comment-input-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.ticket-comment-input{display:block;width:100%;min-height:39px;padding:8px 12px;border:1px solid #454a53;border-radius:7px;background:#232529;color:#e2e6ec;font:inherit;font-size:12px;line-height:1.7;resize:none;overflow-y:hidden}
.ticket-comment-input::placeholder{color:#959eab}
.ticket-comment-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:8px}
.comment-compose-actions{justify-content:flex-end;flex-wrap:nowrap;margin-left:auto}
.ticket-comments-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0;flex-wrap:wrap;color:#959eab;font-size:10px}
.comment-action{padding:4px 8px;font-size:11px}
.ticket-comment{display:flex;align-items:flex-start;gap:10px;padding:16px 0;border-top:1px solid #3b4048}
.ticket-comment-content{min-width:0;flex:1}
.ticket-comment-heading{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;font-size:12px}
.ticket-comment-heading strong{font-weight:600}.ticket-comment-heading time{color:#959eab;font-size:10px}
.ticket-comment-body{margin:8px 0 0!important;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px!important;line-height:1.7!important;color:#d2d8e1!important}
.ticket-comment-edited{margin:3px 0 8px!important;font-size:10px!important;color:#959eab!important}
.ticket-comment-delete{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:10px;padding:10px;border:1px solid #80504f;border-radius:5px;font-size:11px}
.ticket-comment .ticket-comment-input{margin-top:8px}

.ticket-comments-toolbar .ticket-comment-actions{margin-top:0}
.ticket-comments-toolbar .btn{min-height:31px}
.comment-icon-actions{gap:3px;margin-top:6px}
.ticket-comment-icon{width:26px;height:26px;color:#aeb6c2}
.ticket-comment-icon svg{width:16px;height:16px}
.ticket-comment-icon:disabled:hover{background:transparent;color:#aeb6c2}

/* Replies remain one flat list beneath their root comment. */
.ticket-comment-replies{position:relative;margin-left:12px;padding-left:21px;border-left:1px solid transparent}
.ticket-comment-replies::before{content:'';position:absolute;left:-1px;top:0;bottom:10px;border-left:1px solid #454a53;pointer-events:none}
.ticket-comment-replies>.ticket-comment{border-top:0;padding:12px 0}
.ticket-reply-editor{margin:10px 0 0 -10px;padding:10px 0 0 10px;border-left:1px solid #454a53;border-bottom-left-radius:8px}
.comment-reply-box{display:flex;align-items:flex-start;min-width:0;border:1px solid #454a53;border-radius:7px;background:#232529}
.comment-mention{border-radius:3px;padding:1px 4px;background:#315a893d;color:#9fc7fa;font-size:12px;overflow-wrap:anywhere}
.comment-reply-box>.comment-mention{flex-shrink:0;max-width:35%;margin:8px 0 0 10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.comment-reply-box>.ticket-comment-input{min-width:0;flex:1;margin:0;border:0;background:transparent}
.comment-reply-box:focus-within{outline:2px solid var(--focus);outline-offset:2px}
.comment-reply-box>.ticket-comment-input:focus-visible{outline:none}
.comment-thread-toggle.is-collapsed svg{transform:rotate(-90deg)}
.ticket-comment-deleted{color:#959eab!important;font-style:italic}
@media(max-width:700px){.ticket-comment-replies{margin-left:10px;padding-left:14px}.comment-reply-box>.comment-mention{max-width:40%}}

.project-settings-actions{flex-wrap:wrap}
.project-effort-control{position:relative;cursor:pointer;white-space:nowrap}
.project-effort-control>svg{width:12px;height:12px}
.project-effort-control>select{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.project-effort-control:focus-within{outline:2px solid var(--focus);outline-offset:2px}

.effort-reset-dialog{width:440px;max-width:calc(100vw - 40px);max-height:calc(100dvh - 40px);overflow:auto;border:1px solid #4a4e56;border-radius:9px;padding:24px;background:#25272c;color:var(--text);box-shadow:0 12px 40px #0006}
.effort-reset-dialog::backdrop{background:#0008}
.effort-reset-dialog p{margin:0;font-size:13px;line-height:1.7}
.info-dialog{width:580px}
.info-copy,.info-copy section{display:grid;gap:14px}
.info-copy{margin-top:12px;color:#a3aab4}
.info-copy h3{margin:0;font-size:13px;color:var(--text)}
.info-copy a,.auth-legal-link{color:var(--blue)}
.auth-legal-links{display:flex;flex-wrap:wrap;gap:6px 12px;margin-top:8px}
.auth-legal-link{padding:0;font-size:11px;text-decoration:underline}
.effort-reset-dialog .modal-footer{gap:8px;margin-top:20px}

/* Row configuration mirrors the board: horizontal strips stacked vertically. */
.rows-box{width:1140px;max-width:calc(100vw - 40px);max-height:calc(100dvh - 40px);padding:26px;overflow:auto}
.rows-box>p{max-width:1000px}
.rows-preview-scroll{margin:22px 0 12px;max-height:60dvh;overflow:auto;padding:2px}
#rows-list{display:flex;flex-direction:column;gap:12px}
.row-config-row{border:1px solid #363b44;border-top:3px solid #7fa5d9;border-radius:7px;background:#18191b;overflow:hidden}
.row-preview-head{display:grid;grid-template-columns:minmax(160px,1.4fr) minmax(125px,1fr) minmax(125px,1fr) minmax(160px,1.2fr) auto;align-items:end;gap:14px;padding:12px;background:#22252a;border-bottom:1px solid #343b45}
.row-preview-head .field{font-size:10px;color:#aab3c1;margin:0;min-width:0}
.row-preview-head .field input{margin-top:6px;font-size:12px;height:35px;min-width:0;padding:8px 9px}
.row-config-actions{display:flex;gap:6px;padding-bottom:2px}
.row-preview-body{display:flex;gap:12px;padding:14px 12px;overflow-x:auto}
.row-preview-cell{flex:1;min-width:150px}
.row-preview-column{display:block;color:#959eab;font-size:10px;margin-bottom:8px}
.row-add-preview{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:64px;border:1px dashed #535d6b;border-radius:7px;margin-top:12px;background:#ffffff03;color:#a7b0be;font-size:11px}
.row-add-preview:hover{background:#ffffff08;border-color:#909cad;color:#e2e7ef}
.rows-box .modal-footer{gap:8px;border-top:1px solid #3b424d;padding-top:18px;margin-top:12px}
.row-date-field{position:relative;display:block}
.row-preview-head .row-date-field>input{padding-right:36px}
.row-date-trigger{position:absolute;right:2px;bottom:1px;width:32px;height:33px;display:grid;place-items:center;visibility:hidden}
.row-date-field:focus-within .row-date-trigger{visibility:visible}
.row-date-trigger svg{width:16px;height:16px;pointer-events:none}
.row-preview-head .row-date-trigger>.ticket-date-picker{position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;opacity:0;cursor:pointer}
.configured-board-row{margin-top:22px}.configured-row-cell{min-height:105px}
@media(max-width:900px){.row-preview-head{grid-template-columns:repeat(2,minmax(130px,1fr))}.row-name-field{grid-column:1/-1}.row-config-actions{grid-column:1/-1;justify-content:flex-end}}
@media(max-width:500px){.rows-box{padding:18px}.row-preview-head{grid-template-columns:1fr}.row-name-field,.row-config-actions{grid-column:auto}.rows-box .modal-footer{flex-wrap:wrap}}
.board-fold-toggle{margin-left:auto;white-space:nowrap}
#project-board-page .board-actions{margin-left:0}
.board-row{position:relative;isolation:isolate;border-radius:7px;transition:background-color .12s}
.board-row::after{content:"";position:absolute;inset:-5px;border:2px solid transparent;border-radius:10px;pointer-events:none;z-index:2;transition:border-color .12s}
#project-board-page .board-row.board-row-drop-target{background:#82b0ef12}
#project-board-page .board-row.board-row-drop-target::after{border-color:#82b0ef}
.board-row-drop-target>.lane-header{background:#82b0ef16}
#rows-preview-scroll>.row-add-preview{margin:0 0 12px}

.ticket-card-identifiers .ticket-id{color:#bfc6d0;border-color:#515862;background:transparent}
.ticket-card-parent-row{display:block;min-width:0;margin-top:9px}
.ticket-card-parent-row .ticket-parent-plate,.ticket-properties .ticket-parent-plate{display:inline-flex;align-items:center;gap:5px;max-width:100%;min-width:0;padding:2px 5px;border:1px solid var(--ticket-type-color,#515862);border-radius:3px;background:color-mix(in srgb,var(--ticket-type-color,#bfc6d0) 9%,#27292d);color:#cbd1d9;font-size:9px;line-height:1.5;vertical-align:top;white-space:nowrap}
.ticket-properties .ticket-parent-plate{font-size:11px}
.ticket-properties .ticket-parent-plate-decoration{width:calc(100% - 20px);height:auto;justify-content:flex-start}
.ticket-existing .ticket-properties .ticket-inline-field:not(.is-editing) #ticket-parent.has-parent-plate{color:transparent}
.ticket-properties #ticket-parent option{background-color:#25272c;color:#e2e6ec}
.ticket-card-parent-id{flex-shrink:0}
.ticket-card-parent-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.card-people .ticket-card-priority{margin-left:0}
.row-heading-bar{display:flex;align-items:center;gap:6px;margin-bottom:12px;border-bottom:1px solid #34373d}
.row-heading-bar>.lane-header{flex:1;min-width:0;margin:0;border-bottom:0}
.row-actions{position:relative;flex:0 0 32px;z-index:3}
.board-row.row-menu-open{z-index:5}
.row-completed-chip{flex-shrink:0;border:1px solid #6eab83;border-radius:4px;padding:2px 6px;color:#a9d8b7;background:#355a3e25;font-size:9px;line-height:1.4}
.board-row-drop-target>.row-heading-bar{background:#82b0ef16}
.row-menu button:disabled{opacity:.45;cursor:default}
.row-assignment-box{width:560px;max-width:calc(100vw - 40px);max-height:calc(100dvh - 40px);overflow:auto}
.row-assignment-all{display:flex;align-items:center;gap:9px;margin:20px 0 10px;font-size:12px}
.row-assignment-list{max-height:50dvh;overflow:auto;border:1px solid #414751;border-radius:5px}
.row-assignment-item{display:grid;grid-template-columns:16px 72px minmax(0,1fr);align-items:center;gap:10px;padding:10px 12px;font-size:12px;cursor:pointer}
.row-assignment-item+.row-assignment-item{border-top:1px solid #343942}
.row-assignment-item:hover{background:#ffffff06}
.row-assignment-item.is-unavailable{opacity:.5;cursor:default}
.row-assignment-key{white-space:nowrap;color:#bac4d2;font-size:11px}
.row-assignment-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.row-assignment-item input,.row-assignment-all input{margin:0;width:14px;height:14px;accent-color:#a52c2c}
.row-assignment-box .modal-footer{gap:8px;padding-top:18px;border-top:1px solid #3b424d}
@media(max-width:600px){.row-heading-bar .lane-header{height:auto;min-height:40px;flex-wrap:wrap;padding-top:7px;padding-bottom:7px}.row-heading-bar .lane-tag{margin-left:auto}.row-assignment-item{grid-template-columns:16px 58px minmax(0,1fr);gap:7px;padding:10px 8px}}
.row-capacity{flex-shrink:0;border:1px solid transparent;border-radius:4px;padding:3px 6px;line-height:1.4}
.row-capacity.is-over-capacity{border-color:#d36b68;color:#f0b1ad;background:#a52c2c14}

/* Shared readable size for footer and row capacity information. */
.footer,.row-capacity{font-size:10px}
.footer-brand{display:inline-flex;align-items:center;gap:7px}

/* Persisted project colors, shared by sidebar and project header. */
.project-icon[data-project-color="red"],.avatar[data-project-color="red"]{background:#3a2c30;border-color:#624446;color:#f29491}
.project-icon[data-project-color="orange"],.avatar[data-project-color="orange"]{background:#3e3226;border-color:#6e5236;color:#efb46e}
.project-icon[data-project-color="violet"],.avatar[data-project-color="violet"]{background:#39313f;border-color:#51465b;color:#c1aed7}
.project-icon[data-project-color="green"],.avatar[data-project-color="green"]{background:#2b3c31;border-color:#48614f;color:#a4ce96}
.project-icon[data-project-color="blue"],.avatar[data-project-color="blue"]{background:#29384a;border-color:#486383;color:#a8c9f5}
.project-icon[data-project-color="yellow"],.avatar[data-project-color="yellow"]{background:#3c3825;border-color:#6a6136;color:#dfcf7e}

.project-editor-footer{gap:8px;align-items:center;flex-wrap:wrap}
.project-delete-trigger{margin-right:auto}
.project-delete-dialog .field{margin:18px 0 0}
.project-delete-dialog .form-error{margin-top:12px}

.trash-table-wrap{overflow:auto;max-height:calc(100dvh - 290px)}
.trash-table{min-width:1000px}
.trash-project-name{font-weight:600;min-width:150px}
.trash-description{max-width:250px;overflow-wrap:anywhere}
.trash-deletion-info{min-width:210px;font-size:11px;line-height:1.6}
.trash-countdown{white-space:nowrap}
.trash-actions{white-space:nowrap;text-align:right}
.trash-actions .btn+.btn{margin-left:8px}
.trash-purge-field{margin-top:18px}

/* Center status markers within project rows; trash always uses a red marker. */
#admin-project-list td,#trash-project-list td{vertical-align:middle}
.project-status-badge{vertical-align:middle;line-height:1.4}
.trash-countdown::before{background:var(--red)}

/* Aligned two-row project identity and status fields. */
.project-assignment-row .field{margin:0;min-width:0}
.project-key-field{padding-top:0}
.project-key-field>label{font:inherit;color:inherit;line-height:normal;margin:0}
.project-key-field input{margin-top:8px}
.project-image-field>span:first-child{display:block}
.project-image-preview{width:39px;height:39px;min-width:39px;margin-top:8px;font-size:12px;letter-spacing:0}
.project-image-preview[data-project-color="pending"]{background:#1c1e22;border-color:#4a4f59;color:#edf0f5}

.image-picker-trigger{cursor:pointer;padding:0}
.image-picker-trigger:hover{filter:brightness(1.15)}
.image-picker-dialog h2{font-size:15px;margin:0;color:var(--text)}
.image-picker-colors{display:grid;grid-template-columns:repeat(6,40px);gap:10px;overflow-x:auto;padding:6px 4px;margin:20px -4px 0}
.image-color-choice{width:40px;height:40px;min-width:40px;padding:0;cursor:pointer;font-size:12px}
.image-color-choice[aria-pressed="true"]{outline:2px solid var(--focus);outline-offset:2px}
.profile-image-picker .image-color-choice{border-radius:50%}

/* Fixed-color project motif assets scale from their native 40px canvas. */
.project-icon.has-project-motif{padding:0;border:0;background:transparent;overflow:hidden}
.has-project-motif img{display:block;width:100%;height:100%;object-fit:contain;border-radius:inherit}

/* Six 40px tiles + five 10px gaps + equal 24px padding and 1px borders. */
.image-picker-dialog{width:340px}

/* Profile photos keep square pixels; the rounded frame belongs to the UI. */
.avatar.has-avatar-image{padding:0;border:0;overflow:hidden;border-radius:6px;flex-shrink:0}
.avatar.has-avatar-image img{display:block;width:100%;height:100%;object-fit:cover}
.profile-upload{margin-top:22px}
.avatar-editor-dialog{width:360px;max-width:calc(100vw - 32px)}
#avatar-canvas{display:block;width:256px;max-width:100%;height:auto;aspect-ratio:1;margin:20px auto 0;background:#191b1e;border:1px solid var(--border);border-radius:12px;touch-action:none;cursor:grab}
#avatar-canvas:active{cursor:grabbing}
.avatar-zoom{display:flex;align-items:center;gap:16px}
.avatar-zoom input{min-width:0;flex:1;accent-color:#80b7fa}



/* Inline profile editing follows the ticket detail fields. */
.profile-name{min-width:0;flex:1}
.profile-read,.profile-input{width:100%;min-height:34px;box-sizing:border-box;margin:0;padding:6px 9px;border:1px solid transparent;border-radius:5px;color:var(--text);font:inherit;font-size:12px;line-height:20px;text-align:left}
.profile-read{display:block;cursor:text;overflow-wrap:anywhere;background:transparent}
.profile-read:hover,.profile-read:focus-visible{background:#ffffff07;border-color:#555d69}
.profile-input{display:block;border-color:#4a4f59;background:#1c1e22}
.profile-name-read,.profile-name-input{font-size:18.75px;line-height:24px;font-weight:650}
.profile-name small{padding-left:10px}
.profile-fields>div{align-items:center}
.profile-fields dd{min-width:0}
.profile-fields #own-email{padding:6px 10px;min-height:34px;line-height:20px}
.profile-read.is-empty{color:#9099a6}
.profile-messages{margin-top:28px;padding-top:22px;border-top:1px solid var(--line);max-width:500px}
.notification-bell{position:relative}
.topbar-control{flex-shrink:0}
.topbar-control svg{width:20px;height:20px}
.topbar-tools,.topbar-info{position:relative;flex-shrink:0}
.topbar-info .popover{position:absolute;top:calc(100% + 6px);right:0;width:min(220px,calc(100vw - 100px))}
#info-menu button:disabled{opacity:1;color:var(--muted);background:none}
.topbar-tools .popover{position:absolute;top:calc(100% + 6px);left:0;right:auto;width:min(220px,calc(100vw - 58px))}
#tools-menu button{display:flex;align-items:center;gap:8px;padding:6px 8px;font-size:13px}
#tools-menu button small{margin-inline-start:auto}
.tool-icon{--tool-icon-surface:#202124;display:grid;place-items:center;width:34px;height:34px;flex-shrink:0;border:1px solid var(--line);border-radius:7px;background:var(--tool-icon-surface);color:var(--text)}
.tool-icon svg{width:22px;height:22px}
#file-archive-view .project-head{padding-bottom:12px}
.file-archive-projects{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr));gap:10px;max-width:1000px;margin:0;padding:0;list-style:none}
.file-archive-projects .project-link{min-height:52px;margin:0;border:1px solid var(--line);color:var(--text);text-decoration:none}
.file-archive-projects .project-name{overflow-wrap:anywhere}
#notification-dot{position:absolute;top:4px;right:5px;width:8px;height:8px;border-radius:50%;background:var(--red);border:1px solid #202124}
.notification-menu{width:min(360px,calc(100vw - 32px))}
.notification-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-inline-end:5px}
.notification-actions{display:flex;gap:3px}
.notification-menu .notification-actions .icon{width:26px;height:26px;padding:0}
.notification-actions svg{width:16px;height:16px}
.notification-menu ul{list-style:none;padding:0;margin:0;max-height:min(420px,60dvh);overflow:auto}
.notification-menu #notification-status:empty{display:none}
.notification-menu li+li{border-top:1px solid var(--line)}
.notification-menu li button{display:grid;gap:4px;overflow-wrap:anywhere;line-height:1.45}
.notification-menu .notification-unread{background:#ffffff09;border-inline-start:2px solid var(--red)}
.notification-menu .notification-unread:hover{background:#363a42}
.notification-menu time{font-size:11px;color:#a0a7b1}
.notification-bell:disabled{opacity:1;background:none}
.profile-messages h2{font-size:15px;font-weight:600;margin:0 0 15px}
.profile-message-row{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:14px 0;font-size:12px}
.profile-switch{display:inline-flex;align-items:center;flex-shrink:0;width:36px;height:20px;padding:2px;border:1px solid #60656e;border-radius:12px;background:#484d55;transition:background .15s,border-color .15s}
.profile-switch span{height:14px;width:14px;border-radius:50%;background:#fff;transition:transform .15s}
.profile-switch[aria-checked="true"]{background:#38875a;border-color:#56ad7a}
.profile-switch[aria-checked="true"] span{transform:translateX(16px)}
.profile-intro #own-avatar{width:57.5px;height:57.5px;font-size:18.75px}
.profile-footer{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-top:22px}
.profile-actions{display:flex;gap:9px;margin:0}
.profile-footer .btn{min-height:32px}
.profile-footer .profile-back{margin:0;padding:7px 11px;color:var(--text)}

#profile-view .project-head{padding-bottom:12px}


.manage-footer{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.manage-footer .btn{white-space:nowrap}
.manage-footer #cancel-manage{margin-left:auto}


.manage-footer #cancel-manage,.manage-footer #save-manage{width:100px;min-width:100px;flex:0 0 100px}
.user-activity{white-space:nowrap}


/* Child ticket values share a bottom edge regardless of font or badge size. */
.ticket-side-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px 0 8px;min-height:26px}
.ticket-side-section-heading .ticket-parameters-heading{margin:0;color:#c2c7cf;font-size:12px;font-weight:500}
.ticket-side-add{width:26px;height:26px;flex-shrink:0;border:1px solid #484d56;color:#c9ced6}
.ticket-side-add svg{width:14px;height:14px}
.ticket-attachments .documents-list{margin-top:0}
.ticket-attachments .documents-list li{min-height:42px;padding-block:7px}
.ticket-attachment-row-actions{display:flex;flex-shrink:0;gap:4px}
.ticket-attachments .ticket-attachment-action{width:28px;height:28px;flex-shrink:0;color:#b3b7bf}
.ticket-attachments .ticket-attachment-action:hover{color:#fff}
.ticket-attachment-action svg{width:16px;height:16px}
.ticket-attachment-picker,#ticket-attachment-unlink-dialog{width:560px}
#ticket-attachment-unlink-dialog .modal-footer{flex-wrap:wrap}
#ticket-attachment-unlink-name{overflow-wrap:anywhere}
.ticket-attachment-picker #ticket-attachment-path{margin-bottom:12px}
.ticket-attachment-picker #ticket-attachment-files{max-height:min(42dvh,320px);overflow:auto;margin-top:8px}
.ticket-attachment-picker #ticket-attachment-status:empty{display:none}
.ticket-attachment-picker #ticket-attachment-files li{gap:8px;padding:0}
.ticket-attachment-entry{display:flex;align-items:center;gap:9px;min-width:0;width:100%;padding:9px 12px;text-align:left;font-size:12px;overflow-wrap:anywhere}
.ticket-attachment-entry:hover,.ticket-attachment-entry:has(input:checked){background:#ffffff0b}
.ticket-attachment-entry input{flex-shrink:0;accent-color:#82b0f8}
.ticket-attachment-picker #ticket-attachment-upload-target,.ticket-attachment-picker #ticket-attachment-picker-error{margin-top:8px}
.ticket-attachment-picker #ticket-attachment-file-input{max-width:100%;margin-top:8px}
.ticket-attachment-picker .modal-footer{flex-wrap:wrap}
.ticket-children-table td{vertical-align:bottom;line-height:18px}
.ticket-child-value{display:flex;align-items:flex-end;min-height:22px;min-width:0;max-width:100%}
.ticket-child-text{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ticket-children-table .priority{display:inline-flex;align-items:center;justify-content:center;height:18px;line-height:18px;font-size:15px}
.ticket-children-table .priority-critical{font-size:16px}
.ticket-child-status{display:block;box-sizing:border-box;max-width:100%;height:22px;padding:1px 5px;line-height:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}


/* Shared, versioned rich-text editor for ticket details, comments and replies. */
.rich-source{display:none!important}
.rich-editor{position:relative;min-width:0;border:1px solid #484e58;border-radius:7px;background:#272a2f;overflow:visible}
.rich-editor:focus-within{border-color:#819fc7}
.rich-toolbar{display:none;align-items:center;gap:2px;flex-wrap:wrap;padding:5px 6px;border-bottom:1px solid #444a54;background:#22252a;border-radius:6px 6px 0 0}
.rich-editor:focus-within>.rich-toolbar{display:flex}
.rich-tool{display:grid;place-items:center;width:27px;height:26px;padding:0;border-radius:4px;color:#bdc4cf;font-size:13px;line-height:1}
.rich-tool:hover,.rich-tool:focus-visible{background:#3a4557;color:#e5efff}
.rich-bold{font-weight:800}.rich-italic{font-style:italic}.rich-underline{text-decoration:underline}
.rich-editor-surface{min-height:39px;padding:10px 12px;outline:none;font-size:12px;line-height:1.7;overflow-wrap:anywhere;white-space:pre-wrap}
.rich-editor-surface:empty:before{content:attr(data-placeholder);color:#9aa4b3;pointer-events:none}
.rich-editor-surface[contenteditable="false"]{cursor:default}
.rich-editor-error{margin:5px 10px;color:#ffa8a0;font-size:11px}
.rich-content{white-space:pre-wrap;overflow-wrap:anywhere;font-weight:400}
.rich-content p,.rich-content div{margin:0 0 .45em;min-height:1em}
.rich-content p:last-child,.rich-content div:last-child{margin-bottom:0}
.rich-content ul,.rich-content ol{margin:.3em 0;padding-left:24px}
.rich-content li{padding-left:2px;margin:2px 0}
.rich-content a{color:#8ab9ff;text-decoration:underline;text-underline-offset:2px}
.rich-content strong,.rich-content b{font-weight:750}
.rich-content ul[data-task-list="true"]{list-style:none;padding-left:0}
.rich-content ul[data-task-list="true"]>li{position:relative;padding-left:24px;min-height:20px}
.rich-content .rich-checkbox{position:absolute;left:1px;top:3px;width:14px;height:14px;margin:0;accent-color:#82b0f8;opacity:1}
.rich-color-palette{position:absolute;top:39px;left:8px;display:grid;grid-template-columns:repeat(8,24px);gap:6px;padding:10px;border:1px solid #555d69;border-radius:6px;background:#2a2d33;box-shadow:0 8px 24px #0007;z-index:10}
.rich-color{width:24px;height:24px;border:1px solid #737a86;border-radius:4px}
.rich-color:hover{outline:2px solid #b9d5ff;outline-offset:1px}
.ticket-description-box>.rich-editor{height:var(--ticket-details-height);max-height:var(--ticket-details-height);display:flex;flex-direction:column;border:0;background:transparent}
.ticket-description-box .rich-editor-surface{flex:1;min-height:0;overflow-y:auto;padding:14px 18px;font-size:13px;line-height:1.9}
.ticket-description-box>.rich-editor>.rich-toolbar{flex-shrink:0}
.ticket-description-box #ticket-details-view.rich-content{display:block;cursor:text}
.ticket-comment-body.rich-content{line-height:1.7}
.comment-reply-box>.rich-editor{flex:1;min-width:0}
.rich-link-dialog{width:420px;max-width:calc(100vw - 32px)}
.rich-link-dialog h2{font-size:16px;margin:0}


.rich-tool .rich-link-icon{width:14px;height:14px;stroke-width:1.7}


.rich-strike,.rich-content s{text-decoration:line-through}

.rich-tool .rich-history-icon{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}

/* Personal board filter popover. */
#board-filter-toggle.is-filtered,#board-filter-toggle[aria-expanded="true"]{color:#a8caff}
.board-filter-count{padding:1px 5px;border:1px solid #557bab;border-radius:4px;background:#2b405c;font-size:10px}
.board-filter-summary{margin:0;padding:10px 28px 0;color:#a8bdd9;font-size:11px}
.board-filter-menu{position:fixed;width:610px;max-width:calc(100vw - 20px);max-height:calc(100dvh - 20px);overflow:auto;z-index:75;border:1px solid #484e58;border-radius:8px;background:#282b30;box-shadow:0 12px 36px #0008}
.board-filter-body{display:grid;grid-template-columns:185px minmax(0,1fr);min-height:260px}
.board-filter-categories{padding:18px 12px;border-right:1px solid #41464f}
.board-filter-category{display:block;width:100%;padding:10px 12px;border:1px solid transparent;border-radius:4px;text-align:left;font-size:12px;color:#cdd2da}
.board-filter-category:hover{background:#ffffff08}
.board-filter-category[aria-selected="true"]{border-color:#7fa7df;background:#283a54;color:#b8d4fc}
.board-filter-values{padding:18px 16px;min-width:0}
.board-filter-values h3{margin:0 0 12px;font-size:12px;font-weight:600;color:#cdd3dd}
.board-filter-search-wrap input{width:100%;height:32px;border:1px solid #555d69;border-radius:5px;padding:5px 10px;background:#202328;color:#9aa4b3;font-size:12px;margin-bottom:10px}
.board-filter-options{max-height:min(330px,50dvh);overflow-y:auto;scrollbar-color:#555d69 transparent}
.board-filter-choice{display:flex;align-items:center;gap:10px;min-height:33px;padding:6px 8px;border-radius:4px;cursor:pointer;font-size:12px;color:#d4d9e1}
.board-filter-choice:hover{background:#ffffff07}
.board-filter-choice input{width:14px;height:14px;margin:0;flex-shrink:0;accent-color:#82b0f8}
.board-filter-choice-label{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.board-filter-all{border-bottom:1px solid #41464f;border-radius:0;margin-bottom:5px;font-weight:600}
.board-filter-footer{display:flex;align-items:center;gap:10px;border-top:1px solid #41464f;padding:12px 16px}
.board-filter-footer .btn{font-size:11px;padding:6px 9px}
.board-filter-footer .field-help{margin:0 0 0 auto;text-align:right}
.board-filter-menu>.form-error{margin:10px 16px}
@media(max-width:520px){.board-filter-body{grid-template-columns:145px minmax(0,1fr)}.board-filter-categories{padding:12px 6px}.board-filter-category{padding:9px 6px;font-size:11px}.board-filter-values{padding:12px 8px}.board-filter-footer{flex-wrap:wrap}}

/* Global live search. */
#global-search-box:focus-within{border-color:#7da8e5}
#global-search-input{color:var(--text);font-size:12px;min-width:0}
.global-search-menu{position:fixed;z-index:76;width:660px;max-width:calc(100vw - 20px);display:flex;flex-direction:column;overflow:hidden;border:1px solid #4a515d;border-radius:8px;background:#282b30;box-shadow:0 12px 36px #0009}
.global-search-chips{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:14px 16px 12px;border-bottom:1px solid #41464f}
.global-search-chip{display:inline-flex;align-items:center;gap:6px;border:1px solid #505762;border-radius:6px;background:#30343b;color:#cbd2dd;font-size:12px;padding:5px 9px}
.global-search-chip[aria-selected="true"]{border-color:#80a9e3;color:#b5d4ff;background:#2a3c55}
.global-search-chip:hover:not(:disabled){background:#3c4657}
.global-search-chip-count{font-size:10px;opacity:.8}
.global-search-status{flex-shrink:0;padding:11px 16px;margin:0;color:#a8b4c5;font-size:11px}
.global-search-status.has-error{color:#ffaaa4}
.global-search-results{overflow-y:auto;min-height:0;scrollbar-color:#555d69 transparent}
.global-search-result{display:block;padding:12px 16px;border-top:1px solid #3b414a;color:var(--text);text-decoration:none}
.global-search-result:hover,.global-search-result:focus-visible{background:#323d4d}
.global-search-result-top{display:flex;align-items:baseline;gap:14px}
.global-search-kind{flex-shrink:0;min-width:70px;color:#97b7e2;font-size:10px}
.global-search-result-title{font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.global-search-result-meta{display:block;margin:4px 0 0 84px;color:#9ba6b6;font-size:10px;overflow-wrap:anywhere}
.global-search-result-excerpt{display:block;margin:6px 0 0 84px;font-size:11px;line-height:1.6;color:#c4ccd7;overflow-wrap:anywhere}
.global-search-empty{margin:0;padding:12px 16px 22px;color:#a1abba;font-size:12px}
.global-search-more{flex-shrink:0;margin:10px 16px 14px;align-self:flex-start}
.ticket-comment.search-comment-target{outline:1px solid #7ba7e8;outline-offset:5px;border-radius:5px;background:#7fa5d908}
@media(max-width:520px){.global-search-menu{width:calc(100vw - 20px)}.global-search-chips{padding:10px;gap:5px}.global-search-chip{font-size:11px;padding:5px 7px}.global-search-result-meta,.global-search-result-excerpt{margin-left:0}.global-search-kind{min-width:54px}}

/* Search categories: text colors only, including the selected scope. */
.global-search-chip[data-search-scope="boards"],.global-search-kind[data-search-kind="boards"]{color:#ffffff}
.global-search-chip[data-search-scope="tickets"],.global-search-kind[data-search-kind="tickets"]{color:#7dbe9e}
.global-search-chip[data-search-scope="comments"],.global-search-kind[data-search-kind="comments"]{color:#82b0f8}

/* Neutral all-scope chip and outlined result type labels. */
.global-search-chip[data-search-scope="all"]{color:#bfc5ce}
.global-search-chip[data-search-scope="all"][aria-selected="true"]{background:#393d44;border-color:#707782;color:#bfc5ce}
.global-search-chip[data-search-scope="all"]:hover:not(:disabled){background:#41464e}
.global-search-kind{display:inline-flex;align-items:center;justify-content:center;border:1px solid #505660;border-radius:4px;padding:2px 6px;line-height:1.4}

/* Personal landing dashboard. */
.dashboard-view:not([hidden]){display:flex;flex-direction:column;min-height:0;overflow:hidden}
.dashboard-head{padding-bottom:16px;flex-shrink:0}
.dashboard-head .breadcrumbs{margin-bottom:14px}
.dashboard-head .project-heading h1{margin:0}
.dashboard-summary{margin:7px 0 0;color:#a1aab8;font-size:11px;line-height:1.6}
.dashboard-scroll{overflow:auto;min-height:0;flex:1;padding:24px 28px 30px;scrollbar-color:#555d69 transparent}
.dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.dashboard-overview{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:inherit}
@media(max-width:950px){.dashboard-overview{grid-template-columns:minmax(0,1fr)}}
.dashboard-card{background:#272a2f;border:1px solid #3b4048;border-radius:8px;padding:16px 18px;min-width:0}
.dashboard-card h2{margin:0;color:#e1e4e9;font-size:15px;line-height:1.4;font-weight:650}
.dashboard-card-help{margin:4px 0 12px;font-size:11px;line-height:1.6;color:#a7b0bf}
.dashboard-chart-row{display:flex;align-items:center;justify-content:center;gap:16px;min-height:190px}
.dashboard-donut{width:190px;height:190px;max-width:52%;flex-shrink:0}
.dashboard-donut text{stroke:none;fill:#e7eaf0}
.dashboard-donut-total{font-size:28px;font-weight:700}
.dashboard-donut .dashboard-donut-label{font-size:11px;fill:#b1bac8}
.dashboard-legend{list-style:none;padding:0;margin:0;display:grid;gap:10px;max-height:190px;overflow:auto;min-width:0;flex:1}
.dashboard-legend li{display:flex;gap:8px;align-items:center;font-size:11px;line-height:1.5}
.dashboard-legend-dot{width:9px;height:9px;border-radius:2px;flex-shrink:0}
.dashboard-legend-name{flex:1;min-width:0;overflow-wrap:anywhere}
.dashboard-legend-percent{color:#9ca7b7;min-width:31px;text-align:right;font-size:10px}
.dashboard-list-head{display:grid;grid-template-columns:minmax(115px,40%) 1fr;gap:14px;color:#8f9aab;font-size:10px;margin-bottom:13px}
.dashboard-list-head span:last-child{text-align:right}
.dashboard-bars{display:grid;gap:10px}
.dashboard-bar-row{display:grid;grid-template-columns:minmax(115px,40%) minmax(0,1fr);gap:14px;align-items:center;min-height:26px}
.dashboard-bar-name{display:flex;align-items:center;gap:8px;min-width:0;font-size:12px}
.dashboard-bar-name>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dashboard-bar-name>svg{width:17px;height:17px}
.dashboard-bar-values{display:flex;align-items:center;gap:8px;min-width:0}
.dashboard-bar-track{height:22px;min-width:0;flex:1;position:relative;overflow:hidden;background:#3b424c;border-radius:3px}
.dashboard-bar-fill{display:block;height:100%;opacity:.65}
.dashboard-bar-percent{position:absolute;inset:0;display:flex;align-items:center;padding:0 8px;color:#fff;font-size:11px;text-shadow:0 1px 3px #000}
.dashboard-bar-count{width:28px;text-align:right;color:#bac3d1;font-size:11px;flex-shrink:0}
.dashboard-team{max-height:280px;overflow-y:auto;padding-right:3px;scrollbar-color:#555d69 transparent}
.dashboard-activity{margin:0;padding:0;list-style:none;max-height:230px;overflow-y:auto;scrollbar-color:#555d69 transparent}
.dashboard-activity-item{padding:9px 0;border-bottom:1px solid #3a4049}
.dashboard-activity-item:first-child{padding-top:0}
.dashboard-activity-item:last-child{border-bottom:0;padding-bottom:0}
.dashboard-activity-meta{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:#a5afbe;line-height:1.6;margin-bottom:5px}
.dashboard-activity-meta time{white-space:nowrap;color:#8e9aab;font-size:9px}
.dashboard-activity-link{display:block;color:#a9cafa;text-decoration:none;font-weight:600;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.dashboard-activity-link:hover{text-decoration:underline}
.dashboard-activity-project{display:block;margin-top:3px;font-size:10px;color:#96a3b6}
.dashboard-activity-excerpt{margin:6px 0 0;padding:5px 8px;border:1px solid #424955;border-radius:4px;color:#c8d0dc;font-size:11px;line-height:1.6;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.dashboard-priority-chart{display:flex;gap:10px;padding-top:23px}
.dashboard-priority-scale{display:flex;flex-direction:column;justify-content:space-between;height:145px;color:#8f9bac;font-size:10px;min-width:24px;text-align:right}
.dashboard-priority-plot{flex:1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;min-width:0}
.dashboard-priority-column{min-width:0;text-align:center;font-size:11px;color:#a2adbd}
.dashboard-priority-well{height:145px;position:relative;border-bottom:1px solid #717a89;background:repeating-linear-gradient(to top,transparent 0,transparent calc(50% - 1px),#3c424c calc(50% - 1px),#3c424c 50%)}
.dashboard-priority-bar{position:absolute;bottom:0;left:18%;width:64%;border-radius:3px 3px 0 0;opacity:.8;min-height:0}
.dashboard-priority-value{position:absolute;top:-23px;left:0;right:0;color:#cbd4e1;font-size:12px;font-weight:600}
.dashboard-priority-label{display:block;margin-top:10px;overflow-wrap:anywhere}
.dashboard-priority-column small{display:block;margin-top:5px;font-size:10px;color:#9da9ba}
.dashboard-loading,.dashboard-no-tickets,.dashboard-empty{color:#a3aebf;font-size:12px;line-height:1.8}
.dashboard-no-tickets{border:1px solid #424b58;border-radius:6px;padding:12px 15px;margin:0 0 20px;background:#282e37}
@media(max-width:1150px){.dashboard-chart-row{gap:6px}.dashboard-donut{width:185px;height:185px}.dashboard-legend li{gap:5px;font-size:10px}.dashboard-legend-percent{font-size:9px;min-width:27px}.dashboard-card{padding:15px 15px}.dashboard-bar-row,.dashboard-list-head{grid-template-columns:minmax(100px,42%) minmax(0,1fr);gap:10px}}
@media(max-width:950px){.dashboard-grid{grid-template-columns:minmax(0,1fr)}.dashboard-chart-row{gap:24px}.dashboard-donut{width:190px;height:190px}.dashboard-legend li{font-size:12px}.dashboard-legend{max-width:360px}.dashboard-chart-row{justify-content:flex-start}}
@media(max-width:700px){.dashboard-scroll{padding:20px 16px 25px}.dashboard-head{padding-bottom:14px}.dashboard-grid{gap:16px}.dashboard-chart-row{gap:12px}.dashboard-donut{width:185px;height:185px;max-width:48%}.dashboard-legend li{font-size:10px}.dashboard-activity-meta{flex-wrap:wrap;gap:2px 8px}.dashboard-bar-name{font-size:11px}}

.brand-home{color:inherit;text-decoration:none;border-radius:3px}
.brand-home:focus-visible{outline:2px solid var(--focus);outline-offset:4px}

.dashboard-donut circle,.dashboard-donut line{stroke-linecap:butt}

/* Dashboard project scope. */
.dashboard-head-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}
.dashboard-project-heading{display:flex;align-items:center;flex-wrap:wrap;gap:0 6px;margin:0 0 20px;color:#fff;font-size:18px;font-weight:650;line-height:1.5}
.dashboard-heading-divider{display:inline-block;width:6px;height:6px;background:#747b86;margin:0 8px;flex-shrink:0}
#dashboard-selection-title{font-weight:500;overflow-wrap:anywhere}
.dashboard-view-menu{position:fixed;z-index:77;width:300px;max-width:calc(100vw - 20px);display:flex;flex-direction:column;padding:12px;border:1px solid #4a515d;border-radius:7px;background:#282b30;box-shadow:0 12px 36px #0009}
.dashboard-view-menu h3{margin:2px 8px 9px;color:#d5dce6;font-size:12px;font-weight:600}
.dashboard-view-options{overflow:auto;min-height:0;scrollbar-color:#555d69 transparent}
.dashboard-project-choice{display:flex;align-items:center;gap:10px;padding:9px 8px;border-radius:4px;color:#d5dce6;font-size:12px;cursor:pointer;line-height:1.5}
.dashboard-project-choice:hover{background:#353e4c}
.dashboard-project-choice input{width:14px;height:14px;margin:0;flex-shrink:0;accent-color:#82b0f8}
.dashboard-project-choice span{min-width:0;overflow-wrap:anywhere}
.dashboard-project-all{border-bottom:1px solid #454c57;border-radius:0;margin-bottom:5px;font-weight:600}
@media(max-width:520px){.dashboard-project-heading{font-size:16px;margin-bottom:16px}.dashboard-head-actions{gap:6px}.dashboard-head-actions .btn{font-size:11px;padding:6px 8px}}

/* Filtered project issue list; board and list use the same canonical ticket data. */
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.ticket-list-page{min-width:1220px;padding-bottom:6px}
.ticket-list-count{margin:0 0 12px;font-size:11px;color:#a5afbd}
.ticket-list-wrap{border:1px solid #3b414b;border-radius:6px}
.ticket-list-table{width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0;text-align:left}
.ticket-list-table th{position:sticky;top:0;z-index:2;background:#24272c;color:#b4bdca;font-size:11px;font-weight:600;padding:11px 10px;border-bottom:1px solid #424852;white-space:nowrap}
.ticket-list-table th:first-child{border-top-left-radius:5px}.ticket-list-table th:last-child{border-top-right-radius:5px}
.ticket-list-table td{height:43px;padding:8px 10px;border-bottom:1px solid #343a44;color:#d5dbe5;font-size:12px;vertical-align:middle}
.ticket-list-table td+td,.ticket-list-table th+th{border-left:1px solid #343a44}
.ticket-list-table tr:last-child td{border-bottom:0}
.ticket-list-table tbody tr:hover{background:#2a3039}
.ticket-list-table .ticket-list-checkbox{padding:8px 10px;text-align:center}
.ticket-list-checkbox input{width:13px;height:13px;margin:0;vertical-align:middle;opacity:.65;accent-color:#82b0f8}
.ticket-list-col-check{width:36px}.ticket-list-col-info{width:110px}.ticket-list-col-priority{width:108px}.ticket-list-col-status{width:130px}.ticket-list-col-assignee{width:175px}.ticket-list-col-date{width:120px}
.ticket-list-ticket-link{display:flex;align-items:center;gap:8px;min-width:0;color:#e0e4ec;text-decoration:none;line-height:1.6}
.ticket-list-ticket-link:hover .ticket-list-name,.ticket-list-ticket-link:hover .ticket-list-key{text-decoration:underline}
.ticket-list-ticket-link:focus-visible{outline:2px solid var(--focus);outline-offset:3px;border-radius:2px}
.ticket-list-type{display:inline-flex;align-items:center;flex-shrink:0}
.ticket-list-type .category-icon{width:16px;height:16px}
.ticket-list-key{color:#a6c9fb;flex-shrink:0;font-size:11px}
.ticket-list-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}
.ticket-list-short-info{color:#accaf3!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ticket-list-priority{display:inline-flex;align-items:center;gap:9px;white-space:nowrap}
.ticket-list-priority .priority{display:inline-flex;align-items:center;justify-content:center;width:15px;line-height:1}
.ticket-list-status{display:inline-block;max-width:100%;padding:3px 6px;border:1px solid #4b525d;background:#30343b;color:#d9e0eb;border-radius:4px;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}
.ticket-list-status-working{background:#283e59;border-color:#4c75a6;color:#c0dcff}
.ticket-list-status-done{background:#2c4538;border-color:#517c61;color:#c1e9cd}
.ticket-list-assignee{display:flex;align-items:center;gap:8px;min-width:0}
.ticket-list-assignee-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ticket-list-unassigned{color:#929eaf;font-size:11px}
.ticket-list-date{white-space:nowrap;font-size:11px!important;color:#aeb9c9!important}
.ticket-list-empty{border:1px dashed #424a57;border-radius:5px;padding:20px;text-align:center;font-size:12px;color:#a6b0c0}

#project-board-page.is-list-view #board-actions{margin-left:auto}

.project-dashboard-page{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}
.project-dashboard-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 16px}
.project-dashboard-toolbar .dashboard-summary{margin:0}
.project-dashboard-toolbar .btn{flex-shrink:0}

/* Selection and bulk actions for the filtered issue list. */
.ticket-list-checkbox input:enabled{cursor:pointer;opacity:1}
.ticket-list-table tbody tr.is-selected{background:#263a53}
.ticket-list-table tbody tr.is-selected:hover{background:#2b4260}
.ticket-bulk-bar{position:fixed;bottom:20px;z-index:55;box-sizing:border-box;background:#292c31;border:1px solid #82b0f8;border-radius:8px;padding:11px 13px;box-shadow:0 10px 36px #0009;color:#e0e5ed}
.ticket-bulk-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
#ticket-bulk-count{font-size:11px;line-height:1.6;font-weight:600;margin-right:8px}
.ticket-bulk-actions .btn{font-size:11px;white-space:nowrap}
.ticket-bulk-close{margin-left:auto;flex-shrink:0;width:28px;height:28px}
.ticket-bulk-close svg{width:16px;height:16px}
.ticket-bulk-panel{display:flex;align-items:center;gap:10px;flex-wrap:wrap;border-top:1px solid #485362;margin-top:10px;padding-top:11px}
#ticket-bulk-label{font-size:11px;color:#bdc8d7;line-height:1.6}
#ticket-bulk-value{min-width:190px;max-width:320px;height:32px;background-color:#1e2228;border:1px solid #536074;border-radius:4px;color:#e6ebf3;padding:0 36px 0 9px;font-size:12px}
.ticket-bulk-panel .btn,.ticket-bulk-reload{font-size:11px}
.ticket-bulk-bar .form-error{margin:10px 0 0}
.ticket-bulk-reload{margin-top:9px}
@media(max-width:700px){.ticket-bulk-bar{bottom:10px;padding:10px}.ticket-bulk-actions{gap:6px}#ticket-bulk-count{width:calc(100% - 40px);order:-2;margin-right:0}.ticket-bulk-close{order:-1}.ticket-bulk-panel{align-items:flex-start}#ticket-bulk-value{max-width:100%;flex:1}}

.ticket-list-ticket-link .ticket-list-key.is-done{text-decoration-line:line-through}
.ticket-list-ticket-link:hover .ticket-list-key.is-done{text-decoration-line:underline line-through}

/* Accessible list header sorting; controls remain mounted while rows redraw. */
.ticket-list-table th.ticket-list-sortable{padding:0}
.ticket-list-header-controls{display:flex;align-items:center;min-width:0}
.ticket-list-sort-button{display:flex;align-items:center;gap:7px;flex:1;min-width:0;width:100%;padding:11px 10px;text-align:left;color:inherit;font-size:inherit;font-weight:inherit}
.ticket-list-sort-button>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ticket-list-sort-button:hover{background:#ffffff08;color:#eef2f8}
.ticket-list-sort-button:focus-visible,.ticket-list-sort-reset:focus-visible{outline:2px solid var(--focus);outline-offset:-3px}
.ticket-list-sort-indicator{margin-left:auto;width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-bottom:6px solid #b5d1f8;flex-shrink:0}
.ticket-list-sort-indicator[data-direction="desc"]{border-bottom:0;border-top:6px solid #b5d1f8}
.ticket-list-sort-reset{display:grid;place-items:center;width:20px;height:24px;margin-right:5px;border-radius:3px;color:#a8b8cc;flex-shrink:0}
.ticket-list-sort-reset:hover{background:#ffffff10;color:#fff}
.ticket-list-sort-reset svg{width:12px;height:12px}
.ticket-list-table th[aria-sort="ascending"],.ticket-list-table th[aria-sort="descending"]{color:#c6dcfa}
.ticket-list-col-date{width:142px}

.board-menu button{display:flex;align-items:center;gap:9px}
.board-menu button>svg{width:16px;height:16px;flex-shrink:0;color:#aeb7c5}

/* Independent system log category and calendar-period chip groups. */
.log-filter-card{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:14px 16px;margin-bottom:18px;background:#272b30;border:1px solid #444b55;border-radius:7px}
.log-filter-group{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.log-filter-group:last-child{margin-left:auto;justify-content:flex-end;flex-shrink:0}
.log-filter-chip{padding:6px 9px;min-height:29px;border:1px solid #4b535f;border-radius:5px;background:#2d3239;color:#cbd0d8;font-size:11px;white-space:nowrap}
.log-filter-chip:hover{background:#353d48}
.log-filter-chip.active{border-color:#82b0f8;background:#2c3c53;color:#c4dcff}
.log-chip-count{font-size:10px;margin-left:3px;font-variant-numeric:tabular-nums}
@media(max-width:1250px){.log-filter-card{flex-wrap:wrap}.log-filter-group:last-child{flex-shrink:1}}

.log-head-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}
.log-size{color:#adb6c4;font-size:11px;margin-right:5px;white-space:nowrap;font-variant-numeric:tabular-nums}
.log-cleanup-dialog{width:440px;max-width:calc(100vw - 40px);background:#272b30;border:1px solid #4b535f;color:var(--text)}
.log-cleanup-dialog h2{font-size:18px;margin:0}
.log-cleanup-dialog>p{font-size:12px;line-height:1.7;color:#c2cad5}

.project-quota-card{padding:14px 16px;border:1px solid #414852;border-radius:6px;background:#202327;margin:16px 0}
.project-quota-card h3{font-size:13px;margin:0 0 6px}
.project-quota-card fieldset{border:0;padding:0;margin:10px 0 0;min-width:0}
.project-quota-card fieldset:disabled{opacity:.65}
.project-quota-custom{display:grid;grid-template-columns:1fr 100px;gap:12px}
.project-quota-custom[hidden]{display:none}
.project-quota-lock-row{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid #3b424d;padding-top:12px;margin-top:12px;font-size:12px}
.project-quota-lock-row[hidden]{display:none}

.create-box .modal-footer{gap:8px}
.account-validity{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;margin-top:14px}
.account-validity .checkbox-label,.account-validity .account-expiry-date{margin:0}
.account-expiry-date{position:relative;width:128px}
.account-expiry-date input[type=text]{padding-inline-end:32px}
.account-expiry-date .ticket-date-trigger{width:29px}
.account-expiry-date .ticket-date-picker{position:absolute;inset:0;width:100%;height:100%;min-height:0;margin:0;padding:0;opacity:0;cursor:pointer}
.account-expiry-date:has(input:disabled){opacity:.55}

#project-backup-actions{display:flex;align-items:center;gap:6px}
#project-backup-actions .btn{min-width:0;white-space:normal}

.board-column-title{display:flex;align-items:center;gap:8px;min-width:0}
.board-column-toggle{flex:none;margin-left:auto;padding:2px 4px;border:1px solid #484e58;border-radius:4px;color:#aeb3bd;font-size:10px;letter-spacing:0;line-height:14px}
.board-column-toggle:hover{background:#ffffff12;color:var(--text)}
.column-label.is-collapsed{flex-direction:column;justify-content:flex-start;align-items:center;gap:6px;padding:8px 2px}
.column-label.is-collapsed .board-column-title{writing-mode:vertical-rl;text-orientation:mixed}
.column-label.is-collapsed .board-column-name{display:block;max-inline-size:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.column-label.is-collapsed .board-column-toggle{margin-left:0}
.column.board-column-collapsed{padding:0;background:#ffffff03}

#project-board-page .columns-head{align-items:start}

.project-demo-chip{align-self:flex-start;flex:none;max-width:100%;padding:3px 7px;border:1px solid #645153;border-radius:4px;background:#a339391c;color:#e6b1b1;font-size:11px;line-height:1.4}
#project-workspace .project-heading .title-row{flex-wrap:wrap}

#legal-confirm-form .auth-legal-links{margin:12px 0 16px}
#legal-confirm-form .checkbox-label{margin:10px 0}

.inactive-account-name{color:#a3aab4}
.inactive-account-name .ticket-list-assignee-name,.inactive-account-name .ticket-child-text{color:inherit}
.inactive-account-avatar{filter:grayscale(1);opacity:.65}
