.sheet-protection-dialog{width:475px;max-width:calc(100vw - 28px);max-height:calc(100vh - 28px);padding:0;border:1px solid #c7d0db;border-radius:9px;box-shadow:0 20px 80px #20374e40;background:white;color:#354c5d;font:14px/1.45 'Segoe UI',Arial,sans-serif;overflow:auto}
.sheet-protection-dialog::backdrop{background:#20384955}
.sheet-protection-dialog form{margin:0;padding:0;background:transparent}
.sheet-protection-dialog header{display:flex;gap:12px;align-items:center;padding:16px 18px;border-bottom:1px solid #e1e7ec;background:#fafbfc}
.sheet-protection-dialog h2{font-size:17px;margin:2px 0 0}
.sheet-protection-dialog small{font-size:10px;color:#7e8b96;letter-spacing:.6px}
.sheet-warning{width:28px;height:28px;flex-shrink:0;border:1px solid #c8a35d;border-radius:50%;color:#9d7737;display:grid;place-items:center;font-weight:700}
.sheet-protection-dialog button{min-height:32px;border:1px solid #c4d0d9;border-radius:5px;padding:6px 12px;background:white;color:#425a6c;font:12px 'Segoe UI',Arial,sans-serif;cursor:pointer}
.sheet-protection-dialog button:hover{background:#f0f4f7;border-color:#8b9dad}
.sheet-protection-dialog button:focus-visible{outline:2px solid #a49bd7;outline-offset:2px}
.sheet-protection-dialog .sheet-protection-close{margin-left:auto;min-height:24px;font-size:23px;line-height:1;border:0;padding:0 3px;background:none;color:#8796a0}
.sheet-protection-dialog p{font-size:13px;margin:16px 20px;line-height:1.7}
.sheet-change-impact{margin:0 20px;padding:11px 12px;background:#fff6e6;border:1px solid #efdfbf;border-radius:5px;font-size:12px}
.sheet-change-impact strong{display:block;color:#8e6c32;font-size:12px}
.sheet-change-impact ul{padding:0;margin:6px 0 0;list-style:none;font-size:11px;color:#9b8866;max-height:160px;overflow:auto}
.sheet-change-impact li+li{margin-top:5px}
.sheet-protection-dialog p.sheet-change-note{color:#7e8d99;font-size:12px}
.sheet-protection-dialog footer{padding:12px 18px;border-top:1px solid #e1e7ec;background:#fafbfc;display:flex;justify-content:flex-end;gap:8px}
.sheet-protection-dialog .sheet-change-apply{background:#596ba5;color:white;border-color:#596ba5}
.sheet-protection-dialog .sheet-change-apply:hover{background:#4c5c96}
.sheet-change-notice{position:absolute;z-index:14;bottom:42px;left:18px;max-width:calc(100% - 160px);display:flex;gap:12px;align-items:center;padding:8px 11px;border:1px solid #c6d3dd;border-radius:5px;background:#f8fafdf5;box-shadow:0 3px 12px #22394a13;font:12px 'Segoe UI',Arial,sans-serif;color:#60798a}
.sheet-change-notice button{border:1px solid #becbd6;border-radius:4px;padding:4px 9px;background:#fff;color:#526798;font:12px 'Segoe UI',Arial,sans-serif;cursor:pointer;white-space:nowrap}
.sheet-change-notice[hidden]{display:none}
@media(max-width:650px){.sheet-change-notice{left:8px;max-width:calc(100% - 140px);font-size:10px;gap:6px;padding:6px}.sheet-change-notice button{font-size:10px;padding:4px 6px}.sheet-protection-dialog footer{padding:10px;gap:5px}}
