*{ box-sizing:border-box; -webkit-tap-highlight-color:transparent; }

  html,body{
    margin:0; padding:0;
    background:var(--bg);
    color:var(--text);
    font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro Display","Helvetica Neue",Arial,sans-serif;
    -webkit-font-smoothing:antialiased;
    text-rendering:optimizeLegibility;
    height:100%;
    transition:background .4s ease, color .4s ease;
  }

  ::selection{ background:var(--accent); color:#fff; }

  ::-webkit-scrollbar{ width:2px; height:10px; margin-left: 5px; padding-left: 5px;}
  ::-webkit-scrollbar-thumb{ background:#aaa; border-radius:10px;}
  ::-webkit-scrollbar-track{ background:transparent; }

  a{ color:inherit; }

  button{
    font-family:inherit;
    cursor:pointer;
    border:none;
    outline:none;
    background:none;
    color:inherit;
  }
  button:focus-visible, input:focus-visible, textarea:focus-visible, [tabindex]:focus-visible{
    outline: 2px solid var(--accent);
    outline-offset: 2px;
  }

  input,textarea{
    font-family:inherit;
    color:inherit;
    background:transparent;
    border:none;
    outline:none;
  }

  /* ---------- Sidebar + Main layout ---------- */
  .layout{
    display:flex;
    align-items:flex-start;
    min-height:100vh;
  }

  .sidebar{
    width:340px;
    flex-shrink:0;
    height:100vh;
    position:sticky;
    top:0;
    display:flex;
    flex-direction:column;
    padding:20px 16px 20px 20px;
    border-right:1px solid var(--border);
    background:var(--bg-elev);
    overflow-y:auto;
  }
  .sidebar-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin-bottom:10px;
  }
  .sidebar-title{
    font-size:15px;
    font-weight:700;
    letter-spacing:-0.01em;
    font-family: 'pt serif', serif;
    font-size: 19px;
  }
  .sidebar-status{
    justify-content:flex-start;
    margin:0 0 16px 0;
  }
  .sidebar .toolbar{
    flex-direction:column;
    align-items:stretch;
  }
  .sidebar .select-wrap select{
    width:100%;
  }
  .sidebar-close-btn{
    display:none;
    width:32px;height:32px;
    align-items:center; justify-content:center;
    border-radius:8px;
    color:var(--text-secondary);
    flex-shrink:0;
  }
  .sidebar-close-btn svg{ width:16px;height:16px; }
  .sidebar-close-btn:hover{ background:color-mix(in srgb, var(--text) 8%, transparent); }

  .main{
    flex:1;
  }

  @media (max-width:860px){
    .layout{ flex-direction:column; }
    .sidebar{
      width:100%;
      height:auto;
      position:relative;
      border-right:none;
      border-bottom:1px solid var(--border);
      max-height:50vh;
    }
  }

/* ---------- Layout ---------- */
  .app {
    min-height: 100vh;
    max-width: 840px;      /* Restores the proper technical width boundary */
    width: 100%;           /* Directs elements to span out horizontally */
    margin: 0 auto;        /* Perfectly centers the entire layout block on the screen */
    padding: 40px 24px 100px;
    
    /* Center layout children along the vertical axis only if you want it vertically centered */
    display: flex;
    flex-direction: column;
    justify-content: center; 
  }

  /* Force child sections to expand back out to full layout bounds */
  .stats, .composer, .toolbar, .entries {
    width: 100%;
  }



  /* ---------- Hero / status ---------- */
/* ---------- Hero / Status ---------- */
  .hero {
    padding: 40px 0 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers the compound elements vertically */
    width: 100%;
  }

  /* 21st Century Hybrid Logo + Typography Lockup */
  .welcome-heading-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1px; /* Precise Anthropic-style layout gap between logo and text */
    font-size: 2.5rem; /* Matches your 34px-40px structural sizing */
    font-weight: 600;
    letter-spacing: -0.04em;
    color: var(--text);
    margin: 0 0 8px;
  }

  .welcome-logo {
    width: 78px;  /* Scaled explicitly to match the baseline cap-height of H1 typography */
    height: 78px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
  }

  /* Clean up legacy structural styling if .welcome was mapped directly to the h1 */
  .hero h1 {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    font-family: 'pt serif', serif;
  }
  
  .hero p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 15px;
    max-width: 540px;
  }
  
  .status-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    font-family: ui-monospace, "SF Mono", Menlo, monospace;
    font-size: 11.5px;
    color: var(--text-tertiary);
  }
  .dot{
    width:7px;height:7px;border-radius:50%;
    background:var(--text-tertiary);
    transition:background .3s;
  }
  .dot.online{ background:var(--success); }
  .dot.offline{ background:var(--danger); }
  .dot.syncing{ background:var(--accent); animation:pulse 1.1s infinite; }
  @keyframes pulse{ 0%,100%{opacity:1;} 50%{opacity:.4;} }

  .uid-chip{
    display:inline-flex; align-items:center; gap:6px;
    background:var(--bg-elev);
    border:1px solid var(--border);
    padding:3px 10px 3px 8px;
    border-radius:20px;
    cursor:pointer;
    transition:background .2s, transform .15s;
    font-variant-numeric:tabular-nums;
  }
  .uid-chip:hover{ background:var(--accent-soft); }
  .uid-chip:active{ transform:scale(0.96); }
  .uid-chip svg{ width:12px;height:12px; opacity:.7; }

  /* ---------- Stats ---------- */
  .stats{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:10px;
    margin: 18px 0 6px;
    background-color: #fff;
    border-radius: 20px;
  }
  .stat-card{
    padding:14px 14px 12px;
    border-right: 6px solid var(--bg);
  }

  .stat-card:nth-child(3) {
    border-right: none;
  }

  .stat-card .num{
    font-size:22px;
    font-weight:700;
    letter-spacing:-0.02em;
    font-variant-numeric:tabular-nums;
  }
  .stat-card .lbl{
    font-size:11.5px;
    color:var(--text-tertiary);
    font-weight:500;
    margin-top:2px;
  }

  /* ---------- Composer ---------- */
  .composer{
    border-radius:var(--radius-lg);
    padding:18px;
    margin:20px 0 22px;
    background-color: #fff;
  }
  .composer.focused{
    border-color:var(--accent);
  }
  .composer-title{
    font-size:13px;
    font-weight:650;
    color:var(--text-secondary);
    text-transform:uppercase;
    letter-spacing:.04em;
    margin-bottom:12px;
  }
  .field{
    margin-bottom:10px;
  }
  .field label{
    display:block;
    font-size:12px;
    color:var(--text-tertiary);
    font-weight:600;
    margin-bottom:5px;
  }
  .field input, .field textarea{
    width:100%;
    padding:11px 13px;
    background: transparent;
    border:1px solid var(--border);
    border-radius:var(--radius-sm);
    font-size:15px;
    transition:border-color .18s, background .18s;
  }
  html[data-theme="dark"] .field input, html[data-theme="dark"] .field textarea{
    background: rgba(255,255,255,0.04);
  }
  .field input:focus, .field textarea:focus{
    border-color:var(--accent);
    background:var(--bg-elev);
  }
  .field textarea{
    resize:vertical;
    min-height:76px;
    line-height:1.4;
    font-family: ui-monospace, "SF Mono", Menlo, monospace;
    font-size:13.5px;
  }
  .field-meta{
    display:flex; justify-content:space-between; align-items:center;
    margin-top:4px;
  }
  .char-count{ font-size:11px; color:var(--text-tertiary); font-variant-numeric:tabular-nums; }
  .fmt-badge{
    font-size:10.5px;
    font-weight:700;
    padding:2px 7px;
    border-radius:6px;
    letter-spacing:.03em;
  }
  .fmt-json{ background:var(--success-soft); color:var(--success); }
  .fmt-text{ background:var(--accent-soft); color:var(--accent); }

  .composer-actions{
    display:flex;
    justify-content:flex-end;
    gap:10px;
    margin-top:14px;
  }

  .btn{
    padding:10px 18px;
    border-radius:980px;
    font-size:14.5px;
    font-weight:600;
    transition: transform .12s ease, background .18s ease, box-shadow .18s ease, opacity .18s;
    display:inline-flex; align-items:center; gap:6px;
  }
  .btn:active{ transform:scale(0.96); }
  .btn-primary{
    background:var(--accent);
    color:#fff;
  }
  .btn-primary:hover{ background:var(--accent-hover); }
  .btn-primary:disabled{ opacity:.4; cursor:not-allowed; transform:none; box-shadow:none; }
  .btn-ghost{
    background: color-mix(in srgb, var(--text) 6%, transparent);
    color:var(--text);
  }
  .btn-ghost:hover{ background: color-mix(in srgb, var(--text) 10%, transparent); }
  .btn-danger{ background:var(--danger-soft); color:var(--danger); }
  .btn-danger:hover{ background: color-mix(in srgb, var(--danger) 20%, transparent); }
  .btn svg{ width:15px;height:15px; }
  .btn.loading{ pointer-events:none; }
  .spinner{
    width:14px;height:14px;
    border-radius:50%;
    border:2px solid rgba(255,255,255,0.4);
    border-top-color:#fff;
    animation:spin .7s linear infinite;
  }
  .spinner.dark{ border:2px solid rgba(0,0,0,0.15); border-top-color:var(--text); }
  @keyframes spin{ to{ transform:rotate(360deg); } }

  .top {
    background-color: #fff;
    padding: 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
  }

  /* ---------- Toolbar ---------- */
  .toolbar{
    display:flex;
    gap:10px;
    align-items:center;
    margin-bottom:14px;
  }
  .search-wrap{
    flex:1;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    background:var(--bg-elev);
    border:1px solid var(--border);
    border-radius:12px;
    padding:9px 12px;
  }
  .search-wrap svg{ width:15px;height:15px; color:var(--text-tertiary); flex-shrink:0; }
  .search-wrap input{ flex:1; font-size:14.5px; }
  .search-wrap .clear-x{ color:var(--text-tertiary); opacity:.7; }
  .search-wrap .clear-x:hover{ opacity:1; }

  .select-wrap select{
    -webkit-appearance:none; appearance:none;
    background:var(--bg-elev);
    border:1px solid var(--border);
    border-radius:12px;
    padding:9px 30px 9px 13px;
    font-size:13.5px;
    font-weight:600;
    box-shadow:var(--card-shadow);
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23888'/%3E%3C/svg%3E");
    background-repeat:no-repeat;
    background-position:right 12px center;
  }

  /* ---------- Entries list ---------- */
  .section-label{
    font-size:12.5px;
    font-weight:650;
    color:var(--text-tertiary);
    text-transform:uppercase;
    letter-spacing:.05em;
    margin: 4px 0 10px 4px;
  }

  .entries{ display:flex; flex-direction:column; gap:10px; max-height: 60dvh; overflow-y: scroll; }

  .entry{
    background:var(--bg-elev);
    border:1px solid var(--border);
    border-radius:var(--radius-md);
    padding:14px 16px;
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s;
    animation: rise .35s cubic-bezier(.2,.8,.2,1) both;
  }
  @keyframes rise{
    from{ opacity:0; transform:translateY(10px) scale(.98); }
    to{ opacity:1; transform:translateY(0) scale(1); }
  }
  .entry.removing{
    animation: fall .3s ease forwards;
  }
  @keyframes fall{
    to{ opacity:0; transform:translateY(6px) scale(.96); margin-top:-70px; padding-top:0; padding-bottom:0; max-height:0; }
  }

  .entry-head{
    display:flex; align-items:flex-start; justify-content:space-between; gap:10px;
  }
  .entry-label{
    font-size:15.5px;
    font-weight:650;
    letter-spacing:-0.01em;
    word-break:break-word;
    display:flex; align-items:center; gap:8px;
  }
  .entry-label .fmt-badge{ flex-shrink:0; }
  .entry-time{
    font-size:11.5px;
    color:var(--text-tertiary);
    white-space:nowrap;
    margin-top:2px;
    font-variant-numeric:tabular-nums;
  }


  .snippet-modal{ min-width: 660px; }
