/* V168 — compact Medn Solutions Ltd / Medn Solutions Ltd review workspace and unclipped navigation */
#sidebar{top:var(--cat-header-bottom,140px)!important;bottom:var(--cat-footer-height,38px)!important;padding-bottom:0!important;overflow:hidden!important}
#sidebar .sidebar-brand{display:flex!important;align-items:center;gap:12px;min-height:76px!important;height:auto!important;padding:12px 16px!important;flex:0 0 auto!important}
#sidebar .sidebar-brand .brand-logo{display:flex!important;align-items:center;justify-content:center;flex:0 0 48px;width:48px;height:48px;line-height:1;font-size:16px!important;color:white!important;background:linear-gradient(140deg,#136caf,#13b8bf)!important;border:1px solid #8bdcf3;border-radius:12px;box-shadow:0 0 12px #39c6e833}
#sidebar .sidebar-brand strong{font-size:15px!important;line-height:1.4;color:#fff!important}#sidebar .sidebar-brand span{font-size:11px!important;color:#c7e3ef!important}
#sidebar #mainNavigation{min-height:0;flex:1 1 auto;padding-top:8px!important}#sidebar .sidebar-footer{flex:0 0 auto;padding:10px 16px!important}
#view-rebuttals{max-width:1600px;margin:0 auto}#view-rebuttals input,#view-rebuttals select,#view-rebuttals textarea{width:100%;padding:10px;border:1px solid #b9c9d9;border-radius:8px;background:#fff;color:#15354e}#view-rebuttals label{display:grid;gap:6px;font-size:13px;font-weight:700}#view-rebuttals form{display:grid;gap:14px;padding:16px 0}#view-rebuttals textarea{min-height:84px;resize:vertical}#view-rebuttals button{border:1px solid #a9c5da;border-radius:8px;padding:9px 14px;background:#174767;color:#fff;font-weight:700;cursor:pointer}#view-rebuttals button:disabled{opacity:.5;cursor:wait}.reb-banner{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px;border-radius:16px;background:linear-gradient(115deg,#082638,#174767);color:#fff;box-shadow:0 6px 20px #173f6022;margin-bottom:18px}.reb-banner h2{font-size:24px;color:#fff;margin:7px 0}.reb-banner small{letter-spacing:1px;color:#b4d5e7}.reb-banner p{color:#d0e4ef;margin:0}.reb-parties{display:flex;align-items:center;gap:18px}.reb-parties span{padding:12px 18px;border:1px solid #527a96;border-radius:10px;font-size:20px;font-weight:750}.reb-parties small{display:block;font-size:11px;letter-spacing:0;margin-top:4px}.reb-metrics,.reb-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0}.reb-metrics>div,.reb-facts>div{background:#fff;border:1px solid #cfdeea;border-radius:12px;padding:14px;border-top:3px solid #2389b5}.reb-metrics strong{display:block;font-size:26px;color:#143f5a}.reb-facts strong{display:block;margin-top:5px;overflow-wrap:anywhere}.reb-toolbar{display:flex;align-items:end;gap:12px;margin:18px 0}.reb-toolbar label:first-child{flex:1}.reb-toolbar label:nth-child(2){min-width:160px}.reb-table{width:100%;table-layout:fixed;border-collapse:collapse}.reb-table th,.reb-table td{padding:12px 9px;border:1px solid #dae5ee;overflow-wrap:anywhere;font-size:12px}.reb-table th{background:#edf4fa;color:#174363}.reb-table th:first-child{width:55px}.reb-table th:last-child{width:110px}.reb-table td small{display:block;margin-top:4px;color:#577086}.reb-table tbody tr:hover{background:#f0f8fc}.reb-status{display:inline-block;border-radius:6px;padding:5px 8px;background:#eaf0f5;color:#264961;font-size:12px;font-weight:750}.reb-pending,.reb-clarification{background:#fff2d8;color:#895c08}.reb-underreview{background:#e3f1fc;color:#155c91}.reb-accepted{background:#e0f6e9;color:#146638}.reb-rejected{background:#fee8e8;color:#a82f39}.reb-empty{text-align:center;padding:28px;color:#315671}.reb-empty small{display:block;margin-top:8px}.reb-heading{display:flex;justify-content:space-between;gap:12px;align-items:center}.reb-heading h3{margin:6px 0}.reb-case p{white-space:pre-wrap;overflow-wrap:anywhere}.reb-evidence{padding:12px;border-left:3px solid #20a0b1;background:#f0f7fa}.reb-history{padding-left:24px}.reb-history li{padding:7px 0}.reb-history small{display:block;color:#5f7688}.reb-form-grid{display:grid;grid-template-columns:2fr 1fr;gap:12px}.reb-note{font-size:12px;color:#547087;line-height:1.6}.reb-error{color:#b12b35;padding:10px}.reb-success{color:#146638;padding:10px}#rebCreate>summary{font-weight:750;cursor:pointer}@media(max-width:800px){.reb-banner,.reb-toolbar{flex-wrap:wrap}.reb-metrics,.reb-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.reb-form-grid{grid-template-columns:1fr}.reb-table th,.reb-table td{padding:7px 4px;font-size:11px}.reb-table th:last-child{width:76px}.reb-table button{padding:6px!important}}

