@media screen {
  body.tool-workspace { background: #edf3ef; color: #203f35; }
  body.tool-workspace main { max-width: 960px; margin-inline: auto; }
  body.tool-workspace main > .hero,
  body.tool-workspace main > .page-heading { margin-block: 24px; }
  body.tool-workspace main > .hero h1,
  body.tool-workspace main > .page-heading h1,
  body.tool-workspace #state-picker .entry-intro h1 { font: 600 clamp(28px, 4vw, 38px)/1.15 Georgia, serif; color: #204c3d; letter-spacing: -.02em; }
  body.tool-workspace .hero > .eyebrow { display: none; }
  body.tool-workspace .hero > p:not(.eyebrow) { max-width: 660px; font-size: 16px; line-height: 1.6; }
  .tool-view-bar { margin: 20px 0 14px; font: 15px/1.45 Arial, sans-serif; }
  .tool-view-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .tool-view-buttons button { width: 100%; min-height: 46px; border: 1px solid #9bb1a5; border-radius: 6px; background: #f4f8f4; color: #215641; padding: 10px; font: 600 15px/1.4 Arial, sans-serif; cursor: pointer; }
  .tool-view-buttons button[aria-pressed=true] { background: #215641; color: white; border-color: #215641; }
  .tool-view-hint { margin: 7px 0 0; color: #566b62; font-size: 13px; }
  .tool-start { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; width: 100%; padding: 10px 16px; margin-top: 14px; background: #215641; color: white; border: 1px solid #215641; border-radius: 6px; font: 600 15px/1.4 Arial, sans-serif; cursor: pointer; }
  body.tool-workspace .tool-view-bar button.tool-start { background: #215641; color: white; border-color: #215641; }
  .tool-start:focus-visible, .tool-view-buttons button:focus-visible { outline: 3px solid #9bbd69; outline-offset: 3px; }
  .tool-direct-form { padding: 22px; background: white; border: 1px solid #cad8d0; border-top: 5px solid #215641; border-radius: 4px; margin-bottom: 20px; }
  .tool-direct-form fieldset { margin: 12px 0 26px; padding: 16px; border: 1px solid #cad8d0; border-radius: 8px; }
  .tool-direct-form legend { padding: 0 6px; color: #215641; font: 700 17px/1.4 Arial, sans-serif; }
  .tool-direct-field { display: grid; gap: 6px; margin: 0 0 18px; }
  .tool-direct-field:last-child { margin-bottom: 0; }
  .tool-direct-field label { font: 400 14px/1.4 Arial, sans-serif; color: #304c40; }
  .tool-direct-field :is(input, textarea, select) { width: 100%; min-width: 0; min-height: 46px; padding: 11px; border: 1px solid #9db3a6; border-radius: 6px; background: #fafcf9; font: 16px/1.5 Arial, sans-serif; color: #203f35; }
  .tool-direct-field textarea { min-height: 120px; resize: vertical; }
  .tool-direct-field :is(input, textarea, select):focus { outline: 2px solid #518267; outline-offset: 1px; background: #f0f7ec; }
  .tool-direct-actions { display: flex; flex-wrap: wrap; gap: 10px; }
  .tool-direct-actions button { min-height: 44px; flex: 1; padding: 10px 16px; border: 1px solid #9db3a6; border-radius: 6px; background: #f4f8f4; color: #215641; font: 600 15px/1.4 Arial, sans-serif; cursor: pointer; }
  .tool-direct-actions a { flex-basis: 100%; text-align: center; color: #215641; padding: 12px; text-decoration: underline; }
  body.tool-workspace[data-tool-view=easy] #document-workspace[data-tool-direct=true] { position: absolute; left: -100000px; width: 840px; visibility: hidden; pointer-events: none; }
  body.tool-workspace[data-tool-view=paper] .tool-direct-form { display: none; }
  body.tool-workspace[data-tool-view=easy]:has(.tool-direct-form) :is(.document-tip, .document-pan-hint, .document-help) { display: none; }
  body.tool-workspace .export-actions,
  body.tool-workspace #export-section,
  body.tool-workspace .review-area { border: 1px solid #cad8d0; border-radius: 8px; background: white; padding: 20px; margin-block: 22px; }
  body.tool-workspace .export-actions h2,
  body.tool-workspace .review-area h2 { font: 600 25px/1.3 Georgia, serif; color: #215641; }
  body.tool-workspace[data-tool-view=easy] #reading-copy { border: 1px solid #cad8d0; border-top: 5px solid #215641; border-radius: 4px; padding: 22px; background: white; box-shadow: none; }
  body.tool-workspace[data-tool-view=easy] #reading-copy :is(.basic-grid, .property-grid, .people-grid, .print-row, .inspection-fields, .report-details, .report-people) { grid-template-columns: minmax(0,1fr); }
  body.tool-workspace[data-tool-view=easy] #reading-copy .room-section { border: 1px solid #cad8d0; border-radius: 8px; margin-block: 20px; background: white; }
  body.tool-workspace[data-tool-view=easy] #reading-copy [data-edit] { border: 1px solid #c4d3ca; border-radius: 6px; background: #fafcf9; padding: 12px; min-height: 46px; }
  body.tool-workspace[data-tool-view=easy] #reading-copy [data-edit]:focus-visible { outline: 2px solid #518267; }
  body.tool-workspace[data-tool-view=easy] #receipt-pages .receipt-page { border-radius: 4px; box-shadow: none; border-top: 5px solid #215641; }
  body.tool-workspace[data-tool-view=easy] #receipt-pages .receipt-block { border-color: #cad8d0; background: white; border-radius: 8px; }
  body.tool-workspace[data-tool-view=easy] #receipt-pages .receipt-band { background: #edf4ef; color: #215641; }
  body.tool-workspace[data-tool-view=easy] #receipt-pages .receipt-people .receipt-field { display: grid; grid-template-columns: minmax(0,1fr); gap: 6px; }
  body.tool-workspace[data-tool-view=paper] #receipt-pages { overflow-x: auto; max-width: 100%; }
  body.tool-workspace[data-tool-view=paper] #receipt-pages .receipt-page { min-width: 740px; }
  body.tool-workspace[data-tool-view=easy] #receipt-pages :is(.receipt-editable, input:not([type=radio]):not([type=checkbox])) { border: 1px solid #9db3a6; border-radius: 6px; background: #fafcf9; min-height: 46px; font-size: 16px; }
  body.tool-workspace[data-tool-view=easy] .sheet-paper { border-top: 5px solid #215641; border-radius: 4px; box-shadow: none; }
  body.tool-workspace .sheet-paper h2 { font-family: Georgia, serif; color: #215641; }
  body.tool-workspace[data-tool-view=easy] .sheet-paper .property-grid { grid-template-columns: minmax(0,1fr); }
  body.tool-workspace[data-tool-view=easy] #state-picker { border: 1px solid #cad8d0; border-radius: 8px; background: white; padding: 22px; }
  body.tool-workspace dialog { border-color: #b4c8ba; border-radius: 10px; }
  body.tool-workspace dialog:not([open]) { display: none !important; }
  body.tool-workspace dialog:is(#edit-dialog, #field-dialog, #receipt-editor, #editor, #account-dialog, #noticeFieldEditor):not([open]) { display: none !important; }
  body.tool-workspace dialog :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea) { font-size: 16px; min-height: 44px; }
  @media (max-width: 600px) {
    body.tool-workspace main { width: auto; max-width: 100%; margin-inline: 12px; padding-inline: 0; }
    .tool-direct-form { padding: 12px; }
    .tool-direct-form fieldset { padding: 12px; }
    body.tool-workspace[data-tool-view=easy] #reading-copy { padding: 14px; }
    body.tool-workspace .export-actions { padding: 16px; }
    body.tool-workspace[data-tool-view=easy] .sheet-paper { padding: 14px; }
    body.tool-workspace[data-tool-view=easy] .sheet-paper input:not([type=checkbox]) { font-size: 16px; }
    body.tool-workspace[data-tool-view=easy] .sheet-paper .property-grid { display: grid; grid-template-columns: minmax(0,1fr); }
    body.tool-workspace[data-tool-view=easy] .tool-ledger-rent,
    body.tool-workspace[data-tool-view=easy] .tool-ledger-rent tbody { display: block; width: 100%; min-width: 0; }
    body.tool-workspace[data-tool-view=easy] .tool-ledger-rent thead { display: none; }
    body.tool-workspace[data-tool-view=easy] .tool-ledger-rent tbody tr { display: grid; grid-template-columns: minmax(0,1fr); border: 1px solid #cad8d0; border-radius: 8px; margin: 0 0 16px; padding: 12px; background: white; }
    body.tool-workspace[data-tool-view=easy] .tool-ledger-rent tbody :is(th,td) { display: block; width: 100%; min-width: 0; border: 0; padding: 8px 0; text-align: left; }
    body.tool-workspace[data-tool-view=easy] .tool-ledger-rent tbody .month-cell { position: static; width: 100%; max-width: none; min-width: 0; background: transparent; }
    body.tool-workspace[data-tool-view=easy] .tool-ledger-rent tbody td { background: transparent; }
    body.tool-workspace[data-tool-view=easy] .rent-scroll { max-height: none; height: auto; overflow: visible; }
    body.tool-workspace[data-tool-view=easy] #rent-pan-hint { display: none; }
    body.tool-workspace[data-tool-view=easy] .tool-ledger-rent td[data-tool-label]::before { display: block; content: attr(data-tool-label); font: 400 13px/1.4 Arial,sans-serif; color: #456251; margin-bottom: 6px; }
    body.tool-workspace[data-tool-view=easy] .tool-ledger-rent tbody input:not([type=checkbox]) { width: 100%; min-height: 44px; }
    body.tool-workspace[data-tool-view=easy] .tool-ledger-rent tfoot { display: block; }
    body.tool-workspace[data-tool-view=easy] .tool-ledger-rent tfoot tr { display: grid; grid-template-columns: 1fr; }
    body.tool-workspace[data-tool-view=easy] .tool-ledger-rent tfoot :is(th,td) { display: block; }
  }
}
@media print { .tool-view-bar, .tool-direct-form { display: none !important; } }
