:root { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #e5e7eb; background: #0b1120; font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: radial-gradient(circle at 75% -10%, #1d2a43 0, transparent 35%), #0b1120; }
button { font: inherit; }
.shell { width: min(1440px, calc(100% - 48px)); margin: 0 auto; padding: 44px 0 28px; }
.topbar, .panel-heading, .top-actions, .filters, .source-row, .deadline-item, footer { display: flex; align-items: center; }
.topbar { justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.eyebrow { color: #8ea0bb; font-size: .72rem; font-weight: 700; letter-spacing: .14em; margin: 0 0 8px; }
h1, h2, p { margin-top: 0; } h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.05em; line-height: 1.05; margin-bottom: 10px; } h2 { font-size: 1.08rem; letter-spacing: -.02em; margin: 0; }
.muted, .summary-note, .source-row span, .deadline-item span, footer { color: #8ea0bb; }
.muted { margin-bottom: 0; font-size: .98rem; }.top-actions { gap: 16px; }.sync-status { color: #a9b8cc; font-size: .82rem; white-space: nowrap; }.status-dot { display: inline-block; width: 7px; height: 7px; background: #6ee7b7; border-radius: 50%; margin-right: 7px; box-shadow: 0 0 0 4px #6ee7b71a; }
.button { border: 1px solid #334155; border-radius: 9px; color: #ecfdf5; padding: 10px 15px; cursor: pointer; }.secondary { background: #18253a; }.secondary:hover { background: #22324c; }
.summary-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 28px; }.summary-card { background: #111a2c; border: 1px solid #26344c; border-radius: 13px; padding: 18px 19px; position: relative; overflow: hidden; }.summary-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--accent); }.accent-mint { --accent: #6ee7b7; }.accent-amber { --accent: #fbbf67; }.accent-blue { --accent: #8bb8ff; }.accent-lilac { --accent: #c4a7ff; }.summary-label { display: block; color: #a9b8cc; font-size: .84rem; margin-bottom: 12px; }.summary-card strong { display: block; font-size: 1.8rem; letter-spacing: -.04em; margin-bottom: 4px; }.summary-note { font-size: .76rem; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, .75fr); gap: 18px; }.panel { background: #111a2c; border: 1px solid #26344c; border-radius: 14px; }.review-panel { min-height: 610px; }.panel-heading { justify-content: space-between; gap: 16px; padding: 22px 22px 18px; border-bottom: 1px solid #26344c; }.filters { gap: 5px; background: #0c1526; border: 1px solid #22304a; border-radius: 9px; padding: 4px; }.filter { color: #8ea0bb; background: transparent; border: 0; border-radius: 6px; padding: 7px 10px; cursor: pointer; font-size: .78rem; }.filter span { color: #63738d; margin-left: 3px; }.filter.active { color: #e5e7eb; background: #26364f; }.review-list { padding: 4px 22px 18px; }.review-card { padding: 19px 0; border-bottom: 1px solid #26344c; }.review-card:last-child { border-bottom: 0; }.review-meta, .review-title-row, .draft-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }.review-meta { margin-bottom: 9px; }.source-label { font-size: .74rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }.source-cpanel { color: #7dd3fc; }.source-fiverr { color: #fbbf67; }.source-instantly { color: #c4a7ff; }.received { color: #71829c; font-size: .74rem; }.review-card h3 { font-size: .97rem; margin: 0 0 7px; }.review-card p { color: #a9b8cc; font-size: .84rem; line-height: 1.55; margin-bottom: 13px; }.tag { color: #b9c8da; background: #1d2b42; border-radius: 5px; padding: 4px 7px; font-size: .7rem; }.draft-box { border-left: 2px solid #6ee7b7; background: #0c1626; border-radius: 0 8px 8px 0; padding: 11px 13px; margin-bottom: 12px; }.draft-box small { display: block; color: #6ee7b7; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 5px; }.draft-box p { color: #c8d4e3; font-size: .81rem; margin: 0; line-height: 1.5; }.draft-actions { justify-content: flex-start; }.action-button { border: 1px solid #334155; background: transparent; color: #bdcbe0; border-radius: 6px; padding: 7px 10px; font-size: .75rem; cursor: pointer; }.action-button:hover { background: #21314a; }.approve { color: #8af0c4; border-color: #356b59; }
.side-stack { display: grid; gap: 18px; align-content: start; }.compact-panel { padding-bottom: 17px; }.compact-panel .panel-heading { padding-bottom: 16px; }.count-badge, .live-pill { font-size: .7rem; color: #fbbf67; background: #4d391c; border-radius: 10px; padding: 4px 8px; }.live-pill { color: #8af0c4; background: #153b31; letter-spacing: .08em; }.deadline-list, .source-list { padding: 4px 20px; }.deadline-item { justify-content: space-between; gap: 14px; padding: 14px 0; border-bottom: 1px solid #26344c; }.deadline-item:last-child { border-bottom: 0; }.deadline-item strong, .source-row strong { display: block; font-size: .83rem; margin-bottom: 4px; }.deadline-item span, .deadline-item time, .source-row span { font-size: .73rem; }.deadline-item time { color: #9eacc0; white-space: nowrap; }.deadline-item .urgent { color: #fbbf67; }.text-button { color: #8bb8ff; background: none; border: 0; padding: 11px 20px 0; font-size: .77rem; cursor: pointer; }.text-button span { margin-left: 5px; }.source-row { gap: 10px; padding: 13px 0; border-bottom: 1px solid #26344c; }.source-row:last-child { border-bottom: 0; }.source-row div { flex: 1; }.source-icon { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; font-weight: 800; font-size: .75rem; }.mail { color: #7dd3fc; background: #123747; }.fiverr { color: #fbbf67; background: #4d391c; }.instantly { color: #c4a7ff; background: #342559; }.connected { color: #6ee7b7 !important; font-size: .68rem !important; }.toast { position: fixed; right: 22px; bottom: 22px; background: #1f314b; border: 1px solid #456181; border-radius: 8px; color: #eff6ff; padding: 12px 15px; transform: translateY(20px); opacity: 0; transition: .2s ease; pointer-events: none; font-size: .82rem; }.toast.show { transform: translateY(0); opacity: 1; } footer { justify-content: space-between; padding: 22px 2px 0; font-size: .72rem; }
@media (max-width: 900px) { .summary-grid { grid-template-columns: repeat(2, 1fr); }.content-grid { grid-template-columns: 1fr; }.side-stack { grid-template-columns: repeat(2, 1fr); }.review-panel { min-height: auto; } }
@media (max-width: 620px) { .shell { width: min(100% - 28px, 540px); padding-top: 26px; }.topbar { align-items: flex-start; flex-direction: column; }.top-actions { width: 100%; justify-content: space-between; }.summary-grid, .side-stack { grid-template-columns: 1fr; }.panel-heading { align-items: flex-start; flex-direction: column; }.filters { width: 100%; overflow-x: auto; }.filter { white-space: nowrap; }.review-list { padding-left: 16px; padding-right: 16px; }.deadline-item { align-items: flex-start; flex-direction: column; gap: 5px; } footer { align-items: flex-start; flex-direction: column; gap: 6px; } }
.reply-rule { display: flex; align-items: center; gap: 8px; margin: 12px 20px 0; color: #9debc9; font-size: .73rem; }
.rule-check { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: #153b31; color: #8af0c4; font-weight: 700; }
.modal-backdrop { display: none; position: fixed; inset: 0; z-index: 10; padding: 28px; background: #050a14cc; backdrop-filter: blur(8px); overflow: auto; }
.modal-backdrop.open { display: grid; place-items: center; }
.connections-modal { width: min(760px, 100%); background: #111a2c; border: 1px solid #3a4c68; border-radius: 16px; box-shadow: 0 24px 80px #020617aa; }
.modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 24px 26px 18px; border-bottom: 1px solid #26344c; }
.close-button { border: 0; background: transparent; color: #9eacc0; font-size: 1.7rem; line-height: 1; cursor: pointer; }
.security-note { display: flex; gap: 11px; margin: 18px 26px; padding: 13px 15px; border: 1px solid #315c50; border-radius: 9px; background: #103127; color: #bdf5dc; }
.security-note > span { color: #6ee7b7; font-size: .7rem; padding-top: 4px; }.security-note strong { font-size: .8rem; }.security-note p { color: #9debc9; font-size: .75rem; margin: 4px 0 0; }
.connection-tabs { display: flex; gap: 4px; padding: 0 26px; border-bottom: 1px solid #26344c; overflow-x: auto; }.connection-tab { border: 0; border-bottom: 2px solid transparent; background: transparent; color: #8ea0bb; padding: 11px 10px; cursor: pointer; white-space: nowrap; font-size: .78rem; }.connection-tab.active { color: #eff6ff; border-bottom-color: #6ee7b7; }
.connection-pane { display: none; padding: 22px 26px 26px; }.connection-pane.active { display: block; }.connection-pane h3 { margin: 0 0 7px; font-size: 1rem; }.pane-help { color: #9eacc0; font-size: .8rem; line-height: 1.5; max-width: 620px; margin-bottom: 18px; }.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }.form-grid label, .toggle-row { display: grid; gap: 7px; color: #a9b8cc; font-size: .75rem; }.form-grid input, .form-grid select { width: 100%; border: 1px solid #33445f; border-radius: 7px; background: #0b1424; color: #e5e7eb; padding: 10px; font: inherit; font-size: .8rem; }.form-grid input:focus, .form-grid select:focus { outline: 2px solid #6ee7b766; border-color: #6ee7b7; }.test-button { font-size: .78rem; }.test-button:disabled { opacity: .65; cursor: wait; }.connection-status { min-height: 1.4em; margin: 12px 0 0; color: #9eacc0; font-size: .78rem; line-height: 1.45; }.connection-status[data-state="pending"] { color: #f8d477; }.connection-status[data-state="success"] { color: #6ee7b7; }.connection-status[data-state="error"] { color: #ff9b9b; }.integration-card { display: flex; align-items: center; gap: 11px; padding: 14px; border: 1px solid #2f405c; border-radius: 9px; }.integration-card > div { flex: 1; }.integration-card strong, .integration-card span { display: block; }.integration-card strong { font-size: .83rem; margin-bottom: 4px; }.integration-card span:not(.source-icon) { color: #8ea0bb; font-size: .73rem; }.campaign-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }.campaign-checks label { color: #c8d4e3; font-size: .8rem; }.campaign-checks input, .toggle-row input { accent-color: #6ee7b7; margin-right: 8px; }.toggle-row { display: block; margin: 14px 0 20px; color: #c8d4e3; }.modal-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 16px 26px; border-top: 1px solid #26344c; color: #71829c; font-size: .7rem; }.modal-footer .button { background: #1d2e47; }
@media (max-width: 620px) { .modal-backdrop { padding: 12px; }.form-grid, .campaign-checks { grid-template-columns: 1fr; }.modal-header, .connection-pane { padding-left: 18px; padding-right: 18px; }.security-note, .connection-tabs { margin-left: 18px; margin-right: 18px; padding-left: 0; padding-right: 0; }.modal-footer { align-items: flex-start; flex-direction: column; padding-left: 18px; padding-right: 18px; } }
.mailbox-card { padding: 15px; margin-bottom: 12px; border: 1px solid #2f405c; border-radius: 9px; background: #0c1627; }.mailbox-actions, .schedule-actions { display: flex; align-items: end; flex-wrap: wrap; gap: 10px; }.empty-state { color: #8ea0bb; font-size: .8rem; margin: 4px 0 18px; }.schedule-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; margin-bottom: 12px; }.schedule-row label, .interval-control { display: grid; gap: 7px; color: #a9b8cc; font-size: .75rem; }.schedule-row input, .schedule-row select, .interval-control select { width: 100%; border: 1px solid #33445f; border-radius: 7px; background: #0b1424; color: #e5e7eb; padding: 10px; font: inherit; font-size: .8rem; }
