:root{--paper:#f8f8f4;--surface:#fff;--ink:#232d2b;--muted:#727b76;--line:#dfe4de;--accent:#245c52;--soft:#ecf2ed;--warm:#a66d28;--warm-soft:#f9f0e0;--error:#a1392f;--radius:10px;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Noto Sans KR","Malgun Gothic",sans-serif;color:var(--ink);background:var(--paper);font-size:15px;line-height:1.45}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:3px}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button{border:0;background:none;color:inherit}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.4;word-break:keep-all}h1{font-size:30px;letter-spacing:-1.1px;font-weight:700}h2{font-size:19px;letter-spacing:-.4px}h3{font-size:15px}p{word-break:keep-all}small{font-size:12px}label{font-size:14px}input,select,textarea{border:1px solid var(--line);border-radius:7px;color:var(--ink);background:#fff}input,select{min-height:43px;padding:9px 12px}textarea{padding:15px;resize:vertical;line-height:1.5}textarea::placeholder,input::placeholder{color:#929a95}input:focus,textarea:focus,select:focus{border-color:var(--accent);outline:2px solid #245c5217}input[type=checkbox]{width:16px;min-height:16px;height:16px;accent-color:var(--accent);margin:0}button:focus-visible,a:focus-visible{outline:2px solid var(--accent)}[hidden]{display:none!important}.muted{color:var(--muted);font-size:13px}.eyebrow{font-size:12px;letter-spacing:.07em;font-weight:600;color:var(--accent);margin-bottom:10px}.primary,.secondary{display:inline-flex;justify-content:center;align-items:center;gap:18px;min-height:44px;padding:11px 18px;border-radius:7px;font-size:14px;font-weight:600;white-space:nowrap}.primary{background:var(--accent);color:#fff;border:1px solid var(--accent)}.primary:hover{background:#194b42}.secondary{border:1px solid #cbd5cc;background:var(--surface)}.secondary:hover{background:var(--soft)}.text-button{color:var(--muted);font-size:13px;padding:6px 4px}.text-button:hover{color:var(--accent)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;left:16px;top:-80px;z-index:99;background:#fff;padding:12px}.skip-link:focus{top:10px}.boot{min-height:100vh;display:grid;place-items:center;color:var(--muted)}.error-text{color:var(--error);font-size:13px;min-height:25px;margin-top:10px}.notice{padding:18px;border:1px solid var(--line);border-radius:8px;font-size:14px;background:var(--soft);margin-top:18px}.auth-screen{min-height:100dvh;display:grid;place-items:center;padding:30px}.auth-inner{width:100%;max-width:440px}.auth-inner h1{font-size:36px;letter-spacing:-1.8px}.title-dot{color:var(--accent)}.auth-lead{color:var(--muted);margin:20px 0 38px;font-size:16px;line-height:1.5}.auth-inner label{display:block;margin-bottom:8px;font-weight:600}.auth-inner input{width:100%;min-height:50px;font-size:16px}.auth-inner .primary{width:100%;margin-top:14px;justify-content:space-between;min-height:49px}.auth-foot{font-size:12px;color:var(--muted);border-top:1px solid var(--line);padding-top:24px;margin-top:30px}.app{display:flex;min-height:100dvh}.sidebar{width:222px;position:fixed;inset:0 auto 0 0;padding:34px 21px 25px;background:#f0f2ec;border-right:1px solid var(--line);display:flex;flex-direction:column}.brand{display:flex;gap:12px;align-items:center;font-weight:700;font-size:17px;line-height:1.4}.brand-mark{font-size:12px;font-weight:700;color:white;background:var(--accent);width:39px;height:43px;display:grid;place-items:center;border-radius:4px}.brand-sub{display:block;color:var(--muted);font-size:11px;font-weight:400;letter-spacing:.05em;margin-top:3px}.main-nav{margin-top:49px;display:grid;gap:8px}.nav-item{display:flex;align-items:center;text-align:left;gap:10px;border-radius:6px;font-size:14px;padding:12px 10px;min-height:46px;color:#5b6862}.nav-item>span:first-child{font-size:19px;line-height:1}.nav-item.active{color:var(--accent);background:#e0e9df;font-weight:650}.nav-count{font-size:11px;color:var(--muted);margin-left:auto}.sidebar-bottom{margin-top:auto;border-top:1px solid #d9e0d5;padding-top:20px}.sidebar-bottom p{font-size:12px;line-height:1.5;color:var(--muted);margin-bottom:15px}.workspace{margin-left:222px;flex:1;min-width:0}.topbar{height:69px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 42px;font-size:13px;color:#5a6861}.topbar-right{display:flex;align-items:center;gap:17px}.connection{font-size:11px;color:var(--accent)}.connection::before{content:"";display:inline-block;width:5px;height:5px;background:currentColor;border-radius:50%;margin-right:6px;vertical-align:middle}.connection.offline{color:var(--warm)}main{max-width:1460px;margin:auto;min-height:calc(100dvh - 130px);outline:none}.view{padding:38px 42px 32px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:30px}.page-heading .muted{margin-top:10px;font-size:14px}.page-heading .primary{margin-top:20px}.stats{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.stat{text-align:left;padding:22px 25px;display:flex;flex-direction:column;align-items:flex-start;border-right:1px solid var(--line)}.stat:last-child{border:0}.stat>span{font-size:13px;color:#627168;display:flex;align-items:center;gap:7px}.stat strong{font-size:35px;font-weight:600;letter-spacing:-1px;margin:7px 0 3px;line-height:1.4;font-variant-numeric:tabular-nums}.stat small{color:var(--muted)}.stat:hover{background:#fafbf8}.status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#9ca79f;flex:none}.status-dot.writing{background:#b98943}.status-dot.done{background:var(--accent)}progress{display:block;appearance:none;-webkit-appearance:none;width:100%;height:6px;border:0;border-radius:10px;overflow:hidden;background:#e4e9e1}progress::-webkit-progress-bar{background:#e4e9e1;border-radius:10px}progress::-webkit-progress-value{background:var(--accent);border-radius:10px}progress::-moz-progress-bar{background:var(--accent);border-radius:10px}.overall-progress{margin:22px 0 32px}.overall-progress>div{display:flex;justify-content:space-between;font-size:12px;margin-bottom:9px}.overall-progress strong{font-weight:600;color:var(--accent)}.overall-progress .muted{margin-top:9px;font-size:12px}.dashboard-columns{display:grid;grid-template-columns: .9fr 1.35fr;gap:32px;margin-bottom:38px}.start-panel{background:var(--soft);border:1px solid #d9e3d9;border-radius:var(--radius);padding:24px 25px}.start-panel .eyebrow{font-size:11px}.start-panel h2{font-size:21px;margin-bottom:10px}.start-panel>p:not(.eyebrow){font-size:13px;color:#68776c;line-height:1.5}.priority-progress{margin:20px 0}.priority-progress span{font-size:11px;color:var(--accent)}.priority-progress progress{margin-top:7px;height:4px}.start-panel .secondary{width:100%;justify-content:space-between;font-size:13px;background:#fff9}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:17px}.recent-panel{padding:7px 0}.recent-item{display:block;width:100%;text-align:left;border-bottom:1px solid var(--line);padding:11px 0}.recent-item:hover{color:var(--accent)}.recent-item .row-meta{display:flex;gap:10px;font-size:11px;color:var(--muted);margin-bottom:4px}.recent-item .row-meta time{margin-left:auto}.recent-item p{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.empty-state{padding:32px 10px;color:var(--muted);font-size:13px;text-align:center;line-height:1.5}.empty-state strong{display:block;color:var(--ink);font-weight:500;margin-bottom:5px}.category-list{border-top:1px solid var(--line)}.category-row{display:grid;width:100%;grid-template-columns:minmax(150px,1fr) 140px 78px 24px;align-items:center;gap:18px;padding:14px 4px;border-bottom:1px solid var(--line);text-align:left;font-size:13px}.category-row:hover{background:var(--soft)}.category-row .category-name{display:flex;align-items:baseline;gap:12px}.category-number{color:var(--muted);font-size:11px;font-variant-numeric:tabular-nums}.category-ratio{font-size:12px;color:var(--muted);text-align:right;font-variant-numeric:tabular-nums}.category-arrow{text-align:right;color:var(--muted)}.workspace-footer{padding:16px 42px 23px;font-size:11px;color:#8c968e}.compact{margin-bottom:23px}.compact h1{font-size:27px}.compact .eyebrow{margin-bottom:5px}.filters{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:20px}.filters>label{min-width:0}.filters .search-field{flex:1 1 210px}.search-field input{width:100%;font-size:13px}.filters select{font-size:12px;max-width:210px;min-height:41px}.check-label{display:flex;align-items:center;gap:7px;font-size:12px;white-space:nowrap;margin-left:2px}.writing-layout{display:grid;grid-template-columns:minmax(260px,.82fr) minmax(0,1.35fr);gap:20px;align-items:start}.question-list-panel{border:1px solid var(--line);border-radius:9px;background:#fff;overflow:hidden}.list-heading{display:flex;align-items:center;justify-content:space-between;padding:12px 15px;border-bottom:1px solid var(--line);font-size:12px;color:var(--muted)}.list-heading select{min-height:30px;padding:3px 8px;border:0;font-size:11px;background:#f5f6f2}.question-list{max-height:calc(100dvh - 330px);min-height:350px;overflow:auto;scrollbar-width:thin}.question-item{display:block;width:100%;padding:15px 17px;text-align:left;border-bottom:1px solid #edf0eb;position:relative}.question-item.active{background:var(--soft)}.question-item:hover{background:#f6f9f3}.question-item .question-id{font-size:10px;color:var(--muted);font-variant-numeric:tabular-nums}.question-item .question-status{font-size:10px;display:flex;align-items:center;gap:5px}.question-row-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:6px}.question-item h3{font-size:13px;font-weight:550;line-height:1.45;word-break:normal}.question-item .question-answer-preview{font-size:11px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:7px}.priority-text{color:var(--accent);font-size:10px;margin-left:9px}.load-more{width:100%;padding:12px;font-size:12px;color:var(--accent);border-top:1px solid var(--line);background:#f8faf5}.editor-panel{border:1px solid var(--line);border-radius:9px;background:#fff;padding:27px;min-height:560px;scroll-margin-top:20px}.editor-empty{display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:480px;text-align:center}.editor-empty>span{font-size:45px;color:#adb9ad;line-height:1;margin-bottom:23px}.editor-empty h2{font-size:17px;font-weight:500;margin-bottom:11px}.editor-empty p{font-size:13px;color:var(--muted)}.editor-meta{display:flex;align-items:center;gap:10px;font-size:10px;color:var(--muted);margin-bottom:15px}.editor-meta span:last-child:not(:first-child){color:var(--accent)}.editor-category{font-size:11px;color:var(--muted);margin-bottom:8px}.editor-panel h2{font-size:22px;line-height:1.45;letter-spacing:-.6px;margin-bottom:15px}.question-guidance{margin-bottom:18px}.question-guidance p{font-size:12px;color:var(--muted);line-height:1.5}.question-guidance .condition{color:#94662f;margin-top:7px}.option-buttons{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 16px}.option-buttons button{border:1px solid var(--line);border-radius:5px;padding:5px 9px;font-size:11px;background:#f8f9f5}.option-buttons button:hover{background:var(--soft);border-color:var(--accent)}.answer-label{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;gap:9px}.answer-label label{font-size:12px;font-weight:600}.save-status{font-size:10px;color:var(--accent)}.save-status.unsaved{color:var(--warm)}.save-status.failed{color:var(--error)}#answer{display:block;width:100%;min-height:240px;max-height:65vh;font-size:15px;background:#fdfefa}.answer-count{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);margin-top:7px;gap:10px}.notes-details{margin-top:22px;border-top:1px solid var(--line);padding-top:13px}.notes-details summary{cursor:pointer;color:var(--muted);font-size:12px}.notes-details label{display:block;font-size:11px;margin:13px 0 5px}.notes-details label .muted{font-size:10px;margin-left:7px}.notes-details input,.notes-details textarea{width:100%;font-size:13px}.notes-details textarea{min-height:95px}.editor-controls{display:flex;align-items:end;gap:8px;flex-wrap:wrap;margin-top:25px}.editor-status-label{display:flex;flex-direction:column;gap:4px;font-size:10px;color:var(--muted);margin-right:auto}.editor-status-label select{font-size:12px;min-height:42px;min-width:100px;padding:8px 10px}.editor-controls .primary,.editor-controls .secondary{min-height:42px;font-size:12px;padding:10px 13px;gap:8px}.editor-footer{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:15px;margin-top:20px}.editor-footer .text-button{font-size:11px}.editor-back{display:none}.export-overview{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:23px 0;max-width:950px}.export-overview strong{font-size:17px;font-weight:600}.export-overview p{font-size:13px;margin-top:10px}.export-list{max-width:950px;margin-top:19px}.export-list article{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:28px 0;border-bottom:1px solid var(--line)}.export-list h2{font-size:18px}.export-list h2 span{font-weight:400;font-size:12px;color:var(--muted);margin-left:8px}.export-list p{font-size:13px;color:var(--muted);margin-top:8px}.export-footnote{font-size:12px;color:var(--muted);margin-top:22px}.mobile-nav,.mobile-only,.mobile-logout{display:none}#toast{position:fixed;z-index:100;left:50%;bottom:28px;transform:translateX(-50%);padding:12px 20px;background:#243f36;color:#fff;border-radius:8px;font-size:13px;max-width:min(90vw,600px);box-shadow:0 3px 15px #0001;word-break:keep-all}dialog{border:1px solid var(--line);border-radius:12px;padding:27px;max-width:800px;width:calc(100% - 35px);max-height:85dvh;overflow:auto;color:var(--ink);background:var(--paper)}dialog::backdrop{background:#172c2559}dialog h2{font-size:19px;margin-bottom:12px}dialog p{font-size:13px;margin-bottom:12px}.dialog-heading{display:flex;justify-content:space-between;gap:20px;align-items:start}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:22px;flex-wrap:wrap}.comparison{display:grid;grid-template-columns:1fr 1fr;gap:17px}.comparison h3{font-size:12px;margin-bottom:9px}dialog pre{background:#fff;border:1px solid var(--line);padding:14px;font:12px/1.8 inherit;white-space:pre-wrap;overflow-wrap:anywhere;max-height:260px;overflow:auto}.history-item{border-top:1px solid var(--line);padding:18px 0}.history-item>div:first-child{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:12px}.history-item pre{max-height:180px}.history-item .secondary{font-size:11px;padding:6px 11px;min-height:33px}
@media(min-width:1600px){.view{padding-top:46px}.question-list{max-height:calc(100dvh - 350px)}}
@media(max-width:1200px){.sidebar{width:195px;padding:30px 15px}.workspace{margin-left:195px}.topbar{padding:0 28px}.view{padding:30px 28px}.stat{padding:20px}.stat small{font-size:11px}.dashboard-columns{gap:22px}.writing-layout{grid-template-columns:minmax(230px,.8fr) minmax(0,1.3fr);gap:15px}.editor-panel{padding:23px}.filters .search-field{flex-basis:100%}.workspace-footer{padding-left:28px}.category-row{grid-template-columns:minmax(140px,1fr) 110px 72px 16px;gap:12px}.editor-controls .primary{width:100%;justify-content:center}.editor-status-label{flex:1}.editor-controls .secondary{flex:1}}
@media(max-width:850px){.sidebar{width:170px;padding:26px 12px}.workspace{margin-left:170px}.brand{font-size:15px;gap:9px}.brand-mark{width:32px;height:38px;font-size:10px}.nav-item{font-size:12px;gap:7px;padding:11px 8px}.nav-count{font-size:9px}.topbar{padding:0 23px}.view{padding:28px 23px}.page-heading{gap:16px}h1{font-size:25px}.page-heading .primary{font-size:12px;padding:10px 13px;gap:10px}.stat{padding:17px 12px}.stat>span{font-size:11px}.stat strong{font-size:29px}.stat small{font-size:9px}.dashboard-columns{grid-template-columns:1fr;gap:26px}.start-panel{padding:23px}.start-panel>p br{display:none}.start-panel .secondary{width:auto}.priority-progress{max-width:300px}.recent-item{padding:13px 0}.category-row{grid-template-columns:minmax(140px,1fr) 80px 70px 14px;gap:9px;font-size:12px}.writing-layout{grid-template-columns:minmax(180px,.8fr) minmax(0,1fr);gap:11px}.editor-panel{padding:17px}.editor-panel h2{font-size:19px}.editor-meta{gap:7px;font-size:9px}.question-item{padding:13px}.question-item h3{font-size:12px}.editor-footer .text-button{font-size:10px}.filters select{max-width:180px}.export-list article{align-items:start;flex-direction:column;gap:15px}.export-list .secondary{align-self:flex-end}}
@media(max-width:680px){:root{font-size:15px}.sidebar{display:none}.workspace{margin-left:0}.topbar{height:57px;padding:0 20px;font-size:12px}.topbar-right{gap:12px}.topbar .text-button{font-size:11px}.connection{font-size:10px}.mobile-logout{display:block}main{min-height:calc(100dvh - 150px)}.view{padding:27px 20px}.page-heading{align-items:start;flex-direction:column;gap:15px;margin-bottom:24px}.page-heading h1{font-size:27px;line-height:1.5}.page-heading .primary{margin-top:0;min-height:43px;font-size:13px}.page-heading .muted{font-size:13px;margin-top:8px}.eyebrow{font-size:11px;margin-bottom:7px}.stats{grid-template-columns:repeat(2,1fr)}.stat{padding:18px 20px;border-bottom:1px solid var(--line)}.stat:nth-child(2){border-right:0}.stat:nth-child(3){border-bottom:0}.stat:last-child{border-bottom:0}.stat strong{font-size:31px}.stat>span{font-size:12px}.stat small{font-size:11px}.overall-progress{margin:21px 0 28px}.dashboard-columns{margin-bottom:28px;gap:25px}.start-panel{padding:22px}.start-panel .secondary{width:100%}.start-panel h2{font-size:21px}.start-panel>p br{display:block}.priority-progress{max-width:none}.section-heading h2{font-size:17px}.section-heading .muted{font-size:11px}.category-row{grid-template-columns:minmax(150px,1fr) 60px 15px;padding:15px 0;gap:9px;font-size:12px}.category-row progress{display:none}.category-row .category-name{gap:9px}.category-number{font-size:10px}.category-ratio{font-size:11px}.recent-item .row-meta{font-size:10px}.recent-item p{font-size:12px}.workspace-footer{padding:10px 20px 92px;font-size:10px}.mobile-nav{display:flex;position:fixed;z-index:25;bottom:0;left:0;right:0;background:#fdfefb;border-top:1px solid var(--line);padding:7px 8px max(9px,env(safe-area-inset-bottom));gap:7px}.mobile-nav button{flex:1;padding:10px 4px;font-size:12px;color:var(--muted);border-radius:6px;min-height:42px}.mobile-nav button.active{background:var(--soft);color:var(--accent);font-weight:650}.mobile-only{display:block}#toast{bottom:91px;font-size:12px;padding:11px 15px}.compact{gap:12px;flex-direction:row;align-items:center}.compact .eyebrow{font-size:10px}.compact h1{font-size:24px}.compact .secondary{font-size:11px;gap:5px;padding:8px 10px;min-height:37px}.filters{gap:8px}.filters .search-field{flex:1 1 100%}.search-field input{font-size:16px}.filters>label:not(.search-field):not(.check-label){flex:1 1 42%}.filters select{width:100%;max-width:none;font-size:12px}.filters>label:nth-child(4){flex-basis:30%!important}.check-label{font-size:11px}.filters .text-button{font-size:11px;margin-left:auto}.writing-layout{display:block}.question-list{max-height:none;min-height:200px}.question-item{padding:16px 17px}.question-item h3{font-size:14px}.question-item .question-id,.question-item .question-status{font-size:11px}.question-answer-preview{font-size:12px!important}.editor-panel{display:none;border:0;padding:0;background:transparent;min-height:0}.questions-view.editing .question-list-panel,.questions-view.editing .filters,.questions-view.editing>.page-heading{display:none}.questions-view.editing .editor-panel{display:block}.editor-panel h2{font-size:23px;line-height:1.45;margin-bottom:18px}.editor-meta{font-size:11px;gap:10px;margin-top:20px}.editor-category{font-size:12px}.question-guidance p{font-size:13px}.editor-back{display:block;font-size:13px;padding:0}.option-buttons button{font-size:12px;min-height:36px}.answer-label label{font-size:13px}.save-status{font-size:11px}#answer{font-size:16px;min-height:280px;background:#fff;padding:15px;max-height:none}.answer-count{font-size:11px}.notes-details summary{font-size:13px}.notes-details label{font-size:12px}.notes-details input,.notes-details textarea{font-size:16px}.editor-controls{gap:10px;margin-top:20px}.editor-status-label{font-size:11px}.editor-status-label select{font-size:14px;min-height:45px}.editor-controls .secondary{font-size:13px;min-height:45px}.editor-controls .primary{font-size:14px;min-height:47px;width:100%}.editor-footer .text-button{font-size:12px}.export-overview{padding:20px 0}.export-list article{padding:25px 0}.export-list .secondary{align-self:stretch;justify-content:space-between}.export-list p{font-size:12px}.exports-view .page-heading .muted{max-width:290px}.export-footnote{font-size:11px}.comparison{grid-template-columns:1fr}dialog{padding:21px;width:calc(100% - 28px)}dialog h2{font-size:17px}.dialog-actions{flex-direction:column}.dialog-actions button{width:100%}.auth-inner h1{font-size:33px}.auth-screen{padding:25px}}
@media(prefers-reduced-motion:no-preference){button{transition:background-color .13s ease,color .13s ease}}

/* 집필 화면: 문장 간격은 좁히고 휴대폰 입력 글자는 16px 유지 */
.question-guidance p{margin-top:4px}.editor-panel h2{margin-bottom:12px}.answer-count{margin-top:5px}.question-item{padding-top:12px;padding-bottom:12px}.notes-details{margin-top:14px}.editor-controls{margin-top:16px}.page-heading{margin-bottom:24px}.auth-lead{margin:16px 0 26px}
@media(max-width:680px){.view{padding:22px 18px}.editor-panel h2{line-height:1.4;margin-bottom:12px}.editor-meta{margin-top:14px}#answer{font-size:16px;line-height:1.5;min-height:250px;padding:12px}.question-guidance p{line-height:1.45}.option-buttons button{min-height:44px}.editor-back{min-height:44px}.question-item{padding:12px 15px}.editor-controls{margin-top:16px}.editor-footer .text-button{min-height:44px}.notes-details summary{min-height:44px;padding-top:10px}}
