.goal-editor{--editor-gutter:24px;max-height:calc(var(--goal-viewport-height,100dvh) - 24px);height:calc(var(--goal-viewport-height,100dvh) - 24px)}.goal-editor-header{flex-shrink:0;background:var(--surface);border-bottom:1px solid var(--border)}.goal-editor .details-panel-heading{border:0;align-items:flex-start;padding:16px 16px 14px var(--editor-gutter)}.goal-editor-identity{flex:1;min-width:0}.goal-editor .goal-editor-identity h2{font-size:20px;line-height:1.35;margin:0}.goal-editor .goal-editor-title{display:block;width:calc(100% + 10px);margin-left:-10px;padding:6px 10px;min-height:40px;max-height:112px;overflow-y:auto;resize:none;border:0;border-radius:4px;background:transparent;color:var(--ink);font:inherit;font-weight:650;line-height:1.4;overflow-wrap:anywhere}.goal-editor-title:hover{background:var(--canvas)}.goal-editor .detail-label{display:block;font-size:12px;margin-top:4px;color:var(--muted)}.goal-editor .details-panel-body{padding:16px var(--editor-gutter);scroll-padding-block:16px;overscroll-behavior:contain;min-height:0}.goal-duration{margin-bottom:16px}.goal-duration>label{display:block;font-size:14px;font-weight:550;margin-bottom:6px}.goal-duration-controls{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.goal-minutes{display:flex;gap:8px;align-items:center;font-size:13px;color:var(--muted)}.goal-minutes input{width:78px;min-height:44px;padding:8px 10px;border:1px solid var(--border);border-radius:8px;background:white;color:var(--ink);font-variant-numeric:tabular-nums}.goal-presets{display:flex;gap:8px;flex-wrap:wrap}.goal-presets button{min-width:44px;min-height:44px;padding:6px 12px;border:1px solid transparent;border-radius:999px;background:color-mix(in srgb,var(--green) 8%,var(--surface));color:var(--green);font-size:14px;font-weight:550;font-variant-numeric:tabular-nums}.goal-presets button:hover:not(:disabled):not([aria-pressed=true]){background:color-mix(in srgb,var(--green) 15%,var(--surface))}.goal-presets button[aria-pressed=true]{background:var(--green);border-color:var(--green);color:white;font-weight:600}.goal-editor .target-song-association{padding:0;margin:0 0 8px;background:transparent;border:0;border-radius:0;display:block}.goal-editor .song-picker-label{margin:0}.goal-editor .song-picker-label .field-label{margin:0;font-weight:550}.goal-editor .song-picker-trigger{border:0;border-radius:6px;padding:6px 8px;margin:0 -8px;width:calc(100% + 16px);background:transparent;min-height:52px}.goal-editor .song-picker-trigger:hover{background:var(--canvas)}.goal-editor .song-picker-trigger strong{font-size:15px;white-space:normal;overflow-wrap:anywhere}.goal-editor .song-picker-trigger small{font-size:13px;white-space:normal;overflow-wrap:anywhere}.song-activity-group{min-width:0;flex:1}.song-activity-label{display:flex;gap:8px;align-items:center;font-size:13px}.song-activity-label>label{font-weight:500}.song-activity-group>:is(select,.app-select-trigger){width:100%;min-height:44px;border:1px solid var(--border);border-radius:8px;padding:8px 10px;background:white;font-size:16px}.goal-editor .song-association-actions{display:block;max-width:100%}.goal-editor .song-activity-group{display:flex;gap:12px;align-items:center}.goal-editor .song-activity-group>:is(select,.app-select-trigger){flex:1;min-width:0}.goal-editor .association-help{position:relative;flex-shrink:0;color:var(--muted)}.goal-editor .association-help summary{display:flex;align-items:center;justify-content:center;list-style:none;width:44px;min-height:44px;border-radius:6px;color:var(--green)}.goal-editor .association-help summary::-webkit-details-marker{display:none}.goal-editor .association-help summary:hover{background:var(--canvas)}.goal-editor .association-help p{position:absolute;inset:44px auto auto -100px;z-index:10;width:min(280px,calc(100vw - 64px));padding:12px!important;margin:0;background:var(--surface);border:1px solid var(--border);border-radius:8px;box-shadow:0 4px 16px #20352b18;color:var(--ink)}.goal-editor .song-link-actions{display:flex;flex-wrap:wrap;gap:8px 20px}.goal-editor .song-link-actions .text-button{font-size:13px;min-height:44px;padding:4px 0;margin:0}.goal-editor .song-link-actions .text-button:last-child{color:var(--muted)}.goal-notes h3{font-size:15px;font-weight:600}.goal-editor .goal-notes .details-section-heading{margin-bottom:0;min-height:36px}.goal-notes .text-button{font-size:13px;min-height:44px}.goal-note-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.65;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.goal-note-text.expanded{display:block;overflow:visible}.goal-editor .goal-note-input{min-height:112px;max-height:280px;overflow-y:auto;margin-top:4px;line-height:1.6;width:100%;border:1px solid var(--border);border-radius:8px;padding:10px 12px}.goal-notes .note-expand{padding:0;color:var(--green);min-height:44px}.goal-editor .details-section{margin-top:16px;padding-top:12px;border-top:0}.goal-editor .details-section h3{font-size:15px;margin-bottom:8px}.goal-editor .details-section-heading h3{margin:0}.goal-editor .target-resources{margin-top:8px;padding-top:4px}.goal-editor .target-resources>.field-hint{display:none}.goal-editor .inherited-resources{display:flex;align-items:baseline;gap:4px 12px;margin:0;flex-wrap:wrap}.goal-editor .inherited-resources>.small{font-size:12px;color:var(--muted)}.goal-editor .resource-links a>svg:first-child{display:none}.goal-editor .resource-list>li{padding:0;border:0}.goal-editor .resource-actions .icon-button{width:44px;height:44px;color:var(--muted)}.goal-editor .target-progress-section{display:block;margin-top:12px;padding:12px;border:0;border-radius:12px;background:var(--canvas)}.goal-editor .target-progress-section>h3{margin-bottom:12px}.goal-editor .tempo-inputs{gap:6px;max-width:none}.goal-editor .tempo-inputs .item-kind-select{min-width:0;width:132px;flex:0 0 132px}.goal-editor .tempo-inputs input{padding:8px;min-width:60px}.goal-editor .next-step-field{min-height:72px;max-height:200px;line-height:1.5}.goal-editor .panel-disclosure{margin-top:12px;padding:0 12px;border:0;border-radius:12px;background:var(--canvas)}.goal-editor .panel-disclosure>summary{min-height:52px;font-size:14px;gap:8px}.goal-editor .panel-disclosure>summary>span{min-width:0}.goal-editor .panel-disclosure>summary small{font-size:12px;font-weight:400;color:var(--muted)}.goal-editor .session-disclosure>summary>strong{margin-left:auto;font-size:13px;font-weight:550;white-space:nowrap;font-variant-numeric:tabular-nums}.goal-editor .session-disclosure>summary>svg{margin-left:0}.goal-editor .session-history-row{min-height:52px;gap:8px;grid-template-columns:minmax(0,1fr) auto 88px;padding:4px 0}.goal-editor .session-history-name{flex-direction:row;flex-wrap:wrap;gap:4px 12px;align-items:baseline}.goal-editor .session-row-actions .icon-button{width:44px;height:44px;color:var(--muted)}.goal-editor .session-row-actions .session-delete:hover{color:var(--danger,#8f381e)}.goal-editor .manual-time-form{padding:8px 0;border:0;background:transparent}.goal-editor .manual-time-form>span{font-size:13px;margin-bottom:4px}.goal-editor .manual-time-form input{appearance:textfield;-moz-appearance:textfield;width:86px}.goal-editor .manual-time-form input::-webkit-inner-spin-button,.goal-editor .manual-time-form input::-webkit-outer-spin-button{appearance:none;margin:0}.goal-delete-zone{margin-top:4px;padding-top:8px}.goal-editor .details-remove{color:var(--danger,#8f381e);min-height:44px;font-size:13px}.goal-editor .goal-save-footer{min-height:44px;flex-wrap:wrap;gap:4px 12px;background:var(--surface);padding:8px var(--editor-gutter);padding-bottom:max(8px,env(safe-area-inset-bottom))}.goal-save-footer>div{display:flex;align-items:center;gap:8px;min-width:0;flex:1;font-size:12px}.goal-save-footer>div>div{min-width:0}.goal-save-footer .autosave-dot{background:var(--muted);width:5px;height:5px}.goal-save-footer .autosave-dot.pending,.goal-save-footer .autosave-dot.saving{background:var(--amber)}.goal-save-footer.error .autosave-dot{background:var(--danger,#8f381e)}.goal-save-footer p{font-size:12px;line-height:1.5;margin:4px 0 0;overflow-wrap:anywhere}.goal-save-footer .text-button{font-size:13px;min-height:44px}.goal-editor [aria-invalid=true]{border-color:var(--danger,#8f381e);outline:1px solid var(--danger,#8f381e)}.goal-editor :is(select,.app-select-trigger):focus-visible,.goal-editor button:focus-visible,.goal-editor input:focus-visible,.goal-editor summary:focus-visible,.goal-editor textarea:focus-visible{outline:2px solid var(--green);outline-offset:3px}@media(max-height:500px) and (max-width:960px),(max-width:600px){.goal-editor{--editor-gutter:16px;inset:0;margin:0;width:100%;max-width:none;top:var(--goal-viewport-top,0);bottom:auto;height:var(--goal-viewport-height,100dvh);max-height:var(--goal-viewport-height,100dvh);border-radius:0;border:0;padding:0}.goal-editor .details-panel-heading{padding-top:max(12px,env(safe-area-inset-top))}.goal-editor .goal-editor-title{font-size:18px;max-height:100px}.goal-editor .details-panel-body{padding-block:12px}.goal-editor .tempo-inputs{max-width:360px}.goal-editor .next-step-field{min-height:60px}.goal-duration-controls{gap:8px}.goal-presets{gap:6px}.goal-presets button{min-width:44px}.goal-minutes input{width:68px}.goal-editor .song-activity-group{gap:6px;flex-wrap:wrap}.goal-editor .song-activity-group>:is(select,.app-select-trigger){flex-basis:160px}.goal-editor .association-help p{left:-88px}}@media(prefers-reduced-motion:reduce){.goal-editor *{scroll-behavior:auto!important;animation:none!important}}@media(max-height:500px) and (max-width:960px){.goal-editor .details-panel-heading{padding-top:8px}.goal-editor .goal-editor-title{font-size:16px;max-height:52px}}@media(min-width:601px){.goal-duration{display:flex;align-items:center;gap:8px 12px;flex-wrap:wrap}.goal-duration>label{margin:0}.goal-duration>.field-error{flex-basis:100%}}.goal-editor .tempo-inputs :is(select,.app-select-trigger){padding-inline:8px 28px}.goal-editor .tempo-inputs .item-kind-select>svg{right:8px}.goal-preparation{display:grid;gap:12px}.goal-editor .goal-notes,.goal-editor .goal-preparation>.target-resources,.goal-setup-panel{min-width:0;padding:12px;border:0;border-radius:12px;background:var(--canvas);margin:0}.goal-setup-panel .goal-duration{display:block;margin:0}.goal-setup-panel .goal-duration>label{margin-bottom:8px}.goal-setup-panel:has(.target-song-association) .goal-duration{padding-bottom:12px;margin-bottom:12px;border-bottom:1px solid var(--border)}.goal-editor .goal-setup-panel .target-song-association{margin:0}.goal-editor .goal-setup-panel .song-picker-trigger{min-height:52px;padding-block:4px}.goal-editor .goal-setup-panel .song-link-actions{gap:8px 16px}.goal-editor .goal-notes .details-section-heading,.goal-editor .goal-preparation>.target-resources .details-section-heading{align-items:flex-start;min-height:24px;margin:0 0 8px}.goal-editor .goal-notes .details-section-heading>.text-button,.goal-editor .goal-preparation>.target-resources .details-section-heading>.text-button{position:relative;min-height:24px;padding:0;line-height:1.5}.goal-editor .goal-notes .details-section-heading>.text-button:after,.goal-editor .goal-preparation>.target-resources .details-section-heading>.text-button:after{content:"";position:absolute;inset:-10px 0}.goal-editor .target-progress-section>.tempo-field{margin:0}.goal-editor .target-progress-section>.field-hint{margin:4px 0 12px;font-size:12px;line-height:1.5}.goal-editor .target-progress-section>.field-label:last-child{margin:0}.goal-editor .tempo-inputs{max-width:360px}.goal-editor .next-step-field{min-height:60px}.resource-service-icon{display:inline-flex;align-items:center;flex-shrink:0;color:var(--green)}.song-picker-search:focus-within{outline:none;box-shadow:inset 0 0 0 2px var(--green);border-bottom-color:transparent;border-radius:8px}.goal-editor .song-picker-search input:focus-visible{outline:none;box-shadow:none}@media(max-width:600px){.goal-preparation{gap:10px}.goal-editor .goal-notes,.goal-editor .goal-preparation>.target-resources,.goal-setup-panel{padding:12px}}.goal-editor .goal-setup-panel .song-picker-trigger:hover{background:var(--surface)}.goal-editor .panel-disclosure-body{padding-bottom:12px}.goal-editor .target-progress-section input,.goal-editor .target-progress-section textarea{background:var(--surface)}.goal-editor .previous-approaches{margin-top:12px;padding:12px;border:0;border-radius:12px;background:var(--canvas)}.goal-editor .goal-notes .details-section-heading,.goal-editor .goal-preparation>.target-resources .details-section-heading{align-items:center;min-height:32px;margin:0}.goal-editor .goal-note-text{margin-top:8px}.library-view>.page-heading{display:none}.song-library{container:repertoire/inline-size;min-width:0}.library-heading{margin-bottom:14px;gap:12px;align-items:center}.library-heading-main{display:flex;flex-direction:column;gap:4px;min-width:0}.library-heading h1{font-size:28px;line-height:1.25;letter-spacing:-.6px;margin:0;font-weight:650}.library-counts{gap:6px 14px}.library-review-chip{border:0;background:transparent;border-radius:6px;padding:4px 6px;min-height:36px;font-size:13px;font-weight:550}.library-review-chip.selected,.library-review-chip:hover{background:var(--green-soft,#eaf2ed);color:var(--green);box-shadow:inset 0 -2px var(--green)}.library-heading-actions{gap:8px;flex-wrap:nowrap}.library-heading-actions .button{min-height:40px;font-size:14px;padding:8px 12px;white-space:nowrap}.song-library-toolbar{grid-template-columns:minmax(160px,1fr) minmax(134px,170px) minmax(154px,190px);gap:8px;margin-bottom:4px;align-items:end}.library-search{grid-column:auto;min-height:40px;border-radius:8px;padding-inline:10px;align-self:end}.library-search input{min-height:38px;font-size:14px;padding:6px 0}.library-search .icon-button{min-height:36px;height:36px}.library-filter,.library-sort{display:flex;flex-direction:column;gap:3px;min-width:0}.library-control-label{font-size:12px;color:var(--muted);padding-left:2px}.library-filter :is(select,.app-select-trigger),.library-sort :is(select,.app-select-trigger){min-height:40px;height:40px;border-radius:8px;font-size:13px;padding-left:10px;padding-right:28px;background-position:right 8px center}.library-list-controls{margin:0 0 6px;gap:4px 12px;min-height:38px}.library-active-filters{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.library-active-filters .text-button{min-height:36px;font-size:13px}.library-page-size{font-size:12px}.library-page-size :is(select,.app-select-trigger){border:0;background-color:transparent;min-height:36px;font-size:13px;min-width:96px}.library-list-controls .library-page-buttons{display:none}.library-table{border-radius:10px}.library-table-heading{display:none}.library-row{grid-template-columns:minmax(0,1fr) 142px 32px;gap:3px 8px;min-height:0;padding:10px 12px;cursor:pointer;transition:background-color .15s}.library-row.selected,.library-row:focus-within,.library-row:hover{background:var(--canvas)}.library-song-open{grid-column:1/3;grid-row:1;gap:1px;min-height:44px;padding:2px 0}.library-song-open strong{font-size:15px;font-weight:600;-webkit-line-clamp:2}.library-song-open strong,.library-song-open>span{line-height:1.4;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}.library-song-open>span{font-size:13px;-webkit-line-clamp:1}.library-row-open{grid-column:3;grid-row:1;width:32px;min-width:32px;justify-self:end;color:var(--muted)}.library-row-status{grid-column:1;grid-row:2;width:184px;max-width:100%;min-width:0;padding:0}.library-row-status:before{display:none}.library-row-status .app-select-trigger{width:100%;min-height:36px;padding:6px 32px 6px 12px;border:1px solid transparent;border-radius:20px;font-size:13px;font-weight:550;line-height:1.4;background:var(--canvas);color:var(--muted)}.library-row-status.status-learning .app-select-trigger{background:#eee8f8;color:#62449c}.library-row-status.status-learned .app-select-trigger{background:#e7f2ed;color:#246c59}.library-row-status.status-refreshing .app-select-trigger{background:#f7f0de;color:#805d12}.library-row-status.status-needs_refresh .app-select-trigger{background:#f7e9e3;color:#8c4a31}.library-row-status .app-select-chevron{right:10px;color:currentColor}.library-last{grid-column:2/4;grid-row:2;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:2px;font-size:13px}.library-last small{font-size:12px}.library-mobile-label{display:block;font-size:12px;color:var(--muted)}.library-next{grid-column:1/-1;grid-row:3;display:flex;flex-direction:row;align-items:center;gap:6px;font-size:13px}.library-next .library-mobile-label{display:block}.library-next.is-disabled{display:none}.library-repeat-action{font-size:13px;min-height:36px;padding:2px 0;gap:5px}.library-first-review{display:flex;flex-wrap:wrap;gap:3px 8px;font-weight:400;color:var(--muted)}.library-first-action{color:var(--green);font-weight:500}.library-pagination{padding:4px 12px;min-height:44px;font-size:12px}.library-review-help{margin-top:8px;font-size:12px}@container repertoire (min-width:680px){.library-row,.library-table-heading{display:grid;grid-template-columns:minmax(140px,1fr) 184px 108px 140px 28px;gap:10px;padding:6px 14px}.library-table-heading{min-height:36px;background:var(--canvas);font-size:12px}.library-row{min-height:66px}.library-last,.library-next,.library-row-open,.library-row-status,.library-song-open{grid-column:auto;grid-row:auto}.library-last,.library-next{align-items:flex-start;flex-direction:column;gap:2px}.library-next.is-disabled{display:flex}.library-mobile-label,.library-next .library-mobile-label{display:none}.library-first-review{flex-direction:column;gap:0}}@container repertoire (max-width:580px){.library-heading-actions,.library-heading-main{width:100%}.library-heading-actions .button{flex:1;justify-content:center;min-height:44px}.library-heading h1{font-size:26px}.library-counts{justify-content:space-between}.library-review-chip{min-height:44px}.song-library-toolbar{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}.library-search{grid-column:1/-1}.library-search input{font-size:16px;min-height:44px}.library-filter :is(select,.app-select-trigger),.library-sort :is(select,.app-select-trigger){font-size:16px;height:44px;min-height:44px}.library-control-label{font-size:13px}.library-page-size :is(select,.app-select-trigger),.library-row-status :is(select,.app-select-trigger){font-size:16px;min-height:44px}.library-row-status{width:226px;max-width:100%}.library-row-open{width:44px;min-width:44px}.library-repeat-action{min-height:44px}.library-last{font-size:13px}}.library-song-panel .details-panel-body{padding:16px 24px;scroll-padding-block:16px}.library-song-panel .song-edit-fields{gap:8px}.library-song-panel .field-label{font-size:13px;gap:4px;margin-bottom:0;min-width:0}.library-song-panel .song-form input{padding:7px 10px;min-height:40px}.library-song-panel .song-form :is(select,.app-select-trigger){padding:7px 34px 7px 10px;min-height:40px}.library-song-panel .song-title-input{font-size:23px;font-weight:600;line-height:1.3;min-height:40px;max-height:124px;overflow-y:auto;resize:none;padding:4px 0;border-color:transparent;background:transparent;border-radius:4px}.library-song-panel .song-title-input:hover{border-color:var(--border)}.library-song-panel .song-edit-fields>label:nth-of-type(2)>input{border-color:transparent;background:transparent;padding:4px 0;color:var(--muted);min-height:36px;border-radius:4px}.library-song-panel .song-edit-fields>label:nth-of-type(2)>input:hover{border-color:var(--border)}.library-song-panel .song-edit-fields .song-form-columns{gap:10px;grid-template-columns:1fr 1fr;margin-top:4px}.song-practice-summary{margin:14px 0 10px;font-size:13px;color:var(--muted);line-height:1.6}.song-practice-summary p{margin:0;display:flex;align-items:center;flex-wrap:wrap;gap:0 4px}.song-practice-summary time{color:var(--ink)}.song-review-state.due{color:var(--green);font-weight:550}.song-review-state.due svg{margin-right:2px}.library-song-panel .song-primary-actions{gap:8px}.library-song-panel .song-primary-actions .button{min-height:40px}.library-song-panel .song-inline-form{margin:12px 0 0;padding:12px;gap:10px;border-radius:8px}.library-song-panel .song-inline-form textarea{min-height:60px;padding:6px 10px}.library-song-panel .song-form-actions{gap:8px}.song-plan-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.song-plan-grid .song-form-columns,.song-plan-grid .song-plan-title{grid-column:1/-1}.song-plan-grid .song-form-columns{grid-template-columns:1fr 1fr;gap:10px}.library-song-panel .song-inline-form .field-hint{margin:0;font-size:12px;line-height:1.5}.library-song-panel .details-section{margin-top:18px;padding-top:0;border-top:0}.library-song-panel .details-section h3{font-size:15px;margin-bottom:8px}.library-song-panel .details-section-heading h3{margin:0}.library-song-panel .target-resources>.field-hint{display:none}.library-song-panel .target-resources .resource-list>li{padding:0}.library-song-panel .target-progress-section>.field-hint:not(.field-error){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%)}.library-song-panel .target-progress-section .tempo-field{margin-bottom:10px}.library-song-panel .tempo-inputs{max-width:100%;display:grid;grid-template-columns:minmax(0,1fr) minmax(120px,1fr)}.library-song-panel .tempo-inputs .item-kind-select{min-width:0}.library-song-panel .details-notes{min-height:44px;max-height:160px;font-size:16px;padding:8px 10px}.library-song-panel .next-step-field{min-height:44px;max-height:112px}.library-song-panel .panel-disclosure{margin-top:12px;border-top:0}.library-song-panel .panel-disclosure>summary{min-height:44px;font-size:14px;gap:8px}.library-song-panel .panel-disclosure-body{padding-bottom:4px}.library-song-panel .song-tone-preset{margin-bottom:10px}.library-song-panel .song-tone-preset input{padding:7px 10px;min-height:40px}.library-song-panel .song-history li{padding:6px 0}.library-song-panel .song-history li>div{gap:1px;font-size:13px}.library-song-panel .song-history-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.library-song-panel .song-history li p{font-size:13px;max-height:112px;overflow:auto}.library-song-panel .song-review-setting{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0}.song-interval-help{font-size:12px;color:var(--muted)}.song-interval-help summary{cursor:pointer;min-height:36px;align-content:center}.song-interval-help[open]{flex-basis:100%}.library-song-panel .song-archive-action{margin-top:12px;border-top:1px solid var(--border);padding-top:8px}.library-song-panel .details-panel-footer{gap:8px;align-items:center;font-size:13px}.library-song-panel .details-panel-footer>span:nth-child(2){flex:1;min-width:0;overflow-wrap:anywhere}.library-song-panel .details-panel-footer .text-button{min-height:36px;font-size:13px;flex-shrink:0}@media(max-width:600px){.library-song-panel.target-details-panel{inset:0;width:100%;max-width:100%;height:100dvh;max-height:100dvh;border-radius:0}.library-song-panel .details-panel-heading{padding-top:max(8px,env(safe-area-inset-top))}.library-song-panel .details-panel-body{padding:12px 16px}.library-song-panel .song-form :is(select,.app-select-trigger),.library-song-panel .song-form input,.library-song-panel .song-tone-preset input{min-height:44px}.library-song-panel .song-primary-actions .button{min-height:44px}.library-song-panel .song-edit-fields .song-form-columns{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.library-song-panel .details-panel-footer{padding-bottom:max(10px,env(safe-area-inset-bottom))}}@media(prefers-reduced-motion:reduce){.library-row{transition:none}}.library-song-panel .saved-link-picker{margin-top:0;margin-bottom:0;padding-block:0}.library-song-panel .saved-link-picker>.text-button{min-height:36px}.library-song-panel .target-resources .details-section-heading{margin-bottom:0}@container repertoire (max-width:420px){.library-row{grid-template-columns:minmax(0,1fr) 32px;gap:0 8px}.library-song-open{grid-column:1;grid-row:1}.library-row-open{grid-column:2;grid-row:1}.library-row-status{grid-column:1/-1;grid-row:2;max-width:100%;width:226px}.library-last{grid-column:1/-1;grid-row:3;flex-direction:row;align-items:baseline;flex-wrap:wrap;gap:3px 6px}.library-last small{margin-left:auto}.library-next{grid-column:1/-1;grid-row:4;flex-wrap:wrap}.library-last .library-mobile-label{font-size:12px}.library-last{justify-content:flex-start}}@media(max-height:500px) and (orientation:landscape) and (max-width:900px){.library-view.content{padding-top:10px}.library-heading{margin-bottom:8px}.library-heading-main{flex-direction:row;align-items:center;gap:16px}.library-counts{flex-direction:column;align-items:flex-start;gap:0}.library-control-label{display:none}}.library-heading{margin-bottom:16px}.library-heading-main{flex-direction:row;align-items:baseline;gap:14px;flex-wrap:wrap}.library-counts{font-size:13px;flex-wrap:nowrap;justify-content:flex-start}.library-counts>span{min-width:140px;white-space:nowrap;font-variant-numeric:tabular-nums}.library-counts .text-button{min-height:44px;font-size:13px;white-space:nowrap}.song-library-toolbar{grid-template-columns:minmax(180px,1fr) auto 184px 210px;align-items:center;gap:10px;margin:0 0 12px}.library-search{align-self:auto;min-height:44px}.library-search input{min-height:42px;font-size:16px}.library-control-label{display:none}.library-filter .app-select-trigger,.library-sort .app-select-trigger{min-height:44px;height:auto;font-size:14px;padding-right:34px;width:100%}.library-review-chip{min-height:44px;padding:8px 12px;background:#e7f2ed;border:1px solid transparent;border-radius:8px;white-space:nowrap}.library-review-chip.selected,.library-review-chip:hover{box-shadow:none;border-color:var(--green);background:#dcece4}.library-list-controls{min-height:32px;margin:0 0 8px}.library-pagination{min-height:52px;flex-wrap:wrap}.library-pagination-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}.library-page-size .app-select-trigger{min-height:44px;padding-right:30px}@container repertoire (max-width:900px){.song-library-toolbar{grid-template-columns:auto minmax(0,1fr) minmax(0,1fr)}.library-search{grid-column:1/-1}}@container repertoire (max-width:580px){.library-heading-main{width:auto}.library-heading-actions{width:100%}.song-library-toolbar{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}.library-review-chip{grid-column:1/-1;justify-content:center}.library-filter .app-select-trigger,.library-sort .app-select-trigger{font-size:16px}.library-pagination-tools{width:100%;justify-content:space-between;gap:4px}.library-page-size{display:flex}}.library-song-panel .details-panel-body{display:flex;flex-direction:column;gap:12px}.library-song-panel .panel-disclosure,.library-song-panel .song-editor-card,.library-song-panel .target-progress-section{margin:0;padding:12px;background:var(--canvas);border:0;border-radius:12px;min-width:0}.library-song-panel .song-practice-summary{margin:0 0 10px}.library-song-panel .details-notes,.library-song-panel .song-form .app-select-trigger,.library-song-panel .song-form input,.library-song-panel .song-tone-preset input,.library-song-panel .tempo-inputs .app-select-trigger,.library-song-panel .tempo-inputs input{background:var(--surface)}.library-song-panel .song-form .song-title-input{background:transparent;padding:6px 8px}.library-song-panel .song-edit-fields>label:nth-of-type(2)>input{padding:6px 8px}.library-song-panel .song-materials-card>.details-section{padding:0;margin:0}.library-song-panel .song-materials-card .details-section-heading{min-height:32px;margin:0;align-items:center}.library-song-panel .song-materials-card .details-section-heading .text-button{font-size:13px}.library-song-panel .target-progress-section{padding:12px}.library-song-panel .panel-disclosure{padding:0 12px}.library-song-panel .panel-disclosure-body{padding-bottom:12px}.library-song-panel .panel-disclosure>summary{min-height:48px}.library-song-panel .song-inline-form{background:var(--surface);border:1px solid var(--border)}.library-song-panel .song-archive-button{font-size:13px;min-height:44px;gap:6px;padding:4px 8px;color:var(--muted);margin-left:auto}.library-song-panel .song-archive-button:hover{color:var(--green);background:var(--canvas);border-radius:8px}.library-song-panel .saved-link-picker{margin:0}.library-song-panel .saved-link-picker>.text-button{min-height:44px;padding:4px 0;font-size:13px}.library-song-panel .saved-picker-content{padding:8px;margin:0;border:0;border-radius:8px;background:var(--surface)}.saved-picker-search-row{display:flex;align-items:center;gap:4px}.saved-picker-search{display:flex;align-items:center;gap:8px;flex:1;min-width:0;border:1px solid var(--border);border-radius:8px;padding:0 10px;background:var(--surface);color:var(--muted)}.saved-picker-search input{min-width:0;width:100%;min-height:44px;border:0;background:transparent;padding:6px 0;font-size:16px;color:var(--ink)}.saved-picker-search:focus-within{outline:2px solid var(--green);outline-offset:2px}.saved-picker-search input:focus-visible{outline:none}.library-song-panel .saved-picker-content>.link-input-hint{font-size:12px;margin:6px 0}.library-song-panel .saved-picker-content .saved-picker-results{max-height:320px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;margin:4px 0 0;padding:0;list-style:none}.library-song-panel .saved-picker-results>li{display:flex;align-items:center;gap:8px;padding:8px 0;border-bottom:1px solid var(--border);min-width:0}.library-song-panel .saved-picker-results>li:last-child{border-bottom:0}.library-song-panel .saved-picker-results>li>span{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}.library-song-panel .saved-picker-results a{color:var(--ink);font-size:14px;font-weight:550;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.library-song-panel .saved-picker-results a:hover{color:var(--green);text-decoration:underline}.library-song-panel .saved-picker-results small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.5;font-size:12px;color:var(--muted)}.library-song-panel .saved-picker-results .button{font-size:13px;min-height:44px;padding:6px 8px;flex-shrink:0;gap:4px}.library-song-panel .saved-picker-results .attached{border-color:transparent;background:transparent;color:var(--green);opacity:1}.song-history-days{display:flex;flex-direction:column}.song-history-day{border-bottom:1px solid var(--border)}.song-history-day:last-child{border-bottom:0}.song-history-day>summary{display:flex;align-items:center;gap:8px;list-style:none;cursor:pointer;min-height:52px;padding:8px 0}.song-history-day>summary::-webkit-details-marker{display:none}.song-history-day>summary>svg{margin-left:auto;flex-shrink:0;color:var(--muted)}.song-history-day[open]>summary>svg{transform:rotate(180deg)}.song-history-day-heading{display:flex;flex-direction:column;gap:2px;min-width:0}.song-history-day-heading time{font-size:14px;font-weight:550}.song-history-day-stats{font-size:12px;color:var(--muted)}.song-history-result{font-size:13px;color:var(--green)}.song-history-note-preview{font-size:13px;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;line-height:1.5}.song-history-entries{padding:0 0 8px 12px;margin:0;list-style:none}.song-history-entries>li{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;padding:6px 0}.song-history-entries>li>div:first-child{min-width:0;display:flex;flex-direction:column;gap:2px;font-size:13px}.song-history-entries small{font-size:12px;color:var(--muted);overflow-wrap:anywhere}.song-history-entries p{font-size:13px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;max-height:140px;overflow:auto}.song-history-actions{display:flex;gap:0;flex-shrink:0}.song-history-actions .icon-button{width:44px;min-height:44px}.song-history-pagination{display:flex;justify-content:flex-end;align-items:center;gap:8px;font-size:12px;font-variant-numeric:tabular-nums}@media(max-width:600px){.library-song-panel .saved-picker-results .button>span{display:none}.library-song-panel .saved-picker-results .button{width:44px;justify-content:center}.library-song-panel .song-edit-fields .song-form-columns{grid-template-columns:1fr}.library-song-panel .song-archive-button{font-size:12px}}.library-filter .app-select-value,.library-sort .app-select-value{white-space:normal;overflow-wrap:normal;line-height:1.35}.library-filter,.library-sort{align-self:stretch}.library-filter .app-select-trigger,.library-sort .app-select-trigger{flex:1}@container repertoire (max-width:580px){.library-filter .app-select-trigger,.library-sort .app-select-trigger{font-size:14px}}.library-row-status .app-select-value{white-space:normal;line-height:1.35}.library-song-panel .song-review-setting{display:grid;grid-template-columns:minmax(0,1fr);gap:4px;align-items:start}.library-song-panel .song-interval-help,.library-song-panel .song-interval-help[open]{width:100%;margin:0}.library-song-panel .song-interval-help summary{min-height:44px;align-content:center}.library-song-panel .song-interval-help .field-hint{margin:0 0 4px}.library-song-panel .song-materials-card .resource-list>li{gap:8px;padding:6px 0;border:0}.resource-links-detailed a{align-items:flex-start;gap:10px}.resource-links-detailed a>.resource-service-icon,.resource-links-detailed a>svg:first-child{margin-top:3px;flex-shrink:0}.resource-links-detailed .resource-link-text{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}.resource-link-name{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:14px;font-weight:500;line-height:1.45;overflow-wrap:anywhere}.resource-link-host{font-size:12px;color:var(--muted);line-height:1.4}.resource-menu{position:relative;flex-shrink:0;align-self:center}.resource-menu>summary{display:flex;align-items:center;justify-content:center;list-style:none;width:44px;min-height:44px;border-radius:8px;cursor:pointer;color:var(--muted)}.resource-menu>summary::-webkit-details-marker{display:none}.resource-menu>summary:hover,.resource-menu[open]>summary{background:var(--surface);color:var(--green)}.resource-menu-content{position:absolute;right:0;top:44px;z-index:12;width:190px;padding:4px;background:var(--surface);border:1px solid var(--border);border-radius:8px;box-shadow:0 6px 20px #20352b20}.resource-menu-content button{display:flex;align-items:center;gap:8px;text-align:left;width:100%;min-height:44px;padding:8px;font-size:14px;border-radius:6px}.resource-menu-content button:hover{background:var(--canvas)}.resource-menu-content .danger{color:var(--danger,#8f381e)}.resource-menu>summary:focus-visible{outline:2px solid var(--green);outline-offset:2px}.library-song-panel .song-materials-card .resource-undo{margin:4px 0;min-height:40px;font-size:12px;justify-content:space-between}.library-song-panel .song-materials-card .resource-form{margin:8px 0 0;background:var(--surface);border:0;padding:8px}.library-song-panel .resource-form-actions{align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.library-song-panel .resource-form-actions>.field-hint{font-size:12px;margin:0;flex:1}.library-song-panel.target-details-panel{overflow:clip}.progress-header{display:flex;align-items:center;flex-wrap:wrap;gap:12px 24px;margin-bottom:24px}.progress-header h1{margin-right:4px}.progress-period{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px}.progress-header .journal-shortcut{margin-left:auto;width:auto}.progress-view .stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:12px}.progress-view .stat-panel{padding:20px 22px 24px;min-height:148px;border-color:var(--border)}.progress-view .stat-panel>span{padding-right:0}.progress-view .stat-panel>strong{font-size:30px;line-height:1.25;margin:12px 0 8px;white-space:normal}.progress-view .stat-denominator{font-size:24px;font-weight:500;color:var(--muted)}.progress-view progress{position:absolute;bottom:12px;left:22px;width:calc(100% - 44px);height:3px;border:0;border-radius:4px;overflow:hidden;background:var(--border);accent-color:var(--green)}.progress-view progress::-webkit-progress-bar{background:var(--border)}.progress-view progress::-webkit-progress-value{background:var(--green)}.progress-view progress::-moz-progress-bar{background:var(--green)}.progress-definition{font-size:13px;color:var(--muted);margin-bottom:24px;max-width:80ch}.progress-view .chart-grid{grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);align-items:stretch;gap:16px;margin-bottom:12px}.progress-view .chart-grid .panel{padding:22px 24px}.progress-view .chart-grid h2{font-size:19px}.progress-view .chart-grid .section-heading{margin-bottom:14px}.rhythm-chart{position:relative;display:flex;gap:12px;height:190px;margin:30px 0 36px}.rhythm-scale{display:flex;flex-direction:column;justify-content:space-between;align-items:flex-end;width:30px;flex-shrink:0;font-size:12px;line-height:1;color:var(--muted);font-variant-numeric:tabular-nums}.rhythm-plot{position:relative;flex:1;min-width:0}.rhythm-grid{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:space-between;pointer-events:none}.rhythm-grid i{border-top:1px solid var(--border);width:100%}.rhythm-bars{gap:0}.rhythm-bars,.rhythm-day{display:flex;position:relative;height:100%}.rhythm-day{align-items:flex-end;justify-content:center;flex:1;min-width:0;padding:0 2px;border-radius:3px}.rhythm-day:focus-visible,.rhythm-day:hover{background:color-mix(in srgb,var(--green) 8%,transparent)}.rhythm-column{display:block;width:100%;background:var(--border);border-radius:3px 3px 0 0;pointer-events:none}.rhythm-day.practiced .rhythm-column{background:var(--green)}.rhythm-day.future{border-bottom:1px dashed var(--border)}.rhythm-day.today:after{content:"";position:absolute;width:4px;height:4px;border-radius:50%;bottom:-27px;background:var(--green)}.rhythm-day.today small{color:var(--green);font-weight:700}.rhythm-day.selected{background:color-mix(in srgb,var(--green) 12%,transparent);box-shadow:inset 0 0 0 1px var(--green)}.rhythm-day small{position:absolute;top:100%;padding-top:7px;font-size:12px;line-height:1;color:var(--muted)}.rhythm-tooltip{position:absolute;bottom:calc(100% + 8px);left:42px;max-width:calc(100% - 42px);border:1px solid var(--border);border-radius:8px;padding:7px 10px;font-size:13px;background:var(--surface);color:var(--ink);box-shadow:0 4px 12px color-mix(in srgb,var(--ink) 8%,transparent);pointer-events:none;z-index:2}.rhythm-legend{display:flex;flex-wrap:wrap;gap:8px 16px;font-size:12px;color:var(--muted)}.rhythm-legend span{display:flex;align-items:center;gap:6px}.rhythm-legend i{width:10px;height:6px;border-radius:2px;background:var(--green)}.rhythm-legend i.zero{background:var(--border);border:1px solid var(--muted)}.rhythm-legend i.future{background:none;border-bottom:1px dashed var(--muted);border-radius:0}.progress-view .chart-values{margin-top:10px}.progress-view .chart-values summary{font-size:13px}.progress-view .chart-value{border:0;border-bottom:1px solid var(--border);border-radius:0;padding:10px 0}.progress-view .chart-value strong{font-size:12px}.progress-view .balance-bar{height:18px;border-radius:5px;gap:2px;margin:28px 0 20px}.progress-view .balance-bar .fun{background:var(--violet)}.progress-view .balance-bar .review{background:var(--amber)}.progress-view .balance-bar .new{background:var(--green)}.progress-view .balance-row{display:grid;grid-template-columns:8px minmax(0,1fr) auto 3ch;gap:10px;padding:10px 0;font-size:14px}.balance-percent{text-align:right;font-size:12px;font-variant-numeric:tabular-nums;color:var(--muted)}.progress-view .balance-row strong{font-variant-numeric:tabular-nums;font-size:13px}.progress-context{display:grid;gap:12px;border-top:1px solid var(--border);margin-top:20px;padding-top:18px}.progress-context>span{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:4px 12px;font-size:12px;color:var(--muted)}.progress-context strong{font-weight:550;color:var(--ink);font-size:13px;font-variant-numeric:tabular-nums}.progress-view .actual-time-note{margin:0 0 20px;font-size:13px}.progress-view .reflection-panel{padding:18px 24px;margin:20px 0}.reflection-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.reflection-heading h2{font-size:19px}.reflection-reading{white-space:pre-wrap;overflow-wrap:anywhere;max-width:76ch;font-size:15px;line-height:1.75;margin-top:12px}.reflection-save{display:flex;align-items:center;justify-content:space-between;font-size:13px;color:var(--muted);min-height:32px}.progress-view .journal-panel{padding:24px}.progress-view .journal-heading{margin-bottom:16px;align-items:center}.progress-view .journal-heading h2{font-size:21px}.progress-view .journal-heading p{font-size:13px}.progress-view .journal-heading .search-field{width:min(360px,45%)}.progress-view .journal-controls{margin-bottom:16px;gap:10px}.progress-view .review-tabs{border:0;border-radius:9px;background:var(--canvas)}.progress-view .review-tabs button{min-height:44px}.progress-view .journal-days{gap:0;border-top:1px solid var(--border)}.progress-view .journal-day-card{border:0;border-bottom:1px solid var(--border);border-radius:0;overflow:visible}.progress-view .journal-day-card>summary{padding:16px 0;min-height:82px}.progress-view .journal-day-overview{grid-template-columns:120px minmax(0,1fr);gap:5px 20px}.progress-view .journal-day-overview time{font-size:14px}.progress-view .journal-day-preview{font-size:14px;font-weight:500}.progress-view .journal-day-metrics{font-size:13px;gap:4px 16px}.progress-view .journal-day-time{font-weight:550;color:var(--ink)}.progress-view .journal-result-flag{font-size:12px;color:var(--muted)}.progress-view .journal-day-content{background:var(--canvas);padding:0 20px 16px;border:0;border-radius:8px;margin-bottom:12px}.progress-view .journal-target-heading .category-tag{font-size:12px}.progress-view .journal-target-title{min-height:44px;font-size:15px}.progress-view .journal-target-facts{font-size:13px}.progress-view .journal-notes p{font-size:14px;max-width:80ch;color:var(--ink);margin-top:4px}.journal-song{margin-top:12px}.journal-materials{margin-top:10px;overflow-wrap:anywhere}.journal-date-selection{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 12px;margin-bottom:8px;border-radius:8px;background:var(--canvas);font-size:14px}.progress-view .journal-pagination{margin-top:20px}.progress-view .journal-filter.active .settings-select{outline:1px solid var(--green);border-radius:10px}@media(max-width:1200px){.progress-view .chart-grid{grid-template-columns:1fr}.progress-view .balance-panel .progress-context{grid-template-columns:1fr 1fr}.progress-view .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.progress-view .journal-heading{flex-direction:row}.progress-view .journal-heading .search-field{width:45%}}@media(max-width:700px){.progress-header{gap:8px 12px;margin-bottom:20px}.progress-header h1{flex-basis:100%;font-size:26px}.progress-header .journal-shortcut{padding:8px 10px;margin-left:0}.progress-period{gap:0 12px;flex:1}.progress-period .month-control>label{min-width:130px;font-size:15px}.progress-view .stat-panel{min-height:136px;padding:18px}.progress-view .stat-panel>strong{font-size:28px}.progress-view .chart-grid .panel{padding:20px 16px}.progress-view .chart-grid .section-heading{gap:6px}.rhythm-chart{height:160px;gap:8px}.rhythm-day{padding-inline:1px}.progress-view .balance-panel .progress-context{grid-template-columns:1fr}.progress-view .reflection-panel{padding:16px}.reflection-heading{flex-wrap:wrap}.reflection-heading .text-button{padding-inline:4px}.progress-view .journal-panel{padding:20px 16px}.progress-view .journal-heading{flex-direction:column;align-items:stretch;gap:12px}.progress-view .journal-controls>.review-tabs,.progress-view .journal-filter,.progress-view .journal-heading .search-field{width:100%}.progress-view .journal-day-overview{grid-template-columns:1fr;gap:8px}.progress-view .journal-day-overview time{grid-row:auto;display:flex;gap:8px;align-items:baseline;flex-wrap:wrap}.progress-view .journal-day-overview time small{margin:0}.progress-view .journal-day-preview{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.progress-view .journal-day-card>summary{padding:16px 0;gap:8px}.progress-view .journal-day-metrics{font-size:13px}.progress-view .journal-day-content{padding:0 12px 14px}.progress-view .balance-row{gap:8px}.progress-definition{font-size:13px;margin-bottom:20px}.progress-view .chart-values>div{grid-template-columns:1fr}}@media(max-width:420px){.progress-view .stats-grid{grid-template-columns:1fr}.progress-view .stat-panel{min-height:0;padding:16px 18px 24px}.progress-view .stat-panel>strong{margin:8px 0}.progress-view .balance-row{grid-template-columns:8px minmax(0,1fr) auto}.progress-view .balance-percent{grid-column:3}.progress-header .journal-shortcut{margin-left:0}.progress-period{flex-basis:100%}}@media(prefers-reduced-motion:reduce){.progress-view *{scroll-behavior:auto;transition:none}}.rhythm-day-picker{display:none}@media(max-width:700px){.rhythm-day-picker{display:flex;flex-direction:column;gap:6px;margin-top:16px;font-size:13px;color:var(--muted)}.rhythm-day-picker :is(select,.app-select-trigger){min-height:44px;max-width:100%;width:100%;font-size:16px;border:1px solid var(--border);border-radius:8px;padding:8px;background:var(--surface)}}.account-page,.preferences-page{width:100%;max-width:760px;min-width:0}.preferences-surface{padding:0 24px}.preference-section{padding:24px 0}.preference-section+.preference-section{border-top:1px solid var(--border)}.preference-section h2{font-size:18px;margin-bottom:8px}.preference-section p{font-size:14px;max-width:62ch}.preference-section .weekday-select{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin-top:20px}.preference-section .weekday-select button{border:0;box-shadow:none;border-radius:9px;min-height:56px;background:var(--canvas);color:var(--muted);font-size:14px;padding:8px 0;display:flex;flex-direction:column;align-items:center;gap:2px}.preference-section .weekday-select button:hover{background:#e9ede8}.preference-section .weekday-select button.selected{background:#e3eee4;color:#245e4c;box-shadow:inset 0 0 0 1px #abc8ad}.weekday-state-icon{height:16px;display:flex;align-items:center;justify-content:center}.preference-row{display:grid;grid-template-columns:minmax(140px,1fr) minmax(0,300px);align-items:center;gap:16px}.preference-row>label{font-size:15px;font-weight:550}.preference-row .app-select-trigger{width:100%;min-width:0;max-width:100%;min-height:44px;padding:9px 32px 9px 12px;border:1px solid var(--border);border-radius:9px;background:var(--surface);font-size:15px}.preference-section #timezone-help{margin-top:12px}.profile-menu{position:relative;min-width:0}.profile-menu summary{list-style:none;display:flex;align-items:center;gap:10px;min-height:48px;cursor:pointer;border-radius:9px}.profile-menu summary::-webkit-details-marker{display:none}.profile-menu summary strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;min-width:0;flex:1}.profile-menu summary.active,.profile-menu summary:hover{background:#ffffff0c}.profile-desktop{margin-top:12px;padding-top:12px;border-top:1px solid #49615a}.profile-desktop summary{padding:4px}.profile-menu .avatar{width:34px;height:34px;flex-shrink:0}.profile-popover{position:absolute;z-index:45;bottom:calc(100% + 8px);left:0;width:260px;max-width:calc(100vw - 28px);padding:8px;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:var(--ink);box-shadow:0 8px 28px #142b251a}.profile-popover p{font-size:13px;color:var(--muted);overflow-wrap:anywhere;padding:8px 10px 12px}.profile-popover a{display:flex;align-items:center;gap:10px;min-height:44px;border-radius:7px;padding:10px;font-size:14px}.profile-popover a:hover,.profile-popover a[aria-current]{background:#edf3ef;color:var(--green)}.profile-popover a:last-child{margin-top:6px;border-top:1px solid var(--border);border-radius:0 0 7px 7px}.profile-popover [aria-disabled=true]{opacity:.5;pointer-events:none}.profile-mobile{display:none}.provider-list{list-style:none;padding:0;margin:12px 0 0}.provider-list li{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:60px;padding:8px 0;font-size:14px}.provider-list li+li{border-top:1px solid var(--border)}.provider-status{font-size:13px;color:var(--muted)}.account-page .account-auth-block{margin-top:20px;padding-top:20px}.account-page .password-disclosure{justify-content:space-between;width:100%;color:var(--ink);font-weight:650}.account-page .account-auth-block:has(.password-disclosure){padding-top:12px}.account-password-form{margin-top:12px;max-width:440px}.password-visibility{align-self:flex-start}.account-page .account-danger-zone{margin:28px -24px -24px;padding:22px 24px;background:#fff9f6;border-radius:0 0 var(--radius) var(--radius);border-top:1px solid #e5ccc2}.account-danger-zone h3{color:#8b3522}.account-danger-zone .text-button{margin-top:10px}.account-page .account-email{font-size:16px;font-weight:550}@media(max-width:960px){.profile-mobile{display:block;flex-shrink:0}.profile-mobile summary{width:44px;min-height:44px;justify-content:center}.profile-mobile .avatar{width:30px;height:30px;font-size:13px}.profile-mobile .profile-popover{bottom:auto;top:calc(100% + 8px);left:auto;right:0}.topbar .mobile-settings-link{display:none}.topbar .autosave-indicator{justify-content:flex-start}.profile-mobile summary:hover{background:#edf3ef}}@media(max-width:600px){.preferences-surface{padding:0 18px}.preference-section{padding:20px 0}.preference-row{grid-template-columns:1fr;gap:10px}.preference-row .app-select-trigger{font-size:16px}.preference-section .weekday-select{gap:5px}.preference-section .weekday-select button{min-height:52px;font-size:13px}.account-page .account-danger-zone{margin:24px -18px -18px;padding:20px 18px}.provider-list li{flex-wrap:wrap}.account-page .auth-form input{font-size:16px}}@media(prefers-reduced-motion:reduce){.account-page *,.preferences-page *,.profile-menu *{animation:none!important;transition:none!important}}.profile-desktop .profile-popover{width:100%}.profile-desktop .profile-popover a{line-height:1.5}.account-page .account-auth-panel{padding:24px}@media(max-width:600px){.account-page .account-auth-panel{padding:18px}.preference-section .weekday-select{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.preference-section .weekday-select button{min-height:48px}}.preferences-page{max-width:1120px}.settings-release{margin:16px 0 0;font-size:12px;line-height:1.5;text-align:right;text-wrap:balance}.preferences-surface{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:24px;align-items:start;padding:0}.preferences-surface>.preference-block{padding:24px;min-width:0;margin:0;border:1px solid var(--border)}.preferences-surface>#practice-categories{grid-row:span 2}.preference-region{display:grid;gap:20px}.preference-region h2{margin-bottom:0}.preference-region .preference-row{grid-template-columns:1fr;gap:8px}.preference-region .app-select-trigger{max-width:340px}.preference-region #timezone-help{font-size:13px}@media(max-width:1000px){.preferences-surface{grid-template-columns:1fr;max-width:760px}.preferences-surface>#practice-categories{grid-row:auto}.preference-region .preference-row{grid-template-columns:minmax(0,1fr) minmax(0,300px)}}@media(max-width:600px){.preferences-surface{gap:16px}.preferences-surface>.preference-block{padding:20px}.preference-region .preference-row{grid-template-columns:1fr}.preference-region .app-select-trigger{max-width:none}}