/* Product illustrations, composed from the captured Casie UI. See design/bento-sources.md in the repository. */
#platform .tile-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 22px; }
#platform .tile { display: grid; align-content: start; gap: 8px; min-width: 0; }
#platform .tile--wide { grid-column: span 2; }
#platform .tile-visual {
  --app-ink: #101424; --app-muted: #697586; --app-purple: #5143dd; --app-line: #e5e7eb;
  position: relative; isolation: isolate; container-type: inline-size; height: 280px; margin-bottom: 10px;
  overflow: hidden; border-radius: 16px; color: var(--app-ink);
  background: radial-gradient(ellipse at 22% 20%, #fffaf2 0, transparent 65%), radial-gradient(ellipse at 90% 100%, #eee9f3 0, transparent 68%), #f7f1eb;
  font-family: 'Inter', sans-serif; font-size: 14px; line-height: 1.4; letter-spacing: -.02em;
}
#platform .tile h3 { margin: 0; font-size: 19px; font-weight: 600; line-height: 1.3; letter-spacing: -.035em; }
#platform .tile p { margin: 0; max-width: 55ch; font-size: 15px; line-height: 1.6; color: #6c6560; }
#platform .bento-art { position: absolute; inset: 0; }
#platform .bento-art svg { display: block; width: 18px; height: 18px; flex-shrink: 0; }
#platform .bento-panel { background: #fff; border: 1px solid #e4e5e9; border-radius: 15px; box-shadow: 0 18px 34px -24px #5d496c45, 0 3px 7px -4px #3020341a; }
#platform .bento-muted { color: var(--app-muted); }
#platform .bento-label { font-size: 11px; font-weight: 700; letter-spacing: .065em; color: var(--app-muted); text-transform: uppercase; }
#platform .bento-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border: 1px solid #e5e7eb; border-radius: 100px; font-size: 12px; font-weight: 600; line-height: 1; white-space: nowrap; }
#platform .bento-pill--current { background: #fafbfc; color: #43505f; }
#platform .bento-pill--current::before { content: ''; width: 6px; height: 6px; border-radius: 100%; background: #50b18a; }
#platform .bento-pill--amber { background: #fff6cd; border-color: #f7e697; color: #8e4b10; }
#platform .bento-pill--green { background: #e3f8e8; border-color: #c9efd2; color: #26753a; }
#platform .bento-check { display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%; color: #fff; background: #059d76; }
#platform .bento-check svg { width: 17px; height: 17px; }
#platform .bento-action { display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--app-purple); border-radius: 10px; color: #fff; padding: 13px 12px; font-size: 15px; font-weight: 600; box-shadow: 0 8px 17px -12px #392bca99; }

