/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[2].use[1]!./node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[14].oneOf[2].use[2]!./node_modules/next/font/google/target.css?{"path":"src/app/layout.tsx","import":"Fraunces","arguments":[{"subsets":["latin"],"variable":"--font-fraunces","display":"swap"}],"variableName":"fraunces"} ***!
  \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* vietnamese */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/fb526027db1fc1ae-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/4da3161b738b07dd-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/af4bf8399d1aacdf-s.p.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: 'Fraunces Fallback';src: local("Times New Roman");ascent-override: 84.71%;descent-override: 22.09%;line-gap-override: 0.00%;size-adjust: 115.45%
}.__className_482ce5 {font-family: 'Fraunces', 'Fraunces Fallback';font-style: normal
}.__variable_482ce5 {--font-fraunces: 'Fraunces', 'Fraunces Fallback'
}

/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[2].use[1]!./node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[14].oneOf[2].use[2]!./node_modules/next/font/google/target.css?{"path":"src/app/layout.tsx","import":"Newsreader","arguments":[{"subsets":["latin"],"variable":"--font-newsreader","display":"swap"}],"variableName":"newsreader"} ***!
  \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* vietnamese */
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/_next/static/media/7088c2b12ccac062-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/_next/static/media/665e920483964785-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/_next/static/media/5611c55482296524-s.p.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: 'Newsreader Fallback';src: local("Times New Roman");ascent-override: 69.68%;descent-override: 25.12%;line-gap-override: 0.00%;size-adjust: 105.48%
}.__className_804dcf {font-family: 'Newsreader', 'Newsreader Fallback';font-style: normal
}.__variable_804dcf {--font-newsreader: 'Newsreader', 'Newsreader Fallback'
}

/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[2].use[1]!./node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[14].oneOf[2].use[2]!./node_modules/next/font/google/target.css?{"path":"src/app/layout.tsx","import":"Outfit","arguments":[{"subsets":["latin"],"variable":"--font-outfit","display":"swap"}],"variableName":"outfit"} ***!
  \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* latin-ext */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/98848575513c9742-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/7b0b24f36b1a6d0b-s.p.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: 'Outfit Fallback';src: local("Arial");ascent-override: 100.18%;descent-override: 26.05%;line-gap-override: 0.00%;size-adjust: 99.82%
}.__className_a80a2d {font-family: 'Outfit', 'Outfit Fallback';font-style: normal
}.__variable_a80a2d {--font-outfit: 'Outfit', 'Outfit Fallback'
}

/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[2].use[1]!./node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[14].oneOf[2].use[2]!./node_modules/next/font/google/target.css?{"path":"src/app/layout.tsx","import":"Manrope","arguments":[{"subsets":["latin"],"variable":"--font-manrope","display":"swap"}],"variableName":"manrope"} ***!
  \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/_next/static/media/a1f87af3f44fadbb-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/_next/static/media/86f65e8637cc94e3-s.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/_next/static/media/39f449c8730c2295-s.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/_next/static/media/9fabb9c65b63d798-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/_next/static/media/f9e1dbe9676d9bb6-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/_next/static/media/8760c4774489e4ba-s.p.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: 'Manrope Fallback';src: local("Arial");ascent-override: 103.31%;descent-override: 29.07%;line-gap-override: 0.00%;size-adjust: 103.19%
}.__className_855f89 {font-family: 'Manrope', 'Manrope Fallback';font-style: normal
}.__variable_855f89 {--font-manrope: 'Manrope', 'Manrope Fallback'
}

/*!*****************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/app/globals.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************/
* { box-sizing: border-box; }

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: #ebe6dc;
  color: #1b1915;
  font-family: var(--font-manrope), "WenQuanYi Micro Hei", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

::selection {
  background: #d7e36a;
  color: #1b1915;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #1f6b45;
  outline-offset: 2px;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-weight: 720;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.mark {
  display: grid;
  grid-template-columns: 7px 7px;
  grid-gap: 2px;
  gap: 2px;
}

.mark i {
  display: block;
  width: 7px;
  height: 7px;
  background: #1c2b24;
}

.mark i:nth-child(2) { background: #1f6b45; }
.mark i:nth-child(3) { background: #d7e36a; }

.topbar,
.studio-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
}

.top-actions {
  display: flex;
  gap: 16px;
  margin-left: auto;
}

.top-actions a {
  color: inherit;
  text-decoration: none;
}

.shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding-bottom: 72px;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.7fr);
  grid-gap: 40px;
  gap: 40px;
  padding: 18px 0 48px;
}

.eyebrow {
  margin: 0;
  color: #1f6b45;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.home-hero h1,
.page-title,
.create-form h2,
.missing h1 {
  margin: 0.2em 0 0.25em;
  font-family: var(--font-fraunces), "Songti SC", "Noto Serif SC", "WenQuanYi Micro Hei", serif;
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 520;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.lead,
.hint,
.card-copy p,
.site-index small {
  color: #5f594f;
}

.lead {
  max-width: 38rem;
  margin: 0;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.pbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.05rem;
  border: 1px solid #1c2b24;
  border-radius: 999px;
  background: #1c2b24;
  color: #f3f1ea;
  font-weight: 680;
  text-decoration: none;
  cursor: pointer;
}

.pbtn-ghost {
  background: transparent;
  color: #1c2b24;
}

.facts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.facts article,
.company-card,
.create-form,
.site-index li {
  border: 1px solid #e2dbd0;
  background: #f7f4ee;
}

.facts article {
  padding: 14px 16px;
}

.facts strong,
.card-copy h2 {
  display: block;
}

.facts p,
.card-copy p {
  margin: 0.25rem 0 0;
}

.section-label {
  margin: 0 0 14px;
  font-size: 0.92rem;
  font-weight: 700;
}

.ability-grid,
.domain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 12px;
  gap: 12px;
  margin: 0 0 42px;
  padding: 0;
  list-style: none;
}

.ability-grid li,
.domain-grid article,
.address-card,
.lead-form,
.lead-done {
  padding: 16px;
  border: 1px solid #e2dbd0;
  background: #f7f4ee;
}

.ability-grid p,
.domain-grid p,
.address-card p,
.style-lead {
  margin: 0.35rem 0 0;
  color: #5f594f;
}

.domain-block,
.contact-block,
#styles {
  margin-top: 12px;
}

