.barae-pilot-menu-list [hidden],.bh-share-action:has([hidden]){display:none!important}
button.barae-pilot-menu-link{box-sizing:border-box;width:100%;font:inherit;text-align:left;cursor:pointer}
.bh-share-action{display:flex;justify-content:flex-end;margin:-6px 0 12px}
.bh-share-button{min-height:44px;padding:8px 12px;border:1px solid var(--br-line,#c6bcb5);border-radius:8px;background:transparent;color:var(--br-ink,#322d2c);font:700 14px/1.4 'BaraeRankingSans',system-ui,sans-serif;cursor:pointer}
:root[data-barae-app] .barae-share-dialog{
  --share-paper:var(--app-paper);
  --share-ink:var(--theme-ink);
  --share-line:var(--theme-line);
  --share-tint:var(--theme-tint);
  --share-primary:var(--theme-control-fill,var(--theme-gradient,var(--theme-ink)));
  --share-primary-ink:var(--theme-selected,#fffaf3);
}
.barae-share-dialog{box-sizing:border-box;inset:0;width:calc(100% - 32px);max-width:420px;max-height:calc(100dvh - 32px);margin:auto;padding:18px;border:1px solid var(--share-line,#d5cdc1);border-radius:16px;background:var(--share-paper,#faf7f0);color:var(--share-ink,#302f2d);overflow:auto;font:400 15px/1.5 system-ui,sans-serif}
.barae-share-dialog::backdrop{background:#17120c99}
.barae-share-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.barae-share-dialog h2{margin:0;font-size:20px;line-height:1.3}
.barae-share-close{display:grid;place-items:center;flex:none;width:44px;height:44px;border:0;border-radius:8px;background:transparent;color:inherit;font:30px/1 system-ui;cursor:pointer}
.barae-share-preview{display:block;width:auto;max-width:100%;height:30vh;max-height:320px;margin:12px auto;border-radius:10px;object-fit:contain}
.barae-share-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}
.barae-share-actions :is(button,a){box-sizing:border-box;display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px;border:1px solid var(--share-line,#d5cdc1);border-radius:8px;background:var(--share-tint,#eee8de);color:var(--share-ink,#302f2d);font:600 14px/1.4 system-ui,sans-serif;text-align:center;text-decoration:none;cursor:pointer}
.barae-share-actions .barae-share-send{grid-column:1/-1;background:var(--share-primary,#b83268);border-color:transparent;color:var(--share-primary-ink,white)}
.barae-share-actions [hidden],.barae-share-dialog [hidden]{display:none!important}
.barae-share-actions :disabled{opacity:.55;cursor:wait}
.barae-share-status{margin:8px 0 0;font-size:13px;text-align:center}
.barae-share-status:empty{display:none}
.barae-share-fallback{box-sizing:border-box;width:100%;min-height:100px;margin-top:10px;padding:10px;border:1px solid #d5cdc1;border-radius:8px;font:inherit;resize:vertical}
:root[data-barae-app] .barae-share-fallback{border-color:var(--share-line);background:var(--share-tint);color:var(--share-ink)}
.barae-share-dialog :focus-visible,.bh-share-button:focus-visible{outline:2px solid var(--share-ink,#b83268);outline-offset:3px}
@media(max-height:540px){.barae-share-preview{height:22vh}.barae-share-dialog{padding:12px}.barae-share-actions{margin-top:8px}}
