/* Jaspis Trade: public form, inquiry administration and e-mail settings. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{min-width:0;overflow-wrap:anywhere}
img,svg{max-width:100%}
input,select,textarea,button{font-family:inherit;font-size:16px}
textarea{display:block;width:100%;padding:11px;border:1px solid #cbd3db;border-radius:7px;margin-top:6px;resize:vertical}
.note-field{grid-column:1/-1}
.admin-page.auth-page{max-width:520px}.admin-page.mail-page{max-width:700px}
input,select,textarea{min-width:0;max-width:100%;min-height:46px}
button{min-height:46px;touch-action:manipulation}
button:focus-visible,a:focus-visible{outline:3px solid #7c151a;outline-offset:3px}
input:disabled,select:disabled{color:#625e59;background:#f2f1ef;opacity:1}
.settings>*{min-width:0}
.field{line-height:1.45}
.field>span{display:block;margin-top:12px;font-size:12px;font-weight:400;color:#625e59}
.edge-fields>.field{padding:16px;border:1px solid #e5e2de;border-radius:10px;background:#fcfbfa}
.edge-fields input:disabled{display:none}
.same-edge-toggle{min-height:48px;padding:8px 0;cursor:pointer}
.same-edge-toggle input[type=checkbox]{width:22px!important;height:22px;min-height:22px;flex:0 0 22px;accent-color:#7c151a}
.hint{line-height:1.6}
#manualstatus,#sent,#quote{overflow-wrap:anywhere;line-height:1.5}
.actions button{padding:12px 18px}
.tablewrap{max-width:100%;overscroll-behavior-x:contain}
.parts-table{white-space:normal;table-layout:fixed}
.parts-table td,.parts-table th{overflow-wrap:anywhere;vertical-align:top;padding:9px 6px}
.parts-table td:last-child button{margin-bottom:8px;width:100%;padding:10px 6px}
.parts-table th:nth-child(1){width:5%}.parts-table th:nth-child(2){width:9%}
.parts-table th:nth-child(3){width:8%}.parts-table th:nth-child(4){width:4%}
.parts-table th:nth-child(5){width:12%}.parts-table th:nth-child(6){width:17%}
.parts-table th:nth-child(n+7):nth-child(-n+10){width:8%}.parts-table th:last-child{width:13%}
.material-summary,.price-summary{white-space:normal}
.material-summary th,.material-summary td{overflow-wrap:anywhere}
.price-summary td:last-child,.price-summary th:last-child{white-space:nowrap;text-align:right}
.price-summary th:last-child{width:32%}
.price-summary tbody tr:last-child{font-size:17px;background:#f8f1f2}
.admin-page{box-sizing:border-box;max-width:1100px;margin:24px auto;padding:20px;font:16px Arial,sans-serif}
.admin-page *{box-sizing:border-box}
.admin-page h1{font-size:clamp(24px,4vw,32px)}
.admin-page input[type=password]{display:block;width:100%;margin-top:8px}
.admin-page input[type=checkbox]{width:22px;height:22px;min-height:22px;vertical-align:middle;accent-color:#7c151a}
.admin-page button{padding:12px 18px;border-radius:7px}
.admin-page table{width:100%;border-collapse:collapse;table-layout:fixed;white-space:normal}
.admin-page td,.admin-page th{overflow-wrap:anywhere;vertical-align:top}
.admin-page .table{max-width:100%;overflow:auto}
@media screen and (max-width:1100px){
 .parts-table,.parts-table tbody,.parts-table tr,.parts-table td{display:block;width:100%}
 .parts-table{table-layout:auto}
 .parts-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .parts-table tbody{display:grid;gap:16px}
 .parts-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid #e5e2de;border-radius:10px;padding:14px;background:#fff}
 .parts-table td{padding:8px;border:0;min-width:0}
 .parts-table td:before{content:attr(data-label);display:block;color:#6b6865;font-size:12px;font-weight:600;margin-bottom:5px}
 .parts-table td:nth-child(1){grid-column:1/-1;padding-bottom:10px;border-bottom:1px solid #eee;color:#7c151a;font-weight:700}
 .parts-table td:nth-child(1):before{display:none}
 .parts-table td:nth-child(6),.parts-table td:last-child{grid-column:1/-1}
 .parts-table td:last-child{display:flex;gap:10px;flex-wrap:wrap}
 .parts-table td:last-child:before{display:none}
 .parts-table td:last-child button{width:auto;flex:1 1 120px;margin:0;padding:12px}
}
@media screen and (max-width:760px){
 main{margin:16px auto;padding:0 14px}
 .settings{grid-template-columns:1fr;gap:18px}
 .card{padding:18px;border-radius:11px;margin-bottom:16px;min-width:0}
 .card h2{font-size:21px;line-height:1.3}
 .guide{max-width:380px;padding:10px}
 .guide svg{max-height:220px}
 .material-summary,.material-summary tbody,.material-summary tr,.material-summary td{display:block;width:100%}
 .material-summary thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .material-summary tbody{display:grid;gap:12px}
 .material-summary tr{border:1px solid #e5e2de;border-radius:9px;padding:12px}
 .material-summary td{padding:7px 0;border:0}
 .material-summary td:before{content:attr(data-label);display:block;font-size:12px;color:#6b6865;margin-bottom:3px}
 .material-summary td:first-child{font-weight:700}
 .admin-page{padding:16px;margin:12px auto}
 .inquiries-table,.inquiries-table tbody,.inquiries-table tr,.inquiries-table td{display:block;width:100%}
 .inquiries-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .inquiries-table tbody{display:grid;gap:16px}
 .inquiries-table tr{padding:12px;border:1px solid #ddd;border-radius:10px}
 .inquiries-table td{padding:9px 0;border:0}
 .inquiries-table td:before{content:attr(data-label);display:block;font-size:12px;color:#6b6865;margin-bottom:6px}
 .inquiries-table td:last-child a{display:inline-flex;align-items:center;min-height:44px}
}
@media screen and (max-width:480px){
 header{padding:8px 14px}.brandbar{gap:12px}.brand img{width:116px;height:42px}
 .backlink{font-size:12px;max-width:126px}.pageintro{padding:6px 0 20px}
 .pageintro h1{font-size:25px}.pageintro p{font-size:15px}
 main{padding:0 10px}.card{padding:15px}.edge-fields>.field{padding:12px}
 .actions{gap:10px}.actions button{flex:1 1 150px}
 .price-summary th,.price-summary td{padding:11px 6px;font-size:14px}
 .price-summary th:last-child{width:36%}.price-summary tbody tr:last-child th{font-size:17px}
 .parts-table tr{padding:10px}.parts-table td{padding:8px 5px}
 .admin-page input[type=password]{width:100%}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
