
:root{--ae-radius:14px;--ae-gap:16px;--ae-control-h:40px}
*{box-sizing:border-box}.page-head,.ae-page-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-block:0 22px}.panel,.ae-card{border-radius:var(--ae-radius);padding:20px}.btn,button,input,select,textarea{font:inherit}.btn,button{min-height:var(--ae-control-h)}
input:not([type=checkbox]):not([type=radio]),select,textarea{min-height:var(--ae-control-h);border-radius:10px;padding:9px 12px}.table-wrap{overflow:auto;border-radius:14px}.table-wrap table,table.data-table{width:100%;border-collapse:separate;border-spacing:0}.table-wrap th,.table-wrap td{padding:11px 12px;vertical-align:middle}.messages{display:grid;gap:10px;margin-block:12px}.messages .success,.alert-success{border-inline-start:4px solid #15803d}.messages .error,.alert-error{border-inline-start:4px solid #b91c1c}
.aroma-header-global-search{min-width:min(300px,30vw)}.aroma-header-global-search input{width:100%;background:transparent;border:0;outline:0}.compact-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.compact-actions .btn{min-height:32px;padding:5px 9px;font-size:.86rem}.license-inline{color:inherit!important;background:none!important;border:0!important;padding:0!important;box-shadow:none!important}.license-inline{opacity:.78;font-size:.82em;font-weight:500}
@media(max-width:800px){.panel,.ae-card{padding:14px}.page-head,.ae-page-head{align-items:stretch}.page-head>.btn,.ae-page-head>.btn{width:100%}.aroma-header-global-search{min-width:120px;flex:1}.table-wrap th,.table-wrap td{padding:9px 8px;font-size:.9rem}}
@media print{.no-print,.aroma-system-header,.sidebar,nav{display:none!important}.panel,.ae-card{box-shadow:none!important;border:0!important;padding:0!important}}

/* Commercial header controls: equal height, search icon inside, named mobile actions. */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.aroma-header-global-search {
    position: relative;
    min-width: min(290px, 30vw);
    height: 42px;
    display: flex;
    align-items: center;
    flex: 1 1 240px;
    overflow: hidden;
    border: 1px solid var(--aroma-header-border, rgba(255,255,255,.25));
    border-radius: 10px;
    background: var(--aroma-header-glass, rgba(255,255,255,.1));
}

.aroma-header-global-search input {
    width: 100%;
    height: 100%;
    min-width: 0 !important;
    padding: 7px 12px !important;
    padding-inline-end: 45px !important;
    border: 0 !important;
    outline: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: inherit !important;
}

.aroma-header-global-search input::placeholder { color: rgba(255,255,255,.72) !important; }

.aroma-header-global-search .aroma-search-submit {
    width: 38px;
    height: 34px;
    min-height: 34px;
    position: absolute;
    inset-inline-end: 4px;
    inset-block-start: 3px;
    display: grid;
    place-items: center;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: rgba(255,255,255,.2) !important;
    color: inherit !important;
    font-size: 20px;
    cursor: pointer;
}
.aroma-header-global-search .aroma-search-submit svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

.aroma-system-menu > .aroma-header-button,
.aroma-language-menu > .aroma-header-button {
    width: 118px;
    min-width: 118px;
    height: 42px;
    min-height: 42px;
}

#aroma-command-trigger,
.aroma-command-overlay {
    display: none !important;
}

.aroma-dropdown-section-title {
    margin: 7px 5px 4px;
    padding: 8px 7px 5px;
    border-top: 1px solid rgba(255,255,255,.22);
    color: rgba(255,255,255,.72);
    font-size: 11px;
    font-weight: 800;
}

@media (max-width: 900px) {
    .aroma-system-header-inner { padding: 8px 10px !important; }
    .aroma-brand { width: 100%; order: -1; justify-content: center; margin: 0; }
    .aroma-header-right-zone { width: 100%; display: flex !important; flex-wrap: wrap !important; align-items: center; justify-content: center; gap: 7px !important; }
    .aroma-system-menu { order: 1; flex: 1 1 86px; }
    .aroma-language-menu { order: 2; flex: 1 1 86px; }
    .aroma-system-menu > .aroma-header-button,
    .aroma-language-menu > .aroma-header-button { width: 100%; min-width: 0; padding-inline: 6px !important; font-size: 12px; }
    .aroma-header-button > .aroma-control-label { display: inline-flex !important; width: auto !important; min-width: 0 !important; height: auto !important; overflow: visible !important; }
    .aroma-profile-theme-cluster { order: 3; flex: 0 0 44px; width: 44px; height: 42px; justify-content: center; }
    .aroma-header-global-search { order: 4; flex: 1 1 100%; width: 100%; max-width: none; min-width: 0; }
    .aroma-profile-theme-cluster .aroma-theme-arrow { display: none !important; }
    .aroma-profile-menu, .aroma-profile-button { width: 42px !important; min-width: 42px !important; height: 42px !important; min-height: 42px !important; }
    .aroma-profile-button { padding: 3px !important; overflow: hidden; }
    .aroma-profile-image, .aroma-profile-placeholder { width: 33px !important; height: 33px !important; min-width: 33px !important; }
    .aroma-profile-button .aroma-profile-name, .aroma-profile-button .aroma-small-arrow { display: none !important; }
    .aroma-profile-dropdown { right: auto !important; left: 0 !important; }
}

@media (max-width: 600px) {
    .aroma-brand span:last-child { display: inline !important; max-width: calc(100vw - 70px); overflow: hidden; text-overflow: ellipsis; }
    .aroma-header-global-search { height: 44px; }
}
