.agc-sharing { display:grid; justify-items:start; gap:4px; margin-block:12px; text-align:start; color:#244e80; }
.agc-sharing [hidden] { display:none !important; }
.agc-sharing summary { width:fit-content; padding:6px 0; font:inherit; font-weight:650; cursor:pointer; }
.agc-work-share summary::marker { color:#3869a3; }
.agc-work-share[open] { width:100%; }
.agc-share-link input { width:100%; min-width:0; padding:9px; border:1px solid #acbbcc; border-radius:7px; background:#fff; color:#192e44; box-sizing:border-box; font:inherit; }
.agc-sharing .agc-share-options { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:6px; margin-block:10px 18px; }
.agc-sharing .agc-share-options a { display:flex; flex-direction:column; align-items:center; justify-content:start; gap:6px; min-width:0; padding:8px 2px; border-radius:10px; text-align:center; color:#243b57; text-decoration:none; font:600 .875rem/1.3 system-ui,sans-serif; }
.agc-sharing .agc-share-options a:hover,.agc-sharing .agc-share-options a:focus-visible { background:#edf4fc; }
.agc-sharing .agc-share-options a[data-share-to="telegram"] { justify-content:center; }
.agc-share-options img { display:block; width:38px; height:38px; object-fit:contain; }
.agc-share-link { display:grid; gap:3px; margin:0 0 6px; font-size:.875rem; }
.agc-sharing [data-share-copy],.agc-sharing .agc-share-close { border:1px solid #c5d3e0; border-radius:8px; padding:6px 12px; color:#244e80; background:#fff; font:inherit; cursor:pointer; }
.agc-sharing [role=status] { display:block; }
.agc-sharing :focus-visible { outline:3px solid #366bad; outline-offset:2px; }
.agc-sharing .agc-share-dialog { position:fixed; inset:0; box-sizing:border-box; width:min(28rem,calc(100% - 32px)); max-height:85dvh; overflow:auto; margin:auto; padding:20px; border:1px solid #d1dce7; border-radius:16px; background:#fff; color:#182f47; box-shadow:0 18px 60px #19365138; text-align:start; }
.agc-share-dialog::backdrop { background:rgb(18 34 55 / .38); }
.agc-share-dialog header { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.agc-share-dialog h2 { margin:0; font:700 1.15rem/1.4 system-ui,sans-serif; }
.agc-share-dialog p { margin:3px 0 10px; font-size:.875rem; color:#51667d; }
.agc-sharing .agc-share-close { width:36px; height:36px; padding:0; font-size:22px; line-height:1; }
.agc-share-dialog .agc-share-note { margin-top:8px; }
@media(max-width:540px) {
  .agc-sharing .agc-share-dialog { inset:auto 0 0; width:100%; max-height:90dvh; margin:0; padding:18px 16px max(18px,env(safe-area-inset-bottom)); border-radius:16px 16px 0 0; }
}
@media(max-width:320px) { .agc-sharing .agc-share-options { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(pointer:coarse) { .agc-sharing :is(summary,button) { min-height:44px; } }
