/* Customer workspace. These styles intentionally stay inside the customer views. */
.cw{--cw-ink:#233a32;--cw-green:#22624d;--cw-mute:#708078;--cw-stroke:#dce4dc;--cw-soft:#eef5ed;--cw-amber:#8c551e;--cw-red:#a03a2c;color:var(--cw-ink);width:100%;min-width:0}
.cw *{box-sizing:border-box}.cw p{margin:0}.cw button,.cw select,.cw input,.cw textarea{font:inherit}.cw button,.cw input,.cw select,.cw textarea{border-radius:7px}.cw button{min-height:34px}.cw button:focus-visible,.cw input:focus-visible,.cw textarea:focus-visible,.cw select:focus-visible,.cw summary:focus-visible{outline:2px solid #2c8165;outline-offset:3px}
.cw button.cw-main{color:#fff;background:var(--cw-green);border-color:var(--cw-green)}.cw button.cw-quiet{background:transparent;border:0;padding:3px 0;color:var(--cw-green);min-height:25px}.cw button svg,.cw .cw-i{width:16px;height:16px;flex:none;stroke:currentColor;fill:none;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.cw button:disabled{cursor:not-allowed}
.cw-head,.cw-ident,.cw-row,.cw-between,.cw-buttons,.cw-legend,.cw-pills,.cw-tabs,.cw-itemhead{display:flex;align-items:center;gap:9px}.cw-head,.cw-between,.cw-itemhead{justify-content:space-between}.cw-head{margin:14px 0 18px;gap:16px;flex-wrap:wrap}.cw-ident{min-width:0;gap:13px}.cw-head h1,.cw-head h2{line-height:1.25;overflow-wrap:anywhere;font-weight:730;letter-spacing:-.025em;font-size:clamp(24px,3vw,34px)}.cw-avatar{display:grid;place-items:center;background:#e0eee1;color:#27644e;border:1px solid #c9dfce;border-radius:15px;width:52px;height:52px;flex:0 0 52px}.cw-avatar .cw-i{width:26px;height:26px;stroke-width:1.45}.cw-meta,.cw-sub{color:var(--cw-mute);font-size:12px}.cw-meta{margin-top:3px;display:flex;gap:7px;align-items:center;flex-wrap:wrap}.cw-buttons,.cw-pills,.cw-legend{flex-wrap:wrap}.cw-buttons{gap:7px}.cw-heading{margin:0;font-size:15px;font-weight:690}
.cw-pane,.cw-next{background:white;border:1px solid var(--cw-stroke);border-radius:12px;padding:17px 19px;min-width:0}.cw-hero{margin-bottom:15px}.cw-herohead{display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap}.cw-pill{display:inline-flex;align-items:center;gap:6px;border-radius:999px;background:var(--cw-soft);color:var(--cw-green);border:1px solid #cfe0d0;padding:3px 9px;font-size:12px;font-weight:600}.cw-pill:before{content:'';width:6px;height:6px;border-radius:50%;background:currentColor}.cw-badge{font-size:11px;color:#51665b;background:#edf2eb;padding:2px 7px;border-radius:5px}.cw-warm{color:var(--cw-amber);background:#fcf3e5;border-color:#efd6b6}.cw-alert{color:var(--cw-red);background:#fff1ec;border-color:#f0cdc1}.cw-muted{background:#f1f4f1;color:#68756d;border-color:#d9e0da}.cw-status-btn{min-height:0!important;border-radius:999px!important;background:var(--cw-soft);padding:0!important;border:0}
.cw-rail{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));margin:19px 0 3px;gap:0;list-style:none;padding:0}.cw-rail li{min-width:0;position:relative;text-align:center}.cw-rail li:not(:last-child):after{content:'';position:absolute;left:50%;right:-50%;top:13px;height:2px;background:#dbe3db}.cw-rail li.cw-before:not(:last-child):after{background:#a7c9b5}.cw button.cw-step{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:5px;margin:auto;border:none;background:transparent;padding:0 2px;color:var(--cw-mute);font-size:12px;line-height:1.45;min-height:38px}.cw button.cw-step:hover .cw-dot{box-shadow:0 0 0 3px #d9eadd}.cw-dot{display:grid;place-items:center;min-width:26px;height:26px;background:#f4f6f3;color:#66776c;border:1px solid #d6dfd6;border-radius:50%;font:600 11px/1 "Inter",sans-serif}.cw-before .cw-dot{background:#e0eee1;color:#3c6a50;border-color:#c5dbc9}.cw-now .cw-dot{background:var(--cw-green);color:#fff;border-color:var(--cw-green);box-shadow:0 0 0 3px #deebdf}.cw .cw-now .cw-step{color:var(--cw-green);font-weight:750}.cw-railhint{font-size:12px;color:var(--cw-mute);margin:10px 0 0!important}.cw-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(265px,1fr);gap:14px;align-items:start}.cw-col{display:grid;gap:13px;min-width:0}
.cw-tabs{gap:5px;flex-wrap:wrap;border-bottom:1px solid var(--cw-stroke);margin:-2px 0 12px;padding-bottom:5px}.cw button.cw-tab{border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;font-size:13px;color:var(--cw-mute);padding:6px 9px}.cw button.cw-tab[aria-selected=true]{border-bottom-color:var(--cw-green);color:var(--cw-green);font-weight:700}.cw-n{background:#edf2ec;color:var(--cw-mute);padding:1px 5px;border-radius:10px;font-size:10px}.cw-tabs .cw-tab[aria-selected=true] .cw-n{color:var(--cw-green);background:#e0edde}
.cw-log{list-style:none;margin:13px 0 0;padding:0}.cw-log li{position:relative;display:grid;grid-template-columns:29px 1fr;gap:11px;padding-bottom:16px;min-width:0}.cw-log li:not(:last-child):before{content:'';position:absolute;left:13px;top:26px;bottom:-2px;width:1px;background:var(--cw-stroke)}.cw-logdot{display:grid;place-items:center;height:28px;width:28px;border:1px solid #dae5d8;background:#eff5ee;border-radius:50%;color:#3d725b}.cw-logdot .cw-i{width:13px;height:13px}.cw-logtitle{font-size:14px;font-weight:650}.cw-logbody{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;color:#405449;margin:4px 0!important}.cw-when,.cw-tags{font-size:11px;line-height:1.55;color:var(--cw-mute);display:flex;flex-wrap:wrap;gap:3px 8px}.cw-tags{margin-top:4px}.cw-empty{color:var(--cw-mute);background:#f6f8f5;border:1px dashed #dbe2d8;line-height:1.65;padding:14px;border-radius:7px;font-size:13px;margin:12px 0 2px}
.cw-dl{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:7px 15px;font-size:13px;margin:12px 0 0;line-height:1.6}.cw-dl dt{color:var(--cw-mute);font-weight:400}.cw-dl dd{margin:0;overflow-wrap:anywhere;white-space:pre-wrap}.cw-time .cw-dl dd{text-align:right;font-variant-numeric:tabular-nums}.cw-missing{color:var(--cw-mute)}.cw-next{background:#f2f7eb;border-color:#d8e5ca}.cw-next-date{font-size:22px;font-weight:710;letter-spacing:-.03em;margin:.18em 0 .1em}.cw-product{display:flex;gap:9px;align-items:flex-start;padding:10px 0;border-bottom:1px solid var(--cw-stroke)}.cw-product .cw-i{color:#488267;margin-top:3px}.cw-product:last-child{border-bottom:0}.cw-note{font-size:12px;color:#65766b;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:9px!important}.cw summary{cursor:pointer;font-weight:650}.cw-drawer{border-top:1px solid var(--cw-stroke);padding:12px 0 1px;margin-top:8px}
#modal.cw-dialog{width:min(700px,calc(100vw - 32px));padding:0;color:var(--cw-ink);max-height:min(88vh,850px)}#modal.cw-dialog .cw-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;background:#fff;padding:17px 21px;border-bottom:1px solid #e0e6de;position:sticky;top:0;z-index:2}#modal.cw-dialog h2{font-size:20px;line-height:1.35}.cw-dialog-head p{color:#728077;font-size:12px;margin-top:3px}.cw-dialog-body{padding:15px 21px 20px}.cw-formgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px}.cw-formgrid .cw-wide{grid-column:1/-1}.cw .cw-label{display:flex;flex-flow:column;gap:4px;min-width:0;font-size:12px;font-weight:620;color:#445a4b}.cw .cw-label input,.cw .cw-label textarea,.cw .cw-label select{width:100%;background:white;font-weight:400;padding:8px 10px;font-size:14px;color:var(--cw-ink);border:1px solid #cdd8cf}.cw .cw-label textarea{min-height:74px}.cw .cw-label small{font-weight:400}.cw-fieldset{border:0;margin:0;padding:0;min-width:0}.cw-fieldset legend{padding:0;margin:0 0 6px;font-size:12px;font-weight:620;color:#445a4b}.cw-chipcheck{cursor:pointer;display:inline-flex;align-items:center;gap:4px;padding:5px 8px;background:#f6f8f5;border:1px solid #dce4da;border-radius:6px;font-size:12px}.cw-chipcheck:has(input:checked){border-color:#82a88b;background:#e9f3e9;color:#295c43}.cw-chipcheck input{margin:0;accent-color:#22624d}.cw-advanced{margin:12px 0 0;border-top:1px solid var(--cw-stroke);padding:10px 0 0}.cw-advanced .cw-formgrid{margin-top:10px}.cw-submit{display:flex;justify-content:flex-end;gap:8px;padding-top:14px;margin-top:13px;border-top:1px solid var(--cw-stroke)}.cw-error{color:#872f22;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}.cw-error:not(:empty){margin-top:8px;background:#fff1eb;border:1px solid #edc7b7;padding:8px 10px;border-radius:5px}.cw-when-banner{display:flex;align-items:center;gap:7px;color:#446b52;background:#eff6ed;padding:9px 11px;border-radius:7px;margin-bottom:13px;font-size:13px}.cw-formgrid [hidden]{display:none!important}
@media(max-width:880px){.cw-grid{grid-template-columns:minmax(0,1.4fr) minmax(225px,1fr)}.cw-pane,.cw-next{padding:14px}.cw-rail{margin-top:15px}.cw-rail .cw-step{font-size:11px}}
@media(max-width:700px){.cw-grid{grid-template-columns:1fr}.cw-head{margin:8px 0 11px}.cw-avatar{width:43px;height:43px;flex-basis:43px;border-radius:11px}.cw-railscroll{overflow-x:auto;padding:3px 1px 5px}.cw-rail{min-width:555px}.cw-head .cw-buttons{width:100%}.cw-tabs .cw-tab{padding:5px;font-size:12px}.cw-herohead{align-items:flex-start}.cw-dialog-body{padding:14px}.cw-head .cw-ident{max-width:100%}}
@media(max-width:480px){.cw-formgrid{grid-template-columns:1fr;gap:10px}.cw .cw-legend{gap:5px}.cw-dialog-head{padding:13px!important}#modal.cw-dialog{width:calc(100vw - 16px);max-height:92dvh}.cw-pane,.cw-next{padding:13px}.cw-head .cw-buttons button{font-size:12px;padding:7px 10px}.cw-main-title{max-width:calc(100vw - 90px)}}@media print{.cw-buttons,.cw button.cw-quiet,.cw-status-btn,.cw-tab:not([aria-selected=true]){display:none!important}.cw-grid{grid-template-columns:1.45fr 1fr}.cw-rail{min-width:0}.cw-pane,.cw-next{break-inside:avoid}}
.cw-hero .cw-pill{font-size:13px;padding:4px 11px}.cw-rail li.cw-before:not(:last-child):after{background:#dbe3db}.cw-dot .cw-i{width:14px;height:14px}.cw-tabs{overflow-x:auto;white-space:nowrap}.topbar .faq-quick{margin-left:auto;font-size:12px;padding:4px 9px}.topbar .faq-quick+.flag{margin-left:0}.cw-inquiry-text{margin:14px 0 20px;padding:14px 16px;background:#f4f7f2;border-radius:8px;white-space:pre-wrap;overflow-wrap:anywhere}.cw-src-upload{border:1px dashed #b8cabc;border-radius:8px;padding:8px 12px}.cw-src-upload small{display:block;margin-top:4px}.cw-rail-date{color:#50685d;font-size:10px;font-weight:400;white-space:nowrap;font-variant-numeric:tabular-nums;line-height:1.1}
.cw-shortcuts{display:flex;flex-wrap:wrap;gap:4px;margin-top:5px}.cw .cw-shortcuts button{background:#f1f6f0;border-color:#d6e3d5;color:#386649;font-size:11px;font-weight:500;padding:2px 6px;min-height:24px}

.cw-grade-guide{border-inline-start:3px solid #bad6c6;padding:9px 12px;background:#f4f8f4;font-size:12px}.cw-grade-guide>div{display:flex;gap:10px;margin-top:4px}.cw-grade-guide b{color:#25604a}.cw-grade-guide p{color:#596a60;margin:8px 0 0}.cw-dl dd{white-space:pre-line}.cw-fieldset [data-new-device]{margin-top:10px;display:block}.cw-fieldset [data-new-device][hidden]{display:none}.cw-fieldset [data-new-device] input{display:block;width:100%}

/* Customer orders */
.cw-deal-reveal{background:#eff6ef;border:1px solid #d4e2d6;border-radius:8px;padding:10px 12px}.cw-deal-reveal .cw-sub{margin-top:6px}
.ord-title{gap:10px;flex-wrap:wrap;margin-bottom:12px}.ord-title .intro{margin:3px 0 0}
.ord-card{border:1px solid #dbe5dc;border-radius:9px;background:white;padding:13px 14px;margin-top:10px;overflow-wrap:anywhere}.ord-card header{align-items:baseline;flex-wrap:wrap}.ord-card header>strong{color:#205640;font-size:16px;font-variant-numeric:tabular-nums}.ord-kind,.ord-case-summary span{background:#eef4e9;color:#315c43;border-radius:4px;font-size:11px;padding:2px 5px;display:inline-block}.ord-meta{margin:3px 0;color:#5c7064;font-size:12px}.ord-card dl{display:grid;grid-template-columns:5em minmax(0,1fr);gap:5px 8px;margin:10px 0;font-size:13px}.ord-card dt{color:#5b7061}.ord-card dd{margin:0;white-space:pre-line}.ord-case-summary+.ord-case-summary{margin-top:5px}.ord-actions{display:flex;flex-wrap:wrap;gap:6px;border-top:1px solid #e8ede7;padding-top:8px}.ord-actions button,.ord-section button,.ord-case button{font-size:12px;min-height:28px;padding:4px 9px}.ord-related{margin-top:12px}.ord-related button{display:block;color:#276149}
dialog.order-dialog{width:min(590px,calc(100vw - 20px));max-height:90dvh}.order-dialog header,.order-dialog footer{background:#fff}.order-dialog header{position:sticky;top:0;z-index:1}.order-dialog footer{position:sticky;bottom:0;z-index:1}.order-dialog .tk-form{gap:15px}.ord-section{min-width:0}.ord-section+.ord-section{border-top:1px solid #dee6dc;padding-top:12px}.ord-section h3{margin:0;font-size:15px}.ord-section .tk-split,.ord-section>label,.ord-section [data-add-case]{margin-top:8px}.ord-section summary{font-weight:650;cursor:pointer;color:#295f48}.ord-section summary small{font-weight:400;margin-left:7px}.ord-item-edit{display:grid;grid-template-columns:minmax(0,1fr) minmax(65px,21%) auto;align-items:end;gap:6px;margin:7px 0}.ord-case{margin:10px 0 0;border:1px solid #d8e3d7;border-radius:6px;padding:8px 10px;min-width:0}.ord-case legend{color:#4b6753;font-size:12px}.ord-case>label,.ord-case>button{margin-top:6px}.ord-section textarea{width:100%;min-height:55px}
@media(max-width:440px){.order-dialog .tk-form{padding:12px}.order-dialog .tk-split{gap:6px}.ord-card{padding:11px 9px}.ord-card dl{grid-template-columns:4.4em minmax(0,1fr)}}
