:root{font-family:-apple-system,BlinkMacSystemFont,Apple SD Gothic Neo,Noto Sans KR,sans-serif;color:#493d54;background:#faf8fc;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #b6a2e1;outline-offset:2px}a{color:#8265ae}.app{max-width:1060px;margin:auto;min-height:100dvh;padding-bottom:104px}header{padding:26px 28px 16px}.topline,.between,.sectionTitle{display:flex;align-items:center;justify-content:space-between;gap:12px}.brand{padding:0;border:0;background:transparent;color:#73549a;font-weight:800;letter-spacing:-.04em;font-size:29px}.brand span{color:#c6a9e8}header p{margin:6px 0;color:#aa9bb7;font-size:14px}.tools,.smallActions,.tags,.formatBar{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.iconBtn{display:inline-grid;place-items:center;min-width:36px;height:36px;border:0;background:transparent;color:#9983b1;border-radius:10px}.iconBtn:hover{background:#f0e9f7}main{padding:10px 28px 28px}.sectionTitle{margin:4px 0 19px}.sectionTitle small{color:#ad95b9;font-size:11px;letter-spacing:.14em;font-weight:750}.sectionTitle h1{margin:5px 0;font-size:25px;letter-spacing:-.04em}.primary{background:#9d83ca;color:#fff;border:0;border-radius:14px;padding:12px 16px;font-weight:700;display:inline-flex;gap:7px;align-items:center;justify-content:center}.primary:hover{background:#8e6ebd}.search,.select,.titleInput{width:100%;background:#fff;border:1px solid #e8dff0;border-radius:14px;padding:14px 15px;color:#4d4158;min-height:48px}.search{margin-bottom:17px}.stack{display:grid;gap:13px}.paper{background:#fff;border:1px solid #eee5f4;border-radius:23px;padding:23px;margin-bottom:15px;box-shadow:0 2px 12px #66447a08}.paper h3{font-size:18px;margin:8px 0 12px}.paper p{line-height:1.65}.pill{border-radius:20px;background:#f3eafb;color:#9679b1;padding:6px 11px;font-size:12px;font-weight:700}.muted{color:#a096ab}.small{font-size:12px}.clamp{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.textlink{padding:0;background:transparent;border:0;color:#4b3e59;text-align:left}.textlink:hover{text-decoration:underline}.tags{margin:12px 0}.tags span{background:#f7f2fb;color:#9c79b2;padding:5px 8px;border-radius:8px;font-size:12px}.smallActions{margin-top:16px}.smallActions button,.smallActions a{border:1px solid #e5d8ee;background:#f6f0fa;color:#8a6aa6;border-radius:11px;min-height:36px;padding:8px 12px;text-decoration:none;font-size:13px;font-weight:600;display:inline-flex;gap:5px;align-items:center}.empty{text-align:center;border:1px dashed #e0d3e9;border-radius:24px;padding:52px 18px;color:#aa9ab7;background:#fff}.empty svg{color:#bba6d3}.research-image{max-width:100%;max-height:250px;border-radius:13px;object-fit:cover}.outline{display:grid;gap:7px;margin-top:22px}.outlineRow{display:flex;align-items:flex-start;gap:6px;max-width:100%}.outlineRow>span{padding-top:10px;color:#a58fbb}.outline textarea{flex:1;min-height:42px;resize:vertical;min-width:0;width:100%;border:0;background:transparent;line-height:1.5;padding:8px 2px;overflow-wrap:anywhere;white-space:pre-wrap}.miniOps{display:flex;gap:2px}.miniOps button{border:0;background:#f6f1fa;color:#917aaa;border-radius:8px;width:30px;height:32px}.titleInput{font-size:20px;font-weight:750;border:0;border-bottom:1px solid #eee5f4;border-radius:0}.formatBar{background:#f9f6fc;border-radius:12px;padding:8px;margin:18px 0}.formatBar button{height:34px;min-width:38px;background:#fff;border:1px solid #e9deef;border-radius:8px;color:#7c629a}.rich{min-height:330px;outline:none;line-height:1.9;word-break:break-word;padding:9px 4px;white-space:normal}.rich:empty:before{content:"이곳에서 글을 시작해 봐";color:#b8adbf}.rich h2{font-size:22px}.writer{min-height:500px}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;text-align:center}.weekday{font-size:12px;color:#a99ab4;padding:7px}.calday{height:63px;background:#faf7fc;border:1px solid #f1eaf5;border-radius:10px;color:#5e4c6a;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}.calday.selected{background:#e9ddf6;border:2px solid #ab8bca}.dotrow{font-size:10px;color:#996eb7}.event{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #eee6f2;padding:9px 0}.event label{display:flex;gap:10px;align-items:center}.event input{accent-color:#9574bc;width:18px;height:18px}.done{text-decoration:line-through;color:#b3a9ba}.bottomNav{position:fixed;bottom:0;left:50%;transform:translate(-50%);width:min(1060px,100%);display:grid;grid-template-columns:repeat(6,minmax(0,1fr));background:#fffcffed;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border:1px solid #eee5f1;border-radius:19px 19px 0 0;z-index:10;padding:9px 6px max(10px,env(safe-area-inset-bottom))}.bottomNav button{display:grid;justify-items:center;gap:5px;border:0;background:transparent;color:#a49aae;border-radius:13px;padding:9px 1px;font-size:12px}.bottomNav button.active{background:#f1e9f9;color:#8760ac;font-weight:750}.overlay{position:fixed;inset:0;background:#30203b82;z-index:50;display:flex;align-items:flex-end;justify-content:center}.sheet{width:min(550px,100%);max-height:88dvh;overflow:auto;background:#fff;border-radius:28px 28px 0 0;padding:28px 24px max(28px,env(safe-area-inset-bottom))}.sheet h2{margin:0 0 17px}.sheet form{display:grid;gap:17px}.sheet label{display:grid;gap:8px;color:#746282;font-weight:650;font-size:14px}.sheet label input,.sheet label select,.sheet label textarea{width:100%;min-height:45px;padding:10px;border:1px solid #e4d8ec;border-radius:11px;color:#44394d;background:#fff;font-weight:400}.sheet textarea{resize:vertical}.submit{min-height:48px}.toast{position:fixed;bottom:98px;left:50%;transform:translate(-50%);z-index:100;background:#4e3c5a;color:#fff;border-radius:24px;padding:11px 20px;box-shadow:0 8px 20px #0002;white-space:nowrap}.dark-page{background:#0a0a0d;max-width:none;padding:0;color:#fff}.dark-page main{padding:0}.darkroom{min-height:100dvh;padding:20px max(22px,calc((100vw - 900px)/2));display:flex;flex-direction:column}.darkroom .between{flex-wrap:wrap}.backDark,.darkroom .smallActions button{color:#eee;background:#202027;border:1px solid #34343b;border-radius:12px;padding:10px 12px;display:inline-flex;align-items:center;gap:6px}.darkSaved{color:#929198;font-size:12px}.darkroom textarea{flex:1;min-height:70dvh;outline:none;border:0;background:transparent;resize:none;color:#f7f7fa;font-size:19px;line-height:2.1;margin:25px 0;white-space:pre-wrap}.darkroom textarea::placeholder{color:#777781}.darkroom p{font-size:12px;color:#888894}@media(min-width:740px){.stack{grid-template-columns:repeat(2,minmax(0,1fr))}.stack .paper{margin-bottom:0}}@media(max-width:560px){header{padding:21px 17px 11px}main{padding:8px 16px 20px}.brand{font-size:25px}.sectionTitle h1{font-size:22px}.primary{padding:10px 12px;font-size:13px}.paper{padding:18px;border-radius:20px}.bottomNav button{font-size:10px}.bottomNav svg{width:20px}.outlineRow{flex-wrap:wrap}.miniOps{margin-left:20px}.calday{height:50px}.darkroom{padding:18px}.darkroom textarea{font-size:17px}}.auth-page{min-height:100dvh;display:grid;place-items:center;background:#faf8fc;padding:20px}.auth-card{background:#fff;border:1px solid #e8dff0;border-radius:25px;padding:30px;width:min(440px,100%);box-shadow:0 8px 30px #654c8114;display:grid;gap:16px}.auth-card h1{margin:0;color:#76549e}.auth-card p{color:#927fa4;overflow-wrap:anywhere}.auth-card label{display:grid;gap:7px;color:#6b597b}.auth-card input{width:100%;border:1px solid #e5d8ed;border-radius:12px;padding:13px;font-size:16px}.auth-choice{display:grid;grid-template-columns:1fr 1fr;gap:6px;background:#f6f0fa;border-radius:12px;padding:5px}.auth-choice button{padding:12px;border:0;background:transparent;border-radius:10px;color:#967dad}.auth-choice button.selected{background:#fff;color:#73549a;font-weight:700}.cloud-tools{max-width:1060px;margin:auto;padding:9px 22px 0;display:flex;justify-content:flex-end;align-items:center;gap:10px;flex-wrap:wrap;font-size:11px;color:#927eaa}.cloud-tools button{background:#f5ecfb;border:1px solid #e4d6ed;border-radius:9px;padding:7px;color:#775a99}.cloud-tools [role=status]{color:#79608f}@media(max-width:560px){.cloud-tools{padding:7px 14px;gap:6px}.cloud-tools span:first-child{max-width:125px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
