/* A small, shared workspace: three destinations and contextual actions. */
.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}
.purchase-grid-scroll{overflow-x:auto;border:1px solid #cfd8c6;border-radius:6px;background:white;-webkit-overflow-scrolling:touch}.purchase-grid{border-collapse:collapse;width:100%;min-width:850px;table-layout:fixed;font-size:12px}.purchase-grid th,.purchase-grid td{border-right:1px solid #d9e1d1;border-bottom:1px solid #d9e1d1;padding:14px 12px;text-align:left;vertical-align:middle;overflow-wrap:anywhere;cursor:default}.purchase-grid thead th{font-weight:600;font-size:11px;letter-spacing:.15px;color:#4c6244;background:#edf2e7;padding-top:14px;padding-bottom:14px}.purchase-grid tbody th{font-weight:500}.purchase-grid tr>:last-child{border-right:0}.purchase-grid tbody tr:last-child>*{border-bottom:0}.purchase-grid tbody tr:nth-child(even){background:#fafbf8}.purchase-grid .grid-item{width:35%}.purchase-grid .grid-qty{width:8%}.purchase-grid .grid-buyer{width:10%}.purchase-grid .grid-status{width:16%}.purchase-grid .grid-amount{width:12%}.purchase-grid .grid-ticket{width:11%}.purchase-grid .grid-detail{width:8%}.grid-item-name{display:block;font-size:13px;line-height:1.5;color:#263b31}.grid-item-meta{display:block;margin-top:5px;font-size:10px;line-height:1.5;color:#7c8971}.grid-cell-note{display:block;font-size:10px;color:#849077;margin-top:5px;line-height:1.4}.purchase-grid .number-cell{text-align:right;white-space:nowrap}.purchase-grid .number-cell strong{font-weight:550;font-variant-numeric:tabular-nums}.purchase-grid .number-cell .grid-cell-note{white-space:normal}.purchase-grid .status{font-size:10px;white-space:normal;line-height:1.4;max-width:100%;border-radius:3px}.purchase-grid .status:before{flex-shrink:0}.purchase-grid .status.repair{max-width:100%;font-size:10px}.grid-link{font-size:11px;text-decoration:underline;text-underline-offset:3px;color:#356a46;display:inline-block;padding:6px 0;cursor:pointer}.grid-link:hover{color:#143d20}.grid-muted{color:#a0aa96}.grid-scroll-hint{display:none;font-size:11px;line-height:1.6;color:#7e8a74;margin-bottom:10px}.estimate-option{padding-top:4px}.estimate-option .checkbox-label{font-size:13px;font-weight:500;color:#4e6446;margin-bottom:5px}.estimate-option input:disabled{background:#f0f2ec!important;border-color:#e2e6dc!important;color:#a1a996;cursor:not-allowed}.estimate-option input:disabled::placeholder{color:#b0b8a5}
@media(max-width:940px){.grid-scroll-hint{display:block}.purchase-grid th,.purchase-grid td{padding:12px 10px}.purchase-grid{min-width:850px}}
@media print{.purchase-grid-scroll{overflow:visible}.purchase-grid{min-width:0}.purchase-grid th,.purchase-grid td{padding:8px;font-size:10px}.grid-scroll-hint{display:none}}
.request-options[open] summary{margin-bottom:18px}.request-options summary{font-size:13px}.request-options{margin-top:20px}
:root{--cream:#f5f6f1;--muted:#68766a;--line:#e0e6da;--shadow:0 4px 18px #263b3104}
.app-frame{min-height:100vh}.app-header{background:#fff;border-bottom:1px solid var(--line)}.app-header-inner{max-width:1240px;margin:auto;min-height:91px;display:flex;align-items:center;gap:38px;padding:15px 30px}.app-header .brand{padding:0;gap:10px;flex-shrink:0}.app-header .brand img{width:45px;height:50px}.app-header .brand b{font-size:21px}.app-header .brand small{font-size:11px;margin-top:3px}.main-navigation{display:flex;gap:7px;margin:auto}.main-nav{display:flex;align-items:center;gap:8px;border:0;border-radius:9px;padding:12px 19px;min-height:46px;font-size:14px;font-weight:550;background:none;color:#69766b}.main-nav svg{width:18px;height:18px}.main-nav:hover{background:#f3f5ee}.main-nav.active{color:var(--forest);background:#eaf0e1}.settings-link{border:0;background:none;display:flex;align-items:center;gap:7px;padding:12px 8px;color:#6d796d;font-size:12px;border-radius:7px;min-height:44px}.settings-link:hover,.settings-link.active{background:#f1f4e9;color:var(--forest)}.settings-link svg{width:18px;height:18px}
.simple-main{max-width:1180px;padding:38px 30px 28px}.simple-main .page-heading{margin-bottom:25px;align-items:center}.simple-main .page-heading h1{font-size:30px;font-weight:600;letter-spacing:-.9px}.simple-main .page-heading p{font-size:14px;color:#758171;line-height:1.6}.simple-main .btn{font-size:13px;min-height:43px;border-radius:8px;padding:11px 16px}.simple-main .btn.small{font-size:12px;min-height:38px;padding:9px 12px}.simple-main .btn.ghost{min-height:36px;padding:6px 0}.simple-main .page-heading .btn{margin:0}
.quick-summary{display:grid;grid-template-columns:1fr 1.35fr 1fr;background:#fff;border:1px solid var(--line);border-radius:13px;margin-bottom:28px;overflow:hidden}.quick-summary>button,.quick-summary>div{padding:22px;display:flex;align-items:center;gap:13px;background:none;border:0;color:var(--ink);text-align:left;min-width:0}.quick-summary>button:hover{background:#f8faf4}.quick-summary> :not(:first-child){border-left:1px solid var(--line)}.quick-summary strong{display:block;font-size:23px;letter-spacing:-.6px;line-height:1.15;color:var(--forest)}.quick-summary small{display:block;font-size:11px;line-height:1.45;margin-top:6px;color:#7a8576}.quick-summary .summary-icon{display:flex;color:#80966c;background:#f0f4e8;border-radius:9px;padding:10px}.quick-summary>button>svg{margin-left:auto;width:15px;height:15px;color:#89987b}.quick-summary .summary-icon svg{width:21px;height:21px}
.purchase-tools{display:flex;gap:12px;align-items:center;margin-bottom:16px}.purchase-tools .search{flex:1;min-width:0;min-height:46px;padding:12px 14px;border-radius:9px}.purchase-tools .search input{font-size:13px}.purchase-tools select,.simple-select{background:white;border:1px solid var(--line);border-radius:9px;min-height:46px;padding:10px 12px;font-size:12px;color:#52654f;max-width:220px}.results-heading{display:flex;align-items:center;gap:12px;margin:17px 0;font-size:12px;font-weight:550;color:#61735a;min-height:28px}.results-heading small{font-size:11px;font-weight:400;color:#82907a;margin-left:auto}.results-heading .btn{font-size:11px!important}
.request-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}.request-card{display:flex;flex-direction:column;min-width:0;text-align:left;background:#fff;border:1px solid var(--line);border-radius:13px;padding:20px 20px 0;box-shadow:var(--shadow);overflow:hidden;transition:border-color .15s,box-shadow .15s,transform .15s}.request-card:hover{border-color:#a8bc8f;box-shadow:0 7px 22px #2756410d;transform:translateY(-2px)}.request-card:focus-visible{outline:3px solid #809e5d;outline-offset:3px}.request-card-top{display:flex;align-items:center;gap:10px;min-height:44px;margin-bottom:17px}.request-card .product-art{width:44px;height:44px;border-radius:10px}.card-category{font-size:10px;letter-spacing:.2px;color:#7b886e;line-height:1.5}.urgent-label{font-size:9px;color:#a85d42;background:#fbf0e6;padding:4px 5px;border-radius:4px;margin-left:auto}.request-card-title{font-size:15px;font-weight:600;letter-spacing:-.1px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:45px;overflow-wrap:anywhere}.card-quantity{font-size:11px;line-height:1.6;color:#7a8870;margin-top:7px}.card-person{display:flex;align-items:center;gap:6px;font-size:11px;color:#68795c;margin-top:12px;margin-bottom:20px}.card-person>svg{width:14px;height:14px;color:#8a9b79}.card-photo-count{display:flex;align-items:center;gap:3px;margin-left:auto;color:#6c8954}.card-photo-count svg{width:13px;height:13px}.card-footer{margin-top:auto;display:flex;justify-content:space-between;align-items:center;gap:8px;padding-bottom:18px}.request-card .status{font-size:10px;padding:6px 8px;max-width:145px;white-space:normal;line-height:1.4}.request-card .status:before{flex-shrink:0}.request-card .status.repair{max-width:145px}.card-amount{text-align:right;font-size:17px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap;letter-spacing:-.3px}.card-amount small{font-size:10px;font-weight:400;letter-spacing:0;color:#88937c;display:block;margin-top:5px;white-space:normal}.card-open{border-top:1px solid #edf0e7;padding:13px 0;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:10px;color:#6d815c;width:100%}.card-open>span{display:flex;align-items:center;gap:5px;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.card-open svg{width:13px;height:13px;flex-shrink:0}.card-open>svg{margin-left:auto}
.detail-summary{display:flex;justify-content:space-between;align-items:center;gap:15px;background:#f5f7f0;padding:15px;border-radius:9px}.detail-summary .status{font-size:11px;max-width:none}.detail-summary .status.repair{max-width:160px}.detail-documents{margin-top:22px;padding:18px;background:#f5f7f0;border:1px solid var(--line);border-radius:9px}.detail-documents h3{font-size:13px;font-weight:600;display:flex;gap:7px;align-items:center;margin-bottom:12px}.detail-documents h3 svg{width:16px;height:16px;color:#799462}.detail-documents p{font-size:12px;color:#748567;line-height:1.6;margin:10px 0}.detail-documents .btn{margin-right:6px}.detail-partner{margin-top:13px}.more-details{border-top:1px solid var(--line);margin-top:22px;padding-top:17px}.more-details summary{cursor:pointer;font-size:12px;color:#748567;padding:5px 0}.more-details .note{font-size:11px;margin-bottom:12px}.dialog-header p{max-width:560px}.dialog-actions .btn{min-height:42px}.detail-hero{margin-bottom:20px}.detail-grid dt{font-size:11px}.detail-grid dd{font-size:13px}
.simple-main .metric{box-shadow:none}.simple-main .metric-number{font-size:29px}.simple-main .metric-context{line-height:1.6}.simple-main .budget-card .budget-title{font-size:14px}.budget-utilities{display:flex;gap:10px;justify-content:flex-end;margin:0 0 20px}.simple-main .budget-card .budget-numbers{margin:22px 0}.simple-main .panel-head h2{font-size:17px}.partner-period{display:flex;gap:20px;align-items:center;justify-content:space-between;margin:0 0 22px}.partner-period>span{font-size:11px;color:#8b967e;line-height:1.6}.partner-period .month-picker{font-size:12px;color:#68795d;flex-shrink:0}.partner-period input{min-height:44px}.simple-main .partner-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.partner-empty{padding:25px}.partner-empty .empty{padding:45px 20px}.billing-followup{margin-top:34px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.section-heading h2{font-size:18px;letter-spacing:-.3px;font-weight:600}.section-heading p{font-size:12px;color:#819071;margin-top:7px;line-height:1.6}.billing-help{margin-top:20px}.back-link{margin-bottom:16px}.simple-main .settings-section h2{font-size:16px}.workspace-footer{padding-top:18px;border-top:1px solid var(--line);margin-top:35px;color:#929c87}
@media(min-width:1550px){.simple-main{max-width:1320px}.app-header-inner{max-width:1380px}.request-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1000px){.app-header-inner{gap:18px;padding:15px 24px}.main-nav{padding:12px 14px}.settings-link span{display:none}.simple-main{padding:28px 24px}.request-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.quick-summary>button,.quick-summary>div{padding:18px;gap:10px}.quick-summary .summary-icon{display:none}.simple-main .partner-grid{grid-template-columns:1fr}}
@media(max-width:640px){.app-header-inner{padding:14px 18px 0;flex-wrap:wrap;gap:13px;min-height:0}.app-header .brand{flex:1}.app-header .brand img{width:34px;height:39px}.app-header .brand b{font-size:19px}.app-header .brand small{font-size:10px}.settings-link{order:1}.main-navigation{order:2;width:100%;margin:0;gap:7px;padding:0 0 12px}.main-nav{flex:1;justify-content:center;font-size:12px;padding:11px 6px;gap:6px;min-height:43px}.main-nav svg{width:16px;height:16px}.simple-main{padding:26px 16px}.simple-main .page-heading{flex-wrap:wrap;gap:16px;margin-bottom:22px}.simple-main .page-heading h1{font-size:26px}.simple-main .page-heading p{font-size:12px;max-width:none}.simple-main .page-heading .btn{font-size:12px;min-height:42px;padding:10px 14px}.simple-main .page-heading .btn svg{display:block}.quick-summary{grid-template-columns:1fr 1.15fr 1fr;margin-bottom:23px;border-radius:10px}.quick-summary>button,.quick-summary>div{padding:15px 11px;align-items:flex-start;gap:0}.quick-summary strong{font-size:20px}.quick-summary small{font-size:9px;line-height:1.5}.quick-summary>button>svg{display:none}.purchase-tools{flex-wrap:wrap;gap:9px}.purchase-tools .search{flex-basis:100%}.purchase-tools select{flex:1;min-width:0;max-width:none;font-size:12px;padding:10px;min-height:44px}.results-heading{flex-wrap:wrap;margin:13px 0 17px}.results-heading small{display:none}.results-heading .btn{margin-left:auto}.request-grid{gap:14px}.request-card{padding:17px 17px 0}.request-card-title{font-size:14px}.card-footer{gap:12px}.partner-period{flex-wrap:wrap;gap:10px}.partner-period>span{font-size:10px}.section-heading{align-items:flex-start;flex-direction:column}.section-heading .header-actions{flex-direction:row;align-items:center}.budget-utilities{flex-wrap:wrap;justify-content:flex-start}.simple-main .budget-utilities .btn{flex:1;font-size:11px;white-space:normal}.simple-main .metric-number{font-size:25px}.simple-main .metric:first-child .metric-number{font-size:29px}.simple-main .partner-card{padding:20px}.simple-main .partner-card .budget-numbers strong{font-size:17px}.simple-main .allocation-row .shop-actions{padding-left:0}.simple-main .receipt-card .sum{font-size:24px}.simple-main .settings-grid{gap:16px}}
@media(max-width:480px){.request-grid{grid-template-columns:1fr}.request-card{padding:20px 20px 0}.request-card-top{margin-bottom:13px}.request-card-title{font-size:16px;min-height:0;-webkit-line-clamp:4}.card-person{margin-bottom:17px}.card-footer{padding-bottom:17px}.card-amount{font-size:18px}.request-card .status.repair{font-size:10px}.card-category{font-size:11px}.card-open{font-size:11px}.detail-grid{grid-template-columns:1fr 1fr}.simple-main .page-heading .btn{width:100%}.simple-main .page-heading{gap:15px}.simple-main .simple-select{max-width:100%;width:100%;font-size:14px}.partner-empty{padding:0}}
@media(prefers-reduced-motion:reduce){.request-card{transition:none}.request-card:hover{transform:none}}
@media print{.app-header,.purchase-tools,.quick-summary button,.results-heading small{display:none!important}.simple-main{max-width:none;padding:0}.request-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.request-card{break-inside:avoid}.request-card:hover{transform:none}}
