.week-share{margin-top:24px;padding:28px}.week-share .section-heading{gap:16px;flex-wrap:wrap}.week-share label{display:block;font-size:13px;font-weight:600}.week-share textarea{display:block;width:100%;min-height:300px;resize:vertical;margin-top:10px;padding:20px;font:14px/1.7 inherit;white-space:pre-wrap;border:1px solid var(--line,#d9e1ec);border-radius:12px;background:transparent;color:inherit}.week-share-tools{display:flex;align-items:end;gap:8px;flex-wrap:wrap;margin:18px 0}.week-share-tools label{margin-right:auto}.week-share-tools select{display:block;min-width:140px;margin-top:6px}.week-help{font-size:12px;color:var(--muted,#708099);line-height:1.6}.profile-editor{display:flex;align-items:center;gap:20px;margin:24px 0}.profile-photo{width:88px;height:88px;flex-shrink:0;border-radius:50%;background:#18385f;color:white;display:grid;place-items:center;font-size:24px;overflow:hidden}.profile-photo img,.profile img{width:100%;height:100%;object-fit:cover}.profile{overflow:hidden;padding:0!important}.profile-editor input{max-width:100%;font-size:12px;margin:8px 0}.profile-editor>div:last-child{min-width:0}#profileForm>label{display:grid;gap:8px}#profileRole{color:var(--muted,#708099);font-size:13px}#weekCopyStatus{color:#218550;font-size:13px;min-height:20px}@media(max-width:600px){.week-share{padding:20px}.week-share .primary{width:100%;min-height:48px}.week-share textarea{padding:14px}.profile-editor{align-items:start;gap:12px}.profile-photo{width:64px;height:64px}}
.week-share-tools select,#profileName{padding:12px 14px;border:1px solid var(--line,#cbd5e1);border-radius:10px;background:var(--surface,#fff);color:inherit;font:inherit;min-height:44px}#profileName{width:100%}.week-share textarea{font-family:inherit;font-size:14px;line-height:1.7}.profile-editor input[type=file]::file-selector-button{padding:10px 12px;border:1px solid #7591b455;border-radius:8px;background:#23446c;color:#fff;margin-right:10px;cursor:pointer}html[data-theme=dark] .week-share-tools select,html[data-theme=dark] #profileName,body[data-theme=dark] .week-share-tools select,body[data-theme=dark] #profileName{background:#111f32;color:#e7eef9;border-color:#35465d}
/* Controles de período e horário com a mesma hierarquia visual. */
.week-share-tools{gap:10px;align-items:end}.week-share-tools .share-period-label{min-width:230px;margin-right:auto}.select-shell{display:flex;position:relative;align-items:center;margin-top:8px;border:1px solid var(--line);border-radius:12px;background:var(--white);box-shadow:0 2px 6px #10213905;transition:border-color .15s,box-shadow .15s}.select-shell>.ui-icon{position:absolute;left:15px;width:20px;height:20px;color:var(--blue);pointer-events:none}.week-share-tools .select-shell select{appearance:none;-webkit-appearance:none;width:100%;margin:0;min-height:52px;padding:12px 44px 12px 46px;border:0;border-radius:12px;background:transparent!important;color:var(--ink)!important;font-size:15px;font-weight:600;cursor:pointer;box-shadow:none}.select-chevron{position:absolute;right:17px;font-size:22px;pointer-events:none;color:var(--muted)}.select-shell:focus-within,.time-shell:focus-within{border-color:var(--blue);box-shadow:0 0 0 3px #5187f422}.week-share-tools select option{background:var(--white);color:var(--ink)}.week-share-tools>.secondary{min-height:52px;border-radius:12px}.time-shell{position:relative;display:flex;align-items:center;min-width:0;border:1px solid var(--line);border-radius:12px;background:var(--white);transition:border-color .15s,box-shadow .15s}#eventForm .form-grid .time-shell input{height:54px;min-width:0;padding:12px 52px 12px 16px;border:0;border-radius:12px;background:transparent;box-shadow:none;font-size:20px;font-weight:650;font-variant-numeric:tabular-nums;color:var(--ink);letter-spacing:.5px}#eventForm .time-shell input::-webkit-calendar-picker-indicator{display:none}.time-picker-button{position:absolute;right:4px;top:4px;width:44px;height:44px;display:grid;place-items:center;border-radius:9px;background:var(--bg);color:var(--blue)}.time-picker-button .ui-icon{width:20px;height:20px}@media(hover:hover) and (pointer:fine){.time-picker-button:hover{background:#5187f422}}.time-duration{grid-column:1/-1;margin:-6px 0 0;font-size:12px;color:var(--muted);min-height:18px}.time-duration.invalid{color:#db625f}#toast{border:1px solid #82a9dd44;border-radius:14px;padding:14px 20px;font-size:14px;font-weight:600;background:#173b2e;box-shadow:0 10px 35px #0003;z-index:1000}@media(max-width:600px){.week-share-tools .share-period-label{width:100%;min-width:0}.week-share-tools>.secondary{flex:1}.time-shell input{font-size:18px!important}#toast{bottom:calc(92px + env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 28px);text-align:center}}
/* Perfil: estrutura própria, sem herdar o espaçamento dos formulários de atividade. */
#profileDialog{width:min(520px,calc(100vw - 32px));padding:0;border-radius:20px;color:var(--ink);background:var(--white);border:1px solid var(--line)}#profileForm{margin:0}#profileDialog .profile-heading{padding:28px 28px 22px;margin:0;align-items:flex-start;gap:16px;border-bottom:1px solid var(--line)}#profileTitle{font-size:26px;line-height:1.25;letter-spacing:-.6px}#profileDescription{font-size:14px;line-height:1.5;color:var(--muted);margin:8px 0 0;max-width:35ch}#profileDialog .profile-heading>button{flex:0 0 44px;width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:var(--bg);color:var(--muted)}#profileDialog .profile-heading>button .ui-icon{width:19px;height:19px}.profile-body{padding:24px 28px 0}#profileDialog .profile-editor{display:flex;align-items:center;gap:20px;padding:20px;margin:0 0 26px;border:1px solid var(--line);border-radius:14px;background:var(--bg)}#profileDialog .profile-photo{width:80px;height:80px;flex-shrink:0;font-size:26px;font-weight:600;background:var(--navy);color:white}.profile-photo-controls{flex:1;min-width:0}#profilePhotoTitle{font-size:15px;line-height:1.5;margin:0;font-weight:650}#profilePhotoHint{font-size:12px;line-height:1.5;color:var(--muted);margin:4px 0 12px}.profile-photo-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}#profileDialog .profile-photo-actions button{min-height:44px;padding:9px 12px;font-size:13px;line-height:1.3;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;gap:8px}#profileDialog .profile-photo-actions .secondary{border:1px solid var(--line);background:var(--white);color:var(--ink)}.profile-photo-actions .ui-icon{width:17px;height:17px}#removeProfilePhoto{color:var(--muted)}#removeProfilePhoto:not(:disabled):hover{color:#c14444;background:#c1444410}#profileDialog .profile-name-field label,.profile-role-field>span{display:block;font-size:14px;line-height:1.5;font-weight:600;margin:0 0 8px}#profileDialog #profileName{height:50px;padding:12px 14px;background:var(--white);border:1px solid var(--line);border-radius:10px;font-size:16px;line-height:1.5;color:var(--ink)}#profileNameHint{font-size:12px;line-height:1.6;color:var(--muted);margin:8px 0 0}.profile-role-field{margin-top:22px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:18px;border-top:1px solid var(--line)}.profile-role-field>span{margin:0;color:var(--muted);font-size:13px;font-weight:400}#profileDialog #profileRole{margin:0;font-size:13px;font-weight:600;color:var(--ink);padding:6px 10px;border-radius:7px;background:var(--bg)}#profileError{margin:12px 0;line-height:1.5}#profileError:empty{display:none}#profileDialog .profile-footer{display:flex;justify-content:flex-end;gap:12px;margin:0;padding:24px 28px 28px;border:0}#profileDialog .profile-footer button{min-height:46px;padding:12px 18px;border-radius:10px;font-size:14px;font-weight:600}@media(max-width:600px){#profileDialog{width:calc(100vw - 24px);border-radius:18px}#profileDialog .profile-heading{padding:22px 20px 18px}#profileTitle{font-size:24px}.profile-body{padding:20px 20px 0}#profileDialog .profile-editor{padding:16px;gap:14px;align-items:flex-start}#profileDialog .profile-photo{width:64px;height:64px;font-size:22px}#profilePhotoHint{max-width:20ch}.profile-photo-actions{gap:8px}#profileDialog .profile-photo-actions button{padding:9px 10px}#profileDialog .profile-footer{padding:22px 20px}.profile-footer button{flex:1}.profile-role-field{gap:10px}}
#profileDialog .profile-footer{position:sticky;bottom:0;z-index:2;background:var(--white);border-top:1px solid var(--line);padding-top:18px;padding-bottom:18px}#profileDialog .profile-editor{margin-bottom:20px}#profileDialog .profile-heading{padding-top:24px;padding-bottom:18px}.profile-body{padding-top:20px}.profile-role-field{margin-bottom:18px}
