:root{--blue:#204f79;--ink:#14293d;--line:#d7e2e8}*{box-sizing:border-box}[hidden]{display:none!important}body{font:15px system-ui,-apple-system,Segoe UI,sans-serif;color:var(--ink);background:#f2f4f7;margin:0}button,input,textarea{font:inherit}button{border:0;border-radius:5px;background:var(--blue);color:#fff;padding:11px 16px;cursor:pointer}input,textarea{border:1px solid #bdcdd6;border-radius:5px;padding:11px;color:var(--ink)}header{background:var(--blue);color:white;display:flex;align-items:center;padding:9px clamp(15px,4vw,45px);gap:12px}header img{width:50px;height:43px;object-fit:contain;background:white;padding:3px}header strong,header small{display:block}header small{color:#d6e5f0;font-size:12px}header a{margin-left:auto;color:white}.landing{max-width:1000px;margin:5vh auto;padding:clamp(18px,4vw,42px);background:white;border:1px solid var(--line);border-radius:8px;min-height:450px}.landing h1{font-size:clamp(24px,4vw,38px);margin:0}.landing form{display:flex;gap:8px;margin:30px 0 14px}.landing input{flex:1;min-width:0}.small{color:#60778a;font-size:13px}.products{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}.products a{display:flex;align-items:center;gap:10px;color:var(--blue);text-decoration:none;border:1px solid var(--line);padding:10px;border-radius:6px}.products img{width:60px;height:60px;object-fit:contain;flex:none}.product-text,.product-title,.product-stock,.product-supplier{display:block}.product-stock,.product-supplier{margin-top:7px}.product-stock strong,.product-supplier strong{font-weight:700}.products a:focus-visible{outline:2px solid var(--blue);outline-offset:2px}@media(max-width:600px){.landing{margin:0;min-height:80vh}.landing form{flex-direction:column}}

.app-footer{min-height:37px;margin-top:auto;padding:11px clamp(15px,4vw,45px);border-top:1px solid var(--line);text-align:right;color:#60778a;font-size:11px;line-height:15px;background:#f2f4f7}
body{min-height:100vh;display:flex;flex-direction:column}
body>.landing{width:min(100%,1000px)}
@media(max-width:700px){body>.agent{height:auto}}

/* Interface interne, alignée avec les applications PIERRE & SOL. */
.app-shell{--blue:#214d73;--ink:#182b3b;--line:#d8e0e8;background:#f3f5f7;font-size:14px}
.app-shell .app-header{min-height:56px;padding:0 clamp(12px,2vw,28px);gap:18px;justify-content:space-between;background:#214d73}
.app-shell .app-brand{display:inline-flex;align-items:center;flex:none;gap:10px;margin:0;color:#fff;text-decoration:none;white-space:nowrap}
.app-shell .app-brand img{width:43px;height:40px;border-radius:3px;background:#fff;object-fit:contain;padding:2px}
.app-shell .app-brand strong{font-size:15px;line-height:1.1;letter-spacing:.01em}
.app-shell .app-brand small{font-size:11px;color:#d3e3ed}
.app-shell .app-nav{display:flex;align-self:stretch;align-items:stretch;gap:3px;min-width:0;overflow-x:auto;scrollbar-width:thin}
.app-shell .app-nav a{display:inline-flex;align-items:center;flex:none;padding:0 11px;margin:0;color:#fff;text-decoration:none;font-size:13px;white-space:nowrap;border-bottom:3px solid transparent;transition:background .15s}
.app-shell .app-nav a:hover{background:#315f86}
.app-shell .app-nav a[aria-current="page"]{border-color:#fff;font-weight:650}
.app-shell .app-nav .public-link{color:#d6e5ee}
.app-shell .app-motto{min-height:34px;display:flex;justify-content:center;align-items:center;gap:6px;padding:6px 12px;text-align:center;border-bottom:1px solid #dbe4ed;background:#eaf0f6;color:#24567c;font-size:12px;font-style:italic}
.app-shell .app-motto span{font-style:normal;color:#62788a}
.app-shell h1{font-size:22px;line-height:1.25;margin:0 0 15px;color:#182b3b}
.app-shell h2{font-size:17px;line-height:1.35;color:#182b3b}
.app-shell h3{font-size:15px;color:#182b3b}
.app-shell :is(.shell,.faq-shell,.flow-shell){width:100%;max-width:1460px;margin:24px auto;padding:0 clamp(12px,2vw,28px)}
.app-shell main:not([class]){width:100%;max-width:1200px;margin:24px auto;padding:0 clamp(12px,2vw,28px)}
.app-shell :is(.intro,.editor,.diagnostic,.documents,.faq-intro,.faq-list,.faq-editor,.flow-panel,.panel,.agent aside,.agent section){border:1px solid #d9e0e7;border-radius:5px;background:#fff;box-shadow:0 1px 2px rgba(19,43,64,.025)}
.app-shell :is(input,textarea,select){font-size:14px;border:1px solid #cbd6e0;border-radius:4px;max-width:100%;background:#fff;color:#182b3b}
.app-shell :is(input,textarea,select):focus-visible,.app-shell button:focus-visible,.app-shell .app-nav a:focus-visible{outline:2px solid #3282ad;outline-offset:2px}
.app-shell button{border:1px solid #cbd6e0;border-radius:4px;background:#fff;color:#214d73;padding:9px 13px;font-size:13px;font-weight:550}
.app-shell button:hover{background:#eef4f8}
.app-shell :is(.tabs button.active,.faq-items button.active,.flow-list button.active,.documents-list button.active){background:#214d73;color:#fff;border-color:#214d73}
.app-shell :is(#publish,#doc-publish,#save,#doc-upload button,#reply button,#login button){background:#214d73;color:#fff;border-color:#214d73}
.app-shell :is(#publish,#doc-publish,#save,#doc-upload button,#reply button,#login button):hover{background:#316389}
.app-shell #ban{color:#aa3d32;border-color:#d9b5b0}
.app-shell #ban:hover{background:#fdf0ee}
.app-shell .app-footer{margin-top:auto;border-color:#d9e0e7;background:#f3f5f7;color:#62788a}
.app-shell .agent{width:100%;max-width:1500px;margin:0 auto;grid-template-columns:minmax(290px,320px) minmax(0,1fr);gap:14px;padding:18px clamp(12px,2vw,28px);height:calc(100vh - 128px)}
.app-shell .agent aside,.app-shell .agent section{padding:18px}
.app-shell .agent aside button{background:#fff;color:#214d73;border-color:#d2dce5}
.app-shell .agent aside button:hover{background:#eef4f8}
.app-shell .agent #login button{background:#214d73;color:#fff}
.app-shell .agent #tickets button,.app-shell .agent #list button{border-bottom:1px solid #e4e9ed;border-radius:0;margin:0;padding:10px 7px}
@media(max-width:920px){.app-shell .app-header{display:block;padding:7px 12px 0}.app-shell .app-brand{margin-bottom:4px}.app-shell .app-nav{min-height:41px}.app-shell .app-nav a{padding:0 9px}}
.landing #search-lang{font:inherit;border:1px solid #bdcdd6;border-radius:5px;padding:9px;color:var(--ink);background:#fff;min-width:74px}
@media(max-width:700px){.app-shell .app-motto{display:block}.app-shell .agent{display:block;height:auto}.app-shell .agent aside{max-height:55vh;margin-bottom:14px}.app-shell .agent section{min-height:420px}.app-shell :is(.shell,.faq-shell,.flow-shell){margin:16px auto}}
.app-shell .tabs{gap:0;border-bottom:1px solid #d9e0e7;margin-top:18px}
.app-shell .tabs button{border:1px solid transparent;border-radius:4px 4px 0 0;background:transparent;color:#48617a;margin-bottom:-1px;padding:10px 14px}
.app-shell .tabs button.active{background:#fff;color:#214d73;border-color:#d9e0e7;border-bottom-color:#fff}
.app-shell .tabs button:hover:not(.active){background:#eef3f8}
.app-shell .google-button{display:inline-block;border:1px solid #cbd6e0;border-radius:4px;background:#fff;color:#214d73;text-decoration:none;padding:10px 14px;font-weight:600}
.app-shell .google-button:hover{background:#eef4f8}

.landing #stock-note{font-size:12px}

.search-answer{margin:16px 0;padding:16px 18px;border:1px solid #d7e2e8;border-left:4px solid #d98335;border-radius:8px;background:#fffaf5;line-height:1.55;color:#1a3040}
.search-guides{display:flex;gap:10px;flex-wrap:wrap;margin:10px 0}.search-guides a{color:#204f79;text-decoration:underline;font-size:.9em}

/* Résultats de recherche plus compacts sur ordinateur, tablette et mobile. */
.landing .products{grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}.landing .products a{font-size:13px;line-height:1.35}.landing .product-title{font-size:13px}.landing .product-stock,.landing .product-supplier{font-size:11px;line-height:1.3;margin-top:5px}.landing .product-stock strong,.landing .product-supplier strong{font-size:11px}.landing .products img{width:48px;height:48px}
