.lunch-page .telegram-preview-banner{padding:12px 24px;background:#edf6f2;border-bottom:1px solid #cfe1d8;font-size:13px;display:flex;gap:8px 24px;align-items:center;justify-content:space-between;flex-wrap:wrap}.lunch-page .telegram-preview-banner p{margin:0;font-size:13px}.lunch-page .telegram-preview-banner button{border:0;background:transparent;color:#087960;text-decoration:underline;min-height:36px}.lunch-page .sp-legacy{display:none!important}.lunch-page #lunch-receipts{padding:24px 28px}.lunch-page #lunch-receipts .lunch-section-title{margin-bottom:20px}.sp-subtitle{margin:4px 0 0;color:#60747a;font-size:14px}.sp-toolbar{display:flex;align-items:flex-start;gap:16px;flex-wrap:wrap;margin-bottom:24px}.sp-period{display:flex;align-items:center;gap:4px}.lunch-page .sp-icon{padding:8px;min-width:44px;min-height:44px;background:white;border:1px solid #c8d7db;border-radius:10px;color:#34565d}.sp-period>details{position:relative;display:block;padding:0!important;border:0!important;margin:0;min-height:0}.sp-period>details>summary{list-style:none;display:flex;align-items:center;gap:8px;min-height:44px!important;padding:8px 16px;border:1px solid #c8d7db;border-radius:10px;font-size:14px;color:#294d53}.sp-period>details>summary::-webkit-details-marker{display:none}.sp-flyout{position:absolute;z-index:30;top:calc(100% + 8px);left:0;min-width:280px;padding:20px;background:white;border:1px solid #cfdddc;border-radius:14px;box-shadow:0 12px 40px #1c3d4a24;display:grid;gap:16px}.sp-search{flex:1 1 280px;min-width:0;max-width:none}.sp-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:14px}.sp-table th{text-align:left;background:#f4f8f7;color:#62777b;font-size:12px;font-weight:500;padding:12px 8px;border-bottom:1px solid #dce7e3}.sp-table td{padding:12px 8px;vertical-align:middle;border-bottom:1px solid #e5ede9}.sp-table th:first-child{width:40px}.sp-table th:nth-child(2){width:105px}.sp-table th:nth-child(4){width:145px}.sp-table th:nth-child(5){width:110px;text-align:right}.sp-table th:nth-child(6){width:150px}.sp-table th:last-child{width:64px}.sp-table tr:hover td{background:#fafcfb}.lunch-page .sp-table input[type=checkbox]{width:18px;height:18px;margin:0;min-height:18px;accent-color:#087960}.sp-select{display:flex!important;min-height:44px;min-width:28px;align-items:center;justify-content:center;cursor:pointer}.lunch-page .sp-name{background:transparent;border:0;padding:4px 0;min-height:44px;text-align:left;color:#19434a;font-weight:600;font-size:14px;display:block}.sp-name small{display:block;color:#74878a;font-weight:400;font-size:12px;margin-top:4px}.sp-payment{color:#46665e;font-size:13px}.sp-amount{text-align:right;white-space:nowrap}.sp-badge{font-size:12px;padding:5px 8px;border-radius:6px;display:inline-block;background:#eef3f5;color:#536b76}.sp-badge.review{background:#e7f3ed;color:#237152}.sp-badge.clarification{background:#fff1dc;color:#865918}.sp-badge.posted{background:#e0f0e8;color:#216248}.lunch-page .sp-thumb{border:1px solid #d7e2dd;background:#f3f6f4;border-radius:8px;padding:4px;width:44px;height:44px}.sp-thumb svg{height:100%;width:100%}.sp-bulk{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:12px 16px;border-radius:10px;background:#edf7f2;margin-bottom:16px}.sp-bulk[hidden]{display:none}.sp-bulk span{font-size:14px}.sp-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:16px;font-size:13px;color:#60747a}.sp-footer p{margin:0}.sp-empty{text-align:center;padding:48px 16px!important;color:#60747a}.sp-notice{margin:0 0 16px;padding:12px 16px;background:#e6f4ec;border-radius:10px;color:#216248;font-size:14px}.sp-dialog{width:900px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);border:1px solid #d4e1dc;border-radius:20px;padding:0;color:#20363c;box-shadow:0 20px 100px #183b4a40;overflow:auto}.sp-dialog::backdrop{background:#173e4655;backdrop-filter:blur(3px)}.sp-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;border-bottom:1px solid #e1e9e5}.sp-dialog-head h2{margin:0;font-size:20px}.sp-dialog-head small{display:block;font-size:12px;color:#60747a;margin-top:4px}.sp-editor{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.sp-photo{padding:24px;background:#f2f5f3;border-right:1px solid #e0e9e3;min-width:0;display:flex;flex-direction:column;align-items:stretch}.sp-photo>button{padding:0;border:0;background:transparent;display:block;cursor:zoom-in}.sp-paper{display:block;width:100%;height:320px;filter:drop-shadow(0 3px 7px #213c3222)}.sp-source{padding:14px 0 0;margin:0;font-size:13px;line-height:1.6;color:#4c6965}.sp-source strong{display:block;font-size:12px;color:#6b827b;font-weight:500}.sp-photo label{margin-top:16px;font-size:13px}.sp-photo input[type=file]{font-size:12px;padding:8px!important;background:white}.sp-fields{padding:24px;min-width:0}.sp-fields .lunch-form{gap:16px}.sp-fields .sp-pair{display:grid;grid-template-columns:1fr 1fr;gap:16px}.sp-fields label{font-size:13px}.sp-fields .category-picker,.sp-fields .gc-date-field{min-width:0}.sp-fields .sp-note-details{border:0;padding:0;margin:0}.sp-note-details summary{font-size:13px;font-weight:400;min-height:32px;color:#54706a}.sp-note-details label{margin-top:12px}.sp-account{padding:10px 12px;background:#f3f7f5;border-radius:8px;font-size:12px;display:flex;gap:4px;flex-direction:column;color:#587169}.sp-account strong{color:#294f43;font-weight:500}.sp-account[hidden]{display:none}.sp-help{margin:0;font-size:13px;color:#587169;line-height:1.5}.sp-issue{padding:10px 12px;border-radius:8px;background:#fff3df;color:#815817;font-size:13px;margin:0}.sp-dialog-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 24px;border-top:1px solid #dfe9e3;background:white;position:sticky;bottom:0}.sp-dialog-actions>div{display:flex;gap:8px}.lunch-page .sp-text-button{border:0;background:transparent;color:#587169;font-size:13px;min-height:44px;padding:8px}.sp-error{color:#a1352b;font-size:13px;margin:0}.sp-full-photo{max-width:min(560px,calc(100vw - 24px));padding:16px;border:0;border-radius:16px;background:#f0f4f1}.sp-full-photo::backdrop{background:#13374799}.sp-full-photo .sp-paper{height:min(75dvh,700px)}.sp-full-photo button{float:right}.sp-upload-empty{padding:36px 16px;border:1px dashed #a8c3b6;border-radius:12px;text-align:center;color:#587169}.sp-mobile-date{display:none}
.lunch-page .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.lunch-page .sp-account{background:transparent;padding:0;display:flex;flex-direction:row;gap:4px}.sp-help:empty{display:none}
@media(max-width:850px){.lunch-page #lunch-receipts{padding:20px 16px}.sp-table th:nth-child(4),.sp-table td:nth-child(4){width:120px}.sp-table th:nth-child(6){width:135px}.sp-table th:nth-child(2){width:92px}.sp-dialog{width:760px}.sp-fields,.sp-photo{padding:20px}.sp-dialog-head{padding:16px 20px}}
@media(max-width:650px){.lunch-page .telegram-preview-banner{padding:8px 16px;gap:0;font-size:12px}.lunch-page .telegram-preview-banner p{font-size:11px}.lunch-page .telegram-preview-banner button{padding:4px 0;min-height:28px}.sp-toolbar{gap:8px}.sp-search{order:3;max-width:none;flex-basis:100%}.sp-period>details>summary{padding:8px 10px}.sp-flyout{min-width:min(280px,calc(100vw - 72px))}.sp-table thead{display:none}.sp-table,.sp-table tbody{display:block}.sp-table tr{display:grid;grid-template-columns:28px 1fr auto;gap:0 8px;padding:10px 0;border-bottom:1px solid #e0e9e3;position:relative}.sp-table td{border:0;padding:4px 0;min-width:0}.sp-table td:first-child{grid-column:1;grid-row:1 / span 3}.sp-table td:nth-child(2){display:none}.sp-table td:nth-child(3){grid-column:2;grid-row:1}.sp-table td:nth-child(4){grid-column:2;grid-row:2;width:auto}.sp-table td:nth-child(5){grid-column:3;grid-row:1;align-self:center}.sp-table td:nth-child(6){grid-column:2;grid-row:3}.sp-table td:last-child{grid-column:3;grid-row:2 / span 2;align-self:end;justify-self:end}.sp-mobile-date{display:inline}.lunch-page .sp-name{padding:0;font-size:14px;min-height:40px}.sp-footer{align-items:start}.sp-dialog{max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:16px}.sp-editor{display:flex;flex-direction:column}.sp-photo{padding:12px 16px;display:grid;grid-template-columns:64px 1fr;gap:12px;border-right:0;border-bottom:1px solid #e0e9e3}.sp-photo>button{align-self:start}.sp-paper{height:72px}.sp-source{padding:0;font-size:12px;line-height:1.5;align-self:center}.sp-source strong{font-size:11px}.sp-photo label{grid-column:1/-1;margin:0}.sp-photo input[type=file]{padding:4px!important}.sp-fields{padding:16px}.sp-fields .lunch-form{gap:12px}.sp-fields .sp-pair{gap:12px}.sp-dialog-head{padding:12px 16px}.sp-dialog-head h2{font-size:18px}.sp-dialog-actions{padding:12px;gap:4px;flex-wrap:wrap}.sp-dialog-actions .sp-text-button{font-size:12px;padding:6px}.sp-dialog-actions .button{padding:10px 12px;font-size:13px}.sp-help{font-size:12px}.sp-dialog-actions>div{margin-left:auto}.sp-account{padding:8px 10px}.sp-upload-empty{grid-column:1/-1;padding:16px}.sp-table td.sp-empty{grid-column:1/-1}.sp-full-photo .sp-paper{height:70dvh}.sp-bulk{gap:8px;padding:12px}.sp-bulk .button{flex:1}}

/* Period caret uses the shared picker SVG, not a font glyph. */
.sp-caret{display:block;width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.sp-period>details>summary{box-sizing:border-box;height:44px;line-height:20px;cursor:pointer}
.sp-toolbar .gc-journal-search .search-shell{min-height:44px;padding:0 4px;align-items:center}
.sp-toolbar .gc-journal-search .search-shell>input{height:42px;min-height:42px;flex:1 1 160px;padding:8px;line-height:24px;font-size:14px;background:transparent}
.sp-toolbar .gc-journal-search .search-shell>.icon-button{height:42px;min-height:42px;width:40px;min-width:40px}
.sp-toolbar .gc-journal-search .compact:empty{display:none}
.sp-toolbar .gc-journal-search [data-search-id="query-label"]{margin:0}
.sp-toolbar .gc-journal-search .chip{margin:4px 2px;background:#f0f6f3;border-color:#cfdfd7}
.sp-toolbar .gc-journal-search [data-search-id="editor-fields"]{margin-top:16px}
.sp-toolbar .gc-journal-search .suggestion-group-title{font-weight:600}
@media(max-width:650px){.sp-toolbar{gap:12px}.sp-search{flex-basis:100%}.sp-toolbar .gc-journal-search .search-shell>input{flex-basis:calc(100% - 80px);font-size:16px}.sp-toolbar .gc-journal-search .search-shell>.icon-button{min-height:44px;height:44px;min-width:40px}.sp-period>details>summary{font-size:14px}}

.sp-mobile-select-label{display:none}
@media(max-width:650px){
  .sp-table thead{display:block}
  .sp-table thead tr{display:block;padding:0 0 8px}
  .sp-table thead th{display:none}
  .sp-table thead th:first-child{display:block;width:auto;padding:0;border:0}
  .sp-table thead .sp-select{justify-content:flex-start;gap:8px;font-weight:400}
  .sp-mobile-select-label{display:inline;font-size:13px;color:#526e70}
}

/* Compact visual capsules, with the whole control row retained as a hit area. */
.sp-toolbar .gc-journal-search .search-shell{align-items:flex-start;flex-wrap:nowrap}
.sp-query-flow{display:flex;align-items:center;flex-wrap:wrap;gap:0 4px;flex:1 1 0;min-width:0}
.sp-toolbar .gc-journal-search .chips{display:contents}
.sp-toolbar .gc-journal-search .chip{position:relative;display:inline-flex;align-items:center;max-width:100%;height:42px;min-height:42px;margin:0;border:0;background:transparent;border-radius:6px}
.sp-toolbar .gc-journal-search .chip:before{content:"";position:absolute;inset:7px 0;pointer-events:none;border:1px solid #cfe0d8;background:#f0f6f3;border-radius:6px}
.sp-toolbar .gc-journal-search .chip .chip-edit{position:relative;display:flex;align-items:center;max-width:220px;height:42px;min-height:42px;padding:0 6px;font-size:12px;line-height:20px;color:#28564c;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border:0;background:transparent}
.sp-toolbar .gc-journal-search .chip .chip-remove{position:relative;display:flex;align-items:center;justify-content:center;min-width:28px;width:28px;min-height:42px;height:42px;padding:0;border:0;border-radius:6px;background:transparent;font-size:16px;line-height:1}
.sp-toolbar .gc-journal-search .chip .chip-remove:hover{background:#dcebe455}
.sp-toolbar .gc-journal-search .sp-query-flow>input{flex:1 1 52px;min-width:36px;width:auto;max-width:100%;height:42px;min-height:42px;padding:8px 4px;border:0;border-radius:0;outline:0;box-shadow:none;font-size:14px;line-height:24px;background:transparent}
.sp-toolbar .gc-journal-search .sp-query-flow>input:focus-visible{outline:0}
.sp-toolbar.sp-search-active #sp-prev,.sp-toolbar.sp-search-active #sp-next{display:none}
.sp-toolbar.sp-search-active .sp-period>details>summary{padding-inline:8px;font-size:12px;font-weight:500}
.sp-toolbar.sp-search-active .sp-period{gap:0}
.sp-master-head{display:flex;align-items:center;gap:0;min-height:44px}
.sp-table th:first-child{width:88px}
.sp-table .gc-list-choice{width:72px;min-width:72px}
.sp-table .gc-list-check{width:36px;min-width:36px;justify-content:center}
.sp-pages{display:flex;align-items:center;gap:8px;font-size:13px;white-space:nowrap}.sp-pages[hidden]{display:none}
.sp-pages .button{min-height:36px;padding:6px 12px;font-size:13px}
@media(max-width:650px){
 .sp-toolbar .gc-journal-search .sp-query-flow>input{font-size:16px;flex-basis:52px}
 .sp-toolbar .gc-journal-search .chip .chip-edit{max-width:150px}
 .sp-master-head>.sp-mobile-select-label{display:block;margin:0;font-weight:400}
 .sp-footer{flex-wrap:wrap}.sp-pages{margin-left:auto}
}
@media(max-width:350px){.sp-toolbar .gc-journal-search .chip .chip-edit{max-width:106px;padding-inline:4px}.sp-toolbar .gc-journal-search .sp-query-flow>input{flex-basis:36px}}
.sp-table tbody .sp-select{width:36px;min-width:36px;justify-content:center}
@media(max-width:650px){
 .sp-toolbar .search-shell:has(.chip:nth-child(2)){flex-wrap:wrap}
 .sp-toolbar .search-shell:has(.chip:nth-child(2)) .sp-query-flow{display:contents}
 .sp-toolbar .search-shell:has(.chip:nth-child(2)) .chips{display:flex;flex:0 0 100%;flex-wrap:wrap;gap:0 4px;order:4}
 .sp-toolbar .search-shell:has(.chip:nth-child(2)) .sp-query-flow>input{order:1;flex:1 1 52px;width:0}
 .sp-toolbar .search-shell:has(.chip:nth-child(2))>.icon-button{order:2}
}
.sp-table .sp-mobile-select-label{display:none}
@media(max-width:650px){.sp-table .sp-mobile-select-label{display:block}}

.lunch-page .sp-photo img{display:block;width:100%;max-height:480px;object-fit:contain}.sp-thumb img{width:100%;height:100%;object-fit:contain}.sp-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2}.lunch-page .sp-issue{white-space:pre-wrap}.lunch-page #sp-account[hidden]{display:none}.lunch-page #sp-account label{width:100%}.lunch-page .sp-dialog-actions [hidden]{display:none}.lunch-page #sp-one-account{font-size:13px}.lunch-page #sp-form input[type=file]{max-width:100%}.lunch-page .sp-source{white-space:pre-wrap;overflow-wrap:anywhere}.lunch-page .sp-table input[type=checkbox]{min-width:18px}.lunch-page .sp-dialog-actions{position:sticky;bottom:0;background:white}.lunch-page #sp-result{white-space:pre-wrap}.lunch-page .sp-search [data-search-id=result-status]:empty{display:none}.lunch-page .sp-search [data-search-id=query-label]{position:absolute!important;width:1px;height:1px;clip-path:inset(50%)}
@media(max-width:650px){.lunch-page .sp-photo img{max-height:200px}.lunch-page .sp-photo>a{grid-column:1}.lunch-page .sp-source{grid-column:2}.lunch-page .sp-dialog-actions>div{display:flex;flex-wrap:wrap;gap:8px}.lunch-page .sp-dialog-actions .button{flex:1}.lunch-page .sp-table td.sp-empty{grid-column:1/-1}}

/* Keep hover paint inside the 28 px capsule; the full hit area is unchanged. */
.sp-toolbar .gc-journal-search .chip .chip-remove{isolation:isolate}
.sp-toolbar .gc-journal-search .chip .chip-remove:hover{background:transparent}
.sp-toolbar .gc-journal-search .chip .chip-remove::before{content:"";position:absolute;inset:11px 4px;border-radius:4px;z-index:-1;pointer-events:none;background:transparent}
.sp-toolbar .gc-journal-search .chip .chip-remove:hover::before{background:#dcebe4}

/* Compact paint keeps a full, separate target for touch input. */
@media(pointer:coarse){
 .sp-toolbar .gc-journal-search .chip{height:44px;min-height:44px}
 .sp-toolbar .gc-journal-search .chip::before{inset:8px 0}
 .sp-toolbar .gc-journal-search .chip .chip-edit{height:44px;min-height:44px;min-width:44px}
 .sp-toolbar .gc-journal-search .chip .chip-remove{height:44px;min-height:44px;width:44px;min-width:44px}
 .sp-toolbar .gc-journal-search .chip .chip-remove::before{inset:12px 4px}
 .sp-toolbar .gc-journal-search .sp-query-flow>input{height:44px;min-height:44px}
 .sp-toolbar .gc-journal-search .search-shell>.icon-button{height:44px;min-height:44px;width:44px;min-width:44px}
}


/* A month is the main period type; a shared calendar selects another range. */
.sp-period#sp-period{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:4px;width:260px;max-width:100%;flex:0 0 auto}
.sp-period#sp-period.sp-period-custom{width:286px}
.sp-period>.gc-month-stepper{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:4px;width:100%;min-width:0}
.sp-period .gc-month-center[hidden],.sp-period .sp-range-title[hidden]{display:none!important}
.sp-period .gc-month-text,.sp-period .gc-field-action{height:44px;min-height:44px}
.sp-period .gc-month-text{font-size:14px}
.sp-toolbar.sp-search-active .sp-period#sp-period{width:144px}
.sp-toolbar.sp-search-active .sp-period>.gc-month-stepper{grid-template-columns:minmax(0,1fr)}
.sp-toolbar.sp-search-active .sp-period .gc-month-text{font-size:12px}
.sp-period>.gc-month-error{display:block;min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
.sp-period>.gc-month-error[hidden]{display:none}
.sp-period-other{display:block;width:100%;min-height:44px;margin-top:8px;border:0;border-top:1px solid #dce7e3;background:transparent;color:#28564c;text-align:left;padding:12px 8px 4px}
.sp-period .sp-range-title{height:44px;width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;padding-inline:8px}
@media(max-width:650px){.sp-period#sp-period{width:250px}}


/* A day keeps one amount and the original photos of all contributing checks. */
.sp-thumbnails{display:flex;align-items:center;gap:4px;max-width:min(100%,140px);overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:thin}
.lunch-page .sp-thumbnails .sp-thumb{flex:0 0 44px;scroll-snap-align:start;display:flex;align-items:center;justify-content:center}
.sp-thumbnails .sp-thumb svg{fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.sp-badge.mixed{background:#edf2fa;color:#405f87}
.sp-selected-help:empty{display:none}
@media(min-width:1001px){.sp-with-gallery .sp-table th:last-child{width:156px}}
@media(min-width:651px) and (max-width:1000px){.sp-thumbnails{max-width:min(100%,88px)}.sp-with-gallery .sp-table th:last-child{width:96px}}
@media(max-width:650px){.sp-table td.sp-multiple-photos{grid-column:2 / 4;grid-row:4;justify-self:start;padding-top:8px}.sp-thumbnails{max-width:min(100%,140px)}}

.sp-daily-summary{display:grid;gap:8px;padding:12px 16px;background:#f3f7f5;border-radius:8px}
.sp-daily-part{display:flex;justify-content:space-between;align-items:baseline;gap:16px;font-size:14px}
.sp-daily-part>span:last-child{white-space:nowrap}
.sp-daily-summary[hidden],.sp-fields .sp-pair[hidden]{display:none}

.sp-gallery-count{display:none}
.sp-thumbnails:focus-visible{outline:2px solid #76b69d;outline-offset:2px;border-radius:8px}
@media(min-width:651px) and (max-width:1000px){.sp-gallery-count{display:block;margin-top:4px;font-size:11px;color:#60747a}}

.sp-known-person{margin:0;font-size:15px;font-weight:600;color:#19434a}
.sp-known-person[hidden],.sp-fields #sp-person-label[hidden],.sp-fields #sp-comment-details[hidden],.sp-fields label[hidden]{display:none}

.sp-fields #sp-share-option{display:flex;align-items:center;min-height:44px;gap:12px;font-weight:400;line-height:1.5}.sp-fields #sp-share-option input{width:20px;height:20px;flex:0 0 20px;margin:0}

.lunch-page #lunch-share-option{min-height:44px;align-items:center}

.sp-fields #sp-share-help{margin:0;font-weight:400}

.lunch-payment-question{padding:16px;border:1px solid #d2dedc;border-radius:12px;background:#f5faf9;margin-block:16px}.lunch-payment-question[hidden]{display:none}.lunch-payment-question p{margin:8px 0}.lunch-payment-question-actions{display:flex;flex-wrap:wrap;gap:8px;margin-block:16px}.lunch-payment-question-actions button{min-height:44px}.lunch-payment-question details{margin-block:8px}.lunch-payment-question summary{cursor:pointer}.lunch-payment-queue{margin-block:16px}.lunch-payment-queue li{margin-block:8px}.lunch-payment-queue button{text-align:left;white-space:normal}

#sp-form.sp-payment-focused>:not(#sp-known-person):not(.lunch-payment-question):not(#sp-error):not(#sp-result):not(#sp-account){display:none!important}#sp-form.sp-payment-focused .lunch-payment-question{margin-top:8px}

/* Fixed neighbouring columns must leave room for the employee at tablet widths. */
.lunch-page .sp-table .sp-name{max-width:100%;overflow-wrap:anywhere}
.lunch-page .sp-table .sp-payment{overflow-wrap:anywhere}
.lunch-page .sp-table .sp-badge{max-width:100%;white-space:normal;overflow-wrap:break-word}
.lunch-page .sp-thumbnails{width:100%;max-width:140px}
@media(min-width:651px) and (max-width:1100px){
 .lunch-page .sp-table th:first-child{width:72px;padding-inline:4px}
 .lunch-page .sp-table .gc-list-choice{width:64px;min-width:64px}
 .lunch-page .sp-table th:nth-child(2){width:88px}
 .lunch-page .sp-table th:nth-child(3){width:auto}
 .lunch-page .sp-table th:nth-child(4),.lunch-page .sp-table td:nth-child(4){width:90px}
 .lunch-page .sp-table th:nth-child(5){width:80px}
 .lunch-page .sp-table th:nth-child(6){width:100px}
 .lunch-page .sp-table th:last-child{width:64px}
}

/* Selection changes content in one permanent row, never the table position. */
.lunch-page .sp-bulk{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:12px;min-height:44px;padding:0;margin-bottom:8px;border-radius:0;background:transparent}
.lunch-page .sp-bulk[hidden]{display:none}
.lunch-page #sp-selected-count{font-size:12px;line-height:18px;max-width:calc(100% - 112px)}
.lunch-page .sp-bulk-actions{position:relative;flex:0 0 100px;min-width:0;padding:0;border:0;margin:0}
.lunch-page .sp-bulk-actions>summary{list-style:none;display:flex;align-items:center;justify-content:center;gap:4px;min-height:44px;padding:0 8px;font-size:13px;font-weight:500;cursor:pointer;border:0;background:transparent;color:#28574c;border-radius:6px}
.lunch-page .sp-bulk-actions>summary::-webkit-details-marker{display:none}
.lunch-page .sp-bulk-actions>summary[aria-disabled=true]{color:#697e7a;cursor:default}
.lunch-page .sp-bulk-actions>summary:focus-visible{outline:2px solid #2877d4;outline-offset:-2px}
.lunch-page .sp-bulk-menu{position:absolute;z-index:25;right:0;top:100%;box-sizing:border-box;width:280px;max-width:calc(100vw - 64px);padding:8px;background:white;border:1px solid #d1dfd9;border-radius:10px;box-shadow:0 8px 24px #183b4a20}
.lunch-page .sp-bulk-menu .button,.lunch-page .sp-bulk-menu .sp-text-button{display:block;width:100%;min-height:44px;padding:8px 12px;font-size:13px;line-height:20px;text-align:left;box-sizing:border-box;margin:0;border:0;background:transparent;color:#28574c;box-shadow:none}
.lunch-page .sp-bulk-menu button:disabled{color:#697e7a;opacity:1;cursor:default}
.lunch-page .sp-bulk-menu button:not(:disabled):hover{background:#edf5f1}
.lunch-page .sp-bulk-menu .sp-selected-help{font-size:12px;line-height:18px;margin:0 4px 8px;padding:4px;color:#665323}
/* Equal cell padding and equal hit areas put every checkbox on one axis. */
.lunch-page .sp-table .gc-list-check,.lunch-page .sp-table tbody .sp-select{box-sizing:border-box;width:36px;min-width:36px;margin:0!important;padding:0!important;justify-content:center}
@media(min-width:651px) and (max-width:1100px){.lunch-page .sp-table td:first-child{padding-inline:4px}}
@media(max-width:650px){.lunch-page .sp-table tr{grid-template-columns:36px minmax(0,1fr) auto}}

@media(pointer:coarse){.lunch-page .sp-table .gc-list-check,.lunch-page .sp-table tbody .sp-select{width:44px;min-width:44px}.lunch-page .sp-table .gc-list-choice{width:88px;min-width:88px}}
@media(pointer:coarse) and (min-width:651px){.lunch-page .sp-table th:first-child{width:96px}}
@media(pointer:coarse) and (max-width:650px){.lunch-page .sp-table tr{grid-template-columns:44px minmax(0,1fr) auto}}

.lunch-page .sp-bulk-actions[hidden]{display:none}
.lunch-question-table{width:100%;table-layout:fixed;border-collapse:collapse;margin:16px 0;font-size:14px;line-height:1.5}
.lunch-question-table th{padding:12px 8px;text-align:left;color:#62777b;background:#f4f8f7;font-size:12px;font-weight:500;border-bottom:1px solid #dce7e3}
.lunch-question-table td{padding:12px 8px;vertical-align:top;overflow-wrap:anywhere}
.lunch-question-table tbody tr+tr{border-top:1px solid #e5ede9}
.lunch-question-table th:first-child{width:112px}.lunch-question-table th:nth-child(2){width:22%}.lunch-question-table th:last-child{width:128px}
.lunch-question-date{white-space:nowrap}.lunch-question-employee{font-weight:600}
.lunch-page .lunch-question-open{display:block;width:100%;min-height:44px;padding:0;border:0;background:transparent;text-align:left;font:inherit;color:#23575b;cursor:pointer;white-space:normal;overflow-wrap:anywhere}
.lunch-page .lunch-question-open:hover{text-decoration:underline}.lunch-page .lunch-question-open:focus-visible{outline:2px solid #4f65bf;outline-offset:4px;border-radius:4px}
.lunch-question-prompt small{display:block;margin-top:4px;font-size:12px;font-weight:400}
.lunch-question-gallery{display:flex;flex-wrap:wrap;gap:8px}.lunch-question-gallery .sp-thumb{flex:none;margin:0}
.lunch-question-photos>.muted{font-size:12px}
@media(max-width:700px){
 .lunch-question-table,.lunch-question-table tbody{display:block}
 .lunch-question-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
 .lunch-question-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) 104px;gap:8px 16px;padding:16px 0}
 .lunch-question-table td{display:block;min-width:0;padding:0}
 .lunch-question-employee{grid-column:1;grid-row:1}.lunch-question-date{grid-column:1;grid-row:2}.lunch-question-prompt{grid-column:1/-1;grid-row:3}.lunch-question-photos{grid-column:2;grid-row:1/3}
 .lunch-question-table td:before{content:attr(data-label);display:block;margin-bottom:4px;font-size:12px;font-weight:400;color:#62777b}
 .lunch-question-table .lunch-question-open{min-height:44px}
}
