/* Homepage reuse documents use the account markup, with narrowly scoped base styles. */
.gsr-home{font:16px/1.5 system-ui,'Microsoft JhengHei',sans-serif;color:#0c3041;text-align:left}
.gsr-home *,.gsr-dialog *{box-sizing:border-box}
.gsr-home .gs-cart-page{padding:0;margin:0;width:100%;max-width:none}
.gsr-home .gsr-title{font-size:22px;font-weight:700;line-height:1.5;margin:0 0 18px}
.gsr-home .gs-order-document{background:#fff;border:1px solid #dfe7e3;border-radius:20px;padding:0;overflow:hidden;box-shadow:0 8px 28px #0c304104;margin:12px 0}
.gsr-home .gs-order-document-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px}
.gsr-home .gs-order-document-id{display:flex;align-items:center;gap:8px 10px;flex-wrap:wrap;min-width:0}
.gsr-home .gs-order-document-id h3{font-family:inherit;font-size:17px;font-weight:700;line-height:24px;margin:0;color:inherit;overflow-wrap:anywhere}
.gsr-home .gs-order-date-status{padding:4px 10px;border-radius:30px;background:#edf0f1;color:#617983;font-size:13px;font-weight:600;white-space:nowrap}
.gsr-home .gs-order-date-status.confirmed{background:#e5f3ec;color:#427a6c}
.gsr-home .gs-order-document-lines{padding:0 20px}
.gsr-home .gs-cart-line{display:grid;grid-template-areas:'image content price';border:0;border-bottom:1px solid #edf1ed;border-radius:0;box-shadow:none;background:transparent;margin:0}
.gsr-home .gs-cart-line:last-child{border-bottom:0}
.gsr-home .gs-cart-line>img{grid-area:image;border-radius:9px}
.gsr-home .gs-line-content{grid-area:content;min-width:0}
.gsr-home .gs-cart-line-price{grid-area:price;min-width:0;flex-wrap:wrap;text-align:right}
.gsr-home .gs-cart-line-price>small,.gsr-home .gs-price-unit,.gsr-home .gs-settlement-note{font-size:12px;color:#7b8d94}
.gsr-home .gs-price-amount{font-weight:700;color:#0c3041}
.gsr-home .gs-settlement-note{flex:1 0 100%;margin:0;text-align:right}
.gsr-home .gs-line-request,.gsr-home .gs-line-options,.gsr-home .gs-quote-note{color:#617983;white-space:normal;overflow-wrap:anywhere}
.gsr-home .gs-order-document-total{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#fafbf7;border-top:1px solid #e5ece7;padding:16px 20px;font-size:13px;color:#7b8d94}
.gsr-home .gs-order-document-total>div{display:flex;align-items:baseline;justify-content:flex-end;gap:8px;flex-wrap:wrap;text-align:right}
.gsr-home .gs-order-document-total small{font-size:12px}
.gsr-home .gs-order-document-total strong{font-size:19px;font-weight:700;line-height:1.5;color:#0c3041}
.gsr-home .gs-order-note{margin:12px 20px;padding:14px;border:1px solid #e2e8e3;border-radius:12px}
.gsr-home .gs-order-note h3{font-size:15px;margin:0 0 6px}
.gsr-home .gs-order-note p{font-size:14px;margin:0;white-space:pre-wrap}
.gsr-home .gsp-order-preview,.gsr-home .gsp-order-expand{color:#617983;font-size:14px;line-height:21px}
.gsr-home .gs-order-reorder,.gsr-home .gs-cart-button,.gsr-dialog .gs-cart-button{font:600 14px/1.5 system-ui;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 14px;border:1px solid #d5dfdc;border-radius:9px;background:#fff;color:#0c3041;cursor:pointer;text-decoration:none}
.gsr-home .gs-order-reorder{flex:0 0 auto}
.gsr-home .gsr-more{display:flex;margin:16px auto}
.gsr-empty,.gsr-home .gsr-receipt{padding:20px;border:1px solid #dfe7e3;border-radius:16px;background:#fff;color:#0c3041;font:16px/1.6 system-ui}
.gsr-empty p,.gsr-receipt p{margin:0 0 12px}
.gsr-home :focus-visible,.gsr-dialog :focus-visible{outline:2px solid #16828a;outline-offset:3px}
.gsr-dialog .actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;position:sticky;bottom:-24px;padding-top:18px;background:white}
.gsr-dialog .actions .gs-cart-button:not(.secondary){background:#0c3041;color:white;border-color:#0c3041}
.gsr-dialog .gs-cart-button:disabled{opacity:.55;cursor:wait}
.gsr-dialog input[type=date]{display:block;width:100%;margin:6px 0 12px}
.gsr-dialog .gs-field-help{font-size:14px;color:#617983;margin:12px 0}
.gsr-dialog .gsv2-reuse-item{padding:16px 0;border-bottom:1px solid #e2e8e3}
.gsr-dialog .gsv2-reuse-title{display:flex!important;align-items:center;gap:10px;margin:0 0 10px!important;font-size:16px!important}
.gsr-dialog .gsv2-reuse-title input,.gsr-dialog .gs-quote-choice input,.gsr-dialog .gs-note-warning input{appearance:auto!important;position:static!important;width:20px;height:20px;flex:0 0 20px;margin:0;accent-color:#0c3041}
.gsr-dialog .gsv2-reuse-inputs{display:flex;gap:10px;align-items:center;margin-bottom:10px}
.gsr-dialog .gsv2-reuse-inputs input{width:120px}
.gsr-dialog .gsv2-reuse-inputs select{width:100px}
.gsr-dialog textarea{width:100%;min-height:60px;resize:vertical}
.gsr-dialog .gs-quote-choice{display:flex!important;align-items:center;gap:10px;font-size:14px;margin:12px 0 0!important}
.gsr-dialog .gs-cart-error{color:#9b4248;font-size:14px;margin-top:12px}
.gsr-dialog .gs-note-warning{background:#fcf5df;padding:12px;border-radius:10px;margin-top:12px;font-size:14px}
.gsr-dialog .gs-note-warning label{display:flex!important;align-items:center;gap:10px}
@media(max-width:760px){
 .gsr-home .gs-order-document-head{padding:16px}
 .gsr-home .gs-order-document-lines{padding:0 14px}
 .gsr-home .gs-order-document-total{padding:14px 16px;align-items:flex-start}
 .gsr-home .gs-order-document-total>div{display:block}
 .gsr-home .gs-order-document-total small{display:block}
 .gsr-home .gs-order-document-total strong{font-size:17px}
 .gsr-dialog .actions{bottom:-18px}
}
