/* Notices. Category colour is an edge and a word, never a badge on every line: at twenty notices
   a column of identical pills is noise. Everything else is drawn with alpha over the theme. */

/* No clipping here: the unread ring is drawn outside its own badge, and a panel that hides what
   leaves it cuts the ring off against its own edge. The corners are rounded piece by piece instead. */
.noticesPanel { border: 1px solid rgba(128,128,128,.22); border-radius: 8px; margin-bottom: 14px; }
.noticesPanel > :first-child { border-top-left-radius: 7px; border-top-right-radius: 7px; }
.noticesPanel > :last-child { border-bottom-left-radius: 7px; border-bottom-right-radius: 7px; }
.noticesPanel__list > .noticesItem:last-child { border-bottom-left-radius: 7px; border-bottom-right-radius: 7px; }
.noticesPanel__head { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: rgba(128,128,128,.1); font-size: 14px; }
.noticesPanel__title { font-weight: 600; }
.noticesPanel__all { margin-left: auto; font-size: 12.5px; }
.noticesPanel__list { list-style: none; margin: 0; padding: 0; }
.noticesPanel__list--page { margin-top: 12px; }

.noticesPanel__tabs { display: flex; flex-wrap: wrap; gap: 2px; padding: 0 8px; background: rgba(128,128,128,.05); border-bottom: 1px solid rgba(128,128,128,.14); }
.noticesPanel__tab { padding: 5px 10px; font-size: 12.5px; text-decoration: none; border-bottom: 2px solid transparent; opacity: .7; }
.noticesPanel__tab:hover { opacity: 1; }
.noticesPanel__tab--on { font-weight: 600; opacity: 1; border-bottom-color: var(--noticesTab, currentColor); }

.noticesItem { padding: 9px 12px; border-top: 1px solid rgba(128,128,128,.14); border-left: 3px solid var(--noticesRow, transparent); list-style: none; }
.noticesPanel__list > .noticesItem:first-child { border-top: 0; }
.noticesItem__main { min-width: 0; }
.noticesItem__title { font-weight: 600; }
.noticesItem__body { font-size: 13px; opacity: .85; margin-top: 2px; }
.noticesItem__meta { font-size: 12px; opacity: .65; margin-top: 3px; }
.noticesItem__cat { font-weight: 600; text-decoration: none; }
.noticesItem__cat:hover { text-decoration: underline; }
.noticesItem__to { font-weight: 600; }
.noticesItem__dot { margin: 0 5px; opacity: .55; }
.noticesItem--empty { opacity: .6; font-size: 13px; }

