/* GotLink workspace: the approved Content Studio layout, in the original logo colour. */
:root {
  --brand: #d1063d;
  --brand-hover: #b00534;
  --brand-soft: #fce7ee;
  --brand-line: #f3c7d2;
  --magenta: var(--brand);
  --magenta-dark: var(--brand-hover);
  --magenta-pale: var(--brand-soft);
  --canvas: #f5f6f8;
  --ink: #242832;
  --ink-soft: #475467;
  --ink-faint: #7a8494;
  --border: #e4e7ed;
  --border-strong: #d4d9e2;
  --sidebar: 232px;
  --topbar: 62px;
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 14px;
  --font-body:
    Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
}
body {
  font-size: 13px;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 3px solid #d1063d40;
  outline-offset: 3px;
}
.button {
  min-height: 36px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 550;
  transition:
    background 0.15s,
    border-color 0.15s,
    box-shadow 0.15s;
}
.button-primary {
  background: var(--brand);
  border-color: var(--brand);
  box-shadow: 0 2px 4px #d1063d14;
}
.button-primary:hover:not(:disabled) {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
}
.button-secondary {
  background: #fff;
  border-color: var(--border-strong);
  box-shadow: 0 1px 2px #24283205;
}
.button-quiet:hover:not(:disabled) {
  background: #edf0f4;
}
.icon-button {
  border-radius: 7px;
}
.field > span:first-child,
.field > label:first-child {
  font-size: 12px;
  font-weight: 550;
  color: var(--ink-soft);
}
.field input,
.field select,
.field textarea {
  border-color: #dfe3ea;
  border-radius: 7px;
  font-size: 13px;
  background: white;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand-line);
  outline: 3px solid #d1063d14;
}
input[type="checkbox"],
input[type="radio"],
input[type="range"],
progress {
  accent-color: var(--brand);
}

/* Navigation stays quiet so the logo and current project remain distinct. */
.client-sidebar {
  padding: 23px 13px 14px;
  border-right: 1px solid var(--border);
  background: #fff;
  color: var(--ink-soft);
}
.brand-lockup {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  margin: 0 7px 21px;
}
.brand-logo {
  width: 100%;
  max-height: none;
  height: 55px;
  object-fit: contain;
  padding: 8px 10px;
  background: #fff;
  border-radius: 7px;
}
.brand-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 0;
  padding: 0 2px;
}
.brand-copy strong {
  color: var(--ink);
  font-size: 12px;
  font-weight: 550;
}
.brand-copy span {
  font-size: 9px;
  color: var(--ink-faint);
  letter-spacing: 0;
}
.brand-home:hover .brand-copy strong,
.brand-home[aria-current="page"] .brand-copy strong {
  color: var(--brand);
}
.workspace-home-link {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 0 0 7px;
  padding: 9px 11px;
  border: 0;
  border-radius: 7px;
  color: var(--ink-soft);
  background: transparent;
  text-align: left;
  font-size: 12px;
}
.workspace-home-link[aria-current="page"] {
  background: var(--brand-soft);
  color: var(--brand);
}
.workspace-home-link:hover {
  background: #f3f5f8;
  color: var(--ink);
}
#open-client-dialog {
  min-height: 35px;
  font-size: 12px;
}
.conversion-sidebar-link {
  background: #fff;
  color: var(--ink-soft);
  border-color: var(--border-strong);
  box-shadow: none;
  font-size: 12px;
}
.conversion-sidebar-link:hover {
  background: #f7f8fa;
  color: var(--ink);
}
.sidebar-summary {
  border-color: var(--border);
  margin-top: 16px;
}
.sidebar-summary > div {
  border-color: var(--border);
}
.sidebar-summary span {
  color: var(--ink-faint);
  font-size: 9px;
}
.sidebar-summary strong {
  color: var(--ink);
  font-size: 18px;
}
.client-sidebar .search-control {
  margin-top: 14px;
  border-color: var(--border);
  background: #f7f8fa;
  color: var(--ink-faint);
  border-radius: 7px;
}
.client-sidebar .search-control input {
  color: var(--ink);
  font-size: 11px;
}
.client-sidebar .search-control input::placeholder {
  color: var(--ink-faint);
}
.client-sidebar .search-control kbd {
  color: var(--ink-faint);
  background: #fff;
  border-color: var(--border-strong);
}
.client-list-heading {
  color: var(--ink-faint);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.08em;
}
.client-item {
  gap: 9px;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  padding: 9px 8px;
  color: var(--ink-soft);
}
.client-item:hover {
  color: var(--ink);
  background: #f5f6f8;
}
.client-item.is-active {
  color: var(--ink);
  background: var(--brand-soft);
}
.client-item.is-active::before {
  inset: 12px auto 12px -4px;
  width: 2px;
  background: var(--brand);
}
.client-avatar {
  width: 30px;
  height: 30px;
  border-color: var(--border-strong);
  color: var(--ink-soft);
  background: #fff;
  border-radius: 7px;
  font-size: 10px;
  font-weight: 550;
}
.client-item.is-active .client-avatar {
  color: var(--brand);
  background: #fff;
  border-color: var(--brand-line);
}
.client-item-copy strong {
  font-size: 12px;
  font-weight: 550;
}
.client-item-copy span {
  font-size: 10px;
  color: var(--ink-faint);
}
.client-item.is-active .client-item-copy span {
  color: #8f5263;
}
.client-progress {
  color: var(--ink-faint);
  font-size: 9px;
}
.client-progress i {
  background: var(--border);
}
.client-list {
  scrollbar-color: #cbd0d9 transparent;
}
.client-sidebar .skeleton {
  background: #eceff3;
}
.client-sidebar .skeleton::after {
  background: #f8f9fb;
}
.sidebar-footer {
  border-color: var(--border);
  color: var(--ink-faint);
  font-size: 10px;
}
.client-sidebar .api-state {
  color: var(--ink-soft);
}