.contact-block {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  grid-gap: 28px;
  gap: 28px;
  align-items: start;
  margin-top: 36px;
}

.contact-block h2 {
  margin: 0.2em 0 0.4em;
  font-family: var(--font-fraunces), "Songti SC", "Noto Serif SC", "WenQuanYi Micro Hei", serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 520;
  letter-spacing: -0.03em;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lead-form label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.88rem;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid #d9d1c4;
  background: #fff;
}

.address-card {
  grid-column: 1 / -1;
}

.address-card h2,
.address-card h3 {
  margin: 0;
}

.address-card h3 {
  margin-top: 1rem;
  font-size: 1rem;
}

.address-url {
  margin: 0.6rem 0 0;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 18px;
  gap: 18px;
}

.company-card {
  padding: 10px;
}

.shot {
  position: relative;
  display: block;
  height: 280px;
  overflow: hidden;
  background: #fff;
  color: transparent;
  container-type: inline-size;
}

.shot-canvas {
  width: 1200px;
  transform: scale(calc(100cqw / 1200px));
  transform-origin: top left;
  pointer-events: none;
}

.card-copy {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 8px 8px;
}

.card-copy h2 {
  margin: 0;
  font-family: var(--font-fraunces), "Songti SC", serif;
  font-size: 1.7rem;
  font-weight: 540;
  letter-spacing: -0.03em;
}

.card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 8px 8px;
}

.card-links a {
  color: #1c2b24;
}

.studio-home {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1.15fr);
  grid-gap: 28px;
  gap: 28px;
  align-items: start;
}

.site-index {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-index li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
}

.site-index a {
  color: inherit;
  text-decoration: none;
}

.index-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.swatches,
.mini-swatches {
  display: flex;
  flex: none;
}

.swatches i,
.mini-swatches i {
  display: block;
  width: 14px;
  height: 28px;
}

.mini-swatches i {
  width: 8px;
  height: 28px;
}

.index-link strong,
.preset strong {
  display: block;
}

.index-link small,
.preset small {
  display: block;
  color: #5f594f;
}

.create-form {
  padding: 18px;
}

.create-form h2 {
  font-size: 2rem;
}

.field,
.choice {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 14px 0;
}

.field span,
.choice > span,
.field-label {
  color: #6d675e;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.field input,
.field textarea,
.choice input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd4c6;
  border-radius: 8px;
  background: #fff;
}

.field textarea {
  min-height: 92px;
  resize: vertical;
}

.hint {
  margin: 0 0 12px;
  font-size: 0.92rem;
}

.open-steps {
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid #e2dbd0;
  background: #f7f4ee;
}

.open-steps strong {
  display: block;
  margin-bottom: 6px;
}

.open-steps ol {
  margin: 0;
  padding-left: 1.2rem;
}

.open-steps li + li {
  margin-top: 4px;
}

.open-steps p,
.address-card .open-steps {
  margin: 8px 0 0;
}

.data-table small {
  display: block;
  color: #5f594f;
}

.form-error {
  color: #9c4221;
}

.save-note {
  margin: 0;
  color: #1f6b45;
  font-weight: 680;
}

.preset-grid {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.template-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 12px;
}

.template-tools input,
.template-tools select {
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid #e2dbd0;
  background: #fff;
  color: inherit;
  font: inherit;
}

.template-tools input {
  flex: 1 1 180px;
}

.template-tools select {
  flex: 0 1 200px;
}

.agency-work .pager {
  margin-top: 18px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  grid-gap: 28px;
  gap: 28px;
  margin-top: 28px;
}

.about-grid p,
.about-grid dd {
  margin: 0.35rem 0 0;
  color: #5c564c;
}

.about-grid dt {
  margin-top: 14px;
  font-weight: 750;
}

.about-grid a {
  color: #1f6b45;
}

.watch-soon {
  color: #ad6800;
  font-weight: 700;
}

.watch-late {
  color: #cf1322;
  font-weight: 700;
}

.preset {
  display: flex;
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 8px;
  border: 1px solid #e2dbd0;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.preset.on {
  border-color: #1c2b24;
}

.studio {
  height: 100dvh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  background: #e7e1d6;
}

.studio-title {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.studio-title span,
.save-state {
  color: #5f594f;
  font-size: 0.88rem;
}

.save-state {
  margin: 0 0 0 auto;
}

.studio-body {
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr);
  min-height: 0;
}

.studio-body.is-writing {
  grid-template-columns: minmax(480px, 54%) minmax(280px, 1fr);
}

.home-editor .rich-surface,
.home-editor .md-source {
  min-height: 28rem;
}

.panel {
  display: flex;
  min-height: 0;
  flex-direction: column;
  background: #f7f4ee;
  border-right: 1px solid #e0d9cc;
}

.tabs {
  display: flex;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 2;
  background: #f7f4ee;
  border-bottom: 1px solid #e0d9cc;
}

.tabs button {
  flex: 1 1;
  padding: 14px 8px;
  border: 0;
  background: transparent;
  color: #6d675e;
  cursor: pointer;
}

.tabs button[aria-selected="true"] {
  color: #1c1915;
  box-shadow: inset 0 -2px 0 #1c1915;
}

.panel-body {
  overflow: auto;
  padding: 16px 16px 40px;
}

.panel-body h3 {
  margin: 18px 0 10px;
  font-size: 0.95rem;
}

.color-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 8px;
  gap: 8px;
}

.color-field {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
}

.color-field input {
  width: 36px;
  height: 28px;
  padding: 0;
  border: 1px solid #cfc6b8;
  border-radius: 4px;
  background: transparent;
}

