@font-face {
  font-family: Inter;
  src: url(/standalone-inter.woff2) format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url(/standalone-playfair.woff2) format("woff2");
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #14130E;
  --muted: #6B6557;
  --line: #D7D3CA;
  --canvas: #ECE9E4;
  --soft: #E4E1DA;
  --error: #a22a28;
  --assistant-viewport: 100dvh;
  font-family: Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-size: 16px;
  line-height: 1.5;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,input,textarea,select {
  font: inherit;
  color: inherit;
}
button,a,input,textarea,select,summary {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: .45;
}
button,a,summary,touch-action {
  touch-action: manipulation;
}
button:focus-visible,a:focus-visible,summary:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
textarea:focus,input:focus,select:focus {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
button {
  border: 0;
  background: none;
}
button:hover {
  background: #E4E1DA;
}
a {
  color: inherit;
}
p,h1,h2,h3 {
  margin: 0;
}
svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
svg.svg-library {
  display: none;
}
[hidden] {
  display: none!important;
}
.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;
}
.app-shell {
  height: var(--assistant-viewport);
  display: grid;
  grid-template-columns: 268px minmax(0,1fr);
  overflow: hidden;
}
.sidebar {
  background: #E4E1DA;
  padding: 20px 14px 12px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-right: 1px solid var(--line);
}
.sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -.025em;
}
.brand svg {
  width: 25px;
  height: 25px;
}
.new-session {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 10px;
  min-height: 44px;
  font-size: 14px;
  text-align: left;
  background: #fff;
}
.new-session svg {
  width: 18px;
  height: 18px;
}
.sessions-label {
  font-size: 12px;
  color: var(--muted);
  padding: 26px 12px 10px;
}
.session-list {
  overflow-y: auto;
  min-height: 0;
  flex: 1;
}
.session-item,.topic-item {
  display: block;
  text-align: left;
  width: 100%;
  padding: 11px 12px;
  border-radius: 8px;
  margin-bottom: 3px;
  min-height: 64px;
}
.session-item.selected,.topic-item.selected {
  background: #D7D3CA;
}
.topic-title {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 14px;
  font-weight: 500;
}
.topic-date {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}
.topic-empty {
  font-size: 14px;
  color: var(--muted);
  padding: 12px;
  line-height: 1.6;
}
.sidebar-foot {
  border-top: 1px solid var(--line);
  padding-top: 8px;
  margin-top: 16px;
}
.sidebar-action {
  display: flex;
  width: 100%;
  gap: 10px;
  align-items: center;
  text-align: left;
  padding: 10px 12px;
  font-size: 14px;
  min-height: 44px;
  border-radius: 8px;
}
.sidebar-action svg {
  width: 19px;
  height: 19px;
}
#settings-status {
  margin-left: auto;
  font-size: 12px;
  color: var(--error);
}
.main-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}
.app-header {
  height: 64px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 0 28px;
  gap: 14px;
}
.header-title {
  font-size: 15px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}
