@import"https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&display=swap";.schedule-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:26px;align-items:start}.schedule-main-column,.schedule-side-column{display:flex;flex-direction:column;gap:26px}.schedule-calendar-card,.schedule-day-card,.schedule-side-card{background:#fff;border:1px solid #ece5de;border-radius:20px;box-shadow:0 16px 34px #2a27240f}.schedule-calendar-card{overflow:hidden}.schedule-calendar-header{min-height:52px;padding:0 20px;display:flex;justify-content:space-between;align-items:center;background:linear-gradient(90deg,#ffe5ed,#fff4f7 42%,#e2f3ff)}.schedule-calendar-header strong{color:#302d2b;font-size:18px;font-weight:900}.schedule-calendar-header button{width:32px;height:32px;border-radius:8px;border:0;background:#fff;color:#302d2b;display:inline-flex;align-items:center;justify-content:center;padding:0}.calendar-weekdays,.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.calendar-weekdays{padding:20px 24px 0}.calendar-weekdays div{color:#5e5955;font-size:14px;font-weight:800;text-align:center}.calendar-grid{gap:12px 18px;padding:22px 24px 28px}.calendar-day{position:relative;width:100%;min-height:42px;border-radius:8px;border:1px solid transparent;background:transparent;color:#5a5551;display:inline-flex;align-items:center;justify-content:center;font-size:14px;padding:0}.calendar-day.empty{visibility:hidden;pointer-events:none}.calendar-day:hover{background:#fff7fa}.calendar-day.active{border-color:#f2cfdc;background:#fff8fb;color:#302d2b;font-weight:900}.calendar-day.has-session:after{content:"";position:absolute;bottom:7px;width:4px;height:4px;border-radius:50%;background:#c69af7}.schedule-day-card,.schedule-side-card{padding:22px 24px}.schedule-section-header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px}.schedule-section-header h3,.schedule-side-card h3,.schedule-modal-card h3,.schedule-cancel-card h3{margin:0;color:#302d2b;font-size:18px;font-weight:900}.schedule-soft-btn,.schedule-muted-btn,.schedule-wide-btn{min-height:36px;border-radius:8px;border:1px solid #dcdde1;background:#fff;color:#302d2b;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:14px;font-weight:700}.schedule-soft-btn{padding:0 14px;background:linear-gradient(90deg,#fff4f8,#f2f9ff)}.schedule-wide-btn{width:100%;margin-top:18px;background:linear-gradient(90deg,#fff4f8,#f2f9ff)}.schedule-session-list,.schedule-request-list,.schedule-info-list{display:flex;flex-direction:column}.schedule-session-row{display:grid;grid-template-columns:70px 44px minmax(0,1fr) auto;align-items:center;gap:16px;padding:16px 0;border-bottom:1px solid #ebe6e0}.schedule-session-row:last-child{border-bottom:0}.schedule-session-row time{color:#3f3a36;font-weight:700}.schedule-session-row img,.schedule-request-row img{width:44px;height:44px;border-radius:50%;object-fit:cover;box-shadow:0 5px 12px #332d2829}.schedule-session-row strong,.schedule-request-row strong{display:block;color:#302d2b;font-size:15px;font-weight:900}.schedule-session-row span,.schedule-request-row span{color:#665f59;font-size:14px}.schedule-session-actions{display:flex;align-items:center;gap:10px}.schedule-icon-danger{width:36px;height:36px;border-radius:8px;border:1px solid #ff8b87;background:#fff;color:#e32821;display:inline-flex;align-items:center;justify-content:center;padding:0}.schedule-side-card h4{margin:18px 0 10px;color:#302d2b;font-size:15px;font-weight:900}.schedule-status-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.schedule-status-row button{min-height:28px;padding:0 10px;border:0;border-radius:999px;background:transparent;color:#5f5a55;display:inline-flex;align-items:center;gap:6px;font-size:13px}.schedule-status-row button span{width:8px;height:8px;border-radius:50%;background:currentColor}.schedule-status-row button.active{background:#dff8eb;color:#279864}.schedule-info-row{min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #ebe6e0}.schedule-info-row:last-child{border-bottom:0}.schedule-info-row span{color:#665f59;font-size:14px}.schedule-info-row strong{color:#3a3531;font-size:14px;text-align:right}.schedule-request-row{display:grid;grid-template-columns:48px minmax(0,1fr);gap:14px;padding:14px 0;border-bottom:1px solid #ebe6e0}.schedule-request-row:last-child{border-bottom:0}.schedule-request-row div div{display:flex;gap:8px;margin-top:12px}.schedule-modal-overlay{position:fixed;inset:0;z-index:90;display:flex;align-items:center;justify-content:center;padding:24px;background:#1a191861}.schedule-modal-card,.schedule-cancel-card{width:min(94vw,674px);max-height:92vh;overflow-y:auto;border-radius:18px;border:1px solid #dedede;background:#fff;box-shadow:0 24px 60px #1c191833;padding:24px}.schedule-hours-modal{width:min(94vw,760px)}.schedule-modal-heading{display:grid;grid-template-columns:54px minmax(0,1fr) 40px;align-items:start;gap:14px;margin-bottom:22px}.schedule-modal-heading p,.schedule-block-heading p{margin:5px 0 0;color:#605a55;font-size:14px}.schedule-modal-icon{width:52px;height:52px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;color:#fff;background:linear-gradient(135deg,#ffd9e6,#cce8ff)}.schedule-modal-heading>button{width:36px;height:36px;padding:0;border-radius:8px;border:1px solid #dedede;background:#fff;color:#4d4742;display:inline-flex;align-items:center;justify-content:center}.schedule-modal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 14px}.schedule-modal-grid label,.schedule-modal-notes,.schedule-new-block label,.schedule-cancel-card label{display:flex;flex-direction:column;gap:8px}.schedule-modal-grid span,.schedule-modal-notes span,.schedule-new-block span,.schedule-cancel-card label>span{color:#302d2b;font-size:14px;font-weight:900}.schedule-modal-grid input,.schedule-modal-grid select,.schedule-modal-notes textarea,.schedule-hour-row select,.schedule-new-block input,.schedule-new-block select,.schedule-cancel-card textarea{width:100%;min-height:44px;border-radius:9px;border:1px solid #dedede;background:#f8f8f9;color:#302d2b;padding:0 12px;font:inherit;box-sizing:border-box}.schedule-modal-grid small{color:#d92d20;font-size:12px}.schedule-modal-notes{margin-top:18px}.schedule-modal-notes textarea,.schedule-cancel-card textarea{min-height:76px;padding:12px;resize:vertical}.schedule-modal-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}.schedule-hours-list{display:flex;flex-direction:column;gap:12px}.schedule-hour-row{min-height:56px;padding:0 14px;border-radius:14px;border:1px solid #dedede;background:#fafafa;display:grid;grid-template-columns:52px 110px 36px minmax(116px,1fr) 24px minmax(116px,1fr) 116px;align-items:center;gap:10px}.schedule-hour-row strong{color:#302d2b}.schedule-hour-row>span,.schedule-hour-row em,.schedule-hour-row p{color:#625c57;font-size:13px;font-style:normal}.schedule-hour-row p{grid-column:3 / -1}.schedule-toggle{width:46px;height:26px;padding:0;border:1px solid #c4d6ef;border-radius:999px;background:#d9d9d9;position:relative}.schedule-toggle span{position:absolute;top:2px;left:2px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 2px 6px #2b27242e}.schedule-toggle.active{background:linear-gradient(90deg,#f2bed3,#d6e8ff)}.schedule-toggle.active span{transform:translate(20px)}.schedule-block-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-top:22px}.schedule-new-block{display:grid;grid-template-columns:minmax(0,1fr) minmax(160px,190px) minmax(170px,190px);gap:14px;margin-top:16px;padding:16px;border-radius:14px;border:1px solid #dedede;background:#fafafa}.schedule-new-block h4{grid-column:1 / -1;margin:0}.schedule-new-block>div{grid-column:1 / -1;display:flex;justify-content:flex-end;gap:10px}.schedule-cancel-card{width:min(94vw,360px);text-align:center}.schedule-cancel-icon{width:64px;height:64px;margin:0 auto 12px;border-radius:10px;border:1px solid #ff8b87;background:#fff4f4;color:#b42318;display:flex;align-items:center;justify-content:center}.schedule-cancel-card p{margin:4px 0 14px;color:#5f5a55}.schedule-cancel-summary{padding:12px;border-radius:9px;border:1px solid #dce6ef;background:linear-gradient(90deg,#fff7fa,#eff8ff);text-align:left}.schedule-cancel-summary strong,.schedule-cancel-summary span{display:block}.schedule-cancel-card label{margin-top:14px;text-align:left}.schedule-cancel-card label span{display:flex;justify-content:space-between}.schedule-cancel-card em{color:#77716c;font-style:normal;font-weight:500}.schedule-cancel-card>div:last-child{display:flex;gap:10px;margin-top:18px}.schedule-danger-btn{min-height:36px;padding:0 14px;border-radius:9px;border:1px solid #ff8b87;background:#fff9f9;color:#c01c16;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:14px;font-weight:900}@media(max-width:1180px){.schedule-layout{grid-template-columns:1fr}}@media(max-width:760px){.schedule-calendar-card,.schedule-day-card,.schedule-side-card{border-radius:16px}.calendar-grid{gap:6px;padding:16px 12px 20px}.calendar-weekdays{padding:16px 12px 0}.schedule-session-row{grid-template-columns:1fr;align-items:start}.schedule-session-actions,.schedule-modal-actions,.schedule-cancel-card>div:last-child,.schedule-block-heading{flex-direction:column}.schedule-modal-grid,.schedule-new-block{grid-template-columns:1fr}.schedule-hour-row{grid-template-columns:52px 1fr;padding:14px}.schedule-hour-row>span,.schedule-hour-row select,.schedule-hour-row em,.schedule-hour-row p{grid-column:1 / -1}}:root{font-family:Poppins,Inter,Segoe UI,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--black: #000000;--white: #ffffff;--gray: #6d6d6d;--gray-light: #e5d9e1;--gray-medium: #ada3b9;--gray-dark: #716c84;--paper-offwhite: #fff9f3;--blue-soft: #eff6ff;--blue-light: #dbeafe;--blue-medium: #bfdbfe;--blue-dark: #93c5fd}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}html,body,#root{height:100%}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media(prefers-color-scheme:light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}.background-picker{display:flex;gap:10px;padding:12px;justify-content:center}.bg-swatch{width:32px;height:32px;border-radius:50%;border:1px solid rgba(0,0,0,.1);cursor:pointer}.text-object{position:absolute;cursor:move;-webkit-user-select:none;user-select:none;padding:4px 6px;border-radius:6px}.text-object.active{outline:1px dashed rgba(0,0,0,.3)}.text-panel{position:fixed;bottom:70px;left:50%;transform:translate(-50%);background:#fff;padding:12px;border-radius:12px;box-shadow:0 10px 30px #00000026;width:320px}.text-panel textarea{width:100%;height:80px;resize:none}.text-controls{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.char-count{font-size:11px;color:#666;margin-top:4px}.image-object{position:absolute;cursor:move;border-radius:6px;overflow:hidden}.image-object img{width:100%;height:100%;object-fit:cover}.image-object.active{outline:2px solid rgba(0,0,0,.25)}.resize-handle{position:absolute;right:-6px;bottom:-6px;width:12px;height:12px;background:#fff;border:1px solid #000;cursor:nwse-resize}.photo-btn{position:relative;cursor:pointer}:root{--gray-dark: #2B2B2B;--gray: #6D6D6D;--border: #DEDEDE;--bg-soft: #FAFAF8;--pink-light: #FFE4E8;--pink-border: #FEA3B4;--blue-soft: #D1E9FF;--blue-border: #84CAFF;--accent: #9B2C49}body{margin:0;font-family:Poppins,system-ui,sans-serif;background:#f5f5f5;color:var(--gray-dark)}.auth-container,.start-container{width:100%;height:100vh;display:flex;overflow:hidden}.auth-left,.start-left{width:60%;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#fecdd6,#ffe4e8,#fff1f3,#eff8ff,#d1e9ff,#b2ddff)}.auth-left-content,.start-left-content{max-width:480px;width:100%;padding-left:80px;display:flex;flex-direction:column}.auth-right,.start-right{width:40%;min-width:420px;background:var(--bg-soft);display:flex;align-items:center;justify-content:center;padding:40px 20px;box-sizing:border-box;overflow-y:auto;scrollbar-gutter:stable;border-top-left-radius:40px;border-bottom-left-radius:40px}.auth-right-inner{width:100%;max-width:440px;display:flex;flex-direction:column;justify-content:center;margin:auto 0}.register-ui{width:100%;max-width:440px;display:flex;flex-direction:column;gap:18px}.brand{display:flex;align-items:center;gap:16px;margin-bottom:30px}.logo-box{width:76px;height:76px;background:#fff;border-radius:20px;display:flex;align-items:center;justify-content:center}.logo-box img{width:64px}.headline{font-size:42px;font-weight:800;line-height:55px;margin-bottom:18px}.headline span{color:var(--accent)}.description{font-size:13px;line-height:20px;color:#4b5563;max-width:400px;margin-bottom:26px}.feature-tags{display:grid;grid-template-columns:repeat(3,max-content);gap:10px 12px}@media(max-width:1200px){.feature-tags{grid-template-columns:repeat(2,max-content)}}.tag{height:30px;padding:0 14px;display:flex;align-items:center;justify-content:center;border-radius:100px;font-size:12px;font-weight:600}.tag.pink{background:var(--pink-light);border:1px solid var(--pink-border)}.tag.blue{background:var(--blue-soft);border:1px solid var(--blue-border)}.auth-right h2{font-size:24px;font-weight:700;margin-bottom:6px}.subtext{font-size:13px;margin-bottom:20px}.role-badge{display:inline-flex;align-items:center;gap:10px;padding:6px 14px;margin-bottom:14px;border-radius:999px;background:linear-gradient(135deg,#fff1f3,#eff8ff);border:1px solid var(--border);width:fit-content}.role-badge-icon{width:28px;height:28px;border-radius:8px;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid var(--border)}.role-badge-icon img{width:16px}.change-role{font-size:13px;font-weight:600;cursor:pointer;opacity:.7;margin-bottom:8px}.change-role:hover{opacity:1}.auth-role-card,.role-card{display:flex;align-items:center;gap:16px;min-height:88px;padding:14px 16px;border-radius:20px;border:1px solid var(--border);margin-bottom:14px;background:#fff;cursor:pointer;transition:.2s ease}.auth-role-card:hover,.role-card:hover{transform:translateY(-2px);box-shadow:0 10px 24px #00000014}.auth-role-icon,.role-icon{width:48px;height:48px;border-radius:16px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.auth-role-icon img,.role-icon img{width:22px;height:22px}.auth-role-icon,.role-icon.blue{background:#e0f2fe;border:1px solid #84CAFF}.role-icon.pink{background:#ffe4e8;border:1px solid #FEA3B4}.auth-role-text,.role-text{flex:1;display:flex;flex-direction:column}.auth-role-text strong,.role-text strong{display:block;font-size:14px;font-weight:700;color:#111827;margin-bottom:2px}.auth-role-text span,.role-text span{font-size:12px;color:#6b7280}.chevron{font-size:28px;line-height:1;color:#98a2b3}.login-text{margin-top:8px;font-size:13px;text-align:center;color:#667085}.login-text span{font-weight:700;cursor:pointer}.auth-form{display:flex;flex-direction:column;gap:18px;width:100%}.auth-form label{font-size:12px;font-weight:600;margin-bottom:4px}.register-name-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.register-field{display:flex;flex-direction:column;gap:4px;min-width:0}.auth-input,.input-icon{display:flex;align-items:center;gap:10px;height:46px;padding:0 12px;background:#f8f8f8;border:1px solid #e5e5e5;border-radius:12px}.auth-input input,.input-icon input,.input-icon select{flex:1;border:none;background:transparent;outline:none;font-size:14px;color:#111827}.auth-input input::placeholder{color:#9ca3af}.input-icon input::placeholder{color:#9ca3af}.input-icon img{width:18px;height:18px;flex-shrink:0}.auth-toggle,.toggle-password{border:none;background:transparent;cursor:pointer;padding:0;font-size:16px;color:#667085}.password-checklist{display:grid;gap:8px;margin-top:-6px}.password-check{font-size:12px;color:#667085}.password-check.passed{color:#027a48;font-weight:500}.name-row{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px}.name-row input{width:100%;height:46px;border-radius:12px;border:1px solid var(--border);background:#f3f3f3;padding:0 10px;color:#111827}.register-field input{width:100%;height:46px;box-sizing:border-box;border-radius:12px;border:1px solid var(--border);background:#f3f3f3;padding:0 10px;color:#111827}.st-upload-box{border:1px solid var(--border);border-radius:14px;padding:16px;background:linear-gradient(135deg,#fff1f3,#eff6ff)}.st-upload-box-plain{cursor:pointer}.st-upload-header{display:flex;align-items:center;gap:10px;font-weight:600}.st-upload-desc{font-size:12px;color:#6b7280;margin:8px 0 12px}.st-upload-btn{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:10px;border:1px dashed var(--border);cursor:pointer}.st-upload-btn-full{justify-content:center;min-height:48px}.register-actions{display:flex;justify-content:flex-end;gap:12px}.register-actions.space-between{justify-content:space-between}.secondary-btn{min-width:120px;height:46px;border-radius:14px;border:1px solid var(--border);background:#fff;color:#111827;font-weight:600;cursor:pointer}.st-gradient-btn{width:100%;height:46px;border-radius:14px;border:none;background:linear-gradient(90deg,#f8c7cf,#f1d4dc,#dbeafe,#bfdbfe);font-weight:700;font-size:15px;display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;box-shadow:0 8px 20px #00000014;color:#111827}.gradient-btn,.auth-button{width:100%;min-height:46px;padding:12px 16px;border-radius:14px;border:none;background:linear-gradient(90deg,#f8c7cf,#f1d4dc,#dbeafe,#bfdbfe);font-weight:700;font-size:15px;display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;box-shadow:0 8px 20px #00000014;color:#111827}.gradient-btn:disabled,.st-gradient-btn:disabled,.auth-button:disabled{cursor:wait;opacity:.72}.admin-page{min-height:100vh;background:#f7f7f7;color:#2f2f33;font-family:Poppins,Inter,sans-serif}.admin-topbar{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 36px;background:#fff;border-bottom:1px solid #dedede}.admin-brand{display:inline-flex;align-items:center;gap:14px;font-size:20px}.admin-brand img{width:48px;height:48px;object-fit:contain}.admin-topbar>span{font-size:12px;color:#343434}.admin-shell{min-height:calc(100vh - 76px);display:flex;align-items:center;justify-content:center;padding:48px 20px}.admin-card{width:min(100%,560px);overflow:hidden;border-radius:14px;background:#fff;box-shadow:0 18px 38px #20202014}.admin-form-card{width:min(100%,600px)}.admin-login-card{width:min(100%,480px)}.admin-card-gradient{position:relative;min-height:104px;padding:28px 32px;display:flex;flex-direction:column;justify-content:center;background:linear-gradient(105deg,#ffe0e8,#fff6fb 46%,#cfeaff)}.admin-card-gradient h1{margin:0;font-size:22px;line-height:1.2;font-weight:800;letter-spacing:0}.admin-card-gradient p{margin:6px 0 0;font-size:13px;color:#565656}.admin-back-btn{width:fit-content;margin:0 0 10px;padding:0;border:0;background:transparent;color:#525252;font:inherit;font-size:12px;font-weight:700;cursor:pointer}.admin-logout-link{position:absolute;top:22px;right:28px;border:0;background:transparent;color:#555;font:inherit;font-size:12px;font-weight:700;cursor:pointer}.admin-role-list{display:grid;gap:16px;width:min(100%,390px);margin:56px auto 76px}.admin-role-card{width:100%;min-height:78px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:18px;padding:14px 18px;border:1px solid #dedede;border-radius:14px;background:#fff;text-align:left;color:#2f2f33;cursor:pointer;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.admin-role-card:hover{border-color:#b9ddff;box-shadow:0 12px 24px #5e9fdd24;transform:translateY(-1px)}.admin-role-icon{width:48px;height:48px;display:inline-grid;place-items:center;border-radius:10px}.admin-role-icon.counselor{color:#64b5ff;background:#eef8ff;border:1px solid #bfe4ff}.admin-role-icon.writer{color:#ff9fb9;background:#fff1f6;border:1px solid #ffd5e2}.admin-role-card strong,.admin-role-card small{display:block}.admin-role-card strong{font-size:13px;font-weight:800}.admin-role-card small{margin-top:3px;color:#595959;font-size:11px}.admin-form-body{padding:26px 34px 32px}.admin-role-summary{width:fit-content;display:inline-flex;align-items:center;gap:8px;margin-bottom:18px;padding:7px 12px;border-radius:999px;background:#eef8f3;color:#1e7a55;font-size:12px;font-weight:700}.admin-name-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.admin-name-grid label,.admin-field{display:grid;gap:7px;margin-bottom:14px}.admin-name-grid span,.admin-field>span{font-size:11px;font-weight:800}.admin-name-grid input,.admin-input-icon{width:100%;height:43px;border:1px solid #d5d5d5;border-radius:8px;background:#f7f7f7}.admin-plain-input{width:100%;height:43px;padding:0 12px;border:1px solid #d5d5d5;border-radius:8px;background:#f7f7f7;color:#2f2f33;font:inherit;font-size:13px}.admin-name-grid input,.admin-input-icon input{color:#2f2f33;font:inherit;font-size:13px}.admin-name-grid input{padding:0 12px}.admin-input-icon{display:flex;align-items:center;gap:10px;padding:0 12px}.admin-input-icon img{width:18px;height:18px;opacity:.72}.admin-input-icon input{min-width:0;flex:1;border:0;outline:0;background:transparent}.admin-password-input button{width:32px;height:32px;display:inline-grid;place-items:center;border:1px solid #d8d8d8;border-radius:8px;background:#fff;color:#373737;cursor:pointer}.admin-password-rules{display:flex;flex-wrap:wrap;gap:8px;margin:-4px 0 16px}.admin-password-rules span{padding:5px 9px;border-radius:999px;background:#ededed;color:#6c6c6c;font-size:11px;font-weight:700}.admin-password-rules span.passed{background:#dbf8e7;color:#22724d}.admin-preview-box{display:grid;gap:4px;margin:16px 0;padding:14px;border:1px solid #dbeefe;border-radius:10px;background:linear-gradient(105deg,#ffe2eb99,#d3ecffa6)}.admin-preview-box span,.admin-preview-box strong,.admin-preview-box em{font-style:normal}.admin-preview-box span{font-size:14px;font-weight:800}.admin-preview-box strong,.admin-preview-box em{font-size:12px;color:#575757}.admin-temp-password-note{display:grid;gap:6px;margin:16px 0;padding:14px;border:1px solid #ffe0a3;border-radius:10px;background:#fff9eb}.admin-temp-password-note strong,.admin-temp-password-note span{font-size:13px}.admin-temp-password-note span{font-weight:800}.admin-temp-password-note p{margin:0;color:#765a18;font-size:12px;line-height:1.5}.admin-debug-panel{margin:14px 0;border:1px solid #f4a7a7;border-radius:10px;background:#fff7f7;color:#8b1111}.admin-debug-panel summary{padding:10px 12px;font-size:12px;font-weight:800;cursor:pointer}.admin-debug-panel pre{max-height:240px;margin:0;padding:0 12px 12px;overflow:auto;white-space:pre-wrap;font-size:11px}.admin-primary-btn{width:100%;min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:10px;border:0;border-radius:8px;background:linear-gradient(105deg,#ffc3d1,#c0e4ff);color:#202027;font:inherit;font-size:13px;font-weight:800;cursor:pointer;box-shadow:0 10px 20px #82b9eb2e}.admin-primary-btn:disabled{opacity:.62;cursor:wait}.admin-secondary-btn{width:100%;min-height:46px;border:1px solid #d7d7d7;border-radius:8px;background:#f3f3f3;color:#292929;font:inherit;font-size:13px;font-weight:800;cursor:pointer}.admin-name-grid small,.admin-field small{color:#c92323;font-size:11px;font-weight:600}.admin-confirmation-card{width:min(100%,520px)}.admin-success-icon{width:58px;height:58px;display:inline-grid;place-items:center;margin-bottom:14px;border:1px solid #90e8bd;border-radius:16px;background:#f1fff8;color:#18764b}.admin-login-icon{color:#2870a8;border-color:#bde3ff;background:#f0f9ff}.admin-confirmation-body{display:grid;gap:14px;padding:30px 34px 34px}.admin-confirmation-body div{display:flex;justify-content:space-between;gap:18px;padding-bottom:12px;border-bottom:1px solid #ededed}.admin-confirmation-body span{color:#666;font-size:12px}.admin-confirmation-body strong{text-align:right;font-size:13px}.success-box{display:flex;align-items:center;gap:10px;background:#ecfdf5;border:1px solid #10B981;padding:10px;border-radius:10px}.success-box img{width:18px;height:18px}.error-box{background:#fef3f2;border:1px solid #FDA29B;color:#b42318;padding:10px 12px;border-radius:10px;font-size:13px}.info-box{display:flex;align-items:center;gap:10px;background:#eff8ff;border:1px solid #B2DDFF;color:#1d4ed8;padding:12px;border-radius:12px;font-size:13px}.info-box img{width:18px;height:18px}.error-text{font-size:12px;color:red}.auth-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px;background:linear-gradient(135deg,#fff1f3,#eff8ff)}.auth-card{width:100%;max-width:420px;padding:28px;border-radius:24px;border:1px solid var(--border);background:#fff;box-shadow:0 20px 40px #0f172a14;display:flex;flex-direction:column;gap:14px}.auth-card h2{margin:0}.auth-card label{font-size:12px;font-weight:600}.auth-card input{width:100%;height:46px;border-radius:12px;border:1px solid var(--border);background:#f8f8f8;padding:0 12px;outline:none}.profile-page{min-height:100vh;background:linear-gradient(180deg,#fff6f8,#f7fafc);padding:24px;box-sizing:border-box}.profile-topbar{max-width:1120px;margin:0 auto 24px;display:flex;justify-content:space-between;align-items:center;gap:16px}.top-left{display:flex;align-items:center;gap:12px;font-weight:700}.top-left img{width:48px;height:48px;object-fit:contain}.top-right{font-size:13px;color:#344054;font-weight:500}.profile-content{max-width:1120px;margin:0 auto}.profile-wrapper{display:flex;justify-content:center}.profile-shell{width:100%;max-width:820px}.profile-card{width:100%;background:#fff;border:1px solid var(--border);border-radius:28px;overflow:hidden;box-shadow:0 24px 48px #0f172a14}.stepper{display:flex;align-items:center;gap:16px;margin-bottom:28px;padding:0 8px}.step-group{display:flex;align-items:center;gap:12px;color:#98a2b3;font-size:13px;font-weight:600}.step-group.active{color:#111827}.step-group.completed{color:#344054}.step{width:44px;height:44px;border-radius:50%;border:1px solid var(--border);display:flex;align-items:center;justify-content:center;background:#f8f8f8;box-shadow:0 10px 24px #0f172a14;font-size:20px;font-weight:600}.step-group.active .step,.step-group.completed .step{background:linear-gradient(135deg,#fff1f3,#eff8ff);border-color:#d0d5dd}.line{flex:1;height:1px;background:#e4e7ec}.line.active{background:linear-gradient(90deg,#fea3b4,#84caff)}.card-header{margin-bottom:24px;padding:18px 24px 28px;background:linear-gradient(90deg,#ffe3e8,#eef7ff)}.card-header.compact{margin-bottom:20px}.badge{display:inline-flex;align-items:center;padding:6px 12px;border-radius:999px;background:linear-gradient(135deg,#fff1f3,#eff8ff);border:1px solid var(--border);font-size:12px;font-weight:600;margin-bottom:12px}.card-header h2{margin:0 0 8px}.card-header p{margin:0;color:#667085}.form-body{display:flex;flex-direction:column;gap:16px;padding:0 24px 24px}.form-body label{font-size:12px;font-weight:600;margin-bottom:-6px;color:#344054}.form-body>input,.form-body>select{width:100%;height:46px;border-radius:12px;border:1px solid var(--border);background:#f8f8f8;padding:0 12px;outline:none;color:#111827}.name-row,.row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.row{grid-template-columns:1fr 1fr;gap:12px}.name-row input,.row input,.row select{width:100%;height:46px;border-radius:12px;border:1px solid var(--border);background:#f8f8f8;padding:0 12px;outline:none;color:#111827}.photo-row{display:grid;grid-template-columns:120px 1fr;gap:20px;align-items:center}.avatar-preview{width:120px;height:120px;border-radius:50%;overflow:hidden;border:4px solid #ffffff;box-shadow:0 10px 24px #0f172a1f;background:linear-gradient(135deg,#fff1f3,#eff8ff)}.avatar-preview img{width:100%;height:100%;object-fit:cover}.upload-box{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:6px;min-height:120px;border:1px dashed var(--border);border-radius:18px;padding:18px;background:linear-gradient(135deg,#fffafb,#f8fbff);cursor:pointer}.upload-box input{display:none}.upload-icon{width:36px;height:36px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid var(--border);font-size:18px;color:#344054}.upload-main{font-weight:600;color:#111827}.upload-box small{color:#667085}.availability-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.status-box{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:14px;border:1px solid var(--border);background:#f8f8f8;cursor:pointer;transition:.2s ease;color:#111827;min-height:56px;font-weight:500}.status-box .dot{width:14px;height:14px;border-radius:50%}.status-box.green .dot{background:#12b76a}.status-box.yellow .dot{background:#fdb022}.status-box.blue .dot{background:#53b1fd}.status-box.red .dot{background:#f97066}.status-box.gray .dot{background:#98a2b3}.status-box.active{box-shadow:0 0 0 2px #00000008 inset}.status-box.green.active{background:#ecfdf3;border-color:#a6f4c5}.status-box.yellow.active{background:#fffaeb;border-color:#fedf89}.status-box.red.active{background:#fef3f2;border-color:#fecdca}.status-box.gray.active{background:#f2f4f7;border-color:#d0d5dd}.availability-row-wide{grid-template-columns:repeat(4,minmax(0,1fr))}.card-footer{display:flex;justify-content:flex-end;gap:16px;padding:20px 24px 24px;border-top:1px solid #eaecf0}.card-footer.space-between{justify-content:space-between}.back-btn{min-height:46px;padding:12px 16px;border-radius:14px;border:1px solid var(--border);background:#fff;font-weight:600;cursor:pointer;color:#111827}.profile-action-btn{width:auto;min-width:236px;color:#111827}.profile-page .gradient-btn,.profile-page .status-box{color:#111827}.profile-note{margin:14px 0 0;text-align:center;font-size:13px;color:#344054}.auth-footer{font-size:13px;text-align:center}.auth-footer span{font-weight:700;cursor:pointer}.auth-mobile-brand{display:none}@media(max-width:1024px){.auth-left,.start-left{display:none}.auth-right,.start-right{width:100%;min-width:unset;border-radius:0;padding:24px 20px;align-items:flex-start}.auth-right-inner,.register-ui{max-width:420px;margin:0 auto}.auth-mobile-brand{display:block;margin-bottom:18px}.auth-mobile-logo{display:flex;align-items:center;gap:10px;margin-bottom:6px}.auth-mobile-logo img{width:34px;height:34px;border-radius:10px;background:#fff;padding:4px}.auth-mobile-logo span{font-size:18px;font-weight:700}.auth-mobile-tagline{font-size:12px;color:#6b7280}.profile-topbar{flex-direction:column;align-items:flex-start}.profile-card{border-radius:24px}.photo-row,.row,.name-row{grid-template-columns:1fr}}@media(max-width:640px){.admin-topbar{height:auto;align-items:flex-start;gap:12px;padding:18px;flex-direction:column}.admin-shell{min-height:calc(100vh - 104px);align-items:flex-start;padding:22px 14px}.admin-card-gradient,.admin-form-body,.admin-confirmation-body{padding-left:20px;padding-right:20px}.admin-name-grid{grid-template-columns:1fr;gap:0}.admin-role-list{margin:34px auto 46px;padding:0 18px}.admin-confirmation-body div{display:grid}.admin-confirmation-body strong{text-align:left}.auth-container,.start-container{height:auto;min-height:100vh}.name-row,.register-name-grid,.availability-row,.mini-stepper{grid-template-columns:1fr}.register-actions,.register-actions.space-between{flex-direction:column}.secondary-btn,.st-gradient-btn{width:100%}.profile-page{padding:16px}.profile-card{border-radius:20px}.stepper{flex-direction:column;align-items:flex-start}.line{width:100%}.availability-row,.availability-row-wide{grid-template-columns:1fr}.card-footer,.card-footer.space-between{flex-direction:column}.profile-action-btn,.back-btn{width:100%}}.auth-left,.auth-right,.start-left,.start-right{height:100%}body{background:var(--bg-soft)}.portal-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.portal-header h2{margin:0 0 6px;color:#2b2b2b;font-size:22px;font-weight:800}.portal-header p{margin:0;color:#667085;font-size:15px}.portal-header-button{width:auto;flex-shrink:0}.portal-header-actions{display:flex;gap:8px;align-items:center}.portal-header-actions .tab-btn{border-radius:10px;padding:8px 12px;font-weight:700;border:2px solid #111827;background:#fff;color:#111827;cursor:pointer}.portal-header-actions .tab-btn.active{background:#111827;color:#fff;box-shadow:0 6px 14px #1118271f}.settings-layout{display:grid;grid-template-columns:186px minmax(0,1fr);gap:22px;align-items:start}.settings-tabs,.settings-panel{border-radius:18px;background:#fff;box-shadow:0 16px 34px #2a272414}.settings-tabs{padding:14px}.settings-tabs button{width:100%;min-height:34px;padding:0 10px;border:0;border-radius:8px;background:transparent;color:#5f5a55;display:flex;align-items:center;gap:10px;font-size:14px;text-align:left}.settings-tabs button.active{background:linear-gradient(90deg,#ffe8ef,#dcf0ff);color:#292625;font-weight:800}.settings-tabs button.danger{color:#d01812}.settings-tabs-divider{height:1px;margin:12px 8px;background:#eee8e2}.settings-panel{min-height:220px;padding:18px 20px}.settings-panel h3{margin:0 0 4px;color:#2e2a28;font-size:18px;font-weight:900}.settings-panel>p{margin:0 0 18px;color:#5e5854;font-size:14px}.settings-profile-banner{min-height:100px;padding:14px 18px;border-radius:18px;border:1px solid #d8eaff;background:linear-gradient(90deg,#fff4f7,#fff 56%,#eef8ff);display:flex;align-items:center;gap:18px;margin-bottom:16px}.settings-profile-banner>img{width:70px;height:70px;border-radius:50%;object-fit:cover;border:4px solid #ffffff;box-shadow:0 8px 18px #3a332e26}.settings-profile-banner strong,.settings-profile-banner span{display:block}.settings-profile-banner strong{color:#302d2b;font-size:16px;font-weight:900}.settings-profile-banner span{margin-top:3px;color:#5f5954;font-size:13px}.settings-upload-btn{width:fit-content;min-height:28px;margin-top:10px;padding:0 12px;border-radius:8px;border:1px solid #dedede;background:#fff;color:#3f3a37;display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:700;cursor:pointer}.settings-upload-btn input{display:none}.settings-field{display:flex;flex-direction:column;gap:7px;margin-top:12px}.settings-field>span{color:#302d2b;font-size:13px;font-weight:800}.settings-field input,.settings-field select{width:100%;min-height:36px;border-radius:8px;border:1px solid #dedede;background:#f8f8f9;padding:0 12px;color:#393532;font-size:14px;outline:none;box-sizing:border-box}.settings-name-grid,.settings-two-grid{display:grid;gap:14px}.settings-name-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.settings-two-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-input-icon{position:relative}.settings-input-icon svg{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#635d58}.settings-input-icon input{padding-left:38px}.settings-availability-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.settings-availability-row button{min-height:26px;padding:0 10px;border:0;border-radius:999px;background:transparent;color:#5d5752;font-size:13px}.settings-availability-row button.active{background:#dff8eb;color:#279864;font-weight:800}.settings-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:18px}.settings-primary-btn,.settings-secondary-btn{min-height:36px;padding:0 18px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:13px;font-weight:800}.settings-primary-btn{border:1px solid #bfdfff;background:linear-gradient(90deg,#ffe2eb,#dff1ff);color:#302d2b}.settings-secondary-btn{border:1px solid #dedede;background:#eeeeef;color:#393532}.settings-password-panel{max-width:680px}.settings-help-text{margin-top:6px!important;margin-bottom:14px!important}.settings-notification-list{display:flex;flex-direction:column}.settings-notification-row{min-height:66px;border-bottom:1px solid #ececec;display:flex;align-items:center;justify-content:space-between;gap:18px}.settings-notification-row:last-child{border-bottom:0}.settings-notification-row strong,.settings-notification-row small{display:block}.settings-notification-row strong{color:#302d2b;font-size:15px;font-weight:900}.settings-notification-row small{margin-top:4px;color:#66605b;font-size:13px}.settings-notification-row input{appearance:none;width:46px;height:26px;border-radius:999px;border:1px solid #c4d6ef;background:linear-gradient(90deg,#f2bed3,#d9d3f0);position:relative;flex:0 0 auto}.settings-notification-row input:after{content:"";position:absolute;top:2px;left:2px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 2px 6px #2b272429;transition:transform .18s ease}.settings-notification-row input:checked:after{transform:translate(20px)}.settings-legal-panel{max-width:760px}.settings-legal-panel h4{margin:18px 0 4px;color:#2f2b28;font-size:15px;font-weight:900}.settings-legal-panel p{color:#4e4844;font-size:14px;line-height:1.55}.analytics-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;padding:0}.analytics-metric-card{min-height:132px;border-radius:16px;border:1px solid #e1e1e1;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:18px}.analytics-metric-icon{width:54px;height:54px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;margin-bottom:2px}.analytics-metric-icon.blue{color:#6bbcff;background:#eff8ff;border:1px solid #cde9ff}.analytics-metric-icon.yellow{color:#f5b936;background:#fff9e9;border:1px solid #ffe7a4}.analytics-metric-icon.green{color:#4fc68f;background:#f1fff8;border:1px solid #c7f3dd}.analytics-metric-icon.red{color:#ff6b6b;background:#fff0f0;border:1px solid #ffd4d4}.analytics-metric-card strong{color:#2b2928;font-size:22px;font-weight:900}.analytics-metric-card span{color:#696461;font-size:13px}.analytics-summary-card{border-radius:16px;border:1px solid #dedede;background:#fff;overflow:hidden}.analytics-summary-titlebar{min-height:56px;padding:0 26px;display:flex;align-items:center;justify-content:space-between;gap:16px;background:linear-gradient(90deg,#fff0f4,#fff 54%,#edf8ff);border-bottom:1px solid #eceff2}.analytics-summary-titlebar h3{margin:0;color:#2f2d2b;font-size:16px;font-weight:800}.analytics-download-btn,.analytics-row-download{min-height:34px;padding:0 14px;border-radius:8px;border:1px solid #d6d6d6;background:#fff;color:#3d3936;display:inline-flex;align-items:center;justify-content:center;gap:6px;font-size:13px}.analytics-table-wrap{overflow-x:auto}.analytics-table{width:100%;border-collapse:collapse;min-width:980px}.analytics-table th,.analytics-table td{padding:18px 26px;text-align:left;border-bottom:1px solid #ebebeb;color:#302d2b;font-size:14px}.analytics-table th{color:#575250;font-size:13px;font-weight:800}.analytics-table tbody tr:last-child td{border-bottom:0}.analytics-user-cell{display:flex;align-items:center;gap:14px;min-width:240px}.analytics-user-cell img{width:42px;height:42px;border-radius:50%;object-fit:cover;box-shadow:0 4px 10px #3c342e2e}.analytics-user-cell strong{font-size:14px;font-weight:800}.analytics-pill{min-height:24px;padding:0 12px;border-radius:999px;display:inline-flex;align-items:center;gap:6px;font-size:13px;text-transform:capitalize}.analytics-pill:before{content:"";width:8px;height:8px;border-radius:50%;background:currentColor;opacity:.7}.analytics-pill.angry,.analytics-pill.high{color:#f05f5a;background:#ffe3e0}.analytics-pill.happy,.analytics-pill.moderate{color:#d29a20;background:#fff0c7}.analytics-pill.sad{color:#48a3e6;background:#dff1ff}.analytics-pill.calm,.analytics-pill.low{color:#31a974;background:#dff8eb}.analytics-pill.stressed,.analytics-pill.neutral{color:#9a63db;background:#f0e2ff}.portal-grid{display:grid;gap:20px}.portal-grid-schedule,.portal-grid-analytics,.portal-grid-settings{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-grid-monitoring{grid-template-columns:minmax(280px,360px) minmax(0,1fr)}.portal-card{background:#fff;border:1px solid #dedede;border-radius:20px;padding:20px;display:flex;flex-direction:column;gap:16px}.portal-card h3,.portal-card h4,.portal-card h5{margin:0;color:#2b2b2b}.portal-card p{margin:0}.portal-card-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.portal-card-header span,.portal-muted,.portal-inline-row small{color:#667085}.portal-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.portal-filter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.portal-field{display:flex;flex-direction:column;gap:6px}.portal-field span{font-size:14px;font-weight:600;color:#344054}.portal-field input,.portal-field select,.portal-filter-grid select,.portal-feedback-box select,.portal-card select,.portal-card input,.portal-card textarea{width:100%;min-height:44px;border-radius:12px;border:1px solid #dedede;background:#f8fafc;padding:10px 12px;outline:none;color:#111827;box-sizing:border-box}.portal-textarea{min-height:110px;resize:vertical}.portal-checkbox{display:flex;align-items:center;gap:10px;color:#344054}.portal-checkbox input{width:auto;min-height:auto}.portal-actions,.portal-inline-actions{display:flex;gap:12px;flex-wrap:wrap}.portal-list{display:flex;flex-direction:column;gap:12px}.portal-list-item{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:14px;border-radius:16px;border:1px solid #eaecf0;background:#fafafa}.portal-list-button{width:100%;background:#fafafa;border:1px solid #eaecf0;text-align:left}.portal-list-button.active{background:linear-gradient(135deg,#fff1f3,#eff8ff);border-color:#d0d5dd}.portal-list-button:hover{border-color:#cbd5e1}.portal-inline-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.portal-pill{display:inline-flex;align-items:center;justify-content:center;padding:4px 10px;border-radius:999px;font-size:13px;font-weight:700;text-transform:capitalize}.portal-pill.neutral,.portal-pill.pending,.portal-pill.blocked,.portal-pill.cancelled,.portal-pill.scheduled{background:#f2f4f7;color:#344054}.portal-pill.high,.portal-pill.denied{background:#fee4e2;color:#b42318}.portal-pill.moderate{background:#fff4e5;color:#b54708}.portal-pill.low,.portal-pill.granted,.portal-pill.active{background:#ecfdf3;color:#067647}.portal-pill.inactive,.portal-pill.negative{background:#fef3f2;color:#b42318}.portal-empty{padding:24px;border-radius:16px;border:1px dashed #d0d5dd;background:#fcfcfd;text-align:center;color:#667085}.portal-two-column{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.portal-stack{display:flex;flex-direction:column;gap:12px}.portal-inline-row{display:flex;justify-content:space-between;gap:16px;align-items:center}.portal-inline-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.portal-stat{border-radius:16px;border:1px solid #eaecf0;background:#fcfcfd;padding:16px}.portal-stat strong{display:block;font-size:24px;color:#111827}.portal-stat span{color:#667085;font-size:14px}.portal-section{display:flex;flex-direction:column;gap:12px}.portal-journal-card,.portal-ai-box,.portal-feedback-box,.portal-legal-box,.portal-consent-box{border-radius:16px;border:1px solid #eaecf0;background:#fcfcfd;padding:16px}.portal-ai-box,.portal-feedback-box{display:flex;flex-direction:column;gap:12px}.portal-media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:12px}.portal-media-grid img{width:100%;aspect-ratio:1 / 1;object-fit:cover;border-radius:12px}.portal-danger-btn{min-height:44px;padding:10px 14px;border-radius:12px;border:1px solid #fda29b;background:#fff5f4;color:#b42318}.portal-toggle-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #eaecf0}.portal-toggle-row:last-child{border-bottom:0}.portal-toggle-row input{width:18px;height:18px;min-height:auto}.portal-permission-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}.portal-entry-picker{display:flex;flex-direction:column;gap:0;border:1px solid #eaecf0;border-radius:16px;background:#fff;padding:0 16px}.portal-capitalize{text-transform:capitalize}.portal-error-text{color:#b42318;font-size:13px}@media(max-width:1120px){.portal-grid-schedule,.portal-grid-analytics,.portal-grid-settings,.portal-grid-monitoring,.portal-two-column{grid-template-columns:1fr}}@media(max-width:720px){.portal-header{flex-direction:column}.portal-form-grid,.portal-filter-grid,.portal-inline-stats,.portal-permission-grid{grid-template-columns:1fr}.portal-list-item,.portal-inline-row{flex-direction:column;align-items:flex-start}}.monitor-shell{display:flex;flex-direction:column;gap:18px}.monitor-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 16px;border-radius:18px;border:1px solid #e8dfd6;background:#fffdfa;box-shadow:0 16px 32px #b8a99714}.monitor-toolbar-left{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.monitor-toolbar select,.monitor-search input{min-height:32px;border:1px solid #e6ddd3;border-radius:10px;background:#fffaf5;color:#5f584f;font-size:14px;padding:0 12px}.monitor-filter-chip{display:inline-flex;align-items:center;gap:8px;min-height:32px;padding:0 12px;border-radius:10px;border:1px solid #e6ddd3;background:#fff;color:#403830;font-size:14px;font-weight:700}.monitor-search{display:inline-flex;align-items:center;gap:8px;min-width:210px;padding:0 10px;border-radius:10px;border:1px solid #e6ddd3;background:#fffdfa;color:#8d8378}.monitor-search input{border:0;background:transparent;padding:0;min-height:36px}.monitor-search input:focus{outline:none}.monitor-directory-list{display:flex;flex-direction:column;gap:16px}.monitor-directory-card,.monitor-card,.monitor-hero-card,.monitor-entry-item{border:1px solid #e8dfd6;background:#fffdfa;box-shadow:0 18px 34px #b8a99714}.monitor-directory-card{display:flex;justify-content:space-between;align-items:center;gap:18px;border-radius:20px;padding:14px 16px}.monitor-card-main{display:flex;align-items:center;gap:14px;flex:1;min-width:0;padding:0;border:0;background:transparent;text-align:left}.monitor-avatar{width:54px;height:54px;flex-shrink:0;border-radius:50%;object-fit:cover;background:linear-gradient(180deg,#ffe8f0,#dbeeff);box-shadow:0 12px 22px #a08d7d24}.monitor-avatar-large{width:86px;height:86px;border:4px solid #ffffff}.monitor-card-copy,.monitor-hero-text{display:flex;flex-direction:column;gap:8px;min-width:0}.monitor-card-title-row,.monitor-meta-row,.monitor-hero-title-row,.monitor-hero-actions,.monitor-distribution-row,.monitor-permission-row,.monitor-feedback-actions,.monitor-entry-item-meta,.monitor-journal-breadcrumb,.monitor-progress-label{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.monitor-card-title-row strong,.monitor-hero-title-row h3,.monitor-entry-item strong,.monitor-card h3{margin:0;color:#2e2823}.monitor-card-title-row strong{font-size:19px}.monitor-meta-row,.monitor-entry-item span,.monitor-card-header p,.monitor-background-row span,.monitor-mini-stat span,.monitor-note,.monitor-hero-text p,.monitor-hero-access,.monitor-progress-label span,.monitor-journal-breadcrumb strong+span,.monitor-entry-column-header span{color:#7b7269;font-size:14px}.monitor-card-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.monitor-action-btn{min-height:36px;padding:0 12px;border-radius:10px;border:1px solid transparent;background:#fff;display:inline-flex;align-items:center;gap:8px;color:#5d564e;font-size:14px;font-weight:700;box-shadow:0 8px 18px #b8a99714}.monitor-action-btn:disabled{opacity:.6;cursor:not-allowed;box-shadow:none}.monitor-action-btn.pale{border-color:#d8ebff;background:#f6fbff;color:#4784b7}.monitor-action-btn.warm{border-color:#ffd5dc;background:#fff4f6;color:#d66d80}.monitor-action-btn.muted{border-color:#e3ddd6;background:#f5f2ee;color:#8b837a}.monitor-status-pill,.monitor-access-pill,.monitor-mood-pill,.monitor-chip,.monitor-readonly-pill{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:24px;padding:0 10px;border-radius:999px;font-size:13px;font-weight:700;white-space:nowrap}.monitor-status-pill.summary-status:before{content:"";width:9px;height:9px;border-radius:50%;background:currentColor;opacity:.65}.monitor-status-pill.high{background:#ffe4df;color:#da6459}.monitor-status-pill.moderate{background:#fff1c8;color:#b98316}.monitor-status-pill.low{background:#dcf5e6;color:#469969}.monitor-status-pill.pending{background:#fff0bf;color:#ae7e12}.monitor-status-pill.granted{background:#dff8e8;color:#317a4f}.monitor-status-pill.denied{background:#ffe0dd;color:#b42318}.monitor-access-pill.pending{background:#fff0bf;color:#ae7e12}.monitor-access-pill.granted{background:#e7fbef;color:#3f9a67}.monitor-access-pill.denied{background:#f6ede9;color:#8f7d74}.monitor-mood-pill.angry,.monitor-chip.angry{background:#ffe0dd;color:#d76a62}.monitor-mood-pill.calm,.monitor-chip.calm{background:#dff8e8;color:#4aa46a}.monitor-mood-pill.happy,.monitor-chip.happy{background:#ffeebf;color:#b5871d}.monitor-mood-pill.neutral,.monitor-chip.neutral{background:#ece8ff;color:#7a68ca}.monitor-mood-pill.sad,.monitor-chip.sad{background:#d9edff;color:#5393ce}.monitor-mood-pill.stressed,.monitor-chip.stressed{background:#eddcff;color:#9973d4}.monitor-back-link{width:fit-content;display:inline-flex;align-items:center;gap:8px;padding:0;border:0;background:transparent;color:#4e4740;font-size:12px;font-weight:700}.monitor-back-link.compact{min-height:30px;padding:0 8px;border-radius:8px;background:#fff9f3;border:1px solid #ece1d7}.monitor-hero-card{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;border-radius:22px;padding:18px;background:linear-gradient(90deg,#ffdfe8,#fff2f5 28%,#edf7ff 70%,#d7ebff)}.monitor-hero-copy{display:flex;align-items:center;gap:16px}.monitor-hero-title-row h3{font-size:22px;font-weight:800}.monitor-hero-access{align-self:flex-start;display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:0 12px;border-radius:10px;border:1px solid #cde8d8;background:#ffffffc7;color:#4a9570;font-size:12px;font-weight:700}.monitor-overview-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr);gap:18px}.monitor-side-stack{display:flex;flex-direction:column;gap:18px}.monitor-card{display:flex;flex-direction:column;gap:16px;border-radius:20px;padding:18px}.monitor-card-header{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}.monitor-card-header h3{font-size:20px;font-weight:800}.monitor-background-list{display:flex;flex-direction:column}.monitor-background-row{display:flex;justify-content:space-between;gap:16px;padding:11px 0;border-bottom:1px solid #efe7df}.monitor-background-row:last-child{border-bottom:0}.monitor-background-row strong{color:#4a433c;font-size:14px;font-weight:700;text-align:right}.monitor-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.monitor-mini-stat{display:flex;flex-direction:column;gap:6px;min-height:104px;padding:16px 14px;border-radius:16px;border:1px solid #eee3da;background:linear-gradient(180deg,#fff8fa,#fff);justify-content:center;text-align:center}.monitor-mini-stat strong{font-size:31px;line-height:1;color:#322c27}.monitor-progress-bar{width:100%;height:10px;border-radius:999px;background:#edf2fb;overflow:hidden}.monitor-progress-fill{height:100%;border-radius:inherit;background:linear-gradient(90deg,#b9d7ff,#d9e8ff)}.monitor-progress-label strong{margin-left:auto;color:#433c35}.monitor-mood-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;align-items:end;padding:6px 2px 2px;overflow:hidden}.monitor-mood-day{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0}.monitor-mood-day span{font-size:13px;line-height:1;color:#5f5b57}.monitor-mood-icon{inline-size:38px!important;block-size:38px!important;width:38px!important;height:38px!important;max-width:38px;max-height:38px;object-fit:contain;display:block;flex:0 0 38px}.monitor-chip{min-height:26px;padding:0 12px}.monitor-note{display:flex;align-items:flex-start;gap:8px;padding:10px 12px;border-radius:12px;border:1px solid #b8d8ff;background:#eff7ff}.monitor-subheading{margin:0;font-size:15px;font-weight:800;color:#433c35}.monitor-consent-card{background:linear-gradient(180deg,#fffefd,#fffaf6)}.monitor-consent-grid{display:grid;grid-template-columns:minmax(180px,220px) minmax(0,1fr);gap:14px;align-items:end}.monitor-scope-toggle{display:inline-flex;align-items:center;gap:8px;padding:6px;border-radius:14px;border:1px solid #ece1d7;background:#fff}.monitor-toggle-btn{min-height:38px;padding:0 14px;border-radius:10px;border:0;background:transparent;color:#70675f;font-size:12px;font-weight:700}.monitor-toggle-btn.active{background:linear-gradient(90deg,#ffe8ef,#eef7ff);color:#312a24}.monitor-permission-pill{display:inline-flex;align-items:center;gap:8px;min-height:38px;padding:0 12px;border-radius:999px;border:1px solid #ebdfd5;background:#fff;color:#544d45;font-size:12px;font-weight:700}.monitor-permission-pill input{width:16px;height:16px;min-height:auto}.monitor-entry-picker{display:flex;flex-direction:column;gap:0;border-radius:18px;border:1px solid #ece1d7;background:#fff;padding:0 16px}.monitor-summary-body{display:grid;grid-template-columns:20px minmax(0,1fr);gap:12px;padding:18px;border-radius:16px;border:1px solid #f0dbdc;background:linear-gradient(180deg,#fff7f8,#fffdfa)}.monitor-summary-body.empty{border-style:dashed;background:#fcfcfd}.monitor-summary-body.approved{display:block;padding:18px 20px;border-color:#d7dde6;background:linear-gradient(110deg,#fff7f8,#fff 54%,#eff8ff)}.monitor-summary-body p{margin:0;color:#5a524b;line-height:1.7}.monitor-summary-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;color:#7b7269;font-size:14px}.monitor-summary-link{min-height:32px;padding:0;border:0;background:transparent;color:#4e4740;display:inline-flex;align-items:center;gap:7px;font-size:14px;font-weight:700}.monitor-summary-link:disabled{cursor:not-allowed;opacity:.55}.monitor-summary-textarea{width:100%;min-height:150px;border-radius:14px;border:1px solid #f0b5b5;background:snow;color:#2f2b29;padding:14px 16px;resize:vertical;box-sizing:border-box;line-height:1.7;outline:none}.monitor-summary-textarea:focus{border-color:#f97066;box-shadow:0 0 0 3px #f970661f}.monitor-summary-alert{display:flex;align-items:center;gap:18px;padding:18px 20px;border-radius:14px}.monitor-summary-alert strong,.monitor-summary-alert span{display:block}.monitor-summary-alert strong{margin-bottom:3px;font-size:14px}.monitor-summary-alert span{font-size:13px}.monitor-summary-alert.approved{border:1px solid #a9efd1;background:#f0fff6;color:#176b48}.monitor-summary-alert.rejected{border:1px solid #fda29b;background:#fff5f4;color:#b42318}.monitor-summary-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.summary-action-btn{min-height:52px;padding:0 22px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;gap:11px;border:1px solid transparent;font-size:18px;font-weight:800;line-height:1;box-shadow:0 8px 18px #b8a99714}.summary-action-btn span{white-space:nowrap}.summary-action-btn:disabled{cursor:not-allowed;opacity:.58}.summary-action-btn.approve{min-width:144px;border-color:#b8d8ff;background:linear-gradient(90deg,#ffe4e8,#eff8ff);color:#2f2b29}.summary-action-btn.approve svg{color:#f5a7c1}.summary-action-btn.reject{min-width:154px;border-color:#ff8b87;background:#fff9f8;color:#a90f0b}.summary-action-btn.clear{min-width:164px;border-color:#d7d7d7;background:#f1f1f1;color:#3f3f3f}.summary-action-btn.regenerate,.summary-action-btn.manual,.summary-action-btn.edit{min-height:44px;padding:0 18px;border-radius:10px;font-size:15px}.summary-action-btn.regenerate{min-width:258px;border-color:#b8d8ff;background:linear-gradient(90deg,#ffe4e8,#eff8ff);color:#2f2b29}.summary-action-btn.regenerate svg{color:#f4a3c0}.summary-action-btn.manual,.summary-action-btn.edit{border-color:#84caff;background:#f6fbff;color:#005b97}.summary-action-btn.manual{min-width:272px}.summary-action-btn.edit{min-width:106px}.monitor-journal-topbar{display:flex;justify-content:space-between;align-items:center;gap:14px}.monitor-journal-layout{display:grid;grid-template-columns:minmax(260px,310px) minmax(0,1fr);gap:18px;min-height:0}.monitor-entry-column{display:flex;flex-direction:column;border-radius:20px;border:1px solid #e8dfd6;background:#fffdfa;box-shadow:0 18px 34px #b8a99714;overflow:hidden}.monitor-entry-column-header{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:16px;border-bottom:1px solid #efe7df}.monitor-entry-column-header h3{margin:0;font-size:17px;font-weight:800;color:#332d28}.monitor-entry-list{display:flex;flex-direction:column;gap:10px;padding:12px;overflow-y:auto}.monitor-entry-item{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:14px;border-radius:16px;text-align:left;background:linear-gradient(180deg,#fffefd,#f9fbff)}.monitor-entry-item.active{border-color:#d9e6f4;background:linear-gradient(180deg,#fff9fb,#eef7ff)}.monitor-entry-detail{display:flex;flex-direction:column;gap:18px}.monitor-readonly-pill{width:fit-content;background:#f3efe9;color:#726960}.monitor-entry-body{display:flex;flex-direction:column;gap:10px}.monitor-entry-text{margin:0;color:#534c45;line-height:1.85;white-space:pre-wrap}.monitor-photo-block{display:flex;flex-direction:column;gap:10px}.monitor-photo-preview{position:relative;width:min(100%,280px);padding:0;border:0;background:transparent;text-align:left}.monitor-photo-preview>img{display:block;width:100%;max-height:220px;object-fit:contain;border-radius:18px;border:1px solid #e4ddd6;background:#f7f7f8;box-shadow:0 18px 24px #9d90841f}.monitor-photo-maximize{position:absolute;top:12px;right:12px;width:32px;height:32px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;background:#ffffffb8;border:1px solid rgba(224,224,224,.72);box-shadow:0 8px 18px #2d2a281f}.monitor-photo-maximize img{width:16px;height:16px}.monitor-photo-modal{position:fixed;inset:0;z-index:80;display:flex;align-items:center;justify-content:center;padding:46px 30px;background:#1f1e1fb8}.monitor-photo-modal-close{position:fixed;top:46px;right:34px;width:50px;height:50px;border-radius:12px;border:1px solid rgba(255,255,255,.18);background:#3d3d42;color:#fff;display:inline-flex;align-items:center;justify-content:center}.monitor-photo-modal-content{width:min(92vw,774px);display:flex;flex-direction:column;align-items:center;gap:24px}.monitor-photo-modal-image{display:block;width:auto;max-width:100%;height:auto;max-height:min(68vh,620px);object-fit:contain;border-radius:16px;box-shadow:0 22px 44px #14141857}.monitor-photo-modal-footer{width:100%;display:flex;justify-content:space-between;align-items:center;gap:14px;min-height:58px;padding:0 18px;border-radius:8px;border:1px solid rgba(255,255,255,.12);background:#3d3d42;color:#f8f8f8}.monitor-photo-modal-footer strong{font-size:17px}.monitor-photo-modal-footer div{display:flex;align-items:center;gap:12px;color:#d7d5d3;font-size:13px}.monitor-feedback-card{overflow:hidden;gap:0;padding:0}.monitor-feedback-titlebar{min-height:54px;padding:0 20px;display:flex;align-items:center;background:linear-gradient(90deg,#fff0f4,#fff 52%,#edf8ff);border-bottom:1px solid #f0ebe6}.monitor-feedback-titlebar h3{font-size:17px;font-weight:800}.monitor-feedback-label-row,.monitor-feedback-card>.monitor-feedback-note,.monitor-feedback-card>.portal-error-text,.monitor-feedback-card>.monitor-feedback-actions,.monitor-feedback-textarea,.monitor-feedback-sent-alert,.monitor-feedback-sent-body{margin-left:20px;margin-right:20px}.monitor-feedback-label-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:12px;margin-bottom:10px;color:#4a4642;font-size:14px}.monitor-feedback-label-row label{font-weight:500}.monitor-feedback-label-row span{color:#6b6560}.monitor-feedback-label-row span.over{color:#c81e1e}.monitor-feedback-textarea{width:calc(100% - 40px);min-height:158px;padding:14px 16px;border-radius:10px;border:1px solid #dddde0;background:#fbfbfc;color:#302d2b;line-height:1.6;resize:vertical;outline:none}.monitor-feedback-textarea:focus{border-color:#98cef9;box-shadow:0 0 0 3px #98cef92e}.monitor-feedback-textarea.over{border-color:#ff8b87;background:#fff8f8}.monitor-feedback-note{margin-top:10px;margin-bottom:12px;color:#6d6762;font-size:13px;line-height:1.5}.monitor-feedback-actions{padding-bottom:12px}.monitor-feedback-btn{min-width:152px;min-height:38px;padding:0 18px;border-radius:9px;border:1px solid #d8d8d8;display:inline-flex;align-items:center;justify-content:center;gap:10px;color:#2f2d2b;font-size:14px;font-weight:800}.monitor-feedback-btn:disabled{cursor:not-allowed;opacity:.55}.monitor-feedback-btn.send{border-color:#bfddff;background:linear-gradient(90deg,#ffe7ef,#edf8ff)}.monitor-feedback-btn.send svg{color:#ee9abd}.monitor-feedback-btn.clear{background:#f0f0f1}.monitor-feedback-btn.edit{min-width:112px;border-color:#84caff;background:#f6fbff;color:#005b97}.monitor-feedback-sent-alert{min-height:38px;margin-top:18px;padding:0 12px;display:flex;align-items:center;gap:12px;border-radius:9px;border:1px solid #96f0c5;background:#f4fff8;color:#176b48;font-size:14px;font-weight:800}.monitor-feedback-sent-alert img{width:22px;height:22px}.monitor-feedback-sent-body{margin-top:18px;padding:14px 20px;border-radius:10px;border:1px solid #dce6ef;background:linear-gradient(110deg,#fff7f8,#fff 54%,#eef8ff);color:#3d3835;font-size:15px;line-height:1.65}@media(max-width:1200px){.settings-layout{grid-template-columns:1fr}.settings-tabs{display:flex;gap:8px;overflow-x:auto}.settings-tabs button{width:auto;flex:0 0 auto}.settings-tabs-divider{width:1px;height:28px;margin:3px 4px}.analytics-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.monitor-overview-grid,.monitor-journal-layout{grid-template-columns:1fr}.monitor-entry-column{max-height:360px}}@media(max-width:900px){.monitor-toolbar,.monitor-directory-card,.monitor-hero-card,.monitor-journal-topbar{flex-direction:column;align-items:stretch}.monitor-card-actions,.monitor-hero-actions{width:100%}.monitor-consent-grid,.monitor-stat-grid,.monitor-mood-week{grid-template-columns:1fr}.monitor-hero-copy{align-items:flex-start}}@media(max-width:720px){.settings-panel,.settings-tabs{padding:14px}.settings-profile-banner,.settings-name-grid,.settings-two-grid{grid-template-columns:1fr}.settings-profile-banner{align-items:flex-start;flex-direction:column}.settings-actions{justify-content:stretch;flex-direction:column-reverse}.analytics-summary-titlebar{align-items:flex-start;flex-direction:column;padding:14px}.analytics-metrics{grid-template-columns:1fr}.monitor-toolbar{padding:12px}.monitor-search{width:100%;min-width:0}.monitor-card,.monitor-directory-card,.monitor-hero-card{padding:14px}.monitor-card-main{align-items:flex-start}.monitor-avatar-large{width:68px;height:68px}}.dashboard-layout{display:flex;height:100vh;overflow:hidden;align-items:stretch}.db-main{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column;gap:0;height:100%;box-sizing:border-box;background:#f7f5f1;padding:0;overflow-y:auto;font-size:15px}.db-main>:not(.db-header):not(.logout-dialog-overlay):not(.schedule-modal-overlay){margin-left:24px;margin-right:24px}.db-main>.db-header+:not(.logout-dialog-overlay):not(.schedule-modal-overlay){margin-top:24px}.db-main>:not(.db-header):not(.logout-dialog-overlay):not(.schedule-modal-overlay)+:not(.db-header):not(.logout-dialog-overlay):not(.schedule-modal-overlay){margin-top:20px}.db-main>:not(.db-header):not(.logout-dialog-overlay):not(.schedule-modal-overlay):last-child{margin-bottom:24px}.db-header{display:flex;justify-content:space-between;align-items:center;min-height:80px;padding:0 32px;border-bottom:1px solid #ebe7dd;background:#fffdfb;box-sizing:border-box;flex-shrink:0}.db-header h2{margin:0;font-size:22px;font-weight:800;color:#2b2b2b}.db-header-actions{display:flex;gap:10px}.db-icon-btn{width:40px;height:40px;border-radius:10px;border:1px solid #e8e1d8;background:#fffdf9;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 8px 18px #a1918214}.db-icon-btn img{width:18px;height:18px}.db-content{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:20px}.db-left{display:flex;flex-direction:column;gap:20px}.db-greeting{width:100%;max-width:none;background:linear-gradient(135deg,#ffe4e8,#fff1f3 35%,#eff8ff 65%,#d1e9ff);padding:24px;border-radius:20px;border:1px solid #dedede}.db-greeting h2{margin:0 0 10px;color:#2b2b2b}.db-greeting p{margin:0;max-width:60ch;color:#475467;line-height:1.5;font-size:15px}.db-badge{background:#fff;padding:6px 14px;border-radius:999px;font-size:14px;font-weight:600;margin-bottom:12px;display:inline-block}.db-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;width:100%}.db-stat-card{background:#fff;padding:18px;border-radius:16px;border:1px solid #dedede;text-align:center}.db-stat-icon{width:42px;height:42px;border-radius:12px;display:flex;align-items:center;justify-content:center;margin:0 auto 10px}.db-stat-card.blue .db-stat-icon{background:#e0f2fe}.db-stat-card.yellow .db-stat-icon{background:#fff4e5}.db-stat-card.green .db-stat-icon{background:#e7f8f0}.db-stat-card.red .db-stat-icon{background:#fee4e2}.db-stat-icon img{width:20px;height:20px}.db-stat-card h3{margin:0;font-size:24px}.db-stat-card span{font-size:14px;color:#6d6d6d}.db-empty{padding:20px;text-align:center;font-size:14px;color:#6d6d6d}.db-card{background:#fff;padding:16px;border-radius:16px;border:1px solid #dedede;max-width:100%}.db-card-header{display:flex;justify-content:space-between;align-items:center;gap:12px}.db-card-header h3{margin:0;font-size:21px;font-weight:700}.db-view-all{font-size:15px;font-weight:600;color:#6d6d6d}.db-right{display:flex;flex-direction:column;gap:20px}.db-profile{background:#fff;border-radius:20px;border:1px solid #dedede;overflow:hidden;text-align:center;position:relative}.db-profile h3{margin:10px 0 4px}.db-profile>span{color:#667085}.db-profile-top{height:80px;background:linear-gradient(#fff1f3,#eff8ff)}.db-edit-btn{position:absolute;top:12px;right:12px;width:36px;height:36px;border-radius:10px;background:#f3f3f3;border:1px solid #dedede;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:2}.db-edit-btn img{width:18px;height:18px;object-fit:contain}.db-edit-btn:hover{background:#eaeaea}.db-avatar-wrapper{position:relative;display:inline-block;margin-top:-45px}.db-avatar{width:90px;height:90px;border-radius:50%;border:4px solid white;object-fit:cover}.db-online-dot{position:absolute;bottom:10px;right:10px;width:20px;height:20px;border-radius:50%;border:3px solid white}.db-online-dot.available{background:#75d0a7}.db-online-dot.in-session{background:#fec84b}.db-online-dot.away{background:#f97066}.db-online-dot.offline{background:#d0d5dd}.db-info{margin-top:16px;text-align:left;padding:0 16px 16px}.db-info h4{margin-bottom:10px}.info-row{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #eee}.info-row:last-child{border-bottom:0}.info-icon{width:36px;height:36px;border-radius:10px;display:flex;align-items:center;justify-content:center;border:1px solid #dedede;flex-shrink:0}.info-icon img{width:20px;height:20px;display:block}.info-row p{margin:0;font-size:14px;color:#2b2b2b}.db-status{background:#fff;padding:16px;border-radius:20px;border:1px solid #dedede}.db-status-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.db-status-header h4{margin:0;font-size:18px;font-weight:700;color:#2b2b2b}.db-status-saving{font-size:12px;color:#667085}.status-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.status-chip{display:flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;font-size:14px;cursor:pointer;border:1px solid #dedede;background:#f3f3f3;text-align:left;transition:all .2s ease;color:#213547}.status-chip .dot{width:8px;height:8px;border-radius:50%}.status-chip.green .dot{background:#75d0a7}.status-chip.yellow .dot{background:#fec84b}.status-chip.red .dot{background:#f97066}.status-chip.gray .dot{background:#d0d5dd}.status-chip.green.active{background:#d1fadf;border-color:#a9efd1}.status-chip.yellow.active{background:#fff4e5;border-color:#fec84b}.status-chip.red.active{background:#fee4e2;border-color:#fda29b}.status-chip.gray.active{background:#f2f4f7;border-color:#d0d5dd}.status-chip.active{box-shadow:0 0 0 2px #00000005 inset}.status-chip:disabled{cursor:wait;opacity:.72}.db-user-list{display:flex;flex-direction:column;gap:12px;margin-top:16px}.db-user-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px;border-radius:16px;background:#fafafa;border:1px solid #eee}.db-user-left{display:flex;align-items:center;gap:12px;min-width:0}.db-user-left img{width:48px;height:48px;border-radius:50%;object-fit:cover}.db-user-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:4px}.db-risk{padding:4px 10px;border-radius:999px;font-size:13px;font-weight:700}.db-risk.high{background:#fee4e2;color:#b42318}.db-risk.moderate{background:#fff4e5;color:#b54708}.db-tag{padding:4px 10px;border-radius:999px;font-size:13px;font-weight:600}.db-tag.stressed{background:#f0e6ff;color:#7a5af8}.db-tag.angry{background:#fee4e2;color:#d92d20}.db-tag.sad{background:#e0f2fe;color:#0284c7}.db-user-actions{display:flex;gap:8px}.db-activity-list{margin-top:12px}.db-activity-item{width:100%;display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:12px 0;background:transparent;border:0;border-bottom:1px solid #f2f4f7;text-align:left;cursor:pointer}.db-activity-item:last-child{border-bottom:0}.db-activity-copy{color:#2b2b2b;line-height:1.45}.db-activity-item small{flex-shrink:0;color:#667085}.db-activity-item:hover .db-activity-copy{color:#344054}.db-icon-btn{width:40px;height:40px;border-radius:8px;background:#f3f3f3;border:1px solid #dedede;display:flex;align-items:center;justify-content:center;cursor:pointer}.db-icon-btn.small{width:32px;height:32px}.db-icon-btn.pink{background:#fff1f3}.db-banner-error,.db-loading-card{background:#fff;border:1px solid #dedede;border-radius:16px;padding:16px 18px}.db-banner-error{color:#b42318;background:#fff6f7;border-color:#fecdca}.db-loading-card{color:#475467}@media(max-width:1120px){.db-content{grid-template-columns:1fr}.db-right{order:-1}}@media(max-width:800px){.db-main{padding:0}.db-header{min-height:72px;padding:0 18px}.db-main>:not(.db-header):not(.logout-dialog-overlay):not(.schedule-modal-overlay){margin-left:18px;margin-right:18px}.db-main>.db-header+:not(.logout-dialog-overlay):not(.schedule-modal-overlay){margin-top:18px}.db-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.status-grid{grid-template-columns:1fr}}@media(max-width:560px){.db-header{flex-direction:column;align-items:flex-start;gap:12px}.db-stats{grid-template-columns:1fr}.db-user-row,.db-activity-item{flex-direction:column;align-items:flex-start}.db-user-actions{width:100%}}.forced-password-dialog{width:min(92vw,460px);max-width:460px;padding:0;overflow:hidden;border:1px solid rgba(255,205,218,.9);border-radius:18px}.forced-password-heading{display:flex;flex-direction:column;align-items:center;gap:14px;padding:32px 34px 28px;background:linear-gradient(105deg,#ffe3ec,#fff8fb 48%,#d7efff);text-align:center}.forced-password-icon{width:64px;height:64px;display:grid;place-items:center;margin:0;border-radius:16px;color:#2870a8;background:#ffffffd1;border:1px solid #bde3ff}.forced-password-dialog .logout-dialog-body{margin:0;text-align:center}.forced-password-dialog .logout-dialog-body h2{margin:0 0 8px;font-size:25px;line-height:1.2}.forced-password-dialog .logout-dialog-body p{margin:0;max-width:315px;font-size:14px;line-height:1.55}.forced-password-field{display:grid;gap:7px;margin:18px 32px 0;text-align:left}.forced-password-field span{font-size:12px;font-weight:800}.forced-password-field input{width:100%;height:46px;padding:0 14px;border:1px solid #d7d7d7;border-radius:12px;background:#fbfbfb;color:#242428;font:inherit;font-size:14px;outline:none;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}.forced-password-field input::placeholder{color:#858585}.forced-password-field input:-webkit-autofill,.forced-password-field input:-webkit-autofill:hover,.forced-password-field input:-webkit-autofill:focus{-webkit-text-fill-color:#242428;box-shadow:0 0 0 1000px #fff inset,0 0 0 4px #9fd3ff3d}.forced-password-field input:focus{border-color:#9fd3ff;background:#fff;box-shadow:0 0 0 4px #9fd3ff3d}.forced-password-field small{color:#c92323;font-size:11px;font-weight:600}.forced-password-rules{margin:12px 32px 0;color:#666;font-size:12px;line-height:1.5;text-align:left}.forced-password-actions{justify-content:stretch;padding:22px 32px 32px}.forced-password-actions .logout-dialog-confirm{width:100%;min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:7px;background:linear-gradient(105deg,#ffc3d1,#c0e4ff);border-color:transparent;color:#1f1f27;border-radius:12px;box-shadow:0 10px 20px #82b9eb2e}.sidebar{width:240px;min-width:240px;flex-shrink:0;height:100%;min-height:0;align-self:stretch;display:flex;flex-direction:column;background:#fffdfb;border-right:1px solid #ebe7dd;box-shadow:inset -1px 0 #e5ddd46b}.sidebar-top{display:flex;align-items:center;gap:12px;min-height:80px;padding:0 16px;border-bottom:1px solid #efe7df;box-sizing:border-box}.logo-box{width:42px;height:42px;border-radius:12px;background:linear-gradient(180deg,#ffe4ef,#d9ebff);box-shadow:0 12px 24px #e8d3d638;display:flex;align-items:center;justify-content:center}.logo-box img{width:42px;height:42px;object-fit:contain}.sidebar-top h3{margin:0;font-size:16px;font-weight:800;color:#2f2b29}.sidebar-top span{font-size:11px;color:#6e665e}.sidebar-menu{display:flex;flex-direction:column;flex:1;min-height:0;padding:12px 10px;gap:6px;overflow-y:auto}.sidebar-item{display:flex;align-items:center;gap:12px;width:100%;padding:11px 12px;border:none;border-radius:12px;background:transparent;cursor:pointer;font-size:13px;font-weight:500;color:#5f574f;transition:background .2s ease,color .2s ease,transform .2s ease,box-shadow .2s ease}.sidebar-item .icon{width:22px;height:22px;display:flex;align-items:center;justify-content:center}.sidebar-item:hover{background:#f7f8fc;transform:translate(2px)}.sidebar-item.active{background:linear-gradient(90deg,#ffe6ef,#fff4f8 42%,#edf7ff 76%,#deeeff);box-shadow:inset 0 0 0 1px #b6d7f773;color:#2f2b29;font-weight:700}.sidebar-bottom{margin-top:auto;display:flex;align-items:center;gap:12px;padding:12px;border-top:1px solid #efe7df;flex-shrink:0}.sidebar-bottom img{width:42px;height:42px;border-radius:50%;object-fit:cover;box-shadow:0 10px 18px #886f5f1f}.profile-click{display:flex;align-items:center;gap:12px;flex:1;min-width:0}.user-info{display:flex;flex-direction:column;justify-content:center;min-width:0}.user-info p{margin:0;font-size:12px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-info span{font-size:10px;color:#6e665e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.logout-btn{margin-left:auto;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border:none;background:transparent;border-radius:10px;cursor:pointer;transition:background .2s ease}.logout-btn img{width:16px;height:16px;object-fit:contain}.logout-btn:hover{background:#f3efe8}.logout-dialog-overlay{position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;padding:20px;background:#1118276b}.logout-dialog{width:min(100%,380px);border:1px solid #e7ded5;border-radius:12px;background:#fffdfb;color:#2f2b29;box-shadow:0 24px 70px #2f2b2933;overflow:hidden}.logout-dialog-body{padding:22px 22px 12px}.logout-dialog-body h2{margin:0 0 8px;font-size:20px;line-height:1.25}.logout-dialog-body p{margin:0;color:#6e665e;font-size:14px;line-height:1.5}.logout-dialog-actions{display:flex;justify-content:flex-end;gap:10px;padding:16px 22px 22px}.logout-dialog-actions button{min-height:40px;padding:0 14px;border-radius:10px;font-weight:700;cursor:pointer}.logout-dialog-actions button:disabled{cursor:not-allowed;opacity:.7}.logout-dialog-cancel{border:1px solid #d8d0c8;background:#fff;color:#4f4740}.logout-dialog-confirm{border:1px solid #fda29b;background:#fff5f4;color:#b42318}.writer-review-directory{display:flex;flex-direction:column;gap:18px}.writer-review-toolbar,.writer-review-user-card{border:1px solid #e8e1d8;background:#fffdf9;box-shadow:0 10px 24px #5c493a0d}.writer-review-toolbar{min-height:60px;border-radius:12px;padding:10px 14px;display:flex;justify-content:space-between;align-items:center;gap:16px}.writer-review-tabs{display:flex;align-items:center;gap:14px;color:#3d3935;flex-wrap:wrap}.writer-review-tabs button{min-height:28px;padding:4px 8px;border:0;border-radius:5px;background:transparent;color:#5f5a55;font-size:14px;font-weight:500}.writer-review-tabs button.active{background:#efefed;color:#2d2926;font-weight:800}.writer-review-search{width:min(300px,100%);min-height:36px;padding:0 12px;border:1px solid #e0ddd8;border-radius:6px;background:#fbfbfb;display:flex;align-items:center;gap:8px;color:#57524d}.writer-review-search input{min-height:0;width:100%;border:0;background:transparent;color:#2d2926;font-size:14px;outline:none}.writer-review-user-list{display:flex;flex-direction:column;gap:18px}.writer-review-user-card{min-height:88px;border-radius:14px;padding:16px 20px;display:flex;align-items:center;justify-content:space-between;gap:20px;width:100%;text-align:left;cursor:pointer;font-family:inherit;color:inherit}.writer-review-user-card:hover{border-color:#d7cfc5;box-shadow:0 14px 28px #5c493a14;transform:translateY(-1px)}.writer-review-user-card:focus-visible{outline:3px solid rgba(147,197,253,.55);outline-offset:2px}.writer-review-user-main{min-width:0;display:flex;align-items:center;gap:16px}.writer-review-user-main>img{width:54px;height:54px;border-radius:50%;object-fit:cover;box-shadow:0 6px 14px #36302c24;flex:0 0 auto}.writer-review-user-copy{min-width:0;display:flex;flex-direction:column;gap:8px}.writer-review-user-line{min-width:0;display:flex;align-items:center;flex-wrap:wrap;gap:10px}.writer-review-user-line strong{color:#2b2b2b;font-size:15px;font-weight:800;line-height:1.2}.writer-status-pill,.writer-access-pill,.writer-review-count-pill,.writer-review-open-btn{display:inline-flex;align-items:center;justify-content:center;width:fit-content;white-space:nowrap;line-height:1}.writer-status-pill,.writer-access-pill,.writer-review-count-pill{min-height:24px;border-radius:999px;padding:5px 9px;font-size:13px;font-weight:600}.writer-status-pill{gap:6px}.writer-status-pill>span{width:9px;height:9px;border-radius:50%}.writer-status-pill.improving{background:#d8fae6;color:#177a4c}.writer-status-pill.improving>span{background:#62dca0}.writer-status-pill.stable{background:#fff0bf;color:#8a6410}.writer-status-pill.stable>span{background:#f6c44f}.writer-status-pill.attention{background:#ffe0df;color:#b42318}.writer-status-pill.attention>span{background:#ff7b72}.writer-access-pill{gap:6px;border:1px solid #b7f0dd;background:#f0fdf8;color:#3f6558;border-radius:5px;font-size:12px}.writer-access-pill.limited{border-color:#fecdd3;background:#fff1f2;color:#8a4a55}.writer-review-count-pill.pending{background:#fff0bf;color:#8a6410}.writer-review-count-pill.reviewing{background:#d8ecff;color:#2f6fa3}.writer-review-count-pill.completed{background:#d8fae6;color:#177a4c}.writer-review-open-btn{min-height:36px;border:1px solid #bae0ff;border-radius:8px;background:#eff8ff;color:#376a96;gap:8px;padding:8px 12px;font-size:14px;font-weight:700;flex:0 0 auto}.writer-review-open-btn:hover{border-color:#8fd0ff}.writer-review-empty{min-height:96px;border:1px dashed #ddd4ca;border-radius:14px;background:#fffdf9;color:#746e67;display:flex;align-items:center;justify-content:center;padding:18px;font-size:15px}.writer-entry-review-shell{display:grid;grid-template-columns:280px minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);min-height:0;border-top:1px solid #e8e1d8;margin:0 -24px -24px;background:#f7f5f1}.writer-entry-review-topbar{grid-column:1 / -1;min-height:56px;border-bottom:1px solid #e8e1d8;background:#fffdf9;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 16px}.writer-entry-review-userbar{display:flex;align-items:center;gap:12px;min-width:0}.writer-back-link{min-height:34px;padding:0;border:0;background:transparent;color:#4e4944;display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:700}.writer-user-divider{width:1px;height:34px;background:#e8e1d8}.writer-entry-access-pill{min-height:34px;padding:0 12px;border:1px solid #b7f0dd;border-radius:6px;background:#f0fdf8;color:#3f6558;display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:600;white-space:nowrap}.writer-entry-sidebar-panel{min-height:0;border-right:1px solid #e8e1d8;background:#fffdf9;overflow-y:auto}.writer-entry-sidebar-heading{padding:16px;display:flex;flex-direction:column;gap:2px;border-bottom:1px solid #eee6df}.writer-entry-sidebar-heading strong,.writer-entry-title-line h3,.writer-card-heading h4,.writer-ai-feedback-header h4{margin:0;color:#2b2b2b;font-size:15px;font-weight:800}.writer-entry-sidebar-heading span,.writer-entry-review-heading p{color:#746e67;font-size:13px}.writer-entry-sidebar-list{display:flex;flex-direction:column}.writer-entry-sidebar-empty{min-height:360px;padding:22px;color:#5f5a55;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;gap:8px}.writer-entry-sidebar-empty svg{width:48px;height:48px;padding:11px;border-radius:10px;background:#efefed}.writer-entry-sidebar-empty strong{color:#2b2b2b;font-size:14px;font-weight:900}.writer-entry-sidebar-empty p{margin:0;color:#6b665f;font-size:13px;line-height:1.5}.writer-entry-row{min-height:82px;border:0;border-bottom:1px solid #eee6df;border-radius:0;background:#fffdf9;color:#2b2b2b;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 10px;padding:12px 14px;text-align:left}.writer-entry-row.active{background:#eef5ff}.writer-entry-row strong{grid-column:1 / -1;font-size:14px;font-weight:800;line-height:1.25}.writer-entry-row span{color:#746e67;font-size:13px}.writer-entry-state{min-height:24px;border-radius:999px;padding:5px 9px;display:inline-flex;align-items:center;justify-content:center;width:fit-content;font-size:12px;font-style:normal;font-weight:600;line-height:1;white-space:nowrap}.writer-entry-state.under-review{background:#d8ecff;color:#2f6fa3}.writer-entry-state.pending{background:#fff0bf;color:#8a6410}.writer-entry-state.pending:before{content:"";width:9px;height:9px;margin-right:6px;border-radius:50%;background:#f6c44f}.writer-entry-state.reviewed{background:#d8fae6;color:#177a4c}.writer-entry-state.idle{background:#ededeb;color:#64605a}.writer-entry-state.rejected{background:#ffe0df;color:#b42318}.writer-entry-review-main{min-width:0;min-height:0;overflow-y:auto;padding:18px 22px 28px;display:flex;flex-direction:column;gap:18px}.writer-entry-review-heading{min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:16px}.writer-entry-title-line{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.writer-entry-tabs{display:inline-flex;border:1px solid #d8e0e6;border-radius:6px;overflow:hidden;background:#f8fafc}.writer-entry-tabs button{min-height:34px;padding:0 12px;border:0;border-radius:0;background:#f8fafc;color:#5f5a55;font-size:13px;font-weight:700}.writer-entry-tabs button.active{background:#fff5f7;color:#2d2926}.writer-journal-card,.writer-ai-feedback-card{border:1px solid #e8e1d8;border-radius:18px;background:#fffdf9;box-shadow:0 10px 24px #5c493a0d;overflow:hidden}.writer-card-heading,.writer-ai-feedback-header{min-height:52px;padding:0 18px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #eee6df;background:linear-gradient(90deg,#fff3f5,#eef8ff)}.writer-card-heading span{min-height:24px;padding:5px 10px;border-radius:999px;background:#ededeb;color:#64605a;font-size:12px;font-weight:600}.writer-journal-card>p{margin:0;padding:18px 22px;color:#3f3a35;font-size:14px;line-height:1.8;white-space:pre-wrap}.writer-entry-photo-strip{padding:0 22px 22px;display:flex;gap:14px;flex-wrap:wrap}.writer-entry-photo{position:relative;width:min(290px,100%);aspect-ratio:16 / 9;padding:0;border:0;border-radius:14px;overflow:hidden;background:#f1f1ef;box-shadow:0 10px 20px #36302c1f}.writer-entry-photo img{width:100%;height:100%;object-fit:cover;display:block}.writer-entry-photo span{position:absolute;top:10px;right:10px;width:30px;height:30px;border-radius:8px;background:#ffffffe0;color:#2b2b2b;display:inline-flex;align-items:center;justify-content:center}.writer-feedback-form,.writer-feedback-preview{padding:18px 20px}.writer-feedback-label-row{display:flex;justify-content:space-between;gap:12px;margin-bottom:10px}.writer-feedback-label-row label,.writer-feedback-note{color:#5f5a55;font-size:13px}.writer-feedback-label-row>div{display:flex;align-items:center;gap:12px;color:#5f5a55;font-size:13px}.writer-feedback-label-row button{padding:0;border:0;background:transparent;color:#3f3a35;display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600}.writer-feedback-label-row .over-limit{color:#c1121f}.writer-feedback-form textarea{width:100%;min-height:146px;resize:vertical;border:1px solid #d9d4ce;border-radius:10px;background:#fbfbfb;color:#2d2926;padding:16px;font:inherit;font-size:14px;line-height:1.7;outline:none}.writer-feedback-form textarea:focus{border-color:#9dccf2;box-shadow:0 0 0 3px #9dccf23d}.writer-feedback-form textarea.invalid{border-color:#ff7b72;background:#fff7f7}.writer-narrative-textarea{width:100%;min-height:138px;resize:vertical;border:1px solid #d9d4ce;border-radius:10px;background:#fbfbfb;color:#2d2926;padding:16px;font:inherit;font-size:14px;line-height:1.7;outline:none}.writer-feedback-note{margin:10px 0 14px}.writer-feedback-actions{display:flex;gap:12px;flex-wrap:wrap}.writer-send-feedback-btn,.writer-no-improvements-btn{min-height:38px;padding:0 14px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:14px;font-weight:800}.writer-send-feedback-btn{border:1px solid #bae0ff;background:linear-gradient(90deg,#fff0f4,#e5f4ff);color:#2d2926}.writer-no-improvements-btn{border:1px solid #d8d5d0;background:#efefed;color:#2d2926}.writer-feedback-preview{position:relative}.writer-feedback-edit-link{margin:-4px 0 10px auto;padding:0;border:0;background:transparent;color:#3f3a35;display:flex;align-items:center;gap:6px;font-size:13px;font-weight:700}.writer-feedback-preview-box{border:1px solid #e7d9dc;border-radius:10px;background:linear-gradient(135deg,#fff6f8,#f1f9ff);color:#3f3a35;padding:16px;font-size:14px;line-height:1.75;white-space:pre-wrap}.writer-feedback-complete-box{min-height:74px;border-radius:10px;background:#efefed;color:#4c4742;padding:16px;display:flex;align-items:center;gap:14px}.writer-feedback-complete-box strong{color:#2d2926;font-size:14px;font-weight:800}.writer-feedback-complete-box p{margin:2px 0 0;color:#5f5a55;font-size:13px;line-height:1.5}.writer-improvement-tab{display:flex;flex-direction:column;gap:18px}.writer-improvement-hero,.writer-improvement-card{border:1px solid #dce7ed;border-radius:18px;background:#fffdf9;box-shadow:0 10px 24px #5c493a0d;position:relative}.writer-improvement-hero{position:relative;overflow:hidden;padding:22px 22px 18px;background:linear-gradient(120deg,#fff1f3,#d9efff)}.writer-improvement-hero>div>span{display:inline-flex;min-height:28px;align-items:center;padding:0 14px;border-radius:999px;background:#fffdf9;color:#5f5a55;font-size:13px;font-weight:800}.writer-improvement-hero h3{margin:14px 0 0;color:#2b2b2b;font-size:24px;font-weight:900}.writer-improvement-hero p{margin:4px 0 0;color:#6b665f;font-size:13px}.writer-improvement-hero>strong{position:absolute;top:18px;right:18px;min-width:92px;min-height:68px;border:1px solid #e0ddd8;border-radius:10px;background:#fffdf9;color:#2b2b2b;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:26px;font-weight:900;line-height:1}.writer-improvement-hero>strong small{margin-top:5px;color:#6b665f;font-size:12px;font-weight:600}.writer-improvement-info{margin-top:16px!important;border:1px solid #8fd0ff;border-radius:8px;background:#e9f6ff;color:#22659a!important;display:flex;gap:8px;padding:10px 12px;font-weight:600;line-height:1.5}.writer-improvement-card-header{min-height:52px;padding:0 18px;display:flex;align-items:center;background:linear-gradient(90deg,#fff3f5,#eef8ff)}.writer-improvement-card-header h4{margin:0;color:#2b2b2b;font-size:16px;font-weight:900}.writer-score-note,.writer-reference-list>p{margin:16px 20px 12px;color:#6b665f;font-size:13px}.writer-score-list{display:flex;flex-direction:column;position:relative;z-index:2}.writer-score-row{display:grid;grid-template-columns:150px minmax(140px,1fr) auto;gap:14px;align-items:center;padding:12px 20px;border-top:1px solid #eee6df;position:relative}.writer-score-label{display:flex;align-items:center;gap:8px;color:#2b2b2b;font-size:14px}.writer-score-info{position:relative;display:inline-flex;color:#5f5a55;z-index:10}.writer-score-popover{position:absolute;top:26px;left:0;z-index:50;width:min(640px,70vw);border:1px solid #ddd4ca;border-radius:10px;background:#fffdf9;box-shadow:0 18px 38px #36302c2e;padding:14px;display:none}.writer-score-info:hover .writer-score-popover,.writer-score-info:focus-within .writer-score-popover{display:grid;grid-template-columns:1fr 1fr;gap:12px}.writer-score-row:has(.writer-score-info:hover),.writer-score-row:has(.writer-score-info:focus-within){z-index:40}.writer-score-popover strong,.writer-score-popover p{grid-column:1 / -1;margin:0}.writer-score-popover p{color:#5f5a55;font-size:13px}.writer-score-popover em{min-height:76px;border-radius:8px;padding:10px;background:#effdf7;border:1px solid #9ee8c8;color:#176c49;font-style:normal;font-size:12px;line-height:1.45}.writer-score-popover em:last-child{background:#fff8e6;border-color:#ffd77a;color:#8a6410}.writer-score-popover b{display:block;margin-bottom:5px}.writer-score-track{height:10px;border-radius:999px;background:#f2f2f0;overflow:hidden}.writer-score-track span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#ffc9d8,#d6c7ff 52%,#bfe3ff)}.writer-score-actions{min-width:180px;display:grid;grid-template-columns:auto auto;justify-content:end;align-items:center;gap:6px 8px}.writer-score-actions>strong,.writer-score-actions input{color:#2b2b2b;font-size:22px;font-weight:900;text-align:right}.writer-score-actions input{width:64px;min-height:32px;border:1px solid #d9d4ce;border-radius:8px;background:#fffdf9;padding:0 8px}.writer-score-actions button{min-height:30px;padding:0 9px;border:1px solid #d9d4ce;border-radius:7px;background:#fffdf9;color:#4e4944;display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700}.writer-score-actions small{grid-column:1 / -1;justify-self:end;color:#746e67;font-size:12px}.writer-score-delta{min-height:24px;padding:5px 8px;border-radius:999px;font-size:12px;font-weight:700}.writer-score-delta.positive{background:#d8fae6;color:#177a4c}.writer-score-delta.negative{background:#ffe0df;color:#b42318}.writer-overall-index{border-top:1px solid #e8e1d8;padding:16px 20px;display:flex;justify-content:space-between;gap:16px;align-items:center}.writer-overall-index>div:first-child{display:flex;flex-direction:column;gap:3px}.writer-overall-index strong{color:#2b2b2b;font-size:15px;font-weight:900}.writer-overall-index>div:last-child strong{font-size:24px}.writer-overall-index span{color:#6b665f;font-size:13px}.writer-reference-list{padding-bottom:16px}.writer-reference-list article{margin:12px 20px 0;border:1px solid #e0ddd8;border-radius:10px;background:#fffdf9;padding:14px}.writer-reference-list article>strong{color:#2b2b2b;font-size:14px;font-weight:900}.writer-reference-list article>span{margin-left:8px;min-height:24px;padding:5px 9px;border-radius:999px;font-size:12px;font-weight:700}.writer-reference-list .strong{background:#d8fae6;color:#177a4c}.writer-reference-list .needs{background:#fff0bf;color:#8a6410}.writer-reference-list article>p{margin:10px 0 0;color:#3f3a35;font-size:14px;line-height:1.55}.writer-reference-missing{display:flex;gap:12px;align-items:center;border-radius:8px;background:#efefed;padding:12px;color:#5f5a55}.writer-reference-missing p{margin:3px 0 0;color:#5f5a55;font-size:12px}.writer-improvement-empty{min-height:190px;padding:24px;color:#5f5a55;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;gap:10px}.writer-improvement-empty svg{width:54px;height:54px;padding:12px;border-radius:10px;background:#efefed;color:#5f5a55}.writer-improvement-empty strong{color:#2b2b2b;font-size:14px;font-weight:900}.writer-improvement-empty p{max-width:460px;margin:0;color:#6b665f;font-size:13px;line-height:1.6}.writer-published-box,.writer-narrative-rejected>div:first-child{border-radius:10px;padding:16px;display:flex;gap:12px;align-items:center}.writer-published-box{margin-bottom:12px;border:1px solid #9ee8c8;background:#effdf7;color:#176c49}.writer-narrative-rejected{padding:18px 20px}.writer-narrative-rejected>div:first-child{border:1px solid #ff9b94;background:#fff1f1;color:#b42318;margin-bottom:14px}.writer-published-box strong,.writer-narrative-rejected strong{display:block;font-size:14px;font-weight:900}.writer-published-box p,.writer-narrative-rejected p{margin:2px 0 0;font-size:13px}.writer-reject-btn{min-height:38px;padding:0 14px;border:1px solid #ff9b94;border-radius:8px;background:#fffdf9;color:#b42318;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:14px;font-weight:800}.analytics-pill.improving{background:#d8fae6;color:#177a4c}.analytics-pill.stable{background:#fff0bf;color:#8a6410}.analytics-pill.needs_attention{background:#ffe0df;color:#b42318}.writer-analytics-table td:nth-child(4){font-weight:900;color:#2b2b2b}.writer-report-modal-backdrop{position:fixed;inset:0;z-index:50;background:#1e1c1a7a;display:flex;align-items:center;justify-content:center;padding:24px}.writer-report-modal{width:min(360px,100%);min-height:240px;border-radius:18px;background:#fffdf9;box-shadow:0 20px 48px #1e1c1a33;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:28px;text-align:center}.writer-report-modal-icon{width:68px;height:68px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center}.writer-report-modal-icon.success{border:1px solid #9ee8c8;background:#effdf7;color:#176c49}.writer-report-modal-icon.error{border:1px solid #ffcac6;background:#fff1f1;color:#ff5f57}.writer-report-modal strong{margin-top:8px;color:#2b2b2b;font-size:16px;font-weight:900}.writer-report-modal p{margin:0;color:#5f5a55;font-size:14px}.writer-report-modal button{min-width:132px;min-height:38px;margin-top:14px;border:1px solid #d9d4ce;border-radius:9px;background:#efefed;color:#2d2926;font-size:14px;font-weight:800}.writer-review-layout{display:grid;grid-template-columns:minmax(300px,360px) minmax(0,1fr);gap:20px}.writer-directory-card,.writer-workspace-card{min-height:0}.writer-entry-list{display:flex;flex-direction:column;gap:14px;min-height:0}.writer-entry-button,.writer-watch-card{width:100%;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px;border-radius:16px;border:1px solid #eaecf0;background:#fcfcfd;text-align:left}.writer-entry-button.active{border-color:#98a2b3;background:linear-gradient(135deg,#fff8f0,#edf6ff)}.writer-watch-card{background:linear-gradient(135deg,#fff8f0,#fff)}.writer-watch-copy{display:flex;align-items:center;gap:12px;min-width:0}.writer-watch-copy img{width:44px;height:44px;border-radius:50%;object-fit:cover}.writer-entry-meta,.writer-metrics-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.writer-metrics-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.writer-readonly-entry,.writer-feedback-editor{display:flex;flex-direction:column;gap:12px;padding:18px;border-radius:16px;border:1px solid #eaecf0;background:#fcfcfd}.writer-readonly-entry p{white-space:pre-wrap;line-height:1.6;color:#344054}.writer-feedback-editor textarea{min-height:100px}.portal-pill.reviewed,.portal-pill.approved{background:#ecfdf3;color:#067647}.db-online-dot.reviewing{background:#fec84b}.db-online-dot.focused{background:#f97066}@media(max-width:1120px){.writer-entry-review-shell{grid-template-columns:1fr}.writer-entry-review-topbar,.writer-entry-review-heading,.writer-feedback-label-row{align-items:stretch;flex-direction:column}.writer-entry-sidebar-panel{max-height:320px;border-right:0;border-bottom:1px solid #e8e1d8}.writer-score-row{grid-template-columns:1fr}.writer-score-actions{justify-content:start}.writer-score-popover{width:min(480px,82vw)}.writer-score-info:hover .writer-score-popover,.writer-score-info:focus-within .writer-score-popover{grid-template-columns:1fr}.writer-review-layout,.writer-metrics-grid,.writer-entry-meta{grid-template-columns:1fr}.writer-review-toolbar,.writer-review-user-card{align-items:stretch;flex-direction:column}.writer-review-search,.writer-review-open-btn{width:100%}}