/* One connected profile: identity, overview details and latest support contact. */
#platform .tile-visual--record { height: 352px; }
#platform .bento-record { position: absolute; top: 22px; left: 6%; width: 88%; padding: 18px; }
#platform .bento-person { display: flex; align-items: center; gap: 12px; }
#platform .bento-avatar { display: grid; place-items: center; width: 46px; height: 48px; border-radius: 14px; background: linear-gradient(145deg, #eff3f8, #e5e9ef); color: #7b8797; flex-shrink: 0; }
#platform .bento-avatar svg { width: 25px; height: 25px; }
#platform .bento-person-identity { min-width: 0; }
#platform .bento-person-name { display: block; font-weight: 700; font-size: 22px; line-height: 1.2; letter-spacing: -.045em; }
#platform .bento-person-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 6px; }
#platform .bento-person-home { display: flex; align-items: center; gap: 5px; color: #667180; font-size: 12px; }
#platform .bento-person-home svg { width: 13px; height: 13px; color: #97a3b1; }
#platform .bento-record .bento-pill { padding: 4px 7px; font-size: 10px; gap: 4px; }
#platform .bento-record .bento-pill::before { width: 5px; height: 5px; }
#platform .bento-profile-tabs { display: flex; gap: 6px; margin-top: 15px; padding-bottom: 14px; border-bottom: 1px solid var(--app-line); }
#platform .bento-profile-tabs span { padding: 7px 12px; text-align: center; color: #627082; font-size: 12px; font-weight: 600; line-height: 1.2; border: 1px solid var(--app-line); border-radius: 7px; }
#platform .bento-profile-tabs .is-active { background: var(--app-purple); border-color: var(--app-purple); color: white; }
#platform .bento-profile-details { display: grid; grid-template-columns: .8fr 1.2fr; gap: 10px; margin-top: 13px; }
#platform .bento-profile-field { min-width: 0; padding: 10px 12px; border: 1px solid #eef0f3; border-radius: 8px; background: #f8f9fb; }
#platform .bento-profile-field .bento-label { display: flex; align-items: center; gap: 5px; font-size: 9px; letter-spacing: .05em; }
#platform .bento-profile-field .bento-label svg { width: 12px; height: 12px; color: #398e71; }
#platform .bento-profile-field > strong { display: block; margin-top: 5px; font-size: 12px; line-height: 1.4; font-weight: 600; }
#platform .bento-profile-contact { margin-top: 13px; }
#platform .bento-profile-contact-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11px; }
#platform .bento-profile-contact-head > strong { font-weight: 650; }
#platform .bento-profile-contact-head > span { display: flex; align-items: center; gap: 4px; color: var(--app-purple); font-size: 10px; font-weight: 600; }
#platform .bento-profile-contact-head svg { width: 12px; height: 12px; }
#platform .bento-profile-entry { display: flex; align-items: center; gap: 9px; margin-top: 7px; padding: 9px 11px; border: 1px solid #eef0f3; border-radius: 8px; background: #f8f9fb; }
#platform .bento-profile-entry-icon { color: #50b18a; }
#platform .bento-profile-entry-icon svg { width: 20px; height: 20px; }
#platform .bento-profile-entry strong { display: block; font-size: 12px; font-weight: 600; }
#platform .bento-profile-entry div > span { display: block; margin-top: 2px; color: var(--app-muted); font-size: 10px; }
#platform .bento-profile-duration { margin-left: auto; color: var(--app-muted); font-size: 10px; white-space: nowrap; }
@media (min-width: 1024px) { #platform .tile-visual--signup { height: 352px; } #platform .tile-visual--signup .bento-art { transform: translateY(36px); } }

/* Completion is the focal point; documents provide the context. */
#platform .bento-paper { position: absolute; top: 32px; left: 50%; width: 170px; height: 196px; padding: 20px; transform: translateX(-50%) rotate(-6deg); border: 1px solid #e6e3e1; border-radius: 5px; background: #fff; box-shadow: 0 12px 20px -16px #5c4a4238; }
#platform .bento-paper--back { top: 37px; transform: translateX(-42%) rotate(5deg); background: #fcfbf9; }
#platform .bento-paper-title { color: #535b68; font-size: 12px; line-height: 1.5; font-weight: 600; }
#platform .bento-paper-lines { margin-top: 15px; height: 54px; background: repeating-linear-gradient(to bottom, #edf0f3 0 3px, transparent 3px 12px); }
#platform .bento-signed { position: absolute; left: 6%; width: 88%; top: 127px; display: flex; align-items: center; gap: 12px; padding: 18px 15px; background: #f0fcf6; border-color: #c6ecdc; box-shadow: 0 16px 27px -18px #56877155, 0 2px 4px #294c3410; }
#platform .bento-signed strong { display: block; font-size: 16px; font-weight: 650; }
#platform .bento-signed small { display: block; margin-top: 4px; color: #548471; font-size: 12px; line-height: 1.4; }

/* The same occupied and vacant room language as the property directory. */
#platform .bento-property-back { position: absolute; top: 24px; left: 12%; width: 78%; padding: 15px 17px 30px; color: #7b8390; }
#platform .bento-property-back strong { display: inline-block; font-size: 14px; font-weight: 600; }
#platform .bento-property-back .bento-pill { float: right; font-size: 10px; padding: 5px 7px; }
#platform .bento-property { position: absolute; top: 70px; left: 6%; width: 88%; padding: 19px 18px 17px; }
#platform .bento-property-name { display: block; font-size: 18px; font-weight: 700; letter-spacing: -.03em; }
#platform .bento-property-location { display: block; margin-top: 4px; color: #7a8798; font-size: 12px; }
#platform .bento-occupancy { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 14px; }
#platform .bento-occupancy .bento-label { font-size: 10px; }
#platform .bento-occupancy .bento-pill { font-size: 10px; }
#platform .bento-rooms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 11px; }
#platform .bento-rooms span { display: grid; place-items: center; height: 28px; border: 1.5px dashed #cdd5de; border-radius: 9px; color: #98a6b7; }
#platform .bento-rooms svg { width: 16px; height: 16px; }

/* One objective, and visible progress towards it. */
#platform .bento-plan-context { position: absolute; top: 29px; left: 8%; color: #7e7c82; font-size: 12px; font-weight: 600; }
#platform .bento-plan { position: absolute; top: 65px; left: 6%; width: 88%; padding: 22px 19px 19px; }
#platform .bento-objective { display: flex; align-items: flex-start; gap: 12px; }
#platform .bento-objective strong { font-size: 17px; line-height: 1.4; font-weight: 650; letter-spacing: -.035em; }
#platform .bento-objective > span { margin-left: auto; font-weight: 650; color: #5a6574; font-size: 17px; }
#platform .bento-progress { height: 8px; margin-top: 19px; overflow: hidden; border-radius: 100px; background: #f1f3f8; }
#platform .bento-progress span { display: block; width: 40%; height: 100%; border-radius: inherit; background: #eba430; }
#platform .bento-plan-progress { display: flex; align-items: center; justify-content: space-between; margin-top: 11px; gap: 7px; font-size: 12px; color: #778294; }
#platform .bento-plan-progress .bento-plan-link { color: #5143bd; font-weight: 600; white-space: nowrap; }

/* A quieter checklist makes the outstanding visit easy to spot. */
#platform .bento-week-sheet { position: absolute; top: 27px; left: 11%; width: 85%; min-height: 290px; padding: 20px 17px; }
#platform .bento-week-sheet > strong { display: block; font-size: 15px; font-weight: 650; margin-bottom: 15px; }
#platform .bento-completed { display: flex; align-items: center; gap: 9px; padding: 12px 0; border-top: 1px solid #eff0f2; color: #8b97a6; font-size: 11px; white-space: nowrap; }
#platform .bento-completed svg { color: #7ebd9f; width: 17px; height: 17px; }
#platform .bento-due { position: absolute; top: 164px; left: 5%; width: 90%; padding: 18px 15px; display: flex; align-items: center; gap: 10px; border-color: #e1ddf0; box-shadow: 0 17px 26px -17px #5e507352, 0 2px 3px #29243908; }
#platform .bento-empty-check { width: 22px; height: 22px; flex: 0 0 22px; border: 1.5px solid #cdd4de; border-radius: 50%; }
#platform .bento-due strong { display: block; font-size: 15px; font-weight: 650; }
#platform .bento-due small { display: block; font-size: 12px; color: #7b8594; margin-top: 4px; }
#platform .bento-log { display: flex; align-items: center; gap: 4px; margin-left: auto; color: var(--app-purple); font-size: 13px; font-weight: 650; }
#platform .bento-log svg { width: 14px; height: 14px; }

/* A real suggested risk, with the human review decision made explicit. */
#platform .bento-risk { position: absolute; top: 29px; left: 7%; width: 86%; padding: 18px; border: 1.5px dashed #cfd6df; background: #fbfcfe; }
#platform .bento-risk-state { display: flex; align-items: center; gap: 5px; color: #778291; font-size: 10px; font-weight: 650; letter-spacing: .065em; }
#platform .bento-risk-state svg { width: 12px; height: 12px; }
#platform .bento-risk-title { display: flex; align-items: center; gap: 9px; margin: 11px 0 16px; }
#platform .bento-risk-title strong { font-size: 17px; letter-spacing: -.025em; font-weight: 700; }
#platform .bento-risk-level { padding: 4px 6px; border-radius: 5px; background: #eca62e; color: #fff; font-size: 10px; letter-spacing: .025em; font-weight: 750; }
#platform .bento-risk-person { display: flex; justify-content: space-between; align-items: center; padding-block: 13px; border-top: 1px solid #e9edf1; }
#platform .bento-risk-person strong { font-size: 13px; font-weight: 600; }
#platform .bento-risk .bento-action { margin-top: 6px; }

/* The actual export choices and action, enlarged and separated for legibility. */
#platform .bento-export { position: absolute; inset: 0; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 34px; padding: 30px 35px; }
#platform .bento-export-choices { min-width: 0; }
#platform .bento-export-title { display: block; margin: 0 0 12px 3px; color: #7b7481; font-size: 12px; font-weight: 600; }
#platform .bento-export-row { display: flex; align-items: center; gap: 11px; padding: 15px 16px; margin-top: 9px; border-radius: 11px; background: #fff; border: 1px solid #e2def7; box-shadow: 0 7px 12px -10px #40326735; }
#platform .bento-export-check { display: grid; place-items: center; flex: 0 0 21px; width: 21px; height: 21px; border-radius: 5px; background: var(--app-purple); color: #fff; }
#platform .bento-export-check svg { width: 14px; height: 14px; }
#platform .bento-export-row strong { display: block; font-size: 14px; font-weight: 600; }
#platform .bento-export-row small { display: block; font-size: 12px; color: #8790a0; margin-top: 3px; }
#platform .bento-export-action { min-width: 0; }
#platform .bento-period-label { display: block; margin-bottom: 9px; font-size: 12px; font-weight: 500; color: #7b7481; }
#platform .bento-period { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 13px 14px; border-radius: 10px; background: #fff; border: 1px solid #dde0e6; font-size: 14px; font-weight: 500; }
#platform .bento-period svg { width: 14px; height: 14px; color: #8793a3; }
#platform .bento-export-action .bento-action { margin-top: 10px; }

@container (max-width: 520px) {
  #platform .bento-record { left: 5%; width: 90%; top: 18px; padding: 14px; }
  #platform .bento-person { gap: 9px; }
  #platform .bento-person-name { font-size: 18px; }
  #platform .bento-avatar { width: 37px; height: 42px; border-radius: 11px; }
  #platform .bento-avatar svg { width: 22px; height: 22px; }
  #platform .bento-person-meta { gap: 5px 7px; }
  #platform .bento-person-home { font-size: 10px; gap: 3px; }
  #platform .bento-person-home svg { width: 11px; height: 11px; }
  #platform .bento-record .bento-pill { font-size: 9px; padding: 3px 5px; }
  #platform .bento-profile-tabs { gap: 5px; margin-top: 12px; padding-bottom: 12px; }
  #platform .bento-profile-tabs span { flex: 1; font-size: 11px; padding: 7px 4px; }
  #platform .bento-profile-details { gap: 7px; grid-template-columns: .85fr 1.15fr; }
  #platform .bento-profile-field { padding: 9px; }
  #platform .bento-profile-field .bento-label { font-size: 9px; }
  #platform .bento-profile-field > strong { font-size: 12px; }
  #platform .bento-pill { font-size: 10px; }
  #platform .bento-export { grid-template-columns: 1fr; padding: 22px 7%; gap: 13px; }
  #platform .bento-export-title { margin-bottom: 8px; }
  #platform .bento-export-row { padding: 10px 12px; gap: 9px; }
  #platform .bento-export-row > div { display: flex; align-items: baseline; justify-content: space-between; width: 100%; gap: 8px; }
  #platform .bento-export-row strong { font-size: 12px; }
  #platform .bento-export-row small { margin: 0; font-size: 10px; white-space: nowrap; }
  #platform .bento-export-action { display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 10px; }
  #platform .bento-period-label { grid-column: 1 / -1; margin: 0 0 -3px; font-size: 11px; }
  #platform .bento-period { padding: 12px 9px; font-size: 12px; }
  #platform .bento-export-action .bento-action { margin: 0; padding: 12px 9px; font-size: 13px; }
}
@container (max-width: 300px) {
  #platform .bento-signed { gap: 9px; padding: 17px 12px; }
  #platform .bento-signed strong { font-size: 14px; }
  #platform .bento-signed small { font-size: 11px; }
  #platform .bento-property { padding-inline: 14px; }
  #platform .bento-property-back { padding-inline: 12px; }
  #platform .bento-property-back strong { font-size: 12px; }
  #platform .bento-property-back .bento-pill { font-size: 9px; }
  #platform .bento-rooms { grid-template-columns: repeat(4, 1fr); gap: 5px; }
  #platform .bento-rooms span { height: 23px; }
  #platform .bento-occupancy { margin-top: 12px; }
  #platform .bento-rooms { margin-top: 10px; }
  #platform .bento-objective strong { font-size: 15px; }
  #platform .bento-risk { padding: 16px 13px; }
  #platform .bento-risk-title strong { font-size: 15px; }
  #platform .bento-due { padding-inline: 11px; gap: 7px; }
  #platform .bento-due strong { font-size: 14px; }
  #platform .bento-completed { font-size: 10px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  #platform .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #platform .tile--wide:last-child { grid-column: auto; }
}
@media (max-width: 767px) {
  #platform .tile-grid { grid-template-columns: 1fr; gap: 32px; }
  #platform .tile--wide { grid-column: auto; }
  #platform .tile-visual { height: 280px; }
  #platform .tile-visual--record { height: 340px; }
  #platform .tile h3 { font-size: 19px; }
}
