:root{--ph-ripple:#3f5d7c;--ph-frame-bg:#eef1f4}
button{border:0;background:transparent;color:inherit;font:inherit;cursor:pointer}
#app[data-familie="klassisk"][data-stil="nordisk"]{--font:'Public Sans',sans-serif;--bg:#f0f2f5;--brand:#3f5d7c;--plum:#796377;--ink:#243448;font-feature-settings:"tnum" 1,"lnum" 1}
#app .pd-mark{background:transparent;box-shadow:none}#app .pd-mark img{width:100%;height:100%}.workspace-name{font-size:1.15rem;color:var(--ink-3);padding:0 .9rem 2.5rem}.staff{padding:1.5rem 1.2rem;font-size:1.3rem;font-weight:600}.staff small{display:block;font-weight:400;color:var(--ink-3);margin-top:.5rem}
#app .pd-main{overflow:hidden}#app .pd-views{overflow:auto;container-type:inline-size;padding-bottom:1rem;scrollbar-width:thin}#app .pd-view{height:auto;min-height:0}#app .pd-card{padding:2.4rem;min-width:0;overflow:visible}#app .pd-ch{margin-bottom:1.6rem;gap:1rem;align-items:flex-start;flex-wrap:wrap}#app .pd-ch h2{font-size:1.7rem;line-height:1.35}#app .pd-btn{min-height:44px;height:auto;padding:1.1rem 1.7rem;white-space:normal;text-align:center;line-height:1.4}#app .pd-link{min-height:40px;display:inline-flex;align-items:center;line-height:1.4}#app button:focus-visible,#app input:focus-visible,#app select:focus-visible,#app textarea:focus-visible,#app summary:focus-visible{outline:3px solid #476c99;outline-offset:3px}#app button:disabled{cursor:not-allowed;opacity:.45}
h3{font-size:2rem;line-height:1.35;font-weight:600;letter-spacing:-.02em}p{font-size:1.4rem;line-height:1.6;color:var(--ink-2)}small{font-size:1.15rem;line-height:1.5;color:var(--ink-3)}.muted{color:var(--ink-3)}.lead{font-size:1.5rem;line-height:1.7}.eyebrow{font-size:1.2rem;font-weight:500;color:var(--ink-3);margin-bottom:.8rem}.space{margin-top:2rem}.spaced,.toolbar,.actions,.card-foot{display:flex;align-items:center;justify-content:space-between;gap:1.2rem;flex-wrap:wrap}.actions{justify-content:flex-start;margin-top:1.6rem}.card-foot{padding-top:1.7rem;margin-top:1.7rem;border-top:1px solid var(--line);font-size:1.3rem;color:var(--ink-3)}.toolbar{margin-bottom:1.7rem}.notice,.receipt{background:#eef2f7;border-radius:12px;padding:1.6rem;font-size:1.35rem;line-height:1.6;color:var(--ink-2);margin:1.5rem 0}.receipt{background:#e9f2ed;color:#285f43}.receipt strong{font-size:1.7rem}.receipt p{color:inherit;margin-top:.6rem}.error{color:var(--risk);margin-top:1.2rem}.empty{padding:3rem 2rem;background:var(--sunk-2);border-radius:12px;text-align:center;margin-top:1.8rem}.empty strong{font-size:1.6rem}.empty p{margin-top:.8rem}.preserve{white-space:pre-wrap;overflow-wrap:anywhere}
.overview-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:2rem}.feature-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:2rem}.feature-heading h3{font-size:2.8rem;margin:.4rem 0 1.3rem;max-width:25ch}.feature-heading .lead{max-width:57ch}.feature-heading .pd-chip{flex:none}.feature-card{background:#fff}.feature-foot{display:flex;align-items:center;gap:1.3rem;flex-wrap:wrap;margin-top:2rem}.feature-foot p{flex:1;min-width:20rem;font-size:1.3rem}.feature-foot .pd-btn{flex:none}.hero-number{font-size:6.4rem;line-height:1;font-weight:500;display:flex;align-items:center;gap:1.5rem;margin:1.5rem 0}.hero-number span{font-size:1.5rem;line-height:1.5;font-weight:400;color:var(--ink-2)}.queue{margin:2rem 0 1rem}.queue-row{display:grid;grid-template-columns:3.4rem minmax(0,1fr) auto;gap:1rem;align-items:center;width:100%;text-align:left;border-top:1px solid var(--line);padding:1.5rem 0}.queue-row strong,.queue-row small{display:block}.queue-row strong{font-size:1.35rem;margin-bottom:.4rem}.queue-row small{white-space:normal;line-height:1.4}.queue-time{font-size:1.1rem;color:var(--ink-3)}.initial{width:3.4rem;height:3.4rem;display:grid;place-items:center;border-radius:50%;background:#ede7ed;color:#71566e;font-size:1.3rem;font-weight:600;flex:none}.queue-row:hover,.queue-row[data-ph-hover]{background:var(--sunk-2)}
.product-pair{display:grid;grid-template-columns:1fr 3.8rem 1fr;gap:1rem;align-items:center;margin-top:2rem}.product-half{border-radius:14px;background:#f2f4f7;padding:1.4rem;display:grid;grid-template-columns:10rem 1fr;align-items:center;gap:1rem;min-width:0}.product-half.replacement{background:#eee8ef}.product-half small,.product-half strong,.product-half span{display:block}.product-half strong{font-size:1.45rem;line-height:1.45;margin:.5rem 0}.product-half span{font-size:1.2rem;color:var(--ink-2)}.swap-arrow{font-size:3rem;color:var(--plum);text-align:center}.garment{position:relative;display:grid;place-items:center;width:14rem;height:16rem;flex:none;margin:1.5rem auto;background:radial-gradient(ellipse at center,#ffffff80,transparent 65%)}.garment svg{height:100%;width:100%;filter:drop-shadow(0 7px 5px #1d304b15)}.product-half .garment{width:10rem;height:13rem;margin:0}.size-tag{position:absolute;right:.3rem;bottom:.8rem;background:white;border:1px solid #dce2e8;border-radius:6px;width:2.7rem;height:2.7rem;display:grid!important;place-items:center;box-shadow:0 2px 5px #24344810;font-size:1.2rem;font-weight:600;color:var(--ink)!important}.garment.small{width:5.2rem;height:6rem;margin:0}.garment.small .size-tag{width:2rem;height:2rem;right:-.4rem;bottom:0;font-size:1rem}
.journey{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.2rem;margin:1.2rem 0}.journey-step{text-align:left;position:relative;padding:1.5rem 1.2rem;border-radius:12px;background:var(--sunk-2);display:flex;flex-direction:column;gap:.7rem}.journey-step:not(:last-child):after{content:'→';position:absolute;right:-1.4rem;top:3.5rem;z-index:2;color:var(--ink-3);font-size:1.8rem}.journey-step:hover,.journey-step[data-ph-hover]{background:var(--acc-soft)}.step-index{font-size:1.05rem;color:var(--ink-3)}.journey-step strong{font-size:3.2rem;font-weight:500;color:var(--acc-txt)}.journey-step b{font-size:1.2rem;font-weight:600}.journey-step small{font-size:1.05rem}.stock-bars{margin-top:1rem}.stock-bar{display:grid;grid-template-columns:11.5rem minmax(0,1fr) 4.5rem;align-items:center;gap:1.2rem;width:100%;padding:1.1rem 0;text-align:left;font-size:1.2rem}.stock-bar>div{height:.8rem;background:var(--sunk);border-radius:5px;overflow:hidden}.stock-bar i{display:block;height:100%;border-radius:5px;transition:width .5s}.stock-bar b{font-size:1.2rem;font-weight:500;text-align:right}.live-note{background:#f4f1f5;border-radius:10px;padding:1.4rem;margin:1.2rem 0;font-size:1.2rem;color:#6d566b;line-height:1.5;display:flex;align-items:center;gap:.8rem}.live-dot{width:.65rem;height:.65rem;border-radius:50%;background:#647f69;flex:none}.footer-note{font-size:1.1rem;color:var(--ink-3);margin:1.5rem .5rem .5rem}.shortcuts{font-size:1.1rem;color:var(--ink-3);display:flex;align-items:center;gap:.8rem;margin:.6rem .5rem}
.inbox-grid{display:grid;grid-template-columns:29rem minmax(0,1fr);gap:2rem;align-items:start}.list-card .pd-ch{margin-bottom:1rem}.search-field,.field{display:flex;flex-direction:column;gap:.7rem;font-size:1.25rem;font-weight:500;margin:1.3rem 0}.search-field{max-width:34rem}.field input,.search-field input,.field select,.field textarea{min-height:44px;width:100%;border:1px solid #d6dee7;border-radius:9px;background:white;color:var(--ink);padding:1rem 1.2rem;font:400 1.4rem/1.5 var(--font)}.field textarea{resize:vertical;min-height:9rem}.compact-field{font-size:1.15rem}.compact-field select{font-size:1.25rem}.ticket-row{width:100%;text-align:left;border-radius:12px;padding:1.4rem;margin-top:.7rem;background:var(--sunk-2);border:1px solid transparent}.ticket-row.selected{background:var(--acc-soft);border-color:#99adc3}.ticket-row strong{font-size:1.3rem}.ticket-row p{font-size:1.2rem;margin:.6rem 0 1rem;line-height:1.5}.ticket-row small{font-size:1.05rem}.ticket-row .pd-chip{font-size:1rem;height:2.1rem;padding:0 .6rem}.case-meta{display:flex;align-items:center;gap:1.3rem;font-size:1.25rem;color:var(--ink-3);margin-bottom:2rem;flex-wrap:wrap}.customer-message{display:flex;gap:1.3rem;padding:1.8rem;background:#f4f1f5;border-radius:12px}.customer-message strong{font-size:1.3rem}.customer-message p{margin-top:.6rem;max-width:65ch}.order-line{margin:1.8rem 0;display:flex;align-items:center;gap:1.5rem;text-align:left;width:100%;padding:1.3rem;border:1px solid var(--line);border-radius:12px}.order-line>span:nth-child(2){flex:1;min-width:0}.order-line strong,.order-line small{display:block}.order-line strong{font-size:1.4rem;margin-bottom:.5rem}.order-line>span:last-child{font-size:1.2rem;color:var(--acc-txt);flex:none}.stepper{display:flex;list-style:none;padding:0;gap:.8rem;margin:2rem 0 1.4rem;max-width:58rem}.stepper li{flex:1;font-size:1.1rem;color:var(--ink-3);display:flex;flex-direction:column;gap:.7rem;align-items:flex-start;position:relative}.stepper li:after{content:'';position:absolute;height:2px;background:var(--line);left:3rem;right:.2rem;top:1.3rem}.stepper li:last-child:after{display:none}.stepper span{display:grid;place-items:center;border-radius:50%;width:2.7rem;height:2.7rem;background:var(--sunk);font-size:1.15rem}.stepper .done span{background:#e2eaf2;color:var(--acc-txt)}.stepper .current span{background:var(--acc);color:white}.stepper .current{font-weight:600;color:var(--ink)}.decision{max-width:55rem;padding:1.9rem;background:#f5f7f9;border-radius:14px;margin:1.8rem 0}.decision h3{font-size:1.9rem;margin-bottom:.8rem}.decision p{margin-bottom:1.2rem}.decision .notice{padding:1.2rem;font-size:1.25rem}.variants{display:flex;gap:1rem;margin:1.6rem 0}.variant{display:flex;flex-direction:column;align-items:center;gap:.4rem;width:7.6rem;min-height:6.4rem;border:1px solid #dbe1e7;border-radius:10px;background:white;padding:1rem}.variant strong{font-size:1.5rem}.variant small{font-size:1.05rem}.variant.selected{border:2px solid var(--acc);padding:calc(1rem - 1px);background:#e8eef4}.check{display:flex;gap:1rem;align-items:flex-start;font-size:1.35rem;line-height:1.6;margin:1.6rem 0}.check input{width:20px;height:20px;flex:none;accent-color:#3f5d7c;margin-top:1px}.case-history{border-top:1px solid var(--line);padding-top:1.6rem;margin-top:2rem}.case-history summary,details summary{font-size:1.25rem;color:var(--ink-2);cursor:pointer;min-height:32px;line-height:1.5}.history{list-style:none;padding:0;margin:1rem 0 2rem}.history li{display:flex;gap:1.5rem;font-size:1.25rem;line-height:1.6;padding:.8rem 0;border-bottom:1px solid var(--line-2)}.history time{color:var(--ink-3);min-width:4rem;font-size:1.1rem}.history span{overflow-wrap:anywhere}.case-footer{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-top:1rem}
.customer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.8rem;margin-top:2rem}.customer-tile{padding:2rem;border-radius:14px;background:var(--sunk-2)}.customer-tile h3{font-size:1.8rem;margin:1.5rem 0 .5rem}.customer-note{margin:1.4rem 0;min-height:5rem;font-size:1.3rem;overflow-wrap:anywhere}.records{margin-top:1.6rem}.record{display:grid;grid-template-columns:5.2rem minmax(0,1fr) auto auto;gap:1.8rem;align-items:center;padding:1.6rem 0;border-bottom:1px solid var(--line)}.record strong{font-size:1.45rem}.record small{display:block;margin-top:.6rem}.record>b{font-size:1.35rem;font-weight:500}.stock-work{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(27rem,.8fr);gap:2rem;align-items:start}.stock-table{margin-top:1.8rem}.stock-row{display:grid;grid-template-columns:minmax(0,1fr) repeat(3,8rem);width:100%;align-items:center;gap:1rem;padding:1.4rem 1rem;border-radius:8px;font-size:1.4rem;text-align:left}.stock-row:not(.stock-head){border-top:1px solid var(--line)}.stock-row:not(.stock-head):hover{background:var(--sunk-2)}.stock-row>*:not(:first-child){text-align:right}.stock-row small{display:block;font-size:1.05rem}.stock-row b{font-size:1.25rem;font-weight:500}.stock-head{font-size:1.1rem;color:var(--ink-3);background:var(--sunk-2)}.stock-row .warning{color:var(--warn)}.movement{padding:1rem 0;border-bottom:1px solid var(--line);font-size:1.2rem}.facts{display:flex;flex-direction:column;gap:1rem;margin:2rem 0}.facts>span{display:flex;justify-content:space-between;gap:1rem;font-size:1.4rem;background:var(--sunk-2);padding:1.2rem;border-radius:9px}.facts b{font-weight:500}.template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2rem;margin:2rem 0}.template-tile{background:#f4f1f5;border-radius:14px;padding:2.4rem;display:flex;flex-direction:column;align-items:flex-start}.template-mark{font-size:5rem;line-height:1;color:var(--plum)}.template-tile h3{font-size:1.9rem;margin:.8rem 0 1.2rem}.template-tile p{flex:1;margin-bottom:2rem;overflow-wrap:anywhere}.report-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:2rem;align-items:start}.report-metrics{display:flex;gap:3rem;flex-wrap:wrap;margin:2.5rem 0}.report-metrics strong{display:block;font-size:3.2rem;font-weight:500}.report-metrics span{font-size:1.2rem;color:var(--ink-3)}.report-bars{margin:1.5rem 0}.report-bars button{display:grid;grid-template-columns:17rem 1fr 2rem;gap:1rem;align-items:center;width:100%;text-align:left;font-size:1.2rem;padding:1rem 0}.report-bars i{height:.9rem;border-radius:5px;background:linear-gradient(to right,#796377 var(--value),#eceff3 var(--value))}.archive-row{padding:1.8rem;background:var(--sunk-2);border-radius:12px;margin:1rem 0}.archive-row strong{font-size:1.5rem}.archive-row p{margin:.5rem 0 1rem}
#app .pd-modal{width:min(48rem,95%)}#app .pd-drawer{width:min(54rem,100%)}#app .pd-modal h3,#app .pd-drawer h3{margin:1rem 0}#app .pd-drawer p{margin:1rem 0}#app .pd-modal .actions{flex-wrap:wrap}.mobile-demo{display:none}
@container(max-width:1100px){.feature-heading{flex-wrap:wrap;gap:1rem}.product-half{grid-template-columns:1fr}.product-half .garment{margin:auto}.feature-foot .pd-btn{flex:1}.overview-grid{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)}.customer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stock-work{grid-template-columns:1fr}.template-grid{grid-template-columns:1fr 1fr}.inbox-grid{grid-template-columns:24rem minmax(0,1fr)}.stock-row{grid-template-columns:minmax(0,1fr) repeat(3,7rem)}}
@container(max-width:780px){.overview-grid,.report-grid{grid-template-columns:1fr}.product-half{grid-template-columns:10rem 1fr}.inbox-grid{grid-template-columns:1fr}.list-card #ticket-list{display:flex;gap:1rem;overflow:auto;max-height:22rem;padding-bottom:1rem}.ticket-row{min-width:25rem;width:25rem}.journey-step strong{font-size:2.8rem}.template-grid{grid-template-columns:1fr}.stock-bar{grid-template-columns:12rem 1fr 5rem}}
@container(max-width:500px){.feature-heading h3{font-size:2.6rem}.product-pair{gap:.5rem;grid-template-columns:1fr 2rem 1fr}.product-half{grid-template-columns:1fr;padding:1rem}.product-half .garment{width:9rem;height:12rem}.product-half strong{font-size:1.3rem}.product-half small,.product-half span{font-size:1.1rem}.swap-arrow{font-size:2rem}.feature-foot{flex-wrap:wrap}.feature-foot p{flex-basis:100%;min-width:0}.feature-foot .pd-btn{width:100%}.journey{grid-template-columns:repeat(2,minmax(0,1fr))}.journey-step:nth-child(2):after{display:none}.customer-grid{grid-template-columns:1fr}.record{grid-template-columns:4.5rem minmax(0,1fr);gap:1.2rem}.record>b{grid-column:2}.record>.pd-btn{grid-column:2;justify-self:start}.order-line{flex-wrap:wrap}.order-line>span:last-child{padding-left:6.5rem}.stock-row{grid-template-columns:minmax(0,1fr) repeat(3,4.7rem);gap:.5rem;padding:1.2rem .2rem}.stock-head{font-size:.95rem}.stock-row b{font-size:1.15rem}.stepper{gap:.4rem}.stepper li{font-size:1rem}.stepper li:after{left:2.8rem}.decision{padding:1.4rem}.variants{gap:.6rem}.variant{width:6.6rem}.report-bars button{grid-template-columns:13.5rem 1fr 2rem}}
@media(max-width:1180px){:where(html:not(.ph-frame):not(.ph-demo)) #app{overflow:hidden}:where(html:not(.ph-frame):not(.ph-demo)) #app .pd-skal{height:100%;min-height:0}:where(html:not(.ph-frame):not(.ph-demo)) #app .pd-main{height:100%;min-height:0}:where(html:not(.ph-frame):not(.ph-demo)) .workspace-name,:where(html:not(.ph-frame):not(.ph-demo)) .staff{display:none}}
@media(max-width:820px){:where(html:not(.ph-frame):not(.ph-demo)) #app .pd-main{height:100%;padding:1.7rem 1.6rem 1rem;gap:1.6rem}:where(html:not(.ph-frame):not(.ph-demo)) #app .pd-top{display:flex;flex-wrap:nowrap;gap:1rem}:where(html:not(.ph-frame):not(.ph-demo)) #app .pd-hello{display:block;min-width:0;flex:1}:where(html:not(.ph-frame):not(.ph-demo)) #app .pd-hello h1{font-size:21px;line-height:1.2}:where(html:not(.ph-frame):not(.ph-demo)) #app .pd-sub{display:block;white-space:normal;font-size:11px;margin:.5rem 0 0}:where(html:not(.ph-frame):not(.ph-demo)) #app .pd-top-r{display:block;flex:none;width:44px;margin:0}:where(html:not(.ph-frame):not(.ph-demo)) #app .pd-search{width:44px;height:44px;padding:0;display:grid;place-items:center}:where(html:not(.ph-frame):not(.ph-demo)) #app .pd-search>span,:where(html:not(.ph-frame):not(.ph-demo)) #app .pd-top-r .pd-demo,:where(html:not(.ph-frame):not(.ph-demo)) #app .pd-me,:where(html:not(.ph-frame):not(.ph-demo)) .desktop-date{display:none}:where(html:not(.ph-frame):not(.ph-demo)) .mobile-demo{display:inline}:where(html:not(.ph-frame):not(.ph-demo)) #app .pd-rail{height:74px;min-height:74px;padding:4px 6px}:where(html:not(.ph-frame):not(.ph-demo)) #app .pd-nav-i{min-height:58px;font-size:10px}:where(html:not(.ph-frame):not(.ph-demo)) #app .pd-card{padding:2rem}:where(html:not(.ph-frame):not(.ph-demo)) .shortcuts{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.case-history:not([open]) > :not(summary){display:none}

#app .pd-modal p{margin:1rem 0 1.4rem}

.reply-templates{border:1px solid var(--line);border-radius:10px;padding:1.2rem;margin:1.6rem 0}.reply-templates:not([open]) > :not(summary){display:none}.reply-templates[open] summary{margin-bottom:1rem}#reply-preview{font-size:1.25rem;color:var(--ink-2);overflow-wrap:anywhere}#reply-replace{margin-top:1.2rem}#reply-replace[hidden]{display:none}

@media(max-width:820px){:where(html:not(.ph-frame):not(.ph-demo)) #app .pd-drawer{width:auto;max-width:none}}
/* The recording stage is 1600px wide even when the physical viewport is portrait.
   Restore the kit's desktop shell instead of its viewport-based compact rail. */
html.ph-frame #app[data-familie="klassisk"]{--rail-w:23rem;overflow:hidden}
html.ph-frame #app .pd-skal{grid-template-columns:var(--rail-w) minmax(0,1fr);height:100%;min-height:0;padding:0}
html.ph-frame #app .pd-main{grid-template-rows:auto minmax(0,1fr);height:100%;padding:2.2rem 2.8rem 2.4rem 3rem}
html.ph-frame #app .pd-rail{position:relative;z-index:2;inset:auto;width:auto;padding:2.4rem 1.4rem 1.8rem}
html.ph-frame #app .pd-mark{align-self:auto;margin:0 0 2.6rem .6rem}
html.ph-frame #app .pd-mark::after{display:block}
html.ph-frame #app .pd-nav-i{flex-direction:row;justify-content:flex-start;gap:1.1rem;height:4.3rem;min-height:0;padding:0 1rem 0 1.3rem;border-radius:var(--r-nav);font-size:1.42rem;text-align:left;white-space:nowrap}
html.ph-frame #app .pd-nav-i .pd-i{width:1.9rem;height:1.9rem}
html.ph-frame #app .pd-view{position:absolute}
html.ph-frame #app .pd-search{width:32rem}
html.ph-frame #app .pd-me{height:4.4rem;padding:0 1.6rem 0 .5rem}
html.ph-frame #app .pd-me>span:last-child{display:block}
