.notice {
    position: absolute;
    left: 50px; /* debug */
    top: 50px; /* debug */
    padding: 0.5rem;
    /* min-width: 15rem;
    max-width: 25rem; */
    width: 30rem;
    max-width: 30rem;
}

.notice .title > .title-buttons {
    float: right;
    display: flex;
    flex-flow: row;
}

.notice .title > .title-buttons button {
    padding: 0;
    min-width: 0;
    min-height: 0;
    width: 1rem;
    height: 1rem;
}

.notice .title > .title-buttons button + button {
    margin-left: 0.25rem;
}

.notice .id,
.notice .timestamp,
.notice .value,
.notice .parameter {
    font-size: 0.75rem;
    padding: 0.125rem 0.5em;
    border-radius: 0.25rem;
    display: inline-block;
    opacity: 0.75;
    margin-right: 0.25rem;
        pointer-events: none;
}

.notice .id:before {
    content: '#';
    display: inline;
}

.notice .comment {
    overflow-wrap: break-word;
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
        pointer-events: none;
}

.notice textarea.comment {
    box-sizing: border-box;
    max-width: 100%;
    min-width: 100%;
    min-height: 4rem;
    max-height: 10rem;
    padding: 0.5rem;
    outline: 0px;
    color: inherit;
    border: 0px;
    margin: 0;
        pointer-events: auto;
}

.notice textarea::placeholder {
    font-style: italic;
    color: inherit;
    opacity: 0.5;
}

.notice .buttons {
    display: flex;
    flex-flow: row;
    align-items: center;
    justify-content: center;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.notice .buttons button {
    min-width: 0;
}

.notice .buttons button + button {
    margin-left: 0.5rem;
}

.notice .do-ack {
    overflow: hidden;
    transition: all 0.25s ease-out;
    max-height: 0;
}

.notice.is-closing .do-ack {
    max-height: 15rem;
}

.notice .ack {
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    margin-top: 0.5rem;
}

.notice .ack .comment {
    margin-left: 0.25rem;
    margin-right: 0.25rem;
}

.notice .notice-timestamp::before {
    content: 'Создано ';
}

.notice .ack-timestamp::before {
    content: 'Квитировано ';
}
