
:root{font-family:'DM Sans','Noto Sans KR',sans-serif;color:#20251f;background:#f7f8f5;font-synthesis:none;text-rendering:optimizeLegibility;--green:#377a55;--green-dark:#286544;--muted:#818880;--line:#e9ece6;--pale:#f3f6f1}
*{box-sizing:border-box}
body{margin:0;min-width:320px;background:radial-gradient(ellipse at 49% 19%,#fbfcf9 0,#f7f8f5 58%)}
button,input,textarea{font:inherit}
button{cursor:pointer}
.app-shell{max-width:1240px;margin:auto;padding:0 48px}
.topbar{height:76px;border-bottom:1px solid #ebeee8;display:flex;align-items:center;justify-content:space-between}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:#26352a;font-size:15px;font-weight:700;letter-spacing:-.35px}
.brand-mark{width:30px;height:30px;display:grid;place-items:center;border-radius:10px;background:#e7f0e8;color:#397a55;font-size:15px;font-weight:700}
.brand-light{font-weight:500;color:#717970}
.top-note{display:flex;gap:8px;align-items:center;color:#7d857b;font-size:12px}
.status-dot{width:7px;height:7px;border-radius:50%;background:#6da67b}
main{padding:36px 0 56px}
.welcome{text-align:center;margin:0 auto 27px}
.eyebrow{margin:0 0 10px;color:#4d8a63;font-size:12px;font-weight:700;letter-spacing:1px}
h1{margin:0;color:#202a23;font-size:31px;line-height:1.36;letter-spacing:-1.2px;font-weight:700}
.welcome-copy{margin:11px 0 0;color:#788078;font-size:13px;line-height:1.8}
.mobile-break{display:none}
.channel-tabs{display:flex;justify-content:center;align-items:center;gap:9px;margin:0 0 20px}
.channel-tab,.coming-tab{height:39px;padding:0 15px;border-radius:9px;display:inline-flex;align-items:center;gap:7px;font-size:12px;white-space:nowrap}
.channel-tab{border:1px solid #dce8dd;background:#eef4ed;color:#316c49;font-weight:700}
.tab-icon{font-size:16px}
.coming-tab{border:1px solid #eeefec;background:rgba(255,255,255,.52);color:#979d96}
.coming-tab small{font-size:9px;color:#abb0aa;background:#f1f2ef;border-radius:4px;padding:3px 5px}
.workspace{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:stretch}
.panel{background:#fff;border:1px solid #ebeee9;border-radius:15px;box-shadow:0 5px 20px rgba(43,61,44,.035);padding:23px 24px 20px;min-width:0}
.panel-heading{display:flex;justify-content:space-between;align-items:center}
.step-label{display:block;margin-bottom:5px;color:#91a093;font-size:9px;font-weight:700;letter-spacing:1.1px}
h2{margin:0;color:#273029;font-size:18px;letter-spacing:-.5px}
.heading-icon{width:30px;height:30px;border-radius:9px;background:#f1f6f0;color:#6b9875;display:grid;place-items:center;font-size:14px}
.panel-intro{margin:7px 0 20px;color:#919790;font-size:11px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px 12px}
.field{display:flex;flex-direction:column;gap:7px;min-width:0;color:#414a42;font-size:11px;font-weight:600}
.field b{color:#68a276;font-size:10px}
.field-wide{grid-column:1/-1}
.field input,.field textarea,.editable{width:100%;border:1px solid #e8ebe6;border-radius:8px;background:#fff;color:#303a32;outline:none;transition:border-color .16s,box-shadow .16s}
.field input{height:38px;padding:0 11px;font-size:11px}
.field textarea{min-height:67px;resize:vertical;padding:10px 11px;font-size:11px;line-height:1.6}
.field input::placeholder,.field textarea::placeholder{color:#b1b6b0}
.field input:focus,.field textarea:focus,.editable:focus{border-color:#91b99a;box-shadow:0 0 0 3px #edf5ee}
.form-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:17px}
.privacy-note{margin:0;color:#949b93;font-size:10px;white-space:nowrap}
.privacy-note span{color:#79a484}
.primary-button{min-height:41px;border:0;border-radius:9px;padding:0 16px;background:var(--green);color:#fff;display:flex;align-items:center;gap:8px;font-size:11px;font-weight:700;box-shadow:0 3px 8px #377a5520;transition:background .15s,transform .15s}
.primary-button:hover{background:var(--green-dark);transform:translateY(-1px)}
.button-arrow{margin-left:5px;font-size:15px}
.draft-badge{display:inline-flex;align-items:center;gap:6px;border:1px solid #e9eee8;border-radius:20px;padding:6px 9px;color:#858d85;font-size:9px}
.draft-badge span{width:6px;height:6px;border-radius:50%;background:#8eb493}
.result-panel{display:flex;flex-direction:column;min-height:560px}
.result-heading{min-height:37px}
.empty-state{flex:1;min-height:330px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center}
.empty-illustration{width:68px;height:61px;position:relative;display:grid;place-items:center;margin-bottom:14px;border-radius:20px;background:#f3f7f1;color:#9aba9d}
.paper{font-size:33px;line-height:1;transform:rotate(-5deg)}
.sparkle{position:absolute;right:7px;top:6px;color:#6eaa79;font-size:16px}
.empty-state strong{font-size:12px;color:#4b564d}
.empty-state p{margin:8px 0 0;color:#9aa099;font-size:11px;line-height:1.7}
.result-content{flex:1;overflow:auto;padding-top:1px}
.result-label{display:block;margin:2px 0 7px;color:#535d54;font-size:10px;font-weight:700}
.result-label span{margin-left:4px;padding:2px 5px;border-radius:4px;background:#eef4ed;color:#639071;font-size:9px}
.section-label{margin-top:14px}
.editable{display:block;resize:vertical;padding:10px 11px;font-size:11px;line-height:1.75}
.title-editor{background:#fbfcfa;min-height:84px}
.body-editor{min-height:210px}
.result-actions{border-top:1px solid #eff1ed;padding-top:14px;margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:9px}
.save-hint{color:#9aa098;font-size:9px;line-height:1.5}
.action-buttons{display:flex;gap:7px;flex-shrink:0}
.secondary-button{height:34px;border:1px solid #e5e9e3;border-radius:8px;background:#fff;color:#657067;padding:0 10px;font-size:10px;font-weight:600}
.secondary-button span{margin-right:3px;color:#738778;font-size:13px}
.save-button{border-color:#d9e7db;background:#f1f6f0;color:#36734e}
.secondary-button:disabled{cursor:not-allowed;opacity:.48}
footer{height:56px;border-top:1px solid #ebeee8;display:flex;justify-content:space-between;align-items:center;color:#929990;font-size:10px}
footer b{padding:0 4px;color:#b6beb5}
.toast{position:fixed;left:50%;bottom:26px;transform:translate(-50%,10px);z-index:5;margin:0;padding:10px 16px;border-radius:9px;background:#26392c;color:#fff;font-size:12px;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}
.toast.show{opacity:1;transform:translate(-50%,0)}
[hidden]{display:none!important}
.input-intro{display:flex;align-items:center;justify-content:space-between;gap:8px}
.example-button{background:none;border:0;color:#578363;font-size:10px;padding:0 0 12px;white-space:nowrap;text-decoration:underline;text-underline-offset:3px}
.workspace{align-items:start}
.input-panel{position:sticky;top:20px}
.result-content{overflow:visible}
.generation-note{margin:12px 0;padding:10px 12px;border-radius:8px;background:#f5f7f2;color:#778273;font-size:10px;line-height:1.7}
.editor-shell{border:1px solid #e1e7dd;border-radius:9px;overflow:hidden}
.editor-shell:focus-within{border-color:#91b99a;box-shadow:0 0 0 3px #edf5ee}
.editor-toolbar{display:flex;flex-wrap:wrap;gap:4px;align-items:center;padding:8px;background:#f6f8f3;border-bottom:1px solid #e5eae0}
.editor-toolbar button,.editor-toolbar select{height:28px;min-width:28px;border:1px solid #e3e8df;background:#fff;border-radius:5px;padding:0 7px;color:#586452;font-size:11px}
.editor-toolbar button:hover{background:#edf4e9;border-color:#acc6ad}
.editor-toolbar button[aria-pressed=true]{background:#e1eddf;border-color:#99b69a;color:#286544}
.editor-toolbar button:disabled{opacity:.35;cursor:default}
.toolbar-divider{height:17px;width:1px;background:#dfe5da;margin:0 2px}
.color-control{display:flex;align-items:center;gap:3px;color:#6c7868;font-size:10px}
.rich-editor{min-height:400px;max-height:720px;overflow:auto;outline:none;padding:16px;color:#303a32;font-size:16px;line-height:1.9;overflow-wrap:anywhere;caret-color:#377a55}
.rich-editor h2:first-child{margin-top:0!important}
.rich-editor ul li,.rich-editor ol li{margin:6px 0}
.rich-editor table{table-layout:fixed}
.editor-help{font-size:10px;color:#909a8b;margin:7px 0 16px}
.result-actions{margin-top:17px;flex-wrap:wrap}
.action-buttons{flex-wrap:wrap}
.save-format{height:34px;border:1px solid #e5e9e3;border-radius:8px;background:white;color:#657067;font-size:10px;padding:0 5px;max-width:145px}
.replace-dialog{border:1px solid #e1e9dc;border-radius:14px;max-width:360px;padding:24px;box-shadow:0 15px 70px #26392c30;color:#303a32}
.replace-dialog::backdrop{background:#26392c60}
.replace-dialog p{font-size:13px;line-height:1.8;color:#778273}
.replace-dialog>div{display:flex;justify-content:flex-end;gap:8px;align-items:center;margin-top:20px}
.replace-dialog .primary-button{min-height:34px}
.consultation-options{border:1px solid #e7ece3;border-radius:8px;padding:10px 11px;background:#fbfcfa}
.consultation-options summary{cursor:pointer;color:#596b58;font-size:11px;font-weight:600}
.consultation-options summary span{float:right;color:#929c8f;font-size:9px;font-weight:400}
.consultation-options p{font-size:10px;line-height:1.7;color:#8a9585;margin:9px 0}
.context-options{display:grid;grid-template-columns:1fr 1fr;gap:9px 7px;padding:4px 0}
.context-options label{display:flex;align-items:center;gap:6px;color:#64725f;font-size:11px;cursor:pointer}
.context-options input{accent-color:#377a55;width:13px;height:13px;margin:0}
.knowledge-review{border:1px solid #e5eade;border-radius:8px;padding:10px 12px;margin:12px 0;background:#fcfdfb}
.knowledge-review summary{font-size:10px;color:#5b7356;cursor:pointer;font-weight:600;line-height:1.8}
.knowledge-review p,.knowledge-review li{font-size:10px;line-height:1.9;color:#828e7c;overflow-wrap:anywhere}
.knowledge-review ul{padding-left:17px}
.fact-edit-note{font-size:10px;line-height:1.7;color:#968254;margin:8px 0}
.app-navigation{display:flex;justify-content:center;gap:6px;margin-bottom:18px}
.app-navigation button{background:none;border:0;border-radius:8px;padding:8px 16px;color:#8a9585;font-size:12px}
.app-navigation button.active{background:#eaf1e6;color:#377a55;font-weight:700}
.example-controls{display:flex;gap:6px;align-items:center;padding-bottom:12px;max-width:65%}
.example-controls select{max-width:185px;width:100%;background:#f8faf5;border:1px solid #e5ebdf;border-radius:6px;font-size:9px;color:#6d8063;padding:5px}
.example-controls .example-button{padding:0;text-decoration:none}
.learning-heading{margin:20px 0}.learning-heading h2{font-size:23px}.learning-heading p:last-child{font-size:12px;color:#86917f;line-height:1.8}
.learning-layout{display:grid;grid-template-columns:340px 1fr;gap:18px;align-items:start}
.learning-basic{position:sticky;top:20px}.learning-sections{display:flex;flex-direction:column;gap:16px;min-width:0}
.learning-sections h2,.learning-basic h2{font-size:17px}
.profile-controls{display:flex;gap:8px;margin:17px 0}.profile-controls select{width:100%;min-width:0;border:1px solid #e1e8db;border-radius:7px;font-size:11px;color:#66755d;padding:8px}
.profile-controls .secondary-button{flex-shrink:0;white-space:nowrap}
.learning-save{margin-top:19px;width:100%;justify-content:center}.profile-export{margin-top:15px}
.learning-help{font-size:10px;line-height:1.8;color:#8c9785;margin:10px 0}
.learning-sections .field select{width:100%;height:36px;min-width:0;border:1px solid #e3e9de;border-radius:7px;background:white;color:#65775c;font-size:11px;padding:7px}
.learning-sections .field select[multiple]{height:66px}
.learning-sections .field small{font-size:9px;color:#96a08f;font-weight:400}
.inline-form{display:flex;gap:8px}.inline-form input,.inline-form select{min-width:0;border:1px solid #e3e9de;border-radius:7px;background:white;color:#64765b;font-size:11px;padding:8px}.inline-form input{flex:1}
.offering-list{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.offering-list span,.asset-kinds span{border-radius:6px;background:#f2f6ed;padding:7px 9px;color:#718365;font-size:10px}.offering-list small{color:#a0ad94;font-size:9px}
.knowledge-record-list{margin-top:15px}.knowledge-record{padding:12px 0;border-top:1px solid #edf0e8;display:flex;justify-content:space-between;gap:10px}.knowledge-record strong{font-size:11px;color:#56694c}.knowledge-record span{font-size:9px;display:block;color:#8d9b82;margin-top:5px}.knowledge-record p{font-size:11px;color:#738366;line-height:1.7;margin:7px 0;white-space:pre-wrap;overflow-wrap:anywhere}.knowledge-record button{background:none;border:0;color:#a5af9d;font-size:10px;align-self:flex-start;cursor:pointer}
.planned-badge{font-size:9px;vertical-align:middle;background:#f0f3eb;color:#92a187;padding:4px 7px;border-radius:5px;margin-left:4px;font-weight:400}.asset-kinds{display:flex;flex-wrap:wrap;gap:7px}
@media(max-width:900px){.learning-layout{grid-template-columns:1fr}.learning-basic{position:static}}
@media(max-width:560px){.example-controls{max-width:58%}.example-controls select{max-width:130px}.learning-heading h2{font-size:20px}.learning-layout{gap:12px}.learning-sections{gap:12px}.inline-form{flex-wrap:wrap}.inline-form input{min-width:150px}.profile-controls .secondary-button{flex:0 0 auto}}
@media(max-width:850px){.input-panel{position:static}.rich-editor{max-height:650px}}
@media(max-width:560px){.rich-editor{padding:13px;font-size:15px;max-height:560px}.rich-editor table th,.rich-editor table td{font-size:12px!important;padding:7px 5px!important}.action-buttons{width:100%;display:grid;grid-template-columns:1fr 1fr}.save-format{grid-column:1/-1;grid-row:1;max-width:none;width:100%}.save-hint{font-size:10px}}
@media(min-width:1200px){.workspace{gap:18px}.panel{padding:24px 27px 21px}}
@media(max-width:850px){.app-shell{padding:0 24px}.workspace{grid-template-columns:1fr}.result-panel{min-height:440px}.empty-state{min-height:260px}}
@media(max-width:560px){.app-shell{padding:0 16px}.topbar{height:62px}.top-note{font-size:10px}.brand{font-size:13px}.brand-mark{width:27px;height:27px}main{padding:30px 0 36px}.welcome{margin-bottom:22px}h1{font-size:25px}.mobile-break{display:block}.desktop-break{display:none}.welcome-copy{font-size:11px}.channel-tabs{justify-content:flex-start;overflow-x:auto;padding-bottom:4px;scrollbar-width:none}.channel-tabs::-webkit-scrollbar{display:none}.channel-tab,.coming-tab{height:36px;padding:0 11px;font-size:10px}.panel{padding:19px 17px 16px;border-radius:13px}.workspace{gap:12px}.form-grid{gap:12px 9px}.field input{height:39px}.form-bottom{align-items:flex-start;flex-direction:column}.primary-button{width:100%;justify-content:center}.privacy-note{font-size:9px}.result-panel{min-height:420px}.result-actions{align-items:flex-start;flex-direction:column}.action-buttons{width:100%}.secondary-button{flex:1}footer{height:auto;min-height:56px;gap:10px;font-size:9px}footer span:last-child{text-align:right}}

#generation-mode,#final-title{width:100%;padding:12px;border:1px solid #dce5dd;border-radius:10px;font:inherit} #ai-status{font-size:13px;color:#626b64} #ai-error{padding:14px;background:#fff2ee;color:#8b3524;border-radius:10px;overflow-wrap:anywhere} #photo-notes{font-size:14px;line-height:1.8}
#case-memo-field[hidden]{display:none!important} #case-memo{min-height:200px;resize:vertical;line-height:1.8} #case-memo-field small{color:#626b64;font-size:12px;line-height:1.6} #content-type{font:inherit;padding:12px;border:1px solid #dce5dd;border-radius:10px;background:#fff;width:100%;color:#303a32}
.editorial-fields{margin-top:14px}.editorial-help{font-size:12px;color:#626b64;line-height:1.7;margin:10px 0}.editorial-check{display:flex;align-items:center;gap:8px;margin:12px 0;font-size:13px}.editorial-check input{width:auto}.editorial-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.reference-card{background:#fafbf8;border:1px solid #dfe6dd;border-radius:12px;padding:12px;margin-top:12px;display:grid;gap:10px}.reference-card textarea{min-height:110px}#seo-guide-content p{font-size:13px;line-height:1.8;overflow-wrap:anywhere;margin:8px 0}#search-preview{font-size:12px;line-height:1.7;color:#377a55}

/* Result-only human review guidance; no generated content or validation state changes. */
.result-panel .ai-draft-notice{margin:0 0 18px;padding:14px 16px;border:1px solid #e9dfc8;border-radius:10px;background:#fffbf2;color:#655943;font-size:13px;line-height:1.7;overflow-wrap:anywhere}
.result-panel .ai-draft-notice strong{font-size:14px;font-weight:700}
.result-panel .ai-draft-notice p{margin:7px 0 0}
.result-panel .draft-review-confirmation{margin:18px 0;color:#515d68;font-size:13px;line-height:1.7}
.result-panel .draft-review-confirmation label{display:flex;align-items:center;min-height:44px;gap:9px;font:inherit;color:inherit;cursor:pointer}
.result-panel #draft-review-confirm{flex:0 0 18px;width:18px;height:18px;min-height:18px;margin:0;padding:0;accent-color:#626e7a}
.result-panel #draft-review-confirm:focus-visible{outline:2px solid #626e7a;outline-offset:3px}
.result-panel #draft-review-hint{margin:7px 0 0 27px;font-size:12px;color:#6d747a;overflow-wrap:anywhere}
