:root{
    --sidebar-w: 240px;
    --topbar-h: 56px;
    --bg: #f1f1f1;
    --panel: #ffffff;
    --border: #e3e3e3;
    --text: #1a1a1a;
    --text-dim: #6b6b6b;
    --accent-dark: #0f0f0f;
  }
  *{box-sizing:border-box;}
  body{
    margin:0;
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
    background:var(--bg);
    color:var(--text);
  }

  /* ===== Top bar ===== */
  .topbar{
    height:var(--topbar-h);
    background:#101010;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 16px;
    position:fixed;
    top:0; left:0; right:0;
    z-index:20;
  }
  .topbar-left{display:flex;align-items:center;gap:18px;}
  .logo{
    display:flex;align-items:center;gap:8px;color:#fff;font-weight:600;font-size:15px;
  }
  .logo-badge{
    width:22px;height:22px;background:#95bf47;border-radius:5px;
    display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:800;color:#fff;
  }
  .badge-pill{
    background:#2b2b2b;color:#bdbdbd;font-size:11px;padding:2px 8px;border-radius:12px;
  }
  .search-wrap{
    flex:1;
    max-width:640px;
    margin:0 40px;
  }
  .search-box{
    background:#1c1c1c;
    border:1px solid #2d2d2d;
    border-radius:8px;
    height:36px;
    display:flex;
    align-items:center;
    padding:0 12px;
    color:#8f8f8f;
    font-size:13.5px;
    gap:8px;
  }
  .search-box svg{flex-shrink:0;}
  .search-box .kbd{
    margin-left:auto;
    display:flex;
    gap:4px;
    color:#6d6d6d;
    font-size:11px;
  }
  .kbd span{
    background:#2c2c2c;
    padding:1px 6px;
    border-radius:4px;
  }
  .topbar-right{display:flex;align-items:center;gap:14px;}
  .icon-btn{
    width:30px;height:30px;border-radius:7px;
    display:flex;align-items:center;justify-content:center;
    color:#c9c9c9;cursor:pointer;
  }
  .icon-btn:hover{background:#232323;}
  .store-pill{
    display:flex;align-items:center;gap:8px;
    color:#e8e8e8;font-size:13px;font-weight:500;
    cursor:pointer;
  }
  .store-avatar{
    width:24px;height:24px;border-radius:6px;background:#4ade80;
    display:flex;align-items:center;justify-content:center;
    font-size:11px;font-weight:700;color:#0c2a12;
  }

  /* ===== Layout ===== */
  .shell{
    display:flex;
    padding-top:var(--topbar-h);
    min-height:100vh;
  }

  /* ===== Sidebar ===== */
  .sidebar{
    width:var(--sidebar-w);
    background:#f1f1f1;
    padding:14px 10px;
    position:fixed;
    top:var(--topbar-h);
    bottom:0;
    left:0;
    display:flex;
    flex-direction:column;
    overflow-y:auto;
  }
  .nav-item{
    display:flex;
    align-items:center;
    gap:10px;
    padding:8px 10px;
    border-radius:7px;
    color:#3c3c3c;
    font-size:13.5px;
    font-weight:500;
    text-decoration:none;
    cursor:pointer;
    margin-bottom:1px;
  }
  .nav-item svg{flex-shrink:0;opacity:.85;}
  .nav-item:hover{background:#e4e4e4;}
  .nav-item.active{background:#e4e4e4;}
  .nav-section-label{
    font-size:11px;
    color:#8a8a8a;
    text-transform:none;
    padding:16px 10px 6px;
    display:flex;
    align-items:center;
    justify-content:space-between;
  }
  .nav-add{
    display:flex;align-items:center;gap:10px;
    padding:8px 10px;color:#3c3c3c;font-size:13.5px;font-weight:500;cursor:pointer;border-radius:7px;
  }
  .nav-add:hover{background:#e4e4e4;}
  .sidebar-bottom{
    margin-top:auto;
  }

  /* ===== Main ===== */
  .main{
    margin-left:var(--sidebar-w);
    flex:1;
    padding:28px 40px 80px;
    position:relative;
  }
  .promo-banner{
    position:absolute;
    top:24px;
    right:40px;
    display:flex;
    align-items:center;
    background:#101010;
    border-radius:24px;
    overflow:hidden;
    font-size:13px;
  }
  .promo-banner .left{
    display:flex;align-items:center;gap:8px;
    color:#f2f2f2;
    padding:8px 16px;
  }
  .dot{width:8px;height:8px;border-radius:50%;background:#c8f169;}
  .promo-banner .right{
    background:#fff;
    color:#101010;
    font-weight:600;
    padding:9px 18px;
    cursor:pointer;
  }

  .welcome{
    text-align:center;
    margin:70px auto 40px;
  }
  .welcome h1{
    font-size:26px;
    font-weight:500;
    color:#8f8f8f;
    margin:0 0 4px;
  }
  .welcome h2{
    font-size:26px;
    font-weight:600;
    color:#151515;
    margin:0;
  }

  .prompt-box{
    max-width:640px;
    margin:0 auto 70px;
    background:#fff;
    border:1px solid var(--border);
    border-radius:14px;
    display:flex;
    align-items:center;
    padding:8px 10px 8px 16px;
    box-shadow:0 1px 2px rgba(0,0,0,.04);
  }
  .prompt-icon{
    width:26px;height:26px;border-radius:50%;
    background:linear-gradient(135deg,#7b6cf6,#c46cf6);
    display:flex;align-items:center;justify-content:center;
    margin-right:10px;font-size:13px;
  }
  .prompt-box input{
    flex:1;
    border:none;
    outline:none;
    font-size:14.5px;
    color:#333;
    background:transparent;
  }
  .prompt-box input::placeholder{color:#9c9c9c;}
  .prompt-actions{display:flex;align-items:center;gap:8px;}
  .prompt-plus{
    width:30px;height:30px;border-radius:50%;border:1px solid var(--border);
    display:flex;align-items:center;justify-content:center;color:#666;cursor:pointer;
  }
  .prompt-send{
    width:30px;height:30px;border-radius:50%;background:#f0f0f0;
    display:flex;align-items:center;justify-content:center;color:#999;cursor:pointer;
  }

  /* ===== Cards ===== */
  .cards-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:24px;
    max-width:960px;
    margin:0 auto;
  }
  .card{
    background:#fff;
    border:1px solid var(--border);
    border-radius:14px;
    padding:24px;
  }
  .card h3{
    font-size:16px;
    margin:0 0 6px;
    font-weight:600;
  }
  .card p{
    font-size:13.5px;
    color:var(--text-dim);
    margin:0 0 20px;
    line-height:1.5;
  }
  .card-visual{
    height:170px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:16px;
    margin-bottom:20px;
    position:relative;
  }
  .btn-dark{
    background:#101010;
    color:#fff;
    border:none;
    border-radius:8px;
    padding:9px 16px;
    font-size:13.5px;
    font-weight:500;
    cursor:pointer;
  }
  .btn-dark:hover{background:#262626;}

  /* product visual */
  .prod-sweater{
    width:110px;height:130px;border-radius:10px;overflow:hidden;
    background:#efe9dd;display:flex;align-items:center;justify-content:center;
    box-shadow:0 4px 10px rgba(0,0,0,.06);
    transform:rotate(-4deg);
  }
  .prod-sweater .txt{
    font-family:Georgia,serif;font-size:9px;letter-spacing:1px;color:#0c3d21;font-weight:700;
    border:1.5px solid #0c3d21;padding:3px 6px;border-radius:3px;
  }
  .prod-placeholder{
    width:100px;height:130px;border-radius:10px;background:#fff;
    border:1.5px dashed #d8d8d8;
    display:flex;align-items:center;justify-content:center;
    color:#bdbdbd;font-size:22px;font-weight:300;
    z-index:2;
    box-shadow:0 4px 14px rgba(0,0,0,.05);
  }
  .prod-chair{
    width:110px;height:135px;
    display:flex;align-items:flex-end;justify-content:center;
    transform:rotate(4deg);
  }
  .chair-shape{
    width:80px;height:100px;
    background:linear-gradient(160deg,#3fae7a,#1f8a5c);
    clip-path:polygon(10% 0%, 90% 0%, 100% 30%, 85% 100%, 15% 100%, 0% 30%);
    opacity:.9;
    box-shadow:0 6px 14px rgba(0,0,0,.08);
  }

  /* theme visual */
  .theme-stack{
    position:relative;
    width:100%;
    height:100%;
  }
  .theme-card{
    position:absolute;
    width:96px;height:130px;
    border-radius:8px;
    background:#fff;
    box-shadow:0 4px 14px rgba(0,0,0,.08);
    overflow:hidden;
    top:20px;
  }
  .theme-card.left{left:22%;transform:rotate(-8deg);background:#f2e4d8;}
  .theme-card.right{right:22%;transform:rotate(8deg);background:#e94e1b;}
  .theme-card.center{
    left:50%;top:8px;transform:translateX(-50%);
    width:110px;height:145px;
    display:flex;align-items:center;justify-content:center;
    background:#fff;
    border:1px solid #eee;
  }
  .aa-icon{
    width:44px;height:44px;background:#1a1a1a;color:#fff;border-radius:8px;
    display:flex;align-items:center;justify-content:center;font-weight:700;font-size:15px;
  }
  .dots-col{
    position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
    display:flex;flex-direction:column;gap:6px;
  }
  .dots-col span{width:6px;height:6px;border-radius:50%;background:#ccc;}

  @media (max-width: 900px){
    .cards-row{grid-template-columns:1fr;}
    .search-wrap{display:none;}
  }
