/* Shared geometry for account screens, tools, editors and settings. */
.workspace-window,.account-card{--green:#0071e3;--mint:#edf5ff;--line:#dfe5ec;--ink:#263442;--muted:#667384;font-size:14px;line-height:1.6;color:var(--ink)}
.workspace-window form,.account-card form,.workspace-window .two-col>div{min-width:0}
.workspace-window input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]),.workspace-window select,.account-card input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]),.account-card select{display:block;width:100%;height:44px;min-height:44px;max-width:100%;padding:9px 12px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);font-size:16px;font-weight:400;line-height:24px;box-shadow:none}
.workspace-window textarea,.account-card textarea{display:block;min-height:96px;max-width:100%;padding:11px 12px;border:1px solid var(--line);border-radius:10px;background:#fff;font-size:16px;line-height:1.55;color:var(--ink);box-shadow:none}
.workspace-window label,.account-card label{font-size:13px;font-weight:500;line-height:1.5;margin:16px 0 7px}
.workspace-window label:has(input[type=checkbox]),.account-card label:has(input[type=checkbox]){display:flex;align-items:flex-start;gap:10px;font-size:14px;font-weight:400;line-height:1.6}
.workspace-window input[type=checkbox],.account-card input[type=checkbox]{flex:none;width:18px;height:18px;min-height:18px;margin:3px 0 0;padding:0;accent-color:var(--green)}
.workspace-window .two-col{grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:0 14px}
.workspace-window .buttons,.account-card .buttons{gap:8px;margin-top:16px;align-items:center}
.workspace-window button.primary,.workspace-window button.quiet,.account-card button.primary,.account-card button.quiet{min-height:44px;padding:10px 14px;border-radius:11px;font-size:13px;line-height:1.5;font-weight:500}
.workspace-window button.primary,.account-card button.primary{background:var(--green);color:#fff}
.workspace-window button.quiet,.account-card button.quiet{background:var(--mint);color:var(--green)}
.workspace-window button.text-button,.account-card button.text-button{min-height:44px;padding:9px 8px;border-radius:10px;font-size:13px;line-height:1.5;font-weight:400;text-decoration:none;color:var(--green)}
.workspace-window button.text-button:hover,.account-card button.text-button:hover{background:#f0f5fc}
.workspace-window .micro,.account-card .micro{font-size:12px;line-height:1.65;overflow-wrap:anywhere}
.workspace-window .card{border-color:#e2e8ef;background:#fff;box-shadow:none;border-radius:14px;padding:16px}
.workspace-window>.sheet-head{display:flex;align-items:center;gap:12px;margin:0 0 20px}
.workspace-window>.sheet-head h2{flex:1;min-width:0;padding:0;margin:0;font-size:17px;font-weight:600;line-height:1.4;overflow-wrap:anywhere}
.workspace-window>.sheet-head .sheet-close{flex:none;width:44px;min-width:44px;height:44px;min-height:44px;padding:11px;border-radius:11px}
.workspace-window:has(>.chat-action-menu)>.sheet-head h2,#attachment-window>.sheet-head h2{padding-right:42px}
.workspace-window .inline-help{margin:14px 0 0;padding-top:10px;border-top:1px solid #edf0f4;color:var(--muted);font-size:12px}
.inline-help>summary{min-height:40px;padding:8px 0;cursor:pointer;line-height:1.6}
.workspace-window .task-button{padding:13px 14px;border:1px solid #e2e8ef;border-radius:12px;background:#fff;text-align:left;line-height:1.5}
.workspace-window .task-button:hover{background:#f6f9fd;border-color:#d0e0f2}
.workspace-window .task-button.selected{background:#edf5ff;border-color:#96bcea}
.task-title{font-size:15px;font-weight:500;line-height:1.55;overflow-wrap:anywhere}
.task-meta{font-size:12px;line-height:1.6;margin-top:5px;color:var(--muted)}
.task-owner::before{content:"";display:inline-block;width:14px;height:14px;margin-right:5px;vertical-align:-2px;background:currentColor;-webkit-mask:var(--solar-user) center/contain no-repeat;mask:var(--solar-user) center/contain no-repeat}
#tasks-window .section-heading{align-items:center;gap:12px}
#tasks-window .section-heading h2{font-size:15px;line-height:1.5;margin:0}
#tasks-window .section-heading select{width:auto;min-width:98px;max-width:150px;font-size:14px}
#task-overview-title{margin:0 0 8px;padding:0;background:transparent;font-size:17px;line-height:1.5;font-weight:600}
#task-overview-meta{margin:0 0 12px}
#tasks-window .history,#note-detail .history{margin-top:16px;padding-top:14px;border-top:1px solid #e9edf3}
#tasks-window .history>summary,#note-detail .history>summary{font-size:13px;line-height:1.6;min-height:40px;padding:7px 0}
#tasks-window .create-card>summary{font-size:13px;line-height:1.6;min-height:40px}
.workspace-window .notification-link{display:block;min-height:40px;padding:6px 0;border-radius:6px;background:transparent;color:var(--green);font-size:14px;font-weight:500;line-height:1.5;text-align:left;text-decoration:none;overflow-wrap:anywhere}
.workspace-window .notice{border-color:#e5eaf1;background:#fafbfd;border-radius:12px;padding:14px}
.workspace-window .notice p{overflow-wrap:anywhere}
#records-window .panel-nav{align-items:center;margin-bottom:16px}
#records-window .panel-nav button{min-height:44px;padding:8px 0;font-size:13px}
#household-search-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}
#household-search-form>button,#unfinished-search-form>button{margin:0}
#unfinished-search-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}
#household-search-kind{margin-top:10px}
.search-result{padding:14px;border-color:#e2e8ef;border-radius:12px;gap:5px}
.search-result strong{font-size:15px;line-height:1.55;font-weight:500}
.search-excerpt{font-size:13px;line-height:1.6;overflow-wrap:anywhere}
#review-form{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:8px;align-items:center}
#review-form label{grid-column:1/-1;margin:0;font-weight:500}
#review-form select{max-width:none}
.workspace-window #review-form>.toolbar-icon-button{display:grid;place-items:center;width:44px;height:44px;min-height:44px;margin:0;padding:11px}
.toolbar-icon-button .solar-icon{width:20px;height:20px}
.review-counts{gap:1px;margin:20px 0 24px;border:1px solid #e6ebf1;border-radius:14px;overflow:hidden;background:#e6ebf1}
.review-count{display:flex;flex-direction:column;gap:5px;padding:16px;border:0;border-radius:0;background:#fafbfd;font-size:12px;line-height:1.5;color:var(--muted)}
.review-count strong{font-size:27px;line-height:1.3;font-weight:600;margin:0;color:var(--ink);font-variant-numeric:tabular-nums}
.review-section h3{font-size:15px;line-height:1.5;font-weight:600;margin:22px 0 12px}
#settings-window>.sheet-head{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;position:sticky;top:-20px;z-index:4;background:#fff;margin-bottom:14px;padding:0 0 10px}
#settings-window>.sheet-head h2{grid-column:2;text-align:center;padding:0}
#settings-window>.sheet-head .sheet-close{grid-column:3}
.conversation-product .settings-back{display:grid;place-items:center;grid-column:1;grid-row:1;width:44px;min-width:44px;height:44px;min-height:44px;margin:0;padding:11px;border-radius:11px;font-size:0;background:transparent}
.settings-back::before{width:20px;height:20px;margin:0}
#settings-window{background:#f5f6f8}
#settings-window>.sheet-head{background:#f5f6f8}
.settings-home{border:1px solid #e4e9ef;border-radius:14px;background:#fff;overflow:hidden}
.settings-entry{min-height:76px;padding:16px;gap:12px;border-color:#edf0f4}
.settings-entry:last-child{border-bottom:0}
.settings-entry:hover{background:#fafbfd}
.settings-entry:focus-visible{outline-offset:-3px}
.settings-entry::before{width:23px;height:23px}
.settings-entry>span:first-child{min-width:0}
.settings-entry strong{font-size:15px;font-weight:500;line-height:1.5}
.settings-entry small{line-height:1.6;overflow-wrap:anywhere}
.settings-section>.settings-block,.settings-section>.settings-block:first-child{padding:0;border:1px solid #e4e9ef;border-bottom:0;border-radius:0;background:#fff;margin:0}
.settings-section>.settings-block:first-of-type{border-radius:14px 14px 0 0}
.settings-section>.settings-block:last-of-type{border-bottom:1px solid #e4e9ef;border-radius:0 0 14px 14px}
.settings-section>.settings-block:only-of-type{border-radius:14px;border-bottom:1px solid #e4e9ef}
.settings-block>summary{display:flex;align-items:center;gap:10px;min-height:62px;padding:16px;font-size:14px;font-weight:500;line-height:1.5;margin:0;pointer-events:auto;cursor:pointer;list-style:none}
.settings-row-label{min-width:0;color:var(--ink)}
.settings-row-value{min-width:0;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-left:auto;color:var(--muted);font-size:13px;font-weight:400}
.settings-block>summary .settings-chevron{flex:none;width:16px;height:16px}
.settings-block[open]>summary .settings-chevron{transform:rotate(90deg)}
.settings-block[open]>summary{border-bottom:1px solid #edf0f4}
.settings-block-body{padding:4px 16px 18px}
.settings-block-body>.card{padding:0;border:0;border-radius:0;margin:0}
.settings-block-body>#account-profile-panel h3{display:none}
.settings-help{color:var(--muted)}
.settings-section .avatar-setting-row{gap:12px;padding:10px 0}
.avatar-setting-row .buttons{margin-top:4px}
.settings-family-list p{display:flex;gap:12px;align-items:baseline;overflow-wrap:anywhere}
.settings-family-list small{flex:none}
.settings-family-list{margin-bottom:16px;padding:0 16px;background:#fff;border:1px solid #e4e9ef;border-radius:14px}
.settings-family-list p:last-child{border-bottom:0}
.settings-family-name{font-size:15px;font-weight:500;margin:4px 0 14px}
#account-manage{margin:0 0 16px}
.settings-section .settings-signout{min-height:44px}
.account-card{padding:24px;border-color:#e1e7ef;border-radius:18px}
.account-card h2{font-size:21px;line-height:1.4;margin:0 0 20px;font-weight:600}
.account-card .account-links{gap:4px;align-items:center;justify-content:space-between;margin-top:12px}
.account-card .account-links button.text-button{padding:8px 2px;font-size:12px;min-height:44px}
.account-family-list button{border-color:#e1e7ef;border-radius:12px;padding:14px;font-size:14px;line-height:1.6}
.account-card #account-notice{margin-bottom:16px}
.room-content-action{cursor:pointer}
.room-content-action::after{content:"";display:inline-block;width:14px;height:14px;margin-left:5px;vertical-align:-2px;background:currentColor;-webkit-mask:var(--solar-chevron-right) center/contain no-repeat;mask:var(--solar-chevron-right) center/contain no-repeat}
.message-bubble[tabindex]:focus-visible{outline:3px solid #82b8ef;outline-offset:3px}
#detail-panel{position:relative}
#task-detail-more{position:absolute;top:6px;right:6px}
#task-overview-title{padding-right:38px}
.account-card button.primary{margin-top:16px}
/* Let the content carry each page; secondary browsing stays in the header menu. */
#records-window>.sheet-head h2{padding-right:0}
#records-more{flex:none}
#records-window .household-search{padding:0;border:0;margin:0}
#household-search-form{grid-template-columns:minmax(0,1fr) 44px}
.workspace-window #household-search-form>.toolbar-icon-button{display:grid;place-items:center;width:44px;height:44px;min-height:44px;margin:0;padding:11px}
.search-meta{display:flex;align-items:center;gap:12px;margin:12px 0 18px}
.workspace-window #household-search-kind{flex:none;width:104px;margin:0;font-size:13px}
#household-search-status{margin:0;min-width:0}
#records-window .menu-reveal-section{margin-top:22px;padding-top:18px;border-top:1px solid #e7ecf2}
#records-window .menu-reveal-section>summary{display:flex;align-items:center;min-height:44px;font-size:14px;list-style:none;margin-bottom:12px}
#records-window .search-result{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 12px;padding:16px 0;border:0;border-bottom:1px solid #e7ecf2;border-radius:0;background:transparent}
.search-result>.micro{margin:0;font-size:12px}
.search-result>.micro:first-child{grid-column:1;grid-row:1}
.search-result>.search-date{grid-column:2;grid-row:1;font-size:11px;font-weight:400}
.search-result>strong,.search-result>.search-excerpt{grid-column:1/-1}
#records-window .search-result:hover{background:#f8fafd}
.workspace-window .planner-tabs{display:inline-flex;gap:3px;padding:3px;margin:0 0 22px;border:0;border-radius:12px;background:#edf0f4}
.workspace-window .planner-tabs button{min-width:88px;min-height:38px;padding:7px 14px;border:0;border-radius:9px;font-size:14px}
.workspace-window .planner-tabs button[aria-pressed=true]{background:#fff;box-shadow:0 1px 4px #24364d12;color:var(--ink);font-weight:500}
#task-list{gap:0;margin:14px 0 20px;border:1px solid #e2e8ef;border-radius:14px;background:#fff}
#task-list>.task-button{padding:16px;border:0;border-bottom:1px solid #e8edf3;border-radius:0;background:transparent}
#task-list>.task-button:first-child{border-radius:13px 13px 0 0}
#task-list>.task-button:last-child{border-bottom:0;border-radius:0 0 13px 13px}
#task-list>.task-button:only-child{border-radius:13px}
#task-list>.task-button.selected{background:#edf5ff;box-shadow:inset 3px 0 var(--green)}
#task-list>.task-button:hover{background:#f3f7fc}
#task-list>.empty{border:0;margin:0;padding:28px 16px}
#tasks-window .task-title{font-size:16px;line-height:1.55}
#tasks-window .reminders-inbox:not(:has(.notice)),#tasks-window .notifications:not(:has(.notice)){display:none}
#tasks-window .create-card{padding:4px 16px;margin-top:0}
#tasks-window .create-card[open]{padding-bottom:16px}
#review-sections .task-button{padding:14px 0;border:0;border-bottom:1px solid #e8edf3;border-radius:0;background:transparent}
#review-sections .task-button:hover{background:#f8fafd}
#review-sections .task-button:last-child{border-bottom:0}
@media(max-width:620px){
 #account-entry{padding:26px 0;gap:24px}
 #account-entry .welcome-copy h1{font-size:30px;line-height:1.4;letter-spacing:-.6px;margin-bottom:14px}
 #account-entry .welcome-copy h1 br{display:block}
 .account-card{padding:20px}
 .workspace-window .two-col{grid-template-columns:1fr}
 .workspace-window>.sheet-head{margin-bottom:16px}
 .review-counts{gap:1px}
 #settings-window>.sheet-head{top:-17px}
}
.repeat-days:not([hidden]){display:flex;flex-wrap:wrap;gap:8px;border:0;padding:8px 0;margin:0}
.workspace-window .repeat-days label{display:flex;align-items:center;gap:5px;min-height:44px;margin:0;padding:0 8px}
.workspace-window .repeat-days input{width:18px;height:18px;margin:0}
