@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@600;700&display=swap');

:root {
  --bb-primary: #283f66;
  --bb-primary-hover: #1f3351;
  --bb-accent: #4c9a9a;
  --bb-accent-muted: #2b7a78;
  --bb-bg: #f4f6f9;
  --bb-text: #1a1a1a;
  --bb-text-sec: #4f4f4f;
  --bb-text-muted: #7a7a7a;
  --bb-error: #d9534f;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', -apple-system, sans-serif; background: #f5f5f5; color: var(--bb-text); min-height: 100vh; overflow: hidden; }
h1,h2,h3,h4 { font-family: 'Poppins','Segoe UI',sans-serif; }

/* ========== BACKBONE TOPBAR ========== */
.topbar {
  background: var(--bb-primary); color: #fff;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.5rem; height: 48px; z-index: 50; position: relative;
}
.topbar-brand { display: flex; align-items: center; gap: 0.75rem; }
.topbar-brand img { height: 28px; }
.topbar-brand span { font-family: 'Poppins',sans-serif; font-weight: 600; font-size: 0.95rem; }
.topbar-right { display: flex; align-items: center; gap: 1.25rem; font-size: 0.8rem; }
.topbar-right a { color: rgba(255,255,255,.75); text-decoration: none; }
.topbar-right a:hover { color: #fff; }

/* ========== LANDING ========== */
.landing-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; height: 64px;
  padding: 0 2rem; background: rgba(244,246,249,.8); backdrop-filter: blur(12px);
}
.landing-nav img { height: 36px; width: auto; }
.landing { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100vh; text-align: center; padding: 2rem; padding-top: 80px; }
.landing h1 { font-size: 1.85rem; color: var(--bb-primary); margin-bottom: 0.5rem; }
.landing .subtitle { color: var(--bb-text-sec); font-size: 1.05rem; max-width: 560px; margin-bottom: 1.5rem; line-height: 1.65; }
.landing .desc { color: var(--bb-text-muted); font-size: 0.9rem; max-width: 520px; line-height: 1.6; margin-bottom: 2.25rem; }

/* ========== LOGIN ========== */
.login-wrap { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 2rem; }
.login-card { background: #fff; border-radius: 8px; padding: 2.5rem; width: 100%; max-width: 380px; box-shadow: 0 2px 16px rgba(0,0,0,.08); }
.login-card img { height: 44px; margin-bottom: 1.5rem; }
.login-card h2 { font-size: 1.25rem; margin-bottom: 1.25rem; color: var(--bb-primary); }
.form-group { margin-bottom: 0.875rem; }
.form-group label { display: block; font-weight: 500; font-size: 0.8rem; margin-bottom: 0.25rem; color: var(--bb-text-sec); }
.form-group input, .form-group select {
  width: 100%; padding: 0.5rem 0.65rem; border: 1.5px solid #ddd; border-radius: 4px;
  font-family: inherit; font-size: 0.875rem; color: var(--bb-text); transition: border-color .15s;
}
.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--bb-accent); }
.flash-error { background: #fdecea; color: var(--bb-error); border-radius: 4px; padding: 0.5rem 0.65rem; margin-bottom: 0.875rem; font-size: 0.8rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.5rem 1.25rem; border: none; border-radius: 4px; font-family: inherit; font-weight: 600; font-size: 0.875rem; cursor: pointer; text-decoration: none; }
.btn-primary { background: var(--bb-primary); color: #fff; }
.btn-primary:hover { background: var(--bb-primary-hover); }

/* ========== APP LAYOUT ========== */
.app-container { display: flex; height: calc(100vh - 48px); }

/* --- Icon Sidebar --- */
.app-sidebar {
  width: 160px; background: #f3f2f1; border-right: 1px solid #edebe9;
  display: flex; flex-direction: column;
  padding: 8px 0; gap: 2px; flex-shrink: 0;
}
.sidebar-btn {
  width: 100%; height: 38px; border: none; border-radius: 0;
  background: transparent; cursor: pointer;
  display: flex; flex-direction: row; align-items: center;
  gap: 10px; color: #605e5c; font-size: 0.8rem; font-family: inherit;
  transition: background .1s; padding: 0 14px;
}
.sidebar-btn svg { width: 18px; height: 18px; fill: #605e5c; flex-shrink: 0; }
.sidebar-btn:hover { background: #e1dfdd; }
.sidebar-btn.active { background: #fff; box-shadow: inset 3px 0 0 var(--bb-primary); color: var(--bb-primary); font-weight: 600; }
.sidebar-btn.active svg { fill: var(--bb-primary); }
.sidebar-spacer { flex: 1; }

/* --- Main screens --- */
.app-main { flex: 1; overflow: hidden; position: relative; }
.screen { display: none; height: 100%; }
.screen.active { display: flex; }

/* ====================================================
   SETTINGS SCREEN
   ==================================================== */
.settings-screen { flex-direction: column; background: #fff; }
.settings-header { padding: 24px 32px 0; }
.settings-header h2 { font-size: 1.3rem; color: var(--bb-primary); margin-bottom: 4px; }
.settings-header p { font-size: 0.85rem; color: #605e5c; }
.settings-body { padding: 24px 32px; max-width: 560px; }
.settings-field { margin-bottom: 1.25rem; }
.settings-field label { display: block; font-weight: 600; font-size: 0.8rem; color: #323130; margin-bottom: 6px; }
.settings-field .field-desc { font-size: 0.75rem; color: #605e5c; margin-bottom: 6px; }
.settings-field input {
  width: 100%; padding: 8px 10px; border: 1px solid #c8c6c4; border-radius: 4px;
  font-family: inherit; font-size: 0.85rem; color: #323130;
}
.settings-field input:focus { outline: none; border-color: #0078d4; }
.settings-row { display: flex; gap: 8px; align-items: flex-start; }
.settings-row input { flex: 1; }
.settings-btn {
  padding: 8px 16px; border: 1px solid #c8c6c4; border-radius: 4px;
  background: #fff; font-family: inherit; font-size: 0.8rem; color: #323130;
  cursor: pointer; white-space: nowrap; height: 35px;
}
.settings-btn:hover { background: #f3f2f1; }
.settings-btn-primary {
  padding: 8px 16px; border: none; border-radius: 4px;
  background: var(--bb-primary); color: #fff; font-family: inherit;
  font-size: 0.8rem; cursor: pointer; white-space: nowrap; height: 35px;
}
.settings-btn-primary:hover { background: var(--bb-primary-hover); }
.settings-status { font-size: 0.75rem; color: #107c41; margin-top: 4px; display: none; }
.settings-saved { display: flex; align-items: center; gap: 6px; margin-top: 16px; padding: 8px 12px; background: #dff6dd; border-radius: 4px; font-size: 0.8rem; color: #107c41; display: none; }

/* ====================================================
   SHAREPOINT SCREEN
   ==================================================== */
.sp-screen { flex-direction: row; background: #fff; }

/* SP top navbar */
.sp-main { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.sp-navbar {
  background: #323130; display: flex; align-items: center;
  padding: 0 12px; height: 48px; gap: 12px; flex-shrink: 0;
}
.sp-waffle { color: #fff; font-size: 1.1rem; cursor: default; }
.sp-nav-logo { color: #fff; font-size: 0.9rem; font-weight: 600; }
.sp-search {
  flex: 1; max-width: 400px; margin: 0 auto;
  display: flex; align-items: center;
  background: #3b3a39; border-radius: 4px; padding: 0 10px; height: 32px;
}
.sp-search svg { width: 14px; height: 14px; fill: #a19f9d; flex-shrink: 0; }
.sp-search input {
  border: none; background: transparent; color: #d2d0ce;
  font-size: 0.8rem; padding: 0 8px; width: 100%; outline: none; font-family: inherit;
}
.sp-search input::placeholder { color: #a19f9d; }
.sp-nav-icons { display: flex; gap: 4px; margin-left: auto; }
.sp-nav-icon { color: #d2d0ce; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; cursor: default; font-size: 0.85rem; }
.sp-avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--bb-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 600; }

/* SP left nav */
.sp-leftnav {
  width: 200px; border-right: 1px solid #edebe9; padding: 8px 0;
  flex-shrink: 0; overflow-y: auto;
}
.sp-leftnav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 16px; font-size: 0.8rem; color: #323130;
  cursor: default; border-radius: 0;
}
.sp-leftnav-item:hover { background: #f3f2f1; }
.sp-leftnav-item.active { background: #e8e4f0; font-weight: 600; }
.sp-leftnav-item svg { width: 16px; height: 16px; fill: #605e5c; flex-shrink: 0; }
.sp-leftnav-item.edit-link { color: #0078d4; margin-top: 8px; }
.sp-leftnav-item.edit-link svg { fill: #0078d4; }

/* SP site header */
.sp-site-header {
  display: flex; align-items: center; padding: 12px 20px; gap: 12px;
}
.sp-site-icon {
  width: 40px; height: 40px; border-radius: 4px;
  background: #c4314b; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem; flex-shrink: 0;
}
.sp-site-name { font-size: 1.15rem; font-weight: 700; color: #323130; font-family: 'Segoe UI',sans-serif; }
.sp-site-meta { display: flex; align-items: center; gap: 12px; margin-left: auto; font-size: 0.75rem; color: #605e5c; }
.sp-site-meta span { display: flex; align-items: center; gap: 4px; }
.sp-star { color: #ffb900; }

/* SP action bar */
.sp-actionbar {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 20px; border-bottom: 1px solid #edebe9;
  font-size: 0.78rem; flex-wrap: wrap;
}
.sp-breadcrumb { display: flex; align-items: center; gap: 4px; color: #323130; font-weight: 600; }
.sp-breadcrumb svg { width: 14px; height: 14px; }
.sp-action-links { display: flex; align-items: center; gap: 2px; margin-left: 8px; }
.sp-action-link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 8px; border: none; background: transparent;
  font-size: 0.75rem; color: #323130; cursor: default; font-family: inherit;
}
.sp-action-link svg { width: 14px; height: 14px; fill: #323130; }
.sp-create-btn {
  margin-left: auto; padding: 6px 14px; border: none; border-radius: 4px;
  background: #c4314b; color: #fff; font-size: 0.78rem; font-weight: 600;
  cursor: pointer; font-family: inherit;
  display: inline-flex; align-items: center; gap: 4px;
}
.sp-create-btn:hover { background: #a4262c; }

/* SP view bar */
.sp-viewbar {
  display: flex; align-items: center; gap: 4px;
  padding: 4px 20px; border-bottom: 1px solid #edebe9;
}
.sp-view-pill {
  padding: 3px 10px; border: 1px solid #8a8886; border-radius: 16px;
  font-size: 0.75rem; color: #323130; background: #fff;
  display: inline-flex; align-items: center; gap: 4px; cursor: default;
}
.sp-view-pill svg { width: 14px; height: 14px; fill: #323130; }
.sp-add-view { padding: 3px 8px; font-size: 0.75rem; color: #323130; cursor: default; }
.sp-view-icons { display: flex; gap: 2px; margin-left: 6px; }
.sp-view-icon { width: 26px; height: 26px; border-radius: 4px; display: flex; align-items: center; justify-content: center; cursor: default; font-weight: 700; font-size: 0.65rem; }
.sp-viewbar-right { display: flex; align-items: center; gap: 6px; margin-left: auto; font-size: 0.75rem; color: #605e5c; }
.sp-viewbar-right svg { width: 14px; height: 14px; fill: #605e5c; }

/* SP list */
.sp-content { flex: 1; overflow-y: auto; }
.sp-list-header {
  display: grid; grid-template-columns: 32px 1fr 140px 140px 100px;
  padding: 0 20px; height: 34px; align-items: center;
  border-bottom: 1px solid #edebe9; font-size: 0.72rem;
  color: #605e5c; font-weight: 600;
}
.sp-list-header span { display: flex; align-items: center; gap: 3px; }
.sp-list-header svg { width: 10px; height: 10px; fill: #605e5c; }
.sp-col-add { color: #0078d4 !important; }

.sp-list-row {
  display: grid; grid-template-columns: 32px 1fr 140px 140px 100px;
  padding: 0 20px; height: 40px; align-items: center;
  border-bottom: 1px solid #f3f2f1; font-size: 0.8rem; color: #323130;
}
.sp-list-row:hover { background: #f3f2f1; }
.sp-file-icon { width: 18px; height: 18px; }
.sp-filename { color: #323130; }
.sp-modified-by {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 8px; border-radius: 12px;
  background: #e8e3f3; color: #5b4f8a; font-size: 0.72rem;
}
.sp-empty { color: #a19f9d; font-size: 0.85rem; padding: 3rem 20px; text-align: center; }

.sp-dropzone {
  border: 2px dashed #c8c6c4; border-radius: 4px;
  padding: 2rem 1.5rem; text-align: center; cursor: pointer;
  transition: border-color .15s, background .15s;
  margin: 1rem 20px;
}
.sp-dropzone:hover, .sp-dropzone.dragover { border-color: #0078d4; background: rgba(0,120,212,.04); }
.sp-dropzone-icon { font-size: 2rem; color: #a19f9d; margin-bottom: 0.5rem; }
.sp-dropzone p { font-size: 0.85rem; color: #605e5c; }
.sp-dropzone .hint { font-size: 0.75rem; color: #a19f9d; margin-top: 0.25rem; }

/* ====================================================
   GOOGLE FORMS SCREEN
   ==================================================== */
.gf-screen { background: #f0ebf8; overflow-y: auto; }
.gf-wrap { padding: 1.5rem; max-width: 640px; margin: 0 auto; }
.gf-title-card {
  background: #fff; border-radius: 8px;
  border-top: 10px solid #673ab7;
  box-shadow: 0 1px 2px rgba(0,0,0,.1);
  padding: 1.5rem 1.5rem 1rem; margin-bottom: 0.75rem;
}
.gf-title-card h2 { font-size: 1.5rem; font-weight: 400; color: #202124; margin-bottom: 0.25rem; }
.gf-title-card .gf-desc { font-size: 0.85rem; color: #70757a; border-top: 1px solid #dadce0; padding-top: 0.75rem; margin-top: 0.75rem; }
.gf-section-card {
  background: #fff; border-radius: 8px; border-left: 4px solid transparent;
  box-shadow: 0 1px 2px rgba(0,0,0,.1);
  padding: 1.25rem 1.5rem; margin-bottom: 0.75rem;
  transition: border-color .15s;
}
.gf-section-card:focus-within { border-left-color: #673ab7; }
.gf-section-header { font-size: 1rem; font-weight: 500; color: #202124; padding-bottom: 0.5rem; margin-bottom: 0.75rem; border-bottom: 1px solid #e0e0e0; }
.gf-field { margin-bottom: 1rem; }
.gf-field:last-child { margin-bottom: 0; }
.gf-field label { display: block; font-size: 0.85rem; color: #202124; margin-bottom: 0.35rem; }
.gf-field label .required { color: #d93025; margin-left: 2px; }
.gf-field input, .gf-field select {
  width: 100%; padding: 0.45rem 0;
  border: none; border-bottom: 1px solid #dadce0;
  font-family: inherit; font-size: 0.85rem; color: #202124;
  background: transparent; border-radius: 0;
}
.gf-field input:focus, .gf-field select:focus { outline: none; border-bottom: 2px solid #673ab7; margin-bottom: -1px; }
.gf-field input::placeholder { color: #b0b0b0; }
.gf-row { display: flex; gap: 1rem; }
.gf-row > * { flex: 1; }
.gf-submit-row { display: flex; align-items: center; justify-content: space-between; margin-top: 0.75rem; }
.gf-submit-btn {
  padding: 0.5rem 1.75rem; border: none; border-radius: 4px;
  background: #673ab7; color: #fff; font-family: inherit;
  font-size: 0.85rem; font-weight: 500; cursor: pointer;
}
.gf-submit-btn:hover { background: #5e35b1; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.gf-submit-btn:disabled { opacity: .5; cursor: not-allowed; }
.gf-error { background: #fce8e6; color: #c5221f; border-radius: 4px; padding: 0.5rem 0.75rem; margin-top: 0.75rem; font-size: 0.8rem; display: none; }
.spinner { display: none; align-items: center; justify-content: center; gap: 0.5rem; margin-top: 0.75rem; }
.spinner.visible { display: flex; }
.spinner-dot { width: 8px; height: 8px; background: #673ab7; border-radius: 50%; animation: bounce .6s infinite alternate; }
.spinner-dot:nth-child(2) { animation-delay: .15s; }
.spinner-dot:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { to { transform: translateY(-6px); opacity: .4; } }

/* ====================================================
   OUTLOOK SCREEN
   ==================================================== */
.ol-screen { flex-direction: row; background: #fff; font-family: 'Segoe UI',sans-serif; }

/* OL top navbar */
.ol-main { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.ol-navbar {
  background: #0078d4; display: flex; align-items: center;
  padding: 0 12px; height: 48px; gap: 12px; flex-shrink: 0;
}
.ol-waffle { color: #fff; font-size: 1.1rem; cursor: default; }
.ol-nav-logo { color: #fff; font-size: 0.9rem; font-weight: 600; }
.ol-search {
  flex: 1; max-width: 400px; margin: 0 auto;
  display: flex; align-items: center;
  background: rgba(255,255,255,.15); border-radius: 4px; padding: 0 10px; height: 32px;
}
.ol-search svg { width: 14px; height: 14px; fill: rgba(255,255,255,.7); flex-shrink: 0; }
.ol-search input {
  border: none; background: transparent; color: #fff;
  font-size: 0.8rem; padding: 0 8px; width: 100%; outline: none; font-family: inherit;
}
.ol-search input::placeholder { color: rgba(255,255,255,.6); }
.ol-nav-icons { display: flex; gap: 4px; margin-left: auto; }
.ol-nav-icon { color: rgba(255,255,255,.8); width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; cursor: default; font-size: 0.85rem; }

/* OL tabs bar */
.ol-tabs {
  display: flex; align-items: center; gap: 0;
  background: #f3f2f1; border-bottom: 1px solid #edebe9;
  padding: 0 8px; height: 36px; flex-shrink: 0;
}
.ol-tab { padding: 6px 14px; font-size: 0.78rem; color: #323130; cursor: default; border-bottom: 2px solid transparent; }
.ol-tab.active { font-weight: 600; border-bottom-color: #0078d4; }
.ol-tab:hover { background: #e1dfdd; }

/* OL ribbon */
.ol-ribbon {
  display: flex; align-items: center; gap: 4px;
  padding: 4px 12px; border-bottom: 1px solid #edebe9;
  background: #faf9f8; flex-shrink: 0; flex-wrap: wrap;
}
.ol-ribbon-btn {
  padding: 4px 8px; font-size: 0.72rem; color: #323130;
  display: inline-flex; align-items: center; gap: 3px;
  border: none; background: transparent; cursor: default; font-family: inherit;
}
.ol-ribbon-btn svg { width: 14px; height: 14px; fill: #323130; }
.ol-newmail-btn {
  padding: 5px 14px; border: none; border-radius: 4px;
  background: #0078d4; color: #fff; font-size: 0.78rem; font-weight: 600;
  cursor: default; font-family: inherit;
  display: inline-flex; align-items: center; gap: 4px;
}
.ol-ribbon-sep { width: 1px; height: 20px; background: #edebe9; margin: 0 4px; }

/* OL body (sidebar + list + reading pane) */
.ol-body-wrap { flex: 1; display: flex; overflow: hidden; }

/* OL folder sidebar */
.ol-folders {
  width: 200px; border-right: 1px solid #edebe9; padding: 8px 0;
  overflow-y: auto; flex-shrink: 0; font-size: 0.8rem;
}
.ol-folder-group { padding: 4px 0; }
.ol-folder-group-title {
  display: flex; align-items: center; gap: 6px;
  padding: 4px 12px; font-size: 0.78rem; color: #323130; cursor: default;
}
.ol-folder-group-title svg { width: 10px; height: 10px; fill: #605e5c; }
.ol-folder-item {
  display: flex; align-items: center; gap: 8px;
  padding: 4px 12px 4px 28px; font-size: 0.8rem; color: #323130; cursor: default;
}
.ol-folder-item:hover { background: #f3f2f1; }
.ol-folder-item.active { background: #e8e4f0; font-weight: 600; }
.ol-folder-item svg { width: 14px; height: 14px; fill: #605e5c; flex-shrink: 0; }
.ol-folder-badge { margin-left: auto; background: #0078d4; color: #fff; font-size: 0.65rem; padding: 1px 6px; border-radius: 8px; font-weight: 600; }

/* OL message list */
.ol-msglist {
  width: 340px; border-right: 1px solid #edebe9;
  overflow-y: auto; flex-shrink: 0;
}
.ol-msglist-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px; font-size: 0.85rem; font-weight: 600; color: #323130;
  border-bottom: 1px solid #edebe9;
}
.ol-msglist-header-icons { display: flex; gap: 4px; }
.ol-msglist-header-icons svg { width: 14px; height: 14px; fill: #605e5c; cursor: default; }
.ol-msg-date-group { padding: 6px 12px; font-size: 0.72rem; color: #605e5c; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.ol-msg-date-group svg { width: 10px; height: 10px; fill: #605e5c; }

.ol-msg-item {
  display: flex; gap: 10px; padding: 10px 12px;
  border-bottom: 1px solid #f3f2f1; cursor: pointer;
  border-left: 3px solid transparent;
}
.ol-msg-item:hover { background: #f3f2f1; }
.ol-msg-item.active { background: #e8e4f0; border-left-color: #0078d4; }
.ol-msg-item.unread { border-left-color: #0078d4; }
.ol-msg-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 600; color: #fff; flex-shrink: 0;
}
.ol-msg-body { flex: 1; min-width: 0; }
.ol-msg-top { display: flex; justify-content: space-between; align-items: baseline; }
.ol-msg-sender { font-size: 0.8rem; font-weight: 600; color: #323130; }
.ol-msg-time { font-size: 0.7rem; color: #605e5c; white-space: nowrap; }
.ol-msg-subject { font-size: 0.78rem; color: #0078d4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ol-msg-preview { font-size: 0.72rem; color: #605e5c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* OL reading pane */
.ol-reading-pane { flex: 1; display: flex; align-items: center; justify-content: center; overflow-y: auto; }
.ol-reading-empty { text-align: center; color: #a19f9d; }
.ol-reading-empty svg { width: 100px; height: 100px; fill: #d2d0ce; margin-bottom: 12px; }
.ol-reading-empty p { font-size: 0.9rem; }
.ol-reading-empty .sub { font-size: 0.8rem; color: #c8c6c4; }

/* OL reading pane - email view */
.ol-email-view { padding: 24px; width: 100%; align-self: flex-start; }
.ol-email-header { margin-bottom: 16px; }
.ol-email-subject { font-size: 1.2rem; font-weight: 600; color: #323130; margin-bottom: 12px; }
.ol-email-meta { display: flex; align-items: center; gap: 12px; }
.ol-email-sender-avatar {
  width: 40px; height: 40px; border-radius: 50%; background: #0078d4;
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 0.85rem; flex-shrink: 0;
}
.ol-email-meta-text { flex: 1; }
.ol-email-from { font-size: 0.85rem; font-weight: 600; color: #323130; }
.ol-email-to { font-size: 0.78rem; color: #605e5c; }
.ol-email-time { font-size: 0.75rem; color: #605e5c; }
.ol-email-attachment-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 0; margin: 12px 0; border-top: 1px solid #edebe9; border-bottom: 1px solid #edebe9;
}
.ol-email-attachment-label { font-size: 0.75rem; color: #605e5c; }
.ol-email-attachment-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; background: #f3f2f1; border: 1px solid #edebe9;
  border-radius: 4px; text-decoration: none; color: #323130;
  font-size: 0.78rem; transition: background .1s;
}
.ol-email-attachment-chip:hover { background: #e1dfdd; }
.ol-email-attachment-chip svg { width: 16px; height: 16px; fill: #185abd; }
.ol-email-body { padding: 16px 0; color: #605e5c; font-style: italic; font-size: 0.85rem; }
