.amdrop{font:inherit;color:#18334a;max-width:1280px;margin:auto}.amdrop *{box-sizing:border-box}.amdrop header{background:#124b70;color:white;padding:30px;border-radius:14px}.amdrop header h2{color:white;margin:8px 0}.amdrop-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:10px;margin:20px 0}.amdrop input:not([type=checkbox]),.amdrop select,.amdrop textarea{width:100%;min-width:0;padding:10px;border:1px solid #cbd5df;border-radius:6px;background:white;color:#18334a}.amdrop-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.amdrop article{border:1px solid #dce5eb;border-radius:12px;padding:16px;background:white;display:flex;flex-direction:column;gap:9px;min-width:0}.amdrop article img{width:100%;aspect-ratio:4/3;object-fit:contain;background:white}.amdrop article h3,.amdrop article p{margin:0;overflow-wrap:anywhere}.amdrop button{background:#12547c;color:white;border:0;border-radius:7px;padding:12px;cursor:pointer}.amdrop article button{margin-top:auto}.amdrop details{border:1px solid #dce5eb;padding:10px;border-radius:7px}.amdrop summary{cursor:pointer}.amdrop dialog{width:min(480px,95vw);max-height:90vh;overflow:auto;border:0;border-radius:12px;padding:24px}.amdrop dialog::backdrop{background:#0008}.amdrop dialog form{display:grid;gap:12px}.amdrop-more{margin:20px auto;display:block}.amdrop [hidden]{display:none!important}@media(max-width:900px){.amdrop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.amdrop-grid{grid-template-columns:1fr}.amdrop header{padding:20px}}
.amdrop header,.amdrop button{background:var(--amdrop-color,#12547c)}.amdrop-grid{grid-template-columns:repeat(var(--amdrop-cols,3),minmax(0,1fr))}.amdrop article img{aspect-ratio:var(--amdrop-ratio,4/3)}.amdrop-logo{max-width:180px;max-height:75px;object-fit:contain}.amdrop article button+button{margin-top:0}@media(max-width:900px){.amdrop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.amdrop-grid{grid-template-columns:1fr}}

.amdrop .amdrop-offer[hidden],.amdrop .amdrop-offer-add[hidden]{display:none!important}.amdrop .amdrop-access{margin-top:8px}.amdrop .amdrop-offer{border:1px solid #ccd7df;padding:14px;margin:12px 0;background:white;color:#18334a}.amdrop .amdrop-offer-fields:not([hidden]),.amdrop .amdrop-line-editor{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px}.amdrop .amdrop-offer label{display:flex;flex-direction:column;gap:4px}.amdrop .amdrop-offer-line{border:1px solid #ccd7df;padding:10px;margin:8px 0}.amdrop .amdrop-line-head{display:flex;gap:12px;align-items:center}.amdrop .amdrop-line-head img{width:80px;height:70px;object-fit:contain}.amdrop .amdrop-line-head small{display:block}.amdrop .amdrop-offer-total{background:#12547c;color:white;padding:12px}.amdrop .amdrop-tech-table{width:100%;border-collapse:collapse}.amdrop .amdrop-tech-table td,.amdrop .amdrop-tech-table th{padding:5px;border:1px solid #ddd;text-align:left}.amdrop .amdrop-login{color:#18334a;background:white}.amdrop .amdrop-offer button{margin:3px}.amdrop .amdrop-offer input,.amdrop .amdrop-offer textarea{width:100%;min-width:0;box-sizing:border-box}

.amdrop .amdrop-offer-fields:not([hidden]){grid-template-columns:repeat(3,minmax(0,1fr));padding:14px;background:#f4f8fb;border:1px solid #ccd7df;border-radius:8px;margin:12px 0}.amdrop .amdrop-offer-fields label[data-field=terms],.amdrop .amdrop-line-editor label[data-field=desc]{grid-column:1/-1}.amdrop .amdrop-offer-fields textarea{min-height:100px}.amdrop .amdrop-line-editor{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:10px}.amdrop .amdrop-line-editor label[data-field=name],.amdrop .amdrop-line-editor label[data-field=image]{grid-column:1/-1}.amdrop .amdrop-offer label{font-size:13px;font-weight:600;color:#18334a}.amdrop .amdrop-offer input[readonly]{background:#e8eff4}.amdrop .amdrop-offer-actions{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.amdrop .amdrop-offer-actions select{flex:1 1 240px}.amdrop .amdrop-offer-line{border-radius:8px}.amdrop .amdrop-line-head{margin-bottom:8px}.amdrop .amdrop-offer textarea{min-height:65px}@media(max-width:700px){.amdrop .amdrop-offer-fields:not([hidden]),.amdrop .amdrop-line-editor{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:420px){.amdrop .amdrop-offer-fields:not([hidden]),.amdrop .amdrop-line-editor{grid-template-columns:1fr}.amdrop .amdrop-offer-actions button{width:100%}}

.amdrop .amdrop-tech-table{table-layout:fixed;font-size:13px;overflow-wrap:anywhere}.amdrop .amdrop-tech-table th{width:48%;background:#eef3f6;font-weight:600}.amdrop .amdrop-tech-table td{background:white}.amdrop .amdrop-offer-total{background:white;color:#18334a;border:2px solid #12547c;border-radius:8px;padding:0;overflow:hidden}.amdrop .amdrop-offer-total>span{display:flex;justify-content:space-between;gap:12px;padding:10px 14px}.amdrop .amdrop-offer-total>span:last-of-type{background:#12547c;color:white;font-size:clamp(16px,3vw,24px);font-weight:700}.amdrop .amdrop-offer-total small{display:block;padding:8px 14px}.amdrop .amdrop-offer-total strong{white-space:nowrap;font-variant-numeric:tabular-nums}

/* A4-width offer editor only */
.amdrop .amdrop-offer{width:100%;max-width:210mm;margin:16px auto;padding:clamp(10px,2vw,24px);box-sizing:border-box;overflow-wrap:anywhere}.amdrop .amdrop-offer h3{margin:0 0 12px;padding:12px;background:var(--amdrop-color,#12547c);color:white;border-radius:5px;font-size:18px}.amdrop .amdrop-offer-fields:not([hidden]),.amdrop .amdrop-line-editor{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.amdrop .amdrop-offer-fields label[data-field=client],.amdrop .amdrop-offer-fields label[data-field=project]{grid-column:1/-1}.amdrop .amdrop-offer label{min-width:0}.amdrop .amdrop-offer input,.amdrop .amdrop-offer textarea{padding:8px;font-size:14px}.amdrop .amdrop-offer-line{min-width:0;padding:12px}.amdrop .amdrop-offer-actions{margin:12px 0}.amdrop .amdrop-offer-actions button{flex:1 1 160px;margin:0;padding:10px}.amdrop .amdrop-offer-total>span{align-items:center;flex-wrap:wrap}.amdrop .amdrop-offer-total strong{margin-left:auto}.amdrop .amdrop-line-head>div{min-width:0}@media(max-width:520px){.amdrop .amdrop-offer-fields:not([hidden]),.amdrop .amdrop-line-editor{grid-template-columns:1fr}.amdrop .amdrop-offer-actions button{flex-basis:100%}}

/* Offer borders: isolate from theme table and grid rules. */
.amdrop .amdrop-offer,.amdrop .amdrop-offer-line,.amdrop .amdrop-offer-fields:not([hidden]){border:1px solid #ccd7df!important;min-width:0;max-width:100%;box-sizing:border-box}.amdrop .amdrop-offer{max-width:min(100%,210mm)}.amdrop .amdrop-offer .amdrop-tech-table{display:table!important;width:100%!important;max-width:100%;border:1px solid #ccd7df!important;border-collapse:collapse!important;border-spacing:0!important;table-layout:fixed}.amdrop .amdrop-offer .amdrop-tech-table tr{display:table-row!important}.amdrop .amdrop-offer .amdrop-tech-table th,.amdrop .amdrop-offer .amdrop-tech-table td{display:table-cell!important;border:1px solid #ccd7df!important;overflow-wrap:anywhere}.amdrop .amdrop-offer-total>span{border-bottom:1px solid #ccd7df}.amdrop .amdrop-offer-total>span:last-of-type{border-bottom:0}.amdrop .amdrop-offer-fields>*,.amdrop .amdrop-line-editor>*{min-width:0;max-width:100%}

.amdrop .amdrop-offer [hidden]{display:none!important}.amdrop .amdrop-offer-fields input[type=date]{min-width:0}.amdrop .amdrop-tech-table input{width:100%;min-width:0}.amdrop .amdrop-tech-table td:last-child:has(button){width:44px}