.segmented {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  overflow: hidden;
  border: 1px solid #ddd4c6;
  border-radius: 10px;
  background: #fff;
}

.segmented button {
  flex: 1 1;
  padding: 8px 8px;
  border: 0;
  border-right: 1px solid #eee6da;
  background: transparent;
  white-space: nowrap;
  cursor: pointer;
}

.segmented button:last-child {
  border-right: 0;
}

.segmented button[aria-pressed="true"] {
  background: #1c2b24;
  color: #f4f1ea;
}

.segmented.wrap button {
  flex: none;
}

.section-list {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.section-list li,
.repeat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid #eee6da;
}

.repeat {
  align-items: stretch;
  flex-direction: column;
}

.pair-row {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr) auto;
  grid-gap: 8px;
  gap: 8px;
  align-items: center;
}

.save-as-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 8px 0 4px;
}

.save-as-row input {
  flex: 1 1;
  min-width: 0;
}

.save-as-row .pbtn {
  flex: none;
  width: auto;
}

.section-list label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.module-note {
  display: block;
  margin-top: 2px;
  color: #8c8c8c;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 450;
}

.photo-pick {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 8px;
  gap: 8px;
  margin-top: 8px;
}

.photo-pick button {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  padding: 6px;
  border: 1px solid #e5e0d6;
  border-radius: 8px;
  background: #fff;
  color: inherit;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.photo-pick button:disabled {
  color: #8c8c8c;
  cursor: not-allowed;
}

.photo-pick button[aria-pressed="true"] {
  border-color: #1677ff;
  box-shadow: inset 0 0 0 1px #1677ff;
}

.photo-pick img {
  width: 100%;
  height: 52px;
  object-fit: cover;
  border-radius: 4px;
}

.file-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 8px 0;
}

.file-toolbar .choice-card {
  width: auto;
  flex-direction: row;
  padding: 6px 14px;
}

.file-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  grid-gap: 12px;
  gap: 12px;
}

.file-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  border: 1px solid #e5e0d6;
  border-radius: 8px;
  background: #fff;
  min-width: 0;
}

.file-card img,
.file-card video {
  width: 100%;
  height: 96px;
  object-fit: cover;
  border-radius: 4px;
  background: #f6f4ef;
}

.file-card strong,
.file-card span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-card .file-path {
  white-space: normal;
  overflow: visible;
  word-break: break-all;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
}

.file-kind {
  display: grid;
  place-items: center;
  height: 96px;
  border-radius: 4px;
  background: #f6f4ef;
  color: #5d6c7d;
}

.block-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.block-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border: 1px solid #e5e0d6;
  border-radius: 8px;
  background: #fff;
}

.block-add {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.row-actions {
  display: flex;
  gap: 6px;
}

.row-actions button,
.text-button {
  border: 0;
  background: transparent;
  color: #1f6b45;
  cursor: pointer;
}

.text-button:disabled,
.row-actions button:disabled {
  color: #b0a89c;
  cursor: not-allowed;
}

.text-button.danger {
  margin-top: 28px;
  color: #9c4221;
}

.muted-label {
  color: #8a8378;
  font-size: 0.85rem;
}

.preview-wrap {
  overflow: auto;
  min-width: 0;
  padding: 0 16px 24px;
}

.preview-toolbar {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  background: #e7e1d6;
  color: #5f594f;
  font-size: 0.88rem;
}

.preview-toolbar .segmented {
  flex: none;
}

.stage.phone {
  width: 390px;
  margin: 0 auto 28px;
  border: 1px solid #d9d1c4;
}

.missing {
  width: min(680px, calc(100% - 36px));
  margin: 12vh auto;
}

@media (max-width: 960px) {
  .home-hero,
  .gallery,
  .ability-grid,
  .domain-grid,
  .contact-block,
  .studio-home,
  .studio-body {
    grid-template-columns: 1fr;
  }

  .studio {
    height: auto;
    min-height: 100dvh;
  }

  .studio-bar {
    flex-wrap: wrap;
  }

  .save-state {
    margin-left: 0;
  }

  .preview-wrap {
    order: -1;
    height: 72vh;
    border-bottom: 1px solid #e0d9cc;
  }

  .preview-toolbar span {
    flex-basis: 100%;
  }

  .panel {
    border-right: 0;
  }
}

.template-notice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  padding: 12px 28px;
  background: #101613;
  color: #f7f4ee;
  letter-spacing: 0.01em;
}

.template-notice p {
  margin: 0;
  max-width: 46rem;
}

.template-notice-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.template-notice-actions a {
  color: inherit;
  font-weight: 650;
  text-decoration: none;
}

.template-notice .pbtn {
  background: #f3f1ea;
  color: #1c2b24;
}

.console {
  display: grid;
  grid-template-columns: 216px minmax(0, 1fr);
  min-height: 100dvh;
  background: #f0f2f5;
  color: #1f1f1f;
}

.console-side {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-right: 1px solid #e8e8e8;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  height: 100dvh;
  overflow: auto;
}

.console-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 16px;
  border-bottom: 1px solid #f0f0f0;
  color: inherit;
  font-weight: 720;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.console-site {
  padding: 16px 16px 6px;
}

.console-site strong,
.console-site span {
  display: block;
}

.console-site span {
  margin-top: 2px;
  color: #8c8c8c;
  font-size: 0.78rem;
}

.console-menu {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 8px 24px;
}

.console-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #262626;
  text-align: left;
  cursor: pointer;
}

