/* Shared Brokeria palette, scoped to the four office modules. */
body{--work-accent:#c5007b;--work-tint:#fff0f8;--work-gradient:linear-gradient(120deg,#78004f,#c5007b)}
body.work-agreement{--work-accent:#5267df;--work-tint:#eff0ff;--work-gradient:linear-gradient(120deg,#283d8c,#7552bd)}
body.work-planning{--work-accent:#167b77;--work-tint:#e9faf6;--work-gradient:linear-gradient(120deg,#153d61,#167b77)}
body.work-expenses{--work-accent:#b74b0a;--work-tint:#fff4e8;--work-gradient:linear-gradient(120deg,#803454,#b74b0a)}
#work-root>main{background:linear-gradient(135deg,var(--work-tint),#fff8fc 55%,#edfaf7);color:#17131a}
#work-root header{background:var(--work-gradient);color:white;border-bottom:4px solid #65e6d1}
#work-root header p{color:inherit}
#work-root header select,#work-root header option,#work-root header optgroup{color:#17131a;background:white}
#work-root header [class*="bg-[#f7edf2]"],#work-root header [class*="bg-[#fbf8fa]"],#work-root header button[class*="bg-white"]{color:#78004f}
#work-root header button[class*="bg-white"] svg{color:#78004f}
#work-root header button:not([class*="bg-white"]){color:white}
#work-root header button:not([class*="bg-white"]) span,#work-root header button:not([class*="bg-white"]) svg{color:inherit}
#work-root header button:not([class*="bg-white"]):hover{background:#ffffff20}
#work-root .work-zone-back{display:inline-flex;align-items:center;flex-shrink:0;padding:10px 14px;border:1px solid #ffffff80;border-radius:12px;color:white;background:#ffffff15;font-weight:700;font-size:14px;text-decoration:none}
#work-root .work-zone-back:hover{background:#ffffff30}
#work-root .work-zone-back:focus-visible{outline:2px solid #65e6d1;outline-offset:3px}
#work-root header button{border-color:#ffffff80}
#work-root aside{background:linear-gradient(180deg,#fff,var(--work-tint));border-color:#efd5e4}
#work-root aside nav button[class*="bg-[#a00058]"]{background:var(--work-gradient)}
#work-root article{border-color:#efd5e4;box-shadow:0 8px 24px #78004f0a;border-top:3px solid var(--work-accent)}
#work-root [class*="bg-[#a00058]"]{background:var(--work-gradient)}
#work-root [class*="bg-[#f7edf2]"],#work-root [class*="bg-[#f7e7f0]"]{background:var(--work-tint)}
#work-root [class*="text-[#a00058]"]{color:var(--work-accent)}
#work-root input:focus,#work-root select:focus,#work-root textarea:focus{outline:2px solid var(--work-accent);outline-offset:2px}
#work-root img[alt="Brokeria"]{height:48px;width:150px;object-fit:contain;border-radius:12px}
#work-root aside img+span{display:none}
.zone-return{background:var(--work-gradient);border:2px solid white;box-shadow:0 6px 24px #78004f25}
@media(max-width:640px){#work-root header{gap:12px;flex-wrap:wrap}#work-root img[alt="Brokeria"]{width:125px;height:42px}.zone-return{bottom:12px;font-size:13px}}
@media print{#work-root>main,#work-root header,#work-root aside{background:white;color:#17131a}.zone-return{display:none}}
/* Shared calculator scale and Brokeria Komárno colours. */
body.work-newcomers,body.work-planning,body.work-agreement,body.work-expenses{--work-accent:#c5007b;--work-tint:#fff0f8;--work-gradient:linear-gradient(120deg,#78004f,#c5007b);font-size:16px}
#work-root .work-topbar{position:sticky;top:0;z-index:20;display:flex;align-items:center;min-height:76px;padding:16px 32px;border-bottom:3px solid #65e6d1}
#work-root .work-zone-back{font-size:16px;padding:12px 18px}
#work-root aside nav button{font-size:16px;padding-top:14px;padding-bottom:14px}
#work-root [class~="text-xs"]{font-size:14px;line-height:1.5}
#work-root [class~="text-sm"]{font-size:16px;line-height:1.5}
#work-root input,#work-root select,#work-root textarea{font-size:16px;min-height:46px}
#work-root article{border-radius:22px}
#work-root [class*="max-w-[1500px]"]{max-width:1440px}
@media(max-width:1023px){#work-root aside{position:static;display:flex;width:auto;padding:18px 20px}#work-root aside>div{display:none}#work-root aside nav{display:flex;gap:8px;overflow:auto}#work-root aside nav>p{display:none}#work-root aside nav button{width:auto;white-space:nowrap;font-size:14px;padding:10px 12px}#work-root .work-topbar{padding:12px 20px;min-height:64px}}
@media print{#work-root aside,#work-root header,#work-root footer{display:none!important}#work-root [class*="lg:pl-"]{padding-left:0!important}}
.linked-newcomer{margin-bottom:28px}.linked-card{background:#fff;border:1px solid #efd5e4;border-top:4px solid #c5007b;border-radius:22px;padding:26px;margin-bottom:24px;box-shadow:0 8px 24px #78004f0a}.linked-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.linked-heading h2{font-size:26px;font-weight:800;margin:4px 0 16px}.linked-eyebrow{color:#a00058;font-weight:700;font-size:14px}.linked-newcomer button{padding:12px 18px;border-radius:12px;background:#a00058;color:white;font-weight:700}.linked-goals{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px;margin:18px 0}.linked-goals dt{font-size:14px;color:#786872}.linked-goals dd{margin:4px 0;font-weight:700;white-space:pre-wrap}.linked-note{font-size:14px;line-height:1.6;color:#786872;margin:12px 0 18px}.linked-table-scroll{overflow:auto}.linked-newcomer table{border-collapse:collapse;width:100%;font-size:15px}.linked-newcomer caption{text-align:left;font-weight:700;padding:12px 0}.linked-newcomer th,.linked-newcomer td{padding:12px;border-bottom:1px solid #efd5e4;text-align:left;white-space:nowrap}.linked-newcomer thead{background:#fff0f8}.linked-newcomer progress{width:100%;height:16px;accent-color:#a00058;margin:10px 0}.linked-stage{border:1px solid #eadde4;border-radius:16px;padding:18px;margin-top:14px}.linked-stage summary{cursor:pointer;font-weight:800;color:#a00058;padding:6px 0}.linked-stage h3{margin-top:18px;font-weight:700}.linked-task{display:flex;gap:14px;align-items:flex-start;padding:14px 0;border-bottom:1px solid #f1e5ec;cursor:pointer}.linked-task input[type=checkbox]{min-height:24px!important;width:24px;height:24px;flex-shrink:0;accent-color:#a00058}.linked-task strong{font-weight:600;line-height:1.5}.linked-task small{display:block;color:#786872;font-size:14px;margin-top:4px}.linked-identity{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin:18px 0}.linked-field{display:block;font-size:14px;color:#695963;font-weight:600}.linked-field input,.linked-field textarea{display:block;width:100%;border:1px solid #dfcbd5;border-radius:10px;background:white;padding:10px;margin-top:8px;color:#231626}.linked-field textarea{min-height:90px;resize:vertical}@media(max-width:640px){.linked-card{padding:18px}.linked-heading h2{font-size:23px}.linked-stage{padding:14px}}
