/* ONBOARDING */
.ob-list{display:flex;flex-direction:column;gap:10px;}
.ob-card{background:var(--card);border:1px solid var(--border);border-radius:12px;padding:16px 20px;cursor:pointer;transition:box-shadow .2s,border-color .2s;}
.ob-card:hover{box-shadow:0 4px 16px rgba(0,0,0,.08);border-color:#bfbab3;}
.ob-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:8px;}
.ob-card-name{font-family:'Inter',sans-serif;font-size:14px;font-weight:700;color:var(--ink);}
.ob-card-meta{font-size:11px;color:var(--muted);margin-top:2px;}
.ob-badge{font-size:10px;font-weight:700;padding:3px 10px;border-radius:20px;white-space:nowrap;flex-shrink:0;}
.ob-badge-pending{background:#fff7e6;color:#b05b00;}
.ob-badge-done{background:#e8f8f0;color:#1a7a4a;}
.ob-progress-row{display:flex;align-items:center;gap:10px;}
.ob-progress-track{flex:1;height:6px;background:var(--border);border-radius:3px;overflow:hidden;}
.ob-progress-fill{height:100%;border-radius:3px;background:var(--accent2);transition:width .4s ease;}
.ob-progress-txt{font-size:11px;color:var(--muted);white-space:nowrap;}
.ob-doc-item{display:flex;align-items:center;gap:12px;padding:12px 16px;background:var(--card);border:1px solid var(--border);border-radius:10px;margin-bottom:8px;}
.ob-doc-status{width:20px;height:20px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:11px;flex-shrink:0;}
.ob-doc-status.pending{background:#fff7e6;color:#b05b00;}
.ob-doc-status.done{background:#e8f8f0;color:#1a7a4a;}
.ob-doc-info{flex:1;min-width:0;}
.ob-doc-title{font-family:'Inter',sans-serif;font-size:13px;font-weight:600;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.ob-doc-cat{font-size:11px;color:var(--muted);}
.ob-form-doclist{border:1.5px solid var(--border);border-radius:10px;max-height:280px;overflow-y:auto;background:var(--surface);}
.ob-form-docitem{display:flex;align-items:center;gap:12px;padding:10px 14px;border-bottom:1px solid var(--border);cursor:pointer;transition:background .15s;}
.ob-form-docitem:last-child{border-bottom:none;}
.ob-form-docitem:hover{background:#ebe9e4;}
.ob-form-docitem input[type=checkbox]{width:16px;height:16px;cursor:pointer;accent-color:var(--accent2);}
.ob-form-docitem-info{flex:1;min-width:0;}
.ob-form-docitem-name{font-size:13px;font-weight:500;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.ob-form-docitem-cat{font-size:10px;color:var(--muted);}
@media(max-width:860px){
  .dash-grid{grid-template-columns:1fr 1fr;gap:10px;}
  .dash-chart-row{grid-template-columns:1fr;}
  .main{padding:52px 12px calc(90px + env(safe-area-inset-bottom));width:100%;max-width:100%;box-sizing:border-box;overflow-x:hidden;}
  .layout{display:flex;flex:1;overflow-x:hidden;width:100%;max-width:100%;}
  .sidebar{display:none;}
  .doc-grid{grid-template-columns:1fr!important;width:100%;max-width:100%;overflow:hidden;}
  .doc-card{width:100%;max-width:100%;box-sizing:border-box;height:auto;min-height:130px;}
  .welcome-banner{flex-direction:column;align-items:flex-start;gap:0;padding:18px;max-width:100%;overflow:hidden;box-sizing:border-box;}
  .welcome-banner h2{font-size:17px;}
  .welcome-icon{display:none;}
  .topbar{padding-left:12px;padding-right:12px;padding-top:env(safe-area-inset-top);height:calc(54px + env(safe-area-inset-top));gap:8px;}
  .topbar-user span{display:flex;}
  .page-title{font-size:21px;}
  body{font-size:15px;}
  .mob-more-item{font-size:15px;}
  .nav-item{font-size:15px;}
  .todos-title{font-size:14px;}
  .todos-meta{font-size:12px;}
  .doc-card-title{font-size:13px;}
  .filter-btn{font-size:13px;}
  .login-box{padding:28px 20px;border-radius:16px;margin:12px;max-width:calc(100% - 24px);box-sizing:border-box;}
  .mob-nav{display:block;}
  .todos-title{white-space:normal;}
  .section-title{max-width:100%;overflow:hidden;}
  .todos-list{max-width:100%;overflow:hidden;}
  .todos-item{max-width:100%;box-sizing:border-box;overflow:hidden;}
  .filter-bar{flex-wrap:wrap;}
  #contactCards{grid-template-columns:1fr!important;}
}

