.crm{--crm-ink:#183f3a;--crm-muted:#657a74;--crm-line:#dce5df;max-width:1560px;margin:auto;color:var(--crm-ink)}.crm-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.crm-heading h1{font-size:38px;letter-spacing:-1.4px;display:flex;align-items:center;gap:18px;margin:7px 0}.crm-heading p,.crm-section-head p{margin:5px 0;color:var(--crm-muted)}.crm-preview-badge{font-size:11px;letter-spacing:.03em;border:1px solid #bccfb8;border-radius:20px;padding:7px 11px;background:#eff6df;color:#38573c;font-weight:600}.crm-safety{padding:13px 17px;background:#edf3e8;border:1px solid #d7e3ca;border-radius:10px;display:flex;align-items:center;gap:12px;font-size:12px}.crm-safety>span:last-child{margin-left:auto;color:#5b6d55}.crm-status-dot{height:7px;width:7px;background:#628847;border-radius:50%;flex:none}.crm-metrics{display:grid;grid-template-columns:repeat(4,1fr);padding:26px 0;gap:18px}.crm-metrics>div{border-right:1px solid var(--crm-line);display:flex;align-items:center;gap:13px}.crm-metrics>div:last-child{border:0}.crm-metrics strong{font-size:32px;font-weight:500;letter-spacing:-1px}.crm-metrics span{font-size:12px;max-width:100px;color:var(--crm-muted)}.crm-tabs{display:flex;gap:4px;border-bottom:1px solid var(--crm-line);overflow:auto;margin-bottom:24px}.crm-tabs button{background:transparent;border:0;border-radius:0;border-bottom:3px solid transparent;color:#60766e;padding:12px 14px;white-space:nowrap;font-size:12px;font-weight:600}.crm-tabs button.active{border-color:#365a42;color:#173e32}.crm-toolbar{display:flex;gap:12px;margin:0 0 18px;align-items:flex-end}.crm-toolbar label{display:flex;flex-direction:column;gap:6px;font-size:11px;color:var(--crm-muted)}.crm-toolbar input,.crm-toolbar select{height:39px;border:1px solid var(--crm-line);border-radius:7px;padding:0 10px;background:white;min-width:190px}.crm-search{flex:1}.crm-workbench{display:grid;grid-template-columns:minmax(225px,.78fr) minmax(0,2fr);gap:20px;align-items:start}.crm-order-list{display:flex;flex-direction:column;gap:9px}.crm-order-row{text-align:left;background:#fff;border:1px solid var(--crm-line);border-radius:11px;padding:18px;width:100%;color:var(--crm-ink)}.crm-order-row.selected{border:1px solid #507657;box-shadow:inset 3px 0 #507657;background:#f6f9f0}.crm-order-row>div{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:10px}.crm-order-row h3{font-size:15px;margin:14px 0 8px;font-weight:600}.crm-order-row p{font-size:12px;margin:0 0 9px;color:var(--crm-muted)}.crm-order-row small{font-size:10px;color:#78877d}.crm-state{display:inline-block;border-radius:14px;background:#edf2e9;color:#446144;font-size:10px;line-height:1.4;padding:5px 8px;white-space:nowrap}.crm-state.hold{background:#faf0dc;color:#926b2e}.crm-panel{background:#fff;border:1px solid var(--crm-line);border-radius:12px;padding:24px;min-width:0}.crm-detail-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}.crm-detail-heading h2{font-size:22px;margin:9px 0}.crm-detail-heading p{font-size:11px;color:var(--crm-muted);margin:0}.crm-actions{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.crm .small{font-size:11px;padding:9px 12px}.crm button:disabled{opacity:.5;cursor:not-allowed}.crm-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;padding:16px 0;border-top:1px solid var(--crm-line);border-bottom:1px solid var(--crm-line);margin:18px 0}.crm-steps button{border:1px solid transparent;border-radius:7px;background:#f6f8f5;text-align:left;padding:10px;font-size:10px;line-height:1.4;color:#607366}.crm-steps button span{display:block;font-size:11px;font-weight:700;margin-bottom:5px}.crm-steps button.active{background:#254e3c;color:white}.crm-steps button.done{color:#45693d;background:#edf5e6}.crm-steps button.active.done{background:#254e3c;color:#fff}.crm-stage-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:20px 0 10px}.crm-stage-head h3{font-size:17px;margin:0}.crm-stage-head small{font-size:10px;color:var(--crm-muted)}.crm-help{font-size:12px!important;line-height:1.65;color:var(--crm-muted)}.crm-help span{display:block;margin-top:6px;font-size:10px}.crm-form fieldset{border:0;padding:0;margin:0;min-width:0}.crm-form label{display:flex;flex-direction:column;gap:7px;font-size:11px;margin:12px 0;color:#496354}.crm-form input,.crm-form textarea,.crm-form select{box-sizing:border-box;border:1px solid #d5dfd6;border-radius:6px;padding:10px;background:#fff;font-size:12px;width:100%;color:#233f33}.crm-form textarea{resize:vertical}.crm-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.crm-check{flex-direction:row!important;align-items:flex-start!important;gap:10px!important;font-size:12px!important;padding:11px;background:#f7f9f5;border:1px solid #e6ece1;border-radius:7px}.crm-check input{width:15px;height:15px;flex:none;margin:0;accent-color:#30583d}.crm-check span{line-height:1.5}.crm-form-actions{display:flex;align-items:center;gap:14px;margin-top:18px}.crm-form-actions span{font-size:10px;color:#788578}.crm-lot-choice{display:flex!important;flex-direction:row!important;align-items:center;border:1px solid var(--crm-line);border-radius:8px;padding:13px}.crm-lot-choice>span{flex:1}.crm-lot-choice input{width:80px}.crm-lot-choice small{display:block;margin-top:6px;line-height:1.5;font-size:10px}.crm-line h4{font-size:14px;margin-bottom:5px}.crm-line p{font-size:11px;color:var(--crm-muted)}.crm-check-item{border-bottom:1px solid var(--crm-line);padding:12px 0}.crm-check-item>div>strong{font-size:12px}.crm-check-item small{display:block;font-size:10px;color:var(--crm-muted);margin-top:5px}.crm-check-item>label:nth-child(2){max-width:260px}.crm-alert{background:#fff6e5;border:1px solid #edddbb;border-radius:8px;padding:14px;margin:16px 0;font-size:12px;color:#705529}.crm-alert p{margin:7px 0 0;line-height:1.6}.crm-disclosure{border-top:1px solid var(--crm-line);padding-top:15px;margin-top:23px;font-size:12px;color:var(--crm-muted)}.crm-disclosure summary{cursor:pointer;color:var(--crm-ink);font-weight:600}.crm-disclosure pre{overflow:auto;max-height:400px;font-size:10px;line-height:1.5;background:#f5f8f2;padding:14px;margin-top:15px}.crm-upcoming{padding:20px;background:#f7f9f4;border-radius:9px;font-size:12px;line-height:1.7}.crm-upcoming h4{margin:0;font-size:14px}.crm-sample-label{background:repeating-linear-gradient(135deg,#fff,#fff 15px,#fafbf7 15px,#fafbf7 30px);border:2px dashed #bdcbb8;border-radius:9px;padding:25px;text-align:center;margin:18px 0}.crm-sample-label span{display:block;font-size:10px;letter-spacing:1.5px;color:#876c31;margin-bottom:16px}.crm-sample-label strong{font-size:21px;letter-spacing:1px;overflow-wrap:anywhere}.crm-sample-label p{font-size:12px}.crm-sample-label small{font-size:10px;color:var(--crm-muted)}.crm-table-wrap{overflow:auto}.crm table{width:100%;border-collapse:collapse;min-width:440px;font-size:12px;text-align:left}.crm th{font-weight:500;color:#748675;border-bottom:1px solid var(--crm-line);padding:13px 10px;font-size:10px;white-space:nowrap}.crm td{padding:16px 10px;border-bottom:1px solid #edf1ea;vertical-align:top;line-height:1.6}.crm td small{display:block;font-size:10px;color:#718172}.crm td strong{font-size:11px}.crm-section-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 22px}.crm-section-head h2{font-size:22px;margin:0 0 7px}.crm-section-head p{font-size:12px;line-height:1.6}.crm-customer-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.crm-customer-grid h3{font-size:17px;margin:16px 0}.crm-customer-grid p{font-size:12px;line-height:1.8;color:var(--crm-muted)}.crm-customer-grid small{color:var(--crm-muted);font-size:11px}.crm-editor{margin-top:20px}.crm-readiness-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:24px;align-items:start}.crm-readiness-grid h3{font-size:16px}.crm-source{padding:18px;margin-bottom:10px}.crm-source a{font-size:13px;color:#305f48;text-decoration:none;font-weight:600;line-height:1.6}.crm-source p{font-size:12px;color:var(--crm-muted);line-height:1.6;margin:7px 0}.crm-source small{font-size:10px;color:#9a7a3d}.crm-gap{display:flex;gap:13px;padding:18px;margin-bottom:10px;background:#fcfcf8}.crm-gap-number{width:24px;height:24px;border-radius:50%;background:#e8eddf;text-align:center;line-height:24px;font-size:11px;flex:none}.crm-gap h4{margin:3px 0 8px;font-size:13px}.crm-gap p{margin:0;font-size:12px;color:var(--crm-muted);line-height:1.65}.crm-readiness-grid li{font-size:12px;margin:12px 0;line-height:1.65;color:var(--crm-muted)}.crm-endpoints{margin:20px 0}.crm-endpoints>div{padding:12px 0;border-bottom:1px solid var(--crm-line);font-size:12px}.crm-endpoints code{display:block;font-size:10px;margin-top:7px;overflow-wrap:anywhere}.crm-event{display:flex;align-items:center;gap:15px;padding:17px 0;border-bottom:1px solid var(--crm-line);font-size:12px}.crm-event-mark{width:8px;height:8px;background:#8aa276;border-radius:50%;flex:none}.crm-event p{font-size:11px;color:var(--crm-muted);margin:6px 0 0}.crm-event time{font-size:10px;margin-left:auto;color:var(--crm-muted)}.crm-sharing{display:flex;gap:24px}.crm-sharing h3{margin:0}.crm-sharing p{font-size:13px;line-height:1.8;color:var(--crm-muted)}.crm-empty{text-align:center;padding:50px 25px}.crm-empty p{font-size:13px;color:var(--crm-muted)}#crmDialog{max-width:620px;width:calc(100vw - 40px);box-sizing:border-box;border:1px solid #dbe3d5;border-radius:14px;padding:26px;color:#234330}#crmDialog .crm-panel{border:0;padding:0}#crmDialog .crm-form-actions span{font-size:10px}#crmDialog .crm-form input,#crmDialog .crm-form textarea,#crmDialog .crm-form select{box-sizing:border-box}#crmDialog h2{font-size:20px}#crmDialog::backdrop{background:#15302180}.crm button:focus-visible,.crm input:focus-visible,.crm select:focus-visible,.crm textarea:focus-visible{outline:3px solid #98b886;outline-offset:2px}
@media(min-width:1500px){body:has(.crm) .content{max-width:1720px;padding:32px 42px}}@media(max-width:1100px){.crm-workbench{grid-template-columns:230px minmax(0,1fr)}.crm-customer-grid{grid-template-columns:1fr 1fr}.crm-detail{padding:20px}.crm-safety{flex-wrap:wrap}.crm-safety>span:last-child{margin-left:19px}.crm-tabs button{padding:12px 10px}.crm-metrics>div{gap:9px}.crm-metrics strong{font-size:26px}}@media(max-width:800px){.crm-workbench,.crm-readiness-grid{grid-template-columns:1fr}.crm-order-list{display:grid;grid-template-columns:1fr 1fr}.crm-heading h1{font-size:30px;gap:10px}.crm-heading{align-items:flex-start}.crm-preview-badge{font-size:9px}.crm-metrics{gap:10px}.crm-metrics>div{display:block}.crm-metrics span{display:block;margin-top:6px}.crm-customer-grid{grid-template-columns:1fr}.crm-safety{font-size:11px}.crm-form-grid{grid-template-columns:1fr}.crm-toolbar{align-items:stretch}.crm-toolbar input,.crm-toolbar select{min-width:0;max-width:100%}.crm-sharing{gap:14px}.crm-event{align-items:flex-start}.crm-event time{max-width:90px}.crm-section-head{align-items:flex-start}}@media(max-width:480px){.crm-order-list{grid-template-columns:1fr}.crm-heading{display:block}.crm-heading>button{margin-top:12px}.crm-panel{padding:17px}.crm-steps{grid-template-columns:repeat(2,1fr)}.crm-detail-heading{display:block}.crm-detail-heading>.crm-state{margin-top:10px}.crm-section-head{display:block}.crm-section-head>button,.crm-section-head>.crm-state{margin-top:10px}.crm-form-actions{flex-wrap:wrap}.crm-toolbar{flex-direction:column}.crm-metrics strong{font-size:24px}.crm-metrics span{font-size:10px}.crm-preview-badge{padding:6px 8px}}
html[data-appearance] .crm{--crm-ink:var(--hf-ink);--crm-muted:var(--hf-muted);--crm-line:var(--hf-border)}
html[data-appearance] :is(.crm-panel,.crm-order-row,#crmDialog){background:var(--hf-surface);color:var(--hf-ink);border-color:var(--hf-border)}
html[data-appearance] .crm :is(.crm-preview-badge,.crm-safety,.crm-order-row.selected,.crm-state,.crm-check,.crm-steps button,.crm-upcoming,.crm-gap-number){background:color-mix(in srgb,var(--hf-surface) 90%,var(--hf-accent));color:var(--hf-ink);border-color:var(--hf-border)}
html[data-appearance] .crm .crm-steps button.active{background:var(--hf-accent);color:var(--hf-accentText)}
html[data-appearance] .crm :is(.crm-heading p,.crm-section-head p,.crm-safety>span:last-child,.crm-tabs button,.crm-toolbar label,.crm-metrics span,.crm-order-row p,.crm-order-row small,.crm-detail-heading p,.crm-stage-head small,.crm-help,.crm-form label,.crm-form-actions span,.crm-line p,.crm-check-item small,.crm-disclosure,.crm-sample-label small,.crm th,.crm td small,.crm-customer-grid p,.crm-customer-grid small,.crm-source p,.crm-gap p,.crm-readiness-grid li,.crm-event p,.crm-event time,.crm-sharing p,.crm-empty p){color:var(--hf-muted)}
html[data-appearance] .crm .crm-tabs button.active{color:var(--hf-ink);border-bottom-color:var(--hf-accent)}
html[data-appearance] .crm :is(.crm-order-row.selected,.crm-steps button.active){border-color:var(--hf-accent)}
html[data-appearance] .crm .crm-order-row.selected{box-shadow:inset 3px 0 var(--hf-accent)}
html[data-appearance] .crm :is(.crm-state.hold,.crm-alert){background:color-mix(in srgb,var(--hf-surface) 88%,#d3ab5e);color:var(--amber);border-color:var(--hf-border)}
html[data-appearance] .crm .crm-sample-label{background:var(--hf-surface);border-color:var(--hf-border)}
html[data-appearance] .crm .crm-disclosure pre{background:var(--hf-background);color:var(--hf-ink)}
html[data-appearance] .crm .crm-source a{color:var(--hf-accent)}
body[data-nav-area="crm"] .crm-tabs{display:none}
