@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@500;600;700&family=Noto+Sans+KR:wght@400;500;600;700;800&display=swap');
:root{font-family:'Noto Sans KR',sans-serif;color:#172a27;background:#f5f7f4;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px}.page-shell{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(430px,.92fr);min-height:100svh}.intro{position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;padding:42px clamp(36px,5vw,90px);color:#fff;background:linear-gradient(145deg,#184f43 0%,#103b34 55%,#0d302c 100%)}.intro:before{content:"";position:absolute;width:720px;height:720px;border:1px solid #ffffff16;border-radius:50%;bottom:-420px;right:-300px;box-shadow:0 0 0 95px #ffffff07,0 0 0 190px #ffffff05}.intro-content,.intro-footer{position:relative;z-index:1}.brand,.mobile-brand{display:flex;align-items:center;gap:12px;font-size:19px;font-weight:800;letter-spacing:-.05em}.brand-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#c9e66e;color:#164638;font-family:'DM Sans',sans-serif;font-size:22px;font-weight:700}.intro-copy{margin-top:clamp(100px,17vh,190px)}.eyebrow,.section-label{margin:0 0 22px;font:700 12px 'DM Sans',sans-serif;letter-spacing:.19em;color:#c9e66e}.intro h1{margin:0;font-size:clamp(34px,3.3vw,53px);line-height:1.43;letter-spacing:-.065em}.intro-description{margin:28px 0 0;color:#c4d9d1;font-size:15px;line-height:1.9;letter-spacing:-.025em}.feature-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:36px}.feature-row span{padding:9px 13px;border:1px solid #ffffff36;border-radius:100px;color:#e6f0ea;font-size:12px}.intro-footer{margin:30px 0 0;color:#b2cbc1;font-size:12px}.intro-decoration{position:absolute;right:clamp(25px,5vw,85px);bottom:10%;width:245px;height:205px;opacity:.27;transform:rotate(-10deg)}.paper{position:absolute;width:155px;height:195px;border-radius:9px;background:#d7f0e1}.paper-back{right:12px;top:12px;transform:rotate(15deg);background:#a9d2bb}.paper-front{left:12px;top:0;padding:35px 23px}.paper-front i{display:block;height:7px;background:#4e9076;border-radius:5px;margin:0 0 17px}.paper-front i:nth-child(2){width:75%}.paper-front i:nth-child(3){width:90%}.paper-front i:nth-child(4){width:60%}.paper-front b{display:block;width:38px;height:38px;margin:12px 0 0 auto;border:5px solid #4e9076;border-radius:50%}.login-panel{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;padding:44px clamp(34px,6vw,110px) 25px 30px;background:#f8faf7}.login-card{width:min(100%,400px)}.mobile-brand{display:none}.section-label{color:#397b60;margin-bottom:12px}.login-card h2{margin:0;font-size:38px;letter-spacing:-.06em}.login-description{margin:12px 0 43px;color:#788782;font-size:14px}.field{margin-bottom:23px}.field label{display:block;margin-bottom:10px;font-size:14px;font-weight:700}.field input{width:100%;height:54px;border:1px solid #dce4dd;border-radius:10px;padding:0 15px;background:#fff;color:#172a27;font:inherit;font-size:14px;outline:none;transition:border-color .15s,box-shadow .15s}.field input:focus{border-color:#397b60;box-shadow:0 0 0 3px #397b6020}.field input::placeholder{color:#a6b0aa}.password-wrap{position:relative}.password-wrap input{padding-right:65px}.show-password{position:absolute;right:8px;top:8px;min-width:48px;height:38px;border:0;background:transparent;color:#65766c;font:inherit;font-size:12px;cursor:pointer}.show-password:focus-visible,.submit-button:focus-visible{outline:3px solid #a2ca71;outline-offset:2px}.form-message{min-height:22px;margin:0 0 10px;color:#a5453e;font-size:13px}.submit-button{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;height:56px;border:0;border-radius:10px;background:#1c5846;color:#fff;font:700 15px 'Noto Sans KR',sans-serif;cursor:pointer;transition:background .15s}.submit-button:hover{background:#174937}.submit-button span{font-size:20px;line-height:1}.login-note{margin:25px 0 0;text-align:center;color:#87958e;font-size:12px}.panel-footer{position:absolute;bottom:24px;margin:0;color:#a3afa8;font:12px 'DM Sans',sans-serif}@media(max-width:900px){.page-shell{grid-template-columns:minmax(0,.9fr) minmax(390px,1.1fr)}.intro{padding:36px}.intro h1{font-size:35px}.intro-decoration{right:-30px;bottom:13%;transform:scale(.8) rotate(-10deg)}}@media(max-width:700px){.page-shell{display:block;min-height:100svh;background:#f8faf7}.intro{display:none}.login-panel{min-height:100svh;padding:34px 24px 35px;align-items:center;justify-content:center}.login-card{max-width:420px}.mobile-brand{display:flex;margin-bottom:74px;color:#184f43}.section-label{font-size:11px}.login-card h2{font-size:34px}.login-description{margin-bottom:37px}.panel-footer{position:static;margin-top:78px}}@media(max-width:380px){.login-panel{padding-left:20px;padding-right:20px}.mobile-brand{margin-bottom:48px}.panel-footer{margin-top:50px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.main-page{background:#f5f7f4;min-height:100svh}.app-header{background:#174b3f;color:#fff}.app-header-inner{max-width:1200px;margin:auto;min-height:78px;padding:14px 30px;display:flex;align-items:center;justify-content:space-between;gap:20px}.logout-button{border:1px solid #ffffff6b;border-radius:8px;background:transparent;color:#fff;padding:10px 16px;font:600 13px 'Noto Sans KR',sans-serif;cursor:pointer}.logout-button:hover{background:#ffffff18}.dashboard{max-width:1200px;margin:0 auto;padding:70px 30px 100px}.dashboard-kicker{margin:0 0 10px;font:700 12px 'DM Sans',sans-serif;letter-spacing:.18em;color:#438467}.dashboard h1{margin:0;font-size:clamp(27px,3vw,39px);letter-spacing:-.06em}.dashboard-intro{margin:14px 0 40px;color:#708079;font-size:15px;line-height:1.7}.form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.form-card{display:flex;flex-direction:column;min-height:220px;padding:25px;border:1px solid #e1e8e1;border-radius:15px;background:#fff;color:#203b31;text-decoration:none;box-shadow:0 8px 28px #1c433909;transition:transform .15s,box-shadow .15s,border-color .15s}.form-card:hover{transform:translateY(-3px);border-color:#91b7a0;box-shadow:0 12px 30px #1c43391c}.form-card:focus-visible,.logout-button:focus-visible{outline:3px solid #a2ca71;outline-offset:3px}.form-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:11px;background:#e8f2e9;color:#277053;font-size:25px}.form-type{margin-top:22px;color:#799087;font-size:12px}.form-card strong{margin-top:5px;font-size:20px;letter-spacing:-.04em}.form-action{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:16px;color:#287355;font-size:13px;font-weight:700}@media(max-width:900px){.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.app-header-inner{min-height:66px;padding:12px 20px}.app-header .brand{font-size:16px}.app-header .brand-icon{width:30px;height:30px}.dashboard{padding:45px 20px 70px}.dashboard-intro{margin-bottom:27px;font-size:14px}.form-grid{grid-template-columns:1fr;gap:13px}.form-card{min-height:172px;padding:19px}.form-type{margin-top:13px}.form-card strong{font-size:18px}.logout-button{padding:8px 10px;font-size:12px}}
.saved-section{margin-top:65px}.saved-section h2{font-size:22px;letter-spacing:-.04em}.saved-list{display:flex;flex-direction:column;gap:10px;color:#718078;font-size:14px}.saved-list a{color:#237155;text-decoration:none;word-break:break-all}.saved-list a:hover{text-decoration:underline}.back-link{color:#fff;text-decoration:none;font-size:14px}.editor-layout{max-width:1500px;margin:auto;padding:36px 24px 90px}.editor-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:25px}.editor-heading h1{margin:0;font-size:32px;letter-spacing:-.05em}.editor-heading p:last-child{color:#687b70;font-size:14px}.editor-actions{display:flex;flex-wrap:wrap;gap:8px}.editor-actions button{border:1px solid #b9cbbd;border-radius:9px;background:#fff;color:#234638;padding:12px 15px;font:600 14px 'Noto Sans KR',sans-serif;cursor:pointer}.editor-actions .primary-action{background:#1c5846;border-color:#1c5846;color:#fff}.editor-actions button:disabled{opacity:.5;cursor:wait}.editor-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.65fr);align-items:start;gap:25px}.editor-grid section{min-width:0}.editor-grid h2{font-size:17px;margin:0 0 14px}.paper-stage{position:relative;width:100%;background:white;box-shadow:0 7px 30px #173f361c}.paper-stage img{display:block;width:100%;height:auto}.paper-stage canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:crosshair}.photo-section{background:#fff;border-radius:12px;padding:22px;box-shadow:0 7px 30px #173f3610}.photo-grid{display:grid;gap:15px}.photo-slot{display:grid;place-items:center;position:relative;min-height:200px;border:2px dashed #b6cbbc;border-radius:10px;background:#f3f8f3 center/contain no-repeat;color:#386b52;text-align:center;font-weight:700;cursor:pointer;overflow:hidden}.photo-slot small{font-size:12px;font-weight:400}.photo-slot.has-photo{border-style:solid;background-color:#e9eee9}.photo-slot.has-photo span{position:absolute;bottom:0;width:100%;padding:5px;background:#ffffffdd;font-size:12px}.photo-slot.has-photo small{display:none}.photo-slot input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.photo-help{color:#7c8980;font-size:12px;line-height:1.6}.editor-status{min-height:30px;color:#a54136;font-size:14px}.editor-status a{color:#187052;font-weight:700}@media(max-width:1000px){.editor-grid{grid-template-columns:1fr}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.editor-layout{padding:25px 12px 70px}.editor-heading{display:block}.editor-heading h1{font-size:25px}.editor-actions{margin-top:20px}.editor-actions button{flex:1;padding:11px 6px;font-size:12px}.photo-section{padding:15px}.photo-grid{grid-template-columns:1fr}.photo-slot{min-height:235px}.back-link{font-size:12px}}
.paper-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}.paper-toolbar h2{margin:0}.view-controls{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.view-controls button{min-height:35px;border:1px solid #b7c7bb;border-radius:7px;background:#fff;color:#29493d;padding:5px 11px;font:600 12px 'Noto Sans KR',sans-serif;cursor:pointer}.view-controls button.mode-active{background:#1c5846;color:#fff;border-color:#1c5846}.view-controls button:focus-visible{outline:3px solid #a2ca71;outline-offset:2px}.view-controls #zoom-in,.view-controls #zoom-out{min-width:36px;font-size:18px;line-height:1}.view-controls #zoom-value{min-width:48px;text-align:center;color:#385d4b;font:700 12px 'DM Sans',sans-serif}.paper-viewport{width:100%;max-height:80vh;overflow:auto;overscroll-behavior:contain;background:#e8eee8;touch-action:pan-x pan-y}.paper-stage{width:100%}.paper-stage canvas{touch-action:none}@media(max-width:650px){.paper-toolbar{align-items:stretch}.view-controls{justify-content:space-between;width:100%}.view-controls button{padding:5px 8px}}
.saved-dialog{width:min(420px,calc(100vw - 32px));border:0;border-radius:17px;padding:30px;background:#fff;color:#21382e;box-shadow:0 22px 70px #102d2660;text-align:center}.saved-dialog::backdrop{background:#0e2926a6}.saved-check{display:grid;place-items:center;width:52px;height:52px;margin:0 auto 17px;border-radius:50%;background:#e4f2e7;color:#1c7654;font-size:28px;font-weight:700}.saved-dialog h2{margin:0;font-size:25px;letter-spacing:-.04em}.saved-dialog p{font-size:13px;color:#6e7f73;line-height:1.6}.saved-dialog .saved-filename{margin:20px 0;word-break:break-all;color:#244f3c;font-weight:700}.saved-dialog-actions{display:flex;gap:9px;margin-top:22px}.saved-dialog-actions button,.saved-dialog-actions a{display:grid;place-items:center;flex:1;min-height:43px;border-radius:8px;font:700 13px 'Noto Sans KR',sans-serif;text-decoration:none;cursor:pointer}.saved-dialog-actions button{border:1px solid #b9cbbd;background:#fff;color:#274a39}.saved-dialog-actions a{border:1px solid #1c5846;background:#1c5846;color:#fff}
.saved-dialog-actions a[hidden]{display:none}.saved-check.saved-error{background:#fff0eb;color:#b54a35}
.main-nav{display:flex;align-items:center;gap:12px}.main-nav a{color:#fff;text-decoration:none;font-size:13px;font-weight:700}.main-nav a:hover{text-decoration:underline}.saved-description{margin:0 0 15px;color:#718078;font-size:13px}@media(max-width:600px){.main-nav{gap:8px}.main-nav a{font-size:11px}}
@media(max-width:450px){.app-header-inner{flex-wrap:wrap}.main-nav{width:100%;justify-content:flex-end}}
.saved-menu-card{display:flex;align-items:center;gap:18px;margin-top:45px;padding:22px 25px;max-width:520px;border:1px solid #d9e6dc;border-radius:15px;background:#fff;color:#203b31;text-decoration:none;box-shadow:0 8px 28px #1c433909}.saved-menu-card:hover,.saved-menu-card:focus-visible{border-color:#91b7a0;box-shadow:0 12px 30px #1c43391c}.saved-menu-card>span:nth-child(2){display:grid;gap:5px;flex:1}.saved-menu-card strong{font-size:19px}.saved-menu-card small{font-size:13px;color:#718078}.saved-menu-icon,.folder-glyph{display:grid;place-items:center;width:44px;height:44px;border-radius:11px;background:#e9f3e9;color:#1c7454;font-size:24px}.file-manager{max-width:1200px;margin:auto;padding:55px 30px 100px}.file-manager h1{margin:0;font-size:clamp(28px,3vw,38px)}.file-manager h2{margin:0;font-size:20px}.files-layout{display:grid;grid-template-columns:minmax(230px,.65fr) minmax(0,1.35fr);gap:22px}.files-layout>section,.file-preview{min-width:0;padding:24px;border:1px solid #e1e8e1;border-radius:15px;background:#fff}.folder-list,.file-list{display:grid;gap:9px;margin-top:19px;color:#718078}.folder-button,.file-row{display:flex;align-items:center;gap:12px;width:100%;padding:12px;border:1px solid #e0e8e1;border-radius:10px;background:#fff;color:#203b31;text-align:left;font:600 14px 'Noto Sans KR',sans-serif;cursor:pointer}.folder-button:hover,.file-row:hover,.folder-row.is-selected .folder-button,.file-row.is-selected{border-color:#72ab88;background:#f2f9f2}.folder-glyph{width:33px;height:33px;font-size:18px;flex:none}.file-glyph{display:grid;place-items:center;width:36px;height:36px;border-radius:8px;background:#e9f3e9;color:#1b7956;font:700 11px 'DM Sans',sans-serif;flex:none}.file-row span:last-child{overflow-wrap:anywhere}.file-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.file-actions{display:flex;gap:8px;flex-wrap:wrap}.danger-button,.download-button{border:1px solid #bd5b50;border-radius:8px;background:#fff;color:#a43d32;padding:9px 12px;font:700 12px 'Noto Sans KR',sans-serif;cursor:pointer;text-decoration:none}.download-button{border-color:#1c7454;background:#1c7454;color:#fff}.danger-button:hover{background:#fff1ef}.download-button:hover{background:#135c42}.file-preview{margin-top:22px}.file-preview[hidden],.danger-button[hidden]{display:none}.file-preview p{margin:14px 0;color:#546a5c;overflow-wrap:anywhere}.file-preview iframe{width:100%;height:min(70vh,780px);border:1px solid #e0e8e1;border-radius:8px;background:#f6f8f6}#files-status{min-height:24px;color:#a43d32;font-size:14px}@media(max-width:700px){.file-manager{padding:35px 16px 70px}.files-layout{grid-template-columns:1fr}.files-layout>section,.file-preview{padding:18px}.file-preview iframe{height:65vh}}
.preview-pages{display:grid;gap:18px}.preview-pages img{display:block;width:min(100%,760px);height:auto;margin:auto;border:1px solid #e0e8e1;border-radius:8px;background:#f6f8f6}
