.hw-calendar-chip{display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:2px 8px;background:#eef7f5;color:#246256;cursor:pointer;line-height:1.3;max-width:100%}.hw-calendar-chip svg{display:block;flex:none;width:22px;height:22px}.hw-calendar-chip>span{font-size:10px;font-weight:750;white-space:normal}.hw-calendar-chip.hw-chip-warning{color:#886011;background:#fff6df}.hw-calendar-chip:focus-visible,.hw-rules-nav:focus-visible,.hw-dialog :is(button,input,textarea):focus-visible{outline:3px solid #8bb7f3;outline-offset:2px}.order-card-tools:has(.hw-calendar-chip){flex-wrap:wrap;flex-shrink:1}.hw-rules-nav{margin-top:8px;align-self:flex-start;width:fit-content;background:#fff;border:1px solid #d5e2ec;color:#35536f;font-size:12px;padding:8px 11px}
.hw-dialog{width:min(980px,calc(100vw - 28px));max-width:calc(100vw - 28px);max-height:92dvh;padding:0;border:1px solid #dae4ee;border-radius:18px;overflow:auto;background:#f6f9fc;color:#213f5c;box-shadow:0 28px 100px #0f294044;font:14px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.hw-dialog::backdrop{background:#0d253ba6;backdrop-filter:blur(3px)}.hw-dialog *{box-sizing:border-box}.hw-dialog button,.hw-dialog input{min-height:42px}.hw-dialog button:disabled{opacity:.5;cursor:not-allowed}.hw-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:22px 24px 17px;margin:0;border-bottom:1px solid #dfe7ef;background:white}.hw-eyebrow{color:#73869b;font-size:10px;font-weight:800;letter-spacing:.12em}.hw-head h2{font-size:23px;line-height:1.4;margin:6px 0;overflow-wrap:anywhere}.hw-head p{font-size:12px;line-height:1.6;margin:4px 0;color:#73869b}.hw-close{flex:none;width:44px;height:44px;padding:3px;border:1px solid #dce5ee;border-radius:10px;background:#f5f8fb;color:#526e8a;font-size:27px}.hw-body{padding:0 24px 24px}.hw-status{margin:12px 24px;color:#526f8b;font-size:12px;line-height:1.7;overflow-wrap:anywhere}.hw-body>.hw-status{margin-inline:0}.hw-status:empty{display:none}.hw-status.is-error{color:#b42b24;background:#fff1ef;padding:11px;border-radius:8px}.hw-totals{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}.hw-totals>div{padding:15px 18px;border:1px solid #dce8ee;border-radius:12px;background:white}.hw-totals span{display:block;color:#698198;font-size:12px}.hw-totals strong{display:block;font-size:28px;line-height:1.5;font-variant-numeric:tabular-nums}.hw-totals strong small{font-size:12px;font-weight:500}.hw-totals>p{grid-column:1/-1;margin:0;font-size:11px;color:#71869a;line-height:1.6}.hw-warning-list p{background:#fff7e5;border:1px solid #ead9b0;border-radius:8px;padding:9px 12px;font-size:12px;line-height:1.6;color:#8b6723;overflow-wrap:anywhere}.hw-section{border-top:1px solid #dfe8ef;margin-top:22px;padding-top:19px}.hw-section-title{display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:12px}.hw-section-title h3{font-size:16px;margin:0}.hw-section-title>span{font-size:11px;color:#7a8fa3}.hw-help{font-size:11px;line-height:1.7;color:#70849a;margin:10px 0}.hw-button{border:1px solid #ccdceb;border-radius:9px;background:white;color:#355e81;padding:9px 13px;font-size:12px;white-space:normal}.hw-button.hw-primary{background:#2364b4;border-color:#2364b4;color:white}.hw-text-button{border:0;background:transparent;color:#2867a4;padding:6px 9px;font-size:11px}.hw-check,.hw-reviewed{display:flex!important;align-items:center;gap:8px}.hw-dialog .hw-check input,.hw-dialog .hw-reviewed input,.hw-attachment input{width:17px;height:17px;min-height:17px;margin:0;flex:none;accent-color:#2364b4}.hw-attachments{display:grid;gap:7px;margin-bottom:10px}.hw-attachment{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:9px 12px;border:1px solid #dfe8f0;border-radius:9px;background:white}.hw-attachment>label{display:flex;align-items:center;gap:10px;min-width:0;flex:1;font-size:12px}.hw-attachment>label>span{overflow-wrap:anywhere;min-width:0}.hw-attachment small{display:block;font-size:10px;color:#8b9db0;margin-top:4px}.hw-attachment>button{flex:none}.hw-recognition{margin-top:12px;padding:14px;border:1px solid #b7d5f0;background:#ecf5ff;border-radius:10px}.hw-recognition p{font-size:12px;line-height:1.7;color:#597791}.hw-empty{font-size:12px;line-height:1.7;color:#8295a7;border:1px dashed #d3dfe9;background:#fff;padding:18px;border-radius:10px}.hw-rows{display:grid;gap:12px}.hw-row{border:1px solid #d8e4ee;border-radius:12px;background:white;padding:14px}.hw-row-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px;font-size:11px;color:#687f95}.hw-row-fields{display:grid;grid-template-columns:1.25fr .65fr 1fr 1fr;gap:10px}.hw-row-fields label,.hw-rule-form>label{display:grid;gap:6px;min-width:0;font-size:11px;color:#5a7590}.hw-dialog input:not([type=checkbox]),.hw-dialog textarea{width:100%;min-width:0;border:1px solid #cbdbea;border-radius:8px;background:#fff;color:#264b6b;font-size:14px;padding:9px 10px}.hw-dialog input:disabled{background:#f5f8fb;color:#567089}.hw-dialog input::placeholder{color:#9caabb;font-size:11px}.hw-dialog textarea{resize:vertical}.hw-full{grid-column:1/-1}.hw-row-result{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;margin-top:10px;padding:8px 10px;background:#f0f6fc;border-radius:7px;font-size:11px;line-height:1.7;color:#527797;overflow-wrap:anywhere}.hw-row-result.is-warning{background:#fff7e8;color:#8e671e}.hw-reviewed{margin-top:22px;font-size:12px;line-height:1.6;font-weight:650}.hw-footer{position:sticky;bottom:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 24px;background:#fff;border-top:1px solid #d9e4ed;box-shadow:0 -6px 18px #213f5c08}.hw-footer>span{font-size:11px;color:#7b8ea2;flex:1;line-height:1.5}.hw-rules-dialog{width:min(760px,calc(100vw - 28px))}.hw-rule-toolbar{display:flex;gap:8px;margin:16px 0}.hw-rules-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:260px;overflow:auto;overscroll-behavior:contain}.hw-rules-list button{display:grid;gap:5px;text-align:left;border:1px solid #d7e3ec;border-radius:9px;background:white;padding:11px;min-width:0;color:#345773}.hw-rules-list b{font-size:15px;overflow-wrap:anywhere}.hw-rules-list span{font-size:11px;font-weight:500;line-height:1.5}.hw-rules-list small{font-size:10px;color:#8196a8;font-weight:400;overflow-wrap:anywhere}.hw-rule-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;border-top:1px solid #dbe5ee;padding-top:18px;margin-top:20px}.hw-rule-form h3{grid-column:1/-1;margin:0;font-size:15px}.hw-rule-form .hw-check{grid-column:1/3}.hw-rule-form button{justify-self:end}
@media(max-width:1020px){.order-card-tools>.hw-calendar-chip{min-height:24px!important;height:auto;padding:1px 5px;font-size:9px}.hw-calendar-chip svg{width:14px;height:14px}.hw-calendar-chip>span{font-size:9px}}
@media(max-width:600px){.hw-dialog{width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:94dvh;border-radius:13px}.hw-head{padding:17px 15px 13px}.hw-head h2{font-size:20px}.hw-body{padding:0 14px 18px}.hw-status{margin:10px 14px}.hw-row{padding:11px}.hw-row-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.hw-row-fields input,.hw-rule-form input{font-size:16px!important}.hw-row-result{padding:8px}.hw-footer{padding:12px 14px;flex-wrap:wrap;gap:8px}.hw-footer>span{order:3;flex-basis:100%}.hw-footer>.hw-primary{flex:1}.hw-totals>div{padding:11px 12px}.hw-totals strong{font-size:25px}.hw-rules-list{grid-template-columns:1fr;max-height:220px}.hw-rule-form{grid-template-columns:1fr 1fr}.hw-rule-form>label:first-of-type{grid-column:1/-1}.hw-rule-form .hw-check{grid-column:1}.hw-rule-form button{grid-column:2}.hw-attachment{padding:8px;gap:4px}.hw-attachment button{padding:6px;font-size:10px}}
@media print{.hw-calendar-chip,.hw-rules-nav,.hw-dialog{display:none!important}}

.hw-report{margin-top:18px;min-width:0}.hw-report .hw-section-title{margin-bottom:8px}.hw-report-scroll{max-height:250px;overflow-y:auto;overscroll-behavior:contain;border:1px solid #dae5ee;border-radius:10px;background:white}.hw-report table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:12px;text-align:left}.hw-report th,.hw-report td{padding:9px 10px;border-bottom:1px solid #e4ecf3;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.hw-report thead th{position:sticky;top:0;background:#edf4fa;color:#617c95;font-size:11px;font-weight:650}.hw-report th:first-child{width:28%}.hw-report th:nth-child(2){width:12%}.hw-report th:nth-child(3),.hw-report th:nth-child(4){width:17%}.hw-report tbody th{font-weight:700}.hw-report tbody tr:last-child>*{border-bottom:0}.hw-report .hw-empty{margin:0;border:0;border-radius:0}@media(max-width:600px){.hw-report th,.hw-report td{padding:7px 5px;font-size:10px}.hw-report thead th{font-size:10px}.hw-report-scroll{max-height:230px}}

.hw-unit-hint{padding:7px 9px;background:#f1f7fb;border-radius:7px;color:#52738f;font-size:11px;line-height:1.6}.hw-original-notes{border-top:1px solid #e2eaf1;padding-top:8px;font-size:11px;color:#73879b}.hw-original-notes summary{cursor:pointer;padding:7px 0;min-height:32px}.hw-original-notes label{display:grid;gap:6px;margin-top:6px}.hw-original-notes textarea{font:inherit}.hw-original-notes[open]{padding-bottom:4px}
