/* SMV Legal · isolated AXIS dark mode */
.smv-legal-active .bottom-nav{display:none}
.smv-legal-active #content{max-width:980px;margin:0 auto;padding:16px}
.smv-shell{color:#e6eef9;font-family:inherit;min-height:70vh}
.smv-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 24px}
.smv-brand{display:flex;align-items:center;gap:14px}
.smv-brand h1{font-size:24px;margin:0;color:#f4f9ff}
.smv-brand small{color:#9ab3d0;font-size:12px}
.smv-mark{background:linear-gradient(145deg,#122f53,#0b1426);border:1px solid #388cdc;box-shadow:0 0 0 2px #0e233d,0 8px 22px #0005;border-radius:14px;display:grid;place-items:center;height:64px;width:64px;font-weight:800;font-size:22px;color:#fff;letter-spacing:.07em}
.smv-shell h2{font-size:22px;color:#eaf3ff;margin:20px 0 10px}
.smv-shell h3{font-size:18px;color:#dbe9fa}
.smv-shell p,.smv-shell small,.smv-shell label{line-height:1.48}
.smv-hint{color:#91a9c7;font-size:13px}
.smv-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}
.smv-button{background:#143254;color:#dcefff;border:1px solid #3978ab;border-radius:12px;padding:11px 14px;min-height:43px;font-size:14px;font-weight:600;cursor:pointer}
.smv-button:hover,.smv-button:focus-visible{background:#214978;outline-color:#68bdff}
.smv-button.smv-primary{background:#1466ae;border-color:#349de2;color:#fff}
.smv-button.smv-muted{background:#101e32}
.smv-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.smv-metrics>div,.smv-panel,.smv-task{border:1px solid #263f60;background:linear-gradient(150deg,#142338,#0d1829);border-radius:15px;padding:15px}
.smv-metrics b{display:block;color:#fff;font-size:24px}
.smv-metrics span{color:#a6bdd6;font-size:12px}
.smv-field{display:flex;flex-direction:column;gap:6px;margin:12px 0;color:#bdd5ee;font-size:13px}
.smv-field input{color:#eaf3ff;background:#0b1727;border:1px solid #39516f;border-radius:10px;padding:13px;width:100%;box-sizing:border-box;font-size:16px}
.smv-list{display:grid;gap:10px}
.smv-case{width:100%;background:#11233a;border:1px solid #294c70;border-radius:13px;text-align:left;color:#fff;padding:16px;display:flex;flex-direction:column;align-items:flex-start;gap:5px;cursor:pointer}
.smv-case strong{font-size:16px}
.smv-case small{color:#a8c2df}
.smv-tag{font-size:12px;color:#8ad0ff;background:#08223a;padding:5px 9px;border-radius:15px}
.smv-tag.smv-urgent{color:#ffcfad;background:#492a1d}
.smv-task{margin:12px 0;overflow-wrap:anywhere}
.smv-task strong{display:block;margin-bottom:10px}
.smv-task small{display:block;color:#95b2cb;margin:9px 0}
.smv-task div{white-space:pre-wrap;line-height:1.5}
.smv-task a{color:#73c6ff;text-decoration:underline;overflow-wrap:anywhere}
.smv-task details{margin:8px 0;border-top:1px solid #263f60;padding-top:8px}
.smv-comment{background:#122e44;border-left:3px solid #4495cb;padding:8px;border-radius:4px;white-space:pre-wrap}
@media(max-width:550px){.smv-legal-active #content{padding:10px}.smv-mark{width:50px;height:50px;font-size:19px}.smv-brand h1{font-size:20px}.smv-head{align-items:flex-start}.smv-metrics b{font-size:21px}.smv-button{font-size:13px;padding:10px}}

/* Document handling and lawyer workflow, isolated from AXIS body styles. */
.smv-legal-active #mainView{background:#0b1422;color:#e6eef9;min-height:100vh}
.smv-legal-active #mainView>.topbar{display:none}
.smv-legal-active .content{background:#0b1422}
.smv-panel{border:1px solid #294766;border-radius:15px;background:#112238;padding:16px;margin:14px 0}
.smv-panel h3{margin:0 0 12px}
.smv-shell select,.smv-shell textarea{display:block;width:100%;box-sizing:border-box;color:#eaf3ff;background:#0b1727;border:1px solid #39516f;border-radius:10px;padding:12px;font:inherit}
.smv-shell select{min-height:42px}
.smv-shell textarea{min-height:98px;resize:vertical}
.smv-confirm{display:flex;gap:9px;align-items:flex-start;margin:12px 0;color:#d6e5f7;line-height:1.5}
.smv-confirm input{flex:0 0 auto;margin-top:5px}
.smv-entry-state{margin-top:12px}
.smv-task>.smv-button{margin-top:12px}
.smv-panel[hidden]{display:none!important}
.smv-shell button:focus-visible{outline:2px solid #84c9f7;outline-offset:2px}
@media(max-width:550px){.smv-panel{padding:12px}.smv-shell h2{font-size:20px}.smv-case{padding:14px}}
