/* Hilfsmittel Anträge — Customer Portal v2 */
.woocommerce-account{background:#f2f4f2}
.woocommerce-account .page-hero{min-height:210px;background:linear-gradient(115deg,#171b1c 0%,#222a28 72%,#294039 100%)}
.woocommerce-account .page-hero>div{padding:52px 0}
.woocommerce-account .page-hero h1{font-size:clamp(38px,4.4vw,58px)}
.woocommerce-account.logged-in .commerce-wrap,.woocommerce-account.logged-in .content-wrap{width:min(1320px,calc(100% - 48px));max-width:1320px;padding:54px 0 100px}
.woocommerce-account.logged-in .entry-content{max-width:none}
.woocommerce-account.logged-in .woocommerce{display:grid;grid-template-columns:276px minmax(0,1fr);align-items:start;gap:42px;margin:0}
.woocommerce-account.logged-in .woocommerce>.woocommerce-notices-wrapper{grid-column:1/-1;margin-bottom:-18px}
.woocommerce-account.logged-in .woocommerce>.hma-account-sidebar{grid-column:1;grid-row:2;position:sticky;top:110px;min-width:0;background:#fff;border:1px solid #d9dfdc;box-shadow:0 18px 50px rgba(22,31,28,.07)}
.woocommerce-account.logged-in .woocommerce>.woocommerce-MyAccount-content{grid-column:2;grid-row:2;float:none;width:100%;min-width:0;padding:0}

/* Portal sidebar */
.hma-account-profile{display:grid;grid-template-columns:52px minmax(0,1fr);align-items:center;gap:13px;padding:24px 22px;background:#171b1c;color:#fff;border:0}
.hma-account-avatar{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:#61a48f;color:#fff;font-family:Georgia,serif;font-size:23px;font-weight:700}
.hma-account-profile span:not(.hma-account-avatar){display:block;color:rgba(255,255,255,.58);font-size:11px;font-weight:700;letter-spacing:.09em;text-transform:uppercase}
.hma-account-profile strong{display:block;overflow:hidden;color:#fff;font-size:15px;text-overflow:ellipsis;white-space:nowrap}
.hma-account-nav-toggle{display:none}
.hma-account-sidebar .woocommerce-MyAccount-navigation{float:none;width:100%;margin:0;padding:10px;background:#fff}
.hma-account-sidebar .woocommerce-MyAccount-navigation ul{display:block!important;margin:0;padding:0;list-style:none;overflow:visible!important;white-space:normal!important}
.hma-account-sidebar .woocommerce-MyAccount-navigation li{width:100%!important;margin:0;border:0}
.hma-account-sidebar .woocommerce-MyAccount-navigation a{display:grid;grid-template-columns:23px minmax(0,1fr) 16px;align-items:center;gap:11px;min-height:49px;padding:11px 12px;border-left:3px solid transparent;color:#4d5754;font-size:14px;font-weight:700;line-height:1.25}
.hma-account-sidebar .woocommerce-MyAccount-navigation a:hover{background:#edf5f2;color:#171b1c}
.hma-account-sidebar .woocommerce-MyAccount-navigation .is-active a{border-left-color:#61a48f;background:#e7f1ed;color:#171b1c}
.hma-account-sidebar .woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--customer-logout{margin-top:8px;padding-top:8px;border-top:1px solid #e1e5e3}
.hma-account-nav-icon,.hma-account-nav-icon svg{display:block;width:22px;height:22px}
.hma-account-nav-icon svg,.hma-account-sidebar .woocommerce-MyAccount-navigation a>svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.hma-account-sidebar .woocommerce-MyAccount-navigation a>svg{width:15px;height:15px;color:#8b9491}
.hma-account-help{margin:0 18px 18px;padding:17px;border-top:1px solid #e1e5e3;background:#f5f7f5}
.hma-account-help span{display:block;margin-bottom:3px;color:#68716f;font-size:12px}
.hma-account-help a{font-size:13px;font-weight:800;color:#447f6d}

/* Shared content hierarchy */
.hma-portal-heading,.hma-account-section-head{margin:0 0 30px}
.hma-portal-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px}
.hma-portal-heading .eyebrow,.hma-account-section-head .eyebrow,.hma-portal-section-heading .eyebrow{margin-bottom:9px}
.hma-portal-heading h1,.hma-account-section-head h1{margin:0 0 12px;font-size:clamp(38px,4vw,54px)}
.hma-portal-heading p:last-child,.hma-account-section-head>p:last-child{max-width:720px;margin:0;color:#626b69;font-size:17px}
.hma-account-logout{flex:0 0 auto;min-height:44px;padding:11px 0;color:#626b69;font-size:13px;font-weight:800}
.hma-account-logout:hover{color:#a63c3c}

/* Dashboard hero */
.hma-portal-hero{display:grid;grid-template-columns:minmax(0,1fr) 190px;min-height:330px;margin-bottom:0;background:#171b1c;color:#fff;box-shadow:0 24px 60px rgba(22,31,28,.13);overflow:hidden}
.hma-portal-hero__content{position:relative;padding:52px 48px;background:radial-gradient(circle at 86% 18%,rgba(97,164,143,.16),transparent 34%)}
.hma-portal-hero__content:after{position:absolute;right:-68px;bottom:-88px;width:240px;height:240px;border:1px solid rgba(97,164,143,.25);border-radius:50%;content:""}
.hma-portal-kicker{display:block;margin-bottom:18px;color:#7fc0ac;font-size:11px;font-weight:900;letter-spacing:.16em;text-transform:uppercase}
.hma-portal-hero h2{max-width:600px;margin-bottom:15px;color:#fff;font-size:clamp(30px,3.3vw,46px)}
.hma-portal-hero p{max-width:580px;margin-bottom:28px;color:rgba(255,255,255,.7);font-size:16px}
.hma-portal-hero .button{position:relative;z-index:1;gap:12px}
.hma-portal-token{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:28px 20px;background:#61a48f;text-align:center;color:#fff}
.hma-portal-token svg{width:40px;height:40px;margin-bottom:18px;fill:none;stroke:#fff;stroke-width:1.5}
.hma-portal-token>span{font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.hma-portal-token strong{font-family:Georgia,serif;font-size:58px;line-height:1}
.hma-portal-token small{margin:3px 0 22px;color:rgba(255,255,255,.78);font-size:13px}
.hma-portal-token a{min-height:44px;padding:10px 0;border-bottom:1px solid rgba(255,255,255,.5);color:#fff;font-size:13px;font-weight:800}

/* Status strip */
.hma-portal-status{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:62px;border:1px solid #d9dfdc;border-top:0;background:#fff}
.hma-portal-status>a{display:flex;flex-direction:column;min-width:0;min-height:137px;padding:23px 25px;border-right:1px solid #d9dfdc;color:#171b1c}
.hma-portal-status>a:last-child{border-right:0}
.hma-portal-status>a:hover{background:#f6faf8;color:#171b1c}
.hma-portal-status span{color:#68716f;font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.hma-portal-status strong{margin:8px 0 3px;font-family:Georgia,serif;font-size:32px;line-height:1.1}
.hma-portal-status .hma-status-text{font-family:Arial,sans-serif;font-size:18px}
.hma-status-text.is-complete{color:#447f6d}.hma-status-text.is-open{color:#a46326}
.hma-portal-status small{margin-top:auto;color:#626b69;font-size:12px;font-weight:700}

/* Dashboard actions */
.hma-portal-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:22px}
.hma-portal-section-heading h2{margin:0;font-size:34px}
.hma-portal-section-heading>p{margin:0;color:#626b69;font-size:14px}
.hma-portal-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.hma-portal-actions>a{display:grid;grid-template-columns:48px minmax(0,1fr);grid-template-rows:auto auto 1fr auto;column-gap:16px;min-height:202px;padding:27px;background:#fff;border:1px solid #d9dfdc;color:#171b1c;transition:border-color .2s,box-shadow .2s,transform .2s}
.hma-portal-actions>a:hover{border-color:transparent;box-shadow:0 18px 44px rgba(22,31,28,.11);transform:translateY(-3px);color:#171b1c}
.hma-portal-action-icon{grid-row:1/5;display:grid;place-items:center;width:48px;height:48px;background:#e7f1ed;color:#447f6d}
.hma-portal-action-icon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.hma-portal-actions strong{font-family:Georgia,serif;font-size:22px}
.hma-portal-actions small{margin-top:5px;color:#68716f;font-size:13px;line-height:1.5}
.hma-portal-action-link{align-self:end;margin-top:22px;color:#447f6d;font-size:12px;font-weight:900;letter-spacing:.07em;text-transform:uppercase}

/* Address and account forms */
.hma-address-list{display:grid;gap:18px}
.hma-address-card{padding:30px;background:#fff;border:1px solid #d9dfdc;box-shadow:none}
.hma-address-card__head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:22px;padding-bottom:22px;border-bottom:1px solid #e1e5e3}
.hma-address-card__type{display:block;margin-bottom:5px;color:#447f6d;font-size:11px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}
.hma-address-card h2{margin:0;font-size:29px}
.hma-address-card address{min-height:95px;margin:0;color:#535d5a;font-style:normal;line-height:1.75}
.hma-address-edit{min-height:44px!important;padding:10px 16px!important;font-size:11px!important}
.hma-address-form,.hma-account-form{padding:0;background:transparent;border:0;box-shadow:none}
.hma-form-section,.hma-address-form .woocommerce-address-fields{display:block;margin:0 0 18px;padding:32px;background:#fff;border:1px solid #d9dfdc}
.hma-form-section{min-width:0}
.hma-form-section__head{display:grid;grid-template-columns:40px 1fr;gap:15px;margin-bottom:28px;padding-bottom:22px;border-bottom:1px solid #e1e5e3}
.hma-form-section__head>span{display:grid;place-items:center;width:40px;height:40px;background:#171b1c;color:#7fc0ac;font-size:11px;font-weight:900}
.hma-form-section__head h2{margin:0 0 4px;font-size:25px}.hma-form-section__head p{margin:0;color:#68716f;font-size:13px}
.hma-form-grid,.woocommerce-address-fields__field-wrapper{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.hma-form-grid .form-row,.woocommerce-address-fields__field-wrapper .form-row{float:none;width:100%;margin:0}
.hma-form-grid .form-row-wide,.woocommerce-address-fields__field-wrapper .form-row-wide{grid-column:1/-1}
.hma-account-form label,.hma-address-form label{display:block;margin-bottom:7px;color:#303735;font-size:12px;font-weight:800}
.hma-account-form input.input-text,.hma-address-form input.input-text,.hma-address-form select{width:100%;min-height:52px;padding:11px 13px;border:1px solid #cfd6d2;border-radius:0;background:#fff;color:#171b1c}
.hma-account-form input:focus,.hma-address-form input:focus,.hma-address-form select:focus{border-color:#247567;box-shadow:0 0 0 3px rgba(36,117,103,.22);outline:0}
.woocommerce-account .ivts-account .ivts-account__shop{border-color:#2e8979!important;background:#fff!important;color:#247567!important}
.woocommerce-account .ivts-account .ivts-account__shop:hover,.woocommerce-account .ivts-account .ivts-account__shop:focus-visible{background:#2e8979!important;color:#fff!important}
.hma-field-help{display:block;margin-top:7px;color:#68716f;font-size:12px}
.hma-form-submit,.hma-form-actions{display:flex;align-items:center;justify-content:flex-end;gap:22px;margin-top:18px;padding:22px 0 0;border-top:1px solid #d9dfdc}
.hma-form-submit>a,.hma-form-actions>a{min-height:44px;padding:10px 0;color:#626b69;font-size:13px;font-weight:800}

/* Orders, downloads and empty states */
.hma-table-shell,.hma-download-shell{background:#fff;border:1px solid #d9dfdc;overflow-x:auto}
.woocommerce-account table.shop_table{margin:0;border:0;border-collapse:collapse;border-radius:0}
.woocommerce-account table.shop_table th{padding:15px 16px;background:#171b1c;color:#fff;border:0;font-size:11px;letter-spacing:.08em;text-transform:uppercase}
.woocommerce-account table.shop_table td{padding:17px 16px;border-color:#e1e5e3;font-size:14px}
.woocommerce-account table.shop_table td:first-child a{color:#447f6d;font-weight:900}
.hma-order-status{display:inline-flex;padding:5px 9px;background:#e7f1ed;color:#356c5b;font-size:11px;font-weight:800}
.woocommerce-account table.shop_table .button{min-height:38px;padding:9px 12px;font-size:10px}
.hma-account-empty{display:flex;flex-direction:column;align-items:flex-start;padding:42px;background:#fff;border:1px solid #d9dfdc}
.hma-account-empty>span{display:grid;place-items:center;width:58px;height:58px;margin-bottom:24px;background:#e7f1ed;color:#447f6d}
.hma-account-empty svg{width:29px;height:29px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.hma-account-empty h2{margin-bottom:9px;font-size:30px}.hma-account-empty p{max-width:560px;color:#68716f}

@media(max-width:1050px){
 .woocommerce-account.logged-in .commerce-wrap,.woocommerce-account.logged-in .content-wrap{width:min(100% - 36px,1100px)}
 .woocommerce-account.logged-in .woocommerce{grid-template-columns:238px minmax(0,1fr);gap:28px}
 .hma-portal-hero{grid-template-columns:minmax(0,1fr) 160px}.hma-portal-hero__content{padding:42px 36px}
 .hma-portal-actions>a{padding:22px}
}
@media(max-width:850px){
 .woocommerce-account .page-hero{min-height:165px}.woocommerce-account .page-hero>div{padding:38px 0}
 .woocommerce-account.logged-in .commerce-wrap,.woocommerce-account.logged-in .content-wrap{width:calc(100% - 32px);padding:34px 0 76px}
 .woocommerce-account.logged-in .woocommerce{grid-template-columns:1fr;gap:22px}
 .woocommerce-account.logged-in .woocommerce>.hma-account-sidebar,.woocommerce-account.logged-in .woocommerce>.woocommerce-MyAccount-content{grid-column:1;grid-row:auto;position:static}
 .hma-account-profile{padding:18px 20px}.hma-account-help{display:none}.hma-account-sidebar.is-nav-open .hma-account-help{display:block;margin:0 14px 14px}
 .hma-account-nav-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:52px;padding:12px 18px;border:0;border-top:1px solid rgba(255,255,255,.12);background:#171b1c;color:#fff;font-size:13px;font-weight:800;cursor:pointer}
 .hma-account-nav-toggle svg{width:20px;fill:none;stroke:#61a48f;stroke-width:1.8;transition:transform .2s}
 .hma-account-sidebar.is-nav-open .hma-account-nav-toggle svg{transform:rotate(180deg)}
 .hma-account-sidebar .woocommerce-MyAccount-navigation{display:none;padding:8px}
 .hma-account-sidebar.is-nav-open .woocommerce-MyAccount-navigation{display:block}
 .hma-account-sidebar .woocommerce-MyAccount-navigation ul{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
 .hma-account-sidebar .woocommerce-MyAccount-navigation a{min-height:52px}
 .hma-portal-heading{align-items:flex-start}.hma-portal-heading h1,.hma-account-section-head h1{font-size:42px}
 .hma-portal-hero{grid-template-columns:minmax(0,1fr) 170px}
 .hma-portal-status>a{padding:20px}
}
@media(max-width:600px){
 .woocommerce-account .page-hero{display:none}
 .woocommerce-account.logged-in .commerce-wrap,.woocommerce-account.logged-in .content-wrap{width:calc(100% - 24px);padding:20px 0 60px}
 .woocommerce-account.logged-in .woocommerce{gap:26px}
 .hma-account-profile{grid-template-columns:46px minmax(0,1fr)}.hma-account-avatar{width:46px;height:46px}
 .hma-account-sidebar .woocommerce-MyAccount-navigation ul{grid-template-columns:1fr}
 .hma-portal-heading{display:block;margin-bottom:23px}.hma-portal-heading h1,.hma-account-section-head h1{font-size:36px}.hma-account-logout{display:inline-flex;margin-top:9px}
 .hma-portal-hero{display:block;min-height:0}.hma-portal-hero__content{padding:34px 24px}.hma-portal-hero h2{font-size:33px}
 .hma-portal-token{display:grid;grid-template-columns:42px minmax(0,1fr) auto;grid-template-rows:auto auto;gap:0 12px;align-items:center;padding:20px 22px;text-align:left}
 .hma-portal-token svg{grid-row:1/3;width:36px;height:36px;margin:0}.hma-portal-token>span{align-self:end}.hma-portal-token strong{grid-column:2;font-size:31px}.hma-portal-token small{display:none}.hma-portal-token a{grid-column:3;grid-row:1/3;align-self:center;margin:0}
 .hma-portal-status{grid-template-columns:1fr;margin-bottom:45px}.hma-portal-status>a{display:grid;grid-template-columns:1fr auto;min-height:104px;padding:19px 21px;border-right:0;border-bottom:1px solid #d9dfdc}.hma-portal-status>a:last-child{border-bottom:0}.hma-portal-status strong{grid-column:2;grid-row:1/3;margin:0;align-self:center}.hma-portal-status small{grid-column:1;margin-top:8px}
 .hma-portal-section-heading{display:block}.hma-portal-section-heading>p{margin-top:7px}
 .hma-portal-actions{grid-template-columns:1fr}.hma-portal-actions>a{min-height:176px;padding:22px 19px}
 .hma-address-card{padding:23px 19px}.hma-address-card__head{display:block}.hma-address-edit{width:100%;margin-top:18px}
 .hma-form-section,.hma-address-form .woocommerce-address-fields{padding:23px 18px}.hma-form-grid,.woocommerce-address-fields__field-wrapper{grid-template-columns:1fr}.hma-form-grid .form-row,.woocommerce-address-fields__field-wrapper .form-row{grid-column:1}
 .hma-form-submit,.hma-form-actions{align-items:stretch;flex-direction:column-reverse}.hma-form-submit .button,.hma-form-actions .button{width:100%}
 .hma-table-shell{border:0;background:transparent;overflow:visible}.woocommerce-account table.shop_table_responsive thead{display:none}.woocommerce-account table.shop_table_responsive tbody,.woocommerce-account table.shop_table_responsive tr,.woocommerce-account table.shop_table_responsive td,.woocommerce-account table.shop_table_responsive th{display:block;width:100%}.woocommerce-account table.shop_table_responsive tr{margin-bottom:13px;padding:15px 17px;background:#fff;border:1px solid #d9dfdc}.woocommerce-account table.shop_table_responsive td,.woocommerce-account table.shop_table_responsive th{padding:8px 0!important;border:0!important;text-align:right!important}.woocommerce-account table.shop_table_responsive td:before{float:left;color:#68716f;font-size:11px;font-weight:800;text-transform:uppercase}.woocommerce-account table.shop_table_responsive th[data-title]:before{float:left;content:attr(data-title);color:#68716f;font-size:11px;font-weight:800;text-transform:uppercase}.woocommerce-account table.shop_table_responsive .button{width:100%;margin-top:6px}
 .hma-account-empty{padding:30px 22px}
}
@media(prefers-reduced-motion:reduce){.hma-portal-actions>a,.hma-account-nav-toggle svg{transition:none}}
