/* Ferramentas do painel: ligações entre páginas, partilha e atalhos. */
.ap-tool-links{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 20px}
.ap-tool-links a{display:inline-flex;align-items:center;min-height:44px;padding:8px 16px;border:1px solid #cddbf0;border-radius:8px;background:#f1f6fd;color:#173a5e;font-weight:600;font-size:14px}
.ap-share{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:12px 0 20px;grid-column:1/-1}
.ap-share a,.ap-share button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin:0;padding:9px 16px;border:1px solid #cddbf0;border-radius:8px;background:#fff;color:#173a5e;font-family:inherit;font-size:14px;font-weight:600;line-height:1.4;cursor:pointer}
.ap-share .ap-share__wa{background:#0f6b4f;border-color:#0f6b4f;color:#fff}
.ap-share [hidden]{display:none}
.ap-share p{flex:1 0 100%;margin:0;font-size:13px;color:#40566e}
.ap-share p:empty{display:none}
.ap-daily-published{margin:0 0 20px;padding:18px 20px;border-radius:12px;background:linear-gradient(135deg,rgba(37,99,235,.14),rgba(37,99,235,.07))}
.ap-daily-published h3{margin:0;font-size:18px!important}
.ap-daily-published .ap-share{margin-bottom:0}
.ap-daily-history article>.ap-share{display:flex;flex-direction:row;gap:8px;margin:0}
.ap-daily-history .ap-share a,.ap-daily-history .ap-share button{min-height:40px;font-size:13px;padding:7px 12px}
.ap-creator>label{max-width:320px}
.ap-creator-publish{display:grid;gap:16px;padding-top:20px;border-top:1px solid #dce5df}
.ap-creator-publish h3,.ap-creator-publish p{margin:0}
.ap-creator-publish [data-ap-creator-error]{color:#9b2c2c;font-weight:600}
.ap-creator-publish [data-ap-creator-error]:empty{display:none}
.ap-flyer-builder--page>summary{display:none}
.ap-flyer-builder--page .ap-flyer-builder__body{border-top:0}
.ap-flyer-builder__share{min-height:44px;padding:9px 16px;border:1px solid #0f6b4f;border-radius:8px;background:#fff;color:#0f6b4f;font-weight:600;cursor:pointer}
.ap-flyer-builder__share[hidden]{display:none}
.ap-shortcuts{margin:0 0 30px;padding:24px;border-radius:16px;background:linear-gradient(135deg,rgba(37,99,235,.14),rgba(37,99,235,.07))}
.ap-shortcuts h2{margin:0 0 16px;font-size:22px;color:#173a5e}
.ap-shortcuts h3{margin:20px 0 0;font-size:16px;color:#173a5e}
.ap-shortcuts h3+.ap-shortcuts__grid{margin-top:10px}
.ap-shortcuts .ap-tool-links{margin:12px 0 0}
.ap-shortcuts .ap-share{margin-bottom:0}
.ap-shortcuts__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.ap-shortcuts__grid a{display:grid;grid-template-columns:36px minmax(0,1fr);gap:4px 12px;align-content:start;padding:18px;background:#fff;border:1px solid #dbe5f3;border-radius:12px;color:#173a5e}
.ap-shortcuts__grid a:hover,.ap-shortcuts__grid a:focus-visible{border-color:#6f94d6;color:#173a5e}
.ap-shortcuts__grid i{grid-row:span 2;font-size:24px;line-height:1.2;color:#2563eb}
.ap-shortcuts__grid strong{font-size:16px;line-height:1.35}
.ap-shortcuts__grid small{font-size:13px;line-height:1.45;color:#52665f}
@media(max-width:1100px){.ap-shortcuts__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){
 .ap-shortcuts{padding:18px 14px}
 .ap-shortcuts__grid{grid-template-columns:minmax(0,1fr)}
 .ap-share a,.ap-share button{flex:1 1 100%}
 .ap-daily-history .ap-share a,.ap-daily-history .ap-share button{flex:1 1 calc(50% - 10px)}
}
@media(min-width:1101px){.ap-studio-preview-tools [data-studio-edit]{display:none}}
.ap-daily-history article>form{background:none;box-shadow:none}
/* «Os meus negócios»: com vários atalhos, as acções passam para uma linha própria. */
.dashboard-content .buttons-to-right{position:static;display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 0;opacity:1;transform:none}
.dashboard-content .buttons-to-right .button{margin:0}
