html[data-senditto-locked="true"] { background: #edf6fa !important; }
html[data-senditto-locked="true"] body > :not(#senditto-screen-lock) { visibility: hidden !important; pointer-events: none !important; }
#senditto-screen-lock { position:fixed;inset:0;margin:0;width:100vw;max-width:none;height:100dvh;max-height:none;border:0;padding:32px;box-sizing:border-box;background:linear-gradient(135deg,#e8f2ff,#f5faff 48%,#def7f0);color:#172844;overflow:auto;font:16px/1.5 system-ui,sans-serif;text-align:center; }
#senditto-screen-lock[open] { display:grid;place-items:center; }
#senditto-screen-lock::backdrop {background:#edf6fa;}
#senditto-screen-lock *, .sl-settings * {box-sizing:border-box;text-decoration:none!important;}
.sl-card {width:min(100%,380px);display:flex;flex-direction:column;gap:18px;align-items:stretch;}
.sl-art {position:relative;width:176px;height:176px;margin:0 auto 4px;border:1px solid #fff;border-radius:50%;background:#ffffffaa;display:grid;place-items:center;box-shadow:0 12px 50px #5c8cb01a;}
.sl-art svg {position:absolute;bottom:0;right:0;width:56px;height:56px;background:white;border-radius:50%;padding:10px;stroke:#0042ff;stroke-width:2.5;fill:none;}
#senditto-screen-lock h1 {margin:0;font-size:28px;letter-spacing:-.5px;line-height:1.2;color:#172844;}
#senditto-screen-lock p {margin:0;color:#4c5d75;font-size:16px;}
#senditto-screen-lock label {text-align:left;font-size:14px;font-weight:600;margin-bottom:-10px;}
#senditto-screen-lock input,.sl-settings select {width:100%;padding:14px;border:1px solid #c4d4e7;border-radius:12px;background:white;color:#172844;font:inherit;}
#senditto-screen-lock button,.sl-settings button {border:0;border-radius:14px;background:#0042ff;color:white;padding:15px 20px;font:600 16px system-ui;cursor:pointer;}
#senditto-screen-lock button:disabled,.sl-settings button:disabled {opacity:.6;cursor:wait;}
#senditto-screen-lock .sl-secondary {background:#ffffffa6;color:#174179;}
#senditto-screen-lock small {color:#5e6d82;font-size:13px;}
#senditto-screen-lock .sl-status {font-size:14px;color:#8b2b26;}
.sl-settings {width:min(480px,calc(100vw - 32px));max-height:90dvh;overflow:auto;border:1px solid #d8e3ed;border-radius:24px;padding:28px;background:#fff;color:#172844;font:15px/1.5 system-ui;}
.sl-settings::backdrop {background:#17284466;backdrop-filter:blur(4px);}
.sl-settings form {display:grid;gap:18px;}.sl-settings h2,.sl-settings p {margin:0;}.sl-settings label {display:grid;gap:8px;font-weight:600;}.sl-actions {display:flex;justify-content:flex-end;gap:12px;}.sl-settings [data-sl-close]{background:#eef3f9;color:#172844;}

.sl-field {display:grid;gap:8px;font-weight:600;min-width:0;}
.sl-choice {position:relative;min-width:0;}
.sl-settings .sl-choice-button {width:100%;min-height:48px;padding:12px 42px 12px 16px;border:1px solid #c4d4e7;border-radius:12px;background:#fff;color:#172844;text-align:left;font:inherit;position:relative;}
.sl-choice-button::after {content:"";position:absolute;right:18px;top:18px;width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);}
.sl-choice-button:focus-visible,.sl-choice-button[aria-expanded="true"] {outline:2px solid #0042ff;outline-offset:2px;}
.sl-choice-list {position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:5;max-height:220px;overflow:auto;overscroll-behavior:contain;padding:6px;background:#fff;border:1px solid #d8e3ed;border-radius:12px;box-shadow:0 12px 32px #17284424;}
.sl-choice-list[hidden] {display:none;}
.sl-choice-up .sl-choice-list {top:auto;bottom:calc(100% + 6px);}
.sl-choice-list [role="option"] {min-height:40px;padding:10px 34px 10px 12px;border-radius:8px;cursor:pointer;font-weight:500;position:relative;}
.sl-choice-list [role="option"]:hover,.sl-choice-active {background:#edf3ff;color:#0042ff;}
.sl-choice-list [aria-selected="true"]::after {content:"✓";position:absolute;right:12px;}
.sl-idle-policy {padding:14px 16px;border:1px solid #d8e3ed;border-radius:12px;background:#f5f8ff;font-size:14px;}
.sl-idle-policy p {margin-top:6px;color:#4c5d75;}
#senditto-idle-warning {position:fixed;z-index:2147483646;right:24px;bottom:24px;width:min(420px,calc(100vw - 48px));box-sizing:border-box;padding:20px;background:#fff;color:#172844;border:1px solid #c4d4e7;border-radius:16px;box-shadow:0 12px 40px #17284430;font:15px/1.5 system-ui,sans-serif;text-decoration:none;}
#senditto-idle-warning p {margin:0 0 12px;}
#senditto-idle-warning button {background:#0042ff;color:#fff;border:0;border-radius:10px;padding:12px 18px;font:600 15px system-ui;cursor:pointer;text-decoration:none;}
#senditto-idle-warning button:focus-visible {outline:2px solid #0042ff;outline-offset:3px;}
