/* Profile and administration — Nestly-inspired RingUp prototype. */
.app-bar{position:relative;z-index:20}.profile-popover{position:absolute;right:0;top:calc(100% - 6px);width:340px;max-width:calc(100vw - 40px);padding:22px;background:#fafbf7;border:1px solid white;border-radius:24px;box-shadow:0 20px 65px #26331e26;color:#273020;z-index:80;text-align:left}.profile-popover[hidden]{display:none}.profile-menu-identity{display:flex;gap:12px;align-items:center;margin-bottom:18px}.profile-menu-identity strong,.profile-menu-identity small{display:block}.profile-menu-identity strong{font-size:15px;font-weight:500}.profile-menu-identity small{font-size:11px;color:#656a5e;margin-top:4px}.account-avatar,.admin-row-avatar{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:50%;background:#e5eadb;color:#485634;flex-shrink:0}.profile-popover select{width:100%;min-height:44px;border:1px solid #dbe0d1;border-radius:13px;background:white;padding:10px;font:12px Manrope,sans-serif;color:#273020}.profile-stud-label{display:block;font-size:11px;margin-bottom:8px;color:#656a5e}.profile-stud-name{display:flex;gap:8px;align-items:center;font-size:11px;line-height:1.5;margin:0 0 14px}.profile-menu-links{border-bottom:1px solid #e1e4db;margin:12px 0;padding-bottom:10px}.profile-menu-links:empty{display:none}.profile-menu-links button{display:flex;align-items:center;gap:12px;background:none;border:0;width:100%;padding:12px 6px;min-height:44px;text-align:left;font:12px Manrope,sans-serif;color:inherit;cursor:pointer;border-radius:10px}.profile-menu-links button:hover{background:#e9eddF}.profile-menu-links button span{flex:1}.profile-language{display:flex;align-items:center;justify-content:space-between;font-size:12px}.profile-demo{border-top:1px solid #e1e4db;margin-top:16px;padding-top:14px;font-size:11px;color:#656a5e}.profile-demo summary{cursor:pointer;min-height:24px}.profile-demo label{display:block;margin:12px 0 8px}.profile-demo p{font-size:10px;line-height:1.6;margin-bottom:0}.administration-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px;flex-wrap:wrap}.administration-toolbar .soft-pill{max-width:100%;white-space:normal}.administration-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:22px}.administration-kpis strong{display:block;font-size:42px;font-weight:400;margin-top:18px}.administration-overview{display:grid;grid-template-columns:1fr 1fr;gap:20px}.administration-action{text-align:left;padding:28px;color:inherit;cursor:pointer}.administration-action>.ph-light{font-size:30px;color:#485634}.administration-action h3{font-size:24px;font-weight:400;margin:20px 0 10px}.administration-action p{font-size:12px;line-height:1.8;color:#656a5e}.administration-action>span{display:flex;justify-content:space-between;align-items:center;margin-top:28px;font-size:12px;color:#485634}.administration-panel{padding:28px}.administration-panel h3{font-size:24px;font-weight:400}.admin-search{max-width:380px;margin:22px 0}.admin-data-row{display:flex;align-items:center;gap:16px;padding:19px 0;border-bottom:1px solid #e1e4db}.admin-data-row:last-child{border:0}.admin-row-name{flex:1;min-width:0}.admin-row-name strong{font-size:14px;font-weight:500;display:block}.admin-row-name small{display:block;font-size:11px;color:#656a5e;margin-top:5px;overflow-wrap:anywhere}.admin-row-name strong small{display:inline}.admin-row-actions{display:flex;align-items:center;gap:8px}.admin-empty{padding:30px 0;color:#656a5e;font-size:13px}.admin-empty-workspace{text-align:center;padding:56px 24px}.admin-empty-workspace>.ph-light{font-size:40px;color:#485634}.admin-empty-workspace p{color:#656a5e;font-size:13px;line-height:1.8}.admin-empty-workspace .row{justify-content:center;margin-top:24px;flex-wrap:wrap}.profile-popover :focus-visible{outline:2px solid #485634;outline-offset:3px}
@media(max-width:760px){.administration-overview{grid-template-columns:1fr}.administration-panel{padding:20px}.administration-panel .panel-title{flex-wrap:wrap;gap:15px}.admin-data-row{flex-wrap:wrap;gap:10px}.admin-row-name{flex-basis:calc(100% - 58px)}.admin-data-row>.icon-button,.admin-row-actions{margin-left:auto}.administration-kpis{gap:10px}.administration-kpis strong{font-size:32px}.administration-toolbar .segmented{max-width:100%;flex-wrap:wrap}.administration-toolbar .segmented button{font-size:11px}.profile-popover{right:0;top:calc(100% + 8px);padding:20px;width:320px;box-sizing:border-box;max-height:calc(100dvh - 140px);overflow:auto}.admin-search{max-width:100%}}

/* Prominent stud name on the home page. */
.app-title.n-page-heading .home-stud-name{font-size:19px;font-weight:300;line-height:1.35;letter-spacing:-.3px;color:var(--pd-color-ink);margin-top:0}
@media(max-width:600px){.app-title.n-page-heading .home-stud-name{font-size:18px}}

.app-title.n-page-heading:has(.home-stud-name) h3{margin-bottom:3px}

.home-sale-selector{display:flex;flex-direction:column;gap:7px;min-width:260px;max-width:100%;align-self:center;margin-left:auto}.home-sale-control{display:flex;align-items:center;gap:10px;padding:0 16px;background:#ffffffc9;border:1px solid white;border-radius:999px;min-height:48px}.home-sale-control select{background:transparent!important;border:0!important;width:100%;min-width:0;min-height:46px;font:400 12px Manrope,sans-serif;color:var(--pd-color-ink);padding:8px 0!important}.home-sale-control .ph-light{font-size:18px;color:var(--pd-color-muted)}.home-sale-control:focus-within{outline:2px solid var(--pd-color-focus);outline-offset:3px}.home-sale-control select:focus{outline:none}
@media(max-width:600px){.home-sale-selector{width:100%;min-width:0;margin-left:0}.app-title.n-page-heading:has(.home-sale-selector){flex-wrap:wrap}}

.catalogue-heading-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap;margin-left:auto;align-self:center}.catalogue-heading-actions .home-sale-selector{margin:0}.app-title:has(.catalogue-heading-actions){flex-wrap:wrap}.catalogue-heading-actions .split-action{min-height:48px}
@media(max-width:600px){.catalogue-heading-actions{width:100%;margin:0;justify-content:stretch}.catalogue-heading-actions .home-sale-selector{width:100%}.catalogue-heading-actions>.split-action{width:100%}}

/* White divider below the complete application header. */
.app-preview>.app-bar{border-bottom:0;padding-bottom:22px}
.app-preview>.app-bar::after{content:"";position:absolute;left:32px;right:32px;bottom:0;height:1px;border-radius:999px;background:linear-gradient(90deg,#ffffff00,#fffffff2 7%,#fffffff2 93%,#ffffff00);pointer-events:none}
@media(max-width:1100px){.app-preview>.app-bar::after{left:24px;right:24px}}
@media(max-width:600px){.app-preview>.app-bar{padding-bottom:20px}.app-preview>.app-bar::after{left:20px;right:20px}}

.profile-logout-links{margin-top:0;padding-top:0;border-top:0}.profile-logout-links button{width:100%}.prototype-profile-panel .prototype-profile-logout{width:100%;justify-content:flex-start;margin-top:14px;border-top:1px solid #E1E5D9}

.team-table-scroll{overflow-x:auto}.team-users-table{min-width:680px}.team-user-identity{display:flex;align-items:center;gap:12px;min-width:200px}.team-user-identity>span:last-child{min-width:0}.team-user-identity strong{display:block;font-weight:500}.team-user-identity strong em{font-style:normal;color:#7B806F;font-size:12px;font-weight:400}.team-user-identity small,.team-users-table time small{display:block;font-size:12px;line-height:1.5;color:#7B806F;margin-top:1px}.team-users-table td:first-child{width:38%}.team-users-table td:nth-last-child(3){white-space:nowrap}.team-users-table td:last-child{width:48px;text-align:right}.team-users-table th:last-child{width:48px}.team-login-empty{color:#7B806F;font-size:13px}.team-users-table .team-edit-button{width:36px;height:36px;min-height:36px;border:1px solid #E1E5D9;background:#fff;border-radius:50%;padding:0}.team-empty{color:#7B806F;padding-block:28px!important}

/* Table actions stay circular even when the shared button has a minimum width. */
#app-preview .team-users-table :is(th,td):last-child{width:100px;min-width:100px}
.team-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;white-space:nowrap}
#app-preview .team-users-table .team-row-actions>.icon-button{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;flex:0 0 36px;width:36px;min-width:36px;max-width:36px;height:36px;min-height:36px;max-height:36px;aspect-ratio:1;border:1px solid #E1E5D9;border-radius:50%;padding:0;background:#fff;line-height:1}
#app-preview .team-row-actions>.icon-button .ph-light{font-size:18px;line-height:1}
#app-preview .team-row-actions>.icon-button:hover{background:var(--parade-chart-track,#E7EBDF)}
@media(max-width:760px){#app-preview .team-users-table .team-row-actions>.icon-button{flex-basis:44px;width:44px;min-width:44px;max-width:44px;height:44px;min-height:44px;max-height:44px}.team-users-table{min-width:720px}}
