*{box-sizing:border-box}body{color:#1f2933;background:#f6f3eb;margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input,textarea,select{font:inherit}.page-center{color:#6b7280;place-items:center;min-height:100vh;display:grid}.login-page{background:radial-gradient(circle at 0 0,#edb44a52,#0000 32%),linear-gradient(135deg,#fff8e8,#eef7f1);place-items:center;min-height:100vh;padding:24px;display:grid}.login-card{background:#ffffffdb;border:1px solid #6f4e371f;border-radius:28px;width:min(430px,100%);padding:34px;box-shadow:0 28px 80px #4c37221f}.login-kicker,.eyebrow{color:#9a6a1f;letter-spacing:.12em;text-transform:uppercase;font-size:13px;font-weight:800}.login-card h1,.page-header h1{margin:8px 0;font-size:36px;line-height:1.05}.login-card p,.page-header p{color:#6b7280;margin:0}.form,.form-grid{gap:16px;display:grid}.form{margin-top:28px}label,.full-label{color:#374151;gap:8px;font-size:14px;font-weight:700;display:grid}input,textarea,select{background:#fffdf8;border:1px solid #ddd4c4;border-radius:14px;outline:none;width:100%;padding:12px 14px}textarea{resize:vertical;min-height:96px}input:focus,textarea:focus{border-color:#bd8730;box-shadow:0 0 0 4px #bd87301f}.primary-button,.ghost-button,.nav-item{cursor:pointer;border:0}.primary-button{color:#fff;background:#8a5a22;border-radius:14px;padding:12px 18px;font-weight:800;box-shadow:0 12px 30px #8a5a2233}.ghost-button{color:#7c4a15;background:#fff7e8;border-radius:12px;padding:10px 12px;font-weight:800}.message{color:#7c4a15;margin-top:16px;font-size:14px}.app-shell{grid-template-columns:280px 1fr;min-height:100vh;display:grid}.sidebar{background:#fffaf0;border-right:1px solid #e8ddcc;flex-direction:column;gap:14px;padding:24px;display:flex}.brand{align-items:center;gap:12px;margin-bottom:28px;display:flex}.brand-mark{color:#fff;background:#8a5a22;border-radius:16px;place-items:center;width:44px;height:44px;font-weight:900;display:grid}.brand-title{font-size:20px;font-weight:900}.brand-subtitle{color:#8a6f4d;font-size:12px}.nav-item{text-align:left;color:#5b4a37;background:0 0;border-radius:16px;padding:13px 14px;font-weight:800}.nav-item.active,.nav-item:hover{color:#50300f;background:#f1dfbd}.sidebar-footer{gap:12px;margin-top:auto;display:grid}.user-email{color:#7b6b58;word-break:break-all;font-size:12px}.main{padding:36px}.page-header{justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:24px;display:flex}.metric-grid{grid-template-columns:repeat(4,minmax(160px,1fr));gap:18px;display:grid}.metric-card,.panel,.result-card{background:#ffffffd1;border:1px solid #eadfce;border-radius:24px;box-shadow:0 18px 46px #5842240f}.metric-card{padding:22px}.metric-title{color:#7b6b58;font-size:14px;font-weight:800}.metric-value{margin-top:10px;font-size:30px;font-weight:900}.metric-note{color:#8a8174;margin-top:8px;font-size:13px}.estimate-layout{grid-template-columns:minmax(0,1fr) 360px;align-items:start;gap:22px;display:grid}.panel,.result-card{padding:24px}.panel h2,.result-card h2{margin:0 0 18px}.panel h2:not(:first-child){margin-top:28px}.form-grid{grid-template-columns:repeat(3,minmax(160px,1fr))}.full-label{margin-top:18px}.result-card{position:static}.result-row{color:#5c5145;border-bottom:1px solid #eee3d1;justify-content:space-between;gap:16px;padding:14px 0;display:flex}.result-row.strong{color:#3b2410;font-size:18px;font-weight:900}@media (width<=1080px){.app-shell{grid-template-columns:1fr}.sidebar{position:static}.metric-grid,.estimate-layout,.form-grid{grid-template-columns:1fr}}.placeholder-grid{grid-template-columns:repeat(4,minmax(150px,1fr));gap:16px;margin-top:20px;display:grid}.placeholder-card{background:#fffdf8;border:1px solid #eadfce;border-radius:20px;padding:18px}.source-list{gap:14px;margin-top:18px;display:grid}.source-card{background:#fffdf8;border:1px solid #eadfce;border-radius:18px;justify-content:space-between;align-items:center;gap:18px;padding:16px 18px;display:flex}.source-name{color:#2f2418;font-size:18px;font-weight:900}.source-mode{color:#7b6b58;margin-top:4px;font-size:14px}.source-status{color:#6d4315;background:#f1dfbd;border-radius:999px;padding:8px 12px;font-size:13px;font-weight:800}@media (width<=1080px){.placeholder-grid{grid-template-columns:1fr}.source-card{flex-direction:column;align-items:flex-start}}.product-list-panel{margin-top:22px}.product-list{gap:14px;margin-top:18px;display:grid}.product-card{background:#fffdf8;border:1px solid #eadfce;border-radius:18px;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:18px;padding:16px 18px;display:grid}.product-name{color:#2f2418;font-size:18px;font-weight:900}.product-meta{color:#7b6b58;margin-top:4px;font-size:14px}.product-tags{flex-wrap:wrap;gap:8px;display:flex}.product-money{color:#3b2410;text-align:right;min-width:120px;font-weight:800}@media (width<=1080px){.product-card{grid-template-columns:1fr;align-items:flex-start}.product-money{text-align:left}}.section-title-row p{color:#7b6b58;margin:0}.product-seed-card{background:#fffdf8;border:1px solid #eadfce;border-radius:22px;grid-template-columns:minmax(0,1fr) 150px;gap:18px;padding:18px;display:grid}.seed-title-row{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.seed-value{color:#2f2418;margin-top:4px;font-weight:900}@media (width<=1080px){.section-title-row,.seed-title-row{flex-direction:column}.product-seed-card,.seed-info-grid{grid-template-columns:1fr}.seed-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}.new-product-panel{margin-top:22px}.form-actions{gap:12px;margin-top:22px;display:flex}.section-title-row{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:20px;display:flex}.section-title-row h2{margin:0 0 6px}.section-title-row p{color:#7b6b58;margin:0;line-height:1.6}.seed-count{color:#6d4315;background:#f1dfbd;border-radius:999px;flex:none;padding:9px 14px;font-weight:900}.empty-state{background:#fffdf8;border:1px dashed #d8c8ad;border-radius:20px;padding:24px}.empty-title{color:#2f2418;font-size:18px;font-weight:900}.empty-state p{color:#7b6b58;margin:8px 0 0}.product-seed-list{gap:16px;display:grid}.product-seed-card{background:#fffdf8;border:1px solid #eadfce;border-radius:24px;grid-template-columns:minmax(0,1fr) 148px;gap:18px;padding:20px;display:grid;box-shadow:0 16px 36px #5842240f}.seed-card-main{min-width:0}.seed-title-row{border-bottom:1px solid #eee3d1;justify-content:space-between;align-items:flex-start;gap:18px;padding-bottom:16px;display:flex}.product-name{color:#1f2933;font-size:22px;font-weight:950;line-height:1.2}.product-meta{color:#7b6b58;margin-top:8px;font-size:14px;font-weight:700}.product-tags{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.product-tags span{color:#6d4315;background:#f1dfbd;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:900}.seed-info-grid{grid-template-columns:repeat(4,minmax(120px,1fr));gap:12px;margin-top:18px;display:grid}.seed-info-grid>div{background:#f9f1df;border-radius:18px;padding:14px}.seed-label{color:#7b6b58;font-size:12px;font-weight:900}.seed-value{color:#2f2418;margin-top:5px;font-size:17px;font-weight:950}.seed-notes{color:#5c5145;border-top:1px solid #eee3d1;gap:8px;margin-top:16px;padding-top:14px;line-height:1.6;display:grid}.seed-actions{align-content:start;gap:10px;display:grid}.mini-button{color:#6d4315;cursor:pointer;background:#f1dfbd;border:0;border-radius:14px;padding:10px 12px;font-weight:900}.mini-button:hover{filter:brightness(.97)}.primary-mini{color:#fff;background:#8a5a22}.danger-mini{color:#9f3a18;background:#fff0e8}@media (width<=1080px){.section-title-row,.seed-title-row{flex-direction:column}.product-seed-card,.seed-info-grid{grid-template-columns:1fr}.seed-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.product-tags{justify-content:flex-start}}
