:root{--bg:#f4f1ec;--panel:#fffaf3;--text:#1f2933;--muted:#667085;--accent:#203448;--accent2:#b99b6b;--border:#e5ded2;--danger:#a33b3b}*{box-sizing:border-box}body{margin:0;font-family:Inter,Segoe UI,Arial,sans-serif;background:var(--bg);color:var(--text)}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0;border-radius:14px;padding:12px 16px;font-weight:700}.app-shell{display:flex;min-height:100vh}.sidebar{width:280px;background:#162333;color:white;padding:24px;display:flex;flex-direction:column;gap:24px}.brand{display:flex;gap:14px;align-items:center}.brand-mark{width:48px;height:48px;border-radius:16px;background:var(--accent2);display:grid;place-items:center;font-size:26px;font-weight:900}.brand span{display:block;color:#cbd5e1;font-size:13px;margin-top:4px}.sidebar nav{display:grid;gap:10px}.nav-main{margin-top:4px}.nav-secondary{margin-top:auto;border-top:1px solid rgba(255,255,255,.14);padding-top:14px}.nav-btn{background:transparent;color:#dbe4ee;text-align:left;display:flex;align-items:center;gap:10px}.nav-btn.small{font-size:13px;padding:9px 12px;color:#aebbd0}.nav-icon{width:22px;display:inline-flex;justify-content:center}.nav-btn.active,.nav-btn:hover{background:#24364a;color:white}.sidebar-footer{color:#cbd5e1;font-size:12px}.main{flex:1;padding:28px;overflow:auto}.topbar{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:24px}.topbar h1{margin:0;font-size:34px}.topbar p{margin:6px 0 0;color:var(--muted)}.primary{background:var(--accent);color:white}.secondary{background:#e9e2d7;color:var(--accent)}.ghost{background:#fff;color:var(--accent);border:1px solid var(--border)}.danger{background:var(--danger);color:white}.screen{display:none}.screen.active{display:block}.cards{display:grid;grid-template-columns:repeat(4,minmax(160px,1fr));gap:18px;margin-bottom:18px}.card,.panel,.product-card{background:var(--panel);border:1px solid var(--border);border-radius:24px;box-shadow:0 18px 40px rgba(31,41,51,.06)}.card{padding:22px}.card span{color:var(--muted);display:block}.card strong{font-size:32px;margin-top:10px;display:block}.panel-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.panel{padding:24px}.panel h2{margin-top:0}.hint{color:var(--muted);margin-top:-6px}.stats-list,.recent-list{display:grid;gap:12px}.stat-row,.recent-row{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--border);padding:10px 0}.recent-row{width:100%;background:transparent;color:var(--text);border-radius:0;text-align:left}.recent-row small{display:block;color:var(--muted);font-weight:500;margin-top:3px}.recent-row.clickable:hover{color:var(--accent);background:#fff}.toolbar{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:12px;margin-bottom:18px}.toolbar input,.toolbar select,input,select,textarea{width:100%;border:1px solid var(--border);background:white;border-radius:14px;padding:13px;color:var(--text)}.stock-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:18px}.product-card{overflow:hidden}.product-body{padding:20px}.product-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.product-title{font-size:18px}.badge{background:#edf2f7;border-radius:99px;padding:6px 10px;font-size:12px;font-weight:800;white-space:nowrap;color:white}.preview-badge{min-width:92px;text-align:center}.product-meta{color:var(--muted);line-height:1.4}.product-price{font-size:22px;font-weight:900}.product-actions{display:flex;flex-wrap:wrap;gap:8px}.product-actions button{padding:9px 11px;background:#fff;border:1px solid var(--border);color:var(--accent)}.product-actions .delete-btn{color:var(--danger)}.form-panel{max-width:1100px}.form-header,.detail-header{display:flex;justify-content:space-between;align-items:center;gap:16px}.form-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.form-grid label{display:grid;gap:7px;color:var(--muted);font-weight:700}.form-grid .full{grid-column:1/-1}.actions{display:flex;gap:12px;margin-top:20px}.wrap{flex-wrap:wrap}.file-btn{display:inline-flex;align-items:center;justify-content:center;border-radius:14px;padding:12px 16px;font-weight:800;background:#fff;border:1px solid var(--border);color:var(--accent);cursor:pointer}.variables-grid{display:grid;grid-template-columns:repeat(2,minmax(260px,1fr));gap:18px}.variable-box{background:#fff;border:1px solid var(--border);border-radius:20px;padding:18px}.variable-box h3{margin:0 0 12px}.pill-list{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}.pill{display:inline-flex;align-items:center;gap:8px;background:#f3efe7;border:1px solid var(--border);border-radius:99px;padding:7px 8px 7px 12px;font-weight:700}.pill button{padding:2px 8px;border-radius:99px;background:white;color:var(--danger);border:1px solid var(--border)}.add-variable{display:flex;gap:8px}.detail-panel{max-width:980px}.eyebrow{display:block;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-size:12px;font-weight:900}.detail-header h2{margin:.2rem 0 0}.detail-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0}.detail-line{background:#fff;border:1px solid var(--border);border-radius:16px;padding:14px}.detail-line span{display:block;color:var(--muted);font-size:13px}.detail-line strong{display:block;margin-top:5px}.comment-box{background:#fff;border:1px solid var(--border);border-radius:18px;padding:18px}.comment-box p{margin-bottom:0;color:var(--muted);line-height:1.5}@media(max-width:900px){.app-shell{flex-direction:column}.sidebar{width:auto}.cards,.panel-grid,.toolbar,.form-grid,.variables-grid,.detail-grid{grid-template-columns:1fr}.topbar{align-items:flex-start;flex-direction:column}.main{padding:18px}.detail-header{align-items:flex-start;flex-direction:column}}
.editor-pill{border-radius:16px;padding:8px;gap:6px}.editor-pill input{width:160px;border:0;background:transparent;padding:5px 6px;font-weight:800}.editor-pill input:focus{outline:2px solid #d7c7aa;background:white;border-radius:10px}.editor-pill .save-option{color:#176b3a}.editor-pill .delete-option{color:var(--danger)}.product-actions .view-btn{background:var(--accent);color:white;border-color:var(--accent)}

.small-hint{font-size:13px;margin-bottom:12px}.status-editor-pill{border-radius:18px;align-items:center}.status-editor-pill>input[data-original]{width:145px}.status-color{width:38px!important;height:34px!important;padding:2px!important;border-radius:10px!important;cursor:pointer}.variable-box.status-options{grid-column:1/-1}.status-options .pill-list{gap:10px}

/* V2.3 - Responsive sidebar: no menu item hidden by viewport height */
.sidebar{
  height:100vh;
  min-height:0;
  position:sticky;
  top:0;
  padding:clamp(14px,2.2vh,24px);
  gap:clamp(10px,2vh,24px);
  overflow:hidden;
}
.brand{flex-shrink:0}.brand-mark{width:clamp(38px,5.8vh,48px);height:clamp(38px,5.8vh,48px);border-radius:14px;font-size:clamp(20px,3vh,26px)}
.brand span{font-size:clamp(11px,1.65vh,13px)}
.sidebar nav{gap:clamp(6px,1.1vh,10px);flex-shrink:0}.nav-main{margin-top:0}.nav-secondary{margin-top:auto;padding-top:clamp(8px,1.5vh,14px)}
.nav-btn{min-height:0;padding:clamp(8px,1.45vh,12px) clamp(10px,1.8vh,16px);border-radius:12px;line-height:1.15}.nav-btn.small{font-size:12.5px;padding:clamp(7px,1.15vh,9px) 10px}.nav-icon{width:20px;flex:0 0 20px}.sidebar-footer{flex-shrink:0;font-size:11px;margin-top:0}
.main{min-width:0}
@media(max-height:720px) and (min-width:901px){
  .sidebar{width:250px;padding:12px;gap:8px}.brand{gap:10px}.brand-mark{width:36px;height:36px;border-radius:12px;font-size:19px}.brand span{display:none}.sidebar nav{gap:5px}.nav-btn{padding:8px 10px;border-radius:11px;font-size:14px}.nav-btn.small{font-size:12px;padding:7px 9px}.nav-secondary{padding-top:8px}.sidebar-footer{display:none}
}
@media(max-width:900px){
  .app-shell{min-height:100vh}.sidebar{position:static;width:100%;height:auto;overflow:visible;padding:12px;gap:10px}.brand{justify-content:center}.brand-mark{width:38px;height:38px;font-size:20px}.brand span{display:none}.sidebar nav{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.nav-main{order:2}.nav-secondary{order:3;margin-top:0;border-top:1px solid rgba(255,255,255,.14);padding-top:10px}.nav-btn,.nav-btn.small{font-size:13px;padding:9px 11px;border-radius:999px}.sidebar-footer{display:none}.topbar h1{font-size:28px}
}
@media(max-width:560px){
  .brand{justify-content:flex-start}.sidebar nav{display:grid;grid-template-columns:1fr 1fr;width:100%}.nav-main{grid-template-columns:1fr 1fr}.nav-main .nav-btn:first-child{grid-column:1/-1}.nav-secondary{grid-template-columns:1fr 1fr}.nav-btn,.nav-btn.small{justify-content:center;text-align:center}.nav-icon{width:auto}.topbar h1{font-size:24px}.stock-grid{grid-template-columns:1fr}.product-actions button{flex:1 1 auto}
}

/* V2.4 - Cartes stock plus denses + fiche produit premium */
.stock-grid{grid-template-columns:repeat(auto-fill,minmax(275px,1fr));gap:14px}.compact-product-card{border-radius:22px;background:linear-gradient(180deg,#fffdf8 0%,#fff8ef 100%)}.compact-product-card .product-body{padding:16px}.product-topline{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.product-brand{color:var(--muted);font-weight:800;font-size:13px}.status-cycle-btn{border:0;color:white;box-shadow:0 8px 18px rgba(31,41,51,.12);transition:transform .15s ease,filter .15s ease}.status-cycle-btn:hover{transform:translateY(-1px);filter:brightness(.96)}.product-main{display:grid;gap:2px;width:100%;padding:0;background:transparent;border-radius:0;text-align:left;color:var(--text)}.product-main:hover .product-title{text-decoration:underline}.product-title{font-size:20px;line-height:1.1;letter-spacing:-.02em;color:#071d38}.product-ref{font-size:13px;color:var(--muted);font-weight:800}.product-price-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0}.product-price{font-size:28px;font-weight:950;color:#0b55d9;letter-spacing:-.04em}.icon-edit-btn{padding:7px 9px;border-radius:11px;background:#fff;border:1px solid var(--border);color:var(--muted)}.product-facts{display:grid;grid-template-columns:1.2fr 1fr .55fr;border-top:1px solid var(--border);padding-top:10px;gap:8px}.product-facts div:not(:last-child){border-right:1px solid var(--border)}.product-facts span,.premium-facts span{display:block;color:var(--muted);font-size:11px;font-weight:900}.product-facts strong{display:block;margin-top:3px;color:#071d38;font-size:14px}.product-comment{margin:10px 0 0;color:var(--muted);font-size:13px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.compact-product-card .product-actions{margin-top:10px;justify-content:flex-end}.compact-product-card .delete-btn{padding:6px 9px;font-size:12px;background:transparent;border-color:transparent}.comment-label textarea{min-height:58px;resize:vertical}.comment-label textarea:placeholder-shown{min-height:52px}.detail-panel{max-width:1120px;background:transparent;border:0;box-shadow:none;padding:0}.premium-detail-card{background:linear-gradient(135deg,#fffdf8 0%,#fff8ef 100%);border:1px solid var(--border);border-radius:28px;box-shadow:0 18px 40px rgba(31,41,51,.08);padding:clamp(22px,4vw,44px)}.premium-detail-top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.premium-category{font-size:clamp(48px,8vw,96px);line-height:.9;font-weight:950;letter-spacing:-.07em;color:#061d38}.premium-brand{margin-top:18px;color:var(--muted);font-size:clamp(22px,3vw,34px);font-weight:800}.premium-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}.status-cycle-btn.large{font-size:20px;padding:14px 30px;border-radius:14px}.premium-separator{height:1px;background:var(--border);margin:22px 0}.premium-detail-card h2{font-size:clamp(34px,5vw,58px);line-height:1;margin:0;color:#071d38;letter-spacing:-.04em}.premium-ref{font-size:24px;color:var(--muted);font-weight:800;margin:12px 0 0}.premium-price{font-size:clamp(48px,7vw,82px);line-height:1;color:#0b55d9;font-weight:950;letter-spacing:-.06em;margin-top:24px}.premium-facts{display:grid;grid-template-columns:repeat(4,1fr);gap:0}.premium-facts div{padding:0 22px}.premium-facts div:first-child{padding-left:0}.premium-facts div:not(:last-child){border-right:1px solid var(--border)}.premium-facts strong{display:block;margin-top:8px;color:#071d38;font-size:clamp(21px,3vw,32px)}.compact-comment{margin-top:24px;padding:14px}.compact-comment p{margin-top:7px}.premium-bottom-actions{justify-content:flex-end}@media(max-width:900px){.stock-grid{grid-template-columns:repeat(auto-fill,minmax(245px,1fr))}.premium-detail-top{flex-direction:column}.premium-actions{justify-content:flex-start}.premium-facts{grid-template-columns:1fr 1fr;gap:14px}.premium-facts div{padding:0;border:0!important}.premium-category{font-size:54px}.premium-price{font-size:54px}}@media(max-width:560px){.stock-grid{grid-template-columns:1fr}.premium-detail-card{border-radius:22px;padding:20px}.premium-category{font-size:46px}.premium-detail-card h2{font-size:34px}.premium-price{font-size:48px}.status-cycle-btn.large{width:100%}.premium-actions{width:100%}.premium-actions .ghost{width:100%}}

/* V2.4 - Fiches produits plus compactes et visuelles */
.stock-grid{grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:14px}.compact-product-card{border-radius:26px;background:linear-gradient(180deg,#fffdf8,#fff8ef);transition:transform .16s ease,box-shadow .16s ease;cursor:pointer}.compact-product-card:hover{transform:translateY(-2px);box-shadow:0 22px 44px rgba(31,41,51,.10)}.compact-product-card .product-body{padding:18px}.product-topline{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.product-category{font-size:11px;text-transform:uppercase;letter-spacing:.08em;font-weight:900;color:var(--muted)}.product-brand{margin:0 0 10px;color:var(--muted);font-weight:800}.compact-product-card .product-title{font-size:26px;line-height:1.03;margin:0;color:#071d38;letter-spacing:-.04em}.product-reference{margin:9px 0 0;color:var(--muted);font-weight:800}.compact-product-card .product-price{font-size:31px;line-height:1;margin:16px 0 18px;color:#0f56d9;letter-spacing:-.04em;border-bottom:1px solid var(--border);padding-bottom:16px}.product-specs{display:grid;grid-template-columns:1.1fr 1.1fr .6fr;gap:8px}.product-specs div{border-right:1px solid var(--border);padding-right:8px}.product-specs div:last-child{border-right:0}.product-specs span{display:block;color:var(--muted);font-size:11px;font-weight:800;margin-bottom:5px}.product-specs strong{display:block;color:#071d38;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.compact-product-card .product-comment{margin:12px 0 0;color:var(--muted);font-size:13px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.compact-product-card .product-actions{margin-top:14px;display:grid;grid-template-columns:1fr 1fr auto}.compact-product-card .product-actions button{padding:8px 10px;border-radius:12px}.status-cycle-btn{border-radius:14px;padding:8px 12px;color:#fff;font-weight:900;box-shadow:0 8px 18px rgba(15,86,217,.18);white-space:nowrap}.status-cycle-btn.large{font-size:20px;padding:14px 24px;border-radius:16px;min-width:150px}.form-grid textarea#comment{min-height:54px;resize:vertical}.compact-comment textarea:placeholder-shown{min-height:48px}.detail-panel{max-width:1120px}.detail-product-card{background:linear-gradient(180deg,#fffdf8,#fff8ef);border:1px solid var(--border);border-radius:30px;padding:32px;box-shadow:0 22px 50px rgba(31,41,51,.07)}.detail-hero{display:grid;grid-template-columns:1fr auto;gap:24px;align-items:start;border-bottom:1px solid var(--border);padding-bottom:24px}.detail-category{font-size:12px;text-transform:uppercase;letter-spacing:.08em;font-weight:900;color:var(--muted)}.detail-brand{font-size:22px;color:var(--muted);font-weight:800;margin:8px 0}.detail-reference{font-size:18px;color:var(--muted);font-weight:800;margin:0}.detail-hero h2{font-size:54px;line-height:.98;color:#071d38;margin:12px 0 0;letter-spacing:-.05em}.detail-price{display:block;margin-top:24px;font-size:48px;line-height:1;color:#0f56d9;letter-spacing:-.05em}.detail-actions-top{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}.detail-specs{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin-top:22px}.detail-specs .detail-line{background:transparent;border:0;border-right:1px solid var(--border);border-radius:0;padding:10px 18px}.detail-specs .detail-line:first-child{padding-left:0}.detail-specs .detail-line:last-child{border-right:0}.detail-specs .detail-line span{font-size:14px;font-weight:900}.detail-specs .detail-line strong{font-size:22px;color:#071d38}.comment-box.compact{margin-top:18px;padding:14px 16px}.comment-box.compact p{margin-top:6px}@media(max-width:900px){.detail-hero{grid-template-columns:1fr}.detail-actions-top{justify-content:flex-start}.detail-hero h2{font-size:40px}.detail-price{font-size:38px}.detail-specs{grid-template-columns:1fr 1fr}.detail-specs .detail-line{border-right:0;border-bottom:1px solid var(--border);padding:12px 0}.compact-product-card .product-title{font-size:23px}.compact-product-card .product-price{font-size:28px}}@media(max-width:560px){.stock-grid{grid-template-columns:1fr}.detail-product-card{padding:22px;border-radius:24px}.detail-hero h2{font-size:34px}.detail-specs{grid-template-columns:1fr}.status-cycle-btn.large{width:100%}.detail-actions-top .ghost{width:100%}}

/* V2.5 — affinage premium des cartes stock */
.stock-grid{
  grid-template-columns:repeat(auto-fill,minmax(245px,1fr));
  gap:12px;
  align-items:stretch;
}
.product-card,
.compact-product-card{
  height:100%;
}
.compact-product-card{
  border-radius:22px;
}
.compact-product-card .product-body{
  min-height:100%;
  display:flex;
  flex-direction:column;
  padding:15px 16px;
}
.product-topline{
  margin-bottom:9px;
}
.product-category{
  font-size:10px;
  letter-spacing:.075em;
}
.product-brand{
  margin:0 0 7px;
  font-size:13px;
}
.compact-product-card .product-title{
  font-size:22px;
  line-height:1.02;
  letter-spacing:-.035em;
}
.product-reference{
  margin:7px 0 0;
  font-size:13px;
}
.compact-product-card .product-price{
  font-size:27px;
  margin:13px 0 14px;
  padding-bottom:13px;
}
.product-specs{
  gap:7px;
}
.product-specs span{
  font-size:10px;
  margin-bottom:4px;
}
.product-specs strong{
  font-size:14px;
}
.compact-product-card .product-comment{
  margin:8px 0 0;
  font-size:12px;
  line-height:1.25;
  -webkit-line-clamp:1;
}
.status-cycle-btn{
  padding:7px 11px;
  border-radius:13px;
  font-size:13px;
  min-width:108px;
}
.compact-product-card .product-actions{
  margin-top:auto;
  padding-top:12px;
  display:grid;
  grid-template-columns:.82fr .98fr auto;
  gap:8px;
  align-items:center;
}
.compact-product-card .product-actions button{
  padding:8px 10px;
  border-radius:12px;
  font-size:13px;
  min-height:38px;
}
.compact-product-card .product-actions .delete-btn{
  font-size:11px;
  padding:6px 4px;
  white-space:nowrap;
}
.form-grid textarea#comment{
  min-height:44px;
  max-height:120px;
  padding-top:10px;
}
.form-grid textarea#comment:placeholder-shown{
  min-height:40px;
}
@media(max-width:900px){
  .stock-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px}
  .compact-product-card .product-title{font-size:20px}
  .compact-product-card .product-price{font-size:24px}
}
@media(max-width:560px){
  .stock-grid{grid-template-columns:1fr}
  .compact-product-card .product-body{padding:15px}
}

/* V2.5.1 — ajustements strictement visuels : typographie unifiée + icônes monochromes */
:root{
  --fs-small:12px;
  --fs-base:14px;
  --fs-large:24px;
}
body,button,input,select,textarea{font-size:var(--fs-base);}
.topbar h1,.card strong,.compact-product-card .product-title,.compact-product-card .product-price,.detail-hero h2,.detail-price{font-size:var(--fs-large)!important;}
.brand span,.sidebar-footer,.nav-btn.small,.card span,.product-category,.product-brand,.product-reference,.product-specs span,.compact-product-card .product-comment,.compact-product-card .product-actions .delete-btn,.detail-category,.detail-reference,.detail-specs .detail-line span,.hint,.small-hint{font-size:var(--fs-small)!important;}
.nav-btn,.primary,.secondary,.ghost,.danger,.file-btn,.status-cycle-btn,.product-specs strong,.detail-specs .detail-line strong,.premium-facts strong{font-size:var(--fs-base)!important;}
.compact-product-card .product-title{line-height:1.08;}
.compact-product-card .product-price{line-height:1;margin:12px 0 13px;}
.detail-hero h2{line-height:1.05;}
.detail-price{line-height:1;margin-top:18px;}

.nav-icon,.button-icon{
  width:18px;
  height:18px;
  display:inline-block;
  flex:0 0 18px;
  background:currentColor;
  -webkit-mask:center / contain no-repeat;
  mask:center / contain no-repeat;
}
.nav-btn.small .nav-icon{width:16px;height:16px;flex-basis:16px;}
.button-icon{width:16px;height:16px;flex-basis:16px;}
.icon-button{display:inline-flex;align-items:center;gap:8px;}
.icon-home{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 10.6 12 3l9 7.6v9.9a1.5 1.5 0 0 1-1.5 1.5H15v-7H9v7H4.5A1.5 1.5 0 0 1 3 20.5v-9.9Z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 10.6 12 3l9 7.6v9.9a1.5 1.5 0 0 1-1.5 1.5H15v-7H9v7H4.5A1.5 1.5 0 0 1 3 20.5v-9.9Z'/%3E%3C/svg%3E");}
.icon-box{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 7.2 12 3l8 4.2v9.6L12 21l-8-4.2V7.2Zm2.2.6L12 10.9l5.8-3.1L12 4.8 6.2 7.8ZM5.5 9.1v6.8l5.8 3.1v-6.8L5.5 9.1Zm7.2 9.9 5.8-3.1V9.1l-5.8 3.1V19Z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 7.2 12 3l8 4.2v9.6L12 21l-8-4.2V7.2Zm2.2.6L12 10.9l5.8-3.1L12 4.8 6.2 7.8ZM5.5 9.1v6.8l5.8 3.1v-6.8L5.5 9.1Zm7.2 9.9 5.8-3.1V9.1l-5.8 3.1V19Z'/%3E%3C/svg%3E");}
.icon-plus{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11 4h2v7h7v2h-7v7h-2v-7H4v-2h7V4Z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11 4h2v7h7v2h-7v7h-2v-7H4v-2h7V4Z'/%3E%3C/svg%3E");}
.icon-settings{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19.4 13.5c.1-.5.1-1 .1-1.5s0-1-.1-1.5l2-1.5-2-3.5-2.4 1a7.8 7.8 0 0 0-2.6-1.5L14 2h-4l-.4 2.5A7.8 7.8 0 0 0 7 6L4.6 5l-2 3.5 2 1.5c-.1.5-.1 1-.1 1.5s0 1 .1 1.5l-2 1.5 2 3.5 2.4-1a7.8 7.8 0 0 0 2.6 1.5L10 22h4l.4-2.5A7.8 7.8 0 0 0 17 18l2.4 1 2-3.5-2-1.5ZM12 15.5A3.5 3.5 0 1 1 12 8a3.5 3.5 0 0 1 0 7.5Z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19.4 13.5c.1-.5.1-1 .1-1.5s0-1-.1-1.5l2-1.5-2-3.5-2.4 1a7.8 7.8 0 0 0-2.6-1.5L14 2h-4l-.4 2.5A7.8 7.8 0 0 0 7 6L4.6 5l-2 3.5 2 1.5c-.1.5-.1 1-.1 1.5s0 1 .1 1.5l-2 1.5 2 3.5 2.4-1a7.8 7.8 0 0 0 2.6 1.5L10 22h4l.4-2.5A7.8 7.8 0 0 0 17 18l2.4 1 2-3.5-2-1.5ZM12 15.5A3.5 3.5 0 1 1 12 8a3.5 3.5 0 0 1 0 7.5Z'/%3E%3C/svg%3E");}
.icon-export{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3 7 8h3v6h4V8h3l-5-5ZM5 14h2v4h10v-4h2v6H5v-6Z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3 7 8h3v6h4V8h3l-5-5ZM5 14h2v4h10v-4h2v6H5v-6Z'/%3E%3C/svg%3E");}

/* V3 cloud/auth additions */
.auth-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: radial-gradient(circle at top left, rgba(24,54,93,.12), transparent 28%), #f6f7f9;
}
.auth-card {
  width: min(440px, 100%);
  background: #fff;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 24px 70px rgba(15,23,42,.12);
}
.auth-brand { margin-bottom: 22px; }
.auth-card h1 { margin: 0 0 8px; font-size: 24px; }
.auth-card p { color: #64748b; }
.auth-form { display: grid; gap: 14px; margin-top: 20px; }
.auth-form label { display:grid; gap: 6px; font-size: 13px; font-weight: 700; color:#334155; }
.auth-message { min-height: 20px; font-size: 13px; }
.config-warning { margin-top: 16px; padding: 12px; border-radius: 14px; background: #fff7ed; color:#9a3412; font-size: 13px; }
.top-actions { display:flex; align-items:center; gap:10px; flex-wrap:wrap; justify-content:flex-end; }
.user-email { font-size: 12px; color:#64748b; max-width: 220px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
