:root{color:#263e50;font-synthesis:none;background:#f3f6f7;font-family:Inter,Noto Sans JP,Yu Gothic,Meiryo,sans-serif;font-size:15px;line-height:1.6}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}button:focus-visible,a:focus-visible,summary:focus-visible{outline-offset:3px;outline:3px solid #b95118}h1,h2,h3,h4,p{margin:0}h1{font-size:23px}h2{letter-spacing:.02em;font-size:22px}h3{margin:14px 0;font-size:21px}p{margin:8px 0}small{color:#526779;font-size:12px;display:block}svg{vertical-align:middle;flex-shrink:0}.shell{max-width:1120px;margin:auto;padding:26px 36px}.brand{align-items:center;gap:14px;margin-bottom:26px;display:flex}.brand-mark{letter-spacing:-3px;color:#234b65;font-size:34px;font-weight:900}.brand strong{font-size:17px}.brand small{font-size:11px}.demo-badge{background:#e5edf1;border:1px solid #c8d6df;border-radius:20px;margin-left:auto;padding:5px 10px;font-size:11px}.button,button,.primary,.selected{color:#28465d;background:#fff;border:1px solid #c8d5de;border-radius:10px;min-height:44px;padding:10px 16px;font-weight:600}.primary{color:#fff;background:#274e67;border-color:#274e67}.selected{background:#e5edf2;border-color:#607f95}.view-tabs{background:#e5ebef;border-radius:13px;gap:4px;width:fit-content;padding:4px;display:flex}.view-tabs button{background:0 0;border:0}.view-tabs .selected{background:#fff;box-shadow:0 2px 5px #233f5110}.month-heading{align-items:center;gap:20px;margin:24px 0 18px;display:flex}.month-heading button{width:44px;padding:8px;font-size:24px;line-height:1}.intro{border-bottom:1px solid #d7e1e7;justify-content:space-between;align-items:center;gap:16px;padding:10px 0 20px;display:flex}.eyebrow{letter-spacing:.16em;color:#617d90;font-size:10px;font-weight:700}.intro p:not(.eyebrow){color:#526879;font-size:13px}.tip,.tutorial{background:#e9f0f3;border-radius:12px;justify-content:space-between;align-items:center;gap:16px;margin:18px 0;padding:14px 18px;font-size:13px;display:flex}.tutorial{background:#fff1dd;border:2px solid #bc681f}.tip button{white-space:nowrap;font-size:12px}.calendar-legend{align-items:center;gap:6px;margin:18px 0 8px;font-size:12px;display:flex}.calendar-legend svg:not(:first-child){margin-left:12px}.orange{color:#a9420e}.calendar{grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;display:grid}.weekday{text-align:center;color:#617383;padding:5px;font-size:12px}.day-card{border:1px solid #dae3e9;border-radius:10px;flex-direction:column;align-items:flex-start;gap:1px;min-width:0;height:114px;padding:9px 12px;font-weight:400;display:flex;position:relative}.day-card:hover{background:#f9fbfc;border-color:#7693a7}.day-card.active{background:#edf4f8;border:2px solid #426f8a}.day-card.spotlight{outline-offset:1px;outline:3px solid #bc681f}.day-number{margin-bottom:3px;font-size:15px;font-weight:700}.card-line{color:#617587;font-variant-numeric:tabular-nums;align-items:center;gap:7px;font-size:13px;display:flex}.card-line.sleep{color:#244a64;font-weight:700}.card-shift{color:#a9420e;white-space:nowrap;margin-top:4px;font-size:10px}.unrecorded{color:#758795;margin:auto 0;font-size:12px}.selected-summary{background:#fff;border:1px solid #d8e3e9;border-radius:15px;margin:22px 0;padding:22px}.summary-title{justify-content:space-between;align-items:center;gap:12px;display:flex}.summary-title h2{font-size:17px}.summary-title button{font-size:12px}.metrics{gap:42px;margin:16px 0;display:flex}.metric{grid-template-columns:24px 1fr;column-gap:8px;display:grid}.metric span{color:#587083;font-size:12px}.metric strong{grid-column:2;font-size:27px;line-height:1.3}.selected-summary p{font-size:13px}.explanation,.demo-sync{border-top:1px solid #d6e1e6;margin-top:18px;padding:18px 0;font-size:13px}.explanation summary,.demo-sync summary{cursor:pointer;min-height:44px;padding:10px 0}.footnote{color:#647989;margin-top:22px;font-size:11px}.notice{border:1px solid #c9d9e4;padding:15px}.editor{color:#263e50;border:0;border-radius:20px;width:600px;max-width:calc(100% - 24px);max-height:calc(100dvh - 24px);padding:0;box-shadow:0 20px 90px #142b3b55}.editor::backdrop{background:#132c3d88}.editor[open]{flex-direction:column;display:flex}.editor-header{border-bottom:1px solid #dde5eb;justify-content:space-between;align-items:center;padding:20px 24px;display:flex}.editor-header h2{font-size:18px}.editor-header button{padding:6px 10px;font-size:12px}.editor-body{padding:22px 24px;overflow:auto}.steps{color:#6a8091;letter-spacing:.04em;font-size:12px}.editor p{color:#506c80;font-size:13px}.time-pair{grid-template-columns:1fr 1fr;gap:16px;margin:22px 0;display:grid}.time-field{background:#edf3f6;border-radius:12px;margin:10px 0;padding:14px}.time-field strong{font-size:13px}.time-select{align-items:center;gap:8px;margin:7px 0;display:flex}.time-select select{color:#294c65;background:#fff;border:1px solid #bacdd9;border-radius:8px;width:75px;min-height:48px;padding:4px;font-size:23px}.time-field small{font-size:11px}.hint{background:#f4f6f8;border-radius:8px;padding:12px}.choices{flex-wrap:wrap;gap:8px;margin:16px 0;display:flex}.choice{flex:1 0 auto;font-size:13px}.chosen{color:#173e59;background:#dfeef5;border:2px solid #245775;box-shadow:inset 0 0 0 1px #fff}.number-field{align-items:center;gap:10px;margin:16px 0;font-size:13px;display:flex}.number-field span{flex:1}.number-field input{background:#fff;border:1px solid #bbccd6;border-radius:8px;width:84px;min-height:44px;padding:8px}.editor details{margin:12px 0;font-size:13px}.editor summary{cursor:pointer;min-height:44px;padding:10px 2px}.editor h4{font-size:14px}.wake-row{border:1px solid #cddbe5;border-radius:12px;margin:14px 0;padding:14px}.faces{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin:20px 0;display:grid}.face{flex-direction:column;align-items:center;gap:4px;padding:12px 2px;display:flex}.face small{color:inherit;font-size:10px}.face strong{font-size:14px}.optional{border-top:1px solid #d8e1e8;border-bottom:1px solid #d8e1e8}.optional>summary{align-items:center;gap:10px;display:flex}.save-summary{background:#edf3f6;border-radius:12px;margin:18px 0 0;padding:16px}.editor-footer{background:#fff;border-top:1px solid #dce5eb;flex-wrap:wrap;gap:10px;padding:14px 24px;display:flex}.editor-footer .primary{flex:1}.draft-button{padding:8px;font-size:11px}.error:not(:empty){color:#a52525;background:#fff0ed;max-height:120px;padding:12px 24px;font-size:13px;overflow:auto}.clinical-title{justify-content:space-between;align-items:center;display:flex}.clinical>p{font-size:12px}.print-legend{color:#567080}.clinical-scroll{background:#fff;border:1px solid #c8d7e0;border-radius:8px;overflow-x:auto}.clinical-table{border-collapse:collapse;table-layout:fixed;font-variant-numeric:tabular-nums;width:100%;min-width:900px;font-size:10px}.clinical-table th,.clinical-table td{text-align:center;white-space:pre-line;border-bottom:1px solid #d6e0e8;padding:4px 2px}.clinical-table thead{background:#edf2f5}.clinical-table th{font-weight:600}.timeline-cell{position:relative}.night-timeline{width:100%;height:22px;display:block}.timeline-note{color:#6b7f8d;background:#ffffffdf;font-size:9px;position:absolute;top:6px;left:5px}.axis{justify-content:space-between;font-size:9px;display:flex}.event-cell{font-size:9px;line-height:1.3}.event-cell svg{margin:0 2px}.clinical-notes{margin-top:12px;font-size:10px;line-height:1.5}.demo-sync input{max-width:100%}@media (width<=600px){.shell{padding:18px 12px}.brand{gap:9px;margin-bottom:20px}.brand-mark{font-size:29px}.brand strong{font-size:15px}.brand small{font-size:9px}.demo-badge{padding:3px 7px;font-size:9px}.view-tabs{width:100%}.view-tabs button{flex:1;padding:10px 5px;font-size:12px}.month-heading{justify-content:space-between;margin-top:20px}.intro{display:block}.intro h2{font-size:21px}.intro .primary{width:100%;margin-top:10px}.tip,.tutorial{align-items:flex-start;gap:8px;padding:12px;font-size:12px}.tip button,.tutorial button{flex-shrink:0;padding:8px;font-size:11px}.calendar{gap:3px}.calendar-legend{justify-content:space-between;gap:3px;font-size:9px}.calendar-legend svg:not(:first-child){margin-left:1px}.day-card{border-radius:7px;height:96px;padding:6px 3px}.day-number{font-size:12px}.card-line{gap:3px;font-size:10px}.card-line svg{width:11px}.card-shift{letter-spacing:-.3px;font-size:8px}.unrecorded{font-size:9px}.selected-summary{padding:16px}.metrics{gap:20px}.metric strong{font-size:24px}.metric span{font-size:10px}.editor{border-radius:15px;max-width:calc(100% - 12px);max-height:calc(100dvh - 12px)}.editor-header{padding:14px 16px}.editor-header h2{font-size:16px}.editor-body{padding:18px 16px}.editor-footer{gap:6px;padding:10px 14px}.editor-footer button{padding:10px;font-size:12px}.time-pair{gap:8px}.time-field{padding:10px}.time-select{gap:4px}.time-select select{width:62px;font-size:21px}.clinical-title h2{font-size:18px}.clinical-title .primary{padding:8px;font-size:12px}.face small{font-size:9px}.editor h3{font-size:19px}}@page{size:A4 landscape;margin:9mm}@media print{:root{color:#182e3d;background:#fff;font-size:10px}.no-print,.brand,.demo-sync{display:none!important}.shell{max-width:none;padding:0}.clinical-scroll{border:0;border-radius:0;overflow:visible}.clinical-table{min-width:0;font-size:8px}.clinical-table td,.clinical-table th{padding:2px 1px}.night-timeline{height:16px}.clinical-title h2{font-size:17px}.clinical p{margin:4px 0}.clinical>p{font-size:9px}.clinical-notes{font-size:8px}.clinical-table tr{break-inside:avoid}.clinical-table thead{display:table-header-group}.event-cell{font-size:7px}.event-cell svg{width:10px;height:10px;margin:0 1px}.timeline-note{font-size:7px;top:4px}.clinical{-webkit-print-color-adjust:exact;print-color-adjust:exact}.eyebrow,.axis{font-size:8px}}@media (width<=400px){.shell{padding-left:10px;padding-right:10px}.calendar{gap:2px}}@media (width<=600px){.calendar-legend{flex-wrap:wrap;justify-content:flex-start;gap:5px 8px;font-size:12px}.card-line{gap:2px;font-size:12px}.card-line svg{width:10px}.card-shift{letter-spacing:0;margin-top:1px;font-size:12px;font-weight:600}.day-card{height:104px}.unrecorded{color:#536b7e;font-size:10px}.time-pair{grid-template-columns:1fr}.time-pair .time-field{grid-template-columns:1fr auto;align-items:center;margin:2px 0;display:grid}.time-field small{grid-column:1/-1}.time-select select{width:66px}.face small{font-size:10px}.choices:has(>:nth-child(6)){grid-template-columns:repeat(3,1fr);display:grid}}.clinical-table{min-width:1100px}.clinical-table th:first-child{width:5%}.clinical-table th:nth-child(2){width:31%}.clinical-table th:last-child{width:13%}@media print{.clinical-table{min-width:0;font-size:8px}.night-timeline{height:13px}.clinical-table td,.clinical-table th{padding:2px 1px}.clinical-table th:nth-child(2){width:31%}}.time-value{letter-spacing:.08em;min-width:132px;margin:8px 0;font-size:26px}.time-picker{color:#263e50;border:0;border-radius:16px;width:440px;max-width:calc(100% - 20px);max-height:calc(100dvh - 20px);padding:20px;overflow:auto}.time-picker::backdrop{background:#132c3d99}.hour-grid,.minute-grid{grid-template-columns:repeat(6,1fr);gap:4px;margin:16px 0;display:grid}.hour-grid button,.minute-grid button{min-width:0;min-height:44px;padding:6px 2px;font-size:12px}.minute-grid{border-top:1px solid #bccedb;padding-top:16px}.picker-actions{justify-content:flex-end;gap:8px;display:flex}.time-picker h3{margin-top:0}@media (width<=400px){.time-picker{padding:12px}.hour-grid,.minute-grid{gap:3px}}html.paper-preview{color:#182e3d;background:#fff;font-size:10px}html.paper-preview .no-print,html.paper-preview .brand,html.paper-preview .demo-sync{display:none!important}html.paper-preview .shell{max-width:none;padding:0}html.paper-preview .clinical-scroll{border:0;border-radius:0;overflow:visible}html.paper-preview .clinical-title h2{font-size:17px}html.paper-preview .clinical p{margin:4px 0}html.paper-preview .clinical>p{font-size:9px}html.paper-preview .clinical-notes{font-size:8px}html.paper-preview .clinical-table tr{break-inside:avoid}html.paper-preview .clinical-table thead{display:table-header-group}html.paper-preview .event-cell{font-size:7px}html.paper-preview .event-cell svg{width:10px;height:10px;margin:0 1px}html.paper-preview .timeline-note{font-size:7px;top:4px}html.paper-preview .clinical{-webkit-print-color-adjust:exact;print-color-adjust:exact}html.paper-preview .eyebrow,html.paper-preview .axis{font-size:8px}html.paper-preview .clinical-table{min-width:0;font-size:8px}html.paper-preview .night-timeline{height:13px}html.paper-preview .clinical-table td,html.paper-preview .clinical-table th{padding:2px 1px}html.paper-preview .clinical-table th:nth-child(2){width:31%}html.paper-preview .shell{width:279mm;max-width:none;margin:0;padding:0}html.paper-preview .preview-toggle{z-index:20;position:fixed;top:10px;right:15px;display:block!important}html.paper-preview .clinical{background:#fff}@media print{.preview-toggle,html.paper-preview .preview-toggle{display:none!important}}.shell:has(.clinical){max-width:1320px}.metric strong{font-size:21px}@media (width<=600px){.metric strong{font-size:18px}}.clinic-logo{object-fit:contain;flex-shrink:0;width:210px;height:auto;display:block}.rhythm-article{color:#263e50;background:#fff;border:1px solid #c6dbe6;border-radius:18px;grid-template-columns:minmax(180px,34%) 1fr;margin:8px 0 24px;text-decoration:none;transition:border-color .15s,box-shadow .15s;display:grid;overflow:hidden;box-shadow:0 4px 16px #203d5008}.rhythm-article:hover{border-color:#3985a3;box-shadow:0 6px 22px #234f6718}.rhythm-article-image{object-fit:cover;aspect-ratio:3/2;width:100%;height:100%;display:block}.rhythm-article-copy{padding:24px}.article-eyebrow{letter-spacing:.06em;color:#27637c;background:#eaf4f7;border-radius:20px;padding:4px 9px;font-size:11px;font-weight:700;display:inline-block}.rhythm-article h2{margin:12px 0 8px;font-size:21px;line-height:1.5}.rhythm-article p{color:#526879;font-size:13px;line-height:1.8}.article-cta{color:#fff;background:#274e67;border-radius:9px;min-height:44px;margin:12px 0 8px;padding:10px 16px;font-size:13px;font-weight:700;display:inline-block}.rhythm-article small{font-size:10px;line-height:1.7}@media (width<=600px){.brand{grid-template-columns:1fr auto;gap:10px 8px;display:grid}.clinic-logo{grid-area:1/1;width:210px;max-width:100%}.brand>.demo-badge{grid-area:1/2;align-self:start;margin-top:8px}.brand>div{grid-area:2/1/auto/-1}.brand strong{font-size:16px}.brand small{font-size:11px}.rhythm-article{grid-template-columns:1fr}.rhythm-article-image{object-fit:cover;height:auto;max-height:210px}.rhythm-article-copy{padding:19px}.rhythm-article h2{font-size:20px}.article-cta{text-align:center;display:block}.rhythm-article small{font-size:11px}}@media (prefers-reduced-motion:reduce){.rhythm-article{transition:none}}
