:root{--accent:#813c37;--paper:#fffdf7;--ink:#302c29}*{box-sizing:border-box}body{margin:0;background:#eee9dd;color:var(--ink);font-family:Arial,'Malgun Gothic',sans-serif;font-size:14px}header{background:#f4efe4;border-bottom:1px solid #ddd3bf;padding:18px 3% 12px}.top,.toolbar,.account,nav,.row,.heading{display:flex;align-items:center;gap:12px}.top{justify-content:space-between;flex-wrap:wrap}.brand{text-decoration:none;color:white;background:var(--accent);border-radius:9px;font:bold 21px Georgia;padding:9px 13px}.brand span{color:#302c29;margin-left:10px}.brand{background:none;color:var(--accent);padding:0}nav{gap:3px;flex-wrap:wrap}button,.button,input,textarea,select{font:inherit}button,.button{border:1px solid #d9ceb8;background:#fffdf7;color:#514b42;border-radius:8px;padding:9px 12px;cursor:pointer;text-decoration:none}button:hover,.button:hover{border-color:var(--accent)}nav button.active,.primary{background:var(--accent);color:white;border-color:var(--accent)}.account form{display:inline}.toolbar{margin-top:18px;flex-wrap:wrap;color:#837b6f}.toolbar input[type=color]{border:0;background:transparent;width:38px;height:32px}input,textarea,select{border:1px solid #ded5c5;background:#fffdf9;border-radius:7px;padding:9px;color:var(--ink)}input[type=checkbox]{accent-color:var(--accent)}textarea{resize:vertical;line-height:1.7}.toolbar #saveStatus{margin-left:auto;font-size:12px}main{max-width:1580px;margin:auto;padding:26px 3%}.heading{justify-content:space-between;align-items:end;margin-bottom:22px;color:#8d8374}.heading small{font-size:10px;letter-spacing:.18em}.heading h1{font-family:Georgia,'Malgun Gothic',serif;font-size:28px;margin:7px 0 0;color:#302c29}.binder{position:relative;background:var(--accent);border-radius:24px;padding:22px 56px 22px 26px;box-shadow:0 10px 30px #493a3029}.binder:before{content:'';position:absolute;inset:9px;border:1px dashed #ffffff55;border-radius:18px;pointer-events:none}.paper{position:relative;background:var(--paper);min-height:650px;border-radius:8px;padding:34px 4%;box-shadow:0 4px 12px #30251b35}.rings{position:absolute;left:10px;top:12%;bottom:12%;display:flex;flex-direction:column;justify-content:space-around;z-index:2}.rings i{width:43px;height:11px;border-radius:12px;background:linear-gradient(#fff,#a1a3a1,#eee);box-shadow:0 2px 3px #3338}.tabs{position:absolute;right:6px;top:35px;bottom:35px;display:flex;flex-direction:column;gap:3px}.tabs button{flex:1;padding:4px;background:#e2d9d3;font-size:11px;border:0;border-radius:0 7px 7px 0;writing-mode:vertical-rl}.tabs button.active{background:var(--paper);color:var(--accent);font-weight:bold}.date-header{display:flex;gap:18px;align-items:center;border-bottom:2px solid var(--ink);padding-bottom:20px;margin-bottom:25px}.date-number{font:74px Georgia;color:var(--accent)}h2{font: bold 24px Georgia,'Malgun Gothic',serif;margin:0 0 7px}h3{font-size:17px;margin:0 0 16px}.muted{color:#9a9183;font-size:12px}.layout{display:grid;grid-template-columns:1fr 1fr;gap:35px}.panel{min-width:0}.panel+.panel{border-left:1px solid #e3dbc9;padding-left:35px}.block{margin-bottom:30px}.line{display:flex;gap:8px;align-items:center;border-bottom:1px solid #e6dece;padding:10px 0}.line span{flex:1}.line.done span{text-decoration:line-through;color:#aaa}.line button{padding:4px 7px}.add{display:flex;gap:7px;flex-wrap:wrap}.add input[type=text]{flex:1;min-width:130px}.note{width:100%;min-height:180px;background:repeating-linear-gradient(#fffdf7,#fffdf7 31px,#e7e0d2 32px);border:0;outline:none}.event{border-left:4px solid var(--accent);background:#f2eee8;padding:10px;margin-bottom:8px;border-radius:5px}.calendar{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}.calendar div,.calendar button{min-height:60px;text-align:left;background:#fffdf8}.calendar .dow{min-height:auto;text-align:center;font-size:12px;color:#999}.calendar button.selected{border:2px solid var(--accent)}.mandala{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.group{display:grid;grid-template-columns:repeat(3,1fr);border:2px solid var(--accent);border-radius:5px;overflow:hidden}.group input{min-width:0;width:100%;height:80px;border-radius:0;text-align:center;border:1px solid #e7ddce;padding:3px}.group input.center{background:#f2dfd8;font-weight:bold}.group.main input.center{background:var(--accent);color:#fff}.progress{height:6px;background:#ece5d7;border-radius:10px;margin:15px 0}.progress b{display:block;height:100%;background:var(--accent)}.notice{background:#fff;padding:12px;margin-bottom:14px;border-radius:8px}.auth{max-width:430px;margin:8vh auto;background:#fffdf7;border-radius:18px;padding:38px;box-shadow:0 10px 35px #45362718}.auth-logo{display:inline-block;background:var(--accent);color:white;padding:9px 15px;border-radius:8px;font:25px Georgia}.auth input{width:100%}.auth button{width:100%;margin:15px 0}.auth ul{padding-left:20px;color:#888;font-size:12px}footer{text-align:center;padding:27px;color:#aaa294}@media(max-width:800px){.layout{grid-template-columns:1fr;gap:15px}.panel+.panel{border:0;border-top:1px solid #eee;padding:25px 0 0}.paper{padding:24px 18px}.binder{padding:14px 35px 14px 18px}.rings{left:3px}.rings i{width:27px}.group input{height:55px;font-size:11px}.heading span{display:none}.calendar div,.calendar button{min-height:40px;padding:3px}}@media print{header,.tabs,.rings,button,.add{display:none!important}body{background:white}.binder{padding:0;box-shadow:none}.paper{box-shadow:none}}
