/* New Announcement wizard (Figma 22316:170730 … 171297) and Announcement Detail / Share (168936 … 169170). */

.screen.an { display: flex; flex-direction: column; overflow: hidden; background: var(--gohan); }
.an.is-review { background: var(--goku); }
.an-top { flex: none; background: var(--gohan); }
.an-head { display: flex; align-items: center; gap: 16px; min-height: 62px; padding: calc(var(--sb) + 8px) 24px 12px; box-shadow: inset 0 -1px 0 #EAEAEA; }
.an-head h1 { flex: 1; min-width: 0; }
.an-back { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 6px; }
.an-back:hover { background: var(--heles); }
.an-steps {
  display: flex; align-items: center; justify-content: space-between; padding: 16px 24px;
  background: linear-gradient(var(--jiren), var(--jiren)), var(--gohan); box-shadow: inset 0 -1px 0 #EAEAEA;
}
.an-step { flex: none; width: 90px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 6px; }
button.an-step:hover { background: rgba(255, 255, 255, 0.6); }
.an-step-no {
  flex: none; width: 24px; height: 24px; border-radius: 50%; border: 0.6px solid var(--beerus); background: var(--gohan);
  display: grid; place-items: center; font: 400 10px/16px var(--font); color: var(--piccolo);
}
.an-step-no.is-on { border-color: var(--piccolo); background: var(--piccolo); color: var(--gohan); font-weight: 700; }
.an-step-label { font: 400 12px/16px var(--font); color: var(--bulma); white-space: nowrap; }
.an-step-line { flex: none; width: 32px; height: 1px; }
.an-body { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; }
.an-body::-webkit-scrollbar { display: none; }
.an-form { display: flex; flex-direction: column; gap: 24px; padding: 24px 20px 40px; }
.an-intro { display: flex; flex-direction: column; gap: 4px; }
.an-intro h2 { font: 700 20px/32px var(--font); }
.an-intro p { font: 400 14px/20px var(--font); color: var(--trunks); }
.an-foot { flex: none; padding: 16px 20px 0; background: var(--gohan); border-top: 1px solid var(--beerus); filter: drop-shadow(0 -2px 8px rgba(0, 0, 0, 0.08)); }
.an-next { width: 100%; text-align: center; padding: 16px 24px; border-radius: var(--radius-i-sm); background: var(--piccolo); color: var(--goten); font: 600 16px/24px var(--font); }
.an-next:disabled { background: var(--beerus); cursor: default; }
.an-next:not(:disabled):hover { filter: brightness(1.08); }
.an-foot .home-indicator { height: 34px; }

/* Audience */
.an-aud { border: 1px solid var(--beerus); border-radius: 8px; background: var(--gohan); overflow: hidden; }
.an-aud.is-open { background: linear-gradient(var(--heles), var(--heles)), var(--gohan); }
.an-aud-row { display: flex; align-items: center; gap: 8px; width: 100%; padding: 12px 16px; text-align: left; }
.an-aud-ico { flex: none; padding: 4.571px; display: flex; }
.an-rv-aud .an-aud-ico { padding: 4px; }
.an-aud-label { flex: 1; min-width: 0; font: 400 16px/24px var(--font); color: var(--bulma); }
.an-aud-count { color: var(--trunks); }
.an-aud-chev { flex: none; padding: 4px; border-radius: 6px; display: flex; transition: transform .15s; }
.an-aud.is-open .an-aud-chev { transform: rotate(180deg); }
.an-aud-chev:hover { background: var(--heles); }
.an-aud-body { padding-bottom: 12px; }
.an-chips { display: flex; gap: 8px; padding: 0 16px; }
.an-chip { height: 32px; padding: 4px 8px; border-radius: 4px; background: var(--gohan); font: 400 14px/24px var(--font); color: var(--bulma); }
.an-chip.is-on { background: var(--piccolo); color: var(--gohan); }
.an-class { display: flex; flex-direction: column; gap: 8px; padding: 12px 16px 0; }
.an-select {
  display: flex; align-items: center; gap: 8px; width: 100%; padding: 16px; border: 1px solid var(--beerus); border-radius: var(--radius-i-sm);
  background: var(--gohan); font: 400 16px/24px var(--font); color: var(--trunks); text-align: left;
}
.an-select span { flex: 1; }
.an-select:hover { border-color: #CFCFCF; }
.an-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.an-tag {
  display: flex; align-items: center; gap: 4px; padding: 8px 8px 8px 12px; border: 1px solid var(--goku); border-radius: 8px;
  background: var(--jiren); font: 400 12px/16px var(--font); color: var(--bulma);
}
.an-tag button { display: flex; border-radius: 50%; }
.an-empty { display: flex; flex-direction: column; gap: 4px; padding: 12px; border-radius: 8px; background: var(--goku); font: 400 14px/20px var(--font); color: var(--trunks); }
.an-empty-title { color: var(--dodoria); }

/* Select Class & Form sheet */
.sheet.an-sheet { padding-bottom: 0; gap: 0; }
.an-pick { display: flex; flex-direction: column; gap: 16px; padding-top: 24px; min-height: 0; }
.an-pick-top { display: flex; flex-direction: column; gap: 8px; }
.an-pick-search { display: flex; align-items: center; gap: 12px; max-height: 48px; padding: 12px; border-radius: 8px; background: var(--goku); cursor: text; }
.an-pick-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 700 14px/24px var(--font); color: var(--bulma); }
.an-pick-search input::placeholder { color: var(--trunks); }
.an-all { display: flex; align-items: center; gap: 8px; padding: 0 8px; font: 400 14px/24px var(--font); color: var(--piccolo); text-align: left; }
.an-all .an-cb:empty::before { border-color: var(--piccolo); }
.an-pick-list { display: flex; flex-direction: column; gap: 8px; max-height: 438px; overflow-y: auto; padding-bottom: 8px; }
.an-cls { display: flex; flex-direction: column; gap: 16px; padding: 12px 0; }
.an-cls-row { display: flex; align-items: center; gap: 16px; height: 32px; }
.an-cls-check, .an-sec { flex: 1; min-width: 0; display: flex; align-items: center; gap: 16px; height: 32px; font: 400 18px/28px var(--font); color: var(--bulma); text-align: left; }
.an-sec { padding-left: 40px; }
.an-cls-exp { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 6px; }
.an-cls-exp:hover { background: var(--heles); }
.an-cb { flex: none; position: relative; width: 24px; height: 24px; }
.an-cb:empty::before { content: ""; position: absolute; inset: 16.67%; border: 1.5px solid var(--trunks); border-radius: 3px; }
.an-cb.is-on::before { content: ""; position: absolute; inset: 16.67%; border-radius: 3px; background: var(--piccolo); }
.an-cb.is-on img { position: absolute; left: 4px; top: 4px; }
.an-cb > img[width="24"] { display: block; }
.an-pick-foot {
  position: sticky; bottom: 0; display: flex; gap: 16px; margin: 0 -20px; padding: 12px 20px 24px; background: var(--gohan);
  border-top: 1px solid var(--beerus); box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
}
.an-clear { flex: 1; font: 700 18px/28px var(--font); color: var(--piccolo); text-decoration: underline; text-underline-position: from-font; }
.an-apply { flex: 1; font-size: 18px; line-height: 28px; }
.an-apply:disabled { opacity: 1; background: var(--beerus); }

/* Details */
.an-field {
  display: flex; flex-direction: column; justify-content: center; min-height: 50px; padding: 12px 16px 8px;
  border: 1px solid var(--beerus); border-radius: var(--radius-i-sm); background: var(--gohan); cursor: text;
}
.an-field:focus-within { border-color: var(--piccolo); }
.an-field-label { display: none; font: 400 12px/12px var(--font); color: var(--trunks); }
.an-field.is-filled .an-field-label { display: block; }
.an-field input, .an-field textarea { width: 100%; border: 0; outline: 0; background: transparent; padding: 0; font: 400 16px/24px var(--font); color: var(--bulma); }
.an-field input::placeholder, .an-field textarea::placeholder { color: var(--trunks); }
.an-field:not(.is-filled) { padding: 12px 16px; }
.an-field textarea { resize: none; overflow: hidden; display: block; }
.an-area textarea { resize: vertical; min-height: 48px; }
.an-attach { display: flex; flex-direction: column; gap: 16px; padding: 16px; border: 1px solid var(--beerus); border-radius: var(--radius-i-sm); }
.an-attach-head { display: flex; align-items: center; gap: 8px; }
.an-attach-title { flex: 1; min-width: 0; display: flex; flex-direction: column; font: 400 16px/24px var(--font); color: var(--bulma); }
.an-attach-title small { font: 400 12px/16px var(--font); color: var(--trunks); }
.an-attach-row { display: flex; align-items: center; gap: 8px; padding-left: 32px; font: 400 16px/24px var(--font); color: var(--bulma); }
.an-attach-row span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.an-thumb { flex: none; border: 0.5px solid rgba(0, 0, 0, 0.25); border-radius: 4px; object-fit: cover; }
.an-icon-btn { flex: none; display: grid; place-items: center; min-width: 24px; min-height: 24px; border-radius: 6px; }
.an-icon-btn:hover { background: var(--heles); }
.an-sched { display: flex; flex-direction: column; gap: 8px; }
.an-sched-head { display: flex; align-items: center; gap: 10px; }
.an-sched-title { flex: 1; padding: 0 8px; font: 700 12px/16px var(--font); color: var(--zeno); }
.an-sched-sub { font: 400 12px/16px var(--font); color: var(--trunks); white-space: nowrap; }
.an-toggle { flex: none; width: 45px; height: 24px; display: flex; align-items: flex-start; }
.an-when { display: flex; border: 1px solid var(--beerus); border-radius: var(--radius-i-sm); background: var(--gohan); overflow: hidden; }
.an-when.is-off { opacity: 0.5; }
.an-when-part { position: relative; flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; max-height: 48px; padding: 12px; cursor: pointer; }
.an-when.is-off .an-when-part { cursor: default; }
.an-when-part span { flex: 1; font: 400 16px/24px var(--font); color: var(--trunks); }
.an-when-part span.has-value { color: var(--bulma); }
.an-when-part input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.an-when-part input:disabled { cursor: default; }
.an-when-div { width: 1px; background: var(--beerus); }

/* Review */
.an-review { display: flex; flex-direction: column; gap: 12px; padding-bottom: 12px; }
.an-rv { display: flex; flex-direction: column; gap: 24px; padding: 24px 20px; background: var(--gohan); }
.an-rv-head { display: flex; align-items: flex-start; gap: 4px; }
.an-rv-head h2 { flex: 1; font: 700 16px/24px var(--font); }
.an-edit { display: flex; align-items: center; gap: 8px; padding: 0 4px; border-radius: 6px; font: 400 14px/24px var(--font); color: var(--piccolo); }
.an-edit.add { gap: 6px; }
.an-edit:hover { background: var(--jiren); }
.an-rv-box { border: 1px solid var(--beerus); border-radius: 8px; background: var(--gohan); }
.an-rv-aud { display: flex; align-items: flex-start; gap: 12px; padding: 12px 16px 16px; }
.an-rv-aud-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.an-rv-aud-text p { padding: 4px 0; font: 400 16px/24px var(--font); }
.an-rv-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.an-rv-tags span { padding: 4px 8px; border: 1px solid var(--goku); border-radius: 8px; background: var(--heles); font: 400 12px/16px var(--font); color: var(--trunks); }
.an-rv-title { padding: 16px; border-bottom: 1px solid var(--beerus); font: 700 16px/24px var(--font); color: #0C1322; }
.an-rv-text { padding: 16px; font: 400 16px/24px var(--font); color: var(--trunks); white-space: pre-wrap; overflow-wrap: anywhere; }
.an-rv-when { padding: 0 16px 16px; font: 700 14px/20px var(--font); color: var(--piccolo); }
.an-rv-file { display: flex; align-items: center; gap: 12px; padding: 12px 16px 16px; }
.an-rv-file + .an-rv-file { border-top: 1px solid var(--beerus); }
.an-rv-file span { flex: 1; min-width: 0; font: 700 16px/24px var(--font); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.an-rv-file .an-icon-btn { width: 32px; height: 32px; }
.an-rv-none { font: 400 14px/20px var(--font); color: var(--trunks); }

/* Announcement Detail */
.ad { background: var(--gohan); }
.ad-page { display: flex; flex-direction: column; gap: 24px; padding: calc(var(--sb) + 24px) 20px 98px; }
.ad-head { display: flex; align-items: center; justify-content: space-between; height: 40px; }
.ad-back { width: 31.69px; height: 31.69px; display: grid; place-items: center; border-radius: 6px; }
.ad-back img { transform: rotate(180deg); }
.ad-more { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 6px; margin-right: -8px; }
.ad-back:hover, .ad-more:hover { background: var(--heles); }
.ad-form { display: flex; flex-direction: column; gap: 24px; }
.ad-to { display: flex; align-items: flex-start; gap: 8px; }
.ad-to-label { flex: none; padding: 4px; font: 400 16px/24px var(--font); color: #5D626C; }
.ad-to-box { display: flex; flex-direction: column; gap: 8px; padding: 4px 8px; border-radius: var(--radius-i-sm); background: var(--goku); }
.ad-to-box.is-open { flex: 1; min-width: 0; padding: 8px; }
.ad-to-chip { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; font: 400 14px/24px var(--font); color: var(--trunks); text-align: left; }
.ad-to-chip:disabled { cursor: default; }
.ad-to-box:not(.is-open) .ad-to-chip img { transform: rotate(180deg); }
.ad-to-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ad-to-tags span { padding: 4px 8px; border-radius: 4px; background: var(--gohan); font: 400 12px/16px var(--font); color: var(--trunks); }
.ad-to-all { display: flex; align-items: center; gap: 4px; height: 24px; }
.ad-to-small { font: 400 12px/16px var(--font); color: var(--trunks); }
.ad-everyone { flex: 1; font: 400 16px/24px var(--font); color: var(--trunks); }
.ad-people { padding: 1px 4px; border: 1px solid var(--beerus); border-radius: 4px; font: 400 12px/16px var(--font); color: var(--trunks); }
.ad-main { display: flex; flex-direction: column; gap: 16px; }
.ad-titles { display: flex; flex-direction: column; gap: 8px; }
.ad-title { font: 700 16px/24px var(--font); color: #0C1322; }
.ad-date { font: 400 14px/20px var(--font); color: var(--trunks); }
.ad-text { padding: 8px; font: 400 16px/24px var(--font); color: var(--trunks); white-space: pre-wrap; overflow-wrap: anywhere; }
.ad-files { display: flex; flex-direction: column; gap: 8px; }
.ad-files .nd-label { margin-bottom: 8px; }
.ad-file { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: var(--radius-s-sm); background: var(--goku); }
.ad-file span { flex: 1; min-width: 0; font: 700 16px/24px var(--font); color: var(--trunks); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Share sheet */
.sheet.ad-share-sheet { padding-bottom: 24px; }
.ad-share { display: flex; justify-content: space-between; margin: 0 -20px; padding: 0 20px; }
.ad-share-item { width: 75px; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 8px; border-radius: 8px; font: 400 12px/16px var(--font); color: var(--bulma); }
.ad-share-item:hover { background: var(--heles); }
.ad-share-ico { width: 40px; height: 40px; border-radius: var(--radius-s-sm); display: grid; place-items: center; padding: 4px; }
.ad-share-item:nth-child(4) .ad-share-ico { padding: 0; }

/* Announcement list (Figma 22316:168825) */
.al { background: var(--goku); }
.al-head {
  position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 16px; min-height: 62px;
  padding: calc(var(--sb-dash) + 8px) 24px 12px; background: var(--gohan); box-shadow: inset 0 -1px 0 #EAEAEA;
}
.al-head h1 { flex: 1; min-width: 0; }
.al-back { flex: none; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 6px; }
.al-search-btn { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; }
.al-back:hover, .al-search-btn:hover { background: var(--heles); }
.al-page { display: flex; flex-direction: column; gap: 16px; padding: 16px 20px 110px; }
.al-search[hidden] { display: none; }
.al-chips { margin: 0 -20px; padding: 0 20px; }
.al-list { display: flex; flex-direction: column; gap: 16px; }
.al-card { display: flex; flex-direction: column; gap: 16px; width: 100%; padding: 16px 24px 24px; border-radius: 16px; background: var(--gohan); text-align: left; }
.al-card:hover { background: #FCFCFC; }
.al-card-top { display: flex; align-items: center; gap: 10px; }
.al-date { flex: 1; font: 400 14px/24px var(--font); color: var(--trunks); }
.al-card-body { display: flex; flex-direction: column; gap: 8px; }
.al-by { font: 400 12px/16px var(--font); color: var(--trunks); }
.al-title { font: 700 16px/24px var(--font); color: #0C1322; }
.al-text {
  font: 400 14px/20px var(--font); color: var(--trunks); white-space: pre-wrap;
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
}
.al-to { display: flex; align-items: center; gap: 4px; height: 24px; }
.al-to-label { flex: none; font: 400 12px/16px var(--font); color: #5D626C; }
.al-to-who { flex: 1; min-width: 0; font: 400 16px/24px var(--font); color: var(--trunks); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.al-to .ad-people { flex: none; }
.al-fabs { bottom: 97px; }
