.logo{display:block;height:clamp(28px,6vw,40px);width:auto;max-width:100%;object-fit:contain}.logo--fallback{font-weight:700;font-size:clamp(1rem,3vw,1.15rem);color:var(--color-text);letter-spacing:-.01em}.alert{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem;padding:.75rem 1rem;border-radius:var(--radius-sm);font-size:.9rem;line-height:1.4}.alert--error{background:var(--color-danger-bg);color:var(--color-danger);border:1px solid rgba(255,107,107,.35)}.alert--warning{background:var(--color-warning-bg);color:var(--color-warning);border:1px solid rgba(255,183,77,.35)}.alert__dismiss{background:none;border:none;font-size:1.1rem;line-height:1;color:inherit;opacity:.7;padding:0}.alert__dismiss:hover{opacity:1}.login-page{min-height:100%;display:flex;align-items:center;justify-content:center;padding:1.5rem}.login-card{width:100%;max-width:360px;padding:2rem;display:flex;flex-direction:column;gap:1.1rem}.login-logo{display:flex;justify-content:center;margin-bottom:.25rem}.login-title{font-size:1.3rem;font-weight:700;text-align:center}.login-subtitle{font-size:.85rem;color:var(--color-text-muted);text-align:center}.login-submit{width:100%;padding:.7rem}.product-form-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0009;display:flex;align-items:center;justify-content:center;padding:1rem;z-index:100}.product-form{width:100%;max-width:480px;max-height:90vh;overflow-y:auto;padding:1.75rem;display:flex;flex-direction:column;gap:1rem;box-shadow:var(--shadow-md)}.product-form__title{font-size:1.15rem;font-weight:700}.product-form__grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.product-form__hint{font-size:.8rem;color:var(--color-text-muted);margin-top:-.5rem}.product-form__actions{display:flex;justify-content:flex-end;gap:.75rem;margin-top:.5rem}@media(max-width:480px){.product-form__grid{grid-template-columns:1fr}}.products-page{display:flex;flex-direction:column;gap:1rem}.products-page__toolbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}.products-page__title{font-size:1.3rem;font-weight:700}.products-table-wrapper{overflow-x:auto}.products-table{width:100%;border-collapse:collapse;font-size:.9rem}.products-table th,.products-table td{text-align:left;padding:.85rem 1rem;border-bottom:1px solid var(--color-border);white-space:nowrap}.products-table th{font-size:.78rem;text-transform:uppercase;letter-spacing:.03em;color:var(--color-text-muted);font-weight:600}.products-table tbody tr:last-child td{border-bottom:none}.products-table tbody tr:hover td{background:var(--color-surface-hover)}.products-table__empty{text-align:center;color:var(--color-text-muted);padding:2rem 1rem;white-space:normal}.products-table__actions{display:flex;gap:.5rem}.freight-table-wrapper{overflow:auto;max-height:70vh}.freight-table{width:100%;border-collapse:collapse;font-size:.85rem}.freight-table th,.freight-table td{text-align:center;padding:.65rem .9rem;white-space:nowrap}.freight-table th{font-size:.78rem;color:var(--color-text);font-weight:600;position:sticky;top:0;background:var(--color-surface);border-bottom:2px solid var(--color-border);z-index:2}.freight-table__col-carrier{display:block;font-size:.68rem;font-weight:500;color:var(--color-text-muted)}.freight-table__col-service{display:block;font-size:.82rem;font-weight:700}.freight-table th.freight-table__state-col,.freight-table td.freight-table__state-col{text-align:right;font-weight:500;position:sticky;left:0}.freight-table th.freight-table__state-col{background:var(--color-surface);z-index:3}.freight-table__uf{color:var(--color-text-muted);font-weight:400}.freight-table tbody tr:nth-child(odd) td{background:var(--color-surface)}.freight-table tbody tr:nth-child(2n) td{background:var(--color-bg)}.freight-table tbody tr:hover td{background:var(--color-surface-hover)}.freight-table td.freight-table__cell--unavailable{color:var(--color-text-muted);font-style:italic}.freight-table td.freight-table__cell--average{font-weight:600}.freight-table tbody tr.freight-table__row--error td{background:var(--color-danger-bg)}.freight-table td.freight-table__error-cell{text-align:left;white-space:normal;color:var(--color-danger);font-weight:500}.freight-page{display:flex;flex-direction:column;gap:1rem}.freight-page__toolbar{display:flex;align-items:flex-end;gap:1rem;flex-wrap:wrap}.freight-page__select{min-width:260px}.freight-page__select select{padding:.55rem .7rem;border-radius:var(--radius-sm);border:1px solid var(--color-border);background:var(--color-surface);color:var(--color-text);font-size:.95rem}.freight-page__cep{width:140px}.freight-page__status{color:var(--color-text-muted)}.freight-page__meta{font-size:.8rem;color:var(--color-text-muted)}.freight-page__attribution{font-size:.75rem;color:var(--color-text-muted)}.app-loading{height:100%;display:flex;align-items:center;justify-content:center}.app-shell{min-height:100%;display:flex;flex-direction:column}.app-header{min-height:var(--header-height);flex-shrink:0;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem 1rem;padding:.75rem 1.25rem;background:var(--color-surface);border-bottom:1px solid var(--color-border)}.app-header__left{display:flex;align-items:center;gap:1.5rem;flex-wrap:wrap}.app-tabs{display:flex;gap:.4rem;overflow-x:auto}.app-tab{background:transparent;border:1px solid transparent;border-radius:var(--radius-sm);color:var(--color-text-muted);font-weight:500;font-size:.85rem;padding:.55rem 1rem;white-space:nowrap;transition:background-color .15s ease,color .15s ease}.app-tab:hover{background:var(--color-surface-hover);color:var(--color-text)}.app-tab--active{background:var(--color-border);color:var(--color-text);font-weight:600}.app-main{flex:1;padding:1.5rem;max-width:1400px;width:100%;margin:0 auto}@media(max-width:640px){.app-header{padding:.75rem .85rem}.app-main{padding:1rem}}:root{--color-dark: #151515;--color-accent: #fad214;--color-bg: #151515;--color-surface: #1e1e1e;--color-surface-hover: #272727;--color-border: #383838;--color-text: #f2f2f0;--color-text-muted: #a3a3a0;--color-danger: #ff6b6b;--color-danger-bg: #3a1f1f;--color-warning: #ffb74d;--color-warning-bg: #3d2e0a;--color-success: #6fcf7a;--color-accent-hover: #e6c012;--color-on-accent: #151515;--font-family: "Poppins", system-ui, sans-serif;--radius-sm: 6px;--radius-md: 10px;--radius-lg: 16px;--shadow-sm: 0 1px 2px rgba(0, 0, 0, .45), 0 1px 3px rgba(0, 0, 0, .55);--shadow-md: 0 4px 12px rgba(0, 0, 0, .5), 0 2px 6px rgba(0, 0, 0, .45);--header-height: 64px}*{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;font-family:var(--font-family);background:var(--color-bg);color:var(--color-text);-webkit-font-smoothing:antialiased}h1,h2,h3,h4,p{margin:0}button{font-family:inherit;cursor:pointer}input,select{font-family:inherit}.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;border-radius:var(--radius-sm);border:1px solid transparent;padding:.6rem 1.1rem;font-size:.9rem;font-weight:600;transition:background-color .15s ease,border-color .15s ease,opacity .15s ease;white-space:nowrap}.btn:disabled{opacity:.6;cursor:not-allowed}.btn-primary{background:var(--color-accent);color:var(--color-on-accent)}.btn-primary:hover:not(:disabled){background:var(--color-accent-hover)}.btn-secondary{background:transparent;color:var(--color-text);border-color:var(--color-border)}.btn-secondary:hover:not(:disabled){border-color:var(--color-accent)}.btn-danger{background:transparent;color:var(--color-danger);border-color:var(--color-danger)}.btn-danger:hover:not(:disabled){background:var(--color-danger-bg)}.field{display:flex;flex-direction:column;gap:.35rem}.field label{font-size:.85rem;font-weight:500;color:var(--color-text-muted)}.field input,.field select{padding:.55rem .7rem;border-radius:var(--radius-sm);border:1px solid var(--color-border);font-size:.95rem;background:var(--color-surface);color:var(--color-text)}.field input:focus,select:focus{outline:2px solid var(--color-accent);outline-offset:1px}.card{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);box-shadow:var(--shadow-sm)}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