.console-menu button svg {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.console-menu button[aria-current="page"] {
  background: #eef3ff;
  color: #2563eb;
  font-weight: 700;
}

.menu-count {
  margin-left: auto;
  padding: 1px 7px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #5b6472;
  font-size: 0.72rem;
  font-weight: 650;
}

.console-menu button[aria-current="page"] .menu-count {
  background: #fff;
  color: #2563eb;
}

.console-foot {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  margin-top: auto;
  padding: 14px 18px 18px;
  border-top: 1px solid #e8e8e8;
}

.console-foot a,
.console-foot button {
  border: 0;
  background: transparent;
  padding: 0;
  color: #5b6472;
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.console-foot .out,
.console-foot button {
  color: #d92d20;
}

.console-tools .tool-ghost,
.console-tools .tool-soft {
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 680;
}

.console-tools .tool-ghost {
  border: 1px solid #e4e7ec;
  background: #fff;
  color: #111827;
}

.console-tools .tool-soft {
  border: 1px solid transparent;
  background: #eef3ff;
  color: #2563eb;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
}

.pill-green { background: #e8f6ee; color: #0f9d58; }
.pill-amber { background: #fdf3e0; color: #c2830a; }
.pill-red { background: #fdecea; color: #d92d20; }
.pill-green::before,
.pill-amber::before,
.pill-red::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.todo-card {
  grid-column: 1 / -1;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid #e4e7ec;
  border-radius: 12px;
}

.todo-head,
.todo-list li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.todo-head h2,
.todo-card h2 {
  margin: 0;
  font-size: 1rem;
}

.todo-head {
  justify-content: space-between;
}

.meter {
  height: 7px;
  margin: 12px 0 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e9edf3;
}

.meter i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: #c2830a;
}

.todo-list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.todo-list li {
  padding: 10px 0;
  border-top: 1px solid #eef0f3;
}

.todo-list li > span:nth-child(2) {
  display: grid;
  min-width: 0;
}

.todo-list small {
  color: #5b6472;
}

.todo-list button {
  margin-left: auto;
  padding: 0.28rem 0.65rem;
  border: 0;
  border-radius: 8px;
  background: #eef3ff;
  color: #2563eb;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.console-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.console-top {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 56px;
  padding: 10px 20px;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
}

.console-top h1 {
  margin: 0;
  font-size: 16px;
  font-weight: 680;
}

.console-top .hint {
  margin: 0;
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.console-tools {
  display: flex;
  flex: none;
  gap: 16px;
  align-items: center;
  margin-left: auto;
}

.console-tools a,
.console-tools button {
  border: 0;
  background: transparent;
  padding: 0;
  color: #1677ff;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.console-body {
  padding: 16px 20px 56px;
}

.list-panel {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 6px;
}

.list-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid #f0f0f0;
}

.list-bar h2,
.list-form h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 680;
}

.list-add {
  height: 32px;
  padding: 0 14px;
  border: 0;
  border-radius: 4px;
  background: #1677ff;
  color: #fff;
  cursor: pointer;
}

.list-note {
  margin: 0;
  padding: 10px 16px 0;
}

.data-table-wrap {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.data-table th,
.data-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #f0f0f0;
  text-align: left;
  vertical-align: middle;
  font-size: 14px;
}

.data-table th {
  background: #fafafa;
  color: #595959;
  font-weight: 650;
  white-space: nowrap;
}

.data-table td.cell-clip {
  max-width: 28rem;
}

.row-actions {
  display: flex;
  gap: 12px;
  white-space: nowrap;
}

.edge-form {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  min-width: 12rem;
}

.edge-form input {
  width: 11rem;
  padding: 4px 8px;
}

.edge-form small {
  flex-basis: 100%;
  color: #8a5a12;
}

.front-form {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  margin: 0 0 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.front-form p,
.front-form small {
  margin: 0;
  color: var(--muted);
}

.front-form label {
  display: grid;
  grid-gap: 4px;
  gap: 4px;
}

.front-form input,
.front-form select {
  width: min(100%, 28rem);
  padding: 6px 8px;
}

.front-check {
  grid-template-columns: auto 1fr;
  align-items: center;
}

.front-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.front-steps {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  display: grid;
  grid-gap: 6px;
  gap: 6px;
}

.row-actions a,
.row-actions button {
  border: 0;
  background: transparent;
  padding: 0;
  color: #1677ff;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.row-actions button.danger {
  color: #cf1322;
}

.row-actions button:disabled {
  color: #bfbfbf;
  cursor: not-allowed;
}

.list-form {
  margin-top: 16px;
  padding: 16px;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 6px;
}

.pager {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: center;
  justify-content: flex-end;
  padding: 12px 16px;
  color: #595959;
  font-size: 13px;
}

.pager-pages {
  display: flex;
  gap: 4px;
  align-items: center;
}

.pager button,
.pager select {
  height: 32px;
  padding: 0 10px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  background: #fff;
  color: #262626;
  font: inherit;
  cursor: pointer;
}

.pager button.on {
  border-color: #1677ff;
  background: #1677ff;
  color: #fff;
}

.pager button:disabled {
  color: #bfbfbf;
  cursor: not-allowed;
}

.pager label {
  display: flex;
  gap: 6px;
  align-items: center;
}

@media (max-width: 800px) {
  .console {
    grid-template-columns: 1fr;
  }

  .console-side {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 4;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid #e8e8e8;
  }

  .console-menu {
    flex-direction: row;
    overflow-x: auto;
    padding-top: 4px;
  }

  .console-menu button {
    flex: none;
    white-space: nowrap;
  }

  .console-top {
    flex-wrap: wrap;
  }

  .console-top .hint {
    flex-basis: 100%;
    white-space: normal;
  }

  .console-tools {
    margin-left: 0;
  }
}

.manage-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  grid-gap: 16px;
  gap: 16px;
  align-items: start;
}

.manage-grid > .kpi-row {
  grid-column: 1 / -1;
}

.choice-list,
.plain-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.choice-card,
.plain-list button {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e2dbd0;
  background: #fff;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.choice-card.on {
  border-color: #1c2b24;
}

.choice-card small,
.plain-list small {
  color: #5f594f;
}

.plain-list li {
  padding: 12px 0;
  border-bottom: 1px solid #e2dbd0;
}

.check {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 8px 0;
}

.manage .stack-form,
.manage-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.manage .stack-form input,
.manage .stack-form textarea,
.manage .stack-form select {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid #d9d1c4;
  background: #fff;
  color: inherit;
  font: inherit;
}

.manage .stack-form input[type="checkbox"] {
  width: auto;
  padding: 0;
  flex: none;
}

.list-form.editor-page {
  max-width: 860px;
  margin-top: 0;
}

.editor-page fieldset.repeat {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  margin: 8px 0;
  padding: 12px 14px 14px;
  border: 1px solid #f0f0f0;
  border-radius: 6px;
}

.editor-page fieldset.repeat label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.editor-page fieldset.repeat label.check {
  flex-direction: row;
  align-items: center;
}

.manage h2 {
  margin: 0 0 8px;
  font-size: 1.4rem;
}

.mine-row {
  margin-bottom: 28px;
}

.admin-entry {
  display: grid;
  place-items: start center;
  padding-top: 8vh;
}

.admin-login {
  width: min(440px, 100%);
}

.admin-rename {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid #e6e1d8;
}

.admin-login h1 {
  margin: 0.2em 0;
  font-family: var(--font-fraunces), "Songti SC", "Noto Serif SC", "WenQuanYi Micro Hei", serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 520;
  letter-spacing: -0.04em;
}

.admin-bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-end;
}

.admin-home h2 {
  margin: 28px 0 10px;
  font-size: 1.3rem;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.admin-table th,
.admin-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #e2dbd0;
  text-align: left;
  vertical-align: top;
}

.admin-table small {
  color: #5f594f;
}

.entry-editor {
  grid-column: 1 / -1;
}

.rich-editor {
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
}

.rich-bar,
.rich-pop,
.rich-modes {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}

.rich-bar {
  padding: 6px;
  background: #fafafa;
  border-bottom: 1px solid #f0f0f0;
}

.rich-bar select,
.rich-bar button,
.rich-bar label,
.rich-pop button,
.rich-modes button {
  height: 32px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: #262626;
  cursor: pointer;
}

.rich-bar select {
  border-color: #d9d9d9;
  background: #fff;
}

.rich-bar button.on,
.rich-modes button.on {
  background: #e6f4ff;
  color: #1677ff;
}

.rich-bar button:disabled {
  color: #bfbfbf;
  cursor: not-allowed;
}

.rich-bar label {
  position: relative;
}

.rich-bar input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.rich-bar .is-off {
  opacity: 0.5;
}

.rich-modes {
  margin-left: auto;
}

.rich-pop {
  padding: 8px;
  border-bottom: 1px solid #f0f0f0;
}

.rich-pop input {
  flex: 1 1;
  min-width: 12rem;
  height: 32px;
  padding: 0 10px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  font: inherit;
}

.rich-surface {
  min-height: 320px;
  padding: 14px 16px 28px;
  outline: none;
}

.rich-surface p {
  margin: 0.55em 0;
}

.rich-surface h1,
.rich-surface h2,
.rich-surface h3 {
  margin: 0.8em 0 0.35em;
  line-height: 1.3;
}

.rich-surface h1 { font-size: 1.7rem; }
.rich-surface h2 { font-size: 1.35rem; }
.rich-surface h3 { font-size: 1.12rem; }

.rich-surface ul,
.rich-surface ol {
  margin: 0.4em 0;
  padding-left: 1.4em;
}

.rich-surface blockquote {
  margin: 0.6em 0;
  padding-left: 12px;
  border-left: 3px solid #d9d9d9;
  color: #595959;
}

.rich-surface pre {
  padding: 10px 12px;
  overflow: auto;
  background: #f5f5f5;
}

.rich-surface code {
  padding: 0 4px;
  background: #f5f5f5;
}

.rich-surface img,
.rich-surface video,
.rich-surface iframe {
  max-width: 100%;
}

.rich-surface .editor-embed {
  aspect-ratio: 16 / 9;
}

.rich-surface .editor-embed iframe,
.rich-surface video {
  width: 100%;
  height: 100%;
  border: 0;
}

.rich-surface p.is-empty::before {
  float: left;
  height: 0;
  color: #bfbfbf;
  content: attr(data-placeholder);
  pointer-events: none;
}

.md-source {
  display: block;
  width: 100%;
  min-height: 320px;
  margin: 0;
  padding: 14px 16px 28px;
  border: 0;
  resize: vertical;
  background: #fff;
  color: #172433;
  font: 14px/1.6 ui-monospace, "SFMono-Regular", "Noto Sans Mono", monospace;
}

.md-preview {
  min-height: 16rem;
  padding: 12px 14px;
  border: 1px solid #d9d1c4;
  background: #fff;
}

.zoomable {
  cursor: zoom-in;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 3.4rem 1.25rem 1.5rem;
  background: rgba(20, 24, 28, 0.62);
}

.lightbox-card {
  max-width: min(96vw, 1100px);
  max-height: calc(100vh - 5rem);
  padding: 0.55rem;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

.lightbox-card img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(92vw, 1080px);
  max-height: calc(100vh - 6.6rem);
  margin: 0;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 0.85rem;
  right: 0.95rem;
  width: 2.3rem;
  height: 2.3rem;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #172433;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}

.md-preview .prose img,
.md-preview .embed,
.md-preview .player {
  max-width: 100%;
}

.md-preview .embed {
  aspect-ratio: 16 / 9;
}

.md-preview .embed iframe,
.md-preview .player {
  width: 100%;
  height: 100%;
  border: 0;
}

.agency {
  min-height: 100vh;
  background: #f4f1ea;
  color: #14201c;
}

.agency-nav,
.agency-hero,
.agency-metrics,
.agency-section,
.agency-domain,
.agency-contact {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.agency-nav {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: none;
  min-height: 68px;
  padding: 0 28px;
  background: rgba(16, 22, 19, 0.94);
  color: #f7f4ee;
  border-bottom: 1px solid rgba(247, 244, 238, 0.1);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
}

.agency-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-family: var(--font-fraunces), "Songti SC", "Noto Serif SC", "WenQuanYi Micro Hei", serif;
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.agency-brand .mark i {
  border-radius: 1.5px;
  background: #d7e36a;
}

.agency-brand .mark i:nth-child(2) { background: #1f6b45; }
.agency-brand .mark i:nth-child(3) { background: rgba(247, 244, 238, 0.55); }
.agency-brand .mark i:nth-child(4) { background: rgba(215, 227, 106, 0.5); }

.agency-nav nav {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin-left: 8px;
}

.agency-nav a {
  color: rgba(247, 244, 238, 0.76);
  text-decoration: none;
}

.agency-nav nav a {
  padding: 0.4rem 0.72rem;
  border-radius: 8px;
  font-size: 0.9rem;
}

.agency-nav nav a:hover {
  color: #f7f4ee;
  background: rgba(247, 244, 238, 0.1);
}

.agency-mail {
  margin-left: auto;
  font-size: 0.9rem;
}

.agency-mail:hover {
  color: #f7f4ee;
}

.agency-nav a.agency-nav-cta {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: #d7e36a;
  color: #14201c;
  font-size: 0.88rem;
  font-weight: 750;
}

.agency-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  grid-gap: clamp(32px, 5vw, 72px);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  width: 100%;
  max-width: none;
  padding: 72px max(28px, calc((100% - 1180px) / 2)) 64px;
  background:
    radial-gradient(900px 460px at 84% -6%, rgba(215, 227, 106, 0.18), transparent 60%),
    radial-gradient(700px 400px at 6% 110%, rgba(31, 107, 69, 0.3), transparent 62%),
    #101613;
  color: #f7f4ee;
}

.agency-kicker,
.agency-head p,
.agency-domain p,
.agency-contact p:first-child {
  margin: 0;
  color: #d7e36a;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.14em;
}

.agency-hero h1,
.agency-head h2,
.agency-domain h2,
.agency-contact h2 {
  margin: 0.15em 0 0.3em;
  font-family: var(--font-fraunces), "Songti SC", "Noto Serif SC", "WenQuanYi Micro Hei", serif;
  font-weight: 520;
  letter-spacing: -0.045em;
  line-height: 0.96;
}

.agency-hero h1 {
  max-width: 11em;
  font-size: clamp(2.7rem, 5.4vw, 4.6rem);
  line-height: 0.98;
}

.agency-copy p {
  max-width: 36rem;
  margin: 0;
  color: #d9d3c7;
  font-size: 1.08rem;
}

.agency-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.agency-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 1.2rem;
  border: 1px solid #d7e36a;
  border-radius: 999px;
  background: #d7e36a;
  color: #14201c;
  font-weight: 750;
  text-decoration: none;
}

.agency-btn-ghost {
  background: transparent;
  border-color: rgba(247, 244, 238, 0.45);
  color: #f7f4ee;
}

.hero-shot {
  position: relative;
  margin: 18px 0;
}

.hero-shot img {
  display: block;
  width: 100%;
  height: clamp(280px, 38vw, 440px);
  object-fit: cover;
  border: 1px solid rgba(247, 244, 238, 0.12);
  border-radius: 18px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

.hero-shot figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(247, 244, 238, 0.96);
  color: #14201c;
}

.hero-shot figcaption strong {
  display: block;
  font-family: var(--font-fraunces), "Songti SC", serif;
  font-size: 1.02rem;
  font-weight: 600;
}

.hero-shot figcaption small {
  display: block;
  color: #5c564c;
  font-size: 0.8rem;
}

.hero-shot figcaption em {
  flex: none;
  padding: 4px 10px;
  border-radius: 999px;
  background: #14201c;
  color: #f7f4ee;
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 750;
}

.hero-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(247, 244, 238, 0.97);
  color: #14201c;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  font-size: 0.84rem;
  font-weight: 750;
}

.hero-chip i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1f6b45;
}

.hero-chip small {
  display: block;
  color: #5c564c;
  font-size: 0.74rem;
  font-weight: 500;
}

.chip-a { top: 22px; left: -18px; }
.chip-b { right: -8px; bottom: 148px; }

.agency-hero h1 em {
  font-style: normal;
  color: #d7e36a;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: #d9d3c7;
  font-size: 0.92rem;
}

.hero-notes li::before {
  content: "✓ ";
  color: #d7e36a;
}

.agency-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 0;
  gap: 0;
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100% - 1180px) / 2));
  background: #101613;
  color: #f7f4ee;
  border-top: 1px solid rgba(247, 244, 238, 0.12);
}

