/* Personal ERP workspace: Pismoreklam orange, black and soft greys. */
.pd-workspace{display:flex;flex-direction:column;gap:14px;padding-bottom:24px}
.pd-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.pd-heading h2{margin:0;color:var(--ink,#111)}
.pd-heading .sub{margin:4px 0 0}
.pd-saving-status{color:var(--m,#666);font-size:12px;min-height:1em}
.pd-section-title{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-top:7px}
.pd-section-title h3{margin:0;font-size:16px}
.pd-section-title .sub{font-size:12px}
.pd-shortcuts{display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:11px}
.pd-shortcut{background:transparent;min-width:0;display:flex;align-items:center;flex-direction:column;gap:3px;border:1px solid transparent;border-radius:12px;padding:7px 2px}
.pd-shortcut:has(.pd-edit-controls){border-style:dashed;border-color:#cfd2d7;cursor:grab}
.pd-shortcut-main{width:100%;border:0;background:transparent;color:var(--ink,#111);cursor:pointer;display:flex;flex-direction:column;gap:6px;align-items:center;justify-content:flex-start;font-size:12px;font-weight:600;line-height:1.2;min-height:90px}
.pd-shortcut-main:disabled{cursor:grab;opacity:1}
.pd-shortcut-main>span:last-child{max-width:100%;overflow-wrap:anywhere}
.pd-shortcut-icon{display:flex;align-items:center;justify-content:center;font-size:27px;color:#111;background:linear-gradient(145deg,#fff,#f2f3f5);box-shadow:0 3px 8px #13131316;border:1px solid #dedfe3;border-radius:15px;height:60px;width:60px;flex:none}
.pd-shortcut-main:not(:disabled):hover .pd-shortcut-icon,.pd-shortcut-main:focus-visible .pd-shortcut-icon{border-color:var(--o,#e86810);box-shadow:0 4px 11px #e8681033}
.pd-widget-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}
.pd-widget{background:var(--p,#fff);border:1px solid var(--l,#e5e8ec);border-radius:12px;min-width:0;overflow:hidden;box-shadow:0 2px 9px #17171707}
.pd-widget.pd-full{grid-column:1/-1}
.pd-widget.pd-half{grid-column:span 1}
.pd-widget:has(.pd-edit-controls){border-style:dashed;cursor:grab}
.pd-widget-head{padding:13px 14px;border-bottom:1px solid #e8eaec;display:flex;gap:12px;align-items:center;justify-content:space-between}
.pd-widget-head h3{margin:0;font-size:15px}
.pd-widget-body{padding:12px 14px}
.pd-widget-body #inboundDashboard{margin:0;box-shadow:none;border:0}
.pd-widget-body #inboundDashboard .pb{padding:12px}
.pd-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.pd-kpi{background:var(--n2,#f4f5f7);border-radius:9px;padding:12px;display:flex;flex-direction:column;gap:5px;min-width:0}
.pd-kpi small{font-size:11px;color:var(--m,#666)}
.pd-kpi strong{font-size:23px;line-height:1.1;color:var(--ink,#111)}
.pd-line{display:flex;align-items:center;justify-content:space-between;gap:13px;padding:9px 0;border-bottom:1px solid #ededed;font-size:13px;min-width:0}
.pd-line strong,.pd-line span{overflow-wrap:anywhere}
.pd-line:last-child{border-bottom:0}
.pd-list{display:flex;flex-direction:column;gap:0}
.pd-text-link{margin-top:10px;padding:7px 0;background:transparent;border:0;color:var(--o,#e86810);font-size:13px;font-weight:700;cursor:pointer}
.pd-widget-loading{color:var(--m,#666);font-size:13px}
.pd-edit-controls{display:flex;gap:4px;align-items:center}
.pd-edit-controls button{background:#f1f2f4;border:1px solid #dedfe3;color:#111;border-radius:6px;min-width:28px;min-height:28px;cursor:pointer;font-weight:700}
.pd-edit-controls button:hover{border-color:var(--o,#e86810)}
.pd-editor{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:end;padding:14px;background:var(--n2,#f4f5f7);border:1px solid var(--l,#ddd);border-radius:11px}
.pd-editor>div{min-width:0}
.pd-editor label{display:block;font-size:12px;font-weight:700;margin-bottom:7px}
.pd-editor-line{display:flex;align-items:center;gap:7px}
.pd-editor-line select{min-width:0;width:100%;flex:1}
.pd-editor-line .btn{white-space:nowrap;flex:none}
.pd-editor-help{grid-column:1/-1;margin:0}
.pd-widget .tablewrap{max-height:270px;overflow:auto}
.pd-widget .tablewrap table{font-size:12px}
@media(max-width:1000px){
 .pd-editor{grid-template-columns:repeat(2,minmax(0,1fr))}
 .pd-editor>div:nth-child(3){grid-column:1/-1}
}
@media(max-width:700px){
 .pd-widget-grid{grid-template-columns:1fr}
 .pd-widget.pd-half,.pd-widget.pd-full{grid-column:1/-1}
 .pd-shortcuts{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
 .pd-shortcut-main{font-size:11px;min-height:85px}
 .pd-shortcut-icon{width:53px;height:53px;font-size:23px}
 .pd-editor{grid-template-columns:1fr}
 .pd-editor>div:nth-child(3),.pd-editor-help{grid-column:1}
 .pd-heading{align-items:flex-start}
 .pd-heading h2{font-size:19px}
 .pd-heading .btn{max-width:165px;white-space:normal}
 .pd-section-title{align-items:flex-start;flex-direction:column;gap:3px}
}
@media(max-width:350px){
 .pd-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr))}
 .pd-kpis{grid-template-columns:1fr}
}
