/* Based on the DLRG CD quick reference and ISC navigation reference. */
:root{--dlrg-red:#e30613;--dlrg-yellow:#ffed00;--dlrg-blue:#0569b4;--green:#e30613;--mint:#fce8ea;--text:#333;--muted:#666;--line:#d9d9d9;--red:#c6000b;--bg:#f3f3f3;--surface:#fff;--soft:#f5f5f5;color-scheme:light}
*{font-family:Arial,Helvetica,sans-serif}body{color:var(--text);background:var(--bg);font-family:Arial,Helvetica,sans-serif;font-size:14px}h1,h2,h3,p,button,input,select,textarea{font-family:Arial,Helvetica,sans-serif}h1{font-size:27px;font-weight:600;letter-spacing:0;color:var(--text)}h2{font-size:18px;font-weight:600;letter-spacing:0}h3{font-size:15px;letter-spacing:0}.sub{color:var(--muted);font-size:13px}.shell{grid-template-columns:230px 1fr;padding-top:60px}.sidebar{top:60px;width:230px;background:#f0f0f0;border-right:1px solid #d1d1d1;padding:22px 12px}.sidebar .brand{padding:0 12px 20px;display:block;border-bottom:1px solid #d5d5d5;margin-bottom:12px}.brand strong{font-family:Arial,Helvetica,sans-serif;font-size:18px;font-weight:600;line-height:1.5}.brand small{color:#666;font-size:12px}.navlabel{color:#777;font-size:11px;padding:14px 12px 9px;letter-spacing:.5px}.nav{gap:2px}.nav button{border-radius:2px;padding:11px 12px;font-size:13px;color:#444;min-height:40px}.nav button.active{background:white;color:#bd000a;border-left:3px solid #e30613;padding-left:9px;box-shadow:0 1px 2px #00000008}.nav button:hover{background:#e2e2e2;color:#222}.workspace{border-top-color:#d0d0d0;padding:17px 7px 2px}.workspace .avatar{background:#ddd;color:#555}.workspace small{color:#666}.count{border-radius:3px;background:#e30613;color:#fff;font-size:11px}.topbar{position:fixed;top:0;left:0;right:0;z-index:40;height:60px;background:#e30613;color:white;border:0;padding:0 24px;display:flex;justify-content:space-between;box-shadow:0 1px 3px #0002}.iscbrand{display:flex;align-items:center;gap:15px;flex-shrink:0}.iscbrand button{display:flex;align-items:center;padding:0}.iscbrand img{display:block;width:143px;height:23px}.iscbrand .appname{font-size:19px;border-left:1px solid #ffffffb0;padding-left:15px;color:white;white-space:nowrap}.isctools{display:flex;gap:17px;align-items:center}.isctools .headerlink{color:white;display:flex;align-items:center;gap:7px;font-size:13px;padding:7px 0}.unitlabel{font-size:14px;display:flex;gap:8px;align-items:center;padding:8px 13px;border-left:1px solid #ffffff66}.themechoices{display:flex;gap:2px}.themechoices button{background:#b3000a;color:white;width:29px;height:29px;border-radius:2px;font-size:16px}.themechoices button[aria-pressed=true]{background:#fff;color:#b5000b;box-shadow:inset 0 0 0 1px #c4c4c4}.topbar .menuToggle{display:none;color:white}.topbar .avatar{background:#fff;color:#c0000c;width:31px;height:31px}.contextbar{height:44px;display:flex;gap:12px;align-items:center;border-bottom:1px solid var(--line);padding:0 28px;background:var(--surface);font-size:12px;color:var(--muted)}.contextbar b{font-weight:600;color:var(--text)}.content{padding:28px;max-width:1600px}.heading{border-bottom:1px solid var(--line);padding-bottom:20px;margin-bottom:20px}.eyebrow{color:#777;font-size:10px;letter-spacing:.7px;font-weight:400;margin-bottom:6px}.btn{border-radius:3px;box-shadow:none;padding:9px 13px;font-size:12px;font-weight:400;min-height:35px;border:1px solid #ccc;background:#fff;color:#333}.btn:hover{background:#e9e9e9;border-color:#aaa}.btn.primary{background:#e30613;border-color:#cc000b;color:#fff}.btn.primary:hover{background:#bd000a;border-color:#ab0009}.btn.danger{color:#b0000b}.textbtn{color:#0569b4;font-size:12px;font-weight:400}.textbtn:hover{text-decoration:underline}.panel,.stat,.devicecard,.locationcard,.qrlabel{border:1px solid #d2d2d2;border-radius:3px;box-shadow:none;background:var(--surface)}.panelhead{padding:17px 19px;background:var(--soft);border-bottom:1px solid var(--line)}.panelhead .sub{font-size:12px}.stats{gap:16px;margin-bottom:24px}.stat{padding:18px;text-align:left;transform:none!important}.stat:hover{border-color:#aaa}.stathead{font-size:13px;color:var(--muted)}.statnum{font-family:Arial,Helvetica,sans-serif;font-size:32px;font-weight:400;letter-spacing:0;margin:13px 0 8px}.statnote{font-size:11px;color:var(--muted)}.statnote b{color:#397245}.iconbox{border-radius:3px;background:#f0f0f0;color:#666}.iconbox.orange{background:#fff2db;color:#9b6815}.iconbox.red{background:#fce5e7;color:#bd000b}.tabs{gap:24px;padding:13px 19px 0;background:var(--surface)}.tabs button{color:#666;font-size:12px;padding-bottom:12px}.tabs button.active{color:#bd000a}.tabs button.active:after{background:#e30613}.tabs span{background:#eee;color:#555}.demo-banner{border-radius:3px;background:#fff7de;color:#715b1c;border-color:#e7d3a1;font-size:12px;padding:12px 15px}.demo-banner a{color:#68551d}.sample{font-size:9px!important;color:#856b21!important}table{background:var(--surface)}th{background:var(--soft);color:#555;font-size:11px;padding:12px 18px;border-bottom:1px solid #ccc}td{font-size:12px;padding:15px 18px;border-bottom:1px solid var(--line)}td strong{font-size:12px;color:var(--text)}td small{color:var(--muted);font-size:11px}tbody tr:hover{background:#f6f6f6}.minipic{background:#f0f0f0;border-color:#ddd;border-radius:3px;color:#666}.badge{border-radius:3px;background:#e8f2e8;color:#30633a;font-size:10px;padding:5px 7px;font-weight:400}.badge.red{background:#fbe6e8;color:#a61520}.badge.orange{background:#fff1d4;color:#855800}.badge.gray{background:#eee;color:#666}.issue-icon{background:#fbe6e8;color:#b52630;border-radius:3px}.issue h3{font-family:Arial,sans-serif;font-size:12px;font-weight:600}.issue p,.issuebottom{color:var(--muted);font-size:11px}.issues{padding:0 19px}.panelbottom{background:var(--soft);padding:13px 19px}.devicevisual{background:linear-gradient(#f7f7f7,#ececec);border-color:#ddd}.devicevisual>.qrmini{color:#666;border-radius:3px}.devicebody h3{font-family:Arial,sans-serif;font-size:13px;font-weight:600}.devicebody p,.devicefoot{color:var(--muted);font-size:11px}.devicefoot{border-color:var(--line)}.sectiontitle .sub{font-size:12px}.footer{color:#777;font-size:11px}.live:before{background:#4a814a}.toolbar{background:var(--soft);padding:15px 18px}.search,.toolbar select{border-radius:3px;border-color:#bbb;font-size:12px;padding:9px 11px}.field{color:#555;font-size:13px;gap:7px}.field input,.field select,.field textarea{border-color:#bbb;border-radius:3px;color:#333;background:white}.field small{font-size:11px;color:#666}.field input:focus,.field select:focus,.field textarea:focus,.search:focus{outline:2px solid #0569b4;outline-offset:1px;border-color:#0569b4}.modal{border-radius:4px;background:var(--surface);box-shadow:0 7px 35px #0005}.modalback{background:#0006;backdrop-filter:none}.modalhead{border-bottom:3px solid #e30613;background:var(--soft);padding:18px 23px}.modalhead h2{font-size:19px}.modalbody{padding:23px}.modalfoot{background:var(--soft);padding:16px 23px}.close{color:#666}.notebox{background:#edf3f8;border-left:3px solid #0569b4;border-radius:2px;color:#42576a;font-size:12px}.errorbox{border-radius:3px;background:#fce7e9;color:#a51420}.toast{background:#333;border-radius:3px;font-size:13px;box-shadow:0 3px 15px #0003}.toast.error{background:#a90c18}.detailgrid label{font-size:11px;color:#666}.detailgrid p{font-size:13px}.detailsection p{font-size:12px;color:#666}.check input{accent-color:#e30613}.treenode{border-color:#ccc}.treenode summary small{color:#666}.qrlabel small{color:#666}.workflow span{border-radius:2px;background:#eee;color:#666}.workflow .current{background:#e30613;color:#fff}.brandmark,.logo{background:#e30613!important;color:#ffed00!important;border-radius:0;print-color-adjust:exact;-webkit-print-color-adjust:exact}.brandmark img,.logo img{display:block;width:112px;height:auto}.headerapp{color:#fff;font-size:16px;border-left:1px solid #ffffff80;padding-left:13px}.accountinfo{font-size:12px}.locationcard p{color:#666}.empty{color:#666}.qrprint{color:#333}.qrprint .brandmark{display:inline-block!important;padding:12px!important}
/* Public portals and the mobile scanner use the same red organization bar. */
body.portal-ui{background:var(--bg);color:var(--text)}.portal-ui header{background:#e30613;color:#fff;border-bottom:0;min-height:60px;padding:15px max(20px,calc((100% - 880px)/2));gap:16px;display:flex;align-items:center}.portal-ui header a{color:#fff;font-size:12px;white-space:nowrap}.portal-ui header strong{font-size:17px;font-weight:400;border-left:1px solid #ffffff90;padding-left:14px}.portal-ui header .logo{padding:0;flex-shrink:0}.portal-ui header .logo img{width:128px}.portal-ui main{margin-top:30px}.portal-ui h1{font-size:28px;font-weight:500;letter-spacing:0}.portal-ui p{color:#666}.portal-ui .card,.portal-ui .item{background:#fff;border:1px solid #ccc;border-radius:3px;box-shadow:none}.portal-ui .target{background:#f2f2f2;border-left:3px solid #e30613;border-radius:2px;color:#333}.portal-ui .target small{color:#666}.portal-ui input,.portal-ui select,.portal-ui textarea{font-family:Arial,sans-serif;border-radius:3px;border-color:#bbb;color:#333;background:#fff}.portal-ui label{color:#444}.portal-ui button{background:#e30613;color:#fff;border-color:#cf000b;border-radius:3px;font-family:Arial;font-weight:400}.portal-ui button.secondary{background:#fff;color:#333;border:1px solid #bbb}.portal-ui a{color:#0569b4}.portal-ui .note{background:#edf3f8;color:#42576a;border-left:3px solid #0569b4;border-radius:2px}.portal-ui .success{background:#e9f4ea;color:#2c6134;border-radius:3px;border-left:3px solid #46834f}.portal-ui .hint,.portal-ui small{color:#666}.portal-ui .demo{border-radius:3px;background:#fff7de;color:#715b1c}.portal-ui .error{border-radius:3px;background:#fce7e9;color:#a51420}.portal-ui .trap{position:absolute;left:-10000px;opacity:0}.portal-ui .scanback{display:inline-block;margin-bottom:5px}
html[data-theme=dark]{--bg:#222;--surface:#303030;--soft:#383838;--text:#f1f1f1;--muted:#c0c0c0;--line:#505050;color-scheme:dark}html[data-theme=dark] .sidebar{background:#292929;border-color:#444}html[data-theme=dark] .brand strong,html[data-theme=dark] .nav button{color:#ddd}html[data-theme=dark] .brand small,html[data-theme=dark] .navlabel,html[data-theme=dark] .workspace small{color:#aaa}html[data-theme=dark] .nav button.active{background:#3c3c3c;color:#fff}html[data-theme=dark] .nav button:hover{background:#404040}html[data-theme=dark] .panel,html[data-theme=dark] .stat,html[data-theme=dark] .devicecard,html[data-theme=dark] .qrlabel{border-color:#555}html[data-theme=dark] td strong{color:#f1f1f1}html[data-theme=dark] th{background:#383838;color:#ddd;border-color:#555}html[data-theme=dark] tbody tr:hover{background:#383838}html[data-theme=dark] .btn{background:#414141;color:#eee;border-color:#666}html[data-theme=dark] .btn.primary{background:#e30613;color:white;border-color:#e30613}html[data-theme=dark] .field,html[data-theme=dark] .field small{color:#ccc}html[data-theme=dark] input,html[data-theme=dark] select,html[data-theme=dark] textarea,html[data-theme=dark] .search{background:#252525;color:#eee;border-color:#666}html[data-theme=dark] .textbtn{color:#7db9ec}html[data-theme=dark] .tabs button{color:#bbb}html[data-theme=dark] .tabs button.active{color:#fff}html[data-theme=dark] .notebox{background:#23394a;color:#d3e5f0}html[data-theme=dark] .devicevisual{background:linear-gradient(#3c3c3c,#454545)}html[data-theme=dark] .detailsection p,html[data-theme=dark] .detailgrid label{color:#bbb}
@media(max-width:1180px){.shell{grid-template-columns:205px 1fr}.sidebar{width:205px}.isctools{gap:12px}.unitlabel{display:none}.content{padding:24px}.iscbrand .appname{font-size:17px}.topbar{padding:0 20px}}
@media(max-width:780px){.shell{display:block;padding-top:56px}.sidebar{top:56px;width:238px}.topbar{height:56px;padding:0 15px}.topbar .menuToggle{display:inline-flex;margin:0;padding:0 3px}.iscbrand{gap:10px}.iscbrand img{width:106px;height:auto}.iscbrand .appname{font-size:13px;padding-left:10px}.isctools{gap:10px}.isctools .headerlink,.unitlabel{display:none}.themechoices{gap:1px}.themechoices button{width:23px;height:26px;font-size:13px}.contextbar{height:40px;padding:0 18px}.content{padding:22px 16px}.heading{gap:12px;padding-bottom:17px}.heading .actions{align-items:flex-end}.heading .actions .btn{font-size:11px}.stats{gap:10px}.stat{padding:15px}.stathead{font-size:12px}.statnote{font-size:10px}h1{font-size:24px}.panelhead{padding:15px}.devicesgrid{gap:12px}.topbar .avatar{width:26px;height:26px;font-size:10px}.themechoices button:nth-child(2){display:none}.portal-ui header{padding:14px 16px;flex-wrap:wrap;gap:10px}.portal-ui header .logo img{width:110px}.portal-ui header strong{font-size:15px}.portal-ui header a{font-size:11px}.portal-ui h1{font-size:25px}.portal-ui main{margin-top:22px}.portal-ui .card{padding:20px}.portal-ui header .headerapp{font-size:12px}}
@media(max-width:430px){.iscbrand .appname{max-width:108px;white-space:normal;font-size:12px;line-height:1.25}.isctools{gap:7px}.themechoices button{width:22px}.accountinfo{display:none}.topbar{padding:0 11px}}
@media print{html[data-theme=dark]{--bg:white;--text:#333;--surface:white;--muted:#666;--line:#ccc}.topbar,.contextbar{display:none!important}.qrprint .brandmark{background:#e30613!important}.brandmark img{width:112px}.qrprint{color:#000;background:white}}
@media(max-width:780px){.isctools #teamHistoryLink{display:inline-flex}.historyLabel{display:none}}
.device-view-switch{display:flex;gap:5px;flex-wrap:wrap}
.device-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,200px),1fr));gap:15px;padding:16px 20px 20px}
.device-pictogram{width:52px;height:52px;color:var(--green)}
@media(max-width:540px){.device-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:12px}.device-pictogram{width:42px;height:42px}}
