*{box-sizing:border-box}body{margin:0;background:#f3ede4;color:#30271f;font-family:Georgia,serif}.wrap{max-width:1000px;margin:auto;padding:22px}header,.row,.headright{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}header{padding:8px 0 18px;border-bottom:1px solid #d9cdbd;font:13px system-ui;color:#796f64}.logo{font:22px Georgia;color:#30271f}.logo i{color:#98744e}.panel{background:#fffaf3;border:1px solid #e1d5c6;border-radius:10px;padding:25px;margin:28px 0}.auth{max-width:650px;margin:50px auto}.panel h1,h1{font-size:34px;font-weight:400;margin:0 0 10px}.eyebrow{font:10px system-ui;letter-spacing:.2em;color:#a17b52}.muted{font:13px/1.5 system-ui;color:#796f64}.error{color:#a33;font:13px system-ui}label{display:block;margin:15px 0;font:14px system-ui;color:#5d5147}input,select,textarea{display:block;width:100%;padding:12px;margin-top:7px;border:1px solid #d8cbbb;border-radius:5px;background:#fffdf9;font:15px system-ui;color:#30271f}.primary,.secondary,.tabs button,.nav button,.link{border:0;border-radius:5px;padding:11px 16px;cursor:pointer;font:14px system-ui}.primary{background:#76563d;color:white}.secondary,.tabs button,.nav button{background:#e6ddd1;color:#47382c}.link{background:none;color:#795b42;text-decoration:underline}.tabs,.nav{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.tabs .active,.nav .active{background:#76563d;color:white}.hidden{display:none!important}.journal-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}.journal-card,.report-card,.user-card,.audit-card{background:#fffaf3;padding:18px;border-radius:8px;border:1px solid #e1d5c6;margin:10px 0}.journal-card{cursor:pointer}.pill{background:#e4e8dc;color:#52604a;padding:6px 10px;border-radius:20px;font:12px system-ui}.book{margin:22px auto;background:#fffdf8;max-width:700px;min-height:480px;padding:28px 38px;box-shadow:0 12px 30px #35271e22;border-left:13px solid #76563d}.pageTop,.pageBottom{display:flex;justify-content:space-between;color:#a39483;font:10px system-ui;letter-spacing:.12em}.book textarea{height:370px;border:0;border-radius:0;resize:vertical;outline:0;background:repeating-linear-gradient(to bottom,transparent 0,transparent 30px,#e9e2d7 31px);line-height:31px;font:17px/31px Georgia;padding:0 3px}.controls{justify-content:center}.privacy{margin:25px 0;padding:18px;background:#f4eee5;border-radius:8px}.warning{font:13px/1.5 system-ui;color:#754b35;background:#f7e9df;padding:12px;border-radius:5px}.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;margin:18px 0}.stat{background:#fffaf3;border:1px solid #e1d5c6;border-radius:8px;padding:16px}.stat strong{display:block;font-size:28px;font-weight:400}.stat span{font:12px system-ui;color:#796f64}.admin-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.public-page{background:#fffdf8;padding:24px;margin:18px 0;white-space:pre-wrap;line-height:1.7;box-shadow:0 5px 18px #35271e12}.comment{border-top:1px solid #e5dbcf;padding:12px 0;font:14px/1.5 system-ui}.comment small{color:#8a7b6d}.comment-form textarea{height:75px}@media(max-width:600px){.wrap{padding:14px}.book{padding:22px 18px;min-height:400px}.book textarea{height:300px}.panel{padding:18px}}/* Galerie de thèmes et carnet Kawaii */
#themePicker{width:min(680px,calc(100% - 28px));border:1px solid #efb7cc;border-radius:20px;padding:24px;background:#fff8fc;color:#573449;box-shadow:0 20px 70px #4d1d3733}#themePicker::backdrop{background:#28152299;backdrop-filter:blur(3px)}#themePicker h2{margin:0 0 6px;font-size:25px}#themePicker p{font:14px system-ui;color:#8c6c7d}.theme-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:18px 0}.theme-option{min-height:120px;border:2px solid #eadce4;border-radius:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;cursor:pointer;color:#54364a;font:14px system-ui;transition:transform .15s,border-color .15s}.theme-option:hover{transform:translateY(-3px);border-color:#d76f9b}.theme-option span{font-size:35px}.theme-classic{background:#f2e8da}.theme-floral{background:#fff0f2}.theme-gothic{background:#292336;color:#f5d9ed}.theme-pastel{background:#eef0ff}.theme-vintage{background:#e9d9bc}.theme-kawaii{background:linear-gradient(145deg,#ffe5f0,#fff4f8 55%,#e9e4ff);border-color:#efb2cd}.chosen-theme{font:13px system-ui;color:#9a6b81;background:#fff0f6;border-radius:9px;padding:10px 13px}.book-kawaii{position:relative;overflow:hidden;max-width:850px;border:10px solid #c86d99;border-left-width:16px;border-radius:20px;background:linear-gradient(90deg,#fff0f5,#fffafc 48%,#fff1f6);box-shadow:0 14px 35px #8c42602b;padding:28px 36px}.book-kawaii:before{content:"";position:absolute;inset:9px;border:1px dashed #e8a8c2;border-radius:12px;pointer-events:none}.book-kawaii .pageTop{color:#a34f78;font-weight:bold;letter-spacing:.08em}.book-kawaii textarea{position:relative;background:repeating-linear-gradient(to bottom,transparent 0,transparent 30px,#f3cddd 31px);color:#63334f;font-family:"Trebuchet MS",Georgia,sans-serif;font-style:italic}.book-kawaii .pageBottom{color:#c45f8d}.kawaii-stickers{position:relative;text-align:center;font-size:22px;letter-spacing:4px;margin:12px 0 4px}.book-kawaii textarea{height:340px}.book-kawaii .pageBottom{font-size:16px}@media(max-width:600px){.theme-grid{grid-template-columns:repeat(2,1fr)}.book-kawaii{padding:20px 16px;border-width:7px}.book-kawaii textarea{height:300px}}
