.page-create .topbar {
    margin-bottom: 14px;
}

.page-home .main {
    max-width: 1500px;
}

.home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 18px;
    margin-bottom: 14px;
    padding: 22px;
    border: 1px solid #d7e5de;
    background:
        radial-gradient(80% 120% at 0% 0%, rgba(56, 145, 106, .18), rgba(56, 145, 106, 0) 55%),
        radial-gradient(100% 120% at 100% 100%, rgba(96, 166, 136, .14), rgba(96, 166, 136, 0) 48%),
        linear-gradient(135deg, #f9fcfa 0%, #f0f7f3 52%, #eaf4ef 100%);
}

.home-hero-copy h1 {
    margin: 0 0 10px;
    font-size: clamp(28px, 3.4vw, 44px);
    letter-spacing: -0.04em;
    line-height: 1.2;
}

.home-hero-copy p {
    margin: 0;
    color: #4c5d55;
    font-size: 15px;
    line-height: 1.7;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 16px;
}

.home-hero-stats {
    display: grid;
    gap: 10px;
}

.home-hero-stats article {
    padding: 13px 14px;
    border: 1px solid #d6e2dc;
    border-radius: 12px;
    background: rgba(255, 255, 255, .84);
    box-shadow: 0 10px 24px rgba(42, 78, 61, .06);
}

.home-hero-stats strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #285d49;
    color: #fff;
    font-size: 12px;
    letter-spacing: .08em;
}

.home-hero-stats h3 {
    margin: 8px 0 5px;
    font-size: 16px;
}

.home-hero-stats p {
    margin: 0;
    color: #5a6c63;
    font-size: 13px;
    line-height: 1.6;
}

.home-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 11px;
    margin-bottom: 14px;
}

