:root { --ink: #26352d; --muted: #68756d; --line: #dfe7df; --paper: #f6f7f2; --white: #fff; --sage: #627d69; --sage-dark: #405b49; --rose: #b26072; --danger: #a74d4d; --shadow: 0 16px 45px rgba(38, 53, 45, .09); }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 15px/1.5 'DM Sans', sans-serif; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.is-hidden { display: none !important; }
.eyebrow { color: var(--rose); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; } h1, h2 { font-family: 'Playfair Display', serif; } h1 { margin: 2px 0 0; font-size: clamp(25px, 3vw, 36px); } h2 { margin-bottom: 5px; font-size: 25px; } .muted { color: var(--muted); }
.login-view { align-items: center; background: linear-gradient(135deg, #dfe9dc, #f7ede7); display: flex; min-height: 100vh; justify-content: center; padding: 20px; }
.login-card { background: rgba(255,255,255,.94); border: 1px solid rgba(255,255,255,.8); border-radius: 12px; box-shadow: var(--shadow); max-width: 420px; padding: 46px; width: 100%; }
.login-card h1 { margin: 8px 0; } .login-card p { color: var(--muted); } .login-card form { display: grid; gap: 8px; margin-top: 28px; } label { color: var(--ink); font-size: 13px; font-weight: 600; }
input, textarea, select { background: var(--white); border: 1px solid var(--line); border-radius: 7px; color: var(--ink); outline: 0; padding: 11px 12px; width: 100%; } input:focus, textarea:focus, select:focus { border-color: var(--sage); box-shadow: 0 0 0 3px rgba(98,125,105,.14); }
.button { border: 0; border-radius: 7px; font-weight: 700; padding: 11px 16px; transition: .2s ease; } .button-primary { background: var(--sage-dark); color: white; } .button-primary:hover { background: var(--ink); transform: translateY(-1px); } .button-quiet { background: transparent; border: 1px solid var(--line); color: var(--ink); } .button-danger { background: #fff0f0; color: var(--danger); }
.login-hint, .form-note { color: var(--muted); font-size: 12px; } .error-message { color: var(--danger) !important; min-height: 20px; margin: 4px 0 0; }
.app-shell { min-height: 100vh; } .topbar { align-items: center; background: var(--white); border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; padding: 19px clamp(20px, 5vw, 70px); } .topbar-actions { display: flex; gap: 8px; }
.workspace { margin: auto; max-width: 1280px; padding: 42px clamp(20px, 5vw, 70px) 80px; } .intro-row, .section-heading { align-items: center; display: flex; justify-content: space-between; gap: 20px; } .intro-row { margin-bottom: 28px; } .intro-row h2 { font-size: clamp(27px, 4vw, 44px); margin-bottom: 6px; }
.panel-footer { align-items: center; border-top: 1px solid var(--line); color: var(--muted); display: flex; font-size: 12px; gap: 18px; justify-content: space-between; margin-top: 48px; padding-top: 20px; }
.panel-footer-brand { color: var(--sage-dark); font-weight: 700; }
.stats-row { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); margin-bottom: 22px; } .stat { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 17px 20px; } .stat strong { display: block; font-size: 25px; } .stat span { color: var(--muted); font-size: 12px; }
.status-message { min-height: 24px; color: var(--sage-dark); font-weight: 600; margin: 8px 0; } .content-grid { align-items: start; display: grid; gap: 30px; grid-template-columns: minmax(0, 1fr) 310px; margin-top: 14px; } .catalog-column, .checklist-panel { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 24px; }
.signature-editor-panel { background: var(--white); border: 1px solid var(--line); border-radius: 10px; margin: 18px 0 30px; padding: 24px; }
.signature-form { display: grid; gap: 14px; margin-top: 20px; }
.signature-form label { display: grid; gap: 6px; }
.signature-fields-row { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.signature-form-actions { border-top: 1px solid var(--line); padding-top: 15px; }
.signature-products-heading { align-items: center; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; margin-top: 30px; padding-top: 22px; }
.signature-products-heading h3 { margin: 0 0 4px; }
.section-heading { border-bottom: 1px solid var(--line); padding-bottom: 17px; } .section-heading.compact { align-items: flex-start; } .section-heading h2 { margin-bottom: 0; } .search-box { align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 7px; display: flex; gap: 7px; padding: 0 10px; width: min(280px, 45%); } .search-box input { background: transparent; border: 0; padding-left: 0; } .product-list { display: grid; gap: 9px; margin-top: 17px; }
.product-item { align-items: center; border: 1px solid var(--line); border-radius: 8px; display: grid; gap: 14px; grid-template-columns: 58px 1fr auto; padding: 10px; } .product-item:hover { border-color: var(--sage); } .product-thumb { background: #edf1eb; border-radius: 5px; height: 58px; object-fit: cover; width: 58px; } .product-item h3 { font: 700 15px 'DM Sans', sans-serif; margin: 0 0 3px; } .product-meta { color: var(--muted); font-size: 12px; } .product-price { color: var(--sage-dark); font-weight: 700; white-space: nowrap; } .edit-link { background: none; border: 0; color: var(--rose); font-weight: 700; padding: 5px; }
.checklist { display: grid; gap: 13px; margin: 22px 0; } .checklist label { align-items: flex-start; display: flex; font-weight: 500; gap: 9px; } .checklist input { accent-color: var(--sage); height: 17px; width: 17px; } .progress-label { color: var(--sage-dark); font-weight: 700; } .help-note { background: #f4eee9; border-left: 3px solid var(--rose); font-size: 12px; padding: 14px; } .help-note p { margin: 5px 0 0; }
.dialog-backdrop { align-items: center; background: rgba(38,53,45,.5); display: flex; inset: 0; justify-content: center; padding: 20px; position: fixed; z-index: 10; } .editor-dialog { background: var(--paper); border-radius: 10px; box-shadow: var(--shadow); max-height: 94vh; max-width: 620px; overflow: auto; padding: 27px; width: 100%; } .dialog-header { align-items: flex-start; display: flex; justify-content: space-between; margin-bottom: 21px; } .dialog-header h2 { margin: 5px 0 0; } .icon-button { background: none; border: 0; color: var(--muted); font-size: 27px; line-height: 1; } #product-form { display: grid; gap: 14px; } #product-form label { display: grid; gap: 6px; } .image-preview { display: flex; flex-wrap: wrap; gap: 8px; } .image-preview-item { position: relative; } .image-preview img { border-radius: 5px; height: 64px; object-fit: cover; width: 64px; } .image-delete-button { background: rgba(38,53,45,.85); border: 0; border-radius: 4px; bottom: 3px; color: white; font-size: 10px; left: 3px; padding: 3px 5px; position: absolute; } .image-delete-button:hover { background: var(--danger); } .dialog-actions { align-items: center; border-top: 1px solid var(--line); display: grid; gap: 8px; grid-template-columns: 1fr auto auto; margin-top: 10px; padding-top: 17px; }
@media (max-width: 800px) { .content-grid { grid-template-columns: 1fr; } .checklist-panel { order: -1; } }
@media (max-width: 560px) { .topbar, .intro-row { align-items: flex-start; flex-direction: column; } .topbar { gap: 14px; } .topbar-actions { width: 100%; } .topbar-actions .button { flex: 1; } .stats-row { gap: 7px; } .stat { padding: 12px; } .stat strong { font-size: 20px; } .catalog-column, .checklist-panel { padding: 17px; } .section-heading { align-items: stretch; flex-direction: column; } .search-box { width: 100%; } .product-item { grid-template-columns: 48px 1fr; } .product-thumb { height: 48px; width: 48px; } .product-price, .edit-link { grid-column: 2; } .dialog-actions { grid-template-columns: 1fr 1fr; } .dialog-actions span { display: none; } .dialog-actions .button-danger { grid-column: 1 / -1; } }
.panel-footer { flex-wrap: wrap; }
.signature-editor-panel { margin-left: auto; margin-right: auto; max-width: 1280px; }
@media (max-width: 560px) { .signature-editor-panel { padding: 17px; } .signature-fields-row { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .signature-products-heading { align-items: flex-start; flex-direction: column; } }
.imagem-indisponivel { align-items: center; background: #edf1eb; border-radius: 5px; color: var(--muted); display: flex; font-size: 10px; height: 58px; justify-content: center; text-align: center; width: 58px; }
.category-control { align-items: stretch; display: flex; gap: 8px; } .category-control select { flex: 1; } .category-control .button { flex: 0 0 auto; white-space: nowrap; }