/* 01558 · Isolated ShiftTime Orders workspace; no impact on authored site canvas. */
#ordersStudioView01558[hidden]{display:none!important}
#ordersStudioView01558{box-sizing:border-box;min-height:100%;width:100%;color:#eaf5f2;background:radial-gradient(ellipse at 85% 0%,rgba(18,125,104,.19),transparent 44%),#0a1726;padding:clamp(14px,2vw,32px);font-family:Inter,Manrope,system-ui,sans-serif}
#ordersStudioView01558 *{box-sizing:border-box}
.st-orders-shell-01558{max-width:1480px;margin:0 auto}
.st-orders-hero-01558{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:0 0 24px}
.st-orders-hero-01558 h1{font-size:clamp(27px,2.8vw,38px);line-height:1.2;margin:4px 0 8px;color:#f0fcf8;font-weight:800}
.st-orders-hero-01558 p{font-size:13px;color:#9bb7b0;margin:0;line-height:1.5}
.st-orders-eyebrow-01558{color:#57dfae;font-size:11px;letter-spacing:2px;font-weight:800}
.st-orders-button-01558,.st-orders-footer-01558 button{background:#096b53;color:#fff;border:1px solid #279d79;border-radius:10px;padding:11px 18px;cursor:pointer;font-weight:700;white-space:nowrap}
.st-orders-button-01558:hover,.st-orders-footer-01558 button:hover:enabled{background:#098c68}
.st-orders-toolbar-01558{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:18px}
.st-orders-toolbar-01558 input,.st-orders-toolbar-01558 select{background:#142a3a;border:1px solid #2c4b58;border-radius:11px;color:#edf7f4;min-width:220px;max-width:100%;flex:1 1 235px;padding:13px 16px;font-size:14px;outline-offset:2px}
.st-orders-toolbar-01558 input::placeholder{color:#9bb5bd}
.st-orders-stats-01558{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:20px}
.st-orders-stat-01558{background:#142c3b;border:1px solid #285168;border-radius:15px;padding:17px 20px;display:flex;flex-direction:column;gap:8px}
.st-orders-stat-01558 span{font-size:12px;color:#a9c6c7}.st-orders-stat-01558 strong{font-size:clamp(17px,2vw,26px);color:#e4fff4;line-height:1.15}
.st-orders-caption-01558{font-size:12px;color:#a4bfc2;margin:0 0 12px}
.st-orders-row-01558{border:1px solid #244456;border-radius:16px;background:#112536;overflow:hidden;margin-bottom:12px}
.st-orders-row-01558[open]{border-color:#269b78;box-shadow:0 8px 30px rgba(0,0,0,.16)}
.st-orders-row-head-01558{cursor:pointer;display:flex;gap:18px;align-items:center;justify-content:space-between;padding:17px 20px;min-height:76px;list-style:none}
.st-orders-row-head-01558::-webkit-details-marker{display:none}
.st-orders-row-head-01558:before{content:'▸';color:#56d6a9;font-size:17px}
.st-orders-row-01558[open]>.st-orders-row-head-01558:before{content:'▾'}
.st-orders-row-lead-01558{display:flex;flex:1;min-width:0;flex-direction:column;gap:6px}
.st-orders-row-lead-01558 strong{font-size:14px;color:#f3fff9;overflow-wrap:anywhere}
.st-orders-row-lead-01558 small{color:#a3bcc1;font-size:12px;overflow-wrap:anywhere}
.st-orders-pill-01558{padding:7px 11px;color:#8bf0ce;background:#133f3b;border:1px solid #397c6b;border-radius:999px;font-size:11px;white-space:nowrap}
.st-orders-value-01558{font-size:17px;color:#b9ffde;white-space:nowrap}
.st-orders-row-detail-01558{background:#0e1f2e;border-top:1px solid #2b5061;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:17px}
.st-orders-detail-section-01558{background:#142d3c;border:1px solid #254a58;border-radius:12px;padding:14px;min-width:0}
.st-orders-detail-section-01558 h4{color:#d3f7e8;font-size:13px;margin:0 0 12px}
.st-orders-item-01558,.st-orders-summary-01558>div{display:flex;justify-content:space-between;gap:10px;padding:9px 0;border-top:1px solid #2e4855;align-items:center}
.st-orders-item-01558:first-child{border-top:0}.st-orders-item-01558 div{display:flex;flex-direction:column;gap:5px;min-width:0}.st-orders-item-01558 strong{font-size:12px;color:#f2f9f7}.st-orders-item-01558 small,.st-orders-muted-01558{color:#a0bab8;font-size:11px;line-height:1.5}
.st-orders-item-01558>span,.st-orders-summary-01558 strong{color:#baffdf;white-space:nowrap;font-size:12px}
.st-orders-package-01558{display:flex;justify-content:space-between;gap:8px;background:#0b2530;border:1px dashed #397e6f;border-radius:8px;padding:12px;margin-bottom:8px;flex-wrap:wrap}
.st-orders-package-01558 strong{color:#def8ee;font-size:12px}.st-orders-package-01558 small{color:#9dc3b9;font-size:11px}
.st-orders-summary-01558 span,.st-orders-summary-01558 p{font-size:12px;color:#adcbc6}
.st-orders-footer-01558{display:flex;justify-content:space-between;align-items:center;gap:12px;color:#9bb7bf;font-size:12px;margin-top:22px}
.st-orders-footer-01558 button:disabled{opacity:.38;cursor:default}
.st-orders-error-01558,.st-orders-empty-01558,.st-orders-notice-01558{padding:28px;color:#cce9e0;background:#172b38;border:1px solid #31525e;border-radius:12px}
.st-orders-error-01558{color:#ffcb9e;border-color:#966c4d}
.st-orders-inspector-01558{padding:12px;color:#d6efe6}.st-orders-inspector-01558 h3{font-size:14px;display:flex;align-items:center;justify-content:space-between}.st-orders-inspector-01558 p{font-size:12px;line-height:1.7;color:#a7b8bd}
.st-orders-help-trigger-01558{border:1px solid #56a9a2;background:#1c4354;border-radius:50%;color:white;width:25px;height:25px;cursor:help}
.st-orders-help-01558{position:fixed;z-index:999999;right:5vw;top:16vh;left:auto;max-width:calc(100vw - 28px);width:390px;min-height:170px;resize:both;overflow:auto;background:#0e192e;border:1px solid #3c7686;color:#edf7f7;box-shadow:0 18px 55px rgba(0,0,0,.6);border-radius:14px;padding:0 15px 16px}
.st-orders-help-header-01558{display:flex;justify-content:space-between;align-items:center;cursor:move;border-bottom:1px solid #315365;padding:14px 0;touch-action:none}.st-orders-help-header-01558 button{color:white;background:transparent;border:0;cursor:pointer;font-size:21px}.st-orders-help-01558 p{font-size:13px;line-height:1.7}
@media(max-width:900px){.st-orders-row-detail-01558{grid-template-columns:1fr}.st-orders-row-head-01558{flex-wrap:wrap}.st-orders-stats-01558{grid-template-columns:1fr 1fr}}
@media(max-width:550px){.st-orders-stats-01558{grid-template-columns:1fr}.st-orders-row-head-01558{gap:8px}.st-orders-hero-01558{flex-wrap:wrap}.st-orders-value-01558{font-size:14px}}

.st-orders-toolbar-01558 select{background:#142a3a;color:#edf7f4;min-width:200px;flex:1 1 205px;border:1px solid #2c4b58;border-radius:11px;padding:13px 16px;cursor:pointer}

/* 01559 · Actual Orders workspace and functional secondary inspector controls. */
#builder-root.builder--mainview-orders #canvasView,
#builder-root.builder--mainview-orders #siteManagerView,
#builder-root.builder--mainview-orders #pageManagerView{display:none!important}
#builder-root.builder--mainview-orders #ordersStudioView01558{display:block!important;min-width:0}
#builder-root.builder--mainview-orders #st-page-tabs-01028,
#builder-root.builder--mainview-orders .canvas__header,
#builder-root.builder--mainview-orders .design-mode-tabs{display:none!important}
#builder-root.builder--mainview-orders .canvas__scroll--full{overflow-y:auto;overflow-x:hidden}
.st-orders-inspector-actions-01559{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:14px 0}
.st-orders-inspector-action-01559{color:#e9fbf6;background:#153b50;border:1px solid #396677;border-radius:10px;min-height:39px;cursor:pointer;padding:8px 10px;text-align:center;font-size:12px;line-height:1.3}
.st-orders-inspector-action-01559:hover,.st-orders-inspector-action-01559:focus-visible{background:#12644f;outline:1px solid #45b48c}
@media(max-width:900px){.st-orders-inspector-actions-01559{grid-template-columns:1fr}}

/* 01560 · Internal review management. Keeps the accordion responsive. */
.st-orders-workflow-01560{display:flex;flex-direction:column;gap:10px}
.st-orders-workflow-summary-01560{font-size:12px;color:#c7ece0;line-height:1.5;margin:0}
.st-orders-workflow-form-01560{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:end}
.st-orders-field-01560{display:flex;flex-direction:column;gap:7px;color:#afd2c9;font-size:11px;min-width:0}
.st-orders-field-01560 select{width:100%;padding:10px;border-radius:9px;border:1px solid #34786f;background:#0f2938;color:#edfff8;min-width:0}
.st-orders-field-01560 select:disabled{opacity:.55;cursor:not-allowed}
.st-orders-workflow-form-01560>.st-orders-button-01558{min-width:0;white-space:normal}
.st-orders-workflow-message-01560{font-size:11px;color:#edc7a9;line-height:1.4;overflow-wrap:anywhere}
.st-orders-history-button-01560{background:#204357;border:1px solid #39716b;color:#e8fff6;border-radius:8px;padding:9px 12px;cursor:pointer;align-self:flex-start}
.st-orders-history-01560{display:flex;flex-direction:column;gap:5px}
.st-orders-event-01560{padding:10px;border:1px solid #305765;border-radius:8px;display:flex;flex-direction:column;gap:5px;font-size:11px;color:#b2dacc}
.st-orders-event-01560 strong{color:#e5fff1;font-size:11px}
.st-orders-event-01560 small{color:#a9becc}
@media(max-width:1200px){.st-orders-workflow-form-01560{grid-template-columns:1fr}}

.st-orders-pill-01558[data-review-status='in_review']{color:#cfe5ff;background:#173a65;border-color:#5176b0}
.st-orders-pill-01558[data-review-status='needs_information']{color:#ffe3a9;background:#60451f;border-color:#a67c36}
.st-orders-pill-01558[data-review-status='on_hold']{color:#e9dffb;background:#413954;border-color:#826eae}
.st-orders-pill-01558[data-review-status='ready_for_manual_followup']{color:#c7ffda;background:#125139;border-color:#52a76d}

/* 01561 · Private priority, encrypted notes, activity feed and global server-side filters. */
.st-orders-manager-01561{display:flex;flex-direction:column;gap:12px}
.st-orders-manager-priority-01561{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px}
.st-orders-manager-priority-01561 .st-orders-workflow-message-01560{grid-column:1/-1;margin:0}
.st-orders-note-editor-01561{display:flex;flex-direction:column;gap:10px}
.st-orders-note-editor-01561 .st-orders-workflow-message-01560{margin:0}
.st-orders-note-editor-01561 .st-orders-button-01558{align-self:flex-start;white-space:normal}
.st-orders-note-input-01561{width:100%;min-height:88px;max-width:100%;resize:vertical;background:#0c2533;color:#ecfff5;border:1px solid #377467;padding:12px;border-radius:10px;font:inherit;font-size:13px;line-height:1.55}
.st-orders-note-input-01561:focus-visible{outline:2px solid #42b78c}
.st-orders-note-text-01561{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.6;color:#e1f8e8;margin:0}
.st-orders-manager-01561 .st-orders-history-button-01560{align-self:flex-start}
@media(max-width:800px){.st-orders-manager-priority-01561{grid-template-columns:1fr}.st-orders-manager-priority-01561 .st-orders-button-01558{width:100%}}

/* 01561 · Full-width manager card balances the two-column order accordion. */
.st-orders-manager-section-01561{grid-column:1/-1}
.st-orders-manager-01561{display:grid;grid-template-columns:minmax(0,0.78fr) minmax(0,1.22fr);gap:14px;align-items:start}
.st-orders-manager-01561>.st-orders-muted-01558,.st-orders-manager-01561>.st-orders-history-button-01560,.st-orders-manager-01561>.st-orders-history-01560{grid-column:1/-1}
.st-orders-manager-priority-01561{grid-template-columns:1fr}
@media(max-width:960px){.st-orders-manager-01561{grid-template-columns:1fr}}

/* 01562 · Read-only gate and explicit outstanding prerequisites. */
.st-orders-readiness-section-01562{grid-column:1/-1}
.st-orders-readiness-01562{display:flex;flex-direction:column;gap:12px}
.st-orders-readiness-01562>.st-orders-button-01558{align-self:flex-start;min-height:40px}
.st-orders-readiness-status-01562{font-size:12px;line-height:1.5;color:#c6e7da}
.st-orders-readiness-checks-01562{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.st-orders-readiness-check-01562{display:flex;align-items:flex-start;gap:9px;padding:11px;background:#142f3d;border:1px solid #54715e;border-radius:9px;color:#f4e3c6;font-size:12px;line-height:1.5}
.st-orders-readiness-check-01562[data-ok='true']{border-color:#357d68;background:#15392f;color:#d4f8e5}
.st-orders-readiness-symbol-01562{font-weight:800;line-height:1.3;font-size:15px;min-width:14px}
.st-orders-readiness-final-01562{grid-column:1/-1;border:1px solid #a4804a;background:#372e23;color:#ffebc8;padding:12px 14px;border-radius:9px;line-height:1.5;font-size:12px;margin:0}
@media(max-width:800px){.st-orders-readiness-checks-01562{grid-template-columns:1fr}}

/* 01563 · Separate, strictly provisional carrier tariff comparison. */
.st-orders-carrier-section-01563{grid-column:1/-1}
.st-orders-carrier-01563{display:flex;flex-direction:column;gap:12px;min-width:0}
.st-orders-carrier-actions-01563{display:flex;flex-wrap:wrap;gap:9px}
.st-orders-carrier-actions-01563 button{white-space:normal;min-height:40px}
.st-orders-carrier-message-01563{font-size:12px;line-height:1.5;color:#b9e7df}
.st-orders-carrier-results-01563{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.st-orders-carrier-line-01563{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:11px;background:#132d3b;border:1px solid #345c60;border-radius:10px;font-size:12px;min-width:0}
.st-orders-carrier-line-01563 strong{color:#6dd6aa;text-align:right;overflow-wrap:anywhere}
.st-orders-carrier-warning-01563{grid-column:1/-1;background:#423320;border:1px solid #b17f2e;color:#ffe2a9;border-radius:10px;padding:11px;font-size:12px;line-height:1.55;margin:0}
@media(max-width:800px){.st-orders-carrier-results-01563{grid-template-columns:1fr}}

.st-orders-carrier-history-01563{grid-column:1/-1;display:flex;flex-direction:column;gap:7px;border-top:1px solid #32615c;padding-top:10px;font-size:12px}
.st-orders-carrier-history-line-01563{display:flex;flex-wrap:wrap;justify-content:space-between;gap:9px;border-bottom:1px solid #294653;padding:7px 0;color:#c8dcd4}

/* 01564 · Buyer proposal actions (manager dashboard only). */
.st-orders-offer-section-01564{grid-column:1/-1}
.st-orders-offer-01564{display:flex;flex-direction:column;gap:11px}
.st-orders-offer-results-01564{display:flex;flex-direction:column;gap:9px;min-width:0}
.st-orders-offer-link-01564{width:100%;min-width:0;box-sizing:border-box;background:#0f2834;border:1px solid #399b86;color:#ddfff0;border-radius:8px;padding:12px;font-size:13px}
.st-orders-offer-warning-01564{padding:12px;border:1px solid #bb9256;background:#3a3024;color:#ffe2b1;border-radius:8px;font-size:12px;line-height:1.6}
.st-orders-offer-notice-01564{color:#d2f9e8;line-height:1.5;font-size:13px}
.st-orders-offer-help-trigger-01564{margin-left:12px;width:24px;height:24px;border-radius:50%;border:1px solid #40ab92;background:#1c574d;color:#e1fff3;cursor:help}
.st-orders-offer-help-01564{position:fixed;left:auto;right:36px;top:130px;width:min(480px,90vw);min-width:270px;height:auto;min-height:135px;max-height:78vh;overflow:auto;resize:both;z-index:2147483600;border:1px solid #428d81;border-radius:13px;background:#101e32;color:#e6f8f4;box-shadow:0 20px 70px #000a;padding:12px 16px;font-size:13px;line-height:1.65}
.st-orders-offer-help-header-01564{display:flex;align-items:center;justify-content:space-between;cursor:move;touch-action:none;gap:12px;padding:6px 0;border-bottom:1px solid #32615d}
.st-orders-offer-help-header-01564 button{background:#21324d;color:#edf;border:1px solid #355a68;border-radius:6px;min-width:30px;min-height:30px;cursor:pointer}

/* 01565 · Buyer email proof manager status. */
.st-orders-identity-section-01565{margin-top:12px;border:1px solid rgba(46,187,142,.3);border-radius:12px;background:rgba(10,85,76,.07)}
.st-orders-identity-01565{display:flex;flex-direction:column;gap:10px;padding:10px}
.st-orders-identity-status-01565{min-height:20px;font-size:13px;color:#92dbc5}
.st-orders-identity-01565 button{align-self:flex-start}
/* 01567 · Clearly separate real PostgreSQL orders from the internal draft queue. */
.st-orders-tabs-01567{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0 18px;padding:6px;border:1px solid rgba(97,207,170,.23);border-radius:14px;background:rgba(13,48,55,.53)}
.st-orders-tabs-01567 button{min-height:42px;padding:10px 18px;font-weight:800;flex:1 1 180px;border:1px solid rgba(102,195,172,.3);border-radius:10px;color:#d2f6e7;background:#153c48;cursor:pointer}
.st-orders-tabs-01567 button[data-active="true"]{background:#0a855e;border-color:#3fcf9b;color:#fff;box-shadow:0 5px 18px rgba(9,148,99,.18)}
.st-orders-real-row-01567{border-left:3px solid #48c99d}
.st-orders-real-row-01567 summary{cursor:pointer}
.st-orders-real-row-01567 .st-orders-pill-01558{color:#c3f9df;background:rgba(10,123,86,.24)}