.topbar {
  padding: 0 25px;
  background: #fff;
  backdrop-filter: none;
  border-bottom-color: var(--border);
}
.topbar .icon-button {
  width: 33px;
  height: 33px;
  color: #758091;
  background: transparent;
  border-color: transparent;
}
.topbar .icon-button:hover {
  color: #344054;
  background: #f3f5f8;
}
.topbar .ai-launcher {
  color: var(--brand);
  background: #fff2f6;
}
.breadcrumb {
  font-size: 12px;
}
.breadcrumb strong {
  font-weight: 550;
  color: var(--ink-soft);
}
.save-state {
  color: #8992a0;
  font-size: 11px;
}
.workspace-command-trigger {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 190px;
  padding: 7px 10px;
  border: 1px solid #e6e9ef;
  border-radius: 7px;
  color: #8992a1;
  background: #fafbfc;
  font-size: 11px;
  text-align: left;
}
.workspace-command-trigger svg {
  width: 15px;
  height: 15px;
}
.workspace-command-trigger kbd {
  margin-left: auto;
  border: 0;
  color: #959dac;
  font-size: 9px;
}
.workspace-command-trigger:hover {
  background: #f3f5f8;
  border-color: #d9dee7;
}
.project-header {
  padding: 25px 25px 0;
  background: var(--canvas);
  border-bottom: 0;
}
.project-title-row {
  gap: 22px;
}
.project-identity {
  gap: 13px;
}
#client-title {
  font-size: 29px;
  font-weight: 650;
  letter-spacing: -0.6px;
}
.client-monogram {
  width: 46px;
  height: 46px;
  border-radius: 9px;
  background: var(--brand-soft);
  color: var(--brand);
  border-color: var(--brand-line);
  font-weight: 600;
}
.project-meta {
  font-size: 11px;
}
.project-tabs {
  margin-top: 24px;
  padding: 0 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 9px;
}
.project-tabs button {
  font-size: 12px;
  font-weight: 500;
  padding: 14px 11px;
  color: #758091;
}
/* The row scrolls sideways, which clips anything drawn outside a button; keep the focus ring inside the padding. */
.project-tabs button:focus-visible {
  outline-offset: -3px;
}
.project-tabs button[aria-selected="true"] {
  color: var(--brand);
  font-weight: 550;
}
/* Second-level pages repeat the GEO workspace section nav. Its --opt-* colours only exist inside
   .opt-root, so the same values are declared here. */
