/* Original card layout, refined spacing; all rules local to order details. */
body.zip-ui.dashboard-shell #app-content .classic-detail .order-identity-bar{display:flex;align-items:center;gap:24px;margin:22px 0;padding:4px 0 10px}
body.zip-ui.dashboard-shell #app-content .classic-detail .order-return{display:inline-flex;gap:6px;align-items:center;text-decoration:none;color:#607082;font-size:13px;padding:9px 13px;background:#fff;border:1px solid #e1e6ec;border-radius:8px;flex-shrink:0}
body.zip-ui.dashboard-shell #app-content .classic-detail .order-identity-content{display:flex;align-items:center;flex-wrap:wrap;gap:18px;min-width:0}
body.zip-ui.dashboard-shell #app-content .classic-detail .order-identity-title{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
body.zip-ui.dashboard-shell #app-content .classic-detail .order-identity-title h1{margin:0;font-size:25px;color:#26364b;overflow-wrap:anywhere}
body.zip-ui.dashboard-shell #app-content .classic-detail .order-case-id{font-size:19px;color:#718095;font-weight:600}
body.zip-ui.dashboard-shell #app-content .classic-detail .order-identity-meta{font-size:13px;color:#76859a}
body.zip-ui.dashboard-shell #app-content .classic-detail .order-identity-meta .identity-label{display:inline-flex}
body.zip-ui.dashboard-shell #app-content .classic-detail .order-identity-title .badge{font-size:12px;border-radius:6px;padding:6px 10px}
body.zip-ui.dashboard-shell #app-content .classic-detail .flow-track-panel{margin-top:0;border-radius:12px}
body.zip-ui.dashboard-shell #app-content .classic-detail .compact-proofs{margin-bottom:22px}
body.zip-ui.dashboard-shell #app-content .classic-detail .order-detail{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px;align-items:start}
body.zip-ui.dashboard-shell #app-content .classic-detail .order-detail>.detail-main{display:grid;gap:18px;min-width:0;grid-column:1;grid-row:1}
body.zip-ui.dashboard-shell #app-content .classic-detail .order-detail>.detail-side{display:grid;gap:18px;min-width:0;grid-column:2;grid-row:1;position:static;max-height:none;overflow:visible}
body.zip-ui.dashboard-shell #app-content .classic-detail .card{border-radius:12px;box-shadow:none}
body.zip-ui.dashboard-shell #app-content .classic-detail .detail-history{border-radius:10px;padding:16px 20px;background:#fff;border:1px solid #e5eaf0}
body.zip-ui.dashboard-shell #app-content .classic-detail .order-section>h2{font-size:17px}
body.zip-ui.dashboard-shell #app-content .classic-detail .detail-side .card{padding:20px}
body.zip-ui.dashboard-shell #app-content .classic-detail dd{overflow-wrap:anywhere}
@media(max-width:900px){body.zip-ui.dashboard-shell #app-content .classic-detail .order-detail{grid-template-columns:minmax(0,1fr) 240px;gap:16px}}
@media(max-width:700px){body.zip-ui.dashboard-shell #app-content .classic-detail .order-detail{display:flex;flex-direction:column}body.zip-ui.dashboard-shell #app-content .classic-detail .detail-main,body.zip-ui.dashboard-shell #app-content .classic-detail .detail-side{width:100%}body.zip-ui.dashboard-shell #app-content .classic-detail .order-identity-bar{flex-wrap:wrap;gap:12px}body.zip-ui.dashboard-shell #app-content .classic-detail .order-identity-title h1{font-size:21px}}

body.zip-ui.dashboard-shell #app-content .classic-detail .order-detail{grid-template-columns:minmax(0,1fr) 330px;gap:24px}
body.zip-ui.dashboard-shell #app-content .classic-detail .order-detail>.detail-side{position:sticky;top:84px;max-height:calc(100vh - 104px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding-right:4px}
body.zip-ui.dashboard-shell #app-content .classic-detail .detail-summary>h2{margin:0 0 14px;font-size:18px}
body.zip-ui.dashboard-shell #app-content .classic-detail .detail-summary .compact-proofs{border:0;box-shadow:none;padding:0;margin:0 0 16px;border-radius:0}
body.zip-ui.dashboard-shell #app-content .classic-detail .detail-summary .compact-proof-heading{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:0 0 12px;margin-bottom:12px}
body.zip-ui.dashboard-shell #app-content .classic-detail .detail-summary .compact-proof-heading h2{font-size:13px;color:#738196}
body.zip-ui.dashboard-shell #app-content .classic-detail .detail-summary .compact-proof-layout{display:block}
body.zip-ui.dashboard-shell #app-content .classic-detail .detail-summary .compact-proof-info{display:none}
body.zip-ui.dashboard-shell #app-content .classic-detail .detail-summary .compact-proof-content{width:100%;max-width:none}
body.zip-ui.dashboard-shell #app-content .classic-detail .detail-summary .compact-proof-stage{width:100%;height:190px;max-width:none;background:#f6f8fb;border:1px solid #e8edf3;border-radius:8px;padding:8px}
body.zip-ui.dashboard-shell #app-content .classic-detail .detail-summary button.compact-proof-image{height:174px!important;width:100%!important;max-width:none;display:flex;justify-content:center;padding:0}
body.zip-ui.dashboard-shell #app-content .classic-detail .detail-summary .compact-proof-image img{height:174px;max-height:174px;width:auto;object-fit:contain}
body.zip-ui.dashboard-shell #app-content .classic-detail .detail-summary .compact-proof-toolbar{position:static;margin:0 0 8px}
body.zip-ui.dashboard-shell #app-content .classic-detail .detail-summary [data-proof-message]{font-size:11px;margin:8px 0}
body.zip-ui.dashboard-shell #app-content .classic-detail #order-processing{border:1px solid #dce6ed;overflow:hidden}
body.zip-ui.dashboard-shell #app-content .classic-detail #order-processing>h2{padding:18px 22px;background:#eef5f7;border-bottom:1px solid #dce6ed;font-size:18px}
body.zip-ui.dashboard-shell #app-content .classic-detail #workflow-action-form{display:grid;grid-template-columns:1fr 1fr;gap:18px 20px;padding-bottom:12px}
body.zip-ui.dashboard-shell #app-content .classic-detail #workflow-action-form>label:has(textarea),body.zip-ui.dashboard-shell #app-content .classic-detail #workflow-action-form>p,body.zip-ui.dashboard-shell #app-content .classic-detail #workflow-action-form>.notify-option,body.zip-ui.dashboard-shell #app-content .classic-detail #workflow-action-form>[data-attachment-choices],body.zip-ui.dashboard-shell #app-content .classic-detail #workflow-action-form>.section-actions{grid-column:1/-1}
body.zip-ui.dashboard-shell #app-content .classic-detail #workflow-action-form :is(select,textarea,.custom-select-trigger){border:1px solid #d8e1eb;border-radius:8px;background:#fff;box-shadow:none}
body.zip-ui.dashboard-shell #app-content .classic-detail #workflow-action-form textarea{min-height:110px;padding:13px;line-height:1.6}
body.zip-ui.dashboard-shell #app-content .classic-detail #workflow-action-form .field-title{font-size:14px;color:#34465b}
body.zip-ui.dashboard-shell #app-content .classic-detail #workflow-action-form>.notify-option{border-top:1px solid #e7edf2;padding-top:18px;margin:4px 0 0}
body.zip-ui.dashboard-shell #app-content .classic-detail #workflow-action-form>[data-attachment-choices]{display:flex;flex-wrap:wrap;gap:12px 24px;margin:0;padding:14px 16px;border:1px solid #e4eaf0;border-radius:8px;background:#f8fafc}
body.zip-ui.dashboard-shell #app-content .classic-detail #workflow-action-form>[data-attachment-choices] p{flex-basis:100%;margin:0;font-size:12px;line-height:1.6}
body.zip-ui.dashboard-shell #app-content .classic-detail #workflow-action-form>[data-attachment-choices] label{margin:0;font-size:13px}
body.zip-ui.dashboard-shell #app-content .classic-detail #workflow-action-form>p{font-size:12px;margin:0;line-height:1.6}
@media(max-width:900px){body.zip-ui.dashboard-shell #app-content .classic-detail .order-detail{grid-template-columns:minmax(0,1fr) 280px;gap:16px}}
@media(max-width:700px){body.zip-ui.dashboard-shell #app-content .classic-detail .order-detail>.detail-side{position:static;max-height:none;overflow:visible;padding:0}body.zip-ui.dashboard-shell #app-content .classic-detail #workflow-action-form{grid-template-columns:1fr}body.zip-ui.dashboard-shell #app-content .classic-detail #workflow-action-form>*{grid-column:1}}

/* Polish the shipped 1023 layout without relocating controls. */
body.zip-ui.dashboard-shell #app-content .classic-detail .order-identity-bar{gap:18px;margin:18px 0;padding:5px 0 12px}
body.zip-ui.dashboard-shell #app-content .classic-detail .order-identity-title h1{font-size:23px}
body.zip-ui.dashboard-shell #app-content .classic-detail .order-detail{gap:20px}
body.zip-ui.dashboard-shell #app-content .classic-detail .detail-main{gap:16px}
body.zip-ui.dashboard-shell #app-content .classic-detail .order-section>h2{padding:14px 18px;font-size:17px}
body.zip-ui.dashboard-shell #app-content .classic-detail #order-processing>h2{padding:14px 18px;font-size:17px}
body.zip-ui.dashboard-shell #app-content .classic-detail .detail-side .card{padding:18px}
body.zip-ui.dashboard-shell #app-content .classic-detail #workflow-action-form{gap:14px 18px}
body.zip-ui.dashboard-shell #app-content .classic-detail #workflow-action-form .select-trigger{border-radius:8px!important;border-color:#d8e1eb!important;min-height:42px!important}
body.zip-ui.dashboard-shell #app-content .classic-detail #workflow-action-form>[data-attachment-choices]{padding:14px 16px;border-radius:8px}
body.zip-ui.dashboard-shell #app-content .classic-detail #workflow-action-form>[data-attachment-choices] .notify-option{display:inline-flex;align-items:center;margin:0 18px 8px 0}
body.zip-ui.dashboard-shell #app-content .classic-detail .detail-history>summary{font-size:14px}
/* Sidebar refinement: one summary surface, compact evidence and aligned facts. */
body.zip-ui.dashboard-shell #app-content .classic-detail .detail-summary{padding:18px!important;border:1px solid #e2e7ed!important;border-radius:12px!important;background:#fff!important}
body.zip-ui.dashboard-shell #app-content .classic-detail .detail-summary>h2{font-size:15px!important;margin:0 0 12px!important;color:#344458}
body.zip-ui.dashboard-shell #app-content .classic-detail .detail-summary .amount-inline{display:flex!important;align-items:baseline;justify-content:space-between;background:transparent!important;border:0!important;border-radius:0!important;padding:0 0 16px!important;margin:0 0 16px!important;border-bottom:1px solid #edf0f4!important}
body.zip-ui.dashboard-shell #app-content .classic-detail .detail-summary .amount-inline>span{font-size:12px;color:#8290a0}
body.zip-ui.dashboard-shell #app-content .classic-detail .detail-summary .amount-inline strong{font-size:24px!important;font-weight:650!important;color:#2a4255!important;letter-spacing:-.5px}
body.zip-ui.dashboard-shell #app-content .classic-detail .detail-summary #order-attachments{padding:0!important;margin:0 0 14px!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}
body.zip-ui.dashboard-shell #app-content .classic-detail .detail-summary .compact-proof-heading{padding:0!important;margin:0 0 10px!important;border:0!important;display:block!important}
body.zip-ui.dashboard-shell #app-content .classic-detail .detail-summary .compact-proof-heading h2{display:none}
body.zip-ui.dashboard-shell #app-content .classic-detail .detail-summary .compact-proof-tabs{display:flex!important;gap:4px!important;border:0!important;background:#f2f5f7;padding:3px;border-radius:7px}
body.zip-ui.dashboard-shell #app-content .classic-detail .detail-summary .compact-proof-tabs button{flex:1;border:0!important;background:transparent!important;border-radius:5px!important;padding:6px 8px!important;font-size:12px!important;color:#8793a0!important;min-height:30px!important}
body.zip-ui.dashboard-shell #app-content .classic-detail .detail-summary .compact-proof-tabs button[aria-selected=true]{background:#fff!important;color:#296474!important;box-shadow:0 1px 3px #20344010!important}
body.zip-ui.dashboard-shell #app-content .classic-detail .detail-summary .compact-proof-stage{height:180px!important;background:#f7f9fb!important;border:0!important;border-radius:8px!important;padding:8px!important}
body.zip-ui.dashboard-shell #app-content .classic-detail .detail-summary button.compact-proof-image,body.zip-ui.dashboard-shell #app-content .classic-detail .detail-summary .compact-proof-image img{height:164px!important;max-height:164px!important}
body.zip-ui.dashboard-shell #app-content .classic-detail .detail-summary .compact-proof-toolbar{margin:7px 0 0!important;text-align:right}
body.zip-ui.dashboard-shell #app-content .classic-detail .detail-summary .compact-proof-toolbar a{border:0!important;background:none!important;padding:2px 0!important;color:#708795!important;font-size:11px!important;min-height:0!important}
body.zip-ui.dashboard-shell #app-content .classic-detail .detail-summary [data-proof-message]{font-size:11px!important;margin:2px 0 0!important;color:#9aa4b0!important}
body.zip-ui.dashboard-shell #app-content .classic-detail .detail-summary>dl.details{display:grid!important;grid-template-columns:76px minmax(0,1fr)!important;column-gap:12px!important;row-gap:0!important;margin:0!important;border-top:1px solid #edf0f4}
body.zip-ui.dashboard-shell #app-content .classic-detail .detail-summary>dl.details>dt,body.zip-ui.dashboard-shell #app-content .classic-detail .detail-summary>dl.details>dd{margin:0!important;padding:9px 0!important;border:0!important;border-bottom:1px solid #f0f2f5!important;font-size:12px!important;line-height:1.5!important}
body.zip-ui.dashboard-shell #app-content .classic-detail .detail-summary>dl.details>dt{color:#8a96a5!important;font-weight:400!important}
body.zip-ui.dashboard-shell #app-content .classic-detail .detail-summary>dl.details>dd{color:#3f5168!important;font-weight:500!important;text-align:right}
body.zip-ui.dashboard-shell #app-content .classic-detail .sidebar-timing{border:1px solid #e4e9ef;border-radius:10px;background:#fff;padding:13px 16px}
body.zip-ui.dashboard-shell #app-content .classic-detail .sidebar-timing>summary{font-size:12px;color:#718194;cursor:pointer}
body.zip-ui.dashboard-shell #app-content .classic-detail .sidebar-timing .deadline-card{border:0!important;padding:14px 0 0!important;margin:0!important;box-shadow:none!important}
body.zip-ui.dashboard-shell #app-content .classic-detail .sidebar-timing .deadline-card>h2{display:none}
body.zip-ui.dashboard-shell #app-content .classic-detail .feedback-actions-card{padding:16px!important;border:1px solid #e1e8ed!important;background:#fff!important;border-radius:10px!important}
body.zip-ui.dashboard-shell #app-content .classic-detail .feedback-actions-card>h2{font-size:13px!important;margin:0 0 12px!important;color:#637386!important}
body.zip-ui.dashboard-shell #app-content .classic-detail .feedback-actions-card .section-actions{display:flex;gap:8px;flex-wrap:wrap}
body.zip-ui.dashboard-shell #app-content .classic-detail .feedback-actions-card button{border-radius:7px!important;font-size:13px!important;min-height:39px!important;flex:1}
body.zip-ui.dashboard-shell #app-content .classic-detail .order-identity-meta .order-platform-label{display:inline-flex;align-items:center;gap:8px;padding:7px 12px;border-radius:8px;background:#e8f5f7;color:#087f95;font-size:13px;line-height:1.4;white-space:nowrap}
body.zip-ui.dashboard-shell #app-content .classic-detail .order-platform-label .platform-dot{flex-shrink:0}
body.zip-ui.dashboard-shell #app-content .classic-detail .order-top-navigation{margin:0 0 14px;display:flex;align-items:center}
body.zip-ui.dashboard-shell #app-content .classic-detail .detail-summary .compact-proof-tabs{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));width:100%!important;box-sizing:border-box;gap:3px!important;padding:3px!important;border-radius:8px!important;overflow:hidden}
body.zip-ui.dashboard-shell #app-content .classic-detail .detail-summary .compact-proof-tabs button{width:100%!important;min-width:0!important;max-width:100%!important;height:34px!important;min-height:34px!important;box-sizing:border-box;margin:0!important;padding:0 8px!important;display:flex;align-items:center;justify-content:center;border-radius:5px!important;transform:none!important}
/* Detail form dropdowns: quiet borders and consistent field sizing. */
body.zip-ui.dashboard-shell #app-content .classic-detail .select-trigger{min-height:42px!important;height:auto!important;padding:10px 12px!important;border:1px solid #d8e1eb!important;border-radius:8px!important;background:#fff!important;color:#33465d!important;font-size:13px!important;font-weight:500!important;line-height:20px!important;box-shadow:none!important;transform:none!important}
body.zip-ui.dashboard-shell #app-content .classic-detail .select-trigger:hover{border-color:#a5bbc9!important;background:#fafcfd!important}
body.zip-ui.dashboard-shell #app-content .classic-detail .select-trigger:focus-visible,body.zip-ui.dashboard-shell #app-content .classic-detail .select-trigger[aria-expanded=true]{border-color:#6598aa!important;outline:2px solid #dcecf1!important;outline-offset:1px!important}
body.zip-ui.dashboard-shell:has(.classic-detail) .select-menu{padding:5px!important;border:1px solid #dce4ec!important;border-radius:10px!important;background:#fff!important;box-shadow:0 8px 24px #263e561a!important;box-sizing:border-box!important}
body.zip-ui.dashboard-shell:has(.classic-detail) .select-menu button[role=option]{min-height:36px!important;margin:2px 0!important;padding:8px 11px!important;border:0!important;border-radius:6px!important;background:#fff!important;color:#33465d!important;font-size:13px!important;font-weight:500!important;line-height:20px!important;box-shadow:none!important;transform:none!important;outline:none!important}
body.zip-ui.dashboard-shell:has(.classic-detail) .select-menu button[role=option]:hover{background:#f2f6f9!important}
body.zip-ui.dashboard-shell:has(.classic-detail) .select-menu button[role=option][aria-selected=true]{background:#eaf4f6!important;color:#146a7d!important;font-weight:600!important}
body.zip-ui.dashboard-shell:has(.classic-detail) .select-menu button[role=option]:focus-visible{background:#edf4f7!important;outline:1px solid #87afbd!important;outline-offset:-1px!important}
body.zip-ui.dashboard-shell:has(.classic-detail) .select-menu button[role=option]:disabled{color:#9aa6b3!important;background:#f8fafb!important}
body.zip-ui.dashboard-shell #app-content .classic-detail #status-override form.stacked{gap:18px}
body.zip-ui.dashboard-shell #app-content .classic-detail #status-override form.stacked>button.primary{align-self:flex-start;margin-top:10px;border-radius:8px}
