: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: flex; justify-content: space-between; gap: 24px; padding: 30px; background: #11221c; color: #f4f3ed; }
.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; }
.status { align-self: flex-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; }
table { width: 100%; margin: 25px 0 0; border-collapse: collapse; }
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; }
.total { display: flex; justify-content: flex-end; gap: 32px; margin-top: 22px; font-size: 22px; font-weight: 850; }
.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; }
.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-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; } .content { padding: 22px; } .hero { display: block; } .status { display: inline-block; margin-top: 18px; } .right { text-align: left; margin-top: 16px; } th:nth-child(2), td:nth-child(2) { display: none; } .footer { padding: 18px 22px; } }