.project-subtabs {
  --subtab-muted: #6f727b;
  --subtab-accent: #e50058;
  --subtab-line: #dee0e6;
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 18px;
  border-bottom: 1px solid var(--subtab-line);
}
.project-subtabs button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 0 14px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: var(--subtab-muted);
  font-size: 14px;
  line-height: 1.65;
  white-space: nowrap;
}
.project-subtabs button[aria-selected="true"] {
  color: var(--subtab-accent);
  border-bottom-color: var(--subtab-accent);
}
.project-subtabs .tab-count {
  background: var(--border);
}
.workspace {
  padding: 24px 25px 44px;
}
.summary-grid {
  border-radius: 10px;
}
.metric-card {
  padding: 20px;
  min-height: 120px;
}
.metric-label {
  font-weight: 500;
  font-size: 11px;
}
.metric-card > strong,
.metric-value-row > strong {
  font-size: 28px;
  font-weight: 650;
}
.route-card,
.surface-card,
.settings-card,
.week-strip-card,
.board-table-wrap {
  border-color: var(--border);
  border-radius: 10px;
  box-shadow: 0 1px 2px #24283202;
}
.section-kicker {
  font-size: 9px;
  font-weight: 550;
  letter-spacing: 0.12em;
}
.surface-card h2,
.route-card h2 {
  font-size: 16px;
  font-weight: 600;
}
.section-heading .text-button {
  font-size: 12px;
  font-weight: 550;
}
.data-table th,
.board-table th {
  background: #fafbfc;
  color: #7a8494;
  font-weight: 500;
  font-size: 11px;
}
.data-table td,
.board-table td {
  border-color: #e8ebf0;
}
.status-select {
  border-radius: 5px;
  font-weight: 500;
  font-size: 10px;
}
.empty-state-inline {
  color: #818b9b;
}
#portfolio-root {
  padding: 30px 25px 48px;
}
.portfolio-heading h1 {
  font-size: 29px;
  font-weight: 650;
  letter-spacing: -0.6px;
}
.portfolio-heading p:last-child {
  font-size: 13px;
}
.portfolio-modes {
  padding: 3px;
  border-radius: 7px;
  background: #ebeef3;
}
.portfolio-modes button {
  font-size: 12px;
  font-weight: 500;
  padding: 7px 11px;
}
.portfolio-modes button[aria-pressed="true"] {
  color: var(--ink);
  background: white;
  box-shadow: 0 1px 3px #24283214;
}
.portfolio-card {
  border-color: var(--border);
  border-radius: 10px;
  box-shadow: 0 1px 2px #24283203;
}
.portfolio-client-name {
  font-size: 17px;
  font-weight: 600;
}
.portfolio-card > header {
  padding-top: 21px;
}
.portfolio-total {
  font-size: 27px;
}
.portfolio-card > footer {
  background: #fafbfc;
}