.agency-metrics p {
  margin: 0;
  padding: 26px 28px;
  border-right: 1px solid rgba(247, 244, 238, 0.08);
}

.agency-metrics p:last-child {
  border-right: 0;
}

.agency-metrics strong {
  font-family: var(--font-fraunces), "Songti SC", "Noto Serif SC", "WenQuanYi Micro Hei", serif;
  font-size: 1.7rem;
  font-weight: 520;
}

.agency-metrics strong,
.work-grid strong,
.domain-pair strong {
  display: block;
}

.agency-metrics span {
  color: #c8c1b4;
  font-size: 0.92rem;
}

.agency-section {
  padding-block: 72px 20px;
}

.agency-head h2,
.agency-domain h2,
.agency-contact h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.section-lead {
  display: block;
  max-width: 44rem;
  margin-top: 0.6rem;
  color: #5c564c;
  font-size: 1.02rem;
  font-weight: 450;
  letter-spacing: 0;
}

.agency-services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-gap: 0;
  gap: 0;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #e4ddd2;
}

.agency-services li,
.domain-pair article {
  padding: 28px 28px 8px 0;
  background: transparent;
  border: 0;
  border-right: 1px solid #e4ddd2;
}

.edit-ways {
  grid-template-columns: 1fr 1fr;
}

