@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Noto+Sans+JP:wght@400;500;600;700&display=swap');
:root{font-family:Inter,'Noto Sans JP',sans-serif;color:#172033;background:#f5f7fb}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}.app{display:flex;min-height:100vh}aside{position:fixed;inset:0 auto 0 0;width:254px;background:#fff;border-right:1px solid #e8edf5;display:flex;flex-direction:column;z-index:10}.brand{height:72px;padding:0 24px;display:flex;align-items:center;gap:11px;font-weight:800;color:#1f4b9a;letter-spacing:.06em}.brand>span,.mark{display:grid;place-items:center;width:34px;height:34px;background:linear-gradient(135deg,#1764db,#3b82f6);border-radius:10px;color:#fff;font-size:20px;box-shadow:0 7px 16px #2563eb35}.brand button{display:none;margin-left:auto;border:0;background:none}.org{margin:10px 16px 19px;padding:11px;border:1px solid #e5eaf2;border-radius:12px;display:flex;align-items:center;gap:10px}.org>span,.avatar{width:34px;height:34px;border-radius:9px;background:#e9f1ff;color:#2363c9;display:grid;place-items:center;font-weight:700}.org div{min-width:0}.org b,.org small{display:block;font-size:12px}.org small{color:#78849a;margin-top:3px}.org svg{width:11px}nav{padding:0 12px;overflow:auto;flex:1}nav button{width:100%;height:43px;padding:0 12px;border:0;background:transparent;border-radius:9px;color:#647087;display:flex;align-items:center;gap:12px;font-size:13px;font-weight:500;margin:3px 0;text-align:left}nav button svg{width:19px}nav button:hover{background:#f4f7fb;color:#1f4b9a}nav button.active{background:#eaf2ff;color:#1d5fc6;font-weight:700}nav em{font-style:normal;margin-left:auto;background:#f05b69;color:#fff;border-radius:20px;padding:2px 7px;font-size:10px}.aside-foot{border-top:1px solid #edf0f5;padding:17px 18px;display:flex;align-items:center;gap:10px}.aside-foot>div:nth-child(2){flex:1}.aside-foot b,.aside-foot small{display:block;font-size:12px}.aside-foot small{color:#8390a3;margin-top:3px}.aside-foot button,.head-actions button{background:none;border:0;color:#758096}.aside-foot svg{width:18px}main{margin-left:254px;width:calc(100% - 254px)}header{height:72px;background:#fff;border-bottom:1px solid #e8edf5;padding:0 32px;display:flex;align-items:center;justify-content:space-between}.crumb{font-size:12px;color:#909aad}.crumb b{color:#465267}.head-actions{display:flex;align-items:center;gap:13px;color:#7b8798;font-size:12px}.period-chip{display:inline-flex;align-items:center;gap:4px;height:36px;padding:0 13px;border:1px solid #dbe7f6;border-radius:999px;background:#f7fbff;color:#48617f;font-size:12px;font-weight:800;white-space:nowrap}.head-actions button{position:relative}.head-actions svg{width:19px}.head-actions i{position:absolute;width:6px;height:6px;border-radius:50%;background:#f04e63;right:4px;top:2px}.hamb{display:none;border:0;background:none}.content{max-width:1480px;margin:auto;padding:32px 34px 54px}.title-row{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:25px}.title-row h1{margin:6px 0 5px;font-size:25px;letter-spacing:-.04em}.title-row p,.card-head p{margin:0;color:#8490a3;font-size:12px}.eyebrow{font-size:10px;color:#3970c7;font-weight:700;letter-spacing:.14em}.secondary{height:39px;padding:0 14px;border:1px solid #dfe5ee;background:#fff;border-radius:9px;color:#59677d;font-size:12px}.secondary svg{width:14px;vertical-align:middle}.primary{height:41px;border:0;border-radius:9px;background:#2468d6;color:#fff;padding:0 17px;font-weight:600;font-size:12px;box-shadow:0 5px 12px #2468d62b}.primary svg{width:16px;vertical-align:middle;margin-right:5px}.primary:hover{background:#1858bd}.kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:18px}.kpi{background:#fff;border:1px solid #e7ecf3;border-radius:12px;padding:20px;display:flex;gap:13px;box-shadow:0 3px 12px #1b3e7108}.kicon{width:42px;height:42px;border-radius:10px;background:#e9f1ff;color:#276bd3;display:grid;place-items:center}.kicon svg{width:20px}.kicon.cyan{background:#e8f8fb;color:#1696aa}.kicon.green{background:#eaf8f1;color:#18a06a}.kicon.orange{background:#fff2e6;color:#e08432}.kpi>div:last-child{flex:1}.kpi span,.kpi strong,.kpi em{display:block}.kpi span{font-size:11px;color:#8390a2;margin-bottom:6px}.kpi strong{font-size:20px}.kpi em{font-style:normal;font-size:10px;color:#16a06a;margin-top:5px}.dash-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(280px,.75fr);gap:18px;margin-bottom:18px}.dash-grid.lower{grid-template-columns:1fr 1fr}.card{background:#fff;border:1px solid #e5eaf1;border-radius:13px;box-shadow:0 3px 14px #1c396508}.chart,.tasks,.recent{padding:20px}.card-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.card-head h3{font-size:14px;margin:0 0 5px}.task{display:flex;align-items:center;padding:11px 0;border-bottom:1px solid #f0f2f6;gap:10px}.task>span{width:33px;height:33px;border-radius:9px;display:grid;place-items:center;font-weight:700;background:#fff5df;color:#d79518}.task>span.blue{background:#e9f1ff;color:#2365cb}.task>span.purple{background:#f0edff;color:#785bd2}.task>span.red{background:#ffebed;color:#dd5360}.task div{flex:1}.task b,.task small,.activity b,.activity small{display:block;font-size:11px}.task small,.activity small{color:#909bad;margin-top:3px}.task strong{font-size:12px}.activity{display:flex;align-items:center;gap:10px;padding:15px 0;border-bottom:1px solid #f0f2f6}.activity>span{color:#e5a224}.activity>span.ok{color:#19a06d}.activity svg{width:18px}.activity div{flex:1}.activity time{font-size:10px;color:#9ca5b4}.filterbar{background:#fff;border:1px solid #e5eaf1;border-radius:11px;padding:12px;margin-bottom:15px;display:flex;gap:10px}.filterbar select,.form-card select,.form-card input{height:37px;border:1px solid #dfe5ee;border-radius:8px;padding:0 12px;background:#fff;color:#536177}.saved{margin-left:auto;align-self:center;color:#1b9a69;font-size:11px}.saved svg{width:15px;vertical-align:middle}.table-card{overflow:hidden}.table-card>.card-head{padding:18px 20px 0}table{width:100%;border-collapse:collapse;font-size:12px}th{text-align:left;color:#7e899a;background:#f8f9fb;font-size:10px;font-weight:600;padding:11px 17px;border-bottom:1px solid #e8ecf2}td{padding:14px 17px;border-bottom:1px solid #edf0f4;color:#4c586b}tbody tr:last-child td{border-bottom:0}tbody tr:hover td{background:#fbfcfe}tr.total td{font-weight:700;background:#f1f6ff}.pill,.status{display:inline-block;border-radius:20px;padding:4px 9px;background:#edf3ff;color:#2e68bd;font-size:10px}.status.s0{background:#fff1da;color:#c47b0b}.status.s1{background:#e8f8f0;color:#15885b}.status.s2{background:#e9f1ff;color:#2463c6}.flow{display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid #e5eaf1;border-radius:12px;padding:18px;margin-bottom:17px}.flow>div{font-size:11px;color:#9ba5b3}.flow>div span{display:inline-grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#edf0f4;margin-right:7px}.flow>div.active{color:#2363c9;font-weight:600}.flow>div.active span{background:#286bd5;color:#fff}.flow>b{color:#c5ccd6;margin:0 25px}.float{float:right;margin-top:15px}.searchbox{position:relative;justify-content:flex-start}.searchbox svg{position:absolute;left:31px;width:16px;color:#8c97a7}.searchbox input{height:37px;width:270px;border:1px solid #dfe5ee;border-radius:8px;padding-left:35px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.form-card{padding:22px}.form-card h3{font-size:14px;margin:0 0 20px;display:flex;align-items:center;gap:8px}.form-card h3 svg{width:18px;color:#3470ce}.form-card>p{font-size:11px;color:#7d899b}.form-help{font-size:12px;color:#7d899b;margin:12px 0 0}.notice-card.compact{padding:10px 12px;margin:10px 0;font-size:12px}.form-card label:not(.toggle){display:block;font-size:11px;color:#647187;margin:15px 0}.form-card label input,.form-card label select{display:block;width:100%;margin-top:7px}.connection{padding:13px;background:#f7f9fc;border-radius:10px;display:flex;align-items:center;gap:11px}.connection>span:first-child{width:35px;height:35px;border-radius:8px;display:grid;place-items:center;background:#fff;color:#3372d0;font-weight:700}.connection div{flex:1}.connection b,.connection small{display:block;font-size:11px}.connection small{color:#8d98aa;margin-top:3px}.toggle{display:flex;align-items:center;justify-content:space-between;padding:13px 0;border-bottom:1px solid #edf0f4;font-size:11px}.toggle input{display:none}.toggle span{width:36px;height:20px;border-radius:20px;background:#ccd3dd;position:relative}.toggle span:after{content:'';position:absolute;width:16px;height:16px;left:2px;top:2px;background:#fff;border-radius:50%;transition:.2s}.toggle input:checked+span{background:#286bd5}.toggle input:checked+span:after{left:18px}.userrow{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid #edf0f4}.userrow>span{width:35px;height:35px;border-radius:50%;display:grid;place-items:center;background:#eaf1fc;color:#2666c9;font-weight:700}.userrow div{flex:1}.userrow b,.userrow small{display:block;font-size:11px}.userrow small{color:#8995a6;margin-top:3px}.userrow select{width:180px}.login{min-height:100vh;display:grid;grid-template-columns:1.05fr .95fr;background:#fff}.login-art{background:linear-gradient(145deg,#123b82,#1767d6 60%,#2783e8);color:#fff;padding:58px 9%;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.login-art:after{content:'';position:absolute;width:500px;height:500px;border:1px solid #ffffff24;border-radius:50%;right:-190px;bottom:-130px;box-shadow:0 0 0 80px #ffffff0b,0 0 0 160px #ffffff08}.login-art h1{font-size:44px;line-height:1.35;margin:20px 0}.login-art p{color:#d3e2fa;line-height:1.9;font-size:13px}.light{color:#bed6fc}.login-mini{z-index:1;width:265px;padding:20px;background:#ffffff14;border:1px solid #ffffff2a;backdrop-filter:blur(10px);border-radius:14px}.login-mini b,.login-mini strong,.login-mini span{display:block}.login-mini b{font-size:11px;color:#d4e3fa}.login-mini strong{font-size:24px;margin:9px 0}.login-mini span{font-size:11px;color:#96efcb}.login-form{display:grid;place-items:center;padding:40px}.login-form form{width:min(370px,100%)}.login-form h2{font-size:29px;margin:11px 0 7px}.login-form form>p{font-size:12px;color:#8c97a7;margin-bottom:30px}.login-form label{display:block;font-size:11px;color:#5d697c;font-weight:600;margin:18px 0}.login-form input{display:block;width:100%;height:45px;border:1px solid #dce2ea;border-radius:9px;padding:0 13px;margin-top:8px;outline:none}.login-form input:focus{border-color:#3b7bdc;box-shadow:0 0 0 3px #3b7bdc18}.password{position:relative}.password input{padding-right:45px}.password button{position:absolute;right:8px;top:12px;border:0;background:none;color:#8994a4}.password svg{width:18px}.wide{width:100%;height:45px;margin-top:7px}.or{display:flex;align-items:center;gap:12px;color:#a1a9b5;font-size:10px;margin:21px 0}.or span{height:1px;background:#e5e8ed;flex:1}.google{width:100%;height:43px;border:1px solid #dce2ea;border-radius:9px;background:#fff;color:#566276}.google b{font-size:17px;color:#4285f4;margin-right:8px}.login-form small{display:block;text-align:center;color:#a0a8b4;margin-top:20px}.error{padding:10px;background:#fff0f1;color:#c94e5a;border-radius:8px;font-size:11px}.mobile{display:none}
@media(max-width:980px){.kpis{grid-template-columns:1fr 1fr}.dash-grid,.dash-grid.lower{grid-template-columns:1fr}.settings-grid{grid-template-columns:1fr}.flow>b{margin:0 8px}.flow>div{font-size:0}.flow>div span{font-size:11px;margin:0}.login{grid-template-columns:1fr}.login-art{display:none}.mobile{display:flex;padding:0;margin-bottom:50px}.login-form{min-height:100vh}}
@media(max-width:720px){aside{transform:translateX(-100%);transition:.2s;box-shadow:10px 0 30px #0002}aside.open{transform:none}.brand button{display:block}main{margin-left:0;width:100%}.hamb{display:block}.crumb{display:none}.content{padding:23px 16px}.title-row{align-items:flex-start}.title-row p{max-width:220px}.kpis{grid-template-columns:1fr}.head-actions span{display:none}.period-chip{display:none}header{padding:0 16px}.table-card{overflow-x:auto}table{min-width:680px}.filterbar{overflow:auto}.saved{white-space:nowrap}.flow{justify-content:space-between}.flow>b{margin:0}.title-row h1{font-size:22px}}
.upload-button{display:inline-flex;align-items:center;justify-content:center}.upload-button input,.file-select input{display:none}.ocr-layout{display:grid;grid-template-columns:minmax(360px,.9fr) minmax(400px,1.1fr);gap:18px;margin-bottom:18px}.drop-card{padding:18px}.dropzone{min-height:310px;border:2px dashed #cad8ea;border-radius:13px;background:linear-gradient(180deg,#f8fbff,#f4f8fe);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;transition:.2s}.dropzone:hover{border-color:#4380da;background:#f1f7ff}.upload-ring{width:58px;height:58px;border-radius:50%;background:#e5efff;color:#286bd5;display:grid;place-items:center}.upload-ring svg{width:24px}.dropzone h3{font-size:14px;margin:16px 0 6px}.dropzone p{font-size:11px;color:#8491a4;margin:0 0 16px}.dropzone.loading .upload-ring{animation:pulse 1s infinite}.progress{width:220px;height:5px;background:#dde6f2;border-radius:10px;overflow:hidden;margin:5px 0 18px}.progress i{display:block;height:100%;width:65%;background:linear-gradient(90deg,#286bd5,#53a4ef);border-radius:10px;animation:scan 1.1s infinite}.done-label{display:flex;align-items:center;gap:6px;color:#169766;background:#e7f7ef;border-radius:20px;padding:6px 11px;font-size:11px;margin-bottom:15px}.done-label svg{width:15px}.file-select{display:inline-flex;align-items:center}.storage-select{display:flex;align-items:center;gap:15px;padding:16px 2px 0}.storage-select>div{flex:1}.storage-select b,.storage-select small{display:block;font-size:11px}.storage-select small{color:#8995a6;margin-top:3px}.storage-select select{height:38px;border:1px solid #dfe5ee;border-radius:8px;background:#fff;padding:0 10px;color:#526075;font-size:11px}.ocr-result{padding:22px;animation:appear .3s ease}.result-head{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:18px}.result-head>div{display:flex;gap:10px}.result-head h3{font-size:14px;margin:1px 0 5px}.result-head p{font-size:10px;color:#8490a3;margin:0}.ai-badge{width:32px;height:32px;border-radius:9px;background:linear-gradient(135deg,#5b6ee1,#3aa3e7);color:#fff;display:grid;place-items:center;font-size:10px;font-weight:700}.confidence{color:#188f62;background:#e8f7ef;border-radius:20px;padding:5px 9px;font-size:9px}.ocr-result>label{display:block;font-size:10px;color:#69758a;margin:12px 0}.ocr-result>label>div{position:relative}.ocr-result input{width:100%;height:38px;border:1px solid #dfe5ee;border-radius:8px;margin-top:6px;padding:0 35px 0 11px;color:#344156}.ocr-result label svg{position:absolute;right:10px;top:15px;width:15px;color:#17a06a}.result-actions{display:flex;justify-content:flex-end;gap:8px;padding-top:8px}.history{margin-top:18px}@keyframes pulse{50%{transform:scale(1.08);box-shadow:0 0 0 12px #2c73da12}}@keyframes scan{from{transform:translateX(-100%)}to{transform:translateX(160%)}}@keyframes appear{from{opacity:0;transform:translateY(8px)}}
@media(max-width:980px){.ocr-layout{grid-template-columns:1fr}}
.brand-text{font-size:18px;letter-spacing:-.02em;color:#194f9e;text-transform:none}.login-simple{justify-content:center;align-items:center;text-align:center}.login-simple:after{right:-170px;bottom:-230px}.login-simple>div{z-index:1}.login-simple .login-pl{display:block;font-size:76px;line-height:1;font-weight:700;letter-spacing:-.06em;color:#fff}.login-simple h1{font-size:52px;line-height:1.1;margin:8px 0 24px;letter-spacing:-.05em}.login-simple p{font-size:15px;color:#dbeafe;letter-spacing:.08em}.excel-card{margin-top:20px;overflow:hidden}.excel-head{display:flex;align-items:center;justify-content:space-between;padding:17px 20px;border-bottom:1px solid #e5eaf1;background:#fff}.excel-head>div{display:flex;align-items:center;gap:11px}.excel-icon{width:32px;height:32px;border-radius:7px;background:#188c5b;color:#fff;display:grid;place-items:center;font-size:13px;font-weight:700}.excel-head h3{font-size:14px;margin:0 0 4px}.excel-head p,.excel-head>span{font-size:10px;color:#8290a3;margin:0}.excel-scroll{overflow:auto;max-height:680px;background:#fff}.excel-table{width:max-content;min-width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;font-family:'Noto Sans JP',sans-serif;font-size:11px}.excel-table td{min-width:82px;height:29px;padding:4px 7px;border:0;border-right:1px solid #d9dee7;border-bottom:1px solid #d9dee7;white-space:pre-wrap;color:#263246;background:#fff;text-align:right}.excel-table td:first-child{min-width:145px;text-align:left;position:sticky;left:0;z-index:2;background:#fff;box-shadow:1px 0 #cfd6e2}.excel-table td:nth-child(2){min-width:165px;text-align:left}.excel-table tr:first-child td{font-size:16px;font-weight:700;text-align:left;height:38px}.excel-table tr:nth-child(3) td,.excel-table tr:nth-child(4) td{font-weight:700;background:#eef3fa}.excel-table td.bold{font-weight:700}.excel-table td:empty{color:transparent}.setting-row{display:flex;align-items:center;gap:20px;padding:17px 0;border-bottom:1px solid #edf0f4}.setting-row:last-child{border-bottom:0}.setting-row>div{flex:1}.setting-row b,.setting-row small{display:block;font-size:11px}.setting-row small{color:#8c97a8;margin-top:4px}.switch{width:40px;height:23px;border:0;border-radius:20px;background:#cbd4e0;padding:2px;position:relative;flex:0 0 auto}.switch i{display:block;width:19px;height:19px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0003;transition:.2s}.switch.on{background:#2a6dd7}.switch.on i{transform:translateX(17px)}
@media(max-width:720px){.login-simple .login-pl{font-size:48px}.login-simple h1{font-size:36px}.excel-head>span{display:none}.excel-scroll{max-height:560px}.excel-table td{min-width:74px}.brand-text{font-size:16px}}
.login-simple h1{font-size:54px;white-space:nowrap;margin:0 0 22px;letter-spacing:-.045em}.login-simple p{margin:0}.excel-table.plain td,.excel-table.plain td:first-child,.excel-table.plain tr:first-child td,.excel-table.plain tr:nth-child(3) td,.excel-table.plain tr:nth-child(4) td{background:#fff!important;color:#263246!important}.excel-table.plain tr:first-child td{font-size:11px;height:31px}.excel-table.plain td:first-child{position:static;box-shadow:none}.section-label{display:flex;align-items:flex-end;justify-content:space-between;padding:18px 20px;border-bottom:1px solid #e5eaf1;background:#fff}.section-label h3{font-size:15px;margin:0}.section-label p{font-size:10px;color:#8591a3;margin:0}.monthly-blocks{display:grid;grid-template-columns:minmax(360px,.8fr) minmax(440px,1.2fr);gap:18px;align-items:start}.monthly-blocks .excel-card{margin-top:0}.monthly-detail{grid-column:1/-1}.monthly-detail .excel-scroll{max-height:620px}.split-stack{display:grid;gap:18px}.split-stack .excel-card{margin-top:0}.split-stack .excel-scroll{max-height:620px}.monthly-blocks .excel-table td{min-width:145px}.monthly-blocks .excel-table td:first-child{min-width:185px}.monthly-detail .excel-table td{min-width:128px}.monthly-detail .excel-table td:nth-child(2){min-width:210px}.split-stack .excel-table td{min-width:92px}.split-stack .excel-table td:first-child{min-width:120px}.split-stack .excel-table td:nth-child(2){min-width:175px}
@media(max-width:980px){.monthly-blocks{grid-template-columns:1fr}.monthly-detail{grid-column:auto}}
@media(max-width:720px){.login-simple h1{font-size:36px}.monthly-blocks .excel-table td{min-width:110px}}
.interactive td{padding:0;height:38px}.interactive td:not(.input-cell){padding:7px 9px}.interactive .input-cell{background:#f8fbff!important}.interactive .input-cell input,.interactive .input-cell select{width:100%;height:37px;border:0;background:transparent;padding:0 8px;color:#223047;font:inherit;outline:none}.interactive .input-cell input:focus,.interactive .input-cell select:focus{background:#eaf3ff;box-shadow:inset 0 0 0 2px #2b70d8}.interactive .check-cell{text-align:center}.interactive .check-cell input{width:16px;height:16px;accent-color:#286bd5}.interactive .calc-cell{background:#f3f5f8!important;color:#3d495b!important;font-weight:600}.auto-chip,.input-chip{display:inline-flex;align-items:center;border-radius:20px;padding:5px 9px;font-size:9px;font-weight:700}.auto-chip{background:#edf1f6;color:#627086}.input-chip{background:#e8f1ff;color:#2566ca}.sheet-selectors{margin-bottom:18px}.sheet-selectors .saved{color:#2970d4}.monthly-detail .interactive td:first-child{min-width:72px}.monthly-detail .interactive td:nth-child(3){min-width:145px}.monthly-detail .interactive td:nth-child(4){min-width:90px}.monthly-detail .interactive td:nth-child(7){min-width:110px}.monthly-detail .interactive td:nth-child(8){min-width:190px}
.excel-card{border-color:#e7ebf2;box-shadow:0 8px 24px #243b6410}.section-label,.excel-head{padding:18px 22px;background:#fff}.section-label h3,.excel-head h3{font-size:15px;letter-spacing:-.02em}.excel-table.interactive{border-collapse:separate;border-spacing:0;background:#fff}.excel-table.interactive td{border-right:0;border-bottom:1px solid #edf0f4;padding:9px 13px;height:42px}.excel-table.interactive tr:first-child td{background:#f6f8fb!important;color:#506078!important;font-size:10px;font-weight:700;box-shadow:0 1px 0 #e1e6ee}.excel-table.interactive tr:hover td{background:#f9fbfe!important}.excel-table.interactive td.input-cell{padding:4px 7px;background:#fff!important}.excel-table.interactive td.input-cell input,.excel-table.interactive td.input-cell select{height:34px;border:1px solid #e0e6ef;border-radius:7px;background:#fff;padding:0 9px;transition:.15s}.excel-table.interactive td.input-cell input:hover,.excel-table.interactive td.input-cell select:hover{border-color:#a9bfdf}.excel-table.interactive td.input-cell input:focus,.excel-table.interactive td.input-cell select:focus{background:#fff;box-shadow:0 0 0 3px #2b70d817;border-color:#2b70d8}.excel-table.interactive td.calc-cell{background:#f7f8fa!important;color:#4a5668!important}.excel-table.interactive td.bold{font-weight:700;color:#1f2c40}.monthly-blocks,.split-stack{gap:20px}.filterbar.sheet-selectors{border:0;box-shadow:0 5px 16px #253e6810;padding:14px}.filterbar.sheet-selectors select{min-width:140px;border-color:#e0e6ef;background:#f9fafc;font-weight:600}.auto-chip{background:#f0f2f5;color:#657185}.input-chip{background:#edf4ff;color:#2a68c5}
.add-row{height:34px;border:1px solid #d8e3f2;border-radius:8px;background:#f4f8ff;color:#2465c7;padding:0 11px;font-size:10px;font-weight:700}.add-row svg{width:14px;vertical-align:middle;margin-right:5px}.row-action{min-width:62px!important;text-align:center!important;color:#7b8798!important}.row-action button{width:29px;height:29px;border:0;border-radius:7px;background:transparent;color:#9aa5b5;display:grid;place-items:center;margin:auto}.row-action button:hover{background:#ffedef;color:#dc5260}.row-action svg{width:15px}.pl-web{margin-top:22px;overflow:hidden;box-shadow:0 8px 24px #243b6410}.pl-web-head{display:flex;align-items:flex-end;justify-content:space-between;padding:22px;border-bottom:1px solid #e7ebf2}.pl-web-head span{font-size:9px;letter-spacing:.14em;color:#3970c7;font-weight:700}.pl-web-head h2{font-size:18px;margin:6px 0 0}.pl-web-head label{font-size:10px;color:#768397}.pl-web-head select{display:block;min-width:190px;height:38px;margin-top:6px;border:1px solid #dfe5ee;border-radius:8px;background:#f8fafc;padding:0 10px;color:#36445b;font-weight:600}.pl-web .excel-scroll{max-height:680px}.pl-web .excel-table td:first-child{min-width:130px}.pl-web .excel-table td:nth-child(2){min-width:175px}.loading-row{padding:30px;color:#8490a3;font-size:11px}@media(max-width:720px){.pl-web-head{align-items:flex-start}.pl-web-head select{min-width:145px}}
.view-switch{display:inline-flex;padding:3px;background:#eef2f7;border-radius:9px;gap:2px}.view-switch button{height:30px;border:0;border-radius:7px;background:transparent;color:#758197;padding:0 11px;font-size:10px;font-weight:700}.view-switch button.active{background:#fff;color:#245fb9;box-shadow:0 1px 5px #263c6220}.section-actions,.pl-controls{display:flex;align-items:flex-end;gap:9px}.sheet-selectors>.view-switch{margin-left:auto}.clickable-row{cursor:pointer}.clickable-row:hover td{background:#f5f9ff!important}.drawer-backdrop{position:fixed;inset:0;background:#17203345;z-index:100;display:flex;justify-content:flex-end;animation:appear .2s}.detail-drawer{position:relative;inset:auto;width:min(480px,92vw);height:100vh;background:#fff;border:0;transform:none;display:flex;flex-direction:column;box-shadow:-15px 0 40px #15294d25;z-index:101}.drawer-head{display:flex;align-items:center;justify-content:space-between;padding:24px;border-bottom:1px solid #e8ecf2}.drawer-head span{font-size:9px;color:#2c68c4;font-weight:700;letter-spacing:.12em}.drawer-head h3{font-size:20px;margin:5px 0 0}.drawer-head button{border:0;background:#f1f4f8;border-radius:8px;width:34px;height:34px;color:#657287}.drawer-head svg{width:18px}.drawer-body{padding:22px 24px;overflow:auto;display:grid;grid-template-columns:1fr 1fr;gap:15px}.drawer-body>label{font-size:10px;color:#68758a}.drawer-body input,.drawer-body select{display:block;width:100%;height:40px;margin-top:7px;border:1px solid #dfe5ee;border-radius:8px;background:#fff;padding:0 10px;color:#344156}.drawer-body label:nth-child(5),.drawer-body label:nth-child(10){grid-column:1/-1}.drawer-checks{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:16px;padding:15px;background:#f7f9fc;border-radius:9px}.drawer-checks label{font-size:10px;color:#516076}.drawer-checks input{display:inline-block;width:15px;height:15px;margin:0 6px 0 0;vertical-align:middle;accent-color:#286bd5}.drawer-foot{margin-top:auto;border-top:1px solid #e8ecf2;padding:17px 24px;display:flex;align-items:center;justify-content:space-between}.danger-text{border:0;background:none;color:#d65260;font-size:10px}.pl-controls label{font-size:9px}.pl-controls label select{min-width:135px}.pl-controls .view-switch{margin-bottom:1px}@media(max-width:720px){.section-actions{align-items:flex-end;flex-direction:column}.pl-web-head{gap:15px;flex-direction:column}.pl-controls{width:100%;flex-wrap:wrap}.drawer-body{grid-template-columns:1fr}.drawer-body label:nth-child(5),.drawer-body label:nth-child(10){grid-column:auto}}
.locked-row td{background:#f8fafc!important;color:#748095!important}.lock-chip{display:inline-flex;align-items:center;justify-content:center;border-radius:20px;background:#edf1f6;color:#657185;padding:4px 8px;font-size:9px;font-weight:700}.title-row .secondary svg{width:14px;vertical-align:middle;margin-right:5px}
.master-tabs{display:flex;gap:0;border-bottom:1px solid #d8dee8;margin:-8px 0 18px}.master-tabs button{height:42px;border:0;border-bottom:3px solid transparent;background:#fff;color:#263246;padding:0 18px;font-size:14px;font-weight:700}.master-tabs button.active{border-color:#2470d8;color:#1764cb;background:#f8fbff}.master-table{overflow:auto}.master-table table{min-width:1500px}.master-table td input,.master-table td select{width:100%;height:34px;border:1px solid #dfe5ee;border-radius:7px;background:#fff;padding:0 9px;color:#344156}.master-table th:first-child,.master-table td:first-child{width:64px;text-align:center}.master-table th:nth-child(2),.master-table td:nth-child(2){min-width:190px}.master-table th:nth-child(3),.master-table td:nth-child(3){min-width:145px}.master-table th:nth-child(8),.master-table td:nth-child(8){min-width:150px}
.ocr-layout.simple{grid-template-columns:minmax(360px,.75fr) minmax(560px,1.25fr)}.ocr-layout.simple .dropzone{min-height:260px}.ocr-app-grid{display:grid;grid-template-columns:minmax(320px,.65fr) minmax(520px,1.35fr);gap:18px;align-items:start}.ocr-result.always{display:block}.table-card.master-table .section-label{position:sticky;left:0;z-index:1}.table-card.master-table th{white-space:nowrap}.table-card.master-table td{vertical-align:middle}

table{border-collapse:separate;border-spacing:0;border:1px solid #d8e1ee;border-radius:10px;overflow:hidden;background:#fff}
th{background:#eaf2ff;color:#254b80;border-right:1px solid #cfdced;border-bottom:1px solid #c4d3e7;font-weight:800}
td{border-right:1px solid #e0e7f1;border-bottom:1px solid #e6ecf5}
th:last-child,td:last-child{border-right:0}
tbody tr:nth-child(even) td{background:#fbfdff}
tbody tr:hover td{background:#f5f9ff}
.table-card table{border-left:0;border-right:0;border-radius:0}
.excel-table.plain,.excel-table.interactive{border:1px solid #d8e1ee;border-radius:0}
.excel-table.plain td,.excel-table.interactive td{border-right:1px solid #dce5f1!important;border-bottom:1px solid #e3eaf4!important}
.excel-table.plain tr:first-child td,.excel-table.interactive tr:first-child td{background:#eaf2ff!important;color:#254b80!important;font-weight:800!important;border-bottom:1px solid #c4d3e7!important}
.synced-table-scroll{min-width:0}.excel-scroll-top{height:16px;overflow-x:auto;overflow-y:hidden;border-top:1px solid #d8e1ee;border-bottom:1px solid #d8e1ee;background:#f7faff}.excel-scroll-top>div{height:1px}.excel-scroll-top::-webkit-scrollbar,.excel-scroll::-webkit-scrollbar,.summary-scroll::-webkit-scrollbar,.master-table::-webkit-scrollbar{height:12px;width:12px}.excel-scroll-top::-webkit-scrollbar-thumb,.excel-scroll::-webkit-scrollbar-thumb,.summary-scroll::-webkit-scrollbar-thumb,.master-table::-webkit-scrollbar-thumb{background:#b9c7da;border-radius:999px;border:3px solid #f7faff}.excel-scroll-top::-webkit-scrollbar-track,.excel-scroll::-webkit-scrollbar-track,.summary-scroll::-webkit-scrollbar-track,.master-table::-webkit-scrollbar-track{background:#f7faff}.excel-scroll{overflow:auto}.excel-table.plain tr:first-child td,.excel-table.interactive tr:first-child td{position:sticky;top:0;z-index:4}.excel-table.plain tr:first-child td:first-child,.excel-table.interactive tr:first-child td:first-child{z-index:5}.table-card th,.master-table th,.summary-table th{position:sticky;top:0;z-index:4}.summary-table th:first-child{z-index:6}.summary-table td:first-child{z-index:3}
.excel-table.plain tr:nth-child(even) td,.excel-table.interactive tr:nth-child(even) td{background:#fbfdff!important}
.excel-table.interactive td.input-cell{background:#fff!important}
.excel-table.interactive tr:first-child td.input-cell{background:#eaf2ff!important}
.excel-table.interactive td.calc-cell{background:#f3f7fc!important}
.master-table table{min-width:1350px}
.org-split{margin-bottom:10px}
.org-split small{display:block}
.sidebar-selects{margin:0 16px 18px;display:grid;gap:9px}
.sidebar-selects label{display:block;font-size:10px;color:#6f7d92;font-weight:700}
.sidebar-selects select{width:100%;height:34px;margin-top:5px;border:1px solid #dfe7f2;border-radius:9px;background:#f8fbff;color:#24344d;padding:0 9px;font-size:12px;font-weight:700}
.head-actions .header-add{height:36px;padding:0 13px;border:1px solid #cfe0f8;border-radius:9px;background:#edf5ff;color:#2165c9;font-weight:800;display:flex;align-items:center;gap:6px}
.head-actions .header-add svg{width:15px}
.create-choice{display:grid;grid-template-columns:repeat(2,minmax(260px,1fr));gap:18px}
.create-card{border:1px solid #dfe8f5;background:#fff;text-align:left;padding:24px;min-height:170px;display:flex;flex-direction:column;gap:10px;transition:.15s}
.create-card:hover{border-color:#2d70d8;box-shadow:0 12px 28px #1e4f9618;transform:translateY(-1px)}
.create-card span{width:max-content;border-radius:20px;background:#eaf2ff;color:#2366ca;padding:6px 10px;font-size:11px;font-weight:800}
.create-card b{font-size:20px;color:#142033}
.create-card small{font-size:12px;line-height:1.8;color:#75849a}
.wizard{display:grid;grid-template-columns:230px minmax(0,1fr);gap:18px;align-items:start}
.wizard-steps{position:sticky;top:90px;background:#fff;border:1px solid #e2e9f3;border-radius:13px;padding:10px;display:grid;gap:6px}
.wizard-steps button{height:42px;border:0;border-radius:9px;background:transparent;color:#68768b;text-align:left;padding:0 10px;font-size:12px;font-weight:700}
.wizard-steps button span{display:inline-grid;place-items:center;width:23px;height:23px;margin-right:8px;border-radius:50%;background:#eef2f7;color:#78869a;font-size:10px}
.wizard-steps button.active{background:#eaf2ff;color:#1f63c7}
.wizard-steps button.active span,.wizard-steps button.done span{background:#276bd7;color:#fff}
.wizard-body{min-height:430px}
.wizard-body .check-row{display:flex!important;align-items:center;gap:10px;padding:12px 14px;border:1px solid #e3eaf4;border-radius:10px;background:#fbfdff;font-size:12px!important;color:#344156!important}
.wizard-body .check-row input{width:16px!important;height:16px!important;margin:0!important;accent-color:#286bd5}
.wizard-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px;padding-top:18px;border-top:1px solid #edf1f6}
@media(max-width:720px){.create-choice{grid-template-columns:1fr}.wizard{grid-template-columns:1fr}.wizard-steps{position:static}.head-actions .header-add{font-size:0;padding:0 10px}.head-actions .header-add svg{margin:0}}

.nav-group{height:32px;padding:8px 12px 4px;color:#8a96a8;font-size:10px;font-weight:800;letter-spacing:.05em;display:flex;align-items:center;gap:10px}.nav-group svg{width:16px}nav button.child{height:36px;margin-left:22px;width:calc(100% - 22px);font-size:12px}.notice-card{margin:0 0 16px;padding:13px 16px;border:1px solid #cfe0fa;background:#f6f9ff;border-radius:12px;color:#3d5f95;font-size:12px;line-height:1.7}.notice-card.success{border-color:#bfe9d2;background:#f1fbf6;color:#16724d}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.wide-field{grid-column:1/-1}.expense-form textarea,.form-card textarea{display:block;width:100%;min-height:94px;margin-top:7px;border:1px solid #dfe5ee;border-radius:8px;padding:10px 12px;resize:vertical;color:#344156}.mini-select{height:34px;border:1px solid #d8e3f2;border-radius:8px;background:#fff;color:#516177;padding:0 10px;font-size:10px;font-weight:700}@media(max-width:720px){.form-grid{grid-template-columns:1fr}nav button.child{margin-left:12px;width:calc(100% - 12px)}}
nav button.disabled,nav button:disabled{opacity:.55;cursor:not-allowed;color:#9aa5b5}nav button.disabled:hover,nav button:disabled:hover{background:transparent;color:#9aa5b5}nav em.soon{background:#edf1f6;color:#657185}

.cost-summary-card{margin-bottom:18px;overflow:hidden}.summary-scroll{overflow:auto;border-top:1px solid #dbe5f2}.summary-table{min-width:1320px}.summary-table th{background:#eaf2ff;color:#244a7f;border-right:1px solid #d5e2f3;text-align:right}.summary-table th:first-child{text-align:left;position:sticky;left:0;z-index:1}.summary-table td{font-variant-numeric:tabular-nums;text-align:right;border-right:1px solid #edf1f6}.summary-table td:first-child{font-weight:700;text-align:left;background:#fbfdff;position:sticky;left:0}.summary-table tbody tr:nth-child(even) td{background:#fcfdff}.summary-table tr.rate-row td{background:#f8fbff;color:#42617f}.summary-table tr.rate-row td:first-child{background:#f0f6ff;color:#244a7f}

.gas-ocr{height:calc(100vh - 120px);min-height:720px;background:#f5f5f7;border:1px solid #dfe5ee;border-radius:14px;overflow:hidden;display:flex;flex-direction:column;color:#1d1d1f}.gas-topbar{height:50px;background:#fff;border-bottom:1px solid #d2d2d7;display:flex;align-items:center;gap:12px;padding:0 18px;flex-shrink:0}.gas-topbar b{font-size:15px}.gas-topbar span{font-size:12px;color:#86868b;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gas-center{flex:1;display:flex;justify-content:center;align-items:flex-start;padding:24px;overflow:auto}.gas-setup{width:min(470px,100%);padding:28px}.gas-setup h2{font-size:20px;margin:0 0 18px}.gas-setup h3{font-size:14px;margin:18px 0 10px}.gas-setup label{display:block;font-size:11px;color:#555;font-weight:700;margin:13px 0}.gas-setup select,.gas-setup input{display:block;width:100%;height:38px;margin-top:6px;border:1px solid #d2d2d7;border-radius:8px;background:#fff;padding:0 10px}.gas-setup hr{border:0;border-top:1px solid #e5e5ea;margin:22px 0 16px}.gas-form-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.fake-select{min-height:40px;background:#f5f5f7;border:1px solid #d2d2d7;border-radius:8px;padding:5px 6px 5px 11px;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px;color:#536177}.setup-msg{font-size:12px;color:#86868b}.gas-review{flex:1;display:flex;flex-direction:column;min-height:0}.gas-dots{height:43px;background:#fff;border-bottom:1px solid #d2d2d7;padding:13px 16px;display:flex;gap:6px}.gas-dots button{height:6px;width:34px;border:0;border-radius:999px;background:#dfe3ea}.gas-dots button.active{background:#2563eb}.gas-dots button.done{background:#34c759}.gas-review-body{flex:1;display:grid;grid-template-columns:minmax(560px,1fr) 430px;min-height:0}.gas-pdf-panel{display:flex;flex-direction:column;min-width:0;background:#e8e8ed;border-right:1px solid #d2d2d7}.gas-pdf-toolbar{height:44px;background:#fff;border-bottom:1px solid #e5e5ea;display:flex;align-items:center;gap:7px;padding:0 10px;flex-shrink:0}.gas-pdf-toolbar span{font-size:12px;color:#555;min-width:54px;text-align:center}.gas-pdf-toolbar em{font-style:normal;font-size:11px;color:#86868b;margin-left:auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gas-pdf-toolbar .secondary{height:30px;padding:0 10px}.gas-pdf-canvas{flex:1;overflow:auto;display:flex;justify-content:center;align-items:flex-start;padding:20px}.pdf-paper{width:430px;min-height:610px;background:#fff;box-shadow:0 2px 18px #0003;padding:52px 46px;transform-origin:top center;transition:.15s}.pdf-paper h3{font-size:26px;text-align:center;margin:0 0 42px}.pdf-paper p{font-size:14px;line-height:2;color:#333}.pdf-paper strong{display:block;font-size:34px;margin:38px 0;color:#111;border-top:2px solid #333;border-bottom:2px solid #333;padding:14px 0;text-align:right}.gas-ocr-text{height:205px;background:#fafafa;border-top:2px solid #d2d2d7;display:flex;flex-direction:column;flex-shrink:0}.gas-ocr-text>div{height:34px;background:#f0f0f0;border-bottom:1px solid #e0e0e0;display:flex;align-items:center;gap:8px;padding:0 12px}.gas-ocr-text b{font-size:11px;color:#555}.gas-ocr-text span{margin-left:auto;font-size:10px;color:#86868b}.gas-ocr-text pre{margin:0;padding:10px 14px;overflow:auto;font-size:11px;line-height:1.7;white-space:pre-wrap;color:#444}.gas-form-panel{background:#fff;display:flex;flex-direction:column;min-height:0}.gas-form-panel .inv-block{padding:16px;overflow:auto;flex:1}.gas-form-panel .ftable input{height:28px}.gas-actions{height:58px;border-top:1px solid #edf0f4;display:flex;align-items:center;gap:10px;padding:0 16px;flex-shrink:0}.gas-actions span{font-size:11px;color:#86868b;flex:1}.gas-done{width:min(440px,100%);text-align:center;padding:28px}.gas-done h2{margin:0 0 6px}.gas-done p{color:#86868b;font-size:13px}.sum-box{background:#f5f5f7;border-radius:10px;padding:14px;margin:18px 0;text-align:left}.sum-box div{display:flex;justify-content:space-between;padding:5px 0;border-bottom:1px solid #e5e7eb}.sum-box div:last-child{border-bottom:0}.sl{color:#86868b}.sv{font-weight:700}.done-icon{font-size:42px}.danger-text{border:0;background:none;color:#d94b5b;font-size:12px;font-weight:700}.badge{display:inline-flex;align-items:center;padding:3px 8px;border-radius:999px;font-size:10px;font-weight:700}.b-ok{background:#dcfce7;color:#166534}.b-warn{background:#fef3c7;color:#92400e}.b-gray{background:#f3f4f6;color:#6b7280}.reasons{background:#fff7ed;border-left:3px solid #ff9500;padding:8px 10px;border-radius:0 8px 8px 0;font-size:11px;color:#7a5800;margin:10px 0}.reasons ul{margin:4px 0 0;padding-left:16px}.inv-company-row{display:flex;align-items:center;gap:8px;margin-bottom:10px}.inv-company-label{font-size:11px;color:#86868b;white-space:nowrap}.inv-company-input{flex:1;height:34px;border:1px solid #d2d2d7;border-radius:7px;padding:0 9px;font-weight:700}.inv-badges{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:10px}.ftable{width:100%;border-collapse:collapse;font-size:12px}.ftable th{font-size:10px;color:#8b95a5;background:#f8fafc;padding:7px;border-bottom:1px solid #edf0f4}.ftable td{padding:6px;border-bottom:1px solid #f1f3f6}.fl{font-size:11px;color:#666;white-space:nowrap}.fc{font-size:11px;color:#999;max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fo input{width:100%;border:1px solid #d2d2d7;border-radius:6px;padding:0 7px}.fo input.ok{border-color:#34c759}.fo input.diff{border-color:#ff9500;background:#fffbf0}.cb-c{text-align:center}.cb-c input{accent-color:#0071e3}@media(max-width:1080px){.gas-ocr{height:auto;min-height:0}.gas-review-body{grid-template-columns:1fr}.gas-form-panel{min-height:520px}.gas-pdf-panel{border-right:0}.gas-center{padding:16px}}@media(max-width:720px){.gas-form-row{grid-template-columns:1fr}.gas-pdf-canvas{padding:12px}.pdf-paper{width:330px;min-height:470px;padding:36px 28px}.gas-dots button{width:24px}.gas-topbar{padding:0 10px}.gas-review-body{display:block}}

.link-button{border:0;background:transparent;color:#2563c9;text-decoration:underline;padding:0;font-size:11px;max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.link-button:disabled{color:#9aa5b5;text-decoration:none;cursor:not-allowed}.secondary.mini{height:30px;padding:0 9px;font-size:10px}.row-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}

.template-preview-wrap{display:flex;flex-direction:column;gap:10px}
.template-toggle{display:flex;align-items:center;gap:12px;justify-content:space-between;width:100%;border:0;background:transparent;padding:0;font-size:16px;font-weight:800;color:#243b63;text-align:left;white-space:normal;overflow:visible;cursor:pointer}
.template-toggle small{margin-left:auto;color:#2f6fda;font-weight:700;white-space:nowrap}
.template-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.template-row>label{display:flex;align-items:center;gap:12px;font-size:16px;font-weight:800;color:#243b63;min-width:260px}
.template-row>label span{white-space:normal}
.template-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-left:auto}
.template-actions .mini{height:34px;padding:0 12px;font-size:12px;text-decoration:none}
.template-preview{display:flex;flex-wrap:wrap;gap:8px;margin:-4px 0 12px 48px;padding:14px;border:1px solid #dbe8f7;border-radius:14px;background:#f8fbff}
.template-preview>b{width:100%;color:#426086}
.template-preview span{display:inline-flex;align-items:center;border:1px solid #d5e3f4;border-radius:999px;background:#fff;color:#334155;padding:7px 11px;font-size:13px;font-weight:700}
.template-editor{display:grid;gap:10px;margin:-4px 0 12px 48px;padding:14px;border:1px solid #dbe8f7;border-radius:14px;background:#f8fbff}
.template-editor>b{color:#426086;font-size:12px}
.template-edit-row{display:grid;grid-template-columns:120px minmax(220px,1fr) 70px;gap:10px;align-items:center}
.template-edit-row.subject{grid-template-columns:minmax(220px,1fr) 170px 70px}
.template-edit-row.vendor{grid-template-columns:minmax(160px,1.2fr) minmax(150px,1fr) 92px 110px repeat(4,minmax(110px,1fr)) 60px}
.template-edit-row select,.template-edit-row input{height:36px;border:1px solid #d8e3f2;border-radius:8px;background:#fff;padding:0 10px;color:#344156}
.vendors-editor{overflow-x:auto}
.vendors-editor .template-edit-row.vendor{min-width:1180px}
.synced-table-scroll .excel-scroll>table:not(.excel-table){width:max-content;min-width:100%}.synced-table-scroll .excel-scroll>table:not(.excel-table) th{top:0;background:#f8f9fb;box-shadow:0 1px 0 #e1e7f0}.synced-table-scroll .summary-table th{background:#eaf2ff}
.synced-table-scroll .excel-scroll{max-height:min(680px,calc(100vh - 260px));overflow:auto}.synced-table-scroll .excel-scroll table thead th{position:sticky!important;top:0!important;z-index:30!important}.synced-table-scroll .excel-table tbody tr:first-child td{position:sticky!important;top:0!important;z-index:30!important}.synced-table-scroll .excel-table tbody tr:first-child td:first-child{z-index:31!important}
.pl-annual-view th:nth-child(1),.pl-annual-view td:nth-child(1){position:sticky;left:0;min-width:150px;z-index:7;text-align:left;background:#fbfdff;font-weight:700}.pl-annual-view th:nth-child(2),.pl-annual-view td:nth-child(2){position:sticky;left:150px;min-width:190px;z-index:6;text-align:left;background:#fff;font-weight:700}.pl-annual-view th:nth-child(1),.pl-annual-view th:nth-child(2){background:#eaf2ff;z-index:32}.pl-annual-view tr.pl-total-row td{background:#f1f6ff;font-weight:800}.pl-annual-view tr.pl-total-row td:nth-child(1),.pl-annual-view tr.pl-total-row td:nth-child(2){background:#eaf2ff}
.drop-card.dragging{border-color:#22c55e;box-shadow:0 0 0 4px #22c55e1f,0 10px 24px #15803d1f}.dropzone.dragging{border-color:#22c55e;background:linear-gradient(180deg,#ecfdf5,#f0fdf4);transform:translateY(-1px)}.dropzone.ready{border-color:#2a6dd7;background:linear-gradient(180deg,#eff6ff,#f7fbff)}.dropzone.dragging .upload-ring,.dropzone.ready .upload-ring{background:#dcfce7;color:#16a34a}.primary.import-ready{background:linear-gradient(135deg,#16a34a,#2563eb);box-shadow:0 8px 18px #16a34a35}.file-select.selected{border-color:#22c55e;background:#ecfdf5;color:#15803d;font-weight:700}.selected-file-name{display:inline-flex;align-items:center;max-width:360px;min-height:34px;padding:0 12px;border-radius:10px;background:#f1f7ff;color:#30435f;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.inline-add{display:flex;gap:8px;margin-top:8px;align-items:center}.inline-add input{min-width:160px}.inline-add button{white-space:nowrap}
.subject-table table{min-width:980px}.subject-table th:first-child,.subject-table td:first-child{width:auto!important;min-width:260px!important;text-align:left!important}.subject-table th:nth-child(2),.subject-table td:nth-child(2){min-width:220px}.subject-table th:nth-child(3),.subject-table td:nth-child(3){min-width:170px}

.brand-logo{padding:0 18px;justify-content:flex-start;letter-spacing:0;background:linear-gradient(180deg,#fff,#fbfcff)}
.brand-logo img{display:block;width:150px;max-height:48px;object-fit:contain;mix-blend-mode:multiply}
.brand-logo button{margin-left:auto}
.login-simple{background:
  radial-gradient(circle at 18% 22%,#fff7ed 0,#fff7ed 16%,transparent 38%),
  linear-gradient(145deg,#fff,#f7fbff 52%,#eef5ff);
  color:#172033}
.login-simple:before{content:'';position:absolute;inset:auto -18% -22% 8%;height:42%;background:linear-gradient(90deg,#f97316,#fb923c);border-radius:999px;opacity:.16;transform:rotate(-5deg)}
.login-brand-panel{z-index:1;width:min(620px,86%);padding:42px 46px;border:1px solid #eef2f7;border-radius:28px;background:#ffffffd9;box-shadow:0 24px 70px #1f29371a;text-align:center}
.login-logo{display:block;width:min(480px,100%);margin:0 auto 20px;object-fit:contain;mix-blend-mode:multiply}
.login-brand-panel h1{margin:0 0 10px!important;font-size:34px!important;letter-spacing:.12em!important;color:#111827!important}
.login-brand-panel p{margin:0!important;color:#64748b!important;font-size:14px!important;letter-spacing:.08em}
.brand-logo-mobile{height:auto;padding:0;margin:0 0 42px;justify-content:center}
.brand-logo-mobile img{display:block;width:180px;max-height:58px;object-fit:contain;mix-blend-mode:multiply}
@media(max-width:980px){.brand-logo-mobile{display:flex}.brand-logo-mobile img{width:160px}}
@media(max-width:720px){.brand-logo img{width:132px}.login-brand-panel{padding:30px 24px}.login-logo{width:min(320px,100%)}}
.ocr-doc-image{display:block;max-width:min(100%,1600px);height:auto;background:#fff;box-shadow:0 2px 18px #0003;transform-origin:top center;transition:.15s}
.ocr-vendor-candidates{margin:0 0 12px;padding:10px 11px;background:#f7faff;border:1px solid #dce8fb;border-radius:8px;font-size:12px}
.ocr-vendor-candidates>b{display:block;margin-bottom:7px;color:#234b82}
.ocr-vendor-choice-list{display:flex;flex-wrap:wrap;gap:6px}
.ocr-vendor-choice-list button{border:1px solid #bad3fa;border-radius:6px;background:#fff;color:#164884;padding:5px 8px;cursor:pointer;text-align:left}
.ocr-vendor-choice-list button:hover{background:#e9f2ff}
.ocr-vendor-candidates p{margin:4px 0;color:#697586}
.ocr-vendor-candidates details{margin-top:9px;border-top:1px solid #dce8fb;padding-top:8px}
.ocr-vendor-candidates summary{cursor:pointer;color:#2861a8}
.ocr-vendor-candidates pre{white-space:pre-wrap;overflow:auto;max-height:180px;margin:7px 0 0;padding:8px;background:#fff;border-radius:6px;font-size:11px;line-height:1.5}
.ocr-vendor-register{display:flex;align-items:center;gap:7px;margin-top:10px;color:#234b82;cursor:pointer;font-weight:600}
.ocr-vendor-register input{width:16px;height:16px;accent-color:#2563eb}

.payroll-title{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}
.payroll-title small{color:#3973ce;font-weight:800;letter-spacing:.15em}
.payroll-title h1{margin:6px 0;font-size:30px;color:#152238}
.payroll-title p{margin:0;color:#8a99af;font-size:14px}
.payroll-back{margin-bottom:16px}
.payroll-monthly-toolbar{display:flex;align-items:end;gap:20px;flex-wrap:wrap;padding:18px 20px;margin-bottom:18px}
.payroll-month-select{display:flex;gap:10px}
.payroll-month-select label{display:grid;gap:5px;color:#71829a;font-size:12px;font-weight:700}
.payroll-month-select input,.payroll-month-select select{height:40px;border:1px solid #dce5f1;border-radius:9px;background:#fff;padding:0 10px;color:#20324e}
.payroll-month-select input{width:110px}.payroll-month-select select{width:100px}
.payroll-monthly-totals{display:flex;align-items:center;gap:16px;margin-left:auto;flex-wrap:wrap;color:#6b7d97;font-size:13px}
.payroll-monthly-totals strong{font-size:19px;color:#1d3f77}
.payroll-monthly-card .section-label{display:flex;justify-content:space-between;align-items:center}
.payroll-monthly-card .section-label span,.payroll-monthly-note{color:#8392a8;font-size:12px}
.payroll-table-scroll{overflow-x:auto}
.payroll-table-scroll table{min-width:1050px;width:100%;border-collapse:collapse}
.payroll-table-scroll th,.payroll-table-scroll td{padding:12px;border-bottom:1px solid #e8eef6;text-align:left;white-space:nowrap}
.payroll-table-scroll th{background:#eaf2ff;color:#315b94;font-size:12px}
.payroll-table-scroll td{font-size:13px;color:#263850}
.payroll-table-scroll input,.payroll-table-scroll select{height:38px;border:1px solid #dce5f1;border-radius:8px;background:#fff;padding:0 9px;min-width:100px}
.payroll-table-scroll input[type=number]{width:155px}.payroll-table-scroll td:nth-child(5) input{width:220px}
.payroll-monthly-note{margin:12px 0}
@media(max-width:720px){.payroll-title{align-items:flex-start}.payroll-monthly-totals{margin-left:0}.payroll-monthly-toolbar>.primary{width:100%}}

/* OCR confirmation: let the page reach every form field and its action buttons. */
.gas-ocr:has(.gas-review){height:auto;min-height:0;overflow:visible}
.gas-review{flex:none}
.gas-review-body{flex:none;align-items:start}
.gas-form-panel .inv-block{flex:none;overflow:visible}
.gas-actions{height:auto;min-height:58px;flex-wrap:wrap;padding:10px 16px}
@media(min-width:1081px){
  .gas-pdf-panel{height:max(560px,calc(100vh - 180px));position:sticky;top:16px}
}