/* The editor joins its document rail, paper and inspector into one workspace. */
body:has(.workspace.articles-active) .project-title-row {
  display: none;
}
body:has(.workspace.articles-active) .project-header {
  padding-top: 0;
}
body:has(.workspace.articles-active) .project-tabs {
  margin-top: 15px;
}
body:has(.workspace.articles-active) .project-subtabs {
  margin-top: 14px;
}
.workspace.articles-active {
  padding: 20px 25px 36px;
}
#articles-root {
  --gt-accent: var(--brand);
  --gt-ink: var(--ink);
  --gt-muted: var(--ink-faint);
  --gt-line: var(--border);
}
#articles-root .art-heading {
  margin-bottom: 8px;
}
#articles-root .art-heading h2 {
  font-size: 23px;
  font-weight: 650;
  letter-spacing: -0.5px;
}
#articles-root .art-heading p:last-child {
  font-size: 12px;
}
.gt-studio-bar {
  min-height: 47px;
  padding: 8px 0;
  margin-bottom: 4px;
  background: var(--canvas);
  backdrop-filter: none;
  border-bottom: 0;
}
.gt-studio-tools .button {
  min-height: 31px;
  font-size: 11px;
  background: white;
  border: 1px solid #dfe3ea;
  color: #667085;
}
.gt-workflow button {
  font-size: 11px;
}
.gt-workflow button.is-current {
  color: var(--brand);
  background: var(--brand-soft);
  font-weight: 550;
}
.gt-workflow button.is-current span {
  color: var(--brand);
}
#articles-root .gt-live-message {
  margin: 5px 0 12px;
  font-size: 11px;
  color: #818b9b;
}
#articles-root .art-workspace,
#articles-root.gt-show-rail .art-workspace {
  grid-template-columns: 166px minmax(0, 1fr) 310px;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  align-items: start;
}
#articles-root:not(.gt-show-rail) .art-workspace {
  grid-template-columns: minmax(0, 1fr) 310px;
}
#articles-root .art-rail {
  position: sticky;
  top: calc(var(--topbar) + 12px);
  min-height: 620px;
  max-height: calc(100dvh - var(--topbar) - 24px);
  border: 0;
  border-right: 1px solid var(--border);
  border-radius: 12px 0 0 12px;
  background: #fbfcfe;
  grid-column: auto;
  padding: 0;
}
#articles-root .art-rail-head {
  padding: 15px 12px;
}
#articles-root .art-rail-head input {
  font-size: 11px;
  border-color: #e2e6ed;
  border-radius: 6px;
}
#articles-root .art-draft-list {
  padding: 7px;
  max-height: calc(100dvh - 350px);
  display: block;
}
#articles-root .art-draft-item {
  min-width: 0;
  max-width: none;
  padding: 12px 8px;
  font-size: 11px;
}
#articles-root .art-draft-item strong {
  font-size: 11px;
  font-weight: 550;
}
.art-draft-item.is-active {
  background: var(--brand-soft);
  border-color: var(--brand-line);
}
#articles-root .art-draft-item small {
  font-size: 10px;
}
#articles-root .art-editor {
  border: 0;
  border-right: 1px solid var(--border);
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}
#articles-root .art-editor-empty {
  min-height: 620px;
  padding: 95px 32px;
}
#articles-root .art-editor-empty strong {
  font-size: 20px;
  font-weight: 600;
}
#articles-root .art-editor-head {
  border-radius: 0;
  padding: 28px 42px 20px;
}
#articles-root #art-title {
  font-family: var(--font-body);
  font-size: 29px;
  font-weight: 650;
  line-height: 1.5;
  letter-spacing: -0.5px;
  min-height: 52px;
  resize: vertical;
}
#articles-root .art-editor-tabs {
  background: #fff;
  padding: 0 14px;
  top: var(--topbar);
  min-height: 49px;
}
#articles-root .art-editor-tabs button {
  font-size: 11px;
  font-weight: 500;
  padding: 12px 8px;
}
#articles-root .art-editor-tabs #art-save {
  background: var(--brand);
  min-height: 30px;
  border-radius: 6px;
  font-size: 11px;
}
#articles-root .art-editor-tabs #art-save:disabled {
  background: #eef1f5;
  color: #959eac;
}
#articles-root .gt-toolbar {
  background: #fafbfc;
  padding: 8px 14px;
  top: calc(var(--topbar) + 49px);
  min-height: 44px;
  gap: 2px;
}
#articles-root .gt-toolbar button {
  width: 28px;
  height: 28px;
  padding: 5px;
  color: #667085;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
