.rm-personal-diary{min-height:100vh;background:radial-gradient(ellipse at 10% 0%,#12325a 0%,#09172c 45%,#071326 100%);color:#edf6ff}.pd-header{display:flex;align-items:center;justify-content:space-between;padding:16px max(18px,calc((100% - 900px)/2));border-bottom:1px solid #24516e;background:#0b1c34}.pd-header a{color:#d7efff;text-decoration:none;font-weight:700}.pd-header button,.pd-secondary,.pd-import-btn{border:1px solid #3d718d;background:#132b47;color:#dff6ff;border-radius:12px;padding:10px 14px;font-weight:700}.pd-wrap{width:min(900px,calc(100% - 28px));margin:24px auto 48px}.pd-hero,.pd-editor,.pd-list-section,.pd-privacy{background:linear-gradient(145deg,rgba(20,43,70,.96),rgba(28,22,54,.96));border:1px solid #28617c;border-radius:24px;padding:22px;margin-bottom:20px;box-shadow:0 14px 35px #020a1880}.pd-kicker{color:#52d9f5;font-size:.78rem;font-weight:900;letter-spacing:1.5px}.pd-hero h1{font-size:clamp(2rem,7vw,3.1rem);margin:8px 0}.pd-hero>p,.pd-privacy p{color:#c1d3e8;line-height:1.7}.pd-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:22px}.pd-stats div{background:#0c2039;border:1px solid #315777;border-radius:15px;padding:12px;display:flex;flex-direction:column;gap:5px}.pd-stats strong{font-size:1.45rem;color:#62e1f7}.pd-stats span{font-size:.78rem;color:#b8cce0}.pd-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.pd-section-head h2{margin:4px 0 0;font-size:1.5rem}.pd-save-state{font-size:.8rem;color:#8fe9c2}.pd-editor form{display:grid;gap:13px}.pd-editor label{display:grid;gap:7px;color:#d4e5f5;font-weight:650;font-size:.92rem}.pd-editor input,.pd-editor textarea,.pd-editor select,.pd-tools input,.pd-tools select{width:100%;min-width:0;background:#08182d;border:1px solid #3c6480;color:#f4f9ff;border-radius:12px;padding:13px;font:inherit;box-sizing:border-box}.pd-editor textarea{resize:vertical;line-height:1.6}.pd-editor input:focus,.pd-editor textarea:focus,.pd-editor select:focus,.pd-tools input:focus,.pd-tools select:focus{outline:2px solid #39c9e8;outline-offset:1px}.pd-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.pd-form-actions,.pd-data-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.pd-primary{border:0;border-radius:12px;padding:12px 17px;background:linear-gradient(100deg,#12a9c7,#287bd2);color:white;font-weight:800}.pd-secondary{cursor:pointer}.pd-pin-check{display:flex!important;align-items:center;gap:8px!important;margin-left:auto}.pd-pin-check input{width:auto}.pd-tools{display:grid;grid-template-columns:1fr 210px;gap:10px;margin-bottom:14px}.pd-notes{display:grid;gap:12px}.pd-note{background:#0b2039;border:1px solid #315777;border-radius:16px;padding:16px}.pd-note.pinned{border-color:#c56ce4;box-shadow:inset 3px 0 #c56ce4}.pd-note-top{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.pd-note h3{margin:0 0 7px;font-size:1.12rem;overflow-wrap:anywhere}.pd-note-meta{color:#a9c2da;font-size:.78rem}.pd-note-content{white-space:pre-wrap;overflow-wrap:anywhere;color:#e0eaf6;line-height:1.65;margin:12px 0}.pd-tags{display:flex;gap:6px;flex-wrap:wrap}.pd-tag{font-size:.72rem;border-radius:20px;background:#173957;color:#aee9f4;padding:4px 9px}.pd-note-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.pd-note-actions button{border:1px solid #426b89;background:#142e4b;color:#e6f6ff;padding:7px 10px;border-radius:9px}.pd-empty{text-align:center;padding:28px;color:#b9cce0}.pd-data-tools{border-top:1px solid #31516d;padding-top:16px;margin-top:18px}.pd-import-btn{display:inline-flex;cursor:pointer}.pd-import-btn input{display:none}.pd-privacy{border-color:#74508b;background:#151a36}.pd-privacy strong{color:#e0b7fa}.pd-footer{text-align:center;color:#9cb4cc;padding:20px;border-top:1px solid #254760}.pd-new{white-space:nowrap}@media(max-width:600px){.pd-wrap{width:calc(100% - 20px);margin-top:14px}.pd-hero,.pd-editor,.pd-list-section,.pd-privacy{padding:16px;border-radius:18px}.pd-fields,.pd-tools{grid-template-columns:1fr}.pd-section-head{align-items:flex-start}.pd-stats{gap:6px}.pd-stats div{padding:9px}.pd-stats span{font-size:.68rem}.pd-form-actions>*{flex:1}.pd-pin-check{margin-left:0;flex-basis:100%}.pd-note-top{flex-direction:column}.pd-data-tools>*{flex:1;text-align:center;justify-content:center}}@media print{.pd-header,.pd-editor,.pd-tools,.pd-data-tools,.pd-note-actions,.pd-privacy,.pd-footer,.pd-new{display:none!important}.rm-personal-diary{background:white;color:#111}.pd-list-section,.pd-note{background:white;color:#111;border:1px solid #aaa;box-shadow:none}.pd-note-content,.pd-note-meta{color:#222}.pd-wrap{width:100%;margin:0}.pd-hero{background:white;color:#111;box-shadow:none;border:0}.pd-hero p{color:#333}}