* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #F4F3F1;
}
button { font-family: inherit; }
::placeholder { color: #ADAEBC; }

/* ---------- animations ---------- */
@keyframes overlayIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes cardIn { from { opacity: 0; transform: translateY(16px) scale(0.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes cardInSm { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px) scale(0.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes loginRise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes rowFade { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
@keyframes sectionIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- layout ---------- */
.min-h-screen { min-height: 100vh; }

.login-screen {
  min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 36px; background: radial-gradient(1200px 700px at 20% -10%, #FFFFFF 0%, #F1EEEA 55%, #E9E5E0 100%);
  padding: 24px; position: relative; overflow: hidden;
}
.login-blob-a { position: absolute; top: -120px; right: -80px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(237,29,36,0.10), transparent 70%); }
.login-blob-b { position: absolute; bottom: -140px; left: -100px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(43,45,51,0.06), transparent 70%); }
.login-logo-wrap { display: flex; flex-direction: column; align-items: center; gap: 10px; animation: loginRise 0.6s cubic-bezier(0.16,1,0.3,1) both; }
.login-card {
  width: 410px; max-width: 100%; background: rgba(255,255,255,0.85); backdrop-filter: blur(12px);
  border-radius: 20px; padding: 40px; box-shadow: 0 30px 70px -20px rgba(30,30,35,0.28), 0 0 0 1px rgba(0,0,0,0.04);
  display: flex; flex-direction: column; gap: 22px; animation: loginRise 0.6s cubic-bezier(0.16,1,0.3,1) 0.08s both;
}
.login-field { display: flex; flex-direction: column; gap: 7px; }
.login-field-label { font-size: 12px; font-weight: 600; color: #6B6E76; text-transform: uppercase; letter-spacing: 0.04em; }
.login-input-wrap { position: relative; display: flex; align-items: center; }
.login-input-icon { position: absolute; left: 14px; color: #ADAEBC; display: flex; }
.login-input {
  width: 100%; padding: 12px 14px 12px 42px; border-radius: 11px; border: 1.5px solid #E7E5E1;
  font-size: 14.5px; color: #26282D; background: #FBFAF9; outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.login-error { font-size: 13px; color: #B91C1C; background: #FEF2F2; border-radius: 9px; padding: 9px 12px; }
.login-footer { font-size: 13px; font-weight: 500; letter-spacing: 0.06em; color: #A9AAB1; text-transform: uppercase; animation: loginRise 0.6s cubic-bezier(0.16,1,0.3,1) 0.16s both; }
.login-footer .accent { color: #ED1D24; font-weight: 600; }

.shell { display: flex; min-height: 100vh; }

.sidebar { width: 250px; flex-shrink: 0; background: #FFFFFF; border-right: 1px solid #ECEAE6; display: flex; flex-direction: column; padding: 22px 16px; }
.sidebar-logo { padding: 6px 8px 30px; cursor: pointer; }
.sidebar-logo img { height: 34px; width: auto; display: block; }
.sidebar-label { font-size: 10.5px; font-weight: 700; color: #B7B8BF; text-transform: uppercase; letter-spacing: 0.08em; padding: 0 10px 10px; }
.sidebar-nav { display: flex; flex-direction: column; gap: 5px; }
.navbtn {
  display: flex; align-items: center; gap: 12px; padding: 11px 13px; border-radius: 11px; border: none;
  background: transparent; color: #5B5D64; font-size: 14.5px; font-weight: 600; cursor: pointer; text-align: left;
  transition: background 0.18s, color 0.18s, transform 0.18s; width: 100%;
}
.navbtn:hover { transform: translateX(3px); }
.navbtn.active { background: #FEF2F2; color: #ED1D24; }
.sidebar-footer { margin-top: auto; padding: 14px 10px 4px; font-size: 11.5px; color: #B7B8BF; }

.main-col { flex: 1; display: flex; flex-direction: column; min-width: 0; }

.topbar { height: 72px; flex-shrink: 0; background: #FFFFFF; border-bottom: 1px solid #ECEAE6; display: flex; align-items: center; justify-content: flex-end; padding: 0 32px; gap: 16px; }
.topbar-user { display: flex; align-items: center; gap: 11px; }
.topbar-avatar { width: 36px; height: 36px; border-radius: 50%; background: #ED1D24; display: flex; align-items: center; justify-content: center; color: #fff; }
.topbar-name { font-size: 13.5px; color: #26282D; font-weight: 700; line-height: 1.2; }
.topbar-role { font-size: 11.5px; color: #9A9CA3; line-height: 1.2; }

.content { flex: 1; padding: 32px 36px 60px; overflow: auto; }

.sec-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 22px; animation: sectionIn 0.4s cubic-bezier(0.16,1,0.3,1) both; }
.sec-head h1 { font-size: 26px; font-weight: 800; color: #22242A; margin: 0; letter-spacing: -0.02em; }
.sec-count { font-size: 14px; color: #9A9CA3; font-weight: 500; }

.sec-tools { position: relative; z-index: 20; display: flex; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; animation: sectionIn 0.4s cubic-bezier(0.16,1,0.3,1) 0.05s both; }

.sec-card { position: relative; z-index: 1; background: #fff; border-radius: 14px; border: 1px solid #ECEAE6; overflow: hidden; overflow-x: auto; box-shadow: 0 1px 2px rgba(0,0,0,0.03); animation: sectionIn 0.44s cubic-bezier(0.16,1,0.3,1) 0.1s both; }

/* ---------- buttons ---------- */
.btn { border: none; cursor: pointer; font-weight: 700; transition: transform 0.15s, background 0.15s, box-shadow 0.15s; }
.btn:active { transform: translateY(0); }
.btn-primary { display: inline-flex; align-items: center; gap: 7px; background: #ED1D24; color: #fff; border-radius: 9px; padding: 10px 18px; font-size: 13.5px; box-shadow: 0 8px 18px -8px rgba(237,29,36,0.5); }
.btn-primary:hover { background: #D91820; transform: translateY(-1px); }
.btn-dark { background: #2B2D33; color: #fff; border-radius: 9px; padding: 10px 20px; font-size: 13.5px; }
.btn-dark:hover { background: #3A3C41; }
.btn-danger { background: #DC2626; color: #fff; border-radius: 9px; padding: 10px 18px; font-size: 13.5px; }
.btn-danger:hover { background: #B91C1C; }
.btn-ghost { background: #fff; color: #3A3C41; border: 1.5px solid #E4E2DE; border-radius: 9px; padding: 10px 18px; font-size: 13.5px; }
.btn-ghost:hover { background: #FAF9F7; }
.btn-ghost:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-ghost:disabled:hover { background: #fff; }
.btn-logout { display: inline-flex; align-items: center; gap: 8px; background: #ED1D24; color: #fff; border-radius: 10px; padding: 9px 16px; font-size: 13.5px; }
.btn-logout:hover { background: #D91820; transform: translateY(-1px); }

.btn-icon { width: 32px; height: 32px; border-radius: 8px; border: 1px solid #ECEAE6; background: #fff; color: #6B6E76; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.15s; }
.btn-icon:hover { background: #F4F3F1; color: #26282D; transform: translateY(-1px); }
.btn-icon-edit:hover { background: #EFF4FF; color: #2563EB; border-color: #D6E2FF; }
.btn-icon-delete { border-color: #FEE2E2; background: #FEF2F2; color: #DC2626; }
.btn-icon-delete:hover { background: #FEE2E2; }
.btn-history { display: flex; align-items: center; gap: 7px; height: 32px; padding: 0 13px; border-radius: 8px; border: 1px solid #ECEAE6; background: #fff; color: #6B6E76; font-size: 12.5px; font-weight: 600; cursor: pointer; transition: all 0.15s; }
.btn-history:hover { background: #F4F3F1; color: #26282D; transform: translateY(-1px); }
.btn-invoice { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: #3A3C41; background: #F4F3F1; padding: 6px 11px; border-radius: 7px; border: 1px solid #EAE7E2; cursor: pointer; font-weight: 600; max-width: 180px; transition: all 0.15s; }
.btn-invoice:hover { background: #EDEAE5; color: #ED1D24; border-color: #E4C9C9; }
.btn-invoice span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.btn-modal-close { margin-left: auto; width: 32px; height: 32px; border-radius: 9px; border: none; background: rgba(0,0,0,0.18); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.15s; }
.btn-modal-close:hover { background: rgba(0,0,0,0.32); }

/* ---------- inputs ---------- */
.input, .select {
  border-radius: 9px; border: 1.5px solid #E4E2DE; background: #fff; font-size: 13.5px; color: #3A3C41;
  outline: none; transition: border-color 0.15s, box-shadow 0.15s;
}
.input:focus, .select:focus { border-color: #ED1D24 !important; box-shadow: 0 0 0 3px rgba(237,29,36,0.10); }
.select { appearance: none; -webkit-appearance: none; padding: 10px 34px 10px 14px; font-weight: 500; cursor: pointer; }
.select-wrap { position: relative; }
.select-chevron { position: absolute; right: 11px; top: 50%; transform: translateY(-50%); pointer-events: none; color: #8A8C93; }

.search-wrap { position: relative; flex: 1; min-width: 220px; max-width: 360px; }
.search-icon { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: #ADAEBC; }
.search-input { width: 100%; padding: 10px 14px 10px 38px; }

.loc-wrap { position: relative; width: 230px; }
.loc-input-icon { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); pointer-events: none; color: #8A8C93; }
.loc-input { width: 100%; padding: 10px 34px 10px 36px; font-weight: 500; cursor: pointer; }
.loc-dropdown { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 30; background: #fff; border: 1px solid #E4E2DE; border-radius: 11px; box-shadow: 0 16px 40px -12px rgba(0,0,0,0.22); padding: 6px; max-height: 230px; overflow-y: auto; animation: sectionIn 0.16s ease both; }
.loc-option { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 12px; border-radius: 7px; font-size: 13.5px; cursor: pointer; transition: background 0.12s; }
.loc-option:hover { background: #F4F3F1; }
.loc-option span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.loc-empty { padding: 12px; text-align: center; font-size: 13px; color: #B7B8BF; }
.loc-backdrop { position: fixed; inset: 0; z-index: 20; }

/* ---------- table ---------- */
table.eq-table { width: 100%; border-collapse: collapse; }
table.eq-table thead tr { background: #FAF9F7; }
table.eq-table th { text-align: left; padding: 13px 16px; font-size: 11.5px; font-weight: 700; color: #8A8C93; text-transform: uppercase; letter-spacing: 0.04em; }
table.eq-table th.actions-col { text-align: right; padding: 13px 20px 13px 16px; position: sticky; right: 0; background: #FAF9F7; }
table.eq-table td { padding: 14px 16px; font-size: 13.5px; color: #3A3C41; }
table.eq-table td.actions-col { padding: 14px 20px 14px 16px; position: sticky; right: 0; background: inherit; }
table.eq-table tbody tr.eqrow { background: #fff; transition: background 0.15s; animation: rowFade 0.34s cubic-bezier(0.16,1,0.3,1) both; border-top: 1px solid #F1EFEC; }
table.eq-table tbody tr.eqrow:hover { background: #FAF9F7; }
table.eq-table tbody tr.eqrow:nth-child(1) { animation-delay: .02s; } table.eq-table tbody tr.eqrow:nth-child(2) { animation-delay: .05s; }
table.eq-table tbody tr.eqrow:nth-child(3) { animation-delay: .08s; } table.eq-table tbody tr.eqrow:nth-child(4) { animation-delay: .11s; }
table.eq-table tbody tr.eqrow:nth-child(5) { animation-delay: .14s; } table.eq-table tbody tr.eqrow:nth-child(6) { animation-delay: .17s; }
table.eq-table tbody tr.eqrow:nth-child(7) { animation-delay: .20s; } table.eq-table tbody tr.eqrow:nth-child(n+8) { animation-delay: .23s; }
.actions-cell { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.id-primary { font-size: 13.5px; font-weight: 700; color: #26282D; }
.id-secondary { font-size: 12px; color: #9A9CA3; margin-top: 2px; }
.thumb { width: 46px; height: 46px; border-radius: 10px; display: flex; align-items: center; justify-content: center; transition: transform 0.18s; }
.eqrow:hover .thumb { transform: scale(1.06); }
.empty-msg { padding: 60px 20px; text-align: center; color: #9A9CA3; font-size: 14px; }

.pagination { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 14px 16px; border-top: 1px solid #F1EFEC; }
.pagination-info { font-size: 13px; color: #6B6E76; font-weight: 600; }

.user-cell { display: flex; align-items: center; gap: 11px; }
.user-avatar { width: 38px; height: 38px; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.user-fullname { font-size: 13.5px; font-weight: 700; color: #26282D; }
.user-sublabel { font-size: 11.5px; color: #B7B8BF; }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.badge-dot { width: 6px; height: 6px; border-radius: 50%; }

/* ---------- modal ---------- */
.modal-overlay { position: fixed; inset: 0; background: rgba(20,20,22,0.42); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; z-index: 100; padding: 24px; animation: overlayIn 0.18s ease; }
.modal-card { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 40px 90px -25px rgba(0,0,0,0.4); animation: cardIn 0.28s cubic-bezier(0.16,1,0.3,1); }
.modal-card.modal-sm { animation: cardInSm 0.24s cubic-bezier(0.16,1,0.3,1); }
.modal-card.wide { width: 820px; max-width: 100%; max-height: 88vh; overflow: auto; }
.modal-card.medium { width: 700px; max-width: 100%; max-height: 88vh; overflow: auto; }
.modal-card.user-view { width: 640px; max-width: 100%; }
.modal-card.history { width: 680px; max-width: 100%; max-height: 82vh; overflow: auto; }
.modal-card.confirm { width: 420px; max-width: 100%; padding: 28px; }
.modal-header { background: #ED1D24; padding: 20px 26px; display: flex; align-items: center; gap: 14px; }
.modal-title { font-size: 17px; font-weight: 800; color: #fff; }
.modal-status-badge { display: inline-flex; padding: 5px 13px; border-radius: 999px; font-size: 12px; font-weight: 700; background: rgba(255,255,255,0.9); color: #7A1418; }
.modal-body { display: flex; gap: 0; }
.modal-side { width: 280px; flex-shrink: 0; padding: 26px; border-right: 1px solid #F1EFEC; }
.modal-side.narrow { width: 220px; }
.modal-main { flex: 1; padding: 26px; min-width: 0; }
.modal-footer { display: flex; justify-content: flex-end; gap: 10px; padding: 18px 26px; border-top: 1px solid #F1EFEC; }
.modal-photo { width: 100%; height: 230px; border-radius: 12px; background: #F4F3F1; display: flex; align-items: center; justify-content: center; color: #C7C8CE; }
.modal-photo.small { height: 180px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid.view-grid { gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 11px; font-weight: 700; color: #9A9CA3; text-transform: uppercase; letter-spacing: 0.04em; }
.form-static { margin-top: 6px; padding: 10px 13px; border-radius: 9px; background: #FAF9F7; border: 1px solid #F1EFEC; font-size: 14px; color: #26282D; font-weight: 600; }
.form-static.muted { background: #F1EFEC; color: #9A9CA3; }
.form-input { padding: 10px 13px; border-radius: 9px; font-size: 14px; }
.info-block + .info-block { margin-top: 14px; }
.side-meta-label { font-size: 11px; font-weight: 700; color: #9A9CA3; text-transform: uppercase; letter-spacing: 0.04em; }
.side-meta-value { font-size: 14.5px; font-weight: 700; color: #26282D; margin-top: 4px; }
.btn-qr { margin-top: 18px; width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px; border-radius: 9px; border: 1.5px solid #E4E2DE; background: #fff; color: #3A3C41; font-size: 13px; font-weight: 700; cursor: pointer; transition: all 0.15s; }
.btn-qr:hover { background: #FAF9F7; border-color: #D6D3CE; }
.link-pill { margin-top: 6px; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 10px 13px; border-radius: 9px; background: #2B2D33; color: #fff; font-size: 13.5px; font-weight: 700; text-decoration: none; transition: background 0.15s; }
.link-pill:hover { background: #3A3C41; }
.comment-box { background: #FAF9F7; border: 1px solid #F1EFEC; border-radius: 11px; padding: 14px 16px; }
.comment-head { display: flex; align-items: center; justify-content: space-between; }
.comment-author { font-size: 13.5px; font-weight: 700; color: #26282D; }
.comment-date { font-size: 12px; color: #9A9CA3; }
.comment-text { font-size: 13.5px; color: #4B4D54; line-height: 1.55; margin-top: 6px; }

.chk-row { display: flex; gap: 12px; margin-top: 20px; padding-top: 18px; border-top: 1px solid #F1EFEC; flex-wrap: wrap; }
.chk-pill { display: flex; align-items: center; gap: 9px; cursor: pointer; padding: 10px 14px; border-radius: 9px; border: 1.5px solid #E4E2DE; background: #fff; transition: all 0.15s; }
.chk-pill input[type="checkbox"] { width: 17px; height: 17px; }
.chk-pill span { font-size: 13.5px; font-weight: 600; color: #3A3C41; }
.chk-bojats input { accent-color: #DC2626; }
.chk-remonta input { accent-color: #2563EB; }
.chk-active input { accent-color: #16A34A; }
.chk-pill.on-bojats { border-color: #FCA5A5; background: #FEF2F2; }
.chk-pill.on-remonta { border-color: #93C5FD; background: #EFF6FF; }
.chk-pill.on-active { border-color: #86EFAC; background: #F0FDF4; }

.confirm-icon { width: 46px; height: 46px; border-radius: 12px; background: #FEF2F2; color: #DC2626; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.confirm-title { font-size: 16.5px; font-weight: 800; color: #22242A; }
.confirm-body { font-size: 13.5px; color: #6B6E76; margin-top: 8px; line-height: 1.55; }
.confirm-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }

.cascade-hint { margin-top: 6px; font-size: 12px; color: #B45309; background: #FFFBEB; border-radius: 7px; padding: 7px 10px; line-height: 1.4; }

/* ---------- classificator ---------- */
.cls-columns { display: flex; gap: 16px; align-items: flex-start; animation: sectionIn 0.44s cubic-bezier(0.16,1,0.3,1) 0.1s both; }
.cls-col { flex: 1; min-width: 0; background: #fff; border-radius: 14px; border: 1px solid #ECEAE6; box-shadow: 0 1px 2px rgba(0,0,0,0.03); display: flex; flex-direction: column; overflow: hidden; }
.cls-col-head { padding: 14px 16px; border-bottom: 1px solid #F1EFEC; display: flex; align-items: center; justify-content: space-between; }
.cls-col-title { font-size: 13px; font-weight: 700; color: #22242A; text-transform: uppercase; letter-spacing: 0.03em; }
.cls-col-count { font-size: 12px; color: #9A9CA3; font-weight: 600; }
.cls-col-body { flex: 1; overflow-y: auto; max-height: 440px; }
.cls-row { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-top: 1px solid #F1EFEC; cursor: pointer; transition: background 0.15s; }
.cls-col-body .cls-row:first-child { border-top: none; }
.cls-row:hover { background: #FAF9F7; }
.cls-row.selected { background: #FEF2F2; }
.cls-row.selected .cls-row-name { color: #ED1D24; font-weight: 700; }
.cls-row-name { flex: 1; min-width: 0; font-size: 13.5px; color: #3A3C41; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cls-usage-badge { flex-shrink: 0; font-size: 11px; color: #9A9CA3; background: #F4F3F1; padding: 2px 8px; border-radius: 999px; }
.cls-row-delete { width: 27px; height: 27px; flex-shrink: 0; }
.cls-empty { padding: 30px 16px; text-align: center; color: #9A9CA3; font-size: 13px; }
.cls-add-form { display: flex; gap: 8px; padding: 10px 14px; border-bottom: 1px solid #F1EFEC; background: #FAF9F7; }
.cls-add-form .input { flex: 1; padding: 8px 11px; font-size: 13px; }
.cls-add-btn { width: 32px; height: 32px; flex-shrink: 0; background: #ED1D24; color: #fff; border: none; }
.cls-add-btn:hover { background: #D91820; color: #fff; }

.photo-slot { position: relative; overflow: hidden; cursor: pointer; }
.photo-slot img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.photo-slot-placeholder { font-size: 12px; color: #9A9CA3; text-align: center; padding: 0 16px; }
.photo-slot input[type="file"] { display: none; }

.file-chip-wrap { display: flex; align-items: center; gap: 8px; }
.file-chip { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 10px 13px; border-radius: 9px; border: 1.5px solid #E4E2DE; background: #fff; font-size: 13.5px; color: #3A3C41; cursor: pointer; transition: all 0.15s; }
.file-chip:hover { background: #FAF9F7; border-color: #D6D3CE; }
.file-chip input[type="file"] { display: none; }
.file-chip-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }

.chip-clear { flex-shrink: 0; width: 30px; height: 30px; border-radius: 8px; border: 1.5px solid #E4E2DE; background: #fff; color: #6B6E76; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.15s; }
.chip-clear:hover { background: #FEF2F2; color: #DC2626; border-color: #FCA5A5; }

.photo-slot-wrap { position: relative; }
.photo-clear { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%; border: none; background: rgba(20,20,22,0.55); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.15s; }
.photo-clear:hover { background: rgba(20,20,22,0.75); }

/* ---------- toast ---------- */
.toast { position: fixed; bottom: 26px; right: 26px; display: flex; align-items: center; gap: 10px; background: #22242A; color: #fff; padding: 13px 18px; border-radius: 12px; font-size: 13.5px; font-weight: 600; box-shadow: 0 16px 40px rgba(0,0,0,0.3); z-index: 200; animation: toastIn 0.28s cubic-bezier(0.16,1,0.3,1); }
.toast-check { width: 22px; height: 22px; border-radius: 50%; background: #16A34A; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.hidden { display: none !important; }
