.main-shell {
  min-width: 0;
}
:root {
  --ink: #24312e;
  --muted: #7b837f;
  --green: #176f5e;
  --paper: #f7f8f5;
  --line: #e8ece7;
  --sidebar: #142c29;
  --radius: 13px;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 14px;
  line-height: 1.5;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid #d8a54c;
  outline-offset: 4px;
}
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #23876f;
  outline-offset: 2px;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.2;
}
button {
  color: inherit;
}
svg.icon {
  height: 19px;
  width: 19px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  vertical-align: middle;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: -70px;
  left: 12px;
  background: white;
  padding: 12px;
}
.skip-link:focus {
  top: 10px;
}
.sidebar {
  width: 242px;
  background: var(--sidebar);
  color: #c1d0ca;
  position: fixed;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
  padding: 32px 19px 0;
  z-index: 20;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #fff;
  font-weight: 600;
  font-size: 25px;
  letter-spacing: -1.2px;
  line-height: 1;
}
.brand-mark {
  width: 39px;
  height: 43px;
  display: flex;
  align-items: center;
  font-size: 52px;
  font-family: Georgia, serif;
  font-weight: 500;
  letter-spacing: -8px;
}
.brand-mark > span {
  color: #dcb678;
  font-size: 40px;
}
.brand-sub {
  display: block;
  font-size: 8px;
  letter-spacing: 2px;
  color: #8da9a0;
  font-weight: 500;
  margin-top: 9px;
}
.workspace-label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #92aaa1;
  font-size: 11px;
  margin: 42px 12px 22px;
}
.online-dot {
  width: 6px;
  height: 6px;
  background: #b0c6ac;
  border-radius: 50%;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 46px;
  padding: 12px 14px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 5px;
  transition:
    background 0.16s,
    color 0.16s;
}
.nav-link:hover {
  background: #ffffff09;
  color: #fff;
}
.nav-link.active {
  background: #ffffff10;
  color: #fff;
}
.nav-link.active > .icon {
  color: #abcdb8;
}
.nav-caption {
  font-size: 9px;
  letter-spacing: 1.65px;
  color: #88a197;
  margin: 35px 13px 15px;
  display: flex;
  justify-content: space-between;
}
.nav-caption > span {
  font-size: 9px;
  color: #c5d6cb;
}
.site-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--site-color, #176f5e);
}
.site-link {
  gap: 16px;
  font-size: 12px;
}
.sidebar-bottom {
  margin-top: auto;
}
.profile {
  border-top: 1px solid #ffffff12;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 23px 0 25px;
  font-size: 11px;
}
.avatar {
  background: #c7d8c6;
  color: #254538;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-weight: 650;
}
.profile strong {
  display: block;
  color: #e2eae6;
  font-weight: 500;
}
.profile small {
  display: block;
  font-size: 9px;
  color: #8fa79c;
}
.profile form {
  margin-left: auto;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  padding: 7px;
  color: inherit;
}
.profile .icon {
  width: 16px;
  height: 16px;
}
.sidebar-hint {
  font-size: 11px;
  padding: 10px;
  color: #9aafa5;
}
.main-shell {
  margin-left: 242px;
}
.topbar {
  height: 78px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 44px;
  color: #8a918c;
  font-size: 11px;
  background: #ffffff90;
}
.topbar strong {
  color: #46564b;
  font-weight: 500;
}
.topbar-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.breadcrumb-divider {
  display: inline-block;
  padding: 0 13px;
  color: #bcc3bc;
}
.topbar-date {
  text-transform: capitalize;
  font-size: 11px;
}
.menu-toggle {
  display: none;
}
main#main {
  padding: 40px 44px 20px;
  max-width: 1680px;
  min-height: calc(100vh - 78px);
  display: flex;
  flex-direction: column;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 30px;
}
.eyebrow {
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 2.2px;
  color: #8b968d;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
}
h1 {
  font-size: 35px;
  letter-spacing: -1.3px;
  font-weight: 550;
}
.heading-dot {
  color: #22806a;
}
.page-heading p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 11px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 10px 17px;
  border-radius: 7px;
  border: 1px solid transparent;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  transition:
    background 0.16s,
    transform 0.16s;
}
.button:hover {
  transform: translateY(-1px);
}
.primary {
  color: #fff;
  background: var(--green);
  box-shadow: 0 3px 5px #176f5e0d;
}
.primary:hover {
  background: #145c4f;
}
.primary .icon {
  height: 16px;
  width: 16px;
}
.secondary {
  border-color: #dfe6de;
  background: #fff;
  color: #4c5f51;
}
.secondary:hover {
  background: #f3f6f0;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.demo-notice {
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid #dce7d9;
  background: #eef4eb;
  padding: 12px 15px;
  border-radius: 7px;
  color: #65765e;
  font-size: 11px;
  margin-bottom: 24px;
}
.demo-notice a {
  margin-left: auto;
  color: #436342;
  font-size: 10px;
  white-space: nowrap;
  font-weight: 600;
}
.demo-symbol {
  border: 1px solid #95a68a;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10px;
  flex-shrink: 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
  margin-bottom: 35px;
}
.stat {
  position: relative;
  min-height: 147px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 3px 7px #23322202;
}
.stat > span:first-child {
  font-size: 11px;
  color: #728071;
}
.stat > strong {
  font-size: 35px;
  letter-spacing: -1px;
  font-weight: 550;
  display: block;
  margin: 8px 0 6px;
  line-height: 1;
}
.stat > small {
  font-size: 9px;
  color: #8d998b;
}
.stat-decoration {
  position: absolute;
  right: 21px;
  top: 23px;
  color: #81977e;
}
.stat-decoration .icon {
  width: 16px;
  height: 16px;
}
.tiny-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}
.green {
  background: #609875;
}
.amber {
  background: #c49c5e;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.section-heading h2,
.panel-heading h2 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.3px;
}
.section-heading p,
.panel-heading p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 7px;
}
.small {
  font-size: 11px;
}
.muted {
  color: var(--muted);
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
  margin-bottom: 34px;
}
.catalog-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 21px 20px 0;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.catalog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 23px #263c2810;
}
.catalog-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 55px;
  margin-bottom: 19px;
}
.catalog-monogram {
  color: var(--site-color);
  font-size: 37px;
  letter-spacing: -3px;
  font-weight: 750;
  line-height: 1;
}
.catalog-card:nth-child(2) .catalog-monogram {
  font-family: Georgia, serif;
  letter-spacing: -4px;
}
.catalog-card:nth-child(4) .catalog-monogram {
  font-family: Georgia, serif;
  font-weight: 500;
  font-size: 52px;
}
.catalog-monogram > span {
  font-size: 30px;
}
.round-arrow {
  border: 1px solid #ecf0e8;
  border-radius: 50%;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  color: #7e8f7e;
  font-size: 14px;
}
.catalog-card h3 {
  font-size: 13px;
  font-weight: 600;
  white-space: normal;
}
.catalog-domain {
  display: block;
  font-size: 9px;
  color: #95a08f;
  margin-top: 7px;
  overflow-wrap: anywhere;
}
.catalog-card-bottom {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  border-top: 1px solid #edf0e9;
  padding: 15px 0;
  margin-top: 23px;
  color: #8b9887;
  font-size: 9px;
}
.catalog-card-bottom strong {
  font-weight: 600;
  color: #51664d;
}
.catalog-card-bottom .tiny-dot {
  width: 4px;
  height: 4px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.panel-heading {
  padding: 23px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.text-link {
  color: #5b755e;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
}
.text-link:hover {
  text-decoration: underline;
}
.text-link .icon {
  width: 14px;
  height: 14px;
}
.table-scroll {
  position: relative;
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
}
th {
  font-size: 9px;
  letter-spacing: 1.3px;
  font-weight: 500;
  color: #92a08c;
  background: #fafbf8;
  padding: 13px 23px;
  border-bottom: 1px solid #edf0e9;
  white-space: nowrap;
  text-transform: uppercase;
}
td {
  padding: 14px 23px;
  border-bottom: 1px solid #edf0e9;
  font-size: 12px;
}
tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: #fdfefa;
}
.film-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 185px;
}
.film-cell strong {
  display: block;
  font-size: 11px;
  font-weight: 600;
  max-width: 320px;
}
.film-cell small {
  display: block;
  color: #9aa190;
  font-size: 9px;
  margin-top: 5px;
}
.poster {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 31px;
  height: 43px;
  overflow: hidden;
  border-radius: 3px;
  background: linear-gradient(160deg, #658179, #182e31);
  color: #e7e6d4;
}
.poster:before {
  content: "";
  position: absolute;
  width: 70%;
  height: 160%;
  background: #ffffff10;
  transform: rotate(30deg);
  right: -5%;
  top: 0;
  z-index: -1;
}
.poster-warm {
  background: linear-gradient(145deg, #c1b28b, #6a5444 60%, #302d2b);
}
.poster > span {
  font-family: Georgia, serif;
  font-size: 26px;
  font-weight: 400;
  opacity: 0.8;
}
.poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.catalog-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  font-size: 10px;
  color: #6c7c67;
}
.catalog-tag .site-dot {
  width: 5px;
  height: 5px;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  font-size: 9px;
  font-weight: 500;
  padding: 5px 9px;
  border-radius: 5px;
  background: #edf3eb;
  color: #5f8156;
}
.status > span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}
.status-draft {
  background: #f8f1e4;
  color: #a08040;
}
.status-archived {
  background: #edf0f3;
  color: #77838b;
}
.row-arrow {
  color: #91a18a;
  padding: 7px;
}
.panel-footer {
  display: flex;
  justify-content: space-between;
  color: #a1ab99;
  font-size: 9px;
  padding: 30px 0 8px;
  margin-top: auto;
  gap: 15px;
}
.filters {
  padding: 20px 23px;
  display: flex;
  gap: 11px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.search-field {
  position: relative;
  display: flex;
  flex: 1;
  min-width: 180px;
  align-items: center;
}
.search-field > .icon {
  position: absolute;
  left: 11px;
  color: #95a28e;
  width: 15px;
}
.filters input {
  padding-left: 34px;
  width: 100%;
}
.filters input,
.filters select {
  min-height: 39px;
  border: 1px solid #e1e7dd;
  border-radius: 6px;
  background: #fdfefb;
  color: #53644d;
  padding-top: 9px;
  padding-bottom: 9px;
  font-size: 11px;
}
.filters select {
  padding-left: 10px;
  padding-right: 25px;
  max-width: 190px;
}
.filter-count {
  font-size: 10px;
  color: #8e9b85;
  margin-left: auto;
}
.small-button {
  font-size: 10px;
  min-height: 31px;
  padding: 6px 11px;
}
.pagination {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: center;
  gap: 25px;
  padding: 20px;
  font-size: 11px;
  color: #69805e;
}
.page-strips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  margin-bottom: 24px;
}
.page-strip {
  border: 1px solid var(--line);
  background: white;
  border-radius: 9px;
  padding: 18px 21px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.page-strip small {
  display: block;
  font-size: 8px;
  color: #9aa58f;
  letter-spacing: 1.5px;
  margin-bottom: 5px;
}
.page-strip strong {
  font-size: 13px;
  font-weight: 500;
}
.page-note {
  font-size: 11px;
  color: #87917e;
  margin-top: 18px;
  margin-bottom: 20px;
}
.order-controls {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 11px;
  color: #74856b;
}
.order-controls form {
  display: flex;
}
.order-controls button {
  border: 1px solid #e7ecdf;
  background: #fff;
  padding: 3px 8px;
}
.order-controls button:first-child {
  border-radius: 4px 0 0 4px;
}
.order-controls button:last-child {
  border-radius: 0 4px 4px 0;
  border-left: 0;
}
.order-controls button:hover {
  background: #eef4e7;
}
.back-link {
  font-size: 11px;
  color: #819073;
  margin-bottom: 25px;
}
.form-intro {
  max-width: 650px;
  line-height: 1.7;
}
.editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(190px, 1fr);
  gap: 32px;
  margin-bottom: 35px;
}
.editor-form {
  padding: 30px;
}
.field {
  margin-bottom: 22px;
}
.field label {
  font-size: 12px;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}
