@font-face{font-family:Poppins;src:url(fonts/poppins-400.woff2)}@font-face{font-family:Poppins;src:url(fonts/poppins-600.woff2);font-weight:600}@font-face{font-family:Poppins;src:url(fonts/poppins-700.woff2);font-weight:700}
:root{--red:#ed1c24;--ink:#252525;--paper:#f2f3f2;--line:#e2e4e2;--muted:#737773;--dark:#222;--green:#23865e}.juhta-portal-app,.juhta-login,.juhta-access-denied{font-family:Roboto,Arial,sans-serif;color:var(--ink)}.juhta-portal-app *,.juhta-login *{box-sizing:border-box}.juhta-portal-app button,.juhta-portal-app input,.juhta-portal-app select,.juhta-portal-app textarea,.juhta-login input{font-family:Roboto,Arial,sans-serif}
.jp-shell{display:grid;grid-template-columns:250px 1fr;min-height:100vh;background:var(--paper);margin:0!important}.jp-sidebar{position:sticky;top:0;height:100vh;background:var(--dark);color:#fff;padding:24px 18px 18px;display:flex;flex-direction:column;z-index:40;overflow:auto}.jp-brand{padding:2px 14px 24px;border-bottom:1px solid #3a3a3a}.jp-brand img{display:block;width:108px;max-height:50px;object-fit:contain;object-position:left center;filter:brightness(0) invert(1)}.jp-brand span{display:block;color:#929492;font:600 9px Poppins,Arial;letter-spacing:.18em;margin-top:10px;text-transform:uppercase}.jp-nav-kicker{font:600 9px Poppins;color:#747674;letter-spacing:.18em;margin:22px 14px 8px}.jp-sidebar nav{display:grid;gap:1px}.jp-sidebar nav button{position:relative;border:0;background:transparent;color:#b9bbb9;text-align:left;padding:9px 12px;border-radius:2px;font:500 12px Poppins;cursor:pointer;display:flex;align-items:center;gap:11px;min-height:36px}.jp-sidebar nav button i{font:normal 15px Arial;width:18px;text-align:center;color:#808380}.jp-sidebar nav button.active{background:#303030;color:#fff}.jp-sidebar nav button.active:before{content:"";position:absolute;left:-18px;top:0;bottom:0;width:3px;background:var(--red)}.jp-sidebar nav button.active i{color:var(--red)}.jp-sidebar nav button b{margin-left:auto;background:#3c3c3c;color:#cfd0cf;font:600 9px Poppins;padding:2px 6px;border-radius:9px}.jp-user{margin-top:auto;border-top:1px solid #3a3a3a;padding:16px 8px 0;display:grid;grid-template-columns:34px 1fr auto;gap:9px;align-items:center}.jp-avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--red);font:600 11px Poppins}.jp-user>div:nth-child(2){display:grid}.jp-user strong{font:600 11px Poppins}.jp-user small{color:#8f928f;font-size:9px;margin-top:2px}.jp-user a{font-size:0;color:#aaa;text-decoration:none}.jp-user a:after{content:'↗';font-size:14px}
.jp-shell main{min-width:0}.jp-top{height:78px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:18px;padding:0 38px;position:sticky;top:0;z-index:30}.jp-menu{display:none}.jp-top-title{display:grid;min-width:150px}.jp-top-title span{font:700 8px Poppins;letter-spacing:.16em;color:var(--red)}.jp-top-title strong{font:600 13px Poppins;margin-top:3px}.jp-search{height:38px;display:flex;align-items:center;gap:9px;background:#f6f7f6;border:1px solid #e7e8e7;border-radius:3px;padding:0 12px;max-width:440px;flex:1;color:#9a9d9a}.jp-search input{border:0!important;background:transparent!important;box-shadow:none!important;outline:0;width:100%;font-size:11px;padding:0!important}.jp-view{margin-left:auto;display:grid;gap:3px}.jp-view span{font:600 8px Poppins;letter-spacing:.08em;color:var(--muted);text-transform:uppercase}.jp-view select{height:34px;border:1px solid var(--line);border-radius:3px;background:#fff;padding:0 30px 0 10px;font-size:10px}.jp-content{padding:34px 38px;max-width:1576px;margin:auto}.jp-heading{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:24px}.jp-heading>div>span,.jp-modal header span{font:700 9px Poppins;letter-spacing:.16em;color:var(--red)}.jp-heading h1{font:600 25px Poppins;margin:4px 0 0;letter-spacing:-.02em}.jp-heading p{color:var(--muted);font-size:11px;margin:6px 0 0}.jp-heading>a{text-decoration:none}.jp-online{font-style:normal;font-size:10px;color:var(--green);background:#eaf5ef;padding:7px 11px;border-radius:16px}
.jp-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:20px}.jp-metrics article{background:#fff;border:1px solid var(--line);border-radius:4px;padding:20px;min-height:150px;display:flex;flex-direction:column;justify-content:center;box-shadow:0 1px 4px rgba(30,35,30,.025)}.jp-metrics span{display:block;font:600 10px Poppins;color:var(--muted)}.jp-metrics strong{display:block;font:600 27px Poppins;margin:8px 0 4px;letter-spacing:-.03em}.jp-metrics small{font-size:9px;color:#929692;line-height:1.45}.jp-metrics article.accent{background:#2a2a2a;color:#fff;border-color:#2a2a2a}.jp-metrics article.accent strong{color:var(--red)}.jp-metrics article.accent span,.jp-metrics article.accent small{color:#b9bbb9}.jp-grid{display:grid;grid-template-columns:1.45fr 1fr;gap:20px}.jp-panel{background:#fff;border:1px solid var(--line);border-radius:4px;padding:20px;margin-bottom:20px;box-shadow:0 1px 4px rgba(30,35,30,.025)}.jp-panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;gap:15px}.jp-panel-head h2{font:600 14px Poppins;margin:0}.jp-panel-head+.jp-table{margin:0 -20px -20px}.jp-list{display:grid}.jp-list button{display:flex;justify-content:space-between;align-items:center;gap:12px;border:0;border-top:1px solid #eceeec;background:#fff;padding:13px 0;text-align:left;cursor:pointer}.jp-list button:first-child{border-top:0}.jp-list span{display:grid;gap:2px}.jp-list strong{font:600 11px Poppins}.jp-list small,.jp-list em{font-size:9px;color:var(--muted);font-style:normal}.jp-list>b{font:600 11px Poppins;color:var(--red)}.status{display:inline-block;background:#eef0ee;color:#555b55;border-radius:12px;padding:4px 8px;font-size:9px;white-space:nowrap}.s-myyty,.s-vastaanotettu,.s-noudettu,.s-ansaittu{background:#eaf5ef;color:#217850}.s-valmistuksessa,.s-tuotannossa,.s-ennuste{background:#fff3dd;color:#8b5a00}.s-peruttu,.s-hävitty{background:#fdecee;color:#a41c26}
.jp-primary,.jp-secondary,.jp-small,.jp-danger{border:0;border-radius:3px;padding:10px 14px;font:600 10px Poppins;cursor:pointer;white-space:nowrap}.jp-primary{background:var(--red);color:#fff}.jp-secondary{background:#fff;color:var(--ink);border:1px solid #d5d8d5}.jp-small{padding:6px 9px;background:#f0f2f0;color:#343734}.jp-danger{background:#fdecee;color:#ad1722;margin-right:auto}.jp-table{overflow:auto}.jp-table table{width:100%;border-collapse:collapse;font-size:10px}.jp-table th{padding:11px 14px;background:#f8f9f8;color:#787d78;text-align:left;text-transform:uppercase;font:600 8px Poppins;letter-spacing:.07em;border-bottom:1px solid var(--line);white-space:nowrap}.jp-table td{padding:12px 14px;border-bottom:1px solid #eceeec;vertical-align:middle;min-width:80px}.jp-table tr:last-child td{border-bottom:0}.jp-table tr:hover td{background:#fbfcfb}.jp-table td strong,.jp-link strong{display:block;font:600 10px Poppins}.jp-table td small,.jp-link small{display:block;font-size:8px;color:var(--muted);margin-top:3px}.jp-link{border:0;background:transparent;padding:0;text-align:left;color:inherit;text-decoration:none;cursor:pointer;font-size:10px}.jp-empty{padding:24px;text-align:center;color:var(--muted);font-size:10px}.jp-filters{display:flex;gap:12px;background:#fff;border:1px solid var(--line);padding:13px 16px;margin-bottom:16px}.jp-filters label{display:grid;gap:4px;min-width:180px}.jp-filters span{font:600 8px Poppins;color:var(--muted);text-transform:uppercase}.jp-filters input,.jp-filters select{height:34px;border:1px solid var(--line);border-radius:3px;background:#fff;padding:0 9px;font-size:10px}.jp-tabs{display:flex;gap:0;border-bottom:1px solid #d9dcd9;margin-bottom:20px;overflow:auto}.jp-tabs button{border:0;background:transparent;padding:11px 15px;font:600 10px Poppins;color:#727772;cursor:pointer;white-space:nowrap;border-bottom:2px solid transparent}.jp-tabs button.active{color:var(--ink);border-color:var(--red)}
.jp-profit{display:grid;grid-template-columns:1fr 1fr;gap:14px}.jp-profit>div{background:#f7f8f7;border:1px solid #e9ebe9;padding:16px;display:grid}.jp-profit span,.jp-profit small{font-size:9px;color:var(--muted)}.jp-profit strong{font:600 21px Poppins;margin:5px 0}.jp-alerts{display:grid;gap:9px}.jp-alerts article{display:flex;gap:12px;background:#fff8e9;border:1px solid #f2dfb8;padding:12px}.jp-alerts b{width:28px;height:28px;display:grid;place-items:center;background:#f2b646;border-radius:50%;font:600 11px Poppins}.jp-alerts div{display:grid}.jp-alerts strong{font:600 10px Poppins}.jp-alerts small{font-size:9px;color:var(--muted)}.jp-timeline{display:grid;max-height:420px;overflow:auto}.jp-timeline article{display:grid;grid-template-columns:12px 1fr;gap:8px;padding:9px 0;border-bottom:1px solid #eceeec}.jp-timeline i{width:6px;height:6px;border-radius:50%;background:var(--red);margin-top:4px}.jp-timeline div{display:grid}.jp-timeline strong{font-size:9px;font-weight:500}.jp-timeline small{font-size:8px;color:var(--muted);margin-top:3px}.jp-chart{height:210px;display:flex;align-items:flex-end;gap:12px;padding:22px 5px 0}.jp-chart>div{height:100%;flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:5px;position:relative}.jp-chart span{display:block;width:min(36px,70%);background:#2b2b2b;border-radius:2px 2px 0 0;min-height:3px}.jp-chart>div:nth-last-child(1) span{background:var(--red)}.jp-chart b{position:absolute;top:-1px;font:600 9px Poppins}.jp-chart small{font-size:8px;color:var(--muted)}.jp-ranking{list-style:none;padding:0;margin:0;counter-reset:rank}.jp-ranking li{counter-increment:rank;display:grid;grid-template-columns:24px 1fr auto;gap:7px;padding:10px 0;border-bottom:1px solid #eceeec;font-size:10px}.jp-ranking li:before{content:counter(rank);color:var(--red);font:600 10px Poppins}.jp-ranking strong{font:600 11px Poppins}.jp-facts{margin:0;display:grid}.jp-facts>div{display:flex;justify-content:space-between;border-bottom:1px solid #eceeec;padding:10px 0}.jp-facts dt{font-size:9px;color:var(--muted)}.jp-facts dd{margin:0;font:600 10px Poppins}.jp-pipeline{display:grid;grid-template-columns:repeat(5,1fr);margin-bottom:20px;background:#fff;border:1px solid var(--line)}.jp-pipeline article{padding:14px 18px;border-right:1px solid var(--line);display:grid}.jp-pipeline article:last-child{border:0}.jp-pipeline b{font:600 20px Poppins}.jp-pipeline span{font-size:9px;color:var(--muted)}
.jp-service-packages{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:20px}.jp-service-packages article{background:#fff;border:1px solid var(--line);padding:19px;display:grid}.jp-service-packages article>span{font:700 8px Poppins;letter-spacing:.12em;color:var(--red)}.jp-service-packages h3{font:600 13px Poppins;margin:9px 0}.jp-service-packages strong{font:600 21px Poppins}.jp-service-packages small{font-size:9px;color:var(--muted);min-height:30px;margin:5px 0 12px}.jp-kanban{display:grid;gap:7px}.jp-kanban section{display:flex;justify-content:space-between;background:#f6f7f6;border:1px solid #e7e9e7;padding:10px}.jp-kanban header{display:contents}.jp-kanban span{font-size:9px}.jp-kanban b{font:600 10px Poppins;color:var(--red)}.jp-kanban.wide{grid-template-columns:repeat(4,1fr);align-items:start;overflow:auto}.jp-kanban.wide section{min-width:190px;display:grid;gap:7px}.jp-kanban.wide section header{display:flex;justify-content:space-between}.jp-kanban.wide section button{background:#fff;border:1px solid var(--line);padding:10px;text-align:left;display:grid;cursor:pointer}.jp-kanban.wide section button strong{font:600 9px Poppins}.jp-kanban.wide section button small{font-size:8px;color:var(--muted);margin-top:3px}.jp-product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.jp-product-grid>article{background:#fff;border:1px solid var(--line);padding:20px;min-height:250px;position:relative}.jp-product-mark{height:54px;background:#282828;color:#fff;display:grid;place-items:center;font:700 18px Poppins;letter-spacing:.15em;margin:-20px -20px 18px}.jp-product-grid>article>span{font:600 8px Poppins;letter-spacing:.1em;color:var(--red);text-transform:uppercase}.jp-product-grid h2{font:600 15px Poppins;margin:7px 0 2px}.jp-product-grid>article>small{font-size:9px;color:var(--muted)}.jp-product-grid>article>div:last-child{display:grid;margin-top:14px}.jp-product-grid>article button{display:flex;justify-content:space-between;gap:10px;border:0;border-top:1px solid #eceeec;background:#fff;padding:9px 0;cursor:pointer;font-size:9px}.jp-product-grid>article button strong{font:600 10px Poppins}.jp-permissions{display:flex;gap:4px;flex-wrap:wrap}.jp-permissions span{background:#eff1ef;border-radius:8px;padding:3px 6px;font-size:8px}
.jp-backdrop{position:fixed;inset:0;background:rgba(10,12,10,.66);z-index:1000;display:grid;place-items:center;padding:20px}.jp-modal{width:min(850px,100%);max-height:92vh;overflow:auto;background:#fff;border-radius:5px;box-shadow:0 30px 80px rgba(0,0,0,.3)}.jp-modal header{position:sticky;top:0;background:#fff;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;padding:18px 22px;z-index:2}.jp-modal header h2{font:600 17px Poppins;margin:4px 0}.jp-modal>header>button{border:0;background:#f0f2f0;border-radius:50%;width:44px;height:44px;min-width:44px;font-size:19px;cursor:pointer}.jp-modal form{padding:20px 22px}.jp-modal .fields{display:grid;grid-template-columns:repeat(2,1fr);gap:13px}.jp-modal label{display:grid;gap:5px}.jp-modal label>span{font:600 9px Poppins;color:#626762}.jp-modal input,.jp-modal select,.jp-modal textarea{width:100%;border:1px solid #d9dcd9;border-radius:3px;background:#fff;padding:10px;font-size:11px;box-shadow:none}.jp-modal textarea{min-height:86px;resize:vertical}.jp-modal label.wide{grid-column:1/-1}.jp-modal footer{display:flex;justify-content:flex-end;gap:8px;border-top:1px solid var(--line);margin:20px -22px -20px;padding:15px 22px;position:sticky;bottom:0;background:#fff}
.juhta-loading,.juhta-error,.juhta-access-denied{max-width:480px;margin:80px auto;background:#fff;border:1px solid var(--line);padding:28px;text-align:center}.juhta-error{color:#a41621}.juhta-login{min-height:100vh;display:grid;grid-template-columns:minmax(360px,45%) 1fr;background:#fff}.jl-brand{background:#222;color:#fff;padding:58px 64px;display:flex;flex-direction:column;min-height:100vh;position:relative;overflow:hidden}.jl-brand:after{content:"";position:absolute;width:360px;height:360px;border:80px solid var(--red);border-radius:50%;right:-230px;bottom:50px;opacity:.95}.jl-brand img{width:128px;filter:brightness(0) invert(1);position:relative;z-index:1}.jl-brand>div{margin:auto 0;max-width:510px;position:relative;z-index:1}.jl-brand span,.jl-kicker{font:700 9px Poppins;letter-spacing:.18em;color:var(--red)}.jl-brand h1{font:600 clamp(30px,3.3vw,52px) Poppins;line-height:1.08;letter-spacing:-.035em;margin:16px 0}.jl-brand p{max-width:450px;color:#bcbebc;font-size:13px;line-height:1.7}.jl-brand>small{font:600 8px Poppins;letter-spacing:.15em;color:#747774;position:relative;z-index:1}.jl-form{display:grid;place-items:center;padding:45px;background:#f7f8f7}.jl-form-inner{width:min(390px,100%)}.jl-form h2{font:600 28px Poppins;margin:10px 0 5px;letter-spacing:-.02em}.jl-form-inner>p{font-size:12px;color:var(--muted);margin:0 0 30px}.jl-form form p{margin:0 0 16px}.jl-form form label{display:block;font:600 9px Poppins;color:#555a55;margin-bottom:6px}.jl-form .input{width:100%;height:48px;border:1px solid #d4d7d4!important;border-radius:3px;background:#fff;padding:0 13px!important;font-size:13px;box-shadow:none!important;outline:none}.jl-form .input:focus{border-color:#777!important}.jl-form .forgetmenot{display:flex;align-items:center;gap:7px}.jl-form .forgetmenot label{font:400 10px Roboto;margin:0}.jl-form input[type=checkbox]{accent-color:var(--red)}.jl-form .submit{margin-top:22px}.jl-form #wp-submit{width:100%;height:47px;border:0;border-radius:3px;background:var(--red);color:#fff;font:600 11px Poppins;cursor:pointer}.jl-help{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #dfe1df;margin-top:24px;padding-top:18px;font-size:9px;color:var(--muted)}.jl-help span{display:grid;text-align:right}.jl-help a{color:var(--ink);font-weight:600;text-decoration:none}
@media(max-width:1100px){.jp-metrics{grid-template-columns:repeat(2,1fr)}.jp-product-grid,.jp-service-packages{grid-template-columns:repeat(2,1fr)}.jp-kanban.wide{grid-template-columns:repeat(3,1fr)}}
@media(max-width:800px){.jp-shell{grid-template-columns:1fr}.jp-sidebar{position:fixed;left:-260px;width:250px;transition:left .2s}.jp-sidebar.open{left:0}.jp-menu{display:block;border:0;background:#f0f2f0;width:35px;height:35px}.jp-top{padding:0 14px;height:68px;gap:9px}.jp-top-title{display:none}.jp-view{display:none}.jp-top .jp-primary{padding:9px}.jp-content{padding:22px 14px}.jp-heading{display:grid;gap:12px}.jp-heading h1{font-size:21px}.jp-grid{grid-template-columns:1fr}.jp-product-grid,.jp-service-packages{grid-template-columns:1fr}.jp-filters{display:grid}.jp-filters label{min-width:0}.jp-profit{grid-template-columns:1fr}.jp-modal .fields{grid-template-columns:1fr}.jp-modal label.wide{grid-column:auto}.jp-pipeline{grid-template-columns:1fr 1fr}.juhta-login{grid-template-columns:1fr}.jl-brand{min-height:310px;padding:36px}.jl-brand>div{margin:55px 0 35px}.jl-brand h1{font-size:30px}.jl-brand p{display:none}.jl-form{padding:45px 24px}.jp-kanban.wide{grid-template-columns:repeat(2,1fr)}}

/* 2.1 readability and interaction pass */
.jp-shell{grid-template-columns:264px 1fr}.jp-sidebar{padding-left:20px;padding-right:20px}.jp-brand span{font-size:10px}.jp-nav-kicker{font-size:10px;margin-top:24px}.jp-sidebar nav{gap:3px}.jp-sidebar nav button{min-height:42px;padding:10px 12px;font-size:13px;border-radius:5px;transition:background-color .18s ease,color .18s ease,transform .18s ease}.jp-sidebar nav button:hover{background:#2c2c2c;color:#fff;transform:translateX(2px)}.jp-sidebar nav button i{width:20px;height:20px;display:grid;place-items:center;color:#8f938f}.jp-sidebar nav button i svg{display:block;width:19px;height:19px}.jp-sidebar nav button.active i{color:var(--red)}.jp-sidebar nav button b{font-size:10px;min-width:24px;text-align:center}.jp-user strong{font-size:12px}.jp-user small{font-size:10px}.jp-avatar{width:38px;height:38px;font-size:12px}.jp-user{grid-template-columns:38px 1fr auto}
.jp-top{height:82px}.jp-top-title strong{font-size:15px}.jp-top-title span,.jp-view span{font-size:9px}.jp-search{height:42px}.jp-search input{font-size:13px}.jp-view select{height:39px;font-size:12px}.jp-content{padding-top:38px}.jp-heading h1{font-size:29px}.jp-heading p{font-size:13px;line-height:1.55;max-width:760px}.jp-heading>div>span,.jp-modal header span{font-size:10px}.jp-online{font-size:11px}.jp-metrics span{font-size:12px}.jp-metrics strong{font-size:31px}.jp-metrics small{font-size:11px}.jp-panel-head h2{font-size:16px}.jp-list strong{font-size:12px}.jp-list small,.jp-list em{font-size:10.5px;line-height:1.45}.jp-list>b{font-size:12px}.status{font-size:10.5px;padding:5px 9px}.jp-table table{font-size:12px}.jp-table th{font-size:9.5px;padding:13px 15px}.jp-table td{padding:14px 15px}.jp-table td strong,.jp-link strong{font-size:11.5px}.jp-table td small,.jp-link small{font-size:10px;line-height:1.4}.jp-link{font-size:11.5px}.jp-empty{font-size:12px}.jp-filters span{font-size:9.5px}.jp-filters input,.jp-filters select{height:39px;font-size:12px}.jp-tabs button{font-size:11.5px;padding:13px 17px}.jp-profit span,.jp-profit small,.jp-alerts small,.jp-timeline strong,.jp-facts dt,.jp-pipeline span{font-size:10.5px}.jp-profit strong{font-size:23px}.jp-alerts strong{font-size:11.5px}.jp-timeline small{font-size:9.5px}.jp-ranking li{font-size:11.5px}.jp-ranking li:before,.jp-ranking strong,.jp-facts dd{font-size:12px}.jp-service-packages article>span,.jp-product-grid>article>span{font-size:9px}.jp-service-packages h3,.jp-product-grid h2{font-size:15px}.jp-service-packages small,.jp-product-grid>article>small,.jp-product-grid>article button{font-size:10.5px}.jp-product-grid>article button strong{font-size:11.5px}.jp-kanban span,.jp-kanban.wide section button strong{font-size:10.5px}.jp-kanban.wide section button small{font-size:9.5px}.jp-permissions span{font-size:9.5px}.jp-modal label>span{font-size:10.5px}.jp-modal input,.jp-modal select,.jp-modal textarea{font-size:12.5px}
.jp-primary,.jp-secondary,.jp-small,.jp-danger{font-size:11.5px;padding:11px 16px;transition:transform .16s ease,box-shadow .16s ease,background-color .16s ease,border-color .16s ease}.jp-primary:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(237,28,36,.22);background:#d9171e}.jp-secondary:hover,.jp-small:hover{transform:translateY(-2px);border-color:#aeb3ae;box-shadow:0 6px 14px rgba(28,34,28,.09);background:#fff}.jp-danger:hover{transform:translateY(-2px);box-shadow:0 6px 14px rgba(173,23,34,.1)}.jp-primary:active,.jp-secondary:active,.jp-small:active,.jp-danger:active{transform:translateY(0) scale(.97);box-shadow:none}.jp-primary:focus-visible,.jp-secondary:focus-visible,.jp-small:focus-visible,.jp-danger:focus-visible,.jp-sidebar button:focus-visible,.jp-tabs button:focus-visible{outline:3px solid rgba(237,28,36,.25);outline-offset:2px}.jp-panel,.jp-metrics article,.jp-product-grid>article,.jp-service-packages article{transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.jp-metrics article:hover,.jp-product-grid>article:hover,.jp-service-packages article:hover{transform:translateY(-3px);border-color:#d2d5d2;box-shadow:0 10px 28px rgba(30,35,30,.08)}.jp-table tbody tr{transition:background-color .15s ease}.jp-list button{transition:padding-left .16s ease,color .16s ease}.jp-list button:hover{padding-left:5px;color:#111}
.jp-chart{height:270px;display:grid;grid-template-columns:repeat(var(--cols),minmax(42px,1fr));gap:16px;align-items:stretch;padding:22px 16px 34px;margin-top:8px;border-left:1px solid #dfe2df;border-bottom:1px solid #dfe2df;background:repeating-linear-gradient(to top,transparent 0,transparent calc(25% - 1px),#eceeec 25%);overflow-x:auto}.jp-chart>div{height:100%;min-width:42px;position:relative;display:block}.jp-chart span{position:absolute;left:50%;bottom:0;width:min(52px,68%);height:var(--bar);transform:translateX(-50%) scaleY(0);transform-origin:bottom;background:linear-gradient(180deg,#444,#242424);border-radius:5px 5px 0 0;box-shadow:0 4px 9px rgba(20,25,20,.12);animation:jp-bar-grow .55s cubic-bezier(.2,.7,.2,1) forwards}.jp-chart>div:last-child span{background:linear-gradient(180deg,#ff3038,var(--red))}.jp-chart b{position:absolute;left:50%;bottom:calc(var(--bar) + 7px);transform:translateX(-50%);font:600 11px Poppins;color:#3b3f3b;white-space:nowrap}.jp-chart small{position:absolute;left:50%;top:calc(100% + 11px);transform:translateX(-50%);font-size:10px;color:var(--muted);white-space:nowrap}.jp-chart>div:hover span{filter:brightness(1.12)}@keyframes jp-bar-grow{to{transform:translateX(-50%) scaleY(1)}}
@media(max-width:1100px){.jp-shell{grid-template-columns:250px 1fr}.jp-chart{gap:10px}.jp-content{padding-left:26px;padding-right:26px}}
@media(max-width:800px){.jp-shell{grid-template-columns:1fr}.jp-sidebar{left:-270px;width:264px}.jp-top{height:70px}.jp-content{padding:24px 14px}.jp-heading h1{font-size:24px}.jp-heading p{font-size:12px}.jp-metrics strong{font-size:27px}.jp-table table{font-size:11px}.jp-chart{height:235px;grid-template-columns:repeat(var(--cols),minmax(30px,1fr));padding-left:8px;padding-right:8px;gap:4px;overflow-x:hidden}.jp-chart span{width:min(38px,72%)}.jp-chart b{font-size:9px}.jp-chart small{font-size:8.5px}}
.jp-metrics span{line-height:1.35;min-height:33px}.jp-view-note{font-size:12px;line-height:1.65;color:var(--muted);margin:0;padding:4px 0}.jp-stats-grid{align-items:start}
@media(max-width:520px){.jp-search{display:none}.jp-view{display:grid;margin-left:auto}.jp-view>span{display:none}.jp-view select{width:220px;max-width:calc(100vw - 86px);height:40px;font-size:12px}.jp-top .jp-primary{font-size:0;width:40px;height:40px;padding:0}.jp-top .jp-primary:first-letter{font-size:18px}}
.jp-chart b{top:auto}.jp-metrics.jp-three{grid-template-columns:repeat(3,1fr)}.view-kari-krohns [data-crm="Hallinta"]{display:none}.jp-part-directory{background:#fff;border:1px solid var(--line);border-radius:4px;padding:20px;margin-bottom:18px}.jp-part-directory form label{display:grid;gap:7px}.jp-part-directory form label>span{font:600 11px Poppins;color:#555b55}.jp-part-directory form label>div{display:flex;gap:8px}.jp-part-directory input{height:43px;flex:1;min-width:160px;border:1px solid #cfd3cf;border-radius:4px;padding:0 13px;font-size:13px;outline:0}.jp-part-directory input:focus{border-color:#747a74;box-shadow:0 0 0 3px rgba(37,37,37,.06)}.jp-category-strip{display:flex;gap:7px;overflow-x:auto;padding:16px 0 8px;scrollbar-width:thin}.jp-category-strip button{border:1px solid #d9dcd9;border-radius:18px;background:#f8f9f8;padding:7px 11px;font-size:10.5px;white-space:nowrap;cursor:pointer;transition:background .15s ease,border-color .15s ease,color .15s ease}.jp-category-strip button:hover{border-color:#aeb3ae;background:#fff}.jp-category-strip button.active{background:#292929;border-color:#292929;color:#fff}.jp-category-strip button b{font:600 9px Poppins;margin-left:4px;opacity:.72}.jp-part-directory>p{font-size:11px;color:var(--muted);margin:8px 0 0}.jp-panel .jp-table th{position:sticky;top:0;z-index:2}.jp-row-actions{display:flex;gap:6px}.jp-small.jp-remove{background:#fff0f1;color:#a71821}.jp-product-link{display:inline-flex;align-items:center;margin:12px 0 4px;color:var(--red);font:600 10.5px Poppins;text-decoration:none}.jp-product-link:hover{text-decoration:underline}.jp-product-variant{display:flex;justify-content:space-between;gap:10px;border-top:1px solid #eceeec;padding:10px 0;font-size:10.5px}.jp-product-variant strong{font:600 11.5px Poppins}
.jp-sidebar nav button b.jp-active-count{background:var(--red);color:#fff;box-shadow:0 0 0 3px rgba(237,28,36,.14)}.jp-metrics.jp-two{grid-template-columns:repeat(2,1fr)}.s-reklamoitu{background:var(--red);color:#fff;box-shadow:0 0 0 2px rgba(237,28,36,.12)}.s-tilattu-tehtaalta,.s-tuotannossa{background:#fff3dd;color:#8b5a00}.s-odottaa-noutoa,.s-valmis{background:#eaf2ff;color:#285b96}.s-varattu{background:#f1edff;color:#6846a5}.s-luonnos{background:#eef0ee;color:#555b55}.jp-order-pipeline{display:grid;grid-template-columns:repeat(auto-fit,minmax(105px,1fr));gap:8px;margin-bottom:20px}.jp-order-pipeline button{border:1px solid var(--line);border-radius:4px;background:#fff;padding:13px 14px;text-align:left;display:grid;gap:3px;cursor:pointer;transition:border-color .15s ease,transform .15s ease,box-shadow .15s ease}.jp-order-pipeline button:hover{transform:translateY(-2px);border-color:#b9bdb9;box-shadow:0 6px 16px rgba(30,35,30,.07)}.jp-order-pipeline button.active{border-color:#2b2b2b;box-shadow:inset 0 -3px 0 var(--red)}.jp-order-pipeline b{font:600 20px Poppins}.jp-order-pipeline span{font:600 10px Poppins;color:var(--muted)}.jp-order-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:14px}.jp-order-card{border:1px solid var(--line);border-radius:5px;background:#fff;padding:18px;display:flex;flex-direction:column;min-height:330px;box-shadow:0 1px 4px rgba(30,35,30,.03)}.jp-order-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.jp-order-card>header>div{display:grid;gap:2px}.jp-order-card>header>div>span{font:600 11.5px Poppins}.jp-order-card>header small,.jp-order-card>p{font-size:10px;color:var(--muted)}.jp-order-card h3{font:600 16px Poppins;margin:20px 0 3px}.jp-order-card>p{margin:0 0 16px}.jp-order-card dl{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 18px}.jp-order-card dl div{display:grid;gap:3px}.jp-order-card dt{font:600 8.5px Poppins;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}.jp-order-card dd{font-size:11px;margin:0}.jp-order-status{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:end;margin-top:auto;padding-top:14px;border-top:1px solid #eceeec}.jp-order-status label{display:grid;gap:5px}.jp-order-status label span{font:600 9px Poppins;color:var(--muted)}.jp-order-status select{height:39px;border:1px solid #cfd3cf;border-radius:3px;background:#fff;padding:0 9px;font-size:11.5px}.jp-order-edit{width:100%;margin-top:8px}.jp-retention{display:block;font-size:10px;color:var(--muted);white-space:nowrap}.jp-retention.ready{color:#217850;font-weight:600}.jp-retention+small{display:block;font-size:9px;color:var(--muted);margin-top:3px}
.jp-order-accessory-summary{margin:0 0 18px;border:1px solid #dde3df;border-radius:4px;background:#f7faf8;padding:11px 12px}.jp-order-accessory-summary>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.jp-order-accessory-summary>header>span{color:var(--red);font:700 9px Poppins;letter-spacing:.09em}.jp-order-accessory-summary>header>strong{color:#5e655f;font:600 10px Poppins}.jp-order-accessory-summary ul{margin:8px 0 0;padding:0;list-style:none}.jp-order-accessory-summary li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:start;border-top:1px solid #e0e5e2;padding:7px 0;color:#343934;font-size:12px;line-height:1.45}.jp-order-accessory-summary li:first-child{border-top:0;padding-top:2px}.jp-order-accessory-summary li span{overflow-wrap:anywhere}.jp-order-accessory-summary li b{white-space:nowrap;font:600 11px/1.55 Poppins}.jp-order-accessory-summary>p{margin:8px 0 0;color:#6c726d;font-size:12px;line-height:1.45}.jp-order-accessory-summary.is-modal{margin:0 0 18px;padding:14px 16px}.jp-order-accessory-summary.is-modal>header>span{font-size:9.5px}.jp-order-accessory-summary.is-modal li,.jp-order-accessory-summary.is-modal>p{font-size:13px}
@media(max-width:800px){.jp-metrics.jp-three,.jp-metrics.jp-two{grid-template-columns:1fr 1fr}.jp-part-directory form label>div{flex-wrap:wrap}.jp-part-directory input{flex-basis:100%}.jp-part-directory form .jp-primary,.jp-part-directory form .jp-secondary{flex:1}.jp-row-actions{flex-direction:column}.jp-order-grid{grid-template-columns:1fr}.jp-order-pipeline{grid-template-columns:repeat(2,1fr)}.jp-order-status{grid-template-columns:1fr}.jp-order-status .jp-primary{width:100%}}
@media(prefers-reduced-motion:reduce){.jp-sidebar nav button,.jp-primary,.jp-secondary,.jp-small,.jp-danger,.jp-panel,.jp-metrics article,.jp-product-grid>article,.jp-service-packages article,.jp-list button{transition:none}.jp-chart span{animation:none;transform:translateX(-50%) scaleY(1)}}
.jp-sidebar nav button b.jp-active-count{width:9px;height:9px;min-width:9px;padding:0;border-radius:50%}
.s-myyntivarasto{background:#e8f5ee;color:#176a46;box-shadow:0 0 0 2px rgba(23,106,70,.1)}
.jp-user{grid-template-columns:38px 1fr}.jp-user-actions{grid-column:1/-1;display:flex;gap:7px;margin-top:5px}.jp-user-actions button,.jp-user-actions a{flex:1;border:1px solid #454845;border-radius:3px;background:#2c2c2c;color:#c9cbc9;padding:7px 8px;text-align:center;text-decoration:none;font:500 9px Poppins;cursor:pointer}.jp-user-actions button:hover,.jp-user-actions a:hover{border-color:#666;color:#fff}.jp-user-create{display:grid;gap:18px}.jp-user-create-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.jp-user-create-head>div>span{font:700 9px Poppins;letter-spacing:.13em;color:var(--red)}.jp-user-create h2{margin:5px 0 3px;font:600 17px Poppins}.jp-user-create p{margin:0;color:var(--muted);font-size:11px}.jp-user-create .fields,.jp-user-access-card .fields{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.jp-user-create .fields label,.jp-user-access-card .fields label{display:grid;gap:5px}.jp-user-create .fields label>span,.jp-user-access-card .fields label>span{font:600 9px Poppins;color:var(--muted)}.jp-user-create input,.jp-user-create select,.jp-user-access-card input,.jp-user-access-card select{width:100%;height:39px;border:1px solid #d5d8d5;border-radius:3px;background:#fff;padding:0 10px;font-size:11.5px}.jp-user-create .wide,.jp-user-access-card .wide{grid-column:1/-1}.jp-user-create footer{display:flex;justify-content:flex-end;padding-top:15px;border-top:1px solid var(--line)}.jp-access-switch{display:flex!important;align-items:center!important;gap:8px!important;white-space:nowrap}.jp-access-switch input{width:17px!important;height:17px!important;accent-color:var(--green)}.jp-access-switch span{font:600 10px Poppins!important;color:#3e443e!important}.jp-user-access-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.jp-user-access-title strong{font:600 11px Poppins}.jp-user-access-title small{font-size:9.5px;color:var(--muted)}.jp-module-controls{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.jp-module-controls label{display:flex;align-items:center;gap:7px;border:1px solid #e0e3e0;border-radius:3px;padding:8px 9px;background:#fafbfa;cursor:pointer}.jp-module-controls label:has(input:checked){border-color:#9bcab5;background:#f0f8f4}.jp-module-controls input{width:15px!important;height:15px!important;accent-color:var(--green)}.jp-module-controls span{font-size:9.5px}.jp-user-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:20px}.jp-user-access-card{display:grid;gap:16px;background:#fff;border:1px solid var(--line);border-radius:4px;padding:18px;box-shadow:0 1px 4px rgba(30,35,30,.025)}.jp-user-access-card.primary-admin{border-color:#e3c4c6;box-shadow:inset 0 3px 0 var(--red)}.jp-user-access-card>header{display:grid;grid-template-columns:42px 1fr auto;gap:10px;align-items:center;padding-bottom:14px;border-bottom:1px solid #eceeec}.jp-user-card-avatar{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#252525;color:#fff;font:600 12px Poppins}.jp-user-access-card>header>div:nth-child(2){display:grid;gap:2px}.jp-user-access-card>header strong{font:600 12px Poppins}.jp-user-access-card>header small{font-size:9.5px;color:var(--muted)}.jp-user-access-card>header>b{border-radius:11px;background:#fdecee;color:#a41c26;padding:5px 8px;font:700 8px Poppins;letter-spacing:.06em}.jp-user-access-card footer{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding-top:14px;border-top:1px solid #eceeec}.jp-user-access-card footer>span{color:var(--muted);font-size:10px}.jp-password-modal{width:min(520px,100%)}.jp-password-note{margin:0 0 18px;padding:12px 14px;border:1px solid #dce7e0;border-radius:4px;background:#f3f8f5;color:#52655b;font-size:11px;line-height:1.5}
.jp-manual-actions{display:grid;gap:5px;min-width:175px}.jp-manual-actions .jp-primary{display:block;width:100%;text-align:center;text-decoration:none}.jp-manual-actions small{max-width:190px;color:var(--muted);font-size:10px;line-height:1.35}
.jp-part-directory form label>small{color:var(--muted);font-size:9.5px}.jp-part-categories{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:18px}.jp-part-categories button{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #dfe2df;border-radius:4px;background:#fafbfa;padding:10px 12px;color:#353935;text-align:left;cursor:pointer;transition:border-color .15s ease,transform .15s ease,box-shadow .15s ease}.jp-part-categories button:hover{transform:translateY(-1px);border-color:#aeb3ae;box-shadow:0 4px 12px rgba(30,35,30,.05)}.jp-part-categories button.active{border-color:#292929;background:#292929;color:#fff;box-shadow:inset 0 -3px 0 var(--red)}.jp-part-categories button span{font:600 10px Poppins;line-height:1.35}.jp-part-categories button b{min-width:28px;border-radius:12px;background:#eceeec;padding:4px 7px;color:#5f645f;font:600 9px Poppins;text-align:center}.jp-part-categories button.active b{background:#444;color:#fff}.jp-part-category-badge{display:inline-block;max-width:210px;border-radius:12px;background:#f0f2f0;padding:5px 8px;color:#555b55;font-size:9.5px;white-space:normal}.jp-part-admin-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px;padding:20px 22px;border-radius:5px;background:#292929;color:#fff}.jp-part-admin-head>div>span{font:700 9px Poppins;letter-spacing:.14em;color:var(--red)}.jp-part-admin-head h2{margin:4px 0 3px;font:600 18px Poppins}.jp-part-admin-head p{max-width:720px;margin:0;color:#bfc2bf;font-size:10.5px;line-height:1.5}.jp-part-admin-directory{margin-bottom:20px}
.jp-commission-guide{display:flex;align-items:center;justify-content:space-between;gap:28px;margin-bottom:16px;padding:22px 24px;border-radius:5px;background:#292929;color:#fff}.jp-commission-guide>div{max-width:760px}.jp-commission-guide>div>span{font:700 9px Poppins;letter-spacing:.14em;color:var(--red)}.jp-commission-guide h2{margin:5px 0 6px;font:600 19px Poppins}.jp-commission-guide p{margin:0;color:#c5c8c5;font-size:11.5px;line-height:1.55}.jp-commission-guide dl{display:flex;gap:8px;margin:0}.jp-commission-guide dl div{min-width:105px;padding:12px 14px;border:1px solid #454845;border-radius:4px}.jp-commission-guide dt{font:600 22px Poppins;color:#fff}.jp-commission-guide dd{margin:2px 0 0;color:#aeb1ae;font-size:9px}.jp-commission-saved{display:flex;align-items:center;gap:10px;margin-bottom:12px;padding:11px 14px;border:1px solid #b9dccb;border-radius:4px;background:#edf8f2;color:#1c6847}.jp-commission-saved strong{font:600 10.5px Poppins}.jp-commission-saved span{font-size:10.5px}.jp-commission-editor{overflow:hidden;margin-bottom:20px;border:1px solid var(--line);border-radius:5px;background:#fff;box-shadow:0 1px 4px rgba(30,35,30,.025)}.jp-commission-editor-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 20px;border-bottom:1px solid var(--line)}.jp-commission-editor-head>div{display:grid;gap:3px}.jp-commission-editor-head strong{font:600 14px Poppins}.jp-commission-editor-head small{font-size:10px;color:var(--muted)}.jp-commission-editor-head>span{border-radius:12px;background:#f0f2f0;padding:5px 9px;color:#666b66;font-size:9.5px}.jp-commission-editor.is-dirty .jp-commission-editor-head>span{background:#fff3dd;color:#845b0d}.jp-commission-tiers{display:grid}.jp-commission-tier{display:grid;grid-template-columns:160px repeat(4,minmax(145px,1fr));align-items:stretch;border-bottom:1px solid #e9ebe9}.jp-commission-tier:last-child{border-bottom:0}.jp-commission-tier>header{display:flex;flex-direction:column;justify-content:center;gap:3px;padding:17px 20px;background:#f7f8f7}.jp-commission-tier>header span{font:700 8px Poppins;letter-spacing:.11em;color:var(--red)}.jp-commission-tier>header strong{font:600 11px Poppins}.jp-commission-rate{display:grid;align-content:center;gap:6px;padding:14px 15px;border-left:1px solid #eceeec}.jp-commission-rate>span:first-child{min-height:28px;color:#636863;font:600 9px Poppins;line-height:1.4}.jp-rate-input{display:flex;align-items:center;overflow:hidden;height:42px;border:1px solid #cfd3cf;border-radius:4px;background:#fff;transition:border-color .15s ease,box-shadow .15s ease}.jp-rate-input:focus-within{border-color:#777d77;box-shadow:0 0 0 3px rgba(35,134,94,.1)}.jp-rate-input input{min-width:0;width:100%;height:100%;border:0;background:transparent;padding:0 8px 0 11px;font:600 16px Poppins;outline:0}.jp-rate-input b{display:grid;place-items:center;align-self:stretch;min-width:34px;background:#f2f3f2;color:#6a6f6a;font:600 11px Poppins}.jp-commission-rate>small{color:var(--red);font-size:8.5px}.jp-commission-editor footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px 20px;border-top:1px solid var(--line);background:#fafbfa}.jp-commission-editor footer p{max-width:680px;margin:0;color:var(--muted);font-size:9.5px;line-height:1.45}.jp-commission-editor .jp-primary:disabled{cursor:default;opacity:.45;transform:none;box-shadow:none}
.jp-warranty-actions .jp-primary{width:100%}.jp-warranty-tool{width:min(1180px,100%)}.jp-warranty-layout{display:grid;grid-template-columns:390px minmax(0,1fr);gap:0;background:#e9ebe9}.jp-warranty-editor{align-self:start;background:#fff}.jp-warranty-intro{margin-bottom:18px;padding:13px 14px;border:1px solid #dce7e0;border-radius:4px;background:#f3f8f5}.jp-warranty-intro strong{font:600 12px Poppins;color:#254d3b}.jp-warranty-intro p{margin:5px 0 0;color:#607067;font-size:11px;line-height:1.5}.jp-warranty-print{width:min(680px,calc(100% - 36px));min-height:900px;margin:18px auto;padding:42px 46px;background:#fff;color:#222;box-shadow:0 10px 32px rgba(25,30,25,.13);font-size:11px;line-height:1.45}.jp-warranty-document-head{display:flex;align-items:flex-start;justify-content:space-between;gap:30px;padding-bottom:22px;border-bottom:3px solid var(--red)}.jp-warranty-document-head img{display:block;width:112px;max-height:54px;object-fit:contain;object-position:left top}.jp-warranty-document-head>div{display:grid;gap:5px;text-align:right}.jp-warranty-document-head span{font:700 22px Poppins;letter-spacing:.04em}.jp-warranty-document-head strong{font:600 11px Poppins;color:#555}.jp-warranty-document-lead{margin:16px 0 20px;color:#626762}.jp-warranty-print section{margin-top:18px}.jp-warranty-print h3{margin:0 0 9px;padding-bottom:6px;border-bottom:1px solid #dfe2df;font:600 12px Poppins}.jp-warranty-print dl{display:grid;grid-template-columns:1fr 1fr;gap:9px 20px;margin:0}.jp-warranty-print dl div{min-width:0}.jp-warranty-print dl div.wide{grid-column:1/-1}.jp-warranty-print dt{font:600 8px Poppins;color:#737773;text-transform:uppercase;letter-spacing:.05em}.jp-warranty-print dd{margin:3px 0 0;min-height:17px;overflow-wrap:anywhere}.jp-warranty-notes{min-height:42px;margin:0;white-space:pre-wrap}.jp-warranty-terms{margin-top:20px;padding:12px 14px;background:#f5f6f5;border-left:3px solid var(--red)}.jp-warranty-terms strong{font:600 9px Poppins}.jp-warranty-terms p{margin:5px 0 0;font-size:9px;color:#555;line-height:1.5}.jp-warranty-signatures{display:grid;grid-template-columns:1fr 1fr 1fr;gap:18px;margin-top:48px}.jp-warranty-signatures>div{min-height:54px;border-top:1px solid #3b3b3b;padding-top:6px}.jp-warranty-signatures span{display:block;font-size:8px;color:#555}.jp-warranty-signatures small{display:block;margin-top:4px;font-size:8px;color:#777}.jp-warranty-signatures small span{color:inherit}
.jp-auto-number-note{display:grid;gap:3px;margin:20px 22px 0;padding:12px 14px;border:1px solid #dce7e0;border-radius:4px;background:#f3f8f5}.jp-auto-number-note strong{font:600 11px Poppins;color:#254d3b}.jp-auto-number-note span{font-size:10.5px;color:#607067}
.jp-order-builder{margin:18px 22px 2px;border:1px solid var(--line);border-radius:5px;overflow:hidden}.jp-order-builder-head{display:flex;justify-content:space-between;gap:20px;align-items:end;padding:17px 18px;background:#f8f9f8;border-bottom:1px solid var(--line)}.jp-order-builder-head>div>span,.jp-order-accessories>div:first-child>span{font:700 8.5px Poppins;letter-spacing:.13em;color:var(--red)}.jp-order-builder h3{font:600 14px Poppins;margin:4px 0 2px}.jp-order-builder p{font-size:10px;color:var(--muted);margin:0}.jp-order-builder-head>label{display:grid;gap:4px;min-width:270px}.jp-order-builder-head>label>span{font:600 9px Poppins;color:var(--muted)}.jp-order-builder-head input[type=search]{height:39px;border:1px solid #cfd3cf;border-radius:4px;background:#fff;padding:0 11px;font-size:11.5px}.jp-order-products{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;padding:12px;max-height:310px;overflow:auto}.jp-order-product{position:relative;display:grid;grid-template-columns:1fr auto;gap:3px 10px;border:1px solid #dfe2df;border-radius:4px;padding:12px;background:#fff;cursor:pointer}.jp-order-product:hover{border-color:#aeb3ae}.jp-order-product:has(input:checked){border-color:var(--red);box-shadow:0 0 0 2px rgba(237,28,36,.1)}.jp-order-product input{position:absolute;opacity:0;pointer-events:none}.jp-order-product span{display:grid;gap:3px}.jp-order-product strong{font:600 11px Poppins}.jp-order-product small{font-size:9.5px;color:var(--muted)}.jp-order-product>b{font:600 11px Poppins}.jp-order-product em{grid-column:1/-1;width:max-content;background:#eef0ee;border-radius:10px;padding:3px 6px;font-size:8px;font-style:normal;color:#616661}.jp-order-selected{display:grid;gap:3px;margin:0 12px 12px;padding:11px 13px;background:#2b2b2b;color:#fff;border-radius:4px}.jp-order-selected>span{font:600 8px Poppins;color:#aaa;text-transform:uppercase}.jp-order-selected>strong{font:600 12px Poppins}.jp-order-selected>small{font-size:9.5px;color:#ccc}.jp-order-accessories{border-top:1px solid var(--line);padding:16px 18px}.jp-order-accessory-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:7px;margin-top:12px}.jp-order-accessory{display:flex;align-items:center;gap:9px;border:1px solid #e1e4e1;border-radius:4px;padding:10px 11px;cursor:pointer}.jp-order-accessory:has(input:checked){border-color:#23865e;background:#f0f8f4}.jp-order-accessory input{accent-color:var(--green)}.jp-order-accessory span{display:flex;justify-content:space-between;gap:10px;width:100%;align-items:center}.jp-order-accessory strong{font:600 10.5px Poppins}.jp-order-accessory small{font-size:9.5px;color:var(--muted)}.jp-order-total{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #e6e8e6;margin-top:12px;padding-top:12px}.jp-order-total span{font-size:10px;color:var(--muted)}.jp-order-total strong{font:600 16px Poppins;color:var(--red)}
.jp-order-product[hidden],.jp-order-accessory[hidden],.jp-order-selected[hidden],.jp-order-total[hidden],.jp-order-no-results[hidden],.jp-order-no-accessories[hidden]{display:none!important}.jp-order-builder-head>label>small{font-size:9px;color:var(--muted);text-align:right}.jp-order-no-results{margin:12px!important;padding:12px 14px;border:1px solid #ead7d8;border-radius:4px;background:#fff5f5;color:#9c3035!important}.jp-order-no-accessories{margin-top:12px!important;padding:11px 12px;border-radius:4px;background:#f5f6f5}
.jp-order-product.is-custom{border-color:#e6c9ca;background:linear-gradient(135deg,#fff 0%,#fff7f7 100%)}.jp-order-product.is-custom:has(input:checked){border-color:var(--red);background:#fff5f5}.jp-custom-price-label{display:inline-flex;align-items:center;justify-content:center;min-height:27px;border-radius:14px;background:#292929;padding:5px 9px;color:#fff;font:600 8.5px Poppins;white-space:nowrap}.jp-order-product>.jp-custom-price-label{grid-column:3;grid-row:1/3;align-self:center}.jp-custom-product-note{color:var(--muted)!important;font-weight:500!important;cursor:default}.jp-custom-trailer-fields{display:grid;gap:15px;border-top:1px solid #e5d7d8;border-bottom:1px solid #e5d7d8;background:#fff8f8;padding:18px}.jp-custom-trailer-fields[hidden]{display:none!important}.jp-custom-trailer-fields>header>span{font:700 8.5px Poppins;letter-spacing:.13em;color:var(--red)}.jp-custom-trailer-fields>header h3{margin:5px 0 3px}.jp-custom-trailer-fields>header p{max-width:760px;line-height:1.5}.jp-custom-trailer-fields>.fields{margin:0;padding:0;grid-template-columns:repeat(2,minmax(0,1fr))}.jp-custom-trailer-fields>.fields label:first-child{grid-column:1/-1}.jp-custom-trailer-fields textarea{min-height:100px;resize:vertical}.jp-custom-trailer-fields label>small{color:var(--muted);font-size:9.5px;line-height:1.4}.jp-custom-trailer-summary{display:grid;gap:4px;margin:10px 0 13px;border-left:3px solid var(--red);border-radius:0 4px 4px 0;background:#fff6f6;padding:10px 12px}.jp-custom-trailer-summary>span{font:700 8px Poppins;letter-spacing:.12em;color:var(--red)}.jp-custom-trailer-summary>strong{font:600 10.5px Poppins}.jp-custom-trailer-summary>small{color:#606560;font-size:9.5px;line-height:1.45}.jp-custom-trailer-summary>small b{font-weight:600;color:#3c403c}
@media(max-width:700px){.jp-order-builder-head{display:grid;align-items:stretch}.jp-order-builder-head>label{min-width:0}.jp-order-products,.jp-order-accessory-grid{grid-template-columns:1fr}.jp-order-products{max-height:360px}}
@media(max-width:700px){.jp-custom-trailer-fields>.fields{grid-template-columns:1fr}.jp-custom-trailer-fields>.fields label:first-child{grid-column:auto}}
@media(max-width:900px){.jp-warranty-layout{grid-template-columns:1fr}.jp-warranty-print{min-height:0}.jp-warranty-signatures{grid-template-columns:1fr}.jp-warranty-signatures>div{margin-top:20px}}
@media(max-width:1050px){.jp-user-grid{grid-template-columns:1fr}.jp-module-controls{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.jp-user-create .fields,.jp-user-access-card .fields{grid-template-columns:1fr}.jp-user-create .wide,.jp-user-access-card .wide{grid-column:auto}.jp-module-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.jp-user-create-head,.jp-user-access-title{display:grid}.jp-user-access-card>header{grid-template-columns:42px 1fr}.jp-user-access-card>header>.jp-access-switch,.jp-user-access-card>header>b{grid-column:1/-1;width:max-content}.jp-user-access-card footer{display:grid}.jp-user-access-card footer button{width:100%}}
@media print{@page{size:A4;margin:14mm}body{background:#fff!important}body *{visibility:hidden!important}.jp-shell{display:block!important;background:#fff!important}.jp-shell>aside,.jp-shell>main,.jp-warranty-tool>header,.jp-warranty-editor{display:none!important}.jp-warranty-backdrop{position:static!important;display:block!important;padding:0!important;background:#fff!important}.jp-warranty-tool{display:block!important;width:100%!important;max-height:none!important;overflow:visible!important;border-radius:0!important;box-shadow:none!important}.jp-warranty-layout{display:block!important;background:#fff!important}.jp-warranty-print,.jp-warranty-print *{visibility:visible!important}.jp-warranty-print{display:block!important;width:100%!important;min-height:0!important;margin:0!important;padding:0!important;box-shadow:none!important}.jp-warranty-document-head img{print-color-adjust:exact;-webkit-print-color-adjust:exact}.jp-warranty-terms,.jp-warranty-document-head{print-color-adjust:exact;-webkit-print-color-adjust:exact}}
.s-tarkistettava{background:#fff3dd;color:#8b5a00}.s-laskuttamatta{background:#fdecee;color:#a41c26}.s-laskutettu{background:#eaf2ff;color:#285b96}.s-maksettu{background:#eaf5ef;color:#217850}.jp-billing-note{display:flex;align-items:center;gap:12px;margin:-2px 0 18px;padding:13px 16px;border:1px solid #e4dcc3;border-radius:4px;background:#fffbef}.jp-billing-note strong{font:600 11px Poppins;color:#755b0e}.jp-billing-note span{font-size:11px;color:#706950}.jp-billing-tabs{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-bottom:18px}.jp-billing-tabs button{display:grid;gap:3px;border:1px solid var(--line);border-radius:4px;background:#fff;padding:12px 14px;text-align:left;cursor:pointer;transition:border-color .15s ease,transform .15s ease,box-shadow .15s ease}.jp-billing-tabs button:hover{transform:translateY(-2px);border-color:#b8bdb8;box-shadow:0 6px 16px rgba(30,35,30,.06)}.jp-billing-tabs button.active{border-color:#292929;box-shadow:inset 0 -3px 0 var(--red)}.jp-billing-tabs b{font:600 19px Poppins}.jp-billing-tabs span{font:600 10px Poppins;color:var(--muted)}.jp-billing-form,.jp-billing-actions{display:grid;gap:6px;min-width:180px}.jp-billing-actions .jp-small{width:100%}.jp-billing-form input,.jp-billing-actions form input{width:100%;height:34px;border:1px solid #cfd3cf;border-radius:3px;padding:0 9px;font-size:10.5px}.jp-billing-form .jp-primary{width:100%;padding:8px 10px}.jp-billing-warning{color:#a41c26!important;font-weight:600}.jp-table td>.status+small{display:block;margin-top:5px}
@media(max-width:900px){.jp-billing-tabs{grid-template-columns:repeat(3,1fr)}.jp-billing-note{align-items:flex-start;display:grid}}
@media(max-width:520px){.jp-billing-tabs{grid-template-columns:repeat(2,1fr)}}
.jp-product-grid>article{overflow:hidden;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.jp-product-grid>article:hover{transform:translateY(-3px);border-color:#cfd3cf;box-shadow:0 10px 24px rgba(30,35,30,.08)}.jp-product-image,.jp-order-product-image{--image-scale:1;--image-hover-scale:1.025;background:#fff;display:grid;place-items:center;overflow:hidden}.jp-product-image{height:190px;margin:-20px -20px 18px;border-bottom:1px solid var(--line)}.jp-product-image img,.jp-order-product-image img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;transform:scale(var(--image-scale));transition:transform .22s ease}.jp-product-image img{padding:7px}.jp-product-grid>article:hover .jp-product-image img{transform:scale(var(--image-hover-scale))}.jp-product-image[data-product-code="1500-MAXI"],.jp-product-image[data-product-code="750-MKKL"]{height:150px}.jp-product-image[data-product-code="MAXIKAAPPI"]{height:220px;--image-scale:2.05;--image-hover-scale:2.1}.jp-product-image[data-product-code="750-KK6000"]{height:220px;--image-scale:1.36;--image-hover-scale:1.4}.jp-product-image[data-product-code="1200-LKR"]{height:220px;--image-scale:1.08;--image-hover-scale:1.11}.jp-product-image strong{color:#fff;background:#282828;width:100%;height:100%;display:grid;place-items:center;font:700 18px Poppins;letter-spacing:.15em}.jp-order-product{grid-template-columns:76px minmax(0,1fr) auto;align-items:center;min-height:90px;transition:border-color .15s ease,transform .15s ease,box-shadow .15s ease}.jp-order-product:hover{transform:translateY(-1px);box-shadow:0 5px 14px rgba(30,35,30,.06)}.jp-order-product-image{grid-column:1;grid-row:1/3;width:70px;height:64px;border-radius:3px;border:1px solid #eef0ee}.jp-order-product-image img{padding:4px}.jp-order-product-image[data-product-code="MAXIKAAPPI"]{--image-scale:1.65}.jp-order-product-image[data-product-code="750-KK6000"]{--image-scale:1.22}.jp-order-product-image[data-product-code="1200-LKR"]{--image-scale:1.05}.jp-order-product-image strong{font:700 9px Poppins;letter-spacing:.1em;color:#777}.jp-order-product>span{grid-column:2;grid-row:1}.jp-order-product>b{grid-column:3;grid-row:1}.jp-order-product em{grid-column:2/4;grid-row:2}.jp-product-grid>article>div:last-child{margin-top:12px}
@media(max-width:700px){.jp-product-grid{grid-template-columns:1fr}.jp-product-image{height:210px}.jp-order-product{grid-template-columns:66px minmax(0,1fr) auto}.jp-order-product-image{width:60px;height:58px}}
@media(max-width:1050px){.jp-part-categories{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.jp-part-categories{grid-template-columns:repeat(2,minmax(0,1fr))}.jp-part-admin-head{display:grid}.jp-part-admin-head .jp-primary{width:100%}}
@media(max-width:430px){.jp-part-categories{grid-template-columns:1fr}}
@media(max-width:1050px){.jp-commission-guide{align-items:flex-start}.jp-commission-guide dl{display:none}.jp-commission-tiers{overflow:auto}.jp-commission-tier{min-width:820px}}
@media(max-width:650px){.jp-commission-guide{padding:18px}.jp-commission-editor-head,.jp-commission-editor footer{display:grid}.jp-commission-editor .jp-primary{width:100%}}
.jp-search>button{width:24px;height:24px;min-width:24px;border:0;border-radius:50%;background:#e5e7e5;color:#5f635f;display:grid;place-items:center;padding:0;font-size:16px;line-height:1;cursor:pointer}.jp-search>button:hover{background:#d9dcda;color:#252525}.jp-global-search-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.jp-global-search-results .jp-panel{margin:0}.jp-global-search-list{display:grid}.jp-global-search-result{width:100%;border:0;border-top:1px solid #eceeec;background:#fff;color:inherit;padding:13px 2px;display:flex;align-items:center;justify-content:space-between;gap:14px;text-align:left;text-decoration:none}.jp-global-search-result:first-child{border-top:0}.jp-global-search-result>span{display:grid;gap:3px;min-width:0}.jp-global-search-result strong{font:600 11px Poppins;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.jp-global-search-result small{font-size:9.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.jp-global-search-result>b{font:400 20px Poppins;color:#a0a4a0}.jp-global-search-list button.jp-global-search-result{cursor:pointer;transition:color .15s ease,padding-left .15s ease}.jp-global-search-list button.jp-global-search-result:hover{color:var(--red);padding-left:7px}.jp-global-search-list>p{font-size:9.5px;color:var(--muted);margin:10px 0 0}
@media(max-width:850px){.jp-global-search-results{grid-template-columns:1fr}}
.jp-module-controls label[hidden]{display:none}

/* 3.9 product prices: VAT-inclusive and VAT 0 % */
.jp-price-pair{display:inline-grid;gap:3px;justify-items:end;line-height:1.2;white-space:nowrap}.jp-price-pair>strong{display:block;font:600 11.5px Poppins}.jp-price-pair>small{display:block;margin:0;color:var(--muted);font-size:9.5px;line-height:1.25}.jp-price-pair-net>small{font-weight:600}.jp-table .jp-price-pair{justify-items:start}.jp-table .jp-price-pair>small{margin-top:2px}.jp-product-grid .jp-price-pair{margin-left:auto}.jp-product-grid>article button .jp-price-pair>strong,.jp-product-variant .jp-price-pair>strong{font-size:11.5px}.jp-service-packages .jp-price-pair{justify-items:start;margin-bottom:5px}.jp-service-packages .jp-price-pair>strong{font-size:21px}.jp-service-packages .jp-price-pair>small{min-height:0;margin:0;font-size:9.5px}.jp-accessory-admin-card>header>.jp-price-pair{justify-items:end}.jp-accessory-admin-card>header>.jp-price-pair>strong{font-size:16px}.jp-field-net-price{color:var(--muted);font-size:10px;line-height:1.35}.jp-modal label>.jp-field-net-price{font-size:10px;color:#5e665e}.jp-order-product>.jp-price-pair{grid-column:3;grid-row:1/3;align-self:center}.jp-order-product>.jp-price-pair>small{font-size:8.5px}.jp-order-accessory .jp-price-pair{display:inline-grid;width:auto;justify-items:end;margin-left:auto}.jp-order-accessory .jp-price-pair>strong{font-size:10.5px}.jp-order-accessory .jp-price-pair>small{font-size:8.5px}.jp-order-total>[data-order-total-value]{display:block}.jp-order-total .jp-price-pair>strong{font-size:16px;color:var(--red)}.jp-order-total .jp-price-pair>small{font-size:9px}
.jp-accessory-admin-head{margin-bottom:12px}.jp-accessory-category-filter{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:16px}.jp-accessory-category-filter button{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;border:1px solid var(--line);border-radius:4px;background:#fff;padding:10px 13px;color:#3d423d;cursor:pointer;transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease}.jp-accessory-category-filter button:hover{transform:translateY(-1px);border-color:#adb2ad;box-shadow:0 5px 14px rgba(30,35,30,.05)}.jp-accessory-category-filter button.active{border-color:#292929;background:#292929;color:#fff;box-shadow:inset 0 -3px 0 var(--red)}.jp-accessory-category-filter span{font:600 10.5px Poppins}.jp-accessory-category-filter b{min-width:28px;border-radius:13px;background:#eef0ee;padding:4px 7px;color:#626762;font:600 9px Poppins;text-align:center}.jp-accessory-category-filter button.active b{background:#444;color:#fff}.jp-accessory-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.jp-accessory-admin-card{display:grid;gap:14px;border:1px solid var(--line);border-radius:5px;background:#fff;padding:18px;box-shadow:0 1px 4px rgba(30,35,30,.025)}.jp-accessory-admin-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;padding:0;border:0;position:static}.jp-accessory-admin-card>header>div>span{font:700 8.5px Poppins;letter-spacing:.11em;color:var(--red)}.jp-accessory-admin-card h3{margin:4px 0 0;font:600 14px Poppins}.jp-accessory-admin-card>header>strong{font:600 16px Poppins;white-space:nowrap}.jp-accessory-admin-meta{display:flex;gap:20px;padding:10px 0;border-top:1px solid #eceeec;border-bottom:1px solid #eceeec;color:var(--muted);font-size:9.5px}.jp-accessory-admin-meta b{color:#343834;font-weight:600}.jp-accessory-model-chips{display:flex;flex-wrap:wrap;gap:5px;min-height:25px}.jp-accessory-model-chips span{border-radius:12px;background:#f0f2f0;padding:5px 8px;color:#535853;font-size:9px}.jp-accessory-model-chips em{color:#9b3b40;font-size:9.5px;font-style:normal}.jp-accessory-admin-card>footer{display:flex;justify-content:flex-end;padding:0;border:0}.jp-accessory-modal{width:min(980px,100%)}.jp-accessory-editor{display:grid;grid-template-columns:310px minmax(0,1fr);gap:0;overflow:hidden;border:1px solid var(--line);border-radius:5px}.jp-accessory-basics{padding:19px;background:#f7f8f7;border-right:1px solid var(--line)}.jp-accessory-basics>div:first-child>span,.jp-accessory-picker-head>div>span{font:700 8.5px Poppins;letter-spacing:.13em;color:var(--red)}.jp-accessory-editor h3{margin:4px 0 3px;font:600 14px Poppins}.jp-accessory-editor p{margin:0;color:var(--muted);font-size:10px;line-height:1.45}.jp-accessory-basics .fields{grid-template-columns:1fr;margin-top:17px}.jp-accessory-key{display:block;margin-top:12px;color:#7f847f;font-size:8.5px;overflow-wrap:anywhere}.jp-accessory-model-picker{min-width:0;padding:19px;background:#fff}.jp-accessory-picker-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px}.jp-accessory-picker-head>label{min-width:240px}.jp-accessory-picker-actions{display:flex;align-items:center;gap:7px;margin:16px 0 10px}.jp-accessory-picker-actions>span{margin-left:auto;color:#3c654f;font:600 9.5px Poppins}.jp-accessory-model-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;max-height:385px;overflow:auto;padding:2px}.jp-accessory-model{position:relative;display:flex!important;align-items:center;gap:9px!important;min-height:61px;border:1px solid #e0e3e0;border-radius:4px;background:#fff;padding:10px 11px;cursor:pointer;transition:border-color .15s ease,background .15s ease,transform .15s ease}.jp-accessory-model:hover{transform:translateY(-1px);border-color:#adb3ad}.jp-accessory-model:has(input:checked){border-color:#78b79a;background:#f0f8f4;box-shadow:0 0 0 2px rgba(35,134,94,.08)}.jp-accessory-model input{width:17px!important;height:17px!important;accent-color:var(--green)}.jp-accessory-model>span{display:grid;gap:3px;min-width:0}.jp-accessory-model strong{font:600 10.5px Poppins;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.jp-accessory-model small{font-size:8.8px;color:var(--muted)}.jp-accessory-model[hidden],.jp-accessory-no-results[hidden]{display:none!important}.jp-accessory-no-results{margin-top:10px!important;padding:10px 12px;border-radius:4px;background:#fff5f5!important;color:#9c3035!important}
@media(max-width:850px){.jp-accessory-admin-grid{grid-template-columns:1fr}.jp-accessory-editor{grid-template-columns:1fr}.jp-accessory-basics{border-right:0;border-bottom:1px solid var(--line)}.jp-accessory-picker-head{display:grid;align-items:stretch}.jp-accessory-picker-head>label{min-width:0}}
@media(max-width:600px){.jp-accessory-category-filter,.jp-accessory-model-grid{grid-template-columns:1fr}.jp-accessory-picker-actions{display:grid}.jp-accessory-picker-actions>span{margin-left:0}.jp-accessory-category-filter{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* 3.10 clearer product catalog and consistent image framing */
.jp-catalog-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 28px}.jp-catalog-overview a{display:grid;grid-template-columns:1fr auto;gap:4px 12px;min-height:92px;border:1px solid var(--line);border-radius:7px;background:#fff;padding:16px 18px;color:var(--ink);text-decoration:none;box-shadow:0 1px 4px rgba(30,35,30,.025);transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}.jp-catalog-overview a:hover{transform:translateY(-2px);border-color:#b8bdb8;box-shadow:0 8px 20px rgba(30,35,30,.07)}.jp-catalog-overview span{font:600 13px Poppins}.jp-catalog-overview b{min-width:26px;height:26px;border-radius:13px;background:#292929;color:#fff;display:grid;place-items:center;font:600 10px Poppins}.jp-catalog-overview small{grid-column:1/-1;color:var(--muted);font-size:10.5px;line-height:1.4}.jp-catalog{display:grid;gap:38px}.jp-catalog-section{scroll-margin-top:100px}.jp-catalog-section>header{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:14px;padding-bottom:13px;border-bottom:1px solid #dfe2df}.jp-catalog-section>header>div>span{font:700 8.5px Poppins;letter-spacing:.14em;color:var(--red)}.jp-catalog-section>header h2{margin:4px 0 2px;font:600 20px Poppins}.jp-catalog-section>header p{margin:0;color:var(--muted);font-size:11px}.jp-catalog-section>header>b{border-radius:13px;background:#eceeec;padding:6px 10px;color:#565b56;font:600 9.5px Poppins;white-space:nowrap}.jp-catalog .jp-product-grid{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px;align-items:stretch}.jp-catalog .jp-product-card{display:flex;flex-direction:column;min-height:100%;padding:0;overflow:hidden;border-radius:8px}.jp-catalog .jp-product-image{--image-scale:1!important;--image-hover-scale:1!important;position:relative;width:100%;height:auto!important;aspect-ratio:4/3;margin:0;padding:0;overflow:hidden;border-bottom:1px solid #e4e6e4;background:linear-gradient(145deg,#fafbfa 0%,#f0f2f0 100%)}.jp-catalog .jp-product-image:after{content:"";position:absolute;inset:auto 10% 8px;height:12%;border-radius:50%;background:rgba(25,30,25,.08);filter:blur(12px);pointer-events:none}.jp-catalog .jp-product-image img{position:relative;z-index:1;width:100%;height:100%;padding:18px!important;object-fit:contain;object-position:center;transform:none!important;filter:drop-shadow(0 8px 8px rgba(25,30,25,.12))}.jp-product-image-fallback{position:absolute;inset:0;display:grid;place-items:center;background:#292929;color:#fff;font:700 20px Poppins;letter-spacing:.16em}.has-image>.jp-product-image-fallback{opacity:0}.is-missing>.jp-product-image-fallback{opacity:1}.jp-product-image-code{position:absolute;z-index:3;left:12px;top:12px;border:1px solid rgba(255,255,255,.82);border-radius:12px;background:rgba(255,255,255,.9);padding:5px 8px;color:#555b55;font:600 8px Poppins;letter-spacing:.04em;box-shadow:0 2px 7px rgba(30,35,30,.08)}.jp-order-product-image{position:relative}.jp-order-product-image .jp-product-image-fallback{font-size:8px;letter-spacing:.08em}.jp-product-card-body{display:flex!important;flex:1;flex-direction:column;margin:0!important;padding:17px 18px 18px}.jp-product-card-body>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.jp-product-card-body>header>div{min-width:0}.jp-product-card-body>header span{font:700 8.5px Poppins;letter-spacing:.08em;color:var(--red);text-transform:uppercase}.jp-product-card-body h2{margin:5px 0 0;font:600 16px Poppins;line-height:1.3}.jp-product-card-body>header>b{flex:0 0 auto;border-radius:11px;background:#f0f2f0;padding:5px 8px;color:#666b66;font:600 8.5px Poppins;white-space:nowrap}.jp-product-variants{display:grid;margin-top:16px;border-top:1px solid #e8eae8}.jp-catalog .jp-product-variants>button,.jp-catalog .jp-product-variant{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;min-height:62px;margin:0;border:0;border-bottom:1px solid #eceeec;background:transparent;padding:10px 2px;text-align:left}.jp-catalog .jp-product-variants>button{width:100%;cursor:pointer;transition:background-color .14s ease,padding .14s ease}.jp-catalog .jp-product-variants>button:hover{background:#f7f8f7;padding-left:8px;padding-right:8px}.jp-product-variants>button>span,.jp-product-variant>span{display:grid;gap:3px;min-width:0}.jp-product-variants>button>span>strong,.jp-product-variant>span>strong{font:600 10.5px Poppins;overflow-wrap:anywhere}.jp-product-variants>button>span>small,.jp-product-variant>span>small{color:var(--muted);font-size:8.5px}.jp-catalog .jp-product-variants .jp-price-pair{margin:0;justify-items:end}.jp-catalog .jp-product-link{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:auto 0 0;padding:14px 2px 0;color:#353935;font:600 10.5px Poppins}.jp-catalog .jp-product-link b{color:var(--red);font-size:15px}.jp-catalog .jp-product-link:hover{color:var(--red);text-decoration:none}
@media(max-width:900px){.jp-catalog-overview{grid-template-columns:1fr}.jp-catalog-overview a{min-height:0}.jp-catalog .jp-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.jp-catalog-section>header{align-items:flex-start}.jp-catalog .jp-product-grid{grid-template-columns:1fr}.jp-catalog .jp-product-image{aspect-ratio:16/11}.jp-product-card-body{padding:16px}.jp-product-card-body>header{display:grid}.jp-product-card-body>header>b{width:max-content}}

/* 3.11 certificate upload workflow */
.jp-certificate-actions{display:grid;grid-template-columns:repeat(2,max-content);gap:6px;align-items:center;min-width:155px}.jp-certificate-actions>small{grid-column:1/-1;max-width:190px;overflow:hidden;text-overflow:ellipsis;color:var(--muted);font-size:8.5px;white-space:nowrap}.jp-cert-open{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}.jp-cert-add{padding:8px 11px;font-size:10px}.jp-cert-not-required,.jp-cert-waiting{display:block;max-width:150px;color:var(--muted);font-size:9.5px;line-height:1.4}.jp-cert-not-required{color:#707570}.jp-cert-waiting{color:#8b5a00}.jp-certificate-success{display:flex;align-items:center;gap:10px;margin:0 0 18px;border:1px solid #b9daca;border-radius:5px;background:#f0f8f4;padding:12px 15px;color:#245a40}.jp-certificate-success strong{font:600 10.5px Poppins}.jp-certificate-success span{font-size:10.5px}.jp-certificate-modal{width:min(720px,100%)}.jp-certificate-upload-intro{margin-bottom:18px;border:1px solid #dce7e0;border-radius:5px;background:#f3f8f5;padding:13px 15px}.jp-certificate-upload-intro strong{font:600 11px Poppins;color:#254d3b}.jp-certificate-upload-intro p{margin:4px 0 0;color:#607067;font-size:10.5px;line-height:1.5}.jp-certificate-file input[type=file]{padding:8px;background:#fafbfa}.jp-certificate-file input[type=file]::file-selector-button{margin-right:10px;border:1px solid #cfd3cf;border-radius:3px;background:#fff;padding:7px 10px;color:#353935;font:600 9.5px Poppins;cursor:pointer}.jp-certificate-file>small{color:var(--muted);font-size:9.5px}.jp-certificate-upload-status{min-height:20px;margin:12px 0 0;color:#8b5a00;font-size:10px}.jp-certificate-upload-empty{display:grid;gap:14px;padding:22px}.jp-certificate-upload-empty .jp-secondary{justify-self:end}.jp-trailer-certificate{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:18px;border:1px solid #dfe4e0;border-radius:5px;background:#fafbfa;padding:14px 15px}.jp-trailer-certificate>div:first-child{display:grid;gap:3px}.jp-trailer-certificate>div:first-child>span{font:700 8px Poppins;letter-spacing:.12em;color:var(--red)}.jp-trailer-certificate>div:first-child>strong{font:600 11px Poppins}.jp-trailer-certificate>div:first-child>small{max-width:430px;color:var(--muted);font-size:9.5px;overflow-wrap:anywhere}
@media(max-width:650px){.jp-certificate-success,.jp-trailer-certificate{display:grid}.jp-certificate-actions{grid-template-columns:1fr}.jp-certificate-actions>small{grid-column:auto}.jp-certificate-actions .jp-small,.jp-trailer-certificate .jp-cert-add{width:100%}}

/* 3.13 guided spare-part sales entry */
.jp-sale-modal{width:min(1160px,100%)}.jp-sale-modal form{padding-top:18px}.jp-sale-editor{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(330px,.85fr);overflow:hidden;border:1px solid var(--line);border-radius:7px;background:#fff}.jp-sale-catalog{min-width:0;padding:20px;border-right:1px solid var(--line);background:#f8f9f8}.jp-sale-catalog-head{display:grid;grid-template-columns:minmax(0,1fr) 255px;align-items:end;gap:22px}.jp-sale-catalog-head>div>span,.jp-sale-details-head>span{font:700 9px Poppins;letter-spacing:.13em;color:var(--red)}.jp-sale-editor h3{margin:5px 0 3px;font:600 16px Poppins}.jp-sale-editor p{margin:0;color:var(--muted);font-size:11px;line-height:1.5}.jp-sale-catalog-head label>small{color:var(--muted);font-size:9.5px}.jp-sale-categories{display:flex;gap:6px;margin:17px 0 12px;padding-bottom:3px;overflow-x:auto}.jp-sale-categories button{flex:0 0 auto;border:1px solid #d9ddda;border-radius:16px;background:#fff;padding:7px 10px;color:#505650;font:600 9.5px Poppins;cursor:pointer;transition:border-color .15s ease,background .15s ease,color .15s ease,transform .15s ease}.jp-sale-categories button:hover{transform:translateY(-1px);border-color:#aeb4af}.jp-sale-categories button.active{border-color:#292929;background:#292929;color:#fff}.jp-sale-categories b{margin-left:4px;color:inherit;font-size:8.5px}.jp-sale-parts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:440px;overflow:auto;padding:2px 4px 2px 2px}.jp-sale-part{position:relative;display:grid!important;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:10px!important;min-height:78px;border:1px solid #dde1dd;border-radius:5px;background:#fff;padding:11px 12px;cursor:pointer;transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease,background .15s ease}.jp-sale-part:hover{transform:translateY(-1px);border-color:#aab1ab;box-shadow:0 5px 14px rgba(30,35,30,.06)}.jp-sale-part:has(input:checked){border-color:#5ca27f;background:#f0f8f4;box-shadow:0 0 0 2px rgba(35,134,94,.09)}.jp-sale-part input{width:17px!important;height:17px!important;padding:0!important;accent-color:var(--green)}.jp-sale-part>span{display:grid;gap:3px;min-width:0}.jp-sale-part>span>b{color:var(--red);font:700 8.5px Poppins;letter-spacing:.05em}.jp-sale-part>span>strong{font:600 11px Poppins;line-height:1.3}.jp-sale-part>span>small{color:var(--muted);font-size:9px}.jp-sale-part>.jp-price-pair{justify-items:end}.jp-sale-part>.jp-price-pair>strong{font-size:10.5px}.jp-sale-part>.jp-price-pair>small{font-size:8px}.jp-sale-part[hidden],.jp-sale-no-results[hidden]{display:none!important}.jp-sale-no-results{margin-top:11px!important;border:1px dashed #d9ddda;border-radius:4px;background:#fff;padding:13px;color:#777!important}.jp-sale-legacy{display:grid;gap:4px;margin:0 0 12px;border:1px solid #ead9ad;border-radius:5px;background:#fff9e9;padding:12px 14px}.jp-sale-legacy>strong{font:600 10.5px Poppins;color:#765516}.jp-sale-legacy>span{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:10.5px}.jp-sale-legacy>small{color:#806f4a;font-size:9.5px;line-height:1.45}.jp-sale-details{min-width:0;padding:20px;background:#fff}.jp-sale-details-head{margin-bottom:15px}.jp-sale-selected{display:grid;gap:3px;margin-bottom:15px;border:1px dashed #cfd4cf;border-radius:5px;background:#fafbfa;padding:13px 14px;color:#747a74}.jp-sale-selected.is-selected{border-style:solid;border-color:#b9daca;background:#f0f8f4;color:#244f39}.jp-sale-selected>span{font:700 8px Poppins;letter-spacing:.11em;color:var(--red)}.jp-sale-selected>strong{font:600 12px Poppins}.jp-sale-selected>small{font-size:9.5px;line-height:1.4}.jp-sale-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.jp-sale-fields .wide{grid-column:1/-1}.jp-sale-fixed-field{display:grid;align-content:center;gap:3px;border:1px solid #e0e3e0;border-radius:3px;background:#f6f7f6;padding:9px 10px}.jp-sale-fixed-field>span{color:#626762;font:600 10.5px Poppins}.jp-sale-fixed-field>strong{font:600 11px Poppins}.jp-sale-fixed-field>small{color:var(--muted);font-size:8.5px}.jp-sale-total{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 12px;margin-top:16px;border-radius:5px;background:#292929;padding:15px 16px;color:#fff}.jp-sale-total>span{font:600 10.5px Poppins}.jp-sale-total>[data-sale-total]{grid-row:1/3;grid-column:2}.jp-sale-total .jp-price-pair{justify-items:end}.jp-sale-total .jp-price-pair>strong{color:#fff;font-size:18px}.jp-sale-total .jp-price-pair>small{color:#c7cbc7;font-size:9px}.jp-sale-total>small{color:#b8bcb8;font-size:9px}.jp-sale-modal>header,.jp-sale-modal form>footer{z-index:4}
.jp-sale-receipt-lock{grid-column:1/-1;display:grid;gap:4px;border-bottom:1px solid #e2c77d;background:#fff8df;padding:13px 20px;color:#694d08}.jp-sale-receipt-lock>strong{font:600 11px Poppins}.jp-sale-receipt-lock>span{font-size:10px;line-height:1.5}.jp-sale-editor.is-receipt-locked .jp-sale-catalog,.jp-sale-editor.is-receipt-locked .jp-sale-cart,.jp-sale-editor.is-receipt-locked .jp-sale-fields label:not(:has([name="delivery_status"])){opacity:.64}.jp-sale-editor.is-receipt-locked [disabled]{cursor:not-allowed}.jp-sale-editor[data-receipt-delivery-editable="1"] select[name="delivery_status"]{border-color:#23865e;background:#f0f8f4;box-shadow:0 0 0 2px rgba(35,134,94,.1)}
@media(max-width:900px){.jp-sale-editor{grid-template-columns:1fr}.jp-sale-catalog{border-right:0;border-bottom:1px solid var(--line)}.jp-sale-parts{max-height:360px}}
@media(max-width:650px){.jp-sale-catalog-head{grid-template-columns:1fr}.jp-sale-parts,.jp-sale-fields{grid-template-columns:1fr}.jp-sale-fields .wide{grid-column:auto}.jp-sale-modal form{padding:14px}.jp-sale-modal form>footer{margin-left:-14px;margin-right:-14px}.jp-sale-catalog,.jp-sale-details{padding:15px}.jp-sale-part{grid-template-columns:18px minmax(0,1fr)}.jp-sale-part>.jp-price-pair{grid-column:2;justify-items:start}.jp-sale-total{grid-template-columns:1fr}.jp-sale-total>[data-sale-total]{grid-column:1;grid-row:auto}.jp-sale-total .jp-price-pair{justify-items:start}}

/* 3.15 multi-line spare-part shopping cart */
.jp-sale-cart{margin:0 0 16px;overflow:hidden;border:1px solid #dfe3df;border-radius:6px;background:#fafbfa}.jp-sale-cart>header{position:static;display:flex;align-items:center;justify-content:space-between;border:0;border-bottom:1px solid #e1e4e1;background:#f2f4f2;padding:11px 13px}.jp-sale-cart>header>div{display:grid;gap:2px}.jp-sale-cart>header span{color:var(--red);font:700 8px Poppins;letter-spacing:.11em}.jp-sale-cart>header strong{font:600 11px Poppins}.jp-sale-cart>header>b{min-width:26px;height:26px;display:grid;place-items:center;border-radius:13px;background:#292929;color:#fff;font:600 9px Poppins}.jp-sale-cart-lines{display:grid;max-height:285px;overflow:auto}.jp-sale-cart-row{display:grid;grid-template-columns:minmax(0,1fr) 62px auto 26px;align-items:center;gap:9px;border-top:1px solid #e7eae7;padding:10px 11px;background:#fff}.jp-sale-cart-row:first-child{border-top:0}.jp-sale-cart-row>div:first-child{display:grid;gap:2px;min-width:0}.jp-sale-cart-row>div:first-child>span{color:var(--red);font:700 7.5px Poppins;letter-spacing:.05em}.jp-sale-cart-row>div:first-child>strong{font:600 10px Poppins;line-height:1.3}.jp-sale-cart-row>div:first-child>small{color:var(--muted);font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.jp-sale-cart-row>label{gap:3px}.jp-sale-cart-row>label>span{font-size:8px}.jp-sale-cart-row input{height:34px;padding:5px 7px;text-align:center}.jp-sale-cart-row>[data-sale-line-total] .jp-price-pair{justify-items:end}.jp-sale-cart-row>[data-sale-line-total] .jp-price-pair>strong{font-size:10px}.jp-sale-cart-row>[data-sale-line-total] .jp-price-pair>small{font-size:7.5px}.jp-sale-cart-row>button{width:25px;height:25px;border:0;border-radius:50%;background:#f3e8e9;color:#9d2d34;font-size:16px;line-height:1;cursor:pointer}.jp-sale-cart-row>button:hover{background:#9d2d34;color:#fff}.jp-sale-cart-empty{margin:0!important;padding:16px!important;color:#767b76!important;text-align:center}.jp-sale-cart-empty[hidden]{display:none!important}.jp-sale-part:has(input:checked)>span>strong{color:#245a40}
@media(max-width:650px){.jp-sale-cart-row{grid-template-columns:minmax(0,1fr) 58px 25px}.jp-sale-cart-row>[data-sale-line-total]{grid-column:1/3}.jp-sale-cart-row>[data-sale-line-total] .jp-price-pair{justify-items:start}}

/* 3.14 simplified Juhta-owned dealer stock entry */
.jp-trailer-create-modal{width:min(1060px,100%)}.jp-trailer-create-modal .jp-trailer-builder{margin-bottom:16px}.jp-trailer-stock-details{display:grid;gap:16px;border:1px solid #dce2dd;border-radius:6px;background:#f7f9f7;padding:19px}.jp-trailer-stock-intro>span{font:700 9px Poppins;letter-spacing:.13em;color:var(--red)}.jp-trailer-stock-intro h3{margin:5px 0 3px;font:600 16px Poppins}.jp-trailer-stock-intro p{max-width:760px;margin:0;color:var(--muted);font-size:11px;line-height:1.5}.jp-trailer-stock-details>.fields{grid-template-columns:repeat(2,minmax(0,1fr))}.jp-trailer-stock-details label>small{color:var(--muted);font-size:9.5px;line-height:1.4}.jp-trailer-stock-details label.is-disabled{opacity:.58}.jp-trailer-stock-details label.is-disabled input{background:#eceeec}.jp-trailer-stock-result{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.jp-trailer-stock-result>div{display:grid;grid-template-columns:1fr auto;gap:3px 12px;border:1px solid #cde0d4;border-radius:5px;background:#eef7f2;padding:12px 14px}.jp-trailer-stock-result span{font:700 8px Poppins;letter-spacing:.11em;color:#397054}.jp-trailer-stock-result strong{font:600 11.5px Poppins;color:#254b38}.jp-trailer-stock-result small{grid-column:1/-1;color:#5d7468;font-size:9.5px;line-height:1.4}.jp-trailer-create-modal .jp-order-total span{font-size:10.5px}.jp-trailer-create-modal .jp-order-total .jp-price-pair>strong{font-size:17px}.jp-stock-owner{display:inline-flex;align-items:center;max-width:145px;border-radius:12px;padding:5px 8px;background:#eef0ee;color:#555b55;font-size:9px;line-height:1.3}.jp-stock-owner.owner-juhta{background:#eef7f2;color:#2f674b}.jp-stock-owner.owner-dealer{background:#edf3fb;color:#345d8a}.jp-stock-owner.owner-unknown{background:#f4f1eb;color:#7b6844}
@media(max-width:700px){.jp-trailer-stock-details>.fields,.jp-trailer-stock-result{grid-template-columns:1fr}.jp-trailer-stock-details{padding:15px}}

/* 3.17 certificates, stock sales, traceability and accounting export */
.jp-heading-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.jp-cert-code{display:inline-flex;align-items:center;gap:7px;border:1px solid #cfd9d2;border-radius:4px;background:#f0f8f4;padding:6px 9px;color:#245a40;cursor:pointer}.jp-cert-code code{font:700 11px ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.08em}.jp-cert-code span{font:600 8.5px Poppins}.jp-cert-code-table{min-width:110px;justify-content:space-between}.jp-certificate-mode{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;border:0;padding:0}.jp-certificate-mode legend{margin-bottom:6px;color:#626762;font:600 10.5px Poppins}.jp-certificate-mode label{display:grid!important;grid-template-columns:18px 1fr;align-items:center;gap:2px 8px!important;border:1px solid #dfe3df;border-radius:5px;background:#fafbfa;padding:12px;cursor:pointer}.jp-certificate-mode label:has(input:checked){border-color:#6bad8d;background:#f0f8f4}.jp-certificate-mode input{grid-row:1/3;width:16px!important;height:16px!important;padding:0!important;accent-color:var(--green)}.jp-certificate-mode label>span{font:600 10.5px Poppins}.jp-certificate-mode label>small,.jp-certificate-code-field>small{color:var(--muted);font-size:9px}.jp-certificate-code-field[hidden],.jp-certificate-file[hidden]{display:none!important}
.jp-order-source{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:18px}.jp-order-source button{display:grid;gap:4px;border:1px solid #dfe3df;border-radius:6px;background:#fafbfa;padding:15px 16px;text-align:left;cursor:pointer;transition:transform .15s ease,border-color .15s ease,background .15s ease}.jp-order-source button:hover{transform:translateY(-1px);border-color:#afb5af}.jp-order-source button.active{border-color:#292929;background:#292929;color:#fff;box-shadow:0 0 0 2px rgba(41,41,41,.08)}.jp-order-source span{color:var(--red);font:700 8px Poppins;letter-spacing:.12em}.jp-order-source strong{font:600 12px Poppins}.jp-order-source small{color:#747974;font-size:9.5px}.jp-order-source button.active small{color:#bfc2bf}.jp-stock-sale-modal{width:min(1050px,100%)}.jp-stock-sale-builder{display:grid;gap:16px}.jp-stock-sale-head>span{font:700 9px Poppins;letter-spacing:.13em;color:var(--red)}.jp-stock-sale-head h3,.jp-stock-sale-customer h3{margin:5px 0 3px;font:600 16px Poppins}.jp-stock-sale-head p{margin:0;color:var(--muted);font-size:11px}.jp-stock-sale-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:340px;overflow:auto}.jp-stock-sale-option{display:grid!important;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:10px!important;border:1px solid #dfe3df;border-radius:5px;background:#fff;padding:12px;cursor:pointer}.jp-stock-sale-option:has(input:checked){border-color:#5ca27f;background:#f0f8f4;box-shadow:0 0 0 2px rgba(35,134,94,.09)}.jp-stock-sale-option>input{width:17px!important;height:17px!important;padding:0!important;accent-color:var(--green)}.jp-stock-sale-option>span{display:grid;gap:3px;min-width:0}.jp-stock-sale-option>span>b{color:var(--red);font:700 8px Poppins;letter-spacing:.06em}.jp-stock-sale-option>span>strong{font:600 10.5px Poppins}.jp-stock-sale-option>span>small{color:var(--muted);font-size:8.5px}.jp-stock-sale-option>em{display:grid;justify-items:end;gap:5px;font-style:normal}.jp-stock-sale-option .jp-price-pair{justify-items:end}.jp-stock-sale-option .jp-price-pair>strong{font-size:10px}.jp-stock-sale-option .jp-price-pair>small{font-size:7.5px}.jp-stock-sale-customer{border:1px solid #dfe3df;border-radius:6px;background:#f8f9f8;padding:18px}.jp-traceability-note{display:flex;gap:8px;margin-top:12px;border-radius:4px;background:#eef7f2;padding:10px 12px;color:#315e48;font-size:9.5px}.jp-traceability-note strong{font:600 9.5px Poppins}.jp-sale-cart-row{grid-template-columns:minmax(0,1fr) 58px 112px auto 26px}.jp-sale-line-price>small{color:var(--muted);font-size:7.5px;white-space:nowrap}.jp-sale-line-price input{font-weight:600;color:#245a40}.jp-sale-line-price.is-readonly{display:grid;align-content:center;gap:3px;min-height:40px;border:1px solid #dfe3df;border-radius:4px;background:#f5f7f5;padding:5px 8px}.jp-sale-line-price.is-readonly>span{color:var(--muted);font-size:7.5px}.jp-sale-line-price.is-readonly .jp-price-pair{justify-items:start}.jp-sale-line-price.is-readonly .jp-price-pair>strong{font-size:9px}.jp-sale-line-price.is-readonly .jp-price-pair>small{font-size:7px}.jp-primary:disabled,.jp-secondary:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:750px){.jp-heading-actions,.jp-traceability-note{display:grid}.jp-order-source,.jp-stock-sale-options,.jp-certificate-mode{grid-template-columns:1fr}.jp-sale-cart-row{grid-template-columns:minmax(0,1fr) 58px 25px}.jp-sale-cart-row .jp-sale-line-price{grid-column:1/3}.jp-sale-cart-row>[data-sale-line-total]{grid-column:1/3}.jp-stock-sale-option{grid-template-columns:18px minmax(0,1fr)}.jp-stock-sale-option>em{grid-column:2;justify-items:start}}

/* 3.17.1 clearer spare-part delivery queue and managed accounting export */
.jp-spare-open-panel{overflow:hidden;padding:0}.jp-spare-open-title{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:19px 20px 15px}.jp-spare-open-title>div{display:grid;gap:3px}.jp-spare-open-title span,.jp-accounting-export-card span{font:700 8.5px Poppins;letter-spacing:.13em;color:var(--red)}.jp-spare-open-title h2,.jp-accounting-export-card h2{margin:0;font:600 15px Poppins}.jp-spare-open-title p,.jp-accounting-export-card p{max-width:760px;margin:2px 0 0;color:var(--muted);font-size:10px;line-height:1.5}.jp-spare-open-title>b{min-width:38px;height:38px;display:grid;place-items:center;border-radius:19px;background:#292929;color:#fff;font:600 12px Poppins}.jp-spare-open-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#f7f8f7}.jp-spare-open-filters button{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:48px;border:0;border-right:1px solid var(--line);background:transparent;padding:10px 14px;color:#626762;cursor:pointer}.jp-spare-open-filters button:last-child{border-right:0}.jp-spare-open-filters button.active{background:#292929;color:#fff}.jp-spare-open-filters span{font:600 9.5px Poppins}.jp-spare-open-filters b{min-width:24px;height:24px;display:grid;place-items:center;border-radius:12px;background:#e6e9e6;color:#505550;font:600 9px Poppins}.jp-spare-open-filters button.active b{background:var(--red);color:#fff}.jp-spare-open-panel>.jp-table{margin:0}.jp-spare-open-panel>.jp-empty{margin:0;padding:28px}.jp-accounting-management{display:grid;gap:16px}.jp-accounting-export-card{display:flex;align-items:center;justify-content:space-between;gap:28px;border:1px solid #dce2dd;border-radius:7px;background:#fff;padding:24px}.jp-accounting-export-card>div{display:grid;gap:4px}.jp-accounting-export-card .jp-primary{padding:12px 17px}.jp-accounting-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.jp-accounting-summary article{display:flex;min-height:135px;flex-direction:column;justify-content:center;border:1px solid var(--line);border-radius:5px;background:#fff;padding:18px}.jp-accounting-summary article>span{color:var(--muted);font:600 9.5px Poppins}.jp-accounting-summary article>strong{margin:7px 0 3px;font:600 24px Poppins}.jp-accounting-summary article>small{margin-top:4px;color:var(--muted);font-size:9px;line-height:1.4}.jp-accounting-summary .jp-price-pair{margin-top:7px;justify-items:start}.jp-accounting-summary .jp-price-pair>strong{font-size:18px}.jp-accounting-note{border-left:3px solid var(--green);border-radius:0 5px 5px 0;background:#eef7f2;padding:14px 16px;color:#315e48}.jp-accounting-note strong{font:600 10px Poppins}.jp-accounting-note p{margin:4px 0 0;font-size:9.5px;line-height:1.5}
@media(max-width:750px){.jp-spare-open-title,.jp-accounting-export-card{display:grid}.jp-spare-open-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.jp-spare-open-filters button:nth-child(2){border-right:0}.jp-spare-open-filters button:nth-child(-n+2){border-bottom:1px solid var(--line)}.jp-accounting-summary{grid-template-columns:1fr}}

/* 3.18 SQL storage health and backup */
.jp-database-hero{display:flex;align-items:center;justify-content:space-between;gap:28px;margin-bottom:16px;border-radius:7px;background:#292929;padding:25px 26px;color:#fff}.jp-database-hero>div:first-child{max-width:780px}.jp-database-hero span{color:var(--red);font:700 8.5px Poppins;letter-spacing:.14em}.jp-database-hero h2{margin:5px 0 5px;font:600 18px Poppins}.jp-database-hero p{margin:0;color:#c5c8c5;font-size:10.5px;line-height:1.55}.jp-database-actions{display:flex;flex:0 0 auto;gap:8px}.jp-database-hero .jp-secondary{border-color:#555a55;background:#333;color:#fff}.jp-database-alert{margin-bottom:16px;border:1px solid #e0c88e;border-radius:5px;background:#fff8e7;padding:14px 16px;color:#765716}.jp-database-alert.is-ok{border-color:#b9dccb;background:#edf8f2;color:#1d6647}.jp-database-alert.is-error{border-color:#e5b9bd;background:#fff0f1;color:#8b222b}.jp-database-alert strong,.jp-database-note strong{font:600 10.5px Poppins}.jp-database-alert p,.jp-database-note p{margin:4px 0 0;font-size:9.5px;line-height:1.55}.jp-database-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin-bottom:16px}.jp-database-summary article{display:flex;min-height:125px;flex-direction:column;justify-content:center;border:1px solid var(--line);border-radius:5px;background:#fff;padding:17px}.jp-database-summary span{color:var(--muted);font:600 9px Poppins}.jp-database-summary strong{margin:6px 0 2px;font:600 22px Poppins}.jp-database-summary small{color:var(--muted);font-size:8.5px;line-height:1.4}.jp-db-state{display:inline-flex;border-radius:11px;padding:4px 7px;background:#eef0ee;color:#5c625c;font:600 8.5px Poppins}.jp-db-state.is-ok{background:#e9f6ef;color:#216546}.jp-db-state.is-warning{background:#fff4db;color:#805a0c}.jp-db-state.is-error{background:#fdebed;color:#9a2731}.jp-database-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}.jp-database-note{border-left:3px solid var(--green);border-radius:0 5px 5px 0;background:#eef7f2;padding:15px 17px;color:#315e48}.jp-database-note code{font-size:9px;overflow-wrap:anywhere}.jp-database-note small{display:block;margin-top:7px;color:#60746a;font-size:8.5px}
@media(max-width:900px){.jp-database-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.jp-database-hero{align-items:flex-start}.jp-database-actions{display:grid}}
@media(max-width:650px){.jp-database-hero,.jp-database-actions,.jp-database-grid{display:grid}.jp-database-summary{grid-template-columns:1fr}.jp-database-actions .jp-primary,.jp-database-actions .jp-secondary{width:100%}}

/* Guided service-order editor and immutable service receipts */
.jp-service-modal{overflow-x:hidden}
.jp-service-modal{width:min(1420px,100%)}.jp-service-modal>form{padding:18px}.jp-service-editor{display:grid;grid-template-columns:minmax(270px,.8fr) minmax(390px,1.15fr) minmax(410px,1fr);overflow:hidden;border:1px solid var(--line);border-radius:7px;background:#fff}.jp-service-basics,.jp-service-work,.jp-service-charge{min-width:0;padding:19px}.jp-service-basics{border-right:1px solid var(--line)}.jp-service-work{border-right:1px solid var(--line);background:#f7f8f7}.jp-service-charge{background:#fff}.jp-service-step{margin-bottom:15px}.jp-service-step>span,.jp-service-part-head>label>span{color:var(--red);font:700 8.5px Poppins;letter-spacing:.12em}.jp-service-step h3{margin:5px 0 3px;font:600 15px Poppins}.jp-service-step p{margin:0;color:var(--muted);font-size:10px;line-height:1.45}.jp-service-basics>.fields{grid-template-columns:1fr;gap:10px}.jp-service-basics>.fields .wide{grid-column:auto}.jp-service-packages-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-bottom:15px}.jp-service-package{position:relative;display:grid!important;grid-template-columns:17px minmax(0,1fr);gap:4px 8px!important;border:1px solid #dfe3df;border-radius:5px;background:#fff;padding:10px;cursor:pointer}.jp-service-package:has(input:checked){border-color:#63a786;background:#eef8f3;box-shadow:0 0 0 2px rgba(35,134,94,.08)}.jp-service-package>input{grid-row:1/3;width:16px!important;height:16px!important;padding:0!important;accent-color:var(--green)}.jp-service-package>span{display:grid;gap:2px}.jp-service-package>span>strong{font:600 10px Poppins;line-height:1.3}.jp-service-package>span>small{color:var(--muted);font-size:8px}.jp-service-package>.jp-price-pair{grid-column:2;justify-items:start}.jp-service-package>.jp-price-pair>strong{font-size:9.5px}.jp-service-package>.jp-price-pair>small{font-size:7.5px}.jp-service-part-head{margin-bottom:8px}.jp-service-part-head label{display:grid;gap:4px}.jp-service-part-head input{height:39px;border:1px solid #cfd3cf;border-radius:4px;background:#fff;padding:0 10px;font-size:11px}.jp-service-part-head small{color:var(--muted);font-size:8.5px;text-align:right}.jp-service-categories{display:flex;gap:5px;margin-bottom:9px;overflow-x:auto;padding-bottom:3px}.jp-service-categories button{flex:0 0 auto;border:1px solid #d8dcd8;border-radius:15px;background:#fff;padding:6px 9px;color:#555b55;font:600 8.5px Poppins;cursor:pointer}.jp-service-categories button.active{border-color:#292929;background:#292929;color:#fff}.jp-service-categories b{margin-left:3px;font-size:8px}.jp-service-parts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;max-height:470px;overflow:auto;padding:2px}.jp-service-part{position:relative;display:grid!important;grid-template-columns:17px minmax(0,1fr);align-items:center;gap:7px!important;border:1px solid #dfe3df;border-radius:5px;background:#fff;padding:10px;cursor:pointer}.jp-service-part:has(input:checked){border-color:#63a786;background:#eef8f3}.jp-service-part>input{grid-row:1/3;width:16px!important;height:16px!important;padding:0!important;accent-color:var(--green)}.jp-service-part>span{display:grid;gap:2px;min-width:0}.jp-service-part>span>b{color:var(--red);font:700 7.5px Poppins}.jp-service-part>span>strong{font:600 9.5px Poppins;line-height:1.3}.jp-service-part>span>small{color:var(--muted);font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.jp-service-part>.jp-price-pair{grid-column:2;justify-items:start}.jp-service-part>.jp-price-pair>strong{font-size:9.5px}.jp-service-part>.jp-price-pair>small{font-size:7.5px}.jp-service-part[hidden],.jp-service-no-results[hidden]{display:none!important}.jp-service-no-results{margin:10px 0 0!important;border:1px dashed #d9ddda;border-radius:4px;background:#fff;padding:11px;color:#777!important;font-size:9px}.jp-service-selected,.jp-service-labor{overflow:hidden;margin-bottom:13px;border:1px solid #dfe3df;border-radius:6px;background:#fafbfa}.jp-service-selected>header,.jp-service-labor>header{position:static;display:flex;align-items:center;justify-content:space-between;gap:10px;border:0;border-bottom:1px solid #e2e5e2;background:#f2f4f2;padding:10px 12px}.jp-service-selected>header>div,.jp-service-labor>header>div{display:grid;gap:2px}.jp-service-selected>header span,.jp-service-labor>header span{color:var(--red);font:700 7.5px Poppins;letter-spacing:.1em}.jp-service-selected>header strong,.jp-service-labor>header strong{font:600 10.5px Poppins}.jp-service-selected>header>b{min-width:24px;height:24px;display:grid;place-items:center;border-radius:12px;background:#292929;color:#fff;font:600 8.5px Poppins}.jp-service-selected>p,.jp-service-labor>p{margin:0!important;padding:14px!important;color:#767b76!important;text-align:center;font-size:9px}.jp-service-selected>p[hidden],.jp-service-labor>p[hidden]{display:none!important}.jp-service-cart-row,.jp-service-labor-row{display:grid;align-items:center;gap:8px;border-top:1px solid #e6e9e6;background:#fff;padding:9px 10px}.jp-service-cart-row:first-child,.jp-service-labor-row:first-child{border-top:0}.jp-service-cart-row{grid-template-columns:minmax(0,1fr) 58px 96px auto 24px}.jp-service-cart-row>div:first-child{display:grid;gap:2px;min-width:0}.jp-service-cart-row>div:first-child>span{color:var(--red);font:700 7px Poppins}.jp-service-cart-row>div:first-child>strong{font:600 9.5px Poppins;line-height:1.3}.jp-service-cart-row>div:first-child>small{color:var(--muted);font-size:7.5px}.jp-service-cart-row label,.jp-service-labor-row label{gap:3px}.jp-service-cart-row label>span,.jp-service-labor-row label>span,.jp-service-sundry label>span{font-size:7.5px}.jp-service-cart-row input,.jp-service-labor-row input,.jp-service-sundry input[type=number]{height:32px;padding:5px 6px;font-size:10px;text-align:center}.jp-service-cart-row label>small{color:var(--muted);font-size:7px;white-space:nowrap}.jp-service-cart-row .jp-price-pair,.jp-service-labor-row .jp-price-pair{justify-items:end}.jp-service-cart-row .jp-price-pair>strong,.jp-service-labor-row .jp-price-pair>strong{font-size:9px}.jp-service-cart-row .jp-price-pair>small,.jp-service-labor-row .jp-price-pair>small{font-size:7px}.jp-service-cart-row>button,.jp-service-labor-row>button{width:24px;height:24px;border:0;border-radius:50%;background:#f4e9ea;color:#9a2c34;font-size:15px;cursor:pointer}.jp-service-labor-row{grid-template-columns:minmax(0,1fr) 64px 86px auto 24px}.jp-service-labor-row .jp-service-labor-name input{text-align:left}.jp-service-sundry{display:grid!important;grid-template-columns:18px minmax(0,1fr) 125px;align-items:center;gap:9px!important;margin-bottom:13px;border:1px solid #dfe3df;border-radius:6px;background:#fafbfa;padding:11px 12px}.jp-service-sundry>input{width:17px!important;height:17px!important;padding:0!important;accent-color:var(--green)}.jp-service-sundry>.jp-service-sundry-copy{display:grid;gap:2px}.jp-service-sundry>.jp-service-sundry-copy>strong{font:600 10px Poppins}.jp-service-sundry>.jp-service-sundry-copy>small{color:var(--muted);font-size:8px;line-height:1.3}.jp-service-sundry>label{display:grid;gap:3px}.jp-service-sundry-copy{cursor:pointer}.jp-service-totals{display:grid;gap:8px;border-radius:6px;background:#292929;padding:14px 15px;color:#fff}.jp-service-totals>div{display:flex;align-items:center;justify-content:space-between;gap:14px}.jp-service-totals span{color:#c3c7c3;font-size:9px}.jp-service-totals strong{font:600 11px Poppins}.jp-service-totals .total{border-top:1px solid #4a4d4a;padding-top:9px}.jp-service-totals .total span{color:#fff;font-weight:600}.jp-service-totals .total strong{color:#fff;font-size:18px}.jp-receipt-create{background:#eef7f2;color:#276345}.jp-receipt-open{background:#292929;color:#fff}
.jp-service-request-summary{grid-column:1/-1;display:grid;gap:8px;border:1px solid #efc2c5;border-radius:5px;background:#fff6f6;padding:11px 12px}.jp-service-request-summary>div:first-child{display:grid;gap:2px}.jp-service-request-summary>div:first-child>span{color:var(--red);font:700 7.5px Poppins;letter-spacing:.1em}.jp-service-request-summary>div:first-child>strong{font:600 10px Poppins}.jp-service-request-summary>div:nth-child(2){display:flex;flex-wrap:wrap;gap:5px}.jp-service-request-summary b{border-radius:12px;background:#292929;padding:5px 8px;color:#fff;font:600 8px Poppins}.jp-service-request-summary>small{color:#745d5f;font-size:8px;line-height:1.4}

.jp-receipt-settings{overflow:hidden;border:1px solid var(--line);border-radius:7px;background:#fff}.jp-receipt-settings-head{display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid var(--line);padding:21px 22px;background:#f8f9f8}.jp-receipt-settings-head>div:first-child{max-width:760px}.jp-receipt-settings-head span{color:var(--red);font:700 8.5px Poppins;letter-spacing:.13em}.jp-receipt-settings-head h2{margin:5px 0 3px;font:600 17px Poppins}.jp-receipt-settings-head p{margin:0;color:var(--muted);font-size:10px;line-height:1.5}.jp-receipt-settings-preview{display:grid;justify-items:end;gap:5px}.jp-receipt-settings-preview img{width:115px;height:45px;object-fit:contain}.jp-receipt-settings-preview small{color:var(--muted);font-size:8px}.jp-receipt-settings>.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;padding:21px 22px}.jp-receipt-settings label{display:grid;gap:5px}.jp-receipt-settings label.wide{grid-column:1/-1}.jp-receipt-settings label>span{color:#626762;font:600 9px Poppins}.jp-receipt-settings input{width:100%;border:1px solid #d9dcd9;border-radius:3px;background:#fff;padding:10px;font-size:11px}.jp-receipt-settings label>small{color:var(--muted);font-size:8.5px}.jp-receipt-settings>footer{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--line);background:#fafbfa;padding:14px 22px}.jp-receipt-settings>footer p{margin:0;color:var(--muted);font-size:9px}

.jp-receipt-tool{width:min(1080px,100%);background:#fff}.jp-receipt-loading,.jp-receipt-error{display:grid;justify-items:center;gap:7px;padding:55px 24px;text-align:center}.jp-receipt-loading strong,.jp-receipt-error strong{font:600 15px Poppins}.jp-receipt-loading span,.jp-receipt-error p{margin:0;color:var(--muted);font-size:10.5px}.jp-receipt-error .jp-secondary{margin-top:8px}.jp-receipt-draft{padding:20px 22px}.jp-receipt-draft-intro{margin-bottom:17px;border:1px solid #d7e6dd;border-radius:5px;background:#eef7f2;padding:12px 14px;color:#305f48}.jp-receipt-draft-intro strong{font:600 10.5px Poppins}.jp-receipt-draft-intro p{margin:4px 0 0;font-size:9.5px;line-height:1.5}.jp-receipt-draft-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.jp-receipt-draft-grid>section{border:1px solid var(--line);border-radius:6px;padding:16px}.jp-receipt-draft h3{margin:0 0 12px;font:600 13px Poppins}.jp-receipt-customer-check{display:grid;gap:3px;margin-top:13px;border-radius:4px;background:#f4f5f4;padding:11px 12px}.jp-receipt-customer-check>span,.jp-receipt-draft-lines>header>div>span{color:var(--red);font:700 8px Poppins;letter-spacing:.1em}.jp-receipt-customer-check>strong{font:600 10.5px Poppins}.jp-receipt-customer-check>small{color:var(--muted);font-size:8.5px}.jp-receipt-draft-lines{overflow:hidden;margin-top:16px;border:1px solid var(--line);border-radius:6px}.jp-receipt-draft-lines>header{position:static;display:flex;align-items:center;justify-content:space-between;gap:16px;border:0;border-bottom:1px solid var(--line);background:#f6f7f6;padding:12px 14px}.jp-receipt-draft-lines>header>div{display:grid;gap:3px}.jp-receipt-draft-lines>header>div>strong{font:600 11px Poppins}.jp-receipt-draft-lines ul{display:grid;margin:0;padding:0;list-style:none}.jp-receipt-draft-lines li{display:flex;align-items:center;justify-content:space-between;gap:14px;border-top:1px solid #eceeec;padding:9px 14px}.jp-receipt-draft-lines li:first-child{border-top:0}.jp-receipt-draft-lines li>span{display:grid;gap:2px}.jp-receipt-draft-lines li strong{font:600 9.5px Poppins}.jp-receipt-draft-lines li small{color:var(--muted);font-size:8px}.jp-receipt-draft-lines li>b{font:600 10px Poppins}.jp-receipt-issued-actions{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);background:#f3f8f5;padding:13px 18px}.jp-receipt-issued-actions>div{display:grid;gap:2px}.jp-receipt-issued-actions strong{font:600 12px Poppins;color:#285b43}.jp-receipt-issued-actions span{color:#617067;font-size:9px}.jp-receipt-paper-wrap{overflow:auto;background:#e8eae8;padding:22px}.jp-receipt-print{width:min(760px,100%);min-height:980px;margin:0 auto;background:#fff;padding:42px 46px;color:#222;box-shadow:0 10px 32px rgba(25,30,25,.13);font-size:10.5px;line-height:1.45}.jp-receipt-document-head{position:static;display:flex;align-items:flex-start;justify-content:space-between;gap:30px;border:0;border-bottom:3px solid var(--red);background:#fff;padding:0 0 20px}.jp-receipt-document-head img{display:block;width:116px;max-height:50px;object-fit:contain;object-position:left top}.jp-receipt-document-head>div{display:grid;justify-items:end;gap:3px}.jp-receipt-document-head>div>span{color:#222;font:700 23px Poppins;letter-spacing:.04em}.jp-receipt-document-head>div>strong{font:600 11px Poppins}.jp-receipt-document-head>div>small{color:#666;font-size:9px}.jp-receipt-parties{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:38px;margin-top:20px}.jp-receipt-parties h3,.jp-receipt-payment h3{margin:0 0 7px;color:#777;font:600 8px Poppins;letter-spacing:.08em;text-transform:uppercase}.jp-receipt-parties>div>strong{font:600 11px Poppins}.jp-receipt-parties p{margin:4px 0 0;color:#515551;font-size:9px}.jp-receipt-service{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:19px 0;border-radius:4px;background:#f4f5f4;padding:12px}.jp-receipt-service>div{display:grid;gap:3px}.jp-receipt-service span{color:#747874;font:600 7.5px Poppins;text-transform:uppercase}.jp-receipt-service strong{font:600 9px Poppins}.jp-receipt-lines{width:100%;border-collapse:collapse}.jp-receipt-lines th{border-bottom:2px solid #333;padding:8px 7px;color:#555;text-align:right;font:600 7.5px Poppins;text-transform:uppercase}.jp-receipt-lines th:first-child{text-align:left}.jp-receipt-lines td{border-bottom:1px solid #e2e4e2;padding:9px 7px;text-align:right;vertical-align:top}.jp-receipt-lines td:first-child{text-align:left}.jp-receipt-lines td strong{display:block;font:600 9.5px Poppins}.jp-receipt-lines td small{display:block;margin-top:2px;color:#777;font-size:7.5px}.jp-receipt-bottom{display:grid;grid-template-columns:minmax(0,1fr) 275px;gap:34px;margin-top:24px}.jp-receipt-payment dl{display:grid;gap:5px;margin:0}.jp-receipt-payment dl>div{display:grid;grid-template-columns:90px 1fr;gap:8px}.jp-receipt-payment dt{color:#777;font-size:8px}.jp-receipt-payment dd{margin:0;font-size:8.5px}.jp-receipt-summary{display:grid;gap:7px}.jp-receipt-summary>div{display:flex;align-items:center;justify-content:space-between;gap:20px}.jp-receipt-summary span{color:#626762;font-size:8.5px}.jp-receipt-summary strong{font:600 9.5px Poppins}.jp-receipt-summary .total{border-top:2px solid #333;padding-top:8px}.jp-receipt-summary .total span{color:#222;font-weight:600}.jp-receipt-summary .total strong{font-size:14px}.jp-receipt-document-footer{position:static;display:grid;justify-items:start;gap:3px;margin:38px 0 0;border:0;border-top:1px solid #dfe2df;background:#fff;padding:12px 0 0}.jp-receipt-document-footer span{font:600 9px Poppins}.jp-receipt-document-footer small{color:#777;font-size:7.5px}
.jp-receipt-issued-buttons{display:flex!important;grid-auto-flow:column;align-items:center;gap:8px!important}.jp-receipt-void{border-color:#d9a8ac;color:#8c2630;background:#fff}.jp-receipt-void:hover{border-color:#b1444d;background:#fff4f4}

.jp-dealer-service-intro{display:grid;grid-template-columns:minmax(320px,1fr) auto auto auto auto auto auto;align-items:center;gap:9px;margin-bottom:18px;border-radius:7px;background:#292929;padding:18px 21px;color:#fff}.jp-dealer-service-intro>div{max-width:690px}.jp-dealer-service-intro>div>span{color:#ff5359;font:700 8.5px Poppins;letter-spacing:.12em}.jp-dealer-service-intro h2{margin:5px 0 4px;font:600 17px Poppins}.jp-dealer-service-intro p{margin:0;color:#c8cbc8;font-size:10.5px;line-height:1.5}.jp-dealer-service-intro>b{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#fff;color:#292929;font:600 10px Poppins}.jp-dealer-service-intro>small{max-width:70px;color:#d8dad8;font:600 8.5px Poppins;line-height:1.3}.jp-service-other-card{border-color:#d7e5dc!important;background:#f4faf6!important}.jp-service-other-card>span{color:var(--green)!important}.jp-service-other-card .jp-primary{align-self:end}

.jp-dealer-service-modal{width:min(980px,100%)}.jp-dealer-service-modal>form{padding:18px}.jp-dealer-service-editor{display:grid;gap:15px}.jp-dealer-service-current{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #dce0dc;border-radius:6px;background:#f6f7f6;padding:11px 14px}.jp-dealer-service-current>div{display:grid;gap:2px}.jp-dealer-service-current>div>span{color:var(--red);font:700 8px Poppins;letter-spacing:.1em}.jp-dealer-service-current>div>strong{font:600 12px Poppins}.jp-dealer-service-hero{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:22px;border-radius:7px;background:#292929;padding:20px 22px;color:#fff}.jp-dealer-service-hero>div:first-child>span,.jp-dealer-service-hero>div:last-child>span{color:#ff5359;font:700 8.5px Poppins;letter-spacing:.12em}.jp-dealer-service-hero h3{margin:5px 0 4px;font:600 19px Poppins}.jp-dealer-service-hero p{max-width:620px;margin:0;color:#c9ccc9;font-size:10.5px;line-height:1.55}.jp-dealer-service-hero>div:last-child{display:grid;align-content:center;gap:3px;border-left:1px solid #4b4e4b;padding-left:21px}.jp-dealer-service-hero>div:last-child>strong{font:600 11px Poppins}.jp-dealer-service-hero>div:last-child>small{color:#adb1ad;font-size:8.5px}.jp-dealer-service-type{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:0;border:0;padding:0}.jp-dealer-service-type>legend{grid-column:1/-1;margin-bottom:1px;color:#595e59;font:700 9px Poppins;letter-spacing:.08em}.jp-dealer-service-type>label{display:grid!important;grid-template-columns:20px minmax(0,1fr);align-items:center;gap:10px!important;border:1px solid #d9ddda;border-radius:6px;background:#fff;padding:14px 15px;cursor:pointer}.jp-dealer-service-type>label:has(input:checked){border-color:#4e9571;background:#eff8f3;box-shadow:0 0 0 2px rgba(35,134,94,.08)}.jp-dealer-service-type input{width:18px!important;height:18px!important;padding:0!important;accent-color:var(--green)}.jp-dealer-service-type>label>span{display:grid;gap:2px}.jp-dealer-service-type strong{font:600 11px Poppins}.jp-dealer-service-type small{color:var(--muted);font-size:8.5px}.jp-dealer-service-section{overflow:hidden;border:1px solid #dfe3df;border-radius:7px;background:#fff}.jp-dealer-service-section[hidden]{display:none!important}.jp-dealer-service-section>header{position:static;display:block;border:0;border-bottom:1px solid #e4e7e4;background:#f7f8f7;padding:14px 17px}.jp-dealer-service-section>header>span{color:var(--red);font:700 8.5px Poppins;letter-spacing:.1em}.jp-dealer-service-section>header h3{margin:4px 0 3px;font:600 14px Poppins}.jp-dealer-service-section>header p{margin:0;color:var(--muted);font-size:9.5px;line-height:1.45}.jp-dealer-service-section>.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px 17px}.jp-dealer-service-section>.fields label.wide{grid-column:1/-1}.jp-dealer-service-section>.fields label>small{color:var(--muted);font-size:8.5px}.jp-dealer-service-packages{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:16px 17px}.jp-dealer-service-package{display:grid!important;grid-template-columns:19px minmax(0,1fr);align-items:center;gap:10px!important;border:1px solid #dce0dc;border-radius:6px;background:#fff;padding:13px 14px;cursor:pointer}.jp-dealer-service-package:has(input:checked){border-color:#4e9571;background:#eff8f3}.jp-dealer-service-package>input{width:17px!important;height:17px!important;padding:0!important;accent-color:var(--green)}.jp-dealer-service-package>span{display:grid;gap:2px}.jp-dealer-service-package strong{font:600 10.5px Poppins}.jp-dealer-service-package small{color:var(--muted);font-size:8px}.jp-dealer-service-packages>p{grid-column:1/-1;margin:0;color:var(--muted);font-size:10px}.jp-dealer-service-confirm{display:flex;align-items:center;gap:9px;border:1px solid #bcd9c9;border-radius:6px;background:#eef8f3;padding:12px 14px;color:#285f44}.jp-dealer-service-confirm strong{font:600 10.5px Poppins}.jp-dealer-service-confirm span{font-size:9.5px}
.jp-dealer-service-package-summary{display:flex;align-items:center;gap:7px;border-top:1px solid #e2e7e3;background:#f7faf8;padding:10px 17px;color:#315b46}.jp-dealer-service-package-summary strong{display:grid;place-items:center;min-width:24px;height:24px;border-radius:50%;background:var(--green);color:#fff;font:600 9px Poppins}.jp-dealer-service-package-summary span{font:600 9px Poppins}

@media(max-width:1150px){.jp-service-editor{grid-template-columns:1fr 1fr}.jp-service-charge{grid-column:1/-1;border-top:1px solid var(--line)}.jp-service-basics{border-right:1px solid var(--line)}.jp-service-work{border-right:0}.jp-service-selected,.jp-service-labor,.jp-service-sundry,.jp-service-totals{max-width:760px;margin-left:auto;margin-right:auto}}
@media(max-width:760px){.jp-service-editor,.jp-receipt-draft-grid{grid-template-columns:1fr}.jp-service-basics,.jp-service-work{border-right:0;border-bottom:1px solid var(--line)}.jp-service-charge{grid-column:auto}.jp-service-packages-picker,.jp-service-parts{grid-template-columns:1fr}.jp-service-cart-row{grid-template-columns:minmax(0,1fr) 55px 24px}.jp-service-cart-row>label:nth-of-type(2),.jp-service-cart-row>[data-service-line-total]{grid-column:1/3}.jp-service-labor-row{grid-template-columns:minmax(0,1fr) 60px 24px}.jp-service-labor-row>label:nth-of-type(3),.jp-service-labor-row>[data-service-labor-total]{grid-column:1/3}.jp-service-sundry{grid-template-columns:18px minmax(0,1fr)}.jp-service-sundry>label{grid-column:2}.jp-receipt-settings-head,.jp-receipt-settings>footer,.jp-receipt-issued-actions{display:grid}.jp-receipt-settings>.fields{grid-template-columns:1fr}.jp-receipt-settings label.wide{grid-column:auto}.jp-receipt-settings-preview{justify-items:start}.jp-receipt-parties,.jp-receipt-bottom{grid-template-columns:1fr}.jp-receipt-service{grid-template-columns:repeat(2,1fr)}.jp-receipt-print{padding:28px 24px}.jp-receipt-paper-wrap{padding:10px}.jp-dealer-service-intro{grid-template-columns:1fr}.jp-dealer-service-intro>b,.jp-dealer-service-intro>small{display:none}.jp-dealer-service-hero,.jp-dealer-service-type,.jp-dealer-service-section>.fields,.jp-dealer-service-packages{grid-template-columns:1fr}.jp-dealer-service-hero>div:last-child{border-top:1px solid #4b4e4b;border-left:0;padding:13px 0 0}.jp-dealer-service-section>.fields label.wide,.jp-dealer-service-type>legend{grid-column:auto}.jp-dealer-service-confirm{display:grid}}

.jp-order-fulfill,.jp-order-commerce-open{width:100%;min-height:44px;white-space:normal}
.jp-commerce-order-link{display:grid;gap:12px;margin:16px 22px 0;border:1px solid #bcd9c7;border-left:5px solid #31825b;border-radius:7px;background:#f2faf5;padding:16px 18px}
.jp-commerce-order-link>header{display:flex;align-items:center;justify-content:space-between;gap:18px}
.jp-commerce-order-link>header>div{display:grid;gap:3px;min-width:0}
.jp-commerce-order-link>header span{color:#26724e;font:700 9px Poppins;letter-spacing:.12em}
.jp-commerce-order-link>header strong{font:600 15px Poppins;overflow-wrap:anywhere}
.jp-commerce-order-link>header>b{font:600 18px Poppins;white-space:nowrap}
.jp-commerce-order-link>dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0}
.jp-commerce-order-link>dl>div{display:grid;gap:3px;min-width:0;border-top:1px solid #d7e9de;padding-top:8px}
.jp-commerce-order-link dt{color:#66716a;font-size:10px}
.jp-commerce-order-link dd{margin:0;font:600 11px/1.45 Poppins;overflow-wrap:anywhere}
.jp-commerce-order-link>.jp-order-accessory-summary{margin:0;background:#fff}
.jp-commerce-order-link>p{margin:0;color:#456050;font-size:11px;line-height:1.5}
[data-commerce-order-fulfillment] :is([name="customer_name"],[name="customer_business_id"],[name="customer_phone"],[name="customer_email"],[name="customer_address"],[name="customer_postcode"],[name="customer_city"],[name="primary_price"])[readonly],[data-commerce-order-fulfillment] [name="seller_id"]:disabled{border-color:#cbd8cf;background:#f2f5f3;color:#334039;opacity:1;cursor:not-allowed}
.jp-commerce-line-accessories{display:grid;gap:4px;margin-top:7px;border-left:3px solid #31825b;background:#f3f8f5;padding:6px 8px}
.jp-commerce-line-accessories>span{color:#476453;font:700 10px Poppins;letter-spacing:.06em;text-transform:uppercase}
.jp-commerce-line-accessories ul{display:grid;gap:3px;margin:0;padding:0;list-style:none}
.jp-commerce-line-accessories li{display:flex;align-items:start;justify-content:space-between;gap:8px;color:#333;font-size:11px;line-height:1.4}
.jp-commerce-line-accessories li b{font:600 11px Poppins;white-space:nowrap}
@media screen and (max-width:760px){
  .jp-commerce-order-link{margin:12px 12px 0;padding:14px}
  .jp-commerce-order-link>header{display:grid}
  .jp-commerce-order-link>dl{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media screen and (max-width:420px){
  .jp-commerce-order-link>dl{grid-template-columns:1fr}
}
@media print{
  @page{size:A4;margin:12mm}
  body.jp-print-receipt{background:#fff!important}
  body.jp-print-receipt *{visibility:hidden!important}
  body.jp-print-receipt .jp-shell{display:block!important;background:#fff!important}
  body.jp-print-receipt .jp-shell>aside,body.jp-print-receipt .jp-shell>main,body.jp-print-receipt .jp-receipt-tool>header,body.jp-print-receipt .jp-receipt-issued-actions{display:none!important}
  body.jp-print-receipt .jp-receipt-backdrop{position:static!important;display:block!important;padding:0!important;background:#fff!important}
  body.jp-print-receipt .jp-receipt-tool{display:block!important;width:100%!important;max-height:none!important;overflow:visible!important;border-radius:0!important;box-shadow:none!important}
  body.jp-print-receipt .jp-receipt-paper-wrap{display:block!important;overflow:visible!important;padding:0!important;background:#fff!important}
  body.jp-print-receipt .jp-receipt-print,body.jp-print-receipt .jp-receipt-print *{visibility:visible!important}
  body.jp-print-receipt .jp-receipt-print{display:block!important;width:100%!important;min-height:0!important;margin:0!important;padding:0!important;box-shadow:none!important}
  body.jp-print-receipt .jp-receipt-document-head,body.jp-print-receipt .jp-receipt-service{print-color-adjust:exact;-webkit-print-color-adjust:exact}
  body.jp-print-receipt .jp-receipt-lines thead{display:table-header-group}
  body.jp-print-receipt .jp-receipt-lines tr{break-inside:avoid;page-break-inside:avoid}
  body.jp-print-receipt .jp-receipt-bottom,body.jp-print-receipt .jp-receipt-document-footer{break-inside:avoid;page-break-inside:avoid}
}

/* Shared CRM ownership and multi-line quotes. */
.jp-lead-owner{display:inline-flex;align-items:center;gap:7px;max-width:190px;border:1px solid #d5d9d5;border-radius:999px;background:#f5f7f5;padding:6px 10px;color:#454a45;font:600 10px Poppins;line-height:1.25}
.jp-lead-owner i{width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:#878d87}
.jp-lead-owner.is-own{border-color:#a9d1bd;background:#eff8f3;color:#245b40}.jp-lead-owner.is-own i{background:#2d8b59}
.jp-lead-owner.is-action{appearance:none;text-align:left;cursor:pointer;transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease}.jp-lead-owner.is-action b{margin-left:auto;color:#841219;font:700 11px Poppins;letter-spacing:.03em;text-transform:uppercase}.jp-lead-owner.is-action:hover{border-color:#c98489;background:#fff6f6}.jp-lead-owner.is-action:focus-visible{outline:3px solid rgba(237,28,36,.25);outline-offset:2px}
.jp-link-readonly{display:grid;cursor:default}.jp-lead-kanban-readonly{display:grid;gap:4px;padding:6px 4px}.jp-lead-kanban-readonly strong{font:600 10.5px Poppins}.jp-lead-kanban-readonly small{color:var(--muted);font-size:9.5px}
.jp-lead-editor-owner{display:flex;align-items:center;gap:10px;margin:14px 20px 0;border:1px solid #dfe3df;border-radius:6px;background:#f7f9f7;padding:12px 14px}.jp-lead-editor-owner>span{color:var(--red);font:700 9px Poppins;letter-spacing:.08em}.jp-lead-editor-owner>small{margin-left:auto;color:var(--muted);font-size:10px}.jp-lead-order-action{border-color:#315b93!important;background:#eef4fb!important;color:#234d85!important}
.jp-lead-owner-modal{width:min(700px,100%)}.jp-lead-owner-transfer{display:grid;gap:15px;margin:0;border:1px solid #dfe3df;border-radius:7px;background:#f8faf8;padding:16px}.jp-lead-owner-transfer>header{position:static;display:flex;align-items:flex-start;gap:16px;border:0;background:transparent;padding:0}.jp-lead-owner-transfer>header>div{display:grid;gap:3px;flex:1}.jp-lead-owner-transfer>header>div>span{color:var(--red);font:700 9px Poppins;letter-spacing:.1em}.jp-lead-owner-transfer>header h3{margin:0;font:600 14px Poppins}.jp-lead-owner-transfer>header p{margin:0;color:#505650;font-size:11px;line-height:1.5}.jp-lead-owner-transfer-controls{display:grid;grid-template-columns:minmax(230px,1fr) auto;align-items:end;gap:12px}.jp-lead-owner-transfer-controls label small{color:#505650;font-size:11px;line-height:1.5}.jp-lead-owner-transfer-controls .jp-secondary{min-height:42px}.jp-lead-owner-transfer-status{border:1px solid #cfd4cf;border-radius:5px;background:#fff;padding:10px 12px;color:#414641;font-size:11px;line-height:1.5}.jp-lead-owner-transfer-status[hidden]{display:none}.jp-lead-owner-transfer-status.is-pending{border-color:#d9c590;background:#fff9e9;color:#735913}.jp-lead-owner-transfer-status.is-success{border-color:#a9d1bd;background:#eaf6ef;color:#285b43}.jp-lead-owner-transfer-status.is-error{border-color:#e2aeb2;background:#fff0f1;color:#8e2028}.jp-lead-owner-transfer[aria-busy=true]{opacity:.82}
.jp-quote-lines-editor{margin-top:16px;border:1px solid var(--line);border-radius:6px;background:#f8f9f8;padding:16px}.jp-quote-lines-editor>header{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:12px}.jp-quote-lines-editor>header>div{display:grid;gap:3px}.jp-quote-lines-editor>header span{color:var(--red);font:700 9px Poppins;letter-spacing:.1em}.jp-quote-lines-editor>header h3{margin:0;font:600 14px Poppins}.jp-quote-lines-editor>header p{margin:0;color:var(--muted);font-size:10px}
.jp-quote-lines-editor [data-quote-lines]{display:grid;gap:10px}.jp-quote-lines-empty{margin:0;border:1px dashed #cfd4cf;border-radius:5px;background:#fff;padding:18px;text-align:center;color:var(--muted);font-size:11px}
.jp-quote-line{display:grid;gap:12px;border:1px solid #d9ddd9;border-radius:6px;background:#fff;padding:14px}.jp-quote-line>header{display:flex;align-items:start;justify-content:space-between;gap:12px}.jp-quote-line>header>div{display:grid;gap:3px}.jp-quote-line>header span{color:var(--red);font:700 8.5px Poppins;letter-spacing:.08em}.jp-quote-line>header strong{font:600 12px Poppins}.jp-quote-line>header small{color:var(--muted);font-size:9.5px}.jp-quote-line-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.jp-quote-line-fields label{display:grid;gap:5px}.jp-quote-line-fields label.wide{grid-column:span 2}.jp-quote-line-fields label>span,.jp-quote-line-accessory label>span{color:#606560;font:600 9.5px Poppins}.jp-quote-line-fields input{width:100%;min-height:42px;border:1px solid #d5d9d5;border-radius:3px;padding:8px 10px}
.jp-quote-line-accessories{display:grid;gap:7px;border-top:1px solid #eceeec;padding-top:10px}.jp-quote-line-accessories>span{color:#626762;font:600 9.5px Poppins}.jp-quote-line-accessory{display:grid;grid-template-columns:minmax(170px,1fr) 100px 150px 44px;align-items:end;gap:9px;border-radius:4px;background:#f5f7f5;padding:9px}.jp-quote-line-accessory>span{display:grid;align-self:center}.jp-quote-line-accessory strong{font:600 10.5px Poppins}.jp-quote-line-accessory small{color:var(--muted);font-size:9px}.jp-quote-line-accessory label{display:grid;gap:4px}.jp-quote-line-accessory input{width:100%;min-height:40px}.jp-quote-line-accessory>button{width:44px;height:44px;border:1px solid #e7bec1;border-radius:50%;background:#fff2f3;color:#a52028;cursor:pointer}
.jp-quote-draft-total{display:flex;align-items:center;justify-content:flex-end;gap:14px;margin-top:12px;border-radius:5px;background:#252625;padding:12px 14px;color:#fff}.jp-quote-draft-total span{font:600 10px Poppins}.jp-quote-draft-total strong{font:700 19px Poppins}.jp-quote-draft-total small{color:#cfd3cf;font-size:9.5px}
.jp-quote-product{position:relative;grid-template-columns:60px minmax(130px,1fr) auto!important;padding-bottom:56px!important}.jp-quote-product>button{position:absolute;right:10px;bottom:10px;min-height:38px}.jp-quote-accessory{display:grid!important;grid-template-columns:minmax(150px,1fr) minmax(150px,220px) auto;align-items:end;gap:10px}.jp-quote-accessory>span{display:grid}.jp-quote-accessory>span small{color:var(--muted);font-size:9px}.jp-quote-accessory label{display:grid;gap:4px}.jp-quote-accessory label>span{font:600 9px Poppins}.jp-quote-accessory select{width:100%;min-height:40px}.jp-quote-accessory>button{min-height:40px}
.jp-quote-payment-terms{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;border:1px solid #daddda;border-radius:6px;padding:12px}.jp-quote-payment-terms legend{padding:0 6px;color:#555;font:600 10.5px Poppins}.jp-quote-payment-terms>label:not(.jp-quote-payment-custom){display:flex!important;grid-template-columns:none!important;align-items:flex-start;gap:9px!important;border:1px solid #e1e4e1;border-radius:5px;background:#fff;padding:11px}.jp-quote-payment-terms>label>input{width:20px!important;min-width:20px;height:20px;margin:1px 0}.jp-quote-payment-terms>label>span{display:grid;gap:3px}.jp-quote-payment-terms strong{font:600 10.5px Poppins}.jp-quote-payment-terms small{color:var(--muted);font-size:9.5px}.jp-quote-payment-custom{grid-column:1/-1}.jp-quote-payment-custom.is-hidden{display:none!important}
.jp-quote-document-accessory td:first-child{padding-left:26px!important}.jp-quote-document-accessory td:first-child strong:before{content:'↳ ';color:#777}
.jp-password-status{margin:14px 20px 0;border:1px solid #cfd4cf;border-radius:5px;background:#f5f7f5;padding:10px 12px;font-size:11px;line-height:1.45}.jp-password-status.is-error{border-color:#e2aeb2;background:#fff0f1;color:#8e2028}.jp-password-status.is-success{border-color:#a9d1bd;background:#eaf6ef;color:#285b43}
.jp-crm-quote-tool button:focus-visible,.jp-crm-quote-tool input:focus-visible,.jp-crm-quote-tool select:focus-visible,.jp-crm-quote-tool textarea:focus-visible,.jp-password-modal button:focus-visible,.jp-password-modal input:focus-visible{outline:3px solid rgba(237,28,36,.28);outline-offset:2px}

@media screen and (max-width:800px){
  .jp-lead-editor-owner,.jp-quote-lines-editor>header{display:grid;align-items:start}.jp-lead-editor-owner>small{margin-left:0}.jp-lead-owner-transfer>header,.jp-lead-owner-transfer-controls{grid-template-columns:1fr;display:grid}.jp-lead-owner-transfer-controls .jp-secondary{width:100%}.jp-quote-lines-editor>header .jp-secondary{width:100%}
  .jp-quote-line-fields{grid-template-columns:1fr 1fr}.jp-quote-line-fields label.wide{grid-column:1/-1}.jp-quote-line-accessory{grid-template-columns:1fr 1fr}.jp-quote-line-accessory>span{grid-column:1/-1}.jp-quote-line-accessory>button{justify-self:end}
  .jp-quote-accessory{grid-template-columns:1fr!important}.jp-quote-accessory>button{width:100%}.jp-quote-payment-terms{grid-template-columns:1fr}.jp-quote-payment-custom{grid-column:auto}.jp-quote-draft-total{display:grid;justify-content:stretch;text-align:right}
}
@media screen and (max-width:520px){
  .jp-quote-line-fields,.jp-quote-line-accessory{grid-template-columns:1fr}.jp-quote-line-fields label.wide,.jp-quote-line-accessory>span{grid-column:auto}.jp-quote-line>header{display:grid}.jp-quote-line>header .jp-remove{width:100%}.jp-quote-line-accessory>button{justify-self:end}.jp-lead-owner{max-width:100%}
}

/* CRM quote workflow */
.jp-lead-primary{display:grid;gap:9px;min-width:170px}
.jp-lead-quote-action{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.jp-lead-quote-action .jp-small{min-height:36px;border-color:#9fc8b3;background:#eff8f3;color:#245b40;font-weight:600}
.jp-lead-quote-action .jp-small:hover,.jp-lead-quote-action .jp-small:focus-visible{border-color:#57906f;background:#e2f3e9}
.jp-lead-quote-action .jp-quote-accepted{border-color:#28774e;background:#28774e;color:#fff}
.jp-lead-quote-action small{color:var(--muted);font-size:9.5px;line-height:1.35}
.jp-lead-kanban-card{display:grid;gap:8px;border:1px solid #e3e5e3;border-radius:4px;background:#fff;padding:8px}
.jp-lead-kanban-card>button{margin:0!important;border:0!important;padding:4px!important;text-align:left}
.jp-lead-kanban-card>button.jp-lead-owner{display:inline-flex;justify-self:start;width:auto;margin:0!important;border:1px solid #d5d9d5!important;border-radius:999px!important;padding:6px 10px!important}.jp-lead-kanban-card>button.jp-lead-owner.is-own{border-color:#a9d1bd!important}.jp-lead-kanban-card>button.jp-lead-owner:hover{border-color:#c98489!important;background:#fff6f6!important}
.jp-lead-kanban-card .jp-lead-quote-action{padding:0 4px 3px}
.jp-lead-kanban-card .jp-lead-quote-action .jp-small{width:auto;min-height:36px;padding:7px 10px!important;border:1px solid #9fc8b3!important}
.jp-kanban-more{display:block;padding:9px;color:var(--muted);font-size:10px}

.jp-crm-quote-tool{width:min(1180px,100%)}
.jp-crm-quote-draft .jp-order-confirmation-draft-grid>section{min-height:150px}
.jp-quote-customer-address,.jp-quote-product-picker,.jp-quote-accessory-picker{margin-top:16px;border:1px solid var(--line);border-radius:6px;padding:16px}
.jp-quote-customer-address>h3,.jp-quote-product-picker h3,.jp-quote-accessory-picker h3{margin:0;font:600 14px Poppins}
.jp-quote-fixed{display:grid;align-content:center;gap:4px;min-height:44px;border:1px solid #d9dcd9;border-radius:3px;background:#f6f7f6;padding:9px 11px}
.jp-quote-fixed span{color:#626762;font:600 10px Poppins}
.jp-quote-fixed strong{font:600 12px Poppins}
.jp-quote-picker-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:14px}
.jp-quote-picker-head>div{display:grid;gap:4px}
.jp-quote-picker-head>div>span,.jp-quote-accessory-picker>div>span{color:var(--red);font:700 9px Poppins;letter-spacing:.1em}
.jp-quote-picker-head>label{width:min(330px,100%)}
.jp-quote-picker-head input{min-height:44px;font-size:14px}
.jp-quote-picker-head small{color:var(--muted);font-size:10px}
.jp-quote-product-picker .jp-order-products{max-height:360px}
.jp-quote-product{min-height:84px}
.jp-quote-product:focus-within{outline:3px solid rgba(237,28,36,.24);outline-offset:2px}
.jp-quote-accessory-picker>div:first-child{display:grid;gap:4px;margin-bottom:12px}
.jp-quote-accessory-picker p{margin:0;color:var(--muted);font-size:10.5px}
.jp-quote-accessory:focus-within{outline:3px solid rgba(237,28,36,.24);outline-offset:2px}
.jp-quote-commercial-fields{margin-top:16px;border-top:1px solid var(--line);padding-top:16px}
.jp-quote-commercial-fields label>small{color:var(--muted);font-size:10px}
.jp-quote-message{margin:20px 0;border-left:3px solid var(--red);background:#f7f8f7;padding:12px 14px}
.jp-quote-message p{margin:0;font-size:9px;line-height:1.55;white-space:pre-wrap}
.jp-quote-parties{grid-template-columns:repeat(2,minmax(0,1fr))}
.jp-quote-status-stamp{margin:-16px -20px 18px;border:2px solid #7b807b;padding:7px;text-align:center;color:#555;font:700 11px Poppins;letter-spacing:.14em;text-transform:uppercase;transform:rotate(-1deg)}
.jp-quote-status-stamp.is-accepted{border-color:#2f7a52;color:#2f7a52}
.jp-quote-status-stamp.is-rejected,.jp-quote-status-stamp.is-voided{border-color:#a53b43;color:#8c2630}
.jp-quote-status-stamp.is-expired{border-color:#a26b08;color:#825700}
.jp-quote-history{border-bottom:1px solid var(--line);background:#fafbfa;padding:11px 18px}
.jp-quote-history summary{cursor:pointer;font:600 11px Poppins}
.jp-quote-history>div{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:8px;margin-top:10px}
.jp-quote-history button{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:48px;border:1px solid var(--line);border-radius:4px;background:#fff;padding:8px 10px;text-align:left;cursor:pointer}
.jp-quote-history button.active{border-color:#555;background:#f0f2f0}
.jp-quote-history button span{display:grid;gap:2px}
.jp-quote-history button strong{font:600 10.5px Poppins}
.jp-quote-history button small{color:var(--muted);font-size:9px}
.jp-quote-history button b{color:var(--red);font:600 9px Poppins}
.jp-quote-result{display:flex;align-items:center;gap:12px;border-bottom:1px solid #a9d1bd;background:#eaf6ef;padding:12px 18px;color:#285b43}
.jp-quote-result strong{font:600 11px Poppins}
.jp-quote-result span{font-size:10px;line-height:1.45}
.jp-quote-result button{margin-left:auto;min-height:40px}
.jp-quote-decision{padding:20px 22px}
.jp-quote-decision-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 18px;border:1px solid var(--line);border-radius:6px;background:#f6f7f6;padding:15px}
.jp-quote-decision-summary>span{color:var(--red);font:700 9px Poppins;letter-spacing:.08em}
.jp-quote-decision-summary>strong{grid-column:1;font:600 13px Poppins}
.jp-quote-decision-summary>.jp-price-pair{grid-column:2;grid-row:1/3;align-self:center}
.jp-quote-decision-summary>small{grid-column:1/-1;color:var(--muted);font-size:10px}
.jp-quote-confirm{display:flex!important;grid-column:1/-1;grid-template-columns:none!important;align-items:flex-start;gap:10px!important;border:1px solid #c9d9cf;border-radius:5px;background:#f2f8f4;padding:12px}
.jp-quote-confirm input{width:20px!important;min-width:20px;height:20px;margin-top:1px}
.jp-quote-confirm span{font-size:11px!important;line-height:1.5}

@media(max-width:800px){
  .jp-quote-picker-head,.jp-quote-result{display:grid;align-items:start}
  .jp-quote-picker-head>label{width:100%}
  .jp-quote-parties{grid-template-columns:1fr}
  .jp-quote-history>div{grid-template-columns:1fr}
  .jp-quote-result button{width:100%;margin-left:0}
  .jp-quote-decision-summary{grid-template-columns:1fr}
  .jp-quote-decision-summary>.jp-price-pair{grid-column:1;grid-row:auto;justify-items:start}
}
@media(max-width:640px){
  .jp-crm-quote-backdrop{padding:0}
  .jp-crm-quote-tool{width:100%;max-height:100dvh;border-radius:0}
  .jp-crm-quote-tool>header{padding:15px 16px}
  .jp-crm-quote-draft,.jp-quote-decision{padding:16px}
  .jp-crm-quote-draft>footer,.jp-quote-decision>footer{margin-right:-16px;margin-left:-16px;padding-right:16px;padding-left:16px}
  .jp-crm-quote-draft>footer button,.jp-quote-decision>footer button{width:100%}
  .jp-quote-customer-address,.jp-quote-product-picker,.jp-quote-accessory-picker{padding:13px}
  .jp-crm-quote-tool input,.jp-crm-quote-tool select,.jp-crm-quote-tool textarea{font-size:16px}
  .jp-crm-quote-print{font-size:12px;line-height:1.55}
}

@media print{
  body.jp-print-crm-quote{background:#fff!important}
  body.jp-print-crm-quote *{visibility:hidden!important}
  body.jp-print-crm-quote .jp-shell{display:block!important;background:#fff!important}
  body.jp-print-crm-quote .jp-shell>aside,body.jp-print-crm-quote .jp-shell>main,body.jp-print-crm-quote .jp-crm-quote-tool>header,body.jp-print-crm-quote .jp-order-confirmation-issued-actions,body.jp-print-crm-quote .jp-order-confirmation-revision-warning,body.jp-print-crm-quote .jp-quote-result,body.jp-print-crm-quote .jp-quote-history{display:none!important}
  body.jp-print-crm-quote .jp-crm-quote-backdrop{position:static!important;display:block!important;padding:0!important;background:#fff!important}
  body.jp-print-crm-quote .jp-crm-quote-tool{display:block!important;width:100%!important;max-height:none!important;overflow:visible!important;border-radius:0!important;box-shadow:none!important}
  body.jp-print-crm-quote .jp-order-confirmation-paper-wrap{display:block!important;overflow:visible!important;padding:0!important;background:#fff!important}
  body.jp-print-crm-quote .jp-crm-quote-print,body.jp-print-crm-quote .jp-crm-quote-print *{visibility:visible!important}
  body.jp-print-crm-quote .jp-crm-quote-print{display:block!important;width:100%!important;min-height:0!important;margin:0!important;padding:0!important;box-shadow:none!important}
  body.jp-print-crm-quote .jp-quote-parties{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.jp-print-crm-quote .jp-order-confirmation-facts{grid-template-columns:repeat(3,minmax(0,1fr))}
  body.jp-print-crm-quote .jp-order-confirmation-accessories ul{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.jp-print-crm-quote .jp-order-confirmation-bottom{grid-template-columns:minmax(0,1fr) 275px}
  body.jp-print-crm-quote .jp-order-confirmation-document-head,body.jp-print-crm-quote .jp-order-confirmation-facts{print-color-adjust:exact;-webkit-print-color-adjust:exact}
  body.jp-print-crm-quote .jp-order-confirmation-lines thead{display:table-header-group}
  body.jp-print-crm-quote .jp-order-confirmation-lines tr,body.jp-print-crm-quote .jp-order-confirmation-parties>div,body.jp-print-crm-quote .jp-order-confirmation-accessories li{break-inside:avoid;page-break-inside:avoid}
  body.jp-print-crm-quote .jp-order-confirmation-bottom,body.jp-print-crm-quote .jp-order-confirmation-terms,body.jp-print-crm-quote .jp-order-confirmation-document-footer{break-inside:avoid;page-break-inside:avoid}
}

/* Keep a one-product category at the same card width as populated rows. */
@media(min-width:901px){.jp-catalog .jp-product-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}}

/* Varaosakuvat: yksi rajattu, turvallisesti pienenevä kuvakomponentti kaikissa näkymissä. */
.jp-spare-thumb{position:relative;display:grid;place-items:center;flex:0 0 auto;overflow:hidden;width:52px;height:52px;min-width:52px;border:1px solid #e0e3e0;border-radius:5px;background:linear-gradient(145deg,#fff,#f1f3f1);color:#a4a8a4}.jp-spare-thumb img{position:relative;z-index:1;display:block;width:100%;height:100%;padding:4px;object-fit:contain;object-position:center;background:#fff}.jp-spare-thumb-fallback{position:absolute;inset:0;display:grid;place-items:center;padding:4px;color:#a2a7a2;font:700 7px Poppins;letter-spacing:.08em;text-align:center}.jp-spare-thumb.has-image .jp-spare-thumb-fallback{opacity:0}.jp-spare-thumb.is-missing .jp-spare-thumb-fallback{opacity:1}.jp-spare-thumb.is-missing img{display:none}.jp-spare-thumb-search{width:42px;height:42px;min-width:42px}.jp-spare-thumb-cart,.jp-spare-thumb-service-cart{width:36px;height:36px;min-width:36px;border-radius:4px}.jp-spare-thumb-service{width:42px;height:42px;min-width:42px}.jp-spare-thumb-editor{width:100%;height:180px;min-width:0;border:0;border-radius:6px;background:#fff}.jp-spare-thumb-editor .jp-spare-thumb-fallback{font-size:12px}.jp-part-table-item{display:flex;align-items:center;gap:11px;min-width:220px}.jp-part-table-item>span:last-child{display:grid;gap:3px;min-width:0}.jp-part-table-item>span:last-child strong,.jp-part-table-item>span:last-child small{overflow:hidden;text-overflow:ellipsis}.jp-global-search-result>.jp-spare-thumb{flex:0 0 42px;min-width:42px}.jp-global-search-result>.jp-spare-thumb+span{flex:1}.jp-sale-part{grid-template-columns:18px 56px minmax(0,1fr) auto}.jp-sale-cart-row{grid-template-columns:38px minmax(0,1fr) 58px 112px auto 26px}.jp-service-part{grid-template-columns:17px 44px minmax(0,1fr) auto}.jp-service-part>.jp-price-pair{grid-column:4}.jp-service-cart-row.has-part-image{grid-template-columns:38px minmax(0,1fr) 58px 96px auto 24px}

.jp-spare-part-modal{width:min(920px,100%)}.jp-spare-image-editor{display:grid;grid-template-columns:minmax(210px,250px) minmax(0,1fr);gap:20px;margin-top:18px;border:1px solid #dfe3df;border-radius:7px;background:#f7f8f7;padding:17px}.jp-spare-image-preview{display:grid;align-items:center;overflow:hidden;min-height:180px;border:1px solid #e0e3e0;border-radius:7px;background:#fff}.jp-spare-image-controls{display:grid;align-content:center;justify-items:start;gap:8px;min-width:0}.jp-spare-image-controls>span{color:var(--red);font:700 8.5px Poppins;letter-spacing:.13em}.jp-spare-image-controls h3{margin:0;font:600 15px Poppins}.jp-spare-image-controls p{max-width:540px;margin:0 0 3px;color:var(--muted);font-size:10px;line-height:1.5}.jp-spare-image-file{width:min(100%,430px)}.jp-spare-image-file>span{font-size:9px!important}.jp-spare-image-file input{padding:8px!important;background:#fff!important;font-size:10px!important}.jp-spare-image-file input::file-selector-button{margin-right:9px;border:0;border-radius:3px;background:#292929;padding:8px 10px;color:#fff;font:600 9px Poppins;cursor:pointer}.jp-spare-image-controls>.jp-secondary{width:max-content}.jp-spare-image-controls>[data-spare-image-status]{display:block;color:#677067;font-size:9px;line-height:1.45}.jp-spare-image-controls>[data-spare-image-status].is-error{color:#a32630;font-weight:600}.jp-spare-image-controls [hidden]{display:none!important}

@media(max-width:760px){.jp-spare-image-editor{grid-template-columns:1fr}.jp-spare-image-preview{width:min(100%,360px)}.jp-sale-part{grid-template-columns:18px 48px minmax(0,1fr)}.jp-sale-part>.jp-price-pair{grid-column:3;justify-items:start}.jp-sale-cart-row{grid-template-columns:38px minmax(0,1fr) 58px 25px}.jp-sale-cart-row>.jp-spare-thumb{grid-column:1;grid-row:1}.jp-sale-cart-row>div:first-of-type{grid-column:2/4}.jp-sale-cart-row>label:nth-of-type(1){grid-column:2}.jp-sale-cart-row>.jp-sale-line-price{grid-column:3}.jp-sale-cart-row>[data-sale-line-total]{grid-column:2/4}.jp-sale-cart-row>button{grid-column:4;grid-row:1}.jp-service-part{grid-template-columns:17px 42px minmax(0,1fr)}.jp-service-part>.jp-price-pair{grid-column:3;justify-items:start}.jp-service-cart-row.has-part-image{grid-template-columns:38px minmax(0,1fr) 55px 24px}.jp-service-cart-row.has-part-image>.jp-spare-thumb{grid-column:1;grid-row:1}.jp-service-cart-row.has-part-image>div:first-of-type{grid-column:2/4}.jp-service-cart-row.has-part-image>label:nth-of-type(1){grid-column:2}.jp-service-cart-row.has-part-image>label:nth-of-type(2){grid-column:3}.jp-service-cart-row.has-part-image>[data-service-line-total]{grid-column:2/4}.jp-service-cart-row.has-part-image>button{grid-column:4;grid-row:1}}

.jp-spare-factory-snapshot-price{justify-items:end}.jp-spare-factory-snapshot-price>strong{font-size:9.5px}.jp-spare-factory-snapshot-price>small{font-size:7px;white-space:nowrap}

/* Jälleenmyyjän erillinen varaosien tehdastilaus ja valmistajan työjono. */
.jp-spare-factory-success{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px;border:1px solid #add7c2;border-radius:7px;background:#eaf7f0;padding:16px 18px;color:#215c40}.jp-spare-factory-success>div{display:grid;gap:3px}.jp-spare-factory-success span,.jp-spare-factory-hero>div>span,.jp-spare-factory-title span,.jp-spare-factory-step>span{color:var(--red);font:700 8.5px Poppins;letter-spacing:.13em}.jp-spare-factory-success strong{font:600 15px Poppins}.jp-spare-factory-success small{font-size:9.5px}.jp-spare-factory-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(330px,.65fr);align-items:center;gap:28px;margin-bottom:18px;border-radius:8px;background:#292929;padding:24px 26px;color:#fff}.jp-spare-factory-hero h2{margin:5px 0 5px;font:600 20px Poppins}.jp-spare-factory-hero p{max-width:760px;margin:0;color:#c6cac6;font-size:11px;line-height:1.55}.jp-spare-factory-hero-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.jp-spare-factory-hero-actions>div{grid-column:1/-1;display:grid;gap:2px;border:1px solid #4b4f4b;border-radius:5px;padding:11px 13px}.jp-spare-factory-hero-actions>div>span{color:#ff5359;font-size:7.5px}.jp-spare-factory-hero-actions>div>strong{font:600 11px Poppins}.jp-spare-factory-hero-actions>div>small{color:#afb4af;font-size:8.5px}.jp-spare-factory-hero .jp-secondary{border-color:#555a55;background:#333;color:#fff}.jp-spare-factory-title{display:flex;align-items:center;justify-content:space-between;gap:20px}.jp-spare-factory-title h2{margin:5px 0 3px;font:600 18px Poppins}.jp-spare-factory-title p{margin:0;color:var(--muted);font-size:10.5px;line-height:1.5}.jp-spare-factory-title>b{display:grid;place-items:center;min-width:35px;height:35px;border-radius:18px;background:#292929;color:#fff;font:600 11px Poppins}.jp-spare-factory-queue{margin-bottom:18px;border:1px solid var(--line);border-radius:8px;background:#fff;padding:20px}.jp-spare-factory-queue-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-top:17px}.jp-spare-factory-queue-list>article{overflow:hidden;border:1px solid #dfe3df;border-radius:7px;background:#fafbfa}.jp-spare-factory-queue-list>article>header{position:static;display:flex;align-items:flex-start;justify-content:space-between;gap:14px;border:0;border-bottom:1px solid #e1e4e1;background:#f2f4f2;padding:14px 15px}.jp-spare-factory-queue-list>article>header>div{display:grid;gap:2px}.jp-spare-factory-queue-list>article>header span{color:var(--red);font:700 8px Poppins;letter-spacing:.08em}.jp-spare-factory-queue-list h3{margin:0;font:600 13px Poppins}.jp-spare-factory-queue-list header small{color:var(--muted);font-size:8.5px}.jp-spare-factory-queue-list dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;padding:13px 15px}.jp-spare-factory-queue-list dl div{display:grid;gap:2px}.jp-spare-factory-queue-list dt{color:var(--muted);font-size:8px}.jp-spare-factory-queue-list dd{overflow-wrap:anywhere;margin:0;font:600 9.5px Poppins}.jp-spare-factory-order-lines{display:grid;border-top:1px solid #e4e7e4;border-bottom:1px solid #e4e7e4;background:#fff}.jp-spare-factory-order-lines>div{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:9px;border-top:1px solid #edf0ed;padding:9px 14px}.jp-spare-factory-order-lines>div:first-child{border-top:0}.jp-spare-factory-order-lines>div>span{display:grid;gap:1px;min-width:0}.jp-spare-factory-order-lines b{color:var(--red);font:700 7px Poppins}.jp-spare-factory-order-lines strong{font:600 9.5px Poppins}.jp-spare-factory-order-lines small{color:var(--muted);font-size:8px}.jp-spare-factory-order-lines em{font:600 9.5px Poppins;font-style:normal}.jp-spare-thumb-factory-order,.jp-spare-thumb-factory-cart{width:36px;height:36px;min-width:36px}.jp-spare-factory-queue-total{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:11px 15px}.jp-spare-factory-queue-total>span{color:var(--muted);font-size:9px}.jp-spare-factory-queue-list>article>form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:9px;border-top:1px solid #e1e4e1;background:#fff;padding:12px 15px}.jp-spare-factory-queue-list form label{display:grid;gap:4px}.jp-spare-factory-queue-list form label>span{color:#626762;font:600 8px Poppins}.jp-spare-factory-queue-list form select{height:36px;border:1px solid #d6dad6;border-radius:4px;background:#fff;padding:0 9px;font-size:10px}.jp-spare-factory-tracking{margin-bottom:18px}.jp-spare-factory-tracking>.jp-spare-factory-title{border-bottom:1px solid var(--line);padding:18px 20px}.jp-spare-factory-tracking-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:15px 18px 18px}.jp-spare-factory-tracking-list>article{overflow:hidden;border:1px solid #dfe3df;border-radius:6px;background:#fff}.jp-spare-factory-tracking-list article>header,.jp-spare-factory-tracking-list article>footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 13px}.jp-spare-factory-tracking-list article>header{border-bottom:1px solid #e5e8e5;background:#f7f8f7}.jp-spare-factory-tracking-list article>header>div{display:grid;gap:2px}.jp-spare-factory-tracking-list header strong{font:600 11px Poppins}.jp-spare-factory-tracking-list header small,.jp-spare-factory-tracking-list footer>span{color:var(--muted);font-size:8.5px}.jp-spare-factory-tracking-list article>footer{border-top:1px solid #e5e8e5}.jp-spare-factory-order-lines.is-compact{border:0}.jp-spare-factory-order-lines.is-compact>div{padding-left:12px;padding-right:12px}

.jp-spare-factory-modal{width:min(1320px,100%)}.jp-spare-factory-modal>form{padding:18px}.jp-spare-factory-editor{display:grid;grid-template-columns:minmax(520px,1.35fr) minmax(390px,.85fr);overflow:hidden;border:1px solid var(--line);border-radius:7px}.jp-spare-factory-catalog,.jp-spare-factory-summary{min-width:0;padding:19px}.jp-spare-factory-catalog{border-right:1px solid var(--line);background:#f7f8f7}.jp-spare-factory-summary{background:#fff}.jp-spare-factory-step{margin-bottom:14px}.jp-spare-factory-step h3{margin:5px 0 3px;font:600 16px Poppins}.jp-spare-factory-step p{margin:0;color:var(--muted);font-size:10px;line-height:1.5}.jp-spare-factory-search{display:grid;gap:4px;margin-bottom:10px}.jp-spare-factory-search>span{font:600 9px Poppins}.jp-spare-factory-search input{height:40px!important;background:#fff!important}.jp-spare-factory-search small{color:var(--muted);font-size:8.5px;text-align:right}.jp-spare-factory-categories{display:flex;gap:5px;margin-bottom:10px;overflow-x:auto;padding-bottom:3px}.jp-spare-factory-categories button{flex:0 0 auto;border:1px solid #d8dcd8;border-radius:15px;background:#fff;padding:6px 9px;color:#555b55;font:600 8.5px Poppins;cursor:pointer}.jp-spare-factory-categories button.active{border-color:#292929;background:#292929;color:#fff}.jp-spare-factory-categories b{margin-left:3px;font-size:8px}.jp-spare-factory-parts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;max-height:520px;overflow:auto;padding:2px}.jp-spare-factory-part{display:grid!important;grid-template-columns:17px 48px minmax(0,1fr) auto;align-items:center;gap:8px!important;border:1px solid #dfe3df;border-radius:5px;background:#fff;padding:9px;cursor:pointer}.jp-spare-factory-part:has(input:checked){border-color:#5da37f;background:#eef8f3;box-shadow:0 0 0 2px rgba(35,134,94,.08)}.jp-spare-factory-part>input{width:16px!important;height:16px!important;padding:0!important;accent-color:var(--green)}.jp-spare-thumb-factory-picker{width:46px;height:46px;min-width:46px}.jp-spare-factory-part>span{display:grid;gap:2px;min-width:0}.jp-spare-factory-part>span>b{color:var(--red);font:700 7.5px Poppins}.jp-spare-factory-part>span>strong{font:600 9.5px Poppins;line-height:1.3}.jp-spare-factory-part>span>small{overflow:hidden;color:var(--muted);font-size:8px;text-overflow:ellipsis;white-space:nowrap}.jp-spare-factory-part>.jp-price-pair{justify-items:end}.jp-spare-factory-part>.jp-price-pair>strong{font-size:9.5px}.jp-spare-factory-part>.jp-price-pair>small{font-size:7px}.jp-spare-factory-part[hidden],.jp-spare-factory-no-results[hidden]{display:none!important}.jp-spare-factory-no-results{margin:10px 0 0;border:1px dashed #d9ddda;border-radius:4px;background:#fff;padding:11px;color:var(--muted);font-size:9px}.jp-spare-factory-customer{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:11px}.jp-spare-factory-customer .wide{grid-column:1/-1}.jp-spare-factory-pickup{display:grid;gap:2px;margin-bottom:11px;border-left:3px solid var(--green);border-radius:0 5px 5px 0;background:#eef7f2;padding:11px 13px;color:#285e43}.jp-spare-factory-pickup>span{font:700 7.5px Poppins;letter-spacing:.1em}.jp-spare-factory-pickup>strong{font:600 10.5px Poppins}.jp-spare-factory-pickup>small{font-size:8.5px}.jp-spare-factory-pickup>input{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important}.jp-spare-factory-cart{overflow:hidden;margin-bottom:11px;border:1px solid #dfe3df;border-radius:6px;background:#fafbfa}.jp-spare-factory-cart>header{position:static;display:flex;align-items:center;justify-content:space-between;border:0;border-bottom:1px solid #e1e4e1;background:#f2f4f2;padding:10px 12px}.jp-spare-factory-cart>header>div{display:grid;gap:2px}.jp-spare-factory-cart>header span{color:var(--red);font:700 7.5px Poppins;letter-spacing:.1em}.jp-spare-factory-cart>header strong{font:600 10px Poppins}.jp-spare-factory-cart>header>b{display:grid;place-items:center;min-width:24px;height:24px;border-radius:12px;background:#292929;color:#fff;font:600 8.5px Poppins}.jp-spare-factory-cart>p{margin:0;padding:14px;color:var(--muted);font-size:9px;text-align:center}.jp-spare-factory-cart>p[hidden]{display:none}.jp-spare-factory-cart>[data-spare-order-lines]{display:grid;max-height:260px;overflow:auto}.jp-spare-factory-cart-row{display:grid;grid-template-columns:38px minmax(0,1fr) 58px auto 24px;align-items:center;gap:8px;border-top:1px solid #e6e9e6;background:#fff;padding:9px 10px}.jp-spare-factory-cart-row:first-child{border-top:0}.jp-spare-factory-cart-row>div:nth-of-type(1){display:grid;gap:2px;min-width:0}.jp-spare-factory-cart-row>div:nth-of-type(1)>span{color:var(--red);font:700 7px Poppins}.jp-spare-factory-cart-row>div:nth-of-type(1)>strong{font:600 9.5px Poppins}.jp-spare-factory-cart-row>div:nth-of-type(1)>small{overflow:hidden;color:var(--muted);font-size:7.5px;text-overflow:ellipsis;white-space:nowrap}.jp-spare-factory-cart-row label{gap:3px}.jp-spare-factory-cart-row label>span{font-size:7.5px}.jp-spare-factory-cart-row input{height:32px!important;padding:5px!important;text-align:center}.jp-spare-factory-cart-row>[data-spare-order-line-total] .jp-price-pair{justify-items:end}.jp-spare-factory-cart-row>[data-spare-order-line-total] .jp-price-pair>strong{font-size:9px}.jp-spare-factory-cart-row>[data-spare-order-line-total] .jp-price-pair>small{font-size:7px}.jp-spare-factory-cart-row>button{width:24px;height:24px;border:0;border-radius:50%;background:#f4e9ea;color:#9a2c34;font-size:15px;cursor:pointer}.jp-spare-factory-total{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:3px 12px;border-radius:6px;background:#292929;padding:13px 15px;color:#fff}.jp-spare-factory-total>span{font:600 9.5px Poppins}.jp-spare-factory-total>[data-spare-order-total]{grid-column:2;grid-row:1/3}.jp-spare-factory-total .jp-price-pair{justify-items:end}.jp-spare-factory-total .jp-price-pair>strong{color:#fff;font-size:17px}.jp-spare-factory-total .jp-price-pair>small,.jp-spare-factory-total>small{color:#bec2be;font-size:8px}

@media(max-width:1050px){.jp-spare-factory-hero,.jp-spare-factory-editor{grid-template-columns:1fr}.jp-spare-factory-catalog{border-right:0;border-bottom:1px solid var(--line)}.jp-spare-factory-queue-list{grid-template-columns:1fr}.jp-spare-factory-parts{max-height:380px}}
@media(max-width:700px){.jp-spare-factory-success,.jp-spare-factory-title{display:grid}.jp-spare-factory-success .jp-primary{width:100%}.jp-spare-factory-hero{padding:19px}.jp-spare-factory-hero-actions,.jp-spare-factory-parts,.jp-spare-factory-customer,.jp-spare-factory-tracking-list{grid-template-columns:1fr}.jp-spare-factory-hero-actions>div{grid-column:auto}.jp-spare-factory-modal>form{padding:13px}.jp-spare-factory-modal>form>footer{margin-left:-13px;margin-right:-13px}.jp-spare-factory-catalog,.jp-spare-factory-summary{padding:14px}.jp-spare-factory-part{grid-template-columns:17px 44px minmax(0,1fr)}.jp-spare-factory-part>.jp-price-pair{grid-column:3;justify-items:start}.jp-spare-thumb-factory-picker{width:42px;height:42px;min-width:42px}.jp-spare-factory-cart-row{grid-template-columns:38px minmax(0,1fr) 55px 24px}.jp-spare-factory-cart-row>div:nth-of-type(1){grid-column:2/4}.jp-spare-factory-cart-row>label{grid-column:2}.jp-spare-factory-cart-row>[data-spare-order-line-total]{grid-column:2/4}.jp-spare-factory-cart-row>button{grid-column:4;grid-row:1}.jp-spare-factory-queue-list dl{grid-template-columns:1fr}.jp-spare-factory-queue-list>article>form{grid-template-columns:1fr}.jp-spare-factory-queue-list>article>form .jp-primary{width:100%}}

/* Huoltoeditorin luettavuus ja saavutettavat osumakohteet. */
:is(.jp-service-modal,.jp-dealer-service-modal){--jp-service-muted:#5f655f;--jp-service-kicker:#b5121b}
:is(.jp-service-modal,.jp-dealer-service-modal) :is(input,select,textarea){min-height:44px;font-size:14px;line-height:1.45}
:is(.jp-service-modal,.jp-dealer-service-modal) textarea{min-height:104px}
:is(.jp-service-modal,.jp-dealer-service-modal) label>span{font-size:12px;line-height:1.4}
:is(.jp-service-modal,.jp-dealer-service-modal) :is(input,textarea)::placeholder{color:#676d67;opacity:1}
:is(.jp-service-modal,.jp-dealer-service-modal) :is(button,input,select,textarea):focus-visible{outline:3px solid #0b6dc5;outline-offset:2px}
:is(.jp-service-package,.jp-service-part,.jp-dealer-service-type>label,.jp-dealer-service-package):focus-within{border-color:#0b6dc5;box-shadow:0 0 0 3px rgba(11,109,197,.2)}
:is(.jp-service-modal,.jp-dealer-service-modal)>header button{width:40px;height:40px;min-width:40px;min-height:40px}
:is(.jp-service-modal,.jp-dealer-service-modal)>header span{font-size:12px;line-height:1.4}
:is(.jp-service-modal,.jp-dealer-service-modal) :is(.jp-primary,.jp-secondary,.jp-small,.jp-danger){min-height:40px;font-size:14px}

.jp-service-step{margin-bottom:18px}.jp-service-step>span,.jp-service-part-head>label>span{color:var(--jp-service-kicker);font-size:12px;line-height:1.4}.jp-service-step h3{font-size:18px;line-height:1.35}.jp-service-step p{color:var(--jp-service-muted);font-size:14px;line-height:1.55}
.jp-service-package{min-height:72px;padding:12px}.jp-service-package>input,.jp-service-part>input{width:20px!important;height:20px!important}.jp-service-package>span>strong{font-size:14px;line-height:1.4}.jp-service-package>span>small{color:var(--jp-service-muted);font-size:12px;line-height:1.4}.jp-service-package>.jp-price-pair>strong{font-size:14px}.jp-service-package>.jp-price-pair>small{font-size:12px}
.jp-service-part-head{margin-bottom:11px}.jp-service-part-head input{height:44px;font-size:14px}.jp-service-part-head small{color:var(--jp-service-muted);font-size:12px;line-height:1.4}.jp-service-categories{gap:7px;margin-bottom:12px}.jp-service-categories button{min-height:40px;padding:8px 12px;color:#4d534d;font-size:14px}.jp-service-categories b{font-size:12px}
.jp-service-part{min-height:70px;padding:12px}.jp-service-part>span>b{color:var(--jp-service-kicker);font-size:12px;line-height:1.35}.jp-service-part>span>strong{font-size:14px;line-height:1.45}.jp-service-part>span>small{color:var(--jp-service-muted);font-size:12px}.jp-service-part>.jp-price-pair>strong{font-size:14px}.jp-service-part>.jp-price-pair>small{font-size:12px}.jp-service-no-results{color:var(--jp-service-muted)!important;font-size:14px;line-height:1.5}
.jp-service-selected,.jp-service-labor,.jp-service-sundry{margin-bottom:16px}.jp-service-selected>header,.jp-service-labor>header{padding:13px 14px}.jp-service-selected>header span,.jp-service-labor>header span{color:var(--jp-service-kicker);font-size:12px;line-height:1.4}.jp-service-selected>header strong,.jp-service-labor>header strong{font-size:14px;line-height:1.4}.jp-service-selected>header>b{min-width:30px;height:30px;border-radius:15px;font-size:12px}.jp-service-selected>p,.jp-service-labor>p{color:var(--jp-service-muted)!important;font-size:14px;line-height:1.5}
.jp-service-cart-row>div:first-child>span{color:var(--jp-service-kicker);font-size:12px;line-height:1.35}.jp-service-cart-row>div:first-child>strong{font-size:14px;line-height:1.45}.jp-service-cart-row>div:first-child>small{color:var(--jp-service-muted);font-size:12px;line-height:1.4}.jp-service-cart-row label>span,.jp-service-labor-row label>span,.jp-service-sundry label>span{font-size:12px;line-height:1.35}.jp-service-cart-row input,.jp-service-labor-row input,.jp-service-sundry input[type=number]{height:40px;font-size:14px}.jp-service-cart-row label>small{color:var(--jp-service-muted);font-size:12px;line-height:1.35}.jp-service-cart-row .jp-price-pair>strong,.jp-service-labor-row .jp-price-pair>strong{font-size:14px}.jp-service-cart-row .jp-price-pair>small,.jp-service-labor-row .jp-price-pair>small{font-size:12px}.jp-service-cart-row>button,.jp-service-labor-row>button{width:40px;height:40px;min-width:40px;min-height:40px;font-size:20px}
.jp-service-sundry>input{width:24px!important;height:24px!important}.jp-service-sundry>.jp-service-sundry-copy>strong{font-size:14px;line-height:1.4}.jp-service-sundry>.jp-service-sundry-copy>small{color:var(--jp-service-muted);font-size:12px;line-height:1.45}.jp-service-totals{gap:10px;padding:16px 17px}.jp-service-totals span{font-size:14px;line-height:1.4}.jp-service-totals strong{font-size:14px}.jp-service-totals .total strong{font-size:22px}
.jp-service-request-summary>div:first-child>span{color:var(--jp-service-kicker);font-size:12px}.jp-service-request-summary>div:first-child>strong{font-size:14px}.jp-service-request-summary b{font-size:12px}.jp-service-request-summary>small{font-size:12px;line-height:1.5}

.jp-dealer-service-current>div>span,.jp-dealer-service-type>legend,.jp-dealer-service-section>header>span{color:var(--jp-service-kicker);font-size:12px;line-height:1.4}.jp-dealer-service-current>div>strong{font-size:14px}.jp-dealer-service-hero>div:first-child>span,.jp-dealer-service-hero>div:last-child>span{color:#ff7075;font-size:12px;line-height:1.4}.jp-dealer-service-hero h3{font-size:22px;line-height:1.3}.jp-dealer-service-hero p{font-size:14px;line-height:1.6}.jp-dealer-service-hero>div:last-child>strong{font-size:14px}.jp-dealer-service-hero>div:last-child>small{font-size:12px;line-height:1.4}
.jp-dealer-service-type>label{min-height:72px}.jp-dealer-service-type input,.jp-dealer-service-package>input{width:22px!important;height:22px!important}.jp-dealer-service-type strong{font-size:14px;line-height:1.4}.jp-dealer-service-type small{color:var(--jp-service-muted);font-size:12px;line-height:1.45}.jp-dealer-service-section>header h3{font-size:18px;line-height:1.35}.jp-dealer-service-section>header p{color:var(--jp-service-muted);font-size:14px;line-height:1.55}.jp-dealer-service-section>.fields label>small{color:var(--jp-service-muted);font-size:12px;line-height:1.45}.jp-dealer-service-package{min-height:68px}.jp-dealer-service-package strong{font-size:14px;line-height:1.4}.jp-dealer-service-package small{color:var(--jp-service-muted);font-size:12px;line-height:1.45}.jp-dealer-service-packages>p{color:var(--jp-service-muted);font-size:14px;line-height:1.5}.jp-dealer-service-package-summary strong{min-width:30px;height:30px;font-size:12px}.jp-dealer-service-package-summary span{font-size:14px}.jp-dealer-service-confirm strong{font-size:14px}.jp-dealer-service-confirm span{font-size:14px;line-height:1.45}

@media(pointer:coarse){:is(.jp-service-modal,.jp-dealer-service-modal) :is(button,.jp-primary,.jp-secondary,.jp-small,.jp-danger){min-height:44px}.jp-service-categories button,.jp-service-cart-row>button,.jp-service-labor-row>button{width:44px;height:44px;min-width:44px;min-height:44px}}
@media(max-width:640px){:is(.jp-service-modal,.jp-dealer-service-modal) :is(input,select,textarea){font-size:16px}.jp-service-step h3{font-size:18px}.jp-service-step p,.jp-dealer-service-hero p{font-size:14px}.jp-service-totals .total strong{font-size:22px}}

/* Huoltoeditorin oikea sarake on levealla naytolla silti kapea. Mukauta rivit
   komponentin, ei koko selainikkunan, leveyteen. */
.jp-service-charge{container-type:inline-size}
.jp-service-labor>header{flex-wrap:wrap}
.jp-service-labor>header>button[data-service-add-labor]{flex:0 0 auto;width:auto;height:40px;min-width:max-content;min-height:40px;border-radius:4px;padding:0 13px;font-size:14px;line-height:1.2;white-space:nowrap}
.jp-service-cart-row>div:first-of-type{display:grid;gap:2px;min-width:0;overflow-wrap:anywhere;word-break:normal;hyphens:auto}
.jp-service-cart-row>div:first-of-type>span{color:var(--jp-service-kicker);font-size:12px;line-height:1.35}
.jp-service-cart-row>div:first-of-type>strong{font-size:14px;line-height:1.45}
.jp-service-cart-row>div:first-of-type>small{color:var(--jp-service-muted);font-size:12px;line-height:1.4}
.jp-service-price-override{grid-column:1/-1;display:grid;gap:10px;margin-top:3px;border-top:1px dashed #dfe3df;padding-top:10px}
.jp-service-price-override-toggle{display:grid!important;grid-template-columns:22px minmax(0,1fr);align-items:start;gap:9px!important;cursor:pointer}
.jp-service-price-override-toggle>input{width:22px!important;height:22px!important;margin:0;padding:0!important;accent-color:var(--green)}
.jp-service-price-override-toggle>span{display:grid;gap:2px}
.jp-service-price-override-toggle strong{font:600 13px Poppins;line-height:1.4}
.jp-service-price-override-toggle small,.jp-service-price-override-reason>small{color:var(--jp-service-muted);font-size:12px;line-height:1.45;white-space:normal!important}
.jp-service-price-override-reason{display:grid!important;gap:5px!important;border-left:3px solid #e3a323;padding-left:10px}
.jp-service-price-override-reason[hidden]{display:none!important}
.jp-service-price-override-reason>span{font-size:12px;font-weight:600;line-height:1.4}
.jp-service-price-override-reason>input{width:100%;height:42px!important;text-align:left!important}
.jp-service-price-override-reason>input:invalid{border-color:#a53c43}

@container (max-width:520px){
  .jp-service-cart-row{grid-template-columns:minmax(72px,.75fr) minmax(112px,1fr) minmax(88px,auto) 40px;grid-template-areas:"copy copy copy copy" "quantity price total remove";align-items:end}
  .jp-service-cart-row.has-part-image{grid-template-columns:40px minmax(72px,.75fr) minmax(112px,1fr) minmax(88px,auto) 40px;grid-template-areas:"image copy copy copy copy" ". quantity price total remove"}
  .jp-service-cart-row>.jp-spare-thumb{grid-area:image;align-self:start}
  .jp-service-cart-row>div:first-of-type{grid-area:copy;align-self:center}
  .jp-service-cart-row>label:nth-of-type(1){grid-area:quantity}
  .jp-service-cart-row>label:nth-of-type(2){grid-area:price}
  .jp-service-cart-row>[data-service-line-total]{grid-area:total;align-self:center;justify-self:end}
  .jp-service-cart-row>button{grid-area:remove;align-self:end}
  .jp-service-cart-row.has-part-image>.jp-spare-thumb{grid-area:image}
  .jp-service-cart-row.has-part-image>div:first-of-type{grid-area:copy}
  .jp-service-cart-row.has-part-image>label:nth-of-type(1){grid-area:quantity}
  .jp-service-cart-row.has-part-image>label:nth-of-type(2){grid-area:price}
  .jp-service-cart-row.has-part-image>[data-service-line-total]{grid-area:total}
  .jp-service-cart-row.has-part-image>button{grid-area:remove}
  .jp-service-labor-row{grid-template-columns:minmax(72px,.75fr) minmax(112px,1fr) minmax(88px,auto) 40px;grid-template-areas:"labor-name labor-name labor-name labor-name" "labor-hours labor-price labor-total labor-remove";align-items:end}
  .jp-service-labor-row>label:nth-of-type(1){grid-area:labor-name}
  .jp-service-labor-row>label:nth-of-type(2){grid-area:labor-hours}
  .jp-service-labor-row>label:nth-of-type(3){grid-area:labor-price}
  .jp-service-labor-row>[data-service-labor-total]{grid-area:labor-total;align-self:center;justify-self:end}
  .jp-service-labor-row>button{grid-area:labor-remove;align-self:end}
}

@container (max-width:400px){
  .jp-service-cart-row,.jp-service-cart-row.has-part-image{grid-template-columns:minmax(72px,.7fr) minmax(110px,1.3fr) 40px;grid-template-areas:"copy copy copy" "quantity price price" "total total remove"}
  .jp-service-cart-row.has-part-image{grid-template-areas:"image copy copy" "quantity price price" "total total remove"}
  .jp-service-labor-row{grid-template-columns:minmax(72px,.7fr) minmax(110px,1.3fr) 40px;grid-template-areas:"labor-name labor-name labor-name" "labor-hours labor-price labor-price" "labor-total labor-total labor-remove"}
  .jp-service-sundry{grid-template-columns:24px minmax(0,1fr)}
  .jp-service-sundry>label{grid-column:2}
}

/* Varaosahakemisto mukautuu keskisarakkeen todelliseen leveyteen. Kahden
   kortin rivi ei saa puristaa nimea ja hintoja paallekkain. */
.jp-service-work{container-type:inline-size}
.jp-service-part>span:not(.jp-spare-thumb):not(.jp-price-pair){overflow-wrap:anywhere;word-break:normal}

@container (max-width:720px){
  .jp-service-parts{grid-template-columns:1fr}
  .jp-service-part{grid-template-columns:20px 44px minmax(0,1fr) minmax(108px,max-content);align-items:center;gap:10px!important}
  .jp-service-part>.jp-price-pair{grid-column:4;justify-items:end}
}

@container (max-width:460px){
  .jp-service-part{grid-template-columns:20px 42px minmax(0,1fr);align-items:start}
  .jp-service-part>.jp-price-pair{grid-column:3;justify-items:start}
}

/* Valmistaja valitsee kuomukorkeuden suoraan kärryn variaatiosta. */
.jp-trailer-variant-field select{min-height:44px;font-size:14px}
.jp-trailer-variant-field>small{color:#52675b;font-size:12px;line-height:1.45}
#entity-form[data-entity=trailers] input[name=list_price][readonly]{background:#f3f5f3;color:#333;cursor:default}

@media(max-width:640px){
  .jp-trailer-variant-field select{font-size:16px}
}

/* Varaosamyynnin ostoskori on editorin kapeassa oikeassa sarakkeessa myos
   levealla selainikkunalla. Mukauta rivi ostoskorin todelliseen leveyteen.
   Kuvan lisaamisen jalkeen tuotekuvaus ei enaa ollut rivin ensimmainen lapsi,
   joten vanha :first-child-valitsin jatti tekstin ilman kutistuvaa ruutua. */
.jp-sale-cart{container-type:inline-size}
.jp-sale-cart>header span{font-size:12px;line-height:1.4}
.jp-sale-cart>header strong{font-size:14px;line-height:1.4}
.jp-sale-cart-row{grid-template-columns:38px minmax(0,1fr) 58px 112px auto 44px}
.jp-sale-cart-row>div:first-of-type{display:grid;gap:3px;min-width:0;overflow-wrap:anywhere;word-break:normal;hyphens:auto}
.jp-sale-cart-row>div:first-of-type>span{color:var(--red);font:700 12px/1.35 Poppins;letter-spacing:.04em}
.jp-sale-cart-row>div:first-of-type>strong{font-family:Poppins;font-size:14px;font-weight:600;line-height:1.45;overflow-wrap:anywhere}
.jp-sale-cart-row>div:first-of-type>small{color:var(--muted);font-size:12px;line-height:1.4;white-space:normal}
.jp-sale-cart-row>label,.jp-sale-cart-row>.jp-sale-line-price{min-width:0}
.jp-sale-cart-row>label>span{font-size:12px;line-height:1.35}
.jp-sale-cart-row input{width:100%;min-width:0;max-width:100%;min-height:44px;font-size:14px}
.jp-sale-cart-row>.jp-sale-line-price>small{font-size:12px;line-height:1.35;white-space:normal}
.jp-sale-cart-row>[data-sale-line-total]{min-width:max-content}
.jp-sale-cart-row>[data-sale-line-total] .jp-price-pair>strong{font-size:14px}
.jp-sale-cart-row>[data-sale-line-total] .jp-price-pair>small{font-size:12px;line-height:1.35}
.jp-sale-cart-row>button{width:44px;height:44px;min-width:44px;min-height:44px;font-size:20px}

@container (max-width:560px){
  .jp-sale-cart-row{grid-template-columns:44px minmax(80px,.7fr) minmax(120px,1.3fr) 44px;grid-template-areas:"thumb copy copy remove" ". quantity price price" ". total total total";align-items:end;gap:10px}
  .jp-sale-cart-row>.jp-spare-thumb{grid-area:thumb;align-self:start}
  .jp-sale-cart-row>div:first-of-type{grid-area:copy;align-self:center}
  .jp-sale-cart-row>label:nth-of-type(1){grid-area:quantity}
  .jp-sale-cart-row>.jp-sale-line-price{grid-area:price}
  .jp-sale-cart-row>[data-sale-line-total]{grid-area:total;align-self:center;justify-self:end}
  .jp-sale-cart-row>button{grid-area:remove;align-self:end}
}

@container (max-width:360px){
  .jp-sale-cart-row{grid-template-columns:44px minmax(0,1fr) 44px;grid-template-areas:"thumb . remove" "copy copy copy" "quantity quantity quantity" "price price price" "total total total"}
  .jp-sale-cart-row>.jp-spare-thumb{grid-area:thumb}
  .jp-sale-cart-row>div:first-of-type{grid-area:copy}
  .jp-sale-cart-row>label:nth-of-type(1){grid-area:quantity}
  .jp-sale-cart-row>.jp-sale-line-price{grid-area:price}
  .jp-sale-cart-row>[data-sale-line-total]{grid-area:total}
  .jp-sale-cart-row>button{grid-area:remove}
}

/* Sold-trailer receipt reuses the immutable A4 receipt surface. */
.jp-receipt-unavailable{display:block;color:var(--muted);text-align:center}
.jp-receipt-service.jp-receipt-trailer{grid-template-columns:1.5fr .8fr 1fr 1fr .8fr}
.jp-receipt-trailer>div:first-child strong{line-height:1.35}
@media(max-width:760px){.jp-receipt-service.jp-receipt-trailer{grid-template-columns:repeat(2,minmax(0,1fr))}}

.jp-stock-sale-receipt-choice{display:grid;grid-template-columns:20px minmax(0,1fr);align-items:start;gap:10px;margin-top:12px;border:1px solid #b9daca;border-radius:5px;background:#f0f8f4;padding:12px 13px;cursor:pointer}
.jp-stock-sale-receipt-choice>input{width:18px!important;height:18px!important;margin:1px 0 0;padding:0!important;accent-color:var(--green)}
.jp-stock-sale-receipt-choice>span{display:grid;gap:3px}
.jp-stock-sale-receipt-choice strong{color:#245a40;font:600 10px Poppins}
.jp-stock-sale-receipt-choice small{color:#557062;font-size:9px;line-height:1.45}

/* Dashboard work queues: every scoped open row remains available without tiny tables. */
.jp-open-work{margin:0 0 22px}
.jp-open-work-heading{display:flex;align-items:end;justify-content:space-between;gap:18px;margin:0 0 13px;padding:0 2px}
.jp-open-work-heading>div{display:grid;gap:4px;min-width:0}
.jp-open-work-heading span{color:var(--red);font:700 10px/1.3 Poppins;letter-spacing:.12em}
.jp-open-work-heading h2{margin:0;color:#242724;font:600 18px/1.3 Poppins}
.jp-open-work-heading p{margin:0;color:var(--muted);font-size:12px;line-height:1.45}
.jp-open-work-heading>b{display:grid;place-items:center;min-width:42px;height:42px;border-radius:50%;background:#292929;color:#fff;font:600 14px Poppins}
.jp-open-work-buckets{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin:0 0 14px;overflow-x:auto;scrollbar-width:thin}
.jp-open-work-buckets>div{display:flex;align-items:center;gap:8px;min-width:105px;border:1px solid #e0e3e0;border-radius:6px;background:#f7f8f7;padding:10px 11px;color:#858a85}
.jp-open-work-buckets>div.has-items{border-color:#ccd2cc;background:#fff;color:#343834}
.jp-open-work-buckets>div:first-child.has-items{border-color:#e5b3b6;background:#fff5f5;color:#9c1d26}
.jp-open-work-buckets b{font:700 17px/1 Poppins}
.jp-open-work-buckets span{white-space:nowrap;font:600 11px/1.35 Poppins}
.jp-open-work-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(320px,100%),1fr));gap:16px;align-items:start}
.jp-open-work-panel{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:6px;background:#fff;box-shadow:0 1px 4px rgba(30,35,30,.03)}
.jp-open-work-panel>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 16px;border-bottom:1px solid var(--line);background:#f7f8f7}
.jp-open-work-panel>header>div:first-child{display:grid;gap:3px;min-width:0}
.jp-open-work-panel>header span{color:var(--red);font:700 9px/1.3 Poppins;letter-spacing:.1em}
.jp-open-work-panel>header h2{margin:0;color:#252825;font:600 15px/1.35 Poppins}
.jp-open-work-panel>header small{color:var(--muted);font-size:11px;line-height:1.4}
.jp-open-work-panel>header>div:last-child{display:flex;align-items:center;gap:9px}
.jp-open-work-panel>header>div:last-child>b{display:grid;place-items:center;min-width:29px;height:29px;padding:0 7px;border-radius:15px;background:#292929;color:#fff;font:600 11px Poppins}
.jp-open-work-panel>header .jp-small{min-height:44px;padding:9px 12px;white-space:nowrap}
.jp-open-work-list{max-height:560px;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.jp-open-work-item{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:13px;width:100%;min-height:82px;padding:13px 15px;border:0;border-top:1px solid #eceeec;background:#fff;color:inherit;text-align:left;cursor:pointer;transition:background-color .15s ease,padding-left .15s ease}
.jp-open-work-item:first-child{border-top:0}
.jp-open-work-item:hover{padding-left:19px;background:#fafbfa}
.jp-open-work-item:focus-visible{position:relative;z-index:1;outline:3px solid rgba(237,28,36,.24);outline-offset:-3px}
.jp-open-work-item>span:first-child{display:grid;gap:3px;min-width:0}
.jp-open-work-item em{color:#7a807a;font:700 9px/1.3 Poppins;font-style:normal;letter-spacing:.08em}
.jp-open-work-item b{color:var(--red);font:700 11px/1.35 Poppins;overflow-wrap:anywhere}
.jp-open-work-item strong{color:#282b28;font:600 13px/1.4 Poppins;overflow-wrap:anywhere}
.jp-open-work-item small{color:var(--muted);font-size:12px;line-height:1.45;overflow-wrap:anywhere}
.jp-open-work-item>.status{font-size:11px;justify-self:end}
.jp-open-work-action{display:grid;justify-items:end;gap:5px;min-width:145px;text-align:right}
.jp-open-work-action>.status{font-size:11px}
.jp-open-work-action>small{font-size:10px;line-height:1.3}
.jp-open-work-action>strong{max-width:190px;color:#343834;font-size:12px;line-height:1.35}
.jp-open-work-empty{padding:24px 16px;color:var(--muted);font-size:12px;line-height:1.5;text-align:center}
@media(max-width:700px){.jp-open-work-heading{align-items:start}.jp-open-work-heading>b{min-width:38px;height:38px}.jp-open-work-buckets{grid-template-columns:repeat(6,minmax(118px,1fr));margin-right:-14px;padding-right:14px}.jp-open-work-grid{grid-template-columns:1fr}.jp-open-work-panel>header{align-items:start}.jp-open-work-panel>header>div:last-child{align-items:end;flex-direction:column}.jp-open-work-list{max-height:none}.jp-open-work-item{grid-template-columns:1fr}.jp-open-work-item>.status{justify-self:start}.jp-open-work-action{justify-items:start;min-width:0;text-align:left}}

/* Tilausvahvistus: lukittu asiakirja ja sen valmistajan muodostusnakyma. */
.jp-order-card-actions{display:grid;grid-template-columns:1fr;gap:8px;margin-top:8px}
.jp-order-card-actions .jp-order-edit{margin-top:0}
.jp-order-confirmation-create{border-color:#a9d1bd;background:#eff8f3;color:#245b40}
.jp-order-confirmation-open{border-color:#303330;background:#292929;color:#fff}
.jp-order-confirmation-open:hover{background:#191a19}
.jp-order-confirmation-warning{display:grid;gap:3px;margin:0 0 12px;border-left:3px solid #c88400;background:#fff7e8;padding:9px 10px;color:#765100}
.jp-order-confirmation-warning strong{font:600 10px/1.4 Poppins}
.jp-order-confirmation-warning span{font-size:9px;line-height:1.45}

.jp-order-confirmation-tool{width:min(1120px,100%);background:#fff}
.jp-order-confirmation-tool>header>button{width:44px;height:44px;min-width:44px;margin:-7px -8px -7px 12px}
.jp-order-confirmation-tool button:focus-visible,.jp-order-confirmation-tool input:focus-visible,.jp-order-confirmation-tool select:focus-visible,.jp-order-confirmation-tool textarea:focus-visible{outline:3px solid rgba(237,28,36,.24);outline-offset:2px}
.jp-order-confirmation-loading,.jp-order-confirmation-error{display:grid;justify-items:center;gap:7px;padding:58px 24px;text-align:center}
.jp-order-confirmation-loading strong,.jp-order-confirmation-error strong{font:600 16px Poppins}
.jp-order-confirmation-loading span,.jp-order-confirmation-error p{max-width:620px;margin:0;color:var(--muted);font-size:12px;line-height:1.55}
.jp-order-confirmation-error .jp-secondary{margin-top:8px}
.jp-order-confirmation-draft{padding:20px 22px}
.jp-order-confirmation-intro{margin-bottom:17px;border:1px solid #d7e6dd;border-radius:6px;background:#eef7f2;padding:13px 15px;color:#305f48}
.jp-order-confirmation-intro strong{font:600 12px Poppins}
.jp-order-confirmation-intro p{margin:4px 0 0;font-size:11px;line-height:1.55}
.jp-order-confirmation-draft-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.jp-order-confirmation-draft-grid>section{min-width:0;border:1px solid var(--line);border-radius:6px;padding:16px}
.jp-order-confirmation-draft h3{margin:0 0 12px;font:600 14px Poppins}
.jp-order-confirmation-draft-grid>section>small{display:block;margin-top:11px;color:var(--muted);font-size:10px;line-height:1.5}
.jp-order-confirmation-party-check{display:grid;gap:0;margin:0}
.jp-order-confirmation-party-check>div{display:grid;grid-template-columns:100px minmax(0,1fr);gap:10px;border-top:1px solid #eceeec;padding:8px 0}
.jp-order-confirmation-party-check>div:first-child{border-top:0}
.jp-order-confirmation-party-check dt{color:var(--muted);font:600 9px Poppins;text-transform:uppercase}
.jp-order-confirmation-party-check dd{min-width:0;margin:0;font-size:11px;line-height:1.45;overflow-wrap:anywhere}
.jp-order-confirmation-order-check{overflow:hidden;margin-top:16px;border:1px solid var(--line);border-radius:6px}
.jp-order-confirmation-order-check>header{position:static;align-items:center;border:0;border-bottom:1px solid var(--line);background:#f6f7f6;padding:13px 15px}
.jp-order-confirmation-order-check>header>div{display:grid;gap:3px;min-width:0}
.jp-order-confirmation-order-check>header>div>span{color:var(--red);font:700 9px Poppins;letter-spacing:.1em}
.jp-order-confirmation-order-check>header>div>strong{font:600 12px/1.45 Poppins;overflow-wrap:anywhere}
.jp-order-confirmation-order-check>dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0;padding:13px 15px}
.jp-order-confirmation-order-check>dl>div{display:grid;gap:3px;min-width:0}
.jp-order-confirmation-order-check dt{color:var(--muted);font:600 9px Poppins;text-transform:uppercase}
.jp-order-confirmation-order-check dd{margin:0;font-size:11px;overflow-wrap:anywhere}
.jp-order-confirmation-accessory-check{border-top:1px solid #eceeec;padding:13px 15px}
.jp-order-confirmation-accessory-check>strong{font:600 10px Poppins}
.jp-order-confirmation-accessory-check ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;margin:9px 0 0;padding:0;list-style:none}
.jp-order-confirmation-accessory-check li{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #eceeec;padding:8px 0;font-size:10.5px}
.jp-order-confirmation-accessory-check li:nth-child(-n+2){border-top:0}
.jp-order-confirmation-accessory-check li span{min-width:0;overflow-wrap:anywhere}
.jp-order-confirmation-accessory-check li b{white-space:nowrap;font:600 10px Poppins}
.jp-order-confirmation-accessory-check>p{margin:8px 0 0;color:var(--muted);font-size:10px}
.jp-order-confirmation-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-top:16px}
.jp-order-confirmation-fields label{min-width:0}
.jp-order-confirmation-fields label.wide{grid-column:1/-1}
.jp-order-confirmation-fields input,.jp-order-confirmation-fields select,.jp-order-confirmation-fields textarea{min-height:44px;font-size:14px}
.jp-order-confirmation-fields textarea{min-height:92px;line-height:1.5}
.jp-order-confirmation-fields label>small{color:var(--muted);font-size:10px;line-height:1.45}
.jp-order-confirmation-draft>footer{align-items:center;flex-wrap:wrap}

.jp-order-confirmation-revision-warning{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #e2bc76;background:#fff5df;padding:12px 18px;color:#765100}
.jp-order-confirmation-revision-warning strong{font:600 11px Poppins}
.jp-order-confirmation-revision-warning span{font-size:10px;line-height:1.45;text-align:right}
.jp-order-confirmation-issued-actions{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);background:#f3f8f5;padding:13px 18px}
.jp-order-confirmation-issued-actions>div{display:flex;align-items:center;gap:8px}
.jp-order-confirmation-issued-actions>div:first-child{display:grid;gap:2px}
.jp-order-confirmation-issued-actions strong{font:600 12px Poppins;color:#285b43}
.jp-order-confirmation-issued-actions span{color:#617067;font-size:10px}
.jp-order-confirmation-issued-actions button{min-height:44px}
.jp-order-confirmation-void{border-color:#d9a8ac;color:#8c2630;background:#fff}
.jp-order-confirmation-void:hover{border-color:#b1444d;background:#fff4f4}
.jp-order-confirmation-paper-wrap{overflow:auto;background:#e8eae8;padding:22px}

.jp-order-confirmation-print{width:min(760px,100%);min-height:980px;margin:0 auto;background:#fff;padding:42px 46px;color:#222;box-shadow:0 10px 32px rgba(25,30,25,.13);font-size:10.5px;line-height:1.45;overflow-wrap:anywhere}
.jp-order-confirmation-document-head{position:static;display:flex;align-items:flex-start;justify-content:space-between;gap:30px;border:0;border-bottom:3px solid var(--red);background:#fff;padding:0 0 20px}
.jp-order-confirmation-document-head img{display:block;width:116px;max-height:50px;object-fit:contain;object-position:left top}
.jp-order-confirmation-document-head>div{display:grid;justify-items:end;gap:3px;text-align:right}
.jp-order-confirmation-document-head>div>span{color:#222;font:700 22px Poppins;letter-spacing:.04em}
.jp-order-confirmation-document-head>div>strong{font:600 11px Poppins}
.jp-order-confirmation-document-head>div>small{color:#666;font-size:9px}
.jp-order-confirmation-parties{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:20px}
.jp-order-confirmation-parties h3,.jp-order-confirmation-print h2{margin:0 0 7px;color:#777;font:600 8px Poppins;letter-spacing:.08em;text-transform:uppercase}
.jp-order-confirmation-parties>div>strong{font:600 10.5px Poppins}
.jp-order-confirmation-parties p{margin:4px 0 0;color:#515551;font-size:8.5px}
.jp-order-confirmation-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:19px 0;border-radius:4px;background:#f4f5f4;padding:12px}
.jp-order-confirmation-facts>div{display:grid;gap:3px;min-width:0}
.jp-order-confirmation-facts span{color:#747874;font:600 7.5px Poppins;text-transform:uppercase}
.jp-order-confirmation-facts strong{font:600 9px Poppins}
.jp-order-confirmation-accessories{margin:20px 0}
.jp-order-confirmation-accessories ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 22px;margin:0;padding:0;list-style:none}
.jp-order-confirmation-accessories li{display:flex;justify-content:space-between;gap:10px;border-top:1px solid #e2e4e2;padding:7px 0;font-size:8.5px}
.jp-order-confirmation-accessories li:nth-child(-n+2){border-top:0}
.jp-order-confirmation-accessories li b{white-space:nowrap;font:600 8px Poppins}
.jp-order-confirmation-accessories>p{margin:0;color:#777;font-size:8.5px}
.jp-order-confirmation-lines{width:100%;border-collapse:collapse}
.jp-order-confirmation-lines caption{padding:0 0 6px;color:#777;text-align:left;font:600 8px Poppins;letter-spacing:.08em;text-transform:uppercase}
.jp-order-confirmation-lines th{border-bottom:2px solid #333;padding:8px 7px;color:#555;text-align:right;font:600 7.5px Poppins;text-transform:uppercase}
.jp-order-confirmation-lines th:first-child{text-align:left}
.jp-order-confirmation-lines td{border-bottom:1px solid #e2e4e2;padding:10px 7px;text-align:right;vertical-align:top}
.jp-order-confirmation-lines td:first-child{text-align:left}
.jp-order-confirmation-lines td strong{display:block;font:600 9.5px Poppins}
.jp-order-confirmation-lines td small{display:block;margin-top:2px;color:#777;font-size:7.5px}
.jp-order-confirmation-bottom{display:grid;grid-template-columns:minmax(0,1fr) 275px;gap:34px;margin-top:24px}
.jp-order-confirmation-delivery dl,.jp-order-confirmation-terms dl{display:grid;gap:5px;margin:0}
.jp-order-confirmation-delivery dl>div,.jp-order-confirmation-terms dl>div{display:grid;grid-template-columns:115px minmax(0,1fr);gap:8px}
.jp-order-confirmation-delivery dt,.jp-order-confirmation-terms dt{color:#777;font-size:8px}
.jp-order-confirmation-delivery dd,.jp-order-confirmation-terms dd{margin:0;font-size:8.5px;white-space:pre-wrap}
.jp-order-confirmation-summary{display:grid;gap:7px}
.jp-order-confirmation-summary>div{display:flex;align-items:center;justify-content:space-between;gap:20px}
.jp-order-confirmation-summary span{color:#626762;font-size:8.5px}
.jp-order-confirmation-summary strong{font:600 9.5px Poppins}
.jp-order-confirmation-summary .total{border-top:2px solid #333;padding-top:8px}
.jp-order-confirmation-summary .total span{color:#222;font-weight:600}
.jp-order-confirmation-summary .total strong{font-size:14px}
.jp-order-confirmation-terms{margin-top:24px;border-top:1px solid #dfe2df;padding-top:14px}
.jp-order-confirmation-document-footer{position:static;display:grid;justify-items:start;gap:3px;margin:34px 0 0;border:0;border-top:1px solid #dfe2df;background:#fff;padding:12px 0 0}
.jp-order-confirmation-document-footer span{font:600 9px Poppins}
.jp-order-confirmation-document-footer small{color:#777;font-size:7.5px}

@media(max-width:760px){
  .jp-order-confirmation-draft-grid,.jp-order-confirmation-fields,.jp-order-confirmation-parties,.jp-order-confirmation-bottom{grid-template-columns:1fr}
  .jp-order-confirmation-fields label.wide{grid-column:auto}
  .jp-order-confirmation-order-check>dl{grid-template-columns:repeat(2,minmax(0,1fr))}
  .jp-order-confirmation-accessory-check ul,.jp-order-confirmation-accessories ul{grid-template-columns:1fr}
  .jp-order-confirmation-accessory-check li:nth-child(2),.jp-order-confirmation-accessories li:nth-child(2){border-top:1px solid #eceeec}
  .jp-order-confirmation-revision-warning,.jp-order-confirmation-issued-actions{display:grid;align-items:start}
  .jp-order-confirmation-revision-warning span{text-align:left}
  .jp-order-confirmation-issued-actions>div:last-child{display:grid;grid-template-columns:1fr;width:100%}
  .jp-order-confirmation-issued-actions button{width:100%}
  .jp-order-confirmation-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .jp-order-confirmation-paper-wrap{padding:10px}
  .jp-order-confirmation-print{padding:28px 24px}
}

@media(max-width:640px){
  .jp-order-confirmation-backdrop{padding:0}
  .jp-order-confirmation-tool{width:100%;max-height:100dvh;border-radius:0}
  .jp-order-confirmation-tool>header{padding:15px 16px}
  .jp-order-confirmation-draft{padding:16px}
  .jp-order-confirmation-draft>footer{margin-right:-16px;margin-left:-16px;padding-right:16px;padding-left:16px}
  .jp-order-confirmation-draft>footer button{width:100%}
  .jp-order-confirmation-fields input,.jp-order-confirmation-fields select,.jp-order-confirmation-fields textarea{font-size:16px}
  .jp-order-confirmation-party-check>div{grid-template-columns:86px minmax(0,1fr)}
  .jp-order-confirmation-order-check>header{align-items:flex-start}
  .jp-order-confirmation-order-check>header>.jp-price-pair{margin-left:auto}
}

@media screen and (max-width:640px){
  .jp-order-confirmation-print{font-size:12px;line-height:1.55}
  .jp-order-confirmation-document-head{display:grid;grid-template-columns:90px minmax(0,1fr);gap:16px}
  .jp-order-confirmation-document-head img{width:90px}
  .jp-order-confirmation-document-head>div>span{font-size:18px;letter-spacing:.02em;overflow-wrap:normal;word-break:normal}
  .jp-order-confirmation-document-head>div>strong{font-size:10px}
  .jp-order-confirmation-parties h3,.jp-order-confirmation-print h2,.jp-order-confirmation-lines caption{font-size:9px}
  .jp-order-confirmation-parties>div>strong,.jp-order-confirmation-facts strong{font-size:11px}
  .jp-order-confirmation-parties p,.jp-order-confirmation-accessories li,.jp-order-confirmation-delivery dd,.jp-order-confirmation-terms dd{font-size:10.5px}
  .jp-order-confirmation-facts span,.jp-order-confirmation-delivery dt,.jp-order-confirmation-terms dt{font-size:9px}
  .jp-order-confirmation-accessories li b{font-size:10px}
  .jp-order-confirmation-lines thead{display:none}
  .jp-order-confirmation-lines,.jp-order-confirmation-lines tbody,.jp-order-confirmation-lines tr,.jp-order-confirmation-lines td{display:block;width:100%}
  .jp-order-confirmation-lines caption{display:block;width:100%;padding:0 0 8px;text-align:left}
  .jp-order-confirmation-lines tr{border-top:2px solid #333;border-bottom:1px solid #dfe2df;padding:7px 0}
  .jp-order-confirmation-lines td{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;border:0;padding:5px 7px;text-align:right;font-size:11px}
  .jp-order-confirmation-lines td:first-child{display:block;padding-bottom:9px;text-align:left}
  .jp-order-confirmation-lines td strong{font-size:11.5px}
  .jp-order-confirmation-lines td small{font-size:9px}
  .jp-order-confirmation-lines td:not(:first-child)::before{color:#717671;text-align:left;font:600 8.5px Poppins;text-transform:uppercase}
  .jp-order-confirmation-lines td:nth-child(2)::before{content:"Määrä"}
  .jp-order-confirmation-lines td:nth-child(3)::before{content:"Veroton"}
  .jp-order-confirmation-lines td:nth-child(4)::before{content:"ALV"}
  .jp-order-confirmation-lines td:nth-child(5)::before{content:"Yhteensä"}
  .jp-order-confirmation-summary span,.jp-order-confirmation-summary strong{font-size:10.5px}
  .jp-order-confirmation-summary .total strong{font-size:17px}
  .jp-order-confirmation-document-footer span{font-size:10px}
  .jp-order-confirmation-document-footer small{font-size:9px}
}

@media print{
  @page{size:A4;margin:12mm}
  body.jp-print-order-confirmation{background:#fff!important}
  body.jp-print-order-confirmation *{visibility:hidden!important}
  body.jp-print-order-confirmation .jp-shell{display:block!important;background:#fff!important}
  body.jp-print-order-confirmation .jp-shell>aside,body.jp-print-order-confirmation .jp-shell>main,body.jp-print-order-confirmation .jp-order-confirmation-tool>header,body.jp-print-order-confirmation .jp-order-confirmation-issued-actions,body.jp-print-order-confirmation .jp-order-confirmation-revision-warning{display:none!important}
  body.jp-print-order-confirmation .jp-order-confirmation-backdrop{position:static!important;display:block!important;padding:0!important;background:#fff!important}
  body.jp-print-order-confirmation .jp-order-confirmation-tool{display:block!important;width:100%!important;max-height:none!important;overflow:visible!important;border-radius:0!important;box-shadow:none!important}
  body.jp-print-order-confirmation .jp-order-confirmation-paper-wrap{display:block!important;overflow:visible!important;padding:0!important;background:#fff!important}
  body.jp-print-order-confirmation .jp-order-confirmation-print,body.jp-print-order-confirmation .jp-order-confirmation-print *{visibility:visible!important}
  body.jp-print-order-confirmation .jp-order-confirmation-print{display:block!important;width:100%!important;min-height:0!important;margin:0!important;padding:0!important;box-shadow:none!important}
  body.jp-print-order-confirmation .jp-order-confirmation-parties{grid-template-columns:repeat(3,minmax(0,1fr))}
  body.jp-print-order-confirmation .jp-order-confirmation-facts{grid-template-columns:repeat(3,minmax(0,1fr))}
  body.jp-print-order-confirmation .jp-order-confirmation-accessories ul{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.jp-print-order-confirmation .jp-order-confirmation-bottom{grid-template-columns:minmax(0,1fr) 275px}
  body.jp-print-order-confirmation .jp-order-confirmation-document-head,body.jp-print-order-confirmation .jp-order-confirmation-facts{print-color-adjust:exact;-webkit-print-color-adjust:exact}
  body.jp-print-order-confirmation .jp-order-confirmation-lines thead{display:table-header-group}
  body.jp-print-order-confirmation .jp-order-confirmation-lines tr,body.jp-print-order-confirmation .jp-order-confirmation-parties>div,body.jp-print-order-confirmation .jp-order-confirmation-accessories li{break-inside:avoid;page-break-inside:avoid}
  body.jp-print-order-confirmation .jp-order-confirmation-bottom,body.jp-print-order-confirmation .jp-order-confirmation-terms,body.jp-print-order-confirmation .jp-order-confirmation-document-footer{break-inside:avoid;page-break-inside:avoid}
}

/* Keep the two-party CRM quote layout more specific than the shared
   three-party order-confirmation document rules declared later. */
.jp-order-confirmation-tool.jp-crm-quote-tool{width:min(1180px,100%)}
.jp-order-confirmation-parties.jp-quote-parties{grid-template-columns:repeat(2,minmax(0,1fr))}

@media(max-width:760px){
  .jp-order-confirmation-parties.jp-quote-parties{grid-template-columns:1fr}
}

@media(max-width:640px){
  .jp-order-confirmation-tool.jp-crm-quote-tool{width:100%}
}

@media print{
  body.jp-print-crm-quote .jp-order-confirmation-parties.jp-quote-parties{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Yhteinen saavutettava dialogi-, luettavuus- ja mobiilipohja. */
@media screen{
  .jp-ui-toast-region{position:fixed;right:18px;bottom:18px;z-index:1400;display:grid;width:min(420px,calc(100vw - 32px));gap:9px;pointer-events:none}
  .jp-ui-toast{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:center;overflow:hidden;border:1px solid #ccd2cc;border-left:4px solid var(--green);border-radius:6px;background:#fff;color:#252525;box-shadow:0 12px 34px rgba(15,20,15,.2);font-size:14px;line-height:1.5;pointer-events:auto}
  .jp-ui-toast.is-error{border-left-color:var(--red)}
  .jp-ui-toast>span{padding:13px 14px;overflow-wrap:anywhere}
  .jp-ui-toast>button{align-self:stretch;width:44px;min-width:44px;min-height:44px;border:0;border-left:1px solid #e1e4e1;background:#f6f7f6;color:#4d524d;font-size:21px;cursor:pointer}
  .jp-ui-decision-backdrop{z-index:1500}
  .jp-ui-decision{width:min(520px,100%);overflow:hidden;border-radius:7px;background:#fff;box-shadow:0 30px 80px rgba(0,0,0,.34);font-size:14px;line-height:1.55}
  .jp-ui-decision>header{border-bottom:1px solid var(--line);padding:19px 22px}
  .jp-ui-decision h2{margin:0;font:600 19px/1.35 Poppins;color:#252525}
  .jp-ui-decision>p{margin:0;padding:19px 22px 0;white-space:pre-wrap;overflow-wrap:anywhere}
  .jp-ui-decision>label{display:grid;gap:7px;padding:17px 22px 0}
  .jp-ui-decision>label>span{font:600 12px/1.4 Poppins;color:#555b55}
  .jp-ui-decision textarea{width:100%;min-height:112px;border:1px solid #cfd4cf;border-radius:4px;padding:11px 12px;font-size:14px;line-height:1.5;resize:vertical}
  .jp-ui-decision label small{min-height:18px;color:#a41c26;font-size:12px}
  .jp-ui-decision>footer{display:flex;justify-content:flex-end;gap:9px;margin-top:20px;border-top:1px solid var(--line);padding:15px 22px}
  .jp-ui-decision>footer .jp-danger{margin-right:0}
  .jp-ui-decision button{min-height:44px;font-size:14px}

  .jp-modal:not(.jp-order-confirmation-tool)>header{align-items:center}
  .jp-modal:not(.jp-order-confirmation-tool)>header h2{font-size:19px;line-height:1.35}
  .jp-modal:not(.jp-order-confirmation-tool)>header span{font-size:12px;line-height:1.4}
  .jp-modal:not(.jp-order-confirmation-tool)>header>button{width:44px;height:44px;min-width:44px;min-height:44px;margin:-7px -8px -7px 12px}
  .jp-modal:not(.jp-order-confirmation-tool) label>span,
  .jp-modal:not(.jp-order-confirmation-tool) label>small,
  .jp-modal:not(.jp-order-confirmation-tool) .jp-field-net-price{font-size:12px;line-height:1.45}
  .jp-modal:not(.jp-order-confirmation-tool) :is(input,select,textarea){min-height:44px;font-size:14px;line-height:1.45}
  .jp-modal:not(.jp-order-confirmation-tool) textarea{min-height:104px}
  .jp-modal:not(.jp-order-confirmation-tool) :is(button,.jp-primary,.jp-secondary,.jp-small,.jp-danger){min-height:44px;font-size:14px}

  .juhta-portal-app :is(button,a,input,select,textarea,[tabindex]):focus-visible{outline:3px solid rgba(237,28,36,.3);outline-offset:2px}
  .jp-content :is(.jp-primary,.jp-secondary,.jp-small,.jp-danger){min-height:44px;font-size:14px}
  .jp-content .jp-panel-head h2{font-size:18px;line-height:1.35}
  .jp-content :is(.jp-heading p,.jp-view-note){font-size:14px;line-height:1.55}
  .jp-content .jp-empty{font-size:14px;line-height:1.5}
  .jp-content .status{font-size:12px;line-height:1.35}
  .jp-content .jp-list button{min-height:58px}
  .jp-content .jp-list strong{font-size:14px;line-height:1.4}
  .jp-content .jp-list :is(small,em){font-size:12px;line-height:1.45}
  .jp-content .jp-filters span{font-size:12px;line-height:1.4}
  .jp-content .jp-filters :is(input,select){min-height:44px;font-size:14px}
  .jp-content .jp-tabs button{min-height:44px;font-size:14px}
  .jp-content .jp-product-grid :is(h2,h3){font-size:16px;line-height:1.4}
  .jp-content .jp-product-grid :is(small,p){font-size:12px;line-height:1.45}
  .jp-table table{font-size:14px;line-height:1.45}
  .jp-table th{font-size:12px;line-height:1.35}
  .jp-table td strong,.jp-link strong{font-size:14px;line-height:1.4;overflow-wrap:anywhere}
  .jp-table td small,.jp-link small{font-size:12px;line-height:1.45;white-space:normal;overflow-wrap:anywhere}
  .jp-table .jp-link{min-height:44px;font-size:14px}
  .jp-table .jp-row-actions :is(button,a),.jp-table td>.jp-small{min-height:44px;font-size:14px}
}

@media screen and (max-width:700px){
  .jp-backdrop{align-items:end;padding:0}
  .jp-modal:not(.jp-order-confirmation-tool){width:100%;max-height:94dvh;border-radius:10px 10px 0 0}
  .jp-modal:not(.jp-order-confirmation-tool) form{padding:17px 15px}
  .jp-modal:not(.jp-order-confirmation-tool) footer{margin-right:-15px;margin-left:-15px;padding-right:15px;padding-left:15px;flex-wrap:wrap}
  .jp-modal:not(.jp-order-confirmation-tool) footer :is(.jp-primary,.jp-secondary){flex:1 1 145px}
  .jp-modal:not(.jp-order-confirmation-tool) :is(input,select,textarea),.jp-ui-decision textarea{font-size:16px}
  .jp-ui-decision-backdrop{align-items:center;padding:16px}
  .jp-ui-decision>footer{display:grid;grid-template-columns:1fr}
  .jp-ui-decision>footer button{width:100%}
  .jp-ui-toast-region{right:16px;bottom:16px}

  .jp-table{overflow:visible}
  .jp-table table,.jp-table tbody,.jp-table tr,.jp-table td{display:block;width:100%}
  .jp-table table{border-collapse:separate}
  .jp-table thead{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important}
  .jp-table tbody{display:grid;gap:12px}
  .jp-table tr{overflow:hidden;border:1px solid #dfe3df;border-radius:7px;background:#fff;box-shadow:0 1px 3px rgba(25,30,25,.04)}
  .jp-table td{display:grid;grid-template-columns:minmax(108px,.42fr) minmax(0,1fr);align-items:start;gap:12px;min-width:0;border-bottom:1px solid #eceeec;padding:11px 13px;background:#fff!important;overflow-wrap:anywhere}
  .jp-table td::before{content:attr(data-label);color:#697069;font:600 12px/1.4 Poppins;text-transform:none}
  .jp-table td[data-label=""]::before{display:none}
  .jp-table td[data-label=""]{grid-template-columns:1fr}
  .jp-table tr:last-child td:not(:last-child),.jp-table tr td:not(:last-child){border-bottom:1px solid #eceeec}
  .jp-table tr td:last-child{border-bottom:0}
  .jp-table td>*{min-width:0;max-width:100%}
  .jp-table .jp-row-actions{display:grid;grid-template-columns:1fr;gap:8px;width:100%}
  .jp-table .jp-row-actions :is(button,a),.jp-table td>.jp-small{width:100%}
  .jp-table .jp-price-pair{justify-items:start;white-space:normal}
  .jp-panel-head+.jp-table{margin-right:0;margin-left:0}
}

@media (prefers-reduced-motion:reduce){
  .jp-sidebar,.jp-sidebar nav button{transition:none!important}
}

/* Asiakas- ja asiakirjakeskuksen turvallinen koontinäkymä. */
.jp-readonly-notice{display:flex;align-items:flex-start;gap:18px;margin:0 0 20px;border:1px solid #cfded4;border-left:4px solid var(--green);border-radius:6px;background:#f3f8f5;padding:15px 17px;color:#334238;font-size:14px;line-height:1.5}
.jp-readonly-notice strong{flex:0 0 auto;font:600 14px/1.5 Poppins}
.jp-readonly-notice span{min-width:0}
.jp-customer-toolbar{display:grid;grid-template-columns:minmax(260px,2fr) minmax(200px,1fr);gap:14px;margin:0 0 20px;border:1px solid var(--line);border-radius:6px;background:#fff;padding:15px}
.jp-customer-toolbar label{display:grid;gap:6px;min-width:0}
.jp-customer-toolbar label>span{color:#5d655f;font:600 12px/1.4 Poppins}
.jp-customer-toolbar :is(input,select){width:100%;min-height:46px;border:1px solid #cfd4cf;border-radius:4px;background:#fff;padding:10px 12px;color:#252525;font-size:15px}
.jp-customer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.jp-customer-card{min-width:0;overflow:hidden;border:1px solid #daddda;border-radius:7px;background:#fff;box-shadow:0 2px 5px rgba(25,30,25,.04)}
.jp-customer-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;border-bottom:1px solid #e5e8e5;background:#f7f8f7;padding:16px 17px}
.jp-customer-card>header>div{display:grid;gap:3px;min-width:0}
.jp-customer-card>header span{color:var(--red);font:700 11px/1.4 Poppins;letter-spacing:.08em}
.jp-customer-card>header h2{margin:0;font:600 18px/1.35 Poppins;overflow-wrap:anywhere}
.jp-customer-card>header small{color:var(--muted);font-size:13px;line-height:1.4}
.jp-customer-card>header>b{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border-radius:50%;background:#292929;color:#fff;font:600 14px Poppins}
.jp-customer-tags{display:flex;flex-wrap:wrap;gap:6px;padding:13px 17px 0}
.jp-customer-tags span{border-radius:999px;background:#eef1ee;padding:5px 9px;color:#4d554f;font:600 11px/1.3 Poppins}
.jp-customer-card>dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 18px;margin:0;padding:14px 17px}
.jp-customer-card>dl>div{display:grid;gap:3px;min-width:0}
.jp-customer-card dt{color:#697069;font:600 11px/1.35 Poppins}
.jp-customer-card dd{margin:0;font-size:14px;line-height:1.45;overflow-wrap:anywhere}
.jp-customer-conflict{display:grid;gap:4px;margin:0 17px 14px;border:1px solid #e5c278;border-radius:5px;background:#fff8e9;padding:10px 12px;color:#674b13;font-size:12px;line-height:1.45}
.jp-customer-conflict strong{font:600 12px/1.4 Poppins}
.jp-customer-conflict span{overflow-wrap:anywhere}
.jp-customer-history{display:grid;border-top:1px solid #e5e8e5}
.jp-customer-history-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;width:100%;min-height:62px;border:0;border-bottom:1px solid #eceeec;background:#fff;padding:10px 17px;color:inherit;text-align:left;cursor:pointer}
.jp-customer-history-row:last-of-type{border-bottom:0}
.jp-customer-history-row:hover{background:#f7f8f7}
.jp-customer-history-row>span{display:grid;gap:2px;min-width:0}
.jp-customer-history-row strong{font:600 13px/1.4 Poppins;overflow-wrap:anywhere}
.jp-customer-history-row small{color:var(--muted);font-size:12px;line-height:1.4}
.jp-customer-history-row>b{white-space:nowrap;color:var(--red);font:600 12px/1.4 Poppins}
.jp-customer-history>small{border-top:1px solid #eceeec;padding:10px 17px;color:var(--muted);font-size:12px}
.jp-load-more{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:18px}
.jp-load-more small{color:var(--muted);font-size:13px}
.jp-receipt-seller-summary>dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 18px;margin:0 0 10px}
.jp-receipt-seller-summary>dl>div{display:grid;gap:3px;min-width:0}
.jp-receipt-seller-summary>dl>div.wide{grid-column:1/-1}
.jp-receipt-seller-summary dt{color:#697069;font:600 11px/1.35 Poppins}
.jp-receipt-seller-summary dd{margin:0;font-size:14px;line-height:1.45;overflow-wrap:anywhere}
.jp-receipt-seller-summary>small{display:block;color:var(--muted);font-size:12px;line-height:1.5}
.jp-receipt-seller-summary>.jp-small{margin-top:12px}

@media screen and (max-width:900px){
  .jp-customer-grid{grid-template-columns:1fr}
}

@media screen and (max-width:700px){
  .jp-readonly-notice{display:grid;gap:5px}
  .jp-customer-toolbar{grid-template-columns:1fr;padding:13px}
  .jp-customer-toolbar :is(input,select){font-size:16px}
  .jp-customer-card>dl,.jp-receipt-seller-summary>dl{grid-template-columns:1fr}
  .jp-receipt-seller-summary>dl>div.wide{grid-column:auto}
  .jp-customer-history-row{grid-template-columns:minmax(0,1fr) auto}
  .jp-customer-history-row>.status{grid-column:1/2;justify-self:start}
  .jp-customer-history-row>b{grid-column:2;grid-row:1/3}
}

/* 3.32.1 manufacturer shipping-label shortcut */
.jp-shipping-label-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:max-content;max-width:100%;white-space:normal;text-align:center;text-decoration:none}
@media screen and (max-width:700px){.jp-shipping-label-link{width:100%;min-height:44px}}

/* Mixed sales, trade-ins and used-trailer inventory */
.jp-commerce-callout{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:20px;border-radius:8px;background:#292929;padding:22px 24px;color:#fff}
.jp-commerce-callout>div{display:grid;gap:4px;min-width:0}
.jp-commerce-callout-actions{display:flex!important;grid-template-columns:none;gap:9px!important;flex:0 0 auto;align-items:center}
.jp-commerce-callout-actions .jp-secondary{border-color:#777;background:transparent;color:#fff}
.jp-commerce-callout span,.jp-commerce-intro>div>span,.jp-commerce-section>header>span,.jp-commerce-section-actions>div>span,.jp-commerce-invoice-payment>div>span{color:#ff4e55;font:700 10px Poppins;letter-spacing:.13em}
.jp-commerce-callout h2,.jp-commerce-intro h3{margin:0;font:600 18px Poppins}
.jp-commerce-callout p,.jp-commerce-intro p{max-width:820px;margin:0;color:#c8ccc8;font-size:13px;line-height:1.55}
.jp-row-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.jp-tax-badge{display:inline-flex;align-items:center;width:max-content;max-width:100%;border-radius:999px;background:#eef0ee;padding:6px 10px;color:#565b56;font:600 11px Poppins;white-space:normal}
.jp-tax-badge.is-margin{background:#fff0d9;color:#7a4e00}
.jp-commerce-sale-tool{width:96vw;max-width:100%;max-height:96vh}
.jp-commerce-editor{padding:0!important}
.jp-commerce-intro{display:flex;align-items:center;justify-content:space-between;gap:24px;background:#292929;padding:18px 22px;color:#fff}
.jp-commerce-error{margin:16px 22px 0;border:1px solid #e4aeb2;border-radius:6px;background:#fff2f3;padding:12px 14px;color:#98212a;font-size:13px;line-height:1.45}
.jp-commerce-editor-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);min-width:0}
.jp-commerce-main,.jp-commerce-side{display:grid;align-content:start;gap:16px;min-width:0;padding:20px 22px}
.jp-commerce-side{border-left:1px solid var(--line);background:#f7f8f7}
.jp-commerce-section{container-type:inline-size}
.jp-commerce-section{overflow:hidden;border:1px solid var(--line);border-radius:7px;background:#fff}
.jp-commerce-section>header{position:static;display:block;border:0;border-bottom:1px solid var(--line);background:#f7f8f7;padding:14px 16px}
.jp-commerce-section>header h3,.jp-commerce-section-actions h3{margin:4px 0 0;font:600 15px Poppins}
.jp-commerce-section-actions{display:flex!important;align-items:center;justify-content:space-between;gap:16px}
.jp-commerce-section-actions>div:last-child{display:flex;gap:7px;flex-wrap:wrap}
.jp-commerce-section-actions>div:last-child>button{display:inline-flex;align-items:center;justify-content:center;width:auto!important;height:auto!important;min-width:44px;min-height:44px;border:1px solid #d5d8d5;border-radius:4px;background:#fff;padding:10px 14px;color:var(--ink);font:600 12px Poppins;line-height:1.25;white-space:normal;cursor:pointer}
@container (max-width:560px){
  .jp-commerce-section-actions{display:grid!important;min-width:0}
  .jp-commerce-section-actions>div{min-width:0}
  .jp-commerce-section-actions>div:last-child{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;min-width:0}
  .jp-commerce-section-actions>div:last-child>button{width:100%!important;min-width:0}
}
@container (max-width:360px){
  .jp-commerce-section-actions>div:last-child{display:grid;grid-template-columns:1fr;width:100%}
  .jp-commerce-section-actions>div:last-child>button{width:100%!important}
}
.jp-commerce-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;padding:16px}
.jp-commerce-fields.one{grid-template-columns:1fr}
.jp-commerce-fields label{display:grid;align-content:start;gap:5px;min-width:0}
.jp-commerce-fields label.wide{grid-column:1/-1}
.jp-commerce-fields label>span,.jp-commerce-line label>span,.jp-commerce-invoice-payment label>span{color:#626762;font:600 11px Poppins}
.jp-commerce-fields :is(input,select,textarea),.jp-commerce-line :is(input,select),.jp-commerce-invoice-payment :is(input,select){width:100%;min-width:0;border:1px solid #d9dcd9;border-radius:4px;background:#fff;padding:11px;font-size:14px;box-shadow:none}
.jp-commerce-fields textarea{min-height:92px;resize:vertical}
.jp-commerce-fields label>small{color:var(--muted);font-size:11px;line-height:1.4}
.jp-commerce-source-type{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0;border:0;padding:16px 16px 0}
.jp-commerce-source-type legend{grid-column:1/-1;color:#626762;font:600 11px Poppins}
.jp-commerce-source-type>label{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;border:1px solid #d9ddda;border-radius:6px;padding:13px;cursor:pointer}
.jp-commerce-source-type>label:has(input:checked){border-color:#48916b;background:#eef8f2;box-shadow:0 0 0 2px rgba(35,134,94,.08)}
.jp-commerce-source-type input,.jp-commerce-trade-toggle input,.jp-commerce-declarations input{width:18px;height:18px;accent-color:var(--green)}
.jp-commerce-source-type span{display:grid;gap:2px}
.jp-commerce-source-type strong{font:600 13px Poppins}
.jp-commerce-source-type small{color:var(--muted);font-size:11px}
.jp-commerce-fulfillment{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 18px 0;border:1px solid var(--line);border-radius:7px;background:#f7f8f7;padding:15px}
.jp-commerce-fulfillment legend{grid-column:1/-1;padding:0 4px;color:#2f332f;font:600 13px Poppins}
.jp-commerce-fulfillment>label{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:11px;min-height:64px;border:1px solid #d9ddda;border-radius:6px;background:#fff;padding:12px 14px;cursor:pointer}
.jp-commerce-fulfillment>label:has(input:checked){border-color:#48916b;background:#eef8f2;box-shadow:0 0 0 2px rgba(35,134,94,.08)}
.jp-commerce-fulfillment>label:focus-within{outline:3px solid rgba(35,134,94,.24);outline-offset:2px}
.jp-commerce-fulfillment input{width:19px;height:19px;accent-color:var(--green)}
.jp-commerce-fulfillment span{display:grid;gap:3px}
.jp-commerce-fulfillment strong{font:600 13px Poppins}
.jp-commerce-fulfillment small{color:var(--muted);font-size:10.5px;line-height:1.4}
[data-commerce-order-form] [data-commerce-order-fields]{margin:0}
.jp-order-product:focus-within,.jp-order-accessory:focus-within{outline:3px solid rgba(35,134,94,.24);outline-offset:2px}
.jp-commerce-stock-directory{display:grid;gap:10px;margin:0;border:0;padding:16px}
.jp-commerce-stock-directory>legend{padding:0;color:#626762;font:600 11px Poppins}
.jp-commerce-stock-search{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px}
.jp-commerce-stock-search label{display:grid;gap:5px;min-width:0}
.jp-commerce-stock-search label>span{color:#626762;font:600 11px Poppins}
.jp-commerce-stock-search input{width:100%;min-height:44px;border:1px solid #d9dcd9;border-radius:4px;background:#fff;padding:11px;font-size:14px;box-shadow:none}
.jp-commerce-stock-search>small{padding-bottom:12px;color:var(--muted);font-size:11px;white-space:nowrap}
.jp-commerce-stock-directory .jp-stock-sale-options{max-height:390px}
.jp-commerce-stock-directory .jp-stock-sale-option{grid-template-columns:18px 72px minmax(0,1fr) auto;min-height:92px}
.jp-commerce-stock-directory .jp-stock-sale-option[hidden]{display:none!important}
.jp-commerce-stock-directory .jp-stock-sale-option>.jp-order-product-image{grid-column:auto;grid-row:auto;width:70px;height:64px}
.jp-commerce-stock-directory .jp-stock-sale-option>em{align-self:center}
.jp-commerce-stock-directory .jp-tax-badge{font-size:9px}
.jp-commerce-source-empty{border:1px dashed #cfd3cf;border-radius:5px;background:#f8f9f8;padding:18px;color:var(--muted);font-size:12px;text-align:center}
.jp-used-trailer-image .jp-product-image-fallback{align-content:center;gap:2px;background:#303330;color:#fff}
.jp-used-trailer-image .jp-product-image-fallback>b{font:700 8px Poppins;letter-spacing:.1em}
.jp-used-trailer-image .jp-product-image-fallback>small{font:600 6px Poppins;letter-spacing:.08em;opacity:.72}
.jp-commerce-lines{display:grid}
.jp-commerce-lines>p{margin:0;padding:20px;color:var(--muted);font-size:12px;text-align:center}
.jp-commerce-line{display:grid;grid-template-columns:minmax(0,2fr) repeat(4,minmax(0,1fr)) auto auto;align-items:end;gap:10px;border-top:1px solid #eceeec;padding:13px 14px}
.jp-commerce-line:first-child{border-top:0}
.jp-commerce-line label{display:grid;gap:4px;min-width:0}
.jp-commerce-line>strong{align-self:center;min-width:max-content;font:600 13px Poppins;text-align:right}
.jp-commerce-line>button{align-self:center;width:34px;height:34px;border:0;border-radius:50%;background:#fcebed;color:#a31d27;font-size:20px;cursor:pointer}
.jp-commerce-trade{padding-bottom:0}
.jp-commerce-trade-toggle{display:grid!important;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px!important;padding:17px 16px;cursor:pointer}
.jp-commerce-trade-toggle>span{display:grid;gap:3px}
.jp-commerce-trade-toggle strong{font:600 14px Poppins}
.jp-commerce-trade-toggle small{color:var(--muted);font-size:11px;line-height:1.45}
.jp-commerce-trade-toggle:has(input:checked){background:#eef8f3}
.jp-commerce-trade-note{display:grid;gap:3px;border-block:1px solid #d4e8dc;background:#f5fbf7;padding:11px 16px;color:#285f44}
.jp-commerce-trade-note strong{font:600 12px Poppins}
.jp-commerce-trade-note span{font-size:11px;line-height:1.45}
.jp-commerce-declarations{display:grid;gap:9px;border-top:1px solid var(--line);padding:14px 16px}
.jp-commerce-declarations label{display:grid!important;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:9px!important}
.jp-commerce-declarations span{font-size:12px;line-height:1.45}
.jp-commerce-field-help{margin:0;border-top:1px solid #edf0ed;padding:0 16px 14px;color:var(--muted);font-size:11px;line-height:1.45}
.jp-used-acquisition-tax-note{display:grid;gap:4px;border-left:4px solid #d79525;border-radius:3px;background:#fff7e8;padding:11px 12px;color:#654c20}
.jp-used-acquisition-tax-note strong{font:600 11px Poppins}
.jp-used-acquisition-tax-note span{font-size:10.5px;line-height:1.5}
.jp-used-acquisition-vat-toggle{display:grid!important;grid-template-columns:20px minmax(0,1fr);align-items:start;gap:10px!important;border:1px solid #d9ddda;border-radius:6px;background:#fff;padding:12px 13px;cursor:pointer}
.jp-used-acquisition-vat-toggle:has(input:checked){border-color:#48916b;background:#eef8f2}
.jp-used-acquisition-vat-toggle input{width:18px!important;height:18px!important;margin-top:1px;padding:0!important;accent-color:var(--green)}
.jp-used-acquisition-vat-toggle>span{display:grid;gap:3px}
.jp-used-acquisition-vat-toggle strong{font:600 11px Poppins}
.jp-used-acquisition-vat-toggle small{color:var(--muted);font-size:9.5px;line-height:1.45}
.jp-used-acquisition-vat-fields{display:grid;grid-template-columns:1fr;gap:10px;border-left:4px solid var(--green);border-radius:3px;background:#eef8f3;padding:12px}
.jp-used-acquisition-invoice-confirm{display:grid!important;grid-template-columns:20px minmax(0,1fr);align-items:start;gap:10px!important;border-top:1px solid #cfe2d6;padding-top:10px}
.jp-used-acquisition-invoice-confirm input{width:18px!important;height:18px!important;margin-top:1px;padding:0!important;accent-color:var(--green)}
.jp-used-acquisition-invoice-confirm>span{display:grid;gap:3px}
.jp-used-acquisition-invoice-confirm strong{font:600 10.5px Poppins}
.jp-used-acquisition-invoice-confirm small{color:var(--muted);font-size:9.5px;line-height:1.45}
.jp-used-acquisition-vat-fields[hidden],.jp-used-acquisition-tax-note[hidden]{display:none!important}
.jp-commerce-summary{position:sticky;top:0;display:grid;gap:12px;border-radius:7px;background:#292929;padding:18px;color:#fff}
.jp-commerce-summary>span{color:#ff4e55;font:700 10px Poppins;letter-spacing:.12em}
.jp-commerce-summary dl{display:grid;gap:9px;margin:0}
.jp-commerce-summary dl>div{display:flex;align-items:center;justify-content:space-between;gap:14px}
.jp-commerce-summary dt{color:#c5c8c5;font-size:12px}
.jp-commerce-summary dd{margin:0;font:600 13px Poppins}
.jp-commerce-summary .total{border-top:1px solid #555;padding-top:11px}
.jp-commerce-summary .total dt{color:#fff;font-weight:600}
.jp-commerce-summary .total dd{color:#fff;font-size:20px}
.jp-commerce-summary p{margin:0;border-top:1px solid #4b4e4b;padding-top:10px;color:#d2d5d2;font-size:10.5px;line-height:1.5}
.jp-commerce-summary p.is-warning{border:1px solid #d6a44b;border-radius:4px;background:#49391c;padding:9px;color:#ffe8bd}
.jp-commerce-editor>footer{display:flex;justify-content:flex-end;gap:9px;border-top:1px solid var(--line);margin:0!important;background:#fff;padding:15px 22px!important;position:sticky;bottom:0;z-index:4}
.jp-commerce-detail{min-width:0}
.jp-commerce-invoice-payment{display:grid;grid-template-columns:minmax(0,1.4fr) repeat(3,minmax(0,1fr)) auto;align-items:end;gap:12px;border-bottom:1px solid #cbe2d4;background:#eef8f2;padding:15px 18px}
.jp-commerce-invoice-payment>div{display:grid;gap:2px}
.jp-commerce-invoice-payment>div>strong{font:600 13px Poppins;color:#285f44}
.jp-commerce-invoice-payment>div>small{color:#55705f;font-size:10.5px}
.jp-commerce-invoice-payment label{display:grid;gap:4px;min-width:0}
.jp-commerce-document{position:relative}
.jp-commerce-receipt-lines th:first-child{width:auto}
.jp-commerce-receipt-lines td:nth-child(n+2){white-space:nowrap}
.jp-commerce-margin-note{display:grid;gap:4px;margin-top:14px;border-left:4px solid #d79525;background:#fff7e8;padding:11px 13px}
.jp-commerce-margin-note strong{font:600 10px Poppins}
.jp-commerce-margin-note span{color:#6e6048;font-size:9px}
.jp-commerce-settlements{margin-top:18px;border:1px solid var(--line);border-radius:4px}
.jp-commerce-settlements h3,.jp-commerce-acquisition-trailer h3,.jp-commerce-declaration-copy h3{margin:0;border-bottom:1px solid var(--line);background:#f5f6f5;padding:8px 11px;color:#666;font:600 8px Poppins;letter-spacing:.08em;text-transform:uppercase}
.jp-commerce-settlements>div{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:10px 12px}
.jp-commerce-settlements>div>span{display:grid;gap:2px}
.jp-commerce-settlements strong{font:600 9.5px Poppins}
.jp-commerce-settlements small{color:#777;font-size:8px}
.jp-commerce-settlements b{font:600 10px Poppins;white-space:nowrap}
.jp-commerce-void-stamp{position:absolute;top:120px;left:50%;transform:translateX(-50%) rotate(-9deg);z-index:2;border:5px solid #b7252d;padding:8px 18px;color:#b7252d;font:700 28px Poppins;opacity:.72}
.jp-commerce-acquisition-trailer{margin-top:22px;border:1px solid var(--line)}
.jp-commerce-acquisition-trailer dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin:0}
.jp-commerce-acquisition-trailer dl>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:10px;border-bottom:1px solid #eceeec;padding:9px 11px}
.jp-commerce-acquisition-trailer dt{color:#777;font-size:8px}
.jp-commerce-acquisition-trailer dd{margin:0;font-size:9px}
.jp-commerce-acquisition-total{display:grid;justify-items:end;gap:3px;margin-top:20px;border-block:2px solid #333;padding:12px 0}
.jp-commerce-acquisition-total span{font-size:9px}
.jp-commerce-acquisition-total strong{font:600 22px Poppins}
.jp-commerce-acquisition-total small{color:#777;font-size:8px}
.jp-commerce-acquisition-vat{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin:12px 0 0;border:1px solid var(--line)}
.jp-commerce-acquisition-vat>div{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #eceeec;padding:8px 10px}
.jp-commerce-acquisition-vat>div:last-child{border-bottom:0}
.jp-commerce-acquisition-vat dt{color:#777;font-size:8px}
.jp-commerce-acquisition-vat dd{min-width:0;margin:0;font:600 9px Poppins;text-align:right;overflow-wrap:anywhere;word-break:break-word}
.jp-commerce-accounting-note{display:grid;gap:4px;margin-top:14px;border-left:4px solid #d79525;background:#fff7e8;padding:10px 12px}
.jp-commerce-accounting-note strong{font:600 9px Poppins}
.jp-commerce-accounting-note p{margin:0;color:#6e6048;font-size:8px;line-height:1.5}
.jp-commerce-declaration-copy{margin-top:20px;border:1px solid var(--line)}
.jp-commerce-declaration-copy p{margin:0;padding:11px;font-size:9px;line-height:1.55}
.jp-commerce-signatures{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:34px;margin-top:54px}
.jp-commerce-signatures>div{display:grid;gap:5px;border-top:1px solid #555;padding-top:7px}
.jp-commerce-signatures span{font-size:8px}
.jp-commerce-signatures small{color:#777;font-size:7.5px}

@media screen and (max-width:1050px){
  .jp-commerce-editor-grid{grid-template-columns:1fr}
  .jp-commerce-side{border-top:1px solid var(--line);border-left:0}
  .jp-commerce-summary{position:static}
  .jp-commerce-line{grid-template-columns:repeat(2,minmax(0,1fr)) auto}
  .jp-commerce-line .description{grid-column:1/-1}
  .jp-commerce-line>strong{grid-column:1/3}
  .jp-commerce-invoice-payment{grid-template-columns:repeat(2,minmax(0,1fr))}
  .jp-commerce-invoice-payment>div{grid-column:1/-1}
}
@media screen and (max-width:700px){
  .jp-commerce-callout,.jp-commerce-intro,.jp-commerce-section-actions,.jp-receipt-issued-actions{display:grid}
  .jp-commerce-fulfillment{grid-template-columns:1fr;margin:12px 12px 0;padding:12px}
  .jp-commerce-fulfillment legend{grid-column:auto}
  .jp-commerce-callout-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
  .jp-commerce-callout-actions :is(.jp-primary,.jp-secondary){width:100%;min-height:44px;white-space:normal}
  .jp-commerce-sale-tool{max-height:100vh;border-radius:0}
  .jp-commerce-main,.jp-commerce-side{padding:12px}
  .jp-commerce-fields,.jp-commerce-source-type,.jp-commerce-line,.jp-commerce-invoice-payment{grid-template-columns:1fr}
  .jp-commerce-fields label.wide,.jp-commerce-source-type legend,.jp-commerce-line .description,.jp-commerce-line>strong,.jp-commerce-invoice-payment>div{grid-column:auto}
  .jp-commerce-line>strong{text-align:left}
  .jp-commerce-line>button{justify-self:end}
  .jp-commerce-section-actions>div:last-child{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
  .jp-commerce-section-actions .jp-secondary{white-space:normal}
  .jp-commerce-stock-search{grid-template-columns:1fr}
  .jp-commerce-stock-search>small{padding:0}
  .jp-commerce-stock-directory .jp-stock-sale-options{grid-template-columns:1fr}
  .jp-commerce-stock-directory .jp-stock-sale-option{grid-template-columns:18px 62px minmax(0,1fr)}
  .jp-commerce-stock-directory .jp-stock-sale-option>.jp-order-product-image{width:60px;height:58px}
  .jp-commerce-stock-directory .jp-stock-sale-option>em{grid-column:3;justify-items:start}
  .jp-commerce-editor>footer{display:grid;grid-template-columns:1fr}
  .jp-commerce-editor>footer button{width:100%;white-space:normal}
  .jp-commerce-invoice-payment .jp-primary{width:100%}
  .jp-commerce-receipt-lines th,.jp-commerce-receipt-lines td{white-space:normal;overflow-wrap:anywhere}
  .jp-commerce-acquisition-trailer dl,.jp-commerce-acquisition-vat,.jp-commerce-signatures{grid-template-columns:1fr}
  .jp-commerce-signatures{gap:40px}
}
@media screen and (max-width:440px){
  .jp-commerce-callout-actions,.jp-commerce-section-actions>div:last-child{grid-template-columns:1fr}
}
@media print{
  body.jp-print-receipt .jp-commerce-invoice-payment{display:none!important}
  body.jp-print-receipt .jp-commerce-document{font-size:9.5pt}
  body.jp-print-receipt .jp-commerce-margin-note,body.jp-print-receipt .jp-commerce-acquisition-total{print-color-adjust:exact;-webkit-print-color-adjust:exact}
  body.jp-print-receipt :is(.jp-commerce-acquisition-trailer,.jp-commerce-acquisition-total,.jp-commerce-acquisition-vat,.jp-commerce-accounting-note,.jp-commerce-declaration-copy){break-inside:avoid;page-break-inside:avoid}
}

.jp-readonly-indicator,.jp-readonly-action{color:#6c736e;font:600 10px Poppins;white-space:nowrap}
.jp-global-search-result.is-readonly,.jp-customer-history-row.is-readonly,.jp-open-work-item.is-readonly{cursor:default;background:#f6f7f6;color:inherit}
.jp-global-search-result.is-readonly>.jp-readonly-indicator,.jp-customer-history-row.is-readonly>.jp-readonly-indicator{color:#6c736e;font-size:10px}
.jp-customer-history-row.is-readonly:hover,.jp-open-work-item.is-readonly:hover{padding-left:17px;background:#f6f7f6}
.jp-open-work-item.is-readonly:hover{padding-left:15px}
.jp-customer-history-row.is-readonly,.jp-open-work-item.is-readonly{display:grid}
.jp-lead-order-continuation{display:grid;gap:7px;margin-top:5px}
.jp-lead-order-continuation>small{max-width:320px;color:#69716b;font-size:10px;line-height:1.45}
.jp-lead-order-tracking{display:grid;gap:7px;margin-top:10px}
.jp-lead-order-tracking>div{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 12px;border:1px solid #cfe0d5;border-radius:5px;background:#f3faf5;padding:9px 11px}
.jp-lead-order-tracking>div>span{display:grid;gap:2px;min-width:0}
.jp-lead-order-tracking strong{font:600 11px Poppins}
.jp-lead-order-tracking small{color:#667269;font-size:9.5px}
.jp-lead-order-tracking>div>small{grid-column:1/-1}
.jp-lead-order-tracking.is-compact{margin-top:4px}
.jp-lead-order-tracking.is-compact>div{padding:6px 8px}
.jp-crm-order-lock{display:grid;gap:4px;margin:0 24px 16px;border-left:4px solid #db9d2f;background:#fff8e9;padding:12px 14px}
.jp-crm-order-lock>span{color:#9a6300;font:700 9px Poppins;letter-spacing:.1em}
.jp-crm-order-lock>strong{font:600 12px Poppins}
.jp-crm-order-lock>small,.jp-lead-win-help{color:#6f654f;font-size:10px;line-height:1.45}

@media screen and (max-width:520px){
  .jp-lead-order-tracking>div{grid-template-columns:1fr}
  .jp-lead-order-tracking .status{justify-self:start}
  .jp-crm-order-lock{margin-inline:12px}
}

/* Prosessiopas: yksi roolikohtainen aloituspaikka nykyisille työnkuluille. */
.jp-process-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:28px;margin-bottom:18px;border-left:5px solid var(--red);background:#252625;padding:25px 27px;color:#fff;box-shadow:0 2px 8px rgba(20,24,20,.08)}
.jp-process-hero>div{display:grid;gap:6px;max-width:720px}.jp-process-hero>div>span{color:#ff555b;font:700 10px Poppins;letter-spacing:.16em}.jp-process-hero h2{margin:0;font:600 22px Poppins;letter-spacing:-.02em}.jp-process-hero p{margin:0;color:#d1d4d1;font-size:14px;line-height:1.55}
.jp-process-hero>ol{display:grid;grid-template-columns:repeat(3,minmax(105px,1fr));gap:1px;margin:0;padding:0;list-style:none;background:#4a4c4a}.jp-process-hero>ol li{display:grid;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:8px;min-height:66px;background:#303230;padding:10px 12px}.jp-process-hero>ol b{display:grid;place-items:center;width:30px;height:30px;border:1px solid #6f736f;border-radius:50%;color:#fff;font:700 11px Poppins}.jp-process-hero>ol span{font:600 11px Poppins;line-height:1.35}.jp-process-hero>small{grid-column:1/-1;color:#aeb2ae;font-size:11px}
.jp-process-layout{display:grid;grid-template-columns:minmax(280px,350px) minmax(0,1fr);align-items:start;gap:18px}.jp-process-mobile-picker{display:none}.jp-process-scenarios{display:grid;gap:8px;position:sticky;top:96px}.jp-process-scenario{position:relative;display:grid;gap:5px;width:100%;min-height:110px;border:1px solid #d9dcd9;border-left:4px solid transparent;border-radius:3px;background:#fff;padding:15px 48px 15px 17px;color:var(--ink);text-align:left;cursor:pointer;overflow:hidden}.jp-process-scenario>span{color:#a1151c;font:700 9px Poppins;letter-spacing:.14em}.jp-process-scenario>strong{font:600 14px Poppins;line-height:1.35}.jp-process-scenario>small{color:#5f655f;font-size:12px;line-height:1.45}.jp-process-scenario>b{position:absolute;right:13px;top:13px;color:#d7dad7;font:700 20px Poppins;letter-spacing:-.04em}.jp-process-scenario:hover{border-color:#b9bdb9;border-left-color:#737773}.jp-process-scenario.active{border-color:#bbbeba;border-left-color:var(--red);background:#f8f9f8;box-shadow:0 2px 9px rgba(30,34,30,.06)}.jp-process-scenario.active>b{color:var(--red)}
.jp-process-detail{min-width:0;border:1px solid #d9dcd9;border-radius:3px;background:#fff;box-shadow:0 2px 9px rgba(30,34,30,.045);overflow:hidden}.jp-process-detail>header{display:grid;gap:6px;border-bottom:1px solid #444744;background:#2b2c2b;padding:24px 27px;color:#fff}.jp-process-detail>header>span,.jp-process-prerequisites>span,.jp-process-steps>span{color:#d2161e;font:700 10px Poppins;letter-spacing:.14em}.jp-process-detail>header>span{color:#ff555b}.jp-process-detail>header h2{margin:0;font:600 22px Poppins;letter-spacing:-.02em;outline:none}.jp-process-detail>header p{max-width:790px;margin:0;color:#d4d7d4;font-size:14px;line-height:1.55}
.jp-process-prerequisites{display:grid;gap:11px;border-bottom:1px solid #e2e5e2;background:#f6f7f6;padding:18px 27px}.jp-process-prerequisites ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:0;padding:0;list-style:none}.jp-process-prerequisites li{position:relative;min-height:44px;border-left:3px solid #b7bbb7;background:#fff;padding:10px 11px 10px 17px;color:#3e443e;font-size:13px;line-height:1.4}.jp-process-prerequisites li:before{content:'✓';position:absolute;left:5px;top:11px;color:#277855;font-weight:700}
.jp-process-steps{display:grid;gap:12px;padding:23px 27px}.jp-process-steps>ol{display:grid;gap:0;margin:0;padding:0;list-style:none}.jp-process-steps li{position:relative;display:grid;grid-template-columns:46px minmax(0,1fr);gap:13px;min-height:88px;padding-bottom:14px}.jp-process-steps li:not(:last-child):before{content:'';position:absolute;left:22px;top:45px;bottom:0;width:2px;background:#dfe2df}.jp-process-steps li>b{z-index:1;display:grid;place-items:center;width:46px;height:46px;border:2px solid #343634;border-radius:50%;background:#fff;color:#242624;font:700 14px Poppins}.jp-process-steps li:first-child>b{border-color:#c9141c;background:#c9141c;color:#fff}.jp-process-steps li>span{display:grid;align-content:start;gap:4px;border-bottom:1px solid #eceeec;padding:5px 0 15px}.jp-process-steps li:last-child>span{border-bottom:0}.jp-process-steps li strong{font:600 15px Poppins}.jp-process-steps li small{max-width:760px;color:#5f655f;font-size:13px;line-height:1.5}
.jp-process-finish{display:grid;grid-template-columns:46px minmax(0,1fr);align-items:center;gap:13px;margin:0 27px 23px;border:1px solid #b8d7c6;border-left:4px solid #23865e;background:#eff8f3;padding:14px 16px;color:#285f44}.jp-process-finish>span{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#23865e;color:#fff;font:700 18px Poppins}.jp-process-finish>div{display:grid;gap:3px}.jp-process-finish b{font:700 9px Poppins;letter-spacing:.13em}.jp-process-finish strong{font:600 13px Poppins;line-height:1.45}
.jp-process-detail>footer{display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid #e1e4e1;background:#f7f8f7;padding:17px 27px}.jp-process-detail>footer>div{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.jp-process-detail>footer :is(.jp-primary,.jp-secondary){min-height:44px;padding:11px 16px;font-size:11px;white-space:normal}.jp-process-detail>footer .jp-primary{background:#c9141c}.jp-process-detail>footer>small{max-width:220px;color:#5f655f;font-size:11px;line-height:1.45;text-align:right}
.jp-process-scenario:focus-visible,.jp-process-mobile-picker select:focus-visible,.jp-process-detail button:focus-visible{outline:3px solid #0b6dc5;outline-offset:2px}.jp-process-detail h2:focus-visible{outline:3px solid #0b6dc5;outline-offset:5px}

@media screen and (max-width:1080px){
  .jp-process-hero{grid-template-columns:1fr}.jp-process-hero>small{grid-column:auto}.jp-process-layout{grid-template-columns:minmax(250px,310px) minmax(0,1fr)}.jp-process-prerequisites ul{grid-template-columns:1fr}
}
@media screen and (max-width:760px){
  .jp-process-hero{padding:21px 18px}.jp-process-hero>ol{grid-template-columns:1fr}.jp-process-hero h2,.jp-process-detail>header h2{font-size:20px}.jp-process-layout{grid-template-columns:1fr}.jp-process-mobile-picker{display:grid;gap:7px;border:1px solid #d9dcd9;border-left:4px solid var(--red);background:#fff;padding:13px 14px}.jp-process-mobile-picker>span{color:#a1151c;font:700 10px Poppins;letter-spacing:.08em;text-transform:uppercase}.jp-process-mobile-picker select{width:100%;min-height:48px;border:1px solid #bfc4bf;border-radius:3px;background:#fff;padding:8px 38px 8px 11px;color:#252525;font-size:16px}.jp-process-scenarios{display:none}.jp-process-scenario{min-width:0}.jp-process-detail>header,.jp-process-prerequisites,.jp-process-steps{padding-left:18px;padding-right:18px}.jp-process-finish{margin-left:18px;margin-right:18px}.jp-process-detail>footer{display:grid;padding:15px 18px}.jp-process-detail>footer>div{display:grid}.jp-process-detail>footer :is(.jp-primary,.jp-secondary){width:100%}.jp-process-detail>footer>small{max-width:none;text-align:left}
}
@media screen and (max-width:480px){
  .jp-process-scenarios{grid-template-columns:1fr}.jp-process-scenario{min-height:96px}.jp-process-prerequisites li,.jp-process-steps li small{font-size:12.5px}.jp-process-steps li{grid-template-columns:40px minmax(0,1fr);gap:10px}.jp-process-steps li>b{width:40px;height:40px}.jp-process-steps li:not(:last-child):before{left:19px;top:40px}.jp-process-finish{grid-template-columns:40px minmax(0,1fr);padding:12px}.jp-process-finish>span{width:36px;height:36px}
}
@media (prefers-reduced-motion:reduce){.jp-process-scenario,.jp-process-detail button{scroll-behavior:auto;transition:none!important}}

/* Varaosamyynnin ja tehdastilauksen yhteinen tilausvahvistus- ja kuittityökalu. */
.jp-spare-document-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:150px}
.jp-spare-document-actions .jp-small{min-height:36px;padding:7px 10px;white-space:normal;line-height:1.25}
.jp-spare-confirmation-create,.jp-receipt-create{border-color:#bcd9c9;background:#eef8f3;color:#285f44}
.jp-spare-confirmation-open{border-color:#bfc4bf;background:#292929;color:#fff}
.jp-spare-factory-document-actions{border-top:1px solid #e1e4e1;background:#fff;padding:11px 15px}
.jp-spare-factory-document-actions .jp-small{width:100%}
.jp-spare-document-waiting{border-top:1px solid #e1e4e1;background:#f7f8f7;padding:11px 13px;color:#69706b;font:600 9px Poppins}
.jp-spare-document-unavailable{color:#747a76;font:600 9px Poppins;line-height:1.35}
.jp-spare-factory-history{margin-bottom:20px;overflow:hidden}
.jp-spare-factory-history>.jp-spare-factory-title{border-bottom:1px solid var(--line);padding:18px 20px}
.jp-spare-factory-history-list{display:grid}
.jp-spare-factory-history-list>article{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(170px,230px);align-items:center;gap:14px;border-top:1px solid #e8ebe8;padding:13px 18px}
.jp-spare-factory-history-list>article:first-child{border-top:0}
.jp-spare-factory-history-list>article>div:first-child{display:grid;gap:3px;min-width:0}
.jp-spare-factory-history-list>article>div:first-child strong{font:600 12px Poppins}
.jp-spare-factory-history-list>article>div:first-child small{color:var(--muted);font-size:10px;line-height:1.45;overflow-wrap:anywhere}
.jp-spare-factory-history-list .jp-spare-factory-document-actions{min-width:0;border:0;background:transparent;padding:0}
.jp-spare-factory-history-list .jp-spare-document-unavailable{text-align:right}
.jp-spare-document-tool{width:min(1100px,100%);overflow-x:hidden;background:#fff}
.jp-spare-document-tool>header>button{width:44px;height:44px;min-width:44px}
.jp-spare-document-loading,.jp-spare-document-error{display:grid;justify-items:center;gap:7px;padding:55px 24px;text-align:center}
.jp-spare-document-loading strong,.jp-spare-document-error strong{font:600 15px Poppins}
.jp-spare-document-loading span,.jp-spare-document-error p{max-width:620px;margin:0;color:var(--muted);font-size:11px;line-height:1.5}
.jp-spare-document-error .jp-secondary{margin-top:8px}
.jp-spare-document-history{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;border-bottom:1px solid var(--line);background:#f7f8f7;padding:10px 18px}
.jp-spare-document-history>span{color:#6c736e;font:700 9px Poppins;letter-spacing:.12em}
.jp-spare-document-history>div{display:flex;gap:7px;overflow-x:auto;padding:2px}
.jp-spare-document-history button{display:grid;gap:2px;min-width:150px;border:1px solid #d4d8d4;border-radius:4px;background:#fff;padding:8px 10px;color:var(--ink);text-align:left;cursor:pointer}
.jp-spare-document-history button.active{border-color:#357d59;background:#eef8f3;box-shadow:0 0 0 1px #357d59}
.jp-spare-document-history button strong{font:600 10px Poppins}
.jp-spare-document-history button small{color:var(--muted);font-size:9px}
.jp-spare-document-historical-note{color:#8b621d!important;font-weight:600}
.jp-spare-legacy-paid-warning{display:grid;gap:4px;border-left:4px solid #d79525;background:#fff7e8;padding:12px 15px;color:#654c20}
.jp-spare-legacy-paid-warning strong{font:600 11px Poppins}
.jp-spare-legacy-paid-warning span{font-size:10px;line-height:1.5}
.jp-spare-document-issued-actions{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);background:#f3f8f5;padding:13px 18px}
.jp-spare-document-issued-actions>div:first-child{display:grid;gap:2px}
.jp-spare-document-issued-actions>div:last-child{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.jp-spare-document-issued-actions strong{color:#285b43;font:600 12px Poppins}
.jp-spare-document-issued-actions span{color:#617067;font-size:10px}
.jp-spare-document-issued-actions button{min-height:44px}
.jp-spare-document-void{border-color:#d9a8ac;color:#8c2630;background:#fff}
.jp-spare-document-void:hover{border-color:#b1444d;background:#fff4f4}
.jp-spare-document-paper-wrap{overflow:auto;background:#e8eae8;padding:22px}
.jp-spare-document-print{position:relative;overflow-wrap:anywhere}
.jp-spare-receipt-source{grid-template-columns:repeat(4,minmax(0,1fr))}
.jp-spare-document-draft .jp-receipt-seller-summary{min-width:0}
.jp-spare-document-draft .jp-receipt-draft-lines li>span{min-width:0}
.jp-spare-document-draft .jp-receipt-draft-lines li strong,.jp-spare-document-draft .jp-receipt-draft-lines li small{overflow-wrap:anywhere}

@media screen and (max-width:760px){
  .jp-spare-document-backdrop{padding:0}
  .jp-spare-document-tool{width:100%;max-height:100dvh;border-radius:0}
  .jp-spare-document-tool>header{padding:15px 16px}
  .jp-spare-document-history{grid-template-columns:1fr;padding:10px 12px}
  .jp-spare-document-history>div{scroll-snap-type:x proximity}
  .jp-spare-document-history button{min-width:78%;min-height:44px;scroll-snap-align:start}
  .jp-spare-document-issued-actions{display:grid;align-items:start}
  .jp-spare-document-issued-actions>div:last-child{display:grid;grid-template-columns:1fr;width:100%}
  .jp-spare-document-issued-actions button{width:100%;white-space:normal}
  .jp-spare-document-paper-wrap{padding:10px}
  .jp-spare-document-draft{padding:16px}
  .jp-spare-document-draft>footer{margin-right:-16px;margin-left:-16px;padding-right:16px;padding-left:16px}
  .jp-spare-document-draft>footer button{width:100%;min-height:44px;white-space:normal}
  .jp-spare-document-draft input,.jp-spare-document-draft select,.jp-spare-document-draft textarea{font-size:16px}
  .jp-spare-receipt-source{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media screen and (max-width:700px){
  .jp-spare-document-actions{display:grid;grid-template-columns:1fr;width:100%;min-width:0}
  .jp-spare-document-actions .jp-small{width:100%;min-height:44px}
  .jp-spare-factory-document-actions{padding:11px 13px}
  .jp-spare-factory-history>.jp-spare-factory-title{padding:15px 14px}
  .jp-spare-factory-history-list>article{grid-template-columns:1fr;align-items:start;padding:14px}
  .jp-spare-factory-history-list>article>.status{justify-self:start}
  .jp-spare-factory-history-list .jp-spare-factory-document-actions{width:100%;padding:0}
  .jp-spare-factory-history-list .jp-spare-factory-document-actions .jp-small{min-height:44px}
  .jp-spare-factory-history-list .jp-spare-document-unavailable{text-align:left}
  .jp-spare-document-print{font-size:12px;line-height:1.55}
}
@media print{
  @page{size:A4;margin:12mm}
  body.jp-print-spare-document{background:#fff!important}
  body.jp-print-spare-document *{visibility:hidden!important}
  body.jp-print-spare-document .jp-shell{display:block!important;background:#fff!important}
  body.jp-print-spare-document .jp-shell>aside,body.jp-print-spare-document .jp-shell>main,body.jp-print-spare-document .jp-spare-document-tool>header,body.jp-print-spare-document .jp-spare-document-issued-actions,body.jp-print-spare-document .jp-order-confirmation-revision-warning{display:none!important}
  body.jp-print-spare-document .jp-spare-document-backdrop{position:static!important;display:block!important;padding:0!important;background:#fff!important}
  body.jp-print-spare-document .jp-spare-document-tool{display:block!important;width:100%!important;max-height:none!important;overflow:visible!important;border-radius:0!important;box-shadow:none!important}
  body.jp-print-spare-document .jp-spare-document-paper-wrap{display:block!important;overflow:visible!important;padding:0!important;background:#fff!important}
  body.jp-print-spare-document .jp-spare-document-print,body.jp-print-spare-document .jp-spare-document-print *{visibility:visible!important}
  body.jp-print-spare-document .jp-spare-document-print{display:block!important;width:100%!important;min-height:0!important;margin:0!important;padding:0!important;box-shadow:none!important}
  body.jp-print-spare-document .jp-spare-document-print[data-document-status]:before{content:attr(data-document-status);position:fixed;top:42%;left:50%;transform:translate(-50%,-50%) rotate(-12deg);z-index:20;border:5px solid #a31d27;padding:10px 22px;color:#a31d27;font:700 28pt Poppins;letter-spacing:.08em;opacity:.42;visibility:visible!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}
  body.jp-print-spare-document .jp-order-confirmation-parties{grid-template-columns:repeat(3,minmax(0,1fr))}
  body.jp-print-spare-document .jp-order-confirmation-facts{grid-template-columns:repeat(4,minmax(0,1fr))}
  body.jp-print-spare-document .jp-order-confirmation-bottom{grid-template-columns:minmax(0,1fr) 275px}
  body.jp-print-spare-document .jp-receipt-parties{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.jp-print-spare-document .jp-spare-receipt-source{grid-template-columns:repeat(4,minmax(0,1fr))}
  body.jp-print-spare-document .jp-receipt-bottom{grid-template-columns:minmax(0,1fr) 275px}
  body.jp-print-spare-document :is(.jp-order-confirmation-document-head,.jp-order-confirmation-facts,.jp-receipt-document-head,.jp-spare-receipt-source){print-color-adjust:exact;-webkit-print-color-adjust:exact}
  body.jp-print-spare-document :is(.jp-order-confirmation-lines,.jp-receipt-lines) thead{display:table-header-group}
  body.jp-print-spare-document :is(.jp-order-confirmation-lines,.jp-receipt-lines) tr{break-inside:avoid;page-break-inside:avoid}
  body.jp-print-receipt .jp-commerce-line-accessories{break-inside:avoid;page-break-inside:avoid;print-color-adjust:exact;-webkit-print-color-adjust:exact}
body.jp-print-spare-document :is(.jp-order-confirmation-parties>div,.jp-order-confirmation-bottom,.jp-order-confirmation-terms,.jp-receipt-parties>div,.jp-receipt-bottom,.jp-order-confirmation-document-footer,.jp-receipt-document-footer){break-inside:avoid;page-break-inside:avoid}
}

/* Myynti ja tilaukset -aloituskeskus sekä tuoteryhmien yhteiset työjonot. */
.jp-sales-hub{margin-bottom:22px;border:1px solid var(--line);border-radius:8px;background:#fff;padding:24px}
.jp-sales-hub>header{display:grid;gap:5px;max-width:880px;margin-bottom:20px}
.jp-sales-hub>header>span,.jp-sales-hub-card>span,.jp-sales-hub-factory span,.jp-sales-hub-secondary span,.jp-spare-factory-realized>span{color:var(--red);font:700 10px Poppins;letter-spacing:.13em}
.jp-sales-hub>header h2{margin:0;font:600 23px Poppins;color:var(--ink)}
.jp-sales-hub>header p{margin:0;color:var(--muted);font-size:13px;line-height:1.55}
.jp-sales-hub-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:14px}
.jp-sales-hub-card{display:flex;flex-direction:column;align-items:flex-start;min-width:0;min-height:230px;border:1px solid #dfe2df;border-radius:7px;background:#f8f9f8;padding:20px}
.jp-sales-hub-card h2{margin:8px 0 6px;font:600 18px Poppins;color:var(--ink)}
.jp-sales-hub-card p{margin:0 0 18px;color:#676d67;font-size:13px;line-height:1.55}
.jp-sales-hub-card .jp-primary{width:100%;min-height:48px;margin-top:auto;white-space:normal;font-size:13px}
.jp-sales-hub-factory,.jp-sales-hub-secondary{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:14px;border:1px solid #d9dcd9;border-radius:6px;background:#f7f8f7;padding:15px 18px}
.jp-sales-hub-factory>div,.jp-sales-hub-secondary>div{display:grid;gap:3px;min-width:0}
.jp-sales-hub-factory strong,.jp-sales-hub-secondary strong{font:600 13px Poppins;color:var(--ink)}
.jp-sales-hub-factory small{color:var(--muted);font-size:11px;line-height:1.45}
.jp-sales-hub-factory :is(.jp-primary,.jp-secondary),.jp-sales-hub-secondary .jp-secondary{min-height:44px;white-space:normal}
.jp-sales-hub-secondary{margin:-7px 0 20px;background:#fff}
.jp-domain-tabs{margin-bottom:20px;border:1px solid var(--line);border-radius:6px;background:#fff;padding:5px;gap:5px}
.jp-domain-tabs button{display:inline-flex;align-items:center;gap:9px;min-height:46px;border:1px solid transparent!important;border-radius:4px;padding:10px 16px!important}
.jp-domain-tabs button.active{border-color:#292929!important;background:#292929;color:#fff}
.jp-domain-tabs button b{min-width:26px;border-radius:13px;background:#eceeec;padding:4px 7px;color:#555b55;font:600 10px Poppins;text-align:center}
.jp-domain-tabs button.active b{background:#474747;color:#fff}
.jp-spare-factory-realized{display:grid;grid-template-columns:auto minmax(90px,1fr) auto;align-items:center;gap:10px;border-top:1px solid #e3e6e3;background:#f3f8f5;padding:11px 13px}
.jp-spare-factory-realized>strong{font:600 11px Poppins;color:#285b43}
.jp-spare-factory-realized .jp-spare-document-actions{justify-self:end}
.jp-spare-factory-history-list .jp-spare-factory-realized{grid-column:1/-1;width:100%}

@media screen and (max-width:700px){
  .jp-sales-hub{padding:16px}
  .jp-sales-hub>header h2{font-size:21px}
  .jp-sales-hub>header p,.jp-sales-hub-card p{font-size:14px}
  .jp-sales-hub-grid{grid-template-columns:1fr}
  .jp-sales-hub-card{min-height:210px;padding:18px}
  .jp-sales-hub-card .jp-primary{font-size:14px}
  .jp-sales-hub-factory,.jp-sales-hub-secondary{display:grid;padding:15px}
  .jp-sales-hub-factory :is(.jp-primary,.jp-secondary),.jp-sales-hub-secondary .jp-secondary{width:100%}
  .jp-domain-tabs{overflow-x:auto;scroll-snap-type:x proximity}
  .jp-domain-tabs button{flex:0 0 auto;scroll-snap-align:start;font-size:13px!important}
  .jp-spare-factory-realized{grid-template-columns:1fr}
  .jp-spare-factory-realized .jp-spare-document-actions{justify-self:stretch}
}
.juhta-demo-banner{position:relative;z-index:10000;display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:42px;border-bottom:1px solid #c58a00;background:#fff2c7;padding:9px 18px;color:#4a3500;text-align:center}.juhta-demo-banner strong{font:700 10px Poppins,sans-serif;letter-spacing:.12em}.juhta-demo-banner span{font:500 10px Poppins,sans-serif;line-height:1.4}@media(max-width:650px){.juhta-demo-banner{display:grid;gap:2px;padding:9px 12px}.juhta-demo-banner span{font-size:9px}}

/* The unified queue stays readable even inside a narrow portal content column. */
.jp-unified-orders{margin:24px 0;min-width:0;container-type:inline-size}
.jp-unified-filters{display:grid;grid-template-columns:minmax(220px,2fr) repeat(2,minmax(170px,1fr));gap:16px;margin:20px 0}
.jp-unified-filters label{display:grid;gap:7px;min-width:0;font-size:14px;font-weight:600}
.jp-unified-filters :is(input,select){width:100%;min-width:0;min-height:46px;padding:10px 12px;border:1px solid #cdd3cf;border-radius:5px;background:#fff;color:#242724;font-size:16px}
.jp-unified-orders .jp-table table{table-layout:fixed;width:100%;min-width:0}
.jp-unified-orders .jp-table td strong{font-size:15px;line-height:1.5}
.jp-unified-orders .jp-table th{font-size:13px;white-space:normal}
.jp-unified-orders .jp-table td{font-size:15px;vertical-align:top;white-space:normal;overflow-wrap:anywhere}
.jp-unified-orders .jp-table :is(td,th):nth-child(1){width:16%}
.jp-unified-orders .jp-table :is(td,th):nth-child(2){width:23%}
.jp-unified-orders .jp-table :is(td,th):nth-child(3){width:13%}
.jp-unified-orders .jp-table :is(td,th):nth-child(4){width:12%}
.jp-unified-orders .jp-table :is(td,th):nth-child(5){width:14%}
.jp-unified-orders .jp-table :is(td,th):nth-child(6){width:22%}
.jp-unified-orders .jp-table small{display:block;margin-top:6px;font-size:13px;line-height:1.5;color:#58615b;white-space:normal}
.jp-unified-next{margin:0 0 10px;font-size:14px;line-height:1.5;color:#444d46}
.jp-unified-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-start}
.jp-unified-actions :is(button,.jp-primary,.jp-secondary,.jp-small){position:static;flex:0 1 auto;width:auto!important;min-width:0;max-width:100%;min-height:40px;height:auto!important;padding:9px 12px!important;border-radius:5px;font-size:14px!important;line-height:1.4!important;white-space:normal;text-align:left;overflow-wrap:normal}
.jp-unified-actions .jp-spare-document-actions{display:flex;flex-wrap:wrap;gap:8px;max-width:100%}
.jp-unified-note{font-size:14px;line-height:1.6;color:#58615b}
.jp-unified-export{display:flex;justify-content:flex-end;margin:18px 0}
.jp-order-legacy-receipt{display:inline-flex;flex-direction:column;gap:5px}
.jp-crm-search{display:grid;gap:7px;max-width:640px;margin:0 0 20px;font-size:14px;font-weight:600}
.jp-crm-search input{min-height:46px;min-width:0;width:100%;padding:10px 12px;border:1px solid #cdd3cf;border-radius:5px;background:#fff;font-size:16px;color:#242724}
.jp-crm-later-count{display:inline-block;min-width:24px;margin-left:6px;padding:2px 7px;border-radius:12px;background:#e8ece9;color:#384b40;text-align:center}
.jp-crm-follow-up-note{margin:0 0 16px;color:#536159;font-size:14px;line-height:1.6}
.jp-table .jp-lead-later-badge{display:block;margin-top:7px;color:#55634f;font-size:13px;line-height:1.5;white-space:normal}
.jp-lead-follow-up-field{padding:16px;border:1px solid #d8e1d9;border-radius:6px;background:#f4f7f4}
.jp-lead-follow-up-field input{max-width:330px;min-height:46px;font-size:16px!important}
.jp-lead-follow-up-field small{font-size:14px!important;line-height:1.6!important;color:#435749!important;white-space:normal}
.jp-receipt-repair-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:16px}
@container (max-width:1100px){
  .jp-unified-orders .jp-table thead{display:none}
  .jp-unified-orders .jp-table,.jp-unified-orders .jp-table table,.jp-unified-orders .jp-table tbody{display:block;width:100%;min-width:0}
  .jp-unified-orders .jp-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px;padding:16px;border-bottom:1px solid #d9deda}
  .jp-unified-orders .jp-table td:nth-child(n){display:block;width:auto!important;border:0;padding:9px 0;text-align:left}
  .jp-unified-orders .jp-table td::before{content:attr(data-label);display:block;font-size:12px;font-weight:600;line-height:1.5;color:#657067;margin-bottom:6px}
  .jp-unified-orders .jp-table td:last-child{grid-column:1/-1}
}
@media(max-width:700px){.jp-unified-filters{grid-template-columns:1fr}.jp-unified-orders .jp-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.jp-unified-export .jp-secondary{white-space:normal;width:100%}}
@container (max-width:420px){.jp-unified-orders .jp-table tr{grid-template-columns:minmax(0,1fr);padding:12px}.jp-unified-orders .jp-table td:last-child{grid-column:auto}}
.jp-crm-municipal-transfer{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:24px;padding:20px;border:1px solid #dce1df;border-radius:8px;background:#fff}
.jp-crm-municipal-transfer p{margin:6px 0 0;color:#626b66;font-size:14px;line-height:1.55}
.jp-crm-municipal-transfer>button{flex-shrink:0;white-space:normal;min-height:46px}
@media(max-width:640px){.jp-crm-municipal-transfer{align-items:stretch;flex-direction:column}.jp-crm-municipal-transfer>button{width:100%}}
