/* Reimbursement: shared StoreOS palette, document-led hierarchy, scoped to this page. */
.rb-page .rb-batch-entry{min-height:44px;flex-shrink:0;border-color:var(--rb-brand);color:var(--rb-brand)}
.rb-batch{display:grid;gap:18px;min-width:0}.rb-batch>.rb-heading{margin:0}.rb-batch .rb-panel{margin:0;min-width:0}.rb-batch-heading p{max-width:680px}.rb-batch-identities,.rb-batch-summary,.rb-batch-facts{display:flex;flex-wrap:wrap;gap:16px 36px}.rb-batch-identities>div,.rb-batch-summary>div,.rb-batch-facts>div{display:flex;flex-direction:column;gap:4px;min-width:0}.rb-batch-identities span,.rb-batch-summary span,.rb-batch-facts span{font-size:12px;color:var(--rb-muted)}.rb-batch-summary>div:last-child{margin-left:auto}.rb-batch-summary>div:last-child strong{color:var(--rb-brand);font-size:25px;letter-spacing:-.02em}.rb-batch-chooser{display:grid;gap:16px}.rb-batch-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.rb-batch-lines{border:1px solid var(--rb-line);border-radius:10px;overflow:hidden;background:#fff}.rb-batch-line{border-bottom:1px solid var(--rb-line);padding:0 18px;display:flex;align-items:center;gap:14px;min-width:0}.rb-batch-line:last-child{border-bottom:0}.rb-page .rb-batch-line-main{display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:14px;min-height:80px;padding:14px 0;flex:1;cursor:pointer;min-width:0}.rb-batch-line-main:not(label){grid-template-columns:minmax(0,1fr) auto;cursor:default}.rb-page .rb-batch-line-main input[type=checkbox],.rb-page .rb-batch-ack input[type=checkbox]{width:22px;height:22px;min-height:22px;accent-color:var(--rb-brand);flex-shrink:0;margin:0;padding:0}.rb-batch-line-copy{display:flex;flex-direction:column;gap:4px;min-width:0;overflow-wrap:anywhere}.rb-batch-line-copy small{font-size:12px;color:var(--rb-muted)}.rb-batch-line-amount{white-space:nowrap;font-size:16px}.rb-batch-line:has(input:checked){background:var(--rb-brand-soft)}.rb-batch-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;position:sticky;bottom:0;z-index:3;background:#fff;padding:14px 18px calc(14px + env(safe-area-inset-bottom,0px));border:1px solid var(--rb-line);border-radius:10px;box-shadow:0 -4px 18px #1a294207}.rb-batch-footer button{min-height:44px}.rb-batch-total{font-weight:650;color:var(--rb-brand)}.rb-batch-details>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-weight:600;margin-bottom:12px}.rb-batch-payment{display:grid;gap:18px}.rb-page .rb-batch-ack{display:flex;flex-direction:row;align-items:flex-start;gap:12px;padding:14px;background:var(--rb-brand-soft);border-radius:8px;line-height:1.7;min-height:44px}.rb-batch-ack span{flex:1;min-width:0;overflow-wrap:anywhere}.rb-batch-reference{border-left:3px solid var(--rb-brand)}.rb-batch-reference p{margin:8px 0!important;overflow-wrap:anywhere}.rb-batch-facts p{flex-basis:100%;white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:640px){.rb-page .rb-heading:has(.rb-batch-entry){flex-wrap:wrap;gap:12px}.rb-page .rb-batch-entry{width:100%}.rb-batch{gap:14px}.rb-batch-summary{gap:14px 24px}.rb-batch-summary>div:last-child{margin-left:0;flex-basis:100%;padding-top:12px;border-top:1px solid var(--rb-line)}.rb-batch-line{padding:0 12px;gap:8px;flex-wrap:wrap}.rb-page .rb-batch-line-main{grid-template-columns:22px minmax(0,1fr);gap:10px;min-height:88px}.rb-batch-line-main:not(label){grid-template-columns:minmax(0,1fr)}.rb-batch-line-amount{grid-column:2}.rb-batch-line-main:not(label) .rb-batch-line-amount{grid-column:1}.rb-batch-line>.rb-text-button{padding-top:0;min-height:44px;margin-left:auto}.rb-batch-footer{flex-wrap:wrap;padding:12px 14px calc(12px + env(safe-area-inset-bottom,0px))}.rb-batch-footer>button{width:100%}.rb-batch-footer>span,.rb-batch-footer>strong{font-size:14px}.rb-batch-identities{gap:12px 22px}}
.rb-page{--rb-ink:#1a2942;--rb-muted:#5d6b81;--rb-line:#e5eaf1;--rb-soft:#f7f9fc;--rb-brand:#b8450a;--rb-brand-soft:#fff3e9;max-width:1320px;margin:0 auto;color:var(--rb-ink);font:14px/1.6 "PingFang SC","Microsoft YaHei","Segoe UI",sans-serif;min-width:0;padding:4px 0 24px;font-variant-numeric:tabular-nums}
.rb-page *{box-sizing:border-box}.rb-page [hidden]{display:none!important}.rb-page h3,.rb-page h4,.rb-page h5,.rb-page p,.rb-page ol,.rb-page dl{margin:0}.rb-page button,.rb-page input,.rb-page select,.rb-page textarea{font:inherit;color:inherit;max-width:100%;min-width:0}.rb-page button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;border:1px solid #dce3ed;border-radius:8px;padding:9px 15px;background:#fff;cursor:pointer;line-height:1.5;font-weight:500;transition:background .16s,border-color .16s,box-shadow .16s}.rb-page button:hover{background:#f8fafc;border-color:#b8c5d6}.rb-page button:active{transform:translateY(1px)}.rb-page button:disabled{opacity:.5;cursor:wait;transform:none}.rb-page .rb-primary{background:var(--rb-brand);border-color:var(--rb-brand);color:#fff;box-shadow:0 3px 8px #9f400e12}.rb-page .rb-primary:hover{background:#ad410a;border-color:#ad410a}.rb-page .rb-text-button{background:transparent;border-color:transparent;padding-left:0;padding-right:0;box-shadow:none;color:#536580}.rb-page .rb-text-button:hover{color:var(--rb-brand)}.rb-page :is(button,a,input,select,textarea,summary):focus-visible{outline:3px solid #336cc3;outline-offset:3px}.rb-icon{width:18px;height:18px;flex:none;vertical-align:middle}.rb-page input:not([type=file]),.rb-page select,.rb-page textarea{width:100%;min-height:44px;border:1px solid #dce3ed;border-radius:8px;background:#fff;padding:10px 12px;line-height:1.5;transition:border-color .16s,box-shadow .16s}.rb-page input::placeholder,.rb-page textarea::placeholder{color:#5d6b81}.rb-page input:focus,.rb-page select:focus,.rb-page textarea:focus{border-color:#7e9ec8;box-shadow:0 0 0 3px #376bb60c}.rb-page input[readonly]{background:var(--rb-soft);color:#5d6b81}.rb-page textarea{resize:vertical;min-height:84px}.rb-page label{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:500;color:#4e5e75}.rb-page label>small{font-weight:400;color:var(--rb-muted);font-size:12px}.rb-page small,.rb-muted{font-size:12px;color:var(--rb-muted)}.rb-page .rb-wide{width:100%}.rb-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:0 0 24px}.rb-eyebrow{display:block;font-size:11px;letter-spacing:.05em;color:var(--rb-muted);margin:0 0 6px}.rb-heading :is(h2,h3){font-size:27px;font-weight:650;letter-spacing:-.04em;line-height:1.3}.rb-heading p{margin-top:8px;font-size:13px;color:var(--rb-muted)}.rb-heading>.rb-primary{padding:11px 20px;min-height:44px}.rb-role-label{font-size:12px;color:#586e88;background:#eaf0f8;padding:7px 12px;border-radius:7px;white-space:nowrap}
/* One quiet overview band rather than four competing dashboard cards. */
.rb-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#fff;border-radius:12px;box-shadow:0 2px 10px #1a294205;padding:23px 0;margin-bottom:24px}.rb-metric{padding:0 26px;border-right:1px solid var(--rb-line);display:grid;grid-template-columns:1fr auto;gap:6px;align-items:baseline;min-width:0}.rb-metric:last-child{border:0}.rb-metric>span{font-size:12px;color:var(--rb-muted);grid-column:1/-1}.rb-metric>strong{font-size:30px;line-height:1.35;letter-spacing:-.04em;font-family:"Segoe UI","PingFang SC",sans-serif;font-weight:650}.rb-metric>strong small{margin-left:8px;font:12px "PingFang SC","Microsoft YaHei",sans-serif;letter-spacing:0}.rb-metric>small{font-size:12px;white-space:nowrap}.rb-metric.is-key>strong{color:var(--rb-brand)}
.rb-register{background:#fff;border-radius:12px;overflow:hidden;border:1px solid var(--rb-line)}.rb-register-top{display:flex;align-items:center;justify-content:space-between;padding:7px 24px 0;border-bottom:1px solid var(--rb-line);gap:20px}.rb-tabs{display:flex;gap:26px;align-items:stretch}.rb-page .rb-tabs button{border:0;border-radius:0;border-bottom:2px solid transparent;padding:16px 0 17px;min-height:56px;background:transparent;gap:7px;color:#5d6b81;white-space:nowrap;box-shadow:none}.rb-tabs button>span{font:11px "Segoe UI",sans-serif;display:inline-flex;align-items:center;justify-content:center;border-radius:5px;background:#f0f3f7;padding:1px 6px;min-width:20px;color:#52637b}.rb-page .rb-tabs button[aria-pressed=true]{border-bottom-color:var(--rb-brand);color:var(--rb-ink);font-weight:650}.rb-tabs button[aria-pressed=true]>span{background:var(--rb-brand-soft);color:var(--rb-brand)}.rb-page .rb-month{flex-direction:row;align-items:center;gap:9px;font-size:12px;white-space:nowrap;flex-shrink:0;font-weight:400}.rb-page .rb-month input{width:153px;min-height:36px;font-size:12px;padding:6px 8px;background:#fafbfd}.rb-filters{display:flex;gap:12px;align-items:center;padding:20px 24px 0}.rb-page .rb-search{position:relative;flex:1;max-width:380px}.rb-search>.rb-icon{position:absolute;left:13px;top:13px;color:#77869a}.rb-page .rb-search input{padding-left:40px;background:#fafbfd;font-size:13px}.rb-filters>select{width:178px;font-size:13px}.rb-filters>.rb-text-button{font-size:12px;white-space:nowrap}.rb-list-caption{display:flex;justify-content:space-between;gap:12px;padding:16px 24px 13px;font-size:12px;color:var(--rb-muted)}.rb-list-caption b{color:#40536d;font-weight:600;margin-left:5px}.rb-table-head,.rb-page .rb-row{display:grid;grid-template-columns:minmax(190px,2.8fr) minmax(54px,.7fr) minmax(72px,.9fr) 96px minmax(80px,1fr) minmax(100px,1.2fr) 18px;align-items:center;gap:14px;padding:16px 24px}.rb-table-head{font-size:11px;background:#f8fafc;color:#5d6b81;padding-top:11px;padding-bottom:11px;border-block:1px solid #edf0f5}.rb-table-head>span:nth-child(5){text-align:right}.rb-table-head>span:nth-child(6){padding-left:12px}.rb-page .rb-row{width:100%;text-align:left;border:0;border-bottom:1px solid #edf0f5;border-radius:0;box-shadow:none;font-size:12px;font-weight:400;min-height:90px;background:#fff}.rb-page .rb-row:last-child{border-bottom:0}.rb-page .rb-row:hover{background:#fafbfd}.rb-row-title{display:flex;gap:12px;align-items:center;min-width:0}.rb-row-title>span:last-child{min-width:0}.rb-doc-icon{display:inline-flex;align-items:center;justify-content:center;width:36px;height:42px;border-radius:9px;background:#f1f4f9;color:#6b81a1;flex:none}.rb-doc-icon .rb-icon{width:20px;height:20px}.rb-row-title b{display:block;font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#23344e;line-height:1.5;max-width:100%}.rb-row-title small{display:block;font-size:11px;margin-top:5px}.rb-row-scope{color:#65758b;overflow-wrap:anywhere}.rb-row-date{font-family:"Segoe UI",sans-serif;color:#5d6b81}.rb-row-amount{text-align:right;font-size:15px;font-weight:600;font-family:"Segoe UI","PingFang SC",sans-serif;white-space:nowrap;letter-spacing:-.025em}.rb-row-stage{padding-left:12px}.rb-row-arrow{color:#8b9bb0}.rb-badge{display:inline-flex;align-items:center;justify-content:center;border-radius:5px;padding:4px 9px;font-size:11px;font-weight:500;line-height:1.5;white-space:nowrap}.rb-neutral{background:#eff2f6;color:#58667c}.rb-blue{background:#edf3fd;color:#355f9a}.rb-amber{background:#fff4e2;color:#8c5a0c}.rb-green{background:#edf7f1;color:#28714f}.rb-danger{background:#fceff0;color:#ac3543}.rb-empty{padding:56px 20px 64px;text-align:center;color:var(--rb-muted)}.rb-empty-icon{display:grid;place-items:center;width:64px;height:70px;border-radius:15px;background:#f0f4fa;margin:0 auto 18px;color:#899db8;box-shadow:0 8px 20px #1a294207}.rb-empty-icon .rb-icon{width:30px;height:30px}.rb-empty :is(h3,h4){font-size:17px;color:var(--rb-ink);font-weight:600;margin-bottom:8px}.rb-empty p{font-size:13px;margin:8px auto 22px;max-width:380px;line-height:1.8}.rb-empty>.rb-icon{margin:10px auto 20px;width:32px;height:32px}.rb-policy{font-size:12px;color:var(--rb-muted);padding:16px 4px 0}.rb-policy summary{display:inline-flex;align-items:center;gap:6px;cursor:pointer;list-style:none;min-height:36px}.rb-policy summary .rb-icon{width:13px;height:13px}.rb-policy[open] summary .rb-icon{transform:rotate(90deg)}.rb-policy>div{display:flex;gap:30px;flex-wrap:wrap;padding:16px 0}.rb-policy>div>span{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.rb-policy b{color:#5d6b81;font:11px "Segoe UI",sans-serif}.rb-policy>p{font-size:12px}
/* Document header and business progress: the visual anchor of the detail page. */
.rb-context{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 16px;font-size:12px;color:var(--rb-muted)}.rb-context .rb-text-button{font-size:12px;min-height:34px}.rb-context .rb-icon{width:15px;height:15px}.rb-document{background:#fff;border:1px solid var(--rb-line);border-radius:14px;overflow:hidden;box-shadow:0 3px 12px #1a294204;margin-bottom:20px}.rb-document-heading{display:flex;align-items:center;justify-content:space-between;padding:16px 28px;border-bottom:1px solid var(--rb-line)}.rb-document-identity{display:flex;align-items:center;gap:10px;color:#5d6b81;font-size:12px}.rb-document-identity .rb-doc-icon{width:27px;height:30px;background:transparent}.rb-document-identity b{font-family:"Segoe UI",sans-serif;font-weight:600;margin-left:6px;color:#3b516f}.rb-document-heading>.rb-text-button{font-size:12px;min-height:30px}.rb-document-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;padding:24px 30px 22px}.rb-document-status{display:flex;align-items:center;gap:12px;margin:0 0 13px}.rb-document-status>span:last-child{font-size:12px;color:var(--rb-muted)}.rb-document-hero :is(h2,h3){font-size:23px;font-weight:650;line-height:1.55;letter-spacing:-.025em;overflow-wrap:anywhere}.rb-document-total{text-align:right;padding-top:4px}.rb-document-total>small{display:block;font-size:11px;margin-bottom:9px}.rb-document-total strong{display:block;font:650 34px/1.15 "Segoe UI",sans-serif;letter-spacing:-.04em;white-space:nowrap}.rb-document-total strong>span{font-size:20px;margin-right:4px;font-weight:400}.rb-info{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin:0 30px 26px!important}.rb-info>div{min-width:0;border-right:1px solid var(--rb-line);padding-right:14px}.rb-info>div:last-child{border-right:0}.rb-info dt{font-size:11px;color:#5d6b81;margin-bottom:6px}.rb-info dd{font-size:13px;margin:0;font-weight:500;overflow-wrap:anywhere}.rb-progress{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));list-style:none;padding:21px 30px!important;background:#fafbfd;border-top:1px solid #edf1f6;gap:18px}.rb-progress li{display:flex;gap:9px;align-items:center;position:relative;min-width:0;color:#5d6b81}.rb-progress li:not(:last-child):after{content:'';width:24px;height:1px;background:#dce4ee;position:absolute;right:-4px;top:14px}.rb-step-dot{display:grid;place-items:center;flex:none;width:28px;height:28px;border:1px solid #dce3ed;border-radius:50%;background:#fff;color:#5d6b81;font:12px "Segoe UI",sans-serif;z-index:1}.rb-step-dot .rb-icon{width:15px;height:15px}.rb-progress b{display:block;font-size:12px;font-weight:500}.rb-progress small{font-size:10px;display:block;margin-top:2px;color:#5d6b81}.rb-progress .is-done .rb-step-dot{color:#54806b;border-color:#dcece2;background:#eff7f2}.rb-progress .is-done b{color:#466754}.rb-progress .is-current .rb-step-dot{background:var(--rb-brand);color:#fff;border-color:var(--rb-brand);box-shadow:0 0 0 4px #c64c0d0a}.rb-progress .is-current b{color:var(--rb-brand);font-weight:650}.rb-detail-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(310px,1fr);gap:20px;align-items:start}.rb-detail-main,.rb-detail-aside,.rb-compose-main{display:flex;flex-direction:column;gap:20px;min-width:0}.rb-detail-aside{position:sticky;top:20px}.rb-panel{background:#fff;border:1px solid var(--rb-line);border-radius:12px;padding:24px;min-width:0}.rb-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 22px}.rb-section-heading :is(h3,h4){font-size:15px;font-weight:650;display:flex;align-items:center;gap:10px}.rb-section-heading :is(h3,h4)>span{font:11px "Segoe UI",sans-serif;color:var(--rb-brand);background:var(--rb-brand-soft);padding:4px 6px;border-radius:5px}.rb-section-heading>small{font-size:11px;flex-shrink:0}.rb-section-copy{font-size:12px;color:var(--rb-muted);margin:-6px 0 18px!important}.rb-material-group+ .rb-material-group{margin-top:24px;padding-top:22px;border-top:1px solid var(--rb-line)}.rb-material-group :is(h4,h5){font-size:12px;font-weight:500;color:#4b607b;margin-bottom:12px}.rb-material-group :is(h4,h5) span{display:inline-block;margin-left:7px;font:11px "Segoe UI",sans-serif;color:#5d6b81}.rb-note{background:#faf8f3;border-radius:7px;margin-top:12px;padding:12px 14px;font-size:12px}.rb-note>span{color:#886738;font-size:11px}.rb-note p{margin-top:4px;color:#667387;overflow-wrap:anywhere}.rb-attachments{display:grid;grid-template-columns:repeat(auto-fill,minmax(138px,1fr));gap:12px}.rb-attachment{position:relative;min-width:0;background:#fff;border:1px solid var(--rb-line);border-radius:9px;overflow:hidden}.rb-attachment-preview{height:126px;display:flex;align-items:center;justify-content:center;background:#f6f8fb;border-bottom:1px solid var(--rb-line);text-decoration:none;color:#7286a3;overflow:hidden}.rb-attachment-preview:hover{background:#eef2f8}.rb-attachment img{width:100%;height:100%;object-fit:contain;padding:8px;transition:transform .18s}.rb-attachment-preview:hover img{transform:scale(1.035)}.rb-attachment-meta{padding:11px 12px}.rb-attachment-meta b{display:block;font-size:11px;color:#4c607e;font-weight:500}.rb-attachment-meta small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;margin-top:4px}.rb-page .rb-remove{position:absolute;top:6px;right:6px;background:#fff;min-height:26px;width:26px;padding:4px;border-radius:50%;box-shadow:0 1px 4px #233b6415}.rb-remove .rb-icon{width:12px;height:12px}.rb-pdf{display:flex;align-items:center;flex-direction:column;gap:8px;font-size:11px}.rb-pdf .rb-icon{width:34px;height:34px}.rb-preview-fail{padding:10px;text-align:center;font-size:11px}.rb-operation{border-top:3px solid #d7e1ee;padding:23px}.rb-operation-title{display:flex;align-items:center;gap:10px;margin-bottom:12px}.rb-operation-symbol{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;flex:none}.rb-operation-title :is(h3,h4){font-size:16px;font-weight:650}.rb-operation>p{font-size:12px;color:var(--rb-muted);line-height:1.8;margin-bottom:20px}.rb-operation form>label{margin-bottom:16px}.rb-operation form>small{display:block;font-size:11px;margin-top:11px;line-height:1.8}.rb-operation-buttons{display:flex;gap:10px;margin-top:18px;flex-wrap:wrap}.rb-operation-buttons button{flex:1;white-space:nowrap;font-size:12px}.rb-operation .rb-withdraw{font-size:12px;text-decoration:underline;text-underline-offset:4px}.rb-operation .rb-grid{gap:12px;margin-bottom:16px}.rb-operation input,.rb-operation select{font-size:12px}.rb-operation .rb-upload-zone{padding:16px;display:flex;flex-direction:column;text-align:center;gap:12px}.rb-operation .rb-upload-icon{display:none}.rb-operation .rb-upload-zone b{font-size:12px}.rb-operation .rb-upload-zone p{font-size:10px;margin-top:5px}.rb-operation .rb-upload-zone button{font-size:12px;min-height:36px}.rb-operation .rb-attachments{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:16px}.rb-operation .rb-attachment-preview{height:95px}.rb-operation .rb-upload-msg{font-size:11px}.rb-allocation-list>div{display:flex;justify-content:space-between;gap:12px;font-size:13px;padding:10px 0}.rb-allocation-list strong{font-weight:600}.rb-vouchers{border-top:1px solid var(--rb-line);margin-top:16px;padding-top:16px}.rb-vouchers>div{display:flex;align-items:center;gap:10px;padding:10px 0;font-size:12px}.rb-vouchers>div>.rb-icon{color:#8091ab}.rb-vouchers>div>span{flex:1;min-width:0}.rb-vouchers b{display:block;font-weight:500;color:#3f608a}.rb-vouchers small{display:block;font-size:11px}.rb-vouchers strong{font-weight:500}.rb-history>summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;font-size:13px;font-weight:600;list-style:none;min-height:28px}.rb-history summary small{margin-left:6px;font-weight:400}.rb-history[open]>summary>.rb-icon{transform:rotate(90deg)}.rb-events{list-style:none;margin-top:22px!important;padding:0 0 0 17px!important}.rb-events li{position:relative;border-left:1px solid #e2e8f1;padding:0 0 22px 20px;margin-left:-12px}.rb-events li:last-child{padding-bottom:0;border-color:transparent}.rb-events li:before{content:'';position:absolute;left:-4px;top:6px;width:7px;height:7px;background:#ccd7e5;border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #dbe4ef}.rb-events li:first-child:before{background:var(--rb-brand);box-shadow:0 0 0 1px #f1c8ad}.rb-events li>div{display:flex;justify-content:space-between;gap:7px;flex-wrap:wrap;align-items:baseline}.rb-events b{font-size:12px;font-weight:600}.rb-events time{font:10px "Segoe UI",sans-serif;color:#5d6b81}.rb-events li>small{display:block;font-size:11px;margin-top:4px}.rb-events li>p{font-size:12px;line-height:1.8;margin-top:8px;color:#5d6b81;white-space:pre-wrap;overflow-wrap:anywhere}
/* Compose: two purposeful sections with a quiet summary rail. */
.rb-form-heading{margin-bottom:20px}.rb-compose{display:grid;grid-template-columns:minmax(0,2.3fr) minmax(230px,1fr);gap:24px;align-items:start}.rb-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.rb-full{grid-column:1/-1}.rb-money-input{position:relative;display:block}.rb-money-input>span{position:absolute;left:13px;top:11px;color:#5d6b81;font-weight:400}.rb-page .rb-money-input input{padding-left:32px;font-family:"Segoe UI",sans-serif;font-weight:600}.rb-material-type{margin-bottom:16px}.rb-material-type>label{max-width:260px}.rb-upload-zone{position:relative;display:flex;align-items:center;gap:15px;border:1px dashed #c9d5e5;border-radius:10px;background:#fafcfe;padding:24px 20px;min-width:0}.rb-upload-zone.is-dragging{border-color:var(--rb-brand);background:var(--rb-brand-soft)}.rb-upload-zone[aria-busy=true]{opacity:.7}.rb-upload-zone>input[type=file]{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);opacity:0;pointer-events:none}.rb-upload-icon{color:#8299b8;display:grid;place-items:center;flex:none;width:40px;height:40px}.rb-upload-icon .rb-icon{width:25px;height:25px}.rb-upload-zone>div{flex:1;min-width:0}.rb-upload-zone b{font-size:12px;font-weight:500}.rb-upload-zone p{font-size:10px;color:#5d6b81;margin-top:6px}.rb-upload-zone>button{min-height:36px;font-size:12px;flex:none}.rb-upload-msg{font-size:11px;color:var(--rb-muted);margin:10px 0 14px!important;min-height:0;overflow-wrap:anywhere}.rb-upload-msg:empty{display:none}.rb-no-invoice{margin-top:22px;position:relative}.rb-no-invoice>small{position:absolute;right:0;top:0;font-size:11px}.rb-summary{padding:23px 24px;border-top:3px solid #c4d2e6;background:#f0f4fa;border-radius:10px;position:sticky;top:20px}.rb-summary>span{font-size:12px;color:var(--rb-muted)}.rb-summary>strong{display:block;font:650 30px/1.5 "Segoe UI",sans-serif;letter-spacing:-.03em;margin:5px 0 17px}.rb-summary>p{display:flex;justify-content:space-between;gap:10px;font-size:12px;padding-bottom:19px;border-bottom:1px solid #dce5f1;color:var(--rb-muted)}.rb-summary>p b{font-weight:500;color:#405774}.rb-summary ol{padding:17px 0 14px;list-style:none;display:grid;gap:15px}.rb-summary li{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:#5d6b81}.rb-summary li b{font-weight:500;color:#4b6485}.rb-summary>small{display:block;font-size:11px;line-height:1.8;padding-top:14px;border-top:1px solid #dce5f1}.rb-form-footer{position:sticky;bottom:0;z-index:3;margin-top:24px;background:#fff;backdrop-filter:blur(10px);border:1px solid var(--rb-line);border-radius:10px;padding:16px 20px;display:flex;justify-content:space-between;align-items:center;gap:20px;box-shadow:0 -5px 18px #1a294205}.rb-form-footer>span{font-size:12px;color:var(--rb-muted)}.rb-form-footer>div{display:flex;gap:12px}.rb-form-footer button{min-width:120px}.rb-allocation{margin-top:17px;border-top:1px solid var(--rb-line);padding-top:10px}.rb-allocation>summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;list-style:none;font-size:12px;color:#4d6b93;min-height:40px}.rb-allocation>summary>.rb-icon{width:14px;height:14px}.rb-allocation[open]>summary>.rb-icon{transform:rotate(90deg)}.rb-allocation>p{font-size:12px;color:var(--rb-muted);margin:8px 0 14px}.rb-target{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) 32px;gap:10px;align-items:end;margin:14px 0}.rb-target label{font-size:11px}.rb-target input,.rb-target select{font-size:12px}.rb-page .rb-remove-target{width:32px;min-height:42px;padding:5px;border:0;color:#8291a6}.rb-allocation-actions{display:flex;gap:10px;margin-top:16px}.rb-allocation-actions button{font-size:12px}.rb-error{padding:14px 18px;border:1px solid #f1c9cd;border-radius:9px;background:#fff4f4;color:#a32f40;margin-top:16px;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}.rb-skeleton{padding:15px 0}.rb-skeleton i{display:block;width:40%;height:24px;border-radius:6px;background:#e8edf4;margin-bottom:20px;animation:rb-pulse 1.4s ease-in-out infinite}.rb-skeleton>i:nth-child(2){width:100%;height:100px}.rb-skeleton>div{background:#fff;padding:30px;border-radius:12px}.rb-skeleton>div i{width:100%;height:70px}.rb-skeleton>div i:last-child{margin:0}@keyframes rb-pulse{50%{opacity:.45}}
@media(max-width:1180px){.rb-table-head,.rb-page .rb-row{grid-template-columns:minmax(160px,2fr) 50px 65px 82px 80px 108px 14px;gap:10px;padding-left:18px;padding-right:18px}.rb-row-title{gap:9px}.rb-row-title b{font-size:13px}.rb-row-title .rb-doc-icon{display:none}.rb-row-amount{font-size:14px}.rb-row-stage{padding-left:4px}.rb-table-head>span:nth-child(6){padding-left:4px}.rb-metric{padding:0 20px;display:flex;flex-direction:column;gap:3px}.rb-progress{gap:12px;padding-inline:24px!important}.rb-progress li:not(:last-child):after{display:none}.rb-progress b{font-size:11px}.rb-progress li{gap:7px}.rb-step-dot{width:25px;height:25px}.rb-detail-layout{grid-template-columns:minmax(0,1.35fr) minmax(290px,1fr);gap:16px}.rb-panel{padding:20px}.rb-compose{grid-template-columns:minmax(0,2fr) 230px;gap:18px}.rb-summary{padding:20px}.rb-upload-zone{flex-wrap:wrap}.rb-upload-zone>button{margin-left:auto}}
@media(max-width:900px){.rb-table-head{display:none}.rb-page .rb-row{grid-template-columns:minmax(0,1fr) auto;gap:7px 14px;padding:19px 22px}.rb-row-title{grid-column:1;grid-row:1;align-self:start}.rb-row-title b{font-size:14px}.rb-row-title small{display:none}.rb-row-title .rb-doc-icon{display:none}.rb-row-person{grid-column:1;grid-row:2;color:#5d6b81;font-size:11px}.rb-row-person:after{content:' · '}.rb-row-date{grid-column:1;grid-row:3;font-size:11px}.rb-row-scope{grid-column:1;grid-row:2;justify-self:start;margin-left:47px;font-size:11px}.rb-row-amount{grid-column:2;grid-row:1;font-size:16px}.rb-row-stage{grid-column:2;grid-row:2/4;padding:0;align-self:start}.rb-row-arrow{display:none}.rb-detail-layout{grid-template-columns:1fr}.rb-detail-aside{position:static;display:contents}.rb-detail-main{display:contents}.rb-detail-layout>.rb-detail-aside>.rb-operation{grid-row:1}.rb-detail-layout>.rb-detail-aside>.rb-history{grid-row:auto}.rb-document-hero{padding:22px 24px}.rb-document-heading{padding-inline:22px}.rb-document-hero :is(h2,h3){font-size:21px}.rb-document-total strong{font-size:30px}.rb-info{margin-inline:24px!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.rb-info>div:nth-child(2){border-right:0}.rb-compose{grid-template-columns:1fr}.rb-compose-aside{display:none}.rb-operation-buttons{justify-content:flex-end}.rb-operation-buttons button{flex:0 1 auto;min-width:130px}.rb-operation .rb-upload-zone{flex-direction:row;text-align:left}.rb-operation .rb-upload-zone>div{flex:1}.rb-operation .rb-upload-icon{display:grid}.rb-operation .rb-attachments{grid-template-columns:repeat(auto-fill,minmax(130px,1fr))}}
@media(max-width:700px){.rb-page{font-size:13px;padding:2px 0 16px}.rb-heading{gap:12px;align-items:center;margin-bottom:19px}.rb-heading :is(h2,h3){font-size:23px}.rb-heading p{font-size:11px;max-width:220px;line-height:1.8;margin-top:6px}.rb-heading>.rb-primary{font-size:12px;white-space:nowrap;padding:10px 12px}.rb-heading .rb-eyebrow{font-size:10px}.rb-role-label{font-size:10px;padding:6px 8px;max-width:96px;white-space:normal;text-align:center}.rb-overview{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:18px;padding:0;overflow:hidden;border:1px solid var(--rb-line);box-shadow:none}.rb-metric{padding:17px 18px;border-right:0;gap:4px;display:grid;grid-template-columns:1fr auto}.rb-metric:nth-child(odd){border-right:1px solid var(--rb-line)}.rb-metric:nth-child(-n+2){border-bottom:1px solid var(--rb-line)}.rb-metric>span{font-size:11px}.rb-metric>strong{font-size:25px}.rb-metric>strong small{font-size:10px;margin-left:5px}.rb-metric>small{font-size:10px;grid-column:1/-1}.rb-register{border-radius:11px}.rb-register-top{display:block;padding:0 15px}.rb-tabs{gap:22px;justify-content:flex-start}.rb-page .rb-tabs button{min-height:51px;padding:14px 0;font-size:12px;gap:6px}.rb-tabs button>span{font-size:10px;padding:1px 5px;min-width:17px}.rb-page .rb-month{padding:10px 0 13px;justify-content:space-between;color:#5d6b81}.rb-page .rb-month input{min-height:34px;width:145px;font-size:11px}.rb-filters{padding:14px 15px 0;gap:8px;flex-wrap:wrap}.rb-page .rb-search{max-width:none;flex:1 1 100%}.rb-page .rb-search input{font-size:12px;min-height:42px}.rb-filters>select{flex:1;font-size:12px;min-height:40px;width:auto}.rb-filters>.rb-text-button{min-height:40px;font-size:11px;padding:6px}.rb-list-caption{font-size:10px;padding:13px 15px 10px;gap:5px}.rb-list-caption b{margin-left:2px}.rb-page .rb-row{padding:18px 15px;gap:8px 10px;min-height:104px}.rb-row-title b{font-size:13px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.65}.rb-row-person,.rb-row-scope,.rb-row-date{font-size:10px}.rb-row-scope{margin-left:42px}.rb-row-amount{font-size:15px;line-height:1.7}.rb-badge{font-size:10px;padding:4px 7px}.rb-empty{padding:40px 18px 46px}.rb-empty :is(h3,h4){font-size:15px}.rb-empty p{font-size:12px}.rb-empty-icon{width:53px;height:58px;border-radius:12px}.rb-policy{font-size:11px;padding-top:9px}.rb-policy>div{gap:16px}.rb-policy>p{font-size:11px}.rb-context{margin-bottom:12px;font-size:10px;gap:8px}.rb-context .rb-text-button{font-size:11px;gap:4px;min-height:32px}.rb-document{border-radius:11px;margin-bottom:15px}.rb-document-heading{padding:12px 16px}.rb-document-heading .rb-text-button{font-size:10px;gap:4px}.rb-document-identity{font-size:10px;gap:5px}.rb-document-identity .rb-doc-icon{width:20px;height:23px}.rb-document-identity .rb-icon{width:17px;height:17px}.rb-document-hero{display:flex;flex-direction:column;padding:19px 17px 18px;gap:17px}.rb-document-status{gap:8px;flex-wrap:wrap;margin-bottom:11px}.rb-document-status>span:last-child{font-size:10px}.rb-document-hero :is(h2,h3){font-size:19px;line-height:1.55}.rb-document-total{text-align:left;padding:0}.rb-document-total>small{font-size:10px;margin-bottom:5px}.rb-document-total strong{font-size:32px}.rb-document-total strong>span{font-size:19px}.rb-info{margin:0 17px 19px!important;gap:16px 10px}.rb-info>div{padding-right:8px}.rb-info dt{font-size:10px;margin-bottom:4px}.rb-info dd{font-size:11px}.rb-progress{padding:18px 13px!important;gap:4px;align-items:start}.rb-progress li{flex-direction:column;gap:8px;text-align:center;min-width:0}.rb-progress .rb-step-dot{width:24px;height:24px;font-size:10px}.rb-progress b{font-size:10px;white-space:nowrap;font-weight:400}.rb-progress small{display:none}.rb-progress li:not(:last-child):after{display:block;right:-25%;top:11px;width:50%}.rb-detail-layout{gap:15px}.rb-panel{padding:19px 17px;border-radius:10px}.rb-section-heading{margin-bottom:18px;gap:6px}.rb-section-heading :is(h3,h4){font-size:14px;gap:8px}.rb-section-heading>small{font-size:10px}.rb-operation{padding:19px 17px}.rb-operation-title{gap:8px;margin-bottom:11px}.rb-operation-title :is(h3,h4){font-size:15px}.rb-operation-symbol{width:28px;height:28px}.rb-operation-symbol>.rb-icon{width:16px;height:16px}.rb-operation>p{font-size:11px;margin-bottom:15px}.rb-operation-buttons{gap:8px;flex-wrap:nowrap}.rb-operation-buttons button{flex:1;min-width:0;font-size:11px;padding:10px 9px}.rb-operation form>small{font-size:10px}.rb-page label{font-size:12px;gap:7px}.rb-page input:not([type=file]),.rb-page select,.rb-page textarea{font-size:13px;min-height:44px;padding:10px}.rb-page textarea{min-height:82px}.rb-operation .rb-grid{grid-template-columns:1fr;gap:14px}.rb-operation .rb-upload-zone{flex-direction:column;text-align:center;padding:17px 12px}.rb-operation .rb-upload-icon{display:none}.rb-operation .rb-upload-zone>button{margin:0}.rb-operation .rb-upload-zone p{font-size:10px}.rb-operation .rb-attachments{grid-template-columns:repeat(2,minmax(0,1fr))}.rb-attachments{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.rb-attachment-preview{height:112px}.rb-attachment-meta{padding:10px}.rb-attachment-meta b{font-size:10px}.rb-attachment-meta small{font-size:10px}.rb-note{font-size:11px;padding:11px 12px}.rb-note>span{font-size:10px}.rb-material-group :is(h4,h5){font-size:11px}.rb-material-group+.rb-material-group{margin-top:19px;padding-top:18px}.rb-allocation-list>div{font-size:12px}.rb-vouchers p{font-size:11px}.rb-vouchers>div{font-size:11px;gap:7px;flex-wrap:wrap}.rb-vouchers strong{font-size:11px}.rb-events li>div{display:block}.rb-events time{display:block;margin-top:3px}.rb-events li>small{font-size:10px}.rb-events li>p{font-size:11px}.rb-history>summary{font-size:12px}.rb-form-heading{margin-bottom:17px}.rb-grid{grid-template-columns:1fr;gap:18px}.rb-compose-main{gap:15px}.rb-section-copy{font-size:11px;line-height:1.9}.rb-upload-zone{display:flex;flex-direction:column;text-align:center;padding:24px 13px;gap:12px}.rb-upload-icon{width:34px;height:30px}.rb-upload-zone>div{flex:auto}.rb-upload-zone b{font-size:11px}.rb-upload-zone p{font-size:10px}.rb-upload-zone>button{margin:0;min-height:40px;width:100%}.rb-material-type>label{max-width:none}.rb-money-input>span{top:11px;left:11px}.rb-page .rb-money-input input{padding-left:29px}.rb-no-invoice>small{font-size:10px}.rb-form-footer{position:sticky;bottom:0;margin-top:15px;display:block;padding:12px;border-radius:10px}.rb-form-footer>span{display:none}.rb-form-footer>div{gap:8px}.rb-form-footer button{min-width:0;flex:1;padding:10px 8px;font-size:11px;min-height:44px;white-space:nowrap}.rb-form-footer button>.rb-icon{width:14px;height:14px}.rb-target{gap:8px;grid-template-columns:minmax(0,1fr) 82px 24px}.rb-target label{font-size:10px}.rb-target input,.rb-target select{font-size:11px;padding:8px}.rb-page .rb-remove-target{width:24px}.rb-allocation-actions{gap:8px}.rb-allocation-actions button{font-size:11px;padding:8px 10px}.rb-error{font-size:12px;padding:12px}.rb-full{grid-column:auto}}
@media(prefers-reduced-motion:reduce){.rb-page *{animation:none!important;transition:none!important;scroll-behavior:auto!important}.rb-page button:active{transform:none}}

/* Native mobile page owns its filters and has no legacy editor chrome. */
.mv2-screen[data-page-key="reimburse-center"] .rb-page{padding:18px 16px 32px;width:100%}
.rb-page .rb-search input[type=search]{padding-left:40px}
@media(max-width:700px){.rb-page .rb-overview{grid-template-columns:repeat(4,minmax(0,1fr));padding:0}.rb-page .rb-metric{display:flex;flex-direction:column;padding:14px 10px;border:0;border-right:1px solid var(--rb-line);gap:4px}.rb-page .rb-metric:last-child{border:0}.rb-page .rb-metric>span{font-size:10px;white-space:nowrap}.rb-page .rb-metric>strong{font-size:24px}.rb-page .rb-metric>small{font-size:9px;white-space:normal;overflow-wrap:anywhere}.rb-page .rb-month input[type=month]{min-height:36px;height:36px;padding:6px 9px;font-size:12px}.rb-page .rb-search input[type=search]{padding-left:40px;font-size:13px}.rb-page .rb-search .rb-icon{top:13px}.rb-page .rb-form input,.rb-page .rb-form select,.rb-page .rb-form textarea,.rb-page .rb-operation input,.rb-page .rb-operation select,.rb-page .rb-operation textarea{font-size:16px}.rb-page .rb-form input,.rb-page .rb-form select,.rb-page .rb-operation input,.rb-page .rb-operation select{min-height:46px}}

/* v658: standard reimbursement line items and readable phone scale. */
.rb-item-head,.rb-item-row{display:grid;grid-template-columns:28px minmax(150px,1.5fr) 115px minmax(100px,1fr) 36px;gap:12px;align-items:center}.rb-item-head{padding:10px 0;font-size:12px;color:var(--rb-muted);border-bottom:1px solid var(--rb-line)}.rb-item-row{padding:14px 0;border-bottom:1px solid var(--rb-line)}.rb-item-number{font:12px "Segoe UI",sans-serif;color:var(--rb-muted)}.rb-item-row label>span{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}.rb-item-row input{font-size:14px}.rb-item-row [data-line-amount]{font-variant-numeric:tabular-nums;text-align:right}.rb-page .rb-item-row button{padding:6px;min-height:36px;width:36px;border-color:transparent;color:#6c7e98}.rb-item-row button:disabled{cursor:not-allowed;opacity:.35}.rb-item-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 0}.rb-item-tools small{font-size:12px}.rb-item-total{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--rb-line);padding:17px 0 10px}.rb-item-total>span{font-size:13px;color:#52667f}.rb-item-total small{margin-left:8px}.rb-item-total strong{font:650 23px "Segoe UI",sans-serif;letter-spacing:-.02em}.rb-uppercase{font-size:12px;color:#5d6b81;line-height:1.8;overflow-wrap:anywhere}.rb-item-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:14px}.rb-item-table th,.rb-item-table td{text-align:left;vertical-align:top;padding:12px 9px;border-bottom:1px solid var(--rb-line);overflow-wrap:anywhere}.rb-item-table th{font-size:12px;font-weight:500;color:var(--rb-muted);background:#f8fafc}.rb-item-table th:first-child{width:46px}.rb-item-table th:nth-child(3){width:115px;text-align:right}.rb-item-table th:nth-child(4){width:28%}.rb-item-table .rb-item-num{font-size:12px;color:var(--rb-muted)}.rb-item-table .rb-item-price{text-align:right;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}.rb-item-table .rb-item-note{color:var(--rb-muted);font-size:13px}.rb-item-detail .rb-item-total{border:0}.rb-form-footer>span b{font:600 19px "Segoe UI",sans-serif;margin-left:7px;color:var(--rb-ink)}
@media(max-width:700px){
.rb-page{font-size:16px;line-height:1.7}.rb-page small,.rb-page .rb-muted{font-size:14px}.rb-page button{font-size:16px;min-height:46px}.rb-page label{font-size:15px}.rb-page label>small{font-size:13px}.rb-page .rb-eyebrow{font-size:13px}.rb-page .rb-heading h2,.rb-page .rb-heading h3{font-size:25px}.rb-page .rb-heading p{font-size:14px;max-width:220px}.rb-page .rb-heading>.rb-primary{font-size:15px;min-height:46px;padding:10px 12px}.rb-page .rb-role-label{font-size:13px;max-width:110px}.rb-page .rb-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.rb-page .rb-metric{display:grid;grid-template-columns:1fr auto;padding:15px 16px;border:0}.rb-page .rb-metric:nth-child(odd){border-right:1px solid var(--rb-line)}.rb-page .rb-metric:nth-child(-n+2){border-bottom:1px solid var(--rb-line)}.rb-page .rb-metric>span{font-size:14px;white-space:normal}.rb-page .rb-metric>strong{font-size:27px}.rb-page .rb-metric>strong small{font-size:13px}.rb-page .rb-metric>small{font-size:13px;grid-column:1/-1}.rb-page .rb-tabs{gap:12px}.rb-page .rb-tabs button{font-size:14px;gap:4px;white-space:normal;padding:13px 0}.rb-page .rb-tabs button>span{font-size:12px;padding:1px 4px}.rb-page .rb-month{font-size:14px}.rb-page .rb-month input[type=month]{font-size:16px;min-height:44px;height:44px;width:161px}.rb-page .rb-search input[type=search]{font-size:16px;min-height:46px;padding-left:40px}.rb-page .rb-search .rb-icon{top:15px}.rb-page .rb-filters>select{font-size:16px;min-height:46px}.rb-page .rb-filters>.rb-text-button{font-size:14px}.rb-page .rb-list-caption{font-size:13px;flex-wrap:wrap}.rb-page .rb-row{padding:19px 15px;gap:8px 10px;min-height:120px}.rb-page .rb-row-title b{font-size:16px;line-height:1.6}.rb-page .rb-row-person,.rb-page .rb-row-date,.rb-page .rb-row-scope{font-size:13px}.rb-page .rb-row-scope{margin-left:54px}.rb-page .rb-row-amount{font-size:18px}.rb-page .rb-badge{font-size:13px;padding:4px 7px;white-space:normal;text-align:center}.rb-page .rb-row-stage{max-width:110px}.rb-page .rb-empty h3,.rb-page .rb-empty h4{font-size:18px}.rb-page .rb-empty p{font-size:15px}.rb-page .rb-policy,.rb-page .rb-policy p{font-size:14px}.rb-page .rb-policy b{font-size:13px}.rb-page .rb-context,.rb-page .rb-context .rb-text-button{font-size:14px}.rb-page .rb-document-identity{font-size:14px}.rb-page .rb-document-heading .rb-text-button{font-size:14px}.rb-page .rb-document-status>span:last-child{font-size:14px}.rb-page .rb-document-hero h2,.rb-page .rb-document-hero h3{font-size:22px}.rb-page .rb-document-total>small{font-size:14px}.rb-page .rb-document-total strong{font-size:34px}.rb-page .rb-info dt{font-size:14px}.rb-page .rb-info dd{font-size:15px;line-height:1.7}.rb-page .rb-progress b{font-size:13px;white-space:normal;overflow-wrap:anywhere;line-height:1.5}.rb-page .rb-progress li>div{max-width:100%}.rb-page .rb-step-dot{font-size:12px}.rb-page .rb-section-heading h3,.rb-page .rb-section-heading h4{font-size:17px}.rb-page .rb-section-heading>small{font-size:13px;flex-shrink:1;text-align:right}.rb-page .rb-section-heading h3>span,.rb-page .rb-section-heading h4>span{font-size:12px}.rb-page .rb-section-copy{font-size:14px}.rb-page .rb-operation-title h3,.rb-page .rb-operation-title h4{font-size:18px}.rb-page .rb-operation>p{font-size:15px}.rb-page .rb-operation-buttons{flex-wrap:wrap}.rb-page .rb-operation-buttons button{font-size:15px;min-height:46px;white-space:normal;flex:1 1 110px}.rb-page .rb-operation form>small{font-size:13px}.rb-page .rb-operation .rb-withdraw{font-size:15px}.rb-page .rb-attachment-meta b,.rb-page .rb-attachment-meta small{font-size:13px}.rb-page .rb-preview-fail{font-size:13px}.rb-page .rb-material-group h4,.rb-page .rb-material-group h5{font-size:15px}.rb-page .rb-material-group h4 span,.rb-page .rb-material-group h5 span{font-size:13px}.rb-page .rb-note,.rb-page .rb-note>span{font-size:14px}.rb-page .rb-upload-zone b{font-size:15px}.rb-page .rb-upload-zone p{font-size:13px}.rb-page .rb-upload-zone button{font-size:15px;min-height:44px}.rb-page .rb-operation .rb-upload-zone b{font-size:15px}.rb-page .rb-operation .rb-upload-zone p,.rb-page .rb-operation .rb-upload-msg{font-size:13px}.rb-page .rb-no-invoice>small{font-size:13px}.rb-page .rb-allocation>summary{font-size:15px}.rb-page .rb-allocation>p,.rb-page .rb-allocation-list>div{font-size:14px}.rb-page .rb-vouchers p,.rb-page .rb-vouchers>div{font-size:14px}.rb-page .rb-vouchers strong{font-size:15px}.rb-page .rb-vouchers small{font-size:13px}.rb-page .rb-history>summary{font-size:16px}.rb-page .rb-events b{font-size:15px}.rb-page .rb-events time,.rb-page .rb-events li>small{font-size:13px}.rb-page .rb-events li>p{font-size:14px}.rb-page .rb-target{grid-template-columns:minmax(0,1fr) 100px 24px}.rb-page .rb-target label{font-size:14px}.rb-page .rb-target input,.rb-page .rb-target select{font-size:16px}.rb-page .rb-allocation-actions{flex-wrap:wrap}.rb-page .rb-allocation-actions button{font-size:15px}.rb-page .rb-form-footer{padding:12px}.rb-page .rb-form-footer>span{display:block;font-size:14px;margin-bottom:10px}.rb-page .rb-form-footer>div{gap:8px}.rb-page .rb-form-footer button{font-size:15px;white-space:normal;min-height:46px}.rb-page .rb-form-footer button>.rb-icon{width:16px;height:16px}.rb-page .rb-error{font-size:15px}.rb-item-head{display:none}.rb-item-row{grid-template-columns:28px minmax(0,1fr) 44px;gap:12px;padding:15px;background:#f8fafc;border:1px solid var(--rb-line);border-radius:10px;margin:14px 0}.rb-item-row .rb-item-number{grid-column:1;grid-row:1;font-size:14px}.rb-item-row label{grid-column:1/-1;gap:7px}.rb-item-row label>span{position:static;width:auto;height:auto;overflow:visible;clip-path:none;font-size:15px}.rb-item-row .rb-line-project{grid-row:2}.rb-item-row .rb-line-price{grid-row:3}.rb-item-row .rb-line-note{grid-row:4}.rb-page .rb-item-row button{grid-column:3;grid-row:1;width:44px;min-height:44px;padding:10px;background:#fff;border:1px solid var(--rb-line)}.rb-item-row input{font-size:16px}.rb-item-row [data-line-amount]{text-align:left}.rb-page .rb-item-tools small{font-size:13px}.rb-page .rb-item-total>span{font-size:15px}.rb-page .rb-item-total strong{font-size:26px}.rb-page .rb-uppercase{font-size:14px}.rb-item-table,.rb-item-table tbody{display:block}.rb-item-table thead{display:none}.rb-item-table tr{display:grid;grid-template-columns:22px minmax(0,1fr) auto;gap:8px 10px;padding:15px 0;border-bottom:1px solid var(--rb-line)}.rb-item-table td{border:0;padding:0;min-width:0}.rb-item-table .rb-item-num{grid-column:1;grid-row:1;font-size:13px}.rb-item-table .rb-item-project{grid-column:2;grid-row:1;font-size:16px}.rb-item-table .rb-item-price{grid-column:3;grid-row:1;font-size:17px}.rb-item-table .rb-item-note{grid-column:2/-1;grid-row:2;font-size:14px;line-height:1.7}
}

@media(max-width:700px){.rb-item-row{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr)}.rb-item-row .rb-item-number{grid-column:1}.rb-page .rb-item-row button{grid-column:2;justify-self:end}.rb-item-row .rb-line-project{grid-column:1/-1;grid-row:2}.rb-item-row .rb-line-price{grid-column:1;grid-row:3}.rb-item-row .rb-line-note{grid-column:2;grid-row:3}.rb-panel{scroll-margin-top:78px}}

/* v659: searchable accounting categories and safe draft removal. */
.rb-category-field{position:relative;display:flex;flex-direction:column;gap:8px;min-width:0}.rb-category-field>span{font-size:13px;font-weight:500;color:#4e5e75}.rb-page [data-rb-category-open]{width:100%;justify-content:space-between;text-align:left;min-height:44px;font-weight:400;padding:10px 12px}.rb-category-popover{position:absolute;top:100%;left:0;right:0;z-index:8;padding:14px;background:#fff;border:1px solid #cbd7e7;border-radius:10px;box-shadow:0 9px 28px #1a294220;min-width:240px}.rb-category-popover label{font-size:13px}.rb-category-popover input{font-size:16px}.rb-category-popover [role=listbox]{max-height:260px;overflow:auto;margin-top:10px;overscroll-behavior:contain}.rb-page .rb-category-popover [role=option]{display:flex;justify-content:space-between;gap:12px;width:100%;min-height:44px;text-align:left;border:0;border-radius:5px;padding:10px;font-size:14px;font-weight:400}.rb-category-popover [role=option] small{font-size:12px;color:#5d6b81}.rb-page .rb-category-popover [aria-selected=true]{background:#fff0e7;color:#a83e07}.rb-category-popover p{padding:12px}.rb-page .rb-delete-trigger{color:#a52f40;margin-top:16px;font-size:14px}.rb-delete-confirm{margin-top:15px;padding:15px;border:1px solid #edcbd0;background:#fff7f7;border-radius:9px}.rb-delete-confirm p{font-size:14px;line-height:1.8;color:#694b54}.rb-delete-confirm>div{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.rb-page .rb-danger-button{color:#fff;background:#a72e40;border-color:#a72e40}.rb-page .rb-danger-button:hover{background:#8e2234}.rb-deleted-note{padding:20px 28px;background:#f8fafc;color:#5d6b81;font-size:14px}
@media(max-width:700px){.rb-category-field>span{font-size:15px}.rb-page [data-rb-category-open]{font-size:16px;min-height:46px}.rb-category-popover{position:static;min-width:0;padding:12px}.rb-category-popover [role=listbox]{max-height:260px}.rb-page .rb-category-popover [role=option]{font-size:16px;min-height:48px;flex-wrap:wrap}.rb-category-popover [role=option] small{font-size:13px}.rb-delete-confirm p{font-size:15px}.rb-delete-confirm>div>button{flex:1;font-size:15px;min-height:46px}.rb-page .rb-delete-trigger{font-size:15px}.rb-deleted-note{font-size:15px;padding:17px}}

.rb-category-groups{padding:10px 0}.rb-category-groups>div{display:flex;flex-wrap:wrap;gap:6px}.rb-category-groups button{min-height:44px;padding:7px 10px;border:1px solid var(--border,#ccd8d0);border-radius:8px;background:var(--card,#fff);font:inherit;cursor:pointer}.rb-category-groups button[aria-pressed="true"]{background:#e4f1e9;border-color:#32745a;color:#174b36}.rb-category-groups>button{margin-top:8px;color:#52665c}.rb-category-groups p{font-size:12px;line-height:1.6;margin:0 0 8px}
.rb-page .rb-batch-footer{position:static;bottom:auto}

.rb-page .rb-batch-line-main:not(label){grid-template-columns:minmax(0,1fr) auto;cursor:default}@media(max-width:640px){.rb-page .rb-batch-line-main:not(label){grid-template-columns:minmax(0,1fr)}}
