html,body,#root{min-height:100%;margin:0}*{box-sizing:border-box}body{background:#f4f7fb}.app-shell,.login-shell{min-height:100vh}.app-shell{display:flex;background:#f4f7fb}.login-shell{display:grid;place-items:center;padding:24px}.login-panel{width:min(420px,100%);padding:28px;background:#fff;border:1px solid #e7edf5;border-radius:8px;box-shadow:0 12px 36px #0f172a14}.app-sider{position:sticky;top:0;flex:0 0 224px;width:224px;height:100vh;min-width:224px;max-width:224px;overflow-x:hidden;overflow-y:auto;background:#101827;border-right:1px solid #1f2937}.sider-brand{display:flex;align-items:center;min-height:64px;padding:0 20px;color:#fff;font-size:18px;font-weight:700}.side-nav{width:100%;overflow-x:hidden;padding:8px 10px 20px}.nav-group{min-width:0;margin-bottom:16px}.nav-group-title{overflow:hidden;padding:8px 10px;color:#94a3b8;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.nav-item{display:block;width:100%;overflow:hidden;margin:2px 0;padding:9px 10px;color:#cbd5e1;font:inherit;text-align:left;text-decoration:none;text-overflow:ellipsis;white-space:nowrap;background:transparent;border:0;border-radius:6px;cursor:pointer}.nav-item:hover{color:#fff;text-decoration:none;background:#1e293b}.nav-item-active{color:#fff;background:#2563eb}.app-main{flex:1 1 auto;min-width:0}.app-header{position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;min-height:64px;padding:0 24px;background:#fff;border-bottom:1px solid #e7edf5}.brand-inline{color:#111827;font-size:18px;font-weight:700}.header-meta{margin-top:2px;color:#64748b;font-size:12px}.app-content{padding:24px}.admin-name{color:#475569;font-size:13px}.panel-section{background:#fff;border:1px solid #e7edf5;border-radius:8px}.panel-toolbar{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-start;justify-content:space-between;padding:18px 20px;border-bottom:1px solid #e7edf5}.panel-toolbar>div:first-child{flex:1 1 260px;min-width:0}.panel-toolbar .ant-typography{margin:0}.panel-description{margin-top:6px;color:#64748b;font-size:13px}.panel-actions{display:flex;flex:1 1 520px;justify-content:flex-end;min-width:0;max-width:760px}.toolbar-actions{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;justify-content:flex-end;max-width:100%}.toolbar-actions .ant-space-item{min-width:0}.toolbar-actions .ant-input-search{width:min(280px,100%)}.toolbar-actions .ant-input{width:min(240px,100%)}.skill-filter{width:260px}.review-filter{width:220px}.member-toolbar{width:100%}.member-toolbar .ant-input-search{width:260px}.order-status-filter{width:180px}.task-lookup{width:min(720px,100%)}.task-lookup .ant-input{width:420px}.compact-select{width:168px}.provider-select{width:190px}.content-review-toolbar{max-width:980px}.review-thumb{display:block;width:72px;height:72px;object-fit:cover;background:#f1f5f9;border-radius:8px}.user-avatar{display:block;width:32px;height:32px;object-fit:cover;background:#f1f5f9;border-radius:50%}.user-avatar-placeholder{display:grid;width:32px;height:32px;place-items:center;color:#475569;background:#e2e8f0;border-radius:50%}.muted-text{color:#94a3b8;font-size:12px}.credit-positive{color:#047857;font-weight:600}.credit-negative{color:#b91c1c;font-weight:600}.field-number{width:100%}.code-input textarea{font-family:Consolas,SFMono-Regular,Menlo,monospace}.form-alert{margin-bottom:16px}.prompt-snapshot-panel{padding:20px;background:#fff}.prompt-snapshot-panel.empty{display:grid;min-height:220px;place-items:center}.snapshot-meta{display:grid;gap:16px;grid-template-columns:minmax(260px,1.6fr) repeat(3,minmax(120px,1fr));margin-bottom:20px}.snapshot-meta.compact{grid-template-columns:repeat(3,minmax(160px,1fr))}.snapshot-label{margin-bottom:4px;color:#64748b;font-size:12px}.prompt-snapshot-code{overflow:auto;max-height:240px;padding:14px;color:#0f172a;font-family:Consolas,SFMono-Regular,Menlo,monospace;font-size:12px;line-height:1.6;white-space:pre-wrap;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px}.prompt-snapshot-code.final-prompt{max-height:360px}.ant-table-wrapper{background:#fff}.panel-section .ant-table-wrapper{padding:0 20px 20px}@media (max-width: 720px){.app-shell{display:block}.app-sider{position:static;width:100%;height:auto}.sider-brand{min-height:56px}.side-nav{display:grid;gap:8px;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));overflow-x:hidden;padding:8px 12px 12px}.nav-group{min-width:0;margin-bottom:0}.app-header{align-items:flex-start;flex-direction:column;gap:12px;padding:14px 16px}.app-content{padding:16px}.panel-toolbar{align-items:stretch;flex-direction:column;padding:16px}.panel-actions,.toolbar-actions{justify-content:flex-start;width:100%;max-width:none}.skill-filter,.review-filter,.member-toolbar .ant-input-search,.order-status-filter,.compact-select,.provider-select,.toolbar-actions .ant-input,.toolbar-actions .ant-input-search,.task-lookup,.task-lookup .ant-input{width:100%}.panel-section .ant-table-wrapper{padding:0 16px 16px}.snapshot-meta,.snapshot-meta.compact{grid-template-columns:1fr}}
