:root{--ink:#18231e;--muted:#728078;--cream:#f3f1e8;--panel:#fffef9;--green:#285b45;--lime:#bddb73;--line:#dfe2d7;--shadow:0 18px 50px rgba(27,45,35,.1)}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font-family:Inter,"Noto Sans TC",system-ui,sans-serif}button,input,textarea,select{font:inherit}button{cursor:pointer}.eyebrow{margin:0 0 7px;color:#7e8c83;font-size:11px;font-weight:800;letter-spacing:.15em}.lock-screen{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 50% 25%,#f8f4d5,transparent 30%),linear-gradient(150deg,#e4ead9,#f3f1e8 52%,#dbe7df)}.lock-screen[hidden]{display:none}.lock-card{width:min(430px,100%);padding:42px;background:rgba(255,254,249,.94);border:1px solid #fff;border-radius:26px;box-shadow:var(--shadow);text-align:center}.logo,.brand span{display:grid;place-items:center;background:var(--green);color:white;font-weight:900}.logo{width:54px;height:54px;margin:0 auto 22px;border-radius:16px;font-size:24px}.lock-card h1{margin:0 0 10px}.lock-card>p:not(.eyebrow){color:var(--muted);line-height:1.6}.lock-card form{text-align:left;margin:26px 0 18px}label{display:grid;gap:8px;margin:15px 0;font-size:13px;font-weight:700}input,textarea,select{width:100%;padding:13px 14px;border:1px solid var(--line);border-radius:11px;background:#fff;color:var(--ink);outline:none}input:focus,textarea:focus,select:focus{border-color:#6b9981;box-shadow:0 0 0 3px #dce9df}.primary,.secondary{border:0;border-radius:10px;padding:11px 16px;font-weight:800}.primary{background:var(--green);color:#fff}.secondary{background:#e7eee8;color:var(--green)}.wide{width:100%;margin-top:8px}.form-error{min-height:18px;color:#b94740;font-size:12px}.lock-card small{color:#8b958e}.app{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:220px;padding:26px 18px;background:#18392d;color:white;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:10px;padding:0 10px 28px;font-size:18px}.brand span{width:35px;height:35px;border-radius:10px;background:#e1e9b7;color:#244536}.sidebar nav{display:grid;gap:7px}.nav,.lock-button{border:0;background:transparent;color:#afc2b8;border-radius:10px;padding:12px;text-align:left}.nav{display:flex;gap:12px;font-size:16px}.nav.active,.nav:hover{background:#2a4c40;color:#fff}.lock-button{margin-top:auto}.app main{margin-left:220px;padding:32px 42px 60px;max-width:1500px}.app header,.section-head,.panel-head{display:flex;align-items:center;justify-content:space-between}.app header{margin-bottom:30px}.app h1{margin:0;font-size:27px}.page{display:none}.page.active{display:block}.hero-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:20px}.panel,.stats article,.entry-card,.empty-card{background:var(--panel);border:1px solid var(--line);border-radius:18px;box-shadow:0 6px 24px rgba(31,46,38,.05)}.panel{padding:24px}.panel h2,.section-head h2{margin:0}.status,.pill{padding:6px 10px;border-radius:99px;background:#dceadb;color:#306346;font-size:12px;font-weight:800}.hq-scene{height:300px;margin:20px 0;border-radius:14px;overflow:hidden;position:relative;background:linear-gradient(#bcd7df 0 55%,#a8bd79 55%)}.sun{position:absolute;width:45px;height:45px;border-radius:50%;background:#ffe38c;top:28px;right:55px}.cloud{position:absolute;width:70px;height:20px;border-radius:20px;background:#eef6f4;top:50px}.c1{left:60px}.c2{left:190px;top:88px;transform:scale(.7)}.ground{position:absolute;left:-10%;right:-10%;bottom:-80px;height:190px;background:#829f5d;transform:rotate(-4deg)}.building{position:absolute;width:170px;height:150px;left:50%;bottom:55px;transform:translateX(-50%);background:#ede5cf;border:6px solid #31584a;border-radius:5px 5px 2px 2px;box-shadow:14px 14px 0 #688065}.building:before{content:"";position:absolute;left:-24px;right:-24px;top:-42px;border-left:106px solid transparent;border-right:106px solid transparent;border-bottom:45px solid #c27856}.sign{position:absolute;left:50%;top:13px;transform:translateX(-50%);background:#294d40;color:white;padding:5px 18px;border-radius:3px;font-weight:900}.windows{position:absolute;left:18px;right:18px;top:58px;height:38px;background:repeating-linear-gradient(90deg,#87b4b7 0 28px,#e9dfc8 28px 39px);border:4px solid #31584a}.door{position:absolute;width:34px;height:42px;bottom:0;left:50%;transform:translateX(-50%);background:#5a7b70}.tree{position:absolute;bottom:48px;color:#2e6945;font-size:66px;text-shadow:0 12px #765e44}.t1{left:12%}.t2{right:13%;transform:scale(.8)}.hq-scene[data-level="2"] .building{height:175px}.hq-scene[data-level="3"] .building{height:205px;width:200px}.hq-scene[data-level="4"] .building,.hq-scene[data-level="5"] .building{height:230px;width:230px}.xp-row{display:flex;align-items:center;gap:20px}.xp-row>div:first-child{display:grid;min-width:120px}.xp-row span{font-size:11px;color:var(--muted)}.xp-bar{height:10px;background:#e8e9df;border-radius:99px;flex:1;overflow:hidden}.xp-bar i{display:block;height:100%;background:linear-gradient(90deg,#80a95e,var(--lime));border-radius:99px}.today-card{background:#203e34;color:#fff;display:flex;flex-direction:column;justify-content:center;min-height:260px}.today-card .eyebrow{color:#b8c7bc}.today-card h2{font-size:31px;line-height:1.15}.today-card p:not(.eyebrow){color:#bfd0c7;line-height:1.7}.today-card .secondary{align-self:flex-start;margin-top:12px;background:var(--lime)}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:20px 0}.stats article{padding:20px;display:grid;gap:6px}.stats span,.stats small{color:var(--muted);font-size:12px}.stats strong{font-size:25px}.activity{margin-top:20px}.empty,.empty-card{padding:38px;color:var(--muted);text-align:center}.timeline{margin-top:18px}.timeline-row{display:flex;gap:16px;padding:13px 5px;border-top:1px solid var(--line)}.timeline-row i{width:10px;height:10px;margin-top:7px;border-radius:50%;background:#7ba164;box-shadow:0 0 0 5px #e8efe1}.timeline-row div{display:grid;gap:3px}.timeline-row span,.timeline-row small{font-size:11px;color:var(--muted)}.section-head{margin:10px 0 20px}.card-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px}.entry-card{padding:20px}.entry-card>div{display:flex;justify-content:space-between;align-items:center}.entry-card small,.entry-card p,.muted{color:var(--muted)}.entry-card p{line-height:1.6;white-space:pre-wrap}.entry-card.done{opacity:.7}.review-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.review-number{display:flex;align-items:baseline;gap:10px;padding:13px 0;border-bottom:1px solid var(--line)}.review-number strong{font-size:28px}.review-number span{color:var(--muted)}textarea{min-height:130px;resize:vertical}dialog{width:min(520px,calc(100% - 30px));border:0;border-radius:20px;padding:28px;box-shadow:var(--shadow)}dialog::backdrop{background:#12231dcc;backdrop-filter:blur(3px)}dialog h2{margin-top:0}.dialog-close{position:absolute;right:18px;top:14px;border:0;background:transparent;font-size:26px;color:var(--muted)}.toast{position:fixed;right:28px;bottom:28px;padding:13px 18px;background:#18392d;color:white;border-radius:10px;opacity:0;transform:translateY(10px);pointer-events:none;transition:.2s}.toast.show{opacity:1;transform:none}@media(max-width:900px){.sidebar{width:74px}.brand b,.nav span,.lock-button{font-size:0}.app main{margin-left:74px;padding:24px}.hero-grid,.review-grid{grid-template-columns:1fr}.stats{grid-template-columns:1fr 1fr}}@media(max-width:600px){.sidebar{position:fixed;z-index:5;inset:auto 0 0;width:auto;height:64px;padding:7px}.brand,.lock-button{display:none}.sidebar nav{grid-template-columns:repeat(4,1fr)}.nav{justify-content:center}.app main{margin:0;padding:20px 16px 90px}.app header{align-items:flex-start}.hero-grid{display:block}.today-card{margin-top:14px}.stats{grid-template-columns:1fr 1fr}.hq-scene{height:240px}.section-head{align-items:flex-end}.card-list{grid-template-columns:1fr}}
.recurring-reminder-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}.recurring-reminder-item{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:8px 12px;width:100%;padding:18px;border:1px solid var(--line);border-radius:18px;background:var(--panel);color:var(--ink);text-align:left}.recurring-reminder-item strong{font-size:17px}.recurring-reminder-item small{grid-column:2;color:var(--muted)}@media(max-width:720px){.recurring-reminder-list{grid-template-columns:1fr}.recurring-reminders .panel-head{align-items:flex-start}.recurring-reminders .panel-head button{width:auto}}
.wlg-console{margin-top:22px;padding:24px;border:1px solid #cfdcd4;border-radius:22px;background:#fbfcf9;box-shadow:0 12px 36px rgba(25,57,45,.08)}.wlg-console[hidden]{display:none}.wlg-console-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.wlg-console-head h3{margin:0;font-size:25px}.wlg-console-head p:not(.eyebrow){margin:7px 0 0;color:var(--muted)}.wlg-console-head>div:last-child{display:flex;align-items:flex-end;gap:10px}.wlg-console-head label{margin:0}.wlg-flow{display:flex;align-items:center;gap:8px;margin:22px 0 16px;padding:12px 14px;border-radius:14px;background:#edf3ee;overflow:auto;white-space:nowrap}.wlg-flow span{font-size:12px;font-weight:800;color:#315b49}.wlg-flow i{color:#8fa198;font-style:normal}.wlg-stats{display:grid;grid-template-columns:repeat(5,minmax(110px,1fr));gap:10px}.wlg-stat{padding:15px;border:1px solid #dce5df;border-radius:14px;background:white}.wlg-stat span{display:block;color:var(--muted);font-size:12px}.wlg-stat strong{display:block;margin-top:7px;font-size:23px}.wlg-actions{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.wlg-tabs{display:flex;flex-wrap:wrap;gap:4px;border-bottom:1px solid var(--line)}.wlg-tabs button{border:0;background:transparent;padding:11px 10px;color:var(--muted);font-weight:800;white-space:nowrap}.wlg-tabs button.is-active{color:var(--green);box-shadow:inset 0 -3px var(--green)}.wlg-content{min-height:190px;padding-top:14px}.wlg-table{display:grid;gap:6px}.wlg-row{display:grid;grid-template-columns:minmax(150px,1.4fr) repeat(3,minmax(90px,1fr));gap:10px;align-items:center;padding:11px 13px;border-radius:10px;background:#fff;border:1px solid #e3e8e4;font-size:13px}.wlg-row.wlg-header{background:#244e3d;color:#fff;font-weight:800}.wlg-row small{color:var(--muted)}.wlg-empty,.wlg-error{padding:28px;border-radius:14px;text-align:center;color:var(--muted);background:#f3f5f2}.wlg-error{color:#a33d38;background:#fff0ee}.wlg-list{display:grid;gap:8px}.wlg-list article{padding:14px;border:1px solid var(--line);border-radius:12px;background:#fff}.wlg-list article strong{display:block}.wlg-list article small{display:block;margin-top:5px;color:var(--muted)}@media(max-width:900px){.wlg-stats{grid-template-columns:repeat(2,1fr)}.wlg-console-head{align-items:flex-start;flex-direction:column}.wlg-row{grid-template-columns:1.4fr 1fr}.wlg-row>*:nth-child(n+3){display:none}}@media(max-width:600px){.wlg-console{padding:16px}.wlg-console-head>div:last-child{width:100%}.wlg-console-head label{flex:1}.wlg-stats{grid-template-columns:1fr 1fr}}
.scene-building-trigger{pointer-events:auto;font:inherit;line-height:1;border:1px solid rgba(231,201,117,.75);cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,background .18s ease}
.scene-building-trigger:hover,.scene-building-trigger:focus-visible{transform:translate(-50%,-50%) scale(1.07);background:#275b49;box-shadow:0 0 0 3px rgba(245,217,139,.22),0 8px 22px rgba(7,35,27,.28);outline:none}
.labels-immersive .label-portal.scene-building-trigger{transform:translate(-100%,-50%)}
.labels-immersive .label-portal.scene-building-trigger:hover,.labels-immersive .label-portal.scene-building-trigger:focus-visible{transform:translate(-100%,-50%) scale(1.07)}
.kunlun-feature-panel{position:absolute;z-index:80;right:2.2%;top:14%;width:min(430px,46%);max-height:76%;overflow:hidden;border:1px solid rgba(228,200,126,.9);border-radius:20px;background:linear-gradient(145deg,rgba(16,57,44,.97),rgba(9,40,32,.98));color:#f7efd6;box-shadow:0 22px 55px rgba(5,26,20,.42),inset 0 0 0 1px rgba(255,255,255,.07);backdrop-filter:blur(14px);animation:kunlunPanelIn .24s ease-out}
.kunlun-feature-panel[hidden]{display:none}
.kunlun-feature-panel>header{display:flex;align-items:center;justify-content:space-between;padding:17px 18px 13px;border-bottom:1px solid rgba(231,201,117,.22)}
.kunlun-feature-panel header small{display:block;color:#d8c17e;font-size:10px;font-weight:900;letter-spacing:.18em}.kunlun-feature-panel h3{margin:4px 0 0;color:#fff9e6;font-size:21px}
#kunlunFeatureClose{width:34px;height:34px;padding:0;border:1px solid rgba(231,201,117,.38);border-radius:50%;background:rgba(255,255,255,.06);color:#f8e8b3;font-size:22px}
.kunlun-feature-content{max-height:calc(100% - 70px);padding:14px 16px 18px;overflow:auto}
.scene-panel-intro{margin:0 0 12px;color:#cbd9d2;font-size:13px;line-height:1.55}.scene-panel-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.scene-panel-card{min-width:0;padding:11px;border:1px solid rgba(225,203,143,.2);border-radius:13px;background:rgba(255,255,255,.065);color:#f8f1db;text-align:left}.scene-panel-card strong{display:block;margin-bottom:4px;color:#fff7dc;font-size:14px}.scene-panel-card span,.scene-panel-card small{display:block;color:#b9cbc3;font-size:11px;line-height:1.4}.scene-panel-card.wide{grid-column:1/-1}.scene-panel-card.is-alert{border-color:rgba(214,125,102,.55)}
button.scene-panel-card:hover{background:rgba(226,202,126,.14);border-color:rgba(231,201,117,.55)}.scene-panel-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.scene-panel-action{padding:9px 12px;border:1px solid rgba(231,201,117,.42);border-radius:10px;background:#f1df9c;color:#173f32;font-size:12px;font-weight:900}.scene-panel-action.secondary{background:rgba(255,255,255,.07);color:#f7eccb}.scene-panel-list{display:grid;gap:8px}.scene-panel-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 11px;border-radius:11px;background:rgba(255,255,255,.06)}.scene-panel-row>div{min-width:0}.scene-panel-row strong,.scene-panel-row span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scene-panel-row strong{font-size:13px}.scene-panel-row span{margin-top:3px;color:#b8cac2;font-size:10px}.scene-panel-badge{flex:none;padding:4px 7px;border-radius:99px;background:rgba(230,205,135,.14);color:#ead491;font-size:10px}.scene-panel-status{display:inline-flex;align-items:center;gap:6px}.scene-panel-status:before{content:"";width:7px;height:7px;border-radius:50%;background:#a9d477;box-shadow:0 0 9px #a9d477}.scene-panel-divider{height:1px;margin:13px 0;background:rgba(231,201,117,.18)}
@keyframes kunlunPanelIn{from{opacity:0;transform:translateY(8px) scale(.985)}to{opacity:1;transform:none}}
@keyframes wlgButtonSpin{to{transform:rotate(360deg)}}
[data-confirm-formal-publish].is-loading{display:inline-flex;align-items:center;justify-content:center;gap:9px;cursor:wait}
[data-confirm-formal-publish].is-loading::before{content:"";width:16px;height:16px;border:2px solid rgba(255,255,255,.45);border-top-color:#fff;border-radius:50%;animation:wlgButtonSpin .75s linear infinite}
@media(max-width:900px){.kunlun-feature-panel{width:58%;right:2%;top:16%}}
.bot-fallback-entry{display:none}.performance-bot-page{--bot-gold:#dfc274;--bot-deep:#113a2d}.performance-bot-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:26px 28px;border:1px solid #d9dfd4;border-radius:22px;background:linear-gradient(135deg,#fffdf5,#f2f4e9);box-shadow:var(--shadow)}.performance-bot-hero h2{margin:0 0 8px;font-size:30px}.performance-bot-hero p:not(.eyebrow){max-width:720px;margin:0;color:var(--muted);line-height:1.65}.performance-bot-nav-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:9px}.bot-sandbox-notice{display:flex;align-items:center;gap:12px;margin:16px 0;padding:13px 16px;border:1px solid #d8bd70;border-radius:14px;background:#fff5cf;color:#604d1d}.bot-sandbox-notice span{color:#806c37;font-size:12px}.bot-console-section{margin-top:16px;padding:22px;border:1px solid var(--line);border-radius:20px;background:var(--panel);box-shadow:0 6px 24px rgba(31,46,38,.05)}.bot-section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:16px}.bot-section-heading h3{margin:0;font-size:21px}.bot-readonly-chip{padding:6px 10px;border-radius:99px;background:#edf1e7;color:#60715f;font-size:11px;font-weight:800}.bot-status-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.bot-status-grid article{min-height:128px;padding:16px;border:1px solid #e3e5dc;border-radius:15px;background:linear-gradient(160deg,#fbfcf7,#f0f3ea)}.bot-status-grid span,.bot-status-grid small{display:block;color:var(--muted);font-size:11px}.bot-status-grid strong{display:block;margin:12px 0 7px;font-size:16px}.bot-connection-state{color:#9a563d}.bot-connection-state i{display:inline-block;width:8px;height:8px;margin-right:7px;border-radius:50%;background:#cf785d;box-shadow:0 0 0 4px rgba(207,120,93,.14)}.bot-group-table,.bot-log-table{overflow:hidden;border:1px solid #e2e4db;border-radius:14px}.bot-group-row{display:grid;grid-template-columns:180px minmax(0,1fr) 90px;align-items:center;gap:14px;padding:13px 15px;border-top:1px solid #e8e9e2}.bot-group-row:first-child{border-top:0}.bot-group-row small{justify-self:start;padding:4px 8px;border-radius:99px;background:#edf1e7;color:#617161}.bot-group-header{background:#173f32;color:#f8edca;font-size:11px;font-weight:900;letter-spacing:.06em}.bot-report-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}.bot-report-form label{margin:0}.bot-report-form fieldset{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:10px 22px;padding:14px 16px;border:1px solid var(--line);border-radius:13px}.bot-report-form legend{padding:0 6px;font-size:12px;font-weight:800}.bot-report-form fieldset label{display:flex;align-items:center;gap:8px;font-weight:600}.bot-report-form input[type="checkbox"]{width:auto}.bot-report-form>button{justify-self:start}.bot-team-search{max-width:430px}.bot-team-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.bot-team-card{display:grid;gap:14px;padding:15px;border:1px solid #e1e4da;border-radius:14px;background:#fafbf6}.bot-team-card strong,.bot-team-card span{display:block}.bot-team-card span{margin-top:4px;color:var(--muted);font-size:11px}.bot-team-card>div:last-child{display:flex;flex-wrap:wrap;gap:6px}.bot-team-card button,.bot-log-view-switch button{padding:7px 10px;border:1px solid #d9dfd5;border-radius:9px;background:#eef2eb;color:#345747;font-size:11px;font-weight:800}.bot-log-view-switch{display:flex;flex-wrap:wrap;gap:5px}.bot-log-view-switch button.is-active{border-color:#315f4b;background:#315f4b;color:#fff}.bot-log-row{display:grid;grid-template-columns:145px 1.25fr 1.1fr 65px 65px 60px 1.5fr;align-items:center;gap:10px;padding:12px 13px;border-top:1px solid #e8e9e2;font-size:11px}.bot-log-row:first-child{border-top:0}.bot-log-row strong{font-size:12px}.bot-log-header{background:#173f32;color:#f8edca;font-weight:900}.bot-log-row .is-success,.bot-log-row .is-failure{justify-self:start;padding:4px 7px;border-radius:99px;font-weight:900}.bot-log-row .is-success{background:#e2efdd;color:#326545}.bot-log-row .is-failure{background:#f5dfd9;color:#984a38}.bot-console-state{display:grid;place-items:center;gap:7px;min-height:150px;padding:24px;border:1px dashed #cfd6cc;border-radius:14px;background:#fafbf7;color:var(--muted);text-align:center}.bot-console-state strong{color:var(--ink)}.bot-console-state.is-error{border-color:#ddb4a8;background:#fff8f5;color:#915544}
@media(max-width:1100px){.bot-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bot-team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bot-log-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 14px}.bot-log-header{display:none}.bot-log-row span,.bot-log-row strong,.bot-log-row small{display:grid;grid-template-columns:90px 1fr;align-items:start}.bot-log-row [data-label]::before{content:attr(data-label);color:var(--muted);font-weight:600}}
@media(max-width:760px){.bot-fallback-entry{display:inline-flex}.performance-bot-hero{display:grid;padding:20px}.performance-bot-nav-actions{justify-content:flex-start}.bot-sandbox-notice{align-items:flex-start;flex-direction:column}.bot-status-grid,.bot-team-grid,.bot-report-form{grid-template-columns:1fr}.bot-group-row{grid-template-columns:1fr;gap:5px}.bot-group-header{display:none}.bot-group-row strong{color:#285b45}.bot-report-form fieldset{grid-column:auto;display:grid}.bot-section-heading{align-items:flex-start;flex-direction:column}.bot-console-section{padding:17px}.bot-log-row{grid-template-columns:1fr}.nav-performance-bot{display:flex}}

.bot-sandbox-notice{justify-content:space-between}.bot-sandbox-notice>div strong,.bot-sandbox-notice>div span{display:block}.bot-sandbox-notice>div span{margin-top:3px}.bot-scenario-control{display:flex;align-items:center;gap:8px;margin:0;font-size:11px;font-weight:900;white-space:nowrap}.bot-scenario-control select{width:auto;min-width:118px;padding:8px 30px 8px 10px;border-color:#c9ad5e;background-color:#fffdf3}
.bot-report-preview{display:grid;gap:10px;margin-top:16px;padding:15px 16px;border:1px solid #cdd9cc;border-radius:14px;background:#f5f8ef}.bot-report-preview div{display:grid;gap:4px}.bot-report-preview span,.bot-report-preview small{color:var(--muted);line-height:1.55}.bot-report-preview ul{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}.bot-report-preview li{padding:6px 9px;border-radius:99px;background:#dfeadb;color:#315f49;font-size:12px;font-weight:800}.bot-report-preview.is-loading{border-style:dashed}.bot-report-preview.is-error{border-color:#ddb4a8;background:#fff8f5}.bot-report-preview.is-error strong{color:#984a38}
.bot-admin-auth{margin-top:16px;padding:20px 22px;border:1px solid #d8bd70;border-radius:20px;background:linear-gradient(145deg,#fff9df,#f4f2e5);box-shadow:0 6px 24px rgba(31,46,38,.05)}.bot-admin-auth .bot-section-heading{margin-bottom:10px}.bot-auth-message{color:var(--muted);line-height:1.6}.bot-auth-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;align-items:end;gap:12px;margin-top:16px}.bot-auth-form label{margin:0}.bot-auth-form input{min-height:44px}.bot-auth-form button{min-height:44px;white-space:nowrap}.bot-auth-session{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;padding:12px 14px;border-radius:12px;background:rgba(24,65,50,.08);color:#345747}.bot-auth-session span{font-weight:700}.bot-audit-list{display:grid;gap:8px}.bot-audit-row{display:grid;grid-template-columns:190px minmax(0,1fr) 90px;gap:12px;padding:11px 13px;border:1px solid #e1e4da;border-radius:11px;background:#fafbf6;font-size:12px}.bot-audit-row small{justify-self:start;padding:3px 7px;border-radius:99px;background:#edf1e7;color:#45644f;font-weight:800}
@media(max-width:760px){.bot-auth-form,.bot-audit-row{grid-template-columns:1fr}.bot-auth-session{align-items:flex-start;flex-direction:column}}

/* 業績俠管理資訊密度與狀態可讀性 */
.bot-hero-connection{display:inline-flex;align-items:center;gap:8px;align-self:center;padding:9px 13px;border:1px solid #d6ddd5;border-radius:999px;background:#f3f5f0;color:#65736b;font-size:12px;font-weight:900;white-space:nowrap}.bot-hero-connection i,.bot-connection-state i{display:inline-block;width:9px;height:9px;border-radius:50%}.bot-hero-connection.is-online{border-color:#a9d5b6;background:#e7f5e9;color:#22643a}.bot-hero-connection.is-online i,.bot-connection-state.is-online i{background:#36a35b;box-shadow:0 0 0 4px rgba(54,163,91,.14)}.bot-connection-state.is-online{color:#247041}.bot-hero-connection.is-offline{border-color:#e3b5a9;background:#fff0ec;color:#984a38}.bot-hero-connection.is-offline i,.bot-connection-state.is-offline i{background:#cf5d48;box-shadow:0 0 0 4px rgba(207,93,72,.14)}.bot-connection-state.is-offline{color:#984a38}.bot-hero-connection.is-pending i,.bot-connection-state.is-pending i{background:#c18b45;box-shadow:0 0 0 4px rgba(193,139,69,.14)}
.bot-status-grid article:first-child{grid-column:1/-1;min-height:auto;border-color:#cfe1d5;background:linear-gradient(135deg,#f5fbf6,#eaf4ec)}.bot-status-grid article:first-child strong{font-size:20px}.bot-section-toggle{flex:none;padding:7px 11px;border:1px solid #cfd9d1;border-radius:999px;background:#f2f5f0;color:#315c49;font-size:11px;font-weight:900}.bot-console-section.is-collapsed{padding-block:15px}.bot-console-section.is-collapsed>.bot-section-heading{margin-bottom:0}.bot-console-section.is-collapsed>:not(.bot-section-heading){display:none}.bot-console-section.is-collapsed .bot-section-toggle:after{content:" ↓"}.bot-console-section:not(.is-collapsed) .bot-section-toggle:after{content:" ↑"}
.bot-status-headline{display:inline-flex;align-items:center;gap:7px;margin-left:auto;padding:7px 11px;border-radius:999px;background:#eef2ed;color:#66766e;font-size:12px;white-space:nowrap}.bot-status-headline i{width:9px;height:9px;border-radius:50%;background:#9aa69f}.bot-status-headline.is-online{background:#dff1e5;color:#267348}.bot-status-headline.is-online i{background:#31a961;box-shadow:0 0 0 4px rgba(49,169,97,.13)}.bot-status-headline.is-offline{background:#f8dfda;color:#9b4035}.bot-status-headline.is-offline i{background:#c85a4d}
#botTeamList{display:grid;grid-template-columns:1fr;gap:16px;margin-top:16px}.bot-team-platform{overflow:hidden;border:1px solid #dce4dd;border-radius:16px;background:#f7f9f5}.bot-team-platform>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 15px;border-bottom:1px solid #dce4dd;background:#edf3ed}.bot-team-platform>header div{display:grid;gap:2px}.bot-team-platform>header span{color:#78877e;font-size:9px;font-weight:900;letter-spacing:.16em}.bot-team-platform>header strong{font-size:16px}.bot-team-platform>header small{color:#64736a;font-size:11px}.bot-team-platform .bot-team-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px}.bot-team-card{gap:10px;background:#fff}.bot-team-card-main{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.bot-team-card-main>small{flex:none;margin:0;padding:4px 8px;border-radius:999px;font-size:10px;font-weight:900}.bot-team-card-main>small.is-on{background:#e3f2e5;color:#28703f}.bot-team-card-main>small.is-off{background:#f4e5e1;color:#98503d}
@media(max-width:900px){.performance-bot-nav-actions{justify-content:flex-start}.bot-hero-connection{order:-1}.bot-team-platform .bot-team-grid{grid-template-columns:1fr}.bot-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.bot-status-grid{grid-template-columns:1fr}.bot-status-grid article{min-height:auto}.bot-team-platform>header{align-items:flex-start;flex-direction:column;gap:5px}.bot-team-platform .bot-team-grid{padding:8px}.bot-section-heading{flex-direction:row;align-items:center;flex-wrap:wrap}.bot-section-toggle{margin-left:auto}}
.wlg-salary-batch{display:grid;gap:14px}.wlg-batch-toolbar{position:sticky;top:86px;z-index:3;display:flex;justify-content:space-between;align-items:center;gap:18px;padding:18px 20px;border:1px solid rgba(39,95,73,.22);border-radius:18px;background:rgba(247,250,246,.96);box-shadow:0 10px 28px rgba(25,57,45,.08);backdrop-filter:blur(12px)}.wlg-batch-toolbar>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.wlg-batch-toolbar small{display:block;color:#718078}.wlg-salary-legend{display:flex;gap:9px;flex-wrap:wrap}.wlg-salary-legend span{padding:6px 10px;border-radius:999px;background:#e8f0eb;color:#285c48;font-weight:700}.wlg-salary-row{display:grid;gap:14px;padding:18px 20px;border:1px solid #dbe4dd;border-radius:18px;background:#fbfcfa}.wlg-salary-row header{display:flex;justify-content:space-between;align-items:end;gap:18px}.wlg-salary-row header>div{display:grid;gap:4px}.wlg-salary-row header small{color:#2e6a52;font-weight:800}.wlg-salary-row label{display:grid;gap:6px;color:#65756d;font-size:.9rem;font-weight:700}.wlg-salary-row select,.wlg-salary-row input[type="number"]{min-height:44px;padding:8px 11px;border:1px solid #cfdad2;border-radius:10px;background:white;color:#17271f;font:inherit}.wlg-salary-fields{display:grid;grid-template-columns:repeat(5,minmax(110px,1fr));gap:10px}.wlg-salary-row input:disabled{background:#edf1ee;color:#89948e}.wlg-confirm-check{display:flex!important;align-items:center;gap:8px!important}.wlg-confirm-check input{width:20px;height:20px}@media(max-width:900px){.wlg-batch-toolbar{position:static;align-items:flex-start;flex-direction:column}.wlg-salary-row header{align-items:stretch;flex-direction:column}.wlg-salary-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.wlg-salary-fields{grid-template-columns:1fr}.wlg-batch-toolbar>div:last-child{display:grid;width:100%}.wlg-batch-toolbar button{width:100%}}
.wlg-salary-sheet{gap:0;border:1px solid #d5e0ea;border-radius:18px;overflow:hidden;background:#f7f9fc}.wlg-sheet-summary{display:flex;justify-content:space-between;gap:24px;padding:22px 26px;color:#174a79}.wlg-sheet-summary>div{display:grid;gap:5px}.wlg-sheet-summary>div:last-child{text-align:right}.wlg-sheet-summary strong{font-size:1.15rem}.wlg-sheet-actions{display:flex;gap:12px;padding:0 26px 22px}.wlg-sheet-actions button{min-width:220px}.wlg-sheet-scroll{overflow-x:auto;border-top:1px solid #d5e0ea}.wlg-salary-table{width:100%;min-width:1420px;border-collapse:collapse;color:#17334f}.wlg-salary-table th,.wlg-salary-table td{padding:15px 12px;border-bottom:1px solid #d5e0ea;text-align:center;vertical-align:middle}.wlg-salary-table th{position:sticky;top:0;background:#f0f4f8;font-weight:850;white-space:nowrap}.wlg-salary-table tbody tr:hover{background:#f2f7fb}.wlg-salary-table input[type="number"],.wlg-salary-table select{width:100%;min-width:112px;min-height:46px;padding:9px;border:1px solid #b9ccdd;border-radius:10px;background:#fff;color:#142c43;font:inherit;text-align:center}.wlg-salary-table input:disabled{background:#e9eef2;color:#8996a1}.wlg-person-cell{min-width:190px;text-align:left!important}.wlg-person-cell strong,.wlg-person-cell small{display:block}.wlg-person-cell select{margin:7px 0 3px}.wlg-person-cell small{color:#55728c}.wlg-money{font-size:1.05rem;font-weight:800;white-space:nowrap}.wlg-salary-table .wlg-confirm-check{justify-content:center}.wlg-salary-table .wlg-confirm-check span{white-space:nowrap}@media(max-width:760px){.wlg-sheet-summary{flex-direction:column}.wlg-sheet-summary>div:last-child{text-align:left}.wlg-sheet-actions{display:grid}.wlg-sheet-actions button{width:100%;min-width:0}}
.wlg-salary-pages{display:flex;gap:10px;padding:0 26px 20px}.wlg-salary-pages button{min-width:150px;border:1px solid #9fb6ca;background:#eaf0f6;color:#194c78}.wlg-salary-pages button.is-active{background:#1e5785;color:#fff;border-color:#1e5785;box-shadow:0 6px 16px rgba(30,87,133,.18)}
.wlg-salary-table [data-parent-promoter]{width:100%;min-width:145px;min-height:46px;padding:9px;border:1px solid #b9ccdd;border-radius:10px;background:#fff;color:#142c43;font:inherit}.wlg-salary-table [data-parent-promoter]:disabled{background:#e9eef2;color:#8996a1}

/* WLG 薪資表：桌面版採完整可見的簡約緊湊配置。 */
.wlg-salary-sheet{border-radius:12px}
.wlg-sheet-summary{gap:12px;padding:12px 14px}.wlg-sheet-summary>div{gap:2px}.wlg-sheet-summary strong{font-size:.92rem}.wlg-sheet-summary small{font-size:.72rem}
.wlg-sheet-actions{gap:7px;padding:0 14px 10px}.wlg-sheet-actions button{min-width:0;padding:8px 12px;font-size:.78rem}
.wlg-salary-pages{gap:6px;padding:0 14px 10px}.wlg-salary-pages button{width:70px;min-width:70px;padding:6px 10px;font-size:.75rem}
.wlg-sheet-scroll{overflow-x:auto}
.wlg-salary-table{width:100%;min-width:0;table-layout:fixed;font-size:11px}
.wlg-salary-table th,.wlg-salary-table td{padding:5px 3px;line-height:1.15}
.wlg-salary-table th{font-size:10px;letter-spacing:0;overflow:hidden;text-overflow:ellipsis}
.wlg-salary-table th:nth-child(1){width:3.5%}.wlg-salary-table th:nth-child(2){width:14%}.wlg-salary-table th:nth-child(3){width:8%}.wlg-salary-table th:nth-child(4){width:10%}
.wlg-salary-table input[type="number"],.wlg-salary-table select,.wlg-salary-table [data-parent-promoter]{min-width:0;min-height:30px;padding:3px 4px;border-radius:6px;font-size:10px}
.wlg-person-cell{min-width:0;padding-left:6px!important}.wlg-person-cell strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.wlg-person-cell select{margin:3px 0 1px}.wlg-person-cell small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px}
.wlg-money{font-size:10px}.wlg-confirm-check{gap:2px!important}.wlg-confirm-check input{width:14px;height:14px}.wlg-salary-table .wlg-confirm-check span{font-size:9px}
.wlg-salary-table [data-transfer-select]{width:15px;height:15px;accent-color:#1e5785;cursor:pointer}
.wlg-person-cell{text-align:center!important}.wlg-person-cell>small:first-of-type{display:none}.wlg-person-cell strong,.wlg-person-cell small{text-align:center}
.wlg-supervisor-pages{display:flex;align-items:center;gap:8px;padding:0 14px 10px}.wlg-supervisor-pages[hidden]{display:none}.wlg-supervisor-pages span{margin-right:3px;color:#55728c;font-size:.72rem;font-weight:800}.wlg-supervisor-pages select{width:180px;min-height:38px;padding:6px 34px 6px 11px;border:1px solid #9fb6ca;border-radius:7px;background-color:#fff;color:#194c78;font-weight:800}.wlg-supervisor-pages button{width:auto;min-width:104px;min-height:38px;padding:6px 12px;border:1px solid #2f7658;border-radius:7px;background:#eef6f1;color:#245f47;font-size:.75rem;font-weight:850}
.wlg-salary-pages{align-items:center;flex-wrap:wrap}.wlg-salary-pages>span{margin-right:3px;color:#55728c;font-size:.72rem;font-weight:800}
.wlg-salary-pages .wlg-transfer-label{margin-left:12px}.wlg-salary-pages [data-transfer-supervisor]{width:112px;min-height:31px;padding:4px 7px;border:1px solid #9fb6ca;border-radius:6px;background:#fff;color:#194c78;font-size:.75rem}.wlg-salary-pages .wlg-transfer-apply{min-width:88px;border-color:#2f7258;background:#2f7258;color:#fff}.wlg-salary-pages .wlg-transfer-apply:hover{background:#245d48}
.wlg-account-view{display:block;width:100%;margin-top:2px;padding:0;border:0;background:transparent;color:#32658f;font-size:9px;font-weight:750;text-decoration:underline;text-underline-offset:2px;cursor:pointer}.wlg-account-view:hover{color:#173f64}.wlg-account-list{position:relative;z-index:2;display:grid;gap:4px;margin-top:4px;padding:5px 6px;border:1px solid #b9ccdd;border-radius:6px;background:#fff;color:#17334f;font-size:9px;line-height:1.35;overflow-wrap:anywhere;box-shadow:0 5px 14px rgba(23,51,79,.12)}.wlg-account-entry{position:relative}.wlg-account-code{display:flex;width:100%;align-items:center;justify-content:center;gap:5px;padding:3px 0;border:0;background:transparent;color:#17334f;font:inherit;cursor:pointer}.wlg-account-code code{font-weight:900}.wlg-account-code span{color:#55728c}.wlg-account-code b{padding:0;color:#246344;font-size:8px}.wlg-account-code.is-readonly{cursor:default}.wlg-external-account-menu{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin-top:3px}.wlg-external-account-menu[hidden]{display:none}.wlg-external-account-menu button{min-height:26px;padding:3px 5px;border:1px solid #9fb6ca;border-radius:5px;background:#fff;color:#245f92;font-size:9px;font-weight:800}
.wlg-shared-line-button{display:block;width:100%;margin-top:3px;padding:2px 4px;border:1px solid #8aafcc;border-radius:5px;background:#edf6fd;color:#245f92;font-size:9px;font-weight:850;cursor:pointer}.wlg-shared-line-dialog{width:min(720px,calc(100vw - 28px));max-width:none;padding:0;overflow:hidden;border:1px solid #b9ccdd;border-radius:14px;background:#fff;color:#17334f;box-shadow:0 18px 60px rgba(17,45,68,.28)}.wlg-shared-line-dialog::backdrop{background:rgba(12,31,46,.48)}.wlg-shared-line-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 18px;background:#eef5fa;border-bottom:1px solid #cbd9e5}.wlg-shared-line-dialog>header strong,.wlg-shared-line-dialog>header small{display:block}.wlg-shared-line-dialog>header strong{font-size:17px;color:#174a79}.wlg-shared-line-dialog>header small{margin-top:3px;color:#60778b}.wlg-shared-line-dialog>header button{width:34px;height:34px;padding:0;border:1px solid #b9ccdd;border-radius:8px;background:#fff;color:#174a79;font-size:23px}.wlg-shared-line-dialog>section{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:18px}.wlg-shared-line-dialog>section>label{display:grid;gap:6px;font-weight:800}.wlg-shared-line-dialog>section>label input,.wlg-shared-line-dialog>section>label select{min-height:44px;padding:8px 10px;border:1px solid #b9ccdd;border-radius:8px;background:#fff;color:#17334f;font:inherit}.wlg-shared-line-dialog>section>label input:disabled{background:#edf1f4;color:#60778b}.wlg-shared-line-grid{grid-column:1/-1;display:grid;grid-template-columns:minmax(160px,1.35fr) repeat(2,minmax(130px,1fr));gap:8px;align-items:center;padding:12px;border:1px solid #cbd9e5;border-radius:10px;background:#f8fbfd}.wlg-shared-line-grid>strong{text-align:center}.wlg-shared-line-grid>span{font-weight:800}.wlg-shared-line-grid>label{display:flex;align-items:center;gap:5px}.wlg-shared-line-grid input{width:100%;min-height:40px;padding:7px;border:1px solid #b9ccdd;border-radius:7px;text-align:center;font:inherit}.wlg-shared-line-grid i{font-style:normal;font-weight:800}.wlg-shared-line-dialog [data-shared-line-summary],.wlg-shared-line-dialog [data-shared-line-error]{grid-column:1/-1;margin:0}.wlg-shared-line-dialog [data-shared-line-summary]{color:#4f6e86}.wlg-shared-line-error{min-height:20px;color:#b83333;font-weight:800}.wlg-shared-line-dialog>footer{display:flex;justify-content:flex-end;gap:10px;padding:14px 18px;background:#f4f7f9;border-top:1px solid #d5e0ea}.wlg-shared-line-dialog>footer button{min-width:120px;min-height:40px}@media(max-width:640px){.wlg-shared-line-dialog>section{grid-template-columns:1fr}.wlg-shared-line-grid{grid-template-columns:1fr 1fr}.wlg-shared-line-grid>strong:first-child,.wlg-shared-line-grid>span{grid-column:1/-1;text-align:left}}
.wlg-salary-table tr.is-subline{background:#f8fbfd}.wlg-salary-table tr.is-subline .wlg-person-cell strong{color:#32658f;font-weight:750}

/* WLG 桌面薪資表：姓名與身分並排，統一每列高度及數字對齊。 */
.wlg-salary-table tbody tr{height:43px}
.wlg-salary-table th,.wlg-salary-table td{text-align:center!important;vertical-align:middle}
.wlg-salary-table td.wlg-person-cell{white-space:nowrap;padding:4px!important}
.wlg-person-cell strong{display:inline-block;width:43%;padding-right:4px;vertical-align:middle;text-align:right!important}
.wlg-person-cell select{display:inline-block;width:55%!important;min-height:28px!important;height:28px;margin:0!important;padding:2px 20px 2px 4px!important;vertical-align:middle;text-align:center;text-align-last:center}
.wlg-salary-table input[type="number"]{height:28px;min-height:28px;padding:2px 4px!important;text-align:center!important}
.wlg-salary-table input[type="number"]::-webkit-inner-spin-button,.wlg-salary-table input[type="number"]::-webkit-outer-spin-button{margin:0}
.wlg-person-cell .wlg-account-view{white-space:normal}
.wlg-salary-pages .wlg-save-all{width:auto;min-width:128px;margin-left:auto;border-color:#174a79;background:#174a79;color:#fff;font-weight:850}.wlg-salary-pages .wlg-save-all:hover{background:#103a61}
.wlg-salary-table tr.is-subline{background:transparent}.wlg-salary-table tr.is-subline .wlg-person-cell strong{color:inherit;font-weight:800}

/* WLG 薪資表欄寬、格子及文字間距統一。 */
.wlg-salary-table{table-layout:fixed}
.wlg-salary-table th:nth-child(1){width:4%}.wlg-salary-table th:nth-child(2){width:16%}
.wlg-salary-table th:nth-child(n+3):nth-child(-n+7){width:12%}
.wlg-salary-table th:nth-child(8),.wlg-salary-table th:nth-child(9){width:10%}
.wlg-salary-table th,.wlg-salary-table td{padding-left:5px;padding-right:5px}
.wlg-salary-table input[type="number"]{display:block;width:calc(100% - 8px);margin:0 auto;box-sizing:border-box;text-align:center!important;text-indent:0}
.wlg-person-cell strong{width:39%;margin-right:4%;padding:0;overflow:hidden;text-overflow:ellipsis;vertical-align:middle;text-align:right!important}
.wlg-person-cell select{width:55%!important;vertical-align:middle}
.wlg-person-cell .wlg-account-view{width:100%;margin:3px 0 0;text-align:center}
.wlg-salary-table input[type="number"]{-moz-appearance:textfield;appearance:textfield}
.wlg-salary-table input[type="number"]::-webkit-inner-spin-button,.wlg-salary-table input[type="number"]::-webkit-outer-spin-button{-webkit-appearance:none;appearance:none;margin:0;display:none}

/* WLG 月帳進度 */
.wlg-progress{margin:22px 0 18px;color:#18324a}.wlg-progress-summary{display:grid;gap:17px}.wlg-progress-title{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:20px}.wlg-progress-title>div:first-child span,.wlg-progress-title>div:first-child small{display:block}.wlg-progress-title>div:first-child span{font-size:22px;font-weight:900}.wlg-progress-title>div:first-child small{margin-top:5px;color:#60758a}.wlg-progress-title>b{color:#174f82;font-size:38px;line-height:1;font-variant-numeric:tabular-nums}.wlg-progress-health{padding:10px 16px;border-radius:999px;background:#e4f4e8;color:#237342;font-weight:800}.wlg-progress-health strong{margin-left:7px;font-size:17px}.wlg-progress-health.is-attention{background:#fff0d1;color:#855707}.wlg-progress-track{height:18px;border-radius:999px;background:#e4eae6;overflow:hidden}.wlg-progress-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#237b42,#45a76e);transition:width .3s ease}.wlg-progress-next{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 20px;border-radius:16px;background:#fff1d3;color:#714900}.wlg-progress-next div{display:grid;gap:5px}.wlg-progress-next strong{font-size:19px}.wlg-progress-next span{font-size:14px}.wlg-progress-next button{flex:none;padding:12px 18px;border:0;border-radius:11px;background:#174f82;color:#fff;font-weight:900}.wlg-progress-next.is-complete{background:#e9f6ef;color:#246b42}.wlg-progress-details{margin-top:18px;border-top:1px solid #dce4e8}.wlg-progress-details summary{padding:17px 0 8px;cursor:pointer;list-style:none;color:#174f82;font-size:17px;font-weight:900;text-align:center}.wlg-progress-details summary::-webkit-details-marker{display:none}.wlg-progress-details summary:before{content:"▸ ";display:inline-block;transition:transform .18s}.wlg-progress-details[open] summary:before{transform:rotate(90deg)}.wlg-progress-steps{display:grid;gap:9px;margin-top:10px}.wlg-progress-step{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:14px;width:100%;padding:13px 16px;border:0;border-radius:13px;background:#f0f7f3;color:#18324a;text-align:left}.wlg-progress-step>i{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#1f7a42;color:#fff;font-style:normal;font-weight:900}.wlg-progress-step>span{display:grid;gap:3px}.wlg-progress-step strong{font-size:15px}.wlg-progress-step small{color:#60758a;font-size:13px}.wlg-progress-step>b{color:#287449;font-size:12px}.wlg-progress-step.is-pending{background:#f5f6f5}.wlg-progress-step.is-pending>i{background:#dce4df;color:#617168}.wlg-progress-step.is-pending>b{color:#7a8781}@media(max-width:700px){.wlg-progress-title{grid-template-columns:1fr auto;gap:12px}.wlg-progress-title>div:first-child{grid-column:1/-1}.wlg-progress-title>b{font-size:32px}.wlg-progress-health{padding:8px 12px}.wlg-progress-next{align-items:stretch;flex-direction:column}.wlg-progress-next button{width:100%}.wlg-progress-step{grid-template-columns:36px minmax(0,1fr)}.wlg-progress-step>b{display:none}}

/* 推廣員名稱與身分拆為獨立欄位。 */
.wlg-salary-table th:nth-child(1){width:4%}.wlg-salary-table th:nth-child(2){width:12%}.wlg-salary-table th:nth-child(3){width:8%}
.wlg-salary-table th:nth-child(n+4):nth-child(-n+8){width:11%}
.wlg-salary-table th:nth-child(9),.wlg-salary-table th:nth-child(10){width:10.5%}
.wlg-person-cell{padding:4px 6px!important;text-align:center!important}.wlg-person-cell strong{display:block;width:100%;margin:0;padding:0;text-align:center!important}.wlg-person-cell .wlg-account-view{margin-top:3px}
.wlg-role-cell{padding:4px!important;text-align:center!important}.wlg-role-cell select{display:block;width:100%;min-width:0;min-height:28px;height:28px;margin:0;padding:2px 18px 2px 4px;border:1px solid #b9ccdd;border-radius:6px;background:#fff;color:#142c43;font-size:10px;text-align:center;text-align-last:center}
.wlg-salary-table th:nth-child(2){width:13%}.wlg-salary-table th:nth-child(3){width:6%}.wlg-salary-table th:nth-child(n+4):nth-child(-n+8){width:11.2%}

/* WLG 公關帳號歸屬：桌面版批次管理。 */
.wlg-pr-console{display:grid;gap:12px}.wlg-pr-console>header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 16px;border:1px solid #cfddd5;border-radius:14px;background:#f2f7f3}.wlg-pr-console h4{margin:0 0 4px}.wlg-pr-console header small{color:var(--muted)}.wlg-pr-console header>div:last-child{display:flex;gap:8px}.wlg-pr-console header b{padding:6px 10px;border-radius:99px;font-size:12px}.wlg-pr-console .is-pending{color:#a43e34}.wlg-pr-console header .is-pending{background:#fde9e6}.wlg-pr-console .is-mapped{color:#286c47}.wlg-pr-console header .is-mapped{background:#e4f2e8}.wlg-pr-console [data-pr-add]{display:flex;gap:8px}.wlg-pr-console [data-pr-add] input{width:260px;min-height:36px;padding:7px 10px;border:1px solid #c7d5cd;border-radius:8px}.wlg-pr-console button{min-height:36px;padding:7px 12px}.wlg-pr-table{width:100%;border-collapse:collapse;table-layout:fixed}.wlg-pr-table th,.wlg-pr-table td{padding:8px 10px;border-bottom:1px solid #d8e1dc;text-align:center;vertical-align:middle}.wlg-pr-table th{background:#eaf1ed}.wlg-pr-table th:first-child{width:46px}.wlg-pr-table th:nth-child(2){width:28%}.wlg-pr-table th:last-child{width:100px}.wlg-pr-table code{font-size:13px;color:#183d30}.wlg-pr-table select{width:100%;min-height:34px;padding:5px 8px;border:1px solid #c7d5cd;border-radius:7px;background:#fff;text-align:center;text-align-last:center}.wlg-pr-console [data-pr-form]>footer{display:flex;justify-content:flex-end;gap:8px;margin-top:10px}.wlg-pr-console .is-danger{border-color:#ba5549;background:#fff;color:#a43e34}
.wlg-pr-allocations{display:grid;gap:6px}.wlg-pr-allocation{display:grid;grid-template-columns:minmax(170px,1fr) 58px 16px;gap:5px;align-items:center}.wlg-pr-allocation input{width:100%;min-width:0;min-height:34px;padding:5px;border:1px solid #c7d5cd;border-radius:7px;text-align:center}.wlg-pr-allocation i{font-style:normal;color:#64756e}


/* WLG desktop accounting: shareholder + streamer-hours columns */
.wlg-salary-table th:nth-child(1){width:3%}
.wlg-salary-table th:nth-child(2){width:5%}
.wlg-salary-table th:nth-child(3){width:10%}
.wlg-salary-table th:nth-child(4){width:5%}
.wlg-salary-table th:nth-child(n+5):nth-child(-n+10){width:9.5%}
.wlg-salary-table th:nth-child(11),.wlg-salary-table th:nth-child(12){width:10%}
.wlg-shareholder-cell{font-weight:800;color:#245b45;white-space:nowrap}
.wlg-salary-table th:nth-child(-n+4),.wlg-salary-table td:nth-child(-n+4){padding:5px 6px!important;text-align:center!important;vertical-align:middle!important}
.wlg-salary-table td:nth-child(1) input{display:block;margin:0 auto}
.wlg-salary-table .wlg-person-cell{padding-left:8px!important;padding-right:8px!important}
.wlg-role-cell select{width:76%;margin:0 auto;padding:2px 4px;background-image:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;text-align:center;text-align-last:center}
.wlg-shareholder-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:12px;padding:14px 16px;border:1px solid #cfddd5;border-radius:14px;background:#f2f7f3}.wlg-shareholder-toolbar small{display:block;margin-top:4px;color:var(--muted)}.wlg-command-copy{display:flex;align-items:center;gap:8px}.wlg-command-copy code{padding:9px 12px;border-radius:8px;background:#173f32;color:#fff}.wlg-pending-groups{display:flex;align-items:center;gap:8px;margin-bottom:12px;padding:10px 12px;border-radius:10px;background:#fff2dc;color:#8a5417}.wlg-pending-groups span{padding:4px 8px;border-radius:99px;background:#fff}.wlg-shareholder-list{display:grid;gap:8px}.wlg-shareholder-card{border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}.wlg-shareholder-card.is-unbound{border-left:5px solid #bb493e}.wlg-shareholder-card.is-bound{border-left:5px solid #2f7a50}.wlg-shareholder-card summary{display:grid;grid-template-columns:minmax(180px,1fr) 120px 220px;align-items:center;gap:16px;padding:14px 16px;cursor:pointer;list-style:none}.wlg-shareholder-card summary::-webkit-details-marker{display:none}.wlg-shareholder-card summary strong,.wlg-shareholder-card summary small{display:block}.wlg-shareholder-card summary small{margin-top:4px;color:var(--muted)}.wlg-shareholder-card.is-unbound .wlg-binding-status{color:#b33f35;font-weight:900}.wlg-shareholder-card.is-bound .wlg-binding-status{color:#297348;font-weight:900}.wlg-owner-counts{text-align:right;color:#365d4c;font-weight:800}.wlg-shareholder-detail{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:16px;border-top:1px solid var(--line);background:#f8faf7}.wlg-shareholder-detail h5{margin:0 0 10px}.wlg-shareholder-detail p{margin:7px 0;line-height:1.55}.wlg-shareholder-settings{display:grid;gap:12px}.wlg-shareholder-settings label{margin:0}.wlg-shareholder-settings fieldset{display:grid;gap:7px;padding:11px 13px;border:1px solid #d6e0d8;border-radius:10px}.wlg-shareholder-settings fieldset label{display:flex;align-items:center;gap:7px;font-weight:600}.wlg-shareholder-settings fieldset input{width:auto}.wlg-shareholder-actions{display:flex;gap:8px;justify-content:flex-end}
.wlg-shareholder-category-tabs{margin-bottom:12px}.wlg-shareholder-batch-save{min-height:42px;padding:8px 18px;white-space:nowrap}.wlg-shareholder-settings>label>select{height:56px;min-height:56px;padding-top:0;padding-bottom:0}.wlg-referral-thresholds{display:grid;gap:10px;margin-top:16px}.wlg-referral-thresholds h5{margin:0}.wlg-referral-threshold-row{display:grid;gap:6px;margin:0;font-weight:750}.wlg-referral-threshold-control{display:grid;grid-template-columns:1fr 1fr;width:100%;height:56px;min-height:56px;padding:4px;border:1px solid #cbd9d1;border-radius:12px;background:#fff;overflow:hidden}.wlg-referral-threshold-control button{width:100%;min-width:0;min-height:0;height:46px;padding:0;border:0;border-radius:8px;background:transparent;color:#587064;font-size:16px;font-weight:850}.wlg-referral-threshold-control button[aria-pressed="true"]{background:#225943;color:#fff;box-shadow:0 2px 6px rgba(25,57,45,.18)}.wlg-shareholder-actions button{width:auto;min-width:88px;min-height:42px;padding:8px 18px;font-size:15px}
.wlg-template-controls{display:grid;grid-template-columns:minmax(260px,1fr) auto;align-items:center;gap:12px;margin-bottom:14px;padding:14px;border:1px solid #d7e2db;border-radius:14px;background:#f2f6f3}.wlg-template-controls h4,.wlg-template-controls p{margin:0}.wlg-template-controls p{margin-top:4px;color:var(--muted);font-size:13px}.wlg-template-controls form{grid-column:1/-1;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.wlg-template-controls label{display:flex;align-items:center;gap:6px;margin:0}.wlg-template-controls input[type="number"]{width:64px}.wlg-template-controls input[type="time"]{width:115px}
.wlg-company-ledger{display:grid;gap:14px}.wlg-company-ledger>header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 18px;border:1px solid #cbdad2;border-radius:14px;background:#f7faf8}.wlg-company-ledger h4{margin:0 0 4px}.wlg-company-ledger small{color:#718078}.wlg-company-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.wlg-company-summary article{display:grid;gap:5px;padding:14px 16px;border:1px solid #cbdad2;border-radius:12px;background:#fff}.wlg-company-summary article.is-total{color:#fff;background:#245942}.wlg-company-summary strong{font-size:1.3rem}.wlg-company-table{width:100%;border-collapse:collapse;table-layout:fixed}.wlg-company-table th,.wlg-company-table td{padding:10px 8px;border-bottom:1px solid #d8e1dc;text-align:center}.wlg-company-table thead,.wlg-company-table tfoot{background:#eaf1ed}.wlg-company-table td:first-child,.wlg-company-table th:first-child{text-align:left}
.wlg-pr-ledger{display:grid;gap:8px;padding:14px 16px;border:1px solid #cfddd5;border-radius:14px;background:#f8faf8}.wlg-pr-ledger h4{margin:0}.wlg-pr-ledger>small{color:var(--muted)}
.wlg-integrated-costs{display:grid;gap:10px;margin-top:18px;padding:16px;border:1px solid #cbdad2;border-radius:16px;background:#f8faf8}.wlg-integrated-costs header h4{margin:0 0 4px}.wlg-integrated-costs header small{color:var(--muted)}.wlg-integrated-costs .wlg-pr-table{min-width:1080px;table-layout:auto}.wlg-integrated-costs .wlg-pr-table th:first-child{width:auto}.wlg-integrated-costs .wlg-pr-table th:nth-child(2){width:auto}.wlg-integrated-costs input[type="number"]{width:120px;min-height:36px;padding:6px 8px;border:1px solid #b9ccdd;border-radius:8px;text-align:center}.wlg-integrated-costs label{display:inline-flex;align-items:center;gap:5px;margin-right:8px;white-space:nowrap}.wlg-integrated-costs button{min-height:34px;padding:6px 12px}.wlg-shareholder-monthly{display:grid;gap:10px}.wlg-shareholder-monthly label{display:flex;align-items:center;gap:8px}.wlg-shareholder-monthly input[type="number"]{width:150px}
.wlg-salary-table{width:2260px!important;min-width:2260px!important;table-layout:fixed}.wlg-salary-table th,.wlg-salary-table td{box-sizing:border-box}.wlg-salary-table th:nth-child(1),.wlg-salary-table td:nth-child(1){width:58px}.wlg-salary-table th:nth-child(2),.wlg-salary-table td:nth-child(2){width:105px}.wlg-salary-table th:nth-child(3),.wlg-salary-table td:nth-child(3){width:190px}.wlg-salary-table th:nth-child(4),.wlg-salary-table td:nth-child(4){width:105px}.wlg-salary-table th:nth-child(n+5):nth-child(-n+10),.wlg-salary-table td:nth-child(n+5):nth-child(-n+10){width:122px}.wlg-salary-table th:nth-child(11),.wlg-salary-table td:nth-child(11),.wlg-salary-table th:nth-child(12),.wlg-salary-table td:nth-child(12){width:140px}.wlg-salary-table th:nth-child(13),.wlg-salary-table td:nth-child(13){width:185px}.wlg-salary-table th:nth-child(14),.wlg-salary-table td:nth-child(14){width:160px}.wlg-salary-table th:nth-child(15),.wlg-salary-table td:nth-child(15){width:145px}.wlg-salary-table th:nth-child(16),.wlg-salary-table td:nth-child(16){width:300px}.wlg-pr-inline-account{width:185px;min-width:185px;text-align:left!important;white-space:normal}.wlg-pr-inline-account code{white-space:nowrap}.wlg-pr-inline-account small{margin-left:5px;color:#65798a}.wlg-pr-money{white-space:nowrap}.wlg-shared-expense-inline{width:300px;min-width:300px;padding-left:10px!important;padding-right:10px!important}.wlg-shared-expense-controls{display:grid;grid-template-columns:100px 70px 64px;align-items:center;justify-content:center;gap:7px}.wlg-shared-expense-controls>input[type="number"]{width:100px!important;min-width:0!important;height:40px;padding:7px!important}.wlg-shared-expense-controls label{display:flex;align-items:center;justify-content:center;gap:5px;margin:0;white-space:nowrap}.wlg-shared-expense-controls label input{width:18px!important;min-width:18px!important;height:18px}.wlg-shared-expense-controls button{width:64px;min-width:64px;min-height:40px;padding:6px 8px;white-space:nowrap}.wlg-shared-expense-repeat{display:block;color:#718078;text-align:center;white-space:nowrap}
.wlg-shareholder-monthly{display:none!important}.wlg-salary-table{width:2204px!important;min-width:2204px!important}.wlg-salary-table th:nth-child(16),.wlg-salary-table td:nth-child(16),.wlg-salary-table th:nth-child(17),.wlg-salary-table td:nth-child(17){width:122px}.wlg-shared-expense-cell{width:122px;min-width:122px}.wlg-shared-expense-cell input[type="number"]{width:104px!important;min-width:104px!important}
.wlg-salary-table{width:2326px!important;min-width:2326px!important}.wlg-salary-table th:nth-child(n+5):nth-child(-n+12),.wlg-salary-table td:nth-child(n+5):nth-child(-n+12){width:122px}.wlg-salary-table th:nth-child(13),.wlg-salary-table td:nth-child(13),.wlg-salary-table th:nth-child(14),.wlg-salary-table td:nth-child(14){width:140px}.wlg-salary-table th:nth-child(15),.wlg-salary-table td:nth-child(15){width:185px}.wlg-salary-table th:nth-child(16),.wlg-salary-table td:nth-child(16){width:160px}.wlg-salary-table th:nth-child(17),.wlg-salary-table td:nth-child(17){width:145px}.wlg-salary-table th:nth-child(18),.wlg-salary-table td:nth-child(18){width:122px}.wlg-promoter-bonus-cell{color:#174a79}
.wlg-roster-console{display:grid;gap:16px}.wlg-roster-console>header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:18px 20px;border:1px solid #ceddd5;border-radius:16px;background:#f3f7f4}.wlg-roster-console header h4{margin:0 0 5px;color:#173e31;font-size:20px}.wlg-roster-console header small{display:block;max-width:760px;color:#697a72;line-height:1.55}.wlg-roster-console header b{white-space:nowrap}.wlg-roster-console .is-pending{color:#a43e34}.wlg-roster-console .is-mapped{color:#286c47}.wlg-roster-table{width:100%;min-width:1040px;border-collapse:collapse}.wlg-roster-table th,.wlg-roster-table td{padding:12px;border-bottom:1px solid #d7e1dd;text-align:center;vertical-align:middle}.wlg-roster-table th{background:#225943;color:#fff}.wlg-roster-table td:first-child strong,.wlg-roster-table td:first-child small{display:block}.wlg-roster-table td:first-child small{margin-top:3px;color:#6b7d75}.wlg-roster-table select{min-width:220px}.wlg-roster-table td:last-child{display:flex;justify-content:center;gap:7px}.wlg-roster-table .is-danger{border-color:#c8796f;color:#98382f;background:#fff7f5}
.wlg-account-category-tabs{display:inline-flex;gap:4px;margin:0 0 16px;padding:4px;border:1px solid #cbd9d1;border-radius:12px;background:#edf3ef}.wlg-account-category-tabs button{min-width:120px;padding:9px 18px;border:0;border-radius:9px;background:transparent;color:#62736b;font-weight:850}.wlg-account-category-tabs button.is-active{background:#225943;color:#fff;box-shadow:0 2px 7px rgba(25,57,45,.18)}.wlg-account-category-panel{min-width:0}@media(max-width:600px){.wlg-account-category-tabs{display:flex}.wlg-account-category-tabs button{flex:1;min-width:0}}
.wlg-scope-notice{display:flex;gap:14px;align-items:center;margin:0 0 16px;padding:13px 16px;border:1px solid #d6c489;border-radius:12px;background:#fff8dc;color:#244f43}.wlg-scope-notice strong{white-space:nowrap;color:#8a6500}.wlg-scope-notice span{line-height:1.5}
.wlg-preview-controls{display:grid;grid-template-columns:minmax(240px,1fr) auto auto;align-items:center;gap:14px;margin:0 0 16px;padding:16px 18px;border:1px solid #bfd5ca;border-radius:14px;background:#eef6f1}.wlg-preview-controls strong,.wlg-preview-controls small{display:block}.wlg-preview-controls small{margin-top:4px;color:#60746b}.wlg-preview-controls button{min-height:42px;padding:8px 18px}.wlg-preview-controls span{padding:7px 10px;border-radius:99px;font-size:12px;font-weight:800;white-space:nowrap}.wlg-preview-controls .is-ready{color:#236341;background:#dcefe3}.wlg-preview-controls .is-blocked{color:#985026;background:#fff0d7}.wlg-preview-result{display:grid;gap:10px;margin:0 0 18px;padding:16px 18px;border:1px solid #cbd9e5;border-radius:14px;background:#f4f8fc}.wlg-preview-result header strong,.wlg-preview-result header small{display:block}.wlg-preview-result header small{margin-top:4px;color:#667989}.wlg-preview-files{display:grid;gap:8px}.wlg-preview-files article{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 14px;border:1px solid #d6e0e8;border-radius:10px;background:#fff}.wlg-preview-files article strong,.wlg-preview-files article small{display:block}.wlg-preview-files article small{margin-top:3px;color:#667989}.wlg-preview-files nav{display:flex;gap:7px}.wlg-preview-files a{padding:7px 11px;border:1px solid #2e6b50;border-radius:7px;color:#245a43;text-decoration:none;font-weight:800;white-space:nowrap}.wlg-preview-files a:hover{background:#e7f2eb}@media(max-width:760px){.wlg-preview-controls{grid-template-columns:1fr}.wlg-preview-controls span{justify-self:start}.wlg-preview-files article{align-items:flex-start;flex-direction:column}}
.wlg-preview-audit-bind{display:block;margin:0 0 16px;padding:16px 18px;border:1px solid;border-radius:12px}.wlg-preview-audit-bind>header{display:flex;align-items:center;justify-content:space-between;gap:14px}.wlg-preview-audit-bind strong,.wlg-preview-audit-bind small{display:block}.wlg-preview-audit-bind small{margin-top:3px}.wlg-preview-binding-status{padding:6px 10px;border-radius:99px;white-space:nowrap}.wlg-preview-audit-bind dl{display:grid;gap:8px;margin:14px 0 0}.wlg-preview-audit-bind dl>div{display:grid;grid-template-columns:90px minmax(0,1fr);align-items:center;gap:12px;padding-top:8px;border-top:1px solid rgba(32,80,58,.13)}.wlg-preview-audit-bind dt{font-size:13px;font-weight:900;opacity:.76}.wlg-preview-audit-bind dd{margin:0;font-weight:800}.wlg-preview-command{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.wlg-preview-audit-bind code{padding:6px 9px;border-radius:6px;background:rgba(255,255,255,.76);font-weight:900}.wlg-preview-command button{min-height:34px;padding:5px 11px;border:1px solid currentColor;border-radius:7px;color:inherit;background:#fff;font-weight:900}.wlg-preview-audit-bind.is-unbound{border-color:#dc928c;background:#fff0ee;color:#9b3029}.wlg-preview-audit-bind.is-unbound .wlg-preview-binding-status{background:#ffd9d5}.wlg-preview-audit-bind.is-bound{border-color:#86bea0;background:#e9f6ee;color:#21633f}.wlg-preview-audit-bind.is-bound .wlg-preview-binding-status{background:#d3ebdc}.wlg-preview-result>header{display:flex;align-items:center;justify-content:space-between;gap:16px}.wlg-preview-result>header button{min-height:40px}.wlg-preview-files article.is-review-pending{border-color:#d6655d;background:#fff1ef;box-shadow:inset 4px 0 0 #c83f37}.wlg-preview-files article.is-review-confirmed{border-color:#72b28d;background:#edf8f1;box-shadow:inset 4px 0 0 #2f8155}.wlg-preview-files article.is-review-not_sent{border-color:#d9bd75;background:#fff9e9}.wlg-review-status{display:inline-block!important;margin-top:7px;padding:4px 8px;border-radius:99px;font-size:12px}.is-review-pending .wlg-review-status,.is-review-pending-text{color:#b52f28}.is-review-pending .wlg-review-status{background:#ffdcd8}.is-review-confirmed .wlg-review-status,.is-review-confirmed-text{color:#267348}.is-review-confirmed .wlg-review-status{background:#d8efdf}.is-review-not_sent .wlg-review-status{color:#88621b;background:#fff0bc}@media(max-width:760px){.wlg-preview-result>header,.wlg-preview-audit-bind>header{align-items:flex-start;flex-direction:column}.wlg-preview-audit-bind dl>div{grid-template-columns:1fr;gap:4px}}
.wlg-platform-sources,.wlg-excel-sources{display:grid;gap:12px;margin-bottom:16px}.wlg-platform-sources>header,.wlg-excel-sources>header{padding:14px 16px;border:1px solid #cbd9e5;border-radius:14px;background:#f4f8fc}.wlg-platform-sources h4,.wlg-excel-sources h4{margin:0 0 4px;color:#174a79}.wlg-platform-sources header small,.wlg-excel-sources header small{color:#667989}.wlg-platform-sources table{width:100%;min-width:900px;border-collapse:collapse;background:#fff}.wlg-platform-sources th,.wlg-platform-sources td{padding:10px 12px;border-bottom:1px solid #d6e0e8;text-align:center;vertical-align:middle}.wlg-platform-sources th{background:#2f75b5;color:#fff}.wlg-platform-sources .is-mapped{color:#286c47;font-weight:800}.wlg-platform-sources .is-pending{color:#a43e34;font-weight:800}
.wlg-downline-panel{display:grid;gap:10px;margin:14px;padding:16px;border:1px solid #b9ccdd;border-radius:12px;background:#f7fafc;color:#17334f}.wlg-downline-panel>header{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.wlg-downline-panel h4{margin:0;color:#174a79}.wlg-downline-panel small{display:block;margin-top:4px;color:#55728c}.wlg-downline-head,.wlg-downline-row{display:grid;grid-template-columns:100px 1fr 1fr 1fr 1fr .8fr .9fr;gap:8px;align-items:center;text-align:center}.wlg-downline-head{font-size:.76rem;font-weight:850;color:#55728c}.wlg-downline-row{min-height:44px;padding:5px 0;border-top:1px solid #dce6ef}.wlg-downline-row input{box-sizing:border-box;width:100%;min-height:36px;padding:6px 8px;border:1px solid #b9ccdd;border-radius:7px;background:#fff;color:#17334f;text-align:center}.wlg-downline-row b,.wlg-downline-row strong{color:#174a79}.wlg-downline-row code{color:#17334f;font-weight:800}.wlg-downline-profit.is-negative,.wlg-downline-net.is-negative{color:#e22121;font-weight:850}.wlg-rate-input{display:grid;grid-template-columns:1fr 18px;align-items:center}.wlg-rate-input i{font-style:normal}.wlg-rate-input input:disabled{opacity:.55;background:#edf2f6}.wlg-downline-toggle{display:flex;align-items:center;justify-content:center;gap:7px;margin:0;font-weight:850}.wlg-downline-toggle input{width:18px;min-height:18px}.wlg-downline-empty{padding:24px;text-align:center;color:#6c8193}@media(max-width:900px){.wlg-downline-head{display:none}.wlg-downline-row{grid-template-columns:1fr 1fr}.wlg-downline-panel>header{align-items:flex-start;flex-direction:column}}
.wlg-external-add{display:inline-grid;place-items:center;width:32px;height:32px;margin-left:8px;border:1px solid #7aa5ca;border-radius:8px;background:#edf6fd;color:#174a79;font-size:1.15rem;font-weight:900}.wlg-external-linker{display:grid;grid-template-columns:minmax(150px,1fr) auto auto;gap:6px;margin-top:8px}.wlg-external-linker input,.wlg-external-linker button{min-height:34px;border:1px solid #b9ccdd;border-radius:7px;padding:5px 9px}.wlg-salary-table tr.wlg-external-master-summary-row{height:43px;background:#f8fbfd}.wlg-salary-table tr.wlg-external-master-summary-row:hover{background:#f8fbfd}.wlg-salary-table tr.wlg-external-master-summary-row td{font-size:11px}.wlg-salary-table td.wlg-external-master-na{background:#f8fbfd;color:#9aa5ae}.wlg-external-master-person strong{font-size:11px}.wlg-external-master-person small{margin-top:2px;color:#65798a;font-size:9px}.wlg-external-master-person .wlg-account-view{display:block;width:auto;min-width:78px;min-height:22px;margin:2px auto 0;padding:2px 7px;border:0;background:transparent;color:#245f92;font-size:10px;font-weight:850;text-decoration:underline}.wlg-external-master-dialog{width:min(980px,calc(100vw - 32px));max-width:none;max-height:calc(100vh - 32px);padding:0;overflow:hidden;border:1px solid #b9ccdd;border-radius:12px;background:#fff;color:#17334f;box-shadow:0 18px 60px rgba(17,45,68,.28)}.wlg-external-master-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr)}.wlg-external-master-dialog::backdrop{background:rgba(12,31,46,.48)}.wlg-external-master-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 16px;background:#eef5fa;border-bottom:1px solid #cbd9e5}.wlg-external-master-dialog>header strong,.wlg-external-master-dialog>header small{display:block}.wlg-external-master-dialog>header strong{font-size:15px;color:#174a79}.wlg-external-master-dialog>header small{margin-top:2px;color:#60778b;font-size:11px}.wlg-external-master-dialog>header button{width:32px;height:32px;padding:0;border:1px solid #b9ccdd;border-radius:7px;background:#fff;color:#174a79;font-size:22px}.wlg-external-master-dialog .wlg-downline-panel{margin:0;padding:10px 12px;overflow:auto;border:0;border-radius:0}.wlg-external-master-dialog .wlg-downline-panel>header{align-items:center}.wlg-external-master-dialog .wlg-downline-head,.wlg-external-master-dialog .wlg-downline-row{grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;font-size:11px}.wlg-external-master-dialog .wlg-downline-row{min-height:36px;padding:3px 0}.wlg-external-master-dialog .wlg-downline-row input{min-height:30px;padding:3px 5px}.wlg-external-master-dialog .wlg-downline-toggle{gap:4px}.wlg-external-master-dialog .wlg-downline-toggle input{width:16px;min-height:16px}@media(max-width:900px){.wlg-external-linker{grid-template-columns:1fr}.wlg-external-master-dialog{width:calc(100vw - 20px)}.wlg-external-master-dialog .wlg-downline-head{display:grid}.wlg-external-master-dialog .wlg-downline-panel{overflow:auto}.wlg-external-master-dialog .wlg-downline-head,.wlg-external-master-dialog .wlg-downline-row{min-width:820px}}
.wlg-salary-table{width:2448px!important;min-width:2448px!important}.wlg-salary-table th:nth-child(13),.wlg-salary-table td:nth-child(13),.wlg-salary-table th:nth-child(14),.wlg-salary-table td:nth-child(14){width:140px}.wlg-salary-table th:nth-child(15),.wlg-salary-table td:nth-child(15){width:140px}.wlg-salary-table th:nth-child(16),.wlg-salary-table td:nth-child(16){width:185px}.wlg-salary-table th:nth-child(17),.wlg-salary-table td:nth-child(17){width:160px}.wlg-salary-table th:nth-child(18),.wlg-salary-table td:nth-child(18){width:145px}.wlg-salary-table th:nth-child(19),.wlg-salary-table td:nth-child(19){width:122px}.wlg-part-time-rate-cell input{display:block;width:104px;min-height:30px;margin:0 auto;padding:3px 4px;border:1px solid #b9ccdd;border-radius:6px;background:#fff;color:#142c43;font:inherit;text-align:center}.wlg-part-time-rate-cell small{display:block;color:#55728c;font-weight:800;white-space:nowrap}
[data-bonus-platform-note]{display:none!important}
.wlg-salary-table{width:2570px!important;min-width:2570px!important}.wlg-salary-table th:nth-child(20),.wlg-salary-table td:nth-child(20){width:122px;min-width:122px}.wlg-salary-table th:nth-child(20){white-space:nowrap}.wlg-shared-expense-cell{overflow:hidden}.wlg-shared-expense-cell input[type="number"]{display:block;margin:0 auto}
.wlg-preview-audit-bind code[data-copy-wlg-audit]{cursor:pointer;transition:background .16s,box-shadow .16s}.wlg-preview-audit-bind code[data-copy-wlg-audit]:hover,.wlg-preview-audit-bind code[data-copy-wlg-audit]:focus-visible{background:#fff;box-shadow:0 0 0 2px currentColor;outline:0}
.wlg-preview-collapsible{display:block;padding:0;overflow:hidden}.wlg-preview-collapsible>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 18px;cursor:pointer;list-style:none}.wlg-preview-collapsible>summary::-webkit-details-marker{display:none}.wlg-preview-collapsible>summary::after{content:"";width:9px;height:9px;margin-right:3px;border-right:2px solid #245a43;border-bottom:2px solid #245a43;transform:rotate(45deg);transition:transform .16s}.wlg-preview-collapsible[open]>summary::after{transform:rotate(225deg)}.wlg-preview-collapsible>header{padding:13px 18px 10px;border-top:1px solid #d6e0e8}.wlg-preview-collapsible>.wlg-preview-files{padding:0 18px 16px}
.wlg-preview-controls{grid-template-columns:minmax(0,1fr) max-content;grid-template-areas:"copy action" "status action";row-gap:9px}.wlg-preview-controls>.wlg-preview-copy{grid-area:copy}.wlg-preview-controls>span{grid-area:status;justify-self:start}.wlg-preview-actions{grid-area:action;display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}.wlg-preview-actions>button{width:auto;min-width:132px;white-space:nowrap}@media(max-width:760px){.wlg-preview-controls{grid-template-columns:1fr;grid-template-areas:"copy" "status" "action"}.wlg-preview-actions{justify-content:flex-start}}
.wlg-preview-files nav{display:flex;align-items:center;gap:8px}.wlg-preview-files nav button,.wlg-preview-files nav a{min-height:38px}.wlg-excel-download{display:grid!important;place-items:center;width:38px;padding:0!important;font-size:20px}.wlg-excel-preview-dialog{width:min(1180px,calc(100vw - 30px));height:min(820px,calc(100vh - 30px));max-width:none;max-height:none;padding:0;overflow:hidden}.wlg-excel-preview-head{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;background:#245b45;color:#fff}.wlg-excel-preview-head strong,.wlg-excel-preview-head small{display:block}.wlg-excel-preview-head small{margin-top:3px;opacity:.75}.wlg-excel-preview-head button{border:0;background:transparent;color:#fff;font-size:28px}.wlg-excel-sheet-tabs{display:flex;gap:5px;padding:10px 14px;background:#edf3ee;overflow:auto}.wlg-excel-sheet-tabs button{padding:7px 12px;border:0;border-radius:8px;background:#fff;color:#285b45;font-weight:800;white-space:nowrap}.wlg-excel-sheet-tabs button.is-active{background:#285b45;color:#fff}.wlg-excel-preview-table{height:calc(100% - 112px);overflow:auto;background:#fff}.wlg-excel-preview-table table{border-collapse:collapse;min-width:100%;font-size:12px}.wlg-excel-preview-table th,.wlg-excel-preview-table td{padding:7px 10px;border:1px solid #dce3df;white-space:nowrap}.wlg-excel-preview-table th{position:sticky;left:0;background:#edf3ee;color:#607168}
.wlg-excel-file-group{display:flex;align-items:center;gap:7px}.wlg-excel-file-group>b{font-size:13px;color:#46685a;white-space:nowrap}.wlg-excel-file-group button,.wlg-excel-file-group .wlg-excel-download{display:inline-flex!important;align-items:center;justify-content:center;box-sizing:border-box;min-height:38px!important;padding:7px 11px!important;border:1px solid #2e6b50!important;border-radius:7px!important;background:transparent!important;color:#245a43!important;font:inherit;font-weight:800!important;line-height:1.2;text-decoration:none;white-space:nowrap}.wlg-excel-file-group button:hover,.wlg-excel-file-group .wlg-excel-download:hover{background:#e7f2eb!important}.wlg-excel-file-group .wlg-excel-download{width:38px;font-size:20px!important}@media(max-width:900px){.wlg-preview-files nav{align-items:flex-start;flex-wrap:wrap}.wlg-excel-file-group{flex-wrap:nowrap}}
.wlg-salary-draft-preview{box-sizing:border-box;height:calc(100% - 72px);padding:20px;background:#f8faf8}.wlg-salary-draft-preview>section{display:flex;align-items:center;justify-content:space-between;gap:16px;max-width:820px;margin:0 auto 12px;padding:14px 16px;border:1px solid #cbded4;border-radius:12px;background:#eef6f1}.wlg-salary-draft-preview>section strong,.wlg-salary-draft-preview>section small{display:block}.wlg-salary-draft-preview>section small{margin-top:4px;color:#60746b}.wlg-salary-draft-preview>section>b{font-size:1.1rem;color:#1f5c42}.wlg-salary-draft-preview>p{max-width:820px;margin:0 auto 12px;color:#60746b}.wlg-salary-draft-preview table{min-width:0;max-width:820px;margin:0 auto;background:#fff}.wlg-salary-draft-preview td:last-child,.wlg-salary-draft-preview th:last-child{text-align:right}.wlg-salary-draft-preview .is-negative{color:#c83a3a!important}.wlg-salary-draft-preview tr.is-subtotal td{font-weight:800;background:#f1f5f2}.wlg-salary-draft-preview tr.is-total td{font-size:1rem;font-weight:900;color:#1f5c42;background:#dfeee5}@media(max-width:760px){.wlg-salary-draft-preview>section{align-items:flex-start;flex-direction:column}}
.wlg-overview-support{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:22px}.wlg-overview-support>article{min-width:0;padding:16px;border:1px solid #cfddd5;border-radius:16px;background:#f7faf8}.wlg-overview-support>article>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:12px}.wlg-overview-support h4{margin:0 0 4px;color:#173e31;font-size:18px}.wlg-overview-support header small{color:#697a72}.wlg-overview-support header b{padding:5px 9px;border-radius:99px;background:#e2eee7;color:#286c47;font-size:12px;white-space:nowrap}.wlg-overview-support .wlg-list{max-height:360px;overflow:auto}.wlg-overview-support .wlg-list article{background:#fff}.wlg-overview-support .wlg-empty{padding:22px}@media(max-width:900px){.wlg-overview-support{grid-template-columns:1fr}}
.wlg-preview-version{display:inline-flex;margin-left:8px;padding:4px 9px;border-radius:999px;background:#dcefe4;color:#276648;font-size:13px;font-weight:900;vertical-align:middle}
.wlg-excel-pdf{display:block;width:100%;height:calc(100% - 72px);border:0;background:#e5e8e6}
.wlg-preview-audit-bind{padding:0;overflow:hidden}.wlg-preview-audit-bind>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 18px;cursor:pointer;list-style:none}.wlg-preview-audit-bind>summary::-webkit-details-marker{display:none}.wlg-preview-audit-bind>summary>span{display:flex;align-items:center;gap:11px}.wlg-preview-audit-bind>summary i{width:9px;height:9px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform .16s}.wlg-preview-audit-bind[open]>summary i{transform:rotate(225deg)}.wlg-preview-audit-detail{padding:0 18px 16px;border-top:1px solid rgba(32,80,58,.13)}.wlg-preview-audit-detail>small{display:block;margin-top:13px}
.wlg-external-master-summary-row .wlg-fixed-field{display:flex;width:calc(100% - 8px);min-height:30px;margin:0 auto;padding:3px 4px;box-sizing:border-box;align-items:center;justify-content:center;border:1px solid #b9ccdd;border-radius:6px;background:#fff;color:#142c43;font-size:10px;font-weight:400;line-height:1.15;white-space:nowrap}
.wlg-external-master-summary-row .wlg-fixed-note{display:block;color:#55728c;font-size:10px;font-weight:800;line-height:1.15;white-space:nowrap}
.wlg-shared-line-guide{grid-column:1/-1;display:flex;gap:10px;padding:11px 13px;border-radius:9px;background:#eaf4fb;color:#345b79}.wlg-shared-line-guide b{white-space:nowrap;color:#174a79}.wlg-shared-line-dialog>section>label>b{display:inline-block;margin-right:5px;color:#174a79}.wlg-shared-line-dialog>section>label small{color:#698095;font-size:11px;font-weight:500}.wlg-shared-line-presets{grid-column:1/-1;display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px 0}.wlg-shared-line-presets button{min-height:34px;padding:6px 10px;border:1px solid #8aafcc;border-radius:7px;background:#fff;color:#245f92;font-weight:800}.wlg-shared-line-step{grid-column:1/-1;display:flex;align-items:center;gap:9px;color:#4f6e86}.wlg-shared-line-step b{color:#174a79}@media(max-width:640px){.wlg-shared-line-guide{display:grid}.wlg-shared-line-presets{display:grid}.wlg-shared-line-presets button{width:100%}}
.wlg-shared-fixed-rate{display:grid;place-items:center;min-height:40px;border:1px solid #b9ccdd;border-radius:7px;background:#edf3f7;color:#17334f}.wlg-shared-line-dialog>footer .is-danger{border-color:#c95a5a;background:#fff1f1;color:#9e2525}
.wlg-shared-account-row>td{padding:8px 10px!important;background:#edf6fd!important;border-top:2px solid #4d8fc2!important;border-bottom:2px solid #4d8fc2!important}.wlg-shared-account-card{display:grid;grid-template-columns:auto minmax(180px,1fr) auto auto auto;align-items:center;gap:10px;padding:9px 12px;border:1px solid #8aafcc;border-radius:9px;background:#fff;color:#17334f}.wlg-shared-account-card>div{display:flex;align-items:center;gap:7px}.wlg-shared-account-card b{color:#245f92}.wlg-shared-account-card code{font-weight:850}.wlg-shared-account-card span,.wlg-shared-account-card small,.wlg-shared-account-card em{color:#60778b;font-style:normal}.wlg-shared-account-card button{min-height:34px;border-color:#c95a5a;background:#fff1f1;color:#9e2525}@media(max-width:760px){.wlg-shared-account-card{grid-template-columns:1fr}.wlg-shared-account-card button{width:100%}}
.wlg-shared-account-card{grid-template-columns:minmax(260px,420px) auto auto}.wlg-shared-account-card>.wlg-shared-account-main{display:grid;grid-template-columns:1fr;align-items:start;gap:3px}.wlg-shared-account-main>div{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.wlg-shared-account-main>strong{font-size:15px;color:#17334f}.wlg-shared-account-card>.wlg-shared-account-actions{display:flex;gap:7px}.wlg-shared-account-actions [data-manage-shared-account]{border-color:#347aa9;background:#eef7ff;color:#245f92}.wlg-shared-account-actions [data-shared-account-cancel]{border-color:#c95a5a;background:#fff1f1;color:#9e2525}
.wlg-shared-account-row{display:none!important}
.wlg-collected-topups{display:grid;gap:14px;margin-top:18px;padding:18px;border:1px solid #c9dcd1;border-radius:16px;background:#f7faf8}.wlg-collected-topups>header h4{margin:0 0 4px;color:#173e31}.wlg-collected-topups>header small{color:#65776e}.wlg-collected-topups form{display:grid;grid-template-columns:minmax(190px,1.4fr) repeat(3,minmax(140px,1fr)) auto;gap:10px;align-items:end}.wlg-collected-topups form label{display:grid;gap:5px;color:#50685d;font-size:13px;font-weight:800}.wlg-collected-topups form input,.wlg-collected-topups form select{min-height:42px;padding:8px 10px;border:1px solid #b9cdc2;border-radius:8px;background:#fff;color:#173e31;font:inherit}.wlg-collected-topups form button{min-height:42px}.wlg-collected-topup-list{display:grid;gap:8px}.wlg-collected-topup-list article{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:12px 14px;border:1px solid #d2dfd8;border-radius:10px;background:#fff}.wlg-collected-topup-list strong,.wlg-collected-topup-list small{display:block}.wlg-collected-topup-list small{margin-top:3px;color:#718078}.wlg-collected-topup-list>b{color:#174a37;font-size:18px}.wlg-collected-topup-rule{margin:0;padding:10px 12px;border-radius:9px;background:#e8f2ec;color:#285c48;font-weight:800}@media(max-width:980px){.wlg-collected-topups form{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.wlg-collected-topups form{grid-template-columns:1fr}.wlg-collected-topup-list article{grid-template-columns:1fr}.wlg-collected-topup-list article button{width:100%}}
/* Collapsible desktop navigation */
.sidebar{z-index:10}
.sidebar,.app main{transition:width .22s ease,margin-left .22s ease,padding .22s ease}.sidebar-toggle{position:absolute;z-index:2;top:22px;right:-15px;width:30px;height:30px;padding:0;border:2px solid var(--cream);border-radius:50%;background:#e1e9b7;color:#244536;display:grid;place-items:center;font-size:22px;font-weight:900;line-height:1;box-shadow:0 4px 12px rgba(12,31,24,.22)}.sidebar-toggle:hover{background:#f0f3d2}.sidebar-toggle:focus-visible{outline:3px solid #8db39e;outline-offset:2px}.app.sidebar-collapsed .sidebar{width:74px;padding-left:10px;padding-right:10px}.app.sidebar-collapsed main{margin-left:74px}.app.sidebar-collapsed .brand{justify-content:center;padding-left:0;padding-right:0}.app.sidebar-collapsed .brand b,.app.sidebar-collapsed .nav span,.app.sidebar-collapsed .nav-count{display:none}.app.sidebar-collapsed .sidebar nav{justify-items:stretch}.app.sidebar-collapsed .nav{justify-content:center;gap:0;padding-left:0;padding-right:0}.app.sidebar-collapsed .nav-icon{margin:0}.app.sidebar-collapsed .lock-button{display:none}.app.sidebar-collapsed .sidebar-toggle span{transform:translateX(1px)}@media(max-width:900px){.sidebar-toggle{display:none}.app.sidebar-collapsed .sidebar{width:74px;padding:26px 18px}.app.sidebar-collapsed main{margin-left:74px}.app.sidebar-collapsed .brand b,.app.sidebar-collapsed .nav span{display:initial}.app.sidebar-collapsed .nav-count{display:initial}.app.sidebar-collapsed .lock-button{display:block}}@media(max-width:600px){.app.sidebar-collapsed .sidebar{inset:auto 0 0;width:auto;padding:7px}.app.sidebar-collapsed main{margin:0;padding:20px 16px 90px}}
.wlg-supervisor-ledger{overflow:hidden;border:1px solid #cbdad2;border-radius:12px;background:#fff}.wlg-supervisor-ledger>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 16px;background:#f2f7f4}.wlg-supervisor-ledger h5{margin:0 0 3px;font-size:1rem}.wlg-supervisor-ledger.is-empty{padding:16px}.wlg-supervisor-ledger.is-empty p{margin:5px 0 0;color:#718078}.wlg-supervisor-ledger select,.wlg-supervisor-ledger input{width:100%;min-height:36px;padding:6px 8px;border:1px solid #b8ccbf;border-radius:7px;background:#fff;color:#173e31}.wlg-supervisor-ledger button,.wlg-supervisor-allocation-button{min-height:34px;padding:5px 10px;border:1px solid #2f7658;border-radius:7px;background:#eef6f1;color:#245f47;font-weight:800}.wlg-supervisor-ledger .is-negative{color:#c92a2a;font-weight:800}.wlg-supervisor-allocation-dialog{width:min(560px,calc(100vw - 32px));padding:0;border:1px solid #b8ccbf;border-radius:14px;color:#173e31}.wlg-supervisor-allocation-dialog::backdrop{background:rgba(15,39,31,.55)}.wlg-supervisor-allocation-dialog header,.wlg-supervisor-allocation-dialog footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;background:#f2f7f4}.wlg-supervisor-allocation-dialog header div{display:grid;gap:3px}.wlg-supervisor-allocation-dialog section{display:grid;gap:8px;padding:16px}.wlg-supervisor-allocation-dialog section label{display:grid;grid-template-columns:22px 1fr 100px 20px;align-items:center;gap:8px;padding:8px 10px;border:1px solid #d8e1dc;border-radius:8px}.wlg-supervisor-allocation-dialog section input[type=number]{min-height:34px;padding:5px 8px}.wlg-supervisor-allocation-dialog footer{justify-content:flex-end}
.wlg-salary-delivery-status{min-width:130px}.wlg-salary-delivery-status span,.wlg-salary-delivery-status b{display:block;margin-bottom:6px}.wlg-salary-delivery-status button{white-space:nowrap}
.wlg-employee-group-card{display:grid;grid-template-columns:minmax(190px,1fr) minmax(210px,.8fr) auto minmax(180px,auto);align-items:center;gap:16px;padding:18px 20px}.wlg-employee-group-card>div:first-child{display:grid;gap:4px}.wlg-employee-group-card>div:first-child em{color:#47705d;font-size:.78rem;font-style:normal;font-weight:800}.wlg-salary-group-owner{display:grid;gap:5px;color:#526d60;font-size:.75rem;font-weight:850}.wlg-salary-group-owner select{width:100%;min-height:40px;padding:7px 10px;border:1px solid #afc9bb;border-radius:8px;background:#fff;color:#173e31;font:inherit}.wlg-employee-group-card .wlg-command-copy{justify-self:end;max-width:100%}.wlg-employee-group-card .wlg-command-copy code{min-width:0;overflow-wrap:anywhere}.wlg-employee-group-card>small{text-align:right}.wlg-salary-group-toolbar{display:flex;align-items:center;gap:12px}.wlg-salary-group-toolbar button{min-height:40px;white-space:nowrap}@media(max-width:1200px){.wlg-employee-group-card{grid-template-columns:minmax(180px,1fr) minmax(200px,1fr)}.wlg-employee-group-card .wlg-command-copy,.wlg-employee-group-card>small{justify-self:stretch;text-align:left}}@media(max-width:760px){.wlg-employee-group-card{grid-template-columns:1fr}.wlg-salary-group-toolbar{align-items:stretch;flex-direction:column}.wlg-salary-group-toolbar button{width:100%}}
.wlg-employee-shareholder-groups{display:grid;gap:18px}.wlg-employee-shareholder-section{overflow:hidden;border:1px solid #cbded4;border-radius:15px;background:#f7fbf8}.wlg-employee-shareholder-section>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 18px;border-bottom:1px solid #d7e6de;background:#eaf3ee;color:#1d513d}.wlg-employee-shareholder-section>header div{display:grid;gap:2px}.wlg-employee-shareholder-section>header strong{font-size:1.05rem}.wlg-employee-shareholder-section>header small{color:#638071}.wlg-employee-shareholder-section>header b{white-space:nowrap}.wlg-employee-shareholder-section .wlg-employee-group-list{display:grid;gap:10px;padding:12px}.wlg-employee-shareholder-section .wlg-employee-group-card{margin:0;background:#fff}
.wlg-supervisor-allocation-button{display:block;margin:4px auto 0;min-height:0;padding:1px 4px;border:0;background:transparent;color:#2f7658;font-size:.68rem;text-decoration:underline}.wlg-supervisor-allocation-button[data-team-default="false"]{color:#965d15;font-weight:900}
.wlg-preview-batch-actions{display:flex;align-items:center;gap:8px;margin-left:auto}.wlg-preview-batch-actions button{min-height:38px;padding:7px 12px;white-space:nowrap}.wlg-preview-batch-select{display:flex;align-items:center;gap:6px;margin:0 10px 0 0;color:#245f47;font-size:.76rem;font-weight:850;white-space:nowrap}.wlg-preview-batch-select input{width:18px;height:18px;margin:0;padding:0}.wlg-preview-result>header{flex-wrap:wrap}
.wlg-settlement-console{display:grid;gap:16px}.wlg-settlement-console>header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px;border:1px solid #bfd5ca;border-radius:16px;background:#eef6f1}.wlg-settlement-console>header h4{margin:0;color:#173e31;font-size:20px}.wlg-settlement-console>header small{display:block;margin-top:5px;color:#60746b}.wlg-settlement-console>header button{min-height:42px;white-space:nowrap}.wlg-settlement-attention{max-width:360px;color:#985026;font-weight:850}.wlg-settlement-complete{padding:7px 11px;border-radius:99px;color:#236341;background:#dcefe3;font-weight:850}.wlg-settlement-bindings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.wlg-settlement-bind{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 17px;border:1px solid;border-radius:14px}.wlg-settlement-bind strong,.wlg-settlement-bind small{display:block}.wlg-settlement-bind small{margin-top:4px}.wlg-settlement-bind.is-bound{border-color:#86bea0;background:#e9f6ee;color:#21633f}.wlg-settlement-bind.is-unbound{border-color:#dc928c;background:#fff0ee;color:#9b3029}.wlg-settlement-cancelled{margin:0;color:#697a72;font-size:13px}.wlg-settlement-batches{display:grid;gap:14px}.wlg-settlement-batch{overflow:hidden;border:1px solid #cbd9d1;border-radius:16px;background:#fff}.wlg-settlement-batch>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 17px;background:#f0f6f2}.wlg-settlement-batch>header strong,.wlg-settlement-batch>header small{display:block}.wlg-settlement-batch>header small{margin-top:4px;color:#66796f}.wlg-settlement-batch>header>b{padding:6px 10px;border-radius:99px;background:#fff0bc;color:#88621b}.wlg-settlement-batch.is-submitted>header>b{background:#d8efdf;color:#267348}.wlg-settlement-category-list{display:grid;gap:12px;padding:14px;background:#f7faf8}.wlg-settlement-category{overflow:hidden;border:1px solid #d6e2db;border-radius:12px;background:#fff}.wlg-settlement-category>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;background:#edf4ef}.wlg-settlement-category h5{margin:0;color:#1f5941;font-size:16px}.wlg-settlement-category header small{display:block;margin-top:3px;color:#66796f}.wlg-settlement-category header>b{padding:5px 8px;border-radius:99px;font-size:12px}.wlg-settlement-category header .is-ready{color:#267348;background:#d8efdf}.wlg-settlement-category header .is-blocked{color:#9b3029;background:#ffd9d5}.wlg-settlement-batch table{width:100%;border-collapse:collapse}.wlg-settlement-batch th,.wlg-settlement-batch td{padding:11px 13px;border-bottom:1px solid #dce5df;text-align:left;white-space:nowrap}.wlg-settlement-batch th{background:#e8f1ec;color:#526d60}.wlg-settlement-category>footer{display:flex;justify-content:flex-end;gap:18px;padding:10px 13px;color:#60746b;font-size:12px}.wlg-settlement-category>footer b{margin-left:4px;color:#173e31;font-size:14px}.wlg-settlement-money{text-align:right!important;font-variant-numeric:tabular-nums}.wlg-settlement-batch .is-negative,.wlg-settlement-category>footer b.is-negative{color:#c2322b;font-weight:850}.wlg-settlement-batch>footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 17px}.wlg-settlement-batch>footer dl{display:flex;gap:18px;margin:0}.wlg-settlement-batch>footer dl>div{display:grid;gap:3px}.wlg-settlement-batch>footer dt{color:#66796f;font-size:12px}.wlg-settlement-batch>footer dd{margin:0;font-weight:900;font-variant-numeric:tabular-nums}.wlg-settlement-batch>footer nav{display:flex;gap:8px}.wlg-settlement-submitted{color:#267348;font-weight:850}.wlg-settlement-dialog-note{display:grid;gap:5px;padding:14px;border-radius:12px;background:#eef6f1}.wlg-settlement-dialog-note small{color:#60746b}.wlg-settlement-selection{display:grid;gap:8px;max-height:420px;overflow:auto;padding:13px;border:1px solid #cfddd5;border-radius:12px}.wlg-settlement-selection label{display:grid;grid-template-columns:auto minmax(120px,1fr) minmax(190px,.8fr);align-items:center;gap:9px;margin:0;padding:9px;border-radius:8px;background:#f5f8f6}.wlg-settlement-selection input{width:18px;height:18px;margin:0}.wlg-settlement-selection span strong,.wlg-settlement-selection span small{display:block}.wlg-settlement-selection span small{margin-top:3px;color:#66796f}.wlg-settlement-selection select{width:100%;min-height:40px}@media(max-width:760px){.wlg-settlement-console>header,.wlg-settlement-bind,.wlg-settlement-batch>footer{align-items:stretch;flex-direction:column}.wlg-settlement-bindings{grid-template-columns:1fr}.wlg-settlement-batch>footer dl{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.wlg-settlement-batch>footer nav{display:grid;grid-template-columns:1fr 1fr}.wlg-settlement-batch>footer nav button{min-width:0}.wlg-settlement-bind .wlg-command-copy{align-items:stretch;flex-direction:column}.wlg-settlement-bind .wlg-command-copy code{overflow-wrap:anywhere}.wlg-settlement-console>header button{width:100%}.wlg-settlement-selection label{grid-template-columns:auto 1fr}.wlg-settlement-selection select{grid-column:2}.wlg-settlement-category>footer{align-items:flex-start;flex-direction:column;gap:5px}}
