.tm-page{--team-ink:#234854;--team-soft:#edf5f6;display:grid;gap:10px}.tm-page .pageheader{margin-bottom:0}.tm-chooser,.tm-calendar-tools,.tm-phone,.tm-invite{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.tm-chooser label{min-width:180px;flex:1;max-width:480px}.tm-chooser select{width:100%;font-size:16px;font-weight:650;min-height:44px}.tm-page .section-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;overflow:visible}.tm-page .section-tabs button{white-space:normal;height:auto;min-height:44px;justify-content:center}.tm-calendar-tools{margin-bottom:12px}.tm-calendar-tools .date-control{margin:0}.tm-date{flex:1;max-width:180px}.tm-date input{width:100%;font-size:16px;min-height:44px}.tm-views{display:flex;gap:4px}.tm-views [aria-pressed=true]{background:var(--team-ink);color:#fff;border-color:var(--team-ink)}.tm-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.tm-single{grid-template-columns:1fr}.tm-day{min-width:0;background:#f9fbfb;border:1px solid #dce6e5;border-radius:14px;padding:6px}.tm-day.is-today{border-color:#548892;background:#f1f7f7}.tm-day>header{display:flex;align-items:center;justify-content:space-between;gap:2px;margin-bottom:5px}.tm-day-title{min-height:44px;border:0;background:transparent;text-align:left;padding:0 4px;color:#244751}.tm-day-title time{display:flex;flex-direction:column}.tm-day-title b{font-size:20px;line-height:1.2}.tm-day-title span{font-size:14px}.tm-day .iconbtn{width:44px;min-width:44px;height:44px}.tm-task{margin:4px 0;padding:4px 6px;border:1px solid #e0e8e5;background:white;border-radius:10px;min-width:0}.tm-task .up-task-title{min-width:0}.tm-task .up-task-title strong{font-size:16px;overflow-wrap:anywhere}.tm-task .up-meta{font-size:14px;flex-wrap:wrap;line-height:1.4;gap:4px 8px}.tm-task .up-meta span{display:inline-flex;gap:4px;align-items:center}.tm-task .up-task-line{gap:4px}.tm-task .ws-family-check,.tm-task .iconbtn,.tm-read-check{width:44px;height:44px;min-width:44px;display:grid;place-items:center;flex-shrink:0}.tm-task.finished .up-task-title strong{text-decoration:line-through;color:#647570}.tm-carry{display:flex;gap:4px;flex-wrap:wrap;margin-top:4px}.tm-carry .smallbtn{font-size:14px;min-height:44px;height:auto;white-space:normal;text-align:left;flex:1 1 130px}.tm-week:not(.tm-single) .tm-task .up-task-line{flex-wrap:wrap}.tm-week:not(.tm-single) .tm-task .up-task-title{width:100%;flex-basis:100%;order:1}.tm-week:not(.tm-single) .tm-task .up-meta{margin-top:3px}.tm-week:not(.tm-single) .tm-carry{display:none}.tm-week:not(.tm-single) .tm-task .iconbtn{margin-left:auto}.tm-page .up-empty{font-size:14px;line-height:1.45;margin:8px 4px}.tm-page summary{min-height:44px;padding:10px 0;font-weight:600;font-size:14px;cursor:pointer}.tm-undated .up-task-line{flex-wrap:nowrap}.tm-overdue-date{font-size:14px;font-weight:600;color:#8a4d34;margin-top:8px}.tm-notes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tm-notes article{min-width:0;border:1px solid #dce6e5;border-radius:12px;padding:10px;background:#f8fbfb}.tm-note{display:grid;gap:7px;border:0;background:none;text-align:left;width:100%;padding:0 0 8px;color:inherit}.tm-note strong{font-size:16px;overflow-wrap:anywhere}.tm-note span{white-space:pre-wrap;font-size:14px;line-height:1.5;color:#566c65;overflow-wrap:anywhere}.tm-members{padding:0;list-style:none;margin:0}.tm-members li,.tm-members li>div{display:flex;gap:10px;align-items:center}.tm-members li{justify-content:space-between;border-bottom:1px solid #e4ebe7;padding:8px 0}.tm-members strong,.tm-members small{display:block;overflow-wrap:anywhere}.tm-members strong{font-size:16px}.tm-members small{font-size:14px;color:#5c6e66}.tm-members .avatar{width:38px;height:38px}.tm-preferences{margin-top:16px;display:grid;gap:10px}.tm-preferences h3{margin:0;font-size:16px}.tm-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tm-form-grid>*{min-width:0}.tm-form-grid input{width:100%;min-width:0}.tm-check,.tm-step{display:flex;align-items:center;gap:8px;font-size:16px;min-height:44px;line-height:1.5}.tm-check input,.tm-step input{width:22px;height:22px;margin:11px;flex-shrink:0;accent-color:#2e6456}.tm-phone{margin-top:16px;padding-top:12px;border-top:1px solid #e4ebe7}.tm-phone strong{font-size:16px}.tm-phone p,.tm-privacy{font-size:14px;color:#52665f;line-height:1.5}.tm-admin-actions,.tm-member-actions{display:flex;flex-wrap:wrap;gap:8px}.tm-privacy{display:flex;gap:7px;align-items:flex-start;margin:0}.tm-privacy .icon{flex-shrink:0;margin-top:3px}.tm-invite{border-bottom:1px solid #e0e8e5;padding:8px 0;font-size:16px}.tm-invite span,.tm-invite strong{overflow-wrap:anywhere;min-width:0}.tm-invite .actions{display:flex;gap:6px}.tm-error{padding:10px;background:#fff0e8;border-radius:10px;font-size:16px;color:#6c3f2d}.tm-body{white-space:pre-wrap;overflow-wrap:anywhere;font-size:16px}.tm-details{margin:8px 0}.tm-details summary{padding:10px 0;font-size:14px;min-height:44px;cursor:pointer}#tmForm{display:grid;gap:10px}#tmForm .field{margin:0}#tmForm .dialogactions{margin-top:6px}#tmForm input,#tmForm textarea,#tmForm select{font-size:16px}#tmForm textarea{resize:vertical}.tm-detail{min-width:0}.tm-detail .dialogactions{flex-wrap:wrap}.tm-notification-settings{display:grid;gap:8px}.tm-notification-settings a{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:16px;min-height:44px}
@media(max-width:1100px){.tm-week{grid-template-columns:repeat(2,minmax(0,1fr))}.tm-week .tm-day:last-child{grid-column:1/-1}.tm-single{grid-template-columns:1fr}.tm-week:not(.tm-single) .tm-task .up-task-line{flex-wrap:nowrap}.tm-week:not(.tm-single) .tm-task .up-task-title{width:auto;flex-basis:auto;order:0}.tm-week:not(.tm-single) .tm-task .iconbtn{margin-left:0}.tm-day-title time{flex-direction:row;align-items:center;gap:8px}}
@media(max-width:600px){.tm-page{gap:8px}.tm-week,.tm-notes{grid-template-columns:1fr}.tm-calendar-tools{gap:6px}.tm-calendar-tools .date-control{gap:2px}.tm-date{max-width:145px}.tm-views{width:100%}.tm-views button{flex:1}.tm-page .section-tabs button{font-size:14px;padding:8px 4px;gap:4px}.tm-page .section-tabs svg{width:16px;flex-shrink:0}.tm-form-grid{grid-template-columns:1fr}.tm-chooser label{min-width:160px}.tm-carry .smallbtn{flex-basis:115px}.tm-chooser{align-items:stretch}.tm-page .panel{padding:10px}.tm-day{padding:6px}.tm-phone{align-items:flex-start}.tm-phone>.btn{width:100%}.tm-page .panelhead{flex-wrap:wrap;gap:6px}.tm-week:not(.tm-single) .tm-carry{display:flex}}

body[data-density] .tm-page .section-tabs{grid-template-columns:repeat(3,minmax(0,1fr))!important}body[data-density] .tm-page .section-tabs .section-tab{min-width:0;justify-content:center;grid-column:auto;white-space:normal}body[data-density] .tm-page .section-tabs .section-tab span{white-space:normal}
@media(max-width:600px){body[data-density] .tm-page .section-tabs .section-tab{flex-direction:column;gap:3px;font-size:14px;line-height:1.25;padding:7px 4px;min-height:62px}}
