/* Original JG management theme, framed by the desktop from the supplied laptop. */
@font-face{font-family:Orbitron;src:url('fonts/orbitron-latin-wght-normal.woff2') format('woff2');font-weight:100 900;font-display:swap}
:root,[data-bs-theme=dark]{--pb-accent:#ff4500;--pb-scale:1;--pb-width:1920px;--pb-height:1080px;--bs-primary:#ff4500;--bs-primary-rgb:255,69,0;--bs-body-bg:#161616;--bs-body-color:#e3e3e7;--bs-border-color:#333;--pb-font:Orbitron,Arial,sans-serif;--bs-font-sans-serif:var(--pb-font);--bs-font-monospace:var(--pb-font);--bs-body-font-family:var(--pb-font);--bs-btn-font-family:var(--pb-font)}
html,body,#root{width:100%;height:100%;margin:0;overflow:hidden;background:transparent!important}
body{font-family:var(--pb-font)!important;font-size:18px;line-height:1.55;user-select:none}
button,input,textarea,select{font-family:inherit}body,button,a,input,textarea,select{cursor:none!important}
button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--pb-accent);outline-offset:3px}
.pb-computer{position:absolute;inset:0;width:var(--pb-width);height:var(--pb-height);transform:scale(var(--pb-scale));transform-origin:0 0;overflow:hidden;background:#111 url('computer-assets/desktop.png') center/cover no-repeat;color:#fff}
.pb-computer.screen-off{background:#050505}.pb-computer.screen-boot{background:#121212}
.pb-desktop-icon{position:absolute;top:28px;left:26px;width:136px;min-height:126px;display:flex;align-items:center;flex-direction:column;gap:10px;padding:14px 8px;background:transparent;border:1px solid transparent;border-radius:10px;color:#fff}
.pb-desktop-icon:hover{background:#ffffff1c;border-color:#ffffff35}.pb-desktop-icon>span{height:67px;width:73px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(145deg,#ff723d,#cf3800);box-shadow:0 8px 20px #0005}.pb-desktop-icon strong{font-size:16px;line-height:1.4;text-shadow:0 2px 5px #000;font-weight:500}
.pb-desktop-caption,.pb-desktop-top{display:none!important}
.pb-taskbar{position:absolute;bottom:0;left:0;right:0;height:64px;display:flex;align-items:center;gap:14px;background:#1a1a1bea;backdrop-filter:blur(22px);border-top:1px solid #ffffff20;padding:0 20px;color:#fff;z-index:1200}
.pb-taskbar button{background:none;border:0;color:inherit}.pb-home{font:800 26px Orbitron,Arial,sans-serif;letter-spacing:-2px;margin-right:4px}.pb-home span{font-size:14px;letter-spacing:0;color:var(--pb-accent);margin-left:3px}
.pb-task-app{height:48px;display:flex;align-items:center;gap:12px;padding:0 16px;position:relative;border-radius:7px!important;font-size:16px!important}.pb-task-app:hover{background:#ffffff12!important}.pb-task-app.active:after{content:'';position:absolute;bottom:0;left:20%;right:20%;height:3px;background:var(--pb-accent);border-radius:3px}.pb-task-spacer{flex:1}.pb-tray-button,.pb-power{font-size:27px}.pb-network{font-size:30px}.pb-clock{text-align:right;line-height:1.4;padding:0 6px}.pb-clock strong{font-size:18px;display:block;font-weight:500}.pb-clock span{display:block;font-size:14px;color:#bbb}.pb-power{padding-left:10px!important;border-left:1px solid #ffffff30!important}
.pb-window{position:absolute;width:min(1400px,calc(var(--pb-width) - 40px));height:min(875px,calc(var(--pb-height) - 100px));min-width:740px;min-height:430px;z-index:800;background:#161616;border:1px solid #4c4c4c;border-radius:12px;overflow:hidden;box-shadow:0 20px 80px #0008}
.pb-window.pb-minimized{display:none}.pb-window.pb-maximized{left:8px!important;top:8px!important;width:calc(100% - 16px);height:calc(100% - 80px)}
.pb-windowbar{height:42px;display:flex;align-items:center;justify-content:space-between;background:#242426;border-bottom:1px solid #080808;padding-left:20px;color:#ddd;position:relative;z-index:1100}.pb-window-title{display:flex;align-items:center;gap:10px;font-size:14px;text-transform:uppercase;letter-spacing:.11em;font-family:Orbitron,Arial,sans-serif}.pb-window-title svg{color:var(--pb-accent)}.pb-window-buttons{display:flex;height:100%;align-items:center;padding-right:13px;gap:10px}.pb-window-buttons button{width:22px;height:22px;border:0;border-radius:50%;display:grid;place-items:center;background:#494949;color:#bbb;font-size:18px;line-height:1;padding:0}.pb-window-buttons button:last-child{background:var(--pb-accent);color:#fff}.pb-window-buttons button:hover{filter:brightness(1.25)}
/* Only the top-level original JG dialog is embedded; actual modals remain overlays. */
.pb-management.modal-dialog{position:relative!important;inset:auto!important;display:flex!important;width:100%!important;max-width:none!important;height:calc(100% - 42px)!important;max-height:none!important;margin:0!important;min-height:0!important;pointer-events:auto!important;align-items:stretch!important}
.pb-management>.modal-content{border:0;border-radius:0;background:#161616;height:100%;width:100%;max-height:100%;overflow:hidden}
.pb-manager-layout{height:100%!important;min-height:0!important}
.pb-manager-layout>div:first-child{width:56px!important}
.pb-manager-layout>div:first-child>div{width:auto;min-width:56px;max-width:56px!important;padding-top:18px!important;gap:22px!important;background:#111!important;z-index:900!important;transition:max-width .18s ease!important}
.pb-manager-layout>div:first-child>div:hover{max-width:340px!important;box-shadow:8px 0 28px #000a}
.pb-manager-layout>div:first-child button{height:32px;color:#83838c;gap:18px!important;min-width:30px;padding:2px 3px!important}
.pb-manager-layout>div:first-child button:hover,.pb-manager-layout>div:first-child button.text-gray-300{color:var(--pb-accent)!important}
.pb-manager-layout>div:first-child button span{font-size:16px}.pb-manager-layout>div:nth-child(2){min-width:0;min-height:0;height:100%!important}
.pb-manager-layout .modal-header{flex-shrink:0;min-height:75px;padding:13px 24px!important;z-index:20!important}
.pb-manager-layout .modal-header h6{margin-bottom:0}.pb-manager-layout .modal-header h6:first-child{margin-bottom:7px}.pb-manager-layout .modal-body{flex:1;min-height:0;overflow:hidden;height:auto!important}
.pb-manager-layout .modal-body>div{min-height:0}.pb-manager-layout .modal-body>div>div{width:100%;min-width:0}
.pb-manager-layout .modal-header .badge{background:#ff45002a!important;color:#ff9168}.pb-manager-layout .modal-header .btn-close{display:none}
.pb-page{padding:24px;min-height:100%}.pb-page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.pb-page-heading h4{font-size:24px;line-height:1.3;margin:0 0 7px;font-weight:650}.pb-page-heading p{font-size:15px;color:#94949d;line-height:1.6;margin:0}
.pb-actions{display:flex;align-items:center;gap:12px;flex-shrink:0;flex-wrap:wrap}.pb-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:20px}
.pb-stat{background:#1b1b1e;border-color:#333;border-radius:9px}.pb-stat .card-body{padding:22px}.pb-eyebrow{font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:#8b8b97;margin-bottom:12px}.pb-stat strong{font-size:32px;font-weight:600;line-height:1.2;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pb-stat small{display:block;font-size:14px;color:#85858e;margin-top:12px}.pb-stat.pb-accent{border-color:#ff450068}.pb-stat.pb-accent strong{color:#ff7744}
.pb-page .card{background:#1a1a1c;border-color:#333;border-radius:9px;overflow:hidden}.pb-page .card-header{background:#1d1d20;border-bottom-color:#333;padding:15px 18px;font-size:15px;font-weight:600}.pb-page .card-body{padding:22px}
.btn{border-radius:6px;font-size:15px;padding:9px 15px;font-weight:500;box-shadow:none!important}.btn-sm{padding:6px 9px;font-size:13px}.btn-primary{--bs-btn-bg:#ff4500;--bs-btn-border-color:#ff4500;--bs-btn-color:#fff;--bs-btn-hover-bg:#e43d00;--bs-btn-hover-border-color:#e43d00;--bs-btn-active-bg:#ce3700;--bs-btn-active-border-color:#ce3700;--bs-btn-disabled-bg:#763118;--bs-btn-disabled-border-color:#763118}.btn-secondary{--bs-btn-bg:#34343a;--bs-btn-color:#eee;--bs-btn-border-color:#48484f;--bs-btn-hover-bg:#44444b;--bs-btn-hover-color:#fff}.btn-dark{--bs-btn-bg:#222225;--bs-btn-border-color:#3c3c42;--bs-btn-hover-bg:#343438;--bs-btn-hover-border-color:#55555a;--bs-btn-color:#ddd}
.form-control,.form-select{background-color:#111114!important;border:1px solid #45454d!important;color:#eee!important;border-radius:6px!important;font-size:16px!important;padding:11px 13px!important;box-shadow:none!important}.form-control:focus,.form-select:focus{border-color:var(--pb-accent)!important}.form-control::placeholder{color:#696974}.form-label{font-size:15px;margin-top:5px}.form-select{color:#fff!important}.form-select option{background:#18181b;color:#fff}.pb-search{margin:0 0 18px;max-width:500px}.pb-muted{color:#94949f;font-size:15px}
.pb-table-wrap{overflow:auto}.pb-table-wrap .table{--bs-table-bg:transparent;--bs-table-color:#d7d7dd;--bs-table-border-color:#303034;--bs-table-hover-bg:#ffffff04;--bs-table-hover-color:#eee;font-size:15px}.pb-table-wrap th{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#81818d;padding:15px 16px;background:#18181b;white-space:nowrap}.pb-table-wrap td{padding:15px 16px;vertical-align:middle;line-height:1.5}.pb-table-wrap tr:last-child td{border-bottom:0}.pb-table-wrap strong{font-weight:500}.pb-cell-detail{display:block;color:#848490;font-size:13px;margin-top:4px;font-weight:400}.pb-nowrap{white-space:nowrap}.pb-row-actions{display:flex;gap:5px;justify-content:flex-end;white-space:nowrap}.badge{font-size:12px;border-radius:4px;font-weight:550;letter-spacing:.04em}.bg-secondary{background:#3c3c42!important;color:#bbb!important}.pb-income{color:#66caab!important}.pb-expense{color:#ff926d!important}
.pb-empty{padding:38px 15px;text-align:center;color:#9595a0;font-size:16px}.pb-balance .card-body{padding:34px;display:flex;align-items:center;flex-direction:column;gap:14px}.pb-balance svg{color:#aaa}.pb-balance .pb-eyebrow{margin:0}.pb-balance strong{font-size:48px;font-weight:500;line-height:1.2}.pb-balance small{color:#71717f}.pb-balance .pb-actions{margin-top:13px}
.pb-tax-dates{display:flex;justify-content:space-between;gap:30px}.pb-tax-dates span{display:block;font-size:14px;color:#999;margin-bottom:10px}.pb-tax-dates strong{font-size:19px;font-weight:500}.pb-progress{height:7px;border-radius:5px;background:#38383d;margin-top:24px;overflow:hidden}.pb-progress>div{height:100%;background:var(--pb-accent)}
.pb-chart-head{display:flex;justify-content:space-between;font-size:14px;margin-bottom:16px;color:#b2b2bb}.pb-chart-head>span{display:flex;align-items:center;gap:8px;font-size:13px;color:#999}.pb-key{display:inline-block;width:8px;height:8px;border-radius:50%}.pb-key.income{background:#ddd}.pb-key.expense{background:var(--pb-accent);margin-left:10px}.pb-chart svg{width:100%;max-height:275px;overflow:visible}.pb-chart svg text{font-size:12px;fill:#81818d}.pb-chart-grid{stroke:#333;stroke-width:1;stroke-dasharray:3 5}.pb-line{fill:none;stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}.pb-line.income{stroke:#ddd}.pb-line.expense{stroke:var(--pb-accent)}.pb-dot.income{fill:#ddd;stroke:#1a1a1c;stroke-width:2}.pb-chart>small{display:block;color:#6b6b78;font-size:12px;margin-top:8px}
.modal:not(.pb-management){z-index:3000!important}.modal-backdrop.modal-backdrop.show{z-index:2900!important}.modal:not(.pb-management) .modal-dialog{max-width:640px}.modal:not(.pb-management) .modal-content{background:#202024;border:1px solid #50505a;border-radius:10px;color:#ddd}.modal-title{font-size:20px!important}.modal-header,.modal-footer{border-color:#3c3c43}.modal-body{font-size:16px;line-height:1.6}.btn-close{filter:invert(1) grayscale(100%);opacity:.65}

.pb-boot{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column}.pb-system-mark{font:650 58px Orbitron,Arial,sans-serif;letter-spacing:7px}.pb-system-mark span{color:var(--pb-accent);margin-left:16px}.pb-boot p{font-size:20px;color:#999;margin-top:25px}.pb-boot-track{width:340px;height:4px;background:#343434;border-radius:3px;overflow:hidden;margin:20px 0}.pb-boot-track i{display:block;height:100%;background:var(--pb-accent);animation:pb-boot var(--pb-boot-ms,900ms) linear forwards}.pb-boot small{font-size:14px;color:#606069}@keyframes pb-boot{from{width:0}to{width:100%}}
#pbm-cursor{position:fixed;left:50%;top:50%;width:21px;height:28px;z-index:2147483647;pointer-events:none;display:none;transform:translate(-2px,-2px);filter:drop-shadow(0 1px 2px #000);background:white;clip-path:polygon(5% 0,95% 65%,58% 65%,77% 97%,55% 100%,39% 72%,5% 97%)}
::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:#17171a}::-webkit-scrollbar-thumb{background:#48484f;border:2px solid #17171a;border-radius:6px}::-webkit-scrollbar-thumb:hover{background:#ff4500}
@media(max-width:1450px){.pb-window{width:calc(var(--pb-width) - 40px);height:calc(var(--pb-height) - 100px)}.pb-page{padding:18px}.pb-stat strong{font-size:28px}.pb-page-heading h4{font-size:20px}.pb-row-actions{flex-wrap:wrap}.pb-table-wrap td{padding:11px 12px}.pb-chart svg{max-height:205px}}

/* Orbitron is the existing local font of plasma_bossmenu, including modal portals.
   Geometry/DUI scale and icon SVGs are deliberately left untouched. */
html,body,.pb-computer,.modal,.modal-content,.popover,.tooltip{font-family:var(--pb-font)!important}
button,input,textarea,select,optgroup,.btn,.form-control,.form-select{font-family:var(--pb-font)!important}
.pb-computer svg text,.modal svg text{font-family:var(--pb-font)!important}
.pb-window-title{font-size:14px;letter-spacing:.07em}
.pb-desktop-icon strong{font-weight:550}
.pb-page-heading{flex-wrap:wrap;align-items:flex-start}
.pb-page-heading>div:first-child{min-width:0;flex:1 1 300px}
.pb-page-heading h4,.pb-page-heading p,.pb-cell-detail{overflow-wrap:anywhere}
.pb-row-actions{flex-wrap:wrap;white-space:normal;gap:6px}
.pb-row-actions .btn{white-space:nowrap}
.pb-table-wrap td{overflow-wrap:anywhere}
.pb-stat strong{white-space:normal;overflow:visible;overflow-wrap:anywhere}
.pb-balance strong{max-width:100%;overflow-wrap:anywhere;text-align:center}
.pb-manager-layout>div:first-child>div{gap:18px!important}
.pb-manager-layout>div:first-child>div:hover{max-width:375px!important}
.pb-manager-layout>div:first-child button{height:40px}
.pb-manager-layout>div:first-child button span{font-size:16px}
.pb-manager-layout .modal-header{flex-wrap:wrap;gap:14px;min-height:88px}
.pb-manager-layout .modal-header h6:first-child{font-size:14px!important}
.pb-manager-layout .modal-header h6:nth-child(2){font-size:18px!important}
.pb-manager-layout .modal-header>div{max-width:100%;min-width:0}
.pb-manager-layout .modal-header .card-body{flex-wrap:wrap;gap:10px}
.pb-manager-layout .modal-header .card-body>div{font-size:15px!important;line-height:1.4;overflow-wrap:anywhere}
.pb-manager-layout .modal-header .badge{font-size:12px;white-space:normal;line-height:1.5}
.pb-chart-head{flex-wrap:wrap;gap:10px}
.pb-chart>small{font-size:13px;line-height:1.65}
.pb-tax-dates{flex-wrap:wrap}
.pb-task-app.minimized:after{background:#aaa;width:20px;left:calc(50% - 10px);right:auto}
.pb-notification-button{width:46px;height:46px;position:relative;display:grid;place-items:center;border-radius:8px}
.pb-notification-button:hover,.pb-notification-button.active{background:#ffffff17!important;color:var(--pb-accent)}
.pb-notification-count{position:absolute;right:-6px;top:-1px;min-width:21px;padding:2px 4px;border-radius:9px;background:var(--pb-accent);color:#fff;font-size:10px;font-weight:750;line-height:1.3;text-align:center;border:2px solid #222}
.pb-notifications{position:absolute;bottom:78px;right:20px;width:min(570px,calc(var(--pb-width) - 40px));max-height:calc(var(--pb-height) - 100px);display:flex;flex-direction:column;border:1px solid #4c4c52;border-radius:12px;background:#19191cf7;backdrop-filter:blur(18px);box-shadow:0 20px 70px #0009;z-index:2000;color:#e8e8ee;overflow:hidden}
.pb-notice-header{display:flex;justify-content:space-between;gap:15px;align-items:flex-start;padding:22px 22px 16px;border-bottom:1px solid #34343b}
.pb-notice-header>div{min-width:0}.pb-notice-header h3{display:flex;gap:12px;align-items:center;font-size:19px;font-weight:650;margin:0;line-height:1.5}.pb-notice-header h3 svg{flex-shrink:0;color:var(--pb-accent)}.pb-notice-header p{font-size:13px;color:#aaaab5;margin:8px 0 0;overflow-wrap:anywhere}
.pb-icon-button{flex-shrink:0;background:none;border:0;color:#aaa;font-size:28px;line-height:1;width:30px;height:30px;border-radius:5px}.pb-icon-button:hover{background:#ffffff15;color:#fff}
.pb-notice-toolbar{display:flex;gap:9px;flex-wrap:wrap;padding:16px 22px 10px}.pb-notice-toolbar .btn{font-size:12px;padding:8px 10px}
.pb-notice-filters{display:flex;gap:13px;align-items:center;padding:5px 22px 15px;border-bottom:1px solid #34343b}.pb-notice-filters .form-select{font-size:13px!important;min-width:0;flex:1;padding:9px 28px 9px 10px!important}.pb-notice-filters label{display:flex;gap:8px;align-items:center;white-space:nowrap;font-size:12px;color:#b4b4be}.pb-notice-filters input{width:15px;height:15px;accent-color:#ff4500}
.pb-notice-list{flex:1;min-height:90px;overflow-y:auto;overscroll-behavior:contain}.pb-notice{padding:18px 22px;border-bottom:1px solid #303036}.pb-notice:last-child{border-bottom:0}.pb-notice.unread{background:#ff450008;border-left:3px solid #ff4500;padding-left:19px}
.pb-notice-meta{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:11px;color:#9797a4;margin-bottom:9px}.pb-notice-meta>span{color:#ff986f}.pb-notice h4{font-size:15px;line-height:1.6;font-weight:650;margin:0 0 7px;overflow-wrap:anywhere}.pb-notice h4>i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#ff4500;margin-right:9px;vertical-align:middle}.pb-notice p{font-size:13px;line-height:1.75;color:#b9b9c3;margin:0 0 8px;overflow-wrap:anywhere;white-space:pre-wrap}.pb-notice small{display:block;font-size:11px;line-height:1.6;color:#90909e;margin-top:8px;overflow-wrap:anywhere}.pb-notice-amount{display:block;font-size:18px;font-weight:600;overflow-wrap:anywhere}.pb-notice-footer{display:flex;justify-content:space-between;gap:14px;padding:13px 20px;border-top:1px solid #34343b;font-size:11px;color:#8f8f9b;flex-wrap:wrap}
.pb-compact .pb-window:not(.pb-maximized){width:calc(var(--pb-width) - 40px);height:calc(var(--pb-height) - 100px)}
.pb-compact .pb-page{padding:18px}.pb-compact .pb-stat strong{font-size:28px}.pb-compact .pb-page-heading h4{font-size:22px}.pb-compact .pb-table-wrap td{padding:12px}.pb-compact .pb-chart svg{max-height:235px}

/* Leggibilita' sul portatile: testi +25% circa, senza scalare input, camera o DUI. */
body{font-size:22px;line-height:1.55}
.pb-window{width:min(1560px,calc(var(--pb-width) - 40px));height:calc(var(--pb-height) - 112px)}
.pb-desktop-icon{width:174px;min-height:150px;gap:12px}
.pb-desktop-icon strong{font-size:20px;line-height:1.5}
.pb-window-title{font-size:18px;letter-spacing:.035em}
.pb-windowbar{min-height:50px}
.pb-task-app{font-size:20px!important;height:54px}
.pb-clock strong{font-size:22px}.pb-clock span{font-size:17px}
.pb-page{padding:26px;min-width:0}
.pb-page-heading{gap:18px}.pb-page-heading h4{font-size:28px;line-height:1.35}
.pb-page-heading p,.pb-muted{font-size:18px;line-height:1.65}
.pb-card,.card{min-width:0}.card-header{font-size:21px;line-height:1.5}
.pb-eyebrow{font-size:17px;line-height:1.6;letter-spacing:.04em}
.pb-stat strong{font-size:38px;line-height:1.35}
.pb-stat small{font-size:17px;line-height:1.6}
.pb-table-wrap th{font-size:17px;line-height:1.6;padding:16px}
.pb-table-wrap td{font-size:20px;line-height:1.55;padding:16px;vertical-align:middle}
.pb-cell-detail{font-size:16px;line-height:1.6}
.pb-row-actions{gap:8px}.pb-row-actions .btn{font-size:16px!important;padding:9px 12px!important;min-height:42px}
.btn{font-size:19px!important;line-height:1.45!important;padding:11px 17px!important;min-height:46px;white-space:normal}
.btn-sm{font-size:17px!important;padding:9px 13px!important}
.form-control,.form-select{font-size:20px!important;line-height:1.5!important;min-height:49px;padding:11px 14px!important}
.form-select{padding-right:42px!important}.form-label{font-size:19px;line-height:1.5}
.pb-search{max-width:100%;width:520px}
.badge{font-size:15px;line-height:1.5;white-space:normal}
.pb-empty{font-size:20px;line-height:1.6;padding:30px 18px}
.pb-balance strong{font-size:56px}.pb-balance small{font-size:18px;line-height:1.5}
.pb-tax-dates span{font-size:18px}.pb-tax-dates strong{font-size:23px;line-height:1.5}
.pb-chart-head{font-size:19px;line-height:1.5}.pb-chart-head>span{font-size:17px}
.pb-chart svg text{font-size:15px}.pb-chart>small{font-size:16px;line-height:1.7}
.pb-manager-layout>div:first-child>div{gap:12px!important}
.pb-manager-layout>div:first-child>div:hover{max-width:425px!important}
.pb-manager-layout>div:first-child button{height:auto;min-height:50px}
.pb-manager-layout>div:first-child button span{font-size:19px;line-height:1.4}
.pb-manager-layout .modal-header{min-height:102px;gap:16px}
.pb-manager-layout .modal-header h6:first-child{font-size:17px!important;line-height:1.5}
.pb-manager-layout .modal-header h6:nth-child(2){font-size:22px!important;line-height:1.5}
.pb-manager-layout .modal-header .card-body>div{font-size:18px!important;line-height:1.5}
.pb-manager-layout .modal-header .badge{font-size:15px;line-height:1.5}
.modal:not(.pb-management) .modal-dialog{max-width:720px;margin-left:auto;margin-right:auto}
.modal-title{font-size:25px!important;line-height:1.45}
.modal-body{font-size:20px;line-height:1.65;overflow-wrap:anywhere}
.modal-footer{flex-wrap:wrap;gap:8px}

.pb-notifications{width:min(660px,calc(var(--pb-width) - 40px))}
.pb-notice-header h3{font-size:24px;line-height:1.4}.pb-notice-header p{font-size:17px;line-height:1.55}
.pb-notice-toolbar .btn{font-size:15px!important;padding:10px 13px!important;min-height:44px}
.pb-notice-filters{gap:16px;flex-wrap:wrap}.pb-notice-filters .form-select{font-size:17px!important;min-height:46px;flex:1 1 230px}
.pb-notice-filters label{font-size:16px;line-height:1.5}.pb-notice-filters input{width:19px;height:19px}
.pb-notice-meta{font-size:14px;line-height:1.6}.pb-notice h4{font-size:19px;line-height:1.5}
.pb-notice p{font-size:17px;line-height:1.65}.pb-notice small{font-size:14px;line-height:1.6}
.pb-notice-amount{font-size:23px}.pb-notice-footer{font-size:14px;line-height:1.5}





.pb-compact .pb-window:not(.pb-maximized){width:calc(var(--pb-width) - 40px);height:calc(var(--pb-height) - 104px)}
.pb-compact .pb-page{padding:20px}.pb-compact .pb-stat strong{font-size:32px}
.pb-compact .pb-page-heading h4{font-size:26px}.pb-compact .pb-table-wrap td{padding:13px}
.pb-compact .pb-chart svg{max-height:205px}
@media(max-width:1000px){.pb-stats{grid-template-columns:1fr}.modal:not(.pb-management) .modal-dialog{max-width:calc(100% - 36px)}.pb-notifications{right:12px;width:calc(var(--pb-width) - 24px)}}

/* La finestra interna segue l'altezza reale della barra del titolo. */
.pb-management.modal-dialog{height:calc(100% - 50px)!important}
.pb-page .card-header{font-size:21px;line-height:1.5}

/* Revisione 2.1.3: corpo 25px, tabelle 25px, comandi 22px.
   Le dimensioni DUI, il puntatore e lo sfondo originale restano invariati. */
:root{--pb-text-body:25px;--pb-text-detail:20px;--pb-text-title:34px;--pb-text-control:22px}
body{font-size:var(--pb-text-body);line-height:1.55}
.pb-desktop-icon{width:210px;min-height:164px}
.pb-desktop-icon strong{font-size:25px;line-height:1.5}
.pb-window-title{font-size:22px;letter-spacing:.025em}
.pb-windowbar{height:58px;min-height:58px}
.pb-management.modal-dialog{height:calc(100% - 58px)!important}
.pb-window-buttons button{width:28px;height:28px;font-size:22px}
.pb-page{padding:26px}
.pb-page-heading h4,.pb-compact .pb-page-heading h4{font-size:var(--pb-text-title);line-height:1.35}
.pb-page-heading p,.pb-muted{font-size:22px;line-height:1.6}
.pb-page .card-header{font-size:25px;line-height:1.5}
.pb-eyebrow{font-size:21px;letter-spacing:.035em;line-height:1.5}
.pb-stat strong,.pb-compact .pb-stat strong{font-size:43px;line-height:1.3}
.pb-stat small{font-size:21px;line-height:1.55}
.pb-table-wrap th{font-size:21px;letter-spacing:.03em;padding:16px;line-height:1.5}
.pb-table-wrap td{font-size:25px;padding:16px;line-height:1.5}
.pb-cell-detail{font-size:20px;line-height:1.55}
.pb-row-actions{min-width:245px;gap:10px}
.pb-row-actions .btn{font-size:20px!important;white-space:normal;min-height:48px;padding:10px 13px!important}
.btn{font-size:var(--pb-text-control)!important;line-height:1.45!important;min-height:52px;padding:12px 18px!important}
.btn-sm{font-size:20px!important;min-height:48px}
.form-control,.form-select{font-size:25px!important;min-height:56px;line-height:1.5!important}
.form-label{font-size:23px;line-height:1.5}
.pb-search{width:650px;max-width:100%}
.badge{font-size:19px;line-height:1.5;letter-spacing:.02em}
.pb-empty{font-size:25px;line-height:1.6}
.pb-balance strong{font-size:62px}
.pb-balance small{font-size:22px;line-height:1.5}
.pb-tax-dates span{font-size:22px}.pb-tax-dates strong{font-size:27px;line-height:1.5}
.pb-chart-head{font-size:23px;line-height:1.5}.pb-chart-head>span{font-size:20px;flex-wrap:wrap}
.pb-chart svg text{font-size:18px}.pb-chart>small{font-size:20px;line-height:1.6}
.pb-manager-layout>div:first-child>div:hover{max-width:500px!important}
.pb-manager-layout>div:first-child button{min-height:54px;height:auto}
.pb-manager-layout>div:first-child button span{font-size:23px;line-height:1.5}
.pb-manager-layout .modal-header h6:first-child{font-size:21px!important;line-height:1.5}
.pb-manager-layout .modal-header h6:nth-child(2){font-size:27px!important;line-height:1.5}
.pb-manager-layout .modal-header .card-body>div{font-size:22px!important;line-height:1.5}
.pb-manager-layout .modal-header .badge{font-size:19px;line-height:1.5}
.modal:not(.pb-management) .modal-dialog{max-width:min(860px,calc(100vw - 36px))}
.modal:not(.pb-management) .modal-content{max-height:calc(100vh - 36px)}
.modal:not(.pb-management) .modal-body{overflow-y:auto;min-height:0}
.modal-title{font-size:30px!important;line-height:1.4}
.modal-body{font-size:25px;line-height:1.6}
.modal-footer{flex-shrink:0}

/* Campanella: testi ingranditi soltanto nel centro notifiche. */
.pb-notifications{
    width:min(880px,calc(var(--pb-width) - 40px));
    min-height:0;
    overflow-y:auto;
}
.pb-notice-header,.pb-notice-toolbar,.pb-notice-filters,.pb-notice-footer{
    flex-shrink:0;
}
.pb-notice-header h3{font-size:34px;line-height:1.4;overflow-wrap:anywhere}
.pb-notice-header h3 svg{width:30px;height:30px}
.pb-notice-header p{font-size:26px;line-height:1.5}
.pb-notifications .pb-icon-button{width:38px;height:38px;font-size:34px}
.pb-notice-toolbar .btn{font-size:24px!important;min-height:56px}
.pb-notice-filters .form-select{font-size:25px!important;min-height:58px;flex-basis:320px;padding-right:42px!important}
.pb-notice-filters label{font-size:24px;line-height:1.5}
.pb-notice-filters input{width:26px;height:26px;flex-shrink:0}
.pb-notice-list{min-height:96px;overflow-x:hidden}
.pb-notice{padding:22px 24px}
.pb-notice.unread{padding-left:21px}
.pb-notice-meta{font-size:23px;line-height:1.55;gap:10px 18px;overflow-wrap:anywhere}
.pb-notice h4{font-size:30px;line-height:1.5;margin-bottom:10px}
.pb-notice h4>i{width:9px;height:9px}
.pb-notice p{font-size:28px;line-height:1.6}
.pb-notice small{font-size:23px;line-height:1.55}
.pb-notice-amount{font-size:34px;line-height:1.45}
.pb-notice-footer{font-size:23px;line-height:1.5}

.pb-notifications .pb-empty{font-size:28px;line-height:1.6;overflow-wrap:anywhere}
.pb-notification-count{font-size:16px;min-width:30px}
.pb-task-app{font-size:23px!important}
.pb-clock strong{font-size:26px}.pb-clock span{font-size:20px}
.pb-boot p{font-size:27px}.pb-boot small{font-size:21px}
.pb-compact .pb-page{padding:20px}
.pb-compact .pb-table-wrap th,.pb-compact .pb-table-wrap td{padding:14px}
@media(max-width:1100px){.pb-stats{grid-template-columns:1fr}.pb-notice-toolbar{gap:8px}.pb-task-app{padding:0 10px}}

/* Colonne del personale: i ruoli non si spezzano a meta' parola. */
.pb-employee-table{table-layout:fixed;width:100%;min-width:1080px}
.pb-employee-table th:nth-child(1){width:30%}
.pb-employee-table th:nth-child(2){width:15%}
.pb-employee-table th:nth-child(3){width:24%}
.pb-employee-table th:nth-child(4){width:31%}
.pb-employee-table td:nth-child(1),.pb-employee-table td:nth-child(3){overflow-wrap:break-word;word-break:normal}

/* Import is part of the existing management window. */
.pb-import-tabs{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:24px;border-bottom:1px solid #36363d;padding-bottom:16px}
.pb-import-tabs button{border:1px solid #414148;border-radius:7px;background:#222225;color:#bbb;padding:12px 19px;font-size:22px;line-height:1.45}
.pb-import-tabs button.active{background:#ff450021;border-color:#ff4500;color:#fff}.pb-import-tabs button:hover{border-color:#ff7947}.pb-import-tabs button>span{font-size:17px;color:#ffab8d;margin-left:12px}
.pb-import-layout{display:grid;grid-template-columns:minmax(0,1fr) 350px;align-items:start;gap:22px}.pb-import-catalog,.pb-import-cart{min-width:0}
.pb-import-catalog .pb-search{width:100%;max-width:100%;margin:0 0 18px}.pb-import-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.pb-import-product .card-body{padding:18px;display:flex;flex-direction:column;height:100%;justify-content:space-between;gap:22px}.pb-import-product-heading{display:flex;gap:13px;align-items:center;min-height:94px}.pb-import-product-heading>div:last-child{min-width:0}.pb-import-product-heading strong{font-size:22px;font-weight:550;line-height:1.5;overflow-wrap:anywhere;display:block}.pb-import-product-heading span{font-size:19px;color:#ff956e;display:block;margin-top:9px}
.pb-import-product-image{width:76px;height:76px;flex:0 0 76px;display:grid;place-items:center;border-radius:10px;background:#ffffff05;color:#ff7947}.pb-import-product-image img{display:block;max-width:70px;max-height:70px;object-fit:contain}
.pb-import-quantity{display:grid;grid-template-columns:46px minmax(0,1fr) 46px;gap:9px;align-items:stretch}.pb-import-quantity>button{border:1px solid #4d4d54;border-radius:6px;background:#29292e;color:#eee;font-size:28px;line-height:1}.pb-import-quantity>button:hover:not(:disabled){border-color:#ff4500;background:#ff450026}.pb-import-quantity .form-control{text-align:center;font-size:23px!important;min-width:0;padding-left:6px!important;padding-right:6px!important}.pb-import-quantity button:disabled{opacity:.35}
.pb-import-cart{position:sticky;top:0}.pb-import-cart .card-header{font-size:24px}.pb-import-cart .card-body{padding:20px}.pb-import-cart ul{list-style:none;margin:0;padding:0;max-height:355px;overflow-y:auto}.pb-import-cart li{display:flex;align-items:flex-start;gap:12px;justify-content:space-between;border-bottom:1px solid #36363d;padding:14px 0}.pb-import-cart li:first-child{padding-top:0}.pb-import-cart li>div{min-width:0}.pb-import-cart li strong{display:block;font-size:20px;line-height:1.6;font-weight:500;overflow-wrap:anywhere}.pb-import-cart li small{font-size:18px;line-height:1.6;color:#aaa;display:block;margin-top:5px}.pb-import-cart li button{width:29px;height:30px;flex:0 0 29px;border:0;border-radius:5px;background:#ffffff0c;color:#ccc;font-size:24px;line-height:1}.pb-import-cart .pb-muted{font-size:21px;line-height:1.6}.pb-import-total{border-top:1px solid #4a4a53;margin-top:20px;padding:18px 0}.pb-import-total>span{font-size:18px;display:block;color:#aaa;line-height:1.6;overflow-wrap:anywhere}.pb-import-total strong{display:block;color:#ff956e;font-size:34px;line-height:1.45;margin-top:6px;overflow-wrap:anywhere}.pb-import-cart-note{display:block;font-size:18px;line-height:1.6;color:#aaa;margin-top:14px}
.pb-import-tracking h5{font-size:27px;line-height:1.4;margin:22px 0 16px}.pb-import-tracking h5:first-child{margin-top:0}.pb-import-order-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.pb-import-order{border:1px solid #393940;border-radius:9px;padding:22px;background:#1a1a1d;min-width:0}.pb-import-current{border-color:#ff45007a}.pb-import-order-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;flex-wrap:wrap}.pb-import-order-heading>div{min-width:0}.pb-import-order-heading strong{display:block;font-size:23px;line-height:1.5;overflow-wrap:anywhere}.pb-import-order-heading small{font-size:18px;color:#aaa;display:block;margin-top:7px}.pb-import-order-heading .badge{font-size:16px;line-height:1.6;white-space:normal}.pb-import-order-meta{display:flex;gap:18px;flex-wrap:wrap;align-items:center;margin-top:20px}.pb-import-order-meta strong{font-size:27px;color:#ff956e;overflow-wrap:anywhere}.pb-import-order-meta>span{font-size:20px;color:#aaa}.pb-import-pickup{font-size:21px;line-height:1.7;margin:18px 0;color:#c8c8d0}.pb-import-order details{margin-top:18px}.pb-import-order summary{font-size:19px;line-height:1.5;color:#ccc}.pb-import-order ul{list-style:none;padding:0;margin:15px 0 0}.pb-import-order li{display:flex;justify-content:space-between;gap:18px;font-size:19px;padding:8px 0;border-bottom:1px solid #303037}.pb-import-order li>span{min-width:0;overflow-wrap:anywhere}.pb-import-order li strong{white-space:nowrap;font-size:18px}.pb-import-order-footer{font-size:17px;color:#999;line-height:1.6;display:block;margin-top:18px}
@media(max-width:1350px){.pb-import-layout{grid-template-columns:minmax(0,1fr) 315px}.pb-import-product-heading{flex-direction:column;align-items:flex-start;gap:10px}.pb-import-product-heading strong{font-size:21px}.pb-import-quantity{grid-template-columns:40px minmax(0,1fr) 40px;gap:6px}.pb-import-product .card-body{padding:14px}.pb-import-cart .card-body{padding:16px}}
@media(max-width:1000px){.pb-import-layout{grid-template-columns:1fr}.pb-import-cart{position:static;grid-row:1}.pb-import-cart ul{max-height:220px}.pb-import-order-list{grid-template-columns:1fr}.pb-import-products{grid-template-columns:repeat(2,minmax(0,1fr))}.pb-import-product-heading{flex-direction:row}}
