:root { color-scheme: light; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #17241c; background: #f4f3ed; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: linear-gradient(145deg, #eef3e9, #f8f7f2 48%, #e8eee6); }
#app { width: min(760px, calc(100% - 32px)); margin: 48px auto; }
.loading, .error { padding: 28px; border: 1px solid #d5ddd2; border-radius: 12px; background: #fffefa; color: #53635b; text-align: center; }
.card { overflow: hidden; border: 1px solid #d7dfd4; border-radius: 14px; background: #fffefa; box-shadow: 0 18px 50px #16291b15; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 18px; padding: 30px; background: #11221c; color: #f4f3ed; }
.hero-copy { min-width: 0; }
.eyebrow { margin: 0 0 6px; color: var(--accent, #dff171); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
h1 { margin: 0; font-size: clamp(28px, 7vw, 42px); line-height: 1.05; }
.sub { margin: 10px 0 0; color: #c8d7ce; font-size: 15px; }
.hero-right { display: flex; align-items: flex-start; justify-content: flex-end; }
.document-logo { width: 150px; height: 75px; object-fit: contain; object-position: right top; }
.status { grid-column: 1 / -1; justify-self: start; padding: 8px 11px; border-radius: 999px; background: var(--accent, #dff171); color: #17241c; font-size: 12px; font-weight: 800; white-space: nowrap; }
.content { padding: 30px; }
.identity { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 25px; border-bottom: 1px solid #dbe2d8; }
.label { margin: 0 0 6px; color: #718078; font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.value { margin: 0; font-size: 17px; font-weight: 750; }
.right { text-align: right; }
 .items { margin-top: 25px; }
.section-label { margin: 0 0 10px; color: #718078; font-size: 11px; font-weight: 800; letter-spacing: .1em; }
table { width: 100%; margin: 0; border-collapse: collapse; table-layout: fixed; }
th:first-child, td:first-child { width: 44%; padding-right: 10px; }
th:nth-child(2), td:nth-child(2) { width: 14%; white-space: nowrap; }
th:nth-child(3), td:nth-child(3) { width: 20%; white-space: nowrap; padding-right: 8px; }
th:nth-child(4), td:nth-child(4) { width: 22%; white-space: nowrap; }
th { color: #718078; font-size: 11px; letter-spacing: .08em; text-align: left; }
th, td { padding: 13px 0; border-bottom: 1px solid #e3e8e0; }
th:not(:first-child), td:not(:first-child) { text-align: right; }
.price-breakdown { width: min(100%, 300px); margin: 20px 0 0 auto; }
.price-breakdown > div { display: flex; justify-content: space-between; gap: 20px; padding: 6px 0; color: #53635b; font-size: 14px; }
.price-breakdown .price-discount { color: #28633f; }
.price-breakdown .quote-total { margin-top: 8px; padding-top: 14px; border-top: 2px solid #17241c; color: #17241c; font-size: 21px; font-weight: 850; }
.quote-total strong { font-size: 23px; }
.deposit { display: flex; justify-content: space-between; gap: 18px; align-items: center; margin-top: 14px; padding: 16px; border: 1px solid #cbd9a5; border-radius: 8px; background: #f5f9e8; }.deposit .label { margin-bottom: 4px; }.deposit-copy { margin: 0; color: #53635b; font-size: 14px; }.deposit-right { text-align: right; display: grid; gap: 4px; }.deposit-right strong { color: #17241c; font-size: 22px; }.deposit-right span { color: #53635b; font-size: 13px; font-weight: 700; }
.note { margin: 24px 0 0; padding: 16px; border-radius: 8px; background: #eef3e9; color: #53635b; line-height: 1.5; }.note-short { margin: 0; }.note-full { margin-top: 12px; white-space: pre-wrap; }.note-toggle { margin-top: 10px; padding: 0; border: 0; background: transparent; color: #17241c; font: inherit; font-weight: 800; text-decoration: underline; cursor: pointer; }
.photos { margin-top: 24px; }.photos .label { margin-bottom: 10px; }.photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }.photo-grid a { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 8px; background: #eef3e9; }.photo-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.footer { padding: 20px 30px; border-top: 1px solid #dbe2d8; color: #64756b; font-size: 14px; }
.response-actions, .response { margin-top: 24px; padding: 18px; border-radius: 9px; }
.response-actions { background: #eef3e9; border: 1px solid #d5dfd2; }
.response-actions h2 { margin: 0; font-size: 20px; }.response-actions p { color: #53635b; line-height: 1.45; }.response-buttons { display: flex; gap: 10px; margin-top: 14px; }.response-buttons button, .request-form button { border: 0; min-height: 46px; border-radius: 6px; padding: 0 16px; font: inherit; font-weight: 800; cursor: pointer; }.approve { background: var(--accent); color: #17241c; }.request { background: #17241c; color: #f4f3ed; }.request-form { margin-top: 16px; }.request-form label { display: block; font-size: 13px; font-weight: 800; color: #40514a; margin-bottom: 8px; }.request-form textarea { width: 100%; min-height: 112px; resize: vertical; border: 1px solid #b9c8bd; border-radius: 6px; padding: 11px; font: inherit; color: #17241c; margin-bottom: 10px; }.response-changes .response-buttons { margin-top: 9px; }.change-edit { min-height: 46px; border: 1px solid #c77769; border-radius: 6px; padding: 0 16px; background: transparent; color: #8f392b; font: inherit; font-weight: 800; cursor: pointer; }.response-error { color: #b83d2c !important; font-weight: 700; margin-bottom: 0; }.response { display: grid; gap: 5px; }.response-approved { background: #e4f3e8; border: 1px solid #acd0b5; color: #28633f; }.response-changes { background: #fff0ec; border: 1px solid #efb2a5; color: #8f392b; }.address { color: #64756b; }
@media (max-width: 560px) { #app { width: min(100% - 20px, 760px); margin: 10px auto; } .hero, .identity { padding: 22px; } .hero { grid-template-columns: minmax(0, 1fr) 150px; gap: 14px; } .document-logo { width: 150px; height: 75px; } .status { margin-top: 4px; } .content { padding: 22px; } .right { text-align: left; margin-top: 0; } th { font-size: 10px; } th, td { padding: 11px 0; font-size: 13px; } .price-breakdown { width: 100%; } .footer { padding: 18px 22px; } }
