.module-home{max-width:1220px;margin:auto}.module-intro{margin:8px 0 20px;max-width:710px;color:var(--muted,#738078);line-height:1.7}.module-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:16px;margin:20px 0 24px}.module-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;padding:22px;min-height:190px;border:1px solid #dfe7e1;border-radius:14px;background:#fff;color:#203d2d;text-decoration:none;text-align:left;box-shadow:0 5px 16px #16362605;transition:transform .18s,border-color .18s,box-shadow .18s;font:inherit;cursor:pointer;overflow:hidden}.module-card:hover{transform:translateY(-3px);border-color:#8ca998;box-shadow:0 12px 30px #1636260c}.module-card:focus-visible{outline:3px solid #abcdb8;outline-offset:4px}.module-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:11px;background:#edf4ee;color:#2a6341;margin-bottom:14px}.module-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.module-label{font-size:20px;line-height:1.3;font-weight:650;letter-spacing:-.5px;margin:0 0 7px}.module-description{color:#6b786f;line-height:1.55;font-size:13px;max-width:430px;margin:0 0 12px}.module-meta{display:flex;gap:8px;flex-wrap:wrap;font-size:11px;color:#718477;margin:0 0 12px}.module-meta span{padding:5px 9px;background:#f3f6f3;border-radius:6px}.module-link{display:flex;align-items:center;gap:10px;color:#315e43;font-weight:650;font-size:13px;margin-top:auto}.module-link svg{height:16px;width:16px;fill:none;stroke:currentColor;stroke-width:1.6}.module-back{display:inline-flex;align-items:center;gap:8px;margin-bottom:20px;color:#54715f;background:transparent;border:0;padding:0;cursor:pointer;font:inherit;font-size:13px}.module-back svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5}.module-home .notes{background:#f1f5ef;border:1px solid #e0e8dc;padding:18px 20px;border-radius:12px;line-height:1.7}.toolbar #department{min-width:190px}.module-card:nth-child(2) .module-icon{background:#fff5e4;color:#8a6428}.module-card:nth-child(3) .module-icon{background:#edf1f9;color:#456583}.module-card:nth-child(4) .module-icon{background:#f1edf5;color:#6f5a82}@media(max-width:700px){.module-grid{grid-template-columns:1fr;gap:16px}.module-card{padding:20px;min-height:175px}.module-label{font-size:19px}.module-intro{margin-bottom:14px}.toolbar #department{width:100%;min-width:0}}

.academy-functions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}.academy-functions>.card:only-child{grid-column:1/-1}.academy-functions .actions-list{padding-top:0}.academy-functions .card-header p{line-height:1.6}@media(max-width:850px){.academy-functions{grid-template-columns:1fr}}

#fiscal-settings-form .form-field,#project-file-upload .form-field{min-width:0}#fiscal-settings-form input,#fiscal-settings-form select,#project-file-upload input{width:100%;max-width:100%}#fiscal-settings-form small,#project-file-upload small{line-height:1.6}#fiscal-settings-form .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:700px){#fiscal-settings-form .form-grid{grid-template-columns:minmax(0,1fr)}}

.client-history-shortcut{font-size:11px;min-height:32px;white-space:nowrap}.client-history-card{margin:18px 0}.history-charge{display:grid;grid-template-columns:2fr repeat(3,minmax(0,1fr));gap:20px;align-items:start}.history-charge small{display:block;color:var(--muted);font-size:10px;margin-bottom:8px}.history-charge h2{margin:0;font-size:17px}.history-charge p{color:var(--muted);font-size:12px}.history-charge strong{display:block}.history-receipt{border-top:1px solid var(--line);margin-top:20px;padding-top:18px}.history-receipt h3{font-size:14px;margin:0 0 12px}.history-receipt-meta,.history-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.history-receipt-meta strong{font-size:19px}.history-receipt-meta span{font-size:13px;color:var(--muted)}.history-fiscal{margin-top:16px;padding:16px;background:var(--bg);border-radius:10px}.history-fiscal>p{font-size:12px;line-height:1.7}.history-access-key{overflow-wrap:anywhere}.history-fiscal .btn{font-size:11px}.history-receipt.imported{border-left:3px solid var(--line);padding-left:14px}@media(max-width:850px){.history-charge{grid-template-columns:1fr 1fr}.history-charge>div:first-child{grid-column:1/-1}}@media(max-width:500px){.history-charge{grid-template-columns:1fr}.history-actions{align-items:stretch}.history-actions .btn{max-width:100%;white-space:normal}.history-receipt-meta{align-items:flex-start;flex-direction:column;gap:6px}}
