/* LPCC identity and the second iteration: soft colour, fluid curves, practical rows. */
:root {
  --paper: #f8f8f3;
  --white: #fffefa;
  --ink: #29383c;
  --muted: #6d7878;
  --olive: #37667d;
  --olive-dark: #2b5266;
  --sage: #e5eff0;
  --line: #e0e5e0;
  --peach: #f7e4da;
  --blue: #e5eff4;
  --mint: #e7efe8;
  --lilac: #ece8f3;
}
[hidden] { display: none !important; }
.brand { gap: 14px; }
.brand-logo { width: 112px; height: 67px; object-fit: contain; mix-blend-mode: multiply; }
.brand-portal-caption { font-size: 8px; letter-spacing: .17em; line-height: 1.8; color: var(--muted); padding-left: 14px; border-left: 1px solid var(--line); }
.public-header-note { color: var(--muted); font-size: 8px; letter-spacing: .16em; }
.main-nav { gap: 22px; }
.account-label { font-size: 10px; }
.button { border-radius: 18px 18px 20px 8px; }
.primary { background: #37667d; }
.primary:hover { background: #2b5266; }
.secondary { background: #f1f5f5; border-color: #ccdfe4; }
.secondary:hover { background: #e3edf0; }
.home-intro::before { content: ''; display: block; width: 76px; height: 23px; margin: 0 auto 15px; background: url('../images/brand/curves.svg') center / contain no-repeat; }
.home-intro { padding-top: 28px; }
.home-intro h1 span { color: #42758a; }
.home-intro .button { border-radius: 22px 22px 24px 9px; }
.footer-links { display: inline-flex; gap: 23px; align-items: center; }
.footer-admin { font-size: 10px; color: #828982; }
.footer-admin:hover { color: var(--olive); text-decoration: underline; text-underline-offset: 4px; }
.register-callout { margin-top: 27px; padding-top: 24px; border-top: 1px solid var(--line); text-align: center; }
.register-callout > p { font-size: 11px; color: var(--muted); margin-bottom: 11px; }
.register-shop-button { min-height: 51px; font-size: 15px; background: #f8eae1; border-color: #ecd6c7; color: #76513f; }
.register-shop-button:hover { background: #f2dfd2; }
.required-star { color: #ad674f; font-size: 12px; margin-left: 2px; }
.field-feedback { font-size: 11px; line-height: 1.6; color: var(--muted); min-height: 0; }
.field-feedback:empty { display: none; }
.feedback-error { color: #a14d3d; }
.feedback-success { color: #3b7955; font-weight: 500; }
.field input.input-invalid, .field textarea.input-invalid, .field select.input-invalid { border-color: #cf907d; background: #fffaf7; }
.form-validation-summary { margin-top: 0 !important; }
.button:disabled { cursor: not-allowed; opacity: .5; }
.registration-panel .stack-form { gap: 18px; }
.registration-panel .form-grid { align-items: start; }
.collection-note { background: #e5eff4; }
.collection-note > span:last-child { color: #5e7781; }
.discount-guide { border: 1px solid #e1dce9; background: #f2eff6; border-radius: 14px; padding: 13px 17px; margin: -10px 0 24px; }
.discount-guide > summary { font-size: 11px; color: #655573; cursor: pointer; }
.discount-guide > summary > span { color: #89808f; }
.discount-guide-rules { display: flex; flex-wrap: wrap; gap: 10px; margin: 13px 0 11px; }
.discount-guide-rules > span { font-size: 10px; background: #fffefa; border: 1px solid #e6e1eb; border-radius: 10px; padding: 7px 11px; }
.discount-guide-rules strong { margin-left: 8px; color: #655573; }
.collection-list { display: flex; flex-direction: column; gap: 17px; }
.collection-row { display: grid; grid-template-columns: 142px minmax(180px,1fr) 154px 174px; gap: 26px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 21px; padding: 20px 24px 20px 20px; }
.list-product-image { width: 142px; height: 142px; overflow: hidden; border-radius: 72px 72px 15px 15px; background: var(--peach); }
.list-product-image > img { width: 100%; height: 100%; object-fit: cover; }
.collection-row:nth-child(3n+2) .list-product-image { background: var(--blue); }
.collection-row:nth-child(3n) .list-product-image { background: var(--mint); }
.list-product-details { align-self: center; }
.list-product-details > .eyebrow { font-size: 8px; color: #8b9694; letter-spacing: .1em; }
.list-product-details h2 { font-size: 17px; line-height: 1.4; margin-top: 8px; letter-spacing: -.03em; }
.list-product-details p { font-size: 12px; color: var(--muted); line-height: 1.8; margin-top: 8px; max-width: 300px; }
.list-quantity > label { display: block; font-size: 11px; margin-bottom: 8px; }
.list-quantity > label span { color: var(--muted); font-size: 10px; }
.list-quantity select { width: 100%; background: #fffefa; min-height: 44px; }
.list-quantity .custom-quantity { grid-template-columns: 1fr; gap: 4px; }
.list-quantity .custom-quantity input { width: 100%; }
.list-rate { border-left: 1px solid var(--line); padding-left: 26px; min-width: 0; }
.rate-label { font-size: 8px; letter-spacing: .13em; color: var(--muted); }
.rate-value { display: flex; align-items: baseline; gap: 8px; margin-top: 5px; flex-wrap: wrap; }
.rate-value > del { font-size: 11px; color: #9a9c95; }
.rate-value > output { font-size: 21px; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.discount-badge { display: inline-block; margin-top: 5px; font-size: 9px; color: var(--muted); }
.discount-badge.has-discount { color: #5b6c4f; background: #eaf0e0; padding: 2px 7px; border-radius: 7px; }
.list-line-total { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 10px; color: var(--muted); }
.list-line-total output { color: var(--ink); font-weight: 600; white-space: nowrap; }
.order-bar { background: #eaf1f3; border-color: #cbdde1; }
.selection-saving { display: block; font-size: 9px; color: #53734c; margin-top: 3px; }
.summary-panel { background: #eaf1f4; border-color: #d2e0e5; }
.summary-total { border-color: #d3dfe3; }
.summary-saving { color: #50704d; }
.review-discount { display: inline-block; margin-top: 5px; font-size: 10px; color: #52704c; }
.detail-discount-total { display: flex; justify-content: flex-end; gap: 25px; padding: 18px 26px 0; font-size: 11px; color: #50704d; }
.stat-accent { background: #eee9f4; border-color: #e0d8e8; }
.stat-card:nth-child(3) { background: #eaf1ec; border-color: #dbe6dd; }
.stat-card:nth-child(4) { background: #e9f1f6; border-color: #d9e5ec; }
.stat-card.stat-new-orders { background: #f8e2cd; border-color: #edbd8c; }
.stat-new-orders .stat-label, .stat-new-orders .stat-label svg, .stat-new-orders > strong, .stat-new-orders .stat-bottom { color: #8c5022; }
.stat-new-orders .stat-label::before { content: ''; width: 6px; height: 6px; background: #d77b31; border-radius: 50%; flex-shrink: 0; }
.status-new { background: #f8e4cc; color: #955a28; }
.table-title { overflow-wrap: anywhere; }
.role-badge { display: inline-block; white-space: nowrap; padding: 5px 10px; border-radius: 9px; font-size: 10px; background: var(--blue); color: #476d80; }
.role-super { background: #eee7f5; color: #76618b; }
.role-limited { background: #f6eadb; color: #8c7050; }
.permission-chips { display: flex; flex-wrap: wrap; gap: 6px; max-width: 360px; }
.permission-chips > span { font-size: 9px; padding: 3px 7px; background: #eaf0eb; color: #58745b; border-radius: 6px; }
.permission-chips > .restricted { background: #f2f0ea; color: #8c8b80; }
.permission-options { margin: 0; padding: 21px; border: 1px solid #d9e4e7; border-radius: 15px; background: #f1f6f7; }
.permission-options legend { font-size: 12px; padding: 0 7px; color: var(--olive); }
.permission-option { display: flex; gap: 12px; align-items: flex-start; padding: 16px 0 0; cursor: pointer; }
.permission-option > input { width: 17px; height: 17px; margin: 3px 0 0; accent-color: var(--olive); flex-shrink: 0; }
.permission-option strong { display: block; font-weight: 500; font-size: 12px; }
.permission-option small { display: block; font-size: 11px; color: var(--muted); line-height: 1.8; margin-top: 5px; }
.admin-access-form { padding: 30px; }
.admin-access-form .form-grid { align-items: start; }
.pricing-layout { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 28px; align-items: start; }
.pricing-layout > section > .fine-print { margin-top: 12px; }
#discount-form { margin-top: 25px; gap: 15px; }
.tier-table-head, .discount-tier-row { display: grid; grid-template-columns: 1fr 1fr 36px; gap: 14px; align-items: center; }
.tier-table-head { font-size: 10px; color: var(--muted); }
.discount-tier-row + .discount-tier-row { margin-top: 12px; }
.discount-tier-row .field input { min-width: 0; }
.remove-tier { font-size: 21px; color: #a67665; }
.add-tier-button { align-self: flex-start; min-height: 40px; padding: 10px 16px; font-size: 12px; gap: 8px; }
#discount-form .form-actions { margin-top: 9px; align-items: center; gap: 20px; }
#discount-form .form-actions .fine-print { font-size: 10px; }
.pricing-preview { background: #f1ecf6; border-color: #e2d9eb; }
.pricing-preview h2 { margin: 9px 0 24px; font-size: 20px; }
.discount-preview-value { display: flex; flex-direction: column; align-items: center; gap: 5px; margin: 28px 0 19px; }
.discount-preview-value > output { font-family: var(--heading); font-size: 50px; font-weight: 400; letter-spacing: -.06em; color: #80678f; }
.discount-preview-value > span { color: #8b7d94; font-size: 11px; }
.pricing-reminder { display: flex; gap: 10px; padding-top: 21px; margin-top: 22px; border-top: 1px solid #dfd5e6; color: #83758d; font-size: 10px; line-height: 1.8; }
@media(max-width:1100px) {
  .main-nav { gap: 16px; }
  .main-nav > a { font-size: 12px; }
  .brand-logo { width: 95px; height: 58px; }
  .brand-portal-caption { display: none; }
  .collection-row { grid-template-columns: 124px minmax(150px,1fr) 144px 155px; gap: 20px; padding: 17px; }
  .list-product-image { width: 124px; height: 132px; }
  .list-rate { padding-left: 20px; }
  .list-product-details h2 { font-size: 15px; }
}
@media(max-width:900px) {
  .collection-row { grid-template-columns: 118px minmax(130px,1fr) 145px; gap: 18px; }
  .list-product-image { width: 118px; height: 145px; grid-row: span 2; }
  .list-product-details { grid-column: 2; }
  .list-quantity { grid-column: 3; grid-row: 1 / span 2; }
  .list-rate { grid-column: 2; border: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
  .rate-label { width: 100%; }
  .rate-value { margin: 0; }
  .rate-value > output { font-size: 18px; }
  .discount-badge { margin-top: 0; }
  .list-line-total { width: 100%; margin-top: 3px; padding-top: 6px; }
  .pricing-layout { grid-template-columns: 1fr 280px; gap: 20px; }
  .pricing-layout .panel { padding: 23px; }
}
@media(max-width:800px) {
  .brand-logo { width: 98px; height: 58px; }
  .main-nav { justify-content: flex-start; overflow-x: auto; scrollbar-width: none; gap: 24px; }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav > a { flex-shrink: 0; }
  .site-header:has(.main-nav) .header-inner { padding-top: 8px; gap: 3px; }
  .footer-links { gap: 16px; }
  .collection-row { grid-template-columns: 116px 1fr 140px; }
  .list-product-image { width: 116px; height: 140px; }
  .pricing-layout { grid-template-columns: 1fr; }
  .pricing-preview { max-width: 100%; }
  .pricing-preview .field { max-width: 230px; }
  .discount-preview-value { flex-direction: row; justify-content: flex-start; gap: 18px; }
  .admin-access-form .form-grid { grid-template-columns: 1fr; }
}
@media(max-width:560px) {
  .header-inner { min-height: 82px; }
  .brand-logo { width: 93px; height: 56px; }
  .public-header-note { font-size: 6px; letter-spacing: .09em; max-width: 100px; text-align: right; line-height: 1.9; }
  .brand-portal-caption { display: block; font-size: 6px; padding-left: 10px; }
  .brand { gap: 10px; }
  .main-nav { gap: 23px; }
  .main-nav > a { font-size: 11px; }
  .home-intro { padding-top: 20px; }
  .home-intro::before { width: 63px; height: 20px; margin-bottom: 12px; }
  .footer-links { margin-left: auto; }
  .footer-admin { font-size: 9px; }
  .register-shop-button { font-size: 15px; min-height: 50px; }
  .register-callout { margin-top: 25px; padding-top: 22px; }
  .registration-panel .form-grid { grid-template-columns: 1fr; gap: 18px; }
  .registration-panel .field > label { font-size: 12px; }
  .discount-guide { padding: 12px 14px; margin-top: -8px; margin-bottom: 20px; }
  .discount-guide > summary { font-size: 10px; }
  .discount-guide > summary > span { font-size: 9px; }
  .discount-guide-rules { gap: 7px; }
  .discount-guide-rules > span { font-size: 9px; padding: 6px 8px; }
  .collection-list { gap: 15px; }
  .collection-row { grid-template-columns: 106px minmax(0,1fr); gap: 13px 16px; padding: 16px; border-radius: 18px; }
  .list-product-image { width: 106px; height: 126px; grid-row: 1; }
  .list-product-details { grid-column: 2; grid-row: 1; }
  .list-product-details > .eyebrow { font-size: 6px; letter-spacing: .08em; }
  .list-product-details h2 { font-size: 14px; margin-top: 7px; }
  .list-product-details p { font-size: 11px; line-height: 1.7; margin-top: 7px; }
  .list-quantity { grid-column: 1; grid-row: 2; align-self: start; }
  .list-quantity > label { font-size: 10px; }
  .list-quantity > label span { font-size: 8px; }
  .list-quantity .quantity-select { font-size: 12px; padding: 10px 5px; min-height: 41px; }
  .list-quantity .custom-quantity label { font-size: 9px; }
  .list-quantity .custom-quantity input { width: 100%; font-size: 16px; }
  .list-quantity .field-help { font-size: 8px; }
  .list-rate { grid-column: 2; grid-row: 2; align-self: start; padding-left: 16px; border-left: 1px solid var(--line); gap: 4px 8px; }
  .rate-label { font-size: 7px; }
  .rate-value > output { font-size: 19px; }
  .rate-value > del { font-size: 9px; }
  .discount-badge { font-size: 8px; }
  .list-line-total { font-size: 9px; margin-top: 3px; padding-top: 7px; gap: 5px; }
  .list-line-total output { font-size: 10px; }
  .order-bar { padding: 14px; }
  .order-bar-action .button { gap: 14px; }
  .review-line { flex-wrap: wrap; }
  .review-line-info { min-width: 150px; }
  .review-line > .amount { margin-left: auto; }
  .review-discount { font-size: 9px; line-height: 1.7; }
  .stat-bottom { font-size: 8px; }
  .admin-access-form { padding: 24px 20px; }
  .permission-options { padding: 17px; }
  .admin-accounts-table { min-width: 700px !important; }
  .pricing-layout .panel { padding: 23px 20px; }
  .pricing-layout .section-heading { align-items: flex-start; }
  .pricing-layout .section-heading > .small { font-size: 9px; }
  .tier-table-head, .discount-tier-row { grid-template-columns: minmax(0,1fr) minmax(0,1fr) 30px; gap: 9px; }
  .discount-tier-row .icon-button { width: 29px; height: 29px; }
  #discount-form .form-actions { flex-direction: column; align-items: stretch; gap: 15px; }
  #discount-form .form-actions .button { width: 100%; }
  .detail-discount-total { padding: 18px 18px 0; font-size: 10px; }
}
