/* Result notices after a document action (lib/action-notice.js, views/partials/notice.ejs):
   a short title, one line per result marked done or not done, reason in smaller text. */
.notice.notice-result{position:relative;display:grid;gap:8px;padding:14px 46px 14px 16px;border:1px solid #e7e1dc;border-left:3px solid #16734a;border-radius:12px;background:#fff!important;color:#2d262a;box-shadow:0 6px 18px rgba(45,38,42,.06);font-size:14px;line-height:20px}
.notice.notice-result.warning{border-left-color:#ff9c01}
.notice.notice-result.error{border-left-color:#a83b3b}
.notice-result .notice-title{display:block;color:#211c1e;font-size:15px;font-weight:600;line-height:21px}
.notice-result .notice-results{display:grid;gap:7px;margin:0;padding:0;list-style:none}
.notice-result .notice-results li{display:grid;grid-template-columns:18px minmax(0,1fr);gap:9px;align-items:start;margin:0}
.notice-result .notice-mark{width:18px;height:18px;margin-top:1px;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.notice-result .is-done .notice-mark{stroke:#16734a}
.notice-result .is-done .notice-mark circle{fill:#e8f5ee;stroke:#16734a}
.notice-result .is-not-done .notice-mark{stroke:#a83b3b}
.notice-result .is-not-done .notice-mark circle{fill:#fbeeee;stroke:#a83b3b}
.notice-result .notice-result-text{min-width:0;overflow-wrap:anywhere;color:#2d262a}
.notice-result .is-not-done .notice-result-text{color:#7d2a2a;font-weight:600}
.notice-result .notice-result-text small{display:block;margin-top:2px;color:#6f6569;font-size:12.5px;font-weight:400;line-height:18px}
.notice-result .notice-note{margin:0;color:#6f6569;font-size:13px;line-height:19px}
.notice-result .ui-notice-close{position:absolute;top:10px;right:10px;float:none;margin:0;color:#6f6569}
.notice-result .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* Every page notice: width follows its margins (.main>* sets width:100%, which pushed it off the
   right edge of a phone), and on a phone it lines up with the page content below it. */
.main>.notice{width:auto}
@media (max-width:767px){
  .main>.notice{margin:12px 0 0!important}
  .notice.notice-result{padding:12px 42px 12px 14px}
}
/* The same layout inside a toast (forms that save without reloading). */
.ui-toast .notice-results{display:grid;gap:6px;margin:6px 0 0;padding:0;list-style:none}
.ui-toast .notice-results li{display:grid;grid-template-columns:16px minmax(0,1fr);gap:8px;align-items:start;font-size:12px;line-height:18px;color:#2d262a}
.ui-toast .notice-mark{width:16px;height:16px;margin-top:1px;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ui-toast .is-done .notice-mark{stroke:#16734a}
.ui-toast .is-not-done .notice-mark{stroke:#a83b3b}
.ui-toast .notice-result-text small{display:block;color:#6f6569;font-size:11.5px}
.ui-toast .notice-note{margin:6px 0 0}
.ui-toast .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
/* Every form: a star beside fields that must be filled, and the line shown when typed values were put back (public/form-keep.js). */
.fk-star{color:#630038;font-weight:700;margin-left:2px;text-transform:none}
.fk-kept{display:flex;flex-wrap:wrap;gap:4px 6px;align-items:baseline;margin:0 0 12px;padding:10px 12px;border-radius:10px;background:#fff6e6;border:1px solid #f3d29a;color:#4a3410;font-size:14px;line-height:1.4;grid-column:1/-1}
.fk-kept strong{font-weight:700}
