.me-tab-note{color:#667085;font-size:12px;line-height:1.5}.topbar{padding-top:8px;padding-bottom:16px}.brand img{flex:0 0 auto}.topbar-actions{gap:8px}.rotation-select{font-weight:600;color:#344054;min-height:42px}.connection-pill{min-height:34px;display:inline-flex;align-items:center;justify-content:center}.page-section{margin-top:20px}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:12px}.section-heading h2{font-size:22px;line-height:1.2;letter-spacing:-.025em}.section-heading .eyebrow{margin-bottom:5px}.welcome-card{position:relative}.stat-grid div{transition:transform .15s,border-color .15s,box-shadow .15s}.stat-grid div:hover{transform:translateY(-1px);border-color:#d7dde6;box-shadow:0 5px 18px #1f29370d}.primary-button,.secondary-button{font-weight:650}.primary-button{box-shadow:0 2px 5px #17203314}.secondary-button{min-height:42px}.form-card,.list-card,.detail-card{box-shadow:0 6px 24px #1f293709}.form-card label{line-height:1.3}.form-card input,.form-card textarea,.form-card select,.filter-bar input,.filter-bar select{min-height:44px}.form-card textarea{min-height:104px}fieldset{gap:12px}legend{font-size:12px;letter-spacing:.02em}.filter-bar{align-items:center}.filter-bar input,.filter-bar select{min-height:44px}.list-row{min-height:58px}.list-row strong{line-height:1.35}.list-row p{line-height:1.4}.detail-card>h3{font-size:13px;letter-spacing:.01em;color:#172033}.case-grid>div{min-height:80px}.detail-actions{margin-top:2px}.detail-actions .secondary-button,.detail-actions .primary-button{min-height:42px}.question-item{min-height:64px}.question-content{padding:2px 0}.question-actions button{min-height:40px}.question-composer textarea{min-height:72px}.bottom-nav{padding:6px;gap:4px}.bottom-nav button{font-weight:550}.bottom-nav button.active{box-shadow:inset 0 0 0 1px #dce2e9}.toast{font-weight:550}.page-section .form-card fieldset+fieldset{margin-top:2px}.page-section .form-card fieldset label input,.page-section .form-card fieldset label textarea{background:#fff}.page-section .form-card fieldset textarea:focus,.page-section .form-card fieldset input:focus{border-color:#98a2b3}.form-card:has(.signout-me-button){gap:12px}.form-card:has(.signout-me-button)>.primary-button{margin-top:2px}.form-card:has(.signout-me-button)>.secondary-button{min-height:42px;border-radius:11px}.form-card:has(.signout-me-button)>.signout-me-button{margin-top:4px;color:#9b2c2c;border-color:#ead5d5;background:#fff}.form-card:has(.signout-me-button)>.signout-me-button:hover{background:#fff7f7;border-color:#e5bcbc}.form-card:has(.signout-me-button)+.list-card{gap:0;padding:8px 18px 10px}.form-card:has(.signout-me-button)+.list-card .list-row{margin:0 -8px;padding:15px 8px;cursor:default;border:1px solid transparent;border-radius:14px;transition:background .15s,border-color .15s,box-shadow .15s}.form-card:has(.signout-me-button)+.list-card .list-row:hover{background:#f8fafc;border-color:#edf0f4}.form-card:has(.signout-me-button)+.list-card .list-row>div:first-child{min-width:0}.form-card:has(.signout-me-button)+.list-card .list-row strong{font-size:14px;color:#172033}.form-card:has(.signout-me-button)+.list-card .list-row p{max-width:42ch;line-height:1.45}.form-card:has(.signout-me-button)+.list-card .heading-actions{flex-wrap:nowrap;gap:6px}.form-card:has(.signout-me-button)+.list-card .heading-actions .sync-state{padding:6px 8px;border:1px solid #e5e9ef;border-radius:999px;background:#f8fafc;white-space:nowrap}.form-card:has(.signout-me-button)+.list-card .heading-actions .secondary-button{min-height:38px;padding:8px 12px;white-space:nowrap}.me-page .section-heading{margin-bottom:10px}.me-active-summary{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(0,auto);align-items:center;gap:10px;margin:0 0 12px;padding:12px 14px;background:#fff;border:1px solid #dfe5ec;border-radius:15px;box-shadow:0 5px 18px #1f293709}.me-active-summary-label{font-size:9px;font-weight:800;letter-spacing:.12em;color:#667085;white-space:nowrap}.me-active-summary strong{font-size:14px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.me-active-summary>span:last-child{font-size:11px;color:#667085;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.me-editor-card{position:relative}.me-editor-card:before{content:"Rotation details";display:block;margin-bottom:0;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#7a8495}.me-editor-card>label{gap:7px}.me-editor-card>label input{background:#fcfcfd}.me-editor-card>.primary-button{margin-top:3px}.me-editor-card>.secondary-button:not(.signout-me-button){background:#f8fafc}.me-editor-card>.secondary-button:not(.signout-me-button):hover{background:#f1f4f7}.me-rotation-row.is-active{background:#f8fafc;border-color:#dce3eb!important;box-shadow:0 2px 10px #1f293709}.me-rotation-row.is-active strong:after{content:"Active";display:inline-flex;align-items:center;margin-left:7px;padding:3px 7px;border-radius:999px;background:#edf7f1;color:#276749;font-size:9px;font-weight:800;letter-spacing:.04em;vertical-align:middle}.me-rotation-row .me-rotation-active{background:#f3f6f9;border-color:#dfe5ec;color:#536071;font-weight:700;cursor:default}.me-rotation-row .me-rotation-make-active{background:#172033;color:#fff;border-color:#172033;font-weight:700}.me-rotation-row .me-rotation-make-active:hover{background:#0f1727;border-color:#0f1727}.me-rotation-row .me-rotation-edit{background:#fff}.me-rotation-row .sync-state{font-size:10px}.me-rotation-row .heading-actions{align-items:center}.sync-indicator{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:42px;padding:8px 11px;border:1px solid #d8dee7;border-radius:12px;background:#fff;color:#475467;font-size:12px;font-weight:700;white-space:nowrap}.sync-indicator:hover{background:#f8fafc;border-color:#cbd3df}.sync-indicator:disabled{opacity:.6;cursor:not-allowed}.sync-indicator-icon{display:inline-block;font-size:17px;line-height:1}.sync-indicator.syncing .sync-indicator-icon{animation:rounds-spin .8s linear infinite}@keyframes rounds-spin{to{transform:rotate(360deg)}}@media(max-width:700px){.app-shell{padding-top:7px}.topbar{padding:4px 0 10px}.page-section{margin-top:11px}.section-heading{align-items:center;margin-bottom:10px}.section-heading h2{font-size:20px}.welcome-card{padding:16px 14px}.stat-grid div{padding:11px 7px}.form-card,.list-card,.detail-card{padding:14px;border-radius:16px}.form-card input,.form-card textarea,.form-card select,.filter-bar input,.filter-bar select{min-height:46px}.primary-button,.secondary-button{min-height:44px}.filter-bar{grid-template-columns:minmax(0,1fr) 118px}.list-row{padding:13px 0;min-height:56px}.list-row .heading-actions{gap:6px}.case-grid>div{min-height:0;padding:13px}.detail-actions{gap:7px}.question-item{padding:13px 0;min-height:0}.question-actions{gap:6px}.question-actions button{min-height:42px}.question-composer textarea{min-height:78px}.bottom-nav{left:8px;right:8px;bottom:max(7px,env(safe-area-inset-bottom));width:auto;padding:4px}.bottom-nav button{min-height:48px;font-size:10px}.toast{top:8px;width:calc(100% - 18px)}.form-card:has(.signout-me-button)+.list-card{padding:6px 10px 8px}.form-card:has(.signout-me-button)+.list-card .list-row{display:grid;grid-template-columns:minmax(0,1fr);gap:11px;margin:0 -2px;padding:14px 2px}.form-card:has(.signout-me-button)+.list-card .list-row>div:first-child{width:100%}.form-card:has(.signout-me-button)+.list-card .heading-actions{display:grid;grid-template-columns:auto 1fr 1fr;width:100%;gap:6px}.form-card:has(.signout-me-button)+.list-card .heading-actions .sync-state{text-align:center;align-self:stretch;display:grid;place-items:center;min-width:66px}.form-card:has(.signout-me-button)+.list-card .heading-actions .secondary-button{width:100%;min-height:42px}.form-card:has(.signout-me-button){padding:14px}.form-card:has(.signout-me-button)>label{gap:6px}.form-card:has(.signout-me-button)>label input{min-height:44px}.form-card:has(.signout-me-button)>label input[type=date]{min-height:44px}.me-active-summary{grid-template-columns:auto minmax(0,1fr);gap:4px 9px;padding:11px 12px}.me-active-summary-label{grid-row:span 2;align-self:start;padding-top:2px}.me-active-summary>span:last-child{grid-column:2;white-space:normal;line-height:1.35}.me-editor-card:before{margin-bottom:1px}.me-rotation-row.is-active strong:after{font-size:8px;padding:3px 6px}.me-rotation-row .heading-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px}.me-rotation-row .sync-state{grid-column:1/-1;justify-self:start}.me-rotation-row .heading-actions .secondary-button{width:100%;min-height:42px}.sync-indicator{min-height:36px;height:36px;padding:6px 9px;border-radius:10px;font-size:11px}.sync-indicator-icon{font-size:16px}}.update-card,.backup-card{margin-top:14px;padding:14px;border:1px solid rgba(0,0,0,.1);border-radius:14px;background:#00000006}.backup-card{display:grid;gap:10px}.backup-import-label{display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.me-page{gap:14px}.me-active-summary{margin-bottom:0}.me-editor-card{gap:0;padding:0;overflow:hidden}.me-settings-group{padding:16px 18px;border-top:1px solid #edf0f4;display:grid;gap:10px}.me-settings-group:first-child{border-top:0}.settings-group-title{font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#667085;margin-bottom:1px}.me-settings-group label{display:grid;gap:6px}.me-settings-group .primary-button,.me-settings-group .secondary-button{width:100%}.me-settings-group .update-card{margin-top:2px}.me-rotations-card{margin-top:0}.me-rotations-card .section-heading{margin-bottom:2px}.me-rotations-card .list-row{border-bottom:1px solid #edf0f4}.me-rotations-card .list-row:last-child{border-bottom:0}.account-card{margin-top:0}.update-card-ready{display:grid;gap:10px;background:#f7fbff;border-color:#cfe7f7}.update-card-ready .primary-button{width:100%}@media(max-width:700px){.me-page{gap:10px}.me-active-summary{margin-bottom:0}.me-editor-card{padding:0}.me-settings-group{padding:14px}.me-settings-group .settings-actions{display:grid;grid-template-columns:1fr;gap:8px}.me-rotations-card{padding:12px 14px}.me-rotations-card .list-row{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}.me-rotations-card .heading-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px}.me-rotations-card .sync-state{grid-column:1/-1;justify-self:start}}.me-page{gap:12px}.me-page>.section-heading{margin-bottom:2px}.me-page>.section-heading h2{margin-bottom:2px}.me-active-summary{grid-template-columns:auto minmax(0,1fr) auto;margin:0;padding:14px 15px;gap:12px}.me-active-summary>div{min-width:0;display:grid;gap:2px}.me-active-summary>div>strong{font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.me-active-summary>div>span{font-size:11px;color:#667085;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.me-active-summary .secondary-button{width:auto;min-width:74px}.me-rotations-card,.me-tools-card,.me-account-card{padding:15px 16px}.me-rotations-card .section-heading{margin-bottom:4px}.me-rotations-card .section-heading h3{margin:0}.me-rotations-card .section-heading .primary-button{width:auto;min-height:40px}.me-rotation-row{border-bottom:1px solid #edf0f4!important;padding:14px 2px!important}.me-rotation-row:last-of-type{border-bottom:0!important}.me-rotation-row>div:first-child{min-width:0}.me-rotation-row p{margin-top:3px}.me-rotation-editor{display:grid;gap:10px;margin:10px 0 2px;padding:14px;border:1px solid #dfe5ec;border-radius:13px;background:#f8fafc}.me-rotation-editor label{display:grid;gap:6px;font-size:12px;font-weight:650;color:#475467}.me-rotation-editor input{min-height:44px}.me-rotation-editor .settings-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:2px}.me-tools-card{display:grid;gap:0}.me-tools-card>.settings-group-title,.me-account-card>.settings-group-title{margin-bottom:2px}.me-tool-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 0;border-top:1px solid #edf0f4}.me-tool-row>div:first-child{min-width:0;display:grid;gap:3px}.me-tool-row strong{font-size:13px}.me-tool-row .muted{font-size:11px;line-height:1.4}.me-tool-actions{display:flex;gap:7px;flex:0 0 auto}.me-tools-card .update-card{margin:0 0 10px;padding:12px;border-radius:12px}.me-tools-card .update-card-ready{display:flex;align-items:center;justify-content:space-between;gap:12px}.me-tools-card .update-card-ready .primary-button{width:auto;min-width:120px}.me-account-card{display:grid;gap:8px}.me-account-card .signout-me-button{width:auto;justify-self:start;min-width:110px}@media(max-width:700px){.me-page{gap:10px}.me-active-summary{grid-template-columns:auto minmax(0,1fr);padding:12px;gap:3px 10px}.me-active-summary .secondary-button{grid-column:2;width:100%;min-width:0}.me-rotations-card,.me-tools-card,.me-account-card{padding:13px}.me-rotations-card .section-heading{align-items:center}.me-rotations-card .section-heading .primary-button{min-height:42px;padding:8px 11px}.me-rotation-row{display:grid!important;grid-template-columns:minmax(0,1fr);gap:10px;padding:13px 2px!important}.me-rotation-row .heading-actions{display:grid;grid-template-columns:auto 1fr 1fr;width:100%;gap:6px}.me-rotation-row .heading-actions .sync-state{grid-column:1/-1;justify-self:start}.me-rotation-row .heading-actions .secondary-button{width:100%}.me-tool-row{align-items:stretch;display:grid;grid-template-columns:minmax(0,1fr);gap:9px}.me-tool-row>button,.me-tool-actions{width:100%}.me-tool-actions{display:grid;grid-template-columns:1fr 1fr}.me-tools-card .update-card-ready{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}.me-tools-card .update-card-ready .primary-button,.me-account-card .signout-me-button{width:100%}}.capture-media-section{display:grid;gap:10px;padding-top:4px}.capture-media-section>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:12px}.capture-media-section h3,.capture-media-section h4{margin:0}.capture-media-section h4{font-size:12px;color:#475467}.capture-media-section .media-picker{position:relative}.detail-card>.attachment-list{margin-top:8px}.detail-card>.attachment-list+.question-item{margin-top:14px}.detail-card>h3{margin-top:16px}.me-page{gap:10px}.me-page>.section-heading{margin-bottom:0}.me-page>.section-heading h2{font-size:20px}.me-active-summary{padding:13px 14px;border-radius:14px;box-shadow:none;background:#fff}.me-active-summary .me-active-summary-label{display:block;font-size:9px;margin-bottom:3px}.me-active-summary>div>strong{font-size:14px}.me-active-summary>div>span{font-size:10px}.me-active-summary .secondary-button{min-height:38px}.me-rotations-card,.me-tools-card,.me-account-card{border-radius:15px;box-shadow:none}.me-rotations-card{padding:13px 14px}.me-rotations-card .section-heading{margin-bottom:0}.me-rotations-card .section-heading h3{font-size:14px}.me-rotations-card .section-heading .secondary-button{min-height:38px}.me-rotation-row{padding:11px 2px!important}.me-rotation-row .sync-state{display:none}.me-rotation-row .heading-actions{gap:5px}.me-rotation-row .heading-actions .secondary-button{min-height:36px;padding:7px 10px;font-size:11px}.me-add-rotation{width:100%;margin-top:9px;min-height:38px}.me-rotation-editor{margin-top:9px;padding:12px;border-radius:12px}.me-tools-card{padding:13px 14px}.me-tools-card .settings-group-title{margin-bottom:0}.me-tool-row{padding:11px 0}.me-tool-row strong{font-size:12px}.me-tool-row .muted{font-size:10px}.me-tool-row>.secondary-button,.me-tool-actions .secondary-button{min-height:36px;padding:7px 10px;font-size:11px}.me-tool-actions{gap:5px}.me-account-card{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px}.me-account-card>div{min-width:0}.me-account-card strong{font-size:12px}.me-account-card p{font-size:10px;margin-top:2px}.me-account-card .signout-me-button{width:auto;min-width:82px;min-height:36px;padding:7px 10px;font-size:11px}@media(max-width:700px){.me-page{gap:8px}.me-active-summary{grid-template-columns:minmax(0,1fr) auto;padding:12px}.me-active-summary .secondary-button{grid-column:auto;width:auto}.me-rotations-card,.me-tools-card,.me-account-card{padding:12px}.me-rotation-row{grid-template-columns:minmax(0,1fr) auto!important;gap:8px}.me-rotation-row .heading-actions{display:flex;width:auto}.me-rotation-row .heading-actions .secondary-button{width:auto}.me-tool-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px}.me-tool-actions{width:auto;display:flex}.me-tools-card .update-card-ready{grid-template-columns:minmax(0,1fr);padding:10px}.me-tools-card .update-card-ready .primary-button{width:100%}.me-account-card{display:flex}.me-account-card .signout-me-button{width:auto}}.backup-local-option{display:flex;align-items:center;gap:7px;margin-top:5px;font-size:11px;color:#667085;cursor:pointer}.backup-local-option input{width:16px;height:16px;margin:0;accent-color:#344054}@media(max-width:700px){.backup-local-option{font-size:10px}}.me-data-overview{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 0;border-bottom:1px solid #eaecf0}.me-data-overview strong{font-size:12px}.me-data-overview p{margin:3px 0 0;max-width:560px}.me-data-badges{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}.me-data-badge{display:inline-flex;align-items:center;padding:4px 7px;border:1px solid #d0d5dd;border-radius:999px;font-size:9px;color:#475467;background:#f9fafb;white-space:nowrap}.me-backup-row{align-items:flex-start}.me-backup-row code{font-size:10px}@media(max-width:700px){.me-data-overview{align-items:flex-start;flex-direction:column;gap:8px}.me-data-badges{justify-content:flex-start}.me-backup-row{grid-template-columns:minmax(0,1fr)!important}.me-backup-row .me-tool-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}.me-backup-row .me-tool-actions>*{width:100%;text-align:center}}.admin-users-card{overflow:hidden}.admin-user-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0 16px}.admin-user-stats>div{border:1px solid var(--border, rgba(127,127,127,.18));border-radius:14px;padding:12px;min-width:0}.admin-user-stats strong{display:block;font-size:1.35rem;line-height:1.1}.admin-user-stats span{display:block;margin-top:4px;color:var(--muted, #777);font-size:.78rem}.admin-user-row{align-items:flex-start;gap:12px}.admin-user-title{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.admin-status-dot{width:8px;height:8px;border-radius:999px;background:#a0a0a0;display:inline-block;flex:0 0 auto}.admin-status-dot.online{background:#28a745}.admin-status-text{font-size:.76rem;color:var(--muted, #777)}@media(max-width:560px){.admin-user-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-user-row{display:block}.admin-user-row .heading-actions{margin-top:10px;justify-content:flex-start!important}}html[data-theme=light]{color-scheme:light}html[data-theme=dark]{color-scheme:dark}html[data-theme=system]{color-scheme:light dark}.me-appearance-card{padding:13px 14px}.theme-setting{display:flex;align-items:center;justify-content:space-between;gap:14px}.theme-setting>div:first-child{min-width:0}.theme-setting strong{font-size:13px}.theme-setting p{margin-top:3px;font-size:11px}.theme-options{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;flex:0 0 210px}.theme-option{min-height:38px;padding:7px 9px;border:1px solid #d7dce3;border-radius:10px;background:#f8fafc;color:#475467;font-size:11px;font-weight:650}.theme-option.active{background:#e8eef5;color:#173a5e;border-color:#b9c7d8}@media(max-width:700px){.theme-setting{display:grid;grid-template-columns:minmax(0,1fr)}.theme-options{width:100%;grid-template-columns:repeat(3,1fr)}}html[data-theme=dark] body{background:#111416;color:#d9dde2}html[data-theme=dark] .app-shell{background:#111416}html[data-theme=dark] .topbar{background:linear-gradient(#111416 82%,#11141600)}html[data-theme=dark] .eyebrow{color:#8f9aa5}html[data-theme=dark] .muted,.dark .muted{color:#9da6af}html[data-theme=dark] h1,html[data-theme=dark] h2,html[data-theme=dark] h3,html[data-theme=dark] p,html[data-theme=dark] strong,html[data-theme=dark] legend,html[data-theme=dark] label{color:#d9dde2}html[data-theme=dark] .form-card,html[data-theme=dark] .list-card,html[data-theme=dark] .detail-card,html[data-theme=dark] .welcome-card,html[data-theme=dark] .stat-grid div,html[data-theme=dark] .me-active-summary,html[data-theme=dark] .me-rotations-card,html[data-theme=dark] .me-tools-card,html[data-theme=dark] .me-account-card,html[data-theme=dark] .me-public-card,html[data-theme=dark] .me-appearance-card{background:#191d21;color:#d9dde2;border-color:#2c3238}html[data-theme=dark] .form-card input,html[data-theme=dark] .form-card textarea,html[data-theme=dark] .form-card select,html[data-theme=dark] .filter-bar input,html[data-theme=dark] .filter-bar select,html[data-theme=dark] .question-composer textarea,html[data-theme=dark] .auth-form input,html[data-theme=dark] .me-rotation-editor input{background:#141719;color:#d9dde2;border-color:#343b42}html[data-theme=dark] .form-card fieldset,html[data-theme=dark] .case-grid>div,html[data-theme=dark] .media-header,html[data-theme=dark] .annotation-canvas-wrap,html[data-theme=dark] .me-rotation-editor,html[data-theme=dark] .me-tools-card .update-card{background:#161a1d;border-color:#2b3137}html[data-theme=dark] .case-grid p,html[data-theme=dark] .diary-text,html[data-theme=dark] .me-tool-row .muted,html[data-theme=dark] .me-active-summary>div>span,html[data-theme=dark] .me-active-summary>span:last-child,html[data-theme=dark] .me-data-overview p{color:#9da6af}html[data-theme=dark] .list-row,html[data-theme=dark] .question-item,html[data-theme=dark] .diary-entry-body,html[data-theme=dark] .me-tool-row,html[data-theme=dark] .me-settings-group,html[data-theme=dark] .me-rotations-card .list-row{border-color:#292f35}html[data-theme=dark] .list-row:hover{background:#20252a}html[data-theme=dark] .bottom-nav{background:#191d21f7;border-color:#2d3339}html[data-theme=dark] .bottom-nav button{color:#929ca6}html[data-theme=dark] .bottom-nav button.active{background:#293037;color:#e0e4e8;box-shadow:inset 0 0 0 1px #3a434b}html[data-theme=dark] .primary-button{background:#d9dde2;color:#171a1d}html[data-theme=dark] .primary-button:hover{background:#eef1f4}html[data-theme=dark] .secondary-button,html[data-theme=dark] .connection-pill,html[data-theme=dark] .rotation-select{background:#1c2126;color:#cdd3d8;border-color:#343b42}html[data-theme=dark] .secondary-button:hover{background:#252b31;border-color:#424a53}html[data-theme=dark] .theme-option{background:#1c2126;color:#aeb7c0;border-color:#343b42}html[data-theme=dark] .theme-option.active{background:#2b333a;color:#dbe1e6;border-color:#46515c}html[data-theme=dark] .attachment-item,html[data-theme=dark] .attachment-preview,html[data-theme=dark] .media-tile{background:#191d21;border-color:#2c3238;color:#d9dde2}html[data-theme=dark] .media-viewer-stage{background:#080a0b}html[data-theme=dark] .media-viewer-backdrop{background:#000000c7}html[data-theme=dark] .danger-button{background:#2a1d20;color:#e3a3a8;border-color:#51373b}html[data-theme=dark] .toast{background:#d9dde2;color:#171a1d}html[data-theme=dark] .legal-overlay{background:#000000b8}html[data-theme=dark] .legal-tabs{background:#161a1d;border-color:#2b3137}html[data-theme=dark] .legal-tabs button{color:#9da6af}html[data-theme=dark] .legal-tabs button.active{background:#293037;color:#e0e4e8}html[data-theme=dark] .inline-link{color:#aebfd2}html[data-theme=dark] .auth-tabs{background:#161a1d}html[data-theme=dark] .auth-tabs button.selected{background:#293037;color:#e0e4e8}html[data-theme=dark] .form-error{color:#e4a4a9}html[data-theme=dark] .form-message{color:#9bc7ad}html[data-theme=dark] .chatgpt-menu{background:#1a1d21;border-color:#3b344f}html[data-theme=dark] .chatgpt-menu-title{color:#c1b8df!important}html[data-theme=dark] .chatgpt-menu-note,html[data-theme=dark] .chatgpt-menu button{color:#bfc7ce}html[data-theme=dark] .chatgpt-menu button:hover{background:#28242f!important;color:#d0c7e8}html[data-theme=dark] .ai-action-button{background:#23212a;border-color:#474050;color:#c8bfdf}html[data-theme=dark] .ai-action-mark{background:#7162b8}html[data-theme=dark] .status-dot{box-shadow:0 0 0 4px #213329}html[data-theme=dark] .admin-status-text{color:#9da6af}html[data-theme=dark] .me-data-badge{background:#171b1e;border-color:#343b42;color:#aeb7c0}html[data-theme=dark] .update-card,html[data-theme=dark] .backup-card{background:#171b1e;border-color:#2c3238}html[data-theme=dark] .update-card-ready{background:#1c252a;border-color:#33444c}html[data-theme=dark] .backup-local-option{color:#9da6af}html[data-theme=dark] .auth-card,html[data-theme=dark] .support-button,html[data-theme=dark] .legal-card,html[data-theme=dark] .media-viewer,html[data-theme=dark] .annotator,html[data-theme=dark] .annotation-tools button,html[data-theme=dark] .annotation-tools input,html[data-theme=dark] .question-item button,html[data-theme=dark] .attachment-delete,html[data-theme=dark] .me-rotation-row .me-rotation-edit,html[data-theme=dark] .form-card:has(.signout-me-button)>.signout-me-button,html[data-theme=dark] .diary-entry-body textarea{background:#191d21;color:#d0d5da;border-color:#2c3238}html[data-theme=dark] .legal-body{background:#191d21;color:#c5cbd1}html[data-theme=dark] .legal-header{border-color:#2b3137}html[data-theme=dark] .support-button:hover,html[data-theme=dark] .question-item button:hover,html[data-theme=dark] .me-rotation-row .me-rotation-edit:hover{background:#23282d;border-color:#3a424a}html[data-theme=dark] .attachment-delete{border-top-color:#2b3137;color:#d29a9f}html[data-theme=dark] .media-header{color:#d0d5da}html[data-theme=dark] .diary-composer textarea{color:#d0d5da;border-color:#343b42}html[data-theme=dark] .diary-composer textarea:focus{border-color:#59636d}html[data-theme=dark] .form-card fieldset label input,html[data-theme=dark] .form-card fieldset label textarea{background:#141719;color:#d9dde2}html[data-theme=dark] .me-editor-card>.secondary-button:not(.signout-me-button){background:#1c2126;color:#cdd3d8;border-color:#343b42}html[data-theme=dark] .me-rotation-row .me-rotation-active{background:#1c2126;color:#cdd3d8;border-color:#343b42}html[data-theme=dark] .me-rotation-row .me-rotation-make-active{background:#2a3137;color:#e1e5e9;border-color:#414a53}html[data-theme=dark] .sync-indicator{background:#1c2126;color:#cdd3d8;border-color:#343b42}html[data-theme=dark] .primary-button{background:#2a3137;color:#e1e5e9;border-color:#414a53;box-shadow:none}html[data-theme=dark] .primary-button:hover{background:#343c43}html[data-theme=dark] .form-card:has(.signout-me-button)>.signout-me-button{color:#d29a9f}html[data-theme=dark] .secondary-button,html[data-theme=dark] .theme-option,html[data-theme=dark] .rotation-select{box-shadow:inset 0 0 0 1px #ffffff08}html[data-theme=dark] .secondary-button{color:#e1e6ea;background:#252b30;border-color:#465059}html[data-theme=dark] .secondary-button:hover{color:#f0f3f5;background:#30373d;border-color:#5a6670}html[data-theme=dark] .secondary-button:focus-visible,html[data-theme=dark] .theme-option:focus-visible{outline:2px solid #8fa9bf;outline-offset:2px}html[data-theme=dark] .primary-button{color:#f1f4f6;background:#364048;border-color:#56636d}html[data-theme=dark] .primary-button:hover{background:#424d56;border-color:#66747f}html[data-theme=dark] .theme-option{background:#20262b;color:#c8d0d6;border-color:#46515a}html[data-theme=dark] .theme-option.active{background:#34424c;color:#f0f4f6;border-color:#718696;box-shadow:inset 0 0 0 1px #ffffff14}html[data-theme=dark] .theme-options{background:transparent}html[data-theme-mode=system][data-theme=dark] .app-shell{background:#111416}html[data-theme-mode=system][data-theme=light] .app-shell{background:#f6f7f9}.me-update-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.update-available-badge{display:inline-flex;align-items:center;gap:7px;font-size:.82rem;font-weight:650;color:#246b3b;background:#e9f7ee;border:1px solid #b8dfc4;border-radius:999px;padding:6px 10px}.update-light{width:9px;height:9px;border-radius:50%;background:#27ae60;box-shadow:0 0 0 3px #27ae6024}html[data-theme=dark] .update-available-badge{color:#a9e4b9;background:#1c3324;border-color:#315a3d}html[data-theme=dark] .update-light{background:#48d477;box-shadow:0 0 0 3px #48d4771f}html[data-theme=dark] .notes-type-switch,html[data-theme=dark] .notes-mode-switch,html[data-theme=dark] .question-segmented,html[data-theme=dark] .question-secondary-filter{background:#161a1d;border-color:#2b3137}html[data-theme=dark] .notes-type-switch button,html[data-theme=dark] .notes-mode-switch button,html[data-theme=dark] .question-segmented button,html[data-theme=dark] .question-secondary-filter button{color:#aeb7c0}html[data-theme=dark] .notes-type-switch button.active,html[data-theme=dark] .notes-mode-switch button.active,html[data-theme=dark] .question-segmented button.active,html[data-theme=dark] .question-secondary-filter button.active{background:#293037;color:#e0e4e8}html[data-theme=dark] .notes-history,html[data-theme=dark] .notes-editor-card,html[data-theme=dark] .notes-media-thumb,html[data-theme=dark] .refined-question-row{background:#191d21;border-color:#2c3238;color:#d9dde2}html[data-theme=dark] .notes-notebook-list button.active,html[data-theme=dark] .notes-topic-list button.active,html[data-theme=dark] .notes-history-item.active,html[data-theme=dark] .refined-question-row.is-answered{background:#20252a}html[data-theme=dark] .notes-title-input,html[data-theme=dark] .notes-body-input,html[data-theme=dark] .notes-hierarchy-fields input,html[data-theme=dark] .question-search,html[data-theme=dark] .question-composer-options select,html[data-theme=dark] .question-answer-input{background:#141719;color:#d9dde2;border-color:#343b42}html[data-theme=dark] .question-status.open{background:#2b3137;color:#bfc7ce}html[data-theme=dark] .question-status.answered{background:#24342c;color:#b7d2c0}html[data-theme=dark] .question-action-button.primary-action{background:#2a3137;color:#e1e5e9}html[data-theme=dark] .notes-delete-button,html[data-theme=dark] .notes-history-item span,html[data-theme=dark] .question-meta-row,html[data-theme=dark] .question-context{color:#9da6af}html[data-theme=dark] .notes-recycle-filters button,html[data-theme=dark] .chatgpt-urgent-toggle{background:#191d21;border-color:#343b42;color:#d0d5da}html[data-theme=dark] .notes-recycle-filters button.active,html[data-theme=dark] .notes-container-item.active>button:first-child{background:#262b30;color:#e0e4e8}html[data-theme=dark] .notes-recycle-card,html[data-theme=dark] .notes-container-item{color:#d0d5da}html[data-theme=dark] .notes-search-input,html[data-theme=dark] .notes-search-result{background:#191d21;border-color:#343b42;color:#d0d5da}html[data-theme=dark] .notes-search-result span,html[data-theme=dark] .notes-search-result small{color:#929aa3}.sync-indicator{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:7px 10px;border:1px solid #dfe4eb;border-radius:999px;background:#fff;color:#667085;font-size:11px;font-weight:700;transition:background .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease}.sync-indicator-icon{display:inline-block;font-size:16px;line-height:1;transform-origin:center}.sync-indicator.syncing .sync-indicator-icon{animation:rounds-sync-spin 1.4s linear infinite}.sync-indicator:disabled{cursor:default;opacity:.92}.sync-indicator:active:not(:disabled){transform:translateY(1px)}body[data-sync-state=synced] .sync-indicator{color:#277a50;border-color:#cce8d8;background:#f3fbf6}.sync-indicator:before{content:"";width:7px;height:7px;border-radius:50%;background:#98a2b3;flex:0 0 auto}body[data-sync-state=synced] .sync-indicator:before{background:#3f9b68}body[data-sync-state=pending] .sync-indicator{color:#8a6200;border-color:#ead9ae;background:#fffaf0}body[data-sync-state=pending] .sync-indicator:before{background:#c28a17}body[data-sync-state=error] .sync-indicator{color:#b42318;border-color:#f0c9c5;background:#fff7f6}body[data-sync-state=error] .sync-indicator:before{background:#d6453d}body[data-sync-state=syncing] .sync-indicator{color:#475467;border-color:#dfe4eb;background:#fff}body[data-sync-state=syncing] .sync-indicator:before{background:#98a2b3}body[data-sync-state=offline] .sync-indicator{color:#667085;border-color:#e1e6ed;background:#f8fafc}body[data-sync-state=offline] .sync-indicator:before{background:#98a2b3}@keyframes rounds-sync-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media(max-width:700px){.sync-indicator{min-height:34px;width:100%;padding:6px 9px;font-size:10px}.sync-indicator-icon{font-size:15px}}@media(prefers-reduced-motion:reduce){.sync-indicator.syncing .sync-indicator-icon{animation:none}}.archived-case-row .heading-actions .secondary-button{display:none}.archived-case-row .heading-actions{min-width:max-content}.archived-case-row{padding-top:16px;padding-bottom:16px}.detail-heading-actions .secondary-button:last-child{min-width:76px;transition:transform .14s ease,background-color .14s ease,border-color .14s ease;touch-action:manipulation}.detail-heading-actions .secondary-button:last-child:active{transform:translate(-2px)}.detail-card{animation:rounds-detail-enter .18s ease-out}@keyframes rounds-detail-enter{0%{opacity:0;transform:translate(6px)}to{opacity:1;transform:translate(0)}}@media(prefers-reduced-motion:reduce){.detail-card,.detail-heading-actions .secondary-button:last-child{animation:none;transition:none}}@media(max-width:700px){.archived-case-row{padding-top:14px;padding-bottom:14px}.archived-case-row .heading-actions{flex-direction:row!important;align-items:center!important}.detail-heading-actions .secondary-button:last-child{min-height:44px;padding-inline:14px}}.bottom-nav button:nth-child(1):before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='5' width='16' height='15' rx='2'/%3E%3Cpath d='M8 3v4M16 3v4M4 9h16M8 13h.01M12 13h.01M16 13h.01M8 17h.01M12 17h.01'/%3E%3C/svg%3E")}.bottom-nav button:nth-child(2):before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 5h9l5 5v9H5z'/%3E%3Cpath d='M14 5v5h5M8 14h8M8 17h5'/%3E%3C/svg%3E")}.bottom-nav button:nth-child(3):before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.9' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 8v8M8 12h8'/%3E%3C/svg%3E")}.bottom-nav button:nth-child(4):before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M9.8 9.5a2.25 2.25 0 1 1 3.75 1.67c-.85.67-1.55 1.13-1.55 2.33M12 16.8h.01'/%3E%3C/svg%3E")}.bottom-nav button:nth-child(5):before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 5.5h8.2a3 3 0 0 1 3 3V19H8.5a3 3 0 0 0-3 3z'/%3E%3Cpath d='M18.5 5.5h-1.8a3 3 0 0 0-3 3V19h2.8a2 2 0 0 1 2 2zM8.5 9h3.2M8.5 12h3.2M8.5 15h2.2'/%3E%3C/svg%3E")}.bottom-nav button:nth-child(6):before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='3.25'/%3E%3Cpath d='M5.5 20a6.5 6.5 0 0 1 13 0'/%3E%3C/svg%3E")}.cases-heading{align-items:flex-end}.cases-count-line{margin-top:4px;font-size:12px}.case-view-switch{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin:0 0 12px;padding:4px;background:#eef1f4;border:1px solid #e0e5eb;border-radius:15px}.case-view-switch button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:8px 12px;border:0;border-radius:11px;background:transparent;color:#667085;font-size:13px;font-weight:650}.case-view-switch button.active{background:#fff;color:#172033;box-shadow:0 2px 7px #1f293714}.case-view-switch strong{font-size:11px;font-weight:750;color:#7a8495}.case-view-switch button.active strong{color:#172033}.cases-list-card{margin-top:0}.list-card-heading{margin-bottom:2px}.case-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex:0 0 auto}.case-row-actions .secondary-button{min-height:36px;padding:7px 11px}.archived-case-row .case-row-actions .secondary-button{display:none}.archive-group-switch{gap:5px}.archive-group-switch .secondary-button{min-height:36px;padding:7px 10px}.archive-group-switch .secondary-button.active{background:#eef1f4;border-color:#cbd3df;color:#172033}.detail-heading-actions{max-width:430px;justify-content:flex-end}.detail-heading-actions .secondary-button{white-space:nowrap}.case-group+.case-group{margin-top:8px}.case-group>h4{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0;padding:10px 2px 5px;font-size:11px;color:#667085;font-weight:750}.case-group>h4 span{display:inline-grid;place-items:center;min-width:23px;height:21px;padding:0 6px;border-radius:999px;background:#f2f4f7;color:#667085;font-size:10px}.case-group .list-row:first-of-type{padding-top:11px}@media(max-width:700px){.cases-heading{align-items:center}.cases-heading-actions{display:grid;grid-template-columns:1fr 1fr;width:100%;gap:6px;margin-top:8px}.cases-heading-actions .secondary-button{width:100%;min-height:40px}.case-view-switch{margin-bottom:9px;border-radius:13px}.case-view-switch button{min-height:44px;font-size:12px}.filter-bar{grid-template-columns:minmax(0,1fr) 116px}.case-row-actions{align-self:center;gap:5px}.case-row-actions .secondary-button{min-height:34px;padding:6px 10px;font-size:11px}.case-row-actions .sync-state{display:none}.cases-list-card{padding:13px 14px}.list-card-heading{align-items:center}.archive-group-switch{width:100%;display:grid;grid-template-columns:1fr 1fr;margin-top:7px}.archive-group-switch .secondary-button{width:100%;min-height:38px}.detail-heading-actions{display:grid;grid-template-columns:1fr 1fr;width:100%;max-width:none;margin-top:9px}.detail-heading-actions .secondary-button:last-child{grid-column:1 / -1}.detail-card>.section-heading{display:block}.case-group>h4{padding-top:8px}.case-group .list-row{padding:12px 0}.case-group .list-row>div:first-child{padding-right:2px}.case-group .list-row p{line-height:1.4}.case-view-switch+.filter-bar{margin-top:0}}.media-viewer{position:fixed;inset:0;z-index:100;display:grid;grid-template-rows:auto minmax(0,1fr) auto;background:#f7f8fa;color:#172033;overscroll-behavior:contain}.media-viewer-panel{position:relative;width:100%;height:100%;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:0;background:#f7f8fa;overflow:hidden}.media-viewer-header{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:58px;padding:10px 14px;border-bottom:1px solid #e5e7eb;background:#fffffff0;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);z-index:2}.media-viewer-title{display:grid;gap:2px;min-width:0}.media-viewer-title strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.media-viewer-title small{color:#667085;font-size:11px}.media-viewer-close{display:inline-grid;place-items:center;width:40px;height:40px;border:1px solid #d9dee7;border-radius:12px;background:#fff;color:#172033;font-size:22px;line-height:1;flex:0 0 auto}.media-viewer-stage{min-height:0;display:grid;place-items:center;overflow:auto;padding:18px;background:#eef1f4;touch-action:pan-x pan-y}.media-viewer-image{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;border-radius:6px;transform-origin:center center;transition:transform .14s ease;box-shadow:0 8px 30px #1720331f;background:#fff}.media-viewer-video{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;border-radius:8px;background:#111;box-shadow:0 8px 30px #1720331f}.media-viewer-placeholder{display:grid;place-items:center;text-align:center;gap:5px;min-height:180px;color:#667085;padding:30px}.media-viewer-placeholder p{font-size:14px;color:#344054}.media-viewer-placeholder small{font-size:11px;max-width:340px;line-height:1.5}.media-viewer-actions{display:flex;align-items:center;gap:8px;min-height:62px;padding:9px 12px;border-top:1px solid #e5e7eb;background:#fffffff5;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);z-index:2}.media-viewer-actions small{margin-left:auto;color:#667085;font-size:11px}.media-viewer-zoom{display:flex;align-items:center;gap:4px;margin-right:auto}.media-viewer-zoom button{border:1px solid #d9dee7;background:#fff;color:#344054;border-radius:10px;min-width:38px;min-height:38px;padding:7px 9px;font-weight:700}.media-viewer-zoom span{min-width:46px;text-align:center;font-size:11px;color:#667085}.media-editor{width:100%;min-height:0;display:grid;grid-template-rows:minmax(0,1fr) auto;gap:0}.annotation-stage{min-height:0;display:grid;place-items:center;overflow:auto;padding:14px;background:#eef1f4;touch-action:pan-x pan-y}.annotation-canvas{display:block;max-width:100%;max-height:100%;width:auto;height:auto;border-radius:5px;background:#fff;box-shadow:0 8px 30px #1720331f;touch-action:none}.media-editor-toolbar{width:100%;display:flex;align-items:center;gap:6px;overflow-x:auto;padding:9px 12px max(9px,env(safe-area-inset-bottom));border-top:1px solid #e5e7eb;background:#fffffff7;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.media-editor-toolbar button{flex:0 0 auto;border:1px solid #d9dee7;background:#fff;color:#344054;border-radius:10px;min-height:40px;padding:8px 12px;font-weight:650}.media-editor-toolbar button.active{background:#172033;color:#fff;border-color:#172033}.media-editor-toolbar .primary-button{margin-left:auto}.media-editor-toolbar button:disabled{opacity:.45}.media-viewer .primary-button,.media-viewer .secondary-button{min-height:40px}@media(max-width:700px){.media-viewer-header{min-height:54px;padding:8px 10px}.media-viewer-stage{padding:8px}.media-viewer-actions{min-height:auto;display:grid;grid-template-columns:minmax(0,1fr) auto auto;padding:8px 9px max(8px,env(safe-area-inset-bottom));gap:6px}.media-viewer-zoom{grid-column:1/-1;justify-content:center;margin:0}.media-viewer-actions .primary-button,.media-viewer-actions .secondary-button{width:100%;min-height:42px}.media-viewer-actions small{display:none}.annotation-stage{padding:8px}.media-editor-toolbar{padding-bottom:max(9px,env(safe-area-inset-bottom))}.media-editor-toolbar button{min-height:42px}}.media-add-button{border:1px solid #e1e5eb;background:#fff;color:#172033;border-radius:11px;min-height:40px;padding:8px 13px;font-size:12px;font-weight:650;box-shadow:0 1px 2px #17203308;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease,transform .12s ease}.media-add-button:hover{background:#f8fafc;border-color:#cfd6df;box-shadow:0 3px 10px #1720330f}.media-add-button:active{transform:scale(.98)}.media-picker-menu{top:48px;gap:2px;padding:5px;border-radius:13px;box-shadow:0 14px 32px #1720331f;animation:media-menu-in .14s ease-out}.media-picker-menu button{padding:10px 11px;border-radius:9px;font-size:12px;transition:background .14s ease}.media-picker-menu button:active{transform:scale(.99)}.media-add-actions button,.media-viewer-actions button,.media-editor-toolbar button{transition:background .16s ease,border-color .16s ease,box-shadow .16s ease,transform .12s ease}.media-add-actions button:active,.media-viewer-actions button:active,.media-editor-toolbar button:active{transform:scale(.98)}.media-viewer-actions .secondary-button,.media-viewer-actions .primary-button{border-radius:11px}.media-viewer-zoom button{transition:background .14s ease,border-color .14s ease,transform .12s ease}.media-viewer-zoom button:hover:not(:disabled){background:#f8fafc;border-color:#cfd6df}.media-viewer-zoom button:active:not(:disabled){transform:scale(.96)}@keyframes media-menu-in{0%{opacity:0;transform:translateY(-4px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.refined-question-composer{display:flex;flex-direction:column;gap:10px}.refined-question-composer textarea{min-height:72px}.question-composer-options{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.question-composer-options select,.question-search{min-height:42px;border:1px solid var(--border,#d9dee5);border-radius:10px;background:var(--surface,#fff);padding:0 12px;font:inherit;color:inherit}.question-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:14px 0}.question-segmented,.question-secondary-filter{display:flex;align-items:center;gap:3px;padding:3px;border:1px solid var(--border,#d9dee5);border-radius:12px;background:var(--surface-muted,#f7f8fa)}.question-segmented button,.question-secondary-filter button{border:0;background:transparent;border-radius:9px;min-height:38px;padding:0 11px;font:inherit;font-size:12px;color:var(--muted,#667085);cursor:pointer}.question-segmented button.active,.question-secondary-filter button.active{background:var(--surface,#fff);color:inherit;box-shadow:0 1px 3px #10182814}.question-search{flex:1;min-width:180px}.refined-questions-list{display:flex;flex-direction:column;gap:20px}.question-day-group>h3{display:flex;align-items:center;gap:7px;margin:0 0 7px;font-size:12px;font-weight:750;color:var(--muted,#667085);text-transform:uppercase;letter-spacing:.06em}.question-day-group>h3 span{font-weight:600;letter-spacing:0;text-transform:none}.refined-question-row{display:flex;align-items:stretch;gap:8px;margin:6px 0;padding:0;border:1px solid var(--border,#e3e7ec);border-radius:13px;background:var(--surface,#fff);overflow:hidden}.refined-question-row.is-answered{background:var(--surface-muted,#f8fafb)}.question-main{flex:1;min-width:0;text-align:left;border:0;background:transparent;padding:14px 12px;cursor:pointer;color:inherit}.question-main-text{display:block;font-size:15px;line-height:1.42;font-weight:650}.is-answered .question-main-text{font-weight:560;opacity:.72}.question-meta-row{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:8px;font-size:11px;color:var(--muted,#667085)}.question-status{display:inline-flex;align-items:center;min-height:22px;padding:0 7px;border-radius:999px;font-size:10px;font-weight:750;letter-spacing:.02em}.question-status.open{background:#f1f4f7;color:#59636e}.question-status.answered{background:#edf2f0;color:#53645d}.question-context{font-size:11px;color:var(--muted,#667085)}.question-context.case-link,.case-detail-link{border:0;background:transparent;padding:2px 0;color:inherit;text-decoration:underline;text-underline-offset:2px;cursor:pointer}.question-context.standalone{opacity:.85}.question-row-actions{display:flex;align-items:center;gap:5px;padding:10px 8px 10px 0}.question-action-button{border:0;background:transparent;min-height:38px;padding:0 9px;border-radius:9px;font:inherit;font-size:11px;color:var(--muted,#667085);cursor:pointer}.question-action-button:hover{background:var(--surface-muted,#f3f5f7)}.question-action-button.primary-action{background:#eef2f5;color:inherit;font-weight:700}.question-action-button.danger{color:#8b5960}.question-action-button.quiet{opacity:.78}.question-count-line{font-size:12px;margin-top:4px}.question-empty-state{text-align:center;padding:30px 18px}.question-empty-state strong{font-size:15px}.question-empty-state p{margin:7px auto 0;max-width:380px}.refined-question-detail{max-width:720px}.question-detail-text{font-size:22px;line-height:1.38;margin:0 0 14px}.question-detail-status-row{display:flex;align-items:center;gap:8px;margin-bottom:18px}.question-detail-context{border-top:1px solid var(--border,#e3e7ec);border-bottom:1px solid var(--border,#e3e7ec);padding:14px 0;margin-bottom:18px}.detail-label{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted,#667085);margin-bottom:4px}.question-detail-media{margin-top:18px}.detail-subheading{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.detail-subheading h3{margin:0;font-size:13px}.detail-subheading span{font-size:11px;color:var(--muted,#667085)}.question-detail-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:20px;padding-top:14px;border-top:1px solid var(--border,#e3e7ec)}@media(max-width:640px){.question-toolbar{display:grid;grid-template-columns:1fr;gap:8px}.question-segmented,.question-secondary-filter{width:100%;overflow:auto}.question-segmented button,.question-secondary-filter button{flex:1;white-space:nowrap}.question-search{width:100%;box-sizing:border-box}.refined-question-row{display:block}.question-main{width:100%;padding:14px 13px 9px}.question-row-actions{padding:0 9px 9px;justify-content:flex-start;border-top:1px solid var(--border,#edf0f3)}.question-row-actions .question-action-button{flex:1}.question-composer-options{align-items:stretch}.question-composer-options select{flex:1;min-width:150px}.question-composer-options .primary-button{min-height:42px}.question-detail-text{font-size:20px}.question-detail-heading .secondary-button{min-height:40px}}.question-answer-section{display:grid;gap:8px;margin-top:18px;padding-top:14px;border-top:1px solid var(--border,#e3e7ec)}.question-answer-input{width:100%;box-sizing:border-box;resize:vertical;border:1px solid var(--border,#d9dee5);border-radius:10px;background:var(--surface,#fff);color:inherit;padding:11px 12px;line-height:1.55;font:inherit;min-height:120px}.question-answer-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.question-answer-actions .muted{font-size:11px;line-height:1.4}.bottom-nav button{position:relative}.bottom-nav button:before{content:"";display:block;width:20px;height:20px;margin:0 auto 3px;background-repeat:no-repeat;background-position:center;background-size:20px 20px;opacity:.72}.bottom-nav button.active:before{opacity:1}.bottom-nav button:nth-child(1):before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='5' width='16' height='15' rx='2'/%3E%3Cpath d='M8 3v4M16 3v4M4 9h16M8 13h.01M12 13h.01M16 13h.01M8 17h.01M12 17h.01'/%3E%3C/svg%3E")}.bottom-nav button:nth-child(2):before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 5h9l5 5v9H5z'/%3E%3Cpath d='M14 5v5h5M8 14h8M8 17h5'/%3E%3C/svg%3E")}.bottom-nav button:nth-child(3):before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.9' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 8v8M8 12h8'/%3E%3C/svg%3E")}.bottom-nav button:nth-child(4):before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M9.8 9.5a2.25 2.25 0 1 1 3.75 1.67c-.85.67-1.55 1.13-1.55 2.33M12 16.8h.01'/%3E%3C/svg%3E")}.bottom-nav button:nth-child(5):before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 5.5h8.2a3 3 0 0 1 3 3V19H8.5a3 3 0 0 0-3 3z'/%3E%3Cpath d='M18.5 5.5h-1.8a3 3 0 0 0-3 3V19h2.8a2 2 0 0 1 2 2zM8.5 9h3.2M8.5 12h3.2M8.5 15h2.2'/%3E%3C/svg%3E")}.bottom-nav button:nth-child(6):before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='3.25'/%3E%3Cpath d='M5.5 20a6.5 6.5 0 0 1 13 0'/%3E%3C/svg%3E")}@media(max-width:700px){.bottom-nav button:before{width:19px;height:19px;background-size:19px 19px;margin-bottom:2px}}:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#172033;background:#f6f7f9;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;background:#f6f7f9}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid rgba(23,32,51,.14);outline-offset:2px}h1,h2,h3,p{margin:0}.app-shell{width:min(100%,960px);min-height:100vh;margin:0 auto;padding:24px 20px 104px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:18px;position:sticky;top:0;z-index:4;padding:10px 0 14px;background:linear-gradient(#f6f7f9 78%,#f6f7f900)}.brand{display:flex;align-items:center;gap:11px;min-width:0}.brand img{width:40px;height:40px;border-radius:12px;display:block;box-shadow:0 3px 12px #1f293714}.brand>div{min-width:0}.topbar-actions,.heading-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.eyebrow{margin:0 0 4px;font-size:10px;font-weight:750;letter-spacing:.14em;color:#7a8495}h1{font-size:clamp(20px,4vw,30px);letter-spacing:-.03em;white-space:nowrap}.rotation-select,.secondary-button{border:1px solid #d8dee7;background:#fff;border-radius:12px;padding:9px 12px;color:#475467;min-height:40px;transition:background .15s,border-color .15s,transform .15s}.rotation-select:hover,.secondary-button:hover{background:#f8fafc;border-color:#cbd3df}.rotation-select{max-width:190px}.connection-pill{font-size:11px;font-weight:650;padding:8px 10px;border-radius:999px;border:1px solid #e1e6ed;background:#fff}.connection-pill.online{color:#276749}.connection-pill.offline{color:#9b2c2c}.page-section{margin-top:24px}.welcome-card{display:flex;gap:13px;align-items:flex-start;padding:22px;background:#fff;border:1px solid #e2e7ee;border-radius:20px;box-shadow:0 8px 30px #1f29370b}.status-dot{width:9px;height:9px;margin-top:8px;flex:0 0 auto;border-radius:50%;background:#3f8f6b;box-shadow:0 0 0 4px #edf7f1}.welcome-card p{margin-top:6px;color:#667085;line-height:1.55}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:14px 0}.stat-grid div{padding:17px;background:#fff;border:1px solid #e2e7ee;border-radius:16px}.stat-grid strong,.stat-grid span{display:block}.stat-grid strong{font-size:25px;letter-spacing:-.02em}.stat-grid span{margin-top:3px;color:#667085;font-size:12px}.large{width:100%}.primary-button{border:0;border-radius:12px;padding:12px 15px;background:#172033;color:#fff;font-weight:700;min-height:44px;transition:transform .12s,box-shadow .12s,background .12s}.primary-button:hover{background:#0f1727;box-shadow:0 6px 18px #17203321}.primary-button:active,.secondary-button:active{transform:translateY(1px)}.primary-button:disabled,.secondary-button:disabled{opacity:.45;cursor:not-allowed}.secondary-button{padding:8px 12px}.form-card,.list-card,.detail-card{display:grid;gap:14px;padding:20px;background:#fff;border:1px solid #e2e7ee;border-radius:20px;margin-bottom:14px;box-shadow:0 5px 22px #1f293706}.form-card label{display:grid;gap:7px;font-size:13px;font-weight:650;color:#344054}.form-card input,.form-card textarea,.form-card select,.filter-bar input,.filter-bar select{width:100%;border:1px solid #d9dee7;border-radius:12px;padding:11px 12px;outline:none;background:#fff;color:#172033;transition:border-color .15s,box-shadow .15s}.form-card textarea{min-height:96px;resize:vertical;line-height:1.5}.form-card input:focus,.form-card textarea:focus,.form-card select:focus,.filter-bar input:focus,.filter-bar select:focus{border-color:#98a2b3;box-shadow:0 0 0 3px #98a2b326}fieldset{border:1px solid #e5e9ef;border-radius:15px;padding:15px;display:grid;gap:14px;background:#fcfcfd}legend{padding:0 7px;font-size:13px;font-weight:750;color:#344054}.form-card small{font-size:11px;color:#667085;font-weight:400}.list-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 2px;border-bottom:1px solid #eef1f4;cursor:pointer;transition:background .15s}.list-row:last-child{border-bottom:0}.list-row p{margin-top:3px;color:#667085;font-size:12px}.sync-state{font-size:11px;color:#667085}.sync-state.pending{color:#9a6700}.sync-state.error{color:#b42318}.muted{color:#667085}.toast{position:fixed;z-index:10;top:16px;left:50%;transform:translate(-50%);width:min(calc(100% - 32px),560px);padding:12px 14px;background:#172033;color:#fff;border-radius:13px;box-shadow:0 12px 35px #1f293733;display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:13px}.toast button{border:0;background:transparent;color:#fff;font-size:18px;min-width:30px;min-height:30px;border-radius:8px}.filter-bar{display:grid;grid-template-columns:2fr 1fr;gap:8px;margin-bottom:14px}.detail-card h3{font-size:14px;margin-bottom:7px}.case-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.case-grid>div{padding:15px;background:#f8f9fb;border:1px solid #e8ebef;border-radius:14px}.case-grid p{margin-top:7px;color:#4a5568;line-height:1.55;font-size:13px;white-space:pre-wrap}.detail-actions{display:flex;gap:8px;flex-wrap:wrap}.media-picker{display:inline-grid;gap:6px;padding:0;border:0;background:transparent;vertical-align:middle}.media-picker-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.attachment-list,.question-media-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.attachment-item{border:1px solid #dfe4eb;border-radius:12px;overflow:hidden;background:#fff}.attachment-preview{display:grid;grid-template-columns:72px minmax(0,1fr);gap:10px;align-items:center;width:100%;padding:8px;border:0;background:#fff;text-align:left;color:#344054}.attachment-preview img,.attachment-preview video{width:72px;height:60px;object-fit:cover;border-radius:8px;background:#eef1f4}.attachment-preview strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attachment-delete{width:100%;border:0;border-top:1px solid #eef1f4;background:#fff;padding:7px;color:#9b2c2c;font-size:11px}.media-viewer{position:fixed;inset:0;z-index:30;background:#090e18f0;display:grid;place-items:center;padding:20px}.media-viewer-content{width:min(100%,960px);max-height:100%;display:grid;gap:12px;justify-items:center}.media-viewer-content img,.media-viewer-content video{max-width:100%;max-height:78vh;object-fit:contain;border-radius:10px}.media-viewer-toolbar{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;color:#fff}.media-viewer-close{position:fixed;top:14px;right:14px;width:42px;height:42px;border:0;border-radius:50%;background:#ffffff1f;color:#fff;font-size:28px;z-index:31}.question-content{min-width:0;cursor:pointer}.question-content p{margin-top:4px;color:#667085;font-size:11px}.question-actions{display:flex;gap:6px;align-items:center}.question-item{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;padding:14px 0;border-bottom:1px solid #eef1f4;font-size:13px}.question-item:last-child{border-bottom:0}.question-item button{border:1px solid #d9dee7;background:#fff;color:#475467;border-radius:10px;min-height:38px;padding:8px 11px;font-size:12px;font-weight:650}.question-composer{display:grid;gap:9px;padding:14px 0 16px}.question-composer textarea{width:100%;resize:none;border:1px solid #d9dee7;border-radius:12px;padding:11px 12px;line-height:1.45;background:#fff;color:#172033;min-height:66px}.question-composer-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.question-composer-actions .primary-button{margin-left:auto}.draft-media-count{font-size:11px;color:#667085}.questions-list{gap:0}.question-group{display:grid;gap:0}.question-group+.question-group{margin-top:18px;padding-top:4px;border-top:1px solid #eef1f4}.question-group>h3{padding:4px 0 7px;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#7a8495}.question-row{grid-template-columns:minmax(0,1fr) auto}.question-detail{gap:16px}.question-detail-text{font-size:18px;line-height:1.45}.question-detail-meta{display:flex;gap:10px;align-items:center;color:#667085;font-size:12px}.question-detail-media{display:grid;gap:9px;padding-top:4px}.bottom-nav{position:fixed;left:50%;bottom:12px;transform:translate(-50%);width:min(calc(100% - 24px),640px);display:grid;grid-template-columns:repeat(5,1fr);gap:3px;padding:5px;background:#fffffff7;border:1px solid #dde3eb;border-radius:19px;box-shadow:0 12px 35px #1f29371f;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);z-index:9}.bottom-nav button{border:0;background:transparent;padding:10px 5px;text-align:center;font-size:12px;color:#7a8495;border-radius:14px;min-height:44px}.bottom-nav button.active{background:#eef1f4;color:#172033;font-weight:700}.auth-page,.loading-page{min-height:100vh;display:grid;place-items:center;padding:24px}.auth-card{width:min(100%,430px);padding:30px;background:#fff;border:1px solid #e4e8ee;border-radius:22px;box-shadow:0 18px 50px #1f293712}.auth-card h1{font-size:30px}.auth-subtitle{margin-top:8px;color:#667085;line-height:1.5}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin:26px 0 20px;padding:4px;background:#f2f4f7;border-radius:12px}.auth-tabs button{border:0;background:transparent;color:#667085;padding:10px;border-radius:9px}.auth-tabs button.selected{background:#fff;color:#172033;font-weight:650;box-shadow:0 1px 4px #1f293714}.auth-form{display:grid;gap:16px}.auth-form label{display:grid;gap:7px;font-size:13px;font-weight:600;color:#344054}.auth-form input{width:100%;border:1px solid #d9dee7;border-radius:11px;padding:12px 13px;outline:none;background:#fff;color:#172033}.form-error,.form-message{font-size:13px;line-height:1.45}.form-error{color:#b42318}.form-message{color:#3f6f57}@media(max-width:700px){body{overflow-x:hidden}.app-shell{width:100%;padding:10px 12px calc(92px + env(safe-area-inset-bottom))}.topbar{position:sticky;top:0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:5px 0 11px;background:linear-gradient(#f6f7f9 84%,#f6f7f900)}.brand{gap:9px}.brand img{width:34px;height:34px;border-radius:10px}.brand h1{font-size:16px;line-height:1.15;white-space:normal}.brand .eyebrow{font-size:8px;margin-bottom:2px}.topbar-actions{display:flex;flex-direction:column;align-items:stretch;gap:5px;min-width:118px}.connection-pill{display:none}.rotation-select{width:100%;max-width:none;min-height:36px;height:36px;padding:6px 9px;border-radius:10px;font-size:11px}.page-section{margin-top:13px}.welcome-card{padding:17px 15px;border-radius:16px;gap:10px}.welcome-card h2{font-size:19px;line-height:1.25}.welcome-card p{font-size:13px;line-height:1.45}.stat-grid{gap:6px;margin:10px 0}.stat-grid div{padding:12px 8px;border-radius:13px;text-align:center}.stat-grid strong{font-size:22px}.stat-grid span{font-size:10px;white-space:nowrap}.large{min-height:46px}.form-card,.list-card,.detail-card{padding:13px;border-radius:15px;gap:12px;margin-bottom:10px}.form-card input,.form-card textarea,.form-card select,.filter-bar input,.filter-bar select{font-size:16px;padding:11px 12px;border-radius:11px}.filter-bar{grid-template-columns:minmax(0,1fr) 112px;gap:6px;margin-bottom:10px}.list-row{align-items:flex-start;gap:8px;padding:13px 0}.list-row>div:first-child{min-width:0;flex:1}.list-row .heading-actions{flex:0 0 auto;flex-direction:column;align-items:stretch}.case-grid{grid-template-columns:1fr;gap:8px}.detail-actions{display:grid;grid-template-columns:1fr;gap:6px}.attachment-list,.question-media-list{grid-template-columns:1fr}.media-picker-actions{grid-template-columns:1fr 1fr}.media-picker{padding:0}.attachment-preview{grid-template-columns:64px minmax(0,1fr)}.attachment-preview img,.attachment-preview video{width:64px;height:56px}.question-item{grid-template-columns:1fr;gap:9px;padding:12px 0}.question-row{grid-template-columns:1fr}.question-actions{display:grid;grid-template-columns:1fr 1fr}.question-actions button{width:100%}.question-composer{padding:8px 0 12px}.question-composer-actions{align-items:center}.question-composer-actions .primary-button{margin-left:0}.question-detail-text{font-size:17px}.bottom-nav{left:9px;right:9px;bottom:max(8px,env(safe-area-inset-bottom));transform:none;width:auto;gap:2px;padding:4px;border-radius:17px}.bottom-nav button{min-height:46px;padding:8px 1px;font-size:10px;border-radius:13px}.toast{top:8px;width:calc(100% - 20px);padding:10px 11px;border-radius:11px;font-size:12px}.media-viewer{padding:10px}.media-viewer-content img,.media-viewer-content video{max-height:75vh}.media-viewer-toolbar{font-size:11px}.auth-page{padding:14px}.auth-card{padding:22px 16px;border-radius:18px}}@media(max-width:390px){.app-shell{padding-left:10px;padding-right:10px}.brand h1{font-size:15px}.topbar-actions{min-width:108px}.stat-grid span{font-size:9px}.filter-bar{grid-template-columns:minmax(0,1fr) 100px}.bottom-nav button{font-size:9px}.form-card,.list-card,.detail-card{padding:12px}.section-heading h2{font-size:18px}}.media-gallery{display:grid;gap:10px;margin-top:4px}.media-header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px;background:#f8f9fb;border:1px solid #e8ebef;border-radius:14px}.media-header h3{margin:0 0 3px}.media-header p{font-size:11px;line-height:1.4}.media-add-actions{display:flex;gap:6px;flex:0 0 auto}.media-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.media-tile{border:1px solid #dfe4eb;background:#fff;border-radius:12px;padding:5px;text-align:left;min-width:0;overflow:hidden}.media-tile img{display:block;width:100%;aspect-ratio:1;object-fit:cover;border-radius:8px;background:#f1f3f5}.media-tile>span:last-child{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px;color:#475467;padding:5px 2px 2px}.video-tile{aspect-ratio:1;display:grid;place-items:center;align-content:center;gap:4px;background:#f1f3f5;border-radius:8px;font-size:25px}.video-tile small{font-size:10px}.media-viewer-backdrop{position:fixed;inset:0;z-index:30;background:#0a0f19b8;display:grid;place-items:center;padding:16px}.media-viewer,.annotator{width:min(100%,1000px);max-height:calc(100vh - 32px);overflow:auto;background:#fff;border-radius:16px;padding:12px;display:grid;gap:10px}.media-viewer-bar{display:flex;align-items:center;justify-content:space-between;gap:8px}.media-viewer-stage{min-height:180px;max-height:70vh;display:grid;place-items:center;background:#111;border-radius:12px;overflow:hidden}.media-viewer-stage img,.media-viewer-stage video{max-width:100%;max-height:70vh;object-fit:contain}.danger-button{border:1px solid #f0caca;background:#fff;color:#b42318;border-radius:10px;padding:8px 11px;min-height:38px}.annotation-tools{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.annotation-tools button{border:1px solid #d9dee7;background:#fff;border-radius:9px;padding:8px 10px}.annotation-tools button.active{background:#172033;color:#fff}.annotation-tools input{min-width:160px;flex:1;border:1px solid #d9dee7;border-radius:9px;padding:9px}.annotation-canvas-wrap{display:grid;place-items:center;overflow:auto;background:#f1f3f5;border-radius:12px;touch-action:none}.annotation-canvas-wrap canvas{display:block;max-width:100%;height:auto;touch-action:none}.annotation-actions{display:flex;justify-content:flex-end;gap:8px}.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}@media(max-width:700px){.media-header{align-items:flex-start;flex-direction:column}.media-add-actions{width:100%}.media-add-actions button{flex:1}.media-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.media-viewer-backdrop{padding:8px}.media-viewer,.annotator{max-height:calc(100vh - 16px);border-radius:13px;padding:9px}.media-viewer-stage{max-height:65vh}.media-viewer-stage img,.media-viewer-stage video{max-height:65vh}.annotation-tools{display:grid;grid-template-columns:repeat(3,1fr)}.annotation-tools input{grid-column:1/-1;width:100%}.annotation-tools button{min-height:40px}.annotation-actions{display:grid;grid-template-columns:1fr}.annotation-actions button{width:100%}}.diary-page{max-width:760px;margin-left:auto;margin-right:auto}.diary-heading{margin-bottom:12px}.diary-composer{padding:4px 0 22px;border-bottom:1px solid #e5e9ef}.diary-composer textarea{width:100%;border:0;border-bottom:1px solid #dfe4eb;border-radius:0;padding:12px 0 13px;background:transparent;color:#172033;resize:none;outline:none;line-height:1.65}.diary-composer textarea:focus{border-color:#98a2b3}.diary-composer-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:10px;font-size:11px}.diary-composer-actions .primary-button{min-height:38px;padding:8px 14px}.diary-stream{padding:8px 0 30px}.diary-entry{position:relative}.diary-date{padding:22px 0 8px;font-size:12px;font-weight:750;color:#667085}.diary-entry-body{padding:0 0 18px;border-bottom:1px solid #eef1f4}.diary-text{white-space:pre-wrap;line-height:1.72;color:#273244;font-size:14px}.diary-entry-body textarea{width:100%;border:1px solid #d9dee7;border-radius:10px;padding:11px 12px;background:#fff;color:#172033;resize:vertical;line-height:1.6;outline:none}.diary-entry-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:9px;font-size:10px;color:#98a2b3}.diary-entry-footer>div{display:flex;gap:4px}.diary-entry-footer button{border:0;background:transparent;color:#7a8495;padding:4px 6px;font-size:10px}.diary-entry-footer button:hover{color:#172033}.diary-empty{padding:30px 0;text-align:center;font-size:13px}.bottom-nav{grid-template-columns:repeat(6,1fr)}@media(max-width:700px){.bottom-nav button{font-size:10px;padding:8px 2px}.diary-page{margin-top:8px}.diary-composer textarea{font-size:16px}.diary-text{font-size:14px}.diary-date{padding-top:18px}}.support-button{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px;border:1px solid #d8dee7;border-radius:13px;background:#fff;color:#172033;text-align:left}.support-button:hover{background:#f8fafc;border-color:#cbd3df}.support-button span:first-child{display:grid;gap:3px}.support-button strong{font-size:13px}.support-button small{font-size:11px;color:#667085}.me-legal-links{display:flex;flex-wrap:wrap;align-items:center;gap:7px;font-size:11px}.inline-link{border:0;background:transparent;padding:0;color:#3b5b86;text-decoration:underline;text-underline-offset:2px;cursor:pointer;font:inherit}.inline-link:hover{color:#172033}.me-creator{display:grid;gap:3px;padding-top:10px;border-top:1px solid #edf0f4;color:#667085;font-size:10px;line-height:1.45}.me-creator strong{color:#344054;font-size:11px}.legal-overlay{position:fixed;inset:0;z-index:60;background:#090e188c;display:grid;place-items:center;padding:16px}.legal-card{width:min(100%,760px);max-height:min(88vh,900px);display:grid;grid-template-rows:auto auto minmax(0,1fr);background:#fff;border:1px solid #dfe5ec;border-radius:18px;box-shadow:0 24px 70px #090e1840;overflow:hidden}.legal-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid #edf0f4}.legal-header h2{font-size:20px}.legal-tabs{display:flex;gap:4px;padding:8px 12px;border-bottom:1px solid #edf0f4;background:#fafbfc}.legal-tabs button{border:0;background:transparent;color:#667085;padding:8px 11px;border-radius:9px;font-size:12px}.legal-tabs button.active{background:#eef1f4;color:#172033;font-weight:700}.legal-body{overflow:auto;padding:20px 22px 28px;color:#344054;font-size:13px;line-height:1.65}.legal-body h3{margin:20px 0 7px;color:#172033;font-size:14px}.legal-body p{margin:0 0 10px}.legal-body ul{margin:8px 0 14px;padding-left:20px}.auth-consent{display:flex!important;grid-template-columns:auto minmax(0,1fr);align-items:flex-start;gap:8px!important;font-size:11px!important;font-weight:400!important;color:#667085!important;line-height:1.45}.auth-consent input{width:16px!important;min-height:16px!important;margin-top:1px;flex:0 0 auto}.auth-consent .inline-link{font-size:11px}.auth-legal-footer{display:flex;justify-content:center;gap:7px;margin-top:14px;font-size:11px;color:#98a2b3}@media(max-width:700px){.legal-overlay{padding:8px}.legal-card{max-height:92vh;border-radius:15px}.legal-header{padding:13px 14px}.legal-header h2{font-size:18px}.legal-body{padding:16px 15px 24px;font-size:12px}.legal-tabs{overflow:auto}.legal-tabs button{white-space:nowrap}.me-legal-links{gap:5px}.me-creator{font-size:9px}.support-button{min-height:56px}}.chatgpt-action-wrap{position:relative;display:inline-flex}.chatgpt-button{white-space:nowrap}.chatgpt-menu{position:absolute;right:0;top:calc(100% + 7px);z-index:50;width:min(310px,calc(100vw - 28px));padding:9px;border:1px solid var(--rounds-border);border-radius:15px;background:#fffffffa;box-shadow:0 16px 38px #18223329;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.chatgpt-menu-title{margin:2px 8px 3px;font-weight:760;color:var(--rounds-ink)}.chatgpt-menu-note{margin:0 8px 7px;font-size:11px;line-height:1.45;color:var(--rounds-muted)}.chatgpt-menu button{display:block;width:100%;min-height:42px;padding:8px 10px;border:0;border-radius:10px;background:transparent;color:var(--rounds-ink);text-align:left;font:inherit;font-size:13px}.chatgpt-menu button:hover{background:#0000000b}.chatgpt-urgent-toggle{display:grid;grid-template-columns:auto auto 1fr;gap:.35rem .45rem;align-items:center;margin:.55rem .35rem .7rem;padding:.6rem .7rem;border:1px solid var(--rounds-border);border-radius:10px;background:#00000006;font-size:12px;color:var(--rounds-ink)}.chatgpt-urgent-toggle span{grid-column:2 / -1;color:var(--rounds-muted);font-size:11px}textarea,input[dir=auto],[contenteditable=true][dir=auto]{text-align:start;unicode-bidi:plaintext;writing-mode:horizontal-tb}textarea[dir=auto]::placeholder,input[dir=auto]::placeholder{text-align:start;opacity:.72}[dir=auto]{text-align:start;unicode-bidi:plaintext}:root{--ux-ink:#172033;--ux-muted:#667085;--ux-border:#e1e6ed;--ux-surface:#fff;--ux-surface-soft:#f7f9fb;--ux-focus:rgba(59,91,134,.16);--ux-ai:#5b4bb7;--ux-ai-soft:#f2efff}button,input,textarea,select{font:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--ux-focus);outline-offset:1px}.secondary-button,.question-action-button{border:1px solid var(--ux-border);background:var(--ux-surface);color:#344054;border-radius:11px;min-height:40px;padding:9px 12px;font-weight:650;transition:background .15s,border-color .15s,transform .12s,box-shadow .15s}.secondary-button:hover,.question-action-button:hover{background:var(--ux-surface-soft);border-color:#cbd3df;box-shadow:0 3px 10px #1720330d}.primary-button{min-height:44px}.secondary-button:active,.question-action-button:active,.primary-button:active{transform:translateY(1px)}.ai-action-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:9px 14px;border:1px solid #cfc7f3;border-radius:12px;background:linear-gradient(180deg,#fbfaff 0%,var(--ux-ai-soft) 100%);color:#493b9c;font-weight:750;letter-spacing:-.01em;box-shadow:0 2px 8px #5b4bb71a;transition:transform .12s,box-shadow .15s,border-color .15s,background .15s}.ai-action-button:hover{border-color:#b9afe9;background:#eeeaff;box-shadow:0 6px 16px #5b4bb729}.ai-action-button:active{transform:translateY(1px)}.ai-action-mark{display:grid;place-items:center;width:21px;height:21px;border-radius:7px;background:#6654c8;color:#fff;font-size:12px;line-height:1;box-shadow:0 2px 6px #5b4bb738}.chatgpt-action-wrap{display:inline-flex;position:relative}.chatgpt-menu{border-color:#d7d1f2;box-shadow:0 18px 42px #231d492e}.chatgpt-menu-title{color:#493b9c!important}.chatgpt-menu button{min-height:44px}.chatgpt-menu button:hover{background:#f3f0ff!important;color:#493b9c}.detail-heading-actions{align-items:center}.detail-heading-actions>.secondary-button,.detail-heading-actions>.ai-action-button{white-space:nowrap}.detail-actions{align-items:center}.list-card,.detail-card,.form-card{box-shadow:0 4px 18px #1f293709}.section-heading{gap:12px}.section-heading h2,.section-heading h3{letter-spacing:-.015em}.list-row{border-radius:10px;padding-left:7px;padding-right:7px}.list-row:hover{background:#fafbfc}.muted{color:var(--ux-muted)}.form-card fieldset{background:#fbfcfd}.bottom-nav button{transition:background .15s,color .15s,transform .12s}.bottom-nav button.active{box-shadow:inset 0 0 0 1px #dbe1e8}.bottom-nav button:active{transform:translateY(1px)}@media(max-width:700px){.detail-heading-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}.detail-heading-actions>.secondary-button,.detail-heading-actions>.ai-action-button{width:100%;min-height:42px}.chatgpt-action-wrap,.chatgpt-action-wrap .ai-action-button{width:100%}.chatgpt-menu{left:0;right:0;width:100%;top:calc(100% + 6px)}.section-heading{align-items:flex-start}.bottom-nav button.active{box-shadow:inset 0 0 0 1px #dbe1e8}}.primary-button,.secondary-button,.question-action-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap;touch-action:manipulation}.primary-button{border-radius:11px;padding:10px 14px;font-weight:700;transition:background .15s,border-color .15s,transform .12s,box-shadow .15s}.primary-button:hover{box-shadow:0 5px 14px #1720331a}.primary-button:disabled,.secondary-button:disabled,.question-action-button:disabled{cursor:not-allowed;opacity:.52;box-shadow:none;transform:none}.secondary-button,.question-action-button{touch-action:manipulation}.notes-page{padding-bottom:7rem}.notes-mode-switch{display:flex;gap:.4rem;overflow:auto;margin:0 0 1rem;padding:.25rem;background:var(--surface-muted,#f4f6f8);border-radius:12px}.notes-mode-switch button,.notes-type-switch button{border:0;background:transparent;border-radius:9px;padding:.65rem .8rem;font:inherit;color:inherit;white-space:nowrap}.notes-mode-switch button.active,.notes-type-switch button.active{background:var(--surface,#fff);box-shadow:0 1px 4px #00000014;font-weight:650}.notes-type-switch{display:flex;gap:.4rem;margin:.75rem 0;padding:.25rem;background:var(--surface-muted,#f4f6f8);border-radius:12px}.notes-type-switch button{flex:1;text-align:center;font-weight:600}.notes-type-switch button.active{background:var(--surface,#fff);color:var(--text,#111827)}.notes-notebook-bar{display:grid;grid-template-columns:1fr 1fr;gap:.75rem;margin-bottom:.75rem}.notes-notebook-bar label{display:grid;gap:.35rem;font-size:.82rem;font-weight:650}.notes-notebook-bar input{box-sizing:border-box;width:100%;border:1px solid var(--border,#dfe4e8);border-radius:10px;padding:.65rem .75rem;background:var(--surface,#fff);font:inherit}.notes-history-layout{display:grid;grid-template-columns:minmax(190px,28%) minmax(0,1fr);gap:1rem;align-items:start}.notes-history{border:1px solid var(--border,#dfe4e8);border-radius:12px;background:var(--surface,#fff);overflow:hidden}.notes-history-heading{display:flex;justify-content:space-between;padding:.75rem;border-bottom:1px solid var(--border,#dfe4e8);font-size:.9rem}.notes-notebook-list,.notes-topic-list{padding:.45rem;display:grid;gap:.25rem}.notes-notebook-list{border-bottom:1px solid var(--border,#dfe4e8)}.notes-notebook-list button,.notes-topic-list button{border:0;background:transparent;text-align:left;border-radius:8px;padding:.55rem .65rem;color:inherit;font:inherit}.notes-notebook-list button.active,.notes-topic-list button.active{background:var(--surface-muted,#f4f6f8);font-weight:650}.notes-history-item{display:grid;grid-template-columns:minmax(0,1fr) auto;border-top:1px solid var(--border,#dfe4e8);padding:.45rem}.notes-history-item.active{background:var(--surface-muted,#f4f6f8)}.notes-history-item>button:first-child{border:0;background:transparent;text-align:left;color:inherit;font:inherit;padding:.35rem;min-width:0}.notes-history-item>button:first-child strong,.notes-history-item>button:first-child span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.notes-history-item span{font-size:.76rem;color:var(--muted,#6b7280);margin-top:.2rem}.notes-delete-button{border:0;background:transparent;color:var(--muted,#6b7280);padding:.35rem;cursor:pointer}.notes-editor-card{display:grid;gap:.8rem;border:1px solid var(--border,#dfe4e8);border-radius:12px;padding:1rem;background:var(--surface,#fff)}.notes-editor-meta{display:flex;gap:.45rem;align-items:center;font-size:.82rem;color:var(--muted,#6b7280)}.notes-title-input{width:100%;box-sizing:border-box;border:1px solid var(--border,#dfe4e8);border-radius:10px;padding:.7rem .8rem;background:var(--surface,#fff);font:inherit}.notes-body-input{width:100%;box-sizing:border-box;resize:vertical;border:1px solid var(--border,#dfe4e8);border-radius:10px;padding:.8rem;background:var(--surface,#fff);font:inherit;line-height:1.6;min-height:300px}.notes-editor-actions,.diagram-export-actions{display:flex;gap:.5rem;flex-wrap:wrap;align-items:center}.notes-media-grid{display:grid;gap:.45rem}.notes-media-grid>div{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:.65rem}.notes-media-thumb{display:grid;gap:.35rem;border:1px solid var(--border,#dfe4e8);border-radius:10px;padding:.45rem;overflow:hidden}.notes-media-thumb img,.notes-media-thumb video{display:block;width:100%;height:130px;object-fit:cover;border-radius:7px;background:#111}.notes-media-thumb>div{display:flex;justify-content:space-between;gap:.3rem;align-items:center;font-size:.75rem}.notes-media-add{display:inline-flex;align-items:center;cursor:pointer}.diagram-workspace{display:grid;gap:.65rem}.diagram-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:.5rem;align-items:center}.diagram-editor-shell{width:100%;height:min(70vh,720px);min-height:480px;overflow:hidden;border:1px solid var(--border,#dfe4e8);border-radius:12px;background:#fff}.diagram-editor-frame{display:block;width:100%;height:100%;border:0}@media(max-width:760px){.notes-history-layout{grid-template-columns:1fr}.notes-history{order:2}.notes-notebook-bar{grid-template-columns:1fr}.diagram-editor-shell{height:65vh;min-height:420px}.notes-type-switch button{flex:1}}.notes-hierarchy-fields{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:.55rem;align-items:end}.notes-hierarchy-fields label{display:grid;gap:.25rem;font-size:.78rem;font-weight:650;color:var(--muted,#6b7280)}.notes-hierarchy-fields input{width:100%;box-sizing:border-box;border:1px solid var(--border,#dfe4e8);border-radius:9px;padding:.55rem .65rem;background:var(--surface,#fff);color:inherit;font:inherit;font-weight:500}@media(max-width:600px){.notes-hierarchy-fields{grid-template-columns:1fr}.notes-hierarchy-fields>span{display:none}}.notes-subsection-heading{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.55rem .65rem .25rem;font-size:.72rem;font-weight:750;color:var(--muted,#6b7280);text-transform:uppercase;letter-spacing:.06em}.notes-create-link{border:0;background:transparent;color:inherit;font:inherit;font-size:.72rem;font-weight:750;padding:.2rem;cursor:pointer}html[data-theme=dark] .notes-subsection-heading,html[data-theme=dark] .notes-create-link{color:#9da6af}html[data-theme=dark] .notes-create-link:hover{color:#e0e4e8}.notes-container-item{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.15rem}.notes-container-item>button:first-child{min-width:0}.notes-container-item.active>button:first-child{background:var(--surface-muted,#f4f6f8);font-weight:650}.notes-recycle-filters{display:flex;gap:.35rem;flex-wrap:wrap;margin:.75rem 0}.notes-recycle-filters button{border:1px solid var(--border,#dfe4e8);background:var(--surface,#fff);color:inherit;border-radius:999px;padding:.4rem .7rem}.notes-recycle-filters button.active{font-weight:650;background:var(--surface-muted,#f4f6f8)}.notes-recycle-list{display:grid;gap:.35rem}.notes-recycle-list .list-row{display:flex;justify-content:space-between;align-items:center;gap:.75rem}.notes-recycle-list .list-row>div:first-child{display:grid;gap:.2rem;min-width:0}.notes-recycle-list .list-row strong{overflow:hidden;text-overflow:ellipsis}.notes-search-input{width:100%;box-sizing:border-box;margin:.75rem 0;padding:.7rem .8rem;border:1px solid var(--border,#dfe4e8);border-radius:10px;background:var(--surface,#fff);color:inherit}.notes-search-results{display:grid;gap:.4rem}.notes-search-result{display:grid;gap:.2rem;text-align:left;padding:.7rem;border:1px solid var(--border,#dfe4e8);border-radius:10px;background:var(--surface,#fff);color:inherit;cursor:pointer}.notes-search-result span,.notes-search-result small{color:var(--rounds-muted,#6d737a)}.notes-search-result small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.notes-container-item{flex-wrap:wrap}.notes-container-item .notes-delete-button{font-size:11px;padding:.25rem .45rem}.notes-type-switch{overflow-x:auto;scrollbar-width:none;align-items:stretch}.notes-type-switch::-webkit-scrollbar{display:none}.notes-type-switch button{min-height:44px;flex:0 0 auto;padding:.65rem .9rem}.notes-type-switch button.active{box-shadow:0 1px 5px #0000001a}.notes-container-item{border-radius:10px;padding:2px}.notes-container-item:hover{background:var(--surface-muted,#f4f6f8)}.notes-container-item>button:first-child{font-weight:560}.notes-container-item.active>button:first-child{color:var(--accent,#365f8c)}.notes-container-item .notes-delete-button{border:1px solid var(--border,#dfe4e8);background:var(--surface,#fff);border-radius:8px;min-height:34px;padding:.35rem .55rem;font-size:.72rem}.notes-container-item .notes-delete-button:hover{background:var(--surface-muted,#f4f6f8)}.notes-container-item .notes-delete-button:first-of-type{color:var(--text,#344054)}.notes-container-item .notes-delete-button:last-of-type{color:#a33a3a}.notes-create-link{border:1px solid var(--border,#dfe4e8);background:var(--surface,#fff);border-radius:8px;min-height:34px;padding:.35rem .6rem;color:var(--text,#344054)}.notes-create-link:hover{background:var(--surface-muted,#f4f6f8)}.notes-editor-actions .primary-button,.diagram-toolbar .primary-button{min-height:46px;padding:.65rem 1rem;border-radius:11px}.notes-editor-actions .secondary-button,.diagram-toolbar .secondary-button,.diagram-export-actions .secondary-button{min-height:44px;border-radius:10px}.notes-media-add{min-height:44px!important;border-radius:10px!important}.notes-search-result{min-height:72px;transition:background .15s,border-color .15s,transform .12s,box-shadow .15s}.notes-search-result:hover{border-color:#cbd3df;box-shadow:0 3px 10px #1720330d}.notes-search-result:active{transform:translateY(1px)}.notes-recycle-filters button{min-height:40px;cursor:pointer}.notes-recycle-card .heading-actions button{min-height:40px;border-radius:10px}.notes-recycle-card .heading-actions .notes-delete-button{border:1px solid #e2caca;background:#fff7f7;color:#a33a3a;padding:.55rem .75rem}@media(max-width:600px){.notes-container-item .notes-delete-button{min-height:38px}.notes-editor-actions{display:grid;grid-template-columns:1fr 1fr;gap:.5rem}.notes-editor-actions .muted{grid-column:1/-1;order:3}.notes-media-add{width:100%;justify-content:center}.diagram-toolbar{grid-template-columns:1fr 1fr}.diagram-toolbar .notes-title-input{grid-column:1/-1}.diagram-toolbar button{width:100%}.diagram-export-actions{display:grid;grid-template-columns:1fr}.diagram-export-actions button{width:100%}}html[data-theme=dark] .notes-container-item:hover,html[data-theme=dark] .notes-create-link:hover,html[data-theme=dark] .notes-container-item .notes-delete-button:hover{background:#20252b}html[data-theme=dark] .notes-container-item .notes-delete-button{background:#171b20;border-color:#343b43}html[data-theme=dark] .notes-container-item .notes-delete-button:last-of-type{color:#f08a8a}html[data-theme=dark] .notes-recycle-card .heading-actions .notes-delete-button{background:#2a1c1c;border-color:#5b3434;color:#faa}.notes-search-bar{display:flex;gap:.5rem;align-items:center;margin:.75rem 0}.notes-search-bar .notes-search-input{margin:0;flex:1;min-width:0}.notes-search-clear{min-height:44px;padding:.65rem .85rem;border:1px solid var(--border,#dfe4e8);border-radius:10px;background:var(--surface-muted,#f4f6f8);color:inherit;cursor:pointer}.notes-search-results-card{margin-bottom:.75rem;padding:.75rem}.notes-page-heading{align-items:center;gap:1rem}.notes-utility-actions{display:flex;align-items:center;gap:.5rem;flex-shrink:0}.notes-utility-button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:.45rem;padding:.65rem .85rem;border:1px solid var(--border,#dfe4e8);border-radius:10px;background:var(--surface-muted,#f4f6f8);color:inherit;font:inherit;font-weight:650;cursor:pointer}.notes-utility-button.active{background:var(--surface,#fff);border-color:var(--text,#111827);box-shadow:0 1px 5px #00000014}.notes-count-badge{min-width:1.35rem;height:1.35rem;padding:0 .25rem;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:var(--text,#111827);color:var(--surface,#fff);font-size:.78rem;line-height:1}.notes-recycle-card{padding:1rem}.notes-recycle-filters{display:flex;gap:.4rem;flex-wrap:wrap;margin:.75rem 0 1rem;padding:.25rem;background:var(--surface-muted,#f4f6f8);border-radius:12px}.notes-recycle-filters button{min-height:40px;padding:.55rem .8rem;border:0;border-radius:9px;background:transparent;color:inherit;font:inherit;cursor:pointer}.notes-recycle-filters button.active{background:var(--surface,#fff);font-weight:650;box-shadow:0 1px 4px #00000014}.notes-danger-button{min-height:44px;padding:.65rem .85rem;border:1px solid var(--danger,#c53b3b);border-radius:10px;background:transparent;color:var(--danger,#c53b3b);font:inherit;font-weight:650;cursor:pointer}.notes-danger-button:disabled,.notes-utility-button:disabled{opacity:.5;cursor:not-allowed}@media(max-width:640px){.notes-page-heading{align-items:flex-start;flex-direction:column}.notes-utility-actions,.notes-utility-button{width:100%}.notes-recycle-card .list-card-heading{align-items:flex-start;flex-direction:column}.notes-recycle-card .heading-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}.notes-recycle-card .heading-actions button{width:100%}}.notes-recycle-item{cursor:pointer}.notes-recycle-item:focus-visible{outline:2px solid #6b7cff;outline-offset:2px}.notes-recycle-detail-backdrop{position:fixed;inset:0;z-index:1000;background:#0a0e1480;display:flex;align-items:center;justify-content:center;padding:1rem}.notes-recycle-detail{width:min(720px,100%);max-height:min(82vh,760px);overflow:auto;background:var(--surface,#fff);border:1px solid var(--border,#dfe3e8);border-radius:16px;padding:1rem;box-shadow:0 18px 60px #0003}.notes-recycle-detail-content{display:grid;gap:.6rem}.notes-recycle-detail-text{white-space:pre-wrap;line-height:1.6;border:1px solid var(--border,#dfe3e8);border-radius:12px;padding:.85rem;background:var(--surface-muted,#f7f8fa)}
