.gc-create{max-width:880px;margin:auto}.gc-create h1,.gc-heading h1{font-size:26px;margin:12px 0 6px}.gc-steps{display:flex;gap:12px;padding:8px 0;color:#7a8779;font-size:12px}.gc-steps strong{color:#28583f}.gc-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.gc-create label{margin:8px 0;font-size:13px}.gc-create input,.gc-create select,.gc-create textarea{padding:9px;margin-top:4px;min-height:38px}.gc-create fieldset{padding:10px 14px;margin:8px 0;border:1px solid #d8e0d0;border-radius:9px}.gc-create .check{display:flex;align-items:center;gap:7px}.gc-create .check input{width:17px;min-height:17px;margin:0}.gc-inline{display:flex;gap:20px}.gc-create [hidden]{display:none}.gc-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.gc-heading p{font-size:13px;color:#71816e;margin:5px 0}.gc-tabs{display:flex;gap:6px;overflow:auto;margin:12px 0;padding:4px 0;position:sticky;top:0;background:#f4f6ef;z-index:5}.gc-tabs button{white-space:nowrap;padding:8px 12px;min-height:38px;font-size:13px;background:#e7edde;color:#2f503f}.gc-tabs button.current{background:#2e5942;color:white}.gc-order-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:16px;align-items:start}.gc-filters{display:grid;grid-template-columns:1fr 150px;gap:10px}.gc-filters input,.gc-filters select{margin:0;padding:9px;font-size:13px}.gc-products{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px;margin-top:10px}.gc-product{padding:14px;margin:0;border:1px solid #dce3d3;background:white;border-radius:10px}.gc-product-head{display:flex;justify-content:space-between;gap:10px;align-items:center}.gc-product h3{margin:0;font-size:17px}.gc-options{display:grid;grid-template-columns:1fr 1fr;gap:6px}.gc-options label{font-size:11px;margin:8px 0}.gc-options select{font-size:12px;min-height:34px;padding:5px}.gc-stepper{display:flex;align-items:center;justify-content:space-between;margin:8px 0}.gc-stepper button{font-size:22px;min-height:38px;width:44px;padding:2px}.gc-stepper output{font-size:21px;font-weight:bold}.gc-stock{font-size:11px;color:#849079}.gc-cart{position:sticky;top:55px;padding:14px;border:1px solid #d7e0cf;border-radius:10px;background:white}.gc-cart-heading{display:flex;justify-content:space-between;gap:8px}.gc-cart-heading small{color:#778870}.gc-cart #gc-cart-items{max-height:45vh;overflow:auto}.gc-cart-row{display:flex;justify-content:space-between;gap:8px;border-bottom:1px solid #e3e8dd;padding:9px 0;font-size:13px}.gc-cart-row small,.gc-cart-row span{display:block;font-size:11px;color:#74836c}.gc-cart-row button{font-size:11px;padding:5px;min-height:30px}.gc-cart-total{padding-top:12px}.gc-cart-total span{display:block;font-size:12px;margin-top:3px}.gc-cart-actions{display:grid;gap:6px}.gc-cart-actions button{min-height:40px;padding:7px;font-size:13px}.gc-cart>small{display:block;font-size:11px;color:#7e8975;margin-top:8px}#gc-message{font-size:12px;color:#925d2e;min-height:18px}.gc-leader-units details{border:1px solid #d7e1cd;background:white;border-radius:8px;padding:12px;margin:8px 0}.gc-leader-units summary{cursor:pointer;font-weight:600}.gc-leader-units summary small{float:right;font-weight:normal}.gc-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.gc-admin-table td{font-size:13px}.gc-share-link{font-size:12px}.gc-warning{color:#a04727}.gc-report table{width:100%;border-collapse:collapse;font-size:12px}.gc-report th,.gc-report td{border:1px solid #dce3d3;padding:7px;text-align:left;overflow-wrap:anywhere}.gc-report h2{font-size:19px}.gc-report .report-unit{break-inside:auto}.gc-report .report-total{font-weight:bold;text-align:right;margin:12px 0}.gc-report thead{display:table-header-group}@media(max-width:900px){.gc-order-grid{grid-template-columns:1fr}.gc-cart{position:static}.gc-cart #gc-cart-items{max-height:30vh}.gc-products{grid-template-columns:repeat(2,minmax(0,1fr))}.gc-heading h1{font-size:22px}}@media(max-width:560px){.gc-two{grid-template-columns:1fr;gap:0}.gc-products{grid-template-columns:1fr}.gc-heading{align-items:start}.gc-heading .button{font-size:12px;padding:7px}.gc-filters{grid-template-columns:minmax(0,1fr) 120px}.gc-steps{gap:8px;font-size:11px}.gc-inline{gap:10px}}@media print{.gc-report .no-print{display:none!important}.gc-report{color:black;background:white}.gc-report th,.gc-report td{padding:5px;border-color:#aaa}.gc-report tr{break-inside:avoid}.gc-report .report-unit{break-before:auto}.gc-report .matrix-chunk{break-before:page}.gc-report .matrix-chunk:first-of-type{break-before:auto}}

.gc-mobile-summary{display:none}@media(max-width:900px){.gc-central{padding-bottom:70px}.gc-mobile-summary{display:block;position:fixed;left:12px;right:12px;bottom:max(10px,env(safe-area-inset-bottom));z-index:20;background:#2e5942;color:white;text-decoration:none;text-align:center;padding:14px;border-radius:9px;font-size:14px;box-shadow:0 4px 14px #203a3529}}
@media print{.gc-mobile-summary{display:none!important}}

@media print{.gc-report h2{break-after:avoid}@page{size:A4;margin:12mm}}
.gc-company-choice{padding:10px;background:#edf2e5;border-radius:8px}.gc-company-choice small{display:block;font-size:11px;color:#77856f;margin-top:5px}.gc-phone-status{display:block;font-size:11px;color:#426e47;margin-top:4px}.gc-phone-status.gc-invalid{color:#a14b2a}.gc-aux-modal{width:min(1180px,96vw);max-width:96vw;height:90dvh;max-height:94dvh;padding:0;border:1px solid #b8c9b0;border-radius:12px;box-shadow:0 20px 80px #17382d55}.gc-aux-modal::backdrop{background:#16352b88}.gc-aux-modal[open]{display:flex;flex-direction:column}.gc-modal-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px;background:#edf3e5;flex-shrink:0}.gc-modal-bar button{font-size:12px;padding:7px 12px;min-height:34px}.gc-modal-status{font-size:11px;margin:0;padding:4px 14px;color:#77856c}.gc-aux-modal iframe{width:100%;border:0;flex:1;min-height:0;background:white}@media(max-width:600px){.gc-aux-modal{width:98vw;max-width:98vw;height:94dvh;max-height:96dvh;border-radius:7px}.gc-modal-bar{padding:8px}.gc-modal-bar strong{font-size:14px}}
/* v2.2：同頁統計與固定送單操作 */
.gc-matrix-scroll{overflow:auto;max-height:52vh;overscroll-behavior:contain;border:1px solid #d8e1d4;border-radius:8px}.gc-matrix-scroll table{width:100%;border-collapse:collapse;font-size:14px;white-space:nowrap}.gc-matrix-scroll th,.gc-matrix-scroll td{padding:9px 10px;text-align:right;border-bottom:1px solid #e2e6df}.gc-matrix-scroll th:first-child,.gc-matrix-scroll td:first-child{text-align:left;white-space:normal;min-width:130px}.gc-matrix-scroll thead th{position:sticky;top:0;background:#edf3ed;z-index:1}.gc-matrix-scroll tfoot th{position:sticky;bottom:0;background:#edf3ed}.gc-cart{min-width:0}.gc-order-grid{grid-template-columns:minmax(0,1fr) minmax(380px,1.2fr)}.gc-cart-actions{position:sticky;bottom:0;background:#fff;padding:10px 0;z-index:2}.gc-cart-actions button:last-child{font-size:18px;min-height:48px}#gc-ready-status{padding:10px;background:#e6f1e0;border-left:4px solid #527a3d;font-weight:600}.gc-current-details{margin:10px 0}.gc-leader{height:calc(100dvh - 32px);max-height:1000px;display:flex;flex-direction:column;min-height:300px}.gc-leader-scroll{overflow:auto;min-height:0;flex:1;padding:0 8px 12px;overscroll-behavior:contain}.gc-leader-submit{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px;background:#fff;border-top:2px solid #315d46;box-shadow:0 -3px 12px #0001}.gc-leader-submit form{display:flex;align-items:center;gap:12px}.gc-leader-submit button{min-height:48px;font-size:18px}.gc-leader-submit span{font-size:13px}.page-group .cart-panel #submit-order{font-size:20px;min-height:52px}.gc-report-success{padding:14px;background:#e8f4df;border:2px solid #416b45;border-radius:6px;text-align:center;font-weight:bold}
@media(max-width:800px){.gc-order-grid{grid-template-columns:1fr}.gc-matrix-scroll{max-height:45dvh}.gc-leader{height:calc(100dvh - 20px)}.gc-leader-submit{padding:10px;flex-wrap:wrap}.gc-leader-submit form{flex:1;justify-content:flex-end;flex-wrap:wrap}.gc-leader-submit form span{width:100%;text-align:right}.gc-cart-actions{bottom:0}.gc-cart{scroll-margin-top:8px}}
@media print{.gc-leader{height:auto;max-height:none}.gc-leader-scroll,.gc-matrix-scroll{overflow:visible;max-height:none}.gc-leader-submit{display:none}}
.page-group .cart-panel #checkout{position:sticky;bottom:0;background:#fff;padding:8px 0;z-index:2}.page-group .cart-panel #checkout p{font-size:13px}.gc-cart{max-height:calc(100dvh - 72px);overflow:auto}
@media(max-width:800px){.gc-cart{max-height:none;overflow:visible}}
