.handover-panel,.patient-handover{min-width:0;font-size:13px}.handover-toolbar{position:-webkit-sticky;position:sticky;top:0;z-index:1;background:white;padding-bottom:6px}.handover-read-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.handover-read-heading>small{color:var(--text-muted);font-size:11px}.home-dashboard .home-accordion-with-action>summary{display:grid;grid-template-columns:25px minmax(0,1fr) 44px 18px;grid-gap:8px;gap:8px}.home-dashboard .home-accordion-with-action>summary .home-accordion-chevron{grid-column:4;grid-row:1;margin-left:0}.home-section-expand{grid-column:3;grid-row:1;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:8px;background:transparent;color:#1474ea;cursor:pointer}.home-section-expand:hover{background:#eff5ff}.home-section-expand:focus-visible{outline:2px solid #1474ea;outline-offset:2px}.handover-reader{box-sizing:border-box;width:calc(100vw - 24px);height:calc(100dvh - 24px);max-width:1040px;max-height:none;margin:auto;padding:0;border:1px solid #dce8f8;border-radius:18px;color:var(--text);background:white;overflow:hidden}.handover-reader[open]{display:flex;flex-direction:column}.handover-reader::-webkit-backdrop{background:#152b4866}.handover-reader::backdrop{background:#152b4866}.handover-reader-header{flex:none;padding:16px 24px 12px;border-bottom:1px solid #dce8f8;background:white}.handover-reader-header h2{margin:0;font-size:18px}.handover-reader-header h2 small{margin-left:8px;font-weight:400}.handover-reader-header h2 small,.handover-reader-header>small{font-size:12px;color:var(--text-muted)}.handover-reader-header .handover-date{max-width:460px}.handover-reader-list{min-height:0;flex:1 1;overflow-y:auto;overscroll-behavior:contain;padding:0 24px max(24px,env(safe-area-inset-bottom));font-size:14px;scrollbar-gutter:stable}.handover-date button[aria-pressed=true]{background:#dfeaff;color:#0753c5}@media(max-width:600px){.handover-reader{width:100%;height:100dvh;max-width:none;border:0;border-radius:0}.handover-reader-header{padding:max(12px,env(safe-area-inset-top)) 16px 12px}.handover-reader-list{padding-inline:16px}.handover-reader-header h2{font-size:16px}}.handover-date{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;grid-gap:5px;gap:5px;align-items:center;margin-bottom:6px}.handover-date input{box-sizing:border-box;min-width:0;width:100%;height:44px;padding:4px 6px;border:1px solid #dce8f8;border-radius:8px;background:white;color:var(--text);font:inherit;font-size:12px}.handover-date button,.handover-item button{min-height:44px;padding:6px 10px;color:var(--accent);background:#eff5ff;border:0;border-radius:8px}.handover-item{padding:12px 0;border-bottom:1px solid #e4edf9;overflow-wrap:anywhere}.handover-item:last-child{border-bottom:0}.handover-item>a{display:inline-flex;align-items:center;min-height:44px;font-weight:700}.handover-item small,.handover-panel>small{display:block;color:var(--text-muted);font-size:11px}.handover-item p{white-space:pre-wrap;line-height:1.7;margin:6px 0 0}.handover-empty{color:var(--text-muted);padding-block:16px}.patient-handover{background:#f4f8ff;border:1px solid #dce8f8;border-radius:14px;padding:12px 16px;margin:0 0 14px}.patient-handover h2{font-size:14px;margin:0}.patient-handover summary{min-height:44px;font-size:12px;color:var(--accent)}.handover-past{max-height:280px;overflow-y:auto}@media(min-width:1200px) and (pointer:fine){.home-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-overview-grid.home-lower-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.home-dashboard .home-overview-grid>.home-accordion:not(.home-accordion-with-action)>summary{display:grid;grid-template-columns:25px minmax(0,1fr) 18px;grid-gap:4px 10px;gap:4px 10px}.home-overview-grid .home-section-icon{grid-column:1;grid-row:1}.home-overview-grid summary h2{grid-column:2;grid-row:1}.home-overview-grid .home-accordion-chevron{grid-column:3;grid-row:1}.home-overview-grid .home-accordion-detail{grid-column:2/4;grid-row:2}}.handover-editor-heading,.handover-item-heading{display:flex;gap:12px;align-items:center;justify-content:space-between}.handover-editor-heading small,.handover-item-heading small{min-width:0;overflow-wrap:anywhere}.handover-editor-heading button,.handover-item-heading button{flex-shrink:0}.handover-profile-list{max-height:420px;overflow-y:auto}.handover-record-group{margin-top:12px}.handover-record-group h3{font-size:12px;margin:0;color:var(--text-muted)}.handover-editor-dialog{box-sizing:border-box;width:min(540px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow-y:auto;border:1px solid #dce8f8;border-radius:18px;padding:24px;color:var(--text);background:white}.handover-editor-dialog::-webkit-backdrop{background:#11243f66}.handover-editor-dialog::backdrop{background:#11243f66}.patient-directory .handover-editor-dialog h2{display:block;font-size:18px;margin:0}.handover-editor-dialog p{font-size:13px;overflow-wrap:anywhere}.handover-editor-dialog label{display:grid;grid-gap:8px;gap:8px;margin-top:16px;font-size:13px}.handover-editor-dialog input,.handover-editor-dialog textarea{box-sizing:border-box;min-width:0;width:100%;min-height:40px;padding:8px 12px;border:1px solid #cfd8e6;border-radius:8px;font:inherit;color:inherit;background:white}.handover-editor-dialog textarea{resize:vertical;line-height:1.7}.handover-editor-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.handover-editor-dialog .handover-error{color:#bc233f}@media(max-width:480px){.handover-editor-dialog{padding:18px}.handover-editor-actions>*{flex:1 1}}.handover-date .handover-share-button{display:inline-flex;align-items:center;gap:5px;color:var(--accent);background:#eff5ff;font-size:13px;font-weight:650}@media(min-width:1200px) and (max-width:1399px) and (pointer:fine){.home-lower-grid .handover-date{grid-template-columns:repeat(3,minmax(0,1fr))}.home-lower-grid .handover-date input{grid-column:1/-1}.home-dashboard .home-lower-grid>.home-accordion>summary h2{font-size:15px;white-space:nowrap}}.handover-task-panel{display:grid;grid-gap:8px;gap:8px}.handover-summary-title{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;min-width:0}.handover-count{display:inline-flex;align-items:center;padding:1px 8px;border-radius:999px;background:#eef4fd;color:#2c5ca5;font-size:11px;font-weight:700;white-space:nowrap}.handover-count.is-overdue{background:#ffe9eb;color:#c0262d}.handover-board{display:grid;grid-template-columns:minmax(0,1fr);grid-gap:6px;gap:6px;min-width:0}.handover-actions{flex:none;display:inline-flex;align-items:center;gap:6px}.handover-icon-action{display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;border-radius:8px;background:transparent;color:#1474ea;cursor:pointer}.handover-icon-action:focus-visible,.handover-icon-action:hover:not(:disabled){background:#eff5ff}.handover-icon-action:disabled{opacity:.45;cursor:default}.handover-board-head{display:flex;align-items:center;gap:8px;min-height:40px}.handover-board-head>.handover-hint{flex:1 1;min-width:0;margin:0;color:var(--muted);font-size:12px;line-height:1.5}.handover-board.handover-accordion{display:block}.handover-accordion>summary{display:flex;align-items:center;gap:6px;height:52px;list-style:none;color:var(--text);cursor:pointer}.handover-accordion>summary::-webkit-details-marker{display:none}.handover-accordion>summary .handover-summary-title{flex:1 1;flex-wrap:wrap;gap:2px 6px}.handover-accordion>summary .handover-summary-title strong{white-space:nowrap}.handover-accordion>summary strong{font-size:14px}.handover-chevron{flex:none;margin-right:2px;color:#8ba7d1;transform:rotate(90deg);transition:transform .22s ease}.handover-accordion[open]>summary .handover-chevron{transform:rotate(-90deg)}.handover-accordion-body{display:grid;grid-template-columns:minmax(0,1fr);grid-gap:6px;gap:6px;padding-bottom:10px}.handover-error{margin:0;color:#c0262d;font-size:13px}.handover-empty-line{margin:0;padding:4px 2px;color:var(--muted);font-size:12px}.handover-tasks{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:minmax(0,1fr);min-width:0;box-sizing:border-box;border:1px solid #dce8f8;border-radius:8px;background:white;overflow:hidden}.handover-tasks.is-capped{max-height:112px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}.handover-task{display:flex;align-items:center;gap:6px;min-height:36px;padding:0 10px 0 4px;border-top:1px solid #e9f0fa}.handover-task:first-child{border-top:0}.handover-task[data-state=done]{background:#f8fafc}.handover-task-text{flex:1 1;min-width:0;min-height:36px;padding:0;border:0;background:transparent;color:var(--text);font:inherit;font-size:13px;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}button.handover-task-text{cursor:pointer}span.handover-task-text{display:flex;align-items:center;padding-left:8px}.handover-task[data-state=done] .handover-task-text{padding-left:8px;color:var(--muted);text-decoration:line-through}.handover-due{flex:none;display:inline-flex;align-items:center;gap:5px;padding:1px 7px;border-radius:999px;background:#eef4fd;color:#2c5ca5;font-size:10.5px;font-weight:700;white-space:nowrap}.handover-due time{font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.handover-due small{color:inherit;font-size:10.5px;font-weight:700}.handover-due.is-overdue{background:#ffe9eb;color:#c0262d}.handover-due.is-today{background:#fff2df;color:#9a5b20}.handover-check{position:relative;flex:none;display:grid;place-items:center;width:36px;height:36px;margin:0;padding:0;border:0;background:transparent;color:transparent;cursor:pointer}.handover-check:before{content:"";box-sizing:border-box;width:18px;height:18px;border:2px solid #9bb7e3;border-radius:50%;background:white;transition:border-color .16s,background-color .16s}.handover-check svg{position:absolute;width:12px;height:12px}.handover-check:focus-visible,.handover-check:hover{color:#1d9a6c}.handover-check:focus-visible:before,.handover-check:hover:before{border-color:#1d9a6c;background:#e9f8f1}.handover-task[data-state=overdue] .handover-check:before{border-color:#d93b47}.handover-task[data-state=today] .handover-check:before{border-color:#e8a33d}.handover-done-info{flex:none;color:var(--muted);font-size:10.5px;white-space:nowrap}.handover-reopen{flex:none;min-height:28px;padding:2px 9px;border:0;border-radius:6px;background:#eff5ff;color:var(--accent);font-size:11px;font-weight:700;cursor:pointer;white-space:nowrap}.handover-done-month>summary,.handover-done>summary{display:flex;align-items:center;min-height:36px;color:var(--accent);font-size:12px;font-weight:700;cursor:pointer}.handover-done-month{margin-left:8px}.handover-done-month>summary{color:var(--text);font-weight:600}.handover-done .handover-tasks{margin:0 0 6px}.handover-reader-actions{display:flex;align-items:center;gap:8px}.handover-task-reader .handover-reader-list{padding-top:10px}.handover-task-reader .handover-tasks{margin-bottom:8px}.handover-editor-meta{display:block;margin-top:4px;color:var(--muted);font-size:12px}.handover-editor-actions .handover-delete{margin-right:auto;border-color:#f0bec4;background:#fff0f1;color:#c0262d}section.patient-handover{padding:0 14px;margin:0 0 10px;border:1px solid var(--border);border-radius:12px;background:#fff;box-shadow:var(--shadow)}.accordion-stack>section.patient-handover{margin:0}button.handover-task-mark{position:relative;flex:none;display:inline-grid!important;place-items:center;width:34px!important;min-width:34px!important;height:34px!important;min-height:0!important;margin:0 8px 0 0;padding:0!important;border:0!important;border-radius:50%!important;background:#eef4fd!important;color:#2c5ca5!important;vertical-align:middle;cursor:pointer}button.handover-task-mark:after{content:"";position:absolute;inset:-5px}button.handover-task-mark:focus-visible,button.handover-task-mark:hover{background:#dfeaff!important}button.handover-task-mark.is-overdue{background:#ffe9eb!important;color:#c0262d!important}button.handover-task-mark.is-overdue:focus-visible,button.handover-task-mark.is-overdue:hover{background:#ffd9dd!important}button.handover-task-mark .handover-task-count{position:absolute;top:-3px;right:-3px;min-width:16px;height:16px;padding:0 4px;box-sizing:border-box;border-radius:999px;background:#2c5ca5;color:#fff;font-size:10px;font-weight:700;line-height:16px;text-align:center}button.handover-task-mark.is-overdue .handover-task-count{background:#c0262d}.handover-repeat{display:grid;grid-gap:6px;gap:6px;margin:12px 0 0}.handover-repeat-label{font-size:13px;font-weight:600}.handover-repeat-kinds,.handover-repeat-weekdays{display:flex;gap:6px;flex-wrap:wrap}.handover-repeat-weekdays{margin-top:8px}.handover-repeat-kinds button,.handover-repeat-weekdays button{min-height:38px;padding:0 16px;border:1px solid var(--border);border-radius:9px;background:#fff;color:#33415c;font:inherit;font-size:14px;font-weight:600;cursor:pointer}.handover-repeat-weekdays button{width:40px;padding:0;border-radius:999px}.handover-repeat-kinds button[aria-pressed=true],.handover-repeat-weekdays button[aria-pressed=true]{border-color:var(--accent);background:var(--accent);color:#fff}.handover-repeat-kinds button:disabled,.handover-repeat-weekdays button:disabled{opacity:.6}.handover-repeat-until{display:grid;grid-gap:8px;gap:8px;margin-top:10px}.handover-editor-dialog .handover-repeat-limit{display:flex;flex-direction:row;align-items:center;gap:8px;font-weight:600}.handover-editor-dialog .handover-repeat-limit input[type=checkbox]{width:20px;height:20px;min-height:0;margin:0;padding:0;flex:none}.handover-repeat-badge{flex:none;padding:1px 8px;border-radius:999px;background:#e4f3ea;color:#14532d;font-size:11px;white-space:nowrap}.handover-day{flex:none;color:#4b5563;font-size:12px;font-weight:600}.handover-range{display:flex;align-items:flex-end;gap:8px;margin-top:12px}.handover-range>label{flex:1 1;min-width:0;margin:0}.handover-range-sep{flex:none;padding-bottom:12px;color:#4b5563;font-weight:700}.handover-editor-dialog .handover-repeat-limit{margin-top:8px}[data-color]{--kind-bg:#dbe8ff;--kind-ink:#12408a;--kind-bar:#5b8fe0}[data-color=orange]{--kind-bg:#ffe7cc;--kind-ink:#7a3f00;--kind-bar:#f0a030}[data-color=red]{--kind-bg:#fde2e2;--kind-ink:#8a1c1c;--kind-bar:#e05858}.handover-color{display:grid;grid-gap:6px;gap:6px;margin-top:12px}.handover-color-swatches{display:flex;gap:8px;flex-wrap:wrap}.handover-swatch{flex:none;display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 14px;border:1px solid #cfd8e6;border-radius:8px;background:#fff;color:var(--text);font:inherit;font-size:13px;cursor:pointer}.handover-swatch i{width:10px;height:10px;border-radius:50%;background:var(--kind-bar)}.handover-swatch[aria-pressed=true]{border-color:var(--kind-bar);background:var(--kind-bg);color:var(--kind-ink);font-weight:700}.handover-swatch:disabled{opacity:.6}.handover-level{display:inline-block;margin-right:8px;padding:0 7px;border-radius:6px;background:var(--kind-bg);color:var(--kind-ink);font-size:11px;font-weight:700;line-height:1.7;vertical-align:1px}.handover-scope-dialog{width:min(360px,calc(100vw - 32px));padding:20px;border:0;border-radius:16px;box-shadow:0 18px 50px rgba(8,30,70,.3)}.handover-scope-dialog::-webkit-backdrop{background:rgba(10,32,72,.35)}.handover-scope-dialog::backdrop{background:rgba(10,32,72,.35)}.handover-scope-dialog h3{margin:0 0 12px;font-size:16px}.handover-scope-options{display:grid;grid-gap:8px;gap:8px;margin-bottom:12px}.handover-scope-options button{display:grid;grid-gap:2px;gap:2px;padding:10px 12px;border:1px solid var(--border);border-radius:10px;background:#fff;color:inherit;font:inherit;font-weight:700;text-align:left;cursor:pointer}.handover-scope-options button small{color:#4b5563;font-weight:400;font-size:12px}.handover-scope-options button.is-danger{border-color:#e8b4b4;color:#b42318}.handover-scope-dialog>.secondary-button{width:100%}.handover-tasks{border:0;border-radius:0;background:transparent;overflow:visible;gap:6px}.handover-tasks.is-capped{max-height:none;overflow:visible}.handover-task{display:block;position:relative;min-height:0;padding:0;border:0}.handover-task:before{content:"";position:absolute;left:0;top:7px;bottom:7px;width:3px;border-radius:2px;background:var(--kind-bar,#5b8fe0)}.handover-task-text{display:grid;grid-gap:2px;gap:2px;width:100%;min-height:0;padding:6px 10px;font-size:14px;line-height:1.5;white-space:normal;overflow:visible;text-overflow:clip;box-sizing:border-box}span.handover-task-text{display:grid;align-items:start;padding-left:10px}button.handover-task-text:hover{background:#f5f8fd}.handover-task-line{overflow-wrap:anywhere}.handover-task-meta{color:#4b5563;font-size:12px}section.patient-handover{border-color:#e3eaf5;box-shadow:none;border-radius:14px;padding:0 14px 4px}.record-list-layout{display:grid;grid-template-columns:minmax(0,1fr);grid-gap:12px;gap:12px;align-items:start}.record-list-side{min-width:0}@media(max-width:1023px){.record-list-layout{gap:10px}.record-list-side section.patient-handover{margin:0;padding-bottom:0}.record-list-side .handover-accordion-body{padding-bottom:8px}}.record-list-main{min-width:0}@media(min-width:1024px){.record-list-layout{grid-template-columns:minmax(0,1fr) 340px;gap:20px}.record-list-side{order:2;position:-webkit-sticky;position:sticky;top:calc(var(--workspace-header-height,150px) + 12px)}.record-list-main{order:1}.record-list-side section.patient-handover{margin:0}}.records-page>.record-list-layout{flex:1 1;min-height:0;grid-template-rows:auto minmax(0,1fr)}.record-list-main{min-height:0;align-self:stretch;display:flex;flex-direction:column}.record-list-main>.record-history-layout{flex:1 1;min-height:0}@media(min-width:1024px){.records-page>.record-list-layout{grid-template-rows:minmax(0,1fr)}.record-list-side{align-self:start;max-height:100%;overflow-y:auto}}.handover-board-head{justify-content:space-between}.handover-board-title{display:inline-flex;align-items:center;gap:8px;min-width:0}.handover-board-title .handover-day{color:#33415c;font-size:13px;font-weight:700}.management-dialog .handover-board{gap:10px;padding:4px 2px 8px}.handover-editor-dialog form{display:grid;grid-gap:18px;gap:18px}.handover-editor-dialog form>h2{margin:0}.handover-editor-dialog form>p{margin:-12px 0 0;color:#4b5563}.handover-editor-dialog form>.handover-color,.handover-editor-dialog form>.handover-range,.handover-editor-dialog form>.handover-repeat,.handover-editor-dialog form>label{margin-top:0}.handover-editor-dialog form>.handover-repeat-limit,.handover-editor-dialog form>.handover-repeat-weekdays{margin-top:-8px}.handover-editor-dialog form>.handover-error{margin:0}.handover-editor-dialog form>.handover-editor-actions{margin-top:6px}@media(min-width:1280px){.record-list-layout{grid-template-columns:minmax(0,1fr) 400px}}html dialog.handover-editor-dialog,html[data-theme] dialog.handover-editor-dialog{color:#1d2f4d;border:1px solid #d3deec}html dialog.handover-editor-dialog :is(h2,label,.handover-repeat-label,.handover-range-sep),html[data-theme] dialog.handover-editor-dialog :is(h2,label,.handover-repeat-label,.handover-range-sep){color:#1d2f4d}html dialog.handover-editor-dialog :is(label,.handover-repeat-label),html[data-theme] dialog.handover-editor-dialog :is(label,.handover-repeat-label){font-weight:600;color:#3a4d6b}html dialog.handover-editor-dialog form>p,html[data-theme] dialog.handover-editor-dialog form>p{color:#5a6b86}html dialog.handover-editor-dialog :is(input,textarea):not(.split-time-input input),html[data-theme] dialog.handover-editor-dialog :is(input,textarea):not(.split-time-input input){border:1px solid #b4c8e0;color:#1d2f4d}html dialog.handover-editor-dialog :is(input,textarea):focus,html[data-theme] dialog.handover-editor-dialog :is(input,textarea):focus{border-color:#4d84d4}html dialog.handover-editor-dialog :is(.handover-repeat-kinds button,.handover-repeat-weekdays button,.handover-swatch,.secondary-button):not([aria-pressed=true]),html[data-theme] dialog.handover-editor-dialog :is(.handover-repeat-kinds button,.handover-repeat-weekdays button,.handover-swatch,.secondary-button):not([aria-pressed=true]){border:1px solid #b4c8e0;color:#1d2f4d;font-weight:600}html dialog.handover-editor-dialog .handover-swatch[aria-pressed=true],html[data-theme] dialog.handover-editor-dialog .handover-swatch[aria-pressed=true]{border:1px solid var(--kind-bar);color:var(--kind-ink)}.handover-editor-dialog .handover-ghost{visibility:hidden}html .handover-tasks,html[data-theme] .handover-tasks{border:0;border-radius:0;background:transparent;gap:2px;padding:4px 0 6px}html .handover-task,html[data-theme] .handover-task{border:0;background:transparent;border-radius:8px}html .handover-task .handover-task-text,html[data-theme] .handover-task .handover-task-text{padding:8px 12px 8px 14px}html .handover-task:before,html[data-theme] .handover-task:before{top:9px;bottom:9px;left:2px}html button.handover-task-text:hover,html[data-theme] button.handover-task-text:hover{background:rgba(33,101,206,.06)}