:root{--ink:#222a29;--muted:#65706c;--orange:#e65d25;--line:#dedfd8;--blue:#244e47;--blue-soft:#eff4f1;--surface:#fff;--bg:#f5f4ef;--amber-soft:#fff7e8;--amber:#815512;--green-soft:#edf6f0;--shadow:0 12px 35px #24342c06}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input,select,textarea{font:inherit}button,summary,select{cursor:pointer}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #e6874d;outline-offset:3px}[hidden]{display:none!important}h1,h2,h3,h4,p{margin:0}h2,h3{line-height:1.25}h2{font-size:24px;font-weight:650;letter-spacing:-.6px}h3{font-size:17px;font-weight:650}button:disabled{opacity:.6;cursor:wait}.shell{max-width:1240px;padding:0 38px;margin:auto}.app-header{height:100px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.dakota-brand{width:146px;height:52px;object-fit:contain;mix-blend-mode:multiply}.header-label,.eyebrow{font-size:10px;letter-spacing:1.6px;font-weight:750}.header-label{color:var(--muted)}.eyebrow{display:block;color:#ae4d25;margin-bottom:12px}.intro{padding:53px 0 38px;max-width:700px}.intro h1{font-size:clamp(36px,4.5vw,54px);line-height:1.07;font-weight:650;letter-spacing:-2px;margin:0 0 19px}.intro>p{font-size:16px;line-height:1.65;color:var(--muted);max-width:570px}.intro-tags{display:flex;gap:24px;margin-top:28px;font-size:11px;font-weight:650;color:#747b70}.workspace{display:grid;grid-template-columns:minmax(330px,420px) minmax(0,1fr);gap:24px;align-items:start}.panel{background:var(--surface);border:1px solid var(--line);border-radius:15px;box-shadow:var(--shadow);min-width:0}.input-panel{padding:27px}.panel-heading>p{font-size:13px;color:var(--muted);margin-top:9px}.form-step{padding:25px 0;border-bottom:1px solid #eeeee7}.step-title{display:flex;align-items:center;gap:11px;margin-bottom:18px}.step-number{width:26px;height:26px;display:grid;place-items:center;font-size:11px;background:#f4f3ec;border-radius:50%;color:#62685f;flex-shrink:0}.field{display:flex;flex-direction:column;gap:7px;margin-top:14px;font-size:12px;font-weight:650}.field>span:first-child{color:#566059}.field small{font-weight:400;color:var(--muted);font-size:11px}.field input,.field select,textarea{width:100%;background:#fff;color:var(--ink);border:1px solid #d7dcd4;border-radius:7px;min-height:45px;padding:10px 11px;font-weight:450;font-size:14px;min-width:0}.input-with-unit{display:flex;position:relative}.input-with-unit input{padding-right:45px}.input-with-unit>b{position:absolute;right:13px;top:12px;color:var(--muted);font-size:12px;font-weight:400;pointer-events:none}.field-help{font-size:12px;color:var(--muted);margin:12px 0;line-height:1.65}.field-grid{display:grid;gap:13px}.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.height-preview,.plan-applied-note{font-size:12px;color:#456154;background:#f1f5ef;padding:12px;border-radius:7px;margin-top:15px}.measure-settings{margin-top:14px}.measure-settings summary{font-size:12px;color:#5c6860}.optional-box{border:1px solid var(--line);border-radius:8px;margin:23px 0 15px}.optional-box summary{padding:14px 12px;font-weight:600;font-size:12px}.optional-box summary small{font-weight:400;color:var(--muted);margin-left:8px}.optional-content{padding:0 13px 16px}.default-note{font-size:11px;color:var(--muted);line-height:1.65}.form-actions{display:grid;gap:8px;margin-top:21px}.button{border:1px solid transparent;border-radius:7px;min-height:43px;padding:11px 15px;font-size:12px;font-weight:650;display:inline-flex;align-items:center;justify-content:center;gap:10px;text-decoration:none;line-height:1.35}.button-primary{background:var(--orange);color:white}.button-primary:hover{background:#cd4d19}.button-secondary{background:#fff;border-color:#d7dcd4;color:#3b4d42}.button-ghost{background:transparent;color:#68726c}.button-primary>span{font-size:18px;margin-left:auto}.form-error{background:#fff1ed;border:1px solid #edb49e;border-radius:8px;padding:14px;font-size:12px;margin-top:15px;color:#81391f}.form-error ul{padding-left:17px;margin-bottom:0}.empty-state{padding:55px 43px;min-height:515px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;background:#fdfdf9}.empty-state h2{font-size:28px;margin:4px 0 13px}.empty-state>p{font-size:14px;color:var(--muted);max-width:350px}.empty-state .empty-note{font-size:10px;font-weight:650;letter-spacing:.2px;border-top:1px solid var(--line);margin-top:26px;padding-top:18px}.preview-terrace{width:144px;display:grid;grid-template-columns:repeat(3,1fr);gap:4px;transform:skewY(-8deg);margin:0 0 47px 6px}.preview-terrace i{height:37px;border:1px solid #c4cec0;background:#e6eae1;position:relative}.preview-terrace i:before{content:"";width:5px;height:5px;border-radius:50%;background:#d5794d;position:absolute;top:-4px;left:-4px}.preview-terrace i:nth-child(3n){background:#f4e5d4}.report{overflow:hidden}.report-header{padding:26px 28px 0}.report-header h2{font-size:23px}.report-header>p{font-size:12px;color:var(--muted);margin-top:9px}.report-date{font-size:10px!important}.budget-summary{margin:23px 26px 0;padding:25px 23px;background:#243d32;border-radius:10px;color:#fff}.budget-summary>span{font-size:9px;letter-spacing:1.3px;color:#d5e1cc;font-weight:650;display:block}.budget-summary>strong{display:block;font-size:45px;font-weight:550;line-height:1.2;letter-spacing:-1.4px;margin:10px 0}.budget-summary .unit-price{font-size:12px;color:#e1e8dc}.budget-summary .price-basis{font-size:12px;color:#cfd9c8;line-height:1.6;margin-top:18px;border-top:1px solid #ffffff26;padding-top:15px}.adjustment-note{margin:15px 26px 0;border-left:3px solid #d07b4a;background:#faf5ed;padding:13px 15px;font-size:12px;color:#69533f}.report-section{padding:22px 27px;border-bottom:1px solid #eeeee7}.report-section h3{margin-bottom:11px}.report-section>p{font-size:12px;color:var(--muted);margin-top:8px;line-height:1.65}.scope-section{padding-top:9px;padding-bottom:20px}.scope-section p{font-size:11px}.materials-details{margin:0 26px;border-bottom:1px solid var(--line);padding:17px 0}.materials-details summary{font-weight:650;font-size:13px}.materials-details summary>span{font-weight:400;color:var(--muted);font-size:11px;margin-left:10px}.table-scroll{overflow:auto;margin-top:15px}.public-material-table{width:100%;border-collapse:collapse;font-size:11px;table-layout:auto}.public-material-table th{text-align:left;color:#647066;font-size:10px;padding:10px 7px;background:#f1f4ee}.public-material-table th:not(:first-child),.public-material-table td:not(:first-child){text-align:right;white-space:nowrap}.public-material-table td{border-bottom:1px solid #e4e7e0;padding:12px 7px;vertical-align:top}.public-material-table td:first-child{width:49%;min-width:145px}.public-material-table b{font-size:11px;font-weight:550;display:block}.public-material-table small{display:block;font-size:9px;color:var(--muted);margin-top:4px}.plan-canvas{margin-top:16px;border:1px solid #e2e6dc;border-radius:8px;background:#fcfdfb;overflow:hidden}.support-plan-svg,.system-module-svg{display:block;width:100%;height:auto}.support-plan-svg{max-height:330px}.support-plan-svg text{font:700 13px Arial,sans-serif;fill:#526772}.plan-arrow{fill:none;stroke:#527080;stroke-width:2;stroke-dasharray:7 5;marker-end:url(#arrowHead)}.plan-legend{display:flex;flex-wrap:wrap;gap:8px 13px;padding:13px 0 5px}.plan-legend-item{display:flex;align-items:center;gap:7px;font-size:10px;color:var(--muted)}.legend-dot{width:9px;height:9px;border-radius:50%;display:inline-block;flex-shrink:0}.plan-note{font-size:10px!important}.system-module-plan{border-top:1px solid var(--line);padding:12px}.system-module-heading{display:flex;justify-content:space-between;gap:8px;font-size:10px}.system-module-plan>p{font-size:10px;color:var(--muted)}.estimate-notes{background:#fcfcf8}.estimate-notes h3{font-size:13px}.estimate-notes>p{font-size:11px}.report-actions{display:flex;flex-wrap:wrap;gap:7px;padding:22px 26px}.download-status{padding:0 26px 22px;font-size:12px}.download-status p{margin-bottom:10px}.download-status textarea{height:190px;font-size:12px;margin-top:10px}.report-print-footer{display:none}.app-footer{padding:30px 0;margin-top:16px;display:flex;justify-content:space-between;gap:20px;align-items:center;color:var(--muted);font-size:11px}.app-footer div{display:flex;flex-direction:column;gap:3px}.app-footer b{font-weight:550}.app-footer p{max-width:280px}.plan-reader{margin-top:24px;box-shadow:none}.plan-reader>summary{font-size:13px!important}.plan-reader-body{padding:24px}.grow{flex:1}.plan-reader h3{font-size:17px}.plan-reader .button{font-size:11px}.plan-reader label.field{margin-top:0}.plan-reader small{font-weight:400}
@media(max-width:960px){.shell{padding:0 24px}.workspace{grid-template-columns:minmax(300px,360px) minmax(0,1fr);gap:18px}.input-panel{padding:22px}.budget-summary>strong{font-size:36px}.budget-summary{padding:21px 18px;margin-left:19px;margin-right:19px}.adjustment-note{margin-left:19px;margin-right:19px}.empty-state{padding:40px 25px}.report-header,.report-section{padding-left:21px;padding-right:21px}.report-actions{padding-left:19px;padding-right:19px}.public-material-table{min-width:420px}}
@media(max-width:740px){.shell{padding:0 17px}.app-header{height:78px}.dakota-brand{width:115px;height:43px}.header-label{font-size:8px;letter-spacing:1px}.intro{padding:33px 0 29px}.intro h1{font-size:38px;letter-spacing:-1.5px}.intro>p{font-size:14px}.intro-tags{gap:15px;font-size:9px;margin-top:22px}.workspace{grid-template-columns:1fr;gap:18px}.input-panel{padding:23px}.empty-state{min-height:315px;padding:30px}.empty-state h2{font-size:24px}.preview-terrace{width:100px;margin-bottom:26px}.preview-terrace i{height:24px}.budget-summary>strong{font-size:42px}.report-header{padding-top:23px}.report-actions .button{flex-grow:1}.app-footer{display:block}.app-footer p{margin-top:16px}.plan-reader>summary{padding:18px!important}.plan-reader-body{padding:14px}.plan-open-label{display:none}.plan-reader>summary small{font-size:10px!important}.form-actions .button-primary{min-height:49px}.public-material-table{min-width:440px}.plan-legend{gap:9px}.plan-legend-item{font-size:9px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
.results-panel{min-width:0}
@media(max-width:740px){.workspace{grid-template-columns:minmax(0,1fr)}}

.text-button{border:0;padding:0;background:transparent;color:#586d5e;font-size:11px;text-decoration:underline;text-underline-offset:3px;margin-top:9px;text-align:left}
@media(max-width:740px){.public-material-table{min-width:0;display:block}.public-material-table thead{display:none}.public-material-table tbody{display:block}.public-material-table tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-bottom:1px solid #e4e7e0;padding:12px 0}.public-material-table td{display:block;padding:5px 3px;border:0;white-space:normal!important;text-align:left!important}.public-material-table td:first-child{grid-column:1/-1;width:auto;min-width:0;padding-bottom:11px}.public-material-table td:nth-child(2):before,.public-material-table td:nth-child(3):before,.public-material-table td:nth-child(4):before{display:block;font-size:9px;color:var(--muted);margin-bottom:5px}.public-material-table td:nth-child(2):before{content:"Unidades"}.public-material-table td:nth-child(3):before{content:"PVP / ud."}.public-material-table td:nth-child(4):before{content:"Importe"}}

/* Product photographs stay next to their own reference and public price. */
.material-identity{display:flex;align-items:center;gap:13px;text-align:left}.material-identity>div{min-width:0}.material-photo{display:block;width:96px;height:94px;flex:0 0 96px;object-fit:contain;background:#fff;border:1px solid #edf0e9;border-radius:8px;padding:5px}.public-material-table td{vertical-align:middle}.public-material-table td:first-child{width:53%}.public-material-table b{font-size:12px}.public-material-table small{overflow-wrap:anywhere;white-space:normal}.public-material-table th:not(:first-child),.public-material-table td:not(:first-child){padding-left:6px;padding-right:6px}
@media(min-width:741px) and (max-width:1100px){.material-identity{display:block}.material-photo{width:100px;height:90px;margin-bottom:10px}.public-material-table{min-width:0}.public-material-table td:first-child{min-width:115px}.public-material-table th:not(:first-child),.public-material-table td:not(:first-child){white-space:normal;font-size:10px}}
@media(max-width:740px){.material-identity{gap:15px;min-height:108px}.material-photo{width:108px;height:104px;flex-basis:108px;padding:6px}.public-material-table td:first-child{width:auto}.public-material-table b{font-size:13px}.public-material-table small{font-size:10px}.public-material-table td:not(:first-child){font-size:12px;padding-top:10px}.public-material-table td:nth-child(2):before,.public-material-table td:nth-child(3):before,.public-material-table td:nth-child(4):before{font-size:10px}.public-material-table tr{padding:15px 0}}

/* The outer table only supplies a repeated footer in paged printing. */
.print-document,.print-document>tbody,.print-document>tbody>tr,.print-document>tbody>tr>.print-content{display:contents}.print-document>tfoot{display:none}
