/* Dashboard company-notice proportions, adapted through website DSM roles. */
.skill-notice {display:flex;flex-direction:column;position:fixed;right:24px;bottom:24px;z-index:90;isolation:isolate;overflow:hidden;box-sizing:border-box;width:min(400px,calc(100vw - 24px));max-height:calc(100dvh - 96px);overflow-y:auto;padding:20px;border:1px solid var(--border-default);border-radius:24px;background:linear-gradient(115deg,var(--notice-fill-start),var(--notice-fill-end));color:var(--text-primary);font-family:var(--font-sans);animation:skill-notice-enter .3s ease both;}
.skill-notice[hidden] {display:none;}
.skill-notice__art {position:absolute;left:0;right:0;top:50%;height:56px;transform:translateY(-50%);margin:0;z-index:-1;pointer-events:none;overflow:hidden;opacity:.22;}
.skill-notice__top {display:flex;align-items:center;justify-content:space-between;min-height:14px;padding-right:32px;margin-bottom:8px;}
.skill-notice__tag {color:var(--text-secondary);font-size:10px;line-height:14px;font-weight:500;letter-spacing:1px;text-transform:uppercase;}
.skill-notice__close {position:absolute;top:6px;right:6px;display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:8px;background:transparent;color:var(--text-secondary);}
.skill-notice__close:hover {color:var(--text-primary);background:var(--surface-hover);}
.skill-notice__close:focus-visible {outline:2px solid var(--focus-ring);outline-offset:-4px;}
.skill-notice h2 {font-family:var(--font-heading);font-size:17px;line-height:25px;font-weight:500;letter-spacing:0;margin:0 0 4px;text-wrap:pretty;}
.skill-notice__body {margin:0;color:var(--text-secondary);font-size:14px;line-height:22px;font-weight:400;}
.skill-notice__actions {display:flex;justify-content:flex-start;margin-top:18px;}
@keyframes skill-notice-enter {from {opacity:0;transform:translateY(12px);} to {opacity:1;transform:translateY(0);}}
@media(max-width:480px) {.skill-notice {right:12px;bottom:12px;border-radius:20px;}.skill-notice h2 {font-size:16px;line-height:24px;}}
@media(prefers-reduced-motion:reduce) {.skill-notice,.skill-notice__art * {animation:none;transition:none;}}


.skill-notice__art .skill-wave {position:absolute;left:0;top:50%;transform:translateY(-50%);}

@media(prefers-reduced-motion:reduce){.skill-notice .skill-notice__art .skill-wave svg,.skill-notice .skill-notice__art .skill-wave g {animation:none;}}

/* Compact notice: waves form a centered background, not an extra layout row. */
.skill-notice__actions {margin-top:14px;}
.skill-notice__actions .button {--button-height:36px;--button-padding-inline:16px;--button-font-size:13px;--button-line-height:20px;--button-radius:10px;}


/* Floating announcement: heading white, description heading gray. */
.skill-notice h2{--heading-first-line:var(--heading-following-lines);color:var(--heading-following-lines);}
.skill-notice__body{color:var(--heading-first-line);}

/* The waves fill the complete floating card behind all foreground content. */
.skill-notice__art{inset:0;height:auto;transform:none;z-index:0;}
.skill-notice__art .skill-wave{inset:auto 0 auto 0;top:50%;height:56px;transform:translateY(-50%);}
.skill-notice__top{z-index:1;}
.skill-notice h2,.skill-notice__body,.skill-notice__actions{position:relative;z-index:1;}
.skill-notice__close{z-index:2;}

/* Keep the original wave silhouette visibly present behind the notice copy. */
.skill-notice__art{opacity:.65;}

/* Make all three original wave layers readable, including the previously faint third. */
.skill-notice__art{opacity:.8;}
.skill-notice .skill-wave svg:nth-child(1) path{stroke:var(--moon-gray-76);}
.skill-notice .skill-wave svg:nth-child(2) path{stroke:var(--moon-gray-74);}
.skill-notice .skill-wave svg:nth-child(3) path{stroke:var(--moon-gray-70);stroke-width:1px;}

/* Anchor the original waves to the bottom of the notice background. */
.skill-notice__art .skill-wave{top:auto;bottom:0;transform:none;}

/* Mobile audit: inset sizing excludes the scrollbar from the card width. */
@media(max-width:480px){.skill-notice{left:12px;right:12px;width:auto;max-width:400px;margin-left:auto;}}
