:root{--paper:#f7f4ed;--ink:#272b23;--muted:#73776b;--olive:#546044;--line:#dedbce;--card:#fffdf7;font:16px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper)}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit;color:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:1px solid var(--line);border-radius:99px;padding:11px 22px;background:transparent;min-height:46px}button:hover{background:#eae8df}button.primary{background:var(--olive);border-color:var(--olive);color:white}button.primary:hover{background:#414c34}button:disabled{opacity:.5;cursor:wait}button.link{padding:6px 0;min-height:36px;border:0;border-radius:0;color:var(--olive);background:none}a{color:var(--olive);text-underline-offset:4px}:focus-visible{outline:2px solid var(--olive);outline-offset:4px}.masthead{max-width:1280px;margin:auto;padding:30px 48px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line)}.brand{font:32px Georgia,serif;letter-spacing:-1px;text-decoration:none;color:var(--ink)}.brand-dot{color:var(--olive)}nav,.actions,.row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}nav{font-size:14px}main{max-width:1184px;margin:60px auto;min-height:60vh;padding:0 32px}h1,h2,h3{font-family:Georgia,serif;font-weight:400;line-height:1.15}h1{font-size:clamp(36px,5vw,58px);letter-spacing:-1.5px;margin:0 0 16px}h2{font-size:32px;margin:0 0 24px}h3{font-size:27px;margin:0 0 18px;overflow-wrap:anywhere}.muted,.eyebrow{color:var(--muted)}.eyebrow{font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;margin:0 0 16px}.hero{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:38px}.hero p{margin:0}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:24px}.paper{background:var(--card);border:1px solid white;border-radius:22px;box-shadow:0 5px 0 #e2dfd3,0 12px 28px #303a2310;padding:30px}.tile{text-align:left;border-radius:22px;width:100%;min-height:180px;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between}.tile:hover{background:#fdfbf2;transform:translateY(-2px)}.tile p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 24px;font:24px/1.35 Georgia,serif;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.tile span{font-size:13px;color:var(--muted)}.empty{text-align:center;padding:70px 24px;border:1px dashed #c8ccbd;border-radius:24px}.empty p{color:var(--muted);margin-bottom:28px}.auth{max-width:440px;margin:70px auto}.auth>p{margin-bottom:30px}.auth .paper{padding:34px}.auth h1{font-size:44px}.auth button.primary{width:100%;margin-top:8px}.auth .links{display:flex;flex-direction:column;align-items:center;margin-top:22px;gap:8px}label{display:block;font-size:14px;font-weight:500;margin-bottom:20px}input,textarea,select{display:block;width:100%;border:1px solid var(--line);border-radius:10px;background:#fffefa;padding:12px 14px;margin-top:8px;min-height:48px}textarea{resize:vertical;min-height:180px;font:23px/1.5 Georgia,serif}.wide{width:100%}.search{max-width:360px;margin:0 0 26px}.pagination{justify-content:center;margin-top:36px}footer{max-width:1184px;margin:40px auto 24px;padding:24px 32px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:24px;color:var(--muted);font-size:13px}footer div{display:flex;gap:20px}#notice{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;padding:12px 22px;border-radius:14px;max-width:min(90vw,620px);z-index:4}#notice:empty{display:none}dialog{border:1px solid white;border-radius:24px;background:var(--paper);color:var(--ink);padding:32px;width:min(700px,calc(100vw - 32px));max-height:90vh;overflow:auto;box-shadow:0 24px 100px #0003}dialog::backdrop{background:#242c2355;backdrop-filter:blur(3px)}dialog header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}dialog h2{margin:0}dialog .actions{justify-content:flex-end}.error{color:#963d30;white-space:pre-wrap}.study{max-width:780px;margin:auto}.study-card{width:100%;min-height:340px;border-radius:24px;display:flex;flex-direction:column;text-align:left;cursor:pointer;margin:30px 0}.study-text{font:clamp(25px,3vw,38px)/1.4 Georgia,serif;white-space:pre-wrap;overflow-wrap:anywhere}.study .row{justify-content:space-between}.settings{max-width:620px}.settings .paper{margin:24px 0}.danger{color:#963d30}.account-email{overflow-wrap:anywhere}.spaced{margin-top:24px}@media(max-width:640px){.masthead{padding:22px 20px}.brand{font-size:27px}nav .account-email{display:none}main{margin:36px auto;padding:0 20px}.hero{align-items:flex-start;flex-direction:column}.hero .actions{width:100%}.hero .actions button{flex:1}.grid{grid-template-columns:1fr}.auth{margin:36px auto}.auth .paper{padding:25px}footer{padding:24px 20px}.study-card{min-height:300px}dialog{padding:24px}.editor-columns{display:block!important}}@media(min-width:850px){.editor-columns{display:grid;grid-template-columns:1fr 1fr;gap:20px}}