.home-feature-card {
    padding: 18px;
    border: 1px solid #e2ebe6;
    background: linear-gradient(180deg, #fdfefd 0%, #f4f8f6 100%);
}

.home-feature-card h2 {
    margin: 0 0 8px;
    font-size: 22px;
    letter-spacing: -0.03em;
    line-height: 1.3;
}

.home-feature-card p {
    margin: 0;
    color: #607168;
    line-height: 1.65;
}

.home-flow {
    padding: 20px;
    border: 1px solid #dde8e3;
    background: #f8fcfa;
}

.home-flow h2 {
    margin: 0 0 10px;
    font-size: 28px;
    letter-spacing: -0.03em;
}

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

.home-flow li {
    padding: 11px 12px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e1ebe6;
    color: #374740;
    font-size: 14px;
}

.home-flow li b {
    color: #245240;
}

.promo-intro {
    margin-bottom: 14px;
    padding: 22px;
    border: 1px solid #dce8e2;
    background: linear-gradient(135deg, #f7fbf8 0%, #eef6f1 58%, #e7f2ec 100%);
}

.promo-intro h2 {
    margin: 0 0 10px;
    font-size: 24px;
    letter-spacing: -0.03em;
    line-height: 1.32;
}

.promo-intro > p {
    margin: 0;
    color: #4a5a53;
    line-height: 1.7;
}

.promo-points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.promo-points span {
    padding: 7px 10px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #d5e4dc;
    color: #2f4e41;
    font-size: 12px;
    font-weight: 700;
}

.promo-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.create-all-form .form-panel {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 12px;
    padding: 14px;
}

.create-card {
    display: grid;
    align-content: start;
    gap: 14px;
    min-width: 0;
    padding: 16px;
    border: 1px solid #e3e8e5;
    border-radius: 13px;
    background: #fbfcfb;
}

.create-platform-card { grid-column: 1 / -1; }
.create-keyword-card { grid-column: 1 / -1; }
.create-reference-card { grid-column: span 6; }
.create-options-card { grid-column: span 6; }

.create-platform-card {
    grid-template-columns: minmax(210px, 270px) minmax(0, 1fr);
    align-items: center;
}

.create-platform-card .platform-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.keyword-workspace {
    display: grid;
    grid-template-columns: minmax(280px, .8fr) minmax(380px, 1.2fr);
    align-items: start;
    gap: 18px;
}

.keyword-entry {
    display: grid;
    align-content: start;
    gap: 12px;
}

.keyword-workspace .title-analysis-box.hidden {
    display: grid;
    min-height: 128px;
    place-content: center;
    color: #8a938f;
}

.keyword-workspace .title-analysis-box.hidden::after {
    content: "제목을 입력하면 품질 점수와 추천 제목이 표시됩니다.";
    max-width: 250px;
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
}

.keyword-workspace .title-analysis-box.hidden > * {
    display: none;
}

.create-card .section-title {
    align-items: center;
    margin: 0 0 2px;
    padding: 0;
    border: 0;
}

.create-card .section-title > span {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    font-size: 13px;
}

.create-card .section-title h2 {
    margin-bottom: 4px;
    font-size: 18px;
    line-height: 1.2;
}

.create-card .section-title p { line-height: 1.45; }

.create-card .section-title p,
.create-card label,
.create-card input,
.create-card textarea {
    font-size: 14px;
}

.create-card input,
.create-card textarea {
    padding: 11px 13px;
    line-height: 1.55;
}

.create-card .platform-option span {
    min-height: 66px;
    padding: 12px 14px;
}

.create-card .platform-option strong {
    width: 36px;
    height: 36px;
}

.create-card .platform-option b { font-size: 15px; }
.create-card .platform-option small { font-size: 12px; }

.create-card .seo-auto-box {
    padding: 11px 13px;
}

.create-card .seo-auto-box strong { font-size: 15px; }
.create-card .seo-auto-box p { font-size: 13px; }

.keyword-auto-status {
    margin-top: -5px;
    padding: 7px 9px;
    border-radius: 8px;
    background: #edf3f0;
    color: #527060;
    font-size: 12px;
    line-height: 1.45;
}

.input-meta,
.field-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: -6px;
    color: #7c8581;
    font-size: 12px;
}

.field-tools {
    justify-content: flex-start;
    flex-wrap: wrap;
}

.mini-action {
    height: 28px;
    padding: 0 10px;
    border: 1px solid #d6dfda;
    border-radius: 8px;
    background: #fff;
    color: #3f4b46;
    font-size: 12px;
    font-weight: 650;
    cursor: pointer;
}

.mini-action:hover {
    border-color: #7ea593;
    background: #f2f8f5;
}

.mini-action.ghost {
    color: #707976;
    background: #f8fbf9;
}

.title-analysis-box {
    padding: 14px;
    border: 1px solid #dbe4df;
    border-radius: 10px;
    background: #fff;
}

.title-analysis-box > div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.title-analysis-box strong {
    color: #275d4a;
    font-size: 22px;
}

.title-analysis-box b {
    color: #6f7974;
    font-size: 13px;
}

.title-analysis-box p {
    margin: 5px 0 0;
    color: #727a76;
    font-size: 12px;
    line-height: 1.45;
}

.title-analysis-box.score-medium strong { color: #9a6a17; }
.title-analysis-box.score-low strong { color: #a43d3d; }

.title-recommendations {
    margin-top: 10px;
    padding-top: 9px;
    border-top: 1px solid #e6ebe8;
}

.recommendation-label {
    margin: 0 0 7px;
    font-size: 14px;
}

.recommendation-label small {
    color: #8a938f;
    font-weight: 500;
}

.title-recommendations > div {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
}

.title-recommendations button {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    min-height: 42px;
    padding: 10px 11px;
    border: 1px solid #e3e8e5;
    border-radius: 8px;
    background: #fbfcfb;
    color: #38443f;
    text-align: left;
    cursor: pointer;
}

.title-recommendations button:hover {
    border-color: #6e9a87;
    background: #f1f7f4;
}

.title-recommendations button span {
    flex: 1;
    font-size: 13px;
    line-height: 1.45;
    white-space: normal;
}

.title-recommendations button b {
    flex: 0 0 48px;
    padding-top: 1px;
    color: #275d4a;
    font-size: 12px;
    text-align: center;
}

.title-recommendations button.medium b { color: #9a6a17; }
.title-recommendations button.low b { color: #a43d3d; }

.create-submit {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    position: sticky;
    bottom: 12px;
    z-index: 5;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
    background: rgba(24, 42, 35, .94);
    color: #fff;
    box-shadow: 0 12px 30px rgba(24, 42, 35, .18);
    backdrop-filter: blur(10px);
}

.create-submit span {
    color: #c8d5cf;
    font-size: 14px;
}

.create-submit span b { color: #fff; }

.create-submit span em {
    margin-left: 8px;
    color: #9ccfb9;
    font-style: normal;
    font-weight: 600;
}

.submit-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.submit-actions .button {
    min-height: 42px;
    white-space: nowrap;
}

.submit-actions .button.secondary {
    border-color: rgba(255, 255, 255, .28);
    background: rgba(255, 255, 255, .1);
    color: #e8f3ee;
}

.submit-actions .button.secondary:hover {
    background: rgba(255, 255, 255, .2);
}

@media (max-width: 900px) {
    .home-hero {
        grid-template-columns: 1fr;
    }

    .home-feature-grid {
        grid-template-columns: 1fr;
    }

    .create-all-form .form-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .create-platform-card,
    .create-keyword-card { grid-column: 1 / -1; }
    .create-reference-card,
    .create-options-card { grid-column: span 1; }

    .keyword-workspace { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
    .create-all-form .form-panel {
        grid-template-columns: 1fr;
        padding: 12px;
    }

    .create-platform-card,
    .create-keyword-card,
    .create-reference-card,
    .create-options-card { grid-column: 1; }

    .title-recommendations > div { grid-template-columns: 1fr; }
    .create-platform-card .platform-options { grid-template-columns: 1fr; }
    .create-platform-card { grid-template-columns: 1fr; }

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

    .home-flow h2 {
        font-size: 23px;
    }

    .promo-intro {
        padding: 16px;
    }

    .promo-intro h2 {
        font-size: 20px;
    }

    .promo-actions {
        flex-direction: column;
    }

    .submit-actions {
        width: 100%;
        justify-content: space-between;
    }
}
.inline-check {
    display: inline-flex;
    grid-template-columns: none;
    align-items: center;
    gap: 8px;
    width: fit-content;
    color: #4f635b;
    cursor: pointer;
    font-size: 13px;
    font-weight: 750;
    user-select: none;
}

.inline-check input[type="checkbox"] {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin: 0;
    padding: 0;
    border-radius: 4px;
    accent-color: #275d4a;
    box-shadow: none;
    transition: none;
}

.reference-link-check {
    margin-top: -6px;
}

.page-create .main {
    width: calc(100% - 240px);
    max-width: none;
    overflow-x: hidden;
}

.page-create {
    overflow-x: hidden;
}

.page-create .create-all-form,
.page-create .form-panel,
.page-create .create-card,
.page-create .topbar,
.page-create .section-title,
.page-create .platform-options,
.page-create .platform-option,
.page-create .platform-option span,
.page-create .keyword-workspace,
.page-create .keyword-entry,
.page-create .title-analysis-box,
.page-create .create-submit,
.page-create .submit-actions {
    min-width: 0;
    max-width: 100%;
}

.page-create .create-submit,
.page-create .submit-actions {
    flex-wrap: wrap;
}

.page-create .create-card textarea,
.page-create .create-card input,
.page-create .keyword-auto-status,
.page-create .title-recommendations button,
.page-create .create-submit span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.reference-link-check {
    display: flex;
    width: 100%;
    max-width: 100%;
    white-space: normal;
}

.reference-link-check input[type="checkbox"] {
    flex: 0 0 auto;
}

.reference-link-check span {
    min-width: 0;
    overflow-wrap: anywhere;
}

@media (max-width: 900px) {
    .page-create .main {
        width: auto;
        max-width: none;
    }
}