.snippet-code{
  background: var(--bg-input, #f4f3ef);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12.5px;
  line-height: 1.5;
  overflow-x: auto;
  white-space: pre;
  margin: 4px 0;
  max-height: 420px;
  overflow-y: auto;
}

.snippet-modal h2 {
  font-family: 'pt serif', serif;
  font-size: 24px;
}


  .entry-body{
    margin-top:8px;
    font-size:14px;
    color:var(--text-secondary);
    white-space:pre-wrap;
    word-break:break-word;
    line-height:1.5;
    font-family: ui-monospace,"SF Mono",Menlo,monospace;
    font-size:13.2px;
    max-height:80px;
    overflow:hidden;
    position:relative;
  }
  .entry-body.expanded{ max-height:none; }
  .entry-body.clamped::after{
    content:"";
    position:absolute; left:0; right:0; bottom:0; height:34px;
    background:linear-gradient(to bottom, transparent, var(--bg-elev));
  }
  .expand-btn{
    font-size:12px; font-weight:650; color:var(--accent); margin-top:4px;
  }

  .entry-actions{
    display:flex; gap:6px; margin-top:12px;
  }
  .mini-btn{
    display:flex; align-items:center; gap:5px;
    font-size:12.5px; font-weight:600;
    padding:10px 16px;
    border-radius:8px;
    background: color-mix(in srgb, var(--text) 5%, transparent);
    color:var(--text-secondary);
    transition:background .15s, color .15s;
  }
  .mini-btn:hover{ background:color-mix(in srgb, var(--text) 9%, transparent); color:var(--text); }
  .mini-btn.danger:hover{ background:var(--danger-soft); color:var(--danger); }
  .mini-btn.copied{ background:var(--success-soft); color:var(--success); }
  .mini-btn svg{ width:13px;height:13px; }

  /* Editing state */
  .entry.editing .entry-body-static{ display:none; }
  .entry .edit-form{ display:none; margin-top:10px; }
  .entry.editing .edit-form{ display:block; }
  .entry.editing .entry-actions .view-only{ display:none; }

  /* ---------- Empty state ---------- */
  .empty-state{
    text-align:center;
    padding: 60px 20px 40px;
    color:var(--text-tertiary);
  }
  .empty-state .icon{
    font-size:44px;
    margin-bottom:14px;
    opacity:.8;
  }
  .empty-state h3{
    font-size:17px; color:var(--text); margin:0 0 6px; font-weight:650;
  }
  .empty-state p{ font-size:14px; margin:0; max-width:280px; margin:0 auto; }

  /* Skeleton loading */
  .skeleton{
    background:var(--bg-elev);
    border:1px solid var(--border);
    border-radius:var(--radius-md);
    padding:16px;
    box-shadow:var(--card-shadow);
  }
  .skel-line{
    height:12px;
    border-radius:6px;
    background: linear-gradient(90deg, color-mix(in srgb, var(--text) 6%, transparent) 25%, color-mix(in srgb, var(--text) 10%, transparent) 37%, color-mix(in srgb, var(--text) 6%, transparent) 63%);
    background-size:400% 100%;
    animation: shimmer 1.4s ease infinite;
    margin-bottom:8px;
  }
  @keyframes shimmer{ 0%{background-position:100% 50%;} 100%{background-position:0 50%;} }

  /* ---------- Toast ---------- */
  .toast-stack{
    position:fixed;
    bottom:26px;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    flex-direction:column;
    gap:8px;
    z-index:999;
    align-items:center;
    width:100%;
    padding:0 20px;
  }
  .toast{
    background: color-mix(in srgb, var(--bg-elev) 92%, transparent);
    -webkit-backdrop-filter:var(--blur);
    backdrop-filter:var(--blur);
    color:var(--text);
    padding:11px 18px;
    border-radius:14px;
    font-size:13.5px;
    font-weight:600;
    border:1px solid var(--border);
    display:flex; align-items:center; gap:8px;
    animation: toast-in .35s cubic-bezier(.2,.9,.25,1) both;
    max-width:400px;
  }
  .toast.out{ animation: toast-out .25s ease forwards; }
  @keyframes toast-in{ from{ opacity:0; transform:translateY(14px) scale(.95);} to{opacity:1; transform:translateY(0) scale(1);} }
  @keyframes toast-out{ to{ opacity:0; transform:translateY(8px) scale(.95);} }
  .toast .dot-icon{ width:8px;height:8px;border-radius:50%; flex-shrink:0; }
  .toast.success .dot-icon{ background:var(--success); }
  .toast.error .dot-icon{ background:var(--danger); }
  .toast.info .dot-icon{ background:var(--accent); }

  /* ---------- Modal (confirm / user id / export) ---------- */
  .modal-overlay{
    position:fixed; inset:0;
    background:rgba(0,0,0,0.35);
    -webkit-backdrop-filter:blur(6px);
    backdrop-filter:blur(6px);
    display:flex; align-items:center; justify-content:center;
    z-index:900;
    padding:20px;
    animation:overlay-in .2s ease both;
  }
  @keyframes overlay-in{ from{opacity:0;} to{opacity:1;} }
  .modal{
    background:var(--bg-elev);
    border-radius:var(--radius-lg);
    padding:24px;
    max-width:420px;
    width:100%;
    animation: modal-in .3s cubic-bezier(.2,.9,.2,1) both;
    border:1px solid var(--border);
  }
  @keyframes modal-in{ from{ opacity:0; transform:scale(.92) translateY(10px);} to{opacity:1; transform:scale(1) translateY(0);} }
  .modal h2{ margin:0 0 8px; font-size:19px; letter-spacing:-0.01em; }
  .modal p{ margin:0 0 18px; font-size:14px; color:var(--text-secondary); line-height:1.5; }
  .modal-actions{ display:flex; justify-content:flex-end; gap:10px; }
  .modal textarea.uid-edit{
    width:100%; padding:11px; border-radius:10px; border:1px solid var(--border);
    font-family:ui-monospace,monospace; font-size:13px; margin-bottom:14px;
    background:color-mix(in srgb, var(--bg) 60%, transparent);
  }

  /* Footer */
  .footer{
    text-align:center;
    color:var(--text-tertiary);
    font-size:12px;
    margin-top:40px;
    line-height:1.6;
  }
  .footer a{ color:var(--accent); font-weight:600; text-decoration:none; }

  @media (max-width:480px){
    .hero h1{ font-size:28px; }
    .stats{ grid-template-columns:repeat(3,1fr); gap:8px; }
    .stat-card{ padding:12px 10px; }
    .stat-card .num{ font-size:19px; }
    .brand span.name{ display:none; }
  }

  @media (prefers-reduced-motion: reduce){
    *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; }
  }

  /* =========================================================
     ADDITIONS: Preloader, Mobile Hamburger Drawer, Logo Intro
     (Desktop/laptop layout is untouched — everything mobile
     specific lives behind the max-width:860px query.)
     ========================================================= */

  /* ---------- Preloader ---------- */
  .preloader{
    position:fixed;
    inset:0;
    z-index:3000;
    background:var(--bg);
    display:flex;
    align-items:center;
    justify-content:center;
    transition:opacity .45s ease, visibility .45s ease;
  }
  .preloader.hide{
    opacity:0;
    visibility:hidden;
    pointer-events:none;
  }
  .preloader-inner{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:16px;
  }
  .preloader-logo{
    width:44px;
    height:44px;
    object-fit:contain;
    opacity:.9;
    animation: preloaderPulse 1.3s ease-in-out infinite;
  }
  @keyframes preloaderPulse{
    0%,100%{ transform:scale(1); opacity:.9; }
    50%{ transform:scale(1.08); opacity:1; }
  }
  .preloader-spinner{
    width:26px;
    height:26px;
    border-radius:50%;
    border:2.5px solid color-mix(in srgb, var(--text) 12%, transparent);
    border-top-color:var(--accent);
    animation:spin .8s linear infinite;
  }

