
.rp-controls{width:100%;display:grid;gap:14px}.rp-controls #rp-filters{display:grid;grid-template-columns:2fr 1fr 1fr 1fr auto;gap:12px;align-items:end}
.rp-controls #rp-filters label{display:grid;gap:7px;font-size:12px;color:var(--muted)}.rp-controls #rp-filters select,.rp-controls #rp-filters input{width:100%;max-width:none;min-width:0;padding:12px;box-sizing:border-box;font:inherit;font-size:14px;min-height:46px;border:1px solid var(--line);border-radius:10px;background:var(--paper2);color:var(--ink)}
.rp-controls input[type=date]{direction:ltr;color-scheme:dark}.rp-controls button{min-height:44px}.rp-shortcuts,.rp-exports{display:flex;gap:9px;flex-wrap:wrap;align-items:center}.rp-shortcuts button{font-size:12px!important;padding:8px 14px}.rp-shortcuts span{margin-inline-start:auto;color:var(--muted);font-size:12px}.rp-exports button:first-child{background:var(--accent);color:var(--accent-ink)}
.rp-cash-controls{border-top:1px solid var(--line);padding-top:12px}.rp-cash-controls summary{font-size:12px;cursor:pointer;color:var(--muted)}.rp-cash-controls>div{display:flex;flex-wrap:wrap;gap:8px;padding-top:12px}
.rp-document{background:#fff;color:#17392e;border-radius:12px;border:1px solid #dce4df;padding:30px;margin:10px auto 25px;max-width:1120px;box-sizing:border-box;font-family:Arial,sans-serif}
.rp-brand{display:flex;gap:13px;align-items:center;padding:0 0 22px;border-bottom:2px solid #b48b45}.rp-brand img{width:28px;height:45px;object-fit:contain}.rp-brand strong{display:block;letter-spacing:5px;color:#ad8847;font-size:22px}.rp-brand small{display:block;letter-spacing:3px;font-size:9px;margin-top:5px}.rp-brand>span{margin-left:auto;font-size:10px;text-align:right;color:#60736c;line-height:1.6}
.rp-heading{padding:24px 0 20px}.rp-heading h1{font-size:24px;line-height:1.5;margin:0 0 10px}.rp-heading p{font-size:14px;margin:0 0 8px;color:#52665e}.rp-heading small{font-size:11px;color:#52665e}
.rp-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:30px}.rp-cards>div{background:#f1f5f1;border:1px solid #dce4df;border-radius:9px;padding:16px}.rp-cards span{display:block;font-size:11px;line-height:1.6;color:#52665e}.rp-cards strong{display:block;margin-top:12px;font-size:23px;letter-spacing:-.5px}
.rp-section{margin:28px 0}.rp-section h2{font-size:17px;line-height:1.5;margin:0 0 12px}.rp-scroll{overflow:auto}.rp-document table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:12px}.rp-document th{background:#17392e!important;color:#fff!important;font-size:11px;font-weight:600;line-height:1.5}.rp-document td,.rp-document th{padding:12px 10px!important;border-bottom:1px solid #dce4df!important;text-align:left;overflow-wrap:anywhere;vertical-align:top;line-height:1.6}.rp-document tr:nth-child(even) td{background:#f3f6f3}.rp-document .rp-value{font-variant-numeric:tabular-nums}.rp-empty{color:#60736c;text-align:center!important;padding:24px!important}.rp-notes{border-top:1px solid #dce4df;padding-top:15px;color:#60736c;font-size:10px;line-height:1.7}.rp-notes p{margin:6px 0}
.rp-print-frame{position:fixed;left:-12000px;top:0;width:1100px;height:800px;border:0}
[data-theme=light] .rp-controls input[type=date]{color-scheme:light}
@media(max-width:950px){.rp-controls #rp-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.rp-controls #rp-filters label:first-child{grid-column:1/-1}.rp-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.rp-document{padding:16px;border-radius:10px}.rp-brand{gap:8px}.rp-brand strong{font-size:17px;letter-spacing:3px}.rp-brand small{font-size:7px;letter-spacing:2px}.rp-brand>span{font-size:8px}.rp-heading h1{font-size:19px}.rp-cards{gap:8px}.rp-cards>div{padding:12px}.rp-cards strong{font-size:20px}.rp-document table{min-width:650px}.rp-document table:has(colgroup col:last-child:nth-child(2)){min-width:0}.rp-shortcuts span{width:100%;margin:0}.rp-exports{display:grid;grid-template-columns:1fr 1fr}.rp-section h2{font-size:15px}.rp-controls #rp-filters{gap:10px}}
.rp-print-body{margin:0;background:white;font-family:Arial,sans-serif}.rp-print-body .rp-document{border:0;margin:0 auto;padding:0;max-width:none}.rp-print-body .rp-scroll{overflow:visible}
@page{size:A4;margin:14mm}
@media print{.rp-print-body{-webkit-print-color-adjust:exact;print-color-adjust:exact}.rp-document{border:0;border-radius:0;padding:0!important;margin:0;max-width:none}.rp-brand{break-inside:avoid}.rp-section{break-inside:auto}.rp-section h2{break-after:avoid}.rp-document thead{display:table-header-group}.rp-document tr{break-inside:avoid}.rp-document td,.rp-document th{font-size:9px;padding:7px!important}.rp-document table{min-width:0!important}.rp-notes{font-size:8px}.rp-cards{grid-template-columns:repeat(4,1fr)}.rp-cards strong{font-size:18px}}
.rp-thermal{width:72mm;margin:0 auto}.rp-thermal .rp-document{padding:0}.rp-thermal .rp-brand{justify-content:center}.rp-thermal .rp-brand>span{display:none}.rp-thermal .rp-brand strong{font-size:17px}.rp-thermal .rp-heading h1{font-size:16px}.rp-thermal .rp-cards{grid-template-columns:1fr 1fr}.rp-thermal .rp-cards strong{font-size:17px}.rp-thermal .rp-section h2{font-size:14px}.rp-thermal table,.rp-thermal tbody,.rp-thermal tr,.rp-thermal td{display:block;width:auto!important;min-width:0!important}.rp-thermal colgroup,.rp-thermal thead{display:none}.rp-thermal td{padding:4px!important;font-size:11px}.rp-thermal tr{border-bottom:1px dashed #60736c;padding:8px 0}.rp-thermal td:first-child{font-weight:bold}.rp-thermal .rp-notes{font-size:9px}

.rp-thermal td:before{content:attr(data-label);display:block;color:#60736c;font-size:9px;font-weight:normal}.rp-thermal .rp-empty:before{display:none}
.rp-document .rp-brand{position:static;background:#fff;color:#17392e;flex-wrap:nowrap}.rp-document .rp-brand small{color:#9b783a}

.rp-document tfoot{display:table-row-group}.rp-document .rp-total td{font-weight:700;background:#e4ece7!important;color:#17392e;border-top:2px solid #b48b45!important;border-bottom:2px solid #b48b45!important}.rp-thermal .rp-total{border-top:2px solid #17392e;break-inside:avoid}

.rp-thermal tfoot{display:block}

.rp-captain-filter label{display:grid;gap:7px;color:var(--muted);font-size:12px}.rp-captain-filter select{width:100%;min-height:46px;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--paper2);color:var(--ink);font:inherit;font-size:14px;box-sizing:border-box}

/* Bounded reports workspace: fixed frame, independent reading area and export bar. */
html.rp-scroll-lock{overflow:hidden;overscroll-behavior:none}
#wf-page.rp-workspace[open]{position:fixed;inset:0;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;width:min(1240px,96vw);height:94dvh;max-width:96vw;max-height:94dvh;margin:auto;padding:0;overflow:hidden;overscroll-behavior:none;box-sizing:border-box}
#wf-page.rp-workspace>.check-heading{position:static;top:auto;margin:0;padding:12px 20px;display:flex;flex-wrap:nowrap;border-bottom:1px solid var(--line);gap:8px;min-width:0}
#wf-page.rp-workspace>.check-heading h2{flex:1;min-width:0;margin:0;font-size:18px}
#wf-page.rp-workspace>.check-heading .ux-tools{flex:0 0 auto;order:0}
#wf-page.rp-workspace #wf-close{min-width:44px;min-height:44px;padding:8px}
#wf-page.rp-workspace #wf-page-actions{display:block;min-width:0;margin:0;padding:12px 20px;border-bottom:1px solid var(--line);max-height:50dvh;overflow:auto;overscroll-behavior:contain}
#wf-page.rp-workspace .rp-controls{display:block;min-width:0}
#wf-page.rp-workspace .rp-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;align-items:end}
#wf-page.rp-workspace .rp-toolbar>label{display:grid;gap:6px;font-size:12px;min-width:0}
#wf-page.rp-workspace .rp-toolbar select{width:100%;max-width:none;margin:0;min-height:44px;font-size:16px}
#wf-page.rp-workspace .rp-range-summary{grid-column:1/-1;margin:0;font-size:12px;line-height:1.5;color:var(--muted);overflow-wrap:anywhere}
#wf-page.rp-workspace #rp-filter-panel{padding-top:14px;min-width:0}
#wf-page.rp-workspace #rp-filter-panel[hidden]{display:none!important}
#wf-page.rp-workspace #rp-filters{grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:10px}
#wf-page.rp-workspace #rp-filters label:first-child{grid-column:auto}
#wf-page.rp-workspace #rp-filters input,#wf-page.rp-workspace #rp-filters select{margin:0;font-size:16px}
#wf-page.rp-workspace .rp-captain-filter{margin-bottom:12px}
#wf-page.rp-workspace .rp-captain-filter select{max-width:none;margin:0;font-size:16px}
#wf-page.rp-workspace .rp-shortcuts{margin-top:10px}
#wf-page.rp-workspace .rp-cash-controls{margin-top:12px}
#wf-page.rp-workspace #wf-content{min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:16px 20px;overflow-anchor:none;-webkit-overflow-scrolling:touch}
#wf-page.rp-workspace .rp-document{margin:0 auto;max-width:100%;min-width:0}
#wf-page.rp-workspace .rp-scroll{max-width:100%;overscroll-behavior:contain}
#wf-page.rp-workspace>.rp-exports{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0;padding:10px 20px max(10px,env(safe-area-inset-bottom));background:var(--paper);border-top:1px solid var(--line);z-index:5}
#wf-page.rp-workspace>.rp-exports button{min-height:44px;font-size:13px;padding:8px}
#wf-page.rp-workspace #rp-export-status{grid-column:1/-1;font-size:11px;color:var(--muted);min-height:14px}
#wf-page.rp-workspace #hmsRadio{bottom:calc(108px + env(safe-area-inset-bottom));inset-inline-end:16px}
#wf-page.rp-workspace #hmsRadioTalk{width:48px;height:48px;min-width:48px;padding:10px}
@media(max-width:1100px){
 #wf-page.rp-workspace[open]{width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0}
}
@media(max-width:600px){
 #wf-page.rp-workspace>.check-heading{padding:8px 12px}
 #wf-page.rp-workspace>.check-heading h2{font-size:16px}
 #wf-page.rp-workspace>.check-heading .ux-tools button{padding:6px;min-width:36px;font-size:10px}
 #wf-page.rp-workspace #wf-page-actions{padding:10px 12px}
 #wf-page.rp-workspace #rp-filters{grid-template-columns:repeat(2,minmax(0,1fr))}
 #wf-page.rp-workspace #wf-content{padding:12px;scrollbar-gutter:auto}
 #wf-page.rp-workspace>.rp-exports{grid-template-columns:repeat(2,minmax(0,1fr));padding-inline:12px}
 #wf-page.rp-workspace #hmsRadio{bottom:calc(152px + env(safe-area-inset-bottom))}
 #wf-page.rp-workspace .rp-document{padding:14px}
 #wf-page.rp-workspace .rp-brand>span{display:none}
 #wf-page.rp-workspace .rp-heading{padding:16px 0}
 #wf-page.rp-workspace .rp-heading h1{font-size:18px}
 #wf-page.rp-workspace .rp-cards{margin-bottom:18px}
 #wf-page.rp-workspace .rp-section{margin:20px 0}
 #wf-page.rp-workspace .rp-document table{min-width:0!important}
 #wf-page.rp-workspace table:not(:has(colgroup col:last-child:nth-child(2))){display:block}
 #wf-page.rp-workspace table:not(:has(colgroup col:last-child:nth-child(2))) colgroup,
 #wf-page.rp-workspace table:not(:has(colgroup col:last-child:nth-child(2))) thead{display:none}
 #wf-page.rp-workspace table:not(:has(colgroup col:last-child:nth-child(2))) tbody,
 #wf-page.rp-workspace table:not(:has(colgroup col:last-child:nth-child(2))) tfoot{display:block}
 #wf-page.rp-workspace table:not(:has(colgroup col:last-child:nth-child(2))) tr{display:block;margin-bottom:12px;border:1px solid #dce4df;border-radius:9px;overflow:hidden}
 #wf-page.rp-workspace table:not(:has(colgroup col:last-child:nth-child(2))) td{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;width:auto;padding:9px 10px!important;text-align:right;min-width:0;overflow-wrap:anywhere}
 #wf-page.rp-workspace table:not(:has(colgroup col:last-child:nth-child(2))) td:before{content:attr(data-label);text-align:left;color:#52665e;font-size:10px;font-weight:400}
 #wf-page.rp-workspace table:not(:has(colgroup col:last-child:nth-child(2))) td.rp-empty{display:block;text-align:center}
 #wf-page.rp-workspace .rp-empty:before{display:none}
}

/* CSP-safe report column widths; shared by screen and print. */
.rp-document col.rp-w-1{width:1%}.rp-document col.rp-w-2{width:2%}.rp-document col.rp-w-3{width:3%}.rp-document col.rp-w-4{width:4%}.rp-document col.rp-w-5{width:5%}.rp-document col.rp-w-6{width:6%}.rp-document col.rp-w-7{width:7%}.rp-document col.rp-w-8{width:8%}.rp-document col.rp-w-9{width:9%}.rp-document col.rp-w-10{width:10%}.rp-document col.rp-w-11{width:11%}.rp-document col.rp-w-12{width:12%}.rp-document col.rp-w-13{width:13%}.rp-document col.rp-w-14{width:14%}.rp-document col.rp-w-15{width:15%}.rp-document col.rp-w-16{width:16%}.rp-document col.rp-w-17{width:17%}.rp-document col.rp-w-18{width:18%}.rp-document col.rp-w-19{width:19%}.rp-document col.rp-w-20{width:20%}.rp-document col.rp-w-21{width:21%}.rp-document col.rp-w-22{width:22%}.rp-document col.rp-w-23{width:23%}.rp-document col.rp-w-24{width:24%}.rp-document col.rp-w-25{width:25%}.rp-document col.rp-w-26{width:26%}.rp-document col.rp-w-27{width:27%}.rp-document col.rp-w-28{width:28%}.rp-document col.rp-w-29{width:29%}.rp-document col.rp-w-30{width:30%}.rp-document col.rp-w-31{width:31%}.rp-document col.rp-w-32{width:32%}.rp-document col.rp-w-33{width:33%}.rp-document col.rp-w-34{width:34%}.rp-document col.rp-w-35{width:35%}.rp-document col.rp-w-36{width:36%}.rp-document col.rp-w-37{width:37%}.rp-document col.rp-w-38{width:38%}.rp-document col.rp-w-39{width:39%}.rp-document col.rp-w-40{width:40%}.rp-document col.rp-w-41{width:41%}.rp-document col.rp-w-42{width:42%}.rp-document col.rp-w-43{width:43%}.rp-document col.rp-w-44{width:44%}.rp-document col.rp-w-45{width:45%}.rp-document col.rp-w-46{width:46%}.rp-document col.rp-w-47{width:47%}.rp-document col.rp-w-48{width:48%}.rp-document col.rp-w-49{width:49%}.rp-document col.rp-w-50{width:50%}.rp-document col.rp-w-51{width:51%}.rp-document col.rp-w-52{width:52%}.rp-document col.rp-w-53{width:53%}.rp-document col.rp-w-54{width:54%}.rp-document col.rp-w-55{width:55%}.rp-document col.rp-w-56{width:56%}.rp-document col.rp-w-57{width:57%}.rp-document col.rp-w-58{width:58%}.rp-document col.rp-w-59{width:59%}.rp-document col.rp-w-60{width:60%}.rp-document col.rp-w-61{width:61%}.rp-document col.rp-w-62{width:62%}.rp-document col.rp-w-63{width:63%}.rp-document col.rp-w-64{width:64%}.rp-document col.rp-w-65{width:65%}.rp-document col.rp-w-66{width:66%}.rp-document col.rp-w-67{width:67%}.rp-document col.rp-w-68{width:68%}.rp-document col.rp-w-69{width:69%}.rp-document col.rp-w-70{width:70%}.rp-document col.rp-w-71{width:71%}.rp-document col.rp-w-72{width:72%}.rp-document col.rp-w-73{width:73%}.rp-document col.rp-w-74{width:74%}.rp-document col.rp-w-75{width:75%}.rp-document col.rp-w-76{width:76%}.rp-document col.rp-w-77{width:77%}.rp-document col.rp-w-78{width:78%}.rp-document col.rp-w-79{width:79%}.rp-document col.rp-w-80{width:80%}.rp-document col.rp-w-81{width:81%}.rp-document col.rp-w-82{width:82%}.rp-document col.rp-w-83{width:83%}.rp-document col.rp-w-84{width:84%}.rp-document col.rp-w-85{width:85%}.rp-document col.rp-w-86{width:86%}.rp-document col.rp-w-87{width:87%}.rp-document col.rp-w-88{width:88%}.rp-document col.rp-w-89{width:89%}.rp-document col.rp-w-90{width:90%}.rp-document col.rp-w-91{width:91%}.rp-document col.rp-w-92{width:92%}.rp-document col.rp-w-93{width:93%}.rp-document col.rp-w-94{width:94%}.rp-document col.rp-w-95{width:95%}.rp-document col.rp-w-96{width:96%}.rp-document col.rp-w-97{width:97%}.rp-document col.rp-w-98{width:98%}.rp-document col.rp-w-99{width:99%}.rp-document col.rp-w-100{width:100%}

#wf-page.rp-workspace #rp-prepare{grid-column:1/-1} #wf-page.rp-workspace #rp-prepare[hidden]{display:none}
