:root {
  color-scheme: light;
  --ink: #1d3836; --muted: #526764; --line: #dce3dd; --paper: #f7f8f4;
  --white: #fff; --dark: #173c38; --green: #24574e; --mint: #deede5;
  --accent: #c26d52; --rail: 224px; --radius: 16px;
  font: 15px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif;
}
* {box-sizing:border-box}
[hidden] {display:none!important}
body {margin:0;color:var(--ink);background:var(--paper)}
a {color:var(--green);text-underline-offset:3px}
button,input,select,textarea {font:inherit}
button,.feature-link,.action-link {display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer}
button {border:1px solid transparent;border-radius:9px;padding:9px 15px;background:var(--green);color:white;font-weight:650;font-size:.89rem;line-height:1.45}
button:hover {filter:brightness(.93)} button:disabled {opacity:.5;cursor:default}
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible {outline:3px solid #d88a64;outline-offset:3px}
.icon {width:19px;height:19px;flex-shrink:0;vertical-align:middle}
h1,h2,h3,p {margin-top:0}
h1,h2 {font-family:Georgia,"Times New Roman",serif;font-weight:500;line-height:1.12}
h1 {font-size:clamp(2.35rem,3.8vw,3.8rem);letter-spacing:-.052em;margin:4px 0 0}
h2 {font-size:1.8rem;letter-spacing:-.035em;margin-bottom:16px}
small,.hint {color:var(--muted)}
.secondary,.iconbtn,.plain,.mode {color:var(--ink);background:#fff;border-color:var(--line)}
.secondary:hover,.plain:hover,.iconbtn:hover,.mode:hover {background:#f1f5f0;filter:none}
.iconbtn {min-width:34px;height:34px;padding:5px;border:0;border-radius:6px}
.plain,.mode {border:0}
.iconbtn:disabled,.format:disabled {opacity:.42}
.eyebrow,.nav-group,.table-head {font:700 .69rem/1.4 system-ui,sans-serif;letter-spacing:.13em;text-transform:uppercase}
.eyebrow {color:#597368}
.rail {background:var(--dark);color:white;width:var(--rail);height:100dvh;position:fixed;inset:0 auto 0 0;z-index:5;display:flex;flex-direction:column;padding:33px 15px 14px}
.brand {display:flex;align-items:center;gap:11px;color:#fff4ea;text-decoration:none;padding:0 6px;font:1.54rem/1 Georgia,serif;letter-spacing:-.035em}
.brand small,.identity small {display:block;font:normal .75rem/1.5 system-ui,sans-serif;letter-spacing:0;color:#c5d8ce;margin-top:3px}
.monogram {display:grid;place-items:center;flex:none;width:43px;height:43px;background:#edbea0;border-radius:48% 48% 45% 45%;font:italic 35px/.8 Georgia,serif;letter-spacing:-.16em;padding-right:6px;color:#334c45}
.rail nav {margin-top:26px}
.nav-group {color:#b4cbc1;margin:24px 12px 9px;font-size:.64rem}
.rail nav a,.visit {display:flex;align-items:center;gap:11px;padding:11px 12px;color:#e3ebe5;text-decoration:none;border-radius:8px;font-size:.93rem;margin:3px 0}
.rail nav a:hover,.visit:hover {background:#234c45}
.rail nav a[aria-current] {background:#345b4f;color:white;box-shadow:inset 3px 0 #e7af88;font-weight:650}
.rail-foot {margin-top:auto}
.visit {border:1px solid #45685d}.visit .icon:last-child {width:15px;margin-left:auto}
.identity {margin:16px 3px 0;padding-top:16px;border-top:1px solid #41635a;display:flex;align-items:center;gap:10px;font-size:.92rem;font-weight:650}
.avatar {display:grid;place-items:center;text-transform:uppercase;width:35px;height:35px;border-radius:50%;background:#c9dad2;color:var(--dark)}
.identity form,.bar>a {margin-left:auto}
.rail-exit {background:transparent;padding:5px;color:#cde0d6}
.bar {margin-left:var(--rail);height:57px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:11px;padding:0 clamp(16px,3vw,54px);font-size:.83rem;color:var(--muted)}
.bar>svg {width:13px}.bar strong {color:var(--ink);font-weight:550}
.bar>a {text-decoration:none;font-weight:600}.bar>a svg {width:15px}.burger {display:none}
.surface {margin:0 0 0 var(--rail);padding:clamp(20px,3vw,48px) clamp(18px,3.3vw,64px) 48px;max-width:1750px}
.title-row,.editor-heading,.collection-head,.section-title,.actions,.dialog-top,.modebar,.toolbelt,.toolgroup,.devices,.block-controls {display:flex;align-items:center;gap:10px}
.title-row,.editor-heading,.collection-head,.dialog-top,.modebar {justify-content:space-between}
.title-row,.page-head {margin-bottom:25px}.actions {flex-wrap:wrap}
.feature {display:flex;position:relative;isolation:isolate;overflow:hidden;min-height:188px;margin-bottom:28px;border-radius:var(--radius);background:#f1dfcf;border:1px solid #e8d0bc}
.feature-copy {align-self:center;max-width:70%;padding:23px clamp(18px,2.4vw,36px);position:relative;z-index:1}
.feature-label {display:inline-flex;align-items:center;gap:7px;color:#754d36;font-size:.78rem;font-weight:700}
.feature-label svg {width:16px}
.feature h2 {max-width:650px;font-size:clamp(1.7rem,2.6vw,2.65rem);line-height:1.13;margin:9px 0 15px;text-wrap:balance;color:#243f37}
.feature-link {text-decoration:none;color:#304e43;font-weight:750;font-size:.87rem;border-bottom:1px solid #879482;padding-bottom:2px}.feature-link svg {width:15px}
.feature-art {width:30%;overflow:hidden;position:absolute;inset:0 0 0 auto;background:#e8cbb1;border-radius:90px 0 0 0}
.orb {position:absolute;border-radius:50%}.orb.one {width:175px;height:175px;background:#c87d5c;left:2%;bottom:-45px}.orb.two {width:180px;height:180px;background:#97ada0;right:-20px;top:-35px}.orb.three {width:112px;height:112px;border:1px solid #936e51;top:-53px;left:-18px}
.feature-art img {position:absolute;width:136px;height:158px;object-fit:cover;border-radius:85px 85px 44px 44px;left:50%;top:50%;transform:translate(-50%,-46%)}
.collection,.editor-panel,fieldset,.grille form,.liste,.surface>.court {background:white;border:1px solid var(--line);border-radius:var(--radius)}
.collection {overflow:hidden}.collection-head {padding:20px 24px 13px}.collection-head h2 {font-size:1.65rem;margin:0}
.count {border-radius:20px;background:#edf2ed;color:#476357;padding:2px 9px;font:600 .78rem/1.6 system-ui,sans-serif}
.search {display:flex;align-items:center;border:1px solid var(--line);border-radius:8px;padding:6px 11px;background:#fafbf8;gap:8px;color:var(--muted)}
label.search input {padding:0;border:0;margin:0;width:165px;background:transparent;font-size:.85rem}
.filters {display:flex;gap:4px;padding:0 24px 15px}
.filters button {background:transparent;color:var(--muted);font-size:.78rem;padding:5px 10px}
.filters button[aria-pressed=true] {background:var(--mint);color:var(--green)}.filters span {margin-left:1px}
.table-head,.page-row {display:grid;grid-template-columns: minmax(0,1fr) 120px 22px;gap:12px;align-items:center}
.table-head {background:#f6f8f4;color:#627567;border-block:1px solid var(--line);padding:9px 24px;font-size:.61rem}
.page-row {padding:11px 24px;color:var(--ink);text-decoration:none;border-bottom:1px solid #edf0ea}
.page-row:last-child {border-bottom:0}.page-row:hover {background:#f9faf7}.page-row:hover .row-arrow {color:var(--accent)}
.row-main {display:flex;align-items:center;gap:12px;min-width:0}.row-main>span:last-child {min-width:0}
.row-main strong,.row-main small {display:block;overflow-wrap:anywhere}.row-main strong {font-size:.94rem}.row-main small {font-size:.75rem}
.page-icon {display:grid;place-items:center;flex:none;width:36px;height:39px;border-radius:8px;background:#e9efea;color:#47695e}
.color-home,.color-contact,.color-legal {background:#f6e8df;color:#93624e}.color-besoins,.color-sophrologie {background:#deebef;color:#47727c}.color-tarifs,.color-eft {background:#f3ecd9;color:#866d3b}
.pill {display:inline-flex;align-items:center;gap:6px;justify-self:start;background:#e8f3eb;color:#306346;border-radius:20px;padding:3px 9px;font-size:.73rem;font-weight:650}
.pill::before {content:"";width:6px;height:6px;border-radius:100%;background:#528969}.pill.muted {background:#f8eedf;color:#745536}.pill.muted::before {background:#ad8156}.row-arrow {color:#8e9f94}.row-arrow svg {width:16px}
#empty {padding:20px 24px;color:var(--muted)}
label {display:block;font-size:.9rem;font-weight:600;margin:12px 0}
input:not([type=checkbox]):not([type=hidden]),textarea,select {width:100%;margin-top:4px;padding:9px 11px;border:1px solid #b9c9bf;border-radius:7px;background:white;color:var(--ink);font-weight:400}
input[type=checkbox] {accent-color:var(--green)}
label.search {margin:0}label.search input[type=search] {margin:0;border:0;width:165px;padding:0;background:transparent}
textarea {resize:vertical;min-height:84px}
fieldset,.surface>.court,.liste {padding:20px;margin:12px 0 24px}.court {max-width:620px}.surface>form:not(.court) {max-width:680px}
.grille {display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));gap:16px}.grille form {padding:16px}.grille img {width:100%;height:145px;object-fit:contain;background:#f4f6f3;border-radius:8px;padding:10px}.grille h2 {font-size:1.2rem;overflow-wrap:anywhere}
.liste>div {padding:10px 0;border-bottom:1px solid var(--line)}.liste form {display:inline-block;margin-left:12px}.lien {background:transparent;color:var(--green);padding:3px 8px;text-decoration:underline}
dialog {width:min(calc(100vw - 28px),465px);max-height:85dvh;border:1px solid var(--line);border-radius:17px;color:var(--ink);padding:26px;box-shadow:0 24px 90px #122d3240}
dialog::backdrop {background:#15302d66}dialog p {color:var(--muted);font-size:.9rem}dialog .actions {justify-content:flex-end;margin-top:22px}
dialog h2,.dialog-top h2 {margin:0 0 9px}.dialog-top {align-items:flex-start}
dialog details {border-top:1px solid var(--line);padding:12px 0}.check {display:flex;align-items:center;gap:8px}
summary {cursor:pointer;font-weight:650}
.insert-grid {display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:18px}.insert-grid button {justify-content:flex-start;background:#f5f8f3;color:var(--ink);border-color:var(--line)}.insert-grid b {min-width:25px;font:600 1.15rem Georgia,serif}
.notice,.feedback.error {color:#285841;background:#e4f0e5;padding:9px 14px;border-radius:8px}.notice {display:flex;align-items:center;gap:8px}
.workspace .surface {padding:19px clamp(12px,2vw,30px) 13px}.editor-heading {margin-bottom:16px}
.editor-heading h1 {font-size:clamp(1.9rem,3vw,3rem);margin-top:2px}.back {display:inline-flex;align-items:center;gap:3px;text-decoration:none;color:var(--muted);font-size:.77rem}.back svg {width:12px}
.save-state {font-size:.78rem;color:var(--muted)}.save-state.dirty {color:#98632b}
.editor-panel {overflow:hidden}.modebar {padding:8px 12px;border-bottom:1px solid var(--line)}
.modes,.devices {display:inline-flex;gap:2px;background:#f0f3ee;border-radius:8px;padding:3px}
.mode,.devices button {background:transparent;font-size:.85rem}.mode {padding:5px 11px}
.mode[aria-pressed=true],.devices button[aria-pressed=true] {background:white;box-shadow:0 1px 5px #1b392a23;color:var(--green)}
.devices .iconbtn {height:29px;min-width:32px}.devices .icon {width:17px}
.toolbelt {min-height:43px;gap:0;flex-wrap:wrap;padding:4px 10px;border-bottom:1px solid var(--line)}
.toolgroup {gap:1px;padding:0 7px;border-right:1px solid var(--line)}.toolgroup:first-child {padding-left:0}.toolgroup:last-child {border:0}.toolbelt .plain {font-size:.82rem;padding:5px 9px}.toolbelt .iconbtn {width:30px;min-width:30px;height:28px}
.format {font-size:1rem;font-family:Georgia,serif}.bold {font-weight:800}.italic {font-style:italic}.under {text-decoration:underline}
.toolbelt button[aria-pressed=true] {color:var(--green);background:var(--mint)}
.feedback {background:#f6f9f4;color:#52675a;border-bottom:1px solid #e2e8de;padding:5px 16px;font-size:.76rem;min-height:27px}
.feedback.error {background:#fff1e8;color:#843c29;border-radius:0}
.stage {background:#e8ede7;padding:15px;overflow:auto;display:flex;justify-content:center;min-height:320px}
.canvas {width:100%;max-width:1680px;background:white;box-shadow:0 2px 12px #253d2717;overflow:hidden;border:1px solid #d7dfd7;border-radius:6px}
.stage[data-size=phone] .canvas {max-width:390px;border-radius:16px}
.canvas iframe {display:block;border:0;width:100%;height:max(52vh,calc(100dvh - 286px));min-height:310px;background:white}
.access {min-height:100dvh;display:grid;place-items:center;background:radial-gradient(ellipse at 2% 5%,#f2dfce,transparent 48%),#e9eee7}
.access main {width:min(440px,calc(100% - 32px));padding:32px;background:white;border:1px solid var(--line);border-radius:20px;box-shadow:0 12px 45px #284a3612}
.access-brand {display:flex;align-items:center;gap:10px;font:1.4rem Georgia,serif;margin-bottom:25px}.access h1 {font-size:2.35rem}.access form button {width:100%;margin:12px 0}.access p {font-size:.86rem}code {overflow-wrap:anywhere}
@media(min-width:1450px){:root{--rail:250px}.rail{padding-inline:22px}}
@media(max-width:1110px){:root{--rail:191px}.surface{padding-inline:22px}.rail{padding-inline:11px}.workspace{--rail:0px}.workspace .rail{width:218px;transform:translateX(-104%)}.workspace .rail.open{transform:none}.workspace .burger{display:inline-flex}}
@media(max-width:800px){:root{--rail:0px}.rail{width:218px;transform:translateX(-104%)}.rail.open{transform:none;box-shadow:0 0 0 100vmax #14251b4d}.burger{display:inline-flex}.bar{height:48px}.surface{padding:21px 14px}.title-row{align-items:flex-start}.title-row .actions{justify-content:flex-end}.feature{min-height:160px}.feature-art img{width:105px;height:122px}.editor-heading{align-items:flex-end}.modebar{padding:6px}.canvas iframe{height:calc(100dvh - 258px)}}
@media(max-width:600px){.bar{gap:6px;font-size:.73rem}.bar>a{font-size:.72rem}.title-row{flex-direction:column;align-items:flex-start;gap:12px}.feature-copy{max-width:72%;padding:16px}.feature h2{font-size:1.5rem}.feature-art img{width:75px;height:92px}.feature-art{width:28%}.collection-head{align-items:flex-start;flex-direction:column;padding:15px}.collection-head label.search{width:100%}.collection-head label.search input{width:100%}.filters{padding:0 12px 12px}.page-row,.table-head{grid-template-columns:minmax(0,1fr) 75px 10px;gap:4px;padding-inline:12px}.row-main{gap:7px}.page-icon{width:28px;height:31px}.row-main strong{font-size:.85rem}.editor-heading .actions{justify-content:flex-end;gap:4px}.save-state{font-size:.67rem}.editor-heading{gap:3px}.editor-heading h1{font-size:1.8rem}.editor-heading .actions button{padding:6px 8px}.tools-right{gap:1px}.tools-right .plain{font-size:0;padding:6px}.mode{padding:4px 7px}.stage{padding:4px}.workspace .surface{padding:12px 5px}.canvas iframe{height:calc(100dvh - 249px)}.toolgroup{padding:0 3px}.toolbelt{padding-inline:4px}.toolbelt .plain{padding:5px}.history .iconbtn{width:26px;min-width:26px}.bar strong{white-space:nowrap}}
.mail-card {max-width:760px;background:white;border:1px solid var(--line);border-radius:var(--radius);padding:24px;margin:16px 0}
.mail-card .section-title {margin-bottom:14px}.mail-card .section-title h2 {margin:0}.mail-card dl{display:grid;grid-template-columns: minmax(110px,1fr) 2fr;gap:8px 12px;border-block:1px solid var(--line);padding:13px 0}.mail-card dd{margin:0;overflow-wrap:anywhere}.mail-card dt{color:var(--muted)}

.feature h2 {display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}

.canvas.show-preview {height:max(52vh,calc(100dvh - 286px));min-height:310px}
#preview {transform-origin:top left;min-height:0}
@media(max-width:800px){.canvas.show-preview{height:calc(100dvh - 258px)}}
@media(max-width:600px){.canvas.show-preview{height:calc(100dvh - 249px)}}

/* Page library and reversible deletion */
.table-head,.page-row {grid-template-columns:minmax(0,1fr) 108px 82px}
.row-main {text-decoration:none;color:var(--ink)} a.row-main:hover strong {text-decoration:underline}
.row-actions {display:flex;justify-content:flex-end;align-items:center;gap:4px}
.row-edit {color:var(--green);display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
.row-delete {color:#925347}.row-delete:hover,.text-danger:hover {background:#fff0eb;color:#85372d}
.align-end {text-align:right}
.filters {align-items:center;flex-wrap:wrap}
.trash-link {display:inline-flex;align-items:center;gap:6px;margin-left:auto;color:var(--muted);font-size:.82rem;font-weight:600;text-decoration:none;padding:5px 6px}
.trash-link:hover {color:var(--ink);text-decoration:underline}.trash-link svg{width:16px}
.trash-link span {border-radius:1rem;background:#edf2ed;padding:0 6px;min-width:20px;text-align:center}
button.danger {background:#913b31;color:white}
.text-danger {color:#97463a;background:transparent;border:0}
.settings-footer {align-items:center;justify-content:space-between}
.trash-row {display:flex;justify-content:space-between;align-items:center;padding:15px 20px;gap:13px;border-top:1px solid var(--line)}
.empty-card {text-align:center;padding:36px 16px}.empty-card>.icon {width:27px;height:27px;color:var(--muted)}.empty-card h3 {margin:8px 0}
.change-summary {border-left:3px solid #759e86;padding:8px 12px;margin:12px 0;background:#f3f6f1;font-size:.87rem}
.change-summary.removed {border-color:#b77d63;background:#faf3ef}.change-summary ul {max-height:140px;overflow:auto;margin:5px 0 0;padding-left:17px}
.notice.warning,.form-feedback {color:#733e24;background:#fbefe2}
.form-feedback {font-size:.86rem;border-radius:8px;padding:8px 12px}

/* Shared visual media picker */
.asset-dialog {width:min(760px,calc(100vw - 28px));padding:0;overflow:hidden}
.asset-dialog[open] {display:flex;flex-direction:column;max-height:min(86dvh,765px)}
.asset-dialog-head {padding:23px 24px 16px;border-bottom:1px solid var(--line)}
.asset-dialog h2 {margin:4px 0 14px;font-size:2rem}
.asset-searchbar,.picker-footer {display:flex;align-items:center;justify-content:space-between;gap:12px}
.asset-searchbar .search {flex:1}
.asset-searchbar .search input[type=search] {width:100%;min-width:0}
.asset-scroll {overflow:auto;min-height:0;overscroll-behavior:contain}
.asset-grid {display:grid;grid-template-columns:repeat(auto-fill,minmax(min(150px,100%),1fr));gap:13px;padding:18px 24px}
.asset-library .asset-grid {grid-template-columns:repeat(auto-fill,minmax(min(176px,100%),1fr))}
.asset-tile {min-width:0;position:relative;display:flex;align-items:stretch;justify-content:flex-start;flex-direction:column;gap:0;overflow:hidden;background:white;color:var(--ink);padding:0;border:1px solid #d5ded6;border-radius:11px;text-align:left}
.asset-tile:hover {filter:none;border-color:#78998a;background:#fafcf9}
.asset-picture {display:grid;place-items:center;position:relative;aspect-ratio:1.55;background:#f3f4ef;border-bottom:1px solid var(--line);overflow:hidden}
.asset-tile:is([data-src*="/media/Icon-"],[data-src*="-OK-"]) .asset-picture {background:#70887e}
label.search:focus-within {outline:2px solid #47725e;outline-offset:2px}
label.search input:focus-visible {outline:none}
.asset-picture img {height:100%;width:100%;object-fit:scale-down;position:absolute;inset:0;padding:7px;display:block}
.asset-caption {display:block;padding:9px 10px;font-size:.82rem;line-height:1.35;overflow-wrap:anywhere}
.asset-tile[aria-pressed=true] {outline:2px solid #36745f;outline-offset:-2px;border-color:#36745f;background:#edf5ee}
.asset-tile:focus-visible {outline:3px solid #b47950;outline-offset:1px}
.selected-icon {display:none;position:absolute;right:6px;top:6px;background:#285e4c;color:white;border:2px solid white;width:23px;height:23px;border-radius:50%;place-items:center}
.selected-icon svg {width:13px;height:13px}.asset-tile[aria-pressed=true] .selected-icon {display:grid}
.picker-footer {padding:13px 24px;border-top:1px solid var(--line);background:#f8faf6}
.picker-footer>span {font-size:.87rem;overflow-wrap:anywhere;color:var(--muted)}
.empty-results {padding:8px 24px;color:var(--muted)}.media-preview {width:100%;height:160px;object-fit:contain;background:#f2f5ee;border-radius:9px}
@media(max-width:600px){
  .table-head,.page-row {grid-template-columns:minmax(0,1fr) 66px 59px}.row-actions {gap:0}.row-actions .iconbtn {min-width:28px;width:28px}.row-actions .icon{width:16px}
  .filters {gap:0}.trash-link {font-size:.75rem;gap:3px}.trash-row {align-items:flex-start;padding:12px}.trash-row .actions{gap:4px}
  .asset-dialog-head{padding:15px}.asset-grid,.asset-library .asset-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:13px;gap:9px}.picker-footer{padding:10px 13px}.asset-searchbar{gap:6px}.asset-searchbar button{padding-inline:9px}
}

.seo-lead {max-width:70ch;color:var(--muted);margin:0 0 20px}
.seo-stats {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 22px}
.seo-stats>div {padding:17px 20px;border:1px solid var(--line);border-radius:12px;background:white}
.seo-stats strong {display:block;font:2rem Georgia,serif;color:#28594b}
.seo-stats span,.seo-row-main small {display:block;color:var(--muted);font-size:.85rem}
.seo-row {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 22px;gap:14px;align-items:center;padding:15px 20px;border-top:1px solid var(--line);text-decoration:none;color:var(--ink)}
.seo-row:hover {background:#f4f8f3}.seo-row-main,.seo-reasons {overflow-wrap:anywhere}
.seo-reasons {font-size:.83rem;color:#436154}.seo-reasons span {display:block;color:#80562f}
.seo-filter {display:flex;align-items:center;gap:9px;margin:0}.seo-filter select {width:auto;margin:0}
.seo-suggest {font-size:.78rem;color:#245747;background:#edf4ee;padding:4px 8px;min-height:auto}
.seo-example {display:block;color:var(--muted);margin:5px 0 12px}
.seo-preview {padding:12px 14px;border:1px solid var(--line);border-radius:9px;margin:14px 0;overflow-wrap:anywhere}
.seo-preview small,.seo-url {display:block;font-size:.75rem;color:#53645c}.seo-url {margin-top:8px}
.seo-preview strong {display:block;font-size:1.04rem;color:#214c8e}.seo-preview p {margin:3px 0 0;font-size:.84rem}
#seo-settings summary {cursor:pointer}
@media(max-width:600px){.seo-stats{gap:5px}.seo-stats>div{padding:9px}.seo-stats span{font-size:.75rem}.seo-row{padding:12px;gap:8px;grid-template-columns:minmax(0,1fr) minmax(0,.92fr) 16px}.seo-row .icon{width:16px}}

.fond-symbol {width:15px;height:15px;border:1px solid #47705d;border-radius:4px;background:linear-gradient(135deg,#d9e7da 50%,#59866e 50%)}
#fond-toggle[aria-expanded=true]{background:#e5eee6;color:#204e3f}
.fond-panel {padding:12px 16px;border-block:1px solid var(--line);background:#f7faf6}
.fond-target,.fond-options,.fond-colors,.fond-modes,#fond-palette,#fond-opacity-row {display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.fond-target label,.fond-colors label,#fond-opacity-row {margin:0;font-size:.82rem}
.fond-target select {margin:0;max-width:36em;min-width:0;flex:1;padding:5px 8px;width:auto}
#fond-fermer{margin-left:auto}.fond-panel .hint{margin:5px 0 8px}.fond-panel .hint:last-of-type{margin:5px 0 0}
.fond-options{gap:10px 18px}.fond-modes{padding:3px;border-radius:7px;background:#e8efe7;gap:2px}
.fond-modes button{min-height:28px;padding:4px 8px;background:transparent;color:#365445;font-size:.78rem}
.fond-modes button[aria-pressed=true]{background:#28594b;color:white}.fond-colors{gap:6px}
#fond-color{padding:2px;width:33px;height:30px;margin:0;cursor:pointer}
#fond-hex{width:7.8em;padding:4px;margin:0;font-family:monospace;text-transform:uppercase}
#fond-palette{gap:4px}.fond-swatch{display:block;width:23px;height:23px;min-height:0;padding:0;border:1px solid #80938b;border-radius:50%}
#fond-opacity{width:95px;margin:0;accent-color:#28594b}#fond-percent{min-width:3em}
@media(max-width:600px){.fond-panel{padding:9px}.fond-target{gap:4px}.fond-target label{flex-basis:100%}.fond-target select{max-width:calc(100% - 44px)}}
.fond-swatch[data-swatch="#97ab9a"]{background:#97ab9a}.fond-swatch[data-swatch="#163d49"]{background:#163d49}.fond-swatch[data-swatch="#d68b02"]{background:#d68b02}.fond-swatch[data-swatch="#f89379"]{background:#f89379}.fond-swatch[data-swatch="#ffffff"]{background:#fff}

/* Comptes et fiche utilisateur */
.account-directory,.account-layout,.account-invitation {max-width:1180px}
.account-directory .collection-head {padding-block:20px}
.account-directory .section-title {margin:0}
.account-table {border-collapse:collapse;width:100%;text-align:left;font-size:.92rem}
.account-table th,.account-table td {padding:15px 18px}
.account-table thead th {font-size:.77rem;font-weight:650;color:var(--muted);background:#f3f6f2;border-block:1px solid var(--line)}
.account-table tbody tr+tr {border-top:1px solid var(--line)}
.account-table th[scope=row] {overflow-wrap:anywhere;max-width:32ch}
.account-person {display:flex;align-items:center;gap:12px}
.account-avatar {display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:12px;background:#dce9df;color:#2b5246;text-transform:uppercase;font:1.32rem Georgia,serif}
.account-person small,.account-email {font-weight:400}.account-email {display:block}
.account-tag {display:inline-flex;align-items:center;gap:6px;border-radius:100px;padding:3px 10px;font-weight:650;font-size:.8rem}
.account-tag::before {content:"";width:6px;height:6px;background:currentColor;border-radius:50%}
.account-tag.allowed {background:#e2eee5;color:#2e6147}.account-tag.blocked {background:#f6e8df;color:#854724}
.account-open,.account-back,.account-invite {display:inline-flex;align-items:center;gap:5px;text-decoration:none;font-weight:650}
.account-open:hover,.account-back:hover {text-decoration:underline}
.account-open svg,.account-back svg {width:15px}
.account-invite {background:var(--green);color:white;padding:10px 15px;border-radius:9px}
.account-card {padding:clamp(18px,2.4vw,30px);border:1px solid var(--line);border-radius:var(--radius);background:white;min-width:0}
.account-card h2 {margin-bottom:10px}.account-card .hint {font-size:.88rem}
.account-invitation {margin-top:24px;max-width:720px}
.account-fields,.account-layout {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.account-layout {align-items:start}.account-card form button {margin-top:6px}
.account-back {margin-bottom:16px;font-size:.88rem}.account-heading {overflow-wrap:anywhere}.account-heading p {color:var(--muted);margin:8px 0 0}
.account-summary {display:grid;grid-template-columns:max-content 1fr;gap:8px 18px}.account-summary dd {margin:0}
.recovery-card {grid-column:1/-1}.sr-account {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media (max-width:1050px){.account-table th,.account-table td {padding:12px}.account-layout {grid-template-columns:1fr}}
@media (max-width:700px){.account-table thead {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.account-table,.account-table tbody {display:block}.account-table tbody tr {display:grid;grid-template-columns:minmax(0,1fr) auto;padding:15px;gap:7px}.account-table td,.account-table th {padding:0}.account-table th[scope=row] {max-width:none;grid-column:1}.account-table td[data-label] {grid-column:1/-1;display:flex;align-items:center;gap:12px}.account-table td[data-label]::before {content:attr(data-label);width:80px;color:var(--muted);font-size:.83rem}.account-table td:last-child {grid-column:2;grid-row:1;align-self:center}.account-fields {grid-template-columns:1fr;gap:0}.account-card {padding:18px}}

.tech-kpis,.tech-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0}
.tech-kpis>div{background:#e8efe7;border-radius:12px;padding:15px 20px}.tech-kpis span,.tech-kpis strong{display:block}.tech-kpis span{font-size:.87rem;color:var(--muted)}.tech-kpis strong{font:2rem Georgia,serif;color:var(--green)}
.tech-pages>.hint,.tech-pages #mesure-resultat{margin:0;padding:4px 24px 16px}.tech-pages #mesure-resultat{border-top:1px solid var(--line);padding-top:16px}
.tech-scroll{overflow:auto}.tech-scroll th,.tech-scroll td{text-align:left}.tech-scroll .account-table th[scope=row]{max-width:none}.tech-pages table{min-width:550px}.tech-actions .account-card{display:flex;flex-direction:column}.tech-actions form{margin-top:auto}
@media(max-width:980px){.tech-actions{grid-template-columns:1fr}}
@media(max-width:700px){.tech-kpis{gap:6px}.tech-kpis>div{padding:10px}.tech-kpis strong{font-size:1.35rem}.tech-pages .account-table{display:table}.tech-pages .account-table thead{display:table-header-group;position:static;clip-path:none}.tech-pages .account-table tbody{display:table-row-group}.tech-pages .account-table tbody tr{display:table-row}.tech-scroll .account-table td,.tech-scroll .account-table th{display:table-cell;padding:9px}}

.site-settings {max-width:780px}
.design-choices {border:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:12px}
.design-card {background:#fff;border:1px solid var(--line);border-radius:16px;padding:clamp(16px,3vw,26px)}
.design-card h2 {margin:0 0 16px}.design-card .hint {margin:16px 0 0}
.design-choices label {display:grid;grid-template-columns:20px auto 1fr;align-items:center;gap:12px;margin:0;padding:16px;border:1px solid var(--line);border-radius:12px;cursor:pointer;background:white}
.design-choices label:has(:checked) {border-color:var(--green);box-shadow:inset 0 0 0 1px var(--green)}
.design-choices input {width:17px;height:17px;margin:0;accent-color:var(--green)}
.design-choices small {display:block;margin-top:3px;font-weight:400}
.theme-sample {height:42px;width:32px;border-radius:8px}
.original-sample {background:linear-gradient(155deg,#efe1c8 34%,#da930b 35% 64%,#2645bd 65%)}
.olive-sample {background:linear-gradient(155deg,#f3efe4 34%,#b5c29d 35% 64%,#354e3a 65%)}
.layout-panel {padding:12px 16px;background:#f7faf6;border-block:1px solid var(--line)}
.layout-controls {display:flex;flex-wrap:wrap;align-items:end;gap:8px 12px}
.layout-controls label {display:grid;gap:3px;margin:0;font-size:.84rem}
.layout-controls input {max-width:95px;padding:5px 8px;min-height:34px}
.layout-panel .hint {margin:6px 0}
#layout-close {margin-left:auto}
#layout-remove {color:#893e36;text-decoration:underline}

.session-notice{position:sticky;top:0;z-index:10;background:#fff2d6;color:#41301b;border:1px solid #d5bd85;padding:10px 16px;border-radius:8px;margin-bottom:12px}.session-notice[hidden]{display:none}.session-notice a{font-weight:bold}

.service-info{display:flex;align-items:center;gap:12px;margin-left:auto;white-space:nowrap;font-size:.75rem;font-variant-numeric:tabular-nums;color:var(--muted)}
.service-info b{font-weight:650;color:var(--green)}.service-info span+span{border-left:1px solid var(--line);padding-left:12px}.bar .service-info+a{margin-left:10px}
@media(max-width:830px){.bar>span,.bar>svg{display:none}.service-info{gap:7px}.service-info span+span{padding-left:7px}}
@media(max-width:570px){.bar{height:auto;min-height:54px}.service-info{display:grid;gap:0;line-height:1.55}.service-info span+span{border:0;padding:0}.bar .service-info+a{margin-left:2px}}

.rail nav{min-height:0;overflow-y:auto}.rail .webmail-link .icon:last-child{width:14px;margin-left:auto}
@media(min-width:1000px){
  .studio .surface{max-width:none;min-width:0;min-height:calc(100dvh - 57px);padding-inline:clamp(18px,1.6vw,42px)}
  .surface .ops,.surface>form:not(.court),.surface>.court,.surface .site-settings,.surface .mail-card,.surface .account-layout,.surface .account-directory,.surface .account-invitation{max-width:none}
  .stage:not([data-size=phone]) .canvas{max-width:none}
  .cards-wide,.settings-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:16px 24px}
  .cards-wide .mail-card{margin:0}.settings-fields{margin:12px 0 20px}
}
@media(min-width:1000px){
  .access{display:block;background:var(--paper)}.access main{position:relative;display:grid;align-content:center;justify-items:start;gap:8px;width:100%;min-height:100dvh;border:0;border-radius:0;box-shadow:none;padding:6vh 5vw 6vh 52vw;background:linear-gradient(to right,#1c4039 44%,var(--paper) 44%)}
  .access .access-brand{position:absolute;left:5vw;top:50%;transform:translateY(-50%);color:#fff4ea;gap:20px;font-size:clamp(2rem,4vw,5rem)}
  .access main>form,.access main>p{width:min(100%,48ch)}.access main>h1{margin-bottom:10px}
}
.revision-choix,.version-cols,.review-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}.revision-choix{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:end}.revision-choix label{margin:0}.revision-choix select{margin-bottom:0}.version-cols article,.reprise-brouillon{padding:16px;background:#f0f4ed;border-radius:10px}.version-cols pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:58vh;overflow:auto;font:inherit}.version-cols details+details pre{font:13px/1.5 monospace}.revision-restore,.review-confirm{margin:20px 0}.review-confirm,.reprise-brouillon>div{display:flex;align-items:center;gap:12px}.reprise-brouillon{margin-bottom:15px}.reprise-brouillon>div{margin-top:8px}.review-groups ul{overflow-wrap:anywhere}.review-groups small{font-size:.7em}
@media(max-width:750px){.review-groups,.revision-choix,.version-cols{grid-template-columns:1fr}}

.version-diff{padding:12px 0}.version-diff p{margin:4px 0;overflow-wrap:anywhere}.version-diff del{background:#fbebe5}.version-diff ins{background:#e2f1e3;text-decoration:none}.version-diff b{display:inline-block;min-width:50px;font-size:.83em}