#articles-root .gt-toolbar button:hover {
  background: #edf0f5;
}
#articles-root .gt-toolbar button svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.7;
}
#articles-root .gt-toolbar .gt-ask {
  margin-left: auto;
  width: auto;
  gap: 5px;
  color: var(--brand);
  font-size: 11px;
  padding: 5px 7px;
}
#articles-root .gt-toolbar select {
  font-size: 11px;
  max-width: 75px;
  color: #475467;
}
#articles-root .gt-paper {
  padding: 28px 42px 64px;
  min-height: 560px;
  font: 14px/1.95 var(--font-body);
  color: #475467;
}
#articles-root .gt-paper h1 {
  font-size: 29px;
  line-height: 1.45;
  color: #242832;
}
#articles-root .gt-paper h2 {
  font-size: 22px;
  line-height: 1.6;
  color: #303641;
  margin: 28px 0 12px;
}
#articles-root .gt-paper h3 {
  font-size: 18px;
  color: #303641;
}
#articles-root .gt-paper p {
  margin: 0 0 17px;
}
#articles-root .gt-paper blockquote {
  padding: 12px 16px;
  margin: 22px 0;
  background: #fff5f8;
  border-left-color: var(--brand);
  border-radius: 0 5px 5px 0;
}
#articles-root .gt-paper:focus {
  outline: 1px solid #d1063d24;
}
#articles-root .art-side {
  position: sticky;
  top: calc(var(--topbar) + 12px);
  max-height: calc(100dvh - var(--topbar) - 24px);
  overflow: auto;
  padding: 0;
  gap: 0;
  grid-column: auto;
  border-radius: 0 12px 12px 0;
}
#articles-root .gt-inspector,
#articles-root .gt-delivery,
#articles-root .gt-flow,
#articles-root .gt-activity {
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  box-shadow: none;
}
#articles-root .gt-inspector-tabs {
  padding: 0 12px;
}
#articles-root .gt-inspector-tabs button {
  font-size: 11px;
  padding: 17px 5px;
  font-weight: 500;
}
#articles-root [data-gt-pane] {
  padding: 20px;
}
#articles-root .gt-gauge {
  width: 174px;
  height: 115px;
  margin: 12px auto 8px;
}
#articles-root .gt-gauge svg {
  height: 112px;
}
.gt-gauge path {
  stroke-width: 12px;
}
#articles-root .gt-gauge strong {
  bottom: 22px;
  font: 650 34px var(--font-body);
  color: #344054;
  letter-spacing: -1px;
}
#articles-root .gt-structure {
  grid-template-columns: 1fr 1fr;
  gap: 17px 12px;
  padding: 17px 0;
}
#articles-root .gt-structure > div {
  border: 0;
  text-align: left;
  padding: 0 5px;
}
#articles-root .gt-structure small {
  font-size: 11px;
}
.gt-structure strong {
  font-family: var(--font-body);
}
#articles-root .gt-term {
  font-size: 11px;
  border-radius: 5px;
  padding: 7px 9px;
}
#articles-root .art-side-card .field > span {
  font-size: 11px;
}
#articles-root .art-side-card .field input,
#articles-root .art-side-card .field textarea,
#articles-root .art-side-card .field select {
  font-size: 12px;
}
.workspace-rail-tabs {
  display: flex;
  margin: 12px 10px 2px;
  padding: 3px;
  border-radius: 6px;
  background: #eef1f5;
  gap: 2px;
}
.workspace-rail-tabs button {
  flex: 1;
  padding: 5px 8px;
  border: 0;
  border-radius: 4px;
  color: #7a8494;
  background: transparent;
  font-size: 11px;
}
.workspace-rail-tabs button[aria-selected="true"] {
  color: var(--ink);
  background: white;
  box-shadow: 0 1px 3px #24283214;
}
.workspace-outline {
  padding: 12px 10px;
}
.workspace-outline button {
  display: flex;
  gap: 7px;
  width: 100%;
  border: 0;
  border-radius: 6px;
  padding: 10px 7px;
  color: #778292;
  background: transparent;
  text-align: left;
  font-size: 11px;
  line-height: 1.8;
}
.workspace-outline button:hover,
.workspace-outline button[aria-current="true"] {
  color: var(--brand);
  background: var(--brand-soft);
}
.workspace-outline small {
  flex-shrink: 0;
  margin-top: 2px;
  padding: 0 3px;
  border: 1px solid #e1e5ed;
  border-radius: 3px;
  background: #fff;
  color: #939aaa;
  font: 8px/16px var(--font-data);
}
.workspace-outline p {
  padding: 6px 7px;
  font-size: 11px;
  color: #8792a1;
  line-height: 1.8;
}
.workspace-outline .workspace-outline-h3 {
  padding-left: 17px;
}

.modal,
.gt-dialog {
  border-radius: 12px;
  border-color: var(--border);
  box-shadow: 0 24px 80px #24283230;
}
.modal::backdrop,
.gt-dialog::backdrop {
  background: #181b245c;
  backdrop-filter: blur(3px);
}
.dialog-header h2 {
  font-size: 19px;
  font-weight: 600;
}
.dialog-body {
  color: #475467;
}
.dialog-footer {
  background: #fafbfc;
}
.dialog-body input,
.dialog-body select,
.dialog-body textarea {
  border-radius: 7px;
}
.workspace-command-dialog {
  width: min(560px, calc(100vw - 28px));
  padding: 0;
  color: var(--ink);
  overflow: hidden;
}
.workspace-command-head {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  padding: 19px 20px;
}
.workspace-command-head svg {
  color: #8992a1;
}
.workspace-command-head input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: none;
  font-size: 14px;
  background: transparent;
}
.workspace-command-head .icon-button {
  width: 26px;
  height: 26px;
  border: 0;
  color: #8992a1;
  font-size: 10px;
}
.workspace-command-results {
  padding: 8px;
  max-height: 370px;
  overflow: auto;
}
.workspace-command-results > button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  border: 0;
  border-radius: 6px;
  padding: 11px 12px;
  background: transparent;
  text-align: left;
  color: #7a8494;
}
.workspace-command-results > button[aria-selected="true"] {
  background: #fff1f5;
  color: var(--brand);
}
.workspace-command-results > button > span {
  flex: 1;
}
.workspace-command-results strong {
  display: block;
  color: #344054;
  font-weight: 500;
  font-size: 13px;
}
.workspace-command-results small {
  display: block;
  font-size: 11px;
  margin-top: 3px;
  color: #8792a1;
}
.workspace-command-results > p {
  padding: 24px;
  text-align: center;
  color: #8992a1;
  font-size: 12px;
}
.workspace-command-footer {
  display: flex;
  gap: 7px;
  padding: 12px 20px;
  border-top: 1px solid var(--border);
  color: #8b94a3;
  font-size: 10px;
  background: #fafbfc;
}
.workspace-command-footer span {
  margin-left: auto;
}

