/* landlord-workspace-base.css -- the landlord workspace's own base type, form and colour rules.
   2026-11-10. Ron: "We need it to be congruent no matter where you see it. It's exactly the same."

   The workspace used to borrow its body text, headings, labels, inputs, buttons and stat tiles from whichever page
   it was opened in: the landlord sign-in page (broker.html) had one set, the admin another, the app a third. These
   are the sign-in page's rules, scoped to the workspace ([data-ll-workspace], set by ESC.landlordLoader.mount and on
   broker.html's #portfolio), so every door draws the same thing. Loaded BEFORE landlord-client.css, which refines it.
   Presentation only. */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");   /* the app does not load Inter itself */
[data-ll-workspace]{
  color-scheme:dark;
  --ll-bg:#071321;--ll-surface:#102438;--ll-sunk:#0b1c2d;--ll-ink:#edf7ff;--ll-secondary:#acc4d8;--ll-muted:#8da9c0;--ll-border:#29445c;--ll-strong:#54809d;--ll-alt:#122a40;--ll-hover:#19374f;--ll-focus:#55c8ee33;--ll-active:#64d7f0;--ll-on-active:#062131;
  --ui-bg:var(--ll-bg);--ui-surface:var(--ll-surface);--ui-surface-sunk:var(--ll-sunk);--ui-ink:var(--ll-ink);--ui-text:var(--ll-ink);--ui-text-2:var(--ll-secondary);--ui-text-3:var(--ll-muted);--ui-border:var(--ll-border);--ui-border-strong:var(--ll-strong);--ui-focus:0 0 0 3px var(--ll-focus);
  --ink:var(--ll-ink);--g600:var(--ll-secondary);--g400:var(--ll-muted);--line:var(--ll-border);--off:var(--ll-bg);--g100:var(--ll-sunk);
  --ui-r-sm:6px;--ui-r-md:10px;--ui-r-lg:14px;--ui-r-pill:999px;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:14px;font-weight:400;line-height:1.55;letter-spacing:normal;text-transform:none;text-align:left;color:var(--ll-ink);-webkit-font-smoothing:auto;-moz-osx-font-smoothing:auto;
}
/* The admin and the app reset every margin and padding (*{margin:0;padding:0}); the sign-in page does not. These put the
   browser's own defaults back inside the workspace, at the lowest weight so every workspace rule still wins. */
