:root { --ink:#17232c; --muted:#68757e; --line:#dbe1e3; --soft:#f3f6f5; --accent:#d54e43; --green:#184b48; }
* { box-sizing:border-box; }
body { margin:0; color:var(--ink); background:#e8eeec; font-family:"DM Sans",Arial,sans-serif; }
button,input,textarea { font:inherit; }
.app-shell { min-height:100vh; display:grid; grid-template-columns:270px 1fr; }
.editor-panel { background:var(--green); color:#fff; padding:42px 30px; }
.brand-mark { display:flex; align-items:center; gap:10px; margin-bottom:74px; letter-spacing:.16em; font-size:11px; font-weight:700; }
.brand-mark span { border:1px solid #a2bbb7; width:36px; height:36px; display:grid; place-items:center; font-size:13px; letter-spacing:0; }
.brand-mark small { font-size:10px; color:#c6d5d2; }
.editor-panel h1 { font-family:"Playfair Display",Georgia,serif; font-size:32px; line-height:1.05; margin:0 0 14px; }
.intro { color:#c6d5d2; font-size:14px; line-height:1.6; margin:0 0 30px; }
.action-stack { display:grid; gap:10px; }
button { cursor:pointer; border:0; border-radius:2px; font-weight:700; }
.primary-action { background:#f7f3e9; color:var(--green); padding:15px; text-align:left; display:flex; justify-content:space-between; }
.primary-action span { font-size:18px; line-height:12px; }
.pdf-action { background:var(--accent); color:#fff; padding:14px 15px; text-align:left; display:flex; justify-content:space-between; }
.pdf-action span { font-size:18px; line-height:12px; }
.secondary-action { background:transparent; color:#dbe7e4; border:1px solid #6f9791; padding:13px; }
.tip { border-top:1px solid #55807a; margin-top:42px; padding-top:22px; }
.tip strong { font-size:12px; text-transform:uppercase; letter-spacing:.12em; }.tip p { color:#c6d5d2; font-size:12px; line-height:1.55; }
.workspace { padding:42px; overflow:auto; display:flex; justify-content:center; align-items:flex-start; }
.quote-page { width:820px; min-height:1120px; background:#fff; box-shadow:0 12px 36px #52605d33; padding:60px 64px 38px; }
.quote-header { display:flex; justify-content:space-between; align-items:flex-start; border-bottom:3px solid var(--ink); padding-bottom:27px; }
.eyebrow,.section-label { color:var(--accent); text-transform:uppercase; letter-spacing:.15em; font-size:10px; font-weight:700; margin:0 0 7px; }.quote-header h2 { margin:0; font-family:"Playfair Display",Georgia,serif; font-size:48px; line-height:1; }.quote-subtitle { color:var(--muted); margin:8px 0 0; font-size:13px; }.company-logo { width:158px; height:auto; object-fit:contain; }
.client-section,.cost-section,.details-section,.materials-section { padding-top:29px; }.client-grid { display:grid; grid-template-columns:1fr 1fr; gap:19px 28px; }.client-grid label,.completion-line label,.job-notes { font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.08em; color:var(--muted); }.client-grid input,.completion-line input,.job-notes textarea,.other-material input[type=text] { display:block; width:100%; border:0; border-bottom:1px solid #aeb9bc; padding:7px 0 6px; outline:0; color:var(--ink); background:transparent; font-size:14px; text-transform:none; letter-spacing:0; }.client-grid input:focus,.completion-line input:focus,.job-notes textarea:focus,.other-material input[type=text]:focus { border-color:var(--accent); }.client-grid input::placeholder,input::placeholder,textarea::placeholder { color:#a4afb2; }
.section-heading { display:flex; justify-content:space-between; align-items:end; }.section-heading h3 { font-family:"Playfair Display",Georgia,serif; margin:0; font-size:23px; }.currency-pill { background:var(--green); color:#fff; font-size:11px; font-weight:700; letter-spacing:.1em; padding:7px 10px; }.cost-table { margin-top:18px; }.cost-row,.total-row { display:grid; grid-template-columns:1fr 140px; align-items:center; }.column-head { color:var(--muted); font-size:10px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; padding:0 10px 7px; }.cost-row:not(.column-head) { min-height:38px; background:var(--soft); margin-bottom:3px; padding:0 10px; }.cost-row input { border:0; background:transparent; outline:0; padding:8px 0; width:100%; color:var(--ink); }.cost-row .item-name { font-weight:600; }.amount-input { text-align:right; }.total-row { padding:14px 10px 0; font-size:16px; font-weight:700; text-transform:uppercase; }.total-row strong { text-align:right; color:var(--accent); font-size:20px; }
.compact { justify-content:flex-start; }.completion-line { margin-top:18px; }.completion-line input { display:inline-block; width:175px; margin-left:10px; }.job-notes { display:block; margin-top:20px; }.job-notes textarea { resize:vertical; line-height:1.4; padding-top:9px; }.materials-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-top:18px; }.material-check,.other-material { display:flex; gap:8px; align-items:center; font-size:13px; }.material-check input,.other-material input[type=checkbox] { accent-color:var(--accent); width:15px; height:15px; }.other-material { margin-top:16px; width:50%; border-bottom:1px solid var(--line); padding-bottom:5px; }.other-material span { white-space:nowrap; }.other-material input[type=text] { padding:3px 0; border-bottom:0; }
.quote-footer { display:flex; justify-content:space-between; align-items:flex-end; border-top:1px solid var(--line); margin-top:42px; padding-top:18px; color:var(--muted); font-size:10px; line-height:1.5; }.quote-footer strong { color:var(--ink); display:block; font-size:11px; }.quote-number { font-size:10px; color:var(--muted); letter-spacing:.1em; }.quote-number input { border:0; border-bottom:1px solid var(--line); width:70px; padding:2px; color:var(--ink); font-weight:700; outline:0; }
@media (max-width:800px) { .app-shell{grid-template-columns:1fr}.editor-panel{padding:24px}.brand-mark{margin-bottom:28px}.workspace{padding:18px}.quote-page{width:100%;min-height:0;padding:35px 24px}.company-logo{width:120px}.quote-header h2{font-size:39px}.client-grid,.materials-grid{grid-template-columns:1fr}.other-material{width:100%} }
@page { size:A4; margin:0; }
@media print { body{background:#fff}.no-print{display:none!important}.app-shell{display:block}.workspace{padding:0;display:block}.quote-page{width:210mm;min-height:297mm;box-shadow:none;padding:15mm 16mm 10mm}.quote-header h2{font-size:43px}.client-section,.cost-section,.details-section,.materials-section{padding-top:19px}.quote-footer{margin-top:23px}.cost-row:not(.column-head){min-height:30px}.job-notes textarea{min-height:35px}.company-logo{width:137px} }
