/* Cinnabar / warm-gold POS workspace: one revenue path, supporting detail. */
/* Narrow screens keep useful explanations readable, with table scrolling
   confined to each table rather than shrinking financial labels. */
.pos-sales-entry{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:20px;margin:0 0 18px;background:#fff9ef}.pos-sales-entry>div:first-child{flex:1;min-width:0}.pos-sales-entry h2{font-size:15px;line-height:1.6}.pos-sales-entry p{font-size:11px;color:var(--muted);line-height:1.9;margin-top:6px;max-width:700px}.pos-sales-entry>div:last-child{display:flex;flex-wrap:wrap;gap:9px;flex:none}.pos-sales-entry .btn{font-size:12px}
@media(max-width:950px){.pos-sales-entry{align-items:flex-start;flex-direction:column;gap:15px}}@media(max-width:760px){.pos-sales-entry{padding:16px;margin-bottom:15px}.pos-sales-entry h2{font-size:13px}.pos-sales-entry p{font-size:10px}.pos-sales-entry>div:last-child{width:100%}.pos-sales-entry .btn{font-size:11px;flex:1;justify-content:center;min-height:40px}}
.pos-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));list-style:none;margin:0 0 20px;padding:0;gap:12px}.pos-steps[hidden]{display:none}.pos-steps li{display:flex;align-items:center;gap:11px;padding:13px 16px;border:1px solid var(--line);border-radius:8px;background:#fff}.pos-steps b{width:29px;height:29px;display:grid;place-items:center;border-radius:50%;background:#f2ece2;color:var(--muted);font-size:12px;flex:none}.pos-steps strong,.pos-steps small{display:block}.pos-steps strong{font-size:12px}.pos-steps small{font-size:10px;color:var(--muted);margin-top:4px;line-height:1.5}.pos-steps .is-current{border-color:#c8a07c;background:#fff8ef}.pos-steps .is-current b,.pos-steps .is-done b{background:var(--brand);color:#fff}.pos-import-panel,.pos-review-panel,.pos-detail-panel,.pos-history{padding:22px;margin-bottom:18px;min-width:0}.pos-import-panel[hidden]{display:none}.pos-section-title{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:17px}.pos-section-title h2,.pos-detail-panel h2,.pos-batch-heading h2{font-size:16px;line-height:1.5}.pos-section-title h3{font-size:14px}.pos-section-title p,.pos-batch-heading p{font-size:11px;line-height:1.8;color:var(--muted);margin-top:5px}.pos-section-title>.btn,.pos-section-title>.pos-status{flex:none}.pos-status{display:inline-flex;padding:4px 8px;border-radius:4px;color:#845822;background:#f9edcf;font-size:10px;line-height:1.5;white-space:nowrap}.pos-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:18px 0}.pos-form-grid .field{min-width:0;font-size:12px;line-height:1.6}.pos-form-grid input,.pos-dish-filters input,.pos-dish-filters select,.pos-batch-heading select{width:100%;min-width:0;min-height:41px;font-size:13px;padding:8px 10px}.pos-form-grid small{font-size:10px;color:var(--muted);line-height:1.65;font-weight:400}.pos-file-inputs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.pos-file-input{padding:16px;border:1px dashed #ccbda8;border-radius:8px;display:flex;flex-direction:column;gap:10px;min-width:0;background:#fffdf8}.pos-file-input>span{display:flex;align-items:center;gap:9px}.pos-file-input strong{font-size:13px}.pos-file-input em{font-size:10px;line-height:1.5;color:var(--brand);font-style:normal;background:#f9e9df;padding:2px 5px;border-radius:3px}.pos-file-input>small{font-size:10px;line-height:1.75;color:var(--muted);min-height:36px}.pos-file-input input{font-size:11px;min-width:0;width:100%;margin-top:auto}.pos-file-input input::file-selector-button{padding:7px 9px;margin-right:7px;border:1px solid var(--line);background:#fff;color:var(--brand);border-radius:4px;cursor:pointer;font-size:11px}.pos-hint{font-size:11px;line-height:1.85;color:var(--muted);margin:12px 0}.pos-form-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:18px}.pos-form-actions .btn{justify-content:center}.pos-equation{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:13px 0 18px}.pos-equation>div{padding:15px 12px;border:1px solid var(--line);border-radius:7px;background:#fff}.pos-equation span{display:block;font-size:10px;color:var(--muted)}.pos-equation strong{display:block;font-size:20px;letter-spacing:-.4px;margin-top:8px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;line-height:1.4}.pos-equation .pos-equation-result{background:var(--brand);color:white;border-color:var(--brand)}.pos-equation-result span{color:#f8ddd2}.pos-day-preview{padding:19px 0;border-top:1px solid var(--line)}.pos-day-preview>.pos-section-title{align-items:center;margin-bottom:11px}.pos-pending{display:flex;gap:14px;align-items:flex-start;padding:13px 15px;background:#fff7e7;border:1px solid #eddbb9;border-radius:7px;margin:16px 0}.pos-pending>.pos-status{flex:none;background:#f1dfb7}.pos-pending p{font-size:11px;line-height:1.85;color:#806132;margin:0}.pos-checks{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:12px 0}.pos-checks>div{padding:11px 13px;background:#faf7f1;border-radius:6px}.pos-checks span,.pos-checks small{display:block}.pos-checks span{font-size:11px;color:var(--ink)}.pos-checks small{font-size:10px;color:var(--muted);line-height:1.7;margin-top:4px}.pos-channel-details{margin-top:15px}.pos-channel-details summary,.pos-notes summary,.pos-source-panel summary{font-size:12px;cursor:pointer;line-height:1.8;color:var(--brand)}.pos-channel-details[open] summary{margin-bottom:12px}.pos-table-wrap{overflow-x:auto;max-width:100%;border:1px solid var(--line);border-radius:7px;scrollbar-width:thin}.pos-table{width:100%;border-collapse:collapse;font-size:11px;min-width:500px}.pos-table th,.pos-table td{padding:12px 13px;border-bottom:1px solid #efe8dc;text-align:right;font-variant-numeric:tabular-nums;line-height:1.65;vertical-align:middle}.pos-table thead th{background:#faf5eb;color:var(--muted);font-size:10px;font-weight:500;white-space:nowrap}.pos-table th:first-child{text-align:left}.pos-table tbody th{font-weight:500}.pos-table tbody tr:last-child>*{border-bottom:0}.pos-table tbody strong{font-weight:600}.pos-table td small,.pos-table th small{display:block;color:var(--muted);font-size:10px;line-height:1.6;margin-top:3px}.pos-table .pos-zero{color:#966021}.pos-conflict{padding:13px 15px;margin-top:14px;border:1px solid #d9b29d;background:#fff4ee;border-radius:6px;font-size:11px;color:#884738;line-height:1.8}.pos-conflict p{margin-top:5px}.pos-notes{margin:16px 0;background:#fffaf1;border:1px solid var(--line);border-radius:7px;padding:13px 15px}.pos-notes ul{font-size:11px;color:var(--muted);line-height:1.9;padding-left:20px;margin:10px 0 0}.pos-confirm-area{border-top:1px solid var(--line);margin-top:18px;padding-top:16px}.pos-confirm-area .check-label{font-size:12px;line-height:1.8;margin:10px 0;align-items:flex-start}.pos-confirm-area .check-label input{flex:none;margin-top:4px}.pos-confirm-area .form-error:not(:empty){margin:12px 0}.pos-file-list{display:grid;gap:10px;margin-top:14px}.pos-file-list>div{border-top:1px solid var(--line);padding-top:10px;display:grid;grid-template-columns:130px minmax(0,1fr) auto;gap:10px;align-items:start;font-size:11px;line-height:1.7}.pos-file-list>div:first-child{border:0;padding-top:0}.pos-file-list span,.pos-file-list small{color:var(--muted);font-size:10px}.pos-file-list strong{font-weight:500;overflow-wrap:anywhere}.pos-batches{border-top:1px solid var(--line)}.pos-batch{display:flex;align-items:center;gap:18px;padding:19px 0;border-bottom:1px solid var(--line)}.pos-batch:last-child{border-bottom:0;padding-bottom:0}.pos-batch>div:first-child{flex:1;min-width:0}.pos-batch strong{display:block;font-size:14px;line-height:1.6;overflow-wrap:anywhere}.pos-batch small{display:block;font-size:10px;color:var(--muted);line-height:1.7;margin-top:4px}.pos-batch-amount{text-align:right;flex:none}.pos-batch-amount>span{font-size:10px;color:var(--muted)}.pos-batch-amount>strong{color:var(--brand);font-size:21px;margin-top:4px}.pos-batch>.icon{width:15px;height:15px;color:var(--muted);flex:none}.pos-batch.is-replaced{opacity:.66}.pos-empty{text-align:center;padding:26px 20px 18px}.pos-empty>.icon{width:35px;height:35px;color:#b18459;margin-bottom:12px}.pos-empty h3{font-size:16px}.pos-empty p{font-size:12px;line-height:1.9;color:var(--muted);margin:10px auto 18px;max-width:460px}.pos-bottom-links{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:19px 0}.pos-bottom-links>a,.pos-detail-top>a{font-size:12px;color:var(--brand);display:flex;align-items:center;gap:5px}.pos-bottom-links .icon,.pos-detail-top .icon{width:13px;height:13px}.pos-detail-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;gap:12px}.pos-batch-heading{padding:18px 22px;margin:15px 0;display:flex;align-items:center;justify-content:space-between;gap:20px}.pos-batch-heading>.field{font-size:10px;min-width:180px}.pos-dish-note{padding:12px 14px;font-size:11px;line-height:1.85;color:#806132;background:#fff6e5;border-radius:6px;margin-bottom:16px}.pos-dish-filters{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:14px;margin-bottom:16px;max-width:640px}.pos-dish-filters .field{font-size:11px;min-width:0}.pos-dish-table{min-width:600px}.pos-dish-table td:last-child{text-align:left;font-size:10px;width:190px}.pos-dish-table tbody th{max-width:240px;min-width:155px}.pos-dish-table .pos-no-match{text-align:center;padding:28px;color:var(--muted)}.pos-pagination{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:13px}.pos-pagination>small{font-size:10px;color:var(--muted)}.pos-pagination>div{display:flex;gap:8px}.pos-pagination button{font-size:10px;min-height:30px}.pos-source-panel{padding:16px 20px}.pos-source-panel summary{font-weight:600}.pos-source-panel .pos-hint{margin-bottom:0}#pos-preview{scroll-margin-top:22px}.pos-import-panel :focus-visible,.pos-review-panel :focus-visible,.pos-detail-panel :focus-visible{outline:2px solid #a95c3c;outline-offset:3px}
@media(max-width:1200px){.pos-equation{grid-template-columns:repeat(3,minmax(0,1fr))}.pos-equation .pos-equation-result{grid-column:span 2}.pos-file-inputs{grid-template-columns:1fr}.pos-file-input>small{min-height:0}.pos-file-input{display:grid;grid-template-columns:1fr 1.2fr;gap:8px 16px}.pos-file-input>small{grid-column:1;grid-row:2}.pos-file-input>input{grid-column:2;grid-row:1/3;align-self:center;margin:0}.pos-steps li{padding:12px}.pos-steps small{font-size:9px}}
@media(max-width:760px){.pos-steps{gap:6px;margin-bottom:15px}.pos-steps li{padding:10px 7px;gap:6px;flex-direction:column;align-items:flex-start}.pos-steps b{width:23px;height:23px;font-size:10px}.pos-steps strong{font-size:10px}.pos-steps small{font-size:9px;line-height:1.65;margin-top:4px}.pos-import-panel,.pos-review-panel,.pos-detail-panel,.pos-history{padding:16px;margin-bottom:14px}.pos-section-title{gap:10px;margin-bottom:14px;flex-wrap:wrap}.pos-section-title h2,.pos-detail-panel h2,.pos-batch-heading h2{font-size:14px}.pos-section-title p,.pos-batch-heading p{font-size:10px}.pos-section-title h3{font-size:13px}.pos-status{font-size:9px;white-space:normal}.pos-form-grid{grid-template-columns:1fr;gap:15px;margin:15px 0}.pos-form-grid .field{font-size:11px}.pos-form-grid input,.pos-dish-filters input,.pos-dish-filters select,.pos-batch-heading select{font-size:16px;min-height:43px}.pos-file-inputs{gap:10px;margin:15px 0}.pos-file-input{display:flex;padding:13px;gap:8px}.pos-file-input strong{font-size:12px}.pos-file-input>input{font-size:11px;margin-top:3px}.pos-file-input input::file-selector-button{padding:8px 10px}.pos-hint{font-size:10px}.pos-form-actions{gap:8px}.pos-form-actions .btn{font-size:12px;min-height:40px}.pos-form-actions>.btn:first-child{flex:1}.pos-equation{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pos-equation>div{padding:12px 10px}.pos-equation span{font-size:9px}.pos-equation strong{font-size:21px;margin-top:7px}.pos-equation .pos-equation-result{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:14px}.pos-equation-result strong{font-size:24px;margin-top:0}.pos-equation-result span{font-size:11px}.pos-day-preview{padding:16px 0}.pos-pending{padding:12px;flex-direction:column;gap:7px;margin:13px 0}.pos-pending p{font-size:10px}.pos-checks{gap:8px}.pos-checks>div{padding:10px}.pos-checks span{font-size:10px}.pos-checks small{font-size:9px}.pos-table{font-size:10px;min-width:450px}.pos-table th,.pos-table td{padding:10px}.pos-table thead th{font-size:9px}.pos-table th small,.pos-table td small{font-size:9px}.pos-channel-details summary,.pos-notes summary,.pos-source-panel summary{font-size:11px}.pos-notes{padding:12px}.pos-notes ul,.pos-conflict{font-size:10px}.pos-confirm-area .check-label{font-size:11px;gap:9px}.pos-file-list>div{grid-template-columns:1fr;gap:3px}.pos-file-list strong{font-size:11px}.pos-file-list>div>span{font-size:9px}.pos-batch{gap:8px;padding:15px 0;align-items:flex-start}.pos-batch strong{font-size:12px}.pos-batch small{font-size:9px}.pos-batch-amount>strong{font-size:19px;line-height:1.5}.pos-batch-amount>span{font-size:9px}.pos-batch>.icon{display:none}.pos-empty{padding:16px 4px}.pos-empty h3{font-size:14px}.pos-empty p{font-size:11px}.pos-bottom-links>a,.pos-detail-top>a{font-size:11px}.pos-batch-heading{padding:15px;align-items:stretch;flex-direction:column;gap:13px}.pos-batch-heading>.field{min-width:0;font-size:11px}.pos-dish-note{font-size:10px;padding:10px 12px}.pos-dish-filters{grid-template-columns:minmax(0,1fr) 135px;gap:10px}.pos-dish-filters select{font-size:13px}.pos-dish-filters .field{font-size:10px}.pos-dish-table{min-width:555px}.pos-dish-table td:last-child{font-size:9px;min-width:170px}.pos-pagination{gap:7px}.pos-pagination>small{font-size:9px}.pos-pagination button{font-size:9px;padding:5px 8px}.pos-source-panel{padding:14px}.pos-section-title>.btn{font-size:10px}.pos-detail-panel .pos-table-wrap{margin:0}.pos-detail-top{gap:8px}}

@media(max-width:760px){
  .pos-section-title h2,.pos-detail-panel h2,.pos-batch-heading h2,.pos-empty h3,.pos-sales-entry h2{font-size:16px}
  .pos-section-title h3{font-size:15px}
  .pos-steps strong,.pos-steps b,.pos-form-grid .field,.pos-batch-heading>.field,.pos-dish-filters .field{font-size:12px}
  .pos-steps small{font-size:11px;line-height:1.7}
  .pos-section-title p,.pos-batch-heading p,.pos-sales-entry p,.pos-form-grid small,.pos-file-input>small,
  .pos-hint,.pos-pending p,.pos-checks span,.pos-checks small,.pos-notes ul,.pos-conflict,
  .pos-dish-note,.pos-confirm-area .check-label,.pos-empty p{font-size:12px;line-height:1.85;overflow-wrap:anywhere}
  .pos-status,.pos-file-input em{font-size:11px;line-height:1.6}
  .pos-file-input strong,.pos-file-input>input,.pos-file-input input::file-selector-button{font-size:12px}
  .pos-equation span,.pos-equation-result span{font-size:12px;line-height:1.6}
  .pos-equation strong,.pos-equation-result strong,.pos-batch-amount>strong{font-size:24px}
  .pos-equation-result strong{white-space:nowrap;flex:none}
  .pos-table,.pos-table thead th,.pos-table th small,.pos-table td small,.pos-dish-table td:last-child{font-size:12px;line-height:1.75}
  .pos-table{min-width:525px}
  .pos-dish-table{min-width:650px}
  .pos-dish-table td:last-child{min-width:200px}
  .pos-table-wrap::before{content:'表格可左右滑动 →';display:block;position:sticky;left:0;width:100%;box-sizing:border-box;padding:9px 11px;background:#fff3db;border-bottom:1px solid #ead3ad;color:#805821;font-size:12px;font-weight:600;line-height:1.6;text-align:left}
  .pos-channel-details summary,.pos-notes summary,.pos-source-panel summary{font-size:12px;line-height:1.8}
  .pos-file-list strong,.pos-file-list>div>span,.pos-file-list small{font-size:12px;line-height:1.8;overflow-wrap:anywhere}
  .pos-batch strong{font-size:14px}
  .pos-batch small,.pos-batch-amount>span,.pos-pagination>small,.pos-bottom-links>a,.pos-detail-top>a{font-size:12px;line-height:1.75}
  .pos-batch-amount>strong{font-size:24px}
  .pos-pagination{align-items:flex-start;flex-wrap:wrap}
  .pos-pagination button,.pos-section-title>.btn,.pos-sales-entry .btn{font-size:12px;min-height:36px}
  .pos-form-actions .btn{font-size:13px}
}

/* One main amount; optional explanations stay out of the first read. */
.pos-income-result{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 20px;border:1px solid #d9b99b;border-radius:9px;background:#fff6eb;margin:12px 0}.pos-income-result span,.pos-income-result small{display:block}.pos-income-result span{font-size:15px;font-weight:600}.pos-income-result small{font-size:12px;color:var(--muted);line-height:1.8;margin-top:5px}.pos-income-result strong{font-size:28px;line-height:1.5;color:var(--brand);white-space:nowrap}.pos-equation-details>summary,.pos-extra-files>summary{font-size:14px;line-height:1.8;color:var(--brand);cursor:pointer;font-weight:600}.pos-equation-details{margin:12px 0 18px}.pos-equation span small{display:block;font-size:11px;line-height:1.6;margin-top:4px;opacity:.8}.pos-main-files{grid-template-columns:1fr!important}.pos-extra-files{border-top:1px solid var(--line);padding-top:15px;margin-top:18px}.pos-extra-files[open]>summary{margin-bottom:12px}.pos-extra-files .pos-file-inputs{grid-template-columns:repeat(2,minmax(0,1fr))}.pos-extra-files>.field{font-size:14px;max-width:500px;gap:8px}.pos-extra-files input[type=date]{min-height:42px;font-size:14px}.pos-extra-files .field small{font-size:13px;line-height:1.8;color:var(--muted)}
.pos-form-grid .field,.pos-file-input strong,.pos-form-actions .btn,.pos-section-title p,.pos-section-title>.btn,.pos-empty p,.pos-pending p,.pos-hint,.pos-confirm-area .check-label{font-size:14px;line-height:1.85}.pos-form-grid small,.pos-file-input>small,.pos-checks span,.pos-checks small,.pos-notes ul,.pos-conflict,.pos-dish-note,.pos-batch small,.pos-bottom-links>a{font-size:13px;line-height:1.85}.pos-form-actions .btn{min-height:44px}.pos-section-title h2,.pos-detail-panel h2{font-size:18px}.pos-steps strong{font-size:14px}.pos-steps small{font-size:12px}.pos-file-input{gap:10px}.pos-file-input input,.pos-file-input input::file-selector-button{font-size:13px;min-height:38px}
@media(max-width:760px){.pos-income-result{align-items:flex-start;flex-direction:column;gap:8px;padding:16px}.pos-income-result strong{font-size:28px}.pos-income-result span{font-size:15px}.pos-income-result small{font-size:13px}.pos-extra-files .pos-file-inputs{grid-template-columns:1fr}.pos-extra-files input[type=date],.pos-form-grid input{font-size:16px;min-height:44px}.pos-steps strong{font-size:13px}.pos-steps small{font-size:11px}.pos-steps li{gap:7px}.pos-form-actions .btn{width:100%;justify-content:center}.pos-equation .pos-equation-result{align-items:flex-start;flex-direction:column}.pos-section-title h2,.pos-detail-panel h2{font-size:17px}.pos-extra-files>summary,.pos-equation-details>summary{font-size:14px}}

/* The current panel explains the task; the phone stepper only shows progress. */
.pos-step-short{display:none}
.pos-steps{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:760px){
 .pos-steps{gap:6px;margin-bottom:14px}
 .pos-steps li{min-width:0;min-height:44px;flex-direction:row;align-items:center;justify-content:center;padding:9px 6px;gap:6px}
 .pos-steps li>span{min-width:0}.pos-steps b{width:22px;height:22px;font-size:11px}
 .pos-steps strong{font-size:13px;line-height:1.5}
 .pos-steps .pos-step-full,.pos-steps small{display:none}.pos-steps .pos-step-short{display:inline}
 .pos-section-title{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;align-items:start}
 .pos-section-title>div{min-width:0}.pos-section-title p{font-size:13px;line-height:1.7;margin-top:6px;overflow-wrap:anywhere}
 .pos-section-title>.pos-status{justify-self:start;max-width:100%;white-space:normal;line-height:1.6}
 .pos-section-title>.btn{width:100%;min-height:44px;justify-content:center;white-space:normal;line-height:1.6}
 .pos-form-grid{gap:13px}.pos-form-grid .field{font-size:14px;line-height:1.6;gap:6px}
 .pos-file-input{padding:14px;gap:8px}.pos-file-input>span{flex-wrap:wrap;gap:7px}
 .pos-file-input>small,.pos-hint,.pos-pending p,.pos-dish-note,.pos-checks small,.pos-checks span{font-size:13px;line-height:1.7}
 .pos-file-input input{min-height:44px;max-width:100%;font-size:13px}.pos-file-input input::file-selector-button{min-height:40px}
 .pos-extra-files>summary,.pos-equation-details>summary{font-size:14px;line-height:1.7;padding:3px 0}
 .pos-extra-files>.field{margin-top:12px;min-width:0;line-height:1.6}
 .pos-checks{grid-template-columns:minmax(0,1fr);gap:7px}.pos-checks>div{padding:11px 12px}
 .pos-income-result strong{max-width:100%;white-space:normal;overflow-wrap:anywhere}
 .pos-batch{display:block;padding:16px 0}.pos-batch>div:first-child>strong{font-size:15px;line-height:1.6}
 .pos-batch small{line-height:1.7;overflow-wrap:anywhere}
 .pos-batch-amount{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2px 12px;text-align:left;margin-top:11px;padding-top:10px;border-top:1px solid #efe5da}
 .pos-batch-amount>span{grid-column:1;grid-row:1;font-size:12px;line-height:1.6}
 .pos-batch-amount>small{grid-column:1;grid-row:2;margin:0;font-size:12px}
 .pos-batch-amount>strong{grid-column:2;grid-row:1/3;margin:0;max-width:180px;font-size:23px;overflow-wrap:anywhere;text-align:right}
 .pos-dish-filters{grid-template-columns:minmax(0,1fr);gap:11px}.pos-dish-filters .field{font-size:13px;gap:6px}.pos-dish-filters select{font-size:16px}
 .pos-form-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
 .pos-form-actions>.btn{min-width:0;width:100%;min-height:44px;font-size:14px;white-space:normal;line-height:1.6;padding:10px 12px}
 .pos-pagination{display:grid;grid-template-columns:minmax(0,1fr);gap:9px}.pos-pagination>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pos-pagination .btn{min-height:44px;justify-content:center}
 .pos-bottom-links{display:grid;grid-template-columns:minmax(0,1fr);gap:0;border-top:1px solid var(--line);padding-top:6px}
 .pos-bottom-links>a{min-height:44px;font-size:13px;line-height:1.6;overflow-wrap:anywhere}
 .pos-confirm-area .check-label{font-size:13px;line-height:1.7;gap:9px}.pos-confirm-area .check-label input{margin-top:4px}
}

/* Import review keeps source figures separate from confirmed operating income. */
.pos-auto-file{display:flex;flex-direction:column;align-items:stretch;padding:20px;background:#fffaf4;border:1px dashed #cfae92;border-radius:12px}
.pos-auto-file>input{width:100%;margin-top:4px}
.pos-selected-files{display:grid;gap:7px;margin:12px 0}
.pos-selected-files>div{display:flex;gap:12px;justify-content:space-between;font-size:13px;color:#746457;line-height:1.7}
.pos-selected-files strong{font-weight:500;overflow-wrap:anywhere;min-width:0}.pos-selected-files span{flex:none}
.pos-file-purpose{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0}
.pos-file-purpose>span{display:block;background:#f8f3ec;border-radius:8px;padding:12px;font-size:12px;color:#7a695a;line-height:1.7}
.pos-file-purpose b{display:block;color:#493d33;font-size:13px;margin-bottom:3px}
.pos-recognized-files{padding:16px;border:1px solid var(--line);border-radius:10px;background:#fcfaf6;margin:16px 0 22px}
.pos-recognized-files h3,.pos-special-reviews h3,.pos-return-evidence h3,.pos-confirm-area h3{font-size:16px;line-height:1.6;margin:0 0 10px}
.pos-special-reviews{padding:18px;border:1px solid #e2c699;border-radius:11px;background:#fff8e9;margin:20px 0}
.pos-review-item{background:#fff;border:1px solid #eadccc;border-radius:9px;padding:15px;margin-top:13px;min-width:0}
.pos-review-item-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px;line-height:1.7}
.pos-review-item-heading strong{font-size:15px;overflow-wrap:anywhere}.pos-review-item-heading span{font-size:12px;color:#786658;flex-shrink:0}
.pos-review-fields{display:grid;grid-template-columns:minmax(190px,.9fr) minmax(0,1.6fr);gap:12px}
.pos-review-fields .field{font-size:13px;gap:6px;min-width:0}.pos-review-fields select,.pos-review-fields input{min-height:44px;font-size:14px;max-width:100%;width:100%;min-width:0}
.pos-review-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:16px}.pos-review-actions>span{font-size:12px;color:#866337;line-height:1.7}
.pos-blocking-note{padding:12px 15px;background:#fff0eb;border-radius:8px;color:#933d2e;font-size:13px;line-height:1.7}
.pos-income-adjustment{font-size:13px;line-height:1.8;color:#7a5a43;margin:8px 0 14px}
.pos-import-help{padding:15px;background:#fff6e8;border:1px solid #ead2b3;border-radius:8px;font-size:13px;line-height:1.8;margin:10px 0 16px}
.pos-import-help strong{display:block;font-size:14px}.pos-import-help ol{padding-left:20px;margin:8px 0 12px}.pos-import-help li{margin:6px 0}
.pos-return-evidence{margin:20px 0 8px;padding-top:18px;border-top:1px solid var(--line)}
.pos-return-list{display:grid;gap:10px}
.pos-return-list article{padding:14px 16px;border:1px solid #e5d9ca;border-radius:9px;background:#fffdfa;min-width:0}
.pos-return-list article>div{display:flex;gap:12px;justify-content:space-between;align-items:start}.pos-return-list strong{font-size:14px;overflow-wrap:anywhere}
.pos-return-list dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px;margin:12px 0}
.pos-return-list dl>div{min-width:0}.pos-return-list dt{font-size:11px;color:#8b7664;line-height:1.7}.pos-return-list dd{margin:3px 0 0;font-size:13px;line-height:1.7;overflow-wrap:anywhere}
.pos-return-list p{font-size:12px;line-height:1.8;margin:8px 0 0;color:#826449}.pos-needs-review{background:#fff0da;color:#956525}
.pos-unit-pending{color:#97672f!important}
.pos-saved-next{display:flex;justify-content:space-between;align-items:center;gap:24px;border:1px solid #dec3ac;border-radius:12px;background:#fff7ec;padding:20px;margin:20px 0}
.pos-saved-next h2{font-size:18px;margin:0 0 7px}.pos-saved-next p{font-size:13px;line-height:1.8;color:#7b6653;margin:0}.pos-saved-next>.btn{flex:none}
.pos-import-panel[hidden],.pos-steps[hidden]{display:none}
@media(max-width:1000px){.pos-file-purpose{grid-template-columns:repeat(2,minmax(0,1fr))}.pos-review-fields{grid-template-columns:minmax(0,1fr)}}
@media(max-width:760px){
 .pos-steps{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.pos-steps li{padding:9px 4px;gap:4px}.pos-steps strong{font-size:12px}.pos-steps b{width:20px;height:20px;font-size:10px}
 .pos-auto-file{padding:15px}.pos-file-purpose{gap:8px;margin:14px 0}.pos-file-purpose>span{padding:10px;font-size:12px}
 .pos-recognized-files,.pos-special-reviews{padding:14px}.pos-review-item{padding:12px}.pos-review-item-heading{display:block}.pos-review-item-heading span{display:block;margin-top:5px;font-size:12px}
 .pos-review-fields input,.pos-review-fields select{font-size:16px;min-height:44px}.pos-review-fields .field{font-size:13px}
 .pos-review-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:9px}.pos-review-actions .btn{width:100%;min-height:44px;white-space:normal;font-size:13px;line-height:1.6}.pos-review-actions>span{font-size:12px}
 .pos-blocking-note,.pos-income-adjustment{font-size:13px;overflow-wrap:anywhere}.pos-recognized-files h3,.pos-special-reviews h3,.pos-return-evidence h3,.pos-confirm-area h3{font-size:15px}
 .pos-return-list article{padding:13px}.pos-return-list article>div{flex-wrap:wrap;gap:7px}.pos-return-list .pos-status{font-size:11px}.pos-return-list dl{gap:9px 12px}.pos-return-list dd{font-size:13px}.pos-return-list p{font-size:12px}
 .pos-saved-next{display:block;padding:16px}.pos-saved-next h2{font-size:17px}.pos-saved-next>.btn{width:100%;margin-top:14px;min-height:44px;white-space:normal}
}

/* All report fields remain visible as labelled cards on phones. */
@media(max-width:760px){
 .pos-card-table-wrap{border:0;border-radius:0;overflow:visible;min-width:0}
 .pos-card-table-wrap::before{display:none}
 .pos-card-table,.pos-card-table>tbody{display:block;width:100%;min-width:0;max-width:100%}
 .pos-card-table>tbody{display:grid;gap:10px}.pos-card-table thead{display:none}
 .pos-card-table .pos-card-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 14px;min-width:0;padding:14px;border:1px solid var(--line);border-radius:9px;background:#fff}
 .pos-card-table .pos-card-row>th,.pos-card-table .pos-card-row>td{display:block;padding:0;border:0;width:auto;min-width:0;max-width:none;text-align:left;white-space:normal;overflow-wrap:anywhere;font-size:16px;line-height:1.5}
 .pos-card-table .pos-card-row>th{grid-column:1/-1;font-size:15px;font-weight:600}
 .pos-card-table .pos-card-row>th>strong{font-size:15px;line-height:1.6}
 .pos-card-table .pos-card-row>th>small{font-size:12px;line-height:1.6;margin-top:4px;font-weight:400}
 .pos-card-table .pos-card-row>td[data-label]::before{content:attr(data-label);display:block;font-size:12px;font-weight:400;color:var(--muted);line-height:1.6;margin-bottom:4px}
 .pos-card-table .pos-card-row>td>small{font-size:12px;line-height:1.7;margin-top:5px}
 .pos-card-table .pos-card-row>.pos-channel-income{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:10px;border-top:1px solid #efe5da}
 .pos-card-table .pos-card-row>.pos-channel-income::before{margin:0;flex:1}
 .pos-card-table .pos-card-row>.pos-channel-income>strong{font-size:20px;line-height:1.5;text-align:right;max-width:65%;font-variant-numeric:tabular-nums}
 .pos-card-table .pos-card-row>.pos-dish-next{grid-column:1/-1;padding-top:10px;border-top:1px solid #efe5da;font-size:13px;line-height:1.7}
 .pos-card-table .pos-card-row>.pos-dish-next>span{display:block;color:var(--ink)}
 .pos-card-table .pos-card-row>.pos-no-match{grid-column:1/-1;padding:10px 0;font-size:14px;text-align:center;line-height:1.7}
}
