/* bamisOS Agent Studio / same brand language as the approved Workshop */
.fm-toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-left:auto}.fm-directory-head{display:flex;justify-content:space-between;gap:15px;align-items:center;margin:19px 0 13px}.fm-directory-head input{width:min(260px,100%);background:#0b211d;border:1px solid #35654d;color:#e4f4e7;border-radius:9px;padding:10px 13px;font-size:12px;outline-color:#a3dab4}.mc-agent-card .fm-skill-chips{display:flex;flex-wrap:wrap;gap:5px;margin:12px 0}.fm-skill-chips small{border:1px solid #447558;background:#19392b;padding:4px 7px;border-radius:20px;color:#9fe0b7;font:9px Consolas,monospace}.fm-pair-card{background:linear-gradient(132deg,#153e32,#0d211d)!important;border-color:#608e65!important}.fm-pair-card .mc-primary{margin-top:12px}.mc-city{overflow:hidden}.mc-city-chip{max-width:140px}
#fmShade{position:fixed;inset:0;z-index:300;background:rgba(0,5,7,.79);backdrop-filter:blur(8px)}#fmModal{position:fixed;z-index:301;left:50%;top:50%;transform:translate(-50%,-50%);width:min(840px,calc(100vw - 24px));max-height:min(92dvh,850px);background:linear-gradient(140deg,#142c25,#081619 70%);border:1px solid #577961;box-shadow:0 28px 130px #000d;border-radius:20px;color:#e2f4e8;display:flex;flex-direction:column;font-family:Inter,'Segoe UI',Arial,sans-serif}#fmModal.hidden,#fmShade.hidden{display:none!important}.fm-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:24px 28px;border-bottom:1px solid #315145;flex-shrink:0;background:radial-gradient(circle at 85% 0,#56835c35,transparent 40%)}.fm-head small{color:#b6dbad;letter-spacing:2.2px;font:700 9px Consolas,monospace}.fm-head h2{font-size:27px;letter-spacing:-.9px;font-weight:650;margin:8px 0 0}.fm-x{width:35px;height:35px;border:1px solid #427259;background:#143427;color:#d3e8d9;border-radius:8px;font-size:24px}.fm-body{padding:23px 28px;overflow:auto;min-height:0;flex:1;scrollbar-width:thin;scrollbar-color:#466c56 transparent}.fm-body label{display:flex;flex-direction:column;gap:6px;font-size:10px;color:#b3d3bf;font-weight:750;letter-spacing:.5px;margin-bottom:14px}.fm-body label small{font-size:9px;letter-spacing:0;color:#81a795;font-weight:400}.fm-body input:not([type=checkbox]),.fm-body textarea,.fm-body select{background:#0b1e1b;border:1px solid #365747;outline-color:#afdbac;border-radius:9px;color:#e4f8eb;padding:13px;width:100%;font:12px Inter,'Segoe UI',Arial,sans-serif;letter-spacing:0}.fm-body input:read-only{opacity:.65}.fm-body textarea{resize:vertical;line-height:1.65}.fm-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 15px}.fm-context{font:700 9px Consolas,monospace;color:#d1c28f;letter-spacing:1px;margin-bottom:21px;line-height:1.6}.fm-gold-dot{display:inline-block;width:7px;height:7px;background:#d1b676;border-radius:50%;margin-right:8px}.fm-section-title{display:flex;align-items:baseline;gap:12px;color:#c0e7b9;font:700 11px Consolas,monospace;letter-spacing:1.3px;margin:18px 0 12px}.fm-section-title small{font:10px 'Segoe UI',sans-serif;color:#7fa596;letter-spacing:0}.fm-skills-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.fm-body .fm-skillchoice{border:1px solid #355246;background:#0c211d;padding:12px 11px;border-radius:10px;display:flex;align-items:center;flex-direction:row;gap:9px;margin:0;font-weight:500;cursor:pointer}.fm-skillchoice:has(input:checked){background:#204332;border-color:#91c48a}.fm-skillchoice input{accent-color:#b8d99e;width:15px;height:15px;flex-shrink:0}.fm-skillchoice span{display:block}.fm-skillchoice strong{font:700 11px 'Segoe UI',sans-serif;display:block;color:#edf5e9}.fm-skillchoice small{display:block;color:#92b7a2;font-size:9px;margin-top:4px}.fm-hint{font-size:11px;line-height:1.85;color:#9db3a6;margin:13px 0 18px}.fm-hint code{color:#efcb8b;overflow-wrap:anywhere}.fm-danger{background:#38221e;border:1px solid #874b3b;border-radius:8px;color:#f3c2b8;padding:10px 13px;font:700 10px Consolas,monospace;cursor:pointer}.fm-footer{flex-shrink:0;display:flex;align-items:center;gap:11px;border-top:1px solid #315145;padding:15px 28px;background:#0b211d;border-radius:0 0 20px 20px}.fm-footer p{flex:1;color:#97b3a4;line-height:1.5;font-size:10px;margin:0}.fm-footer p.ok{color:#a9e5ad}.fm-footer button{white-space:nowrap}.fm-catalog{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:18px}.fm-catalog article{border:1px solid #355d47;background:#122821;border-radius:10px;padding:12px;display:flex;gap:10px}.fm-catalog-icon{font-size:22px;color:#d9bb8c}.fm-catalog strong{display:block;font-size:11px}.fm-catalog small{display:block;font-size:10px;color:#91b1a1;line-height:1.5;margin:4px 0}.fm-catalog span{font:9px Consolas,monospace;color:#8cc8a1}.fm-pair-layout{display:grid;grid-template-columns:250px 1fr;gap:24px;align-items:center;border:1px solid #42664e;border-radius:16px;padding:20px;background:radial-gradient(ellipse at 1% 0,#234b36 0,transparent 60%),#10241f}.fm-qr-frame{background:#f4f4e9;border-radius:15px;padding:15px;text-align:center;color:#1b3d32}.fm-qr-frame img{width:100%;aspect-ratio:1;object-fit:contain;border-radius:7px}.fm-qr-caption{font:700 9px Consolas,monospace;letter-spacing:.5px;margin-top:8px}.fm-pair-copy h3{font-size:22px;letter-spacing:-.6px;margin:0}.fm-pair-copy p{color:#a6c2b0;font-size:12px;line-height:1.75}.fm-pair-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.fm-linkline{font:10px Consolas,monospace;color:#d2c391;overflow-wrap:anywhere;line-height:1.65;margin-top:12px}.fm-authorisations{margin-top:18px;border:1px solid #325c42;border-radius:13px;padding:12px 15px}.fm-device-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid #234435}.fm-device-row:last-child{border-bottom:0}.fm-device-row strong{font-size:12px}.fm-device-row small{display:block;color:#90b8a1;font-size:9px;margin-top:5px}.fm-empty-line{font:11px 'Segoe UI',sans-serif;color:#7ea18f}.fm-phone-intro{text-align:center;padding:17px 0 24px}.fm-phone-icon{display:grid;place-items:center;margin:auto;background:#1a4932;color:#d0cc96;width:76px;height:76px;border-radius:23px;font-size:39px}.fm-phone-intro h3{font-size:22px;margin:18px 0 8px}.fm-phone-intro p{font-size:12px;line-height:1.7;max-width:450px;margin:auto;color:#9dbcae}.fm-phone-step{border-radius:11px;padding:16px;background:#183e31;border:1px solid #4e7960;color:#d4ead5;font-size:12px;line-height:1.7}.fm-phone-step strong{color:#bdedad}
@media(max-width:790px){.fm-toolbar{margin-left:0;width:100%;justify-content:flex-start}.fm-toolbar button{font-size:9px!important}.fm-directory-head{flex-direction:column;align-items:stretch}.fm-directory-head input{width:100%;max-width:none}.mc-panel-top:has(.fm-toolbar){flex-wrap:wrap}.mc-panel-top:has(.fm-toolbar) .fm-toolbar{margin-top:10px}}
@media(max-width:560px){#fmModal{width:100vw;height:100dvh;max-height:100dvh;border-radius:0;border:0;inset:0;transform:none}.fm-head{padding:18px 16px}.fm-head h2{font-size:23px}.fm-body{padding:16px}.fm-footer{padding:13px 12px;border-radius:0}.fm-footer .mc-secondary,.fm-footer .mc-primary{padding:10px!important;font-size:9px!important}.fm-grid,.fm-skills-grid,.fm-catalog,.fm-pair-layout{grid-template-columns:1fr}.fm-pair-layout{padding:13px}.fm-qr-frame{max-width:250px;width:100%;margin:auto}.fm-context{font-size:8px}.fm-section-title{flex-wrap:wrap;gap:4px}}
