.store-admin-panel { overflow: hidden; }
.store-admin-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.store-admin-heading h2 { margin: 2px 0 5px; }
.store-admin-heading p { margin: 0; color: var(--text-muted, #6b7b86); }
.store-admin-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.store-admin-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 17px; border: 1px solid rgba(15,74,99,.12); border-radius: 18px; background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(236,248,250,.8)); }
.store-admin-card.is-inactive { filter: saturate(.45); opacity: .7; }
.store-admin-marker { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; color: #087a83; background: #dff7f4; font-size: 20px; }
.store-admin-copy { display: grid; gap: 3px; min-width: 0; }
.store-admin-copy small { color: #18828d; font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.store-admin-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.store-admin-copy span { color: #70808a; font-size: 12px; }
.store-admin-edit { border: 0; border-radius: 11px; padding: 9px 11px; color: #145469; background: rgba(15,112,135,.1); font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.store-dialog-card { width: min(820px, calc(100vw - 30px)); }
.store-dialog-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.store-dialog-grid label { display: grid; gap: 7px; }
.store-dialog-grid label > span:first-child { font-size: 11px; font-weight: 800; color: #536b79; }
.store-dialog-grid input { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #cad8de; border-radius: 11px; font: inherit; }
.store-address-field { grid-column: 1 / -1; }
.job-type-admin-panel { overflow: hidden; border-color: rgba(79,70,229,.18); background: linear-gradient(145deg, #fff, #f6f5ff); }
.job-type-admin-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 12px; }
.job-type-card { display: grid; grid-template-columns: 42px minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 15px; border: 1px solid #dfe1f2; border-radius: 16px; background: #fff; }
.job-type-card.is-inactive { opacity: .62; filter: saturate(.45); }
.job-type-marker { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; color: #fff; font-size: 12px; font-weight: 900; }
.job-type-copy { display: grid; min-width: 0; gap: 3px; }
.job-type-copy small { color: #6f7591; font-size: 9px; font-weight: 900; letter-spacing: .08em; }
.job-type-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.job-type-copy span { color: #667085; font-size: 11px; }
.job-type-edit { padding: 8px 10px; border: 0; border-radius: 10px; color: #3730a3; background: #eef2ff; font: inherit; font-size: 11px; font-weight: 850; cursor: pointer; }
.job-type-dialog-card { width: min(780px,calc(100vw - 30px)); }
.job-type-dialog-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
.job-type-dialog-grid > label { display: grid; gap: 7px; }
.job-type-dialog-grid > label > span, .job-type-member-search > span { color: #536b79; font-size: 11px; font-weight: 800; }
.job-type-dialog-grid input, .job-type-dialog-grid textarea, .job-type-member-search input { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #cad8de; border-radius: 11px; background: #fff; font: inherit; }
.job-type-dialog-grid input[type="color"] { padding: 5px; cursor: pointer; }
.job-type-description { grid-column: 1 / -1; }
.job-type-description textarea { resize: vertical; }
.job-type-members-fieldset { display: grid; gap: 10px; }
.job-type-member-search { display: grid; gap: 6px; }
.job-type-members { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); max-height: 300px; gap: 7px; overflow-y: auto; padding: 2px; }
.job-type-member { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 9px; padding: 10px; border: 1px solid #e1e5ef; border-radius: 11px; background: #fafbfe; cursor: pointer; }
.job-type-member:has(input:checked) { border-color: #9ea8e9; background: #eef0ff; }
.job-type-member input { width: 17px; height: 17px; accent-color: #4f46e5; }
.job-type-member span { display: grid; min-width: 0; gap: 2px; }
.job-type-member strong, .job-type-member small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.job-type-member strong { font-size: 12px; }
.job-type-member small { color: #758096; font-size: 10px; }
.job-type-member.is-required { cursor: default; }
.user-store-choices { display: grid; grid-template-columns: repeat(auto-fit,minmax(210px,1fr)); gap: 10px; margin-top: 12px; }
.user-store-choice { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid rgba(15,74,99,.14); border-radius: 13px; background: #f7fbfc; }
.user-store-choice input { accent-color: #128b93; }
.user-store-choice span { display: grid; gap: 2px; }
.user-store-choice strong { font-size: 12px; }
.user-store-choice small { color: #778892; font-size: 10px; }
.user-store-default { display: grid; gap: 7px; max-width: 360px; margin-top: 14px; }
.user-store-default select { min-height: 42px; border: 1px solid #cad8de; border-radius: 11px; padding: 8px 10px; background: #fff; font: inherit; }
.user-admin-store-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.user-admin-store-chips span { border-radius: 999px; padding: 4px 8px; color: #096c75; background: #e3f7f4; font-size: 9px; font-weight: 850; }
.vat-admin-panel { overflow: hidden; border-color: rgba(48,63,130,.2); background: linear-gradient(145deg, #fff, #f3f5ff); }
.sav-alert-admin-panel { overflow: hidden; border-color: rgba(217,119,6,.22); background: linear-gradient(145deg,#fff,#fff8ec); }
.sav-alert-store-badge { padding: 8px 11px; border: 1px solid #fed7aa; border-radius: 999px; color: #9a4d08; background: #fff7ed; font-size: 10px; font-weight: 900; white-space: nowrap; }
.sav-days-control { grid-template-columns: minmax(0,1fr) 66px; border-color: #f2c58f; }
.sav-days-control b { background: #c56a05; font-size: 11px; }
.sav-alert-preview { border-color: #f3dfc2; }
.sav-alert-preview strong { color: #9a4d08; }
.vat-admin-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.vat-admin-heading h2 { margin: 2px 0 5px; }
.vat-admin-heading p { margin: 0; color: var(--text-muted, #6b7b86); }
.vat-store-badge { padding: 8px 11px; border: 1px solid #c7d2fe; border-radius: 999px; color: #303f82; background: #eef2ff; font-size: 10px; font-weight: 900; white-space: nowrap; }
.vat-admin-form { display: grid; grid-template-columns: minmax(180px, .55fr) minmax(280px, 1fr) auto; align-items: end; gap: 14px; }
.vat-admin-form > label, .vat-admin-preview { display: grid; gap: 6px; }
.vat-admin-form > label > span, .vat-admin-preview > span { color: #536b79; font-size: 10px; font-weight: 850; }
.vat-rate-control { display: grid; grid-template-columns: minmax(0, 1fr) 42px; min-height: 48px; overflow: hidden; border: 1px solid #bcc8de; border-radius: 12px; background: #fff; }
.vat-rate-control input { width: 100%; min-width: 0; padding: 9px 12px; border: 0; color: #1e293b; background: transparent; font: inherit; font-size: 20px; font-weight: 900; }
.vat-rate-control b { display: grid; place-items: center; color: #fff; background: #303f82; }
.vat-admin-preview { min-height: 48px; justify-content: center; padding: 8px 13px; border: 1px solid #dbe3f2; border-radius: 12px; background: #fff; }
.vat-admin-preview strong { color: #243574; font-size: 14px; }
.vat-admin-preview small { color: #64748b; font-size: 10px; }
.vat-admin-form button { min-height: 48px; white-space: nowrap; }
@media (max-width: 900px) { .vat-admin-form { grid-template-columns: 1fr 1fr; } .vat-admin-form button { grid-column: 1 / -1; } }
@media (max-width: 720px) { .store-admin-heading { flex-direction: column; } .store-dialog-grid, .job-type-dialog-grid, .job-type-members { grid-template-columns: 1fr; } .store-address-field, .job-type-description { grid-column: auto; } }
@media (max-width: 620px) { .vat-admin-heading { flex-direction: column; } .vat-admin-form { grid-template-columns: 1fr; } .vat-admin-form button { grid-column: auto; } }

.task-template-admin-panel { overflow: hidden; border-color: rgba(63,81,181,.18); background: linear-gradient(145deg,#fff,#f6f8ff); }
.task-template-admin-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(300px,1fr)); gap: 12px; }
.task-template-card { display: grid; grid-template-columns: 42px minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 15px; border: 1px solid #dfe3f2; border-radius: 16px; background: #fff; }
.task-template-card.is-inactive { opacity: .62; filter: saturate(.45); }
.task-template-marker { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; color: #fff; background: #3f51b5; font-size: 17px; font-weight: 900; }
.task-template-card.is-important .task-template-marker { background: #d97706; }
.task-template-card.is-urgent .task-template-marker { background: #dc2626; }
.task-template-copy { display: grid; min-width: 0; gap: 3px; }
.task-template-copy small { color: #687191; font-size: 9px; font-weight: 900; letter-spacing: .07em; }
.task-template-copy strong { overflow: hidden; color: #17233b; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.task-template-copy span { overflow: hidden; color: #667085; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.task-template-copy .task-template-audience { color: #3f51b5; font-weight: 750; }
.task-template-edit { padding: 8px 10px; border: 0; border-radius: 10px; color: #303f82; background: #edf1ff; font: inherit; font-size: 11px; font-weight: 850; cursor: pointer; }
.task-template-dialog-card { width: min(900px,calc(100vw - 30px)); }
.task-template-dialog-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px; }
.task-template-dialog-grid > label { display: grid; align-content: start; gap: 7px; }
.task-template-dialog-grid > label > span { color: #536b79; font-size: 11px; font-weight: 800; }
.task-template-dialog-grid input, .task-template-dialog-grid textarea, .task-template-dialog-grid select { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #cad8de; border-radius: 11px; background: #fff; font: inherit; }
.task-template-dialog-grid textarea { resize: vertical; }
.task-template-title, .task-template-details { grid-column: span 2; }
.task-weekdays-fieldset, .task-recipients-fieldset { display: grid; gap: 11px; }
.task-weekday-grid { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 7px; }
.task-weekday-grid label { cursor: pointer; }
.task-weekday-grid input { position: absolute; opacity: 0; pointer-events: none; }
.task-weekday-grid span { display: grid; min-height: 38px; place-items: center; border: 1px solid #d8ddea; border-radius: 9px; color: #667085; background: #f9fafc; font-size: 10px; font-weight: 850; }
.task-weekday-grid label:has(input:checked) span { border-color: #6574ca; color: #303f82; background: #edf1ff; }
.task-assign-all { max-width: 420px; }
.task-recipient-columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.task-recipient-columns > section { min-width: 0; padding: 12px; border: 1px solid #e1e5ef; border-radius: 12px; background: #fafbfe; }
.task-recipient-columns h3 { margin: 0 0 8px; color: #475467; font-size: 11px; }
.task-recipient-list { display: grid; max-height: 220px; gap: 6px; overflow-y: auto; color: #7a8494; font-size: 11px; }
.task-recipient-choice { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 8px; padding: 9px; border: 1px solid #e1e5ef; border-radius: 9px; background: #fff; cursor: pointer; }
.task-recipient-choice:has(input:checked) { border-color: #9ea8e9; background: #eef0ff; }
.task-recipient-choice input { width: 16px; height: 16px; accent-color: #4f46e5; }
.task-recipient-choice span { display: grid; min-width: 0; gap: 2px; }
.task-recipient-choice strong, .task-recipient-choice small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.task-recipient-choice strong { color: #243047; font-size: 11px; }
.task-recipient-choice small { color: #758096; font-size: 9px; }
@media (max-width: 800px) { .task-template-dialog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 620px) { .task-template-dialog-grid, .task-recipient-columns { grid-template-columns: 1fr; } .task-template-title, .task-template-details { grid-column: auto; } .task-weekday-grid { grid-template-columns: repeat(4,minmax(0,1fr)); } .task-template-card { grid-template-columns: 42px minmax(0,1fr); } .task-template-edit { grid-column: 1 / -1; } }
