:root{--ink:#173f35;--muted:#70867e;--line:#dbe6e1;--bg:#f4f7f5;--white:#fff;--danger:#b43838}*{box-sizing:border-box}html{background:var(--bg)}body{margin:0;color:#18312a;background:linear-gradient(#fff 82px,var(--bg) 82px);font-family:Pretendard,"Noto Sans KR",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px}button,input,select{font:inherit}.topbar{height:82px;max-width:1180px;margin:auto;padding:0 28px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:12px;color:inherit;text-decoration:none}.brand>span{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;color:#fff;background:var(--ink);font-size:22px}.brand div{display:flex;flex-direction:column}.brand small,.kicker{color:#648278;font-size:.72rem;letter-spacing:.15em;font-weight:800}.brand strong{font-size:1.08rem}.topbar nav{display:flex;align-items:center;gap:17px}.topbar nav>a:not(.button){color:#647b73;text-decoration:none;font-size:.86rem}.button{display:inline-flex;height:42px;align-items:center;justify-content:center;border:0;border-radius:11px;background:var(--ink);color:#fff;padding:0 18px;font-weight:700;text-decoration:none;cursor:pointer}.button.secondary{border:1px solid var(--line);background:#fff;color:var(--ink)}.button.full{width:100%;margin-top:7px}.board-wrap{max-width:1124px;margin:auto;padding:70px 28px}.hero{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:35px}.hero h1{margin:7px 0 8px;font-size:clamp(2rem,4vw,3.1rem);letter-spacing:-.055em}.hero p{margin:0;color:var(--muted)}.summary{min-width:145px;border:1px solid var(--line);border-radius:17px;background:#fff;padding:18px 23px;box-shadow:0 12px 35px rgba(28,61,50,.06)}.summary strong,.summary span{display:block}.summary strong{font-size:1.2rem}.summary span{margin-top:3px;color:var(--muted);font-size:.8rem}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:13px}.tabs{display:flex;gap:5px}.tabs a{padding:9px 14px;border-radius:9px;color:#698078;text-decoration:none;font-size:.88rem;font-weight:700}.tabs a.active{background:var(--ink);color:#fff}.search{display:flex;width:300px;height:42px;border:1px solid var(--line);border-radius:11px;background:#fff;overflow:hidden}.search input{min-width:0;flex:1;border:0;outline:0;padding:0 12px}.search button{border:0;background:#e8f0ec;color:var(--ink);padding:0 14px;font-weight:700}.board{overflow:hidden;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 18px 50px rgba(43,70,61,.07)}.row{width:100%;display:grid;grid-template-columns:76px 90px minmax(0,1fr) 90px 112px;align-items:center}.row.head{min-height:50px;padding:0 22px;background:#edf3f0;color:#71877e;font-size:.78rem;font-weight:800}.row.head span:last-child{text-align:right}.row.post-open{min-height:79px;padding:0 22px;border:0;border-top:1px solid #edf1ef;background:#fff;color:inherit;text-align:left;cursor:pointer}.row.post-open:hover{background:#f7faf8}.post-title{min-width:0;display:flex;flex-direction:column;gap:5px;padding-right:20px}.post-title strong,.post-title small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.post-title small{color:#82948e;font-size:.78rem}.row time{text-align:right;color:#72877f;font-size:.8rem}.tag{display:inline-grid;min-width:47px;height:27px;place-items:center;border-radius:8px;background:#edf1ef;color:#63766f;font-size:.75rem;font-style:normal;font-weight:800}.tag-공지{background:var(--ink);color:#fff}.tag-자료{background:#e3edf8;color:#356081}.tag-사진{background:#f6eadb;color:#8a5c22}.empty{padding:110px 20px;text-align:center;color:var(--muted)}
.detail-dialog{width:min(1040px,calc(100vw - 32px));max-width:1040px;max-height:calc(100vh - 32px);border:1px solid var(--line);border-radius:20px;padding:0;box-shadow:0 30px 90px rgba(12,42,32,.25)}.detail-dialog::backdrop{background:rgba(13,37,30,.5);backdrop-filter:blur(4px)}.dialog-close{position:absolute;right:18px;top:14px;z-index:2;width:38px;height:38px;border:0;border-radius:50%;background:#eef3f1;color:#37584e;font-size:24px;cursor:pointer}.detail-body{padding:34px}.detail-body h2{margin:10px 0 4px;padding-right:45px;font-size:1.65rem;letter-spacing:-.03em}.detail-meta{display:flex;align-items:center;gap:10px}.detail-meta time{color:#81948d;font-size:.8rem}.detail-content{min-height:220px;margin-top:18px;border-top:1px solid #e3ebe7;border-bottom:1px solid #e3ebe7;padding:28px 3px;line-height:1.78}.detail-content a,.rich-editor a{color:#1669a9;text-underline-offset:2px}.detail-content img{max-width:100%}.detail-content blockquote,.rich-editor blockquote{margin:.8em 0;border-left:3px solid #a9beb6;background:#f2f7f4;padding:.65em 1em}.attachments{margin-top:24px}.attachments h3{font-size:.92rem}.image-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.image-grid:empty{display:none}.image-grid a{overflow:hidden;aspect-ratio:4/3;border-radius:12px;background:#e9efec}.image-grid img{width:100%;height:100%;object-fit:cover}.file-list{display:grid;gap:8px;margin-top:10px}.file-list a{display:flex;justify-content:space-between;border:1px solid var(--line);border-radius:10px;color:inherit;padding:11px 13px;text-decoration:none}.file-list small{color:var(--muted)}.detail-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:24px}.delete-button{margin-right:auto;border:0;border-radius:10px;background:#f8eaea;color:var(--danger);padding:0 17px;font-weight:700;cursor:pointer}.loading{min-height:330px;display:grid;place-items:center;color:var(--muted)}
.narrow{max-width:520px;margin:70px auto;padding:20px}.login-card,.editor-card{border:1px solid var(--line);border-radius:20px;background:#fff;padding:30px;box-shadow:0 18px 50px rgba(43,70,61,.08)}.login-card h1{margin:7px 0}.login-card>p{color:var(--muted)}label{display:flex;flex-direction:column;gap:7px;margin:16px 0;font-size:.86rem;font-weight:800}label input,label select{height:43px;border:1px solid #cbd9d3;border-radius:10px;background:#fff;padding:0 12px;outline:0}label input:focus,label select:focus{border-color:#609082;box-shadow:0 0 0 3px rgba(96,144,130,.12)}label small{color:var(--muted);font-weight:400}.alert{border-radius:10px;background:#f9e9e9;color:#9b3535;padding:10px 12px;font-size:.85rem}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.editor-page{max-width:900px;margin:45px auto;padding:20px}.editor-title{display:flex;align-items:flex-start;justify-content:space-between}.editor-title h1{margin:6px 0}.editor-title a{color:var(--muted);text-decoration:none}.rich-editor{min-height:280px;max-height:520px;overflow:auto;border:1px solid #cbd9d3;border-radius:11px;padding:15px;font-size:1rem;font-weight:400;line-height:1.72;outline:0}.rich-editor:focus{border-color:#609082;box-shadow:0 0 0 3px rgba(96,144,130,.12)}.rich-editor:empty:before{content:attr(data-placeholder);color:#93a39d}.paste-notice{border-radius:10px;background:#e7f2ed;color:#315f51;padding:10px 12px;font-size:.82rem}.file-drop{position:relative;min-height:110px;align-items:center;justify-content:center;border:1.5px dashed #aac0b7;border-radius:14px;background:#f4f8f6;color:#527168}.file-drop input{position:absolute;inset:0;opacity:0;cursor:pointer}.file-drop strong{font-size:.88rem}.file-drop span{font-size:.77rem;color:#80948d}.pending-files{display:grid;gap:7px}.pending-files>div{display:flex;justify-content:space-between;border-radius:9px;background:#edf3f0;padding:9px 11px;font-size:.8rem}.pending-files button{border:0;background:transparent;cursor:pointer}.editor-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:22px}
@media(max-width:720px){body{background:linear-gradient(#fff 70px,var(--bg) 70px)}.topbar{height:70px;padding:0 16px}.brand>span{width:38px;height:38px}.brand small{display:none}.topbar nav>a:not(.button){display:none}.topbar .button{height:39px;padding:0 12px}.board-wrap{padding:42px 15px}.hero{align-items:flex-start;flex-direction:column}.hero h1{font-size:2.1rem}.summary{width:100%}.toolbar{align-items:stretch;flex-direction:column}.tabs{overflow:auto}.tabs a{white-space:nowrap}.search{width:100%}.row.head{display:none}.row.post-open{grid-template-columns:60px minmax(0,1fr) 82px;padding:0 13px;min-height:90px}.row.post-open>span:first-child,.row.post-open>span:nth-child(4){display:none}.post-title{grid-column:2}.row time{grid-column:3}.detail-body{padding:27px 20px}.image-grid{grid-template-columns:repeat(2,1fr)}.form-grid{grid-template-columns:1fr}.login-card,.editor-card{padding:22px}.editor-page{margin:20px auto;padding:12px}}
.success{border-radius:10px;background:#e7f2ed;color:#315f51;padding:10px 12px;font-size:.85rem}
@media(max-width:720px){.topbar nav{gap:8px}.topbar nav>a[href*="settings"]{display:inline!important;font-size:.74rem}}
.editor-toolbar{display:flex;align-items:center;gap:6px;overflow-x:auto;margin-top:6px;border:1px solid #cbd9d3;border-bottom:0;border-radius:11px 11px 0 0;background:#f4f8f6;padding:8px}.tool-group{display:flex;align-items:center;gap:3px;padding-right:6px;border-right:1px solid #d7e2dd}.tool-group:last-child{padding-right:0;border-right:0}.tool-group button{height:33px;min-width:34px;border:1px solid transparent;border-radius:7px;background:transparent;color:#36564c;padding:0 8px;font-size:.78rem;white-space:nowrap;cursor:pointer}.tool-group button:hover,.tool-group button.active{border-color:#bfd0c9;background:#fff;box-shadow:0 2px 7px rgba(32,65,54,.08)}.color-tools button{display:grid;min-width:29px;width:29px;padding:0;place-items:center}.color-tools button span{width:15px;height:15px;border:2px solid #fff;border-radius:50%;background:var(--swatch);box-shadow:0 0 0 1px rgba(20,45,37,.2)}.editor-toolbar+.rich-editor{margin-top:0;border-radius:0 0 11px 11px}.site-footer{display:flex;align-items:center;justify-content:center;gap:11px;color:#7c9088;padding:0 20px 32px;font-size:.78rem}.site-footer i{width:1px;height:12px;background:#cdd9d4}.site-footer strong{color:#36564c;font-variant-numeric:tabular-nums}
@media(max-width:720px){.editor-toolbar{gap:4px}.tool-group{flex:none}.site-footer{padding-bottom:22px}}
.site-footer{display:flex;justify-content:center;padding:6px 20px 30px;color:var(--muted);font-size:.72rem}
.visitor-card{display:flex;align-items:center;gap:12px;width:auto;padding:8px 14px;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.82);box-shadow:0 3px 12px rgba(25,55,46,.05)}
.visitor-divider{width:1px;height:12px;background:var(--line)}
.visitor-stat{display:flex;align-items:center;gap:6px;white-space:nowrap}
.visitor-stat small{color:var(--muted);font-size:.6rem;font-weight:700;letter-spacing:.1em}
.visitor-stat strong{color:var(--ink);font-size:.78rem;font-weight:750;font-variant-numeric:tabular-nums}
@media(max-width:720px){.site-footer{padding:4px 14px 22px}.visitor-card{gap:10px;padding:7px 12px}}
.theme-forest{--ink:#173f35;--muted:#70867e;--line:#dbe6e1;--bg:#f4f7f5;--accent-2:#245b4c;--soft:#edf3f0}
.theme-ocean{--ink:#15506a;--muted:#6b8290;--line:#d9e6eb;--bg:#f2f7f9;--accent-2:#21718a;--soft:#e9f2f5}
.theme-slate{--ink:#303b45;--muted:#737e87;--line:#dfe4e7;--bg:#f4f6f7;--accent-2:#52616d;--soft:#edf0f2}
.theme-rose{--ink:#712e46;--muted:#8d747d;--line:#eadde2;--bg:#faf5f7;--accent-2:#9a4964;--soft:#f5e9ed}
.theme-amber{--ink:#70451f;--muted:#8e7a66;--line:#eadfD3;--bg:#faf7f2;--accent-2:#9a6735;--soft:#f4ede4}
.row.head,.pending-files>div{background:var(--soft)}
.settings-page{max-width:780px}.theme-settings{margin:23px 0 20px;border:0;padding:0}.theme-settings legend{padding:0;font-size:.86rem;font-weight:800}.theme-settings>p{margin:6px 0 13px;color:var(--muted);font-size:.8rem}.theme-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.theme-option{position:relative;display:grid;grid-template-columns:58px 1fr 25px;align-items:center;gap:12px;margin:0;border:1px solid var(--line);border-radius:14px;background:#fff;padding:13px;cursor:pointer;transition:border-color .15s,box-shadow .15s,transform .15s}.theme-option:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(28,55,46,.08)}.theme-option:has(input:checked){border-color:var(--ink);box-shadow:0 0 0 2px color-mix(in srgb,var(--ink) 18%,transparent)}.theme-option input{position:absolute;opacity:0;pointer-events:none}.theme-swatch{display:flex;height:38px;overflow:hidden;border-radius:9px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.07)}.theme-swatch i{display:block;flex:1}.theme-copy{display:flex;flex-direction:column;gap:3px}.theme-copy strong{font-size:.86rem}.theme-copy small{color:var(--muted);font-size:.72rem;font-weight:500}.theme-check{display:grid;width:23px;height:23px;place-items:center;border-radius:50%;background:#e8eeeb;color:transparent;font-size:.72rem}.theme-option:has(input:checked) .theme-check{background:var(--ink);color:#fff}.theme-preview-forest .theme-swatch i:nth-child(1){background:#173f35}.theme-preview-forest .theme-swatch i:nth-child(2){background:#75998c}.theme-preview-forest .theme-swatch i:nth-child(3){background:#edf3f0}.theme-preview-ocean .theme-swatch i:nth-child(1){background:#15506a}.theme-preview-ocean .theme-swatch i:nth-child(2){background:#69a2b5}.theme-preview-ocean .theme-swatch i:nth-child(3){background:#e9f2f5}.theme-preview-slate .theme-swatch i:nth-child(1){background:#303b45}.theme-preview-slate .theme-swatch i:nth-child(2){background:#8c99a3}.theme-preview-slate .theme-swatch i:nth-child(3){background:#edf0f2}.theme-preview-rose .theme-swatch i:nth-child(1){background:#712e46}.theme-preview-rose .theme-swatch i:nth-child(2){background:#b67a8e}.theme-preview-rose .theme-swatch i:nth-child(3){background:#f5e9ed}.theme-preview-amber .theme-swatch i:nth-child(1){background:#70451f}.theme-preview-amber .theme-swatch i:nth-child(2){background:#bd946b}.theme-preview-amber .theme-swatch i:nth-child(3){background:#f4ede4}@media(max-width:620px){.theme-grid{grid-template-columns:1fr}.theme-option{grid-template-columns:54px 1fr 25px}}
.row{grid-template-columns:76px 90px minmax(0,1fr) 82px 74px 112px}
.row.head span:nth-last-child(2){text-align:center}
.post-views{text-align:center;color:#7b8f87;font-size:.78rem;font-variant-numeric:tabular-nums;white-space:nowrap}
.detail-meta time,.detail-views{color:#81948d;font-size:.8rem}
.detail-views{padding-left:10px;border-left:1px solid var(--line);font-variant-numeric:tabular-nums}
@media(max-width:720px){.row.post-open{grid-template-columns:60px minmax(0,1fr) 54px 82px}.post-views{grid-column:3}.row time{grid-column:4}}
