/* Commercial item workbench: isolated styles, private data remains in memory. */
.c563-source-banner{display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid #b8d9e0;border-radius:12px;background:#f0f8fa;padding:16px 20px;margin:16px 0}.c563-source-banner p{font-size:13px;margin:6px 0 0;color:#536879}.c563-source-banner .btn{flex-shrink:0}
.c563-workbench{--track-teal:#087e8b;--track-edge:#d7e3ec;color:#18374a}.c563-work-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:12px 0 20px}.c563-work-head h2{margin:5px 0;font-size:26px;letter-spacing:-.6px}.c563-work-head small,.c563-item-head>small{font-size:11px;letter-spacing:1px;font-weight:700;color:#087e8b}.c563-work-head p{font-size:13px;color:#536879;margin:6px 0}.c563-layout{display:grid;grid-template-columns:minmax(230px,28%) minmax(0,1fr);gap:18px;align-items:start}.c563-sidebar{position:sticky;top:16px;background:#fff;border:1px solid var(--track-edge);border-radius:14px;padding:14px}.c563-sidebar label{display:block;font-size:12px;font-weight:600}.c563-sidebar input{width:100%;min-width:0;margin:6px 0 12px}.c563-sidebar nav{max-height:68vh;overflow:auto;scrollbar-gutter:stable}.c563-sidebar a{display:flex;flex-direction:column;gap:6px;padding:12px;text-decoration:none;color:#18374a;border:1px solid transparent;border-radius:10px;margin-bottom:6px;line-height:1.4}.c563-sidebar a:hover{background:#f5f9fc}.c563-sidebar a.selected{background:#eaf6f7;border-color:#a3cfd5;box-shadow:inset 3px 0 0 #087e8b}.c563-sidebar a small{font-size:10px;color:#537488}.c563-sidebar a b{font-size:13px;font-weight:650}.c563-sidebar a span{font-size:11px;color:#5a7283}.c563-sidebar [hidden]{display:none!important}
.c563-detail{min-width:0;border:1px solid var(--track-edge);border-radius:14px;background:#fff;overflow:hidden}.c563-detail>p{padding:20px}.c563-item-head{padding:22px 22px 16px;background:linear-gradient(115deg,#f2f9fb,#fff);border-bottom:1px solid #e1eaf1}.c563-item-head h2{font-size:21px;line-height:1.4;margin:8px 0;color:#18374a;overflow-wrap:anywhere}.c563-item-head p{font-size:12px;line-height:1.6;color:#536879}.c563-tabs{display:flex;flex-wrap:wrap;gap:6px;padding:12px 18px;border-bottom:1px solid #e1eaf1}.c563-tabs .btn{font-size:11px;padding:9px 11px;min-height:38px}.c563-tabs .btn.primary{background:#087e8b;color:#fff;border-color:#087e8b}.c563-item-body{padding:18px 22px 24px}.c563-item-body h3{font-size:16px;margin:22px 0 12px}.c563-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:16px 0}.c563-actions a{text-decoration:none}.c563-inline{display:block;font-size:12px;color:#087e8b;margin-top:8px;text-decoration:none}
.c563-metrics,.c563-import-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:10px;margin:16px 0}.c563-metric{padding:14px;background:#f4f8fb;border:1px solid #d7e3ec;border-radius:11px;min-width:0;display:flex;flex-direction:column;gap:7px;line-height:1.35}.c563-metric>span{font-size:11px;color:#516e82}.c563-metric strong{font-size:22px;line-height:1.25;overflow-wrap:anywhere;color:#163b4d}.c563-metric small{font-size:10px;color:#597287}.c563-note{padding:12px 15px;border-left:3px solid #087e8b;border-radius:8px;background:#edf7f9;font-size:12px;line-height:1.65;color:#335b70;margin:12px 0}.c563-note.warning{background:#fff7e9;border-left-color:#d59534;color:#7b5421}.c563-caption{font-size:11px;line-height:1.65;color:#647e8e}.c563-warning-text{color:#956514!important}.c563-scroll{max-width:100%;overflow:auto;scrollbar-gutter:stable}.c563-table{width:100%;border-collapse:collapse;font-size:12px;line-height:1.5}.c563-table th{background:#eef4f8;font-weight:600;font-size:11px;text-align:left;color:#476c82;padding:11px 12px;border-bottom:1px solid #d7e3ec;white-space:nowrap}.c563-table td{padding:13px 12px;vertical-align:top;border-bottom:1px solid #e2ebf2;min-width:75px;overflow-wrap:anywhere}.c563-table td small{display:block;font-size:10px;color:#617b8f;line-height:1.5;margin-top:4px}.c563-table td .btn{margin-top:6px;font-size:11px;min-height:36px}.c563-table td:first-child{min-width:165px}.c563-table tr[hidden]{display:none!important}.c563-import-table{min-width:860px}.c563-import-table td:first-child{width:38%}.c563-import-table select{min-width:155px;max-width:220px}.c563-import-table tbody tr:nth-child(even){background:#fbfcfe}
.c563-date,.c563-search,.c563-reason{display:block;font-size:12px;font-weight:600;margin:14px 0}.c563-date input{display:block;max-width:230px;margin:6px 0}.c563-date small{display:block;font-size:11px;font-weight:400;color:#677e8f}.c563-search input,.c563-reason textarea{display:block;width:100%;margin-top:6px}.c563-reason textarea{min-height:86px}.c563-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.c563-form-grid label{display:flex;flex-direction:column;font-size:12px;gap:7px;min-width:0}.c563-form-grid input,.c563-form-grid select,.c563-form-grid textarea{width:100%;min-width:0}.c563-form-grid .wide{grid-column:1/-1}.c563-form-grid small{font-size:11px;color:#627e8f}.c563-unboxed{border:0;padding:0;margin:12px 0;min-width:0}.c563-choices{max-height:380px;overflow:auto;border:1px solid #d7e3ec;border-radius:11px;margin:12px 0}.c563-choices label{display:flex;align-items:start;gap:12px;padding:12px 14px;border-bottom:1px solid #e3ebf2;font-size:12px}.c563-choices input[type=checkbox]{flex:0 0 18px;width:18px;margin:3px 0}.c563-choices span{min-width:0;line-height:1.5}.c563-choices small{display:block;font-size:11px;color:#637e8f;margin-top:4px}.c563-choices [hidden]{display:none!important}.c563-empty{padding:30px;background:#fff;border:1px solid #d7e3ec;border-radius:14px}.c563-track-progress{height:8px;background:#e8f0f5;border-radius:99px;overflow:hidden;margin:10px 0}.c563-track-progress>span{display:block;height:100%;background:#087e8b}.c563-actions [hidden]{display:none!important}
@media(max-width:1050px){.c563-layout{grid-template-columns:220px minmax(0,1fr)}.c563-item-head,.c563-item-body{padding:16px}.c563-tabs{padding:10px}.c563-metric strong{font-size:20px}.c563-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.c563-layout{display:block}.c563-sidebar{position:static;padding:12px;margin-bottom:14px}.c563-sidebar nav{max-height:190px}.c563-sidebar a{padding:10px}.c563-sidebar a small{font-size:10px}.c563-sidebar a b{font-size:12px}.c563-source-banner,.c563-work-head{align-items:stretch;flex-direction:column}.c563-work-head h2{font-size:23px}.c563-item-head h2{font-size:19px}.c563-metrics,.c563-import-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.c563-metric{padding:12px}.c563-metric strong{font-size:18px}.c563-form-grid{grid-template-columns:1fr}.c563-tabs{gap:5px}.c563-tabs .btn{font-size:11px;min-height:42px;flex-grow:1}.c563-choices{max-height:310px}.c563-table{font-size:11px}.c563-table th,.c563-table td{padding:10px 8px}}
@media(max-width:390px){.c563-metrics,.c563-import-metrics{grid-template-columns:1fr}}
/* Opt out of generic record-table clipping: these cells contain editable controls. */
#commercial563-import .c563-table th,#commercial563-import .c563-table td,.c563-workbench .c563-table td{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;height:auto!important;max-width:none}
#commercial563-import .c563-table td:last-child>.btn{display:flex;margin-top:8px;width:max-content;max-width:100%;white-space:normal}
#commercial563-import .c563-table td>span{display:block;white-space:normal}
