.profile-identity{display:flex;align-items:center;gap:16px;background:var(--surface);padding:17px;border-radius:14px;margin:15px 0 11px}.profile-identity h2{margin:0 0 6px;font-size:24px}.profile-identity p{color:var(--muted);font-size:14px}.profile-demo-caption{padding:0 3px;font-size:12px}.profile-section{margin:24px 0;padding-bottom:17px;border-bottom:1px solid var(--line)}.profile-section h2{font-size:20px;margin:0 0 13px}.profile-section>p{font-size:15px;line-height:1.5;margin-top:10px}.profile-row{display:flex;align-items:center;width:100%;gap:10px;padding:15px 0;min-height:48px;border-top:1px solid var(--line);font-size:14px}.profile-row>span{flex:1}.profile-row>svg{flex-shrink:0}.profile-row:first-of-type{border:0}.profile-section>.consent-demo-status{font-size:13px;color:var(--muted);line-height:1.5}.profile-section>.checkbox-label{margin-top:17px;font-size:14px;line-height:1.4}.profile-danger{color:#88443f}.profile-status{padding:14px;background:var(--surface);border-radius:10px;font-size:14px}.profile-entry{display:flex;align-items:center;gap:7px;margin:12px 0 20px;color:var(--muted);font-size:13px}.diary-intro{border:1px solid var(--line);padding:14px;border-radius:13px;margin:0 0 16px;background:#f7f9fb}.diary-intro h2{font-size:17px;margin:0 0 8px}.diary-intro p{font-size:14px;line-height:1.4;color:var(--muted)}.diary-intro .text-button{margin-top:10px;font-size:14px}.header-actions{display:flex;gap:8px;align-items:center}.profile-header{border:1px solid var(--line);border-radius:50%;background:#fff}.root-header h1{margin-right:auto}.screen-header h1{flex:1;font-size:16px;line-height:1.2;padding:0 8px}.diary-intro{padding:20px;background:#eaf1f7;border:2px solid #a3b9ca;box-shadow:0 5px 20px #34495b0c;border-radius:18px}.diary-intro h2{font-size:22px;line-height:1.2}.diary-intro p{font-size:16px;line-height:1.5;color:var(--slate)}.diary-intro .primary{width:100%;margin-top:17px;min-height:48px}.intro-badge{display:flex;align-items:center;gap:8px;margin-bottom:14px;font-size:12px;font-weight:700;color:var(--slate);text-transform:uppercase;letter-spacing:.05em}.editor-toolbar{position:sticky;top:0;background:#fff;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;padding:2px 0 10px;flex-shrink:0}.editor-toolbar>.date-line{margin:0;font-size:14px}.editor-tools{display:flex;align-items:center;gap:8px;margin-left:auto}.editor-toolbar .disclosure{padding:8px 3px;gap:5px;font-size:12px}.editor-toolbar .disclosure>svg{width:14px}.editor-toolbar .microphone{position:static;width:44px;height:44px;background:var(--slate);color:#fff}.editor-box{min-height:140px;margin-top:0}.editor-box textarea{padding:14px 15px;min-height:140px;scroll-margin-top:80px}.editor-box textarea:focus{outline:none}.editor-box:focus-within{border-color:#819db2;box-shadow:0 0 0 1px #819db2}.editor-content{padding-top:10px!important;padding-bottom:12px}.voice-orbit{cursor:pointer;flex-shrink:0}.voice-core{flex-direction:column;gap:8px}.voice-mic{color:#fff}.voice-bars{height:25px;gap:4px}.voice-bars i{max-height:20px;width:3px}.voice-orbit.recording{box-shadow:0 0 0 7px #dce6ee60}.dictation-actions{margin-top:15px}.personal-summary{display:block;width:100%;padding:18px 20px;background:#eef2fc;border:1px solid #dce3f5;border-radius:18px;margin:20px 0;text-align:left}.summary-heading{display:flex;align-items:center;gap:8px;font-weight:700}.summary-heading>svg:last-child{margin-left:auto}.summary-numbers{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0;font-size:13px;color:var(--muted)}.summary-numbers strong{font-size:29px;color:var(--ink);display:block;margin-bottom:4px}.summary-caption{font-size:13px;color:var(--muted)}.diary-period{display:flex;align-items:center;justify-content:space-between;margin:20px 0 14px;gap:8px}.diary-period h2{font-size:20px}.diary-period .secondary{padding:10px 12px;font-size:13px;min-height:42px}.topic-filters label{font-size:13px;color:var(--muted);display:block}.topic-filters select,.diary-search>select{width:100%;padding:11px;border:1px solid var(--line);border-radius:10px;background:#fff;font-size:16px;margin:7px 0 12px}.theme-legend{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.theme-chip{display:inline-flex;align-items:center;gap:8px;border-radius:20px;padding:8px 11px;background:var(--theme-bg);color:var(--theme-color);font-size:12px;font-weight:700;border:1px solid transparent}.theme-chip[aria-pressed=true]{border-color:var(--theme-color);box-shadow:0 0 0 1px var(--theme-color)}.theme-chip>span{opacity:.8}.note-topics{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.diary-note:before{background:var(--theme-color,#859baa)}.diary-note .row-chevron{top:24px}.calendar-day>.day-themes{position:absolute;bottom:1px;left:0;right:0;height:6px;width:auto;display:flex;justify-content:center;gap:3px;background:none;border-radius:0}.day-themes>i{width:5px;height:5px;border-radius:50%;background:var(--theme-color)}.clear-diary-search{margin-bottom:15px}.year-calendar>.calendar-title h2{flex:1;text-align:center}.year-month-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.year-month-grid>button{border:1px solid var(--line);border-radius:15px;padding:14px;text-align:left;min-width:0}.year-month-grid strong{font-size:15px;display:block}.year-note-count{display:block;font-size:27px;margin:12px 0 8px;font-weight:700}.year-note-count small{font-size:11px;font-weight:400;color:var(--muted)}.month-theme-bar{height:6px;display:flex;gap:3px;margin-bottom:10px;background:var(--surface);border-radius:5px;overflow:hidden}.month-theme-bar i{background:var(--theme-color)}.year-month-grid .meta{font-size:11px}.year-calendar .calendar-title{display:flex;align-items:center;margin-bottom:12px}.dashboard-month{font-size:13px;color:var(--muted);display:flex!important;align-items:center;justify-content:space-between;gap:10px;margin:2px 0 18px}.monthly-dynamics .dashboard-month input{margin:0;width:auto;min-width:0;padding:10px;font-size:16px}.dashboard-metrics{display:grid;grid-template-columns:1fr 1fr;gap:12px}.metric-card{border-radius:20px;padding:19px;display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-width:0}.metric-card>span{font-size:13px;line-height:1.4}.metric-card>strong{font-size:48px;line-height:1;font-weight:700}.metric-card>span:last-child{font-size:11px}.metric-main{background:#364b5d;color:#fff}.metric-days{background:#eaf3e6}.metric-topic{grid-column:1/-1;background:var(--theme-bg,#f5f0df);color:var(--theme-color,var(--ink))}.metric-topic>strong{font-size:27px;line-height:1.15;overflow-wrap:anywhere}.month-presence{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;width:100%;margin-top:auto}.month-presence i{height:7px;border-radius:3px;background:#d6e3d2}.month-presence i.active{background:#528052}.dashboard-section{margin-top:26px}.dashboard-section>h2{font-size:22px;margin-bottom:12px}.theme-stat{border:0!important;border-radius:12px;background:var(--theme-bg);padding:13px!important;margin:9px 0}.theme-stat summary{display:grid;grid-template-columns:1fr auto;gap:10px;color:var(--theme-color);list-style:none;font-size:15px}.theme-stat-track{grid-column:1/-1;height:6px;border-radius:5px;background:#ffffffa0;overflow:hidden}.theme-stat-track>i{display:block;height:100%;background:var(--theme-color);border-radius:5px}.theme-stat .question-source{background:transparent}.dashboard-habits{display:grid;gap:12px;margin-top:14px}.dashboard-habit{display:block;width:100%;background:#e9f2f7;border-radius:18px;padding:18px;text-align:left}.habit-tone-1{background:#f4efdf}.habit-tone-2{background:#f3eaf0}.habit-total{display:block;font-size:32px;margin:15px 0 10px;font-weight:700}.habit-total small{font-size:12px;font-weight:400;color:var(--muted)}.habit-mini-visual.check{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;margin:16px 0}.habit-mini-visual.check>span{text-align:center;background:#fff8;border-radius:6px;font-size:10px;padding:5px 0;color:var(--muted)}.habit-mini-visual.check>.filled{background:#68889b;color:#fff}.habit-mini-visual.number{height:80px;display:flex;align-items:flex-end;gap:4px;border-bottom:1px solid #c3ccce;margin:16px 0}.habit-mini-visual.number>span{min-width:0;flex:1;background:#6d8e9c;border-radius:3px 3px 0 0;font-size:9px}.habit-mini-visual.number>.missing{background:transparent}.dashboard-footnote{margin-top:25px;font-size:12px;color:var(--muted);line-height:1.5}.meeting-action-list{display:grid;gap:10px;margin-top:18px}.meeting-action-list>button{width:100%;min-height:48px;font-size:15px;white-space:normal;line-height:1.3}.meeting-action-list .discuss-toggle{display:flex;align-items:center;justify-content:space-between}.add-question{display:flex;align-items:center;gap:8px;justify-content:center;width:100%;margin-top:14px;font-size:14px}.question-author{display:block;font-size:11px;margin-bottom:8px}.report-habits-consent{display:flex;align-items:flex-start;gap:12px;border:1px solid var(--line);border-radius:14px;padding:15px;margin:18px 0;background:#f3f7f1}.report-habits-consent input{width:20px;height:20px;flex-shrink:0;accent-color:var(--slate);margin-top:1px}.report-habits-consent strong{font-size:15px;display:block}.report-habits-consent small{display:block;color:var(--muted);font-size:12px;line-height:1.45;margin-top:6px}.profile-request{background:#eef2fc;border-radius:16px;padding:18px!important}.profile-request p{white-space:pre-wrap}.activity-backdrop{z-index:100;padding:12px;align-items:center}.activity-dialog{display:flex;flex-direction:column;max-height:calc(var(--app-height,100dvh) - 24px);padding:0;overflow:hidden;border-radius:20px;max-width:420px}.activity-dialog .modal-header{padding:16px 18px;margin:0;border-bottom:1px solid var(--line);flex-shrink:0;background:#fff}.activity-dialog .modal-header h2{font-size:20px}.dialog-body{overflow-y:auto;overscroll-behavior:contain;min-height:0;padding:18px;-webkit-overflow-scrolling:touch}.activity-dialog input:not([type=checkbox]):not([type=radio]),.activity-dialog textarea{padding:12px;border:1px solid var(--line);border-radius:10px;font-size:16px;width:100%;margin:8px 0 18px;background:#fff}.activity-dialog textarea{resize:vertical;min-height:90px}.activity-dialog .dialog-submit{width:100%;margin-top:16px;min-height:48px;font-size:15px}.habit-kind-options{border:0;margin:0 0 20px;padding:0}.habit-kind-options legend{font-size:14px;color:var(--muted);margin-bottom:10px}.activity-dialog .habit-kind-options label{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid var(--line);border-radius:13px;margin-bottom:8px;background:#fff}.activity-dialog .habit-kind-options label:has(input:checked){border:2px solid #7191a5;background:#eff5f8;padding:13px}.habit-kind-options input{width:19px;height:19px;margin:0;accent-color:var(--slate);flex-shrink:0}.habit-kind-options strong{display:block;font-size:15px;color:var(--ink)}.habit-kind-options small{font-size:12px;display:block;margin-top:5px}.habit-create-form .checkbox-label{padding:12px 0;font-size:14px}.habit-create-form .checkbox-label input{width:20px;height:20px}@media(max-width:350px){.editor-toolbar>.date-line{font-size:12px}.editor-toolbar .disclosure{font-size:11px}.editor-tools{gap:4px}.editor-toolbar .microphone{width:40px}.metric-card{padding:15px}.metric-card>strong{font-size:40px}.metric-topic>strong{font-size:25px}.habit-value{height:36px}}.activity-dialog .habit-kind-options input[type=radio]{width:19px;height:19px;flex:0 0 19px;padding:0;margin:0;border:0;display:block}.habit-kind-options label>span{min-width:0;flex:1}.diary-period .secondary{width:auto;flex-shrink:0}.note-theme-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.note-theme-chips .theme-chip{font-size:11px;padding:5px 9px}.app{padding-top:var(--host-safe-top,0px);padding-bottom:var(--host-safe-bottom,0px)}textarea[data-caret-editor]{padding-bottom:var(--caret-reserve,78px)!important;scroll-behavior:auto;overscroll-behavior:contain}.edit-area textarea[data-caret-editor]{height:150px;max-height:none;resize:vertical}.edit-area{scroll-margin-top:80px}.diary-global-search{margin:16px 0;scroll-margin-top:12px;background:#fff}.diary-global-search:focus-within{border-color:#819db2}.diary-global-search input:focus,.diary-global-search input:focus-visible{outline:none;box-shadow:none}.diary-global-search button{width:30px;height:30px;font-size:24px;flex-shrink:0}.calendar-topic-filters{margin:20px 0}.calendar-topic-filters .theme-chip{min-height:40px}.topic-check{display:inline-flex;width:15px;height:16px;align-items:center;justify-content:center}.calendar-topic-filters .theme-chip>span{opacity:1}.calendar .topic-calendar-day{height:46px}.calendar .topic-calendar-day>.calendar-topic-circle{width:34px;height:34px;font-weight:400;color:var(--ink);background:transparent}.calendar .topic-calendar-day.has-topic>.calendar-topic-circle{color:#fff}.calendar .topic-calendar-day.selected>.calendar-topic-circle{outline:2px solid var(--slate);outline-offset:3px;font-weight:400}.calendar .topic-calendar-day.is-today>.calendar-topic-circle{font-weight:800}.calendar .topic-calendar-day i{display:none}.calendar-topic-count{position:absolute;right:-1px;bottom:-2px;background:#fff;border:1px solid var(--line);font-size:10px;border-radius:8px;padding:1px 4px;color:var(--muted)}.note-topic-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0 16px}.removable-topic{gap:8px;padding-right:5px}.removable-topic button{width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;color:var(--theme-color)}.add-topic{width:36px;height:36px;border:1px dashed #a5b8c6;background:#fff}.topic-choice-list{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:20px}.topic-choice-list .theme-chip{min-height:40px}.habit-settings-entry{margin:0 0 18px;width:100%;font-size:15px}.reminder-weekdays{border:0;margin:14px 0;padding:0}.reminder-weekdays legend{font-size:14px;color:var(--muted);margin-bottom:10px}.activity-dialog .reminder-weekdays label{display:flex;gap:10px;align-items:center;margin:10px 0;min-height:32px}.activity-dialog .reminder-weekdays input[type=checkbox]{width:20px;height:20px;margin:0;flex-shrink:0}.topic-calendar-day:focus-visible{outline:none}.topic-calendar-day:focus-visible>.calendar-topic-circle{outline:2px solid var(--slate);outline-offset:3px}.all-topics{--theme-color:#364b5d;--theme-bg:#edf2f6}.screen-title{flex:1;min-width:0;text-align:center}.screen-header .screen-title h1{padding:0 4px}.conversation-note-link{display:flex;align-items:center;justify-content:center;gap:3px;max-width:100%;margin:4px auto 0;color:var(--muted);font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.screen-header:has(.conversation-note-link){min-height:78px}.note-reader-header{position:relative}.note-reader-header .screen-title{position:absolute;left:50%;transform:translate(-50%);pointer-events:none;color:var(--muted)}.note-reader-header .screen-title h1{font-size:13px;font-weight:400}.note-header-actions{display:flex;align-items:center;gap:10px;margin-left:auto;position:relative}.note-edit-link{color:#2865a3;font-size:16px;padding:10px 0;min-height:44px}.note-action-menu{position:absolute;right:0;top:48px;width:260px;z-index:50;background:#fff;border:1px solid var(--line);border-radius:14px;padding:6px;box-shadow:0 8px 30px #25364824}.note-action-menu button{display:flex;align-items:center;gap:10px;width:100%;padding:13px 10px;border-radius:9px;font-size:14px}.note-action-menu button:hover,.note-action-menu button:focus-visible{background:#f1f5f9}.note-action-menu .danger{margin:0;color:#9e3a3a}.note-reader-content{padding:22px 22px 26px}.note-reader>.date-line{font-size:14px;color:#656c78;margin-bottom:16px}.note-reader .note-title{font-size:26px;line-height:1.18;letter-spacing:-.5px;margin:0 0 16px;color:#11141a}.note-reader .note-topic-row{margin:0 0 25px;gap:9px}.note-reader .removable-topic{font-size:14px;font-weight:500;border-radius:11px;padding:3px 6px 3px 11px;min-height:33px}.note-reader .add-topic{border-style:solid;border-color:#9ba4b0;border-radius:8px;width:33px;height:33px;color:#515968}.note-reader>.original-text{font-size:18px;line-height:1.5;color:#13151b;margin:0 0 24px;white-space:pre-wrap}.note-disclosure-row{padding:14px 0 18px;margin-top:12px}.note-disclosure-row .disclosure{width:100%;font-size:15px;color:#656c78;min-height:44px;gap:10px}.note-disclosure-row .disclosure>svg:last-of-type{margin-left:auto}.note-reader .note-section{border-top:1px solid #d4d9e1;margin:0;padding:0}.note-reader .section-toggle{padding:18px 0;gap:0}.note-reader .section-toggle>.section-icon,.note-reader .section-toggle>.count{display:none}.note-reader .section-toggle strong{font-size:17px;color:#17191f}.note-reader .section-toggle>svg{margin-left:auto}.note-reader .section-content{padding:0 0 18px;margin:0}.note-reader .template{padding:0;border:0;margin:12px 0}.note-reader .template h3{font-size:16px;margin-bottom:6px}.note-reader .demo-analysis-label{font-size:11px}.note-reader .template-field{padding:12px 0;border-bottom:1px solid #e3e7ec;background:transparent}.note-reader .template-field:not(:has(textarea)):not(:has(.field-suggestion)){display:grid;grid-template-columns:minmax(85px,1fr) 1.7fr;gap:12px;align-items:start}.note-reader .template-field-heading{font-size:14px;gap:2px}.note-reader .template-field .field-value{font-size:15px;margin:0;line-height:1.4}.note-reader .template-field .edit-field{width:25px;height:25px;min-height:25px;opacity:.65}.note-reader .comment{padding:12px 0;border:0;display:flex;flex-direction:column}.note-reader .comment-heading{order:2;margin-top:6px}.note-reader .comment>p{font-size:17px;line-height:1.45;margin:0}.note-reader .comment-heading .meta{font-size:12px}.note-reader .comment+.comment{border-top:1px solid #e3e7ec}.note-discussion-footer{flex-shrink:0;padding:14px 20px calc(20px + env(safe-area-inset-bottom));background:#fff}.note-discussion-footer .primary{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;background:#3f78b3;border-radius:11px;min-height:50px;font-size:17px;padding:12px}.chat-message{max-width:88%;border-radius:18px;padding:13px 15px;margin:16px 0}.chat-message.client{margin-left:auto;background:#dbeaff;border-bottom-right-radius:6px}.chat-message.assistant{background:#efedf7;border-bottom-left-radius:6px}.chat-message.client>.meta{display:none}.chat-message.assistant>.meta{color:#69458e}.chat-message p{font-size:17px;line-height:1.4}.conversation-view .messages{margin:0}.composer-field{border-radius:22px;background:#fff}.composer-field>.send-message{border-radius:50%;background:#3f78b3;color:#fff}.composer-field>textarea{background:transparent}.profile-chat-history{margin:12px 0 20px;border:1px solid var(--line);border-radius:14px;padding:17px 14px!important}.chat-history>p{line-height:1.45;margin-bottom:18px}.chat-history-list{display:grid;gap:0}.chat-history-row{display:flex;align-items:center;gap:13px;width:100%;padding:17px 0;border-bottom:1px solid var(--line);text-align:left}.chat-history-row>span{flex:1;min-width:0}.chat-history-row strong{font-size:16px;display:block;line-height:1.35}.chat-preview{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:var(--muted);font-size:14px;line-height:1.4;margin-top:5px;overflow-wrap:anywhere}.chat-preview b{font-weight:500;color:#56748c}.chat-history-row time{font-size:12px;color:var(--muted);display:block;margin-top:6px}.chat-history .secondary{margin-top:20px;width:100%}.habit-title-row{display:flex;align-items:center;gap:12px;margin:0 0 18px}.habit-title-row>.habit-title{flex:1;margin:0;min-width:0}.habit-settings-gear{flex-shrink:0}.calendar-today{font-size:13px;color:var(--muted);line-height:1.4;margin:0 0 14px}.calendar .today-weekday{font-weight:800;color:var(--slate);text-decoration:none}.dialog-body textarea[data-caret-editor]{min-height:170px;max-height:none;line-height:1.45}@media(max-width:350px){.note-reader-content{padding-left:16px;padding-right:16px}.note-reader .note-title{font-size:24px}.note-header-actions{gap:5px}}.note-reader .template-field{border:0;border-bottom:1px solid #e3e7ec;border-radius:0;margin:0}.note-reader .template-field:not(:has(textarea)){display:grid;grid-template-columns:minmax(85px,1fr) 1.7fr;gap:12px;align-items:start}.note-reader .field-suggestion{grid-column:1/-1}.note-reader .templates-editor>.template:only-of-type>h3{display:none}.conversation-view .messages{gap:16px;padding:8px 0 16px}.chat-message{margin:0}.chat-message>p,.chat-message.client>p{padding:0;border:0;border-radius:0;background:transparent;margin:0}.chat-message.assistant>p{margin-top:5px}.assistant-pending .text-button{font-size:12px;text-decoration:underline;padding:8px 0;min-height:36px}.assistant-pending{margin-top:6px}.assistant-notice{color:var(--muted)}.assistant-notice .text-button{color:var(--slate)}