.agency-services li:last-child {
  border-right: 0;
  padding-right: 0;
}

.domain-pair article {
  padding: 22px 22px 24px;
  background: #1c2823;
  border: 1px solid rgba(247, 244, 238, 0.12);
}

.agency-services span {
  color: #1f6b45;
  font-family: var(--font-fraunces), "Songti SC", serif;
  font-size: 1.6rem;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
  font-weight: 520;
}

.agency-services strong {
  display: block;
  margin-top: 0.8rem;
  font-size: 1.15rem;
}

.agency-services p,
.domain-pair p,
.agency-contact > div p:last-child {
  margin: 0.4rem 0 0;
  color: #5c564c;
}

.price-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 16px;
  gap: 16px;
  margin-top: 36px;
}

.price-board article {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 100%;
  padding: 28px 24px 32px;
  background: #fff;
  border: 1px solid #e4ddd2;
}

.price-board p {
  margin: 0;
  color: #1f6b45;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.14em;
}

.price-board strong {
  font-family: var(--font-fraunces), "Songti SC", "Noto Serif SC", "WenQuanYi Micro Hei", serif;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 520;
  letter-spacing: -0.04em;
  line-height: 1;
}

.price-board span {
  color: #14201c;
  font-size: 1.2rem;
  font-weight: 720;
}

