/* BREAK / FIELD v13 — responsive, file-first share sheet. */
.art-share-dialog{width:min(1190px,calc(100% - 32px));max-width:none;max-height:calc(100dvh - 32px);margin:auto;padding:24px;background:#F4F0E5;color:#172B40;border:1px solid #172b4030;border-radius:18px;box-shadow:0 28px 90px #08172555;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;font-family:Arial,Helvetica,sans-serif;}
.art-share-dialog::backdrop{background:#142638ab;backdrop-filter:blur(6px);}
.art-share-dialog *{box-sizing:border-box;}
.art-share-dialog [hidden]{display:none!important;}
.share-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:20px;margin-bottom:20px;border-bottom:1px solid #172b4024;}
.share-head p{margin:0 0 9px;font:700 12px/1.4 ui-monospace,monospace;letter-spacing:.11em;color:#52606A;}
.share-rc-label{display:inline-block;margin-left:10px;padding:3px 7px;border:1px solid #172b4030;border-radius:4px;font-size:10px;letter-spacing:.06em;vertical-align:middle;}
.share-head h2{margin:0;font:900 clamp(27px,2.8vw,35px)/1.06 Arial,sans-serif;letter-spacing:-.035em;}
#share-close{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:0;border:1px solid #172b4030;border-radius:50%;background:#fffdf6;color:#172B40;font:500 28px/1 Arial,sans-serif;cursor:pointer;}
.share-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:28px;align-items:start;margin:0;}
.share-preview-wrap{position:sticky;top:0;align-self:start;min-width:0;margin:0;padding:16px;border:1px solid #172b4018;border-radius:13px;background:linear-gradient(135deg,#e1e7df,#d7dfd5 70%,#e8e0d4);box-shadow:inset 0 1px #ffffff80;}
.share-preview-tabs{display:flex;align-items:center;gap:4px;margin:0 0 14px;}
.share-preview-tabs button{padding:9px 12px;border:1px solid transparent;border-radius:7px;background:transparent;color:#52606A;font:700 12px/1.3 Arial,sans-serif;min-height:38px;cursor:pointer;}
.share-preview-tabs button[aria-pressed=true]{color:#172B40;background:#f9f7ee;border-color:#172b4020;box-shadow:0 2px 5px #172b400a;}
.share-preview-tabs>span{margin-left:auto;font:700 10px/1.4 ui-monospace,monospace;letter-spacing:.04em;color:#52606A;}
.share-media-stage{position:relative;display:flex;align-items:center;justify-content:center;width:100%;max-height:calc(100dvh - 340px);min-height:170px;overflow:hidden;border-radius:6px;box-shadow:0 12px 28px #172b401b;background:#dce3d9;}
#share-preview-canvas,#share-file-image,#share-file-video{position:absolute;inset:0;display:block;width:100%;height:100%;max-height:none;margin:0;object-fit:contain;background:transparent;border-radius:0;box-shadow:none;}
#share-size{margin:13px 0 0;font:600 12px/1.5 ui-monospace,monospace;color:#465260;text-align:center;overflow-wrap:anywhere;}
.share-preview-toggle{display:flex;align-items:center;justify-content:center;gap:9px;min-height:42px;margin:5px 0 0;font:600 13px/1.4 Arial,sans-serif;cursor:pointer;}
.share-preview-toggle input{width:17px;height:17px;accent-color:#172B40;}
.share-preview-toggle span{font-size:20px;color:#52606A;}
.share-preview-note{max-width:46ch;margin:4px auto 12px;font-size:12px;line-height:1.6;color:#52606A;text-align:center;}
.share-save-current{display:block;width:100%;padding:11px;border:1px solid #172b4026;border-radius:8px;background:#f4f0e5a6;color:#172B40;font:700 13px/1.3 Arial,sans-serif;min-height:43px;cursor:pointer;}
.share-options{min-width:0;}
.share-intro{margin:0 0 19px;color:#465260;font-size:14px;line-height:1.65;}
.share-fine{margin:10px 0 0;color:#52606A;font-size:12px;line-height:1.65;}
.share-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin:0;}
.share-grid-3{grid-template-columns:minmax(0,1.7fr) minmax(62px,.65fr) minmax(62px,.65fr);}
.share-grid label{min-width:0;}
.share-grid label>span,.share-label{display:block;margin-bottom:7px;color:#52606A;font:700 11px/1.4 ui-monospace,monospace;letter-spacing:.045em;text-transform:uppercase;}
.share-grid select,#share-phrase,#share-caption,#share-manual-copy{width:100%;min-height:44px;padding:11px 10px;border:1px solid #172b4030;border-radius:7px;background:#fffdf7;color:#172B40;font-size:13px;line-height:1.35;}
.share-grid select{padding-right:22px;}
.share-language,.share-motion-box,.share-compose{margin-top:21px;padding-top:20px;border-top:1px solid #172b4022;}
.share-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px;}
.share-kicker{font:700 11px/1.4 ui-monospace,monospace;letter-spacing:.075em;color:#52606A;}
.share-section-head h3{margin:5px 0 0;font:800 17px/1.25 Arial,sans-serif;letter-spacing:-.015em;color:#172B40;}
#share-new-phrase{flex:none;border:1px solid #172b4030;border-radius:20px;background:transparent;color:#172B40;padding:10px 11px;min-height:41px;font:700 12px/1 Arial,sans-serif;cursor:pointer;}
#share-phrase{font:800 19px/1.35 Arial,sans-serif;letter-spacing:.025em;text-transform:uppercase;padding:12px;}
.share-phrase-sub{margin:9px 0 0;color:#9C402B;font:700 11px/1.5 ui-monospace,monospace;letter-spacing:.05em;}
.share-loop-mark{font-size:31px;line-height:1;color:#52606A;}
.share-strength{display:flex;align-items:center;gap:12px;margin:16px 0;font:600 12px/1.4 Arial,sans-serif;}
.share-strength>span{flex:none;}
#share-strength{width:auto;min-width:40px;flex:1;accent-color:#172B40;height:24px;cursor:pointer;}
#share-strength-value{width:38px;text-align:right;font:700 12px/1.3 ui-monospace,monospace;}
.share-export-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:0;}
.share-export-row button{min-width:0;min-height:46px;padding:12px 8px;border:1px solid #172B40;border-radius:8px;background:#172B40;color:#fffdf7;font:800 13px/1.3 Arial,sans-serif;cursor:pointer;}
.share-export-row button:hover:not(:disabled){background:#294761;}
.share-export-detail{display:flex;justify-content:space-between;gap:5px;margin-top:8px;font:600 10px/1.45 ui-monospace,monospace;color:#52606A;}
#share-export-progress{width:100%;height:7px;margin-top:17px;accent-color:#172B40;}
#share-cancel-export{display:block;width:100%;margin-top:8px;padding:11px;border:1px solid #172b4030;background:#fffdf7;border-radius:7px;color:#172B40;font:700 13px/1.3 Arial,sans-serif;cursor:pointer;}
#share-native{width:100%;margin-top:12px;padding:12px;border:1px solid #172b4030;border-radius:8px;background:#F2D45C;color:#172B40;font:700 14px/1.3 Arial,sans-serif;cursor:pointer;}
#share-caption{min-height:123px;resize:vertical;font:400 13px/1.65 Arial,sans-serif;}
.share-copy-row{display:flex;gap:9px;margin:10px 0 15px;}
.share-copy-row button{flex:1;min-height:43px;padding:10px;border:1px solid #172b4030;border-radius:7px;background:#fffdf7;color:#172B40;font:700 12px/1.35 Arial,sans-serif;cursor:pointer;}
.share-networks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0;}
.share-networks button{min-width:0;min-height:40px;padding:10px 7px;border:1px solid #172b4020;border-radius:7px;background:#edece2;color:#172B40;font:600 12px/1.3 Arial,sans-serif;cursor:pointer;transition:background .15s ease;}
.share-networks button:hover,.share-copy-row button:hover,.share-save-current:hover,#share-new-phrase:hover{background:#E4E9DF;transform:none;box-shadow:none;}
.share-status{margin:15px 0 0;padding:12px 13px;border-left:3px solid #437363;border-radius:0 7px 7px 0;background:#e8ecdf;color:#273e43;font-size:13px;line-height:1.6;min-height:45px;}
.share-copy-buffer{position:fixed;left:-9999px;top:0;width:2px;height:2px;opacity:0;}
.art-share-dialog button:disabled{opacity:.45;cursor:default;}
.art-share-dialog :is(button,select,textarea,input):focus-visible{outline:3px solid #315BA4;outline-offset:3px;}
@media(max-width:930px){.share-layout{grid-template-columns:1fr;gap:22px;}.share-preview-wrap{position:static;width:100%;max-width:570px;margin-inline:auto;}.share-media-stage{max-height:47dvh;}.share-options{max-width:650px;width:100%;margin-inline:auto;}}
@media(max-width:600px){.art-share-dialog{width:calc(100% - 16px);max-height:calc(100dvh - 16px);padding:16px;border-radius:12px;scrollbar-gutter:auto;}.share-head{padding-bottom:16px;margin-bottom:16px;gap:10px;}.share-head h2{font-size:27px;}.share-head p{font-size:10px;}.share-layout{margin:0;gap:20px;}.share-preview-wrap{padding:12px;}.share-media-stage{max-height:40dvh;}.share-preview-tabs>span{font-size:9px;}.share-grid-3{grid-template-columns:1.7fr .65fr .65fr;gap:7px;}.share-grid select{font-size:12px;padding:11px 6px;}.share-intro{font-size:14px;}.share-section-head h3{font-size:16px;}#share-phrase{font-size:18px;}#share-caption{font-size:16px;}.share-strength{gap:8px;}.share-networks{grid-template-columns:repeat(3,minmax(0,1fr));}.share-networks button{font-size:11px;}.share-copy-row button{font-size:11px;}.share-export-detail{font-size:9px;}.share-section-head{gap:7px;}#share-new-phrase{font-size:11px;padding:9px;}}
@media(max-width:360px){.share-grid:not(.share-grid-3){grid-template-columns:1fr;}.share-grid-3{grid-template-columns:1fr 1fr;}.share-grid-3 label:first-child{grid-column:1/-1;}.share-preview-tabs>span{display:none;}.share-strength>span{font-size:11px;}.share-section-head h3{font-size:15px;}}
@media(prefers-reduced-motion:reduce){.art-share-dialog *{scroll-behavior:auto!important;transition:none!important;}}

html.share-open #page-main::before,html.share-open #page-main::after{animation-play-state:paused;}

/* v13 — file-first delivery. Rendering remains independent from app handoff. */
.share-mode-tabs{display:flex;gap:6px;width:fit-content;max-width:100%;padding:5px;margin:0 0 24px;background:#e5e8dd;border:1px solid #172b401c;border-radius:11px;}
.share-mode-tabs button{min-height:44px;padding:11px 19px;border:1px solid transparent;border-radius:7px;background:transparent;color:#52606a;font:700 14px/1.3 Arial,sans-serif;cursor:pointer;}
.share-mode-tabs button[aria-selected=true]{background:#172b40;color:#fffdf7;box-shadow:0 2px 5px #172b4020;}
.share-delivery-box{padding:0 0 8px;}
.share-delivery-box .share-section-head{margin-bottom:16px;align-items:center;}
.share-delivery-box h3{font-size:24px;letter-spacing:-.035em;}
.share-ready-badge{flex:none;display:inline-flex;padding:5px 9px;background:#e8e8de;border:1px solid #172b4020;border-radius:20px;color:#52606a;font:700 11px/1.4 ui-monospace,monospace;}
.share-ready-badge[data-ready=true]{background:#dfebe0;border-color:#38665130;color:#2c614c;}
.share-kind-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:16px;}
.share-kind-picker button{min-width:0;min-height:90px;padding:13px 8px;display:grid;grid-template-columns:auto auto;justify-content:center;align-content:center;gap:4px 8px;background:#fffdf7;border:1px solid #172b4030;border-radius:10px;color:#172b40;cursor:pointer;}
.share-kind-picker button>span{grid-row:1/3;align-self:center;font:500 29px/1 Arial,sans-serif;}
.share-kind-picker strong{font:800 15px/1.3 Arial,sans-serif;text-align:left;}
.share-kind-picker small{font:700 11px/1.3 ui-monospace,monospace;text-align:left;color:#52606a;}
.share-kind-picker button[aria-pressed=true]{border:2px solid #172b40;background:#e7ece5;padding:12px 7px;box-shadow:0 3px 9px #172b400a;}
.art-share-dialog #share-native{margin:0;min-height:54px;border:1px solid #172b40;background:#172b40;color:#fffdf7;font:800 16px/1.3 Arial,sans-serif;border-radius:9px;letter-spacing:-.01em;}
.art-share-dialog #share-native[data-action=share-file]{background:#f3d45a;color:#172b40;border-color:#bea741;}
.art-share-dialog #share-native:hover:not(:disabled){filter:brightness(1.06);transform:none;}
.share-file-actions{display:flex;gap:9px;margin:9px 0 0;}
.share-file-actions button,.share-site-actions button,.share-target-actions button{flex:1;min-width:0;min-height:44px;padding:11px 10px;border:1px solid #172b4030;border-radius:8px;background:#fffdf7;color:#172b40;font:700 13px/1.4 Arial,sans-serif;cursor:pointer;}
.share-file-actions button:hover:not(:disabled),.share-site-actions button:hover:not(:disabled),.share-target-actions button:hover:not(:disabled){background:#e4e9df;}
.share-file-actions:has(>button[hidden]):not(:has(>button:not([hidden]))){display:none;}
.share-disclosure{margin-top:13px;border:1px solid #172b4022;border-radius:9px;background:#fffdf72b;}
.share-disclosure>summary{list-style:none;display:flex;gap:12px;align-items:center;justify-content:space-between;min-height:49px;padding:13px 14px;cursor:pointer;font:700 14px/1.4 Arial,sans-serif;color:#172b40;}
.share-disclosure>summary::-webkit-details-marker{display:none;}
.share-disclosure>summary::before{content:'+';font:400 21px/1 Arial,sans-serif;width:12px;flex:none;}
.share-disclosure[open]>summary::before{content:'−';}
.share-disclosure>summary>span{margin-left:auto;font:500 11px/1.4 ui-monospace,monospace;color:#52606a;text-align:right;}
.share-disclosure-body{padding:4px 14px 15px;}
.share-disclosure .share-language{margin-top:14px;padding-top:14px;}
.share-disclosure .share-copy-row{margin:12px 0 0;}
.share-disclosure .share-section-head>.share-label{margin:0;}
.share-disclosure .share-strength{margin-bottom:5px;}
.share-caption-toggle{display:flex;align-items:center;gap:9px;margin-top:12px;font:600 13px/1.5 Arial,sans-serif;min-height:40px;cursor:pointer;}
.share-caption-toggle input{width:18px;height:18px;accent-color:#172b40;flex:none;}
.share-text-button{border:0;border-bottom:1px solid #172b4050;padding:8px 0 5px;margin:13px 0 0;background:transparent;color:#172b40;font:600 13px/1.3 Arial,sans-serif;cursor:pointer;}
.share-target-panel{margin:13px 0 0;padding:14px;border:1px solid #172b4022;border-radius:8px;background:#e7ece3;}
.share-target-panel h4{margin:0;font:800 16px/1.4 Arial,sans-serif;color:#172b40;}
.share-target-panel p{font:400 13px/1.65 Arial,sans-serif;margin:8px 0 12px;color:#465260;}
.share-target-actions{display:flex;flex-wrap:wrap;gap:7px;}
.share-target-actions button{flex:1 1 140px;font-size:12px;}
.share-target-actions button:last-child{flex-basis:100%;background:#172b40;color:#fffdf7;}
.share-networks button{min-height:44px;}
.share-networks button[aria-pressed=true]{border-color:#172b40;background:#dce5db;}
#share-mastodon-wrap{display:block;font:700 12px/1.5 Arial,sans-serif;margin:9px 0 14px;}
#share-mastodon-server,#share-site-url{display:block;width:100%;min-height:44px;padding:11px 10px;border:1px solid #172b4030;border-radius:7px;background:#fffdf7;color:#172b40;font:400 14px/1.5 ui-monospace,monospace;}
.share-site-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:28px;align-items:start;}
.share-site-preview{min-width:0;margin:0;padding:16px;border-radius:13px;border:1px solid #172b4018;background:linear-gradient(135deg,#e1e7df,#d7dfd5);}
.share-site-card{overflow:hidden;border:1px solid #172b4028;border-radius:9px;background:#fffdf7;box-shadow:0 9px 20px #172b4014;}
.share-site-card>img{display:block;width:100%;height:auto;aspect-ratio:1200/630;object-fit:cover;border-bottom:1px solid #172b4020;}
.share-site-card-copy{padding:17px 19px;}
.share-site-card-copy>span{display:block;overflow-wrap:anywhere;font:400 11px/1.5 ui-monospace,monospace;color:#52606a;margin-bottom:8px;}
.share-site-card-copy>strong{font:800 19px/1.4 Arial,sans-serif;color:#172b40;}
.share-site-card-copy>p{font:400 13px/1.65 Arial,sans-serif;color:#465260;margin:7px 0 0;}
.share-site-preview>figcaption{font:400 12px/1.6 Arial,sans-serif;color:#52606a;margin:14px 4px 0;}
.share-site-options{min-width:0;}
.share-site-options>h3{font:800 26px/1.15 Arial,sans-serif;color:#172b40;letter-spacing:-.035em;margin:9px 0 13px;}
.share-site-options>p{font:400 14px/1.7 Arial,sans-serif;color:#465260;}
.share-site-actions{display:flex;gap:9px;margin:10px 0 20px;}
.share-site-actions #share-site-native{background:#172b40;color:#fffdf7;}
.share-status{position:sticky;bottom:0;z-index:3;margin:20px 0 0;box-shadow:0 -5px 14px #f4f0e599;}
.art-share-dialog summary:focus-visible{outline:3px solid #315ba4;outline-offset:2px;border-radius:8px;}
@media(max-width:930px){.share-site-layout{grid-template-columns:1fr;}.share-site-preview{max-width:620px;width:100%;margin-inline:auto;}.share-site-options{max-width:650px;width:100%;margin-inline:auto;}.share-preview-wrap{max-width:500px;}.share-media-stage{max-height:36dvh;}.share-mode-tabs{margin-bottom:18px;}}
@media(max-width:600px){.share-mode-tabs{width:100%;}.share-mode-tabs button{flex:1;padding-inline:9px;font-size:13px;}.share-head h2{font-size:26px;}.share-kind-picker button{min-height:81px;}.share-ready-badge{font-size:10px;padding:5px 7px;}.share-delivery-box h3{font-size:22px;}.share-kind-picker{gap:7px;}.share-kind-picker strong{font-size:14px;}.share-disclosure>summary>span{font-size:10px;}.share-disclosure>summary{padding-inline:11px;gap:9px;}.share-disclosure-body{padding-inline:11px;}.share-site-card-copy>strong{font-size:18px;}.share-site-card-copy{padding:14px;}.share-site-preview{padding:12px;}#share-mastodon-server,#share-site-url,#share-phrase,.share-grid select{font-size:16px;}.share-grid-3{grid-template-columns:minmax(0,1fr) minmax(62px,.6fr);}.share-grid-3>label:first-child{grid-column:1/-1;}.share-status{font-size:12px;}.share-preview-toggle{font-size:12px;}.share-media-stage{max-height:31dvh;}.share-preview-note{margin-bottom:0;}.share-mode-tabs button{white-space:normal;}}
@media(max-width:365px){.share-delivery-box .share-section-head{flex-wrap:wrap;gap:7px;}.share-kind-picker button>span{font-size:24px;}.share-kind-picker strong{font-size:13px;}.share-disclosure>summary>span{display:none;}.share-file-actions{flex-wrap:wrap;}.share-file-actions button{flex-basis:100%;}}

/* File preview is a compact confirmation, not a second animation control panel. */
.art-share-dialog[data-preview-mode="file"] .share-preview-toggle{display:none;}
.art-share-dialog[data-preview-mode="file"] .share-preview-note{margin-top:7px;margin-bottom:0;}
@media(max-width:600px){
  .art-share-dialog[data-preview-mode="file"] .share-media-stage{min-height:130px;max-height:min(20dvh,180px);}
  .art-share-dialog[data-preview-mode="file"] .share-preview-tabs{margin-bottom:10px;}
  .art-share-dialog[data-preview-mode="file"] #share-size{margin-top:9px;}
  .share-kind-picker button{min-height:70px;}
}

/* 13.1 — five immediate destinations, quiet local SVG icons and real text paragraphs. */
.share-platforms{grid-column:1/-1;min-width:0;padding:0 0 12px;border-bottom:1px solid #172b4022;}
.share-primary-networks{grid-template-columns:repeat(5,minmax(0,1fr));max-width:780px;gap:10px;}
.share-primary-networks button{display:flex;align-items:center;justify-content:center;gap:9px;min-height:56px;padding:11px 9px;background:#fffdf7;font-size:13px;font-weight:700;}
.share-social-icon{display:block;flex:none;width:22px;height:22px;color:inherit;}
.share-networks button>span{display:block;min-width:0;white-space:nowrap;}
.share-extra-networks{grid-template-columns:repeat(4,minmax(0,1fr));max-width:780px;gap:9px;padding:5px 0 2px;}
.share-extra-networks button{display:flex;align-items:center;justify-content:flex-start;gap:10px;min-height:48px;padding:10px 13px;}
.share-extra-networks .share-social-icon{width:20px;height:20px;}
.share-more-apps{margin-top:5px;}
.share-more-apps>summary{display:flex;align-items:center;gap:12px;list-style:none;width:fit-content;min-height:40px;padding:6px 1px;cursor:pointer;font:600 12px/1.4 Arial,sans-serif;color:#52606a;}
.share-more-apps>summary::-webkit-details-marker{display:none;}
.share-more-apps>summary>span{font-size:17px;line-height:1;}
.share-more-apps[open]>summary>span{transform:rotate(45deg);}
.share-primary-networks button[aria-pressed=true]{box-shadow:inset 0 -3px 0 #172b40;}
.share-primary-networks button:hover:not(:disabled),.share-extra-networks button:hover:not(:disabled){border-color:#172b4070;background:#e4e9df;}
.share-target-panel{margin:0 0 17px;}
#share-target-title:focus{outline:none;}
#share-caption,#share-site-caption{display:block;width:100%;min-height:230px;padding:14px;border:1px solid #172b4030;border-radius:8px;resize:vertical;background:#fffdf7;color:#172b40;font:400 15px/1.6 Arial,sans-serif;white-space:pre-wrap;overflow-wrap:anywhere;tab-size:2;}
.share-site-options .share-copy-row{margin-bottom:10px;}
@media(max-width:930px){.share-layout,.share-site-layout{row-gap:16px;}.share-primary-networks{max-width:none;}}
@media(max-width:600px){
  .share-platforms{padding-bottom:5px;}
  .share-primary-networks{gap:6px;}
  .share-primary-networks button{flex-direction:column;gap:7px;min-height:65px;padding:9px 3px;font-size:11.5px;}
  .share-extra-networks{grid-template-columns:repeat(2,minmax(0,1fr));}
  .share-extra-networks button{font-size:12px;}
  .share-more-apps>summary{min-height:36px;}
  .share-layout,.share-site-layout{row-gap:12px;}
  .share-head{padding-bottom:12px;margin-bottom:12px;}
  .share-mode-tabs{margin-bottom:14px;}
  .art-share-dialog[data-preview-mode="file"] .share-media-stage{min-height:100px;max-height:120px;}
  .art-share-dialog[data-preview-mode="file"] .share-preview-wrap{padding:10px;}
  .art-share-dialog[data-preview-mode="file"] .share-preview-tabs{margin-bottom:6px;}
  .art-share-dialog[data-preview-mode="file"] .share-preview-note{display:none;}
  #share-caption,#share-site-caption{font-size:16px;line-height:1.55;min-height:250px;}
}
@media(max-width:360px){.share-primary-networks{gap:4px;}.share-primary-networks button{font-size:10.5px;padding-inline:1px;}.share-social-icon{width:21px;height:21px;}}
@media(forced-colors:active){.share-networks button[aria-pressed=true]{outline:2px solid Highlight;}.share-social-icon{forced-color-adjust:auto;}}

/* 13.4 — protected drafts and a three-step media handoff. */
.share-head{position:sticky;top:-24px;z-index:8;align-items:center;background:#f4f0e5;padding-top:10px;padding-bottom:14px;margin-bottom:15px;}
.share-head h2{font-size:clamp(25px,2.6vw,33px);}
.share-draft-note{display:block;margin-top:8px;max-width:48ch;font:500 12px/1.5 Arial,sans-serif;color:#52606a;}
.art-share-dialog #share-close{display:flex;flex:0 0 auto;align-items:center;justify-content:center;gap:10px;width:auto;min-width:104px;min-height:44px;height:auto;padding:10px 13px;border-radius:9px;font:700 13px/1.3 Arial,sans-serif;white-space:nowrap;}
#share-close>span:last-child{font:400 24px/1 Arial,sans-serif;}
.share-workflow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;list-style:none;padding:0;margin:4px 0 14px;counter-reset:none;}
.share-workflow li{min-width:0;display:flex;align-items:center;gap:7px;padding:10px 7px;border:1px solid #172b4022;border-radius:8px;color:#52606a;font:700 12px/1.35 Arial,sans-serif;background:#fffdf766;}
.share-workflow b{display:grid;place-items:center;flex:none;width:24px;height:24px;border:1px solid currentColor;border-radius:50%;font:700 12px/1 Arial,sans-serif;}
.share-workflow [data-state=current]{background:#172b40;color:#fffdf7;border-color:#172b40;}
.share-workflow [data-state=done]{background:#e1eadc;color:#315a46;border-color:#315a4633;}
.share-workflow [data-state=done] b{background:#315a46;color:white;border-color:transparent;}
.share-target-panel{margin:16px 0 16px;padding:14px 15px;background:#e7ecdff0;border:1px solid #172b4025;border-radius:10px;}
.share-target-panel h4{font:800 16px/1.35 Arial,sans-serif;letter-spacing:-.015em;margin:0 0 7px;}
.share-target-panel>p{font:400 13px/1.55 Arial,sans-serif;margin:7px 0 10px;}
.share-target-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:10px;}
.share-target-actions #share-target-open{order:0;background:#fffdf7;border-color:#172b4060;min-height:46px;font-size:13px;}
.share-target-actions #share-target-copy{order:1;min-height:44px;align-self:stretch;font-size:12px;}
.share-target-actions #share-target-save{display:none;}
.share-file-link{display:block;padding:8px 9px;margin:10px 0;background:#fffdf79e;border:1px solid #172b4020;border-radius:6px;color:#172b40;font:600 11px/1.6 ui-monospace,monospace;overflow-wrap:anywhere;text-decoration:underline;text-underline-offset:3px;}
.share-target-panel #share-copy-state{font-size:12px;color:#52606a;margin-bottom:0;}
.share-close-confirm{position:sticky;z-index:9;top:95px;background:#fff4d6;border:1px solid #92752180;border-radius:10px;padding:16px;margin:0 0 16px;box-shadow:0 8px 24px #172b4020;}
.share-close-confirm>strong{font:800 16px/1.4 Arial,sans-serif;}
.share-close-confirm p{font:400 13px/1.5 Arial,sans-serif;max-width:65ch;margin:8px 0 12px;}
.share-close-confirm>div{display:flex;flex-wrap:wrap;gap:10px;}
.share-close-confirm button{min-height:44px;padding:10px 14px;border:1px solid #172b4050;border-radius:8px;background:#fffdf7;color:#172b40;font:700 13px/1.4 Arial,sans-serif;cursor:pointer;}
.share-close-confirm #share-close-continue{background:#172b40;color:#fffdf7;}
@media(min-width:931px){.share-preview-wrap{top:110px;}.share-media-stage{max-height:calc(100dvh - 395px);}}
@media(max-width:600px){
 .share-head{top:-16px;padding-top:8px;gap:9px;}
 .share-head p{margin-bottom:5px;}
 .share-head h2{font-size:23px;line-height:1.1;}
 .share-draft-note{font-size:11px;margin-top:6px;line-height:1.4;}
 .art-share-dialog #share-close{align-self:flex-start;min-width:86px;padding:9px;gap:7px;font-size:12px;}
 .share-workflow{gap:5px;margin-bottom:11px;}
 .share-workflow li{flex-direction:column;gap:5px;text-align:center;padding:7px 3px;font-size:11px;}
 .share-workflow b{width:22px;height:22px;font-size:11px;}
 .share-kind-picker{gap:7px;margin-bottom:10px;}
 .share-kind-picker button{min-height:69px;padding:10px 6px;}
 .share-kind-picker button[aria-pressed=true]{padding:9px 5px;}
 .share-delivery-box .share-section-head{margin-bottom:10px;}
 .share-delivery-box h3{font-size:21px;}
 .share-layout{gap:10px;}
 .share-preview-wrap{padding:9px;}
 .art-share-dialog .share-media-stage,.art-share-dialog[data-preview-mode=file] .share-media-stage{max-height:105px;min-height:88px;}
 .share-preview-tabs{margin-bottom:5px;}
 .share-preview-tabs button{font-size:11px;min-height:32px;padding:6px 8px;}
 .share-preview-toggle{font-size:11px;min-height:32px;margin:0;}
 .share-preview-note{display:none;}
 #share-size{font-size:10px;margin-top:6px;}
 .share-target-panel{padding:12px;margin-top:12px;}
 .share-target-actions{grid-template-columns:minmax(0,1fr);}
 .share-target-actions #share-target-copy{justify-self:start;border:0;background:transparent;text-decoration:underline;min-height:36px;padding:5px 0;}
 .share-close-confirm{top:109px;}
}
@media(max-width:360px){.share-head h2{font-size:21px;}.share-draft-note{max-width:25ch;}.share-workflow li{font-size:10.5px;}.share-mode-tabs button{padding-inline:12px;}}
@media(forced-colors:active){.share-workflow [data-state=current]{outline:2px solid Highlight;}.share-file-link{forced-color-adjust:auto;}}
.share-target-actions #share-target-open{color:#172b40;}
/* On a phone the action comes before the preview, not underneath a tall poster. */
@media(max-width:930px){
 .share-layout>.share-options{display:contents;}
 .share-layout>.share-platforms{order:0;}
 .share-delivery-box{order:1;}
 .share-layout>.share-preview-wrap{order:2;position:static;}
 .share-target-panel{order:3;}
 .share-layout .share-disclosure{order:4;}
}
@media(max-width:600px){.share-head h2{max-width:14ch;}.share-delivery-box .share-kicker{display:none;}.share-delivery-box .share-section-head{margin-bottom:8px;}}
