:root{font:15px system-ui;color:#19382e;background:#f3f5f1}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,.button{background:#145e49;color:white;border:0;padding:12px 18px;border-radius:9px;cursor:pointer;text-decoration:none}button.secondary{background:#e8eee8;color:#19382e}input,select,textarea{width:100%;padding:12px;border:1px solid #ced8cf;border-radius:8px;background:white;color:#19382e}label{display:grid;gap:7px;margin:14px 0}h1{font-size:32px;letter-spacing:-1px}h2{font-size:20px}small,.muted{color:#6a7d72}aside{background:#143e32;color:white;width:230px;position:fixed;height:100vh;padding:30px 20px}aside strong{font-size:22px}nav{display:grid;gap:9px;margin-top:45px}nav button{text-align:left;background:transparent}nav button.active{background:#32604f}main{margin-left:230px;padding:38px;max-width:1500px}header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:25px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.card,section{background:#fff;border:1px solid #e0e6de;border-radius:14px;padding:24px;margin-bottom:20px}.card b{display:block;font-size:29px;margin-top:15px}.toolbar{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}.toolbar input{max-width:240px}table{width:100%;border-collapse:collapse;text-align:left}td,th{padding:16px 10px;border-bottom:1px solid #e9ede6}th{color:#6a7d72;font-size:12px;text-transform:uppercase}td button{padding:7px;margin:2px}.table{overflow:auto}.auth{max-width:450px;margin:7vh auto;padding:30px}.auth form,dialog form{display:grid}.auth h1{color:#145e49}dialog{border:0;border-radius:16px;width:560px;max-width:95vw;max-height:90vh;padding:28px}dialog::backdrop{background:#102b2480}.grid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}#notice{position:fixed;bottom:20px;right:20px;max-width:90vw;background:#19382e;color:white;border-radius:10px;padding:16px;display:none}.bar{height:9px;background:#e4ece5;border-radius:6px;margin:8px 0 18px;overflow:hidden}.bar span{display:block;height:100%;background:#519976}a{color:#145e49}.empty{text-align:center;padding:40px;color:#6a7d72}@media(max-width:760px){aside{position:static;width:auto;height:auto;padding:18px}nav{display:flex;overflow:auto;margin-top:16px}nav button{white-space:nowrap}main{margin:0;padding:20px}.cards{grid-template-columns:1fr}.card{margin-bottom:0}header{align-items:flex-start}h1{font-size:26px}.grid{grid-template-columns:1fr}td,th{padding:12px 7px}}
.check{display:flex;align-items:center;gap:8px}.check input{width:auto}.invoice-item{padding:15px;border:1px solid #cad8ce;border-radius:10px;margin:15px 0}fieldset{border:1px solid #d9e3db;border-radius:8px;max-height:190px;overflow:auto}#siteMap{height:340px;margin-top:16px;border-radius:8px}.site-pin{font-size:30px}#addressResults{display:grid;gap:6px;margin-top:10px}#modal:has(#invoiceItems){width:780px}
/* Entry experience: warm paper, forest green and architectural linework. */
.auth-layout{min-height:100svh;display:grid;grid-template-columns:minmax(420px,1.05fr) minmax(440px,1fr);background:#faf9f5;color:#203c32}.auth-story{position:relative;display:flex;flex-direction:column;overflow:hidden;padding:46px 8% 28px;background:#123f35;color:#dbe7dd}.auth-brand{display:inline-flex;align-items:center;gap:12px;color:inherit;text-decoration:none;width:fit-content;font-size:25px;font-weight:750;letter-spacing:-1px;line-height:1.05}.brand-symbol{display:grid;place-items:center;width:44px;height:48px;color:#e6b978}.brand-symbol svg{width:42px}.brand-light{font-weight:350}.auth-brand small{display:block;font-size:8px;letter-spacing:2.3px;font-weight:500;color:#a6bfb0;margin-top:9px}.story-copy{position:relative;z-index:1;margin-top:clamp(55px,9vh,105px)}.auth-eyebrow{font-size:10px;font-weight:650;letter-spacing:2px;color:#778579;display:flex;align-items:center;gap:9px}.story-copy .auth-eyebrow{color:#b8cbb9}.auth-eyebrow i{height:6px;width:6px;background:#e6b978;border-radius:50%}.story-copy h2{font-size:clamp(36px,3.8vw,60px);line-height:1.12;font-weight:450;letter-spacing:-2px;margin:25px 0}.story-copy h2 em{color:#e6b978;font-family:Georgia,serif;font-weight:400}.story-copy p{font-size:14px;line-height:1.8;color:#acc3b6}.architecture{position:relative;margin:14px -10% 20px;flex:1;display:flex;flex-direction:column;justify-content:center;min-height:230px}.architecture svg{display:block;width:100%;max-height:310px;color:#acc3b6}.drawing-note{font-size:10px;color:#9cb9aa;display:flex;align-items:center;gap:9px;justify-content:center;margin-top:4px}.drawing-note span{height:1px;width:22px;background:#e6b978}.story-footer{display:flex;justify-content:space-between;gap:12px;padding-top:20px;border-top:1px solid #ffffff18;font-size:10px;letter-spacing:.3px;color:#aac0b3}.auth-entry{display:flex;position:relative;flex-direction:column;justify-content:center;padding:70px 12% 65px}.auth.auth-panel{width:100%;max-width:385px;margin:auto;padding:0;background:none;border:0;border-radius:0}.auth-panel h1{font-size:42px;color:#203c32;line-height:1.12;letter-spacing:-1.7px;font-weight:560;margin:20px 0 17px}.auth-intro{font-size:14px;line-height:1.7;color:#778078;max-width:350px;margin:0 0 30px}.auth-panel label{font-size:12px;font-weight:600;gap:9px;margin:0 0 20px}.auth-panel label small{font-weight:400;font-size:11px}.auth-panel input,.auth-panel select{font-size:14px;font-weight:400;background:#fffefa;border:1px solid #dce0d6;border-radius:7px;min-height:49px;padding:13px 15px;transition:border-color .15s,box-shadow .15s}.auth-panel input::placeholder{color:#a1a69c}.auth-panel input:focus,.auth-panel select:focus{outline:none;border-color:#387a60;box-shadow:0 0 0 3px #387a6018}.password-input{display:block;position:relative}.password-input input{padding-right:49px}.password-toggle{position:absolute;right:5px;top:4px;width:40px;height:41px;display:grid;place-items:center;background:none;color:#8b958a;padding:10px}.password-toggle svg{width:20px}.password-toggle:hover{background:#edf0e8;color:#145e49}.auth-options{display:flex;justify-content:space-between;gap:12px;font-size:10px;color:#8a9388;align-items:center;margin:-3px 0 24px}.auth-options button,.auth-switch button{background:none;color:#245e48;padding:0;font-size:11px;font-weight:650;border-radius:2px}.auth-options button:hover,.auth-switch button:hover{text-decoration:underline;text-underline-offset:4px}.auth-panel .auth-submit{display:flex;align-items:center;justify-content:space-between;background:#174f3e;color:#fffef7;border-radius:7px;min-height:50px;padding:15px 18px;font-size:13px;font-weight:600;box-shadow:0 4px 10px #173e3210;transition:background .15s,transform .15s}.auth-submit span{font-size:19px;color:#c4d6c2;line-height:1}.auth-panel .auth-submit:hover{background:#23674f;transform:translateY(-1px)}.auth-panel .auth-submit:disabled{opacity:.6;cursor:wait;transform:none}.auth-switch{border-top:1px solid #e3e6dd;text-align:center;margin-top:30px;padding-top:25px;color:#8a9388;font-size:12px}.auth-switch button{font-size:12px;margin-left:5px}.auth-switch>span{margin:0 7px}.auth-bottom{display:flex;justify-content:center;align-items:center;gap:7px;margin-top:48px;font-size:10px;color:#909a8e}.auth-bottom svg{width:15px;height:15px}.mobile-brand{display:none}.auth-error{color:#993c2f;background:#f9ece5;padding:12px;border-radius:6px;font-size:12px;line-height:1.5;margin:0 0 16px}.auth-error[hidden]{display:none}button:focus-visible,a:focus-visible{outline:3px solid #c9a15f;outline-offset:4px}
@media(min-width:1500px){.auth-story{padding-left:12%;padding-right:12%}.auth-entry{padding-left:15%;padding-right:15%}}@media(max-width:950px){.auth-layout{grid-template-columns:1fr 1fr}.auth-story{padding:35px 8% 25px}.auth-entry{padding:55px 9% 35px}.auth-panel h1{font-size:36px}.story-copy h2{font-size:43px}.story-footer span:last-child{display:none}.auth-options>span{display:none}.auth-options{justify-content:flex-end}.architecture{margin-left:-15%;margin-right:-15%}}@media(max-width:680px){.auth-layout{display:flex;flex-direction:column;min-height:100svh}.auth-story{display:none}.auth-entry{flex:1;padding:30px 26px 24px;justify-content:flex-start}.mobile-brand{display:block;margin:0 auto 55px;width:100%;max-width:385px}.mobile-brand .auth-brand{color:#174f3e;font-size:23px}.mobile-brand .brand-symbol{color:#a67c43}.mobile-brand .auth-brand small{color:#889a87;font-size:7px}.auth.auth-panel{margin:0 auto}.auth-panel h1{font-size:39px;line-height:1.12;margin-top:18px}.auth-intro{margin-bottom:29px}.auth-bottom{margin-top:auto;padding-top:45px;font-size:10px}.auth-options>span{display:block;font-size:9px}.auth-options{justify-content:space-between}.auth-panel input,.auth-panel select{font-size:16px}.auth-switch{margin-top:27px}.auth-entry:has([name=tenant_name]) .mobile-brand{margin-bottom:30px}}@media(prefers-reduced-motion:reduce){.auth-panel *{transition:none!important;transform:none!important}}
/* Catalogs follow the entry palette and quiet, spacious typography. */
main:has(.catalog-grid){background:#faf9f5;min-height:100svh;max-width:none}main:has(.catalog-grid)>header{border-bottom:1px solid #e2e5db;padding-bottom:24px;margin-bottom:30px}main:has(.catalog-grid)>header small{font-size:10px;letter-spacing:2px;color:#778579}main:has(.catalog-grid)>header h1{font-weight:550;letter-spacing:-1.5px;font-size:40px;margin:12px 0 0;color:#203c32}.catalog-intro{margin-bottom:30px}.catalog-intro>p{font-size:23px;line-height:1.5;letter-spacing:-.5px;margin:14px 0 0}.catalog-intro>p>span{font-size:14px;letter-spacing:0;color:#778078}.catalog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}.catalog-card{padding:0;margin:0;border:1px solid #e1e5da;border-radius:14px;background:#fffefa;overflow:hidden;box-shadow:0 4px 20px #203c3203}.catalog-heading{padding:25px 24px 22px;margin:0;gap:14px;align-items:center}.catalog-icon{flex-shrink:0;display:grid;place-items:center;background:#edf1e8;border:1px solid #e1e8da;width:44px;height:44px;border-radius:11px;font-size:25px;color:#376550}.catalog-heading>div{flex:1;min-width:0}.catalog-heading h2{font-size:18px;letter-spacing:-.5px;font-weight:600;margin:0 0 6px;color:#203c32}.catalog-heading p{font-size:12px;color:#7d877b;line-height:1.5;margin:0}.catalog-count{display:grid;place-items:center;min-width:28px;height:28px;padding:0 7px;background:#f3eedf;border-radius:8px;font-size:12px;color:#8b7047}.catalog-list{padding:0 24px}.catalog-row{display:flex;align-items:center;gap:14px;padding:19px 0;border-top:1px solid #e9ebdf;flex-wrap:wrap}.catalog-details{flex:1;min-width:100px;overflow-wrap:anywhere}.catalog-details strong{display:block;font-weight:550;font-size:14px;color:#254638;line-height:1.5}.catalog-details small{display:block;font-size:11px;color:#8a9385;line-height:1.6;margin-top:4px}.catalog-value{text-align:right}.catalog-value small{display:block;font-size:9px;color:#8a9385;margin-bottom:5px}.catalog-value>span{font-size:13px;font-weight:600;font-variant-numeric:tabular-nums;color:#28513f}.catalog-actions{display:flex;gap:4px;justify-content:flex-end;width:100%}.catalog-actions button{font-size:11px;padding:7px 10px;border-radius:5px}.catalog-actions .secondary{background:#edf1e8;color:#376550}.catalog-actions .catalog-delete{background:transparent;color:#956b5f}.catalog-actions .catalog-delete:hover{background:#f8ede6;color:#8e4031}.catalog-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:17px 24px;background:#f7f7ef;border-top:1px solid #e6e9dc}.catalog-footer>span{font-size:11px;color:#88917f}.catalog-footer button{font-size:12px;font-weight:550;padding:11px 14px;background:#174f3e;border-radius:7px}.catalog-footer button:hover{background:#23674f}.catalog-footer button>span{color:#e6b978;margin-right:5px}.catalog-empty{border-top:1px solid #e9ebdf;text-align:center;padding:30px 10px 35px}.catalog-empty>span{display:block;color:#a98b58;font-size:30px;margin-bottom:12px}.catalog-empty strong{display:block;font-size:14px;font-weight:500;color:#4c6655}.catalog-empty p{font-size:12px;line-height:1.6;color:#8a9385;margin:8px 0 0}.catalog-modal{background:#faf9f5;padding:34px;width:520px;box-shadow:0 24px 90px #102b2433;border:1px solid #e1e5da}.catalog-modal::backdrop{background:#102b2499;backdrop-filter:blur(4px)}.catalog-modal h2{font-size:29px;letter-spacing:-1px;font-weight:550;margin:18px 0 0;color:#203c32}.catalog-form-intro{font-size:13px;line-height:1.7;color:#778078;margin:12px 0 22px}.catalog-modal label{font-size:12px;font-weight:600;margin:0 0 20px;gap:9px}.catalog-modal label small{font-size:10px;font-weight:400}.catalog-modal input,.catalog-modal textarea{font-size:14px;font-weight:400;background:#fffefa;border-color:#dce0d6;padding:13px 15px;min-height:49px;border-radius:7px}.catalog-modal textarea{resize:vertical}.catalog-modal input::placeholder{color:#a1a69c}.catalog-modal input:focus,.catalog-modal textarea:focus{outline:none;border-color:#387a60;box-shadow:0 0 0 3px #387a6018}.catalog-modal .toolbar{border-top:1px solid #e1e5da;padding-top:22px;margin:6px 0 0;flex-direction:row-reverse;flex-wrap:wrap}.catalog-modal .toolbar button{font-size:12px;min-height:44px;border-radius:7px;background:#174f3e}.catalog-modal .toolbar .secondary{background:#e8eee4;color:#376550}
@media(min-width:1600px){.catalog-grid{max-width:1400px}.catalog-actions{width:auto}}@media(max-width:1100px){.catalog-grid{grid-template-columns:1fr}}@media(max-width:760px){main:has(.catalog-grid)>header h1{font-size:32px}.catalog-intro>p{font-size:21px}.catalog-heading{padding:20px;gap:11px}.catalog-heading h2{font-size:17px}.catalog-heading p{font-size:11px}.catalog-list{padding:0 20px}.catalog-footer{padding:16px 20px}.catalog-modal{padding:26px 22px}.catalog-modal input,.catalog-modal textarea{font-size:16px}.catalog-modal h2{font-size:26px}.catalog-grid{gap:20px}.catalog-icon{width:38px;height:40px}.catalog-modal .toolbar button{flex:1}.catalog-modal .auth-eyebrow{font-size:9px}}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.phone-field{border:0;padding:0;margin:0 0 20px;overflow:visible;max-height:none;min-width:0}.phone-field legend{font-size:12px;font-weight:600;margin-bottom:9px;padding:0}.phone-controls{display:grid;grid-template-columns:95px minmax(0,1fr);gap:10px}.phone-controls label,.auth-panel .phone-controls label,.catalog-modal .phone-controls label{margin:0}.phone-field>small{display:block;font-size:10px;margin-top:7px;color:#88917f}.supplier-logo{float:left;width:42px;height:42px;object-fit:contain;border:1px solid #e1e5da;border-radius:8px;background:white;margin-right:12px}.supplier-logo-preview{width:90px;height:90px;object-fit:contain;background:white;border:1px solid #e1e5da;border-radius:10px}.supplier-logo-preview[hidden]{display:none}.supplier-logo-editor{display:flex;gap:16px;align-items:center;margin-bottom:20px}.whatsapp-link{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border-radius:5px;font-size:11px;text-decoration:none;background:#e6f1e8;color:#236747}.whatsapp-link svg{width:18px;height:18px}.whatsapp-link:hover{background:#d7e9da}.supplier-matches{padding:18px;background:#f7f3e8;border:1px solid #dac9a6;border-radius:10px;margin:0 0 20px}.supplier-matches>strong{font-size:14px;color:#254638}.supplier-matches p{font-size:12px;color:#6a7768;line-height:1.7}.supplier-matches button{display:block;width:100%;text-align:left;margin-top:9px;font-size:12px;white-space:normal}.supplier-matches button small{color:inherit}.catalog-modal .phone-field legend{font-size:12px}.catalog-modal .phone-controls input{padding-left:10px;padding-right:10px}

.supplier-matches{grid-column:1/-1}