.price-board em {
  margin-top: auto;
  color: #5c564c;
  font-style: normal;
  line-height: 1.6;
}

.price-featured {
  background: #14201c;
  border-color: #14201c;
  color: #f7f4ee;
}

.price-featured p {
  color: #d7e36a;
}

.price-featured span,
.price-featured em {
  color: #f7f4ee;
}

.price-featured em {
  color: #d5cec3;
}

.price-note {
  max-width: 46rem;
  margin: 18px 0 0;
  color: #5c564c;
}

.trial-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 26px;
  margin-top: 28px;
  padding: 22px 26px;
  border-radius: 16px;
  background: #14201c;
  color: #f7f4ee;
}

.trial-strip strong {
  flex: none;
  font-family: var(--font-fraunces), "Songti SC", "Noto Serif SC", "WenQuanYi Micro Hei", serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: #d7e36a;
}

.trial-strip span {
  flex: 1 1 280px;
  color: #cfc8bb;
}

.trial-strip a {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: #d7e36a;
  color: #14201c;
  font-weight: 750;
  text-decoration: none;
}

.host-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 16px;
  gap: 16px;
  margin-top: 16px;
}

.host-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 30px;
  background: #fff;
  border: 1px solid #e4ddd2;
  border-radius: 16px;
}

.host-card > p {
  margin: 0;
  color: #1f6b45;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.14em;
}

.host-card > strong {
  font-family: var(--font-fraunces), "Songti SC", "Noto Serif SC", "WenQuanYi Micro Hei", serif;
  font-size: 1.05rem;
  font-weight: 520;
  color: #6a645b;
}

.host-card > span {
  font-family: var(--font-fraunces), "Songti SC", "Noto Serif SC", "WenQuanYi Micro Hei", serif;
  font-size: clamp(2.4rem, 4vw, 3rem);
  font-weight: 520;
  letter-spacing: -0.04em;
  line-height: 1;
}

.host-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #d7e36a;
  color: #14201c;
  font-size: 0.72rem;
  font-weight: 800;
}

.host-open {
  align-self: flex-start;
  margin-top: 18px;
  padding: 0.55rem 1rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: inherit;
  font-weight: 720;
  text-decoration: none;
}

.host-featured .host-open {
  border-color: transparent;
  background: #d7e36a;
  color: #14201c;
}

.host-card > em {
  color: #5c564c;
  font-style: normal;
}

.host-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 18px;
  gap: 18px;
  margin-top: 14px;
}

.host-points h3 {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.host-points ul {
  margin: 0;
  padding-left: 1.1em;
  color: #5c564c;
}

.host-points li + li {
  margin-top: 6px;
}

.host-featured {
  background: #14201c;
  border-color: #14201c;
  color: #f7f4ee;
}

.host-featured > p {
  color: #d7e36a;
}

.host-featured > strong {
  color: #b9b2a5;
}

.host-featured > em,
.host-featured .host-points ul {
  color: #d5cec3;
}

.agency-work {
  padding-bottom: 64px;
}

.home-tpl-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}

.home-tpl-tools .template-tools {
  flex: 1 1 320px;
}

.home-tpl-tools > span {
  margin-left: auto;
  color: #6a645b;
  font-size: 0.86rem;
}

.home-tpl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 22px;
  gap: 22px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.home-tpl li {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e4ddd2;
  border-radius: 16px;
}

.home-tpl-photo {
  position: relative;
  display: block;
}

.home-tpl-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #e7e1d6;
}

.home-tpl-photo small,
.home-tpl-photo em {
  position: absolute;
  border-radius: 999px;
  font-style: normal;
}

.home-tpl-photo small {
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  background: rgba(16, 22, 19, 0.82);
  color: #f7f4ee;
  font-size: 0.72rem;
  font-weight: 700;
}

.home-tpl-photo em {
  right: 12px;
  bottom: 12px;
  padding: 6px 11px;
  background: #d7e36a;
  color: #14201c;
  font-size: 0.74rem;
  font-weight: 800;
}

.home-tpl li > div {
  display: flex;
  flex: 1 1;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px 18px;
}

.home-tpl strong {
  font-family: var(--font-fraunces), "Songti SC", serif;
  font-size: 1.16rem;
  font-weight: 600;
}

.home-tpl p {
  margin: 0;
  color: #5c564c;
  font-size: 0.88rem;
}

.home-tpl li > div > span {
  color: #6a645b;
  font-size: 0.76rem;
}

.home-tpl-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}

.home-tpl-actions a {
  padding: 0.45rem 0.8rem;
  border: 1px solid #d9d3c7;
  border-radius: 999px;
  color: #14201c;
  font-size: 0.82rem;
  font-weight: 720;
  text-decoration: none;
}

.home-tpl-actions a:last-child {
  border-color: transparent;
  background: #d7e36a;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 18px;
  gap: 18px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.work-lead {
  grid-column: span 2;
}

.work-grid a {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: #fff;
  color: inherit;
  text-decoration: none;
  border: 1px solid #e4ddd2;
}

.work-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  background: #e7e1d6;
}

