:root{--navy:#071a30;--navy2:#0a3154;--blue:#0b6097;--blue2:#0d78ad;--teal:#0b7c86;--ink:#10283e;--muted:#6d8294;--bg:#eef3f8;--line:#d9e4ed;--card:#fff;--green:#16865b;--amber:#b7791f;--red:#c13d3d;--shadow:0 16px 42px rgba(8,34,61,.10);--soft:#f7fbfe}*{box-sizing:border-box}html,body,#reactRoot{margin:0;min-height:100%;font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:var(--ink)}body{background:radial-gradient(circle at 12% 0,#dcecf8 0,transparent 32%),linear-gradient(180deg,#eef4f8,#f8fafc 48%,#eef3f7)}button,input,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}.r30-shell{min-height:100vh}.r30-login{min-height:100vh;display:grid;place-items:center;padding:18px}.r30-login-card{width:min(980px,100%);display:grid;grid-template-columns:1.12fr .88fr;background:#fff;border:1px solid #d9e4ed;border-radius:28px;overflow:hidden;box-shadow:0 34px 90px rgba(5,29,52,.18)}.r30-login-hero{min-height:540px;padding:38px;background:linear-gradient(145deg,#06172b,#0b3459 62%,#0b6475);color:#fff;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.r30-login-hero:after{content:"";position:absolute;width:320px;height:320px;border:1px solid rgba(255,255,255,.09);border-radius:50%;right:-120px;bottom:-120px;box-shadow:0 0 0 45px rgba(255,255,255,.025),0 0 0 90px rgba(255,255,255,.018)}.r30-login-logo{width:280px;max-width:92%;background:#fff;border-radius:14px;padding:6px;display:block;position:relative;z-index:1}.r30-login-hero h1{font-size:34px;line-height:1.03;margin:28px 0 10px;letter-spacing:-.03em;position:relative;z-index:1}.r30-login-hero p{font-size:12px;line-height:1.6;color:#d6e8f5;max-width:530px;position:relative;z-index:1}.r30-react-badge{display:inline-flex;align-items:center;gap:7px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.08);border-radius:999px;padding:7px 10px;font-size:9px;font-weight:900;letter-spacing:.08em;position:relative;z-index:1}.r30-react-dot{width:8px;height:8px;border-radius:50%;background:#5be1aa;box-shadow:0 0 0 5px rgba(91,225,170,.12)}.r30-login-form{padding:38px;display:flex;flex-direction:column;justify-content:center}.r30-login-form h2{font-size:24px;margin:0}.r30-login-sub{font-size:11px;color:var(--muted);margin:6px 0 18px}.r30-field{margin:10px 0}.r30-field label{display:block;font-size:9px;font-weight:900;letter-spacing:.07em;color:#547087;margin-bottom:6px}.r30-input-wrap{position:relative}.r30-field input{width:100%;border:1px solid #cedae6;background:#fbfdff;border-radius:13px;padding:12px 13px;color:#132d45;outline:none;transition:.16s border-color,.16s box-shadow}.r30-field input:focus{border-color:#6fa7ca;box-shadow:0 0 0 4px rgba(11,96,151,.08)}.r30-password input{padding-right:52px}.r30-eye{position:absolute;right:7px;top:50%;transform:translateY(-50%);width:38px;height:36px;border:0;border-radius:10px;background:#eef5fa;color:#285472;cursor:pointer}.r30-btn{border:0;border-radius:12px;padding:11px 14px;font-weight:900;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px}.r30-btn-primary{background:linear-gradient(180deg,#0c69a2,#0a588c);color:#fff;box-shadow:0 10px 22px rgba(11,96,151,.16)}.r30-btn-primary:hover{filter:brightness(1.03)}.r30-btn-primary:disabled{opacity:.6;cursor:wait}.r30-btn-soft{background:#edf5fb;color:#214e6c;border:1px solid #d1e0eb}.r30-btn-dark{background:#0b2c4a;color:#fff}.r30-btn-viewer{margin-top:8px;width:100%;border:1px solid #b9d7e9;background:linear-gradient(180deg,#f6fbff,#eaf6fb);color:#114d70;min-height:52px}.r30-divider{display:flex;align-items:center;gap:10px;margin:17px 0 9px;color:#8294a5;font-size:9px;font-weight:900;letter-spacing:.12em}.r30-divider:before,.r30-divider:after{content:"";height:1px;background:#dbe5ef;flex:1}.r30-alert{padding:10px 12px;border-radius:12px;background:#fff2f2;border:1px solid #efc5c5;color:#963939;font-size:10px;margin-bottom:10px}.r30-login-note{font-size:9.5px;color:#788b9c;margin-top:13px;line-height:1.5}.r30-top{max-width:1540px;margin:0 auto;padding:12px 16px 0}.r30-header{background:linear-gradient(125deg,#06172b,#0b3155 60%,#0b596d);color:#fff;border-radius:22px;padding:15px 17px;box-shadow:0 18px 45px rgba(5,25,45,.21)}.r30-header-row{display:flex;align-items:center;justify-content:space-between;gap:16px}.r30-brand{display:flex;align-items:center;gap:13px;min-width:0}.r30-brand img{width:192px;max-width:35vw;background:#fff;border-radius:10px;padding:4px}.r30-brand h1{font-size:20px;margin:0;letter-spacing:-.02em}.r30-brand p{font-size:9px;color:#cfe2f0;margin:3px 0 0}.r30-head-right{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.r30-chip{border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.08);border-radius:11px;padding:8px 10px;font-size:9px}.r30-clock b{display:block;font-size:13px}.r30-clock small{font-size:8px;color:#c9deed}.r30-nav{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.r30-nav a{font-size:9px;font-weight:900;padding:8px 10px;border-radius:10px;color:#d8e9f5;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.11);text-decoration:none}.r30-nav a.active,.r30-nav a:hover{background:#fff;color:#174a6c}.r30-main{max-width:1540px;margin:0 auto;padding:13px 16px 28px}.r30-banner{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#f0f8ff;border:1px solid #c7ddec;color:#1d587d;border-radius:13px;padding:10px 12px;font-size:9.5px;margin-bottom:12px}.r30-banner b{font-size:10.5px}.r30-status-pill{display:inline-flex;padding:5px 8px;border-radius:999px;background:#e7f2ff;color:#155b9d;font-size:8.5px;font-weight:900}.r30-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.r30-kpi{background:#fff;border:1px solid var(--line);border-radius:16px;padding:13px;box-shadow:var(--shadow);cursor:pointer;text-align:left;position:relative;overflow:hidden;transition:.16s transform,.16s border-color}.r30-kpi:hover{transform:translateY(-2px);border-color:#9abbd0}.r30-kpi:after{content:"";position:absolute;width:76px;height:76px;border-radius:50%;right:-28px;top:-35px;background:rgba(11,96,151,.055)}.r30-kpi-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.r30-kpi-label{font-size:9px;font-weight:900;color:#678095;letter-spacing:.045em}.r30-info{width:19px;height:19px;border-radius:50%;border:1px solid #c9dce9;background:#eff7fc;color:#0b5f95;display:inline-grid;place-items:center;font-size:11px;font-weight:900;cursor:pointer;flex:0 0 19px}.r30-kpi strong{display:block;font-size:24px;margin:4px 0 1px;color:#153d5a}.r30-kpi .money{display:block;font-size:9px;font-weight:850;color:#245d82}.r30-kpi small{display:block;font-size:8px;color:#8495a3;margin-top:5px}.r30-grid2{display:grid;grid-template-columns:1.1fr .9fr;gap:11px;margin-top:11px}.r30-panel{background:#fff;border:1px solid var(--line);border-radius:17px;box-shadow:var(--shadow);padding:14px;min-width:0}.r30-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:11px}.r30-panel-head h2{font-size:12px;margin:0;color:#153e5b}.r30-panel-head p{font-size:8.8px;color:#748a9c;margin:3px 0 0;line-height:1.45}.r30-split{display:grid;grid-template-columns:1fr 1fr;gap:9px}.r30-split-card{border:1px solid #dbe6ee;background:#f9fcfe;border-radius:14px;padding:12px}.r30-split-card b{display:block;font-size:23px}.r30-split-card span{font-size:9px;font-weight:900;color:#5f788c}.r30-split-card small{display:block;font-size:8.5px;color:#8495a3;margin-top:4px}.r30-progress-track{height:14px;background:#e8eef3;border-radius:999px;overflow:hidden;display:flex;margin-top:11px}.r30-progress-on{background:#0b6da6;height:100%}.r30-progress-done{background:#16865b;height:100%}.r30-legend{display:flex;gap:12px;flex-wrap:wrap;margin-top:9px;font-size:8.5px;color:#687f92}.r30-legend i{display:inline-block;width:8px;height:8px;border-radius:2px;margin-right:5px}.r30-vendor-list{display:grid;gap:8px}.r30-vendor-row{border:0;background:transparent;padding:0;cursor:pointer;text-align:left}.r30-vendor-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:4px;font-size:9px}.r30-vendor-meta b{color:#234a66}.r30-vendor-meta span{color:#71879a}.r30-vendor-bar{height:9px;background:#e7edf2;border-radius:999px;overflow:hidden}.r30-vendor-fill{height:100%;border-radius:999px;background:linear-gradient(90deg,#0b6097,#0b8894)}.r30-workflow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.r30-flow-card{border:1px solid #dbe5ee;background:#fbfdff;border-radius:14px;padding:12px;text-decoration:none;color:#173e5b;display:block}.r30-flow-card span{font-size:8.5px;font-weight:900;color:#71879b}.r30-flow-card strong{font-size:18px;display:block;margin:4px 0}.r30-flow-card small{font-size:8.5px;color:#647b8e}.r30-docs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.r30-doc{border:1px solid #dfe8ef;background:#f9fcfe;border-radius:12px;padding:10px}.r30-doc span{font-size:8px;color:#6c8294;font-weight:900}.r30-doc b{display:block;font-size:16px;margin-top:3px}.r30-finance{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.r30-fin{border:1px solid #dfe8ef;border-radius:12px;padding:10px;background:#fffaf2}.r30-fin span{display:block;font-size:8px;color:#806c47;font-weight:900}.r30-fin b{display:block;font-size:13px;margin-top:4px;color:#664e22;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.r30-table-wrap{overflow:auto;border:1px solid #dfe7ee;border-radius:13px}.r30-table{width:100%;border-collapse:collapse;min-width:850px;font-size:9px}.r30-table th{background:#f3f7fa;color:#5f778b;text-align:left;padding:9px;position:sticky;top:0}.r30-table td{border-top:1px solid #e8eef3;padding:9px;vertical-align:top}.r30-tag{display:inline-flex;padding:4px 7px;border-radius:999px;font-size:8px;font-weight:900}.r30-tag.green{background:#e5f7ef;color:#14734f}.r30-tag.amber{background:#fff4da;color:#936416}.r30-tag.blue{background:#e8f3ff;color:#155b9d}.r30-modal{position:fixed;inset:0;z-index:100000;background:rgba(3,13,27,.62);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;padding:16px}.r30-modal-card{width:min(1050px,100%);max-height:90dvh;background:#fff;border-radius:20px;overflow:hidden;box-shadow:0 32px 90px rgba(0,0,0,.32);display:flex;flex-direction:column}.r30-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:15px 16px;border-bottom:1px solid #e5edf3;background:#f8fbfd}.r30-modal-head h3{font-size:14px;margin:0}.r30-modal-head p{font-size:8.5px;color:#73899b;margin:3px 0 0}.r30-close{width:36px;height:36px;border:0;border-radius:11px;background:#eaf2f8;color:#173e5b;font-size:20px;cursor:pointer}.r30-modal-body{padding:12px 15px 15px;overflow:auto}.r30-help{position:fixed;inset:0;z-index:100100;background:rgba(4,14,28,.48);backdrop-filter:blur(4px);display:flex;align-items:flex-end;justify-content:flex-end;padding:16px}.r30-help-sheet{width:min(760px,100%);max-height:88dvh;background:#fff;border-radius:23px;overflow:hidden;box-shadow:0 30px 90px rgba(0,0,0,.30);border:1px solid #d9e4ed;display:flex;flex-direction:column}.r30-help-head{display:flex;justify-content:space-between;gap:10px;padding:15px 16px;border-bottom:1px solid #e6edf3;background:linear-gradient(180deg,#f9fcff,#eff6fa)}.r30-help-head h3{margin:0;font-size:16px}.r30-help-head p{font-size:9px;color:#6f8496;margin:4px 0 0}.r30-help-body{display:grid;grid-template-columns:280px minmax(0,1fr);min-height:0;flex:1}.r30-help-topics{padding:10px;overflow:auto;border-right:1px solid #e8eef3;background:#fbfdff}.r30-help-topic{width:100%;display:flex;gap:9px;align-items:center;padding:9px;border:1px solid #dde7ee;border-radius:13px;background:#fff;margin-bottom:7px;text-align:left;cursor:pointer}.r30-help-topic.active{background:#eef7ff;border-color:#8cb6d2}.r30-help-topic .n{width:28px;height:28px;border-radius:9px;background:#0b5f95;color:#fff;display:grid;place-items:center;font-size:10px;font-weight:900;flex:0 0 28px}.r30-help-topic b{font-size:9.5px;display:block}.r30-help-topic small{font-size:8px;color:#75899a;display:block;margin-top:2px}.r30-help-detail{padding:16px;display:flex;flex-direction:column;justify-content:center;overflow:auto}.r30-help-detail h4{font-size:16px;margin:0}.r30-help-detail p{font-size:11px;line-height:1.65;color:#526a7d;margin:12px 0 0}.r30-loading{min-height:100vh;display:grid;place-items:center;color:#48667e;font-size:11px}.r30-spinner{width:34px;height:34px;border-radius:50%;border:4px solid #dbe7ef;border-top-color:#0b6097;animation:r30spin .8s linear infinite;margin:0 auto 10px}@keyframes r30spin{to{transform:rotate(360deg)}}@media(max-width:1000px){.r30-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.r30-grid2{grid-template-columns:1fr}.r30-finance{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.r30-header-row{align-items:flex-start;flex-direction:column}.r30-head-right{width:100%;justify-content:flex-start}.r30-brand img{width:150px;max-width:45vw}.r30-brand h1{font-size:16px}.r30-nav{display:grid;grid-template-columns:1fr 1fr;width:100%}.r30-nav a{text-align:center}.r30-workflow,.r30-docs{grid-template-columns:1fr}.r30-help{padding:0;justify-content:stretch}.r30-help-sheet{width:100%;max-height:94dvh;border-radius:22px 22px 0 0}.r30-help-body{grid-template-columns:1fr}.r30-help-topics{max-height:37dvh;border-right:0;border-bottom:1px solid #e8eef3}.r30-modal{padding:0;align-items:flex-end}.r30-modal-card{max-height:95dvh;border-radius:20px 20px 0 0}.r30-login-card{grid-template-columns:1fr}.r30-login-hero{min-height:auto;padding:24px}.r30-login-hero h1{font-size:27px}.r30-login-form{padding:24px}}@media(max-width:480px){.r30-login{padding:8px}.r30-login-card{border-radius:18px}.r30-login-hero,.r30-login-form{padding:18px}.r30-login-logo{width:220px}.r30-top{padding:7px 8px 0}.r30-main{padding:9px 8px 24px}.r30-header{border-radius:15px;padding:11px}.r30-brand{display:grid;grid-template-columns:110px minmax(0,1fr);gap:9px}.r30-brand img{width:110px;max-width:110px}.r30-brand h1{font-size:14px}.r30-brand p{font-size:8px}.r30-kpis{grid-template-columns:1fr 1fr;gap:7px}.r30-kpi{padding:10px;border-radius:13px}.r30-kpi strong{font-size:20px}.r30-grid2{gap:8px;margin-top:8px}.r30-panel{padding:11px;border-radius:14px}.r30-split{grid-template-columns:1fr 1fr}.r30-split-card{padding:9px}.r30-split-card b{font-size:19px}.r30-finance{grid-template-columns:1fr 1fr}.r30-banner{align-items:flex-start;flex-direction:column}.r30-chip{font-size:8px;padding:7px 8px}}

.r30-bod-flow-panel{overflow:auto}.r30-tree{display:grid;gap:18px;padding:8px 2px 2px;min-width:940px}.r30-tree-row{display:grid;gap:18px;justify-content:center;align-items:start}.r30-tree-row.top{grid-template-columns:minmax(220px,300px)}.r30-tree-row.row3{grid-template-columns:repeat(3,minmax(180px,1fr))}.r30-tree-row.row4{grid-template-columns:repeat(4,minmax(170px,1fr))}.r30-tree-row.row2{grid-template-columns:repeat(2,minmax(180px,1fr))}.r30-flow-node{position:relative;border:1px solid #cad8e4;background:linear-gradient(180deg,#ffffff,#f4f8fb);border-radius:14px;padding:11px 10px;box-shadow:0 10px 22px rgba(8,34,61,.08);text-align:center;color:#173e5b;cursor:pointer;min-height:84px}.r30-flow-node:before{content:"";position:absolute;left:50%;top:-18px;width:2px;height:18px;background:#cfdae4;transform:translateX(-50%)}.r30-tree-row.top .r30-flow-node:before{display:none}.r30-flow-node b{display:block;font-size:11px;line-height:1.25}.r30-flow-node span{display:block;font-size:11px;font-weight:900;color:#0a5d8f;margin-top:5px}.r30-flow-node small{display:block;font-size:9px;color:#6d8294;margin-top:4px}.r30-flow-node.small{min-height:78px}.r30-flow-node:hover{transform:translateY(-2px);border-color:#8ab1cc}.r30-flow-node:after{content:"Klik detail";position:absolute;right:8px;bottom:7px;font-size:8px;color:#8ca0b1}@media(max-width:1000px){.r30-tree{min-width:860px}}@media(max-width:760px){.r30-bod-flow-panel{padding-bottom:6px}.r30-tree{gap:14px;min-width:820px}.r30-flow-node{border-radius:12px;padding:10px 8px}}

.r32-live-status{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.r30-status-pill.green{background:#e5f7ef;color:#14734f}.r30-bod-flow-panel .r30-panel-head{position:sticky;left:0;z-index:2;background:#fff;padding-bottom:3px}
/* V33 native Google Sheet + live Bagan */
.r30-tree-row.row5{grid-template-columns:repeat(5,minmax(155px,1fr))}.r33-source-warning{margin:0 0 10px;padding:8px 10px;border:1px solid #f2cf87;background:#fff8e8;color:#7a5414;border-radius:11px;font-size:9px;line-height:1.45}.r33-validation{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 10px}.r33-validation span{display:inline-flex;padding:6px 8px;border-radius:999px;border:1px solid #f0d49f;background:#fff8e8;color:#805a16;font-size:8.5px;font-weight:800}.r33-docs{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:1000px){.r30-tree-row.row5{grid-template-columns:repeat(5,minmax(150px,1fr))}.r33-docs{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.r33-docs{grid-template-columns:1fr 1fr}}


/* V34 - bagan visual like master chart */
.r34-bod-panel{background:#f8fbfd}
.r34-bagan-board{border:1px solid #d5e1ea;border-radius:16px;background:#fff;padding:14px 14px 10px;overflow:auto}
.r34-main-title{text-align:center;font-weight:900;font-size:14px;letter-spacing:.2px;color:#132f45;text-transform:uppercase;text-decoration:underline;margin-bottom:10px}
.r34-tree{min-width:1080px;gap:16px;padding:2px 4px 8px;position:relative}
.r34-tree .r30-tree-row{gap:18px;position:relative}
.r34-tree .r30-tree-row:not(.top):before{content:"";position:absolute;left:8%;right:8%;top:-9px;height:1px;background:#95a2ad;opacity:.8}
.r34-tree .r30-tree-row.row2:before{left:24%;right:24%}
.r34-tree .r30-tree-row.row5:before{left:6%;right:6%}
.r34-bagan-card{position:relative;display:grid;grid-template-rows:auto auto auto;align-content:start;justify-items:center;min-height:84px;padding:0;border:1px solid #232323;border-radius:0;background:#fff;color:#111;cursor:pointer;box-shadow:none;overflow:hidden}
.r34-bagan-card:before{content:"";position:absolute;left:50%;top:-16px;width:1px;height:16px;background:#6f7780;transform:translateX(-50%)}
.r34-tree .top .r34-bagan-card:before{display:none}
.r34-bagan-head{width:100%;padding:6px 8px;background:#e9edf4;border-bottom:1px solid #232323;font-size:12px;font-weight:900;line-height:1.2;text-align:center;text-transform:uppercase}
.r34-bagan-count{padding:5px 8px 3px;font-size:11px;font-weight:900;color:#0b4f8d;text-align:center;text-transform:uppercase}
.r34-bagan-budget{width:100%;padding:4px 8px;background:#eef3fa;border-top:1px solid #232323;font-size:11px;font-weight:800;color:#111;text-align:left}
.r34-bagan-budget::before{content:""}
.r34-bagan-tip{position:absolute;right:6px;bottom:3px;font-size:8px;color:#778492}
.r34-bagan-card:hover{transform:translateY(-1px);background:#fcfdff}
.r34-bagan-card.small{min-height:76px}
@media(max-width:1000px){.r34-tree{min-width:1020px}}
@media(max-width:760px){.r34-bagan-board{padding:10px 10px 8px}.r34-main-title{font-size:12px}.r34-tree{min-width:980px;gap:14px}.r34-bagan-head{font-size:11px}.r34-bagan-count,.r34-bagan-budget{font-size:10px}}


/* V35 - closer to source Bagan + clearer live sync */
.r35-sync-strip{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 auto 13px;width:max-content;max-width:100%;padding:7px 11px;border:1px solid #cbd9e4;background:#f7fbfe;border-radius:999px;color:#26465e;font-size:9px}
.r35-sync-strip .dot{width:8px;height:8px;border-radius:50%;background:#1c9a68;box-shadow:0 0 0 4px rgba(28,154,104,.12)}
.r35-sync-strip b{font-size:9px;letter-spacing:.04em}.r35-sync-strip .last{color:#667d8e}.r35-sync-strip .warn{color:#9b6718}
.r34-tree .r30-tree-row:not(.top):before{background:#222;opacity:.72}
.r34-bagan-card:before{background:#222}
.r34-bagan-card{transition:.14s transform,.14s box-shadow,.14s border-color}
.r34-bagan-card:hover{box-shadow:0 6px 14px rgba(0,0,0,.10);border-color:#0b5f95}
.r34-bagan-card.tone-all .r34-bagan-head{background:#dce6f4}
.r34-bagan-card.tone-plan .r34-bagan-head{background:#e7edf7}
.r34-bagan-card.tone-hold .r34-bagan-head{background:#fff0cf}
.r34-bagan-card.tone-progress .r34-bagan-head{background:#d9edf9}
.r34-bagan-card.tone-done .r34-bagan-head{background:#dff2e8}
.r34-bagan-card.tone-waiting .r34-bagan-head{background:#fff5db}
.r34-bagan-card.tone-qc .r34-bagan-head{background:#e4e9f4}
.r34-bagan-card.tone-done .r34-bagan-count{color:#176846}
.r34-bagan-card.tone-hold .r34-bagan-count,.r34-bagan-card.tone-waiting .r34-bagan-count{color:#94620e}
.r34-bagan-card.tone-progress .r34-bagan-count{color:#0b5f95}
.r34-bagan-budget{font-variant-numeric:tabular-nums}
.r34-main-title{text-decoration:none;border-bottom:1px solid #2e3a43;padding-bottom:8px;width:min(620px,90%);margin-left:auto;margin-right:auto}
.r34-tree .branch-main{margin-top:8px}.r34-tree .branch-bast{margin-top:2px}
@media(max-width:760px){.r35-sync-strip{width:100%;justify-content:center;border-radius:12px}.r34-main-title{font-size:11px}.r34-bagan-card{min-height:80px}}

/* V38 post-login DSB React System Launcher */
.v38-launch-shell{min-height:100vh;background:linear-gradient(145deg,#eef5fb 0%,#f8fbfd 45%,#edf4f8 100%);color:#0f2c43;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}.v38-launch-head{max-width:1450px;margin:0 auto;padding:18px 20px 14px;display:flex;justify-content:space-between;align-items:center;gap:18px}.v38-launch-brand{display:flex;align-items:center;gap:16px;min-width:0}.v38-launch-brand img{width:210px;max-width:38vw;background:#fff;border:1px solid #d4e0e8;border-radius:14px;box-shadow:0 10px 25px rgba(6,36,58,.09)}.v38-eyebrow{font-size:9px;font-weight:900;letter-spacing:.13em;color:#5d7890}.v38-launch-brand h1{font-size:24px;line-height:1;margin:5px 0}.v38-launch-brand p{font-size:10px;color:#6c8294;margin:0}.v38-launch-user{display:flex;gap:7px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.v38-launch-user b,.v38-launch-user small,.v38-launch-user a,.v38-online{padding:8px 10px;border-radius:999px;border:1px solid #d6e2eb;background:#fff;font-size:9px;text-decoration:none;color:#173e5b}.v38-online{color:#16744f;background:#edf9f3}.v38-launch-user a{font-weight:900;background:#183a57;color:#fff;border-color:#183a57}.v38-launch-main{max-width:1450px;margin:0 auto;padding:6px 20px 32px}.v38-welcome{border-radius:22px;padding:20px;background:linear-gradient(125deg,#08233e,#0d4a73 62%,#0d6a72);color:#fff;display:grid;grid-template-columns:1fr minmax(420px,.8fr);gap:18px;box-shadow:0 18px 45px rgba(7,34,56,.18)}.v38-welcome span{font-size:9px;font-weight:900;letter-spacing:.12em;color:#a8d3f1}.v38-welcome h2{margin:4px 0;font-size:26px}.v38-welcome p{margin:0;color:#d6e8f4;font-size:11px}.v38-stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.v38-stat-grid div{background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.16);border-radius:15px;padding:11px}.v38-stat-grid span{display:block;color:#bedcf0;font-size:8px}.v38-stat-grid b{display:block;font-size:20px;margin-top:4px}.v38-launch-section{margin-top:18px}.v38-section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px}.v38-section-head h3{font-size:11px;letter-spacing:.09em;margin:0;color:#425f75}.v38-section-head span{font-size:9px;color:#7a8f9f}.v38-launch-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.v38-launch-card{display:flex;align-items:center;gap:11px;min-height:96px;padding:13px;border-radius:17px;background:#fff;border:1px solid #dce7ee;box-shadow:0 8px 22px rgba(14,45,68,.07);text-decoration:none;color:#173e5b;transition:.16s transform,.16s box-shadow,.16s border-color}.v38-launch-card:hover{transform:translateY(-2px);border-color:#8db3cc;box-shadow:0 13px 28px rgba(14,45,68,.12)}.v38-launch-icon{width:46px;height:46px;border-radius:14px;background:#edf5fb;display:grid;place-items:center;font-size:22px;flex:0 0 46px}.v38-launch-copy{min-width:0;flex:1}.v38-launch-copy b{display:block;font-size:11px}.v38-launch-copy small{display:block;font-size:9px;line-height:1.4;color:#72889a;margin-top:4px}.v38-launch-arrow{font-size:25px;color:#8da3b3}.v38-launch-foot{text-align:center;color:#8195a5;font-size:9px;padding:22px 0 0}@media(max-width:1100px){.v38-launch-grid{grid-template-columns:repeat(3,1fr)}.v38-welcome{grid-template-columns:1fr}.v38-stat-grid{max-width:680px}}@media(max-width:760px){.v38-launch-head{align-items:flex-start;flex-direction:column;padding:12px}.v38-launch-brand img{width:150px}.v38-launch-brand h1{font-size:19px}.v38-launch-user{justify-content:flex-start}.v38-launch-main{padding:4px 10px 24px}.v38-welcome{padding:15px;border-radius:18px}.v38-stat-grid{grid-template-columns:1fr 1fr}.v38-launch-grid{grid-template-columns:1fr 1fr}.v38-launch-card{min-height:106px;align-items:flex-start;flex-direction:column;gap:7px}.v38-launch-arrow{display:none}.v38-launch-icon{width:40px;height:40px;flex-basis:40px}}@media(max-width:430px){.v38-launch-brand{align-items:flex-start}.v38-launch-brand img{width:120px}.v38-launch-brand h1{font-size:16px}.v38-launch-brand p{font-size:8px}.v38-launch-grid{grid-template-columns:1fr 1fr;gap:7px}.v38-launch-card{padding:10px;border-radius:14px}.v38-launch-copy b{font-size:10px}.v38-launch-copy small{font-size:8px}.v38-stat-grid b{font-size:17px}}


/* =========================================================
   V47 — PRE-LOGIN ROLE GATEWAY + ROLE PORTAL
   ========================================================= */
.v47-gateway-shell,.v47-portal-shell{min-height:100vh;background:linear-gradient(180deg,#eef5fa 0%,#f7fafc 100%);color:#0b2d49;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.v47-gateway-head{display:flex;align-items:center;gap:18px;max-width:1180px;margin:auto;padding:26px 22px 12px}
.v47-gateway-head img{width:250px;max-width:42vw;border-radius:12px}
.v47-gateway-head span{font-size:11px;font-weight:900;letter-spacing:1.3px;color:#50718b}
.v47-gateway-head h1{margin:2px 0 0;font-size:34px;line-height:1;color:#082f4f}
.v47-gateway-head p{margin:6px 0 0;color:#638096;font-size:13px}
.v47-org-wrap{max-width:1180px;margin:0 auto;padding:10px 22px 28px}
.v47-role-note{display:flex;gap:12px;align-items:center;border:1px solid #d3e0e9;background:#fff;border-radius:14px;padding:12px 15px;margin-bottom:18px}
.v47-role-note b{font-size:11px;letter-spacing:.8px;color:#0b5d87}.v47-role-note span{font-size:12px;color:#5a7488}
.v47-org-level{display:grid;gap:16px;position:relative}.v47-org-level.top{grid-template-columns:minmax(280px,430px);justify-content:center}.v47-org-level.two{grid-template-columns:repeat(2,minmax(280px,1fr))}.v47-org-level.three{grid-template-columns:repeat(3,minmax(220px,1fr))}
.v47-role-tile{display:flex;align-items:center;gap:14px;min-height:112px;border:1px solid #cbdbe6;border-radius:18px;background:#fff;text-decoration:none;color:#0b2d49;padding:17px;box-shadow:0 9px 24px rgba(26,64,91,.07);position:relative;transition:.16s ease}
.v47-role-tile:hover{transform:translateY(-2px);border-color:#79aecb;box-shadow:0 12px 28px rgba(26,64,91,.12)}
.v47-role-tile.bod{background:linear-gradient(135deg,#0c3a5d,#0d6b82);color:#fff;border:0}.v47-role-tile.super{background:#eef4f8;border-style:dashed}
.v47-role-icon{width:58px;height:58px;display:grid;place-items:center;border-radius:16px;background:#eef5fa;font-size:27px;flex:0 0 auto}.v47-role-tile.bod .v47-role-icon{background:rgba(255,255,255,.13)}
.v47-role-copy{display:flex;flex-direction:column;gap:3px;min-width:0}.v47-role-copy b{font-size:15px;letter-spacing:.2px}.v47-role-copy span{font-size:11px;font-weight:800;color:#496d85}.v47-role-copy small{font-size:10px;line-height:1.35;color:#73899a}
.v47-role-tile.bod .v47-role-copy span,.v47-role-tile.bod .v47-role-copy small{color:#d8edf4}.v47-role-tile>i{margin-left:auto;font-style:normal;font-size:26px;color:#87a4b7}
.v47-connector.vertical{width:2px;height:18px;background:#a9bfce;margin:0 auto}.v47-connector.short{height:14px}.v47-org-branch{display:grid;grid-template-columns:1fr 1fr;gap:16px;min-height:38px}.v47-admin-side,.v47-pm-side{display:flex;align-items:center;justify-content:center;position:relative}.v47-line-label{font-size:9px;color:#8ba0af}.v47-pm-side{flex-direction:column}
.v47-pm-side .v47-role-tile{width:calc(100% - 34px);max-width:520px}
.v47-super-separator{height:1px;background:linear-gradient(90deg,transparent,#c5d6e1,transparent);margin:22px 0 18px}
.v47-gateway-foot{max-width:1180px;margin:auto;padding:16px 22px 28px;display:flex;justify-content:space-between;gap:12px;color:#738b9c;font-size:10px}.v47-gateway-foot a{color:#0c5f8b;text-decoration:none;font-weight:900}

/* role portal */
.v47-portal-shell{padding:22px}.v47-portal-back{display:inline-flex;max-width:1080px;margin:0 auto 12px;color:#0b5d87;text-decoration:none;font-size:11px;font-weight:900}
.v47-portal-card{max-width:1080px;margin:auto;display:grid;grid-template-columns:38% 62%;background:#fff;border:1px solid #cfdee8;border-radius:22px;overflow:hidden;box-shadow:0 18px 45px rgba(31,65,91,.1)}
.v47-portal-role{padding:28px;background:linear-gradient(145deg,#0b3557,#0f6c7d);color:#fff;display:flex;flex-direction:column;align-items:flex-start}.v47-portal-role img{width:230px;max-width:100%;background:#fff;border-radius:12px;margin-bottom:28px}.v47-big-icon{width:62px;height:62px;display:grid;place-items:center;background:rgba(255,255,255,.12);border-radius:16px;font-size:31px;margin-bottom:12px}
.v47-portal-role>span{font-size:10px;font-weight:900;letter-spacing:1px;color:#cbe5ee}.v47-portal-role h1{font-size:25px;margin:4px 0 2px}.v47-portal-role h2{font-size:13px;margin:0 0 14px;color:#d7edf2}.v47-portal-role p{font-size:12px;line-height:1.6;color:#d9e8ef}.v47-portal-role small{margin-top:auto;padding-top:22px;color:#bed5df;font-size:9px}
.v47-portal-panel{padding:30px}.v47-tabs{display:flex;gap:8px;margin-bottom:22px}.v47-tabs button{border:1px solid #d0dde6;background:#f6f9fb;padding:10px 16px;border-radius:10px;font-size:11px;font-weight:900;color:#4b6c82;cursor:pointer}.v47-tabs button.active{background:#0b5d87;color:#fff;border-color:#0b5d87}
.v47-portal-panel h3{margin:0;font-size:22px}.v47-portal-sub{margin:5px 0 18px;color:#6c8394;font-size:11px}
.v47-portal-form{display:grid;grid-template-columns:1fr;gap:12px}.v47-portal-form.register{grid-template-columns:1fr 1fr}.v47-portal-field{display:flex;flex-direction:column;gap:6px}.v47-portal-field.wide{grid-column:1/-1}.v47-portal-field label{font-size:9px;font-weight:900;letter-spacing:.6px;color:#31566f}
.v47-portal-field input,.v47-portal-field select{width:100%;box-sizing:border-box;border:1px solid #c8dae5;background:#fbfdfe;border-radius:11px;padding:12px 13px;font:inherit;font-size:12px;color:#123;outline:none}.v47-portal-field input:focus,.v47-portal-field select:focus{border-color:#5da1c5;box-shadow:0 0 0 3px rgba(69,145,185,.1)}
.v47-pass-wrap{display:grid;grid-template-columns:1fr 44px}.v47-pass-wrap input{border-radius:11px 0 0 11px}.v47-eye{border:1px solid #c8dae5;border-left:0;background:#eef5f9;border-radius:0 11px 11px 0;cursor:pointer;font-size:16px}
.v47-portal-primary{grid-column:1/-1;border:0;background:#0b5d87;color:#fff;border-radius:11px;padding:13px 16px;font-size:11px;font-weight:900;cursor:pointer}.v47-portal-primary:disabled{opacity:.6}
.v47-reg-warning{grid-column:1/-1;background:#fff8e6;border:1px solid #ecd99c;border-radius:10px;padding:9px 11px;color:#805e00;font-size:10px}
.v47-portal-alert{margin:0 0 14px;border-radius:10px;padding:10px 12px;font-size:11px;font-weight:700}.v47-portal-alert.bad{background:#fff0ef;border:1px solid #ebc3bf;color:#a32a21}.v47-portal-alert.ok{background:#ebf8f1;border:1px solid #bce1cd;color:#08774d}
.v47-no-register{background:#f7fafc;border:1px solid #d9e4eb;border-radius:12px;padding:18px;display:flex;flex-direction:column;gap:5px}.v47-no-register span{font-size:11px;color:#687f91}

@media(max-width:820px){
 .v47-gateway-head{align-items:flex-start}.v47-gateway-head h1{font-size:27px}.v47-org-level.two,.v47-org-level.three{grid-template-columns:1fr}.v47-org-branch{display:none}
 .v47-connector.vertical{display:none}.v47-role-tile{min-height:94px}.v47-gateway-foot{flex-direction:column}
 .v47-portal-shell{padding:10px}.v47-portal-card{grid-template-columns:1fr}.v47-portal-role{padding:20px}.v47-portal-role img{width:190px;margin-bottom:16px}.v47-portal-role small{margin-top:0;padding-top:8px}
 .v47-portal-panel{padding:20px}.v47-portal-form.register{grid-template-columns:1fr}
}
@media(max-width:520px){
 .v47-gateway-head{padding:18px 14px 8px;gap:10px}.v47-gateway-head img{width:150px}.v47-gateway-head h1{font-size:22px}.v47-gateway-head p{font-size:10px}.v47-org-wrap{padding:8px 14px 20px}
 .v47-role-note{align-items:flex-start;flex-direction:column}.v47-role-tile{padding:13px;gap:10px}.v47-role-icon{width:48px;height:48px;font-size:23px}.v47-role-copy b{font-size:13px}.v47-role-copy small{font-size:9px}
}

/* V48 - improved public role gateway */
.v48-gateway-shell{min-height:100vh;background:radial-gradient(circle at top left,#dceaf6 0,transparent 28%),linear-gradient(180deg,#edf4f9 0%,#f7fafc 55%,#eef4f7 100%);color:#0c2f49;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}
.v48-gateway-head,.v48-gateway-main{max-width:1240px;margin:0 auto}
.v48-gateway-head{padding:20px 20px 10px;display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.v48-brand{display:flex;align-items:center;gap:18px;min-width:0}
.v48-brand img{width:248px;max-width:42vw;border-radius:14px;background:#fff;border:1px solid #d6e2eb;box-shadow:0 14px 34px rgba(8,34,56,.09)}
.v48-brand-copy{min-width:0}.v48-eyebrow{display:block;font-size:11px;font-weight:900;letter-spacing:.14em;color:#567890}.v48-brand-copy h1{margin:4px 0 2px;font-size:48px;line-height:.94;letter-spacing:-.03em;color:#082e4c}.v48-brand-copy p{margin:0;color:#648094;font-size:14px;line-height:1.5;max-width:680px}
.v48-top-pills{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;max-width:420px}
.v48-pill{min-width:120px;padding:10px 12px;border-radius:16px;background:#fff;border:1px solid #d4e0e8;box-shadow:0 10px 24px rgba(12,49,73,.05)}
.v48-pill span{display:block;font-size:10px;font-weight:900;letter-spacing:.08em;color:#70879a}.v48-pill b{display:block;margin-top:4px;font-size:12px;color:#113550}.v48-pill.green{background:#eefaf2}.v48-pill.green b{color:#15764f}.v48-pill.blue{background:#eef7fe}.v48-pill.blue b{color:#0b5f95}.v48-pill.teal{background:#effaf9}.v48-pill.teal b{color:#0a7c77}.v48-pill.amber{background:#fff8ea}.v48-pill.amber b{color:#9b6718}
.v48-gateway-main{padding:6px 20px 30px}
.v48-hero{display:grid;grid-template-columns:1.2fr .8fr;gap:18px;background:linear-gradient(135deg,#08253f,#0d5178 58%,#0e777a);color:#fff;border-radius:28px;padding:22px;box-shadow:0 22px 54px rgba(8,34,56,.18)}
.v48-mini-tag{display:inline-flex;padding:8px 12px;border-radius:999px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.09);font-size:10px;font-weight:900;letter-spacing:.08em;color:#d4ebf5}
.v48-hero-copy h2{margin:12px 0 8px;font-size:34px;line-height:1.02;letter-spacing:-.03em}.v48-hero-copy p{margin:0;color:#d5e8f4;font-size:13px;line-height:1.7;max-width:720px}
.v48-meta-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:16px}.v48-meta-strip div{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);border-radius:15px;padding:12px 14px}.v48-meta-strip span{display:block;font-size:10px;color:#b8dced;font-weight:800}.v48-meta-strip b{display:block;margin-top:5px;font-size:13px;color:#fff}
.v48-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}.v48-metric{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.14);border-radius:16px;padding:14px}.v48-metric span{display:block;font-size:10px;font-weight:900;letter-spacing:.08em;color:#bfe0ef}.v48-metric b{display:block;font-size:30px;line-height:1;margin-top:7px}.v48-metric small{display:block;font-size:10px;color:#d6e9f3;margin-top:5px}
.v48-live-panel{display:grid;grid-template-columns:1fr;gap:12px;align-content:start}.v48-clock-card,.v48-calendar{background:rgba(255,255,255,.11);border:1px solid rgba(255,255,255,.14);backdrop-filter:blur(6px);border-radius:18px;padding:14px}
.v48-clock-card span{display:block;font-size:11px;font-weight:900;color:#bde0ee}.v48-clock-card b{display:block;font-size:34px;line-height:1.02;margin-top:8px;color:#fff}.v48-clock-card small{display:block;margin-top:8px;color:#d4e8f4;font-size:12px}
.v48-cal-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.v48-cal-head strong{font-size:14px;color:#fff}.v48-cal-head span{font-size:10px;color:#cae3ef}.v48-cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}.v48-cal-dow span{font-size:10px;font-weight:900;color:#cde5ef;text-align:center}.v48-cal-weeks{display:grid;gap:6px}.v48-cal-cell{min-height:34px;display:grid;place-items:center;border-radius:10px;background:rgba(255,255,255,.08);font-size:11px;color:#fff}.v48-cal-cell.empty{background:transparent}.v48-cal-cell.today{background:#fff;color:#0b4f77;font-weight:900;box-shadow:0 8px 24px rgba(255,255,255,.18)}
.v48-info-band{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:16px}.v48-info-item,.v48-viewer-btn{background:#fff;border:1px solid #d7e3eb;border-radius:16px;padding:14px 16px;box-shadow:0 10px 24px rgba(11,48,73,.05)}.v48-info-item b{display:block;font-size:12px;color:#0c5b87}.v48-info-item span{display:block;font-size:12px;color:#627e92;line-height:1.55;margin-top:5px}.v48-viewer-btn{display:flex;align-items:center;justify-content:center;text-decoration:none;font-size:14px;font-weight:900;color:#0b4f77;background:linear-gradient(180deg,#ffffff,#f2f8fc)}
.v48-org-board{margin-top:18px;background:#fff;border:1px solid #d9e4ec;border-radius:24px;padding:20px;box-shadow:0 16px 40px rgba(12,49,73,.06)}.v48-org-title h3{margin:0;font-size:22px;color:#0f314c}.v48-org-title p{margin:6px 0 0;color:#6d8496;font-size:13px;line-height:1.6}
.v48-org-tree{margin-top:20px}.v48-row{display:grid;gap:16px;position:relative}.v48-row.row-top,.v48-row.row-bottom{grid-template-columns:minmax(320px,430px);justify-content:center}.v48-row.row-two{grid-template-columns:repeat(2,minmax(280px,1fr))}.v48-row.row-three{grid-template-columns:repeat(3,minmax(230px,1fr))}.v48-row.row-middle{grid-template-columns:1fr 1fr;align-items:center;min-height:64px}
.v48-line.vertical{width:2px;height:20px;background:#b2c7d6;margin:0 auto}.v48-line.vertical.short{height:16px}.v48-line.separator{height:1px;background:linear-gradient(90deg,transparent,#c7d7e1,transparent);margin:22px 0 18px}.v48-middle-note{display:flex;align-items:center;justify-content:center;font-size:11px;color:#8aa0b0}.v48-middle-stack{display:flex;flex-direction:column;align-items:center;gap:0}
.v48-role-card{display:flex;align-items:center;gap:14px;min-height:118px;padding:18px;border-radius:22px;background:#fff;border:1px solid #d3e0e9;text-decoration:none;color:#0b2e49;box-shadow:0 12px 30px rgba(12,49,73,.06);transition:.16s transform,.16s box-shadow,.16s border-color;position:relative;overflow:hidden}.v48-role-card:hover{transform:translateY(-2px);border-color:#86b1ca;box-shadow:0 16px 34px rgba(12,49,73,.12)}
.v48-role-card.bod{background:linear-gradient(135deg,#0d3d63,#0e687f);color:#fff;border:0}.v48-role-card.waspang{background:linear-gradient(135deg,#f9fbfd,#eef7fb)}.v48-role-card.super{background:linear-gradient(180deg,#f8fbfd,#f1f6fa);border-style:dashed}
.v48-role-badge{width:60px;height:60px;flex:0 0 60px;border-radius:18px;background:#edf5fb;display:grid;place-items:center;font-size:28px}.v48-role-card.bod .v48-role-badge{background:rgba(255,255,255,.13)}
.v48-role-body{min-width:0;display:flex;flex-direction:column;gap:3px}.v48-role-body b{font-size:16px;letter-spacing:.01em}.v48-role-body span{font-size:12px;font-weight:800;color:#4d6f86}.v48-role-body small{font-size:11px;color:#748b9d;line-height:1.45}.v48-role-card.bod .v48-role-body span,.v48-role-card.bod .v48-role-body small{color:#d8ebf6}
.v48-role-card i{margin-left:auto;font-style:normal;font-size:28px;color:#8ea6b8}.v48-role-card.bod i{color:#d8ecf6}
.v48-gateway-foot{padding:18px 4px 6px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;color:#748b9d;font-size:11px}
@media(max-width:1100px){.v48-gateway-head{flex-direction:column}.v48-top-pills{justify-content:flex-start;max-width:none}.v48-hero{grid-template-columns:1fr}.v48-info-band{grid-template-columns:1fr 1fr}.v48-row.row-two,.v48-row.row-three{grid-template-columns:1fr 1fr}.v48-row.row-middle{grid-template-columns:1fr}}
@media(max-width:760px){.v48-gateway-head{padding:16px 14px 10px}.v48-brand{flex-direction:column;align-items:flex-start;gap:12px}.v48-brand img{width:170px;max-width:70vw}.v48-brand-copy h1{font-size:33px}.v48-brand-copy p{font-size:12px}.v48-gateway-main{padding:4px 14px 24px}.v48-hero{padding:16px;border-radius:22px}.v48-hero-copy h2{font-size:26px}.v48-meta-strip,.v48-metrics{grid-template-columns:1fr 1fr}.v48-info-band{grid-template-columns:1fr}.v48-org-board{padding:16px;border-radius:20px}.v48-row.row-two,.v48-row.row-three,.v48-row.row-top,.v48-row.row-bottom{grid-template-columns:1fr}.v48-middle-note{display:none}.v48-row.row-middle{grid-template-columns:1fr;min-height:auto}.v48-line.vertical{display:none}.v48-role-card{min-height:104px;border-radius:18px;padding:15px}.v48-role-badge{width:52px;height:52px;flex-basis:52px;font-size:24px}.v48-role-body b{font-size:14px}.v48-role-body small{font-size:10px}.v48-gateway-foot{flex-direction:column}}
@media(max-width:430px){.v48-brand-copy h1{font-size:28px}.v48-top-pills{display:grid;grid-template-columns:1fr}.v48-pill{min-width:0}.v48-meta-strip,.v48-metrics{grid-template-columns:1fr}.v48-clock-card b{font-size:28px}.v48-cal-cell{min-height:30px;font-size:10px}.v48-role-card{gap:10px;padding:13px}.v48-role-card i{display:none}}

/* V49 - centered division login / account portal */
.v49-portal-shell{min-height:100vh;display:flex;flex-direction:column;background:radial-gradient(circle at 15% 0,#dcecf8 0,transparent 32%),linear-gradient(180deg,#eef5fa 0%,#f8fbfd 55%,#eef3f7 100%);padding:18px;color:#0c2f49;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}
.v49-portal-top{width:min(980px,100%);margin:0 auto 10px}.v49-portal-back{display:inline-flex;padding:9px 12px;border-radius:999px;border:1px solid #d3e1ea;background:#fff;text-decoration:none;color:#0b5d87;font-size:10px;font-weight:900;box-shadow:0 8px 20px rgba(12,49,73,.05)}
.v49-portal-wrap{width:min(860px,100%);margin:auto;display:grid;gap:14px;align-content:center}.v49-portal-wrap.is-register{width:min(980px,100%)}
.v49-role-banner{display:flex;align-items:center;gap:14px;background:linear-gradient(135deg,#0a3456,#0c657d);color:#fff;border-radius:22px;padding:15px 18px;box-shadow:0 16px 38px rgba(8,34,56,.15)}
.v49-role-banner img{width:165px;max-width:30vw;background:#fff;border-radius:11px;border:1px solid rgba(255,255,255,.25)}
.v49-role-icon{width:54px;height:54px;flex:0 0 54px;display:grid;place-items:center;border-radius:15px;background:rgba(255,255,255,.12);font-size:27px}.v49-role-text{min-width:0}.v49-role-text>span{font-size:9px;font-weight:900;letter-spacing:.11em;color:#bee0ed}.v49-role-text h1{margin:2px 0 0;font-size:21px}.v49-role-text h2{margin:2px 0 6px;font-size:11px;color:#d7ecf3}.v49-role-text p{margin:0;font-size:10px;line-height:1.45;color:#d4e6ee}
.v49-login-card{background:#fff;border:1px solid #d2e0e9;border-radius:24px;padding:24px 28px;box-shadow:0 24px 60px rgba(12,49,73,.11)}
.v49-tabs{display:flex;justify-content:center;gap:8px;margin-bottom:16px}.v49-tabs button{min-width:120px;border:1px solid #d2dfe8;background:#f6f9fb;padding:10px 16px;border-radius:999px;font-size:10px;font-weight:900;color:#557087;cursor:pointer}.v49-tabs button.active{background:#0b5d87;color:#fff;border-color:#0b5d87;box-shadow:0 8px 18px rgba(11,93,135,.18)}
.v49-login-heading{text-align:center;margin-bottom:18px}.v49-login-heading h3{margin:0;font-size:23px;color:#0b304d}.v49-login-heading p{margin:6px auto 0;max-width:560px;color:#6d8395;font-size:11px;line-height:1.5}
.v49-form-center{max-width:470px;margin:0 auto}.v49-form-center .v47-portal-form{gap:14px}.v49-form-center .v47-portal-primary{margin-top:2px;padding:14px 16px;font-size:11px;border-radius:12px}.v49-form-center .v47-portal-field input{padding:13px 14px;font-size:13px}
.v49-form-register{max-width:800px;margin:0 auto}.v49-form-register .v47-portal-form.register{grid-template-columns:1fr 1fr;gap:12px 14px}
.v49-security-note{text-align:center;margin-top:17px;padding-top:14px;border-top:1px solid #edf2f5;color:#7d91a1;font-size:9px}
@media(max-width:760px){.v49-portal-shell{padding:10px}.v49-portal-top{margin-bottom:8px}.v49-portal-wrap{margin:auto}.v49-role-banner{align-items:flex-start;flex-wrap:wrap;border-radius:18px;padding:14px}.v49-role-banner img{width:135px;max-width:65vw}.v49-role-icon{width:46px;height:46px;flex-basis:46px;font-size:23px}.v49-role-text{flex:1;min-width:190px}.v49-login-card{padding:20px 16px;border-radius:20px}.v49-form-register .v47-portal-form.register{grid-template-columns:1fr}.v49-tabs button{min-width:105px}.v49-login-heading h3{font-size:19px}}
@media(max-width:430px){.v49-role-banner img{width:115px}.v49-role-text h1{font-size:18px}.v49-login-card{padding:18px 13px}.v49-tabs{gap:6px}.v49-tabs button{min-width:0;flex:1;padding:9px 10px}.v49-form-center{max-width:none}}


/* =========================================================
   V50 — CONTROL CENTER / APP GRID GATEWAY
   ========================================================= */
.v50-shell{min-height:100vh;background:radial-gradient(circle at 8% 0,#d8e9f5 0,transparent 27%),linear-gradient(180deg,#edf4f9 0%,#f7fafc 55%,#edf3f7 100%);color:#0c304b;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}
.v50-head,.v50-main{width:min(1280px,calc(100% - 32px));margin:0 auto}
.v50-head{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:18px 0 12px}
.v50-brand{display:flex;align-items:center;gap:18px;min-width:0}.v50-brand img{width:220px;max-width:38vw;border-radius:14px;background:#fff;border:1px solid #d4e1ea;box-shadow:0 12px 30px rgba(10,43,65,.08)}
.v50-brand>div{min-width:0}.v50-brand span{font-size:10px;font-weight:900;letter-spacing:.14em;color:#5b788f}.v50-brand h1{margin:4px 0 1px;font-size:30px;line-height:1;letter-spacing:-.025em;color:#0a2e4a}.v50-brand p{margin:5px 0 0;font-size:12px;color:#6c8597}
.v50-head-status{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.v50-status{min-width:108px;background:#fff;border:1px solid #d5e2eb;border-radius:14px;padding:8px 10px;box-shadow:0 8px 20px rgba(10,43,65,.05)}.v50-status span{display:block;font-size:8px;font-weight:900;letter-spacing:.11em;color:#7990a0}.v50-status b{display:block;margin-top:3px;font-size:10px;color:#24445b}.v50-status.green b{color:#11734b}.v50-status.blue b{color:#0b6094}.v50-status.teal b{color:#0b7b76}.v50-status.amber b{color:#9b6718}
.v50-main{padding-bottom:28px}.v50-dashboard{display:grid;grid-template-columns:1.25fr .75fr;gap:14px;background:linear-gradient(135deg,#08243e,#0d4f75 58%,#0b7477);border-radius:26px;padding:18px;color:#fff;box-shadow:0 20px 50px rgba(8,35,57,.16)}
.v50-dashboard-main{padding:6px 4px}.v50-kicker{display:inline-flex;padding:6px 9px;border-radius:999px;border:1px solid rgba(255,255,255,.15);background:rgba(255,255,255,.08);font-size:8px;font-weight:900;letter-spacing:.11em;color:#cde6f1}.v50-dashboard h2{margin:10px 0 6px;font-size:31px;letter-spacing:-.03em}.v50-dashboard p{margin:0;color:#d5e8f3;font-size:12px;line-height:1.6;max-width:700px}
.v50-db-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:14px}.v50-db-row div{background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.13);border-radius:13px;padding:10px}.v50-db-row span{display:block;font-size:8px;font-weight:900;letter-spacing:.08em;color:#b9dbe9}.v50-db-row b{display:block;margin-top:4px;font-size:11px;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v50-live{display:grid;grid-template-columns:.82fr 1.18fr;gap:10px;align-items:stretch}.v50-clock,.v50-calendar{background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.14);border-radius:16px;padding:12px;backdrop-filter:blur(6px)}.v50-clock{display:flex;flex-direction:column;justify-content:center}.v50-clock span{font-size:9px;font-weight:900;letter-spacing:.1em;color:#c4e1ed}.v50-clock b{font-size:28px;line-height:1;margin-top:8px}.v50-clock small{font-size:9px;color:#d4e6ef;margin-top:8px;line-height:1.5}
.v50-cal-title{display:flex;justify-content:space-between;gap:8px;margin-bottom:7px}.v50-cal-title b{font-size:11px}.v50-cal-title span{font-size:8px;color:#c5dfeb;font-weight:900;letter-spacing:.1em}.v50-cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:3px}.v50-cal-grid.head span{font-size:7px;font-weight:900;color:#c9e2ed;text-align:center}.v50-day{min-height:25px;display:grid;place-items:center;border-radius:7px;background:rgba(255,255,255,.06);font-size:8px;color:#fff}.v50-day.empty{background:transparent}.v50-day.today{background:#fff;color:#0b5279;font-weight:900}
.v50-control-panel{margin-top:14px;background:#fff;border:1px solid #d6e3eb;border-radius:24px;padding:18px;box-shadow:0 14px 36px rgba(10,43,65,.06)}.v50-panel-head{display:flex;justify-content:space-between;gap:12px;align-items:end;margin-bottom:14px}.v50-panel-head span{font-size:8px;font-weight:900;letter-spacing:.12em;color:#5d7c91}.v50-panel-head h3{margin:3px 0 0;font-size:22px}.v50-panel-note{font-size:10px;color:#7b91a1}
.v50-app-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.v50-app-card{position:relative;min-height:176px;padding:14px;border-radius:18px;background:#fff;border:1px solid #d7e3eb;text-decoration:none;color:#143a55;box-shadow:0 8px 22px rgba(12,49,73,.055);display:flex;flex-direction:column;transition:.16s transform,.16s box-shadow,.16s border-color;overflow:hidden}.v50-app-card:before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:#0b6496}.v50-app-card:hover{transform:translateY(-3px);border-color:#8fb6cd;box-shadow:0 14px 30px rgba(12,49,73,.11)}
.v50-app-card.amber:before{background:#d99a2b}.v50-app-card.teal:before{background:#0c8a83}.v50-app-card.red:before{background:#cb5151}.v50-app-card.orange:before{background:#e47b32}.v50-app-card.yellow:before{background:#d7aa22}.v50-app-card.navy:before{background:#153d63}.v50-app-card.gray:before{background:#667b8c}
.v50-app-top{display:flex;justify-content:space-between;align-items:flex-start}.v50-app-icon{width:52px;height:52px;border-radius:16px;background:#eef5fa;display:grid;place-items:center;font-size:25px}.v50-app-badge{padding:5px 7px;border-radius:999px;background:#f3f7fa;border:1px solid #e0e8ee;font-size:7px;font-weight:900;letter-spacing:.11em;color:#698397}
.v50-app-copy{display:flex;flex-direction:column;gap:3px;margin-top:13px;min-width:0}.v50-app-copy b{font-size:13px}.v50-app-copy span{font-size:10px;font-weight:800;color:#55758b}.v50-app-copy small{font-size:9px;line-height:1.45;color:#7b91a1}
.v50-app-open{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:12px;border-top:1px solid #edf2f5}.v50-app-open span{font-size:8px;font-weight:900;letter-spacing:.08em;color:#5e7e92}.v50-app-open i{font-style:normal;font-size:16px;color:#8aa3b4}.v50-app-card.super{background:linear-gradient(180deg,#f8fbfd,#f0f5f8)}
.v50-bottom-info{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:9px;margin-top:12px}.v50-bottom-info>div,.v50-bottom-info>a{background:#fff;border:1px solid #dae5ec;border-radius:15px;padding:11px 12px}.v50-bottom-info b{display:block;font-size:8px;letter-spacing:.08em;color:#0b628f}.v50-bottom-info span{display:block;font-size:9px;color:#708798;line-height:1.45;margin-top:3px}.v50-bottom-info>a{display:grid;place-items:center;text-decoration:none;font-size:9px;font-weight:900;color:#0b5f8b;min-width:120px}.v50-foot{text-align:center;color:#8095a4;font-size:8px;padding:18px 0 0}
@media(max-width:1050px){.v50-head{align-items:flex-start;flex-direction:column}.v50-head-status{justify-content:flex-start}.v50-dashboard{grid-template-columns:1fr}.v50-app-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.v50-bottom-info{grid-template-columns:1fr 1fr}.v50-live{grid-template-columns:.65fr 1.35fr}}
@media(max-width:760px){.v50-head,.v50-main{width:min(100% - 20px,1280px)}.v50-head{padding-top:12px}.v50-brand{align-items:flex-start}.v50-brand img{width:150px}.v50-brand h1{font-size:22px}.v50-brand p{font-size:10px}.v50-head-status{display:grid;grid-template-columns:repeat(3,1fr);width:100%}.v50-status{min-width:0}.v50-dashboard{border-radius:20px;padding:14px}.v50-dashboard h2{font-size:25px}.v50-db-row{grid-template-columns:1fr 1fr}.v50-live{grid-template-columns:1fr}.v50-clock b{font-size:25px}.v50-control-panel{padding:13px;border-radius:20px}.v50-panel-head{align-items:flex-start;flex-direction:column}.v50-app-grid{grid-template-columns:1fr 1fr;gap:8px}.v50-app-card{min-height:168px;padding:12px}.v50-app-icon{width:45px;height:45px;font-size:22px}.v50-app-copy b{font-size:11px}.v50-app-copy small{font-size:8px}.v50-bottom-info{grid-template-columns:1fr}}
@media(max-width:430px){.v50-brand{flex-direction:column;gap:10px}.v50-brand img{width:138px}.v50-head-status{grid-template-columns:1fr}.v50-dashboard h2{font-size:22px}.v50-db-row{grid-template-columns:1fr}.v50-app-grid{grid-template-columns:1fr 1fr}.v50-app-card{min-height:155px}.v50-app-badge{display:none}.v50-bottom-info>a{min-width:0}}


/* V52 — KEEP V50 CONTROL CENTER, CENTER ORIGINAL DIVISION LOGIN ONLY */
@media(min-width:761px){
  .v47-portal-shell{
    min-height:100vh;
    display:grid;
    grid-template-rows:auto minmax(0,1fr);
    align-items:stretch;
    padding:22px;
  }
  .v47-portal-back{
    width:min(1080px,100%);
    margin:0 auto 10px;
    align-self:start;
  }
  .v47-portal-card{
    width:min(1080px,100%);
    margin:auto;
    align-self:center;
  }
}
@media(max-width:760px){
  .v47-portal-shell{
    min-height:100vh;
    padding:10px;
  }
  .v47-portal-card{
    margin:18px auto 30px;
  }
}


/* V56 — USER ID GUIDE */
.v56-userid-wrap{display:flex;flex-direction:column;gap:6px}
.v56-userid-label-row{display:flex;align-items:center;justify-content:space-between;gap:8px}
.v56-userid-label-row label{font-size:9px;font-weight:900;letter-spacing:.6px;color:#31566f}
.v56-info-btn{border:0;background:transparent;color:#0b5d87;font-size:8px;font-weight:900;cursor:pointer;padding:2px 0}
.v56-userid-wrap>input{width:100%;box-sizing:border-box;border:1px solid #c8dae5;background:#fbfdfe;border-radius:11px;padding:12px 13px;font:inherit;font-size:12px;color:#123;outline:none}
.v56-userid-wrap>input:focus{border-color:#5da1c5;box-shadow:0 0 0 3px rgba(69,145,185,.1)}
.v56-userid-hint{display:flex;flex-direction:column;align-items:flex-start;gap:5px}
.v56-userid-hint>span{font-size:8px;line-height:1.45;color:#738a9a}
.v56-suggestion{border:1px solid #c6ddea;background:#eef7fc;color:#0a5f8c;border-radius:8px;padding:5px 8px;font-size:8px;font-weight:900;cursor:pointer}
.v56-userid-guide{margin-top:2px;border:1px solid #c9ddea;background:#f4f9fc;border-radius:10px;padding:10px;color:#365b72}
.v56-userid-guide>b{display:block;font-size:9px;color:#0b5d87;margin-bottom:6px}
.v56-userid-guide ol{margin:0;padding-left:17px}.v56-userid-guide li{font-size:8px;line-height:1.55;margin-bottom:2px}
.v56-guide-examples{display:flex;gap:5px;flex-wrap:wrap;margin-top:7px}.v56-guide-examples span{font-size:8px;font-weight:800;color:#08784f;background:#eaf8f1;border-radius:7px;padding:4px 6px}.v56-guide-examples span.bad{color:#a52b22;background:#fff0ef}

/* V59 — Integrated Control Center header actions */
.v59-head-action{font-weight:900!important;text-decoration:none!important}
.v59-head-action.sync{background:#eef9f3!important;color:#08784f!important;border-color:#c3e4d2!important}
.v59-head-action.db{background:#edf6fc!important;color:#0b5d87!important;border-color:#c9deeb!important}


/* V61 — UNIFIED HEADER SKIN + MANAGEMENT SYSTEM */
.v50-head,.v38-launch-head{
  background:#fff;border:1px solid #d6e2eb;border-radius:20px;
  box-shadow:0 10px 30px rgba(10,43,65,.07);
}
.v50-head{margin-top:14px;padding:14px 16px}
.v38-launch-head{margin-top:14px}
.v59-head-action.cal,.v59-head-action.about{background:#f5f9fc!important;color:#174764!important;border-color:#d3e1ea!important;cursor:pointer}
.v61-about-btn{border:1px solid #d4e2eb;background:#fff;border-radius:14px;padding:9px 11px;font-size:9px;font-weight:900;color:#0b5d87;cursor:pointer;box-shadow:0 7px 18px rgba(12,49,73,.04)}
.v61-calendar-click{cursor:pointer;transition:.15s transform,.15s box-shadow}.v61-calendar-click:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(255,255,255,.10)}
.v61-about-modal{position:fixed;inset:0;z-index:11800;display:grid;place-items:center;padding:16px;background:rgba(5,28,45,.58);backdrop-filter:blur(4px)}
.v61-about-card{width:min(760px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:22px;padding:18px;border:1px solid #d5e2eb;box-shadow:0 24px 80px rgba(0,0,0,.26)}
.v61-about-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.v61-about-head span{font-size:8px;font-weight:900;letter-spacing:.12em;color:#5c7b91}.v61-about-head h3{margin:4px 0;font-size:22px;color:#103a56}.v61-about-head button{width:35px;height:35px;border:0;border-radius:10px;background:#eef4f8;color:#385a71;font-size:22px;cursor:pointer}
.v61-about-summary{font-size:12px;line-height:1.65;color:#587487;background:#f5f9fc;border:1px solid #dfebf1;border-radius:14px;padding:12px}
.v61-about-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.v61-about-grid>div{padding:12px;border:1px solid #e0e9ef;border-radius:13px;background:#fbfdfe}.v61-about-grid b{font-size:9px;color:#0b5d87}.v61-about-grid p{font-size:10px;line-height:1.55;color:#607b8d;white-space:pre-wrap}
@media(max-width:760px){.v50-head,.v38-launch-head{border-radius:16px;margin-top:8px}.v61-about-grid{grid-template-columns:1fr}.v61-about-card{border-radius:16px;padding:14px}}

/* V62 — BOD LIVE MASTER + INVOICE SHEETS */
.r62-invoice-live{margin-top:14px}.r62-invoice-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.r62-invoice-box{border:1px solid #d7e3eb;border-radius:16px;background:#fbfdff;padding:13px}.r62-invoice-title{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:10px}.r62-invoice-title b{font-size:11px;color:#153e59}.r62-invoice-title span{font-size:9px;color:#698397}.r62-mini-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.r62-mini-kpis>div{padding:10px;border:1px solid #e0e9ef;border-radius:11px;background:#fff}.r62-mini-kpis span{display:block;font-size:8px;font-weight:900;letter-spacing:.06em;color:#6a8294}.r62-mini-kpis b{display:block;margin-top:4px;font-size:18px;color:#0b537d}.r34-tree .branch-invoice,.r34-tree .branch-finance{margin-top:7px}.r30-table{min-width:1480px}.r35-sync-strip{flex-wrap:wrap}.r30-banner .r32-live-status{gap:6px;flex-wrap:wrap}
@media(max-width:980px){.r62-invoice-grid{grid-template-columns:1fr}.r62-mini-kpis{grid-template-columns:1fr 1fr}}
@media(max-width:540px){.r62-mini-kpis{grid-template-columns:1fr 1fr}.r62-invoice-title{flex-direction:column}.r30-head-right{gap:6px}}

/* V63 — BOD MATERIAL TRACKER LIVE */
.r63-material-panel{margin:14px 0;padding:18px 20px;background:#fff;border:1px solid #dce6ee;border-radius:24px;box-shadow:0 10px 28px rgba(16,49,72,.05)}
.r63-material-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.r63-material-head h2{margin:0 0 5px;font-size:18px;color:#182237}.r63-material-head p{margin:0;color:#6a7f99;font-size:10px;line-height:1.55}
.r63-material-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.r63-source{padding:9px 12px;border-radius:999px;font-size:8px;font-weight:900;border:1px solid}.r63-source.live{color:#087a55;background:#ecf9f3;border-color:#bfe5d3}.r63-source.wait{color:#9a4b20;background:#fff5ec;border-color:#f2c99e}
.r63-filters{display:grid;grid-template-columns:240px 1fr 240px;gap:10px;margin:14px 0}.r63-filters label{display:flex;flex-direction:column;gap:5px}.r63-filters label span{font-size:8px;font-weight:900;color:#60758e;letter-spacing:.04em}.r63-filters input,.r63-filters select{height:52px;border:1px solid #d7e2eb;background:#fff;border-radius:15px;padding:0 14px;font-size:11px;color:#1d3652;outline:none}
.r63-material-kpis{display:grid;grid-template-columns:1.15fr repeat(4,1fr);gap:10px}.r63-status-card,.r63-mat-card{min-height:126px;border:1px solid #dce5ed;border-radius:17px;padding:13px 14px;background:#fff;display:flex;flex-direction:column;gap:7px}.r63-status-card>span,.r63-mat-card>span{font-size:8px;font-weight:900;color:#667b92;letter-spacing:.04em}.r63-status-card>b,.r63-mat-card>b{font-size:18px;color:#172236}.r63-status-card>small,.r63-mat-card>small{font-size:8px;color:#73859b;line-height:1.4}.r63-status-card>em{margin-top:auto;align-self:flex-end;font-style:normal;font-size:7px;font-weight:900;padding:5px 8px;border-radius:999px;background:#f3f6f8;color:#6d8192}
.r63-mat-track{margin-top:auto;height:6px;background:#f1f5f8;border-radius:999px;overflow:hidden}.r63-mat-track i{display:block;height:100%;background:#286e9c;border-radius:999px}
.r63-material-lower{display:grid;grid-template-columns:1.1fr 1fr;gap:12px;margin-top:12px}.r63-shortage,.r63-workflow{border:1px solid #dce5ed;border-radius:18px;padding:14px;background:#fff}.r63-lower-title{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:10px}.r63-lower-title b{font-size:10px;color:#294761}.r63-lower-title span{font-size:8px;color:#75879a}
.r63-short-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.r63-short-grid>div,.r63-flow-grid>div{padding:10px;border:1px solid #dce5ed;border-radius:13px;background:#f9fbfd;display:flex;flex-direction:column;gap:5px}.r63-short-grid span,.r63-flow-grid span{font-size:7px;color:#6d8095}.r63-short-grid b,.r63-flow-grid b{font-size:12px;color:#172236}.r63-flow-grid small{font-size:7px;color:#788b9d;line-height:1.35}
.r63-progress-line{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;margin-top:13px}.r63-progress-line>b{font-size:8px;color:#637891}.r63-progress-line>strong{font-size:11px}.r63-progress-track{height:10px;border-radius:999px;background:#f0f4f7;overflow:hidden}.r63-progress-track i{display:block;height:100%;background:#286e9c}
.r63-flow-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.r63-material-foot{margin-top:12px;padding:10px 12px;border-radius:12px;font-size:8px;line-height:1.45}.r63-material-foot.ok{background:#eef8f3;border:1px solid #c7e6d7;color:#2d6e52}.r63-material-foot.warn{background:#fff4ea;border:1px solid #f0c79d;color:#915027}
@media(max-width:1200px){.r63-material-kpis{grid-template-columns:repeat(3,1fr)}.r63-filters{grid-template-columns:220px 1fr 220px}}
@media(max-width:850px){.r63-material-head{flex-direction:column}.r63-material-actions{justify-content:flex-start}.r63-filters{grid-template-columns:1fr}.r63-material-kpis{grid-template-columns:1fr 1fr}.r63-material-lower{grid-template-columns:1fr}.r63-short-grid{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.r63-material-panel{padding:13px;border-radius:17px}.r63-material-kpis{grid-template-columns:1fr}.r63-short-grid,.r63-flow-grid{grid-template-columns:1fr}.r63-progress-line{grid-template-columns:1fr}.r63-material-actions .r30-btn{width:100%;text-align:center}.r63-source{width:100%;text-align:center}}


.r63-clickable{width:100%;text-align:left;cursor:pointer;appearance:none}
button.r63-status-card,button.r63-mat-card,button.r63-clickbox{font:inherit;color:inherit}
button.r63-status-card,button.r63-mat-card,button.r63-clickbox{border:1px solid #dce5ed;background:#fff}
button.r63-status-card:hover,button.r63-mat-card:hover,button.r63-clickbox:hover{transform:translateY(-1px);border-color:#9eb8cb;box-shadow:0 10px 18px rgba(12,46,76,.07)}
button.r63-status-card:focus-visible,button.r63-mat-card:focus-visible,button.r63-clickbox:focus-visible,.r34-bagan-card:focus-visible{outline:2px solid #0b5f95;outline-offset:2px}
button.r63-clickbox{padding:10px;border-radius:13px;background:#f9fbfd;display:flex;flex-direction:column;gap:5px;text-align:left;cursor:pointer}
button.r63-clickbox span{font-size:7px;color:#6d8095}
button.r63-clickbox b{font-size:12px;color:#172236}
button.r63-clickbox small{font-size:7px;color:#788b9d;line-height:1.35}
.r34-bod-panel .r30-panel-head{align-items:flex-start}
@media(max-width:850px){.r34-bod-panel .r30-panel-head{flex-direction:column}.r34-bod-panel .r63-material-actions{justify-content:flex-start}}


/* V66 — PRECISION HEADER / LAUNCHER / SKIN */
.v38-launch-head,.v50-head,.r30-header{
  max-width:1680px;margin-left:auto!important;margin-right:auto!important;
  min-height:88px;box-sizing:border-box;
}
.v38-launch-head{display:grid!important;grid-template-columns:minmax(430px,1fr) minmax(520px,auto)!important;gap:18px!important;align-items:center!important;padding:14px 18px!important}
.v38-launch-brand{min-width:0!important}.v38-launch-brand img{width:250px!important;max-width:31vw!important;height:72px!important;object-fit:contain!important;background:#fff;border-radius:13px}
.v38-launch-brand h1{font-size:25px!important;line-height:1.12!important;letter-spacing:-.3px}.v38-launch-brand p{font-size:10px!important}
.v38-launch-user{justify-content:flex-end!important;gap:7px!important}.v38-launch-user>*{white-space:nowrap}
.v59-head-action.skin{background:#f4f0ff!important;color:#59428a!important;border-color:#d9cff3!important}

.v50-head{display:grid!important;grid-template-columns:minmax(500px,1fr) auto!important;gap:18px!important;align-items:center!important;padding:14px 18px!important}
.v50-brand img{width:285px!important;max-width:34vw!important;height:76px!important;object-fit:contain!important}.v50-brand h1{font-size:28px!important;line-height:1.1!important}
.v50-head-status{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;flex-wrap:wrap!important}

.r30-header{padding:12px 16px!important}.r30-header-row{display:grid!important;grid-template-columns:minmax(430px,1fr) auto!important;gap:18px!important;align-items:center!important}
.r30-brand img{width:210px!important;max-width:28vw!important;height:62px!important;object-fit:contain!important}.r30-brand h1{font-size:22px!important;white-space:nowrap}
.r30-head-right{justify-content:flex-end!important;gap:6px!important;max-width:880px}.r30-head-right>*{white-space:nowrap}
.r30-nav{overflow-x:auto!important;scrollbar-width:thin!important}

.v66-portal-tools{width:min(1080px,100%);margin:0 auto 10px;display:flex;justify-content:space-between;align-items:center;gap:8px}
.v66-portal-tools .v47-portal-back{margin:0!important}.v47-portal-back.skin{font:inherit;cursor:pointer}

.v38-launch-card,.v50-app-card{cursor:pointer!important;position:relative!important}
.v38-launch-card:after,.v50-app-card:after{content:"KLIK DETAIL";position:absolute;right:12px;bottom:9px;font-size:7px;font-weight:900;letter-spacing:.06em;color:#7b92a3;opacity:.75}
.v38-launch-card:hover,.v50-app-card:hover{transform:translateY(-2px)!important;box-shadow:0 13px 30px rgba(13,52,78,.10)!important}

@media(max-width:1180px){
 .v38-launch-head,.v50-head,.r30-header-row{grid-template-columns:1fr!important}
 .v38-launch-user,.v50-head-status,.r30-head-right{justify-content:flex-start!important}
 .v38-launch-brand img,.v50-brand img,.r30-brand img{max-width:260px!important}
}
@media(max-width:760px){
 .v38-launch-head,.v50-head,.r30-header{padding:10px!important;border-radius:15px!important}
 .v38-launch-brand img,.v50-brand img,.r30-brand img{width:200px!important;height:58px!important;max-width:70vw!important}
 .v38-launch-brand h1,.v50-brand h1,.r30-brand h1{font-size:20px!important;white-space:normal!important}
 .v38-launch-user,.v50-head-status,.r30-head-right{display:flex!important;overflow-x:auto!important;flex-wrap:nowrap!important;padding-bottom:4px}
 .v38-launch-user>*{flex:0 0 auto}
}


/* =========================================================
   V67 — HEADER PRECISION & UNIFIED SKIN
   ========================================================= */

/* LAUNCHER: two logical zones, controls split into two rows */
.v38-launch-head{
  max-width:1680px!important;
  margin:12px auto 8px!important;
  padding:12px 16px!important;
  display:grid!important;
  grid-template-columns:minmax(620px,1fr) minmax(620px,auto)!important;
  gap:20px!important;
  align-items:center!important;
  min-height:104px!important;
  border-radius:18px!important;
  overflow:visible!important;
}
.v38-launch-brand{
  display:grid!important;
  grid-template-columns:320px minmax(280px,1fr)!important;
  align-items:center!important;
  gap:18px!important;
  min-width:0!important;
}
.v38-launch-brand img{
  width:320px!important;
  max-width:320px!important;
  height:88px!important;
  object-fit:contain!important;
  padding:0!important;
  margin:0!important;
  box-sizing:border-box!important;
}
.v67-launch-title{min-width:0!important}
.v67-launch-title .v38-eyebrow{display:block!important;margin-bottom:5px!important;white-space:nowrap!important}
.v67-launch-title h1{
  margin:0!important;
  font-size:28px!important;
  line-height:1.08!important;
  letter-spacing:-.6px!important;
  white-space:nowrap!important;
  overflow:visible!important;
}
.v67-launch-title p{margin-top:7px!important;font-size:10px!important;white-space:nowrap!important}
.v67-launch-controls{min-width:0!important;display:flex!important;flex-direction:column!important;align-items:flex-end!important;gap:8px!important}
.v67-system-row,.v67-account-row{
  display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:7px!important;flex-wrap:wrap!important
}
.v67-system-row>*,
.v67-account-row>*{
  min-height:36px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  margin:0!important;
  padding:0 11px!important;
  border:1px solid #d6e2eb!important;
  border-radius:999px!important;
  font:800 9px/1 system-ui,-apple-system,"Segoe UI",sans-serif!important;
  white-space:nowrap!important;
  text-decoration:none!important;
  appearance:none!important;
  -webkit-appearance:none!important;
  cursor:pointer;
}
.v67-system-row .v38-online{color:#147451!important;background:#edf9f3!important;border-color:#cee6da!important}
.v67-system-row .sync{background:#eef9f3!important;color:#08784f!important;border-color:#c3e4d2!important}
.v67-system-row .db{background:#edf6fc!important;color:#0b5d87!important;border-color:#c9deeb!important}
.v67-system-row .cal,.v67-system-row .about{background:#f5f9fc!important;color:#174764!important;border-color:#d3e1ea!important}
.v67-system-row .skin{background:#f5f1ff!important;color:#59428a!important;border-color:#d9cff3!important}
.v67-user-name,.v67-role-name{background:#fff!important;color:#173e5b!important}
.v67-logout{background:#173f5d!important;color:#fff!important;border-color:#173f5d!important}

/* PUBLIC GATEWAY */
.v50-head{
  max-width:1680px!important;margin:12px auto 8px!important;padding:12px 16px!important;
  display:grid!important;grid-template-columns:minmax(720px,1fr) auto!important;gap:20px!important;align-items:center!important;
  min-height:104px!important;border-radius:18px!important
}
.v50-brand{display:grid!important;grid-template-columns:320px minmax(360px,1fr)!important;gap:18px!important;align-items:center!important;min-width:0!important}
.v50-brand img{width:320px!important;max-width:320px!important;height:88px!important;object-fit:contain!important}
.v50-brand h1{font-size:27px!important;line-height:1.08!important;white-space:nowrap!important;margin:4px 0!important}
.v50-brand p{font-size:10px!important;white-space:nowrap!important;margin:0!important}
.v50-head-status{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:7px!important;flex-wrap:wrap!important}
.v50-head-status .v61-about-btn{min-height:36px!important;padding:0 11px!important;border-radius:999px!important;font-size:9px!important}

/* BOD REACT */
.r30-header{max-width:1680px!important;margin:12px auto 8px!important;padding:12px 16px!important;border-radius:18px!important}
.r30-header-row{display:grid!important;grid-template-columns:minmax(540px,1fr) minmax(700px,auto)!important;gap:18px!important;align-items:center!important}
.r30-brand{display:grid!important;grid-template-columns:230px minmax(280px,1fr)!important;gap:14px!important;align-items:center!important;min-width:0!important}
.r30-brand img{width:230px!important;max-width:230px!important;height:72px!important;object-fit:contain!important}
.r67-eyebrow{display:block;font-size:8px;font-weight:900;letter-spacing:.12em;color:#6b8395;margin-bottom:4px;white-space:nowrap}
.r30-brand h1{font-size:24px!important;line-height:1.08!important;margin:0!important;white-space:nowrap!important}
.r30-brand p{font-size:9px!important;margin:6px 0 0!important;white-space:nowrap!important}
.r30-head-right{display:flex!important;flex-direction:column!important;align-items:flex-end!important;gap:7px!important;max-width:none!important}
.r67-bod-system-row,.r67-bod-account-row{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:6px!important;flex-wrap:wrap!important}
.r67-bod-system-row>*,.r67-bod-account-row>*{margin:0!important;min-height:34px!important;box-sizing:border-box!important;white-space:nowrap!important}
.r67-bod-system-row .r30-clock{min-width:150px!important}
.r30-btn,.r30-chip{font-size:8px!important;border-radius:999px!important;padding:0 10px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
.r30-clock{padding:5px 11px!important;flex-direction:column!important;align-items:flex-start!important}

/* Header button default reset: prevents browser-native huge Kalender/Skin buttons */
.v38-launch-head button,.v50-head button,.r30-header button{
  font-family:inherit!important;letter-spacing:0!important;text-transform:none!important
}

/* Global launcher geometry */
.v38-launch-main{max-width:1680px!important;padding-left:20px!important;padding-right:20px!important}
.v38-welcome{box-shadow:0 12px 34px rgba(7,34,56,.12)!important}

/* medium desktop: put controls below brand, never squeeze title vertically */
@media(max-width:1450px){
  .v38-launch-head,.v50-head,.r30-header-row{grid-template-columns:1fr!important}
  .v67-launch-controls,.r30-head-right{align-items:flex-start!important}
  .v67-system-row,.v67-account-row,.v50-head-status,.r67-bod-system-row,.r67-bod-account-row{justify-content:flex-start!important}
}
@media(max-width:900px){
  .v38-launch-brand,.v50-brand{grid-template-columns:240px minmax(0,1fr)!important}
  .v38-launch-brand img,.v50-brand img{width:240px!important;height:70px!important}
  .v67-launch-title h1,.v50-brand h1{font-size:22px!important;white-space:normal!important}
  .v67-launch-title p,.v50-brand p{white-space:normal!important}
  .r30-brand{grid-template-columns:190px minmax(0,1fr)!important}
  .r30-brand img{width:190px!important;height:60px!important}
}
@media(max-width:650px){
  .v38-launch-head,.v50-head,.r30-header{margin:6px!important;padding:10px!important;border-radius:14px!important}
  .v38-launch-brand,.v50-brand,.r30-brand{grid-template-columns:1fr!important;gap:8px!important}
  .v38-launch-brand img,.v50-brand img,.r30-brand img{width:190px!important;max-width:70vw!important;height:56px!important}
  .v67-launch-title h1,.v50-brand h1,.r30-brand h1{font-size:19px!important;white-space:normal!important}
  .v67-system-row,.v67-account-row,.v50-head-status,.r67-bod-system-row,.r67-bod-account-row{
    width:100%!important;justify-content:flex-start!important;flex-wrap:nowrap!important;overflow-x:auto!important;padding-bottom:4px!important
  }
  .v67-system-row>*,.v67-account-row>*,.v50-head-status>*,.r67-bod-system-row>*,.r67-bod-account-row>*{flex:0 0 auto!important}
}


/* =========================================================
   V68 — PRECISE MODULE COLUMNS / NO SHIFT
   ========================================================= */
.v38-launch-section{max-width:1680px!important;margin-left:auto!important;margin-right:auto!important}
.v38-launch-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  grid-auto-rows:minmax(112px,auto)!important;
  gap:12px!important;
  align-items:stretch!important;
}
.v38-launch-card{
  width:100%!important;
  min-width:0!important;
  min-height:112px!important;
  height:100%!important;
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-columns:52px minmax(0,1fr) 22px!important;
  align-items:center!important;
  gap:12px!important;
  padding:14px 15px!important;
}
.v38-launch-icon{width:52px!important;height:52px!important;flex:0 0 52px!important;border-radius:15px!important}
.v38-launch-copy{min-width:0!important;align-self:center!important}
.v38-launch-copy b{
  font-size:11px!important;line-height:1.28!important;
  white-space:normal!important;overflow-wrap:anywhere!important
}
.v38-launch-copy small{
  min-height:28px!important;font-size:9px!important;line-height:1.45!important;
  display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important
}
.v38-launch-arrow{align-self:center!important;justify-self:end!important}
.v38-launch-card:after{right:14px!important;bottom:9px!important}
.v38-section-head{min-height:26px!important;margin-top:2px!important}
.v38-section-head h3{font-size:11px!important;line-height:1.2!important}

@media(max-width:1380px){
  .v38-launch-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:980px){
  .v38-launch-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:560px){
  .v38-launch-grid{grid-template-columns:1fr!important;grid-auto-rows:auto!important}
  .v38-launch-card{min-height:96px!important;grid-template-columns:46px minmax(0,1fr) 18px!important;padding:12px!important}
  .v38-launch-icon{width:46px!important;height:46px!important;flex-basis:46px!important}
}

/* Public division cards also use exact columns */
.v50-app-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px!important;
  align-items:stretch!important
}
.v50-app-card{height:100%!important;min-width:0!important;box-sizing:border-box!important}
@media(max-width:1250px){.v50-app-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:900px){.v50-app-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:560px){.v50-app-grid{grid-template-columns:1fr!important}}


/* =========================================================
   V69 — BOD SMART DETAIL + MATERIAL REKAP + HEADER PRECISION
   ========================================================= */

/* Material status / rekap boxes */
.r69-rekap-strip{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}
.r69-rekap-card{border:1px solid #dce6ee;border-radius:15px;padding:11px 13px;background:#fff;text-align:left;cursor:pointer;display:flex;flex-direction:column;gap:4px;min-height:86px}
.r69-rekap-card.warn{background:#fff8ed;border-color:#efd4a5}.r69-rekap-card.info{background:#eef7fc;border-color:#cfe3ee}
.r69-rekap-card span{font-size:8px;font-weight:900;letter-spacing:.055em;color:#647e92}.r69-rekap-card b{font-size:17px;color:#163f5b}.r69-rekap-card small{font-size:8px;color:#778b9a;line-height:1.45}
.r69-rekap-card:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(18,58,83,.07)}

/* Invoice KPI popup cards */
.r62-mini-kpis>button.r62-mini-click{border:1px solid #e0e9ef;border-radius:11px;background:#fff;padding:10px;text-align:left;cursor:pointer;min-height:82px;transition:.15s transform,.15s border-color,.15s box-shadow}
.r62-mini-click:hover{transform:translateY(-2px);border-color:#8eb6cf;box-shadow:0 9px 20px rgba(15,60,90,.08)}
.r62-mini-click span{display:block;font-size:8px;font-weight:900;letter-spacing:.06em;color:#6a8294}
.r62-mini-click b{display:block;margin-top:4px;font-size:18px;color:#0b537d}
.r62-mini-click small{display:block;margin-top:6px;font-size:7px;color:#8398a7}

/* Wider, precise detail tables */
.r69-modal-material{width:min(1520px,calc(100vw - 26px))!important;max-height:92dvh!important}
.r69-modal-invoice{width:min(1540px,calc(100vw - 26px))!important;max-height:92dvh!important}
.r69-modal-mapping{width:min(1100px,calc(100vw - 26px))!important}
.r69-table-wrap{overflow:auto!important;max-height:72dvh!important}
.r69-smart-table,.r69-invoice-table{table-layout:fixed!important;width:max-content!important;min-width:100%!important}
.r69-smart-table th,.r69-smart-table td,.r69-invoice-table th,.r69-invoice-table td{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;padding:9px 10px!important}
.r69-smart-table th:nth-child(2),.r69-smart-table td:nth-child(2),
.r69-smart-table th:nth-child(3),.r69-smart-table td:nth-child(3),
.r69-smart-table th:nth-child(5),.r69-smart-table td:nth-child(5),
.r69-smart-table th:nth-child(13),.r69-smart-table td:nth-child(13),
.r69-smart-table th:nth-child(14),.r69-smart-table td:nth-child(14){white-space:normal!important;line-height:1.4!important}
.r69-smart-table thead th{z-index:4!important}
.r69-smart-table th:first-child,.r69-smart-table td:first-child{position:sticky;left:0;z-index:3;background:#f9fcfe!important}
.r69-smart-table th:nth-child(2),.r69-smart-table td:nth-child(2){position:sticky;left:48px;z-index:2;background:#fff!important}
.r69-smart-table th:nth-child(2){background:#f3f7fa!important;z-index:4!important}
.r69-smart-head{cursor:help!important}.r69-validator-dot{display:inline-grid;place-items:center;width:14px;height:14px;margin-left:5px;border-radius:50%;background:#e8f5ee;color:#08784f;font-size:8px;font-weight:900;vertical-align:middle}
.r69-smart-cell{cursor:help}.r69-smart-cell:hover{background:#eef8fc!important}
.r69-smart-row{cursor:pointer}.r69-smart-row:hover td{background:#f2f9fd!important}

/* Smart row popup */
.r69-smart-modal{position:fixed;inset:0;z-index:100250;background:rgba(3,13,27,.64);backdrop-filter:blur(5px);display:grid;place-items:center;padding:16px}
.r69-smart-card{width:min(820px,100%);max-height:90dvh;overflow:auto;background:#fff;border-radius:20px;box-shadow:0 32px 90px rgba(0,0,0,.34)}
.r69-smart-body{padding:15px}.r69-smart-body h4{margin:0 0 10px;font-size:18px;color:#133d59}
.r69-smart-flags{display:grid;gap:6px;margin-bottom:12px}.r69-smart-flags>div{padding:8px 10px;border-radius:10px;background:#f1f7fb;border:1px solid #d9e7ef;font-size:9px;color:#45697f}
.r69-smart-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.r69-smart-grid>div{padding:9px 10px;border:1px solid #e0e9ef;border-radius:11px;background:#fbfdfe;min-width:0}.r69-smart-grid span{display:block;font-size:7px;font-weight:900;letter-spacing:.06em;color:#768c9b}.r69-smart-grid b{display:block;margin-top:4px;font-size:10px;line-height:1.45;color:#193f59;overflow-wrap:anywhere}

/* BOD header precise: logo | title | controls */
.r30-top{max-width:1680px!important;padding-top:10px!important}
.r30-header{padding:12px 14px!important;border-radius:18px!important}
.r30-header-row{display:grid!important;grid-template-columns:minmax(520px,1fr) minmax(680px,auto)!important;gap:16px!important;align-items:center!important}
.r30-brand{display:grid!important;grid-template-columns:260px minmax(220px,1fr)!important;gap:18px!important;align-items:center!important}
.r30-brand img{width:260px!important;height:72px!important;max-width:none!important;object-fit:contain!important;border:1px solid #d0dce5!important}
.r67-bod-title{min-width:0!important}.r67-bod-title .r67-eyebrow{font-size:8px!important;color:#567890!important}.r67-bod-title h1{font-size:24px!important;line-height:1.05!important;color:#113d5d!important;margin:3px 0!important;white-space:nowrap!important}.r67-bod-title p{font-size:9px!important;color:#71899a!important;margin:0!important}
.r30-head-right{display:grid!important;grid-template-rows:auto auto!important;gap:7px!important;align-items:center!important;justify-items:end!important}
.r67-bod-system-row,.r67-bod-account-row{display:flex!important;gap:6px!important;align-items:center!important;justify-content:flex-end!important;flex-wrap:wrap!important}
.r67-bod-system-row .r30-btn,.r67-bod-account-row .r30-btn,.r67-bod-account-row .r30-chip,.r67-bod-system-row .r30-chip{min-height:38px!important;padding:8px 10px!important;font-size:8px!important;border-radius:10px!important}
.r30-nav{margin-top:9px!important;border-top:1px solid #dce7ee!important;padding-top:8px!important;gap:5px!important}
.r30-nav a{padding:7px 9px!important;font-size:8px!important;border-radius:9px!important}

/* Unified all-module compact header */
.v38-launch-head,.v50-head,.fo-head,.top{
  min-height:88px!important;
  border-radius:18px!important;
  padding:12px 14px!important;
}
.v38-launch-brand img,.v50-brand img,.fo-brand img,.top .logo{object-fit:contain!important}
.v38-launch-user,.v50-head-status,.fo-user,.fo-syncbar,.userbar{gap:6px!important}
.v38-launch-user>a,.v38-launch-user>button,.v50-head-status>*,.fo-user>*,.fo-syncbar>*,.userbar>*{min-height:36px!important}

@media(max-width:1220px){
 .r30-header-row{grid-template-columns:1fr!important}.r30-head-right{justify-items:start!important}
 .r67-bod-system-row,.r67-bod-account-row{justify-content:flex-start!important}
}
@media(max-width:760px){
 .r69-rekap-strip{grid-template-columns:1fr}
 .r69-smart-grid{grid-template-columns:1fr 1fr}
 .r30-brand{grid-template-columns:145px minmax(0,1fr)!important;gap:10px!important}
 .r30-brand img{width:145px!important;height:52px!important}
 .r67-bod-title h1{font-size:17px!important;white-space:normal!important}
 .r67-bod-system-row,.r67-bod-account-row{overflow-x:auto!important;flex-wrap:nowrap!important;width:100%!important;padding-bottom:3px}
}
@media(max-width:480px){.r69-smart-grid{grid-template-columns:1fr}}


/* =========================================================
   V71 — BOD PREVIEW VIEWER STYLE
   ========================================================= */
.r71-viewer-top{max-width:1680px!important;margin:10px auto 0!important;padding:0 14px!important}
.r71-viewer-header{background:var(--dsb-head,#fff)!important;color:var(--dsb-text,#103954)!important;border:1px solid var(--dsb-border,#d7e3eb)!important;border-radius:20px!important;padding:15px 18px 10px!important;box-shadow:0 12px 34px rgba(13,48,72,.08)!important}
.r71-viewer-header-row{display:grid;grid-template-columns:minmax(560px,1fr) auto;gap:18px;align-items:center}
.r71-viewer-brand{display:grid;grid-template-columns:300px minmax(250px,1fr);gap:20px;align-items:center;min-width:0}
.r71-viewer-logo-box{height:86px;border:1px solid #1d69a4;border-radius:2px;background:#fff;display:grid;place-items:center;overflow:hidden}
.r71-viewer-logo-box img{width:100%;height:100%;object-fit:contain}
.r71-viewer-copy{min-width:0}.r71-viewer-eyebrow{display:block;font-size:9px;font-weight:900;letter-spacing:.11em;color:var(--dsb-muted,#668195)}
.r71-viewer-copy h1{margin:5px 0 3px!important;font-size:28px!important;line-height:1.05!important;letter-spacing:-.3px;color:var(--dsb-text,#103954)!important;white-space:nowrap}
.r71-viewer-copy p{margin:0!important;font-size:10px!important;color:var(--dsb-muted,#668195)!important}
.r71-viewer-live{display:grid;grid-template-columns:repeat(2,180px);gap:9px;justify-content:end}
.r71-live-card{border:1px solid var(--dsb-border,#d7e3eb);background:var(--dsb-soft,#eef6fb);border-radius:14px;padding:10px 12px;min-height:76px}
.r71-live-top{display:flex;align-items:center;gap:6px;font-size:8px;font-weight:900;letter-spacing:.05em;color:var(--dsb-muted,#668195)}
.r71-live-dot{width:8px;height:8px;border-radius:50%;background:#20a56f;box-shadow:0 0 0 4px rgba(32,165,111,.12)}.r71-live-dot.clock{background:#2e80b6;box-shadow:0 0 0 4px rgba(46,128,182,.12)}
.r71-live-card>b{display:block;margin-top:7px;font-size:17px;color:var(--dsb-text,#103954)}.r71-live-card>small{display:block;margin-top:3px;font-size:8px;color:var(--dsb-muted,#668195)}
.r71-viewer-meta{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-top:11px;padding:9px 0;border-top:1px solid var(--dsb-border,#d7e3eb)}
.r71-meta-pill{display:inline-flex;padding:6px 8px;border:1px solid var(--dsb-border,#d7e3eb);background:var(--dsb-soft,#eef6fb);border-radius:999px;font-size:8px;font-weight:800;color:var(--dsb-text,#103954)}
.r71-meta-pill.live{background:#eaf8f0;color:#16704b;border-color:#c7e6d5}.r71-meta-pill.warn{background:#fff7e8;color:#916116;border-color:#efd7a6}
.r71-viewer-toolbar{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:8px 0;border-top:1px solid var(--dsb-border,#d7e3eb)}
.r71-toolbar-actions,.r71-toolbar-user{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.r71-viewer-toolbar .r30-btn,.r71-viewer-toolbar .r30-chip{min-height:36px!important;padding:7px 10px!important;border-radius:9px!important;font-size:8px!important}
.r71-viewer-nav{margin:0!important;padding:8px 0 0!important;border-top:1px solid var(--dsb-border,#d7e3eb)!important;background:transparent!important}
.r71-viewer-nav a{border:1px solid transparent!important;background:transparent!important;color:var(--dsb-muted,#668195)!important}
.r71-viewer-nav a.active{color:var(--dsb-text,#103954)!important;background:var(--dsb-soft,#eef6fb)!important;border-color:var(--dsb-border,#d7e3eb)!important}

.r71-flow-panel{padding:14px 16px 18px!important;overflow:hidden!important}
.r71-panel-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:12px}
.r71-panel-title h2{margin:0!important;font-size:15px!important;color:var(--dsb-text,#103954)!important}
.r71-panel-title p{margin:4px 0 0!important;font-size:9px!important;color:var(--dsb-muted,#668195)!important}
.r71-flow-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.r71-flow-board{position:relative;border:1px solid var(--dsb-border,#d7e3eb);border-radius:20px;background:color-mix(in srgb,var(--dsb-card,#fff) 88%,var(--dsb-soft,#eef6fb));padding:20px 20px 26px;overflow:hidden}
.r71-flow-tree{display:grid;gap:34px;width:100%;max-width:1460px;margin:0 auto;padding:0 2px;position:relative}
.r71-flow-row{display:grid;gap:26px;justify-content:center;align-items:start;position:relative;width:100%}
.r71-flow-row.top{grid-template-columns:minmax(150px,162px)}
.r71-flow-row.row3{grid-template-columns:repeat(3,minmax(150px,164px));justify-content:space-between;padding:0 12%}
.r71-flow-row.row4{grid-template-columns:repeat(4,minmax(145px,162px));justify-content:space-between;padding:0 1.5%}
.r71-flow-row.row2{grid-template-columns:repeat(2,minmax(160px,220px));justify-content:center;gap:18%}
.r71-flow-row.row5{grid-template-columns:repeat(5,minmax(130px,170px));justify-content:space-between}
.r71-flow-row:not(.top):before{content:"";position:absolute;height:2px;background:#9db4cb;top:-18px;left:11%;right:11%;opacity:.9}
.r71-flow-row.row4:before{left:6.5%;right:6.5%}.r71-flow-row.row2:before{left:33%;right:33%}.r71-flow-row.row5:before{left:4%;right:4%}
.r71-flow-card{position:relative;appearance:none;width:100%;min-height:108px;border:1px solid #c8d8e6;border-radius:15px;background:#fff;color:#1d3f60;padding:12px 10px 10px;cursor:pointer;text-align:center;box-shadow:0 12px 28px rgba(22,53,82,.09);transition:.16s transform,.16s box-shadow,.16s border-color}
.r71-flow-card:before{content:"";position:absolute;left:50%;top:-18px;height:18px;width:2px;background:#9db4cb;transform:translateX(-50%)}.r71-flow-row.top .r71-flow-card:before{display:none}
.r71-flow-card:hover{transform:translateY(-2px);box-shadow:0 16px 34px rgba(22,53,82,.14);border-color:#6fa6dc}
.r71-flow-title{font-size:11px;font-weight:900;line-height:1.2;text-transform:uppercase;color:#264567}
.r71-flow-count{display:flex;align-items:baseline;justify-content:center;gap:4px;margin-top:6px}.r71-flow-count b{font-size:20px;line-height:1;color:#1b2c42}.r71-flow-count span{font-size:8px;font-weight:800;color:#6e8194}
.r71-flow-budget{margin-top:7px;font-size:9px;font-weight:900;color:#23496f}.r71-flow-card>small{display:block;margin-top:6px;font-size:7px;color:#7b8e9f}.r71-flow-card.small{min-height:108px}
.r71-flow-card.tone-all{border-color:#74a9e8;background:#eef6ff}.r71-flow-card.tone-progress{border-color:#7eacec;background:#f3f7ff}.r71-flow-card.tone-done{border-color:#91c9a1;background:#f3fbf6}.r71-flow-card.tone-hold{border-color:#efbb5b;background:#fffaf0}.r71-flow-card.tone-waiting{border-color:#d7e0e8;background:#fff}.r71-flow-card.tone-qc{border-color:#a9b7d1;background:#f5f7fc}.r71-flow-card.tone-plan{border-color:#d1dce7;background:#fff}
.r71-flow-tree .branch-qc{padding-left:46%;gap:10%;justify-content:start}.r71-flow-tree .branch-qc:before{left:50%;right:13%}
.r30-main .r30-panel,.r63-material-panel,.r62-invoice-live{border-radius:20px!important;box-shadow:0 10px 30px rgba(15,23,42,.055)!important}

/* all module headers follow the same Preview Viewer family */
.v38-launch-head,.v50-head,.fo-head,.top,.r71-viewer-header{background:var(--dsb-head,#fff)!important;border-color:var(--dsb-border,#d7e3eb)!important;box-shadow:0 12px 34px rgba(13,48,72,.08)!important}
html[data-dsb-skin="blue"] .v38-launch-head,html[data-dsb-skin="blue"] .v50-head,html[data-dsb-skin="blue"] .fo-head,html[data-dsb-skin="blue"] .top,html[data-dsb-skin="blue"] .r71-viewer-header{background:linear-gradient(180deg,#ffffff,#fbfdff)!important}
html[data-dsb-skin="clean"] .v38-launch-head,html[data-dsb-skin="clean"] .v50-head,html[data-dsb-skin="clean"] .fo-head,html[data-dsb-skin="clean"] .top,html[data-dsb-skin="clean"] .r71-viewer-header{background:#fff!important}
html[data-dsb-skin="teal"] .v38-launch-head,html[data-dsb-skin="teal"] .v50-head,html[data-dsb-skin="teal"] .fo-head,html[data-dsb-skin="teal"] .top,html[data-dsb-skin="teal"] .r71-viewer-header{background:linear-gradient(180deg,#ffffff,#f6fcfb)!important}
html[data-dsb-skin="dark"] .v38-launch-head,html[data-dsb-skin="dark"] .v50-head,html[data-dsb-skin="dark"] .fo-head,html[data-dsb-skin="dark"] .top,html[data-dsb-skin="dark"] .r71-viewer-header{background:linear-gradient(180deg,#0d2233,#0a1a28)!important;box-shadow:0 14px 38px rgba(0,0,0,.28)!important}

@media(max-width:1180px){
 .r71-viewer-header-row{grid-template-columns:1fr}.r71-viewer-live{justify-content:start}.r71-viewer-toolbar{align-items:flex-start;flex-direction:column}.r71-toolbar-user{justify-content:flex-start}.r71-flow-row.row3{padding:0 5%}
}
@media(max-width:900px){
 .r71-viewer-brand{grid-template-columns:210px 1fr}.r71-viewer-logo-box{height:68px}.r71-viewer-copy h1{font-size:22px!important}
 .r71-flow-tree{gap:24px}.r71-flow-row.row3,.r71-flow-row.row4,.r71-flow-row.row5{padding:0;gap:10px}
 .r71-flow-row.row3{grid-template-columns:repeat(3,1fr)}.r71-flow-row.row4{grid-template-columns:repeat(2,1fr)}.r71-flow-row.row5{grid-template-columns:repeat(2,1fr)}.r71-flow-row.row2{grid-template-columns:repeat(2,1fr);gap:10px}
 .r71-flow-row:not(.top):before,.r71-flow-card:before{display:none}.r71-flow-tree .branch-qc{padding-left:0;justify-content:center}.r71-flow-card{min-height:100px}
}
@media(max-width:620px){
 .r71-viewer-top{padding:0 7px!important}.r71-viewer-header{padding:10px!important;border-radius:15px!important}
 .r71-viewer-brand{grid-template-columns:1fr}.r71-viewer-logo-box{width:190px;height:58px}.r71-viewer-copy h1{font-size:19px!important;white-space:normal}
 .r71-viewer-live{grid-template-columns:1fr 1fr;width:100%}.r71-live-card{min-height:70px}
 .r71-toolbar-actions,.r71-toolbar-user{overflow-x:auto;flex-wrap:nowrap;width:100%;padding-bottom:3px}.r71-toolbar-actions>*,.r71-toolbar-user>*{flex:0 0 auto}
 .r71-panel-title{flex-direction:column}.r71-flow-actions{justify-content:flex-start}.r71-flow-board{padding:12px 10px 16px}
 .r71-flow-row.row3,.r71-flow-row.row4,.r71-flow-row.row5,.r71-flow-row.row2{grid-template-columns:1fr 1fr}.r71-flow-row.top{grid-template-columns:minmax(150px,180px)}
}

/* V72 — precise popup tables + external viewer + clickable panel details */
.r72-click{cursor:pointer!important;text-align:left!important;transition:.15s transform,.15s border-color,.15s box-shadow}
.r72-click:hover{transform:translateY(-1px);border-color:#8fb5ce!important;box-shadow:0 9px 22px rgba(9,42,67,.08)}
.r30-split-card.r72-click,.r30-flow-card.r72-click,.r30-doc.r72-click,.r30-fin.r72-click{width:100%;color:inherit}
.r30-doc small,.r30-fin small{display:block;margin-top:4px;font-size:7.5px;color:#8a9baa}
.r72-row-click{cursor:pointer}.r72-row-click:hover td{background:#eef8fc!important}
.r72-segment-wrap{max-height:68dvh!important;overflow:auto!important;overscroll-behavior:contain;scrollbar-gutter:stable both-edges}
.r72-segment-table{table-layout:fixed!important;width:2050px!important;min-width:2050px!important;border-collapse:separate!important;border-spacing:0!important}
.r72-segment-table th,.r72-segment-table td{padding:10px 11px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;border-right:1px solid #edf1f5}
.r72-segment-table th{position:sticky!important;top:0!important;z-index:6!important;background:#eef6fb!important}
.r72-segment-table th:nth-child(1),.r72-segment-table td:nth-child(1){position:sticky!important;left:0!important;z-index:5!important;background:#f9fcfe!important}
.r72-segment-table th:nth-child(1){z-index:8!important;background:#eaf3f9!important}
.r72-segment-table th:nth-child(2),.r72-segment-table td:nth-child(2){position:sticky!important;left:52px!important;z-index:4!important;background:#fff!important}
.r72-segment-table th:nth-child(2){z-index:8!important;background:#eaf3f9!important}
.r72-segment-table th:nth-child(3),.r72-segment-table td:nth-child(3){white-space:normal!important;line-height:1.35!important;overflow-wrap:anywhere}
.r30-modal-card{width:min(1440px,96vw)!important;max-height:92dvh!important}
.r30-modal-body{overflow:hidden!important;padding:12px 14px 14px!important}
.r30-modal-body>.r30-table-wrap{max-height:68dvh;overflow:auto;scrollbar-gutter:stable}
.r69-modal-material,.r69-modal-invoice,.r69-modal-finance{width:min(1480px,96vw)!important}
.r72-viewer-banner{background:#eef8ff!important;border-color:#bcd9eb!important}
.r72-external-shell .r30-main{padding-top:10px}
.r72-external-top{padding-top:10px}
.r72-external-top .r71-viewer-header{box-shadow:0 16px 40px rgba(5,25,45,.18)}
.r72-external-top .r71-viewer-toolbar{align-items:center}
.r72-external-top .r71-toolbar-actions{min-width:0;flex-wrap:wrap}
.r72-external-top .r71-toolbar-user{margin-left:auto}
@media(max-width:760px){
 .r30-modal-card{width:100%!important}.r72-segment-wrap{max-height:72dvh!important}.r72-segment-table{width:1900px!important;min-width:1900px!important}
 .r72-external-top .r71-viewer-toolbar{display:grid!important;grid-template-columns:1fr!important}.r72-external-top .r71-toolbar-user{margin-left:0!important;width:100%;justify-content:flex-start!important}
}
/* V72.1 semantic sticky columns for popup detail */
.r72-segment-table .col-no{position:sticky!important;left:0!important;z-index:5!important;background:#f9fcfe!important}
.r72-segment-table th.col-no{z-index:9!important;background:#eaf3f9!important}
.r72-segment-table .col-vendor{position:sticky!important;left:52px!important;z-index:4!important;background:#fff!important}
.r72-segment-table th.col-vendor{z-index:8!important;background:#eaf3f9!important}
.r72-segment-table .col-segment{white-space:normal!important;line-height:1.35!important;overflow-wrap:anywhere}
.r72-external-shell .r72-segment-table:not(:has(.col-vendor)) .col-segment{position:sticky!important;left:52px!important;z-index:4!important;background:#fff!important}

/* =========================================================
   V75 HOTFIX — LAUNCHER / CONTROL CENTER HEADER FOLLOW GLOBAL SKIN
   ========================================================= */
html[data-dsb-skin] .v38-launch-head,
html[data-dsb-skin] .v50-head,
html[data-dsb-skin] .fo-head,
html[data-dsb-skin] .top,
html[data-dsb-skin] .r71-viewer-header{
  background:var(--dsb-header-bg)!important;
  color:var(--dsb-header-text)!important;
  border:1px solid var(--dsb-header-border)!important;
  box-shadow:var(--dsb-header-shadow)!important;
}
html[data-dsb-skin] .v38-launch-brand h1,
html[data-dsb-skin] .v50-brand h1,
html[data-dsb-skin] .r67-bod-title h1,
html[data-dsb-skin] .r71-viewer-copy h1{color:var(--dsb-header-text)!important}
html[data-dsb-skin] .v67-launch-title .v38-eyebrow,
html[data-dsb-skin] .v67-launch-title p,
html[data-dsb-skin] .v50-brand span,
html[data-dsb-skin] .v50-brand p,
html[data-dsb-skin] .r67-bod-title .r67-eyebrow,
html[data-dsb-skin] .r67-bod-title p,
html[data-dsb-skin] .r71-viewer-eyebrow,
html[data-dsb-skin] .r71-viewer-copy p{color:var(--dsb-header-muted)!important}
html[data-dsb-skin] .v38-launch-user b,
html[data-dsb-skin] .v38-launch-user small,
html[data-dsb-skin] .v38-launch-user a:not(.v67-logout),
html[data-dsb-skin] .v38-launch-user button,
html[data-dsb-skin] .v50-head-status > *,
html[data-dsb-skin] .r67-bod-system-row > *,
html[data-dsb-skin] .r67-bod-account-row > *{
  background:var(--dsb-header-glass)!important;
  color:var(--dsb-header-text)!important;
  border-color:var(--dsb-header-border)!important;
}
html[data-dsb-skin] .v38-online{background:rgba(44,209,137,.16)!important;color:#c9f5dd!important;border-color:rgba(92,228,161,.28)!important}
html[data-dsb-skin="clean"] .v38-online{background:#edf9f3!important;color:#147451!important;border-color:#cee6da!important}
html[data-dsb-skin] .v67-logout,
html[data-dsb-skin] .r67-bod-account-row .logout,
html[data-dsb-skin] .r71-toolbar-user .logout{background:#fff!important;color:#123d5a!important;border-color:#fff!important}
html[data-dsb-skin="clean"] .v67-logout,
html[data-dsb-skin="clean"] .r67-bod-account-row .logout,
html[data-dsb-skin="clean"] .r71-toolbar-user .logout{background:#173f5d!important;color:#fff!important;border-color:#173f5d!important}


/* V78 — segment detail popup from detail tables */
.r72-detail-modal{position:fixed;inset:0;z-index:100320;background:rgba(3,13,27,.64);backdrop-filter:blur(5px);display:grid;place-items:center;padding:16px}
.r72-detail-card{width:min(920px,calc(100vw - 24px));max-height:92dvh;background:#fff;border-radius:24px;overflow:hidden;box-shadow:0 30px 90px rgba(0,0,0,.32);display:flex;flex-direction:column;border:1px solid #d9e4ed}
.r72-detail-body{padding:14px 16px 16px;overflow:auto}.r72-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.r72-detail-item{border:1px solid #dde7ee;border-radius:14px;background:#fbfdff;padding:11px 12px}.r72-detail-item span{display:block;font-size:9px;font-weight:900;letter-spacing:.04em;color:#6d8193}.r72-detail-item b{display:block;font-size:12px;margin-top:4px;color:#173e5b;line-height:1.45;word-break:break-word}.r72-detail-item.wide{grid-column:span 3}
@media(max-width:760px){.r72-detail-modal{padding:0;align-items:flex-end}.r72-detail-card{width:100%;max-height:95dvh;border-radius:22px 22px 0 0}.r72-detail-grid{grid-template-columns:1fr}.r72-detail-item.wide{grid-column:span 1}}


/* V79 — panduan tanda ! + semua tabel popup dapat dibuka detail */
.r69-validator-dot{cursor:pointer!important;background:#fff4d8!important;color:#9a6500!important;border:1px solid #ecd28e!important;font-size:9px!important;box-shadow:0 2px 5px rgba(120,82,0,.10)}
.r69-smart-head:hover .r69-validator-dot,.r69-validator-dot:hover{background:#ffeab6!important;color:#7a4e00!important;transform:scale(1.06)}
.r79-detail-row{cursor:pointer!important}.r79-detail-row:hover td{background:#eef8fc!important}.r79-detail-row td{transition:background .12s ease}
.r79-generic-detail{width:min(980px,calc(100vw - 24px))!important}
.r79-generic-detail .r72-detail-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:760px){.r79-generic-detail .r72-detail-grid{grid-template-columns:1fr}.r79-generic-detail .r72-detail-item.wide{grid-column:span 1}}

/* =========================================================
   V80 — BOD MATERIAL RELATION / VENDOR + TICKET MATERIAL
   Inside MONITORING HARIAN BOD • RELOKASI & MATERIAL
   ========================================================= */
.r80-rel-material{margin-top:13px;border:1px solid var(--dsb-border,#d8e3eb);border-radius:18px;background:linear-gradient(180deg,#fbfdff,#f6fafc);padding:13px;overflow:hidden}
.r80-rel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}.r80-rel-head>div{min-width:0}.r80-rel-head b{display:block;font-size:11px;letter-spacing:.04em;color:#153f5d}.r80-rel-head span{display:block;margin-top:4px;font-size:9px;line-height:1.45;color:#708697}.r80-rel-head .r30-btn{flex:0 0 auto}
.r80-rel-kpis{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin-bottom:10px}.r80-rel-kpis button{appearance:none;border:1px solid #dce6ed;background:#fff;border-radius:13px;padding:10px;text-align:left;color:#173e5b;cursor:pointer;min-height:82px;transition:.15s transform,.15s border-color,.15s box-shadow}.r80-rel-kpis button:hover{transform:translateY(-2px);border-color:#8fb5cd;box-shadow:0 9px 22px rgba(14,45,68,.08)}.r80-rel-kpis button.warn{background:#fff7ed;border-color:#efd1aa}.r80-rel-kpis span{display:block;font-size:8px;font-weight:900;letter-spacing:.06em;color:#698296}.r80-rel-kpis b{display:block;margin-top:4px;font-size:19px;color:#103a58}.r80-rel-kpis small{display:block;margin-top:4px;font-size:8px;line-height:1.35;color:#7b8f9e}
.r80-rel-table-wrap{overflow:auto;max-height:330px;border:1px solid #dfe8ee;border-radius:14px;background:#fff;scrollbar-gutter:stable both-edges;overscroll-behavior:contain}.r80-rel-table{border-collapse:separate;border-spacing:0;table-layout:fixed;width:1800px;min-width:1800px;font-size:9px}.r80-rel-table th,.r80-rel-table td{padding:9px 10px;border-right:1px solid #e5edf2;border-bottom:1px solid #e5edf2;text-align:left;vertical-align:top;background:#fff}.r80-rel-table th{position:sticky;top:0;z-index:3;background:#eef6f9;color:#173e5b;font-size:8.5px;font-weight:900;white-space:nowrap}.r80-rel-table th:nth-child(1),.r80-rel-table td:nth-child(1){width:120px}.r80-rel-table th:nth-child(2),.r80-rel-table td:nth-child(2){width:135px}.r80-rel-table th:nth-child(3),.r80-rel-table td:nth-child(3){width:135px}.r80-rel-table th:nth-child(4),.r80-rel-table td:nth-child(4){width:135px}.r80-rel-table th:nth-child(5),.r80-rel-table td:nth-child(5){width:120px}.r80-rel-table th:nth-child(6),.r80-rel-table td:nth-child(6){width:190px}.r80-rel-table th:nth-child(7),.r80-rel-table td:nth-child(7){width:90px}.r80-rel-table th:nth-child(8),.r80-rel-table td:nth-child(8){width:300px}.r80-rel-table th:nth-child(9),.r80-rel-table td:nth-child(9){width:330px}.r80-rel-table th:nth-child(10),.r80-rel-table td:nth-child(10){width:125px}.r80-rel-table tr:last-child td{border-bottom:0}.r80-rel-table th:last-child,.r80-rel-table td:last-child{border-right:0}.r80-rel-table tbody tr{cursor:pointer}.r80-rel-table tbody tr:hover td{background:#eef8fc}.r80-empty{text-align:center!important;color:#75899a!important;padding:20px!important}.r80-rel-more{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:9px;padding-top:9px;border-top:1px solid #e5edf2}.r80-rel-more span{font-size:8.5px;color:#72889a}
html[data-dsb-skin="dark"] .r80-rel-material{background:#f7fbfd!important;border-color:#355063!important}.r69-modal-materialrelation{width:min(1560px,96vw)!important;max-height:92dvh!important}.r69-modal-materialrelation .r30-table-wrap{max-height:72dvh!important;overflow:auto!important;scrollbar-gutter:stable both-edges}
@media(max-width:1250px){.r80-rel-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){.r80-rel-material{padding:10px;border-radius:15px}.r80-rel-head{flex-direction:column}.r80-rel-kpis{grid-template-columns:1fr 1fr}.r80-rel-more{align-items:flex-start;flex-direction:column}.r80-rel-more .r30-btn{width:100%}}


/* V81 — BOD live SYS_DOKUMEN_BILLING */
.r81-billing-panel{margin-top:14px;background:var(--dsb-card,#fff);border:1px solid var(--dsb-border,#d7e3eb);border-radius:22px;padding:15px 16px;box-shadow:0 10px 30px rgba(15,23,42,.055)}
.r81-billing-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.r81-billing-head h2{margin:0;font-size:15px;color:var(--dsb-text,#103954)}.r81-billing-head p{margin:4px 0 0;font-size:9px;line-height:1.5;color:var(--dsb-muted,#668195)}.r81-billing-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.r81-billing-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.r81-bill-kpi{appearance:none;text-align:left;border:1px solid var(--dsb-border,#d7e3eb);background:var(--dsb-soft,#eef6fb);border-radius:14px;padding:11px 12px;color:var(--dsb-text,#103954);cursor:pointer;transition:.16s transform,.16s box-shadow,.16s border-color}.r81-bill-kpi:hover{transform:translateY(-2px);box-shadow:0 10px 22px rgba(14,45,68,.09);border-color:#8eb5cd}.r81-bill-kpi span{display:block;font-size:8px;font-weight:900;letter-spacing:.05em;color:var(--dsb-muted,#668195)}.r81-bill-kpi b{display:block;margin-top:4px;font-size:17px;line-height:1.15}.r81-bill-kpi small{display:block;margin-top:4px;font-size:8px;color:var(--dsb-muted,#668195);line-height:1.35}.r81-bill-kpi.ready{background:#edf8ff;border-color:#bad9eb}.r81-bill-kpi.paid{background:#eefaf3;border-color:#bfe0cc}.r81-bill-kpi.warn{background:#fff8eb;border-color:#ebd29f}
.r81-billing-table-wrap{margin-top:11px;border:1px solid var(--dsb-border,#d7e3eb);border-radius:16px;overflow:auto;scrollbar-gutter:stable}.r81-billing-table{width:100%;min-width:1320px;border-collapse:separate;border-spacing:0;table-layout:fixed}.r81-billing-table th,.r81-billing-table td{padding:9px 10px;border-right:1px solid var(--dsb-border,#e1e9ef);border-bottom:1px solid var(--dsb-border,#e1e9ef);font-size:9px;text-align:left;vertical-align:top;background:var(--dsb-card,#fff)}.r81-billing-table th{position:sticky;top:0;z-index:2;background:var(--dsb-soft,#eef6fb);font-weight:900;white-space:nowrap}.r81-billing-table tr:last-child td{border-bottom:0}.r81-billing-table th:last-child,.r81-billing-table td:last-child{border-right:0}.r81-billing-table tbody tr{cursor:pointer}.r81-billing-table tbody tr:hover td{background:#eef8fc!important}.r81-billing-more{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:9px;font-size:9px;color:var(--dsb-muted,#668195)}.r81-billing-foot{margin-top:9px;padding:8px 10px;border-radius:11px;background:var(--dsb-soft,#eef6fb);font-size:8px;color:var(--dsb-muted,#668195)}
.r69-modal-billing{width:min(1540px,96vw)!important;max-height:92dvh!important}.r69-modal-billing .r30-table-wrap{max-height:70dvh;overflow:auto;scrollbar-gutter:stable both-edges}.r69-modal-billing table{min-width:2600px!important;table-layout:fixed}
@media(max-width:980px){.r81-billing-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.r81-billing-panel{padding:11px;border-radius:17px}.r81-billing-head{flex-direction:column}.r81-billing-actions{justify-content:flex-start}.r81-billing-kpis{grid-template-columns:1fr 1fr}.r81-bill-kpi b{font-size:15px}.r81-billing-more{align-items:flex-start;flex-direction:column}.r69-modal-billing{width:100%!important}}


/* V82 — BOD Production Billing Progress ↔ SYS_DOKUMEN_BILLING */
.r82-prod-panel{margin-top:14px;background:var(--dsb-card,#fff);border:1px solid var(--dsb-border,#d7e3eb);border-radius:22px;padding:16px;box-shadow:0 10px 30px rgba(15,23,42,.055)}
.r82-prod-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.r82-prod-head h2{margin:0;font-size:16px;color:var(--dsb-text,#103954)}.r82-prod-head p{margin:4px 0 0;font-size:9px;color:var(--dsb-muted,#668195)}
.r82-prod-kpis{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.r82-prod-kpi{appearance:none;text-align:left;border:1px solid var(--dsb-border,#d7e3eb);border-radius:14px;background:var(--dsb-soft,#f5f9fc);padding:10px 11px;color:var(--dsb-text,#103954);cursor:pointer;transition:.15s transform,.15s box-shadow,.15s border-color}.r82-prod-kpi:hover{transform:translateY(-2px);box-shadow:0 9px 22px rgba(15,23,42,.08);border-color:#8fb4cc}.r82-prod-kpi span{display:block;font-size:8px;font-weight:900;letter-spacing:.05em;color:var(--dsb-muted,#668195)}.r82-prod-kpi b{display:block;font-size:18px;margin-top:4px}.r82-prod-kpi small{display:block;font-size:7.5px;margin-top:4px;color:var(--dsb-muted,#668195);line-height:1.3}.r82-prod-kpi.done{background:#eef9f3}.r82-prod-kpi.partial,.r82-prod-kpi.ready{background:#fff8e9}.r82-prod-kpi.warn{background:#fff0f0;border-color:#efc2c2}
.r82-prod-flow{display:grid;grid-template-columns:auto 1fr;gap:5px 10px;align-items:center;margin-top:12px;padding:10px 12px;border:1px dashed var(--dsb-border,#cbdbe6);border-radius:13px;background:color-mix(in srgb,var(--dsb-soft,#eef6fb) 70%,transparent)}.r82-prod-flow span{font-size:8px;font-weight:900;color:#0b668f}.r82-prod-flow b{font-size:9px;color:var(--dsb-text,#103954)}.r82-prod-flow i{grid-column:2;font-style:normal;font-size:8px;color:var(--dsb-muted,#668195)}
.r82-prod-table-wrap{margin-top:12px;overflow:auto;max-height:48dvh;scrollbar-gutter:stable both-edges;border:1px solid var(--dsb-border,#d7e3eb);border-radius:15px}.r82-prod-table{width:1450px;min-width:1450px;border-collapse:separate;border-spacing:0;table-layout:fixed}.r82-prod-table th,.r82-prod-table td{padding:9px 10px;border-bottom:1px solid var(--dsb-border,#e3ebf1);font-size:9px;text-align:left;background:var(--dsb-card,#fff);vertical-align:top}.r82-prod-table th{position:sticky;top:0;z-index:2;background:var(--dsb-soft,#eef6fb);font-size:8px;white-space:nowrap}.r82-prod-table th:nth-child(1){width:180px}.r82-prod-table th:nth-child(2){width:440px}.r82-prod-table th:nth-child(3),.r82-prod-table th:nth-child(4),.r82-prod-table th:nth-child(5){width:90px}.r82-prod-table th:nth-child(6){width:150px}.r82-prod-table th:nth-child(7){width:110px}.r82-prod-table th:nth-child(8){width:180px}.r82-prod-table tr{cursor:pointer}.r82-prod-table tr:hover td{background:#eef8fc!important}
.r69-modal-billingprogress{width:min(1560px,96vw)!important;max-height:92dvh!important}
@media(max-width:1250px){.r82-prod-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:760px){.r82-prod-head{flex-direction:column}.r82-prod-kpis{grid-template-columns:1fr 1fr}.r82-prod-flow{grid-template-columns:1fr}.r82-prod-flow i{grid-column:auto}.r82-prod-panel{padding:12px;border-radius:18px}}@media(max-width:430px){.r82-prod-kpis{grid-template-columns:1fr}}


/* =========================================================
   V83 — VIEWER FMI: BAGAN ORIGINAL BOD
   The external viewer reuses the exact BOD flow tree. Only viewer
   permissions/data masking remain active; layout is not simplified.
   ========================================================= */
.r72-external-shell .r83-viewer-original-bagan.r71-flow-panel{
  width:100%!important;
  overflow:hidden!important;
}
.r72-external-shell .r83-viewer-original-bagan .r71-flow-board{
  width:100%!important;
  overflow:hidden!important;
}
.r72-external-shell .r83-viewer-original-bagan .r71-flow-tree{
  width:100%!important;
  max-width:1460px!important;
  margin:0 auto!important;
}
.r72-external-shell .r83-viewer-original-bagan .r71-flow-row.row3{padding:0 12%!important}
.r72-external-shell .r83-viewer-original-bagan .r71-flow-row.row4{padding:0 1.5%!important}
.r72-external-shell .r83-viewer-original-bagan .r71-flow-row.row2{gap:18%!important}
.r72-external-shell .r83-viewer-original-bagan .r71-flow-row.row5{padding:0!important}
@media(max-width:1180px){
  .r72-external-shell .r83-viewer-original-bagan .r71-flow-row.row3{padding:0 5%!important}
}
@media(max-width:900px){
  .r72-external-shell .r83-viewer-original-bagan .r71-flow-row.row3,
  .r72-external-shell .r83-viewer-original-bagan .r71-flow-row.row4,
  .r72-external-shell .r83-viewer-original-bagan .r71-flow-row.row5,
  .r72-external-shell .r83-viewer-original-bagan .r71-flow-row.row2{padding:0!important;gap:12px!important}
}
