/* Glass Dashboard V4 — tactile light theme; visual language based on user-provided UI reference */
:root{--bg:#e6e5ef;--ink:#303c37;--muted:#747e7f;--line:#ffffffb5;--glass:rgba(245,249,251,.47);--glass-line:rgba(255,255,255,.83);--shadow:0 15px 38px rgba(79,89,112,.09);--side-w:83px;--user-accent:#d7a234}
html{min-height:100%}body{min-height:100vh;color:var(--ink)!important;background:radial-gradient(ellipse at -12% 5%,#e7c8b9 0%,transparent 46%),radial-gradient(ellipse at 95% 88%,#b5d3de 0%,transparent 52%),radial-gradient(ellipse at 50% 5%,#ded5f1 0%,transparent 55%),#dfe1ed!important;background-attachment:fixed!important}
body:before{content:"";inset:0;z-index:0;position:fixed;background-image:var(--custom-bg);background-position:center;background-size:cover;background-repeat:no-repeat;pointer-events:none;opacity:1}
body:after{content:"";width:min(44vw,650px);height:min(55vw,770px);border:65px solid #ffffff36;transform:rotate(-28deg);border-radius:35%;position:fixed;left:33%;top:-36%;pointer-events:none;z-index:0}
#app,#toasts,#modal-root{position:relative;z-index:1}#app{min-height:100vh;display:flex;align-items:center;justify-content:center}
.app-layout{position:relative;min-height:min(900px,calc(100vh - 60px));max-width:1570px;width:calc(100% - 68px);margin:33px auto;display:flex;align-items:stretch;border:2px solid rgba(255,255,255,.9);border-radius:32px;background:rgba(242,244,249,.35);box-shadow:0 22px 75px rgba(93,102,127,.09),inset 0 1px 0 #ffffffb8;backdrop-filter:blur(38px) saturate(1.1);-webkit-backdrop-filter:blur(38px) saturate(1.1);overflow:clip}
.sidebar{position:sticky;top:0;left:auto;flex:0 0 80px;width:80px;height:auto;max-height:calc(100vh - 70px);padding:24px 8px 17px;background:transparent!important;box-shadow:none!important;border-right:0!important;z-index:8;overflow-y:auto;scrollbar-width:none;display:flex;align-items:center}
.sidebar::-webkit-scrollbar{display:none}.side-brand{padding:0 0 14px!important;margin:0 auto 8px!important;border:0!important;display:block;width:auto}.side-brand .brand-icon{margin:0 auto;width:48px;height:48px;border:1px solid #fff!important;background:#fff9!important;color:#404b46!important;border-radius:50%!important;box-shadow:0 4px 16px #6d71841c}.brand-icon img,.greet-icon img{height:100%;width:100%;object-fit:contain;padding:5px;border-radius:inherit}.side-brand .brand-main,.sidebar .side-label{display:none!important}.side-nav{display:flex;align-items:center;width:100%;gap:7px;flex:1;overflow:visible!important}.side-nav .side-link,.side-bottom .side-link{width:49px;height:49px;min-height:49px;padding:0!important;justify-content:center;margin:0 auto!important;border-radius:17px;border:1px solid transparent!important;color:#4b5853!important;background:transparent!important;font-size:0}.side-nav .side-link span:not(.nav-ico):not(.nav-dot),.side-bottom .side-link span:not(.nav-ico):not(.nav-dot){display:none}.side-nav .side-link svg,.side-bottom .side-link svg{width:21px;height:21px}.side-nav .side-link:hover,.side-bottom .side-link:hover{background:#ffffffac!important;border-color:#fff!important;color:#233931!important}.side-nav .side-link.active{color:#fff!important;background:#92959c82!important;border:1px solid #ffffffd9!important;box-shadow:0 5px 12px #61697724}.side-nav .side-link.active .nav-ico{color:#fff}.side-nav .nav-dot{position:absolute;right:-2px;top:-1px;min-width:15px;height:15px;padding:0 3px;font-size:9px}.side-bottom{width:100%;margin-top:12px}.side-help{display:none}.side-user{margin:9px 0 0;padding:10px 0 0;border:0!important;background:transparent!important;justify-content:center;display:flex;flex-direction:column;gap:8px}.side-user>div:not(.avatar){display:none!important}.side-user .avatar{width:37px;height:37px;background:#ffffffdd;border:2px solid #fff;color:#384a43}.side-user .signout{margin:0;color:#4d5b54;background:#fff8;border-radius:50%;width:37px;height:37px;display:grid;place-items:center}.side-user .signout:hover{background:white}
.content{flex:1;margin:0!important;min-width:0;width:calc(100% - 82px);max-width:none;padding:25px clamp(18px,2.2vw,40px) 36px!important;background:transparent}.topbar{margin:0 0 22px!important;padding:12px 15px!important;border-radius:28px!important;border:1px solid #ffffffa3!important;background:rgba(255,255,255,.24)!important;backdrop-filter:blur(16px);box-shadow:none!important}.greeting{gap:12px}.greeting h1{font-size:clamp(17px,1.8vw,25px)!important;letter-spacing:-.9px!important}.greeting p{font-size:11px;color:#707f81}.greet-icon{height:46px;width:46px;flex:0 0 46px;border:2px solid #fff!important;background:#fff9!important;border-radius:50%!important;box-shadow:0 3px 11px #6473811f}.top-search{width:clamp(155px,22vw,410px);max-width:410px;height:44px}.top-search input,.icon-button,.header-profile{background:#fff8!important;backdrop-filter:blur(12px);border:1px solid #ffffffec!important;box-shadow:none!important}.icon-button{border-radius:50%!important}.header-profile{border-radius:28px;padding:4px 8px}.page-head{margin-top:10px;margin-bottom:19px}.page-head h1{font-size:clamp(22px,2.5vw,33px)}.page-head p{color:#6e7e85;font-size:12px}.eyebrow{letter-spacing:.14em!important;color:#8b909b!important}
.kpis{gap:14px}.kpi,.panel,.mission-column,.mission-card,.note-tile,.feature-panel{background:rgba(250,251,253,.43)!important;border:1px solid #ffffffdf!important;backdrop-filter:blur(23px)!important;-webkit-backdrop-filter:blur(23px)!important;box-shadow:0 7px 24px #6877870c!important;border-radius:24px!important}.kpi{padding:22px 20px!important;min-height:146px}.kpi-label{color:#687779;font-size:12px!important;font-weight:750}.kpi-value,.chart-big{color:#313d38!important;letter-spacing:-1.5px}.kpi-icon{background:#fff9!important;color:#555e55!important;border-radius:50%!important}.kpi-sub{color:#839096;font-size:11px}.panel{overflow:hidden}.panel-head{gap:10px}.panel-title{color:#34413b;font-size:15px!important;letter-spacing:-.4px}.panel-sub{color:#87918f}.dashboard-main,.dashboard-lower{gap:15px}.chart-panel,.dash-list{padding:23px!important}.chart-body svg{filter:saturate(.7)}.health-panel{background:rgba(248,250,251,.47)!important;color:#33433c!important;border:1px solid #ffffffd9!important}.health-panel .panel-title,.health-panel .health-number strong{color:#37453f!important}.health-panel .panel-sub,.health-panel .health-bottom{color:#7c8f89!important}.health-panel .health-bottom b{color:#477d6e!important}.health-score svg circle:nth-child(2){stroke:var(--user-accent)!important}.health-panel .health-number span{color:#82908d}.health-score:after{opacity:.1}
.vault-summary{background:rgba(255,253,243,.5)!important;border:1px solid #ffffffd6!important;color:#37463e!important;box-shadow:0 8px 24px #766b5b12!important;border-radius:24px!important;padding:21px 25px!important;backdrop-filter:blur(32px)}.vault-eyebrow{color:#8c7c59!important}.vault-summary h2{color:#374238!important}.vault-summary p{color:#818b82!important}.vault-amount,.vault-amount small{color:#5b634f!important}
.button{transition:background .15s ease,transform .15s ease}.button.primary{background:linear-gradient(120deg,#fff7df,#f9df9b)!important;border:1px solid #fbe8b6!important;color:#485148!important;box-shadow:0 4px 14px #dfbe8521!important}.button.light,.button.small,.pill,.filter-tab{border-color:#ffffffc9!important;background:#ffffff98!important;color:#4e5b56!important}.button:focus-visible,.side-link:focus-visible{outline:2px solid var(--user-accent);outline-offset:3px}.button:hover{transform:translateY(-2px)}.pill i{background:#d9b96e}.pill.warning i{background:#e0a349}.page-actions{gap:8px}
.form-group input,.form-group select,.form-group textarea,.input,.search-field input{background:#ffffffaa!important;border:1px solid #fff!important;color:#364840!important;border-radius:13px}.modal{background:#f2f4f8f2!important;border:1px solid #fff!important;backdrop-filter:blur(38px)!important;box-shadow:0 35px 130px #2b3b4f5c!important}.modal-backdrop{background:#53607368!important}.notice{background:#fff8!important;border-color:#fff!important;color:#657b71!important}.notice.warning{background:#fff6e5!important;color:#977345!important}
.presence-pane{height:auto;max-height:calc(100vh - 67px);min-height:590px;position:sticky;top:0;align-self:flex-start;width:216px;background:rgba(255,255,255,.38)!important;border-left:1px solid #ffffffc4!important;box-shadow:none!important;backdrop-filter:blur(30px);border-radius:0 30px 30px 0}.presence-head{padding:32px 14px 17px;border-color:#ffffffb5}.presence-member{color:#485a52}.presence-body h4{color:#7e8989}.presence-fab{background:#ffffffcc;color:#48564f;border-color:#fff;right:40px;bottom:40px}.presence-foot{border-color:#fff}
.table-shell,.table-scroll{border-radius:18px}.table-symbol{border-radius:13px;overflow:hidden}.table-symbol img{width:100%;height:100%;object-fit:cover}.table-check{gap:12px}.data-table th{font-size:10px;letter-spacing:.04em}.data-table td{font-size:12px}.data-table tr:hover td{background:#ffffff3d}.activity-row:hover,.task-row:hover{background:#ffffff57}
.feature-grid{gap:16px}.feature-panel{padding:25px}.media-pickers{display:grid;grid-template-columns:repeat(auto-fit,minmax(154px,1fr));gap:14px}.media-picker{cursor:pointer!important;min-width:0}.media-preview{background:#ffffffb2!important;border:1px solid #fff!important;overflow:hidden;border-radius:18px!important}.media-preview.login_image{min-height:116px}.media-preview img{width:100%;height:100%;object-fit:cover}.settings-wrap{max-width:880px}.setting-section{padding:26px!important}.toggle-settings{margin-top:20px;display:flex;flex-direction:column;gap:12px}.toggle-settings label{display:flex;align-items:flex-start;gap:10px;padding:14px 15px;border:1px solid white;background:#ffffff6e;border-radius:13px;font-weight:650;color:#495d55}.toggle-settings input{width:18px;height:18px;accent-color:#a69057;flex-shrink:0}.form-hint{color:#808c88;font-size:11px;line-height:1.6}.item-image-picker{margin:18px 0}.item-pic{max-width:245px}.item-pic .media-preview{height:100px}
/* Investigation canvas */
.board-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px!important}.board-tools{display:flex;gap:6px}.board-scroll{height:630px;border-radius:25px!important;border:1px solid #ffffffd5!important;background:radial-gradient(circle,#f7fbff 1.1px,transparent 1.5px) 0 0/22px 22px,#cfdae2!important;box-shadow:inset 0 7px 25px #6789aa18}.investigation-board{background-image:radial-gradient(ellipse at 25% 20%,#e5ebee88,transparent 55%)}.board-node{width:184px;min-height:110px;background:#fffdf8e8!important;border:1px solid #fff!important;border-top:4px solid #db9d79!important;border-radius:14px!important;box-shadow:0 12px 27px #6688a14a!important}.board-node span{color:#9c6f5a}.board-node strong{color:#394b48}.board-node.board-focus{box-shadow:0 0 0 6px #f5bf69bb,0 18px 32px #6688a188!important}.board-link-list>div{border-radius:12px!important}
/* Meetings */
.meeting-list{display:grid;gap:10px;margin-top:14px}.meeting-row{display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:14px;align-items:center;border:1px solid #ffffffcc;border-radius:18px;padding:15px;background:#ffffff64}.meeting-icon{height:43px;width:43px;border-radius:14px;background:#f8ebcc;color:#856c3c;display:grid;place-items:center}.meeting-icon svg{width:21px}.meeting-row h3{font-size:14px;margin:4px 0;color:#3b4e47}.meeting-row p{color:#697c75;font-size:12px;white-space:pre-wrap;margin:5px 0}.meeting-row small,.meeting-row span:not(.pill){color:#8e9e96;font-size:11px}.meeting-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end;align-items:center}
/* Login: editorial split, left descriptive identity, group-controlled hero image */
.auth-layout{width:min(1180px,calc(100% - 60px));min-height:650px;border:2px solid #ffffffeb;border-radius:35px;overflow:hidden;display:grid;grid-template-columns:1.02fr 1fr;background:#ffffff50!important;box-shadow:0 20px 90px #505d7e1b;backdrop-filter:blur(40px)}.auth-visual{background:linear-gradient(145deg,#d4d5e7a6,#c3d9df8e 60%,#f2decd9c)!important;color:#3a4b45!important;padding:43px!important;overflow:hidden}.auth-visual:before{background:radial-gradient(ellipse at 5% 5%,#ffeddb87,transparent 55%)}.auth-visual:after{background:radial-gradient(ellipse at 95% 78%,#aac9e1a4,transparent 52%)}.auth-brand{font-size:22px!important;color:#374a44!important}.auth-brand .brand-icon{background:#fff8!important;color:#3b544a!important;border:1px solid #ffffffeb!important;border-radius:50%!important}.auth-brand .brand-icon img{max-width:100%;max-height:100%}.auth-message{max-width:520px;position:relative;margin-top:auto!important}.auth-message .eyebrow{color:#717979!important}.auth-message h2{color:#3d4c46!important;font-size:clamp(42px,4.2vw,64px)!important;line-height:1.04!important;letter-spacing:-.055em}.auth-message h2 span{color:#627c75!important}.auth-message p{font-size:15px!important;line-height:1.8;color:#627670!important}.auth-bottom{color:#82908c!important}.auth-form-area{background:#ffffff6e!important;backdrop-filter:blur(30px);padding:55px clamp(32px,5vw,70px)!important}.auth-box h1{color:#31443a!important;letter-spacing:-1.3px!important}.auth-box>p{color:#748981!important}.auth-box .eyebrow{color:#8c917d!important}.auth-box .form-group input{background:#fff9!important;border:1px solid #fff!important;box-shadow:inset 0 1px 2px #54685e0a!important;border-radius:14px!important}.auth-box .button{width:100%;justify-content:center;border-radius:14px!important}.hack-entry{display:flex!important;gap:8px;justify-content:center;margin-top:12px;background:#ffffffa3!important}.login-hero-image{position:absolute;right:-45px;top:-205px;height:145px;width:230px;object-fit:cover;border:5px solid #fff9;border-radius:34px;transform:rotate(-8deg);box-shadow:0 18px 50px #566c7c32;opacity:.94}.splash-mark{color:#324d42}.loader{border-color:#ffffffb1;border-top-color:#b89955}
/* Developer console harmonized with new light Glass UI */
.dev-app{background:transparent!important}.dev-main{background:transparent!important}.dev-side{background:#ffffff36!important;border-right:1px solid #ffffff99!important;backdrop-filter:blur(28px)!important}.dev-link{color:#4c5a53!important}.dev-link.active,.dev-link:hover{background:#ffffffc0!important;color:#435443!important}.dev-kpi,.dev-panel{background:#ffffff7b!important;border-color:#ffffffd6!important;border-radius:23px!important;box-shadow:0 9px 28px #515e6e0d!important}.dev-brandmark,.dev-button.primary{background:#fae8b6!important;color:#5c503b!important;border-color:#fff5d5!important}.dev-hello h1,.dev-kpi-value{color:#38493f!important}.dev-auth{background:transparent!important}.dev-auth-left{background:linear-gradient(145deg,#d3d6e9,#cde2dc)!important;color:#3f574b!important}.dev-auth-right{background:#ffffff86!important}.dev-auth-box h1{color:#31453b!important}
@media(max-width:1200px){.app-layout{width:calc(100% - 28px);margin:14px auto;min-height:calc(100vh - 28px)}.content{padding:21px 18px 35px!important}.presence-pane{width:188px}.top-search{width:195px}}
@media(max-width:960px){.presence-pane{position:fixed;top:30px;right:22px;z-index:40;height:calc(100vh - 60px);max-height:none;border-radius:26px;width:250px;box-shadow:0 16px 60px #6e799c56!important}.sidebar{flex-basis:68px;width:68px}.side-nav .side-link{width:45px;min-height:45px}.content{width:calc(100% - 68px)}.greeting p{display:none}.top-search{width:180px}}
@media(max-width:700px){body:after{display:none}.app-layout{width:100%;margin:0;min-height:100vh;border-radius:0;border:0}.sidebar{position:fixed;bottom:0;left:0;top:auto;height:64px;max-height:64px;width:100%;z-index:50;background:#ffffffcc!important;border-top:1px solid #fff!important;flex-direction:row;padding:4px 6px;overflow-x:auto}.side-brand,.sidebar .side-bottom,.sidebar .side-help{display:none!important}.side-nav{flex-direction:row;justify-content:flex-start;overflow-x:auto!important;gap:3px}.side-nav .side-link{flex:0 0 43px;width:43px;height:45px;min-height:45px}.content{width:100%;padding:14px 12px 83px!important}.topbar{padding:10px!important;border-radius:20px!important;gap:8px}.greeting{gap:8px}.greet-icon{width:33px;height:33px;flex-basis:33px}.greeting h1{font-size:17px!important}.top-actions{gap:6px}.top-search{display:none}.header-profile span{display:none}.page-head h1{font-size:24px}.presence-pane{top:12px;right:12px;max-height:calc(100vh - 88px);height:calc(100vh - 88px)}.auth-layout{width:100%;margin:0;min-height:100vh;grid-template-columns:1fr;border:0;border-radius:0}.auth-visual{min-height:260px;padding:24px!important}.auth-brand{font-size:16px!important}.auth-message{margin:20px 0 0!important}.auth-message h2{font-size:33px!important}.auth-message p{font-size:12px!important}.auth-bottom{display:none}.login-hero-image{right:5px;top:-70px;width:96px;height:76px}.auth-form-area{padding:29px 25px 47px!important}.meeting-row{grid-template-columns:34px 1fr}.meeting-actions{grid-column:2;justify-content:flex-start}.meeting-icon{height:34px;width:34px}}
/* Center developer hub in the same glass frame */
#app.dev-app{display:block;width:100%;min-height:100vh}
#app.dev-app .dev-frame{max-width:1570px;width:calc(100% - 68px);min-height:calc(100vh - 66px);margin:33px auto;border:2px solid #ffffffe0;border-radius:31px;overflow:hidden;background:#ffffff49;box-shadow:0 22px 75px #5e6f8319;grid-template-columns:235px minmax(0,1fr);backdrop-filter:blur(36px)}
.dev-brand b,.dev-operator b,.dev-kicker{color:#3e514a!important}.dev-brand small,.dev-operator small{color:#7d9087!important}.dev-side{color:#42574e!important}.dev-side-footer{border-color:#ffffffac!important}.dev-operator{background:#ffffff6b!important}.dev-info,.dev-banner{background:#fff8!important;border-color:#ffffffcd!important}.dev-auth .dev-auth-left{color:#34594b!important}
.splash-mark{display:flex;align-items:center;gap:13px}.splash-logo{width:47px;height:47px;object-fit:contain;border:1px solid #fff;border-radius:50%;background:#ffffff9a;padding:4px}
@media(max-width:700px){#app.dev-app .dev-frame{width:100%;margin:0;border:0;border-radius:0;min-height:100vh;display:block}.dev-side{position:relative!important;max-height:none!important}}

.investigation-board .board-lines text{fill:#415d56!important;paint-order:stroke;stroke:#f3f7f4;stroke-width:2.7px}

/* V5 : utiliser toute la fenêtre et corriger les panneaux étirés / coupés */
html,body{width:100%;min-height:100%;margin:0}
body{overflow-x:hidden}
#app{width:100%;min-height:100dvh;align-items:stretch;justify-content:stretch}
.app-layout{width:100%;max-width:none;margin:0;min-height:100dvh;overflow:visible;border:0;border-radius:0;box-shadow:none;padding:10px 12px 18px;gap:8px;background:rgba(242,244,249,.28)}
.app-layout>.sidebar{position:sticky;top:10px;height:calc(100dvh - 20px);max-height:calc(100dvh - 20px);flex:0 0 75px;overflow-y:auto;align-self:flex-start}
.app-layout>.content{width:auto;min-width:0;flex:1;max-width:none;padding:23px clamp(15px,2.3vw,40px) 40px!important}
.app-layout>.presence-pane{position:sticky;top:10px;align-self:flex-start;height:calc(100dvh - 20px);min-height:0;max-height:calc(100dvh - 20px);border:1px solid #ffffffce;border-radius:24px;overflow:hidden;flex-shrink:0;width:235px}
.presence-pane .presence-body{min-height:0;overflow-y:auto}
#app.dev-app .dev-frame{width:100%;max-width:none;margin:0;min-height:100dvh;overflow:visible;border:0;border-radius:0;box-shadow:none;grid-template-columns:235px minmax(0,1fr)}
#app.dev-app .dev-side{position:sticky;top:0;align-self:start;height:100dvh;min-height:0;overflow:auto}
#app.dev-app .dev-main{min-width:0;max-width:none;width:100%;padding:30px clamp(22px,3vw,54px) 50px}
.dev-content-grid{align-items:start;grid-auto-rows:min-content}
.dev-content-grid>.dev-panel,.dev-content-grid>aside{align-self:start;min-width:0}
.dev-panel{height:auto!important;min-height:0!important}
.dev-panel-head{flex-wrap:wrap}
.dev-workspace-list{min-height:0}
.dev-space{grid-template-columns:39px minmax(0,1fr);align-items:start}
.dev-space-actions{grid-column:2;flex-wrap:wrap;justify-content:flex-start}
.dev-space-stats{flex-wrap:wrap}
.panel-sub,.kpi-sub,.greeting p,.dev-panel-head p,.dev-kpi-foot,.dev-space-sub,.dev-space-stats,.dev-timeline-row time,.presence-nobody{color:#53645f!important;opacity:1}
.panel-title,.kpi-label,.dev-kpi-head,.dev-timeline-row small,.presence-body h4{color:#465b53!important;opacity:1}
.health-panel .health-score svg circle:nth-child(2){stroke:#54b989!important}
.presence-pane .presence-foot{margin-top:auto}
.demo-label{display:inline-flex;align-items:center;gap:8px;margin-bottom:14px;padding:9px 15px;background:#fff4cbcc;border:1px solid #ffffffd6;border-radius:14px;font-size:12px;font-weight:750;color:#66532d}
.demo-label:before{content:'●';color:#d09d31}
@media(max-width:1120px){.app-layout>.presence-pane{position:fixed;top:12px;right:12px;height:calc(100dvh - 24px);max-height:calc(100dvh - 24px);z-index:40;box-shadow:0 18px 55px #415e7250!important}}
@media(max-width:900px){#app.dev-app .dev-frame{grid-template-columns:78px minmax(0,1fr)}.dev-content-grid{grid-template-columns:minmax(0,1fr)}.app-layout>.content{padding:18px!important}}
@media(max-width:700px){.app-layout{padding:0;gap:0}.app-layout>.sidebar{position:fixed;top:auto;bottom:0;left:0;height:64px;max-height:64px;width:100%;min-height:64px;border-radius:0;background:#f1f4f9e8!important}.app-layout>.content{padding:14px 12px 86px!important;width:100%}.app-layout>.presence-pane{top:10px;right:10px;height:calc(100dvh - 85px);max-height:calc(100dvh - 85px)}#app.dev-app .dev-frame{display:block}#app.dev-app .dev-side{position:relative;top:auto;height:auto;max-height:none;overflow:visible}#app.dev-app .dev-main{padding:20px 15px 75px}.dev-space-actions{grid-column:1/-1}.dev-kpis{grid-template-columns:1fr 1fr}.dev-hello .dev-hello-actions{display:flex;flex-wrap:wrap;gap:8px}}
