/* Landlord portal pages: same look as the admin side. */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', system-ui, sans-serif; background: #f5f3f0; color: #2c2c2c; min-height: 100vh; line-height: 1.5; }
.p-wrap { max-width: 1100px; margin: 0 auto; padding: 28px 16px 60px; }
.p-wrap h1 { font-family: 'Oswald', sans-serif; font-size: 28px; color: #2d5016; margin-bottom: 4px; }
.p-lede { color: #777; font-size: 14px; margin-bottom: 22px; }
.p-card { background: #fff; border-radius: 8px; padding: 20px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); margin-bottom: 20px; }
.p-card h2 { font-family: 'Oswald', sans-serif; font-size: 18px; color: #2c5530; margin-bottom: 10px; }
.p-card h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.6px; color: #888; margin: 14px 0 6px; }
.p-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 20px; }
.p-tile { background: #fff; border-radius: 8px; padding: 16px 18px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.p-tile .k { font-size: 12px; text-transform: uppercase; letter-spacing: 0.7px; color: #888; }
.p-tile .v { font-family: 'Oswald', sans-serif; font-size: 24px; color: #2d5016; margin-top: 2px; }
.p-tile .n { font-size: 12px; color: #888; }
.p-scroll { overflow-x: auto; }
.p-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.p-table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: 0.6px; color: #888; padding: 8px; border-bottom: 1px solid #eee; white-space: nowrap; }
.p-table td { padding: 9px 8px; border-bottom: 1px solid #f2f2f2; vertical-align: top; }
.p-table .num { text-align: right; white-space: nowrap; }
.p-table a { color: #2d5016; font-weight: 600; text-decoration: none; }
.p-table a:hover { text-decoration: underline; }
.p-muted { color: #999; font-size: 13px; }
.p-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 16px; }
.p-bar label { font-size: 13px; color: #666; font-weight: 600; }
select, input, textarea { padding: 10px 12px; border: 2px solid #ddd; border-radius: 5px; font-size: 16px; font-family: inherit; background: #fff; }
select:focus, input:focus, textarea:focus { outline: none; border-color: #2d5016; }
.p-btn { display: inline-block; padding: 11px 24px; background: #2d5016; color: #fff; border: none; border-radius: 5px; font-size: 15px; font-weight: 600; cursor: pointer; text-decoration: none; transition: all 0.3s ease; }
.p-btn:hover { background: #24400f; }
.p-btn-outline { background: #fff; color: #2d5016; border: 2px solid #2d5016; }
.p-btn-outline:hover { background: #e8efe1; }
.p-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.p-link { display: block; background: #fff; border-radius: 8px; padding: 16px 18px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); text-decoration: none; color: #2c2c2c; border-top: 4px solid #2d5016; }
.p-link strong { display: block; font-family: 'Oswald', sans-serif; font-size: 17px; color: #2d5016; }
.p-link span { font-size: 13px; color: #777; }
.p-link:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.14); }
.p-crop { display: inline-block; padding: 2px 9px; border-radius: 10px; font-size: 12px; font-weight: 600; background: #eef0e6; color: #4a5a2a; }
.mix { display: flex; height: 18px; border-radius: 9px; overflow: hidden; background: #eee; margin: 6px 0 10px; }
.mix div { height: 100%; }
.mix-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: #555; }
.mix-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.p-grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.p-alert-ok, .p-alert-error { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); padding: 12px 20px; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.2); font-size: 14px; z-index: 100; display: none; }
.p-alert-ok { background: #2d5016; color: #fff; }
.p-alert-error { background: #a02818; color: #fff; }
.p-field-doc { border-top: 1px solid #eee; padding-top: 14px; margin-top: 14px; }
.p-field-doc:first-of-type { border-top: none; margin-top: 0; padding-top: 0; }
.p-field-doc h2 { margin-bottom: 2px; }
@media print { .p-noprint { display: none !important; } body { background: #fff; } .p-card { box-shadow: none; border: 1px solid #ddd; break-inside: avoid; } }
@media (max-width: 700px) { .p-wrap { padding: 20px 16px 50px; } .p-wrap h1 { font-size: 24px; } }