@media (max-width: 1180px) {
  :root {
    --sidebar: 212px;
  }
  .topbar,
  .project-header {
    padding-left: 20px;
    padding-right: 20px;
  }
  .workspace,
  .workspace.articles-active,
  #portfolio-root {
    padding-left: 20px;
    padding-right: 20px;
  }
  .workspace-command-trigger {
    min-width: 150px;
  }
  .workspace-command-trigger > span {
    max-width: 85px;
    overflow: hidden;
    white-space: nowrap;
  }
  #articles-root .art-workspace,
  #articles-root.gt-show-rail .art-workspace,
  #articles-root:not(.gt-show-rail) .art-workspace {
    grid-template-columns: minmax(0, 1fr) 290px;
  }
  #articles-root .art-rail {
    position: static;
    grid-column: 1/-1;
    min-height: 0;
    max-height: none;
    border: 0;
    border-bottom: 1px solid var(--border);
    border-radius: 12px 12px 0 0;
  }
  #articles-root .art-draft-list {
    display: flex;
    max-height: 140px;
    overflow: auto;
  }
  #articles-root .art-draft-item {
    min-width: 170px;
    max-width: 220px;
  }
  #articles-root .art-rail-head:first-child {
    display: block;
  }
  #articles-root .art-rail-head input {
    width: 100%;
    margin-top: 8px;
  }
  .workspace-documents .art-rail-head {
    padding: 11px 13px;
  }
  .workspace-outline {
    display: flex;
    max-height: 145px;
    overflow: auto;
    gap: 4px;
  }
  .workspace-outline button {
    min-width: 170px;
    max-width: 230px;
    flex-shrink: 0;
  }
  .workspace-rail-tabs {
    width: 150px;
    margin-left: 12px;
  }
  #articles-root .gt-paper {
    padding-left: 30px;
    padding-right: 30px;
  }
  #articles-root .art-editor-head {
    padding-left: 30px;
    padding-right: 30px;
  }
  #articles-root #art-title {
    font-size: 27px;
  }
}
@media (max-width: 960px) {
  .workspace-command-trigger {
    min-width: 0;
    padding: 7px;
    border: 0;
    background: transparent;
  }
  .workspace-command-trigger > span,
  .workspace-command-trigger > kbd {
    display: none;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  #articles-root .art-workspace,
  #articles-root.gt-show-rail .art-workspace,
  #articles-root:not(.gt-show-rail) .art-workspace {
    grid-template-columns: minmax(0, 1fr);
  }
  #articles-root .art-editor {
    border-right: 0;
  }
  #articles-root .art-side {
    position: static;
    grid-column: 1;
    max-height: none;
    border-top: 1px solid var(--border);
    border-radius: 0 0 12px 12px;
  }
  #articles-root .gt-terms {
    display: flex;
  }
  #articles-root .gt-inspector {
    border-radius: 0;
  }
  #articles-root .gt-live-message {
    font-size: 11px;
  }
}
@media (max-width: 780px) {
  :root {
    --sidebar: 232px;
    --topbar: 54px;
  }
  .client-sidebar {
    padding-top: 20px;
  }
  .main-column {
    margin-left: 0;
  }
  body.sidebar-open .client-sidebar {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }
  .topbar {
    padding: 0 14px;
  }
  .topbar-start,
  .topbar-actions {
    gap: 7px;
  }
  .save-state {
    display: none;
  }
  .breadcrumb {
    font-size: 11px;
  }
  .topbar .icon-button {
    width: 29px;
    height: 29px;
  }
  .project-header {
    padding: 21px 14px 0;
  }
  .project-tabs {
    margin-top: 18px;
  }
  .project-tabs button {
    font-size: 11px;
    padding: 12px 9px;
  }
  /* Both navigation rows scroll sideways on phones instead of widening the page. */
  .project-subtabs {
    flex-wrap: nowrap;
    margin-top: 14px;
    padding-inline: 4px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .project-subtabs::-webkit-scrollbar {
    display: none;
  }
  /* 4px of side padding keeps the inset focus ring off the text; the negative margin keeps the gap between
     labels, and the row's own padding keeps the first and last rings inside the scroll area. */
  .project-subtabs button {
    flex: 0 0 auto;
    padding-inline: 4px;
    margin-inline: -4px;
  }
  .project-subtabs button:focus-visible {
    outline-offset: -3px;
  }
  #client-title {
    font-size: 25px;
  }
  .project-title-row {
    gap: 14px;
  }
  .project-meta {
    font-size: 10px;
  }
  .workspace,
  .workspace.articles-active {
    padding: 20px 14px 34px;
  }
  #portfolio-root {
    padding: 24px 14px 36px;
  }
  .portfolio-heading h1 {
    font-size: 25px;
  }
  .portfolio-heading p:last-child {
    font-size: 12px;
  }
  #articles-root .art-heading {
    align-items: start;
    gap: 13px;
  }
  #articles-root .art-heading h2 {
    font-size: 21px;
  }
  #articles-root .art-heading p:last-child {
    font-size: 11px;
    line-height: 1.8;
  }
  .gt-heading-actions {
    margin-left: 0;
  }
  .gt-studio-bar {
    position: static;
    padding: 10px 0;
    gap: 10px;
  }
  .gt-studio-tools {
    gap: 5px;
  }
  .gt-studio-tools .button {
    font-size: 10px;
  }
  #articles-root .art-editor-head {
    padding: 22px 24px 17px;
  }
  #articles-root #art-title {
    font-size: 25px;
  }
  #articles-root .art-editor-tabs {
    padding: 0 9px;
    position: static;
  }
  #articles-root .gt-toolbar {
    padding: 8px 9px;
    position: static;
  }
  #articles-root .gt-paper {
    padding: 24px 24px 42px;
    font-size: 14px;
    line-height: 1.95;
    min-height: 450px;
  }
  #articles-root .gt-paper h1 {
    font-size: 25px;
  }
  #articles-root .gt-paper h2 {
    font-size: 20px;
  }
  #articles-root .art-editor-empty {
    min-height: 390px;
    padding: 65px 25px;
  }
  #articles-root .art-rail {
    max-height: none;
  }
  #articles-root .gt-gauge {
    float: none;
    margin-left: auto;
    margin-right: auto;
  }
  .workspace-command-head {
    padding: 17px;
  }
  .workspace-command-head input {
    font-size: 13px;
  }
  .workspace-command-footer {
    padding: 12px 17px;
    font-size: 9px;
  }
}
@media (max-width: 680px) {
  .project-subtabs {
    gap: 17px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .button,
  .client-sidebar,
  .main-column {
    transition: none;
  }
}
/* Sidebar controls keep their height; the long client list owns the remaining space. */
.client-sidebar > :not(.client-list) {
  flex-shrink: 0;
}
.brand-lockup {
  min-height: 78px;
}
#articles-root .gt-flow > header span,
#articles-root .gt-task-models button {
  color: var(--brand);
}
#articles-root .gt-flow-stages > [data-flow-step][aria-expanded="true"] > b {
  background: var(--brand);
  border-color: var(--brand);
}
#articles-root .gt-flow-stages > [data-flow-step][aria-expanded="true"] {
  background: #fff3f7;
}
#articles-root .gt-flow-panel {
  background: linear-gradient(#fff3f7, #fff 55px);
}
#articles-root .gt-activity.is-working .gt-activity-dot,
#articles-root .gt-activity progress::-webkit-progress-value {
  background: var(--brand);
}
#articles-root .gt-activity [data-activity-result] {
  color: var(--brand);
  border-color: var(--brand-line);
  background: #fff5f8;
}
#articles-root .gt-pool button {
  color: var(--brand);
  border-color: var(--brand-line);
  background: #fff5f8;
}
