/* V54.5 — tableau d’outils compact. Les 7 outils publics tiennent sur une page à partir de 900px de haut. */
.tools-page .tools-directory{padding:calc(var(--header-height,66px) + 29px) 22px 25px;min-height:100dvh}
.tools-page .tools-shell{max-width:1480px}
.tools-page .tools-hero{margin:0 0 15px;min-height:0}
.tools-page .tools-hero h1{font-size:clamp(26px,2.35vw,36px);margin:4px 0 5px;line-height:1.14}
.tools-page .tools-intro{font-size:13px;line-height:1.45;margin:0}
.tools-page .tools-hero-decor{height:82px;width:120px;top:-4px;right:16px;opacity:.8}
.tools-page .tools-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin:0;padding:0}
.tools-page .tool-item--featured,.tools-page .tool-item--converter{grid-column:auto}
.tools-page .tool-tile{display:flex;flex-direction:row;align-items:center;gap:12px;min-height:132px;padding:13px;border-radius:15px;box-shadow:0 2px 10px #251c4205;overflow:hidden}
.tools-page .tool-tile--featured{grid-template-columns:none;grid-template-rows:none;min-height:132px}
.tools-page .tool-copy,.tools-page .tool-tile--featured .tool-copy{grid-column:auto;grid-row:auto;align-self:center;flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center}
.tools-page .tool-category{font-size:9px;letter-spacing:.08em;line-height:1.15;margin-bottom:4px}
.tools-page .tool-tile h2{font-size:clamp(13px,1.18vw,17px);line-height:1.25;font-weight:750;margin:0}
.tools-page .tool-tile p{font-size:11px;line-height:1.35;margin:5px 0 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tools-page .tool-art,.tools-page .tool-tile--featured .tool-art{grid-column:auto;grid-row:auto;order:-1;flex:0 0 67px;width:67px;height:72px;margin:0;border-radius:12px;align-self:center;overflow:hidden}
.tools-page .tool-art svg,.tools-page .tool-tile--featured .tool-art svg{width:70px;height:70px;max-height:70px;flex:none;overflow:visible}
.tools-page .tool-action,.tools-page .tool-tile--featured .tool-action{grid-column:auto;grid-row:auto;display:none}
.tools-page .tools-backup{margin-top:13px;padding:9px 13px;border-radius:12px;gap:9px}
.tools-page .tools-backup-copy p{display:none}.tools-page .tools-backup-copy h2{font-size:12px}.tools-page .tools-backup-link{font-size:11px;min-height:30px}
.tools-page .tools-backup-icon{width:31px;height:31px;flex-basis:31px}
.tools-page .tool-tile--placeholder{border:1.5px dashed #b9b0c9;background:#f5f2f9;box-shadow:none;color:#645a77;cursor:default}
.tools-page .tool-tile--placeholder .tool-art-placeholder{width:67px;height:72px;display:grid;place-items:center;flex:none;color:#8a7ba3;font-size:28px;border:1px dashed #bdb1cc;border-radius:12px;background:#ede8f3}
.tools-page .tool-tile--placeholder h2{color:#5e556a}
.tools-page .tools-placeholder .tool-tile:hover{transform:none;box-shadow:none;border-color:#b9b0c9}
.tools-page .pro-status-banner{margin:0 0 11px;padding:9px 13px;min-height:0}
.tools-page.has-professional-workspace .tools-hero{margin-top:0}
.tools-page .pro-workspace{margin:0 0 18px;padding:14px 16px;border-radius:16px}
.tools-page .pro-workspace-head h2{font-size:19px;margin:3px 0 0}.tools-page .pro-workspace-kicker{font-size:9px}
.tools-page .pro-workspace-head p{display:none}
.tools-page .pro-tools-list{grid-template-columns:repeat(5,minmax(0,1fr));margin-top:13px;gap:10px}
.tools-page .pro-tool-card{position:relative;display:flex;flex-direction:column;align-items:stretch;gap:8px;min-width:0;min-height:159px;border-radius:13px;padding:11px 12px;overflow:hidden;color:#332a42}
.tools-page .pro-card-icon{width:100%;height:72px;flex:0 0 72px;display:grid;place-items:center;background:linear-gradient(130deg,#f0eaf9,#f9f7fd);border-radius:10px}
.tools-page .pro-tool-card--cut .pro-card-icon{background:linear-gradient(130deg,#e6effd,#f5f8ff)}
.tools-page .pro-tool-card--studio .pro-card-icon{background:linear-gradient(130deg,#def1eb,#f4faf6)}
.tools-page .pro-card-icon svg{width:84px;height:72px}
.tools-page .pro-card-text{display:grid;gap:2px;min-width:0}.tools-page .pro-tool-label{font-size:8px;letter-spacing:.07em}
.tools-page .pro-tool-card strong{font-size:14px;line-height:1.2;display:block}.tools-page .pro-tool-card small{font-size:10px;color:#776b82;line-height:1.35}
.tools-page .pro-tool-arrow{position:absolute;top:10px;right:11px;font-size:14px}
.tools-page .pro-tool-reserved{border:1.5px dashed #c3b9d1;background:#f7f3fa;cursor:default}
.tools-page .pro-tool-reserved .pro-card-icon{background:#eee9f2;color:#9383a3;font-size:25px;border:1px dashed #c8bacf}
.tools-page .pro-tool-reserved:hover{transform:none;box-shadow:none;border-color:#c3b9d1}
.tools-page .pro-workflow{margin:11px 0 0;padding:6px 0 0;display:block;border:0;border-top:1px solid #e4d9ef;border-radius:0;background:transparent;font-size:11px;color:#5e536e}
.tools-page .pro-workflow a{display:inline;text-decoration:underline;color:#654686;padding:0;border:0;background:transparent;font-size:inherit}
.tools-page .pro-public-head{margin:11px 0 9px;padding:0;font-size:10px}
.tools-page [hidden]{display:none!important}
@media(min-width:1260px){.tools-page .tools-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:1050px){.tools-page .pro-tools-list{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:850px){.tools-page .tools-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tools-page .pro-tools-list{grid-template-columns:repeat(2,minmax(0,1fr))}.tools-page .tools-directory{padding-top:95px}}
@media(max-width:560px){.tools-page .tools-directory{padding:85px 13px 20px}.tools-page .tools-hero h1{font-size:25px}.tools-page .tools-hero-decor{display:none}.tools-page .tools-grid{gap:8px}.tools-page .tool-tile{min-height:120px;flex-direction:column;gap:7px;align-items:stretch;padding:10px}.tools-page .tool-art,.tools-page .tool-tile--featured .tool-art{height:45px;width:100%;flex:0 0 45px}.tools-page .tool-art svg,.tools-page .tool-tile--featured .tool-art svg{height:48px;width:50px}.tools-page .tool-tile h2{font-size:13px}.tools-page .tool-category{font-size:8px}.tools-page .tool-tile p{display:none}.tools-page .tool-tile--placeholder .tool-art-placeholder{height:45px;width:100%}.tools-page .pro-tools-list{gap:8px}.tools-page .pro-tool-card{min-height:150px}.tools-page .pro-card-icon{height:58px;flex-basis:58px}.tools-page .pro-card-icon svg{height:58px}.tools-page .pro-tool-card strong{font-size:12px}.tools-page .pro-tool-card small{font-size:9px}.tools-page .tools-backup{flex-wrap:wrap}.tools-page .tools-backup-link{width:100%;justify-content:flex-start}}
:root[data-site-theme="dark"] .tools-page .tool-tile--placeholder{background:#26212f;border-color:#695b78;color:#dfd5e8}
:root[data-site-theme="dark"] .tools-page .tool-tile--placeholder h2{color:#f4eaf8}
:root[data-site-theme="dark"] .tools-page .tool-tile--placeholder .tool-art-placeholder{background:#322b3b;border-color:#736387;color:#c1b0d6}
:root[data-site-theme="dark"] .tools-page .pro-tool-reserved{background:#2a2433;border-color:#6b5c79}
:root[data-site-theme="dark"] .tools-page .pro-card-text small{color:#c0b3cb}
:root[data-site-theme="dark"] .tools-page .pro-workflow{border-color:#564663;color:#d9cce4}
:root[data-site-theme="dark"] .tools-page .pro-workflow a{color:#e6cbff}

/* V54.6 : une indication de sauvegarde discrète, non intrusive. */
.tools-page .pro-storage{font-size:10px;line-height:1.5;color:#736481;margin-top:11px;display:flex;gap:5px;align-items:center;flex-wrap:wrap}
.tools-page .pro-storage a{color:#63478b;text-decoration:underline;text-underline-offset:2px}
.tools-page .pro-storage[data-capacity="warning"]{color:#a75237;font-weight:650}
:root[data-site-theme="dark"] .tools-page .pro-storage{color:#c0b2cf}
:root[data-site-theme="dark"] .tools-page .pro-storage a{color:#e0cbfc}