.optional {
  font-size: 9px;
  font-weight: 400;
  color: #99a58e;
  margin-left: 8px;
}
.required {
  color: #23816d;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 43px;
  border: 1px solid #dce4d5;
  background: #fff;
  border-radius: 6px;
  color: #394b32;
  padding: 10px 12px;
  font-size: 13px;
}
.field textarea {
  resize: vertical;
  line-height: 1.6;
}
.field small {
  display: block;
  font-size: 10px;
  color: #8c9a80;
  margin-top: 7px;
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #b84c46;
}
.errorlist {
  color: #a84c42;
  font-size: 11px;
  padding-left: 17px;
}
.form-error {
  background: #f9ece8;
  padding: 12px 15px;
  color: #a84c42;
  font-size: 12px;
  border-radius: 6px;
  margin-bottom: 20px;
}
.form-actions {
  display: flex;
  align-items: center;
  gap: 23px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 30px;
}
.editor-aside {
  padding: 15px 5px;
  max-width: 280px;
}
.editor-aside h3 {
  font-size: 20px;
  font-weight: 500;
  margin: 19px 0 12px;
}
.editor-aside h4 {
  font-size: 11px;
  font-weight: 500;
  margin-top: 30px;
  margin-bottom: 12px;
}
.editor-aside p {
  font-size: 12px;
  line-height: 1.8;
  color: #8d9b81;
}
.poster-large {
  width: 150px;
  height: 210px;
  border-radius: 7px;
}
.poster-large > span {
  font-size: 110px;
}
.aside-symbol {
  color: #7d9873;
  border: 1px solid #dfe7d6;
  border-radius: 10px;
  display: grid;
  place-items: center;
  width: 55px;
  height: 55px;
}
.aside-symbol .icon {
  width: 24px;
  height: 24px;
}
.publication-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.publication-links a {
  font-size: 11px;
  border-bottom: 1px solid #e3e9dc;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
}
.publication-links a > span:last-child {
  margin-left: auto;
}
.message {
  padding: 13px 18px;
  border-radius: 7px;
  background: #e7f1e3;
  color: #4a7141;
  font-size: 12px;
  margin-bottom: 25px;
}
.empty-state {
  padding: 45px 25px;
  text-align: center;
  width: 100%;
  color: #8d9a82;
}
.empty-state h3 {
  font-size: 17px;
  color: #627459;
  font-weight: 500;
}
.empty-state p {
  font-size: 12px;
  margin-top: 10px;
}
.catalog-grid > .empty-state {
  grid-column: 1/-1;
  background: white;
  border: 1px dashed #d4dfca;
  border-radius: 12px;
}
.login-page {
  background: #eff2eb;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px;
}
.login-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1000px;
  width: 100%;
  min-height: 650px;
  background: white;
  box-shadow: 0 20px 80px #253a2720;
  border-radius: 16px;
  overflow: hidden;
}
.login-story {
  background: #142c29;
  color: #d2dfcd;
  padding: 45px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.login-story:after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border: 1px solid #ffffff08;
  border-radius: 50%;
  right: -240px;
  top: 180px;
  pointer-events: none;
}
.login-story h1 {
  font-family: Georgia, serif;
  font-size: 54px;
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -2px;
  color: #f1f0e5;
}
.login-story .eyebrow {
  color: #9aaa8c;
  margin-bottom: 25px;
}
.login-story p {
  color: #9eaf97;
  font-size: 13px;
  line-height: 1.9;
  margin-top: 25px;
}
.login-story > small {
  color: #7b9378;
  font-size: 10px;
}
.login-form {
  padding: 100px 50px;
}
.login-form h2 {
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -1px;
  margin-bottom: 13px;
}
.login-form > p {
  font-size: 12px;
  color: #8c9b7e;
  margin-bottom: 37px;
}
.login-form .button {
  width: 100%;
  margin-top: 10px;
}
.preview-page {
  background: #f7f8f5;
}
.preview-toolbar {
  background: #142c29;
  color: #e0ead7;
  padding: 13px 35px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
}
.preview-header {
  text-align: center;
  padding: 65px 25px 35px;
}
.preview-header h1 {
  font-size: 38px;
}
.preview-header .eyebrow {
  justify-content: center;
}
.preview-header h2 {
  margin-top: 20px;
  font-size: 20px;
  font-weight: 400;
}
.preview-header p {
  max-width: 650px;
  margin: 15px auto;
  color: #76816c;
}
.preview-header > img {
  max-width: 340px;
  max-height: 130px;
  object-fit: contain;
}
.preview-header nav {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 30px;
  font-size: 12px;
}
.preview-header nav a {
  padding: 10px 0;
}
.preview-header nav a[aria-current] {
  border-bottom: 2px solid #16796f;
}
.public-film-grid {
  max-width: 1000px;
  margin: auto;
  padding: 20px 30px 60px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}
