@import url("/product-base.css");
.inbox-layout {
  display: grid;
  grid-template-columns: minmax(220px, 30%) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.inbox-list {
  max-height: 72dvh;
  overflow: auto;
  padding: 8px;
}
.inbox-thread {
  display: grid;
  gap: 6px;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 16px 12px;
}
.inbox-thread[aria-pressed="true"] {
  background: #edf3e8;
}
.inbox-thread > span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
}
.inbox-unread {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}
.inbox-snippet {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  font-weight: 400;
}
.inbox-thread small,
.inbox-message small {
  color: var(--muted);
  font-weight: 400;
}
.inbox-messages {
  max-height: 45dvh;
  overflow: auto;
  padding: 8px 0;
}
.inbox-message {
  margin: 12px 15% 12px 0;
  background: #f3f5f0;
  border-radius: 10px;
  padding: 12px;
}
.inbox-message.outbound {
  margin: 12px 0 12px 15%;
  background: #e9f0e3;
}
.inbox-message p,
.inbox-draft p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.inbox-detail details {
  margin: 16px 0;
}
.inbox-detail summary,
.inbox-connect summary {
  cursor: pointer;
  padding: 8px 0;
}
.inbox-draft {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}
.inbox-connect {
  margin-left: auto;
}
.inbox-detail fieldset {
  border: 0;
  padding: 0;
}
.panel.inbox-detail {
  padding: 22px;
}
@media (max-width: 800px) {
  .inbox-layout {
    grid-template-columns: 1fr;
  }
  .inbox-list {
    max-height: 35dvh;
  }
}
.shell {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  min-height: 100dvh;
}
.sidebar {
  background: #f0f3ed;
  border-right: 1px solid var(--line);
  padding: 30px 18px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100dvh;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 23px;
  font-weight: 720;
  letter-spacing: -1px;
  color: var(--ink);
  text-decoration: none;
  padding: 0 12px;
}
.wordmark img {
  width: 31px;
  height: 31px;
}
.workspace-select {
  margin: 34px 8px 20px;
  width: calc(100% - 16px);
  background: transparent;
  border-color: var(--line);
  font-size: 13px;
}
.nav {
  display: grid;
  gap: 5px;
}
.nav button {
  text-align: left;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #66756a;
  padding: 12px 14px;
  font-weight: 550;
}
.nav button:hover {
  background: #e7ede2;
}
.nav button[aria-current="page"] {
  background: #dfe8d8;
  color: var(--green);
}
.icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.7;
  fill: none;
  flex: none;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 32px;
}
.credit-mini {
  margin: 0 10px 24px;
  font-size: 12px;
  color: var(--muted);
}
.credit-mini strong {
  font-size: 16px;
  color: var(--ink);
  font-weight: 620;
}
.track {
  height: 4px;
  background: #dbe3d6;
  border-radius: 8px;
  margin-top: 10px;
  overflow: hidden;
}
.track i {
  display: block;
  height: 100%;
  background: var(--green);
}
.identity {
  display: flex;
  gap: 10px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 20px 8px 0;
  font-size: 12px;
}
.avatar {
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: #dce5d6;
  color: var(--green);
  font-weight: 650;
  flex: none;
}
.identity button {
  border: none;
  background: none;
  padding: 2px;
  font-size: 12px;
  color: var(--muted);
}
.content {
  min-width: 0;
}
.topbar {
  height: 76px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 42px;
  font-size: 13px;
  color: var(--muted);
  gap: 12px;
}
.topbar strong {
  color: var(--ink);
  font-weight: 550;
}
.main {
  padding: 38px 42px 64px;
  max-width: 1440px;
  margin: auto;
}
.page-title {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-end;
  margin-bottom: 30px;
}
.page-title h1 {
  font-size: 31px;
  line-height: 1.2;
  margin: 0 0 9px;
  letter-spacing: -1.15px;
  font-weight: 620;
}
.page-title p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.search-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 26px;
  align-items: start;
}
.panel {
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--paper);
}
.search-form {
  padding: 28px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.search-form label {
  margin-bottom: 20px;
}
#content-search select,
#schedule-form select {
  min-height: 44px;
  -webkit-appearance: none;
  appearance: none;
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23285945' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.search-form .section-rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 24px 0;
}
.mode-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.mode {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 15px 12px;
  cursor: pointer;
  display: block;
}
.mode:has(input:checked) {
  border-color: var(--green);
  background: var(--wash);
  box-shadow: 0 0 0 1px var(--green);
}
.mode:has(input:disabled) {
  opacity: 0.5;
  cursor: default;
}
.mode input {
  position: absolute;
  opacity: 0;
  width: 1px;
}
.mode:focus-within {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
.mode strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
}
.mode small {
  display: block;
  color: var(--muted);
  margin-top: 7px;
  font-size: 11px;
}
.mode b {
  position: absolute;
  right: 9px;
  top: 13px;
  font-size: 11px;
  color: var(--green);
}
.advanced {
  margin: 0 0 22px;
}
.advanced summary {
  font-size: 13px;
  cursor: pointer;
  color: var(--green);
  padding: 8px 0;
}
.advanced[open] summary {
  margin-bottom: 12px;
}
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-weight: 400 !important;
  font-size: 12px !important;
  color: var(--muted);
}
.checkbox input {
  width: 15px;
  height: 15px;
  min-width: 15px;
  margin: 1px 0;
  accent-color: var(--green);
}
.form-footer {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}
.form-footer .checkbox {
  margin: 0;
  max-width: 320px;
}
.quote-panel {
  padding: 25px;
  background: #f8faf5;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 650;
}
.quote-number {
  font-size: 36px;
  letter-spacing: -1.5px;
  font-weight: 550;
  margin: 18px 0 0;
  line-height: 1.1;
}
.quote-number span {
  font-size: 14px;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--muted);
}
.quote-details {
  display: grid;
  gap: 14px;
  font-size: 12px;
  margin: 25px 0 0;
}
.quote-details div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}
.quote-details dt {
  color: var(--muted);
}
.quote-details dd {
  margin: 0;
  font-weight: 550;
}
.quote-panel .hint {
  font-size: 12px;
  line-height: 1.6;
  margin-top: 22px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.history {
  margin-top: 34px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.section-heading h2 {
  font-size: 16px;
  margin: 0;
  font-weight: 600;
}
.section-heading small {
  color: var(--muted);
}
.history-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  gap: 15px;
}
.history-item:last-child {
  border-bottom: 0;
}
.history-item strong {
  font-size: 13px;
  display: block;
  font-weight: 550;
}
.history-item small {
  font-size: 12px;
  display: block;
  margin-top: 5px;
  color: var(--muted);
}
.toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.toolbar input {
  max-width: 330px;
}
.toolbar select {
  width: auto;
  max-width: 270px;
}
.toolbar .spacer {
  flex: 1;
}
.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
th {
  text-align: left;
  padding: 14px 16px;
  font-size: 11px;
  font-weight: 550;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  background: #fafbf8;
  white-space: nowrap;
}
td {
  padding: 18px 16px;
  border-bottom: 1px solid var(--line);
}
tr:last-child td {
  border-bottom: 0;
}
td input,
th input {
  width: 15px;
  height: 15px;
  accent-color: var(--green);
}
td strong {
  font-weight: 570;
}
td small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  margin-top: 4px;
}
td a {
  text-decoration: none;
  color: var(--green);
}
.person-name {
  display: flex;
  align-items: center;
  gap: 11px;
}
.person-name .avatar {
  font-size: 11px;
  background: #eef1e9;
}
.score {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}
.score i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}
.tag {
  font-size: 11px;
  display: inline-block;
  border-radius: 5px;
  padding: 4px 7px;
  background: #f0f3ed;
  color: #697964;
  white-space: nowrap;
}
.tag.warning {
  background: #faf0dd;
  color: #8c6324;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  margin-top: 18px;
}
.empty {
  padding: 46px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
.empty strong {
  display: block;
  font-size: 16px;
  color: var(--ink);
  font-weight: 550;
  margin-bottom: 10px;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.campaign-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 24px 0;
}
.card {
  padding: 24px;
}
.card h2,
.card h3 {
  margin: 0 0 14px;
  font-size: 19px;
  font-weight: 580;
}
.card p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 13px;
}
.price {
  font-size: 30px;
  letter-spacing: -1px;
  margin: 22px 0;
}
.price small {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0;
}
.plain-list {
  padding: 0;
  list-style: none;
  display: grid;
  gap: 13px;
  font-size: 13px;
  color: var(--muted);
  margin: 24px 0;
}
.plan-current {
  border-color: var(--green);
}
.status-line {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 24px;
  background: var(--wash);
  font-size: 13px;
}
.status-line button {
  margin-left: auto;
}
.stack {
  display: grid;
  gap: 18px;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.draft-body {
  white-space: pre-wrap;
  line-height: 1.75;
  font-size: 14px;
}
.stat,
.card .stat {
  font-size: 32px;
  font-weight: 550;
  letter-spacing: -1px;
  line-height: 1.2;
  margin: 12px 0 0;
  color: var(--ink);
}
.subnav {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}
.subnav button[aria-current="page"] {
  background: var(--wash);
  border-color: var(--green);
}
.signin {
  max-width: 430px;
  margin: 12vh auto;
  padding: 32px;
}
.signin h1 {
  font-size: 30px;
  letter-spacing: -1px;
}
.signin p {
  line-height: 1.6;
  color: var(--muted);
}
.signin .button {
  width: 100%;
  margin-top: 12px;
}
.detail-list {
  display: grid;
  gap: 18px;
}
.next-step {
  max-width: 16rem;
  overflow-wrap: anywhere;
}
.activity-note {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.compact {
  padding: 1rem;
}
.detail-list dt {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 5px;
}
.detail-list dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.dialog-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 24px;
}
.social-account-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.social-account-choices.account-types {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.social-account-choices button {
  display: grid;
  grid-template-rows: 36px auto 14px;
  justify-items: center;
  align-content: center;
  gap: 8px;
  min-height: 112px;
  padding: 20px 8px;
  background: var(--paper);
}
.social-account-choices.account-types button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.social-account-choices button:hover:not(:disabled) {
  border-color: var(--green);
  background: var(--wash);
}
.social-account-choices svg {
  width: 36px;
  height: 36px;
}
.social-account-choices small {
  font-size: 10px;
  font-weight: 400;
}
.connection-status {
  font-size: 13px;
  color: var(--muted);
}
.connection-status:empty {
  display: none;
}
.brand-fields {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.progress {
  margin: 20px 0;
  padding: 16px 20px;
  border-radius: 9px;
  background: var(--wash);
  font-size: 13px;
}
.jobs {
  margin-bottom: 22px;
}
.muted {
  color: var(--muted);
}
.notice {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: white;
  padding: 13px 20px;
  border-radius: 9px;
  font-size: 13px;
  z-index: 20;
  box-shadow: 0 7px 28px #1f332f20;
  max-width: 90vw;
}
.preview-badge {
  background: #fff1db;
  border: 1px solid #ead5af;
  padding: 4px 8px;
  border-radius: 5px;
  font-size: 11px;
  color: #795d2f;
}
.compact {
  max-width: 760px;
}
.danger {
  color: #a04737;
}
.inline {
  display: flex;
  gap: 10px;
  align-items: center;
}
.text-button {
  border: 0;
  background: transparent;
  color: var(--green);
  padding: 0;
  font-size: 12px;
}
.mobile-brand {
  display: none;
}
@media (max-width: 1150px) {
  .main {
    padding: 30px 28px;
  }
  .topbar {
    padding: 0 28px;
  }
  .search-layout {
    grid-template-columns: minmax(0, 1fr) 245px;
  }
  .shell {
    grid-template-columns: 200px minmax(0, 1fr);
  }
  .sidebar {
    padding: 28px 12px;
  }
  .search-form {
    padding: 22px;
  }
  .mode b {
    position: static;
    display: block;
    margin-top: 7px;
  }
}
@media (max-width: 950px) {
  .search-layout {
    grid-template-columns: 1fr;
  }
  .quote-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
  }
  .quote-panel .quote-details {
    margin: 0;
    grid-row: 1 / span 2;
    grid-column: 2;
  }
  .quote-panel .hint {
    grid-column: 1 / -1;
    margin: 4px 0 0;
  }
  .quote-number {
    margin: 0;
  }
  .card-grid {
    grid-template-columns: 1fr;
  }
  .two-col {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .shell {
    display: block;
  }
  .sidebar {
    position: relative;
    height: auto;
    padding: 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .wordmark {
    font-size: 22px;
  }
  .sidebar .workspace-select {
    position: absolute;
    right: 12px;
    top: 11px;
    width: 150px;
    margin: 0;
  }
  .nav {
    display: flex;
    overflow: auto;
    gap: 4px;
    margin-top: 18px;
  }
  .nav button {
    padding: 9px 11px;
    white-space: nowrap;
    font-size: 12px;
  }
  .nav .icon {
    display: none;
  }
  .sidebar-bottom {
    display: none;
  }
  .topbar {
    height: 46px;
    padding: 0 20px;
    font-size: 11px;
  }
  .main {
    padding: 26px 20px;
  }
  .page-title h1 {
    font-size: 27px;
  }
  .page-title {
    align-items: start;
    flex-direction: column;
  }
  .search-form {
    padding: 20px;
  }
  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .form-footer {
    display: grid;
  }
  .form-footer .button {
    width: 100%;
  }
  .toolbar input {
    max-width: none;
  }
  .quote-panel {
    padding: 20px;
  }
  .mode {
    padding: 13px 10px;
  }
  .mode small {
    font-size: 10px;
  }
  .pagination {
    gap: 10px;
  }
  .table-wrap {
    border-radius: 8px;
  }
}

.remote-dialog {
  width: min(1160px, 96vw);
  max-width: 1160px;
}
.remote-browser {
  width: 100%;
  aspect-ratio: 1100 / 760;
  background: #f5f5f2;
  overflow: auto;
}
.remote-browser img {
  display: block;
  width: 100%;
  height: auto;
  cursor: default;
}
.remote-browser img:focus-visible {
  outline: 3px solid var(--accent, #245348);
  outline-offset: -3px;
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  margin: 16px 0;
}
.media-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  text-align: left;
  overflow: hidden;
}
.media-card strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.media-card img,
.media-video {
  width: 100%;
  height: 120px;
  object-fit: contain;
  background: var(--surface);
}
.media-video {
  display: grid;
  place-items: center;
  color: var(--muted);
}
.media-preview {
  display: block;
  max-height: 320px;
  max-width: 100%;
  margin: 12px auto;
}
#upload-progress {
  width: 100%;
}
#image-focus {
  border: 0;
  padding: 0;
  margin: 12px 0;
}
#image-focus legend {
  color: var(--muted);
  font-size: 13px;
}
#image-focus input[type="range"] {
  accent-color: var(--accent, #285945);
  padding: 0;
  border: 0;
  min-height: 24px;
}
#image-preparation select {
  min-height: 44px;
}
.studio-asset {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0;
}
.studio-asset > span {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.studio-asset small {
  display: block;
  color: var(--muted);
}
.media-thumb {
  width: 72px;
  height: 64px;
  object-fit: contain;
  background: #f3f5f2;
  border-radius: 6px;
}
.review-details {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 20px;
  font-size: 14px;
}
.review-details dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.studio-review {
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 12px 0 20px;
  margin: 0 0 18px;
}
.studio-review legend {
  font-weight: 600;
}
.studio-video {
  width: min(55%, 320px);
  max-height: 240px;
}
[data-review-select] {
  width: 18px;
  height: 18px;
}

.report-controls {
  display: grid;
  grid-template-columns: minmax(180px, 2fr) minmax(150px, 1fr) repeat(3, auto);
  align-items: end;
  gap: 10px;
  margin-bottom: 16px;
}
.report-controls label {
  margin: 0;
}
.report-options {
  display: flex;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.report-options label {
  min-width: 180px;
  flex: 1;
  margin: 0;
}
.report-measurements.compared {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.report-measurements {
  margin: 12px 0;
}
.report-measurements section {
  min-width: 0;
}
@media (max-width: 900px) {
  .report-controls {
    grid-template-columns: 1fr 1fr;
  }
  .report-measurements.compared {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 500px) {
  .report-controls {
    grid-template-columns: 1fr;
  }
  .report-options {
    align-items: stretch;
  }
}
