.stock-merge-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:14px 16px;margin:16px 0;border:1px solid #cbd5e1;border-radius:12px;background:#f8fafc;color:#172554}.stock-merge-toolbar span{margin-right:auto}.stock-merge-check{display:flex;align-items:center;gap:8px;font-size:.86rem;margin-bottom:8px;font-weight:600}.stock-merge-check input{width:19px;height:19px;margin:0;accent-color:#155e75}.stock-tool-modal{box-sizing:border-box;width:min(1240px,96vw)!important;max-width:96vw!important;max-height:94dvh!important;overflow:auto;padding:24px!important;color:#172554;background:#fff}.stock-tool-modal .modal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px}.stock-tool-modal .modal-head h2{margin:4px 0;font-size:1.55rem}.stock-tool-modal .modal-head button{flex-shrink:0}.stock-tool-modal label{display:flex;flex-direction:column;gap:8px;font-weight:600}.stock-tool-modal select{padding:11px;border:1px solid #cbd5e1;border-radius:8px;max-width:100%;background:#fff;color:#172554}.stock-tool-modal p{line-height:1.55}.stock-tool-modal .sub{color:#475569;font-size:.9rem}.stock-tool-modal .dialog-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:12px;margin-top:20px}.stock-merge-result{background:#ecfdf5;border:1px solid #86efac;border-radius:12px;padding:16px;margin:16px 0;overflow-wrap:anywhere}.stock-merge-result p{margin:8px 0}.stock-table-wrap{overflow-x:auto;margin-top:16px}.stock-tool-modal table{border-collapse:collapse;width:100%;min-width:760px;font-size:.9rem}.stock-tool-modal th,.stock-tool-modal td{padding:12px;text-align:left;border-bottom:1px solid #e2e8f0;vertical-align:top}.stock-tool-modal th{background:#eff6ff;font-weight:700;white-space:nowrap}.stock-tool-modal td small{display:block;color:#475569;margin-top:5px;max-width:310px}.stock-tool-modal caption{text-align:left;font-weight:700;padding:10px 0}.stock-price-controls{display:flex;gap:18px;align-items:flex-end;flex-wrap:wrap}.stock-price-controls label{min-width:170px}.stock-price-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}.stock-price-summary>div{padding:14px;border:1px solid #cbd5e1;border-radius:12px;background:#f8fafc}.stock-price-summary span{display:block;font-size:.82rem;color:#475569;margin-bottom:8px}.stock-price-summary strong{font-size:1.1rem}.stock-price-chart-scroll{max-width:100%;overflow-x:auto;border:1px solid #cbd5e1;border-radius:12px;background:#fff}.stock-price-chart{display:block;max-width:none!important;height:340px;color:#334155}.stock-price-chart text{font:11px system-ui,sans-serif;fill:#334155}.stock-price-chart .price-grid{stroke:#e2e8f0;stroke-width:1}.stock-price-chart .price-line{stroke:#0369a1;stroke-width:2.5}.stock-price-chart circle{fill:#0284c7;stroke:#fff;stroke-width:2;cursor:help}.stock-price-chart circle:focus,.stock-price-chart circle:hover{fill:#c2410c;stroke:#7c2d12;stroke-width:3;outline:none}.stock-point-info{min-height:50px;background:#eff6ff;padding:12px;border-radius:8px}.invoice-stock-link{grid-column:1/-1}.invoice-stock-link small{color:#92400e;font-weight:500}.invoice-stock-link select{width:100%;min-width:0;box-sizing:border-box;padding:10px;font:inherit;border:1px solid #cbd5e1;border-radius:8px;background:white;color:#172554}@media(max-width:760px){.stock-tool-modal{padding:16px!important}.stock-price-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.stock-tool-modal .modal-head h2{font-size:1.2rem}.stock-merge-toolbar span{width:100%}}@media(max-width:420px){.stock-price-summary{grid-template-columns:1fr}}
