/* Tokene My Portfolio V1: self-contained UI, no existing market table CSS changes. */
.tk-paper{max-width:1480px;margin:0 auto;padding:36px 20px 74px;color:#172439;font-family:inherit;}
.tk-paper__hero{background:linear-gradient(120deg,#07162b 0%,#142c4b 62%,#123b62 100%);color:#fff;border:1px solid #263e60;border-radius:22px;display:flex;justify-content:space-between;gap:25px;align-items:center;padding:36px 40px;margin-bottom:22px;}
.tk-paper__hero h1{font-size:34px;letter-spacing:-.035em;font-weight:800;margin:10px 0;line-height:1.15;}
.tk-paper__hero h1 small{font-size:13px;color:#a7c3e6;font-weight:600;letter-spacing:0;vertical-align:middle;}
.tk-paper__hero p{max-width:660px;color:#b5c8df;font-size:14px;line-height:1.65;margin:0 0 15px;}
.tk-paper__eyebrow{font-size:10px;letter-spacing:.16em;color:#7eb4ff;font-weight:850;}
.tk-paper__caveat{font-size:11px;color:#a7bcd6;line-height:1.6;}
.tk-paper__hero-links{display:flex;flex-wrap:wrap;gap:10px;flex-shrink:0;}
.tk-paper__link{color:#e7f1ff!important;border:1px solid #406185;background:#1b3c5f;padding:12px 16px;border-radius:10px;text-decoration:none!important;font-size:12px;font-weight:760;}
.tk-paper__link:hover{background:#295781;}
.tk-paper__message{padding:14px 18px;border:1px solid #afd6c9;background:#e7f8f1;color:#166646;border-radius:11px;margin-bottom:15px;font-size:13px;}
.tk-paper__message.is-error{border-color:#efb2b7;color:#a22735;background:#fff0f1;}
.tk-paper__message[hidden]{display:none!important;}
.tk-paper__summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:20px;}
.tk-paper__metric{border:1px solid #dce5f0;background:#fff;border-radius:17px;padding:21px 20px;min-width:0;box-shadow:0 7px 30px #132e4910;}
.tk-paper__metric span{font-size:11px;color:#788aa4;font-weight:760;display:block;margin-bottom:12px;}
.tk-paper__metric strong{font-size:26px;color:#142d4e;font-weight:830;letter-spacing:-.035em;line-height:1.25;display:block;white-space:nowrap;}
.tk-paper__metric small{color:#8392a7;font-size:10px;display:block;margin-top:8px;}
.tk-paper__layout{display:grid;grid-template-columns:minmax(310px,.85fr) minmax(0,1.65fr);gap:20px;margin-bottom:20px;align-items:start;}
.tk-paper__panel{background:#fff;border:1px solid #dce5f0;border-radius:17px;padding:24px;min-width:0;box-shadow:0 8px 28px #132e4910;}
.tk-paper__panelhead{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:23px;}
.tk-paper__panelhead small{color:#7195bf;font-size:10px;font-weight:850;letter-spacing:.13em;}
.tk-paper__panelhead h2{margin:4px 0 0;color:#172b45;font-size:21px;font-weight:800;}
.tk-paper__pill{border:1px solid #d5e8fc;color:#456e9b;font-weight:750;background:#f1f7ff;border-radius:20px;padding:6px 10px;font-size:10px;white-space:nowrap;}
.tk-paper__trade label{display:block;color:#546883;font-size:11px;font-weight:770;margin:16px 0 8px;}
.tk-paper__trade select,.tk-paper__trade input{display:block;background:#f8fbff;border:1px solid #cedbea!important;border-radius:11px;color:#203650;width:100%;padding:12px 13px;min-height:47px;font-size:13px;}
.tk-paper__quote{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f5f8fe;border:1px solid #e1eaf8;border-radius:13px;padding:15px;margin-top:12px;}
.tk-paper__quote span{font-size:12px;color:#637895;display:block;}.tk-paper__quote strong{font-size:23px;display:block;color:#142d4e;margin-top:4px;}
.tk-paper__quote-meta{text-align:right;}.tk-paper__quote-meta span{font-size:10px;font-weight:760;}.tk-paper__quote-meta small{font-size:10px;color:#94a2b4;display:block;margin-top:5px;}.tk-paper__quote-meta .is-fresh{color:#14865b;}.tk-paper__quote-meta .is-stale{color:#b84649;}
.tk-paper__switch{display:grid;grid-template-columns:1fr 1fr;gap:7px;background:#edf2f8;padding:5px;border-radius:12px;margin-top:20px;}
.tk-paper__switch button{border:0;background:transparent;padding:10px;border-radius:9px;font-size:13px;color:#708199;font-weight:770;cursor:pointer;}
.tk-paper__switch button.is-active{background:#19437f;color:#fff;box-shadow:0 4px 15px #16477d30;}
.tk-paper__trade #tk-p-amount-hint{display:block;color:#8a98ab;font-size:10px;line-height:1.55;margin-top:7px;}
.tk-paper__sell-all{display:inline-block;margin-top:10px;padding:9px 12px;border:1px solid #8fb7e7;border-radius:9px;background:#eaf4ff;color:#205797;font-size:11px;font-weight:800;cursor:pointer;}
.tk-paper__sell-all:hover{background:#d9ebff;}
.tk-paper__sell-all:disabled{opacity:.45;cursor:not-allowed;}
.tk-paper__sell-all[hidden]{display:none!important;}
.dark-mode .tk-paper__sell-all{background:#1b385a;color:#c4dfff;border-color:#46668a;}
.tk-paper__estimate{margin-top:17px;border-radius:10px;background:#edf5ff;padding:12px;color:#3a638d;font-size:11px;min-height:40px;}
.tk-paper__submit{width:100%;margin-top:17px;border-radius:11px;padding:14px;background:#2e70e5;color:#fff;border:0;font-size:13px;font-weight:800;cursor:pointer;}
.tk-paper__submit:disabled{background:#b9c8db;cursor:not-allowed;}
.tk-paper__micro{color:#8b97a9;font-size:10px;line-height:1.7;margin:13px 0 0;}
.tk-paper__table-scroll{overflow-x:auto;max-width:100%;contain:paint;overscroll-behavior-x:contain;}
.tk-paper__table{width:100%;border-collapse:collapse;min-width:550px;font-variant-numeric:tabular-nums;}
.tk-paper__journal .tk-paper__table{min-width:850px;}
.tk-paper__table th{text-align:left;background:#f5f8fc;color:#8290a2;font-size:10px;padding:12px;font-weight:780;white-space:nowrap;border-bottom:1px solid #e4ebf3;}
.tk-paper__table td{color:#40526c;padding:14px 12px;font-size:11px;border-bottom:1px solid #eaf0f6;vertical-align:middle;}
.tk-paper__table tr:last-child td{border-bottom:0;}.tk-paper__table .tk-paper__empty{text-align:center;color:#97a6b8;padding:38px 12px;}
.tk-paper__history-controls{display:flex;align-items:center;gap:9px;flex-wrap:wrap;justify-content:flex-end;}
.tk-paper__history-toggle{padding:7px 10px;font-size:10px;color:#81b4f7;border:1px solid #315277;border-radius:8px;background:transparent;cursor:pointer;}
.tk-paper__history-toggle[hidden]{display:none!important;}
.tk-paper__history-delete,.tk-paper__history-restore{padding:7px 12px;border-radius:8px;border:1px solid #e8a4b0;background:#fff0f3;color:#ba314b;font-size:11px;font-weight:780;cursor:pointer;white-space:nowrap;}
.tk-paper__history-restore{border-color:#9acbbd;background:#ecfaf3;color:#16714c;}
.tk-paper__history-delete:hover{background:#ffe0e8;}
.tk-paper__history-restore:hover{background:#d4f5e5;}
.tk-paper__history-archived{opacity:.66;}
.tk-paper__history-help{font-size:10px;line-height:1.65;color:#8798ac;margin:12px 0 0;}
.dark-mode .tk-paper__history-delete{background:#371f30;border-color:#754053;color:#f9a8b6;}
.dark-mode .tk-paper__history-restore{background:#18392c;border-color:#397153;color:#8ddbbb;}
.tk-paper__positions-foot{color:#8899aa;font-size:10px;margin-top:13px;line-height:1.5;}
.tk-paper .is-up{color:#109b71!important;}.tk-paper .is-down{color:#d74d5c!important;}.tk-paper .is-muted{color:#95a2b4!important;}
.tk-paper__legal{max-width:1100px;margin:20px auto 0;text-align:center;color:#7f90a5;font-size:11px;line-height:1.75;}
.dark-mode .tk-paper{color:#dde7f5;}.dark-mode .tk-paper__metric,.dark-mode .tk-paper__panel{background:#141f30;border-color:#304258;}.dark-mode .tk-paper__metric strong,.dark-mode .tk-paper__panelhead h2,.dark-mode .tk-paper__quote strong{color:#e8f1fe;}
.dark-mode .tk-paper__quote,.dark-mode .tk-paper__estimate,.dark-mode .tk-paper__table th{background:#1b2b42;border-color:#2c435c;}.dark-mode .tk-paper__table td{color:#bfcee0;border-color:#304258;}.dark-mode .tk-paper__trade select,.dark-mode .tk-paper__trade input{background:#16253a;color:#edf4ff;border-color:#3b506b!important;}
.dark-mode .tk-paper__switch{background:#1b2d44;}.dark-mode .tk-paper__message{background:#103d32;color:#b9f3dc;}.dark-mode .tk-paper__message.is-error{background:#401d29;color:#ffbec7;}
@media (max-width:1120px){.tk-paper__layout{grid-template-columns:1fr;}.tk-paper__summary{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:620px){.tk-paper{padding:20px 12px 50px;}.tk-paper__hero{padding:24px 20px;flex-direction:column;align-items:flex-start;}.tk-paper__hero h1{font-size:28px;}.tk-paper__hero h1 small{display:block;margin-top:8px;}.tk-paper__summary{gap:9px;}.tk-paper__metric{padding:16px 12px;}.tk-paper__metric strong{font-size:20px;}.tk-paper__metric span{font-size:10px;}.tk-paper__panel{padding:18px 14px;}.tk-paper__quote{align-items:flex-start;}.tk-paper__quote strong{font-size:19px;}}
@media (prefers-reduced-motion: reduce){.tk-paper *{transition:none!important;animation:none!important;}}
