.template-sharing{margin-top:24px;padding:20px;border:1px solid #aab69d;border-top:3px solid #baa579;background:#eeeee5;color:#28352d;font-family:var(--ui-font,Arial,sans-serif)}
.template-sharing h3{margin:0 0 8px;font-size:22px;line-height:1.25;letter-spacing:-.02em}
.template-sharing>p{margin:0 0 16px;font-size:14px;line-height:1.6;max-width:80ch}
.template-share-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.template-share-option{min-width:0;padding:16px;background:#fafbf7;border:1px solid #bdc8b4}
.template-share-option h4{margin:0 0 12px;font-size:16px;line-height:1.4}
.template-share-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.template-share-actions button,.template-share-actions a{box-sizing:border-box;min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:9px 12px;font:700 14px/1.4 var(--ui-font,Arial,sans-serif);color:#243d2b;border:1px solid #82937c;background:#f5f3e9;border-radius:3px;text-decoration:none;cursor:pointer}
.template-share-actions button:hover,.template-share-actions a:hover{background:#e4ebdc}
.template-sharing :is(button,a,input):focus-visible{outline:3px solid #896d36;outline-offset:3px}
.template-share-status{font-size:14px;line-height:1.5;margin:12px 0 0;overflow-wrap:anywhere}
.template-share-status:empty{margin:0}
.template-share-fallback{display:block;margin:12px 0 0;font-size:14px;font-weight:700}
.template-share-fallback input{box-sizing:border-box;display:block;margin-top:8px;width:100%;min-width:0;min-height:44px;font:400 16px/1.4 var(--ui-font,Arial,sans-serif);padding:9px;border:1px solid #82937c;background:#fff;color:#28352d}
.template-sharing [hidden]{display:none!important}
@media(max-width:600px){.template-sharing{padding:16px}.template-share-options{grid-template-columns:1fr}.template-share-actions>*{flex:1 1 auto}}
@media print{.template-sharing{display:none!important}}
