
:root{--navy:#18212f;--navy-2:#263244;--blue:#409cd3;--blue-2:#2b82bd;--orange:#ed672b;--ink:#1f2937;--muted:#7c899a;--line:#e8edf3;--page:#f5f8fb;--white:#fff}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:"Microsoft YaHei","PingFang SC",Arial,sans-serif;color:var(--ink);background:var(--page)}button,input,select{font:inherit}button{cursor:pointer}.login-shell{min-height:100vh;background:#f4f8fc;position:relative;overflow:hidden}.login-shell:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(64,156,211,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(64,156,211,.045) 1px,transparent 1px);background-size:42px 42px;mask-image:linear-gradient(90deg,#000,transparent 72%)}.login-topbar{height:78px;padding:0 5.8vw;display:flex;align-items:center;justify-content:space-between;position:relative;z-index:2;background:rgba(255,255,255,.72);border-bottom:1px solid rgba(24,33,47,.06);backdrop-filter:blur(16px)}.login-topbar img{width:162px;height:auto}.login-topbar div{display:flex;gap:18px;align-items:center;font-size:13px;color:#7b8796}.login-topbar div span{color:#465466}.login-topbar div i{height:12px;width:1px;background:#d9e0e8}.login-stage{position:relative;z-index:1;min-height:calc(100vh - 126px);display:grid;grid-template-columns:minmax(520px,1.12fr) minmax(420px,.88fr);max-width:1380px;margin:auto;padding:5.5vh 5vw 7vh;gap:4vw;align-items:center}.login-story{height:min(650px,72vh);min-height:570px;border-radius:28px;position:relative;overflow:hidden;background:linear-gradient(145deg,#142135,#1b3450 60%,#224b69);box-shadow:0 32px 75px rgba(20,45,70,.24);color:#fff}.login-story:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 78% 24%,rgba(64,156,211,.28),transparent 30%),linear-gradient(135deg,transparent 50%,rgba(255,255,255,.025) 50%)}.story-copy{position:absolute;z-index:3;left:8.5%;top:9%}.eyebrow,.login-kicker{font-family:Arial,sans-serif;font-size:12px;font-weight:700;letter-spacing:2.4px;color:#74c5ef}.story-copy h1{font-size:clamp(37px,3.5vw,55px);line-height:1.22;margin:22px 0 17px;letter-spacing:1px}.story-copy p{font-size:15px;line-height:2;color:#aabbd0;margin:0}.orbit-visual{position:absolute;left:0;right:0;bottom:0;height:58%}.glow{position:absolute;border-radius:50%;filter:blur(30px)}.glow-a{width:260px;height:260px;background:rgba(64,156,211,.22);right:13%;top:6%}.glow-b{width:150px;height:150px;background:rgba(237,103,43,.14);left:16%;bottom:3%}.orbit{position:absolute;border:1px solid rgba(111,198,240,.22);border-radius:50%;transform:rotate(-15deg)}.orbit-one{width:520px;height:190px;left:8%;top:23%}.orbit-two{width:380px;height:290px;right:1%;top:5%;transform:rotate(21deg)}.data-card{position:absolute;z-index:2;border:1px solid rgba(255,255,255,.13);background:rgba(255,255,255,.09);box-shadow:0 20px 50px rgba(0,0,0,.2);backdrop-filter:blur(12px);border-radius:15px}.card-main{width:310px;height:150px;right:13%;top:15%;padding:20px}.mini-head{font-size:12px;color:#b8c6d6}.mini-head span{display:inline-block;width:7px;height:7px;border-radius:50%;background:#65c6ee;margin-right:8px}.mini-head b{float:right;color:#fff;font-size:18px}.bars{height:83px;display:flex;align-items:flex-end;gap:11px;padding:10px 5px 0}.bars i{flex:1;border-radius:4px 4px 1px 1px;background:linear-gradient(#5fc2e9,#2d83bd);box-shadow:0 0 14px rgba(64,156,211,.3)}.bars i:nth-child(4),.bars i:nth-child(6){background:linear-gradient(#f79461,#ed672b)}.card-team{left:15%;top:20%;width:124px;padding:18px}.card-team b{font-size:27px;display:block}.card-team span,.card-ai span{font-size:11px;color:#aebed0}.card-ai{left:27%;bottom:11%;padding:13px 17px;display:flex;align-items:center;gap:10px}.card-ai em{font-style:normal;background:linear-gradient(135deg,#409cd3,#6cc6dc);padding:8px;border-radius:8px;font-weight:bold}.dot{position:absolute;border-radius:50%;background:#ed672b;box-shadow:0 0 14px #ed672b}.dot-1{width:7px;height:7px;left:18%;top:17%}.dot-2{width:5px;height:5px;right:9%;top:52%;background:#62c2e8}.dot-3{width:6px;height:6px;left:52%;bottom:14%}.story-foot{position:absolute;left:8%;right:8%;bottom:5%;display:flex;gap:10px;z-index:4}.story-foot span{font-size:10px;color:#aab8c9;padding:6px 9px;border:1px solid rgba(255,255,255,.1);border-radius:20px}.login-panel{display:flex;justify-content:center}.login-panel form{width:min(410px,100%);padding:26px}.mobile-brand{display:none}.login-kicker{color:#409cd3}.login-panel h2{font-size:34px;margin:12px 0 9px;color:#18212f}.login-note{color:#8995a4;font-size:14px;margin:0 0 36px}.login-panel label{display:block;margin-bottom:21px}.login-panel label>span{display:block;font-size:13px;font-weight:700;color:#4b596a;margin:0 0 9px}.field{height:54px;background:#fff;border:1px solid #dfe6ee;border-radius:10px;display:flex;align-items:center;transition:.2s;box-shadow:0 5px 16px rgba(31,52,73,.035)}.field:focus-within{border-color:#409cd3;box-shadow:0 0 0 3px rgba(64,156,211,.11)}.field b{font-weight:normal;color:#8495a6;padding-left:17px}.field input{height:100%;border:0;outline:0;flex:1;padding:0 13px;color:#233143;background:transparent}.field input::placeholder{color:#aeb8c4}.eye{border:0;background:transparent;color:#8d9aa8;padding:13px}.login-options{display:flex;justify-content:space-between;align-items:center;margin:-3px 0 24px}.login-options button{border:0;background:transparent;color:#788697;font-size:13px}.login-options button:last-child{color:#328ac2}.checkbox{display:flex;gap:7px;align-items:center;padding:0}.checkbox i{width:17px;height:17px;border:1px solid #cbd4de;border-radius:4px;font-style:normal;display:grid;place-items:center;font-size:11px}.checkbox.checked i{background:#409cd3;border-color:#409cd3;color:white}.login-button{height:55px;border:0;width:100%;border-radius:10px;background:linear-gradient(100deg,#348fc9,#409cd3);color:#fff;font-weight:700;box-shadow:0 11px 24px rgba(64,156,211,.28);transition:.2s}.login-button:hover{transform:translateY(-1px);box-shadow:0 14px 28px rgba(64,156,211,.36)}.login-button span{float:right;margin-right:17px;font-size:18px}.safe-login{text-align:center;color:#9aa6b3;font-size:11px;margin-top:24px}.safe-login i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#55b88b;margin-right:7px}.login-footer{position:relative;z-index:2;text-align:center;height:48px;color:#9ca7b3;font-size:11px}.login-footer span{margin-left:16px}
.dashboard{min-height:100vh;display:grid;grid-template-columns:244px 1fr;background:#f4f7fa}.sidebar{height:100vh;position:sticky;top:0;background:#18212f;color:#b9c3d0;display:flex;flex-direction:column;overflow:hidden;transition:.25s}.side-brand{height:74px;flex:0 0 74px;display:flex;align-items:center;padding:0 20px;border-bottom:1px solid rgba(255,255,255,.07)}.side-brand img{width:104px;filter:brightness(0) invert(1);opacity:.96}.side-brand span{font-size:11px;margin-left:11px;padding-left:11px;border-left:1px solid rgba(255,255,255,.18);white-space:nowrap}.sidebar nav{padding:22px 13px;overflow:auto;scrollbar-width:none;flex:1}.sidebar nav small{font-size:10px;letter-spacing:1.2px;color:#667587;padding-left:14px}.sidebar nav button{width:100%;border:0;background:transparent;color:#aab5c3;display:flex;align-items:center;height:43px;border-radius:7px;text-align:left;padding:0 12px;margin:3px 0;font-size:13px}.sidebar nav button i{font-style:normal;width:28px;color:#738398;font-size:15px}.sidebar nav button b{margin-left:auto;font-size:19px;font-weight:normal;transition:.2s}.sidebar nav button.active{color:#fff;background:rgba(64,156,211,.15)}.sidebar nav button.active i{color:#64b8e7}.sidebar nav button.active b{transform:rotate(90deg)}.submenu{position:relative;padding-left:40px;margin:3px 0 8px}.submenu:before{content:"";position:absolute;left:26px;top:4px;bottom:4px;width:1px;background:#324052}.submenu button{height:34px!important;padding:0!important;color:#8493a4!important;font-size:12px!important}.submenu button.selected{color:#70c0eb!important}.submenu button.selected:before{content:"";width:5px;height:5px;background:#409cd3;border-radius:50%;position:absolute;left:24px}.side-user{height:72px;flex:0 0 72px;display:flex;align-items:center;padding:0 16px;background:#141c28;border-top:1px solid rgba(255,255,255,.06)}.side-user>span{width:35px;height:35px;border-radius:9px;background:linear-gradient(135deg,#409cd3,#68c1e2);display:grid;place-items:center;color:white}.side-user div{margin-left:10px;flex:1}.side-user b{font-size:12px;color:#e6ebf1;display:block}.side-user small{font-size:10px;color:#657486}.side-user button{border:0;background:transparent;color:#748295}.workspace{min-width:0}.topbar{height:74px;background:#fff;border-bottom:1px solid #e9edf2;display:flex;align-items:center;padding:0 30px;position:sticky;top:0;z-index:10}.collapse{border:0;background:#f5f7f9;color:#465567;border-radius:7px;width:34px;height:34px;margin-right:24px}.crumb{display:flex;gap:12px;align-items:center;font-size:13px}.crumb span{color:#93a0ae}.crumb i{font-style:normal;color:#ccd4dc}.crumb b{color:#334154}.top-actions{display:flex;align-items:center;margin-left:auto;gap:7px}.top-actions>button:not(.top-profile){border:0;background:transparent;width:37px;height:37px;color:#657386;font-size:19px;position:relative}.bell i{position:absolute;right:2px;top:1px;background:#ed672b;color:white;font-style:normal;font-size:9px;width:15px;height:15px;border-radius:50%;display:grid;place-items:center}.top-actions>span{height:22px;width:1px;background:#e5eaf0;margin:0 10px}.top-profile{border:0;background:transparent;display:flex;align-items:center;gap:8px}.top-profile em{font-style:normal;width:32px;height:32px;border-radius:8px;background:#edf7ff;color:#318abc;display:grid;place-items:center}.top-profile b{font-size:12px}.top-profile i{font-style:normal;color:#9ca7b3}.content{padding:28px 30px 36px;max-width:1700px;margin:auto}.title-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:23px}.title-row h1{font-size:24px;margin:0 0 8px;color:#18212f}.title-row p{margin:0;color:#8a96a5;font-size:12px}.primary{height:40px;border:0;border-radius:7px;padding:0 18px;background:#409cd3;color:#fff;font-size:13px;box-shadow:0 7px 16px rgba(64,156,211,.2)}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:18px}.stat-grid article{background:#fff;border:1px solid #e9edf2;border-radius:10px;padding:18px;display:flex;align-items:center;min-width:0;box-shadow:0 3px 12px rgba(31,49,68,.025)}.stat-icon{width:45px;height:45px;border-radius:11px;display:grid;place-items:center;margin-right:14px;font-size:19px;flex:0 0 45px}.stat-icon.blue{background:#edf7ff;color:#409cd3}.stat-icon.cyan{background:#eaf9f7;color:#30a997}.stat-icon.orange{background:#fff0e9;color:#ed672b}.stat-icon.violet{background:#f3efff;color:#7e68ca}.stat-grid article>div:last-child{min-width:0}.stat-grid span{display:block;color:#8491a0;font-size:11px;margin-bottom:4px}.stat-grid b{font-size:23px;color:#1d2a3a;display:block;line-height:1.2;white-space:nowrap}.stat-grid small{font-size:10px;color:#a0aab5}.stat-grid small i{font-style:normal}.up{color:#2aa378}.warn{color:#ed672b}.project-card{background:#fff;border:1px solid #e8edf2;border-radius:10px;box-shadow:0 4px 16px rgba(24,40,58,.03);overflow:hidden}.filterbar{padding:16px 18px;border-bottom:1px solid #edf0f4;display:flex;gap:10px;align-items:center}.searchbox{width:270px;height:38px;border:1px solid #dfe5eb;border-radius:6px;display:flex;align-items:center}.searchbox:focus-within{border-color:#409cd3}.searchbox b{font-weight:normal;color:#9aa6b3;margin-left:12px}.searchbox input{border:0;outline:0;flex:1;min-width:0;padding:0 9px;font-size:12px;color:#37465a}.searchbox button{border:0;background:transparent;color:#9ca7b3}.select{position:relative;margin:0!important}.select select{appearance:none;height:38px;min-width:132px;padding:0 33px 0 12px;border:1px solid #dfe5eb;border-radius:6px;background:white;color:#526174;font-size:12px;outline:0}.select i{position:absolute;right:11px;top:10px;font-style:normal;color:#9ba6b3;pointer-events:none}.reset{height:38px;border:0;background:transparent;color:#7b8998;font-size:12px;padding:0 9px}.table-tools{height:51px;padding:0 18px;display:flex;align-items:center;justify-content:space-between}.table-tools>div:first-child{display:flex;align-items:center;gap:10px}.table-tools b{font-size:14px}.table-tools span{font-size:10px;color:#9da7b2;background:#f2f5f7;padding:3px 7px;border-radius:10px}.table-tools button{border:0;background:transparent;color:#7c8998;font-size:16px}.table-wrap{overflow-x:auto;position:relative}table{width:100%;border-collapse:collapse;min-width:1100px}th{text-align:left;background:#f8fafc;color:#738194;font-size:10px;font-weight:600;height:40px;border-top:1px solid #edf0f3;border-bottom:1px solid #edf0f3;padding:0 12px;white-space:nowrap}td{height:56px;padding:0 12px;border-bottom:1px solid #eff2f5;color:#586779;font-size:11px;white-space:nowrap}tbody tr:hover{background:#f9fcfe}.code{font-family:Arial,sans-serif;color:#4b5d71;font-size:11px}.project-name{display:flex;align-items:center;gap:9px}.project-name b{font-size:11px;color:#344458;max-width:245px;overflow:hidden;text-overflow:ellipsis}.project-mark{width:28px;height:28px;border-radius:7px;display:grid;place-items:center;background:#edf7ff;color:#3b94ca}.mark-1{background:#eff7ed;color:#5c9d58}.mark-2{background:#fff3ec;color:#df7546}.mark-3{background:#f2f0fb;color:#7766b1}.mark-4{background:#edf8f7;color:#3b9f91}.type-tag,.plain-tag{display:inline-block;padding:4px 8px;border-radius:4px;background:#f1f6fa;color:#5c7184}.plain-tag{background:#f5f6f7;color:#687687}.status{color:#399a75}.status i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#46b184;margin-right:6px;box-shadow:0 0 0 3px #e7f6f0}.date{color:#718093}.row-actions{display:flex;gap:4px}.row-actions button{border:0;background:transparent;color:#3e96ca;font-size:10px;padding:4px 5px}.row-actions button:hover{background:#edf7ff;border-radius:4px}.empty{padding:50px;text-align:center;color:#a0aab5}.pagination{height:62px;display:flex;align-items:center;justify-content:space-between;padding:0 18px}.pagination>span{font-size:10px;color:#9aa5b1}.pagination>div{display:flex}.pagination button{width:30px;height:30px;border:1px solid #e2e7ed;background:#fff;color:#647386;margin-left:-1px;font-size:11px}.pagination button:first-child{border-radius:5px 0 0 5px}.pagination button:last-child{border-radius:0 5px 5px 0}.pagination button.on{background:#409cd3;color:#fff;border-color:#409cd3}.pagination button:disabled{color:#c8cfd7}.toast{position:fixed;z-index:40;right:28px;bottom:28px;background:#18212f;color:white;padding:13px 18px;border-radius:8px;box-shadow:0 14px 30px rgba(24,33,47,.24);font-size:12px;animation:toast-in .2s ease}.toast i{font-style:normal;color:#65c69d;margin-right:9px}.dashboard.is-collapsed{grid-template-columns:72px 1fr}.is-collapsed .side-brand{padding:0 12px}.is-collapsed .side-brand img{width:48px;object-fit:cover;object-position:left}.is-collapsed .side-brand span,.is-collapsed .sidebar nav small,.is-collapsed .sidebar nav button span,.is-collapsed .sidebar nav button b,.is-collapsed .submenu,.is-collapsed .side-user div,.is-collapsed .side-user button{display:none}.is-collapsed .sidebar nav button{justify-content:center;padding:0}.is-collapsed .sidebar nav button i{width:auto}.is-collapsed .side-user{padding:0;justify-content:center}@keyframes toast-in{from{transform:translateY(8px);opacity:0}}
@media(max-width:1100px){.login-stage{grid-template-columns:1fr 410px;padding-left:3vw;padding-right:3vw}.story-copy h1{font-size:36px}.stat-grid{grid-template-columns:repeat(2,1fr)}.filterbar{flex-wrap:wrap}.dashboard{grid-template-columns:210px 1fr}}
@media(max-width:760px){.login-topbar{padding:0 22px}.login-topbar div{display:none}.login-stage{display:block;padding:30px 18px}.login-story{display:none}.login-panel form{background:white;border-radius:18px;padding:34px 25px;box-shadow:0 20px 55px rgba(31,52,73,.12)}.mobile-brand{display:block;margin-bottom:34px}.mobile-brand img{width:145px}.login-footer{padding:0 20px}.dashboard{display:block}.sidebar{display:none}.topbar{padding:0 16px;height:64px}.crumb{display:none}.content{padding:20px 14px}.title-row p{display:none}.stat-grid{grid-template-columns:1fr 1fr;gap:9px}.stat-grid article{padding:13px}.stat-icon{width:36px;height:36px;flex-basis:36px;margin-right:10px}.stat-grid b{font-size:17px}.stat-grid small{display:none}.filterbar{padding:12px}.searchbox{width:100%}.select{flex:1}.select select{min-width:100%;width:100%}.table-tools{padding:0 12px}.pagination{padding:0 12px}.pagination>span{display:none}}

/* Project page layout aligned with the provided operations dashboard reference. */
.title-row{align-items:flex-end;margin-bottom:18px}.page-heading{padding-bottom:2px}.heading-actions{display:flex;align-items:center;gap:14px}.compact-stats{display:flex;gap:9px}.compact-stats article{width:108px;height:60px;padding:10px 14px;background:#fff;border:1px solid #e2e9f0;border-radius:9px;box-shadow:0 4px 14px rgba(24,40,58,.035)}.compact-stats span{display:block;font-size:10px;color:#8e9baa;margin-bottom:3px}.compact-stats b{font-size:19px;color:#17314c;line-height:1}.heading-actions .primary{height:60px;padding:0 19px}
.filter-panel{background:#fff;border:1px solid #e3eaf1;border-radius:12px;padding:20px 22px 17px;margin-bottom:18px;box-shadow:0 8px 24px rgba(31,56,78,.045)}.filter-grid{display:grid;grid-template-columns:1.25fr repeat(3,1fr);gap:16px}.filter-field>label{display:block;font-size:11px;font-weight:700;color:#536579;margin:0 0 8px 2px}.filter-field .searchbox{width:100%;height:42px;background:#fafdff}.filter-field .select{display:block}.filter-field .select select{width:100%;height:42px;background:#fafdff}.filter-field .select i{top:12px}.filter-actions{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin-top:15px}.filter-actions .reset{height:38px;padding:0 15px}.filter-search{height:38px;padding:0 20px;border:0;border-radius:7px;background:#409cd3;color:#fff;font-size:12px;box-shadow:0 7px 17px rgba(64,156,211,.2)}.project-card{border-radius:12px;box-shadow:0 8px 24px rgba(31,56,78,.04)}.table-tools{height:58px}.table-tools b{font-size:15px}
@media(max-width:1200px){.compact-stats article{width:92px}.filter-grid{grid-template-columns:1fr 1fr}.heading-actions{gap:9px}}
@media(max-width:900px){.title-row{align-items:flex-start;gap:16px}.heading-actions{flex-direction:column;align-items:flex-end}.heading-actions .primary{height:40px}.compact-stats article{width:82px}.filter-grid{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.title-row{display:block}.heading-actions{align-items:stretch;margin-top:16px}.compact-stats{width:100%}.compact-stats article{flex:1;width:auto}.heading-actions .primary{width:100%}.filter-panel{padding:14px}.filter-grid{grid-template-columns:1fr}.filter-actions{justify-content:stretch}.filter-actions button{flex:1}.filter-field .searchbox{width:100%}}

/* Unified brand header: roomy logo area and full system title. */
.side-brand{padding:0 25px}.side-brand img{width:144px}.topbar{background:linear-gradient(108deg,#18212f,#153c5e);border-bottom:0;box-shadow:0 8px 25px rgba(19,43,65,.12)}.system-title{font-size:18px;font-weight:700;letter-spacing:.4px;color:#fff}.topbar .collapse{background:rgba(255,255,255,.09);color:#dbe7f1}.top-actions>button:not(.top-profile){color:#b9c9d8}.top-actions>span{background:rgba(255,255,255,.16)}.top-profile b{color:#fff}.top-profile i{color:#9fb3c5}.top-profile em{background:#409cd3;color:#fff}.is-collapsed .side-brand{padding:0 12px}.is-collapsed .side-brand img{width:48px}
@media(max-width:760px){.system-title{font-size:15px}.top-actions .top-profile b,.top-actions .top-profile i{display:none}}
.top-actions>button.top-refresh{width:38px!important;height:38px!important;margin-right:6px;border-radius:9px!important;background:rgba(255,255,255,.10)!important;color:#dce9f3!important;font-size:20px!important;transition:.2s}.top-actions>button.top-refresh:hover{background:#409cd3!important;color:#fff!important;transform:rotate(25deg)}

/* Strong, high-contrast navigation selection inspired by the reference. */
.sidebar nav>div>button{position:relative;transition:background .18s,color .18s,transform .18s}.sidebar nav>div>button:hover{background:rgba(64,156,211,.09);color:#e8f3fa}.sidebar nav button.active{height:46px;background:linear-gradient(100deg,#1f6fb2,#2385ca);color:#fff;box-shadow:0 8px 20px rgba(15,91,150,.28)}.sidebar nav button.active:before{content:"";position:absolute;left:0;top:10px;bottom:10px;width:3px;border-radius:0 3px 3px 0;background:#78d7ef}.sidebar nav button.active i{width:27px;height:27px;margin-right:2px;border-radius:7px;display:grid;place-items:center;background:rgba(73,211,222,.16);color:#7ce0eb}.sidebar nav button.active b{color:#caeafb}.submenu{padding:4px 0 5px 38px}.submenu:before{left:25px;top:0;bottom:5px;background:#2e4c66}.submenu button{position:relative;padding:0 12px!important;margin:4px 0!important;border-radius:7px 0 0 7px!important}.submenu button.selected{height:38px!important;padding:0 13px!important;background:linear-gradient(100deg,#2478bd,#2c8ed1)!important;color:#fff!important;font-weight:700;box-shadow:0 7px 17px rgba(17,94,154,.23)}.submenu button.selected:before{left:-16px;width:7px;height:7px;background:#66dde2;border:2px solid #21435f;box-sizing:content-box;box-shadow:0 0 0 3px rgba(102,221,226,.12)}.submenu button:not(.selected):hover{color:#cce1ee!important;background:rgba(64,156,211,.07)}

/* Login branding follows the quieter scale and spacing of the new official site header. */
.login-topbar{height:68px;padding:0 clamp(24px,5.2vw,76px)}.login-topbar img{width:122px}.login-stage{min-height:calc(100vh - 116px)}
@media(max-width:760px){.login-topbar{height:64px;padding:0 22px}.login-topbar img{width:112px}.mobile-brand img{width:120px}.mobile-brand{margin-bottom:30px}}

.captcha-row{display:grid;grid-template-columns:minmax(0,1fr) 124px;gap:10px}.captcha-row .field{height:54px}.captcha-image{height:54px;position:relative;overflow:hidden;border:1px solid #d8e2eb;border-radius:10px;background:linear-gradient(145deg,#f6faff,#e9f3fa);color:#24405d;display:grid;place-items:center;box-shadow:0 5px 16px rgba(31,52,73,.035)}.captcha-image:before,.captcha-image:after,.captcha-image i,.captcha-image em{content:"";position:absolute;height:1px;width:145%;background:rgba(64,156,211,.25);transform:rotate(-13deg)}.captcha-image:after{transform:rotate(17deg);background:rgba(237,103,43,.23)}.captcha-image i{transform:rotate(35deg);background:rgba(38,50,68,.13)}.captcha-image em{transform:rotate(-37deg);background:rgba(64,156,211,.17)}.captcha-image b{position:relative;z-index:1;font:italic 700 21px/1 Georgia,serif;letter-spacing:7px;margin-left:7px;text-shadow:1px 1px 0 #fff;transform:rotate(-2deg)}.captcha-image:hover{border-color:#409cd3;background:#edf7ff}.captcha-field.has-error .field{border-color:#d8584d;box-shadow:0 0 0 3px rgba(216,88,77,.08)}.captcha-error{display:block;margin:7px 0 -7px 2px;color:#c7473e;font-size:11px}.captcha-field:has(.captcha-error){margin-bottom:26px}
@media(max-width:390px){.captcha-row{grid-template-columns:minmax(0,1fr) 108px}.captcha-image b{letter-spacing:5px}}

/* Navigation hierarchy uses the blue and orange from the 1bu2bu brand. */
.sidebar nav button.active{background:linear-gradient(100deg,#2d87c5,#409cd3);box-shadow:0 8px 20px rgba(48,135,194,.25)}.sidebar nav button.active:before{display:none}.sidebar nav button.active i{background:rgba(255,255,255,.13);color:#fff}.submenu{padding:5px 6px 6px 38px}.submenu:before{display:none}.submenu button{border-radius:8px!important}.submenu button.selected{background:linear-gradient(100deg,#e95f29,#f18447)!important;border-radius:8px!important;box-shadow:0 7px 17px rgba(237,103,43,.22)}.submenu button.selected:before{display:none}

/* Light enterprise-management illustration for the login banner. */
.login-story{background:#f5f9fd;border:1px solid #e5edf5;box-shadow:0 30px 70px rgba(38,77,112,.16)}.login-story:before{display:none}.login-banner-image{position:absolute;z-index:1;left:0;right:0;bottom:10px;width:100%;height:78%;object-fit:contain;object-position:center bottom}.login-story .story-copy{top:6.5%;left:7.5%;right:7.5%;color:#18212f}.login-story .eyebrow{color:#409cd3}.login-story .story-copy h1{font-size:clamp(29px,2.25vw,38px);line-height:1.2;margin:13px 0 0;color:#18212f}.login-story .story-copy p,.login-story .orbit-visual,.login-story .story-foot{display:none}

/* Light admin shell, visually aligned with the login page and reference UI. */
.dashboard{background:#eff5f7}.sidebar{background:#fbfdfe;color:#536979;border-right:1px solid #dfe9ed}.side-brand{background:#fff;border-bottom:1px solid #e2ebef;padding:0 25px}.side-brand img{width:122px;filter:none;opacity:1}.sidebar nav small{color:#9aa9b3}.sidebar nav>div>button{color:#627786}.sidebar nav>div>button:hover{background:#edf6f8;color:#247fae}.sidebar nav button.active{background:#dff2f6;color:#2188b5;box-shadow:none}.sidebar nav button.active i{background:#ccecf2;color:#238eb8}.sidebar nav button.active b{color:#238eb8}.submenu button{color:#718592!important}.submenu button:not(.selected):hover{color:#2786ad!important;background:#eef7f9}.submenu button.selected{background:#fff0e9!important;color:#dc612b!important;box-shadow:none;border:1px solid #ffd9c7}.side-user{background:#f5f9fa;border-top:1px solid #dfe9ed}.side-user b{color:#354b5c}.side-user small{color:#899aa6}.side-user button{color:#8798a4}.topbar{background:#fff;border-bottom:1px solid #dfe8ec;box-shadow:0 5px 18px rgba(39,68,85,.055)}.system-title{color:#233b4e}.topbar .collapse{background:#edf5f7;color:#315c70;border:1px solid #dce9ed}.top-actions>button:not(.top-profile){color:#6d8492}.top-actions>span{background:#dde7eb}.top-profile b{color:#354b5c}.top-profile i{color:#8498a5}.top-profile em{background:#e6f4f7;color:#2789ad}.top-actions>button.top-refresh{background:#edf5f7!important;color:#3e7186!important;border:1px solid #dce9ed!important}.top-actions>button.top-refresh:hover{background:#409cd3!important;color:#fff!important}.bell i{color:#fff}.is-collapsed .side-brand img{filter:none}

/* Full-bleed login artwork with content layered above it. */
.login-banner-image{inset:0;width:100%;height:100%;object-fit:cover;object-position:center center}.login-story:after{content:"";position:absolute;z-index:2;inset:0;background:linear-gradient(180deg,rgba(255,255,255,.96) 0%,rgba(248,252,255,.78) 18%,rgba(248,252,255,.16) 42%,rgba(255,255,255,0) 64%);pointer-events:none}.login-story .story-copy{z-index:3;top:6.5%}.login-story .story-copy h1{text-shadow:0 2px 10px rgba(255,255,255,.92)}.login-story .story-copy p{display:block;color:#586f81;font-size:13px;line-height:1.75;margin-top:12px;text-shadow:0 1px 8px #fff}

/* Brand-color selected states with reversed white type. */
.sidebar nav button.active{background:linear-gradient(100deg,#318ecb,#409cd3);color:#fff;box-shadow:0 7px 17px rgba(64,156,211,.22)}.sidebar nav button.active i{background:rgba(255,255,255,.14);color:#fff}.sidebar nav button.active b{color:#fff}.submenu button.selected{background:linear-gradient(100deg,#e95f29,#ed7943)!important;color:#fff!important;border-color:transparent!important;box-shadow:0 7px 15px rgba(237,103,43,.18)}

/* V2 artwork keeps the active scene smaller and below the copy. */
.login-banner-image{object-fit:contain;object-position:center center}.login-story:after{background:linear-gradient(180deg,rgba(255,255,255,.72) 0%,rgba(255,255,255,.28) 29%,rgba(255,255,255,0) 48%)}

/* Compact icon rail controlled from the button beside the system title. */
.dashboard.is-collapsed{grid-template-columns:64px 1fr}.collapse{font-size:23px;font-weight:700;line-height:1;transition:.2s}.collapse:hover{border-color:#bcd5df;background:#e7f2f5}.is-collapsed .sidebar nav{padding:20px 8px}.is-collapsed .sidebar nav>div>button{width:48px;height:44px;margin:4px 0;justify-content:center;padding:0;border-radius:9px}.is-collapsed .sidebar nav button i{width:29px;height:29px;margin:0;display:grid;place-items:center}.is-collapsed .side-brand{padding:0;justify-content:center}.is-collapsed .side-brand img{width:51px;height:38px;object-fit:cover;object-position:left center}.is-collapsed .side-user>span{width:36px;height:36px}.is-collapsed .workspace{min-width:0}

/* Increase all working-area type by roughly two pixels, except the page H1. */
.content .title-row p{font-size:14px}.content .primary{font-size:15px}.content .compact-stats span{font-size:12px}.content .compact-stats b{font-size:21px}.content .filter-field>label{font-size:13px}.content .searchbox input,.content .select select{font-size:14px}.content .reset,.content .filter-search{font-size:14px}.content .table-tools b{font-size:17px}.content .table-tools span{font-size:12px}.content .table-tools button{font-size:18px}.content th{font-size:12px}.content td{font-size:13px}.content .code,.content .project-name b{font-size:13px}.content .row-actions button{font-size:12px}.content .pagination>span{font-size:12px}.content .pagination button{font-size:13px}.content table{min-width:1220px}

/* Menu hover changes only the background; text and icons keep their current contrast. */
.sidebar nav>div>button:not(.active):hover{background:#f1f5f6!important;color:#627786!important}.sidebar nav>div>button:not(.active):hover i,.sidebar nav>div>button:not(.active):hover b{color:inherit!important}.sidebar nav>div>button.active:hover{background:linear-gradient(100deg,#348fc9,#429ed4)!important;color:#fff!important}.sidebar nav>div>button.active:hover i,.sidebar nav>div>button.active:hover b{color:#fff!important}.submenu button:not(.selected):hover{background:#f2f5f6!important;color:#718592!important}.submenu button.selected:hover{background:linear-gradient(100deg,#e7622d,#ef7c47)!important;color:#fff!important}

/* Rounded hamburger control matching the supplied administration reference. */
.topbar .menu-collapse{width:46px;height:46px;flex:0 0 46px;margin-right:22px;padding:0;border:1px solid #d5e5e9;border-radius:13px;background:#fff;color:#173f50;display:flex;visibility:visible;flex-direction:column;align-items:center;justify-content:center;gap:5px;box-shadow:none;transition:background .18s,border-color .18s}.topbar .menu-collapse span{display:block;width:22px;height:3px;border-radius:3px;background:currentColor}.topbar .menu-collapse:hover{background:#f1f7f8;border-color:#c7dde2}.topbar .menu-collapse:focus-visible{outline:3px solid rgba(64,156,211,.18);outline-offset:2px}

/* Fill the login card horizontally and crop only the artwork's empty upper area. */
.login-story .login-banner-image{inset:0;width:100%;height:100%;object-fit:cover;object-position:center center;transform:none}

/* Keep every first-level navigation label visually prominent. */
.sidebar nav>div>button>span{font-weight:700}

/* Menu starts directly below the brand after removing the section caption. */
.sidebar nav{padding-top:16px}

/* Shared footer for the sign-in and administration pages. */
.workspace{display:flex;flex-direction:column;min-height:100vh}.workspace .content{width:100%;flex:1}.site-footer{position:relative;z-index:2;min-height:48px;padding:12px 24px;display:flex;align-items:center;justify-content:center;gap:14px;color:#8a9aa6;font-size:12px;line-height:1.5}.site-footer i{width:1px;height:12px;background:#d6e0e5}.dashboard-footer{border-top:1px solid #dfe8ec;background:rgba(255,255,255,.62)}.login-footer span{margin-left:0}@media(max-width:600px){.site-footer{flex-wrap:wrap;gap:5px 10px;padding:12px 18px}.site-footer i{display:none}}

/* Compact login typography and controls, aligned with the supplied reference. */
.login-panel form{width:min(392px,100%);padding:24px}.login-panel .login-kicker{font-size:10px;letter-spacing:1.8px}.login-panel h2{font-size:24px;margin:9px 0 6px}.login-panel .login-note{font-size:12px;margin-bottom:27px}.login-panel label{margin-bottom:16px}.login-panel label>span{font-size:11px;margin-bottom:7px}.login-panel .field,.login-panel .captcha-row .field,.login-panel .captcha-image{height:48px;border-radius:9px}.login-panel .field b{padding-left:14px;font-size:13px}.login-panel .field input{padding:0 11px;font-size:13px}.login-panel .eye{padding:11px;font-size:12px}.login-panel .captcha-row{grid-template-columns:minmax(0,1fr) 116px;gap:9px}.login-panel .captcha-image b{font-size:18px;letter-spacing:6px}.login-panel .login-options{margin:0 0 19px}.login-panel .login-options button{font-size:11px}.login-panel .checkbox i{width:15px;height:15px;font-size:10px}.login-panel .login-button{height:48px;font-size:14px}.login-panel .login-button span{font-size:16px}.login-panel .safe-login{font-size:10px;margin-top:18px}.login-panel .captcha-error{font-size:10px}

/* Preserve the expanded logo scale when the sidebar becomes an icon rail. */
.is-collapsed .side-brand{padding:0 0 0 12px;justify-content:flex-start;overflow:hidden}.is-collapsed .side-brand img{width:122px;height:auto;max-width:none;flex:0 0 122px;object-fit:initial;object-position:initial;clip-path:inset(0 82px 0 0)}

/* Soft selected navigation colors echo the project-name icon palette. */
.sidebar nav button.active{background:#e9f5fb;color:#3188bc;box-shadow:none}.sidebar nav button.active i{background:#d9edf8;color:#3188bc}.sidebar nav button.active b{color:#3188bc}.sidebar nav>div>button.active:hover{background:#e1f0f8!important;color:#2d7eae!important}.sidebar nav>div>button.active:hover i,.sidebar nav>div>button.active:hover b{color:#2d7eae!important}.submenu button.selected{background:#fff2eb!important;color:#dc7040!important;border:1px solid #ffe0d1!important;box-shadow:none}.submenu button.selected:hover{background:#fce9df!important;color:#d56534!important;border-color:#fbd5c2!important}

/* A lighter, more compact sidebar toggle. */
.topbar .menu-collapse{width:38px;height:38px;flex-basis:38px;margin-right:18px;border-radius:10px;gap:4px}.topbar .menu-collapse span{width:18px;height:2px}

/* Compact but stronger page title. */
.content .title-row h1{font-size:20px;font-weight:800;line-height:1.25}

/* Give more horizontal space to the main workspace. */
@media(min-width:1101px){.dashboard:not(.is-collapsed){grid-template-columns:220px 1fr}}

/* Unified workspace typography. */
.content .title-row p{font-size:12px;font-weight:400}.content .filter-field>label{font-size:12px;font-weight:700}.content .searchbox input,.content .select select{font-size:13px}.content table th,.content table td,.content table b{font-weight:400}.content .primary,.content .reset,.content .filter-search,.content .row-actions button,.content .pagination button{font-size:13px}

.content table th{font-weight:600}.content .searchbox input,.content .select select{font-weight:400}

/* Consistent slim chevrons and the profile action menu. */
.ui-chevron,.sidebar nav button b.nav-chevron{display:inline-block;width:8px;height:8px;border:0;border-right:2px solid currentColor;border-bottom:2px solid currentColor;border-radius:1px;background:transparent}.ui-chevron{transform:rotate(45deg) translateY(-2px)}.content .select i.ui-chevron{right:14px;top:14px}.sidebar nav button b.nav-chevron{flex:0 0 8px;margin-left:auto;margin-right:3px;transform:rotate(-45deg);transition:transform .18s}.sidebar nav button.active b.nav-chevron{transform:rotate(45deg);color:#3188bc}.profile-menu-wrap{position:relative}.top-profile .ui-chevron{margin-left:3px;color:#718694}.profile-dropdown{position:absolute;z-index:30;right:0;top:calc(100% + 10px);min-width:126px;padding:6px;background:#fff;border:1px solid #dfe8ec;border-radius:10px;box-shadow:0 12px 30px rgba(39,68,85,.16)}.profile-dropdown:before{content:"";position:absolute;right:17px;top:-5px;width:9px;height:9px;background:#fff;border-left:1px solid #dfe8ec;border-top:1px solid #dfe8ec;transform:rotate(45deg)}.profile-dropdown button{position:relative;z-index:1;width:100%;height:36px;padding:0 12px;border:0;border-radius:7px;background:transparent;color:#526877;font-size:13px;text-align:left}.profile-dropdown button:hover{background:#f1f6f8;color:#287fae}.profile-dropdown button:last-child{color:#d86b3d}.profile-dropdown button:last-child:hover{background:#fff2eb;color:#cf5f31}

.content .compact-stats span{font-size:10px}.content .compact-stats b{font-size:16px;font-weight:700}

/* Smaller pastel table labels. */
.content .type-tag,.content .plain-tag,.content .status{display:inline-flex;align-items:center;padding:4px 8px;border-radius:5px;font-size:11px;line-height:1.2;font-weight:400}.content .type-tag{background:#edf7ff;color:#438db9}.content .status{background:#eaf8f3;color:#338c70}.content .plain-tag{background:#fff3ec;color:#d8784b}.content .status i{width:5px;height:5px;margin-right:5px;box-shadow:none}

/* Compress the page-heading band without changing typography. */
.content{padding-top:18px}.title-row{margin-bottom:12px}.title-row h1{margin-bottom:4px}.compact-stats{gap:8px}.compact-stats article{height:48px;padding:2px 12px 10px}@media(min-width:901px){.heading-actions .primary{height:48px}}

/* Larger search and reset glyphs without changing button labels. */
.top-actions>button.top-search{font-size:21px}.content .searchbox .search-icon{font-size:18px;line-height:1}.filter-actions .action-icon{display:inline-block;font-size:15px;line-height:1;vertical-align:-1px;margin-right:2px}

.content .compact-stats span{margin-bottom:-1px}

/* Icon tiles appear only on unselected first-level navigation items. */
.sidebar nav>div>button:not(.active)>i{width:27px;height:27px;margin-right:2px;border-radius:7px;display:grid;place-items:center;background:#eef4f6;color:#607d8b}.sidebar nav>div>button:not(.active):hover>i{background:#e3eef2;color:#4d7485}.sidebar nav>div>button.active>i{background:transparent}

/* Lock the requested +2px icon sizing against generic button rules. */
.top-actions>button.top-search{font-size:23px!important}.content .searchbox b.search-icon{font-size:20px!important}.content .filter-search .action-icon{font-size:17px!important}.content .reset .action-icon{font-size:15px!important}

/* Purpose-built notification bell with rim and clapper. */
.bell-icon{position:relative;display:block;width:18px;height:19px;margin:auto;color:currentColor}.bell-icon:before{content:"";position:absolute;left:3px;top:1px;width:12px;height:13px;border:1.8px solid currentColor;border-bottom:0;border-radius:8px 8px 4px 4px}.bell-icon b{position:absolute;left:1px;bottom:4px;width:16px;height:2px;border-radius:2px;background:currentColor}.bell-icon:after{content:"";position:absolute;left:7px;bottom:0;width:5px;height:3px;border-radius:0 0 4px 4px;background:currentColor}.bell:hover .bell-icon{color:#409cd3}

/* Lightly separate the actions column from project data. */
.content table th:last-child{background:#f3f7fa;border-left:1px solid #e5edf1}.content table td:last-child{background:#fbfdfe;border-left:1px solid #edf2f4}.content tbody tr:hover td:last-child{background:#f5fafc}

/* Five quiet project-status tones derived from the brand blue and orange. */
.content .status-progress{background:#edf7ff;color:#3f88b6}.content .status-progress i{background:#409cd3}.content .status-pending{background:#f1f7fa;color:#66899d}.content .status-pending i{background:#78a9bf}.content .status-complete{background:#edf7f5;color:#43897b}.content .status-complete i{background:#59a38f}.content .status-paused{background:#fff5ee;color:#c37850}.content .status-paused i{background:#e49262}.content .status-stopped{background:#f8f1ef;color:#9e7065}.content .status-stopped i{background:#c68a7b}

.sidebar nav>div>button>i{margin-right:6px}.is-collapsed .sidebar nav>div>button>i{margin-right:0}

/* Plain navigation icons without background containers. */
.sidebar nav>div>button>i,.sidebar nav>div>button:not(.active)>i,.sidebar nav>div>button:not(.active):hover>i,.sidebar nav>div>button.active>i{width:28px;height:auto;margin-right:4px;border-radius:0;display:inline-block;background:transparent!important}.is-collapsed .sidebar nav>div>button>i{margin-right:0}

/* Collapsed rail: selected item gets one clear rounded tile and no chevrons. */
.is-collapsed .sidebar nav>div>button.active{width:44px;height:44px;margin:4px auto;border:1px solid #cfe6f1;border-radius:10px;background:#e9f5fb;box-shadow:none}.is-collapsed .sidebar nav>div>button.active>i{width:auto;height:auto;margin:0;background:transparent!important}.is-collapsed .sidebar nav>div>button .nav-chevron{display:none!important}

/* Keep every collapsed navigation icon centred in one vertical rail. */
.is-collapsed .sidebar nav{width:auto;margin:14px 6px 16px;padding:8px 0;border:1px solid #e4edf1;border-radius:13px;background:#f5f9fa;display:flex;flex-direction:column;align-items:center}
.is-collapsed .sidebar nav>div{width:100%;display:flex;flex-direction:column;align-items:center}
.is-collapsed .sidebar nav>div>button,.is-collapsed .sidebar nav>div>button.active{width:44px;margin:4px auto;padding:0;justify-content:center}
.is-collapsed .sidebar nav>div>button>i,.is-collapsed .sidebar nav>div>button.active>i{width:28px;margin:0;text-align:center}

.compact-stats article{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:0 12px}

/* Custom filter dropdowns with a slightly roomier option rhythm. */
.filter-field .custom-select{position:relative;width:100%}
.filter-field .select-trigger{width:100%;height:42px;padding:0 14px;border:1px solid #dfe5eb;border-radius:6px;background:#fafdff;color:#526174;font-size:13px;font-weight:400;display:flex;align-items:center;justify-content:space-between;text-align:left}
.filter-field .select-trigger:focus,.filter-field .select-trigger[aria-expanded="true"]{border-color:#9fc9db;box-shadow:0 0 0 3px rgba(64,156,211,.09);outline:0}
.filter-field .select-trigger .ui-chevron{position:static;flex:0 0 8px;margin:0 2px 4px 12px;transition:transform .18s}
.filter-field .select-trigger[aria-expanded="true"] .ui-chevron{transform:rotate(225deg) translate(-1px,-1px)}
.filter-field .select-menu{position:absolute;z-index:25;left:0;right:0;top:calc(100% + 6px);padding:6px;background:#fff;border:1px solid #dfe8ec;border-radius:9px;box-shadow:0 12px 28px rgba(39,68,85,.14)}
.filter-field .select-menu>button{width:100%;min-height:38px;padding:0 10px;border:0;border-radius:6px;background:transparent;color:#526174;font-size:13px;font-weight:400;display:flex;align-items:center;text-align:left}
.filter-field .select-menu>button+button{margin-top:2px}
.filter-field .select-menu>button:hover,.filter-field .select-menu>button:focus-visible{background:#f1f7f9;outline:0}
.filter-field .select-menu>button.is-selected{background:#edf5f8;color:#287fae}
.filter-field .status-select .select-menu>button{justify-content:flex-start}
.filter-field .status-select .select-menu .status{position:static;margin:0;font-size:11px;font-weight:400}
.filter-field .status-select .select-menu .status i{position:static;pointer-events:auto}

/* Brand-blue hover feedback for every dropdown option. */
.filter-field .select-menu>button:hover,.filter-field .select-menu>button:focus-visible{background:#e8f5fb;color:#2f84b5;box-shadow:inset 2px 0 #409cd3}

/* Reduce the bell's visual weight to match the adjacent search icon. */
.bell-icon{width:16px;height:17px}
.bell-icon:before{left:3px;top:1px;width:10px;height:11px;border-width:1.6px}
.bell-icon b{left:1px;bottom:4px;width:14px;height:2px}
.bell-icon:after{left:6px;bottom:0;width:4px;height:3px}

/* Keep the compact stat pair centred, with one extra pixel between label and value. */
.content .compact-stats article{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding-top:0;padding-bottom:0}
.content .compact-stats span{margin-bottom:0}

/* Further compact the sidebar toggle, including its outer control. */
.topbar .menu-collapse{width:32px;height:32px;flex-basis:32px;margin-right:14px;border-radius:8px;gap:3px}
.topbar .menu-collapse span{width:15px;height:2px}

/* Present refresh as a peer icon, without its former button container. */
.top-actions>button.top-refresh{width:37px!important;height:37px!important;margin-right:0;border:0!important;border-radius:0!important;background:transparent!important;color:#6d8492!important;font-size:21px!important;box-shadow:none!important}
.top-actions>button.top-refresh:hover{border:0!important;background:transparent!important;color:#409cd3!important;transform:none}

/* Give the personal-centre avatar initial stronger definition. */
.top-profile em{font-weight:700}

/* Dashboard home, rebuilt in the project-management visual system. */
.dashboard-home .dashboard-title-row{align-items:center}
.dashboard-alert-panel{margin-bottom:18px;padding:16px 18px 18px;background:#fff;border:1px solid #e3eaf1;border-radius:12px;box-shadow:0 8px 24px rgba(31,56,78,.045)}
.dashboard-section-head,.dashboard-card-head{display:flex;align-items:center;justify-content:space-between}
.dashboard-section-head{min-height:44px;margin-bottom:12px}
.dashboard-section-head h2,.dashboard-card-head h2{margin:0;color:#263f52;font-size:15px;font-weight:700}
.dashboard-section-head p{margin:4px 0 0;color:#8a99a5;font-size:12px;font-weight:400}
.dashboard-section-head>button{height:32px;padding:0 12px;border:1px solid #d9e8ee;border-radius:7px;background:#f7fbfc;color:#4385a2;font-size:13px}
.dashboard-section-head>button:hover{border-color:#bddce8;background:#eaf6fb;color:#2e82af}
.dashboard-alert-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.dashboard-alert-card{position:relative;min-width:0;height:82px;padding:0 14px;border:1px solid #e4ebef;border-radius:10px;background:#fbfdfe;display:flex;align-items:center;text-align:left;transition:background .18s,border-color .18s,transform .18s,box-shadow .18s}
.dashboard-alert-card:hover{border-color:#c8e1eb;background:#f4fafc;box-shadow:0 7px 18px rgba(43,97,122,.08);transform:translateY(-1px)}
.dashboard-alert-icon{width:40px;height:40px;flex:0 0 40px;margin-right:12px;border-radius:10px;display:grid;place-items:center;font-size:14px;font-weight:700}
.dashboard-alert-icon.blue{background:#e8f5fb;color:#3188bc}.dashboard-alert-icon.cyan{background:#eaf8f5;color:#3a9586}.dashboard-alert-icon.violet{background:#f2effb;color:#776ab0}.dashboard-alert-icon.orange{background:#fff1e9;color:#dc7040}
.dashboard-alert-copy{min-width:0;display:flex;flex-direction:column}.dashboard-alert-copy b{color:#213b4f;font-size:20px;line-height:1;font-weight:700}.dashboard-alert-copy em{margin-top:7px;color:#667b89;font-size:12px;font-style:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dashboard-card-chevron{position:absolute;right:14px;width:7px;height:7px;border-right:1.5px solid #a9bbc4;border-bottom:1.5px solid #a9bbc4;transform:rotate(-45deg)}
.dashboard-task-card{margin-bottom:0}.dashboard-card-head{height:52px;padding:0 18px;border-bottom:1px solid #edf1f3}.dashboard-card-head>div{display:flex;align-items:center;gap:10px}.dashboard-card-head>div span{padding:3px 7px;border-radius:10px;background:#eef4f6;color:#8596a0;font-size:10px}.dashboard-card-head>button{width:32px;height:32px;border:1px solid #dce8ed;border-radius:7px;background:#fff;color:#67808e;font-size:16px}.dashboard-card-head>button:hover{background:#eaf6fb;color:#3188bc}
.dashboard-task-card table{min-width:900px}.dashboard-task-card td{height:54px}.task-priority{display:inline-flex;align-items:center;justify-content:center;min-width:34px;padding:4px 8px;border-radius:5px;font-size:11px;font-weight:400}.priority-low{background:#edf7ff;color:#438db9}.priority-medium{background:#fff5e9;color:#bc7b35}.priority-high{background:#e53935;color:#fff}
@media(max-width:1200px){.dashboard-alert-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.dashboard-alert-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.dashboard-alert-grid{grid-template-columns:1fr}.dashboard-section-head p{display:none}}

/* Project-management stats: one more pixel of label/value spacing, centred as a unit. */
.dashboard:not(.dashboard-home) .compact-stats article{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding-top:0;padding-bottom:0}
.dashboard:not(.dashboard-home) .compact-stats span{margin-bottom:1px}

/* Collapsed menu stays centred without a surrounding rail container. */
.is-collapsed .sidebar nav{margin:14px 0 16px;padding:8px 0;border:0;border-radius:0;background:transparent;box-shadow:none}

/* Increase only the main top-bar search icon by two pixels. */
.top-actions>button.top-search{font-size:25px!important}

/* Project-management table toolbar and simplified page-size footer. */
.management-table-toolbar{height:54px;padding:0 16px 0 18px;border-bottom:1px solid #edf1f3;display:flex;align-items:center;justify-content:space-between}
.management-table-toolbar>div{display:flex;align-items:center}
.management-table-toolbar>div:first-child span{color:#758895;font-size:12px}.management-table-toolbar>div:first-child b{margin-left:7px;color:#28475c;font-size:16px;font-weight:700}.management-table-toolbar>div:first-child em{margin-left:3px;color:#8b9ba5;font-size:12px;font-style:normal}
.management-table-toolbar>div:last-child{gap:8px}.management-table-toolbar button{height:34px;padding:0 15px;border-radius:7px;font-size:13px;font-weight:400}
.management-table-toolbar .table-export{border:1px solid #cfe1e8;background:#fff;color:#3f7891}.management-table-toolbar .table-export:hover{border-color:#abd0df;background:#f1f8fa;color:#287fae}
.management-table-toolbar .table-add{border:1px solid #409cd3;background:#409cd3;color:#fff;box-shadow:0 6px 14px rgba(64,156,211,.18)}.management-table-toolbar .table-add:hover{border-color:#348fc8;background:#348fc8}
.management-table-footer{height:48px;padding:0 18px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid #edf1f3}.management-table-footer span{color:#8998a3;font-size:12px;font-weight:400}
.management-pagination{display:flex}.management-pagination button{width:30px;height:30px;margin-left:-1px;border:1px solid #dfe7eb;background:#fff;color:#687d89;font-size:13px;font-weight:400}.management-pagination button:first-child{border-radius:6px 0 0 6px}.management-pagination button:last-child{border-radius:0 6px 6px 0}.management-pagination button:hover:not(:disabled):not(.on){position:relative;border-color:#acd2e1;background:#eef7fa;color:#2d83b0}.management-pagination button.on{position:relative;border-color:#409cd3;background:#409cd3;color:#fff}.management-pagination button:disabled{color:#c4cdd2;background:#fafcfc}

/* More compact project-table toolbar. */
.management-table-toolbar{height:46px;padding-right:14px;padding-left:16px}
.management-table-toolbar>div:first-child span,.management-table-toolbar>div:first-child em{font-size:11px}
.management-table-toolbar>div:first-child b{font-size:15px}
.management-table-toolbar button{height:28px;padding:0 12px;border-radius:6px;font-size:12px}

/* Match filter actions to the compact table-toolbar controls. */
.content .filter-actions{gap:6px;margin-top:12px}
.content .filter-actions .reset,.content .filter-actions .filter-search{height:28px;padding:0 12px;border-radius:6px;font-size:12px}
.content .filter-actions .reset .action-icon{font-size:13px!important}
.content .filter-actions .filter-search .action-icon{font-size:14px!important}

/* Sidebar motion: rail resize, label fade, chevron turn and submenu accordion. */
.dashboard{transition:grid-template-columns .28s cubic-bezier(.4,0,.2,1)}
.side-brand img{transition:width .28s cubic-bezier(.4,0,.2,1),transform .28s cubic-bezier(.4,0,.2,1)}
.sidebar nav>div>button{transition:width .28s cubic-bezier(.4,0,.2,1),margin .28s cubic-bezier(.4,0,.2,1),background-color .18s,color .18s}
.sidebar nav>div>button>span{display:block;max-width:150px;opacity:1;overflow:hidden;white-space:nowrap;transform:translateX(0);transition:max-width .24s cubic-bezier(.4,0,.2,1),opacity .16s ease,transform .24s cubic-bezier(.4,0,.2,1)}
.is-collapsed .sidebar nav>div>button>span{display:block;max-width:0;opacity:0;transform:translateX(-6px);pointer-events:none}
.sidebar nav button b.nav-chevron{transition:transform .24s cubic-bezier(.4,0,.2,1),color .18s}
.sidebar nav button.menu-open b.nav-chevron{transform:rotate(45deg)}
.sidebar nav button.active:not(.menu-open) b.nav-chevron{transform:rotate(-45deg)}
.submenu{max-height:0;opacity:0;overflow:hidden;visibility:hidden;pointer-events:none;transform:translateY(-6px);margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;transition:max-height .3s cubic-bezier(.4,0,.2,1),opacity .18s ease,transform .3s cubic-bezier(.4,0,.2,1),padding .3s cubic-bezier(.4,0,.2,1),margin .3s cubic-bezier(.4,0,.2,1),visibility 0s linear .3s}
.submenu.is-open{max-height:230px;opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0);margin-top:3px;margin-bottom:8px;padding-top:5px;padding-bottom:6px;transition:max-height .3s cubic-bezier(.4,0,.2,1),opacity .2s ease .05s,transform .3s cubic-bezier(.4,0,.2,1),padding .3s cubic-bezier(.4,0,.2,1),margin .3s cubic-bezier(.4,0,.2,1),visibility 0s}
@media(prefers-reduced-motion:reduce){.dashboard,.side-brand img,.sidebar nav>div>button,.sidebar nav>div>button>span,.sidebar nav button b.nav-chevron,.submenu,.submenu.is-open{transition:none}}

/* Project detail drawer: summary header, two-column sections and inline edit mode. */
.project-drawer-layer{position:fixed;z-index:100;inset:0}.project-drawer-mask{position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;background:rgba(0,0,0,.28);animation:project-mask-in .24s ease both}.project-detail-drawer{position:absolute;top:0;right:0;width:min(680px,calc(100vw - 96px));height:100dvh;background:#fff;box-shadow:-14px 0 38px rgba(22,43,57,.16);display:flex;flex-direction:column;animation:project-drawer-in .28s cubic-bezier(.22,.8,.3,1) both}.project-drawer-layer.is-closing .project-drawer-mask{animation:project-mask-out .24s ease both}.project-drawer-layer.is-closing .project-detail-drawer{animation:project-drawer-out .26s cubic-bezier(.4,0,.8,.2) both}
.project-drawer-layer.is-content-update .project-drawer-mask,.project-drawer-layer.is-content-update .project-detail-drawer{animation:none}
.project-drawer-header{min-height:94px;flex:0 0 94px;padding:0 20px 0 22px;background:#fff;border-bottom:1px solid #e1eaee;display:flex;align-items:center;justify-content:space-between}.project-drawer-heading{min-width:0;display:flex;align-items:center}.project-drawer-mark{width:44px;height:44px;flex:0 0 44px;margin-right:12px;border-radius:11px;background:#e7f4fa;color:#3188bc;display:grid;place-items:center;font-size:17px;font-weight:700}.project-drawer-heading>div{min-width:0}.project-drawer-heading small{display:block;margin-bottom:2px;color:#8799a4;font-size:10px}.project-drawer-heading h2{max-width:430px;margin:0;color:#213a4d;font-size:17px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.project-drawer-heading p{margin:5px 0 0;display:flex;align-items:center;gap:8px}.project-drawer-heading p>b{color:#82939d;font-size:11px;font-weight:400}.project-drawer-heading .status{display:inline-flex;align-items:center;padding:3px 7px;border-radius:5px;font-size:10px;font-style:normal}.project-drawer-heading .status i,.project-detail-field>.status i{position:static;width:5px;height:5px;margin-right:5px;border-radius:50%;box-shadow:none}
.project-drawer-actions{display:flex;align-items:center;gap:8px}.project-drawer-actions button{border-radius:6px}.project-drawer-edit{height:28px;padding:0 12px;border:1px solid #cfe1e8;background:#fff;color:#3f7891;display:inline-flex;align-items:center;justify-content:center;gap:5px;font-size:12px;font-weight:400}.project-drawer-edit:hover{border-color:#abd0df;background:#f1f8fa;color:#287fae}.drawer-edit-icon{position:relative;width:13px;height:13px;flex:0 0 13px}.drawer-edit-icon::before{content:"";position:absolute;left:2px;top:6px;width:9px;height:3px;border-radius:1px;background:currentColor;transform:rotate(-43deg);transform-origin:center}.drawer-edit-icon::after{content:"";position:absolute;left:1px;bottom:1px;width:3px;height:3px;border-left:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(-8deg)}.project-drawer-close{width:36px;height:34px;border:0;background:transparent;color:#71848e;font-size:21px;line-height:1}.project-drawer-close:hover{background:#f0f5f7;color:#385d6f}
.project-drawer-body{flex:1;min-height:0;overflow:auto;padding:4px 22px 24px}.project-detail-section{margin:0;padding:18px 0 17px;background:transparent;border:0;border-bottom:1px solid #e7edef;border-radius:0;box-shadow:none}.project-detail-section:last-child{border-bottom:0}.project-detail-section-title{display:flex;align-items:center;margin-bottom:14px}.project-detail-section-title h3{margin:0;color:#2b4557;font-size:13px;font-weight:700}.project-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:30px;row-gap:17px}.project-detail-field{min-width:0;display:flex;flex-direction:column}.project-detail-field.is-wide{grid-column:1/-1}.project-detail-field>span{margin-bottom:6px;color:#7f909a;font-size:12px;font-weight:400}.project-detail-field>strong{color:#344f61;font-size:13px;font-weight:400;line-height:1.55;word-break:break-word}.project-detail-field>input,.project-detail-field>select,.project-detail-field>textarea{width:100%;border:1px solid #cedde4;border-radius:6px;background:#fff;color:#354f60;font:400 13px/1.4 inherit;outline:0}.project-detail-field>input,.project-detail-field>select{height:34px;padding:0 9px}.project-detail-field>textarea{min-height:84px;padding:8px 9px;resize:vertical}.project-detail-field>input:focus,.project-detail-field>select:focus,.project-detail-field>textarea:focus{border-color:#83bdd6;box-shadow:0 0 0 3px rgba(64,156,211,.09)}.project-detail-field>input[readonly]{background:#f2f5f6;color:#8a99a1}.project-detail-field>.status{align-self:flex-start;display:inline-flex;align-items:center;padding:4px 8px;border-radius:5px;font-size:11px;font-style:normal}.project-drawer-heading .status-progress,.project-detail-field>.status-progress{background:#edf7ff;color:#3f88b6}.project-drawer-heading .status-progress i,.project-detail-field>.status-progress i{background:#409cd3}.project-drawer-heading .status-pending,.project-detail-field>.status-pending{background:#f1f7fa;color:#66899d}.project-drawer-heading .status-pending i,.project-detail-field>.status-pending i{background:#78a9bf}.project-drawer-heading .status-complete,.project-detail-field>.status-complete{background:#edf7f5;color:#43897b}.project-drawer-heading .status-complete i,.project-detail-field>.status-complete i{background:#59a38f}.project-drawer-heading .status-paused,.project-detail-field>.status-paused{background:#fff5ee;color:#c37850}.project-drawer-heading .status-paused i,.project-detail-field>.status-paused i{background:#e49262}.project-drawer-heading .status-stopped,.project-detail-field>.status-stopped{background:#f8f1ef;color:#9e7065}.project-drawer-heading .status-stopped i,.project-detail-field>.status-stopped i{background:#c68a7b}
.project-drawer-footer{height:60px;flex:0 0 60px;padding:0 18px;background:#fff;border-top:1px solid #dfe8ec;display:flex;align-items:center;justify-content:space-between}.project-drawer-footer>span{color:#8999a2;font-size:11px}.project-drawer-footer>div{display:flex;gap:8px}.project-drawer-footer button{height:32px;padding:0 15px;border:1px solid #d5e2e7;border-radius:7px;background:#fff;color:#627986;font-size:12px}.project-drawer-footer .drawer-save{border-color:#409cd3;background:#409cd3;color:#fff;box-shadow:0 6px 14px rgba(64,156,211,.18)}
.project-view-field{min-height:42px;padding:0;border:0;background:transparent;cursor:default;justify-content:flex-start}.project-edit-field{min-height:0;padding:0;border:0;border-radius:0;background:transparent;justify-content:flex-start}.project-edit-field>span{margin-bottom:7px;color:#7f909a}.project-edit-field>input,.project-edit-field>select{height:36px}.project-edit-field>textarea{min-height:82px}.project-discard-confirm{position:absolute;z-index:120;left:50%;top:50%;width:min(360px,calc(100vw - 32px));padding:22px;border:1px solid #e3e9ec;border-radius:13px;background:#fff;box-shadow:0 22px 60px rgba(17,35,48,.3);text-align:center;transform:translate(-50%,-50%);animation:discard-confirm-in .18s ease both}.project-discard-confirm .discard-icon{width:34px;height:34px;margin:0 auto 10px;border-radius:50%;background:#fff2e9;color:#d9784d;display:grid;place-items:center;font-size:18px;font-weight:700}.project-discard-confirm h3{margin:0;color:#263f50;font-size:15px}.project-discard-confirm p{margin:8px 0 18px;color:#82929c;font-size:11px;line-height:1.6}.project-discard-confirm>div:last-child{display:flex;justify-content:center;gap:8px}.project-discard-confirm button{height:32px;padding:0 15px;border:1px solid #d6e1e6;border-radius:7px;background:#fff;color:#627784;font-size:12px}.project-discard-confirm .discard-danger{border-color:#df835c;background:#df835c;color:#fff}.project-discard-confirm button:hover{filter:brightness(.98)}
.project-detail-field>input,.project-detail-field>select,.project-detail-field>textarea{font-family:inherit;font-size:13px;font-weight:400;line-height:1.4}

/* Boolean project fields use switches in create/edit mode. */
.project-edit-field.is-switch-field{justify-content:flex-start}
.project-switch{width:auto;height:32px;align-self:flex-start;padding:0;border:0;background:transparent;color:#7d8e98;display:inline-flex;align-items:center;gap:8px;font-family:inherit;font-size:12px;cursor:pointer}
.project-switch-track{position:relative;width:36px;height:20px;flex:0 0 36px;border-radius:10px;background:#cfd9de;box-shadow:inset 0 0 0 1px rgba(69,91,103,.08);transition:background .2s ease,box-shadow .2s ease}
.project-switch-track i{position:absolute;left:3px;top:3px;width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(39,63,76,.24);transform:translateX(0);transition:transform .2s cubic-bezier(.4,0,.2,1)}
.project-switch>b{min-width:13px;color:#84949d;font-size:12px;font-weight:400;text-align:left;transition:color .2s ease}
.project-switch.is-on .project-switch-track{background:#409cd3;box-shadow:inset 0 0 0 1px rgba(28,112,162,.12)}
.project-switch.is-on .project-switch-track i{transform:translateX(16px)}
.project-switch.is-on>b{color:#3188bc}
.project-switch:hover .project-switch-track{box-shadow:0 0 0 3px rgba(64,156,211,.1)}
.project-switch:focus-visible{outline:0}.project-switch:focus-visible .project-switch-track{box-shadow:0 0 0 3px rgba(64,156,211,.2)}
@media(prefers-reduced-motion:reduce){.project-switch-track,.project-switch-track i,.project-switch>b{transition:none}}

/* Redrawn compact edit icon: pencil only. */
.project-drawer-edit .drawer-edit-icon{position:relative;width:14px;height:14px;flex:0 0 14px}
.project-drawer-edit .drawer-edit-icon::before{content:"";position:absolute;left:1px;top:5px;width:13px;height:4px;border:0;border-radius:1px;background:currentColor;clip-path:polygon(0 50%,23% 0,100% 0,100% 100%,23% 100%);transform:rotate(-45deg);transform-origin:center}
.project-drawer-edit .drawer-edit-icon::after{display:none}
@keyframes project-mask-in{from{opacity:0}to{opacity:1}}@keyframes project-mask-out{from{opacity:1}to{opacity:0}}@keyframes project-drawer-in{from{transform:translateX(100%)}to{transform:translateX(0)}}@keyframes project-drawer-out{from{transform:translateX(0)}to{transform:translateX(100%)}}@keyframes discard-confirm-in{from{opacity:0;transform:translate(-50%,-46%) scale(.98)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}
@media(max-width:760px){.project-detail-drawer{width:100vw}.project-drawer-heading h2{max-width:230px}.project-detail-grid{grid-template-columns:1fr}.project-detail-field.is-wide{grid-column:auto}}
@media(prefers-reduced-motion:reduce){.project-drawer-mask,.project-detail-drawer,.project-drawer-layer.is-closing .project-drawer-mask,.project-drawer-layer.is-closing .project-detail-drawer{animation-duration:.01ms}}

/* Quiet bullet markers clarify the secondary navigation level. */
.sidebar .submenu button{position:relative;padding-left:24px!important}
.sidebar .submenu button::before{content:"";display:block!important;position:absolute;left:11px;top:50%;width:4px;height:4px;border:0;border-radius:50%;background:#b6c7cf;box-shadow:none;transform:translateY(-50%);transition:background .18s,box-shadow .18s,transform .18s}
.sidebar .submenu button:not(.selected):hover::before{background:#6ea9c1;transform:translateY(-50%) scale(1.15)}
.sidebar .submenu button.selected::before{left:11px;top:50%;width:5px;height:5px;background:#df7546;border:0;box-shadow:0 0 0 3px rgba(223,117,70,.12);box-sizing:border-box;transform:translateY(-50%)}

/* Small download-to-tray icon for the export action. */
.management-table-toolbar .table-export{display:inline-flex;align-items:center;justify-content:center;gap:5px}
.table-export-icon{position:relative;width:14px;height:14px;flex:0 0 14px;color:currentColor}.table-export-icon>i{position:absolute;left:6px;top:0;width:1.5px;height:8px;border-radius:2px;background:currentColor}.table-export-icon>i::after{content:"";position:absolute;left:-2.5px;bottom:0;width:5px;height:5px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg)}.table-export-icon::after{content:"";position:absolute;left:2px;bottom:0;width:10px;height:4px;border:1.5px solid currentColor;border-top:0;border-radius:0 0 2px 2px;box-sizing:border-box}

/* Align all top-right controls to one shared horizontal centreline. */
.top-actions{height:40px;align-items:center}
.top-actions>button:not(.top-profile){width:37px;height:37px;padding:0;display:flex;align-items:center;justify-content:center;align-self:center;line-height:1}
.top-actions .profile-menu-wrap{height:37px;display:flex;align-items:center}
.top-actions .top-profile{height:37px;padding:0 2px;align-items:center;line-height:1}
.top-actions>span{align-self:center}

/* One continuous global header across the logo and workspace. */
.dashboard{--sidebar-width:220px}
.dashboard:not(.is-collapsed){grid-template-columns:var(--sidebar-width) minmax(0,1fr)}
.dashboard.is-collapsed{--sidebar-width:64px;grid-template-columns:var(--sidebar-width) minmax(0,1fr)}
.sidebar{width:100%;border-right:1px solid #e5eaf0;background:#fbfdfe;box-sizing:border-box}
.side-brand{width:100%;height:64px;flex:0 0 64px;padding:0 20px;background:#fff;border-bottom:1px solid #e5eaf0;box-sizing:border-box}
.topbar{height:64px;padding:0 24px 0 14px;background:#fff;border-bottom:1px solid #e5eaf0;box-shadow:none;box-sizing:border-box}
.topbar .menu-collapse{margin-right:12px}
.sidebar-collapse-row{height:40px;flex:0 0 40px;padding:4px 10px 4px 0;display:flex;align-items:center;justify-content:flex-end;border-bottom:1px solid #edf2f4;transition:padding .28s cubic-bezier(.4,0,.2,1)}.sidebar-boundary-toggle{width:30px;height:30px;margin:0;padding:0;border:1px solid #d5e3e8;border-radius:7px;background:#fff;color:#527181;display:grid;place-items:center;box-shadow:none;transition:border-color .18s,background .18s,color .18s}.sidebar-boundary-toggle:hover{border-color:#afd0dc;background:#f2f8fa;color:#247fae}.sidebar-boundary-toggle:focus-visible{outline:3px solid rgba(64,156,211,.18);outline-offset:1px}.sidebar-toggle-icon{position:relative;width:16px;height:15px;border:1.5px solid currentColor;border-radius:3px;display:block;transition:transform .24s cubic-bezier(.4,0,.2,1)}.sidebar-toggle-icon::before{content:"";position:absolute;left:3px;top:0;bottom:0;width:1.5px;background:currentColor}.sidebar-toggle-icon::after{content:"";position:absolute;right:2px;top:4px;width:4px;height:4px;border-left:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg)}.is-collapsed .sidebar-collapse-row{padding:4px 0;justify-content:center}.is-collapsed .sidebar-toggle-icon{transform:scaleX(-1)}
@media(max-width:760px){.sidebar-boundary-toggle{display:none}}
.sidebar-collapse-row{border-bottom:0}
.sidebar-collapse-row{height:34px;flex-basis:34px;padding:2px 10px 2px 0}.sidebar-collapse-row+nav{padding-top:2px}.is-collapsed .sidebar-collapse-row{padding:2px 0}.is-collapsed .sidebar-collapse-row+nav{margin-top:0;padding-top:2px}

/* Dedicated create-project page: compact grouped form with persistent actions. */
.project-create-page{background:#eff5f7}.create-project-workspace{width:100%;max-width:1120px;flex:1;margin:0 auto;padding:20px 28px 28px}.create-project-heading{min-height:72px;margin-bottom:14px;display:flex;align-items:flex-end;justify-content:space-between;gap:24px}.create-back{margin:0 0 9px;padding:0;border:0;background:transparent;color:#568298;font-size:11px}.create-back span{margin-right:4px;font-size:17px;line-height:0;vertical-align:-1px}.create-back:hover{color:#2583ae}.create-project-heading h1{margin:0;color:#20394b;font-size:21px;font-weight:700}.create-project-heading p{margin:6px 0 0;color:#84949f;font-size:12px;font-weight:400}.create-draft-state{height:27px;margin-bottom:2px;padding:0 10px;border:1px solid #dbe7eb;border-radius:14px;background:#f7fafb;color:#82939d;display:inline-flex;align-items:center;font-size:11px;white-space:nowrap}.create-draft-state i{width:6px;height:6px;margin-right:6px;border-radius:50%;background:#a6b5bd}.create-draft-state.is-dirty{border-color:#f1d8c9;background:#fff7f1;color:#bd714e}.create-draft-state.is-dirty i{background:#df835c}.create-form-sheet{overflow:hidden;border:1px solid #e1eaee;border-radius:10px;background:#fff;box-shadow:0 5px 18px rgba(31,58,75,.035)}.create-form-sheet .project-detail-section{padding:20px 24px}.create-form-sheet .project-detail-section-title{margin-bottom:17px}.create-form-sheet .project-detail-section-title h3{font-size:14px}.create-form-sheet .project-detail-grid{column-gap:34px;row-gap:18px}.create-form-sheet .project-edit-field>span{font-size:12px}.create-form-sheet .project-edit-field>input,.create-form-sheet .project-edit-field>select{height:38px}.create-form-sheet .project-edit-field>textarea{min-height:96px}.create-form-actions{position:sticky;z-index:6;bottom:0;min-height:58px;margin-top:14px;padding:10px 14px 10px 18px;border:1px solid #e0e8ec;border-radius:9px;background:rgba(255,255,255,.96);box-shadow:0 -5px 18px rgba(30,53,68,.055);backdrop-filter:blur(10px);display:flex;align-items:center;justify-content:space-between;gap:20px}.create-form-actions>span{color:#8a99a2;font-size:11px}.create-form-actions>div{display:flex;gap:8px}.create-form-actions button{height:32px;padding:0 15px;border-radius:6px;font-size:12px}.create-cancel{border:1px solid #d4e1e6;background:#fff;color:#607783}.create-cancel:hover{background:#f5f9fa}.create-submit{border:1px solid #409cd3;background:#409cd3;color:#fff;box-shadow:0 5px 12px rgba(64,156,211,.18)}.create-submit:hover{border-color:#348fc8;background:#348fc8}.create-submit span{margin-right:4px}
@media(max-width:760px){.create-project-workspace{padding:16px 14px 22px}.create-project-heading{align-items:flex-start}.create-project-heading p,.create-draft-state,.create-form-actions>span{display:none}.create-form-sheet .project-detail-section{padding:18px 16px}.create-form-actions{justify-content:flex-end}}

/* Compact adaptive filter row: actions stay right and wrap only as one group. */
.content .filter-panel{padding:10px 14px;display:flex;flex-wrap:wrap;align-items:flex-end;gap:8px 12px}.content .filter-grid{min-width:0;flex:1 1 620px;display:flex;flex-wrap:nowrap;align-items:flex-end;gap:10px}.content .filter-field{min-width:120px;max-width:180px;flex:1 1 140px}.content .filter-field:first-child{max-width:210px}.content .filter-field>label{margin:0 0 5px 1px}.content .filter-field .searchbox,.content .filter-field .select-trigger{height:34px}.content .filter-actions{flex:0 0 auto;margin:0 0 3px auto;align-self:flex-end;justify-content:flex-end;gap:6px}.content .filter-actions .reset,.content .filter-actions .filter-search{height:28px;flex:none;white-space:nowrap}
@media(max-width:760px){.content .filter-grid{flex:1 1 100%;flex-wrap:wrap}.content .filter-field,.content .filter-field:first-child{min-width:calc(50% - 5px);max-width:none;flex:1 1 calc(50% - 5px)}.content .filter-actions{width:100%;margin-left:auto;justify-content:flex-end}.content .filter-actions .reset,.content .filter-actions .filter-search{flex:none}}
@media(max-width:520px){.content .filter-field,.content .filter-field:first-child{min-width:100%;flex-basis:100%}}

/* Balanced project toolbar with selectable table rows. */
.management-table-toolbar{height:58px;padding:0 14px 0 16px;justify-content:space-between}.management-toolbar-summary{min-width:0;display:flex;align-items:center;gap:10px}.management-table-toolbar .management-toolbar-summary b{margin:0;color:#294759;font-size:13px;font-weight:700;white-space:nowrap}.management-table-toolbar .management-toolbar-summary span{padding:0;border:0;background:transparent;color:#8797a1;font-size:11px;font-weight:400;white-space:nowrap}.management-toolbar-summary .clear-selection{height:auto;padding:3px 4px;border:0;background:transparent;color:#3687ae;font-size:11px}.management-toolbar-summary .clear-selection:hover{background:#eef7fa}.management-toolbar-actions{flex:0 0 auto}.management-table-toolbar .table-batch{border:1px solid #d1e1e7;background:#f7fafb;color:#55717f}.management-table-toolbar .table-batch:hover{border-color:#afd0dc;background:#eef7fa;color:#287fae}.selection-cell{width:40px;min-width:40px;padding-left:14px!important;padding-right:6px!important;text-align:center}.selection-cell input{width:14px;height:14px;margin:0;accent-color:#409cd3;cursor:pointer;vertical-align:middle}.content tbody tr.is-selected-row{background:#f2f9fc}.content tbody tr.is-selected-row:hover{background:#edf7fb}.management-table-footer{justify-content:flex-end}.management-footer-right{margin-left:auto;gap:12px}

/* Drawer overlay keeps the underlying page intact and softly dimmed. */
.project-drawer-mask{background:rgba(0,0,0,.28);backdrop-filter:none}
.project-detail-drawer{background:#fff;box-shadow:-10px 0 30px rgba(21,38,50,.14)}
.project-drawer-body{background:#fff}

/* Keep the header visually continuous; begin the sidebar divider below it. */
.sidebar{border-right:0}
.sidebar::after{content:"";position:absolute;z-index:5;top:64px;right:0;bottom:0;width:1px;background:#e5eaf0;pointer-events:none}

/* Re-centred export icon: every part shares the same 7px vertical axis. */
.table-export-icon>i{left:50%;top:0;width:1.5px;height:7px;transform:translateX(-50%)}
.table-export-icon>i::after{display:none}
.table-export-icon::before{content:"";position:absolute;left:3px;top:5px;width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid currentColor}
.table-export-icon::after{left:1.5px;bottom:0;width:11px;height:4px}

/* Project name is the single, discoverable hotspot for opening details. */
.content .project-name-link{padding:0;border:0;border-radius:7px;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}
.content .project-name-link b,.content .project-name-link .project-mark{transition:color .18s,background .18s,transform .18s}
.content .project-name-link:hover b{color:#2f86b5}
.content .project-name-link:hover .project-mark{transform:translateY(-1px);filter:saturate(1.08)}
.content .project-name-link:focus-visible{outline:3px solid rgba(64,156,211,.16);outline-offset:3px}

/* Move totals to the footer and keep toolbar actions right-aligned. */
.management-table-toolbar{justify-content:flex-end}
.management-toolbar-actions{display:flex;align-items:center;gap:8px}
.management-toolbar-actions .table-export-icon{color:currentColor;font-size:initial}
.management-table-total,.management-footer-right{display:flex;align-items:center}.management-table-total{gap:4px}
.management-table-total span{color:#758895;font-size:11px}.management-table-total b{margin:0;color:#28475c;font-size:11px;font-weight:700}.management-table-total em{margin:0;color:#8b9ba5;font-size:11px;font-style:normal}
.management-footer-right{gap:12px}.management-footer-right>span{white-space:nowrap}

/* Final navigation and toolbar state overrides. */
.sidebar .submenu button.selected{border:1px solid transparent!important;background:#edf7fb!important;color:#2d83b0!important;box-shadow:none!important;font-weight:700}.sidebar .submenu button.selected:hover{border-color:transparent!important;background:#e5f2f8!important;color:#247aa8!important}.sidebar .submenu button.selected::before{display:block!important;width:5px;height:5px;background:#409cd3;border:0;box-shadow:0 0 0 3px rgba(64,156,211,.12)}
.management-table-toolbar{height:58px;padding:0 14px 0 16px;justify-content:space-between}

/* Sidebar control sits on the brand/workspace boundary and uses a panel icon. */
.topbar{padding-left:30px}.sidebar-boundary-toggle{position:fixed;z-index:35;left:calc(var(--sidebar-width) - 15px);top:17px;width:30px;height:30px;margin:0;padding:0;overflow:visible;border:1px solid #cfdfe5;border-radius:7px;background:#fff;color:#4d7487;display:grid;place-items:center;box-shadow:0 3px 10px rgba(31,55,70,.08);transition:left .28s cubic-bezier(.4,0,.2,1),border-color .18s,background .18s,color .18s}.sidebar-boundary-toggle:hover{border-color:#a9cbd8;background:#f2f8fa;color:#247fae}.sidebar-boundary-toggle:focus-visible{outline:3px solid rgba(64,156,211,.18);outline-offset:2px}.sidebar-toggle-icon{position:relative;width:18px;height:16px;border:1.5px solid currentColor;border-radius:3px;display:block;transition:transform .24s cubic-bezier(.4,0,.2,1)}.sidebar-toggle-icon::before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;border-right:1px solid currentColor;border-radius:2px 0 0 2px;background:rgba(64,156,211,.16)}.sidebar-toggle-icon::after{content:"";position:absolute;right:3px;top:5px;width:4px;height:4px;border-left:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg)}.is-collapsed .sidebar-toggle-icon{transform:scaleX(-1)}.sidebar-boundary-toggle::after{content:attr(data-tooltip);position:absolute;left:50%;top:37px;padding:5px 8px;border-radius:5px;background:#233844;color:#fff;font-size:10px;font-weight:400;line-height:1.2;white-space:nowrap;opacity:0;visibility:hidden;transform:translate(-50%,-3px);transition:opacity .16s,transform .16s,visibility .16s;pointer-events:none}.sidebar-boundary-toggle:hover::after,.sidebar-boundary-toggle:focus-visible::after{opacity:1;visibility:visible;transform:translate(-50%,0)}
@media(max-width:760px){.topbar{padding-left:16px}.sidebar-boundary-toggle{display:none}}

/* Refined compact brand mark leaves clear space for the boundary control. */
.is-collapsed .side-brand{padding:0 0 0 10px;justify-content:flex-start;overflow:hidden}.is-collapsed .side-brand img{width:32px;height:28px;max-width:none;flex:0 0 32px;object-fit:cover;object-position:left center;clip-path:none}

/* Project names are the single blue details entry; rows use a quiet hover. */
.management-table-toolbar+.table-wrap .project-name-link b{color:#3188bc;font-weight:400;transition:color .18s}.management-table-toolbar+.table-wrap .project-name-link:hover b{color:#226f9d;text-decoration:underline;text-underline-offset:3px}.management-table-toolbar+.table-wrap tbody tr:hover{background:#f6fafc}.management-table-toolbar+.table-wrap tbody tr.is-selected-row:hover{background:#edf7fb}

/* Use the real square brand mark in the collapsed sidebar. */
.side-brand .brand-icon{display:none}.is-collapsed .side-brand{padding:0 0 0 9px;justify-content:flex-start}.is-collapsed .side-brand .brand-full{display:none}.is-collapsed .side-brand .brand-icon{display:block;width:26px;height:26px;max-width:26px;flex:0 0 26px;object-fit:contain;object-position:center;clip-path:none}

/* Fixed three-state project status specification. */
:root{--project-progress-bg:#eaf5fc;--project-progress-text:#2f7fab;--project-progress-dot:#409cd3;--project-stopped-bg:#fff1ea;--project-stopped-text:#b96945;--project-stopped-dot:#d77a50;--project-complete-bg:#eaf6f2;--project-complete-text:#3f806f;--project-complete-dot:#54a08a}.content .status-progress,.project-drawer-heading .status-progress,.project-detail-field>.status-progress{background:var(--project-progress-bg);color:var(--project-progress-text)}.content .status-progress i,.project-drawer-heading .status-progress i,.project-detail-field>.status-progress i{background:var(--project-progress-dot)}.content .status-stopped,.project-drawer-heading .status-stopped,.project-detail-field>.status-stopped{background:var(--project-stopped-bg);color:var(--project-stopped-text)}.content .status-stopped i,.project-drawer-heading .status-stopped i,.project-detail-field>.status-stopped i{background:var(--project-stopped-dot)}.content .status-complete,.project-drawer-heading .status-complete,.project-detail-field>.status-complete{background:var(--project-complete-bg);color:var(--project-complete-text)}.content .status-complete i,.project-drawer-heading .status-complete i,.project-detail-field>.status-complete i{background:var(--project-complete-dot)}
.management-table-toolbar+.table-wrap .status-progress{background:var(--project-progress-bg);color:var(--project-progress-text)}.management-table-toolbar+.table-wrap .status-progress i{background:var(--project-progress-dot)}.management-table-toolbar+.table-wrap .status-stopped{background:var(--project-stopped-bg);color:var(--project-stopped-text)}.management-table-toolbar+.table-wrap .status-stopped i{background:var(--project-stopped-dot)}.management-table-toolbar+.table-wrap .status-complete{background:var(--project-complete-bg);color:var(--project-complete-text)}.management-table-toolbar+.table-wrap .status-complete i{background:var(--project-complete-dot)}
.management-table-toolbar+.table-wrap .plain-tag{background:#edf6fb;color:#3f7f9f}
@media(min-width:761px){.content .filter-field:not(:first-child){max-width:144px;flex-basis:120px}}

/* Keep the actions column visible while other project columns scroll. */
.management-table-toolbar+.table-wrap th:last-child,.management-table-toolbar+.table-wrap td:last-child{position:sticky;right:0;min-width:112px;border-left:1px solid #e5edf1;box-shadow:-8px 0 12px -12px rgba(33,58,73,.42)}.management-table-toolbar+.table-wrap th:last-child{z-index:4;background:#f3f7fa}.management-table-toolbar+.table-wrap td:last-child{z-index:2;background:#fbfdfe}.management-table-toolbar+.table-wrap tbody tr:hover td:last-child{background:#f5fafc}.management-table-toolbar+.table-wrap tbody tr.is-selected-row td:last-child,.management-table-toolbar+.table-wrap tbody tr.is-selected-row:hover td:last-child{background:#edf7fb}
.management-table-toolbar + .table-wrap td {
  height: 48px;
}

.management-table-toolbar + .table-wrap th:last-child,
.management-table-toolbar + .table-wrap td:last-child {
  width: 136px;
  min-width: 136px;
  max-width: 136px;
  padding-left: 8px;
  padding-right: 8px;
  text-align: right;
}

.management-table-toolbar + .table-wrap td:last-child .row-actions {
  justify-content: flex-end;
  gap: 2px;
}

.management-table-toolbar + .table-wrap td:last-child .row-actions button {
  padding-left: 3px;
  padding-right: 3px;
}

.management-table-toolbar + .table-wrap th:last-child {
  text-align: left;
}

.management-table-toolbar + .table-wrap th:nth-child(3),
.management-table-toolbar + .table-wrap td:nth-child(3) {
  width: 196px;
  max-width: 196px;
}

.management-table-toolbar + .table-wrap td:nth-child(3) .project-name-link b {
  max-width: 196px;
}

/* Three-level navigation rebuilt around the new information architecture. */
.sidebar-menu .submenu.is-open {
  max-height: 900px;
}

.sidebar-menu .nav-secondary {
  min-width: 0;
}

.sidebar-menu .submenu .nav-level-2 {
  width: 100%;
  padding-right: 12px !important;
  display: flex;
  align-items: center;
}

.sidebar-menu .submenu .nav-level-2 > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-menu .submenu .nav-level-2 > .nav-chevron {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  margin: 0 2px 0 auto;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(-45deg);
}

.sidebar-menu .submenu .nav-level-2.menu-open > .nav-chevron {
  transform: rotate(45deg);
}

.sidebar-menu .submenu .nav-level-2.is-current-group {
  color: #3188bc !important;
  background: #f1f8fb !important;
  font-weight: 700;
}

.thirdmenu {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: max-height .25s cubic-bezier(.4,0,.2,1), opacity .16s ease, transform .25s cubic-bezier(.4,0,.2,1), visibility 0s linear .25s;
}

.thirdmenu.is-open {
  max-height: 260px;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: max-height .25s cubic-bezier(.4,0,.2,1), opacity .16s ease .04s, transform .25s cubic-bezier(.4,0,.2,1), visibility 0s;
}

.sidebar-menu .submenu .thirdmenu .nav-level-3 {
  width: 100%;
  height: 30px !important;
  margin: 1px 0 !important;
  padding: 0 10px 0 38px !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: transparent !important;
  color: #8b9ca6 !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  box-shadow: none !important;
  display: flex;
  align-items: center;
}

.sidebar-menu .submenu .thirdmenu .nav-level-3::before {
  left: 25px;
  width: 3px;
  height: 3px;
  background: #c3d0d6;
  box-shadow: none;
}

.sidebar-menu .submenu .thirdmenu .nav-level-3:hover {
  color: #47788f !important;
  background: #f3f7f8 !important;
}

.sidebar-menu .submenu .thirdmenu .nav-level-3.selected {
  color: #2d83b0 !important;
  background: #edf7fb !important;
  font-weight: 700 !important;
}

.sidebar-menu .submenu .thirdmenu .nav-level-3.selected::before {
  left: 25px;
  width: 4px;
  height: 4px;
  background: #409cd3;
  box-shadow: 0 0 0 3px rgba(64,156,211,.1);
}

@media(prefers-reduced-motion:reduce) {
  .thirdmenu,
  .thirdmenu.is-open {
    transition: none;
  }
}

/* Unified top-bar notification icon: clean outlined bell with handle and clapper. */
.top-actions .bell svg.bell-icon {
  width: 17px;
  height: 17px;
  margin: auto;
  overflow: visible;
  color: inherit;
}

.top-actions .bell svg.bell-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

/* Reimbursement page: the project-management visual system with expense-specific data. */
.reimbursement-content .compact-stats article:last-child{width:98px}
.reimbursement-content .compact-stats article:last-child b{font-size:16px;letter-spacing:-.2px}
.reimbursement-filters .filter-grid{flex-basis:860px}
.reimbursement-filters .filter-field:first-child{max-width:124px;flex-basis:108px}
.reimbursement-filters .filter-field:nth-child(2){max-width:124px;flex-basis:108px}
.reimbursement-filters .reimbursement-person{max-width:190px;flex-basis:170px}
.reimbursement-filters .select-trigger>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.reimbursement-card .management-table-toolbar{justify-content:space-between}
.reimbursement-card .management-table-footer{justify-content:space-between}
.reimbursement-table{min-width:1370px}
.reimbursement-table th,.reimbursement-table td{white-space:nowrap}
.reimbursement-table th:nth-child(2),.reimbursement-table td:nth-child(2){width:108px;min-width:108px}
.reimbursement-table th:nth-child(3),.reimbursement-table td:nth-child(3){width:78px!important;min-width:78px;max-width:78px!important}
.reimbursement-table th:nth-child(4),.reimbursement-table td:nth-child(4){width:242px;min-width:242px;max-width:242px}
.reimbursement-table th:nth-child(5),.reimbursement-table td:nth-child(5){width:86px;min-width:86px;text-align:right}
.reimbursement-table th:nth-child(6),.reimbursement-table td:nth-child(6){width:96px;min-width:96px}
.reimbursement-table th:nth-child(7),.reimbursement-table td:nth-child(7){width:76px;min-width:76px}
.reimbursement-table th:nth-child(8),.reimbursement-table td:nth-child(8){width:86px;min-width:86px}
.reimbursement-table th:nth-child(9),.reimbursement-table td:nth-child(9){width:250px;min-width:250px;max-width:250px}
.reimbursement-table .expense-category,.reimbursement-table .note-cell>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.reimbursement-table .note-cell{vertical-align:middle}
.reimbursement-table .amount-cell{color:#3f5666;font-variant-numeric:tabular-nums}
.reimbursement-table th:last-child,.reimbursement-table td:last-child{width:202px!important;min-width:202px!important;max-width:202px!important}
.reimbursement-table td:last-child .reimbursement-actions{gap:4px}
.reimbursement-table td:last-child .reimbursement-actions button{padding:4px 6px}
.reimbursement-table td:last-child .reimbursement-actions .approve-action{border-radius:5px;background:#eaf5fc;color:#2d82b0}
.reimbursement-table td:last-child .reimbursement-actions .approve-action:hover{background:#dceefa}
.reimbursement-table .status-pending{background:#fff5e9;color:#b57935}
.reimbursement-table .status-pending i{background:#e4a24b}
.reimbursement-table .status-complete{background:#eaf6f2;color:#3f806f}
.reimbursement-table .status-complete i{background:#54a08a}
.reimbursement-table .status-stopped{background:#fff1ea;color:#b96945}
.reimbursement-table .status-stopped i{background:#d77a50}
@media(max-width:1050px){.reimbursement-filters .filter-grid{flex-wrap:wrap}.reimbursement-filters .filter-field,.reimbursement-filters .filter-field:first-child,.reimbursement-filters .filter-field:nth-child(2),.reimbursement-filters .reimbursement-person{max-width:none;flex:1 1 150px}}
@media(max-width:680px){.reimbursement-content .compact-stats article:last-child{width:auto}}

/* The expense category is the primary, discoverable entry to the shared detail drawer. */
.reimbursement-table .reimbursement-name-link{max-width:100%;padding:0;border:0;border-radius:5px;background:transparent;color:#3188bc;font:inherit;text-align:left;cursor:pointer}
.reimbursement-table .reimbursement-name-link:hover{color:#226f9d;text-decoration:underline;text-underline-offset:3px}
.reimbursement-table .reimbursement-name-link:focus-visible{outline:3px solid rgba(64,156,211,.16);outline-offset:3px}
.reimbursement-table .reimbursement-name-link .expense-category{color:inherit}
.reimbursement-drawer{width:min(680px,92vw)}
.reimbursement-drawer .project-detail-grid{column-gap:32px}

/* Reimbursement list now has one details entry; attachment and approval actions live in the drawer. */
.reimbursement-table th:nth-child(9),.reimbursement-table td:nth-child(9){width:82px;min-width:82px;max-width:82px}
.reimbursement-card .management-table-toolbar+.table-wrap .reimbursement-table th:last-child,
.reimbursement-card .management-table-toolbar+.table-wrap .reimbursement-table td:last-child{position:static!important;width:270px!important;min-width:270px!important;max-width:270px!important;padding-left:14px;padding-right:14px;text-align:left;border-left:0;box-shadow:none}
.reimbursement-card .management-table-toolbar+.table-wrap .reimbursement-table th:last-child{background:#f8fafc}
.reimbursement-card .management-table-toolbar+.table-wrap .reimbursement-table td:last-child{background:transparent}
.reimbursement-card .management-table-toolbar+.table-wrap .reimbursement-table tbody tr:hover td:last-child{background:transparent}
.attachment-indicator{display:inline-flex;align-items:center;gap:5px;color:#66808f;font-size:11px}
.attachment-indicator i{position:relative;width:8px;height:13px;border:1.5px solid currentColor;border-radius:5px;transform:rotate(42deg)}
.attachment-indicator i::after{content:"";position:absolute;left:1.5px;top:2px;width:3px;height:7px;border:1.2px solid currentColor;border-radius:3px}

/* Drawer attachment gallery and image preview. */
.expense-attachment-section .project-detail-section-title{display:flex;align-items:center;justify-content:space-between}
.expense-attachment-section .project-detail-section-title>span{color:#8a99a2;font-size:11px}
.expense-attachment-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.expense-attachment-item{position:relative;min-width:0;padding:8px;border:1px solid #e1e9ed;border-radius:8px;background:#fbfdfe;display:grid;grid-template-columns:54px minmax(0,1fr) 22px;align-items:center;gap:9px}
.expense-attachment-thumb{width:54px;height:54px;padding:0;overflow:hidden;border:1px solid #dce6ea;border-radius:6px;background:#eef3f5;cursor:zoom-in}
.expense-attachment-thumb img{width:100%;height:100%;display:block;object-fit:cover;object-position:top}
.expense-attachment-item>div{min-width:0;display:flex;flex-direction:column;gap:4px}
.expense-attachment-item>div b{overflow:hidden;color:#405867;font-size:11px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}
.expense-attachment-item>div span{color:#93a1a9;font-size:10px}
.expense-attachment-remove{width:22px;height:22px;padding:0;border:0;border-radius:5px;background:transparent;color:#9aa8b0;font-size:16px;line-height:1}
.expense-attachment-remove:hover{background:#fff0ec;color:#c56c4c}
.expense-attachment-empty{grid-column:1/-1;padding:24px;border:1px dashed #d8e3e8;border-radius:8px;background:#fbfdfe;color:#94a2aa;font-size:11px;text-align:center}
.expense-upload{height:52px;margin-top:10px;padding:0 14px;border:1px dashed #bcd6e1;border-radius:8px;background:#f7fbfc;display:flex;align-items:center;gap:10px;cursor:pointer}
.expense-upload:hover{border-color:#83b9ce;background:#f0f8fb}
.expense-upload input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.expense-upload span{color:#3186ae;font-size:12px;font-weight:600}
.expense-upload small{color:#92a1a9;font-size:10px}
.expense-image-viewer{position:fixed;z-index:90;inset:0;display:grid;place-items:center;padding:28px}
.expense-image-mask{position:absolute;inset:0;border:0;background:rgba(12,24,31,.72)}
.expense-image-viewer figure{position:relative;z-index:1;width:min(680px,88vw);height:min(820px,88vh);margin:0;overflow:hidden;border-radius:10px;background:#fff;box-shadow:0 24px 70px rgba(0,0,0,.28);display:grid;grid-template-rows:48px minmax(0,1fr) 36px}
.expense-image-viewer figure header{padding:0 12px 0 16px;border-bottom:1px solid #e6ecef;display:flex;align-items:center;justify-content:space-between}
.expense-image-viewer figure header b{color:#344f60;font-size:12px}
.expense-image-viewer figure header button{width:30px;height:30px;padding:0;border:0;border-radius:6px;background:transparent;color:#738894;font-size:20px}
.expense-image-viewer figure header button:hover{background:#edf4f6;color:#2b718f}
.expense-image-viewer figure>div{min-height:0;padding:18px;overflow:auto;background:#e9eef1;display:grid;place-items:center}
.expense-image-viewer figure img{max-width:100%;max-height:100%;border-radius:3px;box-shadow:0 8px 30px rgba(36,53,64,.16)}
.expense-image-viewer figcaption{padding:0 16px;border-top:1px solid #e6ecef;color:#8a99a2;font-size:10px;display:flex;align-items:center}

/* Approval belongs to the record context and is visible only to the assigned approver. */
.expense-approval-footer>span{display:flex;align-items:center;gap:7px;color:#697f8c}
.expense-approval-footer>span i{width:7px;height:7px;border-radius:50%;background:#e4a24b;box-shadow:0 0 0 3px #fff2df}
.expense-approval-footer .expense-reject-button{border-color:#e8cfc4;color:#b86b4d}
.expense-approval-footer .expense-reject-button:hover{border-color:#dcae9b;background:#fff4ef}
.expense-reject-layer{position:fixed;z-index:95;inset:0;display:grid;place-items:center;padding:24px}
.expense-reject-mask{position:absolute;inset:0;border:0;background:rgba(12,24,31,.36)}
.expense-reject-layer>section{position:relative;z-index:1;width:min(420px,92vw);padding:22px;border-radius:10px;background:#fff;box-shadow:0 22px 56px rgba(24,42,53,.24)}
.expense-reject-layer h3{margin:0;color:#293f4d;font-size:16px}
.expense-reject-layer p{margin:7px 0 14px;color:#82919a;font-size:11px;line-height:1.6}
.expense-reject-layer textarea{width:100%;min-height:92px;padding:10px 12px;resize:vertical;border:1px solid #d9e4e9;border-radius:7px;color:#445c6b;font:12px/1.6 inherit;box-sizing:border-box}
.expense-reject-layer textarea:focus{border-color:#91bfd1;outline:3px solid rgba(64,156,211,.1)}
.expense-reject-layer>section>div{margin-top:14px;display:flex;justify-content:flex-end;gap:8px}
.expense-reject-layer>section>div button{height:31px;padding:0 14px;border:1px solid #d7e2e7;border-radius:6px;background:#fff;color:#657b87;font-size:12px}
.expense-reject-layer>section>div .expense-reject-submit{border-color:#c77a5b;background:#c77a5b;color:#fff}
@media(max-width:620px){.expense-attachment-grid{grid-template-columns:1fr}.expense-image-viewer{padding:10px}.expense-upload small{display:none}}

/* Project archive has no row-selection mechanism; rebalance columns after removing it. */
.project-table{min-width:1080px}
.project-card .management-table-toolbar+.table-wrap .project-table th:nth-child(1),
.project-card .management-table-toolbar+.table-wrap .project-table td:nth-child(1){width:116px;min-width:116px}
.project-card .management-table-toolbar+.table-wrap .project-table th:nth-child(2),
.project-card .management-table-toolbar+.table-wrap .project-table td:nth-child(2){width:196px;min-width:196px;max-width:196px}
.project-card .management-table-toolbar+.table-wrap .project-table th:nth-child(3),
.project-card .management-table-toolbar+.table-wrap .project-table td:nth-child(3){width:auto;min-width:90px;max-width:none}
.project-card .management-table-toolbar+.table-wrap .project-table td:nth-child(2) .project-name-link b{max-width:196px}
