:root { color-scheme: light; --blue: #168dc3; --action: #0097e7; --line: #ccd0d3; --muted: #727779; --ink: #333; }
* { box-sizing: border-box; }
body { margin: 0; background: #f3f8fc; color: var(--ink); font: 16px 'Trebuchet MS', Arial, sans-serif; }
a { color: #008bd5; text-decoration: none; }
a:hover { text-decoration: underline; }
.icon { width: 25px; height: 25px; flex-shrink: 0; vertical-align: middle; }
header { height: 76px; background: var(--blue); color: #fff; box-shadow: 0 2px 5px #0002; position: relative; z-index: 10; }
.header-inner { height: 100%; display: flex; align-items: center; padding: 9px 24px; gap: 14px; }
.brand { color: #fff; display: block; font: normal 29px Arial, sans-serif; letter-spacing: -1.2px; margin-right: 22px; line-height: 1; }
.brand:hover { text-decoration: none; }
.brand span { font-weight: 300; }
.brand small { display: block; font: 10px Arial, sans-serif; letter-spacing: 0; margin-bottom: 4px; }
.header-home, .header-menu > summary { display: flex; align-items: center; justify-content: center; width: 45px; height: 45px; background: #ffffff25; color: white; border-radius: 9px; }
.header-home .icon, .header-menu .icon { width: 29px; height: 29px; }
.header-menu > summary { background: #cf70c7; cursor: pointer; list-style: none; }
.header-menu > summary::-webkit-details-marker { display: none; }
.header-menu { position: relative; }
.header-menu nav { position: absolute; top: 53px; left: 0; width: 220px; background: #fff; border: 1px solid var(--line); box-shadow: 0 3px 7px #0002; }
.header-menu nav a { display: block; padding: 13px 16px; border-bottom: 1px solid #eee; color: #333; }
.account { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: 12px; }
.account form { margin-top: 4px; }
.account button { background: none; border: 0; color: white; text-decoration: underline; padding: 0; font: 12px Arial, sans-serif; }
.avatar { background: #ca60c5; border-radius: 50%; display: grid; place-items: center; font: 26px Arial, sans-serif; width: 40px; height: 40px; }
main { min-height: calc(100vh - 127px); }
.portal-shell { display: grid; grid-template-columns: minmax(245px, 25%) minmax(0, 1fr); min-height: calc(100vh - 127px); background: #edf6fc url('pattern.svg'); background-size: 480px 460px; }
.sidebar { border-right: 1px solid #c7ced2; }
.sidebar-heading { padding: 24px 20px 12px; }
h1 { font: normal 29px 'Trebuchet MS', Arial, sans-serif; color: #222; margin: 0 0 12px; line-height: 1.25; }
.sidebar h1 { font-size: 28px; white-space: nowrap; margin: 0 0 6px; }
.sidebar-help { font-size: 15px; color: #008bd5; }
.sidebar-help summary { cursor: pointer; list-style: none; }
.sidebar-help p { font-size: 13px; line-height: 1.5; color: #555; }
.send-new { margin-top: 28px; width: 100%; text-align: center; }
.side-nav a { display: flex; align-items: center; gap: 17px; color: #626769; min-height: 54px; padding: 13px 20px; border-left: 5px solid transparent; border-bottom: 1px solid #ccd1d5; font-size: 17px; }
.side-nav a .icon { color: #8b9296; width: 24px; height: 24px; }
.side-nav a.active { color: #108dcc; border-left-color: #168dc3; background: #ffffff5c; }
.side-nav a.active .icon { color: #168dc3; }
.side-nav a:hover { background: #fff9; text-decoration: none; }
.workspace { padding: 28px 30px 40px; min-width: 0; }
.message-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.message-toolbar h1 { margin: 0; color: #444; }
.search-form { display: flex; align-items: center; width: 320px; max-width: 50%; border: 1px solid #d0d3d5; border-radius: 5px; background: #fff; }
.search-form input { min-width: 0; border: 0; padding: 12px; background: transparent; }
.search-form button { background: transparent; border: 0; padding: 10px; color: #666; }
.search-form .icon { width: 24px; height: 24px; }
.list-toolbar { display: flex; justify-content: space-between; gap: 15px; align-items: center; margin-bottom: 20px; font-size: 14px; }
.list-toolbar a { display: flex; gap: 8px; align-items: center; font-size: 17px; }
.list-toolbar span { color: #7a7a7a; }
.conversation-list { border: 1px solid #c8cdd1; border-radius: 6px; overflow: hidden; background: #fff; }
.conversation { padding: 20px 18px; border-bottom: 1px solid #d3d6d8; display: flex; gap: 15px; color: #333; }
.conversation:last-child { border: 0; }
.conversation:hover { background: #f6fbff; text-decoration: none; }
.conversation-icon { display: flex; align-items: center; justify-content: center; width: 45px; height: 45px; flex-shrink: 0; border-radius: 50%; background: #1593c7; color: #fff; }
.conversation-icon .icon { width: 32px; height: 32px; stroke-width: 1.6; }
.conversation-copy { min-width: 0; width: 100%; }
.conversation-heading { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.conversation-heading h3 { margin: 0 0 7px; font-size: 23px; font-weight: normal; color: #111; }
.conversation-heading time { white-space: nowrap; font-size: 14px; }
.conversation-sender { font-size: 19px; margin-bottom: 5px; }
.conversation-copy p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 16px; margin: 0; line-height: 1.4; }
.appointments-shell { display: grid; grid-template-columns: minmax(0, 1fr) 25%; min-height: calc(100vh - 127px); background: #edf6fc url('pattern.svg'); background-size: 480px 460px; }
.appointment-main { min-width: 0; }
.appointment-page-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 26px; background: #f4f9fce6; }
.appointment-page-heading h1 { margin: 0; }
.appointment-filters { display: flex; gap: 24px; align-items: center; padding: 13px 26px; background: #e5f2fae6; }
.appointment-filters > div:first-child { background: #fff; padding: 7px 10px; border-radius: 5px; min-width: 130px; }
.appointment-filters label { font-size: 13px; font-weight: normal; color: #707070; margin: 0; }
.appointment-filters select { border: 0; padding: 2px 0; background: #fff; }
.filter-options { position: relative; }
.filter-options summary { color: #008bd5; cursor: pointer; }
.filter-options[open] { background: #fff; padding: 10px; border: 1px solid var(--line); }
.filter-options label { margin-top: 8px; }
.appointment-filters > button { margin-left: auto; font-size: 13px; }
.guide-banner { display: flex; align-items: flex-start; gap: 20px; padding: 30px 8%; min-height: 154px; background: #feffd3; border-top: 1px solid #dedfbd; border-bottom: 1px solid #dedfbd; color: #444; }
.guide-banner:hover { background: #fafbc6; text-decoration: none; }
.guide-banner > .icon { color: #1697c8; width: 32px; height: 32px; margin-top: 2px; }
.guide-banner h2 { font-weight: normal; font-size: 26px; margin: 0 0 9px; }
.guide-banner p { margin: 0; font-size: 17px; color: #787878; line-height: 1.4; }
.appointment-section { padding: 30px 26px; }
.appointment-section + .appointment-section { border-top: 1px solid #d0d7db; margin-top: 25px; }
.appointment-section h2 { font-weight: normal; font-size: 27px; margin: 0 0 24px; }
.appointment-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.appointment-card { display: flex; gap: 12px; padding: 16px; min-height: 173px; background: #fff; border: 1px solid #c8ced2; border-radius: 7px; color: #777; }
.appointment-card:hover { text-decoration: none; border-color: #168dc3; }
.date-block { flex-shrink: 0; color: #168dc3; display: flex; flex-direction: column; align-items: center; min-width: 40px; font-size: 18px; }
.date-block strong { font: 40px Arial, sans-serif; line-height: 1.1; margin: 2px 0; }
.appointment-copy h3 { font-size: 18px; font-weight: normal; margin: 0 0 5px; color: #444; line-height: 1.35; }
.appointment-copy p { margin: 2px 0; font-size: 14px; line-height: 1.45; }
.related { background: #e3f0f9aa; padding: 32px 22px; border-left: 1px solid #e0e5e8; }
.related h2 { margin: 0 0 28px; font-size: 27px; font-weight: normal; }
.related a { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; color: #555; font-size: 18px; }
.related .icon { color: #168dc3; width: 30px; height: 30px; }
.appointment-content { padding: 30px; max-width: 760px; }
.appointment-content > h1 { margin-top: 20px; }
.breadcrumb { color: #777; font-size: 13px; margin-bottom: 18px; }
.subtitle { color: #73777a; margin: 0 0 25px; line-height: 1.5; font-size: 14px; }
.panel { background: white; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; margin-bottom: 20px; }
.panel h2 { margin: 0; padding: 13px 17px; background: #edf5fa; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: normal; }
.panel-body { padding: 20px; }
.columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
table { border-collapse: collapse; width: 100%; text-align: left; font: 14px Arial, sans-serif; }
th { background: #edf5fa; color: #687681; font-size: 11px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
td { padding: 16px; border-bottom: 1px solid #e0e5e8; vertical-align: middle; line-height: 1.5; }
tr:last-child td { border-bottom: 0; }
.reference { font: 12px 'Courier New', monospace; }
.badge { display: inline-block; font-size: 12px; padding: 4px 9px; border: 1px solid #b7c2cc; background: #eef1f4; white-space: nowrap; border-radius: 3px; }
.badge.submitted { background: #e8eff7; border-color: #aac0d3; color: #254b6a; }
.badge.needs-information { background: #fff3d8; border-color: #d5bb7d; color: #72540b; }
.badge.approved { background: #e6efe5; border-color: #a9bba4; color: #345a2e; }
label { display: block; font-weight: normal; font-size: 14px; margin: 0 0 7px; }
input, select, textarea { font: 15px 'Trebuchet MS', Arial, sans-serif; border: 1px solid #b4bec6; border-radius: 3px; background: white; color: #333; padding: 9px; max-width: 100%; }
input:not([type=file]):not([type=hidden]), textarea, select { width: 100%; }
input:focus, textarea:focus, select:focus, button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid #008bd5; outline-offset: 2px; }
textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.read-only { padding: 10px 0; font: 13px 'Courier New', monospace; }
button, .button { display: inline-block; font: normal 15px 'Trebuchet MS', Arial, sans-serif; padding: 10px 16px; background: #fff; border: 1px solid #b7c4ce; color: #0085c6; cursor: pointer; text-decoration: none; border-radius: 4px; }
.button.primary, button.primary { background: var(--action); border-color: var(--action); color: white; }
button.danger { color: #9a3434; border-color: #b38787; }
.button:hover { text-decoration: none; filter: brightness(.98); }
.actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.upload-action { margin-top: 12px; }
.hint { font-size: 12px; color: #77818a; line-height: 1.6; margin: 10px 0 0; }
.notice { padding: 13px 17px; border: 1px solid #a8bba1; background: #eff5ec; color: #35542c; margin-bottom: 20px; font-size: 14px; }
.error { border-color: #cdaaaa; background: #fbefef; color: #7b2424; }
.empty { color: #71808c; font-size: 14px; padding: 18px; }
.message { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid #e3e7ea; }
.message:last-child { margin-bottom: 0; padding-bottom: 0; border: 0; }
.message-meta { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: #777; margin-bottom: 10px; }
.message-meta strong { color: #333; }
.message p { white-space: pre-wrap; line-height: 1.6; margin: 0; overflow-wrap: anywhere; font-size: 15px; }
.summary { display: flex; margin: 22px 0; border: 1px solid var(--line); background: white; border-radius: 4px; }
.summary div { flex: 1; padding: 16px 20px; border-right: 1px solid var(--line); font-size: 13px; color: #777; }
.summary div:last-child { border: 0; }
.summary strong { display: block; font: 27px Arial, sans-serif; color: #168dc3; margin-bottom: 4px; }
.login { max-width: 440px; margin: 0 auto; padding-top: 70px; }
.login .panel-body { padding: 30px; }
.login h1 { font-size: 25px; }
.page-heading { display: flex; justify-content: space-between; gap: 15px; align-items: flex-start; }
footer { border-top: 1px solid #d4dce2; padding: 17px 26px; color: #8a9399; font: 11px Arial, sans-serif; display: flex; justify-content: space-between; }
.operator-note { background: #fffbdc; border: 1px solid #e0d9a7; padding: 15px 18px; margin: 20px 0; font-size: 14px; line-height: 1.6; }
.admin-workspace { max-width: 1180px; margin: auto; padding: 30px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 1050px) { .columns { grid-template-columns: 1fr; } .portal-shell { grid-template-columns: 250px minmax(0, 1fr); } .workspace { padding: 25px; } .sidebar h1 { font-size: 25px; } .related { padding: 28px 18px; } .related h2 { font-size: 23px; } .related a { font-size: 15px; } .appointment-page-heading { align-items: flex-start; } .appointment-page-heading .button { max-width: 185px; } }
@media (max-width: 760px) { .portal-shell, .appointments-shell { grid-template-columns: 1fr; } .sidebar { border: 0; } .sidebar-heading { padding: 18px; display: flex; align-items: center; gap: 15px; flex-wrap: wrap; } .sidebar h1 { font-size: 23px; margin: 0; } .sidebar-help { display: none; } .send-new { margin: 0 0 0 auto; width: auto; font-size: 13px; } .side-nav { display: flex; overflow-x: auto; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); } .side-nav a { font-size: 13px; padding: 10px 12px; gap: 6px; white-space: nowrap; border-bottom: 0; border-left: 0; border-top: 3px solid transparent; } .side-nav a.active { border-top-color: #168dc3; } .side-nav a .icon { width: 18px; height: 18px; } .workspace { padding: 22px 18px; } .header-inner { padding: 8px 15px; gap: 9px; } .brand { font-size: 25px; margin-right: 5px; } .header-home, .header-menu > summary { width: 36px; height: 39px; } .account > div { display: none; } .message-toolbar { flex-direction: column; align-items: stretch; gap: 14px; } .search-form { width: 100%; max-width: none; } .conversation { padding: 17px 12px; gap: 10px; } .conversation-heading { flex-direction: column; gap: 0; } .conversation-heading h3 { font-size: 20px; } .conversation-heading time { margin-bottom: 6px; font-size: 12px; } .conversation-sender { font-size: 16px; } .conversation-icon { width: 34px; height: 34px; } .conversation-icon .icon { width: 25px; height: 25px; } .conversation-copy p { font-size: 14px; } .related { border-top: 1px solid var(--line); } .related a { display: inline-flex; margin-right: 20px; } .related h2 { margin-bottom: 20px; } .field-row { grid-template-columns: 1fr; } .table-wrap { overflow: auto; } .page-heading { display: block; } .page-heading > .badge { margin-bottom: 20px; } .appointment-page-heading { padding: 22px 18px; flex-direction: column; } .appointment-page-heading .button { max-width: none; } .appointment-filters { padding: 13px 18px; gap: 12px; flex-wrap: wrap; } .guide-banner { padding: 23px 20px; gap: 13px; min-height: auto; } .guide-banner h2 { font-size: 23px; } .guide-banner p { font-size: 15px; } .appointment-section { padding: 25px 18px; } .appointment-grid { grid-template-columns: 1fr; } .appointment-content { padding: 22px 18px; } .login { padding: 35px 18px 0; } .admin-workspace { padding: 22px 18px; } }
