/* Layout only: colors, type, panels, inputs and buttons use full-app.css. */
.lpg-entry-nav{margin:0 0 16px}
.lpg-entry-toolbar{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.lpg-entry-toolbar label{flex:1;min-width:160px}
.lpg-entry-toolbar .actions{margin:0}
.lpg-entry-subnav{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}
.lpg-entry-subnav button[aria-current="page"]{font-weight:bold;border-color:var(--blue);color:var(--blue)}
.lpg-entry-results .lpg-entry-number{text-align:right;font-variant-numeric:tabular-nums}
.lpg-entry-sort{border:0;background:transparent;color:inherit;font:inherit;padding:0;text-align:inherit}
.lpg-entry-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:16px}
.lpg-entry-preview{margin:16px 0}
.lpg-entry-review{margin:0;display:grid;grid-template-columns:minmax(110px,.7fr) minmax(0,1fr);gap:12px}
.lpg-entry-review dt{color:var(--muted)}
.lpg-entry-review dd{margin:0;overflow-wrap:anywhere;white-space:pre-wrap}
.lpg-entry-form .actions{flex-wrap:wrap}
.lpg-entry-form fieldset{border:0;padding:0;margin:0;min-width:0}
.lpg-entry-form [hidden]{display:none!important}
.lpg-entry-history{margin-top:16px}
.lpg-entry-error{white-space:pre-wrap}
@media(max-width:700px){.lpg-entry-toolbar{align-items:stretch}.lpg-entry-toolbar label{flex-basis:100%}.lpg-entry-toolbar .actions{justify-content:flex-start;flex-wrap:wrap}.lpg-entry-review{grid-template-columns:1fr}.lpg-entry-review dd{margin-bottom:8px}.lpg-entry-form .actions button{flex:1}.lpg-entry-subnav button{white-space:normal}}


