/* Shared reading scale, with a compact but legible calendar scale. */
[hidden]{display:none!important}.account-avatar{flex-shrink:0;min-height:34px;width:34px;min-width:34px;padding:0;border:0}.page>.plan-picker{margin-bottom:18px}.page>.topbar{margin-bottom:20px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.chat-person{display:block;width:100%;text-align:left;border:0;border-bottom:1px solid var(--line);cursor:pointer;font:inherit;color:inherit;background:transparent}.chat-messages{max-height:60vh;overflow-y:auto}.message-text{white-space:pre-wrap;overflow-wrap:anywhere}.chat-bubble small{font-size:11px}.chat-error{padding:0 12px;font-size:12px}.chat-compose textarea{flex:1;resize:vertical}.share-option{display:flex;gap:12px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:10px}.connection-settings{margin-bottom:18px}.connection-settings .settingrow{gap:12px}.modal .textinput{width:100%}input:disabled,textarea:disabled,select:disabled{color:var(--text);opacity:1;background:#f5f7fa}button:disabled{opacity:.55;cursor:not-allowed}.relationship-person select{width:100%;font-size:14px}.relationship-goal input{font-size:14px}
@media(max-width:620px){.chat-shell{grid-template-columns:1fr}.chat-people{display:flex;overflow-x:auto}.chat-person{min-width:140px}.chat-bubble{max-width:90%}}
:root{--text-body:14px;--text-small:12px;--text-label:11px;--text-heading:20px}
body{font-size:var(--text-body);line-height:1.45}
.topbar .eyebrow{display:none}.topbar h1{font-size:30px;line-height:1.2}.topbar p{font-size:14px;line-height:1.5}
.cardtitle{font-size:20px!important;line-height:1.3}.card h2{font-size:20px}.card h3{font-size:16px}
.cardsub,.helper,.relationship-prompt,.settingrow small,.taskmeta,.goal-progress small,.areaprogress small,.metric small{font-size:12px;line-height:1.5}
.kicker,.eyebrow,.fieldlabel{font-size:11px;line-height:1.4}.fieldlabel{display:block}
.btn,.textbtn,.btn.sm,.todaybtn,.segmented button{font-size:12px;min-height:32px}.btn{padding:9px 14px}
.textinput,select,textarea,input[type=date],input[type=time],input[type=number],.relationship-field{font-size:14px;line-height:1.45}
.textinput{max-width:100%}.modalgrid input,.modalgrid select{width:100%}
.navbtn{font-size:14px}.sidebar{overflow-y:auto}.brandtitle{font-size:14px}.brandsub{font-size:10px}
.pill,.badge,.areatag,.statuspill{font-size:11px}.savestate{font-size:11px;line-height:1.4}
.northstar b{font-size:11px}.northstar p{font-size:14px}.northstar small{font-size:12px}
.tasktitle,.prioritycard strong,.readyitem b,.planmini b,.habititem b,.trainingname b,.chat-bubble,.pin-card p{font-size:13px;line-height:1.4}
.habititem small,.habitScheduleLabel,.areascor,.trainingname small,.chat-head small,.chat-person small{font-size:12px}
.areaname{font-size:16px}.identitycopy b{font-size:14px}.identitycopy p{font-size:13px}.habitstackhead b{font-size:12px}
.colhead h3{font-size:16px}.colhead p{font-size:12px}.colhead span{font-size:12px}.actionflow{font-size:12px}
.metric label,.metrics label{font-size:12px}.metric b{font-size:28px}.action-area-row b{font-size:14px}.action-area-row small{font-size:12px}
.reflection-row,.reflection-date,.reflection-row b,.weekrow,.matrix-label{font-size:12px}.legend{font-size:12px}
.matrixlabel span:nth-child(2){font-size:12px}.matrixlabel small,.matrixdate{font-size:10px}.matrixhead,.matrixrow{grid-template-columns:240px repeat(var(--days),16px);gap:4px}.matrixlabel{max-width:240px}.matrixdate{height:36px}.cell{width:16px;height:16px}.areaprog b{font-size:14px}.areaprog small,.reflection-row small,.reflection-empty{font-size:12px}
.monthweekday,.monthdate,.monthscore,.monthchip,.monthtasks,.monthmore{font-size:11px}.monthday{min-height:150px}
.budgetrow,.budgettotal,.budget-input,.trainingrow>div{font-size:13px}.budgethead{font-size:11px}.chat-person b{font-size:14px}
.event-title{font-size:11px;line-height:1.25}.event-time,.event-kind{font-size:10px}.event.compact .event-title{font-size:10px}
.cal-head b,.cal-head span,.time-slot{font-size:11px}.cal-head{height:60px}.calendar-scroll{max-height:66vh}
.priority-label b,.priority-label small,.priority-lane-head,.sectiontitle{font-size:11px}.prioritycard{grid-template-columns:22px 18px minmax(0,1fr) auto;padding:8px;align-items:start}
.prioritycard strong{white-space:normal;overflow-wrap:anywhere}.prioactions{display:flex;flex-wrap:wrap;max-width:58px}.prioactions button{font-size:13px;padding:3px;min-width:24px;min-height:26px}.rank{font-size:11px}
.priority-week-grid{min-width:1200px}.prioritylist{gap:8px}.priority-lane.dragover,.planstrip.dragover,.readylist.dragover{outline:2px dashed var(--cyan);outline-offset:-2px;background:#eefbff}
.planstrip:after{content:'Drag actions here to return them to Ready to plan';display:block;color:var(--muted);font-size:12px;margin-top:8px}.planstrip{margin-bottom:16px}
.plan-tile>div{flex-wrap:wrap}.plan-grid{align-items:stretch}.plan-tile small{font-size:12px}.plan-tile span{font-size:12px}
.identity-goal-widget{margin:16px 0}.relationship-grid .card{overflow:visible}.relationship-person b{font-size:16px}.relationship-person small,.relationship-status{font-size:12px}
.recovery-notice,.sharing-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#fff8e6;border:1px solid #ead7a2;border-radius:12px;padding:14px;margin-bottom:18px;font-size:14px}
.sharing-bar{background:#f0f8ff;border-color:#cde4f6}.scope-options{display:grid;gap:10px;margin:18px 0}.recovery-settings{margin:18px 0}
.settingrow b{font-size:14px}.settingrow p{white-space:pre-wrap;font-size:14px}.modal h2{font-size:22px}.modalactions{flex-wrap:wrap}
#page-progress .card{margin-bottom:14px}#page-habits>.topbar{margin-bottom:20px}.emptylane,.habitempty,.dropempty{font-size:12px}
@media(max-width:620px){.nav{display:flex;flex-direction:row;overflow-x:auto;gap:4px}.navbtn{font-size:10px;min-width:70px;flex-shrink:0}.main{padding-bottom:105px}.recovery-notice,.sharing-bar{align-items:flex-start;flex-direction:column}.metric b{font-size:24px}.topbar h1{font-size:26px}#assistantBubble{bottom:85px!important}#assistantPanel{bottom:150px!important}}
.chat-main{grid-template-rows:auto minmax(240px,1fr) auto auto}
.chat-compose{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;padding:16px;width:100%;box-sizing:border-box}
.chat-input-area{min-width:0;position:relative;border:1px solid #dce5ef;border-radius:16px;background:#fff;padding:4px 10px}
.chat-input-area:focus-within{border-color:#159cdf;box-shadow:0 0 0 3px #159cdf14}
.chat-compose #chatText{display:block;width:100%;max-width:none;min-width:0;min-height:72px;max-height:200px;box-sizing:border-box;border:0;box-shadow:none;background:transparent;padding:12px 4px;font-size:15px;line-height:1.5;resize:vertical;outline:none}
.chat-toolbar{display:flex;align-items:center;gap:8px;padding:6px 0;border-top:1px solid #f0f3f7;flex-wrap:wrap}
.chat-tool{border:0;background:#f3f7fb;color:#43536a;border-radius:9px;padding:7px 10px;cursor:pointer;font-size:13px;font-weight:700;min-height:36px}
.chat-tool:hover,.chat-tool[aria-expanded=true]{background:#e4f5fd;color:#087db8}.chat-tool:disabled{opacity:.45;cursor:default}
.chat-hint{color:#7d8899;font-size:11px;margin-left:auto}.chat-send{min-height:46px;min-width:90px;align-self:end;margin-bottom:3px;white-space:nowrap}.chat-send span{margin-left:8px}
.chat-emoji-picker{position:absolute;bottom:48px;left:0;z-index:20;width:320px;max-width:100%;box-sizing:border-box;background:white;border:1px solid #dce5ef;box-shadow:0 12px 36px #26354a26;border-radius:16px;padding:12px}
.chat-picker-head{display:flex;gap:8px;margin-bottom:10px}.chat-picker-head input{min-width:0;width:100%;padding:8px;border:1px solid #dce5ef;border-radius:8px;font-size:13px}.chat-emoji-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:3px;max-height:230px;overflow:auto}.chat-emoji-grid button{font-size:23px;border:0;border-radius:8px;background:transparent;padding:6px;cursor:pointer}.chat-emoji-grid button:hover,.chat-emoji-grid button:focus-visible{background:#e9f6fc}.chat-emoji-grid p{grid-column:1/-1}
.chat-gif-preview{display:flex;align-items:center;gap:12px;padding:8px 0}.chat-gif-preview img{max-width:140px;max-height:100px;border-radius:10px;object-fit:contain}.chat-message-gif{display:block;max-width:min(100%,320px);max-height:260px;object-fit:contain;border-radius:10px;margin-bottom:8px}.chat-error:empty{display:none}.chat-error{margin:0 16px 12px;padding:0}
@media(max-width:620px){.chat-compose{padding:10px;gap:8px}.chat-send{min-width:64px;padding:12px}.chat-send span,.chat-hint,.chat-tool span{display:none}.chat-compose #chatText{font-size:16px}.chat-message-gif{max-width:100%}}
.chat-contacts-heading{padding:16px;border-bottom:1px solid var(--line);display:grid;gap:6px}.chat-contacts-heading>b{font-size:15px}.chat-contacts-heading small{font-size:12px;color:var(--muted)}.chat-contacts-heading .textbtn{text-align:left;padding-left:0}.chat-contacts-heading p{font-size:12px;margin:0;color:#9a431c}.chat-contacts-heading p:empty{display:none}
.calendar-resize{position:absolute;bottom:0;left:20%;right:20%;height:8px;cursor:ns-resize;touch-action:none;border-bottom:3px solid currentColor;opacity:.45;border-radius:4px}.event:focus-visible{outline:3px solid #1687d9;z-index:5}.day-lane{cursor:crosshair}.event{cursor:pointer}.modalgrid input,.modalgrid select{min-height:44px;max-width:100%}@media(max-width:650px){.sidebar{position:relative;width:auto;height:auto}.shell{display:block}.sidebar .nav{display:flex;overflow-x:auto;gap:6px}.navbtn{min-width:max-content}.sidebar .spacer,.sidebar .northstar,.sidebar .brand{display:none}.main{margin:0;padding:12px}.sidebar .navbtn{min-height:44px}.calendar-scroll{max-height:65vh}.chat-shell{grid-template-columns:1fr}.chat-people{max-height:180px;overflow:auto}.modalwrap{padding:8px}.modal{max-height:92dvh;overflow:auto}}