.public-film-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  padding-bottom: 23px;
}
.public-film-card .poster {
  width: 100%;
  height: 300px;
  border-radius: 0;
}
.public-film-card h2,
.public-film-card p,
.public-film-card small,
.public-film-card > .button {
  margin: 20px 23px 0;
}
.public-film-card h2 {
  font-size: 20px;
}
.public-film-card p {
  font-size: 12px;
  color: #839275;
  line-height: 1.8;
}
.public-film-card small {
  display: block;
}
.preview-footer {
  text-align: center;
  font-size: 11px;
  color: #9aa88c;
  padding: 30px;
}
@media (min-width: 1600px) {
  main#main {
    padding: 45px 60px 25px;
  }
  .topbar {
    padding: 0 60px;
  }
  .stats-grid,
  .catalog-grid {
    gap: 22px;
  }
  .catalog-card {
    padding: 26px 25px 0;
  }
  .catalog-card-top {
    margin-bottom: 27px;
  }
  .catalog-card-bottom {
    padding: 20px 0;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 215px;
    padding-left: 14px;
    padding-right: 14px;
  }
  .main-shell {
    margin-left: 215px;
  }
  main#main {
    padding: 30px 26px 18px;
  }
  .topbar {
    padding: 0 26px;
  }
  .stat {
    padding: 18px;
  }
  .stats-grid,
  .catalog-grid {
    gap: 12px;
  }
  .catalog-card {
    padding: 17px 15px 0;
  }
  .catalog-card h3 {
    font-size: 12px;
  }
  .catalog-domain {
    font-size: 8px;
  }
  .catalog-card-bottom {
    flex-wrap: wrap;
    gap: 6px;
  }
  td,
  th {
    padding-left: 17px;
    padding-right: 17px;
  }
  .editor-layout {
    gap: 20px;
  }
  .demo-notice {
    flex-wrap: wrap;
  }
  .demo-notice a {
    margin-left: 27px;
  }
}
@media (max-width: 960px) {
  .stats-grid,
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .catalog-card-top {
    margin-bottom: 15px;
  }
  .catalog-card-bottom {
    margin-top: 20px;
  }
  .editor-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .editor-aside {
    max-width: none;
    display: none;
  }
  .login-form {
    padding: 85px 35px;
  }
  .login-story {
    padding: 35px;
  }
  .login-story h1 {
    font-size: 44px;
  }
  .public-film-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
    width: 240px;
    padding-top: 26px;
  }
  .navigation-open .sidebar {
    transform: translateX(0);
    box-shadow: 20px 0 100px #142c2950;
  }
  .main-shell {
    margin-left: 0;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .topbar {
    height: 62px;
    padding: 0 18px;
  }
  .topbar-date {
    font-size: 9px;
  }
  .breadcrumb-divider {
    padding: 0 6px;
  }
  main#main {
    padding: 28px 18px 15px;
    min-height: calc(100vh - 62px);
  }
  .page-heading {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 24px;
  }
  h1 {
    font-size: 30px;
  }
  .page-heading p {
    font-size: 11px;
  }
  .page-heading > .button {
    min-height: 38px;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.6px;
  }
  .stats-grid {
    gap: 10px;
    margin-bottom: 28px;
  }
  .stat {
    min-height: 130px;
    padding: 17px;
  }
  .stat > strong {
    font-size: 30px;
  }
  .stat > small {
    font-size: 8px;
  }
  .stat-decoration {
    right: 16px;
    top: 19px;
  }
  .demo-notice {
    font-size: 10px;
    gap: 8px;
  }
  .demo-notice a {
    margin-left: 24px;
  }
  .catalog-grid {
    gap: 11px;
    margin-bottom: 27px;
  }
  .catalog-card {
    padding: 17px 15px 0;
  }
  .catalog-card-top {
    height: 45px;
    margin-bottom: 15px;
  }
  .catalog-monogram {
    font-size: 31px;
  }
  .catalog-card h3 {
    font-size: 12px;
  }
  .catalog-domain {
    font-size: 8px;
  }
  .catalog-card-bottom {
    font-size: 8px;
    margin-top: 20px;
  }
  .round-arrow {
    width: 24px;
    height: 24px;
  }
  .section-heading h2,
  .panel-heading h2 {
    font-size: 15px;
  }
  .panel-heading {
    padding: 20px 16px;
  }
  .panel-heading .text-link {
    font-size: 10px;
  }
  .recent-panel th:nth-child(4),
  .recent-panel td:nth-child(4) {
    display: none;
  }
  td,
  th {
    padding: 13px 16px;
  }
  .film-cell {
    min-width: 165px;
    gap: 9px;
  }
  .film-cell strong {
    font-size: 10px;
    max-width: 180px;
  }
  .panel-footer {
    font-size: 8px;
  }
  .panel-footer > span:last-child {
    display: none;
  }
  .filters {
    padding: 16px;
    gap: 9px;
  }
  .filters .search-field {
    flex-basis: 100%;
  }
  .filter-count {
    font-size: 9px;
  }
  .page-strips {
    gap: 10px;
  }
  .page-strip {
    padding: 14px;
  }
  .page-strip small {
    font-size: 7px;
    letter-spacing: 0.6px;
  }
  .page-strip strong {
    font-size: 11px;
  }
  .editor-form {
    padding: 22px 18px;
  }
  .form-actions {
    gap: 15px;
  }
  .login-page {
    padding: 18px;
  }
  .login-shell {
    grid-template-columns: 1fr;
    min-height: auto;
    max-width: 440px;
  }
  .login-story {
    padding: 30px;
    min-height: 230px;
  }
  .login-story > .brand {
    margin-bottom: 33px;
  }
  .login-story h1 {
    font-size: 34px;
  }
  .login-story h1 br {
    display: none;
  }
  .login-story > small,
  .login-story .eyebrow,
  .login-story p {
    display: none;
  }
  .login-form {
    padding: 35px 30px;
  }
  .login-form h2 {
    font-size: 23px;
  }
  .public-film-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
  .preview-toolbar {
    padding: 12px 18px;
    font-size: 9px;
  }
  .preview-header {
    padding-top: 40px;
  }
  .preview-header h1 {
    font-size: 30px;
  }
  .preview-header nav {
    gap: 18px;
  }
  .actions .button {
    font-size: 10px;
    padding: 9px 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Leggibilità dei contenuti e riepilogo compatto sugli schermi piccoli. */
.nav-link,
.site-link {
  font-size: 13px;
}
.film-cell strong {
  font-size: 12px;
}
.film-cell small {
  font-size: 10px;
  color: #798672;
}
.catalog-tag {
  font-size: 11px;
}
.status {
  font-size: 10px;
}
.catalog-card h3 {
  font-size: 14px;
}
.catalog-domain {
  font-size: 10px;
  color: #77866d;
}
.stat > small {
  font-size: 10px;
  color: #7b8a71;
}
.catalog-card-bottom {
  font-size: 10px;
  color: #77866d;
}
@media (max-width: 700px) {
  .recent-panel th:nth-child(2),
  .recent-panel td:nth-child(2),
  .recent-panel th:nth-child(5),
  .recent-panel td:nth-child(5) {
    display: none;
  }
  .catalog-card h3 {
    font-size: 12px;
  }
  .catalog-domain {
    font-size: 9px;
  }
  .catalog-card-bottom {
    font-size: 9px;
  }
  .film-cell strong {
    font-size: 11px;
  }
  .film-cell small {
    font-size: 9px;
  }
}

.sidebar > nav {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  margin-bottom: 10px;
  scrollbar-width: thin;
  scrollbar-color: #3c574e transparent;
}
.field input[type="color"] {
  width: 110px;
  padding: 5px;
  cursor: pointer;
}

.preview-header > .editorial-text {
  max-width: 650px;
  margin: 15px auto;
  color: #65735d;
}
.public-film-card > .editorial-text {
  margin: 20px 23px 0;
  font-size: 12px;
  color: #65735d;
  line-height: 1.8;
}
.editorial-text p {
  margin: 0 0 1em;
}

.template-picker {
  border: 0;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.template-option {
  min-width: 0;
}
.template-option label {
  display: block;
  background: white;
  border: 2px solid #dfe6da;
  border-radius: 12px;
  padding: 15px;
  cursor: pointer;
}
.template-option label:has(input:checked) {
  border-color: #176f5e;
}
.template-option label:has(input:focus-visible) {
  outline: 3px solid #d8a54c;
  outline-offset: 3px;
}
.template-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.template-thumbnail {
  position: relative;
  display: block;
  aspect-ratio: 1.5;
  background: #f5f2e9;
  padding: 18px;
  overflow: hidden;
}
.mini-brand {
  display: block;
  width: 25%;
  height: 6px;
  background: #333c32;
  margin-bottom: 24px;
}
.mini-heading {
  display: block;
  width: 65%;
  height: 14px;
  background: #3b4739;
}
.mini-line {
  display: block;
  width: 45%;
  height: 3px;
  background: #a1a58f;
  margin-top: 10px;
}
.mini-posters {
  display: flex;
  gap: 7px;
  margin-top: 18px;
}
.mini-posters i {
  display: block;
  width: 28%;
  height: 55px;
  background: linear-gradient(145deg, #819a93, #25393c);
}
.mini-posters i:nth-child(2) {
  background: linear-gradient(145deg, #ceb38a, #6c5146);
}
.mini-posters i:nth-child(3) {
  background: linear-gradient(145deg, #a2a1b6, #333c5d);
}
.thumbnail-cinema {
  background: #121919;
}
.thumbnail-cinema .mini-brand {
  background: #b9c3b7;
}
.thumbnail-cinema .mini-heading {
  background: #e2e2d5;
  width: 50%;
  height: 22px;
}
.thumbnail-cinema .mini-posters {
  position: absolute;
  right: 18px;
  top: 45px;
  width: 30%;
  margin: 0;
}
.thumbnail-cinema .mini-posters i:first-child {
  width: 100%;
  height: 95px;
  transform: rotate(4deg);
}
.thumbnail-cinema .mini-posters i:not(:first-child) {
  display: none;
}
.thumbnail-essential {
  background: #fff;
}
.thumbnail-essential .mini-heading {
  height: 9px;
  width: 52%;
}
.thumbnail-essential .mini-posters {
  flex-direction: column;
}
.thumbnail-essential .mini-posters i {
  width: 24px;
  height: 30px;
}
.thumbnail-classic {
  background: #f8f9fa;
}
.thumbnail-classic .mini-brand {
  margin: 0 auto 16px;
  width: 35%;
  height: 14px;
  background: #2d66ae;
}
.thumbnail-classic .mini-heading {
  width: 75%;
  height: 5px;
  margin: auto;
}
.thumbnail-classic .mini-line {
  width: 60%;
  margin: 6px auto 0;
}
.thumbnail-classic .mini-posters {
  justify-content: center;
  margin-top: 12px;
}
.thumbnail-classic .mini-posters i {
  width: 31%;
  border: 4px solid white;
  box-shadow: 0 0 0 1px #dee2e6;
}
.thumbnail-classic .mini-posters i:last-child {
  display: none;
}
.template-choice-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  font-size: 16px;
  font-weight: 600;
}
.template-choice-title > span {
  visibility: hidden;
  color: #176f5e;
}
.template-option input:checked ~ .template-choice-title > span {
  visibility: visible;
}
.template-description {
  display: block;
  font-size: 12px;
  color: #6c7a64;
  margin-top: 8px;
  min-height: 40px;
}
.template-option > .text-link {
  margin: 12px 0 0;
}
.appearance-details {
  max-width: 720px;
  padding: 28px;
}
.appearance-details .field:last-of-type {
  margin-bottom: 0;
}
@media (min-width: 701px) and (max-width: 1200px) {
  .template-picker {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 960px) {
  .template-picker {
    gap: 12px;
  }
  .template-option label {
    padding: 10px;
  }
  .template-thumbnail {
    padding: 12px;
  }
  .mini-brand {
    margin-bottom: 15px;
  }
  .mini-posters {
    margin-top: 10px;
  }
  .mini-posters i {
    height: 40px;
  }
  .template-description {
    font-size: 11px;
  }
}
@media (max-width: 700px) {
  .template-picker {
    grid-template-columns: 1fr;
    gap: 23px;
  }
  .template-thumbnail {
    aspect-ratio: 2;
    padding: 20px;
  }
  .mini-posters i {
    height: 45px;
  }
  .template-description {
    min-height: 0;
  }
  .appearance-details {
    padding: 22px 18px;
  }
}

.downloads-editor {
  max-width: 900px;
}
.downloads-editor .editor-form > div,
.download-edit-row > div {
  margin-bottom: 18px;
}
.downloads-editor label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 7px;
}
.downloads-editor input:not([type="checkbox"]):not([type="hidden"]) {
  width: 100%;
  border: 1px solid #dce4d5;
  padding: 10px 12px;
  min-height: 43px;
  border-radius: 6px;
  font: inherit;
}
.downloads-editor input[type="checkbox"] {
  width: 18px;
  height: 18px;
}
.downloads-items {
  padding: 30px;
  margin-top: 25px;
}
.downloads-items > h2 {
  font-size: 18px;
}
.downloads-items > p {
  font-size: 12px;
  color: #6c7a64;
  margin: 13px 0 25px;
}
.download-edit-row {
  border: 1px solid #e4e9df;
  padding: 20px;
  border-radius: 8px;
  margin: 0 0 20px;
}
.download-edit-row legend {
  color: #687b60;
  font-size: 11px;
  padding: 0 8px;
}
@media (max-width: 700px) {
  .downloads-items {
    padding: 22px 18px;
  }
  .download-edit-row {
    padding: 15px;
  }
}