/* UI-01: the same records and actions, arranged for each screen size. */
.lpg-entry-page .sales-tabs{padding:4px 0;margin-bottom:12px}
.lpg-entry-page .sales-tabs button{min-height:44px}
.lpg-entry-mobile-book,.lpg-entry-mobile-sort,.lpg-entry-mobile-cards{display:none}
.lpg-entry-fixed-code{position:sticky;left:0;z-index:1;background:var(--lpg-entry-surface)}
.lpg-entry-fixed-actions{position:sticky;right:0;z-index:1;background:var(--lpg-entry-surface);border-left:1px solid var(--line)}
th.lpg-entry-fixed-code,th.lpg-entry-fixed-actions{z-index:2;background:var(--lpg-entry-heading)}
.lpg-entry-sort{min-height:32px}
.lpg-entry-mobile-card{min-width:0;padding:16px;border:1px solid var(--line);border-radius:10px;background:var(--lpg-entry-surface)}
.lpg-entry-mobile-card header h3{margin:0;font-size:17px;overflow-wrap:anywhere}
.lpg-entry-mobile-card header p{margin:5px 0;color:var(--muted);overflow-wrap:anywhere}
.lpg-entry-mobile-card header small{color:var(--muted);overflow-wrap:anywhere}
.lpg-entry-card-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0}
.lpg-entry-card-summary>div,.lpg-entry-card-details>div{min-width:0}
.lpg-entry-card-summary dt,.lpg-entry-card-details dt{color:var(--muted);font-size:12px}
.lpg-entry-card-summary dd,.lpg-entry-card-details dd{margin:4px 0 0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.lpg-entry-card-summary dd{font-weight:700;font-size:15px}
.lpg-entry-card-actions{display:flex;flex-wrap:wrap;gap:8px}
.lpg-entry-card-actions button{flex:1;min-height:44px}
.lpg-entry-mobile-card details{margin-top:12px;border-top:1px solid var(--line)}
.lpg-entry-mobile-card summary{padding:13px 0;cursor:pointer;font-weight:700}
.lpg-entry-card-details{display:grid;gap:12px;margin:0 0 4px}
.lpg-entry-mobile-card summary:focus-visible{outline:3px solid var(--lpg-entry-focus);outline-offset:2px}
@media(max-width:900px){
  .lpg-entry-desktop-table,.lpg-entry-page .lpg-entry-nav,.lpg-entry-subnav{display:none}
  .lpg-entry-mobile-cards{display:grid;gap:12px}
  .lpg-entry-mobile-book{display:grid;gap:5px;margin-bottom:12px;font-weight:700}
  .lpg-entry-mobile-book select,.lpg-entry-mobile-sort select{width:100%;min-height:44px;padding:9px;border:1px solid var(--line);border-radius:8px;color:var(--ink);background:var(--lpg-entry-surface)}
  .lpg-entry-mobile-sort{display:flex;align-items:end;gap:8px;margin-bottom:12px}
  .lpg-entry-mobile-sort label{display:grid;flex:1;min-width:0;gap:5px;font-weight:700}
  .lpg-entry-mobile-sort button{min-height:44px}
  .lpg-entry-page>.heading{margin-bottom:12px}
  .lpg-entry-page>.panel{position:relative;padding:12px}
  .lpg-entry-page .panel-head{height:0;margin:0}
  .lpg-entry-page .panel-head h2{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .lpg-entry-page .panel-head>button{position:absolute;top:34px;right:12px;min-height:44px}
  .lpg-entry-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;margin-bottom:12px}
  .lpg-entry-toolbar label{min-width:0}
  .lpg-entry-toolbar label:first-of-type{width:calc(100% - 70px)}
  .lpg-entry-toolbar label:last-of-type{grid-column:1/-1}
  .lpg-entry-toolbar .actions{display:flex;grid-column:1/-1;flex-wrap:nowrap;justify-content:stretch}
  .lpg-entry-toolbar .actions button{flex:1;width:auto;min-width:0;min-height:44px}
  .lpg-entry-toolbar input{min-width:0;margin-top:4px}
  .lpg-entry-page .notice{margin:8px 0;font-size:12px}
  .lpg-entry-pager .actions button{min-height:44px}
}

.lpg-entry-mobile-card summary:hover{color:var(--blue)}
@media(max-width:900px){.lpg-entry-mobile-book select,.lpg-entry-mobile-sort select,.lpg-entry-toolbar input{font-size:16px}}


.lpg-entry-results{scroll-margin-top:80px}
.lpg-entry-results:focus-visible{outline:3px solid var(--lpg-entry-focus);outline-offset:3px}
@media(max-width:900px){
  .lpg-entry-toolbar .actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .lpg-entry-toolbar .actions button{width:100%;min-height:44px;padding:10px 8px;line-height:1.4;white-space:normal;overflow-wrap:normal;word-break:normal;text-wrap:balance}
}

.lpg-entry-party-picker{min-width:0;margin-bottom:12px}
.lpg-entry-party-picker>label{font-weight:700}
.lpg-entry-party-picker .suggest-list{overscroll-behavior:contain}
.lpg-entry-party-picker .suggest-option{min-height:52px;overflow-wrap:anywhere}
.lpg-entry-party-picker .suggest-option small,.lpg-entry-party-picker .suggest-help{font-size:13px}
.lpg-entry-party-picker .hint{overflow-wrap:anywhere}
@media(max-width:900px){.lpg-entry-party-picker input[type="search"]{font-size:16px;min-height:44px}}

/* Collection work: keep the existing portal palette and put exceptions before detail. */
.lpg-entry-month-status{border:1px solid var(--line);border-left:4px solid var(--blue);border-radius:8px;padding:14px 16px;margin:0 0 10px;background:var(--lpg-entry-surface)}
.lpg-entry-month-status>div{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;color:var(--ink)}
.lpg-entry-month-status>div>span{font-weight:700}
.lpg-entry-month-status p{margin:6px 0 0;line-height:1.6}
.lpg-entry-month-status.is-pending{border-left-color:var(--orange,var(--ink));background:var(--lpg-entry-heading)}
.lpg-entry-latest{color:var(--muted);font-size:13px}
.lpg-entry-policy{font-size:13px;line-height:1.65;margin:0 0 18px;color:var(--muted)}
.lpg-entry-policy strong{font-weight:500;color:var(--ink)}
.lpg-entry-filter-bar{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 10px}
.lpg-entry-filter-bar button,.lpg-entry-layout button{min-height:44px;touch-action:manipulation}
.lpg-entry-filter-bar button[aria-pressed="true"],.lpg-entry-layout button[aria-pressed="true"]{background:var(--ink);border-color:var(--ink);color:var(--lpg-entry-surface)}
.lpg-entry-filter-bar button span{font-variant-numeric:tabular-nums;margin-left:4px}
.lpg-entry-filter-bar button:focus-visible,.lpg-entry-layout button:focus-visible{outline:3px solid var(--lpg-entry-focus);outline-offset:3px}
.lpg-entry-result-count{margin:8px 0;color:var(--muted);font-size:13px}
.lpg-entry-result-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:8px}
.lpg-entry-result-bar .lpg-entry-layout{margin:0}
.lpg-entry-totals-disclosure{margin:0 0 12px}
.lpg-entry-totals-disclosure>summary{min-height:44px;display:list-item;align-content:center;cursor:pointer;font-size:13px;color:var(--muted)}
.lpg-entry-totals-disclosure>summary:focus-visible{outline:3px solid var(--lpg-entry-focus);outline-offset:2px}
.lpg-entry-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:12px 0 6px;padding:14px 0;border-block:1px solid var(--line)}
.lpg-entry-totals>div{min-width:0}
.lpg-entry-totals dt{font-size:13px;color:var(--muted);line-height:1.5}
.lpg-entry-totals dd{margin:5px 0 0;font-size:20px;font-weight:700;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.lpg-entry-total-note{margin:6px 0 14px;color:var(--muted);font-size:12px;line-height:1.6}
.lpg-entry-layout{display:flex;gap:8px;margin:14px 0}
.lpg-entry-cell-sub{display:block;font-size:12px;color:var(--muted);line-height:1.5;overflow-wrap:anywhere}
.lpg-entry-summary-table table{width:100%;min-width:950px;table-layout:auto}
.lpg-entry-summary-table td,.lpg-entry-summary-table th{padding:12px 10px;white-space:normal}
.lpg-entry-summary-table td:nth-child(n+3):nth-child(-n+6){white-space:nowrap}
.lpg-entry-summary-table .lpg-entry-fixed-actions{min-width:112px}
.lpg-entry-mobile-filter{display:none}
.lpg-entry-receipt-basis{font-size:13px;line-height:1.5;color:var(--ink)!important}
.lpg-entry-receipt-basis span{display:block;color:var(--muted);margin-top:3px}
@media(max-width:900px){
  .lpg-entry-month-status{padding:12px;margin:0 0 8px}
  .lpg-entry-month-status>div{gap:4px;font-size:14px}
  .lpg-entry-month-status>div>span{flex-basis:100%}
  .lpg-entry-month-status p{font-size:13px}
  .lpg-entry-policy{margin-bottom:12px}
  .lpg-entry-filter-bar,.lpg-entry-layout{display:none}
  .lpg-entry-mobile-filter{display:grid;gap:5px;margin:12px 0;font-weight:700}
  .lpg-entry-mobile-filter select{width:100%;min-height:44px;font-size:16px;color:var(--ink);background:var(--lpg-entry-surface);border:1px solid var(--line);border-radius:8px;padding:9px}
  .lpg-entry-totals{gap:10px;padding:12px 0}
  .lpg-entry-totals dt{font-size:12px;min-height:36px}
  .lpg-entry-totals dd{font-size:16px}
}
