/* Account lookup: input, query/clear, then all result fields directly visible. */
#tool-entitlement{--eq-line:#e3e8ee;--eq-muted:#667085;--eq-ink:#182230;--eq-surface:#fff;--eq-soft:#f8fafb}
#tool-entitlement .tool-panel-title .eyebrow,#tool-entitlement .tool-panel-title p,#tool-entitlement .query-shield,#tool-entitlement .entitlement-detect-box .subhead,#tool-entitlement .claude-entitlement-heading{display:none}
#tool-entitlement .tool-panel-head{margin-bottom:20px}
#tool-entitlement .entitlement-provider-tabs{max-width:420px;margin-bottom:20px}
#tool-entitlement .entitlement-provider-tab small{display:none}
#tool-entitlement .entitlement-provider-tab{padding:12px 18px;min-height:56px;border-radius:12px}
#tool-entitlement .entitlement-tool-layout,#tool-entitlement .claude-entitlement-layout{display:block}
#tool-entitlement .entitlement-detect-box,#tool-entitlement .claude-entitlement-input{margin:0;padding:0!important;border:0;border-radius:0;background:transparent;box-shadow:none}
#tool-entitlement .session-guide{margin:0 0 16px;background:var(--eq-soft)}
#tool-entitlement #entitlement-session-json{display:block;margin-top:8px;min-height:112px!important;max-height:300px!important;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:13px;line-height:1.65;resize:vertical}
#tool-entitlement .entitlement-actions,#tool-entitlement .claude-entitlement-actions{display:flex;flex-wrap:nowrap;gap:10px;margin-top:12px}
#tool-entitlement .entitlement-actions button,#tool-entitlement .claude-entitlement-actions button{width:auto;min-height:44px;font-size:13px;padding:10px 22px;flex:none;white-space:nowrap}
#tool-entitlement .entitlement-actions .primary,#tool-entitlement .claude-entitlement-actions .primary{order:0;min-width:160px}
#tool-entitlement .entitlement-actions .query-ghost-btn,#tool-entitlement .claude-entitlement-actions .query-ghost-btn{order:1;min-width:80px}
#tool-entitlement .claude-entitlement-privacy{font-size:11px;line-height:1.7;margin-bottom:0}
#tool-entitlement #entitlement-result.hidden,#tool-entitlement #claude-entitlement-result.hidden{display:none}
#tool-entitlement .eq-result{margin-top:22px;padding:24px;border:1px solid var(--eq-line);border-radius:16px;background:var(--eq-surface);color:var(--eq-ink);box-shadow:none;min-width:0;scroll-margin-top:24px}
#tool-entitlement .eq-result.paid{border-top:3px solid #0d9488}
#tool-entitlement .eq-result.expired,#tool-entitlement .eq-result.unknown,#tool-entitlement .eq-result.warning{border-top:3px solid #d99a2b}
#tool-entitlement .eq-result-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0;margin:0 0 10px;border:0;background:none}
#tool-entitlement .eq-eyebrow{color:var(--eq-muted);font-size:12px;font-weight:600;letter-spacing:0}
#tool-entitlement .eq-badge{display:inline-flex;align-items:center;padding:5px 9px;border-radius:7px;font-size:12px;font-weight:600;white-space:nowrap;line-height:1.4;background:#eef2f6;color:#475467}
#tool-entitlement .eq-badge.paid,#tool-entitlement .eq-badge.active,#tool-entitlement .eq-badge.fulfilled{background:#e8f7f1;color:#087f5b}
#tool-entitlement .eq-badge.expired,#tool-entitlement .eq-badge.warning,#tool-entitlement .eq-badge.issue{background:#fff4df;color:#946200}
#tool-entitlement .eq-badge.refunded{background:#fff0ef;color:#b42318}
#tool-entitlement .eq-plan{margin:0;color:var(--eq-ink);font-size:27px;font-weight:700;line-height:1.35;letter-spacing:-.5px;overflow-wrap:anywhere}
#tool-entitlement .eq-email{margin:8px 0 18px;color:var(--eq-muted);font-size:14px;line-height:1.6;overflow-wrap:anywhere}
#tool-entitlement .eq-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:18px 0;padding:0;border:1px solid var(--eq-line);border-radius:12px;overflow:hidden;background:var(--eq-soft)}
#tool-entitlement .eq-facts>div{min-width:0;padding:12px 16px;border:0;background:none;display:block}
#tool-entitlement .eq-facts>.eq-wide{grid-column:1/-1;border-top:1px solid var(--eq-line)}
#tool-entitlement .eq-facts dt{font-size:12px;font-weight:400;color:var(--eq-muted);margin:0 0 5px}
#tool-entitlement .eq-facts dd{font-size:14px;font-weight:600;color:var(--eq-ink);margin:0;line-height:1.6;overflow-wrap:anywhere;min-width:0}
#tool-entitlement .eq-checked{margin:14px 0 0;color:var(--eq-muted);font-size:12px;line-height:1.7}
#tool-entitlement .eq-section{margin:22px 0 0;padding-top:20px;border-top:1px solid var(--eq-line);min-width:0}
#tool-entitlement .eq-section-head{display:flex;align-items:center;gap:10px;margin-bottom:12px}
#tool-entitlement .eq-section-head h4{margin:0;font-size:16px;color:var(--eq-ink)}
#tool-entitlement .eq-section-head>span{font-size:12px;color:var(--eq-muted);background:var(--eq-soft);padding:3px 8px;border-radius:5px}
#tool-entitlement .eq-note,#tool-entitlement .eq-empty,#tool-entitlement .eq-history-note{font-size:12px;color:var(--eq-muted);line-height:1.8;overflow-wrap:anywhere;margin:10px 0}
#tool-entitlement .eq-alert{font-size:13px;line-height:1.8;background:#fff8eb;color:#805a12;padding:14px 16px;border-radius:10px;margin:16px 0;overflow-wrap:anywhere}
#tool-entitlement .eq-alert p{margin:0}
#tool-entitlement .eq-alert button{margin-top:12px}
#tool-entitlement .eq-history-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
#tool-entitlement .eq-history-item{border:1px solid var(--eq-line);border-radius:12px;padding:16px;min-width:0}
#tool-entitlement .eq-history-top{display:flex;gap:12px;align-items:flex-start;justify-content:space-between}
#tool-entitlement .eq-history-top>div{min-width:0}
#tool-entitlement .eq-history-top small{color:var(--eq-muted);font-size:12px}
#tool-entitlement .eq-history-top h4,#tool-entitlement .eq-history-item>h4{font-size:16px;line-height:1.5;margin:4px 0 0;color:var(--eq-ink);overflow-wrap:anywhere}
#tool-entitlement .eq-history-item .eq-facts{grid-template-columns:repeat(2,minmax(0,1fr));margin:14px 0;border:0;background:transparent;border-radius:0}
#tool-entitlement .eq-history-item .eq-facts>div{padding:0 8px 0 0}
#tool-entitlement .eq-history-item .eq-facts dd{font-size:13px}
#tool-entitlement .eq-history-meta{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center;font-size:12px;color:var(--eq-muted)}
#tool-entitlement .eq-history-meta b{color:var(--eq-ink)}
#tool-entitlement .eq-history-flag{color:#946200}
#tool-entitlement .eq-record-meta{display:grid;gap:6px;margin:14px 0 0;padding:12px 0 0;border-top:1px solid var(--eq-line);font-size:12px;line-height:1.6;color:var(--eq-muted)}
#tool-entitlement .eq-record-meta>div{display:grid;grid-template-columns:86px minmax(0,1fr);gap:8px}
#tool-entitlement .eq-record-meta dd{margin:0;overflow-wrap:anywhere}
#tool-entitlement .eq-organization{margin-top:18px}
#tool-entitlement .eq-organization+.eq-organization{border-top:1px solid var(--eq-line);padding-top:20px;margin-top:20px}
#tool-entitlement .eq-organization h4{font-size:23px}
#tool-entitlement .eq-lookup{margin-top:24px;border:0;border-top:1px solid var(--eq-line);border-radius:0;background:transparent;padding:22px 0 0}
#tool-entitlement .eq-lookup>h3{margin:0 0 14px;font-size:16px}
#tool-entitlement .eq-lookup-body{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center}
#tool-entitlement .eq-lookup .uuid-history-actions{display:flex;gap:8px;margin:0;align-items:stretch}
#tool-entitlement .eq-lookup .uuid-history-actions button{margin:0;padding:10px 18px;min-height:44px;min-width:76px;width:auto;line-height:1.4;font-size:13px;white-space:nowrap}
#tool-entitlement .eq-lookup .uuid-history-actions .primary{min-width:148px}
#tool-entitlement .eq-lookup #uuid-history-result{grid-column:1/-1;margin:0}
#tool-entitlement .uuid-history-list .uuid-history-account{padding:16px;background:var(--eq-surface);border:1px solid var(--eq-line);border-radius:12px}
#tool-entitlement .uuid-history-account>header small{display:none}
#tool-entitlement .uuid-copy-inline{max-width:100%;min-width:0;flex-wrap:wrap;font-size:13px;line-height:1.6;letter-spacing:0}
#tool-entitlement .uuid-copy-inline span{overflow-wrap:anywhere;white-space:normal;min-width:0}
#tool-entitlement .entitlement-tool-result.notice,#tool-entitlement .claude-entitlement-result.notice{margin-top:20px;border:1px solid var(--eq-line);border-radius:12px;padding:18px;background:var(--eq-soft);box-shadow:none;color:var(--eq-muted);line-height:1.8}
@media(max-width:760px){#tool-entitlement .eq-facts{grid-template-columns:repeat(2,minmax(0,1fr))}#tool-entitlement .eq-history-list{grid-template-columns:minmax(0,1fr)}#tool-entitlement .eq-result{padding:20px}#tool-entitlement .eq-plan{font-size:25px}#tool-entitlement .eq-lookup-body{grid-template-columns:minmax(0,1fr)}}
@media(max-width:480px){#tool-entitlement .entitlement-provider-tabs{gap:8px}#tool-entitlement .entitlement-provider-tab{padding:10px 14px}#tool-entitlement .eq-result{padding:16px}#tool-entitlement .eq-facts>div{padding:10px}#tool-entitlement .eq-facts dd{font-size:13px}#tool-entitlement .eq-history-top{flex-wrap:wrap}#tool-entitlement .eq-history-item{padding:12px}#tool-entitlement #entitlement-session-json{font-size:16px}#tool-entitlement .entitlement-actions .primary,#tool-entitlement .claude-entitlement-actions .primary{min-width:0;flex:1}#tool-entitlement .eq-record-meta>div{grid-template-columns:76px minmax(0,1fr)}}
[data-theme="dark"] #tool-entitlement{--eq-line:#344054;--eq-muted:#98a2b3;--eq-ink:#f2f4f7;--eq-surface:#182230;--eq-soft:#202c3d}

/* Readable subscription history; fields stay visible on every screen size. */
#tool-entitlement .eq-lookup>h3{font-size:20px;line-height:1.5;margin-bottom:16px}
#tool-entitlement #uuid-history-input{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:16px;line-height:1.6;min-height:48px;padding:12px 14px}
#tool-entitlement .eq-lookup .uuid-history-actions button{font-size:14px;min-height:48px}
#tool-entitlement .eq-history-list{grid-template-columns:minmax(0,1fr);gap:18px}
#tool-entitlement .eq-history-item{padding:24px;background:var(--eq-surface);border-radius:14px}
#tool-entitlement .eq-history-top{align-items:center;flex-wrap:nowrap;gap:16px}
#tool-entitlement .eq-history-top small{font-size:14px;line-height:1.6;color:var(--eq-muted)}
#tool-entitlement .eq-history-top h4{font-size:22px;line-height:1.45;margin:5px 0 0;font-weight:700;letter-spacing:0}
#tool-entitlement .eq-history-item .eq-badge{font-size:14px;padding:7px 12px;border-radius:8px}
#tool-entitlement .eq-history-item .eq-facts{margin:20px 0 16px;gap:0;border:1px solid var(--eq-line);border-radius:10px;background:var(--eq-soft)}
#tool-entitlement .eq-history-item .eq-facts>div{padding:16px 18px}
#tool-entitlement .eq-history-item .eq-facts>div+div{border-left:1px solid var(--eq-line)}
#tool-entitlement .eq-history-item .eq-facts dt{font-size:14px;line-height:1.5;margin:0 0 7px}
#tool-entitlement .eq-history-item .eq-facts dd{font-size:17px;line-height:1.55;font-weight:600;font-variant-numeric:tabular-nums}
#tool-entitlement .eq-history-meta{gap:10px 18px;font-size:14px;line-height:1.7;color:var(--eq-muted)}
#tool-entitlement .eq-history-price{display:inline-flex;gap:10px;align-items:baseline}
#tool-entitlement .eq-history-price b{font-size:19px;font-variant-numeric:tabular-nums}
#tool-entitlement .eq-history-period{background:var(--eq-soft);padding:3px 10px;border:1px solid var(--eq-line);border-radius:6px;color:var(--eq-ink)}
#tool-entitlement .eq-record-meta{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px;margin:20px 0 0;padding-top:18px;font-size:14px;line-height:1.7}
#tool-entitlement .eq-record-meta>div{display:block;min-width:0}
#tool-entitlement .eq-record-meta dt{margin:0 0 4px;color:var(--eq-muted)}
#tool-entitlement .eq-record-meta dd{font-size:14px;color:var(--eq-ink);font-family:ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere}
#tool-entitlement .eq-section-head h4{font-size:19px;line-height:1.5}
#tool-entitlement .eq-section-head>span{font-size:14px;padding:3px 9px}
#tool-entitlement .eq-history-note{font-size:14px;line-height:1.7;margin:0 0 16px}
#tool-entitlement #uuid-history-result .uuid-history-account{padding:22px;border-radius:14px;box-shadow:none}
#tool-entitlement #uuid-history-result .eq-history-account-head{display:block;margin:0;padding:0 0 18px;background:none;border:0;border-bottom:1px solid var(--eq-line)}
#tool-entitlement #uuid-history-result .eq-history-account-head small{display:block;color:var(--eq-muted);font-size:13px;line-height:1.5;letter-spacing:0;margin:0 0 8px}
#tool-entitlement #uuid-history-result .eq-history-account-head .uuid-copy-inline{display:inline-flex;gap:10px;align-items:center;max-width:100%;font-size:14px;line-height:1.7;background:none;border:0;border-radius:0;padding:0;color:var(--eq-ink)}
#tool-entitlement #uuid-history-result .eq-history-account-head .uuid-copy-inline span{font-size:14px;line-height:1.7;background:none;color:var(--eq-ink);padding:0;border:0;border-radius:0;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}
#tool-entitlement #uuid-history-result .eq-history-account-head .uuid-copy-btn{font-size:12px;min-height:28px;padding:4px 9px}
#tool-entitlement #uuid-history-result .eq-section{margin-top:18px;padding-top:0;border-top:0}
#tool-entitlement #uuid-history-result .uuid-history-account-error{font-size:15px;line-height:1.7}
@media(max-width:600px){
 #tool-entitlement #uuid-history-result .uuid-history-account{padding:16px}
 #tool-entitlement .eq-history-item{padding:18px 16px}
 #tool-entitlement .eq-history-top h4{font-size:20px}
 #tool-entitlement .eq-history-item .eq-facts{grid-template-columns:minmax(0,1fr)}
 #tool-entitlement .eq-history-item .eq-facts>div{padding:12px 14px}
 #tool-entitlement .eq-history-item .eq-facts>div+div{border-left:0;border-top:1px solid var(--eq-line)}
 #tool-entitlement .eq-history-item .eq-facts dd{font-size:16px}
 #tool-entitlement .eq-record-meta{grid-template-columns:minmax(0,1fr);gap:12px}
 #tool-entitlement .eq-history-item .eq-badge{font-size:13px;padding:6px 9px}
 #tool-entitlement .eq-history-meta{gap:8px 12px}
 #tool-entitlement .eq-lookup .uuid-history-actions .primary{flex:1}
 #tool-entitlement .eq-lookup .uuid-history-actions{width:100%}
}
