.protection-toolbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem}.protection-toolbar h4,.protection-toolbar p{margin:.25rem 0}.protection-table{overflow:auto;max-height:55vh}.protection-table table{width:100%;border-collapse:collapse}.protection-table th,.protection-table td{text-align:left;padding:.7rem;border-bottom:1px solid var(--border,#29464f)}.protection-table th{position:sticky;top:0;background:var(--panel,#102a30)}.protection-actions{white-space:nowrap}.protection-actions button+button{margin-left:.4rem}.protection-path{overflow-wrap:anywhere;min-width:12rem}.protection-assignment-layout{display:grid;grid-template-columns:minmax(230px,32%) 1fr;gap:1rem}.protection-tree{max-height:65vh;overflow:auto}.protection-tree details{margin:.7rem 0}.protection-tree summary{display:flex;align-items:center;gap:.4rem}.protection-tree summary::before{content:'▸'}.protection-tree details[open]>summary::before{content:'▾'}.protection-tree summary button{flex:1;text-align:left}.protection-customer{display:block;width:100%;text-align:left;margin:.2rem 0;padding:.65rem 1rem;border:0;background:transparent;color:inherit;border-radius:5px}.protection-customer:hover,.protection-customer.active{background:#16424a}.protection-customer[hidden]{display:none}.protection-binding{align-self:start}.protection-effective{padding:1rem;border:1px solid var(--border,#29464f);border-radius:8px}.protection-message:empty{display:none}.protection-message{color:var(--muted,#acc5cb)}.protection-dialog{width:min(1100px,94vw);max-width:94vw;padding:0}.protection-editor{max-height:88vh;display:flex;flex-direction:column;gap:1rem;padding:1.25rem}.protection-editor-layout{display:grid;grid-template-columns:200px 1fr;min-height:360px;overflow:hidden;gap:1.25rem}.protection-editor nav{display:flex;flex-direction:column;gap:.4rem}.protection-editor nav button{text-align:left}.protection-editor nav button.active{border-color:#00bbb2;color:#00d5cb}.protection-editor-content{overflow:auto;padding-right:.5rem}.protection-editor-content label{display:flex;flex-direction:column;gap:.4rem;margin-bottom:1rem}.protection-editor-content .security-exception-checks label{flex-direction:row;align-items:center;margin:0}.protection-editor-content section[hidden],.protection-editor-content fieldset[hidden]{display:none}.protection-editor-content p{color:var(--muted,#acc5cb);line-height:1.5}.protection-editor-content fieldset{border:1px solid var(--border,#29464f);padding:1rem;margin-top:1rem}.protection-editor .modal-head{display:flex;justify-content:space-between;align-items:center}.protection-editor input,.protection-editor select,.protection-editor textarea{max-width:100%}@media(max-width:750px){.protection-assignment-layout,.protection-editor-layout{grid-template-columns:1fr}.protection-tree{max-height:30vh}.protection-editor nav{flex-direction:row;flex-wrap:wrap}.protection-editor-layout{overflow:auto}.protection-toolbar{align-items:flex-start;flex-direction:column}.protection-actions{white-space:normal}}

.protection-table table{min-width:0;table-layout:fixed}.protection-table td,.protection-table th{white-space:normal;overflow-wrap:anywhere}.protection-editor-content{min-width:0}.protection-editor [data-members] th:nth-child(1){width:19%}.protection-editor [data-members] th:nth-child(2){width:46%}.protection-editor [data-members] th:nth-child(3){width:17%}.protection-editor [data-members] th:nth-child(4){width:18%}.protection-path{min-width:0}.protection-editor .protection-table td{padding:.5rem}.protection-overview th:first-child{width:30%}.protection-overview th:last-child{width:25%}
.protection-standard{display:flex;flex-direction:column;align-items:stretch;gap:.4rem;margin:1rem 0 .5rem}.protection-standard select{width:100%}.protection-customer-node{padding-left:.5rem}.protection-customer-node[hidden]{display:none}.protection-device-row{display:flex;align-items:center;gap:.3rem;padding-left:1rem}.protection-device-row>input{flex:none;width:16px;height:16px;margin:0}.protection-device-row button{min-width:0;width:0;flex:1}.protection-device-row small{display:block;white-space:normal;overflow-wrap:anywhere;font-size:calc((.8rem + var(--console-font-increase, 0px)) * var(--console-ui-scale, 1));opacity:.8;margin-top:.25rem}
.policy-alert-dialog { width:min(900px,94vw); max-height:90vh; padding:0; }
.policy-alert-content { padding:20px; overflow:auto; max-height:65vh; }
.policy-alert-content label { display:grid; gap:8px; }
.policy-alert-dialog .modal-actions { display:flex; justify-content:flex-end; gap:10px; padding:16px 20px; border-top:1px solid #294951; }
.policy-alert-content p { margin:0 0 12px; }
.policy-alert-content small,.policy-alert-rules small { display:block; white-space:normal; overflow-wrap:anywhere; margin:8px 0; }
.policy-alert-content li,.policy-alert-rules li { padding:12px; border-bottom:1px solid #294951; }
.policy-alert-dialog [data-error] { color:#ff8277; }
.policy-batch-dialog { width:min(700px,94vw); color:var(--text,#e8f4f6); background:var(--panel,#102a30); border:1px solid var(--border,#29464f); border-radius:10px; }
.policy-batch-dialog .modal-head { padding:20px; display:flex; align-items:center; justify-content:space-between; gap:16px; border-bottom:1px solid var(--border,#29464f); }
.policy-batch-dialog .modal-head h3 { margin:6px 0 0; }
.policy-batch-dialog [data-close] { flex:none; width:36px; height:36px; padding:0; color:inherit; background:#0a2028; border:1px solid var(--border,#29464f); border-radius:6px; cursor:pointer; }
.policy-batch-eyebrow { color:var(--accent,#10b7b1); font-size:.75em; font-weight:700; letter-spacing:.08em; }
.policy-batch-progress { margin:20px 0; padding:18px; border:1px solid #287078; border-radius:8px; background:linear-gradient(135deg,#153e46,#102a30); }
.policy-batch-count { font-weight:700; color:#e8f4f6; font-size:1.15em; margin-bottom:14px; overflow-wrap:anywhere; }
.policy-batch-progress progress { display:block; appearance:none; width:100%; height:12px; border:0; border-radius:8px; overflow:hidden; background:#081d23; accent-color:#10b7b1; }
.policy-batch-progress progress::-webkit-progress-bar { background:#081d23; border-radius:8px; }
.policy-batch-progress progress::-webkit-progress-value { background:linear-gradient(90deg,#087f8c,#10c6bb); border-radius:8px; }
.policy-batch-progress progress::-moz-progress-bar { background:#10b7b1; border-radius:8px; }
.policy-batch-progress [data-stage] { color:#acc5cb; margin:12px 0 0; line-height:1.5; }
.policy-batch-dialog [data-note] { color:var(--muted,#acc5cb); line-height:1.5; }
.policy-batch-dialog .modal-actions { flex-wrap:wrap; }
.edr-alarm-selection { display:flex; align-items:center; flex-wrap:wrap; gap:12px; }
.edr-incident-row.selected { background:#153e46; }
.edr-incident-table input[type=checkbox] { width:18px; height:18px; accent-color:#10b7b1; cursor:pointer; }
.policy-alarm-context { position:fixed; z-index:20000; background:#112f36; color:#e8f4f6; border:1px solid #10b7b1; box-shadow:0 8px 30px #0008; padding:8px; max-width:380px; }
.policy-alarm-context button { background:transparent; color:inherit; padding:12px; border:0; cursor:pointer; }
.policy-alarm-context button:hover,.policy-alarm-context button:focus { background:#1b4852; }
.device-policy-exception-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;width:100%;align-items:start}
.device-policy-exception-panel{min-width:0;padding:16px}.device-policy-exception-panel h4{margin:0 0 18px;line-height:1.5}.device-policy-name{display:block;color:var(--muted,#acc5cb);font-weight:normal}
.device-policy-exception-panel .protection-table{margin-top:12px;max-height:55vh}.device-policy-exception-panel small{display:block;overflow-wrap:anywhere;margin-top:6px;color:var(--muted,#acc5cb);font-size:calc((.8rem + var(--console-font-increase, 0px)) * var(--console-ui-scale, 1))}
.device-policy-exception-panel th:nth-child(1){width:19%}.device-policy-exception-panel th:nth-child(2){width:40%}.device-policy-exception-panel th:nth-child(3){width:24%}.device-policy-exception-panel th:nth-child(4){width:17%}
.device-policy-exception-panel .protection-actions{white-space:normal}.device-policy-exception-panel .protection-actions button{padding:8px 10px}.device-policy-exception-panel details{margin-top:8px;font-size:calc((.85rem + var(--console-font-increase, 0px)) * var(--console-ui-scale, 1))}.device-policy-exception-panel details button{margin-top:8px}.device-policy-exception-panel tr[hidden]{display:none}.exception-inactive{opacity:.72}
.device-exception-editor{width:min(720px,94vw)}
.exception-type-field{display:flex;align-items:flex-end;gap:.5rem;margin-bottom:1rem}.protection-editor-content .exception-type-field>label{flex:1;min-width:0;margin:0}
.exception-type-help-button{flex:0 0 42px;width:42px;height:42px;padding:9px;background:transparent;border:1px solid transparent;border-radius:6px;color:#ffd34d;cursor:pointer}.exception-type-help-button svg{display:block;width:22px;height:22px;fill:#ffd34d33;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.exception-type-help-button:hover{background:#ffd34d18;border-color:#ffd34d80}.exception-type-help-button:focus-visible{outline:2px solid #ffd34d;outline-offset:2px}
.exception-help-dialog{width:min(820px,94vw);max-width:94vw;padding:0;background:var(--panel,#102a30);color:var(--text,#e8f4f6);border:1px solid var(--border,#29464f)}.exception-help-frame{display:flex;flex-direction:column;max-height:88vh;padding:20px;gap:16px}.exception-help-frame .modal-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none}.exception-help-frame h3{margin:0}.exception-help-content{overflow:auto;min-height:0;line-height:1.55;padding-right:8px;overflow-wrap:anywhere}.exception-help-content h4{margin:20px 0 8px;color:var(--text)}.exception-help-content p{margin:8px 0}.exception-help-content table{width:100%;min-width:0;border-collapse:collapse;table-layout:fixed}.exception-help-content th,.exception-help-content td{padding:10px 8px;text-align:left;vertical-align:top;border-bottom:1px solid var(--border,#29464f);white-space:normal;overflow-wrap:anywhere}.exception-help-content th:first-child{width:52%}.exception-help-content code{white-space:pre-wrap;overflow-wrap:anywhere;color:inherit;font-size:.9em}.exception-help-content ul{padding-left:22px}.exception-help-content li{margin:8px 0}.exception-help-content details{margin:18px 0}.exception-help-content summary{cursor:pointer;font-weight:bold}.exception-help-scope,.exception-help-footnote{color:var(--muted,#acc5cb)}.exception-help-footnote{font-size:calc((.85rem + var(--console-font-increase, 0px)) * var(--console-ui-scale, 1))}.exception-help-frame>.form-actions{flex:none;margin:0}
@media(max-width:1000px){.device-policy-exception-grid{grid-template-columns:minmax(0,1fr)}}