.icon-button {
  display: inline-flex;
  width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 10px;
}
.mobile-only {
  display: none;
}
.view-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px 8px;
  flex-shrink: 0;
}
.view-tabs {
  display: flex;
  gap: 4px;
}
.view-tab {
  min-height: 44px;
  border-radius: 9px;
  padding: 9px 15px;
  font-size: 14px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.view-tab.on {
  background: var(--soft);
  color: var(--ink);
  font-weight: 600;
}
.count {
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  background: var(--ink);
  color: #fff;
  min-width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border-radius: 7px;
}
.refresh-button {
  color: var(--muted);
}
.refresh-button svg {
  width: 18px;
  height: 18px;
}
.page-notice,.connection-banner {
  margin: 0 28px 8px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--soft);
  font-size: 13px;
  flex-shrink: 0;
}
.page-notice.error,.connection-banner {
  color: var(--error);
}
.page-notice a {
  margin-left: 8px;
}
.needs-panel {
  overflow-y: auto;
  min-height: 0;
  flex: 1;
  padding: 22px 28px 40px;
}
.approval-heading {
  margin-bottom: 26px;
}
.approval-heading h1 {
  font-size: 26px;
  letter-spacing: -.03em;
  font-weight: 550;
}
.approval-heading>p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
}
.workspace {
  display: grid;
  grid-template-columns: minmax(200px,290px) minmax(0,1fr);
  gap: 32px;
}
.requests {
  min-width: 0;
}
.request-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 16px 14px;
  border-radius: 10px;
  margin-bottom: 6px;
  min-height: 100px;
}
.request-item.selected {
  background: var(--soft);
}
.request-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  color: var(--muted);
}
.request-meta .client {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.request-meta time {
  flex-shrink: 0;
}
.request-subject {
  font-size: 14px;
  font-weight: 600;
  margin-top: 7px;
}
.request-preview {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 5px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.request-state {
  font-size: 11px;
  font-weight: 500;
  margin-top: 9px;
  display: block;
}
.request-action-count {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.6;
}
.request-detail {
  min-width: 0;
  max-width: 760px;
}
.detail-header {
  margin-bottom: 26px;
}
.detail-header h2 {
  font-size: 22px;
  letter-spacing: -.025em;
  font-weight: 600;
  line-height: 1.35;
  margin: 5px 0 8px;
}
.detail-header>.muted {
  font-size: 12px;
}
.detail-status {
  font-size: 12px;
  color: var(--muted);
}
.back-to-list {
  display: none!important;
}
.detail-section {
  margin: 28px 0;
}
.detail-section h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}
.message-text {
  font-size: 14px;
  line-height: 1.75;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.incoming {
  color: #555;
}
.muted,.section-note {
  color: var(--muted);
}
.section-note {
  font-size: 12px;
  line-height: 1.65;
  margin: 8px 0;
}
.detail-hold,.detail-info {
  background: var(--soft);
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.65;
  margin: 20px 0;
}
.detail-hold ul {
  padding-left: 18px;
  margin-bottom: 0;
}
.detail-hold .btn {
  margin-top: 10px;
}
.detail-error {
  font-size: 13px;
  color: var(--error);
  margin: 10px 0;
}
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 550;
  line-height: 1.4;
}
.btn:hover {
  background: #404040;
}
.btn.ghost {
  color: var(--ink);
  background: white;
  border: 1px solid #D7D3CA;
}
.btn.ghost:hover {
  background: var(--soft);
}
.btn.quiet {
  color: var(--muted);
  background: transparent;
}
.btn.quiet:hover {
  background: var(--soft);
}
.detail-section label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 7px;
}
.subject-input,.reply-editor,.feedback-note,.recovery textarea,.detail-section select {
  border: 1px solid #D7D3CA;
  background: #fff;
  border-radius: 9px;
  width: 100%;
  padding: 11px 12px;
  font-size: 14px;
  line-height: 1.65;
}
.reply-editor,.feedback-note,.recovery textarea {
  resize: vertical;
  min-height: 100px;
}
.reply-label {
  margin-top: 14px;
  display: flex!important;
  justify-content: space-between;
  gap: 16px;
}
.edit-state {
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
}
.feedback-actions {
  margin-top: 10px;
}
.evidence-details,.recovery {
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.65;
  margin-top: 20px;
  padding: 4px 0;
}
.evidence-details summary,.recovery summary {
  cursor: pointer;
  min-height: 44px;
  padding: 12px 0;
}
.evidence-details ul {
  padding-left: 18px;
}
.evidence-details li {
  margin-bottom: 12px;
  overflow-wrap: anywhere;
}
.event-list time {
  display: block;
  font-size: 11px;
  color: var(--muted);
}
.artifact-list,.work-list {
  font-size: 13px;
  line-height: 1.7;
  padding-left: 18px;
  overflow-wrap: anywhere;
}
.action-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}
.action-checklist-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.action-checklist-text {
  min-width: 0;
  overflow-wrap: anywhere;
}
.action-state {
  color: var(--muted);
  margin-top: 4px;
  font-size: 12px;
}
.action-control {
  flex-shrink: 0;
  padding: 8px 12px;
}
.empty-state,.detail-empty {
  padding: 32px 10px;
  color: var(--muted);
  font-size: 14px;
}
.empty-state h2,.detail-empty h2 {
  font-size: 18px;
  letter-spacing: -.02em;
  color: var(--ink);
  font-weight: 550;
  margin-bottom: 8px;
}
.empty-state p,.detail-empty p {
  line-height: 1.7;
}
.settings-dialog {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  width: min(460px,calc(100vw - 28px));
  max-height: calc(var(--assistant-viewport) - 40px);
  color: var(--ink);
  background: white;
  box-shadow: 0 20px 80px #00000020;
}
.settings-dialog::backdrop {
  background: #00000038;
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dialog-head h2 {
  font-size: 21px;
  letter-spacing: -.025em;
  font-weight: 600;
}
.settings-section {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.settings-section h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 7px;
}
.settings-section p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}
.settings-section .btn {
  margin-top: 14px;
}
.workers {
  margin-top: 14px;
}
.worker {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  padding: 5px 0;
}
.worker p {
  font-size: 12px;
  text-align: right;
}
.worker strong {
  font-weight: 500;
}
.settings-footer {
  padding-top: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.settings-footer p {
  font-size: 11px;
  color: var(--muted);
  flex: 1;
}
.drawer-scrim {
  position: fixed;
  inset: 0;
  z-index: 9;
  border-radius: 0;
  background: #00000038;
}
.login-page {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 40px 24px;
}
.login-content {
  width: 100%;
  max-width: 350px;
}
.login-mark {
  width: 44px;
  height: 44px;
  background: var(--ink);
  color: white;
  display: grid;
  place-items: center;
  border-radius: 12px;
  margin-bottom: 30px;
}
.login-content h1 {
  font-size: 30px;
  font-weight: 550;
  letter-spacing: -.035em;
}
.login-content>p {
  color: var(--muted);
  font-size: 15px;
  margin-top: 12px;
  line-height: 1.6;
}
.login-form {
  margin-top: 36px;
}
.login-form label {
  display: block;
  font-size: 13px;
  margin-bottom: 9px;
  font-weight: 500;
}
.login-form input {
  height: 50px;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 12px;
  font-size: 16px;
}
.login-form .btn {
  width: 100%;
  margin-top: 16px;
  font-size: 14px;
  min-height: 48px;
}
.login-form .inline-error {
  margin: 12px 0 0;
}
.login-foot {
  margin-top: 24px!important;
  font-size: 12px!important;
}
@media(max-width:1100px) {
  .app-shell {
    grid-template-columns: 232px minmax(0,1fr);
  }
  .workspace {
    grid-template-columns: 220px minmax(0,1fr);
    gap: 22px;
  }
  .needs-panel {
    padding-left: 22px;
    padding-right: 22px;
  }
  .action-checklist-item {
    flex-direction: column;
    gap: 10px;
  }
}
@media(max-width:800px) {
  .app-shell {
    display: block;
  }
  .main-panel {
    height: 100%;
  }
  .sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: min(320px,87vw);
    z-index: 10;
    padding-top: max(20px,env(safe-area-inset-top));
    visibility: hidden;
    transform: translateX(-100%);
  }
  .sessions-open .sidebar {
    visibility: visible;
    transform: translateX(0);
  }
  .mobile-only {
    display: inline-flex;
  }
  .app-header {
    padding: max(5px,env(safe-area-inset-top)) 12px 2px;
    height: auto;
    min-height: 56px;
    gap: 8px;
  }
  .header-title {
    text-align: center;
    font-size: 16px;
    letter-spacing: -.015em;
  }
  .view-bar {
    padding: 0 16px 4px;
  }
  .view-tabs {
    gap: 0;
  }
  .view-tab {
    font-size: 13px;
    padding: 8px 12px;
  }
  .refresh-button {
    width: 44px;
  }
  .chat-messages {
    padding: 24px 22px 12px;
  }
  .chat-welcome {
    padding-bottom: 7vh;
  }
  .chat-welcome h1 {
    font-size: 28px;
    max-width: 300px;
  }
  .chat-welcome>p {
    font-size: 14px;
    max-width: 290px;
  }
  .chat-message {
    font-size: 15px;
    margin-bottom: 28px;
  }
  .from-owner {
    max-width: 92%;
    padding: 11px 15px;
  }
  .chat-message-meta {
    font-size: 12px;
  }
  .composer-area {
    padding: 0 12px max(9px,env(safe-area-inset-bottom));
  }
  .composer {
    padding: 12px 9px 7px;
    border-radius: 22px;
  }
  .composer-note {
    font-size: 10px;
    margin-top: 7px;
  }
  .page-notice,.connection-banner {
    margin: 0 16px 8px;
    padding: 9px 12px;
    font-size: 12px;
  }
  .needs-panel {
    padding: 20px 16px 32px;
  }
  .approval-heading {
    padding: 0 4px;
    margin-bottom: 20px;
  }
  .approval-heading h1 {
    font-size: 24px;
  }
  .approval-heading>p {
    max-width: 290px;
    font-size: 13px;
  }
  .workspace {
    display: block;
  }
  .request-detail {
    display: none;
  }
  .detail-open .requests {
    display: none;
  }
  .detail-open .request-detail {
    display: block;
  }
  .needs-panel:has(.detail-open) .approval-heading {
    display: none;
  }
  .request-item {
    padding: 16px 12px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    margin: 0;
  }
  .request-item.selected {
    background: #fff;
  }
  .request-item:hover {
    background: var(--soft);
  }
  .request-subject {
    font-size: 15px;
  }
  .request-preview {
    font-size: 13px;
  }
  .request-state {
    font-size: 12px;
  }
  .back-to-list {
    display: inline-flex!important;
    padding-left: 0!important;
    margin: 0 0 14px!important;
    text-decoration: underline;
  }
  .detail-header h2 {
    font-size: 23px;
  }
  .request-detail {
    padding: 0 4px;
  }
  .detail-section {
    margin: 26px 0;
  }
  .subject-input,.reply-editor,.feedback-note,.detail-section select {
    font-size: 16px;
  }
  .reply-label {
    flex-wrap: wrap;
    gap: 3px;
  }
  .detail-actions .btn {
    flex-grow: 1;
  }
  .action-checklist-item {
    flex-direction: row;
  }
  .settings-dialog {
    padding: 20px;
  }
  .settings-footer {
    align-items: flex-start;
  }
  .settings-footer p {
    padding-top: 10px;
  }
}
@media(max-height:650px) {
  .chat-welcome {
    padding: 12px 0;
    min-height: 115px;
  }
  .chat-welcome h1 {
    font-size: 24px;
  }
  .chat-welcome>p,.suggestions {
    display: none;
  }
  .chat-messages {
    padding-top: 14px;
  }
  .composer-note {
    display: none;
  }
  .composer textarea {
    max-height: 100px;
  }
  .composer-tools {
    margin-top: 3px;
  }
  .app-header {
    min-height: 48px;
  }
  .view-bar {
    padding-bottom: 0;
  }
}
@media(prefers-reduced-motion:no-preference) {
  .sidebar {
    transition: transform 220ms cubic-bezier(.2,.8,.2,1),visibility 220ms;
  }
  .icon-button,.btn,.view-tab,.topic-item {
    transition: background-color 140ms ease-out,color 140ms ease-out;
  }
  .chat-turn-status.working:before {
    animation: working 1.6s ease-in-out infinite;
  }
  @keyframes working {
    50% {
      opacity: .3;
    }
  }
}
/* One proposal is the working surface; task navigation stays in its own rail. */
.workspace {
  display: block;
  max-width: 700px;
  margin: 0 auto;
}
.request-detail {
  display: none;
  max-width: none;
}
.detail-open .requests {
  display: none;
}
.detail-open .request-detail {
  display: block;
}
.needs-panel:has(.detail-open) .approval-heading {
  display: none;
}
.back-to-list {
  display: inline-flex!important;
  padding-left: 0!important;
  text-decoration: underline;
  margin-bottom: 18px;
}
.approval-heading {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.detail-header h2 {
  font-size: 28px;
  font-weight: 550;
  line-height: 1.25;
  letter-spacing: -.03em;
}
.proposal-summary {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 66ch;
}
.reply-condition {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 14px;
}
.revision-instructions {
  margin-top: 24px;
}
.revision-instructions summary {
  min-height: 44px;
  padding: 10px 0;
  cursor: pointer;
  font-size: 13px;
  color: var(--muted);
}
.new-session .count {
  margin-left: auto;
}
.detail-actions {
  margin-top: 22px;
}
.reply-editor {
  background: #F3F1EC;
  border-color: #D7D3CA;
}
.detail-section:has(.reply-editor) {
  margin-top: 24px;
}
.needs-panel {
  padding-bottom: max(36px,env(safe-area-inset-bottom));
}
@media(max-width:800px) {
  .detail-header h2 {
    font-size: 26px;
  }
  .proposal-summary {
    font-size: 15px;
  }
  .back-to-list {
    font-size: 12px!important;
  }
  .detail-header {
    margin-bottom: 20px;
  }
  .needs-panel {
    padding-top: 8px;
  }
}
.work-details {
  margin-top: 12px;
  margin-bottom: 18px;
  border-top: 0;
}
.work-details summary {
  font-size: 13px;
  color: var(--muted);
  padding: 10px 0;
}
.detail-header {
  margin-bottom: 18px;
}
.proposal-summary {
  margin-bottom: 12px;
}
.reply-editor {
  min-height: 106px;
}
.reply-condition {
  margin-bottom: 10px;
}
.back-to-list {
  margin-bottom: 10px!important;
}
@media(max-width:800px) {
  .detail-header h2 {
    font-size: 25px;
  }
  .detail-section {
    margin: 20px 0;
  }
  .detail-header {
    margin-bottom: 16px;
  }
  .detail-actions {
    position: sticky;
    bottom: -1px;
    background: white;
    padding: 12px 0;
    margin-top: 14px;
    box-shadow: 0 -10px 16px white;
    z-index: 1;
  }
  .detail-actions .btn {
    font-size: 12px;
    padding: 10px 12px;
  }
  .reply-label {
    margin-top: 10px;
  }
}
/* Stonegate identity, translated to an app rather than its marketing page. */
body {
  background: var(--canvas);
}
.brand img,.header-title img {
  object-fit: contain;
  flex-shrink: 0;
}
.header-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-title img {
  display: none;
}
.brand {
  font-weight: 500;
}
.main-panel {
  background: var(--canvas);
}
.sidebar {
  border-color: var(--line);
}
.new-session {
  background: transparent;
  border-color: var(--line);
}
.view-tab.on {
  background: var(--soft);
}
.detail-header h2,.approval-heading h1,.login-content h1,.confirmation-head h2 {
  font-family: "Playfair Display",Georgia,serif;
  font-weight: 500;
  letter-spacing: -.025em;
}
.detail-header h2 {
  font-size: 32px;
}
.request-item.selected {
  background: var(--soft);
}
.reply-editor {
  background: #F3F1EC;
  overflow: hidden;
  resize: none;
  font-size: 16px;
  line-height: 1.75;
}
.subject-input {
  font-size: 15px;
}
.detail-actions {
  background: var(--canvas)!important;
  box-shadow: none!important;
}
.detail-header>.muted {
  font-size: 13px;
}
.section-note,.reply-condition {
  font-size: 13px;
}
.btn {
  border-radius: 12px;
}
.login-mark {
  background: none;
  padding: 0;
  display: block;
  width: 44px;
  height: 54px;
  border-radius: 0;
  margin-bottom: 28px;
}
.login-mark img {
  object-fit: contain;
}
.login-content h1 {
  font-size: 36px;
}
.login-form input {
  background: #F3F1EC;
  border-color: var(--line);
}
.settings-dialog {
  background: var(--canvas);
  border-color: var(--line);
  box-shadow: 0 20px 80px #302a1d28;
}
.settings-section {
  border-color: var(--line);
}
.notification-prompt {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  text-align: left;
  margin: 0 28px 6px;
  padding: 10px 0;
  min-height: 44px;
  font-size: 12px;
  color: var(--muted);
  border-radius: 0;
  border-bottom: 1px solid var(--line);
}
.notification-prompt strong {
  font-size: 12px;
  color: var(--ink);
  font-weight: 500;
  text-decoration: underline;
  white-space: nowrap;
}
.confirmation-sheet {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  width: min(620px,calc(100vw - 40px));
  max-height: calc(var(--assistant-viewport) - 56px);
  color: var(--ink);
  background: var(--canvas);
  box-shadow: 0 20px 90px #302a1d30;
  overflow: hidden;
}
.confirmation-sheet[open] {
  display: flex;
  flex-direction: column;
}
.confirmation-sheet::backdrop {
  background: #14130e66;
}
.confirmation-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 24px 26px 20px;
  flex-shrink: 0;
}
.confirmation-head h2 {
  font-size: 28px;
  line-height: 1.2;
  text-wrap: balance;
}
.confirmation-head p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  margin-top: 12px;
}
.confirmation-head .icon-button {
  margin: -7px -8px 0 0;
}
.confirmation-content {
  padding: 0 26px 24px;
  overflow-y: auto;
  min-height: 0;
  overscroll-behavior: contain;
}
.confirmation-content>h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 8px 0;
}
.confirmation-summary {
  font-size: 14px;
  line-height: 1.7;
  margin: 12px 0 20px;
}
.confirmed-reply {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 20px;
}
.confirmed-reply h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}
.confirmed-reply .message-text {
  font-size: 16px;
  line-height: 1.75;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.confirm-recipient {
  font-size: 13px;
  color: var(--muted);
  overflow-wrap: anywhere;
  margin-bottom: 12px;
}
.confirm-subject {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 18px;
  overflow-wrap: anywhere;
}
.confirmation-actions {
  border-top: 1px solid var(--line);
  padding: 16px 26px max(16px,env(safe-area-inset-bottom));
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-shrink: 0;
}
.confirmation-actions .btn {
  min-height: 48px;
  font-size: 14px;
}
.confirmation-sheet>.inline-error {
  padding: 0 26px;
  margin-bottom: 12px;
  flex-shrink: 0;
}
.confirmation-sheet>.inline-error:empty {
  display: none;
}
@media(max-width:800px) {
  .header-title {
    justify-content: center;
  }
  .header-title img {
    display: block;
  }
  .detail-header h2 {
    font-size: 29px;
    line-height: 1.25;
  }
  .proposal-summary {
    font-size: 15px;
    line-height: 1.75;
  }
  .notification-prompt {
    margin: 0 16px 4px;
    font-size: 11px;
  }
  .notification-prompt strong {
    font-size: 11px;
  }
  .detail-actions {
    border-top: 1px solid var(--line);
    padding-top: 12px;
  }
  .subject-input {
    font-size: 16px;
  }
  .action-checklist-item {
    flex-wrap: wrap;
  }
  .confirmation-sheet {
    width: 100%;
    max-width: none;
    height: var(--assistant-viewport);
    max-height: var(--assistant-viewport);
    margin: 0;
    border: 0;
    border-radius: 0;
  }
  .confirmation-head {
    padding: max(20px,env(safe-area-inset-top)) 20px 18px;
  }
  .confirmation-head h2 {
    font-size: 27px;
  }
  .confirmation-content {
    padding: 0 20px 22px;
    flex: 1;
  }
  .confirmation-actions {
    padding: 14px 20px max(14px,env(safe-area-inset-bottom));
  }
  .confirmation-actions .btn {
    flex: 1;
  }
  .confirmation-sheet>.inline-error {
    padding: 0 20px;
  }
  .request-item.selected {
    background: transparent;
  }
}
.task-actions {
  flex-shrink: 0;
  padding: 14px max(28px,calc((100% - 700px)/2)) max(18px,env(safe-area-inset-bottom));
  background: var(--canvas);
  border-top: 1px solid var(--line);
}
.task-actions .detail-actions {
  position: static!important;
  margin: 0;
  padding: 0;
  border: 0;
  box-shadow: none!important;
  gap: 10px;
}
.needs-panel {
  scroll-padding-bottom: 24px;
  padding-bottom: 28px;
}
@media(max-width:800px) {
  .task-actions {
    padding: 12px 16px max(12px,env(safe-area-inset-bottom));
  }
  .task-actions .detail-actions .btn {
    min-height: 46px;
  }
  .task-actions .detail-actions {
    gap: 8px;
  }
  .needs-panel {
    scroll-padding-top: 12px;
  }
}

