:root { font-family: system-ui, sans-serif; color: #192a43; background: #f5f7fb; }
body { margin: 0; }
main { max-width: 38rem; margin: 12vh auto; padding: 0 1.25rem; }
h1 { font-family: Georgia, serif; font-size: clamp(2rem, 6vw, 3.5rem); line-height: 1.08; }
p { line-height: 1.65; }
.brand, a { color: #0058de; }
.brand { font-weight: 700; }
button { border: 0; border-radius: 8px; background: #0058de; color: white; padding: 0.85rem 1.15rem; margin: 0.75rem 0 1.25rem; font: inherit; font-weight: 700; cursor: pointer; }
:focus-visible { outline: 3px solid #0058de; outline-offset: 4px; }
label { display: block; font-weight: 700; margin-top: 1.5rem; }
input[type="email"] {
  box-sizing: border-box; display: block; margin-top: .45rem; width: 100%; max-width: 26rem;
  padding: .8rem; border: 1px solid #dce3ed; border-radius: 8px; font: inherit;
}
.account-card { background: #fff; border: 1px solid #dce3ed; border-radius: 12px; padding: .5rem 1rem; }
footer { margin-top: 1.25rem; }
.account-card + .account-card { margin-top: 1rem; }
.account-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.account-actions .secondary { color: #192a43; background: #f5f7fb; border: 1px solid #dce3ed; }
.workspace-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.25rem; }
.workspace-nav a { padding: .45rem .75rem; border: 1px solid #dce3ed; border-radius: 8px; background: #fff; text-decoration: none; }
.workspace-nav a[aria-current] { background: #eaf2ff; font-weight: 700; }
textarea, input[type="datetime-local"], input[type="text"] { box-sizing: border-box; display: block; width: 100%; padding: .75rem; margin-top: .4rem; border: 1px solid #dce3ed; border-radius: 8px; font: inherit; }
textarea { resize: vertical; }
.schedule-card { padding-bottom: .75rem; }
.field-note { color: #52647c; margin: .45rem 0; font-size: .875rem; }
.post-notice { background: #eaf2ff; padding: .75rem; border-radius: 8px; }
.post-content { white-space: pre-wrap; overflow-wrap: anywhere; }
.post-image { display: block; max-width: 100%; max-height: 16rem; margin-top: .5rem; border-radius: 8px; }
.inline-option { margin-top: .75rem; font-weight: 500; }
.secondary { color: #192a43; background: #fff; border: 1px solid #dce3ed; }
.post-list, .calendar-grid { list-style: none; padding: 0; }
.post-list li { display: grid; gap: .4rem; padding: .9rem; border: 1px solid #dce3ed; background: #fff; border-radius: 8px; margin-bottom: .55rem; overflow-wrap: anywhere; }
.post-status, .post-list time, .calendar-grid small { color: #52647c; font-size: .875rem; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .4rem; }
body:has(.calendar-grid) main { max-width: 75rem; }
.calendar-day { min-height: 5.5rem; padding: .45rem; border: 1px solid #dce3ed; border-radius: 8px; background: #fff; overflow-wrap: anywhere; }
.calendar-day.has-posts { background: #eaf2ff; }
.calendar-day a, .calendar-day small { display: block; margin-top: .4rem; }
@media (max-width: 680px) { .calendar-grid { grid-template-columns: 1fr; } .calendar-day { min-height: auto; } .calendar-day:not(.has-entries) { display: none; } }

.app-header { background: #fff; border-bottom: 1px solid #dce3ed; }
.app-header-inner, .app-main {
  box-sizing: border-box;
  width: min(100%, 75rem);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}
.app-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }
.app-brand { display: inline-flex; align-items: center; gap: .55rem; color: #192a43; font-size: 1.25rem; font-weight: 800; letter-spacing: -.04em; text-decoration: none; }
.app-header .workspace-nav { margin: 0; align-items: center; }
.app-header .workspace-nav a { border: 0; color: #34465e; font-weight: 500; font-size: .9rem; }
.app-header .workspace-nav a:hover, .app-header .workspace-nav a[aria-current] { color: #0058de; background: #edf4ff; }
.app-header .workspace-nav a[aria-current], .app-header .workspace-nav a[href="/compose"] { font-weight: 600; }
.app-header .workspace-nav a[href="/compose"] { color: #fff; background: #0058de; }
.app-header .workspace-nav a[href="/compose"][aria-current] { box-shadow: inset 0 0 0 2px #003d9c; }
main.app-main { max-width: 75rem; margin-block: clamp(1.5rem, 6vw, 3.75rem); }
.app-main h1 { font: 750 clamp(2rem, 4vw, 3rem)/1.1 system-ui, sans-serif; letter-spacing: -.05em; margin: 0 0 1.7rem; }
.app-main h2 { margin: 0; font-size: 1.125rem; letter-spacing: -.02em; }
.app-main footer { margin-top: 2rem; font-size: .8rem; }
.composer-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(16rem, 21rem); gap: 1.25rem; align-items: start; }
.editor-panel, .schedule-card, .queue-section { background: #fff; border: 1px solid #dce3ed; border-radius: 14px; padding: clamp(1rem, 3vw, 1.5rem); min-width: 0; }
.editor-panel label:first-of-type, .post-content { margin-top: 0; }
.editor-panel textarea { min-height: 14rem; background: #f8faff; line-height: 1.6; }
.editor-panel input[type="file"] { display: block; max-width: 100%; margin-top: .55rem; font: inherit; font-size: .875rem; }
.editor-panel input::file-selector-button { padding: .45rem .65rem; margin-right: .55rem; border: 1px solid #dce3ed; background: #f5f7fb; border-radius: 6px; color: #192a43; font: inherit; cursor: pointer; }
.editor-panel button, .schedule-card button { margin-bottom: 0; }
.schedule-card label { margin-top: 1rem; font-size: .9rem; }
.queue-section + .queue-section { margin-top: 1rem; }
.queue-section h2 span { display: inline-block; margin-left: .35rem; border-radius: 99px; background: #edf2f9; padding: .1rem .5rem; font-size: .8rem; color: #465973; }
.empty-state { margin-bottom: 0; color: #52647c; }
.empty-state a { margin-left: .4rem; }
.post-list { margin: .85rem 0 0; }
.post-list li { grid-template-columns: minmax(0, 1fr) auto; align-items: start; border: 0; border-top: 1px solid #dce3ed; border-radius: 0; padding: .85rem 0; margin: 0; }
.post-list li a, .calendar-day a { text-decoration: none; font-weight: 650; }
.post-list li a:hover, .calendar-day a:hover { text-decoration: underline; }
.post-list time { grid-column: 1; }
.post-status { background: #edf2f9; padding: .2rem .6rem; border-radius: 99px; font-weight: 650; }
.post-status.is-scheduled { color: #0051ba; background: #eaf2ff; }
.calendar-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .65rem; }
.calendar-toolbar .workspace-nav { margin: 0; }
.calendar-toolbar a { color: #34465e; font-size: .875rem; }
.calendar-toolbar a[aria-current] { color: #0058de; }
.calendar-grid { gap: 1px; overflow: hidden; border: 1px solid #dce3ed; border-radius: 14px; background: #dce3ed; }
.calendar-day, .calendar-day.has-posts { border: 0; border-radius: 0; padding: .75rem; background: #fff; }
.calendar-day > time { font-size: .8rem; font-weight: 650; color: #52647c; }
.calendar-day a { background: #eaf2ff; border-left: 3px solid #0058de; border-radius: 5px; padding: .5rem; line-height: 1.35; font-size: .85rem; }
.calendar-day small { font-size: .75rem; }
.calendar-empty { color: #52647c; }
@media (max-width: 720px) {
  .app-header-inner { flex-wrap: wrap; gap: .6rem; padding-block: .85rem; }
  .app-header .workspace-nav { width: 100%; gap: .2rem; }
  .app-header .workspace-nav a { padding-inline: .55rem; }
  .composer-layout { grid-template-columns: 1fr; }
  .calendar-grid:empty, .calendar-grid:not(:has(.has-entries)) { display: none; }
}
@media (min-width: 681px) and (max-width: 860px) {
  .calendar-day { padding-inline: .4rem; }
}

.character-count { margin: .35rem 0 0; font-size: .8rem; color: #52647c; text-align: right; font-variant-numeric: tabular-nums; }
.preview-panel { margin-bottom: 1rem; border: 1px solid #dce3ed; border-radius: 14px; background: #edf4ff; padding: 1rem; }
.preview-panel summary { font-weight: 700; cursor: pointer; }
.preview-content { margin-top: .75rem; background: #fff; border: 1px solid #dce3ed; border-radius: 10px; padding: 1rem; }
.preview-copy { max-height: 18rem; overflow: auto; margin: 0; font-size: .925rem; }
.post-image[hidden] { display: none; }

.composer-action-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: .85rem;
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid #dce3ed;
  border-radius: 14px;
  background: #fff;
}
.composer-action-bar button { margin: 0; min-height: 2.75rem; padding: .6rem .95rem; }
.composer-action-bar button:disabled { background: #e5edf9; color: #52647c; cursor: default; }
.composer-action-bar .field-note { flex-basis: 100%; margin: 0; }
.schedule-fields { max-width: 100%; }
.schedule-fields fieldset {
  display: grid;
  grid-template-columns: minmax(12rem, 1fr) minmax(9rem, .8fr) auto;
  align-items: end;
  gap: .75rem;
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}
.schedule-fields label { margin: 0; font-size: .8rem; }
.schedule-fields input { min-width: 0; min-height: 2.75rem; color: #192a43; padding: .55rem .65rem; font-size: .9rem; }
.schedule-fields input:disabled { background: #f5f7fb; opacity: 1; }
.composer-manage button { margin-bottom: 0; font-size: .85rem; }
@media (max-width: 720px) {
  .composer-action-bar { display: grid; grid-template-columns: minmax(0, 1fr); padding: 1rem; }
  .composer-action-bar > button { justify-self: start; }
  .schedule-fields fieldset { grid-template-columns: minmax(0, 1fr); }
  .schedule-fields input[type="datetime-local"] { appearance: none; }
}

.post-destination { display: block; color: #465973; font-size: .8rem; font-weight: 400; overflow-wrap: anywhere; }
.post-destination strong { color: #0051ba; font-weight: 650; }
.post-list .post-destination { grid-column: 1; }
.calendar-day .post-destination { margin-top: .4rem; font-size: .75rem; }

.dashboard-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 1rem; }
.dashboard-card { min-width: 0; padding: clamp(1rem, 3vw, 1.65rem); border: 1px solid #dce3ed; border-radius: 16px; background: #fff; overflow-wrap: anywhere; }
.dashboard-next { background: #edf4ff; border-color: #d6e4fa; }
.dashboard-card p, .dashboard-card time { color: #465973; }
.dashboard-card p { margin: .75rem 0; }
.dashboard-card .dashboard-post { font-size: 1.1rem; font-weight: 650; color: #192a43; }
.dashboard-post a { color: inherit; }
.dashboard-link { display: block; width: fit-content; margin-top: 1rem; font-size: .9rem; font-weight: 650; }
.connection-card { margin-top: 1rem; }
.connection-heading { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem; }
.connection-status { border-radius: 2rem; padding: .25rem .6rem; background: #fff2d8; color: #764a09; font-size: .78rem; font-weight: 650; }
.connection-status.is-connected { background: #e1f4ea; color: #14613c; }
.dashboard-card summary { color: #34465e; cursor: pointer; font-size: .9rem; font-weight: 650; }
@media (max-width: 680px) { .dashboard-grid { grid-template-columns: 1fr; } }

.composer-dialog {
  box-sizing: border-box;
  width: min(68rem, calc(100% - 2rem));
  height: min(52rem, calc(100% - 2rem));
  max-width: none;
  max-height: none;
  padding: 0;
  border: 1px solid #dce3ed;
  border-radius: 18px;
  background: #f5f7fb;
  color: #192a43;
  box-shadow: 0 24px 90px #12264540;
}
.composer-dialog[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.composer-dialog::backdrop { background: #16273f70; }
body:has(.composer-dialog[open]) { overflow: hidden; }
.composer-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .65rem clamp(1rem, 4vw, 2rem);
  border-bottom: 1px solid #dce3ed;
  background: #fff;
}
.composer-dialog-header h2 { margin: 0; font-size: 1.1rem; }
.composer-dialog-header button { margin: 0; padding: .55rem .85rem; }
.composer-dialog iframe { display: block; width: 100%; height: 100%; border: 0; }
.embedded-composer .app-header, .embedded-composer footer,
.embedded-composer #draft-editor > .post-image { display: none; }
.embedded-composer main.app-main { margin-block: 1.25rem; }
.embedded-composer .app-main h1 { font-size: 1.65rem; margin-bottom: 1rem; }
@media (max-width: 720px) {
  .composer-dialog { width: calc(100% - 1rem); height: calc(100% - 1rem); border-radius: 12px; }
}

.composer-destination { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .7rem; margin-bottom: 1rem; border-bottom: 1px solid #dce3ed; padding-bottom: .7rem; }
.composer-destination a { margin-left: auto; font-size: .9rem; }
.preview-copy { max-height: none; }
.preview-copy.is-collapsed { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.preview-toggle { background: transparent; color: #0058de; margin: .4rem 0 0; padding: .2rem 0; font-size: .85rem; }

.linkedin-feed-preview { padding: 0; border-radius: 9px; overflow: hidden; }
.linkedin-preview-header { display: flex; align-items: center; gap: .65rem; padding: .85rem .85rem .6rem; color: #20262e; }
.linkedin-preview-header > div { min-width: 0; overflow-wrap: anywhere; }
.linkedin-preview-header strong { display: block; font-size: .9rem; line-height: 1.3; }
.linkedin-preview-header > div span { display: block; color: #54606f; font-size: .75rem; }
.linkedin-preview-avatar { flex: 0 0 2.6rem; height: 2.6rem; display: grid; place-items: center; border-radius: 50%; color: #28415e; background: #e3ecf7; font-weight: 700; }
.linkedin-preview-channel { margin-left: auto; align-self: start; padding: .07rem .25rem; border-radius: 3px; color: #fff; background: #0a66c2; font-weight: 800; font-size: .8rem; }
.linkedin-feed-preview .preview-copy { margin: 0 .85rem .7rem; line-height: 1.45; color: #20262e; }
.linkedin-feed-preview .preview-toggle { margin: 0 .85rem .65rem; }
.linkedin-preview-header { align-items: flex-start; }
.linkedin-preview-identity .linkedin-preview-visibility { display: flex; align-items: center; gap: .25rem; }
.linkedin-preview-visibility svg { width: .8rem; height: .8rem; }
.linkedin-feed-preview .preview-toggle { color: #54606f; }
.linkedin-feed-preview .post-image { width: 100%; height: auto; max-height: none; border-radius: 0; margin: 0; background: #f5f7fb; }
.linkedin-preview-actions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .2rem; margin: 0 .65rem; padding: .65rem 0; border-top: 1px solid #e1e7ef; color: #475468; }
.linkedin-preview-actions > span { display: grid; justify-items: center; gap: .2rem; font-size: .73rem; font-weight: 650; }
.linkedin-preview-actions svg { width: 1.1rem; height: 1.1rem; }
.linkedin-feed-preview .preview-accent { color: #0a66c2; font-weight: 650; }

@media (min-width: 960px) {
  .workspace-shell { display: grid; grid-template-columns: clamp(13.5rem, 19vw, 15.5rem) minmax(0, 1fr); min-height: 100vh; }
  .workspace-shell .app-header { position: sticky; top: 0; height: 100vh; background: #13243d; border: 0; }
  .workspace-shell .app-header-inner { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 1.8rem; padding: 1.7rem 1rem; }
  .workspace-shell .app-brand { color: #fff; padding-inline: .3rem; }
  .workspace-shell .workspace-nav { display: flex; flex-direction: column; align-items: stretch; gap: .48rem; }
  .workspace-shell .app-header .workspace-nav a { color: #c5d4e8; background: transparent; padding: .85rem; gap: .7rem; }
  .workspace-shell .workspace-nav a:not([href="/compose"]) svg { color: #9db3d0; }
  .workspace-shell .workspace-nav a[aria-current]:not([href="/compose"]) svg { color: #a9ceff; }
  .workspace-shell .app-header .workspace-nav a:hover { background: #233c5f; color: #fff; }
  .workspace-shell .app-header .workspace-nav a[aria-current] { color: #fff; background: #213955; box-shadow: inset 2px 0 #85b7ff; }
  .workspace-shell .app-header .workspace-nav a[href="/compose"] { order: -1; margin-bottom: .8rem; color: #fff; background: #0058de; }
  .workspace-shell.embedded-composer, .embedded-composer .workspace-shell { display: block; min-height: 0; }
}
.calendar-toolbar { justify-content: flex-start; }
.calendar-toolbar h2 { margin-right: auto; }
.calendar-pager, .calendar-modes { display: flex; align-items: center; gap: .2rem; }
.calendar-pager a, .calendar-modes a { display: grid; place-items: center; min-height: 2.6rem; min-width: 2.6rem; padding: 0 .6rem; box-sizing: border-box; border-radius: 7px; background: #fff; border: 1px solid #dce3ed; text-decoration: none; font-weight: 650; }
.calendar-modes a[aria-current] { background: #e4efff; border-color: #ccdefb; }
.calendar-meta { display: flex; flex-wrap: wrap; gap: .1rem 1rem; margin: .7rem 0; color: #465973; font-size: .85rem; }
.calendar-grid .calendar-date { display: flex; flex-direction: column; gap: .2rem; margin-bottom: .65rem; }
.calendar-date strong { font-size: .95rem; color: #192a43; }
.calendar-date[aria-current] strong { color: #0058de; }
.calendar-week .calendar-day { min-height: 13rem; }
.calendar-grid .calendar-post { background: #edf4ff; padding: .55rem; }
.calendar-post > time { display: block; font-size: .7rem; color: #344b69; }
.calendar-excerpt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; margin-top: .25rem; }
@media (max-width: 900px) {
  .calendar-grid { grid-template-columns: minmax(0, 1fr); }
  .calendar-grid:not(:has(.has-entries)), .calendar-day:not(.has-entries) { display: none; }
  .calendar-grid .calendar-day { min-height: auto; padding: .8rem; }
  .calendar-grid .calendar-date { flex-direction: row; align-items: baseline; gap: .45rem; }
}

.dashboard-attention, .dashboard-summary { margin-top: 1rem; }
.dashboard-attention p:last-child { margin-bottom: 0; }
.dashboard-destination { font-size: .875rem; }
.dashboard-summary dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin: 1rem 0 0; }
.dashboard-summary dl > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: .35rem; background: #f5f8fc; border-radius: 10px; padding: .85rem; min-width: 0; }
.dashboard-summary dd { margin: 0; font-size: 1.75rem; font-weight: 750; line-height: 1; font-variant-numeric: tabular-nums; }
.dashboard-summary dt { font-size: .85rem; color: #34465e; }
.dashboard-summary dt span { display: block; color: #52647c; font-size: .75rem; }
@media (max-width: 430px) {
  .dashboard-summary dl { gap: .4rem; }
  .dashboard-summary dl > div { padding: .6rem; }
  .dashboard-summary dt { font-size: .75rem; }
}

.analytics-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: start; gap: 1rem; }
.analytics-chart .analytics-total { margin-bottom: .2rem; }
.analytics-total strong { font-size: 1.65rem; color: #192a43; vertical-align: baseline; }
.analytics-chart .field-note { margin: 0; }
.analytics-bars, .analytics-review-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.analytics-bars li { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr) 2rem; align-items: center; gap: .65rem; padding: .42rem 0; color: #465973; font-size: .85rem; }
.analytics-bars strong { text-align: right; color: #192a43; }
.analytics-bars meter { width: 100%; height: .8rem; appearance: none; }
.analytics-bars meter::-webkit-meter-bar { background: #edf2f9; border: 0; border-radius: 99px; }
.analytics-bars meter::-webkit-meter-optimum-value { background: #0058de; border-radius: 99px; }
.analytics-bars meter::-moz-meter-bar { background: #0058de; border-radius: 99px; }
.analytics-count { display: inline-block; margin-left: .25rem; padding: .15rem .5rem; background: #edf2f9; border-radius: 99px; font-size: .8rem; }
.analytics-review-list li { display: grid; gap: .3rem; padding: .75rem 0; border-top: 1px solid #dce3ed; }
.analytics-review-list a { font-weight: 650; }
.analytics-review-list .field-note { margin: 0; }
.analytics-status { width: fit-content; padding: .15rem .45rem; border-radius: 99px; color: #764a09; background: #fff2d8; font-size: .75rem; font-weight: 650; }
@media (max-width: 1080px) { .analytics-grid { grid-template-columns: minmax(0, 1fr); } }

.queue-jump { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: 1.6rem; }
.queue-jump a { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .75rem; background: #fff; border: 1px solid #dce3ed; border-radius: 8px; color: #34465e; text-decoration: none; font-size: .875rem; font-weight: 650; }
.queue-jump a:hover, .queue-action:hover { background: #eaf2ff; color: #0051ba; }
.queue-jump a span { color: #52647c; font-variant-numeric: tabular-nums; }
.queue-jump .queue-calendar-link { margin-left: auto; }
.queue-block + .queue-block { margin-top: 1.6rem; }
.queue-day { margin-top: 1rem; padding-left: .85rem; border-left: 2px solid #c6d9f5; }
.queue-day h3 { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: 0 0 .6rem; font-size: .92rem; }
.queue-next-label { font-size: .72rem; color: #0051ba; background: #e4efff; border-radius: 99px; padding: .13rem .5rem; }
.queue-cards { display: grid; gap: .6rem; padding: 0; margin: .65rem 0 0; list-style: none; }
.queue-card { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 1rem; border: 1px solid #dce3ed; border-radius: 12px; background: #fff; overflow-wrap: anywhere; }
.queue-card-content { min-width: 0; }
.queue-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .65rem; color: #465973; font-size: .8rem; }
.queue-card-meta .post-status { font-size: .75rem; }
.queue-status-scheduled { color: #0051ba; background: #eaf2ff; }
.queue-status-published { color: #14613c; background: #e1f4ea; }
.queue-status-needs_review, .queue-status-failed { color: #764a09; background: #fff2d8; }
.queue-excerpt { margin: .3rem 0; font-weight: 650; }
.queue-excerpt a { color: #192a43; text-decoration: none; }
.queue-excerpt a:hover { text-decoration: underline; }
.queue-action { flex: none; display: inline-block; padding: .45rem .6rem; border-radius: 7px; text-decoration: none; font-size: .85rem; font-weight: 650; }
.queue-empty { margin: .65rem 0 0; padding: .8rem 1rem; border: 1px dashed #c9d8ea; border-radius: 10px; color: #52647c; }
@media (max-width: 620px) {
  .queue-jump .queue-calendar-link { margin-left: 0; }
  .queue-card { flex-direction: column; align-items: flex-start; gap: .35rem; }
  .queue-action { padding-left: 0; }
}

.calendar-controls { background: #fff; border: 1px solid #dce3ed; border-radius: 14px; padding: 1rem; }
.calendar-filters { display: flex; align-items: end; flex-wrap: wrap; gap: .7rem; margin-top: .75rem; }
.calendar-filters label { display: grid; gap: .3rem; margin: 0; font-size: .8rem; }
.calendar-filters input, .calendar-filters select { box-sizing: border-box; max-width: 100%; min-height: 2.5rem; border: 1px solid #dce3ed; background: #f7f9fd; border-radius: 8px; padding: .45rem .6rem; font: inherit; color: #192a43; }
.calendar-filters button { margin: 0; padding: .55rem .85rem; min-height: 2.5rem; }
.calendar-grid.calendar-single, .calendar-grid.calendar-agenda { grid-template-columns: minmax(0, 1fr); padding: 0; }
.calendar-grid.calendar-agenda .calendar-day:not(.has-entries) { display: none; }
.calendar-grid .calendar-add { border: 1px dashed #c6d9f5; background: transparent; font-size: .75rem; }
.calendar-grid .calendar-add:hover { background: #edf4ff; }
@media (max-width: 900px) { .calendar-grid.calendar-single .calendar-day { display: block; } }

@media (max-width: 900px) { .calendar-grid.calendar-single:not(:has(.has-entries)):has(.calendar-add) { display: grid; } }

.dashboard-alert { margin-bottom: 1rem; padding: .65rem 1rem; border: 1px solid #efd5a5; border-radius: 10px; background: #fff7e7; }
.dashboard-alert p { margin: .2rem 0; }
.dashboard-alert a { color: #764a09; font-weight: 650; }
.dashboard-summary { margin: 0 0 1rem; }
.dashboard-summary ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .7rem; padding: 0; margin: .8rem 0 0; list-style: none; }
.dashboard-summary ul li { display: flex; }
.dashboard-summary li a { display: flex; flex-direction: column; width: 100%; gap: .3rem; padding: .85rem; border: 1px solid #dce3ed; border-radius: 10px; background: #f5f8fc; color: #34465e; text-decoration: none; font-size: .85rem; }
.dashboard-summary li a:hover { background: #eaf2ff; border-color: #b4cff5; }
.dashboard-summary li strong { color: #192a43; font-size: 1.65rem; line-height: 1; }
.dashboard-summary li small { color: #52647c; }
.dashboard-trend { margin-top: 1rem; }
.publishing-chart-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem; }
.publishing-chart-heading a { font-size: .85rem; font-weight: 650; }
@media (max-width: 680px) { .dashboard-summary ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.queue-menu { position: relative; flex: none; }
.queue-menu > summary { list-style: none; cursor: pointer; padding: .48rem .7rem; border: 1px solid #dce3ed; border-radius: 8px; background: #f5f8fc; color: #34465e; font-size: .85rem; font-weight: 650; }
.queue-menu > summary::-webkit-details-marker { display: none; }
.queue-menu > summary span { margin-left: .25rem; }
.queue-menu-panel { position: absolute; z-index: 2; right: 0; top: calc(100% + .3rem); min-width: 10rem; padding: .3rem; border: 1px solid #dce3ed; border-radius: 10px; background: #fff; box-shadow: 0 10px 25px #13243d24; }
.queue-menu-panel a, .queue-menu-panel button { display: block; width: 100%; padding: .5rem .65rem; margin: 0; border: 0; border-radius: 5px; background: transparent; color: #34465e; text-align: left; text-decoration: none; font: inherit; font-size: .85rem; box-sizing: border-box; }
.queue-menu-panel a:hover, .queue-menu-panel button:hover { background: #edf4ff; }
.queue-menu-panel button.queue-danger { color: #9d2929; }
@media (max-width: 620px) { .queue-menu-panel { left: 0; right: auto; } }

.calendar-channel-icon {
  display: inline-block;
  margin: 0 .2rem 0 0;
  padding: .07rem .22rem;
  font-size: .68rem;
  line-height: 1.25;
  vertical-align: baseline;
}

.calendar-hourly { display: none; }
.calendar-card-body { display: flex; align-items: flex-start; gap: .35rem; margin-top: .3rem; }
.calendar-card-body img { width: 2.1rem; height: 2.1rem; flex: none; object-fit: cover; border-radius: 4px; }
.calendar-card-body .calendar-excerpt { min-width: 0; margin-top: 0; }
@media (min-width: 1100px) {
  .calendar-hourly { display: block; overflow: hidden; border: 1px solid #dce3ed; border-radius: 14px; background: #fff; }
  .calendar-hourly + .calendar-week { display: none; }
  .calendar-hourly table { width: 100%; table-layout: fixed; border-collapse: collapse; }
  .calendar-hourly th:first-child { width: 4.2rem; }
  .calendar-hourly th { text-align: left; color: #465973; font-size: .75rem; padding: .65rem .45rem; }
  .calendar-hourly thead th { background: #f0f5fd; }
  .calendar-hourly .calendar-date { display: flex; flex-direction: column; gap: .2rem; }
  .calendar-hourly tbody th { vertical-align: top; background: #f7f9fc; }
  .calendar-hourly td, .calendar-hourly th { border: 1px solid #dce3ed; }
  .calendar-hourly td { vertical-align: top; padding: .3rem; height: 2.5rem; }
  .calendar-hourly .calendar-post { display: grid; gap: .18rem; padding: .4rem; margin-bottom: .25rem; border: 1px solid #d5e4fb; border-left: 3px solid #0058de; border-radius: 6px; background: #edf4ff; color: #192a43; text-decoration: none; font-size: .75rem; overflow-wrap: anywhere; }
  .calendar-hourly .calendar-post:hover { background: #e0edff; }
  .calendar-hourly .post-destination { font-size: .69rem; }
  .calendar-slot { display: grid; place-items: center; min-height: 1.8rem; border-radius: 5px; color: #526b8a; text-decoration: none; }
  .calendar-slot:hover, .calendar-slot:focus-visible { color: #0058de; background: #edf4ff; }
}

.dashboard-summary .summary-icon { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 8px; background: #e4efff; color: #0051ba; margin-bottom: .25rem; }
.summary-icon svg { width: 1.2rem; height: 1.2rem; }
.dashboard-summary .summary-icon-published { background: #e1f4ea; color: #14613c; }
.dashboard-summary .summary-icon-draft { background: #e9edf6; color: #465973; }
.dashboard-summary .summary-icon-attention { background: #fff2d8; color: #764a09; }
.dashboard-trend .analytics-bars { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: .5rem; }
.dashboard-trend .analytics-bars li { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 6rem auto; justify-items: center; gap: .35rem; text-align: center; }
.dashboard-trend .analytics-bars span { grid-row: 3; }
.dashboard-trend .analytics-bars strong { grid-row: 1; }
.dashboard-trend .analytics-bars meter { grid-row: 2; width: min(100%, 1.8rem); height: 6rem; writing-mode: vertical-lr; direction: rtl; }
@media (max-width: 450px) {
  .dashboard-trend .analytics-bars { gap: .2rem; }
  .dashboard-trend .analytics-bars li { font-size: .7rem; }
}


.app-brand picture, .app-brand img { display: block; }
.app-brand img { width: 8.5rem; height: auto; }
.app-header .workspace-nav a { display: inline-flex; align-items: center; gap: .55rem; }
.app-header .workspace-nav svg { width: 1.1rem; height: 1.1rem; flex: none; }
.workspace-divider { display: none; }
@media (min-width: 960px) {
  .workspace-shell .app-header { border-right: 1px solid #263b57; }
  .workspace-shell .app-header-inner { gap: 1.45rem; }
  .workspace-shell .app-brand { padding-inline: .1rem; }
  .workspace-shell .app-brand img { width: 10rem; }
  .workspace-shell .app-header .workspace-nav a[href="/compose"] { margin-bottom: 0; }
  .workspace-divider { display: block; width: 100%; height: 0; margin: .8rem 0; border: 0; border-top: 1px solid #3a4d67; }
  .workspace-shell .app-header .workspace-nav a:focus-visible { outline-color: #85b7ff; }
}
@media (max-width: 480px) {
  .app-header .workspace-nav a { flex-direction: column; gap: .2rem; padding: .4rem .55rem; font-size: .75rem; }
}

@media (min-width: 1100px) {
  .calendar-hourly thead .calendar-date { align-items: center; gap: .3rem; text-align: center; }
  .calendar-hourly thead .calendar-date strong {
    display: grid;
    place-items: center;
    box-sizing: border-box;
    width: 1.65rem;
    height: 1.65rem;
    border: 1px solid transparent;
    border-radius: 50%;
  }
  .calendar-hourly thead .calendar-date[aria-current="date"] strong { border-color: #0058de; background: #fff; }
}

.calendar-grid .calendar-post, .calendar-hourly .calendar-post {
  display: grid;
  gap: .45rem;
  padding: .5rem;
  border: 1px solid #d5e2f3;
  border-top: 2px solid #5a8fde;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 4px #13243d0a;
  color: #192a43;
  text-decoration: none;
}
.calendar-grid .calendar-post:hover, .calendar-hourly .calendar-post:hover {
  background: #f6f9ff;
  border-color: #8fb5ed;
}
.calendar-post .calendar-card-time {
  width: fit-content;
  padding: .14rem .3rem;
  border-radius: 4px;
  background: #edf4ff;
  color: #344b69;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.calendar-card-time strong { color: #0051ba; }
.calendar-post .calendar-card-body { margin-top: 0; }
.calendar-post .post-destination { border-top: 1px solid #e5edf8; margin: 0; padding-top: .35rem; }

@media (min-width: 1100px) {
  .calendar-slot-empty {
    min-height: 2.5rem;
    border: 1px dashed #c7d5e8;
    border-radius: 7px;
    background: #fafcff;
    font-size: 1.2rem;
    line-height: 1;
  }
  .calendar-slot-empty:hover, .calendar-slot-empty:focus-visible { border-color: #72a1e6; }
}

.dashboard-summary li a { flex-direction: row; align-items: flex-start; gap: .65rem; background: #fff; }
.dashboard-summary .summary-icon { flex: none; margin: 0; }
.summary-metric { display: grid; gap: .2rem; min-width: 0; }
.dashboard-trend .analytics-bars { position: relative; isolation: isolate; }
.dashboard-trend .analytics-bars::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 1.7rem 0 auto;
  height: 6rem;
  border-bottom: 1px solid #dce3ed;
  background: repeating-linear-gradient(to bottom, #e6edf6 0 1px, transparent 1px 1.5rem);
}
.dashboard-trend .analytics-bars li:last-child span { color: #0051ba; font-weight: 700; }
.dashboard-trend .analytics-bars meter::-webkit-meter-bar { background: #e7eff9; }
@media (max-width: 450px) { .dashboard-summary li a { padding: .65rem; gap: .45rem; } }

.analytics-ranges { display: inline-flex; flex-wrap: wrap; gap: .25rem; margin-bottom: 1rem; padding: .25rem; border: 1px solid #dce3ed; border-radius: 9px; background: #fff; }
.analytics-ranges a { padding: .5rem .7rem; border-radius: 6px; color: #34465e; font-size: .85rem; font-weight: 650; text-decoration: none; }
.analytics-ranges a[aria-current], .analytics-ranges a:hover { background: #eaf2ff; color: #0051ba; }
.analytics-overview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin: 0 0 1rem; }
.analytics-overview dt { font-size: .85rem; color: #465973; }
.analytics-overview dd { margin: .35rem 0; font-weight: 750; font-size: 1.8rem; line-height: 1; }
.analytics-overview dd span, .analytics-overview small { color: #52647c; font-size: .78rem; }
.analytics-history { margin-top: 1rem; }
.analytics-history time { color: #52647c; font-size: .8rem; }
.analytics-empty { padding: 1rem; border: 1px dashed #c6d9f5; border-radius: 8px; background: #f7faff; }
@media (max-width: 500px) {
  .analytics-overview { gap: .35rem; }
  .analytics-overview > div { padding: .55rem; }
  .analytics-overview dd { font-size: 1.4rem; }
  .analytics-overview dt, .analytics-overview small { font-size: .72rem; }
}

.settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.settings-grid dd { margin: .25rem 0 0; overflow-wrap: anywhere; }
.settings-grid dt { color: #52647c; font-size: .85rem; }
.settings-profile button { margin-bottom: 0; }
@media (max-width: 720px) { .settings-grid { grid-template-columns: minmax(0, 1fr); } }
.workspace-settings select {
  box-sizing: border-box;
  width: 100%;
  margin: .45rem 0;
  padding: .65rem;
  border: 1px solid #dce3ed;
  border-radius: 8px;
  background: #fff;
  color: #192a43;
  font: inherit;
}

@media (min-width: 960px) {
  .workspace-shell .app-header .workspace-nav a[aria-current]:not([href="/compose"]) {
    margin-inline: -1rem;
    padding-inline: 1.85rem;
    border-radius: 0;
  }
  .workspace-shell .app-header .workspace-nav a[aria-current]:not([href="/compose"]):focus-visible {
    outline-offset: -4px;
  }
}

.channels-heading, .channel-row { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem; }
.channels-heading { justify-content: space-between; }
.channel-add { margin: 0; padding: .55rem .8rem; font-weight: 650; }
.channel-dialog { box-sizing: border-box; width: min(31rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); padding: clamp(1rem, 4vw, 1.65rem); border: 1px solid #dce3ed; border-radius: 16px; color: inherit; box-shadow: 0 20px 65px #13243d38; }
.channel-dialog::backdrop { background: #16273f70; }
.channel-dialog-header { display: flex; justify-content: space-between; align-items: center; gap: .75rem; }
.channel-dialog-header h2 { margin: 0; }
.channel-dialog-header form, .channel-dialog-header button { margin: 0; }
.channel-dialog-header button { padding: .45rem .7rem; }
.channel-dialog > p { margin: .65rem 0 1.15rem; color: #465973; }
.channel-options { display: grid; gap: .6rem; }
.channel-options button { display: flex; align-items: center; gap: .8rem; width: 100%; margin: 0; padding: .8rem; border: 1px solid #c6d9f5; background: #f3f7ff; color: #192a43; text-align: left; }
.channel-options button:hover:not(:disabled) { background: #e6efff; }
.channel-options button:disabled { border-color: #dce3ed; background: #f5f7fb; cursor: default; }
.channel-options .linkedin-preview-channel { margin: 0; align-self: center; font-size: 1rem; padding: .2rem .4rem; }
.channel-options small { display: block; margin-top: .2rem; color: #52647c; font-weight: 500; }
.channel-option-arrow { margin-left: auto; color: #0058de; }
.channel-row { margin-top: 1rem; padding: .85rem 0; border-block: 1px solid #dce3ed; }
.channel-row > .linkedin-preview-channel { margin-left: 0; align-self: center; }
.channel-identity { min-width: 0; flex: 1 1 10rem; }
.channel-identity p { margin: .15rem 0 0; font-size: .85rem; }
.channel-row button { margin: 0; padding: .5rem .65rem; font-size: .85rem; }
.channel-privacy { margin-top: 1rem; }
.channel-privacy p { font-size: .9rem; }

.report-filters { margin-bottom: 1rem; }
.report-filters form { display: flex; flex-wrap: wrap; gap: .65rem; align-items: end; }
.report-filters label { display: grid; gap: .25rem; min-width: 0; }
.report-filters select { max-width: 100%; min-height: 2.65rem; padding: .45rem .65rem; border: 1px solid #ccd8e7; border-radius: 7px; background: white; color: inherit; font: inherit; }
.report-filters button { margin: 0; }
.report-filters .field-note { margin-bottom: 0; }
.report-overview { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.report-breakdowns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.report-breakdowns .analytics-bars li { grid-template-columns: minmax(4.75rem, auto) 1fr auto; }
.report-pages { display: flex; gap: 1rem; }
@media (max-width: 960px) {
  .report-breakdowns { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
  .report-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .report-filters label { flex: 1 1 100%; }
}
.report-quarter-actions { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-top: .8rem; font-size: .9rem; }

.app-brand .compact-brand-icon, .sidebar-toggle { display: none; }

@media (min-width: 960px) {
  .workspace-shell .app-header { overflow-y: auto; }
  .workspace-shell .app-header-inner { position: relative; }
  .workspace-shell .app-brand img { max-width: calc(100% - 2.6rem); }
  .sidebar-toggle:not([hidden]) {
    display: grid; place-items: center; position: absolute; inset: 1.7rem .7rem auto auto;
    width: 2.25rem; height: 2.25rem; padding: 0; margin: 0;
    border: 1px solid #415977; background: #1c324f; color: #d8e7fb;
  }
  .sidebar-toggle:hover { background: #294665; }
  .sidebar-toggle svg { width: 1.1rem; height: 1.1rem; }
  .workspace-shell.sidebar-compact { grid-template-columns: 5.75rem minmax(0, 1fr); }
  .sidebar-compact .app-header-inner { padding: 1rem .5rem; gap: .8rem; }
  .sidebar-compact .app-brand { justify-self: center; padding: 0; }
  .sidebar-compact .app-brand picture { display: none; }
  .sidebar-compact .app-brand .compact-brand-icon { display: block; width: 2.2rem; max-width: none; }
  .sidebar-compact .sidebar-toggle:not([hidden]) { position: static; justify-self: center; }
  .sidebar-compact .sidebar-toggle svg { transform: rotate(180deg); }
  .workspace-shell.sidebar-compact .app-header .workspace-nav a {
    flex-direction: column; justify-content: center; gap: .3rem; min-height: 3rem;
    padding: .35rem .15rem; text-align: center; font-size: .73rem;
  }
  .workspace-shell.sidebar-compact .app-header .workspace-nav a[aria-current]:not([href="/compose"]) { margin-inline: -.5rem; }
  .sidebar-compact .workspace-divider { margin-block: .35rem; }
}

.sidebar-account { position: relative; min-width: 0; }
.sidebar-account summary { display: flex; align-items: center; gap: .65rem; padding: .35rem; border-radius: 8px; cursor: pointer; list-style: none; }
.sidebar-account summary::-webkit-details-marker { display: none; }
.sidebar-avatar { display: grid; place-items: center; flex: 0 0 2.2rem; height: 2.2rem; border-radius: 50%; background: #dceaff; color: #153b70; font-weight: 650; }
.sidebar-account-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .82rem; }
.sidebar-account-chevron { width: .4rem; height: .4rem; margin: 0 .3rem 0 auto; border: solid currentColor; border-width: 1px 1px 0 0; transform: rotate(-45deg); flex: none; }
.sidebar-account[open] .sidebar-account-chevron { transform: rotate(135deg); }
.sidebar-account-panel { position: absolute; z-index: 5; right: 0; top: 100%; width: min(16rem, 75vw); padding: .75rem; box-sizing: border-box; display: grid; gap: .45rem; border: 1px solid #dce3ed; border-radius: 9px; background: white; color: #192a43; box-shadow: 0 8px 24px #13243d26; overflow-wrap: anywhere; font-size: .82rem; }
.sidebar-account-panel button { margin: 0; padding: .45rem .65rem; font-weight: 600; }
@media (min-width: 960px) {
  .workspace-shell .app-header-inner { min-height: 100%; grid-template-rows: auto auto 1fr; }
  .sidebar-account { align-self: end; border-top: 1px solid #3a4d67; padding-top: .65rem; color: #d6e3f4; }
  .sidebar-account summary:hover { background: #233c5f; }
  .sidebar-account-panel { inset: auto 0 100%; width: 100%; }
  .sidebar-compact .app-header-inner { grid-template-rows: auto auto auto 1fr; }
  .sidebar-compact .sidebar-account summary { justify-content: center; }
  .sidebar-compact .sidebar-account-label, .sidebar-compact .sidebar-account-chevron { display: none; }
  .sidebar-compact .sidebar-account-panel { position: fixed; inset: auto auto 1rem 6rem; width: min(16rem, 75vw); }
}
@media (max-width: 959px) {
  .sidebar-account-label, .sidebar-account-chevron { display: none; }
  .sidebar-account-panel { right: auto; left: 0; }
}
@media (min-width: 721px) and (max-width: 959px) {
  .sidebar-account-panel { right: 0; left: auto; }
}


.calendar-observance { display: flex; align-items: baseline; gap: .35rem; margin: .25rem 0 .55rem; padding: .32rem .45rem; border-radius: 5px; background: #e5f3ef; color: #175445; font-size: .76rem; font-weight: 650; line-height: 1.3; overflow-wrap: anywhere; }
.calendar-observance-dot { flex: 0 0 .35rem; height: .35rem; border-radius: 50%; background: currentColor; }
.calendar-observance-row .calendar-observance { margin: 0; }

.team-workspaces { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1rem; overflow-wrap: anywhere; }
.team-members { list-style: none; padding: 0; }
.team-members li { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; padding: .7rem 0; border-top: 1px solid #dce3ed; overflow-wrap: anywhere; }
.team-members form { margin-left: auto; }
.team-members button { margin: 0; padding: .45rem .7rem; }
.team-drafts { margin-top: 1rem; }
.team-member-actions { display: flex; flex-wrap: wrap; gap: .45rem; margin-left: auto; }

.calendar-status { display: inline-block; width: fit-content; max-width: 100%; padding: .12rem .35rem; border-radius: 4px; background: #e2e9f2; color: #324963; font-size: .68rem; font-weight: 650; line-height: 1.25; }
.calendar-status[data-status="scheduled"], .calendar-status[data-status="publishing"] { background: #dbeaff; color: #173f80; }
.calendar-status[data-status="published"] { background: #dff3e9; color: #185541; }
.calendar-status[data-status="failed"] { background: #fde6e5; color: #872d28; }
.calendar-status[data-status="needs_review"] { background: #ffedce; color: #734509; }

.composer-channel-mark { margin-left: 0; align-self: center; }
.composer-tools { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin-top: .5rem; }
.composer-tool { display: inline-flex; align-items: center; gap: .35rem; margin: 0; min-height: 2.25rem; padding: .25rem .55rem; border-radius: 7px; background: #eef4fd; color: #24456e; cursor: pointer; font-size: .85rem; }
.composer-tool svg { width: 1.1rem; height: 1.1rem; flex: none; }
.composer-tool span { overflow-wrap: anywhere; }
.composer-tool:hover { background: #e0ecfc; }
.composer-tools input[type="file"] { position: absolute; width: 1px; height: 1px; padding: 0; opacity: 0; }
.composer-tool:has(+ input:focus-visible) { outline: 2px solid #0058de; outline-offset: 2px; }
.composer-tools .character-count { margin: 0 0 0 auto; }
.emoji-picker { position: relative; }
.emoji-picker summary::-webkit-details-marker { display: none; }
.emoji-picker > div { position: absolute; z-index: 2; top: calc(100% + .3rem); right: 0; display: grid; grid-template-columns: repeat(3, auto); gap: .15rem; padding: .35rem; border: 1px solid #dce3ed; border-radius: 8px; background: #fff; }
.emoji-picker button { margin: 0; padding: .3rem; background: #f3f7fd; color: #192a43; }
