/* Full Partituras: scoped launch announcement, white surfaces and shared Geist. */
#fp-tools-modal[hidden],#fp-tools-bar[hidden]{display:none!important}
#fp-tools-modal,#fp-tools-bar{box-sizing:border-box;font-family:Geist,system-ui,-apple-system,'Segoe UI',sans-serif;color:#08244b}
#fp-tools-modal *,#fp-tools-bar *{box-sizing:border-box}
#fp-tools-modal{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;padding:12px;background:rgba(8,36,75,.48)}
#fp-tools-modal .fp-tools-panel{display:flex;flex-direction:column;min-height:0;width:100%;max-width:800px;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);overflow:hidden;background:#fff;border:1px solid #dbe3ee;border-radius:16px;box-shadow:0 20px 64px #08244b30}
#fp-tools-modal .fp-tools-header{flex:none;padding:20px 24px 16px;background:#fff}
#fp-tools-modal .fp-tools-brand-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}
#fp-tools-modal .fp-tools-brand-row img{display:block;width:172px;height:32px;object-fit:contain}
#fp-tools-modal .fp-tools-close{display:grid;place-items:center;width:36px;height:36px;flex:none;padding:0;border:1px solid #dbe3ee;border-radius:10px;background:#fff;color:#0058be;font:400 27px/1 Geist,system-ui,sans-serif;cursor:pointer}
#fp-tools-modal .fp-tools-badge{display:block;margin:0 0 5px;color:#0058be;font-size:12px;font-weight:600;line-height:1.4}
#fp-tools-modal #fp-tools-title{margin:0 0 8px;font:800 27px/1.2 Geist,system-ui,sans-serif;letter-spacing:-.025em;color:#08244b}
#fp-tools-modal #fp-tools-intro{margin:0;font-size:14px;line-height:1.5;font-weight:400;color:#33405a}
#fp-tools-modal .fp-tools-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:2px 24px 18px;scrollbar-width:thin;scrollbar-color:#9bbbe1 #fff}
#fp-tools-modal .fp-tools-card{display:flex;align-items:center;gap:12px;min-width:0;padding:12px;border:1px solid #dbe3ee;border-radius:12px;background:#fff;color:#08244b;text-decoration:none;transition:border-color .15s,box-shadow .15s}
#fp-tools-modal .fp-tools-card:hover{border-color:#0058be;box-shadow:0 3px 12px #0058be12;text-decoration:none}
#fp-tools-modal .fp-tools-thumb{flex:0 0 98px;width:98px;height:76px;object-fit:contain;border-radius:8px}
#fp-tools-modal .fp-tools-copy{min-width:0;flex:1}
#fp-tools-modal .fp-tools-copy h3{margin:0 0 5px;font:700 17px/1.25 Geist,system-ui,sans-serif;letter-spacing:-.01em;color:#08244b}
#fp-tools-modal .fp-tools-copy p{margin:0;font-size:13px;line-height:1.45;font-weight:400;color:#33405a;overflow-wrap:break-word}
#fp-tools-modal .fp-tools-arrow{flex:0 0 16px;color:#0058be;width:16px;height:16px}
#fp-tools-modal .fp-tools-footer{display:flex!important;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;flex:none;padding:12px 24px;border-top:1px solid #dbe3ee;background:#fff}
#fp-tools-modal .fp-tools-footer p{margin:0;color:#33405a;font-size:12px;line-height:1.5;font-weight:400}
#fp-tools-modal .fp-tools-footer button{margin:0;padding:6px 0;border:0;background:#fff;color:#0058be;font:600 13px/1.5 Geist,system-ui,sans-serif;cursor:pointer}
#fp-tools-bar{position:fixed;bottom:0;left:0;right:0;z-index:2147482999;display:flex;align-items:center;gap:10px;padding:12px max(16px,env(safe-area-inset-left)) calc(12px + env(safe-area-inset-bottom));border-top:1px solid #dbe3ee;background:#fff;box-shadow:0 -4px 24px #08244b12}
#fp-tools-bar>img{width:36px;height:32px;object-fit:contain;flex:none}
#fp-tools-bar p{flex:1;min-width:0;margin:0;font-size:13px;font-weight:400;line-height:1.4;color:#33405a}
#fp-tools-bar p strong{display:block;color:#08244b;font-size:13px;font-weight:700}#fp-tools-bar p span{display:block}
#fp-tools-bar button{flex:none;margin:0;font:600 13px/1.3 Geist,system-ui,sans-serif;cursor:pointer}
#fp-tools-bar .fp-tools-bar-open{padding:10px 14px;border:1px solid #0058be;border-radius:9px;background:#0058be;color:#fff;max-width:150px;white-space:normal}
#fp-tools-bar .fp-tools-bar-close{width:28px;height:36px;padding:0;border:0;background:#fff;color:#0058be;font-size:24px;font-weight:400}
#fp-tools-modal :is(a,button):focus-visible,#fp-tools-bar button:focus-visible{outline:3px solid #0058be;outline-offset:3px}
body.fp-tools-open{overflow:hidden!important}
@media(max-width:620px){#fp-tools-modal .fp-tools-header{padding:16px 16px 12px}#fp-tools-modal .fp-tools-brand-row{margin-bottom:9px}#fp-tools-modal .fp-tools-brand-row img{width:156px;height:29px}#fp-tools-modal #fp-tools-title{font-size:22px}#fp-tools-modal #fp-tools-intro{font-size:13px}#fp-tools-modal .fp-tools-grid{grid-template-columns:minmax(0,1fr);gap:8px;padding:2px 16px 12px}#fp-tools-modal .fp-tools-card{gap:10px;padding:10px}#fp-tools-modal .fp-tools-thumb{flex-basis:68px;width:68px;height:60px}#fp-tools-modal .fp-tools-copy h3{font-size:16px;margin-bottom:3px}#fp-tools-modal .fp-tools-copy p{font-size:13px;line-height:1.4}#fp-tools-modal .fp-tools-footer{padding:10px 16px}#fp-tools-bar{gap:8px}#fp-tools-bar .fp-tools-bar-open{font-size:12px;padding:9px 10px;max-width:110px}}
@media(max-width:359px){#fp-tools-modal .fp-tools-header{padding:14px 12px 10px}#fp-tools-modal .fp-tools-grid{padding-left:12px;padding-right:12px}#fp-tools-modal .fp-tools-thumb{flex-basis:56px;width:56px;height:54px}#fp-tools-modal .fp-tools-card{gap:8px;padding:8px}#fp-tools-modal .fp-tools-footer{padding-left:12px;padding-right:12px}#fp-tools-modal .fp-tools-footer p{font-size:11px}#fp-tools-bar>img{display:none}#fp-tools-bar p{font-size:12px}#fp-tools-bar p strong{font-size:12px}}
@media(prefers-reduced-motion:reduce){#fp-tools-modal .fp-tools-card{transition:none}}
