*{box-sizing:border-box}body{margin:0;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#f5f7fb;color:#18243b}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}.layout{display:grid;grid-template-columns:254px 1fr;min-height:100dvh}.sidebar{background:#101d35;color:white;display:flex;flex-direction:column;padding:25px 14px;gap:24px}.logo{display:flex;gap:11px;align-items:center;padding:0 10px}.logo-mark{background:#fd9945;width:38px;height:38px;border-radius:12px;display:grid;place-items:center;color:#101d35;font-weight:950;font-size:22px}.logo strong{display:block;font-size:21px;letter-spacing:1px}.logo small{color:#fd9945;letter-spacing:2px;font-weight:800}.company{padding:14px 13px;background:#20304e;border-radius:13px}.company strong{display:block;margin-top:7px}.eyebrow{font-size:10px;color:#a6b7d3;font-weight:800;letter-spacing:1.4px;text-transform:uppercase}nav{display:flex;flex-direction:column;gap:3px}nav button{text-align:left;border:0;background:transparent;color:#c8d4e8;padding:12px;border-radius:10px;display:flex;align-items:center;gap:12px;font-size:13px;font-weight:650}nav button.active,nav button:hover{background:#294466;color:#fff}.workspace{min-width:0}.topbar{height:68px;border-bottom:1px solid #e6eaf1;background:white;display:flex;justify-content:space-between;align-items:center;padding:0 36px}.top-title{font-size:13px;font-weight:900;letter-spacing:1px}.top-title span{color:#ea8a36}.pilot{font-size:11px;font-weight:900;background:#e5f5ec;color:#176342;padding:8px 12px;border-radius:20px}.mobile-toggle{display:none;border:0;background:transparent;font-size:24px}.content{max-width:1180px;margin:auto;padding:36px}.welcome{display:flex;gap:20px;justify-content:space-between;align-items:center;margin-bottom:29px}.welcome .eyebrow{color:#e48b35}.welcome h1{font-size:clamp(25px,3.5vw,37px);letter-spacing:-1.2px;line-height:1.2;margin:8px 0}.welcome p,.panel p{color:#6a788e;line-height:1.6;margin:6px 0}.button{background:#ec8b36;color:#1e283b;border:0;border-radius:11px;padding:13px 18px;font-weight:800;white-space:nowrap}.button:hover{filter:brightness(.96)}.button.outline,.button.secondary{background:#f0f3f8;color:#183050}.button.block{width:100%}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:22px}.stat,.panel{background:#fff;border-radius:17px;padding:22px;border:1px solid #e6eaf2;box-shadow:0 5px 20px #24365206}.stat span{font-size:12px;color:#77849a}.stat strong{display:block;font-size:32px;margin-top:8px}.cards{display:grid;grid-template-columns:1fr 1fr;gap:18px}.panel h2{font-size:17px;margin:0 0 18px}.panel-head{display:flex;justify-content:space-between;align-items:center}.panel-head span,.caption{color:#7b889b;font-size:12px}.shortcuts{display:grid;gap:9px}.shortcuts button{border:1px solid #e2e7f0;text-align:left;background:#fafbfe;border-radius:10px;padding:13px;display:flex;justify-content:space-between;font-weight:650;color:#263a55}.ecosystem{display:grid;gap:8px;margin:15px 0}.ecosystem a{display:flex;justify-content:space-between;background:#f5f7fc;border:1px solid #e5e9f1;border-radius:9px;padding:11px;font-weight:700}.ecosystem small{color:#73829a;font-weight:500}.mini{background:#eaf6ec;border-radius:10px;padding:12px;margin-top:12px;font-size:13px}.items{display:grid;gap:12px}.item{border:1px solid #e9ecf2;padding:15px;border-radius:11px;display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.item strong{font-size:14px}.item p{font-size:12px;margin:6px 0}.desc{white-space:pre-wrap}.item-actions{display:flex;gap:6px}.tiny{background:#eef2f7;border:0;border-radius:8px;padding:8px;color:#31465c;font-size:12px}.tiny.danger{color:#9c3f46}.empty{padding:35px;text-align:center;color:#75839a}.notice{margin:14px 36px 0;background:#e7f5e7;border-radius:10px;padding:11px;color:#196247}.notice.error{background:#ffeaea;color:#a83744}dialog{width:min(92vw,550px);border:0;border-radius:18px;padding:0;box-shadow:0 12px 70px #0004;max-height:88vh;overflow:auto}dialog::backdrop{background:#0b162a99}.form{padding:24px;display:grid;gap:14px}.form.tools{border-top:1px solid #e9edf3}.form h3{margin:0}.form p{font-size:12px;color:#63748a}.dialog-header{display:flex;align-items:center;justify-content:space-between}.dialog-header h2{margin:0;font-size:20px}.dialog-header button{background:none;border:0;font-size:29px}.form-fields{display:grid;gap:11px}.form label,.form-fields label{font-size:12px;font-weight:700;color:#46576e;display:grid;gap:6px}.form input,.form select,.form textarea{width:100%;padding:12px;border:1px solid #dce2ec;border-radius:10px;background:white;font-size:15px}@media(max-width:920px){.layout{grid-template-columns:1fr}.sidebar{position:fixed;z-index:4;top:60px;bottom:0;left:0;width:min(85vw,290px);transform:translateX(-105%);transition:transform .2s}.sidebar:has(nav.open){transform:translateX(0)}.mobile-toggle{display:block}.topbar{padding:0 20px;height:60px}.content{padding:20px}.stats{grid-template-columns:repeat(2,1fr)}.cards{grid-template-columns:1fr}.welcome{align-items:flex-start;flex-direction:column}.notice{margin:12px 20px 0}}@media(max-width:440px){.stats{gap:8px}.stat{padding:15px}.stat strong{font-size:25px}.welcome h1{font-size:27px}.item{flex-direction:column}.item-actions{align-self:flex-end}}
/* YOKKIA BUSINESS : application responsive sans footer de site vitrine */
:root{--focus:#ffb464;--navy:#11213e;--accent:#ed9146;color-scheme:light}
html,body{min-width:320px}body{overflow-x:hidden}
button,a,input,select,textarea{touch-action:manipulation}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
.topbar{position:sticky;top:0;z-index:3;box-shadow:0 4px 25px #1d345308}
.content{padding-bottom:75px}
.nav-backdrop,.mobile-tabs{display:none}
.button,.tiny,.shortcuts button,nav button{min-height:44px}
.button{box-shadow:0 5px 14px #dd8a4124;white-space:normal}
.button.outline,.button.secondary{box-shadow:none}
.pilot{border:0;cursor:pointer}
.welcome h1{max-width:19ch}
.stat{box-shadow:0 4px 22px #12234408}
.stat strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.module-launch-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:2px 0 14px}
.module-launch-head h2{font-size:18px;letter-spacing:-.035em;margin:0}
.module-launch-head span{color:#73829a;font-size:12px}
.module-launch-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 24px}
.module-launch{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:12px;border:1px solid #e4e9f1;border-radius:17px;background:white;padding:16px;min-height:125px;text-align:left;color:#20304a;box-shadow:0 5px 18px #15284408;transition:transform .15s,border-color .15s}
.module-launch:hover{border-color:#edab74;transform:translateY(-2px)}
.module-launch .module-icon{display:grid;place-items:center;width:38px;height:38px;background:#fff1e6;color:#9b5422;border-radius:12px;font-size:21px}
.module-launch strong{font-size:13px;line-height:1.25}
.module-launch small{font-size:11px;color:#75849a}
.privacy-note{border-radius:12px;background:#fff6eb;border:1px solid #f6d8b5;padding:12px;color:#694b2e!important}
@media(max-width:1120px) and (min-width:921px){.module-launch-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:920px){
 .layout{display:block;min-height:100dvh}
 .workspace{min-height:100dvh;padding-bottom:calc(79px + env(safe-area-inset-bottom,0px))}
 .topbar{height:62px;padding:0 18px}
 .pilot{font-size:10px;padding:8px 10px}
 .sidebar{top:0;bottom:0;left:0;z-index:12;width:min(86vw,340px);height:100dvh;overflow-y:auto;overscroll-behavior:contain;transform:translateX(-104%);transition:transform .22s ease;padding:calc(22px + env(safe-area-inset-top,0px)) 14px 28px;box-shadow:10px 0 30px #07152a25}
 .sidebar.open{transform:translateX(0)}
 .sidebar:has(nav.open){transform:translateX(-104%)}
 .sidebar.open:has(nav.open){transform:translateX(0)}
 .nav-backdrop:not([hidden]){display:block;position:fixed;inset:0;background:#0c193b8c;border:0;z-index:11;width:100vw;height:100dvh}
 .content{padding:24px 18px 22px;max-width:760px}
 .welcome{gap:16px;margin-bottom:24px}
 .welcome h1{font-size:clamp(27px,7.2vw,39px)}
 .module-launch-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .mobile-tabs{position:fixed;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));left:0;right:0;bottom:0;z-index:9;background:#fff;border-top:1px solid #e3e8f1;padding:8px 9px calc(8px + env(safe-area-inset-bottom,0px));box-shadow:0 -5px 24px #132b4b10}
 .mobile-tabs button{min-height:52px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:0;border-radius:11px;background:transparent;color:#718095;font-size:10px;font-weight:750;min-width:0}
 .mobile-tabs button.active{background:#fff2e7;color:#8b4819}
 .mobile-tabs .tab-glyph{font-size:23px;line-height:1}
 .item-actions button{min-height:44px}
}
@media(max-width:520px){
 .stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .stat{padding:16px 14px;min-height:107px}
 .stat strong{font-size:clamp(22px,6vw,29px)}
 .module-launch-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .module-launch{min-height:109px;padding:14px;gap:9px}
 .item{gap:12px}
 .item-actions{width:100%;justify-content:flex-end}
 .welcome .button{width:100%}
 .form{padding:19px}
 dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 32px)}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Navigation universelle 1-2 gestes, icônes explicites et gros points de contact */
body{font-size:16px}
.content{max-width:940px}
.welcome{margin:6px 0 18px}
.welcome h1{max-width:none;letter-spacing:-.04em;font-size:clamp(27px,5vw,42px)}
.welcome p{font-size:1rem;line-height:1.45}
.quick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-bottom:28px}
.quick-tile{min-width:0;border:1px solid #dce3ed;background:#fff;border-radius:18px;min-height:128px;padding:18px;display:flex;align-items:center;gap:15px;text-align:left;box-shadow:0 4px 20px #1527440a;color:#1a314e}
.quick-tile:hover,.quick-tile:focus-visible{border-color:#dc8f50;background:#fff9f4}
.quick-icon,.module-icon{display:grid;place-items:center;flex:none;background:#fff0e3;color:#a65d29;border-radius:15px}
.quick-icon{width:58px;height:58px}
.quick-icon svg{width:34px;height:34px}
.quick-copy{min-width:0;display:block}
.quick-copy strong{display:block;font-size:1.05rem;line-height:1.24}
.quick-copy small{display:block;color:#586b82;font-size:.85rem;line-height:1.35;margin-top:7px}
.module-icon{width:46px;height:46px}
.module-icon svg{width:27px;height:27px}
.module-launch{min-height:114px;gap:10px}
.module-launch strong{font-size:.95rem}
.module-launch small{font-size:.75rem}
.sidebar nav button svg{width:23px;height:23px;flex:none}
.sidebar nav button{font-size:.96rem;min-height:50px}
.mobile-tabs .tab-glyph{display:grid;place-items:center}
.mobile-tabs .tab-glyph svg{width:26px;height:26px}
.mobile-tabs button{font-size:12px;line-height:1.2}
.mobile-tabs button.active{background:#fff0e4;color:#8f4a1e}
.button svg{width:23px;height:23px;vertical-align:middle;flex:none}
.essential-fields,.extra-body{display:grid;gap:12px}
.extra-fields{border:1px solid #e0e6f0;background:#f8fafc;border-radius:12px;padding:12px}
.extra-fields summary{font-size:.95rem;font-weight:750;cursor:pointer;color:#2c4360;min-height:44px;display:flex;align-items:center}
.extra-body{padding-top:9px}
.empty strong{display:block;font-size:1.02rem;color:#243956}
.empty p{font-size:.9rem}
#bootFallback{background:#fff;border:1px solid #e9edf2;border-radius:16px;padding:22px;margin-top:18px;color:#33475f}
#bootFallback h1{font-size:1.4rem;margin:0 0 8px}
#bootFallback p{margin:0}
@media(max-width:920px){.content{padding-top:18px}.quick-tile{min-height:130px}.mobile-tabs{padding-top:7px}.mobile-tabs button{min-height:54px}}
@media(max-width:540px){.welcome{margin:3px 0 13px}.welcome h1{font-size:clamp(28px,7.4vw,36px)}.quick-grid{gap:10px;margin-bottom:24px}.quick-tile{min-height:148px;padding:14px;flex-direction:column;align-items:flex-start;gap:9px}.quick-icon{width:50px;height:50px;border-radius:13px}.quick-icon svg{width:29px;height:29px}.quick-copy strong{font-size:1rem}.quick-copy small{font-size:.8rem;margin-top:5px}.module-launch{min-height:114px}.mobile-tabs button{font-size:12px}.stat strong{font-size:25px}}

/* Raccourcis YOKKIA Business : 4 acces professionnels */
.module-notice{background:#fff7ec;border:1px solid #efd5b4;color:#694d30;border-radius:13px;padding:13px 15px;font-size:.92rem;line-height:1.5;margin:-8px 0 18px;max-width:100%}
.quick-tile[data-quick="sms"] .quick-icon{background:#fff0e3;color:#b15b24}
.quick-tile[data-quick="clients"] .quick-icon{background:#e8f2ff;color:#24578c}
.quick-tile[data-quick="alkebulan"] .quick-icon{background:#f0ebff;color:#5b4090}
.quick-tile[data-quick="notes"] .quick-icon{background:#eaf6ee;color:#20754b}

/* Acces a SCRUTOR, service externe YOKKIA sans copie des donnees clients */
.quick-tile[href="https://scrutor.africa/"] .quick-icon{background:#e9f6f7;color:#146b71}
.quick-tile[href="https://scrutor.africa/"]{outline-offset:3px}

/* STOCKEL : application stock et caisse autonome, sans duplication dans YOKKIA */
.quick-tile[href="https://stockel-pilote.vercel.app/"] .quick-icon{background:#e7f3eb;color:#167149}
.quick-tile[href="https://stockel-pilote.vercel.app/"]:focus-visible{outline-offset:3px}

/* YOKKIA : six accès prioritaires et navigation métier sans doublons */
.other-tools{border:1px solid #e3e8f1;border-radius:16px;background:#fff;margin-bottom:24px;overflow:hidden}
.other-tools>summary{list-style:none;cursor:pointer;padding:18px 20px;font-size:.98rem;font-weight:780;color:#1f3552;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:58px}
.other-tools>summary::-webkit-details-marker{display:none}
.other-tools>summary:after{content:"⌄";font-size:20px;color:#71819a}
.other-tools[open]>summary:after{content:"⌃"}
.other-tools>summary span{color:#71819a;font-size:.76rem;font-weight:500}
.other-tools-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:0 14px 14px;gap:10px}
.other-tools-grid .module-launch{min-height:100px}
.crm-subnav{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px;padding-bottom:10px;border-bottom:1px solid #e7ecf3}
.crm-subnav button{border:1px solid #dce4f0;border-radius:99px;background:#fff;color:#35506a;min-height:44px;padding:10px 14px;font-size:.85rem;font-weight:750}
.crm-subnav button.active{background:#183854;color:#fff;border-color:#183854}
.sidebar .nav-more{border-top:1px solid #425371;margin:12px 0 0;padding:12px 0 0}
.sidebar .nav-more summary{cursor:pointer;min-height:44px;display:flex;align-items:center;color:#d3dfef;padding:11px 12px;font-size:.89rem;font-weight:700}
.sidebar nav .nav-external{min-height:50px;color:#c8d4e8;font-size:.96rem;font-weight:650;padding:12px;border-radius:10px;display:flex;align-items:center;gap:12px;text-decoration:none}
.sidebar nav .nav-external:hover,.sidebar nav .nav-external:focus-visible{background:#294466;color:#fff}
.sidebar nav .nav-external svg{width:23px;height:23px;flex:none}
.archive-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:9px}
.archive-actions .button{min-height:44px}
@media(max-width:520px){.other-tools>summary{padding:14px;align-items:flex-start}.other-tools>summary span{font-size:.7rem}.other-tools-grid{padding:0 10px 10px}.crm-subnav{gap:6px}.crm-subnav button{font-size:.8rem;padding:9px 12px}.archive-actions{grid-template-columns:1fr}}

/* YOKKIA · contemporary mobile-first business UI */
body{background:#f6f8fc;-webkit-font-smoothing:antialiased}
.top-actions{display:flex;align-items:center;gap:8px}
.top-search{border:1px solid #dfe7f1;border-radius:12px;background:#f7f9fd;color:#334d68;min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:10px 13px;font-size:13px;font-weight:740}
.top-search:hover,.top-search:focus-visible{border-color:#e6ad80;background:#fff7ef}
.pilot{min-height:44px}
.quick-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-bottom:21px}
.quick-tile{min-height:138px;border-radius:20px;padding:19px;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;gap:11px;background:linear-gradient(150deg,#fff 65%,#f9fbff);border:1px solid #e5eaf2;box-shadow:0 6px 25px #15304e0a}
.quick-tile:hover{box-shadow:0 9px 25px #15304e13;border-color:#e6b08a}
.quick-icon{width:50px;height:50px;border-radius:15px}.quick-icon svg{width:28px;height:28px}
.quick-copy strong{font-size:1.05rem;letter-spacing:-.02em}
.quick-copy small{font-size:.76rem;color:#728198;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:3px}
.welcome{margin:1px 0 18px}.welcome h1{font-size:clamp(26px,4vw,36px)}.welcome p{font-size:.91rem;color:#667b91}
.stat{box-shadow:none;padding:18px}.stat strong{font-size:clamp(23px,3vw,30px)}.other-tools{margin-bottom:19px}
#searchDialog{width:min(94vw,530px);border-radius:21px}
.search-shell{padding:23px;display:grid;gap:12px}.search-shell .dialog-header h2{font-size:20px}
.search-shell .dialog-header button{background:#f0f3f8;border:0;width:44px;height:44px;border-radius:12px;font-size:25px}
.search-field{display:grid;gap:9px;font-size:.82rem;color:#52657e;font-weight:750}
.search-field input{width:100%;min-height:52px;padding:13px 14px;border:1px solid #dbe3ee;border-radius:13px;font-size:16px;color:#1c304a;background:#f9fbfe}
.search-privacy{font-size:.76rem;margin:0;color:#7e8ca0}
.search-results{display:grid;gap:7px;max-height:45vh;overflow-y:auto}
.search-results>p{font-size:.85rem;color:#79879a;text-align:center;background:#f6f8fc;padding:17px;border-radius:12px;margin:0}
.search-result{min-height:54px;display:flex;gap:10px;align-items:center;justify-content:space-between;border:1px solid #e3eaf2;background:white;border-radius:12px;padding:12px 14px;color:#233852;text-align:left}
.search-result-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.9rem;font-weight:750}
.search-result small{font-size:.72rem;color:#78879b;white-space:nowrap}
.search-result:hover{background:#fff9f3;border-color:#eeb58c}.item.search-highlight{border:2px solid #e99a58;background:#fffaf4}
@media(max-width:920px){.quick-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.quick-tile{padding:15px;min-height:126px}}
@media(max-width:650px){.quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.quick-tile{padding:14px;min-height:120px}.quick-copy strong{font-size:.99rem}.quick-copy small{font-size:.72rem}.search-shell{padding:18px}}
@media(max-width:430px){.top-search{min-width:44px;padding:10px}.top-search span{display:none}.top-actions{gap:5px}.topbar{padding-inline:13px}.welcome h1{font-size:27px}.quick-tile{min-height:119px}}

/* SCRUTOR s'exécute dans le cockpit YOKKIA, sans ouverture externe. */
.sidebar nav .nav-internal{min-height:50px;font-size:.96rem;display:flex;align-items:center;gap:12px;color:#c8d4e8;padding:12px;border:0;background:none;text-align:left;border-radius:10px;font-weight:650;width:100%}
.sidebar nav .nav-internal svg{width:23px;height:23px;flex:none}
.sidebar nav .nav-internal:hover,.sidebar nav .nav-internal.active{background:#294466;color:#fff}
.embedded-shell{margin:-15px -15px 0}
.embedded-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 15px 17px}
.embedded-kicker{font-size:10px;font-weight:800;color:#a85e29;letter-spacing:1.2px}
.embedded-title h1{font-size:24px;margin:4px 0;font-weight:850;color:#192e49}
.embedded-title p{font-size:13px;color:#667992;margin:0}
.embedded-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;flex:none}
.embedded-btn{border-radius:11px;min-height:44px;border:1px solid #d8e0ec;background:#f1f5fa;color:#233b56;padding:10px 13px;font-size:13px;font-weight:720}
.embedded-btn.light{background:white}
.embed-frame-wrap{border:1px solid #dce5ef;background:#fff;border-radius:17px;overflow:hidden;min-height:450px}
#scrutorFrame{width:100%;height:calc(100dvh - 200px);min-height:560px;display:block;border:0;background:#fff}
.embed-footnote{font-size:12px;color:#78869b;line-height:1.55;margin:13px 6px 5px}
.local-security-notice{display:flex;gap:14px;align-items:center;background:#fff8ed;border:1px solid #ead8be;color:#674a2c;padding:14px 17px;border-radius:14px;margin:7px 0 18px}
.local-security-notice strong{font-size:13px;flex:none}
.local-security-notice span{font-size:12px;line-height:1.5;flex:1}
.local-security-notice button{min-height:44px;border:1px solid #d6af7a;background:#fff;border-radius:11px;padding:9px 13px;color:#674a2c;font-weight:760}
@media(max-width:920px){.embedded-shell{margin:-14px -13px 0}.embedded-toolbar{flex-direction:column;align-items:flex-start;padding:13px 10px}.embed-frame-wrap{border-radius:13px}#scrutorFrame{height:calc(100dvh - 250px);min-height:540px}.embedded-actions{width:100%}.embedded-btn{flex:1}.local-security-notice{flex-wrap:wrap}.local-security-notice button{width:100%}}
@media(max-width:540px){.embedded-toolbar{padding:10px 8px;gap:10px}.embedded-title h1{font-size:22px}.embedded-title p{font-size:12px}.embedded-actions{gap:6px}.embedded-btn{font-size:12px}.embedded-shell{margin:-17px -16px 0}#scrutorFrame{height:calc(100dvh - 238px);min-height:480px}.embed-frame-wrap{border-left:0;border-right:0;border-radius:0}.embed-footnote{padding:0 13px}.local-security-notice{padding:12px}}

/* Recover corrupted local state without overwriting it. */
.recover-panel{background:#fff7ee;border:1px solid #eac9a6;border-radius:17px;padding:25px;max-width:650px;margin:26px auto}
.recover-panel h1{font-size:24px;line-height:1.2;margin:0 0 12px;color:#71421d}
.recover-panel p{font-size:14px;line-height:1.6;color:#6c5848}
.recover-panel button{min-height:48px;white-space:normal}

.cloud-panel{border:1px solid #dce6f0;border-radius:14px;background:#f5f9ff;padding:15px;display:grid;gap:12px;margin-bottom:20px}
.cloud-panel h3,.cloud-panel p{margin:0}.cloud-panel p{font-size:.83rem;line-height:1.45;color:#48617e}
.cloud-panel form{display:grid;gap:12px}.cloud-panel label{font-weight:700;font-size:13px;display:grid;gap:5px}
.cloud-panel input{width:100%;min-height:46px;padding:10px;border-radius:10px;font-size:16px;border:1px solid #cedceb}
.cloud-buttons{display:flex;gap:8px;flex-wrap:wrap}.cloud-buttons button{flex:1;min-height:44px;min-width:120px;white-space:normal}
#cloudHistory{display:grid;gap:7px;margin-top:10px}#cloudHistory button{border:1px solid #dce6f0;background:white;min-height:44px;padding:8px;color:#203a5a;text-align:left;border-radius:10px}
[hidden]{display:none!important}

/* Edition de notes et SMS : action visible, accessible au pouce. */
.item-actions .tiny.edit{border:1px solid #d3e0f1;background:#edf4fc;color:#244e79;min-height:42px;font-weight:750}
.item-actions .tiny.edit:hover,.item-actions .tiny.edit:focus-visible{background:#e0eeff;border-color:#8db6e2}
@media(max-width:460px){.item-actions{display:flex;flex-wrap:wrap;gap:6px}.item-actions .tiny{min-height:44px}}

/* Connexion/déconnexion visibles, sans doublon des formulaires. */
.top-actions .auth-header-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:9px 13px;border-radius:12px;background:#183c59;border:1px solid #183c59;color:#fff;font-size:13px;font-weight:760;white-space:nowrap;line-height:1.1}
.top-actions .auth-header-btn.logout{background:#fff;color:#2a465f;border-color:#ccdae7}
.top-actions .auth-header-btn:hover,.top-actions .auth-header-btn:focus-visible{filter:brightness(1.09);outline-offset:2px}
.top-actions .auth-header-btn[hidden]{display:none!important}
.settings-header-btn{display:inline-flex;align-items:center;gap:6px}
@media(max-width:620px){.top-actions{gap:5px}.top-actions .auth-header-btn{padding:9px 10px;font-size:12px}.top-actions .auth-header-btn svg{width:16px;height:16px}.settings-header-btn span{display:none}.settings-header-btn{min-width:44px;justify-content:center;padding:9px}}
@media(max-width:385px){.top-actions .auth-header-btn{padding:9px 7px;font-size:11px;gap:4px}.top-actions .auth-header-btn svg{display:none}.top-title span{display:none}}


/* YOKKIA / Vision mobile 2027 · un seul cockpit, six espaces, zéro doublon */
:root{
  --yk-ink:#13243a;--yk-muted:#728196;--yk-night:#0d2332;
  --yk-aqua:#70ddc7;--yk-orange:#f7b16e;
  --yk-canvas:#f5f7fa;--yk-stroke:#e6ebf1;--yk-white:#fff;
  --yk-radius:22px;--yk-ease:cubic-bezier(.22,1,.36,1);
}
html{scroll-behavior:smooth}
body{background:var(--yk-canvas);color:var(--yk-ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-.008em}
.layout{min-height:100dvh}
.sidebar{background:linear-gradient(171deg,#0e2236 0%,#0b1a2b 78%,#112c3b 100%);border-right:1px solid #ffffff10}
.sidebar .logo{gap:12px}
.logo-mark{border-radius:14px;background:#f3b16f;color:#193046;box-shadow:0 4px 17px #f3b16f1f}
.sidebar .company{background:#ffffff0c;border:1px solid #ffffff12;border-radius:17px;padding:17px}
.sidebar .company strong{font-size:14px;line-height:1.5;overflow-wrap:anywhere;color:#fff}
.sidebar nav{gap:5px}
.sidebar nav button,.sidebar nav .nav-internal,.sidebar nav .nav-external{border-radius:13px;transition:background .18s ease,color .18s ease}
.sidebar nav button.active,.sidebar nav .nav-internal.active{background:#ffffff1b;box-shadow:inset 3px 0 0 var(--yk-aqua);color:#fff}
.sidebar nav svg{width:20px;height:20px}
.topbar{background:#fbfcfeef;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border-bottom:1px solid #e8edf3;box-shadow:none;min-height:72px}
.top-title{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:850;letter-spacing:.075em;white-space:nowrap}
.topbrand-emblem{width:33px;height:33px;display:grid;place-items:center;border-radius:11px;background:var(--yk-night);color:#ffbd7b;font-size:18px;font-weight:950;letter-spacing:-.07em;flex-shrink:0}
.topbrand-text{display:block!important;color:#1e334b!important}
.topbrand-text>span{color:#d48144!important}
.top-search{background:#fff;border:1px solid var(--yk-stroke);border-radius:14px;box-shadow:none}
.top-actions .auth-header-btn{background:#15394e;border-color:#15394e;border-radius:14px}
.top-actions .auth-header-btn.logout{color:#28425b;border:1px solid #dce3eb;border-radius:14px}
.settings-header-btn{border-radius:13px!important;background:#edf2f6!important;color:#294157!important;box-shadow:none!important;border:1px solid #e4ebf1!important}
.content{max-width:1150px;padding:30px 34px 88px}
.welcome.home-hero{position:relative;overflow:hidden;isolation:isolate;background:linear-gradient(122deg,#122b3d 0%,#123c43 66%,#155046 100%);border:1px solid #ffffff18;border-radius:28px;padding:30px 33px;margin:0 0 28px;min-height:244px;box-shadow:0 15px 35px #0f324025;color:#fff;display:flex;align-items:center}
.home-hero:before{content:"";position:absolute;width:310px;height:310px;border:1px solid #ffffff25;border-radius:50%;right:-72px;top:-155px;z-index:-1;box-shadow:0 0 0 65px #ffffff07,0 0 0 128px #ffffff04;pointer-events:none}
.home-hero:after{content:"";position:absolute;width:235px;height:235px;border-radius:50%;background:radial-gradient(circle,#62c8af56,transparent 69%);right:10px;bottom:-143px;z-index:-1;pointer-events:none}
.hero-content{position:relative;z-index:1;max-width:75%}
.hero-eyebrow{display:inline-flex;align-items:center;gap:8px;color:#c5f0e2;font-size:10px;letter-spacing:.17em;font-weight:850}
.hero-spark{width:7px;height:7px;border-radius:50%;background:#9af2cc;box-shadow:0 0 0 4px #82d3b81b;flex:none}
.home-hero h1{font-size:clamp(29px,3.7vw,45px);font-weight:800;letter-spacing:-.064em;line-height:1.04;max-width:none;margin:13px 0 12px;color:#fff}
.home-hero h1 em{font-style:normal;color:#f7be84}
.home-hero .hero-company{color:#c5d9de;font-size:13px;margin:0 0 20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:36ch}
.hero-cta{display:inline-flex;align-items:center;gap:9px;min-height:46px;padding:10px 15px;background:#f6b26e;border:1px solid #ffd1a0;border-radius:13px;color:#1a2d3e;font-size:13px;font-weight:800;box-shadow:0 7px 20px #00000015}
.hero-cta svg{width:17px;height:17px}
.hero-cta>span:last-child{font-size:20px;line-height:1;margin-left:12px}
.hero-cta:hover{background:#ffd09a}
.hero-art{position:absolute;right:7%;top:50%;transform:translateY(-50%);width:155px;height:155px;border-radius:46px;display:grid;place-items:center;border:1px solid #c4eee03b;background:linear-gradient(135deg,#ffffff16,#ffffff04);box-shadow:inset 0 1px #ffffff3b,0 24px 65px #05191d35;rotate:8deg;pointer-events:none}
.hero-letter{font-weight:950;color:#d9fff2e8;font-size:105px;line-height:1;letter-spacing:-.1em;text-shadow:0 14px 25px #04232c35}
.module-launch-head{margin:0 0 14px;align-items:center}
.module-launch-head h2{font-size:18px;font-weight:820;color:#1a3047;letter-spacing:-.045em}
.module-launch-head span{font-size:12px;color:#8290a1}
.quick-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-bottom:30px}
.quick-tile{position:relative;overflow:hidden;isolation:isolate;min-height:164px;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:17px;padding:20px;border-radius:21px;border:1px solid #e9edf2;background:#fff;box-shadow:0 5px 17px #1a36550b;text-align:left;color:#1a3045;transition:transform .22s var(--yk-ease),border-color .22s ease,box-shadow .22s ease}
.quick-tile:after{content:"";position:absolute;inset:auto -32px -68px auto;width:120px;height:120px;border-radius:100%;background:var(--tile-glow,#a8d6cf);opacity:.11;z-index:-1}
.quick-tile:hover,.quick-tile:focus-visible{background:#fff;transform:translateY(-3px);box-shadow:0 13px 28px #1a36551a;border-color:#b8cbd3}
.quick-icon{width:51px;height:51px;border-radius:15px;display:grid;place-items:center;background:var(--tile-bg,#e9f5ed);color:var(--tile-ink,#277c66);box-shadow:none}
.quick-icon svg{width:26px;height:26px;stroke-width:1.9}
.quick-copy{display:flex;flex-direction:column;gap:5px;width:100%;padding-right:13px}
.quick-copy strong{font-size:16px;font-weight:820;line-height:1.23;letter-spacing:-.036em;color:#18324a}
.quick-copy small{font-size:12px;line-height:1.35;color:#7d8b9d;margin:0;white-space:normal;overflow:visible}
.quick-chevron{position:absolute;top:22px;right:20px;color:#8b9aaa;font-size:22px;line-height:1;font-weight:400}
.quick-chevron.external{font-size:17px}
.quick-tile[data-service="clients"]{--tile-bg:#e0f3e8;--tile-ink:#1b7a5a;--tile-glow:#7ebf9e}
.quick-tile[data-service="sms"]{--tile-bg:#e6edff;--tile-ink:#5165ba;--tile-glow:#8596de}
.quick-tile[data-service="alkebulan"]{--tile-bg:#f2eafa;--tile-ink:#8056b6;--tile-glow:#a689d1}
.quick-tile[data-service="notes"]{--tile-bg:#fff0dc;--tile-ink:#ba7d26;--tile-glow:#ffc26e}
.quick-tile[data-service="scrutor"]{--tile-bg:#e2f3f5;--tile-ink:#217d8d;--tile-glow:#7fcbd2}
.quick-tile[data-service="stockel"]{--tile-bg:#f2ebfc;--tile-ink:#7958a2;--tile-glow:#b7a0d4}
.quick-tile[href="https://stockel-pilote.vercel.app/"] .quick-icon{background:var(--tile-bg);color:var(--tile-ink)}
.stats{gap:12px;margin:0 0 19px;grid-template-columns:repeat(4,minmax(0,1fr))}
.stat{position:relative;overflow:hidden;border:1px solid #e7ecf2;border-radius:19px;background:#fff;box-shadow:none;min-width:0;padding:19px 18px;min-height:116px}
.stat:before{content:"";position:absolute;left:0;top:17px;width:3px;height:35px;border-radius:0 3px 3px 0;background:#a6d7c5}
.stat:nth-child(2):before{background:#e6c59f}.stat:nth-child(3):before{background:#afbbf0}.stat:nth-child(4):before{background:#d2b6e5}
.stat span{display:block;color:#78879c;font-size:12px;font-weight:650}
.stat strong{display:block;color:#152c42;font-weight:850;font-size:31px;letter-spacing:-.06em;margin-top:13px}
.other-tools{border:1px solid #e5eaf0;border-radius:19px;background:#fff;margin:3px 0 19px;box-shadow:none}
.other-tools>summary{padding:16px 18px;min-height:56px;font-weight:750;font-size:13px;color:#284259}
.other-tools>summary span{font-size:11px}
.other-tools-grid .module-launch{border-radius:14px}
.local-security-notice{border-radius:15px;background:#f7f9fc;border-color:#e7ecf1;color:#5a6b7e;box-shadow:none}
.local-security-notice strong{color:#2c445d}
.local-security-notice button{border-color:#d9e2ea;color:#2c445d}
.welcome.module-heading{margin:0 0 19px;align-items:center;gap:14px}
.module-heading h1{font-size:clamp(27px,3vw,38px);line-height:1.07;letter-spacing:-.056em;color:#162e44}
.module-heading .eyebrow{font-size:10px;color:#3c9080}
.module-heading p{color:#8592a0;font-size:13px;margin:7px 0 0}
.button{border-radius:14px;background:#153a4d;color:#fff;box-shadow:0 5px 15px #18374d1d;min-height:46px;font-weight:770}
.button:hover{background:#21516a;filter:none}
.button.secondary,.button.outline{background:#edf3f8;color:#2d4960;box-shadow:none}
.crm-subnav{gap:8px;padding:0 0 15px;margin:0 0 20px}
.crm-subnav button{border-radius:100px;background:#fff;color:#5d7085;border-color:#dbe4ed;min-height:43px}
.crm-subnav button.active{background:#153b4c;color:white;border-color:#153b4c;box-shadow:0 5px 12px #153b4c20}
.panel{border:1px solid #e7ebf2;border-radius:22px;padding:20px;box-shadow:none;background:#fff}
.panel-head h2{font-size:16px;font-weight:800;letter-spacing:-.025em;margin:0}
.panel-head span{font-size:12px}
.item{border-radius:15px;border-color:#e7ecf1;padding:17px;box-shadow:none;gap:13px}
.item strong{font-size:15px;letter-spacing:-.02em}
.item p{font-size:12px;line-height:1.55}
.item-actions{gap:7px}
.tiny{border:1px solid #e1e8f0;background:#f5f7fb;border-radius:11px;min-height:44px;padding:8px 11px;font-weight:700}
.item-actions .tiny.edit{background:#e5f5ed;color:#1d755b;border-color:#cae9d9}
.tiny.danger{color:#ad5c62;background:#fff6f6;border-color:#f4e3e4}
.empty{display:flex;flex-direction:column;align-items:center;gap:9px;padding:38px 18px 34px;max-width:100%;color:#6c8093}
.empty-illustration{width:64px;height:64px;display:grid;place-items:center;border-radius:20px;background:#edf7f2;color:#337f67;margin-bottom:6px}
.empty-illustration svg{width:29px;height:29px}
.empty strong{font-size:16px;color:#294259;font-weight:800}
.empty p{margin:0 0 10px;font-size:13px;line-height:1.5}
.empty-create{border:0;border-radius:12px;min-height:45px;padding:10px 15px;background:#153c4e;color:#fff;display:inline-flex;align-items:center;gap:8px;font-weight:750}
.empty-create svg{width:18px;height:18px}
.module-notice{font-size:13px;color:#766249;background:#fff9ee;border-color:#f0e5d2;border-radius:14px;line-height:1.55}
dialog{border:1px solid #dfe6ee;border-radius:23px;box-shadow:0 26px 90px #0b23333d}
dialog::backdrop{background:#0b1f31a1;backdrop-filter:blur(4px)}
.dialog-header h2{font-size:21px;letter-spacing:-.045em;color:#153044}
.form label,.form-fields label{font-size:13px;color:#435d73}
.form input,.form select,.form textarea,.cloud-panel input{border-radius:12px;border-color:#d6e1ea;background:#fbfcfe;font-size:16px;min-height:46px}
.form input:focus,.form textarea:focus,.form select:focus,.cloud-panel input:focus{border-color:#4ca89c;outline:2px solid #4ca89c25}
.cloud-panel{background:#f5f9fa;border-color:#dfe9ee;border-radius:17px}
.nav-backdrop:not([hidden]){background:#07192985}
@media(max-width:1000px){
  .content{padding:22px 24px 112px}
  .welcome.home-hero{min-height:228px}
  .hero-art{right:5%;width:125px;height:125px;border-radius:36px}.hero-letter{font-size:84px}
}
@media(max-width:920px){
  .topbar{min-height:64px;height:64px;padding:0 18px}
  .content{padding:22px 20px 126px}
  .mobile-tabs{
    position:fixed;left:12px;right:12px;bottom:calc(10px + env(safe-area-inset-bottom,0px));
    display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px;
    border:1px solid #e2e9f0;border-radius:23px;
    padding:7px 8px;z-index:9;box-shadow:0 10px 32px #1b304026;
    background:#fffffff2;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);
    width:auto;max-width:none;
  }
  .mobile-tabs button{min-height:54px;min-width:0;border-radius:17px;gap:3px;color:#77899a;font-size:11px;font-weight:750;padding:7px 3px;transition:background .18s ease,color .18s ease}
  .mobile-tabs .tab-glyph{display:grid;place-items:center;height:24px}
  .mobile-tabs .tab-glyph svg{width:21px;height:21px;stroke-width:1.9}
  .mobile-tabs button.active{background:#e9f4ef;color:#155c4c}
  .sidebar{border-radius:0 22px 22px 0;box-shadow:14px 0 45px #031a2a39}
  .quick-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .welcome.home-hero{padding:25px;min-height:223px;border-radius:24px}
  .hero-art{right:5%}
  .stats{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:690px){
  .content{padding:18px 16px calc(122px + env(safe-area-inset-bottom,0px))}
  .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-bottom:25px}
  .quick-tile{min-height:152px;padding:16px;border-radius:19px}
  .quick-icon{width:47px;height:47px;border-radius:14px}
  .quick-icon svg{width:24px;height:24px}
  .quick-copy strong{font-size:15px}.quick-copy small{font-size:11px}
  .quick-chevron{top:18px;right:16px}
  .welcome.home-hero{padding:24px 22px;min-height:212px;margin-bottom:23px}
  .hero-content{max-width:80%}
  .hero-art{width:105px;height:105px;right:-8px;opacity:.55;border-radius:32px}
  .hero-letter{font-size:72px}
  .home-hero h1{font-size:clamp(29px,7vw,37px)}
  .hero-eyebrow{font-size:9px}
  .stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .stat{min-height:100px;padding:15px}
  .stat strong{font-size:27px;margin-top:10px}
  .module-heading .button{width:auto;min-width:112px}
  .panel{padding:16px}
  .item{flex-direction:column}
  .item-actions{width:100%;justify-content:flex-start;flex-wrap:wrap}
  .item-actions .tiny{flex:1}
  dialog{position:fixed;top:auto;left:0;right:0;bottom:0;margin:0 auto;width:100%;max-width:100%;max-height:calc(100dvh - 38px);border-radius:24px 24px 0 0;border-bottom:0;padding-bottom:env(safe-area-inset-bottom,0px);overscroll-behavior:contain}
  #searchDialog{width:100%;max-width:100%;border-radius:24px 24px 0 0}
  .form{padding:22px 20px}
  .form.tools{padding:19px 20px}
}
@media(max-width:430px){
  .topbar{padding:0 12px;gap:5px}
  .top-title{font-size:12px;gap:7px}
  .topbrand-emblem{width:30px;height:30px;border-radius:9px;font-size:17px}
  .topbrand-text>span{display:none}
  .top-actions{gap:5px}
  .top-actions .auth-header-btn{padding:9px 9px;font-size:12px;min-height:44px}
  .top-actions .auth-header-btn svg{width:15px;height:15px}
  .settings-header-btn{min-width:42px;padding:9px!important}
  .mobile-toggle{font-size:20px;width:32px;min-width:32px;padding:0}
  .content{padding-left:14px;padding-right:14px}
  .welcome.home-hero{padding:22px 19px;border-radius:21px;min-height:207px}
  .hero-content{max-width:86%}
  .hero-art{width:82px;height:82px;opacity:.36;right:-20px}
  .hero-letter{font-size:58px}
  .home-hero h1{font-size:31px}
  .hero-company{font-size:12px}
  .hero-cta{min-height:44px;font-size:12px;padding:10px 13px}
  .quick-tile{min-height:144px;padding:14px}
  .quick-copy strong{font-size:14px}.quick-copy small{font-size:11px}
  .mobile-tabs{left:10px;right:10px;bottom:calc(8px + env(safe-area-inset-bottom,0px));border-radius:21px}
  .mobile-tabs button{min-height:51px;font-size:10.5px}
  .module-heading{flex-direction:row;align-items:center}
  .module-heading h1{font-size:27px}
  .module-heading .button{font-size:12px;padding:11px 13px}
}
@media(max-width:360px){
  .topbrand-emblem{display:none}
  .top-title{font-size:11px}
  .top-actions .auth-header-btn{font-size:11px;padding:9px 7px}
  .quick-grid{gap:9px}
  .quick-tile{min-height:139px;padding:13px}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .quick-tile,.mobile-tabs button{transition:none;transform:none!important}
}


/* YOKKIA — identité officielle validée. Ressources tirées du logo approuvé. */
.sidebar-official-logo{
  background:#fff!important;border:1px solid #e6edf2;border-radius:17px;
  padding:12px!important;gap:8px!important;min-height:70px;
  display:flex;align-items:center;justify-content:flex-start;
  box-shadow:0 8px 22px #061c2a18;
}
.sidebar .sidebar-brand-symbol{
  display:block;width:49px;height:49px;object-fit:contain;flex:0 0 49px;
  border-radius:12px;background:#fff;
}
.sidebar .sidebar-brand-wordmark{
  display:block;min-width:0;width:139px;max-width:calc(100% - 55px);
  height:auto;object-fit:contain;mix-blend-mode:multiply;
}
.top-title .topbrand-official-logo{
  display:block;width:155px;max-width:100%;height:auto;max-height:49px;
  object-fit:contain;object-position:left center;
}
.hero-art{background:#fff!important;border-color:#ffffff83!important;padding:5px!important;box-shadow:0 22px 48px #001d253e!important}
.hero-art .hero-official-symbol{
  display:block;width:100%;height:100%;object-fit:contain;object-position:center;
  border-radius:inherit;
}
.official-brand-details .official-brand-preview{
  display:block;max-width:340px;width:100%;height:auto;object-fit:contain;
  margin:12px auto;background:white;border:1px solid #e7edf2;border-radius:13px;
}
.official-brand-details p{font-size:12px;line-height:1.5;color:#64768a;margin:8px 0}
@media(max-width:920px){
  .top-title .topbrand-official-logo{width:137px;max-height:41px}
}
@media(max-width:430px){
  .top-title .topbrand-official-logo{width:112px;max-height:39px}
  .hero-art{padding:3px!important}
}
@media(max-width:360px){
  .top-title .topbrand-official-logo{width:90px;max-height:33px}
  .sidebar .sidebar-brand-wordmark{width:133px}
}

/* 2027 YOKKIA | offres, commandes sécurisées, parcours lisible sur iPhone */
.plans-top{font-size:12px;padding:9px 12px;border:1px solid #b7dacc;border-radius:11px;background:#eaf8f2;color:#166352;min-height:44px;font-weight:760}
#plansDialog{width:min(960px,94vw);max-width:960px;max-height:90dvh;overflow:auto;background:#f8fafc}
.offer-shell,.operation-shell{padding:22px}.offer-eyebrow{font-size:10px;letter-spacing:.15em;color:#188477;font-weight:800}
.offer-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}
.offer-card{border:1px solid #e1e8ef;border-radius:20px;padding:20px 14px;background:white;display:flex;flex-direction:column;gap:13px;min-height:273px;box-shadow:0 5px 13px #142f4010}
.offer-card.recommended{border-color:#71bbab;box-shadow:0 8px 22px #16847d16}
.offer-card h3{font-size:18px;margin:0}.offer-card>strong{font-size:23px;color:#142c40;white-space:nowrap;letter-spacing:-.055em}.offer-card strong small{font-size:11px;color:#8595a3;font-weight:550}
.offer-card p{font-size:12px;color:#5b6f81;line-height:1.55;flex:1}.offer-card .button{font-size:11px;min-height:44px;padding:9px 8px}
.offer-tag{font-size:10px;letter-spacing:.07em;text-transform:uppercase;color:#14736d;font-weight:790}
.offer-legal,#planCurrent{font-size:12px;line-height:1.55;color:#687c8b}
#operationDialog{width:min(530px,96vw);max-width:530px;max-height:88dvh;overflow:auto}
.operation-shell{display:grid;gap:13px}.operation-shell form{display:grid;gap:12px}.operation-shell label{display:grid;gap:6px;font-size:13px;font-weight:740}
.operation-shell input[type=tel],.operation-shell textarea{width:100%;border:1px solid #cedce5;border-radius:12px;font-size:16px;min-height:46px;padding:10px;background:#fff}
.operation-shell .operation-consent{display:flex;gap:9px;align-items:flex-start;line-height:1.45;font-weight:550}
.operation-consent input{flex:none;width:18px;height:18px}.operation-output{background:#f4f8fb;border-radius:14px;border:1px solid #e4eaf0;padding:12px;white-space:pre-wrap;line-height:1.6;font-size:13px;max-height:35dvh;overflow:auto}
.item-actions .tiny.run{background:#e7f6f2;color:#196c58;border-color:#c3e6db;font-weight:750}
#operationStatus{font-size:12px;color:#526d80;line-height:1.5}
@media(max-width:800px){.offer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:690px){#plansDialog{top:auto;bottom:0;left:0;right:0;margin:0;width:100%;max-width:100%;max-height:92dvh;border-radius:24px 24px 0 0;padding:0}.offer-shell{padding:18px 15px}.offer-card{min-height:225px;padding:15px 11px}.offer-card>strong{font-size:20px}.plans-top{padding:8px;font-size:11px}}
@media(max-width:350px){.offer-grid{grid-template-columns:1fr}.plans-top{padding:8px 6px}}