.noticesTag { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; color: #fff; font-size: 11px; font-weight: 600; text-decoration: none; }
.noticesTag:hover { color: #fff; opacity: .9; }

/* One flexible row: the headline takes whatever the others leave, and the rest wraps underneath
   on a narrow page rather than squeezing into unreadable boxes. */
.noticesCompose { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 10px 12px; border-top: 1px solid rgba(128,128,128,.14); background: rgba(128,128,128,.05); }
.noticesCompose input, .noticesCompose select, .noticesCompose textarea { padding: 5px 8px; border: 1px solid rgba(128,128,128,.35); border-radius: 6px; background: transparent; color: inherit; font-size: 13px; }
.noticesCompose__category { flex: 0 0 auto; max-width: 190px; }
.noticesCompose__title { flex: 1 1 340px; min-width: 0; }
.noticesCompose__url { flex: 0 1 320px; min-width: 190px; }
.noticesCompose__post { flex: 0 0 auto; }
.noticesCompose__content { flex: 1 1 100%; resize: vertical; }
.noticesCompose__full { flex: 0 1 auto; font-size: 12.5px; opacity: .8; }
/* The suite's switch brings its own colour, so the dimming is on the word beside it */
.noticesCompose__insist { flex: 0 0 auto; margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; cursor: pointer; }
.noticesCompose__insistText { opacity: .8; }
.noticesCompose__insist:hover .noticesCompose__insistText { opacity: 1; }
.noticesCompose .noticesCompose__insist input { margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }
.noticesCompose__insist .ipsToggle { flex: 0 0 auto; }

/* Only a category that runs to a date asks when this one ends */
.noticesCompose__until { display: none; flex: 1 1 100%; align-items: center; gap: 8px; }
.noticesCompose--promotion .noticesCompose__until { display: flex; }
.noticesCompose__untilLabel { font-size: 12.5px; opacity: .75; white-space: nowrap; }
.noticesCompose__untilInput { flex: 0 1 auto; min-width: 0; }

/* Only a category that addresses one member at a time asks who it is for */
.noticesCompose__to { display: none; flex: 1 1 100%; align-items: center; gap: 8px; }
.noticesCompose--individual .noticesCompose__to { display: flex; }
.noticesCompose__toLabel { font-size: 12.5px; opacity: .75; white-space: nowrap; }
/* The suite's autocomplete puts its own box around the field, so what the row lays out is the
   wrapper and the field inside it is simply all of it */
.noticesCompose__toField { flex: 1 1 auto; min-width: 0; max-width: 320px; }
/* The suite builds its picker for a form page, where a field is tall and stands alone. In here
   it comes down to the height of the row, and the class it was given lands on the box it draws. */
.noticesCompose .noticesCompose__toField .ipsField_autocomplete { width: 100%; margin: 0; padding: 3px 7px; box-shadow: none; }
.noticesCompose .noticesCompose__toField .ipsField_autocomplete ul { margin: 0; }
.noticesCompose__toInput { width: 100%; min-width: 0; resize: none; overflow: hidden; }
.noticesCompose__toOr { font-size: 12.5px; opacity: .6; }
.noticesCompose__groups { position: relative; flex: 0 1 auto; min-width: 0; }
.noticesCompose__groupsSay { display: flex; align-items: center; gap: 8px; max-width: 260px; padding: 5px 9px; border: 1px solid rgba(128,128,128,.35); border-radius: 6px; font-size: 13px; cursor: pointer; list-style: none; }
.noticesCompose__groupsSay::-webkit-details-marker { display: none; }
.noticesCompose__groupsSay span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.noticesCompose__groupsSay .fa { opacity: .6; }
.noticesCompose__groupsList { position: absolute; z-index: 60; top: calc(100% + 4px); left: 0; min-width: 210px; max-height: 260px; overflow: auto; padding: 5px; border: 1px solid rgba(128,128,128,.25); border-radius: 6px; background: rgb( var(--theme-area_background_reset, 255, 255, 255) ); box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.noticesCompose__group { display: flex; align-items: center; gap: 8px; margin: 0; padding: 5px 7px; border-radius: 4px; font-size: 13px; cursor: pointer; }
.noticesCompose__group:hover { background: rgba(128,128,128,.12); }
.noticesCompose .noticesCompose__group input { flex: 0 0 auto; margin: 0; padding: 0; }

/* Five looks. List is the default and the quietest; the other four each change what the panel is
   for rather than how its corners are rounded. Every one of them is drawn with alpha and the
   category colour, so they land on a light theme and a dark one without being told which. */

.noticesStyle--list .noticesItem { transition: background .15s ease; }
.noticesStyle--list .noticesItem:hover { background: color-mix(in srgb, var(--noticesRow, #888) 7%, transparent); }
.noticesStyle--list .noticesItem__meta::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 999px; background: var(--noticesRow, #888); vertical-align: middle; }

/* Tiles: a strip read sideways. The notices stop being a column and the panel stops looking like
   the rest of the page, which is the whole point of putting them above it. */
.noticesStyle--tiles .noticesPanel__list, .noticesStyle--tiles.noticesPanel__list { display: flex; gap: 10px; padding: 12px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-padding: 12px; scrollbar-width: thin; }
.noticesStyle--tiles .noticesItem { display: flex; flex-direction: column; flex: 0 0 clamp(210px, 68%, 285px); scroll-snap-align: start; border: 1px solid rgba(128,128,128,.18); border-top: 3px solid var(--noticesRow, #888); border-radius: 10px; padding: 11px 13px; background: rgba(128,128,128,.05); transition: transform .15s ease, background .15s ease; }
.noticesStyle--tiles .noticesPanel__list > .noticesItem:first-child, .noticesStyle--tiles.noticesPanel__list > .noticesItem:first-child { border-top: 3px solid var(--noticesRow, #888); }
.noticesStyle--tiles .noticesItem:hover { background: rgba(128,128,128,.11); transform: translateY(-2px); }
.noticesStyle--tiles .noticesItem__main { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }
.noticesStyle--tiles .noticesItem__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; font-size: 14px; line-height: 1.35; }
.noticesStyle--tiles .noticesItem__body { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; margin-top: 4px; }
.noticesStyle--tiles .noticesItem__meta { margin-top: auto; padding-top: 8px; }
.noticesStyle--tiles .noticesPanel__list::-webkit-scrollbar, .noticesStyle--tiles.noticesPanel__list::-webkit-scrollbar { height: 8px; }
.noticesStyle--tiles .noticesPanel__list::-webkit-scrollbar-track, .noticesStyle--tiles.noticesPanel__list::-webkit-scrollbar-track { background: transparent; }
.noticesStyle--tiles .noticesPanel__list::-webkit-scrollbar-thumb, .noticesStyle--tiles.noticesPanel__list::-webkit-scrollbar-thumb { border-radius: 999px; background: rgba(128,128,128,.35); }
.noticesStyle--tiles .noticesItem--empty { flex: 1 1 auto; border: 1px dashed rgba(128,128,128,.2); background: transparent; }

/* Grid: the same cards, as many across as the width allows */
.noticesStyle--grid .noticesPanel__list, .noticesStyle--grid.noticesPanel__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 10px; padding: 12px; }
.noticesStyle--grid .noticesItem { border: 1px solid rgba(128,128,128,.18); border-left: 3px solid var(--noticesRow, #888); border-radius: 10px; padding: 11px 13px; background: linear-gradient(135deg, color-mix(in srgb, var(--noticesRow, #888) 11%, transparent), transparent 65%); }
.noticesStyle--grid .noticesPanel__list > .noticesItem:first-child, .noticesStyle--grid.noticesPanel__list > .noticesItem:first-child { border-top: 1px solid rgba(128,128,128,.18); }
.noticesStyle--grid .noticesItem { display: flex; }
.noticesStyle--grid .noticesItem__main { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }
.noticesStyle--grid .noticesItem__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; line-height: 1.35; }
.noticesStyle--grid .noticesItem__body { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; margin-top: 4px; }
.noticesStyle--grid .noticesItem__meta { margin-top: auto; padding-top: 8px; }

/* Spotlight: the newest one gets the room, the rest get a line each */
.noticesStyle--spotlight .noticesItem { padding: 7px 14px; }
.noticesStyle--spotlight .noticesItem__body { display: none; }
.noticesStyle--spotlight .noticesItem__main { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 10px; }
.noticesStyle--spotlight .noticesItem__meta { margin-top: 0; }
.noticesStyle--spotlight .noticesPanel__list > .noticesItem:first-child, .noticesStyle--spotlight.noticesPanel__list > .noticesItem:first-child { border-top: 0; border-left-width: 4px; padding: 16px 16px 14px; background: linear-gradient(115deg, color-mix(in srgb, var(--noticesRow, #888) 17%, transparent), transparent 70%); }
.noticesStyle--spotlight .noticesPanel__list > .noticesItem:first-child .noticesItem__main { display: block; }
.noticesStyle--spotlight .noticesPanel__list > .noticesItem:first-child .noticesItem__title { font-size: 17px; line-height: 1.3; }
.noticesStyle--spotlight .noticesPanel__list > .noticesItem:first-child .noticesItem__body { display: block; margin-top: 5px; font-size: 13.5px; }
.noticesStyle--spotlight .noticesPanel__list > .noticesItem:first-child .noticesItem__meta { margin-top: 7px; }

/* Compact: one line per notice, the headline and its meta side by side and nothing of the body.
   The look for a reader who wants to know what has been posted, not what it says. */
.noticesStyle--compact .noticesItem { padding: 5px 12px; }
.noticesStyle--compact .noticesItem__body { display: none; }
.noticesStyle--compact .noticesItem__main { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 10px; }
.noticesStyle--compact .noticesItem__title { font-size: 13.5px; }
.noticesStyle--compact .noticesItem__meta { margin-top: 0; display: flex; align-items: baseline; flex: 1 1 auto; min-width: 0; }
/* One line a notice, so what sits the same way on every line goes to the edge and reads as a column */
.noticesStyle--compact .noticesItem__side { margin-left: auto; padding-left: 10px; white-space: nowrap; }
.noticesStyle--compact .noticesItem__dot--side { display: none; }
.noticesStyle--compact .noticesItem__cat { white-space: nowrap; flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
/* A long headline gives way rather than pushing the edge off the row */
.noticesStyle--compact .noticesItem__title { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Unread. A noticeboard nobody notices is a noticeboard nobody reads, so the count pulses until
   it is cleared, and anyone who finds movement unpleasant gets it still. */
.noticesPanel__new { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #e03131; color: #fff; font-size: 11px; font-weight: 700; animation: noticesPulse 1.8s ease-in-out infinite; }
.noticesMark { font-size: 12px; opacity: .6; text-decoration: none; white-space: nowrap; }
.noticesPanel__all + .noticesMark { margin-left: 10px; }
.noticesMark:hover { opacity: 1; }
.noticesItem--new .noticesItem__title { font-weight: 700; }
/* Beside the headline, never in it: a headline shortened to fit clips what sits inside it. The
   ring is painted within the element's own 21px box, so nothing outside can cut it either. */
.noticesItem__head { min-width: 0; }
.noticesItem__flag { display: none; }
.noticesItem--new .noticesItem__flag { display: inline-block; position: relative; flex: none; align-self: center; width: 21px; height: 21px; margin: -7px 0; vertical-align: middle; }
.noticesItem--new .noticesItem__flag::before { content: ''; position: absolute; inset: 7px; border-radius: 999px; background: #e03131; animation: noticesPulse 1.8s ease-in-out infinite; }
/* Compact clips the headline to fit the row, so the clipped part is the headline and the piece
   that gives way is the wrapper around it and the dot */
.noticesStyle--compact .noticesItem__head { display: flex; align-items: center; flex: 0 1 auto; min-width: 0; }
.noticesStyle--compact .noticesItem--new .noticesItem__flag { margin: -7px -7px -7px 0; }
/* A card has no line for it to sit on, so there it takes the corner */
.noticesStyle--tiles .noticesItem, .noticesStyle--grid .noticesItem { position: relative; }
.noticesStyle--tiles .noticesItem--new .noticesItem__flag, .noticesStyle--grid .noticesItem--new .noticesItem__flag { position: absolute; top: 4px; right: 5px; margin: 0; }
.noticesStyle--tiles .noticesItem--new .noticesItem__title, .noticesStyle--grid .noticesItem--new .noticesItem__title { padding-right: 15px; }

@keyframes noticesPulse {
	0% { box-shadow: 0 0 0 0 rgba(224,49,49,.5); }
	70% { box-shadow: 0 0 0 7px rgba(224,49,49,0); }
	100% { box-shadow: 0 0 0 0 rgba(224,49,49,0); }
}

@media (prefers-reduced-motion: reduce) {
	.noticesPanel__new, .noticesItem--new .noticesItem__flag::before { animation: none; }
	.noticesStyle--tiles .noticesItem { transition: none; }
}

/* The picker: one icon in the header, and a strip of pills under it once it is asked for. It
   borrows the panel's own background, which is the only way to be right on every theme. */
.noticesLook__open { margin-left: 8px; opacity: .55; font-size: 13px; text-decoration: none; }
.noticesLook__open:hover { opacity: 1; }
.noticesLooks { display: none; flex-wrap: wrap; align-items: center; gap: 5px; padding: 8px 12px; border-bottom: 1px solid rgba(128,128,128,.14); background: rgba(128,128,128,.07); }
.noticesLooks__label { font-size: 12px; opacity: .6; margin-right: 2px; }
.noticesLook__item { padding: 3px 10px; border: 1px solid rgba(128,128,128,.3); border-radius: 999px; font-size: 12px; text-decoration: none; opacity: .75; }
.noticesLook__item:hover { opacity: 1; }
.noticesLook__item--on { font-weight: 600; opacity: 1; border-color: currentColor; }
.noticesBoard__tabs .noticesLook__open { margin-left: auto; }
.noticesBoard__tabs .noticesMark { margin-left: auto; align-self: center; padding-bottom: 4px; }
.noticesBoard__tabs .noticesPanel__new { margin-left: auto; align-self: center; margin-bottom: 4px; }
.noticesBoard__tabs .noticesPanel__new + .noticesMark { margin-left: 8px; }
.noticesBoard__tabs .noticesMark + .noticesLook__open { margin-left: 10px; align-self: center; }

.noticesBoard__tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid rgba(128,128,128,.25); }
.noticesBoard__tab { padding: 7px 12px; border-bottom: 2px solid transparent; text-decoration: none; font-size: 14px; }
.noticesBoard__tab--on { font-weight: 600; border-bottom-width: 3px; }
.noticesEmpty { padding: 26px 12px; text-align: center; opacity: .55; font-size: 13px; }
.noticesPager { display: flex; gap: 12px; justify-content: center; margin-top: 12px; font-size: 13px; }
/* The dialog carries its own padding, because a template dropped into one sits flush against
   its edges, and the share row is ruled off: it is the only thing in there that is not the
   notice. */
.noticesPopup { padding: 14px 18px 18px; }
/* The suite's own title bar is one line with an ellipsis on the end, so the headline is here */
.noticesPopup__title { margin: 8px 44px 0 0; font-size: 20px; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.noticesPopup__meta { margin-top: 8px; }
.noticesPopup__body { margin: 12px 0; }
/* The date a promotion runs to is the point of it, so it is said where it is read */
.noticesPopup__ends { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin: 10px 0 14px; padding: 7px 10px; border-radius: 5px; background: rgba(232,130,12,.13); font-size: 13px; }
.noticesPopup__ends--over { background: rgba(128,128,128,.14); opacity: .75; }
.noticesPopup__ends time { font-weight: 600; }
.noticesPopup__go { margin: 0 0 14px; }
.noticesAuto { display: none; }

.noticesShare { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding-top: 12px; border-top: 1px solid rgba(128,128,128,.16); }
.noticesShare__label { font-size: 12.5px; opacity: .7; }
.noticesShare__url { flex: 1 1 220px; min-width: 0; padding: 5px 8px; border: 1px solid rgba(128,128,128,.35); border-radius: 6px; background: transparent; color: inherit; font-size: 12.5px; }
.noticesShare__said { display: none; }
.noticesShare__copy--done .noticesShare__say { display: none; }
.noticesShare__copy--done .noticesShare__said { display: inline; }

/* The bar: the whole panel reduced to the one thing it has to say, for a theme that has no room
   for the panel but still has to admit a notice exists. A strip with one short headline in the
   middle of it looks like something left over, so the category colour washes in from the left and
   the category, the chip and the date fill the line the headline cannot. */
.noticesBar { display: flex; align-items: center; gap: 11px; padding: 8px 12px; margin-bottom: 14px; border: 1px solid rgba(128,128,128,.2); border-left: 3px solid var(--noticesRow, #888); border-radius: 8px; background: linear-gradient(90deg, color-mix(in srgb, var(--noticesRow, #888) 11%, transparent), transparent 30%); color: inherit; text-decoration: none; transition: background .15s ease, border-color .15s ease; }
.noticesBar:hover { color: inherit; border-color: color-mix(in srgb, var(--noticesRow, #888) 45%, rgba(128,128,128,.2)); background: linear-gradient(90deg, color-mix(in srgb, var(--noticesRow, #888) 18%, transparent), transparent 42%); }
.noticesBar__chip { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 999px; background: color-mix(in srgb, var(--noticesRow, #888) 24%, transparent); color: var(--noticesRow, #888); font-size: 13px; }
.noticesBar--new .noticesBar__chip { box-shadow: 0 0 0 3px color-mix(in srgb, var(--noticesRow, #888) 15%, transparent); }
.noticesBar__text { display: flex; align-items: baseline; flex-wrap: wrap; gap: 1px 9px; flex: 1 1 auto; min-width: 0; }
.noticesBar__cat { flex: 0 0 auto; font-size: 10.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--noticesRow, #888); }
.noticesBar__title { flex: 1 1 auto; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: 600; font-size: 13.5px; }
.noticesBar__when { flex: 0 0 auto; font-size: 12px; opacity: .55; }
.noticesBar__go { flex: 0 0 auto; opacity: .4; transition: transform .15s ease, opacity .15s ease; }
.noticesBar:hover .noticesBar__go { opacity: .85; transform: translateX(2px); }

@media (max-width: 620px) {
	.noticesBar__when { display: none; }
}

/* Held. The board is the only page they have until this is dealt with, so the strip says why they
   are here rather than where they were going, and the way out is in it. */
/* Amber, because nothing has gone wrong: there is something to read before the rest comes back */
.noticesStrip { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; padding: 12px 14px; margin-bottom: 14px; border: 1px solid color-mix(in srgb, #f08c00 42%, transparent); border-left: 3px solid #f08c00; border-radius: 8px; background: color-mix(in srgb, #f08c00 12%, transparent); }
.noticesStrip__icon { flex: 0 0 auto; color: #e8820c; font-size: 16px; }
.noticesStrip__text { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.noticesStrip__title { font-size: 14px; }
.noticesStrip__say { font-size: 12.5px; opacity: .75; }
.noticesStrip__go { flex: 0 0 auto; }

/* The block manager puts every widget in a box of its own, which is what a panel wants and the
   last thing a bar does: it is a frame already, and a frame in a frame is a mistake. */
.ipsWidget[data-blockID*="_noticesBar_"], .ipsWidget:has( > .noticesBar ), .ipsWidget:has( > .noticesBarSet ) { padding: 0; border: 0; background: transparent; box-shadow: none; }
.ipsWidget[data-blockID*="_noticesBar_"] .noticesBar, .ipsWidget > .noticesBar, .noticesBarSet > .noticesBar { margin-bottom: 0; }

/* The dialog has to fit the screen it opens over, and an editor left to itself takes half of that
   before a word is typed. The padding is here because the box is ours: a form dropped into a
   dialog sits flush against its edges. */
.noticesWrite { padding: 16px 20px 20px; max-height: calc(100vh - 170px); overflow-y: auto; overflow-x: hidden; }
.noticesWrite .cke_contents { height: 190px !important; min-height: 0 !important; }
.noticesWrite .cke_wysiwyg_div, .noticesWrite .cke_editable { min-height: 0 !important; }
.noticesWrite .ipsComposeArea, .noticesWrite .ipsComposeArea_editor { min-height: 0 !important; }
.noticesWrite .cke_top { padding: 3px 4px 0; }
.noticesWrite > .ipsForm { margin-bottom: 0; }

@media (max-height: 900px) {
	.noticesWrite { padding: 12px 16px 16px; }
	.noticesWrite .cke_contents { height: 140px !important; }
}

@media (max-width: 760px) {
	.noticesCompose__category, .noticesCompose__url { flex: 1 1 100%; max-width: none; }
	.noticesCompose__title { flex: 1 1 100%; }
}
