:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}.sidebar{position:fixed;top:0;left:0;width:16rem;height:100vh;background:linear-gradient(180deg,#1e293b,#334155);color:#fff;display:flex;flex-direction:column;z-index:1000;transform:translate(-100%);transition:transform .3s ease;box-shadow:4px 0 8px #0000001a}.sidebar--open{transform:translate(0)}.sidebar--closed{transform:translate(-100%)}.sidebar__header{padding:1.5rem;border-bottom:1px solid rgba(255,255,255,.1)}.sidebar__logo{display:flex;align-items:center;gap:.75rem}.sidebar__logo-icon{font-size:1.5rem}.sidebar__logo-text{font-size:1.25rem;font-weight:700;background:linear-gradient(135deg,#fbbf24,#f59e0b);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}.sidebar__nav{flex:1;padding:1.5rem 0;overflow-y:auto}.sidebar__menu{list-style:none;margin:0;padding:0}.sidebar__menu-item{margin-bottom:.25rem}.sidebar__menu-link{display:flex;align-items:center;gap:.75rem;padding:.75rem 1.5rem;color:#cbd5e1;text-decoration:none;transition:all .2s ease;border-radius:0;position:relative}.sidebar__menu-link:hover{background:#ffffff1a;color:#fff}.sidebar__menu-link--active{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;box-shadow:0 2px 8px #667eea4d}.sidebar__menu-link--active:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:#fbbf24}.sidebar__menu-icon{font-size:1.125rem;min-width:1.5rem;text-align:center}.sidebar__menu-text{font-weight:500;font-size:.875rem}.sidebar__footer{padding:1.5rem;border-top:1px solid rgba(255,255,255,.1)}.sidebar__user{display:flex;align-items:center;gap:.75rem}.sidebar__user-avatar{width:2.5rem;height:2.5rem;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.125rem}.sidebar__user-info{flex:1;min-width:0}.sidebar__user-name{font-weight:600;font-size:.875rem;line-height:1.2}.sidebar__user-role{font-size:.75rem;color:#94a3b8;line-height:1.2}.sidebar__overlay{position:fixed;inset:0;background:#00000080;z-index:999;display:none}@media (min-width: 1024px){.sidebar--open{transform:translate(0);position:relative;box-shadow:none}.sidebar--closed{transform:translate(0)}}@media (max-width: 1023px){.sidebar__overlay{display:block}}@media (max-width: 640px){.sidebar{width:14rem}.sidebar__header,.sidebar__footer{padding:1rem}.sidebar__menu-link{padding:.625rem 1rem}}.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;border:none;border-radius:.5rem;font-weight:500;font-family:inherit;text-decoration:none;cursor:pointer;transition:all .2s ease;position:relative;white-space:nowrap}.btn--primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;box-shadow:0 2px 8px #667eea40}.btn--primary:hover:not(.btn--disabled){transform:translateY(-2px);box-shadow:0 4px 16px #667eea59}.btn--secondary{background:#f8fafc;color:#475569;border:1px solid #e2e8f0}.btn--secondary:hover:not(.btn--disabled){background:#f1f5f9;border-color:#cbd5e1}.btn--success{background:linear-gradient(135deg,#10b981,#059669);color:#fff;box-shadow:0 2px 8px #10b98140}.btn--success:hover:not(.btn--disabled){transform:translateY(-2px);box-shadow:0 4px 16px #10b98159}.btn--danger{background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff;box-shadow:0 2px 8px #ef444440}.btn--danger:hover:not(.btn--disabled){transform:translateY(-2px);box-shadow:0 4px 16px #ef444459}.btn--ghost{background:transparent;color:#64748b;border:none}.btn--ghost:hover:not(.btn--disabled){background:#f1f5f9;color:#475569}.btn--small{padding:.5rem 1rem;font-size:.875rem;min-height:2rem}.btn--medium{padding:.75rem 1.5rem;font-size:.875rem;min-height:2.5rem}.btn--large{padding:1rem 2rem;font-size:1rem;min-height:3rem}.btn--full-width{width:100%}.btn--disabled{opacity:.6;cursor:not-allowed;transform:none!important;box-shadow:none!important}.btn--loading{cursor:wait}.btn--loading .btn__text{opacity:.7}.btn__spinner{width:1rem;height:1rem;border:2px solid transparent;border-top:2px solid currentColor;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.btn__icon{display:flex;align-items:center;font-size:1.125rem}.btn__text{display:flex;align-items:center}.input{display:flex;flex-direction:column;gap:.5rem}.input--full-width{width:100%}.input__label{font-size:.875rem;font-weight:500;color:#374151;display:flex;align-items:center;gap:.25rem}.input__required{color:#ef4444;font-weight:600}.input__wrapper{position:relative;display:flex;align-items:center}.input__field{width:100%;border:1px solid #d1d5db;border-radius:.5rem;background:#fff;color:#111827;font-size:.875rem;transition:all .2s ease;outline:none}.input__field:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.input__field:disabled{background:#f9fafb;color:#9ca3af;cursor:not-allowed}.input__field--error{border-color:#ef4444}.input__field--error:focus{border-color:#ef4444;box-shadow:0 0 0 3px #ef44441a}.input__field--small{padding:.5rem .75rem;font-size:.8125rem;min-height:2rem}.input__field--medium{padding:.75rem 1rem;font-size:.875rem;min-height:2.5rem}.input__field--large{padding:1rem 1.25rem;font-size:1rem;min-height:3rem}.input__prefix,.input__suffix{position:absolute;display:flex;align-items:center;color:#6b7280;font-size:.875rem;z-index:1}.input__prefix{left:1rem}.input__suffix{right:1rem}.input__field--with-prefix{padding-left:2.5rem}.input__field--with-suffix{padding-right:2.5rem}.input__helper{font-size:.8125rem;color:#6b7280;line-height:1.4}.input__error{font-size:.8125rem;color:#ef4444;line-height:1.4;display:flex;align-items:center;gap:.25rem}.input__error:before{content:"⚠";font-size:.75rem}.card{background:#fff;border-radius:.75rem;border:1px solid #e5e7eb;box-shadow:0 1px 3px #0000001a;transition:all .2s ease;overflow:hidden}.card--hoverable:hover{box-shadow:0 4px 12px #00000026;transform:translateY(-2px)}.card--outlined{border:2px solid #e5e7eb;box-shadow:none}.card--elevated{box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f}.card--glass{background:#fffffff2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.2)}.card--small .card__header,.card--small .card__body{padding:.75rem}.card--medium .card__header,.card--medium .card__body{padding:1.5rem}.card--large .card__header,.card--large .card__body{padding:2rem}.card__header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;border-bottom:1px solid #f3f4f6;background:#fafafa}.card__header-content{flex:1;min-width:0}.card__title{margin:0;font-size:1.125rem;font-weight:600;color:#111827;line-height:1.4}.card__subtitle{margin:.25rem 0 0;font-size:.875rem;color:#6b7280;line-height:1.4}.card__actions{display:flex;align-items:center;gap:.5rem;flex-shrink:0}@media (max-width: 640px){.card__header{flex-direction:column;align-items:stretch}.card__actions{justify-content:flex-end}}.table-container{overflow-x:auto;border-radius:8px;border:1px solid #e5e7eb}.table{width:100%;border-collapse:collapse;background:#fff}.table-header{background:#f9fafb;padding:12px 16px;text-align:left;font-weight:600;color:#374151;border-bottom:1px solid #e5e7eb;font-size:.875rem;text-transform:uppercase;letter-spacing:.05em}.table-row{border-bottom:1px solid #f3f4f6;transition:background-color .15s ease}.table-row:hover{background:#f9fafb}.table-row:last-child{border-bottom:none}.table-cell{padding:16px;color:#374151;vertical-align:middle}.table-loading,.table-empty{text-align:center;padding:48px 24px;color:#6b7280;font-style:italic}.action-buttons{display:flex;gap:8px;align-items:center}@media (max-width: 768px){.table-container{font-size:.875rem}.table-header,.table-cell{padding:8px 12px}.action-buttons{flex-direction:column;gap:4px}}.header{display:flex;justify-content:space-between;align-items:center;padding:16px 24px;background:#fff;border-bottom:1px solid #e2e8f0;min-height:64px;margin:0}.header__left{display:flex;align-items:center;gap:1rem}.header__menu-button{display:none}.header__breadcrumb{display:flex;align-items:center;gap:.5rem}.header__breadcrumb-item{color:#374151;font-weight:600;font-size:1.125rem}.header__right{display:flex;align-items:center;gap:.5rem}@media (max-width: 1024px){.header__menu-button{display:inline-flex}}@media (max-width: 640px){.header{padding:1rem}.header__breadcrumb-item{font-size:1rem}}.layout{display:flex;min-height:100vh;background-color:#f8fafc}.layout__sidebar{width:280px;flex-shrink:0;background:#fff;border-right:1px solid #e2e8f0;position:fixed;top:0;left:0;height:100vh;z-index:1000;transition:transform .3s ease}.layout__main{flex:1;display:flex;flex-direction:column;margin-left:0;min-height:100vh}.layout__header{background:#fff;border-bottom:1px solid #e2e8f0;position:sticky;top:0;z-index:900;margin:0;padding:0}.layout__content{flex:1;padding:24px;overflow-x:auto;margin:0}@media (max-width: 768px){.layout__sidebar{transform:translate(-100%);width:280px}.layout__sidebar.open{transform:translate(0)}.layout__main{margin-left:0}.layout__content{padding:16px}}@media (max-width: 1024px) and (min-width: 769px){.layout__sidebar{width:240px}.layout__main{margin-left:239px}}.dashboard{max-width:1200px;margin:0 auto}.dashboard__header{margin-bottom:2rem}.dashboard__header h1{margin:0 0 .5rem;font-size:2rem;font-weight:700;color:#111827}.dashboard__header p{margin:0;color:#6b7280;font-size:1.125rem}.dashboard__stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;margin-bottom:2rem}.dashboard__stat-card{transition:transform .2s ease}.dashboard__stat-card:hover{transform:translateY(-2px)}.stat{display:flex;align-items:center;gap:1rem;padding:.5rem}.stat__icon{font-size:2.5rem;width:4rem;height:4rem;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:1rem;flex-shrink:0}.stat__content{flex:1}.stat__value{font-size:2rem;font-weight:700;color:#111827;line-height:1;margin-bottom:.25rem}.stat__label{font-size:.875rem;color:#6b7280;font-weight:500}.dashboard__actions{display:grid;grid-template-columns:1fr 2fr;gap:2rem}.quick-actions{display:flex;flex-direction:column;gap:1rem}.quick-actions a{text-decoration:none}.recent-quotes{display:flex;flex-direction:column;gap:1rem}.recent-quote{display:flex;align-items:center;justify-content:space-between;padding:1rem;background:#f9fafb;border-radius:.5rem;transition:background-color .2s ease}.recent-quote:hover{background:#f3f4f6}.recent-quote__info{flex:1}.recent-quote__number{font-weight:600;color:#111827;font-size:.875rem}.recent-quote__client{color:#6b7280;font-size:.8125rem}.recent-quote__amount{font-weight:600;color:#059669;margin-right:1rem}@media (max-width: 1024px){.dashboard__actions{grid-template-columns:1fr}}@media (max-width: 768px){.dashboard__stats{grid-template-columns:1fr}.dashboard__header h1{font-size:1.75rem}.stat__icon{width:3rem;height:3rem;font-size:2rem}.stat__value{font-size:1.75rem}.recent-quote{flex-direction:column;align-items:flex-start;gap:.5rem}.recent-quote__amount{margin-right:0}}.clients-page{padding:24px}.clients-controls{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;gap:16px;flex-wrap:wrap}.clients-stats{color:#6b7280;font-size:.875rem;font-weight:500}.client-form{display:flex;flex-direction:column;gap:20px}@media (max-width: 768px){.page-header{flex-direction:column;gap:16px}.clients-controls{flex-direction:column;align-items:stretch}.action-buttons{flex-direction:column}.form-row{grid-template-columns:1fr}.form-actions{flex-direction:column}}.quote-form-container{max-width:1600px;margin:0 auto;padding:24px}.quote-form-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:32px}.form-title h1{margin:0 0 8px;color:#1f2937;font-size:2rem;font-weight:700}.form-title p{margin:0;color:#6b7280;font-size:1rem}.quote-form-layout{display:grid;grid-template-columns:3fr 1fr;gap:32px}.form-card{height:fit-content}.quote-form{display:flex;flex-direction:column;gap:32px}.form-section{display:flex;flex-direction:column;gap:16px}.form-section h3{margin:0;color:#374151;font-size:1.125rem;font-weight:600;border-bottom:2px solid #e5e7eb;padding-bottom:8px}.form-field{display:flex;flex-direction:column;gap:4px}.input{width:100%;padding:12px 16px;border:1px solid #d1d5db;border-radius:8px;font-size:1rem;transition:all .2s ease;background:#fff;color:#1f2937;font-family:inherit;box-sizing:border-box}select.input{appearance:none;background-image:url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right 12px center;background-size:16px;padding-right:40px;cursor:pointer}select.input option{color:#1f2937;background:#fff;font-size:1rem;padding:8px}input.input[type=text],input.input[type=number],input.input[type=date],input.input[type=email]{background-image:none;padding-right:16px}.input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.input-error{border-color:#ef4444}.input-error-text{color:#ef4444;font-size:.875rem;margin-top:4px}.textarea{resize:vertical;min-height:100px;font-family:inherit;line-height:1.5;color:#1f2937;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:12px 16px;font-size:1rem;transition:all .2s ease;width:100%;box-sizing:border-box}.textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.textarea::placeholder{color:#9ca3af;opacity:1}.calculated-field{background-color:#f9fafb!important;cursor:not-allowed;color:#6b7280!important}.field-hint{color:#6b7280;font-size:.75rem;margin-top:4px;font-style:italic}.form-actions{display:flex;justify-content:flex-end;gap:16px;margin-top:32px;padding-top:24px;border-top:1px solid #e5e7eb}.prestations-section{border:1px solid #e5e7eb;border-radius:8px;padding:32px;background:#fafbfc;width:100%}.prestations-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.prestations-list{display:flex;flex-direction:column;gap:20px;margin-bottom:24px}.prestation-item{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:24px;position:relative;box-shadow:0 1px 3px #0000001a}.prestation-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:12px;border-bottom:1px solid #f3f4f6}.prestation-number{font-weight:600;color:#374151;font-size:1rem}.remove-prestation{background:none;border:none;color:#ef4444;cursor:pointer;font-size:1.25rem;padding:8px;border-radius:4px;transition:all .2s}.remove-prestation:hover{background:#fee2e2;transform:scale(1.1)}.prestation-fields{display:grid;grid-template-columns:2.5fr .8fr 1.2fr 1fr 1.2fr 1.2fr 1.3fr;gap:20px;align-items:end}.prestation-input{width:100%;padding:12px 16px;border:1px solid #d1d5db;border-radius:6px;font-size:1rem;transition:all .2s ease;background:#fff;color:#1f2937;font-family:inherit;box-sizing:border-box;min-height:48px}.prestation-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.prestation-input[type=number]{text-align:right}select.prestation-input{appearance:none;background-image:url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right 12px center;background-size:16px;padding-right:40px;cursor:pointer}.prestation-total{text-align:right;font-weight:600;color:#059669;padding:12px 16px;background:#f0fdf4;border-radius:6px;border:1px solid #d1fae5;font-size:1rem;min-height:48px;display:flex;align-items:center;justify-content:flex-end}.prestation-total-ttc{text-align:right;font-weight:700;color:#1e40af;padding:12px 16px;background:#eff6ff;border-radius:6px;border:2px solid #3b82f6;font-size:1rem;min-height:48px;display:flex;align-items:center;justify-content:flex-end}.prestations-summary{background:#fff;border-radius:8px;padding:24px;border:2px solid #e5e7eb;box-shadow:0 2px 4px #0000001a;margin-top:24px}.prestations-summary h4{margin:0 0 20px;color:#374151;font-size:1.125rem;font-weight:600}.summary-row{display:flex;justify-content:space-between;align-items:center;padding:14px 0;border-bottom:1px solid #f3f4f6;font-size:1.125rem}.summary-row:last-child{border-bottom:none;font-weight:700;font-size:1.375rem;color:#059669;border-top:2px solid #e5e7eb;background:#f0fdf4;padding:20px;margin:20px -24px -24px;border-radius:0 0 8px 8px}.add-prestation-btn{width:100%;padding:12px;border:2px dashed #d1d5db;background:#fff;color:#6b7280;border-radius:8px;cursor:pointer;font-weight:500;transition:all .2s}.add-prestation-btn:hover{border-color:#3b82f6;color:#3b82f6;background:#f8fafc}.client-preview{position:sticky;top:24px;height:fit-content}.client-info{display:flex;flex-direction:column;gap:12px}.client-detail{padding:8px 12px;background:#f9fafb;border-radius:6px;border-left:4px solid #3b82f6;font-size:.875rem}.client-detail strong{color:#1f2937;font-weight:600}@media (max-width: 1400px){.quote-form-container{max-width:100%;padding:20px}}@media (max-width: 1024px){.quote-form-layout{grid-template-columns:1fr}.client-preview{position:static}.prestation-fields{grid-template-columns:2fr .7fr 1fr .8fr 1fr 1fr 1fr;gap:16px}.prestation-input,.prestation-total,.prestation-total-ttc{padding:10px 12px;font-size:.9rem;min-height:40px}}@media (max-width: 768px){.quote-form-container{padding:16px}.quote-form-header{flex-direction:column;gap:16px}.form-title h1{font-size:1.5rem}.form-row{grid-template-columns:1fr}.form-actions{flex-direction:column}.prestations-header{flex-direction:column;gap:12px;align-items:stretch}.prestation-fields{grid-template-columns:1fr}.prestation-input,.prestation-total,.prestation-total-ttc{font-size:.875rem;padding:8px 10px;min-height:36px}}.quote-view-container{max-width:1200px;margin:0 auto;padding:24px}.quote-view-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:32px}.quote-title h1{margin:0 0 8px;color:#1f2937;font-size:2rem;font-weight:700}.quote-number{margin:0;color:#3b82f6;font-size:1.125rem;font-weight:600}.quote-actions{display:flex;gap:12px;flex-wrap:wrap}.loading-state{text-align:center;padding:64px 24px;color:#6b7280}.loading-spinner{width:40px;height:40px;border:4px solid #f3f4f6;border-top:4px solid #3b82f6;border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 16px}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.quote-document{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:48px;box-shadow:0 10px 25px #0000001a;font-family:Arial,sans-serif;line-height:1.6;color:#1f2937}.company-header{display:grid;grid-template-columns:.25fr 1fr auto;gap:20px;align-items:center;padding-bottom:30px;border-bottom:3px solid #1f2937;margin-bottom:30px}.company-logo{display:flex;align-items:center;justify-content:center}.logo-image{width:200px;height:200px;object-fit:contain;filter:drop-shadow(2px 2px 4px rgba(0,0,0,.1))}.company-info{display:flex;flex-direction:column;gap:4px}.company-info h1{margin:0 0 8px;font-size:1.75rem;font-weight:700;color:#3b82f6;text-transform:uppercase;letter-spacing:1px}.company-info p{margin:0;font-size:.9rem;color:#4b5563;line-height:1.4}.quote-meta{text-align:right;min-width:200px}.quote-meta h2{margin:0 0 16px;font-size:2rem;font-weight:700;color:#1f2937;text-transform:uppercase;letter-spacing:2px}.quote-details{display:flex;flex-direction:column;gap:8px}.detail-row{display:flex;justify-content:space-between;align-items:center;min-width:200px;gap:16px}.detail-row span:first-child{color:#6b7280;font-weight:500}.status-badge-large{padding:6px 12px;border-radius:8px;font-size:.875rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.client-section{margin-bottom:40px}.client-section h3{margin:0 0 16px;color:#374151;font-size:1.25rem;font-weight:600;text-transform:uppercase;letter-spacing:1px}.client-details{background:#f9fafb;padding:20px;border-radius:8px;border-left:4px solid #3b82f6}.client-name{font-size:1.125rem;margin-bottom:8px}.client-details div{margin:4px 0;color:#4b5563}.services-section{margin-bottom:40px}.services-section h3{margin:0 0 20px;color:#374151;font-size:1.25rem;font-weight:600;text-transform:uppercase;letter-spacing:1px}.services-table{width:100%;border-collapse:collapse;margin-bottom:20px;box-shadow:0 2px 8px #0000001a}.services-table th{background:linear-gradient(135deg,#3b82f6,#1e40af);color:#fff;padding:16px 12px;text-align:left;font-weight:600;font-size:.875rem;text-transform:uppercase;letter-spacing:.5px}.services-table td{padding:16px 12px;border-bottom:1px solid #e5e7eb;color:#374151}.services-table tr:nth-child(2n){background:#f9fafb}.services-table tr:hover{background:#f3f4f6}.services-table td:last-child{text-align:right;font-weight:600;color:#059669}.no-services{text-align:center;padding:20px;color:#6b7280;font-style:italic}.placeholder-service{margin-top:20px}.totals-section{margin-bottom:40px;display:flex;justify-content:flex-end}.totals-table{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:24px;min-width:300px}.total-row{display:flex;justify-content:space-between;align-items:center;padding:8px 0;border-bottom:1px solid #e5e7eb}.total-row:last-child{border-bottom:none}.final-total{margin-top:12px;padding-top:16px;border-top:2px solid #3b82f6!important;font-size:1.25rem;font-weight:700;color:#059669}.notes-section{margin-bottom:40px}.notes-section h3{margin:0 0 16px;color:#374151;font-size:1.25rem;font-weight:600;text-transform:uppercase;letter-spacing:1px}.notes-content{background:#fef3c7;border-left:4px solid #f59e0b;padding:16px 20px;border-radius:8px;color:#92400e;line-height:1.6}.payment-terms-section{display:grid;grid-template-columns:2fr 1fr;gap:40px;margin:40px 0;padding:24px;border:1px solid #e5e7eb;border-radius:8px;background-color:#f9fafb}.payment-schedule{display:flex;flex-direction:column;gap:12px}.payment-row{display:flex;justify-content:space-between;align-items:center;font-size:.95rem}.payment-row span:first-child{color:#374151;font-weight:500}.amount-box{font-weight:700;color:#1f2937;background-color:#fff;padding:6px 12px;border-radius:4px;border:1px solid #e5e7eb;min-width:100px;text-align:right}.validity-signature{display:flex;flex-direction:column;text-align:left;padding-left:20px;border-left:1px solid #e5e7eb}.validity-signature p{margin:0 0 10px;font-weight:600;color:#374151}.signature-box{width:100%;height:80px;border:1px dashed #9ca3af;margin-top:10px;background-color:#fff;border-radius:4px}.conditions-section{margin-bottom:40px}.conditions-section h3{margin:0 0 16px;color:#374151;font-size:1.25rem;font-weight:600;text-transform:uppercase;letter-spacing:1px}.conditions-section ul{list-style:none;padding:0;margin:0}.conditions-section li{padding:8px 0 8px 24px;position:relative;color:#4b5563}.conditions-section li:before{content:"✓";position:absolute;left:0;color:#059669;font-weight:700}.terms-section{margin-bottom:40px}.terms-section h3{margin:0 0 20px;color:#374151;font-size:1.25rem;font-weight:600;text-transform:uppercase;letter-spacing:1px;text-align:center;border-bottom:2px solid #374151;padding-bottom:8px}.terms-content{font-size:.8rem;line-height:1.4;color:#374151}.term-article{margin-bottom:16px}.term-article h4{margin:0 0 8px;color:#1f2937;font-size:.85rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px;border-left:3px solid #3b82f6;background:#f8fafc;padding:4px 8px}.term-article p{margin:4px 0;text-align:justify}.term-article ul{margin:4px 0 4px 16px;padding:0}.term-article li{margin:2px 0}.quote-footer{text-align:center;margin-top:40px;padding-top:24px;border-top:2px solid #e5e7eb;color:#6b7280}.quote-footer p{margin:4px 0}.quote-footer strong{color:#3b82f6}@media (max-width: 768px){.quote-view-container{padding:16px}.quote-view-header{flex-direction:column;gap:16px}.quote-actions{width:100%;justify-content:flex-start}.quote-document{padding:24px 16px}.company-header{grid-template-columns:1fr;gap:16px;text-align:center}.logo-image{width:60px;height:60px}.company-info h1{font-size:1.5rem}.quote-meta{text-align:center}.quote-meta h2{font-size:1.5rem}.detail-row{min-width:auto}.services-table{font-size:.875rem}.services-table th,.services-table td{padding:8px 6px}.totals-section{justify-content:center}.totals-table{min-width:250px}.payment-terms-section{grid-template-columns:1fr;gap:20px;padding:16px}.validity-signature{padding-left:0;border-left:none;border-top:1px solid #e5e7eb;padding-top:20px}}@media print{.quote-view-header{display:none}.quote-document{box-shadow:none;border:none;margin:0;padding:15px}.quote-actions{display:none}.services-table th{background:#374151!important;color:#fff!important}.company-header{grid-template-columns:70px 1fr auto;gap:15px}.logo-image{width:60px;height:60px}.company-info h1{font-size:1.5rem}.quote-meta h2{font-size:1.75rem}.terms-section h3{font-size:1rem;margin-bottom:12px}.terms-content{font-size:.7rem;line-height:1.3}.term-article{margin-bottom:8px}.term-article h4{font-size:.75rem;margin-bottom:3px;padding:2px 6px}.term-article p{margin:2px 0}.term-article ul{margin:2px 0 2px 12px}.term-article li{margin:1px 0}.payment-terms-section{grid-template-columns:2fr 1fr;gap:20px;padding:16px;page-break-inside:avoid}}.quotes-page{padding:24px}.page-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:24px}.page-title h1{margin:0 0 8px;color:#1f2937;font-size:1.875rem;font-weight:700}.page-title p{margin:0;color:#6b7280;font-size:1rem}.quotes-controls{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;gap:16px;flex-wrap:wrap}.search-filters{display:flex;gap:12px;align-items:center}.status-filters{display:flex;gap:8px;flex-wrap:wrap}.quotes-stats{color:#6b7280;font-size:.875rem;font-weight:500}.status-badge{display:inline-flex;align-items:center;padding:4px 8px;border-radius:6px;color:#fff;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em}.action-buttons{display:flex;gap:8px}.loading-state,.empty-state{text-align:center;padding:48px 24px;color:#6b7280}.pagination{display:flex;justify-content:center;align-items:center;gap:16px;margin-top:24px;padding-top:24px;border-top:1px solid #e5e7eb}.quote-form{display:flex;flex-direction:column;gap:20px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-field{display:flex;flex-direction:column}.form-field.full-width{grid-column:1 / -1}.form-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px;padding-top:24px;border-top:1px solid #e5e7eb}.input-label{display:block;margin-bottom:6px;font-weight:500;color:#374151;font-size:.875rem}.textarea{resize:vertical;min-height:100px;font-family:inherit}.quote-view{display:flex;flex-direction:column;gap:24px}.quote-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:24px}.quote-title h1{margin:0 0 8px;color:#1f2937;font-size:1.875rem;font-weight:700}.quote-title p{margin:0;color:#6b7280;font-size:1rem;font-weight:500}.quote-actions{display:flex;gap:12px}.quote-info{display:flex;flex-direction:column;gap:16px}.info-row{display:grid;grid-template-columns:1fr 1fr;gap:24px}.info-item{display:flex;flex-direction:column;gap:4px}.info-item.full-width{grid-column:1 / -1}.info-item label{font-size:.875rem;font-weight:500;color:#6b7280;text-transform:uppercase;letter-spacing:.05em}.info-item strong,.info-item span{color:#1f2937;font-weight:500}.info-item p{margin:0;color:#1f2937;line-height:1.5}.quote-items-table{width:100%;border-collapse:collapse;margin-top:16px}.quote-items-table th,.quote-items-table td{padding:12px;text-align:left;border-bottom:1px solid #e5e7eb}.quote-items-table th{background:#f9fafb;font-weight:600;color:#374151;font-size:.875rem;text-transform:uppercase;letter-spacing:.05em}.quote-items-table tr:hover{background:#f9fafb}.empty-items{text-align:center;padding:48px 24px;color:#6b7280;font-style:italic}.quote-totals{display:flex;flex-direction:column;gap:8px;max-width:300px;margin-left:auto}.total-row{display:flex;justify-content:space-between;align-items:center;padding:8px 0}.total-row.final-total{border-top:2px solid #e5e7eb;margin-top:8px;padding-top:16px;font-size:1.125rem;font-weight:700}@media (max-width: 768px){.quotes-controls{flex-direction:column;align-items:stretch}.search-filters{flex-direction:column;gap:8px}.search-filters input{max-width:100%}.status-filters{justify-content:center}.form-row{grid-template-columns:1fr}.form-actions{flex-direction:column}.quote-header{flex-direction:column;gap:16px}.quote-actions{width:100%;justify-content:flex-start}.info-row{grid-template-columns:1fr;gap:16px}.action-buttons{flex-direction:column}.quote-items-table{font-size:.875rem}.quote-items-table th,.quote-items-table td{padding:8px 6px}}.login-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#667eea,#764ba2);padding:20px}.login-card{width:100%;max-width:400px}.login-header{text-align:center;margin-bottom:32px;color:#fff}.login-logo{width:80px;height:80px;border-radius:50%;margin-bottom:16px;object-fit:cover;border:3px solid white;box-shadow:0 4px 12px #0003}.login-header h1{margin:0 0 8px;font-size:1.5rem;font-weight:700}.login-header p{margin:0;opacity:.9;font-size:1rem}.login-form{display:flex;flex-direction:column;gap:20px}.error-message{background:#fef2f2;border:1px solid #fecaca;color:#dc2626;padding:12px;border-radius:8px;text-align:center;font-weight:500}.login-footer{margin-top:24px;padding:16px;background:#ffffff1a;border-radius:8px;color:#fff;font-size:.875rem;text-align:center}.login-footer p{margin:4px 0}.login-footer strong{color:#fbbf24}@media (max-width: 480px){.login-container{padding:16px}.login-header h1{font-size:1.25rem}.login-logo{width:60px;height:60px}}.app{min-height:100vh;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}*{box-sizing:border-box}body{margin:0;padding:0;background:#f8fafc;color:#1f2937;line-height:1.6}.page-header{margin-bottom:2rem}.page-header h1{margin:0 0 .5rem;font-size:2rem;font-weight:700;color:#111827}.page-header p{margin:0;color:#6b7280;font-size:1.125rem}.company-info{display:flex;flex-direction:column;gap:.75rem}.company-info p{margin:0;display:flex;align-items:center;gap:.5rem}.company-info strong{min-width:6rem;color:#374151}.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}.text-center{text-align:center}.text-right{text-align:right}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.form{display:flex;flex-direction:column;gap:1.5rem}.form__row{display:grid;grid-template-columns:1fr;gap:1rem}.form__row--two-cols{grid-template-columns:1fr 1fr}.form__row--three-cols{grid-template-columns:1fr 1fr 1fr}.form__actions{display:flex;justify-content:flex-end;gap:1rem;padding-top:1rem;border-top:1px solid #e5e7eb}.status-badge{display:inline-flex;align-items:center;padding:.25rem .75rem;border-radius:9999px;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em}.status-badge--draft{background:#f3f4f6;color:#6b7280}.status-badge--sent{background:#dbeafe;color:#1d4ed8}.status-badge--accepted{background:#d1fae5;color:#065f46}.status-badge--rejected{background:#fee2e2;color:#991b1b}@media (max-width: 768px){.form__row--two-cols,.form__row--three-cols{grid-template-columns:1fr}.form__actions{flex-direction:column}.page-header h1{font-size:1.75rem}}
