/* Unified preview shell; original LAB styles are unchanged. */
#integrated-shell{position:sticky;top:0;z-index:2500;display:flex;align-items:center;gap:12px;min-height:64px;padding:9px max(12px,env(safe-area-inset-left));background:#fff;color:#1b3f5d;border-bottom:2px solid #d9e8ef;box-shadow:0 2px 8px #182e4020;font-family:-apple-system,BlinkMacSystemFont,"Yu Gothic",Meiryo,sans-serif}
#integrated-shell *,#integrated-privacy *{box-sizing:border-box}
#integrated-shell button{border:1px solid #c9d9e4;border-radius:12px;background:white;color:#20465f;font-size:14px;font-weight:800;padding:10px 12px;white-space:nowrap;cursor:pointer;min-height:42px}
#integrated-shell button.chosen{color:#fff;background:#176c9b;border-color:#176c9b}
#integrated-shell #integrated-pass{background:#fff4cf;border-color:#e0bf5b;color:#6b4a06}
#integrated-shell #integrated-pass:disabled{opacity:.5;cursor:not-allowed}
.integrated-logo{display:inline-grid;place-items:center;flex:none;font-weight:900;background:#f5d334;color:#132a44;border-radius:10px;width:36px;height:36px;font-size:22px}
.integrated-brand{display:flex;align-items:center;gap:8px;flex:none}
.integrated-brand strong{display:block;font-size:14px;line-height:1.25}
.integrated-brand small{font-size:10px;color:#6f8290}
.integrated-buttons{display:flex;gap:6px}
#integrated-context{font-size:12px;color:#526a7b;font-weight:750;max-width:220px}
#integrated-status{font-size:11px;color:#227553;min-width:0}
#integrated-privacy{font-size:12px;padding:9px 15px;background:#fff8dc;color:#755516;text-align:center;line-height:1.4}
#integrated-notewrapper{position:fixed;inset:64px 0 0;z-index:2400;background:#f0f4f9}
#integrated-notewrapper[hidden]{display:none}
#integrated-note-frame{display:block;width:100%;height:100%;border:0;background:#edf2f7}
body.integrated-note-open{overflow:hidden}
body.integrated-note-open #integrated-shell{position:fixed;left:0;right:0;top:0}
body.integrated-note-open #integrated-privacy{visibility:hidden}
@media(max-width:840px){#integrated-shell{flex-wrap:wrap;justify-content:center;padding:6px 8px;min-height:108px;gap:4px 7px} .integrated-brand strong{font-size:12px}.integrated-brand small{font-size:9px}.integrated-logo{width:30px;height:30px;font-size:18px}#integrated-shell button{font-size:12px;padding:7px 9px;min-height:34px}#integrated-context{font-size:11px}#integrated-status{font-size:11px}#integrated-notewrapper{top:108px}}
@media(max-width:440px){#integrated-shell{min-height:112px}.integrated-brand{width:100%;justify-content:center}.integrated-buttons{gap:4px}#integrated-shell button{padding:6px 8px}#integrated-context{max-width:120px;font-size:10px}#integrated-notewrapper{top:112px}}
