/* Shared application chrome; specialist page content and data remain independent. */
body.ap-unified{--ap-navy:#082d55;--ap-text:#173b60;--ap-muted:#60768c;--ap-accent:#ff8a0a;--ap-border:#d6e4ef;margin:0;background:#f5f8fc;color:var(--ap-text);font:14px/1.5 Inter,Arial,sans-serif}
.ap-unified *{box-sizing:border-box}.ap-unified button,.ap-unified input,.ap-unified select,.ap-unified textarea{font-family:inherit}
.ap-unified .app,.ap-unified .layout{display:block;min-height:100vh}.ap-unified .app>.main,.ap-unified .layout>.main,.ap-unified>.m{display:block;grid-column:auto;margin-left:268px;min-width:0;min-height:100vh}
.ap-unified aside.side,.ap-unified .layout>aside,.ap-unified .s{position:fixed;inset:0 auto 0 0;width:268px;height:100vh;height:100dvh;padding:0;overflow-y:auto;overflow-x:hidden;background:linear-gradient(180deg,#002449,#063b6c);color:#fff;z-index:40;scrollbar-width:thin}
.ap-unified .ap-ui-logo{display:block;margin:0;padding:22px 26px 20px;color:#fff;font-size:34px;line-height:1.2;font-weight:800;letter-spacing:-1.5px;text-decoration:none}.ap-unified .ap-ui-logo b{color:var(--ap-accent)}
.ap-unified .ap-ui-nav{display:block;padding-bottom:24px;margin:0}.ap-unified .ap-ui-nav a{display:flex;align-items:center;gap:12px;min-height:44px;margin:0;padding:10px 22px;border:0;border-left:4px solid transparent;color:#e6eff9;font-size:13px;line-height:1.4;font-weight:500;text-decoration:none;background:transparent}
.ap-unified .ap-ui-nav a:hover{background:#ffffff12;color:#fff}.ap-unified .ap-ui-nav a.active{border-left-color:#fff;background:var(--ap-accent);color:#fff;font-weight:700;padding-left:22px}.ap-unified .ap-nav-icon{display:inline-flex;width:20px;height:20px;flex-shrink:0;align-items:center;justify-content:center}.ap-unified .ap-nav-icon svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.ap-unified .ap-ui-nav .ap-nav-group{display:block;margin:16px 22px 6px;padding:15px 4px 3px;border-top:1px solid #ffffff35;color:#b9d0e5;font-size:11px;line-height:1.4;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.ap-unified .main>.top,.ap-unified .m>.top{display:flex;align-items:center;flex-wrap:nowrap;gap:16px;position:sticky;top:0;z-index:20;min-height:72px;height:72px;padding:14px 32px;background:white;border-bottom:1px solid var(--ap-border);box-shadow:none}
.ap-unified .ap-ui-search,.ap-unified .top>.search{display:flex;align-items:center;gap:10px;flex:1;min-width:0;max-width:760px;width:auto;margin:0;padding:11px 16px;background:#f1f6fb;border:1px solid #e0e9f2;border-radius:24px;color:#657d95;font:13px/1.4 Inter,Arial,sans-serif;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}.ap-unified .ap-ui-search span{overflow:hidden;text-overflow:ellipsis}.ap-unified .ap-ui-search svg{width:18px;height:18px;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:1.8}
.ap-unified .ap-account-toolbar{margin-left:auto;flex-wrap:nowrap;gap:12px;font-family:inherit}.ap-unified .ap-account-action{font:600 13px/1.4 Inter,Arial,sans-serif;border-color:#c2d4e4;border-radius:7px;padding:9px 13px;color:var(--ap-navy)}
.ap-unified .main>.content,.ap-unified .m>.c{width:100%;max-width:1440px;margin:0 auto;padding:28px 32px 44px;min-width:0}.ap-unified .content>h1,.ap-unified .c>h1,.ap-unified .title,.ap-unified .firma-heading h1{font-size:32px;line-height:1.2;letter-spacing:-.7px;font-weight:750;color:var(--ap-navy);margin:0 0 8px}.ap-unified .sub{font-size:15px;line-height:1.6;color:var(--ap-muted);margin:0 0 24px}
.ap-unified .panel,.ap-unified .card,.ap-unified .firma-box,.ap-unified .firma-stat,.ap-unified .firma-search,.ap-unified .firma-result{border:1px solid var(--ap-border);border-radius:12px;background:white;box-shadow:0 2px 8px #082d5506}.ap-unified .panel{margin:0 0 18px}.ap-unified .card{padding:20px}.ap-unified .card .num{font-size:30px;line-height:1.2;margin:12px 0 8px;color:var(--ap-navy)}
.ap-unified .cards{gap:16px;margin-bottom:22px}.ap-unified .cards>.card{min-width:0}.ap-unified .grid{grid-template-columns:minmax(0,1fr) 320px;gap:22px}.ap-unified .grid>*{min-width:0}.ap-unified .ph{padding:16px 20px;border-bottom:1px solid #e5edf5;font-size:17px;line-height:1.4;color:var(--ap-navy)}.ap-unified .ph a{font-size:12px;font-weight:600;white-space:nowrap}.ap-unified .detail{padding:20px}.ap-unified .table th{font-size:12px;color:#5d758d;background:#f5f8fc;font-weight:600;padding:11px 16px}.ap-unified .table td{padding:12px 16px;line-height:1.5;border-bottom:1px solid #e7eef5}.ap-unified .table a{font-weight:600}.ap-unified .hero{border-radius:12px;background:linear-gradient(135deg,#073c6d,#082d55)}.ap-unified .check{padding:14px 20px;line-height:1.6}.ap-unified .footer-note{font-size:12px;line-height:1.6;color:#6b8298}
.ap-unified .btn,.ap-unified .btn2,.ap-unified .firma-button{border-radius:7px;font-family:inherit;line-height:1.4}.ap-unified .ap-table-scroll{max-width:100%;overflow-x:auto}.ap-unified .ap-table-scroll table{margin:0;width:100%}.ap-unified .ap-table-wide{min-width:540px}.ap-unified :focus-visible{outline:3px solid #2d85c6;outline-offset:3px}
.ap-unified .ap-mobile-menu{display:none}.ap-unified #ap-nav-backdrop{display:none}
@media(max-width:1120px){.ap-unified .grid{grid-template-columns:minmax(0,1fr)}.ap-unified .cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.ap-unified .app>.main,.ap-unified .layout>.main,.ap-unified>.m{margin-left:0}.ap-unified aside.side,.ap-unified .layout>aside,.ap-unified .s{transform:translateX(-100%);transition:transform .18s ease}.ap-unified.ap-nav-open aside.side,.ap-unified.ap-nav-open .layout>aside,.ap-unified.ap-nav-open .s{transform:translateX(0)}.ap-unified.ap-nav-open{overflow:hidden}.ap-unified.ap-nav-open #ap-nav-backdrop{display:block;position:fixed;inset:0;width:100%;height:100%;border:0;background:#082d5580;z-index:30}.ap-unified .ap-mobile-menu{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;width:38px;height:38px;padding:8px;border:1px solid #c2d4e4;background:white;border-radius:7px;color:var(--ap-navy)}.ap-unified .ap-mobile-menu svg{width:22px;height:22px;stroke:currentColor;stroke-width:1.8;fill:none}.ap-unified .main>.top,.ap-unified .m>.top{height:auto;min-height:68px;padding:12px 16px;gap:10px}.ap-unified .main>.content,.ap-unified .m>.c{padding:22px 16px 32px}.ap-unified .ap-ui-search,.ap-unified .top>.search{padding:10px 12px;font-size:12px}.ap-unified .content>h1,.ap-unified .c>h1,.ap-unified .title,.ap-unified .firma-heading h1{font-size:28px}.ap-unified .kanban,.ap-unified .two,.ap-unified .detail-grid{grid-template-columns:minmax(0,1fr)}.ap-unified .content{overflow-wrap:anywhere}.ap-unified .profilehead{flex-wrap:wrap}}
@media(max-width:520px){.ap-unified .cards{grid-template-columns:minmax(0,1fr)}.ap-unified .ap-account-name{display:none}.ap-unified .ap-account-action{padding:9px 10px}.ap-unified .ap-ui-search span{max-width:38vw}.ap-unified .ph{padding:14px 16px;gap:10px;flex-wrap:wrap}.ap-unified .detail{padding:16px}.ap-unified .table th,.ap-unified .table td{padding:10px 12px}.ap-unified .firma-search-row,.ap-unified .firma-result,.ap-unified .firma-heading{display:flex;flex-direction:column;align-items:stretch}}
@media(prefers-reduced-motion:reduce){.ap-unified aside.side,.ap-unified .layout>aside,.ap-unified .s{transition:none}}
.ap-unified .cards .card a{color:#075aa9;text-decoration:none;font-size:13px;font-weight:600}.ap-unified .cards .card a:hover{text-decoration:underline}.ap-unified .hero a{display:inline-flex;align-items:center;margin-top:12px;padding:10px 13px;border-radius:7px;background:#fff;color:#082d55;text-decoration:none;font-size:13px;font-weight:700;line-height:1.5}.ap-unified .hero a:hover{background:#edf5fc}.ap-unified .hero:after{content:'';width:160px;height:160px;border:24px solid #ffffff16;border-radius:50%;right:-75px;top:25px;opacity:1}.ap-unified .hero h2{font-size:24px;line-height:1.3}.ap-unified .ap-heading-icon{display:inline-flex;vertical-align:middle;margin-right:8px;flex-shrink:0}.ap-unified .cards .card>b .ap-heading-icon{width:16px;height:16px;margin-right:5px}.ap-unified .cards .card>b .ap-heading-icon svg{width:16px;height:16px}
.ap-unified .tabs{max-width:100%;overflow-x:auto;min-width:0}.ap-unified .tabs a{flex-shrink:0}.ap-unified .two>*{min-width:0}.ap-unified .m>.c{overflow-wrap:anywhere}.ap-unified #auftrag-mail-dialog a.am-send{background:var(--ap-accent);border-color:var(--ap-accent)}
.ap-unified .ph{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.ap-unified .ap-heading-label{display:inline-flex;align-items:center;gap:8px;min-width:0;max-width:100%}.ap-unified .ap-heading-label .ap-heading-icon{margin:0}.ap-unified .ph>a{margin-left:auto}
