@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/studio/dm-sans-151a53ae.woff2) format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/studio/dm-sans-151a53ae.woff2) format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/studio/dm-sans-151a53ae.woff2) format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/studio/inter-1ab1ad55.woff2) format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/studio/inter-1ab1ad55.woff2) format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/studio/inter-1ab1ad55.woff2) format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/studio/inter-1ab1ad55.woff2) format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/studio/inter-1ab1ad55.woff2) format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
:root {
  --ink: #183c35;
  --muted: #63716b;
  --green: #164d40;
  --lime: #e3ef9d;
  --line: #dce3db;
  --paper: #f4f5ee;
  --white: #fffef9;
  --orange: #a35123;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    14px/1.5 -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}
button {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px 15px;
  background: var(--white);
  color: var(--ink);
  font-weight: 650;
}
button:hover:not(:disabled) {
  border-color: var(--green);
  background: #eef2e5;
}
.primary {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.primary:hover:not(:disabled) {
  background: #25644e;
}
.quiet {
  background: transparent;
  border-color: transparent;
}
.danger {
  color: #9b3232;
}
a {
  color: inherit;
}
.skip {
  position: fixed;
  top: -80px;
  left: 10px;
  z-index: 20;
  background: white;
  padding: 10px;
}
.skip:focus {
  top: 10px;
}
.shell {
  display: grid;
  grid-template-columns: 228px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  background: #163e36;
  color: #f5f8e6;
  padding: 32px 22px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 750;
  font-size: 19px;
  letter-spacing: -0.5px;
}
.sun {
  height: 37px;
  width: 37px;
  display: grid;
  place-items: center;
  background: var(--lime);
  color: var(--green);
  border-radius: 50%;
  font-size: 25px;
}
.brand small {
  display: block;
  font-size: 10px;
  letter-spacing: 2.1px;
  font-weight: 500;
  color: #c3d0bc;
}
.sidebar nav {
  display: grid;
  gap: 7px;
  margin-top: 42px;
}
.sidebar nav button {
  display: flex;
  align-items: center;
  gap: 11px;
  text-align: left;
  background: transparent;
  color: #cfdbcf;
  border: 0;
  border-radius: 8px;
  padding: 12px 13px;
  font-weight: 500;
}
.sidebar nav button.active {
  background: #e3ef9d;
  color: #163e36;
  font-weight: 700;
}
.sidebar nav button:hover {
  background: #2c554a;
  color: white;
}
.sidebar nav button.active:hover {
  background: #e3ef9d;
  color: #163e36;
}
.nav-icon {
  font-size: 18px;
  width: 21px;
}
.sidebar-foot {
  margin-top: auto;
  color: #b5c7b9;
  font-size: 12px;
  padding-top: 24px;
}
.sidebar-foot strong {
  display: block;
  color: #eff5d9;
  margin-bottom: 8px;
}
.sidebar-foot button {
  margin-top: 14px;
  padding: 6px;
  color: #c7d5c7;
  background: none;
  border: none;
  font-size: 12px;
}
.workspace {
  padding: 0 40px 50px;
  min-width: 0;
}
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.topbar strong {
  color: var(--green);
}
.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8ca760;
  margin-right: 6px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 31px 0 24px;
}
.eyebrow {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 9px;
}
h1 {
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -1.3px;
  font-weight: 600;
  margin: 0 0 9px;
}
h2 {
  font-size: 19px;
  letter-spacing: -0.4px;
  margin: 0 0 9px;
}
h3 {
  font-size: 15px;
  margin: 0 0 7px;
}
p {
  margin: 0 0 12px;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 12px;
}
.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 20px 0 25px;
}
.stat {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 18px 20px;
  border-radius: 12px;
}
.stat span {
  color: var(--muted);
  font-size: 12px;
}
.stat strong {
  font-size: 29px;
  font-weight: 550;
  display: block;
  margin-top: 6px;
  line-height: 1.1;
}
.stat small {
  font-size: 11px;
  color: var(--muted);
}
.notice {
  background: #eaf0d8;
  border: 1px solid #d8e1bd;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 13px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 22px;
}
.notice.warn {
  background: #fff2e5;
  border-color: #f0d8b8;
  color: #805123;
}
.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
}
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filters input {
  min-width: 190px;
}
.toolbar input,
.toolbar select {
  padding: 8px 12px;
}
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 22px;
  min-width: 0;
}
.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  gap: 14px;
}
.board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.column {
  min-height: 300px;
}
.column-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 750;
}
.count {
  background: #e3e8de;
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 500;
}
.post-card {
  display: block;
  width: 100%;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 0;
  overflow: hidden;
  margin-bottom: 12px;
  font-weight: 400;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.post-card:hover:not(:disabled) {
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 7px 20px #183c3510;
}
.card-visual {
  height: 114px;
  display: flex;
  align-items: flex-end;
  padding: 14px;
  position: relative;
  background: #e5ebd7;
  color: #315943;
  overflow: hidden;
}
.card-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-visual span {
  position: relative;
  font-size: 10px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  background: #fffef9dc;
  padding: 4px 7px;
  border-radius: 4px;
}
.card-visual.tone-1 {
  background: linear-gradient(140deg, #c5dbd5, #eef2de);
}
.card-visual.tone-2 {
  background: linear-gradient(140deg, #dfd9bf, #f4e6d0);
}
.card-visual.tone-3 {
  background: linear-gradient(140deg, #bdd4ca, #e1e9cd);
}
.card-body {
  padding: 14px;
}
.card-body h3 {
  font-size: 14px;
  line-height: 1.4;
  font-weight: 650;
}
.card-meta {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin-top: 15px;
}
.tag {
  display: inline-block;
  font-size: 10px;
  padding: 3px 7px;
  border-radius: 5px;
  background: #edf1e4;
  color: #52644b;
  margin-bottom: 9px;
}
.status {
  display: inline-block;
  background: #e8eedb;
  border-radius: 5px;
  padding: 3px 7px;
  font-size: 11px;
  color: #44633d;
}
.status.attention {
  background: #f8e1cf;
  color: #994c24;
}
.empty {
  padding: 32px 15px;
  border: 1px dashed #cfd7ca;
  border-radius: 10px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}
.region-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.region-strip span {
  font-size: 11px;
  border: 1px solid var(--line);
  padding: 7px 11px;
  border-radius: 20px;
  color: var(--muted);
}
.region-strip b {
  color: var(--green);
  margin-left: 7px;
}
.idea-grid,
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.idea {
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 12px;
}
.idea-number {
  display: block;
  font-size: 11px;
  color: #718367;
  letter-spacing: 1px;
  margin-bottom: 25px;
}
.idea p {
  font-size: 13px;
  color: var(--muted);
  min-height: 58px;
}
.idea button {
  margin-top: 10px;
}
.media-card {
  border: 1px solid var(--line);
  border-radius: 11px;
  background: white;
  overflow: hidden;
}
.media-card img,
.media-card video {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #e5eadd;
}
.media-card .body {
  padding: 13px;
}
.media-card h3 {
  word-break: break-word;
  font-size: 13px;
}
.media-card button {
  padding: 6px 10px;
  font-size: 11px;
  margin-top: 8px;
}
.media-card.selected {
  outline: 3px solid var(--green);
}
.upload {
  border: 1px dashed #a8b7a2;
  border-radius: 12px;
  background: #eef1e4;
  padding: 23px;
  margin-bottom: 24px;
}
.upload input[type='file'] {
  max-width: 100%;
  margin: 12px 0;
}
.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
}
label {
  display: block;
  font-size: 12px;
  color: #41584d;
  font-weight: 650;
  margin-bottom: 14px;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  color: var(--ink);
  background: white;
  border: 1px solid #cfd9ce;
  border-radius: 7px;
  min-height: 41px;
}
textarea {
  resize: vertical;
  line-height: 1.6;
  min-height: 100px;
}
input[type='checkbox'] {
  display: inline-block;
  width: auto;
  min-height: 0;
  margin: 0 6px 0 0;
  vertical-align: middle;
  accent-color: var(--green);
}
.checks label {
  margin: 0;
  font-weight: 500;
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  background: var(--line);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.weekday {
  background: #edf0e5;
  padding: 10px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
}
.day {
  background: var(--white);
  padding: 10px;
  min-height: 120px;
}
.day.other {
  background: #f2f3ec;
  color: #9ba69a;
}
.day.today {
  box-shadow: inset 0 0 0 2px var(--green);
}
.day-num {
  font-size: 12px;
}
.day button {
  display: block;
  width: 100%;
  padding: 5px;
  margin-top: 5px;
  text-align: left;
  font-size: 10px;
  border: 0;
  background: #e7eed8;
  font-weight: 500;
  line-height: 1.4;
}
.day button.planned {
  background: #f2eadc;
}
.legend {
  display: flex;
  gap: 20px;
  font-size: 11px;
  color: var(--muted);
  margin-top: 12px;
}
.connection-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.connection {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.connection p {
  font-size: 12px;
  color: var(--muted);
}
.connection strong {
  display: block;
  margin-bottom: 6px;
}
.connection .status {
  margin-bottom: 12px;
}
.login {
  max-width: 460px;
  margin: 9vh auto;
  padding: 35px;
}
.login .brand {
  margin-bottom: 35px;
}
.login h1 {
  font-size: 28px;
}
.login p {
  color: var(--muted);
}
.login details {
  margin-top: 22px;
  font-size: 12px;
}
.login details label {
  margin-top: 12px;
}
.login .primary {
  width: 100%;
  margin-top: 4px;
}
.login .quiet {
  width: 100%;
  margin-top: 10px;
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  max-width: min(90vw, 650px);
  padding: 14px 20px;
  background: #173f35;
  color: white;
  box-shadow: 0 6px 30px #0002;
  border-radius: 10px;
  display: none;
  font-size: 13px;
}
#toast.show {
  display: block;
}
#toast.error {
  background: #7b392c;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: #142f2a65;
  z-index: 30;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
}
.editor {
  background: var(--paper);
  width: min(1150px, 100%);
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 45px #0002;
}
.editor-header {
  padding: 20px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  gap: 10px;
}
.editor-header h2 {
  margin: 0;
}
.editor-body {
  overflow-y: auto;
  padding: 25px 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 1fr);
  gap: 25px;
}
.editor-footer {
  padding: 16px 28px;
  border-top: 1px solid var(--line);
  background: var(--white);
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.editor .panel {
  margin-bottom: 18px;
}
.editor .hint {
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 5px;
}
.editor details {
  margin-top: 14px;
}
.editor summary {
  font-size: 12px;
  cursor: pointer;
  font-weight: 600;
  margin-bottom: 12px;
}
.preview {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: white;
}
.preview-heading {
  padding: 12px;
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
}
.avatar {
  background: var(--lime);
  border-radius: 50%;
  padding: 7px 10px;
}
.preview-image {
  height: 230px;
  background: #e6ecd9;
  display: grid;
  place-items: center;
  color: #809079;
  font-size: 13px;
}
.preview-image img,
.preview-image video {
  width: 100%;
  height: 100%;
  max-height: 230px;
  object-fit: contain;
}
.preview-copy {
  padding: 15px;
  font-size: 12px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.preview-note {
  font-size: 11px;
  color: var(--muted);
  padding: 10px 0;
}
.media-pick {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  max-height: 240px;
  overflow-y: auto;
}
.media-pick button {
  padding: 4px;
  position: relative;
  font-size: 9px;
  overflow: hidden;
}
.media-pick button img {
  width: 100%;
  height: 60px;
  object-fit: cover;
}
.media-pick button.selected {
  outline: 2px solid var(--green);
  background: #e9efdc;
}
.media-pick button span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.file-order {
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 6px 0;
}
.file-order span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file-order button {
  padding: 3px 7px;
  font-size: 11px;
}
.history {
  padding-left: 16px;
  font-size: 11px;
  color: var(--muted);
}
.history li {
  margin-bottom: 8px;
}
.delivery {
  font-size: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.delivery p {
  margin-top: 6px;
}
.progress {
  background: #edf1e5;
  padding: 9px 13px;
  font-size: 12px;
  border-radius: 6px;
  margin-bottom: 12px;
}
.screen-reader {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.help-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 24px;
}
.help-grid p {
  font-size: 13px;
}
.text-list {
  font-size: 13px;
  color: var(--muted);
  padding-left: 20px;
}
.text-list li {
  margin: 8px 0;
}
.section-gap {
  margin-top: 24px;
}
@media (min-width: 1600px) {
  .workspace {
    padding-left: 60px;
    padding-right: 60px;
  }
  .card-visual {
    height: 150px;
  }
}
@media (max-width: 1150px) {
  .shell {
    grid-template-columns: 185px 1fr;
  }
  .sidebar {
    padding: 26px 14px;
  }
  .workspace {
    padding: 0 24px 35px;
  }
  .board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .idea-grid,
  .media-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 720px) {
  .shell {
    display: block;
  }
  .sidebar {
    position: static;
    height: auto;
    padding: 16px;
  }
  .sidebar nav {
    display: flex;
    overflow: auto;
    margin-top: 17px;
    gap: 4px;
  }
  .sidebar nav button {
    white-space: nowrap;
    font-size: 12px;
    padding: 9px;
  }
  .sidebar-foot {
    display: none;
  }
  .brand {
    font-size: 16px;
  }
  .sun {
    height: 30px;
    width: 30px;
    font-size: 21px;
  }
  .workspace {
    padding: 0 16px 30px;
  }
  .topbar {
    font-size: 10px;
    padding: 13px 0;
  }
  .page-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-top: 23px;
  }
  h1 {
    font-size: 28px;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
  }
  .stat {
    padding: 13px;
  }
  .toolbar {
    align-items: stretch;
    flex-direction: column;
  }
  .filters input {
    min-width: 0;
  }
  .filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .board {
    gap: 10px;
  }
  .card-visual {
    height: 90px;
  }
  .card-body {
    padding: 11px;
  }
  .card-body h3 {
    font-size: 12px;
  }
  .card-meta {
    flex-direction: column;
  }
  .column-title {
    font-size: 11px;
  }
  .editor-body {
    display: block;
    padding: 18px;
  }
  .editor-header,
  .editor-footer {
    padding: 15px;
  }
  .editor-header h2 {
    font-size: 16px;
  }
  .editor-footer button {
    font-size: 11px;
    padding: 9px;
  }
  .two {
    gap: 10px;
  }
  .calendar {
    min-width: 630px;
  }
  .calendar-scroll {
    overflow: auto;
  }
  .day {
    min-height: 105px;
  }
  .connection-grid,
  .help-grid {
    grid-template-columns: 1fr;
  }
  .idea-grid,
  .media-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .idea {
    padding: 16px;
  }
  .idea h3 {
    font-size: 13px;
  }
  .media-card img,
  .media-card video {
    height: 130px;
  }
  .login {
    margin: 5vh 16px;
    padding: 25px;
  }
  .page-heading p {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
fieldset {
  padding: 0;
  margin: 0;
  border: 0;
  min-width: 0;
}
fieldset:disabled {
  opacity: 0.8;
}
@media (min-width: 721px) {
  .toolbar .filters {
    flex-wrap: nowrap;
    max-width: 70%;
  }
  .toolbar .filters > input,
  .toolbar .filters > select {
    width: auto;
    min-width: 0;
    max-width: 210px;
  }
  .toolbar .filters > input {
    min-width: 160px;
  }
  .toolbar .filters > label {
    min-width: 160px;
  }
  .sidebar-foot button {
    display: block;
  }
}

.template-workspace {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(300px, 1fr);
  gap: 32px;
  align-items: start;
  margin-top: 24px;
}
#template-canvas {
  width: 100%;
  height: auto;
  max-width: 540px;
  box-shadow: 0 8px 32px #10131220;
}
.template-workspace .actions {
  flex-wrap: wrap;
}
@media (max-width: 850px) {
  .template-workspace {
    grid-template-columns: 1fr;
  }
}

.preview-image.story-preview {
  aspect-ratio: 9/16;
  height: auto;
  width: 100%;
}
.preview-image.story-preview img,
.preview-image.story-preview video {
  max-height: none;
  object-fit: contain;
}

/* Native hidden state wins over styled form-label display rules. */
[hidden] { display: none !important; }