.work-lead img {
  height: 420px;
}

.work-grid span {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px 18px;
}

.work-grid strong {
  font-family: var(--font-fraunces), "Songti SC", "Noto Serif SC", "WenQuanYi Micro Hei", serif;
  font-size: 1.25rem;
  font-weight: 520;
}

.work-grid small,
.work-grid em {
  color: #6a645b;
  font-style: normal;
  font-size: 0.84rem;
}

.work-grid em {
  color: #1f6b45;
  font-weight: 700;
}

.work-links {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.work-links li,
.work-links a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.agency-domain,
.agency-contact {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  grid-gap: 28px;
  gap: 28px;
  width: 100%;
  max-width: none;
  padding: 64px max(20px, calc((100% - 1180px) / 2));
}

.agency-domain {
  background: #14201c;
  color: #f7f4ee;
}

.agency-domain .agency-kicker,
.agency-domain p:first-child {
  color: #d7e36a;
}

.domain-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 12px;
  gap: 12px;
}

.domain-pair article {
  padding: 26px 24px 28px;
  background: #1c2823;
  border: 1px solid rgba(247, 244, 238, 0.12);
}

.domain-pair p {
  color: #d5cec3;
}

.agency-contact {
  align-items: start;
}

.agency-contact .lead-form {
  background: #fff;
}

.faq-list {
  display: grid;
  grid-gap: 0;
  gap: 0;
  margin-top: 28px;
  border-top: 1px solid #e4ddd2;
}

.faq-list details {
  border-bottom: 1px solid #e4ddd2;
  padding: 16px 0;
}

.faq-list summary {
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 680;
}

.faq-list p {
  max-width: 46rem;
  margin: 0.7rem 0 0;
  color: #5c564c;
}

.not-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.not-list li {
  margin-top: 8px;
  padding-left: 1.1rem;
  color: #5c564c;
}

.not-list li::before {
  content: "× ";
  margin-left: -1.1rem;
  color: #b23a2f;
}

.wechat-card {
  display: grid;
  grid-template-columns: 148px 1fr;
  grid-gap: 14px;
  gap: 14px;
  align-items: center;
  margin: 22px 0 0;
  padding: 12px;
  background: #fff;
  border: 1px solid #e4ddd2;
  border-radius: 16px;
}

.wechat-card img {
  width: 148px;
  height: auto;
  border-radius: 8px;
}

.wechat-card figcaption {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
}

.wechat-card span {
  color: #5c564c;
}

.contact-points {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: point;
}

.contact-points li {
  display: grid;
  grid-gap: 2px;
  gap: 2px;
  counter-increment: point;
  padding-left: 2.2rem;
}

.contact-points li::before {
  content: counter(point);
  float: left;
  width: 1.6rem;
  height: 1.6rem;
  margin-left: -2.2rem;
  border-radius: 999px;
  background: #14201c;
  color: #f7f4ee;
  font-size: 0.82rem;
  line-height: 1.6rem;
  text-align: center;
}

.contact-points span {
  color: #5c564c;
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-gap: 12px;
  gap: 12px;
  margin-bottom: 16px;
}

.kpi {
  padding: 16px 18px;
  background: #fff;
  border: 1px solid #e4e7ec;
  border-radius: 12px;
}

.kpi b {
  display: block;
  font-size: 1.55rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.kpi span,
.kpi small {
  display: block;
  color: #5b6472;
  font-size: 0.8rem;
}

.note-bar {
  margin: 0 0 16px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #fdf6e7;
  color: #92610a;
  line-height: 1.7;
}

.console {
  grid-template-columns: 238px minmax(0, 1fr);
  background: #f5f7fa;
}

.console-menu button[aria-current="page"] {
  background: #eef3ff;
  color: #2563eb;
}

@media (max-width: 1100px) {
  .agency-services,
  .home-tpl {
    grid-template-columns: 1fr 1fr;
  }

  .agency-services li:nth-child(2n) {
    border-right: 0;
  }
}

@media (max-width: 800px) {
  .topbar {
    flex-wrap: wrap;
  }

  .top-actions {
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-left: 0;
  }

  .manage-grid,
  .agency-hero,
  .agency-metrics,
  .agency-services,
  .price-board,
  .host-board,
  .host-points,
  .trial-strip,
  .work-grid,
  .home-tpl,
  .domain-pair,
  .about-grid,
  .agency-domain,
  .agency-contact,
  .kpi-row {
    grid-template-columns: 1fr;
  }

  .agency-hero {
    padding-top: 36px;
  }

  .agency-hero {
    min-height: 0;
    align-items: start;
  }

  .agency-hero h1 {
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  .hero-shot img,
  .work-lead img {
    height: 280px;
  }

  .chip-a,
  .chip-b {
    left: 10px;
    right: auto;
  }

  .chip-a { top: -12px; }
  .chip-b { bottom: -12px; }

  .agency-mail { display: none; }

  .agency-nav {
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 12px;
    height: auto;
    padding: 10px 16px 8px;
  }

  .agency-brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .agency-nav a.agency-nav-cta {
    margin-left: auto;
    flex: none;
  }

  .agency-nav nav {
    order: 3;
    flex: 1 0 100%;
    margin-left: 0;
    flex-wrap: nowrap;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .agency-nav nav::-webkit-scrollbar {
    display: none;
  }

  .agency-nav nav a {
    flex: none;
    padding: 0.35rem 0.7rem;
  }

  .agency-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .agency-metrics p:nth-child(2n) { border-right: 0; }

  .work-lead {
    grid-column: auto;
  }

  .agency-services {
    grid-template-columns: 1fr;
  }

  .agency-services li {
    border-right: 0;
    border-bottom: 1px solid #e4ddd2;
    padding-right: 0;
  }

  .trial-strip {
    flex-direction: column;
    gap: 6px;
  }
}