/* Rebuttal workspace: readable hierarchy and compact case management. */
#appShell #view-rebuttals{max-width:1600px;padding:22px 24px 30px;box-sizing:border-box;color:#18374d}
#appShell #view-rebuttals .reb-banner{position:relative;padding:26px 28px;border:1px solid #22556d;border-radius:15px;background:linear-gradient(115deg,#102d40 0%,#17475c 70%,#15596a 100%);box-shadow:0 7px 22px #153e5712;gap:24px;margin:0 0 18px;overflow:hidden}
#appShell #view-rebuttals .reb-banner::before{content:'';position:absolute;left:0;top:22px;bottom:22px;width:4px;background:#ecb66f;border-radius:0 3px 3px 0}
#appShell #view-rebuttals .reb-eyebrow{display:block;font-size:10px;font-weight:800;letter-spacing:1.3px;line-height:1.5;color:#53718a}
#appShell #view-rebuttals .reb-banner .reb-eyebrow{color:#acdbe4!important}
#appShell #view-rebuttals .reb-banner h2{color:#fff!important;font-size:26px!important;font-weight:750!important;line-height:1.25;margin:7px 0 9px!important;letter-spacing:-.4px}
#appShell #view-rebuttals .reb-banner p{color:#d5e7ee!important;font-size:13px!important;line-height:1.6;margin:0!important}
#appShell #view-rebuttals .reb-parties{gap:14px;flex:none}
#appShell #view-rebuttals .reb-parties>span{max-width:230px;padding:12px 16px;font-size:15px;line-height:1.35;border:1px solid #ffffff40;background:#ffffff09;border-radius:9px;color:#fff!important}
#appShell #view-rebuttals .reb-parties small{font-size:10px;font-weight:600;line-height:1.4;color:#c1dbe5!important;margin-top:5px;letter-spacing:.2px}
#appShell #view-rebuttals .reb-parties>b{color:#91cbd8;font-size:21px}
#appShell #view-rebuttals #rebMessage:empty{display:none}
#appShell #view-rebuttals #rebMessage:not(:empty){border:1px solid currentColor;border-radius:8px;background:#fff;margin:12px 0;font-size:13px}
#appShell #view-rebuttals .reb-metrics{gap:14px;margin:18px 0}
#appShell #view-rebuttals .reb-metrics>.reb-metric{display:flex;gap:14px;align-items:center;border:1px solid #d6e2eb;border-top:1px solid #d6e2eb;border-radius:12px;padding:18px 16px;background:#fff;box-shadow:0 3px 10px #16364d05;--reb-tone:#23638c;--reb-tint:#eaf4fc}
#appShell #view-rebuttals .reb-metrics>.reb-metric-1{--reb-tone:#a46412;--reb-tint:#fff4e2}
#appShell #view-rebuttals .reb-metrics>.reb-metric-2{--reb-tone:#6750ac;--reb-tint:#f2edfc}
#appShell #view-rebuttals .reb-metrics>.reb-metric-3{--reb-tone:#18704f;--reb-tint:#e8f6ee}
#appShell #view-rebuttals .reb-metric-symbol{width:43px;height:43px;flex:0 0 43px;border-radius:11px;display:grid;place-items:center;background:var(--reb-tint);color:var(--reb-tone);font-size:24px;font-weight:700}
#appShell #view-rebuttals .reb-metric small{color:#4a657b!important;font-size:11px;font-weight:700}
#appShell #view-rebuttals .reb-metric strong{font-size:29px;line-height:1.2;margin:3px 0;color:#163b54!important;font-weight:750}
#appShell #view-rebuttals .reb-metric-caption{display:block;color:#64788b;font-size:10px;line-height:1.5}
#appShell #view-rebuttals .reb-toolbar{display:grid;grid-template-columns:minmax(200px,1fr) 185px auto auto;gap:12px;align-items:end;padding:16px 18px;margin:0 0 16px;background:#fff;border:1px solid #d6e2eb;border-radius:12px}
#appShell #view-rebuttals label{color:#31516b;font-size:11px;font-weight:750;line-height:1.5}
#appShell #view-rebuttals input,#appShell #view-rebuttals select,#appShell #view-rebuttals textarea{box-sizing:border-box;min-height:42px;font-size:13px;line-height:1.45;border-color:#c7d6e2;border-radius:7px;color:#183e58;background:#fff}
#appShell #view-rebuttals :is(input,select,textarea):focus-visible{outline:2px solid #1997b3;outline-offset:2px;border-color:#1997b3}
#appShell #view-rebuttals button{min-height:40px;padding:9px 14px;border-radius:7px;font-size:12px;font-weight:750;line-height:1.4;transition:background .18s ease,box-shadow .18s ease}
#appShell #view-rebuttals button:hover:not(:disabled){background:#0e5a76;box-shadow:0 3px 9px #1647631a}
#appShell #view-rebuttals button:focus-visible{outline:2px solid #1997b3;outline-offset:3px}
#appShell #view-rebuttals #rebRefresh{background:#fff!important;color:#27546e!important;border-color:#c1d3df}
#appShell #view-rebuttals #rebNew{background:#145b73!important;border-color:#145b73;color:#fff!important}
#appShell #view-rebuttals #rebCreate{border:1px solid #d6e2eb;border-radius:12px;padding:0;margin:0 0 16px;box-shadow:none;background:#fff}
#appShell #view-rebuttals #rebCreate>summary{display:flex;align-items:center;gap:12px;padding:15px 18px;list-style:none;color:#224e69;font-size:13px}
#appShell #view-rebuttals #rebCreate>summary::-webkit-details-marker{display:none}
#appShell #view-rebuttals #rebCreate>summary::before{content:'+';display:grid;place-items:center;flex:0 0 28px;height:28px;background:#eaf4f8;border:1px solid #cee2eb;border-radius:7px;font-size:19px;font-weight:500}
#appShell #view-rebuttals #rebCreate[open]>summary{background:#f4f9fc;border-bottom:1px solid #dae6ef;border-radius:12px 12px 0 0}
#appShell #view-rebuttals #rebCreate[open]>summary::before{content:'−'}
#appShell #view-rebuttals #rebCreate>summary small{display:block;font-size:11px;line-height:1.5;color:#657c90;margin-top:2px;font-weight:500}
#appShell #view-rebuttals #rebRaise{padding:18px 20px;margin:0}
#appShell #view-rebuttals #rebRaise>button{justify-self:start;min-width:160px}
#appShell #view-rebuttals .reb-register{padding:0!important;border:1px solid #cfdeea;border-radius:12px;overflow:hidden;box-shadow:0 4px 14px #173e5907;background:#fff;margin-bottom:18px}
#appShell #view-rebuttals .reb-register-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;background:#fff;border-bottom:1px solid #dce6ee}
#appShell #view-rebuttals .reb-register-head h3{margin:3px 0 0;font-size:17px;font-weight:750;color:#193f58}
#appShell #view-rebuttals .reb-case-count{font-size:11px;font-weight:700;border:1px solid #d5e4ed;border-radius:20px;padding:6px 10px;color:#476a83;background:#f5f9fc;white-space:nowrap}
#appShell #view-rebuttals .reb-register>.table-wrapper{margin:0;padding:0;overflow:auto;border:0}
#appShell #view-rebuttals .reb-table th{font-size:10px;letter-spacing:.4px;line-height:1.5;padding:12px 10px;color:#35566e;background:#f1f6fa;white-space:normal;border:0;border-bottom:1px solid #d7e4ed}
#appShell #view-rebuttals .reb-table td{font-size:12px;padding:14px 10px;line-height:1.5;border:0;border-bottom:1px solid #e2eaf1;vertical-align:middle;color:#284b64}
#appShell #view-rebuttals .reb-table th:first-child,#appShell #view-rebuttals .reb-table th:last-child{width:auto}
#appShell #view-rebuttals .reb-table td small{font-size:10px;line-height:1.5;color:#607a8f!important}
#appShell #view-rebuttals .reb-table tbody tr:nth-child(even){background:#fafcfe}
#appShell #view-rebuttals .reb-table tbody tr:hover{background:#f1f8fc}
#appShell #view-rebuttals .reb-table button{padding:7px 10px;min-height:34px;font-size:11px}
#appShell #view-rebuttals .reb-empty{display:flex;flex-direction:column;align-items:center;padding:38px 18px 42px;gap:9px;color:#345972}
#appShell #view-rebuttals .reb-empty-icon{width:48px;height:48px;display:grid;place-items:center;border:1px solid #d6e6ef;background:#f0f7fb;border-radius:14px;color:#52829d}
#appShell #view-rebuttals .reb-empty-icon svg{width:25px;height:25px}
#appShell #view-rebuttals .reb-empty strong{font-size:14px;color:#345972}
#appShell #view-rebuttals .reb-empty small{margin:0;font-size:12px;max-width:430px;font-weight:500}
#appShell #view-rebuttals .reb-status{font-size:11px;line-height:1.4;padding:5px 9px;border-radius:20px;white-space:normal}
#appShell #view-rebuttals .reb-case{border:1px solid #d1e2ed;border-radius:12px;padding:20px;background:#fff;box-shadow:0 4px 14px #173e5908}
#appShell #view-rebuttals .reb-heading{padding-bottom:14px;border-bottom:1px solid #e0e9ef}
#appShell #view-rebuttals .reb-facts>div{background:#f5f9fc;border-top:1px solid #cfdeea;font-size:11px;color:#5b7386}
#appShell #view-rebuttals .reb-facts strong{font-size:15px;color:#234b65}
#appShell #view-rebuttals .reb-history{list-style:none;padding-left:0}
#appShell #view-rebuttals .reb-history li{border-left:2px solid #b9d8e5;padding:10px 16px;margin-left:5px;line-height:1.6;font-size:12px}
#appShell #view-rebuttals .reb-note{border-top:1px solid #d6e3ed;padding-top:12px;font-size:11px;color:#617b8f}
@media(max-width:1100px){#appShell #view-rebuttals .reb-metric{gap:10px;padding:14px 12px}#appShell #view-rebuttals .reb-metric-symbol{width:34px;height:34px;flex-basis:34px}#appShell #view-rebuttals .reb-parties>span{font-size:13px;max-width:180px}}
@media(max-width:800px){#appShell #view-rebuttals{padding:16px 12px}#appShell #view-rebuttals .reb-banner{padding:20px;align-items:flex-start;flex-direction:column}#appShell #view-rebuttals .reb-banner h2{font-size:23px!important}#appShell #view-rebuttals .reb-parties{width:100%}#appShell #view-rebuttals .reb-parties>span{flex:1;max-width:none}#appShell #view-rebuttals .reb-toolbar{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}#appShell #view-rebuttals .reb-toolbar label:first-child{grid-column:1/-1}#appShell #view-rebuttals .reb-table{min-width:850px}#appShell #view-rebuttals .reb-metrics{gap:10px}}
@media(max-width:460px){#appShell #view-rebuttals .reb-metric-symbol{display:none}#appShell #view-rebuttals .reb-parties{gap:8px}#appShell #view-rebuttals .reb-parties>span{padding:10px;font-size:12px}#appShell #view-rebuttals .reb-toolbar{grid-template-columns:1fr}#appShell #view-rebuttals .reb-toolbar label:first-child{grid-column:auto}}
@media(prefers-reduced-motion:reduce){#appShell #view-rebuttals button{transition:none}}

/* Consistent case-review palette and report readability. */
html body #appShell #view-rebuttals{background:#edf1f7;max-width:1800px}
html body #appShell #view-rebuttals .reb-banner{background:linear-gradient(108deg,#963875,#663576 30%,#39306c 58%,#10327e)!important;box-shadow:0 5px 18px #30355318;border:1px solid #6d5b87;border-radius:14px;padding:24px}
html body #appShell #view-rebuttals .reb-banner :is(h2,p,small){color:#fff!important;-webkit-text-fill-color:#fff!important;line-height:1.5}
html body #appShell #view-rebuttals .reb-parties>span{background:#ffffff12;border-color:#ffffff45;color:#fff;border-radius:9px}
html body #appShell #view-rebuttals .reb-metrics>div{background:#f4f5fa;border:1px solid #d5ddea;border-top:3px solid #617b9c;box-shadow:0 3px 12px #293b5010;border-radius:11px}
html body #appShell #view-rebuttals .reb-metrics>div:nth-child(2){background:#fff7eb;border-top-color:#be8a43}
html body #appShell #view-rebuttals .reb-metrics>div:nth-child(3){background:#f4effa;border-top-color:#8765aa}
html body #appShell #view-rebuttals .reb-metrics>div:nth-child(4){background:#eff8f3;border-top-color:#528970}
html body #appShell #view-rebuttals .reb-metrics strong{color:#273f5c!important;font-variant-numeric:tabular-nums}
html body #appShell #view-rebuttals .reb-metrics :is(small,p){color:#52647b!important;line-height:1.5}
html body #appShell #view-rebuttals :is(.reb-toolbar,.reb-register,.reb-case,#rebCreate){border-color:#d3ddeb;background:#fff;box-shadow:0 3px 12px #293b5009;border-radius:11px}
html body #appShell #view-rebuttals :is(input,select,textarea){border-color:#c8d4e2;color:#2a405c;background:#fff;box-sizing:border-box;line-height:1.5}
html body #appShell #view-rebuttals :is(input,textarea)::placeholder{color:#60718a;opacity:1}
html body #appShell #view-rebuttals button{border-radius:8px}
html body #appShell #view-rebuttals .reb-toolbar>button:last-child{background:linear-gradient(110deg,#5f4b80,#2e4879)!important;color:#fff!important;border-color:#61517d}
html body #appShell #view-rebuttals .reb-table thead th{background:#2c415f!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border:1px solid #60738e;font-weight:700;line-height:1.5;overflow-wrap:normal;word-break:normal}
html body #appShell #view-rebuttals .reb-table tbody td{border:1px solid #d8e1eb!important;line-height:1.5}
html body #appShell #view-rebuttals .reb-table tbody tr:nth-child(even){background:#f7f9fc}
html body #appShell #view-rebuttals .reb-table thead th:first-child{width:45px;white-space:nowrap}
html body #appShell #view-rebuttals .reb-register-head{background:#f1eef7;border-bottom:1px solid #d9ddeb}
html body #appShell #view-rebuttals .reb-history li{border-left-color:#9b85b4}
html body #appShell #view-rebuttals :is(button,input,select,textarea):focus-visible{outline:2px solid #8969aa;outline-offset:2px}
@media print{html body #appShell #view-rebuttals{background:#fff}html body #appShell #view-rebuttals .reb-banner{background:#2c415f!important;box-shadow:none}}