:where([data-ll-workspace]) :where(p,ul,ol,dl,pre){margin:1em 0;}
:where([data-ll-workspace]) :where(ul,ol){padding-left:40px;}
:where([data-ll-workspace]) :where(ul,ol) :where(ul,ol){margin:0;}
:where([data-ll-workspace]) :where(dd){margin-left:40px;}
:where([data-ll-workspace]) :where(blockquote,figure){margin:1em 40px;}
:where([data-ll-workspace]) :where(h3){margin:1em 0;}
:where([data-ll-workspace]) :where(h4){margin:1.33em 0;}
:where([data-ll-workspace]) :where(h5){margin:1.67em 0;}
:where([data-ll-workspace]) :where(h6){margin:2.33em 0;}
:where([data-ll-workspace]) :where(hr){margin:.5em auto;}
:where([data-ll-workspace]) :where(fieldset){margin:0 2px;padding:.35em .75em .625em;}
:where([data-ll-workspace]) :where(legend){padding:0 2px;}
:where([data-ll-workspace]) :where(button){padding:1px 6px;}
:where([data-ll-workspace]) :where(td,th){padding:1px;}
/* The admin's Group theme names its own font stack for .landlord-client; the workspace keeps one stack at every door. */
[data-ll-workspace][data-ll-workspace][data-ll-workspace]{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.55;}
/* The admin's Group theme restyles panel headings and inline-bordered boxes; inside the workspace the workspace's own rules stand. */
[data-ll-workspace][data-ll-workspace][data-ll-workspace] :is(h2,h3){font-family:inherit!important;}
[data-ll-workspace][data-ll-workspace][data-ll-workspace][data-ll-workspace] [aria-label="Property tools"] button{border-color:transparent!important;}
[data-ll-workspace] *,[data-ll-workspace] *::before,[data-ll-workspace] *::after{box-sizing:border-box;}
[data-ll-workspace] [hidden]{display:none!important;}
[data-ll-workspace] h1{font-family:Inter,system-ui,sans-serif;font-weight:500;font-size:30px;margin:0 0 6px;text-transform:none;}
[data-ll-workspace] h2{font-family:inherit;font-size:16px;font-weight:700;margin:0 0 10px;line-height:1.55;text-transform:none;}
[data-ll-workspace] h3{font-family:inherit;text-transform:none;}
[data-ll-workspace] .sub{color:var(--g600);line-height:1.6;margin:0 0 22px;}
[data-ll-workspace] .card{background:var(--ui-surface,#fff);border:1px solid var(--line);padding:20px;border-radius:14px;margin-bottom:14px;}
/* at the sign-in page's own weight, so the workspace's more specific sizes (the week brief heading, table sub-lines) still win */
:where([data-ll-workspace]) .card h2{font-size:15px;}
[data-ll-workspace] label{display:block;font-family:inherit;font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--g600);margin:14px 0 6px;}
[data-ll-workspace] label.inline{display:flex;gap:8px;align-items:flex-start;text-transform:none;letter-spacing:0;font-size:13px;font-weight:500;color:var(--ink);line-height:1.5;}
[data-ll-workspace] label.inline input{width:auto;margin-top:3px;}
[data-ll-workspace] input,[data-ll-workspace] textarea,[data-ll-workspace] select{width:100%;padding:11px 12px;border:1px solid var(--line);font:inherit;font-size:16px;background:#fff;border-radius:6px;min-height:44px;}
[data-ll-workspace] input:focus-visible,[data-ll-workspace] textarea:focus-visible,[data-ll-workspace] select:focus-visible{outline:none;box-shadow:var(--ui-focus);border-color:var(--ui-border-strong,#ccc);}
[data-ll-workspace] textarea{resize:vertical;}
[data-ll-workspace] button{font-family:inherit;}
[data-ll-workspace] .btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;background:var(--ink);color:#fff;border:1px solid var(--ink);padding:10px 18px;min-height:44px;font:inherit;font-weight:600;letter-spacing:normal;text-transform:none;cursor:pointer;text-decoration:none;border-radius:10px;}
[data-ll-workspace] .btn.ghost{background:#fff;color:var(--ink);}
[data-ll-workspace] .btn.small{padding:6px 12px;font-size:12px;min-height:36px;}
@media (hover:none){[data-ll-workspace] .btn.small{min-height:44px;}}
[data-ll-workspace] .btn:disabled{opacity:.5;cursor:default;}
[data-ll-workspace] .link{background:none;border:0;color:var(--g600);text-decoration:underline;cursor:pointer;font:inherit;padding:0;}
[data-ll-workspace] .msg{margin-top:12px;padding:10px 12px;font-size:13px;line-height:1.5;border-radius:6px;}
[data-ll-workspace] .msg.err{background:#fdecea;color:var(--red,#b42318);}
[data-ll-workspace] .msg.ok{background:#e8f5e9;color:#1b5e20;}
[data-ll-workspace] .seg{display:flex;border:1px solid var(--line);margin-top:6px;border-radius:999px;overflow:hidden;background:#fff;}
[data-ll-workspace] .seg button{flex:1;padding:10px;border:0;background:#fff;font:inherit;font-weight:600;cursor:pointer;}
[data-ll-workspace] .seg button.on{background:var(--ink);color:#fff;}
[data-ll-workspace] .stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-bottom:22px;}
[data-ll-workspace] .stat{background:var(--ui-surface,#fff);border:1px solid var(--line);padding:14px 16px;border-radius:10px;}
[data-ll-workspace] .stats > *{min-width:0;}
[data-ll-workspace] .stat b{display:block;font-size:22px;font-weight:700;overflow-wrap:anywhere;}
[data-ll-workspace] .stat span{font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--g400);}
[data-ll-workspace] .grid2{display:grid;grid-template-columns:1fr 1fr;gap:0 14px;}
[data-ll-workspace] .grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:0 14px;}
[data-ll-workspace] .chip{display:inline-block;font-size:10px;font-weight:700;padding:3px 9px;color:#fff;white-space:nowrap;text-transform:uppercase;letter-spacing:.04em;border-radius:999px;}
:where([data-ll-workspace]) .muted{color:var(--g400);font-size:12px;}
[data-ll-workspace] .section-title{display:flex;justify-content:space-between;align-items:center;font-family:inherit;font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;line-height:1.55;color:var(--g600);margin:28px 0 10px;}
[data-ll-workspace] .photos{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px;}
[data-ll-workspace] .photos .ph{width:96px;height:72px;background:var(--g100) center/cover no-repeat;position:relative;}
[data-ll-workspace] .photos .ph button{position:absolute;top:2px;right:2px;background:rgba(0,0,0,.65);color:#fff;border:0;width:22px;height:22px;cursor:pointer;}
@media (max-width:700px){
  [data-ll-workspace] h1{font-size:24px;}
  [data-ll-workspace] .stats{grid-template-columns:1fr 1fr;gap:8px;}
  [data-ll-workspace] .stat{padding:12px 12px;}
  [data-ll-workspace] .stat b{font-size:18px;}
  [data-ll-workspace] .grid2,[data-ll-workspace] .grid3{grid-template-columns:1fr;}
}
/* Phones: the sign-in page's phone heading and intro sizes (esc-phone.css gave them to that page only). */
@media (max-width:768px){
  html:not(#z) [data-ll-workspace] h1{font-size:22px!important;letter-spacing:-.4px!important;margin:8px 0 6px!important;}
  html:not(#z) [data-ll-workspace] .sub{font-size:14px;margin-bottom:12px!important;}
}

/* Keep portfolio card headings consistent inside the app and standalone portal. */
[data-ll-workspace] h3 { font-weight: 700; }