/* ---------- Logo intro animation (desktop + mobile) ---------- */
  .welcome-heading-wrapper {
    overflow: hidden;
    display: flex;
    align-items: center;
    /* Use flex-start so its final resting place is on the left edge */
    justify-content: flex-start; 
    position: relative;
    width: 100%;
  }

  .welcome-logo.logo-intro {
    /* Animates both rotation and positioning simultaneously */
    animation: logoSpinAndMove 1.9s cubic-bezier(.22,.68,.24,1) both;
    transform-origin: 50% 50%;
  }

  @keyframes logoSpinAndMove {
    from { 
      /* Starts dead center of the screen (50% of viewport width minus half the logo width) */
      transform: translateX(calc(10vw - 24px)) rotate(90deg); 
    }
    to { 
      /* Glides to its natural position on the left and finishes the spin */
      transform: translateX(0) rotate(0deg); 
    }
  }

  .welcome-text.text-reveal {
    /* Removed display: none. Use opacity and visibility for smooth animation */
    opacity: 0;
    visibility: hidden;
    transform: translateX(-15px);
    
    /* Delayed exactly until the logo settles (1.85s - 1.9s) */
    animation: textReveal .55s ease forwards;
    animation-delay: 1.85s;
    white-space: nowrap;
    margin-left: 12px; /* Smooth spacing between logo and text */
  }

  @keyframes textReveal {
    to { 
      opacity: 1; 
      visibility: visible;
      transform: translateX(0); 
    }
  }

  /* Accessibility fallback */
  @media (prefers-reduced-motion: reduce) {
    .welcome-logo.logo-intro { 
      animation: none; 
      transform: none;
    }
    .welcome-text.text-reveal { 
      animation: none; 
      opacity: 1; 
      visibility: visible;
      transform: none; 
    }
  }
  /* ---------- Mobile hamburger button ---------- */
  .hamburger-btn{
    display:none;
    position:fixed;
    top:14px;
    left:14px;
    z-index:600;
    width:40px;
    height:40px;
    align-items:center;
    justify-content:center;
    background:var(--bg-elev);
    border:1px solid var(--border);
    border-radius:10px;
    box-shadow:var(--card-shadow);
    color:var(--text);
  }
  .hamburger-btn:active{ transform:scale(.94); }
  .hamburger-btn svg{ width:19px; height:19px; }

  /* ---------- Mobile sidebar overlay backdrop ---------- */
  .sidebar-overlay{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.42);
    -webkit-backdrop-filter:blur(2px);
    backdrop-filter:blur(2px);
    z-index:450;
    opacity:0;
    visibility:hidden;
    transition:opacity .25s ease, visibility .25s ease;
  }
  .sidebar-overlay.show{
    display:block;
    opacity:1;
    visibility:visible;
  }

  /* ---------- Mobile-only layout changes ---------- */
  @media (max-width:860px){
    .hamburger-btn{ display:flex; }
    .sidebar-close-btn{ display:flex; }

    .sidebar{
      position:fixed;
      top:0;
      left:0;
      height:100dvh;
      max-height:none;
      width:85%;
      max-width:340px;
      transform:translateX(-100%);
      transition:transform .32s cubic-bezier(.2,.8,.2,1);
      z-index:500;
      border-right:1px solid var(--border);
      border-bottom:none;
      box-shadow:0 0 0 rgba(0,0,0,0);
    }
    .sidebar.open{
      transform:translateX(0);
      box-shadow:0 0 40px rgba(0,0,0,0.25);
    }

    .app{ padding-left: 40px; }

    .welcome-heading-wrapper{ font-size:1.7rem; }
    .welcome-logo{ width:52px; height:52px; }

    .stats{ gap:8px; }
    .stat-card{ padding:11px 8px; }
    .stat-card .num{ font-size:18px; }

    .snippet-modal{ min-width:0; width:100%; }

    .toast-stack{ bottom:16px; padding:0 14px; }
    .toast{ max-width:100%; }
  }