:root{--color-bg: #f6f7f9;--color-surface: #ffffff;--color-text: #22303e;--color-text-muted: #677280;--color-border: #e2e6ec;--color-primary: #2c7a74;--color-primary-strong: #23615c;--color-primary-soft: #e4f2f0;--color-danger: #b3384d;--color-danger-soft: #fbe9ec;--color-focus: #7fb5b0;--att-attended-bg: #e2f3e7;--att-attended-fg: #1c6b3a;--att-missed-unpaid-bg: #eaedf2;--att-missed-unpaid-fg: #5a6472;--att-makeup-owed-bg: #fdefd3;--att-makeup-owed-fg: #8f5e07;--att-late-cancel-bg: #fbe5e9;--att-late-cancel-fg: #ab3049;--att-makeup-done-bg: #e1edfb;--att-makeup-done-fg: #235f9f;--att-scheduled-bg: #f3f7fc;--att-scheduled-fg: #4a6584;--att-scheduled-border: #b8cade;--att-scheduled-solid: #2563c4;--att-attended-solid: #15803d;--att-makeup-done-solid: #0f766e;--att-makeup-owed-solid: #b45309;--att-late-cancel-solid: #be123c;--att-missed-unpaid-solid: #57606e;--radius: 12px;--radius-lg: 16px;--shadow: 0 1px 3px rgba(30, 41, 59, .08), 0 4px 14px rgba(30, 41, 59, .06);--nav-height: 56px;--font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans Hebrew", sans-serif}*,*:before,*:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{margin:0;font-family:var(--font-stack);font-size:16px;line-height:1.5;color:var(--color-text);background:var(--color-bg);-webkit-font-smoothing:antialiased;-webkit-overflow-scrolling:touch}h1,h2,h3,p{margin:0}button{font:inherit;color:inherit;background:none;border:none;padding:0;cursor:pointer}a{color:inherit;text-decoration:none}input,select,textarea{font:inherit;color:inherit}:focus-visible{outline:2px solid var(--color-focus);outline-offset:2px}.app-shell{max-width:480px;margin:0 auto;min-height:100dvh;background:var(--color-bg)}.app-shell--centered{display:flex;align-items:center;justify-content:center}.app-main{padding-bottom:calc(var(--nav-height) + env(safe-area-inset-bottom,0px) + 16px)}.page{padding:16px;display:flex;flex-direction:column;gap:16px}.page-header h1{font-size:1.5rem;font-weight:700}.page-header--row{display:flex;align-items:center;gap:12px}.page-subtitle{color:var(--color-text-muted);font-size:.95rem}.section-title{font-size:1.05rem;font-weight:650;margin-top:4px}.back-link{color:var(--color-primary);font-weight:600;min-height:44px;display:inline-flex;align-items:center}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:0 18px;border-radius:var(--radius);font-weight:600;font-size:1rem;transition:background-color .15s ease,transform .05s ease;-webkit-tap-highlight-color:transparent}.btn:active{transform:scale(.98)}.btn--primary{background:var(--color-primary);color:#fff}.btn--primary:hover{background:var(--color-primary-strong)}.btn--secondary{background:var(--color-primary-soft);color:var(--color-primary-strong)}.btn--danger-ghost{background:var(--color-danger-soft);color:var(--color-danger)}.btn--big{min-height:52px;font-size:1.05rem}.btn--small{min-height:44px;padding:0 14px;font-size:.92rem}.btn--block{width:100%}.btn:disabled{opacity:.55;cursor:default}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translate(-50%);width:100%;max-width:480px;height:calc(var(--nav-height) + env(safe-area-inset-bottom,0px));padding-bottom:env(safe-area-inset-bottom,0px);display:flex;background:var(--color-surface);border-top:1px solid var(--color-border);z-index:40}.bottom-nav__item{flex:1 1 0;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:0 2px;font-size:.66rem;font-weight:600;color:var(--color-text-muted);min-height:44px;white-space:nowrap;-webkit-tap-highlight-color:transparent}.bottom-nav__item span{overflow:hidden;text-overflow:ellipsis;max-width:100%}.bottom-nav__item.is-active{color:var(--color-primary)}.segmented{display:flex;background:#e9edf1;border-radius:var(--radius);padding:3px;gap:3px}.segmented__item{flex:1;min-height:38px;border-radius:9px;font-size:.9rem;font-weight:600;color:var(--color-text-muted);-webkit-tap-highlight-color:transparent}.segmented__item.is-active{background:var(--color-surface);color:var(--color-text);box-shadow:0 1px 3px #1e293b26}.search-input{width:100%;min-height:44px;padding:0 14px;border:1px solid var(--color-border);border-radius:var(--radius);background:var(--color-surface)}.search-input::placeholder{color:var(--color-text-muted)}.list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.list-row{display:flex;align-items:center;gap:8px;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius);padding:12px 14px;min-height:56px;border-inline-start:4px solid transparent}.list-row--accent-active{border-inline-start-color:var(--color-primary)}.list-row--accent-prospective{border-inline-start-color:var(--att-makeup-done-fg)}.list-row--accent-completed{border-inline-start-color:#aab3bf}.list-row__main{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}.list-row__top{display:flex;align-items:center;justify-content:space-between;gap:8px}.list-row__title{font-weight:650}.list-row__preview{color:var(--color-text-muted);font-size:.88rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chevron{color:#b4bcc7;font-size:1.3rem;line-height:1}.chip{display:inline-flex;align-items:center;padding:3px 10px;border-radius:999px;font-size:.76rem;font-weight:650;white-space:nowrap}.chip--attended{background:var(--att-attended-bg);color:var(--att-attended-fg)}.chip--missed-unpaid{background:var(--att-missed-unpaid-bg);color:var(--att-missed-unpaid-fg)}.chip--makeup-owed{background:var(--att-makeup-owed-bg);color:var(--att-makeup-owed-fg)}.chip--late-cancel{background:var(--att-late-cancel-bg);color:var(--att-late-cancel-fg)}.chip--makeup-done{background:var(--att-makeup-done-bg);color:var(--att-makeup-done-fg)}.chip--scheduled{background:var(--att-scheduled-bg);color:var(--att-scheduled-fg);box-shadow:inset 0 0 0 1px var(--att-scheduled-border)}.chip--status-active{background:var(--att-attended-bg);color:var(--att-attended-fg)}.chip--status-prospective{background:var(--att-makeup-done-bg);color:var(--att-makeup-done-fg)}.chip--status-completed{background:var(--att-missed-unpaid-bg);color:var(--att-missed-unpaid-fg)}.form{display:flex;flex-direction:column;gap:16px}.field{display:flex;flex-direction:column;gap:6px}.field--inline{flex:1}.field__label{font-size:.85rem;font-weight:650;color:var(--color-text-muted)}.field__required{color:var(--color-danger)}.field__note{font-size:.85rem;color:var(--color-text-muted)}.field__note--error{color:var(--color-danger)}.field__note--recording{color:var(--color-primary-strong);font-weight:600}.field input,.field select,.field textarea{min-height:44px;padding:10px 12px;border:1px solid var(--color-border);border-radius:var(--radius);background:var(--color-surface);width:100%}.field select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:linear-gradient(45deg,transparent 50%,var(--color-text-muted) 50%),linear-gradient(135deg,var(--color-text-muted) 50%,transparent 50%);background-position:calc(100% - 20px) 50%,calc(100% - 14px) 50%;background-size:6px 6px;background-repeat:no-repeat;padding-inline-end:36px}.locked-patient{min-height:44px;display:flex;align-items:center;padding:10px 12px;border:1px solid var(--color-border);border-radius:var(--radius);background:#eef1f5;font-weight:650;color:var(--color-text-muted)}.draft-hint{color:var(--att-makeup-owed-fg);font-size:.85rem;font-weight:600}.date-range{display:flex;gap:12px}.attendance-picker{display:flex;flex-direction:column;gap:8px}.attendance-option{display:flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:start;padding:12px 14px;min-height:56px;border:2px solid var(--color-border);border-radius:var(--radius);background:var(--color-surface);-webkit-tap-highlight-color:transparent}.attendance-option__label{font-weight:650}.attendance-option__help{font-size:.82rem;color:var(--color-text-muted)}.attendance-option.is-active{border-color:currentColor}.attendance-option--attended.is-active{background:var(--att-attended-bg);color:var(--att-attended-fg)}.attendance-option--missed-unpaid.is-active{background:var(--att-missed-unpaid-bg);color:var(--att-missed-unpaid-fg)}.attendance-option--makeup-owed.is-active{background:var(--att-makeup-owed-bg);color:var(--att-makeup-owed-fg)}.attendance-option--late-cancel.is-active{background:var(--att-late-cancel-bg);color:var(--att-late-cancel-fg)}.attendance-option--makeup-done.is-active{background:var(--att-makeup-done-bg);color:var(--att-makeup-done-fg)}.attendance-option--scheduled.is-active{background:var(--att-scheduled-bg);color:var(--att-scheduled-fg)}.attendance-option.is-active .attendance-option__help{color:inherit;opacity:.85}.attendance-collapsed{display:flex;flex-direction:column;gap:4px;align-items:flex-start}.attendance-collapsed .attendance-option--static{align-self:stretch}.attendance-option--static{cursor:default}.credit-picker{display:flex;flex-direction:column;gap:8px}.credit-option{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:48px;padding:10px 14px;border:2px solid var(--color-border);border-radius:var(--radius);background:var(--color-surface);font-weight:600}.credit-option__meta{font-size:.82rem;color:var(--color-text-muted);font-weight:500}.credit-option.is-active{border-color:var(--color-primary);background:var(--color-primary-soft);color:var(--color-primary-strong)}.makeup-link-line{display:flex;align-items:center;flex-wrap:wrap;gap:0 10px;font-size:.92rem;color:var(--color-text)}.note-header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}.note-wrap{position:relative}.note-area{min-height:40vh;resize:vertical;line-height:1.6}.note-interim-strip{margin-top:6px;padding:8px 10px;background:var(--color-primary-soft);border:1px solid var(--color-border);border-radius:var(--radius);color:var(--color-text-muted);font-style:italic;line-height:1.5}.mic-pill{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 14px 0 11px;border-radius:999px;font-size:.88rem;font-weight:600;background:var(--color-primary-soft);color:var(--color-primary-strong);-webkit-tap-highlight-color:transparent}.mic-pill.is-recording{background:var(--color-danger-soft);color:var(--color-danger);animation:mic-pulse 1.4s ease-out infinite}@keyframes mic-pulse{0%{box-shadow:0 0 #b3384d66}70%{box-shadow:0 0 0 10px #b3384d00}to{box-shadow:0 0 #b3384d00}}.fab{position:fixed;bottom:calc(var(--nav-height) + env(safe-area-inset-bottom,0px) + 16px);inset-inline-end:max(16px,calc(50% - 224px));width:56px;height:56px;border-radius:50%;background:var(--color-primary);color:#fff;font-size:1.8rem;line-height:1;display:flex;align-items:center;justify-content:center;box-shadow:var(--shadow);z-index:30}.sheet{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:flex;align-items:flex-end;justify-content:center}.sheet__backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:#141c2673}.sheet__card{position:relative;width:100%;max-width:480px;max-height:88dvh;overflow-y:auto;background:var(--color-surface);border-radius:var(--radius-lg) var(--radius-lg) 0 0;padding:8px 16px calc(16px + env(safe-area-inset-bottom,0px));animation:sheet-in .22s ease-out}@keyframes sheet-in{0%{transform:translateY(24px);opacity:.6}to{transform:translateY(0);opacity:1}}.sheet__handle{width:36px;height:4px;border-radius:2px;background:var(--color-border);margin:4px auto 8px}.sheet__header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.sheet__title{font-size:1.15rem;font-weight:700}.sheet__close{width:44px;height:44px;display:flex;align-items:center;justify-content:center;border-radius:50%;color:var(--color-text-muted)}.profile-card{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);padding:16px;display:flex;flex-direction:column;gap:12px;box-shadow:var(--shadow)}.profile-card__top{display:flex;align-items:center;justify-content:space-between;gap:8px}.profile-card__name{font-size:1.35rem;font-weight:700}.profile-card__hint{color:var(--color-text-muted);font-size:.92rem}.profile-card__contact{display:flex;flex-direction:column;gap:4px}.contact-link{color:var(--color-primary-strong);font-weight:600;min-height:44px;display:inline-flex;align-items:center}.profile-card__actions{display:flex;gap:8px}.profile-card__actions .btn{flex:1}.profile-actions{display:flex;gap:8px}.profile-actions .btn{flex:1}.timeline{display:flex;flex-direction:column;gap:10px}.timeline-item{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius);padding:12px 14px}.timeline-item__head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}.timeline-item__date{font-weight:650;font-size:.92rem}.timeline-item__note{white-space:pre-wrap;overflow-wrap:break-word}.timeline-item__note--empty,.dossier-entry__note--empty{color:var(--color-text-muted);font-style:italic}.timeline-item__link-line{margin:2px 0 6px;font-size:.82rem;color:var(--color-text-muted)}.dossier-actions{display:flex;gap:8px}.dossier-actions .btn{flex:1}.dossier{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);padding:4px 16px}.dossier-entry{padding:14px 0;border-bottom:1px solid var(--color-border)}.dossier-entry:last-child{border-bottom:none}.dossier-entry__head{font-size:.95rem;font-weight:700;color:var(--color-primary-strong);margin-bottom:6px}.dossier-entry__note{white-space:pre-wrap;overflow-wrap:break-word;line-height:1.65}.alert-card{display:flex;align-items:center;gap:10px;border-radius:var(--radius);padding:12px 14px;min-height:52px;font-weight:600}.alert-card__icon{display:flex;align-items:center;flex-shrink:0}.alert-card__text{flex:1;min-width:0}.alert-card--amber{background:var(--att-makeup-owed-bg);color:var(--att-makeup-owed-fg)}.alert-card--amber .chevron{color:var(--att-makeup-owed-fg);opacity:.6}.alert-card--teal{background:var(--color-primary-soft);color:var(--color-primary-strong)}.alert-card--teal .chevron{color:var(--color-primary-strong);opacity:.6}.back-header{display:flex;align-items:center;gap:8px}.back-header__btn{width:44px;height:44px;margin-inline-start:-10px;flex-shrink:0;display:flex;align-items:center;justify-content:center;border-radius:50%;font-size:1.35rem;line-height:1;color:var(--color-primary);-webkit-tap-highlight-color:transparent}.back-header__btn:hover{background:var(--color-primary-soft)}.back-header__title{font-size:1.35rem;font-weight:700}.credit-card{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius);padding:12px 14px}.credit-card__head{display:flex;align-items:center;justify-content:space-between;gap:8px}.credit-card__patient{font-weight:650;min-height:24px;display:inline-flex;align-items:center}.credit-card__badge{font-size:.85rem;font-weight:600;color:var(--color-text-muted);white-space:nowrap}.credit-card__rows{list-style:none;margin:8px 0 0;padding:0}.credit-card__row{display:flex;align-items:center;gap:10px;padding:10px 0;border-top:1px solid var(--color-border)}.credit-card__row:last-child{padding-bottom:2px}.credit-card__row-main{flex:1;min-width:0}.credit-card__meta{font-size:.9rem}.credit-card__note{color:var(--color-text-muted);font-size:.85rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.login-page{min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:24px;background:var(--color-bg)}.login-card{width:100%;max-width:360px;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);padding:24px;display:flex;flex-direction:column;gap:14px;box-shadow:var(--shadow)}.login-card input{min-height:44px;padding:10px 12px;border:1px solid var(--color-border);border-radius:var(--radius);width:100%}.login-title{font-size:1.4rem;font-weight:700;text-align:center}.login-subtitle{text-align:center;color:var(--color-text-muted);margin-top:-8px}.loading{display:flex;align-items:center;gap:10px;color:var(--color-text-muted);padding:12px 0}.spinner{width:18px;height:18px;border:2.5px solid var(--color-border);border-top-color:var(--color-primary);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.empty{text-align:center;padding:32px 16px;color:var(--color-text-muted)}.empty__title{font-weight:650;color:var(--color-text)}.empty__hint{font-size:.9rem;margin-top:4px}.error-box{background:var(--color-danger-soft);color:var(--color-danger);border-radius:var(--radius);padding:12px 14px;font-size:.92rem}.toast{position:fixed;bottom:calc(var(--nav-height) + env(safe-area-inset-bottom,0px) + 20px);left:50%;transform:translate(-50%);background:var(--color-text);color:#fff;padding:10px 18px;border-radius:999px;font-size:.92rem;font-weight:600;box-shadow:var(--shadow);z-index:60;animation:toast-in .2s ease-out}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,8px)}to{opacity:1;transform:translate(-50%)}}.icon-btn{width:44px;height:44px;margin:-10px -8px -10px 0;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;color:var(--color-text-muted);-webkit-tap-highlight-color:transparent}.icon-btn:hover{color:var(--color-primary);background:var(--color-primary-soft)}.timeline-item__head-end{display:flex;align-items:center;gap:2px}.timeline-item__note--clamped{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:6;line-clamp:6;overflow:hidden}.note-toggle{min-height:44px;display:inline-flex;align-items:center;color:var(--color-primary);font-weight:600;font-size:.9rem;-webkit-tap-highlight-color:transparent}.series-card{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);padding:16px;display:flex;flex-direction:column;gap:10px}.series-card__title{font-size:1rem;font-weight:700}.series-bar{display:flex;gap:4px}.series-bar__seg{flex:1;height:8px;border-radius:4px;background:var(--color-border)}.series-bar__seg.is-filled{background:var(--color-primary)}.series-card__meta{color:var(--color-text-muted);font-size:.85rem}.collapse-card{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg)}.collapse-card__head{width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 16px;min-height:52px;text-align:start;-webkit-tap-highlight-color:transparent}.collapse-card__title{font-size:1rem;font-weight:700}.collapse-card__badge{font-size:.85rem;font-weight:600;color:var(--color-text-muted)}.collapse-card__chevron{color:var(--color-text-muted);transition:transform .15s ease}.collapse-card__chevron.is-open{transform:rotate(180deg)}.collapse-card__body{padding:0 16px 16px;display:flex;flex-direction:column;gap:12px}.collapse-card--slim{border-radius:var(--radius)}.collapse-card--slim .collapse-card__head{min-height:46px;padding:0 14px}.collapse-card--slim .collapse-card__title{font-size:.95rem;font-weight:650}.collapse-card--slim .collapse-card__badge{font-size:.82rem}.collapse-card--slim .collapse-card__body{padding:0 14px 14px}.notes-text{white-space:pre-wrap;overflow-wrap:break-word;line-height:1.6}.notes-empty{color:var(--color-text-muted);font-style:italic}.notes-textarea{width:100%;min-height:140px;padding:10px 12px;border:1px solid var(--color-border);border-radius:var(--radius);background:var(--color-surface);resize:vertical;line-height:1.6}.notes-actions,.task-add{display:flex;gap:8px}.task-add input{flex:1;min-height:44px;padding:10px 12px;border:1px solid var(--color-border);border-radius:var(--radius);background:var(--color-surface)}.task-add__btn{width:48px;padding:0;font-size:1.4rem;flex-shrink:0}.task-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}.task-list--done{border-top:1px solid var(--color-border);padding-top:4px}.task-row{display:flex;align-items:center;gap:4px}.task-row__label{flex:1;min-width:0;display:flex;align-items:center;gap:10px;min-height:48px;cursor:pointer;-webkit-tap-highlight-color:transparent}.task-row__check{width:22px;height:22px;min-height:0;flex-shrink:0;accent-color:var(--color-primary)}.task-row__main{flex:1;min-width:0;display:flex;flex-direction:column}.task-row__title{overflow-wrap:break-word}.task-row--done .task-row__title{text-decoration:line-through;color:var(--color-text-muted)}.task-row__date{font-size:.78rem;color:var(--color-text-muted)}.billing-history{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}.bh-row{display:flex;flex-direction:column;gap:2px;padding:10px 0;border-bottom:1px solid var(--color-border)}.bh-row:last-child{border-bottom:none;padding-bottom:0}.bh-row__top{display:flex;align-items:center;justify-content:space-between;gap:8px}.bh-row__month{font-weight:650}.bh-row__meta{color:var(--color-text-muted);font-size:.88rem}.chip--paid{background:var(--att-attended-bg);color:var(--att-attended-fg)}.chip--unpaid{background:var(--att-makeup-owed-bg);color:var(--att-makeup-owed-fg)}.month-nav{display:flex;align-items:center;gap:8px}.month-nav__btn{width:44px;height:44px;flex-shrink:0;display:flex;align-items:center;justify-content:center;border:1px solid var(--color-border);border-radius:var(--radius);background:var(--color-surface);font-size:1.4rem;color:var(--color-text-muted);-webkit-tap-highlight-color:transparent}.month-nav__btn:hover{color:var(--color-primary)}.month-nav__label{flex:1;text-align:center;font-weight:700;font-size:1.1rem}.billing-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);padding:14px 16px;box-shadow:var(--shadow)}.billing-summary__total{font-size:1.4rem;font-weight:700}.billing-summary__label{color:var(--color-text-muted);font-size:.85rem}.billing-summary__meta{color:var(--color-text-muted);font-size:.9rem;font-weight:600;text-align:end}.billing-row{display:flex;flex-direction:column;gap:8px;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius);padding:12px 14px;border-inline-start:4px solid transparent}.billing-row--paid{border-inline-start-color:var(--att-attended-fg)}.billing-row--unpaid{border-inline-start-color:var(--att-makeup-owed-fg)}.billing-row__patient{font-weight:650;min-height:24px;display:inline-flex;align-items:center}.billing-row__record{display:flex;align-items:center;justify-content:space-between;gap:8px}.billing-row__math{font-size:.92rem}.billing-row__actions{display:flex;align-items:center;gap:8px}.paid-toggle{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border-radius:999px;font-weight:650;font-size:.85rem;white-space:nowrap;-webkit-tap-highlight-color:transparent}.paid-toggle:disabled{opacity:.55}.paid-toggle--paid{background:var(--att-attended-bg);color:var(--att-attended-fg)}.paid-toggle--unpaid{background:var(--att-makeup-owed-bg);color:var(--att-makeup-owed-fg)}.billing-note{min-height:64px;resize:vertical}.link-btn{color:var(--color-primary);font-weight:600;font-size:inherit;min-height:44px;display:inline-flex;align-items:center;-webkit-tap-highlight-color:transparent}.link-btn--center{justify-content:center;width:100%}.series-sheet__locked{font-weight:650;padding:10px 12px;background:var(--color-bg);border:1px solid var(--color-border);border-radius:var(--radius)}.list-row__time{display:inline-block;min-width:50px;margin-inline-end:6px;font-variant-numeric:tabular-nums;font-weight:750;font-size:1.02rem;color:var(--color-primary-strong)}.list-row--btn{width:100%;text-align:start;font:inherit;color:inherit;cursor:pointer}.upcoming-line{color:var(--att-scheduled-fg);background:var(--att-scheduled-bg);border:1px dashed var(--att-scheduled-border);border-radius:var(--radius);padding:8px 12px;font-size:.88rem;font-weight:600}.billing-row__line{display:flex;align-items:center;gap:10px}.billing-row__info{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.billing-row__summary{color:var(--color-text-muted);font-size:.88rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.billing-row__auto{margin-inline-start:6px;padding:1px 6px;border:1px solid var(--color-border);border-radius:999px;font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--color-text-muted)}.mark-paid-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border-radius:999px;background:var(--att-makeup-owed-fg);color:#fff;font-weight:650;font-size:.85rem;white-space:nowrap;-webkit-tap-highlight-color:transparent}.mark-paid-btn:disabled{opacity:.55}.row-menu{position:relative;flex-shrink:0}.row-menu .icon-btn{margin:-10px -6px;font-size:1.25rem;letter-spacing:1px}.row-menu__backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:44}.row-menu__pop{position:absolute;top:calc(100% + 2px);inset-inline-end:0;z-index:45;min-width:130px;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius);box-shadow:var(--shadow);padding:4px;display:flex;flex-direction:column}.row-menu__item{min-height:44px;padding:0 14px;text-align:start;border-radius:8px;font-weight:600;font-size:.92rem;-webkit-tap-highlight-color:transparent}.row-menu__item:hover{background:var(--color-primary-soft)}.row-menu__item--danger{color:var(--color-danger)}.row-menu__item--danger:hover{background:var(--color-danger-soft)}.calendar-page{height:calc(100dvh - var(--nav-height) - env(safe-area-inset-bottom,0px) - 16px);overflow:hidden;gap:10px;padding-bottom:8px}.calendar-header{display:flex;flex-direction:column;gap:10px}.calendar-header__top{display:flex;align-items:center;justify-content:space-between;gap:10px}.calendar-header__top h1{font-size:1.3rem;font-weight:700}.calendar-header__top .segmented{flex:0 1 240px}.calendar-header__top .segmented__item{min-height:34px;font-size:.84rem}.calendar-toolbar{display:flex;align-items:center;gap:8px}.calendar-toolbar .month-nav__btn{width:40px;height:40px}.calendar-toolbar__today{min-height:40px;padding:0 12px;font-size:.85rem}.calendar-toolbar__title{flex:1;text-align:center;font-weight:700;font-size:.98rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.calendar-legend{display:flex;flex-wrap:wrap;gap:4px 6px}.legend-chip{display:inline-flex;align-items:center;padding:1px 8px;border-radius:999px;font-size:.66rem;font-weight:650;white-space:nowrap}.legend-chip.chip--scheduled,.legend-chip.chip--attended,.legend-chip.chip--makeup-done,.legend-chip.chip--makeup-owed,.legend-chip.chip--missed-unpaid,.legend-chip.chip--late-cancel{color:#fff;box-shadow:none}.legend-chip.chip--scheduled{background:var(--att-scheduled-solid)}.legend-chip.chip--attended{background:var(--att-attended-solid)}.legend-chip.chip--makeup-done{background:var(--att-makeup-done-solid)}.legend-chip.chip--makeup-owed{background:var(--att-makeup-owed-solid)}.legend-chip.chip--missed-unpaid{background:var(--att-missed-unpaid-solid)}.legend-chip.chip--late-cancel{background:var(--att-late-cancel-solid)}.calendar-host{flex:1;min-height:0;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius);overflow:hidden}.calendar-host .fc{--fc-border-color: var(--color-border);--fc-page-bg-color: var(--color-surface);--fc-neutral-bg-color: var(--color-bg);--fc-today-bg-color: var(--color-primary-soft);--fc-now-indicator-color: var(--color-danger);--fc-small-font-size: .72rem;font-family:var(--font-stack);font-size:.8rem}.calendar-host .fc .fc-col-header-cell-cushion,.calendar-host .fc .fc-daygrid-day-number{color:var(--color-text);font-weight:600;font-size:.74rem;padding:4px}.calendar-host .fc .fc-day-today .fc-col-header-cell-cushion,.calendar-host .fc .fc-day-today .fc-daygrid-day-number{color:var(--color-primary-strong)}.calendar-host .fc .fc-timegrid-slot-label-cushion,.calendar-host .fc .fc-timegrid-axis-cushion{color:var(--color-text-muted);font-size:.68rem}.calendar-host .fc .fc-timegrid-slot{height:2em}.calendar-host .fc .fc-event{border-radius:6px;font-size:.68rem;line-height:1.25;padding:1px 3px;cursor:pointer}.calendar-host .fc .fc-event .fc-event-main{padding:0}.calendar-host .fc .fc-event-time{font-weight:700}.calendar-host .fc .fc-event-title{font-weight:600;overflow:hidden;text-overflow:ellipsis}.calendar-host .fc .fc-daygrid-event-dot{display:none}.calendar-host .fc .fc-daygrid-more-link{color:var(--color-primary-strong);font-size:.68rem;font-weight:650}.calendar-host .fc .fc-ev--scheduled,.calendar-host .fc .fc-ev--attended,.calendar-host .fc .fc-ev--makeup-done,.calendar-host .fc .fc-ev--makeup-owed,.calendar-host .fc .fc-ev--missed-unpaid,.calendar-host .fc .fc-ev--late-cancel,.calendar-host .fc .fc-ev--scheduled .fc-event-main,.calendar-host .fc .fc-ev--attended .fc-event-main,.calendar-host .fc .fc-ev--makeup-done .fc-event-main,.calendar-host .fc .fc-ev--makeup-owed .fc-event-main,.calendar-host .fc .fc-ev--missed-unpaid .fc-event-main,.calendar-host .fc .fc-ev--late-cancel .fc-event-main,.calendar-host .fc .fc-ev--scheduled .fc-event-time,.calendar-host .fc .fc-ev--attended .fc-event-time,.calendar-host .fc .fc-ev--makeup-done .fc-event-time,.calendar-host .fc .fc-ev--makeup-owed .fc-event-time,.calendar-host .fc .fc-ev--missed-unpaid .fc-event-time,.calendar-host .fc .fc-ev--late-cancel .fc-event-time,.calendar-host .fc .fc-ev--scheduled .fc-event-title,.calendar-host .fc .fc-ev--attended .fc-event-title,.calendar-host .fc .fc-ev--makeup-done .fc-event-title,.calendar-host .fc .fc-ev--makeup-owed .fc-event-title,.calendar-host .fc .fc-ev--missed-unpaid .fc-event-title,.calendar-host .fc .fc-ev--late-cancel .fc-event-title{color:#fff}.calendar-host .fc .fc-ev--scheduled{background:var(--att-scheduled-solid);border:1px solid var(--att-scheduled-solid)}.calendar-host .fc .fc-ev--attended{background:var(--att-attended-solid);border:1px solid var(--att-attended-solid)}.calendar-host .fc .fc-ev--makeup-done{background:var(--att-makeup-done-solid);border:1px solid var(--att-makeup-done-solid)}.calendar-host .fc .fc-ev--makeup-owed{background:var(--att-makeup-owed-solid);border:1px solid var(--att-makeup-owed-solid)}.calendar-host .fc .fc-ev--missed-unpaid{background:var(--att-missed-unpaid-solid);border:1px solid var(--att-missed-unpaid-solid)}.calendar-host .fc .fc-ev--late-cancel{background:var(--att-late-cancel-solid);border:1px solid var(--att-late-cancel-solid)}.event-sheet{display:flex;flex-direction:column;gap:14px}.event-sheet__summary{display:flex;align-items:center;justify-content:space-between;gap:8px}.event-sheet__when{font-weight:650;font-size:.95rem}.event-sheet__actions{display:flex;flex-direction:column;gap:8px}.event-sheet__action{min-height:48px;justify-content:center;align-items:center}.event-sheet__action:disabled{opacity:.55}.event-sheet__secondary{display:flex;gap:8px}.event-sheet__secondary .btn{flex:1}
