:root{--ink:#182e2b;--muted:#6f7f7b;--brand:#176c5d;--brand-dark:#123e36;--line:#e2e9e5;--bg:#f5f7f4;--white:#fff;--accent:#d2eadf;--red:#a53335;--amber:#916014;--radius:15px;--shadow:0 12px 35px rgba(23,53,45,.06)}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.65 -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:3px}button{cursor:pointer;border:0}button:disabled{opacity:.5;cursor:wait}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}a{color:var(--brand);text-decoration:none}a:hover{text-decoration:underline}h1,h2,h3,p{margin-top:0}h1{font-size:27px;letter-spacing:-.5px;margin-bottom:7px;line-height:1.35}h2{font-size:18px;line-height:1.4;margin-bottom:16px}h3{font-size:15px;margin-bottom:10px}.muted,.hint{color:var(--muted)}.hint{font-size:12px;margin:6px 0 0}.small{font-size:12px}.mono{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.pre{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}.loading{padding:70px;text-align:center;color:var(--muted)}.app-shell{display:grid;grid-template-columns:224px 1fr;min-height:100dvh}.sidebar{background:var(--brand-dark);color:#e2f0ea;padding:30px 18px;position:fixed;top:0;bottom:0;width:224px;display:flex;flex-direction:column;z-index:10}.brand{display:flex;align-items:center;gap:12px;margin:0 12px 36px}.brand-mark{width:35px;height:35px;border:1px solid #8fc1aa;border-radius:11px;display:grid;place-items:center;color:#bce5cd;font-size:20px;font-weight:800}.brand strong{font-size:17px;letter-spacing:1px}.brand small{font-size:10px;display:block;letter-spacing:2px;color:#95bbae}.nav-label{font-size:10px;letter-spacing:2px;color:#8caf9f;margin:0 13px 10px}.nav-list{display:flex;flex-direction:column;gap:5px}.nav-item{color:#bed3c9;display:flex;align-items:center;gap:13px;border-radius:9px;padding:11px 14px;font-weight:500}.nav-item:hover{text-decoration:none;background:#244f45;color:white}.nav-item.active{background:#326251;color:white}.nav-icon{font-size:16px;width:21px;text-align:center;opacity:.9}.side-footer{margin-top:auto;padding:22px 12px 0;font-size:11px;line-height:1.8;color:#8fb19f}.workspace{grid-column:2;min-width:0}.topbar{height:74px;padding:0 38px;display:flex;justify-content:space-between;align-items:center;background:#ffffffdb;border-bottom:1px solid var(--line);gap:16px}.crumb{font-size:12px;color:var(--muted)}.profile{display:flex;align-items:center;gap:12px}.avatar{width:31px;height:31px;border-radius:50%;background:#e0eee7;display:grid;place-items:center;font-size:12px;font-weight:700}.content{max-width:1480px;padding:32px 38px 65px;margin:auto}.page-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:var(--brand);margin-bottom:8px}.page-head p{margin-bottom:0;font-size:13px;color:var(--muted)}.actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.btn{display:inline-flex;justify-content:center;align-items:center;gap:7px;background:var(--brand);color:#fff;padding:9px 16px;border-radius:8px;font-weight:600;line-height:1.5;min-height:40px;white-space:nowrap;text-decoration:none}.btn:hover{background:#105447;color:white;text-decoration:none}.btn.secondary{background:white;color:var(--ink);border:1px solid var(--line)}.btn.secondary:hover{background:#edf4f0}.btn.ghost{background:transparent;color:var(--muted);padding:6px 10px}.btn.danger{background:#f9eded;color:var(--red)}.btn.tiny{font-size:12px;padding:5px 10px;min-height:31px}.btn.full{width:100%}.card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:23px;box-shadow:var(--shadow);margin-bottom:20px;min-width:0}.card.flush{padding:0;overflow:hidden}.card-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:17px}.card-title h2{margin:0}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:23px}.stat{background:white;border:1px solid var(--line);padding:20px 22px;border-radius:var(--radius)}.stat .label{color:var(--muted);font-size:12px}.stat strong{font-size:36px;display:block;font-weight:650;line-height:1.5;letter-spacing:-1px}.stat .foot{font-size:11px;color:var(--muted)}.stat.warn strong{color:var(--red)}.stat.focus{background:#e9f3ed;border-color:#cce1d3}.grid-2{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(270px,1fr);gap:20px}.notice{background:#edf5ef;border:1px solid #d5e7da;border-radius:10px;padding:13px 17px;font-size:13px;margin:0 0 20px}.notice.warn{background:#fbf5e8;border-color:#eddfbc;color:#80601c}.notice.danger{background:#fcf0ee;border-color:#ecc9c7;color:var(--red)}.empty{padding:44px 22px;text-align:center;color:var(--muted)}.empty b{display:block;color:var(--ink);font-size:16px;margin-bottom:6px}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:13px}th{font-size:11px;letter-spacing:.2px;font-weight:600;color:var(--muted);background:#f7f9f6;text-align:left;white-space:nowrap}th,td{padding:14px 18px;border-bottom:1px solid #edf0ec;vertical-align:middle}tr:last-child td{border-bottom:0}tbody tr:hover{background:#fafcf9}.table-title{font-weight:600;color:var(--ink)}.table-title:hover{color:var(--brand)}.row-meta{font-size:11px;color:var(--muted);margin-top:3px}.table-id{font:12px ui-monospace,monospace;color:var(--muted)}.badge{display:inline-flex;align-items:center;gap:4px;padding:3px 9px;font-size:11px;font-weight:600;border-radius:5px;background:#eff1ef;color:#6a776e;white-space:nowrap}.badge.new{background:#edf0f1;color:#5b6c76}.badge.in_progress,.badge.submitted{background:#eaf2fa;color:#35729f}.badge.blocked,.badge.urgent,.badge.returned{background:#f9e8e5;color:#a34c3c}.badge.pending_verification,.badge.high{background:#fbf1d8;color:#9b7521}.badge.closed,.badge.accepted,.badge.completed{background:#e5f1e7;color:#4b7754}.badge.employee,.badge.normal{background:#eff2ed;color:#6e7f64}.badge.boss{background:#e6efe9;color:#386049}.dot{width:6px;height:6px;background:currentColor;border-radius:50%}.filters{display:flex;align-items:flex-end;flex-wrap:wrap;gap:11px;margin-bottom:18px}.filters label{margin:0;min-width:125px;flex:1}.filters .search{flex:2;min-width:190px}.filters input,.filters select{background:white}.filters .btn{margin-bottom:0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-grid .span-2{grid-column:1/-1}label{display:block;font-size:12px;font-weight:600;margin-bottom:15px;color:#53675e}input,select,textarea{display:block;width:100%;border:1px solid #dce5de;border-radius:8px;background:#fff;padding:10px 12px;color:var(--ink);margin-top:6px;min-height:41px}input:focus,select:focus,textarea:focus{border-color:var(--brand);outline:2px solid #176c5d12}input:disabled,textarea:disabled,select:disabled{background:#f5f7f4;color:#6b7970;opacity:1}textarea{resize:vertical;min-height:100px;line-height:1.7}input[type=checkbox]{display:inline-block;width:16px;min-height:16px;margin:0 6px 0 0;vertical-align:middle;accent-color:var(--brand)}.check-label{display:flex;align-items:center;gap:5px;min-height:40px;font-weight:400}.section-line{border:0;border-top:1px solid var(--line);margin:23px 0}.two-col{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(295px,1fr);gap:22px}.kv{display:grid;grid-template-columns:100px 1fr;gap:9px 16px;font-size:13px}.kv dt{color:var(--muted)}.kv dd{margin:0;overflow-wrap:anywhere}.timeline{border-left:2px solid #deebe0;padding-left:19px;margin-left:4px}.event{position:relative;padding-bottom:24px}.event:before{content:"";position:absolute;left:-25px;top:7px;width:10px;height:10px;border-radius:50%;background:#5c9a7d;border:2px solid white}.event-head{font-size:12px;font-weight:600;display:flex;justify-content:space-between;gap:10px}.event time{font-size:10px;font-weight:400;color:var(--muted)}.event p{margin:7px 0;font-size:12px}.event details{font-size:11px;color:var(--muted)}summary{cursor:pointer}.diff{margin:9px 0;background:#f5f8f3;border-radius:6px;padding:9px 10px;font-size:11px;overflow-wrap:anywhere}.diff-row{margin-bottom:7px}.diff-row:last-child{margin:0}.diff-old{text-decoration:line-through;color:#a08079}.diff-new{color:#336647}.snapshot{max-height:370px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;background:#f5f8f4;padding:10px;border-radius:7px}.field-view{margin-bottom:21px}.field-view .field-label{font-size:11px;color:var(--muted);margin-bottom:6px}.field-view .pre{font-size:13px}.attachments{display:flex;flex-direction:column;gap:8px}.attachment{padding:9px 12px;background:#f5f8f4;border-radius:7px;display:flex;justify-content:space-between;gap:10px;font-size:12px;overflow-wrap:anywhere}.pager{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;gap:10px;font-size:12px;color:var(--muted)}.project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.project-grid .card{margin:0}.progress-track{height:5px;background:#edf1eb;border-radius:5px;margin:18px 0 12px;overflow:hidden}progress{width:100%;height:6px;appearance:none;border:0;border-radius:5px;background:#ecf1e9}progress::-webkit-progress-bar{background:#edf1eb;border-radius:5px}progress::-webkit-progress-value{background:#68a584;border-radius:5px}progress::-moz-progress-bar{background:#68a584;border-radius:5px}.chips{display:flex;flex-wrap:wrap;gap:7px}.chip{font-size:11px;background:#f1f5ef;border:1px solid #e0e8dc;border-radius:5px;padding:3px 8px}.checklist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;max-height:230px;overflow:auto;padding:10px;border:1px solid var(--line);border-radius:8px}.checklist label{font-size:12px;margin:0;padding:6px;font-weight:400}.overview-item{display:flex;align-items:flex-start;gap:11px;padding:13px 0;border-bottom:1px solid var(--line)}.overview-item:last-child{border:0}.overview-item .item-text{flex:1;min-width:0}.overview-item .item-title{font-size:13px;font-weight:600;line-height:1.6}.bar-top{margin:0 0 20px;display:flex;align-items:center;gap:8px}.report-body textarea{min-height:160px}.report-counts{display:flex;gap:11px;flex-wrap:wrap;font-size:12px}.member-row{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:11px 0;gap:9px}.member-row:last-child{border:0}.member-row small{color:var(--muted)}dialog{border:1px solid var(--line);border-radius:17px;box-shadow:0 20px 100px #152a3040;padding:27px;width:min(640px,calc(100vw - 28px));max-height:90dvh;color:var(--ink)}dialog::backdrop{background:#102c2b70;backdrop-filter:blur(3px)}.modal-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}.modal-head h2{margin:0}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:23px}.form-error{color:var(--red);font-size:13px;background:#fcf0ee;padding:10px 12px;border-radius:7px;margin:12px 0}.hidden{display:none!important}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);max-width:calc(100vw - 32px);background:#173f36;color:white;box-shadow:0 4px 25px #13302733;padding:12px 21px;border-radius:10px;opacity:0;transition:opacity .2s;pointer-events:none;z-index:100;white-space:pre-wrap}#toast.show{opacity:1}#toast.error{background:#953832}.secret{padding:16px;border:1px dashed #9abcac;background:#f4faf5;border-radius:8px;font:18px ui-monospace,monospace;overflow-wrap:anywhere;user-select:all}.login{display:grid;grid-template-columns:1.08fr 1fr;min-height:100dvh}.login-intro{background:#153e35;color:white;padding:65px 8vw;display:flex;flex-direction:column;justify-content:center;position:relative}.login-intro .brand{margin:0 0 70px}.login-intro h1{font-size:40px;line-height:1.5;font-weight:600;letter-spacing:-1px;margin-bottom:24px}.login-intro p{color:#aecab9;line-height:2;max-width:390px}.login-flow{margin:35px 0 0;padding:20px 0;border-top:1px solid #416655;display:flex;flex-wrap:wrap;gap:10px;font-size:11px;color:#a4c4b1}.login-form{display:flex;align-items:center;justify-content:center;padding:45px 30px;background:#f8faf6}.login-box{max-width:365px;width:100%}.login-box h2{font-size:25px;margin-bottom:10px}.login-box .sub{margin-bottom:32px;color:var(--muted);font-size:13px}.login-box input{padding:12px 14px;min-height:48px}.login-box .btn{margin-top:10px;min-height:47px}.login-note{margin-top:26px;font-size:11px;color:var(--muted);line-height:1.9}.login-bottom{position:absolute;bottom:30px;font-size:10px;color:#85aa93;letter-spacing:1px}.kicker{font-size:10px;font-weight:700;letter-spacing:2px;color:#99cbb1;margin-bottom:18px}.mobile-only{display:none}.text-danger{color:var(--red)}.text-link{color:var(--brand);background:none;border:0;padding:0;font:inherit;font-weight:600}.w-title{min-width:210px;max-width:450px}.inline-input{display:flex;align-items:center;gap:8px}.inline-input input{margin:0;max-width:180px}.spacer{height:6px}.print-header{display:none}
@media(min-width:1600px){.content{padding-top:40px}}
@media(max-width:1180px){.sidebar{width:192px}.app-shell{grid-template-columns:192px 1fr}.content{padding:27px 25px 60px}.topbar{padding:0 25px}.brand{margin-left:6px;gap:9px}.brand strong{font-size:15px}.grid-2,.two-col{grid-template-columns:1fr}.stats{gap:12px}.stat{padding:17px}.event details{max-width:100%}}
@media(max-width:760px){body{font-size:14px}.app-shell{display:block;padding-bottom:75px}.sidebar{position:fixed;top:auto;bottom:0;width:100%;height:auto;padding:6px 8px calc(6px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--line);overflow-x:auto;box-shadow:0 -4px 20px #1b433010}.sidebar .brand,.nav-label,.side-footer{display:none}.nav-list{flex-direction:row;justify-content:space-around;gap:3px;min-width:max-content}.nav-item{flex:1;flex-direction:column;gap:1px;padding:6px 11px;font-size:10px;color:var(--muted);border-radius:8px;line-height:1.7}.nav-item.active{background:#e8f1e8;color:var(--brand)}.nav-icon{font-size:17px}.workspace{width:100%}.topbar{height:63px;padding:0 17px;gap:6px}.crumb{font-size:11px}.profile{gap:7px}.profile .account-name{max-width:85px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile .avatar{display:none}.topbar .btn{font-size:11px;padding:5px;min-height:30px}.content{padding:23px 16px 28px}.page-head{align-items:flex-start;flex-direction:column;gap:14px;margin-bottom:20px}.page-head h1{font-size:23px}.page-head p{font-size:12px;line-height:1.8}.eyebrow{font-size:9px}.stats{grid-template-columns:repeat(2,1fr);gap:11px;margin-bottom:17px}.stat{padding:14px 17px}.stat strong{font-size:29px}.stat .foot{font-size:10px}.card{padding:17px;margin-bottom:16px}.card.flush{padding:0}.card-title{gap:8px}.card-title h2{font-size:16px}.grid-2,.two-col{gap:0}.filters{gap:9px}.filters label{min-width:calc(50% - 10px)}.filters .search{min-width:100%}.filters label.check-label{min-width:auto;flex:initial}.form-grid{grid-template-columns:1fr;gap:0}.form-grid .span-2{grid-column:1}.project-grid{grid-template-columns:1fr;gap:15px}.actions{gap:7px}.actions .btn{font-size:12px;padding:8px 12px}.desktop-only{display:none!important}.mobile-only{display:block}th,td{padding:11px 13px}.issue-table th:nth-child(1),.issue-table td:nth-child(1),.issue-table th:nth-child(4),.issue-table td:nth-child(4),.issue-table th:nth-child(5),.issue-table td:nth-child(5){display:none}.issue-table .w-title{min-width:0;max-width:none;width:72%}.issue-table{table-layout:fixed}.issue-table th:nth-child(3),.issue-table td:nth-child(3){width:88px}.report-table th:nth-child(3),.report-table td:nth-child(3),.report-table th:nth-child(5),.report-table td:nth-child(5){display:none}.table-title{display:block;white-space:normal;overflow-wrap:anywhere;font-size:12px}.kv{grid-template-columns:80px 1fr;font-size:12px}.notice{font-size:12px;padding:12px 14px}.checklist{grid-template-columns:1fr}.login{display:block}.login-intro{padding:27px 26px 32px}.login-intro .brand{margin:0 0 25px}.login-intro h1{font-size:27px;margin-bottom:10px}.login-intro p,.login-flow,.login-bottom{display:none}.login-intro .kicker{margin-bottom:7px;font-size:9px}.login-form{padding:30px 27px 40px;min-height:55dvh}.login-box h2{font-size:22px}.login-box .sub{margin-bottom:24px}.login-note{margin-top:20px}.report-body textarea{min-height:130px}input,textarea,select{font-size:16px}dialog{padding:20px;max-height:88dvh}.modal-actions .btn{font-size:13px}.event-head{flex-wrap:wrap}#toast{bottom:93px;font-size:12px}.topbar .badge{font-size:10px}.pager{padding:12px;font-size:11px}.btn{min-height:41px}.card-title .btn.tiny{min-height:33px}.overview-item{padding:12px 0}.overview-item .item-title{font-size:12px}.report-counts{font-size:11px}}
@media print{.sidebar,.topbar,.no-print,.actions,.bar-top,.filters,#toast,dialog{display:none!important}.app-shell,.workspace,.content{display:block;padding:0;background:white}.card{box-shadow:none;break-inside:avoid;border:1px solid #ddd}.two-col,.grid-2{display:block}.print-header{display:block;font-size:11px;border-bottom:1px solid #aaa;margin-bottom:20px;padding-bottom:8px}body{background:white;font-size:11px}.pre{white-space:pre-wrap}a{color:inherit}h1{font-size:21px}}

/* EH v1.2.2: blend the existing logo's white pixels with the actual theme.
   No image replacement, resizing, or color change to the surrounding page. */
.login-company-logo { background: transparent; mix-blend-mode: multiply; }
