@font-face { font-family: 'Montserrat'; src: url('/fonts/montserrat-variable.ttf') format('truetype'); font-style: normal; font-weight: 100 900; font-display: swap; }
:root { --imprenta-yellow: #ead801; --imprenta-ink: #1c1c1c; --imprenta-paper: #f5f4ef; }
* { box-sizing: border-box; }
html { min-height: 100%; border-top: 5px solid var(--imprenta-yellow); }
body { margin: 0; background: var(--imprenta-paper); color: var(--imprenta-ink); font-family: 'Montserrat', 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; }
.app-shell { width: 100%; max-width: 29rem; margin: 0 auto; padding: 48px 20px 24px; padding-bottom: max(24px, env(safe-area-inset-bottom)); }
.app-brand { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 4px 30px; }
.brand-link { display: block; width: 154px; max-width: 60%; border-radius: 4px; }
.brand-link:focus-visible { outline: 3px solid #8a7f00; outline-offset: 5px; }
.brand { display: block; width: 100%; height: auto; }
.app-label { border-left: 1px solid #d4d3cd; padding: 10px 0 10px 18px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.login-card { background: #fff; border: 1px solid #e6e4dc; border-radius: 16px; box-shadow: 0 12px 40px #1c1c1c06; padding: 32px; }
.eyebrow { display: block; color: #78766b; font-size: 10px; font-weight: 750; letter-spacing: .13em; margin-bottom: 10px; }
h1, h2 { font-weight: 750; letter-spacing: -.045em; }
.login-heading h1 { font-size: 30px; line-height: 1.2; margin: 0 0 12px; }
.login-intro { color: #74736c; font-size: 13px; line-height: 1.7; margin-bottom: 26px; }
.field-group { margin-bottom: 0; }
.form-label { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 650; }
.form-control { min-height: 52px; width: 100%; border: 1px solid #d8d7d0; border-radius: 7px; padding: 12px 14px; color: var(--imprenta-ink); font-size: 16px; background: #fdfdfb; }
.form-control::placeholder { color: #99978f; font-size: 14px; }
.form-control:focus { background: #fff; border-color: #a69900; box-shadow: 0 0 0 3px #ead80130; }
.btn { min-height: 52px; border-radius: 7px; font-size: 13px; font-weight: 650; padding: 13px 16px; }
.btn-primary { --bs-btn-color: #1c1c1c; --bs-btn-bg: #ead801; --bs-btn-border-color: #ead801; --bs-btn-hover-color: #1c1c1c; --bs-btn-hover-bg: #d0c000; --bs-btn-hover-border-color: #d0c000; --bs-btn-active-color: #1c1c1c; --bs-btn-active-bg: #d0c000; --bs-btn-active-border-color: #d0c000; --bs-btn-disabled-color: #1c1c1c; --bs-btn-disabled-bg: #ead801; --bs-btn-disabled-border-color: #ead801; }
.btn-dark { --bs-btn-bg: #1c1c1c; --bs-btn-border-color: #1c1c1c; }
.passkey-choice { margin-top: 16px; }
.passkey-button { display: flex; align-items: center; gap: 12px; text-align: left; }
.passkey-button > .fa-fingerprint { font-size: 22px; color: var(--imprenta-yellow); }
.passkey-button > .fa-arrow-right { margin-left: auto; font-size: 12px; }
.passkey-choice p { margin: 10px 4px 0; color: #7c7a72; font-size: 11px; line-height: 1.65; text-align: center; }
.form-divider { display: flex; align-items: center; gap: 12px; color: #8a887e; font-size: 10px; margin: 24px 0; }
.form-divider::before, .form-divider::after { content: ''; flex: 1; height: 1px; background: #e9e7df; }
.password-field { position: relative; }
.password-field .form-control { padding-right: 52px; }
.password-toggle { position: absolute; right: 1px; top: 1px; width: 50px; height: 50px; border: 0; border-radius: 6px; background: transparent; color: #77756c; }
.password-toggle:hover { color: #1c1c1c; }
.password-button { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; }
.login-footer { display: flex; justify-content: center; align-items: flex-start; gap: 9px; padding: 22px 8px 0; text-align: center; color: #858278; font-size: 10px; line-height: 1.8; }
.login-footer i { margin-top: 4px; font-size: 10px; }
.alert { border-radius: 7px; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.login-card > p { font-size: 13px; line-height: 1.7; }
.btn:focus-visible, .password-toggle:focus-visible { outline: 3px solid #8a7f00; outline-offset: 3px; box-shadow: none; }
#blazor-error-ui { display: none; background: #fff3cd; padding: 1rem; position: fixed; bottom: 0; width: 100%; z-index: 1000; }
.work-shell { max-width: 56rem; }
.placements-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 24px; }
.status-filters { display: flex; flex-wrap: wrap; gap: 4px; }
.status-filter { border: 1px solid transparent; background: #f5f4ef; border-radius: 6px; padding: 10px 12px; min-height: 44px; font-size: 12px; color: #66635b; font-weight: 650; }
.status-filter.selected { background: #ead801; color: #1c1c1c; }
.status-filter:focus-visible { outline: 3px solid #8a7f00; outline-offset: 2px; }
.refresh-placements { min-height: 44px; width: 44px; flex-shrink: 0; padding: 8px; }
.placements-count { font-size: 11px; color: #747168; margin: 18px 0 12px; }
.placements-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
.placement-row { position: relative; border: 1px solid #e6e4dc; border-radius: 9px; padding: 18px; min-width: 0; }
.placement-row:hover { border-color: #a69900; background: #fdfcf5; }
.placement-row:has(.placement-open:focus-visible) { outline: 3px solid #8a7f00; outline-offset: 3px; }
.placement-topline { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 12px; }
.placement-number { color: #7b786e; font-size: 11px; font-weight: 650; }
.placement-status { display: inline-block; padding: 4px 9px; border-radius: 5px; font-size: 10px; font-weight: 700; }
.status-0 { color: #5d590f; background: #faf5c9; }
.status-1 { color: #2c527c; background: #e9f1fb; }
.status-2 { color: #8a4a10; background: #fff0dd; }
.placement-row h2 { font-size: 16px; line-height: 1.4; margin: 0 0 5px; overflow-wrap: anywhere; }
.placement-location { display: flex; align-items: baseline; gap: 9px; font-size: 14px; font-weight: 600; line-height: 1.6; margin: 4px 0 18px; overflow-wrap: anywhere; }
.placement-location > i { flex-shrink: 0; color: #8a7f00; }
.placement-product { color: #78756b; font-size: 11px; margin: 14px 0 0; overflow-wrap: anywhere; }
.placement-date { display: flex; gap: 8px; align-items: center; font-size: 12px; }
.placement-date i { color: #99958a; }
.placements-feedback, .placements-empty { padding: 32px 12px; font-size: 13px; text-align: center; color: #78756b; }
.placements-empty > i { font-size: 28px; color: #a7a18f; margin-bottom: 14px; }
.placements-empty p { color: #1c1c1c; font-weight: 650; margin-bottom: 6px; }
.placements-empty span { font-size: 12px; }
.placements-pagination { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 20px; font-size: 12px; }
.placements-pagination .btn { min-height: 44px; }
.account-settings { margin-bottom: 18px; font-size: 12px; }
.account-settings[open] { border-bottom: 1px solid #e6e4dc; padding-bottom: 18px; }
.account-settings summary { width: fit-content; max-width: 100%; margin-left: auto; min-height: 44px; padding: 10px 0; cursor: pointer; font-weight: 650; }
.account-settings summary:focus-visible { outline: 3px solid #8a7f00; outline-offset: 3px; }
.account-settings h2 { margin-top: 18px; }
.account-settings p { font-size: 12px; line-height: 1.7; }
.placement-open { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; border: 0; background: transparent; color: inherit; padding: 4px 0; text-align: left; font: inherit; font-weight: inherit; min-height: 44px; }
.placement-open i { color: #8a7f00; font-size: 12px; }
.placement-open::after { content: ''; position: absolute; inset: 0; border-radius: 9px; cursor: pointer; }
.placement-open:focus-visible { outline: none; }
.offline-outbox { background: #f7f5e9; border: 1px solid #e7e2c5; border-radius: 9px; padding: 16px; margin: 20px 0; font-size: 12px; }
.outbox-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.outbox-heading .btn { min-height: 44px; padding: 8px 12px; font-size: 11px; }
.outbox-row { padding: 14px 0; border-bottom: 1px solid #e7e2c5; overflow-wrap: anywhere; }
.outbox-row p { margin: 8px 0; }
.detail-addresses section { padding: 16px 0; border-bottom: 1px solid #e6e4dc; }
.detail-addresses h3, .report-history h3 { font-size: 14px; margin-bottom: 12px; }
.maps-address { display: flex; align-items: center; gap: 12px; padding: 12px; background: #f5f4ef; border-radius: 7px; color: #1c1c1c; text-decoration: none; font-size: 13px; min-height: 52px; }
.maps-address span { flex: 1; overflow-wrap: anywhere; }
.maps-address > i:last-child { color: #8a7f00; }
.detail-text { white-space: pre-wrap; font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; margin-top: 16px; }
.location-photo { display: block; max-width: 100%; max-height: 400px; object-fit: contain; border-radius: 8px; margin-top: 16px; }
.report-form { border: 1px solid #e6e4dc; padding: 20px; border-radius: 9px; }
.report-form .form-select { min-height: 52px; font-size: 16px; }
.report-form textarea { min-height: 100px; }
.important-input { border-left: 4px solid #d59824; }
.photo-group { margin: 24px 0; }
.photo-group legend { font-size: 14px; font-weight: 650; }
.photo-group legend span { font-weight: 400; color: #78756b; }
.photo-group input { font-size: 12px; }
.photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.photo-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 7px; }
.photo-grid .btn { min-height: 44px; font-size: 11px; margin-top: 4px; }
.report-history { margin-top: 28px; }
.report-history-item { border-top: 1px solid #e6e4dc; padding: 14px 0; font-size: 12px; }
.report-history-item summary { cursor: pointer; min-height: 44px; padding: 10px 0; }
.important-label { display: inline-block; color: #8a4a10; background: #fff0dd; padding: 4px 8px; border-radius: 4px; margin-left: 8px; }
.important-remark { background: #fff6e6; border-left: 4px solid #d59824; padding: 12px; }
.offline-notice { color: #855b15; background: #fff6e6; padding: 12px; border-radius: 7px; font-size: 12px; }
@media (max-width: 480px) { .outbox-heading { flex-wrap: wrap; } .report-form { padding: 16px 12px; } }
@media (max-width: 640px) { .placements-list { grid-template-columns: minmax(0, 1fr); } .work-shell .login-card { padding: 24px 16px; } .status-filter { padding: 10px 9px; font-size: 11px; } }
@media (max-width: 480px) {
    .app-shell { padding-top: 28px; padding-right: 16px; padding-left: 16px; }
    .app-brand { margin-bottom: 24px; }
    .brand-link { width: 144px; }
    .login-card { padding: 26px 22px; border-radius: 12px; }
    .login-heading h1 { font-size: 28px; }
}
@media (max-width: 350px) {
    .app-shell { padding-right: 10px; padding-left: 10px; }
    .login-card { padding: 24px 16px; }
    .app-label { font-size: 10px; padding-left: 12px; }
}
