/* Per-tool privacy notices and legal dialogs only. Site footer styling lives in site-shell.css. */

/* Midnight Signature footer — consistent with the existing official header logo */




















/* Uniform per-tool privacy note: custom wording, consistent component and placement. */
main .mtd-tool-privacy{box-sizing:border-box;width:100%;max-width:none;display:flex;align-items:flex-start;gap:10px;border:1px solid #3d79b8;background:#568cc7;color:#bad2ef;border-radius:12px;padding:15px 18px;margin:28px 0 0;font-family:Inter,system-ui,sans-serif;font-size:13px;font-weight:500;line-height:1.6;text-align:left;letter-spacing:0;box-shadow:none}
main .mtd-tool-privacy .mtd-privacy-symbol{color:#90bef0;margin-top:2px;flex:0 0 auto}
main .mtd-tool-privacy span{flex:1;min-width:0}
body.light-theme main .mtd-tool-privacy{background:#e5eefa;color:#153e70;border-color:#2261a4}
body.light-theme main .mtd-tool-privacy .mtd-privacy-symbol{color:#92b5db}
@media(max-width:620px){main .mtd-tool-privacy{padding:13px 14px;font-size:12px}}
@media print{main .mtd-tool-privacy{display:none!important}}


/* Dialogs accompany the shared homepage footer on every tool page. */
.mtd-tool-legal-overlay.modal-overlay{display:none;position:fixed;inset:0;z-index:100000;align-items:center;justify-content:center;background:rgba(3,12,23,.76);padding:20px}
.mtd-tool-legal-overlay .modal-content{position:relative;box-sizing:border-box;background:#112337;color:#e7f2f9;border:1px solid #39536b;border-radius:16px;padding:27px 30px;max-height:80vh;overflow-y:auto;width:min(100%,620px);box-shadow:0 22px 65px rgba(0,0,0,.48);font:inherit;line-height:1.65}
.mtd-tool-legal-overlay .modal-content h3{font-size:19px;margin:0 36px 14px 0;color:#f3f8fc;font-weight:800}
.mtd-tool-legal-overlay .modal-content p{color:#c4d3e1;font-size:13px;line-height:1.7;margin:8px 0}
.mtd-tool-legal-overlay .modal-close{position:absolute;top:12px;right:15px;border:0;background:transparent!important;color:#dfe9f6!important;box-shadow:none;font-size:26px;min-width:30px;min-height:32px;cursor:pointer;padding:0}
.mtd-tool-legal-overlay .modal-close:focus-visible{outline:2px solid #89b3e0;outline-offset:3px;border-radius:4px}
@media(max-width:620px){.mtd-tool-legal-overlay .modal-content{padding:22px 19px}}


/* Master beta 01: footer legal links at the right; matched with homepage footer. */





