.quarter-order-dialog{box-sizing:border-box;width:min(1080px,96vw);max-width:96vw;max-height:92dvh;overflow:auto;border:1px solid #bfd9d0;border-radius:16px;padding:30px;color:#193f3d;background:#fff;font:14px/1.55 'DM Sans',Arial,sans-serif;box-shadow:0 20px 90px #123d3540}.quarter-order-dialog::backdrop{background:#102f32a3;backdrop-filter:blur(4px)}.quarter-order-dialog h2{margin:12px 40px 6px 0;font-size:28px;line-height:1.2}.quarter-order-dialog h2 span{display:block;margin-top:8px;font-size:16px;font-weight:400;color:#5a746e}.quarter-intro{color:#5a746e}.quarter-close{position:absolute;right:16px;top:16px;border:0;border-radius:50%;width:36px;height:36px;background:#edf5f0;font-size:26px;color:#234d43;cursor:pointer}.quarter-controls{display:flex;flex-wrap:wrap;gap:16px;padding:18px 0}.quarter-controls label{flex:1 1 170px}.quarter-order-dialog label{font-size:12px;font-weight:600}.quarter-order-dialog select,.quarter-order-dialog input,.quarter-order-dialog textarea{display:block;box-sizing:border-box;width:100%;min-height:42px;padding:9px 10px;margin-top:5px;border:1px solid #b4d1c2;border-radius:6px;background:#fff;color:#193f3d;font:inherit}.quarter-totals{padding:15px 18px;background:#e9f6f0;border-radius:8px;font-weight:600;margin:4px 0 10px}.quarter-caption{font-size:12px;color:#5c746b;line-height:1.7}.quarter-table-scroll{overflow-x:auto;border:1px solid #d5e4dd;border-radius:10px}.quarter-table{width:100%;border-collapse:collapse;font-size:13px;min-width:640px}.quarter-table caption{text-align:left;padding:12px 16px;background:#f4f8f5;font-size:12px;font-weight:600;color:#546b61}.quarter-table th,.quarter-table td{padding:10px 14px;text-align:left;border-bottom:1px solid #e6eee9;vertical-align:middle}.quarter-table thead{background:#f4f8f5;font-size:11px;color:#5b7469}.quarter-table tbody tr:last-child>*{border-bottom:0}.quarter-table th:first-child{font-variant-numeric:tabular-nums}.quarter-table td:nth-child(n+3){font-variant-numeric:tabular-nums}.quarter-table input{width:86px;margin:0}.quarter-product{display:flex;align-items:center;gap:12px}.quarter-product img{width:40px;height:44px;object-fit:contain;flex-shrink:0}.quarter-product small{display:block;color:#826132;font-size:10px;margin-top:3px}.quarter-no-photo{display:grid;place-items:center;width:40px;flex-shrink:0;color:#92a99d}.quarter-pagination{display:flex!important;align-items:center;justify-content:space-between;gap:10px;margin:12px 0 18px;font-size:12px;position:static!important;transform:none!important}.quarter-order-dialog button:not(.quarter-close){font:600 12px/1.5 'DM Sans',Arial,sans-serif;padding:10px 15px;min-height:40px;border:1px solid #b7d5c7;border-radius:7px;color:#255a4b;background:#edf7f1;cursor:pointer}.quarter-order-dialog button.quarter-primary{background:#174d43;color:white;border-color:#174d43}.quarter-order-dialog button:disabled{opacity:.45;cursor:default}.quarter-order-dialog :focus-visible{outline:3px solid #0a9c88;outline-offset:2px}.quarter-source{border-top:1px solid #d5e4dd;padding:15px 0;font-size:12px}.quarter-source summary{cursor:pointer;font-weight:600}.quarter-source a{display:inline-block;margin:12px 18px 0 0;color:#087b6c}.quarter-notes{display:block;margin:12px 0}.quarter-actions{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.quarter-file{margin:18px 0;padding-top:16px;border-top:1px solid #d5e4dd}.quarter-file input{max-width:440px;font-size:12px}.quarter-empty{padding:28px 20px;background:#f2f7f3;border-radius:8px}.quarter-empty h3{margin:0 0 8px}.quarter-order-dialog #quarterStatus{color:#245e4b;font-size:12px;min-height:20px}.quarter-open-action{margin:12px 0}.quarter-open-action button{padding:12px 16px;border:1px solid #b7d5c7;border-radius:7px;background:#e6f5ee;color:#1c6257;font:600 12px 'DM Sans',Arial,sans-serif;cursor:pointer}@media(max-width:600px){.quarter-order-dialog{padding:20px 16px;max-height:96dvh}.quarter-order-dialog h2{font-size:24px}.quarter-controls{gap:10px}.quarter-controls label{flex-basis:100%}.quarter-pagination{font-size:10px}.quarter-pagination button{padding:8px!important}.quarter-actions button{width:100%}.quarter-totals{font-size:12px}.quarter-table th,.quarter-table td{padding:8px 10px}}
.quarter-order-dialog h2 span{letter-spacing:normal;line-height:1.5}
