*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.invisible{visibility:hidden}.collapse{visibility:collapse}.fixed{position:fixed}.relative{position:relative}.block{display:block}.flex{display:flex}.table{display:table}.grid{display:grid}.hidden{display:none}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.border{border-width:1px}.uppercase{text-transform:uppercase}.outline{outline-style:solid}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html,body,#root{height:100%;width:100%;overflow:hidden}body{font-family:Inter,system-ui,-apple-system,sans-serif;background:#f0f2f5;color:#1e293b;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:#94a3b866;border-radius:6px}::-webkit-scrollbar-thumb:hover{background:#94a3b899}.sidebar-nav::-webkit-scrollbar-thumb{background:#ffffff26}.app-layout{display:flex;height:100vh;width:100%}.sidebar{width:250px;min-width:250px;background:#1c1c1c;display:flex;flex-direction:column;height:100vh;overflow:hidden;position:relative;z-index:50}.main-area{flex:1;display:flex;flex-direction:column;height:100vh;overflow:hidden;background:#f0f2f5}.header-bar{height:68px;min-height:68px;background:#fff;border-bottom:1px solid #E2E8F0;display:flex;align-items:center;justify-content:space-between;padding:0 28px;z-index:40}.content-area{flex:1;overflow-y:auto;overflow-x:hidden;padding:24px 28px;display:flex;flex-direction:column}.sidebar-logo{display:flex;align-items:center;gap:12px;padding:22px 20px 20px;border-bottom:1px solid rgba(255,255,255,.08)}.sidebar-logo-icon{width:38px;height:38px;background:linear-gradient(135deg,#d4af37,#aa8529);border-radius:10px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.sidebar-logo-text h2{font-size:17px;font-weight:800;color:#fff;letter-spacing:-.02em;line-height:1.2}.sidebar-logo-text p{font-size:11px;color:#fff6;font-weight:500;letter-spacing:.02em}.sidebar-nav{flex:1;overflow-y:auto;padding:14px 12px;display:flex;flex-direction:column;gap:2px}.nav-item{display:flex;align-items:center;gap:11px;padding:10px 14px;border-radius:9px;border:none;background:transparent;color:#ffffff8c;font-size:13.5px;font-weight:500;cursor:pointer;transition:all .15s ease;width:100%;text-align:left;font-family:inherit;white-space:nowrap}.nav-item:hover{background:#ffffff0f;color:#ffffffd9}.nav-item.active{background:#d4af3726;color:#e5c158;font-weight:600}.nav-item.active svg{color:#e5c158}.sidebar-pro-card{margin:12px;background:linear-gradient(135deg,#d4af3726,#aa85291a);border:1px solid rgba(212,175,55,.2);border-radius:12px;padding:16px}.sidebar-pro-card h4{font-size:14px;font-weight:700;color:#fff;margin-bottom:4px}.sidebar-pro-card p{font-size:11.5px;color:#ffffff80;line-height:1.45;margin-bottom:12px}.sidebar-pro-btn{width:100%;padding:9px 16px;background:linear-gradient(135deg,#d4af37,#aa8529);color:#fff;font-size:13px;font-weight:600;border:none;border-radius:8px;cursor:pointer;transition:all .2s;font-family:inherit}.sidebar-pro-btn:hover{transform:translateY(-1px);box-shadow:0 4px 12px #d4af3766}.sidebar-footer{padding:14px 20px;border-top:1px solid rgba(255,255,255,.06)}.sidebar-footer p{font-size:11px;color:#ffffff40;line-height:1.4}.header-left{display:flex;align-items:center;gap:12px}.header-back-btn{width:34px;height:34px;display:flex;align-items:center;justify-content:center;border-radius:8px;border:1px solid #E2E8F0;background:#fff;cursor:pointer;color:#64748b;transition:all .15s}.header-back-btn:hover{background:#f8fafc;color:#1e293b}.header-title h1{font-size:17px;font-weight:700;color:#1e293b;letter-spacing:-.01em}.header-title p{font-size:12.5px;color:#94a3b8;font-weight:400}.header-right{display:flex;align-items:center;gap:12px}.header-upload-btn{display:flex;align-items:center;gap:7px;padding:9px 18px;background:linear-gradient(135deg,#d4af37,#aa8529);color:#fff;font-size:13px;font-weight:600;border:none;border-radius:9px;cursor:pointer;transition:all .2s;font-family:inherit;box-shadow:0 2px 8px #d4af374d}.header-upload-btn:hover{transform:translateY(-1px);box-shadow:0 4px 14px #d4af3766}.header-icon-btn{width:38px;height:38px;display:flex;align-items:center;justify-content:center;border-radius:10px;border:1px solid #E2E8F0;background:#fff;cursor:pointer;color:#64748b;transition:all .15s;position:relative}.header-icon-btn:hover{background:#f8fafc;color:#1e293b}.notification-badge{position:absolute;top:-2px;right:-2px;width:16px;height:16px;background:#ef4444;color:#fff;border-radius:50%;font-size:10px;font-weight:700;display:flex;align-items:center;justify-content:center;border:2px solid #FFFFFF}.header-avatar{display:flex;align-items:center;gap:9px;padding:5px 12px 5px 5px;border-radius:10px;border:1px solid #E2E8F0;background:#fff;cursor:pointer;transition:all .15s}.header-avatar:hover{background:#f8fafc}.header-avatar-circle{width:32px;height:32px;border-radius:50%;background:linear-gradient(135deg,#f59e0b,#d97706);display:flex;align-items:center;justify-content:center;color:#fff;font-size:13px;font-weight:700}.header-avatar-name{font-size:13px;font-weight:600;color:#1e293b}.card{background:#fff;border-radius:14px;border:1px solid #E8ECF1;box-shadow:0 1px 3px #0000000a;transition:box-shadow .2s}.card:hover{box-shadow:0 4px 12px #0000000f}.stat-card{background:#fff;border-radius:12px;border:1px solid #E8ECF1;padding:18px 20px;display:flex;flex-direction:column;gap:4px;transition:all .2s}.stat-card:hover{box-shadow:0 4px 12px #0000000f;transform:translateY(-1px)}.stat-card .stat-icon{width:38px;height:38px;border-radius:10px;display:flex;align-items:center;justify-content:center;margin-bottom:6px}.stat-card .stat-value{font-size:26px;font-weight:800;color:#1e293b;letter-spacing:-.03em;line-height:1.1}.stat-card .stat-value span{font-size:15px;font-weight:500;color:#94a3b8}.stat-card .stat-label{font-size:12.5px;color:#94a3b8;font-weight:500}.stat-card .stat-sub{font-size:11.5px;font-weight:600;margin-top:2px}.risk-badge{display:inline-flex;align-items:center;padding:4px 12px;border-radius:20px;font-size:11.5px;font-weight:700;text-transform:capitalize;letter-spacing:.02em}.risk-badge.high{background:#ef44441a;color:#ef4444}.risk-badge.medium{background:#f59e0b1a;color:#f59e0b}.risk-badge.low{background:#10b9811a;color:#10b981}.issue-item{display:flex;align-items:flex-start;gap:12px;padding:14px 0;border-bottom:1px solid #F1F5F9;transition:background .15s}.issue-item:last-child{border-bottom:none}.issue-icon{width:34px;height:34px;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-top:2px}.issue-icon.high{background:#ef44441a;color:#ef4444}.issue-icon.medium{background:#f59e0b1a;color:#f59e0b}.issue-icon.low{background:#10b9811a;color:#10b981}.issue-content{flex:1;min-width:0}.issue-content h4{font-size:13.5px;font-weight:600;color:#1e293b;margin-bottom:3px}.issue-content p{font-size:12.5px;color:#64748b;line-height:1.5}.info-row{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid #F1F5F9}.info-row:last-child{border-bottom:none}.info-row .info-icon{width:28px;height:28px;border-radius:7px;background:#d4af3714;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:#d4af37}.info-row .info-label{font-size:12.5px;color:#94a3b8;font-weight:500;min-width:100px}.info-row .info-value{font-size:13px;color:#1e293b;font-weight:600;flex:1}.law-tag{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border-bottom:1px solid #F1F5F9;width:100%}.law-tag:last-child{border-bottom:none}.law-tag .law-icon{color:#d4af37;flex-shrink:0}.law-tag .law-name{font-size:12.5px;color:#1e293b;font-weight:500;flex:1}.law-tag .law-status{font-size:11px;font-weight:600;padding:3px 10px;border-radius:20px}.law-status.applicable{background:#10b9811a;color:#10b981}.law-status.possibly{background:#f59e0b1a;color:#f59e0b}.recommendation-item{display:flex;align-items:flex-start;gap:8px;padding:8px 0;font-size:13px;color:#475569;line-height:1.5}.recommendation-item svg{flex-shrink:0;margin-top:3px;color:#d4af37}.doc-viewer{background:#fff;border-radius:14px;border:1px solid #E8ECF1;overflow:hidden}.doc-viewer-toolbar{display:flex;align-items:center;gap:8px;padding:10px 16px;border-bottom:1px solid #F1F5F9;background:#fafbfc}.doc-toolbar-btn{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:7px;border:1px solid #E2E8F0;background:#fff;cursor:pointer;color:#64748b;transition:all .15s;font-size:14px}.doc-toolbar-btn:hover{background:#f1f5f9;color:#1e293b}.doc-page-indicator{font-size:13px;color:#64748b;font-weight:500;padding:0 8px;display:flex;align-items:center;gap:6px}.doc-page-indicator input{width:28px;text-align:center;border:1px solid #E2E8F0;border-radius:5px;padding:3px;font-size:13px;font-weight:600;color:#1e293b;font-family:inherit;outline:none}.doc-content{padding:28px 32px;max-height:500px;overflow-y:auto;font-size:14px;line-height:1.8;color:#334155}.doc-content h2{font-size:18px;font-weight:700;color:#1e293b;margin-bottom:16px;text-transform:uppercase;letter-spacing:.02em}.doc-content .clause-number{font-weight:700;color:#1e293b}.doc-content .clause-highlight{background:#f59e0b1f;border-left:3px solid #F59E0B;padding:8px 14px;border-radius:0 8px 8px 0;margin:8px 0}.doc-content .clause-highlight.red{background:#ef44440f;border-left-color:#ef4444}.doc-content .clause-highlight.green{background:#10b9810f;border-left-color:#10b981}.doc-legend{display:flex;align-items:center;gap:16px;padding:12px 20px;border-top:1px solid #F1F5F9;background:#fafbfc}.doc-legend-item{display:flex;align-items:center;gap:6px;font-size:12px;color:#64748b;font-weight:500}.doc-legend-dot{width:8px;height:8px;border-radius:50%}.generate-btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:13px 20px;background:linear-gradient(135deg,#1e293b,#121212);color:#fff;font-size:14px;font-weight:600;border:none;border-radius:10px;cursor:pointer;transition:all .2s;font-family:inherit;box-shadow:0 4px 12px #0f172a4d}.generate-btn:hover{transform:translateY(-1px);box-shadow:0 6px 20px #0f172a66}.chat-layout{display:flex;gap:16px;flex:1;min-height:0}.chat-sidebar{width:260px;background:#fff;border-radius:14px;border:1px solid #E8ECF1;display:flex;flex-direction:column;overflow:hidden;flex-shrink:0}.chat-sidebar-header{padding:16px;border-bottom:1px solid #F1F5F9;display:flex;justify-content:space-between;align-items:center}.chat-sidebar-title{font-weight:700;font-size:14px;color:#1e293b;margin:0}.new-chat-btn{background:#f1f5f9;border:none;border-radius:6px;padding:6px;cursor:pointer;color:#475569;display:flex;align-items:center;justify-content:center;transition:all .2s}.new-chat-btn:hover{background:#e2e8f0;color:#0f172a}.chat-sidebar-list{flex:1;overflow-y:auto;padding:8px;display:flex;flex-direction:column;gap:4px}.chat-session-item{padding:10px 12px;border-radius:8px;cursor:pointer;font-size:13px;color:#475569;border:1px solid transparent;transition:all .2s;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:flex;align-items:center;gap:8px}.chat-session-item:hover{background:#f8fafc}.chat-session-item.active{background:#eff6ff;border-color:#bfdbfe;color:#1d4ed8;font-weight:600}.chat-container{display:flex;flex-direction:column;height:100%;flex:1;background:#fff;border-radius:14px;border:1px solid #E8ECF1;overflow:hidden}.chat-domain-bar{display:flex;gap:6px;padding:12px 18px;border-bottom:1px solid #F1F5F9;overflow-x:auto;flex-shrink:0;background:#fafbfc}.chat-domain-chip{padding:5px 14px;border-radius:20px;font-size:12.5px;font-weight:600;cursor:pointer;border:1px solid #E2E8F0;background:#fff;color:#64748b;transition:all .15s;white-space:nowrap;font-family:inherit}.chat-domain-chip.active{background:linear-gradient(135deg,#d4af37,#aa8529);color:#fff;border-color:transparent;box-shadow:0 2px 8px #d4af374d}.chat-messages{flex:1;overflow-y:auto;padding:20px;display:flex;flex-direction:column;gap:16px}.chat-msg{display:flex;gap:10px;max-width:85%}.chat-msg.user{align-self:flex-end;flex-direction:row-reverse}.chat-msg-avatar{width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-top:2px;font-size:14px}.chat-msg-avatar.bot{background:transparent;color:#fff;box-shadow:none}.chat-msg-avatar.user-av{background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;font-weight:700;font-size:13px;box-shadow:0 3px 10px #f59e0b4d}.chat-bubble{padding:12px 16px;font-size:13.5px;line-height:1.7;white-space:pre-wrap;border-radius:4px 18px 18px;background:#f1f5f9;color:#334155;border:1px solid #E2E8F0}.chat-markdown p:first-child{margin-top:0}.chat-markdown p:last-child{margin-bottom:0}.chat-msg.user .chat-bubble{border-radius:18px 4px 18px 18px;background:linear-gradient(135deg,#d4af37,#aa8529);color:#fff;border:none;box-shadow:0 3px 12px #d4af3740}.chat-citations{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}.citation-pill{display:inline-flex;align-items:center;gap:4px;padding:3px 10px;border-radius:6px;font-size:11px;font-weight:600}.citation-pill.constitution{background:#fbbf241f;color:#d97706;border:1px solid rgba(251,191,36,.3)}.citation-pill.judgment{background:#aa85291a;color:#aa8529;border:1px solid rgba(170,133,41,.25)}.citation-pill.statute{background:#10b9811a;color:#059669;border:1px solid rgba(16,185,129,.25)}.chat-quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:0 18px 14px}.chat-quick-btn{text-align:left;padding:10px 14px;border-radius:10px;border:1px solid #E2E8F0;background:#fafbfc;color:#475569;font-size:12.5px;cursor:pointer;transition:all .15s;line-height:1.45;display:flex;gap:8px;align-items:flex-start;font-family:inherit}.chat-quick-btn:hover{background:#f1f5f9;border-color:#cbd5e1}.chat-input-area{padding:14px 18px;border-top:1px solid #F1F5F9;flex-shrink:0;background:#fafbfc}.chat-input-row{display:flex;gap:8px;align-items:flex-end}.chat-textarea{flex:1;font-size:13.5px;padding:10px 14px;background:#fff;border:1px solid #E2E8F0;border-radius:10px;color:#1e293b;outline:none;resize:none;font-family:inherit;line-height:1.5;transition:border-color .2s}.chat-textarea:focus{border-color:#d4af37;box-shadow:0 0 0 3px #d4af371a}.chat-textarea::-moz-placeholder{color:#94a3b8}.chat-textarea::placeholder{color:#94a3b8}.chat-send-btn{width:40px;height:40px;border-radius:10px;border:none;display:flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;transition:all .2s;font-size:18px}.chat-send-btn.enabled{background:linear-gradient(135deg,#d4af37,#aa8529);color:#fff;box-shadow:0 3px 10px #d4af374d}.chat-send-btn.disabled{background:#f1f5f9;color:#cbd5e1;cursor:not-allowed}.chat-disclaimer{font-size:11px;color:#94a3b8;text-align:center;margin-top:8px;font-style:italic}.form-field{display:flex;flex-direction:column;gap:6px}.form-label{font-size:12px;font-weight:700;color:#64748b;text-transform:uppercase;letter-spacing:.06em}.form-input,.form-textarea,.form-select{font-size:13.5px;padding:11px 14px;background:#fff;border:1px solid #E2E8F0;border-radius:10px;color:#1e293b;outline:none;font-family:inherit;line-height:1.6;transition:border-color .2s;width:100%}.form-input:focus,.form-textarea:focus,.form-select:focus{border-color:#d4af37;box-shadow:0 0 0 3px #d4af371a}.form-textarea{resize:none}.btn-primary{display:flex;align-items:center;justify-content:center;gap:8px;padding:11px 22px;background:linear-gradient(135deg,#d4af37,#aa8529);color:#fff;font-size:13.5px;font-weight:600;border:none;border-radius:10px;cursor:pointer;transition:all .2s;font-family:inherit;box-shadow:0 2px 8px #d4af374d}.btn-primary:hover{transform:translateY(-1px);box-shadow:0 4px 14px #d4af3766}.btn-primary:disabled{opacity:.5;cursor:not-allowed;transform:none;box-shadow:none}.btn-ghost{display:flex;align-items:center;justify-content:center;gap:6px;padding:9px 16px;background:#fff;color:#64748b;font-size:13px;font-weight:500;border:1px solid #E2E8F0;border-radius:9px;cursor:pointer;transition:all .15s;font-family:inherit}.btn-ghost:hover{background:#f8fafc;color:#1e293b;border-color:#cbd5e1}.section-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;padding:0 4px}.section-header h3{font-size:15px;font-weight:700;color:#1e293b}.section-header a,.section-header button{font-size:12.5px;color:#d4af37;font-weight:600;text-decoration:none;background:none;border:none;cursor:pointer;display:flex;align-items:center;gap:4px;font-family:inherit;transition:color .15s}.section-header a:hover,.section-header button:hover{color:#aa8529}@keyframes dot-bounce{0%,60%,to{transform:translateY(0)}30%{transform:translateY(-5px)}}.loading-dots{display:inline-flex;gap:5px;align-items:center}.loading-dots span{width:7px;height:7px;border-radius:50%;background:#d4af37;display:inline-block;animation:dot-bounce 1.1s infinite}.loading-dots span:nth-child(2){animation-delay:.2s}.loading-dots span:nth-child(3){animation-delay:.4s}.upload-zone{border:2px dashed #CBD5E1;border-radius:14px;padding:30px 20px;text-align:center;cursor:pointer;background:#fafbfc;transition:all .2s}.upload-zone:hover{border-color:#d4af37;background:#d4af3708}.placeholder-page{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:80px 40px;text-align:center}.placeholder-icon{width:80px;height:80px;border-radius:20px;background:linear-gradient(135deg,#d4af371a,#aa852914);display:flex;align-items:center;justify-content:center;margin-bottom:20px;color:#d4af37}.placeholder-page h2{font-size:22px;font-weight:700;color:#1e293b;margin-bottom:8px}.placeholder-page p{font-size:14px;color:#94a3b8;max-width:400px;line-height:1.6}.dashboard-welcome{background:linear-gradient(135deg,#1c1c1c,#2a2a2a);border-radius:16px;padding:32px 36px;color:#fff;position:relative;overflow:hidden;margin-bottom:24px}.dashboard-welcome:after{content:"";position:absolute;top:-60px;right:-60px;width:200px;height:200px;background:#d4af3726;border-radius:50%}.dashboard-welcome h1{font-size:24px;font-weight:800;margin-bottom:6px;position:relative}.dashboard-welcome p{font-size:14px;color:#fff9;position:relative}.dashboard-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}.dashboard-actions{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.action-card{background:#fff;border-radius:14px;border:1px solid #E8ECF1;padding:24px;cursor:pointer;transition:all .2s;display:flex;gap:16px;align-items:flex-start}.action-card:hover{box-shadow:0 8px 24px #00000014;transform:translateY(-2px);border-color:#cbd5e1}.action-card-icon{width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.action-card h3{font-size:15px;font-weight:700;color:#1e293b;margin-bottom:4px}.action-card p{font-size:12.5px;color:#94a3b8;line-height:1.5}.draft-output{background:#fafbfc;border:1px solid #E2E8F0;border-radius:12px;padding:20px 24px}.draft-output pre{font-size:13px;color:#334155;white-space:pre-wrap;line-height:1.75;font-family:Courier New,monospace}.draft-warning{background:#f59e0b0f;border:1px solid rgba(245,158,11,.2);border-radius:10px;padding:12px 16px;margin-top:16px}.draft-warning p{font-size:12.5px;color:#92400e;line-height:1.55;font-style:italic}.case-card{background:#fff;border:1px solid #E8ECF1;border-radius:14px;padding:20px;display:flex;flex-direction:column;gap:12px;transition:all .2s}.case-card:hover{box-shadow:0 4px 14px #0000000f}.case-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.case-name{font-size:15px;font-weight:700;color:#d4af37;letter-spacing:-.01em}.case-meta{font-size:12px;color:#94a3b8;margin-top:3px}.case-section{background:#f8fafc;border-radius:10px;padding:12px 14px}.case-section-label{font-size:11px;font-weight:700;color:#94a3b8;text-transform:uppercase;letter-spacing:.06em;margin-bottom:5px}.case-section-text{font-size:13px;color:#475569;line-height:1.65}.case-relevance{background:#10b9810d;border:1px solid rgba(16,185,129,.15);border-radius:10px;padding:12px 14px}.case-strategy{background:#f59e0b0d;border:1px solid rgba(245,158,11,.15);border-radius:12px;padding:14px 18px}.strength-badge{display:inline-flex;align-items:center;padding:4px 12px;border-radius:20px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap}.strength-badge.directly_applicable{background:#10b9811a;color:#10b981;border:1px solid rgba(16,185,129,.2)}.strength-badge.analogous{background:#aa85291a;color:#818cf8;border:1px solid rgba(170,133,41,.2)}.strength-badge.distinguishable{background:#94a3b81a;color:#94a3b8;border:1px solid rgba(148,163,184,.2)}.landing-page{width:100%;height:100vh;overflow-x:hidden;overflow-y:auto;background:#fff}.landing-nav{position:fixed;top:0;left:0;right:0;z-index:100;background:#1c1c1cf2;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-bottom:1px solid rgba(255,255,255,.08)}.landing-nav-inner{max-width:1200px;margin:0 auto;padding:0 32px;height:68px;display:flex;align-items:center;justify-content:space-between}.landing-nav-brand{display:flex;align-items:center;gap:10px;cursor:pointer}.landing-nav-logo{width:36px;height:36px;background:transparent;border-radius:9px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.landing-nav-name{font-size:18px;font-weight:800;color:#fff;letter-spacing:-.02em}.landing-nav-tag{display:block;font-size:10.5px;color:#fff6;font-weight:500;letter-spacing:.02em}.landing-nav-links{display:flex;gap:28px}.landing-nav-links a{font-size:14px;font-weight:500;color:#ffffffa6;text-decoration:none;transition:color .2s}.landing-nav-links a:hover{color:#fff}.landing-nav-actions{display:flex;align-items:center;gap:10px}.landing-btn-ghost{padding:8px 18px;border-radius:8px;font-size:13.5px;font-weight:600;cursor:pointer;background:transparent;color:#fffc;border:1px solid rgba(255,255,255,.15);transition:all .2s;font-family:inherit}.landing-btn-ghost:hover{background:#ffffff14;color:#fff;border-color:#ffffff40}.landing-btn-primary{display:inline-flex;align-items:center;gap:7px;padding:9px 20px;border-radius:9px;font-size:13.5px;font-weight:600;cursor:pointer;background:linear-gradient(135deg,#d4af37,#aa8529);color:#fff;border:none;transition:all .2s;font-family:inherit;box-shadow:0 2px 10px #d4af374d}.landing-btn-primary:hover{transform:translateY(-1px);box-shadow:0 4px 16px #d4af3773}.landing-btn-primary.large{padding:14px 30px;font-size:15px;border-radius:11px;box-shadow:0 4px 16px #d4af3759}.landing-btn-primary.large:hover{box-shadow:0 6px 24px #d4af3780}.landing-btn-primary.white{background:#fff;color:#1c1c1c;box-shadow:0 4px 16px #00000026}.landing-btn-primary.white:hover{box-shadow:0 6px 24px #0003}.landing-btn-outline{display:inline-flex;align-items:center;gap:7px;padding:14px 30px;border-radius:11px;font-size:15px;font-weight:600;cursor:pointer;background:transparent;color:#fff;border:2px solid rgba(255,255,255,.2);transition:all .2s;font-family:inherit}.landing-btn-outline:hover{border-color:#fff6;background:#ffffff0d}.landing-btn-outline.large{padding:14px 30px;font-size:15px}.landing-hero{position:relative;background:linear-gradient(165deg,#0a0a0a,#1c1c1c,#242424);padding:160px 32px 100px;text-align:center;overflow:hidden;min-height:90vh;display:flex;align-items:center;justify-content:center}.landing-hero-bg{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.landing-hero-orb{position:absolute;border-radius:50%;filter:blur(80px)}.landing-hero-orb.orb-1{top:-100px;left:-100px;width:500px;height:500px;background:#d4af3726;animation:float 8s ease-in-out infinite}.landing-hero-orb.orb-2{bottom:-80px;right:-60px;width:400px;height:400px;background:#8b5cf61f;animation:float 10s ease-in-out infinite reverse}.landing-hero-orb.orb-3{top:40%;left:60%;width:300px;height:300px;background:#f59e0b0f;animation:float 12s ease-in-out infinite}@keyframes float{0%,to{transform:translate(0)}33%{transform:translate(20px,-15px)}66%{transform:translate(-10px,10px)}}.landing-hero-content{position:relative;max-width:800px;margin:0 auto}.landing-hero-badge{display:inline-flex;align-items:center;gap:8px;padding:8px 18px;border-radius:30px;background:#d4af371f;border:1px solid rgba(212,175,55,.2);color:#e5c158;font-size:13px;font-weight:600;margin-bottom:28px;animation:fadeInUp .6s ease-out}.landing-hero-title{font-size:54px;font-weight:800;color:#fff;line-height:1.15;letter-spacing:-.03em;margin-bottom:20px;animation:fadeInUp .6s ease-out .1s both}.landing-hero-gradient{background:linear-gradient(135deg,#e5c158,#a78bfa,#e5c158);background-size:200% 100%;-webkit-background-clip:text;-webkit-text-fill-color:transparent;animation:shimmer 4s linear infinite}@keyframes shimmer{0%{background-position:0% center}to{background-position:200% center}}.landing-hero-subtitle{font-size:18px;color:#ffffff8c;line-height:1.7;margin-bottom:36px;max-width:640px;margin-left:auto;margin-right:auto;animation:fadeInUp .6s ease-out .2s both}.landing-hero-actions{display:flex;gap:14px;justify-content:center;margin-bottom:48px;animation:fadeInUp .6s ease-out .3s both}.landing-hero-trust{display:flex;align-items:center;gap:12px;justify-content:center;animation:fadeInUp .6s ease-out .4s both}.landing-hero-avatars{display:flex;align-items:center}.landing-hero-avatar-dot{width:34px;height:34px;border-radius:50%;background:linear-gradient(135deg,#d4af37,#aa8529);border:2px solid #1C1C1C;display:flex;align-items:center;justify-content:center;color:#fff;font-size:12px;font-weight:700}.landing-hero-stars{display:flex;gap:2px;margin-bottom:2px}.landing-hero-trust-text{font-size:13px;color:#ffffff73;font-weight:500}@keyframes fadeInUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.landing-stats{background:#fff;border-bottom:1px solid #E8ECF1;padding:0 32px}.landing-stats-inner{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:repeat(4,1fr);gap:1px}.landing-stat-item{text-align:center;padding:32px 20px;border-right:1px solid #F1F5F9}.landing-stat-item:last-child{border-right:none}.landing-stat-value{font-size:32px;font-weight:800;color:#1c1c1c;letter-spacing:-.03em;line-height:1;margin-bottom:6px}.landing-stat-label{font-size:14px;color:#94a3b8;font-weight:500}.landing-section{padding:80px 32px}.landing-section.alt{background:#f8fafc}.landing-section-inner{max-width:1200px;margin:0 auto}.landing-section-header{text-align:center;margin-bottom:50px}.landing-section-badge{display:inline-block;padding:6px 16px;border-radius:20px;background:#d4af3714;color:#d4af37;font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;margin-bottom:16px}.landing-section-title{font-size:36px;font-weight:800;color:#1e293b;letter-spacing:-.03em;margin-bottom:12px;line-height:1.2}.landing-section-subtitle{font-size:17px;color:#94a3b8;max-width:550px;margin:0 auto;line-height:1.6}.landing-features-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.landing-feature-card{background:#fff;border:1px solid #E8ECF1;border-radius:16px;padding:32px 28px;transition:all .25s}.landing-section.alt .landing-feature-card{background:#fff}.landing-feature-card:hover{transform:translateY(-4px);box-shadow:0 12px 32px #00000014;border-color:#cbd5e1}.landing-feature-icon{width:54px;height:54px;border-radius:14px;display:flex;align-items:center;justify-content:center;margin-bottom:18px}.landing-feature-card h3{font-size:17px;font-weight:700;color:#1e293b;margin-bottom:8px}.landing-feature-card p{font-size:14px;color:#64748b;line-height:1.65}.landing-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;position:relative}.landing-step-card{text-align:center;padding:36px 28px;position:relative}.landing-step-num{font-size:48px;font-weight:800;color:#d4af371a;letter-spacing:-.03em;margin-bottom:12px;line-height:1}.landing-step-card h3{font-size:18px;font-weight:700;color:#1e293b;margin-bottom:10px}.landing-step-card p{font-size:14px;color:#64748b;line-height:1.65}.landing-step-arrow{position:absolute;top:50%;right:-18px;transform:translateY(-50%);color:#cbd5e1}.landing-testimonials-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.landing-testimonial-card{background:#fff;border:1px solid #E8ECF1;border-radius:16px;padding:28px;transition:all .25s}.landing-testimonial-card:hover{transform:translateY(-3px);box-shadow:0 8px 24px #0000000f}.landing-testimonial-stars{display:flex;gap:2px;margin-bottom:16px}.landing-testimonial-text{font-size:14.5px;color:#475569;line-height:1.7;margin-bottom:20px;font-style:italic}.landing-testimonial-author{display:flex;align-items:center;gap:12px}.landing-testimonial-avatar{width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,#1c1c1c,#2a2a2a);display:flex;align-items:center;justify-content:center;color:#fff;font-size:15px;font-weight:700}.landing-testimonial-name{font-size:14px;font-weight:700;color:#1e293b}.landing-testimonial-role{font-size:12.5px;color:#94a3b8;font-weight:500}.landing-cta{padding:0 32px}.landing-cta-inner{max-width:1200px;margin:0 auto;background:linear-gradient(135deg,#1c1c1c,#2a2a2a);border-radius:24px;padding:64px 40px;text-align:center;position:relative;overflow:hidden}.landing-cta-bg{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.landing-cta-inner h2{font-size:32px;font-weight:800;color:#fff;letter-spacing:-.02em;margin-bottom:12px;position:relative}.landing-cta-inner p{font-size:16px;color:#ffffff8c;margin-bottom:28px;position:relative}.landing-cta-inner .landing-btn-primary{position:relative}.landing-footer{background:#0a0a0a;padding:60px 32px 0}.landing-footer-inner{max-width:1200px;margin:0 auto;display:flex;justify-content:space-between;gap:60px;padding-bottom:40px;border-bottom:1px solid rgba(255,255,255,.08)}.landing-footer-brand{max-width:320px}.landing-footer-brand p{font-size:13.5px;color:#ffffff59;line-height:1.65;margin-top:14px}.landing-footer-links{display:flex;gap:60px}.landing-footer-links h4{font-size:13px;font-weight:700;color:#ffffffb3;text-transform:uppercase;letter-spacing:.06em;margin-bottom:16px}.landing-footer-links a{display:block;font-size:13.5px;color:#ffffff59;text-decoration:none;margin-bottom:10px;transition:color .2s}.landing-footer-links a:hover{color:#ffffffb3}.landing-footer-bottom{max-width:1200px;margin:0 auto;padding:20px 0}.landing-footer-bottom p{font-size:12.5px;color:#fff3;text-align:center}.auth-page{display:flex;height:100vh;width:100%;overflow:hidden}.auth-form-side{flex:1;display:flex;align-items:center;justify-content:center;padding:40px;overflow-y:auto;background:#fff}.auth-form-container{width:100%;max-width:480px}.auth-logo{display:flex;align-items:center;gap:10px;margin-bottom:36px;cursor:pointer}.auth-logo-text{font-size:20px;font-weight:800;color:#1e293b;letter-spacing:-.02em}.auth-title{font-size:28px;font-weight:800;color:#1e293b;letter-spacing:-.02em;margin-bottom:6px}.auth-subtitle{font-size:15px;color:#94a3b8;margin-bottom:28px}.auth-error{background:#ef44440f;border:1px solid rgba(239,68,68,.2);border-radius:10px;padding:12px 16px;margin-bottom:20px;font-size:13.5px;color:#ef4444;font-weight:500}.auth-form{display:flex;flex-direction:column;gap:18px}.auth-field{display:flex;flex-direction:column;gap:6px}.auth-field label{font-size:13px;font-weight:600;color:#475569}.auth-field input,.auth-field select{padding:11px 14px;border:1px solid #E2E8F0;border-radius:10px;font-size:14px;font-family:inherit;color:#1e293b;outline:none;transition:border-color .2s,box-shadow .2s;background:#fff;width:100%}.auth-field input:focus,.auth-field select:focus{border-color:#d4af37;box-shadow:0 0 0 3px #d4af371a}.auth-field input::-moz-placeholder{color:#cbd5e1}.auth-field input::placeholder{color:#cbd5e1}.auth-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.auth-pw-wrapper{position:relative}.auth-pw-wrapper input{padding-right:42px}.auth-pw-toggle{position:absolute;right:12px;top:50%;transform:translateY(-50%);background:none;border:none;cursor:pointer;color:#94a3b8;display:flex;align-items:center;transition:color .15s}.auth-pw-toggle:hover{color:#64748b}.auth-checkbox{display:flex;align-items:flex-start;gap:10px;cursor:pointer;font-size:13.5px;color:#64748b}.auth-checkbox input[type=checkbox]{width:18px;height:18px;margin-top:1px;accent-color:#D4AF37;flex-shrink:0}.auth-checkbox a{color:#d4af37;font-weight:600;text-decoration:none}.auth-checkbox a:hover{text-decoration:underline}.auth-forgot{font-size:12.5px;color:#d4af37;font-weight:600;text-decoration:none}.auth-forgot:hover{text-decoration:underline}.auth-submit-btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:13px 20px;background:linear-gradient(135deg,#d4af37,#aa8529);color:#fff;font-size:15px;font-weight:600;border:none;border-radius:10px;cursor:pointer;transition:all .2s;font-family:inherit;box-shadow:0 4px 12px #d4af374d;margin-top:4px}.auth-submit-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 6px 20px #d4af3766}.auth-submit-btn:disabled{opacity:.6;cursor:not-allowed}.auth-switch{text-align:center;font-size:14px;color:#94a3b8;margin-top:24px}.auth-switch button{color:#d4af37;font-weight:600;background:none;border:none;cursor:pointer;font-size:14px;font-family:inherit;text-decoration:none}.auth-switch button:hover{text-decoration:underline}.auth-brand-side{width:480px;min-width:400px;background:linear-gradient(165deg,#0a0a0a,#1c1c1c,#2a2a2a);display:flex;align-items:center;justify-content:center;padding:60px 48px;position:relative;overflow:hidden}.auth-brand-side:before{content:"";position:absolute;top:-100px;right:-100px;width:400px;height:400px;background:#d4af3714;border-radius:50%;filter:blur(60px)}.auth-brand-side:after{content:"";position:absolute;bottom:-80px;left:-60px;width:300px;height:300px;background:#8b5cf60f;border-radius:50%;filter:blur(50px)}.auth-brand-content{position:relative;color:#fff}.auth-brand-badge{width:64px;height:64px;border-radius:16px;background:#d4af3726;border:1px solid rgba(212,175,55,.25);display:flex;align-items:center;justify-content:center;margin-bottom:28px}.auth-brand-content h2{font-size:28px;font-weight:800;letter-spacing:-.02em;margin-bottom:12px;line-height:1.2}.auth-brand-content>p{font-size:15px;color:#ffffff80;line-height:1.65;margin-bottom:32px}.auth-brand-features{display:flex;flex-direction:column;gap:16px}.auth-brand-feature{display:flex;align-items:center;gap:12px;font-size:14px;color:#ffffffbf;font-weight:500}.header-avatar-wrapper{position:relative}.dropdown-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:99}.header-dropdown{position:absolute;top:calc(100% + 8px);right:0;width:260px;background:#fff;border:1px solid #E8ECF1;border-radius:14px;box-shadow:0 12px 40px #0000001f;z-index:100;padding:6px;animation:dropdownIn .15s ease-out}@keyframes dropdownIn{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}.header-dropdown-header{display:flex;align-items:center;gap:12px;padding:12px}.header-dropdown-divider{height:1px;background:#f1f5f9;margin:4px 8px}.header-dropdown-item{display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px;border:none;background:none;border-radius:9px;font-size:13.5px;font-weight:500;color:#475569;cursor:pointer;transition:all .15s;font-family:inherit;text-align:left}.header-dropdown-item:hover{background:#f8fafc;color:#1e293b}.header-dropdown-item.logout{color:#ef4444}.header-dropdown-item.logout:hover{background:#ef44440d;color:#dc2626}.feed-header-bar{display:flex;justify-content:space-between;align-items:flex-start;padding-bottom:20px;border-bottom:1px solid #E8ECF1}.live-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#10b981;box-shadow:0 0 8px #10b98199;animation:pulse-dot 2s infinite}@keyframes pulse-dot{0%{transform:scale(.95);opacity:.8}50%{transform:scale(1.1);opacity:1}to{transform:scale(.95);opacity:.8}}.feed-controls{display:flex;align-items:center;gap:16px}.feed-last-updated{font-size:13px;color:#94a3b8;font-weight:500}.feed-refresh-btn{display:flex;align-items:center;gap:8px;padding:8px 16px;border-radius:8px;background:#fff;border:1px solid #E2E8F0;color:#475569;font-size:13px;font-weight:600;cursor:pointer;transition:all .2s}.feed-refresh-btn:hover:not(:disabled){background:#f8fafc;border-color:#cbd5e1;color:#1e293b}.feed-refresh-btn:disabled{opacity:.6;cursor:not-allowed}.feed-refresh-btn .spin{animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.feed-tabs{display:flex;gap:12px;border-bottom:1px solid #E8ECF1;padding-bottom:16px}.feed-tab{display:flex;flex-direction:column;gap:6px;padding:14px 20px;border-radius:12px;background:#fff;border:1px solid #E2E8F0;color:#64748b;font-size:15px;font-weight:700;cursor:pointer;transition:all .2s;flex:1;text-align:left}.feed-tab:hover{background:#f8fafc;border-color:#cbd5e1}.feed-tab.active{background:#1a1a1a;border-color:#1a1a1a;color:#fff;box-shadow:0 4px 12px #0000001a}.feed-tab-count{font-size:12px;font-weight:500;color:inherit;opacity:.7}.feed-grid{display:grid;grid-template-columns:1fr;gap:16px}.feed-card{background:#fff;border:1px solid #E2E8F0;border-radius:12px;padding:24px;transition:all .2s}.feed-card:hover{box-shadow:0 8px 24px #0000000a;border-color:#cbd5e1}.feed-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.feed-source-badge{display:inline-flex;align-items:center;padding:4px 10px;border-radius:20px;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.feed-time{display:flex;align-items:center;gap:6px;font-size:12.5px;color:#94a3b8;font-weight:500}.feed-card-title{font-size:17px;font-weight:700;color:#1e293b;line-height:1.4;margin:0 0 10px}.feed-card-meta{display:flex;align-items:center;gap:6px;font-size:13px;color:#64748b;font-weight:500;margin:0 0 10px}.feed-card-summary{font-size:14.5px;color:#475569;line-height:1.6;margin:0 0 20px}.feed-card-footer{display:flex;justify-content:space-between;align-items:center;padding-top:16px;border-top:1px solid #F1F5F9}.feed-ai-badge{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:600;color:#d4af37;background:#d4af371a;padding:4px 10px;border-radius:6px}.feed-read-more{display:flex;align-items:center;gap:6px;background:none;border:none;color:#3b82f6;font-size:13.5px;font-weight:600;cursor:pointer;padding:0}.feed-read-more:hover{text-decoration:underline}.feed-empty{text-align:center;padding:40px;color:#64748b;font-size:14px}.feed-skeleton{display:flex;flex-direction:column;gap:16px}.skeleton-card{pointer-events:none}.skeleton-header{display:flex;justify-content:space-between;margin-bottom:16px}.skeleton-badge{width:100px;height:24px;background:#f1f5f9;border-radius:20px}.skeleton-time{width:80px;height:16px;background:#f1f5f9;border-radius:8px}.skeleton-title{width:100%;height:20px;background:#f1f5f9;border-radius:4px;margin-bottom:8px}.skeleton-title.short{width:70%;margin-bottom:20px}.skeleton-desc{width:100%;height:14px;background:#f1f5f9;border-radius:4px;margin-bottom:8px}@keyframes skeleton-shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}.skeleton-badge,.skeleton-time,.skeleton-title,.skeleton-desc{background:linear-gradient(90deg,#f1f5f9 25%,#e2e8f0,#f1f5f9 75%);background-size:200% 100%;animation:skeleton-shimmer 2s infinite linear}.article-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0a0a0ab3;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;justify-content:center;align-items:center;z-index:1000;padding:40px}.article-modal-content{background:#fff;border-radius:16px;width:100%;max-width:800px;max-height:90vh;display:flex;flex-direction:column;position:relative;box-shadow:0 20px 40px #0003;animation:slide-up .3s cubic-bezier(.16,1,.3,1)}@keyframes slide-up{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.article-modal-close{position:absolute;top:20px;right:20px;background:#f1f5f9;border:none;width:36px;height:36px;border-radius:18px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#64748b;transition:all .2s;z-index:10}.article-modal-close:hover{background:#e2e8f0;color:#0f172a}.article-modal-header{padding:32px 40px 24px;border-bottom:1px solid #E8ECF1}.article-modal-header h2{font-size:24px;font-weight:800;color:#1a1a1a;margin:16px 0 12px;line-height:1.3}.article-modal-meta{display:flex;align-items:center;font-size:14px;color:#64748b}.article-modal-body{padding:32px 40px;overflow-y:auto;flex:1}.article-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 0;color:#64748b;font-size:15px;font-weight:500}.article-loading .spinner{width:30px;height:30px;border:3px solid #E2E8F0;border-top-color:#d4af37;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:16px}.markdown-content{color:#334155;font-size:16px;line-height:1.7}.markdown-content h1,.markdown-content h2,.markdown-content h3{color:#0f172a;margin-top:1.5em;margin-bottom:.5em;font-weight:700}.markdown-content h2{font-size:20px}.markdown-content h3{font-size:18px}.markdown-content p{margin-bottom:1.2em}.markdown-content ul,.markdown-content ol{margin-bottom:1.2em;padding-left:24px}.markdown-content li{margin-bottom:.5em}.hover-card:hover{transform:translateY(-2px);box-shadow:0 12px 30px #0000000f;border-color:#cbd5e1!important}.table-row-hover:hover{background:#f8fafc}.icon-btn-hover:hover{background:#f1f5f9!important}input[type=password]::-ms-reveal,input[type=password]::-ms-clear,input[type=password]::-webkit-contacts-auto-fill-button,input[type=password]::-webkit-credentials-auto-fill-button{display:none!important}.header-mobile-menu-btn,.sidebar-close-btn,.mobile-sidebar-overlay{display:none}@media (max-width: 768px){.app-layout{flex-direction:column}.sidebar{position:fixed;left:-280px;top:0;bottom:0;z-index:1000;transition:left .3s cubic-bezier(.4,0,.2,1);box-shadow:4px 0 24px #00000026}.sidebar.open{left:0}.mobile-sidebar-overlay{display:block;position:fixed;top:0;left:0;right:0;bottom:0;background:#0f172a66;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:999;animation:fadeIn .2s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.header-mobile-menu-btn{display:flex;align-items:center;justify-content:center;background:none;border:none;color:#1e293b;margin-right:12px;padding:4px;border-radius:6px;cursor:pointer}.header-mobile-menu-btn:active{background:#f1f5f9}.sidebar-close-btn{display:flex;align-items:center;justify-content:center;background:#ffffff1a;border:none;color:#fff;position:absolute;right:16px;top:22px;border-radius:6px;padding:4px;cursor:pointer}.main-area{width:100%}.header-left h1{font-size:16px}.header-left p{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:180px}.header-upload-btn,.header-avatar-name{display:none}.dashboard-grid,.case-finder-grid,.doc-analyzer-grid,.draft-grid{grid-template-columns:1fr!important}.chat-layout{flex-direction:column}.chat-sidebar{width:100%;height:100px;border-right:none;border-bottom:1px solid #E8ECF1;display:flex;flex-direction:column}.chat-sidebar-list{display:flex;flex-direction:row;overflow-x:auto;gap:8px;padding-bottom:8px}.chat-session-item{white-space:nowrap}.chat-container{width:100%!important}.chat-msg>div[style*="maxWidth: 82%"]{max-width:95%!important}.auth-brand-side{display:none}.auth-form-container{padding:30px 20px;width:90%}.landing-hero{flex-direction:column;text-align:center}.landing-hero-content,.landing-hero-visual{padding:20px 10px;width:100%}.landing-features-grid,.landing-testimonials-grid,.landing-footer-inner,.landing-stats-inner,.landing-steps{grid-template-columns:1fr;gap:30px}.landing-nav-links,.landing-nav-actions{display:none}.landing-hero h1{font-size:38px;line-height:1.1}}.settings-layout{display:flex;gap:32px;align-items:flex-start}.settings-sidebar{width:240px;display:flex;flex-direction:column;gap:8px}.settings-profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:24px}@media (max-width: 768px){.dashboard-actions{grid-template-columns:1fr!important}.feed-header-bar{flex-direction:column;gap:16px;align-items:flex-start}.feed-tabs{flex-direction:column}.settings-layout{flex-direction:column;gap:20px}.settings-sidebar{width:100%;flex-direction:row;overflow-x:auto;padding-bottom:8px}.settings-sidebar button{white-space:nowrap;flex-shrink:0}.settings-content{padding:20px!important;width:100%}.settings-profile-grid{grid-template-columns:1fr}.billing-header,.billing-upgrade{flex-direction:column;align-items:flex-start!important;gap:16px}.billing-price{text-align:left!important}}@media (max-width: 768px){.app-layout,.main-area{height:100dvh}.content-area{padding:16px 12px}.chat-layout{height:calc(100dvh - 100px)!important}.chat-quick-grid{grid-template-columns:1fr}.header-bar{padding:0 16px}.chat-messages{padding:16px 12px}}.modal-overlay{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#0f172a66;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:100;display:flex;align-items:center;justify-content:center;padding:20px}.modal-container{background:#fff;border-radius:16px;width:100%;max-width:460px;padding:32px;position:relative;box-shadow:0 20px 40px #00000026;animation:modalIn .3s cubic-bezier(.16,1,.3,1)}@keyframes modalIn{0%{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.modal-close{position:absolute;top:16px;right:16px;background:transparent;border:none;color:#94a3b8;cursor:pointer;padding:4px;border-radius:6px;transition:all .2s;display:flex}.modal-close:hover{background:#f1f5f9;color:#0f172a}.modal-header{text-align:center;margin-bottom:24px}.modal-icon-wrapper{width:48px;height:48px;background:#d4af371a;color:#aa8529;border-radius:12px;display:flex;align-items:center;justify-content:center;margin:0 auto 16px}.modal-header h2{font-size:20px;font-weight:700;color:#1e293b;margin:0 0 8px}.modal-header p{font-size:14px;color:#64748b;margin:0;line-height:1.5}.modal-form{display:flex;flex-direction:column;gap:16px}.modal-submit-btn{background:linear-gradient(135deg,#1e293b,#0f172a);color:#fff;border:none;border-radius:8px;padding:12px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s;margin-top:8px;display:flex;justify-content:center}.modal-submit-btn:disabled{opacity:.7;cursor:not-allowed}.modal-success{text-align:center;padding:20px 0}.modal-success h2{font-size:22px;color:#1e293b;margin:0 0 12px}.modal-success p{color:#64748b;font-size:15px;line-height:1.5;margin:0}.notifications-dropdown{position:absolute;top:calc(100% + 8px);right:0;width:340px;background:#fff;border-radius:12px;box-shadow:0 10px 30px #0f172a1a;border:1px solid #E8ECF1;z-index:50;overflow:hidden;animation:slideDown .2s ease-out}.notifications-header{padding:16px 20px;border-bottom:1px solid #E8ECF1;display:flex;align-items:center;justify-content:space-between}.notifications-header h3{margin:0;font-size:15px;font-weight:700;color:#1e293b}.notifications-mark-read{background:none;border:none;font-size:12px;color:#3b82f6;font-weight:600;cursor:pointer}.notifications-list{max-height:320px;overflow-y:auto}.notification-item{padding:16px 20px;border-bottom:1px solid #F1F5F9;display:flex;gap:12px;cursor:pointer;transition:background .15s;position:relative}.notification-item:hover{background:#f8fafc}.notification-item.unread{background:#f0f9ff}.notification-item.unread:hover{background:#e0f2fe}.notification-icon{width:32px;height:32px;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.notification-icon.blue{background:#3b82f61a;color:#3b82f6}.notification-icon.green{background:#10b9811a;color:#10b981}.notification-icon.yellow{background:#f59e0b1a;color:#f59e0b}.notification-content{flex:1}.notification-title{font-size:13px;font-weight:600;color:#1e293b;margin:0 0 4px}.notification-time{font-size:11px;color:#94a3b8;margin:0}.notification-unread-dot{width:8px;height:8px;background:#ef4444;border-radius:50%;position:absolute;top:20px;right:20px}.notifications-empty{padding:32px 20px;text-align:center;color:#94a3b8;font-size:13px}@media (max-width: 480px){.notifications-dropdown{position:fixed;top:68px;left:16px;right:16px;width:auto}}
